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