@periskope/types 0.6.138 → 0.6.140
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 +39 -45
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
- package/supabase.types.ts +39 -45
- package/types.ts +1 -1
package/dist/supabase.types.d.ts
CHANGED
|
@@ -22,6 +22,36 @@ export type Database = {
|
|
|
22
22
|
};
|
|
23
23
|
Relationships: [];
|
|
24
24
|
};
|
|
25
|
+
org_phone_logs: {
|
|
26
|
+
Row: {
|
|
27
|
+
connection_history: Json | null;
|
|
28
|
+
created_at: string;
|
|
29
|
+
deleted_at: string | null;
|
|
30
|
+
first_connected_at: string | null;
|
|
31
|
+
org_id: string;
|
|
32
|
+
org_phone: string | null;
|
|
33
|
+
phone_id: string;
|
|
34
|
+
};
|
|
35
|
+
Insert: {
|
|
36
|
+
connection_history?: Json | null;
|
|
37
|
+
created_at?: string;
|
|
38
|
+
deleted_at?: string | null;
|
|
39
|
+
first_connected_at?: string | null;
|
|
40
|
+
org_id: string;
|
|
41
|
+
org_phone?: string | null;
|
|
42
|
+
phone_id: string;
|
|
43
|
+
};
|
|
44
|
+
Update: {
|
|
45
|
+
connection_history?: Json | null;
|
|
46
|
+
created_at?: string;
|
|
47
|
+
deleted_at?: string | null;
|
|
48
|
+
first_connected_at?: string | null;
|
|
49
|
+
org_id?: string;
|
|
50
|
+
org_phone?: string | null;
|
|
51
|
+
phone_id?: string;
|
|
52
|
+
};
|
|
53
|
+
Relationships: [];
|
|
54
|
+
};
|
|
25
55
|
tbl_communication_logs: {
|
|
26
56
|
Row: {
|
|
27
57
|
communication_type: string | null;
|
|
@@ -527,15 +557,7 @@ export type Database = {
|
|
|
527
557
|
updated_at?: string | null;
|
|
528
558
|
vcards?: string[] | null;
|
|
529
559
|
};
|
|
530
|
-
Relationships: [
|
|
531
|
-
{
|
|
532
|
-
foreignKeyName: "tbl_chat_messages_fkey_tbl_org_phones";
|
|
533
|
-
columns: ["org_phone", "org_id"];
|
|
534
|
-
isOneToOne: false;
|
|
535
|
-
referencedRelation: "tbl_org_phones";
|
|
536
|
-
referencedColumns: ["org_phone", "org_id"];
|
|
537
|
-
}
|
|
538
|
-
];
|
|
560
|
+
Relationships: [];
|
|
539
561
|
};
|
|
540
562
|
tbl_chat_notifications: {
|
|
541
563
|
Row: {
|
|
@@ -577,15 +599,7 @@ export type Database = {
|
|
|
577
599
|
type?: string | null;
|
|
578
600
|
unique_id?: string | null;
|
|
579
601
|
};
|
|
580
|
-
Relationships: [
|
|
581
|
-
{
|
|
582
|
-
foreignKeyName: "tbl_chat_notifications_fkey_tbl_org_phones";
|
|
583
|
-
columns: ["org_id", "org_phone"];
|
|
584
|
-
isOneToOne: false;
|
|
585
|
-
referencedRelation: "tbl_org_phones";
|
|
586
|
-
referencedColumns: ["org_id", "org_phone"];
|
|
587
|
-
}
|
|
588
|
-
];
|
|
602
|
+
Relationships: [];
|
|
589
603
|
};
|
|
590
604
|
tbl_chat_participants: {
|
|
591
605
|
Row: {
|
|
@@ -615,15 +629,7 @@ export type Database = {
|
|
|
615
629
|
org_id?: string;
|
|
616
630
|
org_phone?: string;
|
|
617
631
|
};
|
|
618
|
-
Relationships: [
|
|
619
|
-
{
|
|
620
|
-
foreignKeyName: "fkey_tbl_org_phones";
|
|
621
|
-
columns: ["org_id", "org_phone"];
|
|
622
|
-
isOneToOne: false;
|
|
623
|
-
referencedRelation: "tbl_org_phones";
|
|
624
|
-
referencedColumns: ["org_id", "org_phone"];
|
|
625
|
-
}
|
|
626
|
-
];
|
|
632
|
+
Relationships: [];
|
|
627
633
|
};
|
|
628
634
|
tbl_chat_properties: {
|
|
629
635
|
Row: {
|
|
@@ -719,15 +725,7 @@ export type Database = {
|
|
|
719
725
|
timestamp?: string | null;
|
|
720
726
|
unique_id?: string | null;
|
|
721
727
|
};
|
|
722
|
-
Relationships: [
|
|
723
|
-
{
|
|
724
|
-
foreignKeyName: "tbl_chat_reactions_fkey_tbl_org_phones";
|
|
725
|
-
columns: ["org_id", "org_phone"];
|
|
726
|
-
isOneToOne: false;
|
|
727
|
-
referencedRelation: "tbl_org_phones";
|
|
728
|
-
referencedColumns: ["org_id", "org_phone"];
|
|
729
|
-
}
|
|
730
|
-
];
|
|
728
|
+
Relationships: [];
|
|
731
729
|
};
|
|
732
730
|
tbl_chat_tickets: {
|
|
733
731
|
Row: {
|
|
@@ -830,6 +828,7 @@ export type Database = {
|
|
|
830
828
|
group_metadata: Json | null;
|
|
831
829
|
id: Json | null;
|
|
832
830
|
invite_link: string | null;
|
|
831
|
+
is_exited: boolean | null;
|
|
833
832
|
is_group: boolean | null;
|
|
834
833
|
is_muted: boolean | null;
|
|
835
834
|
is_read_only: boolean | null;
|
|
@@ -854,6 +853,7 @@ export type Database = {
|
|
|
854
853
|
group_metadata?: Json | null;
|
|
855
854
|
id?: Json | null;
|
|
856
855
|
invite_link?: string | null;
|
|
856
|
+
is_exited?: boolean | null;
|
|
857
857
|
is_group?: boolean | null;
|
|
858
858
|
is_muted?: boolean | null;
|
|
859
859
|
is_read_only?: boolean | null;
|
|
@@ -878,6 +878,7 @@ export type Database = {
|
|
|
878
878
|
group_metadata?: Json | null;
|
|
879
879
|
id?: Json | null;
|
|
880
880
|
invite_link?: string | null;
|
|
881
|
+
is_exited?: boolean | null;
|
|
881
882
|
is_group?: boolean | null;
|
|
882
883
|
is_muted?: boolean | null;
|
|
883
884
|
is_read_only?: boolean | null;
|
|
@@ -892,15 +893,7 @@ export type Database = {
|
|
|
892
893
|
unread_count?: number | null;
|
|
893
894
|
updated_at?: string;
|
|
894
895
|
};
|
|
895
|
-
Relationships: [
|
|
896
|
-
{
|
|
897
|
-
foreignKeyName: "fkey_tbl_org_phones";
|
|
898
|
-
columns: ["org_id", "org_phone"];
|
|
899
|
-
isOneToOne: false;
|
|
900
|
-
referencedRelation: "tbl_org_phones";
|
|
901
|
-
referencedColumns: ["org_id", "org_phone"];
|
|
902
|
-
}
|
|
903
|
-
];
|
|
896
|
+
Relationships: [];
|
|
904
897
|
};
|
|
905
898
|
tbl_contacts: {
|
|
906
899
|
Row: {
|
|
@@ -1674,6 +1667,7 @@ export type Database = {
|
|
|
1674
1667
|
info_admins_only: boolean | null;
|
|
1675
1668
|
invite_link: string | null;
|
|
1676
1669
|
is_archived: boolean | null;
|
|
1670
|
+
is_exited: boolean | null;
|
|
1677
1671
|
is_muted: boolean | null;
|
|
1678
1672
|
label_ids: Json | null;
|
|
1679
1673
|
last_read_timestamp: string | null;
|
package/dist/types.d.ts
CHANGED
|
@@ -156,7 +156,7 @@ export type MessageType = Merge<OverrideProperties<Tables<'tbl_chat_messages'>,
|
|
|
156
156
|
}>;
|
|
157
157
|
export type MessageFlagType = {
|
|
158
158
|
status: boolean;
|
|
159
|
-
response_type?: 'message' | 'reaction' | 'ticket';
|
|
159
|
+
response_type?: 'message' | 'reaction' | 'ticket' | 'manual';
|
|
160
160
|
response_id?: string;
|
|
161
161
|
response_timestamp?: string;
|
|
162
162
|
response_email?: string;
|
package/package.json
CHANGED
package/supabase.types.ts
CHANGED
|
@@ -21,6 +21,36 @@ export type Database = {
|
|
|
21
21
|
}
|
|
22
22
|
Relationships: []
|
|
23
23
|
}
|
|
24
|
+
org_phone_logs: {
|
|
25
|
+
Row: {
|
|
26
|
+
connection_history: Json | null
|
|
27
|
+
created_at: string
|
|
28
|
+
deleted_at: string | null
|
|
29
|
+
first_connected_at: string | null
|
|
30
|
+
org_id: string
|
|
31
|
+
org_phone: string | null
|
|
32
|
+
phone_id: string
|
|
33
|
+
}
|
|
34
|
+
Insert: {
|
|
35
|
+
connection_history?: Json | null
|
|
36
|
+
created_at?: string
|
|
37
|
+
deleted_at?: string | null
|
|
38
|
+
first_connected_at?: string | null
|
|
39
|
+
org_id: string
|
|
40
|
+
org_phone?: string | null
|
|
41
|
+
phone_id: string
|
|
42
|
+
}
|
|
43
|
+
Update: {
|
|
44
|
+
connection_history?: Json | null
|
|
45
|
+
created_at?: string
|
|
46
|
+
deleted_at?: string | null
|
|
47
|
+
first_connected_at?: string | null
|
|
48
|
+
org_id?: string
|
|
49
|
+
org_phone?: string | null
|
|
50
|
+
phone_id?: string
|
|
51
|
+
}
|
|
52
|
+
Relationships: []
|
|
53
|
+
}
|
|
24
54
|
tbl_communication_logs: {
|
|
25
55
|
Row: {
|
|
26
56
|
communication_type: string | null
|
|
@@ -532,15 +562,7 @@ export type Database = {
|
|
|
532
562
|
updated_at?: string | null
|
|
533
563
|
vcards?: string[] | null
|
|
534
564
|
}
|
|
535
|
-
Relationships: [
|
|
536
|
-
{
|
|
537
|
-
foreignKeyName: "tbl_chat_messages_fkey_tbl_org_phones"
|
|
538
|
-
columns: ["org_phone", "org_id"]
|
|
539
|
-
isOneToOne: false
|
|
540
|
-
referencedRelation: "tbl_org_phones"
|
|
541
|
-
referencedColumns: ["org_phone", "org_id"]
|
|
542
|
-
},
|
|
543
|
-
]
|
|
565
|
+
Relationships: []
|
|
544
566
|
}
|
|
545
567
|
tbl_chat_notifications: {
|
|
546
568
|
Row: {
|
|
@@ -582,15 +604,7 @@ export type Database = {
|
|
|
582
604
|
type?: string | null
|
|
583
605
|
unique_id?: string | null
|
|
584
606
|
}
|
|
585
|
-
Relationships: [
|
|
586
|
-
{
|
|
587
|
-
foreignKeyName: "tbl_chat_notifications_fkey_tbl_org_phones"
|
|
588
|
-
columns: ["org_id", "org_phone"]
|
|
589
|
-
isOneToOne: false
|
|
590
|
-
referencedRelation: "tbl_org_phones"
|
|
591
|
-
referencedColumns: ["org_id", "org_phone"]
|
|
592
|
-
},
|
|
593
|
-
]
|
|
607
|
+
Relationships: []
|
|
594
608
|
}
|
|
595
609
|
tbl_chat_participants: {
|
|
596
610
|
Row: {
|
|
@@ -620,15 +634,7 @@ export type Database = {
|
|
|
620
634
|
org_id?: string
|
|
621
635
|
org_phone?: string
|
|
622
636
|
}
|
|
623
|
-
Relationships: [
|
|
624
|
-
{
|
|
625
|
-
foreignKeyName: "fkey_tbl_org_phones"
|
|
626
|
-
columns: ["org_id", "org_phone"]
|
|
627
|
-
isOneToOne: false
|
|
628
|
-
referencedRelation: "tbl_org_phones"
|
|
629
|
-
referencedColumns: ["org_id", "org_phone"]
|
|
630
|
-
},
|
|
631
|
-
]
|
|
637
|
+
Relationships: []
|
|
632
638
|
}
|
|
633
639
|
tbl_chat_properties: {
|
|
634
640
|
Row: {
|
|
@@ -724,15 +730,7 @@ export type Database = {
|
|
|
724
730
|
timestamp?: string | null
|
|
725
731
|
unique_id?: string | null
|
|
726
732
|
}
|
|
727
|
-
Relationships: [
|
|
728
|
-
{
|
|
729
|
-
foreignKeyName: "tbl_chat_reactions_fkey_tbl_org_phones"
|
|
730
|
-
columns: ["org_id", "org_phone"]
|
|
731
|
-
isOneToOne: false
|
|
732
|
-
referencedRelation: "tbl_org_phones"
|
|
733
|
-
referencedColumns: ["org_id", "org_phone"]
|
|
734
|
-
},
|
|
735
|
-
]
|
|
733
|
+
Relationships: []
|
|
736
734
|
}
|
|
737
735
|
tbl_chat_tickets: {
|
|
738
736
|
Row: {
|
|
@@ -839,6 +837,7 @@ export type Database = {
|
|
|
839
837
|
group_metadata: Json | null
|
|
840
838
|
id: Json | null
|
|
841
839
|
invite_link: string | null
|
|
840
|
+
is_exited: boolean | null
|
|
842
841
|
is_group: boolean | null
|
|
843
842
|
is_muted: boolean | null
|
|
844
843
|
is_read_only: boolean | null
|
|
@@ -863,6 +862,7 @@ export type Database = {
|
|
|
863
862
|
group_metadata?: Json | null
|
|
864
863
|
id?: Json | null
|
|
865
864
|
invite_link?: string | null
|
|
865
|
+
is_exited?: boolean | null
|
|
866
866
|
is_group?: boolean | null
|
|
867
867
|
is_muted?: boolean | null
|
|
868
868
|
is_read_only?: boolean | null
|
|
@@ -887,6 +887,7 @@ export type Database = {
|
|
|
887
887
|
group_metadata?: Json | null
|
|
888
888
|
id?: Json | null
|
|
889
889
|
invite_link?: string | null
|
|
890
|
+
is_exited?: boolean | null
|
|
890
891
|
is_group?: boolean | null
|
|
891
892
|
is_muted?: boolean | null
|
|
892
893
|
is_read_only?: boolean | null
|
|
@@ -901,15 +902,7 @@ export type Database = {
|
|
|
901
902
|
unread_count?: number | null
|
|
902
903
|
updated_at?: string
|
|
903
904
|
}
|
|
904
|
-
Relationships: [
|
|
905
|
-
{
|
|
906
|
-
foreignKeyName: "fkey_tbl_org_phones"
|
|
907
|
-
columns: ["org_id", "org_phone"]
|
|
908
|
-
isOneToOne: false
|
|
909
|
-
referencedRelation: "tbl_org_phones"
|
|
910
|
-
referencedColumns: ["org_id", "org_phone"]
|
|
911
|
-
},
|
|
912
|
-
]
|
|
905
|
+
Relationships: []
|
|
913
906
|
}
|
|
914
907
|
tbl_contacts: {
|
|
915
908
|
Row: {
|
|
@@ -1685,6 +1678,7 @@ export type Database = {
|
|
|
1685
1678
|
info_admins_only: boolean | null
|
|
1686
1679
|
invite_link: string | null
|
|
1687
1680
|
is_archived: boolean | null
|
|
1681
|
+
is_exited: boolean | null
|
|
1688
1682
|
is_muted: boolean | null
|
|
1689
1683
|
label_ids: Json | null
|
|
1690
1684
|
last_read_timestamp: string | null
|
package/types.ts
CHANGED
|
@@ -188,7 +188,7 @@ export type MessageType = Merge<
|
|
|
188
188
|
|
|
189
189
|
export type MessageFlagType = {
|
|
190
190
|
status: boolean;
|
|
191
|
-
response_type?: 'message' | 'reaction' | 'ticket';
|
|
191
|
+
response_type?: 'message' | 'reaction' | 'ticket' | 'manual';
|
|
192
192
|
response_id?: string;
|
|
193
193
|
response_timestamp?: string;
|
|
194
194
|
response_email?: string;
|