@wix/auto_sdk_benefit-programs_pools 1.0.75 → 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.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +0 -6
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -69
- package/build/cjs/index.typings.js +0 -6
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -69
- package/build/cjs/meta.js +0 -6
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +0 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -69
- package/build/es/index.typings.mjs +0 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -69
- package/build/es/meta.mjs +0 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +0 -6
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1 -69
- package/build/internal/cjs/index.typings.js +0 -6
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1 -69
- package/build/internal/cjs/meta.js +0 -6
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +0 -5
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +1 -69
- package/build/internal/es/index.typings.mjs +0 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1 -69
- package/build/internal/es/meta.mjs +0 -5
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1418,74 +1418,6 @@ interface GetEligibleBenefitsResponse {
|
|
|
1418
1418
|
/** Retrieved benefits that can be redeemed. */
|
|
1419
1419
|
eligibleBenefits?: EligibleBenefit[];
|
|
1420
1420
|
}
|
|
1421
|
-
interface ListPoolsRequest {
|
|
1422
|
-
/** The filter */
|
|
1423
|
-
filter?: Filter;
|
|
1424
|
-
/** Cursor paging */
|
|
1425
|
-
cursorPaging?: CursorPaging;
|
|
1426
|
-
}
|
|
1427
|
-
declare enum ListPoolsRequestType {
|
|
1428
|
-
BY_ITEM_REFERENCE = "BY_ITEM_REFERENCE"
|
|
1429
|
-
}
|
|
1430
|
-
/** @enumType */
|
|
1431
|
-
type ListPoolsRequestTypeWithLiterals = ListPoolsRequestType | 'BY_ITEM_REFERENCE';
|
|
1432
|
-
interface ByItemReference {
|
|
1433
|
-
/**
|
|
1434
|
-
* A list of filters
|
|
1435
|
-
* @maxSize 100
|
|
1436
|
-
*/
|
|
1437
|
-
filters?: ByItemReferenceFilter[];
|
|
1438
|
-
/** Beneficiary of the pool */
|
|
1439
|
-
beneficiary?: CommonIdentificationData;
|
|
1440
|
-
/**
|
|
1441
|
-
* Returns pools that are in the following statuses
|
|
1442
|
-
* @maxSize 10
|
|
1443
|
-
*/
|
|
1444
|
-
poolStatuses?: PoolStatusWithLiterals[];
|
|
1445
|
-
}
|
|
1446
|
-
interface ByItemReferenceFilter {
|
|
1447
|
-
/** Reference of the item */
|
|
1448
|
-
itemReference?: ItemReference;
|
|
1449
|
-
}
|
|
1450
|
-
interface Filter extends FilterFilterOneOf {
|
|
1451
|
-
/** A list of filters by reference */
|
|
1452
|
-
byItemReferenceOptions?: ByItemReference;
|
|
1453
|
-
/** Type of the filter */
|
|
1454
|
-
type?: ListPoolsRequestTypeWithLiterals;
|
|
1455
|
-
/**
|
|
1456
|
-
* Module that is the source of the benefit pool creation.
|
|
1457
|
-
*
|
|
1458
|
-
* This value must correspond with the previously defined namespace established when creating the associated pool definition.
|
|
1459
|
-
*
|
|
1460
|
-
* It ensures efficient processing and management of pools and benefits.
|
|
1461
|
-
* @minLength 1
|
|
1462
|
-
* @maxLength 20
|
|
1463
|
-
*/
|
|
1464
|
-
namespace?: string;
|
|
1465
|
-
}
|
|
1466
|
-
/** @oneof */
|
|
1467
|
-
interface FilterFilterOneOf {
|
|
1468
|
-
/** A list of filters by reference */
|
|
1469
|
-
byItemReferenceOptions?: ByItemReference;
|
|
1470
|
-
}
|
|
1471
|
-
interface ListPoolsResponse {
|
|
1472
|
-
/**
|
|
1473
|
-
* The retrieved pools
|
|
1474
|
-
* @maxSize 100
|
|
1475
|
-
*/
|
|
1476
|
-
pools?: PoolWithItems[];
|
|
1477
|
-
/** Paging information */
|
|
1478
|
-
metadata?: CursorPagingMetadata;
|
|
1479
|
-
}
|
|
1480
|
-
interface PoolWithItems {
|
|
1481
|
-
/** The pool */
|
|
1482
|
-
pool?: Pool;
|
|
1483
|
-
/**
|
|
1484
|
-
* The items in the pool
|
|
1485
|
-
* @maxSize 100
|
|
1486
|
-
*/
|
|
1487
|
-
itemReference?: ItemReference[];
|
|
1488
|
-
}
|
|
1489
1421
|
interface BulkUpdatePoolsRequest {
|
|
1490
1422
|
/**
|
|
1491
1423
|
* Pools to update.
|
|
@@ -2571,4 +2503,4 @@ interface CheckBenefitEligibilityByFilterOptions {
|
|
|
2571
2503
|
poolSelector?: PoolSelector;
|
|
2572
2504
|
}
|
|
2573
2505
|
|
|
2574
|
-
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
|
|
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 };
|
|
@@ -565,10 +565,6 @@ var BenefitResultType = /* @__PURE__ */ ((BenefitResultType2) => {
|
|
|
565
565
|
BenefitResultType2["POOL_NOT_FOUND"] = "POOL_NOT_FOUND";
|
|
566
566
|
return BenefitResultType2;
|
|
567
567
|
})(BenefitResultType || {});
|
|
568
|
-
var ListPoolsRequestType = /* @__PURE__ */ ((ListPoolsRequestType2) => {
|
|
569
|
-
ListPoolsRequestType2["BY_ITEM_REFERENCE"] = "BY_ITEM_REFERENCE";
|
|
570
|
-
return ListPoolsRequestType2;
|
|
571
|
-
})(ListPoolsRequestType || {});
|
|
572
568
|
var ProvisionPoolsForProgramResponseType = /* @__PURE__ */ ((ProvisionPoolsForProgramResponseType2) => {
|
|
573
569
|
ProvisionPoolsForProgramResponseType2["SYNC"] = "SYNC";
|
|
574
570
|
ProvisionPoolsForProgramResponseType2["ASYNC"] = "ASYNC";
|
|
@@ -937,7 +933,6 @@ async function checkBenefitEligibilityByFilter2(options) {
|
|
|
937
933
|
export {
|
|
938
934
|
BenefitResultType,
|
|
939
935
|
IdentityType,
|
|
940
|
-
ListPoolsRequestType,
|
|
941
936
|
PolicyExpressionType,
|
|
942
937
|
PoolOrigin,
|
|
943
938
|
PoolRenewalActionType,
|