@periskope/types 0.6.40 → 0.6.41
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 +7 -52
- package/dist/types.d.ts +0 -1
- package/package.json +1 -1
- package/supabase.types.ts +1374 -1419
- package/types.ts +0 -1
package/dist/supabase.types.d.ts
CHANGED
|
@@ -132,11 +132,11 @@ export interface Database {
|
|
|
132
132
|
};
|
|
133
133
|
Relationships: [
|
|
134
134
|
{
|
|
135
|
-
foreignKeyName: "
|
|
136
|
-
columns: ["org_id"];
|
|
135
|
+
foreignKeyName: "tbl_chat_access_org_id_email_fkey";
|
|
136
|
+
columns: ["org_id", "email"];
|
|
137
137
|
isOneToOne: false;
|
|
138
|
-
referencedRelation: "
|
|
139
|
-
referencedColumns: ["org_id"];
|
|
138
|
+
referencedRelation: "tbl_org_members";
|
|
139
|
+
referencedColumns: ["org_id", "email"];
|
|
140
140
|
}
|
|
141
141
|
];
|
|
142
142
|
};
|
|
@@ -746,6 +746,7 @@ export interface Database {
|
|
|
746
746
|
invited_at: string | null;
|
|
747
747
|
invited_by: string | null;
|
|
748
748
|
is_active: boolean;
|
|
749
|
+
member_color: Database["public"]["Enums"]["enum_chat_colors"];
|
|
749
750
|
member_image: string | null;
|
|
750
751
|
member_name: string | null;
|
|
751
752
|
org_id: string;
|
|
@@ -758,6 +759,7 @@ export interface Database {
|
|
|
758
759
|
invited_at?: string | null;
|
|
759
760
|
invited_by?: string | null;
|
|
760
761
|
is_active?: boolean;
|
|
762
|
+
member_color?: Database["public"]["Enums"]["enum_chat_colors"];
|
|
761
763
|
member_image?: string | null;
|
|
762
764
|
member_name?: string | null;
|
|
763
765
|
org_id: string;
|
|
@@ -770,6 +772,7 @@ export interface Database {
|
|
|
770
772
|
invited_at?: string | null;
|
|
771
773
|
invited_by?: string | null;
|
|
772
774
|
is_active?: boolean;
|
|
775
|
+
member_color?: Database["public"]["Enums"]["enum_chat_colors"];
|
|
773
776
|
member_image?: string | null;
|
|
774
777
|
member_name?: string | null;
|
|
775
778
|
org_id?: string;
|
|
@@ -1008,46 +1011,6 @@ export interface Database {
|
|
|
1008
1011
|
}
|
|
1009
1012
|
];
|
|
1010
1013
|
};
|
|
1011
|
-
view_contacts: {
|
|
1012
|
-
Row: {
|
|
1013
|
-
business_profile: Json | null;
|
|
1014
|
-
chat_count: number | null;
|
|
1015
|
-
contact_color: Database["public"]["Enums"]["enum_chat_colors"] | null;
|
|
1016
|
-
contact_id: string | null;
|
|
1017
|
-
contact_image: string | null;
|
|
1018
|
-
contact_name: string | null;
|
|
1019
|
-
contact_type: string | null;
|
|
1020
|
-
id: Json | null;
|
|
1021
|
-
is_blocked: boolean | null;
|
|
1022
|
-
is_business: boolean | null;
|
|
1023
|
-
is_enterprise: boolean | null;
|
|
1024
|
-
is_group: boolean | null;
|
|
1025
|
-
is_internal: boolean | null;
|
|
1026
|
-
is_me: boolean | null;
|
|
1027
|
-
is_my_contact: boolean | null;
|
|
1028
|
-
is_user: boolean | null;
|
|
1029
|
-
is_wa_contact: boolean | null;
|
|
1030
|
-
label_ids: Json | null;
|
|
1031
|
-
last_updated_at: string | null;
|
|
1032
|
-
name: string | null;
|
|
1033
|
-
number: string | null;
|
|
1034
|
-
org_id: string | null;
|
|
1035
|
-
pushname: string | null;
|
|
1036
|
-
short_name: string | null;
|
|
1037
|
-
updated_at: string | null;
|
|
1038
|
-
verified_level: number | null;
|
|
1039
|
-
verified_name: string | null;
|
|
1040
|
-
};
|
|
1041
|
-
Relationships: [
|
|
1042
|
-
{
|
|
1043
|
-
foreignKeyName: "tbl_contacts_org_id_fkey";
|
|
1044
|
-
columns: ["org_id"];
|
|
1045
|
-
isOneToOne: false;
|
|
1046
|
-
referencedRelation: "tbl_org";
|
|
1047
|
-
referencedColumns: ["org_id"];
|
|
1048
|
-
}
|
|
1049
|
-
];
|
|
1050
|
-
};
|
|
1051
1014
|
};
|
|
1052
1015
|
Functions: {
|
|
1053
1016
|
gen_id: {
|
|
@@ -1090,14 +1053,6 @@ export interface Database {
|
|
|
1090
1053
|
};
|
|
1091
1054
|
Returns: Json;
|
|
1092
1055
|
};
|
|
1093
|
-
get_dashboard_statistics: {
|
|
1094
|
-
Args: {
|
|
1095
|
-
org_id_input: string;
|
|
1096
|
-
type_input?: string;
|
|
1097
|
-
interval_input?: unknown;
|
|
1098
|
-
};
|
|
1099
|
-
Returns: Json;
|
|
1100
|
-
};
|
|
1101
1056
|
get_export_chats_data: {
|
|
1102
1057
|
Args: {
|
|
1103
1058
|
chat_ids: string[];
|
package/dist/types.d.ts
CHANGED
|
@@ -46,7 +46,6 @@ export type TicketType = OverrideProperties<Tables<'tbl_chat_tickets'>, {
|
|
|
46
46
|
}>;
|
|
47
47
|
export type ContactType = Merge<Tables<'tbl_contacts'>, {
|
|
48
48
|
chats: ChatType[] | null;
|
|
49
|
-
chat_count: number | null;
|
|
50
49
|
}>;
|
|
51
50
|
export type ReactionType = Tables<'tbl_chat_reactions'>;
|
|
52
51
|
export type NotificationType = Tables<'tbl_chat_notifications'>;
|