@wix/auto_sdk_benefit-programs_pools 1.0.68 → 1.0.69

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 +3 -19
  2. package/build/cjs/index.js +0 -76
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +5 -115
  5. package/build/cjs/index.typings.js +0 -68
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +6 -61
  8. package/build/cjs/meta.js +0 -47
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.d.ts +1 -150
  11. package/build/cjs/schemas.js +0 -256
  12. package/build/cjs/schemas.js.map +1 -1
  13. package/build/es/index.d.mts +3 -19
  14. package/build/es/index.mjs +0 -75
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +5 -115
  17. package/build/es/index.typings.mjs +0 -67
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +6 -61
  20. package/build/es/meta.mjs +0 -46
  21. package/build/es/meta.mjs.map +1 -1
  22. package/build/es/schemas.d.mts +1 -150
  23. package/build/es/schemas.mjs +0 -254
  24. package/build/es/schemas.mjs.map +1 -1
  25. package/build/internal/cjs/index.d.ts +3 -22
  26. package/build/internal/cjs/index.js +0 -76
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +5 -120
  29. package/build/internal/cjs/index.typings.js +0 -68
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +6 -61
  32. package/build/internal/cjs/meta.js +0 -47
  33. package/build/internal/cjs/meta.js.map +1 -1
  34. package/build/internal/cjs/schemas.d.ts +1 -150
  35. package/build/internal/cjs/schemas.js +0 -256
  36. package/build/internal/cjs/schemas.js.map +1 -1
  37. package/build/internal/es/index.d.mts +3 -22
  38. package/build/internal/es/index.mjs +0 -75
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +5 -120
  41. package/build/internal/es/index.typings.mjs +0 -67
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +6 -61
  44. package/build/internal/es/meta.mjs +0 -46
  45. package/build/internal/es/meta.mjs.map +1 -1
  46. package/build/internal/es/schemas.d.mts +1 -150
  47. package/build/internal/es/schemas.mjs +0 -254
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -1621,14 +1621,10 @@ interface CheckEligibilityByFilterRequest {
1621
1621
  additionalData?: Record<string, any> | null;
1622
1622
  }
