@stream-io/node-sdk 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -2
- package/dist/index.cjs.js +170 -515
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.es.js +170 -515
- package/dist/index.es.js.map +1 -1
- package/dist/src/StreamCall.d.ts +7 -10
- package/dist/src/StreamChannel.d.ts +4 -4
- package/dist/src/StreamChatClient.d.ts +8 -8
- package/dist/src/StreamClient.d.ts +11 -11
- package/dist/src/StreamVideoClient.d.ts +4 -4
- package/dist/src/gen/chat/apis/ChannelTypesApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/ChannelsApi.d.ts +12 -40
- package/dist/src/gen/chat/apis/CustomCommandsApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/DefaultApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/DevicesApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/EventsApi.d.ts +2 -19
- package/dist/src/gen/chat/apis/FilesApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/GDPRApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/ImportsApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/MessagesApi.d.ts +2 -2
- package/dist/src/gen/chat/apis/ModerationApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/PermissionsV2Api.d.ts +1 -1
- package/dist/src/gen/chat/apis/PushApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/ReactionsApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/ServerSideApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/SettingsApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/TasksApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/TestingApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/UsersApi.d.ts +1 -1
- package/dist/src/gen/chat/models/index.d.ts +141 -160
- package/dist/src/gen/chat/runtime.d.ts +1 -1
- package/dist/src/gen/video/apis/DefaultApi.d.ts +2 -76
- package/dist/src/gen/video/apis/ServerSideApi.d.ts +1 -1
- package/dist/src/gen/video/models/index.d.ts +0 -271
- package/dist/src/gen/video/runtime.d.ts +1 -1
- package/dist/src/utils/create-token.d.ts +1 -1
- package/index.ts +6 -6
- package/package.json +26 -6
- package/src/StreamCall.ts +15 -19
- package/src/StreamChannel.ts +177 -75
- package/src/StreamChatClient.ts +82 -45
- package/src/StreamClient.ts +78 -75
- package/src/StreamVideoClient.ts +8 -8
- package/src/gen/chat/apis/ChannelTypesApi.ts +1 -1
- package/src/gen/chat/apis/ChannelsApi.ts +35 -160
- package/src/gen/chat/apis/CustomCommandsApi.ts +1 -1
- package/src/gen/chat/apis/DefaultApi.ts +1 -1
- package/src/gen/chat/apis/DevicesApi.ts +1 -1
- package/src/gen/chat/apis/EventsApi.ts +1 -74
- package/src/gen/chat/apis/FilesApi.ts +13 -13
- package/src/gen/chat/apis/GDPRApi.ts +1 -1
- package/src/gen/chat/apis/ImportsApi.ts +1 -1
- package/src/gen/chat/apis/MessagesApi.ts +56 -56
- package/src/gen/chat/apis/ModerationApi.ts +1 -1
- package/src/gen/chat/apis/PermissionsV2Api.ts +1 -1
- package/src/gen/chat/apis/PushApi.ts +1 -1
- package/src/gen/chat/apis/ReactionsApi.ts +1 -1
- package/src/gen/chat/apis/ServerSideApi.ts +1 -1
- package/src/gen/chat/apis/SettingsApi.ts +1 -1
- package/src/gen/chat/apis/TasksApi.ts +1 -1
- package/src/gen/chat/apis/TestingApi.ts +1 -1
- package/src/gen/chat/apis/UsersApi.ts +1 -1
- package/src/gen/chat/apis/index.ts +8 -9
- package/src/gen/chat/models/index.ts +141 -160
- package/src/gen/chat/runtime.ts +1 -1
- package/src/gen/video/apis/DefaultApi.ts +1 -303
- package/src/gen/video/apis/ServerSideApi.ts +1 -1
- package/src/gen/video/models/index.ts +0 -269
- package/src/gen/video/runtime.ts +1 -1
- package/src/types.ts +1 -1
- package/src/utils/create-token.ts +1 -1
- package/dist/__tests__/block-lists.test.d.ts +0 -1
- package/dist/__tests__/call-members.test.d.ts +0 -1
- package/dist/__tests__/call-types.test.d.ts +0 -1
- package/dist/__tests__/call.test.d.ts +0 -1
- package/dist/__tests__/channel-types.test.d.ts +0 -1
- package/dist/__tests__/channel.test.d.ts +0 -1
- package/dist/__tests__/command.test.d.ts +0 -1
- package/dist/__tests__/create-test-client.d.ts +0 -3
- package/dist/__tests__/create-token.test.d.ts +0 -1
- package/dist/__tests__/devices-push.test.d.ts +0 -1
- package/dist/__tests__/messages.test.d.ts +0 -1
- package/dist/__tests__/permissions-app-settings.test.d.ts +0 -1
- package/dist/__tests__/user-compat.test.d.ts +0 -1
- package/dist/__tests__/users.test.d.ts +0 -1
|
@@ -498,6 +498,24 @@ export interface App {
|
|
|
498
498
|
* @memberof App
|
|
499
499
|
*/
|
|
500
500
|
search_backend: AppSearchBackendEnum;
|
|
501
|
+
/**
|
|
502
|
+
*
|
|
503
|
+
* @type {string}
|
|
504
|
+
* @memberof App
|
|
505
|
+
*/
|
|
506
|
+
sns_key: string;
|
|
507
|
+
/**
|
|
508
|
+
*
|
|
509
|
+
* @type {string}
|
|
510
|
+
* @memberof App
|
|
511
|
+
*/
|
|
512
|
+
sns_secret: string;
|
|
513
|
+
/**
|
|
514
|
+
*
|
|
515
|
+
* @type {string}
|
|
516
|
+
* @memberof App
|
|
517
|
+
*/
|
|
518
|
+
sns_topic_arn: string;
|
|
501
519
|
/**
|
|
502
520
|
*
|
|
503
521
|
* @type {string}
|
|
@@ -2296,18 +2314,6 @@ export interface ChannelFrozenEvent {
|
|
|
2296
2314
|
* @interface ChannelGetOrCreateRequest
|
|
2297
2315
|
*/
|
|
2298
2316
|
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
2317
|
/**
|
|
2312
2318
|
*
|
|
2313
2319
|
* @type {ChannelRequest}
|
|
@@ -2332,24 +2338,12 @@ export interface ChannelGetOrCreateRequest {
|
|
|
2332
2338
|
* @memberof ChannelGetOrCreateRequest
|
|
2333
2339
|
*/
|
|
2334
2340
|
messages?: MessagePaginationParamsRequest;
|
|
2335
|
-
/**
|
|
2336
|
-
* Fetch user presence info
|
|
2337
|
-
* @type {boolean}
|
|
2338
|
-
* @memberof ChannelGetOrCreateRequest
|
|
2339
|
-
*/
|
|
2340
|
-
presence?: boolean;
|
|
2341
2341
|
/**
|
|
2342
2342
|
* Refresh channel state
|
|
2343
2343
|
* @type {boolean}
|
|
2344
2344
|
* @memberof ChannelGetOrCreateRequest
|
|
2345
2345
|
*/
|
|
2346
2346
|
state?: boolean;
|
|
2347
|
-
/**
|
|
2348
|
-
* Start watching the channel
|
|
2349
|
-
* @type {boolean}
|
|
2350
|
-
* @memberof ChannelGetOrCreateRequest
|
|
2351
|
-
*/
|
|
2352
|
-
watch?: boolean;
|
|
2353
2347
|
/**
|
|
2354
2348
|
*
|
|
2355
2349
|
* @type {PaginationParamsRequest}
|
|
@@ -2515,6 +2509,12 @@ export interface ChannelMember {
|
|
|
2515
2509
|
* @memberof ChannelMember
|
|
2516
2510
|
*/
|
|
2517
2511
|
is_moderator?: boolean;
|
|
2512
|
+
/**
|
|
2513
|
+
*
|
|
2514
|
+
* @type {boolean}
|
|
2515
|
+
* @memberof ChannelMember
|
|
2516
|
+
*/
|
|
2517
|
+
notifications_muted: boolean;
|
|
2518
2518
|
/**
|
|
2519
2519
|
* Permission level of the member in the channel (DEPRECATED: use channel_role instead)
|
|
2520
2520
|
* @type {string}
|
|
@@ -2527,6 +2527,12 @@ export interface ChannelMember {
|
|
|
2527
2527
|
* @memberof ChannelMember
|
|
2528
2528
|
*/
|
|
2529
2529
|
shadow_banned: boolean;
|
|
2530
|
+
/**
|
|
2531
|
+
*
|
|
2532
|
+
* @type {string}
|
|
2533
|
+
* @memberof ChannelMember
|
|
2534
|
+
*/
|
|
2535
|
+
status?: string;
|
|
2530
2536
|
/**
|
|
2531
2537
|
* Date/time of the last update
|
|
2532
2538
|
* @type {string}
|
|
@@ -2616,6 +2622,12 @@ export interface ChannelMemberRequest {
|
|
|
2616
2622
|
* @memberof ChannelMemberRequest
|
|
2617
2623
|
*/
|
|
2618
2624
|
is_moderator?: boolean;
|
|
2625
|
+
/**
|
|
2626
|
+
*
|
|
2627
|
+
* @type {boolean}
|
|
2628
|
+
* @memberof ChannelMemberRequest
|
|
2629
|
+
*/
|
|
2630
|
+
notifications_muted?: boolean;
|
|
2619
2631
|
/**
|
|
2620
2632
|
* Permission level of the member in the channel (DEPRECATED: use channel_role instead)
|
|
2621
2633
|
* @type {string}
|
|
@@ -2628,6 +2640,12 @@ export interface ChannelMemberRequest {
|
|
|
2628
2640
|
* @memberof ChannelMemberRequest
|
|
2629
2641
|
*/
|
|
2630
2642
|
shadow_banned?: boolean;
|
|
2643
|
+
/**
|
|
2644
|
+
*
|
|
2645
|
+
* @type {string}
|
|
2646
|
+
* @memberof ChannelMemberRequest
|
|
2647
|
+
*/
|
|
2648
|
+
status?: string;
|
|
2631
2649
|
/**
|
|
2632
2650
|
* Date/time of the last update
|
|
2633
2651
|
* @type {string}
|
|
@@ -3299,25 +3317,6 @@ export interface ChannelStateResponseFields {
|
|
|
3299
3317
|
*/
|
|
3300
3318
|
watchers?: Array<UserObject>;
|
|
3301
3319
|
}
|
|
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
3320
|
/**
|
|
3322
3321
|
*
|
|
3323
3322
|
* @export
|
|
@@ -9522,6 +9521,12 @@ export interface MuteUserResponse {
|
|
|
9522
9521
|
* @memberof MuteUserResponse
|
|
9523
9522
|
*/
|
|
9524
9523
|
mutes?: Array<UserMute>;
|
|
9524
|
+
/**
|
|
9525
|
+
*
|
|
9526
|
+
* @type {Array<string>}
|
|
9527
|
+
* @memberof MuteUserResponse
|
|
9528
|
+
*/
|
|
9529
|
+
non_existing_users?: Array<string>;
|
|
9525
9530
|
/**
|
|
9526
9531
|
*
|
|
9527
9532
|
* @type {OwnUser}
|
|
@@ -11483,18 +11488,6 @@ export interface QueryBannedUsersResponse {
|
|
|
11483
11488
|
* @interface QueryChannelsRequest
|
|
11484
11489
|
*/
|
|
11485
11490
|
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
11491
|
/**
|
|
11499
11492
|
*
|
|
11500
11493
|
* @type {{ [key: string]: any; }}
|
|
@@ -11745,18 +11738,6 @@ export interface QueryMessageFlagsResponse {
|
|
|
11745
11738
|
* @interface QueryUsersRequest
|
|
11746
11739
|
*/
|
|
11747
11740
|
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
11741
|
/**
|
|
11761
11742
|
* User filters
|
|
11762
11743
|
* @type {{ [key: string]: any; }}
|
|
@@ -12954,99 +12935,6 @@ export interface SortParamRequest {
|
|
|
12954
12935
|
*/
|
|
12955
12936
|
field?: string;
|
|
12956
12937
|
}
|
|
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
12938
|
/**
|
|
13051
12939
|
*
|
|
13052
12940
|
* @export
|
|
@@ -13452,6 +13340,12 @@ export interface UnmuteResponse {
|
|
|
13452
13340
|
* @memberof UnmuteResponse
|
|
13453
13341
|
*/
|
|
13454
13342
|
duration: string;
|
|
13343
|
+
/**
|
|
13344
|
+
*
|
|
13345
|
+
* @type {Array<string>}
|
|
13346
|
+
* @memberof UnmuteResponse
|
|
13347
|
+
*/
|
|
13348
|
+
non_existing_users?: Array<string>;
|
|
13455
13349
|
}
|
|
13456
13350
|
/**
|
|
13457
13351
|
*
|
|
@@ -13490,6 +13384,87 @@ export interface UnmuteUserRequest {
|
|
|
13490
13384
|
*/
|
|
13491
13385
|
user_id?: string;
|
|
13492
13386
|
}
|
|
13387
|
+
/**
|
|
13388
|
+
*
|
|
13389
|
+
* @export
|
|
13390
|
+
* @interface UnreadCountsChannel
|
|
13391
|
+
*/
|
|
13392
|
+
export interface UnreadCountsChannel {
|
|
13393
|
+
/**
|
|
13394
|
+
*
|
|
13395
|
+
* @type {string}
|
|
13396
|
+
* @memberof UnreadCountsChannel
|
|
13397
|
+
*/
|
|
13398
|
+
channel_id: string;
|
|
13399
|
+
/**
|
|
13400
|
+
*
|
|
13401
|
+
* @type {string}
|
|
13402
|
+
* @memberof UnreadCountsChannel
|
|
13403
|
+
*/
|
|
13404
|
+
last_read: string;
|
|
13405
|
+
/**
|
|
13406
|
+
*
|
|
13407
|
+
* @type {number}
|
|
13408
|
+
* @memberof UnreadCountsChannel
|
|
13409
|
+
*/
|
|
13410
|
+
unread_count: number;
|
|
13411
|
+
}
|
|
13412
|
+
/**
|
|
13413
|
+
*
|
|
13414
|
+
* @export
|
|
13415
|
+
* @interface UnreadCountsChannelType
|
|
13416
|
+
*/
|
|
13417
|
+
export interface UnreadCountsChannelType {
|
|
13418
|
+
/**
|
|
13419
|
+
*
|
|
13420
|
+
* @type {number}
|
|
13421
|
+
* @memberof UnreadCountsChannelType
|
|
13422
|
+
*/
|
|
13423
|
+
channel_count: number;
|
|
13424
|
+
/**
|
|
13425
|
+
*
|
|
13426
|
+
* @type {string}
|
|
13427
|
+
* @memberof UnreadCountsChannelType
|
|
13428
|
+
*/
|
|
13429
|
+
channel_type: string;
|
|
13430
|
+
/**
|
|
13431
|
+
*
|
|
13432
|
+
* @type {number}
|
|
13433
|
+
* @memberof UnreadCountsChannelType
|
|
13434
|
+
*/
|
|
13435
|
+
unread_count: number;
|
|
13436
|
+
}
|
|
13437
|
+
/**
|
|
13438
|
+
*
|
|
13439
|
+
* @export
|
|
13440
|
+
* @interface UnreadCountsResponse
|
|
13441
|
+
*/
|
|
13442
|
+
export interface UnreadCountsResponse {
|
|
13443
|
+
/**
|
|
13444
|
+
*
|
|
13445
|
+
* @type {Array<UnreadCountsChannelType>}
|
|
13446
|
+
* @memberof UnreadCountsResponse
|
|
13447
|
+
*/
|
|
13448
|
+
channel_type: Array<UnreadCountsChannelType>;
|
|
13449
|
+
/**
|
|
13450
|
+
*
|
|
13451
|
+
* @type {Array<UnreadCountsChannel>}
|
|
13452
|
+
* @memberof UnreadCountsResponse
|
|
13453
|
+
*/
|
|
13454
|
+
channels: Array<UnreadCountsChannel>;
|
|
13455
|
+
/**
|
|
13456
|
+
* Duration of the request in human-readable format
|
|
13457
|
+
* @type {string}
|
|
13458
|
+
* @memberof UnreadCountsResponse
|
|
13459
|
+
*/
|
|
13460
|
+
duration: string;
|
|
13461
|
+
/**
|
|
13462
|
+
*
|
|
13463
|
+
* @type {number}
|
|
13464
|
+
* @memberof UnreadCountsResponse
|
|
13465
|
+
*/
|
|
13466
|
+
total_unread_count: number;
|
|
13467
|
+
}
|
|
13493
13468
|
/**
|
|
13494
13469
|
*
|
|
13495
13470
|
* @export
|
|
@@ -13654,6 +13629,12 @@ export interface UpdateAppRequest {
|
|
|
13654
13629
|
* @memberof UpdateAppRequest
|
|
13655
13630
|
*/
|
|
13656
13631
|
reminders_interval?: number;
|
|
13632
|
+
/**
|
|
13633
|
+
*
|
|
13634
|
+
* @type {number}
|
|
13635
|
+
* @memberof UpdateAppRequest
|
|
13636
|
+
*/
|
|
13637
|
+
reminders_max_members?: number;
|
|
13657
13638
|
/**
|
|
13658
13639
|
*
|
|
13659
13640
|
* @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:
|
|
5
|
+
* The version of the OpenAPI document: v92.5.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:
|
|
5
|
+
* The version of the OpenAPI document: v92.5.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 {
|
|
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:
|
|
5
|
+
* The version of the OpenAPI document: v92.5.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|