@maxim_mazurok/gapi.client.merchantapi-accounts_v1beta 0.0.20250526 → 0.0.20250603
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 +15 -15
- package/package.json +1 -1
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: 20250603
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -70,7 +70,7 @@ declare namespace gapi.client {
|
|
|
70
70
|
documentationUri?: string;
|
|
71
71
|
/** The impact this issue has on various destinations. */
|
|
72
72
|
impactedDestinations?: ImpactedDestination[];
|
|
73
|
-
/** Identifier. The resource name of the account issue. Format: `accounts/{account}/issues/{id}` */
|
|
73
|
+
/** Identifier. The resource name of the account issue. Format: `accounts/{account}/issues/{id}`. For example, `accounts/123456/issues/misrepresentation-of-self-or-products-unacceptable-business-practice-policy`. */
|
|
74
74
|
name?: string;
|
|
75
75
|
/** The overall severity of the issue. */
|
|
76
76
|
severity?: string;
|
|
@@ -81,7 +81,7 @@ declare namespace gapi.client {
|
|
|
81
81
|
interface AccountRelationship {
|
|
82
82
|
/** Optional. An optional alias you can assign to this account relationship. This alias acts as a convenient identifier for your own reference and management. It must be unique among all your account relationships with the same provider. For example, you might use `account_id_alias` to assign a friendly name to this relationship for easier identification in your systems. */
|
|
83
83
|
accountIdAlias?: string;
|
|
84
|
-
/** Identifier. The resource name of the account relationship. Format: `accounts/{account}/relationships/{relationship}` */
|
|
84
|
+
/** Identifier. The resource name of the account relationship. Format: `accounts/{account}/relationships/{relationship}`. For example, `accounts/123456/relationships/567890`. */
|
|
85
85
|
name?: string;
|
|
86
86
|
/** Immutable. 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`). */
|
|
87
87
|
provider?: string;
|
|
@@ -788,7 +788,7 @@ declare namespace gapi.client {
|
|
|
788
788
|
deliveryTime?: DeliveryTime;
|
|
789
789
|
/** Optional. Loyalty programs that this shipping service is limited to. */
|
|
790
790
|
loyaltyPrograms?: LoyaltyProgram[];
|
|
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
|
|
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`. */
|
|
792
792
|
minimumOrderValue?: Price;
|
|
793
793
|
/** Optional. Table of per store minimum order values for the pickup fulfillment type. Cannot be set together with `minimum_order_value`. */
|
|
794
794
|
minimumOrderValueTable?: MinimumOrderValueTable;
|
|
@@ -804,7 +804,7 @@ declare namespace gapi.client {
|
|
|
804
804
|
interface ShippingSettings {
|
|
805
805
|
/** Required. This field is used for avoid async issue. Make sure shipping setting data didn't change between get call and insert call. The user should do following steps: 1. Set etag field as empty string for initial shipping setting creation. 2. After initial creation, call get method to obtain an etag and current shipping setting data before call insert. 3. Modify to wanted shipping setting information. 4. Call insert method with the wanted shipping setting information with the etag obtained from step 2. 5. If shipping setting data changed between step 2 and step 4. Insert request will fail because the etag changes every time the shipping setting data changes. User should repeate step 2-4 with the new etag. */
|
|
806
806
|
etag?: string;
|
|
807
|
-
/** Identifier. The resource name of the shipping settings. Format: `accounts/{account}/shippingSettings` */
|
|
807
|
+
/** Identifier. The resource name of the shipping settings. Format: `accounts/{account}/shippingSettings`. For example, `accounts/123456/shippingSettings`. */
|
|
808
808
|
name?: string;
|
|
809
809
|
/** Optional. The target account's list of services. */
|
|
810
810
|
services?: Service[];
|
|
@@ -1141,7 +1141,7 @@ declare namespace gapi.client {
|
|
|
1141
1141
|
fields?: string;
|
|
1142
1142
|
/** 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. */
|
|
1143
1143
|
key?: string;
|
|
1144
|
-
/** Required. The resource name of the business identity. Format: `accounts/{account}/businessIdentity` */
|
|
1144
|
+
/** Required. The resource name of the business identity. Format: `accounts/{account}/businessIdentity`. For example, `accounts/123456/businessIdentity`. */
|
|
1145
1145
|
name: string;
|
|
1146
1146
|
/** OAuth 2.0 token for the current user. */
|
|
1147
1147
|
oauth_token?: string;
|
|
@@ -1232,7 +1232,7 @@ declare namespace gapi.client {
|
|
|
1232
1232
|
fields?: string;
|
|
1233
1233
|
/** 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. */
|
|
1234
1234
|
key?: string;
|
|
1235
|
-
/** Required. The resource name of the business info. Format: `accounts/{account}/businessInfo` */
|
|
1235
|
+
/** Required. The resource name of the business info. Format: `accounts/{account}/businessInfo`. For example, `accounts/123456/businessInfo`. */
|
|
1236
1236
|
name: string;
|
|
1237
1237
|
/** OAuth 2.0 token for the current user. */
|
|
1238
1238
|
oauth_token?: string;
|
|
@@ -2286,7 +2286,7 @@ declare namespace gapi.client {
|
|
|
2286
2286
|
fields?: string;
|
|
2287
2287
|
/** 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. */
|
|
2288
2288
|
key?: string;
|
|
2289
|
-
/** Required. The name of the program for which to disable participation for the given account. Format: `accounts/{account}/programs/{program}` */
|
|
2289
|
+
/** Required. The name of the program for which to disable participation for the given account. Format: `accounts/{account}/programs/{program}`. For example, `accounts/123456/programs/free-listings`. */
|
|
2290
2290
|
name: string;
|
|
2291
2291
|
/** OAuth 2.0 token for the current user. */
|
|
2292
2292
|
oauth_token?: string;
|
|
@@ -2315,7 +2315,7 @@ declare namespace gapi.client {
|
|
|
2315
2315
|
fields?: string;
|
|
2316
2316
|
/** 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. */
|
|
2317
2317
|
key?: string;
|
|
2318
|
-
/** Required. The name of the program for which to disable participation for the given account. Format: `accounts/{account}/programs/{program}` */
|
|
2318
|
+
/** Required. The name of the program for which to disable participation for the given account. Format: `accounts/{account}/programs/{program}`. For example, `accounts/123456/programs/free-listings`. */
|
|
2319
2319
|
name: string;
|
|
2320
2320
|
/** OAuth 2.0 token for the current user. */
|
|
2321
2321
|
oauth_token?: string;
|
|
@@ -2344,7 +2344,7 @@ declare namespace gapi.client {
|
|
|
2344
2344
|
fields?: string;
|
|
2345
2345
|
/** 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. */
|
|
2346
2346
|
key?: string;
|
|
2347
|
-
/** Required. The name of the program for which to enable participation for the given account. Format: `accounts/{account}/programs/{program}` */
|
|
2347
|
+
/** Required. The name of the program for which to enable participation for the given account. Format: `accounts/{account}/programs/{program}`. For example, `accounts/123456/programs/free-listings`. */
|
|
2348
2348
|
name: string;
|
|
2349
2349
|
/** OAuth 2.0 token for the current user. */
|
|
2350
2350
|
oauth_token?: string;
|
|
@@ -2373,7 +2373,7 @@ declare namespace gapi.client {
|
|
|
2373
2373
|
fields?: string;
|
|
2374
2374
|
/** 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. */
|
|
2375
2375
|
key?: string;
|
|
2376
|
-
/** Required. The name of the program for which to enable participation for the given account. Format: `accounts/{account}/programs/{program}` */
|
|
2376
|
+
/** Required. The name of the program for which to enable participation for the given account. Format: `accounts/{account}/programs/{program}`. For example, `accounts/123456/programs/free-listings`. */
|
|
2377
2377
|
name: string;
|
|
2378
2378
|
/** OAuth 2.0 token for the current user. */
|
|
2379
2379
|
oauth_token?: string;
|
|
@@ -2402,7 +2402,7 @@ declare namespace gapi.client {
|
|
|
2402
2402
|
fields?: string;
|
|
2403
2403
|
/** 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. */
|
|
2404
2404
|
key?: string;
|
|
2405
|
-
/** Required. The name of the program to retrieve. Format: `accounts/{account}/programs/{program}` */
|
|
2405
|
+
/** Required. The name of the program to retrieve. Format: `accounts/{account}/programs/{program}`. For example, `accounts/123456/programs/free-listings`. */
|
|
2406
2406
|
name: string;
|
|
2407
2407
|
/** OAuth 2.0 token for the current user. */
|
|
2408
2408
|
oauth_token?: string;
|
|
@@ -2673,7 +2673,7 @@ declare namespace gapi.client {
|
|
|
2673
2673
|
fields?: string;
|
|
2674
2674
|
/** 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. */
|
|
2675
2675
|
key?: string;
|
|
2676
|
-
/** Required. The resource name of the account relationship to get. Format: `accounts/{account}/relationships/{relationship}` */
|
|
2676
|
+
/** Required. The resource name of the account relationship to get. Format: `accounts/{account}/relationships/{relationship}`. For example, `accounts/123456/relationships/567890`. */
|
|
2677
2677
|
name: string;
|
|
2678
2678
|
/** OAuth 2.0 token for the current user. */
|
|
2679
2679
|
oauth_token?: string;
|
|
@@ -2731,7 +2731,7 @@ declare namespace gapi.client {
|
|
|
2731
2731
|
fields?: string;
|
|
2732
2732
|
/** 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. */
|
|
2733
2733
|
key?: string;
|
|
2734
|
-
/** Identifier. The resource name of the account relationship. Format: `accounts/{account}/relationships/{relationship}` */
|
|
2734
|
+
/** Identifier. The resource name of the account relationship. Format: `accounts/{account}/relationships/{relationship}`. For example, `accounts/123456/relationships/567890`. */
|
|
2735
2735
|
name: string;
|
|
2736
2736
|
/** OAuth 2.0 token for the current user. */
|
|
2737
2737
|
oauth_token?: string;
|
|
@@ -2762,7 +2762,7 @@ declare namespace gapi.client {
|
|
|
2762
2762
|
fields?: string;
|
|
2763
2763
|
/** 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. */
|
|
2764
2764
|
key?: string;
|
|
2765
|
-
/** Identifier. The resource name of the account relationship. Format: `accounts/{account}/relationships/{relationship}` */
|
|
2765
|
+
/** Identifier. The resource name of the account relationship. Format: `accounts/{account}/relationships/{relationship}`. For example, `accounts/123456/relationships/567890`. */
|
|
2766
2766
|
name: string;
|
|
2767
2767
|
/** OAuth 2.0 token for the current user. */
|
|
2768
2768
|
oauth_token?: string;
|