@periskope/types 0.6.173 → 0.6.175
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 +18 -33
- package/dist/types.d.ts +4 -7
- package/index.ts +3 -3
- package/package.json +1 -1
- package/rules.types.ts +1618 -1618
- package/supabase.types.ts +2744 -2749
- package/types.ts +851 -854
package/dist/supabase.types.d.ts
CHANGED
|
@@ -2,31 +2,6 @@ export type Json = {
|
|
|
2
2
|
[key: string]: any;
|
|
3
3
|
} | any;
|
|
4
4
|
export type Database = {
|
|
5
|
-
graphql_public: {
|
|
6
|
-
Tables: {
|
|
7
|
-
[_ in never]: never;
|
|
8
|
-
};
|
|
9
|
-
Views: {
|
|
10
|
-
[_ in never]: never;
|
|
11
|
-
};
|
|
12
|
-
Functions: {
|
|
13
|
-
graphql: {
|
|
14
|
-
Args: {
|
|
15
|
-
operationName?: string;
|
|
16
|
-
query?: string;
|
|
17
|
-
variables?: Json;
|
|
18
|
-
extensions?: Json;
|
|
19
|
-
};
|
|
20
|
-
Returns: Json;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
Enums: {
|
|
24
|
-
[_ in never]: never;
|
|
25
|
-
};
|
|
26
|
-
CompositeTypes: {
|
|
27
|
-
[_ in never]: never;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
5
|
internal: {
|
|
31
6
|
Tables: {
|
|
32
7
|
config: {
|
|
@@ -909,7 +884,7 @@ export type Database = {
|
|
|
909
884
|
response_time?: number | null;
|
|
910
885
|
status?: Database["public"]["Enums"]["enum_chat_tickets_status"] | null;
|
|
911
886
|
subject: string;
|
|
912
|
-
ticket_id
|
|
887
|
+
ticket_id: string;
|
|
913
888
|
zohodesk_metadata?: Json | null;
|
|
914
889
|
};
|
|
915
890
|
Update: {
|
|
@@ -1486,13 +1461,6 @@ export type Database = {
|
|
|
1486
1461
|
user_id?: string | null;
|
|
1487
1462
|
};
|
|
1488
1463
|
Relationships: [
|
|
1489
|
-
{
|
|
1490
|
-
foreignKeyName: "tbl_org_members_fkey_auth_users";
|
|
1491
|
-
columns: ["user_id"];
|
|
1492
|
-
isOneToOne: false;
|
|
1493
|
-
referencedRelation: "users";
|
|
1494
|
-
referencedColumns: ["id"];
|
|
1495
|
-
},
|
|
1496
1464
|
{
|
|
1497
1465
|
foreignKeyName: "tbl_org_members_fkey_tbl_org";
|
|
1498
1466
|
columns: ["org_id"];
|
|
@@ -2371,6 +2339,7 @@ export type Database = {
|
|
|
2371
2339
|
owner_id: string | null;
|
|
2372
2340
|
path_tokens: string[] | null;
|
|
2373
2341
|
updated_at: string | null;
|
|
2342
|
+
user_metadata: Json | null;
|
|
2374
2343
|
version: string | null;
|
|
2375
2344
|
};
|
|
2376
2345
|
Insert: {
|
|
@@ -2384,6 +2353,7 @@ export type Database = {
|
|
|
2384
2353
|
owner_id?: string | null;
|
|
2385
2354
|
path_tokens?: string[] | null;
|
|
2386
2355
|
updated_at?: string | null;
|
|
2356
|
+
user_metadata?: Json | null;
|
|
2387
2357
|
version?: string | null;
|
|
2388
2358
|
};
|
|
2389
2359
|
Update: {
|
|
@@ -2397,6 +2367,7 @@ export type Database = {
|
|
|
2397
2367
|
owner_id?: string | null;
|
|
2398
2368
|
path_tokens?: string[] | null;
|
|
2399
2369
|
updated_at?: string | null;
|
|
2370
|
+
user_metadata?: Json | null;
|
|
2400
2371
|
version?: string | null;
|
|
2401
2372
|
};
|
|
2402
2373
|
Relationships: [
|
|
@@ -2418,6 +2389,7 @@ export type Database = {
|
|
|
2418
2389
|
key: string;
|
|
2419
2390
|
owner_id: string | null;
|
|
2420
2391
|
upload_signature: string;
|
|
2392
|
+
user_metadata: Json | null;
|
|
2421
2393
|
version: string;
|
|
2422
2394
|
};
|
|
2423
2395
|
Insert: {
|
|
@@ -2428,6 +2400,7 @@ export type Database = {
|
|
|
2428
2400
|
key: string;
|
|
2429
2401
|
owner_id?: string | null;
|
|
2430
2402
|
upload_signature: string;
|
|
2403
|
+
user_metadata?: Json | null;
|
|
2431
2404
|
version: string;
|
|
2432
2405
|
};
|
|
2433
2406
|
Update: {
|
|
@@ -2438,6 +2411,7 @@ export type Database = {
|
|
|
2438
2411
|
key?: string;
|
|
2439
2412
|
owner_id?: string | null;
|
|
2440
2413
|
upload_signature?: string;
|
|
2414
|
+
user_metadata?: Json | null;
|
|
2441
2415
|
version?: string;
|
|
2442
2416
|
};
|
|
2443
2417
|
Relationships: [
|
|
@@ -2574,6 +2548,10 @@ export type Database = {
|
|
|
2574
2548
|
updated_at: string;
|
|
2575
2549
|
}[];
|
|
2576
2550
|
};
|
|
2551
|
+
operation: {
|
|
2552
|
+
Args: Record<PropertyKey, never>;
|
|
2553
|
+
Returns: string;
|
|
2554
|
+
};
|
|
2577
2555
|
search: {
|
|
2578
2556
|
Args: {
|
|
2579
2557
|
prefix: string;
|
|
@@ -2644,4 +2622,11 @@ export type Enums<PublicEnumNameOrOptions extends keyof PublicSchema["Enums"] |
|
|
|
2644
2622
|
} ? keyof Database[PublicEnumNameOrOptions["schema"]]["Enums"] : never = never> = PublicEnumNameOrOptions extends {
|
|
2645
2623
|
schema: keyof Database;
|
|
2646
2624
|
} ? Database[PublicEnumNameOrOptions["schema"]]["Enums"][EnumName] : PublicEnumNameOrOptions extends keyof PublicSchema["Enums"] ? PublicSchema["Enums"][PublicEnumNameOrOptions] : never;
|
|
2625
|
+
export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof PublicSchema["CompositeTypes"] | {
|
|
2626
|
+
schema: keyof Database;
|
|
2627
|
+
}, CompositeTypeName extends PublicCompositeTypeNameOrOptions extends {
|
|
2628
|
+
schema: keyof Database;
|
|
2629
|
+
} ? keyof Database[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"] : never = never> = PublicCompositeTypeNameOrOptions extends {
|
|
2630
|
+
schema: keyof Database;
|
|
2631
|
+
} ? Database[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName] : PublicCompositeTypeNameOrOptions extends keyof PublicSchema["CompositeTypes"] ? PublicSchema["CompositeTypes"][PublicCompositeTypeNameOrOptions] : never;
|
|
2647
2632
|
export {};
|
package/dist/types.d.ts
CHANGED
|
@@ -155,7 +155,7 @@ export type ChatType = Merge<Tables<'view_chats'>, {
|
|
|
155
155
|
common_chats?: string[];
|
|
156
156
|
}>;
|
|
157
157
|
export type MediaType = {
|
|
158
|
-
path
|
|
158
|
+
path?: string;
|
|
159
159
|
mimetype?: string;
|
|
160
160
|
filename?: string;
|
|
161
161
|
dimensions?: {
|
|
@@ -165,6 +165,7 @@ export type MediaType = {
|
|
|
165
165
|
};
|
|
166
166
|
size?: number;
|
|
167
167
|
thumbnail?: string;
|
|
168
|
+
filedata?: string;
|
|
168
169
|
};
|
|
169
170
|
export type MessageType = Merge<OverrideProperties<Tables<'tbl_chat_messages'>, {
|
|
170
171
|
message_id: string;
|
|
@@ -226,15 +227,11 @@ export type PhoneQueueStatusType = {
|
|
|
226
227
|
failed: number;
|
|
227
228
|
completed: number;
|
|
228
229
|
is_running: boolean;
|
|
229
|
-
|
|
230
|
+
pending: number;
|
|
230
231
|
};
|
|
231
232
|
export type PhoneType = OverrideProperties<Tables<'tbl_org_phones'>, {
|
|
232
233
|
queue_status: {
|
|
233
|
-
|
|
234
|
-
messages: PhoneQueueStatusType;
|
|
235
|
-
'message-ack': PhoneQueueStatusType;
|
|
236
|
-
'store-messages': PhoneQueueStatusType;
|
|
237
|
-
'store-reactions': PhoneQueueStatusType;
|
|
234
|
+
[key: string]: PhoneQueueStatusType;
|
|
238
235
|
};
|
|
239
236
|
}>;
|
|
240
237
|
export declare const labelColors: string[];
|
package/index.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './rules.types';
|
|
2
|
-
export * from './supabase.types';
|
|
3
|
-
export * from './types';
|
|
1
|
+
export * from './rules.types';
|
|
2
|
+
export * from './supabase.types';
|
|
3
|
+
export * from './types';
|