@wix/auto_sdk_benefit-programs_pools 1.0.76 → 1.0.77
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.js +3 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +4 -12
- package/build/cjs/index.typings.js +2 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +1 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.js +18 -18
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.mjs +3 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +4 -12
- package/build/es/index.typings.mjs +2 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +1 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.mjs +18 -18
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.js +3 -4
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +138 -12
- package/build/internal/cjs/index.typings.js +2 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +239 -0
- package/build/internal/cjs/meta.js +1 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.js +18 -18
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.mjs +3 -4
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +138 -12
- package/build/internal/es/index.typings.mjs +2 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +239 -0
- package/build/internal/es/meta.mjs +1 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.mjs +18 -18
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +4 -4
package/build/es/index.mjs
CHANGED
|
@@ -560,6 +560,7 @@ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
|
560
560
|
var BenefitResultType = /* @__PURE__ */ ((BenefitResultType2) => {
|
|
561
561
|
BenefitResultType2["ELIGIBLE_BENEFIT"] = "ELIGIBLE_BENEFIT";
|
|
562
562
|
BenefitResultType2["NOT_ENOUGH_BALANCE"] = "NOT_ENOUGH_BALANCE";
|
|
563
|
+
BenefitResultType2["POLICY_EXPRESSION_EVALUATED_TO_FALSE"] = "POLICY_EXPRESSION_EVALUATED_TO_FALSE";
|
|
563
564
|
BenefitResultType2["POOL_NOT_ACTIVE"] = "POOL_NOT_ACTIVE";
|
|
564
565
|
BenefitResultType2["BENEFIT_NOT_FOUND"] = "BENEFIT_NOT_FOUND";
|
|
565
566
|
BenefitResultType2["POOL_NOT_FOUND"] = "POOL_NOT_FOUND";
|
|
@@ -704,9 +705,7 @@ async function typedQueryPools(query, options) {
|
|
|
704
705
|
}
|
|
705
706
|
}
|
|
706
707
|
var utils = {
|
|
707
|
-
query:
|
|
708
|
-
...createQueryUtils()
|
|
709
|
-
}
|
|
708
|
+
query: /* @__PURE__ */ createQueryUtils()
|
|
710
709
|
};
|
|
711
710
|
async function redeemBenefit2(poolId, options) {
|
|
712
711
|
const { httpClient, sideEffects } = arguments[2];
|
|
@@ -1012,7 +1011,7 @@ function checkBenefitEligibilityByFilter3(httpClient) {
|
|
|
1012
1011
|
import { createRESTModule } from "@wix/sdk-runtime/rest-modules";
|
|
1013
1012
|
import { createQueryOverloadRouter } from "@wix/sdk-runtime/query-method-router";
|
|
1014
1013
|
function customQueryPools(httpClient) {
|
|
1015
|
-
const router = createQueryOverloadRouter({
|
|
1014
|
+
const router = /* @__PURE__ */ createQueryOverloadRouter({
|
|
1016
1015
|
builderQueryFunction: (options) => queryPools3(httpClient)(options),
|
|
1017
1016
|
typedQueryFunction: (query, options) => typedQueryPools2(httpClient)(query, options),
|
|
1018
1017
|
hasOptionsParameter: true
|