1623
1623
  interface PoolFilter {
1624
- /**
1625
- * Filter object. See [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language) for more information.
1626
- *
1627
- * For supported filterable and sortable fields, see [Filtering and Sorting](https://dev.wix.com/docs/rest/business-solutions/benefit-programs/pools/filtering-and-sorting).
1628
- */
1624
+ /** Filter options. To learn more, see [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language). */
1629
1625
  filter?: Record<string, any> | null;
1630
1626
  /**
1631
- * Sorting to apply to the matched pools. Determines the order of the returned results, and which results are kept when more than 100 are produced.
1627
+ * List of sort objects.
1632
1628
  * @maxSize 5
1633
1629
  */
1634
1630
  sort?: Sorting[];
@@ -1641,50 +1637,6 @@ interface CheckEligibilityByFilterResponse {
1641
1637
  */
1642
1638
  result?: EligibilityCheckResult[];
1643
1639
  }
1644
- interface CheckBenefitEligibilityByFilterRequest {
1645
- /**
1646
- * Defines filtering and sorting criteria used to select pools when checking eligibility.
1647
- *
1648
- * 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).
1649
- *
1650
- * 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.
1651
- */
1652
- poolFilter?: PoolFilter;
1653
- /**
1654
- * Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created.
1655
- * @minLength 1
1656
- * @maxLength 20
1657
- */
1658
- namespace: string;
1659
- /** Information about the item to check. */
1660
- itemReference: ItemReference;
1661
- /**
1662
- * Number of items to check.
1663
- *
1664
- * Ensures the balance is high enough to redeem this many items.
1665
- * @min 1
1666
- */
1667
- count: number;
1668
- /**
1669
- * Date that the item will be provided to the beneficiary.
1670
- *
1671
- * This parameter should be used to manage the potential logistics of providing the item.
1672
- */
1673
- targetDate?: Date | null;
1674
- /** Pool beneficiary. When provided, only the beneficiary's pools that also match `pool_filter` are checked. */
1675
- beneficiary?: CommonIdentificationData;
1676
- /** Additional information. */
1677
- additionalData?: Record<string, any> | null;
1678
- }
1679
- interface CheckBenefitEligibilityByFilterResponse {
1680
- /**
1681
- * 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.
1682
- *
1683
- * Empty when no pools match the filter. Capped at 100 results. When more than 100 results are produced, only the first 100, in the order specified by `poolFilter.sort`, are returned.
1684
- * @maxSize 100
1685
- */
1686
- results?: EligibilityCheckResult[];
1687
- }
1688
1640
  interface HealPoolRequest {
1689
1641
  /**
1690
1642
  * ID of the pool whose enrichments should be re-materialized.
@@ -1694,9 +1646,9 @@ interface HealPoolRequest {
1694
1646
  }
1695
1647
  interface HealPoolResponse {
1696
1648
  }
1697
- interface HealPoolTenantRequest {
1649
+ interface HealPoolsTenantRequest {
1698
1650
  }
1699
- interface HealPoolTenantResponse {
1651
+ interface HealPoolsTenantResponse {
1700
1652
  }
1701
1653
  interface DomainEvent extends DomainEventBodyOneOf {
1702
1654
  createdEvent?: EntityCreatedEvent;
@@ -1883,12 +1835,6 @@ type GetEligibleBenefitsApplicationErrors = {
1883
1835
  description?: string;
1884
1836
  data?: Record<string, any>;
1885
1837
  };
1886
- /** @docsIgnore */
1887
- type CheckBenefitEligibilityByFilterApplicationErrors = {
1888
- code?: 'INVALID_ITEM_REFERENCE';
1889
- description?: string;
1890
- data?: Record<string, any>;
1891
- };
1892
1838
  /**
1893
1839
  * Retrieves a pool.
1894
1840
  * @param poolId - ID of the pool to retrieve.
@@ -2414,61 +2360,5 @@ interface CheckEligibilityByFilterOptions {
2414
2360
  /** Additional information. */
2415
2361
  additionalData?: Record<string, any> | null;
2416
2362
  }
2417
- /**
2418
- * Checks benefit eligibility across the pools that match the filter.
2419
- *
2420
- * The filter selects pools (not individual benefits), 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).
2421
- *
2422
- * To be redeemed, a benefit's pool must be active and the associated balance must be greater than the cost of the benefit.
2423
- *
2424
- * Each benefit is checked independently. For example, if there is a benefit with a price of 3 credits and a benefit with a price of 4 credits, and there are 5 available credits, both benefits would be returned as eligible, but they can't both be redeemed.
2425
- * @public
2426
- * @documentationMaturity preview
2427
- * @requiredField options.count
2428
- * @requiredField options.itemReference
2429
- * @requiredField options.itemReference.externalId
2430
- * @requiredField options.itemReference.providerAppId
2431
- * @requiredField options.namespace
2432
- * @permissionId benefit_programs:v1:pool:check_benefit_eligibility_by_filter
2433
- * @fqn wix.benefit_programs.v1.pool.PoolService.CheckBenefitEligibilityByFilter
2434
- */
2435
- declare function checkBenefitEligibilityByFilter(options?: NonNullablePaths<CheckBenefitEligibilityByFilterOptions, `count` | `itemReference` | `itemReference.externalId` | `itemReference.providerAppId` | `namespace`, 3>): Promise<NonNullablePaths<CheckBenefitEligibilityByFilterResponse, `results`, 2> & {
2436
- __applicationErrorsType?: CheckBenefitEligibilityByFilterApplicationErrors;
2437
- }>;
2438
- interface CheckBenefitEligibilityByFilterOptions {
2439
- /**
2440
- * Defines filtering and sorting criteria used to select pools when checking eligibility.
2441
- *
2442
- * 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).
2443
- *
2444
- * 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.
2445
- */
2446
- poolFilter?: PoolFilter;
2447
- /**
2448
- * Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created.
2449
- * @minLength 1
2450
- * @maxLength 20
2451
- */
2452
- namespace: string;
2453
- /** Information about the item to check. */
2454
- itemReference: ItemReference;
2455
- /**
2456
- * Number of items to check.
2457
- *
2458
- * Ensures the balance is high enough to redeem this many items.
2459
- * @min 1
2460
- */
2461
- count: number;
2462
- /**
2463
- * Date that the item will be provided to the beneficiary.
2464
- *
2465
- * This parameter should be used to manage the potential logistics of providing the item.
2466
- */
2467
- targetDate?: Date | null;
2468
- /** Pool beneficiary. When provided, only the beneficiary's pools that also match `pool_filter` are checked. */
2469
- beneficiary?: CommonIdentificationData;
2470
- /** Additional information. */
2471
- additionalData?: Record<string, any> | null;
2472
- }
2473
2363
 
2474
- 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 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 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 };
2364
+ 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 HealPoolRequest, type HealPoolResponse, type HealPoolsTenantRequest, type HealPoolsTenantResponse, 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, getEligibleBenefits, getPool, queryPools, redeemBenefit, typedQueryPools, updatePool, utils };
@@ -493,33 +493,6 @@ function checkEligibilityByFilter(payload) {
493
493
  }
