UNPKG

gas-types-detailed

Version:

Detailed Google Apps Script Type Definitions. Forked from Definitely Typed @types/google-apps-script. Adds full documentation and urls.

825 lines (824 loc) 122 kB
// Type definitions for Google Apps Script 2019-03-25 // Project: https://developers.google.com/apps-script/ // Generator: https://github.com/grant/google-apps-script-dts // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare namespace GoogleAppsScript { namespace Content { namespace Collection { interface AccountsCollection { // Returns information about the authenticated user. authinfo(): Content.Schema.AccountsAuthInfoResponse; // Claims the website of a Merchant Center sub-account. claimwebsite(merchantId: string, accountId: string): Content.Schema.AccountsClaimWebsiteResponse; // Claims the website of a Merchant Center sub-account. claimwebsite(merchantId: string, accountId: string, optionalArgs: object): Content.Schema.AccountsClaimWebsiteResponse; // Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-)accounts in a single request. custombatch(resource: Schema.AccountsCustomBatchRequest): Content.Schema.AccountsCustomBatchResponse; // Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-)accounts in a single request. custombatch(resource: Schema.AccountsCustomBatchRequest, optionalArgs: object): Content.Schema.AccountsCustomBatchResponse; // Retrieves a Merchant Center account. get(merchantId: string, accountId: string): Content.Schema.Account; // Creates a Merchant Center sub-account. insert(resource: Schema.Account, merchantId: string): Content.Schema.Account; // Creates a Merchant Center sub-account. insert(resource: Schema.Account, merchantId: string, optionalArgs: object): Content.Schema.Account; // Performs an action on a link between a Merchant Center account and another account. link(resource: Schema.AccountsLinkRequest, merchantId: string, accountId: string): Content.Schema.AccountsLinkResponse; // Lists the sub-accounts in your Merchant Center account. list(merchantId: string): Content.Schema.AccountsListResponse; // Lists the sub-accounts in your Merchant Center account. list(merchantId: string, optionalArgs: object): Content.Schema.AccountsListResponse; // Updates a Merchant Center account. This method supports patch semantics. patch(resource: Schema.Account, merchantId: string, accountId: string): Content.Schema.Account; // Updates a Merchant Center account. This method supports patch semantics. patch(resource: Schema.Account, merchantId: string, accountId: string, optionalArgs: object): Content.Schema.Account; // Deletes a Merchant Center sub-account. remove(merchantId: string, accountId: string): void; // Deletes a Merchant Center sub-account. remove(merchantId: string, accountId: string, optionalArgs: object): void; // Updates a Merchant Center account. update(resource: Schema.Account, merchantId: string, accountId: string): Content.Schema.Account; // Updates a Merchant Center account. update(resource: Schema.Account, merchantId: string, accountId: string, optionalArgs: object): Content.Schema.Account; } interface AccountstatusesCollection { // Retrieves multiple Merchant Center account statuses in a single request. custombatch(resource: Schema.AccountstatusesCustomBatchRequest): Content.Schema.AccountstatusesCustomBatchResponse; // Retrieves the status of a Merchant Center account. No itemLevelIssues are returned for multi-client accounts. get(merchantId: string, accountId: string): Content.Schema.AccountStatus; // Retrieves the status of a Merchant Center account. No itemLevelIssues are returned for multi-client accounts. get(merchantId: string, accountId: string, optionalArgs: object): Content.Schema.AccountStatus; // Lists the statuses of the sub-accounts in your Merchant Center account. list(merchantId: string): Content.Schema.AccountstatusesListResponse; // Lists the statuses of the sub-accounts in your Merchant Center account. list(merchantId: string, optionalArgs: object): Content.Schema.AccountstatusesListResponse; } interface AccounttaxCollection { // Retrieves and updates tax settings of multiple accounts in a single request. custombatch(resource: Schema.AccounttaxCustomBatchRequest): Content.Schema.AccounttaxCustomBatchResponse; // Retrieves and updates tax settings of multiple accounts in a single request. custombatch(resource: Schema.AccounttaxCustomBatchRequest, optionalArgs: object): Content.Schema.AccounttaxCustomBatchResponse; // Retrieves the tax settings of the account. get(merchantId: string, accountId: string): Content.Schema.AccountTax; // Lists the tax settings of the sub-accounts in your Merchant Center account. list(merchantId: string): Content.Schema.AccounttaxListResponse; // Lists the tax settings of the sub-accounts in your Merchant Center account. list(merchantId: string, optionalArgs: object): Content.Schema.AccounttaxListResponse; // Updates the tax settings of the account. This method supports patch semantics. patch(resource: Schema.AccountTax, merchantId: string, accountId: string): Content.Schema.AccountTax; // Updates the tax settings of the account. This method supports patch semantics. patch(resource: Schema.AccountTax, merchantId: string, accountId: string, optionalArgs: object): Content.Schema.AccountTax; // Updates the tax settings of the account. update(resource: Schema.AccountTax, merchantId: string, accountId: string): Content.Schema.AccountTax; // Updates the tax settings of the account. update(resource: Schema.AccountTax, merchantId: string, accountId: string, optionalArgs: object): Content.Schema.AccountTax; } interface DatafeedsCollection { // Deletes, fetches, gets, inserts and updates multiple datafeeds in a single request. custombatch(resource: Schema.DatafeedsCustomBatchRequest): Content.Schema.DatafeedsCustomBatchResponse; // Deletes, fetches, gets, inserts and updates multiple datafeeds in a single request. custombatch(resource: Schema.DatafeedsCustomBatchRequest, optionalArgs: object): Content.Schema.DatafeedsCustomBatchResponse; // Invokes a fetch for the datafeed in your Merchant Center account. fetchnow(merchantId: string, datafeedId: string): Content.Schema.DatafeedsFetchNowResponse; // Invokes a fetch for the datafeed in your Merchant Center account. fetchnow(merchantId: string, datafeedId: string, optionalArgs: object): Content.Schema.DatafeedsFetchNowResponse; // Retrieves a datafeed configuration from your Merchant Center account. get(merchantId: string, datafeedId: string): Content.Schema.Datafeed; // Registers a datafeed configuration with your Merchant Center account. insert(resource: Schema.Datafeed, merchantId: string): Content.Schema.Datafeed; // Registers a datafeed configuration with your Merchant Center account. insert(resource: Schema.Datafeed, merchantId: string, optionalArgs: object): Content.Schema.Datafeed; // Lists the configurations for datafeeds in your Merchant Center account. list(merchantId: string): Content.Schema.DatafeedsListResponse; // Lists the configurations for datafeeds in your Merchant Center account. list(merchantId: string, optionalArgs: object): Content.Schema.DatafeedsListResponse; // Updates a datafeed configuration of your Merchant Center account. This method supports patch semantics. patch(resource: Schema.Datafeed, merchantId: string, datafeedId: string): Content.Schema.Datafeed; // Updates a datafeed configuration of your Merchant Center account. This method supports patch semantics. patch(resource: Schema.Datafeed, merchantId: string, datafeedId: string, optionalArgs: object): Content.Schema.Datafeed; // Deletes a datafeed configuration from your Merchant Center account. remove(merchantId: string, datafeedId: string): void; // Deletes a datafeed configuration from your Merchant Center account. remove(merchantId: string, datafeedId: string, optionalArgs: object): void; // Updates a datafeed configuration of your Merchant Center account. update(resource: Schema.Datafeed, merchantId: string, datafeedId: string): Content.Schema.Datafeed; // Updates a datafeed configuration of your Merchant Center account. update(resource: Schema.Datafeed, merchantId: string, datafeedId: string, optionalArgs: object): Content.Schema.Datafeed; } interface DatafeedstatusesCollection { // Gets multiple Merchant Center datafeed statuses in a single request. custombatch(resource: Schema.DatafeedstatusesCustomBatchRequest): Content.Schema.DatafeedstatusesCustomBatchResponse; // Retrieves the status of a datafeed from your Merchant Center account. get(merchantId: string, datafeedId: string): Content.Schema.DatafeedStatus; // Retrieves the status of a datafeed from your Merchant Center account. get(merchantId: string, datafeedId: string, optionalArgs: object): Content.Schema.DatafeedStatus; // Lists the statuses of the datafeeds in your Merchant Center account. list(merchantId: string): Content.Schema.DatafeedstatusesListResponse; // Lists the statuses of the datafeeds in your Merchant Center account. list(merchantId: string, optionalArgs: object): Content.Schema.DatafeedstatusesListResponse; } interface InventoryCollection { // Updates price and availability for multiple products or stores in a single request. This operation does not update the expiration date of the products. custombatch(resource: Schema.InventoryCustomBatchRequest): Content.Schema.InventoryCustomBatchResponse; // Updates price and availability for multiple products or stores in a single request. This operation does not update the expiration date of the products. custombatch(resource: Schema.InventoryCustomBatchRequest, optionalArgs: object): Content.Schema.InventoryCustomBatchResponse; // Updates price and availability of a product in your Merchant Center account. set(resource: Schema.InventorySetRequest, merchantId: string, storeCode: string, productId: string): Content.Schema.InventorySetResponse; // Updates price and availability of a product in your Merchant Center account. set(resource: Schema.InventorySetRequest, merchantId: string, storeCode: string, productId: string, optionalArgs: object): Content.Schema.InventorySetResponse; } interface LiasettingsCollection { // Retrieves and/or updates the LIA settings of multiple accounts in a single request. custombatch(resource: Schema.LiasettingsCustomBatchRequest): Content.Schema.LiasettingsCustomBatchResponse; // Retrieves and/or updates the LIA settings of multiple accounts in a single request. custombatch(resource: Schema.LiasettingsCustomBatchRequest, optionalArgs: object): Content.Schema.LiasettingsCustomBatchResponse; // Retrieves the LIA settings of the account. get(merchantId: string, accountId: string): Content.Schema.LiaSettings; // Retrieves the list of accessible Google My Business accounts. getaccessiblegmbaccounts(merchantId: string, accountId: string): Content.Schema.LiasettingsGetAccessibleGmbAccountsResponse; // Lists the LIA settings of the sub-accounts in your Merchant Center account. list(merchantId: string): Content.Schema.LiasettingsListResponse; // Lists the LIA settings of the sub-accounts in your Merchant Center account. list(merchantId: string, optionalArgs: object): Content.Schema.LiasettingsListResponse; // Retrieves the list of POS data providers that have active settings for the all eiligible countries. listposdataproviders(): Content.Schema.LiasettingsListPosDataProvidersResponse; // Updates the LIA settings of the account. This method supports patch semantics. patch(resource: Schema.LiaSettings, merchantId: string, accountId: string): Content.Schema.LiaSettings; // Updates the LIA settings of the account. This method supports patch semantics. patch(resource: Schema.LiaSettings, merchantId: string, accountId: string, optionalArgs: object): Content.Schema.LiaSettings; // Requests access to a specified Google My Business account. requestgmbaccess(merchantId: string, accountId: string, gmbEmail: string): Content.Schema.LiasettingsRequestGmbAccessResponse; // Requests inventory validation for the specified country. requestinventoryverification(merchantId: string, accountId: string, country: string): Content.Schema.LiasettingsRequestInventoryVerificationResponse; // Sets the inventory verification contract for the specified country. setinventoryverificationcontact(merchantId: string, accountId: string, contactEmail: string, contactName: string, country: string, language: string): Content.Schema.LiasettingsSetInventoryVerificationContactResponse; // Sets the POS data provider for the specified country. setposdataprovider(merchantId: string, accountId: string, country: string): Content.Schema.LiasettingsSetPosDataProviderResponse; // Sets the POS data provider for the specified country. setposdataprovider(merchantId: string, accountId: string, country: string, optionalArgs: object): Content.Schema.LiasettingsSetPosDataProviderResponse; // Updates the LIA settings of the account. update(resource: Schema.LiaSettings, merchantId: string, accountId: string): Content.Schema.LiaSettings; // Updates the LIA settings of the account. update(resource: Schema.LiaSettings, merchantId: string, accountId: string, optionalArgs: object): Content.Schema.LiaSettings; } interface OrderinvoicesCollection { // Creates a charge invoice for a shipment group, and triggers a charge capture for non-facilitated payment orders. createchargeinvoice(resource: Schema.OrderinvoicesCreateChargeInvoiceRequest, merchantId: string, orderId: string): Content.Schema.OrderinvoicesCreateChargeInvoiceResponse; // Creates a refund invoice for one or more shipment groups, and triggers a refund for non-facilitated payment orders. This can only be used for line items that have previously been charged using createChargeInvoice. All amounts (except for the summary) are incremental with respect to the previous invoice. createrefundinvoice(resource: Schema.OrderinvoicesCreateRefundInvoiceRequest, merchantId: string, orderId: string): Content.Schema.OrderinvoicesCreateRefundInvoiceResponse; } interface OrderpaymentsCollection { // Notify about successfully authorizing user's payment method for a given amount. notifyauthapproved(resource: Schema.OrderpaymentsNotifyAuthApprovedRequest, merchantId: string, orderId: string): Content.Schema.OrderpaymentsNotifyAuthApprovedResponse; // Notify about failure to authorize user's payment method. notifyauthdeclined(resource: Schema.OrderpaymentsNotifyAuthDeclinedRequest, merchantId: string, orderId: string): Content.Schema.OrderpaymentsNotifyAuthDeclinedResponse; // Notify about charge on user's selected payments method. notifycharge(resource: Schema.OrderpaymentsNotifyChargeRequest, merchantId: string, orderId: string): Content.Schema.OrderpaymentsNotifyChargeResponse; // Notify about refund on user's selected payments method. notifyrefund(resource: Schema.OrderpaymentsNotifyRefundRequest, merchantId: string, orderId: string): Content.Schema.OrderpaymentsNotifyRefundResponse; } interface OrderreportsCollection { // Retrieves a report for disbursements from your Merchant Center account. listdisbursements(merchantId: string, disbursementStartDate: string): Content.Schema.OrderreportsListDisbursementsResponse; // Retrieves a report for disbursements from your Merchant Center account. listdisbursements(merchantId: string, disbursementStartDate: string, optionalArgs: object): Content.Schema.OrderreportsListDisbursementsResponse; // Retrieves a list of transactions for a disbursement from your Merchant Center account. listtransactions(merchantId: string, disbursementId: string, transactionStartDate: string): Content.Schema.OrderreportsListTransactionsResponse; // Retrieves a list of transactions for a disbursement from your Merchant Center account. listtransactions(merchantId: string, disbursementId: string, transactionStartDate: string, optionalArgs: object): Content.Schema.OrderreportsListTransactionsResponse; } interface OrderreturnsCollection { // Retrieves an order return from your Merchant Center account. get(merchantId: string, returnId: string): Content.Schema.MerchantOrderReturn; // Lists order returns in your Merchant Center account. list(merchantId: string): Content.Schema.OrderreturnsListResponse; // Lists order returns in your Merchant Center account. list(merchantId: string, optionalArgs: object): Content.Schema.OrderreturnsListResponse; } interface OrdersCollection { // Marks an order as acknowledged. acknowledge(resource: Schema.OrdersAcknowledgeRequest, merchantId: string, orderId: string): Content.Schema.OrdersAcknowledgeResponse; // Sandbox only. Moves a test order from state "inProgress" to state "pendingShipment". advancetestorder(merchantId: string, orderId: string): Content.Schema.OrdersAdvanceTestOrderResponse; // Cancels all line items in an order, making a full refund. cancel(resource: Schema.OrdersCancelRequest, merchantId: string, orderId: string): Content.Schema.OrdersCancelResponse; // Cancels a line item, making a full refund. cancellineitem(resource: Schema.OrdersCancelLineItemRequest, merchantId: string, orderId: string): Content.Schema.OrdersCancelLineItemResponse; // Sandbox only. Cancels a test order for customer-initiated cancellation. canceltestorderbycustomer(resource: Schema.OrdersCancelTestOrderByCustomerRequest, merchantId: string, orderId: string): Content.Schema.OrdersCancelTestOrderByCustomerResponse; // Sandbox only. Creates a test order. createtestorder(resource: Schema.OrdersCreateTestOrderRequest, merchantId: string): Content.Schema.OrdersCreateTestOrderResponse; // Sandbox only. Creates a test return. createtestreturn(resource: Schema.OrdersCreateTestReturnRequest, merchantId: string, orderId: string): Content.Schema.OrdersCreateTestReturnResponse; // Retrieves or modifies multiple orders in a single request. custombatch(resource: Schema.OrdersCustomBatchRequest): Content.Schema.OrdersCustomBatchResponse; // Retrieves an order from your Merchant Center account. get(merchantId: string, orderId: string): Content.Schema.Order; // Retrieves an order using merchant order ID. getbymerchantorderid(merchantId: string, merchantOrderId: string): Content.Schema.OrdersGetByMerchantOrderIdResponse; // Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox. gettestordertemplate(merchantId: string, templateName: string): Content.Schema.OrdersGetTestOrderTemplateResponse; // Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox. gettestordertemplate(merchantId: string, templateName: string, optionalArgs: object): Content.Schema.OrdersGetTestOrderTemplateResponse; // Notifies that item return and refund was handled directly by merchant outside of Google payments processing (e.g. cash refund done in store). // Note: We recommend calling the returnrefundlineitem method to refund in-store returns. We will issue the refund directly to the customer. This helps to prevent possible differences arising between merchant and Google transaction records. We also recommend having the point of sale system communicate with Google to ensure that customers do not receive a double refund by first refunding via Google then via an in-store return. instorerefundlineitem(resource: Schema.OrdersInStoreRefundLineItemRequest, merchantId: string, orderId: string): Content.Schema.OrdersInStoreRefundLineItemResponse; // Lists the orders in your Merchant Center account. list(merchantId: string): Content.Schema.OrdersListResponse; // Lists the orders in your Merchant Center account. list(merchantId: string, optionalArgs: object): Content.Schema.OrdersListResponse; // Deprecated, please use returnRefundLineItem instead. refund(resource: Schema.OrdersRefundRequest, merchantId: string, orderId: string): Content.Schema.OrdersRefundResponse; // Rejects return on an line item. rejectreturnlineitem(resource: Schema.OrdersRejectReturnLineItemRequest, merchantId: string, orderId: string): Content.Schema.OrdersRejectReturnLineItemResponse; // Returns a line item. returnlineitem(resource: Schema.OrdersReturnLineItemRequest, merchantId: string, orderId: string): Content.Schema.OrdersReturnLineItemResponse; // Returns and refunds a line item. Note that this method can only be called on fully shipped orders. returnrefundlineitem(resource: Schema.OrdersReturnRefundLineItemRequest, merchantId: string, orderId: string): Content.Schema.OrdersReturnRefundLineItemResponse; // Sets (or overrides if it already exists) merchant provided annotations in the form of key-value pairs. A common use case would be to supply us with additional structured information about a line item that cannot be provided via other methods. Submitted key-value pairs can be retrieved as part of the orders resource. setlineitemmetadata(resource: Schema.OrdersSetLineItemMetadataRequest, merchantId: string, orderId: string): Content.Schema.OrdersSetLineItemMetadataResponse; // Marks line item(s) as shipped. shiplineitems(resource: Schema.OrdersShipLineItemsRequest, merchantId: string, orderId: string): Content.Schema.OrdersShipLineItemsResponse; // Updates ship by and delivery by dates for a line item. updatelineitemshippingdetails(resource: Schema.OrdersUpdateLineItemShippingDetailsRequest, merchantId: string, orderId: string): Content.Schema.OrdersUpdateLineItemShippingDetailsResponse; // Updates the merchant order ID for a given order. updatemerchantorderid(resource: Schema.OrdersUpdateMerchantOrderIdRequest, merchantId: string, orderId: string): Content.Schema.OrdersUpdateMerchantOrderIdResponse; // Updates a shipment's status, carrier, and/or tracking ID. updateshipment(resource: Schema.OrdersUpdateShipmentRequest, merchantId: string, orderId: string): Content.Schema.OrdersUpdateShipmentResponse; } interface PosCollection { // Batches multiple POS-related calls in a single request. custombatch(resource: Schema.PosCustomBatchRequest): Content.Schema.PosCustomBatchResponse; // Batches multiple POS-related calls in a single request. custombatch(resource: Schema.PosCustomBatchRequest, optionalArgs: object): Content.Schema.PosCustomBatchResponse; // Retrieves information about the given store. get(merchantId: string, targetMerchantId: string, storeCode: string): Content.Schema.PosStore; // Creates a store for the given merchant. insert(resource: Schema.PosStore, merchantId: string, targetMerchantId: string): Content.Schema.PosStore; // Creates a store for the given merchant. insert(resource: Schema.PosStore, merchantId: string, targetMerchantId: string, optionalArgs: object): Content.Schema.PosStore; // Submit inventory for the given merchant. inventory(resource: Schema.PosInventoryRequest, merchantId: string, targetMerchantId: string): Content.Schema.PosInventoryResponse; // Submit inventory for the given merchant. inventory(resource: Schema.PosInventoryRequest, merchantId: string, targetMerchantId: string, optionalArgs: object): Content.Schema.PosInventoryResponse; // Lists the stores of the target merchant. list(merchantId: string, targetMerchantId: string): Content.Schema.PosListResponse; // Deletes a store for the given merchant. remove(merchantId: string, targetMerchantId: string, storeCode: string): void; // Deletes a store for the given merchant. remove(merchantId: string, targetMerchantId: string, storeCode: string, optionalArgs: object): void; // Submit a sale event for the given merchant. sale(resource: Schema.PosSaleRequest, merchantId: string, targetMerchantId: string): Content.Schema.PosSaleResponse; // Submit a sale event for the given merchant. sale(resource: Schema.PosSaleRequest, merchantId: string, targetMerchantId: string, optionalArgs: object): Content.Schema.PosSaleResponse; } interface ProductsCollection { // Retrieves, inserts, and deletes multiple products in a single request. custombatch(resource: Schema.ProductsCustomBatchRequest): Content.Schema.ProductsCustomBatchResponse; // Retrieves, inserts, and deletes multiple products in a single request. custombatch(resource: Schema.ProductsCustomBatchRequest, optionalArgs: object): Content.Schema.ProductsCustomBatchResponse; // Retrieves a product from your Merchant Center account. get(merchantId: string, productId: string): Content.Schema.Product; // Uploads a product to your Merchant Center account. If an item with the same channel, contentLanguage, offerId, and targetCountry already exists, this method updates that entry. insert(resource: Schema.Product, merchantId: string): Content.Schema.Product; // Uploads a product to your Merchant Center account. If an item with the same channel, contentLanguage, offerId, and targetCountry already exists, this method updates that entry. insert(resource: Schema.Product, merchantId: string, optionalArgs: object): Content.Schema.Product; // Lists the products in your Merchant Center account. list(merchantId: string): Content.Schema.ProductsListResponse; // Lists the products in your Merchant Center account. list(merchantId: string, optionalArgs: object): Content.Schema.ProductsListResponse; // Deletes a product from your Merchant Center account. remove(merchantId: string, productId: string): void; // Deletes a product from your Merchant Center account. remove(merchantId: string, productId: string, optionalArgs: object): void; } interface ProductstatusesCollection { // Gets the statuses of multiple products in a single request. custombatch(resource: Schema.ProductstatusesCustomBatchRequest): Content.Schema.ProductstatusesCustomBatchResponse; // Gets the statuses of multiple products in a single request. custombatch(resource: Schema.ProductstatusesCustomBatchRequest, optionalArgs: object): Content.Schema.ProductstatusesCustomBatchResponse; // Gets the status of a product from your Merchant Center account. get(merchantId: string, productId: string): Content.Schema.ProductStatus; // Gets the status of a product from your Merchant Center account. get(merchantId: string, productId: string, optionalArgs: object): Content.Schema.ProductStatus; // Lists the statuses of the products in your Merchant Center account. list(merchantId: string): Content.Schema.ProductstatusesListResponse; // Lists the statuses of the products in your Merchant Center account. list(merchantId: string, optionalArgs: object): Content.Schema.ProductstatusesListResponse; } interface ShippingsettingsCollection { // Retrieves and updates the shipping settings of multiple accounts in a single request. custombatch(resource: Schema.ShippingsettingsCustomBatchRequest): Content.Schema.ShippingsettingsCustomBatchResponse; // Retrieves and updates the shipping settings of multiple accounts in a single request. custombatch(resource: Schema.ShippingsettingsCustomBatchRequest, optionalArgs: object): Content.Schema.ShippingsettingsCustomBatchResponse; // Retrieves the shipping settings of the account. get(merchantId: string, accountId: string): Content.Schema.ShippingSettings; // Retrieves supported carriers and carrier services for an account. getsupportedcarriers(merchantId: string): Content.Schema.ShippingsettingsGetSupportedCarriersResponse; // Retrieves supported holidays for an account. getsupportedholidays(merchantId: string): Content.Schema.ShippingsettingsGetSupportedHolidaysResponse; // Lists the shipping settings of the sub-accounts in your Merchant Center account. list(merchantId: string): Content.Schema.ShippingsettingsListResponse; // Lists the shipping settings of the sub-accounts in your Merchant Center account. list(merchantId: string, optionalArgs: object): Content.Schema.ShippingsettingsListResponse; // Updates the shipping settings of the account. This method supports patch semantics. patch(resource: Schema.ShippingSettings, merchantId: string, accountId: string): Content.Schema.ShippingSettings; // Updates the shipping settings of the account. This method supports patch semantics. patch(resource: Schema.ShippingSettings, merchantId: string, accountId: string, optionalArgs: object): Content.Schema.ShippingSettings; // Updates the shipping settings of the account. update(resource: Schema.ShippingSettings, merchantId: string, accountId: string): Content.Schema.ShippingSettings; // Updates the shipping settings of the account. update(resource: Schema.ShippingSettings, merchantId: string, accountId: string, optionalArgs: object): Content.Schema.ShippingSettings; } } namespace Schema { interface Account { adultContent?: boolean | undefined; adwordsLinks?: Content.Schema.AccountAdwordsLink[] | undefined; businessInformation?: Content.Schema.AccountBusinessInformation | undefined; googleMyBusinessLink?: Content.Schema.AccountGoogleMyBusinessLink | undefined; id?: string | undefined; kind?: string | undefined; name?: string | undefined; reviewsUrl?: string | undefined; sellerId?: string | undefined; users?: Content.Schema.AccountUser[] | undefined; websiteUrl?: string | undefined; youtubeChannelLinks?: Content.Schema.AccountYouTubeChannelLink[] | undefined; } interface AccountAddress { country?: string | undefined; locality?: string | undefined; postalCode?: string | undefined; region?: string | undefined; streetAddress?: string | undefined; } interface AccountAdwordsLink { adwordsId?: string | undefined; status?: string | undefined; } interface AccountBusinessInformation { address?: Content.Schema.AccountAddress | undefined; customerService?: Content.Schema.AccountCustomerService | undefined; phoneNumber?: string | undefined; } interface AccountCustomerService { email?: string | undefined; phoneNumber?: string | undefined; url?: string | undefined; } interface AccountGoogleMyBusinessLink { gmbEmail?: string | undefined; status?: string | undefined; } interface AccountIdentifier { aggregatorId?: string | undefined; merchantId?: string | undefined; } interface AccountStatus { accountId?: string | undefined; accountLevelIssues?: Content.Schema.AccountStatusAccountLevelIssue[] | undefined; dataQualityIssues?: Content.Schema.AccountStatusDataQualityIssue[] | undefined; kind?: string | undefined; products?: Content.Schema.AccountStatusProducts[] | undefined; websiteClaimed?: boolean | undefined; } interface AccountStatusAccountLevelIssue { country?: string | undefined; destination?: string | undefined; detail?: string | undefined; documentation?: string | undefined; id?: string | undefined; severity?: string | undefined; title?: string | undefined; } interface AccountStatusDataQualityIssue { country?: string | undefined; destination?: string | undefined; detail?: string | undefined; displayedValue?: string | undefined; exampleItems?: Content.Schema.AccountStatusExampleItem[] | undefined; id?: string | undefined; lastChecked?: string | undefined; location?: string | undefined; numItems?: number | undefined; severity?: string | undefined; submittedValue?: string | undefined; } interface AccountStatusExampleItem { itemId?: string | undefined; link?: string | undefined; submittedValue?: string | undefined; title?: string | undefined; valueOnLandingPage?: string | undefined; } interface AccountStatusItemLevelIssue { attributeName?: string | undefined; code?: string | undefined; description?: string | undefined; detail?: string | undefined; documentation?: string | undefined; numItems?: string | undefined; resolution?: string | undefined; servability?: string | undefined; } interface AccountStatusProducts { channel?: string | undefined; country?: string | undefined; destination?: string | undefined; itemLevelIssues?: Content.Schema.AccountStatusItemLevelIssue[] | undefined; statistics?: Content.Schema.AccountStatusStatistics | undefined; } interface AccountStatusStatistics { active?: string | undefined; disapproved?: string | undefined; expiring?: string | undefined; pending?: string | undefined; } interface AccountTax { accountId?: string | undefined; kind?: string | undefined; rules?: Content.Schema.AccountTaxTaxRule[] | undefined; } interface AccountTaxTaxRule { country?: string | undefined; locationId?: string | undefined; ratePercent?: string | undefined; shippingTaxed?: boolean | undefined; useGlobalRate?: boolean | undefined; } interface AccountUser { admin?: boolean | undefined; emailAddress?: string | undefined; orderManager?: boolean | undefined; paymentsAnalyst?: boolean | undefined; paymentsManager?: boolean | undefined; } interface AccountYouTubeChannelLink { channelId?: string | undefined; status?: string | undefined; } interface AccountsAuthInfoResponse { accountIdentifiers?: Content.Schema.AccountIdentifier[] | undefined; kind?: string | undefined; } interface AccountsClaimWebsiteResponse { kind?: string | undefined; } interface AccountsCustomBatchRequest { entries?: Content.Schema.AccountsCustomBatchRequestEntry[] | undefined; } interface AccountsCustomBatchRequestEntry { account?: Content.Schema.Account | undefined; accountId?: string | undefined; batchId?: number | undefined; force?: boolean | undefined; linkRequest?: Content.Schema.AccountsCustomBatchRequestEntryLinkRequest | undefined; merchantId?: string | undefined; method?: string | undefined; overwrite?: boolean | undefined; } interface AccountsCustomBatchRequestEntryLinkRequest { action?: string | undefined; linkType?: string | undefined; linkedAccountId?: string | undefined; } interface AccountsCustomBatchResponse { entries?: Content.Schema.AccountsCustomBatchResponseEntry[] | undefined; kind?: string | undefined; } interface AccountsCustomBatchResponseEntry { account?: Content.Schema.Account | undefined; batchId?: number | undefined; errors?: Content.Schema.Errors | undefined; kind?: string | undefined; linkStatus?: string | undefined; } interface AccountsLinkRequest { action?: string | undefined; linkType?: string | undefined; linkedAccountId?: string | undefined; } interface AccountsLinkResponse { kind?: string | undefined; } interface AccountsListResponse { kind?: string | undefined; nextPageToken?: string | undefined; resources?: Content.Schema.Account[] | undefined; } interface AccountstatusesCustomBatchRequest { entries?: Content.Schema.AccountstatusesCustomBatchRequestEntry[] | undefined; } interface AccountstatusesCustomBatchRequestEntry { accountId?: string | undefined; batchId?: number | undefined; destinations?: string[] | undefined; merchantId?: string | undefined; method?: string | undefined; } interface AccountstatusesCustomBatchResponse { entries?: Content.Schema.AccountstatusesCustomBatchResponseEntry[] | undefined; kind?: string | undefined; } interface AccountstatusesCustomBatchResponseEntry { accountStatus?: Content.Schema.AccountStatus | undefined; batchId?: number | undefined; errors?: Content.Schema.Errors | undefined; } interface AccountstatusesListResponse { kind?: string | undefined; nextPageToken?: string | undefined; resources?: Content.Schema.AccountStatus[] | undefined; } interface AccounttaxCustomBatchRequest { entries?: Content.Schema.AccounttaxCustomBatchRequestEntry[] | undefined; } interface AccounttaxCustomBatchRequestEntry { accountId?: string | undefined; accountTax?: Content.Schema.AccountTax | undefined; batchId?: number | undefined; merchantId?: string | undefined; method?: string | undefined; } interface AccounttaxCustomBatchResponse { entries?: Content.Schema.AccounttaxCustomBatchResponseEntry[] | undefined; kind?: string | undefined; } interface AccounttaxCustomBatchResponseEntry { accountTax?: Content.Schema.AccountTax | undefined; batchId?: number | undefined; errors?: Content.Schema.Errors | undefined; kind?: string | undefined; } interface AccounttaxListResponse { kind?: string | undefined; nextPageToken?: string | undefined; resources?: Content.Schema.AccountTax[] | undefined; } interface Amount { pretax?: Content.Schema.Price | undefined; tax?: Content.Schema.Price | undefined; } interface CarrierRate { carrierName?: string | undefined; carrierService?: string | undefined; flatAdjustment?: Content.Schema.Price | undefined; name?: string | undefined; originPostalCode?: string | undefined; percentageAdjustment?: string | undefined; } interface CarriersCarrier { country?: string | undefined; name?: string | undefined; services?: string[] | undefined; } interface CustomAttribute { name?: string | undefined; type?: string | undefined; unit?: string | undefined; value?: string | undefined; } interface CustomGroup { attributes?: Content.Schema.CustomAttribute[] | undefined; name?: string | undefined; } interface CustomerReturnReason { description?: string | undefined; reasonCode?: string | undefined; } interface CutoffTime { hour?: number | undefined; minute?: number | undefined; timezone?: string | undefined; } interface Datafeed { attributeLanguage?: string | undefined; contentLanguage?: string | undefined; contentType?: string | undefined; fetchSchedule?: Content.Schema.DatafeedFetchSchedule | undefined; fileName?: string | undefined; format?: Content.Schema.DatafeedFormat | undefined; id?: string | undefined; intendedDestinations?: string[] | undefined; kind?: string | undefined; name?: string | undefined; targetCountry?: string | undefined; targets?: Content.Schema.DatafeedTarget[] | undefined; } interface DatafeedFetchSchedule { dayOfMonth?: number | undefined; fetchUrl?: string | undefined; hour?: number | undefined; minuteOfHour?: number | undefined; password?: string | undefined; paused?: boolean | undefined; timeZone?: string | undefined; username?: string | undefined; weekday?: string | undefined; } interface DatafeedFormat { columnDelimiter?: string | undefined; fileEncoding?: string | undefined; quotingMode?: string | undefined; } interface DatafeedStatus { country?: string | undefined; datafeedId?: string | undefined; errors?: Content.Schema.DatafeedStatusError[] | undefined; itemsTotal?: string | undefined; itemsValid?: string | undefined; kind?: string | undefined; language?: string | undefined; lastUploadDate?: string | undefined; processingStatus?: string | undefined; warnings?: Content.Schema.DatafeedStatusError[] | undefined; } interface DatafeedStatusError { code?: string | undefined; count?: string | undefined; examples?: Content.Schema.DatafeedStatusExample[] | undefined; message?: string | undefined; } interface DatafeedStatusExample { itemId?: string | undefined; lineNumber?: string | undefined; value?: string | undefined; } interface DatafeedTarget { country?: string | undefined; excludedDestinations?: string[] | undefined; includedDestinations?: string[] | undefined; language?: string | undefined; } interface DatafeedsCustomBatchRequest { entries?: Content.Schema.DatafeedsCustomBatchRequestEntry[] | undefined; } interface DatafeedsCustomBatchRequestEntry { batchId?: number | undefined; datafeed?: Content.Schema.Datafeed | undefined; datafeedId?: string | undefined; merchantId?: string | undefined; method?: string | undefined; } interface DatafeedsCustomBatchResponse { entries?: Content.Schema.DatafeedsCustomBatchResponseEntry[] | undefined; kind?: string | undefined; } interface DatafeedsCustomBatchResponseEntry { batchId?: number | undefined; datafeed?: Content.Schema.Datafeed | undefined; errors?: Content.Schema.Errors | undefined; } interface DatafeedsFetchNowResponse { kind?: string | undefined; } interface DatafeedsListResponse { kind?: string | undefined; nextPageToken?: string | undefined; resources?: Content.Schema.Datafeed[] | undefined; } interface DatafeedstatusesCustomBatchRequest { entries?: Content.Schema.DatafeedstatusesCustomBatchRequestEntry[] | undefined; } interface DatafeedstatusesCustomBatchRequestEntry { batchId?: number | undefined; country?: string | undefined; datafeedId?: string | undefined; language?: string | undefined; merchantId?: string | undefined; method?: string | undefined; } interface DatafeedstatusesCustomBatchResponse { entries?: Content.Schema.DatafeedstatusesCustomBatchResponseEntry[] | undefined; kind?: string | undefined; } interface DatafeedstatusesCustomBatchResponseEntry { batchId?: number | undefined; datafeedStatus?: Content.Schema.DatafeedStatus | undefined; errors?: Content.Schema.Errors | undefined; } interface DatafeedstatusesListResponse { kind?: string | undefined; nextPageToken?: string | undefined; resources?: Content.Schema.DatafeedStatus[] | undefined; } interface DeliveryTime { cutoffTime?: Content.Schema.CutoffTime | undefined; holidayCutoffs?: Content.Schema.HolidayCutoff[] | undefined; maxHandlingTimeInDays?: number | undefined; maxTransitTimeInDays?: number | undefined; minHandlingTimeInDays?: number | undefined; minTransitTimeInDays?: number | undefined; transitTimeTable?: Content.Schema.TransitTable | undefined; } interface Error { domain?: string | undefined; message?: string | undefined; reason?: string | undefined; } interface Errors { code?: number | undefined; errors?: Content.Schema.Error[] | undefined; message?: string | undefined; } interface GmbAccounts { accountId?: string | undefined; gmbAccounts?: Content.Schema.GmbAccountsGmbAccount[] | undefined; } interface GmbAccountsGmbAccount { email?: string | undefined; listingCount?: string | undefined; name?: string | undefined; type?: string | undefined; } interface Headers { locations?: Content.Schema.LocationIdSet[] | undefined; numberOfItems?: string[] | undefined; postalCodeGroupNames?: string[] | undefined; prices?: Content.Schema.Price[] | undefined; weights?: Content.Schema.Weight[] | undefined; } interface HolidayCutoff { deadlineDate?: string | undefined; deadlineHour?: number | undefined; deadlineTimezone?: string | undefined; holidayId?: string | undefined; visibleFromDate?: string | undefined; } interface HolidaysHoliday { countryCode?: string | undefined; date?: string | undefined; deliveryGuaranteeDate?: string | undefined; deliveryGuaranteeHour?: string | undefined; id?: string | undefined; type?: string | undefined; } interface Installment { amount?: Content.Schema.Price | undefined; months?: string | undefined; } interface Inventory { availability?: string | undefined; customLabel0?: string | undefined; customLabel1?: string | undefined; customLabel2?: string | undefined; customLabel3?: string | undefined; customLabel4?: string | undefined; installment?: Content.Schema.Installment | undefined; instoreProductLocation?: string | undefined; kind?: string | undefined; loyaltyPoints?: Content.Schema.LoyaltyPoints | undefined; pickup?: Content.Schema.InventoryPickup | undefined; price?: Content.Schema.Price | undefined; quantity?: number | undefined; salePrice?: Content.Schema.Price | undefined; salePriceEffectiveDate?: string | undefined; sellOnGoogleQuantity?: number | undefined; } interface InventoryCustomBatchRequest { entries?: Content.Schema.InventoryCustomBatchRequestEntry[] | undefined; } interface InventoryCustomBatchRequestEntry { batchId?: number | undefined; inventory?: Content.Schema.Inventory | undefined; merchantId?: string | undefined; productId?: string | undefined; storeCode?: string | undefined; } interface InventoryCustomBatchResponse { entries?: Content.Schema.InventoryCustomBatchResponseEntry[] | undefined; kind?: string | undefined; } interface InventoryCustomBatchResponseEntry { batchId?: number | undefined; errors?: Content.Schema.Errors | undefined; kind?: string | undefined; } interface InventoryPickup { pickupMethod?: string | undefined; pickupSla?: string | undefined; } interface InventorySetRequest { availability?: string | undefined; customLabel0?: string | undefined; customLabel1?: string | undefined; customLabel2?: string | undefined; customLabel3?: string | undefined; customLabel4?: string | undefined; installment?: Content.Schema.Installment | undefined; instoreProductLocation?: string | undefined; loyaltyPoints?: Content.Schema.LoyaltyPoints | undefined; pickup?: Content.Schema.InventoryPickup | undefined; price?: Content.Schema.Price | undefined; quantity?: number | undefined; salePrice?: Content.Schema.Price | undefined; salePriceEffectiveDate?: string | undefined; sellOnGoogleQuantity?: number | undefined; } interface InventorySetResponse { kind?: string | undefined; } interface InvoiceSummary { additionalChargeSummaries?: Content.Schema.InvoiceSummaryAdditionalChargeSummary[] | undefined; customerBalan