@stream-io/node-sdk 0.1.7 → 0.1.9

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 (86) hide show
  1. package/README.md +8 -2
  2. package/dist/index.cjs.js +169 -514
  3. package/dist/index.cjs.js.map +1 -1
  4. package/dist/index.d.ts +6 -6
  5. package/dist/index.es.js +169 -514
  6. package/dist/index.es.js.map +1 -1
  7. package/dist/src/StreamCall.d.ts +7 -10
  8. package/dist/src/StreamChannel.d.ts +4 -4
  9. package/dist/src/StreamChatClient.d.ts +8 -8
  10. package/dist/src/StreamClient.d.ts +11 -11
  11. package/dist/src/StreamVideoClient.d.ts +4 -4
  12. package/dist/src/gen/chat/apis/ChannelTypesApi.d.ts +1 -1
  13. package/dist/src/gen/chat/apis/ChannelsApi.d.ts +12 -40
  14. package/dist/src/gen/chat/apis/CustomCommandsApi.d.ts +1 -1
  15. package/dist/src/gen/chat/apis/DefaultApi.d.ts +1 -1
  16. package/dist/src/gen/chat/apis/DevicesApi.d.ts +1 -1
  17. package/dist/src/gen/chat/apis/EventsApi.d.ts +2 -19
  18. package/dist/src/gen/chat/apis/FilesApi.d.ts +1 -1
  19. package/dist/src/gen/chat/apis/GDPRApi.d.ts +1 -1
  20. package/dist/src/gen/chat/apis/ImportsApi.d.ts +1 -1
  21. package/dist/src/gen/chat/apis/MessagesApi.d.ts +2 -2
  22. package/dist/src/gen/chat/apis/ModerationApi.d.ts +1 -1
  23. package/dist/src/gen/chat/apis/PermissionsV2Api.d.ts +1 -1
  24. package/dist/src/gen/chat/apis/PushApi.d.ts +1 -1
  25. package/dist/src/gen/chat/apis/ReactionsApi.d.ts +1 -1
  26. package/dist/src/gen/chat/apis/ServerSideApi.d.ts +1 -1
  27. package/dist/src/gen/chat/apis/SettingsApi.d.ts +1 -1
  28. package/dist/src/gen/chat/apis/TasksApi.d.ts +1 -1
  29. package/dist/src/gen/chat/apis/TestingApi.d.ts +1 -1
  30. package/dist/src/gen/chat/apis/UsersApi.d.ts +1 -1
  31. package/dist/src/gen/chat/models/index.d.ts +191 -160
  32. package/dist/src/gen/chat/runtime.d.ts +1 -1
  33. package/dist/src/gen/video/apis/DefaultApi.d.ts +2 -76
  34. package/dist/src/gen/video/apis/ServerSideApi.d.ts +1 -1
  35. package/dist/src/gen/video/models/index.d.ts +0 -271
  36. package/dist/src/gen/video/runtime.d.ts +1 -1
  37. package/dist/src/utils/create-token.d.ts +1 -1
  38. package/index.ts +6 -6
  39. package/package.json +26 -6
  40. package/src/StreamCall.ts +15 -19
  41. package/src/StreamChannel.ts +177 -75
  42. package/src/StreamChatClient.ts +82 -45
  43. package/src/StreamClient.ts +78 -75
  44. package/src/StreamVideoClient.ts +8 -8
  45. package/src/gen/chat/apis/ChannelTypesApi.ts +1 -1
  46. package/src/gen/chat/apis/ChannelsApi.ts +35 -160
  47. package/src/gen/chat/apis/CustomCommandsApi.ts +1 -1
  48. package/src/gen/chat/apis/DefaultApi.ts +1 -1
  49. package/src/gen/chat/apis/DevicesApi.ts +1 -1
  50. package/src/gen/chat/apis/EventsApi.ts +1 -74
  51. package/src/gen/chat/apis/FilesApi.ts +11 -11
  52. package/src/gen/chat/apis/GDPRApi.ts +1 -1
  53. package/src/gen/chat/apis/ImportsApi.ts +1 -1
  54. package/src/gen/chat/apis/MessagesApi.ts +56 -56
  55. package/src/gen/chat/apis/ModerationApi.ts +1 -1
  56. package/src/gen/chat/apis/PermissionsV2Api.ts +1 -1
  57. package/src/gen/chat/apis/PushApi.ts +1 -1
  58. package/src/gen/chat/apis/ReactionsApi.ts +1 -1
  59. package/src/gen/chat/apis/ServerSideApi.ts +1 -1
  60. package/src/gen/chat/apis/SettingsApi.ts +1 -1
  61. package/src/gen/chat/apis/TasksApi.ts +1 -1
  62. package/src/gen/chat/apis/TestingApi.ts +1 -1
  63. package/src/gen/chat/apis/UsersApi.ts +1 -1
  64. package/src/gen/chat/apis/index.ts +0 -1
  65. package/src/gen/chat/models/index.ts +191 -160
  66. package/src/gen/chat/runtime.ts +1 -1
  67. package/src/gen/video/apis/DefaultApi.ts +1 -303
  68. package/src/gen/video/apis/ServerSideApi.ts +1 -1
  69. package/src/gen/video/models/index.ts +0 -269
  70. package/src/gen/video/runtime.ts +1 -1
  71. package/src/types.ts +1 -1
  72. package/src/utils/create-token.ts +1 -1
  73. package/dist/__tests__/block-lists.test.d.ts +0 -1
  74. package/dist/__tests__/call-members.test.d.ts +0 -1
  75. package/dist/__tests__/call-types.test.d.ts +0 -1
  76. package/dist/__tests__/call.test.d.ts +0 -1
  77. package/dist/__tests__/channel-types.test.d.ts +0 -1
  78. package/dist/__tests__/channel.test.d.ts +0 -1
  79. package/dist/__tests__/command.test.d.ts +0 -1
  80. package/dist/__tests__/create-test-client.d.ts +0 -3
  81. package/dist/__tests__/create-token.test.d.ts +0 -1
  82. package/dist/__tests__/devices-push.test.d.ts +0 -1
  83. package/dist/__tests__/messages.test.d.ts +0 -1
  84. package/dist/__tests__/permissions-app-settings.test.d.ts +0 -1
  85. package/dist/__tests__/user-compat.test.d.ts +0 -1
  86. package/dist/__tests__/users.test.d.ts +0 -1
