@wix/auto_sdk_benefit-programs_pools 1.0.87 → 1.0.89
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 +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +50 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +48 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +50 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +48 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.typings.d.ts +21 -80
- package/build/internal/cjs/meta.d.ts +19 -78
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.typings.d.mts +21 -80
- package/build/internal/es/meta.d.mts +19 -78
- package/package.json +4 -4
package/build/cjs/index.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ interface CheckBenefitEligibilitySignature {
|
|
|
46
46
|
* To be redeemed, a benefit's pool must be active and the associated balance must be greater than the cost of the benefit.
|
|
47
47
|
* @param - ID of the pool that the benefit to check belongs to.
|
|
48
48
|
*/
|
|
49
|
-
(poolId: string, options?: NonNullablePaths<CheckBenefitEligibilityOptions, `itemReference` | `itemReference.externalId` | `itemReference.providerAppId` | `namespace`, 1>): Promise<NonNullablePaths<CheckBenefitEligibilityResponse, `result.benefitResults` | `result.benefitResults.${number}.eligibleBenefitOptions.poolId` | `result.benefitResults.${number}.eligibleBenefitOptions.benefitKey` | `result.benefitResults.${number}.eligibleBenefitOptions.itemReference.externalId` | `result.benefitResults.${number}.eligibleBenefitOptions.itemReference.category` | `result.benefitResults.${number}.eligibleBenefitOptions.itemReference.providerAppId` | `result.benefitResults.${number}.notEnoughBalanceOptions.poolId` | `result.benefitResults.${number}.notEnoughBalanceOptions.availableBalance` | `result.benefitResults.${number}.notEnoughBalanceOptions.requestedBalance` | `result.benefitResults.${number}.policyExpressionEvaluatedToFalseOptions.poolId` | `result.benefitResults.${number}.poolNotActiveOptions.poolId` | `result.benefitResults.${number}.poolNotActiveOptions.poolStatus` | `result.benefitResults.${number}.benefitNotFoundOptions.poolId` | `result.benefitResults.${number}.poolNotFoundOptions.poolId` | `result.benefitResults.${number}.type`, 5>>;
|
|
49
|
+
(poolId: string, options?: NonNullablePaths<CheckBenefitEligibilityOptions, `itemReference` | `itemReference.externalId` | `itemReference.providerAppId` | `namespace`, 1>): Promise<NonNullablePaths<CheckBenefitEligibilityResponse, `result.benefitResults` | `result.benefitResults.${number}.eligibleBenefitOptions.poolId` | `result.benefitResults.${number}.eligibleBenefitOptions.benefitKey` | `result.benefitResults.${number}.eligibleBenefitOptions.itemReference.externalId` | `result.benefitResults.${number}.eligibleBenefitOptions.itemReference.category` | `result.benefitResults.${number}.eligibleBenefitOptions.itemReference.providerAppId` | `result.benefitResults.${number}.eligibleBenefitOptions.poolInfo.displayName` | `result.benefitResults.${number}.eligibleBenefitOptions.poolInfo.poolDefinitionId` | `result.benefitResults.${number}.eligibleBenefitOptions.benefitInfo.benefitKey` | `result.benefitResults.${number}.eligibleBenefitOptions.programDefinitionInfo._id` | `result.benefitResults.${number}.eligibleBenefitOptions.programInfo._id` | `result.benefitResults.${number}.notEnoughBalanceOptions.poolId` | `result.benefitResults.${number}.notEnoughBalanceOptions.availableBalance` | `result.benefitResults.${number}.notEnoughBalanceOptions.requestedBalance` | `result.benefitResults.${number}.policyExpressionEvaluatedToFalseOptions.poolId` | `result.benefitResults.${number}.poolNotActiveOptions.poolId` | `result.benefitResults.${number}.poolNotActiveOptions.poolStatus` | `result.benefitResults.${number}.benefitNotFoundOptions.poolId` | `result.benefitResults.${number}.poolNotFoundOptions.poolId` | `result.benefitResults.${number}.type`, 5>>;
|
|
50
50
|
}
|
|
51
51
|
declare function bulkCheckBenefitEligibility$1(httpClient: HttpClient): BulkCheckBenefitEligibilitySignature;
|
|
52
52
|
interface BulkCheckBenefitEligibilitySignature {
|
|
@@ -68,7 +68,7 @@ interface GetEligibleBenefitsSignature {
|
|
|
68
68
|
* This method checks each pool containing a benefit with this benefit item, and returns the benefits that can be redeemed.
|
|
69
69
|
* @param - Item reference.
|
|
70
70
|
*/
|
|
71
|
-
(itemReference: NonNullablePaths<ItemReference, `externalId` | `providerAppId`, 0>, options?: NonNullablePaths<GetEligibleBenefitsOptions, `namespace`, 0>): Promise<NonNullablePaths<GetEligibleBenefitsResponse, `eligibleBenefits` | `eligibleBenefits.${number}.poolId` | `eligibleBenefits.${number}.benefitKey` | `eligibleBenefits.${number}.itemReference.externalId` | `eligibleBenefits.${number}.itemReference.category` | `eligibleBenefits.${number}.itemReference.providerAppId`,
|
|
71
|
+
(itemReference: NonNullablePaths<ItemReference, `externalId` | `providerAppId`, 0>, options?: NonNullablePaths<GetEligibleBenefitsOptions, `namespace`, 0>): Promise<NonNullablePaths<GetEligibleBenefitsResponse, `eligibleBenefits` | `eligibleBenefits.${number}.poolId` | `eligibleBenefits.${number}.benefitKey` | `eligibleBenefits.${number}.itemReference.externalId` | `eligibleBenefits.${number}.itemReference.category` | `eligibleBenefits.${number}.itemReference.providerAppId` | `eligibleBenefits.${number}.poolInfo.balance.available` | `eligibleBenefits.${number}.poolInfo.balance.reserved` | `eligibleBenefits.${number}.poolInfo.displayName` | `eligibleBenefits.${number}.poolInfo.poolDefinitionId` | `eligibleBenefits.${number}.benefitInfo.benefitKey` | `eligibleBenefits.${number}.programDefinitionInfo._id` | `eligibleBenefits.${number}.programInfo._id`, 4> & {
|
|
72
72
|
__applicationErrorsType?: GetEligibleBenefitsApplicationErrors;
|
|
73
73
|
}>;
|
|
74
74
|
}
|