@wix/auto_sdk_benefit-programs_pools 1.0.74 → 1.0.76

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 (49) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +4 -8
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +54 -69
  5. package/build/cjs/index.typings.js +4 -8
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +36 -69
  8. package/build/cjs/meta.js +0 -6
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.d.ts +10 -0
  11. package/build/cjs/schemas.js +16 -2
  12. package/build/cjs/schemas.js.map +1 -1
  13. package/build/es/index.d.mts +1 -1
  14. package/build/es/index.mjs +4 -7
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +54 -69
  17. package/build/es/index.typings.mjs +4 -7
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +36 -69
  20. package/build/es/meta.mjs +0 -5
  21. package/build/es/meta.mjs.map +1 -1
  22. package/build/es/schemas.d.mts +10 -0
  23. package/build/es/schemas.mjs +16 -2
  24. package/build/es/schemas.mjs.map +1 -1
  25. package/build/internal/cjs/index.d.ts +1 -1
  26. package/build/internal/cjs/index.js +4 -8
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +66 -69
  29. package/build/internal/cjs/index.typings.js +4 -8
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +36 -69
  32. package/build/internal/cjs/meta.js +0 -6
  33. package/build/internal/cjs/meta.js.map +1 -1
  34. package/build/internal/cjs/schemas.d.ts +10 -0
  35. package/build/internal/cjs/schemas.js +16 -2
  36. package/build/internal/cjs/schemas.js.map +1 -1
  37. package/build/internal/es/index.d.mts +1 -1
  38. package/build/internal/es/index.mjs +4 -7
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +66 -69
  41. package/build/internal/es/index.typings.mjs +4 -7
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +36 -69
  44. package/build/internal/es/meta.mjs +0 -5
  45. package/build/internal/es/meta.mjs.map +1 -1
  46. package/build/internal/es/schemas.d.mts +10 -0
  47. package/build/internal/es/schemas.mjs +16 -2
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -934,6 +934,12 @@ interface PoolInfo {
934
934
  * @format GUID
935
935
  */
936
936
  poolDefinitionId?: string;
937
+ /**
938
+ * Credit unit type.
939
+ * @internal
940
+ * @maxLength 16
941
+ */
942
+ creditUnitType?: string | null;
937
943
  }
938
944
  interface BalanceAmount {
939
945
  /**
@@ -965,6 +971,12 @@ interface BenefitInfo {
965
971
  * @maxLength 64
966
972
  */
967
973
  benefitKey?: string;
974
+ /**
975
+ * Price of the benefit in credits.
976
+ * @internal
977
+ * @decimalValue options { gte:0, maxScale:4 }
978
+ */
979
+ price?: string | null;
968
980
  }
969
981
  interface PolicyExpressionEvaluatedToFalse {
970
982
  /**
@@ -1406,74 +1418,6 @@ interface GetEligibleBenefitsResponse {
1406
1418
  /** Retrieved benefits that can be redeemed. */
1407
1419
  eligibleBenefits?: EligibleBenefit[];
1408
1420
  }
