@wix/auto_sdk_benefit-programs_pools 1.0.53 → 1.0.55
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 +4 -4
- package/build/cjs/index.js +8 -15
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +32 -114
- package/build/cjs/index.typings.js +8 -15
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +23 -111
- package/build/cjs/meta.js +0 -13
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +4 -4
- package/build/es/index.mjs +6 -13
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +32 -114
- package/build/es/index.typings.mjs +6 -13
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +23 -111
- package/build/es/meta.mjs +0 -12
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +5 -5
- package/build/internal/cjs/index.js +8 -15
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +33 -115
- package/build/internal/cjs/index.typings.js +8 -15
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +23 -111
- package/build/internal/cjs/meta.js +0 -13
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +5 -5
- package/build/internal/es/index.mjs +6 -13
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +33 -115
- package/build/internal/es/index.typings.mjs +6 -13
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +23 -111
- package/build/internal/es/meta.mjs +0 -12
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -937,6 +937,11 @@ interface BenefitInfo {
|
|
|
937
937
|
* @maxLength 256
|
|
938
938
|
*/
|
|
939
939
|
description?: string | null;
|
|
940
|
+
/**
|
|
941
|
+
* Benefit key.
|
|
942
|
+
* @maxLength 64
|
|
943
|
+
*/
|
|
944
|
+
benefitKey?: string;
|
|
940
945
|
}
|
|
941
946
|
interface PolicyExpressionEvaluatedToFalse {
|
|
942
947
|
/**
|
|
@@ -1143,79 +1148,29 @@ interface CheckBenefitEligibilityResponse {
|
|
|
1143
1148
|
/** Result of the eligibility check. */
|
|
1144
1149
|
result?: EligibilityCheckResult;
|
|
1145
1150
|
}
|
|
1146
|
-
interface EligibilityCheckResult
|
|
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
|
-
*/
|
|
1152
|
-
eligibleOptions?: Eligible;
|
|
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
|
-
*/
|
|
1158
|
-
notEnoughBalanceOptions?: NotEnoughBalance;
|
|
1159
|
-
/**
|
|
1160
|
-
* Returned when the pool isn't active.
|
|
1161
|
-
* @deprecated Returned when the pool isn't active.
|
|
1162
|
-
* @targetRemovalDate 2026-05-31
|
|
1163
|
-
*/
|
|
1164
|
-
poolNotActiveOptions?: PoolNotActive;
|
|
1165
|
-
/**
|
|
1166
|
-
* Returned when invalid benefit details are provided.
|
|
1167
|
-
* @deprecated Returned when invalid benefit details are provided.
|
|
1168
|
-
* @targetRemovalDate 2026-05-31
|
|
1169
|
-
*/
|
|
1170
|
-
benefitNotFoundOptions?: BenefitNotFound;
|
|
1171
|
-
/**
|
|
1172
|
-
* Returned when invalid pool details are provided.
|
|
1173
|
-
* @deprecated Returned when invalid pool details are provided.
|
|
1174
|
-
* @targetRemovalDate 2026-05-31
|
|
1175
|
-
*/
|
|
1176
|
-
poolNotFoundOptions?: PoolNotFound;
|
|
1151
|
+
interface EligibilityCheckResult {
|
|
1177
1152
|
/**
|
|
1178
1153
|
* Eligibility status.
|
|
1179
|
-
* @
|
|
1180
|
-
* @targetRemovalDate 2026-05-31
|
|
1154
|
+
* @maxSize 10
|
|
1181
1155
|
*/
|
|
1182
|
-
type?: EligibilityCheckResultTypeWithLiterals;
|
|
1183
|
-
/** @maxSize 10 */
|
|
1184
1156
|
benefitResults?: BenefitResult[];
|
|
1185
1157
|
}
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
notEnoughBalanceOptions?: NotEnoughBalance;
|
|
1200
|
-
/**
|
|
1201
|
-
* Returned when the pool isn't active.
|
|
1202
|
-
* @deprecated Returned when the pool isn't active.
|
|
1203
|
-
* @targetRemovalDate 2026-05-31
|
|
1204
|
-
*/
|
|
1205
|
-
poolNotActiveOptions?: PoolNotActive;
|
|
1206
|
-
/**
|
|
1207
|
-
* Returned when invalid benefit details are provided.
|
|
1208
|
-
* @deprecated Returned when invalid benefit details are provided.
|
|
1209
|
-
* @targetRemovalDate 2026-05-31
|
|
1210
|
-
*/
|
|
1211
|
-
benefitNotFoundOptions?: BenefitNotFound;
|
|
1212
|
-
/**
|
|
1213
|
-
* Returned when invalid pool details are provided.
|
|
1214
|
-
* @deprecated Returned when invalid pool details are provided.
|
|
1215
|
-
* @targetRemovalDate 2026-05-31
|
|
1216
|
-
*/
|
|
1217
|
-
poolNotFoundOptions?: PoolNotFound;
|
|
1158
|
+
declare enum BenefitResultType {
|
|
1159
|
+
/** Unknown eligibility. */
|
|
1160
|
+
UNKNOWN = "UNKNOWN",
|
|
1161
|
+
/** Item is eligible to be redeemed. */
|
|
1162
|
+
ELIGIBLE_BENEFIT = "ELIGIBLE_BENEFIT",
|
|
1163
|
+
/** Balance is lower than the cost of redeeming the items. */
|
|
1164
|
+
NOT_ENOUGH_BALANCE = "NOT_ENOUGH_BALANCE",
|
|
1165
|
+
/** Pool isn't active. */
|
|
1166
|
+
POOL_NOT_ACTIVE = "POOL_NOT_ACTIVE",
|
|
1167
|
+
/** Invalid benefit details provided. */
|
|
1168
|
+
BENEFIT_NOT_FOUND = "BENEFIT_NOT_FOUND",
|
|
1169
|
+
/** Invalid pool details provided. */
|
|
1170
|
+
POOL_NOT_FOUND = "POOL_NOT_FOUND"
|
|
1218
1171
|
}
|
|
1172
|
+
/** @enumType */
|
|
1173
|
+
type BenefitResultTypeWithLiterals = BenefitResultType | 'UNKNOWN' | 'ELIGIBLE_BENEFIT' | 'NOT_ENOUGH_BALANCE' | 'POOL_NOT_ACTIVE' | 'BENEFIT_NOT_FOUND' | 'POOL_NOT_FOUND';
|
|
1219
1174
|
interface EligibleBenefit {
|
|
1220
1175
|
/**
|
|
1221
1176
|
* Pool ID.
|
|
@@ -1236,45 +1191,6 @@ interface EligibleBenefit {
|
|
|
1236
1191
|
*/
|
|
1237
1192
|
price?: string | null;
|
|
1238
1193
|
}
|
|
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';
|
|
1255
|
-
declare enum EligibilityCheckResultType {
|
|
1256
|
-
/** Unknown eligibility. */
|
|
1257
|
-
UNKNOWN = "UNKNOWN",
|
|
1258
|
-
/** Item is eligible to be redeemed. */
|
|
1259
|
-
ELIGIBLE = "ELIGIBLE",
|
|
1260
|
-
/** Balance is lower than the cost of redeeming the items. */
|
|
1261
|
-
NOT_ENOUGH_BALANCE = "NOT_ENOUGH_BALANCE",
|
|
1262
|
-
/** Pool isn't active. */
|
|
1263
|
-
POOL_NOT_ACTIVE = "POOL_NOT_ACTIVE",
|
|
1264
|
-
/** Invalid benefit details provided. */
|
|
1265
|
-
BENEFIT_NOT_FOUND = "BENEFIT_NOT_FOUND",
|
|
1266
|
-
/** Invalid pool details provided. */
|
|
1267
|
-
POOL_NOT_FOUND = "POOL_NOT_FOUND"
|
|
1268
|
-
}
|
|
1269
|
-
/** @enumType */
|
|
1270
|
-
type EligibilityCheckResultTypeWithLiterals = EligibilityCheckResultType | 'UNKNOWN' | 'ELIGIBLE' | 'NOT_ENOUGH_BALANCE' | 'POOL_NOT_ACTIVE' | 'BENEFIT_NOT_FOUND' | 'POOL_NOT_FOUND';
|
|
1271
|
-
interface Eligible {
|
|
1272
|
-
/**
|
|
1273
|
-
* Benefits that are eligible to be redeemed.
|
|
1274
|
-
* @maxSize 100
|
|
1275
|
-
*/
|
|
1276
|
-
eligibleBenefits?: EligibleBenefit[];
|
|
1277
|
-
}
|
|
1278
1194
|
interface BenefitResult extends BenefitResultResultOneOf {
|
|
1279
1195
|
/** Returned when item is eligible to be redeemed. */
|
|
1280
1196
|
eligibleBenefitOptions?: EligibleBenefit;
|
|
@@ -1494,13 +1410,9 @@ interface BulkUpdatePoolsResponse {
|
|
|
1494
1410
|
bulkActionMetadata?: BulkActionMetadata;
|
|
1495
1411
|
}
|
|
1496
1412
|
interface BulkPoolResult {
|
|
1497
|
-
/** Pool metadata. */
|
|
1498
|
-
poolMetadata?: ItemMetadata;
|
|
1499
1413
|
/** Item metadata. */
|
|
1500
1414
|
itemMetadata?: ItemMetadata;
|
|
1501
1415
|
/** Pool data. */
|
|
1502
|
-
pool?: Pool;
|
|
1503
|
-
/** Pool data. */
|
|
1504
1416
|
item?: Pool;
|
|
1505
1417
|
}
|
|
1506
1418
|
interface ItemMetadata {
|
|
@@ -1946,4 +1858,4 @@ declare function getEligibleBenefits(): __PublicMethodMetaInfo<'POST', {}, GetEl
|
|
|
1946
1858
|
declare function bulkUpdatePools(): __PublicMethodMetaInfo<'POST', {}, BulkUpdatePoolsRequest$1, BulkUpdatePoolsRequest, BulkUpdatePoolsResponse$1, BulkUpdatePoolsResponse>;
|
|
1947
1859
|
declare function checkEligibilityByFilter(): __PublicMethodMetaInfo<'POST', {}, CheckEligibilityByFilterRequest$1, CheckEligibilityByFilterRequest, CheckEligibilityByFilterResponse$1, CheckEligibilityByFilterResponse>;
|
|
1948
1860
|
|
|
1949
|
-
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 };
|
|
1861
|
+
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 EligibleBenefit as EligibleBenefitOriginal, 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 };
|
|
@@ -21,7 +21,6 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
var meta_exports = {};
|
|
22
22
|
__export(meta_exports, {
|
|
23
23
|
BenefitResultTypeOriginal: () => BenefitResultType,
|
|
24
|
-
EligibilityCheckResultTypeOriginal: () => EligibilityCheckResultType,
|
|
25
24
|
IdentityTypeOriginal: () => IdentityType,
|
|
26
25
|
ListPoolsRequestTypeOriginal: () => ListPoolsRequestType,
|
|
27
26
|
PolicyExpressionTypeOriginal: () => PolicyExpressionType,
|
|
@@ -497,8 +496,6 @@ function bulkUpdatePools(payload) {
|
|
|
497
496
|
{
|
|
498
497
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
499
498
|
paths: [
|
|
500
|
-
{ path: "results.pool.createdDate" },
|
|
501
|
-
{ path: "results.pool.updatedDate" },
|
|
502
499
|
{ path: "results.item.createdDate" },
|
|
503
500
|
{ path: "results.item.updatedDate" }
|
|
504
501
|
]
|
|
@@ -614,15 +611,6 @@ var BenefitResultType = /* @__PURE__ */ ((BenefitResultType2) => {
|
|
|
614
611
|
BenefitResultType2["POOL_NOT_FOUND"] = "POOL_NOT_FOUND";
|
|
615
612
|
return BenefitResultType2;
|
|
616
613
|
})(BenefitResultType || {});
|
|
617
|
-
var EligibilityCheckResultType = /* @__PURE__ */ ((EligibilityCheckResultType2) => {
|
|
618
|
-
EligibilityCheckResultType2["UNKNOWN"] = "UNKNOWN";
|
|
619
|
-
EligibilityCheckResultType2["ELIGIBLE"] = "ELIGIBLE";
|
|
620
|
-
EligibilityCheckResultType2["NOT_ENOUGH_BALANCE"] = "NOT_ENOUGH_BALANCE";
|
|
621
|
-
EligibilityCheckResultType2["POOL_NOT_ACTIVE"] = "POOL_NOT_ACTIVE";
|
|
622
|
-
EligibilityCheckResultType2["BENEFIT_NOT_FOUND"] = "BENEFIT_NOT_FOUND";
|
|
623
|
-
EligibilityCheckResultType2["POOL_NOT_FOUND"] = "POOL_NOT_FOUND";
|
|
624
|
-
return EligibilityCheckResultType2;
|
|
625
|
-
})(EligibilityCheckResultType || {});
|
|
626
614
|
var ListPoolsRequestType = /* @__PURE__ */ ((ListPoolsRequestType2) => {
|
|
627
615
|
ListPoolsRequestType2["UNKNOWN_FILTER"] = "UNKNOWN_FILTER";
|
|
628
616
|
ListPoolsRequestType2["BY_ITEM_REFERENCE"] = "BY_ITEM_REFERENCE";
|
|
@@ -815,7 +803,6 @@ function checkEligibilityByFilter2() {
|
|
|
815
803
|
// Annotate the CommonJS export names for ESM import in node:
|
|
816
804
|
0 && (module.exports = {
|
|
817
805
|
BenefitResultTypeOriginal,
|
|
818
|
-
EligibilityCheckResultTypeOriginal,
|
|
819
806
|
IdentityTypeOriginal,
|
|
820
807
|
ListPoolsRequestTypeOriginal,
|
|
821
808
|
PolicyExpressionTypeOriginal,
|