@wix/auto_sdk_benefit-programs_pools 1.0.75 → 1.0.77
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 +3 -10
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +5 -81
- package/build/cjs/index.typings.js +2 -9
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -69
- package/build/cjs/meta.js +1 -6
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.js +18 -18
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +3 -9
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +5 -81
- package/build/es/index.typings.mjs +2 -8
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -69
- package/build/es/meta.mjs +1 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.mjs +18 -18
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +3 -10
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +139 -81
- package/build/internal/cjs/index.typings.js +2 -9
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +240 -69
- package/build/internal/cjs/meta.js +1 -6
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.js +18 -18
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +3 -9
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +139 -81
- package/build/internal/es/index.typings.mjs +2 -8
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +240 -69
- package/build/internal/es/meta.mjs +1 -5
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.mjs +18 -18
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
2
|
import { Pool, UpdatePool, RedeemBenefitOptions, RedeemBenefitResponse, RedeemBenefitApplicationErrors, CheckBenefitEligibilityOptions, CheckBenefitEligibilityResponse, BulkCheckBenefitEligibilityOptions, BulkCheckBenefitEligibilityResponse, ItemReference, GetEligibleBenefitsOptions, GetEligibleBenefitsResponse, GetEligibleBenefitsApplicationErrors, BulkUpdatePoolsOptions, BulkUpdatePoolsResponse, CheckBenefitEligibilityByFilterOptions, CheckBenefitEligibilityByFilterResponse, CheckBenefitEligibilityByFilterApplicationErrors, PoolQuery, QueryPoolsOptions, typedQueryPools, PoolsQueryBuilder } from './index.typings.mjs';
|
|
3
|
-
export { AccountInfo, ActionEvent, ApplicationError, AsyncResult, BalanceAmount, Benefit, BenefitAlreadyRedeemed, BenefitInfo, BenefitNotFound, BenefitRedeemed, BenefitReservationCanceled, BenefitReservationReleased, BenefitReserved, BenefitResult, BenefitResultResultOneOf, BenefitResultType, BenefitResultTypeWithLiterals, BenefitSelector, BulkActionMetadata, BulkCheckBenefitEligibilityRequest, BulkEligibilityCheckResult, BulkPoolResult, BulkUpdatePoolsRequest,
|
|
3
|
+
export { AccountInfo, ActionEvent, ApplicationError, AsyncResult, BalanceAmount, Benefit, BenefitAlreadyRedeemed, BenefitInfo, BenefitNotFound, BenefitRedeemed, BenefitReservationCanceled, BenefitReservationReleased, BenefitReserved, BenefitResult, BenefitResultResultOneOf, BenefitResultType, BenefitResultTypeWithLiterals, BenefitSelector, BulkActionMetadata, BulkCheckBenefitEligibilityRequest, BulkEligibilityCheckResult, BulkPoolResult, BulkUpdatePoolsRequest, ByPoolDefinitionIdAndProgramDefinitionIdOptions, ByProgramIdOptions, CancelBenefitReservationRequest, CancelBenefitReservationResponse, CheckBenefitEligibilityByFilterRequest, CheckBenefitEligibilityRequest, CommonIdentificationData, CommonIdentificationDataIdOneOf, CommonQueryWithEntityContext, CountNumberOfPoolsInProvisioningStatusRequest, CountNumberOfPoolsInProvisioningStatusResponse, CreatePoolRequest, CreatePoolResponse, CreditConfiguration, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomPolicy, DeletePoolRequest, DeletePoolResponse, Details, DomainEvent, DomainEventBodyOneOf, EligibilityCheckResult, EligibleBenefit, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, FailureDetails, FixedIntervalPolicy, GetEligibleBenefitsRequest, GetPoolRequest, GetPoolResponse, HealPoolRequest, HealPoolResponse, HealPoolTenantRequest, HealPoolTenantResponse, IdentificationData, IdentificationDataIdOneOf, IdentityType, IdentityTypeWithLiterals, InvalidPoolDefinitionReference, ItemMetadata, MaskedPool, MessageEnvelope, NotEnoughBalance, Policy, PolicyExpression, PolicyExpressionAnd, PolicyExpressionEvaluatedToFalse, PolicyExpressionExpressionOneOf, PolicyExpressionNot, PolicyExpressionOr, PolicyExpressionType, PolicyExpressionTypeWithLiterals, PolicyPolicyOneOf, PoolDefinitionAndProgramDefinition, PoolDefinitionLookupId, PoolDefinitionLookupIdIdOneOf, PoolEnded, PoolFilter, PoolInfo, PoolNotActive, PoolNotFound, PoolOrigin, PoolOriginWithLiterals, PoolPaused, PoolProgramInfo, PoolProvisionJobFinished, PoolProvisioned, PoolQuerySpec, PoolRenewalAction, PoolRenewalActionActionOneOf, PoolRenewalActionType, PoolRenewalActionTypeWithLiterals, PoolRenewed, PoolResumed, PoolSelector, PoolSelectorType, PoolSelectorTypeWithLiterals, PoolStatus, PoolStatusUpdateJobFinished, PoolStatusUpdateJobFinishedContextOneOf, PoolStatusUpdateParamsPoolInfo, PoolStatusWithLiterals, PoolsQueryResult, ProgramDefinitionInfo, ProgramInfo, ProvisionPoolsForProgramRequest, ProvisionPoolsForProgramResponse, ProvisionPoolsForProgramResponseResultOneOf, ProvisionPoolsForProgramResponseType, ProvisionPoolsForProgramResponseTypeWithLiterals, QueryPoolsRequest, QueryPoolsResponse, RateLimitedPolicy, RedeemBenefitRequest, RedemptionDetails, ReleaseBenefitReservationRequest, ReleaseBenefitReservationResponse, RenewPoolsForProgramRequest, RenewPoolsForProgramResponse, ReserveBenefitRequest, ReserveBenefitResponse, RestoreInfo, RolloverConfiguration, SortOrder, SortOrderWithLiterals, Sorting, SyncResult, TimePeriod, TimePeriodWithLiterals, Type, TypeWithLiterals, Update, UpdatePoolRequest, UpdatePoolResponse, UpdatePoolStatusRequest, UpdatePoolStatusRequestPoolSelectorOneOf, UpdatePoolStatusResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeekDay, WeekDayWithLiterals, utils } from './index.typings.mjs';
|
|
4
4
|
|
|
5
5
|
declare function getPool$1(httpClient: HttpClient): GetPoolSignature;
|
|
6
6
|
interface GetPoolSignature {
|
|
@@ -560,15 +560,12 @@ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
|
560
560
|
var BenefitResultType = /* @__PURE__ */ ((BenefitResultType2) => {
|
|
561
561
|
BenefitResultType2["ELIGIBLE_BENEFIT"] = "ELIGIBLE_BENEFIT";
|
|
562
562
|
BenefitResultType2["NOT_ENOUGH_BALANCE"] = "NOT_ENOUGH_BALANCE";
|
|
563
|
+
BenefitResultType2["POLICY_EXPRESSION_EVALUATED_TO_FALSE"] = "POLICY_EXPRESSION_EVALUATED_TO_FALSE";
|
|
563
564
|
BenefitResultType2["POOL_NOT_ACTIVE"] = "POOL_NOT_ACTIVE";
|
|
564
565
|
BenefitResultType2["BENEFIT_NOT_FOUND"] = "BENEFIT_NOT_FOUND";
|
|
565
566
|
BenefitResultType2["POOL_NOT_FOUND"] = "POOL_NOT_FOUND";
|
|
566
567
|
return BenefitResultType2;
|
|
567
568
|
})(BenefitResultType || {});
|
|
568
|
-
var ListPoolsRequestType = /* @__PURE__ */ ((ListPoolsRequestType2) => {
|
|
569
|
-
ListPoolsRequestType2["BY_ITEM_REFERENCE"] = "BY_ITEM_REFERENCE";
|
|
570
|
-
return ListPoolsRequestType2;
|
|
571
|
-
})(ListPoolsRequestType || {});
|
|
572
569
|
var ProvisionPoolsForProgramResponseType = /* @__PURE__ */ ((ProvisionPoolsForProgramResponseType2) => {
|
|
573
570
|
ProvisionPoolsForProgramResponseType2["SYNC"] = "SYNC";
|
|
574
571
|
ProvisionPoolsForProgramResponseType2["ASYNC"] = "ASYNC";
|
|
@@ -708,9 +705,7 @@ async function typedQueryPools(query, options) {
|
|
|
708
705
|
}
|
|
709
706
|
}
|
|
710
707
|
var utils = {
|
|
711
|
-
query:
|
|
712
|
-
...createQueryUtils()
|
|
713
|
-
}
|
|
708
|
+
query: /* @__PURE__ */ createQueryUtils()
|
|
714
709
|
};
|
|
715
710
|
async function redeemBenefit2(poolId, options) {
|
|
716
711
|
const { httpClient, sideEffects } = arguments[2];
|
|
@@ -1016,7 +1011,7 @@ function checkBenefitEligibilityByFilter3(httpClient) {
|
|
|
1016
1011
|
import { createRESTModule } from "@wix/sdk-runtime/rest-modules";
|
|
1017
1012
|
import { createQueryOverloadRouter } from "@wix/sdk-runtime/query-method-router";
|
|
1018
1013
|
function customQueryPools(httpClient) {
|
|
1019
|
-
const router = createQueryOverloadRouter({
|
|
1014
|
+
const router = /* @__PURE__ */ createQueryOverloadRouter({
|
|
1020
1015
|
builderQueryFunction: (options) => queryPools3(httpClient)(options),
|
|
1021
1016
|
typedQueryFunction: (query, options) => typedQueryPools2(httpClient)(query, options),
|
|
1022
1017
|
hasOptionsParameter: true
|
|
@@ -1038,7 +1033,6 @@ var queryPools4 = /* @__PURE__ */ createRESTModule(customQueryPools);
|
|
|
1038
1033
|
export {
|
|
1039
1034
|
BenefitResultType,
|
|
1040
1035
|
IdentityType,
|
|
1041
|
-
ListPoolsRequestType,
|
|
1042
1036
|
PolicyExpressionType,
|
|
1043
1037
|
PoolOrigin,
|
|
1044
1038
|
PoolRenewalActionType,
|