@@ -380,6 +380,12 @@ export interface App {
380
380
  * @memberof App
381
381
  */
382
382
  custom_action_handler_url: string;
383
+ /**
384
+ *
385
+ * @type {DataDogInfo}
386
+ * @memberof App
387
+ */
388
+ datadog_info?: DataDogInfo;
383
389
  /**
384
390
  *
385
391
  * @type {boolean}
@@ -498,6 +504,24 @@ export interface App {
498
504
  * @memberof App
499
505
  */
500
506
  search_backend: AppSearchBackendEnum;
507
+ /**
508
+ *
509
+ * @type {string}
510
+ * @memberof App
511
+ */
512
+ sns_key: string;
513
+ /**
514
+ *
515
+ * @type {string}
516
+ * @memberof App
517
+ */
518
+ sns_secret: string;
519
+ /**
520
+ *
521
+ * @type {string}
522
+ * @memberof App
523
+ */
524
+ sns_topic_arn: string;
501
525
  /**
502
526
  *
503
527
  * @type {string}
@@ -2296,18 +2320,6 @@ export interface ChannelFrozenEvent {
2296
2320
  * @interface ChannelGetOrCreateRequest
2297
2321
  */
2298
2322
  export interface ChannelGetOrCreateRequest {
2299
- /**
2300
- *
2301
- * @type {string}
2302
- * @memberof ChannelGetOrCreateRequest
2303
- */
2304
- client_id?: string;
2305
- /**
2306
- *
2307
- * @type {string}
2308
- * @memberof ChannelGetOrCreateRequest
2309
- */
2310
- connection_id?: string;
2311
2323
  /**
2312
2324
  *
2313
2325
  * @type {ChannelRequest}
@@ -2332,24 +2344,12 @@ export interface ChannelGetOrCreateRequest {
2332
2344
  * @memberof ChannelGetOrCreateRequest
2333
2345
  */
2334
2346
  messages?: MessagePaginationParamsRequest;
2335
- /**
2336
- * Fetch user presence info
2337
- * @type {boolean}
2338
- * @memberof ChannelGetOrCreateRequest
2339
- */
2340
- presence?: boolean;
2341
2347
  /**
2342
2348
  * Refresh channel state
2343
2349
  * @type {boolean}
2344
2350
  * @memberof ChannelGetOrCreateRequest
2345
2351
  */
2346
2352
  state?: boolean;
2347
- /**
2348
- * Start watching the channel
2349
- * @type {boolean}
2350
- * @memberof ChannelGetOrCreateRequest
2351
- */
2352
- watch?: boolean;
2353
2353
  /**
2354
2354
  *
2355
2355
  * @type {PaginationParamsRequest}
@@ -2515,6 +2515,12 @@ export interface ChannelMember {
2515
2515
  * @memberof ChannelMember
2516
2516
  */
2517
2517
  is_moderator?: boolean;
2518
+ /**
2519
+ *
2520
+ * @type {boolean}
2521
+ * @memberof ChannelMember
2522
+ */
2523
+ notifications_muted: boolean;
2518
2524
  /**
2519
2525
  * Permission level of the member in the channel (DEPRECATED: use channel_role instead)
2520
2526
  * @type {string}
@@ -2527,6 +2533,12 @@ export interface ChannelMember {
2527
2533
  * @memberof ChannelMember
2528
2534
  */
2529
2535
  shadow_banned: boolean;
2536
+ /**
2537
+ *
2538
+ * @type {string}
2539
+ * @memberof ChannelMember
2540
+ */
2541
+ status?: string;
2530
2542
  /**
2531
2543
  * Date/time of the last update
2532
2544
  * @type {string}
@@ -2616,6 +2628,12 @@ export interface ChannelMemberRequest {
2616
2628
  * @memberof ChannelMemberRequest
2617
2629
  */
2618
2630
  is_moderator?: boolean;
2631
+ /**
2632
+ *
2633
+ * @type {boolean}
2634
+ * @memberof ChannelMemberRequest
2635
+ */
2636
+ notifications_muted?: boolean;
2619
2637
  /**
2620
2638
  * Permission level of the member in the channel (DEPRECATED: use channel_role instead)
2621
2639
  * @type {string}
@@ -2628,6 +2646,12 @@ export interface ChannelMemberRequest {
2628
2646
  * @memberof ChannelMemberRequest
2629
2647
  */
2630
2648
  shadow_banned?: boolean;
2649
+ /**
2650
+ *
2651
+ * @type {string}
2652
+ * @memberof ChannelMemberRequest
2653
+ */
2654
+ status?: string;
2631
2655
  /**
2632
2656
  * Date/time of the last update
2633
2657
  * @type {string}
@@ -3299,25 +3323,6 @@ export interface ChannelStateResponseFields {
3299
3323
  */
3300
3324
  watchers?: Array<UserObject>;
3301
3325
  }
3302
- /**
3303
- *
3304
- * @export
3305
- * @interface ChannelStopWatchingRequest
3306
- */
3307
- export interface ChannelStopWatchingRequest {
3308
- /**
3309
- *
3310
- * @type {string}
3311
- * @memberof ChannelStopWatchingRequest
3312
- */
3313
- client_id?: string;
3314
- /**
3315
- *
3316
- * @type {string}
3317
- * @memberof ChannelStopWatchingRequest
3318
- */
3319
- connection_id?: string;
3320
- }
3321
3326
  /**
3322
3327
  *
3323
3328
  * @export
@@ -4995,6 +5000,44 @@ export interface CreateRoleResponse {
4995
5000
  */
4996
5001
  role: Role;
4997
5002
  }
