@periskope/types 0.6.455 → 0.6.457
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/dist/supabase.types.d.ts +134 -3
- package/dist/supabase.types.d.ts.map +1 -1
- package/dist/types.d.ts +13 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/supabase.types.ts +134 -3
- package/src/types.ts +16 -1
- package/tsconfig.tsbuildinfo +1 -1
package/dist/supabase.types.d.ts
CHANGED
|
@@ -665,7 +665,7 @@ export type Database = {
|
|
|
665
665
|
Row: {
|
|
666
666
|
agent_type: string | null;
|
|
667
667
|
ai_config: Json;
|
|
668
|
-
|
|
668
|
+
job_id: string;
|
|
669
669
|
job_name: string | null;
|
|
670
670
|
last_run_at: string | null;
|
|
671
671
|
last_updated_at: string | null;
|
|
@@ -678,7 +678,7 @@ export type Database = {
|
|
|
678
678
|
Insert: {
|
|
679
679
|
agent_type?: string | null;
|
|
680
680
|
ai_config: Json;
|
|
681
|
-
|
|
681
|
+
job_id: string;
|
|
682
682
|
job_name?: string | null;
|
|
683
683
|
last_run_at?: string | null;
|
|
684
684
|
last_updated_at?: string | null;
|
|
@@ -691,7 +691,7 @@ export type Database = {
|
|
|
691
691
|
Update: {
|
|
692
692
|
agent_type?: string | null;
|
|
693
693
|
ai_config?: Json;
|
|
694
|
-
|
|
694
|
+
job_id?: string;
|
|
695
695
|
job_name?: string | null;
|
|
696
696
|
last_run_at?: string | null;
|
|
697
697
|
last_updated_at?: string | null;
|
|
@@ -893,6 +893,67 @@ export type Database = {
|
|
|
893
893
|
}
|
|
894
894
|
];
|
|
895
895
|
};
|
|
896
|
+
tbl_broadcast_chatlist: {
|
|
897
|
+
Row: {
|
|
898
|
+
chat_ids: string[];
|
|
899
|
+
created_at: string;
|
|
900
|
+
updated_at: string | null;
|
|
901
|
+
created_by: string | null;
|
|
902
|
+
message_payload: Json | null;
|
|
903
|
+
org_id: string;
|
|
904
|
+
org_phone: string | null;
|
|
905
|
+
template_id: string;
|
|
906
|
+
template_name: string;
|
|
907
|
+
variables: Json | null;
|
|
908
|
+
};
|
|
909
|
+
Insert: {
|
|
910
|
+
chat_ids?: string[];
|
|
911
|
+
created_at?: string;
|
|
912
|
+
updated_at?: string | null;
|
|
913
|
+
created_by?: string | null;
|
|
914
|
+
message_payload?: Json | null;
|
|
915
|
+
org_id: string;
|
|
916
|
+
org_phone?: string | null;
|
|
917
|
+
template_id?: string;
|
|
918
|
+
template_name: string;
|
|
919
|
+
variables?: Json | null;
|
|
920
|
+
};
|
|
921
|
+
Update: {
|
|
922
|
+
chat_ids?: string[];
|
|
923
|
+
created_at?: string;
|
|
924
|
+
updated_at?: string | null;
|
|
925
|
+
created_by?: string | null;
|
|
926
|
+
message_payload?: Json | null;
|
|
927
|
+
org_id?: string;
|
|
928
|
+
org_phone?: string | null;
|
|
929
|
+
template_id?: string;
|
|
930
|
+
template_name?: string;
|
|
931
|
+
variables?: Json | null;
|
|
932
|
+
};
|
|
933
|
+
Relationships: [
|
|
934
|
+
{
|
|
935
|
+
foreignKeyName: "tbl_broadcast_chatlist_org_id_fkey";
|
|
936
|
+
columns: ["org_id"];
|
|
937
|
+
isOneToOne: false;
|
|
938
|
+
referencedRelation: "tbl_org";
|
|
939
|
+
referencedColumns: ["org_id"];
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
foreignKeyName: "tbl_broadcast_chatlist_org_id_fkey";
|
|
943
|
+
columns: ["org_id"];
|
|
944
|
+
isOneToOne: false;
|
|
945
|
+
referencedRelation: "view_org";
|
|
946
|
+
referencedColumns: ["org_id"];
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
foreignKeyName: "tbl_broadcast_chatlist_org_id_fkey";
|
|
950
|
+
columns: ["org_id"];
|
|
951
|
+
isOneToOne: false;
|
|
952
|
+
referencedRelation: "view_org_all";
|
|
953
|
+
referencedColumns: ["org_id"];
|
|
954
|
+
}
|
|
955
|
+
];
|
|
956
|
+
};
|
|
896
957
|
tbl_broadcast_logs: {
|
|
897
958
|
Row: {
|
|
898
959
|
broadcast_id: string;
|
|
@@ -988,6 +1049,7 @@ export type Database = {
|
|
|
988
1049
|
org_id: string;
|
|
989
1050
|
org_phone: string | null;
|
|
990
1051
|
org_phones: string[] | null;
|
|
1052
|
+
parent_broadcast_id: string | null;
|
|
991
1053
|
performed_at: string | null;
|
|
992
1054
|
performed_by: string | null;
|
|
993
1055
|
previous_retries: Json | null;
|
|
@@ -1005,6 +1067,7 @@ export type Database = {
|
|
|
1005
1067
|
org_id: string;
|
|
1006
1068
|
org_phone?: string | null;
|
|
1007
1069
|
org_phones?: string[] | null;
|
|
1070
|
+
parent_broadcast_id?: string | null;
|
|
1008
1071
|
performed_at?: string | null;
|
|
1009
1072
|
performed_by?: string | null;
|
|
1010
1073
|
previous_retries?: Json | null;
|
|
@@ -1022,6 +1085,7 @@ export type Database = {
|
|
|
1022
1085
|
org_id?: string;
|
|
1023
1086
|
org_phone?: string | null;
|
|
1024
1087
|
org_phones?: string[] | null;
|
|
1088
|
+
parent_broadcast_id?: string | null;
|
|
1025
1089
|
performed_at?: string | null;
|
|
1026
1090
|
performed_by?: string | null;
|
|
1027
1091
|
previous_retries?: Json | null;
|
|
@@ -2809,6 +2873,68 @@ export type Database = {
|
|
|
2809
2873
|
}
|
|
2810
2874
|
];
|
|
2811
2875
|
};
|
|
2876
|
+
tbl_recurring_broadcasts: {
|
|
2877
|
+
Row: {
|
|
2878
|
+
chat_ids: string[];
|
|
2879
|
+
created_at: string;
|
|
2880
|
+
delay: number | null;
|
|
2881
|
+
scheduled_id: string;
|
|
2882
|
+
is_active: boolean;
|
|
2883
|
+
message_payload: Json;
|
|
2884
|
+
next_occurrence_at: string;
|
|
2885
|
+
occurrence_count: number;
|
|
2886
|
+
org_id: string;
|
|
2887
|
+
org_phone: string | null;
|
|
2888
|
+
org_phones: string[] | null;
|
|
2889
|
+
performed_by: string | null;
|
|
2890
|
+
repeat_config: Json;
|
|
2891
|
+
updated_at: string;
|
|
2892
|
+
variables: Json | null;
|
|
2893
|
+
};
|
|
2894
|
+
Insert: {
|
|
2895
|
+
chat_ids: string[];
|
|
2896
|
+
created_at?: string;
|
|
2897
|
+
delay?: number | null;
|
|
2898
|
+
scheduled_id?: string;
|
|
2899
|
+
is_active?: boolean;
|
|
2900
|
+
message_payload: Json;
|
|
2901
|
+
next_occurrence_at: string;
|
|
2902
|
+
occurrence_count?: number;
|
|
2903
|
+
org_id: string;
|
|
2904
|
+
org_phone?: string | null;
|
|
2905
|
+
org_phones?: string[] | null;
|
|
2906
|
+
performed_by?: string | null;
|
|
2907
|
+
repeat_config: Json;
|
|
2908
|
+
updated_at?: string;
|
|
2909
|
+
variables?: Json | null;
|
|
2910
|
+
};
|
|
2911
|
+
Update: {
|
|
2912
|
+
chat_ids?: string[];
|
|
2913
|
+
created_at?: string;
|
|
2914
|
+
delay?: number | null;
|
|
2915
|
+
scheduled_id?: string;
|
|
2916
|
+
is_active?: boolean;
|
|
2917
|
+
message_payload?: Json;
|
|
2918
|
+
next_occurrence_at?: string;
|
|
2919
|
+
occurrence_count?: number;
|
|
2920
|
+
org_id?: string;
|
|
2921
|
+
org_phone?: string | null;
|
|
2922
|
+
org_phones?: string[] | null;
|
|
2923
|
+
performed_by?: string | null;
|
|
2924
|
+
repeat_config?: Json;
|
|
2925
|
+
updated_at?: string;
|
|
2926
|
+
variables?: Json | null;
|
|
2927
|
+
};
|
|
2928
|
+
Relationships: [
|
|
2929
|
+
{
|
|
2930
|
+
foreignKeyName: "tbl_recurring_broadcasts_org_id_fkey";
|
|
2931
|
+
columns: ["org_id"];
|
|
2932
|
+
isOneToOne: false;
|
|
2933
|
+
referencedRelation: "tbl_org";
|
|
2934
|
+
referencedColumns: ["org_id"];
|
|
2935
|
+
}
|
|
2936
|
+
];
|
|
2937
|
+
};
|
|
2812
2938
|
tbl_recurring_messages: {
|
|
2813
2939
|
Row: {
|
|
2814
2940
|
chat_id: string;
|
|
@@ -3172,6 +3298,7 @@ export type Database = {
|
|
|
3172
3298
|
failed_chats: number | null;
|
|
3173
3299
|
message_payload: Json | null;
|
|
3174
3300
|
org_id: string | null;
|
|
3301
|
+
parent_broadcast_id: string | null;
|
|
3175
3302
|
pending_chats: number | null;
|
|
3176
3303
|
performed_at: string | null;
|
|
3177
3304
|
performed_by: string | null;
|
|
@@ -3180,6 +3307,10 @@ export type Database = {
|
|
|
3180
3307
|
retry_count: number | null;
|
|
3181
3308
|
scheduled_at: string | null;
|
|
3182
3309
|
sent_chats: number | null;
|
|
3310
|
+
series_is_active: boolean | null;
|
|
3311
|
+
series_next_occurrence_at: string | null;
|
|
3312
|
+
series_occurrence_count: number | null;
|
|
3313
|
+
series_repeat_config: Json | null;
|
|
3183
3314
|
total_chats: number | null;
|
|
3184
3315
|
total_delivered_count: number | null;
|
|
3185
3316
|
total_member_count: number | null;
|