@periskope/types 0.6.162 → 0.6.164
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/rules.types.d.ts +5 -1
- package/dist/rules.types.js +58 -1
- package/dist/supabase.types.d.ts +84 -11
- package/dist/types.d.ts +34 -0
- package/index.ts +3 -3
- package/package.json +1 -1
- package/rules.types.ts +1599 -1531
- package/supabase.types.ts +84 -11
- package/types.ts +814 -773
package/supabase.types.ts
CHANGED
|
@@ -1,6 +1,31 @@
|
|
|
1
1
|
export type Json = { [key: string]: any } | any
|
|
2
2
|
|
|
3
3
|
export type Database = {
|
|
4
|
+
graphql_public: {
|
|
5
|
+
Tables: {
|
|
6
|
+
[_ in never]: never
|
|
7
|
+
}
|
|
8
|
+
Views: {
|
|
9
|
+
[_ in never]: never
|
|
10
|
+
}
|
|
11
|
+
Functions: {
|
|
12
|
+
graphql: {
|
|
13
|
+
Args: {
|
|
14
|
+
operationName?: string
|
|
15
|
+
query?: string
|
|
16
|
+
variables?: Json
|
|
17
|
+
extensions?: Json
|
|
18
|
+
}
|
|
19
|
+
Returns: Json
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
Enums: {
|
|
23
|
+
[_ in never]: never
|
|
24
|
+
}
|
|
25
|
+
CompositeTypes: {
|
|
26
|
+
[_ in never]: never
|
|
27
|
+
}
|
|
28
|
+
}
|
|
4
29
|
internal: {
|
|
5
30
|
Tables: {
|
|
6
31
|
config: {
|
|
@@ -1672,6 +1697,64 @@ export type Database = {
|
|
|
1672
1697
|
},
|
|
1673
1698
|
]
|
|
1674
1699
|
}
|
|
1700
|
+
tbl_rules_logs: {
|
|
1701
|
+
Row: {
|
|
1702
|
+
actions_progress: Json | null
|
|
1703
|
+
conditions_progress: Json | null
|
|
1704
|
+
created_at: string
|
|
1705
|
+
log_id: string
|
|
1706
|
+
metadata: Json | null
|
|
1707
|
+
org_id: string
|
|
1708
|
+
rule_id: string
|
|
1709
|
+
trace_id: string | null
|
|
1710
|
+
trigger: string
|
|
1711
|
+
}
|
|
1712
|
+
Insert: {
|
|
1713
|
+
actions_progress?: Json | null
|
|
1714
|
+
conditions_progress?: Json | null
|
|
1715
|
+
created_at?: string
|
|
1716
|
+
log_id?: string
|
|
1717
|
+
metadata?: Json | null
|
|
1718
|
+
org_id: string
|
|
1719
|
+
rule_id: string
|
|
1720
|
+
trace_id?: string | null
|
|
1721
|
+
trigger: string
|
|
1722
|
+
}
|
|
1723
|
+
Update: {
|
|
1724
|
+
actions_progress?: Json | null
|
|
1725
|
+
conditions_progress?: Json | null
|
|
1726
|
+
created_at?: string
|
|
1727
|
+
log_id?: string
|
|
1728
|
+
metadata?: Json | null
|
|
1729
|
+
org_id?: string
|
|
1730
|
+
rule_id?: string
|
|
1731
|
+
trace_id?: string | null
|
|
1732
|
+
trigger?: string
|
|
1733
|
+
}
|
|
1734
|
+
Relationships: [
|
|
1735
|
+
{
|
|
1736
|
+
foreignKeyName: "tbl_rules_logs_org_id_fkey"
|
|
1737
|
+
columns: ["org_id"]
|
|
1738
|
+
isOneToOne: false
|
|
1739
|
+
referencedRelation: "tbl_org"
|
|
1740
|
+
referencedColumns: ["org_id"]
|
|
1741
|
+
},
|
|
1742
|
+
{
|
|
1743
|
+
foreignKeyName: "tbl_rules_logs_org_id_fkey"
|
|
1744
|
+
columns: ["org_id"]
|
|
1745
|
+
isOneToOne: false
|
|
1746
|
+
referencedRelation: "view_org"
|
|
1747
|
+
referencedColumns: ["org_id"]
|
|
1748
|
+
},
|
|
1749
|
+
{
|
|
1750
|
+
foreignKeyName: "tbl_rules_logs_rule_id_fkey"
|
|
1751
|
+
columns: ["rule_id"]
|
|
1752
|
+
isOneToOne: false
|
|
1753
|
+
referencedRelation: "tbl_automation_rules"
|
|
1754
|
+
referencedColumns: ["id"]
|
|
1755
|
+
},
|
|
1756
|
+
]
|
|
1757
|
+
}
|
|
1675
1758
|
tbl_scheduled_messages: {
|
|
1676
1759
|
Row: {
|
|
1677
1760
|
chat_id: string
|
|
@@ -2176,7 +2259,7 @@ export type Database = {
|
|
|
2176
2259
|
column_name: string
|
|
2177
2260
|
org_id_input: string
|
|
2178
2261
|
chat_id_input: string[]
|
|
2179
|
-
column_value_input?:
|
|
2262
|
+
column_value_input?: string
|
|
2180
2263
|
key_input?: string
|
|
2181
2264
|
value_input?: Json
|
|
2182
2265
|
}
|
|
@@ -2339,7 +2422,6 @@ export type Database = {
|
|
|
2339
2422
|
owner_id: string | null
|
|
2340
2423
|
path_tokens: string[] | null
|
|
2341
2424
|
updated_at: string | null
|
|
2342
|
-
user_metadata: Json | null
|
|
2343
2425
|
version: string | null
|
|
2344
2426
|
}
|
|
2345
2427
|
Insert: {
|
|
@@ -2353,7 +2435,6 @@ export type Database = {
|
|
|
2353
2435
|
owner_id?: string | null
|
|
2354
2436
|
path_tokens?: string[] | null
|
|
2355
2437
|
updated_at?: string | null
|
|
2356
|
-
user_metadata?: Json | null
|
|
2357
2438
|
version?: string | null
|
|
2358
2439
|
}
|
|
2359
2440
|
Update: {
|
|
@@ -2367,7 +2448,6 @@ export type Database = {
|
|
|
2367
2448
|
owner_id?: string | null
|
|
2368
2449
|
path_tokens?: string[] | null
|
|
2369
2450
|
updated_at?: string | null
|
|
2370
|
-
user_metadata?: Json | null
|
|
2371
2451
|
version?: string | null
|
|
2372
2452
|
}
|
|
2373
2453
|
Relationships: [
|
|
@@ -2389,7 +2469,6 @@ export type Database = {
|
|
|
2389
2469
|
key: string
|
|
2390
2470
|
owner_id: string | null
|
|
2391
2471
|
upload_signature: string
|
|
2392
|
-
user_metadata: Json | null
|
|
2393
2472
|
version: string
|
|
2394
2473
|
}
|
|
2395
2474
|
Insert: {
|
|
@@ -2400,7 +2479,6 @@ export type Database = {
|
|
|
2400
2479
|
key: string
|
|
2401
2480
|
owner_id?: string | null
|
|
2402
2481
|
upload_signature: string
|
|
2403
|
-
user_metadata?: Json | null
|
|
2404
2482
|
version: string
|
|
2405
2483
|
}
|
|
2406
2484
|
Update: {
|
|
@@ -2411,7 +2489,6 @@ export type Database = {
|
|
|
2411
2489
|
key?: string
|
|
2412
2490
|
owner_id?: string | null
|
|
2413
2491
|
upload_signature?: string
|
|
2414
|
-
user_metadata?: Json | null
|
|
2415
2492
|
version?: string
|
|
2416
2493
|
}
|
|
2417
2494
|
Relationships: [
|
|
@@ -2548,10 +2625,6 @@ export type Database = {
|
|
|
2548
2625
|
updated_at: string
|
|
2549
2626
|
}[]
|
|
2550
2627
|
}
|
|
2551
|
-
operation: {
|
|
2552
|
-
Args: Record<PropertyKey, never>
|
|
2553
|
-
Returns: string
|
|
2554
|
-
}
|
|
2555
2628
|
search: {
|
|
2556
2629
|
Args: {
|
|
2557
2630
|
prefix: string
|