@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.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +4 -78
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +61 -75
- package/build/cjs/index.typings.js +4 -70
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +44 -47
- package/build/cjs/meta.js +0 -47
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +10 -0
- package/build/cjs/schemas.js +16 -2
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +4 -77
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +61 -75
- package/build/es/index.typings.mjs +4 -69
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +44 -47
- package/build/es/meta.mjs +0 -46
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +10 -0
- package/build/es/schemas.mjs +16 -2
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +3 -20
- package/build/internal/cjs/index.js +4 -78
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +73 -98
- package/build/internal/cjs/index.typings.js +4 -70
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +44 -47
- package/build/internal/cjs/meta.js +0 -47
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +10 -0
- package/build/internal/cjs/schemas.js +16 -2
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +3 -20
- package/build/internal/es/index.mjs +4 -77
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +73 -98
- package/build/internal/es/index.typings.mjs +4 -69
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +44 -47
- package/build/internal/es/meta.mjs +0 -46
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +10 -0
- package/build/internal/es/schemas.mjs +16 -2
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/schemas.js
CHANGED
|
@@ -1714,7 +1714,7 @@ var CheckBenefitEligibilityByFilterRequest = z.object({
|
|
|
1714
1714
|
})
|
|
1715
1715
|
).max(5).optional()
|
|
1716
1716
|
}).describe(
|
|
1717
|
-
"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."
|
|
1717
|
+
"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`."
|
|
1718
1718
|
).optional(),
|
|
1719
1719
|
namespace: z.string().describe(
|
|
1720
1720
|
"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."
|
|
@@ -1774,7 +1774,21 @@ var CheckBenefitEligibilityByFilterRequest = z.object({
|
|
|
1774
1774
|
).describe(
|
|
1775
1775
|
"Pool beneficiary. When provided, only the beneficiary's pools that also match `pool_filter` are checked."
|
|
1776
1776
|
).optional(),
|
|
1777
|
-
additionalData: z.record(z.string(), z.any()).describe("Additional information.").optional().nullable()
|
|
1777
|
+
additionalData: z.record(z.string(), z.any()).describe("Additional information.").optional().nullable(),
|
|
1778
|
+
poolSelector: z.object({
|
|
1779
|
+
poolStatuses: z.array(
|
|
1780
|
+
z.enum([
|
|
1781
|
+
"ACTIVE",
|
|
1782
|
+
"PAUSED",
|
|
1783
|
+
"ENDED",
|
|
1784
|
+
"PROVISIONING",
|
|
1785
|
+
"RENEWING",
|
|
1786
|
+
"PENDING"
|
|
1787
|
+
])
|
|
1788
|
+
).max(10).optional()
|
|
1789
|
+
}).describe(
|
|
1790
|
+
"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`."
|
|
1791
|
+
).optional()
|
|
1778
1792
|
})
|
|
1779
1793
|
});
|
|
1780
1794
|
var CheckBenefitEligibilityByFilterResponse = z.object({
|