@stream-io/node-sdk 0.7.63 → 0.7.64
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/dist/index.cjs.js +208 -15
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +208 -15
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/gen/chat/ChannelApi.d.ts +6 -0
- package/dist/src/gen/chat/ChatApi.d.ts +7 -0
- package/dist/src/gen/common/CommonApi.d.ts +7 -2
- package/dist/src/gen/feeds/FeedsApi.d.ts +1 -0
- package/dist/src/gen/models/index.d.ts +1885 -21
- package/dist/src/gen/moderation/ModerationApi.d.ts +18 -2
- package/dist/src/gen/video/VideoApi.d.ts +5 -1
- package/dist/src/utils/query-params.d.ts +7 -0
- package/package.json +3 -3
- package/src/ApiClient.ts +8 -10
- package/src/gen/chat/ChannelApi.ts +6 -0
- package/src/gen/chat/ChatApi.ts +21 -0
- package/src/gen/common/CommonApi.ts +81 -5
- package/src/gen/feeds/FeedsApi.ts +3 -0
- package/src/gen/model-decoders/decoders.ts +85 -0
- package/src/gen/models/index.ts +2230 -35
- package/src/gen/moderation/ModerationApi.ts +136 -2
- package/src/gen/video/VideoApi.ts +19 -0
- package/src/utils/query-params.ts +21 -0
package/src/gen/models/index.ts
CHANGED
|
@@ -182,9 +182,18 @@ export interface AWSRekognitionRule {
|
|
|
182
182
|
subclassifications?: Record<string, any>;
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
+
export interface AbsentMetric {
|
|
186
|
+
metric: string;
|
|
187
|
+
|
|
188
|
+
reason: string;
|
|
189
|
+
}
|
|
190
|
+
|
|
185
191
|
export interface AcceptFeedMemberInviteRequest {
|
|
186
192
|
user_id?: string;
|
|
187
193
|
|
|
194
|
+
/**
|
|
195
|
+
* User request object
|
|
196
|
+
*/
|
|
188
197
|
user?: UserRequest;
|
|
189
198
|
}
|
|
190
199
|
|
|
@@ -274,8 +283,14 @@ export interface ActionLogResponse {
|
|
|
274
283
|
|
|
275
284
|
review_queue_item?: ReviewQueueItemResponse;
|
|
276
285
|
|
|
286
|
+
/**
|
|
287
|
+
* User response object
|
|
288
|
+
*/
|
|
277
289
|
target_user?: UserResponse;
|
|
278
290
|
|
|
291
|
+
/**
|
|
292
|
+
* User response object
|
|
293
|
+
*/
|
|
279
294
|
user?: UserResponse;
|
|
280
295
|
}
|
|
281
296
|
|
|
@@ -436,6 +451,9 @@ export interface ActivityFeedbackEventPayload {
|
|
|
436
451
|
*/
|
|
437
452
|
value: string;
|
|
438
453
|
|
|
454
|
+
/**
|
|
455
|
+
* User response object
|
|
456
|
+
*/
|
|
439
457
|
user: UserResponse;
|
|
440
458
|
}
|
|
441
459
|
|
|
@@ -457,6 +475,9 @@ export interface ActivityFeedbackRequest {
|
|
|
457
475
|
|
|
458
476
|
user_id?: string;
|
|
459
477
|
|
|
478
|
+
/**
|
|
479
|
+
* User request object
|
|
480
|
+
*/
|
|
460
481
|
user?: UserRequest;
|
|
461
482
|
}
|
|
462
483
|
|
|
@@ -541,6 +562,9 @@ export interface ActivityPinResponse {
|
|
|
541
562
|
|
|
542
563
|
activity: ActivityResponse;
|
|
543
564
|
|
|
565
|
+
/**
|
|
566
|
+
* User response object
|
|
567
|
+
*/
|
|
544
568
|
user: UserResponse;
|
|
545
569
|
}
|
|
546
570
|
|
|
@@ -769,6 +793,11 @@ export interface ActivityRequest {
|
|
|
769
793
|
*/
|
|
770
794
|
collection_refs?: string[];
|
|
771
795
|
|
|
796
|
+
/**
|
|
797
|
+
* Collections to create or update as part of this request, so an activity and the collections it references can be written in one call. Their refs (name:id) are added to collection_refs automatically; you do not need to restate them, and they count toward the same per-activity collection-reference limit, which is the effective cap here. A collection that already exists has its custom data updated. Use collection_refs instead when the collection already exists and you are only referencing it, which requires no collection permissions.
|
|
798
|
+
*/
|
|
799
|
+
collections?: CollectionRequest[];
|
|
800
|
+
|
|
772
801
|
/**
|
|
773
802
|
* Tags for filtering activities
|
|
774
803
|
*/
|
|
@@ -935,6 +964,9 @@ export interface ActivityResponse {
|
|
|
935
964
|
*/
|
|
936
965
|
search_data: Record<string, any>;
|
|
937
966
|
|
|
967
|
+
/**
|
|
968
|
+
* User response object
|
|
969
|
+
*/
|
|
938
970
|
user: UserResponse;
|
|
939
971
|
|
|
940
972
|
/**
|
|
@@ -1275,6 +1307,11 @@ export interface AddActivityRequest {
|
|
|
1275
1307
|
*/
|
|
1276
1308
|
collection_refs?: string[];
|
|
1277
1309
|
|
|
1310
|
+
/**
|
|
1311
|
+
* Collections to create or update as part of this request, so an activity and the collections it references can be written in one call. Their refs (name:id) are added to collection_refs automatically; you do not need to restate them, and they count toward the same per-activity collection-reference limit, which is the effective cap here. A collection that already exists has its custom data updated. Use collection_refs instead when the collection already exists and you are only referencing it, which requires no collection permissions.
|
|
1312
|
+
*/
|
|
1313
|
+
collections?: CollectionRequest[];
|
|
1314
|
+
|
|
1278
1315
|
/**
|
|
1279
1316
|
* Tags for filtering activities
|
|
1280
1317
|
*/
|
|
@@ -1329,6 +1366,9 @@ export interface AddBookmarkRequest {
|
|
|
1329
1366
|
|
|
1330
1367
|
new_folder?: AddFolderRequest;
|
|
1331
1368
|
|
|
1369
|
+
/**
|
|
1370
|
+
* User request object
|
|
1371
|
+
*/
|
|
1332
1372
|
user?: UserRequest;
|
|
1333
1373
|
}
|
|
1334
1374
|
|
|
@@ -1353,6 +1393,9 @@ export interface AddCommentBookmarkRequest {
|
|
|
1353
1393
|
|
|
1354
1394
|
new_folder?: AddFolderRequest;
|
|
1355
1395
|
|
|
1396
|
+
/**
|
|
1397
|
+
* User request object
|
|
1398
|
+
*/
|
|
1356
1399
|
user?: UserRequest;
|
|
1357
1400
|
}
|
|
1358
1401
|
|
|
@@ -1398,6 +1441,9 @@ export interface AddCommentReactionRequest {
|
|
|
1398
1441
|
*/
|
|
1399
1442
|
custom?: Record<string, any>;
|
|
1400
1443
|
|
|
1444
|
+
/**
|
|
1445
|
+
* User request object
|
|
1446
|
+
*/
|
|
1401
1447
|
user?: UserRequest;
|
|
1402
1448
|
}
|
|
1403
1449
|
|
|
@@ -1496,6 +1542,9 @@ export interface AddCommentRequest {
|
|
|
1496
1542
|
*/
|
|
1497
1543
|
custom?: Record<string, any>;
|
|
1498
1544
|
|
|
1545
|
+
/**
|
|
1546
|
+
* User request object
|
|
1547
|
+
*/
|
|
1499
1548
|
user?: UserRequest;
|
|
1500
1549
|
}
|
|
1501
1550
|
|
|
@@ -1584,6 +1633,9 @@ export interface AddReactionRequest {
|
|
|
1584
1633
|
*/
|
|
1585
1634
|
custom?: Record<string, any>;
|
|
1586
1635
|
|
|
1636
|
+
/**
|
|
1637
|
+
* User request object
|
|
1638
|
+
*/
|
|
1587
1639
|
user?: UserRequest;
|
|
1588
1640
|
}
|
|
1589
1641
|
|
|
@@ -1793,6 +1845,9 @@ export interface AnalyzeRequest {
|
|
|
1793
1845
|
*/
|
|
1794
1846
|
texts?: Record<string, string>;
|
|
1795
1847
|
|
|
1848
|
+
/**
|
|
1849
|
+
* User request object
|
|
1850
|
+
*/
|
|
1796
1851
|
user?: UserRequest;
|
|
1797
1852
|
}
|
|
1798
1853
|
|
|
@@ -1876,12 +1931,12 @@ export interface AppResponseFields {
|
|
|
1876
1931
|
|
|
1877
1932
|
max_aggregated_activities_length: number;
|
|
1878
1933
|
|
|
1934
|
+
member_custom_on_messages_enabled: boolean;
|
|
1935
|
+
|
|
1879
1936
|
moderation_audio_call_moderation_enabled: boolean;
|
|
1880
1937
|
|
|
1881
1938
|
moderation_enabled: boolean;
|
|
1882
1939
|
|
|
1883
|
-
moderation_flood_rules_enabled: boolean;
|
|
1884
|
-
|
|
1885
1940
|
moderation_llm_configurability_enabled: boolean;
|
|
1886
1941
|
|
|
1887
1942
|
moderation_multitenant_blocklist_enabled: boolean;
|
|
@@ -2094,6 +2149,9 @@ export interface AppealItemResponse {
|
|
|
2094
2149
|
|
|
2095
2150
|
original_moderation_action?: ActionLogResponse;
|
|
2096
2151
|
|
|
2152
|
+
/**
|
|
2153
|
+
* User response object
|
|
2154
|
+
*/
|
|
2097
2155
|
user?: UserResponse;
|
|
2098
2156
|
}
|
|
2099
2157
|
|
|
@@ -2137,6 +2195,9 @@ export interface AppealRequest {
|
|
|
2137
2195
|
*/
|
|
2138
2196
|
attachments?: string[];
|
|
2139
2197
|
|
|
2198
|
+
/**
|
|
2199
|
+
* User request object
|
|
2200
|
+
*/
|
|
2140
2201
|
user?: UserRequest;
|
|
2141
2202
|
}
|
|
2142
2203
|
|
|
@@ -2318,6 +2379,30 @@ export interface Attachment {
|
|
|
2318
2379
|
giphy?: Images;
|
|
2319
2380
|
}
|
|
2320
2381
|
|
|
2382
|
+
export interface Audience {
|
|
2383
|
+
avg_concurrent_viewers: number;
|
|
2384
|
+
|
|
2385
|
+
hours_watched: number;
|
|
2386
|
+
|
|
2387
|
+
peak_concurrent_viewers: number;
|
|
2388
|
+
|
|
2389
|
+
unique_viewers: number;
|
|
2390
|
+
|
|
2391
|
+
viewer_connections: number;
|
|
2392
|
+
|
|
2393
|
+
concurrency_by_minute: ConcurrencyMinute[];
|
|
2394
|
+
|
|
2395
|
+
peak_at?: string;
|
|
2396
|
+
|
|
2397
|
+
ramp_up_min_to_90pct_peak?: number;
|
|
2398
|
+
|
|
2399
|
+
retention_at_90pct_mark?: number;
|
|
2400
|
+
|
|
2401
|
+
retention_at_midpoint?: number;
|
|
2402
|
+
|
|
2403
|
+
shape?: string;
|
|
2404
|
+
}
|
|
2405
|
+
|
|
2321
2406
|
export interface AudioSettings {
|
|
2322
2407
|
access_request_enabled: boolean;
|
|
2323
2408
|
|
|
@@ -2381,6 +2466,9 @@ export interface AutomodDetailsResponse {
|
|
|
2381
2466
|
|
|
2382
2467
|
message_details?: FlagMessageDetailsResponse;
|
|
2383
2468
|
|
|
2469
|
+
/**
|
|
2470
|
+
* Result of the message moderation
|
|
2471
|
+
*/
|
|
2384
2472
|
result?: MessageModerationResult;
|
|
2385
2473
|
}
|
|
2386
2474
|
|
|
@@ -2549,8 +2637,14 @@ export interface BanInfoResponse {
|
|
|
2549
2637
|
|
|
2550
2638
|
channel?: ChannelMetadata;
|
|
2551
2639
|
|
|
2640
|
+
/**
|
|
2641
|
+
* User response object
|
|
2642
|
+
*/
|
|
2552
2643
|
created_by?: UserResponse;
|
|
2553
2644
|
|
|
2645
|
+
/**
|
|
2646
|
+
* User response object
|
|
2647
|
+
*/
|
|
2554
2648
|
user?: UserResponse;
|
|
2555
2649
|
}
|
|
2556
2650
|
|
|
@@ -2604,6 +2698,9 @@ export interface BanRequest {
|
|
|
2604
2698
|
*/
|
|
2605
2699
|
timeout?: number;
|
|
2606
2700
|
|
|
2701
|
+
/**
|
|
2702
|
+
* User request object
|
|
2703
|
+
*/
|
|
2607
2704
|
banned_by?: UserRequest;
|
|
2608
2705
|
}
|
|
2609
2706
|
|
|
@@ -2616,10 +2713,19 @@ export interface BanResponse {
|
|
|
2616
2713
|
|
|
2617
2714
|
shadow?: boolean;
|
|
2618
2715
|
|
|
2716
|
+
/**
|
|
2717
|
+
* User response object
|
|
2718
|
+
*/
|
|
2619
2719
|
banned_by?: UserResponse;
|
|
2620
2720
|
|
|
2721
|
+
/**
|
|
2722
|
+
* Represents channel in chat
|
|
2723
|
+
*/
|
|
2621
2724
|
channel?: ChannelResponse;
|
|
2622
2725
|
|
|
2726
|
+
/**
|
|
2727
|
+
* User response object
|
|
2728
|
+
*/
|
|
2623
2729
|
user?: UserResponse;
|
|
2624
2730
|
}
|
|
2625
2731
|
|
|
@@ -2647,6 +2753,9 @@ export interface BatchQueryActivityReactionsRequest {
|
|
|
2647
2753
|
*/
|
|
2648
2754
|
filter?: Record<string, any>;
|
|
2649
2755
|
|
|
2756
|
+
/**
|
|
2757
|
+
* User request object
|
|
2758
|
+
*/
|
|
2650
2759
|
user?: UserRequest;
|
|
2651
2760
|
}
|
|
2652
2761
|
|
|
@@ -2687,6 +2796,9 @@ export interface BatchQueryCommentReactionsRequest {
|
|
|
2687
2796
|
*/
|
|
2688
2797
|
filter?: Record<string, any>;
|
|
2689
2798
|
|
|
2799
|
+
/**
|
|
2800
|
+
* User request object
|
|
2801
|
+
*/
|
|
2690
2802
|
user?: UserRequest;
|
|
2691
2803
|
}
|
|
2692
2804
|
|
|
@@ -2812,6 +2924,9 @@ export interface BlockUsersRequest {
|
|
|
2812
2924
|
|
|
2813
2925
|
user_id?: string;
|
|
2814
2926
|
|
|
2927
|
+
/**
|
|
2928
|
+
* User request object
|
|
2929
|
+
*/
|
|
2815
2930
|
user?: UserRequest;
|
|
2816
2931
|
}
|
|
2817
2932
|
|
|
@@ -2842,6 +2957,9 @@ export interface BlockedUserEvent {
|
|
|
2842
2957
|
|
|
2843
2958
|
created_at: Date;
|
|
2844
2959
|
|
|
2960
|
+
/**
|
|
2961
|
+
* User response object
|
|
2962
|
+
*/
|
|
2845
2963
|
user: UserResponse;
|
|
2846
2964
|
|
|
2847
2965
|
/**
|
|
@@ -2849,6 +2967,9 @@ export interface BlockedUserEvent {
|
|
|
2849
2967
|
*/
|
|
2850
2968
|
type: string;
|
|
2851
2969
|
|
|
2970
|
+
/**
|
|
2971
|
+
* User response object
|
|
2972
|
+
*/
|
|
2852
2973
|
blocked_by_user?: UserResponse;
|
|
2853
2974
|
}
|
|
2854
2975
|
|
|
@@ -2865,8 +2986,14 @@ export interface BlockedUserResponse {
|
|
|
2865
2986
|
*/
|
|
2866
2987
|
user_id: string;
|
|
2867
2988
|
|
|
2989
|
+
/**
|
|
2990
|
+
* User response object
|
|
2991
|
+
*/
|
|
2868
2992
|
blocked_user: UserResponse;
|
|
2869
2993
|
|
|
2994
|
+
/**
|
|
2995
|
+
* User response object
|
|
2996
|
+
*/
|
|
2870
2997
|
user: UserResponse;
|
|
2871
2998
|
}
|
|
2872
2999
|
|
|
@@ -2994,6 +3121,9 @@ export interface BookmarkFolderResponse {
|
|
|
2994
3121
|
*/
|
|
2995
3122
|
updated_at: Date;
|
|
2996
3123
|
|
|
3124
|
+
/**
|
|
3125
|
+
* User response object
|
|
3126
|
+
*/
|
|
2997
3127
|
user: UserResponse;
|
|
2998
3128
|
|
|
2999
3129
|
/**
|
|
@@ -3045,6 +3175,9 @@ export interface BookmarkResponse {
|
|
|
3045
3175
|
|
|
3046
3176
|
activity: ActivityResponse;
|
|
3047
3177
|
|
|
3178
|
+
/**
|
|
3179
|
+
* User response object
|
|
3180
|
+
*/
|
|
3048
3181
|
user: UserResponse;
|
|
3049
3182
|
|
|
3050
3183
|
activity_id?: string;
|
|
@@ -3085,6 +3218,90 @@ export interface Bound {
|
|
|
3085
3218
|
value: number;
|
|
3086
3219
|
}
|
|
3087
3220
|
|
|
3221
|
+
export interface BroadcastDailyRollup {
|
|
3222
|
+
broadcasts: number;
|
|
3223
|
+
|
|
3224
|
+
day: string;
|
|
3225
|
+
|
|
3226
|
+
dead_air_s: number;
|
|
3227
|
+
|
|
3228
|
+
hours_watched: number;
|
|
3229
|
+
|
|
3230
|
+
incident_windows: number;
|
|
3231
|
+
|
|
3232
|
+
max_peak_concurrent_viewers: number;
|
|
3233
|
+
|
|
3234
|
+
note: string;
|
|
3235
|
+
|
|
3236
|
+
schema_version: string;
|
|
3237
|
+
|
|
3238
|
+
source_drops: number;
|
|
3239
|
+
|
|
3240
|
+
unique_viewers_sum: number;
|
|
3241
|
+
|
|
3242
|
+
top_broadcasts: TopBroadcast[];
|
|
3243
|
+
|
|
3244
|
+
poor_viewers_by_cause: PoorByCause;
|
|
3245
|
+
}
|
|
3246
|
+
|
|
3247
|
+
export interface BroadcastDigest {
|
|
3248
|
+
schema_version: string;
|
|
3249
|
+
|
|
3250
|
+
audience: Audience;
|
|
3251
|
+
|
|
3252
|
+
broadcast: BroadcastInfo;
|
|
3253
|
+
|
|
3254
|
+
coverage: Coverage;
|
|
3255
|
+
|
|
3256
|
+
joins: Joins;
|
|
3257
|
+
|
|
3258
|
+
poor_tail: PoorTail;
|
|
3259
|
+
|
|
3260
|
+
quality: Quality;
|
|
3261
|
+
|
|
3262
|
+
segments: Segments;
|
|
3263
|
+
|
|
3264
|
+
source: SourceHealth;
|
|
3265
|
+
|
|
3266
|
+
viewers: ViewerBehavior;
|
|
3267
|
+
}
|
|
3268
|
+
|
|
3269
|
+
export interface BroadcastInfo {
|
|
3270
|
+
app_id: number;
|
|
3271
|
+
|
|
3272
|
+
call_cid: string;
|
|
3273
|
+
|
|
3274
|
+
call_session_id: string;
|
|
3275
|
+
|
|
3276
|
+
call_type: string;
|
|
3277
|
+
|
|
3278
|
+
duration_min: number;
|
|
3279
|
+
|
|
3280
|
+
ended_at: string;
|
|
3281
|
+
|
|
3282
|
+
started_at: string;
|
|
3283
|
+
|
|
3284
|
+
creators: string[];
|
|
3285
|
+
|
|
3286
|
+
source_mode?: string;
|
|
3287
|
+
}
|
|
3288
|
+
|
|
3289
|
+
export interface BroadcastSegment {
|
|
3290
|
+
key: string;
|
|
3291
|
+
|
|
3292
|
+
sessions: number;
|
|
3293
|
+
|
|
3294
|
+
avg_quality_score?: number;
|
|
3295
|
+
|
|
3296
|
+
p5_quality_score?: number;
|
|
3297
|
+
|
|
3298
|
+
poor_pct?: number;
|
|
3299
|
+
|
|
3300
|
+
share_pct?: number;
|
|
3301
|
+
|
|
3302
|
+
watch_share_pct?: number;
|
|
3303
|
+
}
|
|
3304
|
+
|
|
3088
3305
|
export interface BroadcastSettings {
|
|
3089
3306
|
enabled: boolean;
|
|
3090
3307
|
|
|
@@ -3104,8 +3321,14 @@ export interface BroadcastSettingsRequest {
|
|
|
3104
3321
|
export interface BroadcastSettingsResponse {
|
|
3105
3322
|
enabled: boolean;
|
|
3106
3323
|
|
|
3324
|
+
/**
|
|
3325
|
+
* HLSSettings is the payload for HLS settings
|
|
3326
|
+
*/
|
|
3107
3327
|
hls: HLSSettingsResponse;
|
|
3108
3328
|
|
|
3329
|
+
/**
|
|
3330
|
+
* RTMPSettingsResponse is the payload for RTMP settings
|
|
3331
|
+
*/
|
|
3109
3332
|
rtmp: RTMPSettingsResponse;
|
|
3110
3333
|
}
|
|
3111
3334
|
|
|
@@ -3134,16 +3357,34 @@ export interface BulkActionAppealsRequest {
|
|
|
3134
3357
|
|
|
3135
3358
|
user_id?: string;
|
|
3136
3359
|
|
|
3360
|
+
/**
|
|
3361
|
+
* Configuration for mark reviewed action
|
|
3362
|
+
*/
|
|
3137
3363
|
mark_reviewed?: MarkReviewedRequestPayload;
|
|
3138
3364
|
|
|
3365
|
+
/**
|
|
3366
|
+
* Configuration for rejecting an appeal
|
|
3367
|
+
*/
|
|
3139
3368
|
reject_appeal?: RejectAppealRequestPayload;
|
|
3140
3369
|
|
|
3370
|
+
/**
|
|
3371
|
+
* Configuration for restore action
|
|
3372
|
+
*/
|
|
3141
3373
|
restore?: RestoreActionRequestPayload;
|
|
3142
3374
|
|
|
3375
|
+
/**
|
|
3376
|
+
* Configuration for unban moderation action
|
|
3377
|
+
*/
|
|
3143
3378
|
unban?: UnbanActionRequestPayload;
|
|
3144
3379
|
|
|
3380
|
+
/**
|
|
3381
|
+
* Configuration for unblock action
|
|
3382
|
+
*/
|
|
3145
3383
|
unblock?: UnblockActionRequestPayload;
|
|
3146
3384
|
|
|
3385
|
+
/**
|
|
3386
|
+
* User request object
|
|
3387
|
+
*/
|
|
3147
3388
|
user?: UserRequest;
|
|
3148
3389
|
}
|
|
3149
3390
|
|
|
@@ -3181,6 +3422,9 @@ export interface BulkDeleteActionConfigRequest {
|
|
|
3181
3422
|
|
|
3182
3423
|
user_id?: string;
|
|
3183
3424
|
|
|
3425
|
+
/**
|
|
3426
|
+
* User request object
|
|
3427
|
+
*/
|
|
3184
3428
|
user?: UserRequest;
|
|
3185
3429
|
}
|
|
3186
3430
|
|
|
@@ -3217,6 +3461,9 @@ export interface BulkUpsertActionConfigRequest {
|
|
|
3217
3461
|
|
|
3218
3462
|
user_id?: string;
|
|
3219
3463
|
|
|
3464
|
+
/**
|
|
3465
|
+
* User request object
|
|
3466
|
+
*/
|
|
3220
3467
|
user?: UserRequest;
|
|
3221
3468
|
}
|
|
3222
3469
|
|
|
@@ -3254,8 +3501,14 @@ export interface CallAcceptedEvent {
|
|
|
3254
3501
|
|
|
3255
3502
|
created_at: Date;
|
|
3256
3503
|
|
|
3504
|
+
/**
|
|
3505
|
+
* Represents a call
|
|
3506
|
+
*/
|
|
3257
3507
|
call: CallResponse;
|
|
3258
3508
|
|
|
3509
|
+
/**
|
|
3510
|
+
* User response object
|
|
3511
|
+
*/
|
|
3259
3512
|
user: UserResponse;
|
|
3260
3513
|
|
|
3261
3514
|
/**
|
|
@@ -3295,6 +3548,9 @@ export interface CallClosedCaption {
|
|
|
3295
3548
|
|
|
3296
3549
|
translated: boolean;
|
|
3297
3550
|
|
|
3551
|
+
/**
|
|
3552
|
+
* User response object
|
|
3553
|
+
*/
|
|
3298
3554
|
user: UserResponse;
|
|
3299
3555
|
|
|
3300
3556
|
service?: string;
|
|
@@ -3343,6 +3599,9 @@ export interface CallCreatedEvent {
|
|
|
3343
3599
|
*/
|
|
3344
3600
|
members: MemberResponse[];
|
|
3345
3601
|
|
|
3602
|
+
/**
|
|
3603
|
+
* Represents a call
|
|
3604
|
+
*/
|
|
3346
3605
|
call: CallResponse;
|
|
3347
3606
|
|
|
3348
3607
|
/**
|
|
@@ -3382,6 +3641,9 @@ export interface CallDTMFEvent {
|
|
|
3382
3641
|
*/
|
|
3383
3642
|
timestamp: Date;
|
|
3384
3643
|
|
|
3644
|
+
/**
|
|
3645
|
+
* User response object
|
|
3646
|
+
*/
|
|
3385
3647
|
user: UserResponse;
|
|
3386
3648
|
|
|
3387
3649
|
/**
|
|
@@ -3395,6 +3657,9 @@ export interface CallDeletedEvent {
|
|
|
3395
3657
|
|
|
3396
3658
|
created_at: Date;
|
|
3397
3659
|
|
|
3660
|
+
/**
|
|
3661
|
+
* Represents a call
|
|
3662
|
+
*/
|
|
3398
3663
|
call: CallResponse;
|
|
3399
3664
|
|
|
3400
3665
|
/**
|
|
@@ -3416,6 +3681,9 @@ export interface CallEndedEvent {
|
|
|
3416
3681
|
|
|
3417
3682
|
created_at: Date;
|
|
3418
3683
|
|
|
3684
|
+
/**
|
|
3685
|
+
* Represents a call
|
|
3686
|
+
*/
|
|
3419
3687
|
call: CallResponse;
|
|
3420
3688
|
|
|
3421
3689
|
/**
|
|
@@ -3433,6 +3701,9 @@ export interface CallEndedEvent {
|
|
|
3433
3701
|
*/
|
|
3434
3702
|
members?: MemberResponse[];
|
|
3435
3703
|
|
|
3704
|
+
/**
|
|
3705
|
+
* User response object
|
|
3706
|
+
*/
|
|
3436
3707
|
user?: UserResponse;
|
|
3437
3708
|
}
|
|
3438
3709
|
|
|
@@ -3443,6 +3714,9 @@ export interface CallFrameRecordingFailedEvent {
|
|
|
3443
3714
|
|
|
3444
3715
|
egress_id: string;
|
|
3445
3716
|
|
|
3717
|
+
/**
|
|
3718
|
+
* Represents a call
|
|
3719
|
+
*/
|
|
3446
3720
|
call: CallResponse;
|
|
3447
3721
|
|
|
3448
3722
|
/**
|
|
@@ -3496,6 +3770,9 @@ export interface CallFrameRecordingStartedEvent {
|
|
|
3496
3770
|
|
|
3497
3771
|
egress_id: string;
|
|
3498
3772
|
|
|
3773
|
+
/**
|
|
3774
|
+
* Represents a call
|
|
3775
|
+
*/
|
|
3499
3776
|
call: CallResponse;
|
|
3500
3777
|
|
|
3501
3778
|
/**
|
|
@@ -3511,6 +3788,9 @@ export interface CallFrameRecordingStoppedEvent {
|
|
|
3511
3788
|
|
|
3512
3789
|
egress_id: string;
|
|
3513
3790
|
|
|
3791
|
+
/**
|
|
3792
|
+
* Represents a call
|
|
3793
|
+
*/
|
|
3514
3794
|
call: CallResponse;
|
|
3515
3795
|
|
|
3516
3796
|
/**
|
|
@@ -3537,6 +3817,9 @@ export interface CallHLSBroadcastingStartedEvent {
|
|
|
3537
3817
|
|
|
3538
3818
|
hls_playlist_url: string;
|
|
3539
3819
|
|
|
3820
|
+
/**
|
|
3821
|
+
* Represents a call
|
|
3822
|
+
*/
|
|
3540
3823
|
call: CallResponse;
|
|
3541
3824
|
|
|
3542
3825
|
/**
|
|
@@ -3557,6 +3840,9 @@ export interface CallHLSBroadcastingStoppedEvent {
|
|
|
3557
3840
|
}
|
|
3558
3841
|
|
|
3559
3842
|
export interface CallIngressResponse {
|
|
3843
|
+
/**
|
|
3844
|
+
* RTMP input settings
|
|
3845
|
+
*/
|
|
3560
3846
|
rtmp: RTMPIngress;
|
|
3561
3847
|
|
|
3562
3848
|
srt: SRTIngress;
|
|
@@ -3579,6 +3865,9 @@ export interface CallLiveStartedEvent {
|
|
|
3579
3865
|
|
|
3580
3866
|
created_at: Date;
|
|
3581
3867
|
|
|
3868
|
+
/**
|
|
3869
|
+
* Represents a call
|
|
3870
|
+
*/
|
|
3582
3871
|
call: CallResponse;
|
|
3583
3872
|
|
|
3584
3873
|
/**
|
|
@@ -3597,6 +3886,9 @@ export interface CallMemberAddedEvent {
|
|
|
3597
3886
|
*/
|
|
3598
3887
|
members: MemberResponse[];
|
|
3599
3888
|
|
|
3889
|
+
/**
|
|
3890
|
+
* Represents a call
|
|
3891
|
+
*/
|
|
3600
3892
|
call: CallResponse;
|
|
3601
3893
|
|
|
3602
3894
|
/**
|
|
@@ -3615,6 +3907,9 @@ export interface CallMemberRemovedEvent {
|
|
|
3615
3907
|
*/
|
|
3616
3908
|
members: string[];
|
|
3617
3909
|
|
|
3910
|
+
/**
|
|
3911
|
+
* Represents a call
|
|
3912
|
+
*/
|
|
3618
3913
|
call: CallResponse;
|
|
3619
3914
|
|
|
3620
3915
|
/**
|
|
@@ -3633,6 +3928,9 @@ export interface CallMemberUpdatedEvent {
|
|
|
3633
3928
|
*/
|
|
3634
3929
|
members: MemberResponse[];
|
|
3635
3930
|
|
|
3931
|
+
/**
|
|
3932
|
+
* Represents a call
|
|
3933
|
+
*/
|
|
3636
3934
|
call: CallResponse;
|
|
3637
3935
|
|
|
3638
3936
|
/**
|
|
@@ -3651,6 +3949,9 @@ export interface CallMemberUpdatedPermissionEvent {
|
|
|
3651
3949
|
*/
|
|
3652
3950
|
members: MemberResponse[];
|
|
3653
3951
|
|
|
3952
|
+
/**
|
|
3953
|
+
* Represents a call
|
|
3954
|
+
*/
|
|
3654
3955
|
call: CallResponse;
|
|
3655
3956
|
|
|
3656
3957
|
/**
|
|
@@ -3681,8 +3982,14 @@ export interface CallMissedEvent {
|
|
|
3681
3982
|
*/
|
|
3682
3983
|
members: MemberResponse[];
|
|
3683
3984
|
|
|
3985
|
+
/**
|
|
3986
|
+
* Represents a call
|
|
3987
|
+
*/
|
|
3684
3988
|
call: CallResponse;
|
|
3685
3989
|
|
|
3990
|
+
/**
|
|
3991
|
+
* User response object
|
|
3992
|
+
*/
|
|
3686
3993
|
user: UserResponse;
|
|
3687
3994
|
|
|
3688
3995
|
/**
|
|
@@ -3753,8 +4060,14 @@ export interface CallNotificationEvent {
|
|
|
3753
4060
|
*/
|
|
3754
4061
|
members: MemberResponse[];
|
|
3755
4062
|
|
|
4063
|
+
/**
|
|
4064
|
+
* Represents a call
|
|
4065
|
+
*/
|
|
3756
4066
|
call: CallResponse;
|
|
3757
4067
|
|
|
4068
|
+
/**
|
|
4069
|
+
* User response object
|
|
4070
|
+
*/
|
|
3758
4071
|
user: UserResponse;
|
|
3759
4072
|
|
|
3760
4073
|
/**
|
|
@@ -3778,6 +4091,9 @@ export interface CallParticipantResponse {
|
|
|
3778
4091
|
|
|
3779
4092
|
user_session_id: string;
|
|
3780
4093
|
|
|
4094
|
+
/**
|
|
4095
|
+
* User response object
|
|
4096
|
+
*/
|
|
3781
4097
|
user: UserResponse;
|
|
3782
4098
|
}
|
|
3783
4099
|
|
|
@@ -3850,6 +4166,9 @@ export interface CallRecordingReadyEvent {
|
|
|
3850
4166
|
|
|
3851
4167
|
recording_type: 'composite' | 'individual' | 'raw';
|
|
3852
4168
|
|
|
4169
|
+
/**
|
|
4170
|
+
* CallRecording represents a recording of a call.
|
|
4171
|
+
*/
|
|
3853
4172
|
call_recording: CallRecording;
|
|
3854
4173
|
|
|
3855
4174
|
/**
|
|
@@ -3901,8 +4220,14 @@ export interface CallRejectedEvent {
|
|
|
3901
4220
|
|
|
3902
4221
|
created_at: Date;
|
|
3903
4222
|
|
|
4223
|
+
/**
|
|
4224
|
+
* Represents a call
|
|
4225
|
+
*/
|
|
3904
4226
|
call: CallResponse;
|
|
3905
4227
|
|
|
4228
|
+
/**
|
|
4229
|
+
* User response object
|
|
4230
|
+
*/
|
|
3906
4231
|
user: UserResponse;
|
|
3907
4232
|
|
|
3908
4233
|
/**
|
|
@@ -3937,6 +4262,9 @@ export interface CallRequest {
|
|
|
3937
4262
|
|
|
3938
4263
|
members?: MemberRequest[];
|
|
3939
4264
|
|
|
4265
|
+
/**
|
|
4266
|
+
* User request object
|
|
4267
|
+
*/
|
|
3940
4268
|
created_by?: UserRequest;
|
|
3941
4269
|
|
|
3942
4270
|
custom?: Record<string, any>;
|
|
@@ -3984,6 +4312,9 @@ export interface CallResponse {
|
|
|
3984
4312
|
|
|
3985
4313
|
blocked_user_ids: string[];
|
|
3986
4314
|
|
|
4315
|
+
/**
|
|
4316
|
+
* User response object
|
|
4317
|
+
*/
|
|
3987
4318
|
created_by: UserResponse;
|
|
3988
4319
|
|
|
3989
4320
|
/**
|
|
@@ -3993,6 +4324,9 @@ export interface CallResponse {
|
|
|
3993
4324
|
|
|
3994
4325
|
egress: EgressResponse;
|
|
3995
4326
|
|
|
4327
|
+
/**
|
|
4328
|
+
* CallIngressResponse is the payload for ingress settings
|
|
4329
|
+
*/
|
|
3996
4330
|
ingress: CallIngressResponse;
|
|
3997
4331
|
|
|
3998
4332
|
settings: CallSettingsResponse;
|
|
@@ -4040,8 +4374,14 @@ export interface CallRingEvent {
|
|
|
4040
4374
|
*/
|
|
4041
4375
|
members: MemberResponse[];
|
|
4042
4376
|
|
|
4377
|
+
/**
|
|
4378
|
+
* Represents a call
|
|
4379
|
+
*/
|
|
4043
4380
|
call: CallResponse;
|
|
4044
4381
|
|
|
4382
|
+
/**
|
|
4383
|
+
* User response object
|
|
4384
|
+
*/
|
|
4045
4385
|
user: UserResponse;
|
|
4046
4386
|
|
|
4047
4387
|
/**
|
|
@@ -4134,6 +4474,9 @@ export interface CallSessionEndedEvent {
|
|
|
4134
4474
|
*/
|
|
4135
4475
|
session_id: string;
|
|
4136
4476
|
|
|
4477
|
+
/**
|
|
4478
|
+
* Represents a call
|
|
4479
|
+
*/
|
|
4137
4480
|
call: CallResponse;
|
|
4138
4481
|
|
|
4139
4482
|
/**
|
|
@@ -4244,6 +4587,9 @@ export interface CallSessionStartedEvent {
|
|
|
4244
4587
|
*/
|
|
4245
4588
|
session_id: string;
|
|
4246
4589
|
|
|
4590
|
+
/**
|
|
4591
|
+
* Represents a call
|
|
4592
|
+
*/
|
|
4247
4593
|
call: CallResponse;
|
|
4248
4594
|
|
|
4249
4595
|
/**
|
|
@@ -4327,8 +4673,14 @@ export interface CallSettingsResponse {
|
|
|
4327
4673
|
|
|
4328
4674
|
backstage: BackstageSettingsResponse;
|
|
4329
4675
|
|
|
4676
|
+
/**
|
|
4677
|
+
* BroadcastSettingsResponse is the payload for broadcasting settings
|
|
4678
|
+
*/
|
|
4330
4679
|
broadcasting: BroadcastSettingsResponse;
|
|
4331
4680
|
|
|
4681
|
+
/**
|
|
4682
|
+
* EncryptionSettings is the payload for end-to-end encryption settings
|
|
4683
|
+
*/
|
|
4332
4684
|
encryption: EncryptionSettingsResponse;
|
|
4333
4685
|
|
|
4334
4686
|
frame_recording: FrameRecordingSettingsResponse;
|
|
@@ -4341,6 +4693,9 @@ export interface CallSettingsResponse {
|
|
|
4341
4693
|
|
|
4342
4694
|
raw_recording: RawRecordingSettingsResponse;
|
|
4343
4695
|
|
|
4696
|
+
/**
|
|
4697
|
+
* RecordSettings is the payload for recording settings
|
|
4698
|
+
*/
|
|
4344
4699
|
recording: RecordSettingsResponse;
|
|
4345
4700
|
|
|
4346
4701
|
ring: RingSettingsResponse;
|
|
@@ -4366,6 +4721,9 @@ export interface CallStateResponseFields {
|
|
|
4366
4721
|
|
|
4367
4722
|
own_capabilities: OwnCapability[];
|
|
4368
4723
|
|
|
4724
|
+
/**
|
|
4725
|
+
* Represents a call
|
|
4726
|
+
*/
|
|
4369
4727
|
call: CallResponse;
|
|
4370
4728
|
}
|
|
4371
4729
|
|
|
@@ -4626,6 +4984,9 @@ export interface CallTranscriptionReadyEvent {
|
|
|
4626
4984
|
|
|
4627
4985
|
egress_id: string;
|
|
4628
4986
|
|
|
4987
|
+
/**
|
|
4988
|
+
* CallTranscription represents a transcription of a call.
|
|
4989
|
+
*/
|
|
4629
4990
|
call_transcription: CallTranscription;
|
|
4630
4991
|
|
|
4631
4992
|
/**
|
|
@@ -4718,6 +5079,9 @@ export interface CallUpdatedEvent {
|
|
|
4718
5079
|
|
|
4719
5080
|
created_at: Date;
|
|
4720
5081
|
|
|
5082
|
+
/**
|
|
5083
|
+
* Represents a call
|
|
5084
|
+
*/
|
|
4721
5085
|
call: CallResponse;
|
|
4722
5086
|
|
|
4723
5087
|
/**
|
|
@@ -4746,6 +5110,9 @@ export interface CallUserFeedbackSubmittedEvent {
|
|
|
4746
5110
|
*/
|
|
4747
5111
|
session_id: string;
|
|
4748
5112
|
|
|
5113
|
+
/**
|
|
5114
|
+
* User response object
|
|
5115
|
+
*/
|
|
4749
5116
|
user: UserResponse;
|
|
4750
5117
|
|
|
4751
5118
|
/**
|
|
@@ -4890,6 +5257,9 @@ export interface CampaignResponse {
|
|
|
4890
5257
|
|
|
4891
5258
|
message_template?: CampaignMessageTemplate;
|
|
4892
5259
|
|
|
5260
|
+
/**
|
|
5261
|
+
* User response object
|
|
5262
|
+
*/
|
|
4893
5263
|
sender?: UserResponse;
|
|
4894
5264
|
}
|
|
4895
5265
|
|
|
@@ -4933,6 +5303,9 @@ export interface CancelImportV2TaskResponse {
|
|
|
4933
5303
|
export interface CastPollVoteRequest {
|
|
4934
5304
|
user_id?: string;
|
|
4935
5305
|
|
|
5306
|
+
/**
|
|
5307
|
+
* User request object
|
|
5308
|
+
*/
|
|
4936
5309
|
user?: UserRequest;
|
|
4937
5310
|
|
|
4938
5311
|
vote?: VoteData;
|
|
@@ -5027,6 +5400,9 @@ export interface ChannelBatchUpdateRequest {
|
|
|
5027
5400
|
| 'unarchive'
|
|
5028
5401
|
| 'updateData';
|
|
5029
5402
|
|
|
5403
|
+
/**
|
|
5404
|
+
* Filter to apply to the query
|
|
5405
|
+
*/
|
|
5030
5406
|
filter: Record<string, any>;
|
|
5031
5407
|
|
|
5032
5408
|
members?: ChannelBatchMemberRequest[];
|
|
@@ -5115,6 +5491,9 @@ export interface ChannelConfig {
|
|
|
5115
5491
|
|
|
5116
5492
|
blocklists?: BlockListOptions[];
|
|
5117
5493
|
|
|
5494
|
+
/**
|
|
5495
|
+
* Sets thresholds for AI moderation
|
|
5496
|
+
*/
|
|
5118
5497
|
automod_thresholds?: Thresholds;
|
|
5119
5498
|
|
|
5120
5499
|
chat_preferences?: ChatPreferences;
|
|
@@ -5260,6 +5639,9 @@ export interface ChannelConfigWithInfo {
|
|
|
5260
5639
|
|
|
5261
5640
|
blocklists?: BlockListOptions[];
|
|
5262
5641
|
|
|
5642
|
+
/**
|
|
5643
|
+
* Sets thresholds for AI moderation
|
|
5644
|
+
*/
|
|
5263
5645
|
automod_thresholds?: Thresholds;
|
|
5264
5646
|
|
|
5265
5647
|
chat_preferences?: ChatPreferences;
|
|
@@ -5267,18 +5649,43 @@ export interface ChannelConfigWithInfo {
|
|
|
5267
5649
|
grants?: Record<string, string[]>;
|
|
5268
5650
|
}
|
|
5269
5651
|
|
|
5270
|
-
export interface
|
|
5652
|
+
export interface ChannelContextResponse {
|
|
5271
5653
|
/**
|
|
5272
|
-
*
|
|
5654
|
+
* Channel CID (<type>:<id>)
|
|
5273
5655
|
*/
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
channel: ChannelResponse;
|
|
5277
|
-
|
|
5278
|
-
custom: Record<string, any>;
|
|
5656
|
+
cid: string;
|
|
5279
5657
|
|
|
5280
5658
|
/**
|
|
5281
|
-
*
|
|
5659
|
+
* Channel ID
|
|
5660
|
+
*/
|
|
5661
|
+
id: string;
|
|
5662
|
+
|
|
5663
|
+
/**
|
|
5664
|
+
* Channel type
|
|
5665
|
+
*/
|
|
5666
|
+
type: string;
|
|
5667
|
+
|
|
5668
|
+
/**
|
|
5669
|
+
* User response object
|
|
5670
|
+
*/
|
|
5671
|
+
created_by?: UserResponse;
|
|
5672
|
+
}
|
|
5673
|
+
|
|
5674
|
+
export interface ChannelCreatedEvent {
|
|
5675
|
+
/**
|
|
5676
|
+
* Date/time of creation
|
|
5677
|
+
*/
|
|
5678
|
+
created_at: Date;
|
|
5679
|
+
|
|
5680
|
+
/**
|
|
5681
|
+
* Represents channel in chat
|
|
5682
|
+
*/
|
|
5683
|
+
channel: ChannelResponse;
|
|
5684
|
+
|
|
5685
|
+
custom: Record<string, any>;
|
|
5686
|
+
|
|
5687
|
+
/**
|
|
5688
|
+
* The type of event: "channel.created" in this case
|
|
5282
5689
|
*/
|
|
5283
5690
|
type: string;
|
|
5284
5691
|
|
|
@@ -5327,6 +5734,9 @@ export interface ChannelDataUpdate {
|
|
|
5327
5734
|
|
|
5328
5735
|
team?: string;
|
|
5329
5736
|
|
|
5737
|
+
/**
|
|
5738
|
+
* Channel configuration overrides
|
|
5739
|
+
*/
|
|
5330
5740
|
config_overrides?: ChannelConfigOverrides;
|
|
5331
5741
|
|
|
5332
5742
|
custom?: Record<string, any>;
|
|
@@ -5338,6 +5748,9 @@ export interface ChannelDeletedEvent {
|
|
|
5338
5748
|
*/
|
|
5339
5749
|
created_at: Date;
|
|
5340
5750
|
|
|
5751
|
+
/**
|
|
5752
|
+
* Represents channel in chat
|
|
5753
|
+
*/
|
|
5341
5754
|
channel: ChannelResponse;
|
|
5342
5755
|
|
|
5343
5756
|
custom: Record<string, any>;
|
|
@@ -5449,6 +5862,11 @@ export interface ChannelGetOrCreateRequest {
|
|
|
5449
5862
|
|
|
5450
5863
|
thread_unread_counts?: boolean;
|
|
5451
5864
|
|
|
5865
|
+
/**
|
|
5866
|
+
* Top-level keys of the message sender's channel-member custom data to include under member.custom (max 8 keys, 64 chars each)
|
|
5867
|
+
*/
|
|
5868
|
+
member_custom_include?: string[];
|
|
5869
|
+
|
|
5452
5870
|
data?: ChannelInput;
|
|
5453
5871
|
|
|
5454
5872
|
members?: PaginationParams;
|
|
@@ -5469,6 +5887,9 @@ export interface ChannelHiddenEvent {
|
|
|
5469
5887
|
*/
|
|
5470
5888
|
created_at: Date;
|
|
5471
5889
|
|
|
5890
|
+
/**
|
|
5891
|
+
* Represents channel in chat
|
|
5892
|
+
*/
|
|
5472
5893
|
channel: ChannelResponse;
|
|
5473
5894
|
|
|
5474
5895
|
custom: Record<string, any>;
|
|
@@ -5519,7 +5940,7 @@ export interface ChannelInput {
|
|
|
5519
5940
|
auto_translation_enabled?: boolean;
|
|
5520
5941
|
|
|
5521
5942
|
/**
|
|
5522
|
-
*
|
|
5943
|
+
* Language (or comma-separated list of languages) to translate to when auto translation is active
|
|
5523
5944
|
*/
|
|
5524
5945
|
auto_translation_language?: string;
|
|
5525
5946
|
|
|
@@ -5545,8 +5966,14 @@ export interface ChannelInput {
|
|
|
5545
5966
|
|
|
5546
5967
|
members?: ChannelMemberRequest[];
|
|
5547
5968
|
|
|
5969
|
+
/**
|
|
5970
|
+
* Channel configuration overrides
|
|
5971
|
+
*/
|
|
5548
5972
|
config_overrides?: ChannelConfigOverrides;
|
|
5549
5973
|
|
|
5974
|
+
/**
|
|
5975
|
+
* User request object
|
|
5976
|
+
*/
|
|
5550
5977
|
created_by?: UserRequest;
|
|
5551
5978
|
|
|
5552
5979
|
custom?: Record<string, any>;
|
|
@@ -5567,8 +5994,14 @@ export interface ChannelInputRequest {
|
|
|
5567
5994
|
|
|
5568
5995
|
members?: ChannelMemberRequest[];
|
|
5569
5996
|
|
|
5997
|
+
/**
|
|
5998
|
+
* Channel configuration overrides
|
|
5999
|
+
*/
|
|
5570
6000
|
config_overrides?: ConfigOverridesRequest;
|
|
5571
6001
|
|
|
6002
|
+
/**
|
|
6003
|
+
* User request object
|
|
6004
|
+
*/
|
|
5572
6005
|
created_by?: UserRequest;
|
|
5573
6006
|
|
|
5574
6007
|
custom?: Record<string, any>;
|
|
@@ -5584,6 +6017,11 @@ export interface ChannelMemberPartialResponse {
|
|
|
5584
6017
|
* Whether the user muted notifications for this channel
|
|
5585
6018
|
*/
|
|
5586
6019
|
notifications_muted: boolean;
|
|
6020
|
+
|
|
6021
|
+
/**
|
|
6022
|
+
* Channel-member custom fields projected via `member_custom_include`
|
|
6023
|
+
*/
|
|
6024
|
+
custom?: Record<string, any>;
|
|
5587
6025
|
}
|
|
5588
6026
|
|
|
5589
6027
|
export interface ChannelMemberRequest {
|
|
@@ -5596,6 +6034,9 @@ export interface ChannelMemberRequest {
|
|
|
5596
6034
|
|
|
5597
6035
|
custom?: Record<string, any>;
|
|
5598
6036
|
|
|
6037
|
+
/**
|
|
6038
|
+
* User response object
|
|
6039
|
+
*/
|
|
5599
6040
|
user?: UserResponse;
|
|
5600
6041
|
}
|
|
5601
6042
|
|
|
@@ -5636,8 +6077,18 @@ export interface ChannelMemberResponse {
|
|
|
5636
6077
|
*/
|
|
5637
6078
|
ban_expires?: Date;
|
|
5638
6079
|
|
|
6080
|
+
/**
|
|
6081
|
+
* Whether the member's ban also applies to channels the channel's creator will create in the future (an active future channel ban by the creator targets this member)
|
|
6082
|
+
*/
|
|
6083
|
+
ban_from_future_channels?: boolean;
|
|
6084
|
+
|
|
5639
6085
|
deleted_at?: Date;
|
|
5640
6086
|
|
|
6087
|
+
/**
|
|
6088
|
+
* Expiration date of the future channel ban; absent when the future channel ban is permanent
|
|
6089
|
+
*/
|
|
6090
|
+
future_channel_ban_expires?: Date;
|
|
6091
|
+
|
|
5641
6092
|
/**
|
|
5642
6093
|
* Date when invite was accepted
|
|
5643
6094
|
*/
|
|
@@ -5671,6 +6122,9 @@ export interface ChannelMemberResponse {
|
|
|
5671
6122
|
|
|
5672
6123
|
deleted_messages?: string[];
|
|
5673
6124
|
|
|
6125
|
+
/**
|
|
6126
|
+
* User response object
|
|
6127
|
+
*/
|
|
5674
6128
|
user?: UserResponse;
|
|
5675
6129
|
}
|
|
5676
6130
|
|
|
@@ -5686,6 +6140,9 @@ export interface ChannelMessagesResponse {
|
|
|
5686
6140
|
*/
|
|
5687
6141
|
messages: MessageResponse[];
|
|
5688
6142
|
|
|
6143
|
+
/**
|
|
6144
|
+
* Represents channel in chat
|
|
6145
|
+
*/
|
|
5689
6146
|
channel: ChannelResponse;
|
|
5690
6147
|
}
|
|
5691
6148
|
|
|
@@ -5725,8 +6182,14 @@ export interface ChannelMute {
|
|
|
5725
6182
|
*/
|
|
5726
6183
|
expires?: Date;
|
|
5727
6184
|
|
|
6185
|
+
/**
|
|
6186
|
+
* Represents channel in chat
|
|
6187
|
+
*/
|
|
5728
6188
|
channel?: ChannelResponse;
|
|
5729
6189
|
|
|
6190
|
+
/**
|
|
6191
|
+
* User response object
|
|
6192
|
+
*/
|
|
5730
6193
|
user?: UserResponse;
|
|
5731
6194
|
}
|
|
5732
6195
|
|
|
@@ -5856,7 +6319,7 @@ export interface ChannelResponse {
|
|
|
5856
6319
|
auto_translation_enabled?: boolean;
|
|
5857
6320
|
|
|
5858
6321
|
/**
|
|
5859
|
-
* Language to translate to when auto translation is active
|
|
6322
|
+
* Language (or comma-separated list of languages) to translate to when auto translation is active
|
|
5860
6323
|
*/
|
|
5861
6324
|
auto_translation_language?: string;
|
|
5862
6325
|
|
|
@@ -5937,8 +6400,14 @@ export interface ChannelResponse {
|
|
|
5937
6400
|
|
|
5938
6401
|
config?: ChannelConfigWithInfo;
|
|
5939
6402
|
|
|
6403
|
+
/**
|
|
6404
|
+
* User response object
|
|
6405
|
+
*/
|
|
5940
6406
|
created_by?: UserResponse;
|
|
5941
6407
|
|
|
6408
|
+
/**
|
|
6409
|
+
* User response object
|
|
6410
|
+
*/
|
|
5942
6411
|
truncated_by?: UserResponse;
|
|
5943
6412
|
}
|
|
5944
6413
|
|
|
@@ -5967,6 +6436,9 @@ export interface ChannelStateResponse {
|
|
|
5967
6436
|
|
|
5968
6437
|
watchers?: UserResponse[];
|
|
5969
6438
|
|
|
6439
|
+
/**
|
|
6440
|
+
* Represents channel in chat
|
|
6441
|
+
*/
|
|
5970
6442
|
channel?: ChannelResponse;
|
|
5971
6443
|
|
|
5972
6444
|
draft?: DraftResponse;
|
|
@@ -6029,6 +6501,9 @@ export interface ChannelStateResponseFields {
|
|
|
6029
6501
|
*/
|
|
6030
6502
|
watchers?: UserResponse[];
|
|
6031
6503
|
|
|
6504
|
+
/**
|
|
6505
|
+
* Represents channel in chat
|
|
6506
|
+
*/
|
|
6032
6507
|
channel?: ChannelResponse;
|
|
6033
6508
|
|
|
6034
6509
|
draft?: DraftResponse;
|
|
@@ -6044,6 +6519,9 @@ export interface ChannelTruncatedEvent {
|
|
|
6044
6519
|
*/
|
|
6045
6520
|
created_at: Date;
|
|
6046
6521
|
|
|
6522
|
+
/**
|
|
6523
|
+
* Represents channel in chat
|
|
6524
|
+
*/
|
|
6047
6525
|
channel: ChannelResponse;
|
|
6048
6526
|
|
|
6049
6527
|
custom: Record<string, any>;
|
|
@@ -6086,6 +6564,9 @@ export interface ChannelTruncatedEvent {
|
|
|
6086
6564
|
|
|
6087
6565
|
channel_custom?: Record<string, any>;
|
|
6088
6566
|
|
|
6567
|
+
/**
|
|
6568
|
+
* Represents any chat message
|
|
6569
|
+
*/
|
|
6089
6570
|
message?: MessageResponse;
|
|
6090
6571
|
|
|
6091
6572
|
user?: UserResponseCommonFields;
|
|
@@ -6164,6 +6645,9 @@ export interface ChannelTypeConfig {
|
|
|
6164
6645
|
|
|
6165
6646
|
blocklists?: BlockListOptions[];
|
|
6166
6647
|
|
|
6648
|
+
/**
|
|
6649
|
+
* Sets thresholds for AI moderation
|
|
6650
|
+
*/
|
|
6167
6651
|
automod_thresholds?: Thresholds;
|
|
6168
6652
|
|
|
6169
6653
|
chat_preferences?: ChatPreferences;
|
|
@@ -6231,6 +6715,9 @@ export interface ChannelUpdatedEvent {
|
|
|
6231
6715
|
*/
|
|
6232
6716
|
created_at: Date;
|
|
6233
6717
|
|
|
6718
|
+
/**
|
|
6719
|
+
* Represents channel in chat
|
|
6720
|
+
*/
|
|
6234
6721
|
channel: ChannelResponse;
|
|
6235
6722
|
|
|
6236
6723
|
custom: Record<string, any>;
|
|
@@ -6273,6 +6760,9 @@ export interface ChannelUpdatedEvent {
|
|
|
6273
6760
|
|
|
6274
6761
|
channel_custom?: Record<string, any>;
|
|
6275
6762
|
|
|
6763
|
+
/**
|
|
6764
|
+
* Represents any chat message
|
|
6765
|
+
*/
|
|
6276
6766
|
message?: MessageResponse;
|
|
6277
6767
|
|
|
6278
6768
|
user?: UserResponseCommonFields;
|
|
@@ -6284,6 +6774,9 @@ export interface ChannelVisibleEvent {
|
|
|
6284
6774
|
*/
|
|
6285
6775
|
created_at: Date;
|
|
6286
6776
|
|
|
6777
|
+
/**
|
|
6778
|
+
* Represents channel in chat
|
|
6779
|
+
*/
|
|
6287
6780
|
channel: ChannelResponse;
|
|
6288
6781
|
|
|
6289
6782
|
custom: Record<string, any>;
|
|
@@ -6418,6 +6911,9 @@ export interface ChatMessageResponse {
|
|
|
6418
6911
|
|
|
6419
6912
|
reaction_scores: Record<string, number>;
|
|
6420
6913
|
|
|
6914
|
+
/**
|
|
6915
|
+
* User response object
|
|
6916
|
+
*/
|
|
6421
6917
|
user: UserResponse;
|
|
6422
6918
|
|
|
6423
6919
|
command?: string;
|
|
@@ -6460,6 +6956,9 @@ export interface ChatMessageResponse {
|
|
|
6460
6956
|
|
|
6461
6957
|
moderation?: ChatModerationV2Response;
|
|
6462
6958
|
|
|
6959
|
+
/**
|
|
6960
|
+
* User response object
|
|
6961
|
+
*/
|
|
6463
6962
|
pinned_by?: UserResponse;
|
|
6464
6963
|
|
|
6465
6964
|
poll?: PollResponseData;
|
|
@@ -6558,6 +7057,9 @@ export interface ChatReactionGroupUserResponse {
|
|
|
6558
7057
|
|
|
6559
7058
|
user_id: string;
|
|
6560
7059
|
|
|
7060
|
+
/**
|
|
7061
|
+
* User response object
|
|
7062
|
+
*/
|
|
6561
7063
|
user?: UserResponse;
|
|
6562
7064
|
}
|
|
6563
7065
|
|
|
@@ -6576,6 +7078,9 @@ export interface ChatReactionResponse {
|
|
|
6576
7078
|
|
|
6577
7079
|
custom: Record<string, any>;
|
|
6578
7080
|
|
|
7081
|
+
/**
|
|
7082
|
+
* User response object
|
|
7083
|
+
*/
|
|
6579
7084
|
user: UserResponse;
|
|
6580
7085
|
}
|
|
6581
7086
|
|
|
@@ -6594,6 +7099,9 @@ export interface ChatReminderResponseData {
|
|
|
6594
7099
|
|
|
6595
7100
|
message?: ChatMessageResponse;
|
|
6596
7101
|
|
|
7102
|
+
/**
|
|
7103
|
+
* User response object
|
|
7104
|
+
*/
|
|
6597
7105
|
user?: UserResponse;
|
|
6598
7106
|
}
|
|
6599
7107
|
|
|
@@ -6677,6 +7185,9 @@ export interface CheckPushRequest {
|
|
|
6677
7185
|
|
|
6678
7186
|
user_id?: string;
|
|
6679
7187
|
|
|
7188
|
+
/**
|
|
7189
|
+
* User request object
|
|
7190
|
+
*/
|
|
6680
7191
|
user?: UserRequest;
|
|
6681
7192
|
}
|
|
6682
7193
|
|
|
@@ -6757,6 +7268,9 @@ export interface CheckRequest {
|
|
|
6757
7268
|
*/
|
|
6758
7269
|
options?: Record<string, any>;
|
|
6759
7270
|
|
|
7271
|
+
/**
|
|
7272
|
+
* User request object
|
|
7273
|
+
*/
|
|
6760
7274
|
user?: UserRequest;
|
|
6761
7275
|
}
|
|
6762
7276
|
|
|
@@ -7041,6 +7555,9 @@ export interface ClosedCaptionEvent {
|
|
|
7041
7555
|
|
|
7042
7556
|
created_at: Date;
|
|
7043
7557
|
|
|
7558
|
+
/**
|
|
7559
|
+
* CallClosedCaption represents a closed caption of a call.
|
|
7560
|
+
*/
|
|
7044
7561
|
closed_caption: CallClosedCaption;
|
|
7045
7562
|
|
|
7046
7563
|
/**
|
|
@@ -7372,6 +7889,9 @@ export interface CommentResponse {
|
|
|
7372
7889
|
*/
|
|
7373
7890
|
own_reactions: FeedsReactionResponse[];
|
|
7374
7891
|
|
|
7892
|
+
/**
|
|
7893
|
+
* User response object
|
|
7894
|
+
*/
|
|
7375
7895
|
user: UserResponse;
|
|
7376
7896
|
|
|
7377
7897
|
/**
|
|
@@ -7478,6 +7998,18 @@ export interface CompositeRecordingResponse {
|
|
|
7478
7998
|
status: string;
|
|
7479
7999
|
}
|
|
7480
8000
|
|
|
8001
|
+
export interface ConcurrencyMinute {
|
|
8002
|
+
joins: number;
|
|
8003
|
+
|
|
8004
|
+
leaves: number;
|
|
8005
|
+
|
|
8006
|
+
max: number;
|
|
8007
|
+
|
|
8008
|
+
min: number;
|
|
8009
|
+
|
|
8010
|
+
minute: string;
|
|
8011
|
+
}
|
|
8012
|
+
|
|
7481
8013
|
export interface ConfigOverridesRequest {
|
|
7482
8014
|
/**
|
|
7483
8015
|
* Blocklist name
|
|
@@ -7663,6 +8195,14 @@ export interface CountByMinuteResponse {
|
|
|
7663
8195
|
start_ts: Date;
|
|
7664
8196
|
}
|
|
7665
8197
|
|
|
8198
|
+
export interface Coverage {
|
|
8199
|
+
publisher_encoding_profiles: number;
|
|
8200
|
+
|
|
8201
|
+
absent: AbsentMetric[];
|
|
8202
|
+
|
|
8203
|
+
metrics_pct: MetricsPct;
|
|
8204
|
+
}
|
|
8205
|
+
|
|
7666
8206
|
export interface CreateBlockListRequest {
|
|
7667
8207
|
/**
|
|
7668
8208
|
* Block list name
|
|
@@ -7695,6 +8235,13 @@ export interface CreateBlockListRequest {
|
|
|
7695
8235
|
| 'email'
|
|
7696
8236
|
| 'email_allowlist'
|
|
7697
8237
|
| 'word';
|
|
8238
|
+
|
|
8239
|
+
user_id?: string;
|
|
8240
|
+
|
|
8241
|
+
/**
|
|
8242
|
+
* User request object
|
|
8243
|
+
*/
|
|
8244
|
+
user?: UserRequest;
|
|
7698
8245
|
}
|
|
7699
8246
|
|
|
7700
8247
|
export interface CreateBlockListResponse {
|
|
@@ -7703,6 +8250,9 @@ export interface CreateBlockListResponse {
|
|
|
7703
8250
|
*/
|
|
7704
8251
|
duration: string;
|
|
7705
8252
|
|
|
8253
|
+
/**
|
|
8254
|
+
* Block list contains restricted words
|
|
8255
|
+
*/
|
|
7706
8256
|
blocklist?: BlockListResponse;
|
|
7707
8257
|
}
|
|
7708
8258
|
|
|
@@ -8067,6 +8617,9 @@ export interface CreateChannelTypeResponse {
|
|
|
8067
8617
|
|
|
8068
8618
|
blocklists?: BlockListOptions[];
|
|
8069
8619
|
|
|
8620
|
+
/**
|
|
8621
|
+
* Sets thresholds for AI moderation
|
|
8622
|
+
*/
|
|
8070
8623
|
automod_thresholds?: Thresholds;
|
|
8071
8624
|
|
|
8072
8625
|
chat_preferences?: ChatPreferences;
|
|
@@ -8080,6 +8633,9 @@ export interface CreateCollectionsRequest {
|
|
|
8080
8633
|
|
|
8081
8634
|
user_id?: string;
|
|
8082
8635
|
|
|
8636
|
+
/**
|
|
8637
|
+
* User request object
|
|
8638
|
+
*/
|
|
8083
8639
|
user?: UserRequest;
|
|
8084
8640
|
}
|
|
8085
8641
|
|
|
@@ -8117,6 +8673,9 @@ export interface CreateCommandRequest {
|
|
|
8117
8673
|
export interface CreateCommandResponse {
|
|
8118
8674
|
duration: string;
|
|
8119
8675
|
|
|
8676
|
+
/**
|
|
8677
|
+
* Represents custom chat command
|
|
8678
|
+
*/
|
|
8120
8679
|
command?: Command;
|
|
8121
8680
|
}
|
|
8122
8681
|
|
|
@@ -8152,6 +8711,9 @@ export interface CreateDeviceRequest {
|
|
|
8152
8711
|
*/
|
|
8153
8712
|
voip_token?: boolean;
|
|
8154
8713
|
|
|
8714
|
+
/**
|
|
8715
|
+
* User request object
|
|
8716
|
+
*/
|
|
8155
8717
|
user?: UserRequest;
|
|
8156
8718
|
}
|
|
8157
8719
|
|
|
@@ -8179,8 +8741,14 @@ export interface CreateExternalStorageRequest {
|
|
|
8179
8741
|
*/
|
|
8180
8742
|
path?: string;
|
|
8181
8743
|
|
|
8744
|
+
/**
|
|
8745
|
+
* Config for creating Amazon S3 storage.
|
|
8746
|
+
*/
|
|
8182
8747
|
aws_s3?: S3Request;
|
|
8183
8748
|
|
|
8749
|
+
/**
|
|
8750
|
+
* Config for creating Azure Blob Storage storage
|
|
8751
|
+
*/
|
|
8184
8752
|
azure_blob?: AzureRequest;
|
|
8185
8753
|
}
|
|
8186
8754
|
|
|
@@ -8286,6 +8854,9 @@ export interface CreateFeedsBatchResponse {
|
|
|
8286
8854
|
}
|
|
8287
8855
|
|
|
8288
8856
|
export interface CreateGuestRequest {
|
|
8857
|
+
/**
|
|
8858
|
+
* User request object
|
|
8859
|
+
*/
|
|
8289
8860
|
user: UserRequest;
|
|
8290
8861
|
}
|
|
8291
8862
|
|
|
@@ -8300,6 +8871,9 @@ export interface CreateGuestResponse {
|
|
|
8300
8871
|
*/
|
|
8301
8872
|
duration: string;
|
|
8302
8873
|
|
|
8874
|
+
/**
|
|
8875
|
+
* User response object
|
|
8876
|
+
*/
|
|
8303
8877
|
user: UserResponse;
|
|
8304
8878
|
}
|
|
8305
8879
|
|
|
@@ -8342,6 +8916,9 @@ export interface CreateImportV2TaskRequest {
|
|
|
8342
8916
|
|
|
8343
8917
|
user_id?: string;
|
|
8344
8918
|
|
|
8919
|
+
/**
|
|
8920
|
+
* User request object
|
|
8921
|
+
*/
|
|
8345
8922
|
user?: UserRequest;
|
|
8346
8923
|
}
|
|
8347
8924
|
|
|
@@ -8404,6 +8981,35 @@ export interface CreateMembershipLevelResponse {
|
|
|
8404
8981
|
membership_level: MembershipLevelResponse;
|
|
8405
8982
|
}
|
|
8406
8983
|
|
|
8984
|
+
export interface CreatePolicyTestSetRequest {
|
|
8985
|
+
/**
|
|
8986
|
+
* Display name; unique within an app
|
|
8987
|
+
*/
|
|
8988
|
+
name: string;
|
|
8989
|
+
|
|
8990
|
+
/**
|
|
8991
|
+
* Moderation config key (default: app default)
|
|
8992
|
+
*/
|
|
8993
|
+
config_key?: string;
|
|
8994
|
+
|
|
8995
|
+
/**
|
|
8996
|
+
* Execution target: 'check' or 'labels'. Optional — defaults to 'labels' when the org has the labels API enabled, 'check' otherwise
|
|
8997
|
+
*/
|
|
8998
|
+
mode?: string;
|
|
8999
|
+
|
|
9000
|
+
/**
|
|
9001
|
+
* Team scope for the config (optional)
|
|
9002
|
+
*/
|
|
9003
|
+
team?: string;
|
|
9004
|
+
|
|
9005
|
+
/**
|
|
9006
|
+
* Messages to test; capped at 1000. Mutually exclusive with seed
|
|
9007
|
+
*/
|
|
9008
|
+
rows?: PolicyTestRow[];
|
|
9009
|
+
|
|
9010
|
+
seed?: PolicyTestSeedSpec;
|
|
9011
|
+
}
|
|
9012
|
+
|
|
8407
9013
|
export interface CreatePollOptionRequest {
|
|
8408
9014
|
/**
|
|
8409
9015
|
* Option text
|
|
@@ -8412,8 +9018,14 @@ export interface CreatePollOptionRequest {
|
|
|
8412
9018
|
|
|
8413
9019
|
user_id?: string;
|
|
8414
9020
|
|
|
9021
|
+
/**
|
|
9022
|
+
* Custom data for this object
|
|
9023
|
+
*/
|
|
8415
9024
|
custom?: Record<string, any>;
|
|
8416
9025
|
|
|
9026
|
+
/**
|
|
9027
|
+
* User request object
|
|
9028
|
+
*/
|
|
8417
9029
|
user?: UserRequest;
|
|
8418
9030
|
}
|
|
8419
9031
|
|
|
@@ -8458,8 +9070,14 @@ export interface CreatePollRequest {
|
|
|
8458
9070
|
|
|
8459
9071
|
options?: PollOptionInput[];
|
|
8460
9072
|
|
|
9073
|
+
/**
|
|
9074
|
+
* Custom data for this object
|
|
9075
|
+
*/
|
|
8461
9076
|
custom?: Record<string, any>;
|
|
8462
9077
|
|
|
9078
|
+
/**
|
|
9079
|
+
* User request object
|
|
9080
|
+
*/
|
|
8463
9081
|
user?: UserRequest;
|
|
8464
9082
|
}
|
|
8465
9083
|
|
|
@@ -8476,6 +9094,9 @@ export interface CreateQueueRequest {
|
|
|
8476
9094
|
|
|
8477
9095
|
filters?: Record<string, any>;
|
|
8478
9096
|
|
|
9097
|
+
/**
|
|
9098
|
+
* User request object
|
|
9099
|
+
*/
|
|
8479
9100
|
user?: UserRequest;
|
|
8480
9101
|
}
|
|
8481
9102
|
|
|
@@ -8484,6 +9105,9 @@ export interface CreateReminderRequest {
|
|
|
8484
9105
|
|
|
8485
9106
|
user_id?: string;
|
|
8486
9107
|
|
|
9108
|
+
/**
|
|
9109
|
+
* User request object
|
|
9110
|
+
*/
|
|
8487
9111
|
user?: UserRequest;
|
|
8488
9112
|
}
|
|
8489
9113
|
|
|
@@ -8528,6 +9152,9 @@ export interface CreateSIPTrunkRequest {
|
|
|
8528
9152
|
export interface CreateSIPTrunkResponse {
|
|
8529
9153
|
duration: string;
|
|
8530
9154
|
|
|
9155
|
+
/**
|
|
9156
|
+
* SIP trunk information
|
|
9157
|
+
*/
|
|
8531
9158
|
sip_trunk?: SIPTrunkResponse;
|
|
8532
9159
|
}
|
|
8533
9160
|
|
|
@@ -8668,8 +9295,14 @@ export interface CustomCheckRequest {
|
|
|
8668
9295
|
|
|
8669
9296
|
user_id?: string;
|
|
8670
9297
|
|
|
9298
|
+
/**
|
|
9299
|
+
* Content payload for moderation
|
|
9300
|
+
*/
|
|
8671
9301
|
moderation_payload?: ModerationPayloadRequest;
|
|
8672
9302
|
|
|
9303
|
+
/**
|
|
9304
|
+
* User request object
|
|
9305
|
+
*/
|
|
8673
9306
|
user?: UserRequest;
|
|
8674
9307
|
}
|
|
8675
9308
|
|
|
@@ -8709,6 +9342,9 @@ export interface CustomVideoEvent {
|
|
|
8709
9342
|
*/
|
|
8710
9343
|
custom: Record<string, any>;
|
|
8711
9344
|
|
|
9345
|
+
/**
|
|
9346
|
+
* User response object
|
|
9347
|
+
*/
|
|
8712
9348
|
user: UserResponse;
|
|
8713
9349
|
|
|
8714
9350
|
/**
|
|
@@ -8753,6 +9389,22 @@ export interface DailyAggregateUserFeedbackReportResponse {
|
|
|
8753
9389
|
report: UserFeedbackReport;
|
|
8754
9390
|
}
|
|
8755
9391
|
|
|
9392
|
+
export interface DailyDigestCallSessionSummary {
|
|
9393
|
+
call_cid: string;
|
|
9394
|
+
|
|
9395
|
+
call_session_id: string;
|
|
9396
|
+
|
|
9397
|
+
has_digest: boolean;
|
|
9398
|
+
|
|
9399
|
+
counts: CallStatsParticipantCounts;
|
|
9400
|
+
|
|
9401
|
+
digest_error?: string;
|
|
9402
|
+
|
|
9403
|
+
session_ended_at?: string;
|
|
9404
|
+
|
|
9405
|
+
session_started_at?: string;
|
|
9406
|
+
}
|
|
9407
|
+
|
|
8756
9408
|
export interface DailyMetricResponse {
|
|
8757
9409
|
/**
|
|
8758
9410
|
* Date in YYYY-MM-DD format
|
|
@@ -8819,6 +9471,9 @@ export interface DeactivateUserResponse {
|
|
|
8819
9471
|
*/
|
|
8820
9472
|
duration: string;
|
|
8821
9473
|
|
|
9474
|
+
/**
|
|
9475
|
+
* User response object
|
|
9476
|
+
*/
|
|
8822
9477
|
user?: UserResponse;
|
|
8823
9478
|
}
|
|
8824
9479
|
|
|
@@ -8909,6 +9564,9 @@ export interface DeleteActivitiesRequest {
|
|
|
8909
9564
|
|
|
8910
9565
|
user_id?: string;
|
|
8911
9566
|
|
|
9567
|
+
/**
|
|
9568
|
+
* User request object
|
|
9569
|
+
*/
|
|
8912
9570
|
user?: UserRequest;
|
|
8913
9571
|
}
|
|
8914
9572
|
|
|
@@ -8975,6 +9633,9 @@ export interface DeleteCallRequest {
|
|
|
8975
9633
|
export interface DeleteCallResponse {
|
|
8976
9634
|
duration: string;
|
|
8977
9635
|
|
|
9636
|
+
/**
|
|
9637
|
+
* Represents a call
|
|
9638
|
+
*/
|
|
8978
9639
|
call: CallResponse;
|
|
8979
9640
|
|
|
8980
9641
|
task_id?: string;
|
|
@@ -8993,6 +9654,9 @@ export interface DeleteChannelResponse {
|
|
|
8993
9654
|
*/
|
|
8994
9655
|
duration: string;
|
|
8995
9656
|
|
|
9657
|
+
/**
|
|
9658
|
+
* Represents channel in chat
|
|
9659
|
+
*/
|
|
8996
9660
|
channel?: ChannelResponse;
|
|
8997
9661
|
}
|
|
8998
9662
|
|
|
@@ -9189,6 +9853,9 @@ export interface DeleteMessageResponse {
|
|
|
9189
9853
|
*/
|
|
9190
9854
|
duration: string;
|
|
9191
9855
|
|
|
9856
|
+
/**
|
|
9857
|
+
* Represents any chat message
|
|
9858
|
+
*/
|
|
9192
9859
|
message: MessageResponse;
|
|
9193
9860
|
}
|
|
9194
9861
|
|
|
@@ -9210,6 +9877,9 @@ export interface DeleteModerationTemplateResponse {
|
|
|
9210
9877
|
export interface DeleteQueueRequest {
|
|
9211
9878
|
user_id?: string;
|
|
9212
9879
|
|
|
9880
|
+
/**
|
|
9881
|
+
* User request object
|
|
9882
|
+
*/
|
|
9213
9883
|
user?: UserRequest;
|
|
9214
9884
|
}
|
|
9215
9885
|
|
|
@@ -9241,6 +9911,9 @@ export interface DeleteReactionResponse {
|
|
|
9241
9911
|
*/
|
|
9242
9912
|
duration: string;
|
|
9243
9913
|
|
|
9914
|
+
/**
|
|
9915
|
+
* Represents any chat message
|
|
9916
|
+
*/
|
|
9244
9917
|
message: MessageResponse;
|
|
9245
9918
|
|
|
9246
9919
|
reaction: ReactionResponse;
|
|
@@ -9293,6 +9966,39 @@ export interface DeleteTranscriptionResponse {
|
|
|
9293
9966
|
duration: string;
|
|
9294
9967
|
}
|
|
9295
9968
|
|
|
9969
|
+
export interface DeleteUserMessagesRequestPayload {
|
|
9970
|
+
/**
|
|
9971
|
+
* Message deletion mode: soft, pruning, or hard
|
|
9972
|
+
*/
|
|
9973
|
+
|
|
9974
|
+
delete_messages: 'soft' | 'pruning' | 'hard';
|
|
9975
|
+
|
|
9976
|
+
/**
|
|
9977
|
+
* Optional: scope deletion to a single channel (alternative to app-wide deletion)
|
|
9978
|
+
*/
|
|
9979
|
+
channel_cid?: string;
|
|
9980
|
+
|
|
9981
|
+
/**
|
|
9982
|
+
* Whether to also delete the user's reactions on other users' messages
|
|
9983
|
+
*/
|
|
9984
|
+
delete_reactions?: boolean;
|
|
9985
|
+
|
|
9986
|
+
/**
|
|
9987
|
+
* ID of the user whose messages should be deleted (alternative to item_id)
|
|
9988
|
+
*/
|
|
9989
|
+
entity_id?: string;
|
|
9990
|
+
|
|
9991
|
+
/**
|
|
9992
|
+
* Type of the entity
|
|
9993
|
+
*/
|
|
9994
|
+
entity_type?: string;
|
|
9995
|
+
|
|
9996
|
+
/**
|
|
9997
|
+
* Reason for the deletion
|
|
9998
|
+
*/
|
|
9999
|
+
reason?: string;
|
|
10000
|
+
}
|
|
10001
|
+
|
|
9296
10002
|
export interface DeleteUserRequestPayload {
|
|
9297
10003
|
/**
|
|
9298
10004
|
* Also delete all user conversations
|
|
@@ -9409,6 +10115,24 @@ export interface DeliveryReceiptsResponse {
|
|
|
9409
10115
|
enabled: boolean;
|
|
9410
10116
|
}
|
|
9411
10117
|
|
|
10118
|
+
export interface DeliveryZoneSegment {
|
|
10119
|
+
key: string;
|
|
10120
|
+
|
|
10121
|
+
outlier: boolean;
|
|
10122
|
+
|
|
10123
|
+
sessions: number;
|
|
10124
|
+
|
|
10125
|
+
avg_quality_score?: number;
|
|
10126
|
+
|
|
10127
|
+
p5_quality_score?: number;
|
|
10128
|
+
|
|
10129
|
+
poor_pct?: number;
|
|
10130
|
+
|
|
10131
|
+
share_pct?: number;
|
|
10132
|
+
|
|
10133
|
+
watch_share_pct?: number;
|
|
10134
|
+
}
|
|
10135
|
+
|
|
9412
10136
|
export interface DeviceDataResponse {
|
|
9413
10137
|
name?: string;
|
|
9414
10138
|
|
|
@@ -9536,14 +10260,26 @@ export interface DraftResponse {
|
|
|
9536
10260
|
|
|
9537
10261
|
created_at: Date;
|
|
9538
10262
|
|
|
10263
|
+
/**
|
|
10264
|
+
* Contains the draft message content
|
|
10265
|
+
*/
|
|
9539
10266
|
message: DraftPayloadResponse;
|
|
9540
10267
|
|
|
9541
10268
|
parent_id?: string;
|
|
9542
10269
|
|
|
10270
|
+
/**
|
|
10271
|
+
* Represents channel in chat
|
|
10272
|
+
*/
|
|
9543
10273
|
channel?: ChannelResponse;
|
|
9544
10274
|
|
|
10275
|
+
/**
|
|
10276
|
+
* Represents any chat message
|
|
10277
|
+
*/
|
|
9545
10278
|
parent_message?: MessageResponse;
|
|
9546
10279
|
|
|
10280
|
+
/**
|
|
10281
|
+
* Represents any chat message
|
|
10282
|
+
*/
|
|
9547
10283
|
quoted_message?: MessageResponse;
|
|
9548
10284
|
}
|
|
9549
10285
|
|
|
@@ -9618,18 +10354,52 @@ export interface EgressResponse {
|
|
|
9618
10354
|
raw_recording?: RawRecordingResponse;
|
|
9619
10355
|
}
|
|
9620
10356
|
|
|
9621
|
-
export interface
|
|
9622
|
-
|
|
9623
|
-
|
|
10357
|
+
export interface EncodingProfile {
|
|
10358
|
+
getstats_snapshots: number;
|
|
10359
|
+
|
|
10360
|
+
source_file: string;
|
|
10361
|
+
|
|
10362
|
+
svc_modes: string[];
|
|
10363
|
+
|
|
10364
|
+
quality_limitation_durations_s: Record<string, number>;
|
|
10365
|
+
|
|
10366
|
+
quality_limitation_samples: Record<string, number>;
|
|
10367
|
+
|
|
10368
|
+
avg_send_kbps?: number;
|
|
10369
|
+
|
|
10370
|
+
codec?: string;
|
|
10371
|
+
|
|
10372
|
+
encoder_impl?: string;
|
|
10373
|
+
|
|
10374
|
+
fps_p10?: number;
|
|
10375
|
+
|
|
10376
|
+
fps_p50?: number;
|
|
10377
|
+
|
|
10378
|
+
hardware_encode?: boolean;
|
|
10379
|
+
|
|
10380
|
+
ladder_type?: string;
|
|
10381
|
+
|
|
10382
|
+
power_efficient?: boolean;
|
|
10383
|
+
|
|
10384
|
+
resolution?: string;
|
|
10385
|
+
|
|
10386
|
+
simulcast_layers?: number;
|
|
10387
|
+
}
|
|
10388
|
+
|
|
10389
|
+
export interface EncryptionSettingsRequest {
|
|
10390
|
+
/**
|
|
10391
|
+
* Encryption mode. One of: available, disabled, auto-on
|
|
9624
10392
|
*/
|
|
9625
|
-
|
|
10393
|
+
|
|
10394
|
+
mode?: 'available' | 'disabled' | 'auto-on';
|
|
9626
10395
|
}
|
|
9627
10396
|
|
|
9628
10397
|
export interface EncryptionSettingsResponse {
|
|
9629
10398
|
/**
|
|
9630
|
-
*
|
|
10399
|
+
* the resolved encryption mode for the call
|
|
9631
10400
|
*/
|
|
9632
|
-
|
|
10401
|
+
|
|
10402
|
+
mode: 'available' | 'disabled' | 'auto-on';
|
|
9633
10403
|
}
|
|
9634
10404
|
|
|
9635
10405
|
export interface EndCallRequest {}
|
|
@@ -10022,6 +10792,9 @@ export interface EventRequest {
|
|
|
10022
10792
|
|
|
10023
10793
|
custom?: Record<string, any>;
|
|
10024
10794
|
|
|
10795
|
+
/**
|
|
10796
|
+
* User request object
|
|
10797
|
+
*/
|
|
10025
10798
|
user?: UserRequest;
|
|
10026
10799
|
}
|
|
10027
10800
|
|
|
@@ -10031,6 +10804,9 @@ export interface EventResponse {
|
|
|
10031
10804
|
*/
|
|
10032
10805
|
duration: string;
|
|
10033
10806
|
|
|
10807
|
+
/**
|
|
10808
|
+
* Represents an BaseEvent that happened in Stream Chat
|
|
10809
|
+
*/
|
|
10034
10810
|
event: WSEvent;
|
|
10035
10811
|
}
|
|
10036
10812
|
|
|
@@ -10047,6 +10823,12 @@ export interface ExportChannelsRequest {
|
|
|
10047
10823
|
|
|
10048
10824
|
export_users?: boolean;
|
|
10049
10825
|
|
|
10826
|
+
/**
|
|
10827
|
+
* Output format: 'json' (default) or 'csv'. csv requires version=v2 and is incompatible with export_users
|
|
10828
|
+
*/
|
|
10829
|
+
|
|
10830
|
+
format?: 'json' | 'csv';
|
|
10831
|
+
|
|
10050
10832
|
/**
|
|
10051
10833
|
* Set if you want to include deleted channels
|
|
10052
10834
|
*/
|
|
@@ -10061,6 +10843,11 @@ export interface ExportChannelsRequest {
|
|
|
10061
10843
|
* Export version
|
|
10062
10844
|
*/
|
|
10063
10845
|
version?: string;
|
|
10846
|
+
|
|
10847
|
+
/**
|
|
10848
|
+
* For csv format: subset of message columns to include (defaults to a standard set)
|
|
10849
|
+
*/
|
|
10850
|
+
include_fields?: string[];
|
|
10064
10851
|
}
|
|
10065
10852
|
|
|
10066
10853
|
export interface ExportChannelsResponse {
|
|
@@ -10102,6 +10889,9 @@ export interface ExportUserResponse {
|
|
|
10102
10889
|
*/
|
|
10103
10890
|
reactions?: ReactionResponse[];
|
|
10104
10891
|
|
|
10892
|
+
/**
|
|
10893
|
+
* User response object
|
|
10894
|
+
*/
|
|
10105
10895
|
user?: UserResponse;
|
|
10106
10896
|
}
|
|
10107
10897
|
|
|
@@ -10470,6 +11260,9 @@ export interface FeedMemberResponse {
|
|
|
10470
11260
|
*/
|
|
10471
11261
|
updated_at: Date;
|
|
10472
11262
|
|
|
11263
|
+
/**
|
|
11264
|
+
* User response object
|
|
11265
|
+
*/
|
|
10473
11266
|
user: UserResponse;
|
|
10474
11267
|
|
|
10475
11268
|
/**
|
|
@@ -10677,6 +11470,9 @@ export interface FeedResponse {
|
|
|
10677
11470
|
*/
|
|
10678
11471
|
updated_at: Date;
|
|
10679
11472
|
|
|
11473
|
+
/**
|
|
11474
|
+
* User response object
|
|
11475
|
+
*/
|
|
10680
11476
|
created_by: UserResponse;
|
|
10681
11477
|
|
|
10682
11478
|
/**
|
|
@@ -10778,6 +11574,9 @@ export interface FeedSuggestionResponse {
|
|
|
10778
11574
|
*/
|
|
10779
11575
|
updated_at: Date;
|
|
10780
11576
|
|
|
11577
|
+
/**
|
|
11578
|
+
* User response object
|
|
11579
|
+
*/
|
|
10781
11580
|
created_by: UserResponse;
|
|
10782
11581
|
|
|
10783
11582
|
/**
|
|
@@ -10901,6 +11700,9 @@ export interface FeedsBookmarkResponse {
|
|
|
10901
11700
|
|
|
10902
11701
|
updated_at: Date;
|
|
10903
11702
|
|
|
11703
|
+
/**
|
|
11704
|
+
* User response object
|
|
11705
|
+
*/
|
|
10904
11706
|
user: UserResponse;
|
|
10905
11707
|
|
|
10906
11708
|
activity_id?: string;
|
|
@@ -10949,6 +11751,9 @@ export interface FeedsFeedResponse {
|
|
|
10949
11751
|
|
|
10950
11752
|
updated_at: Date;
|
|
10951
11753
|
|
|
11754
|
+
/**
|
|
11755
|
+
* User response object
|
|
11756
|
+
*/
|
|
10952
11757
|
created_by: UserResponse;
|
|
10953
11758
|
|
|
10954
11759
|
deleted_at?: Date;
|
|
@@ -11116,6 +11921,9 @@ export interface FeedsReactionResponse {
|
|
|
11116
11921
|
|
|
11117
11922
|
updated_at: Date;
|
|
11118
11923
|
|
|
11924
|
+
/**
|
|
11925
|
+
* User response object
|
|
11926
|
+
*/
|
|
11119
11927
|
user: UserResponse;
|
|
11120
11928
|
|
|
11121
11929
|
comment_id?: string;
|
|
@@ -11128,6 +11936,9 @@ export interface FeedsShareResponse {
|
|
|
11128
11936
|
|
|
11129
11937
|
created_at: Date;
|
|
11130
11938
|
|
|
11939
|
+
/**
|
|
11940
|
+
* User response object
|
|
11941
|
+
*/
|
|
11131
11942
|
user: UserResponse;
|
|
11132
11943
|
}
|
|
11133
11944
|
|
|
@@ -11186,6 +11997,9 @@ export interface FeedsV3ActivityResponse {
|
|
|
11186
11997
|
|
|
11187
11998
|
search_data: Record<string, any>;
|
|
11188
11999
|
|
|
12000
|
+
/**
|
|
12001
|
+
* User response object
|
|
12002
|
+
*/
|
|
11189
12003
|
user: UserResponse;
|
|
11190
12004
|
|
|
11191
12005
|
deleted_at?: Date;
|
|
@@ -11264,6 +12078,9 @@ export interface FeedsV3CommentResponse {
|
|
|
11264
12078
|
|
|
11265
12079
|
own_reactions: FeedsReactionResponse[];
|
|
11266
12080
|
|
|
12081
|
+
/**
|
|
12082
|
+
* User response object
|
|
12083
|
+
*/
|
|
11267
12084
|
user: UserResponse;
|
|
11268
12085
|
|
|
11269
12086
|
controversy_score?: number;
|
|
@@ -11360,6 +12177,11 @@ export interface FilterConfigResponse {
|
|
|
11360
12177
|
* The moderation_payload.custom keys the app has configured as review-queue filter chips (via moderation_dashboard_preferences.filterable_custom_keys). Discovery hint for the dashboard only — the filter accepts any custom key regardless of this list.
|
|
11361
12178
|
*/
|
|
11362
12179
|
filterable_custom_keys?: string[];
|
|
12180
|
+
|
|
12181
|
+
/**
|
|
12182
|
+
* AI image moderation labels available as filter values, as a map of L1 label to its L2 sub-labels. Reflects the app's effective image taxonomy: custom Bodyguard taxonomy when enabled, otherwise the standard catalogue of the org's enabled image providers.
|
|
12183
|
+
*/
|
|
12184
|
+
ai_image_taxonomy?: Record<string, string[]>;
|
|
11363
12185
|
}
|
|
11364
12186
|
|
|
11365
12187
|
export interface FirebaseConfig {
|
|
@@ -11465,6 +12287,9 @@ export interface FlagRequest {
|
|
|
11465
12287
|
|
|
11466
12288
|
moderation_payload?: ModerationPayload;
|
|
11467
12289
|
|
|
12290
|
+
/**
|
|
12291
|
+
* User request object
|
|
12292
|
+
*/
|
|
11468
12293
|
user?: UserRequest;
|
|
11469
12294
|
}
|
|
11470
12295
|
|
|
@@ -11491,10 +12316,19 @@ export interface FlagResponse {
|
|
|
11491
12316
|
|
|
11492
12317
|
details?: FlagDetails;
|
|
11493
12318
|
|
|
12319
|
+
/**
|
|
12320
|
+
* Represents any chat message
|
|
12321
|
+
*/
|
|
11494
12322
|
target_message?: MessageResponse;
|
|
11495
12323
|
|
|
12324
|
+
/**
|
|
12325
|
+
* User response object
|
|
12326
|
+
*/
|
|
11496
12327
|
target_user?: UserResponse;
|
|
11497
12328
|
|
|
12329
|
+
/**
|
|
12330
|
+
* User response object
|
|
12331
|
+
*/
|
|
11498
12332
|
user?: UserResponse;
|
|
11499
12333
|
}
|
|
11500
12334
|
|
|
@@ -11507,10 +12341,19 @@ export interface FlagUpdatedEvent {
|
|
|
11507
12341
|
|
|
11508
12342
|
received_at?: Date;
|
|
11509
12343
|
|
|
12344
|
+
/**
|
|
12345
|
+
* User response object
|
|
12346
|
+
*/
|
|
11510
12347
|
created_by?: UserResponse;
|
|
11511
12348
|
|
|
12349
|
+
/**
|
|
12350
|
+
* Represents any chat message
|
|
12351
|
+
*/
|
|
11512
12352
|
message?: MessageResponse;
|
|
11513
12353
|
|
|
12354
|
+
/**
|
|
12355
|
+
* User response object
|
|
12356
|
+
*/
|
|
11514
12357
|
user?: UserResponse;
|
|
11515
12358
|
}
|
|
11516
12359
|
|
|
@@ -11519,6 +12362,8 @@ export interface FlagUserOptions {
|
|
|
11519
12362
|
}
|
|
11520
12363
|
|
|
11521
12364
|
export interface FloodConfig {
|
|
12365
|
+
allowlist?: string[];
|
|
12366
|
+
|
|
11522
12367
|
identical?: FloodIdenticalConfig;
|
|
11523
12368
|
|
|
11524
12369
|
similar?: FloodSimilarConfig;
|
|
@@ -11538,6 +12383,8 @@ export interface FloodIdenticalRuleParameters {
|
|
|
11538
12383
|
threshold?: number;
|
|
11539
12384
|
|
|
11540
12385
|
time_window?: string;
|
|
12386
|
+
|
|
12387
|
+
allowlist?: string[];
|
|
11541
12388
|
}
|
|
11542
12389
|
|
|
11543
12390
|
export interface FloodSimilarConfig {
|
|
@@ -11558,6 +12405,8 @@ export interface FloodSimilarRuleParameters {
|
|
|
11558
12405
|
threshold?: number;
|
|
11559
12406
|
|
|
11560
12407
|
time_window?: string;
|
|
12408
|
+
|
|
12409
|
+
allowlist?: string[];
|
|
11561
12410
|
}
|
|
11562
12411
|
|
|
11563
12412
|
export interface FollowBatchRequest {
|
|
@@ -11884,8 +12733,14 @@ export interface FutureChannelBanResponse {
|
|
|
11884
12733
|
|
|
11885
12734
|
shadow?: boolean;
|
|
11886
12735
|
|
|
12736
|
+
/**
|
|
12737
|
+
* User response object
|
|
12738
|
+
*/
|
|
11887
12739
|
banned_by?: UserResponse;
|
|
11888
12740
|
|
|
12741
|
+
/**
|
|
12742
|
+
* User response object
|
|
12743
|
+
*/
|
|
11889
12744
|
user?: UserResponse;
|
|
11890
12745
|
}
|
|
11891
12746
|
|
|
@@ -11962,6 +12817,9 @@ export interface GetApplicationResponse {
|
|
|
11962
12817
|
export interface GetBlockListResponse {
|
|
11963
12818
|
duration: string;
|
|
11964
12819
|
|
|
12820
|
+
/**
|
|
12821
|
+
* Block list contains restricted words
|
|
12822
|
+
*/
|
|
11965
12823
|
blocklist?: BlockListResponse;
|
|
11966
12824
|
}
|
|
11967
12825
|
|
|
@@ -12014,6 +12872,8 @@ export interface GetCallReportResponse {
|
|
|
12014
12872
|
|
|
12015
12873
|
chat_activity?: ChatActivityStatsResponse;
|
|
12016
12874
|
|
|
12875
|
+
digest?: BroadcastDigest;
|
|
12876
|
+
|
|
12017
12877
|
session?: CallSessionResponse;
|
|
12018
12878
|
}
|
|
12019
12879
|
|
|
@@ -12024,6 +12884,9 @@ export interface GetCallResponse {
|
|
|
12024
12884
|
|
|
12025
12885
|
own_capabilities: OwnCapability[];
|
|
12026
12886
|
|
|
12887
|
+
/**
|
|
12888
|
+
* Represents a call
|
|
12889
|
+
*/
|
|
12027
12890
|
call: CallResponse;
|
|
12028
12891
|
}
|
|
12029
12892
|
|
|
@@ -12159,6 +13022,9 @@ export interface GetChannelTypeResponse {
|
|
|
12159
13022
|
|
|
12160
13023
|
blocklists?: BlockListOptions[];
|
|
12161
13024
|
|
|
13025
|
+
/**
|
|
13026
|
+
* Sets thresholds for AI moderation
|
|
13027
|
+
*/
|
|
12162
13028
|
automod_thresholds?: Thresholds;
|
|
12163
13029
|
|
|
12164
13030
|
chat_preferences?: ChatPreferences;
|
|
@@ -12237,6 +13103,33 @@ export interface GetCustomPermissionResponse {
|
|
|
12237
13103
|
permission: Permission;
|
|
12238
13104
|
}
|
|
12239
13105
|
|
|
13106
|
+
export interface GetDailyDigestResponse {
|
|
13107
|
+
date: string;
|
|
13108
|
+
|
|
13109
|
+
/**
|
|
13110
|
+
* Duration of the request in milliseconds
|
|
13111
|
+
*/
|
|
13112
|
+
duration: string;
|
|
13113
|
+
|
|
13114
|
+
status: string;
|
|
13115
|
+
|
|
13116
|
+
generated_at?: string;
|
|
13117
|
+
|
|
13118
|
+
retry_after?: number;
|
|
13119
|
+
|
|
13120
|
+
revision?: number;
|
|
13121
|
+
|
|
13122
|
+
schema_version?: string;
|
|
13123
|
+
|
|
13124
|
+
broadcasts?: BroadcastDigest[];
|
|
13125
|
+
|
|
13126
|
+
call_sessions?: DailyDigestCallSessionSummary[];
|
|
13127
|
+
|
|
13128
|
+
digest_kinds?: string[];
|
|
13129
|
+
|
|
13130
|
+
broadcast_rollup?: BroadcastDailyRollup;
|
|
13131
|
+
}
|
|
13132
|
+
|
|
12240
13133
|
export interface GetDraftResponse {
|
|
12241
13134
|
/**
|
|
12242
13135
|
* Duration of the request in milliseconds
|
|
@@ -12255,6 +13148,41 @@ export interface GetEdgesResponse {
|
|
|
12255
13148
|
edges: EdgeResponse[];
|
|
12256
13149
|
}
|
|
12257
13150
|
|
|
13151
|
+
export interface GetExternalStorageAWSS3Response {
|
|
13152
|
+
bucket: string;
|
|
13153
|
+
|
|
13154
|
+
region: string;
|
|
13155
|
+
|
|
13156
|
+
role_arn: string;
|
|
13157
|
+
|
|
13158
|
+
path_prefix?: string;
|
|
13159
|
+
}
|
|
13160
|
+
|
|
13161
|
+
export interface GetExternalStorageGCSResponse {
|
|
13162
|
+
bucket: string;
|
|
13163
|
+
|
|
13164
|
+
credentials_set: boolean;
|
|
13165
|
+
|
|
13166
|
+
path_prefix?: string;
|
|
13167
|
+
}
|
|
13168
|
+
|
|
13169
|
+
export interface GetExternalStorageResponse {
|
|
13170
|
+
created_at: Date;
|
|
13171
|
+
|
|
13172
|
+
/**
|
|
13173
|
+
* Duration of the request in milliseconds
|
|
13174
|
+
*/
|
|
13175
|
+
duration: string;
|
|
13176
|
+
|
|
13177
|
+
type: string;
|
|
13178
|
+
|
|
13179
|
+
updated_at: Date;
|
|
13180
|
+
|
|
13181
|
+
aws_s3?: GetExternalStorageAWSS3Response;
|
|
13182
|
+
|
|
13183
|
+
gcs?: GetExternalStorageGCSResponse;
|
|
13184
|
+
}
|
|
13185
|
+
|
|
12258
13186
|
export interface GetFeedGroupResponse {
|
|
12259
13187
|
duration: string;
|
|
12260
13188
|
|
|
@@ -12291,6 +13219,11 @@ export interface GetFeedsRateLimitsResponse {
|
|
|
12291
13219
|
*/
|
|
12292
13220
|
server_side?: Record<string, LimitInfoResponse>;
|
|
12293
13221
|
|
|
13222
|
+
/**
|
|
13223
|
+
* Rate limits for Unity platform (endpoint name -> limit info)
|
|
13224
|
+
*/
|
|
13225
|
+
unity?: Record<string, LimitInfoResponse>;
|
|
13226
|
+
|
|
12294
13227
|
/**
|
|
12295
13228
|
* Rate limits for Web platform (endpoint name -> limit info)
|
|
12296
13229
|
*/
|
|
@@ -12376,6 +13309,9 @@ export interface GetMessageResponse {
|
|
|
12376
13309
|
*/
|
|
12377
13310
|
duration: string;
|
|
12378
13311
|
|
|
13312
|
+
/**
|
|
13313
|
+
* Represents any chat message
|
|
13314
|
+
*/
|
|
12379
13315
|
message: MessageWithChannelResponse;
|
|
12380
13316
|
|
|
12381
13317
|
pending_message_metadata?: Record<string, string>;
|
|
@@ -12483,6 +13419,9 @@ export interface GetOrCreateCallRequest {
|
|
|
12483
13419
|
|
|
12484
13420
|
video?: boolean;
|
|
12485
13421
|
|
|
13422
|
+
/**
|
|
13423
|
+
* CallRequest is the payload for creating a call.
|
|
13424
|
+
*/
|
|
12486
13425
|
data?: CallRequest;
|
|
12487
13426
|
}
|
|
12488
13427
|
|
|
@@ -12495,6 +13434,9 @@ export interface GetOrCreateCallResponse {
|
|
|
12495
13434
|
|
|
12496
13435
|
own_capabilities: OwnCapability[];
|
|
12497
13436
|
|
|
13437
|
+
/**
|
|
13438
|
+
* Represents a call
|
|
13439
|
+
*/
|
|
12498
13440
|
call: CallResponse;
|
|
12499
13441
|
}
|
|
12500
13442
|
|
|
@@ -12568,6 +13510,9 @@ export interface GetOrCreateFeedRequest {
|
|
|
12568
13510
|
|
|
12569
13511
|
data?: FeedInput;
|
|
12570
13512
|
|
|
13513
|
+
/**
|
|
13514
|
+
* Options to skip specific enrichments to improve performance. Default is false (enrichments are included). Setting a field to true skips that enrichment.
|
|
13515
|
+
*/
|
|
12571
13516
|
enrichment_options?: EnrichmentOptions;
|
|
12572
13517
|
|
|
12573
13518
|
external_ranking?: Record<string, any>;
|
|
@@ -12578,12 +13523,18 @@ export interface GetOrCreateFeedRequest {
|
|
|
12578
13523
|
|
|
12579
13524
|
following_pagination?: PagerRequest;
|
|
12580
13525
|
|
|
13526
|
+
/**
|
|
13527
|
+
* Options to control fetching reactions from friends (users you follow or have mutual follows with).
|
|
13528
|
+
*/
|
|
12581
13529
|
friend_reactions_options?: FriendReactionsOptions;
|
|
12582
13530
|
|
|
12583
13531
|
interest_weights?: Record<string, number>;
|
|
12584
13532
|
|
|
12585
13533
|
member_pagination?: PagerRequest;
|
|
12586
13534
|
|
|
13535
|
+
/**
|
|
13536
|
+
* User request object
|
|
13537
|
+
*/
|
|
12587
13538
|
user?: UserRequest;
|
|
12588
13539
|
}
|
|
12589
13540
|
|
|
@@ -12725,6 +13676,11 @@ export interface GetRateLimitsResponse {
|
|
|
12725
13676
|
*/
|
|
12726
13677
|
server_side?: Record<string, LimitInfoResponse>;
|
|
12727
13678
|
|
|
13679
|
+
/**
|
|
13680
|
+
* Map of endpoint rate limits for the Unity platform
|
|
13681
|
+
*/
|
|
13682
|
+
unity?: Record<string, LimitInfoResponse>;
|
|
13683
|
+
|
|
12728
13684
|
/**
|
|
12729
13685
|
* Map of endpoint rate limits for the web platform
|
|
12730
13686
|
*/
|
|
@@ -12882,6 +13838,9 @@ export interface GoLiveResponse {
|
|
|
12882
13838
|
*/
|
|
12883
13839
|
duration: string;
|
|
12884
13840
|
|
|
13841
|
+
/**
|
|
13842
|
+
* Represents a call
|
|
13843
|
+
*/
|
|
12885
13844
|
call: CallResponse;
|
|
12886
13845
|
}
|
|
12887
13846
|
|
|
@@ -12932,6 +13891,9 @@ export interface GroupedQueryChannelsRequest {
|
|
|
12932
13891
|
*/
|
|
12933
13892
|
groups?: Record<string, GroupedChannelsGroupRequest>;
|
|
12934
13893
|
|
|
13894
|
+
/**
|
|
13895
|
+
* User request object
|
|
13896
|
+
*/
|
|
12935
13897
|
user?: UserRequest;
|
|
12936
13898
|
}
|
|
12937
13899
|
|
|
@@ -13012,6 +13974,9 @@ export interface HideChannelRequest {
|
|
|
13012
13974
|
|
|
13013
13975
|
user_id?: string;
|
|
13014
13976
|
|
|
13977
|
+
/**
|
|
13978
|
+
* User request object
|
|
13979
|
+
*/
|
|
13015
13980
|
user?: UserRequest;
|
|
13016
13981
|
}
|
|
13017
13982
|
|
|
@@ -13230,6 +14195,16 @@ export interface ImportV2TaskSettingsS3 {
|
|
|
13230
14195
|
region?: string;
|
|
13231
14196
|
}
|
|
13232
14197
|
|
|
14198
|
+
export interface Incident {
|
|
14199
|
+
from: string;
|
|
14200
|
+
|
|
14201
|
+
peak_concurrency: number;
|
|
14202
|
+
|
|
14203
|
+
to: string;
|
|
14204
|
+
|
|
14205
|
+
viewers_interrupted: number;
|
|
14206
|
+
}
|
|
14207
|
+
|
|
13233
14208
|
export interface IndividualRecordSettings {
|
|
13234
14209
|
mode: 'available' | 'disabled' | 'auto-on';
|
|
13235
14210
|
|
|
@@ -13544,6 +14519,18 @@ export interface JoinCallAPIMetrics {
|
|
|
13544
14519
|
latency?: ActiveCallsLatencyStats;
|
|
13545
14520
|
}
|
|
13546
14521
|
|
|
14522
|
+
export interface Joins {
|
|
14523
|
+
reason: string;
|
|
14524
|
+
|
|
14525
|
+
disconnect_reasons: Record<string, number>;
|
|
14526
|
+
|
|
14527
|
+
failure_stages: Record<string, number>;
|
|
14528
|
+
|
|
14529
|
+
join_attempts?: number;
|
|
14530
|
+
|
|
14531
|
+
join_success_rate?: number;
|
|
14532
|
+
}
|
|
14533
|
+
|
|
13547
14534
|
export interface KeyframeOCRRuleParameters {
|
|
13548
14535
|
threshold?: number;
|
|
13549
14536
|
|
|
@@ -13578,6 +14565,9 @@ export interface KickUserRequest {
|
|
|
13578
14565
|
*/
|
|
13579
14566
|
kicked_by_id?: string;
|
|
13580
14567
|
|
|
14568
|
+
/**
|
|
14569
|
+
* User request object
|
|
14570
|
+
*/
|
|
13581
14571
|
kicked_by?: UserRequest;
|
|
13582
14572
|
}
|
|
13583
14573
|
|
|
@@ -13593,6 +14583,9 @@ export interface KickedUserEvent {
|
|
|
13593
14583
|
|
|
13594
14584
|
created_at: Date;
|
|
13595
14585
|
|
|
14586
|
+
/**
|
|
14587
|
+
* User response object
|
|
14588
|
+
*/
|
|
13596
14589
|
user: UserResponse;
|
|
13597
14590
|
|
|
13598
14591
|
/**
|
|
@@ -13600,6 +14593,9 @@ export interface KickedUserEvent {
|
|
|
13600
14593
|
*/
|
|
13601
14594
|
type: string;
|
|
13602
14595
|
|
|
14596
|
+
/**
|
|
14597
|
+
* User response object
|
|
14598
|
+
*/
|
|
13603
14599
|
kicked_by_user?: UserResponse;
|
|
13604
14600
|
}
|
|
13605
14601
|
|
|
@@ -14135,6 +15131,9 @@ export interface MarkActivityRequest {
|
|
|
14135
15131
|
*/
|
|
14136
15132
|
mark_watched?: string[];
|
|
14137
15133
|
|
|
15134
|
+
/**
|
|
15135
|
+
* User request object
|
|
15136
|
+
*/
|
|
14138
15137
|
user?: UserRequest;
|
|
14139
15138
|
}
|
|
14140
15139
|
|
|
@@ -14146,6 +15145,9 @@ export interface MarkChannelsReadRequest {
|
|
|
14146
15145
|
*/
|
|
14147
15146
|
read_by_channel?: Record<string, string>;
|
|
14148
15147
|
|
|
15148
|
+
/**
|
|
15149
|
+
* User request object
|
|
15150
|
+
*/
|
|
14149
15151
|
user?: UserRequest;
|
|
14150
15152
|
}
|
|
14151
15153
|
|
|
@@ -14173,6 +15175,9 @@ export interface MarkReadRequest {
|
|
|
14173
15175
|
|
|
14174
15176
|
user_id?: string;
|
|
14175
15177
|
|
|
15178
|
+
/**
|
|
15179
|
+
* User request object
|
|
15180
|
+
*/
|
|
14176
15181
|
user?: UserRequest;
|
|
14177
15182
|
}
|
|
14178
15183
|
|
|
@@ -14202,6 +15207,9 @@ export interface MarkReadResponseEvent {
|
|
|
14202
15207
|
|
|
14203
15208
|
team?: string;
|
|
14204
15209
|
|
|
15210
|
+
/**
|
|
15211
|
+
* Represents channel in chat
|
|
15212
|
+
*/
|
|
14205
15213
|
channel?: ChannelResponse;
|
|
14206
15214
|
|
|
14207
15215
|
thread?: ThreadResponse;
|
|
@@ -14244,6 +15252,9 @@ export interface MarkUnreadRequest {
|
|
|
14244
15252
|
|
|
14245
15253
|
user_id?: string;
|
|
14246
15254
|
|
|
15255
|
+
/**
|
|
15256
|
+
* User request object
|
|
15257
|
+
*/
|
|
14247
15258
|
user?: UserRequest;
|
|
14248
15259
|
}
|
|
14249
15260
|
|
|
@@ -14273,6 +15284,8 @@ export interface MatchedContent {
|
|
|
14273
15284
|
*/
|
|
14274
15285
|
severity?: string;
|
|
14275
15286
|
|
|
15287
|
+
text?: string;
|
|
15288
|
+
|
|
14276
15289
|
/**
|
|
14277
15290
|
* Image-classification entries (keyframe rule, Type=image) carry nested L1 → L2 classifications. Text entries (closed_caption rule, Type=text) carry flat label + severity. Resolved against the app's effective taxonomy on the image side.
|
|
14278
15291
|
*/
|
|
@@ -14300,6 +15313,9 @@ export interface MemberAddedEvent {
|
|
|
14300
15313
|
*/
|
|
14301
15314
|
created_at: Date;
|
|
14302
15315
|
|
|
15316
|
+
/**
|
|
15317
|
+
* Represents channel in chat
|
|
15318
|
+
*/
|
|
14303
15319
|
channel: ChannelResponse;
|
|
14304
15320
|
|
|
14305
15321
|
custom: Record<string, any>;
|
|
@@ -14354,6 +15370,9 @@ export interface MemberRemovedEvent {
|
|
|
14354
15370
|
*/
|
|
14355
15371
|
created_at: Date;
|
|
14356
15372
|
|
|
15373
|
+
/**
|
|
15374
|
+
* Represents channel in chat
|
|
15375
|
+
*/
|
|
14357
15376
|
channel: ChannelResponse;
|
|
14358
15377
|
|
|
14359
15378
|
custom: Record<string, any>;
|
|
@@ -14431,6 +15450,9 @@ export interface MemberResponse {
|
|
|
14431
15450
|
*/
|
|
14432
15451
|
custom: Record<string, any>;
|
|
14433
15452
|
|
|
15453
|
+
/**
|
|
15454
|
+
* User response object
|
|
15455
|
+
*/
|
|
14434
15456
|
user: UserResponse;
|
|
14435
15457
|
|
|
14436
15458
|
/**
|
|
@@ -14447,6 +15469,9 @@ export interface MemberUpdatedEvent {
|
|
|
14447
15469
|
*/
|
|
14448
15470
|
created_at: Date;
|
|
14449
15471
|
|
|
15472
|
+
/**
|
|
15473
|
+
* Represents channel in chat
|
|
15474
|
+
*/
|
|
14450
15475
|
channel: ChannelResponse;
|
|
14451
15476
|
|
|
14452
15477
|
custom: Record<string, any>;
|
|
@@ -14557,6 +15582,9 @@ export interface MessageActionRequest {
|
|
|
14557
15582
|
|
|
14558
15583
|
user_id?: string;
|
|
14559
15584
|
|
|
15585
|
+
/**
|
|
15586
|
+
* User request object
|
|
15587
|
+
*/
|
|
14560
15588
|
user?: UserRequest;
|
|
14561
15589
|
}
|
|
14562
15590
|
|
|
@@ -14566,6 +15594,9 @@ export interface MessageActionResponse {
|
|
|
14566
15594
|
*/
|
|
14567
15595
|
duration: string;
|
|
14568
15596
|
|
|
15597
|
+
/**
|
|
15598
|
+
* Represents any chat message
|
|
15599
|
+
*/
|
|
14569
15600
|
message?: MessageResponse;
|
|
14570
15601
|
}
|
|
14571
15602
|
|
|
@@ -14604,6 +15635,9 @@ export interface MessageDeletedEvent {
|
|
|
14604
15635
|
|
|
14605
15636
|
custom: Record<string, any>;
|
|
14606
15637
|
|
|
15638
|
+
/**
|
|
15639
|
+
* Represents any chat message
|
|
15640
|
+
*/
|
|
14607
15641
|
message: MessageResponse;
|
|
14608
15642
|
|
|
14609
15643
|
/**
|
|
@@ -14672,14 +15706,26 @@ export interface MessageFlagResponse {
|
|
|
14672
15706
|
|
|
14673
15707
|
details?: FlagDetailsResponse;
|
|
14674
15708
|
|
|
15709
|
+
/**
|
|
15710
|
+
* Represents any chat message
|
|
15711
|
+
*/
|
|
14675
15712
|
message?: MessageResponse;
|
|
14676
15713
|
|
|
14677
15714
|
moderation_feedback?: FlagFeedbackResponse;
|
|
14678
15715
|
|
|
15716
|
+
/**
|
|
15717
|
+
* Result of the message moderation
|
|
15718
|
+
*/
|
|
14679
15719
|
moderation_result?: MessageModerationResult;
|
|
14680
15720
|
|
|
15721
|
+
/**
|
|
15722
|
+
* User response object
|
|
15723
|
+
*/
|
|
14681
15724
|
reviewed_by?: UserResponse;
|
|
14682
15725
|
|
|
15726
|
+
/**
|
|
15727
|
+
* User response object
|
|
15728
|
+
*/
|
|
14683
15729
|
user?: UserResponse;
|
|
14684
15730
|
}
|
|
14685
15731
|
|
|
@@ -14691,6 +15737,9 @@ export interface MessageFlaggedEvent {
|
|
|
14691
15737
|
|
|
14692
15738
|
message_id: string;
|
|
14693
15739
|
|
|
15740
|
+
/**
|
|
15741
|
+
* Represents any chat message
|
|
15742
|
+
*/
|
|
14694
15743
|
message: MessageResponse;
|
|
14695
15744
|
|
|
14696
15745
|
/**
|
|
@@ -14747,6 +15796,9 @@ export interface MessageFlaggedEvent {
|
|
|
14747
15796
|
*/
|
|
14748
15797
|
custom?: Record<string, any>;
|
|
14749
15798
|
|
|
15799
|
+
/**
|
|
15800
|
+
* Result of the message moderation
|
|
15801
|
+
*/
|
|
14750
15802
|
details?: MessageModerationResult;
|
|
14751
15803
|
|
|
14752
15804
|
flag?: FlagResponse;
|
|
@@ -14818,6 +15870,9 @@ export interface MessageModerationResult {
|
|
|
14818
15870
|
|
|
14819
15871
|
ai_moderation_response?: ModerationResponse;
|
|
14820
15872
|
|
|
15873
|
+
/**
|
|
15874
|
+
* Sets thresholds for AI moderation
|
|
15875
|
+
*/
|
|
14821
15876
|
moderation_thresholds?: Thresholds;
|
|
14822
15877
|
}
|
|
14823
15878
|
|
|
@@ -14836,6 +15891,9 @@ export interface MessageNewEvent {
|
|
|
14836
15891
|
|
|
14837
15892
|
custom: Record<string, any>;
|
|
14838
15893
|
|
|
15894
|
+
/**
|
|
15895
|
+
* Represents any chat message
|
|
15896
|
+
*/
|
|
14839
15897
|
message: MessageResponse;
|
|
14840
15898
|
|
|
14841
15899
|
/**
|
|
@@ -14894,6 +15952,9 @@ export interface MessageNewEvent {
|
|
|
14894
15952
|
*/
|
|
14895
15953
|
thread_participants?: UserResponseCommonFields[];
|
|
14896
15954
|
|
|
15955
|
+
/**
|
|
15956
|
+
* Represents channel in chat
|
|
15957
|
+
*/
|
|
14897
15958
|
channel?: ChannelResponse;
|
|
14898
15959
|
|
|
14899
15960
|
channel_custom?: Record<string, any>;
|
|
@@ -14905,6 +15966,8 @@ export interface MessageNewEvent {
|
|
|
14905
15966
|
|
|
14906
15967
|
export interface MessageOptions {
|
|
14907
15968
|
include_thread_participants?: boolean;
|
|
15969
|
+
|
|
15970
|
+
member_custom_include?: string[];
|
|
14908
15971
|
}
|
|
14909
15972
|
|
|
14910
15973
|
export interface MessagePaginationParams {
|
|
@@ -15014,6 +16077,9 @@ export interface MessageReadEvent {
|
|
|
15014
16077
|
*/
|
|
15015
16078
|
team?: string;
|
|
15016
16079
|
|
|
16080
|
+
/**
|
|
16081
|
+
* Represents channel in chat
|
|
16082
|
+
*/
|
|
15017
16083
|
channel?: ChannelResponse;
|
|
15018
16084
|
|
|
15019
16085
|
channel_custom?: Record<string, any>;
|
|
@@ -15089,7 +16155,7 @@ export interface MessageRequest {
|
|
|
15089
16155
|
* Contains type of the message. One of: regular, system
|
|
15090
16156
|
*/
|
|
15091
16157
|
|
|
15092
|
-
type?:
|
|
16158
|
+
type?: 'regular' | 'system';
|
|
15093
16159
|
|
|
15094
16160
|
user_id?: string;
|
|
15095
16161
|
|
|
@@ -15119,6 +16185,9 @@ export interface MessageRequest {
|
|
|
15119
16185
|
|
|
15120
16186
|
shared_location?: SharedLocation;
|
|
15121
16187
|
|
|
16188
|
+
/**
|
|
16189
|
+
* User request object
|
|
16190
|
+
*/
|
|
15122
16191
|
user?: UserRequest;
|
|
15123
16192
|
}
|
|
15124
16193
|
|
|
@@ -15227,6 +16296,9 @@ export interface MessageResponse {
|
|
|
15227
16296
|
*/
|
|
15228
16297
|
reaction_scores: Record<string, number>;
|
|
15229
16298
|
|
|
16299
|
+
/**
|
|
16300
|
+
* User response object
|
|
16301
|
+
*/
|
|
15230
16302
|
user: UserResponse;
|
|
15231
16303
|
|
|
15232
16304
|
/**
|
|
@@ -15311,10 +16383,16 @@ export interface MessageResponse {
|
|
|
15311
16383
|
|
|
15312
16384
|
moderation?: ModerationV2Response;
|
|
15313
16385
|
|
|
16386
|
+
/**
|
|
16387
|
+
* User response object
|
|
16388
|
+
*/
|
|
15314
16389
|
pinned_by?: UserResponse;
|
|
15315
16390
|
|
|
15316
16391
|
poll?: PollResponseData;
|
|
15317
16392
|
|
|
16393
|
+
/**
|
|
16394
|
+
* Represents any chat message
|
|
16395
|
+
*/
|
|
15318
16396
|
quoted_message?: MessageResponse;
|
|
15319
16397
|
|
|
15320
16398
|
reaction_groups?: Record<string, ReactionGroupResponse>;
|
|
@@ -15338,6 +16416,9 @@ export interface MessageUnblockedEvent {
|
|
|
15338
16416
|
|
|
15339
16417
|
custom: Record<string, any>;
|
|
15340
16418
|
|
|
16419
|
+
/**
|
|
16420
|
+
* Represents any chat message
|
|
16421
|
+
*/
|
|
15341
16422
|
message: MessageResponse;
|
|
15342
16423
|
|
|
15343
16424
|
/**
|
|
@@ -15365,6 +16446,9 @@ export interface MessageUndeletedEvent {
|
|
|
15365
16446
|
|
|
15366
16447
|
custom: Record<string, any>;
|
|
15367
16448
|
|
|
16449
|
+
/**
|
|
16450
|
+
* Represents any chat message
|
|
16451
|
+
*/
|
|
15368
16452
|
message: MessageResponse;
|
|
15369
16453
|
|
|
15370
16454
|
/**
|
|
@@ -15423,6 +16507,9 @@ export interface MessageUpdatedEvent {
|
|
|
15423
16507
|
|
|
15424
16508
|
custom: Record<string, any>;
|
|
15425
16509
|
|
|
16510
|
+
/**
|
|
16511
|
+
* Represents any chat message
|
|
16512
|
+
*/
|
|
15426
16513
|
message: MessageResponse;
|
|
15427
16514
|
|
|
15428
16515
|
/**
|
|
@@ -15562,6 +16649,9 @@ export interface MessageWithChannelResponse {
|
|
|
15562
16649
|
*/
|
|
15563
16650
|
restricted_visibility: string[];
|
|
15564
16651
|
|
|
16652
|
+
/**
|
|
16653
|
+
* Represents channel in chat
|
|
16654
|
+
*/
|
|
15565
16655
|
channel: ChannelResponse;
|
|
15566
16656
|
|
|
15567
16657
|
custom: Record<string, any>;
|
|
@@ -15576,6 +16666,9 @@ export interface MessageWithChannelResponse {
|
|
|
15576
16666
|
*/
|
|
15577
16667
|
reaction_scores: Record<string, number>;
|
|
15578
16668
|
|
|
16669
|
+
/**
|
|
16670
|
+
* User response object
|
|
16671
|
+
*/
|
|
15579
16672
|
user: UserResponse;
|
|
15580
16673
|
|
|
15581
16674
|
/**
|
|
@@ -15660,10 +16753,16 @@ export interface MessageWithChannelResponse {
|
|
|
15660
16753
|
|
|
15661
16754
|
moderation?: ModerationV2Response;
|
|
15662
16755
|
|
|
16756
|
+
/**
|
|
16757
|
+
* User response object
|
|
16758
|
+
*/
|
|
15663
16759
|
pinned_by?: UserResponse;
|
|
15664
16760
|
|
|
15665
16761
|
poll?: PollResponseData;
|
|
15666
16762
|
|
|
16763
|
+
/**
|
|
16764
|
+
* Represents any chat message
|
|
16765
|
+
*/
|
|
15667
16766
|
quoted_message?: MessageResponse;
|
|
15668
16767
|
|
|
15669
16768
|
reaction_groups?: Record<string, ReactionGroupResponse>;
|
|
@@ -15709,6 +16808,18 @@ export interface MetricTimeSeries {
|
|
|
15709
16808
|
data_points?: number[][];
|
|
15710
16809
|
}
|
|
15711
16810
|
|
|
16811
|
+
export interface MetricsPct {
|
|
16812
|
+
freezes?: number;
|
|
16813
|
+
|
|
16814
|
+
geo?: number;
|
|
16815
|
+
|
|
16816
|
+
jitter?: number;
|
|
16817
|
+
|
|
16818
|
+
latency?: number;
|
|
16819
|
+
|
|
16820
|
+
quality_score?: number;
|
|
16821
|
+
}
|
|
16822
|
+
|
|
15712
16823
|
export interface ModerationActionConfigResponse {
|
|
15713
16824
|
/**
|
|
15714
16825
|
* The action to take
|
|
@@ -15748,6 +16859,44 @@ export interface ModerationActionConfigResponse {
|
|
|
15748
16859
|
custom?: Record<string, any>;
|
|
15749
16860
|
}
|
|
15750
16861
|
|
|
16862
|
+
export interface ModerationAnalysisFailedEvent {
|
|
16863
|
+
created_at: Date;
|
|
16864
|
+
|
|
16865
|
+
type: string;
|
|
16866
|
+
|
|
16867
|
+
/**
|
|
16868
|
+
* The moderation policy key the request targeted.
|
|
16869
|
+
*/
|
|
16870
|
+
config_key?: string;
|
|
16871
|
+
|
|
16872
|
+
/**
|
|
16873
|
+
* Echo of the `entity_creator_id` on the /analyze request.
|
|
16874
|
+
*/
|
|
16875
|
+
entity_creator_id?: string;
|
|
16876
|
+
|
|
16877
|
+
/**
|
|
16878
|
+
* Echo of the `entity_id` on the /analyze request.
|
|
16879
|
+
*/
|
|
16880
|
+
entity_id?: string;
|
|
16881
|
+
|
|
16882
|
+
/**
|
|
16883
|
+
* Echo of the `entity_type` on the /analyze request.
|
|
16884
|
+
*/
|
|
16885
|
+
entity_type?: string;
|
|
16886
|
+
|
|
16887
|
+
received_at?: Date;
|
|
16888
|
+
|
|
16889
|
+
/**
|
|
16890
|
+
* Echo of the request's `content_ids`, keyed by text/image label. On keyframe and caption streams every request repeats the same entity_type/entity_id/entity_creator_id, so this is what identifies the specific submission that went unscreened.
|
|
16891
|
+
*/
|
|
16892
|
+
content_ids?: Record<string, string>;
|
|
16893
|
+
|
|
16894
|
+
/**
|
|
16895
|
+
* Echo of the `custom` metadata on the /analyze request.
|
|
16896
|
+
*/
|
|
16897
|
+
custom?: Record<string, any>;
|
|
16898
|
+
}
|
|
16899
|
+
|
|
15751
16900
|
export interface ModerationBanResponse {
|
|
15752
16901
|
duration: string;
|
|
15753
16902
|
}
|
|
@@ -15791,6 +16940,9 @@ export interface ModerationCallResponse {
|
|
|
15791
16940
|
|
|
15792
16941
|
team?: string;
|
|
15793
16942
|
|
|
16943
|
+
/**
|
|
16944
|
+
* User response object
|
|
16945
|
+
*/
|
|
15794
16946
|
created_by?: UserResponse;
|
|
15795
16947
|
}
|
|
15796
16948
|
|
|
@@ -15885,6 +17037,9 @@ export interface ModerationCustomActionEvent {
|
|
|
15885
17037
|
*/
|
|
15886
17038
|
action_options?: Record<string, any>;
|
|
15887
17039
|
|
|
17040
|
+
/**
|
|
17041
|
+
* Represents any chat message
|
|
17042
|
+
*/
|
|
15888
17043
|
message?: MessageResponse;
|
|
15889
17044
|
}
|
|
15890
17045
|
|
|
@@ -15943,10 +17098,16 @@ export interface ModerationFlagResponse {
|
|
|
15943
17098
|
|
|
15944
17099
|
custom?: Record<string, any>;
|
|
15945
17100
|
|
|
17101
|
+
/**
|
|
17102
|
+
* Content payload for moderation
|
|
17103
|
+
*/
|
|
15946
17104
|
moderation_payload?: ModerationPayloadResponse;
|
|
15947
17105
|
|
|
15948
17106
|
review_queue_item?: ReviewQueueItemResponse;
|
|
15949
17107
|
|
|
17108
|
+
/**
|
|
17109
|
+
* User response object
|
|
17110
|
+
*/
|
|
15950
17111
|
user?: UserResponse;
|
|
15951
17112
|
}
|
|
15952
17113
|
|
|
@@ -16029,6 +17190,9 @@ export interface ModerationMarkReviewedEvent {
|
|
|
16029
17190
|
|
|
16030
17191
|
received_at?: Date;
|
|
16031
17192
|
|
|
17193
|
+
/**
|
|
17194
|
+
* Represents any chat message
|
|
17195
|
+
*/
|
|
16032
17196
|
message?: MessageResponse;
|
|
16033
17197
|
}
|
|
16034
17198
|
|
|
@@ -16321,6 +17485,9 @@ export interface MuteChannelRequest {
|
|
|
16321
17485
|
*/
|
|
16322
17486
|
channel_cids?: string[];
|
|
16323
17487
|
|
|
17488
|
+
/**
|
|
17489
|
+
* User request object
|
|
17490
|
+
*/
|
|
16324
17491
|
user?: UserRequest;
|
|
16325
17492
|
}
|
|
16326
17493
|
|
|
@@ -16350,6 +17517,9 @@ export interface MuteRequest {
|
|
|
16350
17517
|
|
|
16351
17518
|
user_id?: string;
|
|
16352
17519
|
|
|
17520
|
+
/**
|
|
17521
|
+
* User request object
|
|
17522
|
+
*/
|
|
16353
17523
|
user?: UserRequest;
|
|
16354
17524
|
}
|
|
16355
17525
|
|
|
@@ -16384,6 +17554,9 @@ export interface MuteUsersRequest {
|
|
|
16384
17554
|
|
|
16385
17555
|
user_ids?: string[];
|
|
16386
17556
|
|
|
17557
|
+
/**
|
|
17558
|
+
* User request object
|
|
17559
|
+
*/
|
|
16387
17560
|
muted_by?: UserRequest;
|
|
16388
17561
|
}
|
|
16389
17562
|
|
|
@@ -16565,6 +17738,9 @@ export interface NotificationMarkUnreadEvent {
|
|
|
16565
17738
|
*/
|
|
16566
17739
|
unread_threads?: number;
|
|
16567
17740
|
|
|
17741
|
+
/**
|
|
17742
|
+
* Represents channel in chat
|
|
17743
|
+
*/
|
|
16568
17744
|
channel?: ChannelResponse;
|
|
16569
17745
|
|
|
16570
17746
|
channel_custom?: Record<string, any>;
|
|
@@ -16719,10 +17895,16 @@ export interface NotificationThreadMessageNewEvent {
|
|
|
16719
17895
|
*/
|
|
16720
17896
|
watcher_count: number;
|
|
16721
17897
|
|
|
17898
|
+
/**
|
|
17899
|
+
* Represents channel in chat
|
|
17900
|
+
*/
|
|
16722
17901
|
channel: ChannelResponse;
|
|
16723
17902
|
|
|
16724
17903
|
custom: Record<string, any>;
|
|
16725
17904
|
|
|
17905
|
+
/**
|
|
17906
|
+
* Represents any chat message
|
|
17907
|
+
*/
|
|
16726
17908
|
message: MessageResponse;
|
|
16727
17909
|
|
|
16728
17910
|
/**
|
|
@@ -16832,6 +18014,9 @@ export interface OwnBatchRequest {
|
|
|
16832
18014
|
*/
|
|
16833
18015
|
fields?: string[];
|
|
16834
18016
|
|
|
18017
|
+
/**
|
|
18018
|
+
* User request object
|
|
18019
|
+
*/
|
|
16835
18020
|
user?: UserRequest;
|
|
16836
18021
|
}
|
|
16837
18022
|
|
|
@@ -17124,8 +18309,14 @@ export interface PendingMessageEvent {
|
|
|
17124
18309
|
|
|
17125
18310
|
received_at?: Date;
|
|
17126
18311
|
|
|
18312
|
+
/**
|
|
18313
|
+
* Represents channel in chat
|
|
18314
|
+
*/
|
|
17127
18315
|
channel?: ChannelResponse;
|
|
17128
18316
|
|
|
18317
|
+
/**
|
|
18318
|
+
* Represents any chat message
|
|
18319
|
+
*/
|
|
17129
18320
|
message?: MessageResponse;
|
|
17130
18321
|
|
|
17131
18322
|
/**
|
|
@@ -17133,16 +18324,28 @@ export interface PendingMessageEvent {
|
|
|
17133
18324
|
*/
|
|
17134
18325
|
metadata?: Record<string, string>;
|
|
17135
18326
|
|
|
18327
|
+
/**
|
|
18328
|
+
* User response object
|
|
18329
|
+
*/
|
|
17136
18330
|
user?: UserResponse;
|
|
17137
18331
|
}
|
|
17138
18332
|
|
|
17139
18333
|
export interface PendingMessageResponse {
|
|
18334
|
+
/**
|
|
18335
|
+
* Represents channel in chat
|
|
18336
|
+
*/
|
|
17140
18337
|
channel?: ChannelResponse;
|
|
17141
18338
|
|
|
18339
|
+
/**
|
|
18340
|
+
* Represents any chat message
|
|
18341
|
+
*/
|
|
17142
18342
|
message?: MessageResponse;
|
|
17143
18343
|
|
|
17144
18344
|
metadata?: Record<string, string>;
|
|
17145
18345
|
|
|
18346
|
+
/**
|
|
18347
|
+
* User response object
|
|
18348
|
+
*/
|
|
17146
18349
|
user?: UserResponse;
|
|
17147
18350
|
}
|
|
17148
18351
|
|
|
@@ -17152,6 +18355,12 @@ export interface PerSDKUsageReport {
|
|
|
17152
18355
|
by_version: Record<string, number>;
|
|
17153
18356
|
}
|
|
17154
18357
|
|
|
18358
|
+
export interface Percentiles {
|
|
18359
|
+
p50?: number;
|
|
18360
|
+
|
|
18361
|
+
p95?: number;
|
|
18362
|
+
}
|
|
18363
|
+
|
|
17155
18364
|
export interface Permission {
|
|
17156
18365
|
/**
|
|
17157
18366
|
* Action name this permission is for (e.g. SendMessage)
|
|
@@ -17219,6 +18428,9 @@ export interface PermissionRequestEvent {
|
|
|
17219
18428
|
*/
|
|
17220
18429
|
permissions: string[];
|
|
17221
18430
|
|
|
18431
|
+
/**
|
|
18432
|
+
* User response object
|
|
18433
|
+
*/
|
|
17222
18434
|
user: UserResponse;
|
|
17223
18435
|
|
|
17224
18436
|
/**
|
|
@@ -17235,6 +18447,9 @@ export interface PinActivityRequest {
|
|
|
17235
18447
|
|
|
17236
18448
|
user_id?: string;
|
|
17237
18449
|
|
|
18450
|
+
/**
|
|
18451
|
+
* User request object
|
|
18452
|
+
*/
|
|
17238
18453
|
user?: UserRequest;
|
|
17239
18454
|
}
|
|
17240
18455
|
|
|
@@ -17337,6 +18552,176 @@ export interface PolicyRequest {
|
|
|
17337
18552
|
roles: string[];
|
|
17338
18553
|
}
|
|
17339
18554
|
|
|
18555
|
+
export interface PolicyTestLabelDrift {
|
|
18556
|
+
changed: number;
|
|
18557
|
+
|
|
18558
|
+
same: number;
|
|
18559
|
+
}
|
|
18560
|
+
|
|
18561
|
+
export interface PolicyTestResult {
|
|
18562
|
+
created_at: Date;
|
|
18563
|
+
|
|
18564
|
+
id: number;
|
|
18565
|
+
|
|
18566
|
+
message_text: string;
|
|
18567
|
+
|
|
18568
|
+
row_index: number;
|
|
18569
|
+
|
|
18570
|
+
run_id: string;
|
|
18571
|
+
|
|
18572
|
+
scored: boolean;
|
|
18573
|
+
|
|
18574
|
+
actual_action?: string;
|
|
18575
|
+
|
|
18576
|
+
expected_action?: string;
|
|
18577
|
+
|
|
18578
|
+
failure_reason?: string;
|
|
18579
|
+
|
|
18580
|
+
passed?: boolean;
|
|
18581
|
+
|
|
18582
|
+
severity?: string;
|
|
18583
|
+
|
|
18584
|
+
actual_labels?: string[];
|
|
18585
|
+
|
|
18586
|
+
expected_labels?: string[];
|
|
18587
|
+
|
|
18588
|
+
raw_response?: Record<string, any>;
|
|
18589
|
+
}
|
|
18590
|
+
|
|
18591
|
+
export interface PolicyTestRow {
|
|
18592
|
+
content_type?: string;
|
|
18593
|
+
|
|
18594
|
+
policy?: string;
|
|
18595
|
+
|
|
18596
|
+
recommended_action?: string;
|
|
18597
|
+
|
|
18598
|
+
text?: string;
|
|
18599
|
+
|
|
18600
|
+
labels?: string[];
|
|
18601
|
+
}
|
|
18602
|
+
|
|
18603
|
+
export interface PolicyTestRun {
|
|
18604
|
+
config_key: string;
|
|
18605
|
+
|
|
18606
|
+
created_at: Date;
|
|
18607
|
+
|
|
18608
|
+
id: string;
|
|
18609
|
+
|
|
18610
|
+
rows_completed: number;
|
|
18611
|
+
|
|
18612
|
+
rows_total: number;
|
|
18613
|
+
|
|
18614
|
+
set_id: string;
|
|
18615
|
+
|
|
18616
|
+
status: string;
|
|
18617
|
+
|
|
18618
|
+
task_id: string;
|
|
18619
|
+
|
|
18620
|
+
triggered_by: string;
|
|
18621
|
+
|
|
18622
|
+
completed_at?: Date;
|
|
18623
|
+
|
|
18624
|
+
config_updated_at?: Date;
|
|
18625
|
+
|
|
18626
|
+
error_message?: string;
|
|
18627
|
+
|
|
18628
|
+
started_at?: Date;
|
|
18629
|
+
|
|
18630
|
+
metrics?: PolicyTestRunMetrics;
|
|
18631
|
+
}
|
|
18632
|
+
|
|
18633
|
+
export interface PolicyTestRunMetrics {
|
|
18634
|
+
mode: string;
|
|
18635
|
+
|
|
18636
|
+
totals: PolicyTestTotals;
|
|
18637
|
+
|
|
18638
|
+
by_label?: Record<string, PolicyTestLabelDrift>;
|
|
18639
|
+
}
|
|
18640
|
+
|
|
18641
|
+
export interface PolicyTestRunResponse {
|
|
18642
|
+
duration: string;
|
|
18643
|
+
|
|
18644
|
+
/**
|
|
18645
|
+
* Per-row results (only present once the run has finished)
|
|
18646
|
+
*/
|
|
18647
|
+
results?: PolicyTestResult[];
|
|
18648
|
+
|
|
18649
|
+
run?: PolicyTestRun;
|
|
18650
|
+
}
|
|
18651
|
+
|
|
18652
|
+
export interface PolicyTestSeedSpec {
|
|
18653
|
+
/**
|
|
18654
|
+
* How many rows to sample, newest first; capped at 1000
|
|
18655
|
+
*/
|
|
18656
|
+
limit: number;
|
|
18657
|
+
|
|
18658
|
+
/**
|
|
18659
|
+
* Sample only records carrying any of these labels; empty samples everything
|
|
18660
|
+
*/
|
|
18661
|
+
labels?: string[];
|
|
18662
|
+
}
|
|
18663
|
+
|
|
18664
|
+
export interface PolicyTestSet {
|
|
18665
|
+
config_key: string;
|
|
18666
|
+
|
|
18667
|
+
created_at: Date;
|
|
18668
|
+
|
|
18669
|
+
created_by: string;
|
|
18670
|
+
|
|
18671
|
+
id: string;
|
|
18672
|
+
|
|
18673
|
+
mode: string;
|
|
18674
|
+
|
|
18675
|
+
name: string;
|
|
18676
|
+
|
|
18677
|
+
row_count: number;
|
|
18678
|
+
|
|
18679
|
+
updated_at: Date;
|
|
18680
|
+
|
|
18681
|
+
team?: string;
|
|
18682
|
+
|
|
18683
|
+
rows?: PolicyTestRow[];
|
|
18684
|
+
|
|
18685
|
+
last_run?: PolicyTestRun;
|
|
18686
|
+
}
|
|
18687
|
+
|
|
18688
|
+
export interface PolicyTestSetListResponse {
|
|
18689
|
+
duration: string;
|
|
18690
|
+
|
|
18691
|
+
/**
|
|
18692
|
+
* List of policy test sets for the app
|
|
18693
|
+
*/
|
|
18694
|
+
sets: PolicyTestSet[];
|
|
18695
|
+
}
|
|
18696
|
+
|
|
18697
|
+
export interface PolicyTestSetResponse {
|
|
18698
|
+
duration: string;
|
|
18699
|
+
|
|
18700
|
+
/**
|
|
18701
|
+
* The set's baseline run (earliest completed run); later runs are scored against it. Absent until the first run completes
|
|
18702
|
+
*/
|
|
18703
|
+
baseline_run_id?: string;
|
|
18704
|
+
|
|
18705
|
+
/**
|
|
18706
|
+
* Retained run history for this set, newest first
|
|
18707
|
+
*/
|
|
18708
|
+
recent_runs?: PolicyTestRun[];
|
|
18709
|
+
|
|
18710
|
+
set?: PolicyTestSet;
|
|
18711
|
+
}
|
|
18712
|
+
|
|
18713
|
+
export interface PolicyTestTotals {
|
|
18714
|
+
failed: number;
|
|
18715
|
+
|
|
18716
|
+
passed: number;
|
|
18717
|
+
|
|
18718
|
+
rows: number;
|
|
18719
|
+
|
|
18720
|
+
scored: number;
|
|
18721
|
+
|
|
18722
|
+
unscored: number;
|
|
18723
|
+
}
|
|
18724
|
+
|
|
17340
18725
|
export interface PollOptionInput {
|
|
17341
18726
|
text?: string;
|
|
17342
18727
|
|
|
@@ -17418,6 +18803,9 @@ export interface PollResponseData {
|
|
|
17418
18803
|
|
|
17419
18804
|
max_votes_allowed?: number;
|
|
17420
18805
|
|
|
18806
|
+
/**
|
|
18807
|
+
* User response object
|
|
18808
|
+
*/
|
|
17421
18809
|
created_by?: UserResponse;
|
|
17422
18810
|
}
|
|
17423
18811
|
|
|
@@ -17449,6 +18837,9 @@ export interface PollVoteResponseData {
|
|
|
17449
18837
|
|
|
17450
18838
|
user_id?: string;
|
|
17451
18839
|
|
|
18840
|
+
/**
|
|
18841
|
+
* User response object
|
|
18842
|
+
*/
|
|
17452
18843
|
user?: UserResponse;
|
|
17453
18844
|
}
|
|
17454
18845
|
|
|
@@ -17468,6 +18859,32 @@ export interface PollVotesResponse {
|
|
|
17468
18859
|
prev?: string;
|
|
17469
18860
|
}
|
|
17470
18861
|
|
|
18862
|
+
export interface PoorByCause {
|
|
18863
|
+
delivery: number;
|
|
18864
|
+
|
|
18865
|
+
edge: number;
|
|
18866
|
+
|
|
18867
|
+
isolated_local: number;
|
|
18868
|
+
|
|
18869
|
+
source: number;
|
|
18870
|
+
|
|
18871
|
+
unattributed: number;
|
|
18872
|
+
}
|
|
18873
|
+
|
|
18874
|
+
export interface PoorTail {
|
|
18875
|
+
healthy_viewers: number;
|
|
18876
|
+
|
|
18877
|
+
note: string;
|
|
18878
|
+
|
|
18879
|
+
poor_total: number;
|
|
18880
|
+
|
|
18881
|
+
poor_by_cause: PoorByCause;
|
|
18882
|
+
|
|
18883
|
+
supporting: Supporting;
|
|
18884
|
+
|
|
18885
|
+
healthy_pct?: number;
|
|
18886
|
+
}
|
|
18887
|
+
|
|
17471
18888
|
export interface PrivacySettingsResponse {
|
|
17472
18889
|
delivery_receipts?: DeliveryReceiptsResponse;
|
|
17473
18890
|
|
|
@@ -17510,8 +18927,34 @@ export interface PublisherAllMetrics {
|
|
|
17510
18927
|
video?: PublisherVideoMetrics;
|
|
17511
18928
|
}
|
|
17512
18929
|
|
|
17513
|
-
export interface PublisherAudioMetrics {
|
|
17514
|
-
jitter_ms?: ActiveCallsLatencyStats;
|
|
18930
|
+
export interface PublisherAudioMetrics {
|
|
18931
|
+
jitter_ms?: ActiveCallsLatencyStats;
|
|
18932
|
+
}
|
|
18933
|
+
|
|
18934
|
+
export interface PublisherSession {
|
|
18935
|
+
duration_min: number;
|
|
18936
|
+
|
|
18937
|
+
started_offset_min: number;
|
|
18938
|
+
|
|
18939
|
+
user_id: string;
|
|
18940
|
+
|
|
18941
|
+
user_session_id: string;
|
|
18942
|
+
|
|
18943
|
+
avg_jitter_ms?: number;
|
|
18944
|
+
|
|
18945
|
+
browser?: string;
|
|
18946
|
+
|
|
18947
|
+
delivery_zone?: string;
|
|
18948
|
+
|
|
18949
|
+
ingest?: string;
|
|
18950
|
+
|
|
18951
|
+
os?: string;
|
|
18952
|
+
|
|
18953
|
+
send_quality_score?: number;
|
|
18954
|
+
|
|
18955
|
+
tool?: string;
|
|
18956
|
+
|
|
18957
|
+
encoding?: EncodingProfile;
|
|
17515
18958
|
}
|
|
17516
18959
|
|
|
17517
18960
|
export interface PublisherStatsResponse {
|
|
@@ -17862,6 +19305,26 @@ export interface PushTemplateResponse {
|
|
|
17862
19305
|
template?: string;
|
|
17863
19306
|
}
|
|
17864
19307
|
|
|
19308
|
+
export interface Quality {
|
|
19309
|
+
viewer_interruption_note: string;
|
|
19310
|
+
|
|
19311
|
+
interruption_incidents: Incident[];
|
|
19312
|
+
|
|
19313
|
+
connection_avg_jitter_ms: Percentiles;
|
|
19314
|
+
|
|
19315
|
+
connection_avg_latency_ms: Percentiles;
|
|
19316
|
+
|
|
19317
|
+
score_bands_by_connection_pct: ScoreBands;
|
|
19318
|
+
|
|
19319
|
+
score_bands_by_watch_time_pct: ScoreBands;
|
|
19320
|
+
|
|
19321
|
+
p50_quality_score?: number;
|
|
19322
|
+
|
|
19323
|
+
p5_quality_score?: number;
|
|
19324
|
+
|
|
19325
|
+
viewer_interruption_rate_pct?: number;
|
|
19326
|
+
}
|
|
19327
|
+
|
|
17865
19328
|
export interface QualityScoreReport {
|
|
17866
19329
|
histogram: ReportByHistogramBucket[];
|
|
17867
19330
|
}
|
|
@@ -17903,6 +19366,9 @@ export interface QueryActivitiesRequest {
|
|
|
17903
19366
|
*/
|
|
17904
19367
|
filter?: Record<string, any>;
|
|
17905
19368
|
|
|
19369
|
+
/**
|
|
19370
|
+
* User request object
|
|
19371
|
+
*/
|
|
17906
19372
|
user?: UserRequest;
|
|
17907
19373
|
}
|
|
17908
19374
|
|
|
@@ -17934,6 +19400,9 @@ export interface QueryActivityReactionsRequest {
|
|
|
17934
19400
|
|
|
17935
19401
|
sort?: SortParamRequest[];
|
|
17936
19402
|
|
|
19403
|
+
/**
|
|
19404
|
+
* Filters to apply to the query
|
|
19405
|
+
*/
|
|
17937
19406
|
filter?: Record<string, any>;
|
|
17938
19407
|
}
|
|
17939
19408
|
|
|
@@ -18011,6 +19480,9 @@ export interface QueryAppealsRequest {
|
|
|
18011
19480
|
*/
|
|
18012
19481
|
filter?: Record<string, any>;
|
|
18013
19482
|
|
|
19483
|
+
/**
|
|
19484
|
+
* User request object
|
|
19485
|
+
*/
|
|
18014
19486
|
user?: UserRequest;
|
|
18015
19487
|
}
|
|
18016
19488
|
|
|
@@ -18055,6 +19527,9 @@ export interface QueryBannedUsersPayload {
|
|
|
18055
19527
|
*/
|
|
18056
19528
|
sort?: SortParamRequest[];
|
|
18057
19529
|
|
|
19530
|
+
/**
|
|
19531
|
+
* User request object
|
|
19532
|
+
*/
|
|
18058
19533
|
user?: UserRequest;
|
|
18059
19534
|
}
|
|
18060
19535
|
|
|
@@ -18128,6 +19603,9 @@ export interface QueryBookmarksRequest {
|
|
|
18128
19603
|
*/
|
|
18129
19604
|
filter?: Record<string, any>;
|
|
18130
19605
|
|
|
19606
|
+
/**
|
|
19607
|
+
* User request object
|
|
19608
|
+
*/
|
|
18131
19609
|
user?: UserRequest;
|
|
18132
19610
|
}
|
|
18133
19611
|
|
|
@@ -18231,6 +19709,9 @@ export interface QueryCallParticipantsResponse {
|
|
|
18231
19709
|
*/
|
|
18232
19710
|
participants: CallParticipantResponse[];
|
|
18233
19711
|
|
|
19712
|
+
/**
|
|
19713
|
+
* Represents a call
|
|
19714
|
+
*/
|
|
18234
19715
|
call: CallResponse;
|
|
18235
19716
|
}
|
|
18236
19717
|
|
|
@@ -18419,6 +19900,9 @@ export interface QueryCampaignsRequest {
|
|
|
18419
19900
|
|
|
18420
19901
|
sort?: SortParamRequest[];
|
|
18421
19902
|
|
|
19903
|
+
/**
|
|
19904
|
+
* Filter to apply to the query
|
|
19905
|
+
*/
|
|
18422
19906
|
filter?: Record<string, any>;
|
|
18423
19907
|
}
|
|
18424
19908
|
|
|
@@ -18468,6 +19952,11 @@ export interface QueryChannelsRequest {
|
|
|
18468
19952
|
|
|
18469
19953
|
user_id?: string;
|
|
18470
19954
|
|
|
19955
|
+
/**
|
|
19956
|
+
* Top-level keys of the message sender's channel-member custom data to include under member.custom (max 8 keys, 64 chars each)
|
|
19957
|
+
*/
|
|
19958
|
+
member_custom_include?: string[];
|
|
19959
|
+
|
|
18471
19960
|
/**
|
|
18472
19961
|
* List of sort parameters
|
|
18473
19962
|
*/
|
|
@@ -18485,6 +19974,9 @@ export interface QueryChannelsRequest {
|
|
|
18485
19974
|
|
|
18486
19975
|
sort_values?: Record<string, any>;
|
|
18487
19976
|
|
|
19977
|
+
/**
|
|
19978
|
+
* User request object
|
|
19979
|
+
*/
|
|
18488
19980
|
user?: UserRequest;
|
|
18489
19981
|
}
|
|
18490
19982
|
|
|
@@ -18521,6 +20013,9 @@ export interface QueryCollectionsRequest {
|
|
|
18521
20013
|
*/
|
|
18522
20014
|
filter?: Record<string, any>;
|
|
18523
20015
|
|
|
20016
|
+
/**
|
|
20017
|
+
* User request object
|
|
20018
|
+
*/
|
|
18524
20019
|
user?: UserRequest;
|
|
18525
20020
|
}
|
|
18526
20021
|
|
|
@@ -18552,6 +20047,9 @@ export interface QueryCommentReactionsRequest {
|
|
|
18552
20047
|
|
|
18553
20048
|
sort?: SortParamRequest[];
|
|
18554
20049
|
|
|
20050
|
+
/**
|
|
20051
|
+
* Filters to apply to the query
|
|
20052
|
+
*/
|
|
18555
20053
|
filter?: Record<string, any>;
|
|
18556
20054
|
}
|
|
18557
20055
|
|
|
@@ -18596,6 +20094,9 @@ export interface QueryCommentsRequest {
|
|
|
18596
20094
|
|
|
18597
20095
|
user_id?: string;
|
|
18598
20096
|
|
|
20097
|
+
/**
|
|
20098
|
+
* User request object
|
|
20099
|
+
*/
|
|
18599
20100
|
user?: UserRequest;
|
|
18600
20101
|
}
|
|
18601
20102
|
|
|
@@ -18637,6 +20138,9 @@ export interface QueryDraftsRequest {
|
|
|
18637
20138
|
*/
|
|
18638
20139
|
filter?: Record<string, any>;
|
|
18639
20140
|
|
|
20141
|
+
/**
|
|
20142
|
+
* User request object
|
|
20143
|
+
*/
|
|
18640
20144
|
user?: UserRequest;
|
|
18641
20145
|
}
|
|
18642
20146
|
|
|
@@ -18709,6 +20213,9 @@ export interface QueryFeedModerationTemplate {
|
|
|
18709
20213
|
*/
|
|
18710
20214
|
updated_at: Date;
|
|
18711
20215
|
|
|
20216
|
+
/**
|
|
20217
|
+
* Configuration for a feeds moderation template
|
|
20218
|
+
*/
|
|
18712
20219
|
config?: FeedsModerationTemplateConfigPayload;
|
|
18713
20220
|
}
|
|
18714
20221
|
|
|
@@ -18834,6 +20341,11 @@ export interface QueryFutureChannelBansPayload {
|
|
|
18834
20341
|
*/
|
|
18835
20342
|
exclude_expired_bans?: boolean;
|
|
18836
20343
|
|
|
20344
|
+
/**
|
|
20345
|
+
* When true, the response includes the total number of bans matching the query filter (independent of limit and offset, capped at 100000)
|
|
20346
|
+
*/
|
|
20347
|
+
include_total?: boolean;
|
|
20348
|
+
|
|
18837
20349
|
/**
|
|
18838
20350
|
* Number of records to return
|
|
18839
20351
|
*/
|
|
@@ -18845,12 +20357,15 @@ export interface QueryFutureChannelBansPayload {
|
|
|
18845
20357
|
offset?: number;
|
|
18846
20358
|
|
|
18847
20359
|
/**
|
|
18848
|
-
* Filter by the target user ID.
|
|
20360
|
+
* Filter by the target user ID. Server-side: returns all bans against this user. Client-side: narrows the authenticated user's own bans to this target.
|
|
18849
20361
|
*/
|
|
18850
20362
|
target_user_id?: string;
|
|
18851
20363
|
|
|
18852
20364
|
user_id?: string;
|
|
18853
20365
|
|
|
20366
|
+
/**
|
|
20367
|
+
* User request object
|
|
20368
|
+
*/
|
|
18854
20369
|
user?: UserRequest;
|
|
18855
20370
|
}
|
|
18856
20371
|
|
|
@@ -18864,6 +20379,11 @@ export interface QueryFutureChannelBansResponse {
|
|
|
18864
20379
|
* List of found future channel bans
|
|
18865
20380
|
*/
|
|
18866
20381
|
bans: FutureChannelBanResponse[];
|
|
20382
|
+
|
|
20383
|
+
/**
|
|
20384
|
+
* Total number of bans matching the query filter, computed at query time and capped at 100000. Only present when include_total is set on the request; omitted when computing the total timed out
|
|
20385
|
+
*/
|
|
20386
|
+
total?: number;
|
|
18867
20387
|
}
|
|
18868
20388
|
|
|
18869
20389
|
export interface QueryLabelResultsRequest {
|
|
@@ -18885,6 +20405,9 @@ export interface QueryLabelResultsRequest {
|
|
|
18885
20405
|
*/
|
|
18886
20406
|
filter?: Record<string, any>;
|
|
18887
20407
|
|
|
20408
|
+
/**
|
|
20409
|
+
* User request object
|
|
20410
|
+
*/
|
|
18888
20411
|
user?: UserRequest;
|
|
18889
20412
|
}
|
|
18890
20413
|
|
|
@@ -18924,6 +20447,9 @@ export interface QueryMembersPayload {
|
|
|
18924
20447
|
*/
|
|
18925
20448
|
sort?: SortParamRequest[];
|
|
18926
20449
|
|
|
20450
|
+
/**
|
|
20451
|
+
* User request object
|
|
20452
|
+
*/
|
|
18927
20453
|
user?: UserRequest;
|
|
18928
20454
|
}
|
|
18929
20455
|
|
|
@@ -18983,6 +20509,9 @@ export interface QueryMessageFlagsPayload {
|
|
|
18983
20509
|
*/
|
|
18984
20510
|
filter_conditions?: Record<string, any>;
|
|
18985
20511
|
|
|
20512
|
+
/**
|
|
20513
|
+
* User request object
|
|
20514
|
+
*/
|
|
18986
20515
|
user?: UserRequest;
|
|
18987
20516
|
}
|
|
18988
20517
|
|
|
@@ -19051,6 +20580,9 @@ export interface QueryModerationConfigsRequest {
|
|
|
19051
20580
|
*/
|
|
19052
20581
|
filter?: Record<string, any>;
|
|
19053
20582
|
|
|
20583
|
+
/**
|
|
20584
|
+
* User request object
|
|
20585
|
+
*/
|
|
19054
20586
|
user?: UserRequest;
|
|
19055
20587
|
}
|
|
19056
20588
|
|
|
@@ -19076,6 +20608,9 @@ export interface QueryModerationFlagsRequest {
|
|
|
19076
20608
|
|
|
19077
20609
|
sort?: SortParamRequest[];
|
|
19078
20610
|
|
|
20611
|
+
/**
|
|
20612
|
+
* Filter conditions for moderation flags
|
|
20613
|
+
*/
|
|
19079
20614
|
filter?: Record<string, any>;
|
|
19080
20615
|
}
|
|
19081
20616
|
|
|
@@ -19111,6 +20646,9 @@ export interface QueryModerationLogsRequest {
|
|
|
19111
20646
|
*/
|
|
19112
20647
|
filter?: Record<string, any>;
|
|
19113
20648
|
|
|
20649
|
+
/**
|
|
20650
|
+
* User request object
|
|
20651
|
+
*/
|
|
19114
20652
|
user?: UserRequest;
|
|
19115
20653
|
}
|
|
19116
20654
|
|
|
@@ -19146,6 +20684,9 @@ export interface QueryModerationRulesRequest {
|
|
|
19146
20684
|
*/
|
|
19147
20685
|
filter?: Record<string, any>;
|
|
19148
20686
|
|
|
20687
|
+
/**
|
|
20688
|
+
* User request object
|
|
20689
|
+
*/
|
|
19149
20690
|
user?: UserRequest;
|
|
19150
20691
|
}
|
|
19151
20692
|
|
|
@@ -19312,6 +20853,9 @@ export interface QueryReactionsRequest {
|
|
|
19312
20853
|
*/
|
|
19313
20854
|
filter?: Record<string, any>;
|
|
19314
20855
|
|
|
20856
|
+
/**
|
|
20857
|
+
* User request object
|
|
20858
|
+
*/
|
|
19315
20859
|
user?: UserRequest;
|
|
19316
20860
|
}
|
|
19317
20861
|
|
|
@@ -19347,6 +20891,9 @@ export interface QueryRemindersRequest {
|
|
|
19347
20891
|
*/
|
|
19348
20892
|
filter?: Record<string, any>;
|
|
19349
20893
|
|
|
20894
|
+
/**
|
|
20895
|
+
* User request object
|
|
20896
|
+
*/
|
|
19350
20897
|
user?: UserRequest;
|
|
19351
20898
|
}
|
|
19352
20899
|
|
|
@@ -19407,6 +20954,9 @@ export interface QueryReviewQueueRequest {
|
|
|
19407
20954
|
*/
|
|
19408
20955
|
filter?: Record<string, any>;
|
|
19409
20956
|
|
|
20957
|
+
/**
|
|
20958
|
+
* User request object
|
|
20959
|
+
*/
|
|
19410
20960
|
user?: UserRequest;
|
|
19411
20961
|
}
|
|
19412
20962
|
|
|
@@ -19617,6 +21167,9 @@ export interface QueryThreadsRequest {
|
|
|
19617
21167
|
*/
|
|
19618
21168
|
filter?: Record<string, any>;
|
|
19619
21169
|
|
|
21170
|
+
/**
|
|
21171
|
+
* User request object
|
|
21172
|
+
*/
|
|
19620
21173
|
user?: UserRequest;
|
|
19621
21174
|
}
|
|
19622
21175
|
|
|
@@ -19688,6 +21241,9 @@ export interface QueryUsersPayload {
|
|
|
19688
21241
|
*/
|
|
19689
21242
|
sort?: SortParamRequest[];
|
|
19690
21243
|
|
|
21244
|
+
/**
|
|
21245
|
+
* User request object
|
|
21246
|
+
*/
|
|
19691
21247
|
user?: UserRequest;
|
|
19692
21248
|
}
|
|
19693
21249
|
|
|
@@ -19896,6 +21452,9 @@ export interface ReactionDeletedEvent {
|
|
|
19896
21452
|
*/
|
|
19897
21453
|
created_at: Date;
|
|
19898
21454
|
|
|
21455
|
+
/**
|
|
21456
|
+
* Represents channel in chat
|
|
21457
|
+
*/
|
|
19899
21458
|
channel: ChannelResponse;
|
|
19900
21459
|
|
|
19901
21460
|
custom: Record<string, any>;
|
|
@@ -19946,6 +21505,9 @@ export interface ReactionDeletedEvent {
|
|
|
19946
21505
|
|
|
19947
21506
|
channel_custom?: Record<string, any>;
|
|
19948
21507
|
|
|
21508
|
+
/**
|
|
21509
|
+
* Represents any chat message
|
|
21510
|
+
*/
|
|
19949
21511
|
message?: MessageResponse;
|
|
19950
21512
|
|
|
19951
21513
|
reaction?: ReactionResponse;
|
|
@@ -19991,6 +21553,9 @@ export interface ReactionGroupUserResponse {
|
|
|
19991
21553
|
*/
|
|
19992
21554
|
user_id: string;
|
|
19993
21555
|
|
|
21556
|
+
/**
|
|
21557
|
+
* User response object
|
|
21558
|
+
*/
|
|
19994
21559
|
user?: UserResponse;
|
|
19995
21560
|
}
|
|
19996
21561
|
|
|
@@ -20000,6 +21565,9 @@ export interface ReactionNewEvent {
|
|
|
20000
21565
|
*/
|
|
20001
21566
|
created_at: Date;
|
|
20002
21567
|
|
|
21568
|
+
/**
|
|
21569
|
+
* Represents channel in chat
|
|
21570
|
+
*/
|
|
20003
21571
|
channel: ChannelResponse;
|
|
20004
21572
|
|
|
20005
21573
|
custom: Record<string, any>;
|
|
@@ -20050,6 +21618,9 @@ export interface ReactionNewEvent {
|
|
|
20050
21618
|
|
|
20051
21619
|
channel_custom?: Record<string, any>;
|
|
20052
21620
|
|
|
21621
|
+
/**
|
|
21622
|
+
* Represents any chat message
|
|
21623
|
+
*/
|
|
20053
21624
|
message?: MessageResponse;
|
|
20054
21625
|
|
|
20055
21626
|
reaction?: ReactionResponse;
|
|
@@ -20082,6 +21653,9 @@ export interface ReactionRequest {
|
|
|
20082
21653
|
|
|
20083
21654
|
custom?: Record<string, any>;
|
|
20084
21655
|
|
|
21656
|
+
/**
|
|
21657
|
+
* User request object
|
|
21658
|
+
*/
|
|
20085
21659
|
user?: UserRequest;
|
|
20086
21660
|
}
|
|
20087
21661
|
|
|
@@ -20121,6 +21695,9 @@ export interface ReactionResponse {
|
|
|
20121
21695
|
*/
|
|
20122
21696
|
custom: Record<string, any>;
|
|
20123
21697
|
|
|
21698
|
+
/**
|
|
21699
|
+
* User response object
|
|
21700
|
+
*/
|
|
20124
21701
|
user: UserResponse;
|
|
20125
21702
|
}
|
|
20126
21703
|
|
|
@@ -20132,10 +21709,16 @@ export interface ReactionUpdatedEvent {
|
|
|
20132
21709
|
|
|
20133
21710
|
message_id: string;
|
|
20134
21711
|
|
|
21712
|
+
/**
|
|
21713
|
+
* Represents channel in chat
|
|
21714
|
+
*/
|
|
20135
21715
|
channel: ChannelResponse;
|
|
20136
21716
|
|
|
20137
21717
|
custom: Record<string, any>;
|
|
20138
21718
|
|
|
21719
|
+
/**
|
|
21720
|
+
* Represents any chat message
|
|
21721
|
+
*/
|
|
20139
21722
|
message: MessageResponse;
|
|
20140
21723
|
|
|
20141
21724
|
/**
|
|
@@ -20205,6 +21788,9 @@ export interface ReactivateUserResponse {
|
|
|
20205
21788
|
*/
|
|
20206
21789
|
duration: string;
|
|
20207
21790
|
|
|
21791
|
+
/**
|
|
21792
|
+
* User response object
|
|
21793
|
+
*/
|
|
20208
21794
|
user?: UserResponse;
|
|
20209
21795
|
}
|
|
20210
21796
|
|
|
@@ -20254,6 +21840,9 @@ export interface ReadStateResponse {
|
|
|
20254
21840
|
|
|
20255
21841
|
unread_messages: number;
|
|
20256
21842
|
|
|
21843
|
+
/**
|
|
21844
|
+
* User response object
|
|
21845
|
+
*/
|
|
20257
21846
|
user: UserResponse;
|
|
20258
21847
|
|
|
20259
21848
|
last_delivered_at?: Date;
|
|
@@ -20324,6 +21913,9 @@ export interface RejectAppealRequestPayload {
|
|
|
20324
21913
|
export interface RejectFeedMemberInviteRequest {
|
|
20325
21914
|
user_id?: string;
|
|
20326
21915
|
|
|
21916
|
+
/**
|
|
21917
|
+
* User request object
|
|
21918
|
+
*/
|
|
20327
21919
|
user?: UserRequest;
|
|
20328
21920
|
}
|
|
20329
21921
|
|
|
@@ -20475,10 +22067,19 @@ export interface ReminderResponseData {
|
|
|
20475
22067
|
|
|
20476
22068
|
remind_at?: Date;
|
|
20477
22069
|
|
|
22070
|
+
/**
|
|
22071
|
+
* Represents channel in chat
|
|
22072
|
+
*/
|
|
20478
22073
|
channel?: ChannelResponse;
|
|
20479
22074
|
|
|
22075
|
+
/**
|
|
22076
|
+
* Represents any chat message
|
|
22077
|
+
*/
|
|
20480
22078
|
message?: MessageResponse;
|
|
20481
22079
|
|
|
22080
|
+
/**
|
|
22081
|
+
* User response object
|
|
22082
|
+
*/
|
|
20482
22083
|
user?: UserResponse;
|
|
20483
22084
|
}
|
|
20484
22085
|
|
|
@@ -20664,6 +22265,9 @@ export interface ResolveSipInboundRequest {
|
|
|
20664
22265
|
*/
|
|
20665
22266
|
trunk_id?: string;
|
|
20666
22267
|
|
|
22268
|
+
/**
|
|
22269
|
+
* SIP digest challenge authentication data
|
|
22270
|
+
*/
|
|
20667
22271
|
challenge?: SIPChallengeRequest;
|
|
20668
22272
|
|
|
20669
22273
|
/**
|
|
@@ -20675,10 +22279,19 @@ export interface ResolveSipInboundRequest {
|
|
|
20675
22279
|
export interface ResolveSipInboundResponse {
|
|
20676
22280
|
duration: string;
|
|
20677
22281
|
|
|
22282
|
+
/**
|
|
22283
|
+
* Credentials for SIP inbound call authentication
|
|
22284
|
+
*/
|
|
20678
22285
|
credentials: SipInboundCredentials;
|
|
20679
22286
|
|
|
22287
|
+
/**
|
|
22288
|
+
* SIP Inbound Routing Rule response
|
|
22289
|
+
*/
|
|
20680
22290
|
sip_routing_rule?: SIPInboundRoutingRuleResponse;
|
|
20681
22291
|
|
|
22292
|
+
/**
|
|
22293
|
+
* SIP trunk information
|
|
22294
|
+
*/
|
|
20682
22295
|
sip_trunk?: SIPTrunkResponse;
|
|
20683
22296
|
}
|
|
20684
22297
|
|
|
@@ -20699,6 +22312,9 @@ export interface RestoreActionRequestPayload {
|
|
|
20699
22312
|
export interface RestoreActivityRequest {
|
|
20700
22313
|
user_id?: string;
|
|
20701
22314
|
|
|
22315
|
+
/**
|
|
22316
|
+
* User request object
|
|
22317
|
+
*/
|
|
20702
22318
|
user?: UserRequest;
|
|
20703
22319
|
}
|
|
20704
22320
|
|
|
@@ -20711,6 +22327,9 @@ export interface RestoreActivityResponse {
|
|
|
20711
22327
|
export interface RestoreCommentRequest {
|
|
20712
22328
|
user_id?: string;
|
|
20713
22329
|
|
|
22330
|
+
/**
|
|
22331
|
+
* User request object
|
|
22332
|
+
*/
|
|
20714
22333
|
user?: UserRequest;
|
|
20715
22334
|
}
|
|
20716
22335
|
|
|
@@ -20889,6 +22508,9 @@ export interface ReviewQueueItemResponse {
|
|
|
20889
22508
|
|
|
20890
22509
|
appeal?: AppealItemResponse;
|
|
20891
22510
|
|
|
22511
|
+
/**
|
|
22512
|
+
* User response object
|
|
22513
|
+
*/
|
|
20892
22514
|
assigned_to?: UserResponse;
|
|
20893
22515
|
|
|
20894
22516
|
call?: ModerationCallResponse;
|
|
@@ -20907,6 +22529,9 @@ export interface ReviewQueueItemResponse {
|
|
|
20907
22529
|
|
|
20908
22530
|
message?: ChatMessageResponse;
|
|
20909
22531
|
|
|
22532
|
+
/**
|
|
22533
|
+
* Content payload for moderation
|
|
22534
|
+
*/
|
|
20910
22535
|
moderation_payload?: ModerationPayloadResponse;
|
|
20911
22536
|
|
|
20912
22537
|
reaction?: Reaction;
|
|
@@ -21194,8 +22819,14 @@ export interface SFULocationResponse {
|
|
|
21194
22819
|
|
|
21195
22820
|
id: string;
|
|
21196
22821
|
|
|
22822
|
+
/**
|
|
22823
|
+
* Geographic coordinates
|
|
22824
|
+
*/
|
|
21197
22825
|
coordinates: CoordinatesResponse;
|
|
21198
22826
|
|
|
22827
|
+
/**
|
|
22828
|
+
* Geographic location metadata
|
|
22829
|
+
*/
|
|
21199
22830
|
location: LocationResponse;
|
|
21200
22831
|
|
|
21201
22832
|
count?: number;
|
|
@@ -21410,6 +23041,9 @@ export interface SIPInboundRoutingRuleRequest {
|
|
|
21410
23041
|
*/
|
|
21411
23042
|
trunk_ids: string[];
|
|
21412
23043
|
|
|
23044
|
+
/**
|
|
23045
|
+
* Configuration for SIP caller settings
|
|
23046
|
+
*/
|
|
21413
23047
|
caller_configs: SIPCallerConfigsRequest;
|
|
21414
23048
|
|
|
21415
23049
|
/**
|
|
@@ -21422,12 +23056,24 @@ export interface SIPInboundRoutingRuleRequest {
|
|
|
21422
23056
|
*/
|
|
21423
23057
|
caller_numbers?: string[];
|
|
21424
23058
|
|
|
23059
|
+
/**
|
|
23060
|
+
* Configuration for SIP call settings
|
|
23061
|
+
*/
|
|
21425
23062
|
call_configs?: SIPCallConfigsRequest;
|
|
21426
23063
|
|
|
23064
|
+
/**
|
|
23065
|
+
* Configuration for direct routing rule calls
|
|
23066
|
+
*/
|
|
21427
23067
|
direct_routing_configs?: SIPDirectRoutingRuleCallConfigsRequest;
|
|
21428
23068
|
|
|
23069
|
+
/**
|
|
23070
|
+
* Configuration for PIN protection settings
|
|
23071
|
+
*/
|
|
21429
23072
|
pin_protection_configs?: SIPPinProtectionConfigsRequest;
|
|
21430
23073
|
|
|
23074
|
+
/**
|
|
23075
|
+
* Configuration for PIN routing rule calls
|
|
23076
|
+
*/
|
|
21431
23077
|
pin_routing_configs?: SIPInboundRoutingRulePinConfigsRequest;
|
|
21432
23078
|
}
|
|
21433
23079
|
|
|
@@ -21469,14 +23115,29 @@ export interface SIPInboundRoutingRuleResponse {
|
|
|
21469
23115
|
*/
|
|
21470
23116
|
caller_numbers?: string[];
|
|
21471
23117
|
|
|
23118
|
+
/**
|
|
23119
|
+
* SIP call configuration response
|
|
23120
|
+
*/
|
|
21472
23121
|
call_configs?: SIPCallConfigsResponse;
|
|
21473
23122
|
|
|
23123
|
+
/**
|
|
23124
|
+
* SIP caller configuration response
|
|
23125
|
+
*/
|
|
21474
23126
|
caller_configs?: SIPCallerConfigsResponse;
|
|
21475
23127
|
|
|
23128
|
+
/**
|
|
23129
|
+
* Direct routing rule call configuration response
|
|
23130
|
+
*/
|
|
21476
23131
|
direct_routing_configs?: SIPDirectRoutingRuleCallConfigsResponse;
|
|
21477
23132
|
|
|
23133
|
+
/**
|
|
23134
|
+
* PIN protection configuration response
|
|
23135
|
+
*/
|
|
21478
23136
|
pin_protection_configs?: SIPPinProtectionConfigsResponse;
|
|
21479
23137
|
|
|
23138
|
+
/**
|
|
23139
|
+
* PIN routing rule call configuration response
|
|
23140
|
+
*/
|
|
21480
23141
|
pin_routing_configs?: SIPInboundRoutingRulePinConfigsResponse;
|
|
21481
23142
|
}
|
|
21482
23143
|
|
|
@@ -21575,6 +23236,14 @@ export interface SRTIngress {
|
|
|
21575
23236
|
address: string;
|
|
21576
23237
|
}
|
|
21577
23238
|
|
|
23239
|
+
export interface ScoreBands {
|
|
23240
|
+
good?: number;
|
|
23241
|
+
|
|
23242
|
+
ok?: number;
|
|
23243
|
+
|
|
23244
|
+
poor?: number;
|
|
23245
|
+
}
|
|
23246
|
+
|
|
21578
23247
|
export interface ScreensharingSettings {
|
|
21579
23248
|
access_request_enabled: boolean;
|
|
21580
23249
|
|
|
@@ -21715,6 +23384,9 @@ export interface SearchResultMessage {
|
|
|
21715
23384
|
|
|
21716
23385
|
reaction_scores: Record<string, number>;
|
|
21717
23386
|
|
|
23387
|
+
/**
|
|
23388
|
+
* User response object
|
|
23389
|
+
*/
|
|
21718
23390
|
user: UserResponse;
|
|
21719
23391
|
|
|
21720
23392
|
command?: string;
|
|
@@ -21747,6 +23419,9 @@ export interface SearchResultMessage {
|
|
|
21747
23419
|
|
|
21748
23420
|
thread_participants?: UserResponse[];
|
|
21749
23421
|
|
|
23422
|
+
/**
|
|
23423
|
+
* Represents channel in chat
|
|
23424
|
+
*/
|
|
21750
23425
|
channel?: ChannelResponse;
|
|
21751
23426
|
|
|
21752
23427
|
draft?: DraftResponse;
|
|
@@ -21759,10 +23434,16 @@ export interface SearchResultMessage {
|
|
|
21759
23434
|
|
|
21760
23435
|
moderation?: ModerationV2Response;
|
|
21761
23436
|
|
|
23437
|
+
/**
|
|
23438
|
+
* User response object
|
|
23439
|
+
*/
|
|
21762
23440
|
pinned_by?: UserResponse;
|
|
21763
23441
|
|
|
21764
23442
|
poll?: PollResponseData;
|
|
21765
23443
|
|
|
23444
|
+
/**
|
|
23445
|
+
* Represents any chat message
|
|
23446
|
+
*/
|
|
21766
23447
|
quoted_message?: MessageResponse;
|
|
21767
23448
|
|
|
21768
23449
|
reaction_groups?: Record<string, ReactionGroupResponse>;
|
|
@@ -21872,11 +23553,28 @@ export interface SegmentTargetResponse {
|
|
|
21872
23553
|
target_id: string;
|
|
21873
23554
|
}
|
|
21874
23555
|
|
|
23556
|
+
export interface Segments {
|
|
23557
|
+
by_country_reason: string;
|
|
23558
|
+
|
|
23559
|
+
by_browser: BroadcastSegment[];
|
|
23560
|
+
|
|
23561
|
+
by_country: BroadcastSegment[];
|
|
23562
|
+
|
|
23563
|
+
by_delivery_zone: DeliveryZoneSegment[];
|
|
23564
|
+
|
|
23565
|
+
by_os: BroadcastSegment[];
|
|
23566
|
+
|
|
23567
|
+
by_sdk: BroadcastSegment[];
|
|
23568
|
+
}
|
|
23569
|
+
|
|
21875
23570
|
export interface SendCallEventRequest {
|
|
21876
23571
|
user_id?: string;
|
|
21877
23572
|
|
|
21878
23573
|
custom?: Record<string, any>;
|
|
21879
23574
|
|
|
23575
|
+
/**
|
|
23576
|
+
* User request object
|
|
23577
|
+
*/
|
|
21880
23578
|
user?: UserRequest;
|
|
21881
23579
|
}
|
|
21882
23580
|
|
|
@@ -21904,6 +23602,9 @@ export interface SendClosedCaptionRequest {
|
|
|
21904
23602
|
|
|
21905
23603
|
user_id?: string;
|
|
21906
23604
|
|
|
23605
|
+
/**
|
|
23606
|
+
* User request object
|
|
23607
|
+
*/
|
|
21907
23608
|
user?: UserRequest;
|
|
21908
23609
|
}
|
|
21909
23610
|
|
|
@@ -21916,10 +23617,23 @@ export interface SendEventRequest {
|
|
|
21916
23617
|
}
|
|
21917
23618
|
|
|
21918
23619
|
export interface SendMessageRequest {
|
|
23620
|
+
/**
|
|
23621
|
+
* Message data for creating or updating a message
|
|
23622
|
+
*/
|
|
21919
23623
|
message: MessageRequest;
|
|
21920
23624
|
|
|
21921
23625
|
force_moderation?: boolean;
|
|
21922
23626
|
|
|
23627
|
+
/**
|
|
23628
|
+
* When true, the response includes channel_context: a slim channel object with cid, type, id and created_by
|
|
23629
|
+
*/
|
|
23630
|
+
include_channel_context?: boolean;
|
|
23631
|
+
|
|
23632
|
+
/**
|
|
23633
|
+
* When true, the response includes mentioned_members: for each mentioned user, whether that user is currently a channel member. Requires the ReadChannelMembers permission
|
|
23634
|
+
*/
|
|
23635
|
+
include_mentioned_members?: boolean;
|
|
23636
|
+
|
|
21923
23637
|
keep_channel_hidden?: boolean;
|
|
21924
23638
|
|
|
21925
23639
|
pending?: boolean;
|
|
@@ -21937,8 +23651,21 @@ export interface SendMessageResponse {
|
|
|
21937
23651
|
*/
|
|
21938
23652
|
duration: string;
|
|
21939
23653
|
|
|
23654
|
+
/**
|
|
23655
|
+
* Represents any chat message
|
|
23656
|
+
*/
|
|
21940
23657
|
message: MessageResponse;
|
|
21941
23658
|
|
|
23659
|
+
/**
|
|
23660
|
+
* Slim channel object: identity plus creator
|
|
23661
|
+
*/
|
|
23662
|
+
channel_context?: ChannelContextResponse;
|
|
23663
|
+
|
|
23664
|
+
/**
|
|
23665
|
+
* Map of mentioned user ID to whether that user is currently an active channel member. Only set when include_mentioned_members was requested; omitted when the message has no mentions or the membership lookup failed
|
|
23666
|
+
*/
|
|
23667
|
+
mentioned_members?: Record<string, boolean>;
|
|
23668
|
+
|
|
21942
23669
|
/**
|
|
21943
23670
|
* Pending message metadata
|
|
21944
23671
|
*/
|
|
@@ -21946,6 +23673,9 @@ export interface SendMessageResponse {
|
|
|
21946
23673
|
}
|
|
21947
23674
|
|
|
21948
23675
|
export interface SendReactionRequest {
|
|
23676
|
+
/**
|
|
23677
|
+
* Represents user reaction to a message
|
|
23678
|
+
*/
|
|
21949
23679
|
reaction: ReactionRequest;
|
|
21950
23680
|
|
|
21951
23681
|
/**
|
|
@@ -21965,6 +23695,9 @@ export interface SendReactionResponse {
|
|
|
21965
23695
|
*/
|
|
21966
23696
|
duration: string;
|
|
21967
23697
|
|
|
23698
|
+
/**
|
|
23699
|
+
* Represents any chat message
|
|
23700
|
+
*/
|
|
21968
23701
|
message: MessageResponse;
|
|
21969
23702
|
|
|
21970
23703
|
reaction: ReactionResponse;
|
|
@@ -22053,6 +23786,9 @@ export interface ShareResponse {
|
|
|
22053
23786
|
*/
|
|
22054
23787
|
created_at: Date;
|
|
22055
23788
|
|
|
23789
|
+
/**
|
|
23790
|
+
* User response object
|
|
23791
|
+
*/
|
|
22056
23792
|
user: UserResponse;
|
|
22057
23793
|
}
|
|
22058
23794
|
|
|
@@ -22114,8 +23850,14 @@ export interface SharedLocationResponse {
|
|
|
22114
23850
|
*/
|
|
22115
23851
|
end_at?: Date;
|
|
22116
23852
|
|
|
23853
|
+
/**
|
|
23854
|
+
* Represents channel in chat
|
|
23855
|
+
*/
|
|
22117
23856
|
channel?: ChannelResponse;
|
|
22118
23857
|
|
|
23858
|
+
/**
|
|
23859
|
+
* Represents any chat message
|
|
23860
|
+
*/
|
|
22119
23861
|
message?: MessageResponse;
|
|
22120
23862
|
}
|
|
22121
23863
|
|
|
@@ -22138,8 +23880,14 @@ export interface SharedLocationResponseData {
|
|
|
22138
23880
|
|
|
22139
23881
|
end_at?: Date;
|
|
22140
23882
|
|
|
23883
|
+
/**
|
|
23884
|
+
* Represents channel in chat
|
|
23885
|
+
*/
|
|
22141
23886
|
channel?: ChannelResponse;
|
|
22142
23887
|
|
|
23888
|
+
/**
|
|
23889
|
+
* Represents any chat message
|
|
23890
|
+
*/
|
|
22143
23891
|
message?: MessageResponse;
|
|
22144
23892
|
}
|
|
22145
23893
|
|
|
@@ -22152,6 +23900,9 @@ export interface SharedLocationsResponse {
|
|
|
22152
23900
|
export interface ShowChannelRequest {
|
|
22153
23901
|
user_id?: string;
|
|
22154
23902
|
|
|
23903
|
+
/**
|
|
23904
|
+
* User request object
|
|
23905
|
+
*/
|
|
22155
23906
|
user?: UserRequest;
|
|
22156
23907
|
}
|
|
22157
23908
|
|
|
@@ -22227,6 +23978,26 @@ export interface SortParamRequest {
|
|
|
22227
23978
|
type?: string;
|
|
22228
23979
|
}
|
|
22229
23980
|
|
|
23981
|
+
export interface SourceHealth {
|
|
23982
|
+
co_host_peak: number;
|
|
23983
|
+
|
|
23984
|
+
dead_air_s: number;
|
|
23985
|
+
|
|
23986
|
+
interruptions: SourceInterruption[];
|
|
23987
|
+
|
|
23988
|
+
publisher_sessions: PublisherSession[];
|
|
23989
|
+
}
|
|
23990
|
+
|
|
23991
|
+
export interface SourceInterruption {
|
|
23992
|
+
at_offset_min: number;
|
|
23993
|
+
|
|
23994
|
+
dead_air_s: number;
|
|
23995
|
+
|
|
23996
|
+
kind: string;
|
|
23997
|
+
|
|
23998
|
+
seamless?: boolean;
|
|
23999
|
+
}
|
|
24000
|
+
|
|
22230
24001
|
export interface SpeechSegmentConfig {
|
|
22231
24002
|
max_speech_caption_ms?: number;
|
|
22232
24003
|
|
|
@@ -22333,6 +24104,8 @@ export interface StartHLSBroadcastingResponse {
|
|
|
22333
24104
|
playlist_url: string;
|
|
22334
24105
|
}
|
|
22335
24106
|
|
|
24107
|
+
export interface StartPolicyTestRunRequest {}
|
|
24108
|
+
|
|
22336
24109
|
export interface StartRTMPBroadcastsRequest {
|
|
22337
24110
|
/**
|
|
22338
24111
|
* List of broadcasts to start
|
|
@@ -22481,6 +24254,9 @@ export interface StopLiveRequest {
|
|
|
22481
24254
|
export interface StopLiveResponse {
|
|
22482
24255
|
duration: string;
|
|
22483
24256
|
|
|
24257
|
+
/**
|
|
24258
|
+
* Represents a call
|
|
24259
|
+
*/
|
|
22484
24260
|
call: CallResponse;
|
|
22485
24261
|
}
|
|
22486
24262
|
|
|
@@ -22562,7 +24338,7 @@ export interface StoriesFeedUpdatedEvent {
|
|
|
22562
24338
|
|
|
22563
24339
|
export interface SubmitActionRequest {
|
|
22564
24340
|
/**
|
|
22565
|
-
* Type of moderation action to perform. One of: mark_reviewed, delete_message, delete_activity, delete_comment, delete_reaction, ban, custom, unban, restore, delete_user, unblock, block, shadow_block, unmask, kick_user, end_call, escalate, de_escalate
|
|
24341
|
+
* Type of moderation action to perform. One of: mark_reviewed, delete_message, delete_activity, delete_comment, delete_reaction, ban, custom, unban, restore, delete_user, delete_user_messages, unblock, block, shadow_block, unmask, kick_user, end_call, escalate, de_escalate
|
|
22566
24342
|
*/
|
|
22567
24343
|
|
|
22568
24344
|
action_type:
|
|
@@ -22577,6 +24353,7 @@ export interface SubmitActionRequest {
|
|
|
22577
24353
|
| 'unban'
|
|
22578
24354
|
| 'restore'
|
|
22579
24355
|
| 'delete_user'
|
|
24356
|
+
| 'delete_user_messages'
|
|
22580
24357
|
| 'unblock'
|
|
22581
24358
|
| 'block'
|
|
22582
24359
|
| 'shadow_block'
|
|
@@ -22600,40 +24377,93 @@ export interface SubmitActionRequest {
|
|
|
22600
24377
|
|
|
22601
24378
|
user_id?: string;
|
|
22602
24379
|
|
|
24380
|
+
/**
|
|
24381
|
+
* Configuration for ban moderation action
|
|
24382
|
+
*/
|
|
22603
24383
|
ban?: BanActionRequestPayload;
|
|
22604
24384
|
|
|
24385
|
+
/**
|
|
24386
|
+
* Configuration for block action
|
|
24387
|
+
*/
|
|
22605
24388
|
block?: BlockActionRequestPayload;
|
|
22606
24389
|
|
|
22607
24390
|
bypass?: BypassActionRequest;
|
|
22608
24391
|
|
|
24392
|
+
/**
|
|
24393
|
+
* Configuration for custom moderation action
|
|
24394
|
+
*/
|
|
22609
24395
|
custom?: CustomActionRequestPayload;
|
|
22610
24396
|
|
|
24397
|
+
/**
|
|
24398
|
+
* Configuration for activity deletion action
|
|
24399
|
+
*/
|
|
22611
24400
|
delete_activity?: DeleteActivityRequestPayload;
|
|
22612
24401
|
|
|
24402
|
+
/**
|
|
24403
|
+
* Configuration for comment deletion action
|
|
24404
|
+
*/
|
|
22613
24405
|
delete_comment?: DeleteCommentRequestPayload;
|
|
22614
24406
|
|
|
24407
|
+
/**
|
|
24408
|
+
* Configuration for message deletion action
|
|
24409
|
+
*/
|
|
22615
24410
|
delete_message?: DeleteMessageRequestPayload;
|
|
22616
24411
|
|
|
24412
|
+
/**
|
|
24413
|
+
* Configuration for reaction deletion action
|
|
24414
|
+
*/
|
|
22617
24415
|
delete_reaction?: DeleteReactionRequestPayload;
|
|
22618
24416
|
|
|
24417
|
+
/**
|
|
24418
|
+
* Configuration for user deletion action
|
|
24419
|
+
*/
|
|
22619
24420
|
delete_user?: DeleteUserRequestPayload;
|
|
22620
24421
|
|
|
24422
|
+
/**
|
|
24423
|
+
* Configuration for deleting all of a user's chat messages without banning them or deleting their account
|
|
24424
|
+
*/
|
|
24425
|
+
delete_user_messages?: DeleteUserMessagesRequestPayload;
|
|
24426
|
+
|
|
24427
|
+
/**
|
|
24428
|
+
* Configuration for escalation action
|
|
24429
|
+
*/
|
|
22621
24430
|
escalate?: EscalatePayload;
|
|
22622
24431
|
|
|
22623
24432
|
flag?: FlagRequest;
|
|
22624
24433
|
|
|
24434
|
+
/**
|
|
24435
|
+
* Configuration for mark reviewed action
|
|
24436
|
+
*/
|
|
22625
24437
|
mark_reviewed?: MarkReviewedRequestPayload;
|
|
22626
24438
|
|
|
24439
|
+
/**
|
|
24440
|
+
* Configuration for rejecting an appeal
|
|
24441
|
+
*/
|
|
22627
24442
|
reject_appeal?: RejectAppealRequestPayload;
|
|
22628
24443
|
|
|
24444
|
+
/**
|
|
24445
|
+
* Configuration for restore action
|
|
24446
|
+
*/
|
|
22629
24447
|
restore?: RestoreActionRequestPayload;
|
|
22630
24448
|
|
|
24449
|
+
/**
|
|
24450
|
+
* Configuration for shadow block action
|
|
24451
|
+
*/
|
|
22631
24452
|
shadow_block?: ShadowBlockActionRequestPayload;
|
|
22632
24453
|
|
|
24454
|
+
/**
|
|
24455
|
+
* Configuration for unban moderation action
|
|
24456
|
+
*/
|
|
22633
24457
|
unban?: UnbanActionRequestPayload;
|
|
22634
24458
|
|
|
24459
|
+
/**
|
|
24460
|
+
* Configuration for unblock action
|
|
24461
|
+
*/
|
|
22635
24462
|
unblock?: UnblockActionRequestPayload;
|
|
22636
24463
|
|
|
24464
|
+
/**
|
|
24465
|
+
* User request object
|
|
24466
|
+
*/
|
|
22637
24467
|
user?: UserRequest;
|
|
22638
24468
|
}
|
|
22639
24469
|
|
|
@@ -22737,6 +24567,14 @@ export interface SubscribersMetrics {
|
|
|
22737
24567
|
all?: SubscriberAllMetrics;
|
|
22738
24568
|
}
|
|
22739
24569
|
|
|
24570
|
+
export interface Supporting {
|
|
24571
|
+
delivery_incident_windows: Incident[];
|
|
24572
|
+
|
|
24573
|
+
edge_outlier_zones: string[];
|
|
24574
|
+
|
|
24575
|
+
source_drop_windows: TimeWindow[];
|
|
24576
|
+
}
|
|
24577
|
+
|
|
22740
24578
|
export interface TargetResolution {
|
|
22741
24579
|
height: number;
|
|
22742
24580
|
|
|
@@ -22751,36 +24589,84 @@ export interface TeamUsageStats {
|
|
|
22751
24589
|
*/
|
|
22752
24590
|
team: string;
|
|
22753
24591
|
|
|
24592
|
+
/**
|
|
24593
|
+
* Statistics for a single metric with optional daily breakdown
|
|
24594
|
+
*/
|
|
22754
24595
|
concurrent_connections: MetricStats;
|
|
22755
24596
|
|
|
24597
|
+
/**
|
|
24598
|
+
* Statistics for a single metric with optional daily breakdown
|
|
24599
|
+
*/
|
|
22756
24600
|
concurrent_users: MetricStats;
|
|
22757
24601
|
|
|
24602
|
+
/**
|
|
24603
|
+
* Statistics for a single metric with optional daily breakdown
|
|
24604
|
+
*/
|
|
22758
24605
|
image_moderations_daily: MetricStats;
|
|
22759
24606
|
|
|
24607
|
+
/**
|
|
24608
|
+
* Statistics for a single metric with optional daily breakdown
|
|
24609
|
+
*/
|
|
22760
24610
|
messages_daily: MetricStats;
|
|
22761
24611
|
|
|
24612
|
+
/**
|
|
24613
|
+
* Statistics for a single metric with optional daily breakdown
|
|
24614
|
+
*/
|
|
22762
24615
|
messages_last_24_hours: MetricStats;
|
|
22763
24616
|
|
|
24617
|
+
/**
|
|
24618
|
+
* Statistics for a single metric with optional daily breakdown
|
|
24619
|
+
*/
|
|
22764
24620
|
messages_last_30_days: MetricStats;
|
|
22765
24621
|
|
|
24622
|
+
/**
|
|
24623
|
+
* Statistics for a single metric with optional daily breakdown
|
|
24624
|
+
*/
|
|
22766
24625
|
messages_month_to_date: MetricStats;
|
|
22767
24626
|
|
|
24627
|
+
/**
|
|
24628
|
+
* Statistics for a single metric with optional daily breakdown
|
|
24629
|
+
*/
|
|
22768
24630
|
messages_total: MetricStats;
|
|
22769
24631
|
|
|
24632
|
+
/**
|
|
24633
|
+
* Statistics for a single metric with optional daily breakdown
|
|
24634
|
+
*/
|
|
22770
24635
|
translations_daily: MetricStats;
|
|
22771
24636
|
|
|
24637
|
+
/**
|
|
24638
|
+
* Statistics for a single metric with optional daily breakdown
|
|
24639
|
+
*/
|
|
22772
24640
|
users_daily: MetricStats;
|
|
22773
24641
|
|
|
24642
|
+
/**
|
|
24643
|
+
* Statistics for a single metric with optional daily breakdown
|
|
24644
|
+
*/
|
|
22774
24645
|
users_engaged_last_30_days: MetricStats;
|
|
22775
24646
|
|
|
24647
|
+
/**
|
|
24648
|
+
* Statistics for a single metric with optional daily breakdown
|
|
24649
|
+
*/
|
|
22776
24650
|
users_engaged_month_to_date: MetricStats;
|
|
22777
24651
|
|
|
24652
|
+
/**
|
|
24653
|
+
* Statistics for a single metric with optional daily breakdown
|
|
24654
|
+
*/
|
|
22778
24655
|
users_last_24_hours: MetricStats;
|
|
22779
24656
|
|
|
24657
|
+
/**
|
|
24658
|
+
* Statistics for a single metric with optional daily breakdown
|
|
24659
|
+
*/
|
|
22780
24660
|
users_last_30_days: MetricStats;
|
|
22781
24661
|
|
|
24662
|
+
/**
|
|
24663
|
+
* Statistics for a single metric with optional daily breakdown
|
|
24664
|
+
*/
|
|
22782
24665
|
users_month_to_date: MetricStats;
|
|
22783
24666
|
|
|
24667
|
+
/**
|
|
24668
|
+
* Statistics for a single metric with optional daily breakdown
|
|
24669
|
+
*/
|
|
22784
24670
|
users_total: MetricStats;
|
|
22785
24671
|
}
|
|
22786
24672
|
|
|
@@ -22823,8 +24709,6 @@ export interface TextRuleParameters {
|
|
|
22823
24709
|
}
|
|
22824
24710
|
|
|
22825
24711
|
export interface ThreadParticipant {
|
|
22826
|
-
app_pk: number;
|
|
22827
|
-
|
|
22828
24712
|
channel_cid: string;
|
|
22829
24713
|
|
|
22830
24714
|
/**
|
|
@@ -22853,6 +24737,9 @@ export interface ThreadParticipant {
|
|
|
22853
24737
|
*/
|
|
22854
24738
|
user_id?: string;
|
|
22855
24739
|
|
|
24740
|
+
/**
|
|
24741
|
+
* User response object
|
|
24742
|
+
*/
|
|
22856
24743
|
user?: UserResponse;
|
|
22857
24744
|
}
|
|
22858
24745
|
|
|
@@ -22887,6 +24774,11 @@ export interface ThreadResponse {
|
|
|
22887
24774
|
*/
|
|
22888
24775
|
participant_count: number;
|
|
22889
24776
|
|
|
24777
|
+
/**
|
|
24778
|
+
* Reply Count
|
|
24779
|
+
*/
|
|
24780
|
+
reply_count: number;
|
|
24781
|
+
|
|
22890
24782
|
/**
|
|
22891
24783
|
* Title
|
|
22892
24784
|
*/
|
|
@@ -22912,20 +24804,24 @@ export interface ThreadResponse {
|
|
|
22912
24804
|
*/
|
|
22913
24805
|
last_message_at?: Date;
|
|
22914
24806
|
|
|
22915
|
-
/**
|
|
22916
|
-
* Reply Count
|
|
22917
|
-
*/
|
|
22918
|
-
reply_count?: number;
|
|
22919
|
-
|
|
22920
24807
|
/**
|
|
22921
24808
|
* Thread Participants
|
|
22922
24809
|
*/
|
|
22923
24810
|
thread_participants?: ThreadParticipant[];
|
|
22924
24811
|
|
|
24812
|
+
/**
|
|
24813
|
+
* Represents channel in chat
|
|
24814
|
+
*/
|
|
22925
24815
|
channel?: ChannelResponse;
|
|
22926
24816
|
|
|
24817
|
+
/**
|
|
24818
|
+
* User response object
|
|
24819
|
+
*/
|
|
22927
24820
|
created_by?: UserResponse;
|
|
22928
24821
|
|
|
24822
|
+
/**
|
|
24823
|
+
* Represents any chat message
|
|
24824
|
+
*/
|
|
22929
24825
|
parent_message?: MessageResponse;
|
|
22930
24826
|
}
|
|
22931
24827
|
|
|
@@ -22960,6 +24856,11 @@ export interface ThreadStateResponse {
|
|
|
22960
24856
|
*/
|
|
22961
24857
|
participant_count: number;
|
|
22962
24858
|
|
|
24859
|
+
/**
|
|
24860
|
+
* Reply Count
|
|
24861
|
+
*/
|
|
24862
|
+
reply_count: number;
|
|
24863
|
+
|
|
22963
24864
|
/**
|
|
22964
24865
|
* Title
|
|
22965
24866
|
*/
|
|
@@ -22987,11 +24888,6 @@ export interface ThreadStateResponse {
|
|
|
22987
24888
|
*/
|
|
22988
24889
|
last_message_at?: Date;
|
|
22989
24890
|
|
|
22990
|
-
/**
|
|
22991
|
-
* Reply Count
|
|
22992
|
-
*/
|
|
22993
|
-
reply_count?: number;
|
|
22994
|
-
|
|
22995
24891
|
read?: ReadStateResponse[];
|
|
22996
24892
|
|
|
22997
24893
|
/**
|
|
@@ -22999,12 +24895,21 @@ export interface ThreadStateResponse {
|
|
|
22999
24895
|
*/
|
|
23000
24896
|
thread_participants?: ThreadParticipant[];
|
|
23001
24897
|
|
|
24898
|
+
/**
|
|
24899
|
+
* Represents channel in chat
|
|
24900
|
+
*/
|
|
23002
24901
|
channel?: ChannelResponse;
|
|
23003
24902
|
|
|
24903
|
+
/**
|
|
24904
|
+
* User response object
|
|
24905
|
+
*/
|
|
23004
24906
|
created_by?: UserResponse;
|
|
23005
24907
|
|
|
23006
24908
|
draft?: DraftResponse;
|
|
23007
24909
|
|
|
24910
|
+
/**
|
|
24911
|
+
* Represents any chat message
|
|
24912
|
+
*/
|
|
23008
24913
|
parent_message?: MessageResponse;
|
|
23009
24914
|
}
|
|
23010
24915
|
|
|
@@ -23061,6 +24966,9 @@ export interface ThreadedCommentResponse {
|
|
|
23061
24966
|
|
|
23062
24967
|
own_reactions: FeedsReactionResponse[];
|
|
23063
24968
|
|
|
24969
|
+
/**
|
|
24970
|
+
* User response object
|
|
24971
|
+
*/
|
|
23064
24972
|
user: UserResponse;
|
|
23065
24973
|
|
|
23066
24974
|
controversy_score?: number;
|
|
@@ -23086,6 +24994,9 @@ export interface ThreadedCommentResponse {
|
|
|
23086
24994
|
|
|
23087
24995
|
i18n?: Record<string, string>;
|
|
23088
24996
|
|
|
24997
|
+
/**
|
|
24998
|
+
* Cursor & depth information for a comment's direct replies. Mirrors Reddit's 'load more replies' semantics.
|
|
24999
|
+
*/
|
|
23089
25000
|
meta?: RepliesMeta;
|
|
23090
25001
|
|
|
23091
25002
|
moderation?: ModerationV2Response;
|
|
@@ -23119,6 +25030,22 @@ export interface ThumbnailsSettingsResponse {
|
|
|
23119
25030
|
|
|
23120
25031
|
export interface Time {}
|
|
23121
25032
|
|
|
25033
|
+
export interface TimeWindow {
|
|
25034
|
+
from: string;
|
|
25035
|
+
|
|
25036
|
+
to: string;
|
|
25037
|
+
}
|
|
25038
|
+
|
|
25039
|
+
export interface TopBroadcast {
|
|
25040
|
+
call_cid: string;
|
|
25041
|
+
|
|
25042
|
+
hours_watched: number;
|
|
25043
|
+
|
|
25044
|
+
peak_concurrent_viewers: number;
|
|
25045
|
+
|
|
25046
|
+
poor_pct?: number;
|
|
25047
|
+
}
|
|
25048
|
+
|
|
23122
25049
|
export interface TrackActivityMetricsEvent {
|
|
23123
25050
|
/**
|
|
23124
25051
|
* The ID of the activity to track the metric for
|
|
@@ -23166,6 +25093,9 @@ export interface TrackActivityMetricsRequest {
|
|
|
23166
25093
|
|
|
23167
25094
|
user_id?: string;
|
|
23168
25095
|
|
|
25096
|
+
/**
|
|
25097
|
+
* User request object
|
|
25098
|
+
*/
|
|
23169
25099
|
user?: UserRequest;
|
|
23170
25100
|
}
|
|
23171
25101
|
|
|
@@ -23494,8 +25424,14 @@ export interface TruncateChannelRequest {
|
|
|
23494
25424
|
*/
|
|
23495
25425
|
member_ids?: string[];
|
|
23496
25426
|
|
|
25427
|
+
/**
|
|
25428
|
+
* Message data for creating or updating a message
|
|
25429
|
+
*/
|
|
23497
25430
|
message?: MessageRequest;
|
|
23498
25431
|
|
|
25432
|
+
/**
|
|
25433
|
+
* User request object
|
|
25434
|
+
*/
|
|
23499
25435
|
user?: UserRequest;
|
|
23500
25436
|
}
|
|
23501
25437
|
|
|
@@ -23505,8 +25441,14 @@ export interface TruncateChannelResponse {
|
|
|
23505
25441
|
*/
|
|
23506
25442
|
duration: string;
|
|
23507
25443
|
|
|
25444
|
+
/**
|
|
25445
|
+
* Represents channel in chat
|
|
25446
|
+
*/
|
|
23508
25447
|
channel?: ChannelResponse;
|
|
23509
25448
|
|
|
25449
|
+
/**
|
|
25450
|
+
* Represents any chat message
|
|
25451
|
+
*/
|
|
23510
25452
|
message?: MessageResponse;
|
|
23511
25453
|
}
|
|
23512
25454
|
|
|
@@ -23529,6 +25471,11 @@ export interface UnbanActionRequestPayload {
|
|
|
23529
25471
|
* Also remove the future channels ban for this user
|
|
23530
25472
|
*/
|
|
23531
25473
|
remove_future_channels_ban?: boolean;
|
|
25474
|
+
|
|
25475
|
+
/**
|
|
25476
|
+
* Optional: unban user directly without review item
|
|
25477
|
+
*/
|
|
25478
|
+
target_user_id?: string;
|
|
23532
25479
|
}
|
|
23533
25480
|
|
|
23534
25481
|
export interface UnbanRequest {
|
|
@@ -23537,6 +25484,9 @@ export interface UnbanRequest {
|
|
|
23537
25484
|
*/
|
|
23538
25485
|
unbanned_by_id?: string;
|
|
23539
25486
|
|
|
25487
|
+
/**
|
|
25488
|
+
* User request object
|
|
25489
|
+
*/
|
|
23540
25490
|
unbanned_by?: UserRequest;
|
|
23541
25491
|
}
|
|
23542
25492
|
|
|
@@ -23570,6 +25520,9 @@ export interface UnblockUsersRequest {
|
|
|
23570
25520
|
|
|
23571
25521
|
user_id?: string;
|
|
23572
25522
|
|
|
25523
|
+
/**
|
|
25524
|
+
* User request object
|
|
25525
|
+
*/
|
|
23573
25526
|
user?: UserRequest;
|
|
23574
25527
|
}
|
|
23575
25528
|
|
|
@@ -23585,6 +25538,9 @@ export interface UnblockedUserEvent {
|
|
|
23585
25538
|
|
|
23586
25539
|
created_at: Date;
|
|
23587
25540
|
|
|
25541
|
+
/**
|
|
25542
|
+
* User response object
|
|
25543
|
+
*/
|
|
23588
25544
|
user: UserResponse;
|
|
23589
25545
|
|
|
23590
25546
|
/**
|
|
@@ -23606,6 +25562,9 @@ export interface UndeleteMessageResponse {
|
|
|
23606
25562
|
*/
|
|
23607
25563
|
duration: string;
|
|
23608
25564
|
|
|
25565
|
+
/**
|
|
25566
|
+
* Represents any chat message
|
|
25567
|
+
*/
|
|
23609
25568
|
message: MessageResponse;
|
|
23610
25569
|
}
|
|
23611
25570
|
|
|
@@ -23671,6 +25630,9 @@ export interface UnmuteChannelRequest {
|
|
|
23671
25630
|
*/
|
|
23672
25631
|
channel_cids?: string[];
|
|
23673
25632
|
|
|
25633
|
+
/**
|
|
25634
|
+
* User request object
|
|
25635
|
+
*/
|
|
23674
25636
|
user?: UserRequest;
|
|
23675
25637
|
}
|
|
23676
25638
|
|
|
@@ -23682,6 +25644,9 @@ export interface UnmuteRequest {
|
|
|
23682
25644
|
|
|
23683
25645
|
user_id?: string;
|
|
23684
25646
|
|
|
25647
|
+
/**
|
|
25648
|
+
* User request object
|
|
25649
|
+
*/
|
|
23685
25650
|
user?: UserRequest;
|
|
23686
25651
|
}
|
|
23687
25652
|
|
|
@@ -23870,6 +25835,9 @@ export interface UpdateActivityPartialRequest {
|
|
|
23870
25835
|
*/
|
|
23871
25836
|
set?: Record<string, any>;
|
|
23872
25837
|
|
|
25838
|
+
/**
|
|
25839
|
+
* User request object
|
|
25840
|
+
*/
|
|
23873
25841
|
user?: UserRequest;
|
|
23874
25842
|
}
|
|
23875
25843
|
|
|
@@ -23987,6 +25955,9 @@ export interface UpdateActivityRequest {
|
|
|
23987
25955
|
*/
|
|
23988
25956
|
search_data?: Record<string, any>;
|
|
23989
25957
|
|
|
25958
|
+
/**
|
|
25959
|
+
* User request object
|
|
25960
|
+
*/
|
|
23990
25961
|
user?: UserRequest;
|
|
23991
25962
|
}
|
|
23992
25963
|
|
|
@@ -24046,6 +26017,8 @@ export interface UpdateAppRequest {
|
|
|
24046
26017
|
|
|
24047
26018
|
max_aggregated_activities_length?: number;
|
|
24048
26019
|
|
|
26020
|
+
member_custom_on_messages_enabled?: boolean;
|
|
26021
|
+
|
|
24049
26022
|
migrate_permissions_to_v2?: boolean;
|
|
24050
26023
|
|
|
24051
26024
|
moderation_analytics_enabled?: boolean;
|
|
@@ -24143,10 +26116,17 @@ export interface UpdateBlockListRequest {
|
|
|
24143
26116
|
|
|
24144
26117
|
team?: string;
|
|
24145
26118
|
|
|
26119
|
+
user_id?: string;
|
|
26120
|
+
|
|
24146
26121
|
/**
|
|
24147
26122
|
* List of words to block
|
|
24148
26123
|
*/
|
|
24149
26124
|
words?: string[];
|
|
26125
|
+
|
|
26126
|
+
/**
|
|
26127
|
+
* User request object
|
|
26128
|
+
*/
|
|
26129
|
+
user?: UserRequest;
|
|
24150
26130
|
}
|
|
24151
26131
|
|
|
24152
26132
|
export interface UpdateBlockListResponse {
|
|
@@ -24155,6 +26135,9 @@ export interface UpdateBlockListResponse {
|
|
|
24155
26135
|
*/
|
|
24156
26136
|
duration: string;
|
|
24157
26137
|
|
|
26138
|
+
/**
|
|
26139
|
+
* Block list contains restricted words
|
|
26140
|
+
*/
|
|
24158
26141
|
blocklist?: BlockListResponse;
|
|
24159
26142
|
}
|
|
24160
26143
|
|
|
@@ -24171,6 +26154,9 @@ export interface UpdateBookmarkFolderRequest {
|
|
|
24171
26154
|
*/
|
|
24172
26155
|
custom?: Record<string, any>;
|
|
24173
26156
|
|
|
26157
|
+
/**
|
|
26158
|
+
* User request object
|
|
26159
|
+
*/
|
|
24174
26160
|
user?: UserRequest;
|
|
24175
26161
|
}
|
|
24176
26162
|
|
|
@@ -24200,6 +26186,9 @@ export interface UpdateBookmarkRequest {
|
|
|
24200
26186
|
|
|
24201
26187
|
new_folder?: AddFolderRequest;
|
|
24202
26188
|
|
|
26189
|
+
/**
|
|
26190
|
+
* User request object
|
|
26191
|
+
*/
|
|
24203
26192
|
user?: UserRequest;
|
|
24204
26193
|
}
|
|
24205
26194
|
|
|
@@ -24251,6 +26240,9 @@ export interface UpdateCallResponse {
|
|
|
24251
26240
|
|
|
24252
26241
|
own_capabilities: OwnCapability[];
|
|
24253
26242
|
|
|
26243
|
+
/**
|
|
26244
|
+
* Represents a call
|
|
26245
|
+
*/
|
|
24254
26246
|
call: CallResponse;
|
|
24255
26247
|
}
|
|
24256
26248
|
|
|
@@ -24334,6 +26326,9 @@ export interface UpdateChannelPartialRequest {
|
|
|
24334
26326
|
|
|
24335
26327
|
set?: Record<string, any>;
|
|
24336
26328
|
|
|
26329
|
+
/**
|
|
26330
|
+
* User request object
|
|
26331
|
+
*/
|
|
24337
26332
|
user?: UserRequest;
|
|
24338
26333
|
}
|
|
24339
26334
|
|
|
@@ -24348,6 +26343,9 @@ export interface UpdateChannelPartialResponse {
|
|
|
24348
26343
|
*/
|
|
24349
26344
|
members: ChannelMemberResponse[];
|
|
24350
26345
|
|
|
26346
|
+
/**
|
|
26347
|
+
* Represents channel in chat
|
|
26348
|
+
*/
|
|
24351
26349
|
channel?: ChannelResponse;
|
|
24352
26350
|
}
|
|
24353
26351
|
|
|
@@ -24426,8 +26424,14 @@ export interface UpdateChannelRequest {
|
|
|
24426
26424
|
|
|
24427
26425
|
data?: ChannelInputRequest;
|
|
24428
26426
|
|
|
26427
|
+
/**
|
|
26428
|
+
* Message data for creating or updating a message
|
|
26429
|
+
*/
|
|
24429
26430
|
message?: MessageRequest;
|
|
24430
26431
|
|
|
26432
|
+
/**
|
|
26433
|
+
* User request object
|
|
26434
|
+
*/
|
|
24431
26435
|
user?: UserRequest;
|
|
24432
26436
|
}
|
|
24433
26437
|
|
|
@@ -24442,8 +26446,14 @@ export interface UpdateChannelResponse {
|
|
|
24442
26446
|
*/
|
|
24443
26447
|
members: ChannelMemberResponse[];
|
|
24444
26448
|
|
|
26449
|
+
/**
|
|
26450
|
+
* Represents channel in chat
|
|
26451
|
+
*/
|
|
24445
26452
|
channel?: ChannelResponse;
|
|
24446
26453
|
|
|
26454
|
+
/**
|
|
26455
|
+
* Represents any chat message
|
|
26456
|
+
*/
|
|
24447
26457
|
message?: MessageResponse;
|
|
24448
26458
|
}
|
|
24449
26459
|
|
|
@@ -24515,6 +26525,9 @@ export interface UpdateChannelTypeRequest {
|
|
|
24515
26525
|
|
|
24516
26526
|
permissions?: PolicyRequest[];
|
|
24517
26527
|
|
|
26528
|
+
/**
|
|
26529
|
+
* Sets thresholds for AI moderation
|
|
26530
|
+
*/
|
|
24518
26531
|
automod_thresholds?: Thresholds;
|
|
24519
26532
|
|
|
24520
26533
|
chat_preferences?: ChatPreferences;
|
|
@@ -24597,6 +26610,9 @@ export interface UpdateChannelTypeResponse {
|
|
|
24597
26610
|
|
|
24598
26611
|
blocklists?: BlockListOptions[];
|
|
24599
26612
|
|
|
26613
|
+
/**
|
|
26614
|
+
* Sets thresholds for AI moderation
|
|
26615
|
+
*/
|
|
24600
26616
|
automod_thresholds?: Thresholds;
|
|
24601
26617
|
|
|
24602
26618
|
chat_preferences?: ChatPreferences;
|
|
@@ -24627,6 +26643,9 @@ export interface UpdateCollectionsRequest {
|
|
|
24627
26643
|
|
|
24628
26644
|
user_id?: string;
|
|
24629
26645
|
|
|
26646
|
+
/**
|
|
26647
|
+
* User request object
|
|
26648
|
+
*/
|
|
24630
26649
|
user?: UserRequest;
|
|
24631
26650
|
}
|
|
24632
26651
|
|
|
@@ -24659,6 +26678,9 @@ export interface UpdateCommandRequest {
|
|
|
24659
26678
|
export interface UpdateCommandResponse {
|
|
24660
26679
|
duration: string;
|
|
24661
26680
|
|
|
26681
|
+
/**
|
|
26682
|
+
* Represents custom chat command
|
|
26683
|
+
*/
|
|
24662
26684
|
command?: Command;
|
|
24663
26685
|
}
|
|
24664
26686
|
|
|
@@ -24682,6 +26704,9 @@ export interface UpdateCommentBookmarkRequest {
|
|
|
24682
26704
|
|
|
24683
26705
|
new_folder?: AddFolderRequest;
|
|
24684
26706
|
|
|
26707
|
+
/**
|
|
26708
|
+
* User request object
|
|
26709
|
+
*/
|
|
24685
26710
|
user?: UserRequest;
|
|
24686
26711
|
}
|
|
24687
26712
|
|
|
@@ -24730,6 +26755,9 @@ export interface UpdateCommentPartialRequest {
|
|
|
24730
26755
|
*/
|
|
24731
26756
|
set?: Record<string, any>;
|
|
24732
26757
|
|
|
26758
|
+
/**
|
|
26759
|
+
* User request object
|
|
26760
|
+
*/
|
|
24733
26761
|
user?: UserRequest;
|
|
24734
26762
|
}
|
|
24735
26763
|
|
|
@@ -24785,6 +26813,9 @@ export interface UpdateCommentRequest {
|
|
|
24785
26813
|
*/
|
|
24786
26814
|
custom?: Record<string, any>;
|
|
24787
26815
|
|
|
26816
|
+
/**
|
|
26817
|
+
* User request object
|
|
26818
|
+
*/
|
|
24788
26819
|
user?: UserRequest;
|
|
24789
26820
|
}
|
|
24790
26821
|
|
|
@@ -24813,8 +26844,14 @@ export interface UpdateExternalStorageRequest {
|
|
|
24813
26844
|
*/
|
|
24814
26845
|
path?: string;
|
|
24815
26846
|
|
|
26847
|
+
/**
|
|
26848
|
+
* Config for creating Amazon S3 storage.
|
|
26849
|
+
*/
|
|
24816
26850
|
aws_s3?: S3Request;
|
|
24817
26851
|
|
|
26852
|
+
/**
|
|
26853
|
+
* Config for creating Azure Blob Storage storage
|
|
26854
|
+
*/
|
|
24818
26855
|
azure_blob?: AzureRequest;
|
|
24819
26856
|
}
|
|
24820
26857
|
|
|
@@ -25140,6 +27177,9 @@ export interface UpdateMessagePartialRequest {
|
|
|
25140
27177
|
*/
|
|
25141
27178
|
set?: Record<string, any>;
|
|
25142
27179
|
|
|
27180
|
+
/**
|
|
27181
|
+
* User request object
|
|
27182
|
+
*/
|
|
25143
27183
|
user?: UserRequest;
|
|
25144
27184
|
}
|
|
25145
27185
|
|
|
@@ -25149,6 +27189,9 @@ export interface UpdateMessagePartialResponse {
|
|
|
25149
27189
|
*/
|
|
25150
27190
|
duration: string;
|
|
25151
27191
|
|
|
27192
|
+
/**
|
|
27193
|
+
* Represents any chat message
|
|
27194
|
+
*/
|
|
25152
27195
|
message?: MessageResponse;
|
|
25153
27196
|
|
|
25154
27197
|
/**
|
|
@@ -25158,6 +27201,9 @@ export interface UpdateMessagePartialResponse {
|
|
|
25158
27201
|
}
|
|
25159
27202
|
|
|
25160
27203
|
export interface UpdateMessageRequest {
|
|
27204
|
+
/**
|
|
27205
|
+
* Message data for creating or updating a message
|
|
27206
|
+
*/
|
|
25161
27207
|
message: MessageRequest;
|
|
25162
27208
|
|
|
25163
27209
|
/**
|
|
@@ -25174,6 +27220,9 @@ export interface UpdateMessageResponse {
|
|
|
25174
27220
|
*/
|
|
25175
27221
|
duration: string;
|
|
25176
27222
|
|
|
27223
|
+
/**
|
|
27224
|
+
* Represents any chat message
|
|
27225
|
+
*/
|
|
25177
27226
|
message: MessageResponse;
|
|
25178
27227
|
|
|
25179
27228
|
pending_message_metadata?: Record<string, string>;
|
|
@@ -25192,8 +27241,14 @@ export interface UpdatePollOptionRequest {
|
|
|
25192
27241
|
|
|
25193
27242
|
user_id?: string;
|
|
25194
27243
|
|
|
27244
|
+
/**
|
|
27245
|
+
* Custom data for this object
|
|
27246
|
+
*/
|
|
25195
27247
|
custom?: Record<string, any>;
|
|
25196
27248
|
|
|
27249
|
+
/**
|
|
27250
|
+
* User request object
|
|
27251
|
+
*/
|
|
25197
27252
|
user?: UserRequest;
|
|
25198
27253
|
}
|
|
25199
27254
|
|
|
@@ -25210,6 +27265,9 @@ export interface UpdatePollPartialRequest {
|
|
|
25210
27265
|
*/
|
|
25211
27266
|
set?: Record<string, any>;
|
|
25212
27267
|
|
|
27268
|
+
/**
|
|
27269
|
+
* User request object
|
|
27270
|
+
*/
|
|
25213
27271
|
user?: UserRequest;
|
|
25214
27272
|
}
|
|
25215
27273
|
|
|
@@ -25267,8 +27325,14 @@ export interface UpdatePollRequest {
|
|
|
25267
27325
|
*/
|
|
25268
27326
|
options?: PollOptionRequest[];
|
|
25269
27327
|
|
|
27328
|
+
/**
|
|
27329
|
+
* Custom data for this object
|
|
27330
|
+
*/
|
|
25270
27331
|
custom?: Record<string, any>;
|
|
25271
27332
|
|
|
27333
|
+
/**
|
|
27334
|
+
* User request object
|
|
27335
|
+
*/
|
|
25272
27336
|
user?: UserRequest;
|
|
25273
27337
|
}
|
|
25274
27338
|
|
|
@@ -25283,6 +27347,9 @@ export interface UpdateQueueRequest {
|
|
|
25283
27347
|
|
|
25284
27348
|
filters?: Record<string, any>;
|
|
25285
27349
|
|
|
27350
|
+
/**
|
|
27351
|
+
* User request object
|
|
27352
|
+
*/
|
|
25286
27353
|
user?: UserRequest;
|
|
25287
27354
|
}
|
|
25288
27355
|
|
|
@@ -25291,6 +27358,9 @@ export interface UpdateReminderRequest {
|
|
|
25291
27358
|
|
|
25292
27359
|
user_id?: string;
|
|
25293
27360
|
|
|
27361
|
+
/**
|
|
27362
|
+
* User request object
|
|
27363
|
+
*/
|
|
25294
27364
|
user?: UserRequest;
|
|
25295
27365
|
}
|
|
25296
27366
|
|
|
@@ -25314,6 +27384,9 @@ export interface UpdateSIPInboundRoutingRuleRequest {
|
|
|
25314
27384
|
*/
|
|
25315
27385
|
trunk_ids: string[];
|
|
25316
27386
|
|
|
27387
|
+
/**
|
|
27388
|
+
* Configuration for SIP caller settings
|
|
27389
|
+
*/
|
|
25317
27390
|
caller_configs: SIPCallerConfigsRequest;
|
|
25318
27391
|
|
|
25319
27392
|
/**
|
|
@@ -25326,18 +27399,33 @@ export interface UpdateSIPInboundRoutingRuleRequest {
|
|
|
25326
27399
|
*/
|
|
25327
27400
|
caller_numbers?: string[];
|
|
25328
27401
|
|
|
27402
|
+
/**
|
|
27403
|
+
* Configuration for SIP call settings
|
|
27404
|
+
*/
|
|
25329
27405
|
call_configs?: SIPCallConfigsRequest;
|
|
25330
27406
|
|
|
27407
|
+
/**
|
|
27408
|
+
* Configuration for direct routing rule calls
|
|
27409
|
+
*/
|
|
25331
27410
|
direct_routing_configs?: SIPDirectRoutingRuleCallConfigsRequest;
|
|
25332
27411
|
|
|
27412
|
+
/**
|
|
27413
|
+
* Configuration for PIN protection settings
|
|
27414
|
+
*/
|
|
25333
27415
|
pin_protection_configs?: SIPPinProtectionConfigsRequest;
|
|
25334
27416
|
|
|
27417
|
+
/**
|
|
27418
|
+
* Configuration for PIN routing rule calls
|
|
27419
|
+
*/
|
|
25335
27420
|
pin_routing_configs?: SIPInboundRoutingRulePinConfigsRequest;
|
|
25336
27421
|
}
|
|
25337
27422
|
|
|
25338
27423
|
export interface UpdateSIPInboundRoutingRuleResponse {
|
|
25339
27424
|
duration: string;
|
|
25340
27425
|
|
|
27426
|
+
/**
|
|
27427
|
+
* SIP Inbound Routing Rule response
|
|
27428
|
+
*/
|
|
25341
27429
|
sip_inbound_routing_rule?: SIPInboundRoutingRuleResponse;
|
|
25342
27430
|
}
|
|
25343
27431
|
|
|
@@ -25366,6 +27454,9 @@ export interface UpdateSIPTrunkRequest {
|
|
|
25366
27454
|
export interface UpdateSIPTrunkResponse {
|
|
25367
27455
|
duration: string;
|
|
25368
27456
|
|
|
27457
|
+
/**
|
|
27458
|
+
* SIP trunk information
|
|
27459
|
+
*/
|
|
25369
27460
|
sip_trunk?: SIPTrunkResponse;
|
|
25370
27461
|
}
|
|
25371
27462
|
|
|
@@ -25408,6 +27499,9 @@ export interface UpdateThreadPartialRequest {
|
|
|
25408
27499
|
*/
|
|
25409
27500
|
set?: Record<string, any>;
|
|
25410
27501
|
|
|
27502
|
+
/**
|
|
27503
|
+
* User request object
|
|
27504
|
+
*/
|
|
25411
27505
|
user?: UserRequest;
|
|
25412
27506
|
}
|
|
25413
27507
|
|
|
@@ -25501,6 +27595,9 @@ export interface UpdatedCallPermissionsEvent {
|
|
|
25501
27595
|
*/
|
|
25502
27596
|
own_capabilities: OwnCapability[];
|
|
25503
27597
|
|
|
27598
|
+
/**
|
|
27599
|
+
* User response object
|
|
27600
|
+
*/
|
|
25504
27601
|
user: UserResponse;
|
|
25505
27602
|
|
|
25506
27603
|
/**
|
|
@@ -25630,12 +27727,18 @@ export interface UpsertActionConfigRequest {
|
|
|
25630
27727
|
*/
|
|
25631
27728
|
custom?: Record<string, any>;
|
|
25632
27729
|
|
|
27730
|
+
/**
|
|
27731
|
+
* User request object
|
|
27732
|
+
*/
|
|
25633
27733
|
user?: UserRequest;
|
|
25634
27734
|
}
|
|
25635
27735
|
|
|
25636
27736
|
export interface UpsertActionConfigResponse {
|
|
25637
27737
|
duration: string;
|
|
25638
27738
|
|
|
27739
|
+
/**
|
|
27740
|
+
* Configuration for a moderation action
|
|
27741
|
+
*/
|
|
25639
27742
|
action_config?: ModerationActionConfigResponse;
|
|
25640
27743
|
}
|
|
25641
27744
|
|
|
@@ -25740,6 +27843,9 @@ export interface UpsertConfigRequest {
|
|
|
25740
27843
|
|
|
25741
27844
|
rule_builder_config?: RuleBuilderConfig;
|
|
25742
27845
|
|
|
27846
|
+
/**
|
|
27847
|
+
* User request object
|
|
27848
|
+
*/
|
|
25743
27849
|
user?: UserRequest;
|
|
25744
27850
|
|
|
25745
27851
|
velocity_filter_config?: VelocityFilterConfig;
|
|
@@ -25753,6 +27859,39 @@ export interface UpsertConfigResponse {
|
|
|
25753
27859
|
config?: ConfigResponse;
|
|
25754
27860
|
}
|
|
25755
27861
|
|
|
27862
|
+
export interface UpsertExternalStorageAWSS3Request {
|
|
27863
|
+
bucket: string;
|
|
27864
|
+
|
|
27865
|
+
region: string;
|
|
27866
|
+
|
|
27867
|
+
role_arn: string;
|
|
27868
|
+
|
|
27869
|
+
path_prefix?: string;
|
|
27870
|
+
}
|
|
27871
|
+
|
|
27872
|
+
export interface UpsertExternalStorageGCSRequest {
|
|
27873
|
+
bucket: string;
|
|
27874
|
+
|
|
27875
|
+
credentials: string;
|
|
27876
|
+
|
|
27877
|
+
path_prefix?: string;
|
|
27878
|
+
}
|
|
27879
|
+
|
|
27880
|
+
export interface UpsertExternalStorageRequest {
|
|
27881
|
+
type: 'aws_s3' | 'gcs';
|
|
27882
|
+
|
|
27883
|
+
aws_s3?: UpsertExternalStorageAWSS3Request;
|
|
27884
|
+
|
|
27885
|
+
gcs?: UpsertExternalStorageGCSRequest;
|
|
27886
|
+
}
|
|
27887
|
+
|
|
27888
|
+
export interface UpsertExternalStorageResponse {
|
|
27889
|
+
/**
|
|
27890
|
+
* Duration of the request in milliseconds
|
|
27891
|
+
*/
|
|
27892
|
+
duration: string;
|
|
27893
|
+
}
|
|
27894
|
+
|
|
25756
27895
|
export interface UpsertModerationRuleRequest {
|
|
25757
27896
|
/**
|
|
25758
27897
|
* Unique rule name
|
|
@@ -25816,6 +27955,9 @@ export interface UpsertModerationRuleRequest {
|
|
|
25816
27955
|
|
|
25817
27956
|
action?: RuleBuilderAction;
|
|
25818
27957
|
|
|
27958
|
+
/**
|
|
27959
|
+
* User request object
|
|
27960
|
+
*/
|
|
25819
27961
|
user?: UserRequest;
|
|
25820
27962
|
}
|
|
25821
27963
|
|
|
@@ -25834,6 +27976,9 @@ export interface UpsertModerationTemplateRequest {
|
|
|
25834
27976
|
*/
|
|
25835
27977
|
name: string;
|
|
25836
27978
|
|
|
27979
|
+
/**
|
|
27980
|
+
* Configuration for a feeds moderation template
|
|
27981
|
+
*/
|
|
25837
27982
|
config: FeedsModerationTemplateConfigPayload;
|
|
25838
27983
|
}
|
|
25839
27984
|
|
|
@@ -25855,6 +28000,9 @@ export interface UpsertModerationTemplateResponse {
|
|
|
25855
28000
|
*/
|
|
25856
28001
|
updated_at: Date;
|
|
25857
28002
|
|
|
28003
|
+
/**
|
|
28004
|
+
* Configuration for a feeds moderation template
|
|
28005
|
+
*/
|
|
25858
28006
|
config?: FeedsModerationTemplateConfigPayload;
|
|
25859
28007
|
}
|
|
25860
28008
|
|
|
@@ -26414,8 +28562,14 @@ export interface UserMuteResponse {
|
|
|
26414
28562
|
|
|
26415
28563
|
expires?: Date;
|
|
26416
28564
|
|
|
28565
|
+
/**
|
|
28566
|
+
* User response object
|
|
28567
|
+
*/
|
|
26417
28568
|
target?: UserResponse;
|
|
26418
28569
|
|
|
28570
|
+
/**
|
|
28571
|
+
* User response object
|
|
28572
|
+
*/
|
|
26419
28573
|
user?: UserResponse;
|
|
26420
28574
|
}
|
|
26421
28575
|
|
|
@@ -26823,6 +28977,13 @@ export interface UserUpdatedEvent {
|
|
|
26823
28977
|
received_at?: Date;
|
|
26824
28978
|
}
|
|
26825
28979
|
|
|
28980
|
+
export interface ValidateExternalStorageResponse {
|
|
28981
|
+
/**
|
|
28982
|
+
* Duration of the request in milliseconds
|
|
28983
|
+
*/
|
|
28984
|
+
duration: string;
|
|
28985
|
+
}
|
|
28986
|
+
|
|
26826
28987
|
export interface VelocityFilterConfig {
|
|
26827
28988
|
advanced_filters?: boolean;
|
|
26828
28989
|
|
|
@@ -26894,6 +29055,9 @@ export interface VideoReactionOverTimeResponse {
|
|
|
26894
29055
|
export interface VideoReactionResponse {
|
|
26895
29056
|
type: string;
|
|
26896
29057
|
|
|
29058
|
+
/**
|
|
29059
|
+
* User response object
|
|
29060
|
+
*/
|
|
26897
29061
|
user: UserResponse;
|
|
26898
29062
|
|
|
26899
29063
|
emoji_code?: string;
|
|
@@ -26951,6 +29115,24 @@ export interface VideoSettingsResponse {
|
|
|
26951
29115
|
target_resolution: TargetResolution;
|
|
26952
29116
|
}
|
|
26953
29117
|
|
|
29118
|
+
export interface ViewerBehavior {
|
|
29119
|
+
connection_duration_p50_s: number;
|
|
29120
|
+
|
|
29121
|
+
connections_per_viewer_mean: number;
|
|
29122
|
+
|
|
29123
|
+
median_watch_min: number;
|
|
29124
|
+
|
|
29125
|
+
note: string;
|
|
29126
|
+
|
|
29127
|
+
p90_watch_min: number;
|
|
29128
|
+
|
|
29129
|
+
bounce_rate_pct?: number;
|
|
29130
|
+
|
|
29131
|
+
connections_under_30s_pct?: number;
|
|
29132
|
+
|
|
29133
|
+
return_visit_rate_pct?: number;
|
|
29134
|
+
}
|
|
29135
|
+
|
|
26954
29136
|
export interface VoteData {
|
|
26955
29137
|
answer_text?: string;
|
|
26956
29138
|
|
|
@@ -27112,6 +29294,7 @@ export type WHEvent =
|
|
|
27112
29294
|
| ({ type: 'message.unblocked' } & MessageUnblockedEvent)
|
|
27113
29295
|
| ({ type: 'message.undeleted' } & MessageUndeletedEvent)
|
|
27114
29296
|
| ({ type: 'message.updated' } & MessageUpdatedEvent)
|
|
29297
|
+
| ({ type: 'moderation.analysis.failed' } & ModerationAnalysisFailedEvent)
|
|
27115
29298
|
| ({ type: 'moderation.custom_action' } & ModerationCustomActionEvent)
|
|
27116
29299
|
| ({ type: 'moderation.flagged' } & ModerationFlaggedEvent)
|
|
27117
29300
|
| ({
|
|
@@ -27194,14 +29377,23 @@ export interface WSEvent {
|
|
|
27194
29377
|
|
|
27195
29378
|
automoderation_scores?: ModerationResponse;
|
|
27196
29379
|
|
|
29380
|
+
/**
|
|
29381
|
+
* Represents channel in chat
|
|
29382
|
+
*/
|
|
27197
29383
|
channel?: ChannelResponse;
|
|
27198
29384
|
|
|
29385
|
+
/**
|
|
29386
|
+
* User response object
|
|
29387
|
+
*/
|
|
27199
29388
|
created_by?: UserResponse;
|
|
27200
29389
|
|
|
27201
29390
|
me?: OwnUserResponse;
|
|
27202
29391
|
|
|
27203
29392
|
member?: ChannelMemberResponse;
|
|
27204
29393
|
|
|
29394
|
+
/**
|
|
29395
|
+
* Represents any chat message
|
|
29396
|
+
*/
|
|
27205
29397
|
message?: MessageResponse;
|
|
27206
29398
|
|
|
27207
29399
|
message_update?: MessageUpdate;
|
|
@@ -27214,6 +29406,9 @@ export interface WSEvent {
|
|
|
27214
29406
|
|
|
27215
29407
|
thread?: ThreadResponse;
|
|
27216
29408
|
|
|
29409
|
+
/**
|
|
29410
|
+
* User response object
|
|
29411
|
+
*/
|
|
27217
29412
|
user?: UserResponse;
|
|
27218
29413
|
}
|
|
27219
29414
|
|