@periskope/types 0.6.169 → 0.6.170
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 -10
- package/dist/types.d.ts +11 -0
- package/index.ts +3 -3
- package/package.json +1 -1
- package/rules.types.ts +1602 -1602
- package/supabase.types.ts +2724 -2735
- package/types.ts +833 -822
package/dist/supabase.types.d.ts
CHANGED
|
@@ -1458,6 +1458,13 @@ export type Database = {
|
|
|
1458
1458
|
user_id?: string | null;
|
|
1459
1459
|
};
|
|
1460
1460
|
Relationships: [
|
|
1461
|
+
{
|
|
1462
|
+
foreignKeyName: "tbl_org_members_fkey_auth_users";
|
|
1463
|
+
columns: ["user_id"];
|
|
1464
|
+
isOneToOne: false;
|
|
1465
|
+
referencedRelation: "users";
|
|
1466
|
+
referencedColumns: ["id"];
|
|
1467
|
+
},
|
|
1461
1468
|
{
|
|
1462
1469
|
foreignKeyName: "tbl_org_members_fkey_tbl_org";
|
|
1463
1470
|
columns: ["org_id"];
|
|
@@ -1489,7 +1496,6 @@ export type Database = {
|
|
|
1489
1496
|
phone_name: string | null;
|
|
1490
1497
|
phone_state: Json | null;
|
|
1491
1498
|
qr_code: string | null;
|
|
1492
|
-
queue_status: Json | null;
|
|
1493
1499
|
server_image: string | null;
|
|
1494
1500
|
server_ip: string | null;
|
|
1495
1501
|
soft_restart: boolean;
|
|
@@ -1511,7 +1517,6 @@ export type Database = {
|
|
|
1511
1517
|
phone_name?: string | null;
|
|
1512
1518
|
phone_state?: Json | null;
|
|
1513
1519
|
qr_code?: string | null;
|
|
1514
|
-
queue_status?: Json | null;
|
|
1515
1520
|
server_image?: string | null;
|
|
1516
1521
|
server_ip?: string | null;
|
|
1517
1522
|
soft_restart?: boolean;
|
|
@@ -1533,7 +1538,6 @@ export type Database = {
|
|
|
1533
1538
|
phone_name?: string | null;
|
|
1534
1539
|
phone_state?: Json | null;
|
|
1535
1540
|
qr_code?: string | null;
|
|
1536
|
-
queue_status?: Json | null;
|
|
1537
1541
|
server_image?: string | null;
|
|
1538
1542
|
server_ip?: string | null;
|
|
1539
1543
|
soft_restart?: boolean;
|
|
@@ -2613,11 +2617,4 @@ export type Enums<PublicEnumNameOrOptions extends keyof PublicSchema["Enums"] |
|
|
|
2613
2617
|
} ? keyof Database[PublicEnumNameOrOptions["schema"]]["Enums"] : never = never> = PublicEnumNameOrOptions extends {
|
|
2614
2618
|
schema: keyof Database;
|
|
2615
2619
|
} ? Database[PublicEnumNameOrOptions["schema"]]["Enums"][EnumName] : PublicEnumNameOrOptions extends keyof PublicSchema["Enums"] ? PublicSchema["Enums"][PublicEnumNameOrOptions] : never;
|
|
2616
|
-
export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof PublicSchema["CompositeTypes"] | {
|
|
2617
|
-
schema: keyof Database;
|
|
2618
|
-
}, CompositeTypeName extends PublicCompositeTypeNameOrOptions extends {
|
|
2619
|
-
schema: keyof Database;
|
|
2620
|
-
} ? keyof Database[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"] : never = never> = PublicCompositeTypeNameOrOptions extends {
|
|
2621
|
-
schema: keyof Database;
|
|
2622
|
-
} ? Database[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName] : PublicCompositeTypeNameOrOptions extends keyof PublicSchema["CompositeTypes"] ? PublicSchema["CompositeTypes"][PublicCompositeTypeNameOrOptions] : never;
|
|
2623
2620
|
export {};
|
package/dist/types.d.ts
CHANGED
|
@@ -357,6 +357,17 @@ export type TicketInfoType = {
|
|
|
357
357
|
[key: string]: string;
|
|
358
358
|
} | null;
|
|
359
359
|
};
|
|
360
|
+
attached_messages: {
|
|
361
|
+
body: string;
|
|
362
|
+
chat_id: string;
|
|
363
|
+
org_phone: string;
|
|
364
|
+
timestamp: string;
|
|
365
|
+
media_path: string;
|
|
366
|
+
message_id: string;
|
|
367
|
+
sender_name: string;
|
|
368
|
+
performed_by: string;
|
|
369
|
+
sender_phone: string;
|
|
370
|
+
}[];
|
|
360
371
|
};
|
|
361
372
|
export type IntegrationLogObjectType = 'chat' | 'message' | 'reaction' | 'ticket';
|
|
362
373
|
export declare enum IntegrationLogType {
|
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';
|