@faiber/faiber-session 0.5.0 → 0.5.2

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,10 +1,10 @@
1
- import type { ApiEnvelope, JsonObject, JsonValue, QueryParams } from "@faiber/sdk-core";
1
+ import type { ApiEnvelope, BackendJson, 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: handler-defined response. */
3
+ /** Backend response type: api. */
4
4
  export interface RouterStatusRouteGetResponse extends ApiEnvelope<JsonValue> {
5
5
  }
6
6
  /** Backend response type: infera_flow_sdk::FlowIntegrationResponse. */
7
- export interface IntegrationFlowIntegrationShowGetResponse extends ApiEnvelope<JsonValue> {
7
+ export interface IntegrationFlowIntegrationShowGetResponse extends ApiEnvelope<BackendJson<"infera_flow_sdk::FlowIntegrationResponse">> {
8
8
  }
9
9
  /** Backend request type: RoomStateRespond. */
10
10
  export interface RoomStateRoomStateRespondPostInput extends JsonObject {
@@ -24,941 +24,83 @@ export interface RoomRoomsIndexGetQuery extends QueryParams {
24
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
- }
36
27
  export interface RoomRoomsIndexGetResponseData extends JsonObject {
37
- "rooms": RoomRoomsIndexGetResponseDataRooms[];
28
+ "rooms": BackendJson<"RoomResponse">[];
38
29
  }
39
30
  export interface RoomRoomsIndexGetResponse extends ApiEnvelope<RoomRoomsIndexGetResponseData> {
40
31
  }
41
32
  /** 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
- }
127
33
  export interface RoomRoomsCreatePostInput extends JsonObject {
128
34
  "name": string;
129
35
  "capacity": number;
130
36
  "session_id"?: string | null;
131
37
  "users"?: string[] | null;
132
- "states"?: RoomRoomsCreatePostInputStates[] | null;
38
+ "states"?: BackendJson<"RoomStateCommand">[] | null;
133
39
  "status"?: number | null;
134
40
  "starts_at": string;
135
41
  }
136
42
  /** 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
- }
257
43
  export interface RoomRoomsCreatePostResponseData extends JsonObject {
258
- "room": RoomRoomsCreatePostResponseDataRoom;
44
+ "room": BackendJson<"RoomDetailResponse">;
259
45
  }
260
46
  export interface RoomRoomsCreatePostResponse extends ApiEnvelope<RoomRoomsCreatePostResponseData> {
261
47
  }
262
48
  /** 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
- }
383
49
  export interface RoomRoomsDeleteDeleteResponseData extends JsonObject {
384
- "room": RoomRoomsDeleteDeleteResponseDataRoom;
50
+ "room": BackendJson<"RoomDetailResponse">;
385
51
  }
386
52
  export interface RoomRoomsDeleteDeleteResponse extends ApiEnvelope<RoomRoomsDeleteDeleteResponseData> {
387
53
  }
388
54
  /** 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
- }
509
55
  export interface RoomRoomsShowGetResponseData extends JsonObject {
510
- "room": RoomRoomsShowGetResponseDataRoom;
56
+ "room": BackendJson<"RoomDetailResponse">;
511
57
  }
512
58
  export interface RoomRoomsShowGetResponse extends ApiEnvelope<RoomRoomsShowGetResponseData> {
513
59
  }
514
60
  /** 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
- }
600
61
  export interface RoomRoomsUpdatePatchInput extends JsonObject {
601
62
  "name"?: string | null;
602
63
  "capacity"?: number | null;
603
64
  "session_id"?: string | null;
604
65
  "users"?: string[] | null;
605
- "states"?: RoomRoomsUpdatePatchInputStates[] | null;
66
+ "states"?: BackendJson<"RoomStateCommand">[] | null;
606
67
  "status"?: number | null;
607
68
  "starts_at"?: string | null;
608
69
  }
609
70
  /** 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
- }
730
71
  export interface RoomRoomsUpdatePatchResponseData extends JsonObject {
731
- "room": RoomRoomsUpdatePatchResponseDataRoom;
72
+ "room": BackendJson<"RoomDetailResponse">;
732
73
  }
733
74
  export interface RoomRoomsUpdatePatchResponse extends ApiEnvelope<RoomRoomsUpdatePatchResponseData> {
734
75
  }
735
76
  /** 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
- }
821
77
  export interface RoomRoomsUpdatePutInput extends JsonObject {
822
78
  "name"?: string | null;
823
79
  "capacity"?: number | null;
824
80
  "session_id"?: string | null;
825
81
  "users"?: string[] | null;
826
- "states"?: RoomRoomsUpdatePutInputStates[] | null;
82
+ "states"?: BackendJson<"RoomStateCommand">[] | null;
827
83
  "status"?: number | null;
828
84
  "starts_at"?: string | null;
829
85
  }
830
86
  /** 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
- }
951
87
  export interface RoomRoomsUpdatePutResponseData extends JsonObject {
952
- "room": RoomRoomsUpdatePutResponseDataRoom;
88
+ "room": BackendJson<"RoomDetailResponse">;
953
89
  }
954
90
  export interface RoomRoomsUpdatePutResponse extends ApiEnvelope<RoomRoomsUpdatePutResponseData> {
955
91
  }
956
- /** Backend response type: handler-defined response. */
957
- export interface RoomRoomsEndGetResponse extends ApiEnvelope<JsonValue> {
92
+ /** Backend response type: APIEmptyResponse. */
93
+ export interface RoomRoomsEndGetResponseData extends JsonObject {
94
+ "status": string;
95
+ "message": string;
958
96
  }
959
- /** Backend response type: handler-defined response. */
960
- export interface RoomRoomsInteractiveStartPostResponse extends ApiEnvelope<JsonValue> {
97
+ export type RoomRoomsEndGetResponse = RoomRoomsEndGetResponseData;
98
+ /** Backend response type: APIEmptyResponse. */
99
+ export interface RoomRoomsInteractiveStartPostResponseData extends JsonObject {
100
+ "status": string;
101
+ "message": string;
961
102
  }
103
+ export type RoomRoomsInteractiveStartPostResponse = RoomRoomsInteractiveStartPostResponseData;
962
104
  /** Backend response type: LiveKitTokenResponse. */
963
105
  export interface RoomRoomsLivekitTokenGetResponseData extends JsonObject {
964
106
  "token": string;
@@ -967,394 +109,26 @@ export interface RoomRoomsLivekitTokenGetResponseData extends JsonObject {
967
109
  export interface RoomRoomsLivekitTokenGetResponse extends ApiEnvelope<RoomRoomsLivekitTokenGetResponseData> {
968
110
  }
969
111
  /** 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
- }
1090
112
  export interface RoomRoomsPlaybackShowGetResponseData extends JsonObject {
1091
- "room": RoomRoomsPlaybackShowGetResponseDataRoom;
113
+ "room": BackendJson<"RoomDetailFullResponse">;
1092
114
  }
1093
115
  export interface RoomRoomsPlaybackShowGetResponse extends ApiEnvelope<RoomRoomsPlaybackShowGetResponseData> {
1094
116
  }
1095
117
  /** 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
- }
1104
118
  export interface RoomRoomsRecordingsGetResponseData extends JsonObject {
1105
- "recordings": RoomRoomsRecordingsGetResponseDataRecordings[];
119
+ "recordings": BackendJson<"RoomRecording">[];
1106
120
  }
1107
121
  export interface RoomRoomsRecordingsGetResponse extends ApiEnvelope<RoomRoomsRecordingsGetResponseData> {
1108
122
  }
1109
123
  /** 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
- }
1230
124
  export interface RoomRoomsStartGetResponseData extends JsonObject {
1231
- "room": RoomRoomsStartGetResponseDataRoom;
125
+ "room": BackendJson<"RoomDetailResponse">;
1232
126
  }
1233
127
  export interface RoomRoomsStartGetResponse extends ApiEnvelope<RoomRoomsStartGetResponseData> {
1234
128
  }
1235
129
  /** 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
- }
1356
130
  export interface RoomRoomsStopGetResponseData extends JsonObject {
1357
- "room": RoomRoomsStopGetResponseDataRoom;
131
+ "room": BackendJson<"RoomDetailResponse">;
1358
132
  }
1359
133
  export interface RoomRoomsStopGetResponse extends ApiEnvelope<RoomRoomsStopGetResponseData> {
1360
134
  }
@@ -1367,7 +141,10 @@ export interface RoomRoomsAnalyticsGetResponseData extends JsonObject {
1367
141
  }
1368
142
  export interface RoomRoomsAnalyticsGetResponse extends ApiEnvelope<RoomRoomsAnalyticsGetResponseData> {
1369
143
  }
1370
- /** Backend response type: handler-defined response. */
1371
- export interface RoomLivekitWebhookPostResponse extends ApiEnvelope<JsonValue> {
144
+ /** Backend response type: APIEmptyResponse. */
145
+ export interface RoomLivekitWebhookPostResponseData extends JsonObject {
146
+ "status": string;
147
+ "message": string;
1372
148
  }
149
+ export type RoomLivekitWebhookPostResponse = RoomLivekitWebhookPostResponseData;
1373
150
  //# sourceMappingURL=operations.types.d.ts.map