@wix/auto_sdk_arrivals_arrivals 1.0.2 → 1.0.3

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.
@@ -389,10 +389,12 @@ declare enum PlanBenefitIssue {
389
389
  /** A credit pack with no credits left, as Pricing Plans reports. Staff override, or sell credits and create a new arrival. */
390
390
  NOT_ENOUGH_BALANCE = "NOT_ENOUGH_BALANCE",
391
391
  /** The plan's usage policy does not allow entry at this hour or on this day, as Pricing Plans reports. */
392
- OUTSIDE_ACCESS_HOURS = "OUTSIDE_ACCESS_HOURS"
392
+ OUTSIDE_ACCESS_HOURS = "OUTSIDE_ACCESS_HOURS",
393
+ /** The plan's usage policy limits how often it can be used, such as three entries a week, and that limit is used up for the current period, as Pricing Plans reports. Staff override, or the client comes back in the next period. */
394
+ USAGE_LIMIT_REACHED = "USAGE_LIMIT_REACHED"
393
395
  }
394
396
  /** @enumType */
395
- type PlanBenefitIssueWithLiterals = PlanBenefitIssue | 'PLAN_NOT_ACTIVE' | 'NOT_ENOUGH_BALANCE' | 'OUTSIDE_ACCESS_HOURS';
397
+ type PlanBenefitIssueWithLiterals = PlanBenefitIssue | 'PLAN_NOT_ACTIVE' | 'NOT_ENOUGH_BALANCE' | 'OUTSIDE_ACCESS_HOURS' | 'USAGE_LIMIT_REACHED';
396
398
  /**
397
399
  * A scheduled event the engine found for the person at this area, with whether it admits: the event itself, of
398
400
  * the same type as the arrival's `scheduledEvent`, and its `issues`.
@@ -374,6 +374,7 @@ var PlanBenefitIssue = /* @__PURE__ */ ((PlanBenefitIssue2) => {
374
374
  PlanBenefitIssue2["PLAN_NOT_ACTIVE"] = "PLAN_NOT_ACTIVE";
375
375
  PlanBenefitIssue2["NOT_ENOUGH_BALANCE"] = "NOT_ENOUGH_BALANCE";
376
376
  PlanBenefitIssue2["OUTSIDE_ACCESS_HOURS"] = "OUTSIDE_ACCESS_HOURS";
377
+ PlanBenefitIssue2["USAGE_LIMIT_REACHED"] = "USAGE_LIMIT_REACHED";
377
378
  return PlanBenefitIssue2;
378
379
  })(PlanBenefitIssue || {});
379
380
  var ScheduledEventIssue = /* @__PURE__ */ ((ScheduledEventIssue2) => {