1409
- interface ListPoolsRequest {
1410
- /** The filter */
1411
- filter?: Filter;
1412
- /** Cursor paging */
1413
- cursorPaging?: CursorPaging;
1414
- }
1415
- declare enum ListPoolsRequestType {
1416
- BY_ITEM_REFERENCE = "BY_ITEM_REFERENCE"
1417
- }
1418
- /** @enumType */
1419
- type ListPoolsRequestTypeWithLiterals = ListPoolsRequestType | 'BY_ITEM_REFERENCE';
1420
- interface ByItemReference {
1421
- /**
1422
- * A list of filters
1423
- * @maxSize 100
1424
- */
1425
- filters?: ByItemReferenceFilter[];
1426
- /** Beneficiary of the pool */
1427
- beneficiary?: CommonIdentificationData;
1428
- /**
1429
- * Returns pools that are in the following statuses
1430
- * @maxSize 10
1431
- */
1432
- poolStatuses?: PoolStatusWithLiterals[];
1433
- }
1434
- interface ByItemReferenceFilter {
1435
- /** Reference of the item */
1436
- itemReference?: ItemReference;
1437
- }
1438
- interface Filter extends FilterFilterOneOf {
1439
- /** A list of filters by reference */
1440
- byItemReferenceOptions?: ByItemReference;
1441
- /** Type of the filter */
1442
- type?: ListPoolsRequestTypeWithLiterals;
1443
- /**
1444
- * Module that is the source of the benefit pool creation.
1445
- *
1446
- * This value must correspond with the previously defined namespace established when creating the associated pool definition.
1447
- *
1448
- * It ensures efficient processing and management of pools and benefits.
1449
- * @minLength 1
1450
- * @maxLength 20
1451
- */
1452
- namespace?: string;
1453
- }
1454
- /** @oneof */
1455
- interface FilterFilterOneOf {
1456
- /** A list of filters by reference */
1457
- byItemReferenceOptions?: ByItemReference;
1458
- }
1459
- interface ListPoolsResponse {
1460
- /**
1461
- * The retrieved pools
1462
- * @maxSize 100
1463
- */
1464
- pools?: PoolWithItems[];
1465
- /** Paging information */
1466
- metadata?: CursorPagingMetadata;
1467
- }
1468
- interface PoolWithItems {
1469
- /** The pool */
1470
- pool?: Pool;
1471
- /**
1472
- * The items in the pool
1473
- * @maxSize 100
1474
- */
1475
- itemReference?: ItemReference[];
1476
- }
1477
1421
  interface BulkUpdatePoolsRequest {
1478
1422
  /**
1479
1423
  * Pools to update.
@@ -1699,6 +1643,16 @@ interface CheckBenefitEligibilityByFilterRequest {
1699
1643
  * The filter selects pools using the same fields supported by Query Pools. For field support, see [Filtering and Sorting](https://dev.wix.com/docs/rest/business-solutions/benefit-programs/pools/filtering-and-sorting).
1700
1644
  *
1701
1645
  * When omitted, eligibility is checked across all pools in the namespace that match the provided `beneficiary`. Combined with `beneficiary` and `namespace`, the filter further narrows which pools are checked.
1646
+ *
1647
+ * Deprecated: use `pool_selector` instead. Can't be combined with `pool_selector`.
1648
+ * @deprecated Defines filtering and sorting criteria used to select pools when checking eligibility.
1649
+ *
1650
+ * The filter selects pools using the same fields supported by Query Pools. For field support, see [Filtering and Sorting](https://dev.wix.com/docs/rest/business-solutions/benefit-programs/pools/filtering-and-sorting).
1651
+ *
1652
+ * When omitted, eligibility is checked across all pools in the namespace that match the provided `beneficiary`. Combined with `beneficiary` and `namespace`, the filter further narrows which pools are checked.
1653
+ *
1654
+ * Deprecated: use `pool_selector` instead. Can't be combined with `pool_selector`.
1655
+ * @targetRemovalDate 2026-08-01
1702
1656
  */
1703
1657
  poolFilter?: PoolFilter;
1704
1658
  /**
@@ -1726,6 +1680,14 @@ interface CheckBenefitEligibilityByFilterRequest {
1726
1680
  beneficiary?: CommonIdentificationData;
1727
1681
  /** Additional information. */
1728
1682
  additionalData?: Record<string, any> | null;
1683
+ /**
1684
+ * Predefined attributes used to select the pools to check eligibility in.
1685
+ *
1686
+ * When omitted, eligibility is checked across all pools in the namespace that match the provided `beneficiary`. Combined with `beneficiary` and `namespace`, the selector further narrows which pools are checked.
1687
+ *
1688
+ * Can't be combined with `pool_filter`.
1689
+ */
1690
+ poolSelector?: PoolSelector;
1729
1691
  }
1730
1692
  interface PoolFilter {
1731
1693
  /**
@@ -1740,6 +1702,19 @@ interface PoolFilter {
1740
1702
  */
1741
1703
  sort?: Sorting[];
1742
1704
  }
