@stream-io/node-sdk 0.6.3 → 0.6.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.
@@ -2561,7 +2561,9 @@ export interface DeleteFeedGroupResponse {
2561
2561
  duration: string;
2562
2562
  }
2563
2563
  export interface DeleteFeedResponse {
2564
+ delete_feed_task_id: string;
2564
2565
  duration: string;
2566
+ task_id: string;
2565
2567
  }
2566
2568
  export interface DeleteFeedUserDataResponse {
2567
2569
  deleted_activities: number;
@@ -3115,22 +3117,18 @@ export interface FeedViewResponse {
3115
3117
  aggregation?: AggregationConfig;
3116
3118
  ranking?: RankingConfig;
3117
3119
  }
3118
- export interface FeedsEventPreferences {
3119
- comments?: string;
3120
- mentions?: string;
3121
- new_followers?: string;
3122
- reactions?: string;
3123
- }
3124
- export interface FeedsEventPreferencesInput {
3125
- comments?: 'all' | 'none';
3126
- mentions?: 'all' | 'none';
3127
- new_followers?: 'all' | 'none';
3128
- reactions?: 'all' | 'none';
3129
- }
3130
3120
  export interface FeedsModerationTemplateConfig {
3131
3121
  config_key: string;
3132
3122
  data_types: Record<string, string>;
3133
3123
  }
3124
+ export interface FeedsPreferences {
3125
+ comment?: string;
3126
+ comment_reaction?: string;
3127
+ follow?: string;
3128
+ mention?: string;
3129
+ reaction?: string;
3130
+ custom_activity_types?: Record<string, string>;
3131
+ }
3134
3132
  export interface FeedsReactionResponse {
3135
3133
  activity_id: string;
3136
3134
  created_at: Date;
@@ -4979,8 +4977,8 @@ export interface PushConfig {
4979
4977
  offline_only?: boolean;
4980
4978
  }
4981
4979
  export interface PushNotificationConfig {
4982
- enabled?: boolean;
4983
- activity_types?: 'follow' | 'comment' | 'reaction' | 'comment_reaction';
4980
+ enable_push?: boolean;
4981
+ push_types?: string[];
4984
4982
  }
4985
4983
  export interface PushNotificationFields {
4986
4984
  offline_only: boolean;
@@ -5003,14 +5001,14 @@ export interface PushPreferenceInput {
5003
5001
  feeds_level?: 'all' | 'none' | 'default';
5004
5002
  remove_disable?: boolean;
5005
5003
  user_id?: string;
5006
- feeds_events?: FeedsEventPreferencesInput;
5004
+ feeds_preferences?: FeedsPreferences;
5007
5005
  }
5008
5006
  export interface PushPreferences {
5009
5007
  call_level?: string;
5010
5008
  chat_level?: string;
5011
5009
  disabled_until?: Date;
5012
5010
  feeds_level?: string;
5013
- feeds_events?: FeedsEventPreferences;
5011
+ feeds_preferences?: FeedsPreferences;
5014
5012
  }
5015
5013
  export interface PushProvider {
5016
5014
  created_at: Date;
@@ -6036,6 +6034,7 @@ export interface STTEgressConfig {
6036
6034
  whisper_server_base_url?: string;
6037
6035
  translation_languages?: string[];
6038
6036
  external_storage?: ExternalStorage;
6037
+ speech_segment_config?: SpeechSegmentConfig;
6039
6038
  }
6040
6039
  export interface ScreensharingSettings {
6041
6040
  access_request_enabled: boolean;
@@ -6284,6 +6283,10 @@ export interface SortParamRequest {
6284
6283
  direction?: number;
6285
6284
  field?: string;
6286
6285
  }
6286
+ export interface SpeechSegmentConfig {
6287
+ max_speech_caption_ms?: number;
6288
+ silence_duration_ms?: number;
6289
+ }
6287
6290
  export interface StartCampaignRequest {
6288
6291
  scheduled_for?: Date;
6289
6292
  stop_at?: Date;
@@ -6297,6 +6300,7 @@ export interface StartClosedCaptionsRequest {
6297
6300
  enable_transcription?: boolean;
6298
6301
  external_storage?: string;
6299
6302
  language?: 'auto' | 'en' | 'fr' | 'es' | 'de' | 'it' | 'nl' | 'pt' | 'pl' | 'ca' | 'cs' | 'da' | 'el' | 'fi' | 'id' | 'ja' | 'ru' | 'sv' | 'ta' | 'th' | 'tr' | 'hu' | 'ro' | 'zh' | 'ar' | 'tl' | 'he' | 'hi' | 'hr' | 'ko' | 'ms' | 'no' | 'uk' | 'bg' | 'et' | 'sl' | 'sk';
6303
+ speech_segment_config?: SpeechSegmentConfig;
6300
6304
  }
6301
6305
  export interface StartClosedCaptionsResponse {
6302
6306
  duration: string;
@@ -6564,16 +6568,19 @@ export interface TranscriptionSettings {
6564
6568
  closed_caption_mode: 'available' | 'disabled' | 'auto-on';
6565
6569
  language: 'auto' | 'en' | 'fr' | 'es' | 'de' | 'it' | 'nl' | 'pt' | 'pl' | 'ca' | 'cs' | 'da' | 'el' | 'fi' | 'id' | 'ja' | 'ru' | 'sv' | 'ta' | 'th' | 'tr' | 'hu' | 'ro' | 'zh' | 'ar' | 'tl' | 'he' | 'hi' | 'hr' | 'ko' | 'ms' | 'no' | 'uk' | 'bg' | 'et' | 'sl' | 'sk';
6566
6570
  mode: 'available' | 'disabled' | 'auto-on';
6571
+ speech_segment_config?: SpeechSegmentConfig;
6567
6572
  }
6568
6573
  export interface TranscriptionSettingsRequest {
6569
- mode: 'available' | 'disabled' | 'auto-on';
6570
6574
  closed_caption_mode?: 'available' | 'disabled' | 'auto-on';
6571
6575
  language?: 'auto' | 'en' | 'fr' | 'es' | 'de' | 'it' | 'nl' | 'pt' | 'pl' | 'ca' | 'cs' | 'da' | 'el' | 'fi' | 'id' | 'ja' | 'ru' | 'sv' | 'ta' | 'th' | 'tr' | 'hu' | 'ro' | 'zh' | 'ar' | 'tl' | 'he' | 'hi' | 'hr' | 'ko' | 'ms' | 'no' | 'uk' | 'bg' | 'et' | 'sl' | 'sk';
6576
+ mode?: 'available' | 'disabled' | 'auto-on';
6577
+ speech_segment_config?: SpeechSegmentConfig;
6572
6578
  }
6573
6579
  export interface TranscriptionSettingsResponse {
6574
6580
  closed_caption_mode: 'available' | 'disabled' | 'auto-on';
6575
6581
  language: 'auto' | 'en' | 'fr' | 'es' | 'de' | 'it' | 'nl' | 'pt' | 'pl' | 'ca' | 'cs' | 'da' | 'el' | 'fi' | 'id' | 'ja' | 'ru' | 'sv' | 'ta' | 'th' | 'tr' | 'hu' | 'ro' | 'zh' | 'ar' | 'tl' | 'he' | 'hi' | 'hr' | 'ko' | 'ms' | 'no' | 'uk' | 'bg' | 'et' | 'sl' | 'sk';
6576
6582
  mode: 'available' | 'disabled' | 'auto-on';
6583
+ speech_segment_config?: SpeechSegmentConfig;
6577
6584
  }
6578
6585
  export interface TranslateMessageRequest {
6579
6586
  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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/node-sdk",
3
- "version": "0.6.3",
3
+ "version": "0.6.5",
4
4
  "description": "",
5
5
  "exports": {
6
6
  ".": {
@@ -4507,7 +4507,11 @@ export interface DeleteFeedGroupResponse {
4507
4507
  }
4508
4508
 
4509
4509
  export interface DeleteFeedResponse {
4510
+ delete_feed_task_id: string;
4511
+
4510
4512
  duration: string;
4513
+
4514
+ task_id: string;
4511
4515
  }
4512
4516
 
4513
4517
  export interface DeleteFeedUserDataResponse {
@@ -5455,30 +5459,24 @@ export interface FeedViewResponse {
5455
5459
  ranking?: RankingConfig;
5456
5460
  }
5457
5461
 
5458
- export interface FeedsEventPreferences {
5459
- comments?: string;
5460
-
5461
- mentions?: string;
5462
-
5463
- new_followers?: string;
5462
+ export interface FeedsModerationTemplateConfig {
5463
+ config_key: string;
5464
5464
 
5465
- reactions?: string;
5465
+ data_types: Record<string, string>;
5466
5466
  }
5467
5467
 
5468
- export interface FeedsEventPreferencesInput {
5469
- comments?: 'all' | 'none';
5468
+ export interface FeedsPreferences {
5469
+ comment?: string;
5470
5470
 
5471
- mentions?: 'all' | 'none';
5471
+ comment_reaction?: string;
5472
5472
 
5473
- new_followers?: 'all' | 'none';
5473
+ follow?: string;
5474
5474
 
5475
- reactions?: 'all' | 'none';
5476
- }
5475
+ mention?: string;
5477
5476
 
5478
- export interface FeedsModerationTemplateConfig {
5479
- config_key: string;
5477
+ reaction?: string;
5480
5478
 
5481
- data_types: Record<string, string>;
5479
+ custom_activity_types?: Record<string, string>;
5482
5480
  }
5483
5481
 
5484
5482
  export interface FeedsReactionResponse {
@@ -8678,9 +8676,9 @@ export interface PushConfig {
8678
8676
  }
8679
8677
 
8680
8678
  export interface PushNotificationConfig {
8681
- enabled?: boolean;
8679
+ enable_push?: boolean;
8682
8680
 
8683
- activity_types?: 'follow' | 'comment' | 'reaction' | 'comment_reaction';
8681
+ push_types?: string[];
8684
8682
  }
8685
8683
 
8686
8684
  export interface PushNotificationFields {
@@ -8720,7 +8718,7 @@ export interface PushPreferenceInput {
8720
8718
 
8721
8719
  user_id?: string;
8722
8720
 
8723
- feeds_events?: FeedsEventPreferencesInput;
8721
+ feeds_preferences?: FeedsPreferences;
8724
8722
  }
8725
8723
 
8726
8724
  export interface PushPreferences {
@@ -8732,7 +8730,7 @@ export interface PushPreferences {
8732
8730
 
8733
8731
  feeds_level?: string;
8734
8732
 
8735
- feeds_events?: FeedsEventPreferences;
8733
+ feeds_preferences?: FeedsPreferences;
8736
8734
  }
8737
8735
 
8738
8736
  export interface PushProvider {
@@ -10549,6 +10547,8 @@ export interface STTEgressConfig {
10549
10547
  translation_languages?: string[];
10550
10548
 
10551
10549
  external_storage?: ExternalStorage;
10550
+
10551
+ speech_segment_config?: SpeechSegmentConfig;
10552
10552
  }
10553
10553
 
10554
10554
  export interface ScreensharingSettings {
@@ -10977,6 +10977,12 @@ export interface SortParamRequest {
10977
10977
  field?: string;
10978
10978
  }
10979
10979
 
10980
+ export interface SpeechSegmentConfig {
10981
+ max_speech_caption_ms?: number;
10982
+
10983
+ silence_duration_ms?: number;
10984
+ }
10985
+
10980
10986
  export interface StartCampaignRequest {
10981
10987
  scheduled_for?: Date;
10982
10988
 
@@ -11034,6 +11040,8 @@ export interface StartClosedCaptionsRequest {
11034
11040
  | 'et'
11035
11041
  | 'sl'
11036
11042
  | 'sk';
11043
+
11044
+ speech_segment_config?: SpeechSegmentConfig;
11037
11045
  }
11038
11046
 
11039
11047
  export interface StartClosedCaptionsResponse {
@@ -11552,11 +11560,11 @@ export interface TranscriptionSettings {
11552
11560
  | 'sk';
11553
11561
 
11554
11562
  mode: 'available' | 'disabled' | 'auto-on';
11563
+
11564
+ speech_segment_config?: SpeechSegmentConfig;
11555
11565
  }
11556
11566
 
11557
11567
  export interface TranscriptionSettingsRequest {
11558
- mode: 'available' | 'disabled' | 'auto-on';
11559
-
11560
11568
  closed_caption_mode?: 'available' | 'disabled' | 'auto-on';
11561
11569
 
11562
11570
  language?:
@@ -11597,6 +11605,10 @@ export interface TranscriptionSettingsRequest {
11597
11605
  | 'et'
11598
11606
  | 'sl'
11599
11607
  | 'sk';
11608
+
11609
+ mode?: 'available' | 'disabled' | 'auto-on';
11610
+
11611
+ speech_segment_config?: SpeechSegmentConfig;
11600
11612
  }
11601
11613
 
11602
11614
  export interface TranscriptionSettingsResponse {
@@ -11642,6 +11654,8 @@ export interface TranscriptionSettingsResponse {
11642
11654
  | 'sk';
11643
11655
 
11644
11656
  mode: 'available' | 'disabled' | 'auto-on';
11657
+
11658
+ speech_segment_config?: SpeechSegmentConfig;
11645
11659
  }
11646
11660
 
11647
11661
  export interface TranslateMessageRequest {