@periskope/types 0.6.424 → 0.6.426
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 +118 -9
- package/dist/supabase.types.d.ts.map +1 -1
- package/mod_json_type.ps1 +108 -108
- package/mod_json_type.sh +22 -22
- package/package.json +19 -19
- package/src/index.ts +4 -4
- package/src/object.types.ts +109 -109
- package/src/rules.types.ts +3026 -3026
- package/src/supabase.types.ts +118 -10
- package/src/types.ts +1792 -1792
- package/src/workflows.types.ts +1296 -1296
- package/tsconfig.json +37 -37
- package/update_package.ps1 +21 -21
- package/dist/billing.types.d.ts +0 -14
- package/dist/billing.types.d.ts.map +0 -1
- package/dist/billing.types.js +0 -2
- package/tsconfig.tsbuildinfo +0 -1
package/dist/supabase.types.d.ts
CHANGED
|
@@ -55,6 +55,54 @@ export type Database = {
|
|
|
55
55
|
};
|
|
56
56
|
Relationships: [];
|
|
57
57
|
};
|
|
58
|
+
servers: {
|
|
59
|
+
Row: {
|
|
60
|
+
capacity: number;
|
|
61
|
+
cpu: number;
|
|
62
|
+
disk: number;
|
|
63
|
+
external_ip: string;
|
|
64
|
+
free: number | null;
|
|
65
|
+
id: string;
|
|
66
|
+
internal_ip: string;
|
|
67
|
+
memory: number | null;
|
|
68
|
+
name: string;
|
|
69
|
+
type: string | null;
|
|
70
|
+
used_connected: number | null;
|
|
71
|
+
used_disconnected: number | null;
|
|
72
|
+
zone: string;
|
|
73
|
+
};
|
|
74
|
+
Insert: {
|
|
75
|
+
capacity: number;
|
|
76
|
+
cpu: number;
|
|
77
|
+
disk: number;
|
|
78
|
+
external_ip: string;
|
|
79
|
+
free?: number | null;
|
|
80
|
+
id: string;
|
|
81
|
+
internal_ip: string;
|
|
82
|
+
memory?: number | null;
|
|
83
|
+
name: string;
|
|
84
|
+
type?: string | null;
|
|
85
|
+
used_connected?: number | null;
|
|
86
|
+
used_disconnected?: number | null;
|
|
87
|
+
zone: string;
|
|
88
|
+
};
|
|
89
|
+
Update: {
|
|
90
|
+
capacity?: number;
|
|
91
|
+
cpu?: number;
|
|
92
|
+
disk?: number;
|
|
93
|
+
external_ip?: string;
|
|
94
|
+
free?: number | null;
|
|
95
|
+
id?: string;
|
|
96
|
+
internal_ip?: string;
|
|
97
|
+
memory?: number | null;
|
|
98
|
+
name?: string;
|
|
99
|
+
type?: string | null;
|
|
100
|
+
used_connected?: number | null;
|
|
101
|
+
used_disconnected?: number | null;
|
|
102
|
+
zone?: string;
|
|
103
|
+
};
|
|
104
|
+
Relationships: [];
|
|
105
|
+
};
|
|
58
106
|
tbl_billing_updates: {
|
|
59
107
|
Row: {
|
|
60
108
|
created_at: string;
|
|
@@ -455,9 +503,55 @@ export type Database = {
|
|
|
455
503
|
};
|
|
456
504
|
Relationships: [];
|
|
457
505
|
};
|
|
506
|
+
view_monthly_arr_pivot: {
|
|
507
|
+
Row: {
|
|
508
|
+
"2024-11": number | null;
|
|
509
|
+
"2024-12": number | null;
|
|
510
|
+
"2025-01": number | null;
|
|
511
|
+
"2025-02": number | null;
|
|
512
|
+
"2025-03": number | null;
|
|
513
|
+
"2025-04": number | null;
|
|
514
|
+
"2025-05": number | null;
|
|
515
|
+
"2025-06": number | null;
|
|
516
|
+
"2025-07": number | null;
|
|
517
|
+
"2025-08": number | null;
|
|
518
|
+
"2025-09": number | null;
|
|
519
|
+
"2025-10": number | null;
|
|
520
|
+
"2025-11": number | null;
|
|
521
|
+
"2025-12": number | null;
|
|
522
|
+
"2026-01": number | null;
|
|
523
|
+
"2026-02": number | null;
|
|
524
|
+
"2026-03": number | null;
|
|
525
|
+
"2026-04": number | null;
|
|
526
|
+
"2026-05": number | null;
|
|
527
|
+
"2026-06": number | null;
|
|
528
|
+
"2026-07": number | null;
|
|
529
|
+
"2026-08": number | null;
|
|
530
|
+
"2026-09": number | null;
|
|
531
|
+
"2026-10": number | null;
|
|
532
|
+
"2026-11": number | null;
|
|
533
|
+
"2026-12": number | null;
|
|
534
|
+
org_alias: string | null;
|
|
535
|
+
org_id: string | null;
|
|
536
|
+
org_name: string | null;
|
|
537
|
+
};
|
|
538
|
+
Relationships: [];
|
|
539
|
+
};
|
|
540
|
+
view_monthly_cumulative_arr: {
|
|
541
|
+
Row: {
|
|
542
|
+
delta_arr: number | null;
|
|
543
|
+
month_start: string | null;
|
|
544
|
+
monthly_arr: number | null;
|
|
545
|
+
type: string | null;
|
|
546
|
+
};
|
|
547
|
+
Relationships: [];
|
|
548
|
+
};
|
|
458
549
|
};
|
|
459
550
|
Functions: {
|
|
460
|
-
|
|
551
|
+
rebuild_view_monthly_arr_pivot: {
|
|
552
|
+
Args: never;
|
|
553
|
+
Returns: undefined;
|
|
554
|
+
};
|
|
461
555
|
};
|
|
462
556
|
Enums: {
|
|
463
557
|
[_ in never]: never;
|
|
@@ -569,6 +663,7 @@ export type Database = {
|
|
|
569
663
|
auth: Json | null;
|
|
570
664
|
created_at: string;
|
|
571
665
|
description: string;
|
|
666
|
+
headers: Json[] | null;
|
|
572
667
|
is_active: boolean;
|
|
573
668
|
method: string;
|
|
574
669
|
name: string;
|
|
@@ -578,12 +673,12 @@ export type Database = {
|
|
|
578
673
|
tool_id: string;
|
|
579
674
|
updated_at: string;
|
|
580
675
|
url: string;
|
|
581
|
-
headers: Json[] | null;
|
|
582
676
|
};
|
|
583
677
|
Insert: {
|
|
584
678
|
auth?: Json | null;
|
|
585
679
|
created_at?: string;
|
|
586
680
|
description: string;
|
|
681
|
+
headers?: Json[] | null;
|
|
587
682
|
is_active?: boolean;
|
|
588
683
|
method?: string;
|
|
589
684
|
name: string;
|
|
@@ -598,6 +693,7 @@ export type Database = {
|
|
|
598
693
|
auth?: Json | null;
|
|
599
694
|
created_at?: string;
|
|
600
695
|
description?: string;
|
|
696
|
+
headers?: Json[] | null;
|
|
601
697
|
is_active?: boolean;
|
|
602
698
|
method?: string;
|
|
603
699
|
name?: string;
|
|
@@ -1270,6 +1366,7 @@ export type Database = {
|
|
|
1270
1366
|
freshdesk_metadata: Json | null;
|
|
1271
1367
|
hubspot_metadata: Json | null;
|
|
1272
1368
|
is_archived: boolean;
|
|
1369
|
+
is_locked: boolean | null;
|
|
1273
1370
|
label_ids: Json | null;
|
|
1274
1371
|
latest_message_timestamp: string | null;
|
|
1275
1372
|
member_closed_at: Json | null;
|
|
@@ -1295,6 +1392,7 @@ export type Database = {
|
|
|
1295
1392
|
freshdesk_metadata?: Json | null;
|
|
1296
1393
|
hubspot_metadata?: Json | null;
|
|
1297
1394
|
is_archived?: boolean;
|
|
1395
|
+
is_locked?: boolean | null;
|
|
1298
1396
|
label_ids?: Json | null;
|
|
1299
1397
|
latest_message_timestamp?: string | null;
|
|
1300
1398
|
member_closed_at?: Json | null;
|
|
@@ -1320,6 +1418,7 @@ export type Database = {
|
|
|
1320
1418
|
freshdesk_metadata?: Json | null;
|
|
1321
1419
|
hubspot_metadata?: Json | null;
|
|
1322
1420
|
is_archived?: boolean;
|
|
1421
|
+
is_locked?: boolean | null;
|
|
1323
1422
|
label_ids?: Json | null;
|
|
1324
1423
|
latest_message_timestamp?: string | null;
|
|
1325
1424
|
member_closed_at?: Json | null;
|
|
@@ -2576,13 +2675,6 @@ export type Database = {
|
|
|
2576
2675
|
isOneToOne: false;
|
|
2577
2676
|
referencedRelation: "view_org";
|
|
2578
2677
|
referencedColumns: ["org_id"];
|
|
2579
|
-
},
|
|
2580
|
-
{
|
|
2581
|
-
foreignKeyName: "tbl_rules_logs_rule_id_fkey";
|
|
2582
|
-
columns: ["rule_id"];
|
|
2583
|
-
isOneToOne: false;
|
|
2584
|
-
referencedRelation: "tbl_automation_rules";
|
|
2585
|
-
referencedColumns: ["id"];
|
|
2586
2678
|
}
|
|
2587
2679
|
];
|
|
2588
2680
|
};
|
|
@@ -3056,6 +3148,23 @@ export type Database = {
|
|
|
3056
3148
|
};
|
|
3057
3149
|
Returns: Json;
|
|
3058
3150
|
};
|
|
3151
|
+
get_chat_by_id: {
|
|
3152
|
+
Args: {
|
|
3153
|
+
chat_id_input: string;
|
|
3154
|
+
chat_org_phones_input?: string[];
|
|
3155
|
+
email_input?: string;
|
|
3156
|
+
org_id_input: string;
|
|
3157
|
+
};
|
|
3158
|
+
Returns: Json;
|
|
3159
|
+
} | {
|
|
3160
|
+
Args: {
|
|
3161
|
+
chat_id_input: string[];
|
|
3162
|
+
chat_org_phones_input?: string[];
|
|
3163
|
+
email_input?: string;
|
|
3164
|
+
org_id_input: string;
|
|
3165
|
+
};
|
|
3166
|
+
Returns: Json;
|
|
3167
|
+
};
|
|
3059
3168
|
get_chat_labels_data: {
|
|
3060
3169
|
Args: {
|
|
3061
3170
|
chat_ids_input?: string[];
|