@wix/auto_sdk_benefit-programs_pools 1.0.57 → 1.0.59
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 -12
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +16 -33
- package/build/cjs/index.typings.js +3 -12
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +11 -30
- package/build/cjs/meta.js +0 -11
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +3 -12
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +16 -33
- package/build/es/index.typings.mjs +3 -12
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +11 -30
- package/build/es/meta.mjs +0 -11
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +3 -12
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +16 -33
- package/build/internal/cjs/index.typings.js +3 -12
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +11 -30
- package/build/internal/cjs/meta.js +0 -11
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +3 -12
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +16 -33
- package/build/internal/es/index.typings.mjs +3 -12
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +11 -30
- package/build/internal/es/meta.mjs +0 -11
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/index.mjs
CHANGED
|
@@ -498,7 +498,6 @@ function checkEligibilityByFilter(payload) {
|
|
|
498
498
|
import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
|
|
499
499
|
import { createQueryUtils } from "@wix/sdk-runtime/query-builder-utils";
|
|
500
500
|
var PoolStatus = /* @__PURE__ */ ((PoolStatus2) => {
|
|
501
|
-
PoolStatus2["UNDEFINED"] = "UNDEFINED";
|
|
502
501
|
PoolStatus2["ACTIVE"] = "ACTIVE";
|
|
503
502
|
PoolStatus2["PAUSED"] = "PAUSED";
|
|
504
503
|
PoolStatus2["ENDED"] = "ENDED";
|
|
@@ -515,7 +514,6 @@ var IdentityType = /* @__PURE__ */ ((IdentityType2) => {
|
|
|
515
514
|
return IdentityType2;
|
|
516
515
|
})(IdentityType || {});
|
|
517
516
|
var PolicyExpressionType = /* @__PURE__ */ ((PolicyExpressionType2) => {
|
|
518
|
-
PolicyExpressionType2["UNKNOWN"] = "UNKNOWN";
|
|
519
517
|
PolicyExpressionType2["OPERATOR_NOT"] = "OPERATOR_NOT";
|
|
520
518
|
PolicyExpressionType2["OPERATOR_AND"] = "OPERATOR_AND";
|
|
521
519
|
PolicyExpressionType2["OPERATOR_OR"] = "OPERATOR_OR";
|
|
@@ -523,7 +521,6 @@ var PolicyExpressionType = /* @__PURE__ */ ((PolicyExpressionType2) => {
|
|
|
523
521
|
return PolicyExpressionType2;
|
|
524
522
|
})(PolicyExpressionType || {});
|
|
525
523
|
var Type = /* @__PURE__ */ ((Type2) => {
|
|
526
|
-
Type2["UNKNOWN"] = "UNKNOWN";
|
|
527
524
|
Type2["FIXED_INTERVAL"] = "FIXED_INTERVAL";
|
|
528
525
|
Type2["RATE_LIMITED"] = "RATE_LIMITED";
|
|
529
526
|
Type2["CUSTOM"] = "CUSTOM";
|
|
@@ -541,20 +538,16 @@ var WeekDay = /* @__PURE__ */ ((WeekDay2) => {
|
|
|
541
538
|
return WeekDay2;
|
|
542
539
|
})(WeekDay || {});
|
|
543
540
|
var TimePeriod = /* @__PURE__ */ ((TimePeriod2) => {
|
|
544
|
-
TimePeriod2["UNKNOWN_TIME_PERIOD"] = "UNKNOWN_TIME_PERIOD";
|
|
545
541
|
TimePeriod2["DAY"] = "DAY";
|
|
546
|
-
TimePeriod2["WEEK"] = "WEEK";
|
|
547
542
|
TimePeriod2["MONTH"] = "MONTH";
|
|
548
543
|
return TimePeriod2;
|
|
549
544
|
})(TimePeriod || {});
|
|
550
545
|
var PoolOrigin = /* @__PURE__ */ ((PoolOrigin2) => {
|
|
551
|
-
PoolOrigin2["UNKNOWN"] = "UNKNOWN";
|
|
552
546
|
PoolOrigin2["PROVISION"] = "PROVISION";
|
|
553
547
|
PoolOrigin2["CASCADE"] = "CASCADE";
|
|
554
548
|
return PoolOrigin2;
|
|
555
549
|
})(PoolOrigin || {});
|
|
556
550
|
var PoolRenewalActionType = /* @__PURE__ */ ((PoolRenewalActionType2) => {
|
|
557
|
-
PoolRenewalActionType2["UNDEFINED"] = "UNDEFINED";
|
|
558
551
|
PoolRenewalActionType2["END"] = "END";
|
|
559
552
|
PoolRenewalActionType2["UPDATE"] = "UPDATE";
|
|
560
553
|
return PoolRenewalActionType2;
|
|
@@ -565,7 +558,6 @@ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
|
565
558
|
return SortOrder2;
|
|
566
559
|
})(SortOrder || {});
|
|
567
560
|
var BenefitResultType = /* @__PURE__ */ ((BenefitResultType2) => {
|
|
568
|
-
BenefitResultType2["UNKNOWN"] = "UNKNOWN";
|
|
569
561
|
BenefitResultType2["ELIGIBLE_BENEFIT"] = "ELIGIBLE_BENEFIT";
|
|
570
562
|
BenefitResultType2["NOT_ENOUGH_BALANCE"] = "NOT_ENOUGH_BALANCE";
|
|
571
563
|
BenefitResultType2["POOL_NOT_ACTIVE"] = "POOL_NOT_ACTIVE";
|
|
@@ -574,18 +566,15 @@ var BenefitResultType = /* @__PURE__ */ ((BenefitResultType2) => {
|
|
|
574
566
|
return BenefitResultType2;
|
|
575
567
|
})(BenefitResultType || {});
|
|
576
568
|
var ListPoolsRequestType = /* @__PURE__ */ ((ListPoolsRequestType2) => {
|
|
577
|
-
ListPoolsRequestType2["UNKNOWN_FILTER"] = "UNKNOWN_FILTER";
|
|
578
569
|
ListPoolsRequestType2["BY_ITEM_REFERENCE"] = "BY_ITEM_REFERENCE";
|
|
579
570
|
return ListPoolsRequestType2;
|
|
580
571
|
})(ListPoolsRequestType || {});
|
|
581
572
|
var ProvisionPoolsForProgramResponseType = /* @__PURE__ */ ((ProvisionPoolsForProgramResponseType2) => {
|
|
582
|
-
ProvisionPoolsForProgramResponseType2["UNKNOWN"] = "UNKNOWN";
|
|
583
573
|
ProvisionPoolsForProgramResponseType2["SYNC"] = "SYNC";
|
|
584
574
|
ProvisionPoolsForProgramResponseType2["ASYNC"] = "ASYNC";
|
|
585
575
|
return ProvisionPoolsForProgramResponseType2;
|
|
586
576
|
})(ProvisionPoolsForProgramResponseType || {});
|
|
587
577
|
var PoolSelectorType = /* @__PURE__ */ ((PoolSelectorType2) => {
|
|
588
|
-
PoolSelectorType2["UNKNOWN_SELECTOR"] = "UNKNOWN_SELECTOR";
|
|
589
578
|
PoolSelectorType2["BY_POOL_DEFINITION_ID_AND_PROGRAM_DEFINITION_ID"] = "BY_POOL_DEFINITION_ID_AND_PROGRAM_DEFINITION_ID";
|
|
590
579
|
PoolSelectorType2["BY_PROGRAM_ID"] = "BY_PROGRAM_ID";
|
|
591
580
|
return PoolSelectorType2;
|
|
@@ -719,7 +708,9 @@ async function typedQueryPools(query, options) {
|
|
|
719
708
|
}
|
|
720
709
|
}
|
|
721
710
|
var utils = {
|
|
722
|
-
|
|
711
|
+
query: {
|
|
712
|
+
...createQueryUtils()
|
|
713
|
+
}
|
|
723
714
|
};
|
|
724
715
|
async function redeemBenefit2(poolId, options) {
|
|
725
716
|
const { httpClient, sideEffects } = arguments[2];
|