494
494
  return __checkEligibilityByFilter;
495
495
  }
496
- function checkBenefitEligibilityByFilter(payload) {
497
- function __checkBenefitEligibilityByFilter({ host }) {
498
- const serializedData = transformPaths(payload, [
499
- {
500
- transformFn: transformSDKTimestampToRESTTimestamp,
501
- paths: [{ path: "targetDate" }]
502
- }
503
- ]);
504
- const metadata = {
505
- entityFqdn: "wix.benefit_programs.v1.pool",
506
- method: "POST",
507
- methodFqn: "wix.benefit_programs.v1.pool.PoolService.CheckBenefitEligibilityByFilter",
508
- packageName: PACKAGE_NAME,
509
- migrationOptions: {
510
- optInTransformResponse: true
511
- },
512
- url: resolveWixBenefitProgramsV1PoolPoolServiceUrl({
513
- protoPath: "/v1/pools/check-benefit-eligibility-by-filter",
514
- data: serializedData,
515
- host
516
- }),
517
- data: serializedData
518
- };
519
- return metadata;
520
- }
521
- return __checkBenefitEligibilityByFilter;
522
- }
523
496
 
524
497
  // src/benefit-programs-v1-pool-pools.universal.ts
525
498
  import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
@@ -959,45 +932,6 @@ async function checkEligibilityByFilter2(options) {
959
932
  throw transformedError;
960
933
  }
961
934
  }
962
- async function checkBenefitEligibilityByFilter2(options) {
963
- const { httpClient, sideEffects } = arguments[1];
964
- const payload = renameKeysFromSDKRequestToRESTRequest({
965
- poolFilter: options?.poolFilter,
966
- namespace: options?.namespace,
967
- itemReference: options?.itemReference,
968
- count: options?.count,
969
- targetDate: options?.targetDate,
970
- beneficiary: options?.beneficiary,
971
- additionalData: options?.additionalData
972
- });
973
- const reqOpts = checkBenefitEligibilityByFilter(payload);
974
- sideEffects?.onSiteCall?.();
975
- try {
976
- const result = await httpClient.request(reqOpts);
977
- sideEffects?.onSuccess?.(result);
978
- return renameKeysFromRESTResponseToSDKResponse(result.data);
979
- } catch (err) {
980
- const transformedError = sdkTransformError(
981
- err,
982
- {
983
- spreadPathsToArguments: {},
984
- explicitPathsToArguments: {
985
- poolFilter: "$[0].poolFilter",
986
- namespace: "$[0].namespace",
987
- itemReference: "$[0].itemReference",
988
- count: "$[0].count",
989
- targetDate: "$[0].targetDate",
990
- beneficiary: "$[0].beneficiary",
991
- additionalData: "$[0].additionalData"
992
- },
993
- singleArgumentUnchanged: false
994
- },
995
- ["options"]
996
- );
997
- sideEffects?.onError?.(err);
998
- throw transformedError;
999
- }
1000
- }
1001
935
  export {
1002
936
  BenefitResultType,
1003
937
  IdentityType,
@@ -1016,7 +950,6 @@ export {
1016
950
  bulkCheckBenefitEligibility2 as bulkCheckBenefitEligibility,
1017
951
  bulkUpdatePools2 as bulkUpdatePools,
1018
952
  checkBenefitEligibility2 as checkBenefitEligibility,
1019
- checkBenefitEligibilityByFilter2 as checkBenefitEligibilityByFilter,
1020
953
  checkEligibilityByFilter2 as checkEligibilityByFilter,
1021
954
  getEligibleBenefits2 as getEligibleBenefits,
1022
955
  getPool2 as getPool,