@periskope/types 0.6.24 → 0.6.26

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.
@@ -33,6 +33,7 @@ export interface Database {
33
33
  Row: {
34
34
  broadcast_id: string;
35
35
  chat_ids: string[] | null;
36
+ completed_at: string | null;
36
37
  created_at: string;
37
38
  message_payload: Json | null;
38
39
  org_id: string;
@@ -43,6 +44,7 @@ export interface Database {
43
44
  Insert: {
44
45
  broadcast_id?: string;
45
46
  chat_ids?: string[] | null;
47
+ completed_at?: string | null;
46
48
  created_at?: string;
47
49
  message_payload?: Json | null;
48
50
  org_id?: string;
@@ -53,6 +55,7 @@ export interface Database {
53
55
  Update: {
54
56
  broadcast_id?: string;
55
57
  chat_ids?: string[] | null;
58
+ completed_at?: string | null;
56
59
  created_at?: string;
57
60
  message_payload?: Json | null;
58
61
  org_id?: string;
@@ -756,6 +759,29 @@ export interface Database {
756
759
  };
757
760
  };
758
761
  Views: {
762
+ view_broadcast_logs: {
763
+ Row: {
764
+ broadcast_id: string | null;
765
+ delivered: number | null;
766
+ failed_chats: number | null;
767
+ message_payload: Json | null;
768
+ org_id: string | null;
769
+ read: number | null;
770
+ sent_chats: number | null;
771
+ timestamp: string | null;
772
+ total: number | null;
773
+ total_chats: number | null;
774
+ };
775
+ Relationships: [
776
+ {
777
+ foreignKeyName: "tbl_broadcast_messages_org_id_fkey";
778
+ columns: ["org_id"];
779
+ isOneToOne: false;
780
+ referencedRelation: "tbl_org";
781
+ referencedColumns: ["org_id"];
782
+ }
783
+ ];
784
+ };
759
785
  view_chats: {
760
786
  Row: {
761
787
  archived: boolean | null;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@periskope/types",
3
- "version": "0.6.24",
3
+ "version": "0.6.26",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "dependencies": {
8
8
  "type-fest": "^4.8.3",
9
- "whatsapp-web.js": "^1.23.0"
9
+ "whatsapp-web.js": "1.23.1-alpha.4"
10
10
  },
11
11
  "scripts": {
12
12
  "update-package": "tsc \u0026\u0026 npm publish --access public"
package/supabase.types.ts CHANGED
@@ -32,6 +32,7 @@ export interface Database {
32
32
  Row: {
33
33
  broadcast_id: string
34
34
  chat_ids: string[] | null
35
+ completed_at: string | null
35
36
  created_at: string
36
37
  message_payload: Json | null
37
38
  org_id: string
@@ -42,6 +43,7 @@ export interface Database {
42
43
  Insert: {
43
44
  broadcast_id?: string
44
45
  chat_ids?: string[] | null
46
+ completed_at?: string | null
45
47
  created_at?: string
46
48
  message_payload?: Json | null
47
49
  org_id?: string
@@ -52,6 +54,7 @@ export interface Database {
52
54
  Update: {
53
55
  broadcast_id?: string
54
56
  chat_ids?: string[] | null
57
+ completed_at?: string | null
55
58
  created_at?: string
56
59
  message_payload?: Json | null
57
60
  org_id?: string
@@ -755,6 +758,29 @@ export interface Database {
755
758
  }
756
759
  }
757
760
  Views: {
761
+ view_broadcast_logs: {
762
+ Row: {
763
+ broadcast_id: string | null
764
+ delivered: number | null
765
+ failed_chats: number | null
766
+ message_payload: Json | null
767
+ org_id: string | null
768
+ read: number | null
769
+ sent_chats: number | null
770
+ timestamp: string | null
771
+ total: number | null
772
+ total_chats: number | null
773
+ }
774
+ Relationships: [
775
+ {
776
+ foreignKeyName: "tbl_broadcast_messages_org_id_fkey"
777
+ columns: ["org_id"]
778
+ isOneToOne: false
779
+ referencedRelation: "tbl_org"
780
+ referencedColumns: ["org_id"]
781
+ }
782
+ ]
783
+ }
758
784
  view_chats: {
759
785
  Row: {
760
786
  archived: boolean | null