@iveri/contracts 0.101.0 → 0.103.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.
|
@@ -14,6 +14,12 @@ export interface EmbeddedChatParticipant {
|
|
|
14
14
|
avatarUrl?: Nullable<string>;
|
|
15
15
|
/** `request` puts it in their Requests until they accept, which is how Ezo's message requests work. */
|
|
16
16
|
asRequest?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Whether somebody arriving reads what was said before they came. Omitted means false: a newcomer starts at the
|
|
19
|
+
* current end. A shop sets it for a member of staff taking up an order's conversation, who has to read what the
|
|
20
|
+
* customer already asked. Read only when the participant arrives or comes back.
|
|
21
|
+
*/
|
|
22
|
+
seesHistory?: boolean;
|
|
17
23
|
}
|
|
18
24
|
/**
|
|
19
25
|
* `PUT /embed/conversations`, under `chat:embed:manage`. An upsert keyed on the context, so a retry,
|
|
@@ -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
|
}
|