@googleapis/merchantapi 17.4.0 → 19.0.0

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 (62) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/accounts_v1.ts +57 -86
  3. package/accounts_v1beta.ts +54 -80
  4. package/build/accounts_v1.d.ts +18 -6
  5. package/build/accounts_v1.js.map +1 -1
  6. package/build/accounts_v1beta.d.ts +18 -6
  7. package/build/accounts_v1beta.js.map +1 -1
  8. package/build/conversions_v1.js.map +1 -1
  9. package/build/conversions_v1beta.js.map +1 -1
  10. package/build/datasources_v1.d.ts +3 -3
  11. package/build/datasources_v1.js.map +1 -1
  12. package/build/datasources_v1beta.d.ts +3 -3
  13. package/build/datasources_v1beta.js.map +1 -1
  14. package/build/inventories_v1.d.ts +25 -0
  15. package/build/inventories_v1.js.map +1 -1
  16. package/build/inventories_v1beta.js.map +1 -1
  17. package/build/issueresolution_v1.d.ts +4 -4
  18. package/build/issueresolution_v1.js.map +1 -1
  19. package/build/issueresolution_v1beta.d.ts +4 -4
  20. package/build/issueresolution_v1beta.js.map +1 -1
  21. package/build/lfp_v1.js.map +1 -1
  22. package/build/lfp_v1beta.js.map +1 -1
  23. package/build/notifications_v1.d.ts +4 -4
  24. package/build/notifications_v1.js.map +1 -1
  25. package/build/notifications_v1beta.d.ts +4 -4
  26. package/build/notifications_v1beta.js.map +1 -1
  27. package/build/products_v1.d.ts +291 -0
  28. package/build/products_v1.js.map +1 -1
  29. package/build/products_v1beta.d.ts +5 -0
  30. package/build/products_v1beta.js.map +1 -1
  31. package/build/promotions_v1.js.map +1 -1
  32. package/build/promotions_v1beta.js.map +1 -1
  33. package/build/quota_v1.d.ts +1 -1
  34. package/build/quota_v1.js.map +1 -1
  35. package/build/quota_v1beta.d.ts +1 -1
  36. package/build/quota_v1beta.js.map +1 -1
  37. package/build/reports_v1.d.ts +6 -6
  38. package/build/reports_v1beta.d.ts +6 -6
  39. package/build/reviews_v1beta.js.map +1 -1
  40. package/build/tsconfig.tsbuildinfo +1 -1
  41. package/conversions_v1.ts +1 -2
  42. package/conversions_v1beta.ts +1 -2
  43. package/datasources_v1.ts +10 -17
  44. package/datasources_v1beta.ts +10 -17
  45. package/inventories_v1.ts +27 -4
  46. package/inventories_v1beta.ts +2 -4
  47. package/issueresolution_v1.ts +5 -6
  48. package/issueresolution_v1beta.ts +5 -6
  49. package/lfp_v1.ts +5 -10
  50. package/lfp_v1beta.ts +5 -10
  51. package/notifications_v1.ts +8 -12
  52. package/notifications_v1beta.ts +8 -12
  53. package/package.json +1 -1
  54. package/products_v1.ts +294 -6
  55. package/products_v1beta.ts +8 -6
  56. package/promotions_v1.ts +3 -6
  57. package/promotions_v1beta.ts +3 -6
  58. package/quota_v1.ts +3 -5
  59. package/quota_v1beta.ts +2 -3
  60. package/reports_v1.ts +6 -6
  61. package/reports_v1beta.ts +6 -6
  62. package/reviews_v1beta.ts +3 -6
@@ -308,6 +308,10 @@ export namespace merchantapi_accounts_v1beta {
308
308
  * Output only. The human-readable display name of the provider account.
309
309
  */
310
310
  providerDisplayName?: string | null;
311
+ /**
312
+ * Service type for UCP Checkout Management. The provider is managing the UCP Checkout capability integration for the merchant.
313
+ */
314
+ ucpCheckoutManagement?: Schema$UcpCheckoutManagement;
311
315
  }
312
316
  /**
313
317
  * Additional instructions to add account services during creation of the account.
@@ -2125,6 +2129,10 @@ export namespace merchantapi_accounts_v1beta {
2125
2129
  */
2126
2130
  minTransitDays?: number | null;
2127
2131
  }
2132
+ /**
2133
+ * `UcpCheckoutManagement` payload.
2134
+ */
2135
+ export interface Schema$UcpCheckoutManagement {}
2128
2136
  /**
2129
2137
  * Request message for the `UnclaimHomepage` method.
2130
2138
  */