5003
+ /**
5004
+ *
5005
+ * @export
5006
+ * @interface DataDogInfo
5007
+ */
5008
+ export interface DataDogInfo {
5009
+ /**
5010
+ *
5011
+ * @type {string}
5012
+ * @memberof DataDogInfo
5013
+ */
5014
+ api_key: string;
5015
+ /**
5016
+ *
5017
+ * @type {string}
5018
+ * @memberof DataDogInfo
5019
+ */
5020
+ site: string;
5021
+ }
5022
+ /**
5023
+ *
5024
+ * @export
5025
+ * @interface DataDogInfoRequest
5026
+ */
5027
+ export interface DataDogInfoRequest {
5028
+ /**
5029
+ *
5030
+ * @type {string}
5031
+ * @memberof DataDogInfoRequest
5032
+ */
5033
+ api_key?: string;
5034
+ /**
5035
+ *
5036
+ * @type {string}
5037
+ * @memberof DataDogInfoRequest
5038
+ */
5039
+ site?: string;
5040
+ }
4998
5041
  /**
4999
5042
  *
5000
5043
  * @export
@@ -9522,6 +9565,12 @@ export interface MuteUserResponse {
9522
9565
  * @memberof MuteUserResponse
9523
9566
  */
9524
9567
  mutes?: Array<UserMute>;
