@googleapis/merchantapi 5.0.0 → 6.0.1
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/CHANGELOG.md +18 -0
- package/accounts_v1beta.ts +301 -188
- package/build/accounts_v1beta.d.ts +119 -119
- package/build/accounts_v1beta.js.map +1 -1
- package/build/conversions_v1beta.d.ts +13 -13
- package/build/conversions_v1beta.js.map +1 -1
- package/build/datasources_v1beta.d.ts +16 -16
- package/build/datasources_v1beta.js.map +1 -1
- package/build/index.d.ts +11 -1
- package/build/index.js +7 -1
- package/build/index.js.map +1 -1
- package/build/inventories_v1beta.d.ts +13 -13
- package/build/inventories_v1beta.js.map +1 -1
- package/build/issueresolution_v1beta.d.ts +661 -0
- package/build/issueresolution_v1beta.js +148 -0
- package/build/issueresolution_v1beta.js.map +1 -0
- package/build/lfp_v1beta.d.ts +15 -15
- package/build/lfp_v1beta.js.map +1 -1
- package/build/notifications_v1beta.d.ts +11 -11
- package/build/notifications_v1beta.js.map +1 -1
- package/build/ordertracking_v1beta.d.ts +385 -0
- package/build/ordertracking_v1beta.js +91 -0
- package/build/ordertracking_v1beta.js.map +1 -0
- package/build/products_v1beta.d.ts +11 -11
- package/build/products_v1beta.js.map +1 -1
- package/build/promotions_v1beta.d.ts +7 -7
- package/build/promotions_v1beta.js.map +1 -1
- package/build/quota_v1beta.d.ts +3 -3
- package/build/reports_v1beta.d.ts +3 -3
- package/build/reports_v1beta.js.map +1 -1
- package/build/reviews_v1beta.d.ts +17 -17
- package/build/reviews_v1beta.js.map +1 -1
- package/conversions_v1beta.ts +35 -20
- package/datasources_v1beta.ts +42 -24
- package/index.ts +24 -1
- package/inventories_v1beta.ts +31 -22
- package/issueresolution_v1beta.ts +962 -0
- package/lfp_v1beta.ts +41 -23
- package/notifications_v1beta.ts +27 -20
- package/ordertracking_v1beta.ts +525 -0
- package/package.json +2 -2
- package/products_v1beta.ts +29 -17
- package/promotions_v1beta.ts +17 -11
- package/quota_v1beta.ts +5 -5
- package/reports_v1beta.ts +7 -4
- package/reviews_v1beta.ts +45 -27
package/accounts_v1beta.ts
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
Compute,
|
|
24
24
|
UserRefreshClient,
|
|
25
25
|
BaseExternalAccountClient,
|
|
26
|
-
|
|
26
|
+
GaxiosResponseWithHTTP2,
|
|
27
27
|
GoogleConfigurable,
|
|
28
28
|
createAPIRequest,
|
|
29
29
|
MethodOptions,
|
|
@@ -231,7 +231,7 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
231
231
|
*/
|
|
232
232
|
accountIdAlias?: string | null;
|
|
233
233
|
/**
|
|
234
|
-
* Identifier. The resource name of the account relationship.
|
|
234
|
+
* Identifier. The resource name of the account relationship. Format: `accounts/{account\}/relationships/{relationship\}`
|
|
235
235
|
*/
|
|
236
236
|
name?: string | null;
|
|
237
237
|
/**
|
|
@@ -272,7 +272,7 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
272
272
|
*/
|
|
273
273
|
mutability?: string | null;
|
|
274
274
|
/**
|
|
275
|
-
* Identifier. The resource name of the account service.
|
|
275
|
+
* Identifier. The resource name of the account service. Format: `accounts/{account\}/services/{service\}`
|
|
276
276
|
*/
|
|
277
277
|
name?: string | null;
|
|
278
278
|
/**
|
|
@@ -537,7 +537,7 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
537
537
|
*/
|
|
538
538
|
export interface Schema$ClaimHomepageRequest {
|
|
539
539
|
/**
|
|
540
|
-
* Optional. When set to `true`, this option removes any existing claim on the requested website
|
|
540
|
+
* 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.
|
|
541
541
|
*/
|
|
542
542
|
overwrite?: boolean | null;
|
|
543
543
|
}
|
|
@@ -1275,7 +1275,7 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
1275
1275
|
resourceType?: string | null;
|
|
1276
1276
|
}
|
|
1277
1277
|
/**
|
|
1278
|
-
* Defines participation in a given program for the specified account. Programs provide a mechanism for adding functionality to merchant accounts. A typical example of this is the [Free product listings](https://support.google.com/merchants/
|
|
1278
|
+
* Defines participation in a given program for the specified account. Programs provide a mechanism for adding functionality to merchant accounts. A typical example of this is the [Free product listings](https://support.google.com/merchants/answer/13889434) program, which enables products from a merchant's store to be shown across Google for free. The following list is the available set of program resource IDs accessible through the API: * `free-listings` * `shopping-ads` * `youtube-shopping-checkout`
|
|
1279
1279
|
*/
|
|
1280
1280
|
export interface Schema$Program {
|
|
1281
1281
|
/**
|
|
@@ -1785,7 +1785,7 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
1785
1785
|
*/
|
|
1786
1786
|
carrierService?: string | null;
|
|
1787
1787
|
/**
|
|
1788
|
-
* Required. Warehouse name. This should match warehouse
|
|
1788
|
+
* Required. Warehouse name. This should match [warehouse](/merchant/api/reference/rest/accounts_v1beta/accounts.shippingSettings#warehouse)
|
|
1789
1789
|
*/
|
|
1790
1790
|
warehouse?: string | null;
|
|
1791
1791
|
}
|
|
@@ -1876,11 +1876,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
1876
1876
|
createAndConfigure(
|
|
1877
1877
|
params: Params$Resource$Accounts$Createandconfigure,
|
|
1878
1878
|
options: StreamMethodOptions
|
|
1879
|
-
):
|
|
1879
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1880
1880
|
createAndConfigure(
|
|
1881
1881
|
params?: Params$Resource$Accounts$Createandconfigure,
|
|
1882
1882
|
options?: MethodOptions
|
|
1883
|
-
):
|
|
1883
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Account>>;
|
|
1884
1884
|
createAndConfigure(
|
|
1885
1885
|
params: Params$Resource$Accounts$Createandconfigure,
|
|
1886
1886
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -1909,7 +1909,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
1909
1909
|
callback?:
|
|
1910
1910
|
| BodyResponseCallback<Schema$Account>
|
|
1911
1911
|
| BodyResponseCallback<Readable>
|
|
1912
|
-
):
|
|
1912
|
+
):
|
|
1913
|
+
| void
|
|
1914
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Account>>
|
|
1915
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
1913
1916
|
let params = (paramsOrCallback ||
|
|
1914
1917
|
{}) as Params$Resource$Accounts$Createandconfigure;
|
|
1915
1918
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -1963,11 +1966,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
1963
1966
|
delete(
|
|
1964
1967
|
params: Params$Resource$Accounts$Delete,
|
|
1965
1968
|
options: StreamMethodOptions
|
|
1966
|
-
):
|
|
1969
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1967
1970
|
delete(
|
|
1968
1971
|
params?: Params$Resource$Accounts$Delete,
|
|
1969
1972
|
options?: MethodOptions
|
|
1970
|
-
):
|
|
1973
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
1971
1974
|
delete(
|
|
1972
1975
|
params: Params$Resource$Accounts$Delete,
|
|
1973
1976
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -1996,7 +1999,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
1996
1999
|
callback?:
|
|
1997
2000
|
| BodyResponseCallback<Schema$Empty>
|
|
1998
2001
|
| BodyResponseCallback<Readable>
|
|
1999
|
-
):
|
|
2002
|
+
):
|
|
2003
|
+
| void
|
|
2004
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
2005
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
2000
2006
|
let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Delete;
|
|
2001
2007
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2002
2008
|
|
|
@@ -2050,11 +2056,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
2050
2056
|
get(
|
|
2051
2057
|
params: Params$Resource$Accounts$Get,
|
|
2052
2058
|
options: StreamMethodOptions
|
|
2053
|
-
):
|
|
2059
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2054
2060
|
get(
|
|
2055
2061
|
params?: Params$Resource$Accounts$Get,
|
|
2056
2062
|
options?: MethodOptions
|
|
2057
|
-
):
|
|
2063
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Account>>;
|
|
2058
2064
|
get(
|
|
2059
2065
|
params: Params$Resource$Accounts$Get,
|
|
2060
2066
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -2083,7 +2089,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
2083
2089
|
callback?:
|
|
2084
2090
|
| BodyResponseCallback<Schema$Account>
|
|
2085
2091
|
| BodyResponseCallback<Readable>
|
|
2086
|
-
):
|
|
2092
|
+
):
|
|
2093
|
+
| void
|
|
2094
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Account>>
|
|
2095
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
2087
2096
|
let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Get;
|
|
2088
2097
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2089
2098
|
|
|
@@ -2137,11 +2146,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
2137
2146
|
list(
|
|
2138
2147
|
params: Params$Resource$Accounts$List,
|
|
2139
2148
|
options: StreamMethodOptions
|
|
2140
|
-
):
|
|
2149
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2141
2150
|
list(
|
|
2142
2151
|
params?: Params$Resource$Accounts$List,
|
|
2143
2152
|
options?: MethodOptions
|
|
2144
|
-
):
|
|
2153
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListAccountsResponse>>;
|
|
2145
2154
|
list(
|
|
2146
2155
|
params: Params$Resource$Accounts$List,
|
|
2147
2156
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -2174,8 +2183,8 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
2174
2183
|
| BodyResponseCallback<Readable>
|
|
2175
2184
|
):
|
|
2176
2185
|
| void
|
|
2177
|
-
|
|
|
2178
|
-
|
|
|
2186
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListAccountsResponse>>
|
|
2187
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
2179
2188
|
let params = (paramsOrCallback || {}) as Params$Resource$Accounts$List;
|
|
2180
2189
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2181
2190
|
|
|
@@ -2229,11 +2238,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
2229
2238
|
listSubaccounts(
|
|
2230
2239
|
params: Params$Resource$Accounts$Listsubaccounts,
|
|
2231
2240
|
options: StreamMethodOptions
|
|
2232
|
-
):
|
|
2241
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2233
2242
|
listSubaccounts(
|
|
2234
2243
|
params?: Params$Resource$Accounts$Listsubaccounts,
|
|
2235
2244
|
options?: MethodOptions
|
|
2236
|
-
):
|
|
2245
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListSubAccountsResponse>>;
|
|
2237
2246
|
listSubaccounts(
|
|
2238
2247
|
params: Params$Resource$Accounts$Listsubaccounts,
|
|
2239
2248
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -2268,8 +2277,8 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
2268
2277
|
| BodyResponseCallback<Readable>
|
|
2269
2278
|
):
|
|
2270
2279
|
| void
|
|
2271
|
-
|
|
|
2272
|
-
|
|
|
2280
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListSubAccountsResponse>>
|
|
2281
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
2273
2282
|
let params = (paramsOrCallback ||
|
|
2274
2283
|
{}) as Params$Resource$Accounts$Listsubaccounts;
|
|
2275
2284
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -2323,11 +2332,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
2323
2332
|
patch(
|
|
2324
2333
|
params: Params$Resource$Accounts$Patch,
|
|
2325
2334
|
options: StreamMethodOptions
|
|
2326
|
-
):
|
|
2335
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2327
2336
|
patch(
|
|
2328
2337
|
params?: Params$Resource$Accounts$Patch,
|
|
2329
2338
|
options?: MethodOptions
|
|
2330
|
-
):
|
|
2339
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Account>>;
|
|
2331
2340
|
patch(
|
|
2332
2341
|
params: Params$Resource$Accounts$Patch,
|
|
2333
2342
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -2356,7 +2365,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
2356
2365
|
callback?:
|
|
2357
2366
|
| BodyResponseCallback<Schema$Account>
|
|
2358
2367
|
| BodyResponseCallback<Readable>
|
|
2359
|
-
):
|
|
2368
|
+
):
|
|
2369
|
+
| void
|
|
2370
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Account>>
|
|
2371
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
2360
2372
|
let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Patch;
|
|
2361
2373
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2362
2374
|
|
|
@@ -2485,11 +2497,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
2485
2497
|
getAutofeedSettings(
|
|
2486
2498
|
params: Params$Resource$Accounts$Autofeedsettings$Getautofeedsettings,
|
|
2487
2499
|
options: StreamMethodOptions
|
|
2488
|
-
):
|
|
2500
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2489
2501
|
getAutofeedSettings(
|
|
2490
2502
|
params?: Params$Resource$Accounts$Autofeedsettings$Getautofeedsettings,
|
|
2491
2503
|
options?: MethodOptions
|
|
2492
|
-
):
|
|
2504
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$AutofeedSettings>>;
|
|
2493
2505
|
getAutofeedSettings(
|
|
2494
2506
|
params: Params$Resource$Accounts$Autofeedsettings$Getautofeedsettings,
|
|
2495
2507
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -2520,7 +2532,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
2520
2532
|
callback?:
|
|
2521
2533
|
| BodyResponseCallback<Schema$AutofeedSettings>
|
|
2522
2534
|
| BodyResponseCallback<Readable>
|
|
2523
|
-
):
|
|
2535
|
+
):
|
|
2536
|
+
| void
|
|
2537
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$AutofeedSettings>>
|
|
2538
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
2524
2539
|
let params = (paramsOrCallback ||
|
|
2525
2540
|
{}) as Params$Resource$Accounts$Autofeedsettings$Getautofeedsettings;
|
|
2526
2541
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -2576,11 +2591,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
2576
2591
|
updateAutofeedSettings(
|
|
2577
2592
|
params: Params$Resource$Accounts$Autofeedsettings$Updateautofeedsettings,
|
|
2578
2593
|
options: StreamMethodOptions
|
|
2579
|
-
):
|
|
2594
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2580
2595
|
updateAutofeedSettings(
|
|
2581
2596
|
params?: Params$Resource$Accounts$Autofeedsettings$Updateautofeedsettings,
|
|
2582
2597
|
options?: MethodOptions
|
|
2583
|
-
):
|
|
2598
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$AutofeedSettings>>;
|
|
2584
2599
|
updateAutofeedSettings(
|
|
2585
2600
|
params: Params$Resource$Accounts$Autofeedsettings$Updateautofeedsettings,
|
|
2586
2601
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -2611,7 +2626,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
2611
2626
|
callback?:
|
|
2612
2627
|
| BodyResponseCallback<Schema$AutofeedSettings>
|
|
2613
2628
|
| BodyResponseCallback<Readable>
|
|
2614
|
-
):
|
|
2629
|
+
):
|
|
2630
|
+
| void
|
|
2631
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$AutofeedSettings>>
|
|
2632
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
2615
2633
|
let params = (paramsOrCallback ||
|
|
2616
2634
|
{}) as Params$Resource$Accounts$Autofeedsettings$Updateautofeedsettings;
|
|
2617
2635
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -2698,11 +2716,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
2698
2716
|
getAutomaticImprovements(
|
|
2699
2717
|
params: Params$Resource$Accounts$Automaticimprovements$Getautomaticimprovements,
|
|
2700
2718
|
options: StreamMethodOptions
|
|
2701
|
-
):
|
|
2719
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2702
2720
|
getAutomaticImprovements(
|
|
2703
2721
|
params?: Params$Resource$Accounts$Automaticimprovements$Getautomaticimprovements,
|
|
2704
2722
|
options?: MethodOptions
|
|
2705
|
-
):
|
|
2723
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$AutomaticImprovements>>;
|
|
2706
2724
|
getAutomaticImprovements(
|
|
2707
2725
|
params: Params$Resource$Accounts$Automaticimprovements$Getautomaticimprovements,
|
|
2708
2726
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -2737,8 +2755,8 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
2737
2755
|
| BodyResponseCallback<Readable>
|
|
2738
2756
|
):
|
|
2739
2757
|
| void
|
|
2740
|
-
|
|
|
2741
|
-
|
|
|
2758
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$AutomaticImprovements>>
|
|
2759
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
2742
2760
|
let params = (paramsOrCallback ||
|
|
2743
2761
|
{}) as Params$Resource$Accounts$Automaticimprovements$Getautomaticimprovements;
|
|
2744
2762
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -2794,11 +2812,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
2794
2812
|
updateAutomaticImprovements(
|
|
2795
2813
|
params: Params$Resource$Accounts$Automaticimprovements$Updateautomaticimprovements,
|
|
2796
2814
|
options: StreamMethodOptions
|
|
2797
|
-
):
|
|
2815
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2798
2816
|
updateAutomaticImprovements(
|
|
2799
2817
|
params?: Params$Resource$Accounts$Automaticimprovements$Updateautomaticimprovements,
|
|
2800
2818
|
options?: MethodOptions
|
|
2801
|
-
):
|
|
2819
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$AutomaticImprovements>>;
|
|
2802
2820
|
updateAutomaticImprovements(
|
|
2803
2821
|
params: Params$Resource$Accounts$Automaticimprovements$Updateautomaticimprovements,
|
|
2804
2822
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -2833,8 +2851,8 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
2833
2851
|
| BodyResponseCallback<Readable>
|
|
2834
2852
|
):
|
|
2835
2853
|
| void
|
|
2836
|
-
|
|
|
2837
|
-
|
|
|
2854
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$AutomaticImprovements>>
|
|
2855
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
2838
2856
|
let params = (paramsOrCallback ||
|
|
2839
2857
|
{}) as Params$Resource$Accounts$Automaticimprovements$Updateautomaticimprovements;
|
|
2840
2858
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -2921,11 +2939,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
2921
2939
|
getBusinessIdentity(
|
|
2922
2940
|
params: Params$Resource$Accounts$Businessidentity$Getbusinessidentity,
|
|
2923
2941
|
options: StreamMethodOptions
|
|
2924
|
-
):
|
|
2942
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2925
2943
|
getBusinessIdentity(
|
|
2926
2944
|
params?: Params$Resource$Accounts$Businessidentity$Getbusinessidentity,
|
|
2927
2945
|
options?: MethodOptions
|
|
2928
|
-
):
|
|
2946
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$BusinessIdentity>>;
|
|
2929
2947
|
getBusinessIdentity(
|
|
2930
2948
|
params: Params$Resource$Accounts$Businessidentity$Getbusinessidentity,
|
|
2931
2949
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -2956,7 +2974,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
2956
2974
|
callback?:
|
|
2957
2975
|
| BodyResponseCallback<Schema$BusinessIdentity>
|
|
2958
2976
|
| BodyResponseCallback<Readable>
|
|
2959
|
-
):
|
|
2977
|
+
):
|
|
2978
|
+
| void
|
|
2979
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$BusinessIdentity>>
|
|
2980
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
2960
2981
|
let params = (paramsOrCallback ||
|
|
2961
2982
|
{}) as Params$Resource$Accounts$Businessidentity$Getbusinessidentity;
|
|
2962
2983
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3012,11 +3033,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
3012
3033
|
updateBusinessIdentity(
|
|
3013
3034
|
params: Params$Resource$Accounts$Businessidentity$Updatebusinessidentity,
|
|
3014
3035
|
options: StreamMethodOptions
|
|
3015
|
-
):
|
|
3036
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3016
3037
|
updateBusinessIdentity(
|
|
3017
3038
|
params?: Params$Resource$Accounts$Businessidentity$Updatebusinessidentity,
|
|
3018
3039
|
options?: MethodOptions
|
|
3019
|
-
):
|
|
3040
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$BusinessIdentity>>;
|
|
3020
3041
|
updateBusinessIdentity(
|
|
3021
3042
|
params: Params$Resource$Accounts$Businessidentity$Updatebusinessidentity,
|
|
3022
3043
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3047,7 +3068,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
3047
3068
|
callback?:
|
|
3048
3069
|
| BodyResponseCallback<Schema$BusinessIdentity>
|
|
3049
3070
|
| BodyResponseCallback<Readable>
|
|
3050
|
-
):
|
|
3071
|
+
):
|
|
3072
|
+
| void
|
|
3073
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$BusinessIdentity>>
|
|
3074
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3051
3075
|
let params = (paramsOrCallback ||
|
|
3052
3076
|
{}) as Params$Resource$Accounts$Businessidentity$Updatebusinessidentity;
|
|
3053
3077
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3134,11 +3158,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
3134
3158
|
getBusinessInfo(
|
|
3135
3159
|
params: Params$Resource$Accounts$Businessinfo$Getbusinessinfo,
|
|
3136
3160
|
options: StreamMethodOptions
|
|
3137
|
-
):
|
|
3161
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3138
3162
|
getBusinessInfo(
|
|
3139
3163
|
params?: Params$Resource$Accounts$Businessinfo$Getbusinessinfo,
|
|
3140
3164
|
options?: MethodOptions
|
|
3141
|
-
):
|
|
3165
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$BusinessInfo>>;
|
|
3142
3166
|
getBusinessInfo(
|
|
3143
3167
|
params: Params$Resource$Accounts$Businessinfo$Getbusinessinfo,
|
|
3144
3168
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3167,7 +3191,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
3167
3191
|
callback?:
|
|
3168
3192
|
| BodyResponseCallback<Schema$BusinessInfo>
|
|
3169
3193
|
| BodyResponseCallback<Readable>
|
|
3170
|
-
):
|
|
3194
|
+
):
|
|
3195
|
+
| void
|
|
3196
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$BusinessInfo>>
|
|
3197
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3171
3198
|
let params = (paramsOrCallback ||
|
|
3172
3199
|
{}) as Params$Resource$Accounts$Businessinfo$Getbusinessinfo;
|
|
3173
3200
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3222,11 +3249,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
3222
3249
|
updateBusinessInfo(
|
|
3223
3250
|
params: Params$Resource$Accounts$Businessinfo$Updatebusinessinfo,
|
|
3224
3251
|
options: StreamMethodOptions
|
|
3225
|
-
):
|
|
3252
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3226
3253
|
updateBusinessInfo(
|
|
3227
3254
|
params?: Params$Resource$Accounts$Businessinfo$Updatebusinessinfo,
|
|
3228
3255
|
options?: MethodOptions
|
|
3229
|
-
):
|
|
3256
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$BusinessInfo>>;
|
|
3230
3257
|
updateBusinessInfo(
|
|
3231
3258
|
params: Params$Resource$Accounts$Businessinfo$Updatebusinessinfo,
|
|
3232
3259
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3257,7 +3284,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
3257
3284
|
callback?:
|
|
3258
3285
|
| BodyResponseCallback<Schema$BusinessInfo>
|
|
3259
3286
|
| BodyResponseCallback<Readable>
|
|
3260
|
-
):
|
|
3287
|
+
):
|
|
3288
|
+
| void
|
|
3289
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$BusinessInfo>>
|
|
3290
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3261
3291
|
let params = (paramsOrCallback ||
|
|
3262
3292
|
{}) as Params$Resource$Accounts$Businessinfo$Updatebusinessinfo;
|
|
3263
3293
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3343,11 +3373,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
3343
3373
|
getEmailPreferences(
|
|
3344
3374
|
params: Params$Resource$Accounts$Emailpreferences$Getemailpreferences,
|
|
3345
3375
|
options: StreamMethodOptions
|
|
3346
|
-
):
|
|
3376
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3347
3377
|
getEmailPreferences(
|
|
3348
3378
|
params?: Params$Resource$Accounts$Emailpreferences$Getemailpreferences,
|
|
3349
3379
|
options?: MethodOptions
|
|
3350
|
-
):
|
|
3380
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$EmailPreferences>>;
|
|
3351
3381
|
getEmailPreferences(
|
|
3352
3382
|
params: Params$Resource$Accounts$Emailpreferences$Getemailpreferences,
|
|
3353
3383
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3378,7 +3408,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
3378
3408
|
callback?:
|
|
3379
3409
|
| BodyResponseCallback<Schema$EmailPreferences>
|
|
3380
3410
|
| BodyResponseCallback<Readable>
|
|
3381
|
-
):
|
|
3411
|
+
):
|
|
3412
|
+
| void
|
|
3413
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$EmailPreferences>>
|
|
3414
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3382
3415
|
let params = (paramsOrCallback ||
|
|
3383
3416
|
{}) as Params$Resource$Accounts$Emailpreferences$Getemailpreferences;
|
|
3384
3417
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3434,11 +3467,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
3434
3467
|
updateEmailPreferences(
|
|
3435
3468
|
params: Params$Resource$Accounts$Emailpreferences$Updateemailpreferences,
|
|
3436
3469
|
options: StreamMethodOptions
|
|
3437
|
-
):
|
|
3470
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3438
3471
|
updateEmailPreferences(
|
|
3439
3472
|
params?: Params$Resource$Accounts$Emailpreferences$Updateemailpreferences,
|
|
3440
3473
|
options?: MethodOptions
|
|
3441
|
-
):
|
|
3474
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$EmailPreferences>>;
|
|
3442
3475
|
updateEmailPreferences(
|
|
3443
3476
|
params: Params$Resource$Accounts$Emailpreferences$Updateemailpreferences,
|
|
3444
3477
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3469,7 +3502,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
3469
3502
|
callback?:
|
|
3470
3503
|
| BodyResponseCallback<Schema$EmailPreferences>
|
|
3471
3504
|
| BodyResponseCallback<Readable>
|
|
3472
|
-
):
|
|
3505
|
+
):
|
|
3506
|
+
| void
|
|
3507
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$EmailPreferences>>
|
|
3508
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3473
3509
|
let params = (paramsOrCallback ||
|
|
3474
3510
|
{}) as Params$Resource$Accounts$Emailpreferences$Updateemailpreferences;
|
|
3475
3511
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3546,7 +3582,7 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
3546
3582
|
}
|
|
3547
3583
|
|
|
3548
3584
|
/**
|
|
3549
|
-
* 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
|
|
3585
|
+
* 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).
|
|
3550
3586
|
*
|
|
3551
3587
|
* @param params - Parameters for request
|
|
3552
3588
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -3556,11 +3592,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
3556
3592
|
claim(
|
|
3557
3593
|
params: Params$Resource$Accounts$Homepage$Claim,
|
|
3558
3594
|
options: StreamMethodOptions
|
|
3559
|
-
):
|
|
3595
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3560
3596
|
claim(
|
|
3561
3597
|
params?: Params$Resource$Accounts$Homepage$Claim,
|
|
3562
3598
|
options?: MethodOptions
|
|
3563
|
-
):
|
|
3599
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Homepage>>;
|
|
3564
3600
|
claim(
|
|
3565
3601
|
params: Params$Resource$Accounts$Homepage$Claim,
|
|
3566
3602
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3589,7 +3625,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
3589
3625
|
callback?:
|
|
3590
3626
|
| BodyResponseCallback<Schema$Homepage>
|
|
3591
3627
|
| BodyResponseCallback<Readable>
|
|
3592
|
-
):
|
|
3628
|
+
):
|
|
3629
|
+
| void
|
|
3630
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Homepage>>
|
|
3631
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3593
3632
|
let params = (paramsOrCallback ||
|
|
3594
3633
|
{}) as Params$Resource$Accounts$Homepage$Claim;
|
|
3595
3634
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3644,11 +3683,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
3644
3683
|
getHomepage(
|
|
3645
3684
|
params: Params$Resource$Accounts$Homepage$Gethomepage,
|
|
3646
3685
|
options: StreamMethodOptions
|
|
3647
|
-
):
|
|
3686
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3648
3687
|
getHomepage(
|
|
3649
3688
|
params?: Params$Resource$Accounts$Homepage$Gethomepage,
|
|
3650
3689
|
options?: MethodOptions
|
|
3651
|
-
):
|
|
3690
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Homepage>>;
|
|
3652
3691
|
getHomepage(
|
|
3653
3692
|
params: Params$Resource$Accounts$Homepage$Gethomepage,
|
|
3654
3693
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3677,7 +3716,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
3677
3716
|
callback?:
|
|
3678
3717
|
| BodyResponseCallback<Schema$Homepage>
|
|
3679
3718
|
| BodyResponseCallback<Readable>
|
|
3680
|
-
):
|
|
3719
|
+
):
|
|
3720
|
+
| void
|
|
3721
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Homepage>>
|
|
3722
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3681
3723
|
let params = (paramsOrCallback ||
|
|
3682
3724
|
{}) as Params$Resource$Accounts$Homepage$Gethomepage;
|
|
3683
3725
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3732,11 +3774,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
3732
3774
|
unclaim(
|
|
3733
3775
|
params: Params$Resource$Accounts$Homepage$Unclaim,
|
|
3734
3776
|
options: StreamMethodOptions
|
|
3735
|
-
):
|
|
3777
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3736
3778
|
unclaim(
|
|
3737
3779
|
params?: Params$Resource$Accounts$Homepage$Unclaim,
|
|
3738
3780
|
options?: MethodOptions
|
|
3739
|
-
):
|
|
3781
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Homepage>>;
|
|
3740
3782
|
unclaim(
|
|
3741
3783
|
params: Params$Resource$Accounts$Homepage$Unclaim,
|
|
3742
3784
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3765,7 +3807,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
3765
3807
|
callback?:
|
|
3766
3808
|
| BodyResponseCallback<Schema$Homepage>
|
|
3767
3809
|
| BodyResponseCallback<Readable>
|
|
3768
|
-
):
|
|
3810
|
+
):
|
|
3811
|
+
| void
|
|
3812
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Homepage>>
|
|
3813
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3769
3814
|
let params = (paramsOrCallback ||
|
|
3770
3815
|
{}) as Params$Resource$Accounts$Homepage$Unclaim;
|
|
3771
3816
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3820,11 +3865,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
3820
3865
|
updateHomepage(
|
|
3821
3866
|
params: Params$Resource$Accounts$Homepage$Updatehomepage,
|
|
3822
3867
|
options: StreamMethodOptions
|
|
3823
|
-
):
|
|
3868
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3824
3869
|
updateHomepage(
|
|
3825
3870
|
params?: Params$Resource$Accounts$Homepage$Updatehomepage,
|
|
3826
3871
|
options?: MethodOptions
|
|
3827
|
-
):
|
|
3872
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Homepage>>;
|
|
3828
3873
|
updateHomepage(
|
|
3829
3874
|
params: Params$Resource$Accounts$Homepage$Updatehomepage,
|
|
3830
3875
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3853,7 +3898,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
3853
3898
|
callback?:
|
|
3854
3899
|
| BodyResponseCallback<Schema$Homepage>
|
|
3855
3900
|
| BodyResponseCallback<Readable>
|
|
3856
|
-
):
|
|
3901
|
+
):
|
|
3902
|
+
| void
|
|
3903
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Homepage>>
|
|
3904
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3857
3905
|
let params = (paramsOrCallback ||
|
|
3858
3906
|
{}) as Params$Resource$Accounts$Homepage$Updatehomepage;
|
|
3859
3907
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3963,11 +4011,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
3963
4011
|
list(
|
|
3964
4012
|
params: Params$Resource$Accounts$Issues$List,
|
|
3965
4013
|
options: StreamMethodOptions
|
|
3966
|
-
):
|
|
4014
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3967
4015
|
list(
|
|
3968
4016
|
params?: Params$Resource$Accounts$Issues$List,
|
|
3969
4017
|
options?: MethodOptions
|
|
3970
|
-
):
|
|
4018
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListAccountIssuesResponse>>;
|
|
3971
4019
|
list(
|
|
3972
4020
|
params: Params$Resource$Accounts$Issues$List,
|
|
3973
4021
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4002,8 +4050,8 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
4002
4050
|
| BodyResponseCallback<Readable>
|
|
4003
4051
|
):
|
|
4004
4052
|
| void
|
|
4005
|
-
|
|
|
4006
|
-
|
|
|
4053
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListAccountIssuesResponse>>
|
|
4054
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4007
4055
|
let params = (paramsOrCallback ||
|
|
4008
4056
|
{}) as Params$Resource$Accounts$Issues$List;
|
|
4009
4057
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4089,11 +4137,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
4089
4137
|
get(
|
|
4090
4138
|
params: Params$Resource$Accounts$Onlinereturnpolicies$Get,
|
|
4091
4139
|
options: StreamMethodOptions
|
|
4092
|
-
):
|
|
4140
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4093
4141
|
get(
|
|
4094
4142
|
params?: Params$Resource$Accounts$Onlinereturnpolicies$Get,
|
|
4095
4143
|
options?: MethodOptions
|
|
4096
|
-
):
|
|
4144
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$OnlineReturnPolicy>>;
|
|
4097
4145
|
get(
|
|
4098
4146
|
params: Params$Resource$Accounts$Onlinereturnpolicies$Get,
|
|
4099
4147
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4124,8 +4172,8 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
4124
4172
|
| BodyResponseCallback<Readable>
|
|
4125
4173
|
):
|
|
4126
4174
|
| void
|
|
4127
|
-
|
|
|
4128
|
-
|
|
|
4175
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$OnlineReturnPolicy>>
|
|
4176
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4129
4177
|
let params = (paramsOrCallback ||
|
|
4130
4178
|
{}) as Params$Resource$Accounts$Onlinereturnpolicies$Get;
|
|
4131
4179
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4180,11 +4228,13 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
4180
4228
|
list(
|
|
4181
4229
|
params: Params$Resource$Accounts$Onlinereturnpolicies$List,
|
|
4182
4230
|
options: StreamMethodOptions
|
|
4183
|
-
):
|
|
4231
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4184
4232
|
list(
|
|
4185
4233
|
params?: Params$Resource$Accounts$Onlinereturnpolicies$List,
|
|
4186
4234
|
options?: MethodOptions
|
|
4187
|
-
):
|
|
4235
|
+
): Promise<
|
|
4236
|
+
GaxiosResponseWithHTTP2<Schema$ListOnlineReturnPoliciesResponse>
|
|
4237
|
+
>;
|
|
4188
4238
|
list(
|
|
4189
4239
|
params: Params$Resource$Accounts$Onlinereturnpolicies$List,
|
|
4190
4240
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4219,8 +4269,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
4219
4269
|
| BodyResponseCallback<Readable>
|
|
4220
4270
|
):
|
|
4221
4271
|
| void
|
|
4222
|
-
|
|
|
4223
|
-
|
|
4272
|
+
| Promise<
|
|
4273
|
+
GaxiosResponseWithHTTP2<Schema$ListOnlineReturnPoliciesResponse>
|
|
4274
|
+
>
|
|
4275
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4224
4276
|
let params = (paramsOrCallback ||
|
|
4225
4277
|
{}) as Params$Resource$Accounts$Onlinereturnpolicies$List;
|
|
4226
4278
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4306,11 +4358,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
4306
4358
|
disable(
|
|
4307
4359
|
params: Params$Resource$Accounts$Programs$Disable,
|
|
4308
4360
|
options: StreamMethodOptions
|
|
4309
|
-
):
|
|
4361
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4310
4362
|
disable(
|
|
4311
4363
|
params?: Params$Resource$Accounts$Programs$Disable,
|
|
4312
4364
|
options?: MethodOptions
|
|
4313
|
-
):
|
|
4365
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Program>>;
|
|
4314
4366
|
disable(
|
|
4315
4367
|
params: Params$Resource$Accounts$Programs$Disable,
|
|
4316
4368
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4339,7 +4391,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
4339
4391
|
callback?:
|
|
4340
4392
|
| BodyResponseCallback<Schema$Program>
|
|
4341
4393
|
| BodyResponseCallback<Readable>
|
|
4342
|
-
):
|
|
4394
|
+
):
|
|
4395
|
+
| void
|
|
4396
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Program>>
|
|
4397
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4343
4398
|
let params = (paramsOrCallback ||
|
|
4344
4399
|
{}) as Params$Resource$Accounts$Programs$Disable;
|
|
4345
4400
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4394,11 +4449,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
4394
4449
|
enable(
|
|
4395
4450
|
params: Params$Resource$Accounts$Programs$Enable,
|
|
4396
4451
|
options: StreamMethodOptions
|
|
4397
|
-
):
|
|
4452
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4398
4453
|
enable(
|
|
4399
4454
|
params?: Params$Resource$Accounts$Programs$Enable,
|
|
4400
4455
|
options?: MethodOptions
|
|
4401
|
-
):
|
|
4456
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Program>>;
|
|
4402
4457
|
enable(
|
|
4403
4458
|
params: Params$Resource$Accounts$Programs$Enable,
|
|
4404
4459
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4427,7 +4482,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
4427
4482
|
callback?:
|
|
4428
4483
|
| BodyResponseCallback<Schema$Program>
|
|
4429
4484
|
| BodyResponseCallback<Readable>
|
|
4430
|
-
):
|
|
4485
|
+
):
|
|
4486
|
+
| void
|
|
4487
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Program>>
|
|
4488
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4431
4489
|
let params = (paramsOrCallback ||
|
|
4432
4490
|
{}) as Params$Resource$Accounts$Programs$Enable;
|
|
4433
4491
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4482,11 +4540,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
4482
4540
|
get(
|
|
4483
4541
|
params: Params$Resource$Accounts$Programs$Get,
|
|
4484
4542
|
options: StreamMethodOptions
|
|
4485
|
-
):
|
|
4543
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4486
4544
|
get(
|
|
4487
4545
|
params?: Params$Resource$Accounts$Programs$Get,
|
|
4488
4546
|
options?: MethodOptions
|
|
4489
|
-
):
|
|
4547
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Program>>;
|
|
4490
4548
|
get(
|
|
4491
4549
|
params: Params$Resource$Accounts$Programs$Get,
|
|
4492
4550
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4515,7 +4573,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
4515
4573
|
callback?:
|
|
4516
4574
|
| BodyResponseCallback<Schema$Program>
|
|
4517
4575
|
| BodyResponseCallback<Readable>
|
|
4518
|
-
):
|
|
4576
|
+
):
|
|
4577
|
+
| void
|
|
4578
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Program>>
|
|
4579
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4519
4580
|
let params = (paramsOrCallback ||
|
|
4520
4581
|
{}) as Params$Resource$Accounts$Programs$Get;
|
|
4521
4582
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4570,11 +4631,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
4570
4631
|
list(
|
|
4571
4632
|
params: Params$Resource$Accounts$Programs$List,
|
|
4572
4633
|
options: StreamMethodOptions
|
|
4573
|
-
):
|
|
4634
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4574
4635
|
list(
|
|
4575
4636
|
params?: Params$Resource$Accounts$Programs$List,
|
|
4576
4637
|
options?: MethodOptions
|
|
4577
|
-
):
|
|
4638
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListProgramsResponse>>;
|
|
4578
4639
|
list(
|
|
4579
4640
|
params: Params$Resource$Accounts$Programs$List,
|
|
4580
4641
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4607,8 +4668,8 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
4607
4668
|
| BodyResponseCallback<Readable>
|
|
4608
4669
|
):
|
|
4609
4670
|
| void
|
|
4610
|
-
|
|
|
4611
|
-
|
|
|
4671
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListProgramsResponse>>
|
|
4672
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4612
4673
|
let params = (paramsOrCallback ||
|
|
4613
4674
|
{}) as Params$Resource$Accounts$Programs$List;
|
|
4614
4675
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4717,11 +4778,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
4717
4778
|
create(
|
|
4718
4779
|
params: Params$Resource$Accounts$Regions$Create,
|
|
4719
4780
|
options: StreamMethodOptions
|
|
4720
|
-
):
|
|
4781
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4721
4782
|
create(
|
|
4722
4783
|
params?: Params$Resource$Accounts$Regions$Create,
|
|
4723
4784
|
options?: MethodOptions
|
|
4724
|
-
):
|
|
4785
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Region>>;
|
|
4725
4786
|
create(
|
|
4726
4787
|
params: Params$Resource$Accounts$Regions$Create,
|
|
4727
4788
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4750,7 +4811,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
4750
4811
|
callback?:
|
|
4751
4812
|
| BodyResponseCallback<Schema$Region>
|
|
4752
4813
|
| BodyResponseCallback<Readable>
|
|
4753
|
-
):
|
|
4814
|
+
):
|
|
4815
|
+
| void
|
|
4816
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Region>>
|
|
4817
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4754
4818
|
let params = (paramsOrCallback ||
|
|
4755
4819
|
{}) as Params$Resource$Accounts$Regions$Create;
|
|
4756
4820
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4805,11 +4869,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
4805
4869
|
delete(
|
|
4806
4870
|
params: Params$Resource$Accounts$Regions$Delete,
|
|
4807
4871
|
options: StreamMethodOptions
|
|
4808
|
-
):
|
|
4872
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4809
4873
|
delete(
|
|
4810
4874
|
params?: Params$Resource$Accounts$Regions$Delete,
|
|
4811
4875
|
options?: MethodOptions
|
|
4812
|
-
):
|
|
4876
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
4813
4877
|
delete(
|
|
4814
4878
|
params: Params$Resource$Accounts$Regions$Delete,
|
|
4815
4879
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4838,7 +4902,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
4838
4902
|
callback?:
|
|
4839
4903
|
| BodyResponseCallback<Schema$Empty>
|
|
4840
4904
|
| BodyResponseCallback<Readable>
|
|
4841
|
-
):
|
|
4905
|
+
):
|
|
4906
|
+
| void
|
|
4907
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
4908
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4842
4909
|
let params = (paramsOrCallback ||
|
|
4843
4910
|
{}) as Params$Resource$Accounts$Regions$Delete;
|
|
4844
4911
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4893,11 +4960,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
4893
4960
|
get(
|
|
4894
4961
|
params: Params$Resource$Accounts$Regions$Get,
|
|
4895
4962
|
options: StreamMethodOptions
|
|
4896
|
-
):
|
|
4963
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4897
4964
|
get(
|
|
4898
4965
|
params?: Params$Resource$Accounts$Regions$Get,
|
|
4899
4966
|
options?: MethodOptions
|
|
4900
|
-
):
|
|
4967
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Region>>;
|
|
4901
4968
|
get(
|
|
4902
4969
|
params: Params$Resource$Accounts$Regions$Get,
|
|
4903
4970
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4926,7 +4993,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
4926
4993
|
callback?:
|
|
4927
4994
|
| BodyResponseCallback<Schema$Region>
|
|
4928
4995
|
| BodyResponseCallback<Readable>
|
|
4929
|
-
):
|
|
4996
|
+
):
|
|
4997
|
+
| void
|
|
4998
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Region>>
|
|
4999
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4930
5000
|
let params = (paramsOrCallback ||
|
|
4931
5001
|
{}) as Params$Resource$Accounts$Regions$Get;
|
|
4932
5002
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4981,11 +5051,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
4981
5051
|
list(
|
|
4982
5052
|
params: Params$Resource$Accounts$Regions$List,
|
|
4983
5053
|
options: StreamMethodOptions
|
|
4984
|
-
):
|
|
5054
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4985
5055
|
list(
|
|
4986
5056
|
params?: Params$Resource$Accounts$Regions$List,
|
|
4987
5057
|
options?: MethodOptions
|
|
4988
|
-
):
|
|
5058
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListRegionsResponse>>;
|
|
4989
5059
|
list(
|
|
4990
5060
|
params: Params$Resource$Accounts$Regions$List,
|
|
4991
5061
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5016,8 +5086,8 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
5016
5086
|
| BodyResponseCallback<Readable>
|
|
5017
5087
|
):
|
|
5018
5088
|
| void
|
|
5019
|
-
|
|
|
5020
|
-
|
|
|
5089
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListRegionsResponse>>
|
|
5090
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5021
5091
|
let params = (paramsOrCallback ||
|
|
5022
5092
|
{}) as Params$Resource$Accounts$Regions$List;
|
|
5023
5093
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5072,11 +5142,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
5072
5142
|
patch(
|
|
5073
5143
|
params: Params$Resource$Accounts$Regions$Patch,
|
|
5074
5144
|
options: StreamMethodOptions
|
|
5075
|
-
):
|
|
5145
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5076
5146
|
patch(
|
|
5077
5147
|
params?: Params$Resource$Accounts$Regions$Patch,
|
|
5078
5148
|
options?: MethodOptions
|
|
5079
|
-
):
|
|
5149
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Region>>;
|
|
5080
5150
|
patch(
|
|
5081
5151
|
params: Params$Resource$Accounts$Regions$Patch,
|
|
5082
5152
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5105,7 +5175,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
5105
5175
|
callback?:
|
|
5106
5176
|
| BodyResponseCallback<Schema$Region>
|
|
5107
5177
|
| BodyResponseCallback<Readable>
|
|
5108
|
-
):
|
|
5178
|
+
):
|
|
5179
|
+
| void
|
|
5180
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Region>>
|
|
5181
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5109
5182
|
let params = (paramsOrCallback ||
|
|
5110
5183
|
{}) as Params$Resource$Accounts$Regions$Patch;
|
|
5111
5184
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5229,11 +5302,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
5229
5302
|
get(
|
|
5230
5303
|
params: Params$Resource$Accounts$Relationships$Get,
|
|
5231
5304
|
options: StreamMethodOptions
|
|
5232
|
-
):
|
|
5305
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5233
5306
|
get(
|
|
5234
5307
|
params?: Params$Resource$Accounts$Relationships$Get,
|
|
5235
5308
|
options?: MethodOptions
|
|
5236
|
-
):
|
|
5309
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$AccountRelationship>>;
|
|
5237
5310
|
get(
|
|
5238
5311
|
params: Params$Resource$Accounts$Relationships$Get,
|
|
5239
5312
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5264,8 +5337,8 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
5264
5337
|
| BodyResponseCallback<Readable>
|
|
5265
5338
|
):
|
|
5266
5339
|
| void
|
|
5267
|
-
|
|
|
5268
|
-
|
|
|
5340
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$AccountRelationship>>
|
|
5341
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5269
5342
|
let params = (paramsOrCallback ||
|
|
5270
5343
|
{}) as Params$Resource$Accounts$Relationships$Get;
|
|
5271
5344
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5320,11 +5393,13 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
5320
5393
|
list(
|
|
5321
5394
|
params: Params$Resource$Accounts$Relationships$List,
|
|
5322
5395
|
options: StreamMethodOptions
|
|
5323
|
-
):
|
|
5396
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5324
5397
|
list(
|
|
5325
5398
|
params?: Params$Resource$Accounts$Relationships$List,
|
|
5326
5399
|
options?: MethodOptions
|
|
5327
|
-
):
|
|
5400
|
+
): Promise<
|
|
5401
|
+
GaxiosResponseWithHTTP2<Schema$ListAccountRelationshipsResponse>
|
|
5402
|
+
>;
|
|
5328
5403
|
list(
|
|
5329
5404
|
params: Params$Resource$Accounts$Relationships$List,
|
|
5330
5405
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5359,8 +5434,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
5359
5434
|
| BodyResponseCallback<Readable>
|
|
5360
5435
|
):
|
|
5361
5436
|
| void
|
|
5362
|
-
|
|
|
5363
|
-
|
|
5437
|
+
| Promise<
|
|
5438
|
+
GaxiosResponseWithHTTP2<Schema$ListAccountRelationshipsResponse>
|
|
5439
|
+
>
|
|
5440
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5364
5441
|
let params = (paramsOrCallback ||
|
|
5365
5442
|
{}) as Params$Resource$Accounts$Relationships$List;
|
|
5366
5443
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5417,11 +5494,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
5417
5494
|
patch(
|
|
5418
5495
|
params: Params$Resource$Accounts$Relationships$Patch,
|
|
5419
5496
|
options: StreamMethodOptions
|
|
5420
|
-
):
|
|
5497
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5421
5498
|
patch(
|
|
5422
5499
|
params?: Params$Resource$Accounts$Relationships$Patch,
|
|
5423
5500
|
options?: MethodOptions
|
|
5424
|
-
):
|
|
5501
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$AccountRelationship>>;
|
|
5425
5502
|
patch(
|
|
5426
5503
|
params: Params$Resource$Accounts$Relationships$Patch,
|
|
5427
5504
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5452,8 +5529,8 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
5452
5529
|
| BodyResponseCallback<Readable>
|
|
5453
5530
|
):
|
|
5454
5531
|
| void
|
|
5455
|
-
|
|
|
5456
|
-
|
|
|
5532
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$AccountRelationship>>
|
|
5533
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5457
5534
|
let params = (paramsOrCallback ||
|
|
5458
5535
|
{}) as Params$Resource$Accounts$Relationships$Patch;
|
|
5459
5536
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5501,7 +5578,7 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
5501
5578
|
export interface Params$Resource$Accounts$Relationships$Get
|
|
5502
5579
|
extends StandardParameters {
|
|
5503
5580
|
/**
|
|
5504
|
-
* Required. The resource name of the account relationship to get.
|
|
5581
|
+
* Required. The resource name of the account relationship to get. Format: `accounts/{account\}/relationships/{relationship\}`
|
|
5505
5582
|
*/
|
|
5506
5583
|
name?: string;
|
|
5507
5584
|
}
|
|
@@ -5516,14 +5593,14 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
5516
5593
|
*/
|
|
5517
5594
|
pageToken?: string;
|
|
5518
5595
|
/**
|
|
5519
|
-
* Required. The parent account of the account relationship to filter by.
|
|
5596
|
+
* Required. The parent account of the account relationship to filter by. Format: `accounts/{account\}`
|
|
5520
5597
|
*/
|
|
5521
5598
|
parent?: string;
|
|
5522
5599
|
}
|
|
5523
5600
|
export interface Params$Resource$Accounts$Relationships$Patch
|
|
5524
5601
|
extends StandardParameters {
|
|
5525
5602
|
/**
|
|
5526
|
-
* Identifier. The resource name of the account relationship.
|
|
5603
|
+
* Identifier. The resource name of the account relationship. Format: `accounts/{account\}/relationships/{relationship\}`
|
|
5527
5604
|
*/
|
|
5528
5605
|
name?: string;
|
|
5529
5606
|
/**
|
|
@@ -5554,11 +5631,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
5554
5631
|
approve(
|
|
5555
5632
|
params: Params$Resource$Accounts$Services$Approve,
|
|
5556
5633
|
options: StreamMethodOptions
|
|
5557
|
-
):
|
|
5634
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5558
5635
|
approve(
|
|
5559
5636
|
params?: Params$Resource$Accounts$Services$Approve,
|
|
5560
5637
|
options?: MethodOptions
|
|
5561
|
-
):
|
|
5638
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$AccountService>>;
|
|
5562
5639
|
approve(
|
|
5563
5640
|
params: Params$Resource$Accounts$Services$Approve,
|
|
5564
5641
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5587,7 +5664,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
5587
5664
|
callback?:
|
|
5588
5665
|
| BodyResponseCallback<Schema$AccountService>
|
|
5589
5666
|
| BodyResponseCallback<Readable>
|
|
5590
|
-
):
|
|
5667
|
+
):
|
|
5668
|
+
| void
|
|
5669
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$AccountService>>
|
|
5670
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5591
5671
|
let params = (paramsOrCallback ||
|
|
5592
5672
|
{}) as Params$Resource$Accounts$Services$Approve;
|
|
5593
5673
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5642,11 +5722,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
5642
5722
|
get(
|
|
5643
5723
|
params: Params$Resource$Accounts$Services$Get,
|
|
5644
5724
|
options: StreamMethodOptions
|
|
5645
|
-
):
|
|
5725
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5646
5726
|
get(
|
|
5647
5727
|
params?: Params$Resource$Accounts$Services$Get,
|
|
5648
5728
|
options?: MethodOptions
|
|
5649
|
-
):
|
|
5729
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$AccountService>>;
|
|
5650
5730
|
get(
|
|
5651
5731
|
params: Params$Resource$Accounts$Services$Get,
|
|
5652
5732
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5675,7 +5755,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
5675
5755
|
callback?:
|
|
5676
5756
|
| BodyResponseCallback<Schema$AccountService>
|
|
5677
5757
|
| BodyResponseCallback<Readable>
|
|
5678
|
-
):
|
|
5758
|
+
):
|
|
5759
|
+
| void
|
|
5760
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$AccountService>>
|
|
5761
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5679
5762
|
let params = (paramsOrCallback ||
|
|
5680
5763
|
{}) as Params$Resource$Accounts$Services$Get;
|
|
5681
5764
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5730,11 +5813,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
5730
5813
|
list(
|
|
5731
5814
|
params: Params$Resource$Accounts$Services$List,
|
|
5732
5815
|
options: StreamMethodOptions
|
|
5733
|
-
):
|
|
5816
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5734
5817
|
list(
|
|
5735
5818
|
params?: Params$Resource$Accounts$Services$List,
|
|
5736
5819
|
options?: MethodOptions
|
|
5737
|
-
):
|
|
5820
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListAccountServicesResponse>>;
|
|
5738
5821
|
list(
|
|
5739
5822
|
params: Params$Resource$Accounts$Services$List,
|
|
5740
5823
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5769,8 +5852,8 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
5769
5852
|
| BodyResponseCallback<Readable>
|
|
5770
5853
|
):
|
|
5771
5854
|
| void
|
|
5772
|
-
|
|
|
5773
|
-
|
|
|
5855
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListAccountServicesResponse>>
|
|
5856
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5774
5857
|
let params = (paramsOrCallback ||
|
|
5775
5858
|
{}) as Params$Resource$Accounts$Services$List;
|
|
5776
5859
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5825,11 +5908,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
5825
5908
|
propose(
|
|
5826
5909
|
params: Params$Resource$Accounts$Services$Propose,
|
|
5827
5910
|
options: StreamMethodOptions
|
|
5828
|
-
):
|
|
5911
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5829
5912
|
propose(
|
|
5830
5913
|
params?: Params$Resource$Accounts$Services$Propose,
|
|
5831
5914
|
options?: MethodOptions
|
|
5832
|
-
):
|
|
5915
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$AccountService>>;
|
|
5833
5916
|
propose(
|
|
5834
5917
|
params: Params$Resource$Accounts$Services$Propose,
|
|
5835
5918
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5858,7 +5941,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
5858
5941
|
callback?:
|
|
5859
5942
|
| BodyResponseCallback<Schema$AccountService>
|
|
5860
5943
|
| BodyResponseCallback<Readable>
|
|
5861
|
-
):
|
|
5944
|
+
):
|
|
5945
|
+
| void
|
|
5946
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$AccountService>>
|
|
5947
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5862
5948
|
let params = (paramsOrCallback ||
|
|
5863
5949
|
{}) as Params$Resource$Accounts$Services$Propose;
|
|
5864
5950
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5912,11 +5998,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
5912
5998
|
reject(
|
|
5913
5999
|
params: Params$Resource$Accounts$Services$Reject,
|
|
5914
6000
|
options: StreamMethodOptions
|
|
5915
|
-
):
|
|
6001
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5916
6002
|
reject(
|
|
5917
6003
|
params?: Params$Resource$Accounts$Services$Reject,
|
|
5918
6004
|
options?: MethodOptions
|
|
5919
|
-
):
|
|
6005
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
5920
6006
|
reject(
|
|
5921
6007
|
params: Params$Resource$Accounts$Services$Reject,
|
|
5922
6008
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5945,7 +6031,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
5945
6031
|
callback?:
|
|
5946
6032
|
| BodyResponseCallback<Schema$Empty>
|
|
5947
6033
|
| BodyResponseCallback<Readable>
|
|
5948
|
-
):
|
|
6034
|
+
):
|
|
6035
|
+
| void
|
|
6036
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
6037
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5949
6038
|
let params = (paramsOrCallback ||
|
|
5950
6039
|
{}) as Params$Resource$Accounts$Services$Reject;
|
|
5951
6040
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5993,7 +6082,7 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
5993
6082
|
export interface Params$Resource$Accounts$Services$Approve
|
|
5994
6083
|
extends StandardParameters {
|
|
5995
6084
|
/**
|
|
5996
|
-
* Required. The resource name of the account service to approve.
|
|
6085
|
+
* Required. The resource name of the account service to approve. Format: `accounts/{account\}/services/{service\}`
|
|
5997
6086
|
*/
|
|
5998
6087
|
name?: string;
|
|
5999
6088
|
|
|
@@ -6005,7 +6094,7 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
6005
6094
|
export interface Params$Resource$Accounts$Services$Get
|
|
6006
6095
|
extends StandardParameters {
|
|
6007
6096
|
/**
|
|
6008
|
-
* Required. The resource name of the account service to get.
|
|
6097
|
+
* Required. The resource name of the account service to get. Format: `accounts/{account\}/services/{service\}`
|
|
6009
6098
|
*/
|
|
6010
6099
|
name?: string;
|
|
6011
6100
|
}
|
|
@@ -6020,14 +6109,14 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
6020
6109
|
*/
|
|
6021
6110
|
pageToken?: string;
|
|
6022
6111
|
/**
|
|
6023
|
-
* Required. The parent account of the account service to filter by.
|
|
6112
|
+
* Required. The parent account of the account service to filter by. Format: `accounts/{account\}`
|
|
6024
6113
|
*/
|
|
6025
6114
|
parent?: string;
|
|
6026
6115
|
}
|
|
6027
6116
|
export interface Params$Resource$Accounts$Services$Propose
|
|
6028
6117
|
extends StandardParameters {
|
|
6029
6118
|
/**
|
|
6030
|
-
* Required. The resource name of the parent account for the service.
|
|
6119
|
+
* Required. The resource name of the parent account for the service. Format: `accounts/{account\}`
|
|
6031
6120
|
*/
|
|
6032
6121
|
parent?: string;
|
|
6033
6122
|
|
|
@@ -6039,7 +6128,7 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
6039
6128
|
export interface Params$Resource$Accounts$Services$Reject
|
|
6040
6129
|
extends StandardParameters {
|
|
6041
6130
|
/**
|
|
6042
|
-
* Required. The resource name of the account service to reject.
|
|
6131
|
+
* Required. The resource name of the account service to reject. Format: `accounts/{account\}/services/{service\}`
|
|
6043
6132
|
*/
|
|
6044
6133
|
name?: string;
|
|
6045
6134
|
|
|
@@ -6066,11 +6155,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
6066
6155
|
getShippingSettings(
|
|
6067
6156
|
params: Params$Resource$Accounts$Shippingsettings$Getshippingsettings,
|
|
6068
6157
|
options: StreamMethodOptions
|
|
6069
|
-
):
|
|
6158
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6070
6159
|
getShippingSettings(
|
|
6071
6160
|
params?: Params$Resource$Accounts$Shippingsettings$Getshippingsettings,
|
|
6072
6161
|
options?: MethodOptions
|
|
6073
|
-
):
|
|
6162
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ShippingSettings>>;
|
|
6074
6163
|
getShippingSettings(
|
|
6075
6164
|
params: Params$Resource$Accounts$Shippingsettings$Getshippingsettings,
|
|
6076
6165
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6101,7 +6190,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
6101
6190
|
callback?:
|
|
6102
6191
|
| BodyResponseCallback<Schema$ShippingSettings>
|
|
6103
6192
|
| BodyResponseCallback<Readable>
|
|
6104
|
-
):
|
|
6193
|
+
):
|
|
6194
|
+
| void
|
|
6195
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ShippingSettings>>
|
|
6196
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6105
6197
|
let params = (paramsOrCallback ||
|
|
6106
6198
|
{}) as Params$Resource$Accounts$Shippingsettings$Getshippingsettings;
|
|
6107
6199
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6157,11 +6249,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
6157
6249
|
insert(
|
|
6158
6250
|
params: Params$Resource$Accounts$Shippingsettings$Insert,
|
|
6159
6251
|
options: StreamMethodOptions
|
|
6160
|
-
):
|
|
6252
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6161
6253
|
insert(
|
|
6162
6254
|
params?: Params$Resource$Accounts$Shippingsettings$Insert,
|
|
6163
6255
|
options?: MethodOptions
|
|
6164
|
-
):
|
|
6256
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ShippingSettings>>;
|
|
6165
6257
|
insert(
|
|
6166
6258
|
params: Params$Resource$Accounts$Shippingsettings$Insert,
|
|
6167
6259
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6190,7 +6282,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
6190
6282
|
callback?:
|
|
6191
6283
|
| BodyResponseCallback<Schema$ShippingSettings>
|
|
6192
6284
|
| BodyResponseCallback<Readable>
|
|
6193
|
-
):
|
|
6285
|
+
):
|
|
6286
|
+
| void
|
|
6287
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ShippingSettings>>
|
|
6288
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6194
6289
|
let params = (paramsOrCallback ||
|
|
6195
6290
|
{}) as Params$Resource$Accounts$Shippingsettings$Insert;
|
|
6196
6291
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6271,11 +6366,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
6271
6366
|
get(
|
|
6272
6367
|
params: Params$Resource$Accounts$Termsofserviceagreementstates$Get,
|
|
6273
6368
|
options: StreamMethodOptions
|
|
6274
|
-
):
|
|
6369
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6275
6370
|
get(
|
|
6276
6371
|
params?: Params$Resource$Accounts$Termsofserviceagreementstates$Get,
|
|
6277
6372
|
options?: MethodOptions
|
|
6278
|
-
):
|
|
6373
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$TermsOfServiceAgreementState>>;
|
|
6279
6374
|
get(
|
|
6280
6375
|
params: Params$Resource$Accounts$Termsofserviceagreementstates$Get,
|
|
6281
6376
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6310,8 +6405,8 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
6310
6405
|
| BodyResponseCallback<Readable>
|
|
6311
6406
|
):
|
|
6312
6407
|
| void
|
|
6313
|
-
|
|
|
6314
|
-
|
|
|
6408
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$TermsOfServiceAgreementState>>
|
|
6409
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6315
6410
|
let params = (paramsOrCallback ||
|
|
6316
6411
|
{}) as Params$Resource$Accounts$Termsofserviceagreementstates$Get;
|
|
6317
6412
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6369,11 +6464,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
6369
6464
|
retrieveForApplication(
|
|
6370
6465
|
params: Params$Resource$Accounts$Termsofserviceagreementstates$Retrieveforapplication,
|
|
6371
6466
|
options: StreamMethodOptions
|
|
6372
|
-
):
|
|
6467
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6373
6468
|
retrieveForApplication(
|
|
6374
6469
|
params?: Params$Resource$Accounts$Termsofserviceagreementstates$Retrieveforapplication,
|
|
6375
6470
|
options?: MethodOptions
|
|
6376
|
-
):
|
|
6471
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$TermsOfServiceAgreementState>>;
|
|
6377
6472
|
retrieveForApplication(
|
|
6378
6473
|
params: Params$Resource$Accounts$Termsofserviceagreementstates$Retrieveforapplication,
|
|
6379
6474
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6408,8 +6503,8 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
6408
6503
|
| BodyResponseCallback<Readable>
|
|
6409
6504
|
):
|
|
6410
6505
|
| void
|
|
6411
|
-
|
|
|
6412
|
-
|
|
|
6506
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$TermsOfServiceAgreementState>>
|
|
6507
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6413
6508
|
let params = (paramsOrCallback ||
|
|
6414
6509
|
{}) as Params$Resource$Accounts$Termsofserviceagreementstates$Retrieveforapplication;
|
|
6415
6510
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6489,11 +6584,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
6489
6584
|
create(
|
|
6490
6585
|
params: Params$Resource$Accounts$Users$Create,
|
|
6491
6586
|
options: StreamMethodOptions
|
|
6492
|
-
):
|
|
6587
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6493
6588
|
create(
|
|
6494
6589
|
params?: Params$Resource$Accounts$Users$Create,
|
|
6495
6590
|
options?: MethodOptions
|
|
6496
|
-
):
|
|
6591
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$User>>;
|
|
6497
6592
|
create(
|
|
6498
6593
|
params: Params$Resource$Accounts$Users$Create,
|
|
6499
6594
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6522,7 +6617,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
6522
6617
|
callback?:
|
|
6523
6618
|
| BodyResponseCallback<Schema$User>
|
|
6524
6619
|
| BodyResponseCallback<Readable>
|
|
6525
|
-
):
|
|
6620
|
+
):
|
|
6621
|
+
| void
|
|
6622
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$User>>
|
|
6623
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6526
6624
|
let params = (paramsOrCallback ||
|
|
6527
6625
|
{}) as Params$Resource$Accounts$Users$Create;
|
|
6528
6626
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6577,11 +6675,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
6577
6675
|
delete(
|
|
6578
6676
|
params: Params$Resource$Accounts$Users$Delete,
|
|
6579
6677
|
options: StreamMethodOptions
|
|
6580
|
-
):
|
|
6678
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6581
6679
|
delete(
|
|
6582
6680
|
params?: Params$Resource$Accounts$Users$Delete,
|
|
6583
6681
|
options?: MethodOptions
|
|
6584
|
-
):
|
|
6682
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
6585
6683
|
delete(
|
|
6586
6684
|
params: Params$Resource$Accounts$Users$Delete,
|
|
6587
6685
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6610,7 +6708,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
6610
6708
|
callback?:
|
|
6611
6709
|
| BodyResponseCallback<Schema$Empty>
|
|
6612
6710
|
| BodyResponseCallback<Readable>
|
|
6613
|
-
):
|
|
6711
|
+
):
|
|
6712
|
+
| void
|
|
6713
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
6714
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6614
6715
|
let params = (paramsOrCallback ||
|
|
6615
6716
|
{}) as Params$Resource$Accounts$Users$Delete;
|
|
6616
6717
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6665,11 +6766,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
6665
6766
|
get(
|
|
6666
6767
|
params: Params$Resource$Accounts$Users$Get,
|
|
6667
6768
|
options: StreamMethodOptions
|
|
6668
|
-
):
|
|
6769
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6669
6770
|
get(
|
|
6670
6771
|
params?: Params$Resource$Accounts$Users$Get,
|
|
6671
6772
|
options?: MethodOptions
|
|
6672
|
-
):
|
|
6773
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$User>>;
|
|
6673
6774
|
get(
|
|
6674
6775
|
params: Params$Resource$Accounts$Users$Get,
|
|
6675
6776
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6698,7 +6799,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
6698
6799
|
callback?:
|
|
6699
6800
|
| BodyResponseCallback<Schema$User>
|
|
6700
6801
|
| BodyResponseCallback<Readable>
|
|
6701
|
-
):
|
|
6802
|
+
):
|
|
6803
|
+
| void
|
|
6804
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$User>>
|
|
6805
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6702
6806
|
let params = (paramsOrCallback ||
|
|
6703
6807
|
{}) as Params$Resource$Accounts$Users$Get;
|
|
6704
6808
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6753,11 +6857,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
6753
6857
|
list(
|
|
6754
6858
|
params: Params$Resource$Accounts$Users$List,
|
|
6755
6859
|
options: StreamMethodOptions
|
|
6756
|
-
):
|
|
6860
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6757
6861
|
list(
|
|
6758
6862
|
params?: Params$Resource$Accounts$Users$List,
|
|
6759
6863
|
options?: MethodOptions
|
|
6760
|
-
):
|
|
6864
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListUsersResponse>>;
|
|
6761
6865
|
list(
|
|
6762
6866
|
params: Params$Resource$Accounts$Users$List,
|
|
6763
6867
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6788,8 +6892,8 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
6788
6892
|
| BodyResponseCallback<Readable>
|
|
6789
6893
|
):
|
|
6790
6894
|
| void
|
|
6791
|
-
|
|
|
6792
|
-
|
|
|
6895
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListUsersResponse>>
|
|
6896
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6793
6897
|
let params = (paramsOrCallback ||
|
|
6794
6898
|
{}) as Params$Resource$Accounts$Users$List;
|
|
6795
6899
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6844,11 +6948,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
6844
6948
|
patch(
|
|
6845
6949
|
params: Params$Resource$Accounts$Users$Patch,
|
|
6846
6950
|
options: StreamMethodOptions
|
|
6847
|
-
):
|
|
6951
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6848
6952
|
patch(
|
|
6849
6953
|
params?: Params$Resource$Accounts$Users$Patch,
|
|
6850
6954
|
options?: MethodOptions
|
|
6851
|
-
):
|
|
6955
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$User>>;
|
|
6852
6956
|
patch(
|
|
6853
6957
|
params: Params$Resource$Accounts$Users$Patch,
|
|
6854
6958
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6877,7 +6981,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
6877
6981
|
callback?:
|
|
6878
6982
|
| BodyResponseCallback<Schema$User>
|
|
6879
6983
|
| BodyResponseCallback<Readable>
|
|
6880
|
-
):
|
|
6984
|
+
):
|
|
6985
|
+
| void
|
|
6986
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$User>>
|
|
6987
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6881
6988
|
let params = (paramsOrCallback ||
|
|
6882
6989
|
{}) as Params$Resource$Accounts$Users$Patch;
|
|
6883
6990
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -7001,11 +7108,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
7001
7108
|
accept(
|
|
7002
7109
|
params: Params$Resource$Termsofservice$Accept,
|
|
7003
7110
|
options: StreamMethodOptions
|
|
7004
|
-
):
|
|
7111
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
7005
7112
|
accept(
|
|
7006
7113
|
params?: Params$Resource$Termsofservice$Accept,
|
|
7007
7114
|
options?: MethodOptions
|
|
7008
|
-
):
|
|
7115
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$AcceptTermsOfServiceResponse>>;
|
|
7009
7116
|
accept(
|
|
7010
7117
|
params: Params$Resource$Termsofservice$Accept,
|
|
7011
7118
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -7040,8 +7147,8 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
7040
7147
|
| BodyResponseCallback<Readable>
|
|
7041
7148
|
):
|
|
7042
7149
|
| void
|
|
7043
|
-
|
|
|
7044
|
-
|
|
|
7150
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$AcceptTermsOfServiceResponse>>
|
|
7151
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
7045
7152
|
let params = (paramsOrCallback ||
|
|
7046
7153
|
{}) as Params$Resource$Termsofservice$Accept;
|
|
7047
7154
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -7098,11 +7205,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
7098
7205
|
get(
|
|
7099
7206
|
params: Params$Resource$Termsofservice$Get,
|
|
7100
7207
|
options: StreamMethodOptions
|
|
7101
|
-
):
|
|
7208
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
7102
7209
|
get(
|
|
7103
7210
|
params?: Params$Resource$Termsofservice$Get,
|
|
7104
7211
|
options?: MethodOptions
|
|
7105
|
-
):
|
|
7212
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$TermsOfService>>;
|
|
7106
7213
|
get(
|
|
7107
7214
|
params: Params$Resource$Termsofservice$Get,
|
|
7108
7215
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -7131,7 +7238,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
7131
7238
|
callback?:
|
|
7132
7239
|
| BodyResponseCallback<Schema$TermsOfService>
|
|
7133
7240
|
| BodyResponseCallback<Readable>
|
|
7134
|
-
):
|
|
7241
|
+
):
|
|
7242
|
+
| void
|
|
7243
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$TermsOfService>>
|
|
7244
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
7135
7245
|
let params = (paramsOrCallback ||
|
|
7136
7246
|
{}) as Params$Resource$Termsofservice$Get;
|
|
7137
7247
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -7186,11 +7296,11 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
7186
7296
|
retrieveLatest(
|
|
7187
7297
|
params: Params$Resource$Termsofservice$Retrievelatest,
|
|
7188
7298
|
options: StreamMethodOptions
|
|
7189
|
-
):
|
|
7299
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
7190
7300
|
retrieveLatest(
|
|
7191
7301
|
params?: Params$Resource$Termsofservice$Retrievelatest,
|
|
7192
7302
|
options?: MethodOptions
|
|
7193
|
-
):
|
|
7303
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$TermsOfService>>;
|
|
7194
7304
|
retrieveLatest(
|
|
7195
7305
|
params: Params$Resource$Termsofservice$Retrievelatest,
|
|
7196
7306
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -7219,7 +7329,10 @@ export namespace merchantapi_accounts_v1beta {
|
|
|
7219
7329
|
callback?:
|
|
7220
7330
|
| BodyResponseCallback<Schema$TermsOfService>
|
|
7221
7331
|
| BodyResponseCallback<Readable>
|
|
7222
|
-
):
|
|
7332
|
+
):
|
|
7333
|
+
| void
|
|
7334
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$TermsOfService>>
|
|
7335
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
7223
7336
|
let params = (paramsOrCallback ||
|
|
7224
7337
|
{}) as Params$Resource$Termsofservice$Retrievelatest;
|
|
7225
7338
|
let options = (optionsOrCallback || {}) as MethodOptions;
|