@maxim_mazurok/gapi.client.merchantapi-products_v1 0.0.20251002 → 0.0.20251007

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 (2) hide show
  1. package/index.d.ts +17 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://merchantapi.googleapis.com/$discovery/rest?version=products_v1
12
- // Revision: 20251002
12
+ // Revision: 20251007
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -107,6 +107,16 @@ declare namespace gapi.client {
107
107
  /** The minimum product price for the shipping cost to become free. Represented as a number. */
108
108
  priceThreshold?: Price;
109
109
  }
110
+ interface HandlingCutoffTime {
111
+ /** The [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) of the country to which the handling cutoff time applies. */
112
+ country?: string;
113
+ /** The handling cutoff time until which an order has to be placed to be processed in the same day. This is a string in format of HHMM (e.g. `1530`) for 3:30 PM. If not configured, the cutoff time will be defaulted to 8AM PST. */
114
+ cutoffTime?: string;
115
+ /** [Timezone identifier](https://developers.google.com/adwords/api/docs/appendix/codes-formats#timezone-ids) For example 'Europe/Zurich'. If not set, the shipping destination timezone will be used. */
116
+ cutoffTimezone?: string;
117
+ /** This field only applies to same-day delivery. If true, prevents next-day delivery from being shown for this offer after the cutoff time. This field only applies to same-day delivery offers, for merchants who want to explicitly disable it. */
118
+ disableDeliveryAfterCutoff?: boolean;
119
+ }
110
120
  interface Interval {
111
121
  /** Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end. */
112
122
  endTime?: string;
@@ -268,6 +278,8 @@ declare namespace gapi.client {
268
278
  googleProductCategory?: string;
269
279
  /** Global Trade Item Numbers ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the item. You can provide up to 10 GTINs. */
270
280
  gtins?: string[];
281
+ /** The handling cutoff times for shipping. */
282
+ handlingCutoffTimes?: HandlingCutoffTime[];
271
283
  /** Set this value to false when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Defaults to true, if not provided. */
272
284
  identifierExists?: boolean;
273
285
  /** URL of an image of the item. */
@@ -494,6 +506,10 @@ declare namespace gapi.client {
494
506
  interface Shipping {
495
507
  /** The [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) of the country to which an item will ship. */
496
508
  country?: string;
509
+ /** The handling cutoff time until which an order has to be placed to be processed in the same day. This is a string in format of HHMM (e.g. `1530`) for 3:30 PM. If not configured, the cutoff time will be defaulted to 8AM PST and `handling_cutoff_timezone` will be ignored. */
510
+ handlingCutoffTime?: string;
511
+ /** [Timezone identifier](https://developers.google.com/adwords/api/docs/appendix/codes-formats#timezone-ids) For example `Europe/Zurich`. This field only applies if `handling_cutoff_time` is set. If `handling_cutoff_time` is set but this field is not set, the shipping destination timezone will be used. If both fields are not set, the handling cutoff time will default to 8AM PST. */
512
+ handlingCutoffTimezone?: string;
497
513
  /** The location where the shipping is applicable, represented by a location group name. */
498
514
  locationGroupName?: string;
499
515
  /** The numeric ID of a location that the shipping rate applies to as defined in the [AdWords API](https://developers.google.com/adwords/api/docs/appendix/geotargeting). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.merchantapi-products_v1",
3
- "version": "0.0.20251002",
3
+ "version": "0.0.20251007",
4
4
  "description": "TypeScript typings for Merchant API products_v1",
5
5
  "repository": {
6
6
  "type": "git",