@periskope/types 0.6.450 → 0.6.451

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.
@@ -883,6 +883,13 @@ export type Database = {
883
883
  isOneToOne: false;
884
884
  referencedRelation: "view_org";
885
885
  referencedColumns: ["org_id"];
886
+ },
887
+ {
888
+ foreignKeyName: "tbl_automation_rules_org_id_fkey";
889
+ columns: ["org_id"];
890
+ isOneToOne: false;
891
+ referencedRelation: "view_org_all";
892
+ referencedColumns: ["org_id"];
886
893
  }
887
894
  ];
888
895
  };
@@ -891,28 +898,37 @@ export type Database = {
891
898
  chat_ids: string[];
892
899
  created_at: string;
893
900
  created_by: string | null;
901
+ message_payload: Json | null;
894
902
  org_id: string;
903
+ org_phone: string | null;
895
904
  template_id: string;
896
905
  template_name: string;
897
906
  updated_at: string | null;
907
+ variables: Json | null;
898
908
  };
899
909
  Insert: {
900
910
  chat_ids?: string[];
901
911
  created_at?: string;
902
912
  created_by?: string | null;
913
+ message_payload?: Json | null;
903
914
  org_id: string;
915
+ org_phone?: string | null;
904
916
  template_id?: string;
905
917
  template_name: string;
906
918
  updated_at?: string | null;
919
+ variables?: Json | null;
907
920
  };
908
921
  Update: {
909
922
  chat_ids?: string[];
910
923
  created_at?: string;
911
924
  created_by?: string | null;
925
+ message_payload?: Json | null;
912
926
  org_id?: string;
927
+ org_phone?: string | null;
913
928
  template_id?: string;
914
929
  template_name?: string;
915
930
  updated_at?: string | null;
931
+ variables?: Json | null;
916
932
  };
917
933
  Relationships: [
918
934
  {
@@ -3584,6 +3600,15 @@ export type Database = {
3584
3600
  };
3585
3601
  Returns: Json;
3586
3602
  };
3603
+ get_chats_by_id: {
3604
+ Args: {
3605
+ chat_id_input: string[];
3606
+ chat_org_phones_input?: string[];
3607
+ email_input?: string;
3608
+ org_id_input: string;
3609
+ };
3610
+ Returns: Json;
3611
+ };
3587
3612
  get_chats_info: {
3588
3613
  Args: {
3589
3614
  chat_id_input: string;
@@ -3628,6 +3653,7 @@ export type Database = {
3628
3653
  get_export_members_data: {
3629
3654
  Args: {
3630
3655
  chat_id_input?: string[];
3656
+ limit_input?: number;
3631
3657
  offset_input?: number;
3632
3658
  org_id_input: string;
3633
3659
  };
@@ -3933,6 +3959,7 @@ export type Database = {
3933
3959
  update_custom_properties: {
3934
3960
  Args: {
3935
3961
  org_id_input: string;
3962
+ replace_properties?: boolean;
3936
3963
  row_properties_map: Json;
3937
3964
  };
3938
3965
  Returns: undefined;