@stream-io/node-sdk 0.1.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.
Files changed (101) hide show
  1. package/.readme-assets/Github-Graphic-JS.jpg +0 -0
  2. package/LICENSE +219 -0
  3. package/README.md +29 -0
  4. package/dist/__tests__/block-lists.test.d.ts +1 -0
  5. package/dist/__tests__/call-members.test.d.ts +1 -0
  6. package/dist/__tests__/call-types.test.d.ts +1 -0
  7. package/dist/__tests__/call.test.d.ts +1 -0
  8. package/dist/__tests__/channel-types.test.d.ts +1 -0
  9. package/dist/__tests__/channel.test.d.ts +1 -0
  10. package/dist/__tests__/command.test.d.ts +1 -0
  11. package/dist/__tests__/create-token.test.d.ts +1 -0
  12. package/dist/__tests__/devices-push.test.d.ts +1 -0
  13. package/dist/__tests__/messages.test.d.ts +1 -0
  14. package/dist/__tests__/permissions-app-settings.test.d.ts +1 -0
  15. package/dist/__tests__/user-compat.test.d.ts +1 -0
  16. package/dist/__tests__/users.test.d.ts +1 -0
  17. package/dist/index.cjs.js +8789 -0
  18. package/dist/index.cjs.js.map +1 -0
  19. package/dist/index.d.ts +7 -0
  20. package/dist/index.es.js +8708 -0
  21. package/dist/index.es.js.map +1 -0
  22. package/dist/src/StreamCall.d.ts +37 -0
  23. package/dist/src/StreamChannel.d.ts +39 -0
  24. package/dist/src/StreamChatClient.d.ts +31 -0
  25. package/dist/src/StreamClient.d.ts +68 -0
  26. package/dist/src/StreamVideoClient.d.ts +16 -0
  27. package/dist/src/gen/chat/apis/ChannelTypesApi.d.ts +81 -0
  28. package/dist/src/gen/chat/apis/ChannelsApi.d.ts +308 -0
  29. package/dist/src/gen/chat/apis/CustomCommandsApi.d.ts +81 -0
  30. package/dist/src/gen/chat/apis/DefaultApi.d.ts +60 -0
  31. package/dist/src/gen/chat/apis/DevicesApi.d.ts +58 -0
  32. package/dist/src/gen/chat/apis/EventsApi.d.ts +64 -0
  33. package/dist/src/gen/chat/apis/FilesApi.d.ts +81 -0
  34. package/dist/src/gen/chat/apis/GDPRApi.d.ts +114 -0
  35. package/dist/src/gen/chat/apis/ImportsApi.d.ts +67 -0
  36. package/dist/src/gen/chat/apis/MessagesApi.d.ts +370 -0
  37. package/dist/src/gen/chat/apis/ModerationApi.d.ts +271 -0
  38. package/dist/src/gen/chat/apis/PermissionsV2Api.d.ts +77 -0
  39. package/dist/src/gen/chat/apis/PushApi.d.ts +65 -0
  40. package/dist/src/gen/chat/apis/ReactionsApi.d.ts +62 -0
  41. package/dist/src/gen/chat/apis/ServerSideApi.d.ts +31 -0
  42. package/dist/src/gen/chat/apis/SettingsApi.d.ts +257 -0
  43. package/dist/src/gen/chat/apis/TasksApi.d.ts +31 -0
  44. package/dist/src/gen/chat/apis/TestingApi.d.ts +57 -0
  45. package/dist/src/gen/chat/apis/UsersApi.d.ts +313 -0
  46. package/dist/src/gen/chat/apis/index.d.ts +19 -0
  47. package/dist/src/gen/chat/index.d.ts +3 -0
  48. package/dist/src/gen/chat/models/index.d.ts +15624 -0
  49. package/dist/src/gen/chat/runtime.d.ts +180 -0
  50. package/dist/src/gen/video/apis/DefaultApi.d.ts +505 -0
  51. package/dist/src/gen/video/apis/ServerSideApi.d.ts +81 -0
  52. package/dist/src/gen/video/apis/index.d.ts +2 -0
  53. package/dist/src/gen/video/index.d.ts +3 -0
  54. package/dist/src/gen/video/models/index.d.ts +4733 -0
  55. package/dist/src/gen/video/runtime.d.ts +180 -0
  56. package/dist/src/types.d.ts +1 -0
  57. package/dist/src/utils/create-token.d.ts +3 -0
  58. package/index.ts +7 -0
  59. package/package.json +47 -0
  60. package/src/StreamCall.ts +161 -0
  61. package/src/StreamChannel.ts +165 -0
  62. package/src/StreamChatClient.ts +102 -0
  63. package/src/StreamClient.ts +440 -0
  64. package/src/StreamVideoClient.ts +63 -0
  65. package/src/gen/chat/.openapi-generator/FILES +24 -0
  66. package/src/gen/chat/.openapi-generator/VERSION +1 -0
  67. package/src/gen/chat/.openapi-generator-ignore +23 -0
  68. package/src/gen/chat/apis/ChannelTypesApi.ts +275 -0
  69. package/src/gen/chat/apis/ChannelsApi.ts +1221 -0
  70. package/src/gen/chat/apis/CustomCommandsApi.ts +276 -0
  71. package/src/gen/chat/apis/DefaultApi.ts +196 -0
  72. package/src/gen/chat/apis/DevicesApi.ts +180 -0
  73. package/src/gen/chat/apis/EventsApi.ts +220 -0
  74. package/src/gen/chat/apis/FilesApi.ts +312 -0
  75. package/src/gen/chat/apis/GDPRApi.ts +418 -0
  76. package/src/gen/chat/apis/ImportsApi.ts +222 -0
  77. package/src/gen/chat/apis/MessagesApi.ts +1475 -0
  78. package/src/gen/chat/apis/ModerationApi.ts +1038 -0
  79. package/src/gen/chat/apis/PermissionsV2Api.ts +259 -0
  80. package/src/gen/chat/apis/PushApi.ts +183 -0
  81. package/src/gen/chat/apis/ReactionsApi.ts +202 -0
  82. package/src/gen/chat/apis/ServerSideApi.ts +79 -0
  83. package/src/gen/chat/apis/SettingsApi.ts +948 -0
  84. package/src/gen/chat/apis/TasksApi.ts +75 -0
  85. package/src/gen/chat/apis/TestingApi.ts +185 -0
  86. package/src/gen/chat/apis/UsersApi.ts +1203 -0
  87. package/src/gen/chat/apis/index.ts +30 -0
  88. package/src/gen/chat/index.ts +5 -0
  89. package/src/gen/chat/models/index.ts +15541 -0
  90. package/src/gen/chat/runtime.ts +415 -0
  91. package/src/gen/video/.openapi-generator/FILES +7 -0
  92. package/src/gen/video/.openapi-generator/VERSION +1 -0
  93. package/src/gen/video/.openapi-generator-ignore +23 -0
  94. package/src/gen/video/apis/DefaultApi.ts +1997 -0
  95. package/src/gen/video/apis/ServerSideApi.ts +276 -0
  96. package/src/gen/video/apis/index.ts +4 -0
  97. package/src/gen/video/index.ts +5 -0
  98. package/src/gen/video/models/index.ts +4642 -0
  99. package/src/gen/video/runtime.ts +415 -0
  100. package/src/types.ts +1 -0
  101. package/src/utils/create-token.ts +49 -0
