@periskope/types 0.6.40 → 0.6.42
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 +15 -50
- package/dist/types.d.ts +0 -1
- package/package.json +1 -1
- package/supabase.types.ts +15 -50
- 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,18 +1053,20 @@ export interface Database {
|
|
|
1090
1053
|
};
|
|
1091
1054
|
Returns: Json;
|
|
1092
1055
|
};
|
|
1093
|
-
|
|
1056
|
+
get_export_chats_data: {
|
|
1094
1057
|
Args: {
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
interval_input?: unknown;
|
|
1058
|
+
chat_ids: string[];
|
|
1059
|
+
org_id_input?: string;
|
|
1098
1060
|
};
|
|
1099
1061
|
Returns: Json;
|
|
1100
1062
|
};
|
|
1101
|
-
|
|
1063
|
+
get_messages_notifications_reactions: {
|
|
1102
1064
|
Args: {
|
|
1103
|
-
|
|
1065
|
+
chat_id_input?: string[];
|
|
1066
|
+
message_limit_input?: number;
|
|
1067
|
+
reaction_notification_limit_input?: number;
|
|
1104
1068
|
org_id_input?: string;
|
|
1069
|
+
last_updated_at_input?: string;
|
|
1105
1070
|
};
|
|
1106
1071
|
Returns: Json;
|
|
1107
1072
|
};
|
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'>;
|
package/package.json
CHANGED
package/supabase.types.ts
CHANGED
|
@@ -131,11 +131,11 @@ export interface Database {
|
|
|
131
131
|
}
|
|
132
132
|
Relationships: [
|
|
133
133
|
{
|
|
134
|
-
foreignKeyName: "
|
|
135
|
-
columns: ["org_id"]
|
|
134
|
+
foreignKeyName: "tbl_chat_access_org_id_email_fkey"
|
|
135
|
+
columns: ["org_id", "email"]
|
|
136
136
|
isOneToOne: false
|
|
137
|
-
referencedRelation: "
|
|
138
|
-
referencedColumns: ["org_id"]
|
|
137
|
+
referencedRelation: "tbl_org_members"
|
|
138
|
+
referencedColumns: ["org_id", "email"]
|
|
139
139
|
}
|
|
140
140
|
]
|
|
141
141
|
}
|
|
@@ -749,6 +749,7 @@ export interface Database {
|
|
|
749
749
|
invited_at: string | null
|
|
750
750
|
invited_by: string | null
|
|
751
751
|
is_active: boolean
|
|
752
|
+
member_color: Database["public"]["Enums"]["enum_chat_colors"]
|
|
752
753
|
member_image: string | null
|
|
753
754
|
member_name: string | null
|
|
754
755
|
org_id: string
|
|
@@ -761,6 +762,7 @@ export interface Database {
|
|
|
761
762
|
invited_at?: string | null
|
|
762
763
|
invited_by?: string | null
|
|
763
764
|
is_active?: boolean
|
|
765
|
+
member_color?: Database["public"]["Enums"]["enum_chat_colors"]
|
|
764
766
|
member_image?: string | null
|
|
765
767
|
member_name?: string | null
|
|
766
768
|
org_id: string
|
|
@@ -773,6 +775,7 @@ export interface Database {
|
|
|
773
775
|
invited_at?: string | null
|
|
774
776
|
invited_by?: string | null
|
|
775
777
|
is_active?: boolean
|
|
778
|
+
member_color?: Database["public"]["Enums"]["enum_chat_colors"]
|
|
776
779
|
member_image?: string | null
|
|
777
780
|
member_name?: string | null
|
|
778
781
|
org_id?: string
|
|
@@ -1011,46 +1014,6 @@ export interface Database {
|
|
|
1011
1014
|
}
|
|
1012
1015
|
]
|
|
1013
1016
|
}
|
|
1014
|
-
view_contacts: {
|
|
1015
|
-
Row: {
|
|
1016
|
-
business_profile: Json | null
|
|
1017
|
-
chat_count: number | null
|
|
1018
|
-
contact_color: Database["public"]["Enums"]["enum_chat_colors"] | null
|
|
1019
|
-
contact_id: string | null
|
|
1020
|
-
contact_image: string | null
|
|
1021
|
-
contact_name: string | null
|
|
1022
|
-
contact_type: string | null
|
|
1023
|
-
id: Json | null
|
|
1024
|
-
is_blocked: boolean | null
|
|
1025
|
-
is_business: boolean | null
|
|
1026
|
-
is_enterprise: boolean | null
|
|
1027
|
-
is_group: boolean | null
|
|
1028
|
-
is_internal: boolean | null
|
|
1029
|
-
is_me: boolean | null
|
|
1030
|
-
is_my_contact: boolean | null
|
|
1031
|
-
is_user: boolean | null
|
|
1032
|
-
is_wa_contact: boolean | null
|
|
1033
|
-
label_ids: Json | null
|
|
1034
|
-
last_updated_at: string | null
|
|
1035
|
-
name: string | null
|
|
1036
|
-
number: string | null
|
|
1037
|
-
org_id: string | null
|
|
1038
|
-
pushname: string | null
|
|
1039
|
-
short_name: string | null
|
|
1040
|
-
updated_at: string | null
|
|
1041
|
-
verified_level: number | null
|
|
1042
|
-
verified_name: string | null
|
|
1043
|
-
}
|
|
1044
|
-
Relationships: [
|
|
1045
|
-
{
|
|
1046
|
-
foreignKeyName: "tbl_contacts_org_id_fkey"
|
|
1047
|
-
columns: ["org_id"]
|
|
1048
|
-
isOneToOne: false
|
|
1049
|
-
referencedRelation: "tbl_org"
|
|
1050
|
-
referencedColumns: ["org_id"]
|
|
1051
|
-
}
|
|
1052
|
-
]
|
|
1053
|
-
}
|
|
1054
1017
|
}
|
|
1055
1018
|
Functions: {
|
|
1056
1019
|
gen_id: {
|
|
@@ -1093,18 +1056,20 @@ export interface Database {
|
|
|
1093
1056
|
}
|
|
1094
1057
|
Returns: Json
|
|
1095
1058
|
}
|
|
1096
|
-
|
|
1059
|
+
get_export_chats_data: {
|
|
1097
1060
|
Args: {
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
interval_input?: unknown
|
|
1061
|
+
chat_ids: string[]
|
|
1062
|
+
org_id_input?: string
|
|
1101
1063
|
}
|
|
1102
1064
|
Returns: Json
|
|
1103
1065
|
}
|
|
1104
|
-
|
|
1066
|
+
get_messages_notifications_reactions: {
|
|
1105
1067
|
Args: {
|
|
1106
|
-
|
|
1068
|
+
chat_id_input?: string[]
|
|
1069
|
+
message_limit_input?: number
|
|
1070
|
+
reaction_notification_limit_input?: number
|
|
1107
1071
|
org_id_input?: string
|
|
1072
|
+
last_updated_at_input?: string
|
|
1108
1073
|
}
|
|
1109
1074
|
Returns: Json
|
|
1110
1075
|
}
|