@wix/auto_sdk_benefit-programs_pool-definitions 1.0.48 → 1.0.49

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.
@@ -145,7 +145,6 @@ interface PolicyExpressionExpressionOneOf {
145
145
  policyOptions?: Policy;
146
146
  }
147
147
  declare enum PolicyExpressionType {
148
- UNKNOWN = "UNKNOWN",
149
148
  /** Use with `operatorNotOptions`. */
150
149
  OPERATOR_NOT = "OPERATOR_NOT",
151
150
  /** Use with `operatorAndOptions`. */
@@ -156,7 +155,7 @@ declare enum PolicyExpressionType {
156
155
  POLICY = "POLICY"
157
156
  }
158
157
  /** @enumType */
159
- type PolicyExpressionTypeWithLiterals = PolicyExpressionType | 'UNKNOWN' | 'OPERATOR_NOT' | 'OPERATOR_AND' | 'OPERATOR_OR' | 'POLICY';
158
+ type PolicyExpressionTypeWithLiterals = PolicyExpressionType | 'OPERATOR_NOT' | 'OPERATOR_AND' | 'OPERATOR_OR' | 'POLICY';
160
159
  interface PolicyExpressionNot {
161
160
  /** Policy expression. If this expression is not fulfilled, benefits can be redeemed. */
162
161
  expression?: PolicyExpression;
@@ -205,8 +204,6 @@ interface PolicyPolicyOneOf {
205
204
  customOptions?: CustomPolicy;
206
205
  }
207
206
  declare enum Type {
208
- /** Unknown policy type. */
209
- UNKNOWN = "UNKNOWN",
210
207
  /** Use with `fixedIntervalOptions`. */
211
208
  FIXED_INTERVAL = "FIXED_INTERVAL",
212
209
  /** Use with `rateLimitedOptions`. */
@@ -215,7 +212,7 @@ declare enum Type {
215
212
  CUSTOM = "CUSTOM"
216
213
  }
217
214
  /** @enumType */
218
- type TypeWithLiterals = Type | 'UNKNOWN' | 'FIXED_INTERVAL' | 'RATE_LIMITED' | 'CUSTOM';
215
+ type TypeWithLiterals = Type | 'FIXED_INTERVAL' | 'RATE_LIMITED' | 'CUSTOM';
219
216
  interface FixedIntervalPolicy {
220
217
  /** Weekday that this interval starts from. If this field is defined, then `toWeekDay` is required. */
221
218
  fromWeekDay?: WeekDayWithLiterals;
@@ -277,17 +274,13 @@ interface RateLimitedPolicy {
277
274
  quotaId?: string | null;
278
275
  }
279
276
  declare enum TimePeriod {
280
- /** Unknown time period. */
281
- UNKNOWN_TIME_PERIOD = "UNKNOWN_TIME_PERIOD",
282
277
  /** Day, starting at midnight. */
283
278
  DAY = "DAY",
284
- /** Calendar week, starting day depending on locale. */
285
- WEEK = "WEEK",
286
279
  /** Calendar month, starting on the first day of the month. */
287
280
  MONTH = "MONTH"
288
281
  }
289
282
  /** @enumType */
290
- type TimePeriodWithLiterals = TimePeriod | 'UNKNOWN_TIME_PERIOD' | 'DAY' | 'WEEK' | 'MONTH';
283
+ type TimePeriodWithLiterals = TimePeriod | 'DAY' | 'MONTH';
291
284
  /** Custom policy as implemented by the Entitlement Policy Provider */
292
285
  interface CustomPolicy {
293
286
  /**
@@ -519,7 +519,6 @@ function findPoolDefinitionsByProgramDefinition(payload) {
519
519
  import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
520
520
  import { createQueryUtils } from "@wix/sdk-runtime/query-builder-utils";
521
521
  var PolicyExpressionType = /* @__PURE__ */ ((PolicyExpressionType2) => {
522
- PolicyExpressionType2["UNKNOWN"] = "UNKNOWN";
523
522
  PolicyExpressionType2["OPERATOR_NOT"] = "OPERATOR_NOT";
524
523
  PolicyExpressionType2["OPERATOR_AND"] = "OPERATOR_AND";
525
524
  PolicyExpressionType2["OPERATOR_OR"] = "OPERATOR_OR";
@@ -527,7 +526,6 @@ var PolicyExpressionType = /* @__PURE__ */ ((PolicyExpressionType2) => {
527
526
  return PolicyExpressionType2;
528
527
  })(PolicyExpressionType || {});
529
528
  var Type = /* @__PURE__ */ ((Type2) => {
530
- Type2["UNKNOWN"] = "UNKNOWN";
531
529
  Type2["FIXED_INTERVAL"] = "FIXED_INTERVAL";
532
530
  Type2["RATE_LIMITED"] = "RATE_LIMITED";
533
531
  Type2["CUSTOM"] = "CUSTOM";
@@ -545,9 +543,7 @@ var WeekDay = /* @__PURE__ */ ((WeekDay2) => {
545
543
  return WeekDay2;
546
544
  })(WeekDay || {});
547
545
  var TimePeriod = /* @__PURE__ */ ((TimePeriod2) => {
548
- TimePeriod2["UNKNOWN_TIME_PERIOD"] = "UNKNOWN_TIME_PERIOD";
549
546
  TimePeriod2["DAY"] = "DAY";
550
- TimePeriod2["WEEK"] = "WEEK";
551
547
  TimePeriod2["MONTH"] = "MONTH";
552
548
  return TimePeriod2;
553
549
  })(TimePeriod || {});