9568
+ /**
9569
+ *
9570
+ * @type {Array<string>}
9571
+ * @memberof MuteUserResponse
9572
+ */
9573
+ non_existing_users?: Array<string>;
9525
9574
  /**
9526
9575
  *
9527
9576
  * @type {OwnUser}
@@ -11483,18 +11532,6 @@ export interface QueryBannedUsersResponse {
11483
11532
  * @interface QueryChannelsRequest
11484
11533
  */
11485
11534
  export interface QueryChannelsRequest {
11486
- /**
11487
- *
11488
- * @type {string}
11489
- * @memberof QueryChannelsRequest
11490
- */
11491
- client_id?: string;
11492
- /**
11493
- *
11494
- * @type {string}
11495
- * @memberof QueryChannelsRequest
11496
- */
11497
- connection_id?: string;
11498
11535
  /**
11499
11536
  *
11500
11537
  * @type {{ [key: string]: any; }}
@@ -11745,18 +11782,6 @@ export interface QueryMessageFlagsResponse {
11745
11782
  * @interface QueryUsersRequest
11746
11783
  */
11747
11784
  export interface QueryUsersRequest {
11748
- /**
11749
- *
11750
- * @type {string}
11751
- * @memberof QueryUsersRequest
11752
- */
11753
- client_id?: string;
11754
- /**
11755
- *
11756
- * @type {string}
11757
- * @memberof QueryUsersRequest
11758
- */
11759
- connection_id?: string;
11760
11785
  /**
11761
11786
  * User filters
11762
11787
  * @type {{ [key: string]: any; }}
@@ -12954,99 +12979,6 @@ export interface SortParamRequest {
12954
12979
  */
12955
12980
  field?: string;
12956
12981
  }
12957
- /**
12958
- *
12959
- * @export
12960
- * @interface StopWatchingResponse
12961
- */
12962
- export interface StopWatchingResponse {
12963
- /**
12964
- * Duration of the request in human-readable format
12965
- * @type {string}
12966
- * @memberof StopWatchingResponse
12967
- */
12968
- duration: string;
12969
- }
12970
- /**
12971
- *
12972
- * @export
12973
- * @interface SyncRequest
12974
- */
12975
- export interface SyncRequest {
12976
- /**
12977
- * List of channel CIDs to sync
12978
- * @type {Array<string>}
12979
- * @memberof SyncRequest
12980
- */
12981
- channel_cids?: Array<string>;
12982
- /**
12983
- *
12984
- * @type {string}
12985
- * @memberof SyncRequest
12986
- */
12987
- client_id?: string;
12988
- /**
12989
- *
12990
- * @type {string}
12991
- * @memberof SyncRequest
12992
- */
12993
- connection_id?: string;
12994
- /**
12995
- * Date from which synchronization should happen
12996
- * @type {string}
12997
- * @memberof SyncRequest
12998
- */
12999
- last_sync_at: string;
13000
- /**
13001
- *
13002
- * @type {UserObjectRequest}
13003
- * @memberof SyncRequest
13004
- */
13005
- user?: UserObjectRequest;
13006
- /**
13007
- *
13008
- * @type {string}
13009
- * @memberof SyncRequest
13010
- */
13011
- user_id?: string;
13012
- /**
13013
- * If set to true this will start watching requested and newly added channels that user has access to. If error occurred with this option enabled and it is not an input error - channels will still be watched.
13014
- * @type {boolean}
13015
- * @memberof SyncRequest
13016
- */
13017
- watch?: boolean;
13018
- /**
13019
- * If set to true this will add 'inaccessible_cids' to response type
13020
- * @type {boolean}
13021
- * @memberof SyncRequest
13022
- */
13023
- with_inaccessible_cids?: boolean;
13024
- }
13025
- /**
13026
- *
13027
- * @export
13028
- * @interface SyncResponse
13029
- */
13030
- export interface SyncResponse {
13031
- /**
13032
- *
13033
- * @type {string}
13034
- * @memberof SyncResponse
13035
- */
13036
- duration: string;
13037
- /**
13038
- * List of events
13039
- * @type {Array<Event>}
13040
- * @memberof SyncResponse
13041
- */
13042
- events: Array<Event>;
13043
- /**
13044
- * List of CIDs that user can't access
13045
- * @type {Array<string>}
13046
- * @memberof SyncResponse
13047
- */
13048
- inaccessible_cids?: Array<string>;
13049
- }
13050
12982
  /**
13051
12983
  *
13052
12984
  * @export
@@ -13452,6 +13384,12 @@ export interface UnmuteResponse {
13452
13384
  * @memberof UnmuteResponse
13453
13385
  */
13454
13386
  duration: string;
13387
+ /**
13388
+ *
13389
+ * @type {Array<string>}
13390
+ * @memberof UnmuteResponse
13391
+ */
13392
+ non_existing_users?: Array<string>;
13455
13393
  }
