mtmsdk 0.0.46 → 0.0.47
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 +45 -45
- package/dist/gomtmapi/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/gomtmapi/@tanstack/react-query.gen.js +69 -69
- 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 +91 -52
- package/dist/gomtmapi/schemas.gen.d.ts.map +1 -1
- package/dist/gomtmapi/schemas.gen.js +91 -56
- package/dist/gomtmapi/schemas.gen.js.map +1 -1
- package/dist/gomtmapi/sdk.gen.d.ts +41 -41
- package/dist/gomtmapi/sdk.gen.d.ts.map +1 -1
- package/dist/gomtmapi/sdk.gen.js +55 -55
- package/dist/gomtmapi/sdk.gen.js.map +1 -1
- package/dist/gomtmapi/types.gen.d.ts +120 -131
- package/dist/gomtmapi/types.gen.d.ts.map +1 -1
- package/dist/gomtmapi/zod.gen.d.ts +96 -74
- package/dist/gomtmapi/zod.gen.d.ts.map +1 -1
- package/dist/gomtmapi/zod.gen.js +67 -58
- package/dist/gomtmapi/zod.gen.js.map +1 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts +4 -101
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.js +1 -14
- 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/schemas.gen.d.ts +0 -31
- package/dist/mtgate_api/schemas.gen.d.ts.map +1 -1
- package/dist/mtgate_api/schemas.gen.js +0 -46
- package/dist/mtgate_api/schemas.gen.js.map +1 -1
- package/dist/mtgate_api/sdk.gen.d.ts +1 -2
- package/dist/mtgate_api/sdk.gen.d.ts.map +1 -1
- package/dist/mtgate_api/sdk.gen.js +0 -1
- package/dist/mtgate_api/sdk.gen.js.map +1 -1
- package/dist/mtgate_api/types.gen.d.ts +1 -73
- package/dist/mtgate_api/types.gen.d.ts.map +1 -1
- package/dist/mtgate_api/zod.gen.d.ts +0 -77
- package/dist/mtgate_api/zod.gen.d.ts.map +1 -1
- package/dist/mtgate_api/zod.gen.js +0 -47
- package/dist/mtgate_api/zod.gen.js.map +1 -1
- package/dist/openclaw/gateway.d.ts.map +1 -1
- package/dist/openclaw/gateway.js +1 -5
- package/dist/openclaw/gateway.js.map +1 -1
- package/dist/sbmng/schemas.gen.d.ts +15 -2
- package/dist/sbmng/schemas.gen.d.ts.map +1 -1
- package/dist/sbmng/schemas.gen.js +55 -2
- package/dist/sbmng/schemas.gen.js.map +1 -1
- package/dist/sbmng/types.gen.d.ts +5 -2
- package/dist/sbmng/types.gen.d.ts.map +1 -1
- package/dist/supabase/schema/index.d.ts +0 -9
- package/dist/supabase/schema/index.d.ts.map +1 -1
- package/dist/supabase/schema/index.js +0 -13
- package/dist/supabase/schema/index.js.map +1 -1
- package/dist/supabase/supabase-client.d.ts +985 -739
- package/dist/supabase/supabase-client.d.ts.map +1 -1
- package/dist/supabase/supabase.d.ts +2182 -1689
- package/dist/supabase/supabase.d.ts.map +1 -1
- package/dist/supabase/supabase.js.map +1 -1
- package/dist/types/database.schemas.d.ts +1322 -743
- package/dist/types/database.schemas.d.ts.map +1 -1
- package/dist/types/database.schemas.js +822 -610
- package/dist/types/database.schemas.js.map +1 -1
- package/dist/types/database.types.d.ts +1004 -734
- package/dist/types/database.types.d.ts.map +1 -1
- package/dist/types/database.types.js +16 -1
- package/dist/types/database.types.js.map +1 -1
- package/dist/types/index.d.ts +32 -48
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +0 -25
- package/dist/types/index.js.map +1 -1
- package/dist/types/rpc.schemas.d.ts +1 -13
- package/dist/types/rpc.schemas.d.ts.map +1 -1
- package/dist/types/rpc.schemas.js +7 -21
- package/dist/types/rpc.schemas.js.map +1 -1
- package/package.json +3 -4
- package/src/gomtmapi/@tanstack/react-query.gen.ts +73 -73
- package/src/gomtmapi/index.ts +2 -2
- package/src/gomtmapi/schemas.gen.ts +92 -58
- package/src/gomtmapi/sdk.gen.ts +58 -58
- package/src/gomtmapi/types.gen.ts +131 -143
- package/src/gomtmapi/zod.gen.ts +72 -64
- package/src/mtgate_api/@tanstack/react-query.gen.ts +3 -18
- package/src/mtgate_api/index.ts +2 -2
- package/src/mtgate_api/schemas.gen.ts +0 -47
- package/src/mtgate_api/sdk.gen.ts +1 -3
- package/src/mtgate_api/types.gen.ts +1 -79
- package/src/mtgate_api/zod.gen.ts +0 -52
- package/src/openclaw/gateway.ts +5 -10
- package/src/sbmng/schemas.gen.ts +55 -2
- package/src/sbmng/types.gen.ts +5 -2
- package/src/supabase/schema/index.ts +0 -20
- package/src/supabase/supabase.ts +4 -2
- package/src/types/database.schemas.ts +956 -732
- package/src/types/database.types.ts +977 -707
- package/src/types/index.ts +33 -66
- package/src/types/rpc.schemas.ts +8 -23
- package/dist/sbapi/@tanstack/react-query.gen.d.ts +0 -3280
- package/dist/sbapi/@tanstack/react-query.gen.d.ts.map +0 -1
- package/dist/sbapi/@tanstack/react-query.gen.js +0 -6084
- package/dist/sbapi/@tanstack/react-query.gen.js.map +0 -1
- package/dist/sbapi/client/client.gen.d.ts +0 -3
- package/dist/sbapi/client/client.gen.d.ts.map +0 -1
- package/dist/sbapi/client/client.gen.js +0 -236
- package/dist/sbapi/client/client.gen.js.map +0 -1
- package/dist/sbapi/client/index.d.ts +0 -9
- package/dist/sbapi/client/index.d.ts.map +0 -1
- package/dist/sbapi/client/index.js +0 -7
- package/dist/sbapi/client/index.js.map +0 -1
- package/dist/sbapi/client/types.gen.d.ts +0 -118
- package/dist/sbapi/client/types.gen.d.ts.map +0 -1
- package/dist/sbapi/client/types.gen.js +0 -3
- package/dist/sbapi/client/types.gen.js.map +0 -1
- package/dist/sbapi/client/utils.gen.d.ts +0 -34
- package/dist/sbapi/client/utils.gen.d.ts.map +0 -1
- package/dist/sbapi/client/utils.gen.js +0 -232
- package/dist/sbapi/client/utils.gen.js.map +0 -1
- package/dist/sbapi/client.gen.d.ts +0 -13
- package/dist/sbapi/client.gen.d.ts.map +0 -1
- package/dist/sbapi/client.gen.js +0 -4
- package/dist/sbapi/client.gen.js.map +0 -1
- package/dist/sbapi/core/auth.gen.d.ts +0 -19
- package/dist/sbapi/core/auth.gen.d.ts.map +0 -1
- package/dist/sbapi/core/auth.gen.js +0 -15
- package/dist/sbapi/core/auth.gen.js.map +0 -1
- package/dist/sbapi/core/bodySerializer.gen.d.ts +0 -26
- package/dist/sbapi/core/bodySerializer.gen.d.ts.map +0 -1
- package/dist/sbapi/core/bodySerializer.gen.js +0 -58
- package/dist/sbapi/core/bodySerializer.gen.js.map +0 -1
- package/dist/sbapi/core/params.gen.d.ts +0 -44
- package/dist/sbapi/core/params.gen.d.ts.map +0 -1
- package/dist/sbapi/core/params.gen.js +0 -101
- package/dist/sbapi/core/params.gen.js.map +0 -1
- package/dist/sbapi/core/pathSerializer.gen.d.ts +0 -34
- package/dist/sbapi/core/pathSerializer.gen.d.ts.map +0 -1
- package/dist/sbapi/core/pathSerializer.gen.js +0 -115
- package/dist/sbapi/core/pathSerializer.gen.js.map +0 -1
- package/dist/sbapi/core/queryKeySerializer.gen.d.ts +0 -19
- package/dist/sbapi/core/queryKeySerializer.gen.d.ts.map +0 -1
- package/dist/sbapi/core/queryKeySerializer.gen.js +0 -100
- package/dist/sbapi/core/queryKeySerializer.gen.js.map +0 -1
- package/dist/sbapi/core/serverSentEvents.gen.d.ts +0 -72
- package/dist/sbapi/core/serverSentEvents.gen.d.ts.map +0 -1
- package/dist/sbapi/core/serverSentEvents.gen.js +0 -138
- package/dist/sbapi/core/serverSentEvents.gen.js.map +0 -1
- package/dist/sbapi/core/types.gen.d.ts +0 -79
- package/dist/sbapi/core/types.gen.d.ts.map +0 -1
- package/dist/sbapi/core/types.gen.js +0 -3
- package/dist/sbapi/core/types.gen.js.map +0 -1
- package/dist/sbapi/core/utils.gen.d.ts +0 -20
- package/dist/sbapi/core/utils.gen.d.ts.map +0 -1
- package/dist/sbapi/core/utils.gen.js +0 -88
- package/dist/sbapi/core/utils.gen.js.map +0 -1
- package/dist/sbapi/index.d.ts +0 -3
- package/dist/sbapi/index.d.ts.map +0 -1
- package/dist/sbapi/index.js +0 -3
- package/dist/sbapi/index.js.map +0 -1
- package/dist/sbapi/schemas.gen.d.ts +0 -2322
- package/dist/sbapi/schemas.gen.d.ts.map +0 -1
- package/dist/sbapi/schemas.gen.js +0 -2596
- package/dist/sbapi/schemas.gen.js.map +0 -1
- package/dist/sbapi/sdk.gen.d.ts +0 -834
- package/dist/sbapi/sdk.gen.d.ts.map +0 -1
- package/dist/sbapi/sdk.gen.js +0 -2466
- package/dist/sbapi/sdk.gen.js.map +0 -1
- package/dist/sbapi/types.gen.d.ts +0 -11726
- package/dist/sbapi/types.gen.d.ts.map +0 -1
- package/dist/sbapi/types.gen.js +0 -3
- package/dist/sbapi/types.gen.js.map +0 -1
- package/dist/sbapi/zod.gen.d.ts +0 -8147
- package/dist/sbapi/zod.gen.d.ts.map +0 -1
- package/dist/sbapi/zod.gen.js +0 -6585
- package/dist/sbapi/zod.gen.js.map +0 -1
- package/src/sbapi/@tanstack/react-query.gen.ts +0 -6591
- package/src/sbapi/client/client.gen.ts +0 -311
- package/src/sbapi/client/index.ts +0 -25
- package/src/sbapi/client/types.gen.ts +0 -241
- package/src/sbapi/client/utils.gen.ts +0 -332
- package/src/sbapi/client.gen.ts +0 -16
- package/src/sbapi/core/auth.gen.ts +0 -42
- package/src/sbapi/core/bodySerializer.gen.ts +0 -100
- package/src/sbapi/core/params.gen.ts +0 -176
- package/src/sbapi/core/pathSerializer.gen.ts +0 -181
- package/src/sbapi/core/queryKeySerializer.gen.ts +0 -136
- package/src/sbapi/core/serverSentEvents.gen.ts +0 -266
- package/src/sbapi/core/types.gen.ts +0 -118
- package/src/sbapi/core/utils.gen.ts +0 -143
- package/src/sbapi/index.ts +0 -4
- package/src/sbapi/schemas.gen.ts +0 -2643
- package/src/sbapi/sdk.gen.ts +0 -2822
- package/src/sbapi/types.gen.ts +0 -12503
- package/src/sbapi/zod.gen.ts +0 -7021
|
@@ -2,8 +2,30 @@ export type Json = string | number | boolean | null | {
|
|
|
2
2
|
[key: string]: Json | undefined;
|
|
3
3
|
} | Json[];
|
|
4
4
|
export type Database = {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
graphql_public: {
|
|
6
|
+
Tables: {
|
|
7
|
+
[_ in never]: never;
|
|
8
|
+
};
|
|
9
|
+
Views: {
|
|
10
|
+
[_ in never]: never;
|
|
11
|
+
};
|
|
12
|
+
Functions: {
|
|
13
|
+
graphql: {
|
|
14
|
+
Args: {
|
|
15
|
+
extensions?: Json;
|
|
16
|
+
operationName?: string;
|
|
17
|
+
query?: string;
|
|
18
|
+
variables?: Json;
|
|
19
|
+
};
|
|
20
|
+
Returns: Json;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
Enums: {
|
|
24
|
+
[_ in never]: never;
|
|
25
|
+
};
|
|
26
|
+
CompositeTypes: {
|
|
27
|
+
[_ in never]: never;
|
|
28
|
+
};
|
|
7
29
|
};
|
|
8
30
|
public: {
|
|
9
31
|
Tables: {
|
|
@@ -357,7 +379,7 @@ export type Database = {
|
|
|
357
379
|
foreignKeyName: "audit_findings_task_id_fkey";
|
|
358
380
|
columns: ["task_id"];
|
|
359
381
|
isOneToOne: false;
|
|
360
|
-
referencedRelation: "
|
|
382
|
+
referencedRelation: "tasks";
|
|
361
383
|
referencedColumns: ["id"];
|
|
362
384
|
}
|
|
363
385
|
];
|
|
@@ -500,70 +522,6 @@ export type Database = {
|
|
|
500
522
|
}
|
|
501
523
|
];
|
|
502
524
|
};
|
|
503
|
-
audit_tasks: {
|
|
504
|
-
Row: {
|
|
505
|
-
created_at: string;
|
|
506
|
-
id: string;
|
|
507
|
-
instructions: string | null;
|
|
508
|
-
logs_url: string | null;
|
|
509
|
-
project_id: string;
|
|
510
|
-
result_summary: string | null;
|
|
511
|
-
sandbox_id: string | null;
|
|
512
|
-
skill_id: string | null;
|
|
513
|
-
status: string | null;
|
|
514
|
-
updated_at: string;
|
|
515
|
-
user_id: string | null;
|
|
516
|
-
};
|
|
517
|
-
Insert: {
|
|
518
|
-
created_at?: string;
|
|
519
|
-
id?: string;
|
|
520
|
-
instructions?: string | null;
|
|
521
|
-
logs_url?: string | null;
|
|
522
|
-
project_id: string;
|
|
523
|
-
result_summary?: string | null;
|
|
524
|
-
sandbox_id?: string | null;
|
|
525
|
-
skill_id?: string | null;
|
|
526
|
-
status?: string | null;
|
|
527
|
-
updated_at?: string;
|
|
528
|
-
user_id?: string | null;
|
|
529
|
-
};
|
|
530
|
-
Update: {
|
|
531
|
-
created_at?: string;
|
|
532
|
-
id?: string;
|
|
533
|
-
instructions?: string | null;
|
|
534
|
-
logs_url?: string | null;
|
|
535
|
-
project_id?: string;
|
|
536
|
-
result_summary?: string | null;
|
|
537
|
-
sandbox_id?: string | null;
|
|
538
|
-
skill_id?: string | null;
|
|
539
|
-
status?: string | null;
|
|
540
|
-
updated_at?: string;
|
|
541
|
-
user_id?: string | null;
|
|
542
|
-
};
|
|
543
|
-
Relationships: [
|
|
544
|
-
{
|
|
545
|
-
foreignKeyName: "audit_tasks_project_id_fkey";
|
|
546
|
-
columns: ["project_id"];
|
|
547
|
-
isOneToOne: false;
|
|
548
|
-
referencedRelation: "audit_projects";
|
|
549
|
-
referencedColumns: ["id"];
|
|
550
|
-
},
|
|
551
|
-
{
|
|
552
|
-
foreignKeyName: "audit_tasks_sandbox_id_fkey";
|
|
553
|
-
columns: ["sandbox_id"];
|
|
554
|
-
isOneToOne: false;
|
|
555
|
-
referencedRelation: "resources";
|
|
556
|
-
referencedColumns: ["id"];
|
|
557
|
-
},
|
|
558
|
-
{
|
|
559
|
-
foreignKeyName: "audit_tasks_skill_id_fkey";
|
|
560
|
-
columns: ["skill_id"];
|
|
561
|
-
isOneToOne: false;
|
|
562
|
-
referencedRelation: "audit_skills";
|
|
563
|
-
referencedColumns: ["id"];
|
|
564
|
-
}
|
|
565
|
-
];
|
|
566
|
-
};
|
|
567
525
|
browsers: {
|
|
568
526
|
Row: {
|
|
569
527
|
cdpUrl: string | null;
|
|
@@ -1307,56 +1265,42 @@ export type Database = {
|
|
|
1307
1265
|
};
|
|
1308
1266
|
servers: {
|
|
1309
1267
|
Row: {
|
|
1310
|
-
|
|
1268
|
+
config: Json | null;
|
|
1311
1269
|
created_at: string;
|
|
1312
|
-
host_id: string | null;
|
|
1313
1270
|
id: string;
|
|
1271
|
+
is_public: boolean | null;
|
|
1314
1272
|
is_shared: boolean | null;
|
|
1315
|
-
latest_pull_at: string | null;
|
|
1316
1273
|
name: string | null;
|
|
1317
|
-
runtime: string | null;
|
|
1318
1274
|
state: Json | null;
|
|
1319
|
-
status: Database["public"]["Enums"]["
|
|
1275
|
+
status: Database["public"]["Enums"]["server_status"] | null;
|
|
1320
1276
|
updated_at: string;
|
|
1321
1277
|
user_id: string | null;
|
|
1322
1278
|
};
|
|
1323
1279
|
Insert: {
|
|
1324
|
-
|
|
1280
|
+
config?: Json | null;
|
|
1325
1281
|
created_at?: string;
|
|
1326
|
-
host_id?: string | null;
|
|
1327
1282
|
id: string;
|
|
1283
|
+
is_public?: boolean | null;
|
|
1328
1284
|
is_shared?: boolean | null;
|
|
1329
|
-
latest_pull_at?: string | null;
|
|
1330
1285
|
name?: string | null;
|
|
1331
|
-
runtime?: string | null;
|
|
1332
1286
|
state?: Json | null;
|
|
1333
|
-
status?: Database["public"]["Enums"]["
|
|
1287
|
+
status?: Database["public"]["Enums"]["server_status"] | null;
|
|
1334
1288
|
updated_at?: string;
|
|
1335
1289
|
user_id?: string | null;
|
|
1336
1290
|
};
|
|
1337
1291
|
Update: {
|
|
1338
|
-
|
|
1292
|
+
config?: Json | null;
|
|
1339
1293
|
created_at?: string;
|
|
1340
|
-
host_id?: string | null;
|
|
1341
1294
|
id?: string;
|
|
1295
|
+
is_public?: boolean | null;
|
|
1342
1296
|
is_shared?: boolean | null;
|
|
1343
|
-
latest_pull_at?: string | null;
|
|
1344
1297
|
name?: string | null;
|
|
1345
|
-
runtime?: string | null;
|
|
1346
1298
|
state?: Json | null;
|
|
1347
|
-
status?: Database["public"]["Enums"]["
|
|
1299
|
+
status?: Database["public"]["Enums"]["server_status"] | null;
|
|
1348
1300
|
updated_at?: string;
|
|
1349
1301
|
user_id?: string | null;
|
|
1350
1302
|
};
|
|
1351
|
-
Relationships: [
|
|
1352
|
-
{
|
|
1353
|
-
foreignKeyName: "workers_host_id_fkey";
|
|
1354
|
-
columns: ["host_id"];
|
|
1355
|
-
isOneToOne: false;
|
|
1356
|
-
referencedRelation: "compute_nodes";
|
|
1357
|
-
referencedColumns: ["id"];
|
|
1358
|
-
}
|
|
1359
|
-
];
|
|
1303
|
+
Relationships: [];
|
|
1360
1304
|
};
|
|
1361
1305
|
sys_config: {
|
|
1362
1306
|
Row: {
|
|
@@ -1385,25 +1329,37 @@ export type Database = {
|
|
|
1385
1329
|
sys_logs: {
|
|
1386
1330
|
Row: {
|
|
1387
1331
|
created_at: string;
|
|
1332
|
+
event_type: string | null;
|
|
1388
1333
|
id: number;
|
|
1389
|
-
level:
|
|
1334
|
+
level: Database["public"]["Enums"]["sys_log_level"] | null;
|
|
1335
|
+
meta: Json | null;
|
|
1390
1336
|
module: string | null;
|
|
1337
|
+
resource_id: string | null;
|
|
1338
|
+
resource_type: string | null;
|
|
1391
1339
|
text: string | null;
|
|
1392
1340
|
user_id: string | null;
|
|
1393
1341
|
};
|
|
1394
1342
|
Insert: {
|
|
1395
1343
|
created_at?: string;
|
|
1344
|
+
event_type?: string | null;
|
|
1396
1345
|
id?: number;
|
|
1397
|
-
level?:
|
|
1346
|
+
level?: Database["public"]["Enums"]["sys_log_level"] | null;
|
|
1347
|
+
meta?: Json | null;
|
|
1398
1348
|
module?: string | null;
|
|
1349
|
+
resource_id?: string | null;
|
|
1350
|
+
resource_type?: string | null;
|
|
1399
1351
|
text?: string | null;
|
|
1400
1352
|
user_id?: string | null;
|
|
1401
1353
|
};
|
|
1402
1354
|
Update: {
|
|
1403
1355
|
created_at?: string;
|
|
1356
|
+
event_type?: string | null;
|
|
1404
1357
|
id?: number;
|
|
1405
|
-
level?:
|
|
1358
|
+
level?: Database["public"]["Enums"]["sys_log_level"] | null;
|
|
1359
|
+
meta?: Json | null;
|
|
1406
1360
|
module?: string | null;
|
|
1361
|
+
resource_id?: string | null;
|
|
1362
|
+
resource_type?: string | null;
|
|
1407
1363
|
text?: string | null;
|
|
1408
1364
|
user_id?: string | null;
|
|
1409
1365
|
};
|
|
@@ -1460,6 +1416,152 @@ export type Database = {
|
|
|
1460
1416
|
};
|
|
1461
1417
|
Relationships: [];
|
|
1462
1418
|
};
|
|
1419
|
+
tasks: {
|
|
1420
|
+
Row: {
|
|
1421
|
+
code: string | null;
|
|
1422
|
+
code_type: Database["public"]["Enums"]["task_code_type"] | null;
|
|
1423
|
+
completed_at: string | null;
|
|
1424
|
+
context_id: string | null;
|
|
1425
|
+
context_type: string | null;
|
|
1426
|
+
created_at: string;
|
|
1427
|
+
description: string | null;
|
|
1428
|
+
error: string | null;
|
|
1429
|
+
executor_id: string | null;
|
|
1430
|
+
executor_type: string | null;
|
|
1431
|
+
id: string;
|
|
1432
|
+
max_retries: number;
|
|
1433
|
+
meta: Json;
|
|
1434
|
+
parent_id: string | null;
|
|
1435
|
+
priority: number;
|
|
1436
|
+
result: Json | null;
|
|
1437
|
+
result_text: string | null;
|
|
1438
|
+
retry_count: number;
|
|
1439
|
+
scheduled_at: string | null;
|
|
1440
|
+
started_at: string | null;
|
|
1441
|
+
status: Database["public"]["Enums"]["task_status"];
|
|
1442
|
+
tags: string[];
|
|
1443
|
+
title: string;
|
|
1444
|
+
updated_at: string;
|
|
1445
|
+
user_id: string;
|
|
1446
|
+
};
|
|
1447
|
+
Insert: {
|
|
1448
|
+
code?: string | null;
|
|
1449
|
+
code_type?: Database["public"]["Enums"]["task_code_type"] | null;
|
|
1450
|
+
completed_at?: string | null;
|
|
1451
|
+
context_id?: string | null;
|
|
1452
|
+
context_type?: string | null;
|
|
1453
|
+
created_at?: string;
|
|
1454
|
+
description?: string | null;
|
|
1455
|
+
error?: string | null;
|
|
1456
|
+
executor_id?: string | null;
|
|
1457
|
+
executor_type?: string | null;
|
|
1458
|
+
id?: string;
|
|
1459
|
+
max_retries?: number;
|
|
1460
|
+
meta?: Json;
|
|
1461
|
+
parent_id?: string | null;
|
|
1462
|
+
priority?: number;
|
|
1463
|
+
result?: Json | null;
|
|
1464
|
+
result_text?: string | null;
|
|
1465
|
+
retry_count?: number;
|
|
1466
|
+
scheduled_at?: string | null;
|
|
1467
|
+
started_at?: string | null;
|
|
1468
|
+
status?: Database["public"]["Enums"]["task_status"];
|
|
1469
|
+
tags?: string[];
|
|
1470
|
+
title: string;
|
|
1471
|
+
updated_at?: string;
|
|
1472
|
+
user_id: string;
|
|
1473
|
+
};
|
|
1474
|
+
Update: {
|
|
1475
|
+
code?: string | null;
|
|
1476
|
+
code_type?: Database["public"]["Enums"]["task_code_type"] | null;
|
|
1477
|
+
completed_at?: string | null;
|
|
1478
|
+
context_id?: string | null;
|
|
1479
|
+
context_type?: string | null;
|
|
1480
|
+
created_at?: string;
|
|
1481
|
+
description?: string | null;
|
|
1482
|
+
error?: string | null;
|
|
1483
|
+
executor_id?: string | null;
|
|
1484
|
+
executor_type?: string | null;
|
|
1485
|
+
id?: string;
|
|
1486
|
+
max_retries?: number;
|
|
1487
|
+
meta?: Json;
|
|
1488
|
+
parent_id?: string | null;
|
|
1489
|
+
priority?: number;
|
|
1490
|
+
result?: Json | null;
|
|
1491
|
+
result_text?: string | null;
|
|
1492
|
+
retry_count?: number;
|
|
1493
|
+
scheduled_at?: string | null;
|
|
1494
|
+
started_at?: string | null;
|
|
1495
|
+
status?: Database["public"]["Enums"]["task_status"];
|
|
1496
|
+
tags?: string[];
|
|
1497
|
+
title?: string;
|
|
1498
|
+
updated_at?: string;
|
|
1499
|
+
user_id?: string;
|
|
1500
|
+
};
|
|
1501
|
+
Relationships: [
|
|
1502
|
+
{
|
|
1503
|
+
foreignKeyName: "tasks_parent_id_fkey";
|
|
1504
|
+
columns: ["parent_id"];
|
|
1505
|
+
isOneToOne: false;
|
|
1506
|
+
referencedRelation: "tasks";
|
|
1507
|
+
referencedColumns: ["id"];
|
|
1508
|
+
}
|
|
1509
|
+
];
|
|
1510
|
+
};
|
|
1511
|
+
traffic_logs: {
|
|
1512
|
+
Row: {
|
|
1513
|
+
client_ip: string | null;
|
|
1514
|
+
created_at: string | null;
|
|
1515
|
+
error: string | null;
|
|
1516
|
+
host: string | null;
|
|
1517
|
+
id: string;
|
|
1518
|
+
method: string | null;
|
|
1519
|
+
path: string | null;
|
|
1520
|
+
request_headers: Json | null;
|
|
1521
|
+
response_headers: Json | null;
|
|
1522
|
+
scheme: string | null;
|
|
1523
|
+
started_at: string | null;
|
|
1524
|
+
status_code: number | null;
|
|
1525
|
+
url: string | null;
|
|
1526
|
+
user_id: string | null;
|
|
1527
|
+
worker_id: string | null;
|
|
1528
|
+
};
|
|
1529
|
+
Insert: {
|
|
1530
|
+
client_ip?: string | null;
|
|
1531
|
+
created_at?: string | null;
|
|
1532
|
+
error?: string | null;
|
|
1533
|
+
host?: string | null;
|
|
1534
|
+
id?: string;
|
|
1535
|
+
method?: string | null;
|
|
1536
|
+
path?: string | null;
|
|
1537
|
+
request_headers?: Json | null;
|
|
1538
|
+
response_headers?: Json | null;
|
|
1539
|
+
scheme?: string | null;
|
|
1540
|
+
started_at?: string | null;
|
|
1541
|
+
status_code?: number | null;
|
|
1542
|
+
url?: string | null;
|
|
1543
|
+
user_id?: string | null;
|
|
1544
|
+
worker_id?: string | null;
|
|
1545
|
+
};
|
|
1546
|
+
Update: {
|
|
1547
|
+
client_ip?: string | null;
|
|
1548
|
+
created_at?: string | null;
|
|
1549
|
+
error?: string | null;
|
|
1550
|
+
host?: string | null;
|
|
1551
|
+
id?: string;
|
|
1552
|
+
method?: string | null;
|
|
1553
|
+
path?: string | null;
|
|
1554
|
+
request_headers?: Json | null;
|
|
1555
|
+
response_headers?: Json | null;
|
|
1556
|
+
scheme?: string | null;
|
|
1557
|
+
started_at?: string | null;
|
|
1558
|
+
status_code?: number | null;
|
|
1559
|
+
url?: string | null;
|
|
1560
|
+
user_id?: string | null;
|
|
1561
|
+
worker_id?: string | null;
|
|
1562
|
+
};
|
|
1563
|
+
Relationships: [];
|
|
1564
|
+
};
|
|
1463
1565
|
user_logs: {
|
|
1464
1566
|
Row: {
|
|
1465
1567
|
content: string | null;
|
|
@@ -1577,48 +1679,6 @@ export type Database = {
|
|
|
1577
1679
|
};
|
|
1578
1680
|
Relationships: [];
|
|
1579
1681
|
};
|
|
1580
|
-
worker_tasks: {
|
|
1581
|
-
Row: {
|
|
1582
|
-
created_at: string;
|
|
1583
|
-
error: string | null;
|
|
1584
|
-
id: string;
|
|
1585
|
-
payload: Json;
|
|
1586
|
-
result: Json | null;
|
|
1587
|
-
session_id: string | null;
|
|
1588
|
-
status: string | null;
|
|
1589
|
-
type: string;
|
|
1590
|
-
updated_at: string;
|
|
1591
|
-
user_id: string | null;
|
|
1592
|
-
worker_id: string | null;
|
|
1593
|
-
};
|
|
1594
|
-
Insert: {
|
|
1595
|
-
created_at?: string;
|
|
1596
|
-
error?: string | null;
|
|
1597
|
-
id?: string;
|
|
1598
|
-
payload: Json;
|
|
1599
|
-
result?: Json | null;
|
|
1600
|
-
session_id?: string | null;
|
|
1601
|
-
status?: string | null;
|
|
1602
|
-
type: string;
|
|
1603
|
-
updated_at?: string;
|
|
1604
|
-
user_id?: string | null;
|
|
1605
|
-
worker_id?: string | null;
|
|
1606
|
-
};
|
|
1607
|
-
Update: {
|
|
1608
|
-
created_at?: string;
|
|
1609
|
-
error?: string | null;
|
|
1610
|
-
id?: string;
|
|
1611
|
-
payload?: Json;
|
|
1612
|
-
result?: Json | null;
|
|
1613
|
-
session_id?: string | null;
|
|
1614
|
-
status?: string | null;
|
|
1615
|
-
type?: string;
|
|
1616
|
-
updated_at?: string;
|
|
1617
|
-
user_id?: string | null;
|
|
1618
|
-
worker_id?: string | null;
|
|
1619
|
-
};
|
|
1620
|
-
Relationships: [];
|
|
1621
|
-
};
|
|
1622
1682
|
};
|
|
1623
1683
|
Views: {
|
|
1624
1684
|
[_ in never]: never;
|
|
@@ -1686,9 +1746,13 @@ export type Database = {
|
|
|
1686
1746
|
p_session_id: string;
|
|
1687
1747
|
p_user_id: string;
|
|
1688
1748
|
};
|
|
1689
|
-
Returns:
|
|
1690
|
-
|
|
1691
|
-
|
|
1749
|
+
Returns: Database["public"]["CompositeTypes"]["adk_artifact_key_record"][];
|
|
1750
|
+
SetofOptions: {
|
|
1751
|
+
from: "*";
|
|
1752
|
+
to: "adk_artifact_key_record";
|
|
1753
|
+
isOneToOne: false;
|
|
1754
|
+
isSetofReturn: true;
|
|
1755
|
+
};
|
|
1692
1756
|
};
|
|
1693
1757
|
adk_artifact_list_versions_meta: {
|
|
1694
1758
|
Args: {
|
|
@@ -1946,28 +2010,6 @@ export type Database = {
|
|
|
1946
2010
|
isSetofReturn: true;
|
|
1947
2011
|
};
|
|
1948
2012
|
};
|
|
1949
|
-
audit_asset_list: {
|
|
1950
|
-
Args: {
|
|
1951
|
-
p_project_id: string;
|
|
1952
|
-
p_type?: string;
|
|
1953
|
-
};
|
|
1954
|
-
Returns: {
|
|
1955
|
-
content: string;
|
|
1956
|
-
created_at: string;
|
|
1957
|
-
id: string;
|
|
1958
|
-
metadata: Json | null;
|
|
1959
|
-
project_id: string;
|
|
1960
|
-
status: string | null;
|
|
1961
|
-
type: string;
|
|
1962
|
-
updated_at: string;
|
|
1963
|
-
}[];
|
|
1964
|
-
SetofOptions: {
|
|
1965
|
-
from: "*";
|
|
1966
|
-
to: "audit_assets";
|
|
1967
|
-
isOneToOne: false;
|
|
1968
|
-
isSetofReturn: true;
|
|
1969
|
-
};
|
|
1970
|
-
};
|
|
1971
2013
|
audit_asset_list_cursor: {
|
|
1972
2014
|
Args: {
|
|
1973
2015
|
p_cursor?: string;
|
|
@@ -1993,8 +2035,12 @@ export type Database = {
|
|
|
1993
2035
|
isSetofReturn: true;
|
|
1994
2036
|
};
|
|
1995
2037
|
};
|
|
1996
|
-
|
|
2038
|
+
audit_finding_list_cursor: {
|
|
1997
2039
|
Args: {
|
|
2040
|
+
p_cursor?: string;
|
|
2041
|
+
p_cursor_id?: string;
|
|
2042
|
+
p_kw?: string;
|
|
2043
|
+
p_limit?: number;
|
|
1998
2044
|
p_project_id: string;
|
|
1999
2045
|
};
|
|
2000
2046
|
Returns: {
|
|
@@ -2018,43 +2064,14 @@ export type Database = {
|
|
|
2018
2064
|
isSetofReturn: true;
|
|
2019
2065
|
};
|
|
2020
2066
|
};
|
|
2021
|
-
|
|
2067
|
+
audit_project_bind_github: {
|
|
2022
2068
|
Args: {
|
|
2023
|
-
|
|
2024
|
-
p_cursor_id?: string;
|
|
2025
|
-
p_kw?: string;
|
|
2026
|
-
p_limit?: number;
|
|
2069
|
+
p_installation_id: number;
|
|
2027
2070
|
p_project_id: string;
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
description: string | null;
|
|
2033
|
-
id: string;
|
|
2034
|
-
project_id: string;
|
|
2035
|
-
proof_poc: string | null;
|
|
2036
|
-
remediation: string | null;
|
|
2037
|
-
severity: Database["public"]["Enums"]["audit_finding_severity"] | null;
|
|
2038
|
-
status: string | null;
|
|
2039
|
-
task_id: string | null;
|
|
2040
|
-
title: string;
|
|
2041
|
-
updated_at: string;
|
|
2042
|
-
}[];
|
|
2043
|
-
SetofOptions: {
|
|
2044
|
-
from: "*";
|
|
2045
|
-
to: "audit_findings";
|
|
2046
|
-
isOneToOne: false;
|
|
2047
|
-
isSetofReturn: true;
|
|
2048
|
-
};
|
|
2049
|
-
};
|
|
2050
|
-
audit_project_bind_github: {
|
|
2051
|
-
Args: {
|
|
2052
|
-
p_installation_id: number;
|
|
2053
|
-
p_project_id: string;
|
|
2054
|
-
p_repo_branch: string;
|
|
2055
|
-
p_repo_full_name: string;
|
|
2056
|
-
p_repo_id: number;
|
|
2057
|
-
p_repo_url: string;
|
|
2071
|
+
p_repo_branch: string;
|
|
2072
|
+
p_repo_full_name: string;
|
|
2073
|
+
p_repo_id: number;
|
|
2074
|
+
p_repo_url: string;
|
|
2058
2075
|
};
|
|
2059
2076
|
Returns: Json;
|
|
2060
2077
|
};
|
|
@@ -2068,12 +2085,13 @@ export type Database = {
|
|
|
2068
2085
|
Args: {
|
|
2069
2086
|
p_project_id: string;
|
|
2070
2087
|
};
|
|
2071
|
-
Returns:
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2088
|
+
Returns: Database["public"]["CompositeTypes"]["audit_project_stats_record"][];
|
|
2089
|
+
SetofOptions: {
|
|
2090
|
+
from: "*";
|
|
2091
|
+
to: "audit_project_stats_record";
|
|
2092
|
+
isOneToOne: false;
|
|
2093
|
+
isSetofReturn: true;
|
|
2094
|
+
};
|
|
2077
2095
|
};
|
|
2078
2096
|
audit_project_delete: {
|
|
2079
2097
|
Args: {
|
|
@@ -2085,21 +2103,10 @@ export type Database = {
|
|
|
2085
2103
|
Args: {
|
|
2086
2104
|
p_id: string;
|
|
2087
2105
|
};
|
|
2088
|
-
Returns:
|
|
2089
|
-
config: Json | null;
|
|
2090
|
-
created_at: string;
|
|
2091
|
-
id: string;
|
|
2092
|
-
name: string;
|
|
2093
|
-
repo_branch: string | null;
|
|
2094
|
-
repo_url: string | null;
|
|
2095
|
-
target: string | null;
|
|
2096
|
-
updated_at: string;
|
|
2097
|
-
user_id: string;
|
|
2098
|
-
worker_id: string | null;
|
|
2099
|
-
}[];
|
|
2106
|
+
Returns: Database["public"]["CompositeTypes"]["audit_project_record"][];
|
|
2100
2107
|
SetofOptions: {
|
|
2101
2108
|
from: "*";
|
|
2102
|
-
to: "
|
|
2109
|
+
to: "audit_project_record";
|
|
2103
2110
|
isOneToOne: false;
|
|
2104
2111
|
isSetofReturn: true;
|
|
2105
2112
|
};
|
|
@@ -2110,21 +2117,10 @@ export type Database = {
|
|
|
2110
2117
|
p_page_no?: number;
|
|
2111
2118
|
p_page_size?: number;
|
|
2112
2119
|
};
|
|
2113
|
-
Returns:
|
|
2114
|
-
config: Json | null;
|
|
2115
|
-
created_at: string;
|
|
2116
|
-
id: string;
|
|
2117
|
-
name: string;
|
|
2118
|
-
repo_branch: string | null;
|
|
2119
|
-
repo_url: string | null;
|
|
2120
|
-
target: string | null;
|
|
2121
|
-
updated_at: string;
|
|
2122
|
-
user_id: string;
|
|
2123
|
-
worker_id: string | null;
|
|
2124
|
-
}[];
|
|
2120
|
+
Returns: Database["public"]["CompositeTypes"]["audit_project_record"][];
|
|
2125
2121
|
SetofOptions: {
|
|
2126
2122
|
from: "*";
|
|
2127
|
-
to: "
|
|
2123
|
+
to: "audit_project_record";
|
|
2128
2124
|
isOneToOne: false;
|
|
2129
2125
|
isSetofReturn: true;
|
|
2130
2126
|
};
|
|
@@ -2136,21 +2132,10 @@ export type Database = {
|
|
|
2136
2132
|
p_kw?: string;
|
|
2137
2133
|
p_limit?: number;
|
|
2138
2134
|
};
|
|
2139
|
-
Returns:
|
|
2140
|
-
config: Json | null;
|
|
2141
|
-
created_at: string;
|
|
2142
|
-
id: string;
|
|
2143
|
-
name: string;
|
|
2144
|
-
repo_branch: string | null;
|
|
2145
|
-
repo_url: string | null;
|
|
2146
|
-
target: string | null;
|
|
2147
|
-
updated_at: string;
|
|
2148
|
-
user_id: string;
|
|
2149
|
-
worker_id: string | null;
|
|
2150
|
-
}[];
|
|
2135
|
+
Returns: Database["public"]["CompositeTypes"]["audit_project_record"][];
|
|
2151
2136
|
SetofOptions: {
|
|
2152
2137
|
from: "*";
|
|
2153
|
-
to: "
|
|
2138
|
+
to: "audit_project_record";
|
|
2154
2139
|
isOneToOne: false;
|
|
2155
2140
|
isSetofReturn: true;
|
|
2156
2141
|
};
|
|
@@ -2158,18 +2143,7 @@ export type Database = {
|
|
|
2158
2143
|
audit_project_upsert: {
|
|
2159
2144
|
Args: {
|
|
2160
2145
|
p_config?: Json;
|
|
2161
|
-
p_id
|
|
2162
|
-
p_name?: string;
|
|
2163
|
-
p_repo_branch?: string;
|
|
2164
|
-
p_repo_url?: string;
|
|
2165
|
-
p_target?: string;
|
|
2166
|
-
p_worker_id?: string;
|
|
2167
|
-
};
|
|
2168
|
-
Returns: string;
|
|
2169
|
-
} | {
|
|
2170
|
-
Args: {
|
|
2171
|
-
p_config?: Json;
|
|
2172
|
-
p_id?: string;
|
|
2146
|
+
p_id: string;
|
|
2173
2147
|
p_name: string;
|
|
2174
2148
|
p_repo_branch?: string;
|
|
2175
2149
|
p_repo_url?: string;
|
|
@@ -2201,85 +2175,6 @@ export type Database = {
|
|
|
2201
2175
|
isSetofReturn: true;
|
|
2202
2176
|
};
|
|
2203
2177
|
};
|
|
2204
|
-
audit_task_get: {
|
|
2205
|
-
Args: {
|
|
2206
|
-
p_id: string;
|
|
2207
|
-
};
|
|
2208
|
-
Returns: {
|
|
2209
|
-
created_at: string;
|
|
2210
|
-
id: string;
|
|
2211
|
-
instructions: string | null;
|
|
2212
|
-
logs_url: string | null;
|
|
2213
|
-
project_id: string;
|
|
2214
|
-
result_summary: string | null;
|
|
2215
|
-
sandbox_id: string | null;
|
|
2216
|
-
skill_id: string | null;
|
|
2217
|
-
status: string | null;
|
|
2218
|
-
updated_at: string;
|
|
2219
|
-
user_id: string | null;
|
|
2220
|
-
}[];
|
|
2221
|
-
SetofOptions: {
|
|
2222
|
-
from: "*";
|
|
2223
|
-
to: "audit_tasks";
|
|
2224
|
-
isOneToOne: false;
|
|
2225
|
-
isSetofReturn: true;
|
|
2226
|
-
};
|
|
2227
|
-
};
|
|
2228
|
-
audit_task_list: {
|
|
2229
|
-
Args: {
|
|
2230
|
-
p_project_id: string;
|
|
2231
|
-
};
|
|
2232
|
-
Returns: {
|
|
2233
|
-
created_at: string;
|
|
2234
|
-
id: string;
|
|
2235
|
-
instructions: string | null;
|
|
2236
|
-
logs_url: string | null;
|
|
2237
|
-
project_id: string;
|
|
2238
|
-
result_summary: string | null;
|
|
2239
|
-
sandbox_id: string | null;
|
|
2240
|
-
skill_id: string | null;
|
|
2241
|
-
status: string | null;
|
|
2242
|
-
updated_at: string;
|
|
2243
|
-
user_id: string | null;
|
|
2244
|
-
}[];
|
|
2245
|
-
SetofOptions: {
|
|
2246
|
-
from: "*";
|
|
2247
|
-
to: "audit_tasks";
|
|
2248
|
-
isOneToOne: false;
|
|
2249
|
-
isSetofReturn: true;
|
|
2250
|
-
};
|
|
2251
|
-
};
|
|
2252
|
-
audit_task_upsert: {
|
|
2253
|
-
Args: {
|
|
2254
|
-
p_id: string;
|
|
2255
|
-
p_instructions: string;
|
|
2256
|
-
p_logs_url?: string;
|
|
2257
|
-
p_project_id: string;
|
|
2258
|
-
p_result_summary?: string;
|
|
2259
|
-
p_sandbox_id?: string;
|
|
2260
|
-
p_skill_id?: string;
|
|
2261
|
-
p_status?: string;
|
|
2262
|
-
};
|
|
2263
|
-
Returns: {
|
|
2264
|
-
created_at: string;
|
|
2265
|
-
id: string;
|
|
2266
|
-
instructions: string | null;
|
|
2267
|
-
logs_url: string | null;
|
|
2268
|
-
project_id: string;
|
|
2269
|
-
result_summary: string | null;
|
|
2270
|
-
sandbox_id: string | null;
|
|
2271
|
-
skill_id: string | null;
|
|
2272
|
-
status: string | null;
|
|
2273
|
-
updated_at: string;
|
|
2274
|
-
user_id: string | null;
|
|
2275
|
-
}[];
|
|
2276
|
-
SetofOptions: {
|
|
2277
|
-
from: "*";
|
|
2278
|
-
to: "audit_tasks";
|
|
2279
|
-
isOneToOne: false;
|
|
2280
|
-
isSetofReturn: true;
|
|
2281
|
-
};
|
|
2282
|
-
};
|
|
2283
2178
|
auth_role: {
|
|
2284
2179
|
Args: never;
|
|
2285
2180
|
Returns: string;
|
|
@@ -2301,23 +2196,10 @@ export type Database = {
|
|
|
2301
2196
|
Args: {
|
|
2302
2197
|
p_id: string;
|
|
2303
2198
|
};
|
|
2304
|
-
Returns:
|
|
2305
|
-
cdpUrl: string | null;
|
|
2306
|
-
config: Json | null;
|
|
2307
|
-
created_at: string;
|
|
2308
|
-
description: string | null;
|
|
2309
|
-
id: string;
|
|
2310
|
-
profile_id: string | null;
|
|
2311
|
-
provider: string | null;
|
|
2312
|
-
provider_config: Json | null;
|
|
2313
|
-
sandbox_id: string | null;
|
|
2314
|
-
title: string | null;
|
|
2315
|
-
updated_at: string | null;
|
|
2316
|
-
user_id: string | null;
|
|
2317
|
-
}[];
|
|
2199
|
+
Returns: Database["public"]["CompositeTypes"]["browser_record"][];
|
|
2318
2200
|
SetofOptions: {
|
|
2319
2201
|
from: "*";
|
|
2320
|
-
to: "
|
|
2202
|
+
to: "browser_record";
|
|
2321
2203
|
isOneToOne: false;
|
|
2322
2204
|
isSetofReturn: true;
|
|
2323
2205
|
};
|
|
@@ -2353,23 +2235,10 @@ export type Database = {
|
|
|
2353
2235
|
p_provider_config?: Json;
|
|
2354
2236
|
p_title?: string;
|
|
2355
2237
|
};
|
|
2356
|
-
Returns:
|
|
2357
|
-
cdpUrl: string | null;
|
|
2358
|
-
config: Json | null;
|
|
2359
|
-
created_at: string;
|
|
2360
|
-
description: string | null;
|
|
2361
|
-
id: string;
|
|
2362
|
-
profile_id: string | null;
|
|
2363
|
-
provider: string | null;
|
|
2364
|
-
provider_config: Json | null;
|
|
2365
|
-
sandbox_id: string | null;
|
|
2366
|
-
title: string | null;
|
|
2367
|
-
updated_at: string | null;
|
|
2368
|
-
user_id: string | null;
|
|
2369
|
-
}[];
|
|
2238
|
+
Returns: Database["public"]["CompositeTypes"]["browser_record"][];
|
|
2370
2239
|
SetofOptions: {
|
|
2371
2240
|
from: "*";
|
|
2372
|
-
to: "
|
|
2241
|
+
to: "browser_record";
|
|
2373
2242
|
isOneToOne: false;
|
|
2374
2243
|
isSetofReturn: true;
|
|
2375
2244
|
};
|
|
@@ -2567,24 +2436,12 @@ export type Database = {
|
|
|
2567
2436
|
isSetofReturn: false;
|
|
2568
2437
|
};
|
|
2569
2438
|
};
|
|
2570
|
-
|
|
2571
|
-
Args: {
|
|
2572
|
-
p_worker_id: string;
|
|
2573
|
-
};
|
|
2574
|
-
Returns: number;
|
|
2575
|
-
};
|
|
2576
|
-
cloud_account_bind_device: {
|
|
2439
|
+
check_account_rate_limit: {
|
|
2577
2440
|
Args: {
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
};
|
|
2581
|
-
Returns: Database["public"]["CompositeTypes"]["cloud_account_record"][];
|
|
2582
|
-
SetofOptions: {
|
|
2583
|
-
from: "*";
|
|
2584
|
-
to: "cloud_account_record";
|
|
2585
|
-
isOneToOne: false;
|
|
2586
|
-
isSetofReturn: true;
|
|
2441
|
+
p_account_id: string;
|
|
2442
|
+
p_campaign_config: Json;
|
|
2587
2443
|
};
|
|
2444
|
+
Returns: boolean;
|
|
2588
2445
|
};
|
|
2589
2446
|
cloud_account_bulk_create: {
|
|
2590
2447
|
Args: {
|
|
@@ -2600,13 +2457,6 @@ export type Database = {
|
|
|
2600
2457
|
isSetofReturn: true;
|
|
2601
2458
|
};
|
|
2602
2459
|
};
|
|
2603
|
-
cloud_account_check_expired_tokens: {
|
|
2604
|
-
Args: never;
|
|
2605
|
-
Returns: {
|
|
2606
|
-
total_checked: number;
|
|
2607
|
-
total_expired: number;
|
|
2608
|
-
}[];
|
|
2609
|
-
};
|
|
2610
2460
|
cloud_account_delete: {
|
|
2611
2461
|
Args: {
|
|
2612
2462
|
p_id: string;
|
|
@@ -2621,10 +2471,10 @@ export type Database = {
|
|
|
2621
2471
|
};
|
|
2622
2472
|
cloud_account_device_delete_version: {
|
|
2623
2473
|
Args: {
|
|
2624
|
-
|
|
2625
|
-
|
|
2474
|
+
p_account_id: string;
|
|
2475
|
+
p_version: number;
|
|
2626
2476
|
};
|
|
2627
|
-
Returns:
|
|
2477
|
+
Returns: undefined;
|
|
2628
2478
|
};
|
|
2629
2479
|
cloud_account_device_restore: {
|
|
2630
2480
|
Args: {
|
|
@@ -2672,41 +2522,15 @@ export type Database = {
|
|
|
2672
2522
|
p_error: string;
|
|
2673
2523
|
p_id: string;
|
|
2674
2524
|
};
|
|
2675
|
-
Returns:
|
|
2676
|
-
SetofOptions: {
|
|
2677
|
-
from: "*";
|
|
2678
|
-
to: "cloud_account_record";
|
|
2679
|
-
isOneToOne: false;
|
|
2680
|
-
isSetofReturn: true;
|
|
2681
|
-
};
|
|
2525
|
+
Returns: undefined;
|
|
2682
2526
|
};
|
|
2683
2527
|
cloud_account_refresh_token: {
|
|
2684
2528
|
Args: {
|
|
2685
2529
|
p_access_token: string;
|
|
2686
|
-
p_expires_in?:
|
|
2530
|
+
p_expires_in?: number;
|
|
2687
2531
|
p_id: string;
|
|
2688
|
-
p_refresh_expires_in?: unknown;
|
|
2689
2532
|
p_refresh_token?: string;
|
|
2690
2533
|
};
|
|
2691
|
-
Returns: Database["public"]["CompositeTypes"]["cloud_account_record"][];
|
|
2692
|
-
SetofOptions: {
|
|
2693
|
-
from: "*";
|
|
2694
|
-
to: "cloud_account_record";
|
|
2695
|
-
isOneToOne: false;
|
|
2696
|
-
isSetofReturn: true;
|
|
2697
|
-
};
|
|
2698
|
-
};
|
|
2699
|
-
cloud_account_session_load: {
|
|
2700
|
-
Args: {
|
|
2701
|
-
p_id: string;
|
|
2702
|
-
};
|
|
2703
|
-
Returns: string;
|
|
2704
|
-
};
|
|
2705
|
-
cloud_account_session_set: {
|
|
2706
|
-
Args: {
|
|
2707
|
-
p_id: string;
|
|
2708
|
-
p_session_data: Json;
|
|
2709
|
-
};
|
|
2710
2534
|
Returns: undefined;
|
|
2711
2535
|
};
|
|
2712
2536
|
cloud_account_session_store: {
|
|
@@ -2773,25 +2597,24 @@ export type Database = {
|
|
|
2773
2597
|
Args: {
|
|
2774
2598
|
target_id: string;
|
|
2775
2599
|
};
|
|
2776
|
-
Returns:
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2600
|
+
Returns: Database["public"]["CompositeTypes"]["compute_node_secret_record"][];
|
|
2601
|
+
SetofOptions: {
|
|
2602
|
+
from: "*";
|
|
2603
|
+
to: "compute_node_secret_record";
|
|
2604
|
+
isOneToOne: false;
|
|
2605
|
+
isSetofReturn: true;
|
|
2606
|
+
};
|
|
2782
2607
|
};
|
|
2783
2608
|
compute_node_list: {
|
|
2784
2609
|
Args: {
|
|
2785
2610
|
p_kw?: string;
|
|
2786
2611
|
p_page_no?: number;
|
|
2787
2612
|
p_page_size?: number;
|
|
2788
|
-
p_provider?: string;
|
|
2789
|
-
p_user_id?: string;
|
|
2790
2613
|
};
|
|
2791
|
-
Returns: Database["public"]["CompositeTypes"]["
|
|
2614
|
+
Returns: Database["public"]["CompositeTypes"]["compute_node_list_record"][];
|
|
2792
2615
|
SetofOptions: {
|
|
2793
2616
|
from: "*";
|
|
2794
|
-
to: "
|
|
2617
|
+
to: "compute_node_list_record";
|
|
2795
2618
|
isOneToOne: false;
|
|
2796
2619
|
isSetofReturn: true;
|
|
2797
2620
|
};
|
|
@@ -2814,6 +2637,12 @@ export type Database = {
|
|
|
2814
2637
|
isSetofReturn: true;
|
|
2815
2638
|
};
|
|
2816
2639
|
};
|
|
2640
|
+
compute_server_public_url: {
|
|
2641
|
+
Args: {
|
|
2642
|
+
p_server_id: string;
|
|
2643
|
+
};
|
|
2644
|
+
Returns: string;
|
|
2645
|
+
};
|
|
2817
2646
|
contact_add_tags: {
|
|
2818
2647
|
Args: {
|
|
2819
2648
|
p_ids: string[];
|
|
@@ -2868,6 +2697,17 @@ export type Database = {
|
|
|
2868
2697
|
isSetofReturn: true;
|
|
2869
2698
|
};
|
|
2870
2699
|
};
|
|
2700
|
+
contact_list_tags: {
|
|
2701
|
+
Args: never;
|
|
2702
|
+
Returns: string[];
|
|
2703
|
+
};
|
|
2704
|
+
contact_remove_tags: {
|
|
2705
|
+
Args: {
|
|
2706
|
+
p_ids: string[];
|
|
2707
|
+
p_tags: string[];
|
|
2708
|
+
};
|
|
2709
|
+
Returns: number;
|
|
2710
|
+
};
|
|
2871
2711
|
contact_upsert: {
|
|
2872
2712
|
Args: {
|
|
2873
2713
|
p_email?: string;
|
|
@@ -2894,13 +2734,13 @@ export type Database = {
|
|
|
2894
2734
|
Args: {
|
|
2895
2735
|
p_action_payload?: Json;
|
|
2896
2736
|
p_action_type?: string;
|
|
2897
|
-
p_expires_in?:
|
|
2898
|
-
p_message
|
|
2737
|
+
p_expires_in?: string;
|
|
2738
|
+
p_message: string;
|
|
2739
|
+
p_notification_type?: string;
|
|
2899
2740
|
p_priority?: string;
|
|
2900
2741
|
p_source_id?: string;
|
|
2901
2742
|
p_source_type?: string;
|
|
2902
2743
|
p_title: string;
|
|
2903
|
-
p_type?: string;
|
|
2904
2744
|
p_user_id: string;
|
|
2905
2745
|
};
|
|
2906
2746
|
Returns: string;
|
|
@@ -2941,10 +2781,6 @@ export type Database = {
|
|
|
2941
2781
|
Args: never;
|
|
2942
2782
|
Returns: string;
|
|
2943
2783
|
};
|
|
2944
|
-
get_lint_test_v1: {
|
|
2945
|
-
Args: never;
|
|
2946
|
-
Returns: string;
|
|
2947
|
-
};
|
|
2948
2784
|
get_user_id_from_token: {
|
|
2949
2785
|
Args: {
|
|
2950
2786
|
p_token: string;
|
|
@@ -2989,49 +2825,33 @@ export type Database = {
|
|
|
2989
2825
|
isSetofReturn: false;
|
|
2990
2826
|
};
|
|
2991
2827
|
};
|
|
2992
|
-
|
|
2828
|
+
gomtm_model_list_cursor: {
|
|
2993
2829
|
Args: {
|
|
2830
|
+
p_cursor_id?: string;
|
|
2994
2831
|
p_is_active?: boolean;
|
|
2995
2832
|
p_limit?: number;
|
|
2996
|
-
p_offset?: number;
|
|
2997
2833
|
p_provider?: string;
|
|
2998
2834
|
};
|
|
2999
2835
|
Returns: {
|
|
3000
|
-
api_base: string;
|
|
3001
|
-
api_key: string;
|
|
3002
|
-
config: Json;
|
|
2836
|
+
api_base: string | null;
|
|
2837
|
+
api_key: string | null;
|
|
2838
|
+
config: Json | null;
|
|
3003
2839
|
created_at: string;
|
|
3004
2840
|
id: string;
|
|
3005
2841
|
is_active: boolean;
|
|
3006
|
-
linked_account_id: string;
|
|
2842
|
+
linked_account_id: string | null;
|
|
3007
2843
|
model: string;
|
|
3008
2844
|
name: string;
|
|
3009
2845
|
provider: string;
|
|
3010
2846
|
updated_at: string;
|
|
3011
2847
|
user_id: string;
|
|
3012
2848
|
}[];
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
p_limit?: number;
|
|
3019
|
-
p_provider?: string;
|
|
2849
|
+
SetofOptions: {
|
|
2850
|
+
from: "*";
|
|
2851
|
+
to: "gomtm_models";
|
|
2852
|
+
isOneToOne: false;
|
|
2853
|
+
isSetofReturn: true;
|
|
3020
2854
|
};
|
|
3021
|
-
Returns: {
|
|
3022
|
-
api_base: string;
|
|
3023
|
-
api_key: string;
|
|
3024
|
-
config: Json;
|
|
3025
|
-
created_at: string;
|
|
3026
|
-
id: string;
|
|
3027
|
-
is_active: boolean;
|
|
3028
|
-
linked_account_id: string;
|
|
3029
|
-
model: string;
|
|
3030
|
-
name: string;
|
|
3031
|
-
provider: string;
|
|
3032
|
-
updated_at: string;
|
|
3033
|
-
user_id: string;
|
|
3034
|
-
}[];
|
|
3035
2855
|
};
|
|
3036
2856
|
gomtm_model_upsert: {
|
|
3037
2857
|
Args: {
|
|
@@ -3066,47 +2886,70 @@ export type Database = {
|
|
|
3066
2886
|
isSetofReturn: false;
|
|
3067
2887
|
};
|
|
3068
2888
|
};
|
|
3069
|
-
|
|
2889
|
+
handle_http_response_health: {
|
|
3070
2890
|
Args: {
|
|
3071
|
-
|
|
2891
|
+
p_body: Json;
|
|
2892
|
+
p_request_id: number;
|
|
2893
|
+
p_success: boolean;
|
|
3072
2894
|
};
|
|
3073
|
-
Returns:
|
|
2895
|
+
Returns: boolean;
|
|
3074
2896
|
};
|
|
3075
|
-
|
|
2897
|
+
handle_http_response_outreach: {
|
|
3076
2898
|
Args: {
|
|
3077
|
-
|
|
2899
|
+
p_body: Json;
|
|
2900
|
+
p_request_id: number;
|
|
2901
|
+
p_success: boolean;
|
|
3078
2902
|
};
|
|
3079
|
-
Returns:
|
|
2903
|
+
Returns: boolean;
|
|
3080
2904
|
};
|
|
3081
|
-
|
|
2905
|
+
handle_http_response_task: {
|
|
3082
2906
|
Args: {
|
|
3083
|
-
|
|
2907
|
+
p_body: Json;
|
|
2908
|
+
p_request_id: number;
|
|
2909
|
+
p_success: boolean;
|
|
3084
2910
|
};
|
|
3085
|
-
Returns:
|
|
2911
|
+
Returns: boolean;
|
|
3086
2912
|
};
|
|
3087
|
-
|
|
2913
|
+
handle_http_response_telegram: {
|
|
3088
2914
|
Args: {
|
|
3089
|
-
|
|
2915
|
+
p_body: Json;
|
|
2916
|
+
p_request_id: number;
|
|
2917
|
+
p_success: boolean;
|
|
2918
|
+
};
|
|
2919
|
+
Returns: boolean;
|
|
2920
|
+
};
|
|
2921
|
+
handle_job_outreach_process: {
|
|
2922
|
+
Args: {
|
|
2923
|
+
p_payload?: Json;
|
|
3090
2924
|
};
|
|
3091
2925
|
Returns: undefined;
|
|
3092
2926
|
};
|
|
3093
|
-
|
|
2927
|
+
handle_job_telegram_fetch_info: {
|
|
3094
2928
|
Args: {
|
|
3095
2929
|
p_payload: Json;
|
|
3096
2930
|
};
|
|
3097
2931
|
Returns: undefined;
|
|
3098
2932
|
};
|
|
3099
|
-
|
|
2933
|
+
handle_job_telegram_fetch_sms: {
|
|
3100
2934
|
Args: {
|
|
3101
2935
|
p_payload: Json;
|
|
3102
2936
|
};
|
|
3103
2937
|
Returns: undefined;
|
|
3104
2938
|
};
|
|
3105
|
-
|
|
2939
|
+
has_permission: {
|
|
3106
2940
|
Args: {
|
|
3107
|
-
|
|
2941
|
+
p_action: string;
|
|
2942
|
+
p_resource: string;
|
|
3108
2943
|
};
|
|
3109
|
-
Returns:
|
|
2944
|
+
Returns: boolean;
|
|
2945
|
+
};
|
|
2946
|
+
install_script: {
|
|
2947
|
+
Args: {
|
|
2948
|
+
p_instance_id?: string;
|
|
2949
|
+
p_token?: string;
|
|
2950
|
+
p_version?: string;
|
|
2951
|
+
};
|
|
2952
|
+
Returns: string;
|
|
3110
2953
|
};
|
|
3111
2954
|
instance_tag_add: {
|
|
3112
2955
|
Args: {
|
|
@@ -3147,44 +2990,33 @@ export type Database = {
|
|
|
3147
2990
|
isSetofReturn: true;
|
|
3148
2991
|
};
|
|
3149
2992
|
};
|
|
3150
|
-
is_admin: {
|
|
3151
|
-
Args: never;
|
|
3152
|
-
Returns: boolean;
|
|
3153
|
-
};
|
|
3154
|
-
job_queue_get_stats: {
|
|
3155
|
-
Args: never;
|
|
3156
|
-
Returns: {
|
|
3157
|
-
dlq_count: number;
|
|
3158
|
-
msg_count: number;
|
|
3159
|
-
queue_name: string;
|
|
3160
|
-
}[];
|
|
3161
|
-
};
|
|
3162
2993
|
job_queue_list_dlq: {
|
|
3163
2994
|
Args: {
|
|
3164
2995
|
p_limit?: number;
|
|
3165
2996
|
p_offset?: number;
|
|
3166
2997
|
p_queue: string;
|
|
3167
2998
|
};
|
|
3168
|
-
Returns:
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
2999
|
+
Returns: Database["public"]["CompositeTypes"]["job_queue_dlq_record"][];
|
|
3000
|
+
SetofOptions: {
|
|
3001
|
+
from: "*";
|
|
3002
|
+
to: "job_queue_dlq_record";
|
|
3003
|
+
isOneToOne: false;
|
|
3004
|
+
isSetofReturn: true;
|
|
3005
|
+
};
|
|
3174
3006
|
};
|
|
3175
3007
|
job_queue_purge_dlq: {
|
|
3176
3008
|
Args: {
|
|
3177
3009
|
p_msg_ids: number[];
|
|
3178
3010
|
p_queue: string;
|
|
3179
3011
|
};
|
|
3180
|
-
Returns:
|
|
3012
|
+
Returns: boolean;
|
|
3181
3013
|
};
|
|
3182
3014
|
job_queue_retry_dlq: {
|
|
3183
3015
|
Args: {
|
|
3184
3016
|
p_msg_ids: number[];
|
|
3185
3017
|
p_queue: string;
|
|
3186
3018
|
};
|
|
3187
|
-
Returns:
|
|
3019
|
+
Returns: boolean;
|
|
3188
3020
|
};
|
|
3189
3021
|
job_submit: {
|
|
3190
3022
|
Args: {
|
|
@@ -3195,23 +3027,6 @@ export type Database = {
|
|
|
3195
3027
|
};
|
|
3196
3028
|
Returns: Json;
|
|
3197
3029
|
};
|
|
3198
|
-
lint_test_error_code: {
|
|
3199
|
-
Args: never;
|
|
3200
|
-
Returns: undefined;
|
|
3201
|
-
};
|
|
3202
|
-
lint_test_table_return: {
|
|
3203
|
-
Args: never;
|
|
3204
|
-
Returns: {
|
|
3205
|
-
id: number;
|
|
3206
|
-
name: string;
|
|
3207
|
-
}[];
|
|
3208
|
-
};
|
|
3209
|
-
log: {
|
|
3210
|
-
Args: {
|
|
3211
|
-
content: string;
|
|
3212
|
-
};
|
|
3213
|
-
Returns: undefined;
|
|
3214
|
-
};
|
|
3215
3030
|
notification_complete_action: {
|
|
3216
3031
|
Args: {
|
|
3217
3032
|
p_id: string;
|
|
@@ -3270,6 +3085,7 @@ export type Database = {
|
|
|
3270
3085
|
};
|
|
3271
3086
|
outreach_process_pending_tasks: {
|
|
3272
3087
|
Args: {
|
|
3088
|
+
p_campaign_id?: string;
|
|
3273
3089
|
p_limit?: number;
|
|
3274
3090
|
};
|
|
3275
3091
|
Returns: number;
|
|
@@ -3305,22 +3121,12 @@ export type Database = {
|
|
|
3305
3121
|
Args: {
|
|
3306
3122
|
p_id: string;
|
|
3307
3123
|
};
|
|
3308
|
-
Returns:
|
|
3309
|
-
created_at: string;
|
|
3310
|
-
description: string | null;
|
|
3311
|
-
enabled: boolean;
|
|
3312
|
-
id: string;
|
|
3313
|
-
name: string | null;
|
|
3314
|
-
type: string | null;
|
|
3315
|
-
updated_at: string | null;
|
|
3316
|
-
url: string;
|
|
3317
|
-
user_id: string | null;
|
|
3318
|
-
};
|
|
3124
|
+
Returns: Database["public"]["CompositeTypes"]["proxy_record"][];
|
|
3319
3125
|
SetofOptions: {
|
|
3320
3126
|
from: "*";
|
|
3321
|
-
to: "
|
|
3322
|
-
isOneToOne:
|
|
3323
|
-
isSetofReturn:
|
|
3127
|
+
to: "proxy_record";
|
|
3128
|
+
isOneToOne: false;
|
|
3129
|
+
isSetofReturn: true;
|
|
3324
3130
|
};
|
|
3325
3131
|
};
|
|
3326
3132
|
proxy_list: {
|
|
@@ -3329,20 +3135,10 @@ export type Database = {
|
|
|
3329
3135
|
p_page_no?: number;
|
|
3330
3136
|
p_page_size?: number;
|
|
3331
3137
|
};
|
|
3332
|
-
Returns:
|
|
3333
|
-
created_at: string;
|
|
3334
|
-
description: string | null;
|
|
3335
|
-
enabled: boolean;
|
|
3336
|
-
id: string;
|
|
3337
|
-
name: string | null;
|
|
3338
|
-
type: string | null;
|
|
3339
|
-
updated_at: string | null;
|
|
3340
|
-
url: string;
|
|
3341
|
-
user_id: string | null;
|
|
3342
|
-
}[];
|
|
3138
|
+
Returns: Database["public"]["CompositeTypes"]["proxy_record"][];
|
|
3343
3139
|
SetofOptions: {
|
|
3344
3140
|
from: "*";
|
|
3345
|
-
to: "
|
|
3141
|
+
to: "proxy_record";
|
|
3346
3142
|
isOneToOne: false;
|
|
3347
3143
|
isSetofReturn: true;
|
|
3348
3144
|
};
|
|
@@ -3356,20 +3152,10 @@ export type Database = {
|
|
|
3356
3152
|
p_type: string;
|
|
3357
3153
|
p_url: string;
|
|
3358
3154
|
};
|
|
3359
|
-
Returns:
|
|
3360
|
-
created_at: string;
|
|
3361
|
-
description: string | null;
|
|
3362
|
-
enabled: boolean;
|
|
3363
|
-
id: string;
|
|
3364
|
-
name: string | null;
|
|
3365
|
-
type: string | null;
|
|
3366
|
-
updated_at: string | null;
|
|
3367
|
-
url: string;
|
|
3368
|
-
user_id: string | null;
|
|
3369
|
-
}[];
|
|
3155
|
+
Returns: Database["public"]["CompositeTypes"]["proxy_record"][];
|
|
3370
3156
|
SetofOptions: {
|
|
3371
3157
|
from: "*";
|
|
3372
|
-
to: "
|
|
3158
|
+
to: "proxy_record";
|
|
3373
3159
|
isOneToOne: false;
|
|
3374
3160
|
isSetofReturn: true;
|
|
3375
3161
|
};
|
|
@@ -3394,26 +3180,23 @@ export type Database = {
|
|
|
3394
3180
|
p_slug?: string;
|
|
3395
3181
|
p_type?: string;
|
|
3396
3182
|
};
|
|
3397
|
-
Returns:
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
updated_at: string;
|
|
3405
|
-
url: string;
|
|
3406
|
-
}[];
|
|
3183
|
+
Returns: Database["public"]["CompositeTypes"]["resource_list_record"][];
|
|
3184
|
+
SetofOptions: {
|
|
3185
|
+
from: "*";
|
|
3186
|
+
to: "resource_list_record";
|
|
3187
|
+
isOneToOne: false;
|
|
3188
|
+
isSetofReturn: true;
|
|
3189
|
+
};
|
|
3407
3190
|
};
|
|
3408
3191
|
resource_upsert: {
|
|
3409
3192
|
Args: {
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
key: string;
|
|
3193
|
+
p_content?: Json;
|
|
3194
|
+
p_description?: string;
|
|
3413
3195
|
p_id?: string;
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3196
|
+
p_key?: string;
|
|
3197
|
+
p_target_id?: string;
|
|
3198
|
+
p_title?: string;
|
|
3199
|
+
p_type?: string;
|
|
3417
3200
|
};
|
|
3418
3201
|
Returns: string;
|
|
3419
3202
|
};
|
|
@@ -3447,71 +3230,32 @@ export type Database = {
|
|
|
3447
3230
|
isSetofReturn: true;
|
|
3448
3231
|
};
|
|
3449
3232
|
};
|
|
3450
|
-
|
|
3451
|
-
Args: {
|
|
3452
|
-
target_id: string;
|
|
3453
|
-
};
|
|
3454
|
-
Returns: undefined;
|
|
3455
|
-
};
|
|
3456
|
-
server_instance_get: {
|
|
3233
|
+
server_instance_bootstrap: {
|
|
3457
3234
|
Args: {
|
|
3458
|
-
|
|
3235
|
+
p_instance_id: string;
|
|
3459
3236
|
};
|
|
3460
|
-
Returns:
|
|
3461
|
-
cloudflared_token: string | null;
|
|
3462
|
-
created_at: string;
|
|
3463
|
-
host_id: string | null;
|
|
3464
|
-
id: string;
|
|
3465
|
-
is_shared: boolean | null;
|
|
3466
|
-
latest_pull_at: string | null;
|
|
3467
|
-
name: string | null;
|
|
3468
|
-
runtime: string | null;
|
|
3469
|
-
state: Json | null;
|
|
3470
|
-
status: Database["public"]["Enums"]["worker_status"] | null;
|
|
3471
|
-
updated_at: string;
|
|
3472
|
-
user_id: string | null;
|
|
3473
|
-
}[];
|
|
3237
|
+
Returns: Database["public"]["CompositeTypes"]["bootstrap_result"][];
|
|
3474
3238
|
SetofOptions: {
|
|
3475
3239
|
from: "*";
|
|
3476
|
-
to: "
|
|
3240
|
+
to: "bootstrap_result";
|
|
3477
3241
|
isOneToOne: false;
|
|
3478
3242
|
isSetofReturn: true;
|
|
3479
3243
|
};
|
|
3480
3244
|
};
|
|
3481
|
-
|
|
3245
|
+
server_instance_delete: {
|
|
3482
3246
|
Args: {
|
|
3483
|
-
|
|
3247
|
+
p_id: string;
|
|
3484
3248
|
};
|
|
3485
|
-
Returns:
|
|
3486
|
-
error: string;
|
|
3487
|
-
success: boolean;
|
|
3488
|
-
temp_domain: string;
|
|
3489
|
-
}[];
|
|
3249
|
+
Returns: undefined;
|
|
3490
3250
|
};
|
|
3491
|
-
|
|
3251
|
+
server_instance_get: {
|
|
3492
3252
|
Args: {
|
|
3493
|
-
|
|
3494
|
-
p_host_id?: string;
|
|
3495
|
-
page_no?: number;
|
|
3496
|
-
page_size?: number;
|
|
3253
|
+
p_id: string;
|
|
3497
3254
|
};
|
|
3498
|
-
Returns:
|
|
3499
|
-
cloudflared_token: string | null;
|
|
3500
|
-
created_at: string;
|
|
3501
|
-
host_id: string | null;
|
|
3502
|
-
id: string;
|
|
3503
|
-
is_shared: boolean | null;
|
|
3504
|
-
latest_pull_at: string | null;
|
|
3505
|
-
name: string | null;
|
|
3506
|
-
runtime: string | null;
|
|
3507
|
-
state: Json | null;
|
|
3508
|
-
status: Database["public"]["Enums"]["worker_status"] | null;
|
|
3509
|
-
updated_at: string;
|
|
3510
|
-
user_id: string | null;
|
|
3511
|
-
}[];
|
|
3255
|
+
Returns: Database["public"]["CompositeTypes"]["server_instance_record"][];
|
|
3512
3256
|
SetofOptions: {
|
|
3513
3257
|
from: "*";
|
|
3514
|
-
to: "
|
|
3258
|
+
to: "server_instance_record";
|
|
3515
3259
|
isOneToOne: false;
|
|
3516
3260
|
isSetofReturn: true;
|
|
3517
3261
|
};
|
|
@@ -3521,63 +3265,49 @@ export type Database = {
|
|
|
3521
3265
|
p_cursor_id?: string;
|
|
3522
3266
|
p_cursor_is_shared?: boolean;
|
|
3523
3267
|
p_cursor_updated_at?: string;
|
|
3524
|
-
p_host_id?: string;
|
|
3525
3268
|
p_is_shared?: boolean;
|
|
3526
3269
|
p_kw?: string;
|
|
3527
3270
|
p_limit?: number;
|
|
3528
3271
|
p_tag_ids?: string[];
|
|
3529
3272
|
};
|
|
3530
|
-
Returns:
|
|
3531
|
-
cloudflared_token: string | null;
|
|
3532
|
-
created_at: string;
|
|
3533
|
-
host_id: string | null;
|
|
3534
|
-
id: string;
|
|
3535
|
-
is_shared: boolean | null;
|
|
3536
|
-
latest_pull_at: string | null;
|
|
3537
|
-
name: string | null;
|
|
3538
|
-
runtime: string | null;
|
|
3539
|
-
state: Json | null;
|
|
3540
|
-
status: Database["public"]["Enums"]["worker_status"] | null;
|
|
3541
|
-
updated_at: string;
|
|
3542
|
-
user_id: string | null;
|
|
3543
|
-
}[];
|
|
3273
|
+
Returns: Database["public"]["CompositeTypes"]["server_instance_record"][];
|
|
3544
3274
|
SetofOptions: {
|
|
3545
3275
|
from: "*";
|
|
3546
|
-
to: "
|
|
3276
|
+
to: "server_instance_record";
|
|
3547
3277
|
isOneToOne: false;
|
|
3548
3278
|
isSetofReturn: true;
|
|
3549
3279
|
};
|
|
3550
3280
|
};
|
|
3281
|
+
server_instance_probe: {
|
|
3282
|
+
Args: {
|
|
3283
|
+
p_instance_id: string;
|
|
3284
|
+
};
|
|
3285
|
+
Returns: undefined;
|
|
3286
|
+
};
|
|
3551
3287
|
server_instance_upsert: {
|
|
3552
3288
|
Args: {
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
p_is_managed?: boolean;
|
|
3289
|
+
p_config?: Json;
|
|
3290
|
+
p_id?: string;
|
|
3291
|
+
p_is_public?: boolean;
|
|
3557
3292
|
p_is_shared?: boolean;
|
|
3558
3293
|
p_name?: string;
|
|
3559
|
-
p_runtime?: string;
|
|
3560
3294
|
p_state?: Json;
|
|
3561
|
-
p_status?: Database["public"]["Enums"]["
|
|
3562
|
-
p_user_id?: string;
|
|
3295
|
+
p_status?: Database["public"]["Enums"]["server_status"];
|
|
3563
3296
|
};
|
|
3564
|
-
Returns:
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
updated_at: string;
|
|
3576
|
-
user_id: string | null;
|
|
3577
|
-
}[];
|
|
3297
|
+
Returns: Database["public"]["CompositeTypes"]["server_instance_record"][];
|
|
3298
|
+
SetofOptions: {
|
|
3299
|
+
from: "*";
|
|
3300
|
+
to: "server_instance_record";
|
|
3301
|
+
isOneToOne: false;
|
|
3302
|
+
isSetofReturn: true;
|
|
3303
|
+
};
|
|
3304
|
+
};
|
|
3305
|
+
service_health_summary: {
|
|
3306
|
+
Args: never;
|
|
3307
|
+
Returns: Database["public"]["CompositeTypes"]["service_health_record"][];
|
|
3578
3308
|
SetofOptions: {
|
|
3579
3309
|
from: "*";
|
|
3580
|
-
to: "
|
|
3310
|
+
to: "service_health_record";
|
|
3581
3311
|
isOneToOne: false;
|
|
3582
3312
|
isSetofReturn: true;
|
|
3583
3313
|
};
|
|
@@ -3596,6 +3326,19 @@ export type Database = {
|
|
|
3596
3326
|
};
|
|
3597
3327
|
Returns: undefined;
|
|
3598
3328
|
};
|
|
3329
|
+
sys_event_log: {
|
|
3330
|
+
Args: {
|
|
3331
|
+
p_content: string;
|
|
3332
|
+
p_event_type: string;
|
|
3333
|
+
p_level?: string;
|
|
3334
|
+
p_meta?: Json;
|
|
3335
|
+
p_module?: string;
|
|
3336
|
+
p_notify_admins?: boolean;
|
|
3337
|
+
p_resource_id?: string;
|
|
3338
|
+
p_resource_type?: string;
|
|
3339
|
+
};
|
|
3340
|
+
Returns: string;
|
|
3341
|
+
};
|
|
3599
3342
|
sys_get_db_schema: {
|
|
3600
3343
|
Args: {
|
|
3601
3344
|
p_excluded_tables?: string[];
|
|
@@ -3610,6 +3353,37 @@ export type Database = {
|
|
|
3610
3353
|
};
|
|
3611
3354
|
Returns: undefined;
|
|
3612
3355
|
};
|
|
3356
|
+
sys_log_list: {
|
|
3357
|
+
Args: {
|
|
3358
|
+
p_cursor?: string;
|
|
3359
|
+
p_event_type?: string;
|
|
3360
|
+
p_level_max?: Database["public"]["Enums"]["sys_log_level"];
|
|
3361
|
+
p_limit?: number;
|
|
3362
|
+
p_module?: string;
|
|
3363
|
+
p_resource_id?: string;
|
|
3364
|
+
p_resource_type?: string;
|
|
3365
|
+
};
|
|
3366
|
+
Returns: Database["public"]["CompositeTypes"]["sys_log_record"][];
|
|
3367
|
+
SetofOptions: {
|
|
3368
|
+
from: "*";
|
|
3369
|
+
to: "sys_log_record";
|
|
3370
|
+
isOneToOne: false;
|
|
3371
|
+
isSetofReturn: true;
|
|
3372
|
+
};
|
|
3373
|
+
};
|
|
3374
|
+
sys_log_validate_meta: {
|
|
3375
|
+
Args: {
|
|
3376
|
+
p_event_type: string;
|
|
3377
|
+
p_meta: Json;
|
|
3378
|
+
};
|
|
3379
|
+
Returns: boolean;
|
|
3380
|
+
};
|
|
3381
|
+
sys_logs_cleanup: {
|
|
3382
|
+
Args: {
|
|
3383
|
+
p_retention_days?: number;
|
|
3384
|
+
};
|
|
3385
|
+
Returns: undefined;
|
|
3386
|
+
};
|
|
3613
3387
|
system_config_public_delete: {
|
|
3614
3388
|
Args: {
|
|
3615
3389
|
p_key: string;
|
|
@@ -3625,15 +3399,21 @@ export type Database = {
|
|
|
3625
3399
|
system_config_public_list: {
|
|
3626
3400
|
Args: never;
|
|
3627
3401
|
Returns: {
|
|
3628
|
-
|
|
3402
|
+
created_at: string | null;
|
|
3403
|
+
description: string | null;
|
|
3629
3404
|
key: string;
|
|
3630
|
-
updated_at: string;
|
|
3405
|
+
updated_at: string | null;
|
|
3631
3406
|
value: Json;
|
|
3632
3407
|
}[];
|
|
3408
|
+
SetofOptions: {
|
|
3409
|
+
from: "*";
|
|
3410
|
+
to: "system_config_public";
|
|
3411
|
+
isOneToOne: false;
|
|
3412
|
+
isSetofReturn: true;
|
|
3413
|
+
};
|
|
3633
3414
|
};
|
|
3634
3415
|
system_config_public_set: {
|
|
3635
3416
|
Args: {
|
|
3636
|
-
p_description?: string;
|
|
3637
3417
|
p_key: string;
|
|
3638
3418
|
p_value: Json;
|
|
3639
3419
|
};
|
|
@@ -3669,20 +3449,397 @@ export type Database = {
|
|
|
3669
3449
|
isSetofReturn: true;
|
|
3670
3450
|
};
|
|
3671
3451
|
};
|
|
3672
|
-
|
|
3452
|
+
task_ack: {
|
|
3673
3453
|
Args: {
|
|
3674
|
-
|
|
3675
|
-
p_type: string;
|
|
3454
|
+
p_msg_id: number;
|
|
3676
3455
|
};
|
|
3677
|
-
Returns:
|
|
3456
|
+
Returns: undefined;
|
|
3678
3457
|
};
|
|
3679
|
-
|
|
3680
|
-
Args:
|
|
3681
|
-
|
|
3458
|
+
task_attempt_dispatch: {
|
|
3459
|
+
Args: {
|
|
3460
|
+
p_task: Database["public"]["Tables"]["tasks"]["Row"];
|
|
3461
|
+
};
|
|
3462
|
+
Returns: {
|
|
3463
|
+
code: string | null;
|
|
3464
|
+
code_type: Database["public"]["Enums"]["task_code_type"] | null;
|
|
3465
|
+
completed_at: string | null;
|
|
3466
|
+
context_id: string | null;
|
|
3467
|
+
context_type: string | null;
|
|
3468
|
+
created_at: string;
|
|
3469
|
+
description: string | null;
|
|
3470
|
+
error: string | null;
|
|
3471
|
+
executor_id: string | null;
|
|
3472
|
+
executor_type: string | null;
|
|
3473
|
+
id: string;
|
|
3474
|
+
max_retries: number;
|
|
3475
|
+
meta: Json;
|
|
3476
|
+
parent_id: string | null;
|
|
3477
|
+
priority: number;
|
|
3478
|
+
result: Json | null;
|
|
3479
|
+
result_text: string | null;
|
|
3480
|
+
retry_count: number;
|
|
3481
|
+
scheduled_at: string | null;
|
|
3482
|
+
started_at: string | null;
|
|
3483
|
+
status: Database["public"]["Enums"]["task_status"];
|
|
3484
|
+
tags: string[];
|
|
3485
|
+
title: string;
|
|
3486
|
+
updated_at: string;
|
|
3487
|
+
user_id: string;
|
|
3488
|
+
};
|
|
3489
|
+
SetofOptions: {
|
|
3490
|
+
from: "tasks";
|
|
3491
|
+
to: "tasks";
|
|
3492
|
+
isOneToOne: true;
|
|
3493
|
+
isSetofReturn: false;
|
|
3494
|
+
};
|
|
3495
|
+
};
|
|
3496
|
+
task_cancel: {
|
|
3497
|
+
Args: {
|
|
3498
|
+
p_id: string;
|
|
3499
|
+
};
|
|
3500
|
+
Returns: {
|
|
3501
|
+
code: string | null;
|
|
3502
|
+
code_type: Database["public"]["Enums"]["task_code_type"] | null;
|
|
3503
|
+
completed_at: string | null;
|
|
3504
|
+
context_id: string | null;
|
|
3505
|
+
context_type: string | null;
|
|
3506
|
+
created_at: string;
|
|
3507
|
+
description: string | null;
|
|
3508
|
+
error: string | null;
|
|
3509
|
+
executor_id: string | null;
|
|
3510
|
+
executor_type: string | null;
|
|
3511
|
+
id: string;
|
|
3512
|
+
max_retries: number;
|
|
3513
|
+
meta: Json;
|
|
3514
|
+
parent_id: string | null;
|
|
3515
|
+
priority: number;
|
|
3516
|
+
result: Json | null;
|
|
3517
|
+
result_text: string | null;
|
|
3518
|
+
retry_count: number;
|
|
3519
|
+
scheduled_at: string | null;
|
|
3520
|
+
started_at: string | null;
|
|
3521
|
+
status: Database["public"]["Enums"]["task_status"];
|
|
3522
|
+
tags: string[];
|
|
3523
|
+
title: string;
|
|
3524
|
+
updated_at: string;
|
|
3525
|
+
user_id: string;
|
|
3526
|
+
}[];
|
|
3527
|
+
SetofOptions: {
|
|
3528
|
+
from: "*";
|
|
3529
|
+
to: "tasks";
|
|
3530
|
+
isOneToOne: false;
|
|
3531
|
+
isSetofReturn: true;
|
|
3532
|
+
};
|
|
3533
|
+
};
|
|
3534
|
+
task_complete: {
|
|
3535
|
+
Args: {
|
|
3536
|
+
p_error?: string;
|
|
3537
|
+
p_id: string;
|
|
3538
|
+
p_result?: Json;
|
|
3539
|
+
p_result_text?: string;
|
|
3540
|
+
p_success: boolean;
|
|
3541
|
+
};
|
|
3542
|
+
Returns: {
|
|
3543
|
+
code: string | null;
|
|
3544
|
+
code_type: Database["public"]["Enums"]["task_code_type"] | null;
|
|
3545
|
+
completed_at: string | null;
|
|
3546
|
+
context_id: string | null;
|
|
3547
|
+
context_type: string | null;
|
|
3548
|
+
created_at: string;
|
|
3549
|
+
description: string | null;
|
|
3550
|
+
error: string | null;
|
|
3551
|
+
executor_id: string | null;
|
|
3552
|
+
executor_type: string | null;
|
|
3553
|
+
id: string;
|
|
3554
|
+
max_retries: number;
|
|
3555
|
+
meta: Json;
|
|
3556
|
+
parent_id: string | null;
|
|
3557
|
+
priority: number;
|
|
3558
|
+
result: Json | null;
|
|
3559
|
+
result_text: string | null;
|
|
3560
|
+
retry_count: number;
|
|
3561
|
+
scheduled_at: string | null;
|
|
3562
|
+
started_at: string | null;
|
|
3563
|
+
status: Database["public"]["Enums"]["task_status"];
|
|
3564
|
+
tags: string[];
|
|
3565
|
+
title: string;
|
|
3566
|
+
updated_at: string;
|
|
3567
|
+
user_id: string;
|
|
3568
|
+
}[];
|
|
3569
|
+
SetofOptions: {
|
|
3570
|
+
from: "*";
|
|
3571
|
+
to: "tasks";
|
|
3572
|
+
isOneToOne: false;
|
|
3573
|
+
isSetofReturn: true;
|
|
3574
|
+
};
|
|
3575
|
+
};
|
|
3576
|
+
task_derive: {
|
|
3577
|
+
Args: {
|
|
3578
|
+
p_code: string;
|
|
3579
|
+
p_code_type: Database["public"]["Enums"]["task_code_type"];
|
|
3580
|
+
p_description?: string;
|
|
3581
|
+
p_meta?: Json;
|
|
3582
|
+
p_parent_id: string;
|
|
3583
|
+
p_title: string;
|
|
3584
|
+
};
|
|
3585
|
+
Returns: {
|
|
3586
|
+
code: string | null;
|
|
3587
|
+
code_type: Database["public"]["Enums"]["task_code_type"] | null;
|
|
3588
|
+
completed_at: string | null;
|
|
3589
|
+
context_id: string | null;
|
|
3590
|
+
context_type: string | null;
|
|
3591
|
+
created_at: string;
|
|
3592
|
+
description: string | null;
|
|
3593
|
+
error: string | null;
|
|
3594
|
+
executor_id: string | null;
|
|
3595
|
+
executor_type: string | null;
|
|
3596
|
+
id: string;
|
|
3597
|
+
max_retries: number;
|
|
3598
|
+
meta: Json;
|
|
3599
|
+
parent_id: string | null;
|
|
3600
|
+
priority: number;
|
|
3601
|
+
result: Json | null;
|
|
3602
|
+
result_text: string | null;
|
|
3603
|
+
retry_count: number;
|
|
3604
|
+
scheduled_at: string | null;
|
|
3605
|
+
started_at: string | null;
|
|
3606
|
+
status: Database["public"]["Enums"]["task_status"];
|
|
3607
|
+
tags: string[];
|
|
3608
|
+
title: string;
|
|
3609
|
+
updated_at: string;
|
|
3610
|
+
user_id: string;
|
|
3611
|
+
}[];
|
|
3612
|
+
SetofOptions: {
|
|
3613
|
+
from: "*";
|
|
3614
|
+
to: "tasks";
|
|
3615
|
+
isOneToOne: false;
|
|
3616
|
+
isSetofReturn: true;
|
|
3617
|
+
};
|
|
3618
|
+
};
|
|
3619
|
+
task_get: {
|
|
3620
|
+
Args: {
|
|
3621
|
+
p_id: string;
|
|
3622
|
+
};
|
|
3623
|
+
Returns: {
|
|
3624
|
+
code: string | null;
|
|
3625
|
+
code_type: Database["public"]["Enums"]["task_code_type"] | null;
|
|
3626
|
+
completed_at: string | null;
|
|
3627
|
+
context_id: string | null;
|
|
3628
|
+
context_type: string | null;
|
|
3629
|
+
created_at: string;
|
|
3630
|
+
description: string | null;
|
|
3631
|
+
error: string | null;
|
|
3632
|
+
executor_id: string | null;
|
|
3633
|
+
executor_type: string | null;
|
|
3634
|
+
id: string;
|
|
3635
|
+
max_retries: number;
|
|
3636
|
+
meta: Json;
|
|
3637
|
+
parent_id: string | null;
|
|
3638
|
+
priority: number;
|
|
3639
|
+
result: Json | null;
|
|
3640
|
+
result_text: string | null;
|
|
3641
|
+
retry_count: number;
|
|
3642
|
+
scheduled_at: string | null;
|
|
3643
|
+
started_at: string | null;
|
|
3644
|
+
status: Database["public"]["Enums"]["task_status"];
|
|
3645
|
+
tags: string[];
|
|
3646
|
+
title: string;
|
|
3647
|
+
updated_at: string;
|
|
3648
|
+
user_id: string;
|
|
3649
|
+
}[];
|
|
3650
|
+
SetofOptions: {
|
|
3651
|
+
from: "*";
|
|
3652
|
+
to: "tasks";
|
|
3653
|
+
isOneToOne: false;
|
|
3654
|
+
isSetofReturn: true;
|
|
3655
|
+
};
|
|
3656
|
+
};
|
|
3657
|
+
task_list_cursor: {
|
|
3658
|
+
Args: {
|
|
3659
|
+
p_code_type?: Database["public"]["Enums"]["task_code_type"];
|
|
3660
|
+
p_context_id?: string;
|
|
3661
|
+
p_context_type?: string;
|
|
3662
|
+
p_cursor?: string;
|
|
3663
|
+
p_limit?: number;
|
|
3664
|
+
p_parent_id?: string;
|
|
3665
|
+
p_status?: Database["public"]["Enums"]["task_status"];
|
|
3666
|
+
p_tag?: string;
|
|
3667
|
+
};
|
|
3668
|
+
Returns: {
|
|
3669
|
+
code: string | null;
|
|
3670
|
+
code_type: Database["public"]["Enums"]["task_code_type"] | null;
|
|
3671
|
+
completed_at: string | null;
|
|
3672
|
+
context_id: string | null;
|
|
3673
|
+
context_type: string | null;
|
|
3674
|
+
created_at: string;
|
|
3675
|
+
description: string | null;
|
|
3676
|
+
error: string | null;
|
|
3677
|
+
executor_id: string | null;
|
|
3678
|
+
executor_type: string | null;
|
|
3679
|
+
id: string;
|
|
3680
|
+
max_retries: number;
|
|
3681
|
+
meta: Json;
|
|
3682
|
+
parent_id: string | null;
|
|
3683
|
+
priority: number;
|
|
3684
|
+
result: Json | null;
|
|
3685
|
+
result_text: string | null;
|
|
3686
|
+
retry_count: number;
|
|
3687
|
+
scheduled_at: string | null;
|
|
3688
|
+
started_at: string | null;
|
|
3689
|
+
status: Database["public"]["Enums"]["task_status"];
|
|
3690
|
+
tags: string[];
|
|
3691
|
+
title: string;
|
|
3692
|
+
updated_at: string;
|
|
3693
|
+
user_id: string;
|
|
3694
|
+
}[];
|
|
3695
|
+
SetofOptions: {
|
|
3696
|
+
from: "*";
|
|
3697
|
+
to: "tasks";
|
|
3698
|
+
isOneToOne: false;
|
|
3699
|
+
isSetofReturn: true;
|
|
3700
|
+
};
|
|
3701
|
+
};
|
|
3702
|
+
task_schedule_next: {
|
|
3703
|
+
Args: never;
|
|
3704
|
+
Returns: undefined;
|
|
3705
|
+
};
|
|
3706
|
+
task_submit: {
|
|
3707
|
+
Args: {
|
|
3708
|
+
p_id: string;
|
|
3709
|
+
};
|
|
3710
|
+
Returns: {
|
|
3711
|
+
code: string | null;
|
|
3712
|
+
code_type: Database["public"]["Enums"]["task_code_type"] | null;
|
|
3713
|
+
completed_at: string | null;
|
|
3714
|
+
context_id: string | null;
|
|
3715
|
+
context_type: string | null;
|
|
3716
|
+
created_at: string;
|
|
3717
|
+
description: string | null;
|
|
3718
|
+
error: string | null;
|
|
3719
|
+
executor_id: string | null;
|
|
3720
|
+
executor_type: string | null;
|
|
3721
|
+
id: string;
|
|
3722
|
+
max_retries: number;
|
|
3723
|
+
meta: Json;
|
|
3724
|
+
parent_id: string | null;
|
|
3725
|
+
priority: number;
|
|
3726
|
+
result: Json | null;
|
|
3727
|
+
result_text: string | null;
|
|
3728
|
+
retry_count: number;
|
|
3729
|
+
scheduled_at: string | null;
|
|
3730
|
+
started_at: string | null;
|
|
3731
|
+
status: Database["public"]["Enums"]["task_status"];
|
|
3732
|
+
tags: string[];
|
|
3733
|
+
title: string;
|
|
3734
|
+
updated_at: string;
|
|
3735
|
+
user_id: string;
|
|
3736
|
+
}[];
|
|
3737
|
+
SetofOptions: {
|
|
3738
|
+
from: "*";
|
|
3739
|
+
to: "tasks";
|
|
3740
|
+
isOneToOne: false;
|
|
3741
|
+
isSetofReturn: true;
|
|
3742
|
+
};
|
|
3743
|
+
};
|
|
3744
|
+
task_timeout_check: {
|
|
3745
|
+
Args: never;
|
|
3746
|
+
Returns: undefined;
|
|
3747
|
+
};
|
|
3748
|
+
task_tree: {
|
|
3749
|
+
Args: {
|
|
3750
|
+
p_task_id: string;
|
|
3751
|
+
};
|
|
3752
|
+
Returns: {
|
|
3753
|
+
code: string | null;
|
|
3754
|
+
code_type: Database["public"]["Enums"]["task_code_type"] | null;
|
|
3755
|
+
completed_at: string | null;
|
|
3756
|
+
context_id: string | null;
|
|
3757
|
+
context_type: string | null;
|
|
3758
|
+
created_at: string;
|
|
3759
|
+
description: string | null;
|
|
3760
|
+
error: string | null;
|
|
3761
|
+
executor_id: string | null;
|
|
3762
|
+
executor_type: string | null;
|
|
3763
|
+
id: string;
|
|
3764
|
+
max_retries: number;
|
|
3765
|
+
meta: Json;
|
|
3766
|
+
parent_id: string | null;
|
|
3767
|
+
priority: number;
|
|
3768
|
+
result: Json | null;
|
|
3769
|
+
result_text: string | null;
|
|
3770
|
+
retry_count: number;
|
|
3771
|
+
scheduled_at: string | null;
|
|
3772
|
+
started_at: string | null;
|
|
3773
|
+
status: Database["public"]["Enums"]["task_status"];
|
|
3774
|
+
tags: string[];
|
|
3775
|
+
title: string;
|
|
3776
|
+
updated_at: string;
|
|
3777
|
+
user_id: string;
|
|
3778
|
+
}[];
|
|
3779
|
+
SetofOptions: {
|
|
3780
|
+
from: "*";
|
|
3781
|
+
to: "tasks";
|
|
3782
|
+
isOneToOne: false;
|
|
3783
|
+
isSetofReturn: true;
|
|
3784
|
+
};
|
|
3785
|
+
};
|
|
3786
|
+
task_upsert: {
|
|
3787
|
+
Args: {
|
|
3788
|
+
p_code?: string;
|
|
3789
|
+
p_code_type?: Database["public"]["Enums"]["task_code_type"];
|
|
3790
|
+
p_context_id?: string;
|
|
3791
|
+
p_context_type?: string;
|
|
3792
|
+
p_description?: string;
|
|
3793
|
+
p_executor_id?: string;
|
|
3794
|
+
p_executor_type?: string;
|
|
3795
|
+
p_id?: string;
|
|
3796
|
+
p_max_retries?: number;
|
|
3797
|
+
p_meta?: Json;
|
|
3798
|
+
p_parent_id?: string;
|
|
3799
|
+
p_priority?: number;
|
|
3800
|
+
p_scheduled_at?: string;
|
|
3801
|
+
p_status?: Database["public"]["Enums"]["task_status"];
|
|
3802
|
+
p_tags?: string[];
|
|
3803
|
+
p_title?: string;
|
|
3804
|
+
};
|
|
3805
|
+
Returns: {
|
|
3806
|
+
code: string | null;
|
|
3807
|
+
code_type: Database["public"]["Enums"]["task_code_type"] | null;
|
|
3808
|
+
completed_at: string | null;
|
|
3809
|
+
context_id: string | null;
|
|
3810
|
+
context_type: string | null;
|
|
3811
|
+
created_at: string;
|
|
3812
|
+
description: string | null;
|
|
3813
|
+
error: string | null;
|
|
3814
|
+
executor_id: string | null;
|
|
3815
|
+
executor_type: string | null;
|
|
3816
|
+
id: string;
|
|
3817
|
+
max_retries: number;
|
|
3818
|
+
meta: Json;
|
|
3819
|
+
parent_id: string | null;
|
|
3820
|
+
priority: number;
|
|
3821
|
+
result: Json | null;
|
|
3822
|
+
result_text: string | null;
|
|
3823
|
+
retry_count: number;
|
|
3824
|
+
scheduled_at: string | null;
|
|
3825
|
+
started_at: string | null;
|
|
3826
|
+
status: Database["public"]["Enums"]["task_status"];
|
|
3827
|
+
tags: string[];
|
|
3828
|
+
title: string;
|
|
3829
|
+
updated_at: string;
|
|
3830
|
+
user_id: string;
|
|
3831
|
+
}[];
|
|
3832
|
+
SetofOptions: {
|
|
3833
|
+
from: "*";
|
|
3834
|
+
to: "tasks";
|
|
3835
|
+
isOneToOne: false;
|
|
3836
|
+
isSetofReturn: true;
|
|
3837
|
+
};
|
|
3682
3838
|
};
|
|
3683
3839
|
telegram_login_start: {
|
|
3684
3840
|
Args: {
|
|
3685
3841
|
p_account_id: string;
|
|
3842
|
+
p_use_sms?: boolean;
|
|
3686
3843
|
};
|
|
3687
3844
|
Returns: undefined;
|
|
3688
3845
|
};
|
|
@@ -3700,21 +3857,60 @@ export type Database = {
|
|
|
3700
3857
|
};
|
|
3701
3858
|
Returns: undefined;
|
|
3702
3859
|
};
|
|
3703
|
-
|
|
3860
|
+
traffic_log_delete: {
|
|
3704
3861
|
Args: never;
|
|
3705
|
-
Returns:
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3862
|
+
Returns: undefined;
|
|
3863
|
+
};
|
|
3864
|
+
traffic_log_insert: {
|
|
3865
|
+
Args: {
|
|
3866
|
+
p_logs: Json;
|
|
3867
|
+
};
|
|
3868
|
+
Returns: undefined;
|
|
3710
3869
|
};
|
|
3711
|
-
|
|
3870
|
+
traffic_log_list: {
|
|
3712
3871
|
Args: {
|
|
3713
|
-
|
|
3872
|
+
p_limit?: number;
|
|
3873
|
+
p_offset?: number;
|
|
3714
3874
|
};
|
|
3715
3875
|
Returns: {
|
|
3876
|
+
client_ip: string | null;
|
|
3877
|
+
created_at: string | null;
|
|
3878
|
+
error: string | null;
|
|
3879
|
+
host: string | null;
|
|
3716
3880
|
id: string;
|
|
3881
|
+
method: string | null;
|
|
3882
|
+
path: string | null;
|
|
3883
|
+
request_headers: Json | null;
|
|
3884
|
+
response_headers: Json | null;
|
|
3885
|
+
scheme: string | null;
|
|
3886
|
+
started_at: string | null;
|
|
3887
|
+
status_code: number | null;
|
|
3888
|
+
url: string | null;
|
|
3889
|
+
user_id: string | null;
|
|
3890
|
+
worker_id: string | null;
|
|
3717
3891
|
}[];
|
|
3892
|
+
SetofOptions: {
|
|
3893
|
+
from: "*";
|
|
3894
|
+
to: "traffic_logs";
|
|
3895
|
+
isOneToOne: false;
|
|
3896
|
+
isSetofReturn: true;
|
|
3897
|
+
};
|
|
3898
|
+
};
|
|
3899
|
+
user_create: {
|
|
3900
|
+
Args: {
|
|
3901
|
+
p_email: string;
|
|
3902
|
+
p_full_name?: string;
|
|
3903
|
+
p_password: string;
|
|
3904
|
+
p_role?: Database["public"]["Enums"]["app_role"];
|
|
3905
|
+
p_user_id?: string;
|
|
3906
|
+
};
|
|
3907
|
+
Returns: string;
|
|
3908
|
+
};
|
|
3909
|
+
user_delete: {
|
|
3910
|
+
Args: {
|
|
3911
|
+
p_user_id: string;
|
|
3912
|
+
};
|
|
3913
|
+
Returns: undefined;
|
|
3718
3914
|
};
|
|
3719
3915
|
user_log_list: {
|
|
3720
3916
|
Args: {
|
|
@@ -3722,15 +3918,22 @@ export type Database = {
|
|
|
3722
3918
|
p_page_size?: number;
|
|
3723
3919
|
};
|
|
3724
3920
|
Returns: {
|
|
3725
|
-
content: string;
|
|
3726
|
-
created_at: string;
|
|
3921
|
+
content: string | null;
|
|
3922
|
+
created_at: string | null;
|
|
3727
3923
|
event_type: string;
|
|
3728
3924
|
id: string;
|
|
3729
3925
|
level: string;
|
|
3730
|
-
meta: Json;
|
|
3731
|
-
resource_id: string;
|
|
3732
|
-
resource_type: string;
|
|
3926
|
+
meta: Json | null;
|
|
3927
|
+
resource_id: string | null;
|
|
3928
|
+
resource_type: string | null;
|
|
3929
|
+
user_id: string;
|
|
3733
3930
|
}[];
|
|
3931
|
+
SetofOptions: {
|
|
3932
|
+
from: "*";
|
|
3933
|
+
to: "user_logs";
|
|
3934
|
+
isOneToOne: false;
|
|
3935
|
+
isSetofReturn: true;
|
|
3936
|
+
};
|
|
3734
3937
|
};
|
|
3735
3938
|
user_log_record: {
|
|
3736
3939
|
Args: {
|
|
@@ -3740,19 +3943,15 @@ export type Database = {
|
|
|
3740
3943
|
p_meta?: Json;
|
|
3741
3944
|
p_resource_id?: string;
|
|
3742
3945
|
p_resource_type?: string;
|
|
3946
|
+
p_user_id?: string;
|
|
3743
3947
|
};
|
|
3744
3948
|
Returns: string;
|
|
3745
|
-
}
|
|
3949
|
+
};
|
|
3950
|
+
user_notifications_cleanup: {
|
|
3746
3951
|
Args: {
|
|
3747
|
-
|
|
3748
|
-
p_event_type: string;
|
|
3749
|
-
p_level?: string;
|
|
3750
|
-
p_meta?: Json;
|
|
3751
|
-
p_resource_id?: string;
|
|
3752
|
-
p_resource_type?: string;
|
|
3753
|
-
p_user_id?: string;
|
|
3952
|
+
p_retention_days?: number;
|
|
3754
3953
|
};
|
|
3755
|
-
Returns:
|
|
3954
|
+
Returns: undefined;
|
|
3756
3955
|
};
|
|
3757
3956
|
user_profile_get: {
|
|
3758
3957
|
Args: never;
|
|
@@ -3786,42 +3985,25 @@ export type Database = {
|
|
|
3786
3985
|
isSetofReturn: false;
|
|
3787
3986
|
};
|
|
3788
3987
|
};
|
|
3789
|
-
|
|
3988
|
+
user_role_delete: {
|
|
3790
3989
|
Args: {
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
};
|
|
3794
|
-
Returns: undefined;
|
|
3795
|
-
};
|
|
3796
|
-
worker_process_queue: {
|
|
3797
|
-
Args: {
|
|
3798
|
-
p_limit?: number;
|
|
3799
|
-
p_queue: string;
|
|
3990
|
+
p_role: Database["public"]["Enums"]["app_role"];
|
|
3991
|
+
p_user_id: string;
|
|
3800
3992
|
};
|
|
3801
3993
|
Returns: undefined;
|
|
3802
3994
|
};
|
|
3803
|
-
|
|
3804
|
-
Args: never;
|
|
3805
|
-
Returns: undefined;
|
|
3806
|
-
};
|
|
3807
|
-
worker_pull: {
|
|
3995
|
+
user_role_list: {
|
|
3808
3996
|
Args: {
|
|
3809
|
-
|
|
3997
|
+
p_user_id: string;
|
|
3810
3998
|
};
|
|
3811
|
-
Returns:
|
|
3999
|
+
Returns: Database["public"]["Enums"]["app_role"][];
|
|
3812
4000
|
};
|
|
3813
|
-
|
|
4001
|
+
user_role_upsert: {
|
|
3814
4002
|
Args: {
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
p_payload?: Json;
|
|
3818
|
-
p_result?: Json;
|
|
3819
|
-
p_session_id?: string;
|
|
3820
|
-
p_status?: string;
|
|
3821
|
-
p_type?: string;
|
|
3822
|
-
p_user_id?: string;
|
|
4003
|
+
p_role: Database["public"]["Enums"]["app_role"];
|
|
4004
|
+
p_user_id: string;
|
|
3823
4005
|
};
|
|
3824
|
-
Returns:
|
|
4006
|
+
Returns: undefined;
|
|
3825
4007
|
};
|
|
3826
4008
|
};
|
|
3827
4009
|
Enums: {
|
|
@@ -3831,10 +4013,16 @@ export type Database = {
|
|
|
3831
4013
|
chat_visibility: "private" | "public";
|
|
3832
4014
|
cloud_account_status: "pending" | "active" | "token_expired" | "needs_reauth" | "quota_exceeded" | "suspended" | "disabled";
|
|
3833
4015
|
compute_node_status: "online" | "offline";
|
|
4016
|
+
server_status: "created" | "online" | "offline" | "error";
|
|
4017
|
+
sys_log_level: "error" | "warn" | "info";
|
|
4018
|
+
task_code_type: "sql" | "bash" | "python" | "agent" | "javascript";
|
|
4019
|
+
task_status: "draft" | "pending" | "queued" | "running" | "completed" | "failed" | "cancelled" | "paused";
|
|
3834
4020
|
telegram_login_step: "pending" | "send_code" | "wait_code" | "verify_code" | "need_2fa" | "success" | "failed" | "fetch_info";
|
|
3835
|
-
worker_status: "starting" | "running" | "stopping" | "stopped" | "offline";
|
|
3836
4021
|
};
|
|
3837
4022
|
CompositeTypes: {
|
|
4023
|
+
adk_artifact_key_record: {
|
|
4024
|
+
filename: string | null;
|
|
4025
|
+
};
|
|
3838
4026
|
adk_artifact_meta_record: {
|
|
3839
4027
|
version: number | null;
|
|
3840
4028
|
canonical_uri: string | null;
|
|
@@ -3842,6 +4030,29 @@ export type Database = {
|
|
|
3842
4030
|
create_time: number | null;
|
|
3843
4031
|
mime_type: string | null;
|
|
3844
4032
|
};
|
|
4033
|
+
audit_project_record: {
|
|
4034
|
+
id: string | null;
|
|
4035
|
+
created_at: string | null;
|
|
4036
|
+
updated_at: string | null;
|
|
4037
|
+
user_id: string | null;
|
|
4038
|
+
name: string | null;
|
|
4039
|
+
target: string | null;
|
|
4040
|
+
repo_url: string | null;
|
|
4041
|
+
repo_branch: string | null;
|
|
4042
|
+
config: Json | null;
|
|
4043
|
+
worker_id: string | null;
|
|
4044
|
+
};
|
|
4045
|
+
audit_project_stats_record: {
|
|
4046
|
+
asset_count: number | null;
|
|
4047
|
+
finding_count: number | null;
|
|
4048
|
+
high_risk_count: number | null;
|
|
4049
|
+
task_count: number | null;
|
|
4050
|
+
};
|
|
4051
|
+
bootstrap_result: {
|
|
4052
|
+
success: boolean | null;
|
|
4053
|
+
error: string | null;
|
|
4054
|
+
config: Json | null;
|
|
4055
|
+
};
|
|
3845
4056
|
browser_record: {
|
|
3846
4057
|
id: string | null;
|
|
3847
4058
|
created_at: string | null;
|
|
@@ -3900,6 +4111,22 @@ export type Database = {
|
|
|
3900
4111
|
device_history: Json[] | null;
|
|
3901
4112
|
credentials: Json | null;
|
|
3902
4113
|
};
|
|
4114
|
+
compute_node_list_record: {
|
|
4115
|
+
id: string | null;
|
|
4116
|
+
user_id: string | null;
|
|
4117
|
+
name: string | null;
|
|
4118
|
+
provider: string | null;
|
|
4119
|
+
host: string | null;
|
|
4120
|
+
port: number | null;
|
|
4121
|
+
username: string | null;
|
|
4122
|
+
auth_secret: string | null;
|
|
4123
|
+
status: Database["public"]["Enums"]["compute_node_status"] | null;
|
|
4124
|
+
worker_count: number | null;
|
|
4125
|
+
updated_at: string | null;
|
|
4126
|
+
is_public: boolean | null;
|
|
4127
|
+
created_at: string | null;
|
|
4128
|
+
full_count: number | null;
|
|
4129
|
+
};
|
|
3903
4130
|
compute_node_record: {
|
|
3904
4131
|
id: string | null;
|
|
3905
4132
|
user_id: string | null;
|
|
@@ -3915,6 +4142,12 @@ export type Database = {
|
|
|
3915
4142
|
is_public: boolean | null;
|
|
3916
4143
|
created_at: string | null;
|
|
3917
4144
|
};
|
|
4145
|
+
compute_node_secret_record: {
|
|
4146
|
+
host: string | null;
|
|
4147
|
+
port: number | null;
|
|
4148
|
+
username: string | null;
|
|
4149
|
+
auth_secret: string | null;
|
|
4150
|
+
};
|
|
3918
4151
|
contact_record: {
|
|
3919
4152
|
id: string | null;
|
|
3920
4153
|
created_at: string | null;
|
|
@@ -3939,6 +4172,12 @@ export type Database = {
|
|
|
3939
4172
|
suggestion: string | null;
|
|
3940
4173
|
severity: string | null;
|
|
3941
4174
|
};
|
|
4175
|
+
job_queue_dlq_record: {
|
|
4176
|
+
msg_id: number | null;
|
|
4177
|
+
read_ct: number | null;
|
|
4178
|
+
enqueued_at: string | null;
|
|
4179
|
+
message: Json | null;
|
|
4180
|
+
};
|
|
3942
4181
|
outreach_task_record: {
|
|
3943
4182
|
id: string | null;
|
|
3944
4183
|
created_at: string | null;
|
|
@@ -3955,28 +4194,58 @@ export type Database = {
|
|
|
3955
4194
|
error_message: string | null;
|
|
3956
4195
|
metadata: Json | null;
|
|
3957
4196
|
};
|
|
4197
|
+
proxy_record: {
|
|
4198
|
+
id: string | null;
|
|
4199
|
+
created_at: string | null;
|
|
4200
|
+
updated_at: string | null;
|
|
4201
|
+
name: string | null;
|
|
4202
|
+
description: string | null;
|
|
4203
|
+
url: string | null;
|
|
4204
|
+
type: string | null;
|
|
4205
|
+
enabled: boolean | null;
|
|
4206
|
+
user_id: string | null;
|
|
4207
|
+
};
|
|
4208
|
+
resource_list_record: {
|
|
4209
|
+
id: string | null;
|
|
4210
|
+
target_id: string | null;
|
|
4211
|
+
title: string | null;
|
|
4212
|
+
description: string | null;
|
|
4213
|
+
icon: string | null;
|
|
4214
|
+
type: string | null;
|
|
4215
|
+
url: string | null;
|
|
4216
|
+
updated_at: string | null;
|
|
4217
|
+
};
|
|
3958
4218
|
server_instance_record: {
|
|
3959
4219
|
id: string | null;
|
|
3960
4220
|
name: string | null;
|
|
3961
4221
|
updated_at: string | null;
|
|
3962
4222
|
config: Json | null;
|
|
3963
|
-
status: Database["public"]["Enums"]["
|
|
3964
|
-
host_id: string | null;
|
|
4223
|
+
status: Database["public"]["Enums"]["server_status"] | null;
|
|
3965
4224
|
is_public: boolean | null;
|
|
3966
4225
|
state: Json | null;
|
|
3967
4226
|
created_at: string | null;
|
|
3968
4227
|
user_id: string | null;
|
|
3969
|
-
container_id: string | null;
|
|
3970
|
-
is_managed: boolean | null;
|
|
3971
|
-
type: string | null;
|
|
3972
|
-
runtime: string | null;
|
|
3973
4228
|
is_shared: boolean | null;
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
4229
|
+
};
|
|
4230
|
+
service_health_record: {
|
|
4231
|
+
module: string | null;
|
|
4232
|
+
status: string | null;
|
|
4233
|
+
last_error_at: string | null;
|
|
4234
|
+
last_error_message: string | null;
|
|
4235
|
+
error_count_24h: number | null;
|
|
4236
|
+
};
|
|
4237
|
+
sys_log_record: {
|
|
4238
|
+
id: number | null;
|
|
4239
|
+
created_at: string | null;
|
|
4240
|
+
text: string | null;
|
|
4241
|
+
level: Database["public"]["Enums"]["sys_log_level"] | null;
|
|
4242
|
+
module: string | null;
|
|
4243
|
+
event_type: string | null;
|
|
4244
|
+
meta: Json | null;
|
|
4245
|
+
resource_type: string | null;
|
|
4246
|
+
resource_id: string | null;
|
|
4247
|
+
resource_name: string | null;
|
|
4248
|
+
user_id: string | null;
|
|
3980
4249
|
};
|
|
3981
4250
|
tag_record: {
|
|
3982
4251
|
id: string | null;
|
|
@@ -3987,11 +4256,6 @@ export type Database = {
|
|
|
3987
4256
|
updated_at: string | null;
|
|
3988
4257
|
instance_count: number | null;
|
|
3989
4258
|
};
|
|
3990
|
-
test_result: {
|
|
3991
|
-
test_name: string | null;
|
|
3992
|
-
passed: boolean | null;
|
|
3993
|
-
message: string | null;
|
|
3994
|
-
};
|
|
3995
4259
|
user_notification_record: {
|
|
3996
4260
|
id: string | null;
|
|
3997
4261
|
created_at: string | null;
|
|
@@ -4072,6 +4336,9 @@ export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof Defaul
|
|
|
4072
4336
|
schema: keyof DatabaseWithoutInternals;
|
|
4073
4337
|
} ? DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName] : PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] ? DefaultSchema["CompositeTypes"][PublicCompositeTypeNameOrOptions] : never;
|
|
4074
4338
|
export declare const Constants: {
|
|
4339
|
+
readonly graphql_public: {
|
|
4340
|
+
readonly Enums: {};
|
|
4341
|
+
};
|
|
4075
4342
|
readonly public: {
|
|
4076
4343
|
readonly Enums: {
|
|
4077
4344
|
readonly app_role: readonly ["admin", "moderator", "member"];
|
|
@@ -4080,8 +4347,11 @@ export declare const Constants: {
|
|
|
4080
4347
|
readonly chat_visibility: readonly ["private", "public"];
|
|
4081
4348
|
readonly cloud_account_status: readonly ["pending", "active", "token_expired", "needs_reauth", "quota_exceeded", "suspended", "disabled"];
|
|
4082
4349
|
readonly compute_node_status: readonly ["online", "offline"];
|
|
4350
|
+
readonly server_status: readonly ["created", "online", "offline", "error"];
|
|
4351
|
+
readonly sys_log_level: readonly ["error", "warn", "info"];
|
|
4352
|
+
readonly task_code_type: readonly ["sql", "bash", "python", "agent", "javascript"];
|
|
4353
|
+
readonly task_status: readonly ["draft", "pending", "queued", "running", "completed", "failed", "cancelled", "paused"];
|
|
4083
4354
|
readonly telegram_login_step: readonly ["pending", "send_code", "wait_code", "verify_code", "need_2fa", "success", "failed", "fetch_info"];
|
|
4084
|
-
readonly worker_status: readonly ["starting", "running", "stopping", "stopped", "offline"];
|
|
4085
4355
|
};
|
|
4086
4356
|
};
|
|
4087
4357
|
};
|