mtmsdk 0.0.47 → 0.0.49
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/gomtmapi/@tanstack/react-query.gen.d.ts +2 -80
- package/dist/gomtmapi/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/gomtmapi/@tanstack/react-query.gen.js +2 -176
- package/dist/gomtmapi/@tanstack/react-query.gen.js.map +1 -1
- package/dist/gomtmapi/index.d.ts +2 -2
- package/dist/gomtmapi/index.d.ts.map +1 -1
- package/dist/gomtmapi/index.js +1 -1
- package/dist/gomtmapi/index.js.map +1 -1
- package/dist/gomtmapi/schemas.gen.d.ts +14 -328
- package/dist/gomtmapi/schemas.gen.d.ts.map +1 -1
- package/dist/gomtmapi/schemas.gen.js +14 -341
- package/dist/gomtmapi/schemas.gen.js.map +1 -1
- package/dist/gomtmapi/sdk.gen.d.ts +2 -80
- package/dist/gomtmapi/sdk.gen.d.ts.map +1 -1
- package/dist/gomtmapi/sdk.gen.js +1 -135
- package/dist/gomtmapi/sdk.gen.js.map +1 -1
- package/dist/gomtmapi/types.gen.d.ts +10 -437
- package/dist/gomtmapi/types.gen.d.ts.map +1 -1
- package/dist/gomtmapi/zod.gen.d.ts +8 -308
- package/dist/gomtmapi/zod.gen.d.ts.map +1 -1
- package/dist/gomtmapi/zod.gen.js +4 -232
- package/dist/gomtmapi/zod.gen.js.map +1 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts +1 -29
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.js +1 -17
- package/dist/mtgate_api/@tanstack/react-query.gen.js.map +1 -1
- package/dist/mtgate_api/index.d.ts +2 -2
- package/dist/mtgate_api/index.d.ts.map +1 -1
- package/dist/mtgate_api/index.js +1 -1
- package/dist/mtgate_api/index.js.map +1 -1
- package/dist/mtgate_api/sdk.gen.d.ts +1 -5
- package/dist/mtgate_api/sdk.gen.d.ts.map +1 -1
- package/dist/mtgate_api/sdk.gen.js +0 -4
- package/dist/mtgate_api/sdk.gen.js.map +1 -1
- package/dist/mtgate_api/types.gen.d.ts +0 -6
- package/dist/mtgate_api/types.gen.d.ts.map +1 -1
- package/dist/mtgate_api/zod.gen.d.ts +0 -5
- package/dist/mtgate_api/zod.gen.d.ts.map +1 -1
- package/dist/mtgate_api/zod.gen.js +0 -5
- package/dist/mtgate_api/zod.gen.js.map +1 -1
- package/dist/mtmai_api/index.d.ts +2 -2
- package/dist/mtmai_api/index.d.ts.map +1 -1
- package/dist/mtmai_api/index.js +1 -1
- package/dist/mtmai_api/index.js.map +1 -1
- package/dist/mtmai_api/zod.gen.d.ts +96 -96
- package/dist/openclaw/client-info.d.ts +0 -18
- package/dist/openclaw/client-info.d.ts.map +1 -1
- package/dist/openclaw/client-info.js +0 -6
- package/dist/openclaw/client-info.js.map +1 -1
- package/dist/openclaw/device-auth-utils.d.ts +3 -4
- package/dist/openclaw/device-auth-utils.d.ts.map +1 -1
- package/dist/openclaw/device-auth-utils.js +4 -8
- package/dist/openclaw/device-auth-utils.js.map +1 -1
- package/dist/openclaw/device-auth.d.ts.map +1 -1
- package/dist/openclaw/device-auth.js +5 -2
- package/dist/openclaw/device-auth.js.map +1 -1
- package/dist/openclaw/device-identity.js +2 -2
- package/dist/openclaw/device-identity.js.map +1 -1
- package/dist/openclaw/gateway.d.ts +19 -5
- package/dist/openclaw/gateway.d.ts.map +1 -1
- package/dist/openclaw/gateway.js +75 -37
- package/dist/openclaw/gateway.js.map +1 -1
- package/dist/sbmng/@tanstack/react-query.gen.d.ts +36 -8
- package/dist/sbmng/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/sbmng/@tanstack/react-query.gen.js +22 -6
- package/dist/sbmng/@tanstack/react-query.gen.js.map +1 -1
- package/dist/sbmng/index.d.ts +2 -2
- package/dist/sbmng/index.d.ts.map +1 -1
- package/dist/sbmng/index.js +1 -1
- package/dist/sbmng/index.js.map +1 -1
- package/dist/sbmng/schemas.gen.d.ts +97 -34
- package/dist/sbmng/schemas.gen.d.ts.map +1 -1
- package/dist/sbmng/schemas.gen.js +120 -49
- package/dist/sbmng/schemas.gen.js.map +1 -1
- package/dist/sbmng/sdk.gen.d.ts +7 -3
- package/dist/sbmng/sdk.gen.d.ts.map +1 -1
- package/dist/sbmng/sdk.gen.js +11 -3
- package/dist/sbmng/sdk.gen.js.map +1 -1
- package/dist/sbmng/types.gen.d.ts +82 -30
- package/dist/sbmng/types.gen.d.ts.map +1 -1
- package/dist/supabase/schema/index.d.ts +0 -8
- package/dist/supabase/schema/index.d.ts.map +1 -1
- package/dist/supabase/schema/index.js +0 -5
- package/dist/supabase/schema/index.js.map +1 -1
- package/dist/supabase/supabase-client.d.ts +900 -719
- package/dist/supabase/supabase-client.d.ts.map +1 -1
- package/dist/supabase/supabase.d.ts +1836 -1474
- package/dist/supabase/supabase.d.ts.map +1 -1
- package/dist/supabase/use-sb-query/use-rpc-query.d.ts.map +1 -1
- package/dist/supabase/use-sb-query/use-rpc-query.js +2 -1
- package/dist/supabase/use-sb-query/use-rpc-query.js.map +1 -1
- package/dist/types/database.schemas.d.ts +999 -920
- package/dist/types/database.schemas.d.ts.map +1 -1
- package/dist/types/database.schemas.js +739 -435
- package/dist/types/database.schemas.js.map +1 -1
- package/dist/types/database.types.d.ts +919 -736
- package/dist/types/database.types.d.ts.map +1 -1
- package/dist/types/database.types.js +18 -2
- package/dist/types/database.types.js.map +1 -1
- package/dist/types/index.d.ts +35 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +4 -1
- package/dist/types/index.js.map +1 -1
- package/package.json +4 -3
- package/src/gomtmapi/@tanstack/react-query.gen.ts +3 -185
- package/src/gomtmapi/index.ts +2 -2
- package/src/gomtmapi/schemas.gen.ts +14 -356
- package/src/gomtmapi/sdk.gen.ts +2 -144
- package/src/gomtmapi/types.gen.ts +10 -492
- package/src/gomtmapi/zod.gen.ts +4 -263
- package/src/mtgate_api/@tanstack/react-query.gen.ts +2 -20
- package/src/mtgate_api/index.ts +2 -2
- package/src/mtgate_api/sdk.gen.ts +1 -6
- package/src/mtgate_api/types.gen.ts +0 -7
- package/src/mtgate_api/zod.gen.ts +0 -6
- package/src/mtmai_api/index.ts +2 -2
- package/src/openclaw/client-info.ts +0 -9
- package/src/openclaw/device-auth-utils.ts +7 -12
- package/src/openclaw/device-auth.ts +5 -2
- package/src/openclaw/device-identity.ts +2 -2
- package/src/openclaw/gateway.ts +96 -50
- package/src/sbmng/@tanstack/react-query.gen.ts +25 -7
- package/src/sbmng/index.ts +2 -2
- package/src/sbmng/schemas.gen.ts +121 -49
- package/src/sbmng/sdk.gen.ts +13 -4
- package/src/sbmng/types.gen.ts +87 -30
- package/src/supabase/schema/index.ts +0 -5
- package/src/supabase/use-sb-query/use-rpc-query.ts +2 -1
- package/src/types/database.schemas.ts +948 -598
- package/src/types/database.types.ts +864 -674
- package/src/types/index.ts +20 -4
- package/dist/api_hatchet/@tanstack/react-query.gen.d.ts +0 -3017
- package/dist/api_hatchet/@tanstack/react-query.gen.d.ts.map +0 -1
- package/dist/api_hatchet/@tanstack/react-query.gen.js +0 -2776
- package/dist/api_hatchet/@tanstack/react-query.gen.js.map +0 -1
- package/dist/api_hatchet/client/client.gen.d.ts +0 -3
- package/dist/api_hatchet/client/client.gen.d.ts.map +0 -1
- package/dist/api_hatchet/client/client.gen.js +0 -236
- package/dist/api_hatchet/client/client.gen.js.map +0 -1
- package/dist/api_hatchet/client/index.d.ts +0 -9
- package/dist/api_hatchet/client/index.d.ts.map +0 -1
- package/dist/api_hatchet/client/index.js +0 -7
- package/dist/api_hatchet/client/index.js.map +0 -1
- package/dist/api_hatchet/client/types.gen.d.ts +0 -118
- package/dist/api_hatchet/client/types.gen.d.ts.map +0 -1
- package/dist/api_hatchet/client/types.gen.js +0 -3
- package/dist/api_hatchet/client/types.gen.js.map +0 -1
- package/dist/api_hatchet/client/utils.gen.d.ts +0 -34
- package/dist/api_hatchet/client/utils.gen.d.ts.map +0 -1
- package/dist/api_hatchet/client/utils.gen.js +0 -232
- package/dist/api_hatchet/client/utils.gen.js.map +0 -1
- package/dist/api_hatchet/client.gen.d.ts +0 -13
- package/dist/api_hatchet/client.gen.d.ts.map +0 -1
- package/dist/api_hatchet/client.gen.js +0 -4
- package/dist/api_hatchet/client.gen.js.map +0 -1
- package/dist/api_hatchet/core/auth.gen.d.ts +0 -19
- package/dist/api_hatchet/core/auth.gen.d.ts.map +0 -1
- package/dist/api_hatchet/core/auth.gen.js +0 -15
- package/dist/api_hatchet/core/auth.gen.js.map +0 -1
- package/dist/api_hatchet/core/bodySerializer.gen.d.ts +0 -26
- package/dist/api_hatchet/core/bodySerializer.gen.d.ts.map +0 -1
- package/dist/api_hatchet/core/bodySerializer.gen.js +0 -58
- package/dist/api_hatchet/core/bodySerializer.gen.js.map +0 -1
- package/dist/api_hatchet/core/params.gen.d.ts +0 -44
- package/dist/api_hatchet/core/params.gen.d.ts.map +0 -1
- package/dist/api_hatchet/core/params.gen.js +0 -101
- package/dist/api_hatchet/core/params.gen.js.map +0 -1
- package/dist/api_hatchet/core/pathSerializer.gen.d.ts +0 -34
- package/dist/api_hatchet/core/pathSerializer.gen.d.ts.map +0 -1
- package/dist/api_hatchet/core/pathSerializer.gen.js +0 -115
- package/dist/api_hatchet/core/pathSerializer.gen.js.map +0 -1
- package/dist/api_hatchet/core/queryKeySerializer.gen.d.ts +0 -19
- package/dist/api_hatchet/core/queryKeySerializer.gen.d.ts.map +0 -1
- package/dist/api_hatchet/core/queryKeySerializer.gen.js +0 -100
- package/dist/api_hatchet/core/queryKeySerializer.gen.js.map +0 -1
- package/dist/api_hatchet/core/serverSentEvents.gen.d.ts +0 -72
- package/dist/api_hatchet/core/serverSentEvents.gen.d.ts.map +0 -1
- package/dist/api_hatchet/core/serverSentEvents.gen.js +0 -138
- package/dist/api_hatchet/core/serverSentEvents.gen.js.map +0 -1
- package/dist/api_hatchet/core/types.gen.d.ts +0 -79
- package/dist/api_hatchet/core/types.gen.d.ts.map +0 -1
- package/dist/api_hatchet/core/types.gen.js +0 -3
- package/dist/api_hatchet/core/types.gen.js.map +0 -1
- package/dist/api_hatchet/core/utils.gen.d.ts +0 -20
- package/dist/api_hatchet/core/utils.gen.d.ts.map +0 -1
- package/dist/api_hatchet/core/utils.gen.js +0 -88
- package/dist/api_hatchet/core/utils.gen.js.map +0 -1
- package/dist/api_hatchet/index.d.ts +0 -3
- package/dist/api_hatchet/index.d.ts.map +0 -1
- package/dist/api_hatchet/index.js +0 -4
- package/dist/api_hatchet/index.js.map +0 -1
- package/dist/api_hatchet/schemas.gen.d.ts +0 -4068
- package/dist/api_hatchet/schemas.gen.d.ts.map +0 -1
- package/dist/api_hatchet/schemas.gen.js +0 -4743
- package/dist/api_hatchet/schemas.gen.js.map +0 -1
- package/dist/api_hatchet/sdk.gen.d.ts +0 -784
- package/dist/api_hatchet/sdk.gen.d.ts.map +0 -1
- package/dist/api_hatchet/sdk.gen.js +0 -1849
- package/dist/api_hatchet/sdk.gen.js.map +0 -1
- package/dist/api_hatchet/types.gen.d.ts +0 -6861
- package/dist/api_hatchet/types.gen.d.ts.map +0 -1
- package/dist/api_hatchet/types.gen.js +0 -209
- package/dist/api_hatchet/types.gen.js.map +0 -1
- package/dist/api_hatchet/zod.gen.d.ts +0 -10429
- package/dist/api_hatchet/zod.gen.d.ts.map +0 -1
- package/dist/api_hatchet/zod.gen.js +0 -2766
- package/dist/api_hatchet/zod.gen.js.map +0 -1
- package/dist/openclaw/uuid.d.ts +0 -6
- package/dist/openclaw/uuid.d.ts.map +0 -1
- package/dist/openclaw/uuid.js +0 -39
- package/dist/openclaw/uuid.js.map +0 -1
- package/dist/types/rpc.schemas.d.ts +0 -52
- package/dist/types/rpc.schemas.d.ts.map +0 -1
- package/dist/types/rpc.schemas.js +0 -108
- package/dist/types/rpc.schemas.js.map +0 -1
- package/src/api_hatchet/@tanstack/react-query.gen.ts +0 -3025
- package/src/api_hatchet/client/client.gen.ts +0 -311
- package/src/api_hatchet/client/index.ts +0 -25
- package/src/api_hatchet/client/types.gen.ts +0 -241
- package/src/api_hatchet/client/utils.gen.ts +0 -332
- package/src/api_hatchet/client.gen.ts +0 -16
- package/src/api_hatchet/core/auth.gen.ts +0 -42
- package/src/api_hatchet/core/bodySerializer.gen.ts +0 -100
- package/src/api_hatchet/core/params.gen.ts +0 -176
- package/src/api_hatchet/core/pathSerializer.gen.ts +0 -181
- package/src/api_hatchet/core/queryKeySerializer.gen.ts +0 -136
- package/src/api_hatchet/core/serverSentEvents.gen.ts +0 -266
- package/src/api_hatchet/core/types.gen.ts +0 -118
- package/src/api_hatchet/core/utils.gen.ts +0 -143
- package/src/api_hatchet/index.ts +0 -4
- package/src/api_hatchet/schemas.gen.ts +0 -4961
- package/src/api_hatchet/sdk.gen.ts +0 -1994
- package/src/api_hatchet/types.gen.ts +0 -7688
- package/src/api_hatchet/zod.gen.ts +0 -3230
- package/src/openclaw/uuid.ts +0 -48
- package/src/types/rpc.schemas.ts +0 -142
|
@@ -252,42 +252,6 @@ export type Database = {
|
|
|
252
252
|
}
|
|
253
253
|
Relationships: []
|
|
254
254
|
}
|
|
255
|
-
agents: {
|
|
256
|
-
Row: {
|
|
257
|
-
config: Json | null
|
|
258
|
-
created_at: string
|
|
259
|
-
description: string | null
|
|
260
|
-
id: string
|
|
261
|
-
instruction: string | null
|
|
262
|
-
max_step: number | null
|
|
263
|
-
runtime: string | null
|
|
264
|
-
tools: string | null
|
|
265
|
-
updated_at: string
|
|
266
|
-
}
|
|
267
|
-
Insert: {
|
|
268
|
-
config?: Json | null
|
|
269
|
-
created_at?: string
|
|
270
|
-
description?: string | null
|
|
271
|
-
id: string
|
|
272
|
-
instruction?: string | null
|
|
273
|
-
max_step?: number | null
|
|
274
|
-
runtime?: string | null
|
|
275
|
-
tools?: string | null
|
|
276
|
-
updated_at?: string
|
|
277
|
-
}
|
|
278
|
-
Update: {
|
|
279
|
-
config?: Json | null
|
|
280
|
-
created_at?: string
|
|
281
|
-
description?: string | null
|
|
282
|
-
id?: string
|
|
283
|
-
instruction?: string | null
|
|
284
|
-
max_step?: number | null
|
|
285
|
-
runtime?: string | null
|
|
286
|
-
tools?: string | null
|
|
287
|
-
updated_at?: string
|
|
288
|
-
}
|
|
289
|
-
Relationships: []
|
|
290
|
-
}
|
|
291
255
|
audit_assets: {
|
|
292
256
|
Row: {
|
|
293
257
|
content: string
|
|
@@ -713,6 +677,39 @@ export type Database = {
|
|
|
713
677
|
}
|
|
714
678
|
Relationships: []
|
|
715
679
|
}
|
|
680
|
+
cleanup_policies: {
|
|
681
|
+
Row: {
|
|
682
|
+
cleanup_function: string
|
|
683
|
+
created_at: string
|
|
684
|
+
enabled: boolean
|
|
685
|
+
id: string
|
|
686
|
+
policy_name: string
|
|
687
|
+
retention_days: number
|
|
688
|
+
table_name: string
|
|
689
|
+
updated_at: string
|
|
690
|
+
}
|
|
691
|
+
Insert: {
|
|
692
|
+
cleanup_function: string
|
|
693
|
+
created_at?: string
|
|
694
|
+
enabled?: boolean
|
|
695
|
+
id?: string
|
|
696
|
+
policy_name: string
|
|
697
|
+
retention_days?: number
|
|
698
|
+
table_name: string
|
|
699
|
+
updated_at?: string
|
|
700
|
+
}
|
|
701
|
+
Update: {
|
|
702
|
+
cleanup_function?: string
|
|
703
|
+
created_at?: string
|
|
704
|
+
enabled?: boolean
|
|
705
|
+
id?: string
|
|
706
|
+
policy_name?: string
|
|
707
|
+
retention_days?: number
|
|
708
|
+
table_name?: string
|
|
709
|
+
updated_at?: string
|
|
710
|
+
}
|
|
711
|
+
Relationships: []
|
|
712
|
+
}
|
|
716
713
|
cloud_accounts: {
|
|
717
714
|
Row: {
|
|
718
715
|
access_token: string | null
|
|
@@ -819,7 +816,6 @@ export type Database = {
|
|
|
819
816
|
name: string
|
|
820
817
|
port: number
|
|
821
818
|
provider: string
|
|
822
|
-
status: Database["public"]["Enums"]["compute_node_status"] | null
|
|
823
819
|
updated_at: string
|
|
824
820
|
user_id: string
|
|
825
821
|
username: string | null
|
|
@@ -833,7 +829,6 @@ export type Database = {
|
|
|
833
829
|
name: string
|
|
834
830
|
port?: number
|
|
835
831
|
provider?: string
|
|
836
|
-
status?: Database["public"]["Enums"]["compute_node_status"] | null
|
|
837
832
|
updated_at?: string
|
|
838
833
|
user_id?: string
|
|
839
834
|
username?: string | null
|
|
@@ -847,7 +842,6 @@ export type Database = {
|
|
|
847
842
|
name?: string
|
|
848
843
|
port?: number
|
|
849
844
|
provider?: string
|
|
850
|
-
status?: Database["public"]["Enums"]["compute_node_status"] | null
|
|
851
845
|
updated_at?: string
|
|
852
846
|
user_id?: string
|
|
853
847
|
username?: string | null
|
|
@@ -1035,6 +1029,62 @@ export type Database = {
|
|
|
1035
1029
|
},
|
|
1036
1030
|
]
|
|
1037
1031
|
}
|
|
1032
|
+
openclaws: {
|
|
1033
|
+
Row: {
|
|
1034
|
+
config: Json
|
|
1035
|
+
created_at: string
|
|
1036
|
+
desired_status: Database["public"]["Enums"]["openclaw_status"]
|
|
1037
|
+
id: string
|
|
1038
|
+
metadata: Json | null
|
|
1039
|
+
name: string | null
|
|
1040
|
+
resolved_config: Json
|
|
1041
|
+
server_id: string | null
|
|
1042
|
+
state: Json | null
|
|
1043
|
+
status: Database["public"]["Enums"]["openclaw_status"]
|
|
1044
|
+
status_reason: string | null
|
|
1045
|
+
updated_at: string
|
|
1046
|
+
user_id: string
|
|
1047
|
+
}
|
|
1048
|
+
Insert: {
|
|
1049
|
+
config?: Json
|
|
1050
|
+
created_at?: string
|
|
1051
|
+
desired_status?: Database["public"]["Enums"]["openclaw_status"]
|
|
1052
|
+
id?: string
|
|
1053
|
+
metadata?: Json | null
|
|
1054
|
+
name?: string | null
|
|
1055
|
+
resolved_config?: Json
|
|
1056
|
+
server_id?: string | null
|
|
1057
|
+
state?: Json | null
|
|
1058
|
+
status?: Database["public"]["Enums"]["openclaw_status"]
|
|
1059
|
+
status_reason?: string | null
|
|
1060
|
+
updated_at?: string
|
|
1061
|
+
user_id?: string
|
|
1062
|
+
}
|
|
1063
|
+
Update: {
|
|
1064
|
+
config?: Json
|
|
1065
|
+
created_at?: string
|
|
1066
|
+
desired_status?: Database["public"]["Enums"]["openclaw_status"]
|
|
1067
|
+
id?: string
|
|
1068
|
+
metadata?: Json | null
|
|
1069
|
+
name?: string | null
|
|
1070
|
+
resolved_config?: Json
|
|
1071
|
+
server_id?: string | null
|
|
1072
|
+
state?: Json | null
|
|
1073
|
+
status?: Database["public"]["Enums"]["openclaw_status"]
|
|
1074
|
+
status_reason?: string | null
|
|
1075
|
+
updated_at?: string
|
|
1076
|
+
user_id?: string
|
|
1077
|
+
}
|
|
1078
|
+
Relationships: [
|
|
1079
|
+
{
|
|
1080
|
+
foreignKeyName: "openclaws_server_id_fkey"
|
|
1081
|
+
columns: ["server_id"]
|
|
1082
|
+
isOneToOne: false
|
|
1083
|
+
referencedRelation: "servers"
|
|
1084
|
+
referencedColumns: ["id"]
|
|
1085
|
+
},
|
|
1086
|
+
]
|
|
1087
|
+
}
|
|
1038
1088
|
outreach_messages: {
|
|
1039
1089
|
Row: {
|
|
1040
1090
|
content: string | null
|
|
@@ -1277,37 +1327,22 @@ export type Database = {
|
|
|
1277
1327
|
config: Json | null
|
|
1278
1328
|
created_at: string
|
|
1279
1329
|
id: string
|
|
1280
|
-
is_public: boolean | null
|
|
1281
|
-
is_shared: boolean | null
|
|
1282
|
-
name: string | null
|
|
1283
1330
|
state: Json | null
|
|
1284
|
-
status: Database["public"]["Enums"]["server_status"] | null
|
|
1285
1331
|
updated_at: string
|
|
1286
|
-
user_id: string | null
|
|
1287
1332
|
}
|
|
1288
1333
|
Insert: {
|
|
1289
1334
|
config?: Json | null
|
|
1290
1335
|
created_at?: string
|
|
1291
1336
|
id: string
|
|
1292
|
-
is_public?: boolean | null
|
|
1293
|
-
is_shared?: boolean | null
|
|
1294
|
-
name?: string | null
|
|
1295
1337
|
state?: Json | null
|
|
1296
|
-
status?: Database["public"]["Enums"]["server_status"] | null
|
|
1297
1338
|
updated_at?: string
|
|
1298
|
-
user_id?: string | null
|
|
1299
1339
|
}
|
|
1300
1340
|
Update: {
|
|
1301
1341
|
config?: Json | null
|
|
1302
1342
|
created_at?: string
|
|
1303
1343
|
id?: string
|
|
1304
|
-
is_public?: boolean | null
|
|
1305
|
-
is_shared?: boolean | null
|
|
1306
|
-
name?: string | null
|
|
1307
1344
|
state?: Json | null
|
|
1308
|
-
status?: Database["public"]["Enums"]["server_status"] | null
|
|
1309
1345
|
updated_at?: string
|
|
1310
|
-
user_id?: string | null
|
|
1311
1346
|
}
|
|
1312
1347
|
Relationships: []
|
|
1313
1348
|
}
|
|
@@ -1693,17 +1728,6 @@ export type Database = {
|
|
|
1693
1728
|
[_ in never]: never
|
|
1694
1729
|
}
|
|
1695
1730
|
Functions: {
|
|
1696
|
-
_sys_config_get: { Args: { p_key: string }; Returns: Json }
|
|
1697
|
-
action_tool_query: { Args: { p_prefix?: string }; Returns: Json }
|
|
1698
|
-
action_tool_reply_to_user: {
|
|
1699
|
-
Args: {
|
|
1700
|
-
p_actions?: Json
|
|
1701
|
-
p_chat_id?: string
|
|
1702
|
-
p_text?: string
|
|
1703
|
-
p_user_id?: string
|
|
1704
|
-
}
|
|
1705
|
-
Returns: Json
|
|
1706
|
-
}
|
|
1707
1731
|
adk_agent_list: {
|
|
1708
1732
|
Args: never
|
|
1709
1733
|
Returns: {
|
|
@@ -1739,31 +1763,6 @@ export type Database = {
|
|
|
1739
1763
|
}
|
|
1740
1764
|
Returns: Json
|
|
1741
1765
|
}
|
|
1742
|
-
adk_artifact_list_keys: {
|
|
1743
|
-
Args: { p_app_name: string; p_session_id: string; p_user_id: string }
|
|
1744
|
-
Returns: Database["public"]["CompositeTypes"]["adk_artifact_key_record"][]
|
|
1745
|
-
SetofOptions: {
|
|
1746
|
-
from: "*"
|
|
1747
|
-
to: "adk_artifact_key_record"
|
|
1748
|
-
isOneToOne: false
|
|
1749
|
-
isSetofReturn: true
|
|
1750
|
-
}
|
|
1751
|
-
}
|
|
1752
|
-
adk_artifact_list_versions_meta: {
|
|
1753
|
-
Args: {
|
|
1754
|
-
p_app_name: string
|
|
1755
|
-
p_filename: string
|
|
1756
|
-
p_session_id: string
|
|
1757
|
-
p_user_id: string
|
|
1758
|
-
}
|
|
1759
|
-
Returns: Database["public"]["CompositeTypes"]["adk_artifact_meta_record"][]
|
|
1760
|
-
SetofOptions: {
|
|
1761
|
-
from: "*"
|
|
1762
|
-
to: "adk_artifact_meta_record"
|
|
1763
|
-
isOneToOne: false
|
|
1764
|
-
isSetofReturn: true
|
|
1765
|
-
}
|
|
1766
|
-
}
|
|
1767
1766
|
adk_artifact_save: {
|
|
1768
1767
|
Args: {
|
|
1769
1768
|
p_app_name: string
|
|
@@ -1836,10 +1835,6 @@ export type Database = {
|
|
|
1836
1835
|
p_usage_metadata?: Json
|
|
1837
1836
|
p_user_id?: string
|
|
1838
1837
|
}
|
|
1839
|
-
Returns: Json
|
|
1840
|
-
}
|
|
1841
|
-
adk_event_upsert_from_json: {
|
|
1842
|
-
Args: { p_payload: Json }
|
|
1843
1838
|
Returns: {
|
|
1844
1839
|
actions: Json | null
|
|
1845
1840
|
app_name: string | null
|
|
@@ -1865,12 +1860,12 @@ export type Database = {
|
|
|
1865
1860
|
updated_at: string
|
|
1866
1861
|
usage_metadata: Json | null
|
|
1867
1862
|
user_id: string | null
|
|
1868
|
-
}
|
|
1863
|
+
}[]
|
|
1869
1864
|
SetofOptions: {
|
|
1870
1865
|
from: "*"
|
|
1871
1866
|
to: "adk_events"
|
|
1872
|
-
isOneToOne:
|
|
1873
|
-
isSetofReturn:
|
|
1867
|
+
isOneToOne: false
|
|
1868
|
+
isSetofReturn: true
|
|
1874
1869
|
}
|
|
1875
1870
|
}
|
|
1876
1871
|
adk_quick_start_list: {
|
|
@@ -1954,10 +1949,6 @@ export type Database = {
|
|
|
1954
1949
|
}
|
|
1955
1950
|
}
|
|
1956
1951
|
agent_signal_wakeup: { Args: { p_session_id: string }; Returns: Json }
|
|
1957
|
-
agent_tool_exec_read_sql: {
|
|
1958
|
-
Args: { p_max_chars?: number; p_max_rows?: number; sql_query: string }
|
|
1959
|
-
Returns: string
|
|
1960
|
-
}
|
|
1961
1952
|
audit_artifact_list: {
|
|
1962
1953
|
Args: { p_project_id: string }
|
|
1963
1954
|
Returns: {
|
|
@@ -1984,9 +1975,9 @@ export type Database = {
|
|
|
1984
1975
|
Args: {
|
|
1985
1976
|
p_cursor?: string
|
|
1986
1977
|
p_cursor_id?: string
|
|
1987
|
-
p_kw?: string
|
|
1988
1978
|
p_limit?: number
|
|
1989
1979
|
p_project_id: string
|
|
1980
|
+
p_search?: string
|
|
1990
1981
|
}
|
|
1991
1982
|
Returns: {
|
|
1992
1983
|
content: string
|
|
@@ -2009,9 +2000,9 @@ export type Database = {
|
|
|
2009
2000
|
Args: {
|
|
2010
2001
|
p_cursor?: string
|
|
2011
2002
|
p_cursor_id?: string
|
|
2012
|
-
p_kw?: string
|
|
2013
2003
|
p_limit?: number
|
|
2014
2004
|
p_project_id: string
|
|
2005
|
+
p_search?: string
|
|
2015
2006
|
}
|
|
2016
2007
|
Returns: {
|
|
2017
2008
|
ai_analysis: string | null
|
|
@@ -2059,38 +2050,53 @@ export type Database = {
|
|
|
2059
2050
|
audit_project_delete: { Args: { p_id: string }; Returns: undefined }
|
|
2060
2051
|
audit_project_get: {
|
|
2061
2052
|
Args: { p_id: string }
|
|
2062
|
-
Returns:
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2053
|
+
Returns: {
|
|
2054
|
+
config: Json
|
|
2055
|
+
created_at: string
|
|
2056
|
+
id: string
|
|
2057
|
+
name: string
|
|
2058
|
+
repo_branch: string
|
|
2059
|
+
repo_url: string
|
|
2060
|
+
target: string
|
|
2061
|
+
updated_at: string
|
|
2062
|
+
user_id: string
|
|
2063
|
+
worker_id: string
|
|
2064
|
+
}[]
|
|
2069
2065
|
}
|
|
2070
2066
|
audit_project_list: {
|
|
2071
2067
|
Args: { p_kw?: string; p_page_no?: number; p_page_size?: number }
|
|
2072
|
-
Returns:
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2068
|
+
Returns: {
|
|
2069
|
+
config: Json
|
|
2070
|
+
created_at: string
|
|
2071
|
+
id: string
|
|
2072
|
+
name: string
|
|
2073
|
+
repo_branch: string
|
|
2074
|
+
repo_url: string
|
|
2075
|
+
target: string
|
|
2076
|
+
updated_at: string
|
|
2077
|
+
user_id: string
|
|
2078
|
+
worker_id: string
|
|
2079
|
+
}[]
|
|
2079
2080
|
}
|
|
2080
2081
|
audit_project_list_cursor: {
|
|
2081
2082
|
Args: {
|
|
2082
2083
|
p_cursor?: string
|
|
2083
2084
|
p_cursor_id?: string
|
|
2084
|
-
p_kw?: string
|
|
2085
2085
|
p_limit?: number
|
|
2086
|
+
p_search?: string
|
|
2086
2087
|
}
|
|
2087
|
-
Returns:
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2088
|
+
Returns: {
|
|
2089
|
+
config: Json
|
|
2090
|
+
created_at: string
|
|
2091
|
+
id: string
|
|
2092
|
+
name: string
|
|
2093
|
+
repo_branch: string
|
|
2094
|
+
repo_url: string
|
|
2095
|
+
target: string
|
|
2096
|
+
updated_at: string
|
|
2097
|
+
user_id: string
|
|
2098
|
+
worker_id: string
|
|
2099
|
+
}[]
|
|
2094
2100
|
}
|
|
2095
2101
|
audit_project_upsert: {
|
|
2096
2102
|
Args: {
|
|
@@ -2102,7 +2108,18 @@ export type Database = {
|
|
|
2102
2108
|
p_target?: string
|
|
2103
2109
|
p_worker_id?: string
|
|
2104
2110
|
}
|
|
2105
|
-
Returns:
|
|
2111
|
+
Returns: {
|
|
2112
|
+
config: Json
|
|
2113
|
+
created_at: string
|
|
2114
|
+
id: string
|
|
2115
|
+
name: string
|
|
2116
|
+
repo_branch: string
|
|
2117
|
+
repo_url: string
|
|
2118
|
+
target: string
|
|
2119
|
+
updated_at: string
|
|
2120
|
+
user_id: string
|
|
2121
|
+
worker_id: string
|
|
2122
|
+
}[]
|
|
2106
2123
|
}
|
|
2107
2124
|
audit_skill_list: {
|
|
2108
2125
|
Args: { p_project_id: string }
|
|
@@ -2133,23 +2150,41 @@ export type Database = {
|
|
|
2133
2150
|
}
|
|
2134
2151
|
browser_get: {
|
|
2135
2152
|
Args: { p_id: string }
|
|
2136
|
-
Returns:
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2153
|
+
Returns: {
|
|
2154
|
+
browser_api_url: string
|
|
2155
|
+
config: Json
|
|
2156
|
+
created_at: string
|
|
2157
|
+
description: string
|
|
2158
|
+
id: string
|
|
2159
|
+
is_running: boolean
|
|
2160
|
+
profile_id: string
|
|
2161
|
+
provider: string
|
|
2162
|
+
provider_config: Json
|
|
2163
|
+
sandbox_id: string
|
|
2164
|
+
title: string
|
|
2165
|
+
updated_at: string
|
|
2166
|
+
vnc_url: string
|
|
2167
|
+
worker_name: string
|
|
2168
|
+
}[]
|
|
2143
2169
|
}
|
|
2144
2170
|
browser_list: {
|
|
2145
2171
|
Args: { p_kw?: string; p_page_no?: number; p_page_size?: number }
|
|
2146
|
-
Returns:
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2172
|
+
Returns: {
|
|
2173
|
+
browser_api_url: string
|
|
2174
|
+
config: Json
|
|
2175
|
+
created_at: string
|
|
2176
|
+
description: string
|
|
2177
|
+
id: string
|
|
2178
|
+
is_running: boolean
|
|
2179
|
+
profile_id: string
|
|
2180
|
+
provider: string
|
|
2181
|
+
provider_config: Json
|
|
2182
|
+
sandbox_id: string
|
|
2183
|
+
title: string
|
|
2184
|
+
updated_at: string
|
|
2185
|
+
vnc_url: string
|
|
2186
|
+
worker_name: string
|
|
2187
|
+
}[]
|
|
2153
2188
|
}
|
|
2154
2189
|
browser_update_state: {
|
|
2155
2190
|
Args: { p_browser_id: string; p_state: Json }
|
|
@@ -2165,24 +2200,43 @@ export type Database = {
|
|
|
2165
2200
|
p_provider_config?: Json
|
|
2166
2201
|
p_title?: string
|
|
2167
2202
|
}
|
|
2168
|
-
Returns:
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2203
|
+
Returns: {
|
|
2204
|
+
browser_api_url: string
|
|
2205
|
+
config: Json
|
|
2206
|
+
created_at: string
|
|
2207
|
+
description: string
|
|
2208
|
+
id: string
|
|
2209
|
+
is_running: boolean
|
|
2210
|
+
profile_id: string
|
|
2211
|
+
provider: string
|
|
2212
|
+
provider_config: Json
|
|
2213
|
+
sandbox_id: string
|
|
2214
|
+
title: string
|
|
2215
|
+
updated_at: string
|
|
2216
|
+
vnc_url: string
|
|
2217
|
+
worker_name: string
|
|
2218
|
+
}[]
|
|
2175
2219
|
}
|
|
2176
2220
|
campaign_delete: { Args: { p_id: string }; Returns: boolean }
|
|
2177
2221
|
campaign_get: {
|
|
2178
2222
|
Args: { p_id: string }
|
|
2179
|
-
Returns:
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2223
|
+
Returns: {
|
|
2224
|
+
completed_at: string
|
|
2225
|
+
config: Json
|
|
2226
|
+
created_at: string
|
|
2227
|
+
description: string
|
|
2228
|
+
id: string
|
|
2229
|
+
message_template: string
|
|
2230
|
+
name: string
|
|
2231
|
+
platform: string
|
|
2232
|
+
schedule: Json
|
|
2233
|
+
started_at: string
|
|
2234
|
+
stats: Json
|
|
2235
|
+
status: string
|
|
2236
|
+
target_filter: Json
|
|
2237
|
+
updated_at: string
|
|
2238
|
+
user_id: string
|
|
2239
|
+
}[]
|
|
2186
2240
|
}
|
|
2187
2241
|
campaign_list_cursor: {
|
|
2188
2242
|
Args: {
|
|
@@ -2191,34 +2245,54 @@ export type Database = {
|
|
|
2191
2245
|
p_search?: string
|
|
2192
2246
|
p_status?: string
|
|
2193
2247
|
}
|
|
2194
|
-
Returns:
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2248
|
+
Returns: {
|
|
2249
|
+
completed_at: string
|
|
2250
|
+
config: Json
|
|
2251
|
+
created_at: string
|
|
2252
|
+
description: string
|
|
2253
|
+
id: string
|
|
2254
|
+
message_template: string
|
|
2255
|
+
name: string
|
|
2256
|
+
platform: string
|
|
2257
|
+
schedule: Json
|
|
2258
|
+
started_at: string
|
|
2259
|
+
stats: Json
|
|
2260
|
+
status: string
|
|
2261
|
+
target_filter: Json
|
|
2262
|
+
updated_at: string
|
|
2263
|
+
user_id: string
|
|
2264
|
+
}[]
|
|
2265
|
+
}
|
|
2266
|
+
campaign_pause: { Args: { p_id: string }; Returns: boolean }
|
|
2267
|
+
campaign_start: { Args: { p_id: string }; Returns: boolean }
|
|
2268
|
+
campaign_upsert: {
|
|
2269
|
+
Args: {
|
|
2270
|
+
p_config?: Json
|
|
2271
|
+
p_description?: string
|
|
2272
|
+
p_id?: string
|
|
2273
|
+
p_message_template?: string
|
|
2274
|
+
p_name?: string
|
|
2275
|
+
p_platform?: string
|
|
2212
2276
|
p_schedule?: Json
|
|
2213
2277
|
p_target_filter?: Json
|
|
2214
2278
|
}
|
|
2215
|
-
Returns:
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2279
|
+
Returns: {
|
|
2280
|
+
completed_at: string
|
|
2281
|
+
config: Json
|
|
2282
|
+
created_at: string
|
|
2283
|
+
description: string
|
|
2284
|
+
id: string
|
|
2285
|
+
message_template: string
|
|
2286
|
+
name: string
|
|
2287
|
+
platform: string
|
|
2288
|
+
schedule: Json
|
|
2289
|
+
started_at: string
|
|
2290
|
+
stats: Json
|
|
2291
|
+
status: string
|
|
2292
|
+
target_filter: Json
|
|
2293
|
+
updated_at: string
|
|
2294
|
+
user_id: string
|
|
2295
|
+
}[]
|
|
2222
2296
|
}
|
|
2223
2297
|
chat_get: {
|
|
2224
2298
|
Args: { p_chat_id: string }
|
|
@@ -2330,18 +2404,19 @@ export type Database = {
|
|
|
2330
2404
|
updated_at: string | null
|
|
2331
2405
|
user_id: string | null
|
|
2332
2406
|
visibility: Database["public"]["Enums"]["chat_visibility"]
|
|
2333
|
-
}
|
|
2407
|
+
}[]
|
|
2334
2408
|
SetofOptions: {
|
|
2335
2409
|
from: "*"
|
|
2336
2410
|
to: "chats"
|
|
2337
|
-
isOneToOne:
|
|
2338
|
-
isSetofReturn:
|
|
2411
|
+
isOneToOne: false
|
|
2412
|
+
isSetofReturn: true
|
|
2339
2413
|
}
|
|
2340
2414
|
}
|
|
2341
2415
|
check_account_rate_limit: {
|
|
2342
|
-
Args: { p_account_id: string; p_campaign_config
|
|
2416
|
+
Args: { p_account_id: string; p_campaign_config?: Json }
|
|
2343
2417
|
Returns: boolean
|
|
2344
2418
|
}
|
|
2419
|
+
cleanup_servers_ingress: { Args: never; Returns: number }
|
|
2345
2420
|
cloud_account_bulk_create: {
|
|
2346
2421
|
Args: {
|
|
2347
2422
|
p_account_names: string[]
|
|
@@ -2393,10 +2468,10 @@ export type Database = {
|
|
|
2393
2468
|
cloud_account_list_cursor: {
|
|
2394
2469
|
Args: {
|
|
2395
2470
|
p_cursor?: string
|
|
2396
|
-
p_kw?: string
|
|
2397
2471
|
p_limit?: number
|
|
2398
2472
|
p_platform_name?: string
|
|
2399
|
-
|
|
2473
|
+
p_search?: string
|
|
2474
|
+
p_status?: string
|
|
2400
2475
|
}
|
|
2401
2476
|
Returns: Database["public"]["CompositeTypes"]["cloud_account_record"][]
|
|
2402
2477
|
SetofOptions: {
|
|
@@ -2455,54 +2530,74 @@ export type Database = {
|
|
|
2455
2530
|
isSetofReturn: true
|
|
2456
2531
|
}
|
|
2457
2532
|
}
|
|
2533
|
+
code_run_result_parse: { Args: { p_result: Json }; Returns: Json }
|
|
2458
2534
|
compute_node_delete: { Args: { p_id: string }; Returns: undefined }
|
|
2459
2535
|
compute_node_get: {
|
|
2460
|
-
Args: { p_id
|
|
2461
|
-
Returns:
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2536
|
+
Args: { p_id?: string; p_user_id?: string }
|
|
2537
|
+
Returns: {
|
|
2538
|
+
auth_secret: string | null
|
|
2539
|
+
created_at: string | null
|
|
2540
|
+
host: string | null
|
|
2541
|
+
id: string | null
|
|
2542
|
+
is_public: boolean | null
|
|
2543
|
+
name: string | null
|
|
2544
|
+
port: number | null
|
|
2545
|
+
provider: string | null
|
|
2546
|
+
updated_at: string | null
|
|
2547
|
+
user_id: string | null
|
|
2548
|
+
username: string | null
|
|
2549
|
+
}[]
|
|
2468
2550
|
}
|
|
2469
2551
|
compute_node_get_secret: {
|
|
2470
2552
|
Args: { target_id: string }
|
|
2471
|
-
Returns:
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
}
|
|
2553
|
+
Returns: {
|
|
2554
|
+
auth_secret: string
|
|
2555
|
+
host: string
|
|
2556
|
+
port: number
|
|
2557
|
+
username: string
|
|
2558
|
+
}[]
|
|
2478
2559
|
}
|
|
2479
2560
|
compute_node_list: {
|
|
2480
|
-
Args: {
|
|
2481
|
-
Returns:
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2561
|
+
Args: { p_user_id?: string }
|
|
2562
|
+
Returns: {
|
|
2563
|
+
auth_secret: string | null
|
|
2564
|
+
created_at: string | null
|
|
2565
|
+
host: string | null
|
|
2566
|
+
id: string | null
|
|
2567
|
+
is_public: boolean | null
|
|
2568
|
+
name: string | null
|
|
2569
|
+
port: number | null
|
|
2570
|
+
provider: string | null
|
|
2571
|
+
updated_at: string | null
|
|
2572
|
+
user_id: string | null
|
|
2573
|
+
username: string | null
|
|
2574
|
+
}[]
|
|
2488
2575
|
}
|
|
2489
2576
|
compute_node_upsert: {
|
|
2490
2577
|
Args: {
|
|
2491
2578
|
p_auth_secret?: string
|
|
2492
|
-
p_host
|
|
2493
|
-
p_id
|
|
2494
|
-
|
|
2579
|
+
p_host?: string
|
|
2580
|
+
p_id?: string
|
|
2581
|
+
p_is_public?: boolean
|
|
2582
|
+
p_name?: string
|
|
2495
2583
|
p_port?: number
|
|
2496
|
-
p_provider
|
|
2584
|
+
p_provider?: string
|
|
2497
2585
|
p_username?: string
|
|
2586
|
+
p_worker_count?: number
|
|
2498
2587
|
}
|
|
2499
|
-
Returns:
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2588
|
+
Returns: {
|
|
2589
|
+
auth_secret: string | null
|
|
2590
|
+
created_at: string | null
|
|
2591
|
+
host: string | null
|
|
2592
|
+
id: string | null
|
|
2593
|
+
is_public: boolean | null
|
|
2594
|
+
name: string | null
|
|
2595
|
+
port: number | null
|
|
2596
|
+
provider: string | null
|
|
2597
|
+
updated_at: string | null
|
|
2598
|
+
user_id: string | null
|
|
2599
|
+
username: string | null
|
|
2600
|
+
}[]
|
|
2506
2601
|
}
|
|
2507
2602
|
compute_server_public_url: {
|
|
2508
2603
|
Args: { p_server_id: string }
|
|
@@ -2529,13 +2624,22 @@ export type Database = {
|
|
|
2529
2624
|
p_platform?: string
|
|
2530
2625
|
p_telegram_id?: number
|
|
2531
2626
|
}
|
|
2532
|
-
Returns:
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2627
|
+
Returns: {
|
|
2628
|
+
created_at: string
|
|
2629
|
+
email: string
|
|
2630
|
+
id: string
|
|
2631
|
+
metadata: Json
|
|
2632
|
+
name: string
|
|
2633
|
+
phone: string
|
|
2634
|
+
platform: string
|
|
2635
|
+
source: string
|
|
2636
|
+
status: string
|
|
2637
|
+
tags: string[]
|
|
2638
|
+
telegram_id: number
|
|
2639
|
+
telegram_username: string
|
|
2640
|
+
updated_at: string
|
|
2641
|
+
user_id: string
|
|
2642
|
+
}[]
|
|
2539
2643
|
}
|
|
2540
2644
|
contact_list_cursor: {
|
|
2541
2645
|
Args: {
|
|
@@ -2546,13 +2650,22 @@ export type Database = {
|
|
|
2546
2650
|
p_status?: string
|
|
2547
2651
|
p_tags?: string[]
|
|
2548
2652
|
}
|
|
2549
|
-
Returns:
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2653
|
+
Returns: {
|
|
2654
|
+
created_at: string
|
|
2655
|
+
email: string
|
|
2656
|
+
id: string
|
|
2657
|
+
metadata: Json
|
|
2658
|
+
name: string
|
|
2659
|
+
phone: string
|
|
2660
|
+
platform: string
|
|
2661
|
+
source: string
|
|
2662
|
+
status: string
|
|
2663
|
+
tags: string[]
|
|
2664
|
+
telegram_id: number
|
|
2665
|
+
telegram_username: string
|
|
2666
|
+
updated_at: string
|
|
2667
|
+
user_id: string
|
|
2668
|
+
}[]
|
|
2556
2669
|
}
|
|
2557
2670
|
contact_list_tags: { Args: never; Returns: string[] }
|
|
2558
2671
|
contact_remove_tags: {
|
|
@@ -2573,13 +2686,22 @@ export type Database = {
|
|
|
2573
2686
|
p_telegram_id?: number
|
|
2574
2687
|
p_telegram_username?: string
|
|
2575
2688
|
}
|
|
2576
|
-
Returns:
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2689
|
+
Returns: {
|
|
2690
|
+
created_at: string
|
|
2691
|
+
email: string
|
|
2692
|
+
id: string
|
|
2693
|
+
metadata: Json
|
|
2694
|
+
name: string
|
|
2695
|
+
phone: string
|
|
2696
|
+
platform: string
|
|
2697
|
+
source: string
|
|
2698
|
+
status: string
|
|
2699
|
+
tags: string[]
|
|
2700
|
+
telegram_id: number
|
|
2701
|
+
telegram_username: string
|
|
2702
|
+
updated_at: string
|
|
2703
|
+
user_id: string
|
|
2704
|
+
}[]
|
|
2583
2705
|
}
|
|
2584
2706
|
create_notification: {
|
|
2585
2707
|
Args: {
|
|
@@ -2597,22 +2719,16 @@ export type Database = {
|
|
|
2597
2719
|
Returns: string
|
|
2598
2720
|
}
|
|
2599
2721
|
db_tool_query: { Args: { p_sql: string }; Returns: Json }
|
|
2600
|
-
dba_lint_scan: {
|
|
2601
|
-
Args: never
|
|
2602
|
-
Returns: Database["public"]["CompositeTypes"]["dba_lint_issue"][]
|
|
2603
|
-
SetofOptions: {
|
|
2604
|
-
from: "*"
|
|
2605
|
-
to: "dba_lint_issue"
|
|
2606
|
-
isOneToOne: false
|
|
2607
|
-
isSetofReturn: true
|
|
2608
|
-
}
|
|
2609
|
-
}
|
|
2610
|
-
debug_role: { Args: never; Returns: string }
|
|
2611
|
-
debug_sec_def: { Args: never; Returns: string }
|
|
2612
|
-
get_encryption_key: { Args: never; Returns: string }
|
|
2613
2722
|
get_github_app_public_info: { Args: never; Returns: Json }
|
|
2614
2723
|
get_jwt_role: { Args: never; Returns: string }
|
|
2724
|
+
get_system_primary_domain: { Args: never; Returns: string }
|
|
2615
2725
|
get_user_id_from_token: { Args: { p_token: string }; Returns: string }
|
|
2726
|
+
get_worker_subdomain: { Args: { p_worker_id: string }; Returns: string }
|
|
2727
|
+
github_list_installation_repos: { Args: never; Returns: Json }
|
|
2728
|
+
github_list_repo_branches: {
|
|
2729
|
+
Args: { p_repo_full_name: string }
|
|
2730
|
+
Returns: Json
|
|
2731
|
+
}
|
|
2616
2732
|
gomtm_model_count: {
|
|
2617
2733
|
Args: { p_is_active?: boolean; p_provider?: string }
|
|
2618
2734
|
Returns: number
|
|
@@ -2633,12 +2749,12 @@ export type Database = {
|
|
|
2633
2749
|
provider: string
|
|
2634
2750
|
updated_at: string
|
|
2635
2751
|
user_id: string
|
|
2636
|
-
}
|
|
2752
|
+
}[]
|
|
2637
2753
|
SetofOptions: {
|
|
2638
2754
|
from: "*"
|
|
2639
2755
|
to: "gomtm_models"
|
|
2640
|
-
isOneToOne:
|
|
2641
|
-
isSetofReturn:
|
|
2756
|
+
isOneToOne: false
|
|
2757
|
+
isSetofReturn: true
|
|
2642
2758
|
}
|
|
2643
2759
|
}
|
|
2644
2760
|
gomtm_model_list_cursor: {
|
|
@@ -2671,15 +2787,15 @@ export type Database = {
|
|
|
2671
2787
|
}
|
|
2672
2788
|
gomtm_model_upsert: {
|
|
2673
2789
|
Args: {
|
|
2674
|
-
p_api_base
|
|
2675
|
-
p_api_key
|
|
2676
|
-
p_config
|
|
2677
|
-
p_id
|
|
2678
|
-
p_is_active
|
|
2679
|
-
p_linked_account_id
|
|
2680
|
-
p_model
|
|
2681
|
-
p_name
|
|
2682
|
-
p_provider
|
|
2790
|
+
p_api_base: string
|
|
2791
|
+
p_api_key: string
|
|
2792
|
+
p_config: Json
|
|
2793
|
+
p_id: string
|
|
2794
|
+
p_is_active: boolean
|
|
2795
|
+
p_linked_account_id: string
|
|
2796
|
+
p_model: string
|
|
2797
|
+
p_name: string
|
|
2798
|
+
p_provider: string
|
|
2683
2799
|
}
|
|
2684
2800
|
Returns: {
|
|
2685
2801
|
api_base: string | null
|
|
@@ -2694,30 +2810,14 @@ export type Database = {
|
|
|
2694
2810
|
provider: string
|
|
2695
2811
|
updated_at: string
|
|
2696
2812
|
user_id: string
|
|
2697
|
-
}
|
|
2813
|
+
}[]
|
|
2698
2814
|
SetofOptions: {
|
|
2699
2815
|
from: "*"
|
|
2700
2816
|
to: "gomtm_models"
|
|
2701
|
-
isOneToOne:
|
|
2702
|
-
isSetofReturn:
|
|
2817
|
+
isOneToOne: false
|
|
2818
|
+
isSetofReturn: true
|
|
2703
2819
|
}
|
|
2704
2820
|
}
|
|
2705
|
-
handle_http_response_health: {
|
|
2706
|
-
Args: { p_body: Json; p_request_id: number; p_success: boolean }
|
|
2707
|
-
Returns: boolean
|
|
2708
|
-
}
|
|
2709
|
-
handle_http_response_outreach: {
|
|
2710
|
-
Args: { p_body: Json; p_request_id: number; p_success: boolean }
|
|
2711
|
-
Returns: boolean
|
|
2712
|
-
}
|
|
2713
|
-
handle_http_response_task: {
|
|
2714
|
-
Args: { p_body: Json; p_request_id: number; p_success: boolean }
|
|
2715
|
-
Returns: boolean
|
|
2716
|
-
}
|
|
2717
|
-
handle_http_response_telegram: {
|
|
2718
|
-
Args: { p_body: Json; p_request_id: number; p_success: boolean }
|
|
2719
|
-
Returns: boolean
|
|
2720
|
-
}
|
|
2721
2821
|
handle_job_outreach_process: {
|
|
2722
2822
|
Args: { p_payload?: Json }
|
|
2723
2823
|
Returns: undefined
|
|
@@ -2734,8 +2834,20 @@ export type Database = {
|
|
|
2734
2834
|
Args: { p_action: string; p_resource: string }
|
|
2735
2835
|
Returns: boolean
|
|
2736
2836
|
}
|
|
2837
|
+
http_fetch: {
|
|
2838
|
+
Args: {
|
|
2839
|
+
p_body?: Json
|
|
2840
|
+
p_headers?: Json
|
|
2841
|
+
p_max_retries?: number
|
|
2842
|
+
p_method: string
|
|
2843
|
+
p_source_tag?: string
|
|
2844
|
+
p_timeout_ms?: number
|
|
2845
|
+
p_url: string
|
|
2846
|
+
}
|
|
2847
|
+
Returns: Json
|
|
2848
|
+
}
|
|
2737
2849
|
install_script: {
|
|
2738
|
-
Args: { p_instance_id?: string;
|
|
2850
|
+
Args: { p_instance_id?: string; p_version?: string }
|
|
2739
2851
|
Returns: string
|
|
2740
2852
|
}
|
|
2741
2853
|
instance_tag_add: {
|
|
@@ -2748,23 +2860,27 @@ export type Database = {
|
|
|
2748
2860
|
}
|
|
2749
2861
|
instance_tags_get: {
|
|
2750
2862
|
Args: { p_instance_id: string }
|
|
2751
|
-
Returns:
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2863
|
+
Returns: {
|
|
2864
|
+
color: string
|
|
2865
|
+
created_at: string
|
|
2866
|
+
id: string
|
|
2867
|
+
instance_count: number
|
|
2868
|
+
name: string
|
|
2869
|
+
updated_at: string
|
|
2870
|
+
user_id: string
|
|
2871
|
+
}[]
|
|
2758
2872
|
}
|
|
2759
2873
|
instance_tags_set: {
|
|
2760
2874
|
Args: { p_instance_id: string; p_tag_ids: string[] }
|
|
2761
|
-
Returns:
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2875
|
+
Returns: {
|
|
2876
|
+
color: string
|
|
2877
|
+
created_at: string
|
|
2878
|
+
id: string
|
|
2879
|
+
instance_count: number
|
|
2880
|
+
name: string
|
|
2881
|
+
updated_at: string
|
|
2882
|
+
user_id: string
|
|
2883
|
+
}[]
|
|
2768
2884
|
}
|
|
2769
2885
|
job_queue_list_dlq: {
|
|
2770
2886
|
Args: { p_limit?: number; p_offset?: number; p_queue: string }
|
|
@@ -2793,6 +2909,27 @@ export type Database = {
|
|
|
2793
2909
|
}
|
|
2794
2910
|
Returns: Json
|
|
2795
2911
|
}
|
|
2912
|
+
jsonb_deep_merge: { Args: { a: Json; b: Json }; Returns: Json }
|
|
2913
|
+
log_list_unified: {
|
|
2914
|
+
Args: {
|
|
2915
|
+
p_cursor?: string
|
|
2916
|
+
p_event_type?: string
|
|
2917
|
+
p_level_max?: string
|
|
2918
|
+
p_limit?: number
|
|
2919
|
+
p_module?: string
|
|
2920
|
+
p_resource_id?: string
|
|
2921
|
+
p_resource_type?: string
|
|
2922
|
+
p_scope?: string
|
|
2923
|
+
p_source?: string
|
|
2924
|
+
}
|
|
2925
|
+
Returns: Database["public"]["CompositeTypes"]["log_unified_record"][]
|
|
2926
|
+
SetofOptions: {
|
|
2927
|
+
from: "*"
|
|
2928
|
+
to: "log_unified_record"
|
|
2929
|
+
isOneToOne: false
|
|
2930
|
+
isSetofReturn: true
|
|
2931
|
+
}
|
|
2932
|
+
}
|
|
2796
2933
|
notification_complete_action: { Args: { p_id: string }; Returns: boolean }
|
|
2797
2934
|
notification_count: {
|
|
2798
2935
|
Args: { p_include_dismissed?: boolean; p_unread_only?: boolean }
|
|
@@ -2809,10 +2946,28 @@ export type Database = {
|
|
|
2809
2946
|
}
|
|
2810
2947
|
notification_get_pending_actions: {
|
|
2811
2948
|
Args: never
|
|
2812
|
-
Returns:
|
|
2949
|
+
Returns: {
|
|
2950
|
+
action_completed_at: string | null
|
|
2951
|
+
action_payload: Json | null
|
|
2952
|
+
action_type: string | null
|
|
2953
|
+
created_at: string
|
|
2954
|
+
dismissed_at: string | null
|
|
2955
|
+
expires_at: string | null
|
|
2956
|
+
id: string
|
|
2957
|
+
is_read: boolean
|
|
2958
|
+
message: string | null
|
|
2959
|
+
notification_type: string
|
|
2960
|
+
priority: string
|
|
2961
|
+
read_at: string | null
|
|
2962
|
+
source_id: string | null
|
|
2963
|
+
source_type: string | null
|
|
2964
|
+
title: string
|
|
2965
|
+
updated_at: string
|
|
2966
|
+
user_id: string
|
|
2967
|
+
}[]
|
|
2813
2968
|
SetofOptions: {
|
|
2814
2969
|
from: "*"
|
|
2815
|
-
to: "
|
|
2970
|
+
to: "user_notifications"
|
|
2816
2971
|
isOneToOne: false
|
|
2817
2972
|
isSetofReturn: true
|
|
2818
2973
|
}
|
|
@@ -2826,10 +2981,28 @@ export type Database = {
|
|
|
2826
2981
|
p_source_type?: string
|
|
2827
2982
|
p_unread_only?: boolean
|
|
2828
2983
|
}
|
|
2829
|
-
Returns:
|
|
2984
|
+
Returns: {
|
|
2985
|
+
action_completed_at: string | null
|
|
2986
|
+
action_payload: Json | null
|
|
2987
|
+
action_type: string | null
|
|
2988
|
+
created_at: string
|
|
2989
|
+
dismissed_at: string | null
|
|
2990
|
+
expires_at: string | null
|
|
2991
|
+
id: string
|
|
2992
|
+
is_read: boolean
|
|
2993
|
+
message: string | null
|
|
2994
|
+
notification_type: string
|
|
2995
|
+
priority: string
|
|
2996
|
+
read_at: string | null
|
|
2997
|
+
source_id: string | null
|
|
2998
|
+
source_type: string | null
|
|
2999
|
+
title: string
|
|
3000
|
+
updated_at: string
|
|
3001
|
+
user_id: string
|
|
3002
|
+
}[]
|
|
2830
3003
|
SetofOptions: {
|
|
2831
3004
|
from: "*"
|
|
2832
|
-
to: "
|
|
3005
|
+
to: "user_notifications"
|
|
2833
3006
|
isOneToOne: false
|
|
2834
3007
|
isSetofReturn: true
|
|
2835
3008
|
}
|
|
@@ -2838,10 +3011,168 @@ export type Database = {
|
|
|
2838
3011
|
Args: { p_id?: string; p_mark_all?: boolean }
|
|
2839
3012
|
Returns: number
|
|
2840
3013
|
}
|
|
3014
|
+
openclaw_assign_server: {
|
|
3015
|
+
Args: { p_openclaw_id: string; p_user_id: string }
|
|
3016
|
+
Returns: string
|
|
3017
|
+
}
|
|
3018
|
+
openclaw_build_config: {
|
|
3019
|
+
Args: {
|
|
3020
|
+
p_openclaw_id: string
|
|
3021
|
+
p_override_config?: Json
|
|
3022
|
+
p_override_server_id?: string
|
|
3023
|
+
}
|
|
3024
|
+
Returns: Json
|
|
3025
|
+
}
|
|
3026
|
+
openclaw_failover: { Args: { p_server_id: string }; Returns: undefined }
|
|
3027
|
+
openclaw_metadata_apply_action_contract: {
|
|
3028
|
+
Args: {
|
|
3029
|
+
p_action_status: string
|
|
3030
|
+
p_completed_at?: string
|
|
3031
|
+
p_debug_action: string
|
|
3032
|
+
p_delete_pending?: boolean
|
|
3033
|
+
p_message?: string
|
|
3034
|
+
p_metadata: Json
|
|
3035
|
+
p_requested_at?: string
|
|
3036
|
+
p_user_action: string
|
|
3037
|
+
}
|
|
3038
|
+
Returns: Json
|
|
3039
|
+
}
|
|
3040
|
+
openclaw_reconcile_due: { Args: { p_limit?: number }; Returns: number }
|
|
3041
|
+
openclaw_reconcile_one: {
|
|
3042
|
+
Args: { p_openclaw_id: string }
|
|
3043
|
+
Returns: {
|
|
3044
|
+
config: Json
|
|
3045
|
+
created_at: string
|
|
3046
|
+
desired_status: Database["public"]["Enums"]["openclaw_status"]
|
|
3047
|
+
id: string
|
|
3048
|
+
metadata: Json | null
|
|
3049
|
+
name: string | null
|
|
3050
|
+
resolved_config: Json
|
|
3051
|
+
server_id: string | null
|
|
3052
|
+
state: Json | null
|
|
3053
|
+
status: Database["public"]["Enums"]["openclaw_status"]
|
|
3054
|
+
status_reason: string | null
|
|
3055
|
+
updated_at: string
|
|
3056
|
+
user_id: string
|
|
3057
|
+
}
|
|
3058
|
+
SetofOptions: {
|
|
3059
|
+
from: "*"
|
|
3060
|
+
to: "openclaws"
|
|
3061
|
+
isOneToOne: true
|
|
3062
|
+
isSetofReturn: false
|
|
3063
|
+
}
|
|
3064
|
+
}
|
|
3065
|
+
openclaw_refresh_resolved_config: {
|
|
3066
|
+
Args: {
|
|
3067
|
+
p_openclaw_id: string
|
|
3068
|
+
p_override_config?: Json
|
|
3069
|
+
p_override_server_id?: string
|
|
3070
|
+
}
|
|
3071
|
+
Returns: Json
|
|
3072
|
+
}
|
|
3073
|
+
openclaws_delete: {
|
|
3074
|
+
Args: { p_id: string }
|
|
3075
|
+
Returns: {
|
|
3076
|
+
config: Json
|
|
3077
|
+
created_at: string
|
|
3078
|
+
desired_status: Database["public"]["Enums"]["openclaw_status"]
|
|
3079
|
+
id: string
|
|
3080
|
+
metadata: Json
|
|
3081
|
+
name: string
|
|
3082
|
+
server_id: string
|
|
3083
|
+
state: Json
|
|
3084
|
+
status: Database["public"]["Enums"]["openclaw_status"]
|
|
3085
|
+
status_reason: string
|
|
3086
|
+
updated_at: string
|
|
3087
|
+
user_id: string
|
|
3088
|
+
}[]
|
|
3089
|
+
}
|
|
3090
|
+
openclaws_get: {
|
|
3091
|
+
Args: { p_id: string }
|
|
3092
|
+
Returns: {
|
|
3093
|
+
config: Json
|
|
3094
|
+
created_at: string
|
|
3095
|
+
desired_status: Database["public"]["Enums"]["openclaw_status"]
|
|
3096
|
+
id: string
|
|
3097
|
+
metadata: Json
|
|
3098
|
+
name: string
|
|
3099
|
+
server_id: string
|
|
3100
|
+
state: Json
|
|
3101
|
+
status: Database["public"]["Enums"]["openclaw_status"]
|
|
3102
|
+
status_reason: string
|
|
3103
|
+
updated_at: string
|
|
3104
|
+
user_id: string
|
|
3105
|
+
}[]
|
|
3106
|
+
}
|
|
3107
|
+
openclaws_list_cursor: {
|
|
3108
|
+
Args: {
|
|
3109
|
+
p_cursor?: string
|
|
3110
|
+
p_limit?: number
|
|
3111
|
+
p_search?: string
|
|
3112
|
+
p_status?: Database["public"]["Enums"]["openclaw_status"]
|
|
3113
|
+
}
|
|
3114
|
+
Returns: {
|
|
3115
|
+
config: Json
|
|
3116
|
+
created_at: string
|
|
3117
|
+
desired_status: Database["public"]["Enums"]["openclaw_status"]
|
|
3118
|
+
id: string
|
|
3119
|
+
metadata: Json
|
|
3120
|
+
name: string
|
|
3121
|
+
server_id: string
|
|
3122
|
+
state: Json
|
|
3123
|
+
status: Database["public"]["Enums"]["openclaw_status"]
|
|
3124
|
+
status_reason: string
|
|
3125
|
+
updated_at: string
|
|
3126
|
+
user_id: string
|
|
3127
|
+
}[]
|
|
3128
|
+
}
|
|
3129
|
+
openclaws_request_action: {
|
|
3130
|
+
Args: { p_action: string; p_id: string }
|
|
3131
|
+
Returns: {
|
|
3132
|
+
config: Json
|
|
3133
|
+
created_at: string
|
|
3134
|
+
desired_status: Database["public"]["Enums"]["openclaw_status"]
|
|
3135
|
+
id: string
|
|
3136
|
+
metadata: Json
|
|
3137
|
+
name: string
|
|
3138
|
+
server_id: string
|
|
3139
|
+
state: Json
|
|
3140
|
+
status: Database["public"]["Enums"]["openclaw_status"]
|
|
3141
|
+
status_reason: string
|
|
3142
|
+
updated_at: string
|
|
3143
|
+
user_id: string
|
|
3144
|
+
}[]
|
|
3145
|
+
}
|
|
3146
|
+
openclaws_upsert: {
|
|
3147
|
+
Args: {
|
|
3148
|
+
p_config?: Json
|
|
3149
|
+
p_id?: string
|
|
3150
|
+
p_metadata?: Json
|
|
3151
|
+
p_name?: string
|
|
3152
|
+
}
|
|
3153
|
+
Returns: {
|
|
3154
|
+
config: Json
|
|
3155
|
+
created_at: string
|
|
3156
|
+
desired_status: Database["public"]["Enums"]["openclaw_status"]
|
|
3157
|
+
id: string
|
|
3158
|
+
metadata: Json
|
|
3159
|
+
name: string
|
|
3160
|
+
server_id: string
|
|
3161
|
+
state: Json
|
|
3162
|
+
status: Database["public"]["Enums"]["openclaw_status"]
|
|
3163
|
+
status_reason: string
|
|
3164
|
+
updated_at: string
|
|
3165
|
+
user_id: string
|
|
3166
|
+
}[]
|
|
3167
|
+
}
|
|
2841
3168
|
outreach_process_pending_tasks: {
|
|
2842
3169
|
Args: { p_campaign_id?: string; p_limit?: number }
|
|
2843
3170
|
Returns: number
|
|
2844
3171
|
}
|
|
3172
|
+
outreach_process_pending_tasks_sync: {
|
|
3173
|
+
Args: { p_campaign_id?: string; p_limit?: number }
|
|
3174
|
+
Returns: number
|
|
3175
|
+
}
|
|
2845
3176
|
outreach_retry_failed_tasks: {
|
|
2846
3177
|
Args: { p_campaign_id?: string }
|
|
2847
3178
|
Returns: number
|
|
@@ -2853,34 +3184,51 @@ export type Database = {
|
|
|
2853
3184
|
p_offset?: number
|
|
2854
3185
|
p_status?: string
|
|
2855
3186
|
}
|
|
2856
|
-
Returns:
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
3187
|
+
Returns: {
|
|
3188
|
+
campaign_id: string
|
|
3189
|
+
cloud_account_id: string
|
|
3190
|
+
contact_id: string
|
|
3191
|
+
created_at: string
|
|
3192
|
+
error_message: string
|
|
3193
|
+
executed_at: string
|
|
3194
|
+
id: string
|
|
3195
|
+
metadata: Json
|
|
3196
|
+
priority: number
|
|
3197
|
+
retry_count: number
|
|
3198
|
+
scheduled_at: string
|
|
3199
|
+
status: string
|
|
3200
|
+
updated_at: string
|
|
3201
|
+
user_id: string
|
|
3202
|
+
}[]
|
|
2863
3203
|
}
|
|
2864
3204
|
proxy_delete: { Args: { p_id: string }; Returns: boolean }
|
|
2865
3205
|
proxy_get: {
|
|
2866
3206
|
Args: { p_id: string }
|
|
2867
|
-
Returns:
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
3207
|
+
Returns: {
|
|
3208
|
+
created_at: string
|
|
3209
|
+
description: string
|
|
3210
|
+
enabled: boolean
|
|
3211
|
+
id: string
|
|
3212
|
+
name: string
|
|
3213
|
+
type: string
|
|
3214
|
+
updated_at: string
|
|
3215
|
+
url: string
|
|
3216
|
+
user_id: string
|
|
3217
|
+
}[]
|
|
2874
3218
|
}
|
|
2875
3219
|
proxy_list: {
|
|
2876
3220
|
Args: { p_kw?: string; p_page_no?: number; p_page_size?: number }
|
|
2877
|
-
Returns:
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
3221
|
+
Returns: {
|
|
3222
|
+
created_at: string
|
|
3223
|
+
description: string
|
|
3224
|
+
enabled: boolean
|
|
3225
|
+
id: string
|
|
3226
|
+
name: string
|
|
3227
|
+
type: string
|
|
3228
|
+
updated_at: string
|
|
3229
|
+
url: string
|
|
3230
|
+
user_id: string
|
|
3231
|
+
}[]
|
|
2884
3232
|
}
|
|
2885
3233
|
proxy_upsert: {
|
|
2886
3234
|
Args: {
|
|
@@ -2891,13 +3239,17 @@ export type Database = {
|
|
|
2891
3239
|
p_type: string
|
|
2892
3240
|
p_url: string
|
|
2893
3241
|
}
|
|
2894
|
-
Returns:
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
3242
|
+
Returns: {
|
|
3243
|
+
created_at: string
|
|
3244
|
+
description: string
|
|
3245
|
+
enabled: boolean
|
|
3246
|
+
id: string
|
|
3247
|
+
name: string
|
|
3248
|
+
type: string
|
|
3249
|
+
updated_at: string
|
|
3250
|
+
url: string
|
|
3251
|
+
user_id: string
|
|
3252
|
+
}[]
|
|
2901
3253
|
}
|
|
2902
3254
|
resource_delete: { Args: { p_resource_id: string }; Returns: undefined }
|
|
2903
3255
|
resource_get: { Args: { p_resource_id: string }; Returns: Json }
|
|
@@ -2927,11 +3279,6 @@ export type Database = {
|
|
|
2927
3279
|
p_title?: string
|
|
2928
3280
|
p_type?: string
|
|
2929
3281
|
}
|
|
2930
|
-
Returns: string
|
|
2931
|
-
}
|
|
2932
|
-
sandbox_find_active: { Args: never; Returns: Json }
|
|
2933
|
-
sandbox_get: {
|
|
2934
|
-
Args: { resource_id?: string }
|
|
2935
3282
|
Returns: {
|
|
2936
3283
|
created_at: string
|
|
2937
3284
|
data: Json | null
|
|
@@ -2954,76 +3301,82 @@ export type Database = {
|
|
|
2954
3301
|
isSetofReturn: true
|
|
2955
3302
|
}
|
|
2956
3303
|
}
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
from: "*"
|
|
2962
|
-
to: "bootstrap_result"
|
|
2963
|
-
isOneToOne: false
|
|
2964
|
-
isSetofReturn: true
|
|
2965
|
-
}
|
|
2966
|
-
}
|
|
2967
|
-
server_instance_delete: { Args: { p_id: string }; Returns: undefined }
|
|
2968
|
-
server_instance_get: {
|
|
2969
|
-
Args: { p_id: string }
|
|
2970
|
-
Returns: Database["public"]["CompositeTypes"]["server_instance_record"][]
|
|
2971
|
-
SetofOptions: {
|
|
2972
|
-
from: "*"
|
|
2973
|
-
to: "server_instance_record"
|
|
2974
|
-
isOneToOne: false
|
|
2975
|
-
isSetofReturn: true
|
|
2976
|
-
}
|
|
3304
|
+
sandbox_find_active: { Args: never; Returns: Json }
|
|
3305
|
+
script_exec: {
|
|
3306
|
+
Args: { p_options?: Json; p_script: Json; p_server_id: string }
|
|
3307
|
+
Returns: Json
|
|
2977
3308
|
}
|
|
2978
|
-
|
|
3309
|
+
script_get_content: {
|
|
3310
|
+
Args: { p_file_path: string; p_git_ref?: string }
|
|
3311
|
+
Returns: string
|
|
3312
|
+
}
|
|
3313
|
+
server_delete: {
|
|
3314
|
+
Args: { p_id: string; p_shutdown_gracefully?: boolean }
|
|
3315
|
+
Returns: Json
|
|
3316
|
+
}
|
|
3317
|
+
server_get: {
|
|
3318
|
+
Args: { p_server_id?: string }
|
|
3319
|
+
Returns: {
|
|
3320
|
+
config: Json
|
|
3321
|
+
created_at: string
|
|
3322
|
+
id: string
|
|
3323
|
+
state: Json
|
|
3324
|
+
updated_at: string
|
|
3325
|
+
}[]
|
|
3326
|
+
}
|
|
3327
|
+
server_list_cursor: {
|
|
2979
3328
|
Args: {
|
|
2980
3329
|
p_cursor_id?: string
|
|
2981
|
-
p_cursor_is_shared?: boolean
|
|
2982
3330
|
p_cursor_updated_at?: string
|
|
2983
|
-
p_is_shared?: boolean
|
|
2984
|
-
p_kw?: string
|
|
2985
3331
|
p_limit?: number
|
|
2986
|
-
|
|
3332
|
+
p_search?: string
|
|
2987
3333
|
}
|
|
2988
|
-
Returns:
|
|
3334
|
+
Returns: {
|
|
3335
|
+
config: Json | null
|
|
3336
|
+
created_at: string
|
|
3337
|
+
id: string
|
|
3338
|
+
state: Json | null
|
|
3339
|
+
updated_at: string
|
|
3340
|
+
}[]
|
|
2989
3341
|
SetofOptions: {
|
|
2990
3342
|
from: "*"
|
|
2991
|
-
to: "
|
|
3343
|
+
to: "servers"
|
|
2992
3344
|
isOneToOne: false
|
|
2993
3345
|
isSetofReturn: true
|
|
2994
3346
|
}
|
|
2995
3347
|
}
|
|
2996
|
-
|
|
2997
|
-
Args: {
|
|
2998
|
-
Returns:
|
|
3348
|
+
server_mark_offline: {
|
|
3349
|
+
Args: { p_reason?: string; p_server_id: string; p_source?: string }
|
|
3350
|
+
Returns: Json
|
|
2999
3351
|
}
|
|
3000
|
-
|
|
3352
|
+
server_status_apply_callback: {
|
|
3353
|
+
Args: { p_callback_token: string; p_payload: Json; p_server_id: string }
|
|
3354
|
+
Returns: Json
|
|
3355
|
+
}
|
|
3356
|
+
server_status_merge: {
|
|
3357
|
+
Args: { p_current_state: Json; p_fact: Json }
|
|
3358
|
+
Returns: Json
|
|
3359
|
+
}
|
|
3360
|
+
server_status_reconcile: { Args: { p_server_id: string }; Returns: Json }
|
|
3361
|
+
server_status_reconcile_due: {
|
|
3362
|
+
Args: { p_limit?: number }
|
|
3363
|
+
Returns: number
|
|
3364
|
+
}
|
|
3365
|
+
server_tunnel_sync: { Args: { p_server_id: string }; Returns: undefined }
|
|
3366
|
+
server_upsert: {
|
|
3001
3367
|
Args: {
|
|
3368
|
+
p_compute_node_id?: string
|
|
3002
3369
|
p_config?: Json
|
|
3003
3370
|
p_id?: string
|
|
3004
|
-
p_is_public?: boolean
|
|
3005
|
-
p_is_shared?: boolean
|
|
3006
|
-
p_name?: string
|
|
3007
3371
|
p_state?: Json
|
|
3008
|
-
p_status?: Database["public"]["Enums"]["server_status"]
|
|
3009
|
-
}
|
|
3010
|
-
Returns: Database["public"]["CompositeTypes"]["server_instance_record"][]
|
|
3011
|
-
SetofOptions: {
|
|
3012
|
-
from: "*"
|
|
3013
|
-
to: "server_instance_record"
|
|
3014
|
-
isOneToOne: false
|
|
3015
|
-
isSetofReturn: true
|
|
3016
|
-
}
|
|
3017
|
-
}
|
|
3018
|
-
service_health_summary: {
|
|
3019
|
-
Args: never
|
|
3020
|
-
Returns: Database["public"]["CompositeTypes"]["service_health_record"][]
|
|
3021
|
-
SetofOptions: {
|
|
3022
|
-
from: "*"
|
|
3023
|
-
to: "service_health_record"
|
|
3024
|
-
isOneToOne: false
|
|
3025
|
-
isSetofReturn: true
|
|
3026
3372
|
}
|
|
3373
|
+
Returns: {
|
|
3374
|
+
config: Json
|
|
3375
|
+
created_at: string
|
|
3376
|
+
id: string
|
|
3377
|
+
state: Json
|
|
3378
|
+
updated_at: string
|
|
3379
|
+
}[]
|
|
3027
3380
|
}
|
|
3028
3381
|
sys_config_get: { Args: { p_key: string }; Returns: Json }
|
|
3029
3382
|
sys_config_set: {
|
|
@@ -3043,33 +3396,6 @@ export type Database = {
|
|
|
3043
3396
|
}
|
|
3044
3397
|
Returns: string
|
|
3045
3398
|
}
|
|
3046
|
-
sys_get_db_schema: {
|
|
3047
|
-
Args: {
|
|
3048
|
-
p_excluded_tables?: string[]
|
|
3049
|
-
p_include_comments?: boolean
|
|
3050
|
-
p_include_functions?: boolean
|
|
3051
|
-
}
|
|
3052
|
-
Returns: string
|
|
3053
|
-
}
|
|
3054
|
-
sys_init_queue: { Args: { name: string }; Returns: undefined }
|
|
3055
|
-
sys_log_list: {
|
|
3056
|
-
Args: {
|
|
3057
|
-
p_cursor?: string
|
|
3058
|
-
p_event_type?: string
|
|
3059
|
-
p_level_max?: Database["public"]["Enums"]["sys_log_level"]
|
|
3060
|
-
p_limit?: number
|
|
3061
|
-
p_module?: string
|
|
3062
|
-
p_resource_id?: string
|
|
3063
|
-
p_resource_type?: string
|
|
3064
|
-
}
|
|
3065
|
-
Returns: Database["public"]["CompositeTypes"]["sys_log_record"][]
|
|
3066
|
-
SetofOptions: {
|
|
3067
|
-
from: "*"
|
|
3068
|
-
to: "sys_log_record"
|
|
3069
|
-
isOneToOne: false
|
|
3070
|
-
isSetofReturn: true
|
|
3071
|
-
}
|
|
3072
|
-
}
|
|
3073
3399
|
sys_log_validate_meta: {
|
|
3074
3400
|
Args: { p_event_type: string; p_meta: Json }
|
|
3075
3401
|
Returns: boolean
|
|
@@ -3078,6 +3404,10 @@ export type Database = {
|
|
|
3078
3404
|
Args: { p_retention_days?: number }
|
|
3079
3405
|
Returns: undefined
|
|
3080
3406
|
}
|
|
3407
|
+
system_cleanup: {
|
|
3408
|
+
Args: { p_dry_run?: boolean; p_policy_name?: string }
|
|
3409
|
+
Returns: Json
|
|
3410
|
+
}
|
|
3081
3411
|
system_config_public_delete: {
|
|
3082
3412
|
Args: { p_key: string }
|
|
3083
3413
|
Returns: undefined
|
|
@@ -3106,23 +3436,27 @@ export type Database = {
|
|
|
3106
3436
|
tag_delete: { Args: { p_id: string }; Returns: boolean }
|
|
3107
3437
|
tag_list: {
|
|
3108
3438
|
Args: never
|
|
3109
|
-
Returns:
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3439
|
+
Returns: {
|
|
3440
|
+
color: string
|
|
3441
|
+
created_at: string
|
|
3442
|
+
id: string
|
|
3443
|
+
instance_count: number
|
|
3444
|
+
name: string
|
|
3445
|
+
updated_at: string
|
|
3446
|
+
user_id: string
|
|
3447
|
+
}[]
|
|
3116
3448
|
}
|
|
3117
3449
|
tag_upsert: {
|
|
3118
3450
|
Args: { p_color?: string; p_id?: string; p_name?: string }
|
|
3119
|
-
Returns:
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3451
|
+
Returns: {
|
|
3452
|
+
color: string
|
|
3453
|
+
created_at: string
|
|
3454
|
+
id: string
|
|
3455
|
+
instance_count: number
|
|
3456
|
+
name: string
|
|
3457
|
+
updated_at: string
|
|
3458
|
+
user_id: string
|
|
3459
|
+
}[]
|
|
3126
3460
|
}
|
|
3127
3461
|
task_ack: { Args: { p_msg_id: number }; Returns: undefined }
|
|
3128
3462
|
task_attempt_dispatch: {
|
|
@@ -3492,15 +3826,51 @@ export type Database = {
|
|
|
3492
3826
|
}
|
|
3493
3827
|
telegram_login_start: {
|
|
3494
3828
|
Args: { p_account_id: string; p_use_sms?: boolean }
|
|
3495
|
-
Returns:
|
|
3829
|
+
Returns: Database["public"]["CompositeTypes"]["telegram_login_response"][]
|
|
3830
|
+
SetofOptions: {
|
|
3831
|
+
from: "*"
|
|
3832
|
+
to: "telegram_login_response"
|
|
3833
|
+
isOneToOne: false
|
|
3834
|
+
isSetofReturn: true
|
|
3835
|
+
}
|
|
3496
3836
|
}
|
|
3497
|
-
|
|
3498
|
-
Args: {
|
|
3837
|
+
telegram_login_step_process: {
|
|
3838
|
+
Args: {
|
|
3839
|
+
p_account_id: string
|
|
3840
|
+
p_body: Json
|
|
3841
|
+
p_step: string
|
|
3842
|
+
p_success: boolean
|
|
3843
|
+
}
|
|
3499
3844
|
Returns: undefined
|
|
3500
3845
|
}
|
|
3501
3846
|
telegram_login_submit_code: {
|
|
3502
3847
|
Args: { p_account_id: string; p_code: string }
|
|
3503
|
-
Returns:
|
|
3848
|
+
Returns: Database["public"]["CompositeTypes"]["telegram_login_response"][]
|
|
3849
|
+
SetofOptions: {
|
|
3850
|
+
from: "*"
|
|
3851
|
+
to: "telegram_login_response"
|
|
3852
|
+
isOneToOne: false
|
|
3853
|
+
isSetofReturn: true
|
|
3854
|
+
}
|
|
3855
|
+
}
|
|
3856
|
+
telegram_login_submit_two_fa: {
|
|
3857
|
+
Args: { p_account_id: string; p_password: string }
|
|
3858
|
+
Returns: Database["public"]["CompositeTypes"]["telegram_login_response"][]
|
|
3859
|
+
SetofOptions: {
|
|
3860
|
+
from: "*"
|
|
3861
|
+
to: "telegram_login_response"
|
|
3862
|
+
isOneToOne: false
|
|
3863
|
+
isSetofReturn: true
|
|
3864
|
+
}
|
|
3865
|
+
}
|
|
3866
|
+
telegram_server_post: {
|
|
3867
|
+
Args: {
|
|
3868
|
+
p_body: Json
|
|
3869
|
+
p_path: string
|
|
3870
|
+
p_preferred_server_id: string
|
|
3871
|
+
p_timeout?: string
|
|
3872
|
+
}
|
|
3873
|
+
Returns: Json
|
|
3504
3874
|
}
|
|
3505
3875
|
traffic_log_delete: { Args: never; Returns: undefined }
|
|
3506
3876
|
traffic_log_insert: { Args: { p_logs: Json }; Returns: undefined }
|
|
@@ -3541,26 +3911,6 @@ export type Database = {
|
|
|
3541
3911
|
Returns: string
|
|
3542
3912
|
}
|
|
3543
3913
|
user_delete: { Args: { p_user_id: string }; Returns: undefined }
|
|
3544
|
-
user_log_list: {
|
|
3545
|
-
Args: { p_page?: number; p_page_size?: number }
|
|
3546
|
-
Returns: {
|
|
3547
|
-
content: string | null
|
|
3548
|
-
created_at: string | null
|
|
3549
|
-
event_type: string
|
|
3550
|
-
id: string
|
|
3551
|
-
level: string
|
|
3552
|
-
meta: Json | null
|
|
3553
|
-
resource_id: string | null
|
|
3554
|
-
resource_type: string | null
|
|
3555
|
-
user_id: string
|
|
3556
|
-
}[]
|
|
3557
|
-
SetofOptions: {
|
|
3558
|
-
from: "*"
|
|
3559
|
-
to: "user_logs"
|
|
3560
|
-
isOneToOne: false
|
|
3561
|
-
isSetofReturn: true
|
|
3562
|
-
}
|
|
3563
|
-
}
|
|
3564
3914
|
user_log_record: {
|
|
3565
3915
|
Args: {
|
|
3566
3916
|
p_content: string
|
|
@@ -3579,10 +3929,17 @@ export type Database = {
|
|
|
3579
3929
|
}
|
|
3580
3930
|
user_profile_get: {
|
|
3581
3931
|
Args: never
|
|
3582
|
-
Returns:
|
|
3932
|
+
Returns: {
|
|
3933
|
+
avatar_url: string | null
|
|
3934
|
+
full_name: string | null
|
|
3935
|
+
id: string
|
|
3936
|
+
updated_at: string | null
|
|
3937
|
+
username: string | null
|
|
3938
|
+
website: string | null
|
|
3939
|
+
}[]
|
|
3583
3940
|
SetofOptions: {
|
|
3584
3941
|
from: "*"
|
|
3585
|
-
to: "
|
|
3942
|
+
to: "profiles"
|
|
3586
3943
|
isOneToOne: false
|
|
3587
3944
|
isSetofReturn: true
|
|
3588
3945
|
}
|
|
@@ -3601,12 +3958,12 @@ export type Database = {
|
|
|
3601
3958
|
updated_at: string | null
|
|
3602
3959
|
username: string | null
|
|
3603
3960
|
website: string | null
|
|
3604
|
-
}
|
|
3961
|
+
}[]
|
|
3605
3962
|
SetofOptions: {
|
|
3606
3963
|
from: "*"
|
|
3607
3964
|
to: "profiles"
|
|
3608
|
-
isOneToOne:
|
|
3609
|
-
isSetofReturn:
|
|
3965
|
+
isOneToOne: false
|
|
3966
|
+
isSetofReturn: true
|
|
3610
3967
|
}
|
|
3611
3968
|
}
|
|
3612
3969
|
user_role_delete: {
|
|
@@ -3641,8 +3998,15 @@ export type Database = {
|
|
|
3641
3998
|
| "quota_exceeded"
|
|
3642
3999
|
| "suspended"
|
|
3643
4000
|
| "disabled"
|
|
3644
|
-
|
|
3645
|
-
|
|
4001
|
+
openclaw_status:
|
|
4002
|
+
| "disabled"
|
|
4003
|
+
| "pending"
|
|
4004
|
+
| "starting"
|
|
4005
|
+
| "running"
|
|
4006
|
+
| "stopping"
|
|
4007
|
+
| "stopped"
|
|
4008
|
+
| "error"
|
|
4009
|
+
| "migrating"
|
|
3646
4010
|
sys_log_level: "error" | "warn" | "info"
|
|
3647
4011
|
task_code_type: "sql" | "bash" | "python" | "agent" | "javascript"
|
|
3648
4012
|
task_status:
|
|
@@ -3654,6 +4018,13 @@ export type Database = {
|
|
|
3654
4018
|
| "failed"
|
|
3655
4019
|
| "cancelled"
|
|
3656
4020
|
| "paused"
|
|
4021
|
+
telegram_login_state:
|
|
4022
|
+
| "idle"
|
|
4023
|
+
| "wait_code"
|
|
4024
|
+
| "need_2fa"
|
|
4025
|
+
| "wait_password"
|
|
4026
|
+
| "success"
|
|
4027
|
+
| "failed"
|
|
3657
4028
|
telegram_login_step:
|
|
3658
4029
|
| "pending"
|
|
3659
4030
|
| "send_code"
|
|
@@ -3665,72 +4036,12 @@ export type Database = {
|
|
|
3665
4036
|
| "fetch_info"
|
|
3666
4037
|
}
|
|
3667
4038
|
CompositeTypes: {
|
|
3668
|
-
adk_artifact_key_record: {
|
|
3669
|
-
filename: string | null
|
|
3670
|
-
}
|
|
3671
|
-
adk_artifact_meta_record: {
|
|
3672
|
-
version: number | null
|
|
3673
|
-
canonical_uri: string | null
|
|
3674
|
-
custom_metadata: Json | null
|
|
3675
|
-
create_time: number | null
|
|
3676
|
-
mime_type: string | null
|
|
3677
|
-
}
|
|
3678
|
-
audit_project_record: {
|
|
3679
|
-
id: string | null
|
|
3680
|
-
created_at: string | null
|
|
3681
|
-
updated_at: string | null
|
|
3682
|
-
user_id: string | null
|
|
3683
|
-
name: string | null
|
|
3684
|
-
target: string | null
|
|
3685
|
-
repo_url: string | null
|
|
3686
|
-
repo_branch: string | null
|
|
3687
|
-
config: Json | null
|
|
3688
|
-
worker_id: string | null
|
|
3689
|
-
}
|
|
3690
4039
|
audit_project_stats_record: {
|
|
3691
4040
|
asset_count: number | null
|
|
3692
4041
|
finding_count: number | null
|
|
3693
4042
|
high_risk_count: number | null
|
|
3694
4043
|
task_count: number | null
|
|
3695
4044
|
}
|
|
3696
|
-
bootstrap_result: {
|
|
3697
|
-
success: boolean | null
|
|
3698
|
-
error: string | null
|
|
3699
|
-
config: Json | null
|
|
3700
|
-
}
|
|
3701
|
-
browser_record: {
|
|
3702
|
-
id: string | null
|
|
3703
|
-
created_at: string | null
|
|
3704
|
-
updated_at: string | null
|
|
3705
|
-
title: string | null
|
|
3706
|
-
description: string | null
|
|
3707
|
-
profile_id: string | null
|
|
3708
|
-
provider: string | null
|
|
3709
|
-
provider_config: Json | null
|
|
3710
|
-
config: Json | null
|
|
3711
|
-
sandbox_id: string | null
|
|
3712
|
-
vnc_url: string | null
|
|
3713
|
-
browser_api_url: string | null
|
|
3714
|
-
worker_name: string | null
|
|
3715
|
-
is_running: boolean | null
|
|
3716
|
-
}
|
|
3717
|
-
campaign_record: {
|
|
3718
|
-
id: string | null
|
|
3719
|
-
created_at: string | null
|
|
3720
|
-
updated_at: string | null
|
|
3721
|
-
started_at: string | null
|
|
3722
|
-
completed_at: string | null
|
|
3723
|
-
user_id: string | null
|
|
3724
|
-
name: string | null
|
|
3725
|
-
description: string | null
|
|
3726
|
-
platform: string | null
|
|
3727
|
-
status: string | null
|
|
3728
|
-
config: Json | null
|
|
3729
|
-
message_template: string | null
|
|
3730
|
-
target_filter: Json | null
|
|
3731
|
-
schedule: Json | null
|
|
3732
|
-
stats: Json | null
|
|
3733
|
-
}
|
|
3734
4045
|
cloud_account_record: {
|
|
3735
4046
|
id: string | null
|
|
3736
4047
|
created_at: string | null
|
|
@@ -3756,98 +4067,23 @@ export type Database = {
|
|
|
3756
4067
|
device_history: Json[] | null
|
|
3757
4068
|
credentials: Json | null
|
|
3758
4069
|
}
|
|
3759
|
-
compute_node_list_record: {
|
|
3760
|
-
id: string | null
|
|
3761
|
-
user_id: string | null
|
|
3762
|
-
name: string | null
|
|
3763
|
-
provider: string | null
|
|
3764
|
-
host: string | null
|
|
3765
|
-
port: number | null
|
|
3766
|
-
username: string | null
|
|
3767
|
-
auth_secret: string | null
|
|
3768
|
-
status: Database["public"]["Enums"]["compute_node_status"] | null
|
|
3769
|
-
worker_count: number | null
|
|
3770
|
-
updated_at: string | null
|
|
3771
|
-
is_public: boolean | null
|
|
3772
|
-
created_at: string | null
|
|
3773
|
-
full_count: number | null
|
|
3774
|
-
}
|
|
3775
|
-
compute_node_record: {
|
|
3776
|
-
id: string | null
|
|
3777
|
-
user_id: string | null
|
|
3778
|
-
name: string | null
|
|
3779
|
-
provider: string | null
|
|
3780
|
-
host: string | null
|
|
3781
|
-
port: number | null
|
|
3782
|
-
username: string | null
|
|
3783
|
-
auth_secret: string | null
|
|
3784
|
-
status: Database["public"]["Enums"]["compute_node_status"] | null
|
|
3785
|
-
worker_count: number | null
|
|
3786
|
-
updated_at: string | null
|
|
3787
|
-
is_public: boolean | null
|
|
3788
|
-
created_at: string | null
|
|
3789
|
-
}
|
|
3790
|
-
compute_node_secret_record: {
|
|
3791
|
-
host: string | null
|
|
3792
|
-
port: number | null
|
|
3793
|
-
username: string | null
|
|
3794
|
-
auth_secret: string | null
|
|
3795
|
-
}
|
|
3796
|
-
contact_record: {
|
|
3797
|
-
id: string | null
|
|
3798
|
-
created_at: string | null
|
|
3799
|
-
updated_at: string | null
|
|
3800
|
-
user_id: string | null
|
|
3801
|
-
name: string | null
|
|
3802
|
-
phone: string | null
|
|
3803
|
-
telegram_id: number | null
|
|
3804
|
-
telegram_username: string | null
|
|
3805
|
-
email: string | null
|
|
3806
|
-
platform: string | null
|
|
3807
|
-
source: string | null
|
|
3808
|
-
tags: string[] | null
|
|
3809
|
-
status: string | null
|
|
3810
|
-
metadata: Json | null
|
|
3811
|
-
}
|
|
3812
|
-
dba_lint_issue: {
|
|
3813
|
-
object_type: string | null
|
|
3814
|
-
object_name: string | null
|
|
3815
|
-
issue_category: string | null
|
|
3816
|
-
issue: string | null
|
|
3817
|
-
suggestion: string | null
|
|
3818
|
-
severity: string | null
|
|
3819
|
-
}
|
|
3820
4070
|
job_queue_dlq_record: {
|
|
3821
4071
|
msg_id: number | null
|
|
3822
4072
|
read_ct: number | null
|
|
3823
4073
|
enqueued_at: string | null
|
|
3824
4074
|
message: Json | null
|
|
3825
4075
|
}
|
|
3826
|
-
|
|
3827
|
-
id: string | null
|
|
3828
|
-
created_at: string | null
|
|
3829
|
-
updated_at: string | null
|
|
3830
|
-
user_id: string | null
|
|
3831
|
-
campaign_id: string | null
|
|
3832
|
-
contact_id: string | null
|
|
3833
|
-
cloud_account_id: string | null
|
|
3834
|
-
status: string | null
|
|
3835
|
-
priority: number | null
|
|
3836
|
-
scheduled_at: string | null
|
|
3837
|
-
executed_at: string | null
|
|
3838
|
-
retry_count: number | null
|
|
3839
|
-
error_message: string | null
|
|
3840
|
-
metadata: Json | null
|
|
3841
|
-
}
|
|
3842
|
-
proxy_record: {
|
|
4076
|
+
log_unified_record: {
|
|
3843
4077
|
id: string | null
|
|
4078
|
+
source: string | null
|
|
3844
4079
|
created_at: string | null
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
4080
|
+
event_type: string | null
|
|
4081
|
+
level: string | null
|
|
4082
|
+
module: string | null
|
|
4083
|
+
content: string | null
|
|
4084
|
+
meta: Json | null
|
|
4085
|
+
resource_type: string | null
|
|
4086
|
+
resource_id: string | null
|
|
3851
4087
|
user_id: string | null
|
|
3852
4088
|
}
|
|
3853
4089
|
resource_list_record: {
|
|
@@ -3860,73 +4096,12 @@ export type Database = {
|
|
|
3860
4096
|
url: string | null
|
|
3861
4097
|
updated_at: string | null
|
|
3862
4098
|
}
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
is_public: boolean | null
|
|
3870
|
-
state: Json | null
|
|
3871
|
-
created_at: string | null
|
|
3872
|
-
user_id: string | null
|
|
3873
|
-
is_shared: boolean | null
|
|
3874
|
-
}
|
|
3875
|
-
service_health_record: {
|
|
3876
|
-
module: string | null
|
|
3877
|
-
status: string | null
|
|
3878
|
-
last_error_at: string | null
|
|
3879
|
-
last_error_message: string | null
|
|
3880
|
-
error_count_24h: number | null
|
|
3881
|
-
}
|
|
3882
|
-
sys_log_record: {
|
|
3883
|
-
id: number | null
|
|
3884
|
-
created_at: string | null
|
|
3885
|
-
text: string | null
|
|
3886
|
-
level: Database["public"]["Enums"]["sys_log_level"] | null
|
|
3887
|
-
module: string | null
|
|
3888
|
-
event_type: string | null
|
|
3889
|
-
meta: Json | null
|
|
3890
|
-
resource_type: string | null
|
|
3891
|
-
resource_id: string | null
|
|
3892
|
-
resource_name: string | null
|
|
3893
|
-
user_id: string | null
|
|
3894
|
-
}
|
|
3895
|
-
tag_record: {
|
|
3896
|
-
id: string | null
|
|
3897
|
-
name: string | null
|
|
3898
|
-
color: string | null
|
|
3899
|
-
user_id: string | null
|
|
3900
|
-
created_at: string | null
|
|
3901
|
-
updated_at: string | null
|
|
3902
|
-
instance_count: number | null
|
|
3903
|
-
}
|
|
3904
|
-
user_notification_record: {
|
|
3905
|
-
id: string | null
|
|
3906
|
-
created_at: string | null
|
|
3907
|
-
updated_at: string | null
|
|
3908
|
-
user_id: string | null
|
|
3909
|
-
title: string | null
|
|
3910
|
-
message: string | null
|
|
3911
|
-
notification_type: string | null
|
|
3912
|
-
priority: string | null
|
|
3913
|
-
source_type: string | null
|
|
3914
|
-
source_id: string | null
|
|
3915
|
-
action_type: string | null
|
|
3916
|
-
action_payload: Json | null
|
|
3917
|
-
action_completed_at: string | null
|
|
3918
|
-
is_read: boolean | null
|
|
3919
|
-
read_at: string | null
|
|
3920
|
-
dismissed_at: string | null
|
|
3921
|
-
expires_at: string | null
|
|
3922
|
-
}
|
|
3923
|
-
user_profile_record: {
|
|
3924
|
-
id: string | null
|
|
3925
|
-
full_name: string | null
|
|
3926
|
-
username: string | null
|
|
3927
|
-
website: string | null
|
|
3928
|
-
avatar_url: string | null
|
|
3929
|
-
updated_at: string | null
|
|
4099
|
+
telegram_login_response: {
|
|
4100
|
+
success: boolean | null
|
|
4101
|
+
step: string | null
|
|
4102
|
+
timeout_seconds: number | null
|
|
4103
|
+
error_message: string | null
|
|
4104
|
+
user_info: Json | null
|
|
3930
4105
|
}
|
|
3931
4106
|
}
|
|
3932
4107
|
}
|
|
@@ -4068,8 +4243,16 @@ export const Constants = {
|
|
|
4068
4243
|
"suspended",
|
|
4069
4244
|
"disabled",
|
|
4070
4245
|
],
|
|
4071
|
-
|
|
4072
|
-
|
|
4246
|
+
openclaw_status: [
|
|
4247
|
+
"disabled",
|
|
4248
|
+
"pending",
|
|
4249
|
+
"starting",
|
|
4250
|
+
"running",
|
|
4251
|
+
"stopping",
|
|
4252
|
+
"stopped",
|
|
4253
|
+
"error",
|
|
4254
|
+
"migrating",
|
|
4255
|
+
],
|
|
4073
4256
|
sys_log_level: ["error", "warn", "info"],
|
|
4074
4257
|
task_code_type: ["sql", "bash", "python", "agent", "javascript"],
|
|
4075
4258
|
task_status: [
|
|
@@ -4082,6 +4265,14 @@ export const Constants = {
|
|
|
4082
4265
|
"cancelled",
|
|
4083
4266
|
"paused",
|
|
4084
4267
|
],
|
|
4268
|
+
telegram_login_state: [
|
|
4269
|
+
"idle",
|
|
4270
|
+
"wait_code",
|
|
4271
|
+
"need_2fa",
|
|
4272
|
+
"wait_password",
|
|
4273
|
+
"success",
|
|
4274
|
+
"failed",
|
|
4275
|
+
],
|
|
4085
4276
|
telegram_login_step: [
|
|
4086
4277
|
"pending",
|
|
4087
4278
|
"send_code",
|
|
@@ -4095,4 +4286,3 @@ export const Constants = {
|
|
|
4095
4286
|
},
|
|
4096
4287
|
},
|
|
4097
4288
|
} as const
|
|
4098
|
-
|