@periskope/types 0.6.424 → 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 -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 +108 -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/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
|
|
@@ -579,12 +671,12 @@ export type Database = {
|
|
|
579
671
|
tool_id: string
|
|
580
672
|
updated_at: string
|
|
581
673
|
url: string
|
|
582
|
-
headers: Json[] | null
|
|
583
674
|
}
|
|
584
675
|
Insert: {
|
|
585
676
|
auth?: Json | null
|
|
586
677
|
created_at?: string
|
|
587
678
|
description: string
|
|
679
|
+
headers?: Json[] | null
|
|
588
680
|
is_active?: boolean
|
|
589
681
|
method?: string
|
|
590
682
|
name: string
|
|
@@ -599,6 +691,7 @@ export type Database = {
|
|
|
599
691
|
auth?: Json | null
|
|
600
692
|
created_at?: string
|
|
601
693
|
description?: string
|
|
694
|
+
headers?: Json[] | null
|
|
602
695
|
is_active?: boolean
|
|
603
696
|
method?: string
|
|
604
697
|
name?: string
|
|
@@ -1277,6 +1370,7 @@ export type Database = {
|
|
|
1277
1370
|
freshdesk_metadata: Json | null
|
|
1278
1371
|
hubspot_metadata: Json | null
|
|
1279
1372
|
is_archived: boolean
|
|
1373
|
+
is_locked: boolean | null
|
|
1280
1374
|
label_ids: Json | null
|
|
1281
1375
|
latest_message_timestamp: string | null
|
|
1282
1376
|
member_closed_at: Json | null
|
|
@@ -1302,6 +1396,7 @@ export type Database = {
|
|
|
1302
1396
|
freshdesk_metadata?: Json | null
|
|
1303
1397
|
hubspot_metadata?: Json | null
|
|
1304
1398
|
is_archived?: boolean
|
|
1399
|
+
is_locked?: boolean | null
|
|
1305
1400
|
label_ids?: Json | null
|
|
1306
1401
|
latest_message_timestamp?: string | null
|
|
1307
1402
|
member_closed_at?: Json | null
|
|
@@ -1327,6 +1422,7 @@ export type Database = {
|
|
|
1327
1422
|
freshdesk_metadata?: Json | null
|
|
1328
1423
|
hubspot_metadata?: Json | null
|
|
1329
1424
|
is_archived?: boolean
|
|
1425
|
+
is_locked?: boolean | null
|
|
1330
1426
|
label_ids?: Json | null
|
|
1331
1427
|
latest_message_timestamp?: string | null
|
|
1332
1428
|
member_closed_at?: Json | null
|
|
@@ -2588,13 +2684,6 @@ export type Database = {
|
|
|
2588
2684
|
referencedRelation: "view_org"
|
|
2589
2685
|
referencedColumns: ["org_id"]
|
|
2590
2686
|
},
|
|
2591
|
-
{
|
|
2592
|
-
foreignKeyName: "tbl_rules_logs_rule_id_fkey"
|
|
2593
|
-
columns: ["rule_id"]
|
|
2594
|
-
isOneToOne: false
|
|
2595
|
-
referencedRelation: "tbl_automation_rules"
|
|
2596
|
-
referencedColumns: ["id"]
|
|
2597
|
-
},
|
|
2598
2687
|
]
|
|
2599
2688
|
}
|
|
2600
2689
|
tbl_scheduled_logs: {
|
|
@@ -3047,6 +3136,15 @@ export type Database = {
|
|
|
3047
3136
|
}
|
|
3048
3137
|
Returns: Json
|
|
3049
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
|
+
}
|
|
3050
3148
|
get_chat_labels_data: {
|
|
3051
3149
|
Args: { chat_ids_input?: string[]; org_id_input: string }
|
|
3052
3150
|
Returns: Json[]
|
|
@@ -3759,4 +3857,4 @@ export const Constants = {
|
|
|
3759
3857
|
},
|
|
3760
3858
|
},
|
|
3761
3859
|
} as const
|
|
3762
|
-
|
|
3860
|
+
|