@wix/auto_sdk_benefit-programs_pools 1.0.82 → 1.0.83
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 +6 -6
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -2
- 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 +6 -6
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -2
- 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 +6 -6
- package/build/internal/cjs/meta.d.ts +2 -2
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.typings.d.mts +6 -6
- package/build/internal/es/meta.d.mts +2 -2
- package/package.json +2 -2
|
@@ -1711,14 +1711,14 @@ interface CheckBenefitEligibilityByFilterRequest {
|
|
|
1711
1711
|
* This parameter should be used to manage the potential logistics of providing the item.
|
|
1712
1712
|
*/
|
|
1713
1713
|
targetDate?: Date | null;
|
|
1714
|
-
/** Pool beneficiary.
|
|
1714
|
+
/** Pool beneficiary. Defaults to the calling identity. Only the beneficiary's pools that also match `pool_selector` are checked. */
|
|
1715
1715
|
beneficiary?: CommonIdentificationData;
|
|
1716
1716
|
/** Additional information. */
|
|
1717
1717
|
additionalData?: Record<string, any> | null;
|
|
1718
1718
|
/**
|
|
1719
1719
|
* Predefined attributes used to select the pools to check eligibility in.
|
|
1720
1720
|
*
|
|
1721
|
-
* When omitted,
|
|
1721
|
+
* When omitted, pools in all statuses are checked. Combined with `beneficiary`, `namespace`, and `item_reference`, the selector further narrows which pools are checked.
|
|
1722
1722
|
*/
|
|
1723
1723
|
poolSelector?: PoolSelector;
|
|
1724
1724
|
}
|
|
@@ -2527,9 +2527,9 @@ interface BulkUpdatePoolsOptions {
|
|
|
2527
2527
|
returnEntity?: boolean;
|
|
2528
2528
|
}
|
|
2529
2529
|
/**
|
|
2530
|
-
* Checks benefit eligibility across the pools that
|
|
2530
|
+
* Checks benefit eligibility across the beneficiary's pools that contain a benefit for the given item.
|
|
2531
2531
|
*
|
|
2532
|
-
*
|
|
2532
|
+
* Pools are matched by `itemReference` within `namespace` and must belong to `beneficiary`, which defaults to the calling identity. `poolSelector` narrows the matched pools further.
|
|
2533
2533
|
*
|
|
2534
2534
|
* To be redeemed, a benefit's pool must be active and the associated balance must be greater than the cost of the benefit.
|
|
2535
2535
|
*
|
|
@@ -2564,14 +2564,14 @@ interface CheckBenefitEligibilityByFilterOptions {
|
|
|
2564
2564
|
* This parameter should be used to manage the potential logistics of providing the item.
|
|
2565
2565
|
*/
|
|
2566
2566
|
targetDate?: Date | null;
|
|
2567
|
-
/** Pool beneficiary.
|
|
2567
|
+
/** Pool beneficiary. Defaults to the calling identity. Only the beneficiary's pools that also match `pool_selector` are checked. */
|
|
2568
2568
|
beneficiary?: CommonIdentificationData;
|
|
2569
2569
|
/** Additional information. */
|
|
2570
2570
|
additionalData?: Record<string, any> | null;
|
|
2571
2571
|
/**
|
|
2572
2572
|
* Predefined attributes used to select the pools to check eligibility in.
|
|
2573
2573
|
*
|
|
2574
|
-
* When omitted,
|
|
2574
|
+
* When omitted, pools in all statuses are checked. Combined with `beneficiary`, `namespace`, and `item_reference`, the selector further narrows which pools are checked.
|
|
2575
2575
|
*/
|
|
2576
2576
|
poolSelector?: PoolSelector;
|
|
2577
2577
|
}
|