@periskope/types 0.6.423 → 0.6.425
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 +110 -8
- 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 +108 -9
- 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/src/supabase.types.ts
CHANGED
|
@@ -56,6 +56,54 @@ export type Database = {
|
|
|
56
56
|
}
|
|
57
57
|
Relationships: []
|
|
58
58
|
}
|
|
59
|
+
servers: {
|
|
60
|
+
Row: {
|
|
61
|
+
capacity: number
|
|
62
|
+
cpu: number
|
|
63
|
+
disk: number
|
|
64
|
+
external_ip: string
|
|
65
|
+
free: number | null
|
|
66
|
+
id: string
|
|
67
|
+
internal_ip: string
|
|
68
|
+
memory: number | null
|
|
69
|
+
name: string
|
|
70
|
+
type: string | null
|
|
71
|
+
used_connected: number | null
|
|
72
|
+
used_disconnected: number | null
|
|
73
|
+
zone: string
|
|
74
|
+
}
|
|
75
|
+
Insert: {
|
|
76
|
+
capacity: number
|
|
77
|
+
cpu: number
|
|
78
|
+
disk: number
|
|
79
|
+
external_ip: string
|
|
80
|
+
free?: number | null
|
|
81
|
+
id: string
|
|
82
|
+
internal_ip: string
|
|
83
|
+
memory?: number | null
|
|
84
|
+
name: string
|
|
85
|
+
type?: string | null
|
|
86
|
+
used_connected?: number | null
|
|
87
|
+
used_disconnected?: number | null
|
|
88
|
+
zone: string
|
|
89
|
+
}
|
|
90
|
+
Update: {
|
|
91
|
+
capacity?: number
|
|
92
|
+
cpu?: number
|
|
93
|
+
disk?: number
|
|
94
|
+
external_ip?: string
|
|
95
|
+
free?: number | null
|
|
96
|
+
id?: string
|
|
97
|
+
internal_ip?: string
|
|
98
|
+
memory?: number | null
|
|
99
|
+
name?: string
|
|
100
|
+
type?: string | null
|
|
101
|
+
used_connected?: number | null
|
|
102
|
+
used_disconnected?: number | null
|
|
103
|
+
zone?: string
|
|
104
|
+
}
|
|
105
|
+
Relationships: []
|
|
106
|
+
}
|
|
59
107
|
tbl_billing_updates: {
|
|
60
108
|
Row: {
|
|
61
109
|
created_at: string
|
|
@@ -456,9 +504,52 @@ export type Database = {
|
|
|
456
504
|
}
|
|
457
505
|
Relationships: []
|
|
458
506
|
}
|
|
507
|
+
view_monthly_arr_pivot: {
|
|
508
|
+
Row: {
|
|
509
|
+
"2024-11": number | null
|
|
510
|
+
"2024-12": number | null
|
|
511
|
+
"2025-01": number | null
|
|
512
|
+
"2025-02": number | null
|
|
513
|
+
"2025-03": number | null
|
|
514
|
+
"2025-04": number | null
|
|
515
|
+
"2025-05": number | null
|
|
516
|
+
"2025-06": number | null
|
|
517
|
+
"2025-07": number | null
|
|
518
|
+
"2025-08": number | null
|
|
519
|
+
"2025-09": number | null
|
|
520
|
+
"2025-10": number | null
|
|
521
|
+
"2025-11": number | null
|
|
522
|
+
"2025-12": number | null
|
|
523
|
+
"2026-01": number | null
|
|
524
|
+
"2026-02": number | null
|
|
525
|
+
"2026-03": number | null
|
|
526
|
+
"2026-04": number | null
|
|
527
|
+
"2026-05": number | null
|
|
528
|
+
"2026-06": number | null
|
|
529
|
+
"2026-07": number | null
|
|
530
|
+
"2026-08": number | null
|
|
531
|
+
"2026-09": number | null
|
|
532
|
+
"2026-10": number | null
|
|
533
|
+
"2026-11": number | null
|
|
534
|
+
"2026-12": number | null
|
|
535
|
+
org_alias: string | null
|
|
536
|
+
org_id: string | null
|
|
537
|
+
org_name: string | null
|
|
538
|
+
}
|
|
539
|
+
Relationships: []
|
|
540
|
+
}
|
|
541
|
+
view_monthly_cumulative_arr: {
|
|
542
|
+
Row: {
|
|
543
|
+
delta_arr: number | null
|
|
544
|
+
month_start: string | null
|
|
545
|
+
monthly_arr: number | null
|
|
546
|
+
type: string | null
|
|
547
|
+
}
|
|
548
|
+
Relationships: []
|
|
549
|
+
}
|
|
459
550
|
}
|
|
460
551
|
Functions: {
|
|
461
|
-
|
|
552
|
+
rebuild_view_monthly_arr_pivot: { Args: never; Returns: undefined }
|
|
462
553
|
}
|
|
463
554
|
Enums: {
|
|
464
555
|
[_ in never]: never
|
|
@@ -570,6 +661,7 @@ export type Database = {
|
|
|
570
661
|
auth: Json | null
|
|
571
662
|
created_at: string
|
|
572
663
|
description: string
|
|
664
|
+
headers: Json[] | null
|
|
573
665
|
is_active: boolean
|
|
574
666
|
method: string
|
|
575
667
|
name: string
|
|
@@ -584,6 +676,7 @@ export type Database = {
|
|
|
584
676
|
auth?: Json | null
|
|
585
677
|
created_at?: string
|
|
586
678
|
description: string
|
|
679
|
+
headers?: Json[] | null
|
|
587
680
|
is_active?: boolean
|
|
588
681
|
method?: string
|
|
589
682
|
name: string
|
|
@@ -598,6 +691,7 @@ export type Database = {
|
|
|
598
691
|
auth?: Json | null
|
|
599
692
|
created_at?: string
|
|
600
693
|
description?: string
|
|
694
|
+
headers?: Json[] | null
|
|
601
695
|
is_active?: boolean
|
|
602
696
|
method?: string
|
|
603
697
|
name?: string
|
|
@@ -1276,6 +1370,7 @@ export type Database = {
|
|
|
1276
1370
|
freshdesk_metadata: Json | null
|
|
1277
1371
|
hubspot_metadata: Json | null
|
|
1278
1372
|
is_archived: boolean
|
|
1373
|
+
is_locked: boolean | null
|
|
1279
1374
|
label_ids: Json | null
|
|
1280
1375
|
latest_message_timestamp: string | null
|
|
1281
1376
|
member_closed_at: Json | null
|
|
@@ -1301,6 +1396,7 @@ export type Database = {
|
|
|
1301
1396
|
freshdesk_metadata?: Json | null
|
|
1302
1397
|
hubspot_metadata?: Json | null
|
|
1303
1398
|
is_archived?: boolean
|
|
1399
|
+
is_locked?: boolean | null
|
|
1304
1400
|
label_ids?: Json | null
|
|
1305
1401
|
latest_message_timestamp?: string | null
|
|
1306
1402
|
member_closed_at?: Json | null
|
|
@@ -1326,6 +1422,7 @@ export type Database = {
|
|
|
1326
1422
|
freshdesk_metadata?: Json | null
|
|
1327
1423
|
hubspot_metadata?: Json | null
|
|
1328
1424
|
is_archived?: boolean
|
|
1425
|
+
is_locked?: boolean | null
|
|
1329
1426
|
label_ids?: Json | null
|
|
1330
1427
|
latest_message_timestamp?: string | null
|
|
1331
1428
|
member_closed_at?: Json | null
|
|
@@ -2587,13 +2684,6 @@ export type Database = {
|
|
|
2587
2684
|
referencedRelation: "view_org"
|
|
2588
2685
|
referencedColumns: ["org_id"]
|
|
2589
2686
|
},
|
|
2590
|
-
{
|
|
2591
|
-
foreignKeyName: "tbl_rules_logs_rule_id_fkey"
|
|
2592
|
-
columns: ["rule_id"]
|
|
2593
|
-
isOneToOne: false
|
|
2594
|
-
referencedRelation: "tbl_automation_rules"
|
|
2595
|
-
referencedColumns: ["id"]
|
|
2596
|
-
},
|
|
2597
2687
|
]
|
|
2598
2688
|
}
|
|
2599
2689
|
tbl_scheduled_logs: {
|
|
@@ -3046,6 +3136,15 @@ export type Database = {
|
|
|
3046
3136
|
}
|
|
3047
3137
|
Returns: Json
|
|
3048
3138
|
}
|
|
3139
|
+
get_chat_by_id: {
|
|
3140
|
+
Args: {
|
|
3141
|
+
chat_id_input: string
|
|
3142
|
+
chat_org_phones_input?: string[]
|
|
3143
|
+
email_input?: string
|
|
3144
|
+
org_id_input: string
|
|
3145
|
+
}
|
|
3146
|
+
Returns: Json
|
|
3147
|
+
}
|
|
3049
3148
|
get_chat_labels_data: {
|
|
3050
3149
|
Args: { chat_ids_input?: string[]; org_id_input: string }
|
|
3051
3150
|
Returns: Json[]
|
|
@@ -3758,4 +3857,4 @@ export const Constants = {
|
|
|
3758
3857
|
},
|
|
3759
3858
|
},
|
|
3760
3859
|
} as const
|
|
3761
|
-
|
|
3860
|
+
|