@types/google-apps-script
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-10-24 | ||
// Type definitions for Google Apps Script 2019-11-06 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -28,6 +28,4 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
setName(name: string): Blob; | ||
/** @deprecated DO NOT USE */ | ||
getAllBlobs(): Blob[]; | ||
/** @deprecated DO NOT USE */getAllBlobs(): Blob[]; | ||
} | ||
/** | ||
@@ -77,3 +75,2 @@ * Interface for objects that can export their data as a Blob. | ||
} | ||
/** | ||
@@ -97,3 +94,2 @@ * This class provides access to dialog boxes specific to Google Sheets. | ||
} | ||
/** | ||
@@ -116,3 +112,2 @@ * An enum representing predetermined, localized dialog buttons returned by an alert or PromptResponse.getSelectedButton() to indicate | ||
enum Button { CLOSE, OK, CANCEL, YES, NO } | ||
/** | ||
@@ -135,3 +130,2 @@ * An enum representing predetermined, localized sets of one or more dialog buttons that can be | ||
enum ButtonSet { OK, OK_CANCEL, YES_NO, YES_NO_CANCEL } | ||
/** | ||
@@ -141,3 +135,2 @@ * The types of Colors | ||
enum ColorType { UNSUPPORTED, RGB, THEME } | ||
/** | ||
@@ -152,3 +145,2 @@ * This class allows the developer to write out text to the debugging logs. | ||
} | ||
/** | ||
@@ -177,3 +169,2 @@ * A custom menu in an instance of the user interface for a Google App. A script can only interact | ||
} | ||
/** | ||
@@ -200,3 +191,2 @@ * An enumeration that provides access to MIME-type declarations without typing the strings | ||
enum MimeType { GOOGLE_APPS_SCRIPT, GOOGLE_DRAWINGS, GOOGLE_DOCS, GOOGLE_FORMS, GOOGLE_SHEETS, GOOGLE_SITES, GOOGLE_SLIDES, FOLDER, BMP, GIF, JPEG, PNG, SVG, PDF, CSS, CSV, HTML, JAVASCRIPT, PLAIN_TEXT, RTF, OPENDOCUMENT_GRAPHICS, OPENDOCUMENT_PRESENTATION, OPENDOCUMENT_SPREADSHEET, OPENDOCUMENT_TEXT, MICROSOFT_EXCEL, MICROSOFT_EXCEL_LEGACY, MICROSOFT_POWERPOINT, MICROSOFT_POWERPOINT_LEGACY, MICROSOFT_WORD, MICROSOFT_WORD_LEGACY, ZIP } | ||
/** | ||
@@ -206,3 +196,2 @@ * An enum representing the months of the year. | ||
enum Month { JANUARY, FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY, AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, DECEMBER } | ||
/** | ||
@@ -231,3 +220,2 @@ * A response to a prompt dialog displayed in the | ||
} | ||
/** | ||
@@ -243,3 +231,2 @@ * A color defined by red, green, blue color channels. | ||
} | ||
/** | ||
@@ -255,8 +242,5 @@ * The Session class provides access to session information, such as the user's email address (in | ||
getTemporaryActiveUserKey(): string; | ||
/** @deprecated DO NOT USE */ | ||
getTimeZone(): string; | ||
/** @deprecated DO NOT USE */ | ||
getUser(): User; | ||
/** @deprecated DO NOT USE */getTimeZone(): string; | ||
/** @deprecated DO NOT USE */getUser(): User; | ||
} | ||
/** | ||
@@ -295,6 +279,4 @@ * An instance of the user-interface environment for a Google App that allows the script to add | ||
showSidebar(userInterface: HTML.HtmlOutput): void; | ||
/** @deprecated DO NOT USE */ | ||
showDialog(userInterface: HTML.HtmlOutput): void; | ||
/** @deprecated DO NOT USE */showDialog(userInterface: HTML.HtmlOutput): void; | ||
} | ||
/** | ||
@@ -305,6 +287,4 @@ * Representation of a user, suitable for scripting. | ||
getEmail(): string; | ||
/** @deprecated DO NOT USE */ | ||
getUserLoginId(): string; | ||
/** @deprecated DO NOT USE */getUserLoginId(): string; | ||
} | ||
/** | ||
@@ -314,3 +294,2 @@ * An enum representing the days of the week. | ||
enum Weekday { SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY } | ||
/** | ||
@@ -317,0 +296,0 @@ * This class allows the developer to write logs to the Google Cloud Platform's Stackdriver Logging service. The following |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-10-24 | ||
// Type definitions for Google Apps Script 2019-11-06 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -40,3 +40,2 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
} | ||
/** | ||
@@ -43,0 +42,0 @@ * CacheService allows you to access a cache for short term storage of data. |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-10-24 | ||
// Type definitions for Google Apps Script 2019-11-06 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -50,3 +50,2 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
} | ||
/** | ||
@@ -109,3 +108,2 @@ * Allows a script to read and update the user's Google Calendar. This class provides direct access | ||
} | ||
/** | ||
@@ -170,3 +168,2 @@ * Represents a single calendar event. | ||
} | ||
/** | ||
@@ -223,3 +220,2 @@ * Represents a series of events (a recurring event). | ||
} | ||
/** | ||
@@ -229,3 +225,2 @@ * An enum representing the named colors available in the Calendar service. | ||
enum Color { BLUE, BROWN, CHARCOAL, CHESTNUT, GRAY, GREEN, INDIGO, LIME, MUSTARD, OLIVE, ORANGE, PINK, PLUM, PURPLE, RED, RED_ORANGE, SEA_BLUE, SLATE, TEAL, TURQOISE, YELLOW } | ||
/** | ||
@@ -235,3 +230,2 @@ * An enum representing the named event colors available in the Calendar service. | ||
enum EventColor { PALE_BLUE, PALE_GREEN, MAUVE, PALE_RED, YELLOW, ORANGE, CYAN, GRAY, BLUE, GREEN, RED } | ||
/** | ||
@@ -245,6 +239,4 @@ * Represents a guest of an event. | ||
getName(): string; | ||
/** @deprecated DO NOT USE */ | ||
getStatus(): string; | ||
/** @deprecated DO NOT USE */getStatus(): string; | ||
} | ||
/** | ||
@@ -266,3 +258,2 @@ * Represents the recurrence settings for an event series. | ||
} | ||
/** | ||
@@ -272,3 +263,2 @@ * An enum representing the statuses a guest can have for an event. | ||
enum GuestStatus { INVITED, MAYBE, NO, OWNER, YES } | ||
/** | ||
@@ -312,3 +302,2 @@ * Represents a recurrence rule for an event series. | ||
} | ||
/** | ||
@@ -315,0 +304,0 @@ * An enum representing the visibility of an event. |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-10-24 | ||
// Type definitions for Google Apps Script 2019-11-06 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -24,6 +24,4 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
setParameters(parameters: { [key: string]: string }): Action; | ||
/** @deprecated DO NOT USE */ | ||
setMethodName(functionName: string): Action; | ||
/** @deprecated DO NOT USE */setMethodName(functionName: string): Action; | ||
} | ||
/** | ||
@@ -59,3 +57,2 @@ * The response object that may be returned from a callback function (e.g., a form response handler) | ||
} | ||
/** | ||
@@ -71,3 +68,2 @@ * A builder for ActionResponse objects. | ||
} | ||
/** | ||
@@ -82,3 +78,2 @@ * An authorization action that will send the user to the AuthorizationUrl when clicked. | ||
} | ||
/** | ||
@@ -99,3 +94,2 @@ * An error that can be returned to trigger an authorization card to be shown to the user. | ||
} | ||
/** | ||
@@ -111,3 +105,2 @@ * A base class for all buttons. | ||
} | ||
/** | ||
@@ -129,3 +122,2 @@ * Holds a set of Button objects that are displayed in a row. | ||
} | ||
/** | ||
@@ -147,3 +139,2 @@ * A context card that represents a single view in the | ||
} | ||
/** | ||
@@ -167,3 +158,2 @@ * A clickable menu item that is added to the card header menu. | ||
} | ||
/** | ||
@@ -179,3 +169,2 @@ * A builder for Card objects. | ||
} | ||
/** | ||
@@ -197,3 +186,2 @@ * The header of a Card. | ||
} | ||
/** | ||
@@ -218,3 +206,2 @@ * A card section holds groups of widgets and provides visual separation between them. | ||
} | ||
/** | ||
@@ -302,3 +289,2 @@ * CardService provides the ability to create generic cards used across different Google | ||
} | ||
/** | ||
@@ -319,3 +305,2 @@ * The response object that may be returned from a callback method for compose action in a Gmail add-on. | ||
} | ||
/** | ||
@@ -333,3 +318,2 @@ * A builder for ComposeActionResponse objects. | ||
} | ||
/** | ||
@@ -339,3 +323,2 @@ * An enum value that specifies whether the composed email is a standalone or reply draft. | ||
enum ComposedEmailType { REPLY_AS_DRAFT, STANDALONE_DRAFT } | ||
/** | ||
@@ -345,3 +328,2 @@ * An enum value that specifies the content type of the content generated by a UpdateDraftActionResponse. | ||
enum ContentType { TEXT, MUTABLE_HTML, IMMUTABLE_HTML } | ||
/** | ||
@@ -351,3 +333,2 @@ * Predefined icons that can be used in various UI objects, such as ImageButton or KeyValue widgets. | ||
enum Icon { NONE, AIRPLANE, BOOKMARK, BUS, CAR, CLOCK, CONFIRMATION_NUMBER_ICON, DOLLAR, DESCRIPTION, EMAIL, EVENT_PERFORMER, EVENT_SEAT, FLIGHT_ARRIVAL, FLIGHT_DEPARTURE, HOTEL, HOTEL_ROOM_TYPE, INVITE, MAP_PIN, MEMBERSHIP, MULTIPLE_PEOPLE, OFFER, PERSON, PHONE, RESTAURANT_ICON, SHOPPING_CART, STAR, STORE, TICKET, TRAIN, VIDEO_CAMERA, VIDEO_PLAY } | ||
/** | ||
@@ -367,3 +348,2 @@ * A widget that shows a single image. | ||
} | ||
/** | ||
@@ -388,3 +368,2 @@ * A ImageButton with an image displayed on it. | ||
} | ||
/** | ||
@@ -394,3 +373,2 @@ * An enum that defines an image cropping style. | ||
enum ImageStyle { SQUARE, CIRCLE } | ||
/** | ||
@@ -432,3 +410,2 @@ * A widget that displays one or more "keys" around a text "value". The possible keys include an | ||
} | ||
/** | ||
@@ -438,3 +415,2 @@ * An enum type that specifies the type of loading or progress indicator to display while an Action is being processed. | ||
enum LoadIndicator { SPINNER, NONE } | ||
/** | ||
@@ -451,3 +427,2 @@ * A helper object that controls card navigation. See the card navigation guide for more details. | ||
} | ||
/** | ||
@@ -471,3 +446,2 @@ * A notification shown to the user as a response to interacting with a UI element. | ||
} | ||
/** | ||
@@ -481,3 +455,2 @@ * An enum that specifies what to do when a URL opened through an OpenLink is closed. | ||
enum OnClose { NOTHING, RELOAD_ADD_ON } | ||
/** | ||
@@ -494,3 +467,2 @@ * An enum that specifies how to open a URL. | ||
enum OpenAs { FULL_SIZE, OVERLAY } | ||
/** | ||
@@ -522,3 +494,2 @@ * Represents an action to open a link with some options. | ||
} | ||
/** | ||
@@ -552,3 +523,2 @@ * An input field that allows choosing between a set of predefined options. | ||
} | ||
/** | ||
@@ -558,3 +528,2 @@ * Type of selection input. | ||
enum SelectionInputType { CHECK_BOX, RADIO_BUTTON, DROPDOWN } | ||
/** | ||
@@ -572,3 +541,2 @@ * Autocomplete suggestions to supplement a TextInput widget. | ||
} | ||
/** | ||
@@ -587,3 +555,2 @@ * A response object that can be returned from a suggestions callback function. This is used with | ||
} | ||
/** | ||
@@ -596,3 +563,2 @@ * A builder for SuggestionsResponse objects. | ||
} | ||
/** | ||
@@ -616,3 +582,2 @@ * A UI element that supports being toggled on or off. This can only be used within a KeyValue widget. | ||
} | ||
/** | ||
@@ -638,3 +603,2 @@ * A TextButton with a text label. You can set the background color and disable the button when | ||
} | ||
/** | ||
@@ -648,3 +612,2 @@ * An enum that specifies the style for TextButton. | ||
enum TextButtonStyle { TEXT, FILLED } | ||
/** | ||
@@ -668,3 +631,2 @@ * A input field widget that accepts text input. | ||
} | ||
/** | ||
@@ -679,3 +641,2 @@ * A widget that displays text and supports basic HTML formatting. | ||
} | ||
/** | ||
@@ -704,3 +665,2 @@ * The response object that may be returned from a method that creates universal action. | ||
} | ||
/** | ||
@@ -714,3 +674,2 @@ * A builder for the UniversalActionResponse objects. | ||
} | ||
/** | ||
@@ -755,3 +714,2 @@ * Represents an action that updates the email draft that the user is currently editing. | ||
} | ||
/** | ||
@@ -764,3 +722,2 @@ * A builder for UpdateDraftActionResponse objects. | ||
} | ||
/** | ||
@@ -773,3 +730,2 @@ * Represents an action that updates the email draft body. | ||
} | ||
/** | ||
@@ -779,3 +735,2 @@ * An enum value that specifies the type of an UpdateDraftBodyAction. | ||
enum UpdateDraftBodyType { IN_PLACE_INSERT } | ||
/** | ||
@@ -786,3 +741,2 @@ * Base class for all widgets that can be added to a Card. | ||
interface Widget { | ||
// tslint:disable-next-line: no-empty-interface | ||
} | ||
@@ -789,0 +743,0 @@ } |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-10-24 | ||
// Type definitions for Google Apps Script 2019-11-06 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -71,3 +71,2 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
} | ||
/** | ||
@@ -119,3 +118,2 @@ * Builder for bar charts. For more details, see the Google Charts documentation. | ||
} | ||
/** | ||
@@ -130,3 +128,2 @@ * A Chart object, which can be converted to a static image. For charts embedded in spreadsheets, | ||
} | ||
/** | ||
@@ -136,3 +133,2 @@ * An enumeration of how hidden dimensions in a source are expressed in a chart. | ||
enum ChartHiddenDimensionStrategy { IGNORE_BOTH, IGNORE_ROWS, IGNORE_COLUMNS, SHOW_BOTH } | ||
/** | ||
@@ -142,3 +138,2 @@ * An enumeration of how multiple ranges in the source are expressed in a chart. | ||
enum ChartMergeStrategy { MERGE_COLUMNS, MERGE_ROWS } | ||
/** | ||
@@ -156,3 +151,2 @@ * Exposes options currently configured for a Chart, such as height, color, etc. | ||
} | ||
/** | ||
@@ -162,3 +156,2 @@ * Chart types supported by the Charts service. | ||
enum ChartType { TIMELINE, AREA, BAR, BUBBLE, CANDLESTICK, COLUMN, COMBO, GAUGE, GEO, HISTOGRAM, RADAR, LINE, ORG, PIE, SCATTER, SPARKLINE, STEPPED_AREA, TABLE, TREEMAP, WATERFALL } | ||
/** | ||
@@ -216,3 +209,2 @@ * Entry point for creating Charts in scripts. | ||
} | ||
/** | ||
@@ -271,3 +263,2 @@ * Builder for column charts. For more details, see the Google Charts documentation. | ||
} | ||
/** | ||
@@ -277,3 +268,2 @@ * An enumeration of the valid data types for columns in a DataTable. | ||
enum ColumnType { DATE, NUMBER, STRING } | ||
/** | ||
@@ -283,3 +273,2 @@ * An enumeration of the styles for curves in a chart. | ||
enum CurveStyle { NORMAL, SMOOTH } | ||
/** | ||
@@ -292,5 +281,3 @@ * A Data Table to be used in charts. A DataTable can come from sources such as Google | ||
interface DataTable { | ||
// tslint:disable-next-line: no-empty-interface | ||
} | ||
/** | ||
@@ -317,3 +304,2 @@ * Builder of DataTable objects. Building a data table consists of first specifying its columns, and | ||
} | ||
/** | ||
@@ -332,3 +318,2 @@ * Interface for objects that can represent their data as a DataTable. | ||
} | ||
/** | ||
@@ -345,5 +330,3 @@ * A data view definition for visualizing chart data. | ||
interface DataViewDefinition { | ||
// tslint:disable-next-line: no-empty-interface | ||
} | ||
/** | ||
@@ -394,3 +377,2 @@ * Builder for DataViewDefinition objects. | ||
} | ||
/** | ||
@@ -442,3 +424,2 @@ * Builder for line charts. For more details, see the Google Charts documentation. | ||
} | ||
/** | ||
@@ -460,3 +441,2 @@ * An enumeration of how a string value should be matched. Matching a string is a boolean operation. | ||
enum MatchType { EXACT, PREFIX, ANY } | ||
/** | ||
@@ -479,3 +459,2 @@ * A builder for number range filter controls. | ||
} | ||
/** | ||
@@ -485,3 +464,2 @@ * An enumeration of the orientation of an object. | ||
enum Orientation { HORIZONTAL, VERTICAL } | ||
/** | ||
@@ -491,3 +469,2 @@ * An enumeration of how to display selected values in picker widget. | ||
enum PickerValuesLayout { ASIDE, BELOW, BELOW_WRAPPING, BELOW_STACKED } | ||
/** | ||
@@ -527,3 +504,2 @@ * A builder for pie charts. For more details, see the Google Charts documentation. | ||
} | ||
/** | ||
@@ -533,3 +509,2 @@ * An enumeration of the styles of points in a line. | ||
enum PointStyle { NONE, TINY, MEDIUM, LARGE, HUGE } | ||
/** | ||
@@ -539,3 +514,2 @@ * An enumeration of legend positions within a chart. | ||
enum Position { TOP, RIGHT, BOTTOM, NONE } | ||
/** | ||
@@ -586,3 +560,2 @@ * Builder for scatter charts. For more details, see the Google Charts documentation. | ||
} | ||
/** | ||
@@ -603,3 +576,2 @@ * A builder for string filter controls. | ||
} | ||
/** | ||
@@ -640,3 +612,2 @@ * A builder for table charts. For more details, see the Google Charts documentation. | ||
} | ||
/** | ||
@@ -678,3 +649,2 @@ * A text style configuration object. Used in charts options to configure text style for elements | ||
} | ||
/** | ||
@@ -681,0 +651,0 @@ * A builder used to create TextStyle objects. It allows configuration of the text's |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-10-24 | ||
// Type definitions for Google Apps Script 2019-11-06 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -24,3 +24,2 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
} | ||
/** | ||
@@ -38,3 +37,2 @@ * Company field in a Contact. | ||
} | ||
/** | ||
@@ -96,48 +94,25 @@ * A Contact contains the name, address, and various contact details of a contact. | ||
setSuffix(suffix: string): Contact; | ||
/** @deprecated DO NOT USE */ | ||
getEmailAddresses(): string[]; | ||
/** @deprecated DO NOT USE */ | ||
getHomeAddress(): string; | ||
/** @deprecated DO NOT USE */ | ||
getHomeFax(): string; | ||
/** @deprecated DO NOT USE */ | ||
getHomePhone(): string; | ||
/** @deprecated DO NOT USE */ | ||
getMobilePhone(): string; | ||
/** @deprecated DO NOT USE */ | ||
getPager(): string; | ||
/** @deprecated DO NOT USE */ | ||
getUserDefinedField(key: string): string; | ||
/** @deprecated DO NOT USE */ | ||
getUserDefinedFields(): any; | ||
/** @deprecated DO NOT USE */ | ||
getWorkAddress(): string; | ||
/** @deprecated DO NOT USE */ | ||
getWorkFax(): string; | ||
/** @deprecated DO NOT USE */ | ||
getWorkPhone(): string; | ||
/** @deprecated DO NOT USE */ | ||
setHomeAddress(addr: string): void; | ||
/** @deprecated DO NOT USE */ | ||
setHomeFax(phone: string): void; | ||
/** @deprecated DO NOT USE */ | ||
setHomePhone(phone: string): void; | ||
/** @deprecated DO NOT USE */ | ||
setMobilePhone(phone: string): void; | ||
/** @deprecated DO NOT USE */ | ||
setPager(phone: string): void; | ||
/** @deprecated DO NOT USE */ | ||
setPrimaryEmail(primaryEmail: string): void; | ||
/** @deprecated DO NOT USE */ | ||
setUserDefinedField(key: string, value: string): void; | ||
/** @deprecated DO NOT USE */ | ||
setUserDefinedFields(o: any): void; | ||
/** @deprecated DO NOT USE */ | ||
setWorkAddress(addr: string): void; | ||
/** @deprecated DO NOT USE */ | ||
setWorkFax(phone: string): void; | ||
/** @deprecated DO NOT USE */ | ||
setWorkPhone(phone: string): void; | ||
/** @deprecated DO NOT USE */getEmailAddresses(): string[]; | ||
/** @deprecated DO NOT USE */getHomeAddress(): string; | ||
/** @deprecated DO NOT USE */getHomeFax(): string; | ||
/** @deprecated DO NOT USE */getHomePhone(): string; | ||
/** @deprecated DO NOT USE */getMobilePhone(): string; | ||
/** @deprecated DO NOT USE */getPager(): string; | ||
/** @deprecated DO NOT USE */getUserDefinedField(key: string): string; | ||
/** @deprecated DO NOT USE */getUserDefinedFields(): any; | ||
/** @deprecated DO NOT USE */getWorkAddress(): string; | ||
/** @deprecated DO NOT USE */getWorkFax(): string; | ||
/** @deprecated DO NOT USE */getWorkPhone(): string; | ||
/** @deprecated DO NOT USE */setHomeAddress(addr: string): void; | ||
/** @deprecated DO NOT USE */setHomeFax(phone: string): void; | ||
/** @deprecated DO NOT USE */setHomePhone(phone: string): void; | ||
/** @deprecated DO NOT USE */setMobilePhone(phone: string): void; | ||
/** @deprecated DO NOT USE */setPager(phone: string): void; | ||
/** @deprecated DO NOT USE */setPrimaryEmail(primaryEmail: string): void; | ||
/** @deprecated DO NOT USE */setUserDefinedField(key: string, value: string): void; | ||
/** @deprecated DO NOT USE */setUserDefinedFields(o: any): void; | ||
/** @deprecated DO NOT USE */setWorkAddress(addr: string): void; | ||
/** @deprecated DO NOT USE */setWorkFax(phone: string): void; | ||
/** @deprecated DO NOT USE */setWorkPhone(phone: string): void; | ||
} | ||
/** | ||
@@ -155,8 +130,5 @@ * A ContactGroup is is a group of contacts. | ||
setName(name: string): ContactGroup; | ||
/** @deprecated DO NOT USE */ | ||
getGroupName(): string; | ||
/** @deprecated DO NOT USE */ | ||
setGroupName(name: string): void; | ||
/** @deprecated DO NOT USE */getGroupName(): string; | ||
/** @deprecated DO NOT USE */setGroupName(name: string): void; | ||
} | ||
/** | ||
@@ -209,10 +181,6 @@ * This class allows users to access their own Google Contacts and create, remove, and update | ||
getContactsByUrl(query: string, label: string): Contact[]; | ||
/** @deprecated DO NOT USE */ | ||
findByEmailAddress(email: string): Contact; | ||
/** @deprecated DO NOT USE */ | ||
findContactGroup(name: string): ContactGroup; | ||
/** @deprecated DO NOT USE */ | ||
getAllContacts(): Contact[]; | ||
/** @deprecated DO NOT USE */findByEmailAddress(email: string): Contact; | ||
/** @deprecated DO NOT USE */findContactGroup(name: string): ContactGroup; | ||
/** @deprecated DO NOT USE */getAllContacts(): Contact[]; | ||
} | ||
/** | ||
@@ -229,3 +197,2 @@ * A custom field in a Contact. | ||
} | ||
/** | ||
@@ -249,3 +216,2 @@ * A date field in a Contact. | ||
} | ||
/** | ||
@@ -266,3 +232,2 @@ * An email field in a Contact. | ||
} | ||
/** | ||
@@ -272,3 +237,2 @@ * An enum for extended contacts fields. | ||
enum ExtendedField { HOBBY, MILEAGE, LANGUAGE, GENDER, BILLING_INFORMATION, DIRECTORY_SERVER, SENSITIVITY, PRIORITY, HOME, WORK, USER, OTHER } | ||
/** | ||
@@ -278,3 +242,2 @@ * An enum for contacts fields. | ||
enum Field { FULL_NAME, GIVEN_NAME, MIDDLE_NAME, FAMILY_NAME, MAIDEN_NAME, NICKNAME, SHORT_NAME, INITIALS, PREFIX, SUFFIX, HOME_EMAIL, WORK_EMAIL, BIRTHDAY, ANNIVERSARY, HOME_ADDRESS, WORK_ADDRESS, ASSISTANT_PHONE, CALLBACK_PHONE, MAIN_PHONE, PAGER, HOME_FAX, WORK_FAX, HOME_PHONE, WORK_PHONE, MOBILE_PHONE, GOOGLE_VOICE, NOTES, GOOGLE_TALK, AIM, YAHOO, SKYPE, QQ, MSN, ICQ, JABBER, BLOG, FTP, PROFILE, HOME_PAGE, WORK_WEBSITE, HOME_WEBSITE, JOB_TITLE, COMPANY } | ||
/** | ||
@@ -284,3 +247,2 @@ * An enum for contact gender. | ||
enum Gender { MALE, FEMALE } | ||
/** | ||
@@ -300,3 +262,2 @@ * An instant messaging field in a Contact. | ||
} | ||
/** | ||
@@ -315,3 +276,2 @@ * A phone number field in a Contact. | ||
} | ||
/** | ||
@@ -321,3 +281,2 @@ * An enum for contact priority. | ||
enum Priority { HIGH, LOW, NORMAL } | ||
/** | ||
@@ -327,3 +286,2 @@ * An enum for contact sensitivity. | ||
enum Sensitivity { CONFIDENTIAL, NORMAL, PERSONAL, PRIVATE } | ||
/** | ||
@@ -330,0 +288,0 @@ * A URL field in a Contact. |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-10-24 | ||
// Type definitions for Google Apps Script 2019-11-06 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -24,3 +24,2 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
} | ||
/** | ||
@@ -30,3 +29,2 @@ * An enum for mime types that can be served from a script. | ||
enum MimeType { ATOM, CSV, ICAL, JAVASCRIPT, JSON, RSS, TEXT, VCARD, XML } | ||
/** | ||
@@ -33,0 +31,0 @@ * A TextOutput object that can be served from a script. |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-10-24 | ||
// Type definitions for Google Apps Script 2019-11-06 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -14,3 +14,2 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
enum AggregationType { AVG, COUNT, COUNT_DISTINCT, MAX, MIN, SUM, AUTO, NO_AGGREGATION } | ||
/** | ||
@@ -20,3 +19,2 @@ * An enum that defines the authentication types that can be set for a connector. | ||
enum AuthType { NONE, OAUTH2, USER_PASS, KEY, USER_TOKEN } | ||
/** | ||
@@ -46,3 +44,2 @@ * A configuration object for a native BigQuery connector. Return this object from getData() | ||
} | ||
/** | ||
@@ -52,3 +49,2 @@ * An enum that defines the BigQuery parameter types that you can set. | ||
enum BigQueryParameterType { STRING, INT64, BOOL, FLOAT64 } | ||
/** | ||
@@ -70,3 +66,2 @@ * Contains checkbox information for the config. Its properties determine how the checkbox is | ||
} | ||
/** | ||
@@ -100,3 +95,2 @@ * CommunityConnector enables scripts to access builders and utilities to help with development of | ||
} | ||
/** | ||
@@ -125,3 +119,2 @@ * Contains the configuration entries for a connector. These configuration entries define what | ||
} | ||
/** | ||
@@ -133,3 +126,2 @@ * DataStudioApp allows scripts to interact with developer-oriented features for Data Studio. | ||
} | ||
/** | ||
@@ -149,3 +141,2 @@ * An error that is only visible to admins of the connector. | ||
} | ||
/** | ||
@@ -188,3 +179,2 @@ * Contains field-related data. Its properties determine how the field is used in Data Studio. | ||
} | ||
/** | ||
@@ -194,3 +184,2 @@ * An enum that defines the types that can be set for a Field. | ||
enum FieldType { YEAR, YEAR_QUARTER, YEAR_MONTH, YEAR_WEEK, YEAR_MONTH_DAY, YEAR_MONTH_DAY_HOUR, YEAR_MONTH_DAY_SECOND, QUARTER, MONTH, WEEK, MONTH_DAY, DAY_OF_WEEK, DAY, HOUR, MINUTE, DURATION, COUNTRY, COUNTRY_CODE, CONTINENT, CONTINENT_CODE, SUB_CONTINENT, SUB_CONTINENT_CODE, REGION, REGION_CODE, CITY, CITY_CODE, METRO, METRO_CODE, LATITUDE_LONGITUDE, NUMBER, PERCENT, TEXT, BOOLEAN, URL, HYPERLINK, IMAGE, IMAGE_LINK, CURRENCY_AED, CURRENCY_ALL, CURRENCY_ARS, CURRENCY_AUD, CURRENCY_BDT, CURRENCY_BGN, CURRENCY_BOB, CURRENCY_BRL, CURRENCY_CAD, CURRENCY_CDF, CURRENCY_CHF, CURRENCY_CLP, CURRENCY_CNY, CURRENCY_COP, CURRENCY_CRC, CURRENCY_CZK, CURRENCY_DKK, CURRENCY_DOP, CURRENCY_EGP, CURRENCY_ETB, CURRENCY_EUR, CURRENCY_GBP, CURRENCY_HKD, CURRENCY_HRK, CURRENCY_HUF, CURRENCY_IDR, CURRENCY_ILS, CURRENCY_INR, CURRENCY_IRR, CURRENCY_ISK, CURRENCY_JMD, CURRENCY_JPY, CURRENCY_KRW, CURRENCY_LKR, CURRENCY_LTL, CURRENCY_MNT, CURRENCY_MVR, CURRENCY_MXN, CURRENCY_MYR, CURRENCY_NOK, CURRENCY_NZD, CURRENCY_PAB, CURRENCY_PEN, CURRENCY_PHP, CURRENCY_PKR, CURRENCY_PLN, CURRENCY_RON, CURRENCY_RSD, CURRENCY_RUB, CURRENCY_SAR, CURRENCY_SEK, CURRENCY_SGD, CURRENCY_THB, CURRENCY_TRY, CURRENCY_TWD, CURRENCY_TZS, CURRENCY_UAH, CURRENCY_USD, CURRENCY_UYU, CURRENCY_VEF, CURRENCY_VND, CURRENCY_YER, CURRENCY_ZAR } | ||
/** | ||
@@ -220,3 +209,2 @@ * Contains a set of Fields for a community connector. This set of fields define which | ||
} | ||
/** | ||
@@ -241,3 +229,2 @@ * Builder to create a getAuthType() response for your script project. | ||
} | ||
/** | ||
@@ -258,3 +245,2 @@ * Contains info data for the config. Its properties determine how the info is displayed in Data | ||
} | ||
/** | ||
@@ -285,3 +271,2 @@ * A builder for creating options for SelectSingles and SelectMultiples. | ||
} | ||
/** | ||
@@ -316,3 +301,2 @@ * Contains select multiple information for the config. Its properties determine how the select | ||
} | ||
/** | ||
@@ -345,3 +329,2 @@ * Contains select single information for the config. Its properties determine how the select single | ||
} | ||
/** | ||
@@ -370,3 +353,2 @@ * Contains text area information for the config. Its properties determine how the text input is | ||
} | ||
/** | ||
@@ -393,3 +375,2 @@ * Contains text input information for the config. Its properties determine how the text input is | ||
} | ||
/** | ||
@@ -396,0 +377,0 @@ * An error that is shown to users of the connector. |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-10-24 | ||
// Type definitions for Google Apps Script 2019-11-06 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -21,3 +21,2 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
enum Access { ANYONE, ANYONE_WITH_LINK, DOMAIN, DOMAIN_WITH_LINK, PRIVATE } | ||
/** | ||
@@ -136,3 +135,2 @@ * Allows scripts to create, find, and modify files and folders in Google Drive. | ||
} | ||
/** | ||
@@ -205,3 +203,2 @@ * A file in Google Drive. Files can be accessed or created from DriveApp. | ||
} | ||
/** | ||
@@ -233,3 +230,2 @@ * An iterator that allows scripts to iterate over a potentially large collection of files. File | ||
} | ||
/** | ||
@@ -300,3 +296,2 @@ * A folder in Google Drive. Folders can be accessed or created from DriveApp. | ||
} | ||
/** | ||
@@ -318,3 +313,2 @@ * An object that allows scripts to iterate over a potentially large collection of folders. Folder | ||
} | ||
/** | ||
@@ -331,3 +325,2 @@ * An enum representing the permissions granted to users who can access a file or folder, besides | ||
enum Permission { VIEW, EDIT, COMMENT, OWNER, ORGANIZER, NONE } | ||
/** | ||
@@ -334,0 +327,0 @@ * A user associated with a file in Google Drive. Users can be accessed from File.getEditors(), Folder.getViewers(), and other methods. |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-10-24 | ||
// Type definitions for Google Apps Script 2019-11-06 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -23,3 +23,2 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
enum Alignment { LEFT, CENTER, RIGHT } | ||
/** | ||
@@ -56,3 +55,2 @@ * A question item, presented as a grid of columns and rows, that allows the respondent to select | ||
} | ||
/** | ||
@@ -74,5 +72,3 @@ * A DataValidation for a CheckboxGridItem. | ||
interface CheckboxGridValidation { | ||
// TODO: no-empty-interface | ||
} | ||
/** | ||
@@ -95,3 +91,2 @@ * A DataValidationBuilder for a CheckboxGridValidation. | ||
} | ||
/** | ||
@@ -141,3 +136,2 @@ * A question item that allows the respondent to select one or more checkboxes, as well as an | ||
} | ||
/** | ||
@@ -161,7 +155,6 @@ * A DataValidation for a CheckboxItem. | ||
interface CheckboxValidation { | ||
requireSelectAtLeast(number: Integer): CheckboxValidation; | ||
requireSelectAtMost(number: Integer): CheckboxValidation; | ||
requireSelectExactly(number: Integer): CheckboxValidation; | ||
} | ||
requireSelectAtLeast(number: Integer): CheckboxValidation; | ||
requireSelectAtMost(number: Integer): CheckboxValidation; | ||
requireSelectExactly(number: Integer): CheckboxValidation; | ||
} | ||
/** | ||
@@ -189,3 +182,2 @@ * A DataValidationBuilder for a CheckboxValidation. | ||
} | ||
/** | ||
@@ -220,3 +212,2 @@ * A single choice associated with a type of Item that supports choices, like CheckboxItem, ListItem, or MultipleChoiceItem. | ||
} | ||
/** | ||
@@ -250,3 +241,2 @@ * A question item that allows the respondent to indicate a date. Items can be accessed or created | ||
} | ||
/** | ||
@@ -280,3 +270,2 @@ * A question item that allows the respondent to indicate a date and time. Items can be accessed or | ||
} | ||
/** | ||
@@ -295,3 +284,2 @@ * An enum representing the supported types of form-response destinations. All forms, including | ||
enum DestinationType { SPREADSHEET } | ||
/** | ||
@@ -323,3 +311,2 @@ * A question item that allows the respondent to indicate a length of time. Items can be accessed or | ||
} | ||
/** | ||
@@ -341,3 +328,2 @@ * An enum representing the supported types of feedback. Feedback types can be accessed from FormApp.FeedbackType. | ||
enum FeedbackType { CORRECT, INCORRECT, GENERAL } | ||
/** | ||
@@ -437,3 +423,2 @@ * A form that contains overall properties and items. Properties include title, settings, and where | ||
} | ||
/** | ||
@@ -466,3 +451,2 @@ * Allows a script to open an existing Form or create a new one. | ||
} | ||
/** | ||
@@ -503,3 +487,2 @@ * A response to the form as a whole. A FormResponse can be used in three ways: to access | ||
} | ||
/** | ||
@@ -536,3 +519,2 @@ * A question item, presented as a grid of columns and rows, that allows the respondent to select | ||
} | ||
/** | ||
@@ -554,5 +536,3 @@ * A DataValidation for a GridItem. | ||
interface GridValidation { | ||
// TODO: no-empty-interface | ||
} | ||
/** | ||
@@ -575,3 +555,2 @@ * A DataValidationBuilder for a GridValidation. | ||
} | ||
/** | ||
@@ -604,3 +583,2 @@ * A layout item that displays an image. Items can be accessed or created from a Form. | ||
} | ||
/** | ||
@@ -657,3 +635,2 @@ * A generic form item that contains properties common to all items, such as title and help text. | ||
} | ||
/** | ||
@@ -685,3 +662,2 @@ * A response to one question item within a form. Item responses can be accessed from FormResponse and created from any Item that asks the respondent to answer a question. | ||
} | ||
/** | ||
@@ -701,3 +677,2 @@ * An enum representing the supported types of form items. Item types can be accessed from FormApp.ItemType. | ||
enum ItemType { CHECKBOX, CHECKBOX_GRID, DATE, DATETIME, DURATION, GRID, IMAGE, LIST, MULTIPLE_CHOICE, PAGE_BREAK, PARAGRAPH_TEXT, SCALE, SECTION_HEADER, TEXT, TIME, VIDEO } | ||
/** | ||
@@ -742,3 +717,2 @@ * A question item that allows the respondent to select one choice from a drop-down list. Items can | ||
} | ||
/** | ||
@@ -787,3 +761,2 @@ * A question item that allows the respondent to select one choice from a list of radio buttons or | ||
} | ||
/** | ||
@@ -815,3 +788,2 @@ * A layout item that marks the start of a page. Items can be accessed or created from a Form. | ||
} | ||
/** | ||
@@ -845,3 +817,2 @@ * An enum representing the supported types of page navigation. Page navigation types can be | ||
enum PageNavigationType { CONTINUE, GO_TO_PAGE, RESTART, SUBMIT } | ||
/** | ||
@@ -875,3 +846,2 @@ * A question item that allows the respondent to enter a block of text. Items can be accessed or | ||
} | ||
/** | ||
@@ -889,5 +859,3 @@ * A DataValidation for a ParagraphTextItem. | ||
interface ParagraphTextValidation { | ||
// TODO: no-empty-interface | ||
} | ||
/** | ||
@@ -911,3 +879,2 @@ * A DataValidationBuilder for a ParagraphTextValidation. | ||
} | ||
/** | ||
@@ -932,3 +899,2 @@ * The bean implementation of a Feedback, which contains properties common to all feedback, such as | ||
} | ||
/** | ||
@@ -955,3 +921,2 @@ * The base FeedbackBuilder that contains setters for properties common to all feedback, such as | ||
} | ||
/** | ||
@@ -991,3 +956,2 @@ * A question item that allows the respondent to choose one option from a numbered sequence of radio | ||
} | ||
/** | ||
@@ -1012,3 +976,2 @@ * A layout item that visually indicates the start of a section. Items can be accessed or created | ||
} | ||
/** | ||
@@ -1042,3 +1005,2 @@ * A question item that allows the respondent to enter a single line of text. Items can be accessed | ||
} | ||
/** | ||
@@ -1059,3 +1021,2 @@ * A DataValidation for a TextItem. | ||
} | ||
/** | ||
@@ -1091,3 +1052,2 @@ * A DataValidationBuilder for a TextValidation. | ||
} | ||
/** | ||
@@ -1119,3 +1079,2 @@ * A question item that allows the respondent to indicate a time of day. Items can be accessed or | ||
} | ||
/** | ||
@@ -1122,0 +1081,0 @@ * A layout item that displays a video. Items can be accessed or created from a Form. |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-10-24 | ||
// Type definitions for Google Apps Script 2019-11-06 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -81,3 +81,2 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
} | ||
/** | ||
@@ -117,6 +116,4 @@ * An attachment from Gmail. This is a regular Blob except that it has an extra getSize() method that is faster than calling | ||
setName(name: string): Base.Blob; | ||
/** @deprecated DO NOT USE */ | ||
getAllBlobs(): Base.Blob[]; | ||
/** @deprecated DO NOT USE */getAllBlobs(): Base.Blob[]; | ||
} | ||
/** | ||
@@ -227,3 +224,2 @@ * A user-created draft message in a user's Gmail account. | ||
} | ||
/** | ||
@@ -272,3 +268,2 @@ * A message in a user's Gmail account. | ||
} | ||
/** | ||
@@ -275,0 +270,0 @@ * A thread in a user's Gmail account. |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-10-24 | ||
// Type definitions for Google Apps Script 2019-11-06 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -40,3 +40,2 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
} | ||
/** | ||
@@ -56,3 +55,2 @@ * This class provides access to Google Groups information. It can be used to query information such | ||
} | ||
/** | ||
@@ -59,0 +57,0 @@ * Possible roles of a user within a group, such as owner or ordinary member. Users subscribed to a |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-10-24 | ||
// Type definitions for Google Apps Script 2019-11-06 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -46,3 +46,2 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
} | ||
/** | ||
@@ -61,3 +60,2 @@ * An object that represents a meta tag added to the page by calling HtmlOutput.addMetaTag(name, content). | ||
} | ||
/** | ||
@@ -82,3 +80,2 @@ * Service for returning HTML and other text content from a script. | ||
} | ||
/** | ||
@@ -94,3 +91,2 @@ * A template object for dynamically constructing HTML. For more information, see the guide to templates. | ||
} | ||
/** | ||
@@ -122,3 +118,2 @@ * An enum representing the sandbox modes that can be used for client-side HtmlService | ||
enum SandboxMode { EMULATED, IFRAME, NATIVE } | ||
/** | ||
@@ -125,0 +120,0 @@ * An enum representing the X-Frame-Options modes that can be used for client-side HtmlService scripts. These values can be accessed from HtmlService.XFrameOptionsMode, |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-10-24 | ||
// Type definitions for Google Apps Script 2019-11-06 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -61,3 +61,2 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
} | ||
/** | ||
@@ -76,3 +75,2 @@ * A JDBC Array. For documentation of this class, see java.sql.Array | ||
} | ||
/** | ||
@@ -96,3 +94,2 @@ * A JDBC Blob. For documentation of this class, see java.sql.Blob | ||
} | ||
/** | ||
@@ -268,3 +265,2 @@ * A JDBC CallableStatement. For documentation of this class, see | ||
} | ||
/** | ||
@@ -288,3 +284,2 @@ * A JDBC Clob. For documentation of this class, see java.sql.Clob | ||
} | ||
/** | ||
@@ -337,3 +332,2 @@ * A JDBC Connection. For documentation of this class, see | ||
} | ||
/** | ||
@@ -517,3 +511,2 @@ * A JDBC database metadata object. For documentation of this class, see | ||
} | ||
/** | ||
@@ -535,3 +528,2 @@ * A JDBC Date. For documentation of this class, see java.sql.Date | ||
} | ||
/** | ||
@@ -552,3 +544,2 @@ * A JDBC ParameterMetaData. For documentation of this class, see | ||
} | ||
/** | ||
@@ -637,3 +628,2 @@ * A JDBC PreparedStatement. For documentation of this class, see | ||
} | ||
/** | ||
@@ -647,3 +637,2 @@ * A JDBC Ref. For documentation of this class, see java.sql.Ref. | ||
} | ||
/** | ||
@@ -794,3 +783,2 @@ * A JDBC ResultSet. For documentation of this class, see java.sql.ResultSet | ||
} | ||
/** | ||
@@ -823,3 +811,2 @@ * A JDBC ResultSetMetaData. For documentation of this class, see | ||
} | ||
/** | ||
@@ -832,3 +819,2 @@ * A JDBC RowId. For documentation of this class, see java.sql.RowId | ||
} | ||
/** | ||
@@ -843,3 +829,2 @@ * A JDBC SQLXML. For documentation of this class, see java.sql.SQLXML | ||
} | ||
/** | ||
@@ -853,3 +838,2 @@ * A JDBC Savepoint. For documentation of this class, see java.sql.Savepoint | ||
} | ||
/** | ||
@@ -901,3 +885,2 @@ * A JDBC Statement. For documentation of this class, see java.sql.Statement | ||
} | ||
/** | ||
@@ -911,3 +894,2 @@ * A JDBC Struct. For documentation of this class, see java.sql.Struct | ||
} | ||
/** | ||
@@ -929,3 +911,2 @@ * A JDBC Time. For documentation of this class, see java.sql.Time | ||
} | ||
/** | ||
@@ -932,0 +913,0 @@ * A JDBC Timestamp. For documentation of this class, see java.sql.Timestamp |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-10-24 | ||
// Type definitions for Google Apps Script 2019-11-06 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -46,3 +46,2 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
} | ||
/** | ||
@@ -49,0 +48,0 @@ * Prevents concurrent access to sections of code. This can be useful when you have multiple users |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-10-24 | ||
// Type definitions for Google Apps Script 2019-11-06 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -15,3 +15,2 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
enum Avoid { TOLLS, HIGHWAYS } | ||
/** | ||
@@ -21,3 +20,2 @@ * An enum representing the named colors available to use in map images. | ||
enum Color { BLACK, BROWN, GREEN, PURPLE, YELLOW, BLUE, GRAY, ORANGE, RED, WHITE } | ||
/** | ||
@@ -96,3 +94,2 @@ * Allows for the retrieval of directions between locations. | ||
} | ||
/** | ||
@@ -105,3 +102,2 @@ * A collection of enums used by DirectionFinder. | ||
} | ||
/** | ||
@@ -155,3 +151,2 @@ * Allows for the sampling of elevations at particular locations. | ||
} | ||
/** | ||
@@ -164,3 +159,2 @@ * An enum representing the format of the map image. | ||
enum Format { PNG, PNG8, PNG32, GIF, JPG, JPG_BASELINE } | ||
/** | ||
@@ -204,3 +198,2 @@ * Allows for the conversion between an address and geographical coordinates. | ||
} | ||
/** | ||
@@ -221,3 +214,2 @@ * Allows for direction finding, geocoding, elevation sampling and the creation of static map | ||
} | ||
/** | ||
@@ -230,3 +222,2 @@ * An enum representing the size of a marker added to a map. | ||
enum MarkerSize { TINY, MID, SMALL } | ||
/** | ||
@@ -236,3 +227,2 @@ * An enum representing the mode of travel to use when finding directions. | ||
enum Mode { DRIVING, WALKING, BICYCLING, TRANSIT } | ||
/** | ||
@@ -303,3 +293,2 @@ * Allows for the creation and decoration of static map images. | ||
} | ||
/** | ||
@@ -314,3 +303,2 @@ * A collection of enums used by StaticMap. | ||
} | ||
/** | ||
@@ -317,0 +305,0 @@ * An enum representing the type of map to render. |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-10-24 | ||
// Type definitions for Google Apps Script 2019-11-06 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -32,3 +32,2 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
} | ||
/** | ||
@@ -99,3 +98,2 @@ * The engine used to model and solve a linear program. The example below solves the following | ||
} | ||
/** | ||
@@ -158,3 +156,2 @@ * The linear optimization service, used to model and solve linear and mixed-integer linear | ||
} | ||
/** | ||
@@ -218,3 +215,2 @@ * The solution of a linear program. The example below solves the following linear program: | ||
} | ||
/** | ||
@@ -226,3 +222,2 @@ * Status of the solution. Before solving a problem the status will be NOT_SOLVED; | ||
enum Status { OPTIMAL, FEASIBLE, INFEASIBLE, UNBOUNDED, ABNORMAL, MODEL_INVALID, NOT_SOLVED } | ||
/** | ||
@@ -229,0 +224,0 @@ * Type of variables created by the engine. |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-10-24 | ||
// Type definitions for Google Apps Script 2019-11-06 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -27,3 +27,2 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
} | ||
/** | ||
@@ -48,3 +47,2 @@ * Allows scripts to store simple data in key-value pairs scoped to one script, one user of a | ||
} | ||
/** | ||
@@ -57,12 +55,11 @@ * | ||
interface ScriptProperties { | ||
deleteAllProperties(): ScriptProperties; | ||
deleteProperty(key: string): ScriptProperties; | ||
getKeys(): string[]; | ||
getProperties(): { [key: string]: string }; | ||
getProperty(key: string): string | null; | ||
setProperties(properties: { [key: string]: string }): ScriptProperties; | ||
setProperties(properties: { [key: string]: string }, deleteAllOthers: boolean): ScriptProperties; | ||
setProperty(key: string, value: string): ScriptProperties; | ||
/** @deprecated DO NOT USE */deleteAllProperties(): ScriptProperties; | ||
/** @deprecated DO NOT USE */deleteProperty(key: string): ScriptProperties; | ||
/** @deprecated DO NOT USE */getKeys(): string[]; | ||
/** @deprecated DO NOT USE */getProperties(): { [key: string]: string }; | ||
/** @deprecated DO NOT USE */getProperty(key: string): string | null ; | ||
/** @deprecated DO NOT USE */setProperties(properties: { [key: string]: string }): ScriptProperties; | ||
/** @deprecated DO NOT USE */setProperties(properties: { [key: string]: string }, deleteAllOthers: boolean): ScriptProperties; | ||
/** @deprecated DO NOT USE */setProperty(key: string, value: string): ScriptProperties; | ||
} | ||
/** | ||
@@ -75,10 +72,10 @@ * | ||
interface UserProperties { | ||
deleteAllProperties(): UserProperties; | ||
deleteProperty(key: string): UserProperties; | ||
getKeys(): string[]; | ||
getProperties(): { [key: string]: string }; | ||
getProperty(key: string): string | null; | ||
setProperties(properties: { [key: string]: string }): UserProperties; | ||
setProperties(properties: { [key: string]: string }, deleteAllOthers: boolean): UserProperties; | ||
setProperty(key: string, value: string): UserProperties; | ||
/** @deprecated DO NOT USE */deleteAllProperties(): UserProperties; | ||
/** @deprecated DO NOT USE */deleteProperty(key: string): UserProperties; | ||
/** @deprecated DO NOT USE */getKeys(): string[]; | ||
/** @deprecated DO NOT USE */getProperties(): { [key: string]: string }; | ||
/** @deprecated DO NOT USE */getProperty(key: string): string | null; | ||
/** @deprecated DO NOT USE */setProperties(properties: { [key: string]: string }): UserProperties; | ||
/** @deprecated DO NOT USE */setProperties(properties: { [key: string]: string }, deleteAllOthers: boolean): UserProperties; | ||
/** @deprecated DO NOT USE */setProperty(key: string, value: string): UserProperties; | ||
} | ||
@@ -85,0 +82,0 @@ } |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-10-24 | ||
// Type definitions for Google Apps Script 2019-11-06 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -42,3 +42,2 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
enum AuthMode { NONE, CUSTOM_FUNCTION, LIMITED, FULL } | ||
/** | ||
@@ -59,3 +58,2 @@ * An object used to determine whether the user needs to authorize this script to use one or more | ||
} | ||
/** | ||
@@ -65,3 +63,2 @@ * An enumeration denoting the authorization status of a script. | ||
enum AuthorizationStatus { REQUIRED, NOT_REQUIRED } | ||
/** | ||
@@ -74,3 +71,2 @@ * Builder for calendar triggers. | ||
} | ||
/** | ||
@@ -94,3 +90,2 @@ * A builder for clock triggers. | ||
} | ||
/** | ||
@@ -103,3 +98,2 @@ * A builder for document triggers. | ||
} | ||
/** | ||
@@ -109,3 +103,2 @@ * An enumeration denoting the type of triggered event. | ||
enum EventType { CLOCK, ON_OPEN, ON_EDIT, ON_FORM_SUBMIT, ON_CHANGE, ON_EVENT_UPDATED } | ||
/** | ||
@@ -119,3 +112,2 @@ * A builder for form triggers. | ||
} | ||
/** | ||
@@ -126,3 +118,2 @@ * An enumeration that indicates how the script came to be installed as an add-on for the current | ||
enum InstallationSource { APPS_MARKETPLACE_DOMAIN_ADD_ON, NONE, WEB_STORE_ADD_ON } | ||
/** | ||
@@ -141,2 +132,3 @@ * Access and manipulate script publishing and triggers. This class allows users to create script | ||
getAuthorizationInfo(authMode: AuthMode): AuthorizationInfo; | ||
getIdentityToken(): string; | ||
getInstallationSource(): InstallationSource; | ||
@@ -153,8 +145,5 @@ getOAuthToken(): string; | ||
newTrigger(functionName: string): TriggerBuilder; | ||
/** @deprecated DO NOT USE */ | ||
getProjectKey(): string; | ||
/** @deprecated DO NOT USE */ | ||
getScriptTriggers(): Trigger[]; | ||
/** @deprecated DO NOT USE */getProjectKey(): string; | ||
/** @deprecated DO NOT USE */getScriptTriggers(): Trigger[]; | ||
} | ||
/** | ||
@@ -166,6 +155,4 @@ * Access and manipulate script publishing. | ||
isEnabled(): boolean; | ||
/** @deprecated DO NOT USE */ | ||
disable(): void; | ||
/** @deprecated DO NOT USE */disable(): void; | ||
} | ||
/** | ||
@@ -181,3 +168,2 @@ * Builder for spreadsheet triggers. | ||
} | ||
/** | ||
@@ -206,3 +192,2 @@ * Allows scripts to create state tokens that can be used in callback APIs (like OAuth flows). | ||
} | ||
/** | ||
@@ -218,3 +203,2 @@ * A script trigger. | ||
} | ||
/** | ||
@@ -233,3 +217,2 @@ * A generic builder for script triggers. | ||
} | ||
/** | ||
@@ -236,0 +219,0 @@ * An enumeration denoting the source of the event that causes the trigger to fire. |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-10-24 | ||
// Type definitions for Google Apps Script 2019-11-06 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -46,3 +46,2 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
} | ||
/** | ||
@@ -56,3 +55,2 @@ * A typesafe enum for sites attachment type. | ||
enum AttachmentType { WEB, HOSTED } | ||
/** | ||
@@ -71,3 +69,2 @@ * A Sites Column - a column from a Sites List page. | ||
} | ||
/** | ||
@@ -91,3 +88,2 @@ * A Comment attached to any Sites page. | ||
} | ||
/** | ||
@@ -181,14 +177,8 @@ * A Sites ListItem - a list element from a Sites List page. | ||
setTitle(title: string): Page; | ||
/** @deprecated DO NOT USE */ | ||
addComment(content: string): Comment; | ||
/** @deprecated DO NOT USE */ | ||
getComments(): Comment[]; | ||
/** @deprecated DO NOT USE */ | ||
getComments(optOptions: { start?: Integer; max?: Integer}): Comment[]; | ||
/** @deprecated DO NOT USE */ | ||
getPageName(): string; | ||
/** @deprecated DO NOT USE */ | ||
getSelfLink(): string; | ||
/** @deprecated DO NOT USE */addComment(content: string): Comment; | ||
/** @deprecated DO NOT USE */getComments(): Comment[]; | ||
/** @deprecated DO NOT USE */getComments(optOptions: { start?: Integer; max?: Integer}): Comment[]; | ||
/** @deprecated DO NOT USE */getPageName(): string; | ||
/** @deprecated DO NOT USE */getSelfLink(): string; | ||
} | ||
/** | ||
@@ -202,3 +192,2 @@ * A typesafe enum for sites page type. | ||
enum PageType { WEB_PAGE, LIST_PAGE, ANNOUNCEMENT, ANNOUNCEMENTS_PAGE, FILE_CABINET_PAGE } | ||
/** | ||
@@ -250,46 +239,24 @@ * An object representing a Google Site. | ||
setTitle(title: string): Site; | ||
/** @deprecated DO NOT USE */ | ||
addCollaborator(email: string): Site; | ||
/** @deprecated DO NOT USE */ | ||
addCollaborator(user: Base.User): Site; | ||
/** @deprecated DO NOT USE */ | ||
createAnnouncement(title: string, html: string, parent: Page): Page; | ||
/** @deprecated DO NOT USE */ | ||
createComment(inReplyTo: string, html: string, parent: Page): Comment; | ||
/** @deprecated DO NOT USE */ | ||
createListItem(html: string, columnNames: string[], values: string[], parent: Page): ListItem; | ||
/** @deprecated DO NOT USE */ | ||
createWebAttachment(title: string, url: string, parent: Page): Attachment; | ||
/** @deprecated DO NOT USE */ | ||
deleteSite(): void; | ||
/** @deprecated DO NOT USE */ | ||
getAnnouncements(): Page[]; | ||
/** @deprecated DO NOT USE */ | ||
getAnnouncementsPages(): Page[]; | ||
/** @deprecated DO NOT USE */ | ||
getAttachments(): Attachment[]; | ||
/** @deprecated DO NOT USE */ | ||
getCollaborators(): Base.User[]; | ||
/** @deprecated DO NOT USE */ | ||
getComments(): Comment[]; | ||
/** @deprecated DO NOT USE */ | ||
getFileCabinetPages(): Page[]; | ||
/** @deprecated DO NOT USE */ | ||
getListItems(): ListItem[]; | ||
/** @deprecated DO NOT USE */ | ||
getListPages(): Page[]; | ||
/** @deprecated DO NOT USE */ | ||
getSelfLink(): string; | ||
/** @deprecated DO NOT USE */ | ||
getSiteName(): string; | ||
/** @deprecated DO NOT USE */ | ||
getWebAttachments(): Attachment[]; | ||
/** @deprecated DO NOT USE */ | ||
getWebPages(): Page[]; | ||
/** @deprecated DO NOT USE */ | ||
removeCollaborator(email: string): Site; | ||
/** @deprecated DO NOT USE */ | ||
removeCollaborator(user: Base.User): Site; | ||
/** @deprecated DO NOT USE */addCollaborator(email: string): Site; | ||
/** @deprecated DO NOT USE */addCollaborator(user: Base.User): Site; | ||
/** @deprecated DO NOT USE */createAnnouncement(title: string, html: string, parent: Page): Page; | ||
/** @deprecated DO NOT USE */createComment(inReplyTo: string, html: string, parent: Page): Comment; | ||
/** @deprecated DO NOT USE */createListItem(html: string, columnNames: string[], values: string[], parent: Page): ListItem; | ||
/** @deprecated DO NOT USE */createWebAttachment(title: string, url: string, parent: Page): Attachment; | ||
/** @deprecated DO NOT USE */deleteSite(): void; | ||
/** @deprecated DO NOT USE */getAnnouncements(): Page[]; | ||
/** @deprecated DO NOT USE */getAnnouncementsPages(): Page[]; | ||
/** @deprecated DO NOT USE */getAttachments(): Attachment[]; | ||
/** @deprecated DO NOT USE */getCollaborators(): Base.User[]; | ||
/** @deprecated DO NOT USE */getComments(): Comment[]; | ||
/** @deprecated DO NOT USE */getFileCabinetPages(): Page[]; | ||
/** @deprecated DO NOT USE */getListItems(): ListItem[]; | ||
/** @deprecated DO NOT USE */getListPages(): Page[]; | ||
/** @deprecated DO NOT USE */getSelfLink(): string; | ||
/** @deprecated DO NOT USE */getSiteName(): string; | ||
/** @deprecated DO NOT USE */getWebAttachments(): Attachment[]; | ||
/** @deprecated DO NOT USE */getWebPages(): Page[]; | ||
/** @deprecated DO NOT USE */removeCollaborator(email: string): Site; | ||
/** @deprecated DO NOT USE */removeCollaborator(user: Base.User): Site; | ||
} | ||
/** | ||
@@ -296,0 +263,0 @@ * Create and access Google Sites. |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-10-24 | ||
// Type definitions for Google Apps Script 2019-11-06 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -34,3 +34,2 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
} | ||
/** | ||
@@ -58,3 +57,2 @@ * A builder for AffineTransform objects. Defaults to the identity transform. | ||
} | ||
/** | ||
@@ -64,3 +62,2 @@ * The alignment position to apply. | ||
enum AlignmentPosition { CENTER, HORIZONTAL_CENTER, VERTICAL_CENTER } | ||
/** | ||
@@ -74,3 +71,2 @@ * The kinds of start and end forms with which linear geometry can be rendered. | ||
enum ArrowStyle { UNSUPPORTED, NONE, STEALTH_ARROW, FILL_ARROW, FILL_CIRCLE, FILL_SQUARE, FILL_DIAMOND, OPEN_ARROW, OPEN_CIRCLE, OPEN_SQUARE, OPEN_DIAMOND } | ||
/** | ||
@@ -85,3 +81,2 @@ * An element of text that is dynamically replaced with content that can change over time, such as a | ||
} | ||
/** | ||
@@ -91,3 +86,2 @@ * The types of auto text. | ||
enum AutoTextType { UNSUPPORTED, SLIDE_NUMBER } | ||
/** | ||
@@ -105,3 +99,2 @@ * Describes the border around an element. | ||
} | ||
/** | ||
@@ -111,3 +104,2 @@ * The table cell merge states. | ||
enum CellMergeState { NORMAL, HEAD, MERGED } | ||
/** | ||
@@ -121,3 +113,2 @@ * An opaque color | ||
} | ||
/** | ||
@@ -134,3 +125,2 @@ * A color scheme defines a mapping from members of ThemeColorType to the actual colors used | ||
} | ||
/** | ||
@@ -143,3 +133,2 @@ * The connection site on a PageElement that can connect to a connector. | ||
} | ||
/** | ||
@@ -155,3 +144,2 @@ * The content alignments for a Shape or TableCell. The supported alignments | ||
enum ContentAlignment { UNSUPPORTED, TOP, MIDDLE, BOTTOM } | ||
/** | ||
@@ -164,3 +152,2 @@ * The kinds of dashes with which linear geometry can be rendered. These values are based on the | ||
enum DashStyle { UNSUPPORTED, SOLID, DOT, DASH, DASH_DOT, LONG_DASH, LONG_DASH_DOT } | ||
/** | ||
@@ -183,3 +170,2 @@ * Describes the page element's background | ||
} | ||
/** | ||
@@ -189,3 +175,2 @@ * The kinds of fill. | ||
enum FillType { UNSUPPORTED, NONE, SOLID } | ||
/** | ||
@@ -233,3 +218,2 @@ * A collection of PageElements joined as a single unit. | ||
} | ||
/** | ||
@@ -290,3 +274,2 @@ * A PageElement representing an image. | ||
} | ||
/** | ||
@@ -351,3 +334,2 @@ * A layout in a presentation. | ||
} | ||
/** | ||
@@ -423,3 +405,2 @@ * A PageElement representing a line. | ||
} | ||
/** | ||
@@ -432,3 +413,2 @@ * The line category. | ||
enum LineCategory { UNSUPPORTED, STRAIGHT, BENT, CURVED } | ||
/** | ||
@@ -449,3 +429,2 @@ * Describes the fill of a line or outline | ||
} | ||
/** | ||
@@ -455,3 +434,2 @@ * The kinds of line fill. | ||
enum LineFillType { UNSUPPORTED, NONE, SOLID } | ||
/** | ||
@@ -465,3 +443,2 @@ * The line types. | ||
enum LineType { UNSUPPORTED, STRAIGHT_CONNECTOR_1, BENT_CONNECTOR_2, BENT_CONNECTOR_3, BENT_CONNECTOR_4, BENT_CONNECTOR_5, CURVED_CONNECTOR_2, CURVED_CONNECTOR_3, CURVED_CONNECTOR_4, CURVED_CONNECTOR_5, STRAIGHT_LINE } | ||
/** | ||
@@ -478,3 +455,2 @@ * A hypertext link. | ||
} | ||
/** | ||
@@ -484,3 +460,2 @@ * The types of a Link. | ||
enum LinkType { UNSUPPORTED, URL, SLIDE_POSITION, SLIDE_ID, SLIDE_INDEX } | ||
/** | ||
@@ -493,3 +468,2 @@ * A list in the text. | ||
} | ||
/** | ||
@@ -537,3 +511,2 @@ * Preset patterns of glyphs for lists in text. | ||
enum ListPreset { DISC_CIRCLE_SQUARE, DIAMONDX_ARROW3D_SQUARE, CHECKBOX, ARROW_DIAMOND_DISC, STAR_CIRCLE_SQUARE, ARROW3D_CIRCLE_SQUARE, LEFTTRIANGLE_DIAMOND_DISC, DIAMONDX_HOLLOWDIAMOND_SQUARE, DIAMOND_CIRCLE_SQUARE, DIGIT_ALPHA_ROMAN, DIGIT_ALPHA_ROMAN_PARENS, DIGIT_NESTED, UPPERALPHA_ALPHA_ROMAN, UPPERROMAN_UPPERALPHA_DIGIT, ZERODIGIT_ALPHA_ROMAN } | ||
/** | ||
@@ -550,3 +523,2 @@ * The list styling for a range of text. | ||
} | ||
/** | ||
@@ -618,3 +590,2 @@ * A master in a presentation. | ||
} | ||
/** | ||
@@ -642,3 +613,2 @@ * A notes master in a presentation. | ||
} | ||
/** | ||
@@ -670,3 +640,2 @@ * A notes page in a presentation. | ||
} | ||
/** | ||
@@ -729,3 +698,2 @@ * A page in a presentation. | ||
} | ||
/** | ||
@@ -751,3 +719,2 @@ * Describes the page's background | ||
} | ||
/** | ||
@@ -757,3 +724,2 @@ * The kinds of page backgrounds. | ||
enum PageBackgroundType { UNSUPPORTED, NONE, SOLID, PICTURE } | ||
/** | ||
@@ -807,3 +773,2 @@ * A visual element rendered on a page. | ||
} | ||
/** | ||
@@ -815,3 +780,2 @@ * A collection of one or more PageElement instances. | ||
} | ||
/** | ||
@@ -821,3 +785,2 @@ * The page element type. | ||
enum PageElementType { UNSUPPORTED, SHAPE, IMAGE, VIDEO, TABLE, GROUP, LINE, WORD_ART, SHEETS_CHART } | ||
/** | ||
@@ -829,3 +792,2 @@ * A collection of one or more Page instances. | ||
} | ||
/** | ||
@@ -835,3 +797,2 @@ * The page types. | ||
enum PageType { UNSUPPORTED, SLIDE, LAYOUT, MASTER } | ||
/** | ||
@@ -844,3 +805,2 @@ * A segment of text terminated by a newline character. | ||
} | ||
/** | ||
@@ -850,3 +810,2 @@ * The types of text alignment for a paragraph. | ||
enum ParagraphAlignment { UNSUPPORTED, START, CENTER, END, JUSTIFIED } | ||
/** | ||
@@ -879,3 +838,2 @@ * The styles of text that apply to entire paragraphs. | ||
} | ||
/** | ||
@@ -890,3 +848,2 @@ * A fill that renders an image that's stretched to the dimensions of its container. | ||
} | ||
/** | ||
@@ -900,3 +857,2 @@ * The placeholder types. Many of these placeholder types correspond to placeholder IDs from the | ||
enum PlaceholderType { UNSUPPORTED, NONE, BODY, CHART, CLIP_ART, CENTERED_TITLE, DIAGRAM, DATE_AND_TIME, FOOTER, HEADER, MEDIA, OBJECT, PICTURE, SLIDE_NUMBER, SUBTITLE, TABLE, TITLE, SLIDE_IMAGE } | ||
/** | ||
@@ -909,3 +865,2 @@ * A point representing a location. | ||
} | ||
/** | ||
@@ -917,3 +872,2 @@ * Predefined layouts. These are commonly found layouts in presentations. However, there is no | ||
enum PredefinedLayout { UNSUPPORTED, BLANK, CAPTION_ONLY, TITLE, TITLE_AND_BODY, TITLE_AND_TWO_COLUMNS, TITLE_ONLY, SECTION_HEADER, SECTION_TITLE_AND_DESCRIPTION, ONE_COLUMN_TEXT, MAIN_POINT, BIG_NUMBER } | ||
/** | ||
@@ -964,3 +918,2 @@ * A presentation. | ||
} | ||
/** | ||
@@ -982,3 +935,2 @@ * The user's selection in the active presentation. | ||
} | ||
/** | ||
@@ -994,3 +946,2 @@ * Type of Selection. | ||
enum SelectionType { UNSUPPORTED, NONE, TEXT, TABLE_CELL, PAGE, PAGE_ELEMENT, CURRENT_PAGE } | ||
/** | ||
@@ -1058,3 +1009,2 @@ * A PageElement representing a generic shape that does not have a more specific | ||
} | ||
/** | ||
@@ -1068,3 +1018,2 @@ * The shape types. Many of these shapes correspond to predefined shapes from the ECMA-376 standard. | ||
enum ShapeType { UNSUPPORTED, TEXT_BOX, RECTANGLE, ROUND_RECTANGLE, ELLIPSE, ARC, BENT_ARROW, BENT_UP_ARROW, BEVEL, BLOCK_ARC, BRACE_PAIR, BRACKET_PAIR, CAN, CHEVRON, CHORD, CLOUD, CORNER, CUBE, CURVED_DOWN_ARROW, CURVED_LEFT_ARROW, CURVED_RIGHT_ARROW, CURVED_UP_ARROW, DECAGON, DIAGONAL_STRIPE, DIAMOND, DODECAGON, DONUT, DOUBLE_WAVE, DOWN_ARROW, DOWN_ARROW_CALLOUT, FOLDED_CORNER, FRAME, HALF_FRAME, HEART, HEPTAGON, HEXAGON, HOME_PLATE, HORIZONTAL_SCROLL, IRREGULAR_SEAL_1, IRREGULAR_SEAL_2, LEFT_ARROW, LEFT_ARROW_CALLOUT, LEFT_BRACE, LEFT_BRACKET, LEFT_RIGHT_ARROW, LEFT_RIGHT_ARROW_CALLOUT, LEFT_RIGHT_UP_ARROW, LEFT_UP_ARROW, LIGHTNING_BOLT, MATH_DIVIDE, MATH_EQUAL, MATH_MINUS, MATH_MULTIPLY, MATH_NOT_EQUAL, MATH_PLUS, MOON, NO_SMOKING, NOTCHED_RIGHT_ARROW, OCTAGON, PARALLELOGRAM, PENTAGON, PIE, PLAQUE, PLUS, QUAD_ARROW, QUAD_ARROW_CALLOUT, RIBBON, RIBBON_2, RIGHT_ARROW, RIGHT_ARROW_CALLOUT, RIGHT_BRACE, RIGHT_BRACKET, ROUND_1_RECTANGLE, ROUND_2_DIAGONAL_RECTANGLE, ROUND_2_SAME_RECTANGLE, RIGHT_TRIANGLE, SMILEY_FACE, SNIP_1_RECTANGLE, SNIP_2_DIAGONAL_RECTANGLE, SNIP_2_SAME_RECTANGLE, SNIP_ROUND_RECTANGLE, STAR_10, STAR_12, STAR_16, STAR_24, STAR_32, STAR_4, STAR_5, STAR_6, STAR_7, STAR_8, STRIPED_RIGHT_ARROW, SUN, TRAPEZOID, TRIANGLE, UP_ARROW, UP_ARROW_CALLOUT, UP_DOWN_ARROW, UTURN_ARROW, VERTICAL_SCROLL, WAVE, WEDGE_ELLIPSE_CALLOUT, WEDGE_RECTANGLE_CALLOUT, WEDGE_ROUND_RECTANGLE_CALLOUT, FLOW_CHART_ALTERNATE_PROCESS, FLOW_CHART_COLLATE, FLOW_CHART_CONNECTOR, FLOW_CHART_DECISION, FLOW_CHART_DELAY, FLOW_CHART_DISPLAY, FLOW_CHART_DOCUMENT, FLOW_CHART_EXTRACT, FLOW_CHART_INPUT_OUTPUT, FLOW_CHART_INTERNAL_STORAGE, FLOW_CHART_MAGNETIC_DISK, FLOW_CHART_MAGNETIC_DRUM, FLOW_CHART_MAGNETIC_TAPE, FLOW_CHART_MANUAL_INPUT, FLOW_CHART_MANUAL_OPERATION, FLOW_CHART_MERGE, FLOW_CHART_MULTIDOCUMENT, FLOW_CHART_OFFLINE_STORAGE, FLOW_CHART_OFFPAGE_CONNECTOR, FLOW_CHART_ONLINE_STORAGE, FLOW_CHART_OR, FLOW_CHART_PREDEFINED_PROCESS, FLOW_CHART_PREPARATION, FLOW_CHART_PROCESS, FLOW_CHART_PUNCHED_CARD, FLOW_CHART_PUNCHED_TAPE, FLOW_CHART_SORT, FLOW_CHART_SUMMING_JUNCTION, FLOW_CHART_TERMINATOR, ARROW_EAST, ARROW_NORTH_EAST, ARROW_NORTH, SPEECH, STARBURST, TEARDROP, ELLIPSE_RIBBON, ELLIPSE_RIBBON_2, CLOUD_CALLOUT, CUSTOM } | ||
/** | ||
@@ -1121,3 +1070,2 @@ * A PageElement representing a linked chart embedded from Google Sheets. | ||
} | ||
/** | ||
@@ -1127,3 +1075,2 @@ * The Sheets chart's embed type. | ||
enum SheetsChartEmbedType { UNSUPPORTED, IMAGE } | ||
/** | ||
@@ -1195,3 +1142,2 @@ * A slide in a presentation. | ||
} | ||
/** | ||
@@ -1201,3 +1147,2 @@ * The mode of links between slides. | ||
enum SlideLinkingMode { UNSUPPORTED, LINKED, NOT_LINKED } | ||
/** | ||
@@ -1207,3 +1152,2 @@ * The relative position of a Slide. | ||
enum SlidePosition { NEXT_SLIDE, PREVIOUS_SLIDE, FIRST_SLIDE, LAST_SLIDE } | ||
/** | ||
@@ -1255,3 +1199,2 @@ * Creates and opens Presentations that can be edited. | ||
} | ||
/** | ||
@@ -1267,3 +1210,2 @@ * A solid color fill. | ||
} | ||
/** | ||
@@ -1273,3 +1215,2 @@ * The different modes for paragraph spacing. | ||
enum SpacingMode { UNSUPPORTED, NEVER_COLLAPSE, COLLAPSE_LISTS } | ||
/** | ||
@@ -1324,3 +1265,2 @@ * A PageElement representing a table. | ||
} | ||
/** | ||
@@ -1344,3 +1284,2 @@ * A cell in a table. | ||
} | ||
/** | ||
@@ -1352,3 +1291,2 @@ * A collection of one or more TableCell instances. | ||
} | ||
/** | ||
@@ -1366,3 +1304,2 @@ * A column in a table. A column consists of a list of table cells. A column is identified by the | ||
} | ||
/** | ||
@@ -1379,3 +1316,2 @@ * A row in a table. A row consists of a list of table cells. A row is identified by the row index. | ||
} | ||
/** | ||
@@ -1385,3 +1321,2 @@ * The text vertical offset from its normal position. | ||
enum TextBaselineOffset { UNSUPPORTED, NONE, SUPERSCRIPT, SUBSCRIPT } | ||
/** | ||
@@ -1391,3 +1326,2 @@ * The directions text can flow in. | ||
enum TextDirection { UNSUPPORTED, LEFT_TO_RIGHT, RIGHT_TO_LEFT } | ||
/** | ||
@@ -1429,3 +1363,2 @@ * A segment of the text contents of a Shape or a TableCell. | ||
} | ||
/** | ||
@@ -1477,3 +1410,2 @@ * The style of text. | ||
} | ||
/** | ||
@@ -1486,3 +1418,2 @@ * A color that refers to an entry in the page's ColorScheme. | ||
} | ||
/** | ||
@@ -1492,3 +1423,2 @@ * The name of an entry in the page's color scheme. | ||
enum ThemeColorType { UNSUPPORTED, DARK1, LIGHT1, DARK2, LIGHT2, ACCENT1, ACCENT2, ACCENT3, ACCENT4, ACCENT5, ACCENT6, HYPERLINK, FOLLOWED_HYPERLINK } | ||
/** | ||
@@ -1539,3 +1469,2 @@ * A PageElement representing a video. | ||
} | ||
/** | ||
@@ -1545,3 +1474,2 @@ * The video source types. | ||
enum VideoSourceType { UNSUPPORTED, YOUTUBE } | ||
/** | ||
@@ -1548,0 +1476,0 @@ * A PageElement representing word art. |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-10-24 | ||
// Type definitions for Google Apps Script 2019-11-06 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -30,5 +30,5 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
interface URLFetchRequest extends URLFetchRequestOptions { | ||
url: string; | ||
} | ||
interface URLFetchRequestOptions { | ||
url: string; | ||
} | ||
interface URLFetchRequestOptions { | ||
/** | ||
@@ -35,0 +35,0 @@ * the content type (defaults to 'application/x-www-form-urlencoded'). Another example of content |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-10-24 | ||
// Type definitions for Google Apps Script 2019-11-06 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -15,3 +15,2 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
enum Charset { US_ASCII, UTF_8 } | ||
/** | ||
@@ -21,3 +20,2 @@ * Selector of Digest algorithm. | ||
enum DigestAlgorithm { MD2, MD5, SHA_1, SHA_256, SHA_384, SHA_512 } | ||
/** | ||
@@ -27,3 +25,2 @@ * Selector of MAC algorithm | ||
enum MacAlgorithm { HMAC_MD5, HMAC_SHA_1, HMAC_SHA_256, HMAC_SHA_384, HMAC_SHA_512 } | ||
/** | ||
@@ -33,3 +30,2 @@ * Selector of RSA algorithm | ||
enum RsaAlgorithm { RSA_SHA_1, RSA_SHA_256 } | ||
/** | ||
@@ -87,6 +83,4 @@ * This service provides utilities for string encoding/decoding, date formatting, JSON manipulation, | ||
zip(blobs: Base.BlobSource[], name: string): Base.Blob; | ||
/** @deprecated DO NOT USE */ | ||
jsonParse(jsonString: string): any; | ||
/** @deprecated DO NOT USE */ | ||
jsonStringify(obj: any): string; | ||
/** @deprecated DO NOT USE */jsonParse(jsonString: string): any; | ||
/** @deprecated DO NOT USE */jsonStringify(obj: any): string; | ||
} | ||
@@ -93,0 +87,0 @@ } |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Google Apps Script 2019-10-24 | ||
// Type definitions for Google Apps Script 2019-11-06 | ||
// Project: https://developers.google.com/apps-script/ | ||
@@ -37,3 +37,2 @@ // Definitions by: motemen <https://github.com/motemen/> | ||
} | ||
/** | ||
@@ -60,3 +59,2 @@ * A representation of an XML CDATASection node. | ||
} | ||
/** | ||
@@ -72,3 +70,2 @@ * A representation of an XML Comment node. | ||
} | ||
/** | ||
@@ -107,3 +104,2 @@ * A representation of a generic XML node. | ||
} | ||
/** | ||
@@ -113,3 +109,2 @@ * An enumeration representing the types of XML content nodes. | ||
enum ContentType { CDATA, COMMENT, DOCTYPE, ELEMENT, ENTITYREF, PROCESSINGINSTRUCTION, TEXT } | ||
/** | ||
@@ -131,3 +126,2 @@ * A representation of an XML DocumentType node. | ||
} | ||
/** | ||
@@ -154,3 +148,2 @@ * A representation of an XML document. | ||
} | ||
/** | ||
@@ -219,3 +212,2 @@ * A representation of an XML Element node. | ||
} | ||
/** | ||
@@ -235,3 +227,2 @@ * A representation of an XML EntityReference node. | ||
} | ||
/** | ||
@@ -260,3 +251,2 @@ * A formatter for outputting an XML document, with three pre-defined formats that can be further | ||
} | ||
/** | ||
@@ -269,3 +259,2 @@ * A representation of an XML namespace. | ||
} | ||
/** | ||
@@ -281,3 +270,2 @@ * A representation of an XML ProcessingInstruction node. | ||
} | ||
/** | ||
@@ -294,3 +282,2 @@ * A representation of an XML Text node. | ||
} | ||
/** | ||
@@ -297,0 +284,0 @@ * This service allows scripts to parse, navigate, and programmatically create XML documents. |
@@ -5,2 +5,3 @@ // Type definitions for google-apps-script 1.0 | ||
// grant <https://github.com/grant> | ||
// PopGoesTheWza <https://github.com/PopGoesTheWza> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -7,0 +8,0 @@ // TypeScript Version: 2.2 |
{ | ||
"name": "@types/google-apps-script", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "TypeScript definitions for google-apps-script", | ||
@@ -16,6 +16,11 @@ "license": "MIT", | ||
"githubUsername": "grant" | ||
}, | ||
{ | ||
"name": "PopGoesTheWza", | ||
"url": "https://github.com/PopGoesTheWza", | ||
"githubUsername": "PopGoesTheWza" | ||
} | ||
], | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -28,4 +33,4 @@ "type": "git", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "ebe191bee5f253dc274089a1cd6b300f4e428ff40f972a98864b63894c7eaa6c", | ||
"typeScriptVersion": "2.2" | ||
"typesPublisherContentHash": "9f0a0a9373f9eb2a4ab87193bda14f20dbc24b995f81ab90b3c10c0958300284", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/google-apps-script | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/google-apps-script. | ||
Additional Details | ||
* Last updated: Tue, 05 Nov 2019 00:51:28 GMT | ||
### Additional Details | ||
* Last updated: Tue, 12 Nov 2019 00:35:43 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, 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 | ||
* 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` | ||
# Credits | ||
These definitions were written by motemen <https://github.com/motemen>, and grant <https://github.com/grant>. | ||
These definitions were written by motemen (https://github.com/motemen), grant (https://github.com/grant), and PopGoesTheWza (https://github.com/PopGoesTheWza). |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
1553634
34537