@maxim_mazurok/gapi.client.merchantapi-inventories_v1 0.0.20260107 → 0.0.20260111

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 +21 -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=inventories_v1
12
- // Revision: 20260107
12
+ // Revision: 20260111
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -35,6 +35,22 @@ declare namespace gapi.client {
35
35
  /** Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start. */
36
36
  startTime?: string;
37
37
  }
38
+ interface InventoryLoyaltyProgram {
39
+ /** The cashback that can be used for future purchases. */
40
+ cashbackForFutureUse?: Price;
41
+ /** The amount of loyalty points earned on a purchase. */
42
+ loyaltyPoints?: string;
43
+ /** A date range during which the item is eligible for member price. If not specified, the member price is always applicable. The date range is represented by a pair of ISO 8601 dates separated by a space, comma, or slash. */
44
+ memberPriceEffectiveInterval?: Interval;
45
+ /** The price for members of the given tier, that is, the instant discount price. Must be smaller or equal to the regular price. */
46
+ price?: Price;
47
+ /** The label of the loyalty program. This is an internal label that uniquely identifies the relationship between a business entity and a loyalty program entity. The label must be provided if there are multiple loyalty programs available for the merchant, so that the system can associate the assets below (for example, price and points) with the correct business. The corresponding program must be linked to the Merchant Center account. */
48
+ programLabel?: string;
49
+ /** The label of the shipping benefit. If the field has value, this offer has loyalty shipping benefit. If the field value isn't provided, the item is not eligible for loyalty shipping for the given loyalty tier. */
50
+ shippingLabel?: string;
51
+ /** The label of the tier within the loyalty program. Must match one of the labels within the program. */
52
+ tierLabel?: string;
53
+ }
38
54
  interface ListLocalInventoriesResponse {
39
55
  /** The `LocalInventory` resources for the given product from the specified account. */
40
56
  localInventories?: LocalInventory[];
@@ -62,6 +78,8 @@ declare namespace gapi.client {
62
78
  availability?: string;
63
79
  /** Optional. Location of the product inside the store. Maximum length is 20 bytes. */
64
80
  instoreProductLocation?: string;
81
+ /** Optional. An optional list of loyalty programs containing applicable loyalty member prices for this product at this store. This field is used to show store-specific member prices on Local Inventory Ads (LIA). To use this, the loyalty program must be configured in Google Merchant Center. The benefits provided must match the merchant's website and be clear to members. This is only applicable for merchants in supported countries. See [Loyalty program](https://support.google.com/merchants/answer/12922446) for details on supported countries and loyalty program configuration. For local inventory specific details, see the [Local inventory data specification](https://support.google.com/merchants/answer/3061342). */
82
+ loyaltyPrograms?: InventoryLoyaltyProgram[];
65
83
  /** Optional. Supported [pickup method](https://support.google.com/merchants/answer/3061342) for this product. Unless the value is `"not supported"`, this field must be submitted together with `pickupSla`. */
66
84
  pickupMethod?: string;
67
85
  /** Optional. Relative time period from the order date for an order for this product, from this store, to be ready for pickup. Must be submitted with `pickupMethod`. See more details [here](https://support.google.com/merchants/answer/3061342). */
@@ -124,6 +142,8 @@ declare namespace gapi.client {
124
142
  interface RegionalInventoryAttributes {
125
143
  /** Optional. [Availability](https://support.google.com/merchants/answer/14644124) of the product in this region. */
126
144
  availability?: string;
145
+ /** Optional. An optional list of loyalty programs containing applicable loyalty member prices for this product in this region. This field is used to show region-specific member prices on Product Listing Ads (PLA). To use this, the loyalty program must be configured in Google Merchant Center, and the merchant must be using the Regional Availability and Pricing (RAAP) feature. The benefits provided must match the merchant's website and be clear to members. This is only applicable for merchants in supported countries. See [Loyalty program](https://support.google.com/merchants/answer/12922446) for details on supported countries and loyalty program configuration. Also see [Regional availability and pricing](https://support.google.com/merchants/answer/14644124) and [How to set up regional member pricing](https://support.google.com/merchants/answer/16388178) for more information. */
146
+ loyaltyPrograms?: InventoryLoyaltyProgram[];
127
147
  /** Optional. Price of the product in this region. */
128
148
  price?: Price;
129
149
  /** Optional. Sale price of the product in this region. Mandatory if `salePriceEffectiveDate` is defined. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.merchantapi-inventories_v1",
3
- "version": "0.0.20260107",
3
+ "version": "0.0.20260111",
4
4
  "description": "TypeScript typings for Merchant API inventories_v1",
5
5
  "repository": {
6
6
  "type": "git",