@periskope/types 0.6.450 → 0.6.452

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
  {
@@ -1026,6 +1042,7 @@ export type Database = {
1026
1042
  message_payload: Json | null;
1027
1043
  org_id: string;
1028
1044
  org_phone: string | null;
1045
+ parent_broadcast_id: string | null;
1029
1046
  performed_at: string | null;
1030
1047
  performed_by: string | null;
1031
1048
  repeat_config: Json | null;
@@ -1042,6 +1059,7 @@ export type Database = {
1042
1059
  message_payload?: Json | null;
1043
1060
  org_id: string;
1044
1061
  org_phone?: string | null;
1062
+ parent_broadcast_id?: string | null;
1045
1063
  performed_at?: string | null;
1046
1064
  performed_by?: string | null;
1047
1065
  repeat_config?: Json | null;
@@ -1058,6 +1076,7 @@ export type Database = {
1058
1076
  message_payload?: Json | null;
1059
1077
  org_id?: string;
1060
1078
  org_phone?: string | null;
1079
+ parent_broadcast_id?: string | null;
1061
1080
  performed_at?: string | null;
1062
1081
  performed_by?: string | null;
1063
1082
  repeat_config?: Json | null;
@@ -3175,6 +3194,8 @@ export type Database = {
3175
3194
  total_delivered_count: number | null;
3176
3195
  total_member_count: number | null;
3177
3196
  total_read_count: number | null;
3197
+ is_repeat: boolean | null;
3198
+ parent_broadcast_id: string | null;
3178
3199
  };
3179
3200
  Relationships: [
3180
3201
  {
@@ -3584,6 +3605,15 @@ export type Database = {
3584
3605
  };
3585
3606
  Returns: Json;
3586
3607
  };
3608
+ get_chats_by_id: {
3609
+ Args: {
3610
+ chat_id_input: string[];
3611
+ chat_org_phones_input?: string[];
3612
+ email_input?: string;
3613
+ org_id_input: string;
3614
+ };
3615
+ Returns: Json;
3616
+ };
3587
3617
  get_chats_info: {
3588
3618
  Args: {
3589
3619
  chat_id_input: string;
@@ -3628,6 +3658,7 @@ export type Database = {
3628
3658
  get_export_members_data: {
3629
3659
  Args: {
3630
3660
  chat_id_input?: string[];
3661
+ limit_input?: number;
3631
3662
  offset_input?: number;
3632
3663
  org_id_input: string;
3633
3664
  };
@@ -3933,6 +3964,7 @@ export type Database = {
3933
3964
  update_custom_properties: {
3934
3965
  Args: {
3935
3966
  org_id_input: string;
3967
+ replace_properties?: boolean;
3936
3968
  row_properties_map: Json;
3937
3969
  };
3938
3970
  Returns: undefined;