@faiber/faiber-session 0.3.0 → 0.5.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.
- package/dist/.tsbuildinfo +1 -1
- package/dist/operations.d.ts +143 -18
- package/dist/operations.d.ts.map +1 -1
- package/dist/operations.js +143 -18
- package/dist/operations.js.map +1 -1
- package/dist/operations.types.d.ts +1268 -36
- package/dist/operations.types.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ApiEnvelope, JsonObject, JsonValue, QueryParams } from "@faiber/sdk-core";
|
|
2
2
|
/** Generated route contracts. Dynamic payload members remain JSON-safe and are documented with their Rust source type. */
|
|
3
|
-
/** Backend response type: response
|
|
3
|
+
/** Backend response type: handler-defined response. */
|
|
4
4
|
export interface RouterStatusRouteGetResponse extends ApiEnvelope<JsonValue> {
|
|
5
5
|
}
|
|
6
6
|
/** Backend response type: infera_flow_sdk::FlowIntegrationResponse. */
|
|
@@ -18,81 +18,945 @@ export interface RoomStateRoomStateRespondPostResponse extends ApiEnvelope<RoomS
|
|
|
18
18
|
}
|
|
19
19
|
/** Backend query type: RoomListQuery. */
|
|
20
20
|
export interface RoomRoomsIndexGetQuery extends QueryParams {
|
|
21
|
-
"page_number"?: number;
|
|
22
|
-
"page_size"?: number;
|
|
23
|
-
"custom_only"?: boolean;
|
|
24
|
-
"search"?: string;
|
|
21
|
+
"page_number"?: number | null;
|
|
22
|
+
"page_size"?: number | null;
|
|
23
|
+
"custom_only"?: boolean | null;
|
|
24
|
+
"search"?: string | null;
|
|
25
25
|
}
|
|
26
26
|
/** Backend response type: RoomListResponse. */
|
|
27
|
+
export interface RoomRoomsIndexGetResponseDataRooms extends JsonObject {
|
|
28
|
+
"id": string;
|
|
29
|
+
"name": string;
|
|
30
|
+
"capacity": number;
|
|
31
|
+
"status": number;
|
|
32
|
+
"session_id"?: string | null;
|
|
33
|
+
"starts_at"?: string | null;
|
|
34
|
+
"is_done": boolean;
|
|
35
|
+
}
|
|
27
36
|
export interface RoomRoomsIndexGetResponseData extends JsonObject {
|
|
28
|
-
"rooms":
|
|
37
|
+
"rooms": RoomRoomsIndexGetResponseDataRooms[];
|
|
29
38
|
}
|
|
30
39
|
export interface RoomRoomsIndexGetResponse extends ApiEnvelope<RoomRoomsIndexGetResponseData> {
|
|
31
40
|
}
|
|
32
41
|
/** Backend request type: RoomCreate. */
|
|
42
|
+
export type RoomRoomsCreatePostInputStatesState = "NotOpen" | "Awaiting" | "Question" | "Game" | "Task" | "Ended" | "Closed" | "Replay" | "Live" | "Interactive" | "ChargeLow";
|
|
43
|
+
export interface RoomRoomsCreatePostInputStatesDataGameHintVideo extends JsonObject {
|
|
44
|
+
"id": number;
|
|
45
|
+
"type": string;
|
|
46
|
+
}
|
|
47
|
+
export interface RoomRoomsCreatePostInputStatesDataGame extends JsonObject {
|
|
48
|
+
"id": string;
|
|
49
|
+
"game_id": string;
|
|
50
|
+
"duration": number;
|
|
51
|
+
"hint_text"?: string | null;
|
|
52
|
+
"hint_image"?: string | null;
|
|
53
|
+
"hint_video"?: RoomRoomsCreatePostInputStatesDataGameHintVideo | null;
|
|
54
|
+
}
|
|
55
|
+
export interface RoomRoomsCreatePostInputStatesDataQuestionVideo extends JsonObject {
|
|
56
|
+
"id": number;
|
|
57
|
+
"type": string;
|
|
58
|
+
}
|
|
59
|
+
export interface RoomRoomsCreatePostInputStatesDataQuestionHintVideo extends JsonObject {
|
|
60
|
+
"id": number;
|
|
61
|
+
"type": string;
|
|
62
|
+
}
|
|
63
|
+
export interface RoomRoomsCreatePostInputStatesDataQuestionOptions extends JsonObject {
|
|
64
|
+
"id": number;
|
|
65
|
+
"answer": string;
|
|
66
|
+
}
|
|
67
|
+
export interface RoomRoomsCreatePostInputStatesDataQuestion extends JsonObject {
|
|
68
|
+
"id": string;
|
|
69
|
+
"duration": number;
|
|
70
|
+
"text"?: string | null;
|
|
71
|
+
"hint_text"?: string | null;
|
|
72
|
+
"image"?: string | null;
|
|
73
|
+
"hint_image"?: string | null;
|
|
74
|
+
"video"?: RoomRoomsCreatePostInputStatesDataQuestionVideo | null;
|
|
75
|
+
"hint_video"?: RoomRoomsCreatePostInputStatesDataQuestionHintVideo | null;
|
|
76
|
+
"options"?: RoomRoomsCreatePostInputStatesDataQuestionOptions[] | null;
|
|
77
|
+
}
|
|
78
|
+
export interface RoomRoomsCreatePostInputStatesDataTaskVideo extends JsonObject {
|
|
79
|
+
"id": number;
|
|
80
|
+
"type": string;
|
|
81
|
+
}
|
|
82
|
+
export interface RoomRoomsCreatePostInputStatesDataTaskHintVideo extends JsonObject {
|
|
83
|
+
"id": number;
|
|
84
|
+
"type": string;
|
|
85
|
+
}
|
|
86
|
+
export interface RoomRoomsCreatePostInputStatesDataTask extends JsonObject {
|
|
87
|
+
"id": string;
|
|
88
|
+
"duration": number;
|
|
89
|
+
"text"?: string | null;
|
|
90
|
+
"hint_text"?: string | null;
|
|
91
|
+
"image"?: string | null;
|
|
92
|
+
"hint_image"?: string | null;
|
|
93
|
+
"video"?: RoomRoomsCreatePostInputStatesDataTaskVideo | null;
|
|
94
|
+
"hint_video"?: RoomRoomsCreatePostInputStatesDataTaskHintVideo | null;
|
|
95
|
+
}
|
|
96
|
+
export interface RoomRoomsCreatePostInputStatesDataInteractiveVideo extends JsonObject {
|
|
97
|
+
"id": number;
|
|
98
|
+
"type": string;
|
|
99
|
+
}
|
|
100
|
+
export interface RoomRoomsCreatePostInputStatesDataInteractive extends JsonObject {
|
|
101
|
+
"id": string;
|
|
102
|
+
"duration": number;
|
|
103
|
+
"video"?: RoomRoomsCreatePostInputStatesDataInteractiveVideo | null;
|
|
104
|
+
}
|
|
105
|
+
export type RoomRoomsCreatePostInputStatesDataValidationType = "Equality" | "AssistantPrompt";
|
|
106
|
+
export interface RoomRoomsCreatePostInputStatesDataValidation extends JsonObject {
|
|
107
|
+
"type": RoomRoomsCreatePostInputStatesDataValidationType;
|
|
108
|
+
"value": string;
|
|
109
|
+
}
|
|
110
|
+
export interface RoomRoomsCreatePostInputStatesDataRewards extends JsonObject {
|
|
111
|
+
"on_complete": string;
|
|
112
|
+
}
|
|
113
|
+
export interface RoomRoomsCreatePostInputStatesData extends JsonObject {
|
|
114
|
+
"game"?: RoomRoomsCreatePostInputStatesDataGame | null;
|
|
115
|
+
"question"?: RoomRoomsCreatePostInputStatesDataQuestion | null;
|
|
116
|
+
"task"?: RoomRoomsCreatePostInputStatesDataTask | null;
|
|
117
|
+
"interactive"?: RoomRoomsCreatePostInputStatesDataInteractive | null;
|
|
118
|
+
"validation"?: RoomRoomsCreatePostInputStatesDataValidation[] | null;
|
|
119
|
+
"rewards"?: RoomRoomsCreatePostInputStatesDataRewards | null;
|
|
120
|
+
"content_id"?: string | null;
|
|
121
|
+
}
|
|
122
|
+
export interface RoomRoomsCreatePostInputStates extends JsonObject {
|
|
123
|
+
"state": RoomRoomsCreatePostInputStatesState;
|
|
124
|
+
"duration": number;
|
|
125
|
+
"data"?: RoomRoomsCreatePostInputStatesData | null;
|
|
126
|
+
}
|
|
33
127
|
export interface RoomRoomsCreatePostInput extends JsonObject {
|
|
34
128
|
"name": string;
|
|
35
129
|
"capacity": number;
|
|
36
|
-
"session_id"?: string;
|
|
37
|
-
"users"?: string[];
|
|
38
|
-
"states"?:
|
|
39
|
-
"status"?: number;
|
|
130
|
+
"session_id"?: string | null;
|
|
131
|
+
"users"?: string[] | null;
|
|
132
|
+
"states"?: RoomRoomsCreatePostInputStates[] | null;
|
|
133
|
+
"status"?: number | null;
|
|
40
134
|
"starts_at": string;
|
|
41
135
|
}
|
|
42
136
|
/** Backend response type: RoomSingleResponse. */
|
|
137
|
+
export interface RoomRoomsCreatePostResponseDataRoomClients extends JsonObject {
|
|
138
|
+
"id": string;
|
|
139
|
+
"profile_id": string;
|
|
140
|
+
"roles": string[];
|
|
141
|
+
"name"?: string | null;
|
|
142
|
+
"token"?: string | null;
|
|
143
|
+
"status": number;
|
|
144
|
+
}
|
|
145
|
+
export interface RoomRoomsCreatePostResponseDataRoomCurrentStateClientResponses extends JsonObject {
|
|
146
|
+
"id": string;
|
|
147
|
+
"client_id": string;
|
|
148
|
+
"room_state_id": string;
|
|
149
|
+
"validated"?: boolean | null;
|
|
150
|
+
"created_at": string;
|
|
151
|
+
"validated_at"?: string | null;
|
|
152
|
+
}
|
|
153
|
+
export interface RoomRoomsCreatePostResponseDataRoomCurrentStateDataGameHintVideo extends JsonObject {
|
|
154
|
+
"id": number;
|
|
155
|
+
"type": string;
|
|
156
|
+
}
|
|
157
|
+
export interface RoomRoomsCreatePostResponseDataRoomCurrentStateDataGame extends JsonObject {
|
|
158
|
+
"id": string;
|
|
159
|
+
"game_id": string;
|
|
160
|
+
"duration": number;
|
|
161
|
+
"hint_text"?: string | null;
|
|
162
|
+
"hint_image"?: string | null;
|
|
163
|
+
"hint_video"?: RoomRoomsCreatePostResponseDataRoomCurrentStateDataGameHintVideo | null;
|
|
164
|
+
}
|
|
165
|
+
export interface RoomRoomsCreatePostResponseDataRoomCurrentStateDataQuestionVideo extends JsonObject {
|
|
166
|
+
"id": number;
|
|
167
|
+
"type": string;
|
|
168
|
+
}
|
|
169
|
+
export interface RoomRoomsCreatePostResponseDataRoomCurrentStateDataQuestionHintVideo extends JsonObject {
|
|
170
|
+
"id": number;
|
|
171
|
+
"type": string;
|
|
172
|
+
}
|
|
173
|
+
export interface RoomRoomsCreatePostResponseDataRoomCurrentStateDataQuestionOptions extends JsonObject {
|
|
174
|
+
"id": number;
|
|
175
|
+
"answer": string;
|
|
176
|
+
}
|
|
177
|
+
export interface RoomRoomsCreatePostResponseDataRoomCurrentStateDataQuestion extends JsonObject {
|
|
178
|
+
"id": string;
|
|
179
|
+
"duration": number;
|
|
180
|
+
"text"?: string | null;
|
|
181
|
+
"hint_text"?: string | null;
|
|
182
|
+
"image"?: string | null;
|
|
183
|
+
"hint_image"?: string | null;
|
|
184
|
+
"video"?: RoomRoomsCreatePostResponseDataRoomCurrentStateDataQuestionVideo | null;
|
|
185
|
+
"hint_video"?: RoomRoomsCreatePostResponseDataRoomCurrentStateDataQuestionHintVideo | null;
|
|
186
|
+
"options"?: RoomRoomsCreatePostResponseDataRoomCurrentStateDataQuestionOptions[] | null;
|
|
187
|
+
}
|
|
188
|
+
export interface RoomRoomsCreatePostResponseDataRoomCurrentStateDataTaskVideo extends JsonObject {
|
|
189
|
+
"id": number;
|
|
190
|
+
"type": string;
|
|
191
|
+
}
|
|
192
|
+
export interface RoomRoomsCreatePostResponseDataRoomCurrentStateDataTaskHintVideo extends JsonObject {
|
|
193
|
+
"id": number;
|
|
194
|
+
"type": string;
|
|
195
|
+
}
|
|
196
|
+
export interface RoomRoomsCreatePostResponseDataRoomCurrentStateDataTask extends JsonObject {
|
|
197
|
+
"id": string;
|
|
198
|
+
"duration": number;
|
|
199
|
+
"text"?: string | null;
|
|
200
|
+
"hint_text"?: string | null;
|
|
201
|
+
"image"?: string | null;
|
|
202
|
+
"hint_image"?: string | null;
|
|
203
|
+
"video"?: RoomRoomsCreatePostResponseDataRoomCurrentStateDataTaskVideo | null;
|
|
204
|
+
"hint_video"?: RoomRoomsCreatePostResponseDataRoomCurrentStateDataTaskHintVideo | null;
|
|
205
|
+
}
|
|
206
|
+
export interface RoomRoomsCreatePostResponseDataRoomCurrentStateDataInteractiveVideo extends JsonObject {
|
|
207
|
+
"id": number;
|
|
208
|
+
"type": string;
|
|
209
|
+
}
|
|
210
|
+
export interface RoomRoomsCreatePostResponseDataRoomCurrentStateDataInteractive extends JsonObject {
|
|
211
|
+
"id": string;
|
|
212
|
+
"duration": number;
|
|
213
|
+
"video"?: RoomRoomsCreatePostResponseDataRoomCurrentStateDataInteractiveVideo | null;
|
|
214
|
+
}
|
|
215
|
+
export type RoomRoomsCreatePostResponseDataRoomCurrentStateDataValidationType = "Equality" | "AssistantPrompt";
|
|
216
|
+
export interface RoomRoomsCreatePostResponseDataRoomCurrentStateDataValidation extends JsonObject {
|
|
217
|
+
"type": RoomRoomsCreatePostResponseDataRoomCurrentStateDataValidationType;
|
|
218
|
+
"value": string;
|
|
219
|
+
}
|
|
220
|
+
export interface RoomRoomsCreatePostResponseDataRoomCurrentStateDataRewards extends JsonObject {
|
|
221
|
+
"on_complete": string;
|
|
222
|
+
}
|
|
223
|
+
export interface RoomRoomsCreatePostResponseDataRoomCurrentStateData extends JsonObject {
|
|
224
|
+
"game"?: RoomRoomsCreatePostResponseDataRoomCurrentStateDataGame | null;
|
|
225
|
+
"question"?: RoomRoomsCreatePostResponseDataRoomCurrentStateDataQuestion | null;
|
|
226
|
+
"task"?: RoomRoomsCreatePostResponseDataRoomCurrentStateDataTask | null;
|
|
227
|
+
"interactive"?: RoomRoomsCreatePostResponseDataRoomCurrentStateDataInteractive | null;
|
|
228
|
+
"validation"?: RoomRoomsCreatePostResponseDataRoomCurrentStateDataValidation[] | null;
|
|
229
|
+
"rewards"?: RoomRoomsCreatePostResponseDataRoomCurrentStateDataRewards | null;
|
|
230
|
+
"content_id"?: string | null;
|
|
231
|
+
}
|
|
232
|
+
export type RoomRoomsCreatePostResponseDataRoomCurrentStateState = "NotOpen" | "Awaiting" | "Question" | "Game" | "Task" | "Ended" | "Closed" | "Replay" | "Live" | "Interactive" | "ChargeLow";
|
|
233
|
+
export interface RoomRoomsCreatePostResponseDataRoomCurrentState extends JsonObject {
|
|
234
|
+
"id": string;
|
|
235
|
+
"room_id": string;
|
|
236
|
+
"duration_in_seconds": number;
|
|
237
|
+
"client_responses": RoomRoomsCreatePostResponseDataRoomCurrentStateClientResponses[];
|
|
238
|
+
"data"?: RoomRoomsCreatePostResponseDataRoomCurrentStateData | null;
|
|
239
|
+
"state": RoomRoomsCreatePostResponseDataRoomCurrentStateState;
|
|
240
|
+
"started_at"?: string | null;
|
|
241
|
+
"ended_at"?: string | null;
|
|
242
|
+
"status": number;
|
|
243
|
+
}
|
|
244
|
+
export interface RoomRoomsCreatePostResponseDataRoom extends JsonObject {
|
|
245
|
+
"id": string;
|
|
246
|
+
"name": string;
|
|
247
|
+
"capacity": number;
|
|
248
|
+
"starts_at"?: string | null;
|
|
249
|
+
"ended_at"?: string | null;
|
|
250
|
+
"clients": RoomRoomsCreatePostResponseDataRoomClients[];
|
|
251
|
+
"current_state"?: RoomRoomsCreatePostResponseDataRoomCurrentState | null;
|
|
252
|
+
"room_name": string;
|
|
253
|
+
"room_channel": string;
|
|
254
|
+
"server_time": string;
|
|
255
|
+
"status": number;
|
|
256
|
+
}
|
|
43
257
|
export interface RoomRoomsCreatePostResponseData extends JsonObject {
|
|
44
|
-
"room":
|
|
258
|
+
"room": RoomRoomsCreatePostResponseDataRoom;
|
|
45
259
|
}
|
|
46
260
|
export interface RoomRoomsCreatePostResponse extends ApiEnvelope<RoomRoomsCreatePostResponseData> {
|
|
47
261
|
}
|
|
48
262
|
/** Backend response type: RoomSingleResponse. */
|
|
263
|
+
export interface RoomRoomsDeleteDeleteResponseDataRoomClients extends JsonObject {
|
|
264
|
+
"id": string;
|
|
265
|
+
"profile_id": string;
|
|
266
|
+
"roles": string[];
|
|
267
|
+
"name"?: string | null;
|
|
268
|
+
"token"?: string | null;
|
|
269
|
+
"status": number;
|
|
270
|
+
}
|
|
271
|
+
export interface RoomRoomsDeleteDeleteResponseDataRoomCurrentStateClientResponses extends JsonObject {
|
|
272
|
+
"id": string;
|
|
273
|
+
"client_id": string;
|
|
274
|
+
"room_state_id": string;
|
|
275
|
+
"validated"?: boolean | null;
|
|
276
|
+
"created_at": string;
|
|
277
|
+
"validated_at"?: string | null;
|
|
278
|
+
}
|
|
279
|
+
export interface RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataGameHintVideo extends JsonObject {
|
|
280
|
+
"id": number;
|
|
281
|
+
"type": string;
|
|
282
|
+
}
|
|
283
|
+
export interface RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataGame extends JsonObject {
|
|
284
|
+
"id": string;
|
|
285
|
+
"game_id": string;
|
|
286
|
+
"duration": number;
|
|
287
|
+
"hint_text"?: string | null;
|
|
288
|
+
"hint_image"?: string | null;
|
|
289
|
+
"hint_video"?: RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataGameHintVideo | null;
|
|
290
|
+
}
|
|
291
|
+
export interface RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataQuestionVideo extends JsonObject {
|
|
292
|
+
"id": number;
|
|
293
|
+
"type": string;
|
|
294
|
+
}
|
|
295
|
+
export interface RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataQuestionHintVideo extends JsonObject {
|
|
296
|
+
"id": number;
|
|
297
|
+
"type": string;
|
|
298
|
+
}
|
|
299
|
+
export interface RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataQuestionOptions extends JsonObject {
|
|
300
|
+
"id": number;
|
|
301
|
+
"answer": string;
|
|
302
|
+
}
|
|
303
|
+
export interface RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataQuestion extends JsonObject {
|
|
304
|
+
"id": string;
|
|
305
|
+
"duration": number;
|
|
306
|
+
"text"?: string | null;
|
|
307
|
+
"hint_text"?: string | null;
|
|
308
|
+
"image"?: string | null;
|
|
309
|
+
"hint_image"?: string | null;
|
|
310
|
+
"video"?: RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataQuestionVideo | null;
|
|
311
|
+
"hint_video"?: RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataQuestionHintVideo | null;
|
|
312
|
+
"options"?: RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataQuestionOptions[] | null;
|
|
313
|
+
}
|
|
314
|
+
export interface RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataTaskVideo extends JsonObject {
|
|
315
|
+
"id": number;
|
|
316
|
+
"type": string;
|
|
317
|
+
}
|
|
318
|
+
export interface RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataTaskHintVideo extends JsonObject {
|
|
319
|
+
"id": number;
|
|
320
|
+
"type": string;
|
|
321
|
+
}
|
|
322
|
+
export interface RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataTask extends JsonObject {
|
|
323
|
+
"id": string;
|
|
324
|
+
"duration": number;
|
|
325
|
+
"text"?: string | null;
|
|
326
|
+
"hint_text"?: string | null;
|
|
327
|
+
"image"?: string | null;
|
|
328
|
+
"hint_image"?: string | null;
|
|
329
|
+
"video"?: RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataTaskVideo | null;
|
|
330
|
+
"hint_video"?: RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataTaskHintVideo | null;
|
|
331
|
+
}
|
|
332
|
+
export interface RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataInteractiveVideo extends JsonObject {
|
|
333
|
+
"id": number;
|
|
334
|
+
"type": string;
|
|
335
|
+
}
|
|
336
|
+
export interface RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataInteractive extends JsonObject {
|
|
337
|
+
"id": string;
|
|
338
|
+
"duration": number;
|
|
339
|
+
"video"?: RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataInteractiveVideo | null;
|
|
340
|
+
}
|
|
341
|
+
export type RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataValidationType = "Equality" | "AssistantPrompt";
|
|
342
|
+
export interface RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataValidation extends JsonObject {
|
|
343
|
+
"type": RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataValidationType;
|
|
344
|
+
"value": string;
|
|
345
|
+
}
|
|
346
|
+
export interface RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataRewards extends JsonObject {
|
|
347
|
+
"on_complete": string;
|
|
348
|
+
}
|
|
349
|
+
export interface RoomRoomsDeleteDeleteResponseDataRoomCurrentStateData extends JsonObject {
|
|
350
|
+
"game"?: RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataGame | null;
|
|
351
|
+
"question"?: RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataQuestion | null;
|
|
352
|
+
"task"?: RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataTask | null;
|
|
353
|
+
"interactive"?: RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataInteractive | null;
|
|
354
|
+
"validation"?: RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataValidation[] | null;
|
|
355
|
+
"rewards"?: RoomRoomsDeleteDeleteResponseDataRoomCurrentStateDataRewards | null;
|
|
356
|
+
"content_id"?: string | null;
|
|
357
|
+
}
|
|
358
|
+
export type RoomRoomsDeleteDeleteResponseDataRoomCurrentStateState = "NotOpen" | "Awaiting" | "Question" | "Game" | "Task" | "Ended" | "Closed" | "Replay" | "Live" | "Interactive" | "ChargeLow";
|
|
359
|
+
export interface RoomRoomsDeleteDeleteResponseDataRoomCurrentState extends JsonObject {
|
|
360
|
+
"id": string;
|
|
361
|
+
"room_id": string;
|
|
362
|
+
"duration_in_seconds": number;
|
|
363
|
+
"client_responses": RoomRoomsDeleteDeleteResponseDataRoomCurrentStateClientResponses[];
|
|
364
|
+
"data"?: RoomRoomsDeleteDeleteResponseDataRoomCurrentStateData | null;
|
|
365
|
+
"state": RoomRoomsDeleteDeleteResponseDataRoomCurrentStateState;
|
|
366
|
+
"started_at"?: string | null;
|
|
367
|
+
"ended_at"?: string | null;
|
|
368
|
+
"status": number;
|
|
369
|
+
}
|
|
370
|
+
export interface RoomRoomsDeleteDeleteResponseDataRoom extends JsonObject {
|
|
371
|
+
"id": string;
|
|
372
|
+
"name": string;
|
|
373
|
+
"capacity": number;
|
|
374
|
+
"starts_at"?: string | null;
|
|
375
|
+
"ended_at"?: string | null;
|
|
376
|
+
"clients": RoomRoomsDeleteDeleteResponseDataRoomClients[];
|
|
377
|
+
"current_state"?: RoomRoomsDeleteDeleteResponseDataRoomCurrentState | null;
|
|
378
|
+
"room_name": string;
|
|
379
|
+
"room_channel": string;
|
|
380
|
+
"server_time": string;
|
|
381
|
+
"status": number;
|
|
382
|
+
}
|
|
49
383
|
export interface RoomRoomsDeleteDeleteResponseData extends JsonObject {
|
|
50
|
-
"room":
|
|
384
|
+
"room": RoomRoomsDeleteDeleteResponseDataRoom;
|
|
51
385
|
}
|
|
52
386
|
export interface RoomRoomsDeleteDeleteResponse extends ApiEnvelope<RoomRoomsDeleteDeleteResponseData> {
|
|
53
387
|
}
|
|
54
388
|
/** Backend response type: RoomSingleResponse. */
|
|
389
|
+
export interface RoomRoomsShowGetResponseDataRoomClients extends JsonObject {
|
|
390
|
+
"id": string;
|
|
391
|
+
"profile_id": string;
|
|
392
|
+
"roles": string[];
|
|
393
|
+
"name"?: string | null;
|
|
394
|
+
"token"?: string | null;
|
|
395
|
+
"status": number;
|
|
396
|
+
}
|
|
397
|
+
export interface RoomRoomsShowGetResponseDataRoomCurrentStateClientResponses extends JsonObject {
|
|
398
|
+
"id": string;
|
|
399
|
+
"client_id": string;
|
|
400
|
+
"room_state_id": string;
|
|
401
|
+
"validated"?: boolean | null;
|
|
402
|
+
"created_at": string;
|
|
403
|
+
"validated_at"?: string | null;
|
|
404
|
+
}
|
|
405
|
+
export interface RoomRoomsShowGetResponseDataRoomCurrentStateDataGameHintVideo extends JsonObject {
|
|
406
|
+
"id": number;
|
|
407
|
+
"type": string;
|
|
408
|
+
}
|
|
409
|
+
export interface RoomRoomsShowGetResponseDataRoomCurrentStateDataGame extends JsonObject {
|
|
410
|
+
"id": string;
|
|
411
|
+
"game_id": string;
|
|
412
|
+
"duration": number;
|
|
413
|
+
"hint_text"?: string | null;
|
|
414
|
+
"hint_image"?: string | null;
|
|
415
|
+
"hint_video"?: RoomRoomsShowGetResponseDataRoomCurrentStateDataGameHintVideo | null;
|
|
416
|
+
}
|
|
417
|
+
export interface RoomRoomsShowGetResponseDataRoomCurrentStateDataQuestionVideo extends JsonObject {
|
|
418
|
+
"id": number;
|
|
419
|
+
"type": string;
|
|
420
|
+
}
|
|
421
|
+
export interface RoomRoomsShowGetResponseDataRoomCurrentStateDataQuestionHintVideo extends JsonObject {
|
|
422
|
+
"id": number;
|
|
423
|
+
"type": string;
|
|
424
|
+
}
|
|
425
|
+
export interface RoomRoomsShowGetResponseDataRoomCurrentStateDataQuestionOptions extends JsonObject {
|
|
426
|
+
"id": number;
|
|
427
|
+
"answer": string;
|
|
428
|
+
}
|
|
429
|
+
export interface RoomRoomsShowGetResponseDataRoomCurrentStateDataQuestion extends JsonObject {
|
|
430
|
+
"id": string;
|
|
431
|
+
"duration": number;
|
|
432
|
+
"text"?: string | null;
|
|
433
|
+
"hint_text"?: string | null;
|
|
434
|
+
"image"?: string | null;
|
|
435
|
+
"hint_image"?: string | null;
|
|
436
|
+
"video"?: RoomRoomsShowGetResponseDataRoomCurrentStateDataQuestionVideo | null;
|
|
437
|
+
"hint_video"?: RoomRoomsShowGetResponseDataRoomCurrentStateDataQuestionHintVideo | null;
|
|
438
|
+
"options"?: RoomRoomsShowGetResponseDataRoomCurrentStateDataQuestionOptions[] | null;
|
|
439
|
+
}
|
|
440
|
+
export interface RoomRoomsShowGetResponseDataRoomCurrentStateDataTaskVideo extends JsonObject {
|
|
441
|
+
"id": number;
|
|
442
|
+
"type": string;
|
|
443
|
+
}
|
|
444
|
+
export interface RoomRoomsShowGetResponseDataRoomCurrentStateDataTaskHintVideo extends JsonObject {
|
|
445
|
+
"id": number;
|
|
446
|
+
"type": string;
|
|
447
|
+
}
|
|
448
|
+
export interface RoomRoomsShowGetResponseDataRoomCurrentStateDataTask extends JsonObject {
|
|
449
|
+
"id": string;
|
|
450
|
+
"duration": number;
|
|
451
|
+
"text"?: string | null;
|
|
452
|
+
"hint_text"?: string | null;
|
|
453
|
+
"image"?: string | null;
|
|
454
|
+
"hint_image"?: string | null;
|
|
455
|
+
"video"?: RoomRoomsShowGetResponseDataRoomCurrentStateDataTaskVideo | null;
|
|
456
|
+
"hint_video"?: RoomRoomsShowGetResponseDataRoomCurrentStateDataTaskHintVideo | null;
|
|
457
|
+
}
|
|
458
|
+
export interface RoomRoomsShowGetResponseDataRoomCurrentStateDataInteractiveVideo extends JsonObject {
|
|
459
|
+
"id": number;
|
|
460
|
+
"type": string;
|
|
461
|
+
}
|
|
462
|
+
export interface RoomRoomsShowGetResponseDataRoomCurrentStateDataInteractive extends JsonObject {
|
|
463
|
+
"id": string;
|
|
464
|
+
"duration": number;
|
|
465
|
+
"video"?: RoomRoomsShowGetResponseDataRoomCurrentStateDataInteractiveVideo | null;
|
|
466
|
+
}
|
|
467
|
+
export type RoomRoomsShowGetResponseDataRoomCurrentStateDataValidationType = "Equality" | "AssistantPrompt";
|
|
468
|
+
export interface RoomRoomsShowGetResponseDataRoomCurrentStateDataValidation extends JsonObject {
|
|
469
|
+
"type": RoomRoomsShowGetResponseDataRoomCurrentStateDataValidationType;
|
|
470
|
+
"value": string;
|
|
471
|
+
}
|
|
472
|
+
export interface RoomRoomsShowGetResponseDataRoomCurrentStateDataRewards extends JsonObject {
|
|
473
|
+
"on_complete": string;
|
|
474
|
+
}
|
|
475
|
+
export interface RoomRoomsShowGetResponseDataRoomCurrentStateData extends JsonObject {
|
|
476
|
+
"game"?: RoomRoomsShowGetResponseDataRoomCurrentStateDataGame | null;
|
|
477
|
+
"question"?: RoomRoomsShowGetResponseDataRoomCurrentStateDataQuestion | null;
|
|
478
|
+
"task"?: RoomRoomsShowGetResponseDataRoomCurrentStateDataTask | null;
|
|
479
|
+
"interactive"?: RoomRoomsShowGetResponseDataRoomCurrentStateDataInteractive | null;
|
|
480
|
+
"validation"?: RoomRoomsShowGetResponseDataRoomCurrentStateDataValidation[] | null;
|
|
481
|
+
"rewards"?: RoomRoomsShowGetResponseDataRoomCurrentStateDataRewards | null;
|
|
482
|
+
"content_id"?: string | null;
|
|
483
|
+
}
|
|
484
|
+
export type RoomRoomsShowGetResponseDataRoomCurrentStateState = "NotOpen" | "Awaiting" | "Question" | "Game" | "Task" | "Ended" | "Closed" | "Replay" | "Live" | "Interactive" | "ChargeLow";
|
|
485
|
+
export interface RoomRoomsShowGetResponseDataRoomCurrentState extends JsonObject {
|
|
486
|
+
"id": string;
|
|
487
|
+
"room_id": string;
|
|
488
|
+
"duration_in_seconds": number;
|
|
489
|
+
"client_responses": RoomRoomsShowGetResponseDataRoomCurrentStateClientResponses[];
|
|
490
|
+
"data"?: RoomRoomsShowGetResponseDataRoomCurrentStateData | null;
|
|
491
|
+
"state": RoomRoomsShowGetResponseDataRoomCurrentStateState;
|
|
492
|
+
"started_at"?: string | null;
|
|
493
|
+
"ended_at"?: string | null;
|
|
494
|
+
"status": number;
|
|
495
|
+
}
|
|
496
|
+
export interface RoomRoomsShowGetResponseDataRoom extends JsonObject {
|
|
497
|
+
"id": string;
|
|
498
|
+
"name": string;
|
|
499
|
+
"capacity": number;
|
|
500
|
+
"starts_at"?: string | null;
|
|
501
|
+
"ended_at"?: string | null;
|
|
502
|
+
"clients": RoomRoomsShowGetResponseDataRoomClients[];
|
|
503
|
+
"current_state"?: RoomRoomsShowGetResponseDataRoomCurrentState | null;
|
|
504
|
+
"room_name": string;
|
|
505
|
+
"room_channel": string;
|
|
506
|
+
"server_time": string;
|
|
507
|
+
"status": number;
|
|
508
|
+
}
|
|
55
509
|
export interface RoomRoomsShowGetResponseData extends JsonObject {
|
|
56
|
-
"room":
|
|
510
|
+
"room": RoomRoomsShowGetResponseDataRoom;
|
|
57
511
|
}
|
|
58
512
|
export interface RoomRoomsShowGetResponse extends ApiEnvelope<RoomRoomsShowGetResponseData> {
|
|
59
513
|
}
|
|
60
514
|
/** Backend request type: RoomUpdate. */
|
|
515
|
+
export type RoomRoomsUpdatePatchInputStatesState = "NotOpen" | "Awaiting" | "Question" | "Game" | "Task" | "Ended" | "Closed" | "Replay" | "Live" | "Interactive" | "ChargeLow";
|
|
516
|
+
export interface RoomRoomsUpdatePatchInputStatesDataGameHintVideo extends JsonObject {
|
|
517
|
+
"id": number;
|
|
518
|
+
"type": string;
|
|
519
|
+
}
|
|
520
|
+
export interface RoomRoomsUpdatePatchInputStatesDataGame extends JsonObject {
|
|
521
|
+
"id": string;
|
|
522
|
+
"game_id": string;
|
|
523
|
+
"duration": number;
|
|
524
|
+
"hint_text"?: string | null;
|
|
525
|
+
"hint_image"?: string | null;
|
|
526
|
+
"hint_video"?: RoomRoomsUpdatePatchInputStatesDataGameHintVideo | null;
|
|
527
|
+
}
|
|
528
|
+
export interface RoomRoomsUpdatePatchInputStatesDataQuestionVideo extends JsonObject {
|
|
529
|
+
"id": number;
|
|
530
|
+
"type": string;
|
|
531
|
+
}
|
|
532
|
+
export interface RoomRoomsUpdatePatchInputStatesDataQuestionHintVideo extends JsonObject {
|
|
533
|
+
"id": number;
|
|
534
|
+
"type": string;
|
|
535
|
+
}
|
|
536
|
+
export interface RoomRoomsUpdatePatchInputStatesDataQuestionOptions extends JsonObject {
|
|
537
|
+
"id": number;
|
|
538
|
+
"answer": string;
|
|
539
|
+
}
|
|
540
|
+
export interface RoomRoomsUpdatePatchInputStatesDataQuestion extends JsonObject {
|
|
541
|
+
"id": string;
|
|
542
|
+
"duration": number;
|
|
543
|
+
"text"?: string | null;
|
|
544
|
+
"hint_text"?: string | null;
|
|
545
|
+
"image"?: string | null;
|
|
546
|
+
"hint_image"?: string | null;
|
|
547
|
+
"video"?: RoomRoomsUpdatePatchInputStatesDataQuestionVideo | null;
|
|
548
|
+
"hint_video"?: RoomRoomsUpdatePatchInputStatesDataQuestionHintVideo | null;
|
|
549
|
+
"options"?: RoomRoomsUpdatePatchInputStatesDataQuestionOptions[] | null;
|
|
550
|
+
}
|
|
551
|
+
export interface RoomRoomsUpdatePatchInputStatesDataTaskVideo extends JsonObject {
|
|
552
|
+
"id": number;
|
|
553
|
+
"type": string;
|
|
554
|
+
}
|
|
555
|
+
export interface RoomRoomsUpdatePatchInputStatesDataTaskHintVideo extends JsonObject {
|
|
556
|
+
"id": number;
|
|
557
|
+
"type": string;
|
|
558
|
+
}
|
|
559
|
+
export interface RoomRoomsUpdatePatchInputStatesDataTask extends JsonObject {
|
|
560
|
+
"id": string;
|
|
561
|
+
"duration": number;
|
|
562
|
+
"text"?: string | null;
|
|
563
|
+
"hint_text"?: string | null;
|
|
564
|
+
"image"?: string | null;
|
|
565
|
+
"hint_image"?: string | null;
|
|
566
|
+
"video"?: RoomRoomsUpdatePatchInputStatesDataTaskVideo | null;
|
|
567
|
+
"hint_video"?: RoomRoomsUpdatePatchInputStatesDataTaskHintVideo | null;
|
|
568
|
+
}
|
|
569
|
+
export interface RoomRoomsUpdatePatchInputStatesDataInteractiveVideo extends JsonObject {
|
|
570
|
+
"id": number;
|
|
571
|
+
"type": string;
|
|
572
|
+
}
|
|
573
|
+
export interface RoomRoomsUpdatePatchInputStatesDataInteractive extends JsonObject {
|
|
574
|
+
"id": string;
|
|
575
|
+
"duration": number;
|
|
576
|
+
"video"?: RoomRoomsUpdatePatchInputStatesDataInteractiveVideo | null;
|
|
577
|
+
}
|
|
578
|
+
export type RoomRoomsUpdatePatchInputStatesDataValidationType = "Equality" | "AssistantPrompt";
|
|
579
|
+
export interface RoomRoomsUpdatePatchInputStatesDataValidation extends JsonObject {
|
|
580
|
+
"type": RoomRoomsUpdatePatchInputStatesDataValidationType;
|
|
581
|
+
"value": string;
|
|
582
|
+
}
|
|
583
|
+
export interface RoomRoomsUpdatePatchInputStatesDataRewards extends JsonObject {
|
|
584
|
+
"on_complete": string;
|
|
585
|
+
}
|
|
586
|
+
export interface RoomRoomsUpdatePatchInputStatesData extends JsonObject {
|
|
587
|
+
"game"?: RoomRoomsUpdatePatchInputStatesDataGame | null;
|
|
588
|
+
"question"?: RoomRoomsUpdatePatchInputStatesDataQuestion | null;
|
|
589
|
+
"task"?: RoomRoomsUpdatePatchInputStatesDataTask | null;
|
|
590
|
+
"interactive"?: RoomRoomsUpdatePatchInputStatesDataInteractive | null;
|
|
591
|
+
"validation"?: RoomRoomsUpdatePatchInputStatesDataValidation[] | null;
|
|
592
|
+
"rewards"?: RoomRoomsUpdatePatchInputStatesDataRewards | null;
|
|
593
|
+
"content_id"?: string | null;
|
|
594
|
+
}
|
|
595
|
+
export interface RoomRoomsUpdatePatchInputStates extends JsonObject {
|
|
596
|
+
"state": RoomRoomsUpdatePatchInputStatesState;
|
|
597
|
+
"duration": number;
|
|
598
|
+
"data"?: RoomRoomsUpdatePatchInputStatesData | null;
|
|
599
|
+
}
|
|
61
600
|
export interface RoomRoomsUpdatePatchInput extends JsonObject {
|
|
62
|
-
"name"?: string;
|
|
63
|
-
"capacity"?: number;
|
|
64
|
-
"session_id"?: string;
|
|
65
|
-
"users"?: string[];
|
|
66
|
-
"states"?:
|
|
67
|
-
"status"?: number;
|
|
68
|
-
"starts_at"?: string;
|
|
601
|
+
"name"?: string | null;
|
|
602
|
+
"capacity"?: number | null;
|
|
603
|
+
"session_id"?: string | null;
|
|
604
|
+
"users"?: string[] | null;
|
|
605
|
+
"states"?: RoomRoomsUpdatePatchInputStates[] | null;
|
|
606
|
+
"status"?: number | null;
|
|
607
|
+
"starts_at"?: string | null;
|
|
69
608
|
}
|
|
70
609
|
/** Backend response type: RoomSingleResponse. */
|
|
610
|
+
export interface RoomRoomsUpdatePatchResponseDataRoomClients extends JsonObject {
|
|
611
|
+
"id": string;
|
|
612
|
+
"profile_id": string;
|
|
613
|
+
"roles": string[];
|
|
614
|
+
"name"?: string | null;
|
|
615
|
+
"token"?: string | null;
|
|
616
|
+
"status": number;
|
|
617
|
+
}
|
|
618
|
+
export interface RoomRoomsUpdatePatchResponseDataRoomCurrentStateClientResponses extends JsonObject {
|
|
619
|
+
"id": string;
|
|
620
|
+
"client_id": string;
|
|
621
|
+
"room_state_id": string;
|
|
622
|
+
"validated"?: boolean | null;
|
|
623
|
+
"created_at": string;
|
|
624
|
+
"validated_at"?: string | null;
|
|
625
|
+
}
|
|
626
|
+
export interface RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataGameHintVideo extends JsonObject {
|
|
627
|
+
"id": number;
|
|
628
|
+
"type": string;
|
|
629
|
+
}
|
|
630
|
+
export interface RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataGame extends JsonObject {
|
|
631
|
+
"id": string;
|
|
632
|
+
"game_id": string;
|
|
633
|
+
"duration": number;
|
|
634
|
+
"hint_text"?: string | null;
|
|
635
|
+
"hint_image"?: string | null;
|
|
636
|
+
"hint_video"?: RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataGameHintVideo | null;
|
|
637
|
+
}
|
|
638
|
+
export interface RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataQuestionVideo extends JsonObject {
|
|
639
|
+
"id": number;
|
|
640
|
+
"type": string;
|
|
641
|
+
}
|
|
642
|
+
export interface RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataQuestionHintVideo extends JsonObject {
|
|
643
|
+
"id": number;
|
|
644
|
+
"type": string;
|
|
645
|
+
}
|
|
646
|
+
export interface RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataQuestionOptions extends JsonObject {
|
|
647
|
+
"id": number;
|
|
648
|
+
"answer": string;
|
|
649
|
+
}
|
|
650
|
+
export interface RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataQuestion extends JsonObject {
|
|
651
|
+
"id": string;
|
|
652
|
+
"duration": number;
|
|
653
|
+
"text"?: string | null;
|
|
654
|
+
"hint_text"?: string | null;
|
|
655
|
+
"image"?: string | null;
|
|
656
|
+
"hint_image"?: string | null;
|
|
657
|
+
"video"?: RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataQuestionVideo | null;
|
|
658
|
+
"hint_video"?: RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataQuestionHintVideo | null;
|
|
659
|
+
"options"?: RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataQuestionOptions[] | null;
|
|
660
|
+
}
|
|
661
|
+
export interface RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataTaskVideo extends JsonObject {
|
|
662
|
+
"id": number;
|
|
663
|
+
"type": string;
|
|
664
|
+
}
|
|
665
|
+
export interface RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataTaskHintVideo extends JsonObject {
|
|
666
|
+
"id": number;
|
|
667
|
+
"type": string;
|
|
668
|
+
}
|
|
669
|
+
export interface RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataTask extends JsonObject {
|
|
670
|
+
"id": string;
|
|
671
|
+
"duration": number;
|
|
672
|
+
"text"?: string | null;
|
|
673
|
+
"hint_text"?: string | null;
|
|
674
|
+
"image"?: string | null;
|
|
675
|
+
"hint_image"?: string | null;
|
|
676
|
+
"video"?: RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataTaskVideo | null;
|
|
677
|
+
"hint_video"?: RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataTaskHintVideo | null;
|
|
678
|
+
}
|
|
679
|
+
export interface RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataInteractiveVideo extends JsonObject {
|
|
680
|
+
"id": number;
|
|
681
|
+
"type": string;
|
|
682
|
+
}
|
|
683
|
+
export interface RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataInteractive extends JsonObject {
|
|
684
|
+
"id": string;
|
|
685
|
+
"duration": number;
|
|
686
|
+
"video"?: RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataInteractiveVideo | null;
|
|
687
|
+
}
|
|
688
|
+
export type RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataValidationType = "Equality" | "AssistantPrompt";
|
|
689
|
+
export interface RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataValidation extends JsonObject {
|
|
690
|
+
"type": RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataValidationType;
|
|
691
|
+
"value": string;
|
|
692
|
+
}
|
|
693
|
+
export interface RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataRewards extends JsonObject {
|
|
694
|
+
"on_complete": string;
|
|
695
|
+
}
|
|
696
|
+
export interface RoomRoomsUpdatePatchResponseDataRoomCurrentStateData extends JsonObject {
|
|
697
|
+
"game"?: RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataGame | null;
|
|
698
|
+
"question"?: RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataQuestion | null;
|
|
699
|
+
"task"?: RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataTask | null;
|
|
700
|
+
"interactive"?: RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataInteractive | null;
|
|
701
|
+
"validation"?: RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataValidation[] | null;
|
|
702
|
+
"rewards"?: RoomRoomsUpdatePatchResponseDataRoomCurrentStateDataRewards | null;
|
|
703
|
+
"content_id"?: string | null;
|
|
704
|
+
}
|
|
705
|
+
export type RoomRoomsUpdatePatchResponseDataRoomCurrentStateState = "NotOpen" | "Awaiting" | "Question" | "Game" | "Task" | "Ended" | "Closed" | "Replay" | "Live" | "Interactive" | "ChargeLow";
|
|
706
|
+
export interface RoomRoomsUpdatePatchResponseDataRoomCurrentState extends JsonObject {
|
|
707
|
+
"id": string;
|
|
708
|
+
"room_id": string;
|
|
709
|
+
"duration_in_seconds": number;
|
|
710
|
+
"client_responses": RoomRoomsUpdatePatchResponseDataRoomCurrentStateClientResponses[];
|
|
711
|
+
"data"?: RoomRoomsUpdatePatchResponseDataRoomCurrentStateData | null;
|
|
712
|
+
"state": RoomRoomsUpdatePatchResponseDataRoomCurrentStateState;
|
|
713
|
+
"started_at"?: string | null;
|
|
714
|
+
"ended_at"?: string | null;
|
|
715
|
+
"status": number;
|
|
716
|
+
}
|
|
717
|
+
export interface RoomRoomsUpdatePatchResponseDataRoom extends JsonObject {
|
|
718
|
+
"id": string;
|
|
719
|
+
"name": string;
|
|
720
|
+
"capacity": number;
|
|
721
|
+
"starts_at"?: string | null;
|
|
722
|
+
"ended_at"?: string | null;
|
|
723
|
+
"clients": RoomRoomsUpdatePatchResponseDataRoomClients[];
|
|
724
|
+
"current_state"?: RoomRoomsUpdatePatchResponseDataRoomCurrentState | null;
|
|
725
|
+
"room_name": string;
|
|
726
|
+
"room_channel": string;
|
|
727
|
+
"server_time": string;
|
|
728
|
+
"status": number;
|
|
729
|
+
}
|
|
71
730
|
export interface RoomRoomsUpdatePatchResponseData extends JsonObject {
|
|
72
|
-
"room":
|
|
731
|
+
"room": RoomRoomsUpdatePatchResponseDataRoom;
|
|
73
732
|
}
|
|
74
733
|
export interface RoomRoomsUpdatePatchResponse extends ApiEnvelope<RoomRoomsUpdatePatchResponseData> {
|
|
75
734
|
}
|
|
76
735
|
/** Backend request type: RoomUpdate. */
|
|
736
|
+
export type RoomRoomsUpdatePutInputStatesState = "NotOpen" | "Awaiting" | "Question" | "Game" | "Task" | "Ended" | "Closed" | "Replay" | "Live" | "Interactive" | "ChargeLow";
|
|
737
|
+
export interface RoomRoomsUpdatePutInputStatesDataGameHintVideo extends JsonObject {
|
|
738
|
+
"id": number;
|
|
739
|
+
"type": string;
|
|
740
|
+
}
|
|
741
|
+
export interface RoomRoomsUpdatePutInputStatesDataGame extends JsonObject {
|
|
742
|
+
"id": string;
|
|
743
|
+
"game_id": string;
|
|
744
|
+
"duration": number;
|
|
745
|
+
"hint_text"?: string | null;
|
|
746
|
+
"hint_image"?: string | null;
|
|
747
|
+
"hint_video"?: RoomRoomsUpdatePutInputStatesDataGameHintVideo | null;
|
|
748
|
+
}
|
|
749
|
+
export interface RoomRoomsUpdatePutInputStatesDataQuestionVideo extends JsonObject {
|
|
750
|
+
"id": number;
|
|
751
|
+
"type": string;
|
|
752
|
+
}
|
|
753
|
+
export interface RoomRoomsUpdatePutInputStatesDataQuestionHintVideo extends JsonObject {
|
|
754
|
+
"id": number;
|
|
755
|
+
"type": string;
|
|
756
|
+
}
|
|
757
|
+
export interface RoomRoomsUpdatePutInputStatesDataQuestionOptions extends JsonObject {
|
|
758
|
+
"id": number;
|
|
759
|
+
"answer": string;
|
|
760
|
+
}
|
|
761
|
+
export interface RoomRoomsUpdatePutInputStatesDataQuestion extends JsonObject {
|
|
762
|
+
"id": string;
|
|
763
|
+
"duration": number;
|
|
764
|
+
"text"?: string | null;
|
|
765
|
+
"hint_text"?: string | null;
|
|
766
|
+
"image"?: string | null;
|
|
767
|
+
"hint_image"?: string | null;
|
|
768
|
+
"video"?: RoomRoomsUpdatePutInputStatesDataQuestionVideo | null;
|
|
769
|
+
"hint_video"?: RoomRoomsUpdatePutInputStatesDataQuestionHintVideo | null;
|
|
770
|
+
"options"?: RoomRoomsUpdatePutInputStatesDataQuestionOptions[] | null;
|
|
771
|
+
}
|
|
772
|
+
export interface RoomRoomsUpdatePutInputStatesDataTaskVideo extends JsonObject {
|
|
773
|
+
"id": number;
|
|
774
|
+
"type": string;
|
|
775
|
+
}
|
|
776
|
+
export interface RoomRoomsUpdatePutInputStatesDataTaskHintVideo extends JsonObject {
|
|
777
|
+
"id": number;
|
|
778
|
+
"type": string;
|
|
779
|
+
}
|
|
780
|
+
export interface RoomRoomsUpdatePutInputStatesDataTask extends JsonObject {
|
|
781
|
+
"id": string;
|
|
782
|
+
"duration": number;
|
|
783
|
+
"text"?: string | null;
|
|
784
|
+
"hint_text"?: string | null;
|
|
785
|
+
"image"?: string | null;
|
|
786
|
+
"hint_image"?: string | null;
|
|
787
|
+
"video"?: RoomRoomsUpdatePutInputStatesDataTaskVideo | null;
|
|
788
|
+
"hint_video"?: RoomRoomsUpdatePutInputStatesDataTaskHintVideo | null;
|
|
789
|
+
}
|
|
790
|
+
export interface RoomRoomsUpdatePutInputStatesDataInteractiveVideo extends JsonObject {
|
|
791
|
+
"id": number;
|
|
792
|
+
"type": string;
|
|
793
|
+
}
|
|
794
|
+
export interface RoomRoomsUpdatePutInputStatesDataInteractive extends JsonObject {
|
|
795
|
+
"id": string;
|
|
796
|
+
"duration": number;
|
|
797
|
+
"video"?: RoomRoomsUpdatePutInputStatesDataInteractiveVideo | null;
|
|
798
|
+
}
|
|
799
|
+
export type RoomRoomsUpdatePutInputStatesDataValidationType = "Equality" | "AssistantPrompt";
|
|
800
|
+
export interface RoomRoomsUpdatePutInputStatesDataValidation extends JsonObject {
|
|
801
|
+
"type": RoomRoomsUpdatePutInputStatesDataValidationType;
|
|
802
|
+
"value": string;
|
|
803
|
+
}
|
|
804
|
+
export interface RoomRoomsUpdatePutInputStatesDataRewards extends JsonObject {
|
|
805
|
+
"on_complete": string;
|
|
806
|
+
}
|
|
807
|
+
export interface RoomRoomsUpdatePutInputStatesData extends JsonObject {
|
|
808
|
+
"game"?: RoomRoomsUpdatePutInputStatesDataGame | null;
|
|
809
|
+
"question"?: RoomRoomsUpdatePutInputStatesDataQuestion | null;
|
|
810
|
+
"task"?: RoomRoomsUpdatePutInputStatesDataTask | null;
|
|
811
|
+
"interactive"?: RoomRoomsUpdatePutInputStatesDataInteractive | null;
|
|
812
|
+
"validation"?: RoomRoomsUpdatePutInputStatesDataValidation[] | null;
|
|
813
|
+
"rewards"?: RoomRoomsUpdatePutInputStatesDataRewards | null;
|
|
814
|
+
"content_id"?: string | null;
|
|
815
|
+
}
|
|
816
|
+
export interface RoomRoomsUpdatePutInputStates extends JsonObject {
|
|
817
|
+
"state": RoomRoomsUpdatePutInputStatesState;
|
|
818
|
+
"duration": number;
|
|
819
|
+
"data"?: RoomRoomsUpdatePutInputStatesData | null;
|
|
820
|
+
}
|
|
77
821
|
export interface RoomRoomsUpdatePutInput extends JsonObject {
|
|
78
|
-
"name"?: string;
|
|
79
|
-
"capacity"?: number;
|
|
80
|
-
"session_id"?: string;
|
|
81
|
-
"users"?: string[];
|
|
82
|
-
"states"?:
|
|
83
|
-
"status"?: number;
|
|
84
|
-
"starts_at"?: string;
|
|
822
|
+
"name"?: string | null;
|
|
823
|
+
"capacity"?: number | null;
|
|
824
|
+
"session_id"?: string | null;
|
|
825
|
+
"users"?: string[] | null;
|
|
826
|
+
"states"?: RoomRoomsUpdatePutInputStates[] | null;
|
|
827
|
+
"status"?: number | null;
|
|
828
|
+
"starts_at"?: string | null;
|
|
85
829
|
}
|
|
86
830
|
/** Backend response type: RoomSingleResponse. */
|
|
831
|
+
export interface RoomRoomsUpdatePutResponseDataRoomClients extends JsonObject {
|
|
832
|
+
"id": string;
|
|
833
|
+
"profile_id": string;
|
|
834
|
+
"roles": string[];
|
|
835
|
+
"name"?: string | null;
|
|
836
|
+
"token"?: string | null;
|
|
837
|
+
"status": number;
|
|
838
|
+
}
|
|
839
|
+
export interface RoomRoomsUpdatePutResponseDataRoomCurrentStateClientResponses extends JsonObject {
|
|
840
|
+
"id": string;
|
|
841
|
+
"client_id": string;
|
|
842
|
+
"room_state_id": string;
|
|
843
|
+
"validated"?: boolean | null;
|
|
844
|
+
"created_at": string;
|
|
845
|
+
"validated_at"?: string | null;
|
|
846
|
+
}
|
|
847
|
+
export interface RoomRoomsUpdatePutResponseDataRoomCurrentStateDataGameHintVideo extends JsonObject {
|
|
848
|
+
"id": number;
|
|
849
|
+
"type": string;
|
|
850
|
+
}
|
|
851
|
+
export interface RoomRoomsUpdatePutResponseDataRoomCurrentStateDataGame extends JsonObject {
|
|
852
|
+
"id": string;
|
|
853
|
+
"game_id": string;
|
|
854
|
+
"duration": number;
|
|
855
|
+
"hint_text"?: string | null;
|
|
856
|
+
"hint_image"?: string | null;
|
|
857
|
+
"hint_video"?: RoomRoomsUpdatePutResponseDataRoomCurrentStateDataGameHintVideo | null;
|
|
858
|
+
}
|
|
859
|
+
export interface RoomRoomsUpdatePutResponseDataRoomCurrentStateDataQuestionVideo extends JsonObject {
|
|
860
|
+
"id": number;
|
|
861
|
+
"type": string;
|
|
862
|
+
}
|
|
863
|
+
export interface RoomRoomsUpdatePutResponseDataRoomCurrentStateDataQuestionHintVideo extends JsonObject {
|
|
864
|
+
"id": number;
|
|
865
|
+
"type": string;
|
|
866
|
+
}
|
|
867
|
+
export interface RoomRoomsUpdatePutResponseDataRoomCurrentStateDataQuestionOptions extends JsonObject {
|
|
868
|
+
"id": number;
|
|
869
|
+
"answer": string;
|
|
870
|
+
}
|
|
871
|
+
export interface RoomRoomsUpdatePutResponseDataRoomCurrentStateDataQuestion extends JsonObject {
|
|
872
|
+
"id": string;
|
|
873
|
+
"duration": number;
|
|
874
|
+
"text"?: string | null;
|
|
875
|
+
"hint_text"?: string | null;
|
|
876
|
+
"image"?: string | null;
|
|
877
|
+
"hint_image"?: string | null;
|
|
878
|
+
"video"?: RoomRoomsUpdatePutResponseDataRoomCurrentStateDataQuestionVideo | null;
|
|
879
|
+
"hint_video"?: RoomRoomsUpdatePutResponseDataRoomCurrentStateDataQuestionHintVideo | null;
|
|
880
|
+
"options"?: RoomRoomsUpdatePutResponseDataRoomCurrentStateDataQuestionOptions[] | null;
|
|
881
|
+
}
|
|
882
|
+
export interface RoomRoomsUpdatePutResponseDataRoomCurrentStateDataTaskVideo extends JsonObject {
|
|
883
|
+
"id": number;
|
|
884
|
+
"type": string;
|
|
885
|
+
}
|
|
886
|
+
export interface RoomRoomsUpdatePutResponseDataRoomCurrentStateDataTaskHintVideo extends JsonObject {
|
|
887
|
+
"id": number;
|
|
888
|
+
"type": string;
|
|
889
|
+
}
|
|
890
|
+
export interface RoomRoomsUpdatePutResponseDataRoomCurrentStateDataTask extends JsonObject {
|
|
891
|
+
"id": string;
|
|
892
|
+
"duration": number;
|
|
893
|
+
"text"?: string | null;
|
|
894
|
+
"hint_text"?: string | null;
|
|
895
|
+
"image"?: string | null;
|
|
896
|
+
"hint_image"?: string | null;
|
|
897
|
+
"video"?: RoomRoomsUpdatePutResponseDataRoomCurrentStateDataTaskVideo | null;
|
|
898
|
+
"hint_video"?: RoomRoomsUpdatePutResponseDataRoomCurrentStateDataTaskHintVideo | null;
|
|
899
|
+
}
|
|
900
|
+
export interface RoomRoomsUpdatePutResponseDataRoomCurrentStateDataInteractiveVideo extends JsonObject {
|
|
901
|
+
"id": number;
|
|
902
|
+
"type": string;
|
|
903
|
+
}
|
|
904
|
+
export interface RoomRoomsUpdatePutResponseDataRoomCurrentStateDataInteractive extends JsonObject {
|
|
905
|
+
"id": string;
|
|
906
|
+
"duration": number;
|
|
907
|
+
"video"?: RoomRoomsUpdatePutResponseDataRoomCurrentStateDataInteractiveVideo | null;
|
|
908
|
+
}
|
|
909
|
+
export type RoomRoomsUpdatePutResponseDataRoomCurrentStateDataValidationType = "Equality" | "AssistantPrompt";
|
|
910
|
+
export interface RoomRoomsUpdatePutResponseDataRoomCurrentStateDataValidation extends JsonObject {
|
|
911
|
+
"type": RoomRoomsUpdatePutResponseDataRoomCurrentStateDataValidationType;
|
|
912
|
+
"value": string;
|
|
913
|
+
}
|
|
914
|
+
export interface RoomRoomsUpdatePutResponseDataRoomCurrentStateDataRewards extends JsonObject {
|
|
915
|
+
"on_complete": string;
|
|
916
|
+
}
|
|
917
|
+
export interface RoomRoomsUpdatePutResponseDataRoomCurrentStateData extends JsonObject {
|
|
918
|
+
"game"?: RoomRoomsUpdatePutResponseDataRoomCurrentStateDataGame | null;
|
|
919
|
+
"question"?: RoomRoomsUpdatePutResponseDataRoomCurrentStateDataQuestion | null;
|
|
920
|
+
"task"?: RoomRoomsUpdatePutResponseDataRoomCurrentStateDataTask | null;
|
|
921
|
+
"interactive"?: RoomRoomsUpdatePutResponseDataRoomCurrentStateDataInteractive | null;
|
|
922
|
+
"validation"?: RoomRoomsUpdatePutResponseDataRoomCurrentStateDataValidation[] | null;
|
|
923
|
+
"rewards"?: RoomRoomsUpdatePutResponseDataRoomCurrentStateDataRewards | null;
|
|
924
|
+
"content_id"?: string | null;
|
|
925
|
+
}
|
|
926
|
+
export type RoomRoomsUpdatePutResponseDataRoomCurrentStateState = "NotOpen" | "Awaiting" | "Question" | "Game" | "Task" | "Ended" | "Closed" | "Replay" | "Live" | "Interactive" | "ChargeLow";
|
|
927
|
+
export interface RoomRoomsUpdatePutResponseDataRoomCurrentState extends JsonObject {
|
|
928
|
+
"id": string;
|
|
929
|
+
"room_id": string;
|
|
930
|
+
"duration_in_seconds": number;
|
|
931
|
+
"client_responses": RoomRoomsUpdatePutResponseDataRoomCurrentStateClientResponses[];
|
|
932
|
+
"data"?: RoomRoomsUpdatePutResponseDataRoomCurrentStateData | null;
|
|
933
|
+
"state": RoomRoomsUpdatePutResponseDataRoomCurrentStateState;
|
|
934
|
+
"started_at"?: string | null;
|
|
935
|
+
"ended_at"?: string | null;
|
|
936
|
+
"status": number;
|
|
937
|
+
}
|
|
938
|
+
export interface RoomRoomsUpdatePutResponseDataRoom extends JsonObject {
|
|
939
|
+
"id": string;
|
|
940
|
+
"name": string;
|
|
941
|
+
"capacity": number;
|
|
942
|
+
"starts_at"?: string | null;
|
|
943
|
+
"ended_at"?: string | null;
|
|
944
|
+
"clients": RoomRoomsUpdatePutResponseDataRoomClients[];
|
|
945
|
+
"current_state"?: RoomRoomsUpdatePutResponseDataRoomCurrentState | null;
|
|
946
|
+
"room_name": string;
|
|
947
|
+
"room_channel": string;
|
|
948
|
+
"server_time": string;
|
|
949
|
+
"status": number;
|
|
950
|
+
}
|
|
87
951
|
export interface RoomRoomsUpdatePutResponseData extends JsonObject {
|
|
88
|
-
"room":
|
|
952
|
+
"room": RoomRoomsUpdatePutResponseDataRoom;
|
|
89
953
|
}
|
|
90
954
|
export interface RoomRoomsUpdatePutResponse extends ApiEnvelope<RoomRoomsUpdatePutResponseData> {
|
|
91
955
|
}
|
|
92
|
-
/** Backend response type: response
|
|
956
|
+
/** Backend response type: handler-defined response. */
|
|
93
957
|
export interface RoomRoomsEndGetResponse extends ApiEnvelope<JsonValue> {
|
|
94
958
|
}
|
|
95
|
-
/** Backend response type: response
|
|
959
|
+
/** Backend response type: handler-defined response. */
|
|
96
960
|
export interface RoomRoomsInteractiveStartPostResponse extends ApiEnvelope<JsonValue> {
|
|
97
961
|
}
|
|
98
962
|
/** Backend response type: LiveKitTokenResponse. */
|
|
@@ -103,26 +967,394 @@ export interface RoomRoomsLivekitTokenGetResponseData extends JsonObject {
|
|
|
103
967
|
export interface RoomRoomsLivekitTokenGetResponse extends ApiEnvelope<RoomRoomsLivekitTokenGetResponseData> {
|
|
104
968
|
}
|
|
105
969
|
/** Backend response type: RoomSingleFullResponse. */
|
|
970
|
+
export interface RoomRoomsPlaybackShowGetResponseDataRoomClients extends JsonObject {
|
|
971
|
+
"id": string;
|
|
972
|
+
"profile_id": string;
|
|
973
|
+
"roles": string[];
|
|
974
|
+
"name"?: string | null;
|
|
975
|
+
"token"?: string | null;
|
|
976
|
+
"status": number;
|
|
977
|
+
}
|
|
978
|
+
export interface RoomRoomsPlaybackShowGetResponseDataRoomStatesClientResponses extends JsonObject {
|
|
979
|
+
"id": string;
|
|
980
|
+
"client_id": string;
|
|
981
|
+
"room_state_id": string;
|
|
982
|
+
"validated"?: boolean | null;
|
|
983
|
+
"created_at": string;
|
|
984
|
+
"validated_at"?: string | null;
|
|
985
|
+
}
|
|
986
|
+
export interface RoomRoomsPlaybackShowGetResponseDataRoomStatesDataGameHintVideo extends JsonObject {
|
|
987
|
+
"id": number;
|
|
988
|
+
"type": string;
|
|
989
|
+
}
|
|
990
|
+
export interface RoomRoomsPlaybackShowGetResponseDataRoomStatesDataGame extends JsonObject {
|
|
991
|
+
"id": string;
|
|
992
|
+
"game_id": string;
|
|
993
|
+
"duration": number;
|
|
994
|
+
"hint_text"?: string | null;
|
|
995
|
+
"hint_image"?: string | null;
|
|
996
|
+
"hint_video"?: RoomRoomsPlaybackShowGetResponseDataRoomStatesDataGameHintVideo | null;
|
|
997
|
+
}
|
|
998
|
+
export interface RoomRoomsPlaybackShowGetResponseDataRoomStatesDataQuestionVideo extends JsonObject {
|
|
999
|
+
"id": number;
|
|
1000
|
+
"type": string;
|
|
1001
|
+
}
|
|
1002
|
+
export interface RoomRoomsPlaybackShowGetResponseDataRoomStatesDataQuestionHintVideo extends JsonObject {
|
|
1003
|
+
"id": number;
|
|
1004
|
+
"type": string;
|
|
1005
|
+
}
|
|
1006
|
+
export interface RoomRoomsPlaybackShowGetResponseDataRoomStatesDataQuestionOptions extends JsonObject {
|
|
1007
|
+
"id": number;
|
|
1008
|
+
"answer": string;
|
|
1009
|
+
}
|
|
1010
|
+
export interface RoomRoomsPlaybackShowGetResponseDataRoomStatesDataQuestion extends JsonObject {
|
|
1011
|
+
"id": string;
|
|
1012
|
+
"duration": number;
|
|
1013
|
+
"text"?: string | null;
|
|
1014
|
+
"hint_text"?: string | null;
|
|
1015
|
+
"image"?: string | null;
|
|
1016
|
+
"hint_image"?: string | null;
|
|
1017
|
+
"video"?: RoomRoomsPlaybackShowGetResponseDataRoomStatesDataQuestionVideo | null;
|
|
1018
|
+
"hint_video"?: RoomRoomsPlaybackShowGetResponseDataRoomStatesDataQuestionHintVideo | null;
|
|
1019
|
+
"options"?: RoomRoomsPlaybackShowGetResponseDataRoomStatesDataQuestionOptions[] | null;
|
|
1020
|
+
}
|
|
1021
|
+
export interface RoomRoomsPlaybackShowGetResponseDataRoomStatesDataTaskVideo extends JsonObject {
|
|
1022
|
+
"id": number;
|
|
1023
|
+
"type": string;
|
|
1024
|
+
}
|
|
1025
|
+
export interface RoomRoomsPlaybackShowGetResponseDataRoomStatesDataTaskHintVideo extends JsonObject {
|
|
1026
|
+
"id": number;
|
|
1027
|
+
"type": string;
|
|
1028
|
+
}
|
|
1029
|
+
export interface RoomRoomsPlaybackShowGetResponseDataRoomStatesDataTask extends JsonObject {
|
|
1030
|
+
"id": string;
|
|
1031
|
+
"duration": number;
|
|
1032
|
+
"text"?: string | null;
|
|
1033
|
+
"hint_text"?: string | null;
|
|
1034
|
+
"image"?: string | null;
|
|
1035
|
+
"hint_image"?: string | null;
|
|
1036
|
+
"video"?: RoomRoomsPlaybackShowGetResponseDataRoomStatesDataTaskVideo | null;
|
|
1037
|
+
"hint_video"?: RoomRoomsPlaybackShowGetResponseDataRoomStatesDataTaskHintVideo | null;
|
|
1038
|
+
}
|
|
1039
|
+
export interface RoomRoomsPlaybackShowGetResponseDataRoomStatesDataInteractiveVideo extends JsonObject {
|
|
1040
|
+
"id": number;
|
|
1041
|
+
"type": string;
|
|
1042
|
+
}
|
|
1043
|
+
export interface RoomRoomsPlaybackShowGetResponseDataRoomStatesDataInteractive extends JsonObject {
|
|
1044
|
+
"id": string;
|
|
1045
|
+
"duration": number;
|
|
1046
|
+
"video"?: RoomRoomsPlaybackShowGetResponseDataRoomStatesDataInteractiveVideo | null;
|
|
1047
|
+
}
|
|
1048
|
+
export type RoomRoomsPlaybackShowGetResponseDataRoomStatesDataValidationType = "Equality" | "AssistantPrompt";
|
|
1049
|
+
export interface RoomRoomsPlaybackShowGetResponseDataRoomStatesDataValidation extends JsonObject {
|
|
1050
|
+
"type": RoomRoomsPlaybackShowGetResponseDataRoomStatesDataValidationType;
|
|
1051
|
+
"value": string;
|
|
1052
|
+
}
|
|
1053
|
+
export interface RoomRoomsPlaybackShowGetResponseDataRoomStatesDataRewards extends JsonObject {
|
|
1054
|
+
"on_complete": string;
|
|
1055
|
+
}
|
|
1056
|
+
export interface RoomRoomsPlaybackShowGetResponseDataRoomStatesData extends JsonObject {
|
|
1057
|
+
"game"?: RoomRoomsPlaybackShowGetResponseDataRoomStatesDataGame | null;
|
|
1058
|
+
"question"?: RoomRoomsPlaybackShowGetResponseDataRoomStatesDataQuestion | null;
|
|
1059
|
+
"task"?: RoomRoomsPlaybackShowGetResponseDataRoomStatesDataTask | null;
|
|
1060
|
+
"interactive"?: RoomRoomsPlaybackShowGetResponseDataRoomStatesDataInteractive | null;
|
|
1061
|
+
"validation"?: RoomRoomsPlaybackShowGetResponseDataRoomStatesDataValidation[] | null;
|
|
1062
|
+
"rewards"?: RoomRoomsPlaybackShowGetResponseDataRoomStatesDataRewards | null;
|
|
1063
|
+
"content_id"?: string | null;
|
|
1064
|
+
}
|
|
1065
|
+
export type RoomRoomsPlaybackShowGetResponseDataRoomStatesState = "NotOpen" | "Awaiting" | "Question" | "Game" | "Task" | "Ended" | "Closed" | "Replay" | "Live" | "Interactive" | "ChargeLow";
|
|
1066
|
+
export interface RoomRoomsPlaybackShowGetResponseDataRoomStates extends JsonObject {
|
|
1067
|
+
"id": string;
|
|
1068
|
+
"room_id": string;
|
|
1069
|
+
"duration_in_seconds": number;
|
|
1070
|
+
"client_responses": RoomRoomsPlaybackShowGetResponseDataRoomStatesClientResponses[];
|
|
1071
|
+
"data"?: RoomRoomsPlaybackShowGetResponseDataRoomStatesData | null;
|
|
1072
|
+
"state": RoomRoomsPlaybackShowGetResponseDataRoomStatesState;
|
|
1073
|
+
"started_at"?: string | null;
|
|
1074
|
+
"ended_at"?: string | null;
|
|
1075
|
+
"status": number;
|
|
1076
|
+
}
|
|
1077
|
+
export interface RoomRoomsPlaybackShowGetResponseDataRoom extends JsonObject {
|
|
1078
|
+
"id": string;
|
|
1079
|
+
"name": string;
|
|
1080
|
+
"capacity": number;
|
|
1081
|
+
"starts_at"?: string | null;
|
|
1082
|
+
"ended_at"?: string | null;
|
|
1083
|
+
"clients": RoomRoomsPlaybackShowGetResponseDataRoomClients[];
|
|
1084
|
+
"states": RoomRoomsPlaybackShowGetResponseDataRoomStates[];
|
|
1085
|
+
"room_name": string;
|
|
1086
|
+
"room_channel": string;
|
|
1087
|
+
"server_time": string;
|
|
1088
|
+
"status": number;
|
|
1089
|
+
}
|
|
106
1090
|
export interface RoomRoomsPlaybackShowGetResponseData extends JsonObject {
|
|
107
|
-
"room":
|
|
1091
|
+
"room": RoomRoomsPlaybackShowGetResponseDataRoom;
|
|
108
1092
|
}
|
|
109
1093
|
export interface RoomRoomsPlaybackShowGetResponse extends ApiEnvelope<RoomRoomsPlaybackShowGetResponseData> {
|
|
110
1094
|
}
|
|
111
1095
|
/** Backend response type: RoomRecordingResponse. */
|
|
1096
|
+
export interface RoomRoomsRecordingsGetResponseDataRecordings extends JsonObject {
|
|
1097
|
+
"id": string;
|
|
1098
|
+
"name": string;
|
|
1099
|
+
"url": string;
|
|
1100
|
+
"duration": number;
|
|
1101
|
+
"started_at"?: string | null;
|
|
1102
|
+
"stopped_at"?: string | null;
|
|
1103
|
+
}
|
|
112
1104
|
export interface RoomRoomsRecordingsGetResponseData extends JsonObject {
|
|
113
|
-
"recordings":
|
|
1105
|
+
"recordings": RoomRoomsRecordingsGetResponseDataRecordings[];
|
|
114
1106
|
}
|
|
115
1107
|
export interface RoomRoomsRecordingsGetResponse extends ApiEnvelope<RoomRoomsRecordingsGetResponseData> {
|
|
116
1108
|
}
|
|
117
1109
|
/** Backend response type: RoomSingleResponse. */
|
|
1110
|
+
export interface RoomRoomsStartGetResponseDataRoomClients extends JsonObject {
|
|
1111
|
+
"id": string;
|
|
1112
|
+
"profile_id": string;
|
|
1113
|
+
"roles": string[];
|
|
1114
|
+
"name"?: string | null;
|
|
1115
|
+
"token"?: string | null;
|
|
1116
|
+
"status": number;
|
|
1117
|
+
}
|
|
1118
|
+
export interface RoomRoomsStartGetResponseDataRoomCurrentStateClientResponses extends JsonObject {
|
|
1119
|
+
"id": string;
|
|
1120
|
+
"client_id": string;
|
|
1121
|
+
"room_state_id": string;
|
|
1122
|
+
"validated"?: boolean | null;
|
|
1123
|
+
"created_at": string;
|
|
1124
|
+
"validated_at"?: string | null;
|
|
1125
|
+
}
|
|
1126
|
+
export interface RoomRoomsStartGetResponseDataRoomCurrentStateDataGameHintVideo extends JsonObject {
|
|
1127
|
+
"id": number;
|
|
1128
|
+
"type": string;
|
|
1129
|
+
}
|
|
1130
|
+
export interface RoomRoomsStartGetResponseDataRoomCurrentStateDataGame extends JsonObject {
|
|
1131
|
+
"id": string;
|
|
1132
|
+
"game_id": string;
|
|
1133
|
+
"duration": number;
|
|
1134
|
+
"hint_text"?: string | null;
|
|
1135
|
+
"hint_image"?: string | null;
|
|
1136
|
+
"hint_video"?: RoomRoomsStartGetResponseDataRoomCurrentStateDataGameHintVideo | null;
|
|
1137
|
+
}
|
|
1138
|
+
export interface RoomRoomsStartGetResponseDataRoomCurrentStateDataQuestionVideo extends JsonObject {
|
|
1139
|
+
"id": number;
|
|
1140
|
+
"type": string;
|
|
1141
|
+
}
|
|
1142
|
+
export interface RoomRoomsStartGetResponseDataRoomCurrentStateDataQuestionHintVideo extends JsonObject {
|
|
1143
|
+
"id": number;
|
|
1144
|
+
"type": string;
|
|
1145
|
+
}
|
|
1146
|
+
export interface RoomRoomsStartGetResponseDataRoomCurrentStateDataQuestionOptions extends JsonObject {
|
|
1147
|
+
"id": number;
|
|
1148
|
+
"answer": string;
|
|
1149
|
+
}
|
|
1150
|
+
export interface RoomRoomsStartGetResponseDataRoomCurrentStateDataQuestion extends JsonObject {
|
|
1151
|
+
"id": string;
|
|
1152
|
+
"duration": number;
|
|
1153
|
+
"text"?: string | null;
|
|
1154
|
+
"hint_text"?: string | null;
|
|
1155
|
+
"image"?: string | null;
|
|
1156
|
+
"hint_image"?: string | null;
|
|
1157
|
+
"video"?: RoomRoomsStartGetResponseDataRoomCurrentStateDataQuestionVideo | null;
|
|
1158
|
+
"hint_video"?: RoomRoomsStartGetResponseDataRoomCurrentStateDataQuestionHintVideo | null;
|
|
1159
|
+
"options"?: RoomRoomsStartGetResponseDataRoomCurrentStateDataQuestionOptions[] | null;
|
|
1160
|
+
}
|
|
1161
|
+
export interface RoomRoomsStartGetResponseDataRoomCurrentStateDataTaskVideo extends JsonObject {
|
|
1162
|
+
"id": number;
|
|
1163
|
+
"type": string;
|
|
1164
|
+
}
|
|
1165
|
+
export interface RoomRoomsStartGetResponseDataRoomCurrentStateDataTaskHintVideo extends JsonObject {
|
|
1166
|
+
"id": number;
|
|
1167
|
+
"type": string;
|
|
1168
|
+
}
|
|
1169
|
+
export interface RoomRoomsStartGetResponseDataRoomCurrentStateDataTask extends JsonObject {
|
|
1170
|
+
"id": string;
|
|
1171
|
+
"duration": number;
|
|
1172
|
+
"text"?: string | null;
|
|
1173
|
+
"hint_text"?: string | null;
|
|
1174
|
+
"image"?: string | null;
|
|
1175
|
+
"hint_image"?: string | null;
|
|
1176
|
+
"video"?: RoomRoomsStartGetResponseDataRoomCurrentStateDataTaskVideo | null;
|
|
1177
|
+
"hint_video"?: RoomRoomsStartGetResponseDataRoomCurrentStateDataTaskHintVideo | null;
|
|
1178
|
+
}
|
|
1179
|
+
export interface RoomRoomsStartGetResponseDataRoomCurrentStateDataInteractiveVideo extends JsonObject {
|
|
1180
|
+
"id": number;
|
|
1181
|
+
"type": string;
|
|
1182
|
+
}
|
|
1183
|
+
export interface RoomRoomsStartGetResponseDataRoomCurrentStateDataInteractive extends JsonObject {
|
|
1184
|
+
"id": string;
|
|
1185
|
+
"duration": number;
|
|
1186
|
+
"video"?: RoomRoomsStartGetResponseDataRoomCurrentStateDataInteractiveVideo | null;
|
|
1187
|
+
}
|
|
1188
|
+
export type RoomRoomsStartGetResponseDataRoomCurrentStateDataValidationType = "Equality" | "AssistantPrompt";
|
|
1189
|
+
export interface RoomRoomsStartGetResponseDataRoomCurrentStateDataValidation extends JsonObject {
|
|
1190
|
+
"type": RoomRoomsStartGetResponseDataRoomCurrentStateDataValidationType;
|
|
1191
|
+
"value": string;
|
|
1192
|
+
}
|
|
1193
|
+
export interface RoomRoomsStartGetResponseDataRoomCurrentStateDataRewards extends JsonObject {
|
|
1194
|
+
"on_complete": string;
|
|
1195
|
+
}
|
|
1196
|
+
export interface RoomRoomsStartGetResponseDataRoomCurrentStateData extends JsonObject {
|
|
1197
|
+
"game"?: RoomRoomsStartGetResponseDataRoomCurrentStateDataGame | null;
|
|
1198
|
+
"question"?: RoomRoomsStartGetResponseDataRoomCurrentStateDataQuestion | null;
|
|
1199
|
+
"task"?: RoomRoomsStartGetResponseDataRoomCurrentStateDataTask | null;
|
|
1200
|
+
"interactive"?: RoomRoomsStartGetResponseDataRoomCurrentStateDataInteractive | null;
|
|
1201
|
+
"validation"?: RoomRoomsStartGetResponseDataRoomCurrentStateDataValidation[] | null;
|
|
1202
|
+
"rewards"?: RoomRoomsStartGetResponseDataRoomCurrentStateDataRewards | null;
|
|
1203
|
+
"content_id"?: string | null;
|
|
1204
|
+
}
|
|
1205
|
+
export type RoomRoomsStartGetResponseDataRoomCurrentStateState = "NotOpen" | "Awaiting" | "Question" | "Game" | "Task" | "Ended" | "Closed" | "Replay" | "Live" | "Interactive" | "ChargeLow";
|
|
1206
|
+
export interface RoomRoomsStartGetResponseDataRoomCurrentState extends JsonObject {
|
|
1207
|
+
"id": string;
|
|
1208
|
+
"room_id": string;
|
|
1209
|
+
"duration_in_seconds": number;
|
|
1210
|
+
"client_responses": RoomRoomsStartGetResponseDataRoomCurrentStateClientResponses[];
|
|
1211
|
+
"data"?: RoomRoomsStartGetResponseDataRoomCurrentStateData | null;
|
|
1212
|
+
"state": RoomRoomsStartGetResponseDataRoomCurrentStateState;
|
|
1213
|
+
"started_at"?: string | null;
|
|
1214
|
+
"ended_at"?: string | null;
|
|
1215
|
+
"status": number;
|
|
1216
|
+
}
|
|
1217
|
+
export interface RoomRoomsStartGetResponseDataRoom extends JsonObject {
|
|
1218
|
+
"id": string;
|
|
1219
|
+
"name": string;
|
|
1220
|
+
"capacity": number;
|
|
1221
|
+
"starts_at"?: string | null;
|
|
1222
|
+
"ended_at"?: string | null;
|
|
1223
|
+
"clients": RoomRoomsStartGetResponseDataRoomClients[];
|
|
1224
|
+
"current_state"?: RoomRoomsStartGetResponseDataRoomCurrentState | null;
|
|
1225
|
+
"room_name": string;
|
|
1226
|
+
"room_channel": string;
|
|
1227
|
+
"server_time": string;
|
|
1228
|
+
"status": number;
|
|
1229
|
+
}
|
|
118
1230
|
export interface RoomRoomsStartGetResponseData extends JsonObject {
|
|
119
|
-
"room":
|
|
1231
|
+
"room": RoomRoomsStartGetResponseDataRoom;
|
|
120
1232
|
}
|
|
121
1233
|
export interface RoomRoomsStartGetResponse extends ApiEnvelope<RoomRoomsStartGetResponseData> {
|
|
122
1234
|
}
|
|
123
1235
|
/** Backend response type: RoomSingleResponse. */
|
|
1236
|
+
export interface RoomRoomsStopGetResponseDataRoomClients extends JsonObject {
|
|
1237
|
+
"id": string;
|
|
1238
|
+
"profile_id": string;
|
|
1239
|
+
"roles": string[];
|
|
1240
|
+
"name"?: string | null;
|
|
1241
|
+
"token"?: string | null;
|
|
1242
|
+
"status": number;
|
|
1243
|
+
}
|
|
1244
|
+
export interface RoomRoomsStopGetResponseDataRoomCurrentStateClientResponses extends JsonObject {
|
|
1245
|
+
"id": string;
|
|
1246
|
+
"client_id": string;
|
|
1247
|
+
"room_state_id": string;
|
|
1248
|
+
"validated"?: boolean | null;
|
|
1249
|
+
"created_at": string;
|
|
1250
|
+
"validated_at"?: string | null;
|
|
1251
|
+
}
|
|
1252
|
+
export interface RoomRoomsStopGetResponseDataRoomCurrentStateDataGameHintVideo extends JsonObject {
|
|
1253
|
+
"id": number;
|
|
1254
|
+
"type": string;
|
|
1255
|
+
}
|
|
1256
|
+
export interface RoomRoomsStopGetResponseDataRoomCurrentStateDataGame extends JsonObject {
|
|
1257
|
+
"id": string;
|
|
1258
|
+
"game_id": string;
|
|
1259
|
+
"duration": number;
|
|
1260
|
+
"hint_text"?: string | null;
|
|
1261
|
+
"hint_image"?: string | null;
|
|
1262
|
+
"hint_video"?: RoomRoomsStopGetResponseDataRoomCurrentStateDataGameHintVideo | null;
|
|
1263
|
+
}
|
|
1264
|
+
export interface RoomRoomsStopGetResponseDataRoomCurrentStateDataQuestionVideo extends JsonObject {
|
|
1265
|
+
"id": number;
|
|
1266
|
+
"type": string;
|
|
1267
|
+
}
|
|
1268
|
+
export interface RoomRoomsStopGetResponseDataRoomCurrentStateDataQuestionHintVideo extends JsonObject {
|
|
1269
|
+
"id": number;
|
|
1270
|
+
"type": string;
|
|
1271
|
+
}
|
|
1272
|
+
export interface RoomRoomsStopGetResponseDataRoomCurrentStateDataQuestionOptions extends JsonObject {
|
|
1273
|
+
"id": number;
|
|
1274
|
+
"answer": string;
|
|
1275
|
+
}
|
|
1276
|
+
export interface RoomRoomsStopGetResponseDataRoomCurrentStateDataQuestion extends JsonObject {
|
|
1277
|
+
"id": string;
|
|
1278
|
+
"duration": number;
|
|
1279
|
+
"text"?: string | null;
|
|
1280
|
+
"hint_text"?: string | null;
|
|
1281
|
+
"image"?: string | null;
|
|
1282
|
+
"hint_image"?: string | null;
|
|
1283
|
+
"video"?: RoomRoomsStopGetResponseDataRoomCurrentStateDataQuestionVideo | null;
|
|
1284
|
+
"hint_video"?: RoomRoomsStopGetResponseDataRoomCurrentStateDataQuestionHintVideo | null;
|
|
1285
|
+
"options"?: RoomRoomsStopGetResponseDataRoomCurrentStateDataQuestionOptions[] | null;
|
|
1286
|
+
}
|
|
1287
|
+
export interface RoomRoomsStopGetResponseDataRoomCurrentStateDataTaskVideo extends JsonObject {
|
|
1288
|
+
"id": number;
|
|
1289
|
+
"type": string;
|
|
1290
|
+
}
|
|
1291
|
+
export interface RoomRoomsStopGetResponseDataRoomCurrentStateDataTaskHintVideo extends JsonObject {
|
|
1292
|
+
"id": number;
|
|
1293
|
+
"type": string;
|
|
1294
|
+
}
|
|
1295
|
+
export interface RoomRoomsStopGetResponseDataRoomCurrentStateDataTask extends JsonObject {
|
|
1296
|
+
"id": string;
|
|
1297
|
+
"duration": number;
|
|
1298
|
+
"text"?: string | null;
|
|
1299
|
+
"hint_text"?: string | null;
|
|
1300
|
+
"image"?: string | null;
|
|
1301
|
+
"hint_image"?: string | null;
|
|
1302
|
+
"video"?: RoomRoomsStopGetResponseDataRoomCurrentStateDataTaskVideo | null;
|
|
1303
|
+
"hint_video"?: RoomRoomsStopGetResponseDataRoomCurrentStateDataTaskHintVideo | null;
|
|
1304
|
+
}
|
|
1305
|
+
export interface RoomRoomsStopGetResponseDataRoomCurrentStateDataInteractiveVideo extends JsonObject {
|
|
1306
|
+
"id": number;
|
|
1307
|
+
"type": string;
|
|
1308
|
+
}
|
|
1309
|
+
export interface RoomRoomsStopGetResponseDataRoomCurrentStateDataInteractive extends JsonObject {
|
|
1310
|
+
"id": string;
|
|
1311
|
+
"duration": number;
|
|
1312
|
+
"video"?: RoomRoomsStopGetResponseDataRoomCurrentStateDataInteractiveVideo | null;
|
|
1313
|
+
}
|
|
1314
|
+
export type RoomRoomsStopGetResponseDataRoomCurrentStateDataValidationType = "Equality" | "AssistantPrompt";
|
|
1315
|
+
export interface RoomRoomsStopGetResponseDataRoomCurrentStateDataValidation extends JsonObject {
|
|
1316
|
+
"type": RoomRoomsStopGetResponseDataRoomCurrentStateDataValidationType;
|
|
1317
|
+
"value": string;
|
|
1318
|
+
}
|
|
1319
|
+
export interface RoomRoomsStopGetResponseDataRoomCurrentStateDataRewards extends JsonObject {
|
|
1320
|
+
"on_complete": string;
|
|
1321
|
+
}
|
|
1322
|
+
export interface RoomRoomsStopGetResponseDataRoomCurrentStateData extends JsonObject {
|
|
1323
|
+
"game"?: RoomRoomsStopGetResponseDataRoomCurrentStateDataGame | null;
|
|
1324
|
+
"question"?: RoomRoomsStopGetResponseDataRoomCurrentStateDataQuestion | null;
|
|
1325
|
+
"task"?: RoomRoomsStopGetResponseDataRoomCurrentStateDataTask | null;
|
|
1326
|
+
"interactive"?: RoomRoomsStopGetResponseDataRoomCurrentStateDataInteractive | null;
|
|
1327
|
+
"validation"?: RoomRoomsStopGetResponseDataRoomCurrentStateDataValidation[] | null;
|
|
1328
|
+
"rewards"?: RoomRoomsStopGetResponseDataRoomCurrentStateDataRewards | null;
|
|
1329
|
+
"content_id"?: string | null;
|
|
1330
|
+
}
|
|
1331
|
+
export type RoomRoomsStopGetResponseDataRoomCurrentStateState = "NotOpen" | "Awaiting" | "Question" | "Game" | "Task" | "Ended" | "Closed" | "Replay" | "Live" | "Interactive" | "ChargeLow";
|
|
1332
|
+
export interface RoomRoomsStopGetResponseDataRoomCurrentState extends JsonObject {
|
|
1333
|
+
"id": string;
|
|
1334
|
+
"room_id": string;
|
|
1335
|
+
"duration_in_seconds": number;
|
|
1336
|
+
"client_responses": RoomRoomsStopGetResponseDataRoomCurrentStateClientResponses[];
|
|
1337
|
+
"data"?: RoomRoomsStopGetResponseDataRoomCurrentStateData | null;
|
|
1338
|
+
"state": RoomRoomsStopGetResponseDataRoomCurrentStateState;
|
|
1339
|
+
"started_at"?: string | null;
|
|
1340
|
+
"ended_at"?: string | null;
|
|
1341
|
+
"status": number;
|
|
1342
|
+
}
|
|
1343
|
+
export interface RoomRoomsStopGetResponseDataRoom extends JsonObject {
|
|
1344
|
+
"id": string;
|
|
1345
|
+
"name": string;
|
|
1346
|
+
"capacity": number;
|
|
1347
|
+
"starts_at"?: string | null;
|
|
1348
|
+
"ended_at"?: string | null;
|
|
1349
|
+
"clients": RoomRoomsStopGetResponseDataRoomClients[];
|
|
1350
|
+
"current_state"?: RoomRoomsStopGetResponseDataRoomCurrentState | null;
|
|
1351
|
+
"room_name": string;
|
|
1352
|
+
"room_channel": string;
|
|
1353
|
+
"server_time": string;
|
|
1354
|
+
"status": number;
|
|
1355
|
+
}
|
|
124
1356
|
export interface RoomRoomsStopGetResponseData extends JsonObject {
|
|
125
|
-
"room":
|
|
1357
|
+
"room": RoomRoomsStopGetResponseDataRoom;
|
|
126
1358
|
}
|
|
127
1359
|
export interface RoomRoomsStopGetResponse extends ApiEnvelope<RoomRoomsStopGetResponseData> {
|
|
128
1360
|
}
|
|
@@ -135,7 +1367,7 @@ export interface RoomRoomsAnalyticsGetResponseData extends JsonObject {
|
|
|
135
1367
|
}
|
|
136
1368
|
export interface RoomRoomsAnalyticsGetResponse extends ApiEnvelope<RoomRoomsAnalyticsGetResponseData> {
|
|
137
1369
|
}
|
|
138
|
-
/** Backend response type: response
|
|
1370
|
+
/** Backend response type: handler-defined response. */
|
|
139
1371
|
export interface RoomLivekitWebhookPostResponse extends ApiEnvelope<JsonValue> {
|
|
140
1372
|
}
|
|
141
1373
|
//# sourceMappingURL=operations.types.d.ts.map
|