@wix/auto_sdk_benefit-programs_pools 1.0.81 → 1.0.82
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 +3 -2
- package/build/cjs/index.js +13 -14
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +10 -72
- package/build/cjs/index.typings.js +11 -13
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +5 -42
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +3 -2
- package/build/es/index.mjs +13 -14
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +10 -72
- package/build/es/index.typings.mjs +11 -13
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +5 -42
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +4 -3
- package/build/internal/cjs/index.typings.d.ts +13 -73
- package/build/internal/cjs/meta.d.ts +5 -42
- package/build/internal/es/index.d.mts +4 -3
- package/build/internal/es/index.typings.d.mts +13 -73
- package/build/internal/es/meta.d.mts +5 -42
- package/package.json +2 -2
|
@@ -1103,7 +1103,7 @@ interface ReallocateBenefitRequest {
|
|
|
1103
1103
|
*/
|
|
1104
1104
|
idempotencyKey: string;
|
|
1105
1105
|
/** Beneficiary of the pool containing the benefit to reallocate. Must match the beneficiary of the original redemption. */
|
|
1106
|
-
beneficiary
|
|
1106
|
+
beneficiary: CommonIdentificationData;
|
|
1107
1107
|
/**
|
|
1108
1108
|
* 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.
|
|
1109
1109
|
* @minLength 1
|
|
@@ -1690,24 +1690,6 @@ interface CountNumberOfPoolsInProvisioningStatusResponse {
|
|
|
1690
1690
|
count?: number;
|
|
1691
1691
|
}
|
|
1692
1692
|
interface CheckBenefitEligibilityByFilterRequest {
|
|
1693
|
-
/**
|
|
1694
|
-
* Defines filtering and sorting criteria used to select pools when checking eligibility.
|
|
1695
|
-
*
|
|
1696
|
-
* 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).
|
|
1697
|
-
*
|
|
1698
|
-
* 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.
|
|
1699
|
-
*
|
|
1700
|
-
* Deprecated: use `pool_selector` instead. Can't be combined with `pool_selector`.
|
|
1701
|
-
* @deprecated Defines filtering and sorting criteria used to select pools when checking eligibility.
|
|
1702
|
-
*
|
|
1703
|
-
* 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).
|
|
1704
|
-
*
|
|
1705
|
-
* 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.
|
|
1706
|
-
*
|
|
1707
|
-
* Deprecated: use `pool_selector` instead. Can't be combined with `pool_selector`.
|
|
1708
|
-
* @targetRemovalDate 2026-08-01
|
|
1709
|
-
*/
|
|
1710
|
-
poolFilter?: PoolFilter;
|
|
1711
1693
|
/**
|
|
1712
1694
|
* 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.
|
|
1713
1695
|
* @minLength 1
|
|
@@ -1729,7 +1711,7 @@ interface CheckBenefitEligibilityByFilterRequest {
|
|
|
1729
1711
|
* This parameter should be used to manage the potential logistics of providing the item.
|
|
1730
1712
|
*/
|
|
1731
1713
|
targetDate?: Date | null;
|
|
1732
|
-
/** Pool beneficiary. When provided, only the beneficiary's pools that also match `
|
|
1714
|
+
/** Pool beneficiary. When provided, only the beneficiary's pools that also match `pool_selector` are checked. */
|
|
1733
1715
|
beneficiary?: CommonIdentificationData;
|
|
1734
1716
|
/** Additional information. */
|
|
1735
1717
|
additionalData?: Record<string, any> | null;
|
|
@@ -1737,24 +1719,9 @@ interface CheckBenefitEligibilityByFilterRequest {
|
|
|
1737
1719
|
* Predefined attributes used to select the pools to check eligibility in.
|
|
1738
1720
|
*
|
|
1739
1721
|
* 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.
|
|
1740
|
-
*
|
|
1741
|
-
* Can't be combined with `pool_filter`.
|
|
1742
1722
|
*/
|
|
1743
1723
|
poolSelector?: PoolSelector;
|
|
1744
1724
|
}
|
|
1745
|
-
interface PoolFilter {
|
|
1746
|
-
/**
|
|
1747
|
-
* Filter object. See [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language) for more information.
|
|
1748
|
-
*
|
|
1749
|
-
* For supported filterable and sortable fields, see [Filtering and Sorting](https://dev.wix.com/docs/rest/business-solutions/benefit-programs/pools/filtering-and-sorting).
|
|
1750
|
-
*/
|
|
1751
|
-
filter?: Record<string, any> | null;
|
|
1752
|
-
/**
|
|
1753
|
-
* 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.
|
|
1754
|
-
* @maxSize 5
|
|
1755
|
-
*/
|
|
1756
|
-
sort?: Sorting[];
|
|
1757
|
-
}
|
|
1758
1725
|
/**
|
|
1759
1726
|
* Predefined pool-selection attributes used to select the pools to check eligibility in.
|
|
1760
1727
|
*
|
|
@@ -1770,9 +1737,9 @@ interface PoolSelector {
|
|
|
1770
1737
|
}
|
|
1771
1738
|
interface CheckBenefitEligibilityByFilterResponse {
|
|
1772
1739
|
/**
|
|
1773
|
-
* Results of the eligibility check for the benefits in the pools that
|
|
1740
|
+
* Results of the eligibility check for the benefits in the pools that match the request. A pool that contains multiple benefits for the requested item produces one result per benefit.
|
|
1774
1741
|
*
|
|
1775
|
-
* Empty when no pools match
|
|
1742
|
+
* Empty when no pools match. Capped at 100 results. When more than 100 results are produced, which results are returned isn't guaranteed.
|
|
1776
1743
|
* @maxSize 100
|
|
1777
1744
|
*/
|
|
1778
1745
|
results?: EligibilityCheckResult[];
|
|
@@ -2044,10 +2011,6 @@ type CheckBenefitEligibilityByFilterApplicationErrors = {
|
|
|
2044
2011
|
code?: 'INVALID_ITEM_REFERENCE';
|
|
2045
2012
|
description?: string;
|
|
2046
2013
|
data?: Record<string, any>;
|
|
2047
|
-
} | {
|
|
2048
|
-
code?: 'POOL_FILTER_AND_POOL_SELECTOR_PROVIDED';
|
|
2049
|
-
description?: string;
|
|
2050
|
-
data?: Record<string, any>;
|
|
2051
2014
|
};
|
|
2052
2015
|
/**
|
|
2053
2016
|
* Retrieves a pool.
|
|
@@ -2400,7 +2363,7 @@ interface ReallocateBenefitOptions {
|
|
|
2400
2363
|
*/
|
|
2401
2364
|
idempotencyKey: string;
|
|
2402
2365
|
/** Beneficiary of the pool containing the benefit to reallocate. Must match the beneficiary of the original redemption. */
|
|
2403
|
-
beneficiary
|
|
2366
|
+
beneficiary: CommonIdentificationData;
|
|
2404
2367
|
/**
|
|
2405
2368
|
* 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.
|
|
2406
2369
|
* @minLength 1
|
|
@@ -2571,44 +2534,21 @@ interface BulkUpdatePoolsOptions {
|
|
|
2571
2534
|
* To be redeemed, a benefit's pool must be active and the associated balance must be greater than the cost of the benefit.
|
|
2572
2535
|
*
|
|
2573
2536
|
* 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.
|
|
2537
|
+
* @param namespace - 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.
|
|
2574
2538
|
* @public
|
|
2539
|
+
* @requiredField namespace
|
|
2575
2540
|
* @requiredField options.count
|
|
2576
2541
|
* @requiredField options.itemReference
|
|
2577
2542
|
* @requiredField options.itemReference.externalId
|
|
2578
2543
|
* @requiredField options.itemReference.providerAppId
|
|
2579
|
-
* @requiredField options.namespace
|
|
2580
2544
|
* @permissionId benefit_programs:v1:pool:check_benefit_eligibility_by_filter
|
|
2581
2545
|
* @applicableIdentity APP
|
|
2582
2546
|
* @fqn wix.benefit_programs.v1.pool.PoolService.CheckBenefitEligibilityByFilter
|
|
2583
2547
|
*/
|
|
2584
|
-
declare function checkBenefitEligibilityByFilter(options?: NonNullablePaths<CheckBenefitEligibilityByFilterOptions, `count` | `itemReference` | `itemReference.externalId` | `itemReference.providerAppId
|
|
2548
|
+
declare function checkBenefitEligibilityByFilter(namespace: string, options?: NonNullablePaths<CheckBenefitEligibilityByFilterOptions, `count` | `itemReference` | `itemReference.externalId` | `itemReference.providerAppId`, 3>): Promise<NonNullablePaths<CheckBenefitEligibilityByFilterResponse, `results`, 2> & {
|
|
2585
2549
|
__applicationErrorsType?: CheckBenefitEligibilityByFilterApplicationErrors;
|
|
2586
2550
|
}>;
|
|
2587
2551
|
interface CheckBenefitEligibilityByFilterOptions {
|
|
2588
|
-
/**
|
|
2589
|
-
* Defines filtering and sorting criteria used to select pools when checking eligibility.
|
|
2590
|
-
*
|
|
2591
|
-
* 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).
|
|
2592
|
-
*
|
|
2593
|
-
* 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.
|
|
2594
|
-
*
|
|
2595
|
-
* Deprecated: use `pool_selector` instead. Can't be combined with `pool_selector`.
|
|
2596
|
-
* @deprecated Defines filtering and sorting criteria used to select pools when checking eligibility.
|
|
2597
|
-
*
|
|
2598
|
-
* 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).
|
|
2599
|
-
*
|
|
2600
|
-
* 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.
|
|
2601
|
-
*
|
|
2602
|
-
* Deprecated: use `pool_selector` instead. Can't be combined with `pool_selector`.
|
|
2603
|
-
* @targetRemovalDate 2026-08-01
|
|
2604
|
-
*/
|
|
2605
|
-
poolFilter?: PoolFilter;
|
|
2606
|
-
/**
|
|
2607
|
-
* 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.
|
|
2608
|
-
* @minLength 1
|
|
2609
|
-
* @maxLength 20
|
|
2610
|
-
*/
|
|
2611
|
-
namespace: string;
|
|
2612
2552
|
/** Information about the item to check. */
|
|
2613
2553
|
itemReference: ItemReference;
|
|
2614
2554
|
/**
|
|
@@ -2624,7 +2564,7 @@ interface CheckBenefitEligibilityByFilterOptions {
|
|
|
2624
2564
|
* This parameter should be used to manage the potential logistics of providing the item.
|
|
2625
2565
|
*/
|
|
2626
2566
|
targetDate?: Date | null;
|
|
2627
|
-
/** Pool beneficiary. When provided, only the beneficiary's pools that also match `
|
|
2567
|
+
/** Pool beneficiary. When provided, only the beneficiary's pools that also match `pool_selector` are checked. */
|
|
2628
2568
|
beneficiary?: CommonIdentificationData;
|
|
2629
2569
|
/** Additional information. */
|
|
2630
2570
|
additionalData?: Record<string, any> | null;
|
|
@@ -2632,10 +2572,8 @@ interface CheckBenefitEligibilityByFilterOptions {
|
|
|
2632
2572
|
* Predefined attributes used to select the pools to check eligibility in.
|
|
2633
2573
|
*
|
|
2634
2574
|
* 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.
|
|
2635
|
-
*
|
|
2636
|
-
* Can't be combined with `pool_filter`.
|
|
2637
2575
|
*/
|
|
2638
2576
|
poolSelector?: PoolSelector;
|
|
2639
2577
|
}
|
|
2640
2578
|
|
|
2641
|
-
export { type AccountInfo, type ActionEvent, type AlreadyExecuted, type ApplicationError, type AsyncResult, type BalanceAmount, type Benefit, type BenefitAlreadyRedeemed, type BenefitInfo, type BenefitNotFound, type BenefitReallocated, 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 CancelRedemptionApplicationErrors, type CancelRedemptionOptions, type CancelRedemptionRequest, type CancelRedemptionResponse, type CancellationDetails, type ChainOperationInProgress, 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, Intent, type IntentWithLiterals, type InvalidPoolDefinitionReference, type ItemMetadata, type ItemReference, type MaskedPool, type MessageEnvelope, type NotEnoughBalance, type NotLatestTransaction, 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
|
|
2579
|
+
export { type AccountInfo, type ActionEvent, type AlreadyExecuted, type ApplicationError, type AsyncResult, type BalanceAmount, type Benefit, type BenefitAlreadyRedeemed, type BenefitInfo, type BenefitNotFound, type BenefitReallocated, 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 CancelRedemptionApplicationErrors, type CancelRedemptionOptions, type CancelRedemptionRequest, type CancelRedemptionResponse, type CancellationDetails, type ChainOperationInProgress, 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, Intent, type IntentWithLiterals, type InvalidPoolDefinitionReference, type ItemMetadata, type ItemReference, type MaskedPool, type MessageEnvelope, type NotEnoughBalance, type NotLatestTransaction, 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 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 ReallocateBenefitApplicationErrors, type ReallocateBenefitOptions, type ReallocateBenefitRequest, type ReallocateBenefitResponse, type ReallocationDetails, type RedeemBenefitApplicationErrors, type RedeemBenefitOptions, type RedeemBenefitRequest, type RedeemBenefitResponse, type RedemptionAlreadyCanceled, type RedemptionCanceled, 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 TransactionNotFound, 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 };
|
|
@@ -1056,11 +1056,10 @@ async function bulkUpdatePools2(options) {
|
|
|
1056
1056
|
throw transformedError;
|
|
1057
1057
|
}
|
|
1058
1058
|
}
|
|
1059
|
-
async function checkBenefitEligibilityByFilter2(options) {
|
|
1060
|
-
const { httpClient, sideEffects } = arguments[
|
|
1059
|
+
async function checkBenefitEligibilityByFilter2(namespace, options) {
|
|
1060
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1061
1061
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1062
|
-
|
|
1063
|
-
namespace: options?.namespace,
|
|
1062
|
+
namespace,
|
|
1064
1063
|
itemReference: options?.itemReference,
|
|
1065
1064
|
count: options?.count,
|
|
1066
1065
|
targetDate: options?.targetDate,
|
|
@@ -1080,18 +1079,17 @@ async function checkBenefitEligibilityByFilter2(options) {
|
|
|
1080
1079
|
{
|
|
1081
1080
|
spreadPathsToArguments: {},
|
|
1082
1081
|
explicitPathsToArguments: {
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
poolSelector: "$[0].poolSelector"
|
|
1082
|
+
namespace: "$[0]",
|
|
1083
|
+
itemReference: "$[1].itemReference",
|
|
1084
|
+
count: "$[1].count",
|
|
1085
|
+
targetDate: "$[1].targetDate",
|
|
1086
|
+
beneficiary: "$[1].beneficiary",
|
|
1087
|
+
additionalData: "$[1].additionalData",
|
|
1088
|
+
poolSelector: "$[1].poolSelector"
|
|
1091
1089
|
},
|
|
1092
1090
|
singleArgumentUnchanged: false
|
|
1093
1091
|
},
|
|
1094
|
-
["options"]
|
|
1092
|
+
["namespace", "options"]
|
|
1095
1093
|
);
|
|
1096
1094
|
sideEffects?.onError?.(err);
|
|
1097
1095
|
throw transformedError;
|