@periskope/types 0.6.174 → 0.6.176
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 +5 -10
- 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 +852 -857
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
|
@@ -89,9 +89,6 @@ export type OrgMetadata = {
|
|
|
89
89
|
[id: string]: number;
|
|
90
90
|
};
|
|
91
91
|
};
|
|
92
|
-
rules?: {
|
|
93
|
-
limit?: number;
|
|
94
|
-
};
|
|
95
92
|
};
|
|
96
93
|
type AccessScopes = {
|
|
97
94
|
feature_flags: Record<string, boolean>;
|
|
@@ -158,7 +155,7 @@ export type ChatType = Merge<Tables<'view_chats'>, {
|
|
|
158
155
|
common_chats?: string[];
|
|
159
156
|
}>;
|
|
160
157
|
export type MediaType = {
|
|
161
|
-
path
|
|
158
|
+
path?: string;
|
|
162
159
|
mimetype?: string;
|
|
163
160
|
filename?: string;
|
|
164
161
|
dimensions?: {
|
|
@@ -168,6 +165,8 @@ export type MediaType = {
|
|
|
168
165
|
};
|
|
169
166
|
size?: number;
|
|
170
167
|
thumbnail?: string;
|
|
168
|
+
filedata?: string;
|
|
169
|
+
compress?: boolean;
|
|
171
170
|
};
|
|
172
171
|
export type MessageType = Merge<OverrideProperties<Tables<'tbl_chat_messages'>, {
|
|
173
172
|
message_id: string;
|
|
@@ -229,15 +228,11 @@ export type PhoneQueueStatusType = {
|
|
|
229
228
|
failed: number;
|
|
230
229
|
completed: number;
|
|
231
230
|
is_running: boolean;
|
|
232
|
-
|
|
231
|
+
pending: number;
|
|
233
232
|
};
|
|
234
233
|
export type PhoneType = OverrideProperties<Tables<'tbl_org_phones'>, {
|
|
235
234
|
queue_status: {
|
|
236
|
-
|
|
237
|
-
messages: PhoneQueueStatusType;
|
|
238
|
-
'message-ack': PhoneQueueStatusType;
|
|
239
|
-
'store-messages': PhoneQueueStatusType;
|
|
240
|
-
'store-reactions': PhoneQueueStatusType;
|
|
235
|
+
[key: string]: PhoneQueueStatusType;
|
|
241
236
|
};
|
|
242
237
|
}>;
|
|
243
238
|
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';
|