@periskope/types 0.6.15 → 0.6.17
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 +31 -12
- package/package.json +1 -1
- package/supabase.types.ts +31 -12
package/dist/supabase.types.d.ts
CHANGED
|
@@ -354,6 +354,7 @@ export interface Database {
|
|
|
354
354
|
is_admin: boolean | null;
|
|
355
355
|
is_super_admin: boolean | null;
|
|
356
356
|
org_id: string;
|
|
357
|
+
org_phone: string;
|
|
357
358
|
};
|
|
358
359
|
Insert: {
|
|
359
360
|
chat_id: string;
|
|
@@ -362,6 +363,7 @@ export interface Database {
|
|
|
362
363
|
is_admin?: boolean | null;
|
|
363
364
|
is_super_admin?: boolean | null;
|
|
364
365
|
org_id: string;
|
|
366
|
+
org_phone: string;
|
|
365
367
|
};
|
|
366
368
|
Update: {
|
|
367
369
|
chat_id?: string;
|
|
@@ -370,8 +372,24 @@ export interface Database {
|
|
|
370
372
|
is_admin?: boolean | null;
|
|
371
373
|
is_super_admin?: boolean | null;
|
|
372
374
|
org_id?: string;
|
|
375
|
+
org_phone?: string;
|
|
373
376
|
};
|
|
374
|
-
Relationships: [
|
|
377
|
+
Relationships: [
|
|
378
|
+
{
|
|
379
|
+
foreignKeyName: "tbl_chat_participants_fkey_tbl_chats";
|
|
380
|
+
columns: ["org_id", "org_phone", "chat_id"];
|
|
381
|
+
isOneToOne: false;
|
|
382
|
+
referencedRelation: "tbl_chats";
|
|
383
|
+
referencedColumns: ["org_id", "org_phone", "chat_id"];
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
foreignKeyName: "tbl_chat_participants_fkey_tbl_chats";
|
|
387
|
+
columns: ["org_id", "org_phone", "chat_id"];
|
|
388
|
+
isOneToOne: false;
|
|
389
|
+
referencedRelation: "view_chats";
|
|
390
|
+
referencedColumns: ["org_id", "org_phone", "chat_id"];
|
|
391
|
+
}
|
|
392
|
+
];
|
|
375
393
|
};
|
|
376
394
|
tbl_chat_reactions: {
|
|
377
395
|
Row: {
|
|
@@ -489,11 +507,11 @@ export interface Database {
|
|
|
489
507
|
};
|
|
490
508
|
Relationships: [
|
|
491
509
|
{
|
|
492
|
-
foreignKeyName: "
|
|
493
|
-
columns: ["org_id"];
|
|
510
|
+
foreignKeyName: "tbl_chats_fkey_tbl_org_phones";
|
|
511
|
+
columns: ["org_phone", "org_id"];
|
|
494
512
|
isOneToOne: false;
|
|
495
|
-
referencedRelation: "
|
|
496
|
-
referencedColumns: ["org_id"];
|
|
513
|
+
referencedRelation: "tbl_org_phones";
|
|
514
|
+
referencedColumns: ["org_phone", "org_id"];
|
|
497
515
|
}
|
|
498
516
|
];
|
|
499
517
|
};
|
|
@@ -702,7 +720,7 @@ export interface Database {
|
|
|
702
720
|
tbl_org_phones: {
|
|
703
721
|
Row: {
|
|
704
722
|
created_at: string;
|
|
705
|
-
is_ready: boolean;
|
|
723
|
+
is_ready: boolean | null;
|
|
706
724
|
org_id: string;
|
|
707
725
|
org_phone: string | null;
|
|
708
726
|
phone_id: string;
|
|
@@ -715,7 +733,7 @@ export interface Database {
|
|
|
715
733
|
};
|
|
716
734
|
Insert: {
|
|
717
735
|
created_at?: string;
|
|
718
|
-
is_ready?: boolean;
|
|
736
|
+
is_ready?: boolean | null;
|
|
719
737
|
org_id: string;
|
|
720
738
|
org_phone?: string | null;
|
|
721
739
|
phone_id?: string;
|
|
@@ -728,7 +746,7 @@ export interface Database {
|
|
|
728
746
|
};
|
|
729
747
|
Update: {
|
|
730
748
|
created_at?: string;
|
|
731
|
-
is_ready?: boolean;
|
|
749
|
+
is_ready?: boolean | null;
|
|
732
750
|
org_id?: string;
|
|
733
751
|
org_phone?: string | null;
|
|
734
752
|
phone_id?: string;
|
|
@@ -757,6 +775,7 @@ export interface Database {
|
|
|
757
775
|
chat_access: Json | null;
|
|
758
776
|
chat_id: string | null;
|
|
759
777
|
chat_image: string | null;
|
|
778
|
+
chat_name: string | null;
|
|
760
779
|
chat_type: string | null;
|
|
761
780
|
group_metadata: Json | null;
|
|
762
781
|
has_access: boolean | null;
|
|
@@ -781,11 +800,11 @@ export interface Database {
|
|
|
781
800
|
};
|
|
782
801
|
Relationships: [
|
|
783
802
|
{
|
|
784
|
-
foreignKeyName: "
|
|
785
|
-
columns: ["org_id"];
|
|
803
|
+
foreignKeyName: "tbl_chats_fkey_tbl_org_phones";
|
|
804
|
+
columns: ["org_phone", "org_id"];
|
|
786
805
|
isOneToOne: false;
|
|
787
|
-
referencedRelation: "
|
|
788
|
-
referencedColumns: ["org_id"];
|
|
806
|
+
referencedRelation: "tbl_org_phones";
|
|
807
|
+
referencedColumns: ["org_phone", "org_id"];
|
|
789
808
|
}
|
|
790
809
|
];
|
|
791
810
|
};
|
package/package.json
CHANGED
package/supabase.types.ts
CHANGED
|
@@ -353,6 +353,7 @@ export interface Database {
|
|
|
353
353
|
is_admin: boolean | null
|
|
354
354
|
is_super_admin: boolean | null
|
|
355
355
|
org_id: string
|
|
356
|
+
org_phone: string
|
|
356
357
|
}
|
|
357
358
|
Insert: {
|
|
358
359
|
chat_id: string
|
|
@@ -361,6 +362,7 @@ export interface Database {
|
|
|
361
362
|
is_admin?: boolean | null
|
|
362
363
|
is_super_admin?: boolean | null
|
|
363
364
|
org_id: string
|
|
365
|
+
org_phone: string
|
|
364
366
|
}
|
|
365
367
|
Update: {
|
|
366
368
|
chat_id?: string
|
|
@@ -369,8 +371,24 @@ export interface Database {
|
|
|
369
371
|
is_admin?: boolean | null
|
|
370
372
|
is_super_admin?: boolean | null
|
|
371
373
|
org_id?: string
|
|
374
|
+
org_phone?: string
|
|
372
375
|
}
|
|
373
|
-
Relationships: [
|
|
376
|
+
Relationships: [
|
|
377
|
+
{
|
|
378
|
+
foreignKeyName: "tbl_chat_participants_fkey_tbl_chats"
|
|
379
|
+
columns: ["org_id", "org_phone", "chat_id"]
|
|
380
|
+
isOneToOne: false
|
|
381
|
+
referencedRelation: "tbl_chats"
|
|
382
|
+
referencedColumns: ["org_id", "org_phone", "chat_id"]
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
foreignKeyName: "tbl_chat_participants_fkey_tbl_chats"
|
|
386
|
+
columns: ["org_id", "org_phone", "chat_id"]
|
|
387
|
+
isOneToOne: false
|
|
388
|
+
referencedRelation: "view_chats"
|
|
389
|
+
referencedColumns: ["org_id", "org_phone", "chat_id"]
|
|
390
|
+
}
|
|
391
|
+
]
|
|
374
392
|
}
|
|
375
393
|
tbl_chat_reactions: {
|
|
376
394
|
Row: {
|
|
@@ -488,11 +506,11 @@ export interface Database {
|
|
|
488
506
|
}
|
|
489
507
|
Relationships: [
|
|
490
508
|
{
|
|
491
|
-
foreignKeyName: "
|
|
492
|
-
columns: ["org_id"]
|
|
509
|
+
foreignKeyName: "tbl_chats_fkey_tbl_org_phones"
|
|
510
|
+
columns: ["org_phone", "org_id"]
|
|
493
511
|
isOneToOne: false
|
|
494
|
-
referencedRelation: "
|
|
495
|
-
referencedColumns: ["org_id"]
|
|
512
|
+
referencedRelation: "tbl_org_phones"
|
|
513
|
+
referencedColumns: ["org_phone", "org_id"]
|
|
496
514
|
}
|
|
497
515
|
]
|
|
498
516
|
}
|
|
@@ -701,7 +719,7 @@ export interface Database {
|
|
|
701
719
|
tbl_org_phones: {
|
|
702
720
|
Row: {
|
|
703
721
|
created_at: string
|
|
704
|
-
is_ready: boolean
|
|
722
|
+
is_ready: boolean | null
|
|
705
723
|
org_id: string
|
|
706
724
|
org_phone: string | null
|
|
707
725
|
phone_id: string
|
|
@@ -714,7 +732,7 @@ export interface Database {
|
|
|
714
732
|
}
|
|
715
733
|
Insert: {
|
|
716
734
|
created_at?: string
|
|
717
|
-
is_ready?: boolean
|
|
735
|
+
is_ready?: boolean | null
|
|
718
736
|
org_id: string
|
|
719
737
|
org_phone?: string | null
|
|
720
738
|
phone_id?: string
|
|
@@ -727,7 +745,7 @@ export interface Database {
|
|
|
727
745
|
}
|
|
728
746
|
Update: {
|
|
729
747
|
created_at?: string
|
|
730
|
-
is_ready?: boolean
|
|
748
|
+
is_ready?: boolean | null
|
|
731
749
|
org_id?: string
|
|
732
750
|
org_phone?: string | null
|
|
733
751
|
phone_id?: string
|
|
@@ -756,6 +774,7 @@ export interface Database {
|
|
|
756
774
|
chat_access: Json | null
|
|
757
775
|
chat_id: string | null
|
|
758
776
|
chat_image: string | null
|
|
777
|
+
chat_name: string | null
|
|
759
778
|
chat_type: string | null
|
|
760
779
|
group_metadata: Json | null
|
|
761
780
|
has_access: boolean | null
|
|
@@ -780,11 +799,11 @@ export interface Database {
|
|
|
780
799
|
}
|
|
781
800
|
Relationships: [
|
|
782
801
|
{
|
|
783
|
-
foreignKeyName: "
|
|
784
|
-
columns: ["org_id"]
|
|
802
|
+
foreignKeyName: "tbl_chats_fkey_tbl_org_phones"
|
|
803
|
+
columns: ["org_phone", "org_id"]
|
|
785
804
|
isOneToOne: false
|
|
786
|
-
referencedRelation: "
|
|
787
|
-
referencedColumns: ["org_id"]
|
|
805
|
+
referencedRelation: "tbl_org_phones"
|
|
806
|
+
referencedColumns: ["org_phone", "org_id"]
|
|
788
807
|
}
|
|
789
808
|
]
|
|
790
809
|
}
|