@@ -2432,8 +2440,7 @@ export namespace merchantapi_accounts_v1beta {
2432
2440
  | BodyResponseCallback<Schema$Account>
2433
2441
  | BodyResponseCallback<Readable>,
2434
2442
  callback?:
2435
- | BodyResponseCallback<Schema$Account>
2436
- | BodyResponseCallback<Readable>
2443
+ BodyResponseCallback<Schema$Account> | BodyResponseCallback<Readable>
2437
2444
  ):
2438
2445
  | void
2439
2446
  | Promise<GaxiosResponseWithHTTP2<Schema$Account>>
@@ -2588,8 +2595,7 @@ export namespace merchantapi_accounts_v1beta {
2588
2595
  | BodyResponseCallback<Schema$Account>
2589
2596
  | BodyResponseCallback<Readable>,
2590
2597
  callback?:
2591
- | BodyResponseCallback<Schema$Account>
2592
- | BodyResponseCallback<Readable>
2598
+ BodyResponseCallback<Schema$Account> | BodyResponseCallback<Readable>
2593
2599
  ):
2594
2600
  | void
2595
2601
  | Promise<GaxiosResponseWithHTTP2<Schema$Account>>
@@ -2724,8 +2730,7 @@ export namespace merchantapi_accounts_v1beta {
2724
2730
  | BodyResponseCallback<Schema$Empty>
2725
2731
  | BodyResponseCallback<Readable>,
2726
2732
  callback?:
2727
- | BodyResponseCallback<Schema$Empty>
2728
- | BodyResponseCallback<Readable>
2733
+ BodyResponseCallback<Schema$Empty> | BodyResponseCallback<Readable>
2729
2734
  ):
2730
2735
  | void
2731
2736
  | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
@@ -2866,8 +2871,7 @@ export namespace merchantapi_accounts_v1beta {
2866
2871
  | BodyResponseCallback<Schema$Account>
2867
2872
  | BodyResponseCallback<Readable>,
2868
2873
  callback?:
2869
- | BodyResponseCallback<Schema$Account>
2870
- | BodyResponseCallback<Readable>
2874
+ BodyResponseCallback<Schema$Account> | BodyResponseCallback<Readable>
2871
2875
  ):
2872
2876
  | void
2873
2877
  | Promise<GaxiosResponseWithHTTP2<Schema$Account>>
