@periskope/types 0.6.121 → 0.6.123
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 +10 -95
- package/dist/types.d.ts +11 -0
- package/package.json +1 -1
- package/supabase.types.ts +11 -96
- package/types.ts +548 -534
package/dist/supabase.types.d.ts
CHANGED
|
@@ -62,63 +62,6 @@ export type Database = {
|
|
|
62
62
|
};
|
|
63
63
|
Relationships: [];
|
|
64
64
|
};
|
|
65
|
-
tbl_automation_rules: {
|
|
66
|
-
Row: {
|
|
67
|
-
actions: Json;
|
|
68
|
-
conditions: Json;
|
|
69
|
-
created_at: string;
|
|
70
|
-
id: number;
|
|
71
|
-
is_active: boolean;
|
|
72
|
-
last_updated_at: string;
|
|
73
|
-
last_updated_by: string;
|
|
74
|
-
org_id: string;
|
|
75
|
-
rule_description: string | null;
|
|
76
|
-
rule_name: string;
|
|
77
|
-
trigger: string;
|
|
78
|
-
};
|
|
79
|
-
Insert: {
|
|
80
|
-
actions: Json;
|
|
81
|
-
conditions: Json;
|
|
82
|
-
created_at?: string;
|
|
83
|
-
id?: number;
|
|
84
|
-
is_active?: boolean;
|
|
85
|
-
last_updated_at?: string;
|
|
86
|
-
last_updated_by: string;
|
|
87
|
-
org_id: string;
|
|
88
|
-
rule_description?: string | null;
|
|
89
|
-
rule_name: string;
|
|
90
|
-
trigger: string;
|
|
91
|
-
};
|
|
92
|
-
Update: {
|
|
93
|
-
actions?: Json;
|
|
94
|
-
conditions?: Json;
|
|
95
|
-
created_at?: string;
|
|
96
|
-
id?: number;
|
|
97
|
-
is_active?: boolean;
|
|
98
|
-
last_updated_at?: string;
|
|
99
|
-
last_updated_by?: string;
|
|
100
|
-
org_id?: string;
|
|
101
|
-
rule_description?: string | null;
|
|
102
|
-
rule_name?: string;
|
|
103
|
-
trigger?: string;
|
|
104
|
-
};
|
|
105
|
-
Relationships: [
|
|
106
|
-
{
|
|
107
|
-
foreignKeyName: "public_tbl_automation_rules_org_id_fkey";
|
|
108
|
-
columns: ["org_id"];
|
|
109
|
-
isOneToOne: false;
|
|
110
|
-
referencedRelation: "tbl_org";
|
|
111
|
-
referencedColumns: ["org_id"];
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
foreignKeyName: "public_tbl_automation_rules_org_id_fkey";
|
|
115
|
-
columns: ["org_id"];
|
|
116
|
-
isOneToOne: false;
|
|
117
|
-
referencedRelation: "view_org";
|
|
118
|
-
referencedColumns: ["org_id"];
|
|
119
|
-
}
|
|
120
|
-
];
|
|
121
|
-
};
|
|
122
65
|
tbl_broadcast_logs: {
|
|
123
66
|
Row: {
|
|
124
67
|
broadcast_id: string;
|
|
@@ -295,41 +238,6 @@ export type Database = {
|
|
|
295
238
|
}
|
|
296
239
|
];
|
|
297
240
|
};
|
|
298
|
-
tbl_chat_access: {
|
|
299
|
-
Row: {
|
|
300
|
-
chat_id: string;
|
|
301
|
-
email: string;
|
|
302
|
-
has_access: boolean | null;
|
|
303
|
-
last_read_timestamp: string | null;
|
|
304
|
-
message_unread_count: number | null;
|
|
305
|
-
org_id: string;
|
|
306
|
-
};
|
|
307
|
-
Insert: {
|
|
308
|
-
chat_id: string;
|
|
309
|
-
email: string;
|
|
310
|
-
has_access?: boolean | null;
|
|
311
|
-
last_read_timestamp?: string | null;
|
|
312
|
-
message_unread_count?: number | null;
|
|
313
|
-
org_id: string;
|
|
314
|
-
};
|
|
315
|
-
Update: {
|
|
316
|
-
chat_id?: string;
|
|
317
|
-
email?: string;
|
|
318
|
-
has_access?: boolean | null;
|
|
319
|
-
last_read_timestamp?: string | null;
|
|
320
|
-
message_unread_count?: number | null;
|
|
321
|
-
org_id?: string;
|
|
322
|
-
};
|
|
323
|
-
Relationships: [
|
|
324
|
-
{
|
|
325
|
-
foreignKeyName: "tbl_chat_access_org_id_email_fkey";
|
|
326
|
-
columns: ["org_id", "email"];
|
|
327
|
-
isOneToOne: false;
|
|
328
|
-
referencedRelation: "tbl_org_members";
|
|
329
|
-
referencedColumns: ["org_id", "email"];
|
|
330
|
-
}
|
|
331
|
-
];
|
|
332
|
-
};
|
|
333
241
|
tbl_chat_logs: {
|
|
334
242
|
Row: {
|
|
335
243
|
action: string | null;
|
|
@@ -757,6 +665,7 @@ export type Database = {
|
|
|
757
665
|
close_ticket_metadata: Json | null;
|
|
758
666
|
closed_at: string | null;
|
|
759
667
|
created_at: string;
|
|
668
|
+
custom_properties: Json | null;
|
|
760
669
|
due_date: string | null;
|
|
761
670
|
freshdesk_metadata: Json | null;
|
|
762
671
|
hubspot_metadata: Json | null;
|
|
@@ -780,6 +689,7 @@ export type Database = {
|
|
|
780
689
|
close_ticket_metadata?: Json | null;
|
|
781
690
|
closed_at?: string | null;
|
|
782
691
|
created_at?: string;
|
|
692
|
+
custom_properties?: Json | null;
|
|
783
693
|
due_date?: string | null;
|
|
784
694
|
freshdesk_metadata?: Json | null;
|
|
785
695
|
hubspot_metadata?: Json | null;
|
|
@@ -803,6 +713,7 @@ export type Database = {
|
|
|
803
713
|
close_ticket_metadata?: Json | null;
|
|
804
714
|
closed_at?: string | null;
|
|
805
715
|
created_at?: string;
|
|
716
|
+
custom_properties?: Json | null;
|
|
806
717
|
due_date?: string | null;
|
|
807
718
|
freshdesk_metadata?: Json | null;
|
|
808
719
|
hubspot_metadata?: Json | null;
|
|
@@ -844,7 +755,6 @@ export type Database = {
|
|
|
844
755
|
chat_name: string | null;
|
|
845
756
|
chat_type: string | null;
|
|
846
757
|
created_at: string;
|
|
847
|
-
flag_count: number;
|
|
848
758
|
group_metadata: Json | null;
|
|
849
759
|
id: Json | null;
|
|
850
760
|
invite_link: string | null;
|
|
@@ -869,7 +779,6 @@ export type Database = {
|
|
|
869
779
|
chat_name?: string | null;
|
|
870
780
|
chat_type?: string | null;
|
|
871
781
|
created_at?: string;
|
|
872
|
-
flag_count?: number;
|
|
873
782
|
group_metadata?: Json | null;
|
|
874
783
|
id?: Json | null;
|
|
875
784
|
invite_link?: string | null;
|
|
@@ -894,7 +803,6 @@ export type Database = {
|
|
|
894
803
|
chat_name?: string | null;
|
|
895
804
|
chat_type?: string | null;
|
|
896
805
|
created_at?: string;
|
|
897
|
-
flag_count?: number;
|
|
898
806
|
group_metadata?: Json | null;
|
|
899
807
|
id?: Json | null;
|
|
900
808
|
invite_link?: string | null;
|
|
@@ -1407,6 +1315,7 @@ export type Database = {
|
|
|
1407
1315
|
qr_code: string | null;
|
|
1408
1316
|
server_image: string | null;
|
|
1409
1317
|
server_ip: string | null;
|
|
1318
|
+
soft_restart: boolean;
|
|
1410
1319
|
updated_at: string | null;
|
|
1411
1320
|
wa_state: string | null;
|
|
1412
1321
|
wa_version: string | null;
|
|
@@ -1426,6 +1335,7 @@ export type Database = {
|
|
|
1426
1335
|
qr_code?: string | null;
|
|
1427
1336
|
server_image?: string | null;
|
|
1428
1337
|
server_ip?: string | null;
|
|
1338
|
+
soft_restart?: boolean;
|
|
1429
1339
|
updated_at?: string | null;
|
|
1430
1340
|
wa_state?: string | null;
|
|
1431
1341
|
wa_version?: string | null;
|
|
@@ -1445,6 +1355,7 @@ export type Database = {
|
|
|
1445
1355
|
qr_code?: string | null;
|
|
1446
1356
|
server_image?: string | null;
|
|
1447
1357
|
server_ip?: string | null;
|
|
1358
|
+
soft_restart?: boolean;
|
|
1448
1359
|
updated_at?: string | null;
|
|
1449
1360
|
wa_state?: string | null;
|
|
1450
1361
|
wa_version?: string | null;
|
|
@@ -2201,6 +2112,10 @@ export type Database = {
|
|
|
2201
2112
|
updated_at: string;
|
|
2202
2113
|
}[];
|
|
2203
2114
|
};
|
|
2115
|
+
operation: {
|
|
2116
|
+
Args: Record<PropertyKey, never>;
|
|
2117
|
+
Returns: string;
|
|
2118
|
+
};
|
|
2204
2119
|
search: {
|
|
2205
2120
|
Args: {
|
|
2206
2121
|
prefix: string;
|
package/dist/types.d.ts
CHANGED
|
@@ -385,4 +385,15 @@ export type UserPreferences = {
|
|
|
385
385
|
right_sidepanel_open: boolean;
|
|
386
386
|
sync_wa_unread_count: boolean;
|
|
387
387
|
};
|
|
388
|
+
export type PollVoteInfoType = {
|
|
389
|
+
poll_id?: string;
|
|
390
|
+
poll_options: string[];
|
|
391
|
+
poll_results: [
|
|
392
|
+
{
|
|
393
|
+
id: number;
|
|
394
|
+
name: string;
|
|
395
|
+
votes: Record<string, string>;
|
|
396
|
+
}
|
|
397
|
+
];
|
|
398
|
+
};
|
|
388
399
|
export {};
|
package/package.json
CHANGED
package/supabase.types.ts
CHANGED
|
@@ -61,63 +61,6 @@ export type Database = {
|
|
|
61
61
|
}
|
|
62
62
|
Relationships: []
|
|
63
63
|
}
|
|
64
|
-
tbl_automation_rules: {
|
|
65
|
-
Row: {
|
|
66
|
-
actions: Json
|
|
67
|
-
conditions: Json
|
|
68
|
-
created_at: string
|
|
69
|
-
id: number
|
|
70
|
-
is_active: boolean
|
|
71
|
-
last_updated_at: string
|
|
72
|
-
last_updated_by: string
|
|
73
|
-
org_id: string
|
|
74
|
-
rule_description: string | null
|
|
75
|
-
rule_name: string
|
|
76
|
-
trigger: string
|
|
77
|
-
}
|
|
78
|
-
Insert: {
|
|
79
|
-
actions: Json
|
|
80
|
-
conditions: Json
|
|
81
|
-
created_at?: string
|
|
82
|
-
id?: number
|
|
83
|
-
is_active?: boolean
|
|
84
|
-
last_updated_at?: string
|
|
85
|
-
last_updated_by: string
|
|
86
|
-
org_id: string
|
|
87
|
-
rule_description?: string | null
|
|
88
|
-
rule_name: string
|
|
89
|
-
trigger: string
|
|
90
|
-
}
|
|
91
|
-
Update: {
|
|
92
|
-
actions?: Json
|
|
93
|
-
conditions?: Json
|
|
94
|
-
created_at?: string
|
|
95
|
-
id?: number
|
|
96
|
-
is_active?: boolean
|
|
97
|
-
last_updated_at?: string
|
|
98
|
-
last_updated_by?: string
|
|
99
|
-
org_id?: string
|
|
100
|
-
rule_description?: string | null
|
|
101
|
-
rule_name?: string
|
|
102
|
-
trigger?: string
|
|
103
|
-
}
|
|
104
|
-
Relationships: [
|
|
105
|
-
{
|
|
106
|
-
foreignKeyName: "public_tbl_automation_rules_org_id_fkey"
|
|
107
|
-
columns: ["org_id"]
|
|
108
|
-
isOneToOne: false
|
|
109
|
-
referencedRelation: "tbl_org"
|
|
110
|
-
referencedColumns: ["org_id"]
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
foreignKeyName: "public_tbl_automation_rules_org_id_fkey"
|
|
114
|
-
columns: ["org_id"]
|
|
115
|
-
isOneToOne: false
|
|
116
|
-
referencedRelation: "view_org"
|
|
117
|
-
referencedColumns: ["org_id"]
|
|
118
|
-
},
|
|
119
|
-
]
|
|
120
|
-
}
|
|
121
64
|
tbl_broadcast_logs: {
|
|
122
65
|
Row: {
|
|
123
66
|
broadcast_id: string
|
|
@@ -300,41 +243,6 @@ export type Database = {
|
|
|
300
243
|
},
|
|
301
244
|
]
|
|
302
245
|
}
|
|
303
|
-
tbl_chat_access: {
|
|
304
|
-
Row: {
|
|
305
|
-
chat_id: string
|
|
306
|
-
email: string
|
|
307
|
-
has_access: boolean | null
|
|
308
|
-
last_read_timestamp: string | null
|
|
309
|
-
message_unread_count: number | null
|
|
310
|
-
org_id: string
|
|
311
|
-
}
|
|
312
|
-
Insert: {
|
|
313
|
-
chat_id: string
|
|
314
|
-
email: string
|
|
315
|
-
has_access?: boolean | null
|
|
316
|
-
last_read_timestamp?: string | null
|
|
317
|
-
message_unread_count?: number | null
|
|
318
|
-
org_id: string
|
|
319
|
-
}
|
|
320
|
-
Update: {
|
|
321
|
-
chat_id?: string
|
|
322
|
-
email?: string
|
|
323
|
-
has_access?: boolean | null
|
|
324
|
-
last_read_timestamp?: string | null
|
|
325
|
-
message_unread_count?: number | null
|
|
326
|
-
org_id?: string
|
|
327
|
-
}
|
|
328
|
-
Relationships: [
|
|
329
|
-
{
|
|
330
|
-
foreignKeyName: "tbl_chat_access_org_id_email_fkey"
|
|
331
|
-
columns: ["org_id", "email"]
|
|
332
|
-
isOneToOne: false
|
|
333
|
-
referencedRelation: "tbl_org_members"
|
|
334
|
-
referencedColumns: ["org_id", "email"]
|
|
335
|
-
},
|
|
336
|
-
]
|
|
337
|
-
}
|
|
338
246
|
tbl_chat_logs: {
|
|
339
247
|
Row: {
|
|
340
248
|
action: string | null
|
|
@@ -762,6 +670,7 @@ export type Database = {
|
|
|
762
670
|
close_ticket_metadata: Json | null
|
|
763
671
|
closed_at: string | null
|
|
764
672
|
created_at: string
|
|
673
|
+
custom_properties: Json | null
|
|
765
674
|
due_date: string | null
|
|
766
675
|
freshdesk_metadata: Json | null
|
|
767
676
|
hubspot_metadata: Json | null
|
|
@@ -785,6 +694,7 @@ export type Database = {
|
|
|
785
694
|
close_ticket_metadata?: Json | null
|
|
786
695
|
closed_at?: string | null
|
|
787
696
|
created_at?: string
|
|
697
|
+
custom_properties?: Json | null
|
|
788
698
|
due_date?: string | null
|
|
789
699
|
freshdesk_metadata?: Json | null
|
|
790
700
|
hubspot_metadata?: Json | null
|
|
@@ -810,6 +720,7 @@ export type Database = {
|
|
|
810
720
|
close_ticket_metadata?: Json | null
|
|
811
721
|
closed_at?: string | null
|
|
812
722
|
created_at?: string
|
|
723
|
+
custom_properties?: Json | null
|
|
813
724
|
due_date?: string | null
|
|
814
725
|
freshdesk_metadata?: Json | null
|
|
815
726
|
hubspot_metadata?: Json | null
|
|
@@ -853,7 +764,6 @@ export type Database = {
|
|
|
853
764
|
chat_name: string | null
|
|
854
765
|
chat_type: string | null
|
|
855
766
|
created_at: string
|
|
856
|
-
flag_count: number
|
|
857
767
|
group_metadata: Json | null
|
|
858
768
|
id: Json | null
|
|
859
769
|
invite_link: string | null
|
|
@@ -878,7 +788,6 @@ export type Database = {
|
|
|
878
788
|
chat_name?: string | null
|
|
879
789
|
chat_type?: string | null
|
|
880
790
|
created_at?: string
|
|
881
|
-
flag_count?: number
|
|
882
791
|
group_metadata?: Json | null
|
|
883
792
|
id?: Json | null
|
|
884
793
|
invite_link?: string | null
|
|
@@ -903,7 +812,6 @@ export type Database = {
|
|
|
903
812
|
chat_name?: string | null
|
|
904
813
|
chat_type?: string | null
|
|
905
814
|
created_at?: string
|
|
906
|
-
flag_count?: number
|
|
907
815
|
group_metadata?: Json | null
|
|
908
816
|
id?: Json | null
|
|
909
817
|
invite_link?: string | null
|
|
@@ -1416,6 +1324,7 @@ export type Database = {
|
|
|
1416
1324
|
qr_code: string | null
|
|
1417
1325
|
server_image: string | null
|
|
1418
1326
|
server_ip: string | null
|
|
1327
|
+
soft_restart: boolean
|
|
1419
1328
|
updated_at: string | null
|
|
1420
1329
|
wa_state: string | null
|
|
1421
1330
|
wa_version: string | null
|
|
@@ -1435,6 +1344,7 @@ export type Database = {
|
|
|
1435
1344
|
qr_code?: string | null
|
|
1436
1345
|
server_image?: string | null
|
|
1437
1346
|
server_ip?: string | null
|
|
1347
|
+
soft_restart?: boolean
|
|
1438
1348
|
updated_at?: string | null
|
|
1439
1349
|
wa_state?: string | null
|
|
1440
1350
|
wa_version?: string | null
|
|
@@ -1454,6 +1364,7 @@ export type Database = {
|
|
|
1454
1364
|
qr_code?: string | null
|
|
1455
1365
|
server_image?: string | null
|
|
1456
1366
|
server_ip?: string | null
|
|
1367
|
+
soft_restart?: boolean
|
|
1457
1368
|
updated_at?: string | null
|
|
1458
1369
|
wa_state?: string | null
|
|
1459
1370
|
wa_version?: string | null
|
|
@@ -2258,6 +2169,10 @@ export type Database = {
|
|
|
2258
2169
|
updated_at: string
|
|
2259
2170
|
}[]
|
|
2260
2171
|
}
|
|
2172
|
+
operation: {
|
|
2173
|
+
Args: Record<PropertyKey, never>
|
|
2174
|
+
Returns: string
|
|
2175
|
+
}
|
|
2261
2176
|
search: {
|
|
2262
2177
|
Args: {
|
|
2263
2178
|
prefix: string
|
|
@@ -2370,4 +2285,4 @@ export type Enums<
|
|
|
2370
2285
|
? PublicSchema["Enums"][PublicEnumNameOrOptions]
|
|
2371
2286
|
: never
|
|
2372
2287
|
|
|
2373
|
-
|
|
2288
|
+
|