@periskope/types 0.6.139 → 0.6.140

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.
@@ -22,6 +22,36 @@ export type Database = {
22
22
  };
23
23
  Relationships: [];
24
24
  };
25
+ org_phone_logs: {
26
+ Row: {
27
+ connection_history: Json | null;
28
+ created_at: string;
29
+ deleted_at: string | null;
30
+ first_connected_at: string | null;
31
+ org_id: string;
32
+ org_phone: string | null;
33
+ phone_id: string;
34
+ };
35
+ Insert: {
36
+ connection_history?: Json | null;
37
+ created_at?: string;
38
+ deleted_at?: string | null;
39
+ first_connected_at?: string | null;
40
+ org_id: string;
41
+ org_phone?: string | null;
42
+ phone_id: string;
43
+ };
44
+ Update: {
45
+ connection_history?: Json | null;
46
+ created_at?: string;
47
+ deleted_at?: string | null;
48
+ first_connected_at?: string | null;
49
+ org_id?: string;
50
+ org_phone?: string | null;
51
+ phone_id?: string;
52
+ };
53
+ Relationships: [];
54
+ };
25
55
  tbl_communication_logs: {
26
56
  Row: {
27
57
  communication_type: string | null;
@@ -527,15 +557,7 @@ export type Database = {
527
557
  updated_at?: string | null;
528
558
  vcards?: string[] | null;
529
559
  };
530
- Relationships: [
531
- {
532
- foreignKeyName: "tbl_chat_messages_fkey_tbl_org_phones";
533
- columns: ["org_phone", "org_id"];
534
- isOneToOne: false;
535
- referencedRelation: "tbl_org_phones";
536
- referencedColumns: ["org_phone", "org_id"];
537
- }
538
- ];
560
+ Relationships: [];
539
561
  };
540
562
  tbl_chat_notifications: {
541
563
  Row: {
@@ -577,15 +599,7 @@ export type Database = {
577
599
  type?: string | null;
578
600
  unique_id?: string | null;
579
601
  };
580
- Relationships: [
581
- {
582
- foreignKeyName: "tbl_chat_notifications_fkey_tbl_org_phones";
583
- columns: ["org_id", "org_phone"];
584
- isOneToOne: false;
585
- referencedRelation: "tbl_org_phones";
586
- referencedColumns: ["org_id", "org_phone"];
587
- }
588
- ];
602
+ Relationships: [];
589
603
  };
590
604
  tbl_chat_participants: {
591
605
  Row: {
@@ -615,15 +629,7 @@ export type Database = {
615
629
  org_id?: string;
616
630
  org_phone?: string;
617
631
  };
618
- Relationships: [
619
- {
620
- foreignKeyName: "fkey_tbl_org_phones";
621
- columns: ["org_id", "org_phone"];
622
- isOneToOne: false;
623
- referencedRelation: "tbl_org_phones";
624
- referencedColumns: ["org_id", "org_phone"];
625
- }
626
- ];
632
+ Relationships: [];
627
633
  };
628
634
  tbl_chat_properties: {
629
635
  Row: {
@@ -719,15 +725,7 @@ export type Database = {
719
725
  timestamp?: string | null;
720
726
  unique_id?: string | null;
721
727
  };
722
- Relationships: [
723
- {
724
- foreignKeyName: "tbl_chat_reactions_fkey_tbl_org_phones";
725
- columns: ["org_id", "org_phone"];
726
- isOneToOne: false;
727
- referencedRelation: "tbl_org_phones";
728
- referencedColumns: ["org_id", "org_phone"];
729
- }
730
- ];
728
+ Relationships: [];
731
729
  };
732
730
  tbl_chat_tickets: {
733
731
  Row: {
@@ -895,15 +893,7 @@ export type Database = {
895
893
  unread_count?: number | null;
896
894
  updated_at?: string;
897
895
  };
898
- Relationships: [
899
- {
900
- foreignKeyName: "fkey_tbl_org_phones";
901
- columns: ["org_id", "org_phone"];
902
- isOneToOne: false;
903
- referencedRelation: "tbl_org_phones";
904
- referencedColumns: ["org_id", "org_phone"];
905
- }
906
- ];
896
+ Relationships: [];
907
897
  };
908
898
  tbl_contacts: {
909
899
  Row: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@periskope/types",
3
- "version": "0.6.139",
3
+ "version": "0.6.140",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/supabase.types.ts CHANGED
@@ -21,6 +21,36 @@ export type Database = {
21
21
  }
22
22
  Relationships: []
23
23
  }
24
+ org_phone_logs: {
25
+ Row: {
26
+ connection_history: Json | null
27
+ created_at: string
28
+ deleted_at: string | null
29
+ first_connected_at: string | null
30
+ org_id: string
31
+ org_phone: string | null
32
+ phone_id: string
33
+ }
34
+ Insert: {
35
+ connection_history?: Json | null
36
+ created_at?: string
37
+ deleted_at?: string | null
38
+ first_connected_at?: string | null
39
+ org_id: string
40
+ org_phone?: string | null
41
+ phone_id: string
42
+ }
43
+ Update: {
44
+ connection_history?: Json | null
45
+ created_at?: string
46
+ deleted_at?: string | null
47
+ first_connected_at?: string | null
48
+ org_id?: string
49
+ org_phone?: string | null
50
+ phone_id?: string
51
+ }
52
+ Relationships: []
53
+ }
24
54
  tbl_communication_logs: {
25
55
  Row: {
26
56
  communication_type: string | null
@@ -532,15 +562,7 @@ export type Database = {
532
562
  updated_at?: string | null
533
563
  vcards?: string[] | null
534
564
  }
535
- Relationships: [
536
- {
537
- foreignKeyName: "tbl_chat_messages_fkey_tbl_org_phones"
538
- columns: ["org_phone", "org_id"]
539
- isOneToOne: false
540
- referencedRelation: "tbl_org_phones"
541
- referencedColumns: ["org_phone", "org_id"]
542
- },
543
- ]
565
+ Relationships: []
544
566
  }
545
567
  tbl_chat_notifications: {
546
568
  Row: {
@@ -582,15 +604,7 @@ export type Database = {
582
604
  type?: string | null
583
605
  unique_id?: string | null
584
606
  }
585
- Relationships: [
586
- {
587
- foreignKeyName: "tbl_chat_notifications_fkey_tbl_org_phones"
588
- columns: ["org_id", "org_phone"]
589
- isOneToOne: false
590
- referencedRelation: "tbl_org_phones"
591
- referencedColumns: ["org_id", "org_phone"]
592
- },
593
- ]
607
+ Relationships: []
594
608
  }
595
609
  tbl_chat_participants: {
596
610
  Row: {
@@ -620,15 +634,7 @@ export type Database = {
620
634
  org_id?: string
621
635
  org_phone?: string
622
636
  }
623
- Relationships: [
624
- {
625
- foreignKeyName: "fkey_tbl_org_phones"
626
- columns: ["org_id", "org_phone"]
627
- isOneToOne: false
628
- referencedRelation: "tbl_org_phones"
629
- referencedColumns: ["org_id", "org_phone"]
630
- },
631
- ]
637
+ Relationships: []
632
638
  }
633
639
  tbl_chat_properties: {
634
640
  Row: {
@@ -724,15 +730,7 @@ export type Database = {
724
730
  timestamp?: string | null
725
731
  unique_id?: string | null
726
732
  }
727
- Relationships: [
728
- {
729
- foreignKeyName: "tbl_chat_reactions_fkey_tbl_org_phones"
730
- columns: ["org_id", "org_phone"]
731
- isOneToOne: false
732
- referencedRelation: "tbl_org_phones"
733
- referencedColumns: ["org_id", "org_phone"]
734
- },
735
- ]
733
+ Relationships: []
736
734
  }
737
735
  tbl_chat_tickets: {
738
736
  Row: {
@@ -904,15 +902,7 @@ export type Database = {
904
902
  unread_count?: number | null
905
903
  updated_at?: string
906
904
  }
907
- Relationships: [
908
- {
909
- foreignKeyName: "fkey_tbl_org_phones"
910
- columns: ["org_id", "org_phone"]
911
- isOneToOne: false
912
- referencedRelation: "tbl_org_phones"
913
- referencedColumns: ["org_id", "org_phone"]
914
- },
915
- ]
905
+ Relationships: []
916
906
  }
917
907
  tbl_contacts: {
918
908
  Row: {