@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.
- package/build/cjs/index.d.ts +3 -19
- package/build/cjs/index.js +0 -76
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +5 -115
- package/build/cjs/index.typings.js +0 -68
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +6 -61
- package/build/cjs/meta.js +0 -47
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +1 -150
- package/build/cjs/schemas.js +0 -256
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +3 -19
- package/build/es/index.mjs +0 -75
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +5 -115
- package/build/es/index.typings.mjs +0 -67
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +6 -61
- package/build/es/meta.mjs +0 -46
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +1 -150
- package/build/es/schemas.mjs +0 -254
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +3 -22
- package/build/internal/cjs/index.js +0 -76
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +5 -120
- package/build/internal/cjs/index.typings.js +0 -68
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +6 -61
- package/build/internal/cjs/meta.js +0 -47
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +1 -150
- package/build/internal/cjs/schemas.js +0 -256
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +3 -22
- package/build/internal/es/index.mjs +0 -75
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +5 -120
- package/build/internal/es/index.typings.mjs +0 -67
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +6 -61
- package/build/internal/es/meta.mjs +0 -46
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +1 -150
- package/build/internal/es/schemas.mjs +0 -254
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetPoolRequest as GetPoolRequest$1, GetPoolResponse as GetPoolResponse$1, UpdatePoolRequest as UpdatePoolRequest$1, UpdatePoolResponse as UpdatePoolResponse$1, QueryPoolsRequest as QueryPoolsRequest$1, QueryPoolsResponse as QueryPoolsResponse$1, RedeemBenefitRequest as RedeemBenefitRequest$1, RedeemBenefitResponse as RedeemBenefitResponse$1, CheckBenefitEligibilityRequest as CheckBenefitEligibilityRequest$1, CheckBenefitEligibilityResponse as CheckBenefitEligibilityResponse$1, BulkCheckBenefitEligibilityRequest as BulkCheckBenefitEligibilityRequest$1, BulkCheckBenefitEligibilityResponse as BulkCheckBenefitEligibilityResponse$1, GetEligibleBenefitsRequest as GetEligibleBenefitsRequest$1, GetEligibleBenefitsResponse as GetEligibleBenefitsResponse$1, BulkUpdatePoolsRequest as BulkUpdatePoolsRequest$1, BulkUpdatePoolsResponse as BulkUpdatePoolsResponse$1, CheckEligibilityByFilterRequest as CheckEligibilityByFilterRequest$1, CheckEligibilityByFilterResponse as CheckEligibilityByFilterResponse$1
|
|
1
|
+
import { GetPoolRequest as GetPoolRequest$1, GetPoolResponse as GetPoolResponse$1, UpdatePoolRequest as UpdatePoolRequest$1, UpdatePoolResponse as UpdatePoolResponse$1, QueryPoolsRequest as QueryPoolsRequest$1, QueryPoolsResponse as QueryPoolsResponse$1, RedeemBenefitRequest as RedeemBenefitRequest$1, RedeemBenefitResponse as RedeemBenefitResponse$1, CheckBenefitEligibilityRequest as CheckBenefitEligibilityRequest$1, CheckBenefitEligibilityResponse as CheckBenefitEligibilityResponse$1, BulkCheckBenefitEligibilityRequest as BulkCheckBenefitEligibilityRequest$1, BulkCheckBenefitEligibilityResponse as BulkCheckBenefitEligibilityResponse$1, GetEligibleBenefitsRequest as GetEligibleBenefitsRequest$1, GetEligibleBenefitsResponse as GetEligibleBenefitsResponse$1, BulkUpdatePoolsRequest as BulkUpdatePoolsRequest$1, BulkUpdatePoolsResponse as BulkUpdatePoolsResponse$1, CheckEligibilityByFilterRequest as CheckEligibilityByFilterRequest$1, CheckEligibilityByFilterResponse as CheckEligibilityByFilterResponse$1 } from './index.typings.js';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
interface Pool {
|
|
@@ -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
|
-
*
|
|
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
|
|
1649
|
+
interface HealPoolsTenantRequest {
|
|
1698
1650
|
}
|
|
1699
|
-
interface
|
|
1651
|
+
interface HealPoolsTenantResponse {
|
|
1700
1652
|
}
|
|
1701
1653
|
interface DomainEvent extends DomainEventBodyOneOf {
|
|
1702
1654
|
createdEvent?: EntityCreatedEvent;
|
|
@@ -1885,12 +1837,6 @@ type GetEligibleBenefitsApplicationErrors = {
|
|
|
1885
1837
|
description?: string;
|
|
1886
1838
|
data?: Record<string, any>;
|
|
1887
1839
|
};
|
|
1888
|
-
/** @docsIgnore */
|
|
1889
|
-
type CheckBenefitEligibilityByFilterApplicationErrors = {
|
|
1890
|
-
code?: 'INVALID_ITEM_REFERENCE';
|
|
1891
|
-
description?: string;
|
|
1892
|
-
data?: Record<string, any>;
|
|
1893
|
-
};
|
|
1894
1840
|
|
|
1895
1841
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
1896
1842
|
getUrl: (context: any) => string;
|
|
@@ -1915,6 +1861,5 @@ declare function bulkCheckBenefitEligibility(): __PublicMethodMetaInfo<'POST', {
|
|
|
1915
1861
|
declare function getEligibleBenefits(): __PublicMethodMetaInfo<'POST', {}, GetEligibleBenefitsRequest$1, GetEligibleBenefitsRequest, GetEligibleBenefitsResponse$1, GetEligibleBenefitsResponse>;
|
|
1916
1862
|
declare function bulkUpdatePools(): __PublicMethodMetaInfo<'POST', {}, BulkUpdatePoolsRequest$1, BulkUpdatePoolsRequest, BulkUpdatePoolsResponse$1, BulkUpdatePoolsResponse>;
|
|
1917
1863
|
declare function checkEligibilityByFilter(): __PublicMethodMetaInfo<'POST', {}, CheckEligibilityByFilterRequest$1, CheckEligibilityByFilterRequest, CheckEligibilityByFilterResponse$1, CheckEligibilityByFilterResponse>;
|
|
1918
|
-
declare function checkBenefitEligibilityByFilter(): __PublicMethodMetaInfo<'POST', {}, CheckBenefitEligibilityByFilterRequest$1, CheckBenefitEligibilityByFilterRequest, CheckBenefitEligibilityByFilterResponse$1, CheckBenefitEligibilityByFilterResponse>;
|
|
1919
1864
|
|
|
1920
|
-
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type ApplicationError as ApplicationErrorOriginal, type AsyncResult as AsyncResultOriginal, type BalanceAmount as BalanceAmountOriginal, type BenefitAlreadyRedeemed as BenefitAlreadyRedeemedOriginal, type BenefitInfo as BenefitInfoOriginal, type BenefitNotFound as BenefitNotFoundOriginal, type Benefit as BenefitOriginal, type BenefitRedeemed as BenefitRedeemedOriginal, type BenefitReservationCanceled as BenefitReservationCanceledOriginal, type BenefitReservationReleased as BenefitReservationReleasedOriginal, type BenefitReserved as BenefitReservedOriginal, type BenefitResult as BenefitResultOriginal, type BenefitResultResultOneOf as BenefitResultResultOneOfOriginal, BenefitResultType as BenefitResultTypeOriginal, type BenefitResultTypeWithLiterals as BenefitResultTypeWithLiteralsOriginal, type BenefitSelector as BenefitSelectorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCheckBenefitEligibilityRequest as BulkCheckBenefitEligibilityRequestOriginal, type BulkCheckBenefitEligibilityResponse as BulkCheckBenefitEligibilityResponseOriginal, type BulkEligibilityCheckResult as BulkEligibilityCheckResultOriginal, type BulkPoolResult as BulkPoolResultOriginal, type BulkUpdatePoolsRequest as BulkUpdatePoolsRequestOriginal, type BulkUpdatePoolsResponse as BulkUpdatePoolsResponseOriginal, type ByItemReferenceFilter as ByItemReferenceFilterOriginal, type ByItemReference as ByItemReferenceOriginal, type ByPoolDefinitionIdAndProgramDefinitionIdOptions as ByPoolDefinitionIdAndProgramDefinitionIdOptionsOriginal, type ByProgramIdOptions as ByProgramIdOptionsOriginal, type CancelBenefitReservationRequest as CancelBenefitReservationRequestOriginal, type CancelBenefitReservationResponse as CancelBenefitReservationResponseOriginal, type CheckBenefitEligibilityByFilterApplicationErrors as CheckBenefitEligibilityByFilterApplicationErrorsOriginal, type CheckBenefitEligibilityByFilterRequest as CheckBenefitEligibilityByFilterRequestOriginal, type CheckBenefitEligibilityByFilterResponse as CheckBenefitEligibilityByFilterResponseOriginal, type CheckBenefitEligibilityRequest as CheckBenefitEligibilityRequestOriginal, type CheckBenefitEligibilityResponse as CheckBenefitEligibilityResponseOriginal, type CheckEligibilityByFilterRequest as CheckEligibilityByFilterRequestOriginal, type CheckEligibilityByFilterResponse as CheckEligibilityByFilterResponseOriginal, type CommonIdentificationDataIdOneOf as CommonIdentificationDataIdOneOfOriginal, type CommonIdentificationData as CommonIdentificationDataOriginal, type CountNumberOfPoolsInProvisioningStatusRequest as CountNumberOfPoolsInProvisioningStatusRequestOriginal, type CountNumberOfPoolsInProvisioningStatusResponse as CountNumberOfPoolsInProvisioningStatusResponseOriginal, type CreatePoolRequest as CreatePoolRequestOriginal, type CreatePoolResponse as CreatePoolResponseOriginal, type CreditConfiguration as CreditConfigurationOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomPolicy as CustomPolicyOriginal, type DeletePoolRequest as DeletePoolRequestOriginal, type DeletePoolResponse as DeletePoolResponseOriginal, type Details as DetailsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EligibilityCheckResult as EligibilityCheckResultOriginal, type EligibleBenefit as EligibleBenefitOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FailureDetails as FailureDetailsOriginal, type FilterFilterOneOf as FilterFilterOneOfOriginal, type Filter as FilterOriginal, type FixedIntervalPolicy as FixedIntervalPolicyOriginal, type GetEligibleBenefitsApplicationErrors as GetEligibleBenefitsApplicationErrorsOriginal, type GetEligibleBenefitsRequest as GetEligibleBenefitsRequestOriginal, type GetEligibleBenefitsResponse as GetEligibleBenefitsResponseOriginal, type GetPoolRequest as GetPoolRequestOriginal, type GetPoolResponse as GetPoolResponseOriginal, type HealPoolRequest as HealPoolRequestOriginal, type HealPoolResponse as HealPoolResponseOriginal, type HealPoolTenantRequest as HealPoolTenantRequestOriginal, type HealPoolTenantResponse as HealPoolTenantResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, IdentityType as IdentityTypeOriginal, type IdentityTypeWithLiterals as IdentityTypeWithLiteralsOriginal, type InvalidPoolDefinitionReference as InvalidPoolDefinitionReferenceOriginal, type ItemMetadata as ItemMetadataOriginal, type ItemReference as ItemReferenceOriginal, type ListPoolsRequest as ListPoolsRequestOriginal, ListPoolsRequestType as ListPoolsRequestTypeOriginal, type ListPoolsRequestTypeWithLiterals as ListPoolsRequestTypeWithLiteralsOriginal, type ListPoolsResponse as ListPoolsResponseOriginal, type MaskedPool as MaskedPoolOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type NotEnoughBalance as NotEnoughBalanceOriginal, type PolicyExpressionAnd as PolicyExpressionAndOriginal, type PolicyExpressionEvaluatedToFalse as PolicyExpressionEvaluatedToFalseOriginal, type PolicyExpressionExpressionOneOf as PolicyExpressionExpressionOneOfOriginal, type PolicyExpressionNot as PolicyExpressionNotOriginal, type PolicyExpressionOr as PolicyExpressionOrOriginal, type PolicyExpression as PolicyExpressionOriginal, PolicyExpressionType as PolicyExpressionTypeOriginal, type PolicyExpressionTypeWithLiterals as PolicyExpressionTypeWithLiteralsOriginal, type Policy as PolicyOriginal, type PolicyPolicyOneOf as PolicyPolicyOneOfOriginal, type PoolDefinitionAndProgramDefinition as PoolDefinitionAndProgramDefinitionOriginal, type PoolDefinitionLookupIdIdOneOf as PoolDefinitionLookupIdIdOneOfOriginal, type PoolDefinitionLookupId as PoolDefinitionLookupIdOriginal, type PoolEnded as PoolEndedOriginal, type PoolFilter as PoolFilterOriginal, type PoolInfo as PoolInfoOriginal, type PoolNotActive as PoolNotActiveOriginal, type PoolNotFound as PoolNotFoundOriginal, PoolOrigin as PoolOriginOriginal, type PoolOriginWithLiterals as PoolOriginWithLiteralsOriginal, type Pool as PoolOriginal, type PoolPaused as PoolPausedOriginal, type PoolProgramInfo as PoolProgramInfoOriginal, type PoolProvisionJobFinished as PoolProvisionJobFinishedOriginal, type PoolProvisioned as PoolProvisionedOriginal, type PoolRenewalActionActionOneOf as PoolRenewalActionActionOneOfOriginal, type PoolRenewalAction as PoolRenewalActionOriginal, PoolRenewalActionType as PoolRenewalActionTypeOriginal, type PoolRenewalActionTypeWithLiterals as PoolRenewalActionTypeWithLiteralsOriginal, type PoolRenewed as PoolRenewedOriginal, type PoolResumed as PoolResumedOriginal, PoolSelectorType as PoolSelectorTypeOriginal, type PoolSelectorTypeWithLiterals as PoolSelectorTypeWithLiteralsOriginal, PoolStatus as PoolStatusOriginal, type PoolStatusUpdateJobFinishedContextOneOf as PoolStatusUpdateJobFinishedContextOneOfOriginal, type PoolStatusUpdateJobFinished as PoolStatusUpdateJobFinishedOriginal, type PoolStatusUpdateParamsPoolInfo as PoolStatusUpdateParamsPoolInfoOriginal, type PoolStatusWithLiterals as PoolStatusWithLiteralsOriginal, type PoolWithItems as PoolWithItemsOriginal, type ProgramDefinitionInfo as ProgramDefinitionInfoOriginal, type ProgramInfo as ProgramInfoOriginal, type ProvisionPoolsForProgramRequest as ProvisionPoolsForProgramRequestOriginal, type ProvisionPoolsForProgramResponse as ProvisionPoolsForProgramResponseOriginal, type ProvisionPoolsForProgramResponseResultOneOf as ProvisionPoolsForProgramResponseResultOneOfOriginal, ProvisionPoolsForProgramResponseType as ProvisionPoolsForProgramResponseTypeOriginal, type ProvisionPoolsForProgramResponseTypeWithLiterals as ProvisionPoolsForProgramResponseTypeWithLiteralsOriginal, type QueryPoolsRequest as QueryPoolsRequestOriginal, type QueryPoolsResponse as QueryPoolsResponseOriginal, type RateLimitedPolicy as RateLimitedPolicyOriginal, type RedeemBenefitApplicationErrors as RedeemBenefitApplicationErrorsOriginal, type RedeemBenefitRequest as RedeemBenefitRequestOriginal, type RedeemBenefitResponse as RedeemBenefitResponseOriginal, type RedemptionDetails as RedemptionDetailsOriginal, type ReleaseBenefitReservationRequest as ReleaseBenefitReservationRequestOriginal, type ReleaseBenefitReservationResponse as ReleaseBenefitReservationResponseOriginal, type RenewPoolsForProgramRequest as RenewPoolsForProgramRequestOriginal, type RenewPoolsForProgramResponse as RenewPoolsForProgramResponseOriginal, type ReserveBenefitRequest as ReserveBenefitRequestOriginal, type ReserveBenefitResponse as ReserveBenefitResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RolloverConfiguration as RolloverConfigurationOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SyncResult as SyncResultOriginal, TimePeriod as TimePeriodOriginal, type TimePeriodWithLiterals as TimePeriodWithLiteralsOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type Update as UpdateOriginal, type UpdatePoolRequest as UpdatePoolRequestOriginal, type UpdatePoolResponse as UpdatePoolResponseOriginal, type UpdatePoolStatusRequest as UpdatePoolStatusRequestOriginal, type UpdatePoolStatusRequestPoolSelectorOneOf as UpdatePoolStatusRequestPoolSelectorOneOfOriginal, type UpdatePoolStatusResponse as UpdatePoolStatusResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeekDay as WeekDayOriginal, type WeekDayWithLiterals as WeekDayWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCheckBenefitEligibility, bulkUpdatePools, checkBenefitEligibility, checkBenefitEligibilityByFilter, checkEligibilityByFilter, getEligibleBenefits, getPool, queryPools, redeemBenefit, updatePool };
|
|
1865
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type ApplicationError as ApplicationErrorOriginal, type AsyncResult as AsyncResultOriginal, type BalanceAmount as BalanceAmountOriginal, type BenefitAlreadyRedeemed as BenefitAlreadyRedeemedOriginal, type BenefitInfo as BenefitInfoOriginal, type BenefitNotFound as BenefitNotFoundOriginal, type Benefit as BenefitOriginal, type BenefitRedeemed as BenefitRedeemedOriginal, type BenefitReservationCanceled as BenefitReservationCanceledOriginal, type BenefitReservationReleased as BenefitReservationReleasedOriginal, type BenefitReserved as BenefitReservedOriginal, type BenefitResult as BenefitResultOriginal, type BenefitResultResultOneOf as BenefitResultResultOneOfOriginal, BenefitResultType as BenefitResultTypeOriginal, type BenefitResultTypeWithLiterals as BenefitResultTypeWithLiteralsOriginal, type BenefitSelector as BenefitSelectorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCheckBenefitEligibilityRequest as BulkCheckBenefitEligibilityRequestOriginal, type BulkCheckBenefitEligibilityResponse as BulkCheckBenefitEligibilityResponseOriginal, type BulkEligibilityCheckResult as BulkEligibilityCheckResultOriginal, type BulkPoolResult as BulkPoolResultOriginal, type BulkUpdatePoolsRequest as BulkUpdatePoolsRequestOriginal, type BulkUpdatePoolsResponse as BulkUpdatePoolsResponseOriginal, type ByItemReferenceFilter as ByItemReferenceFilterOriginal, type ByItemReference as ByItemReferenceOriginal, type ByPoolDefinitionIdAndProgramDefinitionIdOptions as ByPoolDefinitionIdAndProgramDefinitionIdOptionsOriginal, type ByProgramIdOptions as ByProgramIdOptionsOriginal, type CancelBenefitReservationRequest as CancelBenefitReservationRequestOriginal, type CancelBenefitReservationResponse as CancelBenefitReservationResponseOriginal, type CheckBenefitEligibilityRequest as CheckBenefitEligibilityRequestOriginal, type CheckBenefitEligibilityResponse as CheckBenefitEligibilityResponseOriginal, type CheckEligibilityByFilterRequest as CheckEligibilityByFilterRequestOriginal, type CheckEligibilityByFilterResponse as CheckEligibilityByFilterResponseOriginal, type CommonIdentificationDataIdOneOf as CommonIdentificationDataIdOneOfOriginal, type CommonIdentificationData as CommonIdentificationDataOriginal, type CountNumberOfPoolsInProvisioningStatusRequest as CountNumberOfPoolsInProvisioningStatusRequestOriginal, type CountNumberOfPoolsInProvisioningStatusResponse as CountNumberOfPoolsInProvisioningStatusResponseOriginal, type CreatePoolRequest as CreatePoolRequestOriginal, type CreatePoolResponse as CreatePoolResponseOriginal, type CreditConfiguration as CreditConfigurationOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomPolicy as CustomPolicyOriginal, type DeletePoolRequest as DeletePoolRequestOriginal, type DeletePoolResponse as DeletePoolResponseOriginal, type Details as DetailsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EligibilityCheckResult as EligibilityCheckResultOriginal, type EligibleBenefit as EligibleBenefitOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FailureDetails as FailureDetailsOriginal, type FilterFilterOneOf as FilterFilterOneOfOriginal, type Filter as FilterOriginal, type FixedIntervalPolicy as FixedIntervalPolicyOriginal, type GetEligibleBenefitsApplicationErrors as GetEligibleBenefitsApplicationErrorsOriginal, type GetEligibleBenefitsRequest as GetEligibleBenefitsRequestOriginal, type GetEligibleBenefitsResponse as GetEligibleBenefitsResponseOriginal, type GetPoolRequest as GetPoolRequestOriginal, type GetPoolResponse as GetPoolResponseOriginal, type HealPoolRequest as HealPoolRequestOriginal, type HealPoolResponse as HealPoolResponseOriginal, type HealPoolsTenantRequest as HealPoolsTenantRequestOriginal, type HealPoolsTenantResponse as HealPoolsTenantResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, IdentityType as IdentityTypeOriginal, type IdentityTypeWithLiterals as IdentityTypeWithLiteralsOriginal, type InvalidPoolDefinitionReference as InvalidPoolDefinitionReferenceOriginal, type ItemMetadata as ItemMetadataOriginal, type ItemReference as ItemReferenceOriginal, type ListPoolsRequest as ListPoolsRequestOriginal, ListPoolsRequestType as ListPoolsRequestTypeOriginal, type ListPoolsRequestTypeWithLiterals as ListPoolsRequestTypeWithLiteralsOriginal, type ListPoolsResponse as ListPoolsResponseOriginal, type MaskedPool as MaskedPoolOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type NotEnoughBalance as NotEnoughBalanceOriginal, type PolicyExpressionAnd as PolicyExpressionAndOriginal, type PolicyExpressionEvaluatedToFalse as PolicyExpressionEvaluatedToFalseOriginal, type PolicyExpressionExpressionOneOf as PolicyExpressionExpressionOneOfOriginal, type PolicyExpressionNot as PolicyExpressionNotOriginal, type PolicyExpressionOr as PolicyExpressionOrOriginal, type PolicyExpression as PolicyExpressionOriginal, PolicyExpressionType as PolicyExpressionTypeOriginal, type PolicyExpressionTypeWithLiterals as PolicyExpressionTypeWithLiteralsOriginal, type Policy as PolicyOriginal, type PolicyPolicyOneOf as PolicyPolicyOneOfOriginal, type PoolDefinitionAndProgramDefinition as PoolDefinitionAndProgramDefinitionOriginal, type PoolDefinitionLookupIdIdOneOf as PoolDefinitionLookupIdIdOneOfOriginal, type PoolDefinitionLookupId as PoolDefinitionLookupIdOriginal, type PoolEnded as PoolEndedOriginal, type PoolFilter as PoolFilterOriginal, type PoolInfo as PoolInfoOriginal, type PoolNotActive as PoolNotActiveOriginal, type PoolNotFound as PoolNotFoundOriginal, PoolOrigin as PoolOriginOriginal, type PoolOriginWithLiterals as PoolOriginWithLiteralsOriginal, type Pool as PoolOriginal, type PoolPaused as PoolPausedOriginal, type PoolProgramInfo as PoolProgramInfoOriginal, type PoolProvisionJobFinished as PoolProvisionJobFinishedOriginal, type PoolProvisioned as PoolProvisionedOriginal, type PoolRenewalActionActionOneOf as PoolRenewalActionActionOneOfOriginal, type PoolRenewalAction as PoolRenewalActionOriginal, PoolRenewalActionType as PoolRenewalActionTypeOriginal, type PoolRenewalActionTypeWithLiterals as PoolRenewalActionTypeWithLiteralsOriginal, type PoolRenewed as PoolRenewedOriginal, type PoolResumed as PoolResumedOriginal, PoolSelectorType as PoolSelectorTypeOriginal, type PoolSelectorTypeWithLiterals as PoolSelectorTypeWithLiteralsOriginal, PoolStatus as PoolStatusOriginal, type PoolStatusUpdateJobFinishedContextOneOf as PoolStatusUpdateJobFinishedContextOneOfOriginal, type PoolStatusUpdateJobFinished as PoolStatusUpdateJobFinishedOriginal, type PoolStatusUpdateParamsPoolInfo as PoolStatusUpdateParamsPoolInfoOriginal, type PoolStatusWithLiterals as PoolStatusWithLiteralsOriginal, type PoolWithItems as PoolWithItemsOriginal, type ProgramDefinitionInfo as ProgramDefinitionInfoOriginal, type ProgramInfo as ProgramInfoOriginal, type ProvisionPoolsForProgramRequest as ProvisionPoolsForProgramRequestOriginal, type ProvisionPoolsForProgramResponse as ProvisionPoolsForProgramResponseOriginal, type ProvisionPoolsForProgramResponseResultOneOf as ProvisionPoolsForProgramResponseResultOneOfOriginal, ProvisionPoolsForProgramResponseType as ProvisionPoolsForProgramResponseTypeOriginal, type ProvisionPoolsForProgramResponseTypeWithLiterals as ProvisionPoolsForProgramResponseTypeWithLiteralsOriginal, type QueryPoolsRequest as QueryPoolsRequestOriginal, type QueryPoolsResponse as QueryPoolsResponseOriginal, type RateLimitedPolicy as RateLimitedPolicyOriginal, type RedeemBenefitApplicationErrors as RedeemBenefitApplicationErrorsOriginal, type RedeemBenefitRequest as RedeemBenefitRequestOriginal, type RedeemBenefitResponse as RedeemBenefitResponseOriginal, type RedemptionDetails as RedemptionDetailsOriginal, type ReleaseBenefitReservationRequest as ReleaseBenefitReservationRequestOriginal, type ReleaseBenefitReservationResponse as ReleaseBenefitReservationResponseOriginal, type RenewPoolsForProgramRequest as RenewPoolsForProgramRequestOriginal, type RenewPoolsForProgramResponse as RenewPoolsForProgramResponseOriginal, type ReserveBenefitRequest as ReserveBenefitRequestOriginal, type ReserveBenefitResponse as ReserveBenefitResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RolloverConfiguration as RolloverConfigurationOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SyncResult as SyncResultOriginal, TimePeriod as TimePeriodOriginal, type TimePeriodWithLiterals as TimePeriodWithLiteralsOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type Update as UpdateOriginal, type UpdatePoolRequest as UpdatePoolRequestOriginal, type UpdatePoolResponse as UpdatePoolResponseOriginal, type UpdatePoolStatusRequest as UpdatePoolStatusRequestOriginal, type UpdatePoolStatusRequestPoolSelectorOneOf as UpdatePoolStatusRequestPoolSelectorOneOfOriginal, type UpdatePoolStatusResponse as UpdatePoolStatusResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeekDay as WeekDayOriginal, type WeekDayWithLiterals as WeekDayWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCheckBenefitEligibility, bulkUpdatePools, checkBenefitEligibility, checkEligibilityByFilter, getEligibleBenefits, getPool, queryPools, redeemBenefit, updatePool };
|
|
@@ -37,7 +37,6 @@ __export(meta_exports, {
|
|
|
37
37
|
bulkCheckBenefitEligibility: () => bulkCheckBenefitEligibility2,
|
|
38
38
|
bulkUpdatePools: () => bulkUpdatePools2,
|
|
39
39
|
checkBenefitEligibility: () => checkBenefitEligibility2,
|
|
40
|
-
checkBenefitEligibilityByFilter: () => checkBenefitEligibilityByFilter2,
|
|
41
40
|
checkEligibilityByFilter: () => checkEligibilityByFilter2,
|
|
42
41
|
getEligibleBenefits: () => getEligibleBenefits2,
|
|
43
42
|
getPool: () => getPool2,
|
|
@@ -534,33 +533,6 @@ function checkEligibilityByFilter(payload) {
|
|
|
534
533
|
}
|
|
535
534
|
return __checkEligibilityByFilter;
|
|
536
535
|
}
|
|
537
|
-
function checkBenefitEligibilityByFilter(payload) {
|
|
538
|
-
function __checkBenefitEligibilityByFilter({ host }) {
|
|
539
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
540
|
-
{
|
|
541
|
-
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
542
|
-
paths: [{ path: "targetDate" }]
|
|
543
|
-
}
|
|
544
|
-
]);
|
|
545
|
-
const metadata = {
|
|
546
|
-
entityFqdn: "wix.benefit_programs.v1.pool",
|
|
547
|
-
method: "POST",
|
|
548
|
-
methodFqn: "wix.benefit_programs.v1.pool.PoolService.CheckBenefitEligibilityByFilter",
|
|
549
|
-
packageName: PACKAGE_NAME,
|
|
550
|
-
migrationOptions: {
|
|
551
|
-
optInTransformResponse: true
|
|
552
|
-
},
|
|
553
|
-
url: resolveWixBenefitProgramsV1PoolPoolServiceUrl({
|
|
554
|
-
protoPath: "/v1/pools/check-benefit-eligibility-by-filter",
|
|
555
|
-
data: serializedData,
|
|
556
|
-
host
|
|
557
|
-
}),
|
|
558
|
-
data: serializedData
|
|
559
|
-
};
|
|
560
|
-
return metadata;
|
|
561
|
-
}
|
|
562
|
-
return __checkBenefitEligibilityByFilter;
|
|
563
|
-
}
|
|
564
536
|
|
|
565
537
|
// src/benefit-programs-v1-pool-pools.types.ts
|
|
566
538
|
var PoolStatus = /* @__PURE__ */ ((PoolStatus2) => {
|
|
@@ -817,24 +789,6 @@ function checkEligibilityByFilter2() {
|
|
|
817
789
|
__originalResponseType: null
|
|
818
790
|
};
|
|
819
791
|
}
|
|
820
|
-
function checkBenefitEligibilityByFilter2() {
|
|
821
|
-
const payload = {};
|
|
822
|
-
const getRequestOptions = checkBenefitEligibilityByFilter(payload);
|
|
823
|
-
const getUrl = (context) => {
|
|
824
|
-
const { url } = getRequestOptions(context);
|
|
825
|
-
return url;
|
|
826
|
-
};
|
|
827
|
-
return {
|
|
828
|
-
getUrl,
|
|
829
|
-
httpMethod: "POST",
|
|
830
|
-
path: "/v1/pools/check-benefit-eligibility-by-filter",
|
|
831
|
-
pathParams: {},
|
|
832
|
-
__requestType: null,
|
|
833
|
-
__originalRequestType: null,
|
|
834
|
-
__responseType: null,
|
|
835
|
-
__originalResponseType: null
|
|
836
|
-
};
|
|
837
|
-
}
|
|
838
792
|
// Annotate the CommonJS export names for ESM import in node:
|
|
839
793
|
0 && (module.exports = {
|
|
840
794
|
BenefitResultTypeOriginal,
|
|
@@ -854,7 +808,6 @@ function checkBenefitEligibilityByFilter2() {
|
|
|
854
808
|
bulkCheckBenefitEligibility,
|
|
855
809
|
bulkUpdatePools,
|
|
856
810
|
checkBenefitEligibility,
|
|
857
|
-
checkBenefitEligibilityByFilter,
|
|
858
811
|
checkEligibilityByFilter,
|
|
859
812
|
getEligibleBenefits,
|
|
860
813
|
getPool,
|