@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.
- package/README.md +8 -2
- package/dist/index.cjs.js +169 -514
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.es.js +169 -514
- 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 +191 -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 +11 -11
- 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 +0 -1
- package/src/gen/chat/models/index.ts +191 -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
|
@@ -379,6 +379,12 @@ export interface App {
|
|
|
379
379
|
* @memberof App
|
|
380
380
|
*/
|
|
381
381
|
custom_action_handler_url: string;
|
|
382
|
+
/**
|
|
383
|
+
*
|
|
384
|
+
* @type {DataDogInfo}
|
|
385
|
+
* @memberof App
|
|
386
|
+
*/
|
|
387
|
+
datadog_info?: DataDogInfo;
|
|
382
388
|
/**
|
|
383
389
|
*
|
|
384
390
|
* @type {boolean}
|
|
@@ -493,6 +499,24 @@ export interface App {
|
|
|
493
499
|
* @memberof App
|
|
494
500
|
*/
|
|
495
501
|
search_backend: AppSearchBackendEnum;
|
|
502
|
+
/**
|
|
503
|
+
*
|
|
504
|
+
* @type {string}
|
|
505
|
+
* @memberof App
|
|
506
|
+
*/
|
|
507
|
+
sns_key: string;
|
|
508
|
+
/**
|
|
509
|
+
*
|
|
510
|
+
* @type {string}
|
|
511
|
+
* @memberof App
|
|
512
|
+
*/
|
|
513
|
+
sns_secret: string;
|
|
514
|
+
/**
|
|
515
|
+
*
|
|
516
|
+
* @type {string}
|
|
517
|
+
* @memberof App
|
|
518
|
+
*/
|
|
519
|
+
sns_topic_arn: string;
|
|
496
520
|
/**
|
|
497
521
|
*
|
|
498
522
|
* @type {string}
|
|
@@ -2318,18 +2342,6 @@ export interface ChannelFrozenEvent {
|
|
|
2318
2342
|
* @interface ChannelGetOrCreateRequest
|
|
2319
2343
|
*/
|
|
2320
2344
|
export interface ChannelGetOrCreateRequest {
|
|
2321
|
-
/**
|
|
2322
|
-
*
|
|
2323
|
-
* @type {string}
|
|
2324
|
-
* @memberof ChannelGetOrCreateRequest
|
|
2325
|
-
*/
|
|
2326
|
-
client_id?: string;
|
|
2327
|
-
/**
|
|
2328
|
-
*
|
|
2329
|
-
* @type {string}
|
|
2330
|
-
* @memberof ChannelGetOrCreateRequest
|
|
2331
|
-
*/
|
|
2332
|
-
connection_id?: string;
|
|
2333
2345
|
/**
|
|
2334
2346
|
*
|
|
2335
2347
|
* @type {ChannelRequest}
|
|
@@ -2354,24 +2366,12 @@ export interface ChannelGetOrCreateRequest {
|
|
|
2354
2366
|
* @memberof ChannelGetOrCreateRequest
|
|
2355
2367
|
*/
|
|
2356
2368
|
messages?: MessagePaginationParamsRequest;
|
|
2357
|
-
/**
|
|
2358
|
-
* Fetch user presence info
|
|
2359
|
-
* @type {boolean}
|
|
2360
|
-
* @memberof ChannelGetOrCreateRequest
|
|
2361
|
-
*/
|
|
2362
|
-
presence?: boolean;
|
|
2363
2369
|
/**
|
|
2364
2370
|
* Refresh channel state
|
|
2365
2371
|
* @type {boolean}
|
|
2366
2372
|
* @memberof ChannelGetOrCreateRequest
|
|
2367
2373
|
*/
|
|
2368
2374
|
state?: boolean;
|
|
2369
|
-
/**
|
|
2370
|
-
* Start watching the channel
|
|
2371
|
-
* @type {boolean}
|
|
2372
|
-
* @memberof ChannelGetOrCreateRequest
|
|
2373
|
-
*/
|
|
2374
|
-
watch?: boolean;
|
|
2375
2375
|
/**
|
|
2376
2376
|
*
|
|
2377
2377
|
* @type {PaginationParamsRequest}
|
|
@@ -2537,6 +2537,12 @@ export interface ChannelMember {
|
|
|
2537
2537
|
* @memberof ChannelMember
|
|
2538
2538
|
*/
|
|
2539
2539
|
is_moderator?: boolean;
|
|
2540
|
+
/**
|
|
2541
|
+
*
|
|
2542
|
+
* @type {boolean}
|
|
2543
|
+
* @memberof ChannelMember
|
|
2544
|
+
*/
|
|
2545
|
+
notifications_muted: boolean;
|
|
2540
2546
|
/**
|
|
2541
2547
|
* Permission level of the member in the channel (DEPRECATED: use channel_role instead)
|
|
2542
2548
|
* @type {string}
|
|
@@ -2549,6 +2555,12 @@ export interface ChannelMember {
|
|
|
2549
2555
|
* @memberof ChannelMember
|
|
2550
2556
|
*/
|
|
2551
2557
|
shadow_banned: boolean;
|
|
2558
|
+
/**
|
|
2559
|
+
*
|
|
2560
|
+
* @type {string}
|
|
2561
|
+
* @memberof ChannelMember
|
|
2562
|
+
*/
|
|
2563
|
+
status?: string;
|
|
2552
2564
|
/**
|
|
2553
2565
|
* Date/time of the last update
|
|
2554
2566
|
* @type {string}
|
|
@@ -2641,6 +2653,12 @@ export interface ChannelMemberRequest {
|
|
|
2641
2653
|
* @memberof ChannelMemberRequest
|
|
2642
2654
|
*/
|
|
2643
2655
|
is_moderator?: boolean;
|
|
2656
|
+
/**
|
|
2657
|
+
*
|
|
2658
|
+
* @type {boolean}
|
|
2659
|
+
* @memberof ChannelMemberRequest
|
|
2660
|
+
*/
|
|
2661
|
+
notifications_muted?: boolean;
|
|
2644
2662
|
/**
|
|
2645
2663
|
* Permission level of the member in the channel (DEPRECATED: use channel_role instead)
|
|
2646
2664
|
* @type {string}
|
|
@@ -2653,6 +2671,12 @@ export interface ChannelMemberRequest {
|
|
|
2653
2671
|
* @memberof ChannelMemberRequest
|
|
2654
2672
|
*/
|
|
2655
2673
|
shadow_banned?: boolean;
|
|
2674
|
+
/**
|
|
2675
|
+
*
|
|
2676
|
+
* @type {string}
|
|
2677
|
+
* @memberof ChannelMemberRequest
|
|
2678
|
+
*/
|
|
2679
|
+
status?: string;
|
|
2656
2680
|
/**
|
|
2657
2681
|
* Date/time of the last update
|
|
2658
2682
|
* @type {string}
|
|
@@ -3327,25 +3351,6 @@ export interface ChannelStateResponseFields {
|
|
|
3327
3351
|
*/
|
|
3328
3352
|
watchers?: Array<UserObject>;
|
|
3329
3353
|
}
|
|
3330
|
-
/**
|
|
3331
|
-
*
|
|
3332
|
-
* @export
|
|
3333
|
-
* @interface ChannelStopWatchingRequest
|
|
3334
|
-
*/
|
|
3335
|
-
export interface ChannelStopWatchingRequest {
|
|
3336
|
-
/**
|
|
3337
|
-
*
|
|
3338
|
-
* @type {string}
|
|
3339
|
-
* @memberof ChannelStopWatchingRequest
|
|
3340
|
-
*/
|
|
3341
|
-
client_id?: string;
|
|
3342
|
-
/**
|
|
3343
|
-
*
|
|
3344
|
-
* @type {string}
|
|
3345
|
-
* @memberof ChannelStopWatchingRequest
|
|
3346
|
-
*/
|
|
3347
|
-
connection_id?: string;
|
|
3348
|
-
}
|
|
3349
3354
|
/**
|
|
3350
3355
|
*
|
|
3351
3356
|
* @export
|
|
@@ -4932,6 +4937,44 @@ export interface CreateRoleResponse {
|
|
|
4932
4937
|
*/
|
|
4933
4938
|
role: Role;
|
|
4934
4939
|
}
|
|
4940
|
+
/**
|
|
4941
|
+
*
|
|
4942
|
+
* @export
|
|
4943
|
+
* @interface DataDogInfo
|
|
4944
|
+
*/
|
|
4945
|
+
export interface DataDogInfo {
|
|
4946
|
+
/**
|
|
4947
|
+
*
|
|
4948
|
+
* @type {string}
|
|
4949
|
+
* @memberof DataDogInfo
|
|
4950
|
+
*/
|
|
4951
|
+
api_key: string;
|
|
4952
|
+
/**
|
|
4953
|
+
*
|
|
4954
|
+
* @type {string}
|
|
4955
|
+
* @memberof DataDogInfo
|
|
4956
|
+
*/
|
|
4957
|
+
site: string;
|
|
4958
|
+
}
|
|
4959
|
+
/**
|
|
4960
|
+
*
|
|
4961
|
+
* @export
|
|
4962
|
+
* @interface DataDogInfoRequest
|
|
4963
|
+
*/
|
|
4964
|
+
export interface DataDogInfoRequest {
|
|
4965
|
+
/**
|
|
4966
|
+
*
|
|
4967
|
+
* @type {string}
|
|
4968
|
+
* @memberof DataDogInfoRequest
|
|
4969
|
+
*/
|
|
4970
|
+
api_key?: string;
|
|
4971
|
+
/**
|
|
4972
|
+
*
|
|
4973
|
+
* @type {string}
|
|
4974
|
+
* @memberof DataDogInfoRequest
|
|
4975
|
+
*/
|
|
4976
|
+
site?: string;
|
|
4977
|
+
}
|
|
4935
4978
|
/**
|
|
4936
4979
|
*
|
|
4937
4980
|
* @export
|
|
@@ -9453,6 +9496,12 @@ export interface MuteUserResponse {
|
|
|
9453
9496
|
* @memberof MuteUserResponse
|
|
9454
9497
|
*/
|
|
9455
9498
|
mutes?: Array<UserMute>;
|
|
9499
|
+
/**
|
|
9500
|
+
*
|
|
9501
|
+
* @type {Array<string>}
|
|
9502
|
+
* @memberof MuteUserResponse
|
|
9503
|
+
*/
|
|
9504
|
+
non_existing_users?: Array<string>;
|
|
9456
9505
|
/**
|
|
9457
9506
|
*
|
|
9458
9507
|
* @type {OwnUser}
|
|
@@ -11420,18 +11469,6 @@ export interface QueryBannedUsersResponse {
|
|
|
11420
11469
|
* @interface QueryChannelsRequest
|
|
11421
11470
|
*/
|
|
11422
11471
|
export interface QueryChannelsRequest {
|
|
11423
|
-
/**
|
|
11424
|
-
*
|
|
11425
|
-
* @type {string}
|
|
11426
|
-
* @memberof QueryChannelsRequest
|
|
11427
|
-
*/
|
|
11428
|
-
client_id?: string;
|
|
11429
|
-
/**
|
|
11430
|
-
*
|
|
11431
|
-
* @type {string}
|
|
11432
|
-
* @memberof QueryChannelsRequest
|
|
11433
|
-
*/
|
|
11434
|
-
connection_id?: string;
|
|
11435
11472
|
/**
|
|
11436
11473
|
*
|
|
11437
11474
|
* @type {{ [key: string]: any; }}
|
|
@@ -11676,18 +11713,6 @@ export interface QueryMessageFlagsResponse {
|
|
|
11676
11713
|
* @interface QueryUsersRequest
|
|
11677
11714
|
*/
|
|
11678
11715
|
export interface QueryUsersRequest {
|
|
11679
|
-
/**
|
|
11680
|
-
*
|
|
11681
|
-
* @type {string}
|
|
11682
|
-
* @memberof QueryUsersRequest
|
|
11683
|
-
*/
|
|
11684
|
-
client_id?: string;
|
|
11685
|
-
/**
|
|
11686
|
-
*
|
|
11687
|
-
* @type {string}
|
|
11688
|
-
* @memberof QueryUsersRequest
|
|
11689
|
-
*/
|
|
11690
|
-
connection_id?: string;
|
|
11691
11716
|
/**
|
|
11692
11717
|
* User filters
|
|
11693
11718
|
* @type {{ [key: string]: any; }}
|
|
@@ -12869,99 +12894,6 @@ export interface SortParamRequest {
|
|
|
12869
12894
|
*/
|
|
12870
12895
|
field?: string;
|
|
12871
12896
|
}
|
|
12872
|
-
/**
|
|
12873
|
-
*
|
|
12874
|
-
* @export
|
|
12875
|
-
* @interface StopWatchingResponse
|
|
12876
|
-
*/
|
|
12877
|
-
export interface StopWatchingResponse {
|
|
12878
|
-
/**
|
|
12879
|
-
* Duration of the request in human-readable format
|
|
12880
|
-
* @type {string}
|
|
12881
|
-
* @memberof StopWatchingResponse
|
|
12882
|
-
*/
|
|
12883
|
-
duration: string;
|
|
12884
|
-
}
|
|
12885
|
-
/**
|
|
12886
|
-
*
|
|
12887
|
-
* @export
|
|
12888
|
-
* @interface SyncRequest
|
|
12889
|
-
*/
|
|
12890
|
-
export interface SyncRequest {
|
|
12891
|
-
/**
|
|
12892
|
-
* List of channel CIDs to sync
|
|
12893
|
-
* @type {Array<string>}
|
|
12894
|
-
* @memberof SyncRequest
|
|
12895
|
-
*/
|
|
12896
|
-
channel_cids?: Array<string>;
|
|
12897
|
-
/**
|
|
12898
|
-
*
|
|
12899
|
-
* @type {string}
|
|
12900
|
-
* @memberof SyncRequest
|
|
12901
|
-
*/
|
|
12902
|
-
client_id?: string;
|
|
12903
|
-
/**
|
|
12904
|
-
*
|
|
12905
|
-
* @type {string}
|
|
12906
|
-
* @memberof SyncRequest
|
|
12907
|
-
*/
|
|
12908
|
-
connection_id?: string;
|
|
12909
|
-
/**
|
|
12910
|
-
* Date from which synchronization should happen
|
|
12911
|
-
* @type {string}
|
|
12912
|
-
* @memberof SyncRequest
|
|
12913
|
-
*/
|
|
12914
|
-
last_sync_at: string;
|
|
12915
|
-
/**
|
|
12916
|
-
*
|
|
12917
|
-
* @type {UserObjectRequest}
|
|
12918
|
-
* @memberof SyncRequest
|
|
12919
|
-
*/
|
|
12920
|
-
user?: UserObjectRequest;
|
|
12921
|
-
/**
|
|
12922
|
-
*
|
|
12923
|
-
* @type {string}
|
|
12924
|
-
* @memberof SyncRequest
|
|
12925
|
-
*/
|
|
12926
|
-
user_id?: string;
|
|
12927
|
-
/**
|
|
12928
|
-
* 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.
|
|
12929
|
-
* @type {boolean}
|
|
12930
|
-
* @memberof SyncRequest
|
|
12931
|
-
*/
|
|
12932
|
-
watch?: boolean;
|
|
12933
|
-
/**
|
|
12934
|
-
* If set to true this will add 'inaccessible_cids' to response type
|
|
12935
|
-
* @type {boolean}
|
|
12936
|
-
* @memberof SyncRequest
|
|
12937
|
-
*/
|
|
12938
|
-
with_inaccessible_cids?: boolean;
|
|
12939
|
-
}
|
|
12940
|
-
/**
|
|
12941
|
-
*
|
|
12942
|
-
* @export
|
|
12943
|
-
* @interface SyncResponse
|
|
12944
|
-
*/
|
|
12945
|
-
export interface SyncResponse {
|
|
12946
|
-
/**
|
|
12947
|
-
*
|
|
12948
|
-
* @type {string}
|
|
12949
|
-
* @memberof SyncResponse
|
|
12950
|
-
*/
|
|
12951
|
-
duration: string;
|
|
12952
|
-
/**
|
|
12953
|
-
* List of events
|
|
12954
|
-
* @type {Array<Event>}
|
|
12955
|
-
* @memberof SyncResponse
|
|
12956
|
-
*/
|
|
12957
|
-
events: Array<Event>;
|
|
12958
|
-
/**
|
|
12959
|
-
* List of CIDs that user can't access
|
|
12960
|
-
* @type {Array<string>}
|
|
12961
|
-
* @memberof SyncResponse
|
|
12962
|
-
*/
|
|
12963
|
-
inaccessible_cids?: Array<string>;
|
|
12964
|
-
}
|
|
12965
12897
|
/**
|
|
12966
12898
|
*
|
|
12967
12899
|
* @export
|
|
@@ -13373,6 +13305,12 @@ export interface UnmuteResponse {
|
|
|
13373
13305
|
* @memberof UnmuteResponse
|
|
13374
13306
|
*/
|
|
13375
13307
|
duration: string;
|
|
13308
|
+
/**
|
|
13309
|
+
*
|
|
13310
|
+
* @type {Array<string>}
|
|
13311
|
+
* @memberof UnmuteResponse
|
|
13312
|
+
*/
|
|
13313
|
+
non_existing_users?: Array<string>;
|
|
13376
13314
|
}
|
|
13377
13315
|
/**
|
|
13378
13316
|
*
|
|
@@ -13411,6 +13349,87 @@ export interface UnmuteUserRequest {
|
|
|
13411
13349
|
*/
|
|
13412
13350
|
user_id?: string;
|
|
13413
13351
|
}
|
|
13352
|
+
/**
|
|
13353
|
+
*
|
|
13354
|
+
* @export
|
|
13355
|
+
* @interface UnreadCountsChannel
|
|
13356
|
+
*/
|
|
13357
|
+
export interface UnreadCountsChannel {
|
|
13358
|
+
/**
|
|
13359
|
+
*
|
|
13360
|
+
* @type {string}
|
|
13361
|
+
* @memberof UnreadCountsChannel
|
|
13362
|
+
*/
|
|
13363
|
+
channel_id: string;
|
|
13364
|
+
/**
|
|
13365
|
+
*
|
|
13366
|
+
* @type {string}
|
|
13367
|
+
* @memberof UnreadCountsChannel
|
|
13368
|
+
*/
|
|
13369
|
+
last_read: string;
|
|
13370
|
+
/**
|
|
13371
|
+
*
|
|
13372
|
+
* @type {number}
|
|
13373
|
+
* @memberof UnreadCountsChannel
|
|
13374
|
+
*/
|
|
13375
|
+
unread_count: number;
|
|
13376
|
+
}
|
|
13377
|
+
/**
|
|
13378
|
+
*
|
|
13379
|
+
* @export
|
|
13380
|
+
* @interface UnreadCountsChannelType
|
|
13381
|
+
*/
|
|
13382
|
+
export interface UnreadCountsChannelType {
|
|
13383
|
+
/**
|
|
13384
|
+
*
|
|
13385
|
+
* @type {number}
|
|
13386
|
+
* @memberof UnreadCountsChannelType
|
|
13387
|
+
*/
|
|
13388
|
+
channel_count: number;
|
|
13389
|
+
/**
|
|
13390
|
+
*
|
|
13391
|
+
* @type {string}
|
|
13392
|
+
* @memberof UnreadCountsChannelType
|
|
13393
|
+
*/
|
|
13394
|
+
channel_type: string;
|
|
13395
|
+
/**
|
|
13396
|
+
*
|
|
13397
|
+
* @type {number}
|
|
13398
|
+
* @memberof UnreadCountsChannelType
|
|
13399
|
+
*/
|
|
13400
|
+
unread_count: number;
|
|
13401
|
+
}
|
|
13402
|
+
/**
|
|
13403
|
+
*
|
|
13404
|
+
* @export
|
|
13405
|
+
* @interface UnreadCountsResponse
|
|
13406
|
+
*/
|
|
13407
|
+
export interface UnreadCountsResponse {
|
|
13408
|
+
/**
|
|
13409
|
+
*
|
|
13410
|
+
* @type {Array<UnreadCountsChannelType>}
|
|
13411
|
+
* @memberof UnreadCountsResponse
|
|
13412
|
+
*/
|
|
13413
|
+
channel_type: Array<UnreadCountsChannelType>;
|
|
13414
|
+
/**
|
|
13415
|
+
*
|
|
13416
|
+
* @type {Array<UnreadCountsChannel>}
|
|
13417
|
+
* @memberof UnreadCountsResponse
|
|
13418
|
+
*/
|
|
13419
|
+
channels: Array<UnreadCountsChannel>;
|
|
13420
|
+
/**
|
|
13421
|
+
* Duration of the request in human-readable format
|
|
13422
|
+
* @type {string}
|
|
13423
|
+
* @memberof UnreadCountsResponse
|
|
13424
|
+
*/
|
|
13425
|
+
duration: string;
|
|
13426
|
+
/**
|
|
13427
|
+
*
|
|
13428
|
+
* @type {number}
|
|
13429
|
+
* @memberof UnreadCountsResponse
|
|
13430
|
+
*/
|
|
13431
|
+
total_unread_count: number;
|
|
13432
|
+
}
|
|
13414
13433
|
/**
|
|
13415
13434
|
*
|
|
13416
13435
|
* @export
|
|
@@ -13471,6 +13490,12 @@ export interface UpdateAppRequest {
|
|
|
13471
13490
|
* @memberof UpdateAppRequest
|
|
13472
13491
|
*/
|
|
13473
13492
|
custom_action_handler_url?: string;
|
|
13493
|
+
/**
|
|
13494
|
+
*
|
|
13495
|
+
* @type {DataDogInfoRequest}
|
|
13496
|
+
* @memberof UpdateAppRequest
|
|
13497
|
+
*/
|
|
13498
|
+
datadog_info?: DataDogInfoRequest;
|
|
13474
13499
|
/**
|
|
13475
13500
|
*
|
|
13476
13501
|
* @type {boolean}
|
|
@@ -13573,6 +13598,12 @@ export interface UpdateAppRequest {
|
|
|
13573
13598
|
* @memberof UpdateAppRequest
|
|
13574
13599
|
*/
|
|
13575
13600
|
reminders_interval?: number;
|
|
13601
|
+
/**
|
|
13602
|
+
*
|
|
13603
|
+
* @type {number}
|
|
13604
|
+
* @memberof UpdateAppRequest
|
|
13605
|
+
*/
|
|
13606
|
+
reminders_max_members?: number;
|
|
13576
13607
|
/**
|
|
13577
13608
|
*
|
|
13578
13609
|
* @type {string}
|
package/src/gen/chat/runtime.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Stream Chat API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v92.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|