@wix/auto_sdk_benefit-programs_pools 1.0.73 → 1.0.75

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 (49) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +4 -78
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +61 -75
  5. package/build/cjs/index.typings.js +4 -70
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +44 -47
  8. package/build/cjs/meta.js +0 -47
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.d.ts +10 -0
  11. package/build/cjs/schemas.js +16 -2
  12. package/build/cjs/schemas.js.map +1 -1
  13. package/build/es/index.d.mts +1 -1
  14. package/build/es/index.mjs +4 -77
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +61 -75
  17. package/build/es/index.typings.mjs +4 -69
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +44 -47
  20. package/build/es/meta.mjs +0 -46
  21. package/build/es/meta.mjs.map +1 -1
  22. package/build/es/schemas.d.mts +10 -0
  23. package/build/es/schemas.mjs +16 -2
  24. package/build/es/schemas.mjs.map +1 -1
  25. package/build/internal/cjs/index.d.ts +3 -20
  26. package/build/internal/cjs/index.js +4 -78
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +73 -98
  29. package/build/internal/cjs/index.typings.js +4 -70
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +44 -47
  32. package/build/internal/cjs/meta.js +0 -47
  33. package/build/internal/cjs/meta.js.map +1 -1
  34. package/build/internal/cjs/schemas.d.ts +10 -0
  35. package/build/internal/cjs/schemas.js +16 -2
  36. package/build/internal/cjs/schemas.js.map +1 -1
  37. package/build/internal/es/index.d.mts +3 -20
  38. package/build/internal/es/index.mjs +4 -77
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +73 -98
  41. package/build/internal/es/index.typings.mjs +4 -69
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +44 -47
  44. package/build/internal/es/meta.mjs +0 -46
  45. package/build/internal/es/meta.mjs.map +1 -1
  46. package/build/internal/es/schemas.d.mts +10 -0
  47. package/build/internal/es/schemas.mjs +16 -2
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -1661,7 +1661,7 @@ var CheckBenefitEligibilityByFilterRequest = z.object({
1661
1661
  })
1662
1662
  ).max(5).optional()
1663
1663
  }).describe(
1664
- "Defines filtering and sorting criteria used to select pools when checking eligibility.\n\nThe filter selects pools using the same fields supported by Query Pools. For field support, see [Filtering and Sorting](https://dev.wix.com/docs/rest/business-solutions/benefit-programs/pools/filtering-and-sorting).\n\nWhen omitted, eligibility is checked across all pools in the namespace that match the provided `beneficiary`. Combined with `beneficiary` and `namespace`, the filter further narrows which pools are checked."
1664
+ "Defines filtering and sorting criteria used to select pools when checking eligibility.\n\nThe filter selects pools using the same fields supported by Query Pools. For field support, see [Filtering and Sorting](https://dev.wix.com/docs/rest/business-solutions/benefit-programs/pools/filtering-and-sorting).\n\nWhen omitted, eligibility is checked across all pools in the namespace that match the provided `beneficiary`. Combined with `beneficiary` and `namespace`, the filter further narrows which pools are checked.\n\nDeprecated: use `pool_selector` instead. Can't be combined with `pool_selector`."
1665
1665
  ).optional(),
1666
1666
  namespace: z.string().describe(
1667
1667
  "Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created."
@@ -1721,7 +1721,21 @@ var CheckBenefitEligibilityByFilterRequest = z.object({
1721
1721
  ).describe(
1722
1722
  "Pool beneficiary. When provided, only the beneficiary's pools that also match `pool_filter` are checked."
1723
1723
  ).optional(),
1724
- additionalData: z.record(z.string(), z.any()).describe("Additional information.").optional().nullable()
1724
+ additionalData: z.record(z.string(), z.any()).describe("Additional information.").optional().nullable(),
1725
+ poolSelector: z.object({
1726
+ poolStatuses: z.array(
1727
+ z.enum([
1728
+ "ACTIVE",
1729
+ "PAUSED",
1730
+ "ENDED",
1731
+ "PROVISIONING",
1732
+ "RENEWING",
1733
+ "PENDING"
1734
+ ])
1735
+ ).max(10).optional()
1736
+ }).describe(
1737
+ "Predefined attributes used to select the pools to check eligibility in.\n\nWhen omitted, eligibility is checked across all pools in the namespace that match the provided `beneficiary`. Combined with `beneficiary` and `namespace`, the selector further narrows which pools are checked.\n\nCan't be combined with `pool_filter`."
1738
+ ).optional()
1725
1739
  })
1726
1740
  });
1727
1741
  var CheckBenefitEligibilityByFilterResponse = z.object({