@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.
@@ -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. When provided, only the beneficiary's pools that also match `pool_selector` are checked. */
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, eligibility is checked across all pools in the namespace that match the provided `beneficiary`. Combined with `beneficiary` and `namespace`, the selector further narrows which pools are checked.
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 match the filter.
2530
+ * Checks benefit eligibility across the beneficiary's pools that contain a benefit for the given item.
2531
2531
  *
2532
- * The filter selects pools (not individual benefits), 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).
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. When provided, only the beneficiary's pools that also match `pool_selector` are checked. */
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, eligibility is checked across all pools in the namespace that match the provided `beneficiary`. Combined with `beneficiary` and `namespace`, the selector further narrows which pools are checked.
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
  }