@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.
Files changed (46) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/accounts_v1beta.ts +301 -188
  3. package/build/accounts_v1beta.d.ts +119 -119
  4. package/build/accounts_v1beta.js.map +1 -1
  5. package/build/conversions_v1beta.d.ts +13 -13
  6. package/build/conversions_v1beta.js.map +1 -1
  7. package/build/datasources_v1beta.d.ts +16 -16
  8. package/build/datasources_v1beta.js.map +1 -1
  9. package/build/index.d.ts +11 -1
  10. package/build/index.js +7 -1
  11. package/build/index.js.map +1 -1
  12. package/build/inventories_v1beta.d.ts +13 -13
  13. package/build/inventories_v1beta.js.map +1 -1
  14. package/build/issueresolution_v1beta.d.ts +661 -0
  15. package/build/issueresolution_v1beta.js +148 -0
  16. package/build/issueresolution_v1beta.js.map +1 -0
  17. package/build/lfp_v1beta.d.ts +15 -15
  18. package/build/lfp_v1beta.js.map +1 -1
  19. package/build/notifications_v1beta.d.ts +11 -11
  20. package/build/notifications_v1beta.js.map +1 -1
  21. package/build/ordertracking_v1beta.d.ts +385 -0
  22. package/build/ordertracking_v1beta.js +91 -0
  23. package/build/ordertracking_v1beta.js.map +1 -0
  24. package/build/products_v1beta.d.ts +11 -11
  25. package/build/products_v1beta.js.map +1 -1
  26. package/build/promotions_v1beta.d.ts +7 -7
  27. package/build/promotions_v1beta.js.map +1 -1
  28. package/build/quota_v1beta.d.ts +3 -3
  29. package/build/reports_v1beta.d.ts +3 -3
  30. package/build/reports_v1beta.js.map +1 -1
  31. package/build/reviews_v1beta.d.ts +17 -17
  32. package/build/reviews_v1beta.js.map +1 -1
  33. package/conversions_v1beta.ts +35 -20
  34. package/datasources_v1beta.ts +42 -24
  35. package/index.ts +24 -1
  36. package/inventories_v1beta.ts +31 -22
  37. package/issueresolution_v1beta.ts +962 -0
  38. package/lfp_v1beta.ts +41 -23
  39. package/notifications_v1beta.ts +27 -20
  40. package/ordertracking_v1beta.ts +525 -0
  41. package/package.json +2 -2
  42. package/products_v1beta.ts +29 -17
  43. package/promotions_v1beta.ts +17 -11
  44. package/quota_v1beta.ts +5 -5
  45. package/reports_v1beta.ts +7 -4
  46. package/reviews_v1beta.ts +45 -27
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" />
2
- import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosPromise, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
2
+ import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
3
3
  import { Readable } from 'stream';
