From dcb04cab793b8e2541274ca83d4fe39afe73e1b3 Mon Sep 17 00:00:00 2001 From: Grant Timmerman Date: Fri, 31 May 2019 13:42:12 -0400 Subject: [PATCH] [@types/google-apps-script] Fix generic object types (#35869) --- .../google-apps-script/apis/directory_v1.d.ts | 2 +- types/google-apps-script/apis/sheets_v4.d.ts | 4 +- .../apis/youtubeanalytics_v2.d.ts | 2 +- .../google-apps-script.cache.d.ts | 6 +- .../google-apps-script.card-service.d.ts | 6 +- .../google-apps-script.charts.d.ts | 18 +- .../google-apps-script.contacts.d.ts | 52 ++--- .../google-apps-script.data-studio.d.ts | 6 +- .../google-apps-script.document.d.ts | 12 +- .../google-apps-script.forms.d.ts | 10 +- .../google-apps-script.gmail.d.ts | 4 +- .../google-apps-script.jdbc.d.ts | 52 ++--- .../google-apps-script.language.d.ts | 2 +- .../google-apps-script.mail.d.ts | 4 +- .../google-apps-script.maps.d.ts | 20 +- .../google-apps-script.properties.d.ts | 18 +- .../google-apps-script.sites.d.ts | 20 +- .../google-apps-script.spreadsheet.d.ts | 120 +++++----- .../google-apps-script.ui.d.ts | 210 +++++++++--------- .../google-apps-script.url-fetch.d.ts | 4 +- .../google-apps-script.utilities.d.ts | 2 +- 21 files changed, 287 insertions(+), 287 deletions(-) diff --git a/types/google-apps-script/apis/directory_v1.d.ts b/types/google-apps-script/apis/directory_v1.d.ts index 146cd4dee7..ab5bf3d480 100644 --- a/types/google-apps-script/apis/directory_v1.d.ts +++ b/types/google-apps-script/apis/directory_v1.d.ts @@ -357,7 +357,7 @@ declare namespace GoogleAppsScript { primaryEmail?: string; } export interface Aliases { - aliases?: object[]; + aliases?: any[]; etag?: string; kind?: string; } diff --git a/types/google-apps-script/apis/sheets_v4.d.ts b/types/google-apps-script/apis/sheets_v4.d.ts index 65052ec16a..83472086c1 100644 --- a/types/google-apps-script/apis/sheets_v4.d.ts +++ b/types/google-apps-script/apis/sheets_v4.d.ts @@ -521,7 +521,7 @@ declare namespace GoogleAppsScript { export interface DataFilterValueRange { dataFilter?: Sheets.Schema.DataFilter; majorDimension?: string; - values?: object[][]; + values?: any[][]; } export interface DataValidationRule { condition?: Sheets.Schema.BooleanCondition; @@ -1179,7 +1179,7 @@ declare namespace GoogleAppsScript { export interface ValueRange { majorDimension?: string; range?: string; - values?: object[][]; + values?: any[][]; } export interface WaterfallChartColumnStyle { color?: Sheets.Schema.Color; diff --git a/types/google-apps-script/apis/youtubeanalytics_v2.d.ts b/types/google-apps-script/apis/youtubeanalytics_v2.d.ts index 773770cdaf..0098517896 100644 --- a/types/google-apps-script/apis/youtubeanalytics_v2.d.ts +++ b/types/google-apps-script/apis/youtubeanalytics_v2.d.ts @@ -113,7 +113,7 @@ declare namespace GoogleAppsScript { columnHeaders?: YouTubeAnalytics.Schema.ResultTableColumnHeader[]; errors?: YouTubeAnalytics.Schema.Errors; kind?: string; - rows?: object[][]; + rows?: any[][]; } export interface ResultTableColumnHeader { columnType?: string; diff --git a/types/google-apps-script/google-apps-script.cache.d.ts b/types/google-apps-script/google-apps-script.cache.d.ts index ae213a1f1e..74b5f534e7 100644 --- a/types/google-apps-script/google-apps-script.cache.d.ts +++ b/types/google-apps-script/google-apps-script.cache.d.ts @@ -29,11 +29,11 @@ declare namespace GoogleAppsScript { */ export interface Cache { get(key: string): string; - getAll(keys: string[]): object; + getAll(keys: string[]): any; put(key: string, value: string): void; put(key: string, value: string, expirationInSeconds: Integer): void; - putAll(values: object): void; - putAll(values: object, expirationInSeconds: Integer): void; + putAll(values: any): void; + putAll(values: any, expirationInSeconds: Integer): void; remove(key: string): void; removeAll(keys: string[]): void; } diff --git a/types/google-apps-script/google-apps-script.card-service.d.ts b/types/google-apps-script/google-apps-script.card-service.d.ts index 910aa9dc88..e5d0b42416 100644 --- a/types/google-apps-script/google-apps-script.card-service.d.ts +++ b/types/google-apps-script/google-apps-script.card-service.d.ts @@ -514,7 +514,7 @@ declare namespace GoogleAppsScript { * .addItem("radio button three title", "radio_three_value", false); */ export interface SelectionInput { - addItem(text: object, value: object, selected: boolean): SelectionInput; + addItem(text: any, value: any, selected: boolean): SelectionInput; setFieldName(fieldName: string): SelectionInput; setOnChangeAction(action: Action): SelectionInput; setTitle(title: string): SelectionInput; @@ -536,7 +536,7 @@ declare namespace GoogleAppsScript { */ export interface Suggestions { addSuggestion(suggestion: string): Suggestions; - addSuggestions(suggestions: object[]): Suggestions; + addSuggestions(suggestions: string[]): Suggestions; } /** @@ -668,7 +668,7 @@ declare namespace GoogleAppsScript { */ export interface UniversalActionResponseBuilder { build(): UniversalActionResponse; - displayAddOnCards(cardObjects: object[]): UniversalActionResponseBuilder; + displayAddOnCards(cardObjects: Card[]): UniversalActionResponseBuilder; setOpenLink(openLink: OpenLink): UniversalActionResponseBuilder; } diff --git a/types/google-apps-script/google-apps-script.charts.d.ts b/types/google-apps-script/google-apps-script.charts.d.ts index 8f8eec54ac..c21f7d8493 100644 --- a/types/google-apps-script/google-apps-script.charts.d.ts +++ b/types/google-apps-script/google-apps-script.charts.d.ts @@ -55,7 +55,7 @@ declare namespace GoogleAppsScript { setDimensions(width: Integer, height: Integer): AreaChartBuilder; setLegendPosition(position: Position): AreaChartBuilder; setLegendTextStyle(textStyle: TextStyle): AreaChartBuilder; - setOption(option: string, value: object): AreaChartBuilder; + setOption(option: string, value: any): AreaChartBuilder; setPointStyle(style: PointStyle): AreaChartBuilder; setRange(start: number, end: number): AreaChartBuilder; setStacked(): AreaChartBuilder; @@ -103,7 +103,7 @@ declare namespace GoogleAppsScript { setDimensions(width: Integer, height: Integer): BarChartBuilder; setLegendPosition(position: Position): BarChartBuilder; setLegendTextStyle(textStyle: TextStyle): BarChartBuilder; - setOption(option: string, value: object): BarChartBuilder; + setOption(option: string, value: any): BarChartBuilder; setRange(start: number, end: number): BarChartBuilder; setStacked(): BarChartBuilder; setTitle(chartTitle: string): BarChartBuilder; @@ -286,7 +286,7 @@ declare namespace GoogleAppsScript { setDimensions(width: Integer, height: Integer): ColumnChartBuilder; setLegendPosition(position: Position): ColumnChartBuilder; setLegendTextStyle(textStyle: TextStyle): ColumnChartBuilder; - setOption(option: string, value: object): ColumnChartBuilder; + setOption(option: string, value: any): ColumnChartBuilder; setRange(start: number, end: number): ColumnChartBuilder; setStacked(): ColumnChartBuilder; setTitle(chartTitle: string): ColumnChartBuilder; @@ -394,9 +394,9 @@ declare namespace GoogleAppsScript { */ export interface DataTableBuilder { addColumn(type: ColumnType, label: string): DataTableBuilder; - addRow(values: object[]): DataTableBuilder; + addRow(values: any[]): DataTableBuilder; build(): DataTable; - setValue(row: Integer, column: Integer, value: object): DataTableBuilder; + setValue(row: Integer, column: Integer, value: any): DataTableBuilder; } /** @@ -504,7 +504,7 @@ declare namespace GoogleAppsScript { setDimensions(width: Integer, height: Integer): LineChartBuilder; setLegendPosition(position: Position): LineChartBuilder; setLegendTextStyle(textStyle: TextStyle): LineChartBuilder; - setOption(option: string, value: object): LineChartBuilder; + setOption(option: string, value: any): LineChartBuilder; setPointStyle(style: PointStyle): LineChartBuilder; setRange(start: number, end: number): LineChartBuilder; setTitle(chartTitle: string): LineChartBuilder; @@ -601,7 +601,7 @@ declare namespace GoogleAppsScript { setDimensions(width: Integer, height: Integer): PieChartBuilder; setLegendPosition(position: Position): PieChartBuilder; setLegendTextStyle(textStyle: TextStyle): PieChartBuilder; - setOption(option: string, value: object): PieChartBuilder; + setOption(option: string, value: any): PieChartBuilder; setTitle(chartTitle: string): PieChartBuilder; setTitleTextStyle(textStyle: TextStyle): PieChartBuilder; } @@ -646,7 +646,7 @@ declare namespace GoogleAppsScript { setDimensions(width: Integer, height: Integer): ScatterChartBuilder; setLegendPosition(position: Position): ScatterChartBuilder; setLegendTextStyle(textStyle: TextStyle): ScatterChartBuilder; - setOption(option: string, value: object): ScatterChartBuilder; + setOption(option: string, value: any): ScatterChartBuilder; setPointStyle(style: PointStyle): ScatterChartBuilder; setTitle(chartTitle: string): ScatterChartBuilder; setTitleTextStyle(textStyle: TextStyle): ScatterChartBuilder; @@ -717,7 +717,7 @@ declare namespace GoogleAppsScript { setFirstRowNumber(number: Integer): TableChartBuilder; setInitialSortingAscending(column: Integer): TableChartBuilder; setInitialSortingDescending(column: Integer): TableChartBuilder; - setOption(option: string, value: object): TableChartBuilder; + setOption(option: string, value: any): TableChartBuilder; showRowNumberColumn(showRowNumber: boolean): TableChartBuilder; useAlternatingRowStyle(alternate: boolean): TableChartBuilder; } diff --git a/types/google-apps-script/google-apps-script.contacts.d.ts b/types/google-apps-script/google-apps-script.contacts.d.ts index 4189d14968..be89a1f889 100644 --- a/types/google-apps-script/google-apps-script.contacts.d.ts +++ b/types/google-apps-script/google-apps-script.contacts.d.ts @@ -14,7 +14,7 @@ declare namespace GoogleAppsScript { export interface AddressField { deleteAddressField(): void; getAddress(): string; - getLabel(): object; + getLabel(): any; isPrimary(): boolean; setAddress(address: string): AddressField; setAsPrimary(): AddressField; @@ -39,31 +39,31 @@ declare namespace GoogleAppsScript { * A Contact contains the name, address, and various contact details of a contact. */ export interface Contact { - addAddress(label: object, address: string): AddressField; + addAddress(label: any, address: string): AddressField; addCompany(company: string, title: string): CompanyField; - addCustomField(label: object, content: object): CustomField; - addDate(label: object, month: Base.Month, day: Integer, year: Integer): DateField; - addEmail(label: object, address: string): EmailField; - addIM(label: object, address: string): IMField; - addPhone(label: object, number: string): PhoneField; + addCustomField(label: any, content: any): CustomField; + addDate(label: any, month: Base.Month, day: Integer, year: Integer): DateField; + addEmail(label: any, address: string): EmailField; + addIM(label: any, address: string): IMField; + addPhone(label: any, number: string): PhoneField; addToGroup(group: ContactGroup): Contact; - addUrl(label: object, url: string): UrlField; + addUrl(label: any, url: string): UrlField; deleteContact(): void; getAddresses(): AddressField[]; - getAddresses(label: object): AddressField[]; + getAddresses(label: any): AddressField[]; getCompanies(): CompanyField[]; getContactGroups(): ContactGroup[]; getCustomFields(): CustomField[]; - getCustomFields(label: object): CustomField[]; + getCustomFields(label: any): CustomField[]; getDates(): DateField[]; - getDates(label: object): DateField[]; + getDates(label: any): DateField[]; getEmails(): EmailField[]; - getEmails(label: object): EmailField[]; + getEmails(label: any): EmailField[]; getFamilyName(): string; getFullName(): string; getGivenName(): string; getIMs(): IMField[]; - getIMs(label: object): IMField[]; + getIMs(label: any): IMField[]; getId(): string; getInitials(): string; getLastUpdated(): Date; @@ -72,13 +72,13 @@ declare namespace GoogleAppsScript { getNickname(): string; getNotes(): string; getPhones(): PhoneField[]; - getPhones(label: object): PhoneField[]; + getPhones(label: any): PhoneField[]; getPrefix(): string; getPrimaryEmail(): string; getShortName(): string; getSuffix(): string; getUrls(): UrlField[]; - getUrls(label: object): UrlField[]; + getUrls(label: any): UrlField[]; removeFromGroup(group: ContactGroup): Contact; setFamilyName(familyName: string): Contact; setFullName(fullName: string): Contact; @@ -98,7 +98,7 @@ declare namespace GoogleAppsScript { getMobilePhone(): string; getPager(): string; getUserDefinedField(key: string): string; - getUserDefinedFields(): object; + getUserDefinedFields(): any; getWorkAddress(): string; getWorkFax(): string; getWorkPhone(): string; @@ -109,7 +109,7 @@ declare namespace GoogleAppsScript { setPager(phone: string): void; setPrimaryEmail(primaryEmail: string): void; setUserDefinedField(key: string, value: string): void; - setUserDefinedFields(o: object): void; + setUserDefinedFields(o: any): void; setWorkAddress(addr: string): void; setWorkFax(phone: string): void; setWorkPhone(phone: string): void; @@ -156,7 +156,7 @@ declare namespace GoogleAppsScript { getContactsByAddress(query: string, label: Field): Contact[]; getContactsByAddress(query: string, label: string): Contact[]; getContactsByCompany(query: string): Contact[]; - getContactsByCustomField(query: object, label: ExtendedField): Contact[]; + getContactsByCustomField(query: any, label: ExtendedField): Contact[]; getContactsByDate(month: Base.Month, day: Integer, label: Field): Contact[]; getContactsByDate(month: Base.Month, day: Integer, year: Integer, label: Field): Contact[]; getContactsByDate(month: Base.Month, day: Integer, year: Integer, label: string): Contact[]; @@ -188,11 +188,11 @@ declare namespace GoogleAppsScript { */ export interface CustomField { deleteCustomField(): void; - getLabel(): object; - getValue(): object; + getLabel(): any; + getValue(): any; setLabel(field: ExtendedField): CustomField; setLabel(label: string): CustomField; - setValue(value: object): CustomField; + setValue(value: any): CustomField; } /** @@ -205,7 +205,7 @@ declare namespace GoogleAppsScript { export interface DateField { deleteDateField(): void; getDay(): Integer; - getLabel(): object; + getLabel(): any; getMonth(): Base.Month; getYear(): Integer; setDate(month: Base.Month, day: Integer): DateField; @@ -221,7 +221,7 @@ declare namespace GoogleAppsScript { deleteEmailField(): void; getAddress(): string; getDisplayName(): string; - getLabel(): object; + getLabel(): any; isPrimary(): boolean; setAddress(address: string): EmailField; setAsPrimary(): EmailField; @@ -251,7 +251,7 @@ declare namespace GoogleAppsScript { export interface IMField { deleteIMField(): void; getAddress(): string; - getLabel(): object; + getLabel(): any; isPrimary(): boolean; setAddress(address: string): IMField; setAsPrimary(): IMField; @@ -264,7 +264,7 @@ declare namespace GoogleAppsScript { */ export interface PhoneField { deletePhoneField(): void; - getLabel(): object; + getLabel(): any; getPhoneNumber(): string; isPrimary(): boolean; setAsPrimary(): PhoneField; @@ -289,7 +289,7 @@ declare namespace GoogleAppsScript { export interface UrlField { deleteUrlField(): void; getAddress(): string; - getLabel(): object; + getLabel(): any; isPrimary(): boolean; setAddress(address: string): UrlField; setAsPrimary(): UrlField; diff --git a/types/google-apps-script/google-apps-script.data-studio.d.ts b/types/google-apps-script/google-apps-script.data-studio.d.ts index 98285797ca..d7627221c1 100644 --- a/types/google-apps-script/google-apps-script.data-studio.d.ts +++ b/types/google-apps-script/google-apps-script.data-studio.d.ts @@ -105,7 +105,7 @@ declare namespace GoogleAppsScript { * .setHelpText("This connector can connect to multiple data endpoints."); */ export interface Config { - build(): object; + build(): any; newCheckbox(): Checkbox; newInfo(): Info; newOptionBuilder(): OptionBuilder; @@ -196,7 +196,7 @@ declare namespace GoogleAppsScript { */ export interface Fields { asArray(): Field[]; - build(): object[]; + build(): any[]; forIds(ids: string[]): Fields; getDefaultDimension(): Field; getDefaultMetric(): Field; @@ -221,7 +221,7 @@ declare namespace GoogleAppsScript { * } */ export interface GetAuthTypeResponse { - build(): object; + build(): any; printJson(): string; setAuthType(authType: AuthType): GetAuthTypeResponse; setHelpUrl(helpUrl: string): GetAuthTypeResponse; diff --git a/types/google-apps-script/google-apps-script.document.d.ts b/types/google-apps-script/google-apps-script.document.d.ts index 7487d3bd5c..99a3d47d15 100644 --- a/types/google-apps-script/google-apps-script.document.d.ts +++ b/types/google-apps-script/google-apps-script.document.d.ts @@ -59,10 +59,10 @@ declare namespace GoogleAppsScript { findElement(elementType: ElementType, from: RangeElement): RangeElement; findText(searchPattern: string): RangeElement; findText(searchPattern: string, from: RangeElement): RangeElement; - getAttributes(): object; + getAttributes(): any; getChild(childIndex: Integer): Element; getChildIndex(child: Element): Integer; - getHeadingAttributes(paragraphHeading: ParagraphHeading): object; + getHeadingAttributes(paragraphHeading: ParagraphHeading): any; getImages(): InlineImage[]; getListItems(): ListItem[]; getMarginBottom(): number; @@ -92,8 +92,8 @@ declare namespace GoogleAppsScript { insertTable(childIndex: Integer, table: Table): Table; removeChild(child: Element): Body; replaceText(searchPattern: string, replacement: string): Element; - setAttributes(attributes: object): Body; - setHeadingAttributes(paragraphHeading: ParagraphHeading, attributes: object): Body; + setAttributes(attributes: any): Body; + setHeadingAttributes(paragraphHeading: ParagraphHeading, attributes: any): Body; setMarginBottom(marginBottom: number): Body; setMarginLeft(marginLeft: number): Body; setMarginRight(marginRight: number): Body; @@ -148,7 +148,7 @@ declare namespace GoogleAppsScript { findElement(elementType: ElementType, from: RangeElement): RangeElement; findText(searchPattern: string): RangeElement; findText(searchPattern: string, from: RangeElement): RangeElement; - getAttributes(): object; + getAttributes(): any; getChild(childIndex: Integer): Element; getChildIndex(child: Element): Integer; getLinkUrl(): string; @@ -163,7 +163,7 @@ declare namespace GoogleAppsScript { merge(): ContainerElement; removeFromParent(): ContainerElement; replaceText(searchPattern: string, replacement: string): Element; - setAttributes(attributes: object): ContainerElement; + setAttributes(attributes: any): ContainerElement; setLinkUrl(url: string): ContainerElement; setTextAlignment(textAlignment: TextAlignment): ContainerElement; } diff --git a/types/google-apps-script/google-apps-script.forms.d.ts b/types/google-apps-script/google-apps-script.forms.d.ts index a0bf530c90..48e96681f8 100644 --- a/types/google-apps-script/google-apps-script.forms.d.ts +++ b/types/google-apps-script/google-apps-script.forms.d.ts @@ -650,12 +650,12 @@ declare namespace GoogleAppsScript { * } */ export interface ItemResponse { - getFeedback(): object; + getFeedback(): any; getItem(): Item; - getResponse(): object; - getScore(): object; - setFeedback(feedback: object): ItemResponse; - setScore(score: object): ItemResponse; + getResponse(): any; + getScore(): any; + setFeedback(feedback: any): ItemResponse; + setScore(score: any): ItemResponse; } /** diff --git a/types/google-apps-script/google-apps-script.gmail.d.ts b/types/google-apps-script/google-apps-script.gmail.d.ts index a5d087c69e..3414653a6a 100644 --- a/types/google-apps-script/google-apps-script.gmail.d.ts +++ b/types/google-apps-script/google-apps-script.gmail.d.ts @@ -13,7 +13,7 @@ declare namespace GoogleAppsScript { */ export interface GmailApp { createDraft(recipient: string, subject: string, body: string): GmailDraft; - createDraft(recipient: string, subject: string, body: string, options: object): GmailDraft; + createDraft(recipient: string, subject: string, body: string, options: any): GmailDraft; createLabel(name: string): GmailLabel; deleteLabel(label: GmailLabel): GmailApp; getAliases(): string[]; @@ -71,7 +71,7 @@ declare namespace GoogleAppsScript { search(query: string): GmailThread[]; search(query: string, start: Integer, max: Integer): GmailThread[]; sendEmail(recipient: string, subject: string, body: string): GmailApp; - sendEmail(recipient: string, subject: string, body: string, options: object): GmailApp; + sendEmail(recipient: string, subject: string, body: string, options: any): GmailApp; setCurrentMessageAccessToken(accessToken: string): void; starMessage(message: GmailMessage): GmailApp; starMessages(messages: GmailMessage[]): GmailApp; diff --git a/types/google-apps-script/google-apps-script.jdbc.d.ts b/types/google-apps-script/google-apps-script.jdbc.d.ts index 439c02ca91..ab85d26347 100644 --- a/types/google-apps-script/google-apps-script.jdbc.d.ts +++ b/types/google-apps-script/google-apps-script.jdbc.d.ts @@ -14,10 +14,10 @@ declare namespace GoogleAppsScript { */ export interface Jdbc { getCloudSqlConnection(url: string): JdbcConnection; - getCloudSqlConnection(url: string, info: object): JdbcConnection; + getCloudSqlConnection(url: string, info: any): JdbcConnection; getCloudSqlConnection(url: string, userName: string, password: string): JdbcConnection; getConnection(url: string): JdbcConnection; - getConnection(url: string, info: object): JdbcConnection; + getConnection(url: string, info: any): JdbcConnection; getConnection(url: string, userName: string, password: string): JdbcConnection; newDate(milliseconds: Integer): JdbcDate; newTime(milliseconds: Integer): JdbcTime; @@ -33,8 +33,8 @@ declare namespace GoogleAppsScript { */ export interface JdbcArray { free(): void; - getArray(): object; - getArray(index: Integer, count: Integer): object; + getArray(): any; + getArray(index: Integer, count: Integer): any; getBaseType(): Integer; getBaseTypeName(): string; getResultSet(): JdbcResultSet; @@ -124,8 +124,8 @@ declare namespace GoogleAppsScript { getNClob(parameterName: string): JdbcClob; getNString(parameterIndex: Integer): string; getNString(parameterName: string): string; - getObject(parameterIndex: Integer): object; - getObject(parameterName: string): object; + getObject(parameterIndex: Integer): any; + getObject(parameterName: string): any; getParameterMetaData(): JdbcParameterMetaData; getQueryTimeout(): Integer; getRef(parameterIndex: Integer): JdbcRef; @@ -201,12 +201,12 @@ declare namespace GoogleAppsScript { setNull(parameterIndex: Integer, sqlType: Integer, typeName: string): void; setNull(parameterName: string, sqlType: Integer): void; setNull(parameterName: string, sqlType: Integer, typeName: string): void; - setObject(index: Integer, x: object): void; - setObject(parameterIndex: Integer, x: object, targetSqlType: Integer): void; - setObject(parameterIndex: Integer, x: object, targetSqlType: Integer, scaleOrLength: Integer): void; - setObject(parameterName: string, x: object): void; - setObject(parameterName: string, x: object, targetSqlType: Integer): void; - setObject(parameterName: string, x: object, targetSqlType: Integer, scale: Integer): void; + setObject(index: Integer, x: any): void; + setObject(parameterIndex: Integer, x: any, targetSqlType: Integer): void; + setObject(parameterIndex: Integer, x: any, targetSqlType: Integer, scaleOrLength: Integer): void; + setObject(parameterName: string, x: any): void; + setObject(parameterName: string, x: any, targetSqlType: Integer): void; + setObject(parameterName: string, x: any, targetSqlType: Integer, scale: Integer): void; setPoolable(poolable: boolean): void; setQueryTimeout(seconds: Integer): void; setRef(parameterIndex: Integer, x: JdbcRef): void; @@ -258,7 +258,7 @@ declare namespace GoogleAppsScript { clearWarnings(): void; close(): void; commit(): void; - createArrayOf(typeName: string, elements: object[]): JdbcArray; + createArrayOf(typeName: string, elements: any[]): JdbcArray; createBlob(): JdbcBlob; createClob(): JdbcClob; createNClob(): JdbcClob; @@ -266,7 +266,7 @@ declare namespace GoogleAppsScript { createStatement(): JdbcStatement; createStatement(resultSetType: Integer, resultSetConcurrency: Integer): JdbcStatement; createStatement(resultSetType: Integer, resultSetConcurrency: Integer, resultSetHoldability: Integer): JdbcStatement; - createStruct(typeName: string, attributes: object[]): JdbcStruct; + createStruct(typeName: string, attributes: any[]): JdbcStruct; getAutoCommit(): boolean; getCatalog(): string; getHoldability(): Integer; @@ -577,9 +577,9 @@ declare namespace GoogleAppsScript { setNString(parameterIndex: Integer, x: string): void; setNull(parameterIndex: Integer, sqlType: Integer): void; setNull(parameterIndex: Integer, sqlType: Integer, typeName: string): void; - setObject(index: Integer, x: object): void; - setObject(parameterIndex: Integer, x: object, targetSqlType: Integer): void; - setObject(parameterIndex: Integer, x: object, targetSqlType: Integer, scaleOrLength: Integer): void; + setObject(index: Integer, x: any): void; + setObject(parameterIndex: Integer, x: any, targetSqlType: Integer): void; + setObject(parameterIndex: Integer, x: any, targetSqlType: Integer, scaleOrLength: Integer): void; setPoolable(poolable: boolean): void; setQueryTimeout(seconds: Integer): void; setRef(parameterIndex: Integer, x: JdbcRef): void; @@ -599,8 +599,8 @@ declare namespace GoogleAppsScript { */ export interface JdbcRef { getBaseTypeName(): string; - getObject(): object; - setObject(object: object): void; + getObject(): any; + setObject(object: any): void; } /** @@ -653,8 +653,8 @@ declare namespace GoogleAppsScript { getNClob(columnLabel: string): JdbcClob; getNString(columnIndex: Integer): string; getNString(columnLabel: string): string; - getObject(columnIndex: Integer): object; - getObject(columnLabel: string): object; + getObject(columnIndex: Integer): any; + getObject(columnLabel: string): any; getRef(columnIndex: Integer): JdbcRef; getRef(columnLabel: string): JdbcRef; getRow(): Integer; @@ -727,10 +727,10 @@ declare namespace GoogleAppsScript { updateNString(columnLabel: string, x: string): void; updateNull(columnIndex: Integer): void; updateNull(columnLabel: string): void; - updateObject(columnIndex: Integer, x: object): void; - updateObject(columnIndex: Integer, x: object, scaleOrLength: Integer): void; - updateObject(columnLabel: string, x: object): void; - updateObject(columnLabel: string, x: object, scaleOrLength: Integer): void; + updateObject(columnIndex: Integer, x: any): void; + updateObject(columnIndex: Integer, x: any, scaleOrLength: Integer): void; + updateObject(columnLabel: string, x: any): void; + updateObject(columnLabel: string, x: any, scaleOrLength: Integer): void; updateRef(columnIndex: Integer, x: JdbcRef): void; updateRef(columnLabel: string, x: JdbcRef): void; updateRow(): void; @@ -856,7 +856,7 @@ declare namespace GoogleAppsScript { * . */ export interface JdbcStruct { - getAttributes(): object[]; + getAttributes(): any[]; getSQLTypeName(): string; } diff --git a/types/google-apps-script/google-apps-script.language.d.ts b/types/google-apps-script/google-apps-script.language.d.ts index 89668cbf84..5d494c8537 100644 --- a/types/google-apps-script/google-apps-script.language.d.ts +++ b/types/google-apps-script/google-apps-script.language.d.ts @@ -16,7 +16,7 @@ declare namespace GoogleAppsScript { */ export interface LanguageApp { translate(text: string, sourceLanguage: string, targetLanguage: string): string; - translate(text: string, sourceLanguage: string, targetLanguage: string, advancedArgs: object): string; + translate(text: string, sourceLanguage: string, targetLanguage: string, advancedArgs: any): string; } } diff --git a/types/google-apps-script/google-apps-script.mail.d.ts b/types/google-apps-script/google-apps-script.mail.d.ts index 7c32561d96..edb245a071 100644 --- a/types/google-apps-script/google-apps-script.mail.d.ts +++ b/types/google-apps-script/google-apps-script.mail.d.ts @@ -19,9 +19,9 @@ declare namespace GoogleAppsScript { */ export interface MailApp { getRemainingDailyQuota(): Integer; - sendEmail(message: object): void; + sendEmail(message: any): void; sendEmail(recipient: string, subject: string, body: string): void; - sendEmail(recipient: string, subject: string, body: string, options: object): void; + sendEmail(recipient: string, subject: string, body: string, options: any): void; sendEmail(to: string, replyTo: string, subject: string, body: string): void; } diff --git a/types/google-apps-script/google-apps-script.maps.d.ts b/types/google-apps-script/google-apps-script.maps.d.ts index dd22022ae3..32eb333f9a 100644 --- a/types/google-apps-script/google-apps-script.maps.d.ts +++ b/types/google-apps-script/google-apps-script.maps.d.ts @@ -10,7 +10,7 @@ declare namespace GoogleAppsScript { export module Maps { /** * An enum representing the types of restrictions to avoid when finding directions. - */ + */ export enum Avoid { TOLLS, HIGHWAYS } /** @@ -73,7 +73,7 @@ declare namespace GoogleAppsScript { addWaypoint(latitude: number, longitude: number): DirectionFinder; addWaypoint(address: string): DirectionFinder; clearWaypoints(): DirectionFinder; - getDirections(): object; + getDirections(): any; setAlternatives(useAlternatives: boolean): DirectionFinder; setArrive(time: Base.Date): DirectionFinder; setAvoid(avoid: string): DirectionFinder; @@ -138,11 +138,11 @@ declare namespace GoogleAppsScript { * Google Elevation API */ export interface ElevationSampler { - sampleLocation(latitude: number, longitude: number): object; - sampleLocations(points: number[]): object; - sampleLocations(encodedPolyline: string): object; - samplePath(points: number[], numSamples: Integer): object; - samplePath(encodedPolyline: string, numSamples: Integer): object; + sampleLocation(latitude: number, longitude: number): any; + sampleLocations(points: number[]): any; + sampleLocations(encodedPolyline: string): any; + samplePath(points: number[], numSamples: Integer): any; + samplePath(encodedPolyline: string, numSamples: Integer): any; } /** @@ -184,9 +184,9 @@ declare namespace GoogleAppsScript { * Google Geocoding API */ export interface Geocoder { - geocode(address: string): object; - reverseGeocode(latitude: number, longitude: number): object; - reverseGeocode(swLatitude: number, swLongitude: number, neLatitude: number, neLongitude: number): object; + geocode(address: string): any; + reverseGeocode(latitude: number, longitude: number): any; + reverseGeocode(swLatitude: number, swLongitude: number, neLatitude: number, neLongitude: number): any; setBounds(swLatitude: number, swLongitude: number, neLatitude: number, neLongitude: number): Geocoder; setLanguage(language: string): Geocoder; setRegion(region: string): Geocoder; diff --git a/types/google-apps-script/google-apps-script.properties.d.ts b/types/google-apps-script/google-apps-script.properties.d.ts index 4287ba6244..df4e52438f 100644 --- a/types/google-apps-script/google-apps-script.properties.d.ts +++ b/types/google-apps-script/google-apps-script.properties.d.ts @@ -18,10 +18,10 @@ declare namespace GoogleAppsScript { deleteAllProperties(): Properties; deleteProperty(key: string): Properties; getKeys(): string[]; - getProperties(): object; + getProperties(): any; getProperty(key: string): string | null; - setProperties(properties: object): Properties; - setProperties(properties: object, deleteAllOthers: boolean): Properties; + setProperties(properties: any): Properties; + setProperties(properties: any, deleteAllOthers: boolean): Properties; setProperty(key: string, value: string): Properties; } @@ -55,10 +55,10 @@ declare namespace GoogleAppsScript { deleteAllProperties(): ScriptProperties; deleteProperty(key: string): ScriptProperties; getKeys(): string[]; - getProperties(): object; + getProperties(): any; getProperty(key: string): string | null; - setProperties(properties: object): ScriptProperties; - setProperties(properties: object, deleteAllOthers: boolean): ScriptProperties; + setProperties(properties: any): ScriptProperties; + setProperties(properties: any, deleteAllOthers: boolean): ScriptProperties; setProperty(key: string, value: string): ScriptProperties; } @@ -72,10 +72,10 @@ declare namespace GoogleAppsScript { deleteAllProperties(): UserProperties; deleteProperty(key: string): UserProperties; getKeys(): string[]; - getProperties(): object; + getProperties(): any; getProperty(key: string): string | null; - setProperties(properties: object): UserProperties; - setProperties(properties: object, deleteAllOthers: boolean): UserProperties; + setProperties(properties: any): UserProperties; + setProperties(properties: any, deleteAllOthers: boolean): UserProperties; setProperty(key: string, value: string): UserProperties; } diff --git a/types/google-apps-script/google-apps-script.sites.d.ts b/types/google-apps-script/google-apps-script.sites.d.ts index 3ba042c057..733e9ab51a 100644 --- a/types/google-apps-script/google-apps-script.sites.d.ts +++ b/types/google-apps-script/google-apps-script.sites.d.ts @@ -127,15 +127,15 @@ declare namespace GoogleAppsScript { createWebPage(title: string, name: string, html: string): Page; deletePage(): void; getAllDescendants(): Page[]; - getAllDescendants(options: object): Page[]; + getAllDescendants(options: any): Page[]; getAnnouncements(): Page[]; - getAnnouncements(optOptions: object): Page[]; + getAnnouncements(optOptions: any): Page[]; getAttachments(): Attachment[]; - getAttachments(optOptions: object): Attachment[]; + getAttachments(optOptions: any): Attachment[]; getAuthors(): string[]; getChildByName(name: string): Page; getChildren(): Page[]; - getChildren(options: object): Page[]; + getChildren(options: any): Page[]; getColumns(): Column[]; getDatePublished(): Date; getHtmlContent(): string; @@ -143,7 +143,7 @@ declare namespace GoogleAppsScript { getLastEdited(): Date; getLastUpdated(): Date; getListItems(): ListItem[]; - getListItems(optOptions: object): ListItem[]; + getListItems(optOptions: any): ListItem[]; getName(): string; getPageType(): PageType; getParent(): Page; @@ -154,7 +154,7 @@ declare namespace GoogleAppsScript { isTemplate(): boolean; publishAsTemplate(name: string): Page; search(query: string): Page[]; - search(query: string, options: object): Page[]; + search(query: string, options: any): Page[]; setHtmlContent(html: string): Page; setIsDraft(draft: boolean): Page; setName(name: string): Page; @@ -162,7 +162,7 @@ declare namespace GoogleAppsScript { setTitle(title: string): Page; addComment(content: string): Comment; getComments(): Comment[]; - getComments(optOptions: object): Comment[]; + getComments(optOptions: any): Comment[]; getPageName(): string; getSelfLink(): string; } @@ -198,10 +198,10 @@ declare namespace GoogleAppsScript { createPageFromTemplate(title: string, name: string, template: Page): Page; createWebPage(title: string, name: string, html: string): Page; getAllDescendants(): Page[]; - getAllDescendants(options: object): Page[]; + getAllDescendants(options: any): Page[]; getChildByName(name: string): Page; getChildren(): Page[]; - getChildren(options: object): Page[]; + getChildren(options: any): Page[]; getEditors(): Base.User[]; getName(): string; getOwners(): Base.User[]; @@ -218,7 +218,7 @@ declare namespace GoogleAppsScript { removeViewer(emailAddress: string): Site; removeViewer(user: Base.User): Site; search(query: string): Page[]; - search(query: string, options: object): Page[]; + search(query: string, options: any): Page[]; setSummary(summary: string): Site; setTheme(theme: string): Site; setTitle(title: string): Site; diff --git a/types/google-apps-script/google-apps-script.spreadsheet.d.ts b/types/google-apps-script/google-apps-script.spreadsheet.d.ts index 0f9ae4837b..6c4fe1ef90 100644 --- a/types/google-apps-script/google-apps-script.spreadsheet.d.ts +++ b/types/google-apps-script/google-apps-script.spreadsheet.d.ts @@ -89,7 +89,7 @@ declare namespace GoogleAppsScript { getBackground(): string; getBold(): boolean; getCriteriaType(): BooleanCriteria; - getCriteriaValues(): object[]; + getCriteriaValues(): any[]; getFontColor(): string; getItalic(): boolean; getStrikethrough(): boolean; @@ -175,7 +175,7 @@ declare namespace GoogleAppsScript { whenTextEndsWith(text: string): ConditionalFormatRuleBuilder; whenTextEqualTo(text: string): ConditionalFormatRuleBuilder; whenTextStartsWith(text: string): ConditionalFormatRuleBuilder; - withCriteria(criteria: BooleanCriteria, args: object[]): ConditionalFormatRuleBuilder; + withCriteria(criteria: BooleanCriteria, args: any[]): ConditionalFormatRuleBuilder; } /** @@ -363,7 +363,7 @@ declare namespace GoogleAppsScript { copy(): DataValidationBuilder; getAllowInvalid(): boolean; getCriteriaType(): DataValidationCriteria; - getCriteriaValues(): object[]; + getCriteriaValues(): any[]; getHelpText(): string; } @@ -381,11 +381,11 @@ declare namespace GoogleAppsScript { copy(): DataValidationBuilder; getAllowInvalid(): boolean; getCriteriaType(): DataValidationCriteria; - getCriteriaValues(): object[]; + getCriteriaValues(): any[]; getHelpText(): string; requireCheckbox(): DataValidationBuilder; - requireCheckbox(checkedValue: Object): DataValidationBuilder; - requireCheckbox(checkedValue: Object, uncheckedValue: Object): DataValidationBuilder; + requireCheckbox(checkedValue: any): DataValidationBuilder; + requireCheckbox(checkedValue: any, uncheckedValue: any): DataValidationBuilder; requireDate(): DataValidationBuilder; requireDateAfter(date: Base.Date): DataValidationBuilder; requireDateBefore(date: Base.Date): DataValidationBuilder; @@ -414,7 +414,7 @@ declare namespace GoogleAppsScript { requireValueInRange(range: Range, showDropdown: boolean): DataValidationBuilder; setAllowInvalid(allowInvalidData: boolean): DataValidationBuilder; setHelpText(helpText: string): DataValidationBuilder; - withCriteria(criteria: DataValidationCriteria, args: object[]): DataValidationBuilder; + withCriteria(criteria: DataValidationCriteria, args: any[]): DataValidationBuilder; } /** @@ -544,7 +544,7 @@ declare namespace GoogleAppsScript { setLegendTextStyle(textStyle: Charts.TextStyle): EmbeddedAreaChartBuilder; setMergeStrategy(mergeStrategy: Charts.ChartMergeStrategy): EmbeddedChartBuilder; setNumHeaders(headers: Integer): EmbeddedChartBuilder; - setOption(option: string, value: object): EmbeddedChartBuilder; + setOption(option: string, value: any): EmbeddedChartBuilder; setPointStyle(style: Charts.PointStyle): EmbeddedAreaChartBuilder; setPosition(anchorRowPos: Integer, anchorColPos: Integer, offsetX: Integer, offsetY: Integer): EmbeddedChartBuilder; setRange(start: number, end: number): EmbeddedAreaChartBuilder; @@ -592,7 +592,7 @@ declare namespace GoogleAppsScript { setLegendTextStyle(textStyle: Charts.TextStyle): EmbeddedBarChartBuilder; setMergeStrategy(mergeStrategy: Charts.ChartMergeStrategy): EmbeddedChartBuilder; setNumHeaders(headers: Integer): EmbeddedChartBuilder; - setOption(option: string, value: object): EmbeddedChartBuilder; + setOption(option: string, value: any): EmbeddedChartBuilder; setPosition(anchorRowPos: Integer, anchorColPos: Integer, offsetX: Integer, offsetY: Integer): EmbeddedChartBuilder; setRange(start: number, end: number): EmbeddedBarChartBuilder; setStacked(): EmbeddedBarChartBuilder; @@ -688,7 +688,7 @@ declare namespace GoogleAppsScript { setHiddenDimensionStrategy(strategy: Charts.ChartHiddenDimensionStrategy): EmbeddedChartBuilder; setMergeStrategy(mergeStrategy: Charts.ChartMergeStrategy): EmbeddedChartBuilder; setNumHeaders(headers: Integer): EmbeddedChartBuilder; - setOption(option: string, value: object): EmbeddedChartBuilder; + setOption(option: string, value: any): EmbeddedChartBuilder; setPosition(anchorRowPos: Integer, anchorColPos: Integer, offsetX: Integer, offsetY: Integer): EmbeddedChartBuilder; setTransposeRowsAndColumns(transpose: boolean): EmbeddedChartBuilder; } @@ -723,7 +723,7 @@ declare namespace GoogleAppsScript { setLegendTextStyle(textStyle: Charts.TextStyle): EmbeddedColumnChartBuilder; setMergeStrategy(mergeStrategy: Charts.ChartMergeStrategy): EmbeddedChartBuilder; setNumHeaders(headers: Integer): EmbeddedChartBuilder; - setOption(option: string, value: object): EmbeddedChartBuilder; + setOption(option: string, value: any): EmbeddedChartBuilder; setPosition(anchorRowPos: Integer, anchorColPos: Integer, offsetX: Integer, offsetY: Integer): EmbeddedChartBuilder; setRange(start: number, end: number): EmbeddedColumnChartBuilder; setStacked(): EmbeddedColumnChartBuilder; @@ -768,7 +768,7 @@ declare namespace GoogleAppsScript { setLegendTextStyle(textStyle: Charts.TextStyle): EmbeddedComboChartBuilder; setMergeStrategy(mergeStrategy: Charts.ChartMergeStrategy): EmbeddedChartBuilder; setNumHeaders(headers: Integer): EmbeddedChartBuilder; - setOption(option: string, value: object): EmbeddedChartBuilder; + setOption(option: string, value: any): EmbeddedChartBuilder; setPosition(anchorRowPos: Integer, anchorColPos: Integer, offsetX: Integer, offsetY: Integer): EmbeddedChartBuilder; setRange(start: number, end: number): EmbeddedComboChartBuilder; setStacked(): EmbeddedComboChartBuilder; @@ -814,7 +814,7 @@ declare namespace GoogleAppsScript { setLegendTextStyle(textStyle: Charts.TextStyle): EmbeddedHistogramChartBuilder; setMergeStrategy(mergeStrategy: Charts.ChartMergeStrategy): EmbeddedChartBuilder; setNumHeaders(headers: Integer): EmbeddedChartBuilder; - setOption(option: string, value: object): EmbeddedChartBuilder; + setOption(option: string, value: any): EmbeddedChartBuilder; setPosition(anchorRowPos: Integer, anchorColPos: Integer, offsetX: Integer, offsetY: Integer): EmbeddedChartBuilder; setRange(start: number, end: number): EmbeddedHistogramChartBuilder; setStacked(): EmbeddedHistogramChartBuilder; @@ -861,7 +861,7 @@ declare namespace GoogleAppsScript { setLegendTextStyle(textStyle: Charts.TextStyle): EmbeddedLineChartBuilder; setMergeStrategy(mergeStrategy: Charts.ChartMergeStrategy): EmbeddedChartBuilder; setNumHeaders(headers: Integer): EmbeddedChartBuilder; - setOption(option: string, value: object): EmbeddedChartBuilder; + setOption(option: string, value: any): EmbeddedChartBuilder; setPointStyle(style: Charts.PointStyle): EmbeddedLineChartBuilder; setPosition(anchorRowPos: Integer, anchorColPos: Integer, offsetX: Integer, offsetY: Integer): EmbeddedChartBuilder; setRange(start: number, end: number): EmbeddedLineChartBuilder; @@ -908,7 +908,7 @@ declare namespace GoogleAppsScript { setLegendTextStyle(textStyle: Charts.TextStyle): EmbeddedPieChartBuilder; setMergeStrategy(mergeStrategy: Charts.ChartMergeStrategy): EmbeddedChartBuilder; setNumHeaders(headers: Integer): EmbeddedChartBuilder; - setOption(option: string, value: object): EmbeddedChartBuilder; + setOption(option: string, value: any): EmbeddedChartBuilder; setPosition(anchorRowPos: Integer, anchorColPos: Integer, offsetX: Integer, offsetY: Integer): EmbeddedChartBuilder; setTitle(chartTitle: string): EmbeddedPieChartBuilder; setTitleTextStyle(textStyle: Charts.TextStyle): EmbeddedPieChartBuilder; @@ -944,7 +944,7 @@ declare namespace GoogleAppsScript { setLegendTextStyle(textStyle: Charts.TextStyle): EmbeddedScatterChartBuilder; setMergeStrategy(mergeStrategy: Charts.ChartMergeStrategy): EmbeddedChartBuilder; setNumHeaders(headers: Integer): EmbeddedChartBuilder; - setOption(option: string, value: object): EmbeddedChartBuilder; + setOption(option: string, value: any): EmbeddedChartBuilder; setPointStyle(style: Charts.PointStyle): EmbeddedScatterChartBuilder; setPosition(anchorRowPos: Integer, anchorColPos: Integer, offsetX: Integer, offsetY: Integer): EmbeddedChartBuilder; setTitle(chartTitle: string): EmbeddedScatterChartBuilder; @@ -994,7 +994,7 @@ declare namespace GoogleAppsScript { setInitialSortingDescending(column: Integer): EmbeddedTableChartBuilder; setMergeStrategy(mergeStrategy: Charts.ChartMergeStrategy): EmbeddedChartBuilder; setNumHeaders(headers: Integer): EmbeddedChartBuilder; - setOption(option: string, value: object): EmbeddedChartBuilder; + setOption(option: string, value: any): EmbeddedChartBuilder; setPosition(anchorRowPos: Integer, anchorColPos: Integer, offsetX: Integer, offsetY: Integer): EmbeddedChartBuilder; setTransposeRowsAndColumns(transpose: boolean): EmbeddedChartBuilder; showRowNumberColumn(showRowNumber: boolean): EmbeddedTableChartBuilder; @@ -1019,7 +1019,7 @@ declare namespace GoogleAppsScript { export interface FilterCriteria { copy(): FilterCriteriaBuilder; getCriteriaType(): BooleanCriteria; - getCriteriaValues(): object[]; + getCriteriaValues(): any[]; getHiddenValues(): string[]; getVisibleValues(): string[]; } @@ -1031,7 +1031,7 @@ declare namespace GoogleAppsScript { build(): FilterCriteria; copy(): FilterCriteriaBuilder; getCriteriaType(): BooleanCriteria; - getCriteriaValues(): object[]; + getCriteriaValues(): any[]; getHiddenValues(): string[]; getVisibleValues(): string[]; setHiddenValues(values: string[]): FilterCriteriaBuilder; @@ -1058,7 +1058,7 @@ declare namespace GoogleAppsScript { whenTextEndsWith(text: string): FilterCriteriaBuilder; whenTextEqualTo(text: string): FilterCriteriaBuilder; whenTextStartsWith(text: string): FilterCriteriaBuilder; - withCriteria(criteria: BooleanCriteria, args: object[]): FilterCriteriaBuilder; + withCriteria(criteria: BooleanCriteria, args: any[]): FilterCriteriaBuilder; } /** @@ -1202,7 +1202,7 @@ declare namespace GoogleAppsScript { * Access and modify pivot table breakout groups. */ export interface PivotGroup { - addManualGroupingRule(groupName: string, groupMembers: object[]): PivotGroup; + addManualGroupingRule(groupName: string, groupMembers: any[]): PivotGroup; areLabelsRepeated(): boolean; clearGroupingRule(): PivotGroup; clearSort(): PivotGroup; @@ -1221,7 +1221,7 @@ declare namespace GoogleAppsScript { showRepeatedLabels(): PivotGroup; showTotals(showTotals: boolean): PivotGroup; sortAscending(): PivotGroup; - sortBy(value: PivotValue, oppositeGroupValues: object[]): PivotGroup; + sortBy(value: PivotValue, oppositeGroupValues: any[]): PivotGroup; sortDescending(): PivotGroup; totalsAreShown(): boolean; } @@ -1383,7 +1383,7 @@ declare namespace GoogleAppsScript { canEdit(): boolean; check(): Range; clear(): Range; - clear(options: object): Range; + clear(options: any): Range; clearContent(): Range; clearDataValidations(): Range; clearFormat(): Range; @@ -1393,7 +1393,7 @@ declare namespace GoogleAppsScript { copyFormatToRange(sheet: Sheet, column: Integer, columnEnd: Integer, row: Integer, rowEnd: Integer): void; copyTo(destination: Range): void; copyTo(destination: Range, copyPasteType: CopyPasteType, transposed: boolean): void; - copyTo(destination: Range, options: object): void; + copyTo(destination: Range, options: any): void; copyValuesToRange(gridId: Integer, column: Integer, columnEnd: Integer, row: Integer, rowEnd: Integer): void; copyValuesToRange(sheet: Sheet, column: Integer, columnEnd: Integer, row: Integer, rowEnd: Integer): void; createDeveloperMetadataFinder(): DeveloperMetadataFinder; @@ -1461,8 +1461,8 @@ declare namespace GoogleAppsScript { getTextRotations(): TextRotation[][]; getTextStyle(): TextStyle; getTextStyles(): TextStyle[][]; - getValue(): object; - getValues(): object[][]; + getValue(): any; + getValues(): any[][]; getVerticalAlignment(): string; getVerticalAlignments(): string[][]; getWidth(): Integer; @@ -1472,8 +1472,8 @@ declare namespace GoogleAppsScript { getWraps(): boolean[][]; insertCells(shiftDimension: Dimension): Range; insertCheckboxes(): Range; - insertCheckboxes(checkedValue: Object): Range; - insertCheckboxes(checkedValue: Object, uncheckedValue: Object): Range; + insertCheckboxes(checkedValue: any): Range; + insertCheckboxes(checkedValue: any, uncheckedValue: any): Range; isBlank(): boolean; isChecked(): boolean; isEndColumnBounded(): boolean; @@ -1499,27 +1499,27 @@ declare namespace GoogleAppsScript { setDataValidation(rule: DataValidation): Range; setDataValidations(rules: DataValidation[][]): Range; setFontColor(color: string): Range; - setFontColors(colors: object[][]): Range; - setFontFamilies(fontFamilies: object[][]): Range; + setFontColors(colors: any[][]): Range; + setFontFamilies(fontFamilies: any[][]): Range; setFontFamily(fontFamily: string): Range; setFontLine(fontLine: string): Range; - setFontLines(fontLines: object[][]): Range; + setFontLines(fontLines: any[][]): Range; setFontSize(size: Integer): Range; - setFontSizes(sizes: object[][]): Range; + setFontSizes(sizes: any[][]): Range; setFontStyle(fontStyle: string): Range; - setFontStyles(fontStyles: object[][]): Range; + setFontStyles(fontStyles: any[][]): Range; setFontWeight(fontWeight: string): Range; - setFontWeights(fontWeights: object[][]): Range; + setFontWeights(fontWeights: any[][]): Range; setFormula(formula: string): Range; setFormulaR1C1(formula: string): Range; setFormulas(formulas: string[][]): Range; setFormulasR1C1(formulas: string[][]): Range; setHorizontalAlignment(alignment: string): Range; - setHorizontalAlignments(alignments: object[][]): Range; + setHorizontalAlignments(alignments: any[][]): Range; setNote(note: string): Range; - setNotes(notes: object[][]): Range; + setNotes(notes: any[][]): Range; setNumberFormat(numberFormat: string): Range; - setNumberFormats(numberFormats: object[][]): Range; + setNumberFormats(numberFormats: any[][]): Range; setRichTextValue(value: RichTextValue): Range; setRichTextValues(values: RichTextValue[][]): Range; setShowHyperlink(showHyperlink: boolean): Range; @@ -1530,18 +1530,18 @@ declare namespace GoogleAppsScript { setTextRotations(rotations: TextRotation[][]): Range; setTextStyle(style: TextStyle): Range; setTextStyles(styles: TextStyle[][]): Range; - setValue(value: object): Range; - setValues(values: object[][]): Range; + setValue(value: any): Range; + setValues(values: any[][]): Range; setVerticalAlignment(alignment: string): Range; - setVerticalAlignments(alignments: object[][]): Range; + setVerticalAlignments(alignments: any[][]): Range; setVerticalText(isVertical: boolean): Range; setWrap(isWrapEnabled: boolean): Range; setWrapStrategies(strategies: WrapStrategy[][]): Range; setWrapStrategy(strategy: WrapStrategy): Range; - setWraps(isWrapEnabled: object[][]): Range; + setWraps(isWrapEnabled: any[][]): Range; shiftColumnGroupDepth(delta: Integer): Range; shiftRowGroupDepth(delta: Integer): Range; - sort(sortSpecObj: object): Range; + sort(sortSpecObj: any): Range; splitTextToColumns(): void; splitTextToColumns(delimiter: string): void; splitTextToColumns(delimiter: TextToColumnsDelimiter): void; @@ -1557,15 +1557,15 @@ declare namespace GoogleAppsScript { breakApart(): RangeList; check(): RangeList; clear(): RangeList; - clear(options: object): RangeList; + clear(options: any): RangeList; clearContent(): RangeList; clearDataValidations(): RangeList; clearFormat(): RangeList; clearNote(): RangeList; getRanges(): Range[]; insertCheckboxes(): RangeList; - insertCheckboxes(checkedValue: Object): RangeList; - insertCheckboxes(checkedValue: Object, uncheckedValue: Object): RangeList; + insertCheckboxes(checkedValue: any): RangeList; + insertCheckboxes(checkedValue: any, uncheckedValue: any): RangeList; removeCheckboxes(): RangeList; setBackground(color: string): RangeList; setBackgroundRGB(red: Integer, green: Integer, blue: Integer): RangeList; @@ -1585,7 +1585,7 @@ declare namespace GoogleAppsScript { setShowHyperlink(showHyperlink: boolean): RangeList; setTextDirection(direction: TextDirection): RangeList; setTextRotation(degrees: Integer): RangeList; - setValue(value: object): RangeList; + setValue(value: any): RangeList; setVerticalAlignment(alignment: string): RangeList; setVerticalText(isVertical: boolean): RangeList; setWrap(isWrapEnabled: boolean): RangeList; @@ -1672,12 +1672,12 @@ declare namespace GoogleAppsScript { addDeveloperMetadata(key: string, visibility: DeveloperMetadataVisibility): Sheet; addDeveloperMetadata(key: string, value: string): Sheet; addDeveloperMetadata(key: string, value: string, visibility: DeveloperMetadataVisibility): Sheet; - appendRow(rowContents: object[]): Sheet; + appendRow(rowContents: any[]): Sheet; autoResizeColumn(columnPosition: Integer): Sheet; autoResizeColumns(startColumn: Integer, numColumns: Integer): Sheet; autoResizeRows(startRow: Integer, numRows: Integer): Sheet; clear(): Sheet; - clear(options: object): Sheet; + clear(options: any): Sheet; clearConditionalFormatRules(): void; clearContents(): Sheet; clearFormats(): Sheet; @@ -1736,7 +1736,7 @@ declare namespace GoogleAppsScript { getSelection(): Selection; getSheetId(): Integer; getSheetName(): string; - getSheetValues(startRow: Integer, startColumn: Integer, numRows: Integer, numColumns: Integer): object[][]; + getSheetValues(startRow: Integer, startColumn: Integer, numRows: Integer, numColumns: Integer): any[][]; getTabColor(): string; getType(): SheetType; hasHiddenGridlines(): boolean; @@ -1809,7 +1809,7 @@ declare namespace GoogleAppsScript { /** * The different types of sheets that can exist in a spreadsheet. */ - export enum SheetType { GRID, OBJECT } + export enum SheetType { GRID, any } /** * Access and modify Google Sheets files. Common operations are adding new sheets and adding @@ -1823,11 +1823,11 @@ declare namespace GoogleAppsScript { addEditor(emailAddress: string): Spreadsheet; addEditor(user: Base.User): Spreadsheet; addEditors(emailAddresses: string[]): Spreadsheet; - addMenu(name: string, subMenus: object[]): void; + addMenu(name: string, subMenus: any[]): void; addViewer(emailAddress: string): Spreadsheet; addViewer(user: Base.User): Spreadsheet; addViewers(emailAddresses: string[]): Spreadsheet; - appendRow(rowContents: object[]): Sheet; + appendRow(rowContents: any[]): Sheet; autoResizeColumn(columnPosition: Integer): Sheet; copy(name: string): Spreadsheet; createDeveloperMetadataFinder(): DeveloperMetadataFinder; @@ -1875,7 +1875,7 @@ declare namespace GoogleAppsScript { getSheetByName(name: string): Sheet; getSheetId(): Integer; getSheetName(): string; - getSheetValues(startRow: Integer, startColumn: Integer, numRows: Integer, numColumns: Integer): object[][]; + getSheetValues(startRow: Integer, startColumn: Integer, numRows: Integer, numColumns: Integer): any[][]; getSheets(): Sheet[]; getSpreadsheetLocale(): string; getSpreadsheetTimeZone(): string; @@ -1897,19 +1897,19 @@ declare namespace GoogleAppsScript { insertRowsBefore(beforePosition: Integer, howMany: Integer): Sheet; insertSheet(): Sheet; insertSheet(sheetIndex: Integer): Sheet; - insertSheet(sheetIndex: Integer, options: object): Sheet; - insertSheet(options: object): Sheet; + insertSheet(sheetIndex: Integer, options: any): Sheet; + insertSheet(options: any): Sheet; insertSheet(sheetName: string): Sheet; insertSheet(sheetName: string, sheetIndex: Integer): Sheet; - insertSheet(sheetName: string, sheetIndex: Integer, options: object): Sheet; - insertSheet(sheetName: string, options: object): Sheet; + insertSheet(sheetName: string, sheetIndex: Integer, options: any): Sheet; + insertSheet(sheetName: string, options: any): Sheet; insertSheetWithDataSourceTable(spec: DataSourceSpec): Sheet; isColumnHiddenByUser(columnPosition: Integer): boolean; isIterativeCalculationEnabled(): boolean; isRowHiddenByFilter(rowPosition: Integer): boolean; isRowHiddenByUser(rowPosition: Integer): boolean; moveActiveSheet(pos: Integer): void; - moveChartToObjectSheet(chart: EmbeddedChart): Sheet; + moveChartToanySheet(chart: EmbeddedChart): Sheet; removeEditor(emailAddress: string): Spreadsheet; removeEditor(user: Base.User): Spreadsheet; removeMenu(name: string): void; @@ -1936,7 +1936,7 @@ declare namespace GoogleAppsScript { setRowHeight(rowPosition: Integer, height: Integer): Sheet; setSpreadsheetLocale(locale: string): void; setSpreadsheetTimeZone(timezone: string): void; - show(userInterface: object): void; + show(userInterface: any): void; sort(columnPosition: Integer): Sheet; sort(columnPosition: Integer, ascending: boolean): Sheet; toast(msg: string): void; @@ -1944,7 +1944,7 @@ declare namespace GoogleAppsScript { toast(msg: string, title: string, timeoutSeconds: number): void; unhideColumn(column: Range): void; unhideRow(row: Range): void; - updateMenu(name: string, subMenus: object[]): void; + updateMenu(name: string, subMenus: any[]): void; getSheetProtection(): PageProtection; isAnonymousView(): boolean; isAnonymousWrite(): boolean; diff --git a/types/google-apps-script/google-apps-script.ui.d.ts b/types/google-apps-script/google-apps-script.ui.d.ts index d55e8a0782..32ad9aafc4 100644 --- a/types/google-apps-script/google-apps-script.ui.d.ts +++ b/types/google-apps-script/google-apps-script.ui.d.ts @@ -41,11 +41,11 @@ declare namespace GoogleAppsScript { remove(widget: Widget): AbsolutePanel; setHeight(height: string): AbsolutePanel; setId(id: string): AbsolutePanel; - setLayoutData(layout: object): AbsolutePanel; + setLayoutData(layout: any): AbsolutePanel; setPixelSize(width: Integer, height: Integer): AbsolutePanel; setSize(width: string, height: string): AbsolutePanel; setStyleAttribute(attribute: string, value: string): AbsolutePanel; - setStyleAttributes(attributes: object): AbsolutePanel; + setStyleAttributes(attributes: any): AbsolutePanel; setStyleName(styleName: string): AbsolutePanel; setStylePrimaryName(styleName: string): AbsolutePanel; setTag(tag: string): AbsolutePanel; @@ -104,12 +104,12 @@ declare namespace GoogleAppsScript { setHorizontalAlignment(horizontalAlignment: HorizontalAlignment): Anchor; setHref(href: string): Anchor; setId(id: string): Anchor; - setLayoutData(layout: object): Anchor; + setLayoutData(layout: any): Anchor; setName(name: string): Anchor; setPixelSize(width: Integer, height: Integer): Anchor; setSize(width: string, height: string): Anchor; setStyleAttribute(attribute: string, value: string): Anchor; - setStyleAttributes(attributes: object): Anchor; + setStyleAttributes(attributes: any): Anchor; setStyleName(styleName: string): Anchor; setStylePrimaryName(styleName: string): Anchor; setTabIndex(index: Integer): Anchor; @@ -172,11 +172,11 @@ declare namespace GoogleAppsScript { setHTML(html: string): Button; setHeight(height: string): Button; setId(id: string): Button; - setLayoutData(layout: object): Button; + setLayoutData(layout: any): Button; setPixelSize(width: Integer, height: Integer): Button; setSize(width: string, height: string): Button; setStyleAttribute(attribute: string, value: string): Button; - setStyleAttributes(attributes: object): Button; + setStyleAttributes(attributes: any): Button; setStyleName(styleName: string): Button; setStylePrimaryName(styleName: string): Button; setTabIndex(index: Integer): Button; @@ -225,11 +225,11 @@ declare namespace GoogleAppsScript { setContentWidget(widget: Widget): CaptionPanel; setHeight(height: string): CaptionPanel; setId(id: string): CaptionPanel; - setLayoutData(layout: object): CaptionPanel; + setLayoutData(layout: any): CaptionPanel; setPixelSize(width: Integer, height: Integer): CaptionPanel; setSize(width: string, height: string): CaptionPanel; setStyleAttribute(attribute: string, value: string): CaptionPanel; - setStyleAttributes(attributes: object): CaptionPanel; + setStyleAttributes(attributes: any): CaptionPanel; setStyleName(styleName: string): CaptionPanel; setStylePrimaryName(styleName: string): CaptionPanel; setTag(tag: string): CaptionPanel; @@ -291,12 +291,12 @@ declare namespace GoogleAppsScript { setHTML(html: string): CheckBox; setHeight(height: string): CheckBox; setId(id: string): CheckBox; - setLayoutData(layout: object): CheckBox; + setLayoutData(layout: any): CheckBox; setName(name: string): CheckBox; setPixelSize(width: Integer, height: Integer): CheckBox; setSize(width: string, height: string): CheckBox; setStyleAttribute(attribute: string, value: string): CheckBox; - setStyleAttributes(attributes: object): CheckBox; + setStyleAttributes(attributes: any): CheckBox; setStyleName(styleName: string): CheckBox; setStylePrimaryName(styleName: string): CheckBox; setTabIndex(index: Integer): CheckBox; @@ -361,8 +361,8 @@ declare namespace GoogleAppsScript { setId(id: string): ClientHandler; setStyleAttribute(row: Integer, column: Integer, attribute: string, value: string): ClientHandler; setStyleAttribute(attribute: string, value: string): ClientHandler; - setStyleAttributes(row: Integer, column: Integer, attributes: object): ClientHandler; - setStyleAttributes(attributes: object): ClientHandler; + setStyleAttributes(row: Integer, column: Integer, attributes: any): ClientHandler; + setStyleAttributes(attributes: any): ClientHandler; setTag(tag: string): ClientHandler; setText(text: string): ClientHandler; setValue(value: boolean): ClientHandler; @@ -570,12 +570,12 @@ declare namespace GoogleAppsScript { setFormat(dateTimeFormat: DateTimeFormat): DateBox; setHeight(height: string): DateBox; setId(id: string): DateBox; - setLayoutData(layout: object): DateBox; + setLayoutData(layout: any): DateBox; setName(name: string): DateBox; setPixelSize(width: Integer, height: Integer): DateBox; setSize(width: string, height: string): DateBox; setStyleAttribute(attribute: string, value: string): DateBox; - setStyleAttributes(attributes: object): DateBox; + setStyleAttributes(attributes: any): DateBox; setStyleName(styleName: string): DateBox; setStylePrimaryName(styleName: string): DateBox; setTabIndex(index: Integer): DateBox; @@ -623,12 +623,12 @@ declare namespace GoogleAppsScript { setCurrentMonth(date: Base.Date): DatePicker; setHeight(height: string): DatePicker; setId(id: string): DatePicker; - setLayoutData(layout: object): DatePicker; + setLayoutData(layout: any): DatePicker; setName(name: string): DatePicker; setPixelSize(width: Integer, height: Integer): DatePicker; setSize(width: string, height: string): DatePicker; setStyleAttribute(attribute: string, value: string): DatePicker; - setStyleAttributes(attributes: object): DatePicker; + setStyleAttributes(attributes: any): DatePicker; setStyleName(styleName: string): DatePicker; setStylePrimaryName(styleName: string): DatePicker; setTag(tag: string): DatePicker; @@ -674,13 +674,13 @@ declare namespace GoogleAppsScript { remove(widget: Widget): DecoratedStackPanel; setHeight(height: string): DecoratedStackPanel; setId(id: string): DecoratedStackPanel; - setLayoutData(layout: object): DecoratedStackPanel; + setLayoutData(layout: any): DecoratedStackPanel; setPixelSize(width: Integer, height: Integer): DecoratedStackPanel; setSize(width: string, height: string): DecoratedStackPanel; setStackText(index: Integer, text: string): DecoratedStackPanel; setStackText(index: Integer, text: string, asHtml: boolean): DecoratedStackPanel; setStyleAttribute(attribute: string, value: string): DecoratedStackPanel; - setStyleAttributes(attributes: object): DecoratedStackPanel; + setStyleAttributes(attributes: any): DecoratedStackPanel; setStyleName(styleName: string): DecoratedStackPanel; setStylePrimaryName(styleName: string): DecoratedStackPanel; setTag(tag: string): DecoratedStackPanel; @@ -712,11 +712,11 @@ declare namespace GoogleAppsScript { selectTab(index: Integer): DecoratedTabBar; setHeight(height: string): DecoratedTabBar; setId(id: string): DecoratedTabBar; - setLayoutData(layout: object): DecoratedTabBar; + setLayoutData(layout: any): DecoratedTabBar; setPixelSize(width: Integer, height: Integer): DecoratedTabBar; setSize(width: string, height: string): DecoratedTabBar; setStyleAttribute(attribute: string, value: string): DecoratedTabBar; - setStyleAttributes(attributes: object): DecoratedTabBar; + setStyleAttributes(attributes: any): DecoratedTabBar; setStyleName(styleName: string): DecoratedTabBar; setStylePrimaryName(styleName: string): DecoratedTabBar; setTabEnabled(index: Integer, enabled: boolean): DecoratedTabBar; @@ -752,11 +752,11 @@ declare namespace GoogleAppsScript { setAnimationEnabled(animationEnabled: boolean): DecoratedTabPanel; setHeight(height: string): DecoratedTabPanel; setId(id: string): DecoratedTabPanel; - setLayoutData(layout: object): DecoratedTabPanel; + setLayoutData(layout: any): DecoratedTabPanel; setPixelSize(width: Integer, height: Integer): DecoratedTabPanel; setSize(width: string, height: string): DecoratedTabPanel; setStyleAttribute(attribute: string, value: string): DecoratedTabPanel; - setStyleAttributes(attributes: object): DecoratedTabPanel; + setStyleAttributes(attributes: any): DecoratedTabPanel; setStyleName(styleName: string): DecoratedTabPanel; setStylePrimaryName(styleName: string): DecoratedTabPanel; setTag(tag: string): DecoratedTabPanel; @@ -788,11 +788,11 @@ declare namespace GoogleAppsScript { getType(): string; setHeight(height: string): DecoratorPanel; setId(id: string): DecoratorPanel; - setLayoutData(layout: object): DecoratorPanel; + setLayoutData(layout: any): DecoratorPanel; setPixelSize(width: Integer, height: Integer): DecoratorPanel; setSize(width: string, height: string): DecoratorPanel; setStyleAttribute(attribute: string, value: string): DecoratorPanel; - setStyleAttributes(attributes: object): DecoratorPanel; + setStyleAttributes(attributes: any): DecoratorPanel; setStyleName(styleName: string): DecoratorPanel; setStylePrimaryName(styleName: string): DecoratorPanel; setTag(tag: string): DecoratorPanel; @@ -849,7 +849,7 @@ declare namespace GoogleAppsScript { setHTML(html: string): DialogBox; setHeight(height: string): DialogBox; setId(id: string): DialogBox; - setLayoutData(layout: object): DialogBox; + setLayoutData(layout: any): DialogBox; setModal(modal: boolean): DialogBox; setPixelSize(width: Integer, height: Integer): DialogBox; setPopupPosition(left: Integer, top: Integer): DialogBox; @@ -857,7 +857,7 @@ declare namespace GoogleAppsScript { setPreviewingAllNativeEvents(previewing: boolean): DialogBox; setSize(width: string, height: string): DialogBox; setStyleAttribute(attribute: string, value: string): DialogBox; - setStyleAttributes(attributes: object): DialogBox; + setStyleAttributes(attributes: any): DialogBox; setStyleName(styleName: string): DialogBox; setStylePrimaryName(styleName: string): DialogBox; setTag(tag: string): DialogBox; @@ -992,12 +992,12 @@ declare namespace GoogleAppsScript { setEnabled(enabled: boolean): FileUpload; setHeight(height: string): FileUpload; setId(id: string): FileUpload; - setLayoutData(layout: object): FileUpload; + setLayoutData(layout: any): FileUpload; setName(name: string): FileUpload; setPixelSize(width: Integer, height: Integer): FileUpload; setSize(width: string, height: string): FileUpload; setStyleAttribute(attribute: string, value: string): FileUpload; - setStyleAttributes(attributes: object): FileUpload; + setStyleAttributes(attributes: any): FileUpload; setStyleName(styleName: string): FileUpload; setStylePrimaryName(styleName: string): FileUpload; setTag(tag: string): FileUpload; @@ -1050,18 +1050,18 @@ declare namespace GoogleAppsScript { setCellPadding(padding: Integer): FlexTable; setCellSpacing(spacing: Integer): FlexTable; setColumnStyleAttribute(column: Integer, attribute: string, value: string): FlexTable; - setColumnStyleAttributes(column: Integer, attributes: object): FlexTable; + setColumnStyleAttributes(column: Integer, attributes: any): FlexTable; setHeight(height: string): FlexTable; setId(id: string): FlexTable; - setLayoutData(layout: object): FlexTable; + setLayoutData(layout: any): FlexTable; setPixelSize(width: Integer, height: Integer): FlexTable; setRowStyleAttribute(row: Integer, attribute: string, value: string): FlexTable; - setRowStyleAttributes(row: Integer, attributes: object): FlexTable; + setRowStyleAttributes(row: Integer, attributes: any): FlexTable; setSize(width: string, height: string): FlexTable; setStyleAttribute(row: Integer, column: Integer, attribute: string, value: string): FlexTable; setStyleAttribute(attribute: string, value: string): FlexTable; - setStyleAttributes(row: Integer, column: Integer, attributes: object): FlexTable; - setStyleAttributes(attributes: object): FlexTable; + setStyleAttributes(row: Integer, column: Integer, attributes: any): FlexTable; + setStyleAttributes(attributes: any): FlexTable; setStyleName(styleName: string): FlexTable; setStylePrimaryName(styleName: string): FlexTable; setTag(tag: string): FlexTable; @@ -1105,11 +1105,11 @@ declare namespace GoogleAppsScript { remove(widget: Widget): FlowPanel; setHeight(height: string): FlowPanel; setId(id: string): FlowPanel; - setLayoutData(layout: object): FlowPanel; + setLayoutData(layout: any): FlowPanel; setPixelSize(width: Integer, height: Integer): FlowPanel; setSize(width: string, height: string): FlowPanel; setStyleAttribute(attribute: string, value: string): FlowPanel; - setStyleAttributes(attributes: object): FlowPanel; + setStyleAttributes(attributes: any): FlowPanel; setStyleName(styleName: string): FlowPanel; setStylePrimaryName(styleName: string): FlowPanel; setTag(tag: string): FlowPanel; @@ -1168,11 +1168,11 @@ declare namespace GoogleAppsScript { setFocus(focus: boolean): FocusPanel; setHeight(height: string): FocusPanel; setId(id: string): FocusPanel; - setLayoutData(layout: object): FocusPanel; + setLayoutData(layout: any): FocusPanel; setPixelSize(width: Integer, height: Integer): FocusPanel; setSize(width: string, height: string): FocusPanel; setStyleAttribute(attribute: string, value: string): FocusPanel; - setStyleAttributes(attributes: object): FocusPanel; + setStyleAttributes(attributes: any): FocusPanel; setStyleName(styleName: string): FocusPanel; setStylePrimaryName(styleName: string): FocusPanel; setTabIndex(index: Integer): FocusPanel; @@ -1237,12 +1237,12 @@ declare namespace GoogleAppsScript { setEncoding(encoding: string): FormPanel; setHeight(height: string): FormPanel; setId(id: string): FormPanel; - setLayoutData(layout: object): FormPanel; + setLayoutData(layout: any): FormPanel; setMethod(method: string): FormPanel; setPixelSize(width: Integer, height: Integer): FormPanel; setSize(width: string, height: string): FormPanel; setStyleAttribute(attribute: string, value: string): FormPanel; - setStyleAttributes(attributes: object): FormPanel; + setStyleAttributes(attributes: any): FormPanel; setStyleName(styleName: string): FormPanel; setStylePrimaryName(styleName: string): FormPanel; setTag(tag: string): FormPanel; @@ -1296,18 +1296,18 @@ declare namespace GoogleAppsScript { setCellPadding(padding: Integer): Grid; setCellSpacing(spacing: Integer): Grid; setColumnStyleAttribute(column: Integer, attribute: string, value: string): Grid; - setColumnStyleAttributes(column: Integer, attributes: object): Grid; + setColumnStyleAttributes(column: Integer, attributes: any): Grid; setHeight(height: string): Grid; setId(id: string): Grid; - setLayoutData(layout: object): Grid; + setLayoutData(layout: any): Grid; setPixelSize(width: Integer, height: Integer): Grid; setRowStyleAttribute(row: Integer, attribute: string, value: string): Grid; - setRowStyleAttributes(row: Integer, attributes: object): Grid; + setRowStyleAttributes(row: Integer, attributes: any): Grid; setSize(width: string, height: string): Grid; setStyleAttribute(row: Integer, column: Integer, attribute: string, value: string): Grid; setStyleAttribute(attribute: string, value: string): Grid; - setStyleAttributes(row: Integer, column: Integer, attributes: object): Grid; - setStyleAttributes(attributes: object): Grid; + setStyleAttributes(row: Integer, column: Integer, attributes: any): Grid; + setStyleAttributes(attributes: any): Grid; setStyleName(styleName: string): Grid; setStylePrimaryName(styleName: string): Grid; setTag(tag: string): Grid; @@ -1356,11 +1356,11 @@ declare namespace GoogleAppsScript { setHeight(height: string): HTML; setHorizontalAlignment(horizontalAlignment: HorizontalAlignment): HTML; setId(id: string): HTML; - setLayoutData(layout: object): HTML; + setLayoutData(layout: any): HTML; setPixelSize(width: Integer, height: Integer): HTML; setSize(width: string, height: string): HTML; setStyleAttribute(attribute: string, value: string): HTML; - setStyleAttributes(attributes: object): HTML; + setStyleAttributes(attributes: any): HTML; setStyleName(styleName: string): HTML; setStylePrimaryName(styleName: string): HTML; setTag(tag: string): HTML; @@ -1457,12 +1457,12 @@ declare namespace GoogleAppsScript { setHeight(height: string): Hidden; setID(id: string): Hidden; setId(id: string): Hidden; - setLayoutData(layout: object): Hidden; + setLayoutData(layout: any): Hidden; setName(name: string): Hidden; setPixelSize(width: Integer, height: Integer): Hidden; setSize(width: string, height: string): Hidden; setStyleAttribute(attribute: string, value: string): Hidden; - setStyleAttributes(attributes: object): Hidden; + setStyleAttributes(attributes: any): Hidden; setStyleName(styleName: string): Hidden; setStylePrimaryName(styleName: string): Hidden; setTag(tag: string): Hidden; @@ -1518,12 +1518,12 @@ declare namespace GoogleAppsScript { setHeight(height: string): HorizontalPanel; setHorizontalAlignment(horizontalAlignment: HorizontalAlignment): HorizontalPanel; setId(id: string): HorizontalPanel; - setLayoutData(layout: object): HorizontalPanel; + setLayoutData(layout: any): HorizontalPanel; setPixelSize(width: Integer, height: Integer): HorizontalPanel; setSize(width: string, height: string): HorizontalPanel; setSpacing(spacing: Integer): HorizontalPanel; setStyleAttribute(attribute: string, value: string): HorizontalPanel; - setStyleAttributes(attributes: object): HorizontalPanel; + setStyleAttributes(attributes: any): HorizontalPanel; setStyleName(styleName: string): HorizontalPanel; setStylePrimaryName(styleName: string): HorizontalPanel; setTag(tag: string): HorizontalPanel; @@ -1582,12 +1582,12 @@ declare namespace GoogleAppsScript { getType(): string; setHeight(height: string): Image; setId(id: string): Image; - setLayoutData(layout: object): Image; + setLayoutData(layout: any): Image; setPixelSize(width: Integer, height: Integer): Image; setResource(resource: Component): Image; setSize(width: string, height: string): Image; setStyleAttribute(attribute: string, value: string): Image; - setStyleAttributes(attributes: object): Image; + setStyleAttributes(attributes: any): Image; setStyleName(styleName: string): Image; setStylePrimaryName(styleName: string): Image; setTag(tag: string): Image; @@ -1627,11 +1627,11 @@ declare namespace GoogleAppsScript { setHeight(height: string): InlineLabel; setHorizontalAlignment(horizontalAlignment: HorizontalAlignment): InlineLabel; setId(id: string): InlineLabel; - setLayoutData(layout: object): InlineLabel; + setLayoutData(layout: any): InlineLabel; setPixelSize(width: Integer, height: Integer): InlineLabel; setSize(width: string, height: string): InlineLabel; setStyleAttribute(attribute: string, value: string): InlineLabel; - setStyleAttributes(attributes: object): InlineLabel; + setStyleAttributes(attributes: any): InlineLabel; setStyleName(styleName: string): InlineLabel; setStylePrimaryName(styleName: string): InlineLabel; setTag(tag: string): InlineLabel; @@ -1676,11 +1676,11 @@ declare namespace GoogleAppsScript { setHeight(height: string): Label; setHorizontalAlignment(horizontalAlignment: HorizontalAlignment): Label; setId(id: string): Label; - setLayoutData(layout: object): Label; + setLayoutData(layout: any): Label; setPixelSize(width: Integer, height: Integer): Label; setSize(width: string, height: string): Label; setStyleAttribute(attribute: string, value: string): Label; - setStyleAttributes(attributes: object): Label; + setStyleAttributes(attributes: any): Label; setStyleName(styleName: string): Label; setStylePrimaryName(styleName: string): Label; setTag(tag: string): Label; @@ -1771,13 +1771,13 @@ declare namespace GoogleAppsScript { setId(id: string): ListBox; setItemSelected(index: Integer, selected: boolean): ListBox; setItemText(index: Integer, text: string): ListBox; - setLayoutData(layout: object): ListBox; + setLayoutData(layout: any): ListBox; setName(name: string): ListBox; setPixelSize(width: Integer, height: Integer): ListBox; setSelectedIndex(index: Integer): ListBox; setSize(width: string, height: string): ListBox; setStyleAttribute(attribute: string, value: string): ListBox; - setStyleAttributes(attributes: object): ListBox; + setStyleAttributes(attributes: any): ListBox; setStyleName(styleName: string): ListBox; setStylePrimaryName(styleName: string): ListBox; setTabIndex(index: Integer): ListBox; @@ -1819,11 +1819,11 @@ declare namespace GoogleAppsScript { setAutoOpen(autoOpen: boolean): MenuBar; setHeight(height: string): MenuBar; setId(id: string): MenuBar; - setLayoutData(layout: object): MenuBar; + setLayoutData(layout: any): MenuBar; setPixelSize(width: Integer, height: Integer): MenuBar; setSize(width: string, height: string): MenuBar; setStyleAttribute(attribute: string, value: string): MenuBar; - setStyleAttributes(attributes: object): MenuBar; + setStyleAttributes(attributes: any): MenuBar; setStyleName(styleName: string): MenuBar; setStylePrimaryName(styleName: string): MenuBar; setTag(tag: string): MenuBar; @@ -1857,7 +1857,7 @@ declare namespace GoogleAppsScript { setPixelSize(width: Integer, height: Integer): MenuItem; setSize(width: string, height: string): MenuItem; setStyleAttribute(attribute: string, value: string): MenuItem; - setStyleAttributes(attributes: object): MenuItem; + setStyleAttributes(attributes: any): MenuItem; setStyleName(styleName: string): MenuItem; setStylePrimaryName(styleName: string): MenuItem; setSubMenu(subMenu: MenuBar): MenuItem; @@ -1888,7 +1888,7 @@ declare namespace GoogleAppsScript { setPixelSize(width: Integer, height: Integer): MenuItemSeparator; setSize(width: string, height: string): MenuItemSeparator; setStyleAttribute(attribute: string, value: string): MenuItemSeparator; - setStyleAttributes(attributes: object): MenuItemSeparator; + setStyleAttributes(attributes: any): MenuItemSeparator; setStyleName(styleName: string): MenuItemSeparator; setStylePrimaryName(styleName: string): MenuItemSeparator; setTag(tag: string): MenuItemSeparator; @@ -1963,7 +1963,7 @@ declare namespace GoogleAppsScript { setFocus(focus: boolean): PasswordTextBox; setHeight(height: string): PasswordTextBox; setId(id: string): PasswordTextBox; - setLayoutData(layout: object): PasswordTextBox; + setLayoutData(layout: any): PasswordTextBox; setMaxLength(length: Integer): PasswordTextBox; setName(name: string): PasswordTextBox; setPixelSize(width: Integer, height: Integer): PasswordTextBox; @@ -1971,7 +1971,7 @@ declare namespace GoogleAppsScript { setSelectionRange(position: Integer, length: Integer): PasswordTextBox; setSize(width: string, height: string): PasswordTextBox; setStyleAttribute(attribute: string, value: string): PasswordTextBox; - setStyleAttributes(attributes: object): PasswordTextBox; + setStyleAttributes(attributes: any): PasswordTextBox; setStyleName(styleName: string): PasswordTextBox; setStylePrimaryName(styleName: string): PasswordTextBox; setTabIndex(index: Integer): PasswordTextBox; @@ -2038,7 +2038,7 @@ declare namespace GoogleAppsScript { setGlassStyleName(styleName: string): PopupPanel; setHeight(height: string): PopupPanel; setId(id: string): PopupPanel; - setLayoutData(layout: object): PopupPanel; + setLayoutData(layout: any): PopupPanel; setModal(modal: boolean): PopupPanel; setPixelSize(width: Integer, height: Integer): PopupPanel; setPopupPosition(left: Integer, top: Integer): PopupPanel; @@ -2046,7 +2046,7 @@ declare namespace GoogleAppsScript { setPreviewingAllNativeEvents(previewing: boolean): PopupPanel; setSize(width: string, height: string): PopupPanel; setStyleAttribute(attribute: string, value: string): PopupPanel; - setStyleAttributes(attributes: object): PopupPanel; + setStyleAttributes(attributes: any): PopupPanel; setStyleName(styleName: string): PopupPanel; setStylePrimaryName(styleName: string): PopupPanel; setTag(tag: string): PopupPanel; @@ -2107,11 +2107,11 @@ declare namespace GoogleAppsScript { setHTML(html: string): PushButton; setHeight(height: string): PushButton; setId(id: string): PushButton; - setLayoutData(layout: object): PushButton; + setLayoutData(layout: any): PushButton; setPixelSize(width: Integer, height: Integer): PushButton; setSize(width: string, height: string): PushButton; setStyleAttribute(attribute: string, value: string): PushButton; - setStyleAttributes(attributes: object): PushButton; + setStyleAttributes(attributes: any): PushButton; setStyleName(styleName: string): PushButton; setStylePrimaryName(styleName: string): PushButton; setTabIndex(index: Integer): PushButton; @@ -2177,12 +2177,12 @@ declare namespace GoogleAppsScript { setHTML(html: string): RadioButton; setHeight(height: string): RadioButton; setId(id: string): RadioButton; - setLayoutData(layout: object): RadioButton; + setLayoutData(layout: any): RadioButton; setName(name: string): RadioButton; setPixelSize(width: Integer, height: Integer): RadioButton; setSize(width: string, height: string): RadioButton; setStyleAttribute(attribute: string, value: string): RadioButton; - setStyleAttributes(attributes: object): RadioButton; + setStyleAttributes(attributes: any): RadioButton; setStyleName(styleName: string): RadioButton; setStylePrimaryName(styleName: string): RadioButton; setTabIndex(index: Integer): RadioButton; @@ -2242,11 +2242,11 @@ declare namespace GoogleAppsScript { setHTML(html: string): ResetButton; setHeight(height: string): ResetButton; setId(id: string): ResetButton; - setLayoutData(layout: object): ResetButton; + setLayoutData(layout: any): ResetButton; setPixelSize(width: Integer, height: Integer): ResetButton; setSize(width: string, height: string): ResetButton; setStyleAttribute(attribute: string, value: string): ResetButton; - setStyleAttributes(attributes: object): ResetButton; + setStyleAttributes(attributes: any): ResetButton; setStyleName(styleName: string): ResetButton; setStylePrimaryName(styleName: string): ResetButton; setTabIndex(index: Integer): ResetButton; @@ -2297,12 +2297,12 @@ declare namespace GoogleAppsScript { setHeight(height: string): ScrollPanel; setHorizontalScrollPosition(position: Integer): ScrollPanel; setId(id: string): ScrollPanel; - setLayoutData(layout: object): ScrollPanel; + setLayoutData(layout: any): ScrollPanel; setPixelSize(width: Integer, height: Integer): ScrollPanel; setScrollPosition(position: Integer): ScrollPanel; setSize(width: string, height: string): ScrollPanel; setStyleAttribute(attribute: string, value: string): ScrollPanel; - setStyleAttributes(attributes: object): ScrollPanel; + setStyleAttributes(attributes: any): ScrollPanel; setStyleName(styleName: string): ScrollPanel; setStylePrimaryName(styleName: string): ScrollPanel; setTag(tag: string): ScrollPanel; @@ -2397,12 +2397,12 @@ declare namespace GoogleAppsScript { setFocus(focus: boolean): SimpleCheckBox; setHeight(height: string): SimpleCheckBox; setId(id: string): SimpleCheckBox; - setLayoutData(layout: object): SimpleCheckBox; + setLayoutData(layout: any): SimpleCheckBox; setName(name: string): SimpleCheckBox; setPixelSize(width: Integer, height: Integer): SimpleCheckBox; setSize(width: string, height: string): SimpleCheckBox; setStyleAttribute(attribute: string, value: string): SimpleCheckBox; - setStyleAttributes(attributes: object): SimpleCheckBox; + setStyleAttributes(attributes: any): SimpleCheckBox; setStyleName(styleName: string): SimpleCheckBox; setStylePrimaryName(styleName: string): SimpleCheckBox; setTabIndex(index: Integer): SimpleCheckBox; @@ -2447,11 +2447,11 @@ declare namespace GoogleAppsScript { getType(): string; setHeight(height: string): SimplePanel; setId(id: string): SimplePanel; - setLayoutData(layout: object): SimplePanel; + setLayoutData(layout: any): SimplePanel; setPixelSize(width: Integer, height: Integer): SimplePanel; setSize(width: string, height: string): SimplePanel; setStyleAttribute(attribute: string, value: string): SimplePanel; - setStyleAttributes(attributes: object): SimplePanel; + setStyleAttributes(attributes: any): SimplePanel; setStyleName(styleName: string): SimplePanel; setStylePrimaryName(styleName: string): SimplePanel; setTag(tag: string): SimplePanel; @@ -2496,12 +2496,12 @@ declare namespace GoogleAppsScript { setFocus(focus: boolean): SimpleRadioButton; setHeight(height: string): SimpleRadioButton; setId(id: string): SimpleRadioButton; - setLayoutData(layout: object): SimpleRadioButton; + setLayoutData(layout: any): SimpleRadioButton; setName(name: string): SimpleRadioButton; setPixelSize(width: Integer, height: Integer): SimpleRadioButton; setSize(width: string, height: string): SimpleRadioButton; setStyleAttribute(attribute: string, value: string): SimpleRadioButton; - setStyleAttributes(attributes: object): SimpleRadioButton; + setStyleAttributes(attributes: any): SimpleRadioButton; setStyleName(styleName: string): SimpleRadioButton; setStylePrimaryName(styleName: string): SimpleRadioButton; setTabIndex(index: Integer): SimpleRadioButton; @@ -2539,11 +2539,11 @@ declare namespace GoogleAppsScript { remove(widget: Widget): SplitLayoutPanel; setHeight(height: string): SplitLayoutPanel; setId(id: string): SplitLayoutPanel; - setLayoutData(layout: object): SplitLayoutPanel; + setLayoutData(layout: any): SplitLayoutPanel; setPixelSize(width: Integer, height: Integer): SplitLayoutPanel; setSize(width: string, height: string): SplitLayoutPanel; setStyleAttribute(attribute: string, value: string): SplitLayoutPanel; - setStyleAttributes(attributes: object): SplitLayoutPanel; + setStyleAttributes(attributes: any): SplitLayoutPanel; setStyleName(styleName: string): SplitLayoutPanel; setStylePrimaryName(styleName: string): SplitLayoutPanel; setTag(tag: string): SplitLayoutPanel; @@ -2577,13 +2577,13 @@ declare namespace GoogleAppsScript { remove(widget: Widget): StackPanel; setHeight(height: string): StackPanel; setId(id: string): StackPanel; - setLayoutData(layout: object): StackPanel; + setLayoutData(layout: any): StackPanel; setPixelSize(width: Integer, height: Integer): StackPanel; setSize(width: string, height: string): StackPanel; setStackText(index: Integer, text: string): StackPanel; setStackText(index: Integer, text: string, asHtml: boolean): StackPanel; setStyleAttribute(attribute: string, value: string): StackPanel; - setStyleAttributes(attributes: object): StackPanel; + setStyleAttributes(attributes: any): StackPanel; setStyleName(styleName: string): StackPanel; setStylePrimaryName(styleName: string): StackPanel; setTag(tag: string): StackPanel; @@ -2646,11 +2646,11 @@ declare namespace GoogleAppsScript { setHTML(html: string): SubmitButton; setHeight(height: string): SubmitButton; setId(id: string): SubmitButton; - setLayoutData(layout: object): SubmitButton; + setLayoutData(layout: any): SubmitButton; setPixelSize(width: Integer, height: Integer): SubmitButton; setSize(width: string, height: string): SubmitButton; setStyleAttribute(attribute: string, value: string): SubmitButton; - setStyleAttributes(attributes: object): SubmitButton; + setStyleAttributes(attributes: any): SubmitButton; setStyleName(styleName: string): SubmitButton; setStylePrimaryName(styleName: string): SubmitButton; setTabIndex(index: Integer): SubmitButton; @@ -2689,13 +2689,13 @@ declare namespace GoogleAppsScript { setFocus(focus: boolean): SuggestBox; setHeight(height: string): SuggestBox; setId(id: string): SuggestBox; - setLayoutData(layout: object): SuggestBox; + setLayoutData(layout: any): SuggestBox; setLimit(limit: Integer): SuggestBox; setPixelSize(width: Integer, height: Integer): SuggestBox; setPopupStyleName(styleName: string): SuggestBox; setSize(width: string, height: string): SuggestBox; setStyleAttribute(attribute: string, value: string): SuggestBox; - setStyleAttributes(attributes: object): SuggestBox; + setStyleAttributes(attributes: any): SuggestBox; setStyleName(styleName: string): SuggestBox; setStylePrimaryName(styleName: string): SuggestBox; setTabIndex(index: Integer): SuggestBox; @@ -2731,11 +2731,11 @@ declare namespace GoogleAppsScript { selectTab(index: Integer): TabBar; setHeight(height: string): TabBar; setId(id: string): TabBar; - setLayoutData(layout: object): TabBar; + setLayoutData(layout: any): TabBar; setPixelSize(width: Integer, height: Integer): TabBar; setSize(width: string, height: string): TabBar; setStyleAttribute(attribute: string, value: string): TabBar; - setStyleAttributes(attributes: object): TabBar; + setStyleAttributes(attributes: any): TabBar; setStyleName(styleName: string): TabBar; setStylePrimaryName(styleName: string): TabBar; setTabEnabled(index: Integer, enabled: boolean): TabBar; @@ -2772,11 +2772,11 @@ declare namespace GoogleAppsScript { setAnimationEnabled(animationEnabled: boolean): TabPanel; setHeight(height: string): TabPanel; setId(id: string): TabPanel; - setLayoutData(layout: object): TabPanel; + setLayoutData(layout: any): TabPanel; setPixelSize(width: Integer, height: Integer): TabPanel; setSize(width: string, height: string): TabPanel; setStyleAttribute(attribute: string, value: string): TabPanel; - setStyleAttributes(attributes: object): TabPanel; + setStyleAttributes(attributes: any): TabPanel; setStyleName(styleName: string): TabPanel; setStylePrimaryName(styleName: string): TabPanel; setTag(tag: string): TabPanel; @@ -2842,14 +2842,14 @@ declare namespace GoogleAppsScript { setFocus(focus: boolean): TextArea; setHeight(height: string): TextArea; setId(id: string): TextArea; - setLayoutData(layout: object): TextArea; + setLayoutData(layout: any): TextArea; setName(name: string): TextArea; setPixelSize(width: Integer, height: Integer): TextArea; setReadOnly(readOnly: boolean): TextArea; setSelectionRange(position: Integer, length: Integer): TextArea; setSize(width: string, height: string): TextArea; setStyleAttribute(attribute: string, value: string): TextArea; - setStyleAttributes(attributes: object): TextArea; + setStyleAttributes(attributes: any): TextArea; setStyleName(styleName: string): TextArea; setStylePrimaryName(styleName: string): TextArea; setTabIndex(index: Integer): TextArea; @@ -2920,7 +2920,7 @@ declare namespace GoogleAppsScript { setFocus(focus: boolean): TextBox; setHeight(height: string): TextBox; setId(id: string): TextBox; - setLayoutData(layout: object): TextBox; + setLayoutData(layout: any): TextBox; setMaxLength(length: Integer): TextBox; setName(name: string): TextBox; setPixelSize(width: Integer, height: Integer): TextBox; @@ -2928,7 +2928,7 @@ declare namespace GoogleAppsScript { setSelectionRange(position: Integer, length: Integer): TextBox; setSize(width: string, height: string): TextBox; setStyleAttribute(attribute: string, value: string): TextBox; - setStyleAttributes(attributes: object): TextBox; + setStyleAttributes(attributes: any): TextBox; setStyleName(styleName: string): TextBox; setStylePrimaryName(styleName: string): TextBox; setTabIndex(index: Integer): TextBox; @@ -2978,11 +2978,11 @@ declare namespace GoogleAppsScript { setHTML(html: string): ToggleButton; setHeight(height: string): ToggleButton; setId(id: string): ToggleButton; - setLayoutData(layout: object): ToggleButton; + setLayoutData(layout: any): ToggleButton; setPixelSize(width: Integer, height: Integer): ToggleButton; setSize(width: string, height: string): ToggleButton; setStyleAttribute(attribute: string, value: string): ToggleButton; - setStyleAttributes(attributes: object): ToggleButton; + setStyleAttributes(attributes: any): ToggleButton; setStyleName(styleName: string): ToggleButton; setStylePrimaryName(styleName: string): ToggleButton; setTabIndex(index: Integer): ToggleButton; @@ -3033,13 +3033,13 @@ declare namespace GoogleAppsScript { setFocus(focus: boolean): Tree; setHeight(height: string): Tree; setId(id: string): Tree; - setLayoutData(layout: object): Tree; + setLayoutData(layout: any): Tree; setPixelSize(width: Integer, height: Integer): Tree; setSelectedItem(item: TreeItem): Tree; setSelectedItem(item: TreeItem, fireEvents: boolean): Tree; setSize(width: string, height: string): Tree; setStyleAttribute(attribute: string, value: string): Tree; - setStyleAttributes(attributes: object): Tree; + setStyleAttributes(attributes: any): Tree; setStyleName(styleName: string): Tree; setStylePrimaryName(styleName: string): Tree; setTabIndex(index: Integer): Tree; @@ -3077,13 +3077,13 @@ declare namespace GoogleAppsScript { setState(open: boolean): TreeItem; setState(open: boolean, fireEvents: boolean): TreeItem; setStyleAttribute(attribute: string, value: string): TreeItem; - setStyleAttributes(attributes: object): TreeItem; + setStyleAttributes(attributes: any): TreeItem; setStyleName(styleName: string): TreeItem; setStylePrimaryName(styleName: string): TreeItem; setTag(tag: string): TreeItem; setText(text: string): TreeItem; setTitle(title: string): TreeItem; - setUserObject(a: object): TreeItem; + setUserObject(a: any): TreeItem; setVisible(visible: boolean): TreeItem; setWidget(widget: Widget): TreeItem; setWidth(width: string): TreeItem; @@ -3243,7 +3243,7 @@ declare namespace GoogleAppsScript { getId(): string; isStandardsMode(): boolean; loadComponent(componentName: string): Component; - loadComponent(componentName: string, optAdvancedArgs: object): Component; + loadComponent(componentName: string, optAdvancedArgs: any): Component; remove(index: Integer): UiInstance; remove(widget: Widget): UiInstance; setHeight(height: Integer): UiInstance; @@ -3299,12 +3299,12 @@ declare namespace GoogleAppsScript { setHeight(height: string): VerticalPanel; setHorizontalAlignment(horizontalAlignment: HorizontalAlignment): VerticalPanel; setId(id: string): VerticalPanel; - setLayoutData(layout: object): VerticalPanel; + setLayoutData(layout: any): VerticalPanel; setPixelSize(width: Integer, height: Integer): VerticalPanel; setSize(width: string, height: string): VerticalPanel; setSpacing(spacing: Integer): VerticalPanel; setStyleAttribute(attribute: string, value: string): VerticalPanel; - setStyleAttributes(attributes: object): VerticalPanel; + setStyleAttributes(attributes: any): VerticalPanel; setStyleName(styleName: string): VerticalPanel; setStylePrimaryName(styleName: string): VerticalPanel; setTag(tag: string): VerticalPanel; diff --git a/types/google-apps-script/google-apps-script.url-fetch.d.ts b/types/google-apps-script/google-apps-script.url-fetch.d.ts index a5965027f8..51936384e1 100644 --- a/types/google-apps-script/google-apps-script.url-fetch.d.ts +++ b/types/google-apps-script/google-apps-script.url-fetch.d.ts @@ -104,8 +104,8 @@ declare namespace GoogleAppsScript { */ export interface UrlFetchApp { fetch(url: string, params?: URLFetchRequestOptions): HTTPResponse; - fetchAll(requests: object[]): HTTPResponse[]; - getRequest(url: string, params?: URLFetchRequestOptions): object; + fetchAll(requests: any[]): HTTPResponse[]; + getRequest(url: string, params?: URLFetchRequestOptions): any; } } diff --git a/types/google-apps-script/google-apps-script.utilities.d.ts b/types/google-apps-script/google-apps-script.utilities.d.ts index 585423a9e5..a7c99f0245 100644 --- a/types/google-apps-script/google-apps-script.utilities.d.ts +++ b/types/google-apps-script/google-apps-script.utilities.d.ts @@ -63,7 +63,7 @@ declare namespace GoogleAppsScript { computeRsaSignature(algorithm: RsaAlgorithm, value: string, key: string): Byte[]; computeRsaSignature(algorithm: RsaAlgorithm, value: string, key: string, charset: Charset): Byte[]; formatDate(date: Date, timeZone: string, format: string): string; - formatString(template: string, ...args: object[]): string; + formatString(template: string, ...args: any[]): string; getUuid(): string; gzip(blob: Base.BlobSource): Base.Blob; gzip(blob: Base.BlobSource, name: string): Base.Blob;