@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.
@@ -139,7 +139,6 @@ interface PolicyExpressionExpressionOneOf {
139
139
  policyOptions?: Policy;
140
140
  }
141
141
  declare enum PolicyExpressionType {
142
- UNKNOWN = "UNKNOWN",
143
142
  /** Use with `operatorNotOptions`. */
144
143
  OPERATOR_NOT = "OPERATOR_NOT",
145
144
  /** Use with `operatorAndOptions`. */
@@ -150,7 +149,7 @@ declare enum PolicyExpressionType {
150
149
  POLICY = "POLICY"
151
150
  }
152
151
  /** @enumType */
153
- type PolicyExpressionTypeWithLiterals = PolicyExpressionType | 'UNKNOWN' | 'OPERATOR_NOT' | 'OPERATOR_AND' | 'OPERATOR_OR' | 'POLICY';
152
+ type PolicyExpressionTypeWithLiterals = PolicyExpressionType | 'OPERATOR_NOT' | 'OPERATOR_AND' | 'OPERATOR_OR' | 'POLICY';
154
153
  interface PolicyExpressionNot {
155
154
  /** Policy expression. If this expression is not fulfilled, benefits can be redeemed. */
156
155
  expression?: PolicyExpression;
@@ -199,8 +198,6 @@ interface PolicyPolicyOneOf {
199
198
  customOptions?: CustomPolicy;
200
199
  }
201
200
  declare enum Type {
202
- /** Unknown policy type. */
203
- UNKNOWN = "UNKNOWN",
204
201
  /** Use with `fixedIntervalOptions`. */
205
202
  FIXED_INTERVAL = "FIXED_INTERVAL",
206
203
  /** Use with `rateLimitedOptions`. */
@@ -209,7 +206,7 @@ declare enum Type {
209
206
  CUSTOM = "CUSTOM"
210
207
  }
211
208
  /** @enumType */
212
- type TypeWithLiterals = Type | 'UNKNOWN' | 'FIXED_INTERVAL' | 'RATE_LIMITED' | 'CUSTOM';
209
+ type TypeWithLiterals = Type | 'FIXED_INTERVAL' | 'RATE_LIMITED' | 'CUSTOM';
213
210
  interface FixedIntervalPolicy {
214
211
  /** Weekday that this interval starts from. If this field is defined, then `toWeekDay` is required. */
215
212
  fromWeekDay?: WeekDayWithLiterals;
@@ -271,17 +268,13 @@ interface RateLimitedPolicy {
271
268
  quotaId?: string | null;
272
269
  }
273
270
  declare enum TimePeriod {
274
- /** Unknown time period. */
275
- UNKNOWN_TIME_PERIOD = "UNKNOWN_TIME_PERIOD",
276
271
  /** Day, starting at midnight. */
277
272
  DAY = "DAY",
278
- /** Calendar week, starting day depending on locale. */
279
- WEEK = "WEEK",
280
273
  /** Calendar month, starting on the first day of the month. */
281
274
  MONTH = "MONTH"
282
275
  }
283
276
  /** @enumType */
284
- type TimePeriodWithLiterals = TimePeriod | 'UNKNOWN_TIME_PERIOD' | 'DAY' | 'WEEK' | 'MONTH';
277
+ type TimePeriodWithLiterals = TimePeriod | 'DAY' | 'MONTH';
285
278
  /** Custom policy as implemented by the Entitlement Policy Provider */
286
279
  interface CustomPolicy {
287
280
  /**
@@ -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 || {});