@googleapis/merchantapi 18.0.0 → 20.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 (69) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/accounts_v1.ts +41 -81
  3. package/accounts_v1beta.ts +38 -75
  4. package/build/accounts_v1.d.ts +1 -1
  5. package/build/accounts_v1.js.map +1 -1
  6. package/build/accounts_v1beta.d.ts +1 -1
  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/index.d.ts +5 -0
  15. package/build/index.js +4 -1
  16. package/build/index.js.map +1 -1
  17. package/build/inventories_v1.d.ts +25 -0
  18. package/build/inventories_v1.js.map +1 -1
  19. package/build/inventories_v1beta.js.map +1 -1
  20. package/build/issueresolution_v1.d.ts +4 -4
  21. package/build/issueresolution_v1.js.map +1 -1
  22. package/build/issueresolution_v1beta.d.ts +4 -4
  23. package/build/issueresolution_v1beta.js.map +1 -1
  24. package/build/lfp_v1.js.map +1 -1
  25. package/build/lfp_v1beta.js.map +1 -1
  26. package/build/loyaltycustomers_v1.d.ts +304 -0
  27. package/build/loyaltycustomers_v1.js +96 -0
  28. package/build/loyaltycustomers_v1.js.map +1 -0
  29. package/build/notifications_v1.d.ts +4 -4
  30. package/build/notifications_v1.js.map +1 -1
  31. package/build/notifications_v1beta.d.ts +4 -4
  32. package/build/notifications_v1beta.js.map +1 -1
  33. package/build/products_v1.d.ts +203 -1
  34. package/build/products_v1.js.map +1 -1
  35. package/build/products_v1beta.js.map +1 -1
  36. package/build/promotions_v1.js.map +1 -1
  37. package/build/promotions_v1beta.js.map +1 -1
  38. package/build/quota_v1.d.ts +1 -1
  39. package/build/quota_v1.js.map +1 -1
  40. package/build/quota_v1beta.d.ts +1 -1
  41. package/build/quota_v1beta.js.map +1 -1
  42. package/build/reports_v1.d.ts +6 -6
  43. package/build/reports_v1beta.d.ts +6 -6
  44. package/build/reviews_v1beta.js.map +1 -1
  45. package/build/tsconfig.tsbuildinfo +1 -1
  46. package/conversions_v1.ts +1 -2
  47. package/conversions_v1beta.ts +1 -2
  48. package/datasources_v1.ts +10 -17
  49. package/datasources_v1beta.ts +10 -17
  50. package/index.ts +12 -0
  51. package/inventories_v1.ts +27 -4
  52. package/inventories_v1beta.ts +2 -4
  53. package/issueresolution_v1.ts +5 -6
  54. package/issueresolution_v1beta.ts +5 -6
  55. package/lfp_v1.ts +5 -10
  56. package/lfp_v1beta.ts +5 -10
  57. package/loyaltycustomers_v1.ts +454 -0
  58. package/notifications_v1.ts +8 -12
  59. package/notifications_v1beta.ts +8 -12
  60. package/package.json +1 -1
  61. package/products_v1.ts +206 -7
  62. package/products_v1beta.ts +3 -6
  63. package/promotions_v1.ts +3 -6
  64. package/promotions_v1beta.ts +3 -6
  65. package/quota_v1.ts +3 -5
  66. package/quota_v1beta.ts +2 -3
  67. package/reports_v1.ts +6 -6
  68. package/reports_v1beta.ts +6 -6
  69. package/reviews_v1beta.ts +3 -6
package/products_v1.ts CHANGED
@@ -286,6 +286,31 @@ export namespace merchantapi_products_v1 {
286
286
  */
287
287
  reportingContext?: string | null;
288
288
  }
289
+ /**
290
+ * The display address of the property.
291
+ */
292
+ export interface Schema$DisplayAddress {
293
+ /**
294
+ * The city such as Seattle, New York, etc.
295
+ */
296
+ city?: string | null;
297
+ /**
298
+ * The postal code, such as 94043.
299
+ */
300
+ postalCode?: string | null;
301
+ /**
302
+ * The region(state), such as WA, OH, etc.
303
+ */
304
+ region?: string | null;
305
+ /**
306
+ * The street name.
307
+ */
308
+ streetName?: string | null;
309
+ /**
310
+ * The street number.
311
+ */
312
+ streetNumber?: string | null;
313
+ }
289
314
  /**
290
315
  * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
291
316
  */
