@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.
package/src/supabase.types.ts
CHANGED
|
@@ -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
|
{
|
|
@@ -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
|
|
@@ -1044,6 +1061,7 @@ export type Database = {
|
|
|
1044
1061
|
message_payload?: Json | null
|
|
1045
1062
|
org_id: string
|
|
1046
1063
|
org_phone?: string | null
|
|
1064
|
+
parent_broadcast_id?: string | null
|
|
1047
1065
|
performed_at?: string | null
|
|
1048
1066
|
performed_by?: string | null
|
|
1049
1067
|
repeat_config?: Json | null
|
|
@@ -1062,6 +1080,7 @@ export type Database = {
|
|
|
1062
1080
|
message_payload?: Json | null
|
|
1063
1081
|
org_id?: string
|
|
1064
1082
|
org_phone?: string | null
|
|
1083
|
+
parent_broadcast_id?: string | null
|
|
1065
1084
|
performed_at?: string | null
|
|
1066
1085
|
performed_by?: string | null
|
|
1067
1086
|
repeat_config?: Json | null
|
|
@@ -3185,6 +3204,8 @@ export type Database = {
|
|
|
3185
3204
|
total_delivered_count: number | null
|
|
3186
3205
|
total_member_count: number | null
|
|
3187
3206
|
total_read_count: number | null
|
|
3207
|
+
is_repeat: boolean | null
|
|
3208
|
+
parent_broadcast_id: string | null
|
|
3188
3209
|
}
|
|
3189
3210
|
Relationships: [
|
|
3190
3211
|
{
|
|
@@ -3566,6 +3587,15 @@ export type Database = {
|
|
|
3566
3587
|
}
|
|
3567
3588
|
Returns: Json
|
|
3568
3589
|
}
|
|
3590
|
+
get_chats_by_id: {
|
|
3591
|
+
Args: {
|
|
3592
|
+
chat_id_input: string[]
|
|
3593
|
+
chat_org_phones_input?: string[]
|
|
3594
|
+
email_input?: string
|
|
3595
|
+
org_id_input: string
|
|
3596
|
+
}
|
|
3597
|
+
Returns: Json
|
|
3598
|
+
}
|
|
3569
3599
|
get_chats_info: {
|
|
3570
3600
|
Args: {
|
|
3571
3601
|
chat_id_input: string
|
|
@@ -3606,6 +3636,7 @@ export type Database = {
|
|
|
3606
3636
|
get_export_members_data: {
|
|
3607
3637
|
Args: {
|
|
3608
3638
|
chat_id_input?: string[]
|
|
3639
|
+
limit_input?: number
|
|
3609
3640
|
offset_input?: number
|
|
3610
3641
|
org_id_input: string
|
|
3611
3642
|
}
|
|
@@ -3877,6 +3908,7 @@ export type Database = {
|
|
|
3877
3908
|
update_custom_properties: {
|
|
3878
3909
|
Args: {
|
|
3879
3910
|
org_id_input: string
|
|
3911
|
+
replace_properties?: boolean
|
|
3880
3912
|
row_properties_map: Json
|
|
3881
3913
|
}
|
|
3882
3914
|
Returns: undefined
|