@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.
@@ -7903,9 +7903,11 @@ var EstimateCurrentCartTotalsResponse = z.object({
7903
7903
  credits: z.object({
7904
7904
  total: z.number().int().describe("Membership's initial value.").min(1).optional(),
7905
7905
  remaining: z.number().int().describe("Membership's remaining value.").min(0).optional()
7906
- }).describe("Deprecated. Use `benefits`.").optional(),
7906
+ }).describe(
7907
+ "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)."
7908
+ ).optional(),
7907
7909
  expirationDate: z.date().describe("Deprecated. Use `offering_description`.").optional().nullable(),
7908
- additionalData: z.record(z.string(), z.any()).describe("Deprecated. Use `benefits.additional_data`.").optional().nullable()
7910
+ additionalData: z.record(z.string(), z.any()).describe("Deprecated. Use `offering_description`.").optional().nullable()
7909
7911
  })
7910
7912
  ).max(300).optional(),
7911
7913
  invalidMemberships: z.array(
@@ -7928,9 +7930,11 @@ var EstimateCurrentCartTotalsResponse = z.object({
7928
7930
  credits: z.object({
7929
7931
  total: z.number().int().describe("Membership's initial value.").min(1).optional(),
7930
7932
  remaining: z.number().int().describe("Membership's remaining value.").min(0).optional()
7931
- }).describe("Deprecated. Use `benefits`.").optional(),
7933
+ }).describe(
7934
+ "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)."
7935
+ ).optional(),
7932
7936
  expirationDate: z.date().describe("Deprecated. Use `offering_description`.").optional().nullable(),
7933
- additionalData: z.record(z.string(), z.any()).describe("Deprecated. Use `benefits.additional_data`.").optional().nullable()
7937
+ additionalData: z.record(z.string(), z.any()).describe("Deprecated. Use `offering_description`.").optional().nullable()
7934
7938
  }).describe("Membership details.").optional(),
7935
7939
  reason: z.string().describe(
7936
7940
  "Reason why this membership is invalid and cannot be used."