@iveri/contracts 0.101.0 → 0.102.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.
@@ -100,6 +100,11 @@ export interface GymMyBooking {
100
100
  canCancel: boolean;
101
101
  /** Cancelling now would keep what the booking cost. */
102
102
  isLateCancel: boolean;
103
+ /**
104
+ * The Baasi conversation with this session's trainer, on a personal session once one is open; null for a class.
105
+ * It stays set after the training ends, because the two can still read it.
106
+ */
107
+ chatConversationId: Nullable<UUID>;
103
108
  }
104
109
  export interface CreateMyGymPersonalSessionRequest {
105
110
  branchId: UUID;
@@ -77,6 +77,11 @@ export interface GymBooking {
77
77
  /** Null unless waitlisted. 1 is next. */
78
78
  waitlistPosition: Nullable<number>;
79
79
  membershipId: UUID;
80
+ /**
81
+ * The Baasi conversation between this member and the session's trainer, on a personal session only and only
82
+ * for the trainer asking: null for a class, for a desk employee who is not that trainer, and before one is open.
83
+ */
84
+ chatConversationId: Nullable<UUID>;
80
85
  createdAt: IsoDateTime;
81
86
  updatedAt: IsoDateTime;
82
87
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iveri/contracts",
3
- "version": "0.101.0",
3
+ "version": "0.102.0",
4
4
  "description": "Wire contracts shared by every Iveri backend and frontend. Zero runtime dependencies.",
5
5
  "license": "MIT",
6
6
  "repository": {