@poweredbysous/storefront-sdk 3.3.0 → 3.3.2

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.
package/dist/index.d.cts CHANGED
@@ -2545,6 +2545,8 @@ interface components {
2545
2545
  available_shipping_providers: components["schemas"]["ShippingProviderOption"][];
2546
2546
  pickup_locations: components["schemas"]["AddressCheckPickupLocation"][];
2547
2547
  delivery_unavailable: boolean;
2548
+ /** @description ISO country code of the address when the store's nationwide carriers all leave that country out, so the client can say the store does not deliver there. Null otherwise. */
2549
+ unserved_country: string | null;
2548
2550
  near_delivery_zone: boolean;
2549
2551
  };
2550
2552
  AddressLookupResponse: {
@@ -2873,12 +2875,12 @@ interface components {
2873
2875
  [key: string]: unknown;
2874
2876
  }[];
2875
2877
  /**
2876
- * @description How many products this category shows, descendants included.
2878
+ * @description How many products this category's listing shows, descendants included.
2877
2879
  *
2878
- * The listing precomputes every category's count in one pass
2879
- * (``views._build_product_counts``) and passes it in context; the
2880
- * fallback below is the single-object path (retrieve), which counts its
2881
- * own subtree directly.
2880
+ * Precomputed for every category in one pass
2881
+ * (``views._build_product_counts``) and passed in context, on both list
2882
+ * and retrieve: counting here instead would count products the listing
2883
+ * leaves out.
2882
2884
  */
2883
2885
  readonly product_count: number;
2884
2886
  };
@@ -4681,6 +4683,8 @@ interface components {
4681
4683
  remaining_for_free_shipping: string | null;
4682
4684
  /** @description Products no carrier delivers to this address. The total does not cover them and checkout cannot route them, so the customer must remove them or change the address. Empty when every item ships. */
4683
4685
  unshippable_product_ids: number[];
4686
+ /** @description ISO country code of the delivery address when every carrier of the unshippable products leaves that country out, so the client can say the store does not deliver there. Null otherwise. */
4687
+ unserved_country: string | null;
4684
4688
  };
4685
4689
  /**
4686
4690
  * @description One carrier's share of the basket. Documentation only — never used to
package/dist/index.d.ts CHANGED
@@ -2545,6 +2545,8 @@ interface components {
2545
2545
  available_shipping_providers: components["schemas"]["ShippingProviderOption"][];
2546
2546
  pickup_locations: components["schemas"]["AddressCheckPickupLocation"][];
2547
2547
  delivery_unavailable: boolean;
2548
+ /** @description ISO country code of the address when the store's nationwide carriers all leave that country out, so the client can say the store does not deliver there. Null otherwise. */
2549
+ unserved_country: string | null;
2548
2550
  near_delivery_zone: boolean;
2549
2551
  };
2550
2552
  AddressLookupResponse: {
@@ -2873,12 +2875,12 @@ interface components {
2873
2875
  [key: string]: unknown;
2874
2876
  }[];
2875
2877
  /**
2876
- * @description How many products this category shows, descendants included.
2878
+ * @description How many products this category's listing shows, descendants included.
2877
2879
  *
2878
- * The listing precomputes every category's count in one pass
2879
- * (``views._build_product_counts``) and passes it in context; the
2880
- * fallback below is the single-object path (retrieve), which counts its
2881
- * own subtree directly.
2880
+ * Precomputed for every category in one pass
2881
+ * (``views._build_product_counts``) and passed in context, on both list
2882
+ * and retrieve: counting here instead would count products the listing
2883
+ * leaves out.
2882
2884
  */
2883
2885
  readonly product_count: number;
2884
2886
  };
@@ -4681,6 +4683,8 @@ interface components {
4681
4683
  remaining_for_free_shipping: string | null;
4682
4684
  /** @description Products no carrier delivers to this address. The total does not cover them and checkout cannot route them, so the customer must remove them or change the address. Empty when every item ships. */
4683
4685
  unshippable_product_ids: number[];
4686
+ /** @description ISO country code of the delivery address when every carrier of the unshippable products leaves that country out, so the client can say the store does not deliver there. Null otherwise. */
4687
+ unserved_country: string | null;
4684
4688
  };
4685
4689
  /**
4686
4690
  * @description One carrier's share of the basket. Documentation only — never used to
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poweredbysous/storefront-sdk",
3
- "version": "3.3.0",
3
+ "version": "3.3.2",
4
4
  "description": "Type-safe TypeScript SDK for SOUS Storefront Backend",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,