@types/google-apps-script
Advanced tools
Comparing version 1.0.13 to 1.0.14
@@ -8,2 +8,3 @@ // Type definitions for Google Apps Script 2020-01-02 | ||
/// <reference path="google-apps-script.types.d.ts" /> | ||
/// <reference path="google-apps-script.conference-data.d.ts" /> | ||
/// <reference path="google-apps-script.gmail.d.ts" /> | ||
@@ -257,2 +258,3 @@ | ||
newButtonSet(): ButtonSet; | ||
newCalendarEventActionResponseBuilder(): CalendarEventActionResponseBuilder; | ||
newCardAction(): CardAction; | ||
@@ -263,2 +265,6 @@ newCardBuilder(): CardBuilder; | ||
newComposeActionResponseBuilder(): ComposeActionResponseBuilder; | ||
newDatePicker(): DatePicker; | ||
newDateTimePicker(): DateTimePicker; | ||
newDriveItemsSelectedActionResponseBuilder(): DriveItemsSelectedActionResponseBuilder; | ||
newFixedFooter(): FixedFooter; | ||
newImage(): Image; | ||
@@ -693,2 +699,64 @@ newImageButton(): ImageButton; | ||
/** | ||
* The fixed footer shown at the bottom of an add-on Card. | ||
*/ | ||
interface FixedFooter { | ||
setPrimaryButton(button: TextButton): FixedFooter; | ||
setSecondaryButton(button: TextButton): FixedFooter; | ||
} | ||
/** | ||
* Represents a response that makes changes to the calendar event that the user is currently editing in reaction to an action taken in the UI, such as a button click. | ||
*/ | ||
interface CalendarEventActionResponse { | ||
printJson(): string; | ||
} | ||
/** | ||
* A builder for CalendarEventActionResponse objects. | ||
*/ | ||
interface CalendarEventActionResponseBuilder { | ||
addAttendees(emails: string[]): CalendarEventActionResponseBuilder; | ||
build(): CalendarEventActionResponse; | ||
setConferenceData(conferenceData: Conference_Data.ConferenceData): CalendarEventActionResponseBuilder; | ||
} | ||
/** | ||
* An input field that allows inputing a date. | ||
*/ | ||
interface DatePicker { | ||
setFieldName(fieldName: string): DatePicker; | ||
setOnChangeAction(action: Action): DatePicker; | ||
setTitle(title: string): DatePicker; | ||
setValueInMsSinceEpoch(valueMsEpoch: number): DatePicker; | ||
setValueInMsSinceEpoch(valueMsEpoch: string): DatePicker; | ||
} | ||
/** | ||
* An input field that allows inputing a date. | ||
*/ | ||
interface DateTimePicker { | ||
setFieldName(fieldName: string): DateTimePicker; | ||
setOnChangeAction(action: Action): DateTimePicker; | ||
setTimeZoneOffsetInMins(timeZoneOffsetMins: Integer): DateTimePicker; | ||
setTitle(title: string): DateTimePicker; | ||
setValueInMsSinceEpoch(valueMsEpoch: number): DateTimePicker; | ||
setValueInMsSinceEpoch(valueMsEpoch: string): DateTimePicker; | ||
} | ||
/** | ||
* A builder for DriveItemsSelectedActionResponse objects. | ||
*/ | ||
interface DriveItemsSelectedActionResponseBuilder { | ||
build(): DriveItemsSelectedActionResponse; | ||
requestFileScope(itemId: string): DriveItemsSelectedActionResponseBuilder; | ||
} | ||
/** | ||
* Represents a response that makes changes to Drive while Drive items are selected and in reaction to an action taken in the UI, such as a button click. | ||
*/ | ||
interface DriveItemsSelectedActionResponse { | ||
printJson(): string; | ||
} | ||
/** | ||
* An enum value that specifies the type of an UpdateDraftBodyAction. | ||
@@ -695,0 +763,0 @@ */ |
@@ -5,2 +5,3 @@ // Type definitions for google-apps-script 1.0 | ||
// motemen <https://github.com/motemen/> | ||
// pierluigi-montagna <https://github.com/pierluigi-montagna> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -7,0 +8,0 @@ // TypeScript Version: 2.2 |
{ | ||
"name": "@types/google-apps-script", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"description": "TypeScript definitions for google-apps-script", | ||
@@ -16,2 +16,7 @@ "license": "MIT", | ||
"githubUsername": "motemen" | ||
}, | ||
{ | ||
"name": "pierluigi-montagna", | ||
"url": "https://github.com/pierluigi-montagna", | ||
"githubUsername": "pierluigi-montagna" | ||
} | ||
@@ -28,4 +33,4 @@ ], | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "d4a4eed848ae8b2c16666463fccd9081bf450012be1d2502c990cee88305f21f", | ||
"typeScriptVersion": "2.8" | ||
"typesPublisherContentHash": "5067c43e9abd8dbf25476e458e6ab75a6729f5ab40226313bd0e302d9313aed4", | ||
"typeScriptVersion": "2.9" | ||
} |
@@ -11,7 +11,7 @@ # Installation | ||
### Additional Details | ||
* Last updated: Sun, 26 Apr 2020 17:08:47 GMT | ||
* Last updated: Mon, 04 May 2020 17:01:34 GMT | ||
* Dependencies: none | ||
* 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`, `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`, `UserProperties`, `Utilities`, `XmlService`, `YouTube`, `YouTubeAnalytics`, `YoutubePartner`, `console` | ||
* Global values: `AdminDirectory`, `AdminGroupsMigration`, `AdminGroupsSettings`, `AdminLicenseManager`, `AdminReports`, `AdminReseller`, `Adsense`, `Analytics`, `Analyticsreporting`, `Appsactivity`, `Bigquery`, `Browser`, `CacheService`, `Calendar`, `CalendarApp`, `CardService`, `Charset`, `Charts`, `Classroom`, `ConferenceDataService`, `ContactsApp`, `Content`, `ContentService`, `DataStudioApp`, `Date2`, `Dfareporting`, `DigestAlgorithm`, `Docs`, `DocumentApp`, `Drive`, `DriveActivity`, `DriveApp`, `FormApp`, `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`, `UserProperties`, `Utilities`, `XmlService`, `YouTube`, `YouTubeAnalytics`, `YoutubePartner`, `console` | ||
# Credits | ||
These definitions were written by [PopGoesTheWza](https://github.com/PopGoesTheWza), and [motemen](https://github.com/motemen). | ||
These definitions were written by [PopGoesTheWza](https://github.com/PopGoesTheWza), [motemen](https://github.com/motemen), and [pierluigi-montagna](https://github.com/pierluigi-montagna). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1558690
63
34599