@@ -2989,8 +2993,7 @@ export namespace merchantapi_accounts_v1beta {
2989
2993
  list(
2990
2994
  params: Params$Resource$Accounts$List,
2991
2995
  options:
2992
- | MethodOptions
2993
- | BodyResponseCallback<Schema$ListAccountsResponse>,
2996
+ MethodOptions | BodyResponseCallback<Schema$ListAccountsResponse>,
2994
2997
  callback: BodyResponseCallback<Schema$ListAccountsResponse>
2995
2998
  ): void;
2996
2999
  list(
@@ -3132,8 +3135,7 @@ export namespace merchantapi_accounts_v1beta {
3132
3135
  listSubaccounts(
3133
3136
  params: Params$Resource$Accounts$Listsubaccounts,
3134
3137
  options:
3135
- | MethodOptions
3136
- | BodyResponseCallback<Schema$ListSubAccountsResponse>,
3138
+ MethodOptions | BodyResponseCallback<Schema$ListSubAccountsResponse>,
3137
3139
  callback: BodyResponseCallback<Schema$ListSubAccountsResponse>
3138
3140
  ): void;
3139
3141
  listSubaccounts(
@@ -3312,8 +3314,7 @@ export namespace merchantapi_accounts_v1beta {
3312
3314
  | BodyResponseCallback<Schema$Account>
3313
3315
  | BodyResponseCallback<Readable>,
3314
3316
  callback?:
3315
- | BodyResponseCallback<Schema$Account>
3316
- | BodyResponseCallback<Readable>
3317
+ BodyResponseCallback<Schema$Account> | BodyResponseCallback<Readable>
3317
3318
  ):
3318
3319
  | void
3319
3320
  | Promise<GaxiosResponseWithHTTP2<Schema$Account>>
@@ -3844,8 +3845,7 @@ export namespace merchantapi_accounts_v1beta {
3844
3845
  getAutomaticImprovements(
3845
3846
  params: Params$Resource$Accounts$Automaticimprovements$Getautomaticimprovements,
3846
3847
  options:
3847
- | MethodOptions
3848
- | BodyResponseCallback<Schema$AutomaticImprovements>,
3848
+ MethodOptions | BodyResponseCallback<Schema$AutomaticImprovements>,
3849
3849
  callback: BodyResponseCallback<Schema$AutomaticImprovements>
3850
3850
  ): void;
3851
3851
  getAutomaticImprovements(
@@ -4005,8 +4005,7 @@ export namespace merchantapi_accounts_v1beta {
4005
4005
  updateAutomaticImprovements(
4006
4006
  params: Params$Resource$Accounts$Automaticimprovements$Updateautomaticimprovements,
4007
4007
  options:
4008
- | MethodOptions
4009
- | BodyResponseCallback<Schema$AutomaticImprovements>,
4008
+ MethodOptions | BodyResponseCallback<Schema$AutomaticImprovements>,
4010
4009
  callback: BodyResponseCallback<Schema$AutomaticImprovements>
4011
4010
  ): void;
4012
4011
  updateAutomaticImprovements(
@@ -4993,8 +4992,7 @@ export namespace merchantapi_accounts_v1beta {
4993
4992
  getDeveloperRegistration(
4994
4993
  params: Params$Resource$Accounts$Developerregistration$Getdeveloperregistration,
4995
4994
  options:
4996
- | MethodOptions
4997
- | BodyResponseCallback<Schema$DeveloperRegistration>,
4995
+ MethodOptions | BodyResponseCallback<Schema$DeveloperRegistration>,
4998
4996
  callback: BodyResponseCallback<Schema$DeveloperRegistration>
4999
4997
  ): void;
5000
4998
  getDeveloperRegistration(
@@ -5066,7 +5064,7 @@ export namespace merchantapi_accounts_v1beta {
5066
5064
  }
5067
5065
 
5068
5066
  /**
5069
- * Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an "API developer" and add the "developer_email" as a contact with "API notifications" email preference on.
5067
+ * Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an "API developer" and add the "developer_email" as a contact with "API notifications" email preference on. Restrictions: * The caller account must be authenticated and must not impersonate another account at registration time. Registering for subaccounts is not supported if the caller account is authenticated with the parent or the managing advanced account. * The caller account must have a [verified website](https://support.google.com/merchants/answer/11586344) in Merchant Center. * [Test accounts](https://developers.google.com/merchant/api/guides/accounts/test-accounts) are not eligible for registration.
5070
5068
  * @example
5071
5069
  * ```js
5072
5070
  * // Before running the sample:
@@ -5096,7 +5094,7 @@ export namespace merchantapi_accounts_v1beta {
5096
5094
  *
5097
5095
  * // Do the magic
5098
5096
  * const res = await merchantapi.accounts.developerRegistration.registerGcp({
5099
- * // Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account\}/developerRegistration` The {account\} used must be the same account where user calling this API method is directly added to.
5097
+ * // Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account\}/developerRegistration` The {account\} used must be the same account where user calling this API method is directly added to. Note: The account used must be a production account (can't be a [test account](https://developers.google.com/merchant/api/guides/accounts/test-accounts) ) and must have a [verified website](https://support.google.com/merchants/answer/11586344) in Merchant Center.
5100
5098
  * name: 'accounts/my-account/developerRegistration',
5101
5099
  *
5102
5100
  * // Request body metadata
@@ -5144,8 +5142,7 @@ export namespace merchantapi_accounts_v1beta {
5144
5142
  registerGcp(
5145
5143
  params: Params$Resource$Accounts$Developerregistration$Registergcp,
5146
5144
  options:
5147
- | MethodOptions
5148
- | BodyResponseCallback<Schema$DeveloperRegistration>,
5145
+ MethodOptions | BodyResponseCallback<Schema$DeveloperRegistration>,
5149
5146
  callback: BodyResponseCallback<Schema$DeveloperRegistration>
5150
5147
  ): void;
5151
5148
  registerGcp(
@@ -5308,8 +5305,7 @@ export namespace merchantapi_accounts_v1beta {
5308
5305
  | BodyResponseCallback<Schema$Empty>
5309
5306
  | BodyResponseCallback<Readable>,
5310
5307
  callback?:
5311
- | BodyResponseCallback<Schema$Empty>
5312
- | BodyResponseCallback<Readable>
5308
+ BodyResponseCallback<Schema$Empty> | BodyResponseCallback<Readable>
5313
5309
  ):
5314
5310
  | void
5315
5311
  | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
@@ -5368,7 +5364,7 @@ export namespace merchantapi_accounts_v1beta {
5368
5364
  }
5369
5365
  export interface Params$Resource$Accounts$Developerregistration$Registergcp extends StandardParameters {
5370
5366
  /**
5371
- * Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account\}/developerRegistration` The {account\} used must be the same account where user calling this API method is directly added to.
5367
+ * Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account\}/developerRegistration` The {account\} used must be the same account where user calling this API method is directly added to. Note: The account used must be a production account (can't be a [test account](https://developers.google.com/merchant/api/guides/accounts/test-accounts) ) and must have a [verified website](https://support.google.com/merchants/answer/11586344) in Merchant Center.
5372
5368
  */
5373
5369
  name?: string;
5374
5370
 
@@ -5796,8 +5792,7 @@ export namespace merchantapi_accounts_v1beta {
5796
5792
  linkGbpAccount(
5797
5793
  params: Params$Resource$Accounts$Gbpaccounts$Linkgbpaccount,
5798
5794
  options:
5799
- | MethodOptions
5800
- | BodyResponseCallback<Schema$LinkGbpAccountResponse>,
5795
+ MethodOptions | BodyResponseCallback<Schema$LinkGbpAccountResponse>,
5801
5796
  callback: BodyResponseCallback<Schema$LinkGbpAccountResponse>
5802
5797
  ): void;
5803
5798
  linkGbpAccount(
@@ -5941,8 +5936,7 @@ export namespace merchantapi_accounts_v1beta {
5941
5936
  list(
5942
5937
  params: Params$Resource$Accounts$Gbpaccounts$List,
5943
5938
  options:
5944
- | MethodOptions
5945
- | BodyResponseCallback<Schema$ListGbpAccountsResponse>,
5939
+ MethodOptions | BodyResponseCallback<Schema$ListGbpAccountsResponse>,
5946
5940
  callback: BodyResponseCallback<Schema$ListGbpAccountsResponse>
5947
5941
  ): void;
5948
5942
  list(
@@ -6141,8 +6135,7 @@ export namespace merchantapi_accounts_v1beta {
6141
6135
  | BodyResponseCallback<Schema$Homepage>
6142
6136
  | BodyResponseCallback<Readable>,
6143
6137
  callback?:
6144
- | BodyResponseCallback<Schema$Homepage>
6145
- | BodyResponseCallback<Readable>
6138
+ BodyResponseCallback<Schema$Homepage> | BodyResponseCallback<Readable>
6146
6139
  ):
6147
6140
  | void
6148
6141
  | Promise<GaxiosResponseWithHTTP2<Schema$Homepage>>
@@ -6280,8 +6273,7 @@ export namespace merchantapi_accounts_v1beta {
6280
6273
  | BodyResponseCallback<Schema$Homepage>
6281
6274
  | BodyResponseCallback<Readable>,
6282
6275
  callback?:
6283
- | BodyResponseCallback<Schema$Homepage>
6284
- | BodyResponseCallback<Readable>
6276
+ BodyResponseCallback<Schema$Homepage> | BodyResponseCallback<Readable>
6285
6277
  ):
6286
6278
  | void
6287
6279
  | Promise<GaxiosResponseWithHTTP2<Schema$Homepage>>
@@ -6425,8 +6417,7 @@ export namespace merchantapi_accounts_v1beta {
6425
6417
  | BodyResponseCallback<Schema$Homepage>
6426
6418
  | BodyResponseCallback<Readable>,
6427
6419
  callback?:
6428
- | BodyResponseCallback<Schema$Homepage>
6429
- | BodyResponseCallback<Readable>
6420
+ BodyResponseCallback<Schema$Homepage> | BodyResponseCallback<Readable>
6430
6421
  ):
6431
6422
  | void
6432
6423
  | Promise<GaxiosResponseWithHTTP2<Schema$Homepage>>
@@ -6576,8 +6567,7 @@ export namespace merchantapi_accounts_v1beta {
6576
6567
  | BodyResponseCallback<Schema$Homepage>
6577
6568
  | BodyResponseCallback<Readable>,
6578
6569
  callback?:
6579
- | BodyResponseCallback<Schema$Homepage>
6580
- | BodyResponseCallback<Readable>
6570
+ BodyResponseCallback<Schema$Homepage> | BodyResponseCallback<Readable>
6581
6571
  ):
6582
6572
  | void
6583
6573
  | Promise<GaxiosResponseWithHTTP2<Schema$Homepage>>
@@ -6755,8 +6745,7 @@ export namespace merchantapi_accounts_v1beta {
6755
6745
  list(
6756
6746
  params: Params$Resource$Accounts$Issues$List,
6757
6747
  options:
6758
- | MethodOptions
6759
- | BodyResponseCallback<Schema$ListAccountIssuesResponse>,
6748
+ MethodOptions | BodyResponseCallback<Schema$ListAccountIssuesResponse>,
6760
6749
  callback: BodyResponseCallback<Schema$ListAccountIssuesResponse>
6761
6750
  ): void;
6762
6751
  list(
@@ -7770,8 +7759,7 @@ export namespace merchantapi_accounts_v1beta {
7770
7759
  find(
7771
7760
  params: Params$Resource$Accounts$Omnichannelsettings$Lfpproviders$Find,
7772
7761
  options:
7773
- | MethodOptions
7774
- | BodyResponseCallback<Schema$FindLfpProvidersResponse>,
7762
+ MethodOptions | BodyResponseCallback<Schema$FindLfpProvidersResponse>,
7775
7763
  callback: BodyResponseCallback<Schema$FindLfpProvidersResponse>
7776
7764
  ): void;
7777
7765
  find(
@@ -7920,8 +7908,7 @@ export namespace merchantapi_accounts_v1beta {
7920
7908
  linkLfpProvider(
7921
7909
  params: Params$Resource$Accounts$Omnichannelsettings$Lfpproviders$Linklfpprovider,
7922
7910
  options:
7923
- | MethodOptions
7924
- | BodyResponseCallback<Schema$LinkLfpProviderResponse>,
7911
+ MethodOptions | BodyResponseCallback<Schema$LinkLfpProviderResponse>,
7925
7912
  callback: BodyResponseCallback<Schema$LinkLfpProviderResponse>
7926
7913
  ): void;
7927
7914
  linkLfpProvider(
@@ -8283,8 +8270,7 @@ export namespace merchantapi_accounts_v1beta {
8283
8270
  | BodyResponseCallback<Schema$Empty>
8284
8271
  | BodyResponseCallback<Readable>,
8285
8272
  callback?:
8286
- | BodyResponseCallback<Schema$Empty>
8287
- | BodyResponseCallback<Readable>
8273
+ BodyResponseCallback<Schema$Empty> | BodyResponseCallback<Readable>
8288
8274
  ):
8289
8275
  | void
8290
8276
  | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
@@ -8971,8 +8957,7 @@ export namespace merchantapi_accounts_v1beta {
8971
8957
  | BodyResponseCallback<Schema$Program>
8972
8958
  | BodyResponseCallback<Readable>,
8973
8959
  callback?:
8974
- | BodyResponseCallback<Schema$Program>
8975
- | BodyResponseCallback<Readable>
8960
+ BodyResponseCallback<Schema$Program> | BodyResponseCallback<Readable>
8976
8961
  ):
8977
8962
  | void
8978
8963
  | Promise<GaxiosResponseWithHTTP2<Schema$Program>>
@@ -9118,8 +9103,7 @@ export namespace merchantapi_accounts_v1beta {
9118
9103
  | BodyResponseCallback<Schema$Program>
9119
9104
  | BodyResponseCallback<Readable>,
9120
9105
  callback?:
9121
- | BodyResponseCallback<Schema$Program>
9122
- | BodyResponseCallback<Readable>
9106
+ BodyResponseCallback<Schema$Program> | BodyResponseCallback<Readable>
9123
9107
  ):
9124
9108
  | void
9125
9109
  | Promise<GaxiosResponseWithHTTP2<Schema$Program>>
@@ -9259,8 +9243,7 @@ export namespace merchantapi_accounts_v1beta {
9259
9243
  | BodyResponseCallback<Schema$Program>
9260
9244
  | BodyResponseCallback<Readable>,
9261
9245
  callback?:
9262
- | BodyResponseCallback<Schema$Program>
9263
- | BodyResponseCallback<Readable>
9246
+ BodyResponseCallback<Schema$Program> | BodyResponseCallback<Readable>
9264
9247
  ):
9265
9248
  | void
9266
9249
  | Promise<GaxiosResponseWithHTTP2<Schema$Program>>
@@ -9383,8 +9366,7 @@ export namespace merchantapi_accounts_v1beta {
9383
9366
  list(
9384
9367
  params: Params$Resource$Accounts$Programs$List,
9385
9368
  options:
9386
- | MethodOptions
9387
- | BodyResponseCallback<Schema$ListProgramsResponse>,
9369
+ MethodOptions | BodyResponseCallback<Schema$ListProgramsResponse>,
9388
9370
  callback: BodyResponseCallback<Schema$ListProgramsResponse>
9389
9371
  ): void;
9390
9372
  list(
@@ -9750,8 +9732,7 @@ export namespace merchantapi_accounts_v1beta {
9750
9732
  | BodyResponseCallback<Schema$Empty>
9751
9733
  | BodyResponseCallback<Readable>,
9752
9734
  callback?:
9753
- | BodyResponseCallback<Schema$Empty>
9754
- | BodyResponseCallback<Readable>
9735
+ BodyResponseCallback<Schema$Empty> | BodyResponseCallback<Readable>
9755
9736
  ):
9756
9737
  | void
9757
9738
  | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
@@ -10271,8 +10252,7 @@ export namespace merchantapi_accounts_v1beta {
10271
10252
  | BodyResponseCallback<Schema$Region>
10272
10253
  | BodyResponseCallback<Readable>,
10273
10254
  callback?:
10274
- | BodyResponseCallback<Schema$Region>
10275
- | BodyResponseCallback<Readable>
10255
+ BodyResponseCallback<Schema$Region> | BodyResponseCallback<Readable>
10276
10256
  ):
10277
10257
  | void
10278
10258
  | Promise<GaxiosResponseWithHTTP2<Schema$Region>>
@@ -10406,8 +10386,7 @@ export namespace merchantapi_accounts_v1beta {
10406
10386
  | BodyResponseCallback<Schema$Empty>
10407
10387
  | BodyResponseCallback<Readable>,
10408
10388
  callback?:
10409
- | BodyResponseCallback<Schema$Empty>
10410
- | BodyResponseCallback<Readable>
10389
+ BodyResponseCallback<Schema$Empty> | BodyResponseCallback<Readable>
10411
10390
  ):
10412
10391
  | void
10413
10392
  | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
@@ -10549,8 +10528,7 @@ export namespace merchantapi_accounts_v1beta {
10549
10528
  | BodyResponseCallback<Schema$Region>
10550
10529
  | BodyResponseCallback<Readable>,
10551
10530
  callback?:
10552
- | BodyResponseCallback<Schema$Region>
10553
- | BodyResponseCallback<Readable>
10531
+ BodyResponseCallback<Schema$Region> | BodyResponseCallback<Readable>
10554
10532
  ):
10555
10533
  | void
10556
10534
  | Promise<GaxiosResponseWithHTTP2<Schema$Region>>
@@ -10850,8 +10828,7 @@ export namespace merchantapi_accounts_v1beta {
10850
10828
  | BodyResponseCallback<Schema$Region>
10851
10829
  | BodyResponseCallback<Readable>,
10852
10830
  callback?:
10853
- | BodyResponseCallback<Schema$Region>
10854
- | BodyResponseCallback<Readable>
10831
+ BodyResponseCallback<Schema$Region> | BodyResponseCallback<Readable>
10855
10832
  ):
10856
10833
  | void
10857
10834
  | Promise<GaxiosResponseWithHTTP2<Schema$Region>>
@@ -11506,7 +11483,8 @@ export namespace merchantapi_accounts_v1beta {
11506
11483
  * // "name": "my_name",
11507
11484
  * // "productsManagement": {},
11508
11485
  * // "provider": "my_provider",
11509
- * // "providerDisplayName": "my_providerDisplayName"
11486
+ * // "providerDisplayName": "my_providerDisplayName",
11487
+ * // "ucpCheckoutManagement": {}
11510
11488
  * // }
11511
11489
  * }
11512
11490
  *
@@ -11654,7 +11632,8 @@ export namespace merchantapi_accounts_v1beta {
11654
11632
  * // "name": "my_name",
11655
11633
  * // "productsManagement": {},
11656
11634
  * // "provider": "my_provider",
11657
- * // "providerDisplayName": "my_providerDisplayName"
11635
+ * // "providerDisplayName": "my_providerDisplayName",
11636
+ * // "ucpCheckoutManagement": {}
11658
11637
  * // }
11659
11638
  * }
11660
11639
  *
@@ -11957,7 +11936,8 @@ export namespace merchantapi_accounts_v1beta {
11957
11936
  * // "name": "my_name",
11958
11937
  * // "productsManagement": {},
11959
11938
  * // "provider": "my_provider",
11960
- * // "providerDisplayName": "my_providerDisplayName"
11939
+ * // "providerDisplayName": "my_providerDisplayName",
11940
+ * // "ucpCheckoutManagement": {}
11961
11941
  * // }
11962
11942
  * }
11963
11943
  *
@@ -12147,8 +12127,7 @@ export namespace merchantapi_accounts_v1beta {
12147
12127
  | BodyResponseCallback<Schema$Empty>
12148
12128
  | BodyResponseCallback<Readable>,
12149
12129
  callback?:
12150
- | BodyResponseCallback<Schema$Empty>
12151
- | BodyResponseCallback<Readable>
12130
+ BodyResponseCallback<Schema$Empty> | BodyResponseCallback<Readable>
12152
12131
  ):
12153
12132
  | void
12154
12133
  | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
@@ -12998,8 +12977,7 @@ export namespace merchantapi_accounts_v1beta {
12998
12977
  | BodyResponseCallback<Schema$User>
12999
12978
  | BodyResponseCallback<Readable>,
13000
12979
  callback?:
13001
- | BodyResponseCallback<Schema$User>
13002
- | BodyResponseCallback<Readable>
12980
+ BodyResponseCallback<Schema$User> | BodyResponseCallback<Readable>
13003
12981
  ):
13004
12982
  | void
13005
12983
  | Promise<GaxiosResponseWithHTTP2<Schema$User>>
@@ -13133,8 +13111,7 @@ export namespace merchantapi_accounts_v1beta {
13133
13111
  | BodyResponseCallback<Schema$Empty>
13134
13112
  | BodyResponseCallback<Readable>,
13135
13113
  callback?:
13136
- | BodyResponseCallback<Schema$Empty>
13137
- | BodyResponseCallback<Readable>
13114
+ BodyResponseCallback<Schema$Empty> | BodyResponseCallback<Readable>
13138
13115
  ):
13139
13116
  | void
13140
13117
  | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
@@ -13272,8 +13249,7 @@ export namespace merchantapi_accounts_v1beta {
13272
13249
  | BodyResponseCallback<Schema$User>
13273
13250
  | BodyResponseCallback<Readable>,
13274
13251
  callback?:
13275
- | BodyResponseCallback<Schema$User>
13276
- | BodyResponseCallback<Readable>
13252
+ BodyResponseCallback<Schema$User> | BodyResponseCallback<Readable>
13277
13253
  ):
13278
13254
  | void
13279
13255
  | Promise<GaxiosResponseWithHTTP2<Schema$User>>
@@ -13565,8 +13541,7 @@ export namespace merchantapi_accounts_v1beta {
13565
13541
  | BodyResponseCallback<Schema$User>
13566
13542
  | BodyResponseCallback<Readable>,
13567
13543
  callback?:
13568
- | BodyResponseCallback<Schema$User>
13569
- | BodyResponseCallback<Readable>
13544
+ BodyResponseCallback<Schema$User> | BodyResponseCallback<Readable>
13570
13545
  ):
13571
13546
  | void
13572
13547
  | Promise<GaxiosResponseWithHTTP2<Schema$User>>
@@ -13774,8 +13749,7 @@ export namespace merchantapi_accounts_v1beta {
13774
13749
  | BodyResponseCallback<Schema$User>
13775
13750
  | BodyResponseCallback<Readable>,
13776
13751
  callback?:
13777
- | BodyResponseCallback<Schema$User>
13778
- | BodyResponseCallback<Readable>
13752
+ BodyResponseCallback<Schema$User> | BodyResponseCallback<Readable>
13779
13753
  ):
13780
13754
  | void
13781
13755
  | Promise<GaxiosResponseWithHTTP2<Schema$User>>
@@ -255,6 +255,10 @@ export declare namespace merchantapi_accounts_v1 {
255
255
  * Output only. The human-readable display name of the provider account.
256
256
  */
257
257
  providerDisplayName?: string | null;
258
+ /**
259
+ * Service type for UCP Checkout Management. The provider is managing the UCP Checkout capability integration for the merchant.
260
+ */
261
+ ucpCheckoutManagement?: Schema$UcpCheckoutManagement;
258
262
  }
259
263
  /**
260
264
  * Additional instructions to add account services during creation of the account.
@@ -2132,6 +2136,11 @@ export declare namespace merchantapi_accounts_v1 {
2132
2136
  */
2133
2137
  minTransitDays?: number | null;
2134
2138
  }
2139
+ /**
2140
+ * `UcpCheckoutManagement` payload.
2141
+ */
2142
+ export interface Schema$UcpCheckoutManagement {
2143
+ }
2135
2144
  /**
2136
2145
  * Request message for the `UnclaimHomepage` method.
2137
2146
  */
@@ -3676,7 +3685,7 @@ export declare namespace merchantapi_accounts_v1 {
3676
3685
  getDeveloperRegistration(params: Params$Resource$Accounts$Developerregistration$Getdeveloperregistration, callback: BodyResponseCallback<Schema$DeveloperRegistration>): void;
3677
3686
  getDeveloperRegistration(callback: BodyResponseCallback<Schema$DeveloperRegistration>): void;
3678
3687
  /**
3679
- * Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an "API developer" and add the "developer_email" as a contact with "API notifications" email preference on.
3688
+ * Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an "API developer" and add the "developer_email" as a contact with "API notifications" email preference on. Restrictions: * The caller account must be authenticated and must not impersonate another account at registration time. Registering for subaccounts is not supported if the caller account is authenticated with the parent or the managing advanced account. * The caller account must have a [verified website](https://support.google.com/merchants/answer/11586344) in Merchant Center. * [Test accounts](https://developers.google.com/merchant/api/guides/accounts/test-accounts) are not eligible for registration.
3680
3689
  * @example
3681
3690
  * ```js
3682
3691
  * // Before running the sample:
@@ -3706,7 +3715,7 @@ export declare namespace merchantapi_accounts_v1 {
3706
3715
  *
3707
3716
  * // Do the magic
3708
3717
  * const res = await merchantapi.accounts.developerRegistration.registerGcp({
3709
- * // Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account\}/developerRegistration` The {account\} used must be the same account where user calling this API method is directly added to.
3718
+ * // Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account\}/developerRegistration` The {account\} used must be the same account where user calling this API method is directly added to. Note: The account used must be a production account (can't be a [test account](https://developers.google.com/merchant/api/guides/accounts/test-accounts) ) and must have a [verified website](https://support.google.com/merchants/answer/11586344) in Merchant Center.
3710
3719
  * name: 'accounts/my-account/developerRegistration',
3711
3720
  *
3712
3721
  * // Request body metadata
@@ -3819,7 +3828,7 @@ export declare namespace merchantapi_accounts_v1 {
3819
3828
  }
3820
3829
  export interface Params$Resource$Accounts$Developerregistration$Registergcp extends StandardParameters {
3821
3830
  /**
3822
- * Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account\}/developerRegistration` The {account\} used must be the same account where user calling this API method is directly added to.
3831
+ * Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account\}/developerRegistration` The {account\} used must be the same account where user calling this API method is directly added to. Note: The account used must be a production account (can't be a [test account](https://developers.google.com/merchant/api/guides/accounts/test-accounts) ) and must have a [verified website](https://support.google.com/merchants/answer/11586344) in Merchant Center.
3823
3832
  */
3824
3833
  name?: string;
3825
3834
  /**
@@ -7092,7 +7101,8 @@ export declare namespace merchantapi_accounts_v1 {
7092
7101
  * // "name": "my_name",
7093
7102
  * // "productsManagement": {},
7094
7103
  * // "provider": "my_provider",
7095
- * // "providerDisplayName": "my_providerDisplayName"
7104
+ * // "providerDisplayName": "my_providerDisplayName",
7105
+ * // "ucpCheckoutManagement": {}
7096
7106
  * // }
7097
7107
  * }
7098
7108
  *
@@ -7163,7 +7173,8 @@ export declare namespace merchantapi_accounts_v1 {
7163
7173
  * // "name": "my_name",
7164
7174
  * // "productsManagement": {},
7165
7175
  * // "provider": "my_provider",
7166
- * // "providerDisplayName": "my_providerDisplayName"
7176
+ * // "providerDisplayName": "my_providerDisplayName",
7177
+ * // "ucpCheckoutManagement": {}
7167
7178
  * // }
7168
7179
  * }
7169
7180
  *
@@ -7308,7 +7319,8 @@ export declare namespace merchantapi_accounts_v1 {
7308
7319
  * // "name": "my_name",
7309
7320
  * // "productsManagement": {},
7310
7321
  * // "provider": "my_provider",
7311
- * // "providerDisplayName": "my_providerDisplayName"
7322
+ * // "providerDisplayName": "my_providerDisplayName",
7323
+ * // "ucpCheckoutManagement": {}
7312
7324
  * // }
7313
7325
  * }
7314
7326
  *