@maxim_mazurok/gapi.client.merchantapi-accounts_v1beta 0.0.20250514 → 0.0.20250526
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +735 -41
- package/package.json +1 -1
- package/readme.md +3 -3
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://merchantapi.googleapis.com/$discovery/rest?version=accounts_v1beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250526
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -28,8 +28,14 @@ declare namespace gapi.client {
|
|
|
28
28
|
): void;
|
|
29
29
|
|
|
30
30
|
namespace merchantapi {
|
|
31
|
+
interface About {
|
|
32
|
+
/** Output only. The state of the URI. */
|
|
33
|
+
state?: string;
|
|
34
|
+
/** Required. The about page URI. */
|
|
35
|
+
uri?: string;
|
|
36
|
+
}
|
|
31
37
|
interface Accepted {
|
|
32
|
-
/** The account where the acceptance was recorded. This can be the account itself or, in the case of subaccounts, the
|
|
38
|
+
/** The account where the acceptance was recorded. This can be the account itself or, in the case of subaccounts, the advanced account. */
|
|
33
39
|
acceptedBy?: string;
|
|
34
40
|
/** The accepted termsOfService. */
|
|
35
41
|
termsOfService?: string;
|
|
@@ -83,21 +89,23 @@ declare namespace gapi.client {
|
|
|
83
89
|
providerDisplayName?: string;
|
|
84
90
|
}
|
|
85
91
|
interface AccountService {
|
|
86
|
-
/** Service type for account aggregation. This enables the provider, which is
|
|
92
|
+
/** Service type for account aggregation. This enables the provider, which is an advanced account, to manage multiple sub-accounts (client accounts). Through this service, the advanced account provider can perform administrative and operational tasks across all linked sub-accounts. This is useful for agencies, aggregators, or large retailers that need centralized control over many Merchant Center accounts. */
|
|
87
93
|
accountAggregation?: any;
|
|
88
|
-
/** Service type for account management. Enables the provider to perform administrative actions on the
|
|
94
|
+
/** Service type for account management. Enables the provider to perform administrative actions on the business's account, such as configuring account settings, managing users, or updating business information. */
|
|
89
95
|
accountManagement?: any;
|
|
90
|
-
/** Service type for managing advertising campaigns. Grants the provider access to create and manage the
|
|
96
|
+
/** Service type for managing advertising campaigns. Grants the provider access to create and manage the business's ad campaigns, including setting up campaigns, adjusting bids, and optimizing performance. */
|
|
91
97
|
campaignsManagement?: any;
|
|
92
98
|
/** Immutable. An optional, immutable identifier that Google uses to refer to this account when communicating with the provider. This should be the unique account ID within the provider's system (for example, your shop ID in Shopify). If you have multiple accounts with the same provider - for instance, different accounts for various regions — the `external_account_id` differentiates between them, ensuring accurate linking and integration between Google and the provider. */
|
|
93
99
|
externalAccountId?: string;
|
|
94
100
|
/** Output only. Information about the state of the service in terms of establishing it (e.g. is it pending approval or approved). */
|
|
95
101
|
handshake?: Handshake;
|
|
102
|
+
/** Service type for local listings management. The business group associated with the external account id will be used to provide local inventory to this Merchant Center account. */
|
|
103
|
+
localListingManagement?: any;
|
|
96
104
|
/** Output only. Whether the service is mutable (e.g. through Approve / Reject RPCs). A service that was created through another system or API might be immutable. */
|
|
97
105
|
mutability?: string;
|
|
98
106
|
/** Identifier. The resource name of the account service. Format: `accounts/{account}/services/{service}` */
|
|
99
107
|
name?: string;
|
|
100
|
-
/** Service type for managing products. This allows the provider to handle product data on behalf of the
|
|
108
|
+
/** Service type for managing products. This allows the provider to handle product data on behalf of the business, including reading and writing product listings. It's commonly used when the provider offers inventory management or catalog synchronization services to keep the business's product information up-to-date across platforms. */
|
|
101
109
|
productsManagement?: any;
|
|
102
110
|
/** Output only. The provider of the service. Either the reference to an account such as `providers/123` or a well-known service provider (one of `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`). */
|
|
103
111
|
provider?: string;
|
|
@@ -130,7 +138,7 @@ declare namespace gapi.client {
|
|
|
130
138
|
}
|
|
131
139
|
interface ApproveAccountServiceRequest {}
|
|
132
140
|
interface AutofeedSettings {
|
|
133
|
-
/** Output only. Determines whether
|
|
141
|
+
/** Output only. Determines whether the business is eligible for being enrolled into an autofeed. */
|
|
134
142
|
eligible?: boolean;
|
|
135
143
|
/** Required. Enables or disables product crawling through the autofeed for the given account. Autofeed accounts must meet [certain conditions](https://support.google.com/merchants/answer/7538732#Configure_automated_feeds_Standard_Experience), which can be checked through the `eligible` field. The account must **not** be a marketplace. When the autofeed is enabled for the first time, the products usually appear instantly. When re-enabling, it might take up to 24 hours for products to appear. */
|
|
136
144
|
enableProducts?: boolean;
|
|
@@ -150,7 +158,7 @@ declare namespace gapi.client {
|
|
|
150
158
|
itemUpdates?: AutomaticItemUpdates;
|
|
151
159
|
/** Identifier. The resource name of the automatic improvements. Format: `accounts/{account}/automaticImprovements`. */
|
|
152
160
|
name?: string;
|
|
153
|
-
/** Not available for
|
|
161
|
+
/** Not available for [advanced accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: * Delivery address of an order * Current handling time and shipping time settings * Estimated weekdays or business days * Parcel tracking data This field is only updated (cleared) if provided in the update mask. */
|
|
154
162
|
shippingImprovements?: AutomaticShippingImprovements;
|
|
155
163
|
}
|
|
156
164
|
interface AutomaticItemUpdates {
|
|
@@ -174,19 +182,19 @@ declare namespace gapi.client {
|
|
|
174
182
|
businessDays?: string[];
|
|
175
183
|
}
|
|
176
184
|
interface BusinessIdentity {
|
|
177
|
-
/** Optional. Specifies whether the business identifies itself as being black-owned. This optional field will only be available for
|
|
185
|
+
/** Optional. Specifies whether the business identifies itself as being black-owned. This optional field will only be available for businesses with the business country set to `US`. It is also not applicable for marketplaces or marketplace sellers. */
|
|
178
186
|
blackOwned?: IdentityAttribute;
|
|
179
|
-
/** Optional. Specifies whether the business identifies itself as being latino-owned. This optional field will only be available for
|
|
187
|
+
/** Optional. Specifies whether the business identifies itself as being latino-owned. This optional field will only be available for businesses with the business country set to `US`. It is also not applicable for marketplaces or marketplace sellers. */
|
|
180
188
|
latinoOwned?: IdentityAttribute;
|
|
181
189
|
/** Identifier. The resource name of the business identity. Format: `accounts/{account}/businessIdentity` */
|
|
182
190
|
name?: string;
|
|
183
191
|
/** Required. Whether the identity attributes may be used for promotions. */
|
|
184
192
|
promotionsConsent?: string;
|
|
185
|
-
/** Optional. Specifies whether the business identifies itself as a small business. This optional field will only be available for
|
|
193
|
+
/** Optional. Specifies whether the business identifies itself as a small business. This optional field will only be available for businesses with a business country set to `US`. It is also not applicable for marketplaces. */
|
|
186
194
|
smallBusiness?: IdentityAttribute;
|
|
187
|
-
/** Optional. Specifies whether the business identifies itself as being veteran-owned. This optional field will only be available for
|
|
195
|
+
/** Optional. Specifies whether the business identifies itself as being veteran-owned. This optional field will only be available for businesses with a business country set to `US`. It is also not applicable for marketplaces or marketplace sellers. */
|
|
188
196
|
veteranOwned?: IdentityAttribute;
|
|
189
|
-
/** Optional. Specifies whether the business identifies itself as being women-owned. This optional field will only be available for
|
|
197
|
+
/** Optional. Specifies whether the business identifies itself as being women-owned. This optional field will only be available for businesses with a business country set to `US`. It is also not applicable for marketplaces or marketplace sellers. */
|
|
190
198
|
womenOwned?: IdentityAttribute;
|
|
191
199
|
}
|
|
192
200
|
interface BusinessInfo {
|
|
@@ -225,7 +233,7 @@ declare namespace gapi.client {
|
|
|
225
233
|
interface CreateAndConfigureAccountRequest {
|
|
226
234
|
/** Required. The account to be created. */
|
|
227
235
|
account?: Account;
|
|
228
|
-
/** Required. An account service between the account to be created and the provider account is initialized as part of the creation. At least one such service needs to be provided. Currently exactly one of these needs to be `account_aggregation
|
|
236
|
+
/** Required. An account service between the account to be created and the provider account is initialized as part of the creation. At least one such service needs to be provided. Currently exactly one of these needs to be `account_aggregation` and `accounts.createAndConfigure` method can be used to create a sub-account under an existing advanced account through this method. Additional `account_management` or `product_management` services may be provided. */
|
|
229
237
|
service?: AddAccountService[];
|
|
230
238
|
/** Optional. Users to be added to the account. */
|
|
231
239
|
user?: AddUser[];
|
|
@@ -251,7 +259,7 @@ declare namespace gapi.client {
|
|
|
251
259
|
interface CutoffConfig {
|
|
252
260
|
/** Time that local delivery ends for the day. */
|
|
253
261
|
localCutoffTime?: LocalCutoffTime;
|
|
254
|
-
/**
|
|
262
|
+
/** Businesses can opt-out of showing n+1 day local delivery when they have a shipping service configured to n day local delivery. For example, if the shipping service defines same-day delivery, and it's past the cut-off, setting this field to `true` results in the calculated shipping service rate returning `NO_DELIVERY_POST_CUTOFF`. In the same example, setting this field to `false` results in the calculated shipping time being one day. This is only for local delivery. */
|
|
255
263
|
noDeliveryPostCutoff?: boolean;
|
|
256
264
|
/** Only valid with local delivery fulfillment. Represents cutoff time as the number of hours before store closing. Mutually exclusive with `local_cutoff_time`. */
|
|
257
265
|
storeCloseOffsetHours?: string;
|
|
@@ -307,6 +315,24 @@ declare namespace gapi.client {
|
|
|
307
315
|
}
|
|
308
316
|
interface Empty {}
|
|
309
317
|
interface EnableProgramRequest {}
|
|
318
|
+
interface FindLfpProvidersResponse {
|
|
319
|
+
/** The LFP providers from the specified merchant in the specified country. */
|
|
320
|
+
lfpProviders?: LfpProvider[];
|
|
321
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
322
|
+
nextPageToken?: string;
|
|
323
|
+
}
|
|
324
|
+
interface GbpAccount {
|
|
325
|
+
/** The id of the GBP account. */
|
|
326
|
+
gbpAccountId?: string;
|
|
327
|
+
/** The name of the Business Profile. For personal accounts: Email id of the owner. For Business accounts: Name of the Business Account. */
|
|
328
|
+
gbpAccountName?: string;
|
|
329
|
+
/** Number of listings under this account. */
|
|
330
|
+
listingCount?: string;
|
|
331
|
+
/** Identifier. The resource name of the GBP account. Format: `accounts/{account}/gbpAccount/{gbp_account}` */
|
|
332
|
+
name?: string;
|
|
333
|
+
/** The type of the Business Profile. */
|
|
334
|
+
type?: string;
|
|
335
|
+
}
|
|
310
336
|
interface GeoTargetArea {
|
|
311
337
|
/** Required. A non-empty list of [location IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting). They must all be of the same location type (for example, state). */
|
|
312
338
|
geotargetCriteriaIds?: string[];
|
|
@@ -357,6 +383,22 @@ declare namespace gapi.client {
|
|
|
357
383
|
/** The impacted reporting context. */
|
|
358
384
|
reportingContext?: string;
|
|
359
385
|
}
|
|
386
|
+
interface InStock {
|
|
387
|
+
/** Output only. The state of the in-stock serving. */
|
|
388
|
+
state?: string;
|
|
389
|
+
/** Optional. Product landing page URI. It is only used for the review of MHLSF in-stock serving. This URI domain should match with the business's homepage. Required to be empty if the lsf_type is GHLSF, and required when the lsf_type is MHLSF_FULL or MHLSF_BASIC. */
|
|
390
|
+
uri?: string;
|
|
391
|
+
}
|
|
392
|
+
interface InventoryVerification {
|
|
393
|
+
/** Required. The name of the contact for the inventory verification process. */
|
|
394
|
+
contact?: string;
|
|
395
|
+
/** Required. The email address of the contact for the inventory verification process. */
|
|
396
|
+
contactEmail?: string;
|
|
397
|
+
/** Output only. The state of the contact verification. */
|
|
398
|
+
contactState?: string;
|
|
399
|
+
/** Output only. The state of the inventory verification process. */
|
|
400
|
+
state?: string;
|
|
401
|
+
}
|
|
360
402
|
interface ItemUpdatesAccountLevelSettings {
|
|
361
403
|
/** If availability updates are enabled, any previous availability values get overwritten if Google finds an out-of-stock annotation on the offer's page. If additionally `allow_strict_availability_updates` field is set to true, values get overwritten if Google finds an in-stock annotation on the offer’s page. */
|
|
362
404
|
allowAvailabilityUpdates?: boolean;
|
|
@@ -367,6 +409,38 @@ declare namespace gapi.client {
|
|
|
367
409
|
/** If `allow_availability_updates` is enabled, items are automatically updated in all your Shopping target countries. By default, availability updates will only be applied to items that are 'out of stock' on your website but 'in stock' on Shopping. Set this to true to also update items that are 'in stock' on your website, but 'out of stock' on Google Shopping. In order for this field to have an effect, you must also set `allow_availability_updates`. */
|
|
368
410
|
allowStrictAvailabilityUpdates?: boolean;
|
|
369
411
|
}
|
|
412
|
+
interface LfpLink {
|
|
413
|
+
/** Required. The account ID by which this merchant is known to the LFP provider. */
|
|
414
|
+
externalAccountId?: string;
|
|
415
|
+
/** Required. The resource name of the LFP provider. Format: `lfpProviders/{lfp_provider}` */
|
|
416
|
+
lfpProvider?: string;
|
|
417
|
+
/** Output only. The state of the LFP link. */
|
|
418
|
+
state?: string;
|
|
419
|
+
}
|
|
420
|
+
interface LfpProvider {
|
|
421
|
+
/** The display name of the LFP provider. */
|
|
422
|
+
displayName?: string;
|
|
423
|
+
/** Identifier. The resource name of the LFP provider. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}` */
|
|
424
|
+
name?: string;
|
|
425
|
+
/** Output only. Region code defined by [CLDR](https://cldr.unicode.org/). */
|
|
426
|
+
regionCode?: string;
|
|
427
|
+
}
|
|
428
|
+
interface LinkGbpAccountRequest {
|
|
429
|
+
/** Required. The email address of the Business Profile account. */
|
|
430
|
+
gbpEmail?: string;
|
|
431
|
+
}
|
|
432
|
+
interface LinkGbpAccountResponse {
|
|
433
|
+
/** Empty response. */
|
|
434
|
+
response?: any;
|
|
435
|
+
}
|
|
436
|
+
interface LinkLfpProviderRequest {
|
|
437
|
+
/** Required. The external account ID by which this merchant is known to the LFP provider. */
|
|
438
|
+
externalAccountId?: string;
|
|
439
|
+
}
|
|
440
|
+
interface LinkLfpProviderResponse {
|
|
441
|
+
/** Empty response. */
|
|
442
|
+
response?: any;
|
|
443
|
+
}
|
|
370
444
|
interface ListAccountIssuesResponse {
|
|
371
445
|
/** The issues from the specified account. */
|
|
372
446
|
accountIssues?: AccountIssue[];
|
|
@@ -391,6 +465,18 @@ declare namespace gapi.client {
|
|
|
391
465
|
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
392
466
|
nextPageToken?: string;
|
|
393
467
|
}
|
|
468
|
+
interface ListGbpAccountsResponse {
|
|
469
|
+
/** The GBP accounts from the specified merchant in the specified country. */
|
|
470
|
+
gbpAccounts?: GbpAccount[];
|
|
471
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
472
|
+
nextPageToken?: string;
|
|
473
|
+
}
|
|
474
|
+
interface ListOmnichannelSettingsResponse {
|
|
475
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
476
|
+
nextPageToken?: string;
|
|
477
|
+
/** The omnichannel settings from the specified merchant. */
|
|
478
|
+
omnichannelSettings?: OmnichannelSetting[];
|
|
479
|
+
}
|
|
394
480
|
interface ListOnlineReturnPoliciesResponse {
|
|
395
481
|
/** A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
396
482
|
nextPageToken?: string;
|
|
@@ -406,7 +492,7 @@ declare namespace gapi.client {
|
|
|
406
492
|
interface ListRegionsResponse {
|
|
407
493
|
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
408
494
|
nextPageToken?: string;
|
|
409
|
-
/** The regions from the specified
|
|
495
|
+
/** The regions from the specified business. */
|
|
410
496
|
regions?: Region[];
|
|
411
497
|
}
|
|
412
498
|
interface ListSubAccountsResponse {
|
|
@@ -427,6 +513,7 @@ declare namespace gapi.client {
|
|
|
427
513
|
/** Minute local delivery orders must be placed by to process the same day. */
|
|
428
514
|
minute?: string;
|
|
429
515
|
}
|
|
516
|
+
interface LocalListingManagement {}
|
|
430
517
|
interface LocationIdSet {
|
|
431
518
|
/** Required. A non-empty list of [location IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting). They must all be of the same location type (For example, state). */
|
|
432
519
|
locationIds?: string[];
|
|
@@ -445,10 +532,36 @@ declare namespace gapi.client {
|
|
|
445
532
|
/** Required. A list of store code sets sharing the same minimum order value (MOV). At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency. */
|
|
446
533
|
storeCodeSetWithMovs?: StoreCodeSetWithMov[];
|
|
447
534
|
}
|
|
535
|
+
interface OmnichannelSetting {
|
|
536
|
+
/** Optional. The about page URI and state for this country. */
|
|
537
|
+
about?: About;
|
|
538
|
+
/** Optional. The InStock URI and state for this country. */
|
|
539
|
+
inStock?: InStock;
|
|
540
|
+
/** Optional. The inventory verification contact and state for this country. */
|
|
541
|
+
inventoryVerification?: InventoryVerification;
|
|
542
|
+
/** Output only. The established link to a LFP provider. */
|
|
543
|
+
lfpLink?: LfpLink;
|
|
544
|
+
/** Required. The Local Store Front type for this country. */
|
|
545
|
+
lsfType?: string;
|
|
546
|
+
/** Identifier. The resource name of the omnichannel setting. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}` */
|
|
547
|
+
name?: string;
|
|
548
|
+
/** Optional. The On Display to Order (ODO) policy URI and state for this country. */
|
|
549
|
+
odo?: OnDisplayToOrder;
|
|
550
|
+
/** Optional. The Pickup URI and state for this country. */
|
|
551
|
+
pickup?: Pickup;
|
|
552
|
+
/** Required. Immutable. Region code defined by [CLDR](https://cldr.unicode.org/). Must be provided in the Create method, and is immutable. */
|
|
553
|
+
regionCode?: string;
|
|
554
|
+
}
|
|
555
|
+
interface OnDisplayToOrder {
|
|
556
|
+
/** Output only. The state of the URI. */
|
|
557
|
+
state?: string;
|
|
558
|
+
/** Required. The on display to order (ODO) policy URI. */
|
|
559
|
+
uri?: string;
|
|
560
|
+
}
|
|
448
561
|
interface OnlineReturnPolicy {
|
|
449
|
-
/** Optional. This field specifies if
|
|
562
|
+
/** Optional. This field specifies if business only accepts defective products for returns. */
|
|
450
563
|
acceptDefectiveOnly?: boolean;
|
|
451
|
-
/** Optional. This field specifies if
|
|
564
|
+
/** Optional. This field specifies if business allows customers to exchange products. */
|
|
452
565
|
acceptExchange?: boolean;
|
|
453
566
|
/** Required. Immutable. The countries of sale where the return policy applies. The values must be a valid 2 letter ISO 3166 code. */
|
|
454
567
|
countries?: string[];
|
|
@@ -460,7 +573,7 @@ declare namespace gapi.client {
|
|
|
460
573
|
name?: string;
|
|
461
574
|
/** Optional. The return policy. */
|
|
462
575
|
policy?: Policy;
|
|
463
|
-
/** Optional. The field specifies the number of days it takes for
|
|
576
|
+
/** Optional. The field specifies the number of days it takes for business to process refunds. */
|
|
464
577
|
processRefundDays?: number;
|
|
465
578
|
/** Optional. The restocking fee that applies to all return reason categories. This would be treated as a free restocking fee if the value is not set. */
|
|
466
579
|
restockingFee?: RestockingFee;
|
|
@@ -485,6 +598,12 @@ declare namespace gapi.client {
|
|
|
485
598
|
/** A short code. Reference(s): - https://en.wikipedia.org/wiki/Short_code */
|
|
486
599
|
shortCode?: ShortCode;
|
|
487
600
|
}
|
|
601
|
+
interface Pickup {
|
|
602
|
+
/** Output only. The state of the pickup serving. */
|
|
603
|
+
state?: string;
|
|
604
|
+
/** Required. Pickup product page URI. It is only used for the review of pickup serving. This URI domain should match with the business's homepage. */
|
|
605
|
+
uri?: string;
|
|
606
|
+
}
|
|
488
607
|
interface Policy {
|
|
489
608
|
/** The number of days items can be returned after delivery, where one day is defined as 24 hours after the delivery timestamp. Required for `NUMBER_OF_DAYS_AFTER_DELIVERY` returns. */
|
|
490
609
|
days?: string;
|
|
@@ -611,6 +730,11 @@ declare namespace gapi.client {
|
|
|
611
730
|
shippingEligible?: boolean;
|
|
612
731
|
}
|
|
613
732
|
interface RejectAccountServiceRequest {}
|
|
733
|
+
interface RequestInventoryVerificationRequest {}
|
|
734
|
+
interface RequestInventoryVerificationResponse {
|
|
735
|
+
/** The omnichannel setting that was updated. */
|
|
736
|
+
omnichannelSetting?: OmnichannelSetting;
|
|
737
|
+
}
|
|
614
738
|
interface Required {
|
|
615
739
|
/** The `TermsOfService` that need to be accepted. */
|
|
616
740
|
termsOfService?: string;
|
|
@@ -664,15 +788,15 @@ declare namespace gapi.client {
|
|
|
664
788
|
deliveryTime?: DeliveryTime;
|
|
665
789
|
/** Optional. Loyalty programs that this shipping service is limited to. */
|
|
666
790
|
loyaltyPrograms?: LoyaltyProgram[];
|
|
667
|
-
/** Minimum order value for this service. If set, indicates that customers will have to spend at least this amount. All prices within a service must have the same currency. Cannot be set together with minimum_order_value_table. */
|
|
791
|
+
/** Optional. Minimum order value for this service. If set, indicates that customers will have to spend at least this amount. All prices within a service must have the same currency. Cannot be set together with minimum_order_value_table. */
|
|
668
792
|
minimumOrderValue?: Price;
|
|
669
|
-
/** Table of per store minimum order values for the pickup fulfillment type. Cannot be set together with minimum_order_value
|
|
793
|
+
/** Optional. Table of per store minimum order values for the pickup fulfillment type. Cannot be set together with `minimum_order_value`. */
|
|
670
794
|
minimumOrderValueTable?: MinimumOrderValueTable;
|
|
671
795
|
/** Optional. Shipping rate group definitions. Only the last one is allowed to have an empty `applicable_shipping_labels`, which means "everything else". The other `applicable_shipping_labels` must not overlap. */
|
|
672
796
|
rateGroups?: RateGroup[];
|
|
673
797
|
/** Required. Free-form name of the service. Must be unique within target account. */
|
|
674
798
|
serviceName?: string;
|
|
675
|
-
/** Type of locations this service ships orders to. */
|
|
799
|
+
/** Optional. Type of locations this service ships orders to. */
|
|
676
800
|
shipmentType?: string;
|
|
677
801
|
/** A list of stores your products are delivered from. This is only valid for the local delivery shipment type. */
|
|
678
802
|
storeConfig?: StoreConfig;
|
|
@@ -706,7 +830,7 @@ declare namespace gapi.client {
|
|
|
706
830
|
serviceRadius?: Distance;
|
|
707
831
|
/** Optional. A list of store codes that provide local delivery. If empty, then `all_stores` must be true. */
|
|
708
832
|
storeCodes?: string[];
|
|
709
|
-
/** Indicates whether all stores, or selected stores, listed by this
|
|
833
|
+
/** Indicates whether all stores, or selected stores, listed by this business provide local delivery. */
|
|
710
834
|
storeServiceType?: string;
|
|
711
835
|
}
|
|
712
836
|
interface Table {
|
|
@@ -734,7 +858,7 @@ declare namespace gapi.client {
|
|
|
734
858
|
interface TermsOfServiceAgreementState {
|
|
735
859
|
/** The accepted terms of service of this kind and for the associated region_code */
|
|
736
860
|
accepted?: Accepted;
|
|
737
|
-
/** Identifier. The resource name of the terms of service version. Format: `accounts/{account}/termsOfServiceAgreementState/{identifier}` The identifier format is: `{TermsOfServiceKind}-{country}` For example, an identifier could be: `MERCHANT_CENTER-
|
|
861
|
+
/** Identifier. The resource name of the terms of service version. Format: `accounts/{account}/termsOfServiceAgreementState/{identifier}` The identifier format is: `{TermsOfServiceKind}-{country}` For example, an identifier could be: `MERCHANT_CENTER-EU` or `MERCHANT_CENTER-US`. */
|
|
738
862
|
name?: string;
|
|
739
863
|
/** Region code as defined by https://cldr.unicode.org/. This is the country the current state applies to. */
|
|
740
864
|
regionCode?: string;
|
|
@@ -1212,7 +1336,7 @@ declare namespace gapi.client {
|
|
|
1212
1336
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1213
1337
|
uploadType?: string;
|
|
1214
1338
|
}): Request<EmailPreferences>;
|
|
1215
|
-
/** Updates the email preferences for a Merchant Center account user.
|
|
1339
|
+
/** Updates the email preferences for a Merchant Center account user. Advanced account users should specify the advanced account rather than a sub-account of the advanced account. Preferences which are not explicitly selected in the update mask will not be updated. It is invalid for updates to specify an UNCONFIRMED opt-in status value. Use the name=accounts/*/users/me/emailPreferences alias to update preferences for the authenticated user. */
|
|
1216
1340
|
updateEmailPreferences(request: {
|
|
1217
1341
|
/** V1 error format. */
|
|
1218
1342
|
'$.xgafv'?: string;
|
|
@@ -1275,8 +1399,99 @@ declare namespace gapi.client {
|
|
|
1275
1399
|
body: EmailPreferences,
|
|
1276
1400
|
): Request<EmailPreferences>;
|
|
1277
1401
|
}
|
|
1402
|
+
interface GbpAccountsResource {
|
|
1403
|
+
/** Link the specified merchant to a GBP account for all countries. */
|
|
1404
|
+
linkGbpAccount(request: {
|
|
1405
|
+
/** V1 error format. */
|
|
1406
|
+
'$.xgafv'?: string;
|
|
1407
|
+
/** OAuth access token. */
|
|
1408
|
+
access_token?: string;
|
|
1409
|
+
/** Data format for response. */
|
|
1410
|
+
alt?: string;
|
|
1411
|
+
/** JSONP */
|
|
1412
|
+
callback?: string;
|
|
1413
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1414
|
+
fields?: string;
|
|
1415
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1416
|
+
key?: string;
|
|
1417
|
+
/** OAuth 2.0 token for the current user. */
|
|
1418
|
+
oauth_token?: string;
|
|
1419
|
+
/** Required. The name of the parent resource to which the GBP account is linked. Format: `accounts/{account}`. */
|
|
1420
|
+
parent: string;
|
|
1421
|
+
/** Returns response with indentations and line breaks. */
|
|
1422
|
+
prettyPrint?: boolean;
|
|
1423
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1424
|
+
quotaUser?: string;
|
|
1425
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1426
|
+
upload_protocol?: string;
|
|
1427
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1428
|
+
uploadType?: string;
|
|
1429
|
+
/** Request body */
|
|
1430
|
+
resource: LinkGbpAccountRequest;
|
|
1431
|
+
}): Request<LinkGbpAccountResponse>;
|
|
1432
|
+
linkGbpAccount(
|
|
1433
|
+
request: {
|
|
1434
|
+
/** V1 error format. */
|
|
1435
|
+
'$.xgafv'?: string;
|
|
1436
|
+
/** OAuth access token. */
|
|
1437
|
+
access_token?: string;
|
|
1438
|
+
/** Data format for response. */
|
|
1439
|
+
alt?: string;
|
|
1440
|
+
/** JSONP */
|
|
1441
|
+
callback?: string;
|
|
1442
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1443
|
+
fields?: string;
|
|
1444
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1445
|
+
key?: string;
|
|
1446
|
+
/** OAuth 2.0 token for the current user. */
|
|
1447
|
+
oauth_token?: string;
|
|
1448
|
+
/** Required. The name of the parent resource to which the GBP account is linked. Format: `accounts/{account}`. */
|
|
1449
|
+
parent: string;
|
|
1450
|
+
/** Returns response with indentations and line breaks. */
|
|
1451
|
+
prettyPrint?: boolean;
|
|
1452
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1453
|
+
quotaUser?: string;
|
|
1454
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1455
|
+
upload_protocol?: string;
|
|
1456
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1457
|
+
uploadType?: string;
|
|
1458
|
+
},
|
|
1459
|
+
body: LinkGbpAccountRequest,
|
|
1460
|
+
): Request<LinkGbpAccountResponse>;
|
|
1461
|
+
/** List the GBP accounts for a given merchant. */
|
|
1462
|
+
list(request?: {
|
|
1463
|
+
/** V1 error format. */
|
|
1464
|
+
'$.xgafv'?: string;
|
|
1465
|
+
/** OAuth access token. */
|
|
1466
|
+
access_token?: string;
|
|
1467
|
+
/** Data format for response. */
|
|
1468
|
+
alt?: string;
|
|
1469
|
+
/** JSONP */
|
|
1470
|
+
callback?: string;
|
|
1471
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1472
|
+
fields?: string;
|
|
1473
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1474
|
+
key?: string;
|
|
1475
|
+
/** OAuth 2.0 token for the current user. */
|
|
1476
|
+
oauth_token?: string;
|
|
1477
|
+
/** Optional. The maximum number of `GbpAccount` resources to return. The service returns fewer than this value if the number of gbp accounts is less that than the `pageSize`. The default value is 50. The maximum value is 1000; If a value higher than the maximum is specified, then the `pageSize` will default to the maximum. */
|
|
1478
|
+
pageSize?: number;
|
|
1479
|
+
/** Optional. A page token, received from a previous `ListGbpAccounts` call. Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to `ListGbpAccounts` must match the call that provided the page token. */
|
|
1480
|
+
pageToken?: string;
|
|
1481
|
+
/** Required. The name of the parent resource under which the GBP accounts are listed. Format: `accounts/{account}`. */
|
|
1482
|
+
parent: string;
|
|
1483
|
+
/** Returns response with indentations and line breaks. */
|
|
1484
|
+
prettyPrint?: boolean;
|
|
1485
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1486
|
+
quotaUser?: string;
|
|
1487
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1488
|
+
upload_protocol?: string;
|
|
1489
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1490
|
+
uploadType?: string;
|
|
1491
|
+
}): Request<ListGbpAccountsResponse>;
|
|
1492
|
+
}
|
|
1278
1493
|
interface HomepageResource {
|
|
1279
|
-
/** Claims a store's homepage. Executing this method requires admin access. If the homepage is already claimed, this will recheck the verification (unless the
|
|
1494
|
+
/** Claims a store's homepage. Executing this method requires admin access. If the homepage is already claimed, this will recheck the verification (unless the business is exempted from claiming, which also exempts from verification) and return a successful response. If ownership can no longer be verified, it will return an error, but it won't clear the claim. In case of failure, a canonical error message is returned: * PERMISSION_DENIED: User doesn't have the necessary permissions on this Merchant Center account. * FAILED_PRECONDITION: - The account is not a Merchant Center account. - Merchant Center account doesn't have a homepage. - Claiming failed (in this case the error message contains more details). */
|
|
1280
1495
|
claim(request: {
|
|
1281
1496
|
/** V1 error format. */
|
|
1282
1497
|
'$.xgafv'?: string;
|
|
@@ -1519,8 +1734,157 @@ declare namespace gapi.client {
|
|
|
1519
1734
|
uploadType?: string;
|
|
1520
1735
|
}): Request<ListAccountIssuesResponse>;
|
|
1521
1736
|
}
|
|
1522
|
-
interface
|
|
1523
|
-
/**
|
|
1737
|
+
interface LfpProvidersResource {
|
|
1738
|
+
/** Find the LFP provider candidates in a given country. */
|
|
1739
|
+
find(request?: {
|
|
1740
|
+
/** V1 error format. */
|
|
1741
|
+
'$.xgafv'?: string;
|
|
1742
|
+
/** OAuth access token. */
|
|
1743
|
+
access_token?: string;
|
|
1744
|
+
/** Data format for response. */
|
|
1745
|
+
alt?: string;
|
|
1746
|
+
/** JSONP */
|
|
1747
|
+
callback?: string;
|
|
1748
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1749
|
+
fields?: string;
|
|
1750
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1751
|
+
key?: string;
|
|
1752
|
+
/** OAuth 2.0 token for the current user. */
|
|
1753
|
+
oauth_token?: string;
|
|
1754
|
+
/** Optional. The maximum number of `LfpProvider` resources to return. The service returns fewer than this value if the number of lfp providers is less that than the `pageSize`. The default value is 50. The maximum value is 1000; If a value higher than the maximum is specified, then the `pageSize` will default to the maximum. */
|
|
1755
|
+
pageSize?: number;
|
|
1756
|
+
/** Optional. A page token, received from a previous `FindLfpProviders` call. Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to `FindLfpProviders` must match the call that provided the page token. */
|
|
1757
|
+
pageToken?: string;
|
|
1758
|
+
/** Required. The name of the parent resource under which the LFP providers are found. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. */
|
|
1759
|
+
parent: string;
|
|
1760
|
+
/** Returns response with indentations and line breaks. */
|
|
1761
|
+
prettyPrint?: boolean;
|
|
1762
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1763
|
+
quotaUser?: string;
|
|
1764
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1765
|
+
upload_protocol?: string;
|
|
1766
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1767
|
+
uploadType?: string;
|
|
1768
|
+
}): Request<FindLfpProvidersResponse>;
|
|
1769
|
+
/** Link the specified merchant to a LFP provider for the specified country. */
|
|
1770
|
+
linkLfpProvider(request: {
|
|
1771
|
+
/** V1 error format. */
|
|
1772
|
+
'$.xgafv'?: string;
|
|
1773
|
+
/** OAuth access token. */
|
|
1774
|
+
access_token?: string;
|
|
1775
|
+
/** Data format for response. */
|
|
1776
|
+
alt?: string;
|
|
1777
|
+
/** JSONP */
|
|
1778
|
+
callback?: string;
|
|
1779
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1780
|
+
fields?: string;
|
|
1781
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1782
|
+
key?: string;
|
|
1783
|
+
/** Required. The name of the LFP provider resource to link. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}`. The `lfp_provider` is the LFP provider ID. */
|
|
1784
|
+
name: string;
|
|
1785
|
+
/** OAuth 2.0 token for the current user. */
|
|
1786
|
+
oauth_token?: string;
|
|
1787
|
+
/** Returns response with indentations and line breaks. */
|
|
1788
|
+
prettyPrint?: boolean;
|
|
1789
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1790
|
+
quotaUser?: string;
|
|
1791
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1792
|
+
upload_protocol?: string;
|
|
1793
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1794
|
+
uploadType?: string;
|
|
1795
|
+
/** Request body */
|
|
1796
|
+
resource: LinkLfpProviderRequest;
|
|
1797
|
+
}): Request<LinkLfpProviderResponse>;
|
|
1798
|
+
linkLfpProvider(
|
|
1799
|
+
request: {
|
|
1800
|
+
/** V1 error format. */
|
|
1801
|
+
'$.xgafv'?: string;
|
|
1802
|
+
/** OAuth access token. */
|
|
1803
|
+
access_token?: string;
|
|
1804
|
+
/** Data format for response. */
|
|
1805
|
+
alt?: string;
|
|
1806
|
+
/** JSONP */
|
|
1807
|
+
callback?: string;
|
|
1808
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1809
|
+
fields?: string;
|
|
1810
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1811
|
+
key?: string;
|
|
1812
|
+
/** Required. The name of the LFP provider resource to link. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}`. The `lfp_provider` is the LFP provider ID. */
|
|
1813
|
+
name: string;
|
|
1814
|
+
/** OAuth 2.0 token for the current user. */
|
|
1815
|
+
oauth_token?: string;
|
|
1816
|
+
/** Returns response with indentations and line breaks. */
|
|
1817
|
+
prettyPrint?: boolean;
|
|
1818
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1819
|
+
quotaUser?: string;
|
|
1820
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1821
|
+
upload_protocol?: string;
|
|
1822
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1823
|
+
uploadType?: string;
|
|
1824
|
+
},
|
|
1825
|
+
body: LinkLfpProviderRequest,
|
|
1826
|
+
): Request<LinkLfpProviderResponse>;
|
|
1827
|
+
}
|
|
1828
|
+
interface OmnichannelSettingsResource {
|
|
1829
|
+
/** Create the omnichannel settings for a given merchant. */
|
|
1830
|
+
create(request: {
|
|
1831
|
+
/** V1 error format. */
|
|
1832
|
+
'$.xgafv'?: string;
|
|
1833
|
+
/** OAuth access token. */
|
|
1834
|
+
access_token?: string;
|
|
1835
|
+
/** Data format for response. */
|
|
1836
|
+
alt?: string;
|
|
1837
|
+
/** JSONP */
|
|
1838
|
+
callback?: string;
|
|
1839
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1840
|
+
fields?: string;
|
|
1841
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1842
|
+
key?: string;
|
|
1843
|
+
/** OAuth 2.0 token for the current user. */
|
|
1844
|
+
oauth_token?: string;
|
|
1845
|
+
/** Required. The parent resource where this omnichannel setting will be created. Format: `accounts/{account}` */
|
|
1846
|
+
parent: string;
|
|
1847
|
+
/** Returns response with indentations and line breaks. */
|
|
1848
|
+
prettyPrint?: boolean;
|
|
1849
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1850
|
+
quotaUser?: string;
|
|
1851
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1852
|
+
upload_protocol?: string;
|
|
1853
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1854
|
+
uploadType?: string;
|
|
1855
|
+
/** Request body */
|
|
1856
|
+
resource: OmnichannelSetting;
|
|
1857
|
+
}): Request<OmnichannelSetting>;
|
|
1858
|
+
create(
|
|
1859
|
+
request: {
|
|
1860
|
+
/** V1 error format. */
|
|
1861
|
+
'$.xgafv'?: string;
|
|
1862
|
+
/** OAuth access token. */
|
|
1863
|
+
access_token?: string;
|
|
1864
|
+
/** Data format for response. */
|
|
1865
|
+
alt?: string;
|
|
1866
|
+
/** JSONP */
|
|
1867
|
+
callback?: string;
|
|
1868
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1869
|
+
fields?: string;
|
|
1870
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1871
|
+
key?: string;
|
|
1872
|
+
/** OAuth 2.0 token for the current user. */
|
|
1873
|
+
oauth_token?: string;
|
|
1874
|
+
/** Required. The parent resource where this omnichannel setting will be created. Format: `accounts/{account}` */
|
|
1875
|
+
parent: string;
|
|
1876
|
+
/** Returns response with indentations and line breaks. */
|
|
1877
|
+
prettyPrint?: boolean;
|
|
1878
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1879
|
+
quotaUser?: string;
|
|
1880
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1881
|
+
upload_protocol?: string;
|
|
1882
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1883
|
+
uploadType?: string;
|
|
1884
|
+
},
|
|
1885
|
+
body: OmnichannelSetting,
|
|
1886
|
+
): Request<OmnichannelSetting>;
|
|
1887
|
+
/** Get the omnichannel settings for a given merchant. */
|
|
1524
1888
|
get(request?: {
|
|
1525
1889
|
/** V1 error format. */
|
|
1526
1890
|
'$.xgafv'?: string;
|
|
@@ -1534,7 +1898,7 @@ declare namespace gapi.client {
|
|
|
1534
1898
|
fields?: string;
|
|
1535
1899
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1536
1900
|
key?: string;
|
|
1537
|
-
/** Required. The name of the
|
|
1901
|
+
/** Required. The name of the omnichannel setting to retrieve. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}` */
|
|
1538
1902
|
name: string;
|
|
1539
1903
|
/** OAuth 2.0 token for the current user. */
|
|
1540
1904
|
oauth_token?: string;
|
|
@@ -1546,8 +1910,8 @@ declare namespace gapi.client {
|
|
|
1546
1910
|
upload_protocol?: string;
|
|
1547
1911
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1548
1912
|
uploadType?: string;
|
|
1549
|
-
}): Request<
|
|
1550
|
-
/**
|
|
1913
|
+
}): Request<OmnichannelSetting>;
|
|
1914
|
+
/** List all the omnichannel settings for a given merchant. */
|
|
1551
1915
|
list(request?: {
|
|
1552
1916
|
/** V1 error format. */
|
|
1553
1917
|
'$.xgafv'?: string;
|
|
@@ -1563,11 +1927,11 @@ declare namespace gapi.client {
|
|
|
1563
1927
|
key?: string;
|
|
1564
1928
|
/** OAuth 2.0 token for the current user. */
|
|
1565
1929
|
oauth_token?: string;
|
|
1566
|
-
/** Optional. The maximum number of
|
|
1930
|
+
/** Optional. The maximum number of omnichannel settings to return. The service may return fewer than this value. If unspecified, at most 50 omnichannel settings will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
|
|
1567
1931
|
pageSize?: number;
|
|
1568
|
-
/** Optional. A page token, received from a previous `
|
|
1932
|
+
/** Optional. A page token, received from a previous `ListOmnichannelSettings` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListOmnichannelSettings` must match the call that provided the page token. */
|
|
1569
1933
|
pageToken?: string;
|
|
1570
|
-
/** Required. The
|
|
1934
|
+
/** Required. The parent, which owns this collection of omnichannel settings. Format: `accounts/{account}` */
|
|
1571
1935
|
parent: string;
|
|
1572
1936
|
/** Returns response with indentations and line breaks. */
|
|
1573
1937
|
prettyPrint?: boolean;
|
|
@@ -1577,10 +1941,338 @@ declare namespace gapi.client {
|
|
|
1577
1941
|
upload_protocol?: string;
|
|
1578
1942
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1579
1943
|
uploadType?: string;
|
|
1580
|
-
}): Request<
|
|
1944
|
+
}): Request<ListOmnichannelSettingsResponse>;
|
|
1945
|
+
/** Update the omnichannel setting for a given merchant in a given country. */
|
|
1946
|
+
patch(request: {
|
|
1947
|
+
/** V1 error format. */
|
|
1948
|
+
'$.xgafv'?: string;
|
|
1949
|
+
/** OAuth access token. */
|
|
1950
|
+
access_token?: string;
|
|
1951
|
+
/** Data format for response. */
|
|
1952
|
+
alt?: string;
|
|
1953
|
+
/** JSONP */
|
|
1954
|
+
callback?: string;
|
|
1955
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1956
|
+
fields?: string;
|
|
1957
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1958
|
+
key?: string;
|
|
1959
|
+
/** Identifier. The resource name of the omnichannel setting. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}` */
|
|
1960
|
+
name: string;
|
|
1961
|
+
/** OAuth 2.0 token for the current user. */
|
|
1962
|
+
oauth_token?: string;
|
|
1963
|
+
/** Returns response with indentations and line breaks. */
|
|
1964
|
+
prettyPrint?: boolean;
|
|
1965
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1966
|
+
quotaUser?: string;
|
|
1967
|
+
/** Required. The list of fields to be updated. The following fields are supported in snake_case only: - `lsf_type` - `in_stock` - `pickup` - `odo` - `about` - `inventory_verification` Full replacement with wildcard `*`is supported, while empty/implied update mask is not. */
|
|
1968
|
+
updateMask?: string;
|
|
1969
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1970
|
+
upload_protocol?: string;
|
|
1971
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1972
|
+
uploadType?: string;
|
|
1973
|
+
/** Request body */
|
|
1974
|
+
resource: OmnichannelSetting;
|
|
1975
|
+
}): Request<OmnichannelSetting>;
|
|
1976
|
+
patch(
|
|
1977
|
+
request: {
|
|
1978
|
+
/** V1 error format. */
|
|
1979
|
+
'$.xgafv'?: string;
|
|
1980
|
+
/** OAuth access token. */
|
|
1981
|
+
access_token?: string;
|
|
1982
|
+
/** Data format for response. */
|
|
1983
|
+
alt?: string;
|
|
1984
|
+
/** JSONP */
|
|
1985
|
+
callback?: string;
|
|
1986
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1987
|
+
fields?: string;
|
|
1988
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1989
|
+
key?: string;
|
|
1990
|
+
/** Identifier. The resource name of the omnichannel setting. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}` */
|
|
1991
|
+
name: string;
|
|
1992
|
+
/** OAuth 2.0 token for the current user. */
|
|
1993
|
+
oauth_token?: string;
|
|
1994
|
+
/** Returns response with indentations and line breaks. */
|
|
1995
|
+
prettyPrint?: boolean;
|
|
1996
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1997
|
+
quotaUser?: string;
|
|
1998
|
+
/** Required. The list of fields to be updated. The following fields are supported in snake_case only: - `lsf_type` - `in_stock` - `pickup` - `odo` - `about` - `inventory_verification` Full replacement with wildcard `*`is supported, while empty/implied update mask is not. */
|
|
1999
|
+
updateMask?: string;
|
|
2000
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2001
|
+
upload_protocol?: string;
|
|
2002
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2003
|
+
uploadType?: string;
|
|
2004
|
+
},
|
|
2005
|
+
body: OmnichannelSetting,
|
|
2006
|
+
): Request<OmnichannelSetting>;
|
|
2007
|
+
/** Requests inventory verification for a given merchant in a given country. */
|
|
2008
|
+
requestInventoryVerification(request: {
|
|
2009
|
+
/** V1 error format. */
|
|
2010
|
+
'$.xgafv'?: string;
|
|
2011
|
+
/** OAuth access token. */
|
|
2012
|
+
access_token?: string;
|
|
2013
|
+
/** Data format for response. */
|
|
2014
|
+
alt?: string;
|
|
2015
|
+
/** JSONP */
|
|
2016
|
+
callback?: string;
|
|
2017
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2018
|
+
fields?: string;
|
|
2019
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2020
|
+
key?: string;
|
|
2021
|
+
/** Required. The name of the omnichannel setting to request inventory verification. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}` */
|
|
2022
|
+
name: string;
|
|
2023
|
+
/** OAuth 2.0 token for the current user. */
|
|
2024
|
+
oauth_token?: string;
|
|
2025
|
+
/** Returns response with indentations and line breaks. */
|
|
2026
|
+
prettyPrint?: boolean;
|
|
2027
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2028
|
+
quotaUser?: string;
|
|
2029
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2030
|
+
upload_protocol?: string;
|
|
2031
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2032
|
+
uploadType?: string;
|
|
2033
|
+
/** Request body */
|
|
2034
|
+
resource: RequestInventoryVerificationRequest;
|
|
2035
|
+
}): Request<RequestInventoryVerificationResponse>;
|
|
2036
|
+
requestInventoryVerification(
|
|
2037
|
+
request: {
|
|
2038
|
+
/** V1 error format. */
|
|
2039
|
+
'$.xgafv'?: string;
|
|
2040
|
+
/** OAuth access token. */
|
|
2041
|
+
access_token?: string;
|
|
2042
|
+
/** Data format for response. */
|
|
2043
|
+
alt?: string;
|
|
2044
|
+
/** JSONP */
|
|
2045
|
+
callback?: string;
|
|
2046
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2047
|
+
fields?: string;
|
|
2048
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2049
|
+
key?: string;
|
|
2050
|
+
/** Required. The name of the omnichannel setting to request inventory verification. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}` */
|
|
2051
|
+
name: string;
|
|
2052
|
+
/** OAuth 2.0 token for the current user. */
|
|
2053
|
+
oauth_token?: string;
|
|
2054
|
+
/** Returns response with indentations and line breaks. */
|
|
2055
|
+
prettyPrint?: boolean;
|
|
2056
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2057
|
+
quotaUser?: string;
|
|
2058
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2059
|
+
upload_protocol?: string;
|
|
2060
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2061
|
+
uploadType?: string;
|
|
2062
|
+
},
|
|
2063
|
+
body: RequestInventoryVerificationRequest,
|
|
2064
|
+
): Request<RequestInventoryVerificationResponse>;
|
|
2065
|
+
lfpProviders: LfpProvidersResource;
|
|
2066
|
+
}
|
|
2067
|
+
interface OnlineReturnPoliciesResource {
|
|
2068
|
+
/** Creates a new return policy for a given business. */
|
|
2069
|
+
create(request: {
|
|
2070
|
+
/** V1 error format. */
|
|
2071
|
+
'$.xgafv'?: string;
|
|
2072
|
+
/** OAuth access token. */
|
|
2073
|
+
access_token?: string;
|
|
2074
|
+
/** Data format for response. */
|
|
2075
|
+
alt?: string;
|
|
2076
|
+
/** JSONP */
|
|
2077
|
+
callback?: string;
|
|
2078
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2079
|
+
fields?: string;
|
|
2080
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2081
|
+
key?: string;
|
|
2082
|
+
/** OAuth 2.0 token for the current user. */
|
|
2083
|
+
oauth_token?: string;
|
|
2084
|
+
/** Required. The Merchant Center account for which the return policy will be created. Format: `accounts/{account}` */
|
|
2085
|
+
parent: string;
|
|
2086
|
+
/** Returns response with indentations and line breaks. */
|
|
2087
|
+
prettyPrint?: boolean;
|
|
2088
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2089
|
+
quotaUser?: string;
|
|
2090
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2091
|
+
upload_protocol?: string;
|
|
2092
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2093
|
+
uploadType?: string;
|
|
2094
|
+
/** Request body */
|
|
2095
|
+
resource: OnlineReturnPolicy;
|
|
2096
|
+
}): Request<OnlineReturnPolicy>;
|
|
2097
|
+
create(
|
|
2098
|
+
request: {
|
|
2099
|
+
/** V1 error format. */
|
|
2100
|
+
'$.xgafv'?: string;
|
|
2101
|
+
/** OAuth access token. */
|
|
2102
|
+
access_token?: string;
|
|
2103
|
+
/** Data format for response. */
|
|
2104
|
+
alt?: string;
|
|
2105
|
+
/** JSONP */
|
|
2106
|
+
callback?: string;
|
|
2107
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2108
|
+
fields?: string;
|
|
2109
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2110
|
+
key?: string;
|
|
2111
|
+
/** OAuth 2.0 token for the current user. */
|
|
2112
|
+
oauth_token?: string;
|
|
2113
|
+
/** Required. The Merchant Center account for which the return policy will be created. Format: `accounts/{account}` */
|
|
2114
|
+
parent: string;
|
|
2115
|
+
/** Returns response with indentations and line breaks. */
|
|
2116
|
+
prettyPrint?: boolean;
|
|
2117
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2118
|
+
quotaUser?: string;
|
|
2119
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2120
|
+
upload_protocol?: string;
|
|
2121
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2122
|
+
uploadType?: string;
|
|
2123
|
+
},
|
|
2124
|
+
body: OnlineReturnPolicy,
|
|
2125
|
+
): Request<OnlineReturnPolicy>;
|
|
2126
|
+
/** Deletes an existing return policy. */
|
|
2127
|
+
delete(request?: {
|
|
2128
|
+
/** V1 error format. */
|
|
2129
|
+
'$.xgafv'?: string;
|
|
2130
|
+
/** OAuth access token. */
|
|
2131
|
+
access_token?: string;
|
|
2132
|
+
/** Data format for response. */
|
|
2133
|
+
alt?: string;
|
|
2134
|
+
/** JSONP */
|
|
2135
|
+
callback?: string;
|
|
2136
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2137
|
+
fields?: string;
|
|
2138
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2139
|
+
key?: string;
|
|
2140
|
+
/** Required. The name of the return policy to delete. Format: `accounts/{account}/onlineReturnPolicies/{return_policy}` */
|
|
2141
|
+
name: string;
|
|
2142
|
+
/** OAuth 2.0 token for the current user. */
|
|
2143
|
+
oauth_token?: string;
|
|
2144
|
+
/** Returns response with indentations and line breaks. */
|
|
2145
|
+
prettyPrint?: boolean;
|
|
2146
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2147
|
+
quotaUser?: string;
|
|
2148
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2149
|
+
upload_protocol?: string;
|
|
2150
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2151
|
+
uploadType?: string;
|
|
2152
|
+
}): Request<{}>;
|
|
2153
|
+
/** Gets an existing return policy for a given business. */
|
|
2154
|
+
get(request?: {
|
|
2155
|
+
/** V1 error format. */
|
|
2156
|
+
'$.xgafv'?: string;
|
|
2157
|
+
/** OAuth access token. */
|
|
2158
|
+
access_token?: string;
|
|
2159
|
+
/** Data format for response. */
|
|
2160
|
+
alt?: string;
|
|
2161
|
+
/** JSONP */
|
|
2162
|
+
callback?: string;
|
|
2163
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2164
|
+
fields?: string;
|
|
2165
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2166
|
+
key?: string;
|
|
2167
|
+
/** Required. The name of the return policy to retrieve. Format: `accounts/{account}/onlineReturnPolicies/{return_policy}` */
|
|
2168
|
+
name: string;
|
|
2169
|
+
/** OAuth 2.0 token for the current user. */
|
|
2170
|
+
oauth_token?: string;
|
|
2171
|
+
/** Returns response with indentations and line breaks. */
|
|
2172
|
+
prettyPrint?: boolean;
|
|
2173
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2174
|
+
quotaUser?: string;
|
|
2175
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2176
|
+
upload_protocol?: string;
|
|
2177
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2178
|
+
uploadType?: string;
|
|
2179
|
+
}): Request<OnlineReturnPolicy>;
|
|
2180
|
+
/** Lists all existing return policies for a given business. */
|
|
2181
|
+
list(request?: {
|
|
2182
|
+
/** V1 error format. */
|
|
2183
|
+
'$.xgafv'?: string;
|
|
2184
|
+
/** OAuth access token. */
|
|
2185
|
+
access_token?: string;
|
|
2186
|
+
/** Data format for response. */
|
|
2187
|
+
alt?: string;
|
|
2188
|
+
/** JSONP */
|
|
2189
|
+
callback?: string;
|
|
2190
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2191
|
+
fields?: string;
|
|
2192
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2193
|
+
key?: string;
|
|
2194
|
+
/** OAuth 2.0 token for the current user. */
|
|
2195
|
+
oauth_token?: string;
|
|
2196
|
+
/** Optional. The maximum number of `OnlineReturnPolicy` resources to return. The service returns fewer than this value if the number of return policies for the given business is less that than the `pageSize`. The default value is 10. The maximum value is 100; If a value higher than the maximum is specified, then the `pageSize` will default to the maximum */
|
|
2197
|
+
pageSize?: number;
|
|
2198
|
+
/** Optional. A page token, received from a previous `ListOnlineReturnPolicies` call. Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to `ListOnlineReturnPolicies` must match the call that provided the page token. The token returned as nextPageToken in the response to the previous request. */
|
|
2199
|
+
pageToken?: string;
|
|
2200
|
+
/** Required. The Merchant Center account for which to list return policies. Format: `accounts/{account}` */
|
|
2201
|
+
parent: string;
|
|
2202
|
+
/** Returns response with indentations and line breaks. */
|
|
2203
|
+
prettyPrint?: boolean;
|
|
2204
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2205
|
+
quotaUser?: string;
|
|
2206
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2207
|
+
upload_protocol?: string;
|
|
2208
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2209
|
+
uploadType?: string;
|
|
2210
|
+
}): Request<ListOnlineReturnPoliciesResponse>;
|
|
2211
|
+
/** Updates an existing return policy for a given business. */
|
|
2212
|
+
patch(request: {
|
|
2213
|
+
/** V1 error format. */
|
|
2214
|
+
'$.xgafv'?: string;
|
|
2215
|
+
/** OAuth access token. */
|
|
2216
|
+
access_token?: string;
|
|
2217
|
+
/** Data format for response. */
|
|
2218
|
+
alt?: string;
|
|
2219
|
+
/** JSONP */
|
|
2220
|
+
callback?: string;
|
|
2221
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2222
|
+
fields?: string;
|
|
2223
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2224
|
+
key?: string;
|
|
2225
|
+
/** Identifier. The name of the `OnlineReturnPolicy` resource. Format: `accounts/{account}/onlineReturnPolicies/{return_policy}` */
|
|
2226
|
+
name: string;
|
|
2227
|
+
/** OAuth 2.0 token for the current user. */
|
|
2228
|
+
oauth_token?: string;
|
|
2229
|
+
/** Returns response with indentations and line breaks. */
|
|
2230
|
+
prettyPrint?: boolean;
|
|
2231
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2232
|
+
quotaUser?: string;
|
|
2233
|
+
/** Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `accept_defective_only` - `accept_exchange` - `item_conditions` - `policy` - `process_refund_days` - `restocking_fee` - `return_methods` - `return_policy_uri` - `return_shipping_fee` */
|
|
2234
|
+
updateMask?: string;
|
|
2235
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2236
|
+
upload_protocol?: string;
|
|
2237
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2238
|
+
uploadType?: string;
|
|
2239
|
+
/** Request body */
|
|
2240
|
+
resource: OnlineReturnPolicy;
|
|
2241
|
+
}): Request<OnlineReturnPolicy>;
|
|
2242
|
+
patch(
|
|
2243
|
+
request: {
|
|
2244
|
+
/** V1 error format. */
|
|
2245
|
+
'$.xgafv'?: string;
|
|
2246
|
+
/** OAuth access token. */
|
|
2247
|
+
access_token?: string;
|
|
2248
|
+
/** Data format for response. */
|
|
2249
|
+
alt?: string;
|
|
2250
|
+
/** JSONP */
|
|
2251
|
+
callback?: string;
|
|
2252
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2253
|
+
fields?: string;
|
|
2254
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2255
|
+
key?: string;
|
|
2256
|
+
/** Identifier. The name of the `OnlineReturnPolicy` resource. Format: `accounts/{account}/onlineReturnPolicies/{return_policy}` */
|
|
2257
|
+
name: string;
|
|
2258
|
+
/** OAuth 2.0 token for the current user. */
|
|
2259
|
+
oauth_token?: string;
|
|
2260
|
+
/** Returns response with indentations and line breaks. */
|
|
2261
|
+
prettyPrint?: boolean;
|
|
2262
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2263
|
+
quotaUser?: string;
|
|
2264
|
+
/** Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `accept_defective_only` - `accept_exchange` - `item_conditions` - `policy` - `process_refund_days` - `restocking_fee` - `return_methods` - `return_policy_uri` - `return_shipping_fee` */
|
|
2265
|
+
updateMask?: string;
|
|
2266
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2267
|
+
upload_protocol?: string;
|
|
2268
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2269
|
+
uploadType?: string;
|
|
2270
|
+
},
|
|
2271
|
+
body: OnlineReturnPolicy,
|
|
2272
|
+
): Request<OnlineReturnPolicy>;
|
|
1581
2273
|
}
|
|
1582
2274
|
interface ProgramsResource {
|
|
1583
|
-
/** Disable participation in the specified program for the account.
|
|
2275
|
+
/** Disable participation in the specified program for the account. */
|
|
1584
2276
|
disable(request: {
|
|
1585
2277
|
/** V1 error format. */
|
|
1586
2278
|
'$.xgafv'?: string;
|
|
@@ -1638,7 +2330,7 @@ declare namespace gapi.client {
|
|
|
1638
2330
|
},
|
|
1639
2331
|
body: DisableProgramRequest,
|
|
1640
2332
|
): Request<Program>;
|
|
1641
|
-
/** Enable participation in the specified program for the account.
|
|
2333
|
+
/** Enable participation in the specified program for the account. */
|
|
1642
2334
|
enable(request: {
|
|
1643
2335
|
/** V1 error format. */
|
|
1644
2336
|
'$.xgafv'?: string;
|
|
@@ -2350,7 +3042,7 @@ declare namespace gapi.client {
|
|
|
2350
3042
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2351
3043
|
uploadType?: string;
|
|
2352
3044
|
}): Request<ShippingSettings>;
|
|
2353
|
-
/** Replace the shipping setting of a
|
|
3045
|
+
/** Replace the shipping setting of a business with the request shipping setting. Executing this method requires admin access. */
|
|
2354
3046
|
insert(request: {
|
|
2355
3047
|
/** V1 error format. */
|
|
2356
3048
|
'$.xgafv'?: string;
|
|
@@ -2731,7 +3423,7 @@ declare namespace gapi.client {
|
|
|
2731
3423
|
},
|
|
2732
3424
|
body: CreateAndConfigureAccountRequest,
|
|
2733
3425
|
): Request<Account>;
|
|
2734
|
-
/** Deletes the specified account regardless of its type: standalone,
|
|
3426
|
+
/** Deletes the specified account regardless of its type: standalone, advanced account or sub-account. Deleting an advanced account leads to the deletion of all of its sub-accounts. Executing this method requires admin access. The deletion succeeds only if the account does not provide services to any other account and has no processed offers. You can use the `force` parameter to override this. */
|
|
2735
3427
|
delete(request?: {
|
|
2736
3428
|
/** V1 error format. */
|
|
2737
3429
|
'$.xgafv'?: string;
|
|
@@ -2787,7 +3479,7 @@ declare namespace gapi.client {
|
|
|
2787
3479
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2788
3480
|
uploadType?: string;
|
|
2789
3481
|
}): Request<Account>;
|
|
2790
|
-
/** Lists accounts accessible to the calling user and matching the constraints of the request such as page size or filters. This is not just listing the sub-accounts of an
|
|
3482
|
+
/** Lists accounts accessible to the calling user and matching the constraints of the request such as page size or filters. This is not just listing the sub-accounts of an advanced account, but all accounts the calling user has access to including other advanced accounts, linked accounts, standalone accounts and so on. If no filter is provided, then it returns all the accounts the user has access to. This method is eventually consistent, meaning changes such as creating, updating an account or a change of relationships between accounts may not show up in the results immediately. Instead, these changes propagate over a short period, after which the updated information can match the associated predicates. That means, that searching by account name might not return a recently changed account even though it satisfies the predicate. */
|
|
2791
3483
|
list(request?: {
|
|
2792
3484
|
/** V1 error format. */
|
|
2793
3485
|
'$.xgafv'?: string;
|
|
@@ -2849,7 +3541,7 @@ declare namespace gapi.client {
|
|
|
2849
3541
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2850
3542
|
uploadType?: string;
|
|
2851
3543
|
}): Request<ListSubAccountsResponse>;
|
|
2852
|
-
/** Updates an account regardless of its type: standalone,
|
|
3544
|
+
/** Updates an account regardless of its type: standalone, advanced account or sub-account. Executing this method requires admin access. */
|
|
2853
3545
|
patch(request: {
|
|
2854
3546
|
/** V1 error format. */
|
|
2855
3547
|
'$.xgafv'?: string;
|
|
@@ -2916,8 +3608,10 @@ declare namespace gapi.client {
|
|
|
2916
3608
|
businessIdentity: BusinessIdentityResource;
|
|
2917
3609
|
businessInfo: BusinessInfoResource;
|
|
2918
3610
|
emailPreferences: EmailPreferencesResource;
|
|
3611
|
+
gbpAccounts: GbpAccountsResource;
|
|
2919
3612
|
homepage: HomepageResource;
|
|
2920
3613
|
issues: IssuesResource;
|
|
3614
|
+
omnichannelSettings: OmnichannelSettingsResource;
|
|
2921
3615
|
onlineReturnPolicies: OnlineReturnPoliciesResource;
|
|
2922
3616
|
programs: ProgramsResource;
|
|
2923
3617
|
regions: RegionsResource;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -75,7 +75,7 @@ Creates a Merchant Center account with additional configuration. Adds the user t
|
|
|
75
75
|
await gapi.client.merchantapi.accounts.createAndConfigure({});
|
|
76
76
|
|
|
77
77
|
/*
|
|
78
|
-
Deletes the specified account regardless of its type: standalone,
|
|
78
|
+
Deletes the specified account regardless of its type: standalone, advanced account or sub-account. Deleting an advanced account leads to the deletion of all of its sub-accounts. Executing this method requires admin access. The deletion succeeds only if the account does not provide services to any other account and has no processed offers. You can use the `force` parameter to override this.
|
|
79
79
|
*/
|
|
80
80
|
await gapi.client.merchantapi.accounts.delete({name: 'name'});
|
|
81
81
|
|
|
@@ -85,7 +85,7 @@ Retrieves an account from your Merchant Center account. After inserting, updatin
|
|
|
85
85
|
await gapi.client.merchantapi.accounts.get({name: 'name'});
|
|
86
86
|
|
|
87
87
|
/*
|
|
88
|
-
Lists accounts accessible to the calling user and matching the constraints of the request such as page size or filters. This is not just listing the sub-accounts of an
|
|
88
|
+
Lists accounts accessible to the calling user and matching the constraints of the request such as page size or filters. This is not just listing the sub-accounts of an advanced account, but all accounts the calling user has access to including other advanced accounts, linked accounts, standalone accounts and so on. If no filter is provided, then it returns all the accounts the user has access to. This method is eventually consistent, meaning changes such as creating, updating an account or a change of relationships between accounts may not show up in the results immediately. Instead, these changes propagate over a short period, after which the updated information can match the associated predicates. That means, that searching by account name might not return a recently changed account even though it satisfies the predicate.
|
|
89
89
|
*/
|
|
90
90
|
await gapi.client.merchantapi.accounts.list({});
|
|
91
91
|
|
|
@@ -95,7 +95,7 @@ List all sub-accounts for a given multi client account. This is a convenience wr
|
|
|
95
95
|
await gapi.client.merchantapi.accounts.listSubaccounts({provider: 'provider'});
|
|
96
96
|
|
|
97
97
|
/*
|
|
98
|
-
Updates an account regardless of its type: standalone,
|
|
98
|
+
Updates an account regardless of its type: standalone, advanced account or sub-account. Executing this method requires admin access.
|
|
99
99
|
*/
|
|
100
100
|
await gapi.client.merchantapi.accounts.patch({name: 'name'});
|
|
101
101
|
|