@@ -404,6 +429,23 @@ export namespace merchantapi_products_v1 {
404
429
  */
405
430
  severity?: string | null;
406
431
  }
432
+ /**
433
+ * The lease term of the property.
434
+ */
435
+ export interface Schema$LeaseTerm {
436
+ /**
437
+ * The duration unit of the lease term.
438
+ */
439
+ durationUnit?: string | null;
440
+ /**
441
+ * The duration value of the lease term.
442
+ */
443
+ durationValue?: string | null;
444
+ /**
445
+ * The type of lease term.
446
+ */
447
+ type?: string | null;
448
+ }
407
449
  /**
408
450
  * Response message for the ListProducts method.
409
451
  */
@@ -480,6 +522,19 @@ export namespace merchantapi_products_v1 {
480
522
  */
481
523
  value?: string | null;
482
524
  }
525
+ /**
526
+ * The pet policy of the property.
527
+ */
528
+ export interface Schema$PetPolicy {
529
+ /**
530
+ * Whether pets are allowed.
531
+ */
532
+ petsAllowed?: boolean | null;
533
+ /**
534
+ * The pet types allowed.
535
+ */
536
+ petTypes?: string[] | null;
537
+ }
483
538
  /**
484
539
  * The pickup cost of the item.
485
540
  */