13456
13394
  /**
13457
13395
  *
@@ -13490,6 +13428,87 @@ export interface UnmuteUserRequest {
13490
13428
  */
13491
13429
  user_id?: string;
13492
13430
  }
13431
+ /**
13432
+ *
13433
+ * @export
13434
+ * @interface UnreadCountsChannel
13435
+ */
13436
+ export interface UnreadCountsChannel {
13437
+ /**
13438
+ *
13439
+ * @type {string}
13440
+ * @memberof UnreadCountsChannel
13441
+ */
13442
+ channel_id: string;
13443
+ /**
13444
+ *
13445
+ * @type {string}
13446
+ * @memberof UnreadCountsChannel
13447
+ */
13448
+ last_read: string;
13449
+ /**
13450
+ *
13451
+ * @type {number}
13452
+ * @memberof UnreadCountsChannel
13453
+ */
13454
+ unread_count: number;
13455
+ }
13456
+ /**
13457
+ *
13458
+ * @export
13459
+ * @interface UnreadCountsChannelType
13460
+ */
13461
+ export interface UnreadCountsChannelType {
13462
+ /**
13463
+ *
13464
+ * @type {number}
13465
+ * @memberof UnreadCountsChannelType
13466
+ */
13467
+ channel_count: number;
13468
+ /**
13469
+ *
13470
+ * @type {string}
13471
+ * @memberof UnreadCountsChannelType
13472
+ */
13473
+ channel_type: string;
13474
+ /**
13475
+ *
13476
+ * @type {number}
13477
+ * @memberof UnreadCountsChannelType
13478
+ */
13479
+ unread_count: number;
13480
+ }
13481
+ /**
13482
+ *
13483
+ * @export
13484
+ * @interface UnreadCountsResponse
13485
+ */
13486
+ export interface UnreadCountsResponse {
13487
+ /**
13488
+ *
13489
+ * @type {Array<UnreadCountsChannelType>}
13490
+ * @memberof UnreadCountsResponse
13491
+ */
13492
+ channel_type: Array<UnreadCountsChannelType>;
13493
+ /**
13494
+ *
13495
+ * @type {Array<UnreadCountsChannel>}
13496
+ * @memberof UnreadCountsResponse
13497
+ */
13498
+ channels: Array<UnreadCountsChannel>;
13499
+ /**
13500
+ * Duration of the request in human-readable format
13501
+ * @type {string}
13502
+ * @memberof UnreadCountsResponse
13503
+ */
13504
+ duration: string;
13505
+ /**
13506
+ *
13507
+ * @type {number}
13508
+ * @memberof UnreadCountsResponse
13509
+ */
13510
+ total_unread_count: number;
13511
+ }
13493
13512
  /**
13494
13513
  *
13495
13514
  * @export
@@ -13550,6 +13569,12 @@ export interface UpdateAppRequest {
13550
13569
  * @memberof UpdateAppRequest
13551
13570
  */
