@stream-io/node-sdk 0.6.3 → 0.6.4
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 +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +1 -1
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/gen/models/index.d.ts +23 -17
- package/package.json +1 -1
- package/src/gen/models/index.ts +34 -22
|
@@ -2561,6 +2561,7 @@ export interface DeleteFeedGroupResponse {
|
|
|
2561
2561
|
duration: string;
|
|
2562
2562
|
}
|
|
2563
2563
|
export interface DeleteFeedResponse {
|
|
2564
|
+
delete_feed_task_id: string;
|
|
2564
2565
|
duration: string;
|
|
2565
2566
|
}
|
|
2566
2567
|
export interface DeleteFeedUserDataResponse {
|
|
@@ -3115,22 +3116,18 @@ export interface FeedViewResponse {
|
|
|
3115
3116
|
aggregation?: AggregationConfig;
|
|
3116
3117
|
ranking?: RankingConfig;
|
|
3117
3118
|
}
|
|
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
3119
|
export interface FeedsModerationTemplateConfig {
|
|
3131
3120
|
config_key: string;
|
|
3132
3121
|
data_types: Record<string, string>;
|
|
3133
3122
|
}
|
|
3123
|
+
export interface FeedsPreferences {
|
|
3124
|
+
comment?: string;
|
|
3125
|
+
comment_reaction?: string;
|
|
3126
|
+
follow?: string;
|
|
3127
|
+
mention?: string;
|
|
3128
|
+
reaction?: string;
|
|
3129
|
+
custom_activity_types?: Record<string, string>;
|
|
3130
|
+
}
|
|
3134
3131
|
export interface FeedsReactionResponse {
|
|
3135
3132
|
activity_id: string;
|
|
3136
3133
|
created_at: Date;
|
|
@@ -4979,8 +4976,8 @@ export interface PushConfig {
|
|
|
4979
4976
|
offline_only?: boolean;
|
|
4980
4977
|
}
|
|
4981
4978
|
export interface PushNotificationConfig {
|
|
4982
|
-
|
|
4983
|
-
|
|
4979
|
+
enable_push?: boolean;
|
|
4980
|
+
push_types?: string[];
|
|
4984
4981
|
}
|
|
4985
4982
|
export interface PushNotificationFields {
|
|
4986
4983
|
offline_only: boolean;
|
|
@@ -5003,14 +5000,14 @@ export interface PushPreferenceInput {
|
|
|
5003
5000
|
feeds_level?: 'all' | 'none' | 'default';
|
|
5004
5001
|
remove_disable?: boolean;
|
|
5005
5002
|
user_id?: string;
|
|
5006
|
-
|
|
5003
|
+
feeds_preferences?: FeedsPreferences;
|
|
5007
5004
|
}
|
|
5008
5005
|
export interface PushPreferences {
|
|
5009
5006
|
call_level?: string;
|
|
5010
5007
|
chat_level?: string;
|
|
5011
5008
|
disabled_until?: Date;
|
|
5012
5009
|
feeds_level?: string;
|
|
5013
|
-
|
|
5010
|
+
feeds_preferences?: FeedsPreferences;
|
|
5014
5011
|
}
|
|
5015
5012
|
export interface PushProvider {
|
|
5016
5013
|
created_at: Date;
|
|
@@ -6036,6 +6033,7 @@ export interface STTEgressConfig {
|
|
|
6036
6033
|
whisper_server_base_url?: string;
|
|
6037
6034
|
translation_languages?: string[];
|
|
6038
6035
|
external_storage?: ExternalStorage;
|
|
6036
|
+
speech_segment_config?: SpeechSegmentConfig;
|
|
6039
6037
|
}
|
|
6040
6038
|
export interface ScreensharingSettings {
|
|
6041
6039
|
access_request_enabled: boolean;
|
|
@@ -6284,6 +6282,10 @@ export interface SortParamRequest {
|
|
|
6284
6282
|
direction?: number;
|
|
6285
6283
|
field?: string;
|
|
6286
6284
|
}
|
|
6285
|
+
export interface SpeechSegmentConfig {
|
|
6286
|
+
max_speech_caption_ms?: number;
|
|
6287
|
+
silence_duration_ms?: number;
|
|
6288
|
+
}
|
|
6287
6289
|
export interface StartCampaignRequest {
|
|
6288
6290
|
scheduled_for?: Date;
|
|
6289
6291
|
stop_at?: Date;
|
|
@@ -6297,6 +6299,7 @@ export interface StartClosedCaptionsRequest {
|
|
|
6297
6299
|
enable_transcription?: boolean;
|
|
6298
6300
|
external_storage?: string;
|
|
6299
6301
|
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';
|
|
6302
|
+
speech_segment_config?: SpeechSegmentConfig;
|
|
6300
6303
|
}
|
|
6301
6304
|
export interface StartClosedCaptionsResponse {
|
|
6302
6305
|
duration: string;
|
|
@@ -6564,16 +6567,19 @@ export interface TranscriptionSettings {
|
|
|
6564
6567
|
closed_caption_mode: 'available' | 'disabled' | 'auto-on';
|
|
6565
6568
|
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
6569
|
mode: 'available' | 'disabled' | 'auto-on';
|
|
6570
|
+
speech_segment_config?: SpeechSegmentConfig;
|
|
6567
6571
|
}
|
|
6568
6572
|
export interface TranscriptionSettingsRequest {
|
|
6569
|
-
mode: 'available' | 'disabled' | 'auto-on';
|
|
6570
6573
|
closed_caption_mode?: 'available' | 'disabled' | 'auto-on';
|
|
6571
6574
|
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';
|
|
6575
|
+
mode?: 'available' | 'disabled' | 'auto-on';
|
|
6576
|
+
speech_segment_config?: SpeechSegmentConfig;
|
|
6572
6577
|
}
|
|
6573
6578
|
export interface TranscriptionSettingsResponse {
|
|
6574
6579
|
closed_caption_mode: 'available' | 'disabled' | 'auto-on';
|
|
6575
6580
|
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
6581
|
mode: 'available' | 'disabled' | 'auto-on';
|
|
6582
|
+
speech_segment_config?: SpeechSegmentConfig;
|
|
6577
6583
|
}
|
|
6578
6584
|
export interface TranslateMessageRequest {
|
|
6579
6585
|
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
package/src/gen/models/index.ts
CHANGED
|
@@ -4507,6 +4507,8 @@ export interface DeleteFeedGroupResponse {
|
|
|
4507
4507
|
}
|
|
4508
4508
|
|
|
4509
4509
|
export interface DeleteFeedResponse {
|
|
4510
|
+
delete_feed_task_id: string;
|
|
4511
|
+
|
|
4510
4512
|
duration: string;
|
|
4511
4513
|
}
|
|
4512
4514
|
|
|
@@ -5455,30 +5457,24 @@ export interface FeedViewResponse {
|
|
|
5455
5457
|
ranking?: RankingConfig;
|
|
5456
5458
|
}
|
|
5457
5459
|
|
|
5458
|
-
export interface
|
|
5459
|
-
|
|
5460
|
-
|
|
5461
|
-
mentions?: string;
|
|
5462
|
-
|
|
5463
|
-
new_followers?: string;
|
|
5460
|
+
export interface FeedsModerationTemplateConfig {
|
|
5461
|
+
config_key: string;
|
|
5464
5462
|
|
|
5465
|
-
|
|
5463
|
+
data_types: Record<string, string>;
|
|
5466
5464
|
}
|
|
5467
5465
|
|
|
5468
|
-
export interface
|
|
5469
|
-
|
|
5466
|
+
export interface FeedsPreferences {
|
|
5467
|
+
comment?: string;
|
|
5470
5468
|
|
|
5471
|
-
|
|
5469
|
+
comment_reaction?: string;
|
|
5472
5470
|
|
|
5473
|
-
|
|
5471
|
+
follow?: string;
|
|
5474
5472
|
|
|
5475
|
-
|
|
5476
|
-
}
|
|
5473
|
+
mention?: string;
|
|
5477
5474
|
|
|
5478
|
-
|
|
5479
|
-
config_key: string;
|
|
5475
|
+
reaction?: string;
|
|
5480
5476
|
|
|
5481
|
-
|
|
5477
|
+
custom_activity_types?: Record<string, string>;
|
|
5482
5478
|
}
|
|
5483
5479
|
|
|
5484
5480
|
export interface FeedsReactionResponse {
|
|
@@ -8678,9 +8674,9 @@ export interface PushConfig {
|
|
|
8678
8674
|
}
|
|
8679
8675
|
|
|
8680
8676
|
export interface PushNotificationConfig {
|
|
8681
|
-
|
|
8677
|
+
enable_push?: boolean;
|
|
8682
8678
|
|
|
8683
|
-
|
|
8679
|
+
push_types?: string[];
|
|
8684
8680
|
}
|
|
8685
8681
|
|
|
8686
8682
|
export interface PushNotificationFields {
|
|
@@ -8720,7 +8716,7 @@ export interface PushPreferenceInput {
|
|
|
8720
8716
|
|
|
8721
8717
|
user_id?: string;
|
|
8722
8718
|
|
|
8723
|
-
|
|
8719
|
+
feeds_preferences?: FeedsPreferences;
|
|
8724
8720
|
}
|
|
8725
8721
|
|
|
8726
8722
|
export interface PushPreferences {
|
|
@@ -8732,7 +8728,7 @@ export interface PushPreferences {
|
|
|
8732
8728
|
|
|
8733
8729
|
feeds_level?: string;
|
|
8734
8730
|
|
|
8735
|
-
|
|
8731
|
+
feeds_preferences?: FeedsPreferences;
|
|
8736
8732
|
}
|
|
8737
8733
|
|
|
8738
8734
|
export interface PushProvider {
|
|
@@ -10549,6 +10545,8 @@ export interface STTEgressConfig {
|
|
|
10549
10545
|
translation_languages?: string[];
|
|
10550
10546
|
|
|
10551
10547
|
external_storage?: ExternalStorage;
|
|
10548
|
+
|
|
10549
|
+
speech_segment_config?: SpeechSegmentConfig;
|
|
10552
10550
|
}
|
|
10553
10551
|
|
|
10554
10552
|
export interface ScreensharingSettings {
|
|
@@ -10977,6 +10975,12 @@ export interface SortParamRequest {
|
|
|
10977
10975
|
field?: string;
|
|
10978
10976
|
}
|
|
10979
10977
|
|
|
10978
|
+
export interface SpeechSegmentConfig {
|
|
10979
|
+
max_speech_caption_ms?: number;
|
|
10980
|
+
|
|
10981
|
+
silence_duration_ms?: number;
|
|
10982
|
+
}
|
|
10983
|
+
|
|
10980
10984
|
export interface StartCampaignRequest {
|
|
10981
10985
|
scheduled_for?: Date;
|
|
10982
10986
|
|
|
@@ -11034,6 +11038,8 @@ export interface StartClosedCaptionsRequest {
|
|
|
11034
11038
|
| 'et'
|
|
11035
11039
|
| 'sl'
|
|
11036
11040
|
| 'sk';
|
|
11041
|
+
|
|
11042
|
+
speech_segment_config?: SpeechSegmentConfig;
|
|
11037
11043
|
}
|
|
11038
11044
|
|
|
11039
11045
|
export interface StartClosedCaptionsResponse {
|
|
@@ -11552,11 +11558,11 @@ export interface TranscriptionSettings {
|
|
|
11552
11558
|
| 'sk';
|
|
11553
11559
|
|
|
11554
11560
|
mode: 'available' | 'disabled' | 'auto-on';
|
|
11561
|
+
|
|
11562
|
+
speech_segment_config?: SpeechSegmentConfig;
|
|
11555
11563
|
}
|
|
11556
11564
|
|
|
11557
11565
|
export interface TranscriptionSettingsRequest {
|
|
11558
|
-
mode: 'available' | 'disabled' | 'auto-on';
|
|
11559
|
-
|
|
11560
11566
|
closed_caption_mode?: 'available' | 'disabled' | 'auto-on';
|
|
11561
11567
|
|
|
11562
11568
|
language?:
|
|
@@ -11597,6 +11603,10 @@ export interface TranscriptionSettingsRequest {
|
|
|
11597
11603
|
| 'et'
|
|
11598
11604
|
| 'sl'
|
|
11599
11605
|
| 'sk';
|
|
11606
|
+
|
|
11607
|
+
mode?: 'available' | 'disabled' | 'auto-on';
|
|
11608
|
+
|
|
11609
|
+
speech_segment_config?: SpeechSegmentConfig;
|
|
11600
11610
|
}
|
|
11601
11611
|
|
|
11602
11612
|
export interface TranscriptionSettingsResponse {
|
|
@@ -11642,6 +11652,8 @@ export interface TranscriptionSettingsResponse {
|
|
|
11642
11652
|
| 'sk';
|
|
11643
11653
|
|
|
11644
11654
|
mode: 'available' | 'disabled' | 'auto-on';
|
|
11655
|
+
|
|
11656
|
+
speech_segment_config?: SpeechSegmentConfig;
|
|
11645
11657
|
}
|
|
11646
11658
|
|
|
11647
11659
|
export interface TranslateMessageRequest {
|