@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
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(