13552
13571
  custom_action_handler_url?: string;
13572
+ /**
13573
+ *
13574
+ * @type {DataDogInfoRequest}
13575
+ * @memberof UpdateAppRequest
13576
+ */
13577
+ datadog_info?: DataDogInfoRequest;
13553
13578
  /**
13554
13579
  *
13555
13580
  * @type {boolean}
@@ -13654,6 +13679,12 @@ export interface UpdateAppRequest {
13654
13679
  * @memberof UpdateAppRequest
13655
13680
  */
13656
13681
  reminders_interval?: number;
13682
+ /**
13683
+ *
13684
+ * @type {number}
13685
+ * @memberof UpdateAppRequest
13686
+ */
13687
+ reminders_max_members?: number;
13657
13688
  /**
13658
13689
  *
13659
13690
  * @type {string}
@@ -2,7 +2,7 @@
2
2
  * Stream Chat API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: v89.9.2
5
+ * The version of the OpenAPI document: v92.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Stream Video API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: v89.9.2
5
+ * The version of the OpenAPI document: v92.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10,11 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { VideoAcceptCallResponse, VideoBlockUserRequest, VideoBlockUserResponse, VideoCreateDeviceRequest, VideoCreateGuestRequest, VideoCreateGuestResponse, VideoEndCallResponse, VideoGetCallResponse, VideoGetEdgesResponse, VideoGetOrCreateCallRequest, VideoGetOrCreateCallResponse, VideoGoLiveRequest, VideoGoLiveResponse, VideoJoinCallRequest, VideoJoinCallResponse, VideoListDevicesResponse, VideoListRecordingsResponse, VideoMuteUsersRequest, VideoMuteUsersResponse, VideoPinRequest, VideoPinResponse, VideoQueryCallsRequest, VideoQueryCallsResponse, VideoQueryMembersRequest, VideoQueryMembersResponse, VideoRejectCallResponse, VideoRequestPermissionRequest, VideoRequestPermissionResponse, VideoResponse, VideoSendEventRequest, VideoSendEventResponse, VideoSendReactionRequest, VideoSendReactionResponse, VideoStartHLSBroadcastingResponse, VideoStartRecordingResponse, VideoStartTranscriptionResponse, VideoStopHLSBroadcastingResponse, VideoStopLiveResponse, VideoStopRecordingResponse, VideoStopTranscriptionResponse, VideoUnblockUserRequest, VideoUnblockUserResponse, VideoUnpinRequest, VideoUnpinResponse, VideoUpdateCallMembersRequest, VideoUpdateCallMembersResponse, VideoUpdateCallRequest, VideoUpdateCallResponse, VideoUpdateUserPermissionsRequest, VideoUpdateUserPermissionsResponse, VideoWSAuthMessageRequest } from '../models';
14
- export interface AcceptCallRequest {
15
- type: string;
16
- id: string;
17
- }
13
+ import type { VideoBlockUserRequest, VideoBlockUserResponse, VideoCreateDeviceRequest, VideoCreateGuestRequest, VideoCreateGuestResponse, VideoEndCallResponse, VideoGetCallResponse, VideoGetEdgesResponse, VideoGetOrCreateCallRequest, VideoGetOrCreateCallResponse, VideoGoLiveRequest, VideoGoLiveResponse, VideoListDevicesResponse, VideoListRecordingsResponse, VideoMuteUsersRequest, VideoMuteUsersResponse, VideoPinRequest, VideoPinResponse, VideoQueryCallsRequest, VideoQueryCallsResponse, VideoQueryMembersRequest, VideoQueryMembersResponse, VideoResponse, VideoSendEventRequest, VideoSendEventResponse, VideoStartHLSBroadcastingResponse, VideoStartRecordingResponse, VideoStartTranscriptionResponse, VideoStopHLSBroadcastingResponse, VideoStopLiveResponse, VideoStopRecordingResponse, VideoStopTranscriptionResponse, VideoUnblockUserRequest, VideoUnblockUserResponse, VideoUnpinRequest, VideoUnpinResponse, VideoUpdateCallMembersRequest, VideoUpdateCallMembersResponse, VideoUpdateCallRequest, VideoUpdateCallResponse, VideoUpdateUserPermissionsRequest, VideoUpdateUserPermissionsResponse, VideoWSAuthMessageRequest } from '../models';
18
14
  export interface BlockUserRequest {
19
15
  type: string;
20
16
  id: string;
@@ -53,12 +49,6 @@ export interface GoLiveRequest {
53
49
  id: string;
54
50
  videoGoLiveRequest: VideoGoLiveRequest | null;
55
51
  }
56
- export interface JoinCallRequest {
57
- type: string;
58
- id: string;
59
- videoJoinCallRequest: VideoJoinCallRequest | null;
60
- connectionId?: string;
61
- }
62
52
  export interface ListDevicesRequest {
63
53
  userId?: string;
64
54
  }
@@ -78,25 +68,11 @@ export interface QueryCallsRequest {
78
68
  export interface QueryMembersRequest {
79
69
  videoQueryMembersRequest: VideoQueryMembersRequest | null;
80
70
  }
81
- export interface RejectCallRequest {
82
- type: string;
83
- id: string;
84
- }
85
- export interface RequestPermissionRequest {
86
- type: string;
87
- id: string;
88
- videoRequestPermissionRequest: VideoRequestPermissionRequest | null;
89
- }
90
71
  export interface SendEventRequest {
91
72
  type: string;
92
73
  id: string;
93
74
  videoSendEventRequest: VideoSendEventRequest | null;
94
75
  }
95
- export interface SendVideoReactionRequest {
96
- type: string;
97
- id: string;
98
- videoSendReactionRequest: VideoSendReactionRequest | null;
99
- }
100
76
  export interface StartHLSBroadcastingRequest {
101
77
  type: string;
102
78
  id: string;
@@ -162,16 +138,6 @@ export interface VideoUnpinOperationRequest {
162
138
  *
163
139
  */
