Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/google-apps-script

Package Overview
Dependencies
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/google-apps-script - npm Package Compare versions

Comparing version 0.0.61 to 0.0.62

52

google-apps-script/google-apps-script.data-studio.d.ts

@@ -393,2 +393,54 @@ // Type definitions for Google Apps Script 2019-09-11

/**
* function getData(request: GoogleAppsScript.Data_Studio.Request<YourConnectorParams>)
*
* See https://developers.google.com/datastudio/connector/reference#getdata
*/
export interface Request<T> {
/** An object containing the user provided values for the config parameters defined by the connector. */
configParams: T;
/** An object containing information relevant to connector execution. */
scriptParams: ScriptParams;
/**
* By default, the date range provided will be the last 28 days excluding today.
* If a user applies a date range filter for a report, then the date range provided will reflect the user selection.
* When sampleExtraction is set to true, the date two days earlier than today is given as both the start and end date.
*/
dateRange: DateRange;
/** The names of the requested fields. */
fields: { name: string }[];
/**
* A nested array of the user selected filters.
* The innermost arrays should be ORed together, the outermost arrays should be ANDed together.
*/
dimensionsFilters: DimensionsFilters[][];
}
export interface DateRange {
/** The start date for filtering the data. Applies only if dateRangeRequired is set to true. It will be in YYYY-MM-DD format. */
startDate: string;
/** The end date for filtering the data. Applies only dateRangeRequired is set to true. It will be in YYYY-MM-DD format. */
endDate: string;
}
export interface ScriptParams {
/** If true, the getData() request is for automatic semantic type detection. */
sampleExtraction?: boolean;
/** A timestamp that marks the most recent request for a refresh of data. */
lastRefresh: string;
}
type RegexpOperator = "REGEXP_PARTIAL_MATCH" | "REGEXP_EXACT_MATCH";
type NumericOperator = "NUMERIC_GREATER_THAN" | "NUMERIC_GREATER_THAN_OR_EQUAL" | "NUMERIC_LESS_THAN" | "NUMERIC_LESS_THAN_OR_EQUAL";
export interface DimensionsFilters {
/** The name of the field to be filtered */
fieldName: string;
/** An array of values to use for the operator. */
values: string[];
/** Whether data matching this filter should be included or excluded from the getData() response. */
type: "INCLUDE" | "EXCLUDE";
/** The operator to apply. */
operator: "EQUALS" | "CONTAINS" | RegexpOperator | "IN_LIST" | "IS_NULL" | "BETWEEN" | NumericOperator;
}
}

@@ -395,0 +447,0 @@ }

4

google-apps-script/package.json
{
"name": "@types/google-apps-script",
"version": "0.0.61",
"version": "0.0.62",
"description": "TypeScript definitions for google-apps-script",

@@ -27,4 +27,4 @@ "license": "MIT",

"dependencies": {},
"typesPublisherContentHash": "d9a8cf8d976fab343ae27427bfea12b5df7029ff356a58724b1c2fb6abb24233",
"typesPublisherContentHash": "f50b4f40e1449dc94041721c77c2b28c184de3e203b7cd4e49121d11dc9b264e",
"typeScriptVersion": "2.2"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Tue, 24 Sep 2019 18:13:02 GMT
* Last updated: Tue, 24 Sep 2019 21:07:01 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: AdminDirectory, AdminGroupsMigration, AdminGroupsSettings, AdminLicenseManager, AdminReports, AdminReseller, Adsense, Analytics, Analyticsreporting, Appsactivity, Bigquery, Browser, CacheService, Calendar, CalendarApp, CardService, Charset, Charts, Classroom, ContactsApp, Content, ContentService, DataStudioApp, Date2, Dfareporting, DigestAlgorithm, Docs, DocumentApp, Drive, DriveActivity, DriveApp, FormApp, FusionTables, Gmail, GmailApp, GoogleAppsScript, GroupsApp, HtmlService, Jdbc, LanguageApp, LinearOptimizationService, LockService, Logger, MacAlgorithm, MailApp, Maps, Mirror, People, PropertiesService, RsaAlgorithm, ScriptApp, ScriptProperties, Session, Sheets, SitesApp, Slides, SlidesApp, SpreadsheetApp, TagManager, Tasks, UrlFetchApp, UrlShortener, UserProperties, Utilities, XmlService, YouTube, YouTubeAnalytics, YoutubePartner, console

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc