@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.
@@ -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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@periskope/types",
3
- "version": "0.6.169",
3
+ "version": "0.6.170",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",