1705
+ /**
1706
+ * Predefined pool-selection attributes used to select the pools to check eligibility in.
1707
+ *
1708
+ * All provided attributes must match for a pool to be selected, while the values within each attribute are alternatives.
1709
+ * An empty selector selects all pools in the namespace that match the provided `beneficiary`.
1710
+ */
1711
+ interface PoolSelector {
1712
+ /**
1713
+ * Only pools in these statuses are checked. When empty, pools in all statuses are checked.
1714
+ * @maxSize 10
1715
+ */
1716
+ poolStatuses?: PoolStatusWithLiterals[];
1717
+ }
1743
1718
  interface CheckBenefitEligibilityByFilterResponse {
1744
1719
  /**
1745
1720
  * Results of the eligibility check for the benefits in the pools that matched the filter. A pool that contains multiple benefits for the requested item produces one result per benefit.
@@ -1952,6 +1927,10 @@ type CheckBenefitEligibilityByFilterApplicationErrors = {
1952
1927
  code?: 'INVALID_ITEM_REFERENCE';
1953
1928
  description?: string;
1954
1929
  data?: Record<string, any>;
1930
+ } | {
1931
+ code?: 'POOL_FILTER_AND_POOL_SELECTOR_PROVIDED';
1932
+ description?: string;
1933
+ data?: Record<string, any>;
1955
1934
  };
1956
1935
  /**
1957
1936
  * Retrieves a pool.
@@ -2477,6 +2456,16 @@ interface CheckBenefitEligibilityByFilterOptions {
2477
2456
  * The filter selects pools using the same fields supported by Query Pools. For field support, see [Filtering and Sorting](https://dev.wix.com/docs/rest/business-solutions/benefit-programs/pools/filtering-and-sorting).
2478
2457
  *
2479
2458
  * When omitted, eligibility is checked across all pools in the namespace that match the provided `beneficiary`. Combined with `beneficiary` and `namespace`, the filter further narrows which pools are checked.
2459
+ *
2460
+ * Deprecated: use `pool_selector` instead. Can't be combined with `pool_selector`.
2461
+ * @deprecated Defines filtering and sorting criteria used to select pools when checking eligibility.
2462
+ *
2463
+ * The filter selects pools using the same fields supported by Query Pools. For field support, see [Filtering and Sorting](https://dev.wix.com/docs/rest/business-solutions/benefit-programs/pools/filtering-and-sorting).
2464
+ *
2465
+ * When omitted, eligibility is checked across all pools in the namespace that match the provided `beneficiary`. Combined with `beneficiary` and `namespace`, the filter further narrows which pools are checked.
2466
+ *
2467
+ * Deprecated: use `pool_selector` instead. Can't be combined with `pool_selector`.
2468
+ * @targetRemovalDate 2026-08-01
2480
2469
  */
2481
2470
  poolFilter?: PoolFilter;
2482
2471
  /**
@@ -2504,6 +2493,14 @@ interface CheckBenefitEligibilityByFilterOptions {
2504
2493
  beneficiary?: CommonIdentificationData;
2505
2494
  /** Additional information. */
2506
2495
  additionalData?: Record<string, any> | null;
2496
+ /**
2497
+ * Predefined attributes used to select the pools to check eligibility in.
2498
+ *
2499
+ * When omitted, eligibility is checked across all pools in the namespace that match the provided `beneficiary`. Combined with `beneficiary` and `namespace`, the selector further narrows which pools are checked.
2500
+ *
2501
+ * Can't be combined with `pool_filter`.
2502
+ */
2503
+ poolSelector?: PoolSelector;
2507
2504
  }
2508
2505
 