164
140
  export declare class DefaultApi extends runtime.BaseAPI {
165
- /**
166
- * Sends events: - call.accepted Required permissions: - JoinCall
167
- * Accept Call
168
- */
169
- acceptCallRaw(requestParameters: AcceptCallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VideoAcceptCallResponse>>;
170
- /**
171
- * Sends events: - call.accepted Required permissions: - JoinCall
172
- * Accept Call
173
- */
174
- acceptCall(requestParameters: AcceptCallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VideoAcceptCallResponse>;
175
141
  /**
176
142
  * Block a user, preventing them from joining the call until they are unblocked. Sends events: - call.blocked_user Required permissions: - BlockUser
177
143
  * Block user on a call
@@ -262,16 +228,6 @@ export declare class DefaultApi extends runtime.BaseAPI {
262
228
  * Set call as live
263
229
  */
264
230
  goLive(requestParameters: GoLiveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VideoGoLiveResponse>;
265
- /**
266
- * Request to join a call Required permissions: - CreateCall - JoinCall
267
- * Join call
268
- */
269
- joinCallRaw(requestParameters: JoinCallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VideoJoinCallResponse>>;
270
- /**
271
- * Request to join a call Required permissions: - CreateCall - JoinCall
272
- * Join call
273
- */
274
- joinCall(requestParameters: JoinCallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VideoJoinCallResponse>;
275
231
  /**
276
232
  * Returns all available devices
277
233
  * List devices
@@ -322,26 +278,6 @@ export declare class DefaultApi extends runtime.BaseAPI {
322
278
  * Query call members
323
279
  */
324
280
  queryMembers(requestParameters: QueryMembersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VideoQueryMembersResponse>;
325
- /**
326
- * Sends events: - call.rejected Required permissions: - JoinCall
327
- * Reject Call
328
- */
329
- rejectCallRaw(requestParameters: RejectCallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VideoRejectCallResponse>>;
330
- /**
331
- * Sends events: - call.rejected Required permissions: - JoinCall
332
- * Reject Call
333
- */
334
- rejectCall(requestParameters: RejectCallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VideoRejectCallResponse>;
335
- /**
336
- * Request permission to perform an action Sends events: - call.permission_request
337
- * Request permission
338
- */
339
- requestPermissionRaw(requestParameters: RequestPermissionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VideoRequestPermissionResponse>>;
340
- /**
341
- * Request permission to perform an action Sends events: - call.permission_request
342
- * Request permission
343
- */
344
- requestPermission(requestParameters: RequestPermissionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VideoRequestPermissionResponse>;
345
281
  /**
346
282
  * Sends custom event to the call Sends events: - custom Required permissions: - SendEvent
347
283
  * Send custom event
@@ -352,16 +288,6 @@ export declare class DefaultApi extends runtime.BaseAPI {
352
288
  * Send custom event
353
289
  */
354
290
  sendEvent(requestParameters: SendEventRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VideoSendEventResponse>;
355
- /**
356
- * Sends reaction to the call Sends events: - call.reaction_new Required permissions: - CreateCallReaction
357
- * Send reaction to the call
358
- */
359
- sendVideoReactionRaw(requestParameters: SendVideoReactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VideoSendReactionResponse>>;
360
- /**
361
- * Sends reaction to the call Sends events: - call.reaction_new Required permissions: - CreateCallReaction
362
- * Send reaction to the call
363
- */
364
- sendVideoReaction(requestParameters: SendVideoReactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VideoSendReactionResponse>;
365
291
  /**
366
292
  * Starts HLS broadcasting Required permissions: - StartBroadcasting
367
293
  * Start HLS broadcasting
@@ -2,7 +2,7 @@
2
2
  * Stream Video API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: v89.9.2
5
+ * The version of the OpenAPI document: v92.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).