@periskope/types 0.6.74 → 0.6.75
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 +6 -0
- package/dist/types.d.ts +7 -0
- package/package.json +1 -1
- package/supabase.types.ts +6 -0
- package/types.ts +10 -0
package/dist/supabase.types.d.ts
CHANGED
|
@@ -1146,6 +1146,7 @@ export type Database = {
|
|
|
1146
1146
|
member_name: string | null;
|
|
1147
1147
|
org_id: string;
|
|
1148
1148
|
org_phones: string[] | null;
|
|
1149
|
+
preferences: Json;
|
|
1149
1150
|
role: Database["public"]["Enums"]["enum_member_role"];
|
|
1150
1151
|
user_id: string | null;
|
|
1151
1152
|
};
|
|
@@ -1162,6 +1163,7 @@ export type Database = {
|
|
|
1162
1163
|
member_name?: string | null;
|
|
1163
1164
|
org_id: string;
|
|
1164
1165
|
org_phones?: string[] | null;
|
|
1166
|
+
preferences?: Json;
|
|
1165
1167
|
role?: Database["public"]["Enums"]["enum_member_role"];
|
|
1166
1168
|
user_id?: string | null;
|
|
1167
1169
|
};
|
|
@@ -1178,6 +1180,7 @@ export type Database = {
|
|
|
1178
1180
|
member_name?: string | null;
|
|
1179
1181
|
org_id?: string;
|
|
1180
1182
|
org_phones?: string[] | null;
|
|
1183
|
+
preferences?: Json;
|
|
1181
1184
|
role?: Database["public"]["Enums"]["enum_member_role"];
|
|
1182
1185
|
user_id?: string | null;
|
|
1183
1186
|
};
|
|
@@ -1210,6 +1213,7 @@ export type Database = {
|
|
|
1210
1213
|
created_at: string;
|
|
1211
1214
|
first_connected_at: string | null;
|
|
1212
1215
|
is_ready: boolean | null;
|
|
1216
|
+
legacy_version: boolean | null;
|
|
1213
1217
|
org_id: string;
|
|
1214
1218
|
org_phone: string | null;
|
|
1215
1219
|
phone_id: string;
|
|
@@ -1226,6 +1230,7 @@ export type Database = {
|
|
|
1226
1230
|
created_at?: string;
|
|
1227
1231
|
first_connected_at?: string | null;
|
|
1228
1232
|
is_ready?: boolean | null;
|
|
1233
|
+
legacy_version?: boolean | null;
|
|
1229
1234
|
org_id: string;
|
|
1230
1235
|
org_phone?: string | null;
|
|
1231
1236
|
phone_id?: string;
|
|
@@ -1242,6 +1247,7 @@ export type Database = {
|
|
|
1242
1247
|
created_at?: string;
|
|
1243
1248
|
first_connected_at?: string | null;
|
|
1244
1249
|
is_ready?: boolean | null;
|
|
1250
|
+
legacy_version?: boolean | null;
|
|
1245
1251
|
org_id?: string;
|
|
1246
1252
|
org_phone?: string | null;
|
|
1247
1253
|
phone_id?: string;
|
package/dist/types.d.ts
CHANGED
|
@@ -179,3 +179,10 @@ export type APIAuthDetails = {
|
|
|
179
179
|
phone_details: Tables<'tbl_org_phones'> | null;
|
|
180
180
|
token_details: Tables<'tbl_integration_tokens'> | null;
|
|
181
181
|
};
|
|
182
|
+
export type UserPreferences = {
|
|
183
|
+
theme: 'light' | 'dark';
|
|
184
|
+
language: 'en' | 'es';
|
|
185
|
+
left_sidebar_open: boolean;
|
|
186
|
+
right_sidepanel_open: boolean;
|
|
187
|
+
sync_wa_unread_count: boolean;
|
|
188
|
+
};
|
package/package.json
CHANGED
package/supabase.types.ts
CHANGED
|
@@ -1149,6 +1149,7 @@ export type Database = {
|
|
|
1149
1149
|
member_name: string | null
|
|
1150
1150
|
org_id: string
|
|
1151
1151
|
org_phones: string[] | null
|
|
1152
|
+
preferences: Json
|
|
1152
1153
|
role: Database["public"]["Enums"]["enum_member_role"]
|
|
1153
1154
|
user_id: string | null
|
|
1154
1155
|
}
|
|
@@ -1165,6 +1166,7 @@ export type Database = {
|
|
|
1165
1166
|
member_name?: string | null
|
|
1166
1167
|
org_id: string
|
|
1167
1168
|
org_phones?: string[] | null
|
|
1169
|
+
preferences?: Json
|
|
1168
1170
|
role?: Database["public"]["Enums"]["enum_member_role"]
|
|
1169
1171
|
user_id?: string | null
|
|
1170
1172
|
}
|
|
@@ -1181,6 +1183,7 @@ export type Database = {
|
|
|
1181
1183
|
member_name?: string | null
|
|
1182
1184
|
org_id?: string
|
|
1183
1185
|
org_phones?: string[] | null
|
|
1186
|
+
preferences?: Json
|
|
1184
1187
|
role?: Database["public"]["Enums"]["enum_member_role"]
|
|
1185
1188
|
user_id?: string | null
|
|
1186
1189
|
}
|
|
@@ -1213,6 +1216,7 @@ export type Database = {
|
|
|
1213
1216
|
created_at: string
|
|
1214
1217
|
first_connected_at: string | null
|
|
1215
1218
|
is_ready: boolean | null
|
|
1219
|
+
legacy_version: boolean | null
|
|
1216
1220
|
org_id: string
|
|
1217
1221
|
org_phone: string | null
|
|
1218
1222
|
phone_id: string
|
|
@@ -1229,6 +1233,7 @@ export type Database = {
|
|
|
1229
1233
|
created_at?: string
|
|
1230
1234
|
first_connected_at?: string | null
|
|
1231
1235
|
is_ready?: boolean | null
|
|
1236
|
+
legacy_version?: boolean | null
|
|
1232
1237
|
org_id: string
|
|
1233
1238
|
org_phone?: string | null
|
|
1234
1239
|
phone_id?: string
|
|
@@ -1245,6 +1250,7 @@ export type Database = {
|
|
|
1245
1250
|
created_at?: string
|
|
1246
1251
|
first_connected_at?: string | null
|
|
1247
1252
|
is_ready?: boolean | null
|
|
1253
|
+
legacy_version?: boolean | null
|
|
1248
1254
|
org_id?: string
|
|
1249
1255
|
org_phone?: string | null
|
|
1250
1256
|
phone_id?: string
|
package/types.ts
CHANGED
|
@@ -295,3 +295,13 @@ export type APIAuthDetails = {
|
|
|
295
295
|
phone_details: Tables<'tbl_org_phones'> | null;
|
|
296
296
|
token_details: Tables<'tbl_integration_tokens'> | null;
|
|
297
297
|
};
|
|
298
|
+
|
|
299
|
+
/* ---------------------------- USER PREFERENCES ---------------------------- */
|
|
300
|
+
|
|
301
|
+
export type UserPreferences = {
|
|
302
|
+
theme: 'light' | 'dark';
|
|
303
|
+
language: 'en' | 'es';
|
|
304
|
+
left_sidebar_open: boolean;
|
|
305
|
+
right_sidepanel_open: boolean;
|
|
306
|
+
sync_wa_unread_count: boolean;
|
|
307
|
+
};
|