stream-chat 8.53.0 → 8.54.1

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
@@ -2228,6 +2228,7 @@ export type OGAttachment = {
2228
2228
  export type BlockList = {
2229
2229
  name: string;
2230
2230
  words: string[];
2231
+ team?: string;
2231
2232
  type?: string;
2232
2233
  validate?: boolean;
2233
2234
  };
@@ -2643,6 +2644,7 @@ export type MessageBase<
2643
2644
  pinned_at?: string | null;
2644
2645
  poll_id?: string;
2645
2646
  quoted_message_id?: string;
2647
+ restricted_visibility?: string[];
2646
2648
  show_in_channel?: boolean;
2647
2649
  silent?: boolean;
2648
2650
  text?: string;
@@ -3566,6 +3568,14 @@ export type ReviewQueueFilters = QueryFilters<
3566
3568
  has_text?: boolean;
3567
3569
  } & {
3568
3570
  has_video?: boolean;
3571
+ } & {
3572
+ has_media?: boolean;
3573
+ } & {
3574
+ language?: RequireOnlyOne<{
3575
+ $contains?: string;
3576
+ $eq?: string;
3577
+ $in?: string[];
3578
+ }>;
3569
3579
  } & {
3570
3580
  teams?:
3571
3581
  | RequireOnlyOne<{
@@ -3574,6 +3584,39 @@ export type ReviewQueueFilters = QueryFilters<
3574
3584
  $in?: PrimitiveFilter<string>;
3575
3585
  }>
3576
3586
  | PrimitiveFilter<string>;
3587
+ } & {
3588
+ user_report_reason?: RequireOnlyOne<{
3589
+ $eq?: string;
3590
+ }>;
3591
+ } & {
3592
+ recommended_action?: RequireOnlyOne<{
3593
+ $eq?: string;
3594
+ }>;
3595
+ } & {
3596
+ flagged_user_id?: RequireOnlyOne<{
3597
+ $eq?: string;
3598
+ }>;
3599
+ } & {
3600
+ category?: RequireOnlyOne<{
3601
+ $eq?: string;
3602
+ }>;
3603
+ } & {
3604
+ label?: RequireOnlyOne<{
3605
+ $eq?: string;
3606
+ }>;
3607
+ } & {
3608
+ reporter_type?: RequireOnlyOne<{
3609
+ $eq?: 'automod' | 'user' | 'moderator' | 'admin' | 'velocity_filter';
3610
+ }>;
3611
+ } & {
3612
+ reporter_id?: RequireOnlyOne<{
3613
+ $eq?: string;
3614
+ $in?: string[];
3615
+ }>;
3616
+ } & {
3617
+ date_range?: RequireOnlyOne<{
3618
+ $eq?: string; // Format: "date1_date2"
3619
+ }>;
3577
3620
  }
3578
3621
  >;
3579
3622