2509
- 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 CheckBenefitEligibilityByFilterApplicationErrors, type CheckBenefitEligibilityByFilterOptions, type CheckBenefitEligibilityByFilterRequest, type CheckBenefitEligibilityByFilterResponse, type CheckBenefitEligibilityOptions, type CheckBenefitEligibilityRequest, type CheckBenefitEligibilityResponse, 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 HealPoolRequest, type HealPoolResponse, type HealPoolTenantRequest, type HealPoolTenantResponse, 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, checkBenefitEligibilityByFilter, getEligibleBenefits, getPool, queryPools, redeemBenefit, typedQueryPools, updatePool, utils };
2506
+ 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 ByPoolDefinitionIdAndProgramDefinitionIdOptions, type ByProgramIdOptions, type CancelBenefitReservationRequest, type CancelBenefitReservationResponse, type CheckBenefitEligibilityByFilterApplicationErrors, type CheckBenefitEligibilityByFilterOptions, type CheckBenefitEligibilityByFilterRequest, type CheckBenefitEligibilityByFilterResponse, type CheckBenefitEligibilityOptions, type CheckBenefitEligibilityRequest, type CheckBenefitEligibilityResponse, 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 FixedIntervalPolicy, type GetEligibleBenefitsApplicationErrors, type GetEligibleBenefitsOptions, type GetEligibleBenefitsRequest, type GetEligibleBenefitsResponse, type GetPoolRequest, type GetPoolResponse, type HealPoolRequest, type HealPoolResponse, type HealPoolTenantRequest, type HealPoolTenantResponse, type IdentificationData, type IdentificationDataIdOneOf, IdentityType, type IdentityTypeWithLiterals, type InvalidPoolDefinitionReference, type ItemMetadata, type ItemReference, 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, type PoolSelector, PoolSelectorType, type PoolSelectorTypeWithLiterals, PoolStatus, type PoolStatusUpdateJobFinished, type PoolStatusUpdateJobFinishedContextOneOf, type PoolStatusUpdateParamsPoolInfo, type PoolStatusWithLiterals, 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, checkBenefitEligibilityByFilter, getEligibleBenefits, getPool, queryPools, redeemBenefit, typedQueryPools, updatePool, utils };
@@ -22,7 +22,6 @@ var index_typings_exports = {};
22
22
  __export(index_typings_exports, {
23
23
  BenefitResultType: () => BenefitResultType,
24
24
  IdentityType: () => IdentityType,
25
- ListPoolsRequestType: () => ListPoolsRequestType,
26
25
  PolicyExpressionType: () => PolicyExpressionType,
27
26
  PoolOrigin: () => PoolOrigin,
28
27
  PoolRenewalActionType: () => PoolRenewalActionType,
@@ -612,10 +611,6 @@ var BenefitResultType = /* @__PURE__ */ ((BenefitResultType2) => {
612
611
  BenefitResultType2["POOL_NOT_FOUND"] = "POOL_NOT_FOUND";
613
612
  return BenefitResultType2;
614
613
  })(BenefitResultType || {});
615
- var ListPoolsRequestType = /* @__PURE__ */ ((ListPoolsRequestType2) => {
616
- ListPoolsRequestType2["BY_ITEM_REFERENCE"] = "BY_ITEM_REFERENCE";
617
- return ListPoolsRequestType2;
618
- })(ListPoolsRequestType || {});
619
614
  var ProvisionPoolsForProgramResponseType = /* @__PURE__ */ ((ProvisionPoolsForProgramResponseType2) => {
620
615
  ProvisionPoolsForProgramResponseType2["SYNC"] = "SYNC";
621
616
  ProvisionPoolsForProgramResponseType2["ASYNC"] = "ASYNC";
@@ -949,7 +944,8 @@ async function checkBenefitEligibilityByFilter2(options) {
949
944
  count: options?.count,
950
945
  targetDate: options?.targetDate,
951
946
  beneficiary: options?.beneficiary,
952
- additionalData: options?.additionalData
947
+ additionalData: options?.additionalData,
948
+ poolSelector: options?.poolSelector
953
949
  });
954
950
  const reqOpts = checkBenefitEligibilityByFilter(payload);
955
951
  sideEffects?.onSiteCall?.();
@@ -969,7 +965,8 @@ async function checkBenefitEligibilityByFilter2(options) {
969
965
  count: "$[0].count",
970
966
  targetDate: "$[0].targetDate",
971
967
  beneficiary: "$[0].beneficiary",
972
- additionalData: "$[0].additionalData"
968
+ additionalData: "$[0].additionalData",
969
+ poolSelector: "$[0].poolSelector"
973
970
  },
974
971
  singleArgumentUnchanged: false
975
972
  },
@@ -983,7 +980,6 @@ async function checkBenefitEligibilityByFilter2(options) {
983
980
  0 && (module.exports = {
984
981
  BenefitResultType,
985
982
  IdentityType,
986
- ListPoolsRequestType,
987
983
  PolicyExpressionType,
988
984
  PoolOrigin,
989
985
  PoolRenewalActionType,