@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/cjs/index.js
CHANGED
|
@@ -605,6 +605,7 @@ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
|
605
605
|
var BenefitResultType = /* @__PURE__ */ ((BenefitResultType2) => {
|
|
606
606
|
BenefitResultType2["ELIGIBLE_BENEFIT"] = "ELIGIBLE_BENEFIT";
|
|
607
607
|
BenefitResultType2["NOT_ENOUGH_BALANCE"] = "NOT_ENOUGH_BALANCE";
|
|
608
|
+
BenefitResultType2["POLICY_EXPRESSION_EVALUATED_TO_FALSE"] = "POLICY_EXPRESSION_EVALUATED_TO_FALSE";
|
|
608
609
|
BenefitResultType2["POOL_NOT_ACTIVE"] = "POOL_NOT_ACTIVE";
|
|
609
610
|
BenefitResultType2["BENEFIT_NOT_FOUND"] = "BENEFIT_NOT_FOUND";
|
|
610
611
|
BenefitResultType2["POOL_NOT_FOUND"] = "POOL_NOT_FOUND";
|
|
@@ -749,9 +750,7 @@ async function typedQueryPools(query, options) {
|
|
|
749
750
|
}
|
|
750
751
|
}
|
|
751
752
|
var utils = {
|
|
752
|
-
query:
|
|
753
|
-
...(0, import_query_builder_utils.createQueryUtils)()
|
|
754
|
-
}
|
|
753
|
+
query: /* @__PURE__ */ (0, import_query_builder_utils.createQueryUtils)()
|
|
755
754
|
};
|
|
756
755
|
async function redeemBenefit2(poolId, options) {
|
|
757
756
|
const { httpClient, sideEffects } = arguments[2];
|
|
@@ -1057,7 +1056,7 @@ function checkBenefitEligibilityByFilter3(httpClient) {
|
|
|
1057
1056
|
var import_rest_modules3 = require("@wix/sdk-runtime/rest-modules");
|
|
1058
1057
|
var import_query_method_router = require("@wix/sdk-runtime/query-method-router");
|
|
1059
1058
|
function customQueryPools(httpClient) {
|
|
1060
|
-
const router = (0, import_query_method_router.createQueryOverloadRouter)({
|
|
1059
|
+
const router = /* @__PURE__ */ (0, import_query_method_router.createQueryOverloadRouter)({
|
|
1061
1060
|
builderQueryFunction: (options) => queryPools3(httpClient)(options),
|
|
1062
1061
|
typedQueryFunction: (query, options) => typedQueryPools2(httpClient)(query, options),
|
|
1063
1062
|
hasOptionsParameter: true
|