@maxim_mazurok/gapi.client.merchantapi-accounts_v1beta 0.0.20250421 → 0.0.20250427
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 +422 -3
- 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: 20250427
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -31,7 +31,7 @@ declare namespace gapi.client {
|
|
|
31
31
|
interface Accepted {
|
|
32
32
|
/** The account where the acceptance was recorded. This can be the account itself or, in the case of subaccounts, the MCA account. */
|
|
33
33
|
acceptedBy?: string;
|
|
34
|
-
/** The accepted
|
|
34
|
+
/** The accepted termsOfService. */
|
|
35
35
|
termsOfService?: string;
|
|
36
36
|
/** When set, it states that the accepted `TermsOfService` is only valid until the end of this date (in UTC). A new one must be accepted before then. The information of the required `TermsOfService` is found in the `Required` message. */
|
|
37
37
|
validUntil?: Date;
|
|
@@ -71,6 +71,39 @@ declare namespace gapi.client {
|
|
|
71
71
|
/** The localized title of the issue. */
|
|
72
72
|
title?: string;
|
|
73
73
|
}
|
|
74
|
+
interface AccountManagement {}
|
|
75
|
+
interface AccountRelationship {
|
|
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
|
+
accountIdAlias?: string;
|
|
78
|
+
/** Identifier. The resource name of the account relationship. */
|
|
79
|
+
name?: string;
|
|
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
|
+
provider?: string;
|
|
82
|
+
/** Output only. The human-readable display name of the provider account. */
|
|
83
|
+
providerDisplayName?: string;
|
|
84
|
+
}
|
|
85
|
+
interface AccountService {
|
|
86
|
+
/** Service type for account aggregation. This enables the provider, which is a Multi-Client Account (MCA), to manage multiple sub-accounts (client accounts). Through this service, the MCA 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 accounts. */
|
|
87
|
+
accountAggregation?: any;
|
|
88
|
+
/** Service type for account management. Enables the provider to perform administrative actions on the merchant's account, such as configuring account settings, managing users, or updating business information. */
|
|
89
|
+
accountManagement?: any;
|
|
90
|
+
/** Service type for managing advertising campaigns. Grants the provider access to create and manage the merchant's ad campaigns, including setting up campaigns, adjusting bids, and optimizing performance. */
|
|
91
|
+
campaignsManagement?: any;
|
|
92
|
+
/** 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
|
+
externalAccountId?: string;
|
|
94
|
+
/** Output only. Information about the state of the service in terms of establishing it (e.g. is it pending approval or approved). */
|
|
95
|
+
handshake?: Handshake;
|
|
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
|
+
mutability?: string;
|
|
98
|
+
/** Identifier. The resource name of the account service. */
|
|
99
|
+
name?: string;
|
|
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
|
+
productsManagement?: any;
|
|
102
|
+
/** 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
|
+
provider?: string;
|
|
104
|
+
/** Output only. The human-readable display name of the provider account. */
|
|
105
|
+
providerDisplayName?: string;
|
|
106
|
+
}
|
|
74
107
|
interface AddAccountService {
|
|
75
108
|
/** The provider is an [aggregator](https://support.google.com/merchants/answer/188487) for the account. Payload for service type Account Aggregation. */
|
|
76
109
|
accountAggregation?: any;
|
|
@@ -95,6 +128,7 @@ declare namespace gapi.client {
|
|
|
95
128
|
/** Required. The email address of the user (for example, `john.doe@gmail.com`). */
|
|
96
129
|
userId?: string;
|
|
97
130
|
}
|
|
131
|
+
interface ApproveAccountServiceRequest {}
|
|
98
132
|
interface AutofeedSettings {
|
|
99
133
|
/** Output only. Determines whether merchant is eligible for being enrolled into an autofeed. */
|
|
100
134
|
eligible?: boolean;
|
|
@@ -169,6 +203,7 @@ declare namespace gapi.client {
|
|
|
169
203
|
/** Output only. The phone verification state of the business. */
|
|
170
204
|
phoneVerificationState?: string;
|
|
171
205
|
}
|
|
206
|
+
interface CampaignsManagement {}
|
|
172
207
|
interface CarrierRate {
|
|
173
208
|
/** Required. Carrier service, such as `"UPS"` or `"Fedex"`. */
|
|
174
209
|
carrier?: string;
|
|
@@ -276,6 +311,12 @@ declare namespace gapi.client {
|
|
|
276
311
|
/** 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). */
|
|
277
312
|
geotargetCriteriaIds?: string[];
|
|
278
313
|
}
|
|
314
|
+
interface Handshake {
|
|
315
|
+
/** Output only. The most recent account to modify the account service's `approval_status`. */
|
|
316
|
+
actor?: string;
|
|
317
|
+
/** Output only. The approval state of this handshake. */
|
|
318
|
+
approvalState?: string;
|
|
319
|
+
}
|
|
279
320
|
interface Headers {
|
|
280
321
|
/** Required. A list of location ID sets. Must be non-empty. Can only be set if all other fields are not set. */
|
|
281
322
|
locations?: LocationIdSet[];
|
|
@@ -332,6 +373,18 @@ declare namespace gapi.client {
|
|
|
332
373
|
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
333
374
|
nextPageToken?: string;
|
|
334
375
|
}
|
|
376
|
+
interface ListAccountRelationshipsResponse {
|
|
377
|
+
/** The account relationships that match your filter. */
|
|
378
|
+
accountRelationships?: AccountRelationship[];
|
|
379
|
+
/** A page token. You can send the `page_token` to get the next page. Only included in the `list` response if there are more pages. */
|
|
380
|
+
nextPageToken?: string;
|
|
381
|
+
}
|
|
382
|
+
interface ListAccountServicesResponse {
|
|
383
|
+
/** The account services that match your filter. */
|
|
384
|
+
accountServices?: AccountService[];
|
|
385
|
+
/** A page token. You can send the `page_token` to get the next page. Only included in the `list` response if there are more pages. */
|
|
386
|
+
nextPageToken?: string;
|
|
387
|
+
}
|
|
335
388
|
interface ListAccountsResponse {
|
|
336
389
|
/** The accounts matching the `ListAccountsRequest`. */
|
|
337
390
|
accounts?: Account[];
|
|
@@ -490,6 +543,7 @@ declare namespace gapi.client {
|
|
|
490
543
|
/** Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum) */
|
|
491
544
|
reportingContext?: string;
|
|
492
545
|
}
|
|
546
|
+
interface ProductsManagement {}
|
|
493
547
|
interface ProductStatusChangeMessage {
|
|
494
548
|
/** The target account that owns the entity that changed. Format : `accounts/{merchant_id}` */
|
|
495
549
|
account?: string;
|
|
@@ -522,6 +576,12 @@ declare namespace gapi.client {
|
|
|
522
576
|
/** Output only. The requirements that the account has not yet satisfied that are affecting participation in the program. */
|
|
523
577
|
unmetRequirements?: Requirement[];
|
|
524
578
|
}
|
|
579
|
+
interface ProposeAccountServiceRequest {
|
|
580
|
+
/** Required. The account service to propose. */
|
|
581
|
+
accountService?: AccountService;
|
|
582
|
+
/** Required. 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`). */
|
|
583
|
+
provider?: string;
|
|
584
|
+
}
|
|
525
585
|
interface RateGroup {
|
|
526
586
|
/** Required. A list of [shipping labels](https://support.google.com/merchants/answer/6324504) defining the products to which this rate group applies to. This is a disjunction: only one of the labels has to match for the rate group to apply. May only be empty for the last rate group of a service. */
|
|
527
587
|
applicableShippingLabels?: string[];
|
|
@@ -550,6 +610,7 @@ declare namespace gapi.client {
|
|
|
550
610
|
/** Output only. Indicates if the region is eligible for use in the Shipping Services configuration. */
|
|
551
611
|
shippingEligible?: boolean;
|
|
552
612
|
}
|
|
613
|
+
interface RejectAccountServiceRequest {}
|
|
553
614
|
interface Required {
|
|
554
615
|
/** The `TermsOfService` that need to be accepted. */
|
|
555
616
|
termsOfService?: string;
|
|
@@ -1422,7 +1483,7 @@ declare namespace gapi.client {
|
|
|
1422
1483
|
): Request<Homepage>;
|
|
1423
1484
|
}
|
|
1424
1485
|
interface IssuesResource {
|
|
1425
|
-
/** Lists all account issues of a Merchant Center account. */
|
|
1486
|
+
/** Lists all account issues of a Merchant Center account. When called on a multi-client account, this method only returns issues belonging to that account, not its sub-accounts. To retrieve issues for sub-accounts, you must first call the accounts.listSubaccounts method to obtain a list of sub-accounts, and then call `accounts.issues.list` for each sub-account individually. */
|
|
1426
1487
|
list(request?: {
|
|
1427
1488
|
/** V1 error format. */
|
|
1428
1489
|
'$.xgafv'?: string;
|
|
@@ -1905,6 +1966,362 @@ declare namespace gapi.client {
|
|
|
1905
1966
|
body: Region,
|
|
1906
1967
|
): Request<Region>;
|
|
1907
1968
|
}
|
|
1969
|
+
interface RelationshipsResource {
|
|
1970
|
+
/** Retrieve an account relationship. */
|
|
1971
|
+
get(request?: {
|
|
1972
|
+
/** V1 error format. */
|
|
1973
|
+
'$.xgafv'?: string;
|
|
1974
|
+
/** OAuth access token. */
|
|
1975
|
+
access_token?: string;
|
|
1976
|
+
/** Data format for response. */
|
|
1977
|
+
alt?: string;
|
|
1978
|
+
/** JSONP */
|
|
1979
|
+
callback?: string;
|
|
1980
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1981
|
+
fields?: string;
|
|
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
|
+
key?: string;
|
|
1984
|
+
/** Required. The resource name of the account relationship to get. */
|
|
1985
|
+
name: string;
|
|
1986
|
+
/** OAuth 2.0 token for the current user. */
|
|
1987
|
+
oauth_token?: string;
|
|
1988
|
+
/** Returns response with indentations and line breaks. */
|
|
1989
|
+
prettyPrint?: boolean;
|
|
1990
|
+
/** 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. */
|
|
1991
|
+
quotaUser?: string;
|
|
1992
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1993
|
+
upload_protocol?: string;
|
|
1994
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1995
|
+
uploadType?: string;
|
|
1996
|
+
}): Request<AccountRelationship>;
|
|
1997
|
+
/** List account relationships for the specified account. */
|
|
1998
|
+
list(request?: {
|
|
1999
|
+
/** V1 error format. */
|
|
2000
|
+
'$.xgafv'?: string;
|
|
2001
|
+
/** OAuth access token. */
|
|
2002
|
+
access_token?: string;
|
|
2003
|
+
/** Data format for response. */
|
|
2004
|
+
alt?: string;
|
|
2005
|
+
/** JSONP */
|
|
2006
|
+
callback?: string;
|
|
2007
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2008
|
+
fields?: string;
|
|
2009
|
+
/** 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. */
|
|
2010
|
+
key?: string;
|
|
2011
|
+
/** OAuth 2.0 token for the current user. */
|
|
2012
|
+
oauth_token?: string;
|
|
2013
|
+
/** Optional. The maximum number of elements to return in the response. Use for paging. If no `page_size` is specified, `100` is used as the default value. The maximum allowed value is `1000`. */
|
|
2014
|
+
pageSize?: number;
|
|
2015
|
+
/** Optional. The token returned by the previous `list` request. */
|
|
2016
|
+
pageToken?: string;
|
|
2017
|
+
/** Required. The parent account of the account relationship to filter by. */
|
|
2018
|
+
parent: string;
|
|
2019
|
+
/** Returns response with indentations and line breaks. */
|
|
2020
|
+
prettyPrint?: boolean;
|
|
2021
|
+
/** 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. */
|
|
2022
|
+
quotaUser?: string;
|
|
2023
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2024
|
+
upload_protocol?: string;
|
|
2025
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2026
|
+
uploadType?: string;
|
|
2027
|
+
}): Request<ListAccountRelationshipsResponse>;
|
|
2028
|
+
/** Updates the account relationship. Executing this method requires admin access. */
|
|
2029
|
+
patch(request: {
|
|
2030
|
+
/** V1 error format. */
|
|
2031
|
+
'$.xgafv'?: string;
|
|
2032
|
+
/** OAuth access token. */
|
|
2033
|
+
access_token?: string;
|
|
2034
|
+
/** Data format for response. */
|
|
2035
|
+
alt?: string;
|
|
2036
|
+
/** JSONP */
|
|
2037
|
+
callback?: string;
|
|
2038
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2039
|
+
fields?: string;
|
|
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
|
+
key?: string;
|
|
2042
|
+
/** Identifier. The resource name of the account relationship. */
|
|
2043
|
+
name: string;
|
|
2044
|
+
/** OAuth 2.0 token for the current user. */
|
|
2045
|
+
oauth_token?: string;
|
|
2046
|
+
/** Returns response with indentations and line breaks. */
|
|
2047
|
+
prettyPrint?: boolean;
|
|
2048
|
+
/** 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. */
|
|
2049
|
+
quotaUser?: string;
|
|
2050
|
+
/** Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `account_id_alias` */
|
|
2051
|
+
updateMask?: string;
|
|
2052
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2053
|
+
upload_protocol?: string;
|
|
2054
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2055
|
+
uploadType?: string;
|
|
2056
|
+
/** Request body */
|
|
2057
|
+
resource: AccountRelationship;
|
|
2058
|
+
}): Request<AccountRelationship>;
|
|
2059
|
+
patch(
|
|
2060
|
+
request: {
|
|
2061
|
+
/** V1 error format. */
|
|
2062
|
+
'$.xgafv'?: string;
|
|
2063
|
+
/** OAuth access token. */
|
|
2064
|
+
access_token?: string;
|
|
2065
|
+
/** Data format for response. */
|
|
2066
|
+
alt?: string;
|
|
2067
|
+
/** JSONP */
|
|
2068
|
+
callback?: string;
|
|
2069
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2070
|
+
fields?: string;
|
|
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
|
+
key?: string;
|
|
2073
|
+
/** Identifier. The resource name of the account relationship. */
|
|
2074
|
+
name: string;
|
|
2075
|
+
/** OAuth 2.0 token for the current user. */
|
|
2076
|
+
oauth_token?: string;
|
|
2077
|
+
/** Returns response with indentations and line breaks. */
|
|
2078
|
+
prettyPrint?: boolean;
|
|
2079
|
+
/** 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. */
|
|
2080
|
+
quotaUser?: string;
|
|
2081
|
+
/** Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `account_id_alias` */
|
|
2082
|
+
updateMask?: string;
|
|
2083
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2084
|
+
upload_protocol?: string;
|
|
2085
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2086
|
+
uploadType?: string;
|
|
2087
|
+
},
|
|
2088
|
+
body: AccountRelationship,
|
|
2089
|
+
): Request<AccountRelationship>;
|
|
2090
|
+
}
|
|
2091
|
+
interface ServicesResource {
|
|
2092
|
+
/** Approve an account service proposal. */
|
|
2093
|
+
approve(request: {
|
|
2094
|
+
/** V1 error format. */
|
|
2095
|
+
'$.xgafv'?: string;
|
|
2096
|
+
/** OAuth access token. */
|
|
2097
|
+
access_token?: string;
|
|
2098
|
+
/** Data format for response. */
|
|
2099
|
+
alt?: string;
|
|
2100
|
+
/** JSONP */
|
|
2101
|
+
callback?: string;
|
|
2102
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2103
|
+
fields?: string;
|
|
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
|
+
key?: string;
|
|
2106
|
+
/** Required. The resource name of the account service to approve. */
|
|
2107
|
+
name: string;
|
|
2108
|
+
/** OAuth 2.0 token for the current user. */
|
|
2109
|
+
oauth_token?: string;
|
|
2110
|
+
/** Returns response with indentations and line breaks. */
|
|
2111
|
+
prettyPrint?: boolean;
|
|
2112
|
+
/** 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. */
|
|
2113
|
+
quotaUser?: string;
|
|
2114
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2115
|
+
upload_protocol?: string;
|
|
2116
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2117
|
+
uploadType?: string;
|
|
2118
|
+
/** Request body */
|
|
2119
|
+
resource: ApproveAccountServiceRequest;
|
|
2120
|
+
}): Request<AccountService>;
|
|
2121
|
+
approve(
|
|
2122
|
+
request: {
|
|
2123
|
+
/** V1 error format. */
|
|
2124
|
+
'$.xgafv'?: string;
|
|
2125
|
+
/** OAuth access token. */
|
|
2126
|
+
access_token?: string;
|
|
2127
|
+
/** Data format for response. */
|
|
2128
|
+
alt?: string;
|
|
2129
|
+
/** JSONP */
|
|
2130
|
+
callback?: string;
|
|
2131
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2132
|
+
fields?: string;
|
|
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
|
+
key?: string;
|
|
2135
|
+
/** Required. The resource name of the account service to approve. */
|
|
2136
|
+
name: string;
|
|
2137
|
+
/** OAuth 2.0 token for the current user. */
|
|
2138
|
+
oauth_token?: string;
|
|
2139
|
+
/** Returns response with indentations and line breaks. */
|
|
2140
|
+
prettyPrint?: boolean;
|
|
2141
|
+
/** 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. */
|
|
2142
|
+
quotaUser?: string;
|
|
2143
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2144
|
+
upload_protocol?: string;
|
|
2145
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2146
|
+
uploadType?: string;
|
|
2147
|
+
},
|
|
2148
|
+
body: ApproveAccountServiceRequest,
|
|
2149
|
+
): Request<AccountService>;
|
|
2150
|
+
/** Retrieve an account service. */
|
|
2151
|
+
get(request?: {
|
|
2152
|
+
/** V1 error format. */
|
|
2153
|
+
'$.xgafv'?: string;
|
|
2154
|
+
/** OAuth access token. */
|
|
2155
|
+
access_token?: string;
|
|
2156
|
+
/** Data format for response. */
|
|
2157
|
+
alt?: string;
|
|
2158
|
+
/** JSONP */
|
|
2159
|
+
callback?: string;
|
|
2160
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2161
|
+
fields?: string;
|
|
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
|
+
key?: string;
|
|
2164
|
+
/** Required. The resource name of the account service to get. */
|
|
2165
|
+
name: string;
|
|
2166
|
+
/** OAuth 2.0 token for the current user. */
|
|
2167
|
+
oauth_token?: string;
|
|
2168
|
+
/** Returns response with indentations and line breaks. */
|
|
2169
|
+
prettyPrint?: boolean;
|
|
2170
|
+
/** 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. */
|
|
2171
|
+
quotaUser?: string;
|
|
2172
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2173
|
+
upload_protocol?: string;
|
|
2174
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2175
|
+
uploadType?: string;
|
|
2176
|
+
}): Request<AccountService>;
|
|
2177
|
+
/** List account services for the specified accounts. Supports filtering. */
|
|
2178
|
+
list(request?: {
|
|
2179
|
+
/** V1 error format. */
|
|
2180
|
+
'$.xgafv'?: string;
|
|
2181
|
+
/** OAuth access token. */
|
|
2182
|
+
access_token?: string;
|
|
2183
|
+
/** Data format for response. */
|
|
2184
|
+
alt?: string;
|
|
2185
|
+
/** JSONP */
|
|
2186
|
+
callback?: string;
|
|
2187
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2188
|
+
fields?: string;
|
|
2189
|
+
/** 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. */
|
|
2190
|
+
key?: string;
|
|
2191
|
+
/** OAuth 2.0 token for the current user. */
|
|
2192
|
+
oauth_token?: string;
|
|
2193
|
+
/** Optional. The maximum number of elements to return in the response. Use for paging. If no `page_size` is specified, `100` is used as the default value. The maximum allowed value is `1000`. */
|
|
2194
|
+
pageSize?: number;
|
|
2195
|
+
/** Optional. The token returned by the previous `list` request. */
|
|
2196
|
+
pageToken?: string;
|
|
2197
|
+
/** Required. The parent account of the account service to filter by. */
|
|
2198
|
+
parent: string;
|
|
2199
|
+
/** Returns response with indentations and line breaks. */
|
|
2200
|
+
prettyPrint?: boolean;
|
|
2201
|
+
/** 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. */
|
|
2202
|
+
quotaUser?: string;
|
|
2203
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2204
|
+
upload_protocol?: string;
|
|
2205
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2206
|
+
uploadType?: string;
|
|
2207
|
+
}): Request<ListAccountServicesResponse>;
|
|
2208
|
+
/** Propose an account service. */
|
|
2209
|
+
propose(request: {
|
|
2210
|
+
/** V1 error format. */
|
|
2211
|
+
'$.xgafv'?: string;
|
|
2212
|
+
/** OAuth access token. */
|
|
2213
|
+
access_token?: string;
|
|
2214
|
+
/** Data format for response. */
|
|
2215
|
+
alt?: string;
|
|
2216
|
+
/** JSONP */
|
|
2217
|
+
callback?: string;
|
|
2218
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2219
|
+
fields?: string;
|
|
2220
|
+
/** 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. */
|
|
2221
|
+
key?: string;
|
|
2222
|
+
/** OAuth 2.0 token for the current user. */
|
|
2223
|
+
oauth_token?: string;
|
|
2224
|
+
/** Required. The resource name of the parent account for the service. */
|
|
2225
|
+
parent: string;
|
|
2226
|
+
/** Returns response with indentations and line breaks. */
|
|
2227
|
+
prettyPrint?: boolean;
|
|
2228
|
+
/** 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. */
|
|
2229
|
+
quotaUser?: string;
|
|
2230
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2231
|
+
upload_protocol?: string;
|
|
2232
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2233
|
+
uploadType?: string;
|
|
2234
|
+
/** Request body */
|
|
2235
|
+
resource: ProposeAccountServiceRequest;
|
|
2236
|
+
}): Request<AccountService>;
|
|
2237
|
+
propose(
|
|
2238
|
+
request: {
|
|
2239
|
+
/** V1 error format. */
|
|
2240
|
+
'$.xgafv'?: string;
|
|
2241
|
+
/** OAuth access token. */
|
|
2242
|
+
access_token?: string;
|
|
2243
|
+
/** Data format for response. */
|
|
2244
|
+
alt?: string;
|
|
2245
|
+
/** JSONP */
|
|
2246
|
+
callback?: string;
|
|
2247
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2248
|
+
fields?: string;
|
|
2249
|
+
/** 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. */
|
|
2250
|
+
key?: string;
|
|
2251
|
+
/** OAuth 2.0 token for the current user. */
|
|
2252
|
+
oauth_token?: string;
|
|
2253
|
+
/** Required. The resource name of the parent account for the service. */
|
|
2254
|
+
parent: string;
|
|
2255
|
+
/** Returns response with indentations and line breaks. */
|
|
2256
|
+
prettyPrint?: boolean;
|
|
2257
|
+
/** 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. */
|
|
2258
|
+
quotaUser?: string;
|
|
2259
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2260
|
+
upload_protocol?: string;
|
|
2261
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2262
|
+
uploadType?: string;
|
|
2263
|
+
},
|
|
2264
|
+
body: ProposeAccountServiceRequest,
|
|
2265
|
+
): Request<AccountService>;
|
|
2266
|
+
/** Reject an account service (both proposed and approve services can be rejected). */
|
|
2267
|
+
reject(request: {
|
|
2268
|
+
/** V1 error format. */
|
|
2269
|
+
'$.xgafv'?: string;
|
|
2270
|
+
/** OAuth access token. */
|
|
2271
|
+
access_token?: string;
|
|
2272
|
+
/** Data format for response. */
|
|
2273
|
+
alt?: string;
|
|
2274
|
+
/** JSONP */
|
|
2275
|
+
callback?: string;
|
|
2276
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2277
|
+
fields?: string;
|
|
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
|
+
key?: string;
|
|
2280
|
+
/** Required. The resource name of the account service to reject. */
|
|
2281
|
+
name: string;
|
|
2282
|
+
/** OAuth 2.0 token for the current user. */
|
|
2283
|
+
oauth_token?: string;
|
|
2284
|
+
/** Returns response with indentations and line breaks. */
|
|
2285
|
+
prettyPrint?: boolean;
|
|
2286
|
+
/** 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. */
|
|
2287
|
+
quotaUser?: string;
|
|
2288
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2289
|
+
upload_protocol?: string;
|
|
2290
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2291
|
+
uploadType?: string;
|
|
2292
|
+
/** Request body */
|
|
2293
|
+
resource: RejectAccountServiceRequest;
|
|
2294
|
+
}): Request<{}>;
|
|
2295
|
+
reject(
|
|
2296
|
+
request: {
|
|
2297
|
+
/** V1 error format. */
|
|
2298
|
+
'$.xgafv'?: string;
|
|
2299
|
+
/** OAuth access token. */
|
|
2300
|
+
access_token?: string;
|
|
2301
|
+
/** Data format for response. */
|
|
2302
|
+
alt?: string;
|
|
2303
|
+
/** JSONP */
|
|
2304
|
+
callback?: string;
|
|
2305
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2306
|
+
fields?: string;
|
|
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
|
+
key?: string;
|
|
2309
|
+
/** Required. The resource name of the account service to reject. */
|
|
2310
|
+
name: string;
|
|
2311
|
+
/** OAuth 2.0 token for the current user. */
|
|
2312
|
+
oauth_token?: string;
|
|
2313
|
+
/** Returns response with indentations and line breaks. */
|
|
2314
|
+
prettyPrint?: boolean;
|
|
2315
|
+
/** 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. */
|
|
2316
|
+
quotaUser?: string;
|
|
2317
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2318
|
+
upload_protocol?: string;
|
|
2319
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2320
|
+
uploadType?: string;
|
|
2321
|
+
},
|
|
2322
|
+
body: RejectAccountServiceRequest,
|
|
2323
|
+
): Request<{}>;
|
|
2324
|
+
}
|
|
1908
2325
|
interface ShippingSettingsResource {
|
|
1909
2326
|
/** Retrieve shipping setting information. */
|
|
1910
2327
|
getShippingSettings(request?: {
|
|
@@ -2504,6 +2921,8 @@ declare namespace gapi.client {
|
|
|
2504
2921
|
onlineReturnPolicies: OnlineReturnPoliciesResource;
|
|
2505
2922
|
programs: ProgramsResource;
|
|
2506
2923
|
regions: RegionsResource;
|
|
2924
|
+
relationships: RelationshipsResource;
|
|
2925
|
+
services: ServicesResource;
|
|
2507
2926
|
shippingSettings: ShippingSettingsResource;
|
|
2508
2927
|
termsOfServiceAgreementStates: TermsOfServiceAgreementStatesResource;
|
|
2509
2928
|
users: UsersResource;
|