@periskope/types 0.6.448 → 0.6.450

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.
@@ -0,0 +1 @@
1
+ 2025-07-29T13:18:35.926605Z WARN daemon_server: turborepo_lib::commands::daemon: daemon already running
@@ -631,45 +631,75 @@ export type Database = {
631
631
  };
632
632
  Relationships: [];
633
633
  };
634
- tbl_ai_jobs: {
634
+ tbl_ai_job_logs: {
635
635
  Row: {
636
636
  job_id: string;
637
+ log_id: string;
637
638
  org_id: string;
638
- status: string;
639
+ phase: string;
640
+ started_at: string;
641
+ summary: Json;
642
+ trace_id: string;
643
+ };
644
+ Insert: {
645
+ job_id: string;
646
+ log_id?: string;
647
+ org_id: string;
648
+ phase: string;
649
+ started_at: string;
650
+ summary: Json;
651
+ trace_id: string;
652
+ };
653
+ Update: {
654
+ job_id?: string;
655
+ log_id?: string;
656
+ org_id?: string;
657
+ phase?: string;
658
+ started_at?: string;
659
+ summary?: Json;
660
+ trace_id?: string;
661
+ };
662
+ Relationships: [];
663
+ };
664
+ tbl_ai_jobs: {
665
+ Row: {
639
666
  agent_type: string | null;
667
+ ai_config: Json;
668
+ id: string;
640
669
  job_name: string | null;
641
- next_run_at: string;
642
670
  last_run_at: string | null;
643
- ai_config: Json;
671
+ last_updated_at: string | null;
644
672
  last_updated_by: string | null;
673
+ next_run_at: string;
674
+ org_id: string;
645
675
  schedule_config: Json | null;
646
- last_updated_at: string | null;
676
+ status: string;
647
677
  };
648
678
  Insert: {
649
- job_id: string;
650
- org_id: string;
651
- status?: string;
652
679
  agent_type?: string | null;
680
+ ai_config: Json;
681
+ id: string;
653
682
  job_name?: string | null;
654
- next_run_at: string;
655
683
  last_run_at?: string | null;
656
- ai_config: Json;
684
+ last_updated_at?: string | null;
657
685
  last_updated_by?: string | null;
686
+ next_run_at: string;
687
+ org_id: string;
658
688
  schedule_config?: Json | null;
659
- last_updated_at?: string | null;
689
+ status?: string;
660
690
  };
661
691
  Update: {
662
- job_id?: string;
663
- org_id?: string;
664
- status?: string;
665
692
  agent_type?: string | null;
693
+ ai_config?: Json;
694
+ id?: string;
666
695
  job_name?: string | null;
667
- next_run_at?: string;
668
696
  last_run_at?: string | null;
669
- ai_config?: Json;
697
+ last_updated_at?: string | null;
670
698
  last_updated_by?: string | null;
699
+ next_run_at?: string;
700
+ org_id?: string;
671
701
  schedule_config?: Json | null;
672
- last_updated_at?: string | null;
702
+ status?: string;
673
703
  };
674
704
  Relationships: [];
675
705
  };
@@ -853,12 +883,50 @@ export type Database = {
853
883
  isOneToOne: false;
854
884
  referencedRelation: "view_org";
855
885
  referencedColumns: ["org_id"];
886
+ }
887
+ ];
888
+ };
889
+ tbl_broadcast_chatlist: {
890
+ Row: {
891
+ chat_ids: string[];
892
+ created_at: string;
893
+ created_by: string | null;
894
+ org_id: string;
895
+ template_id: string;
896
+ template_name: string;
897
+ updated_at: string | null;
898
+ };
899
+ Insert: {
900
+ chat_ids?: string[];
901
+ created_at?: string;
902
+ created_by?: string | null;
903
+ org_id: string;
904
+ template_id?: string;
905
+ template_name: string;
906
+ updated_at?: string | null;
907
+ };
908
+ Update: {
909
+ chat_ids?: string[];
910
+ created_at?: string;
911
+ created_by?: string | null;
912
+ org_id?: string;
913
+ template_id?: string;
914
+ template_name?: string;
915
+ updated_at?: string | null;
916
+ };
917
+ Relationships: [
918
+ {
919
+ foreignKeyName: "tbl_broadcast_chatlist_org_id_fkey";
920
+ columns: ["org_id"];
921
+ isOneToOne: false;
922
+ referencedRelation: "tbl_org";
923
+ referencedColumns: ["org_id"];
856
924
  },
857
925
  {
858
- foreignKeyName: "tbl_automation_rules_org_id_fkey";
926
+ foreignKeyName: "tbl_broadcast_chatlist_org_id_fkey";
859
927
  columns: ["org_id"];
860
928
  isOneToOne: false;
861
- referencedRelation: "view_org_all";
929
+ referencedRelation: "view_org";
862
930
  referencedColumns: ["org_id"];
863
931
  }
864
932
  ];
@@ -954,11 +1022,13 @@ export type Database = {
954
1022
  chat_ids: string[] | null;
955
1023
  created_at: string;
956
1024
  delay: number | null;
1025
+ is_repeat: boolean | null;
957
1026
  message_payload: Json | null;
958
1027
  org_id: string;
959
1028
  org_phone: string | null;
960
1029
  performed_at: string | null;
961
1030
  performed_by: string | null;
1031
+ repeat_config: Json | null;
962
1032
  scheduled_at: string | null;
963
1033
  variables: Json | null;
964
1034
  };
@@ -968,11 +1038,13 @@ export type Database = {
968
1038
  chat_ids?: string[] | null;
969
1039
  created_at?: string;
970
1040
  delay?: number | null;
1041
+ is_repeat?: boolean | null;
971
1042
  message_payload?: Json | null;
972
1043
  org_id: string;
973
1044
  org_phone?: string | null;
974
1045
  performed_at?: string | null;
975
1046
  performed_by?: string | null;
1047
+ repeat_config?: Json | null;
976
1048
  scheduled_at?: string | null;
977
1049
  variables?: Json | null;
978
1050
  };
@@ -982,11 +1054,13 @@ export type Database = {
982
1054
  chat_ids?: string[] | null;
983
1055
  created_at?: string;
984
1056
  delay?: number | null;
1057
+ is_repeat?: boolean | null;
985
1058
  message_payload?: Json | null;
986
1059
  org_id?: string;
987
1060
  org_phone?: string | null;
988
1061
  performed_at?: string | null;
989
1062
  performed_by?: string | null;
1063
+ repeat_config?: Json | null;
990
1064
  scheduled_at?: string | null;
991
1065
  variables?: Json | null;
992
1066
  };
@@ -3510,15 +3584,6 @@ export type Database = {
3510
3584
  };
3511
3585
  Returns: Json;
3512
3586
  };
3513
- get_chats_by_id: {
3514
- Args: {
3515
- chat_id_input: string[];
3516
- chat_org_phones_input?: string[];
3517
- email_input?: string;
3518
- org_id_input: string;
3519
- };
3520
- Returns: Json;
3521
- };
3522
3587
  get_chats_info: {
3523
3588
  Args: {
3524
3589
  chat_id_input: string;
@@ -3563,7 +3628,6 @@ export type Database = {
3563
3628
  get_export_members_data: {
3564
3629
  Args: {
3565
3630
  chat_id_input?: string[];
3566
- limit_input?: number;
3567
3631
  offset_input?: number;
3568
3632
  org_id_input: string;
3569
3633
  };
@@ -3869,7 +3933,6 @@ export type Database = {
3869
3933
  update_custom_properties: {
3870
3934
  Args: {
3871
3935
  org_id_input: string;
3872
- replace_properties?: boolean;
3873
3936
  row_properties_map: Json;
3874
3937
  };
3875
3938
  Returns: undefined;