@wix/auto_sdk_benefit-programs_pools 1.0.76 → 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.js +3 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +4 -12
- package/build/cjs/index.typings.js +2 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +1 -0
- 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.mjs +3 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +4 -12
- package/build/es/index.typings.mjs +2 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +1 -0
- 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.js +3 -4
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +138 -12
- package/build/internal/cjs/index.typings.js +2 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +239 -0
- package/build/internal/cjs/meta.js +1 -0
- 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.mjs +3 -4
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +138 -12
- package/build/internal/es/index.typings.mjs +2 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +239 -0
- package/build/internal/es/meta.mjs +1 -0
- 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
|
@@ -1988,11 +1988,11 @@ interface PoolsQueryBuilder {
|
|
|
1988
1988
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
1989
1989
|
* @param value - Value to compare against.
|
|
1990
1990
|
*/
|
|
1991
|
-
eq: (propertyName: '_id' | '_createdDate' | 'poolDefinitionId' | 'programDefinitionId' | 'programId' | 'status' | 'beneficiary
|
|
1991
|
+
eq: (propertyName: '_id' | '_createdDate' | 'poolDefinitionId' | 'programDefinitionId' | 'programId' | 'status' | 'beneficiary.memberId' | 'beneficiary.wixUserId' | 'details.benefits.itemSetId' | 'details.benefits.providerAppId' | 'namespace' | 'programDefinition.id' | 'program.id', value: any) => PoolsQueryBuilder;
|
|
1992
1992
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
1993
1993
|
* @param value - Value to compare against.
|
|
1994
1994
|
*/
|
|
1995
|
-
ne: (propertyName: '_id' | '_createdDate' | 'poolDefinitionId' | 'programDefinitionId' | 'programId' | 'status' | 'beneficiary
|
|
1995
|
+
ne: (propertyName: '_id' | '_createdDate' | 'poolDefinitionId' | 'programDefinitionId' | 'programId' | 'status' | 'beneficiary.memberId' | 'beneficiary.wixUserId' | 'details.benefits.itemSetId' | 'details.benefits.providerAppId' | 'namespace' | 'programDefinition.id' | 'program.id', value: any) => PoolsQueryBuilder;
|
|
1996
1996
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
1997
1997
|
* @param value - Value to compare against.
|
|
1998
1998
|
*/
|
|
@@ -2013,11 +2013,7 @@ interface PoolsQueryBuilder {
|
|
|
2013
2013
|
* @param string - String to compare against. Case-insensitive.
|
|
2014
2014
|
*/
|
|
2015
2015
|
startsWith: (propertyName: '_id' | 'poolDefinitionId' | 'programDefinitionId' | 'programId' | 'beneficiary.memberId' | 'beneficiary.wixUserId' | 'details.benefits.itemSetId' | 'details.benefits.providerAppId' | 'namespace' | 'programDefinition.id' | 'program.id', value: string) => PoolsQueryBuilder;
|
|
2016
|
-
|
|
2017
|
-
* @param values - List of values to compare against.
|
|
2018
|
-
*/
|
|
2019
|
-
hasSome: (propertyName: '_id' | '_createdDate' | 'poolDefinitionId' | 'programDefinitionId' | 'programId' | 'status' | 'beneficiary' | 'beneficiary.memberId' | 'beneficiary.wixUserId' | 'details.benefits.itemSetId' | 'details.benefits.providerAppId' | 'namespace' | 'programDefinition.id' | 'program.id', value: any[]) => PoolsQueryBuilder;
|
|
2020
|
-
in: (propertyName: '_id' | '_createdDate' | 'poolDefinitionId' | 'programDefinitionId' | 'programId' | 'status' | 'beneficiary' | 'beneficiary.memberId' | 'beneficiary.wixUserId' | 'details.benefits.itemSetId' | 'details.benefits.providerAppId' | 'namespace' | 'programDefinition.id' | 'program.id', value: any) => PoolsQueryBuilder;
|
|
2016
|
+
in: (propertyName: '_id' | '_createdDate' | 'poolDefinitionId' | 'programDefinitionId' | 'programId' | 'status' | 'beneficiary.memberId' | 'beneficiary.wixUserId' | 'details.benefits.itemSetId' | 'details.benefits.providerAppId' | 'namespace' | 'programDefinition.id' | 'program.id', value: any) => PoolsQueryBuilder;
|
|
2021
2017
|
exists: (propertyName: '_id' | '_createdDate' | 'poolDefinitionId' | 'programDefinitionId' | 'programId' | 'status' | 'beneficiary' | 'beneficiary.memberId' | 'beneficiary.wixUserId' | 'details.benefits.itemSetId' | 'details.benefits.providerAppId' | 'namespace' | 'programDefinition.id' | 'program.id', value: boolean) => PoolsQueryBuilder;
|
|
2022
2018
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
2023
2019
|
ascending: (...propertyNames: Array<'_id' | '_createdDate' | 'poolDefinitionId' | 'programDefinitionId' | 'programId' | 'status' | 'beneficiary' | 'beneficiary.memberId' | 'beneficiary.wixUserId' | 'details.benefits.itemSetId' | 'details.benefits.providerAppId' | 'namespace' | 'programDefinition.id' | 'program.id'>) => PoolsQueryBuilder;
|
|
@@ -2106,11 +2102,7 @@ type PoolQuery = {
|
|
|
2106
2102
|
}[];
|
|
2107
2103
|
};
|
|
2108
2104
|
declare const utils: {
|
|
2109
|
-
query:
|
|
2110
|
-
QueryBuilder: () => _wix_sdk_types.QueryBuilder<Pool, PoolQuerySpec, PoolQuery>;
|
|
2111
|
-
Filter: _wix_sdk_types.FilterFactory<Pool, PoolQuerySpec>;
|
|
2112
|
-
Sort: _wix_sdk_types.SortFactory<PoolQuerySpec>;
|
|
2113
|
-
};
|
|
2105
|
+
query: _wix_sdk_types.QueryHelpers<Pool, PoolQuerySpec, PoolQuery>;
|
|
2114
2106
|
};
|
|
2115
2107
|
/**
|
|
2116
2108
|
* Redeems a specified benefit.
|
|
@@ -560,6 +560,7 @@ 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";
|
|
@@ -704,9 +705,7 @@ async function typedQueryPools(query, options) {
|
|
|
704
705
|
}
|
|
705
706
|
}
|
|
706
707
|
var utils = {
|
|
707
|
-
query:
|
|
708
|
-
...createQueryUtils()
|
|
709
|
-
}
|
|
708
|
+
query: /* @__PURE__ */ createQueryUtils()
|
|
710
709
|
};
|
|
711
710
|
async function redeemBenefit2(poolId, options) {
|
|
712
711
|
const { httpClient, sideEffects } = arguments[2];
|