@wix/auto_sdk_benefit-programs_pools 1.0.51 → 1.0.52
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 +2 -2
- package/build/cjs/index.js +11 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +106 -13
- package/build/cjs/index.typings.js +11 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +105 -12
- package/build/cjs/meta.js +11 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +10 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +106 -13
- package/build/es/index.typings.mjs +10 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +105 -12
- package/build/es/meta.mjs +10 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +11 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +106 -13
- package/build/internal/cjs/index.typings.js +11 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +105 -12
- package/build/internal/cjs/meta.js +11 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +10 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +106 -13
- package/build/internal/es/index.typings.mjs +10 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +105 -12
- package/build/internal/es/meta.mjs +10 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -1144,30 +1144,76 @@ interface CheckBenefitEligibilityResponse {
|
|
|
1144
1144
|
result?: EligibilityCheckResult;
|
|
1145
1145
|
}
|
|
1146
1146
|
interface EligibilityCheckResult extends EligibilityCheckResultResultOneOf {
|
|
1147
|
-
/**
|
|
1147
|
+
/**
|
|
1148
|
+
* Returned when item is eligible to be redeemed.
|
|
1149
|
+
* @deprecated Returned when item is eligible to be redeemed.
|
|
1150
|
+
* @targetRemovalDate 2026-05-31
|
|
1151
|
+
*/
|
|
1148
1152
|
eligibleOptions?: Eligible;
|
|
1149
|
-
/**
|
|
1153
|
+
/**
|
|
1154
|
+
* Returned when the pool's associated balance is lower than the cost of redeeming the items.
|
|
1155
|
+
* @deprecated Returned when the pool's associated balance is lower than the cost of redeeming the items.
|
|
1156
|
+
* @targetRemovalDate 2026-05-31
|
|
1157
|
+
*/
|
|
1150
1158
|
notEnoughBalanceOptions?: NotEnoughBalance;
|
|
1151
|
-
/**
|
|
1159
|
+
/**
|
|
1160
|
+
* Returned when the pool isn't active.
|
|
1161
|
+
* @deprecated Returned when the pool isn't active.
|
|
1162
|
+
* @targetRemovalDate 2026-05-31
|
|
1163
|
+
*/
|
|
1152
1164
|
poolNotActiveOptions?: PoolNotActive;
|
|
1153
|
-
/**
|
|
1165
|
+
/**
|
|
1166
|
+
* Returned when invalid benefit details are provided.
|
|
1167
|
+
* @deprecated Returned when invalid benefit details are provided.
|
|
1168
|
+
* @targetRemovalDate 2026-05-31
|
|
1169
|
+
*/
|
|
1154
1170
|
benefitNotFoundOptions?: BenefitNotFound;
|
|
1155
|
-
/**
|
|
1171
|
+
/**
|
|
1172
|
+
* Returned when invalid pool details are provided.
|
|
1173
|
+
* @deprecated Returned when invalid pool details are provided.
|
|
1174
|
+
* @targetRemovalDate 2026-05-31
|
|
1175
|
+
*/
|
|
1156
1176
|
poolNotFoundOptions?: PoolNotFound;
|
|
1157
|
-
/**
|
|
1177
|
+
/**
|
|
1178
|
+
* Eligibility status.
|
|
1179
|
+
* @deprecated Eligibility status.
|
|
1180
|
+
* @targetRemovalDate 2026-05-31
|
|
1181
|
+
*/
|
|
1158
1182
|
type?: EligibilityCheckResultTypeWithLiterals;
|
|
1183
|
+
/** @maxSize 10 */
|
|
1184
|
+
benefitResults?: BenefitResult[];
|
|
1159
1185
|
}
|
|
1160
1186
|
/** @oneof */
|
|
1161
1187
|
interface EligibilityCheckResultResultOneOf {
|
|
1162
|
-
/**
|
|
1188
|
+
/**
|
|
1189
|
+
* Returned when item is eligible to be redeemed.
|
|
1190
|
+
* @deprecated Returned when item is eligible to be redeemed.
|
|
1191
|
+
* @targetRemovalDate 2026-05-31
|
|
1192
|
+
*/
|
|
1163
1193
|
eligibleOptions?: Eligible;
|
|
1164
|
-
/**
|
|
1194
|
+
/**
|
|
1195
|
+
* Returned when the pool's associated balance is lower than the cost of redeeming the items.
|
|
1196
|
+
* @deprecated Returned when the pool's associated balance is lower than the cost of redeeming the items.
|
|
1197
|
+
* @targetRemovalDate 2026-05-31
|
|
1198
|
+
*/
|
|
1165
1199
|
notEnoughBalanceOptions?: NotEnoughBalance;
|
|
1166
|
-
/**
|
|
1200
|
+
/**
|
|
1201
|
+
* Returned when the pool isn't active.
|
|
1202
|
+
* @deprecated Returned when the pool isn't active.
|
|
1203
|
+
* @targetRemovalDate 2026-05-31
|
|
1204
|
+
*/
|
|
1167
1205
|
poolNotActiveOptions?: PoolNotActive;
|
|
1168
|
-
/**
|
|
1206
|
+
/**
|
|
1207
|
+
* Returned when invalid benefit details are provided.
|
|
1208
|
+
* @deprecated Returned when invalid benefit details are provided.
|
|
1209
|
+
* @targetRemovalDate 2026-05-31
|
|
1210
|
+
*/
|
|
1169
1211
|
benefitNotFoundOptions?: BenefitNotFound;
|
|
1170
|
-
/**
|
|
1212
|
+
/**
|
|
1213
|
+
* Returned when invalid pool details are provided.
|
|
1214
|
+
* @deprecated Returned when invalid pool details are provided.
|
|
1215
|
+
* @targetRemovalDate 2026-05-31
|
|
1216
|
+
*/
|
|
1171
1217
|
poolNotFoundOptions?: PoolNotFound;
|
|
1172
1218
|
}
|
|
1173
1219
|
interface EligibleBenefit {
|
|
@@ -1190,6 +1236,22 @@ interface EligibleBenefit {
|
|
|
1190
1236
|
*/
|
|
1191
1237
|
price?: string | null;
|
|
1192
1238
|
}
|
|
1239
|
+
declare enum BenefitResultType {
|
|
1240
|
+
/** Unknown eligibility. */
|
|
1241
|
+
UNKNOWN = "UNKNOWN",
|
|
1242
|
+
/** Item is eligible to be redeemed. */
|
|
1243
|
+
ELIGIBLE_BENEFIT = "ELIGIBLE_BENEFIT",
|
|
1244
|
+
/** Balance is lower than the cost of redeeming the items. */
|
|
1245
|
+
NOT_ENOUGH_BALANCE = "NOT_ENOUGH_BALANCE",
|
|
1246
|
+
/** Pool isn't active. */
|
|
1247
|
+
POOL_NOT_ACTIVE = "POOL_NOT_ACTIVE",
|
|
1248
|
+
/** Invalid benefit details provided. */
|
|
1249
|
+
BENEFIT_NOT_FOUND = "BENEFIT_NOT_FOUND",
|
|
1250
|
+
/** Invalid pool details provided. */
|
|
1251
|
+
POOL_NOT_FOUND = "POOL_NOT_FOUND"
|
|
1252
|
+
}
|
|
1253
|
+
/** @enumType */
|
|
1254
|
+
type BenefitResultTypeWithLiterals = BenefitResultType | 'UNKNOWN' | 'ELIGIBLE_BENEFIT' | 'NOT_ENOUGH_BALANCE' | 'POOL_NOT_ACTIVE' | 'BENEFIT_NOT_FOUND' | 'POOL_NOT_FOUND';
|
|
1193
1255
|
declare enum EligibilityCheckResultType {
|
|
1194
1256
|
/** Unknown eligibility. */
|
|
1195
1257
|
UNKNOWN = "UNKNOWN",
|
|
@@ -1213,6 +1275,37 @@ interface Eligible {
|
|
|
1213
1275
|
*/
|
|
1214
1276
|
eligibleBenefits?: EligibleBenefit[];
|
|
1215
1277
|
}
|
|
1278
|
+
interface BenefitResult extends BenefitResultResultOneOf {
|
|
1279
|
+
/** Returned when item is eligible to be redeemed. */
|
|
1280
|
+
eligibleBenefitOptions?: EligibleBenefit;
|
|
1281
|
+
/** Returned when the pool's associated balance is lower than the cost of redeeming the items. */
|
|
1282
|
+
notEnoughBalanceOptions?: NotEnoughBalance;
|
|
1283
|
+
/** Returned when the policy is false. */
|
|
1284
|
+
policyExpressionEvaluatedToFalseOptions?: PolicyExpressionEvaluatedToFalse;
|
|
1285
|
+
/** Returned when the pool isn't active. */
|
|
1286
|
+
poolNotActiveOptions?: PoolNotActive;
|
|
1287
|
+
/** Returned when invalid benefit details are provided. */
|
|
1288
|
+
benefitNotFoundOptions?: BenefitNotFound;
|
|
1289
|
+
/** Returned when invalid pool details are provided. */
|
|
1290
|
+
poolNotFoundOptions?: PoolNotFound;
|
|
1291
|
+
/** Eligibility status. */
|
|
1292
|
+
type?: BenefitResultTypeWithLiterals;
|
|
1293
|
+
}
|
|
1294
|
+
/** @oneof */
|
|
1295
|
+
interface BenefitResultResultOneOf {
|
|
1296
|
+
/** Returned when item is eligible to be redeemed. */
|
|
1297
|
+
eligibleBenefitOptions?: EligibleBenefit;
|
|
1298
|
+
/** Returned when the pool's associated balance is lower than the cost of redeeming the items. */
|
|
1299
|
+
notEnoughBalanceOptions?: NotEnoughBalance;
|
|
1300
|
+
/** Returned when the policy is false. */
|
|
1301
|
+
policyExpressionEvaluatedToFalseOptions?: PolicyExpressionEvaluatedToFalse;
|
|
1302
|
+
/** Returned when the pool isn't active. */
|
|
1303
|
+
poolNotActiveOptions?: PoolNotActive;
|
|
1304
|
+
/** Returned when invalid benefit details are provided. */
|
|
1305
|
+
benefitNotFoundOptions?: BenefitNotFound;
|
|
1306
|
+
/** Returned when invalid pool details are provided. */
|
|
1307
|
+
poolNotFoundOptions?: PoolNotFound;
|
|
1308
|
+
}
|
|
1216
1309
|
interface BulkCheckBenefitEligibilityRequest {
|
|
1217
1310
|
/**
|
|
1218
1311
|
* List of benefits to check.
|
|
@@ -1851,4 +1944,4 @@ declare function getEligibleBenefits(): __PublicMethodMetaInfo<'POST', {}, GetEl
|
|
|
1851
1944
|
declare function bulkUpdatePools(): __PublicMethodMetaInfo<'POST', {}, BulkUpdatePoolsRequest$1, BulkUpdatePoolsRequest, BulkUpdatePoolsResponse$1, BulkUpdatePoolsResponse>;
|
|
1852
1945
|
declare function checkEligibilityByFilter(): __PublicMethodMetaInfo<'POST', {}, CheckEligibilityByFilterRequest$1, CheckEligibilityByFilterRequest, CheckEligibilityByFilterResponse$1, CheckEligibilityByFilterResponse>;
|
|
1853
1946
|
|
|
1854
|
-
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type ApplicationError as ApplicationErrorOriginal, type AsyncResult as AsyncResultOriginal, type BalanceAmount as BalanceAmountOriginal, type BenefitAlreadyRedeemed as BenefitAlreadyRedeemedOriginal, type BenefitInfo as BenefitInfoOriginal, type BenefitNotFound as BenefitNotFoundOriginal, type Benefit as BenefitOriginal, type BenefitRedeemed as BenefitRedeemedOriginal, type BenefitReservationCanceled as BenefitReservationCanceledOriginal, type BenefitReservationReleased as BenefitReservationReleasedOriginal, type BenefitReserved as BenefitReservedOriginal, type BenefitSelector as BenefitSelectorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCheckBenefitEligibilityRequest as BulkCheckBenefitEligibilityRequestOriginal, type BulkCheckBenefitEligibilityResponse as BulkCheckBenefitEligibilityResponseOriginal, type BulkEligibilityCheckResult as BulkEligibilityCheckResultOriginal, type BulkPoolResult as BulkPoolResultOriginal, type BulkUpdatePoolsRequest as BulkUpdatePoolsRequestOriginal, type BulkUpdatePoolsResponse as BulkUpdatePoolsResponseOriginal, type ByItemReferenceFilter as ByItemReferenceFilterOriginal, type ByItemReference as ByItemReferenceOriginal, type ByPoolDefinitionIdAndProgramDefinitionIdOptions as ByPoolDefinitionIdAndProgramDefinitionIdOptionsOriginal, type ByProgramIdOptions as ByProgramIdOptionsOriginal, type CancelBenefitReservationRequest as CancelBenefitReservationRequestOriginal, type CancelBenefitReservationResponse as CancelBenefitReservationResponseOriginal, type CheckBenefitEligibilityRequest as CheckBenefitEligibilityRequestOriginal, type CheckBenefitEligibilityResponse as CheckBenefitEligibilityResponseOriginal, type CheckEligibilityByFilterRequest as CheckEligibilityByFilterRequestOriginal, type CheckEligibilityByFilterResponse as CheckEligibilityByFilterResponseOriginal, type CommonIdentificationDataIdOneOf as CommonIdentificationDataIdOneOfOriginal, type CommonIdentificationData as CommonIdentificationDataOriginal, type CountNumberOfPoolsInProvisioningStatusRequest as CountNumberOfPoolsInProvisioningStatusRequestOriginal, type CountNumberOfPoolsInProvisioningStatusResponse as CountNumberOfPoolsInProvisioningStatusResponseOriginal, type CreatePoolRequest as CreatePoolRequestOriginal, type CreatePoolResponse as CreatePoolResponseOriginal, type CreditConfiguration as CreditConfigurationOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomPolicy as CustomPolicyOriginal, type DeletePoolRequest as DeletePoolRequestOriginal, type DeletePoolResponse as DeletePoolResponseOriginal, type Details as DetailsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EligibilityCheckResult as EligibilityCheckResultOriginal, type EligibilityCheckResultResultOneOf as EligibilityCheckResultResultOneOfOriginal, EligibilityCheckResultType as EligibilityCheckResultTypeOriginal, type EligibilityCheckResultTypeWithLiterals as EligibilityCheckResultTypeWithLiteralsOriginal, type EligibleBenefit as EligibleBenefitOriginal, type Eligible as EligibleOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FailureDetails as FailureDetailsOriginal, type FilterFilterOneOf as FilterFilterOneOfOriginal, type Filter as FilterOriginal, type FixedIntervalPolicy as FixedIntervalPolicyOriginal, type GetEligibleBenefitsApplicationErrors as GetEligibleBenefitsApplicationErrorsOriginal, type GetEligibleBenefitsRequest as GetEligibleBenefitsRequestOriginal, type GetEligibleBenefitsResponse as GetEligibleBenefitsResponseOriginal, type GetPoolRequest as GetPoolRequestOriginal, type GetPoolResponse as GetPoolResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, IdentityType as IdentityTypeOriginal, type IdentityTypeWithLiterals as IdentityTypeWithLiteralsOriginal, type InvalidPoolDefinitionReference as InvalidPoolDefinitionReferenceOriginal, type ItemMetadata as ItemMetadataOriginal, type ItemReference as ItemReferenceOriginal, type ListPoolsRequest as ListPoolsRequestOriginal, ListPoolsRequestType as ListPoolsRequestTypeOriginal, type ListPoolsRequestTypeWithLiterals as ListPoolsRequestTypeWithLiteralsOriginal, type ListPoolsResponse as ListPoolsResponseOriginal, type MaskedPool as MaskedPoolOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type NotEnoughBalance as NotEnoughBalanceOriginal, type PolicyExpressionAnd as PolicyExpressionAndOriginal, type PolicyExpressionEvaluatedToFalse as PolicyExpressionEvaluatedToFalseOriginal, type PolicyExpressionExpressionOneOf as PolicyExpressionExpressionOneOfOriginal, type PolicyExpressionNot as PolicyExpressionNotOriginal, type PolicyExpressionOr as PolicyExpressionOrOriginal, type PolicyExpression as PolicyExpressionOriginal, PolicyExpressionType as PolicyExpressionTypeOriginal, type PolicyExpressionTypeWithLiterals as PolicyExpressionTypeWithLiteralsOriginal, type Policy as PolicyOriginal, type PolicyPolicyOneOf as PolicyPolicyOneOfOriginal, type PoolDefinitionAndProgramDefinition as PoolDefinitionAndProgramDefinitionOriginal, type PoolDefinitionLookupIdIdOneOf as PoolDefinitionLookupIdIdOneOfOriginal, type PoolDefinitionLookupId as PoolDefinitionLookupIdOriginal, type PoolEnded as PoolEndedOriginal, type PoolFilter as PoolFilterOriginal, type PoolInfo as PoolInfoOriginal, type PoolNotActive as PoolNotActiveOriginal, type PoolNotFound as PoolNotFoundOriginal, PoolOrigin as PoolOriginOriginal, type PoolOriginWithLiterals as PoolOriginWithLiteralsOriginal, type Pool as PoolOriginal, type PoolPaused as PoolPausedOriginal, type PoolProgramInfo as PoolProgramInfoOriginal, type PoolProvisionJobFinished as PoolProvisionJobFinishedOriginal, type PoolProvisioned as PoolProvisionedOriginal, type PoolRenewalActionActionOneOf as PoolRenewalActionActionOneOfOriginal, type PoolRenewalAction as PoolRenewalActionOriginal, PoolRenewalActionType as PoolRenewalActionTypeOriginal, type PoolRenewalActionTypeWithLiterals as PoolRenewalActionTypeWithLiteralsOriginal, type PoolRenewed as PoolRenewedOriginal, type PoolResumed as PoolResumedOriginal, PoolSelectorType as PoolSelectorTypeOriginal, type PoolSelectorTypeWithLiterals as PoolSelectorTypeWithLiteralsOriginal, PoolStatus as PoolStatusOriginal, type PoolStatusUpdateJobFinishedContextOneOf as PoolStatusUpdateJobFinishedContextOneOfOriginal, type PoolStatusUpdateJobFinished as PoolStatusUpdateJobFinishedOriginal, type PoolStatusUpdateParamsPoolInfo as PoolStatusUpdateParamsPoolInfoOriginal, type PoolStatusWithLiterals as PoolStatusWithLiteralsOriginal, type PoolWithItems as PoolWithItemsOriginal, type ProgramDefinitionInfo as ProgramDefinitionInfoOriginal, type ProgramInfo as ProgramInfoOriginal, type ProvisionPoolsForProgramRequest as ProvisionPoolsForProgramRequestOriginal, type ProvisionPoolsForProgramResponse as ProvisionPoolsForProgramResponseOriginal, type ProvisionPoolsForProgramResponseResultOneOf as ProvisionPoolsForProgramResponseResultOneOfOriginal, ProvisionPoolsForProgramResponseType as ProvisionPoolsForProgramResponseTypeOriginal, type ProvisionPoolsForProgramResponseTypeWithLiterals as ProvisionPoolsForProgramResponseTypeWithLiteralsOriginal, type QueryPoolsRequest as QueryPoolsRequestOriginal, type QueryPoolsResponse as QueryPoolsResponseOriginal, type RateLimitedPolicy as RateLimitedPolicyOriginal, type RedeemBenefitApplicationErrors as RedeemBenefitApplicationErrorsOriginal, type RedeemBenefitRequest as RedeemBenefitRequestOriginal, type RedeemBenefitResponse as RedeemBenefitResponseOriginal, type RedemptionDetails as RedemptionDetailsOriginal, type ReleaseBenefitReservationRequest as ReleaseBenefitReservationRequestOriginal, type ReleaseBenefitReservationResponse as ReleaseBenefitReservationResponseOriginal, type RenewPoolsForProgramRequest as RenewPoolsForProgramRequestOriginal, type RenewPoolsForProgramResponse as RenewPoolsForProgramResponseOriginal, type ReserveBenefitRequest as ReserveBenefitRequestOriginal, type ReserveBenefitResponse as ReserveBenefitResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RolloverConfiguration as RolloverConfigurationOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SyncResult as SyncResultOriginal, TimePeriod as TimePeriodOriginal, type TimePeriodWithLiterals as TimePeriodWithLiteralsOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type Update as UpdateOriginal, type UpdatePoolRequest as UpdatePoolRequestOriginal, type UpdatePoolResponse as UpdatePoolResponseOriginal, type UpdatePoolStatusRequest as UpdatePoolStatusRequestOriginal, type UpdatePoolStatusRequestPoolSelectorOneOf as UpdatePoolStatusRequestPoolSelectorOneOfOriginal, type UpdatePoolStatusResponse as UpdatePoolStatusResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeekDay as WeekDayOriginal, type WeekDayWithLiterals as WeekDayWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCheckBenefitEligibility, bulkUpdatePools, checkBenefitEligibility, checkEligibilityByFilter, getEligibleBenefits, getPool, queryPools, redeemBenefit, updatePool };
|
|
1947
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type ApplicationError as ApplicationErrorOriginal, type AsyncResult as AsyncResultOriginal, type BalanceAmount as BalanceAmountOriginal, type BenefitAlreadyRedeemed as BenefitAlreadyRedeemedOriginal, type BenefitInfo as BenefitInfoOriginal, type BenefitNotFound as BenefitNotFoundOriginal, type Benefit as BenefitOriginal, type BenefitRedeemed as BenefitRedeemedOriginal, type BenefitReservationCanceled as BenefitReservationCanceledOriginal, type BenefitReservationReleased as BenefitReservationReleasedOriginal, type BenefitReserved as BenefitReservedOriginal, type BenefitResult as BenefitResultOriginal, type BenefitResultResultOneOf as BenefitResultResultOneOfOriginal, BenefitResultType as BenefitResultTypeOriginal, type BenefitResultTypeWithLiterals as BenefitResultTypeWithLiteralsOriginal, type BenefitSelector as BenefitSelectorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCheckBenefitEligibilityRequest as BulkCheckBenefitEligibilityRequestOriginal, type BulkCheckBenefitEligibilityResponse as BulkCheckBenefitEligibilityResponseOriginal, type BulkEligibilityCheckResult as BulkEligibilityCheckResultOriginal, type BulkPoolResult as BulkPoolResultOriginal, type BulkUpdatePoolsRequest as BulkUpdatePoolsRequestOriginal, type BulkUpdatePoolsResponse as BulkUpdatePoolsResponseOriginal, type ByItemReferenceFilter as ByItemReferenceFilterOriginal, type ByItemReference as ByItemReferenceOriginal, type ByPoolDefinitionIdAndProgramDefinitionIdOptions as ByPoolDefinitionIdAndProgramDefinitionIdOptionsOriginal, type ByProgramIdOptions as ByProgramIdOptionsOriginal, type CancelBenefitReservationRequest as CancelBenefitReservationRequestOriginal, type CancelBenefitReservationResponse as CancelBenefitReservationResponseOriginal, type CheckBenefitEligibilityRequest as CheckBenefitEligibilityRequestOriginal, type CheckBenefitEligibilityResponse as CheckBenefitEligibilityResponseOriginal, type CheckEligibilityByFilterRequest as CheckEligibilityByFilterRequestOriginal, type CheckEligibilityByFilterResponse as CheckEligibilityByFilterResponseOriginal, type CommonIdentificationDataIdOneOf as CommonIdentificationDataIdOneOfOriginal, type CommonIdentificationData as CommonIdentificationDataOriginal, type CountNumberOfPoolsInProvisioningStatusRequest as CountNumberOfPoolsInProvisioningStatusRequestOriginal, type CountNumberOfPoolsInProvisioningStatusResponse as CountNumberOfPoolsInProvisioningStatusResponseOriginal, type CreatePoolRequest as CreatePoolRequestOriginal, type CreatePoolResponse as CreatePoolResponseOriginal, type CreditConfiguration as CreditConfigurationOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomPolicy as CustomPolicyOriginal, type DeletePoolRequest as DeletePoolRequestOriginal, type DeletePoolResponse as DeletePoolResponseOriginal, type Details as DetailsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EligibilityCheckResult as EligibilityCheckResultOriginal, type EligibilityCheckResultResultOneOf as EligibilityCheckResultResultOneOfOriginal, EligibilityCheckResultType as EligibilityCheckResultTypeOriginal, type EligibilityCheckResultTypeWithLiterals as EligibilityCheckResultTypeWithLiteralsOriginal, type EligibleBenefit as EligibleBenefitOriginal, type Eligible as EligibleOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FailureDetails as FailureDetailsOriginal, type FilterFilterOneOf as FilterFilterOneOfOriginal, type Filter as FilterOriginal, type FixedIntervalPolicy as FixedIntervalPolicyOriginal, type GetEligibleBenefitsApplicationErrors as GetEligibleBenefitsApplicationErrorsOriginal, type GetEligibleBenefitsRequest as GetEligibleBenefitsRequestOriginal, type GetEligibleBenefitsResponse as GetEligibleBenefitsResponseOriginal, type GetPoolRequest as GetPoolRequestOriginal, type GetPoolResponse as GetPoolResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, IdentityType as IdentityTypeOriginal, type IdentityTypeWithLiterals as IdentityTypeWithLiteralsOriginal, type InvalidPoolDefinitionReference as InvalidPoolDefinitionReferenceOriginal, type ItemMetadata as ItemMetadataOriginal, type ItemReference as ItemReferenceOriginal, type ListPoolsRequest as ListPoolsRequestOriginal, ListPoolsRequestType as ListPoolsRequestTypeOriginal, type ListPoolsRequestTypeWithLiterals as ListPoolsRequestTypeWithLiteralsOriginal, type ListPoolsResponse as ListPoolsResponseOriginal, type MaskedPool as MaskedPoolOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type NotEnoughBalance as NotEnoughBalanceOriginal, type PolicyExpressionAnd as PolicyExpressionAndOriginal, type PolicyExpressionEvaluatedToFalse as PolicyExpressionEvaluatedToFalseOriginal, type PolicyExpressionExpressionOneOf as PolicyExpressionExpressionOneOfOriginal, type PolicyExpressionNot as PolicyExpressionNotOriginal, type PolicyExpressionOr as PolicyExpressionOrOriginal, type PolicyExpression as PolicyExpressionOriginal, PolicyExpressionType as PolicyExpressionTypeOriginal, type PolicyExpressionTypeWithLiterals as PolicyExpressionTypeWithLiteralsOriginal, type Policy as PolicyOriginal, type PolicyPolicyOneOf as PolicyPolicyOneOfOriginal, type PoolDefinitionAndProgramDefinition as PoolDefinitionAndProgramDefinitionOriginal, type PoolDefinitionLookupIdIdOneOf as PoolDefinitionLookupIdIdOneOfOriginal, type PoolDefinitionLookupId as PoolDefinitionLookupIdOriginal, type PoolEnded as PoolEndedOriginal, type PoolFilter as PoolFilterOriginal, type PoolInfo as PoolInfoOriginal, type PoolNotActive as PoolNotActiveOriginal, type PoolNotFound as PoolNotFoundOriginal, PoolOrigin as PoolOriginOriginal, type PoolOriginWithLiterals as PoolOriginWithLiteralsOriginal, type Pool as PoolOriginal, type PoolPaused as PoolPausedOriginal, type PoolProgramInfo as PoolProgramInfoOriginal, type PoolProvisionJobFinished as PoolProvisionJobFinishedOriginal, type PoolProvisioned as PoolProvisionedOriginal, type PoolRenewalActionActionOneOf as PoolRenewalActionActionOneOfOriginal, type PoolRenewalAction as PoolRenewalActionOriginal, PoolRenewalActionType as PoolRenewalActionTypeOriginal, type PoolRenewalActionTypeWithLiterals as PoolRenewalActionTypeWithLiteralsOriginal, type PoolRenewed as PoolRenewedOriginal, type PoolResumed as PoolResumedOriginal, PoolSelectorType as PoolSelectorTypeOriginal, type PoolSelectorTypeWithLiterals as PoolSelectorTypeWithLiteralsOriginal, PoolStatus as PoolStatusOriginal, type PoolStatusUpdateJobFinishedContextOneOf as PoolStatusUpdateJobFinishedContextOneOfOriginal, type PoolStatusUpdateJobFinished as PoolStatusUpdateJobFinishedOriginal, type PoolStatusUpdateParamsPoolInfo as PoolStatusUpdateParamsPoolInfoOriginal, type PoolStatusWithLiterals as PoolStatusWithLiteralsOriginal, type PoolWithItems as PoolWithItemsOriginal, type ProgramDefinitionInfo as ProgramDefinitionInfoOriginal, type ProgramInfo as ProgramInfoOriginal, type ProvisionPoolsForProgramRequest as ProvisionPoolsForProgramRequestOriginal, type ProvisionPoolsForProgramResponse as ProvisionPoolsForProgramResponseOriginal, type ProvisionPoolsForProgramResponseResultOneOf as ProvisionPoolsForProgramResponseResultOneOfOriginal, ProvisionPoolsForProgramResponseType as ProvisionPoolsForProgramResponseTypeOriginal, type ProvisionPoolsForProgramResponseTypeWithLiterals as ProvisionPoolsForProgramResponseTypeWithLiteralsOriginal, type QueryPoolsRequest as QueryPoolsRequestOriginal, type QueryPoolsResponse as QueryPoolsResponseOriginal, type RateLimitedPolicy as RateLimitedPolicyOriginal, type RedeemBenefitApplicationErrors as RedeemBenefitApplicationErrorsOriginal, type RedeemBenefitRequest as RedeemBenefitRequestOriginal, type RedeemBenefitResponse as RedeemBenefitResponseOriginal, type RedemptionDetails as RedemptionDetailsOriginal, type ReleaseBenefitReservationRequest as ReleaseBenefitReservationRequestOriginal, type ReleaseBenefitReservationResponse as ReleaseBenefitReservationResponseOriginal, type RenewPoolsForProgramRequest as RenewPoolsForProgramRequestOriginal, type RenewPoolsForProgramResponse as RenewPoolsForProgramResponseOriginal, type ReserveBenefitRequest as ReserveBenefitRequestOriginal, type ReserveBenefitResponse as ReserveBenefitResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RolloverConfiguration as RolloverConfigurationOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SyncResult as SyncResultOriginal, TimePeriod as TimePeriodOriginal, type TimePeriodWithLiterals as TimePeriodWithLiteralsOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type Update as UpdateOriginal, type UpdatePoolRequest as UpdatePoolRequestOriginal, type UpdatePoolResponse as UpdatePoolResponseOriginal, type UpdatePoolStatusRequest as UpdatePoolStatusRequestOriginal, type UpdatePoolStatusRequestPoolSelectorOneOf as UpdatePoolStatusRequestPoolSelectorOneOfOriginal, type UpdatePoolStatusResponse as UpdatePoolStatusResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeekDay as WeekDayOriginal, type WeekDayWithLiterals as WeekDayWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCheckBenefitEligibility, bulkUpdatePools, checkBenefitEligibility, checkEligibilityByFilter, getEligibleBenefits, getPool, queryPools, redeemBenefit, updatePool };
|
package/build/cjs/meta.js
CHANGED
|
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// meta.ts
|
|
21
21
|
var meta_exports = {};
|
|
22
22
|
__export(meta_exports, {
|
|
23
|
+
BenefitResultTypeOriginal: () => BenefitResultType,
|
|
23
24
|
EligibilityCheckResultTypeOriginal: () => EligibilityCheckResultType,
|
|
24
25
|
IdentityTypeOriginal: () => IdentityType,
|
|
25
26
|
ListPoolsRequestTypeOriginal: () => ListPoolsRequestType,
|
|
@@ -604,6 +605,15 @@ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
|
604
605
|
SortOrder2["DESC"] = "DESC";
|
|
605
606
|
return SortOrder2;
|
|
606
607
|
})(SortOrder || {});
|
|
608
|
+
var BenefitResultType = /* @__PURE__ */ ((BenefitResultType2) => {
|
|
609
|
+
BenefitResultType2["UNKNOWN"] = "UNKNOWN";
|
|
610
|
+
BenefitResultType2["ELIGIBLE_BENEFIT"] = "ELIGIBLE_BENEFIT";
|
|
611
|
+
BenefitResultType2["NOT_ENOUGH_BALANCE"] = "NOT_ENOUGH_BALANCE";
|
|
612
|
+
BenefitResultType2["POOL_NOT_ACTIVE"] = "POOL_NOT_ACTIVE";
|
|
613
|
+
BenefitResultType2["BENEFIT_NOT_FOUND"] = "BENEFIT_NOT_FOUND";
|
|
614
|
+
BenefitResultType2["POOL_NOT_FOUND"] = "POOL_NOT_FOUND";
|
|
615
|
+
return BenefitResultType2;
|
|
616
|
+
})(BenefitResultType || {});
|
|
607
617
|
var EligibilityCheckResultType = /* @__PURE__ */ ((EligibilityCheckResultType2) => {
|
|
608
618
|
EligibilityCheckResultType2["UNKNOWN"] = "UNKNOWN";
|
|
609
619
|
EligibilityCheckResultType2["ELIGIBLE"] = "ELIGIBLE";
|
|
@@ -804,6 +814,7 @@ function checkEligibilityByFilter2() {
|
|
|
804
814
|
}
|
|
805
815
|
// Annotate the CommonJS export names for ESM import in node:
|
|
806
816
|
0 && (module.exports = {
|
|
817
|
+
BenefitResultTypeOriginal,
|
|
807
818
|
EligibilityCheckResultTypeOriginal,
|
|
808
819
|
IdentityTypeOriginal,
|
|
809
820
|
ListPoolsRequestTypeOriginal,
|