stream-chat 8.24.0 → 8.25.0

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/src/types.ts CHANGED
@@ -616,6 +616,7 @@ export type MessageResponseBase<
616
616
  > = MessageBase<StreamChatGenerics> & {
617
617
  type: MessageLabel;
618
618
  args?: string;
619
+ before_message_send_failed?: boolean;
619
620
  channel?: ChannelResponse<StreamChatGenerics>;
620
621
  cid?: string;
621
622
  command?: string;
@@ -2134,6 +2135,7 @@ export type FileUploadConfig = {
2134
2135
  allowed_mime_types?: string[] | null;
2135
2136
  blocked_file_extensions?: string[] | null;
2136
2137
  blocked_mime_types?: string[] | null;
2138
+ size_limit?: number | null;
2137
2139
  };
2138
2140
 
2139
2141
  export type FirebaseConfig = {
@@ -2601,8 +2603,12 @@ export type CampaignStats = {
2601
2603
  export type CampaignResponse = {
2602
2604
  created_at: string;
2603
2605
  id: string;
2606
+ segments: SegmentResponse[];
2607
+ sender: UserResponse;
2604
2608
  stats: CampaignStats;
2609
+ status: 'draft' | 'scheduled' | 'in_progress' | 'completed' | 'stopped';
2605
2610
  updated_at: string;
2611
+ users: UserResponse[];
2606
2612
  scheduled_for?: string;
2607
2613
  } & CampaignData;
2608
2614