4
4
  export declare namespace merchantapi_accounts_v1beta {
5
5
  export interface Options extends GlobalOptions {
@@ -179,7 +179,7 @@ export declare namespace merchantapi_accounts_v1beta {
179
179
  */
180
180
  accountIdAlias?: string | null;
181
181
  /**
182
- * Identifier. The resource name of the account relationship.
182
+ * Identifier. The resource name of the account relationship. Format: `accounts/{account\}/relationships/{relationship\}`
183
183
  */
184
184
  name?: string | null;
185
185
  /**
@@ -220,7 +220,7 @@ export declare namespace merchantapi_accounts_v1beta {
220
220
  */
221
221
  mutability?: string | null;
222
222
  /**
223
- * Identifier. The resource name of the account service.
223
+ * Identifier. The resource name of the account service. Format: `accounts/{account\}/services/{service\}`
224
224
  */
225
225
  name?: string | null;
226
226
  /**
@@ -487,7 +487,7 @@ export declare namespace merchantapi_accounts_v1beta {
487
487
  */
488
488
  export interface Schema$ClaimHomepageRequest {
489
489
  /**
490
- * Optional. When set to `true`, this option removes any existing claim on the requested website and replaces it with a claim from the account that makes the request.
490
+ * 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.
491
491
  */
492
492
  overwrite?: boolean | null;
493
493
  }
@@ -1229,7 +1229,7 @@ export declare namespace merchantapi_accounts_v1beta {
1229
1229
  resourceType?: string | null;
1230
1230
  }
1231
1231
  /**
1232
- * 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/topic/9240261?ref_topic=7257954,7259405,&sjid=796648681813264022-EU) 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`
1232
+ * 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`
1233
1233
  */
1234
1234
  export interface Schema$Program {
1235
1235
  /**
@@ -1741,7 +1741,7 @@ export declare namespace merchantapi_accounts_v1beta {
1741
1741
  */
1742
1742
  carrierService?: string | null;
1743
1743
  /**
1744
- * Required. Warehouse name. This should match warehouse
1744
+ * Required. Warehouse name. This should match [warehouse](/merchant/api/reference/rest/accounts_v1beta/accounts.shippingSettings#warehouse)
1745
1745
  */
1746
1746
  warehouse?: string | null;
1747
1747
  }
@@ -1797,8 +1797,8 @@ export declare namespace merchantapi_accounts_v1beta {
1797
1797
  * @param callback - Optional callback that handles the response.
1798
1798
  * @returns A promise if used with async/await, or void if used with a callback.
1799
1799
  */
1800
- createAndConfigure(params: Params$Resource$Accounts$Createandconfigure, options: StreamMethodOptions): GaxiosPromise<Readable>;
1801
- createAndConfigure(params?: Params$Resource$Accounts$Createandconfigure, options?: MethodOptions): GaxiosPromise<Schema$Account>;
1800
+ createAndConfigure(params: Params$Resource$Accounts$Createandconfigure, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1801
+ createAndConfigure(params?: Params$Resource$Accounts$Createandconfigure, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Account>>;
1802
1802
  createAndConfigure(params: Params$Resource$Accounts$Createandconfigure, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1803
1803
  createAndConfigure(params: Params$Resource$Accounts$Createandconfigure, options: MethodOptions | BodyResponseCallback<Schema$Account>, callback: BodyResponseCallback<Schema$Account>): void;
1804
1804
  createAndConfigure(params: Params$Resource$Accounts$Createandconfigure, callback: BodyResponseCallback<Schema$Account>): void;
@@ -1811,8 +1811,8 @@ export declare namespace merchantapi_accounts_v1beta {
1811
1811
  * @param callback - Optional callback that handles the response.
1812
1812
  * @returns A promise if used with async/await, or void if used with a callback.
1813
1813
  */
1814
- delete(params: Params$Resource$Accounts$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
1815
- delete(params?: Params$Resource$Accounts$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
1814
+ delete(params: Params$Resource$Accounts$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1815
+ delete(params?: Params$Resource$Accounts$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
1816
1816
  delete(params: Params$Resource$Accounts$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1817
1817
  delete(params: Params$Resource$Accounts$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
1818
1818
  delete(params: Params$Resource$Accounts$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -1825,8 +1825,8 @@ export declare namespace merchantapi_accounts_v1beta {
1825
1825
  * @param callback - Optional callback that handles the response.
1826
1826
  * @returns A promise if used with async/await, or void if used with a callback.
1827
1827
  */
1828
- get(params: Params$Resource$Accounts$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
1829
- get(params?: Params$Resource$Accounts$Get, options?: MethodOptions): GaxiosPromise<Schema$Account>;
1828
+ get(params: Params$Resource$Accounts$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1829
+ get(params?: Params$Resource$Accounts$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Account>>;
1830
1830
  get(params: Params$Resource$Accounts$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1831
1831
  get(params: Params$Resource$Accounts$Get, options: MethodOptions | BodyResponseCallback<Schema$Account>, callback: BodyResponseCallback<Schema$Account>): void;
1832
1832
  get(params: Params$Resource$Accounts$Get, callback: BodyResponseCallback<Schema$Account>): void;
@@ -1839,8 +1839,8 @@ export declare namespace merchantapi_accounts_v1beta {
1839
1839
  * @param callback - Optional callback that handles the response.
1840
1840
  * @returns A promise if used with async/await, or void if used with a callback.
1841
1841
  */
1842
- list(params: Params$Resource$Accounts$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
1843
- list(params?: Params$Resource$Accounts$List, options?: MethodOptions): GaxiosPromise<Schema$ListAccountsResponse>;
1842
+ list(params: Params$Resource$Accounts$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1843
+ list(params?: Params$Resource$Accounts$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListAccountsResponse>>;
1844
1844
  list(params: Params$Resource$Accounts$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1845
1845
  list(params: Params$Resource$Accounts$List, options: MethodOptions | BodyResponseCallback<Schema$ListAccountsResponse>, callback: BodyResponseCallback<Schema$ListAccountsResponse>): void;
1846
1846
  list(params: Params$Resource$Accounts$List, callback: BodyResponseCallback<Schema$ListAccountsResponse>): void;
@@ -1853,8 +1853,8 @@ export declare namespace merchantapi_accounts_v1beta {
1853
1853
  * @param callback - Optional callback that handles the response.
1854
1854
  * @returns A promise if used with async/await, or void if used with a callback.
1855
1855
  */
1856
- listSubaccounts(params: Params$Resource$Accounts$Listsubaccounts, options: StreamMethodOptions): GaxiosPromise<Readable>;
1857
- listSubaccounts(params?: Params$Resource$Accounts$Listsubaccounts, options?: MethodOptions): GaxiosPromise<Schema$ListSubAccountsResponse>;
1856
+ listSubaccounts(params: Params$Resource$Accounts$Listsubaccounts, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1857
+ listSubaccounts(params?: Params$Resource$Accounts$Listsubaccounts, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListSubAccountsResponse>>;
1858
1858
  listSubaccounts(params: Params$Resource$Accounts$Listsubaccounts, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1859
1859
  listSubaccounts(params: Params$Resource$Accounts$Listsubaccounts, options: MethodOptions | BodyResponseCallback<Schema$ListSubAccountsResponse>, callback: BodyResponseCallback<Schema$ListSubAccountsResponse>): void;
1860
1860
  listSubaccounts(params: Params$Resource$Accounts$Listsubaccounts, callback: BodyResponseCallback<Schema$ListSubAccountsResponse>): void;
@@ -1867,8 +1867,8 @@ export declare namespace merchantapi_accounts_v1beta {
1867
1867
  * @param callback - Optional callback that handles the response.
1868
1868
  * @returns A promise if used with async/await, or void if used with a callback.
1869
1869
  */
1870
- patch(params: Params$Resource$Accounts$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
1871
- patch(params?: Params$Resource$Accounts$Patch, options?: MethodOptions): GaxiosPromise<Schema$Account>;
1870
+ patch(params: Params$Resource$Accounts$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1871
+ patch(params?: Params$Resource$Accounts$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Account>>;
1872
1872
  patch(params: Params$Resource$Accounts$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1873
1873
  patch(params: Params$Resource$Accounts$Patch, options: MethodOptions | BodyResponseCallback<Schema$Account>, callback: BodyResponseCallback<Schema$Account>): void;
1874
1874
  patch(params: Params$Resource$Accounts$Patch, callback: BodyResponseCallback<Schema$Account>): void;
@@ -1949,8 +1949,8 @@ export declare namespace merchantapi_accounts_v1beta {
1949
1949
  * @param callback - Optional callback that handles the response.
1950
1950
  * @returns A promise if used with async/await, or void if used with a callback.
1951
1951
  */
1952
- getAutofeedSettings(params: Params$Resource$Accounts$Autofeedsettings$Getautofeedsettings, options: StreamMethodOptions): GaxiosPromise<Readable>;
1953
- getAutofeedSettings(params?: Params$Resource$Accounts$Autofeedsettings$Getautofeedsettings, options?: MethodOptions): GaxiosPromise<Schema$AutofeedSettings>;
1952
+ getAutofeedSettings(params: Params$Resource$Accounts$Autofeedsettings$Getautofeedsettings, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1953
+ getAutofeedSettings(params?: Params$Resource$Accounts$Autofeedsettings$Getautofeedsettings, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AutofeedSettings>>;
1954
1954
  getAutofeedSettings(params: Params$Resource$Accounts$Autofeedsettings$Getautofeedsettings, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1955
1955
  getAutofeedSettings(params: Params$Resource$Accounts$Autofeedsettings$Getautofeedsettings, options: MethodOptions | BodyResponseCallback<Schema$AutofeedSettings>, callback: BodyResponseCallback<Schema$AutofeedSettings>): void;
1956
1956
  getAutofeedSettings(params: Params$Resource$Accounts$Autofeedsettings$Getautofeedsettings, callback: BodyResponseCallback<Schema$AutofeedSettings>): void;
@@ -1963,8 +1963,8 @@ export declare namespace merchantapi_accounts_v1beta {
1963
1963
  * @param callback - Optional callback that handles the response.
1964
1964
  * @returns A promise if used with async/await, or void if used with a callback.
1965
1965
  */
1966
- updateAutofeedSettings(params: Params$Resource$Accounts$Autofeedsettings$Updateautofeedsettings, options: StreamMethodOptions): GaxiosPromise<Readable>;
1967
- updateAutofeedSettings(params?: Params$Resource$Accounts$Autofeedsettings$Updateautofeedsettings, options?: MethodOptions): GaxiosPromise<Schema$AutofeedSettings>;
1966
+ updateAutofeedSettings(params: Params$Resource$Accounts$Autofeedsettings$Updateautofeedsettings, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1967
+ updateAutofeedSettings(params?: Params$Resource$Accounts$Autofeedsettings$Updateautofeedsettings, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AutofeedSettings>>;
1968
1968
  updateAutofeedSettings(params: Params$Resource$Accounts$Autofeedsettings$Updateautofeedsettings, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1969
1969
  updateAutofeedSettings(params: Params$Resource$Accounts$Autofeedsettings$Updateautofeedsettings, options: MethodOptions | BodyResponseCallback<Schema$AutofeedSettings>, callback: BodyResponseCallback<Schema$AutofeedSettings>): void;
1970
1970
  updateAutofeedSettings(params: Params$Resource$Accounts$Autofeedsettings$Updateautofeedsettings, callback: BodyResponseCallback<Schema$AutofeedSettings>): void;
@@ -2001,8 +2001,8 @@ export declare namespace merchantapi_accounts_v1beta {
2001
2001
  * @param callback - Optional callback that handles the response.
2002
2002
  * @returns A promise if used with async/await, or void if used with a callback.
2003
2003
  */
2004
- getAutomaticImprovements(params: Params$Resource$Accounts$Automaticimprovements$Getautomaticimprovements, options: StreamMethodOptions): GaxiosPromise<Readable>;
2005
- getAutomaticImprovements(params?: Params$Resource$Accounts$Automaticimprovements$Getautomaticimprovements, options?: MethodOptions): GaxiosPromise<Schema$AutomaticImprovements>;
2004
+ getAutomaticImprovements(params: Params$Resource$Accounts$Automaticimprovements$Getautomaticimprovements, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2005
+ getAutomaticImprovements(params?: Params$Resource$Accounts$Automaticimprovements$Getautomaticimprovements, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AutomaticImprovements>>;
2006
2006
  getAutomaticImprovements(params: Params$Resource$Accounts$Automaticimprovements$Getautomaticimprovements, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2007
2007
  getAutomaticImprovements(params: Params$Resource$Accounts$Automaticimprovements$Getautomaticimprovements, options: MethodOptions | BodyResponseCallback<Schema$AutomaticImprovements>, callback: BodyResponseCallback<Schema$AutomaticImprovements>): void;
2008
2008
  getAutomaticImprovements(params: Params$Resource$Accounts$Automaticimprovements$Getautomaticimprovements, callback: BodyResponseCallback<Schema$AutomaticImprovements>): void;
@@ -2015,8 +2015,8 @@ export declare namespace merchantapi_accounts_v1beta {
2015
2015
  * @param callback - Optional callback that handles the response.
2016
2016
  * @returns A promise if used with async/await, or void if used with a callback.
2017
2017
  */
2018
- updateAutomaticImprovements(params: Params$Resource$Accounts$Automaticimprovements$Updateautomaticimprovements, options: StreamMethodOptions): GaxiosPromise<Readable>;
2019
- updateAutomaticImprovements(params?: Params$Resource$Accounts$Automaticimprovements$Updateautomaticimprovements, options?: MethodOptions): GaxiosPromise<Schema$AutomaticImprovements>;
2018
+ updateAutomaticImprovements(params: Params$Resource$Accounts$Automaticimprovements$Updateautomaticimprovements, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2019
+ updateAutomaticImprovements(params?: Params$Resource$Accounts$Automaticimprovements$Updateautomaticimprovements, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AutomaticImprovements>>;
2020
2020
  updateAutomaticImprovements(params: Params$Resource$Accounts$Automaticimprovements$Updateautomaticimprovements, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2021
2021
  updateAutomaticImprovements(params: Params$Resource$Accounts$Automaticimprovements$Updateautomaticimprovements, options: MethodOptions | BodyResponseCallback<Schema$AutomaticImprovements>, callback: BodyResponseCallback<Schema$AutomaticImprovements>): void;
2022
2022
  updateAutomaticImprovements(params: Params$Resource$Accounts$Automaticimprovements$Updateautomaticimprovements, callback: BodyResponseCallback<Schema$AutomaticImprovements>): void;
@@ -2053,8 +2053,8 @@ export declare namespace merchantapi_accounts_v1beta {
2053
2053
  * @param callback - Optional callback that handles the response.
2054
2054
  * @returns A promise if used with async/await, or void if used with a callback.
2055
2055
  */
2056
- getBusinessIdentity(params: Params$Resource$Accounts$Businessidentity$Getbusinessidentity, options: StreamMethodOptions): GaxiosPromise<Readable>;
2057
- getBusinessIdentity(params?: Params$Resource$Accounts$Businessidentity$Getbusinessidentity, options?: MethodOptions): GaxiosPromise<Schema$BusinessIdentity>;
2056
+ getBusinessIdentity(params: Params$Resource$Accounts$Businessidentity$Getbusinessidentity, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2057
+ getBusinessIdentity(params?: Params$Resource$Accounts$Businessidentity$Getbusinessidentity, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BusinessIdentity>>;
2058
2058
  getBusinessIdentity(params: Params$Resource$Accounts$Businessidentity$Getbusinessidentity, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2059
2059
  getBusinessIdentity(params: Params$Resource$Accounts$Businessidentity$Getbusinessidentity, options: MethodOptions | BodyResponseCallback<Schema$BusinessIdentity>, callback: BodyResponseCallback<Schema$BusinessIdentity>): void;
2060
2060
  getBusinessIdentity(params: Params$Resource$Accounts$Businessidentity$Getbusinessidentity, callback: BodyResponseCallback<Schema$BusinessIdentity>): void;
@@ -2067,8 +2067,8 @@ export declare namespace merchantapi_accounts_v1beta {
2067
2067
  * @param callback - Optional callback that handles the response.
2068
2068
  * @returns A promise if used with async/await, or void if used with a callback.
2069
2069
  */
2070
- updateBusinessIdentity(params: Params$Resource$Accounts$Businessidentity$Updatebusinessidentity, options: StreamMethodOptions): GaxiosPromise<Readable>;
2071
- updateBusinessIdentity(params?: Params$Resource$Accounts$Businessidentity$Updatebusinessidentity, options?: MethodOptions): GaxiosPromise<Schema$BusinessIdentity>;
2070
+ updateBusinessIdentity(params: Params$Resource$Accounts$Businessidentity$Updatebusinessidentity, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2071
+ updateBusinessIdentity(params?: Params$Resource$Accounts$Businessidentity$Updatebusinessidentity, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BusinessIdentity>>;
2072
2072
  updateBusinessIdentity(params: Params$Resource$Accounts$Businessidentity$Updatebusinessidentity, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2073
2073
  updateBusinessIdentity(params: Params$Resource$Accounts$Businessidentity$Updatebusinessidentity, options: MethodOptions | BodyResponseCallback<Schema$BusinessIdentity>, callback: BodyResponseCallback<Schema$BusinessIdentity>): void;
2074
2074
  updateBusinessIdentity(params: Params$Resource$Accounts$Businessidentity$Updatebusinessidentity, callback: BodyResponseCallback<Schema$BusinessIdentity>): void;
@@ -2105,8 +2105,8 @@ export declare namespace merchantapi_accounts_v1beta {
2105
2105
  * @param callback - Optional callback that handles the response.
2106
2106
  * @returns A promise if used with async/await, or void if used with a callback.
2107
2107
  */
2108
- getBusinessInfo(params: Params$Resource$Accounts$Businessinfo$Getbusinessinfo, options: StreamMethodOptions): GaxiosPromise<Readable>;
2109
- getBusinessInfo(params?: Params$Resource$Accounts$Businessinfo$Getbusinessinfo, options?: MethodOptions): GaxiosPromise<Schema$BusinessInfo>;
2108
+ getBusinessInfo(params: Params$Resource$Accounts$Businessinfo$Getbusinessinfo, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2109
+ getBusinessInfo(params?: Params$Resource$Accounts$Businessinfo$Getbusinessinfo, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BusinessInfo>>;
2110
2110
  getBusinessInfo(params: Params$Resource$Accounts$Businessinfo$Getbusinessinfo, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2111
2111
  getBusinessInfo(params: Params$Resource$Accounts$Businessinfo$Getbusinessinfo, options: MethodOptions | BodyResponseCallback<Schema$BusinessInfo>, callback: BodyResponseCallback<Schema$BusinessInfo>): void;
2112
2112
  getBusinessInfo(params: Params$Resource$Accounts$Businessinfo$Getbusinessinfo, callback: BodyResponseCallback<Schema$BusinessInfo>): void;
@@ -2119,8 +2119,8 @@ export declare namespace merchantapi_accounts_v1beta {
2119
2119
  * @param callback - Optional callback that handles the response.
2120
2120
  * @returns A promise if used with async/await, or void if used with a callback.
2121
2121
  */
2122
- updateBusinessInfo(params: Params$Resource$Accounts$Businessinfo$Updatebusinessinfo, options: StreamMethodOptions): GaxiosPromise<Readable>;
2123
- updateBusinessInfo(params?: Params$Resource$Accounts$Businessinfo$Updatebusinessinfo, options?: MethodOptions): GaxiosPromise<Schema$BusinessInfo>;
2122
+ updateBusinessInfo(params: Params$Resource$Accounts$Businessinfo$Updatebusinessinfo, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2123
+ updateBusinessInfo(params?: Params$Resource$Accounts$Businessinfo$Updatebusinessinfo, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BusinessInfo>>;
2124
2124
  updateBusinessInfo(params: Params$Resource$Accounts$Businessinfo$Updatebusinessinfo, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2125
2125
  updateBusinessInfo(params: Params$Resource$Accounts$Businessinfo$Updatebusinessinfo, options: MethodOptions | BodyResponseCallback<Schema$BusinessInfo>, callback: BodyResponseCallback<Schema$BusinessInfo>): void;
2126
2126
  updateBusinessInfo(params: Params$Resource$Accounts$Businessinfo$Updatebusinessinfo, callback: BodyResponseCallback<Schema$BusinessInfo>): void;
@@ -2157,8 +2157,8 @@ export declare namespace merchantapi_accounts_v1beta {
2157
2157
  * @param callback - Optional callback that handles the response.
2158
2158
  * @returns A promise if used with async/await, or void if used with a callback.
2159
2159
  */
2160
- getEmailPreferences(params: Params$Resource$Accounts$Emailpreferences$Getemailpreferences, options: StreamMethodOptions): GaxiosPromise<Readable>;
2161
- getEmailPreferences(params?: Params$Resource$Accounts$Emailpreferences$Getemailpreferences, options?: MethodOptions): GaxiosPromise<Schema$EmailPreferences>;
2160
+ getEmailPreferences(params: Params$Resource$Accounts$Emailpreferences$Getemailpreferences, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2161
+ getEmailPreferences(params?: Params$Resource$Accounts$Emailpreferences$Getemailpreferences, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$EmailPreferences>>;
2162
2162
  getEmailPreferences(params: Params$Resource$Accounts$Emailpreferences$Getemailpreferences, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2163
2163
  getEmailPreferences(params: Params$Resource$Accounts$Emailpreferences$Getemailpreferences, options: MethodOptions | BodyResponseCallback<Schema$EmailPreferences>, callback: BodyResponseCallback<Schema$EmailPreferences>): void;
2164
2164
  getEmailPreferences(params: Params$Resource$Accounts$Emailpreferences$Getemailpreferences, callback: BodyResponseCallback<Schema$EmailPreferences>): void;
@@ -2171,8 +2171,8 @@ export declare namespace merchantapi_accounts_v1beta {
2171
2171
  * @param callback - Optional callback that handles the response.
2172
2172
  * @returns A promise if used with async/await, or void if used with a callback.
2173
2173
  */
2174
- updateEmailPreferences(params: Params$Resource$Accounts$Emailpreferences$Updateemailpreferences, options: StreamMethodOptions): GaxiosPromise<Readable>;
2175
- updateEmailPreferences(params?: Params$Resource$Accounts$Emailpreferences$Updateemailpreferences, options?: MethodOptions): GaxiosPromise<Schema$EmailPreferences>;
2174
+ updateEmailPreferences(params: Params$Resource$Accounts$Emailpreferences$Updateemailpreferences, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2175
+ updateEmailPreferences(params?: Params$Resource$Accounts$Emailpreferences$Updateemailpreferences, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$EmailPreferences>>;
2176
2176
  updateEmailPreferences(params: Params$Resource$Accounts$Emailpreferences$Updateemailpreferences, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2177
2177
  updateEmailPreferences(params: Params$Resource$Accounts$Emailpreferences$Updateemailpreferences, options: MethodOptions | BodyResponseCallback<Schema$EmailPreferences>, callback: BodyResponseCallback<Schema$EmailPreferences>): void;
2178
2178
  updateEmailPreferences(params: Params$Resource$Accounts$Emailpreferences$Updateemailpreferences, callback: BodyResponseCallback<Schema$EmailPreferences>): void;
@@ -2202,15 +2202,15 @@ export declare namespace merchantapi_accounts_v1beta {
2202
2202
  context: APIRequestContext;
2203
2203
  constructor(context: APIRequestContext);
2204
2204
  /**
2205
- * 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 will be returned: * PERMISSION_DENIED: user doesn't have the necessary permissions on this MC account; * FAILED_PRECONDITION: - The account is not a Merchant Center account; - MC account doesn't have a homepage; - claiming failed (in this case the error message will contain more details).
2205
+ * 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).
2206
2206
  *
2207
2207
  * @param params - Parameters for request
2208
2208
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2209
2209
  * @param callback - Optional callback that handles the response.
2210
2210
  * @returns A promise if used with async/await, or void if used with a callback.
2211
2211
  */
2212
- claim(params: Params$Resource$Accounts$Homepage$Claim, options: StreamMethodOptions): GaxiosPromise<Readable>;
2213
- claim(params?: Params$Resource$Accounts$Homepage$Claim, options?: MethodOptions): GaxiosPromise<Schema$Homepage>;
2212
+ claim(params: Params$Resource$Accounts$Homepage$Claim, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2213
+ claim(params?: Params$Resource$Accounts$Homepage$Claim, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Homepage>>;
2214
2214
  claim(params: Params$Resource$Accounts$Homepage$Claim, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2215
2215
  claim(params: Params$Resource$Accounts$Homepage$Claim, options: MethodOptions | BodyResponseCallback<Schema$Homepage>, callback: BodyResponseCallback<Schema$Homepage>): void;
2216
2216
  claim(params: Params$Resource$Accounts$Homepage$Claim, callback: BodyResponseCallback<Schema$Homepage>): void;
@@ -2223,8 +2223,8 @@ export declare namespace merchantapi_accounts_v1beta {
2223
2223
  * @param callback - Optional callback that handles the response.
2224
2224
  * @returns A promise if used with async/await, or void if used with a callback.
2225
2225
  */
2226
- getHomepage(params: Params$Resource$Accounts$Homepage$Gethomepage, options: StreamMethodOptions): GaxiosPromise<Readable>;
2227
- getHomepage(params?: Params$Resource$Accounts$Homepage$Gethomepage, options?: MethodOptions): GaxiosPromise<Schema$Homepage>;
2226
+ getHomepage(params: Params$Resource$Accounts$Homepage$Gethomepage, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2227
+ getHomepage(params?: Params$Resource$Accounts$Homepage$Gethomepage, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Homepage>>;
2228
2228
  getHomepage(params: Params$Resource$Accounts$Homepage$Gethomepage, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2229
2229
  getHomepage(params: Params$Resource$Accounts$Homepage$Gethomepage, options: MethodOptions | BodyResponseCallback<Schema$Homepage>, callback: BodyResponseCallback<Schema$Homepage>): void;
2230
2230
  getHomepage(params: Params$Resource$Accounts$Homepage$Gethomepage, callback: BodyResponseCallback<Schema$Homepage>): void;
@@ -2237,8 +2237,8 @@ export declare namespace merchantapi_accounts_v1beta {
2237
2237
  * @param callback - Optional callback that handles the response.
2238
2238
  * @returns A promise if used with async/await, or void if used with a callback.
2239
2239
  */
2240
- unclaim(params: Params$Resource$Accounts$Homepage$Unclaim, options: StreamMethodOptions): GaxiosPromise<Readable>;
2241
- unclaim(params?: Params$Resource$Accounts$Homepage$Unclaim, options?: MethodOptions): GaxiosPromise<Schema$Homepage>;
2240
+ unclaim(params: Params$Resource$Accounts$Homepage$Unclaim, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2241
+ unclaim(params?: Params$Resource$Accounts$Homepage$Unclaim, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Homepage>>;
2242
2242
  unclaim(params: Params$Resource$Accounts$Homepage$Unclaim, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2243
2243
  unclaim(params: Params$Resource$Accounts$Homepage$Unclaim, options: MethodOptions | BodyResponseCallback<Schema$Homepage>, callback: BodyResponseCallback<Schema$Homepage>): void;
2244
2244
  unclaim(params: Params$Resource$Accounts$Homepage$Unclaim, callback: BodyResponseCallback<Schema$Homepage>): void;
@@ -2251,8 +2251,8 @@ export declare namespace merchantapi_accounts_v1beta {
2251
2251
  * @param callback - Optional callback that handles the response.
2252
2252
  * @returns A promise if used with async/await, or void if used with a callback.
2253
2253
  */
2254
- updateHomepage(params: Params$Resource$Accounts$Homepage$Updatehomepage, options: StreamMethodOptions): GaxiosPromise<Readable>;
2255
- updateHomepage(params?: Params$Resource$Accounts$Homepage$Updatehomepage, options?: MethodOptions): GaxiosPromise<Schema$Homepage>;
2254
+ updateHomepage(params: Params$Resource$Accounts$Homepage$Updatehomepage, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2255
+ updateHomepage(params?: Params$Resource$Accounts$Homepage$Updatehomepage, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Homepage>>;
2256
2256
  updateHomepage(params: Params$Resource$Accounts$Homepage$Updatehomepage, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2257
2257
  updateHomepage(params: Params$Resource$Accounts$Homepage$Updatehomepage, options: MethodOptions | BodyResponseCallback<Schema$Homepage>, callback: BodyResponseCallback<Schema$Homepage>): void;
2258
2258
  updateHomepage(params: Params$Resource$Accounts$Homepage$Updatehomepage, callback: BodyResponseCallback<Schema$Homepage>): void;
@@ -2309,8 +2309,8 @@ export declare namespace merchantapi_accounts_v1beta {
2309
2309
  * @param callback - Optional callback that handles the response.
2310
2310
  * @returns A promise if used with async/await, or void if used with a callback.
2311
2311
  */
2312
- list(params: Params$Resource$Accounts$Issues$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2313
- list(params?: Params$Resource$Accounts$Issues$List, options?: MethodOptions): GaxiosPromise<Schema$ListAccountIssuesResponse>;
2312
+ list(params: Params$Resource$Accounts$Issues$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2313
+ list(params?: Params$Resource$Accounts$Issues$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListAccountIssuesResponse>>;
2314
2314
  list(params: Params$Resource$Accounts$Issues$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2315
2315
  list(params: Params$Resource$Accounts$Issues$List, options: MethodOptions | BodyResponseCallback<Schema$ListAccountIssuesResponse>, callback: BodyResponseCallback<Schema$ListAccountIssuesResponse>): void;
2316
2316
  list(params: Params$Resource$Accounts$Issues$List, callback: BodyResponseCallback<Schema$ListAccountIssuesResponse>): void;
@@ -2349,8 +2349,8 @@ export declare namespace merchantapi_accounts_v1beta {
2349
2349
  * @param callback - Optional callback that handles the response.
2350
2350
  * @returns A promise if used with async/await, or void if used with a callback.
2351
2351
  */
2352
- get(params: Params$Resource$Accounts$Onlinereturnpolicies$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2353
- get(params?: Params$Resource$Accounts$Onlinereturnpolicies$Get, options?: MethodOptions): GaxiosPromise<Schema$OnlineReturnPolicy>;
2352
+ get(params: Params$Resource$Accounts$Onlinereturnpolicies$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2353
+ get(params?: Params$Resource$Accounts$Onlinereturnpolicies$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$OnlineReturnPolicy>>;
2354
2354
  get(params: Params$Resource$Accounts$Onlinereturnpolicies$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2355
2355
  get(params: Params$Resource$Accounts$Onlinereturnpolicies$Get, options: MethodOptions | BodyResponseCallback<Schema$OnlineReturnPolicy>, callback: BodyResponseCallback<Schema$OnlineReturnPolicy>): void;
2356
2356
  get(params: Params$Resource$Accounts$Onlinereturnpolicies$Get, callback: BodyResponseCallback<Schema$OnlineReturnPolicy>): void;
@@ -2363,8 +2363,8 @@ export declare namespace merchantapi_accounts_v1beta {
2363
2363
  * @param callback - Optional callback that handles the response.
2364
2364
  * @returns A promise if used with async/await, or void if used with a callback.
2365
2365
  */
2366
- list(params: Params$Resource$Accounts$Onlinereturnpolicies$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2367
- list(params?: Params$Resource$Accounts$Onlinereturnpolicies$List, options?: MethodOptions): GaxiosPromise<Schema$ListOnlineReturnPoliciesResponse>;
2366
+ list(params: Params$Resource$Accounts$Onlinereturnpolicies$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2367
+ list(params?: Params$Resource$Accounts$Onlinereturnpolicies$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOnlineReturnPoliciesResponse>>;
2368
2368
  list(params: Params$Resource$Accounts$Onlinereturnpolicies$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2369
2369
  list(params: Params$Resource$Accounts$Onlinereturnpolicies$List, options: MethodOptions | BodyResponseCallback<Schema$ListOnlineReturnPoliciesResponse>, callback: BodyResponseCallback<Schema$ListOnlineReturnPoliciesResponse>): void;
2370
2370
  list(params: Params$Resource$Accounts$Onlinereturnpolicies$List, callback: BodyResponseCallback<Schema$ListOnlineReturnPoliciesResponse>): void;
@@ -2401,8 +2401,8 @@ export declare namespace merchantapi_accounts_v1beta {
2401
2401
  * @param callback - Optional callback that handles the response.
2402
2402
  * @returns A promise if used with async/await, or void if used with a callback.
2403
2403
  */
2404
- disable(params: Params$Resource$Accounts$Programs$Disable, options: StreamMethodOptions): GaxiosPromise<Readable>;
2405
- disable(params?: Params$Resource$Accounts$Programs$Disable, options?: MethodOptions): GaxiosPromise<Schema$Program>;
2404
+ disable(params: Params$Resource$Accounts$Programs$Disable, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2405
+ disable(params?: Params$Resource$Accounts$Programs$Disable, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Program>>;
2406
2406
  disable(params: Params$Resource$Accounts$Programs$Disable, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2407
2407
  disable(params: Params$Resource$Accounts$Programs$Disable, options: MethodOptions | BodyResponseCallback<Schema$Program>, callback: BodyResponseCallback<Schema$Program>): void;
2408
2408
  disable(params: Params$Resource$Accounts$Programs$Disable, callback: BodyResponseCallback<Schema$Program>): void;
@@ -2415,8 +2415,8 @@ export declare namespace merchantapi_accounts_v1beta {
2415
2415
  * @param callback - Optional callback that handles the response.
2416
2416
  * @returns A promise if used with async/await, or void if used with a callback.
2417
2417
  */
2418
- enable(params: Params$Resource$Accounts$Programs$Enable, options: StreamMethodOptions): GaxiosPromise<Readable>;
2419
- enable(params?: Params$Resource$Accounts$Programs$Enable, options?: MethodOptions): GaxiosPromise<Schema$Program>;
2418
+ enable(params: Params$Resource$Accounts$Programs$Enable, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2419
+ enable(params?: Params$Resource$Accounts$Programs$Enable, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Program>>;
2420
2420
  enable(params: Params$Resource$Accounts$Programs$Enable, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2421
2421
  enable(params: Params$Resource$Accounts$Programs$Enable, options: MethodOptions | BodyResponseCallback<Schema$Program>, callback: BodyResponseCallback<Schema$Program>): void;
2422
2422
  enable(params: Params$Resource$Accounts$Programs$Enable, callback: BodyResponseCallback<Schema$Program>): void;
@@ -2429,8 +2429,8 @@ export declare namespace merchantapi_accounts_v1beta {
2429
2429
  * @param callback - Optional callback that handles the response.
2430
2430
  * @returns A promise if used with async/await, or void if used with a callback.
2431
2431
  */
2432
- get(params: Params$Resource$Accounts$Programs$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2433
- get(params?: Params$Resource$Accounts$Programs$Get, options?: MethodOptions): GaxiosPromise<Schema$Program>;
2432
+ get(params: Params$Resource$Accounts$Programs$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2433
+ get(params?: Params$Resource$Accounts$Programs$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Program>>;
2434
2434
  get(params: Params$Resource$Accounts$Programs$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2435
2435
  get(params: Params$Resource$Accounts$Programs$Get, options: MethodOptions | BodyResponseCallback<Schema$Program>, callback: BodyResponseCallback<Schema$Program>): void;
2436
2436
  get(params: Params$Resource$Accounts$Programs$Get, callback: BodyResponseCallback<Schema$Program>): void;
@@ -2443,8 +2443,8 @@ export declare namespace merchantapi_accounts_v1beta {
2443
2443
  * @param callback - Optional callback that handles the response.
2444
2444
  * @returns A promise if used with async/await, or void if used with a callback.
2445
2445
  */
2446
- list(params: Params$Resource$Accounts$Programs$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2447
- list(params?: Params$Resource$Accounts$Programs$List, options?: MethodOptions): GaxiosPromise<Schema$ListProgramsResponse>;
2446
+ list(params: Params$Resource$Accounts$Programs$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2447
+ list(params?: Params$Resource$Accounts$Programs$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListProgramsResponse>>;
2448
2448
  list(params: Params$Resource$Accounts$Programs$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2449
2449
  list(params: Params$Resource$Accounts$Programs$List, options: MethodOptions | BodyResponseCallback<Schema$ListProgramsResponse>, callback: BodyResponseCallback<Schema$ListProgramsResponse>): void;
2450
2450
  list(params: Params$Resource$Accounts$Programs$List, callback: BodyResponseCallback<Schema$ListProgramsResponse>): void;
@@ -2501,8 +2501,8 @@ export declare namespace merchantapi_accounts_v1beta {
2501
2501
  * @param callback - Optional callback that handles the response.
2502
2502
  * @returns A promise if used with async/await, or void if used with a callback.
2503
2503
  */
2504
- create(params: Params$Resource$Accounts$Regions$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
2505
- create(params?: Params$Resource$Accounts$Regions$Create, options?: MethodOptions): GaxiosPromise<Schema$Region>;
2504
+ create(params: Params$Resource$Accounts$Regions$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2505
+ create(params?: Params$Resource$Accounts$Regions$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Region>>;
2506
2506
  create(params: Params$Resource$Accounts$Regions$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2507
2507
  create(params: Params$Resource$Accounts$Regions$Create, options: MethodOptions | BodyResponseCallback<Schema$Region>, callback: BodyResponseCallback<Schema$Region>): void;
2508
2508
  create(params: Params$Resource$Accounts$Regions$Create, callback: BodyResponseCallback<Schema$Region>): void;
@@ -2515,8 +2515,8 @@ export declare namespace merchantapi_accounts_v1beta {
2515
2515
  * @param callback - Optional callback that handles the response.
2516
2516
  * @returns A promise if used with async/await, or void if used with a callback.
2517
2517
  */
2518
- delete(params: Params$Resource$Accounts$Regions$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
2519
- delete(params?: Params$Resource$Accounts$Regions$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
2518
+ delete(params: Params$Resource$Accounts$Regions$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2519
+ delete(params?: Params$Resource$Accounts$Regions$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
2520
2520
  delete(params: Params$Resource$Accounts$Regions$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2521
2521
  delete(params: Params$Resource$Accounts$Regions$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
2522
2522
  delete(params: Params$Resource$Accounts$Regions$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -2529,8 +2529,8 @@ export declare namespace merchantapi_accounts_v1beta {
2529
2529
  * @param callback - Optional callback that handles the response.
2530
2530
  * @returns A promise if used with async/await, or void if used with a callback.
2531
2531
  */
2532
- get(params: Params$Resource$Accounts$Regions$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2533
- get(params?: Params$Resource$Accounts$Regions$Get, options?: MethodOptions): GaxiosPromise<Schema$Region>;
2532
+ get(params: Params$Resource$Accounts$Regions$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2533
+ get(params?: Params$Resource$Accounts$Regions$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Region>>;
2534
2534
  get(params: Params$Resource$Accounts$Regions$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2535
2535
  get(params: Params$Resource$Accounts$Regions$Get, options: MethodOptions | BodyResponseCallback<Schema$Region>, callback: BodyResponseCallback<Schema$Region>): void;
2536
2536
  get(params: Params$Resource$Accounts$Regions$Get, callback: BodyResponseCallback<Schema$Region>): void;
@@ -2543,8 +2543,8 @@ export declare namespace merchantapi_accounts_v1beta {
2543
2543
  * @param callback - Optional callback that handles the response.
2544
2544
  * @returns A promise if used with async/await, or void if used with a callback.
2545
2545
  */
2546
- list(params: Params$Resource$Accounts$Regions$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2547
- list(params?: Params$Resource$Accounts$Regions$List, options?: MethodOptions): GaxiosPromise<Schema$ListRegionsResponse>;
2546
+ list(params: Params$Resource$Accounts$Regions$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2547
+ list(params?: Params$Resource$Accounts$Regions$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListRegionsResponse>>;
2548
2548
  list(params: Params$Resource$Accounts$Regions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2549
2549
  list(params: Params$Resource$Accounts$Regions$List, options: MethodOptions | BodyResponseCallback<Schema$ListRegionsResponse>, callback: BodyResponseCallback<Schema$ListRegionsResponse>): void;
2550
2550
  list(params: Params$Resource$Accounts$Regions$List, callback: BodyResponseCallback<Schema$ListRegionsResponse>): void;
@@ -2557,8 +2557,8 @@ export declare namespace merchantapi_accounts_v1beta {
2557
2557
  * @param callback - Optional callback that handles the response.
2558
2558
  * @returns A promise if used with async/await, or void if used with a callback.
2559
2559
  */
2560
- patch(params: Params$Resource$Accounts$Regions$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
2561
- patch(params?: Params$Resource$Accounts$Regions$Patch, options?: MethodOptions): GaxiosPromise<Schema$Region>;
2560
+ patch(params: Params$Resource$Accounts$Regions$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2561
+ patch(params?: Params$Resource$Accounts$Regions$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Region>>;
2562
2562
  patch(params: Params$Resource$Accounts$Regions$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2563
2563
  patch(params: Params$Resource$Accounts$Regions$Patch, options: MethodOptions | BodyResponseCallback<Schema$Region>, callback: BodyResponseCallback<Schema$Region>): void;
2564
2564
  patch(params: Params$Resource$Accounts$Regions$Patch, callback: BodyResponseCallback<Schema$Region>): void;
@@ -2629,8 +2629,8 @@ export declare namespace merchantapi_accounts_v1beta {
2629
2629
  * @param callback - Optional callback that handles the response.
2630
2630
  * @returns A promise if used with async/await, or void if used with a callback.
2631
2631
  */
2632
- get(params: Params$Resource$Accounts$Relationships$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2633
- get(params?: Params$Resource$Accounts$Relationships$Get, options?: MethodOptions): GaxiosPromise<Schema$AccountRelationship>;
2632
+ get(params: Params$Resource$Accounts$Relationships$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2633
+ get(params?: Params$Resource$Accounts$Relationships$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AccountRelationship>>;
2634
2634
  get(params: Params$Resource$Accounts$Relationships$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2635
2635
  get(params: Params$Resource$Accounts$Relationships$Get, options: MethodOptions | BodyResponseCallback<Schema$AccountRelationship>, callback: BodyResponseCallback<Schema$AccountRelationship>): void;
2636
2636
  get(params: Params$Resource$Accounts$Relationships$Get, callback: BodyResponseCallback<Schema$AccountRelationship>): void;
@@ -2643,8 +2643,8 @@ export declare namespace merchantapi_accounts_v1beta {
2643
2643
  * @param callback - Optional callback that handles the response.
2644
2644
  * @returns A promise if used with async/await, or void if used with a callback.
2645
2645
  */
2646
- list(params: Params$Resource$Accounts$Relationships$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2647
- list(params?: Params$Resource$Accounts$Relationships$List, options?: MethodOptions): GaxiosPromise<Schema$ListAccountRelationshipsResponse>;
2646
+ list(params: Params$Resource$Accounts$Relationships$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2647
+ list(params?: Params$Resource$Accounts$Relationships$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListAccountRelationshipsResponse>>;
2648
2648
  list(params: Params$Resource$Accounts$Relationships$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2649
2649
  list(params: Params$Resource$Accounts$Relationships$List, options: MethodOptions | BodyResponseCallback<Schema$ListAccountRelationshipsResponse>, callback: BodyResponseCallback<Schema$ListAccountRelationshipsResponse>): void;
2650
2650
  list(params: Params$Resource$Accounts$Relationships$List, callback: BodyResponseCallback<Schema$ListAccountRelationshipsResponse>): void;
@@ -2657,8 +2657,8 @@ export declare namespace merchantapi_accounts_v1beta {
2657
2657
  * @param callback - Optional callback that handles the response.
2658
2658
  * @returns A promise if used with async/await, or void if used with a callback.
2659
2659
  */
2660
- patch(params: Params$Resource$Accounts$Relationships$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
2661
- patch(params?: Params$Resource$Accounts$Relationships$Patch, options?: MethodOptions): GaxiosPromise<Schema$AccountRelationship>;
2660
+ patch(params: Params$Resource$Accounts$Relationships$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2661
+ patch(params?: Params$Resource$Accounts$Relationships$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AccountRelationship>>;
2662
2662
  patch(params: Params$Resource$Accounts$Relationships$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2663
2663
  patch(params: Params$Resource$Accounts$Relationships$Patch, options: MethodOptions | BodyResponseCallback<Schema$AccountRelationship>, callback: BodyResponseCallback<Schema$AccountRelationship>): void;
2664
2664
  patch(params: Params$Resource$Accounts$Relationships$Patch, callback: BodyResponseCallback<Schema$AccountRelationship>): void;
@@ -2666,7 +2666,7 @@ export declare namespace merchantapi_accounts_v1beta {
2666
2666
  }
2667
2667
  export interface Params$Resource$Accounts$Relationships$Get extends StandardParameters {
2668
2668
  /**
2669
- * Required. The resource name of the account relationship to get.
2669
+ * Required. The resource name of the account relationship to get. Format: `accounts/{account\}/relationships/{relationship\}`
2670
2670
  */
2671
2671
  name?: string;
2672
2672
  }
@@ -2680,13 +2680,13 @@ export declare namespace merchantapi_accounts_v1beta {
2680
2680
  */
2681
2681
  pageToken?: string;
2682
2682
  /**
2683
- * Required. The parent account of the account relationship to filter by.
2683
+ * Required. The parent account of the account relationship to filter by. Format: `accounts/{account\}`
2684
2684
  */
2685
2685
  parent?: string;
2686
2686
  }
2687
2687
  export interface Params$Resource$Accounts$Relationships$Patch extends StandardParameters {
2688
2688
  /**
2689
- * Identifier. The resource name of the account relationship.
2689
+ * Identifier. The resource name of the account relationship. Format: `accounts/{account\}/relationships/{relationship\}`
2690
2690
  */
2691
2691
  name?: string;
2692
2692
  /**
@@ -2709,8 +2709,8 @@ export declare namespace merchantapi_accounts_v1beta {
2709
2709
  * @param callback - Optional callback that handles the response.
2710
2710
  * @returns A promise if used with async/await, or void if used with a callback.
2711
2711
  */
2712
- approve(params: Params$Resource$Accounts$Services$Approve, options: StreamMethodOptions): GaxiosPromise<Readable>;
2713
- approve(params?: Params$Resource$Accounts$Services$Approve, options?: MethodOptions): GaxiosPromise<Schema$AccountService>;
2712
+ approve(params: Params$Resource$Accounts$Services$Approve, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2713
+ approve(params?: Params$Resource$Accounts$Services$Approve, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AccountService>>;
2714
2714
  approve(params: Params$Resource$Accounts$Services$Approve, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2715
2715
  approve(params: Params$Resource$Accounts$Services$Approve, options: MethodOptions | BodyResponseCallback<Schema$AccountService>, callback: BodyResponseCallback<Schema$AccountService>): void;
2716
2716
  approve(params: Params$Resource$Accounts$Services$Approve, callback: BodyResponseCallback<Schema$AccountService>): void;
@@ -2723,8 +2723,8 @@ export declare namespace merchantapi_accounts_v1beta {
2723
2723
  * @param callback - Optional callback that handles the response.
2724
2724
  * @returns A promise if used with async/await, or void if used with a callback.
2725
2725
  */
2726
- get(params: Params$Resource$Accounts$Services$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2727
- get(params?: Params$Resource$Accounts$Services$Get, options?: MethodOptions): GaxiosPromise<Schema$AccountService>;
2726
+ get(params: Params$Resource$Accounts$Services$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2727
+ get(params?: Params$Resource$Accounts$Services$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AccountService>>;
2728
2728
  get(params: Params$Resource$Accounts$Services$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2729
2729
  get(params: Params$Resource$Accounts$Services$Get, options: MethodOptions | BodyResponseCallback<Schema$AccountService>, callback: BodyResponseCallback<Schema$AccountService>): void;
2730
2730
  get(params: Params$Resource$Accounts$Services$Get, callback: BodyResponseCallback<Schema$AccountService>): void;
@@ -2737,8 +2737,8 @@ export declare namespace merchantapi_accounts_v1beta {
2737
2737
  * @param callback - Optional callback that handles the response.
2738
2738
  * @returns A promise if used with async/await, or void if used with a callback.
2739
2739
  */
2740
- list(params: Params$Resource$Accounts$Services$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2741
- list(params?: Params$Resource$Accounts$Services$List, options?: MethodOptions): GaxiosPromise<Schema$ListAccountServicesResponse>;
2740
+ list(params: Params$Resource$Accounts$Services$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2741
+ list(params?: Params$Resource$Accounts$Services$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListAccountServicesResponse>>;
2742
2742
  list(params: Params$Resource$Accounts$Services$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2743
2743
  list(params: Params$Resource$Accounts$Services$List, options: MethodOptions | BodyResponseCallback<Schema$ListAccountServicesResponse>, callback: BodyResponseCallback<Schema$ListAccountServicesResponse>): void;
2744
2744
  list(params: Params$Resource$Accounts$Services$List, callback: BodyResponseCallback<Schema$ListAccountServicesResponse>): void;
@@ -2751,8 +2751,8 @@ export declare namespace merchantapi_accounts_v1beta {
2751
2751
  * @param callback - Optional callback that handles the response.
2752
2752
  * @returns A promise if used with async/await, or void if used with a callback.
2753
2753
  */
2754
- propose(params: Params$Resource$Accounts$Services$Propose, options: StreamMethodOptions): GaxiosPromise<Readable>;
2755
- propose(params?: Params$Resource$Accounts$Services$Propose, options?: MethodOptions): GaxiosPromise<Schema$AccountService>;
2754
+ propose(params: Params$Resource$Accounts$Services$Propose, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2755
+ propose(params?: Params$Resource$Accounts$Services$Propose, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AccountService>>;
2756
2756
  propose(params: Params$Resource$Accounts$Services$Propose, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2757
2757
  propose(params: Params$Resource$Accounts$Services$Propose, options: MethodOptions | BodyResponseCallback<Schema$AccountService>, callback: BodyResponseCallback<Schema$AccountService>): void;
2758
2758
  propose(params: Params$Resource$Accounts$Services$Propose, callback: BodyResponseCallback<Schema$AccountService>): void;
@@ -2765,8 +2765,8 @@ export declare namespace merchantapi_accounts_v1beta {
2765
2765
  * @param callback - Optional callback that handles the response.
2766
2766
  * @returns A promise if used with async/await, or void if used with a callback.
2767
2767
  */
2768
- reject(params: Params$Resource$Accounts$Services$Reject, options: StreamMethodOptions): GaxiosPromise<Readable>;
2769
- reject(params?: Params$Resource$Accounts$Services$Reject, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
2768
+ reject(params: Params$Resource$Accounts$Services$Reject, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2769
+ reject(params?: Params$Resource$Accounts$Services$Reject, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
2770
2770
  reject(params: Params$Resource$Accounts$Services$Reject, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2771
2771
  reject(params: Params$Resource$Accounts$Services$Reject, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
2772
2772
  reject(params: Params$Resource$Accounts$Services$Reject, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -2774,7 +2774,7 @@ export declare namespace merchantapi_accounts_v1beta {
2774
2774
  }
2775
2775
  export interface Params$Resource$Accounts$Services$Approve extends StandardParameters {
2776
2776
  /**
2777
- * Required. The resource name of the account service to approve.
2777
+ * Required. The resource name of the account service to approve. Format: `accounts/{account\}/services/{service\}`
2778
2778
  */
2779
2779
  name?: string;
2780
2780
  /**
@@ -2784,7 +2784,7 @@ export declare namespace merchantapi_accounts_v1beta {
2784
2784
  }
2785
2785
  export interface Params$Resource$Accounts$Services$Get extends StandardParameters {
2786
2786
  /**
2787
- * Required. The resource name of the account service to get.
2787
+ * Required. The resource name of the account service to get. Format: `accounts/{account\}/services/{service\}`
2788
2788
  */
2789
2789
  name?: string;
2790
2790
  }
@@ -2798,13 +2798,13 @@ export declare namespace merchantapi_accounts_v1beta {
2798
2798
  */
2799
2799
  pageToken?: string;
2800
2800
  /**
2801
- * Required. The parent account of the account service to filter by.
2801
+ * Required. The parent account of the account service to filter by. Format: `accounts/{account\}`
2802
2802
  */
2803
2803
  parent?: string;
2804
2804
  }
2805
2805
  export interface Params$Resource$Accounts$Services$Propose extends StandardParameters {
2806
2806
  /**
2807
- * Required. The resource name of the parent account for the service.
2807
+ * Required. The resource name of the parent account for the service. Format: `accounts/{account\}`
2808
2808
  */
2809
2809
  parent?: string;
2810
2810
  /**
@@ -2814,7 +2814,7 @@ export declare namespace merchantapi_accounts_v1beta {
2814
2814
  }
2815
2815
  export interface Params$Resource$Accounts$Services$Reject extends StandardParameters {
2816
2816
  /**
2817
- * Required. The resource name of the account service to reject.
2817
+ * Required. The resource name of the account service to reject. Format: `accounts/{account\}/services/{service\}`
2818
2818
  */
2819
2819
  name?: string;
2820
2820
  /**
@@ -2833,8 +2833,8 @@ export declare namespace merchantapi_accounts_v1beta {
2833
2833
  * @param callback - Optional callback that handles the response.
2834
2834
  * @returns A promise if used with async/await, or void if used with a callback.
2835
2835
  */
2836
- getShippingSettings(params: Params$Resource$Accounts$Shippingsettings$Getshippingsettings, options: StreamMethodOptions): GaxiosPromise<Readable>;
2837
- getShippingSettings(params?: Params$Resource$Accounts$Shippingsettings$Getshippingsettings, options?: MethodOptions): GaxiosPromise<Schema$ShippingSettings>;
2836
+ getShippingSettings(params: Params$Resource$Accounts$Shippingsettings$Getshippingsettings, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2837
+ getShippingSettings(params?: Params$Resource$Accounts$Shippingsettings$Getshippingsettings, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ShippingSettings>>;
2838
2838
  getShippingSettings(params: Params$Resource$Accounts$Shippingsettings$Getshippingsettings, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2839
2839
  getShippingSettings(params: Params$Resource$Accounts$Shippingsettings$Getshippingsettings, options: MethodOptions | BodyResponseCallback<Schema$ShippingSettings>, callback: BodyResponseCallback<Schema$ShippingSettings>): void;
2840
2840
  getShippingSettings(params: Params$Resource$Accounts$Shippingsettings$Getshippingsettings, callback: BodyResponseCallback<Schema$ShippingSettings>): void;
@@ -2847,8 +2847,8 @@ export declare namespace merchantapi_accounts_v1beta {
2847
2847
  * @param callback - Optional callback that handles the response.
2848
2848
  * @returns A promise if used with async/await, or void if used with a callback.
2849
2849
  */
2850
- insert(params: Params$Resource$Accounts$Shippingsettings$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
2851
- insert(params?: Params$Resource$Accounts$Shippingsettings$Insert, options?: MethodOptions): GaxiosPromise<Schema$ShippingSettings>;
2850
+ insert(params: Params$Resource$Accounts$Shippingsettings$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2851
+ insert(params?: Params$Resource$Accounts$Shippingsettings$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ShippingSettings>>;
2852
2852
  insert(params: Params$Resource$Accounts$Shippingsettings$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2853
2853
  insert(params: Params$Resource$Accounts$Shippingsettings$Insert, options: MethodOptions | BodyResponseCallback<Schema$ShippingSettings>, callback: BodyResponseCallback<Schema$ShippingSettings>): void;
2854
2854
  insert(params: Params$Resource$Accounts$Shippingsettings$Insert, callback: BodyResponseCallback<Schema$ShippingSettings>): void;
@@ -2881,8 +2881,8 @@ export declare namespace merchantapi_accounts_v1beta {
2881
2881
  * @param callback - Optional callback that handles the response.
2882
2882
  * @returns A promise if used with async/await, or void if used with a callback.
2883
2883
  */
2884
- get(params: Params$Resource$Accounts$Termsofserviceagreementstates$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2885
- get(params?: Params$Resource$Accounts$Termsofserviceagreementstates$Get, options?: MethodOptions): GaxiosPromise<Schema$TermsOfServiceAgreementState>;
2884
+ get(params: Params$Resource$Accounts$Termsofserviceagreementstates$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2885
+ get(params?: Params$Resource$Accounts$Termsofserviceagreementstates$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TermsOfServiceAgreementState>>;
2886
2886
  get(params: Params$Resource$Accounts$Termsofserviceagreementstates$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2887
2887
  get(params: Params$Resource$Accounts$Termsofserviceagreementstates$Get, options: MethodOptions | BodyResponseCallback<Schema$TermsOfServiceAgreementState>, callback: BodyResponseCallback<Schema$TermsOfServiceAgreementState>): void;
2888
2888
  get(params: Params$Resource$Accounts$Termsofserviceagreementstates$Get, callback: BodyResponseCallback<Schema$TermsOfServiceAgreementState>): void;
@@ -2895,8 +2895,8 @@ export declare namespace merchantapi_accounts_v1beta {
2895
2895
  * @param callback - Optional callback that handles the response.
2896
2896
  * @returns A promise if used with async/await, or void if used with a callback.
2897
2897
  */
2898
- retrieveForApplication(params: Params$Resource$Accounts$Termsofserviceagreementstates$Retrieveforapplication, options: StreamMethodOptions): GaxiosPromise<Readable>;
2899
- retrieveForApplication(params?: Params$Resource$Accounts$Termsofserviceagreementstates$Retrieveforapplication, options?: MethodOptions): GaxiosPromise<Schema$TermsOfServiceAgreementState>;
2898
+ retrieveForApplication(params: Params$Resource$Accounts$Termsofserviceagreementstates$Retrieveforapplication, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2899
+ retrieveForApplication(params?: Params$Resource$Accounts$Termsofserviceagreementstates$Retrieveforapplication, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TermsOfServiceAgreementState>>;
2900
2900
  retrieveForApplication(params: Params$Resource$Accounts$Termsofserviceagreementstates$Retrieveforapplication, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2901
2901
  retrieveForApplication(params: Params$Resource$Accounts$Termsofserviceagreementstates$Retrieveforapplication, options: MethodOptions | BodyResponseCallback<Schema$TermsOfServiceAgreementState>, callback: BodyResponseCallback<Schema$TermsOfServiceAgreementState>): void;
2902
2902
  retrieveForApplication(params: Params$Resource$Accounts$Termsofserviceagreementstates$Retrieveforapplication, callback: BodyResponseCallback<Schema$TermsOfServiceAgreementState>): void;
@@ -2925,8 +2925,8 @@ export declare namespace merchantapi_accounts_v1beta {
2925
2925
  * @param callback - Optional callback that handles the response.
2926
2926
  * @returns A promise if used with async/await, or void if used with a callback.
2927
2927
  */
2928
- create(params: Params$Resource$Accounts$Users$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
2929
- create(params?: Params$Resource$Accounts$Users$Create, options?: MethodOptions): GaxiosPromise<Schema$User>;
2928
+ create(params: Params$Resource$Accounts$Users$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2929
+ create(params?: Params$Resource$Accounts$Users$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$User>>;
2930
2930
  create(params: Params$Resource$Accounts$Users$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2931
2931
  create(params: Params$Resource$Accounts$Users$Create, options: MethodOptions | BodyResponseCallback<Schema$User>, callback: BodyResponseCallback<Schema$User>): void;
2932
2932
  create(params: Params$Resource$Accounts$Users$Create, callback: BodyResponseCallback<Schema$User>): void;
@@ -2939,8 +2939,8 @@ export declare namespace merchantapi_accounts_v1beta {
2939
2939
  * @param callback - Optional callback that handles the response.
2940
2940
  * @returns A promise if used with async/await, or void if used with a callback.
2941
2941
  */
2942
- delete(params: Params$Resource$Accounts$Users$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
2943
- delete(params?: Params$Resource$Accounts$Users$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
2942
+ delete(params: Params$Resource$Accounts$Users$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2943
+ delete(params?: Params$Resource$Accounts$Users$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
2944
2944
  delete(params: Params$Resource$Accounts$Users$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2945
2945
  delete(params: Params$Resource$Accounts$Users$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
2946
2946
  delete(params: Params$Resource$Accounts$Users$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -2953,8 +2953,8 @@ export declare namespace merchantapi_accounts_v1beta {
2953
2953
  * @param callback - Optional callback that handles the response.
2954
2954
  * @returns A promise if used with async/await, or void if used with a callback.
2955
2955
  */
2956
- get(params: Params$Resource$Accounts$Users$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2957
- get(params?: Params$Resource$Accounts$Users$Get, options?: MethodOptions): GaxiosPromise<Schema$User>;
2956
+ get(params: Params$Resource$Accounts$Users$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2957
+ get(params?: Params$Resource$Accounts$Users$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$User>>;
2958
2958
  get(params: Params$Resource$Accounts$Users$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2959
2959
  get(params: Params$Resource$Accounts$Users$Get, options: MethodOptions | BodyResponseCallback<Schema$User>, callback: BodyResponseCallback<Schema$User>): void;
2960
2960
  get(params: Params$Resource$Accounts$Users$Get, callback: BodyResponseCallback<Schema$User>): void;
@@ -2967,8 +2967,8 @@ export declare namespace merchantapi_accounts_v1beta {
2967
2967
  * @param callback - Optional callback that handles the response.
2968
2968
  * @returns A promise if used with async/await, or void if used with a callback.
2969
2969
  */
2970
- list(params: Params$Resource$Accounts$Users$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2971
- list(params?: Params$Resource$Accounts$Users$List, options?: MethodOptions): GaxiosPromise<Schema$ListUsersResponse>;
2970
+ list(params: Params$Resource$Accounts$Users$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2971
+ list(params?: Params$Resource$Accounts$Users$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListUsersResponse>>;
2972
2972
  list(params: Params$Resource$Accounts$Users$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2973
2973
  list(params: Params$Resource$Accounts$Users$List, options: MethodOptions | BodyResponseCallback<Schema$ListUsersResponse>, callback: BodyResponseCallback<Schema$ListUsersResponse>): void;
2974
2974
  list(params: Params$Resource$Accounts$Users$List, callback: BodyResponseCallback<Schema$ListUsersResponse>): void;
@@ -2981,8 +2981,8 @@ export declare namespace merchantapi_accounts_v1beta {
2981
2981
  * @param callback - Optional callback that handles the response.
2982
2982
  * @returns A promise if used with async/await, or void if used with a callback.
2983
2983
  */
2984
- patch(params: Params$Resource$Accounts$Users$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
2985
- patch(params?: Params$Resource$Accounts$Users$Patch, options?: MethodOptions): GaxiosPromise<Schema$User>;
2984
+ patch(params: Params$Resource$Accounts$Users$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2985
+ patch(params?: Params$Resource$Accounts$Users$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$User>>;
2986
2986
  patch(params: Params$Resource$Accounts$Users$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2987
2987
  patch(params: Params$Resource$Accounts$Users$Patch, options: MethodOptions | BodyResponseCallback<Schema$User>, callback: BodyResponseCallback<Schema$User>): void;
2988
2988
  patch(params: Params$Resource$Accounts$Users$Patch, callback: BodyResponseCallback<Schema$User>): void;
@@ -3053,8 +3053,8 @@ export declare namespace merchantapi_accounts_v1beta {
3053
3053
  * @param callback - Optional callback that handles the response.
3054
3054
  * @returns A promise if used with async/await, or void if used with a callback.
3055
3055
  */
3056
- accept(params: Params$Resource$Termsofservice$Accept, options: StreamMethodOptions): GaxiosPromise<Readable>;
3057
- accept(params?: Params$Resource$Termsofservice$Accept, options?: MethodOptions): GaxiosPromise<Schema$AcceptTermsOfServiceResponse>;
3056
+ accept(params: Params$Resource$Termsofservice$Accept, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3057
+ accept(params?: Params$Resource$Termsofservice$Accept, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AcceptTermsOfServiceResponse>>;
3058
3058
  accept(params: Params$Resource$Termsofservice$Accept, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3059
3059
  accept(params: Params$Resource$Termsofservice$Accept, options: MethodOptions | BodyResponseCallback<Schema$AcceptTermsOfServiceResponse>, callback: BodyResponseCallback<Schema$AcceptTermsOfServiceResponse>): void;
3060
3060
  accept(params: Params$Resource$Termsofservice$Accept, callback: BodyResponseCallback<Schema$AcceptTermsOfServiceResponse>): void;
@@ -3067,8 +3067,8 @@ export declare namespace merchantapi_accounts_v1beta {
3067
3067
  * @param callback - Optional callback that handles the response.
3068
3068
  * @returns A promise if used with async/await, or void if used with a callback.
3069
3069
  */
3070
- get(params: Params$Resource$Termsofservice$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
3071
- get(params?: Params$Resource$Termsofservice$Get, options?: MethodOptions): GaxiosPromise<Schema$TermsOfService>;
3070
+ get(params: Params$Resource$Termsofservice$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3071
+ get(params?: Params$Resource$Termsofservice$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TermsOfService>>;
3072
3072
  get(params: Params$Resource$Termsofservice$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3073
3073
  get(params: Params$Resource$Termsofservice$Get, options: MethodOptions | BodyResponseCallback<Schema$TermsOfService>, callback: BodyResponseCallback<Schema$TermsOfService>): void;
3074
3074
  get(params: Params$Resource$Termsofservice$Get, callback: BodyResponseCallback<Schema$TermsOfService>): void;
@@ -3081,8 +3081,8 @@ export declare namespace merchantapi_accounts_v1beta {
3081
3081
  * @param callback - Optional callback that handles the response.
3082
3082
  * @returns A promise if used with async/await, or void if used with a callback.
3083
3083
  */
3084
- retrieveLatest(params: Params$Resource$Termsofservice$Retrievelatest, options: StreamMethodOptions): GaxiosPromise<Readable>;
3085
- retrieveLatest(params?: Params$Resource$Termsofservice$Retrievelatest, options?: MethodOptions): GaxiosPromise<Schema$TermsOfService>;
3084
+ retrieveLatest(params: Params$Resource$Termsofservice$Retrievelatest, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3085
+ retrieveLatest(params?: Params$Resource$Termsofservice$Retrievelatest, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TermsOfService>>;
3086
3086
  retrieveLatest(params: Params$Resource$Termsofservice$Retrievelatest, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3087
3087
  retrieveLatest(params: Params$Resource$Termsofservice$Retrievelatest, options: MethodOptions | BodyResponseCallback<Schema$TermsOfService>, callback: BodyResponseCallback<Schema$TermsOfService>): void;
3088
3088
  retrieveLatest(params: Params$Resource$Termsofservice$Retrievelatest, callback: BodyResponseCallback<Schema$TermsOfService>): void;