@wix/auto_sdk_benefit-programs_pools 1.0.77 → 1.0.78
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 +11 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +12 -1
- package/build/cjs/index.typings.js +11 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +12 -1
- package/build/cjs/meta.js +7 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +10 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +12 -1
- package/build/es/index.typings.mjs +10 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +12 -1
- package/build/es/meta.mjs +6 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +11 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +26 -1
- package/build/internal/cjs/index.typings.js +11 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +19 -1
- package/build/internal/cjs/meta.js +7 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +10 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +26 -1
- package/build/internal/es/index.typings.mjs +10 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +19 -1
- package/build/internal/es/meta.mjs +6 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/index.mjs
CHANGED
|
@@ -557,6 +557,11 @@ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
|
557
557
|
SortOrder2["DESC"] = "DESC";
|
|
558
558
|
return SortOrder2;
|
|
559
559
|
})(SortOrder || {});
|
|
560
|
+
var Intent = /* @__PURE__ */ ((Intent2) => {
|
|
561
|
+
Intent2["REDEMPTION"] = "REDEMPTION";
|
|
562
|
+
Intent2["REALLOCATION"] = "REALLOCATION";
|
|
563
|
+
return Intent2;
|
|
564
|
+
})(Intent || {});
|
|
560
565
|
var BenefitResultType = /* @__PURE__ */ ((BenefitResultType2) => {
|
|
561
566
|
BenefitResultType2["ELIGIBLE_BENEFIT"] = "ELIGIBLE_BENEFIT";
|
|
562
567
|
BenefitResultType2["NOT_ENOUGH_BALANCE"] = "NOT_ENOUGH_BALANCE";
|
|
@@ -760,7 +765,8 @@ async function checkBenefitEligibility2(poolId, options) {
|
|
|
760
765
|
targetDate: options?.targetDate,
|
|
761
766
|
additionalData: options?.additionalData,
|
|
762
767
|
beneficiary: options?.beneficiary,
|
|
763
|
-
namespace: options?.namespace
|
|
768
|
+
namespace: options?.namespace,
|
|
769
|
+
intent: options?.intent
|
|
764
770
|
});
|
|
765
771
|
const reqOpts = checkBenefitEligibility(payload);
|
|
766
772
|
sideEffects?.onSiteCall?.();
|
|
@@ -781,7 +787,8 @@ async function checkBenefitEligibility2(poolId, options) {
|
|
|
781
787
|
targetDate: "$[1].targetDate",
|
|
782
788
|
additionalData: "$[1].additionalData",
|
|
783
789
|
beneficiary: "$[1].beneficiary",
|
|
784
|
-
namespace: "$[1].namespace"
|
|
790
|
+
namespace: "$[1].namespace",
|
|
791
|
+
intent: "$[1].intent"
|
|
785
792
|
},
|
|
786
793
|
singleArgumentUnchanged: false
|
|
787
794
|
},
|
|
@@ -1033,6 +1040,7 @@ var queryPools4 = /* @__PURE__ */ createRESTModule(customQueryPools);
|
|
|
1033
1040
|
export {
|
|
1034
1041
|
BenefitResultType,
|
|
1035
1042
|
IdentityType,
|
|
1043
|
+
Intent,
|
|
1036
1044
|
PolicyExpressionType,
|
|
1037
1045
|
PoolOrigin,
|
|
1038
1046
|
PoolRenewalActionType,
|