@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.
@@ -882,6 +882,13 @@ export type Database = {
882
882
  referencedRelation: "view_org"
883
883
  referencedColumns: ["org_id"]
884
884
  },
885
+ {
886
+ foreignKeyName: "tbl_automation_rules_org_id_fkey"
887
+ columns: ["org_id"]
888
+ isOneToOne: false
889
+ referencedRelation: "view_org_all"
890
+ referencedColumns: ["org_id"]
891
+ },
885
892
  ]
886
893
  }
887
894
  tbl_broadcast_chatlist: {
@@ -889,28 +896,37 @@ export type Database = {
889
896
  chat_ids: string[]
890
897
  created_at: string
891
898
  created_by: string | null
899
+ message_payload: Json | null
892
900
  org_id: string
901
+ org_phone: string | null
893
902
  template_id: string
894
903
  template_name: string
895
904
  updated_at: string | null
905
+ variables: Json | null
896
906
  }
897
907
  Insert: {
898
908
  chat_ids?: string[]
899
909
  created_at?: string
900
910
  created_by?: string | null
911
+ message_payload?: Json | null
901
912
  org_id: string
913
+ org_phone?: string | null
902
914
  template_id?: string
903
915
  template_name: string
904
916
  updated_at?: string | null
917
+ variables?: Json | null
905
918
  }
906
919
  Update: {
907
920
  chat_ids?: string[]
908
921
  created_at?: string
909
922
  created_by?: string | null
923
+ message_payload?: Json | null
910
924
  org_id?: string
925
+ org_phone?: string | null
911
926
  template_id?: string
912
927
  template_name?: string
913
928
  updated_at?: string | null
929
+ variables?: Json | null
914
930
  }
915
931
  Relationships: [
916
932
  {
@@ -3566,6 +3582,15 @@ export type Database = {
3566
3582
  }
3567
3583
  Returns: Json
3568
3584
  }
3585
+ get_chats_by_id: {
3586
+ Args: {
3587
+ chat_id_input: string[]
3588
+ chat_org_phones_input?: string[]
3589
+ email_input?: string
3590
+ org_id_input: string
3591
+ }
3592
+ Returns: Json
3593
+ }
3569
3594
  get_chats_info: {
3570
3595
  Args: {
3571
3596
  chat_id_input: string
@@ -3606,6 +3631,7 @@ export type Database = {
3606
3631
  get_export_members_data: {
3607
3632
  Args: {
3608
3633
  chat_id_input?: string[]
3634
+ limit_input?: number
3609
3635
  offset_input?: number
3610
3636
  org_id_input: string
3611
3637
  }
@@ -3877,6 +3903,7 @@ export type Database = {
3877
3903
  update_custom_properties: {
3878
3904
  Args: {
3879
3905
  org_id_input: string
3906
+ replace_properties?: boolean
3880
3907
  row_properties_map: Json
3881
3908
  }
3882
3909
  Returns: undefined