@iveri/contracts 0.124.0 → 0.125.0

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.
@@ -1,6 +1,11 @@
1
1
  /** Why somebody cannot have a place. Sent as `details.reason` so a client can say it in the member's language. */
2
2
  export declare enum GymBookingRefusal {
3
3
  NO_MEMBERSHIP = "no-membership",
4
+ /**
5
+ * A membership that would cover the class is frozen that day. Said instead of `no-membership` or
6
+ * `no-class-access`, which would send somebody who holds the right plan to buy another.
7
+ */
8
+ FROZEN = "frozen",
4
9
  NO_CLASS_ACCESS = "no-class-access",
5
10
  NO_CREDITS = "no-credits",
6
11
  WRONG_BRANCH = "wrong-branch",
@@ -2,6 +2,11 @@
2
2
  export var GymBookingRefusal;
3
3
  (function (GymBookingRefusal) {
4
4
  GymBookingRefusal["NO_MEMBERSHIP"] = "no-membership";
5
+ /**
6
+ * A membership that would cover the class is frozen that day. Said instead of `no-membership` or
7
+ * `no-class-access`, which would send somebody who holds the right plan to buy another.
8
+ */
9
+ GymBookingRefusal["FROZEN"] = "frozen";
5
10
  GymBookingRefusal["NO_CLASS_ACCESS"] = "no-class-access";
6
11
  GymBookingRefusal["NO_CREDITS"] = "no-credits";
7
12
  GymBookingRefusal["WRONG_BRANCH"] = "wrong-branch";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iveri/contracts",
3
- "version": "0.124.0",
3
+ "version": "0.125.0",
4
4
  "description": "Wire contracts shared by every Iveri backend and frontend. Zero runtime dependencies.",
5
5
  "license": "MIT",
6
6
  "repository": {