@stream-io/node-sdk 0.7.44 → 0.7.46

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.
@@ -8,6 +8,16 @@ export interface AIImageConfig {
8
8
  rules?: AWSRekognitionRule[];
9
9
  }
10
10
 
11
+ export interface AIImageLabelDefinition {
12
+ description: string;
13
+
14
+ group: string;
15
+
16
+ key: string;
17
+
18
+ label: string;
19
+ }
20
+
11
21
  export interface AITextConfig {
12
22
  async?: boolean;
13
23
 
@@ -131,7 +141,7 @@ export interface AWSRekognitionRule {
131
141
 
132
142
  min_confidence: number;
133
143
 
134
- subclassifications?: Record<string, boolean>;
144
+ subclassifications?: Record<string, any>;
135
145
  }
136
146
 
137
147
  export interface AcceptFeedMemberInviteRequest {
@@ -617,6 +627,8 @@ export interface ActivityResponse {
617
627
 
618
628
  location?: ActivityLocation;
619
629
 
630
+ metrics?: Record<string, number>;
631
+
620
632
  moderation?: ModerationV2Response;
621
633
 
622
634
  notification_context?: NotificationContext;
@@ -624,6 +636,8 @@ export interface ActivityResponse {
624
636
  parent?: ActivityResponse;
625
637
 
626
638
  poll?: PollResponseData;
639
+
640
+ score_vars?: Record<string, any>;
627
641
  }
628
642
 
629
643
  export interface ActivityRestoredEvent {
@@ -1049,6 +1063,8 @@ export interface AppResponseFields {
1049
1063
 
1050
1064
  before_message_send_hook_url?: string;
1051
1065
 
1066
+ moderation_s3_image_access_role_arn?: string;
1067
+
1052
1068
  revoke_tokens_issued_before?: Date;
1053
1069
 
1054
1070
  allowed_flag_reasons?: string[];
@@ -1057,6 +1073,8 @@ export interface AppResponseFields {
1057
1073
 
1058
1074
  image_moderation_labels?: string[];
1059
1075
 
1076
+ activity_metrics_config?: Record<string, number>;
1077
+
1060
1078
  datadog_info?: DataDogInfo;
1061
1079
 
1062
1080
  moderation_dashboard_preferences?: ModerationDashboardPreferences;
@@ -1433,6 +1451,8 @@ export interface BackstageSettingsResponse {
1433
1451
  export interface BanActionRequestPayload {
1434
1452
  channel_ban_only?: boolean;
1435
1453
 
1454
+ channel_cid?: string;
1455
+
1436
1456
  delete_messages?: 'soft' | 'pruning' | 'hard';
1437
1457
 
1438
1458
  ip_ban?: boolean;
@@ -1517,6 +1537,8 @@ export interface BlockListConfig {
1517
1537
 
1518
1538
  enabled?: boolean;
1519
1539
 
1540
+ match_substring?: boolean;
1541
+
1520
1542
  rules?: BlockListRule[];
1521
1543
  }
1522
1544
 
@@ -1922,6 +1944,8 @@ export interface CallEndedEvent {
1922
1944
 
1923
1945
  reason?: string;
1924
1946
 
1947
+ members?: MemberResponse[];
1948
+
1925
1949
  user?: UserResponse;
1926
1950
  }
1927
1951
 
@@ -3067,6 +3091,12 @@ export interface ChannelBatchCompletedEvent {
3067
3091
  received_at?: Date;
3068
3092
  }
3069
3093
 
3094
+ export interface ChannelBatchMemberRequest {
3095
+ user_id: string;
3096
+
3097
+ channel_role?: string;
3098
+ }
3099
+
3070
3100
  export interface ChannelBatchStartedEvent {
3071
3101
  batch_created_at: Date;
3072
3102
 
@@ -3091,6 +3121,34 @@ export interface ChannelBatchStartedEvent {
3091
3121
  received_at?: Date;
3092
3122
  }
3093
3123
 
3124
+ export interface ChannelBatchUpdateRequest {
3125
+ operation:
3126
+ | 'addMembers'
3127
+ | 'removeMembers'
3128
+ | 'inviteMembers'
3129
+ | 'invites'
3130
+ | 'assignRoles'
3131
+ | 'addModerators'
3132
+ | 'demoteModerators'
3133
+ | 'hide'
3134
+ | 'show'
3135
+ | 'archive'
3136
+ | 'unarchive'
3137
+ | 'updateData';
3138
+
3139
+ filter: Record<string, any>;
3140
+
3141
+ members?: ChannelBatchMemberRequest[];
3142
+
3143
+ data?: ChannelDataUpdate;
3144
+ }
3145
+
3146
+ export interface ChannelBatchUpdateResponse {
3147
+ duration: string;
3148
+
3149
+ task_id?: string;
3150
+ }
3151
+
3094
3152
  export interface ChannelConfig {
3095
3153
  automod: 'disabled' | 'simple' | 'AI';
3096
3154
 
@@ -3161,6 +3219,8 @@ export interface ChannelConfig {
3161
3219
  blocklists?: BlockListOptions[];
3162
3220
 
3163
3221
  automod_thresholds?: Thresholds;
3222
+
3223
+ chat_preferences?: ChatPreferences;
3164
3224
  }
3165
3225
 
3166
3226
  export interface ChannelConfigWithInfo {
@@ -3234,6 +3294,8 @@ export interface ChannelConfigWithInfo {
3234
3294
 
3235
3295
  automod_thresholds?: Thresholds;
3236
3296
 
3297
+ chat_preferences?: ChatPreferences;
3298
+
3237
3299
  grants?: Record<string, string[]>;
3238
3300
  }
3239
3301
 
@@ -3265,6 +3327,22 @@ export interface ChannelCreatedEvent {
3265
3327
  user?: UserResponseCommonFields;
3266
3328
  }
3267
3329
 
3330
+ export interface ChannelDataUpdate {
3331
+ auto_translation_enabled?: boolean;
3332
+
3333
+ auto_translation_language?: string;
3334
+
3335
+ disabled?: boolean;
3336
+
3337
+ frozen?: boolean;
3338
+
3339
+ team?: string;
3340
+
3341
+ config_overrides?: ChannelConfig;
3342
+
3343
+ custom?: Record<string, any>;
3344
+ }
3345
+
3268
3346
  export interface ChannelDeletedEvent {
3269
3347
  created_at: Date;
3270
3348
 
@@ -3551,6 +3629,8 @@ export interface ChannelPushPreferencesResponse {
3551
3629
  chat_level?: string;
3552
3630
 
3553
3631
  disabled_until?: Date;
3632
+
3633
+ chat_preferences?: ChatPreferencesResponse;
3554
3634
  }
3555
3635
 
3556
3636
  export interface ChannelResponse {
@@ -3783,6 +3863,8 @@ export interface ChannelTypeConfig {
3783
3863
  blocklists?: BlockListOptions[];
3784
3864
 
3785
3865
  automod_thresholds?: Thresholds;
3866
+
3867
+ chat_preferences?: ChatPreferences;
3786
3868
  }
3787
3869
 
3788
3870
  export interface ChannelUnFrozenEvent {
@@ -3881,6 +3963,56 @@ export interface ChatActivityStatsResponse {
3881
3963
  messages?: MessageStatsResponse;
3882
3964
  }
3883
3965
 
3966
+ export interface ChatPreferences {
3967
+ channel_mentions?: string;
3968
+
3969
+ default_preference?: string;
3970
+
3971
+ direct_mentions?: string;
3972
+
3973
+ distinct_channel_messages?: string;
3974
+
3975
+ group_mentions?: string;
3976
+
3977
+ here_mentions?: string;
3978
+
3979
+ role_mentions?: string;
3980
+
3981
+ thread_replies?: string;
3982
+ }
3983
+
3984
+ export interface ChatPreferencesInput {
3985
+ channel_mentions?: 'all' | 'none';
3986
+
3987
+ default_preference?: 'all' | 'none';
3988
+
3989
+ direct_mentions?: 'all' | 'none';
3990
+
3991
+ group_mentions?: 'all' | 'none';
3992
+
3993
+ here_mentions?: 'all' | 'none';
3994
+
3995
+ role_mentions?: 'all' | 'none';
3996
+
3997
+ thread_replies?: 'all' | 'none';
3998
+ }
3999
+
4000
+ export interface ChatPreferencesResponse {
4001
+ channel_mentions?: string;
4002
+
4003
+ default_preference?: string;
4004
+
4005
+ direct_mentions?: string;
4006
+
4007
+ group_mentions?: string;
4008
+
4009
+ here_mentions?: string;
4010
+
4011
+ role_mentions?: string;
4012
+
4013
+ thread_replies?: string;
4014
+ }
4015
+
3884
4016
  export interface CheckExternalStorageResponse {
3885
4017
  duration: string;
3886
4018
 
@@ -3966,6 +4098,20 @@ export interface CheckResponse {
3966
4098
  task_id?: string;
3967
4099
 
3968
4100
  item?: ReviewQueueItemResponse;
4101
+
4102
+ triggered_rule?: TriggeredRuleResponse;
4103
+ }
4104
+
4105
+ export interface CheckS3AccessRequest {
4106
+ s3_url?: string;
4107
+ }
4108
+
4109
+ export interface CheckS3AccessResponse {
4110
+ duration: string;
4111
+
4112
+ success: boolean;
4113
+
4114
+ message?: string;
3969
4115
  }
3970
4116
 
3971
4117
  export interface CheckSNSRequest {
@@ -4238,6 +4384,24 @@ export interface CommentResponse {
4238
4384
  reaction_groups?: Record<string, FeedsReactionGroupResponse>;
4239
4385
  }
4240
4386
 
4387
+ export interface CommentRestoredEvent {
4388
+ created_at: Date;
4389
+
4390
+ fid: string;
4391
+
4392
+ comment: CommentResponse;
4393
+
4394
+ custom: Record<string, any>;
4395
+
4396
+ type: string;
4397
+
4398
+ feed_visibility?: string;
4399
+
4400
+ received_at?: Date;
4401
+
4402
+ user?: UserResponseCommonFields;
4403
+ }
4404
+
4241
4405
  export interface CommentUpdatedEvent {
4242
4406
  created_at: Date;
4243
4407
 
@@ -4271,6 +4435,8 @@ export interface ConfigOverridesRequest {
4271
4435
 
4272
4436
  max_message_length?: number;
4273
4437
 
4438
+ push_level?: 'all' | 'all_mentions' | 'mentions' | 'direct_mentions' | 'none';
4439
+
4274
4440
  quotes?: boolean;
4275
4441
 
4276
4442
  reactions?: boolean;
@@ -4289,6 +4455,8 @@ export interface ConfigOverridesRequest {
4289
4455
 
4290
4456
  commands?: string[];
4291
4457
 
4458
+ chat_preferences?: ChatPreferences;
4459
+
4292
4460
  grants?: Record<string, string[]>;
4293
4461
  }
4294
4462
 
@@ -4305,6 +4473,8 @@ export interface ConfigResponse {
4305
4473
 
4306
4474
  supported_video_call_harm_types: string[];
4307
4475
 
4476
+ ai_image_label_definitions?: AIImageLabelDefinition[];
4477
+
4308
4478
  ai_image_config?: AIImageConfig;
4309
4479
 
4310
4480
  ai_image_subclassifications?: Record<string, string[]>;
@@ -4465,6 +4635,8 @@ export interface CreateChannelTypeRequest {
4465
4635
 
4466
4636
  permissions?: PolicyRequest[];
4467
4637
 
4638
+ chat_preferences?: ChatPreferences;
4639
+
4468
4640
  grants?: Record<string, string[]>;
4469
4641
  }
4470
4642
 
@@ -4544,6 +4716,8 @@ export interface CreateChannelTypeResponse {
4544
4716
  blocklists?: BlockListOptions[];
4545
4717
 
4546
4718
  automod_thresholds?: Thresholds;
4719
+
4720
+ chat_preferences?: ChatPreferences;
4547
4721
  }
4548
4722
 
4549
4723
  export interface CreateCollectionsRequest {
@@ -4817,6 +4991,10 @@ export interface CreateSIPTrunkRequest {
4817
4991
  name: string;
4818
4992
 
4819
4993
  numbers: string[];
4994
+
4995
+ password?: string;
4996
+
4997
+ allowed_ips?: string[];
4820
4998
  }
4821
4999
 
4822
5000
  export interface CreateSIPTrunkResponse {
@@ -5512,6 +5690,8 @@ export interface EnrichedReaction {
5512
5690
  export interface EnrichmentOptions {
5513
5691
  enrich_own_followings?: boolean;
5514
5692
 
5693
+ include_score_vars?: boolean;
5694
+
5515
5695
  skip_activity?: boolean;
5516
5696
 
5517
5697
  skip_activity_collections?: boolean;
@@ -6326,6 +6506,8 @@ export interface FilterConfigResponse {
6326
6506
  llm_labels: string[];
6327
6507
 
6328
6508
  ai_text_labels?: string[];
6509
+
6510
+ config_keys?: string[];
6329
6511
  }
6330
6512
 
6331
6513
  export interface FirebaseConfig {
@@ -6884,6 +7066,8 @@ export interface GetChannelTypeResponse {
6884
7066
  blocklists?: BlockListOptions[];
6885
7067
 
6886
7068
  automod_thresholds?: Thresholds;
7069
+
7070
+ chat_preferences?: ChatPreferences;
6887
7071
  }
6888
7072
 
6889
7073
  export interface GetCommandResponse {
@@ -8569,6 +8753,8 @@ export interface MessageRequest {
8569
8753
 
8570
8754
  attachments?: Attachment[];
8571
8755
 
8756
+ mentioned_group_ids?: string[];
8757
+
8572
8758
  mentioned_roles?: string[];
8573
8759
 
8574
8760
  mentioned_users?: string[];
@@ -8651,6 +8837,8 @@ export interface MessageResponse {
8651
8837
 
8652
8838
  show_in_channel?: boolean;
8653
8839
 
8840
+ mentioned_group_ids?: string[];
8841
+
8654
8842
  mentioned_roles?: string[];
8655
8843
 
8656
8844
  thread_participants?: UserResponse[];
@@ -8837,6 +9025,8 @@ export interface MessageWithChannelResponse {
8837
9025
 
8838
9026
  show_in_channel?: boolean;
8839
9027
 
9028
+ mentioned_group_ids?: string[];
9029
+
8840
9030
  mentioned_roles?: string[];
8841
9031
 
8842
9032
  thread_participants?: UserResponse[];
@@ -8995,6 +9185,8 @@ export interface ModerationDashboardPreferences {
8995
9185
 
8996
9186
  allowed_moderation_action_reasons?: string[];
8997
9187
 
9188
+ keyframe_classifications_map?: Record<string, Record<string, boolean>>;
9189
+
8998
9190
  overview_dashboard?: OverviewDashboardConfig;
8999
9191
  }
9000
9192
 
@@ -10165,6 +10357,8 @@ export interface PushPreferenceInput {
10165
10357
 
10166
10358
  user_id?: string;
10167
10359
 
10360
+ chat_preferences?: ChatPreferencesInput;
10361
+
10168
10362
  feeds_preferences?: FeedsPreferences;
10169
10363
  }
10170
10364
 
@@ -10177,6 +10371,8 @@ export interface PushPreferencesResponse {
10177
10371
 
10178
10372
  feeds_level?: string;
10179
10373
 
10374
+ chat_preferences?: ChatPreferencesResponse;
10375
+
10180
10376
  feeds_preferences?: FeedsPreferencesResponse;
10181
10377
  }
10182
10378
 
@@ -10802,6 +10998,32 @@ export interface QueryChannelsResponse {
10802
10998
  predefined_filter?: ParsedPredefinedFilterResponse;
10803
10999
  }
10804
11000
 
11001
+ export interface QueryCollectionsRequest {
11002
+ limit?: number;
11003
+
11004
+ next?: string;
11005
+
11006
+ prev?: string;
11007
+
11008
+ user_id?: string;
11009
+
11010
+ sort?: SortParamRequest[];
11011
+
11012
+ filter?: Record<string, any>;
11013
+
11014
+ user?: UserRequest;
11015
+ }
11016
+
11017
+ export interface QueryCollectionsResponse {
11018
+ duration: string;
11019
+
11020
+ collections: CollectionResponse[];
11021
+
11022
+ next?: string;
11023
+
11024
+ prev?: string;
11025
+ }
11026
+
10805
11027
  export interface QueryCommentReactionsRequest {
10806
11028
  limit?: number;
10807
11029
 
@@ -10827,6 +11049,8 @@ export interface QueryCommentReactionsResponse {
10827
11049
  export interface QueryCommentsRequest {
10828
11050
  filter: Record<string, any>;
10829
11051
 
11052
+ id_around?: string;
11053
+
10830
11054
  limit?: number;
10831
11055
 
10832
11056
  next?: string;
@@ -10834,6 +11058,10 @@ export interface QueryCommentsRequest {
10834
11058
  prev?: string;
10835
11059
 
10836
11060
  sort?: 'first' | 'last' | 'top' | 'best' | 'controversial';
11061
+
11062
+ user_id?: string;
11063
+
11064
+ user?: UserRequest;
10837
11065
  }
10838
11066
 
10839
11067
  export interface QueryCommentsResponse {
@@ -11175,14 +11403,20 @@ export interface QueryModerationRulesRequest {
11175
11403
  export interface QueryModerationRulesResponse {
11176
11404
  duration: string;
11177
11405
 
11406
+ ai_image_label_definitions: AIImageLabelDefinition[];
11407
+
11178
11408
  closed_caption_labels: string[];
11179
11409
 
11180
11410
  keyframe_labels: string[];
11181
11411
 
11182
11412
  rules: ModerationRuleV2Response[];
11183
11413
 
11414
+ ai_image_subclassifications: Record<string, string[]>;
11415
+
11184
11416
  default_llm_labels: Record<string, string>;
11185
11417
 
11418
+ keyframe_label_classifications: Record<string, string[]>;
11419
+
11186
11420
  next?: string;
11187
11421
 
11188
11422
  prev?: string;
@@ -11796,10 +12030,6 @@ export interface ReadCollectionsResponse {
11796
12030
  duration: string;
11797
12031
 
11798
12032
  collections: CollectionResponse[];
11799
-
11800
- next?: string;
11801
-
11802
- prev?: string;
11803
12033
  }
11804
12034
 
11805
12035
  export interface ReadReceiptsResponse {
@@ -11988,6 +12218,12 @@ export interface ReminderUpdatedEvent {
11988
12218
  reminder?: ReminderResponseData;
11989
12219
  }
11990
12220
 
12221
+ export interface RemoveUserGroupMembersRequest {
12222
+ member_ids: string[];
12223
+
12224
+ team_id?: string;
12225
+ }
12226
+
11991
12227
  export interface RemoveUserGroupMembersResponse {
11992
12228
  duration: string;
11993
12229
 
@@ -12030,15 +12266,39 @@ export interface ResolutionMetricsTimeSeries {
12030
12266
  width?: MetricTimeSeries;
12031
12267
  }
12032
12268
 
12033
- export interface ResolveSipInboundRequest {
12269
+ export interface ResolveSipAuthRequest {
12034
12270
  sip_caller_number: string;
12035
12271
 
12036
12272
  sip_trunk_number: string;
12037
12273
 
12038
- challenge: SIPChallengeRequest;
12274
+ from_host?: string;
12275
+
12276
+ source_ip?: string;
12277
+ }
12278
+
12279
+ export interface ResolveSipAuthResponse {
12280
+ auth_result: string;
12281
+
12282
+ duration: string;
12283
+
12284
+ password?: string;
12285
+
12286
+ trunk_id?: string;
12287
+
12288
+ username?: string;
12289
+ }
12290
+
12291
+ export interface ResolveSipInboundRequest {
12292
+ sip_caller_number: string;
12293
+
12294
+ sip_trunk_number: string;
12039
12295
 
12040
12296
  routing_number?: string;
12041
12297
 
12298
+ trunk_id?: string;
12299
+
12300
+ challenge?: SIPChallengeRequest;
12301
+
12042
12302
  sip_headers?: Record<string, string>;
12043
12303
  }
12044
12304
 
@@ -12072,6 +12332,20 @@ export interface RestoreActivityResponse {
12072
12332
  activity: ActivityResponse;
12073
12333
  }
12074
12334
 
12335
+ export interface RestoreCommentRequest {
12336
+ user_id?: string;
12337
+
12338
+ user?: UserRequest;
12339
+ }
12340
+
12341
+ export interface RestoreCommentResponse {
12342
+ duration: string;
12343
+
12344
+ activity: ActivityResponse;
12345
+
12346
+ comment: CommentResponse;
12347
+ }
12348
+
12075
12349
  export interface RestoreFeedGroupRequest {}
12076
12350
 
12077
12351
  export interface RestoreFeedGroupResponse {
@@ -12233,6 +12507,8 @@ export interface Role {
12233
12507
  }
12234
12508
 
12235
12509
  export interface RuleBuilderAction {
12510
+ skip_inbox?: boolean;
12511
+
12236
12512
  type?:
12237
12513
  | 'ban_user'
12238
12514
  | 'flag_user'
@@ -12536,6 +12812,8 @@ export interface SIPTrunkResponse {
12536
12812
 
12537
12813
  username: string;
12538
12814
 
12815
+ allowed_ips: string[];
12816
+
12539
12817
  numbers: string[];
12540
12818
  }
12541
12819
 
@@ -12674,6 +12952,8 @@ export interface SearchResultMessage {
12674
12952
 
12675
12953
  show_in_channel?: boolean;
12676
12954
 
12955
+ mentioned_group_ids?: string[];
12956
+
12677
12957
  mentioned_roles?: string[];
12678
12958
 
12679
12959
  thread_participants?: UserResponse[];
@@ -13633,6 +13913,38 @@ export interface ThumbnailsSettingsResponse {
13633
13913
 
13634
13914
  export interface Time {}
13635
13915
 
13916
+ export interface TrackActivityMetricsEvent {
13917
+ activity_id: string;
13918
+
13919
+ metric: string;
13920
+
13921
+ delta?: number;
13922
+ }
13923
+
13924
+ export interface TrackActivityMetricsEventResult {
13925
+ activity_id: string;
13926
+
13927
+ allowed: boolean;
13928
+
13929
+ metric: string;
13930
+
13931
+ error?: string;
13932
+ }
13933
+
13934
+ export interface TrackActivityMetricsRequest {
13935
+ events: TrackActivityMetricsEvent[];
13936
+
13937
+ user_id?: string;
13938
+
13939
+ user?: UserRequest;
13940
+ }
13941
+
13942
+ export interface TrackActivityMetricsResponse {
13943
+ duration: string;
13944
+
13945
+ results: TrackActivityMetricsEventResult[];
13946
+ }
13947
+
13636
13948
  export interface TrackStatsResponse {
13637
13949
  duration_seconds: number;
13638
13950
 
@@ -13853,6 +14165,18 @@ export interface TranslationSettings {
13853
14165
  languages: string[];
13854
14166
  }
13855
14167
 
14168
+ export interface TriggeredRuleResponse {
14169
+ rule_id: string;
14170
+
14171
+ actions: string[];
14172
+
14173
+ rule_name?: string;
14174
+
14175
+ violation_number?: number;
14176
+
14177
+ call_options?: CallActionOptions;
14178
+ }
14179
+
13856
14180
  export interface TruncateChannelRequest {
13857
14181
  hard_delete?: boolean;
13858
14182
 
@@ -14188,6 +14512,8 @@ export interface UpdateAppRequest {
14188
14512
 
14189
14513
  moderation_enabled?: boolean;
14190
14514
 
14515
+ moderation_s3_image_access_role_arn?: string;
14516
+
14191
14517
  moderation_webhook_url?: string;
14192
14518
 
14193
14519
  multi_tenant_enabled?: boolean;
@@ -14228,6 +14554,8 @@ export interface UpdateAppRequest {
14228
14554
 
14229
14555
  webhook_events?: string[];
14230
14556
 
14557
+ activity_metrics_config?: Record<string, number>;
14558
+
14231
14559
  apn_config?: APNConfig;
14232
14560
 
14233
14561
  async_moderation_config?: AsyncModerationConfiguration;
@@ -14494,6 +14822,8 @@ export interface UpdateChannelTypeRequest {
14494
14822
 
14495
14823
  automod_thresholds?: Thresholds;
14496
14824
 
14825
+ chat_preferences?: ChatPreferences;
14826
+
14497
14827
  grants?: Record<string, string[]>;
14498
14828
  }
14499
14829
 
@@ -14573,6 +14903,8 @@ export interface UpdateChannelTypeResponse {
14573
14903
  blocklists?: BlockListOptions[];
14574
14904
 
14575
14905
  automod_thresholds?: Thresholds;
14906
+
14907
+ chat_preferences?: ChatPreferences;
14576
14908
  }
14577
14909
 
14578
14910
  export interface UpdateCollectionRequest {
@@ -14935,12 +15267,12 @@ export interface UpdateReminderResponse {
14935
15267
  export interface UpdateSIPInboundRoutingRuleRequest {
14936
15268
  name: string;
14937
15269
 
14938
- called_numbers: string[];
14939
-
14940
15270
  trunk_ids: string[];
14941
15271
 
14942
15272
  caller_configs: SIPCallerConfigsRequest;
14943
15273
 
15274
+ called_numbers?: string[];
15275
+
14944
15276
  caller_numbers?: string[];
14945
15277
 
14946
15278
  call_configs?: SIPCallConfigsRequest;
@@ -14962,6 +15294,10 @@ export interface UpdateSIPTrunkRequest {
14962
15294
  name: string;
14963
15295
 
14964
15296
  numbers: string[];
15297
+
15298
+ password?: string;
15299
+
15300
+ allowed_ips?: string[];
14965
15301
  }
14966
15302
 
14967
15303
  export interface UpdateSIPTrunkResponse {
@@ -16095,6 +16431,7 @@ export type WHEvent =
16095
16431
  | ({ type: 'feeds.comment.reaction.added' } & CommentReactionAddedEvent)
16096
16432
  | ({ type: 'feeds.comment.reaction.deleted' } & CommentReactionDeletedEvent)
16097
16433
  | ({ type: 'feeds.comment.reaction.updated' } & CommentReactionUpdatedEvent)
16434
+ | ({ type: 'feeds.comment.restored' } & CommentRestoredEvent)
16098
16435
  | ({ type: 'feeds.comment.updated' } & CommentUpdatedEvent)
16099
16436
  | ({ type: 'feeds.feed.created' } & FeedCreatedEvent)
16100
16437
  | ({ type: 'feeds.feed.deleted' } & FeedDeletedEvent)