@maxim_mazurok/gapi.client.merchantapi-accounts_v1beta 0.0.20250504 → 0.0.20250507
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 +18 -18
- 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: 20250507
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -75,7 +75,7 @@ declare namespace gapi.client {
|
|
|
75
75
|
interface AccountRelationship {
|
|
76
76
|
/** 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. */
|
|
77
77
|
accountIdAlias?: string;
|
|
78
|
-
/** Identifier. The resource name of the account relationship. */
|
|
78
|
+
/** Identifier. The resource name of the account relationship. Format: `accounts/{account}/relationships/{relationship}` */
|
|
79
79
|
name?: string;
|
|
80
80
|
/** 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`). */
|
|
81
81
|
provider?: string;
|
|
@@ -95,7 +95,7 @@ declare namespace gapi.client {
|
|
|
95
95
|
handshake?: Handshake;
|
|
96
96
|
/** 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
97
|
mutability?: string;
|
|
98
|
-
/** Identifier. The resource name of the account service. */
|
|
98
|
+
/** Identifier. The resource name of the account service. Format: `accounts/{account}/services/{service}` */
|
|
99
99
|
name?: string;
|
|
100
100
|
/** Service type for managing products. This allows the provider to handle product data on behalf of the merchant, including reading and writing product listings. It's commonly used when the provider offers inventory management or catalog synchronization services to keep the merchant's product information up-to-date across platforms. */
|
|
101
101
|
productsManagement?: any;
|
|
@@ -219,7 +219,7 @@ declare namespace gapi.client {
|
|
|
219
219
|
percentageAdjustment?: string;
|
|
220
220
|
}
|
|
221
221
|
interface ClaimHomepageRequest {
|
|
222
|
-
/** Optional. When set to `true`, this option removes any existing claim on the requested website
|
|
222
|
+
/** Optional. When set to `true`, this option removes any existing claim on the requested website from any other account to the account making the request, effectively replacing the previous claim. */
|
|
223
223
|
overwrite?: boolean;
|
|
224
224
|
}
|
|
225
225
|
interface CreateAndConfigureAccountRequest {
|
|
@@ -805,7 +805,7 @@ declare namespace gapi.client {
|
|
|
805
805
|
carrier?: string;
|
|
806
806
|
/** Required. Carrier service, such as `"ground"` or `"2 days"`. The name of the service must be in the eddSupportedServices list. */
|
|
807
807
|
carrierService?: string;
|
|
808
|
-
/** Required. Warehouse name. This should match warehouse */
|
|
808
|
+
/** Required. Warehouse name. This should match [warehouse](/merchant/api/reference/rest/accounts_v1beta/accounts.shippingSettings#warehouse) */
|
|
809
809
|
warehouse?: string;
|
|
810
810
|
}
|
|
811
811
|
interface WarehouseCutoffTime {
|
|
@@ -1276,7 +1276,7 @@ declare namespace gapi.client {
|
|
|
1276
1276
|
): Request<EmailPreferences>;
|
|
1277
1277
|
}
|
|
1278
1278
|
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 merchant 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
|
|
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 merchant 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
1280
|
claim(request: {
|
|
1281
1281
|
/** V1 error format. */
|
|
1282
1282
|
'$.xgafv'?: string;
|
|
@@ -1981,7 +1981,7 @@ declare namespace gapi.client {
|
|
|
1981
1981
|
fields?: string;
|
|
1982
1982
|
/** 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. */
|
|
1983
1983
|
key?: string;
|
|
1984
|
-
/** Required. The resource name of the account relationship to get. */
|
|
1984
|
+
/** Required. The resource name of the account relationship to get. Format: `accounts/{account}/relationships/{relationship}` */
|
|
1985
1985
|
name: string;
|
|
1986
1986
|
/** OAuth 2.0 token for the current user. */
|
|
1987
1987
|
oauth_token?: string;
|
|
@@ -2014,7 +2014,7 @@ declare namespace gapi.client {
|
|
|
2014
2014
|
pageSize?: number;
|
|
2015
2015
|
/** Optional. The token returned by the previous `list` request. */
|
|
2016
2016
|
pageToken?: string;
|
|
2017
|
-
/** Required. The parent account of the account relationship to filter by. */
|
|
2017
|
+
/** Required. The parent account of the account relationship to filter by. Format: `accounts/{account}` */
|
|
2018
2018
|
parent: string;
|
|
2019
2019
|
/** Returns response with indentations and line breaks. */
|
|
2020
2020
|
prettyPrint?: boolean;
|
|
@@ -2039,7 +2039,7 @@ declare namespace gapi.client {
|
|
|
2039
2039
|
fields?: string;
|
|
2040
2040
|
/** 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. */
|
|
2041
2041
|
key?: string;
|
|
2042
|
-
/** Identifier. The resource name of the account relationship. */
|
|
2042
|
+
/** Identifier. The resource name of the account relationship. Format: `accounts/{account}/relationships/{relationship}` */
|
|
2043
2043
|
name: string;
|
|
2044
2044
|
/** OAuth 2.0 token for the current user. */
|
|
2045
2045
|
oauth_token?: string;
|
|
@@ -2070,7 +2070,7 @@ declare namespace gapi.client {
|
|
|
2070
2070
|
fields?: string;
|
|
2071
2071
|
/** 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. */
|
|
2072
2072
|
key?: string;
|
|
2073
|
-
/** Identifier. The resource name of the account relationship. */
|
|
2073
|
+
/** Identifier. The resource name of the account relationship. Format: `accounts/{account}/relationships/{relationship}` */
|
|
2074
2074
|
name: string;
|
|
2075
2075
|
/** OAuth 2.0 token for the current user. */
|
|
2076
2076
|
oauth_token?: string;
|
|
@@ -2103,7 +2103,7 @@ declare namespace gapi.client {
|
|
|
2103
2103
|
fields?: string;
|
|
2104
2104
|
/** 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. */
|
|
2105
2105
|
key?: string;
|
|
2106
|
-
/** Required. The resource name of the account service to approve. */
|
|
2106
|
+
/** Required. The resource name of the account service to approve. Format: `accounts/{account}/services/{service}` */
|
|
2107
2107
|
name: string;
|
|
2108
2108
|
/** OAuth 2.0 token for the current user. */
|
|
2109
2109
|
oauth_token?: string;
|
|
@@ -2132,7 +2132,7 @@ declare namespace gapi.client {
|
|
|
2132
2132
|
fields?: string;
|
|
2133
2133
|
/** 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. */
|
|
2134
2134
|
key?: string;
|
|
2135
|
-
/** Required. The resource name of the account service to approve. */
|
|
2135
|
+
/** Required. The resource name of the account service to approve. Format: `accounts/{account}/services/{service}` */
|
|
2136
2136
|
name: string;
|
|
2137
2137
|
/** OAuth 2.0 token for the current user. */
|
|
2138
2138
|
oauth_token?: string;
|
|
@@ -2161,7 +2161,7 @@ declare namespace gapi.client {
|
|
|
2161
2161
|
fields?: string;
|
|
2162
2162
|
/** 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. */
|
|
2163
2163
|
key?: string;
|
|
2164
|
-
/** Required. The resource name of the account service to get. */
|
|
2164
|
+
/** Required. The resource name of the account service to get. Format: `accounts/{account}/services/{service}` */
|
|
2165
2165
|
name: string;
|
|
2166
2166
|
/** OAuth 2.0 token for the current user. */
|
|
2167
2167
|
oauth_token?: string;
|
|
@@ -2194,7 +2194,7 @@ declare namespace gapi.client {
|
|
|
2194
2194
|
pageSize?: number;
|
|
2195
2195
|
/** Optional. The token returned by the previous `list` request. */
|
|
2196
2196
|
pageToken?: string;
|
|
2197
|
-
/** Required. The parent account of the account service to filter by. */
|
|
2197
|
+
/** Required. The parent account of the account service to filter by. Format: `accounts/{account}` */
|
|
2198
2198
|
parent: string;
|
|
2199
2199
|
/** Returns response with indentations and line breaks. */
|
|
2200
2200
|
prettyPrint?: boolean;
|
|
@@ -2221,7 +2221,7 @@ declare namespace gapi.client {
|
|
|
2221
2221
|
key?: string;
|
|
2222
2222
|
/** OAuth 2.0 token for the current user. */
|
|
2223
2223
|
oauth_token?: string;
|
|
2224
|
-
/** Required. The resource name of the parent account for the service. */
|
|
2224
|
+
/** Required. The resource name of the parent account for the service. Format: `accounts/{account}` */
|
|
2225
2225
|
parent: string;
|
|
2226
2226
|
/** Returns response with indentations and line breaks. */
|
|
2227
2227
|
prettyPrint?: boolean;
|
|
@@ -2250,7 +2250,7 @@ declare namespace gapi.client {
|
|
|
2250
2250
|
key?: string;
|
|
2251
2251
|
/** OAuth 2.0 token for the current user. */
|
|
2252
2252
|
oauth_token?: string;
|
|
2253
|
-
/** Required. The resource name of the parent account for the service. */
|
|
2253
|
+
/** Required. The resource name of the parent account for the service. Format: `accounts/{account}` */
|
|
2254
2254
|
parent: string;
|
|
2255
2255
|
/** Returns response with indentations and line breaks. */
|
|
2256
2256
|
prettyPrint?: boolean;
|
|
@@ -2277,7 +2277,7 @@ declare namespace gapi.client {
|
|
|
2277
2277
|
fields?: string;
|
|
2278
2278
|
/** 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. */
|
|
2279
2279
|
key?: string;
|
|
2280
|
-
/** Required. The resource name of the account service to reject. */
|
|
2280
|
+
/** Required. The resource name of the account service to reject. Format: `accounts/{account}/services/{service}` */
|
|
2281
2281
|
name: string;
|
|
2282
2282
|
/** OAuth 2.0 token for the current user. */
|
|
2283
2283
|
oauth_token?: string;
|
|
@@ -2306,7 +2306,7 @@ declare namespace gapi.client {
|
|
|
2306
2306
|
fields?: string;
|
|
2307
2307
|
/** 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. */
|
|
2308
2308
|
key?: string;
|
|
2309
|
-
/** Required. The resource name of the account service to reject. */
|
|
2309
|
+
/** Required. The resource name of the account service to reject. Format: `accounts/{account}/services/{service}` */
|
|
2310
2310
|
name: string;
|
|
2311
2311
|
/** OAuth 2.0 token for the current user. */
|
|
2312
2312
|
oauth_token?: string;
|