@wix/auto_sdk_benefit-programs_pools 1.0.78 → 1.0.79
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 +73 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +159 -1
- package/build/cjs/index.typings.js +64 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +143 -2
- package/build/cjs/meta.js +47 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +72 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +159 -1
- package/build/es/index.typings.mjs +63 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +143 -2
- package/build/es/meta.mjs +46 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +20 -3
- package/build/internal/cjs/index.js +73 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +178 -1
- package/build/internal/cjs/index.typings.js +64 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +143 -2
- package/build/internal/cjs/meta.js +47 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +20 -3
- package/build/internal/es/index.mjs +72 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +178 -1
- package/build/internal/es/index.typings.mjs +63 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +143 -2
- package/build/internal/es/meta.mjs +46 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
|
-
import { Pool, UpdatePool, RedeemBenefitOptions, RedeemBenefitResponse, RedeemBenefitApplicationErrors, CheckBenefitEligibilityOptions, CheckBenefitEligibilityResponse, BulkCheckBenefitEligibilityOptions, BulkCheckBenefitEligibilityResponse, ItemReference, GetEligibleBenefitsOptions, GetEligibleBenefitsResponse, GetEligibleBenefitsApplicationErrors, BulkUpdatePoolsOptions, BulkUpdatePoolsResponse, CheckBenefitEligibilityByFilterOptions, CheckBenefitEligibilityByFilterResponse, CheckBenefitEligibilityByFilterApplicationErrors, PoolQuery, QueryPoolsOptions, typedQueryPools, PoolsQueryBuilder } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, ActionEvent, ApplicationError, AsyncResult, BalanceAmount, Benefit, BenefitAlreadyRedeemed, BenefitInfo, BenefitNotFound, BenefitRedeemed, BenefitReservationCanceled, BenefitReservationReleased, BenefitReserved, BenefitResult, BenefitResultResultOneOf, BenefitResultType, BenefitResultTypeWithLiterals, BenefitSelector, BulkActionMetadata, BulkCheckBenefitEligibilityRequest, BulkEligibilityCheckResult, BulkPoolResult, BulkUpdatePoolsRequest, ByPoolDefinitionIdAndProgramDefinitionIdOptions, ByProgramIdOptions, CancelBenefitReservationRequest, CancelBenefitReservationResponse, CheckBenefitEligibilityByFilterRequest, CheckBenefitEligibilityRequest, CommonIdentificationData, CommonIdentificationDataIdOneOf, CommonQueryWithEntityContext, CountNumberOfPoolsInProvisioningStatusRequest, CountNumberOfPoolsInProvisioningStatusResponse, CreatePoolRequest, CreatePoolResponse, CreditConfiguration, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomPolicy, DeletePoolRequest, DeletePoolResponse, Details, DomainEvent, DomainEventBodyOneOf, EligibilityCheckResult, EligibleBenefit, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, FailureDetails, FixedIntervalPolicy, GetEligibleBenefitsRequest, GetPoolRequest, GetPoolResponse, HealPoolRequest, HealPoolResponse, HealPoolTenantRequest, HealPoolTenantResponse, IdentificationData, IdentificationDataIdOneOf, IdentityType, IdentityTypeWithLiterals, Intent, IntentWithLiterals, InvalidPoolDefinitionReference, ItemMetadata, MaskedPool, MessageEnvelope, NotEnoughBalance, Policy, PolicyExpression, PolicyExpressionAnd, PolicyExpressionEvaluatedToFalse, PolicyExpressionExpressionOneOf, PolicyExpressionNot, PolicyExpressionOr, PolicyExpressionType, PolicyExpressionTypeWithLiterals, PolicyPolicyOneOf, PoolDefinitionAndProgramDefinition, PoolDefinitionLookupId, PoolDefinitionLookupIdIdOneOf, PoolEnded, PoolFilter, PoolInfo, PoolNotActive, PoolNotFound, PoolOrigin, PoolOriginWithLiterals, PoolPaused, PoolProgramInfo, PoolProvisionJobFinished, PoolProvisioned, PoolQuerySpec, PoolRenewalAction, PoolRenewalActionActionOneOf, PoolRenewalActionType, PoolRenewalActionTypeWithLiterals, PoolRenewed, PoolResumed, PoolSelector, PoolSelectorType, PoolSelectorTypeWithLiterals, PoolStatus, PoolStatusUpdateJobFinished, PoolStatusUpdateJobFinishedContextOneOf, PoolStatusUpdateParamsPoolInfo, PoolStatusWithLiterals, PoolsQueryResult, ProgramDefinitionInfo, ProgramInfo, ProvisionPoolsForProgramRequest, ProvisionPoolsForProgramResponse, ProvisionPoolsForProgramResponseResultOneOf, ProvisionPoolsForProgramResponseType, ProvisionPoolsForProgramResponseTypeWithLiterals, QueryPoolsRequest, QueryPoolsResponse, RateLimitedPolicy, RedeemBenefitRequest, RedemptionDetails, ReleaseBenefitReservationRequest, ReleaseBenefitReservationResponse, RenewPoolsForProgramRequest, RenewPoolsForProgramResponse, ReserveBenefitRequest, ReserveBenefitResponse, RestoreInfo, RolloverConfiguration, SortOrder, SortOrderWithLiterals, Sorting, SyncResult, TimePeriod, TimePeriodWithLiterals, Type, TypeWithLiterals, Update, UpdatePoolRequest, UpdatePoolResponse, UpdatePoolStatusRequest, UpdatePoolStatusRequestPoolSelectorOneOf, UpdatePoolStatusResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeekDay, WeekDayWithLiterals, utils } from './index.typings.js';
|
|
2
|
+
import { Pool, UpdatePool, RedeemBenefitOptions, RedeemBenefitResponse, RedeemBenefitApplicationErrors, ReallocateBenefitOptions, ReallocateBenefitResponse, ReallocateBenefitApplicationErrors, CheckBenefitEligibilityOptions, CheckBenefitEligibilityResponse, BulkCheckBenefitEligibilityOptions, BulkCheckBenefitEligibilityResponse, ItemReference, GetEligibleBenefitsOptions, GetEligibleBenefitsResponse, GetEligibleBenefitsApplicationErrors, BulkUpdatePoolsOptions, BulkUpdatePoolsResponse, CheckBenefitEligibilityByFilterOptions, CheckBenefitEligibilityByFilterResponse, CheckBenefitEligibilityByFilterApplicationErrors, PoolQuery, QueryPoolsOptions, typedQueryPools, PoolsQueryBuilder } from './index.typings.js';
|
|
3
|
+
export { AccountInfo, ActionEvent, AlreadyExecuted, ApplicationError, AsyncResult, BalanceAmount, Benefit, BenefitAlreadyRedeemed, BenefitInfo, BenefitNotFound, BenefitReallocated, BenefitRedeemed, BenefitReservationCanceled, BenefitReservationReleased, BenefitReserved, BenefitResult, BenefitResultResultOneOf, BenefitResultType, BenefitResultTypeWithLiterals, BenefitSelector, BulkActionMetadata, BulkCheckBenefitEligibilityRequest, BulkEligibilityCheckResult, BulkPoolResult, BulkUpdatePoolsRequest, ByPoolDefinitionIdAndProgramDefinitionIdOptions, ByProgramIdOptions, CancelBenefitReservationRequest, CancelBenefitReservationResponse, ChainOperationInProgress, CheckBenefitEligibilityByFilterRequest, CheckBenefitEligibilityRequest, CommonIdentificationData, CommonIdentificationDataIdOneOf, CommonQueryWithEntityContext, CountNumberOfPoolsInProvisioningStatusRequest, CountNumberOfPoolsInProvisioningStatusResponse, CreatePoolRequest, CreatePoolResponse, CreditConfiguration, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomPolicy, DeletePoolRequest, DeletePoolResponse, Details, DomainEvent, DomainEventBodyOneOf, EligibilityCheckResult, EligibleBenefit, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, FailureDetails, FixedIntervalPolicy, GetEligibleBenefitsRequest, GetPoolRequest, GetPoolResponse, HealPoolRequest, HealPoolResponse, HealPoolTenantRequest, HealPoolTenantResponse, IdentificationData, IdentificationDataIdOneOf, IdentityType, IdentityTypeWithLiterals, Intent, IntentWithLiterals, InvalidPoolDefinitionReference, ItemMetadata, MaskedPool, MessageEnvelope, NotEnoughBalance, NotLatestTransaction, Policy, PolicyExpression, PolicyExpressionAnd, PolicyExpressionEvaluatedToFalse, PolicyExpressionExpressionOneOf, PolicyExpressionNot, PolicyExpressionOr, PolicyExpressionType, PolicyExpressionTypeWithLiterals, PolicyPolicyOneOf, PoolDefinitionAndProgramDefinition, PoolDefinitionLookupId, PoolDefinitionLookupIdIdOneOf, PoolEnded, PoolFilter, PoolInfo, PoolNotActive, PoolNotFound, PoolOrigin, PoolOriginWithLiterals, PoolPaused, PoolProgramInfo, PoolProvisionJobFinished, PoolProvisioned, PoolQuerySpec, PoolRenewalAction, PoolRenewalActionActionOneOf, PoolRenewalActionType, PoolRenewalActionTypeWithLiterals, PoolRenewed, PoolResumed, PoolSelector, PoolSelectorType, PoolSelectorTypeWithLiterals, PoolStatus, PoolStatusUpdateJobFinished, PoolStatusUpdateJobFinishedContextOneOf, PoolStatusUpdateParamsPoolInfo, PoolStatusWithLiterals, PoolsQueryResult, ProgramDefinitionInfo, ProgramInfo, ProvisionPoolsForProgramRequest, ProvisionPoolsForProgramResponse, ProvisionPoolsForProgramResponseResultOneOf, ProvisionPoolsForProgramResponseType, ProvisionPoolsForProgramResponseTypeWithLiterals, QueryPoolsRequest, QueryPoolsResponse, RateLimitedPolicy, ReallocateBenefitRequest, ReallocationDetails, RedeemBenefitRequest, RedemptionAlreadyCanceled, RedemptionDetails, ReleaseBenefitReservationRequest, ReleaseBenefitReservationResponse, RenewPoolsForProgramRequest, RenewPoolsForProgramResponse, ReserveBenefitRequest, ReserveBenefitResponse, RestoreInfo, RolloverConfiguration, SortOrder, SortOrderWithLiterals, Sorting, SyncResult, TimePeriod, TimePeriodWithLiterals, TransactionNotFound, Type, TypeWithLiterals, Update, UpdatePoolRequest, UpdatePoolResponse, UpdatePoolStatusRequest, UpdatePoolStatusRequestPoolSelectorOneOf, UpdatePoolStatusResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeekDay, WeekDayWithLiterals, utils } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function getPool$1(httpClient: HttpClient): GetPoolSignature;
|
|
6
6
|
interface GetPoolSignature {
|
|
@@ -38,6 +38,21 @@ interface RedeemBenefitSignature {
|
|
|
38
38
|
__applicationErrorsType?: RedeemBenefitApplicationErrors;
|
|
39
39
|
}>;
|
|
40
40
|
}
|
|
41
|
+
/** @internal */
|
|
42
|
+
declare function reallocateBenefit$1(httpClient: HttpClient): ReallocateBenefitSignature;
|
|
43
|
+
interface ReallocateBenefitSignature {
|
|
44
|
+
/**
|
|
45
|
+
* Reallocates a redeemed benefit to a new target date.
|
|
46
|
+
*
|
|
47
|
+
* The reallocation is recorded as a new zero-amount transaction that supersedes the specified transaction in the redemption's transaction chain.
|
|
48
|
+
* The specified transaction must be the latest transaction in the chain. The item, count and benefit key are carried over from the original redemption; only the target date changes.
|
|
49
|
+
* @param - ID of the latest transaction in the redemption's transaction chain.
|
|
50
|
+
* For a redemption that has never been reallocated, this is the redemption transaction ID.
|
|
51
|
+
*/
|
|
52
|
+
(transactionId: string, options?: NonNullablePaths<ReallocateBenefitOptions, `idempotencyKey` | `namespace` | `targetDate`, 2>): Promise<NonNullablePaths<ReallocateBenefitResponse, `transactionId`, 2> & {
|
|
53
|
+
__applicationErrorsType?: ReallocateBenefitApplicationErrors;
|
|
54
|
+
}>;
|
|
55
|
+
}
|
|
41
56
|
declare function checkBenefitEligibility$1(httpClient: HttpClient): CheckBenefitEligibilitySignature;
|
|
42
57
|
interface CheckBenefitEligibilitySignature {
|
|
43
58
|
/**
|
|
@@ -102,6 +117,8 @@ declare function customQueryPools(httpClient: HttpClient): {
|
|
|
102
117
|
declare const getPool: MaybeContext<BuildRESTFunction<typeof getPool$1> & typeof getPool$1>;
|
|
103
118
|
declare const updatePool: MaybeContext<BuildRESTFunction<typeof updatePool$1> & typeof updatePool$1>;
|
|
104
119
|
declare const redeemBenefit: MaybeContext<BuildRESTFunction<typeof redeemBenefit$1> & typeof redeemBenefit$1>;
|
|
120
|
+
/** @internal */
|
|
121
|
+
declare const reallocateBenefit: MaybeContext<BuildRESTFunction<typeof reallocateBenefit$1> & typeof reallocateBenefit$1>;
|
|
105
122
|
declare const checkBenefitEligibility: MaybeContext<BuildRESTFunction<typeof checkBenefitEligibility$1> & typeof checkBenefitEligibility$1>;
|
|
106
123
|
declare const bulkCheckBenefitEligibility: MaybeContext<BuildRESTFunction<typeof bulkCheckBenefitEligibility$1> & typeof bulkCheckBenefitEligibility$1>;
|
|
107
124
|
declare const getEligibleBenefits: MaybeContext<BuildRESTFunction<typeof getEligibleBenefits$1> & typeof getEligibleBenefits$1>;
|
|
@@ -109,4 +126,4 @@ declare const bulkUpdatePools: MaybeContext<BuildRESTFunction<typeof bulkUpdateP
|
|
|
109
126
|
declare const checkBenefitEligibilityByFilter: MaybeContext<BuildRESTFunction<typeof checkBenefitEligibilityByFilter$1> & typeof checkBenefitEligibilityByFilter$1>;
|
|
110
127
|
declare const queryPools: MaybeContext<BuildRESTFunction<typeof customQueryPools> & typeof customQueryPools>;
|
|
111
128
|
|
|
112
|
-
export { BulkCheckBenefitEligibilityOptions, BulkCheckBenefitEligibilityResponse, BulkUpdatePoolsOptions, BulkUpdatePoolsResponse, CheckBenefitEligibilityByFilterApplicationErrors, CheckBenefitEligibilityByFilterOptions, CheckBenefitEligibilityByFilterResponse, CheckBenefitEligibilityOptions, CheckBenefitEligibilityResponse, GetEligibleBenefitsApplicationErrors, GetEligibleBenefitsOptions, GetEligibleBenefitsResponse, ItemReference, Pool, PoolQuery, PoolsQueryBuilder, QueryPoolsOptions, RedeemBenefitApplicationErrors, RedeemBenefitOptions, RedeemBenefitResponse, UpdatePool, bulkCheckBenefitEligibility, bulkUpdatePools, checkBenefitEligibility, checkBenefitEligibilityByFilter, getEligibleBenefits, getPool, queryPools, redeemBenefit, updatePool };
|
|
129
|
+
export { BulkCheckBenefitEligibilityOptions, BulkCheckBenefitEligibilityResponse, BulkUpdatePoolsOptions, BulkUpdatePoolsResponse, CheckBenefitEligibilityByFilterApplicationErrors, CheckBenefitEligibilityByFilterOptions, CheckBenefitEligibilityByFilterResponse, CheckBenefitEligibilityOptions, CheckBenefitEligibilityResponse, GetEligibleBenefitsApplicationErrors, GetEligibleBenefitsOptions, GetEligibleBenefitsResponse, ItemReference, Pool, PoolQuery, PoolsQueryBuilder, QueryPoolsOptions, ReallocateBenefitApplicationErrors, ReallocateBenefitOptions, ReallocateBenefitResponse, RedeemBenefitApplicationErrors, RedeemBenefitOptions, RedeemBenefitResponse, UpdatePool, bulkCheckBenefitEligibility, bulkUpdatePools, checkBenefitEligibility, checkBenefitEligibilityByFilter, getEligibleBenefits, getPool, queryPools, reallocateBenefit, redeemBenefit, updatePool };
|
|
@@ -41,6 +41,7 @@ __export(index_exports, {
|
|
|
41
41
|
getEligibleBenefits: () => getEligibleBenefits4,
|
|
42
42
|
getPool: () => getPool4,
|
|
43
43
|
queryPools: () => queryPools4,
|
|
44
|
+
reallocateBenefit: () => reallocateBenefit4,
|
|
44
45
|
redeemBenefit: () => redeemBenefit4,
|
|
45
46
|
updatePool: () => updatePool4,
|
|
46
47
|
utils: () => utils
|
|
@@ -382,6 +383,33 @@ function redeemBenefit(payload) {
|
|
|
382
383
|
}
|
|
383
384
|
return __redeemBenefit;
|
|
384
385
|
}
|
|
386
|
+
function reallocateBenefit(payload) {
|
|
387
|
+
function __reallocateBenefit({ host }) {
|
|
388
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
389
|
+
{
|
|
390
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
391
|
+
paths: [{ path: "targetDate" }]
|
|
392
|
+
}
|
|
393
|
+
]);
|
|
394
|
+
const metadata = {
|
|
395
|
+
entityFqdn: "wix.benefit_programs.v1.pool",
|
|
396
|
+
method: "POST",
|
|
397
|
+
methodFqn: "wix.benefit_programs.v1.pool.PoolService.ReallocateBenefit",
|
|
398
|
+
packageName: PACKAGE_NAME,
|
|
399
|
+
migrationOptions: {
|
|
400
|
+
optInTransformResponse: true
|
|
401
|
+
},
|
|
402
|
+
url: resolveWixBenefitProgramsV1PoolPoolServiceUrl({
|
|
403
|
+
protoPath: "/v1/benefits/reallocate",
|
|
404
|
+
data: serializedData,
|
|
405
|
+
host
|
|
406
|
+
}),
|
|
407
|
+
data: serializedData
|
|
408
|
+
};
|
|
409
|
+
return metadata;
|
|
410
|
+
}
|
|
411
|
+
return __reallocateBenefit;
|
|
412
|
+
}
|
|
385
413
|
function checkBenefitEligibility(payload) {
|
|
386
414
|
function __checkBenefitEligibility({ host }) {
|
|
387
415
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
@@ -801,6 +829,41 @@ async function redeemBenefit2(poolId, options) {
|
|
|
801
829
|
throw transformedError;
|
|
802
830
|
}
|
|
803
831
|
}
|
|
832
|
+
async function reallocateBenefit2(transactionId, options) {
|
|
833
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
834
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
835
|
+
transactionId,
|
|
836
|
+
targetDate: options?.targetDate,
|
|
837
|
+
idempotencyKey: options?.idempotencyKey,
|
|
838
|
+
beneficiary: options?.beneficiary,
|
|
839
|
+
namespace: options?.namespace
|
|
840
|
+
});
|
|
841
|
+
const reqOpts = reallocateBenefit(payload);
|
|
842
|
+
sideEffects?.onSiteCall?.();
|
|
843
|
+
try {
|
|
844
|
+
const result = await httpClient.request(reqOpts);
|
|
845
|
+
sideEffects?.onSuccess?.(result);
|
|
846
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
847
|
+
} catch (err) {
|
|
848
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
849
|
+
err,
|
|
850
|
+
{
|
|
851
|
+
spreadPathsToArguments: {},
|
|
852
|
+
explicitPathsToArguments: {
|
|
853
|
+
transactionId: "$[0]",
|
|
854
|
+
targetDate: "$[1].targetDate",
|
|
855
|
+
idempotencyKey: "$[1].idempotencyKey",
|
|
856
|
+
beneficiary: "$[1].beneficiary",
|
|
857
|
+
namespace: "$[1].namespace"
|
|
858
|
+
},
|
|
859
|
+
singleArgumentUnchanged: false
|
|
860
|
+
},
|
|
861
|
+
["transactionId", "options"]
|
|
862
|
+
);
|
|
863
|
+
sideEffects?.onError?.(err);
|
|
864
|
+
throw transformedError;
|
|
865
|
+
}
|
|
866
|
+
}
|
|
804
867
|
async function checkBenefitEligibility2(poolId, options) {
|
|
805
868
|
const { httpClient, sideEffects } = arguments[2];
|
|
806
869
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
@@ -1022,6 +1085,14 @@ function redeemBenefit3(httpClient) {
|
|
|
1022
1085
|
{ httpClient }
|
|
1023
1086
|
);
|
|
1024
1087
|
}
|
|
1088
|
+
function reallocateBenefit3(httpClient) {
|
|
1089
|
+
return (transactionId, options) => reallocateBenefit2(
|
|
1090
|
+
transactionId,
|
|
1091
|
+
options,
|
|
1092
|
+
// @ts-ignore
|
|
1093
|
+
{ httpClient }
|
|
1094
|
+
);
|
|
1095
|
+
}
|
|
1025
1096
|
function checkBenefitEligibility3(httpClient) {
|
|
1026
1097
|
return (poolId, options) => checkBenefitEligibility2(
|
|
1027
1098
|
poolId,
|
|
@@ -1077,6 +1148,7 @@ function customQueryPools(httpClient) {
|
|
|
1077
1148
|
var getPool4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getPool3);
|
|
1078
1149
|
var updatePool4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(updatePool3);
|
|
1079
1150
|
var redeemBenefit4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(redeemBenefit3);
|
|
1151
|
+
var reallocateBenefit4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(reallocateBenefit3);
|
|
1080
1152
|
var checkBenefitEligibility4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(checkBenefitEligibility3);
|
|
1081
1153
|
var bulkCheckBenefitEligibility4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkCheckBenefitEligibility3);
|
|
1082
1154
|
var getEligibleBenefits4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getEligibleBenefits3);
|
|
@@ -1106,6 +1178,7 @@ var queryPools4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(cus
|
|
|
1106
1178
|
getEligibleBenefits,
|
|
1107
1179
|
getPool,
|
|
1108
1180
|
queryPools,
|
|
1181
|
+
reallocateBenefit,
|
|
1109
1182
|
redeemBenefit,
|
|
1110
1183
|
updatePool,
|
|
1111
1184
|
utils
|