@stream-io/node-sdk 0.8.4 → 0.8.5
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/CHANGELOG.md +7 -0
- package/dist/index.cjs.js +18 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +18 -2
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/gen/chat/ChatApi.d.ts +2 -2
- package/dist/src/gen/models/index.d.ts +75 -7
- package/package.json +1 -1
- package/src/gen/chat/ChatApi.ts +6 -3
- package/src/gen/common/CommonApi.ts +2 -0
- package/src/gen/feeds/FeedsApi.ts +3 -0
- package/src/gen/model-decoders/decoders.ts +9 -0
- package/src/gen/models/index.ts +99 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApiClient, StreamResponse } from '../../gen-imports';
|
|
2
|
-
import { AddSegmentTargetsRequest, CampaignResponse, CastPollVoteRequest, ChannelBatchUpdateRequest, ChannelBatchUpdateResponse, ChannelGetOrCreateRequest, ChannelStateResponse, CommitMessageRequest, CreateCampaignRequest, CreateCampaignResponse, CreateChannelTypeRequest, CreateChannelTypeResponse, CreateCommandRequest, CreateCommandResponse, CreatePredefinedFilterRequest, CreatePredefinedFilterResponse, CreateReminderRequest, CreateReminderResponse, CreateSegmentRequest, CreateSegmentResponse, DeleteCampaignResponse, DeleteChannelResponse, DeleteChannelsRequest, DeleteChannelsResponse, DeleteCommandResponse, DeleteMessageResponse, DeleteReactionResponse, DeleteReminderResponse, DeleteRetentionPolicyRequest, DeleteRetentionPolicyResponse, DeleteSegmentTargetsRequest, EventResponse, ExportChannelsRequest, ExportChannelsResponse, GetCampaignResponse, GetChannelTypeResponse, GetCommandResponse, GetDraftResponse, GetManyMessagesResponse, GetMessageResponse, GetPinnedMessagesResponse, GetPredefinedFilterResponse, GetReactionsResponse, GetRepliesResponse, GetRetentionPolicyResponse, GetRetentionPolicyRunsRequest, GetRetentionPolicyRunsResponse, GetSegmentResponse, GetThreadResponse, GroupedQueryChannelsRequest, GroupedQueryChannelsResponse, HideChannelRequest, HideChannelResponse, ListChannelTypesResponse, ListCommandsResponse, MarkChannelsReadRequest, MarkDeliveredRequest, MarkDeliveredResponse, MarkReadRequest, MarkReadResponse, MarkUnreadRequest, MembersResponse, MessageActionRequest, MessageActionResponse, MuteChannelRequest, MuteChannelResponse, PollVoteResponse, QueryBannedUsersPayload, QueryBannedUsersResponse, QueryCampaignsRequest, QueryCampaignsResponse, QueryChannelsRequest, QueryChannelsResponse, QueryDraftsRequest, QueryDraftsResponse, QueryFutureChannelBansPayload, QueryFutureChannelBansResponse, QueryMembersPayload, QueryMessageFlagsPayload, QueryMessageFlagsResponse, QueryMessageHistoryRequest, QueryMessageHistoryResponse, QueryPredefinedFiltersResponse, QueryReactionsRequest, QueryReactionsResponse, QueryRemindersRequest, QueryRemindersResponse, QuerySegmentTargetsRequest, QuerySegmentTargetsResponse, QuerySegmentsRequest, QuerySegmentsResponse, QueryTeamUsageStatsRequest, QueryTeamUsageStatsResponse, QueryThreadsRequest, QueryThreadsResponse, Response, SearchPayload, SearchResponse, SendEventRequest, SendMessageRequest, SendMessageResponse, SendReactionRequest, SendReactionResponse, SendUserCustomEventRequest, SetRetentionPolicyRequest, SetRetentionPolicyResponse, ShowChannelRequest, ShowChannelResponse, SortParamRequest, StartCampaignRequest, StartCampaignResponse, StopCampaignRequest, TranslateMessageRequest, TruncateChannelRequest, TruncateChannelResponse, UndeleteMessageRequest, UndeleteMessageResponse, UnmuteChannelRequest, UnmuteResponse, UnreadCountsBatchRequest, UnreadCountsBatchResponse, UpdateCampaignRequest, UpdateChannelPartialRequest, UpdateChannelPartialResponse, UpdateChannelRequest, UpdateChannelResponse, UpdateChannelTypeRequest, UpdateChannelTypeResponse, UpdateCommandRequest, UpdateCommandResponse, UpdateMemberPartialRequest, UpdateMemberPartialResponse, UpdateMessagePartialRequest, UpdateMessagePartialResponse, UpdateMessageRequest, UpdateMessageResponse, UpdatePredefinedFilterRequest, UpdatePredefinedFilterResponse, UpdateReminderRequest, UpdateReminderResponse, UpdateSegmentRequest, UpdateSegmentResponse, UpdateThreadPartialRequest, UpdateThreadPartialResponse, UploadChannelFileRequest, UploadChannelFileResponse, UploadChannelRequest, UploadChannelResponse, WrappedUnreadCountsResponse } from '../models';
|
|
2
|
+
import { AddSegmentTargetsRequest, CampaignResponse, CastPollVoteRequest, ChannelBatchUpdateRequest, ChannelBatchUpdateResponse, ChannelGetOrCreateRequest, ChannelStateResponse, CommitMessageRequest, CreateCampaignRequest, CreateCampaignResponse, CreateChannelTypeRequest, CreateChannelTypeResponse, CreateCommandRequest, CreateCommandResponse, CreatePredefinedFilterRequest, CreatePredefinedFilterResponse, CreateReminderRequest, CreateReminderResponse, CreateSegmentRequest, CreateSegmentResponse, DeleteCampaignResponse, DeleteChannelResponse, DeleteChannelsRequest, DeleteChannelsResponse, DeleteCommandResponse, DeleteMessageResponse, DeleteReactionResponse, DeleteReminderResponse, DeleteRetentionPolicyRequest, DeleteRetentionPolicyResponse, DeleteSegmentTargetsRequest, EventResponse, ExportChannelsRequest, ExportChannelsResponse, GetCampaignResponse, GetChannelTypeResponse, GetCommandResponse, GetDraftResponse, GetManyMessagesResponse, GetMessageResponse, GetPinnedMessagesResponse, GetPredefinedFilterResponse, GetReactionsResponse, GetRepliesResponse, GetRetentionPolicyResponse, GetRetentionPolicyRunsRequest, GetRetentionPolicyRunsResponse, GetSegmentResponse, GetThreadResponse, GroupedQueryChannelsRequest, GroupedQueryChannelsResponse, HideChannelRequest, HideChannelResponse, ListChannelTypesResponse, ListCommandsResponse, MarkChannelsReadRequest, MarkDeliveredRequest, MarkDeliveredResponse, MarkReadRequest, MarkReadResponse, MarkUnreadRequest, MembersResponse, MessageActionRequest, MessageActionResponse, MuteChannelRequest, MuteChannelResponse, PollVoteResponse, QueryBannedUsersPayload, QueryBannedUsersResponse, QueryCampaignsRequest, QueryCampaignsResponse, QueryChannelsRequest, QueryChannelsResponse, QueryDraftsRequest, QueryDraftsResponse, QueryFutureChannelBansPayload, QueryFutureChannelBansResponse, QueryMembersPayload, QueryMessageFlagsPayload, QueryMessageFlagsResponse, QueryMessageHistoryRequest, QueryMessageHistoryResponse, QueryPredefinedFiltersResponse, QueryReactionsRequest, QueryReactionsResponse, QueryRemindersRequest, QueryRemindersResponse, QuerySegmentTargetsRequest, QuerySegmentTargetsResponse, QuerySegmentsRequest, QuerySegmentsResponse, QueryTeamUsageStatsRequest, QueryTeamUsageStatsResponse, QueryThreadsRequest, QueryThreadsResponse, Response, SearchPayload, SearchResponse, SendEventRequest, SendMessageRequest, SendMessageResponse, SendReactionRequest, SendReactionResponse, SendUserCustomEventRequest, SetRetentionPolicyRequest, SetRetentionPolicyResponse, ShowChannelRequest, ShowChannelResponse, SortParamRequest, StartCampaignRequest, StartCampaignResponse, StopCampaignRequest, TranslateMessageRequest, TranslateMessageResponse, TruncateChannelRequest, TruncateChannelResponse, UndeleteMessageRequest, UndeleteMessageResponse, UnmuteChannelRequest, UnmuteResponse, UnreadCountsBatchRequest, UnreadCountsBatchResponse, UpdateCampaignRequest, UpdateChannelPartialRequest, UpdateChannelPartialResponse, UpdateChannelRequest, UpdateChannelResponse, UpdateChannelTypeRequest, UpdateChannelTypeResponse, UpdateCommandRequest, UpdateCommandResponse, UpdateMemberPartialRequest, UpdateMemberPartialResponse, UpdateMessagePartialRequest, UpdateMessagePartialResponse, UpdateMessageRequest, UpdateMessageResponse, UpdatePredefinedFilterRequest, UpdatePredefinedFilterResponse, UpdateReminderRequest, UpdateReminderResponse, UpdateSegmentRequest, UpdateSegmentResponse, UpdateThreadPartialRequest, UpdateThreadPartialResponse, UploadChannelFileRequest, UploadChannelFileResponse, UploadChannelRequest, UploadChannelResponse, WrappedUnreadCountsResponse } from '../models';
|
|
3
3
|
export declare class ChatApi {
|
|
4
4
|
readonly apiClient: ApiClient;
|
|
5
5
|
constructor(apiClient: ApiClient);
|
|
@@ -224,7 +224,7 @@ export declare class ChatApi {
|
|
|
224
224
|
}): Promise<StreamResponse<QueryReactionsResponse>>;
|
|
225
225
|
translateMessage(request: TranslateMessageRequest & {
|
|
226
226
|
id: string;
|
|
227
|
-
}): Promise<StreamResponse<
|
|
227
|
+
}): Promise<StreamResponse<TranslateMessageResponse>>;
|
|
228
228
|
undeleteMessage(request: UndeleteMessageRequest & {
|
|
229
229
|
id: string;
|
|
230
230
|
}): Promise<StreamResponse<UndeleteMessageResponse>>;
|
|
@@ -29,8 +29,19 @@ export interface AITextConfig {
|
|
|
29
29
|
export interface AIVideoConfig {
|
|
30
30
|
async?: boolean;
|
|
31
31
|
enabled?: boolean;
|
|
32
|
+
provider?: string;
|
|
32
33
|
rules?: Array<AWSRekognitionRule>;
|
|
33
34
|
}
|
|
35
|
+
export interface AIVideoConfigRequest {
|
|
36
|
+
async?: boolean;
|
|
37
|
+
enabled?: boolean;
|
|
38
|
+
rules?: Array<AWSRekognitionRule>;
|
|
39
|
+
}
|
|
40
|
+
export interface AIVideoConfigResponse {
|
|
41
|
+
enabled: boolean;
|
|
42
|
+
rules: Array<AWSRekognitionRule>;
|
|
43
|
+
async?: boolean;
|
|
44
|
+
}
|
|
34
45
|
export interface APIError {
|
|
35
46
|
/**
|
|
36
47
|
* API error code
|
|
@@ -136,7 +147,7 @@ export interface AcceptFollowRequest {
|
|
|
136
147
|
*/
|
|
137
148
|
target: string;
|
|
138
149
|
/**
|
|
139
|
-
* Optional role for the follower in the follow relationship. Server-side only
|
|
150
|
+
* Optional role for the follower in the follow relationship. Server-side only. Either a built-in ('feed_follower' (the default) or 'feed_member_viewer') or any role your app has defined; grants are not inspected.
|
|
140
151
|
*/
|
|
141
152
|
follower_role?: string;
|
|
142
153
|
}
|
|
@@ -410,6 +421,20 @@ export interface ActivityPinnedEvent {
|
|
|
410
421
|
received_at?: Date;
|
|
411
422
|
user?: UserResponseCommonFields;
|
|
412
423
|
}
|
|
424
|
+
export interface ActivityProcessingConfig {
|
|
425
|
+
/**
|
|
426
|
+
* When true, this feed group's allowed_tags is given to the model as a constrained vocabulary so it maps its own wording onto a configured tag instead of that output being discarded. Improves how often a tag is produced, at the cost of sending the list on every request. Scoped to this group's own list: leaving it false keeps this group's tags out of the request even when another feed group on the same activity sets it true. Requires allowed_tags. Off by default.
|
|
427
|
+
*/
|
|
428
|
+
send_allowed_tags_to_ai?: boolean;
|
|
429
|
+
/**
|
|
430
|
+
* When set, the LLM activity processors may only write interest tags from this list. By default the model is not told about the list, so a tag is only written when the model happens to produce that exact word after lower-casing and trimming, which for any vocabulary is often not the case; set send_allowed_tags_to_ai to have the model choose from the list instead. Mutually exclusive with blocked_tags.
|
|
431
|
+
*/
|
|
432
|
+
allowed_tags?: Array<string>;
|
|
433
|
+
/**
|
|
434
|
+
* Interest tags the LLM activity processors are never allowed to write. Mutually exclusive with allowed_tags.
|
|
435
|
+
*/
|
|
436
|
+
blocked_tags?: Array<string>;
|
|
437
|
+
}
|
|
413
438
|
export interface ActivityProcessorConfig {
|
|
414
439
|
/**
|
|
415
440
|
* Type of activity processor (required)
|
|
@@ -1367,7 +1392,7 @@ export interface AnalyzeRequest {
|
|
|
1367
1392
|
export interface AnalyzeResponse {
|
|
1368
1393
|
duration: string;
|
|
1369
1394
|
/**
|
|
1370
|
-
*
|
|
1395
|
+
* `complete` (all fields screened), `partial` (mix of verdicts and per-field errors), or `pending` (async).
|
|
1371
1396
|
*/
|
|
1372
1397
|
status: string;
|
|
1373
1398
|
/**
|
|
@@ -1422,8 +1447,10 @@ export interface AppResponseFields {
|
|
|
1422
1447
|
max_aggregated_activities_length: number;
|
|
1423
1448
|
member_custom_on_mentioned_users_enabled: boolean;
|
|
1424
1449
|
member_custom_on_messages_enabled: boolean;
|
|
1450
|
+
member_custom_on_typing_events_enabled: boolean;
|
|
1425
1451
|
moderation_audio_call_moderation_enabled: boolean;
|
|
1426
1452
|
moderation_enabled: boolean;
|
|
1453
|
+
moderation_keyframe_video_enabled: boolean;
|
|
1427
1454
|
moderation_llm_configurability_enabled: boolean;
|
|
1428
1455
|
moderation_multitenant_blocklist_enabled: boolean;
|
|
1429
1456
|
moderation_video_call_moderation_enabled: boolean;
|
|
@@ -3763,7 +3790,15 @@ export interface ChannelBatchUpdateRequest {
|
|
|
3763
3790
|
* Filter to apply to the query
|
|
3764
3791
|
*/
|
|
3765
3792
|
filter: Record<string, any>;
|
|
3793
|
+
/**
|
|
3794
|
+
* `updateData` only. Deletes these keys from each channel's existing custom object, leaving every other custom key untouched. Keys are dot-paths; deleting a key that does not exist is a no-op. Cannot be combined with `data.custom`
|
|
3795
|
+
*/
|
|
3796
|
+
custom_unset?: Array<string>;
|
|
3766
3797
|
members?: Array<ChannelBatchMemberRequest>;
|
|
3798
|
+
/**
|
|
3799
|
+
* `updateData` only. Merges these keys into each channel's existing custom object, leaving every other custom key untouched. Keys are dot-paths, so `a.b` sets key `b` inside object `a` (the parent object must already exist). Cannot be combined with `data.custom`
|
|
3800
|
+
*/
|
|
3801
|
+
custom_set?: Record<string, any>;
|
|
3767
3802
|
data?: ChannelDataUpdate;
|
|
3768
3803
|
}
|
|
3769
3804
|
export interface ChannelBatchUpdateResponse {
|
|
@@ -5706,7 +5741,7 @@ export interface ConfigResponse {
|
|
|
5706
5741
|
*/
|
|
5707
5742
|
ai_image_subclassifications?: Record<string, Array<string>>;
|
|
5708
5743
|
ai_text_config?: AITextConfig;
|
|
5709
|
-
ai_video_config?:
|
|
5744
|
+
ai_video_config?: AIVideoConfigResponse;
|
|
5710
5745
|
automod_platform_circumvention_config?: AutomodPlatformCircumventionConfig;
|
|
5711
5746
|
automod_semantic_filters_config?: AutomodSemanticFiltersConfig;
|
|
5712
5747
|
automod_toxicity_config?: AutomodToxicityConfig;
|
|
@@ -6156,6 +6191,9 @@ export interface CreateFeedGroupRequest {
|
|
|
6156
6191
|
* Unique identifier for the feed group
|
|
6157
6192
|
*/
|
|
6158
6193
|
id: string;
|
|
6194
|
+
/**
|
|
6195
|
+
* Role new followers of feeds in this group are given. Either a built-in (feed_follower, feed_member_viewer) or any role your app has defined. Empty means feed_follower. Applied when the follow is accepted, so a follow that starts pending picks it up on approval
|
|
6196
|
+
*/
|
|
6159
6197
|
default_follower_role?: string;
|
|
6160
6198
|
/**
|
|
6161
6199
|
* Default visibility for the feed group, can be 'public', 'visible', 'followers', 'members', or 'private'. Defaults to 'visible' if not provided.
|
|
@@ -6170,6 +6208,7 @@ export interface CreateFeedGroupRequest {
|
|
|
6170
6208
|
*/
|
|
6171
6209
|
activity_selectors?: Array<ActivitySelectorConfig>;
|
|
6172
6210
|
activity_filter?: ActivityFilterConfig;
|
|
6211
|
+
activity_processing?: ActivityProcessingConfig;
|
|
6173
6212
|
aggregation?: AggregationConfig;
|
|
6174
6213
|
/**
|
|
6175
6214
|
* Custom data for the feed group
|
|
@@ -7932,7 +7971,7 @@ export interface FeedGroupResponse {
|
|
|
7932
7971
|
*/
|
|
7933
7972
|
updated_at: Date;
|
|
7934
7973
|
/**
|
|
7935
|
-
* Role new followers of feeds in this group are given.
|
|
7974
|
+
* Role new followers of feeds in this group are given. Either a built-in (feed_follower, feed_member_viewer) or any role your app has defined. Empty means feed_follower. Applied when the follow is accepted, so a follow that starts pending picks it up on approval
|
|
7936
7975
|
*/
|
|
7937
7976
|
default_follower_role?: string;
|
|
7938
7977
|
/**
|
|
@@ -7949,6 +7988,7 @@ export interface FeedGroupResponse {
|
|
|
7949
7988
|
*/
|
|
7950
7989
|
activity_selectors?: Array<ActivitySelectorConfigResponse>;
|
|
7951
7990
|
activity_filter?: ActivityFilterConfig;
|
|
7991
|
+
activity_processing?: ActivityProcessingConfig;
|
|
7952
7992
|
aggregation?: AggregationConfig;
|
|
7953
7993
|
/**
|
|
7954
7994
|
* Custom data for the feed group
|
|
@@ -8949,7 +8989,7 @@ export interface FollowResponse {
|
|
|
8949
8989
|
*/
|
|
8950
8990
|
created_at: Date;
|
|
8951
8991
|
/**
|
|
8952
|
-
* Role of the follower (source user) in the follow relationship, as stored. A
|
|
8992
|
+
* Role of the follower (source user) in the follow relationship, as stored. A reserved name, or a role your app no longer defines, is reported as stored but evaluated as 'feed_follower'.
|
|
8953
8993
|
*/
|
|
8954
8994
|
follower_role: string;
|
|
8955
8995
|
/**
|
|
@@ -9561,6 +9601,9 @@ export interface GetOrCreateCallResponse {
|
|
|
9561
9601
|
call: CallResponse;
|
|
9562
9602
|
}
|
|
9563
9603
|
export interface GetOrCreateFeedGroupRequest {
|
|
9604
|
+
/**
|
|
9605
|
+
* Role new followers of feeds in this group are given. Either a built-in (feed_follower, feed_member_viewer) or any role your app has defined. Empty means feed_follower. Applied when the follow is accepted, so a follow that starts pending picks it up on approval
|
|
9606
|
+
*/
|
|
9564
9607
|
default_follower_role?: string;
|
|
9565
9608
|
/**
|
|
9566
9609
|
* Default visibility for the feed group, can be 'public', 'visible', 'followers', 'members', or 'private'. Defaults to 'visible' if not provided.
|
|
@@ -9575,6 +9618,7 @@ export interface GetOrCreateFeedGroupRequest {
|
|
|
9575
9618
|
*/
|
|
9576
9619
|
activity_selectors?: Array<ActivitySelectorConfig>;
|
|
9577
9620
|
activity_filter?: ActivityFilterConfig;
|
|
9621
|
+
activity_processing?: ActivityProcessingConfig;
|
|
9578
9622
|
aggregation?: AggregationConfig;
|
|
9579
9623
|
/**
|
|
9580
9624
|
* Custom data for the feed group
|
|
@@ -12230,6 +12274,7 @@ export interface ModerationDashboardPreferences {
|
|
|
12230
12274
|
custom_views_enabled?: boolean;
|
|
12231
12275
|
disable_audit_logs?: boolean;
|
|
12232
12276
|
disable_flagging_reviewed_entity?: boolean;
|
|
12277
|
+
enforce_shadow_server_side?: boolean;
|
|
12233
12278
|
escalation_queue_enabled?: boolean;
|
|
12234
12279
|
flag_user_on_flagged_content?: boolean;
|
|
12235
12280
|
include_attachment_payload?: boolean;
|
|
@@ -12248,6 +12293,7 @@ export interface ModerationFlagResponse {
|
|
|
12248
12293
|
updated_at: Date;
|
|
12249
12294
|
user_id: string;
|
|
12250
12295
|
result: Array<Record<string, any>>;
|
|
12296
|
+
content_published_at?: Date;
|
|
12251
12297
|
entity_creator_id?: string;
|
|
12252
12298
|
reason?: string;
|
|
12253
12299
|
review_queue_item_id?: string;
|
|
@@ -18031,6 +18077,16 @@ export interface TranslateMessageRequest {
|
|
|
18031
18077
|
*/
|
|
18032
18078
|
language: 'af' | 'sq' | 'am' | 'ar' | 'az' | 'bn' | 'bs' | 'bg' | 'zh' | 'zh-TW' | 'hr' | 'cs' | 'da' | 'fa-AF' | 'nl' | 'en' | 'et' | 'fi' | 'fr' | 'fr-CA' | 'ka' | 'de' | 'el' | 'ha' | 'he' | 'hi' | 'hu' | 'id' | 'it' | 'ja' | 'ko' | 'lv' | 'ms' | 'no' | 'fa' | 'ps' | 'pl' | 'pt' | 'ro' | 'ru' | 'sr' | 'sk' | 'sl' | 'so' | 'es' | 'es-MX' | 'sw' | 'sv' | 'tl' | 'ta' | 'th' | 'tr' | 'uk' | 'ur' | 'vi' | 'lt' | 'ht';
|
|
18033
18079
|
}
|
|
18080
|
+
export interface TranslateMessageResponse {
|
|
18081
|
+
/**
|
|
18082
|
+
* Duration of the request in milliseconds
|
|
18083
|
+
*/
|
|
18084
|
+
duration: string;
|
|
18085
|
+
/**
|
|
18086
|
+
* Represents any chat message
|
|
18087
|
+
*/
|
|
18088
|
+
message: MessageResponse;
|
|
18089
|
+
}
|
|
18034
18090
|
export interface TranslationSettings {
|
|
18035
18091
|
enabled?: boolean;
|
|
18036
18092
|
languages?: Array<string>;
|
|
@@ -18522,6 +18578,7 @@ export interface UpdateAppRequest {
|
|
|
18522
18578
|
max_aggregated_activities_length?: number;
|
|
18523
18579
|
member_custom_on_mentioned_users_enabled?: boolean;
|
|
18524
18580
|
member_custom_on_messages_enabled?: boolean;
|
|
18581
|
+
member_custom_on_typing_events_enabled?: boolean;
|
|
18525
18582
|
migrate_permissions_to_v2?: boolean;
|
|
18526
18583
|
moderation_analytics_enabled?: boolean;
|
|
18527
18584
|
moderation_enabled?: boolean;
|
|
@@ -19109,7 +19166,13 @@ export interface UpdateExternalStorageResponse {
|
|
|
19109
19166
|
type: 's3' | 'gcs' | 'abs';
|
|
19110
19167
|
}
|
|
19111
19168
|
export interface UpdateFeedGroupRequest {
|
|
19169
|
+
/**
|
|
19170
|
+
* Role new followers of feeds in this group are given. Either a built-in (feed_follower, feed_member_viewer) or any role your app has defined. Empty means feed_follower. Applied when the follow is accepted, so a follow that starts pending picks it up on approval
|
|
19171
|
+
*/
|
|
19112
19172
|
default_follower_role?: string;
|
|
19173
|
+
/**
|
|
19174
|
+
* Default visibility for the feed group. One of: public, visible, followers, members, private
|
|
19175
|
+
*/
|
|
19113
19176
|
default_visibility?: 'public' | 'visible' | 'followers' | 'members' | 'private';
|
|
19114
19177
|
/**
|
|
19115
19178
|
* Configuration for activity processors
|
|
@@ -19120,6 +19183,7 @@ export interface UpdateFeedGroupRequest {
|
|
|
19120
19183
|
*/
|
|
19121
19184
|
activity_selectors?: Array<ActivitySelectorConfig>;
|
|
19122
19185
|
activity_filter?: ActivityFilterConfig;
|
|
19186
|
+
activity_processing?: ActivityProcessingConfig;
|
|
19123
19187
|
aggregation?: AggregationConfig;
|
|
19124
19188
|
/**
|
|
19125
19189
|
* Custom data for the feed group
|
|
@@ -19244,7 +19308,7 @@ export interface UpdateFollowRequest {
|
|
|
19244
19308
|
*/
|
|
19245
19309
|
enrich_own_fields?: boolean;
|
|
19246
19310
|
/**
|
|
19247
|
-
* Optional role for the follower in the follow relationship. Server-side only
|
|
19311
|
+
* Optional role for the follower in the follow relationship. Server-side only. Either a built-in ('feed_follower' (the default) or 'feed_member_viewer') or any role your app has defined; grants are not inspected.
|
|
19248
19312
|
*/
|
|
19249
19313
|
follower_role?: string;
|
|
19250
19314
|
/**
|
|
@@ -19673,6 +19737,10 @@ export interface UpdateUsersResponse {
|
|
|
19673
19737
|
* Duration of the request in milliseconds
|
|
19674
19738
|
*/
|
|
19675
19739
|
duration: string;
|
|
19740
|
+
/**
|
|
19741
|
+
* @deprecated
|
|
19742
|
+
* Deprecated: always empty. Removing a user from a team no longer deletes their memberships in that team's channels, so there is no task to poll
|
|
19743
|
+
*/
|
|
19676
19744
|
membership_deletion_task_id: string;
|
|
19677
19745
|
/**
|
|
19678
19746
|
* Object containing users
|
|
@@ -19859,7 +19927,7 @@ export interface UpsertConfigRequest {
|
|
|
19859
19927
|
ai_audio_config?: AIAudioConfigRequest;
|
|
19860
19928
|
ai_image_config?: AIImageConfig;
|
|
19861
19929
|
ai_text_config?: AITextConfig;
|
|
19862
|
-
ai_video_config?:
|
|
19930
|
+
ai_video_config?: AIVideoConfigRequest;
|
|
19863
19931
|
automod_platform_circumvention_config?: AutomodPlatformCircumventionConfig;
|
|
19864
19932
|
automod_semantic_filters_config?: AutomodSemanticFiltersConfig;
|
|
19865
19933
|
automod_toxicity_config?: AutomodToxicityConfig;
|
package/package.json
CHANGED
package/src/gen/chat/ChatApi.ts
CHANGED
|
@@ -113,6 +113,7 @@ import {
|
|
|
113
113
|
StartCampaignResponse,
|
|
114
114
|
StopCampaignRequest,
|
|
115
115
|
TranslateMessageRequest,
|
|
116
|
+
TranslateMessageResponse,
|
|
116
117
|
TruncateChannelRequest,
|
|
117
118
|
TruncateChannelResponse,
|
|
118
119
|
UndeleteMessageRequest,
|
|
@@ -390,7 +391,9 @@ export class ChatApi {
|
|
|
390
391
|
const body = {
|
|
391
392
|
operation: request?.operation,
|
|
392
393
|
filter: request?.filter,
|
|
394
|
+
custom_unset: request?.custom_unset,
|
|
393
395
|
members: request?.members,
|
|
396
|
+
custom_set: request?.custom_set,
|
|
394
397
|
data: request?.data,
|
|
395
398
|
};
|
|
396
399
|
|
|
@@ -1865,7 +1868,7 @@ export class ChatApi {
|
|
|
1865
1868
|
|
|
1866
1869
|
async translateMessage(
|
|
1867
1870
|
request: TranslateMessageRequest & { id: string },
|
|
1868
|
-
): Promise<StreamResponse<
|
|
1871
|
+
): Promise<StreamResponse<TranslateMessageResponse>> {
|
|
1869
1872
|
const pathParams = {
|
|
1870
1873
|
id: request?.id,
|
|
1871
1874
|
};
|
|
@@ -1874,7 +1877,7 @@ export class ChatApi {
|
|
|
1874
1877
|
};
|
|
1875
1878
|
|
|
1876
1879
|
const response = await this.apiClient.sendRequest<
|
|
1877
|
-
StreamResponse<
|
|
1880
|
+
StreamResponse<TranslateMessageResponse>
|
|
1878
1881
|
>(
|
|
1879
1882
|
'POST',
|
|
1880
1883
|
'/api/v2/chat/messages/{id}/translate',
|
|
@@ -1884,7 +1887,7 @@ export class ChatApi {
|
|
|
1884
1887
|
'application/json',
|
|
1885
1888
|
);
|
|
1886
1889
|
|
|
1887
|
-
decoders['
|
|
1890
|
+
decoders['TranslateMessageResponse']?.(response.body);
|
|
1888
1891
|
|
|
1889
1892
|
return { ...response.body, metadata: response.metadata };
|
|
1890
1893
|
}
|
|
@@ -160,6 +160,8 @@ export class CommonApi {
|
|
|
160
160
|
request?.member_custom_on_mentioned_users_enabled,
|
|
161
161
|
member_custom_on_messages_enabled:
|
|
162
162
|
request?.member_custom_on_messages_enabled,
|
|
163
|
+
member_custom_on_typing_events_enabled:
|
|
164
|
+
request?.member_custom_on_typing_events_enabled,
|
|
163
165
|
migrate_permissions_to_v2: request?.migrate_permissions_to_v2,
|
|
164
166
|
moderation_analytics_enabled: request?.moderation_analytics_enabled,
|
|
165
167
|
moderation_enabled: request?.moderation_enabled,
|
|
@@ -1720,6 +1720,7 @@ export class FeedsApi {
|
|
|
1720
1720
|
activity_processors: request?.activity_processors,
|
|
1721
1721
|
activity_selectors: request?.activity_selectors,
|
|
1722
1722
|
activity_filter: request?.activity_filter,
|
|
1723
|
+
activity_processing: request?.activity_processing,
|
|
1723
1724
|
aggregation: request?.aggregation,
|
|
1724
1725
|
custom: request?.custom,
|
|
1725
1726
|
notification: request?.notification,
|
|
@@ -2281,6 +2282,7 @@ export class FeedsApi {
|
|
|
2281
2282
|
activity_processors: request?.activity_processors,
|
|
2282
2283
|
activity_selectors: request?.activity_selectors,
|
|
2283
2284
|
activity_filter: request?.activity_filter,
|
|
2285
|
+
activity_processing: request?.activity_processing,
|
|
2284
2286
|
aggregation: request?.aggregation,
|
|
2285
2287
|
custom: request?.custom,
|
|
2286
2288
|
notification: request?.notification,
|
|
@@ -2317,6 +2319,7 @@ export class FeedsApi {
|
|
|
2317
2319
|
activity_processors: request?.activity_processors,
|
|
2318
2320
|
activity_selectors: request?.activity_selectors,
|
|
2319
2321
|
activity_filter: request?.activity_filter,
|
|
2322
|
+
activity_processing: request?.activity_processing,
|
|
2320
2323
|
aggregation: request?.aggregation,
|
|
2321
2324
|
custom: request?.custom,
|
|
2322
2325
|
notification: request?.notification,
|
|
@@ -3837,6 +3837,8 @@ decoders['ModerationFlagResponse'] = (input?: { [key: string]: any }) => {
|
|
|
3837
3837
|
|
|
3838
3838
|
updated_at: { type: 'DatetimeType', isSingle: true },
|
|
3839
3839
|
|
|
3840
|
+
content_published_at: { type: 'DatetimeType', isSingle: true },
|
|
3841
|
+
|
|
3840
3842
|
review_queue_item: { type: 'ReviewQueueItemResponse', isSingle: true },
|
|
3841
3843
|
|
|
3842
3844
|
user: { type: 'UserResponse', isSingle: true },
|
|
@@ -5425,6 +5427,13 @@ decoders['TranslateCommentResponse'] = (input?: { [key: string]: any }) => {
|
|
|
5425
5427
|
return decode(typeMappings, input);
|
|
5426
5428
|
};
|
|
5427
5429
|
|
|
5430
|
+
decoders['TranslateMessageResponse'] = (input?: { [key: string]: any }) => {
|
|
5431
|
+
const typeMappings: TypeMapping = {
|
|
5432
|
+
message: { type: 'MessageResponse', isSingle: true },
|
|
5433
|
+
};
|
|
5434
|
+
return decode(typeMappings, input);
|
|
5435
|
+
};
|
|
5436
|
+
|
|
5428
5437
|
decoders['TruncateChannelResponse'] = (input?: { [key: string]: any }) => {
|
|
5429
5438
|
const typeMappings: TypeMapping = {
|
|
5430
5439
|
channel: { type: 'ChannelResponse', isSingle: true },
|
package/src/gen/models/index.ts
CHANGED
|
@@ -49,9 +49,27 @@ export interface AIVideoConfig {
|
|
|
49
49
|
|
|
50
50
|
enabled?: boolean;
|
|
51
51
|
|
|
52
|
+
provider?: string;
|
|
53
|
+
|
|
52
54
|
rules?: Array<AWSRekognitionRule>;
|
|
53
55
|
}
|
|
54
56
|
|
|
57
|
+
export interface AIVideoConfigRequest {
|
|
58
|
+
async?: boolean;
|
|
59
|
+
|
|
60
|
+
enabled?: boolean;
|
|
61
|
+
|
|
62
|
+
rules?: Array<AWSRekognitionRule>;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export interface AIVideoConfigResponse {
|
|
66
|
+
enabled: boolean;
|
|
67
|
+
|
|
68
|
+
rules: Array<AWSRekognitionRule>;
|
|
69
|
+
|
|
70
|
+
async?: boolean;
|
|
71
|
+
}
|
|
72
|
+
|
|
55
73
|
export interface APIError {
|
|
56
74
|
/**
|
|
57
75
|
* API error code
|
|
@@ -210,7 +228,7 @@ export interface AcceptFollowRequest {
|
|
|
210
228
|
target: string;
|
|
211
229
|
|
|
212
230
|
/**
|
|
213
|
-
* Optional role for the follower in the follow relationship. Server-side only
|
|
231
|
+
* Optional role for the follower in the follow relationship. Server-side only. Either a built-in ('feed_follower' (the default) or 'feed_member_viewer') or any role your app has defined; grants are not inspected.
|
|
214
232
|
*/
|
|
215
233
|
follower_role?: string;
|
|
216
234
|
}
|
|
@@ -590,6 +608,23 @@ export interface ActivityPinnedEvent {
|
|
|
590
608
|
user?: UserResponseCommonFields;
|
|
591
609
|
}
|
|
592
610
|
|
|
611
|
+
export interface ActivityProcessingConfig {
|
|
612
|
+
/**
|
|
613
|
+
* When true, this feed group's allowed_tags is given to the model as a constrained vocabulary so it maps its own wording onto a configured tag instead of that output being discarded. Improves how often a tag is produced, at the cost of sending the list on every request. Scoped to this group's own list: leaving it false keeps this group's tags out of the request even when another feed group on the same activity sets it true. Requires allowed_tags. Off by default.
|
|
614
|
+
*/
|
|
615
|
+
send_allowed_tags_to_ai?: boolean;
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* When set, the LLM activity processors may only write interest tags from this list. By default the model is not told about the list, so a tag is only written when the model happens to produce that exact word after lower-casing and trimming, which for any vocabulary is often not the case; set send_allowed_tags_to_ai to have the model choose from the list instead. Mutually exclusive with blocked_tags.
|
|
619
|
+
*/
|
|
620
|
+
allowed_tags?: Array<string>;
|
|
621
|
+
|
|
622
|
+
/**
|
|
623
|
+
* Interest tags the LLM activity processors are never allowed to write. Mutually exclusive with allowed_tags.
|
|
624
|
+
*/
|
|
625
|
+
blocked_tags?: Array<string>;
|
|
626
|
+
}
|
|
627
|
+
|
|
593
628
|
export interface ActivityProcessorConfig {
|
|
594
629
|
/**
|
|
595
630
|
* Type of activity processor (required)
|
|
@@ -1860,7 +1895,7 @@ export interface AnalyzeResponse {
|
|
|
1860
1895
|
duration: string;
|
|
1861
1896
|
|
|
1862
1897
|
/**
|
|
1863
|
-
*
|
|
1898
|
+
* `complete` (all fields screened), `partial` (mix of verdicts and per-field errors), or `pending` (async).
|
|
1864
1899
|
*/
|
|
1865
1900
|
status: string;
|
|
1866
1901
|
|
|
@@ -1940,10 +1975,14 @@ export interface AppResponseFields {
|
|
|
1940
1975
|
|
|
1941
1976
|
member_custom_on_messages_enabled: boolean;
|
|
1942
1977
|
|
|
1978
|
+
member_custom_on_typing_events_enabled: boolean;
|
|
1979
|
+
|
|
1943
1980
|
moderation_audio_call_moderation_enabled: boolean;
|
|
1944
1981
|
|
|
1945
1982
|
moderation_enabled: boolean;
|
|
1946
1983
|
|
|
1984
|
+
moderation_keyframe_video_enabled: boolean;
|
|
1985
|
+
|
|
1947
1986
|
moderation_llm_configurability_enabled: boolean;
|
|
1948
1987
|
|
|
1949
1988
|
moderation_multitenant_blocklist_enabled: boolean;
|
|
@@ -5398,8 +5437,18 @@ export interface ChannelBatchUpdateRequest {
|
|
|
5398
5437
|
*/
|
|
5399
5438
|
filter: Record<string, any>;
|
|
5400
5439
|
|
|
5440
|
+
/**
|
|
5441
|
+
* `updateData` only. Deletes these keys from each channel's existing custom object, leaving every other custom key untouched. Keys are dot-paths; deleting a key that does not exist is a no-op. Cannot be combined with `data.custom`
|
|
5442
|
+
*/
|
|
5443
|
+
custom_unset?: Array<string>;
|
|
5444
|
+
|
|
5401
5445
|
members?: Array<ChannelBatchMemberRequest>;
|
|
5402
5446
|
|
|
5447
|
+
/**
|
|
5448
|
+
* `updateData` only. Merges these keys into each channel's existing custom object, leaving every other custom key untouched. Keys are dot-paths, so `a.b` sets key `b` inside object `a` (the parent object must already exist). Cannot be combined with `data.custom`
|
|
5449
|
+
*/
|
|
5450
|
+
custom_set?: Record<string, any>;
|
|
5451
|
+
|
|
5403
5452
|
data?: ChannelDataUpdate;
|
|
5404
5453
|
}
|
|
5405
5454
|
|
|
@@ -8133,7 +8182,7 @@ export interface ConfigResponse {
|
|
|
8133
8182
|
|
|
8134
8183
|
ai_text_config?: AITextConfig;
|
|
8135
8184
|
|
|
8136
|
-
ai_video_config?:
|
|
8185
|
+
ai_video_config?: AIVideoConfigResponse;
|
|
8137
8186
|
|
|
8138
8187
|
automod_platform_circumvention_config?: AutomodPlatformCircumventionConfig;
|
|
8139
8188
|
|
|
@@ -8764,6 +8813,9 @@ export interface CreateFeedGroupRequest {
|
|
|
8764
8813
|
*/
|
|
8765
8814
|
id: string;
|
|
8766
8815
|
|
|
8816
|
+
/**
|
|
8817
|
+
* Role new followers of feeds in this group are given. Either a built-in (feed_follower, feed_member_viewer) or any role your app has defined. Empty means feed_follower. Applied when the follow is accepted, so a follow that starts pending picks it up on approval
|
|
8818
|
+
*/
|
|
8767
8819
|
default_follower_role?: string;
|
|
8768
8820
|
|
|
8769
8821
|
/**
|
|
@@ -8785,6 +8837,8 @@ export interface CreateFeedGroupRequest {
|
|
|
8785
8837
|
|
|
8786
8838
|
activity_filter?: ActivityFilterConfig;
|
|
8787
8839
|
|
|
8840
|
+
activity_processing?: ActivityProcessingConfig;
|
|
8841
|
+
|
|
8788
8842
|
aggregation?: AggregationConfig;
|
|
8789
8843
|
|
|
8790
8844
|
/**
|
|
@@ -11166,7 +11220,7 @@ export interface FeedGroupResponse {
|
|
|
11166
11220
|
updated_at: Date;
|
|
11167
11221
|
|
|
11168
11222
|
/**
|
|
11169
|
-
* Role new followers of feeds in this group are given.
|
|
11223
|
+
* Role new followers of feeds in this group are given. Either a built-in (feed_follower, feed_member_viewer) or any role your app has defined. Empty means feed_follower. Applied when the follow is accepted, so a follow that starts pending picks it up on approval
|
|
11170
11224
|
*/
|
|
11171
11225
|
default_follower_role?: string;
|
|
11172
11226
|
|
|
@@ -11191,6 +11245,8 @@ export interface FeedGroupResponse {
|
|
|
11191
11245
|
|
|
11192
11246
|
activity_filter?: ActivityFilterConfig;
|
|
11193
11247
|
|
|
11248
|
+
activity_processing?: ActivityProcessingConfig;
|
|
11249
|
+
|
|
11194
11250
|
aggregation?: AggregationConfig;
|
|
11195
11251
|
|
|
11196
11252
|
/**
|
|
@@ -12635,7 +12691,7 @@ export interface FollowResponse {
|
|
|
12635
12691
|
created_at: Date;
|
|
12636
12692
|
|
|
12637
12693
|
/**
|
|
12638
|
-
* Role of the follower (source user) in the follow relationship, as stored. A
|
|
12694
|
+
* Role of the follower (source user) in the follow relationship, as stored. A reserved name, or a role your app no longer defines, is reported as stored but evaluated as 'feed_follower'.
|
|
12639
12695
|
*/
|
|
12640
12696
|
follower_role: string;
|
|
12641
12697
|
|
|
@@ -13546,6 +13602,9 @@ export interface GetOrCreateCallResponse {
|
|
|
13546
13602
|
}
|
|
13547
13603
|
|
|
13548
13604
|
export interface GetOrCreateFeedGroupRequest {
|
|
13605
|
+
/**
|
|
13606
|
+
* Role new followers of feeds in this group are given. Either a built-in (feed_follower, feed_member_viewer) or any role your app has defined. Empty means feed_follower. Applied when the follow is accepted, so a follow that starts pending picks it up on approval
|
|
13607
|
+
*/
|
|
13549
13608
|
default_follower_role?: string;
|
|
13550
13609
|
|
|
13551
13610
|
/**
|
|
@@ -13567,6 +13626,8 @@ export interface GetOrCreateFeedGroupRequest {
|
|
|
13567
13626
|
|
|
13568
13627
|
activity_filter?: ActivityFilterConfig;
|
|
13569
13628
|
|
|
13629
|
+
activity_processing?: ActivityProcessingConfig;
|
|
13630
|
+
|
|
13570
13631
|
aggregation?: AggregationConfig;
|
|
13571
13632
|
|
|
13572
13633
|
/**
|
|
@@ -17210,6 +17271,8 @@ export interface ModerationDashboardPreferences {
|
|
|
17210
17271
|
|
|
17211
17272
|
disable_flagging_reviewed_entity?: boolean;
|
|
17212
17273
|
|
|
17274
|
+
enforce_shadow_server_side?: boolean;
|
|
17275
|
+
|
|
17213
17276
|
escalation_queue_enabled?: boolean;
|
|
17214
17277
|
|
|
17215
17278
|
flag_user_on_flagged_content?: boolean;
|
|
@@ -17244,6 +17307,8 @@ export interface ModerationFlagResponse {
|
|
|
17244
17307
|
|
|
17245
17308
|
result: Array<Record<string, any>>;
|
|
17246
17309
|
|
|
17310
|
+
content_published_at?: Date;
|
|
17311
|
+
|
|
17247
17312
|
entity_creator_id?: string;
|
|
17248
17313
|
|
|
17249
17314
|
reason?: string;
|
|
@@ -25640,6 +25705,18 @@ export interface TranslateMessageRequest {
|
|
|
25640
25705
|
| 'ht';
|
|
25641
25706
|
}
|
|
25642
25707
|
|
|
25708
|
+
export interface TranslateMessageResponse {
|
|
25709
|
+
/**
|
|
25710
|
+
* Duration of the request in milliseconds
|
|
25711
|
+
*/
|
|
25712
|
+
duration: string;
|
|
25713
|
+
|
|
25714
|
+
/**
|
|
25715
|
+
* Represents any chat message
|
|
25716
|
+
*/
|
|
25717
|
+
message: MessageResponse;
|
|
25718
|
+
}
|
|
25719
|
+
|
|
25643
25720
|
export interface TranslationSettings {
|
|
25644
25721
|
enabled?: boolean;
|
|
25645
25722
|
|
|
@@ -26296,6 +26373,8 @@ export interface UpdateAppRequest {
|
|
|
26296
26373
|
|
|
26297
26374
|
member_custom_on_messages_enabled?: boolean;
|
|
26298
26375
|
|
|
26376
|
+
member_custom_on_typing_events_enabled?: boolean;
|
|
26377
|
+
|
|
26299
26378
|
migrate_permissions_to_v2?: boolean;
|
|
26300
26379
|
|
|
26301
26380
|
moderation_analytics_enabled?: boolean;
|
|
@@ -27152,8 +27231,15 @@ export interface UpdateExternalStorageResponse {
|
|
|
27152
27231
|
}
|
|
27153
27232
|
|
|
27154
27233
|
export interface UpdateFeedGroupRequest {
|
|
27234
|
+
/**
|
|
27235
|
+
* Role new followers of feeds in this group are given. Either a built-in (feed_follower, feed_member_viewer) or any role your app has defined. Empty means feed_follower. Applied when the follow is accepted, so a follow that starts pending picks it up on approval
|
|
27236
|
+
*/
|
|
27155
27237
|
default_follower_role?: string;
|
|
27156
27238
|
|
|
27239
|
+
/**
|
|
27240
|
+
* Default visibility for the feed group. One of: public, visible, followers, members, private
|
|
27241
|
+
*/
|
|
27242
|
+
|
|
27157
27243
|
default_visibility?:
|
|
27158
27244
|
'public' | 'visible' | 'followers' | 'members' | 'private';
|
|
27159
27245
|
|
|
@@ -27169,6 +27255,8 @@ export interface UpdateFeedGroupRequest {
|
|
|
27169
27255
|
|
|
27170
27256
|
activity_filter?: ActivityFilterConfig;
|
|
27171
27257
|
|
|
27258
|
+
activity_processing?: ActivityProcessingConfig;
|
|
27259
|
+
|
|
27172
27260
|
aggregation?: AggregationConfig;
|
|
27173
27261
|
|
|
27174
27262
|
/**
|
|
@@ -27336,7 +27424,7 @@ export interface UpdateFollowRequest {
|
|
|
27336
27424
|
enrich_own_fields?: boolean;
|
|
27337
27425
|
|
|
27338
27426
|
/**
|
|
27339
|
-
* Optional role for the follower in the follow relationship. Server-side only
|
|
27427
|
+
* Optional role for the follower in the follow relationship. Server-side only. Either a built-in ('feed_follower' (the default) or 'feed_member_viewer') or any role your app has defined; grants are not inspected.
|
|
27340
27428
|
*/
|
|
27341
27429
|
follower_role?: string;
|
|
27342
27430
|
|
|
@@ -27888,6 +27976,10 @@ export interface UpdateUsersResponse {
|
|
|
27888
27976
|
*/
|
|
27889
27977
|
duration: string;
|
|
27890
27978
|
|
|
27979
|
+
/**
|
|
27980
|
+
* @deprecated
|
|
27981
|
+
* Deprecated: always empty. Removing a user from a team no longer deletes their memberships in that team's channels, so there is no task to poll
|
|
27982
|
+
*/
|
|
27891
27983
|
membership_deletion_task_id: string;
|
|
27892
27984
|
|
|
27893
27985
|
/**
|
|
@@ -28132,7 +28224,7 @@ export interface UpsertConfigRequest {
|
|
|
28132
28224
|
|
|
28133
28225
|
ai_text_config?: AITextConfig;
|
|
28134
28226
|
|
|
28135
|
-
ai_video_config?:
|
|
28227
|
+
ai_video_config?: AIVideoConfigRequest;
|
|
28136
28228
|
|
|
28137
28229
|
automod_platform_circumvention_config?: AutomodPlatformCircumventionConfig;
|
|
28138
28230
|
|