@wix/auto_sdk_benefit-programs_pools 1.0.54 → 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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +4 -4
  2. package/build/cjs/index.js +8 -15
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +27 -114
  5. package/build/cjs/index.typings.js +8 -15
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +18 -111
  8. package/build/cjs/meta.js +0 -13
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +4 -4
  11. package/build/es/index.mjs +6 -13
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +27 -114
  14. package/build/es/index.typings.mjs +6 -13
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +18 -111
  17. package/build/es/meta.mjs +0 -12
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +5 -5
  20. package/build/internal/cjs/index.js +8 -15
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +28 -115
  23. package/build/internal/cjs/index.typings.js +8 -15
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +18 -111
  26. package/build/internal/cjs/meta.js +0 -13
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +5 -5
  29. package/build/internal/es/index.mjs +6 -13
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +28 -115
  32. package/build/internal/es/index.typings.mjs +6 -13
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +18 -111
  35. package/build/internal/es/meta.mjs +0 -12
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +4 -4
@@ -1,3 +1,4 @@
1
+ import * as _wix_sdk_types from '@wix/sdk-types';
1
2
  import { QuerySpec, Query, NonNullablePaths } from '@wix/sdk-types';
2
3
 
3
4
  interface Pool {
@@ -1228,79 +1229,29 @@ interface CheckBenefitEligibilityResponse {
1228
1229
  /** Result of the eligibility check. */
1229
1230
  result?: EligibilityCheckResult;
1230
1231
  }
1231
- interface EligibilityCheckResult extends EligibilityCheckResultResultOneOf {
1232
- /**
1233
- * Returned when item is eligible to be redeemed.
1234
- * @deprecated Returned when item is eligible to be redeemed.
1235
- * @targetRemovalDate 2026-05-31
1236
- */
1237
- eligibleOptions?: Eligible;
1238
- /**
1239
- * Returned when the pool's associated balance is lower than the cost of redeeming the items.
1240
- * @deprecated Returned when the pool's associated balance is lower than the cost of redeeming the items.
1241
- * @targetRemovalDate 2026-05-31
1242
- */
1243
- notEnoughBalanceOptions?: NotEnoughBalance;
1244
- /**
1245
- * Returned when the pool isn't active.
1246
- * @deprecated Returned when the pool isn't active.
1247
- * @targetRemovalDate 2026-05-31
1248
- */
1249
- poolNotActiveOptions?: PoolNotActive;
1250
- /**
1251
- * Returned when invalid benefit details are provided.
1252
- * @deprecated Returned when invalid benefit details are provided.
1253
- * @targetRemovalDate 2026-05-31
1254
- */
1255
- benefitNotFoundOptions?: BenefitNotFound;
1256
- /**
1257
- * Returned when invalid pool details are provided.
1258
- * @deprecated Returned when invalid pool details are provided.
1259
- * @targetRemovalDate 2026-05-31
1260
- */
1261
- poolNotFoundOptions?: PoolNotFound;
1232
+ interface EligibilityCheckResult {
1262
1233
  /**
1263
1234
  * Eligibility status.
1264
- * @deprecated Eligibility status.
1265
- * @targetRemovalDate 2026-05-31
1235
+ * @maxSize 10
1266
1236
  */
1267
- type?: EligibilityCheckResultTypeWithLiterals;
1268
- /** @maxSize 10 */
1269
1237
  benefitResults?: BenefitResult[];
1270
1238
  }
1271
- /** @oneof */
1272
- interface EligibilityCheckResultResultOneOf {
1273
- /**
1274
- * Returned when item is eligible to be redeemed.
1275
- * @deprecated Returned when item is eligible to be redeemed.
1276
- * @targetRemovalDate 2026-05-31
1277
- */
1278
- eligibleOptions?: Eligible;
1279
- /**
1280
- * Returned when the pool's associated balance is lower than the cost of redeeming the items.
1281
- * @deprecated Returned when the pool's associated balance is lower than the cost of redeeming the items.
1282
- * @targetRemovalDate 2026-05-31
1283
- */
1284
- notEnoughBalanceOptions?: NotEnoughBalance;
1285
- /**
1286
- * Returned when the pool isn't active.
1287
- * @deprecated Returned when the pool isn't active.
1288
- * @targetRemovalDate 2026-05-31
1289
- */
1290
- poolNotActiveOptions?: PoolNotActive;
1291
- /**
1292
- * Returned when invalid benefit details are provided.
1293
- * @deprecated Returned when invalid benefit details are provided.
1294
- * @targetRemovalDate 2026-05-31
1295
- */
1296
- benefitNotFoundOptions?: BenefitNotFound;
1297
- /**
1298
- * Returned when invalid pool details are provided.
1299
- * @deprecated Returned when invalid pool details are provided.
1300
- * @targetRemovalDate 2026-05-31
1301
- */
1302
- poolNotFoundOptions?: PoolNotFound;
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"
1303
1252
  }
1253
+ /** @enumType */
1254
+ type BenefitResultTypeWithLiterals = BenefitResultType | 'UNKNOWN' | 'ELIGIBLE_BENEFIT' | 'NOT_ENOUGH_BALANCE' | 'POOL_NOT_ACTIVE' | 'BENEFIT_NOT_FOUND' | 'POOL_NOT_FOUND';
1304
1255
  interface EligibleBenefit {
1305
1256
  /**
1306
1257
  * Pool ID.
@@ -1341,45 +1292,6 @@ interface EligibleBenefit {
1341
1292
  */
1342
1293
  programInfo?: PoolProgramInfo;
1343
1294
  }
1344
- declare enum BenefitResultType {
1345
- /** Unknown eligibility. */
1346
- UNKNOWN = "UNKNOWN",
1347
- /** Item is eligible to be redeemed. */
1348
- ELIGIBLE_BENEFIT = "ELIGIBLE_BENEFIT",
1349
- /** Balance is lower than the cost of redeeming the items. */
1350
- NOT_ENOUGH_BALANCE = "NOT_ENOUGH_BALANCE",
1351
- /** Pool isn't active. */
1352
- POOL_NOT_ACTIVE = "POOL_NOT_ACTIVE",
1353
- /** Invalid benefit details provided. */
1354
- BENEFIT_NOT_FOUND = "BENEFIT_NOT_FOUND",
1355
- /** Invalid pool details provided. */
1356
- POOL_NOT_FOUND = "POOL_NOT_FOUND"
1357
- }
1358
- /** @enumType */
1359
- type BenefitResultTypeWithLiterals = BenefitResultType | 'UNKNOWN' | 'ELIGIBLE_BENEFIT' | 'NOT_ENOUGH_BALANCE' | 'POOL_NOT_ACTIVE' | 'BENEFIT_NOT_FOUND' | 'POOL_NOT_FOUND';
1360
- declare enum EligibilityCheckResultType {
1361
- /** Unknown eligibility. */
1362
- UNKNOWN = "UNKNOWN",
1363
- /** Item is eligible to be redeemed. */
1364
- ELIGIBLE = "ELIGIBLE",
1365
- /** Balance is lower than the cost of redeeming the items. */
1366
- NOT_ENOUGH_BALANCE = "NOT_ENOUGH_BALANCE",
1367
- /** Pool isn't active. */
1368
- POOL_NOT_ACTIVE = "POOL_NOT_ACTIVE",
1369
- /** Invalid benefit details provided. */
1370
- BENEFIT_NOT_FOUND = "BENEFIT_NOT_FOUND",
1371
- /** Invalid pool details provided. */
1372
- POOL_NOT_FOUND = "POOL_NOT_FOUND"
1373
- }
1374
- /** @enumType */
1375
- type EligibilityCheckResultTypeWithLiterals = EligibilityCheckResultType | 'UNKNOWN' | 'ELIGIBLE' | 'NOT_ENOUGH_BALANCE' | 'POOL_NOT_ACTIVE' | 'BENEFIT_NOT_FOUND' | 'POOL_NOT_FOUND';
1376
- interface Eligible {
1377
- /**
1378
- * Benefits that are eligible to be redeemed.
1379
- * @maxSize 100
1380
- */
1381
- eligibleBenefits?: EligibleBenefit[];
1382
- }
1383
1295
  interface BenefitResult extends BenefitResultResultOneOf {
1384
1296
  /** Returned when item is eligible to be redeemed. */
1385
1297
  eligibleBenefitOptions?: EligibleBenefit;
@@ -1599,13 +1511,9 @@ interface BulkUpdatePoolsResponse {
1599
1511
  bulkActionMetadata?: BulkActionMetadata;
1600
1512
  }
1601
1513
  interface BulkPoolResult {
1602
- /** Pool metadata. */
1603
- poolMetadata?: ItemMetadata;
1604
1514
  /** Item metadata. */
1605
1515
  itemMetadata?: ItemMetadata;
1606
1516
  /** Pool data. */
1607
- pool?: Pool;
1608
- /** Pool data. */
1609
1517
  item?: Pool;
1610
1518
  }
1611
1519
  interface ItemMetadata {
@@ -2310,6 +2218,11 @@ type PoolQuery = {
2310
2218
  order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
2311
2219
  }[];
2312
2220
  };
2221
+ declare const utils: {
2222
+ QueryBuilder: () => _wix_sdk_types.QueryBuilder<Pool, PoolQuerySpec, PoolQuery>;
2223
+ Filter: _wix_sdk_types.FilterFactory<Pool, PoolQuerySpec>;
2224
+ Sort: _wix_sdk_types.SortFactory<PoolQuerySpec>;
2225
+ };
2313
2226
  /**
2314
2227
  * Redeems a specified benefit.
2315
2228
  *
@@ -2381,7 +2294,7 @@ interface RedeemBenefitOptions {
2381
2294
  * @applicableIdentity APP
2382
2295
  * @fqn wix.benefit_programs.v1.pool.PoolService.CheckBenefitEligibility
2383
2296
  */
2384
- declare function checkBenefitEligibility(poolId: string, options?: NonNullablePaths<CheckBenefitEligibilityOptions, `itemReference` | `itemReference.externalId` | `itemReference.providerAppId` | `namespace`, 3>): Promise<NonNullablePaths<CheckBenefitEligibilityResponse, `result.eligibleOptions.eligibleBenefits` | `result.eligibleOptions.eligibleBenefits.${number}.poolId` | `result.eligibleOptions.eligibleBenefits.${number}.benefitKey` | `result.eligibleOptions.eligibleBenefits.${number}.itemReference.externalId` | `result.eligibleOptions.eligibleBenefits.${number}.itemReference.category` | `result.eligibleOptions.eligibleBenefits.${number}.itemReference.providerAppId` | `result.notEnoughBalanceOptions.poolId` | `result.notEnoughBalanceOptions.availableBalance` | `result.notEnoughBalanceOptions.requestedBalance` | `result.poolNotActiveOptions.poolId` | `result.poolNotActiveOptions.poolStatus` | `result.benefitNotFoundOptions.poolId` | `result.poolNotFoundOptions.poolId` | `result.type` | `result.benefitResults` | `result.benefitResults.${number}.policyExpressionEvaluatedToFalseOptions.poolId` | `result.benefitResults.${number}.type`, 7>>;
2297
+ declare function checkBenefitEligibility(poolId: string, options?: NonNullablePaths<CheckBenefitEligibilityOptions, `itemReference` | `itemReference.externalId` | `itemReference.providerAppId` | `namespace`, 3>): Promise<NonNullablePaths<CheckBenefitEligibilityResponse, `result.benefitResults` | `result.benefitResults.${number}.eligibleBenefitOptions.poolId` | `result.benefitResults.${number}.eligibleBenefitOptions.benefitKey` | `result.benefitResults.${number}.eligibleBenefitOptions.itemReference.externalId` | `result.benefitResults.${number}.eligibleBenefitOptions.itemReference.category` | `result.benefitResults.${number}.eligibleBenefitOptions.itemReference.providerAppId` | `result.benefitResults.${number}.notEnoughBalanceOptions.poolId` | `result.benefitResults.${number}.notEnoughBalanceOptions.availableBalance` | `result.benefitResults.${number}.notEnoughBalanceOptions.requestedBalance` | `result.benefitResults.${number}.policyExpressionEvaluatedToFalseOptions.poolId` | `result.benefitResults.${number}.poolNotActiveOptions.poolId` | `result.benefitResults.${number}.poolNotActiveOptions.poolStatus` | `result.benefitResults.${number}.benefitNotFoundOptions.poolId` | `result.benefitResults.${number}.poolNotFoundOptions.poolId` | `result.benefitResults.${number}.type`, 7>>;
2385
2298
  interface CheckBenefitEligibilityOptions {
2386
2299
  /**
2387
2300
  * Key of the benefit to check.
@@ -2430,7 +2343,7 @@ interface CheckBenefitEligibilityOptions {
2430
2343
  * @applicableIdentity APP
2431
2344
  * @fqn wix.benefit_programs.v1.pool.PoolService.BulkCheckBenefitEligibility
2432
2345
  */
2433
- declare function bulkCheckBenefitEligibility(options?: NonNullablePaths<BulkCheckBenefitEligibilityOptions, `benefitSelectors.${number}.itemReference` | `benefitSelectors.${number}.itemReference.externalId` | `benefitSelectors.${number}.itemReference.providerAppId` | `benefitSelectors.${number}.poolId` | `namespace`, 5>): Promise<NonNullablePaths<BulkCheckBenefitEligibilityResponse, `results` | `results.${number}.benefitSelector.poolId` | `results.${number}.benefitSelector.itemReference.externalId` | `results.${number}.benefitSelector.itemReference.category` | `results.${number}.benefitSelector.itemReference.providerAppId` | `results.${number}.benefitSelector.count` | `results.${number}.result.notEnoughBalanceOptions.poolId` | `results.${number}.result.notEnoughBalanceOptions.availableBalance` | `results.${number}.result.notEnoughBalanceOptions.requestedBalance` | `results.${number}.result.poolNotActiveOptions.poolId` | `results.${number}.result.poolNotActiveOptions.poolStatus` | `results.${number}.result.benefitNotFoundOptions.poolId` | `results.${number}.result.poolNotFoundOptions.poolId` | `results.${number}.result.type`, 6>>;
2346
+ declare function bulkCheckBenefitEligibility(options?: NonNullablePaths<BulkCheckBenefitEligibilityOptions, `benefitSelectors.${number}.itemReference` | `benefitSelectors.${number}.itemReference.externalId` | `benefitSelectors.${number}.itemReference.providerAppId` | `benefitSelectors.${number}.poolId` | `namespace`, 5>): Promise<NonNullablePaths<BulkCheckBenefitEligibilityResponse, `results` | `results.${number}.benefitSelector.poolId` | `results.${number}.benefitSelector.itemReference.externalId` | `results.${number}.benefitSelector.itemReference.category` | `results.${number}.benefitSelector.itemReference.providerAppId` | `results.${number}.benefitSelector.count`, 6>>;
2434
2347
  interface BulkCheckBenefitEligibilityOptions {
2435
2348
  /**
2436
2349
  * List of benefits to check.
@@ -2498,7 +2411,7 @@ interface GetEligibleBenefitsOptions {
2498
2411
  * @applicableIdentity APP
2499
2412
  * @fqn wix.benefit_programs.v1.pool.PoolService.BulkUpdatePools
2500
2413
  */
2501
- declare function bulkUpdatePools(options?: NonNullablePaths<BulkUpdatePoolsOptions, `pools.${number}.pool` | `pools.${number}.pool._id` | `pools.${number}.pool.revision`, 5>): Promise<NonNullablePaths<BulkUpdatePoolsResponse, `results` | `results.${number}.poolMetadata.originalIndex` | `results.${number}.poolMetadata.success` | `results.${number}.poolMetadata.error.code` | `results.${number}.poolMetadata.error.description` | `results.${number}.pool.status` | `results.${number}.pool.beneficiary.anonymousVisitorId` | `results.${number}.pool.beneficiary.memberId` | `results.${number}.pool.beneficiary.wixUserId` | `results.${number}.pool.displayName` | `results.${number}.pool.programDefinition._id` | `results.${number}.pool.program._id` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
2414
+ declare function bulkUpdatePools(options?: NonNullablePaths<BulkUpdatePoolsOptions, `pools.${number}.pool` | `pools.${number}.pool._id` | `pools.${number}.pool.revision`, 5>): Promise<NonNullablePaths<BulkUpdatePoolsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.status` | `results.${number}.item.beneficiary.anonymousVisitorId` | `results.${number}.item.beneficiary.memberId` | `results.${number}.item.beneficiary.wixUserId` | `results.${number}.item.displayName` | `results.${number}.item.programDefinition._id` | `results.${number}.item.program._id` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
2502
2415
  interface BulkUpdatePoolsOptions {
2503
2416
  /**
2504
2417
  * Pools to update.
@@ -2530,7 +2443,7 @@ interface BulkUpdatePoolsOptions {
2530
2443
  * @applicableIdentity APP
2531
2444
  * @fqn wix.benefit_programs.v1.pool.PoolService.CheckEligibilityByFilter
2532
2445
  */
2533
- declare function checkEligibilityByFilter(options?: NonNullablePaths<CheckEligibilityByFilterOptions, `count` | `itemReference` | `itemReference.externalId` | `itemReference.providerAppId` | `namespace`, 3>): Promise<NonNullablePaths<CheckEligibilityByFilterResponse, `result` | `result.${number}.notEnoughBalanceOptions.poolId` | `result.${number}.notEnoughBalanceOptions.itemReference.externalId` | `result.${number}.notEnoughBalanceOptions.itemReference.category` | `result.${number}.notEnoughBalanceOptions.itemReference.providerAppId` | `result.${number}.notEnoughBalanceOptions.availableBalance` | `result.${number}.notEnoughBalanceOptions.requestedBalance` | `result.${number}.poolNotActiveOptions.poolId` | `result.${number}.poolNotActiveOptions.poolStatus` | `result.${number}.benefitNotFoundOptions.poolId` | `result.${number}.poolNotFoundOptions.poolId` | `result.${number}.type`, 6>>;
2446
+ declare function checkEligibilityByFilter(options?: NonNullablePaths<CheckEligibilityByFilterOptions, `count` | `itemReference` | `itemReference.externalId` | `itemReference.providerAppId` | `namespace`, 3>): Promise<NonNullablePaths<CheckEligibilityByFilterResponse, `result`, 2>>;
2534
2447
  interface CheckEligibilityByFilterOptions {
2535
2448
  /** Defines filtering and sorting criteria used to select pools when checking eligibility. */
2536
2449
  poolFilter?: PoolFilter;
@@ -2561,4 +2474,4 @@ interface CheckEligibilityByFilterOptions {
2561
2474
  additionalData?: Record<string, any> | null;
2562
2475
  }
2563
2476
 
2564
- export { type AccountInfo, type ActionEvent, type ApplicationError, type AsyncResult, type BalanceAmount, type Benefit, type BenefitAlreadyRedeemed, type BenefitInfo, type BenefitNotFound, type BenefitRedeemed, type BenefitReservationCanceled, type BenefitReservationReleased, type BenefitReserved, type BenefitResult, type BenefitResultResultOneOf, BenefitResultType, type BenefitResultTypeWithLiterals, type BenefitSelector, type BulkActionMetadata, type BulkCheckBenefitEligibilityOptions, type BulkCheckBenefitEligibilityRequest, type BulkCheckBenefitEligibilityResponse, type BulkEligibilityCheckResult, type BulkPoolResult, type BulkUpdatePoolsOptions, type BulkUpdatePoolsRequest, type BulkUpdatePoolsResponse, type ByItemReference, type ByItemReferenceFilter, type ByPoolDefinitionIdAndProgramDefinitionIdOptions, type ByProgramIdOptions, type CancelBenefitReservationRequest, type CancelBenefitReservationResponse, type CheckBenefitEligibilityOptions, type CheckBenefitEligibilityRequest, type CheckBenefitEligibilityResponse, type CheckEligibilityByFilterOptions, type CheckEligibilityByFilterRequest, type CheckEligibilityByFilterResponse, type CommonIdentificationData, type CommonIdentificationDataIdOneOf, type CommonQueryWithEntityContext, type CountNumberOfPoolsInProvisioningStatusRequest, type CountNumberOfPoolsInProvisioningStatusResponse, type CreatePoolRequest, type CreatePoolResponse, type CreditConfiguration, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomPolicy, type DeletePoolRequest, type DeletePoolResponse, type Details, type DomainEvent, type DomainEventBodyOneOf, type EligibilityCheckResult, type EligibilityCheckResultResultOneOf, EligibilityCheckResultType, type EligibilityCheckResultTypeWithLiterals, type Eligible, type EligibleBenefit, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type FailureDetails, type Filter, type FilterFilterOneOf, type FixedIntervalPolicy, type GetEligibleBenefitsApplicationErrors, type GetEligibleBenefitsOptions, type GetEligibleBenefitsRequest, type GetEligibleBenefitsResponse, type GetPoolRequest, type GetPoolResponse, type IdentificationData, type IdentificationDataIdOneOf, IdentityType, type IdentityTypeWithLiterals, type InvalidPoolDefinitionReference, type ItemMetadata, type ItemReference, type ListPoolsRequest, ListPoolsRequestType, type ListPoolsRequestTypeWithLiterals, type ListPoolsResponse, type MaskedPool, type MessageEnvelope, type NotEnoughBalance, type Policy, type PolicyExpression, type PolicyExpressionAnd, type PolicyExpressionEvaluatedToFalse, type PolicyExpressionExpressionOneOf, type PolicyExpressionNot, type PolicyExpressionOr, PolicyExpressionType, type PolicyExpressionTypeWithLiterals, type PolicyPolicyOneOf, type Pool, type PoolDefinitionAndProgramDefinition, type PoolDefinitionLookupId, type PoolDefinitionLookupIdIdOneOf, type PoolEnded, type PoolFilter, type PoolInfo, type PoolNotActive, type PoolNotFound, PoolOrigin, type PoolOriginWithLiterals, type PoolPaused, type PoolProgramInfo, type PoolProvisionJobFinished, type PoolProvisioned, type PoolQuery, type PoolQuerySpec, type PoolRenewalAction, type PoolRenewalActionActionOneOf, PoolRenewalActionType, type PoolRenewalActionTypeWithLiterals, type PoolRenewed, type PoolResumed, PoolSelectorType, type PoolSelectorTypeWithLiterals, PoolStatus, type PoolStatusUpdateJobFinished, type PoolStatusUpdateJobFinishedContextOneOf, type PoolStatusUpdateParamsPoolInfo, type PoolStatusWithLiterals, type PoolWithItems, type PoolsQueryBuilder, type PoolsQueryResult, type ProgramDefinitionInfo, type ProgramInfo, type ProvisionPoolsForProgramRequest, type ProvisionPoolsForProgramResponse, type ProvisionPoolsForProgramResponseResultOneOf, ProvisionPoolsForProgramResponseType, type ProvisionPoolsForProgramResponseTypeWithLiterals, type QueryPoolsOptions, type QueryPoolsRequest, type QueryPoolsResponse, type RateLimitedPolicy, type RedeemBenefitApplicationErrors, type RedeemBenefitOptions, type RedeemBenefitRequest, type RedeemBenefitResponse, type RedemptionDetails, type ReleaseBenefitReservationRequest, type ReleaseBenefitReservationResponse, type RenewPoolsForProgramRequest, type RenewPoolsForProgramResponse, type ReserveBenefitRequest, type ReserveBenefitResponse, type RestoreInfo, type RolloverConfiguration, SortOrder, type SortOrderWithLiterals, type Sorting, type SyncResult, TimePeriod, type TimePeriodWithLiterals, Type, type TypeWithLiterals, type Update, type UpdatePool, type UpdatePoolRequest, type UpdatePoolResponse, type UpdatePoolStatusRequest, type UpdatePoolStatusRequestPoolSelectorOneOf, type UpdatePoolStatusResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeekDay, type WeekDayWithLiterals, bulkCheckBenefitEligibility, bulkUpdatePools, checkBenefitEligibility, checkEligibilityByFilter, getEligibleBenefits, getPool, queryPools, redeemBenefit, typedQueryPools, updatePool };
2477
+ export { type AccountInfo, type ActionEvent, type ApplicationError, type AsyncResult, type BalanceAmount, type Benefit, type BenefitAlreadyRedeemed, type BenefitInfo, type BenefitNotFound, type BenefitRedeemed, type BenefitReservationCanceled, type BenefitReservationReleased, type BenefitReserved, type BenefitResult, type BenefitResultResultOneOf, BenefitResultType, type BenefitResultTypeWithLiterals, type BenefitSelector, type BulkActionMetadata, type BulkCheckBenefitEligibilityOptions, type BulkCheckBenefitEligibilityRequest, type BulkCheckBenefitEligibilityResponse, type BulkEligibilityCheckResult, type BulkPoolResult, type BulkUpdatePoolsOptions, type BulkUpdatePoolsRequest, type BulkUpdatePoolsResponse, type ByItemReference, type ByItemReferenceFilter, type ByPoolDefinitionIdAndProgramDefinitionIdOptions, type ByProgramIdOptions, type CancelBenefitReservationRequest, type CancelBenefitReservationResponse, type CheckBenefitEligibilityOptions, type CheckBenefitEligibilityRequest, type CheckBenefitEligibilityResponse, type CheckEligibilityByFilterOptions, type CheckEligibilityByFilterRequest, type CheckEligibilityByFilterResponse, type CommonIdentificationData, type CommonIdentificationDataIdOneOf, type CommonQueryWithEntityContext, type CountNumberOfPoolsInProvisioningStatusRequest, type CountNumberOfPoolsInProvisioningStatusResponse, type CreatePoolRequest, type CreatePoolResponse, type CreditConfiguration, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomPolicy, type DeletePoolRequest, type DeletePoolResponse, type Details, type DomainEvent, type DomainEventBodyOneOf, type EligibilityCheckResult, type EligibleBenefit, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type FailureDetails, type Filter, type FilterFilterOneOf, type FixedIntervalPolicy, type GetEligibleBenefitsApplicationErrors, type GetEligibleBenefitsOptions, type GetEligibleBenefitsRequest, type GetEligibleBenefitsResponse, type GetPoolRequest, type GetPoolResponse, type IdentificationData, type IdentificationDataIdOneOf, IdentityType, type IdentityTypeWithLiterals, type InvalidPoolDefinitionReference, type ItemMetadata, type ItemReference, type ListPoolsRequest, ListPoolsRequestType, type ListPoolsRequestTypeWithLiterals, type ListPoolsResponse, type MaskedPool, type MessageEnvelope, type NotEnoughBalance, type Policy, type PolicyExpression, type PolicyExpressionAnd, type PolicyExpressionEvaluatedToFalse, type PolicyExpressionExpressionOneOf, type PolicyExpressionNot, type PolicyExpressionOr, PolicyExpressionType, type PolicyExpressionTypeWithLiterals, type PolicyPolicyOneOf, type Pool, type PoolDefinitionAndProgramDefinition, type PoolDefinitionLookupId, type PoolDefinitionLookupIdIdOneOf, type PoolEnded, type PoolFilter, type PoolInfo, type PoolNotActive, type PoolNotFound, PoolOrigin, type PoolOriginWithLiterals, type PoolPaused, type PoolProgramInfo, type PoolProvisionJobFinished, type PoolProvisioned, type PoolQuery, type PoolQuerySpec, type PoolRenewalAction, type PoolRenewalActionActionOneOf, PoolRenewalActionType, type PoolRenewalActionTypeWithLiterals, type PoolRenewed, type PoolResumed, PoolSelectorType, type PoolSelectorTypeWithLiterals, PoolStatus, type PoolStatusUpdateJobFinished, type PoolStatusUpdateJobFinishedContextOneOf, type PoolStatusUpdateParamsPoolInfo, type PoolStatusWithLiterals, type PoolWithItems, type PoolsQueryBuilder, type PoolsQueryResult, type ProgramDefinitionInfo, type ProgramInfo, type ProvisionPoolsForProgramRequest, type ProvisionPoolsForProgramResponse, type ProvisionPoolsForProgramResponseResultOneOf, ProvisionPoolsForProgramResponseType, type ProvisionPoolsForProgramResponseTypeWithLiterals, type QueryPoolsOptions, type QueryPoolsRequest, type QueryPoolsResponse, type RateLimitedPolicy, type RedeemBenefitApplicationErrors, type RedeemBenefitOptions, type RedeemBenefitRequest, type RedeemBenefitResponse, type RedemptionDetails, type ReleaseBenefitReservationRequest, type ReleaseBenefitReservationResponse, type RenewPoolsForProgramRequest, type RenewPoolsForProgramResponse, type ReserveBenefitRequest, type ReserveBenefitResponse, type RestoreInfo, type RolloverConfiguration, SortOrder, type SortOrderWithLiterals, type Sorting, type SyncResult, TimePeriod, type TimePeriodWithLiterals, Type, type TypeWithLiterals, type Update, type UpdatePool, type UpdatePoolRequest, type UpdatePoolResponse, type UpdatePoolStatusRequest, type UpdatePoolStatusRequestPoolSelectorOneOf, type UpdatePoolStatusResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeekDay, type WeekDayWithLiterals, bulkCheckBenefitEligibility, bulkUpdatePools, checkBenefitEligibility, checkEligibilityByFilter, getEligibleBenefits, getPool, queryPools, redeemBenefit, typedQueryPools, updatePool, utils };
@@ -456,8 +456,6 @@ function bulkUpdatePools(payload) {
456
456
  {
457
457
  transformFn: transformRESTTimestampToSDKTimestamp,
458
458
  paths: [
459
- { path: "results.pool.createdDate" },
460
- { path: "results.pool.updatedDate" },
461
459
  { path: "results.item.createdDate" },
462
460
  { path: "results.item.updatedDate" }
463
461
  ]
@@ -498,6 +496,7 @@ function checkEligibilityByFilter(payload) {
498
496
 
499
497
  // src/benefit-programs-v1-pool-pools.universal.ts
500
498
  import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
499
+ import { createQueryUtils } from "@wix/sdk-runtime/query-builder-utils";
501
500
  var PoolStatus = /* @__PURE__ */ ((PoolStatus2) => {
502
501
  PoolStatus2["UNDEFINED"] = "UNDEFINED";
503
502
  PoolStatus2["ACTIVE"] = "ACTIVE";
@@ -574,15 +573,6 @@ var BenefitResultType = /* @__PURE__ */ ((BenefitResultType2) => {
574
573
  BenefitResultType2["POOL_NOT_FOUND"] = "POOL_NOT_FOUND";
575
574
  return BenefitResultType2;
576
575
  })(BenefitResultType || {});
577
- var EligibilityCheckResultType = /* @__PURE__ */ ((EligibilityCheckResultType2) => {
578
- EligibilityCheckResultType2["UNKNOWN"] = "UNKNOWN";
579
- EligibilityCheckResultType2["ELIGIBLE"] = "ELIGIBLE";
580
- EligibilityCheckResultType2["NOT_ENOUGH_BALANCE"] = "NOT_ENOUGH_BALANCE";
581
- EligibilityCheckResultType2["POOL_NOT_ACTIVE"] = "POOL_NOT_ACTIVE";
582
- EligibilityCheckResultType2["BENEFIT_NOT_FOUND"] = "BENEFIT_NOT_FOUND";
583
- EligibilityCheckResultType2["POOL_NOT_FOUND"] = "POOL_NOT_FOUND";
584
- return EligibilityCheckResultType2;
585
- })(EligibilityCheckResultType || {});
586
576
  var ListPoolsRequestType = /* @__PURE__ */ ((ListPoolsRequestType2) => {
587
577
  ListPoolsRequestType2["UNKNOWN_FILTER"] = "UNKNOWN_FILTER";
588
578
  ListPoolsRequestType2["BY_ITEM_REFERENCE"] = "BY_ITEM_REFERENCE";
@@ -728,6 +718,9 @@ async function typedQueryPools(query, options) {
728
718
  throw transformedError;
729
719
  }
730
720
  }
721
+ var utils = {
722
+ ...createQueryUtils()
723
+ };
731
724
  async function redeemBenefit2(poolId, options) {
732
725
  const { httpClient, sideEffects } = arguments[2];
733
726
  const payload = renameKeysFromSDKRequestToRESTRequest({
@@ -950,7 +943,6 @@ async function checkEligibilityByFilter2(options) {
950
943
  }
951
944
  export {
952
945
  BenefitResultType,
953
- EligibilityCheckResultType,
954
946
  IdentityType,
955
947
  ListPoolsRequestType,
956
948
  PolicyExpressionType,
@@ -973,6 +965,7 @@ export {
973
965
  queryPools2 as queryPools,
974
966
  redeemBenefit2 as redeemBenefit,
975
967
  typedQueryPools,
976
- updatePool2 as updatePool
968
+ updatePool2 as updatePool,
969
+ utils
977
970
  };
978
971
  //# sourceMappingURL=index.typings.mjs.map