@@ -591,6 +646,10 @@ export namespace merchantapi_products_v1 {
591
646
  * Target [age group](https://support.google.com/merchants/answer/6324463) of the item.
592
647
  */
593
648
  ageGroup?: string | null;
649
+ /**
650
+ * The amenity features for the property.
651
+ */
652
+ amenityFeature?: string[] | null;
594
653
  /**
595
654
  * A safeguard in the [automated discounts] (https://support.google.com/merchants/answer/10295759) and "Dynamic Promotions" (https://support.google.com/merchants/answer/13949249) projects, ensuring that discounts on business offers do not fall below this value, thereby preserving the offer's value and profitability.
596
655
  */
@@ -679,6 +738,10 @@ export namespace merchantapi_products_v1 {
679
738
  * The date time when an offer becomes visible in search results across Google’s YouTube surfaces, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format. See [Disclosure date](https://support.google.com/merchants/answer/13034208) for more information.
680
739
  */
681
740
  disclosureDate?: string | null;
741
+ /**
742
+ * The display address of the property.
743
+ */
744
+ displayAddress?: Schema$DisplayAddress;
682
745
  /**
683
746
  * An identifier for an item for dynamic remarketing campaigns.
684
747
  */
@@ -791,6 +854,14 @@ export namespace merchantapi_products_v1 {
791
854
  * Optional. Represents the [title of the product group](https://support.google.com/merchants/answer/17085146) to which this variant product belongs. This can be used along with the [item group id](https://support.google.com/merchants/answer/6324507) attribute. It lets you perform better grouping of variant products, and helps identifying common product characteristics more efficiently.
792
855
  */
793
856
  itemGroupTitle?: string | null;
857
+ /**
858
+ * The latitude of the property. The value must be between -90 (inclusive) and 90 (inclusive), up to 6 decimal places.
859
+ */
860
+ latitude?: number | null;
861
+ /**
862
+ * The lease term of the property.
863
+ */
864
+ leaseTerm?: Schema$LeaseTerm;
794
865
  /**
795
866
  * Additional URLs of lifestyle images of the item, used to explicitly identify images that showcase your item in a real-world context. See the [Help Center article](https://support.google.com/merchants/answer/9103186) for more information.
796
867
  */
@@ -803,6 +874,10 @@ export namespace merchantapi_products_v1 {
803
874
  * [Link template](https://support.google.com/merchants/answer/13871172) for business hosted local storefront.
804
875
  */
805
876
  linkTemplate?: string | null;
877
+ /**
878
+ * The longitude of the property. The value must be between -180 (inclusive) and 180 (inclusive), up to 6 decimal places.
879
+ */
880
+ longitude?: number | null;
806
881
  /**
807
882
  * Loyalty points that users receive after purchasing the item. Japan only.
808
883
  */
@@ -863,6 +938,22 @@ export namespace merchantapi_products_v1 {
863
938
  * The number of identical products in a business-defined multipack.
864
939
  */
865
940
  multipack?: string | null;
941
+ /**
942
+ * The neighborhood (locality) of the property, such as `Wallingford`, `Greenwood`, etc.
943
+ */
944
+ neighborhood?: string | null;
945
+ /**
946
+ * The number of bathrooms in the property. The value must be greater than 0 and a multiple of 0.5.
947
+ */
948
+ numberOfBathrooms?: number | null;
949
+ /**
950
+ * The number of bedrooms in the property. The value must be greater than or equal to 0 and a multiple of 1.0.
951
+ */
952
+ numberOfBedrooms?: number | null;
953
+ /**
954
+ * The number of units available for a specific floor plan of the property. The value must be greater than 0.
955
+ */
956
+ numberOfUnits?: string | null;
866
957
  /**
867
958
  * The item's [pattern](https://support.google.com/merchants/answer/6324483). For example, polka dots.
868
959
  */
@@ -871,6 +962,10 @@ export namespace merchantapi_products_v1 {
871
962
  * Publication of this item will be temporarily [paused](https://support.google.com/merchants/answer/11909930).
872
963
  */
873
964
  pause?: string | null;
965
+ /**
966
+ * The pet policy for the property.
967
+ */
968
+ petPolicy?: Schema$PetPolicy;
874
969
  /**
875
970
  * Optional. The [pickup cost](https://support.google.com/merchants/answer/16988704) for an item when a customer buys it online and picks it up at a store.
876
971
  */
@@ -895,6 +990,10 @@ export namespace merchantapi_products_v1 {
895
990
  * Technical specification or additional product details.
896
991
  */
897
992
  productDetails?: Schema$ProductDetail[];
993
+ /**
994
+ * The product fee for the property.
995
+ */
996
+ productFee?: Schema$ProductFee[];
898
997
  /**
899
998
  * The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
900
999
  */
@@ -924,7 +1023,15 @@ export namespace merchantapi_products_v1 {
924
1023
  */
925
1024
  promotionIds?: string[] | null;
926
1025
  /**
927
- * Optional. Contains user-, merchant-, and manufacturer-authored [questions and answers](https://support.google.com/merchants/answer/17085211) about the product. Max 30 question and answer pairs. Max 5000 characters total. Each question can have max 1000 characters. Each answer can have max 1000 characters.
1026
+ * The name of the property.
1027
+ */
1028
+ propertyName?: string | null;
1029
+ /**
1030
+ * The type of property.
1031
+ */
1032
+ propertyType?: string | null;
1033
+ /**
1034
+ * Optional. Contains user-, merchant-, and manufacturer-authored [questions and answers](https://support.google.com/merchants/answer/17085211) about the product. Max 30 question and answer pairs. Max 10000 characters total. Each question can have max 1000 characters. Each answer can have max 1000 characters.
928
1035
  */
929
1036
  questionsAndAnswers?: Schema$QuestionAndAnswer[];
930
1037
  /**
@@ -935,6 +1042,10 @@ export namespace merchantapi_products_v1 {
935
1042
  * The return label of the product, used to group products in account-level return policies. Max. 100 characters. For more information, see [Return policy label](https://support.google.com/merchants/answer/9445425).
936
1043
  */
937
1044
  returnPolicyLabel?: string | null;
1045
+ /**
1046
+ * Optional. [Return rules](https://support.google.com/merchants/answer/17081382) for the product.
1047
+ */
1048
+ returns?: Schema$Returns[];
938
1049
  /**
939
1050
  * Advertised sale price of the item.
940
1051
  */
@@ -983,6 +1094,10 @@ export namespace merchantapi_products_v1 {
983
1094
  * List of country codes [(ISO 3166-1 alpha-2)](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) to exclude the offer from Shopping Ads destination. Countries from this list are removed from countries configured in data source settings.
984
1095
  */
985
1096
  shoppingAdsExcludedCountries?: string[] | null;
1097
+ /**
1098
+ * The short title of the item.
1099
+ */
1100
+ shortTitle?: string | null;
986
1101
  /**
987
1102
  * Size of the item. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same `itemGroupId` value, see [Size](https://support.google.com/merchants/answer/6324492).
988
1103
  */
@@ -995,6 +1110,10 @@ export namespace merchantapi_products_v1 {
995
1110
  * The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided, see [Size type](https://support.google.com/merchants/answer/6324497).
996
1111
  */
997
1112
  sizeTypes?: string[] | null;
1113
+ /**
1114
+ * The specialty housing type for the property.
1115
+ */
1116
+ specialtyHousingType?: string | null;
998
1117
  /**
999
1118
  * Structured description, for algorithmically (AI)-generated descriptions.
1000
1119
  */
@@ -1023,6 +1142,10 @@ export namespace merchantapi_products_v1 {
1023
1142
  * The [Trim](https://support.google.com/google-ads/answer/14154176) of the vehicle model, such as `S`, `SV`, `SL` and others.
1024
1143
  */
1025
1144
  trim?: string | null;
1145
+ /**
1146
+ * The unit area of the property, such as `1000 sqft`.
1147
+ */
1148
+ unitArea?: Schema$UnitArea;
1026
1149
  /**
1027
1150
  * The preference of the denominator of the unit price.
1028
1151
  */
@@ -1031,6 +1154,10 @@ export namespace merchantapi_products_v1 {
1031
1154
  * The measure and dimension of an item.
1032
1155
  */
1033
1156
  unitPricingMeasure?: Schema$UnitPricingMeasure;
1157
+ /**
1158
+ * The utilities included for the property.
1159
+ */
1160
+ utilitiesIncluded?: string[] | null;
1034
1161
  /**
1035
1162
  * Optional. Contains the [list of all variant-identifying options](https://support.google.com/merchants/answer/17085214) of this product.
1036
1163
  */
@@ -1148,6 +1275,19 @@ export namespace merchantapi_products_v1 {
1148
1275
  */
1149
1276
  value?: number | null;
1150
1277
  }
1278
+ /**
1279
+ * The product fee attribute containing type and amount.
1280
+ */
1281
+ export interface Schema$ProductFee {
1282
+ /**
1283
+ * The amount of product fee.
1284
+ */
1285
+ amount?: Schema$Price;
1286
+ /**
1287
+ * The type of product fee.
1288
+ */
1289
+ type?: string | null;
1290
+ }
1151
1291
  /**
1152
1292
  * This resource represents input data you submit for a product, not the processed product that you see in Merchant Center, in Shopping ads, or across Google surfaces. Product inputs, rules and supplemental data source data are combined to create the processed Product. For more information, see [Manage products](/merchant/api/guides/products/overview). Required product input attributes to pass data validation checks are primarily defined in the [Products Data Specification](https://support.google.com/merchants/answer/188494). The following attributes are required: feedLabel, contentLanguage and offerId. After inserting, updating, or deleting a product input, it may take several minutes before the processed product can be retrieved. All fields in the product input and its sub-messages match the English name of their corresponding attribute in the [Products Data Specification](https://support.google.com/merchants/answer/188494) with [some exceptions](https://support.google.com/merchants/answer/7052112). The following reference documentation lists the field names in the **camelCase** casing style while the Products Data Specification lists the names in the **snake_case** casing style.
1153
1293
  */
@@ -1373,6 +1513,55 @@ export namespace merchantapi_products_v1 {
1373
1513
  */
1374
1514
  relationshipType?: string | null;
1375
1515
  }
1516
+ /**
1517
+ * The returns of the product.
1518
+ */
1519
+ export interface Schema$Returns {
1520
+ /**
1521
+ * The [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) of the countries to which an item can be returned.
1522
+ */
1523
+ countries?: string[] | null;
1524
+ /**
1525
+ * The condition the item must be in to be accepted.
1526
+ */
1527
+ itemConditions?: string[] | null;
1528
+ /**
1529
+ * The physical methods by which the item can be returned.
1530
+ */
1531
+ methods?: string[] | null;
1532
+ /**
1533
+ * The financial outcomes available for a return.
1534
+ */
1535
+ outcomes?: string[] | null;
1536
+ /**
1537
+ * The URL of the return policy.
1538
+ */
1539
+ policyUrl?: string | null;
1540
+ /**
1541
+ * A flat restocking fee penalty.
1542
+ */
1543
+ restockingFee?: Schema$Price;
1544
+ /**
1545
+ * A percentage restocking fee penalty.
1546
+ */
1547
+ restockingPercentageFee?: number | null;
1548
+ /**
1549
+ * The fixed cost out-of-pocket for a customer to return an item.
1550
+ */
1551
+ shippingFee?: Schema$Price;
1552
+ /**
1553
+ * The type of return shipping fee.
1554
+ */
1555
+ shippingFeeType?: string | null;
1556
+ /**
1557
+ * The duration of the return window in days.
1558
+ */
1559
+ windowDays?: string | null;
1560
+ /**
1561
+ * Special return window behavior.
1562
+ */
1563
+ windowType?: string | null;
1564
+ }
1376
1565
  /**
1377
1566
  * The Shipping of the product.
1378
1567
  */
@@ -1520,6 +1709,19 @@ export namespace merchantapi_products_v1 {
1520
1709
  */
1521
1710
  periodLength?: string | null;
1522
1711
  }
1712
+ /**
1713
+ * The unit area of the property.
1714
+ */
1715
+ export interface Schema$UnitArea {
1716
+ /**
1717
+ * The unit of area.
1718
+ */
1719
+ unit?: string | null;
1720
+ /**
1721
+ * The area value.
1722
+ */
1723
+ value?: number | null;
1724
+ }
1523
1725
  /**
1524
1726
  * The UnitPricingBaseMeasure of the product.
1525
1727
  */
@@ -1678,8 +1880,7 @@ export namespace merchantapi_products_v1 {
1678
1880
  | BodyResponseCallback<Schema$Empty>
1679
1881
  | BodyResponseCallback<Readable>,
1680
1882
  callback?:
1681
- | BodyResponseCallback<Schema$Empty>
1682
- | BodyResponseCallback<Readable>
1883
+ BodyResponseCallback<Schema$Empty> | BodyResponseCallback<Readable>
1683
1884
  ):
1684
1885
  | void
1685
1886
  | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
@@ -2214,8 +2415,7 @@ export namespace merchantapi_products_v1 {
2214
2415
  | BodyResponseCallback<Schema$Product>
2215
2416
  | BodyResponseCallback<Readable>,
2216
2417
  callback?:
2217
- | BodyResponseCallback<Schema$Product>
2218
- | BodyResponseCallback<Readable>
2418
+ BodyResponseCallback<Schema$Product> | BodyResponseCallback<Readable>
2219
2419
  ):
2220
2420
  | void
2221
2421
  | Promise<GaxiosResponseWithHTTP2<Schema$Product>>
@@ -2338,8 +2538,7 @@ export namespace merchantapi_products_v1 {
2338
2538
  list(
2339
2539
  params: Params$Resource$Accounts$Products$List,
2340
2540
  options:
2341
- | MethodOptions
2342
- | BodyResponseCallback<Schema$ListProductsResponse>,
2541
+ MethodOptions | BodyResponseCallback<Schema$ListProductsResponse>,
2343
2542
  callback: BodyResponseCallback<Schema$ListProductsResponse>
2344
2543
  ): void;
2345
2544
  list(
@@ -1338,8 +1338,7 @@ export namespace merchantapi_products_v1beta {
1338
1338
  | BodyResponseCallback<Schema$Empty>
1339
1339
  | BodyResponseCallback<Readable>,
1340
1340
  callback?:
1341
- | BodyResponseCallback<Schema$Empty>
1342
- | BodyResponseCallback<Readable>
1341
+ BodyResponseCallback<Schema$Empty> | BodyResponseCallback<Readable>
1343
1342
  ):
1344
1343
  | void
1345
1344
  | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
@@ -1874,8 +1873,7 @@ export namespace merchantapi_products_v1beta {
1874
1873
  | BodyResponseCallback<Schema$Product>
1875
1874
  | BodyResponseCallback<Readable>,
1876
1875
  callback?:
1877
- | BodyResponseCallback<Schema$Product>
1878
- | BodyResponseCallback<Readable>
1876
+ BodyResponseCallback<Schema$Product> | BodyResponseCallback<Readable>
1879
1877
  ):
1880
1878
  | void
1881
1879
  | Promise<GaxiosResponseWithHTTP2<Schema$Product>>
@@ -1998,8 +1996,7 @@ export namespace merchantapi_products_v1beta {
1998
1996
  list(
1999
1997
  params: Params$Resource$Accounts$Products$List,
2000
1998
  options:
2001
- | MethodOptions
2002
- | BodyResponseCallback<Schema$ListProductsResponse>,
1999
+ MethodOptions | BodyResponseCallback<Schema$ListProductsResponse>,
2003
2000
  callback: BodyResponseCallback<Schema$ListProductsResponse>
2004
2001
  ): void;
2005
2002
  list(
package/promotions_v1.ts CHANGED
@@ -654,8 +654,7 @@ export namespace merchantapi_promotions_v1 {
654
654
  | BodyResponseCallback<Schema$Promotion>
655
655
  | BodyResponseCallback<Readable>,
656
656
  callback?:
657
- | BodyResponseCallback<Schema$Promotion>
658
- | BodyResponseCallback<Readable>
657
+ BodyResponseCallback<Schema$Promotion> | BodyResponseCallback<Readable>
659
658
  ):
660
659
  | void
661
660
  | Promise<GaxiosResponseWithHTTP2<Schema$Promotion>>
@@ -809,8 +808,7 @@ export namespace merchantapi_promotions_v1 {
809
808
  | BodyResponseCallback<Schema$Promotion>
810
809
  | BodyResponseCallback<Readable>,
811
810
  callback?:
812
- | BodyResponseCallback<Schema$Promotion>
813
- | BodyResponseCallback<Readable>
811
+ BodyResponseCallback<Schema$Promotion> | BodyResponseCallback<Readable>
814
812
  ):
815
813
  | void
816
814
  | Promise<GaxiosResponseWithHTTP2<Schema$Promotion>>
@@ -932,8 +930,7 @@ export namespace merchantapi_promotions_v1 {
932
930
  list(
933
931
  params: Params$Resource$Accounts$Promotions$List,
934
932
  options:
935
- | MethodOptions
936
- | BodyResponseCallback<Schema$ListPromotionsResponse>,
933
+ MethodOptions | BodyResponseCallback<Schema$ListPromotionsResponse>,
937
934
  callback: BodyResponseCallback<Schema$ListPromotionsResponse>
938
935
  ): void;
939
936
  list(
@@ -654,8 +654,7 @@ export namespace merchantapi_promotions_v1beta {
654
654
  | BodyResponseCallback<Schema$Promotion>
655
655
  | BodyResponseCallback<Readable>,
656
656
  callback?:
657
- | BodyResponseCallback<Schema$Promotion>
658
- | BodyResponseCallback<Readable>
657
+ BodyResponseCallback<Schema$Promotion> | BodyResponseCallback<Readable>
659
658
  ):
660
659
  | void
661
660
  | Promise<GaxiosResponseWithHTTP2<Schema$Promotion>>
@@ -809,8 +808,7 @@ export namespace merchantapi_promotions_v1beta {
809
808
  | BodyResponseCallback<Schema$Promotion>
810
809
  | BodyResponseCallback<Readable>,
811
810
  callback?:
812
- | BodyResponseCallback<Schema$Promotion>
813
- | BodyResponseCallback<Readable>
811
+ BodyResponseCallback<Schema$Promotion> | BodyResponseCallback<Readable>
814
812
  ):
815
813
  | void
816
814
  | Promise<GaxiosResponseWithHTTP2<Schema$Promotion>>
@@ -932,8 +930,7 @@ export namespace merchantapi_promotions_v1beta {
932
930
  list(
933
931
  params: Params$Resource$Accounts$Promotions$List,
934
932
  options:
935
- | MethodOptions
936
- | BodyResponseCallback<Schema$ListPromotionsResponse>,
933
+ MethodOptions | BodyResponseCallback<Schema$ListPromotionsResponse>,
937
934
  callback: BodyResponseCallback<Schema$ListPromotionsResponse>
938
935
  ): void;
939
936
  list(
package/quota_v1.ts CHANGED
@@ -280,7 +280,7 @@ export namespace merchantapi_quota_v1 {
280
280
  */
281
281
  quotaMinuteLimit?: string | null;
282
282
  /**
283
- * Output only. The current quota usage, meaning the number of calls already made on a given day to the methods in the group. The daily quota limits reset at at 12:00 PM midday UTC.
283
+ * Output only. The current quota usage, meaning the number of calls already made on a given day to the methods in the group. The daily quota limits reset at 12:00 PM midday UTC.
284
284
  */
285
285
  quotaUsage?: string | null;
286
286
  }
@@ -514,8 +514,7 @@ export namespace merchantapi_quota_v1 {
514
514
  list(
515
515
  params: Params$Resource$Accounts$Limits$List,
516
516
  options:
517
- | MethodOptions
518
- | BodyResponseCallback<Schema$ListAccountLimitsResponse>,
517
+ MethodOptions | BodyResponseCallback<Schema$ListAccountLimitsResponse>,
519
518
  callback: BodyResponseCallback<Schema$ListAccountLimitsResponse>
520
519
  ): void;
521
520
  list(
@@ -692,8 +691,7 @@ export namespace merchantapi_quota_v1 {
692
691
  list(
693
692
  params: Params$Resource$Accounts$Quotas$List,
694
693
  options:
695
- | MethodOptions
696
- | BodyResponseCallback<Schema$ListQuotaGroupsResponse>,
694
+ MethodOptions | BodyResponseCallback<Schema$ListQuotaGroupsResponse>,
697
695
  callback: BodyResponseCallback<Schema$ListQuotaGroupsResponse>
698
696
  ): void;
699
697
  list(
package/quota_v1beta.ts CHANGED
@@ -241,7 +241,7 @@ export namespace merchantapi_quota_v1beta {
241
241
  */
242
242
  quotaMinuteLimit?: string | null;
243
243
  /**
244
- * Output only. The current quota usage, meaning the number of calls already made on a given day to the methods in the group. The daily quota limits reset at at 12:00 PM midday UTC.
244
+ * Output only. The current quota usage, meaning the number of calls already made on a given day to the methods in the group. The daily quota limits reset at 12:00 PM midday UTC.
245
245
  */
246
246
  quotaUsage?: string | null;
247
247
  }
@@ -336,8 +336,7 @@ export namespace merchantapi_quota_v1beta {
336
336
  list(
337
337
  params: Params$Resource$Accounts$Quotas$List,
338
338
  options:
339
- | MethodOptions
340
- | BodyResponseCallback<Schema$ListQuotaGroupsResponse>,
339
+ MethodOptions | BodyResponseCallback<Schema$ListQuotaGroupsResponse>,
341
340
  callback: BodyResponseCallback<Schema$ListQuotaGroupsResponse>
342
341
  ): void;
343
342
  list(
package/reports_v1.ts CHANGED
@@ -463,7 +463,7 @@ export namespace merchantapi_reports_v1 {
463
463
  */
464
464
  clickThroughRate?: number | null;
465
465
  /**
466
- * Date in the merchant timezone to which metrics apply. Segment. Condition on `date` is required in the `WHERE` clause.
466
+ * Date in the Merchant Center account timezone to which metrics apply. Segment. Condition on `date` is required in the `WHERE` clause.
467
467
  */
468
468
  date?: Schema$Date;
469
469
  /**
@@ -471,7 +471,7 @@ export namespace merchantapi_reports_v1 {
471
471
  */
472
472
  impressions?: string | null;
473
473
  /**
474
- * First day of the week (Monday) of the metrics date in the merchant timezone. Segment.
474
+ * First day of the week (Monday) of the metrics date in the Merchant Center account timezone. Segment.
475
475
  */
476
476
  week?: Schema$Date;
477
477
  }
@@ -740,7 +740,7 @@ export namespace merchantapi_reports_v1 {
740
740
  */
741
741
  customLabel4?: string | null;
742
742
  /**
743
- * Date in the merchant timezone to which metrics apply. Segment. Condition on `date` is required in the `WHERE` clause.
743
+ * Date in the Merchant Center account timezone to which metrics apply. Segment. Condition on `date` is required in the `WHERE` clause.
744
744
  */
745
745
  date?: Schema$Date;
746
746
  /**
@@ -784,7 +784,7 @@ export namespace merchantapi_reports_v1 {
784
784
  */
785
785
  title?: string | null;
786
786
  /**
787
- * First day of the week (Monday) of the metrics date in the merchant timezone. Segment.
787
+ * First day of the week (Monday) of the metrics date in the Merchant Center account timezone. Segment.
788
788
  */
789
789
  week?: Schema$Date;
790
790
  }
@@ -1105,7 +1105,7 @@ export namespace merchantapi_reports_v1 {
1105
1105
  *
1106
1106
  * // Do the magic
1107
1107
  * const res = await merchantapi.accounts.reports.search({
1108
- * // Required. Id of the account making the call. Must be a standalone account or an MCA subaccount. Format: accounts/{account\}
1108
+ * // Required. Id of the account making the call. Must be a standalone account or a subaccount of an advanced account. Format: accounts/{account\}
1109
1109
  * parent: 'accounts/my-account',
1110
1110
  *
1111
1111
  * // Request body metadata
@@ -1225,7 +1225,7 @@ export namespace merchantapi_reports_v1 {
1225
1225
 
1226
1226
  export interface Params$Resource$Accounts$Reports$Search extends StandardParameters {
1227
1227
  /**
1228
- * Required. Id of the account making the call. Must be a standalone account or an MCA subaccount. Format: accounts/{account\}
1228
+ * Required. Id of the account making the call. Must be a standalone account or a subaccount of an advanced account. Format: accounts/{account\}
1229
1229
  */
1230
1230
  parent?: string;
1231
1231
 
package/reports_v1beta.ts CHANGED
@@ -463,7 +463,7 @@ export namespace merchantapi_reports_v1beta {
463
463
  */
464
464
  clickThroughRate?: number | null;
465
465
  /**
466
- * Date in the merchant timezone to which metrics apply. Segment. Condition on `date` is required in the `WHERE` clause.
466
+ * Date in the Merchant Center account timezone to which metrics apply. Segment. Condition on `date` is required in the `WHERE` clause.
467
467
  */
468
468
  date?: Schema$Date;
469
469
  /**
@@ -471,7 +471,7 @@ export namespace merchantapi_reports_v1beta {
471
471
  */
472
472
  impressions?: string | null;
473
473
  /**
474
- * First day of the week (Monday) of the metrics date in the merchant timezone. Segment.
474
+ * First day of the week (Monday) of the metrics date in the Merchant Center account timezone. Segment.
475
475
  */
476
476
  week?: Schema$Date;
477
477
  }
@@ -740,7 +740,7 @@ export namespace merchantapi_reports_v1beta {
740
740
  */
741
741
  customLabel4?: string | null;
742
742
  /**
743
- * Date in the merchant timezone to which metrics apply. Segment. Condition on `date` is required in the `WHERE` clause.
743
+ * Date in the Merchant Center account timezone to which metrics apply. Segment. Condition on `date` is required in the `WHERE` clause.
744
744
  */
745
745
  date?: Schema$Date;
746
746
  /**
@@ -784,7 +784,7 @@ export namespace merchantapi_reports_v1beta {
784
784
  */
785
785
  title?: string | null;
786
786
  /**
787
- * First day of the week (Monday) of the metrics date in the merchant timezone. Segment.
787
+ * First day of the week (Monday) of the metrics date in the Merchant Center account timezone. Segment.
788
788
  */
789
789
  week?: Schema$Date;
790
790
  }
@@ -1105,7 +1105,7 @@ export namespace merchantapi_reports_v1beta {
1105
1105
  *
1106
1106
  * // Do the magic
1107
1107
  * const res = await merchantapi.accounts.reports.search({
1108
- * // Required. Id of the account making the call. Must be a standalone account or an MCA subaccount. Format: accounts/{account\}
1108
+ * // Required. Id of the account making the call. Must be a standalone account or a subaccount of an advanced account. Format: accounts/{account\}
1109
1109
  * parent: 'accounts/my-account',
1110
1110
  *
1111
1111
  * // Request body metadata
@@ -1225,7 +1225,7 @@ export namespace merchantapi_reports_v1beta {
1225
1225
 
1226
1226
  export interface Params$Resource$Accounts$Reports$Search extends StandardParameters {
1227
1227
  /**
1228
- * Required. Id of the account making the call. Must be a standalone account or an MCA subaccount. Format: accounts/{account\}
1228
+ * Required. Id of the account making the call. Must be a standalone account or a subaccount of an advanced account. Format: accounts/{account\}
1229
1229
  */
1230
1230
  parent?: string;
1231
1231
 
package/reviews_v1beta.ts CHANGED
@@ -742,8 +742,7 @@ export namespace merchantapi_reviews_v1beta {
742
742
  | BodyResponseCallback<Schema$Empty>
743
743
  | BodyResponseCallback<Readable>,
744
744
  callback?:
745
- | BodyResponseCallback<Schema$Empty>
746
- | BodyResponseCallback<Readable>
745
+ BodyResponseCallback<Schema$Empty> | BodyResponseCallback<Readable>
747
746
  ):
748
747
  | void
749
748
  | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
@@ -1369,8 +1368,7 @@ export namespace merchantapi_reviews_v1beta {
1369
1368
  | BodyResponseCallback<Schema$Empty>
1370
1369
  | BodyResponseCallback<Readable>,
1371
1370
  callback?:
1372
- | BodyResponseCallback<Schema$Empty>
1373
- | BodyResponseCallback<Readable>
1371
+ BodyResponseCallback<Schema$Empty> | BodyResponseCallback<Readable>
1374
1372
  ):
1375
1373
  | void
1376
1374
  | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
@@ -1791,8 +1789,7 @@ export namespace merchantapi_reviews_v1beta {
1791
1789
  list(
1792
1790
  params: Params$Resource$Accounts$Productreviews$List,
1793
1791
  options:
1794
- | MethodOptions
1795
- | BodyResponseCallback<Schema$ListProductReviewsResponse>,
1792
+ MethodOptions | BodyResponseCallback<Schema$ListProductReviewsResponse>,
1796
1793
  callback: BodyResponseCallback<Schema$ListProductReviewsResponse>
1797
1794
  ): void;
1798
1795
  list(