@commercengine/storefront-sdk 0.12.4 → 0.12.5

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/dist/index.d.mts +17 -6
  2. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -3465,6 +3465,14 @@ interface components {
3465
3465
  coupon_savings: number;
3466
3466
  other_savings: number;
3467
3467
  total_savings: number;
3468
+ /**
3469
+ * @description Status of the cart.
3470
+ * @default not-ready-for-payment
3471
+ * @enum {string}
3472
+ */
3473
+ status: "not-ready-for-payment" | "ready-for-payment";
3474
+ /** @description Error message if the cart is not ready for payment. */
3475
+ status_error_message: string | null;
3468
3476
  };
3469
3477
  /** CartBasedFulfillmentCheck */
3470
3478
  CartBasedFulfillmentCheck: {
@@ -3826,6 +3834,7 @@ interface components {
3826
3834
  /** @example ₹ */
3827
3835
  symbol: string;
3828
3836
  };
3837
+ /** CustomerAddress */
3829
3838
  CustomerAddress: {
3830
3839
  /** @description null value for guest checkout. */
3831
3840
  id?: string | null;
@@ -3844,17 +3853,17 @@ interface components {
3844
3853
  state: string;
3845
3854
  /** @constant */
3846
3855
  country: "India";
3847
- /**
3848
- * @description Tax Identification Number (TIN/VAT/GSTIN) specific to the country of operation.
3849
- * @example 123456789
3850
- * @example GB123456789
3851
- * @example IN27AAEPM0111C1ZQ
3852
- */
3856
+ /** @description Tax Identification Number (TIN/VAT/GSTIN) specific to the country of operation. */
3853
3857
  tax_identification_number: string | null;
3854
3858
  /** @description Use in billing & shipping details only. */
3855
3859
  business_name: string | null;
3856
3860
  readonly is_phone_verified: boolean;
3857
3861
  readonly is_email_verified: boolean;
3862
+ /**
3863
+ * @description Nickname for the address.
3864
+ * @default null
3865
+ */
3866
+ nickname: string | null;
3858
3867
  } | null;
3859
3868
  /** CustomerDetail */
3860
3869
  CustomerDetail: {
@@ -4017,6 +4026,8 @@ interface components {
4017
4026
  /** DeliveryOption */
4018
4027
  DeliveryOption: {
4019
4028
  is_serviceable: boolean;
4029
+ /** @description free shipping threshold of delivery option */
4030
+ free_shipping_threshold: number | null;
4020
4031
  shipments: {
4021
4032
  id: string;
4022
4033
  items: components["schemas"]["ShipmentItem"][];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercengine/storefront-sdk",
3
- "version": "0.12.4",
3
+ "version": "0.12.5",
4
4
  "description": "TypeScript SDK for the Storefront API",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",