@@ -0,0 +1,4642 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ *
5
+ * @export
6
+ * @interface VideoAPIError
7
+ */
8
+ export interface VideoAPIError {
9
+ /**
10
+ * Response HTTP status code
11
+ * @type {number}
12
+ * @memberof VideoAPIError
13
+ */
14
+ StatusCode: number;
15
+ /**
16
+ * API error code
17
+ * @type {number}
18
+ * @memberof VideoAPIError
19
+ */
20
+ code: number;
21
+ /**
22
+ * Additional error-specific information
23
+ * @type {Array<number>}
24
+ * @memberof VideoAPIError
25
+ */
26
+ details: Array<number>;
27
+ /**
28
+ * Request duration
29
+ * @type {string}
30
+ * @memberof VideoAPIError
31
+ */
32
+ duration: string;
33
+ /**
34
+ * Additional error info
35
+ * @type {{ [key: string]: string; }}
36
+ * @memberof VideoAPIError
37
+ */
38
+ exception_fields?: { [key: string]: string; };
39
+ /**
40
+ * Message describing an error
41
+ * @type {string}
42
+ * @memberof VideoAPIError
43
+ */
44
+ message: string;
45
+ /**
46
+ * URL with additional information
47
+ * @type {string}
48
+ * @memberof VideoAPIError
49
+ */
50
+ more_info: string;
51
+ }
52
+ /**
53
+ *
54
+ * @export
55
+ * @interface VideoAPNS
56
+ */
57
+ export interface VideoAPNS {
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof VideoAPNS
62
+ */
63
+ body: string;
64
+ /**
65
+ *
66
+ * @type {string}
67
+ * @memberof VideoAPNS
68
+ */
69
+ title: string;
70
+ }
71
+ /**
72
+ *
73
+ * @export
74
+ * @interface VideoAPNSRequest
75
+ */
76
+ export interface VideoAPNSRequest {
77
+ /**
78
+ *
79
+ * @type {string}
80
+ * @memberof VideoAPNSRequest
81
+ */
82
+ body?: string;
83
+ /**
84
+ *
85
+ * @type {string}
86
+ * @memberof VideoAPNSRequest
87
+ */
88
+ title?: string;
89
+ }
90
+ /**
91
+ *
92
+ * @export
93
+ * @interface VideoAcceptCallResponse
94
+ */
95
+ export interface VideoAcceptCallResponse {
96
+ /**
97
+ *
98
+ * @type {string}
99
+ * @memberof VideoAcceptCallResponse
100
+ */
101
+ duration: string;
102
+ }
103
+ /**
104
+ *
105
+ * @export
106
+ * @interface VideoAudioSettings
107
+ */
108
+ export interface VideoAudioSettings {
109
+ /**
110
+ *
111
+ * @type {boolean}
112
+ * @memberof VideoAudioSettings
113
+ */
114
+ access_request_enabled: boolean;
115
+ /**
116
+ *
117
+ * @type {string}
118
+ * @memberof VideoAudioSettings
119
+ */
120
+ default_device: VideoAudioSettingsDefaultDeviceEnum;
121
+ /**
122
+ *
123
+ * @type {boolean}
124
+ * @memberof VideoAudioSettings
125
+ */
126
+ mic_default_on: boolean;
127
+ /**
128
+ *
129
+ * @type {boolean}
130
+ * @memberof VideoAudioSettings
131
+ */
132
+ opus_dtx_enabled: boolean;
133
+ /**
134
+ *
135
+ * @type {boolean}
136
+ * @memberof VideoAudioSettings
137
+ */
138
+ redundant_coding_enabled: boolean;
139
+ /**
140
+ *
141
+ * @type {boolean}
142
+ * @memberof VideoAudioSettings
143
+ */
144
+ speaker_default_on: boolean;
145
+ }
146
+
147
+
148
+ /**
149
+ * @export
150
+ */
151
+ export const VideoAudioSettingsDefaultDeviceEnum = {
152
+ SPEAKER: 'speaker',
153
+ EARPIECE: 'earpiece'
154
+ } as const;
155
+ export type VideoAudioSettingsDefaultDeviceEnum = typeof VideoAudioSettingsDefaultDeviceEnum[keyof typeof VideoAudioSettingsDefaultDeviceEnum];
156
+
157
+ /**
158
+ *
159
+ * @export
160
+ * @interface VideoAudioSettingsRequest
161
+ */
162
+ export interface VideoAudioSettingsRequest {
163
+ /**
164
+ *
165
+ * @type {boolean}
166
+ * @memberof VideoAudioSettingsRequest
167
+ */
168
+ access_request_enabled?: boolean;
169
+ /**
170
+ *
171
+ * @type {string}
172
+ * @memberof VideoAudioSettingsRequest
173
+ */
174
+ default_device: VideoAudioSettingsRequestDefaultDeviceEnum;
175
+ /**
176
+ *
177
+ * @type {boolean}
178
+ * @memberof VideoAudioSettingsRequest
179
+ */
180
+ mic_default_on?: boolean;
181
+ /**
182
+ *
183
+ * @type {boolean}
184
+ * @memberof VideoAudioSettingsRequest
185
+ */
186
+ opus_dtx_enabled?: boolean;
187
+ /**
188
+ *
189
+ * @type {boolean}
190
+ * @memberof VideoAudioSettingsRequest
191
+ */
192
+ redundant_coding_enabled?: boolean;
193
+ /**
194
+ *
195
+ * @type {boolean}
196
+ * @memberof VideoAudioSettingsRequest
197
+ */
198
+ speaker_default_on?: boolean;
199
+ }
200
+
201
+
202
+ /**
203
+ * @export
204
+ */
205
+ export const VideoAudioSettingsRequestDefaultDeviceEnum = {
206
+ SPEAKER: 'speaker',
207
+ EARPIECE: 'earpiece'
208
+ } as const;
209
+ export type VideoAudioSettingsRequestDefaultDeviceEnum = typeof VideoAudioSettingsRequestDefaultDeviceEnum[keyof typeof VideoAudioSettingsRequestDefaultDeviceEnum];
210
+
211
+ /**
212
+ *
213
+ * @export
214
+ * @interface VideoBackstageSettings
215
+ */
216
+ export interface VideoBackstageSettings {
217
+ /**
218
+ *
219
+ * @type {boolean}
220
+ * @memberof VideoBackstageSettings
221
+ */
222
+ enabled: boolean;
223
+ }
224
+ /**
225
+ *
226
+ * @export
227
+ * @interface VideoBackstageSettingsRequest
228
+ */
229
+ export interface VideoBackstageSettingsRequest {
230
+ /**
231
+ *
232
+ * @type {boolean}
233
+ * @memberof VideoBackstageSettingsRequest
234
+ */
235
+ enabled?: boolean;
236
+ }
237
+ /**
238
+ *
239
+ * @export
240
+ * @interface VideoBlockUserRequest
241
+ */
242
+ export interface VideoBlockUserRequest {
243
+ /**
244
+ * the user to block
245
+ * @type {string}
246
+ * @memberof VideoBlockUserRequest
247
+ */
248
+ user_id: string;
249
+ }
250
+ /**
251
+ *
252
+ * @export
253
+ * @interface VideoBlockUserResponse
254
+ */
255
+ export interface VideoBlockUserResponse {
256
+ /**
257
+ * Duration of the request in human-readable format
258
+ * @type {string}
259
+ * @memberof VideoBlockUserResponse
260
+ */
261
+ duration: string;
262
+ }
263
+ /**
264
+ * This event is sent to call participants to notify when a user is blocked on a call, clients can use this event to show a notification.
265
+ * If the user is the current user, the client should leave the call screen as well
266
+ * @export
267
+ * @interface VideoBlockedUserEvent
268
+ */
269
+ export interface VideoBlockedUserEvent {
270
+ /**
271
+ *
272
+ * @type {VideoUserResponse}
273
+ * @memberof VideoBlockedUserEvent
274
+ */
275
+ blocked_by_user?: VideoUserResponse;
276
+ /**
277
+ *
278
+ * @type {string}
279
+ * @memberof VideoBlockedUserEvent
280
+ */
281
+ call_cid: string;
282
+ /**
283
+ *
284
+ * @type {string}
285
+ * @memberof VideoBlockedUserEvent
286
+ */
287
+ created_at: string;
288
+ /**
289
+ * The type of event: "call.blocked_user" in this case
290
+ * @type {string}
291
+ * @memberof VideoBlockedUserEvent
292
+ */
293
+ type: string;
294
+ /**
295
+ *
296
+ * @type {VideoUserResponse}
297
+ * @memberof VideoBlockedUserEvent
298
+ */
299
+ user: VideoUserResponse;
300
+ }
301
+ /**
302
+ *
303
+ * @export
304
+ * @interface VideoBroadcastSettingsRequest
305
+ */
306
+ export interface VideoBroadcastSettingsRequest {
307
+ /**
308
+ *
309
+ * @type {boolean}
310
+ * @memberof VideoBroadcastSettingsRequest
311
+ */
312
+ enabled?: boolean;
313
+ /**
314
+ *
315
+ * @type {VideoHLSSettingsRequest}
316
+ * @memberof VideoBroadcastSettingsRequest
317
+ */
318
+ hls?: VideoHLSSettingsRequest;
319
+ }
320
+ /**
321
+ *
322
+ * @export
323
+ * @interface VideoBroadcastSettingsResponse
324
+ */
325
+ export interface VideoBroadcastSettingsResponse {
326
+ /**
327
+ *
328
+ * @type {boolean}
329
+ * @memberof VideoBroadcastSettingsResponse
330
+ */
331
+ enabled: boolean;
332
+ /**
333
+ *
334
+ * @type {VideoHLSSettingsResponse}
335
+ * @memberof VideoBroadcastSettingsResponse
336
+ */
337
+ hls: VideoHLSSettingsResponse;
338
+ }
339
+ /**
340
+ * This event is sent when a user accepts a notification to join a call.
341
+ * @export
342
+ * @interface VideoCallAcceptedEvent
343
+ */
344
+ export interface VideoCallAcceptedEvent {
345
+ /**
346
+ *
347
+ * @type {VideoCallResponse}
348
+ * @memberof VideoCallAcceptedEvent
349
+ */
350
+ call: VideoCallResponse;
351
+ /**
352
+ *
353
+ * @type {string}
354
+ * @memberof VideoCallAcceptedEvent
355
+ */
356
+ call_cid: string;
357
+ /**
358
+ *
359
+ * @type {string}
360
+ * @memberof VideoCallAcceptedEvent
361
+ */
362
+ created_at: string;
363
+ /**
364
+ * The type of event: "call.accepted" in this case
365
+ * @type {string}
366
+ * @memberof VideoCallAcceptedEvent
367
+ */
368
+ type: string;
369
+ /**
370
+ *
371
+ * @type {VideoUserResponse}
372
+ * @memberof VideoCallAcceptedEvent
373
+ */
374
+ user: VideoUserResponse;
375
+ }
376
+ /**
377
+ * This event is sent when a call is created. Clients receiving this event should check if the ringing
378
+ * field is set to true and if so, show the call screen
379
+ * @export
380
+ * @interface VideoCallCreatedEvent
381
+ */
382
+ export interface VideoCallCreatedEvent {
383
+ /**
384
+ *
385
+ * @type {VideoCallResponse}
386
+ * @memberof VideoCallCreatedEvent
387
+ */
388
+ call: VideoCallResponse;
389
+ /**
390
+ *
391
+ * @type {string}
392
+ * @memberof VideoCallCreatedEvent
393
+ */
394
+ call_cid: string;
395
+ /**
396
+ *
397
+ * @type {string}
398
+ * @memberof VideoCallCreatedEvent
399
+ */
400
+ created_at: string;
401
+ /**
402
+ * the members added to this call
403
+ * @type {Array<VideoMemberResponse>}
404
+ * @memberof VideoCallCreatedEvent
405
+ */
406
+ members: Array<VideoMemberResponse>;
407
+ /**
408
+ * The type of event: "call.created" in this case
409
+ * @type {string}
410
+ * @memberof VideoCallCreatedEvent
411
+ */
412
+ type: string;
413
+ }
414
+ /**
415
+ * This event is sent when a call is mark as ended for all its participants. Clients receiving this event should leave the call screen
416
+ * @export
417
+ * @interface VideoCallEndedEvent
418
+ */
419
+ export interface VideoCallEndedEvent {
420
+ /**
421
+ *
422
+ * @type {VideoCallResponse}
423
+ * @memberof VideoCallEndedEvent
424
+ */
425
+ call: VideoCallResponse;
426
+ /**
427
+ *
428
+ * @type {string}
429
+ * @memberof VideoCallEndedEvent
430
+ */
431
+ call_cid: string;
432
+ /**
433
+ *
434
+ * @type {string}
435
+ * @memberof VideoCallEndedEvent
436
+ */
437
+ created_at: string;
438
+ /**
439
+ * The type of event: "call.ended" in this case
440
+ * @type {string}
441
+ * @memberof VideoCallEndedEvent
442
+ */
443
+ type: string;
444
+ /**
445
+ *
446
+ * @type {VideoUserResponse}
447
+ * @memberof VideoCallEndedEvent
448
+ */
449
+ user?: VideoUserResponse;
450
+ }
451
+ /**
452
+ * This event is sent when HLS broadcasting has failed
453
+ * @export
454
+ * @interface VideoCallHLSBroadcastingFailedEvent
455
+ */
456
+ export interface VideoCallHLSBroadcastingFailedEvent {
457
+ /**
458
+ *
459
+ * @type {string}
460
+ * @memberof VideoCallHLSBroadcastingFailedEvent
461
+ */
462
+ call_cid: string;
463
+ /**
464
+ *
465
+ * @type {string}
466
+ * @memberof VideoCallHLSBroadcastingFailedEvent
467
+ */
468
+ created_at: string;
469
+ /**
470
+ * The type of event: "call.hls_broadcasting_failed" in this case
471
+ * @type {string}
472
+ * @memberof VideoCallHLSBroadcastingFailedEvent
473
+ */
474
+ type: string;
475
+ }
476
+ /**
477
+ * This event is sent when HLS broadcasting has started
478
+ * @export
479
+ * @interface VideoCallHLSBroadcastingStartedEvent
480
+ */
481
+ export interface VideoCallHLSBroadcastingStartedEvent {
482
+ /**
483
+ *
484
+ * @type {string}
485
+ * @memberof VideoCallHLSBroadcastingStartedEvent
486
+ */
487
+ call_cid: string;
488
+ /**
489
+ *
490
+ * @type {string}
491
+ * @memberof VideoCallHLSBroadcastingStartedEvent
492
+ */
493
+ created_at: string;
494
+ /**
495
+ *
496
+ * @type {string}
497
+ * @memberof VideoCallHLSBroadcastingStartedEvent
498
+ */
499
+ hls_playlist_url: string;
500
+ /**
501
+ * The type of event: "call.hls_broadcasting_started" in this case
502
+ * @type {string}
503
+ * @memberof VideoCallHLSBroadcastingStartedEvent
504
+ */
505
+ type: string;
506
+ }
507
+ /**
508
+ * This event is sent when HLS broadcasting has stopped
509
+ * @export
510
+ * @interface VideoCallHLSBroadcastingStoppedEvent
511
+ */
512
+ export interface VideoCallHLSBroadcastingStoppedEvent {
513
+ /**
514
+ *
515
+ * @type {string}
516
+ * @memberof VideoCallHLSBroadcastingStoppedEvent
517
+ */
518
+ call_cid: string;
519
+ /**
520
+ *
521
+ * @type {string}
522
+ * @memberof VideoCallHLSBroadcastingStoppedEvent
523
+ */
524
+ created_at: string;
525
+ /**
526
+ * The type of event: "call.hls_broadcasting_stopped" in this case
527
+ * @type {string}
528
+ * @memberof VideoCallHLSBroadcastingStoppedEvent
529
+ */
530
+ type: string;
531
+ }
532
+ /**
533
+ *
534
+ * @export
535
+ * @interface VideoCallIngressResponse
536
+ */
537
+ export interface VideoCallIngressResponse {
538
+ /**
539
+ *
540
+ * @type {VideoRTMPIngress}
541
+ * @memberof VideoCallIngressResponse
542
+ */
543
+ rtmp: VideoRTMPIngress;
544
+ }
545
+ /**
546
+ * This event is sent when a call is started. Clients receiving this event should start the call.
547
+ * @export
548
+ * @interface VideoCallLiveStartedEvent
549
+ */
550
+ export interface VideoCallLiveStartedEvent {
551
+ /**
552
+ *
553
+ * @type {VideoCallResponse}
554
+ * @memberof VideoCallLiveStartedEvent
555
+ */
556
+ call: VideoCallResponse;
557
+ /**
558
+ *
559
+ * @type {string}
560
+ * @memberof VideoCallLiveStartedEvent
561
+ */
562
+ call_cid: string;
563
+ /**
564
+ *
565
+ * @type {string}
566
+ * @memberof VideoCallLiveStartedEvent
567
+ */
568
+ created_at: string;
569
+ /**
570
+ * The type of event: "call.live_started" in this case
571
+ * @type {string}
572
+ * @memberof VideoCallLiveStartedEvent
573
+ */
574
+ type: string;
575
+ }
576
+ /**
577
+ * This event is sent when one or more members are added to a call
578
+ * @export
579
+ * @interface VideoCallMemberAddedEvent
580
+ */
581
+ export interface VideoCallMemberAddedEvent {
582
+ /**
583
+ *
584
+ * @type {VideoCallResponse}
585
+ * @memberof VideoCallMemberAddedEvent
586
+ */
587
+ call: VideoCallResponse;
588
+ /**
589
+ *
590
+ * @type {string}
591
+ * @memberof VideoCallMemberAddedEvent
592
+ */
593
+ call_cid: string;
594
+ /**
595
+ *
596
+ * @type {string}
597
+ * @memberof VideoCallMemberAddedEvent
598
+ */
599
+ created_at: string;
600
+ /**
601
+ * the members added to this call
602
+ * @type {Array<VideoMemberResponse>}
603
+ * @memberof VideoCallMemberAddedEvent
604
+ */
605
+ members: Array<VideoMemberResponse>;
606
+ /**
607
+ * The type of event: "call.member_added" in this case
608
+ * @type {string}
609
+ * @memberof VideoCallMemberAddedEvent
610
+ */
611
+ type: string;
612
+ }
613
+ /**
614
+ * This event is sent when one or more members are removed from a call
615
+ * @export
616
+ * @interface VideoCallMemberRemovedEvent
617
+ */
618
+ export interface VideoCallMemberRemovedEvent {
619
+ /**
620
+ *
621
+ * @type {VideoCallResponse}
622
+ * @memberof VideoCallMemberRemovedEvent
623
+ */
624
+ call: VideoCallResponse;
625
+ /**
626
+ *
627
+ * @type {string}
628
+ * @memberof VideoCallMemberRemovedEvent
629
+ */
630
+ call_cid: string;
631
+ /**
632
+ *
633
+ * @type {string}
634
+ * @memberof VideoCallMemberRemovedEvent
635
+ */
636
+ created_at: string;
637
+ /**
638
+ * the list of member IDs removed from the call
639
+ * @type {Array<string>}
640
+ * @memberof VideoCallMemberRemovedEvent
641
+ */
642
+ members: Array<string>;
643
+ /**
644
+ * The type of event: "call.member_removed" in this case
645
+ * @type {string}
646
+ * @memberof VideoCallMemberRemovedEvent
647
+ */
648
+ type: string;
649
+ }
650
+ /**
651
+ * This event is sent when one or more members are updated
652
+ * @export
653
+ * @interface VideoCallMemberUpdatedEvent
654
+ */
655
+ export interface VideoCallMemberUpdatedEvent {
656
+ /**
657
+ *
658
+ * @type {VideoCallResponse}
659
+ * @memberof VideoCallMemberUpdatedEvent
660
+ */
661
+ call: VideoCallResponse;
662
+ /**
663
+ *
664
+ * @type {string}
665
+ * @memberof VideoCallMemberUpdatedEvent
666
+ */
667
+ call_cid: string;
668
+ /**
669
+ *
670
+ * @type {string}
671
+ * @memberof VideoCallMemberUpdatedEvent
672
+ */
673
+ created_at: string;
674
+ /**
675
+ * The list of members that were updated
676
+ * @type {Array<VideoMemberResponse>}
677
+ * @memberof VideoCallMemberUpdatedEvent
678
+ */
679
+ members: Array<VideoMemberResponse>;
680
+ /**
681
+ * The type of event: "call.member_updated" in this case
682
+ * @type {string}
683
+ * @memberof VideoCallMemberUpdatedEvent
684
+ */
685
+ type: string;
686
+ }
687
+ /**
688
+ * This event is sent when one or more members get its role updated
689
+ * @export
690
+ * @interface VideoCallMemberUpdatedPermissionEvent
691
+ */
692
+ export interface VideoCallMemberUpdatedPermissionEvent {
693
+ /**
694
+ *
695
+ * @type {VideoCallResponse}
696
+ * @memberof VideoCallMemberUpdatedPermissionEvent
697
+ */
698
+ call: VideoCallResponse;
699
+ /**
700
+ *
701
+ * @type {string}
702
+ * @memberof VideoCallMemberUpdatedPermissionEvent
703
+ */
704
+ call_cid: string;
705
+ /**
706
+ * The capabilities by role for this call
707
+ * @type {{ [key: string]: Array<string>; }}
708
+ * @memberof VideoCallMemberUpdatedPermissionEvent
709
+ */
710
+ capabilities_by_role: { [key: string]: Array<string>; };
711
+ /**
712
+ *
713
+ * @type {string}
714
+ * @memberof VideoCallMemberUpdatedPermissionEvent
715
+ */
716
+ created_at: string;
717
+ /**
718
+ * The list of members that were updated
719
+ * @type {Array<VideoMemberResponse>}
720
+ * @memberof VideoCallMemberUpdatedPermissionEvent
721
+ */
722
+ members: Array<VideoMemberResponse>;
723
+ /**
724
+ * The type of event: "call.member_added" in this case
725
+ * @type {string}
726
+ * @memberof VideoCallMemberUpdatedPermissionEvent
727
+ */
728
+ type: string;
729
+ }
730
+ /**
731
+ * This event is sent to all call members to notify they are getting called
732
+ * @export
733
+ * @interface VideoCallNotificationEvent
734
+ */
735
+ export interface VideoCallNotificationEvent {
736
+ /**
737
+ *
738
+ * @type {VideoCallResponse}
739
+ * @memberof VideoCallNotificationEvent
740
+ */
741
+ call: VideoCallResponse;
742
+ /**
743
+ *
744
+ * @type {string}
745
+ * @memberof VideoCallNotificationEvent
746
+ */
747
+ call_cid: string;
748
+ /**
749
+ *
750
+ * @type {string}
751
+ * @memberof VideoCallNotificationEvent
752
+ */
753
+ created_at: string;
754
+ /**
755
+ * Call members
756
+ * @type {Array<VideoMemberResponse>}
757
+ * @memberof VideoCallNotificationEvent
758
+ */
759
+ members: Array<VideoMemberResponse>;
760
+ /**
761
+ * Call session ID
762
+ * @type {string}
763
+ * @memberof VideoCallNotificationEvent
764
+ */
765
+ session_id: string;
766
+ /**
767
+ * The type of event: "call.notification" in this case
768
+ * @type {string}
769
+ * @memberof VideoCallNotificationEvent
770
+ */
771
+ type: string;
772
+ /**
773
+ *
774
+ * @type {VideoUserResponse}
775
+ * @memberof VideoCallNotificationEvent
776
+ */
777
+ user: VideoUserResponse;
778
+ }
779
+ /**
780
+ *
781
+ * @export
782
+ * @interface VideoCallParticipantResponse
783
+ */
784
+ export interface VideoCallParticipantResponse {
785
+ /**
786
+ *
787
+ * @type {string}
788
+ * @memberof VideoCallParticipantResponse
789
+ */
790
+ joined_at: string;
791
+ /**
792
+ *
793
+ * @type {string}
794
+ * @memberof VideoCallParticipantResponse
795
+ */
796
+ role: string;
797
+ /**
798
+ *
799
+ * @type {VideoUserResponse}
800
+ * @memberof VideoCallParticipantResponse
801
+ */
802
+ user: VideoUserResponse;
803
+ /**
804
+ *
805
+ * @type {string}
806
+ * @memberof VideoCallParticipantResponse
807
+ */
808
+ user_session_id: string;
809
+ }
810
+ /**
811
+ * This event is sent when a reaction is sent in a call, clients should use this to show the reaction in the call screen
812
+ * @export
813
+ * @interface VideoCallReactionEvent
814
+ */
815
+ export interface VideoCallReactionEvent {
816
+ /**
817
+ *
818
+ * @type {string}
819
+ * @memberof VideoCallReactionEvent
820
+ */
821
+ call_cid: string;
822
+ /**
823
+ *
824
+ * @type {string}
825
+ * @memberof VideoCallReactionEvent
826
+ */
827
+ created_at: string;
828
+ /**
829
+ *
830
+ * @type {VideoReactionResponse}
831
+ * @memberof VideoCallReactionEvent
832
+ */
833
+ reaction: VideoReactionResponse;
834
+ /**
835
+ * The type of event: "call.reaction_new" in this case
836
+ * @type {string}
837
+ * @memberof VideoCallReactionEvent
838
+ */
839
+ type: string;
840
+ }
841
+ /**
842
+ * CallRecording represents a recording of a call.
843
+ * @export
844
+ * @interface VideoCallRecording
845
+ */
846
+ export interface VideoCallRecording {
847
+ /**
848
+ *
849
+ * @type {string}
850
+ * @memberof VideoCallRecording
851
+ */
852
+ end_time: string;
853
+ /**
854
+ *
855
+ * @type {string}
856
+ * @memberof VideoCallRecording
857
+ */
858
+ filename: string;
859
+ /**
860
+ *
861
+ * @type {string}
862
+ * @memberof VideoCallRecording
863
+ */
864
+ start_time: string;
865
+ /**
866
+ *
867
+ * @type {string}
868
+ * @memberof VideoCallRecording
869
+ */
870
+ url: string;
871
+ }
872
+ /**
873
+ * This event is sent when call recording has failed
874
+ * @export
875
+ * @interface VideoCallRecordingFailedEvent
876
+ */
877
+ export interface VideoCallRecordingFailedEvent {
878
+ /**
879
+ *
880
+ * @type {string}
881
+ * @memberof VideoCallRecordingFailedEvent
882
+ */
883
+ call_cid: string;
884
+ /**
885
+ *
886
+ * @type {string}
887
+ * @memberof VideoCallRecordingFailedEvent
888
+ */
889
+ created_at: string;
890
+ /**
891
+ * The type of event: "call.recording_failed" in this case
892
+ * @type {string}
893
+ * @memberof VideoCallRecordingFailedEvent
894
+ */
895
+ type: string;
896
+ }
897
+ /**
898
+ * This event is sent when call recording is ready
899
+ * @export
900
+ * @interface VideoCallRecordingReadyEvent
901
+ */
902
+ export interface VideoCallRecordingReadyEvent {
903
+ /**
904
+ *
905
+ * @type {string}
906
+ * @memberof VideoCallRecordingReadyEvent
907
+ */
908
+ call_cid: string;
909
+ /**
910
+ *
911
+ * @type {VideoCallRecording}
912
+ * @memberof VideoCallRecordingReadyEvent
913
+ */
914
+ call_recording: VideoCallRecording;
915
+ /**
916
+ *
917
+ * @type {string}
918
+ * @memberof VideoCallRecordingReadyEvent
919
+ */
920
+ created_at: string;
921
+ /**
922
+ * The type of event: "call.recording_ready" in this case
923
+ * @type {string}
924
+ * @memberof VideoCallRecordingReadyEvent
925
+ */
926
+ type: string;
927
+ }
928
+ /**
929
+ * This event is sent when call recording has started
930
+ * @export
931
+ * @interface VideoCallRecordingStartedEvent
932
+ */
933
+ export interface VideoCallRecordingStartedEvent {
934
+ /**
935
+ *
936
+ * @type {string}
937
+ * @memberof VideoCallRecordingStartedEvent
938
+ */
939
+ call_cid: string;
940
+ /**
941
+ *
942
+ * @type {string}
943
+ * @memberof VideoCallRecordingStartedEvent
944
+ */
945
+ created_at: string;
946
+ /**
947
+ * The type of event: "call.recording_started" in this case
948
+ * @type {string}
949
+ * @memberof VideoCallRecordingStartedEvent
950
+ */
951
+ type: string;
952
+ }
953
+ /**
954
+ * This event is sent when call recording has stopped
955
+ * @export
956
+ * @interface VideoCallRecordingStoppedEvent
957
+ */
958
+ export interface VideoCallRecordingStoppedEvent {
959
+ /**
960
+ *
961
+ * @type {string}
962
+ * @memberof VideoCallRecordingStoppedEvent
963
+ */
964
+ call_cid: string;
965
+ /**
966
+ *
967
+ * @type {string}
968
+ * @memberof VideoCallRecordingStoppedEvent
969
+ */
970
+ created_at: string;
971
+ /**
972
+ * The type of event: "call.recording_stopped" in this case
973
+ * @type {string}
974
+ * @memberof VideoCallRecordingStoppedEvent
975
+ */
976
+ type: string;
977
+ }
978
+ /**
979
+ * This event is sent when a user rejects a notification to join a call.
980
+ * @export
981
+ * @interface VideoCallRejectedEvent
982
+ */
983
+ export interface VideoCallRejectedEvent {
984
+ /**
985
+ *
986
+ * @type {VideoCallResponse}
987
+ * @memberof VideoCallRejectedEvent
988
+ */
989
+ call: VideoCallResponse;
990
+ /**
991
+ *
992
+ * @type {string}
993
+ * @memberof VideoCallRejectedEvent
994
+ */
995
+ call_cid: string;
996
+ /**
997
+ *
998
+ * @type {string}
999
+ * @memberof VideoCallRejectedEvent
1000
+ */
1001
+ created_at: string;
1002
+ /**
1003
+ * The type of event: "call.rejected" in this case
1004
+ * @type {string}
1005
+ * @memberof VideoCallRejectedEvent
1006
+ */
1007
+ type: string;
1008
+ /**
1009
+ *
1010
+ * @type {VideoUserResponse}
1011
+ * @memberof VideoCallRejectedEvent
1012
+ */
1013
+ user: VideoUserResponse;
1014
+ }
1015
+ /**
1016
+ *
1017
+ * @export
1018
+ * @interface VideoCallRequest
1019
+ */
1020
+ export interface VideoCallRequest {
1021
+ /**
1022
+ *
1023
+ * @type {VideoUserRequest}
1024
+ * @memberof VideoCallRequest
1025
+ */
1026
+ created_by?: VideoUserRequest;
1027
+ /**
1028
+ *
1029
+ * @type {string}
1030
+ * @memberof VideoCallRequest
1031
+ */
1032
+ created_by_id?: string;
1033
+ /**
1034
+ *
1035
+ * @type {{ [key: string]: any; }}
1036
+ * @memberof VideoCallRequest
1037
+ */
1038
+ custom?: { [key: string]: any; };
1039
+ /**
1040
+ *
1041
+ * @type {Array<VideoMemberRequest>}
1042
+ * @memberof VideoCallRequest
1043
+ */
1044
+ members?: Array<VideoMemberRequest>;
1045
+ /**
1046
+ *
1047
+ * @type {VideoCallSettingsRequest}
1048
+ * @memberof VideoCallRequest
1049
+ */
1050
+ settings_override?: VideoCallSettingsRequest;
1051
+ /**
1052
+ *
1053
+ * @type {string}
1054
+ * @memberof VideoCallRequest
1055
+ */
1056
+ starts_at?: string;
1057
+ /**
1058
+ *
1059
+ * @type {string}
1060
+ * @memberof VideoCallRequest
1061
+ */
1062
+ team?: string;
1063
+ }
1064
+ /**
1065
+ * Represents a call
1066
+ * @export
1067
+ * @interface VideoCallResponse
1068
+ */
1069
+ export interface VideoCallResponse {
1070
+ /**
1071
+ *
1072
+ * @type {boolean}
1073
+ * @memberof VideoCallResponse
1074
+ */
1075
+ backstage: boolean;
1076
+ /**
1077
+ *
1078
+ * @type {Array<string>}
1079
+ * @memberof VideoCallResponse
1080
+ */
1081
+ blocked_user_ids: Array<string>;
1082
+ /**
1083
+ * The unique identifier for a call (<type>:<id>)
1084
+ * @type {string}
1085
+ * @memberof VideoCallResponse
1086
+ */
1087
+ cid: string;
1088
+ /**
1089
+ * Date/time of creation
1090
+ * @type {string}
1091
+ * @memberof VideoCallResponse
1092
+ */
1093
+ created_at: string;
1094
+ /**
1095
+ *
1096
+ * @type {VideoUserResponse}
1097
+ * @memberof VideoCallResponse
1098
+ */
1099
+ created_by: VideoUserResponse;
1100
+ /**
1101
+ *
1102
+ * @type {string}
1103
+ * @memberof VideoCallResponse
1104
+ */
1105
+ current_session_id: string;
1106
+ /**
1107
+ * Custom data for this object
1108
+ * @type {{ [key: string]: any; }}
1109
+ * @memberof VideoCallResponse
1110
+ */
1111
+ custom: { [key: string]: any; };
1112
+ /**
1113
+ *
1114
+ * @type {VideoEgressResponse}
1115
+ * @memberof VideoCallResponse
1116
+ */
1117
+ egress: VideoEgressResponse;
1118
+ /**
1119
+ * Date/time when the call ended
1120
+ * @type {string}
1121
+ * @memberof VideoCallResponse
1122
+ */
1123
+ ended_at?: string;
1124
+ /**
1125
+ * Call ID
1126
+ * @type {string}
1127
+ * @memberof VideoCallResponse
1128
+ */
1129
+ id: string;
1130
+ /**
1131
+ *
1132
+ * @type {VideoCallIngressResponse}
1133
+ * @memberof VideoCallResponse
1134
+ */
1135
+ ingress: VideoCallIngressResponse;
1136
+ /**
1137
+ *
1138
+ * @type {boolean}
1139
+ * @memberof VideoCallResponse
1140
+ */
1141
+ recording: boolean;
1142
+ /**
1143
+ *
1144
+ * @type {VideoCallSessionResponse}
1145
+ * @memberof VideoCallResponse
1146
+ */
1147
+ session?: VideoCallSessionResponse;
1148
+ /**
1149
+ *
1150
+ * @type {VideoCallSettingsResponse}
1151
+ * @memberof VideoCallResponse
1152
+ */
1153
+ settings: VideoCallSettingsResponse;
1154
+ /**
1155
+ * Date/time when the call will start
1156
+ * @type {string}
1157
+ * @memberof VideoCallResponse
1158
+ */
1159
+ starts_at?: string;
1160
+ /**
1161
+ *
1162
+ * @type {string}
1163
+ * @memberof VideoCallResponse
1164
+ */
1165
+ team?: string;
1166
+ /**
1167
+ *
1168
+ * @type {VideoThumbnailResponse}
1169
+ * @memberof VideoCallResponse
1170
+ */
1171
+ thumbnails?: VideoThumbnailResponse;
1172
+ /**
1173
+ *
1174
+ * @type {boolean}
1175
+ * @memberof VideoCallResponse
1176
+ */
1177
+ transcribing: boolean;
1178
+ /**
1179
+ * The type of call
1180
+ * @type {string}
1181
+ * @memberof VideoCallResponse
1182
+ */
1183
+ type: string;
1184
+ /**
1185
+ * Date/time of the last update
1186
+ * @type {string}
1187
+ * @memberof VideoCallResponse
1188
+ */
1189
+ updated_at: string;
1190
+ }
1191
+ /**
1192
+ * This event is sent to all call members to notify they are getting called
1193
+ * @export
1194
+ * @interface VideoCallRingEvent
1195
+ */
1196
+ export interface VideoCallRingEvent {
1197
+ /**
1198
+ *
1199
+ * @type {VideoCallResponse}
1200
+ * @memberof VideoCallRingEvent
1201
+ */
1202
+ call: VideoCallResponse;
1203
+ /**
1204
+ *
1205
+ * @type {string}
1206
+ * @memberof VideoCallRingEvent
1207
+ */
1208
+ call_cid: string;
1209
+ /**
1210
+ *
1211
+ * @type {string}
1212
+ * @memberof VideoCallRingEvent
1213
+ */
1214
+ created_at: string;
1215
+ /**
1216
+ * Call members
1217
+ * @type {Array<VideoMemberResponse>}
1218
+ * @memberof VideoCallRingEvent
1219
+ */
1220
+ members: Array<VideoMemberResponse>;
1221
+ /**
1222
+ * Call session ID
1223
+ * @type {string}
1224
+ * @memberof VideoCallRingEvent
1225
+ */
1226
+ session_id: string;
1227
+ /**
1228
+ * The type of event: "call.notification" in this case
1229
+ * @type {string}
1230
+ * @memberof VideoCallRingEvent
1231
+ */
1232
+ type: string;
1233
+ /**
1234
+ *
1235
+ * @type {VideoUserResponse}
1236
+ * @memberof VideoCallRingEvent
1237
+ */
1238
+ user: VideoUserResponse;
1239
+ }
1240
+ /**
1241
+ * This event is sent when a call session ends
1242
+ * @export
1243
+ * @interface VideoCallSessionEndedEvent
1244
+ */
1245
+ export interface VideoCallSessionEndedEvent {
1246
+ /**
1247
+ *
1248
+ * @type {VideoCallResponse}
1249
+ * @memberof VideoCallSessionEndedEvent
1250
+ */
1251
+ call: VideoCallResponse;
1252
+ /**
1253
+ *
1254
+ * @type {string}
1255
+ * @memberof VideoCallSessionEndedEvent
1256
+ */
1257
+ call_cid: string;
1258
+ /**
1259
+ *
1260
+ * @type {string}
1261
+ * @memberof VideoCallSessionEndedEvent
1262
+ */
1263
+ created_at: string;
1264
+ /**
1265
+ * Call session ID
1266
+ * @type {string}
1267
+ * @memberof VideoCallSessionEndedEvent
1268
+ */
1269
+ session_id: string;
1270
+ /**
1271
+ * The type of event: "call.session_ended" in this case
1272
+ * @type {string}
1273
+ * @memberof VideoCallSessionEndedEvent
1274
+ */
1275
+ type: string;
1276
+ }
1277
+ /**
1278
+ * This event is sent when a participant joins a call session
1279
+ * @export
1280
+ * @interface VideoCallSessionParticipantJoinedEvent
1281
+ */
1282
+ export interface VideoCallSessionParticipantJoinedEvent {
1283
+ /**
1284
+ *
1285
+ * @type {string}
1286
+ * @memberof VideoCallSessionParticipantJoinedEvent
1287
+ */
1288
+ call_cid: string;
1289
+ /**
1290
+ *
1291
+ * @type {string}
1292
+ * @memberof VideoCallSessionParticipantJoinedEvent
1293
+ */
1294
+ created_at: string;
1295
+ /**
1296
+ *
1297
+ * @type {VideoCallParticipantResponse}
1298
+ * @memberof VideoCallSessionParticipantJoinedEvent
1299
+ */
1300
+ participant: VideoCallParticipantResponse;
1301
+ /**
1302
+ * Call session ID
1303
+ * @type {string}
1304
+ * @memberof VideoCallSessionParticipantJoinedEvent
1305
+ */
1306
+ session_id: string;
1307
+ /**
1308
+ * The type of event: "call.session_participant_joined" in this case
1309
+ * @type {string}
1310
+ * @memberof VideoCallSessionParticipantJoinedEvent
1311
+ */
1312
+ type: string;
1313
+ }
1314
+ /**
1315
+ * This event is sent when a participant leaves a call session
1316
+ * @export
1317
+ * @interface VideoCallSessionParticipantLeftEvent
1318
+ */
1319
+ export interface VideoCallSessionParticipantLeftEvent {
1320
+ /**
1321
+ *
1322
+ * @type {string}
1323
+ * @memberof VideoCallSessionParticipantLeftEvent
1324
+ */
1325
+ call_cid: string;
1326
+ /**
1327
+ *
1328
+ * @type {string}
1329
+ * @memberof VideoCallSessionParticipantLeftEvent
1330
+ */
1331
+ created_at: string;
1332
+ /**
1333
+ *
1334
+ * @type {VideoCallParticipantResponse}
1335
+ * @memberof VideoCallSessionParticipantLeftEvent
1336
+ */
1337
+ participant: VideoCallParticipantResponse;
1338
+ /**
1339
+ * Call session ID
1340
+ * @type {string}
1341
+ * @memberof VideoCallSessionParticipantLeftEvent
1342
+ */
1343
+ session_id: string;
1344
+ /**
1345
+ * The type of event: "call.session_participant_left" in this case
1346
+ * @type {string}
1347
+ * @memberof VideoCallSessionParticipantLeftEvent
1348
+ */
1349
+ type: string;
1350
+ }
1351
+ /**
1352
+ *
1353
+ * @export
1354
+ * @interface VideoCallSessionResponse
1355
+ */
1356
+ export interface VideoCallSessionResponse {
1357
+ /**
1358
+ *
1359
+ * @type {{ [key: string]: string; }}
1360
+ * @memberof VideoCallSessionResponse
1361
+ */
1362
+ accepted_by: { [key: string]: string; };
1363
+ /**
1364
+ *
1365
+ * @type {string}
1366
+ * @memberof VideoCallSessionResponse
1367
+ */
1368
+ ended_at?: string;
1369
+ /**
1370
+ *
1371
+ * @type {string}
1372
+ * @memberof VideoCallSessionResponse
1373
+ */
1374
+ id: string;
1375
+ /**
1376
+ *
1377
+ * @type {string}
1378
+ * @memberof VideoCallSessionResponse
1379
+ */
1380
+ live_ended_at?: string;
1381
+ /**
1382
+ *
1383
+ * @type {string}
1384
+ * @memberof VideoCallSessionResponse
1385
+ */
1386
+ live_started_at?: string;
1387
+ /**
1388
+ *
1389
+ * @type {Array<VideoCallParticipantResponse>}
1390
+ * @memberof VideoCallSessionResponse
1391
+ */
1392
+ participants: Array<VideoCallParticipantResponse>;
1393
+ /**
1394
+ *
1395
+ * @type {{ [key: string]: number; }}
1396
+ * @memberof VideoCallSessionResponse
1397
+ */
1398
+ participants_count_by_role: { [key: string]: number; };
1399
+ /**
1400
+ *
1401
+ * @type {{ [key: string]: string; }}
1402
+ * @memberof VideoCallSessionResponse
1403
+ */
1404
+ rejected_by: { [key: string]: string; };
1405
+ /**
1406
+ *
1407
+ * @type {string}
1408
+ * @memberof VideoCallSessionResponse
1409
+ */
1410
+ started_at?: string;
1411
+ }
1412
+ /**
1413
+ * This event is sent when a call session starts
1414
+ * @export
1415
+ * @interface VideoCallSessionStartedEvent
1416
+ */
1417
+ export interface VideoCallSessionStartedEvent {
1418
+ /**
1419
+ *
1420
+ * @type {VideoCallResponse}
1421
+ * @memberof VideoCallSessionStartedEvent
1422
+ */
1423
+ call: VideoCallResponse;
1424
+ /**
1425
+ *
1426
+ * @type {string}
1427
+ * @memberof VideoCallSessionStartedEvent
1428
+ */
1429
+ call_cid: string;
1430
+ /**
1431
+ *
1432
+ * @type {string}
1433
+ * @memberof VideoCallSessionStartedEvent
1434
+ */
1435
+ created_at: string;
1436
+ /**
1437
+ * Call session ID
1438
+ * @type {string}
1439
+ * @memberof VideoCallSessionStartedEvent
1440
+ */
1441
+ session_id: string;
1442
+ /**
1443
+ * The type of event: "call.session_started" in this case
1444
+ * @type {string}
1445
+ * @memberof VideoCallSessionStartedEvent
1446
+ */
1447
+ type: string;
1448
+ }
1449
+ /**
1450
+ *
1451
+ * @export
1452
+ * @interface VideoCallSettingsRequest
1453
+ */
1454
+ export interface VideoCallSettingsRequest {
1455
+ /**
1456
+ *
1457
+ * @type {VideoAudioSettingsRequest}
1458
+ * @memberof VideoCallSettingsRequest
1459
+ */
1460
+ audio?: VideoAudioSettingsRequest;
1461
+ /**
1462
+ *
1463
+ * @type {VideoBackstageSettingsRequest}
1464
+ * @memberof VideoCallSettingsRequest
1465
+ */
1466
+ backstage?: VideoBackstageSettingsRequest;
1467
+ /**
1468
+ *
1469
+ * @type {VideoBroadcastSettingsRequest}
1470
+ * @memberof VideoCallSettingsRequest
1471
+ */
1472
+ broadcasting?: VideoBroadcastSettingsRequest;
1473
+ /**
1474
+ *
1475
+ * @type {VideoGeofenceSettingsRequest}
1476
+ * @memberof VideoCallSettingsRequest
1477
+ */
1478
+ geofencing?: VideoGeofenceSettingsRequest;
1479
+ /**
1480
+ *
1481
+ * @type {VideoRecordSettingsRequest}
1482
+ * @memberof VideoCallSettingsRequest
1483
+ */
1484
+ recording?: VideoRecordSettingsRequest;
1485
+ /**
1486
+ *
1487
+ * @type {VideoRingSettingsRequest}
1488
+ * @memberof VideoCallSettingsRequest
1489
+ */
1490
+ ring?: VideoRingSettingsRequest;
1491
+ /**
1492
+ *
1493
+ * @type {VideoScreensharingSettingsRequest}
1494
+ * @memberof VideoCallSettingsRequest
1495
+ */
1496
+ screensharing?: VideoScreensharingSettingsRequest;
1497
+ /**
1498
+ *
1499
+ * @type {VideoThumbnailsSettingsRequest}
1500
+ * @memberof VideoCallSettingsRequest
1501
+ */
1502
+ thumbnails?: VideoThumbnailsSettingsRequest;
1503
+ /**
1504
+ *
1505
+ * @type {VideoTranscriptionSettingsRequest}
1506
+ * @memberof VideoCallSettingsRequest
1507
+ */
1508
+ transcription?: VideoTranscriptionSettingsRequest;
1509
+ /**
1510
+ *
1511
+ * @type {VideoVideoSettingsRequest}
1512
+ * @memberof VideoCallSettingsRequest
1513
+ */
1514
+ video?: VideoVideoSettingsRequest;
1515
+ }
1516
+ /**
1517
+ *
1518
+ * @export
1519
+ * @interface VideoCallSettingsResponse
1520
+ */
1521
+ export interface VideoCallSettingsResponse {
1522
+ /**
1523
+ *
1524
+ * @type {VideoAudioSettings}
1525
+ * @memberof VideoCallSettingsResponse
1526
+ */
1527
+ audio: VideoAudioSettings;
1528
+ /**
1529
+ *
1530
+ * @type {VideoBackstageSettings}
1531
+ * @memberof VideoCallSettingsResponse
1532
+ */
1533
+ backstage: VideoBackstageSettings;
1534
+ /**
1535
+ *
1536
+ * @type {VideoBroadcastSettingsResponse}
1537
+ * @memberof VideoCallSettingsResponse
1538
+ */
1539
+ broadcasting: VideoBroadcastSettingsResponse;
1540
+ /**
1541
+ *
1542
+ * @type {VideoGeofenceSettings}
1543
+ * @memberof VideoCallSettingsResponse
1544
+ */
1545
+ geofencing: VideoGeofenceSettings;
1546
+ /**
1547
+ *
1548
+ * @type {VideoRecordSettingsResponse}
1549
+ * @memberof VideoCallSettingsResponse
1550
+ */
1551
+ recording: VideoRecordSettingsResponse;
1552
+ /**
1553
+ *
1554
+ * @type {VideoRingSettings}
1555
+ * @memberof VideoCallSettingsResponse
1556
+ */
1557
+ ring: VideoRingSettings;
1558
+ /**
1559
+ *
1560
+ * @type {VideoScreensharingSettings}
1561
+ * @memberof VideoCallSettingsResponse
1562
+ */
1563
+ screensharing: VideoScreensharingSettings;
1564
+ /**
1565
+ *
1566
+ * @type {VideoThumbnailsSettings}
1567
+ * @memberof VideoCallSettingsResponse
1568
+ */
1569
+ thumbnails: VideoThumbnailsSettings;
1570
+ /**
1571
+ *
1572
+ * @type {VideoTranscriptionSettings}
1573
+ * @memberof VideoCallSettingsResponse
1574
+ */
1575
+ transcription: VideoTranscriptionSettings;
1576
+ /**
1577
+ *
1578
+ * @type {VideoVideoSettings}
1579
+ * @memberof VideoCallSettingsResponse
1580
+ */
1581
+ video: VideoVideoSettings;
1582
+ }
1583
+ /**
1584
+ *
1585
+ * @export
1586
+ * @interface VideoCallStateResponseFields
1587
+ */
1588
+ export interface VideoCallStateResponseFields {
1589
+ /**
1590
+ *
1591
+ * @type {VideoCallResponse}
1592
+ * @memberof VideoCallStateResponseFields
1593
+ */
1594
+ call: VideoCallResponse;
1595
+ /**
1596
+ * List of call members
1597
+ * @type {Array<VideoMemberResponse>}
1598
+ * @memberof VideoCallStateResponseFields
1599
+ */
1600
+ members: Array<VideoMemberResponse>;
1601
+ /**
1602
+ *
1603
+ * @type {VideoMemberResponse}
1604
+ * @memberof VideoCallStateResponseFields
1605
+ */
1606
+ membership?: VideoMemberResponse;
1607
+ /**
1608
+ *
1609
+ * @type {Array<VideoOwnCapability>}
1610
+ * @memberof VideoCallStateResponseFields
1611
+ */
1612
+ own_capabilities: Array<VideoOwnCapability>;
1613
+ }
1614
+ /**
1615
+ *
1616
+ * @export
1617
+ * @interface VideoCallTypeResponse
1618
+ */
1619
+ export interface VideoCallTypeResponse {
1620
+ /**
1621
+ *
1622
+ * @type {string}
1623
+ * @memberof VideoCallTypeResponse
1624
+ */
1625
+ created_at: string;
1626
+ /**
1627
+ *
1628
+ * @type {{ [key: string]: Array<string>; }}
1629
+ * @memberof VideoCallTypeResponse
1630
+ */
1631
+ grants: { [key: string]: Array<string>; };
1632
+ /**
1633
+ *
1634
+ * @type {string}
1635
+ * @memberof VideoCallTypeResponse
1636
+ */
1637
+ name: string;
1638
+ /**
1639
+ *
1640
+ * @type {VideoNotificationSettings}
1641
+ * @memberof VideoCallTypeResponse
1642
+ */
1643
+ notification_settings: VideoNotificationSettings;
1644
+ /**
1645
+ *
1646
+ * @type {VideoCallSettingsResponse}
1647
+ * @memberof VideoCallTypeResponse
1648
+ */
1649
+ settings: VideoCallSettingsResponse;
1650
+ /**
1651
+ *
1652
+ * @type {string}
1653
+ * @memberof VideoCallTypeResponse
1654
+ */
1655
+ updated_at: string;
1656
+ }
1657
+ /**
1658
+ * This event is sent when a call is updated, clients should use this update the local state of the call.
1659
+ * This event also contains the capabilities by role for the call, clients should update the own_capability for the current.
1660
+ * @export
1661
+ * @interface VideoCallUpdatedEvent
1662
+ */
1663
+ export interface VideoCallUpdatedEvent {
1664
+ /**
1665
+ *
1666
+ * @type {VideoCallResponse}
1667
+ * @memberof VideoCallUpdatedEvent
1668
+ */
1669
+ call: VideoCallResponse;
1670
+ /**
1671
+ *
1672
+ * @type {string}
1673
+ * @memberof VideoCallUpdatedEvent
1674
+ */
1675
+ call_cid: string;
1676
+ /**
1677
+ * The capabilities by role for this call
1678
+ * @type {{ [key: string]: Array<string>; }}
1679
+ * @memberof VideoCallUpdatedEvent
1680
+ */
1681
+ capabilities_by_role: { [key: string]: Array<string>; };
1682
+ /**
1683
+ *
1684
+ * @type {string}
1685
+ * @memberof VideoCallUpdatedEvent
1686
+ */
1687
+ created_at: string;
1688
+ /**
1689
+ * The type of event: "call.ended" in this case
1690
+ * @type {string}
1691
+ * @memberof VideoCallUpdatedEvent
1692
+ */
1693
+ type: string;
1694
+ }
1695
+ /**
1696
+ * This event is sent when a call member is muted
1697
+ * @export
1698
+ * @interface VideoCallUserMuted
1699
+ */
1700
+ export interface VideoCallUserMuted {
1701
+ /**
1702
+ *
1703
+ * @type {string}
1704
+ * @memberof VideoCallUserMuted
1705
+ */
1706
+ call_cid: string;
1707
+ /**
1708
+ *
1709
+ * @type {string}
1710
+ * @memberof VideoCallUserMuted
1711
+ */
1712
+ created_at: string;
1713
+ /**
1714
+ *
1715
+ * @type {string}
1716
+ * @memberof VideoCallUserMuted
1717
+ */
1718
+ from_user_id: string;
1719
+ /**
1720
+ *
1721
+ * @type {Array<string>}
1722
+ * @memberof VideoCallUserMuted
1723
+ */
1724
+ muted_user_ids: Array<string>;
1725
+ /**
1726
+ * The type of event: "call.user_muted" in this case
1727
+ * @type {string}
1728
+ * @memberof VideoCallUserMuted
1729
+ */
1730
+ type: string;
1731
+ }
1732
+ /**
1733
+ *
1734
+ * @export
1735
+ * @interface VideoConnectUserDetailsRequest
1736
+ */
1737
+ export interface VideoConnectUserDetailsRequest {
1738
+ /**
1739
+ *
1740
+ * @type {{ [key: string]: any; }}
1741
+ * @memberof VideoConnectUserDetailsRequest
1742
+ */
1743
+ custom?: { [key: string]: any; };
1744
+ /**
1745
+ *
1746
+ * @type {string}
1747
+ * @memberof VideoConnectUserDetailsRequest
1748
+ */
1749
+ id: string;
1750
+ /**
1751
+ *
1752
+ * @type {string}
1753
+ * @memberof VideoConnectUserDetailsRequest
1754
+ */
1755
+ image?: string;
1756
+ /**
1757
+ *
1758
+ * @type {string}
1759
+ * @memberof VideoConnectUserDetailsRequest
1760
+ */
1761
+ name?: string;
1762
+ }
1763
+ /**
1764
+ * This event is sent when the WS connection is established and authenticated, this event contains the full user object as it is stored on the server
1765
+ * @export
1766
+ * @interface VideoConnectedEvent
1767
+ */
1768
+ export interface VideoConnectedEvent {
1769
+ /**
1770
+ * The connection_id for this client
1771
+ * @type {string}
1772
+ * @memberof VideoConnectedEvent
1773
+ */
1774
+ connection_id: string;
1775
+ /**
1776
+ *
1777
+ * @type {string}
1778
+ * @memberof VideoConnectedEvent
1779
+ */
1780
+ created_at: string;
1781
+ /**
1782
+ *
1783
+ * @type {VideoOwnUserResponse}
1784
+ * @memberof VideoConnectedEvent
1785
+ */
1786
+ me: VideoOwnUserResponse;
1787
+ /**
1788
+ * The type of event: "connection.ok" in this case
1789
+ * @type {string}
1790
+ * @memberof VideoConnectedEvent
1791
+ */
1792
+ type: string;
1793
+ }
1794
+ /**
1795
+ * This event is sent when the WS connection fails
1796
+ * @export
1797
+ * @interface VideoConnectionErrorEvent
1798
+ */
1799
+ export interface VideoConnectionErrorEvent {
1800
+ /**
1801
+ *
1802
+ * @type {string}
1803
+ * @memberof VideoConnectionErrorEvent
1804
+ */
1805
+ connection_id: string;
1806
+ /**
1807
+ *
1808
+ * @type {string}
1809
+ * @memberof VideoConnectionErrorEvent
1810
+ */
1811
+ created_at: string;
1812
+ /**
1813
+ *
1814
+ * @type {VideoAPIError}
1815
+ * @memberof VideoConnectionErrorEvent
1816
+ */
1817
+ error: VideoAPIError | null;
1818
+ /**
1819
+ * The type of event: "connection.ok" in this case
1820
+ * @type {string}
1821
+ * @memberof VideoConnectionErrorEvent
1822
+ */
1823
+ type: string;
1824
+ }
1825
+ /**
1826
+ *
1827
+ * @export
1828
+ * @interface VideoCreateCallTypeRequest
1829
+ */
1830
+ export interface VideoCreateCallTypeRequest {
1831
+ /**
1832
+ *
1833
+ * @type {{ [key: string]: Array<string>; }}
1834
+ * @memberof VideoCreateCallTypeRequest
1835
+ */
1836
+ grants?: { [key: string]: Array<string>; };
1837
+ /**
1838
+ *
1839
+ * @type {string}
1840
+ * @memberof VideoCreateCallTypeRequest
1841
+ */
1842
+ name: string;
1843
+ /**
1844
+ *
1845
+ * @type {VideoNotificationSettingsRequest}
1846
+ * @memberof VideoCreateCallTypeRequest
1847
+ */
1848
+ notification_settings?: VideoNotificationSettingsRequest;
1849
+ /**
1850
+ *
1851
+ * @type {VideoCallSettingsRequest}
1852
+ * @memberof VideoCreateCallTypeRequest
1853
+ */
1854
+ settings?: VideoCallSettingsRequest;
1855
+ }
1856
+ /**
1857
+ *
1858
+ * @export
1859
+ * @interface VideoCreateCallTypeResponse
1860
+ */
1861
+ export interface VideoCreateCallTypeResponse {
1862
+ /**
1863
+ *
1864
+ * @type {string}
1865
+ * @memberof VideoCreateCallTypeResponse
1866
+ */
1867
+ created_at: string;
1868
+ /**
1869
+ *
1870
+ * @type {string}
1871
+ * @memberof VideoCreateCallTypeResponse
1872
+ */
1873
+ duration: string;
1874
+ /**
1875
+ *
1876
+ * @type {{ [key: string]: Array<string>; }}
1877
+ * @memberof VideoCreateCallTypeResponse
1878
+ */
1879
+ grants: { [key: string]: Array<string>; };
1880
+ /**
1881
+ *
1882
+ * @type {string}
1883
+ * @memberof VideoCreateCallTypeResponse
1884
+ */
1885
+ name: string;
1886
+ /**
1887
+ *
1888
+ * @type {VideoNotificationSettings}
1889
+ * @memberof VideoCreateCallTypeResponse
1890
+ */
1891
+ notification_settings: VideoNotificationSettings;
1892
+ /**
1893
+ *
1894
+ * @type {VideoCallSettingsResponse}
1895
+ * @memberof VideoCreateCallTypeResponse
1896
+ */
1897
+ settings: VideoCallSettingsResponse;
1898
+ /**
1899
+ *
1900
+ * @type {string}
1901
+ * @memberof VideoCreateCallTypeResponse
1902
+ */
1903
+ updated_at: string;
1904
+ }
1905
+ /**
1906
+ *
1907
+ * @export
1908
+ * @interface VideoCreateDeviceRequest
1909
+ */
1910
+ export interface VideoCreateDeviceRequest {
1911
+ /**
1912
+ *
1913
+ * @type {string}
1914
+ * @memberof VideoCreateDeviceRequest
1915
+ */
1916
+ id?: string;
1917
+ /**
1918
+ *
1919
+ * @type {string}
1920
+ * @memberof VideoCreateDeviceRequest
1921
+ */
1922
+ push_provider?: VideoCreateDeviceRequestPushProviderEnum;
1923
+ /**
1924
+ *
1925
+ * @type {string}
1926
+ * @memberof VideoCreateDeviceRequest
1927
+ */
1928
+ push_provider_name?: string;
1929
+ /**
1930
+ *
1931
+ * @type {VideoUserRequest}
1932
+ * @memberof VideoCreateDeviceRequest
1933
+ */
1934
+ user?: VideoUserRequest;
1935
+ /**
1936
+ *
1937
+ * @type {string}
1938
+ * @memberof VideoCreateDeviceRequest
1939
+ */
1940
+ user_id?: string;
1941
+ /**
1942
+ *
1943
+ * @type {boolean}
1944
+ * @memberof VideoCreateDeviceRequest
1945
+ */
1946
+ voip_token?: boolean;
1947
+ }
1948
+
1949
+
1950
+ /**
1951
+ * @export
1952
+ */
1953
+ export const VideoCreateDeviceRequestPushProviderEnum = {
1954
+ FIREBASE: 'firebase',
1955
+ APN: 'apn',
1956
+ HUAWEI: 'huawei',
1957
+ XIAOMI: 'xiaomi'
1958
+ } as const;
1959
+ export type VideoCreateDeviceRequestPushProviderEnum = typeof VideoCreateDeviceRequestPushProviderEnum[keyof typeof VideoCreateDeviceRequestPushProviderEnum];
1960
+
1961
+ /**
1962
+ *
1963
+ * @export
1964
+ * @interface VideoCreateGuestRequest
1965
+ */
1966
+ export interface VideoCreateGuestRequest {
1967
+ /**
1968
+ *
1969
+ * @type {VideoUserRequest}
1970
+ * @memberof VideoCreateGuestRequest
1971
+ */
1972
+ user: VideoUserRequest;
1973
+ }
1974
+ /**
1975
+ *
1976
+ * @export
1977
+ * @interface VideoCreateGuestResponse
1978
+ */
1979
+ export interface VideoCreateGuestResponse {
1980
+ /**
1981
+ * the access token to authenticate the user
1982
+ * @type {string}
1983
+ * @memberof VideoCreateGuestResponse
1984
+ */
1985
+ access_token: string;
1986
+ /**
1987
+ *
1988
+ * @type {string}
1989
+ * @memberof VideoCreateGuestResponse
1990
+ */
1991
+ duration: string;
1992
+ /**
1993
+ *
1994
+ * @type {VideoUserResponse}
1995
+ * @memberof VideoCreateGuestResponse
1996
+ */
1997
+ user: VideoUserResponse;
1998
+ }
1999
+ /**
2000
+ *
2001
+ * @export
2002
+ * @interface VideoCredentials
2003
+ */
2004
+ export interface VideoCredentials {
2005
+ /**
2006
+ *
2007
+ * @type {Array<VideoICEServer>}
2008
+ * @memberof VideoCredentials
2009
+ */
2010
+ ice_servers: Array<VideoICEServer>;
2011
+ /**
2012
+ *
2013
+ * @type {VideoSFUResponse}
2014
+ * @memberof VideoCredentials
2015
+ */
2016
+ server: VideoSFUResponse;
2017
+ /**
2018
+ *
2019
+ * @type {string}
2020
+ * @memberof VideoCredentials
2021
+ */
2022
+ token: string;
2023
+ }
2024
+ /**
2025
+ * A custom event, this event is used to send custom events to other participants in the call.
2026
+ * @export
2027
+ * @interface VideoCustomVideoEvent
2028
+ */
2029
+ export interface VideoCustomVideoEvent {
2030
+ /**
2031
+ *
2032
+ * @type {string}
2033
+ * @memberof VideoCustomVideoEvent
2034
+ */
2035
+ call_cid: string;
2036
+ /**
2037
+ *
2038
+ * @type {string}
2039
+ * @memberof VideoCustomVideoEvent
2040
+ */
2041
+ created_at: string;
2042
+ /**
2043
+ * Custom data for this object
2044
+ * @type {{ [key: string]: any; }}
2045
+ * @memberof VideoCustomVideoEvent
2046
+ */
2047
+ custom: { [key: string]: any; };
2048
+ /**
2049
+ * The type of event, "custom" in this case
2050
+ * @type {string}
2051
+ * @memberof VideoCustomVideoEvent
2052
+ */
2053
+ type: string;
2054
+ /**
2055
+ *
2056
+ * @type {VideoUserResponse}
2057
+ * @memberof VideoCustomVideoEvent
2058
+ */
2059
+ user: VideoUserResponse;
2060
+ }
2061
+ /**
2062
+ *
2063
+ * @export
2064
+ * @interface VideoDevice
2065
+ */
2066
+ export interface VideoDevice {
2067
+ /**
2068
+ * Date/time of creation
2069
+ * @type {string}
2070
+ * @memberof VideoDevice
2071
+ */
2072
+ created_at: string;
2073
+ /**
2074
+ * Whether device is disabled or not
2075
+ * @type {boolean}
2076
+ * @memberof VideoDevice
2077
+ */
2078
+ disabled?: boolean;
2079
+ /**
2080
+ * Reason explaining why device had been disabled
2081
+ * @type {string}
2082
+ * @memberof VideoDevice
2083
+ */
2084
+ disabled_reason?: string;
2085
+ /**
2086
+ *
2087
+ * @type {string}
2088
+ * @memberof VideoDevice
2089
+ */
2090
+ id: string;
2091
+ /**
2092
+ *
2093
+ * @type {string}
2094
+ * @memberof VideoDevice
2095
+ */
2096
+ push_provider: string;
2097
+ /**
2098
+ *
2099
+ * @type {string}
2100
+ * @memberof VideoDevice
2101
+ */
2102
+ push_provider_name?: string;
2103
+ /**
2104
+ * When true the token is for Apple VoIP push notifications
2105
+ * @type {boolean}
2106
+ * @memberof VideoDevice
2107
+ */
2108
+ voip?: boolean;
2109
+ }
2110
+ /**
2111
+ *
2112
+ * @export
2113
+ * @interface VideoEdgeResponse
2114
+ */
2115
+ export interface VideoEdgeResponse {
2116
+ /**
2117
+ *
2118
+ * @type {string}
2119
+ * @memberof VideoEdgeResponse
2120
+ */
2121
+ continent_code: string;
2122
+ /**
2123
+ *
2124
+ * @type {string}
2125
+ * @memberof VideoEdgeResponse
2126
+ */
2127
+ country_iso_code: string;
2128
+ /**
2129
+ *
2130
+ * @type {number}
2131
+ * @memberof VideoEdgeResponse
2132
+ */
2133
+ green: number;
2134
+ /**
2135
+ *
2136
+ * @type {string}
2137
+ * @memberof VideoEdgeResponse
2138
+ */
2139
+ id: string;
2140
+ /**
2141
+ *
2142
+ * @type {string}
2143
+ * @memberof VideoEdgeResponse
2144
+ */
2145
+ latency_test_url: string;
2146
+ /**
2147
+ *
2148
+ * @type {number}
2149
+ * @memberof VideoEdgeResponse
2150
+ */
2151
+ latitude: number;
2152
+ /**
2153
+ *
2154
+ * @type {number}
2155
+ * @memberof VideoEdgeResponse
2156
+ */
2157
+ longitude: number;
2158
+ /**
2159
+ *
2160
+ * @type {number}
2161
+ * @memberof VideoEdgeResponse
2162
+ */
2163
+ red: number;
2164
+ /**
2165
+ *
2166
+ * @type {string}
2167
+ * @memberof VideoEdgeResponse
2168
+ */
2169
+ subdivision_iso_code: string;
2170
+ /**
2171
+ *
2172
+ * @type {number}
2173
+ * @memberof VideoEdgeResponse
2174
+ */
2175
+ yellow: number;
2176
+ }
2177
+ /**
2178
+ *
2179
+ * @export
2180
+ * @interface VideoEgressHLSResponse
2181
+ */
2182
+ export interface VideoEgressHLSResponse {
2183
+ /**
2184
+ *
2185
+ * @type {string}
2186
+ * @memberof VideoEgressHLSResponse
2187
+ */
2188
+ playlist_url: string;
2189
+ }
2190
+ /**
2191
+ *
2192
+ * @export
2193
+ * @interface VideoEgressRTMPResponse
2194
+ */
2195
+ export interface VideoEgressRTMPResponse {
2196
+ /**
2197
+ *
2198
+ * @type {string}
2199
+ * @memberof VideoEgressRTMPResponse
2200
+ */
2201
+ name: string;
2202
+ /**
2203
+ *
2204
+ * @type {string}
2205
+ * @memberof VideoEgressRTMPResponse
2206
+ */
2207
+ stream_key: string;
2208
+ /**
2209
+ *
2210
+ * @type {string}
2211
+ * @memberof VideoEgressRTMPResponse
2212
+ */
2213
+ url: string;
2214
+ }
2215
+ /**
2216
+ *
2217
+ * @export
2218
+ * @interface VideoEgressResponse
2219
+ */
2220
+ export interface VideoEgressResponse {
2221
+ /**
2222
+ *
2223
+ * @type {boolean}
2224
+ * @memberof VideoEgressResponse
2225
+ */
2226
+ broadcasting: boolean;
2227
+ /**
2228
+ *
2229
+ * @type {VideoEgressHLSResponse}
2230
+ * @memberof VideoEgressResponse
2231
+ */
2232
+ hls?: VideoEgressHLSResponse;
2233
+ /**
2234
+ *
2235
+ * @type {Array<VideoEgressRTMPResponse>}
2236
+ * @memberof VideoEgressResponse
2237
+ */
2238
+ rtmps: Array<VideoEgressRTMPResponse>;
2239
+ }
2240
+ /**
2241
+ *
2242
+ * @export
2243
+ * @interface VideoEndCallResponse
2244
+ */
2245
+ export interface VideoEndCallResponse {
2246
+ /**
2247
+ *
2248
+ * @type {string}
2249
+ * @memberof VideoEndCallResponse
2250
+ */
2251
+ duration: string;
2252
+ }
2253
+ /**
2254
+ *
2255
+ * @export
2256
+ * @interface VideoEventNotificationSettings
2257
+ */
2258
+ export interface VideoEventNotificationSettings {
2259
+ /**
2260
+ *
2261
+ * @type {VideoAPNS}
2262
+ * @memberof VideoEventNotificationSettings
2263
+ */
2264
+ apns: VideoAPNS;
2265
+ /**
2266
+ *
2267
+ * @type {boolean}
2268
+ * @memberof VideoEventNotificationSettings
2269
+ */
2270
+ enabled: boolean;
2271
+ }
2272
+ /**
2273
+ *
2274
+ * @export
2275
+ * @interface VideoEventNotificationSettingsRequest
2276
+ */
2277
+ export interface VideoEventNotificationSettingsRequest {
2278
+ /**
2279
+ *
2280
+ * @type {VideoAPNSRequest}
2281
+ * @memberof VideoEventNotificationSettingsRequest
2282
+ */
2283
+ apns?: VideoAPNSRequest;
2284
+ /**
2285
+ *
2286
+ * @type {boolean}
2287
+ * @memberof VideoEventNotificationSettingsRequest
2288
+ */
2289
+ enabled?: boolean;
2290
+ }
2291
+ /**
2292
+ *
2293
+ * @export
2294
+ * @interface VideoGeofenceSettings
2295
+ */
2296
+ export interface VideoGeofenceSettings {
2297
+ /**
2298
+ *
2299
+ * @type {Array<string>}
2300
+ * @memberof VideoGeofenceSettings
2301
+ */
2302
+ names: Array<string>;
2303
+ }
2304
+ /**
2305
+ *
2306
+ * @export
2307
+ * @interface VideoGeofenceSettingsRequest
2308
+ */
2309
+ export interface VideoGeofenceSettingsRequest {
2310
+ /**
2311
+ *
2312
+ * @type {Array<string>}
2313
+ * @memberof VideoGeofenceSettingsRequest
2314
+ */
2315
+ names?: Array<string>;
2316
+ }
2317
+ /**
2318
+ *
2319
+ * @export
2320
+ * @interface VideoGetCallResponse
2321
+ */
2322
+ export interface VideoGetCallResponse {
2323
+ /**
2324
+ *
2325
+ * @type {VideoCallResponse}
2326
+ * @memberof VideoGetCallResponse
2327
+ */
2328
+ call: VideoCallResponse;
2329
+ /**
2330
+ *
2331
+ * @type {string}
2332
+ * @memberof VideoGetCallResponse
2333
+ */
2334
+ duration: string;
2335
+ /**
2336
+ *
2337
+ * @type {Array<VideoMemberResponse>}
2338
+ * @memberof VideoGetCallResponse
2339
+ */
2340
+ members: Array<VideoMemberResponse>;
2341
+ /**
2342
+ *
2343
+ * @type {VideoMemberResponse}
2344
+ * @memberof VideoGetCallResponse
2345
+ */
2346
+ membership?: VideoMemberResponse;
2347
+ /**
2348
+ *
2349
+ * @type {Array<VideoOwnCapability>}
2350
+ * @memberof VideoGetCallResponse
2351
+ */
2352
+ own_capabilities: Array<VideoOwnCapability>;
2353
+ }
2354
+ /**
2355
+ *
2356
+ * @export
2357
+ * @interface VideoGetCallTypeResponse
2358
+ */
2359
+ export interface VideoGetCallTypeResponse {
2360
+ /**
2361
+ *
2362
+ * @type {string}
2363
+ * @memberof VideoGetCallTypeResponse
2364
+ */
2365
+ created_at: string;
2366
+ /**
2367
+ *
2368
+ * @type {string}
2369
+ * @memberof VideoGetCallTypeResponse
2370
+ */
2371
+ duration: string;
2372
+ /**
2373
+ *
2374
+ * @type {{ [key: string]: Array<string>; }}
2375
+ * @memberof VideoGetCallTypeResponse
2376
+ */
2377
+ grants: { [key: string]: Array<string>; };
2378
+ /**
2379
+ *
2380
+ * @type {string}
2381
+ * @memberof VideoGetCallTypeResponse
2382
+ */
2383
+ name: string;
2384
+ /**
2385
+ *
2386
+ * @type {VideoNotificationSettings}
2387
+ * @memberof VideoGetCallTypeResponse
2388
+ */
2389
+ notification_settings: VideoNotificationSettings;
2390
+ /**
2391
+ *
2392
+ * @type {VideoCallSettingsResponse}
2393
+ * @memberof VideoGetCallTypeResponse
2394
+ */
2395
+ settings: VideoCallSettingsResponse;
2396
+ /**
2397
+ *
2398
+ * @type {string}
2399
+ * @memberof VideoGetCallTypeResponse
2400
+ */
2401
+ updated_at: string;
2402
+ }
2403
+ /**
2404
+ *
2405
+ * @export
2406
+ * @interface VideoGetEdgesResponse
2407
+ */
2408
+ export interface VideoGetEdgesResponse {
2409
+ /**
2410
+ * Duration of the request in human-readable format
2411
+ * @type {string}
2412
+ * @memberof VideoGetEdgesResponse
2413
+ */
2414
+ duration: string;
2415
+ /**
2416
+ *
2417
+ * @type {Array<VideoEdgeResponse>}
2418
+ * @memberof VideoGetEdgesResponse
2419
+ */
2420
+ edges: Array<VideoEdgeResponse>;
2421
+ }
2422
+ /**
2423
+ *
2424
+ * @export
2425
+ * @interface VideoGetOrCreateCallRequest
2426
+ */
2427
+ export interface VideoGetOrCreateCallRequest {
2428
+ /**
2429
+ *
2430
+ * @type {VideoCallRequest}
2431
+ * @memberof VideoGetOrCreateCallRequest
2432
+ */
2433
+ data?: VideoCallRequest;
2434
+ /**
2435
+ *
2436
+ * @type {number}
2437
+ * @memberof VideoGetOrCreateCallRequest
2438
+ */
2439
+ members_limit?: number;
2440
+ /**
2441
+ * if provided it sends a notification event to the members for this call
2442
+ * @type {boolean}
2443
+ * @memberof VideoGetOrCreateCallRequest
2444
+ */
2445
+ notify?: boolean;
2446
+ /**
2447
+ * if provided it sends a ring event to the members for this call
2448
+ * @type {boolean}
2449
+ * @memberof VideoGetOrCreateCallRequest
2450
+ */
2451
+ ring?: boolean;
2452
+ }
2453
+ /**
2454
+ *
2455
+ * @export
2456
+ * @interface VideoGetOrCreateCallResponse
2457
+ */
2458
+ export interface VideoGetOrCreateCallResponse {
2459
+ /**
2460
+ *
2461
+ * @type {VideoCallResponse}
2462
+ * @memberof VideoGetOrCreateCallResponse
2463
+ */
2464
+ call: VideoCallResponse;
2465
+ /**
2466
+ *
2467
+ * @type {boolean}
2468
+ * @memberof VideoGetOrCreateCallResponse
2469
+ */
2470
+ created: boolean;
2471
+ /**
2472
+ *
2473
+ * @type {string}
2474
+ * @memberof VideoGetOrCreateCallResponse
2475
+ */
2476
+ duration: string;
2477
+ /**
2478
+ *
2479
+ * @type {Array<VideoMemberResponse>}
2480
+ * @memberof VideoGetOrCreateCallResponse
2481
+ */
2482
+ members: Array<VideoMemberResponse>;
2483
+ /**
2484
+ *
2485
+ * @type {VideoMemberResponse}
2486
+ * @memberof VideoGetOrCreateCallResponse
2487
+ */
2488
+ membership?: VideoMemberResponse;
2489
+ /**
2490
+ *
2491
+ * @type {Array<VideoOwnCapability>}
2492
+ * @memberof VideoGetOrCreateCallResponse
2493
+ */
2494
+ own_capabilities: Array<VideoOwnCapability>;
2495
+ }
2496
+ /**
2497
+ *
2498
+ * @export
2499
+ * @interface VideoGoLiveRequest
2500
+ */
2501
+ export interface VideoGoLiveRequest {
2502
+ /**
2503
+ *
2504
+ * @type {boolean}
2505
+ * @memberof VideoGoLiveRequest
2506
+ */
2507
+ start_hls?: boolean;
2508
+ /**
2509
+ *
2510
+ * @type {boolean}
2511
+ * @memberof VideoGoLiveRequest
2512
+ */
2513
+ start_recording?: boolean;
2514
+ /**
2515
+ *
2516
+ * @type {boolean}
2517
+ * @memberof VideoGoLiveRequest
2518
+ */
2519
+ start_transcription?: boolean;
2520
+ }
2521
+ /**
2522
+ *
2523
+ * @export
2524
+ * @interface VideoGoLiveResponse
2525
+ */
2526
+ export interface VideoGoLiveResponse {
2527
+ /**
2528
+ *
2529
+ * @type {VideoCallResponse}
2530
+ * @memberof VideoGoLiveResponse
2531
+ */
2532
+ call: VideoCallResponse;
2533
+ /**
2534
+ * Duration of the request in human-readable format
2535
+ * @type {string}
2536
+ * @memberof VideoGoLiveResponse
2537
+ */
2538
+ duration: string;
2539
+ }
2540
+ /**
2541
+ *
2542
+ * @export
2543
+ * @interface VideoHLSSettingsRequest
2544
+ */
2545
+ export interface VideoHLSSettingsRequest {
2546
+ /**
2547
+ *
2548
+ * @type {boolean}
2549
+ * @memberof VideoHLSSettingsRequest
2550
+ */
2551
+ auto_on?: boolean;
2552
+ /**
2553
+ *
2554
+ * @type {boolean}
2555
+ * @memberof VideoHLSSettingsRequest
2556
+ */
2557
+ enabled?: boolean;
2558
+ /**
2559
+ *
2560
+ * @type {VideoLayoutSettingsRequest}
2561
+ * @memberof VideoHLSSettingsRequest
2562
+ */
2563
+ layout?: VideoLayoutSettingsRequest;
2564
+ /**
2565
+ *
2566
+ * @type {Array<string>}
2567
+ * @memberof VideoHLSSettingsRequest
2568
+ */
2569
+ quality_tracks?: Array<string>;
2570
+ }
2571
+ /**
2572
+ *
2573
+ * @export
2574
+ * @interface VideoHLSSettingsResponse
2575
+ */
2576
+ export interface VideoHLSSettingsResponse {
2577
+ /**
2578
+ *
2579
+ * @type {boolean}
2580
+ * @memberof VideoHLSSettingsResponse
2581
+ */
2582
+ auto_on: boolean;
2583
+ /**
2584
+ *
2585
+ * @type {boolean}
2586
+ * @memberof VideoHLSSettingsResponse
2587
+ */
2588
+ enabled: boolean;
2589
+ /**
2590
+ *
2591
+ * @type {VideoLayoutSettings}
2592
+ * @memberof VideoHLSSettingsResponse
2593
+ */
2594
+ layout: VideoLayoutSettings;
2595
+ /**
2596
+ *
2597
+ * @type {Array<string>}
2598
+ * @memberof VideoHLSSettingsResponse
2599
+ */
2600
+ quality_tracks: Array<string>;
2601
+ }
2602
+ /**
2603
+ *
2604
+ * @export
2605
+ * @interface VideoHealthCheckEvent
2606
+ */
2607
+ export interface VideoHealthCheckEvent {
2608
+ /**
2609
+ * The connection_id for this client
2610
+ * @type {string}
2611
+ * @memberof VideoHealthCheckEvent
2612
+ */
2613
+ connection_id: string;
2614
+ /**
2615
+ *
2616
+ * @type {string}
2617
+ * @memberof VideoHealthCheckEvent
2618
+ */
2619
+ created_at: string;
2620
+ /**
2621
+ * The type of event: "health.check" in this case
2622
+ * @type {string}
2623
+ * @memberof VideoHealthCheckEvent
2624
+ */
2625
+ type: string;
2626
+ }
2627
+ /**
2628
+ *
2629
+ * @export
2630
+ * @interface VideoICEServer
2631
+ */
2632
+ export interface VideoICEServer {
2633
+ /**
2634
+ *
2635
+ * @type {string}
2636
+ * @memberof VideoICEServer
2637
+ */
2638
+ password: string;
2639
+ /**
2640
+ *
2641
+ * @type {Array<string>}
2642
+ * @memberof VideoICEServer
2643
+ */
2644
+ urls: Array<string>;
2645
+ /**
2646
+ *
2647
+ * @type {string}
2648
+ * @memberof VideoICEServer
2649
+ */
2650
+ username: string;
2651
+ }
2652
+ /**
2653
+ *
2654
+ * @export
2655
+ * @interface VideoJoinCallRequest
2656
+ */
2657
+ export interface VideoJoinCallRequest {
2658
+ /**
2659
+ * if true the call will be created if it doesn't exist
2660
+ * @type {boolean}
2661
+ * @memberof VideoJoinCallRequest
2662
+ */
2663
+ create?: boolean;
2664
+ /**
2665
+ *
2666
+ * @type {VideoCallRequest}
2667
+ * @memberof VideoJoinCallRequest
2668
+ */
2669
+ data?: VideoCallRequest;
2670
+ /**
2671
+ *
2672
+ * @type {string}
2673
+ * @memberof VideoJoinCallRequest
2674
+ */
2675
+ location: string;
2676
+ /**
2677
+ *
2678
+ * @type {number}
2679
+ * @memberof VideoJoinCallRequest
2680
+ */
2681
+ members_limit?: number;
2682
+ /**
2683
+ * If the participant is migrating from another SFU, then this is the ID of the previous SFU
2684
+ * @type {string}
2685
+ * @memberof VideoJoinCallRequest
2686
+ */
2687
+ migrating_from?: string;
2688
+ /**
2689
+ *
2690
+ * @type {boolean}
2691
+ * @memberof VideoJoinCallRequest
2692
+ */
2693
+ notify?: boolean;
2694
+ /**
2695
+ * if true and the call is created, the notification will include ring=true
2696
+ * @type {boolean}
2697
+ * @memberof VideoJoinCallRequest
2698
+ */
2699
+ ring?: boolean;
2700
+ }
2701
+ /**
2702
+ *
2703
+ * @export
2704
+ * @interface VideoJoinCallResponse
2705
+ */
2706
+ export interface VideoJoinCallResponse {
2707
+ /**
2708
+ *
2709
+ * @type {VideoCallResponse}
2710
+ * @memberof VideoJoinCallResponse
2711
+ */
2712
+ call: VideoCallResponse;
2713
+ /**
2714
+ *
2715
+ * @type {boolean}
2716
+ * @memberof VideoJoinCallResponse
2717
+ */
2718
+ created: boolean;
2719
+ /**
2720
+ *
2721
+ * @type {VideoCredentials}
2722
+ * @memberof VideoJoinCallResponse
2723
+ */
2724
+ credentials: VideoCredentials;
2725
+ /**
2726
+ *
2727
+ * @type {string}
2728
+ * @memberof VideoJoinCallResponse
2729
+ */
2730
+ duration: string;
2731
+ /**
2732
+ *
2733
+ * @type {Array<VideoMemberResponse>}
2734
+ * @memberof VideoJoinCallResponse
2735
+ */
2736
+ members: Array<VideoMemberResponse>;
2737
+ /**
2738
+ *
2739
+ * @type {VideoMemberResponse}
2740
+ * @memberof VideoJoinCallResponse
2741
+ */
2742
+ membership?: VideoMemberResponse;
2743
+ /**
2744
+ *
2745
+ * @type {Array<VideoOwnCapability>}
2746
+ * @memberof VideoJoinCallResponse
2747
+ */
2748
+ own_capabilities: Array<VideoOwnCapability>;
2749
+ }
2750
+ /**
2751
+ *
2752
+ * @export
2753
+ * @interface VideoLayoutSettings
2754
+ */
2755
+ export interface VideoLayoutSettings {
2756
+ /**
2757
+ *
2758
+ * @type {string}
2759
+ * @memberof VideoLayoutSettings
2760
+ */
2761
+ external_app_url: string;
2762
+ /**
2763
+ *
2764
+ * @type {string}
2765
+ * @memberof VideoLayoutSettings
2766
+ */
2767
+ external_css_url: string;
2768
+ /**
2769
+ *
2770
+ * @type {string}
2771
+ * @memberof VideoLayoutSettings
2772
+ */
2773
+ name: VideoLayoutSettingsNameEnum;
2774
+ /**
2775
+ *
2776
+ * @type {{ [key: string]: any; }}
2777
+ * @memberof VideoLayoutSettings
2778
+ */
2779
+ options?: { [key: string]: any; };
2780
+ }
2781
+
2782
+
2783
+ /**
2784
+ * @export
2785
+ */
2786
+ export const VideoLayoutSettingsNameEnum = {
2787
+ SPOTLIGHT: 'spotlight',
2788
+ GRID: 'grid',
2789
+ SINGLE_PARTICIPANT: 'single-participant',
2790
+ MOBILE: 'mobile',
2791
+ CUSTOM: 'custom'
2792
+ } as const;
2793
+ export type VideoLayoutSettingsNameEnum = typeof VideoLayoutSettingsNameEnum[keyof typeof VideoLayoutSettingsNameEnum];
2794
+
2795
+ /**
2796
+ *
2797
+ * @export
2798
+ * @interface VideoLayoutSettingsRequest
2799
+ */
2800
+ export interface VideoLayoutSettingsRequest {
2801
+ /**
2802
+ *
2803
+ * @type {string}
2804
+ * @memberof VideoLayoutSettingsRequest
2805
+ */
2806
+ external_app_url?: string;
2807
+ /**
2808
+ *
2809
+ * @type {string}
2810
+ * @memberof VideoLayoutSettingsRequest
2811
+ */
2812
+ external_css_url?: string;
2813
+ /**
2814
+ *
2815
+ * @type {string}
2816
+ * @memberof VideoLayoutSettingsRequest
2817
+ */
2818
+ name: VideoLayoutSettingsRequestNameEnum;
2819
+ /**
2820
+ *
2821
+ * @type {{ [key: string]: any; }}
2822
+ * @memberof VideoLayoutSettingsRequest
2823
+ */
2824
+ options?: { [key: string]: any; };
2825
+ }
2826
+
2827
+
2828
+ /**
2829
+ * @export
2830
+ */
2831
+ export const VideoLayoutSettingsRequestNameEnum = {
2832
+ SPOTLIGHT: 'spotlight',
2833
+ GRID: 'grid',
2834
+ SINGLE_PARTICIPANT: 'single-participant',
2835
+ MOBILE: 'mobile',
2836
+ CUSTOM: 'custom'
2837
+ } as const;
2838
+ export type VideoLayoutSettingsRequestNameEnum = typeof VideoLayoutSettingsRequestNameEnum[keyof typeof VideoLayoutSettingsRequestNameEnum];
2839
+
2840
+ /**
2841
+ *
2842
+ * @export
2843
+ * @interface VideoListCallTypeResponse
2844
+ */
2845
+ export interface VideoListCallTypeResponse {
2846
+ /**
2847
+ *
2848
+ * @type {{ [key: string]: VideoCallTypeResponse; }}
2849
+ * @memberof VideoListCallTypeResponse
2850
+ */
2851
+ call_types: { [key: string]: VideoCallTypeResponse; };
2852
+ /**
2853
+ *
2854
+ * @type {string}
2855
+ * @memberof VideoListCallTypeResponse
2856
+ */
2857
+ duration: string;
2858
+ }
2859
+ /**
2860
+ *
2861
+ * @export
2862
+ * @interface VideoListDevicesResponse
2863
+ */
2864
+ export interface VideoListDevicesResponse {
2865
+ /**
2866
+ * List of devices
2867
+ * @type {Array<VideoDevice>}
2868
+ * @memberof VideoListDevicesResponse
2869
+ */
2870
+ devices: Array<VideoDevice>;
2871
+ /**
2872
+ *
2873
+ * @type {string}
2874
+ * @memberof VideoListDevicesResponse
2875
+ */
2876
+ duration: string;
2877
+ }
2878
+ /**
2879
+ *
2880
+ * @export
2881
+ * @interface VideoListRecordingsResponse
2882
+ */
2883
+ export interface VideoListRecordingsResponse {
2884
+ /**
2885
+ *
2886
+ * @type {string}
2887
+ * @memberof VideoListRecordingsResponse
2888
+ */
2889
+ duration: string;
2890
+ /**
2891
+ *
2892
+ * @type {Array<VideoCallRecording>}
2893
+ * @memberof VideoListRecordingsResponse
2894
+ */
2895
+ recordings: Array<VideoCallRecording>;
2896
+ }
2897
+ /**
2898
+ *
2899
+ * @export
2900
+ * @interface VideoMemberRequest
2901
+ */
2902
+ export interface VideoMemberRequest {
2903
+ /**
2904
+ * Custom data for this object
2905
+ * @type {{ [key: string]: any; }}
2906
+ * @memberof VideoMemberRequest
2907
+ */
2908
+ custom?: { [key: string]: any; };
2909
+ /**
2910
+ *
2911
+ * @type {string}
2912
+ * @memberof VideoMemberRequest
2913
+ */
2914
+ role?: string;
2915
+ /**
2916
+ *
2917
+ * @type {string}
2918
+ * @memberof VideoMemberRequest
2919
+ */
2920
+ user_id: string;
2921
+ }
2922
+ /**
2923
+ *
2924
+ * @export
2925
+ * @interface VideoMemberResponse
2926
+ */
2927
+ export interface VideoMemberResponse {
2928
+ /**
2929
+ * Date/time of creation
2930
+ * @type {string}
2931
+ * @memberof VideoMemberResponse
2932
+ */
2933
+ created_at: string;
2934
+ /**
2935
+ * Custom member response data
2936
+ * @type {{ [key: string]: any; }}
2937
+ * @memberof VideoMemberResponse
2938
+ */
2939
+ custom: { [key: string]: any; };
2940
+ /**
2941
+ * Date/time of deletion
2942
+ * @type {string}
2943
+ * @memberof VideoMemberResponse
2944
+ */
2945
+ deleted_at?: string;
2946
+ /**
2947
+ *
2948
+ * @type {string}
2949
+ * @memberof VideoMemberResponse
2950
+ */
2951
+ role?: string;
2952
+ /**
2953
+ * Date/time of the last update
2954
+ * @type {string}
2955
+ * @memberof VideoMemberResponse
2956
+ */
2957
+ updated_at: string;
2958
+ /**
2959
+ *
2960
+ * @type {VideoUserResponse}
2961
+ * @memberof VideoMemberResponse
2962
+ */
2963
+ user: VideoUserResponse;
2964
+ /**
2965
+ *
2966
+ * @type {string}
2967
+ * @memberof VideoMemberResponse
2968
+ */
2969
+ user_id: string;
2970
+ }
2971
+ /**
2972
+ *
2973
+ * @export
2974
+ * @interface VideoMuteUsersRequest
2975
+ */
2976
+ export interface VideoMuteUsersRequest {
2977
+ /**
2978
+ *
2979
+ * @type {boolean}
2980
+ * @memberof VideoMuteUsersRequest
2981
+ */
2982
+ audio?: boolean;
2983
+ /**
2984
+ *
2985
+ * @type {boolean}
2986
+ * @memberof VideoMuteUsersRequest
2987
+ */
2988
+ mute_all_users?: boolean;
2989
+ /**
2990
+ *
2991
+ * @type {boolean}
2992
+ * @memberof VideoMuteUsersRequest
2993
+ */
2994
+ screenshare?: boolean;
2995
+ /**
2996
+ *
2997
+ * @type {boolean}
2998
+ * @memberof VideoMuteUsersRequest
2999
+ */
3000
+ screenshare_audio?: boolean;
3001
+ /**
3002
+ *
3003
+ * @type {Array<string>}
3004
+ * @memberof VideoMuteUsersRequest
3005
+ */
3006
+ user_ids?: Array<string>;
3007
+ /**
3008
+ *
3009
+ * @type {boolean}
3010
+ * @memberof VideoMuteUsersRequest
3011
+ */
3012
+ video?: boolean;
3013
+ }
3014
+ /**
3015
+ *
3016
+ * @export
3017
+ * @interface VideoMuteUsersResponse
3018
+ */
3019
+ export interface VideoMuteUsersResponse {
3020
+ /**
3021
+ * Duration of the request in human-readable format
3022
+ * @type {string}
3023
+ * @memberof VideoMuteUsersResponse
3024
+ */
3025
+ duration: string;
3026
+ }
3027
+ /**
3028
+ *
3029
+ * @export
3030
+ * @interface VideoNotificationSettings
3031
+ */
3032
+ export interface VideoNotificationSettings {
3033
+ /**
3034
+ *
3035
+ * @type {VideoEventNotificationSettings}
3036
+ * @memberof VideoNotificationSettings
3037
+ */
3038
+ call_live_started: VideoEventNotificationSettings;
3039
+ /**
3040
+ *
3041
+ * @type {VideoEventNotificationSettings}
3042
+ * @memberof VideoNotificationSettings
3043
+ */
3044
+ call_notification: VideoEventNotificationSettings;
3045
+ /**
3046
+ *
3047
+ * @type {VideoEventNotificationSettings}
3048
+ * @memberof VideoNotificationSettings
3049
+ */
3050
+ call_ring: VideoEventNotificationSettings;
3051
+ /**
3052
+ *
3053
+ * @type {boolean}
3054
+ * @memberof VideoNotificationSettings
3055
+ */
3056
+ enabled: boolean;
3057
+ /**
3058
+ *
3059
+ * @type {VideoEventNotificationSettings}
3060
+ * @memberof VideoNotificationSettings
3061
+ */
3062
+ session_started: VideoEventNotificationSettings;
3063
+ }
3064
+ /**
3065
+ *
3066
+ * @export
3067
+ * @interface VideoNotificationSettingsRequest
3068
+ */
3069
+ export interface VideoNotificationSettingsRequest {
3070
+ /**
3071
+ *
3072
+ * @type {VideoEventNotificationSettingsRequest}
3073
+ * @memberof VideoNotificationSettingsRequest
3074
+ */
3075
+ call_live_started?: VideoEventNotificationSettingsRequest;
3076
+ /**
3077
+ *
3078
+ * @type {VideoEventNotificationSettingsRequest}
3079
+ * @memberof VideoNotificationSettingsRequest
3080
+ */
3081
+ call_notification?: VideoEventNotificationSettingsRequest;
3082
+ /**
3083
+ *
3084
+ * @type {VideoEventNotificationSettingsRequest}
3085
+ * @memberof VideoNotificationSettingsRequest
3086
+ */
3087
+ call_ring?: VideoEventNotificationSettingsRequest;
3088
+ /**
3089
+ *
3090
+ * @type {boolean}
3091
+ * @memberof VideoNotificationSettingsRequest
3092
+ */
3093
+ enabled?: boolean;
3094
+ /**
3095
+ *
3096
+ * @type {VideoEventNotificationSettingsRequest}
3097
+ * @memberof VideoNotificationSettingsRequest
3098
+ */
3099
+ session_started?: VideoEventNotificationSettingsRequest;
3100
+ }
3101
+
3102
+ /**
3103
+ * All possibility of string to use
3104
+ * @export
3105
+ */
3106
+ export const VideoOwnCapability = {
3107
+ BLOCK_USERS: 'block-users',
3108
+ CREATE_CALL: 'create-call',
3109
+ CREATE_REACTION: 'create-reaction',
3110
+ END_CALL: 'end-call',
3111
+ JOIN_BACKSTAGE: 'join-backstage',
3112
+ JOIN_CALL: 'join-call',
3113
+ JOIN_ENDED_CALL: 'join-ended-call',
3114
+ MUTE_USERS: 'mute-users',
3115
+ PIN_FOR_EVERYONE: 'pin-for-everyone',
3116
+ READ_CALL: 'read-call',
3117
+ REMOVE_CALL_MEMBER: 'remove-call-member',
3118
+ SCREENSHARE: 'screenshare',
3119
+ SEND_AUDIO: 'send-audio',
3120
+ SEND_VIDEO: 'send-video',
3121
+ START_BROADCAST_CALL: 'start-broadcast-call',
3122
+ START_RECORD_CALL: 'start-record-call',
3123
+ START_TRANSCRIPTION_CALL: 'start-transcription-call',
3124
+ STOP_BROADCAST_CALL: 'stop-broadcast-call',
3125
+ STOP_RECORD_CALL: 'stop-record-call',
3126
+ STOP_TRANSCRIPTION_CALL: 'stop-transcription-call',
3127
+ UPDATE_CALL: 'update-call',
3128
+ UPDATE_CALL_MEMBER: 'update-call-member',
3129
+ UPDATE_CALL_PERMISSIONS: 'update-call-permissions',
3130
+ UPDATE_CALL_SETTINGS: 'update-call-settings'
3131
+ } as const;
3132
+ export type VideoOwnCapability = typeof VideoOwnCapability[keyof typeof VideoOwnCapability];
3133
+
3134
+ /**
3135
+ *
3136
+ * @export
3137
+ * @interface VideoOwnUserResponse
3138
+ */
3139
+ export interface VideoOwnUserResponse {
3140
+ /**
3141
+ *
3142
+ * @type {string}
3143
+ * @memberof VideoOwnUserResponse
3144
+ */
3145
+ created_at: string;
3146
+ /**
3147
+ *
3148
+ * @type {{ [key: string]: any; }}
3149
+ * @memberof VideoOwnUserResponse
3150
+ */
3151
+ custom: { [key: string]: any; };
3152
+ /**
3153
+ *
3154
+ * @type {string}
3155
+ * @memberof VideoOwnUserResponse
3156
+ */
3157
+ deleted_at?: string;
3158
+ /**
3159
+ *
3160
+ * @type {Array<VideoDevice>}
3161
+ * @memberof VideoOwnUserResponse
3162
+ */
3163
+ devices: Array<VideoDevice>;
3164
+ /**
3165
+ *
3166
+ * @type {string}
3167
+ * @memberof VideoOwnUserResponse
3168
+ */
3169
+ id: string;
3170
+ /**
3171
+ *
3172
+ * @type {string}
3173
+ * @memberof VideoOwnUserResponse
3174
+ */
3175
+ image?: string;
3176
+ /**
3177
+ *
3178
+ * @type {string}
3179
+ * @memberof VideoOwnUserResponse
3180
+ */
3181
+ name?: string;
3182
+ /**
3183
+ *
3184
+ * @type {string}
3185
+ * @memberof VideoOwnUserResponse
3186
+ */
3187
+ role: string;
3188
+ /**
3189
+ *
3190
+ * @type {Array<string>}
3191
+ * @memberof VideoOwnUserResponse
3192
+ */
3193
+ teams: Array<string>;
3194
+ /**
3195
+ *
3196
+ * @type {string}
3197
+ * @memberof VideoOwnUserResponse
3198
+ */
3199
+ updated_at: string;
3200
+ }
3201
+ /**
3202
+ * This event is sent when a user requests access to a feature on a call,
3203
+ * clients receiving this event should display a permission request to the user
3204
+ * @export
3205
+ * @interface VideoPermissionRequestEvent
3206
+ */
3207
+ export interface VideoPermissionRequestEvent {
3208
+ /**
3209
+ *
3210
+ * @type {string}
3211
+ * @memberof VideoPermissionRequestEvent
3212
+ */
3213
+ call_cid: string;
3214
+ /**
3215
+ *
3216
+ * @type {string}
3217
+ * @memberof VideoPermissionRequestEvent
3218
+ */
3219
+ created_at: string;
3220
+ /**
3221
+ * The list of permissions requested by the user
3222
+ * @type {Array<string>}
3223
+ * @memberof VideoPermissionRequestEvent
3224
+ */
3225
+ permissions: Array<string>;
3226
+ /**
3227
+ * The type of event: "call.permission_request" in this case
3228
+ * @type {string}
3229
+ * @memberof VideoPermissionRequestEvent
3230
+ */
3231
+ type: string;
3232
+ /**
3233
+ *
3234
+ * @type {VideoUserResponse}
3235
+ * @memberof VideoPermissionRequestEvent
3236
+ */
3237
+ user: VideoUserResponse;
3238
+ }
3239
+ /**
3240
+ *
3241
+ * @export
3242
+ * @interface VideoPinRequest
3243
+ */
3244
+ export interface VideoPinRequest {
3245
+ /**
3246
+ *
3247
+ * @type {string}
3248
+ * @memberof VideoPinRequest
3249
+ */
3250
+ session_id: string;
3251
+ /**
3252
+ *
3253
+ * @type {string}
3254
+ * @memberof VideoPinRequest
3255
+ */
3256
+ user_id: string;
3257
+ }
3258
+ /**
3259
+ *
3260
+ * @export
3261
+ * @interface VideoPinResponse
3262
+ */
3263
+ export interface VideoPinResponse {
3264
+ /**
3265
+ * Duration of the request in human-readable format
3266
+ * @type {string}
3267
+ * @memberof VideoPinResponse
3268
+ */
3269
+ duration: string;
3270
+ }
3271
+ /**
3272
+ *
3273
+ * @export
3274
+ * @interface VideoQueryCallsRequest
3275
+ */
3276
+ export interface VideoQueryCallsRequest {
3277
+ /**
3278
+ *
3279
+ * @type {{ [key: string]: any; }}
3280
+ * @memberof VideoQueryCallsRequest
3281
+ */
3282
+ filter_conditions?: { [key: string]: any; };
3283
+ /**
3284
+ *
3285
+ * @type {number}
3286
+ * @memberof VideoQueryCallsRequest
3287
+ */
3288
+ limit?: number;
3289
+ /**
3290
+ *
3291
+ * @type {string}
3292
+ * @memberof VideoQueryCallsRequest
3293
+ */
3294
+ next?: string;
3295
+ /**
3296
+ *
3297
+ * @type {string}
3298
+ * @memberof VideoQueryCallsRequest
3299
+ */
3300
+ prev?: string;
3301
+ /**
3302
+ *
3303
+ * @type {Array<VideoSortParamRequest>}
3304
+ * @memberof VideoQueryCallsRequest
3305
+ */
3306
+ sort?: Array<VideoSortParamRequest>;
3307
+ /**
3308
+ *
3309
+ * @type {boolean}
3310
+ * @memberof VideoQueryCallsRequest
3311
+ */
3312
+ watch?: boolean;
3313
+ }
3314
+ /**
3315
+ *
3316
+ * @export
3317
+ * @interface VideoQueryCallsResponse
3318
+ */
3319
+ export interface VideoQueryCallsResponse {
3320
+ /**
3321
+ *
3322
+ * @type {Array<VideoCallStateResponseFields>}
3323
+ * @memberof VideoQueryCallsResponse
3324
+ */
3325
+ calls: Array<VideoCallStateResponseFields>;
3326
+ /**
3327
+ *
3328
+ * @type {string}
3329
+ * @memberof VideoQueryCallsResponse
3330
+ */
3331
+ duration: string;
3332
+ /**
3333
+ *
3334
+ * @type {string}
3335
+ * @memberof VideoQueryCallsResponse
3336
+ */
3337
+ next?: string;
3338
+ /**
3339
+ *
3340
+ * @type {string}
3341
+ * @memberof VideoQueryCallsResponse
3342
+ */
3343
+ prev?: string;
3344
+ }
3345
+ /**
3346
+ *
3347
+ * @export
3348
+ * @interface VideoQueryMembersRequest
3349
+ */
3350
+ export interface VideoQueryMembersRequest {
3351
+ /**
3352
+ *
3353
+ * @type {{ [key: string]: any; }}
3354
+ * @memberof VideoQueryMembersRequest
3355
+ */
3356
+ filter_conditions?: { [key: string]: any; };
3357
+ /**
3358
+ *
3359
+ * @type {string}
3360
+ * @memberof VideoQueryMembersRequest
3361
+ */
3362
+ id: string;
3363
+ /**
3364
+ *
3365
+ * @type {number}
3366
+ * @memberof VideoQueryMembersRequest
3367
+ */
3368
+ limit?: number;
3369
+ /**
3370
+ *
3371
+ * @type {string}
3372
+ * @memberof VideoQueryMembersRequest
3373
+ */
3374
+ next?: string;
3375
+ /**
3376
+ *
3377
+ * @type {string}
3378
+ * @memberof VideoQueryMembersRequest
3379
+ */
3380
+ prev?: string;
3381
+ /**
3382
+ *
3383
+ * @type {Array<VideoSortParamRequest>}
3384
+ * @memberof VideoQueryMembersRequest
3385
+ */
3386
+ sort?: Array<VideoSortParamRequest>;
3387
+ /**
3388
+ *
3389
+ * @type {string}
3390
+ * @memberof VideoQueryMembersRequest
3391
+ */
3392
+ type: string;
3393
+ }
3394
+ /**
3395
+ *
3396
+ * @export
3397
+ * @interface VideoQueryMembersResponse
3398
+ */
3399
+ export interface VideoQueryMembersResponse {
3400
+ /**
3401
+ * Duration of the request in human-readable format
3402
+ * @type {string}
3403
+ * @memberof VideoQueryMembersResponse
3404
+ */
3405
+ duration: string;
3406
+ /**
3407
+ *
3408
+ * @type {Array<VideoMemberResponse>}
3409
+ * @memberof VideoQueryMembersResponse
3410
+ */
3411
+ members: Array<VideoMemberResponse>;
3412
+ /**
3413
+ *
3414
+ * @type {string}
3415
+ * @memberof VideoQueryMembersResponse
3416
+ */
3417
+ next?: string;
3418
+ /**
3419
+ *
3420
+ * @type {string}
3421
+ * @memberof VideoQueryMembersResponse
3422
+ */
3423
+ prev?: string;
3424
+ }
3425
+ /**
3426
+ * RTMP input settings
3427
+ * @export
3428
+ * @interface VideoRTMPIngress
3429
+ */
3430
+ export interface VideoRTMPIngress {
3431
+ /**
3432
+ *
3433
+ * @type {string}
3434
+ * @memberof VideoRTMPIngress
3435
+ */
3436
+ address: string;
3437
+ }
3438
+ /**
3439
+ *
3440
+ * @export
3441
+ * @interface VideoReactionResponse
3442
+ */
3443
+ export interface VideoReactionResponse {
3444
+ /**
3445
+ *
3446
+ * @type {{ [key: string]: any; }}
3447
+ * @memberof VideoReactionResponse
3448
+ */
3449
+ custom?: { [key: string]: any; };
3450
+ /**
3451
+ *
3452
+ * @type {string}
3453
+ * @memberof VideoReactionResponse
3454
+ */
3455
+ emoji_code?: string;
3456
+ /**
3457
+ *
3458
+ * @type {string}
3459
+ * @memberof VideoReactionResponse
3460
+ */
3461
+ type: string;
3462
+ /**
3463
+ *
3464
+ * @type {VideoUserResponse}
3465
+ * @memberof VideoReactionResponse
3466
+ */
3467
+ user: VideoUserResponse;
3468
+ }
3469
+ /**
3470
+ *
3471
+ * @export
3472
+ * @interface VideoRecordSettingsRequest
3473
+ */
3474
+ export interface VideoRecordSettingsRequest {
3475
+ /**
3476
+ *
3477
+ * @type {boolean}
3478
+ * @memberof VideoRecordSettingsRequest
3479
+ */
3480
+ audio_only?: boolean;
3481
+ /**
3482
+ *
3483
+ * @type {VideoLayoutSettingsRequest}
3484
+ * @memberof VideoRecordSettingsRequest
3485
+ */
3486
+ layout?: VideoLayoutSettingsRequest;
3487
+ /**
3488
+ *
3489
+ * @type {string}
3490
+ * @memberof VideoRecordSettingsRequest
3491
+ */
3492
+ mode: VideoRecordSettingsRequestModeEnum;
3493
+ /**
3494
+ *
3495
+ * @type {string}
3496
+ * @memberof VideoRecordSettingsRequest
3497
+ */
3498
+ quality?: VideoRecordSettingsRequestQualityEnum;
3499
+ }
3500
+
3501
+
3502
+ /**
3503
+ * @export
3504
+ */
3505
+ export const VideoRecordSettingsRequestModeEnum = {
3506
+ AVAILABLE: 'available',
3507
+ DISABLED: 'disabled',
3508
+ AUTO_ON: 'auto-on'
3509
+ } as const;
3510
+ export type VideoRecordSettingsRequestModeEnum = typeof VideoRecordSettingsRequestModeEnum[keyof typeof VideoRecordSettingsRequestModeEnum];
3511
+
3512
+ /**
3513
+ * @export
3514
+ */
3515
+ export const VideoRecordSettingsRequestQualityEnum = {
3516
+ _360P: '360p',
3517
+ _480P: '480p',
3518
+ _720P: '720p',
3519
+ _1080P: '1080p',
3520
+ _1440P: '1440p'
3521
+ } as const;
3522
+ export type VideoRecordSettingsRequestQualityEnum = typeof VideoRecordSettingsRequestQualityEnum[keyof typeof VideoRecordSettingsRequestQualityEnum];
3523
+
3524
+ /**
3525
+ *
3526
+ * @export
3527
+ * @interface VideoRecordSettingsResponse
3528
+ */
3529
+ export interface VideoRecordSettingsResponse {
3530
+ /**
3531
+ *
3532
+ * @type {boolean}
3533
+ * @memberof VideoRecordSettingsResponse
3534
+ */
3535
+ audio_only: boolean;
3536
+ /**
3537
+ *
3538
+ * @type {VideoLayoutSettings}
3539
+ * @memberof VideoRecordSettingsResponse
3540
+ */
3541
+ layout: VideoLayoutSettings;
3542
+ /**
3543
+ *
3544
+ * @type {string}
3545
+ * @memberof VideoRecordSettingsResponse
3546
+ */
3547
+ mode: string;
3548
+ /**
3549
+ *
3550
+ * @type {string}
3551
+ * @memberof VideoRecordSettingsResponse
3552
+ */
3553
+ quality: string;
3554
+ }
3555
+ /**
3556
+ *
3557
+ * @export
3558
+ * @interface VideoRejectCallResponse
3559
+ */
3560
+ export interface VideoRejectCallResponse {
3561
+ /**
3562
+ *
3563
+ * @type {string}
3564
+ * @memberof VideoRejectCallResponse
3565
+ */
3566
+ duration: string;
3567
+ }
3568
+ /**
3569
+ *
3570
+ * @export
3571
+ * @interface VideoRequestPermissionRequest
3572
+ */
3573
+ export interface VideoRequestPermissionRequest {
3574
+ /**
3575
+ *
3576
+ * @type {Array<string>}
3577
+ * @memberof VideoRequestPermissionRequest
3578
+ */
3579
+ permissions: Array<string>;
3580
+ }
3581
+ /**
3582
+ *
3583
+ * @export
3584
+ * @interface VideoRequestPermissionResponse
3585
+ */
3586
+ export interface VideoRequestPermissionResponse {
3587
+ /**
3588
+ *
3589
+ * @type {string}
3590
+ * @memberof VideoRequestPermissionResponse
3591
+ */
3592
+ duration: string;
3593
+ }
3594
+ /**
3595
+ *
3596
+ * @export
3597
+ * @interface VideoResponse
3598
+ */
3599
+ export interface VideoResponse {
3600
+ /**
3601
+ * Duration of the request in human-readable format
3602
+ * @type {string}
3603
+ * @memberof VideoResponse
3604
+ */
3605
+ duration: string;
3606
+ }
3607
+ /**
3608
+ *
3609
+ * @export
3610
+ * @interface VideoRingSettings
3611
+ */
3612
+ export interface VideoRingSettings {
3613
+ /**
3614
+ *
3615
+ * @type {number}
3616
+ * @memberof VideoRingSettings
3617
+ */
3618
+ auto_cancel_timeout_ms: number;
3619
+ /**
3620
+ *
3621
+ * @type {number}
3622
+ * @memberof VideoRingSettings
3623
+ */
3624
+ incoming_call_timeout_ms: number;
3625
+ }
3626
+ /**
3627
+ *
3628
+ * @export
3629
+ * @interface VideoRingSettingsRequest
3630
+ */
3631
+ export interface VideoRingSettingsRequest {
3632
+ /**
3633
+ *
3634
+ * @type {number}
3635
+ * @memberof VideoRingSettingsRequest
3636
+ */
3637
+ auto_cancel_timeout_ms?: number;
3638
+ /**
3639
+ *
3640
+ * @type {number}
3641
+ * @memberof VideoRingSettingsRequest
3642
+ */
3643
+ incoming_call_timeout_ms?: number;
3644
+ }
3645
+ /**
3646
+ *
3647
+ * @export
3648
+ * @interface VideoSFUResponse
3649
+ */
3650
+ export interface VideoSFUResponse {
3651
+ /**
3652
+ *
3653
+ * @type {string}
3654
+ * @memberof VideoSFUResponse
3655
+ */
3656
+ edge_name: string;
3657
+ /**
3658
+ *
3659
+ * @type {string}
3660
+ * @memberof VideoSFUResponse
3661
+ */
3662
+ url: string;
3663
+ /**
3664
+ *
3665
+ * @type {string}
3666
+ * @memberof VideoSFUResponse
3667
+ */
3668
+ ws_endpoint: string;
3669
+ }
3670
+ /**
3671
+ *
3672
+ * @export
3673
+ * @interface VideoScreensharingSettings
3674
+ */
3675
+ export interface VideoScreensharingSettings {
3676
+ /**
3677
+ *
3678
+ * @type {boolean}
3679
+ * @memberof VideoScreensharingSettings
3680
+ */
3681
+ access_request_enabled: boolean;
3682
+ /**
3683
+ *
3684
+ * @type {boolean}
3685
+ * @memberof VideoScreensharingSettings
3686
+ */
3687
+ enabled: boolean;
3688
+ }
3689
+ /**
3690
+ *
3691
+ * @export
3692
+ * @interface VideoScreensharingSettingsRequest
3693
+ */
3694
+ export interface VideoScreensharingSettingsRequest {
3695
+ /**
3696
+ *
3697
+ * @type {boolean}
3698
+ * @memberof VideoScreensharingSettingsRequest
3699
+ */
3700
+ access_request_enabled?: boolean;
3701
+ /**
3702
+ *
3703
+ * @type {boolean}
3704
+ * @memberof VideoScreensharingSettingsRequest
3705
+ */
3706
+ enabled?: boolean;
3707
+ }
3708
+ /**
3709
+ *
3710
+ * @export
3711
+ * @interface VideoSendEventRequest
3712
+ */
3713
+ export interface VideoSendEventRequest {
3714
+ /**
3715
+ *
3716
+ * @type {{ [key: string]: any; }}
3717
+ * @memberof VideoSendEventRequest
3718
+ */
3719
+ custom?: { [key: string]: any; };
3720
+ }
3721
+ /**
3722
+ *
3723
+ * @export
3724
+ * @interface VideoSendEventResponse
3725
+ */
3726
+ export interface VideoSendEventResponse {
3727
+ /**
3728
+ *
3729
+ * @type {string}
3730
+ * @memberof VideoSendEventResponse
3731
+ */
3732
+ duration: string;
3733
+ }
3734
+ /**
3735
+ *
3736
+ * @export
3737
+ * @interface VideoSendReactionRequest
3738
+ */
3739
+ export interface VideoSendReactionRequest {
3740
+ /**
3741
+ *
3742
+ * @type {{ [key: string]: any; }}
3743
+ * @memberof VideoSendReactionRequest
3744
+ */
3745
+ custom?: { [key: string]: any; };
3746
+ /**
3747
+ *
3748
+ * @type {string}
3749
+ * @memberof VideoSendReactionRequest
3750
+ */
3751
+ emoji_code?: string;
3752
+ /**
3753
+ *
3754
+ * @type {string}
3755
+ * @memberof VideoSendReactionRequest
3756
+ */
3757
+ type: string;
3758
+ }
3759
+ /**
3760
+ *
3761
+ * @export
3762
+ * @interface VideoSendReactionResponse
3763
+ */
3764
+ export interface VideoSendReactionResponse {
3765
+ /**
3766
+ * Duration of the request in human-readable format
3767
+ * @type {string}
3768
+ * @memberof VideoSendReactionResponse
3769
+ */
3770
+ duration: string;
3771
+ /**
3772
+ *
3773
+ * @type {VideoReactionResponse}
3774
+ * @memberof VideoSendReactionResponse
3775
+ */
3776
+ reaction: VideoReactionResponse;
3777
+ }
3778
+ /**
3779
+ *
3780
+ * @export
3781
+ * @interface VideoSortParamRequest
3782
+ */
3783
+ export interface VideoSortParamRequest {
3784
+ /**
3785
+ * Direction of sorting, -1 for descending, 1 for ascending
3786
+ * @type {number}
3787
+ * @memberof VideoSortParamRequest
3788
+ */
3789
+ direction?: number;
3790
+ /**
3791
+ * Name of field to sort by
3792
+ * @type {string}
3793
+ * @memberof VideoSortParamRequest
3794
+ */
3795
+ field?: string;
3796
+ }
3797
+ /**
3798
+ *
3799
+ * @export
3800
+ * @interface VideoStartHLSBroadcastingResponse
3801
+ */
3802
+ export interface VideoStartHLSBroadcastingResponse {
3803
+ /**
3804
+ * Duration of the request in human-readable format
3805
+ * @type {string}
3806
+ * @memberof VideoStartHLSBroadcastingResponse
3807
+ */
3808
+ duration: string;
3809
+ /**
3810
+ *
3811
+ * @type {string}
3812
+ * @memberof VideoStartHLSBroadcastingResponse
3813
+ */
3814
+ playlist_url: string;
3815
+ }
3816
+ /**
3817
+ *
3818
+ * @export
3819
+ * @interface VideoStartRecordingResponse
3820
+ */
3821
+ export interface VideoStartRecordingResponse {
3822
+ /**
3823
+ *
3824
+ * @type {string}
3825
+ * @memberof VideoStartRecordingResponse
3826
+ */
3827
+ duration: string;
3828
+ }
3829
+ /**
3830
+ *
3831
+ * @export
3832
+ * @interface VideoStartTranscriptionResponse
3833
+ */
3834
+ export interface VideoStartTranscriptionResponse {
3835
+ /**
3836
+ *
3837
+ * @type {string}
3838
+ * @memberof VideoStartTranscriptionResponse
3839
+ */
3840
+ duration: string;
3841
+ }
3842
+ /**
3843
+ *
3844
+ * @export
3845
+ * @interface VideoStopHLSBroadcastingResponse
3846
+ */
3847
+ export interface VideoStopHLSBroadcastingResponse {
3848
+ /**
3849
+ * Duration of the request in human-readable format
3850
+ * @type {string}
3851
+ * @memberof VideoStopHLSBroadcastingResponse
3852
+ */
3853
+ duration: string;
3854
+ }
3855
+ /**
3856
+ *
3857
+ * @export
3858
+ * @interface VideoStopLiveResponse
3859
+ */
3860
+ export interface VideoStopLiveResponse {
3861
+ /**
3862
+ *
3863
+ * @type {VideoCallResponse}
3864
+ * @memberof VideoStopLiveResponse
3865
+ */
3866
+ call: VideoCallResponse;
3867
+ /**
3868
+ * Duration of the request in human-readable format
3869
+ * @type {string}
3870
+ * @memberof VideoStopLiveResponse
3871
+ */
3872
+ duration: string;
3873
+ }
3874
+ /**
3875
+ *
3876
+ * @export
3877
+ * @interface VideoStopRecordingResponse
3878
+ */
3879
+ export interface VideoStopRecordingResponse {
3880
+ /**
3881
+ * Duration of the request in human-readable format
3882
+ * @type {string}
3883
+ * @memberof VideoStopRecordingResponse
3884
+ */
3885
+ duration: string;
3886
+ }
3887
+ /**
3888
+ *
3889
+ * @export
3890
+ * @interface VideoStopTranscriptionResponse
3891
+ */
3892
+ export interface VideoStopTranscriptionResponse {
3893
+ /**
3894
+ * Duration of the request in human-readable format
3895
+ * @type {string}
3896
+ * @memberof VideoStopTranscriptionResponse
3897
+ */
3898
+ duration: string;
3899
+ }
3900
+ /**
3901
+ *
3902
+ * @export
3903
+ * @interface VideoTargetResolution
3904
+ */
3905
+ export interface VideoTargetResolution {
3906
+ /**
3907
+ *
3908
+ * @type {number}
3909
+ * @memberof VideoTargetResolution
3910
+ */
3911
+ bitrate: number;
3912
+ /**
3913
+ *
3914
+ * @type {number}
3915
+ * @memberof VideoTargetResolution
3916
+ */
3917
+ height: number;
3918
+ /**
3919
+ *
3920
+ * @type {number}
3921
+ * @memberof VideoTargetResolution
3922
+ */
3923
+ width: number;
3924
+ }
3925
+ /**
3926
+ *
3927
+ * @export
3928
+ * @interface VideoTargetResolutionRequest
3929
+ */
3930
+ export interface VideoTargetResolutionRequest {
3931
+ /**
3932
+ *
3933
+ * @type {number}
3934
+ * @memberof VideoTargetResolutionRequest
3935
+ */
3936
+ bitrate?: number;
3937
+ /**
3938
+ *
3939
+ * @type {number}
3940
+ * @memberof VideoTargetResolutionRequest
3941
+ */
3942
+ height?: number;
3943
+ /**
3944
+ *
3945
+ * @type {number}
3946
+ * @memberof VideoTargetResolutionRequest
3947
+ */
3948
+ width?: number;
3949
+ }
3950
+ /**
3951
+ *
3952
+ * @export
3953
+ * @interface VideoThumbnailResponse
3954
+ */
3955
+ export interface VideoThumbnailResponse {
3956
+ /**
3957
+ *
3958
+ * @type {string}
3959
+ * @memberof VideoThumbnailResponse
3960
+ */
3961
+ image_url: string;
3962
+ }
3963
+ /**
3964
+ *
3965
+ * @export
3966
+ * @interface VideoThumbnailsSettings
3967
+ */
3968
+ export interface VideoThumbnailsSettings {
3969
+ /**
3970
+ *
3971
+ * @type {boolean}
3972
+ * @memberof VideoThumbnailsSettings
3973
+ */
3974
+ enabled: boolean;
3975
+ }
3976
+ /**
3977
+ *
3978
+ * @export
3979
+ * @interface VideoThumbnailsSettingsRequest
3980
+ */
3981
+ export interface VideoThumbnailsSettingsRequest {
3982
+ /**
3983
+ *
3984
+ * @type {boolean}
3985
+ * @memberof VideoThumbnailsSettingsRequest
3986
+ */
3987
+ enabled?: boolean;
3988
+ }
3989
+ /**
3990
+ *
3991
+ * @export
3992
+ * @interface VideoTranscriptionSettings
3993
+ */
3994
+ export interface VideoTranscriptionSettings {
3995
+ /**
3996
+ *
3997
+ * @type {string}
3998
+ * @memberof VideoTranscriptionSettings
3999
+ */
4000
+ closed_caption_mode: string;
4001
+ /**
4002
+ *
4003
+ * @type {string}
4004
+ * @memberof VideoTranscriptionSettings
4005
+ */
4006
+ mode: VideoTranscriptionSettingsModeEnum;
4007
+ }
4008
+
4009
+
4010
+ /**
4011
+ * @export
4012
+ */
4013
+ export const VideoTranscriptionSettingsModeEnum = {
4014
+ AVAILABLE: 'available',
4015
+ DISABLED: 'disabled',
4016
+ AUTO_ON: 'auto-on'
4017
+ } as const;
4018
+ export type VideoTranscriptionSettingsModeEnum = typeof VideoTranscriptionSettingsModeEnum[keyof typeof VideoTranscriptionSettingsModeEnum];
4019
+
4020
+ /**
4021
+ *
4022
+ * @export
4023
+ * @interface VideoTranscriptionSettingsRequest
4024
+ */
4025
+ export interface VideoTranscriptionSettingsRequest {
4026
+ /**
4027
+ *
4028
+ * @type {string}
4029
+ * @memberof VideoTranscriptionSettingsRequest
4030
+ */
4031
+ closed_caption_mode?: string;
4032
+ /**
4033
+ *
4034
+ * @type {string}
4035
+ * @memberof VideoTranscriptionSettingsRequest
4036
+ */
4037
+ mode?: VideoTranscriptionSettingsRequestModeEnum;
4038
+ }
4039
+
4040
+
4041
+ /**
4042
+ * @export
4043
+ */
4044
+ export const VideoTranscriptionSettingsRequestModeEnum = {
4045
+ AVAILABLE: 'available',
4046
+ DISABLED: 'disabled',
4047
+ AUTO_ON: 'auto-on'
4048
+ } as const;
4049
+ export type VideoTranscriptionSettingsRequestModeEnum = typeof VideoTranscriptionSettingsRequestModeEnum[keyof typeof VideoTranscriptionSettingsRequestModeEnum];
4050
+
4051
+ /**
4052
+ *
4053
+ * @export
4054
+ * @interface VideoUnblockUserRequest
4055
+ */
4056
+ export interface VideoUnblockUserRequest {
4057
+ /**
4058
+ * the user to unblock
4059
+ * @type {string}
4060
+ * @memberof VideoUnblockUserRequest
4061
+ */
4062
+ user_id: string;
4063
+ }
4064
+ /**
4065
+ *
4066
+ * @export
4067
+ * @interface VideoUnblockUserResponse
4068
+ */
4069
+ export interface VideoUnblockUserResponse {
4070
+ /**
4071
+ * Duration of the request in human-readable format
4072
+ * @type {string}
4073
+ * @memberof VideoUnblockUserResponse
4074
+ */
4075
+ duration: string;
4076
+ }
4077
+ /**
4078
+ * This event is sent when a user is unblocked on a call,
4079
+ * this can be useful to notify the user that they can now join the call again
4080
+ * @export
4081
+ * @interface VideoUnblockedUserEvent
4082
+ */
4083
+ export interface VideoUnblockedUserEvent {
4084
+ /**
4085
+ *
4086
+ * @type {string}
4087
+ * @memberof VideoUnblockedUserEvent
4088
+ */
4089
+ call_cid: string;
4090
+ /**
4091
+ *
4092
+ * @type {string}
4093
+ * @memberof VideoUnblockedUserEvent
4094
+ */
4095
+ created_at: string;
4096
+ /**
4097
+ * The type of event: "call.unblocked_user" in this case
4098
+ * @type {string}
4099
+ * @memberof VideoUnblockedUserEvent
4100
+ */
4101
+ type: string;
4102
+ /**
4103
+ *
4104
+ * @type {VideoUserResponse}
4105
+ * @memberof VideoUnblockedUserEvent
4106
+ */
4107
+ user: VideoUserResponse;
4108
+ }
4109
+ /**
4110
+ *
4111
+ * @export
4112
+ * @interface VideoUnpinRequest
4113
+ */
4114
+ export interface VideoUnpinRequest {
4115
+ /**
4116
+ *
4117
+ * @type {string}
4118
+ * @memberof VideoUnpinRequest
4119
+ */
4120
+ session_id: string;
4121
+ /**
4122
+ *
4123
+ * @type {string}
4124
+ * @memberof VideoUnpinRequest
4125
+ */
4126
+ user_id: string;
4127
+ }
4128
+ /**
4129
+ *
4130
+ * @export
4131
+ * @interface VideoUnpinResponse
4132
+ */
4133
+ export interface VideoUnpinResponse {
4134
+ /**
4135
+ * Duration of the request in human-readable format
4136
+ * @type {string}
4137
+ * @memberof VideoUnpinResponse
4138
+ */
4139
+ duration: string;
4140
+ }
4141
+ /**
4142
+ *
4143
+ * @export
4144
+ * @interface VideoUpdateCallMembersRequest
4145
+ */
4146
+ export interface VideoUpdateCallMembersRequest {
4147
+ /**
4148
+ * List of userID to remove
4149
+ * @type {Array<string>}
4150
+ * @memberof VideoUpdateCallMembersRequest
4151
+ */
4152
+ remove_members?: Array<string>;
4153
+ /**
4154
+ * List of members to update or insert
4155
+ * @type {Array<VideoMemberRequest>}
4156
+ * @memberof VideoUpdateCallMembersRequest
4157
+ */
4158
+ update_members?: Array<VideoMemberRequest>;
4159
+ }
4160
+ /**
4161
+ *
4162
+ * @export
4163
+ * @interface VideoUpdateCallMembersResponse
4164
+ */
4165
+ export interface VideoUpdateCallMembersResponse {
4166
+ /**
4167
+ * Duration of the request in human-readable format
4168
+ * @type {string}
4169
+ * @memberof VideoUpdateCallMembersResponse
4170
+ */
4171
+ duration: string;
4172
+ /**
4173
+ *
4174
+ * @type {Array<VideoMemberResponse>}
4175
+ * @memberof VideoUpdateCallMembersResponse
4176
+ */
4177
+ members: Array<VideoMemberResponse>;
4178
+ }
4179
+ /**
4180
+ *
4181
+ * @export
4182
+ * @interface VideoUpdateCallRequest
4183
+ */
4184
+ export interface VideoUpdateCallRequest {
4185
+ /**
4186
+ * Custom data for this object
4187
+ * @type {{ [key: string]: any; }}
4188
+ * @memberof VideoUpdateCallRequest
4189
+ */
4190
+ custom?: { [key: string]: any; };
4191
+ /**
4192
+ *
4193
+ * @type {VideoCallSettingsRequest}
4194
+ * @memberof VideoUpdateCallRequest
4195
+ */
4196
+ settings_override?: VideoCallSettingsRequest;
4197
+ /**
4198
+ * the time the call is scheduled to start
4199
+ * @type {string}
4200
+ * @memberof VideoUpdateCallRequest
4201
+ */
4202
+ starts_at?: string;
4203
+ }
4204
+ /**
4205
+ * Represents a call
4206
+ * @export
4207
+ * @interface VideoUpdateCallResponse
4208
+ */
4209
+ export interface VideoUpdateCallResponse {
4210
+ /**
4211
+ *
4212
+ * @type {VideoCallResponse}
4213
+ * @memberof VideoUpdateCallResponse
4214
+ */
4215
+ call: VideoCallResponse;
4216
+ /**
4217
+ *
4218
+ * @type {string}
4219
+ * @memberof VideoUpdateCallResponse
4220
+ */
4221
+ duration: string;
4222
+ /**
4223
+ *
4224
+ * @type {Array<VideoMemberResponse>}
4225
+ * @memberof VideoUpdateCallResponse
4226
+ */
4227
+ members: Array<VideoMemberResponse>;
4228
+ /**
4229
+ *
4230
+ * @type {VideoMemberResponse}
4231
+ * @memberof VideoUpdateCallResponse
4232
+ */
4233
+ membership?: VideoMemberResponse;
4234
+ /**
4235
+ *
4236
+ * @type {Array<VideoOwnCapability>}
4237
+ * @memberof VideoUpdateCallResponse
4238
+ */
4239
+ own_capabilities: Array<VideoOwnCapability>;
4240
+ }
4241
+ /**
4242
+ *
4243
+ * @export
4244
+ * @interface VideoUpdateCallTypeRequest
4245
+ */
4246
+ export interface VideoUpdateCallTypeRequest {
4247
+ /**
4248
+ *
4249
+ * @type {{ [key: string]: Array<string>; }}
4250
+ * @memberof VideoUpdateCallTypeRequest
4251
+ */
4252
+ grants?: { [key: string]: Array<string>; };
4253
+ /**
4254
+ *
4255
+ * @type {VideoNotificationSettingsRequest}
4256
+ * @memberof VideoUpdateCallTypeRequest
4257
+ */
4258
+ notification_settings?: VideoNotificationSettingsRequest;
4259
+ /**
4260
+ *
4261
+ * @type {VideoCallSettingsRequest}
4262
+ * @memberof VideoUpdateCallTypeRequest
4263
+ */
4264
+ settings?: VideoCallSettingsRequest;
4265
+ }
4266
+ /**
4267
+ *
4268
+ * @export
4269
+ * @interface VideoUpdateCallTypeResponse
4270
+ */
4271
+ export interface VideoUpdateCallTypeResponse {
4272
+ /**
4273
+ *
4274
+ * @type {string}
4275
+ * @memberof VideoUpdateCallTypeResponse
4276
+ */
4277
+ created_at: string;
4278
+ /**
4279
+ *
4280
+ * @type {string}
4281
+ * @memberof VideoUpdateCallTypeResponse
4282
+ */
4283
+ duration: string;
4284
+ /**
4285
+ *
4286
+ * @type {{ [key: string]: Array<string>; }}
4287
+ * @memberof VideoUpdateCallTypeResponse
4288
+ */
4289
+ grants: { [key: string]: Array<string>; };
4290
+ /**
4291
+ *
4292
+ * @type {string}
4293
+ * @memberof VideoUpdateCallTypeResponse
4294
+ */
4295
+ name: string;
4296
+ /**
4297
+ *
4298
+ * @type {VideoNotificationSettings}
4299
+ * @memberof VideoUpdateCallTypeResponse
4300
+ */
4301
+ notification_settings: VideoNotificationSettings;
4302
+ /**
4303
+ *
4304
+ * @type {VideoCallSettingsResponse}
4305
+ * @memberof VideoUpdateCallTypeResponse
4306
+ */
4307
+ settings: VideoCallSettingsResponse;
4308
+ /**
4309
+ *
4310
+ * @type {string}
4311
+ * @memberof VideoUpdateCallTypeResponse
4312
+ */
4313
+ updated_at: string;
4314
+ }
4315
+ /**
4316
+ *
4317
+ * @export
4318
+ * @interface VideoUpdateUserPermissionsRequest
4319
+ */
4320
+ export interface VideoUpdateUserPermissionsRequest {
4321
+ /**
4322
+ *
4323
+ * @type {Array<string>}
4324
+ * @memberof VideoUpdateUserPermissionsRequest
4325
+ */
4326
+ grant_permissions?: Array<string>;
4327
+ /**
4328
+ *
4329
+ * @type {Array<string>}
4330
+ * @memberof VideoUpdateUserPermissionsRequest
4331
+ */
4332
+ revoke_permissions?: Array<string>;
4333
+ /**
4334
+ *
4335
+ * @type {string}
4336
+ * @memberof VideoUpdateUserPermissionsRequest
4337
+ */
4338
+ user_id: string;
4339
+ }
4340
+ /**
4341
+ *
4342
+ * @export
4343
+ * @interface VideoUpdateUserPermissionsResponse
4344
+ */
4345
+ export interface VideoUpdateUserPermissionsResponse {
4346
+ /**
4347
+ * Duration of the request in human-readable format
4348
+ * @type {string}
4349
+ * @memberof VideoUpdateUserPermissionsResponse
4350
+ */
4351
+ duration: string;
4352
+ }
4353
+ /**
4354
+ * This event is sent to notify about permission changes for a user, clients receiving this event should update their UI accordingly
4355
+ * @export
4356
+ * @interface VideoUpdatedCallPermissionsEvent
4357
+ */
4358
+ export interface VideoUpdatedCallPermissionsEvent {
4359
+ /**
4360
+ *
4361
+ * @type {string}
4362
+ * @memberof VideoUpdatedCallPermissionsEvent
4363
+ */
4364
+ call_cid: string;
4365
+ /**
4366
+ *
4367
+ * @type {string}
4368
+ * @memberof VideoUpdatedCallPermissionsEvent
4369
+ */
4370
+ created_at: string;
4371
+ /**
4372
+ * The capabilities of the current user
4373
+ * @type {Array<VideoOwnCapability>}
4374
+ * @memberof VideoUpdatedCallPermissionsEvent
4375
+ */
4376
+ own_capabilities: Array<VideoOwnCapability>;
4377
+ /**
4378
+ * The type of event: "call.permissions_updated" in this case
4379
+ * @type {string}
4380
+ * @memberof VideoUpdatedCallPermissionsEvent
4381
+ */
4382
+ type: string;
4383
+ /**
4384
+ *
4385
+ * @type {VideoUserResponse}
4386
+ * @memberof VideoUpdatedCallPermissionsEvent
4387
+ */
4388
+ user: VideoUserResponse;
4389
+ }
4390
+ /**
4391
+ *
4392
+ * @export
4393
+ * @interface VideoUserRequest
4394
+ */
4395
+ export interface VideoUserRequest {
4396
+ /**
4397
+ *
4398
+ * @type {{ [key: string]: any; }}
4399
+ * @memberof VideoUserRequest
4400
+ */
4401
+ custom?: { [key: string]: any; };
4402
+ /**
4403
+ * User ID
4404
+ * @type {string}
4405
+ * @memberof VideoUserRequest
4406
+ */
4407
+ id: string;
4408
+ /**
4409
+ *
4410
+ * @type {string}
4411
+ * @memberof VideoUserRequest
4412
+ */
4413
+ image?: string;
4414
+ /**
4415
+ * Optional name of user
4416
+ * @type {string}
4417
+ * @memberof VideoUserRequest
4418
+ */
4419
+ name?: string;
4420
+ /**
4421
+ *
4422
+ * @type {string}
4423
+ * @memberof VideoUserRequest
4424
+ */
4425
+ role?: string;
4426
+ /**
4427
+ *
4428
+ * @type {Array<string>}
4429
+ * @memberof VideoUserRequest
4430
+ */
4431
+ teams?: Array<string>;
4432
+ }
4433
+ /**
4434
+ *
4435
+ * @export
4436
+ * @interface VideoUserResponse
4437
+ */
4438
+ export interface VideoUserResponse {
4439
+ /**
4440
+ * Date/time of creation
4441
+ * @type {string}
4442
+ * @memberof VideoUserResponse
4443
+ */
4444
+ created_at: string;
4445
+ /**
4446
+ *
4447
+ * @type {{ [key: string]: any; }}
4448
+ * @memberof VideoUserResponse
4449
+ */
4450
+ custom: { [key: string]: any; };
4451
+ /**
4452
+ * Date/time of deletion
4453
+ * @type {string}
4454
+ * @memberof VideoUserResponse
4455
+ */
4456
+ deleted_at?: string;
4457
+ /**
4458
+ *
4459
+ * @type {string}
4460
+ * @memberof VideoUserResponse
4461
+ */
4462
+ id: string;
4463
+ /**
4464
+ *
4465
+ * @type {string}
4466
+ * @memberof VideoUserResponse
4467
+ */
4468
+ image?: string;
4469
+ /**
4470
+ *
4471
+ * @type {string}
4472
+ * @memberof VideoUserResponse
4473
+ */
4474
+ name?: string;
4475
+ /**
4476
+ *
4477
+ * @type {string}
4478
+ * @memberof VideoUserResponse
4479
+ */
4480
+ role: string;
4481
+ /**
4482
+ *
4483
+ * @type {Array<string>}
4484
+ * @memberof VideoUserResponse
4485
+ */
4486
+ teams: Array<string>;
4487
+ /**
4488
+ * Date/time of the last update
4489
+ * @type {string}
4490
+ * @memberof VideoUserResponse
4491
+ */
4492
+ updated_at: string;
4493
+ }
4494
+ /**
4495
+ * @type VideoVideoEvent
4496
+ * The discriminator object for all websocket events, you should use this to map event payloads to their own type
4497
+ * @export
4498
+ */
4499
+ export type VideoVideoEvent = { type: 'call.accepted' } & VideoCallAcceptedEvent | { type: 'call.blocked_user' } & VideoBlockedUserEvent | { type: 'call.created' } & VideoCallCreatedEvent | { type: 'call.ended' } & VideoCallEndedEvent | { type: 'call.hls_broadcasting_failed' } & VideoCallHLSBroadcastingFailedEvent | { type: 'call.hls_broadcasting_started' } & VideoCallHLSBroadcastingStartedEvent | { type: 'call.hls_broadcasting_stopped' } & VideoCallHLSBroadcastingStoppedEvent | { type: 'call.live_started' } & VideoCallLiveStartedEvent | { type: 'call.member_added' } & VideoCallMemberAddedEvent | { type: 'call.member_removed' } & VideoCallMemberRemovedEvent | { type: 'call.member_updated' } & VideoCallMemberUpdatedEvent | { type: 'call.member_updated_permission' } & VideoCallMemberUpdatedPermissionEvent | { type: 'call.notification' } & VideoCallNotificationEvent | { type: 'call.permission_request' } & VideoPermissionRequestEvent | { type: 'call.permissions_updated' } & VideoUpdatedCallPermissionsEvent | { type: 'call.reaction_new' } & VideoCallReactionEvent | { type: 'call.recording_failed' } & VideoCallRecordingFailedEvent | { type: 'call.recording_ready' } & VideoCallRecordingReadyEvent | { type: 'call.recording_started' } & VideoCallRecordingStartedEvent | { type: 'call.recording_stopped' } & VideoCallRecordingStoppedEvent | { type: 'call.rejected' } & VideoCallRejectedEvent | { type: 'call.ring' } & VideoCallRingEvent | { type: 'call.session_ended' } & VideoCallSessionEndedEvent | { type: 'call.session_participant_joined' } & VideoCallSessionParticipantJoinedEvent | { type: 'call.session_participant_left' } & VideoCallSessionParticipantLeftEvent | { type: 'call.session_started' } & VideoCallSessionStartedEvent | { type: 'call.unblocked_user' } & VideoUnblockedUserEvent | { type: 'call.updated' } & VideoCallUpdatedEvent | { type: 'call.user_muted' } & VideoCallUserMuted | { type: 'connection.error' } & VideoConnectionErrorEvent | { type: 'connection.ok' } & VideoConnectedEvent | { type: 'custom' } & VideoCustomVideoEvent | { type: 'health.check' } & VideoHealthCheckEvent;
4500
+ /**
4501
+ *
4502
+ * @export
4503
+ * @interface VideoVideoSettings
4504
+ */
4505
+ export interface VideoVideoSettings {
4506
+ /**
4507
+ *
4508
+ * @type {boolean}
4509
+ * @memberof VideoVideoSettings
4510
+ */
4511
+ access_request_enabled: boolean;
4512
+ /**
4513
+ *
4514
+ * @type {boolean}
4515
+ * @memberof VideoVideoSettings
4516
+ */
4517
+ camera_default_on: boolean;
4518
+ /**
4519
+ *
4520
+ * @type {string}
4521
+ * @memberof VideoVideoSettings
4522
+ */
4523
+ camera_facing: VideoVideoSettingsCameraFacingEnum;
4524
+ /**
4525
+ *
4526
+ * @type {boolean}
4527
+ * @memberof VideoVideoSettings
4528
+ */
4529
+ enabled: boolean;
4530
+ /**
4531
+ *
4532
+ * @type {VideoTargetResolution}
4533
+ * @memberof VideoVideoSettings
4534
+ */
4535
+ target_resolution: VideoTargetResolution;
4536
+ }
4537
+
4538
+
4539
+ /**
4540
+ * @export
4541
+ */
4542
+ export const VideoVideoSettingsCameraFacingEnum = {
4543
+ FRONT: 'front',
4544
+ BACK: 'back',
4545
+ EXTERNAL: 'external'
4546
+ } as const;
4547
+ export type VideoVideoSettingsCameraFacingEnum = typeof VideoVideoSettingsCameraFacingEnum[keyof typeof VideoVideoSettingsCameraFacingEnum];
4548
+
4549
+ /**
4550
+ *
4551
+ * @export
4552
+ * @interface VideoVideoSettingsRequest
4553
+ */
4554
+ export interface VideoVideoSettingsRequest {
4555
+ /**
4556
+ *
4557
+ * @type {boolean}
4558
+ * @memberof VideoVideoSettingsRequest
4559
+ */
4560
+ access_request_enabled?: boolean;
4561
+ /**
4562
+ *
4563
+ * @type {boolean}
4564
+ * @memberof VideoVideoSettingsRequest
4565
+ */
4566
+ camera_default_on?: boolean;
4567
+ /**
4568
+ *
4569
+ * @type {string}
4570
+ * @memberof VideoVideoSettingsRequest
4571
+ */
4572
+ camera_facing?: VideoVideoSettingsRequestCameraFacingEnum;
4573
+ /**
4574
+ *
4575
+ * @type {boolean}
4576
+ * @memberof VideoVideoSettingsRequest
4577
+ */
4578
+ enabled?: boolean;
4579
+ /**
4580
+ *
4581
+ * @type {VideoTargetResolutionRequest}
4582
+ * @memberof VideoVideoSettingsRequest
4583
+ */
4584
+ target_resolution?: VideoTargetResolutionRequest;
4585
+ }
4586
+
4587
+
4588
+ /**
4589
+ * @export
4590
+ */
4591
+ export const VideoVideoSettingsRequestCameraFacingEnum = {
4592
+ FRONT: 'front',
4593
+ BACK: 'back',
4594
+ EXTERNAL: 'external'
4595
+ } as const;
4596
+ export type VideoVideoSettingsRequestCameraFacingEnum = typeof VideoVideoSettingsRequestCameraFacingEnum[keyof typeof VideoVideoSettingsRequestCameraFacingEnum];
4597
+
4598
+ /**
4599
+ *
4600
+ * @export
4601
+ * @interface VideoWSAuthMessageRequest
4602
+ */
4603
+ export interface VideoWSAuthMessageRequest {
4604
+ /**
4605
+ *
4606
+ * @type {string}
4607
+ * @memberof VideoWSAuthMessageRequest
4608
+ */
4609
+ token: string;
4610
+ /**
4611
+ *
4612
+ * @type {VideoConnectUserDetailsRequest}
4613
+ * @memberof VideoWSAuthMessageRequest
4614
+ */
4615
+ user_details: VideoConnectUserDetailsRequest;
4616
+ }
4617
+ /**
4618
+ * This is just a placeholder for all client events
4619
+ * @export
4620
+ * @interface VideoWSCallEvent
4621
+ */
4622
+ export interface VideoWSCallEvent {
4623
+ /**
4624
+ *
4625
+ * @type {string}
4626
+ * @memberof VideoWSCallEvent
4627
+ */
4628
+ call_cid?: string;
4629
+ }
4630
+ /**
4631
+ * This is just a placeholder for all client events
4632
+ * @export
4633
+ * @interface VideoWSClientEvent
4634
+ */
4635
+ export interface VideoWSClientEvent {
4636
+ /**
4637
+ *
4638
+ * @type {string}
4639
+ * @memberof VideoWSClientEvent
4640
+ */
4641
+ connection_id?: string;
4642
+ }