@wix/auto_sdk_ecom_current-cart 1.0.172 → 1.0.173

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.
@@ -7850,9 +7850,11 @@ var EstimateCurrentCartTotalsResponse = z.object({
7850
7850
  credits: z.object({
7851
7851
  total: z.number().int().describe("Membership's initial value.").min(1).optional(),
7852
7852
  remaining: z.number().int().describe("Membership's remaining value.").min(0).optional()
7853
- }).describe("Deprecated. Use `benefits`.").optional(),
7853
+ }).describe(
7854
+ "Deprecated. The new flow no longer exposes raw balances on a membership; what a membership can pay\nfor is conveyed by `ExistingMembership.covered_line_items` (per-item redemption cost)."
7855
+ ).optional(),
7854
7856
  expirationDate: z.date().describe("Deprecated. Use `offering_description`.").optional().nullable(),
7855
- additionalData: z.record(z.string(), z.any()).describe("Deprecated. Use `benefits.additional_data`.").optional().nullable()
7857
+ additionalData: z.record(z.string(), z.any()).describe("Deprecated. Use `offering_description`.").optional().nullable()
7856
7858
  })
7857
7859
  ).max(300).optional(),
7858
7860
  invalidMemberships: z.array(
@@ -7875,9 +7877,11 @@ var EstimateCurrentCartTotalsResponse = z.object({
7875
7877
  credits: z.object({
7876
7878
  total: z.number().int().describe("Membership's initial value.").min(1).optional(),
7877
7879
  remaining: z.number().int().describe("Membership's remaining value.").min(0).optional()
7878
- }).describe("Deprecated. Use `benefits`.").optional(),
7880
+ }).describe(
7881
+ "Deprecated. The new flow no longer exposes raw balances on a membership; what a membership can pay\nfor is conveyed by `ExistingMembership.covered_line_items` (per-item redemption cost)."
7882
+ ).optional(),
7879
7883
  expirationDate: z.date().describe("Deprecated. Use `offering_description`.").optional().nullable(),
7880
- additionalData: z.record(z.string(), z.any()).describe("Deprecated. Use `benefits.additional_data`.").optional().nullable()
7884
+ additionalData: z.record(z.string(), z.any()).describe("Deprecated. Use `offering_description`.").optional().nullable()
7881
7885
  }).describe("Membership details.").optional(),
7882
7886
  reason: z.string().describe(
7883
7887
  "Reason why this membership is invalid and cannot be used."