@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/meta.d.ts
CHANGED
|
@@ -957,6 +957,14 @@ interface NotEnoughBalance {
|
|
|
957
957
|
* @decimalValue options { maxScale:4 }
|
|
958
958
|
*/
|
|
959
959
|
requestedBalance?: string;
|
|
960
|
+
/** Pool information. */
|
|
961
|
+
poolInfo?: PoolInfo;
|
|
962
|
+
/** Program definition information. */
|
|
963
|
+
programDefinitionInfo?: ProgramDefinitionInfo;
|
|
964
|
+
/** Program information. */
|
|
965
|
+
programInfo?: PoolProgramInfo;
|
|
966
|
+
/** Benefit information. */
|
|
967
|
+
benefitInfo?: BenefitInfo;
|
|
960
968
|
}
|
|
961
969
|
interface PoolInfo {
|
|
962
970
|
/** Current pool balance */
|
|
@@ -981,6 +989,11 @@ interface PoolInfo {
|
|
|
981
989
|
* @format GUID
|
|
982
990
|
*/
|
|
983
991
|
poolDefinitionId?: string;
|
|
992
|
+
/**
|
|
993
|
+
* Credit unit type.
|
|
994
|
+
* @maxLength 16
|
|
995
|
+
*/
|
|
996
|
+
creditUnitType?: string | null;
|
|
984
997
|
}
|
|
985
998
|
interface BalanceAmount {
|
|
986
999
|
/**
|
|
@@ -1012,6 +1025,11 @@ interface BenefitInfo {
|
|
|
1012
1025
|
* @maxLength 64
|
|
1013
1026
|
*/
|
|
1014
1027
|
benefitKey?: string;
|
|
1028
|
+
/**
|
|
1029
|
+
* Price of the benefit in credits.
|
|
1030
|
+
* @decimalValue options { gte:0, maxScale:4 }
|
|
1031
|
+
*/
|
|
1032
|
+
price?: string | null;
|
|
1015
1033
|
}
|
|
1016
1034
|
interface PolicyExpressionEvaluatedToFalse {
|
|
1017
1035
|
/**
|
|
@@ -1026,6 +1044,14 @@ interface PolicyExpressionEvaluatedToFalse {
|
|
|
1026
1044
|
* @maxSize 10
|
|
1027
1045
|
*/
|
|
1028
1046
|
failureDetails?: FailureDetails[];
|
|
1047
|
+
/** Pool information. */
|
|
1048
|
+
poolInfo?: PoolInfo;
|
|
1049
|
+
/** Program definition information. */
|
|
1050
|
+
programDefinitionInfo?: ProgramDefinitionInfo;
|
|
1051
|
+
/** Program information. */
|
|
1052
|
+
programInfo?: PoolProgramInfo;
|
|
1053
|
+
/** Benefit information. */
|
|
1054
|
+
benefitInfo?: BenefitInfo;
|
|
1029
1055
|
}
|
|
1030
1056
|
interface FailureDetails {
|
|
1031
1057
|
/**
|
|
@@ -1060,6 +1086,14 @@ interface PoolNotActive {
|
|
|
1060
1086
|
poolId?: string;
|
|
1061
1087
|
/** Pool status. */
|
|
1062
1088
|
poolStatus?: PoolStatusWithLiterals;
|
|
1089
|
+
/** Pool information. */
|
|
1090
|
+
poolInfo?: PoolInfo;
|
|
1091
|
+
/** Program definition information. */
|
|
1092
|
+
programDefinitionInfo?: ProgramDefinitionInfo;
|
|
1093
|
+
/** Program information. */
|
|
1094
|
+
programInfo?: PoolProgramInfo;
|
|
1095
|
+
/** Benefit information. */
|
|
1096
|
+
benefitInfo?: BenefitInfo;
|
|
1063
1097
|
}
|
|
1064
1098
|
interface PoolNotFound {
|
|
1065
1099
|
/**
|
|
@@ -1091,6 +1125,12 @@ interface BenefitNotFound {
|
|
|
1091
1125
|
* @maxLength 64
|
|
1092
1126
|
*/
|
|
1093
1127
|
benefitKey?: string | null;
|
|
1128
|
+
/** Pool information. */
|
|
1129
|
+
poolInfo?: PoolInfo;
|
|
1130
|
+
/** Program definition information. */
|
|
1131
|
+
programDefinitionInfo?: ProgramDefinitionInfo;
|
|
1132
|
+
/** Program information. */
|
|
1133
|
+
programInfo?: PoolProgramInfo;
|
|
1094
1134
|
}
|
|
1095
1135
|
interface ReallocateBenefitRequest {
|
|
1096
1136
|
/**
|
|
@@ -1356,6 +1396,14 @@ interface EligibleBenefit {
|
|
|
1356
1396
|
* @decimalValue options { gte:0, maxScale:4 }
|
|
1357
1397
|
*/
|
|
1358
1398
|
price?: string | null;
|
|
1399
|
+
/** Pool information. */
|
|
1400
|
+
poolInfo?: PoolInfo;
|
|
1401
|
+
/** Benefit information. */
|
|
1402
|
+
benefitInfo?: BenefitInfo;
|
|
1403
|
+
/** Program definition information. */
|
|
1404
|
+
programDefinitionInfo?: ProgramDefinitionInfo;
|
|
1405
|
+
/** Program information. */
|
|
1406
|
+
programInfo?: PoolProgramInfo;
|
|
1359
1407
|
}
|
|
1360
1408
|
interface BenefitResult extends BenefitResultResultOneOf {
|
|
1361
1409
|
/** Returned when item is eligible to be redeemed. */
|