@stream-io/feeds-client 0.2.3 → 0.2.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.
@@ -6,9 +6,9 @@ export type FeedSearchSourceOptions = SearchSourceOptions & {
6
6
  groupId?: string;
7
7
  };
8
8
  export declare class FeedSearchSource extends BaseSearchSource<Feed> {
9
- readonly type: "feed";
9
+ readonly type: string;
10
+ readonly feedGroupId?: string | undefined;
10
11
  private readonly client;
11
- private readonly feedGroupId?;
12
12
  constructor(client: FeedsClient, options?: FeedSearchSourceOptions);
13
13
  protected query(searchQuery: string): Promise<{
14
14
  items: never[];
@@ -1273,6 +1273,7 @@ export interface DeleteCommentResponse {
1273
1273
  }
1274
1274
  export interface DeleteFeedResponse {
1275
1275
  duration: string;
1276
+ task_id: string;
1276
1277
  }
1277
1278
  export interface DeleteMessageRequest {
1278
1279
  hard_delete?: boolean;
@@ -1644,11 +1645,13 @@ export interface FeedUpdatedEvent {
1644
1645
  received_at?: Date;
1645
1646
  user?: UserResponseCommonFields;
1646
1647
  }
1647
- export interface FeedsEventPreferences {
1648
- comments?: string;
1649
- mentions?: string;
1650
- new_followers?: string;
1651
- reactions?: string;
1648
+ export interface FeedsPreferences {
1649
+ comment?: string;
1650
+ comment_reaction?: string;
1651
+ follow?: string;
1652
+ mention?: string;
1653
+ reaction?: string;
1654
+ custom_activity_types?: Record<string, string>;
1652
1655
  }
1653
1656
  export interface FeedsReactionResponse {
1654
1657
  activity_id: string;
@@ -2574,15 +2577,15 @@ export interface PrivacySettingsResponse {
2574
2577
  typing_indicators?: TypingIndicatorsResponse;
2575
2578
  }
2576
2579
  export interface PushNotificationConfig {
2577
- enabled?: boolean;
2578
- activity_types?: string[];
2580
+ enable_push?: boolean;
2581
+ push_types?: string[];
2579
2582
  }
2580
2583
  export interface PushPreferences {
2581
2584
  call_level?: string;
2582
2585
  chat_level?: string;
2583
2586
  disabled_until?: Date;
2584
2587
  feeds_level?: string;
2585
- feeds_events?: FeedsEventPreferences;
2588
+ feeds_preferences?: FeedsPreferences;
2586
2589
  }
2587
2590
  export interface Quality {
2588
2591
  bitdepth?: number;
@@ -3023,6 +3026,7 @@ export interface STTEgressConfig {
3023
3026
  whisper_server_base_url?: string;
3024
3027
  translation_languages?: string[];
3025
3028
  external_storage?: ExternalStorage;
3029
+ speech_segment_config?: SpeechSegmentConfig;
3026
3030
  }
3027
3031
  export interface ScreensharingSettings {
3028
3032
  access_request_enabled: boolean;
@@ -3098,6 +3102,10 @@ export interface SortParamRequest {
3098
3102
  direction?: number;
3099
3103
  field?: string;
3100
3104
  }
3105
+ export interface SpeechSegmentConfig {
3106
+ max_speech_caption_ms?: number;
3107
+ silence_duration_ms?: number;
3108
+ }
3101
3109
  export interface StoriesConfig {
3102
3110
  expiration_behaviour?: 'hide_for_everyone' | 'visible_for_author';
3103
3111
  skip_watched?: boolean;
@@ -3187,11 +3195,13 @@ export interface TranscriptionSettings {
3187
3195
  closed_caption_mode: 'available' | 'disabled' | 'auto-on';
3188
3196
  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';
3189
3197
  mode: 'available' | 'disabled' | 'auto-on';
3198
+ speech_segment_config?: SpeechSegmentConfig;
3190
3199
  }
3191
3200
  export interface TranscriptionSettingsResponse {
3192
3201
  closed_caption_mode: 'available' | 'disabled' | 'auto-on';
3193
3202
  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';
3194
3203
  mode: 'available' | 'disabled' | 'auto-on';
3204
+ speech_segment_config?: SpeechSegmentConfig;
3195
3205
  }
3196
3206
  export interface TypingIndicators {
3197
3207
  enabled: boolean;