@commercengine/storefront-sdk 0.3.5 → 0.3.6

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.
@@ -1836,6 +1836,8 @@ export interface components {
1836
1836
  readonly active: boolean;
1837
1837
  /** @description Indicates whether the product has stock available */
1838
1838
  readonly stock_available: boolean;
1839
+ /** @description Indicates whether the item is being fulfilled as a backorder. When true, the item is not currently in stock and will ship later once inventory is available. This may result in the order being split into multiple shipments, with delays for the backordered portion. */
1840
+ backorder?: boolean;
1839
1841
  /** @description Indicates whether this item is associated with any active (product-specific) coupons */
1840
1842
  readonly on_offer: boolean;
1841
1843
  /** @description Indicates whether the product has any subscription plans avaialble */
@@ -2145,6 +2147,8 @@ export interface components {
2145
2147
  short_description: string | null;
2146
2148
  readonly active: boolean;
2147
2149
  readonly stock_available: boolean;
2150
+ /** @description Indicates whether the item is being fulfilled as a backorder. When true, the item is not currently in stock and will ship later once inventory is available. This may result in the order being split into multiple shipments, with delays for the backordered portion. */
2151
+ backorder?: boolean;
2148
2152
  /** @description Indicates whether this item is associated with any active (product-specific) coupons */
2149
2153
  readonly on_offer: boolean;
2150
2154
  readonly on_promotion: boolean;
@@ -2213,6 +2217,8 @@ export interface components {
2213
2217
  short_description: string | null;
2214
2218
  active: boolean;
2215
2219
  stock_available: boolean;
2220
+ /** @description Indicates whether the item is being fulfilled as a backorder. When true, the item is not currently in stock and will ship later once inventory is available. This may result in the order being split into multiple shipments, with delays for the backordered portion. */
2221
+ backorder?: boolean;
2216
2222
  /** @description Indicates whether this item is associated with any active (product-specific) coupons */
2217
2223
  on_offer: boolean;
2218
2224
  on_subscription: boolean;
@@ -2227,6 +2233,7 @@ export interface components {
2227
2233
  promotion: components["schemas"]["ProductPromotion"];
2228
2234
  subscription: components["schemas"]["ProductSubscription"][];
2229
2235
  associated_options: components["schemas"]["AssociatedOption"] | null;
2236
+ shipping?: components["schemas"]["ProductShipping"];
2230
2237
  };
2231
2238
  /** @description pagination metadata structure */
2232
2239
  Pagination: {
@@ -2266,17 +2273,10 @@ export interface components {
2266
2273
  };
2267
2274
  /** ProductShipping */
2268
2275
  ProductShipping: {
2269
- additional_cost: number | null;
2270
- /** Format: double */
2271
- readonly shipping_price_including_tax: boolean;
2272
- availability_description: string | null;
2273
- /** @default false */
2274
- ships_internationally: boolean;
2275
- mid_code: string | null;
2276
- /** @default India */
2277
- country_of_origin: string | null;
2278
- tax_type: string | null;
2279
- tax_rate: number | null;
2276
+ handling_charges_including_tax: number;
2277
+ handling_charges_excluding_tax: number;
2278
+ tax_type: string;
2279
+ tax_rate: number;
2280
2280
  } | null;
2281
2281
  /** Seo */
2282
2282
  Seo: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercengine/storefront-sdk",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "TypeScript SDK for the Storefront API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",