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
|
@@ -40,6 +40,34 @@ export const publicCloudAccountStatusSchema = z.enum([
|
|
|
40
40
|
|
|
41
41
|
export const publicComputeNodeStatusSchema = z.enum(["online", "offline"]);
|
|
42
42
|
|
|
43
|
+
export const publicServerStatusSchema = z.enum([
|
|
44
|
+
"created",
|
|
45
|
+
"online",
|
|
46
|
+
"offline",
|
|
47
|
+
"error",
|
|
48
|
+
]);
|
|
49
|
+
|
|
50
|
+
export const publicSysLogLevelSchema = z.enum(["error", "warn", "info"]);
|
|
51
|
+
|
|
52
|
+
export const publicTaskCodeTypeSchema = z.enum([
|
|
53
|
+
"sql",
|
|
54
|
+
"bash",
|
|
55
|
+
"python",
|
|
56
|
+
"agent",
|
|
57
|
+
"javascript",
|
|
58
|
+
]);
|
|
59
|
+
|
|
60
|
+
export const publicTaskStatusSchema = z.enum([
|
|
61
|
+
"draft",
|
|
62
|
+
"pending",
|
|
63
|
+
"queued",
|
|
64
|
+
"running",
|
|
65
|
+
"completed",
|
|
66
|
+
"failed",
|
|
67
|
+
"cancelled",
|
|
68
|
+
"paused",
|
|
69
|
+
]);
|
|
70
|
+
|
|
43
71
|
export const publicTelegramLoginStepSchema = z.enum([
|
|
44
72
|
"pending",
|
|
45
73
|
"send_code",
|
|
@@ -51,14 +79,6 @@ export const publicTelegramLoginStepSchema = z.enum([
|
|
|
51
79
|
"fetch_info",
|
|
52
80
|
]);
|
|
53
81
|
|
|
54
|
-
export const publicWorkerStatusSchema = z.enum([
|
|
55
|
-
"starting",
|
|
56
|
-
"running",
|
|
57
|
-
"stopping",
|
|
58
|
-
"stopped",
|
|
59
|
-
"offline",
|
|
60
|
-
]);
|
|
61
|
-
|
|
62
82
|
export const jsonSchema: z.ZodSchema<Json> = z.lazy(() =>
|
|
63
83
|
z
|
|
64
84
|
.union([
|
|
@@ -427,7 +447,7 @@ export const publicAuditFindingsRelationshipsSchema = z.tuple([
|
|
|
427
447
|
foreignKeyName: z.literal("audit_findings_task_id_fkey"),
|
|
428
448
|
columns: z.tuple([z.literal("task_id")]),
|
|
429
449
|
isOneToOne: z.literal(false),
|
|
430
|
-
referencedRelation: z.literal("
|
|
450
|
+
referencedRelation: z.literal("tasks"),
|
|
431
451
|
referencedColumns: z.tuple([z.literal("id")]),
|
|
432
452
|
}),
|
|
433
453
|
]);
|
|
@@ -576,72 +596,6 @@ export const publicAuditSkillsRelationshipsSchema = z.tuple([
|
|
|
576
596
|
}),
|
|
577
597
|
]);
|
|
578
598
|
|
|
579
|
-
export const publicAuditTasksRowSchema = z.object({
|
|
580
|
-
created_at: z.string(),
|
|
581
|
-
id: z.string(),
|
|
582
|
-
instructions: z.string().nullable(),
|
|
583
|
-
logs_url: z.string().nullable(),
|
|
584
|
-
project_id: z.string(),
|
|
585
|
-
result_summary: z.string().nullable(),
|
|
586
|
-
sandbox_id: z.string().nullable(),
|
|
587
|
-
skill_id: z.string().nullable(),
|
|
588
|
-
status: z.string().nullable(),
|
|
589
|
-
updated_at: z.string(),
|
|
590
|
-
user_id: z.string().nullable(),
|
|
591
|
-
});
|
|
592
|
-
|
|
593
|
-
export const publicAuditTasksInsertSchema = z.object({
|
|
594
|
-
created_at: z.string().optional(),
|
|
595
|
-
id: z.string().optional(),
|
|
596
|
-
instructions: z.string().optional().nullable(),
|
|
597
|
-
logs_url: z.string().optional().nullable(),
|
|
598
|
-
project_id: z.string(),
|
|
599
|
-
result_summary: z.string().optional().nullable(),
|
|
600
|
-
sandbox_id: z.string().optional().nullable(),
|
|
601
|
-
skill_id: z.string().optional().nullable(),
|
|
602
|
-
status: z.string().optional().nullable(),
|
|
603
|
-
updated_at: z.string().optional(),
|
|
604
|
-
user_id: z.string().optional().nullable(),
|
|
605
|
-
});
|
|
606
|
-
|
|
607
|
-
export const publicAuditTasksUpdateSchema = z.object({
|
|
608
|
-
created_at: z.string().optional(),
|
|
609
|
-
id: z.string().optional(),
|
|
610
|
-
instructions: z.string().optional().nullable(),
|
|
611
|
-
logs_url: z.string().optional().nullable(),
|
|
612
|
-
project_id: z.string().optional(),
|
|
613
|
-
result_summary: z.string().optional().nullable(),
|
|
614
|
-
sandbox_id: z.string().optional().nullable(),
|
|
615
|
-
skill_id: z.string().optional().nullable(),
|
|
616
|
-
status: z.string().optional().nullable(),
|
|
617
|
-
updated_at: z.string().optional(),
|
|
618
|
-
user_id: z.string().optional().nullable(),
|
|
619
|
-
});
|
|
620
|
-
|
|
621
|
-
export const publicAuditTasksRelationshipsSchema = z.tuple([
|
|
622
|
-
z.object({
|
|
623
|
-
foreignKeyName: z.literal("audit_tasks_project_id_fkey"),
|
|
624
|
-
columns: z.tuple([z.literal("project_id")]),
|
|
625
|
-
isOneToOne: z.literal(false),
|
|
626
|
-
referencedRelation: z.literal("audit_projects"),
|
|
627
|
-
referencedColumns: z.tuple([z.literal("id")]),
|
|
628
|
-
}),
|
|
629
|
-
z.object({
|
|
630
|
-
foreignKeyName: z.literal("audit_tasks_sandbox_id_fkey"),
|
|
631
|
-
columns: z.tuple([z.literal("sandbox_id")]),
|
|
632
|
-
isOneToOne: z.literal(false),
|
|
633
|
-
referencedRelation: z.literal("resources"),
|
|
634
|
-
referencedColumns: z.tuple([z.literal("id")]),
|
|
635
|
-
}),
|
|
636
|
-
z.object({
|
|
637
|
-
foreignKeyName: z.literal("audit_tasks_skill_id_fkey"),
|
|
638
|
-
columns: z.tuple([z.literal("skill_id")]),
|
|
639
|
-
isOneToOne: z.literal(false),
|
|
640
|
-
referencedRelation: z.literal("audit_skills"),
|
|
641
|
-
referencedColumns: z.tuple([z.literal("id")]),
|
|
642
|
-
}),
|
|
643
|
-
]);
|
|
644
|
-
|
|
645
599
|
export const publicBrowsersRowSchema = z.object({
|
|
646
600
|
cdpUrl: z.string().nullable(),
|
|
647
601
|
config: jsonSchema.nullable(),
|
|
@@ -1396,60 +1350,44 @@ export const publicResourcesUpdateSchema = z.object({
|
|
|
1396
1350
|
});
|
|
1397
1351
|
|
|
1398
1352
|
export const publicServersRowSchema = z.object({
|
|
1399
|
-
|
|
1353
|
+
config: jsonSchema.nullable(),
|
|
1400
1354
|
created_at: z.string(),
|
|
1401
|
-
host_id: z.string().nullable(),
|
|
1402
1355
|
id: z.string(),
|
|
1356
|
+
is_public: z.boolean().nullable(),
|
|
1403
1357
|
is_shared: z.boolean().nullable(),
|
|
1404
|
-
latest_pull_at: z.string().nullable(),
|
|
1405
1358
|
name: z.string().nullable(),
|
|
1406
|
-
runtime: z.string().nullable(),
|
|
1407
1359
|
state: jsonSchema.nullable(),
|
|
1408
|
-
status:
|
|
1360
|
+
status: publicServerStatusSchema.nullable(),
|
|
1409
1361
|
updated_at: z.string(),
|
|
1410
1362
|
user_id: z.string().nullable(),
|
|
1411
1363
|
});
|
|
1412
1364
|
|
|
1413
1365
|
export const publicServersInsertSchema = z.object({
|
|
1414
|
-
|
|
1366
|
+
config: jsonSchema.optional().nullable(),
|
|
1415
1367
|
created_at: z.string().optional(),
|
|
1416
|
-
host_id: z.string().optional().nullable(),
|
|
1417
1368
|
id: z.string(),
|
|
1369
|
+
is_public: z.boolean().optional().nullable(),
|
|
1418
1370
|
is_shared: z.boolean().optional().nullable(),
|
|
1419
|
-
latest_pull_at: z.string().optional().nullable(),
|
|
1420
1371
|
name: z.string().optional().nullable(),
|
|
1421
|
-
runtime: z.string().optional().nullable(),
|
|
1422
1372
|
state: jsonSchema.optional().nullable(),
|
|
1423
|
-
status:
|
|
1373
|
+
status: publicServerStatusSchema.optional().nullable(),
|
|
1424
1374
|
updated_at: z.string().optional(),
|
|
1425
1375
|
user_id: z.string().optional().nullable(),
|
|
1426
1376
|
});
|
|
1427
1377
|
|
|
1428
1378
|
export const publicServersUpdateSchema = z.object({
|
|
1429
|
-
|
|
1379
|
+
config: jsonSchema.optional().nullable(),
|
|
1430
1380
|
created_at: z.string().optional(),
|
|
1431
|
-
host_id: z.string().optional().nullable(),
|
|
1432
1381
|
id: z.string().optional(),
|
|
1382
|
+
is_public: z.boolean().optional().nullable(),
|
|
1433
1383
|
is_shared: z.boolean().optional().nullable(),
|
|
1434
|
-
latest_pull_at: z.string().optional().nullable(),
|
|
1435
1384
|
name: z.string().optional().nullable(),
|
|
1436
|
-
runtime: z.string().optional().nullable(),
|
|
1437
1385
|
state: jsonSchema.optional().nullable(),
|
|
1438
|
-
status:
|
|
1386
|
+
status: publicServerStatusSchema.optional().nullable(),
|
|
1439
1387
|
updated_at: z.string().optional(),
|
|
1440
1388
|
user_id: z.string().optional().nullable(),
|
|
1441
1389
|
});
|
|
1442
1390
|
|
|
1443
|
-
export const publicServersRelationshipsSchema = z.tuple([
|
|
1444
|
-
z.object({
|
|
1445
|
-
foreignKeyName: z.literal("workers_host_id_fkey"),
|
|
1446
|
-
columns: z.tuple([z.literal("host_id")]),
|
|
1447
|
-
isOneToOne: z.literal(false),
|
|
1448
|
-
referencedRelation: z.literal("compute_nodes"),
|
|
1449
|
-
referencedColumns: z.tuple([z.literal("id")]),
|
|
1450
|
-
}),
|
|
1451
|
-
]);
|
|
1452
|
-
|
|
1453
1391
|
export const publicSysConfigRowSchema = z.object({
|
|
1454
1392
|
created_at: z.string().nullable(),
|
|
1455
1393
|
description: z.string().nullable(),
|
|
@@ -1476,27 +1414,39 @@ export const publicSysConfigUpdateSchema = z.object({
|
|
|
1476
1414
|
|
|
1477
1415
|
export const publicSysLogsRowSchema = z.object({
|
|
1478
1416
|
created_at: z.string(),
|
|
1417
|
+
event_type: z.string().nullable(),
|
|
1479
1418
|
id: z.number(),
|
|
1480
|
-
level:
|
|
1419
|
+
level: publicSysLogLevelSchema.nullable(),
|
|
1420
|
+
meta: jsonSchema.nullable(),
|
|
1481
1421
|
module: z.string().nullable(),
|
|
1422
|
+
resource_id: z.string().nullable(),
|
|
1423
|
+
resource_type: z.string().nullable(),
|
|
1482
1424
|
text: z.string().nullable(),
|
|
1483
1425
|
user_id: z.string().nullable(),
|
|
1484
1426
|
});
|
|
1485
1427
|
|
|
1486
1428
|
export const publicSysLogsInsertSchema = z.object({
|
|
1487
1429
|
created_at: z.string().optional(),
|
|
1430
|
+
event_type: z.string().optional().nullable(),
|
|
1488
1431
|
id: z.number().optional(),
|
|
1489
|
-
level:
|
|
1432
|
+
level: publicSysLogLevelSchema.optional().nullable(),
|
|
1433
|
+
meta: jsonSchema.optional().nullable(),
|
|
1490
1434
|
module: z.string().optional().nullable(),
|
|
1435
|
+
resource_id: z.string().optional().nullable(),
|
|
1436
|
+
resource_type: z.string().optional().nullable(),
|
|
1491
1437
|
text: z.string().optional().nullable(),
|
|
1492
1438
|
user_id: z.string().optional().nullable(),
|
|
1493
1439
|
});
|
|
1494
1440
|
|
|
1495
1441
|
export const publicSysLogsUpdateSchema = z.object({
|
|
1496
1442
|
created_at: z.string().optional(),
|
|
1443
|
+
event_type: z.string().optional().nullable(),
|
|
1497
1444
|
id: z.number().optional(),
|
|
1498
|
-
level:
|
|
1445
|
+
level: publicSysLogLevelSchema.optional().nullable(),
|
|
1446
|
+
meta: jsonSchema.optional().nullable(),
|
|
1499
1447
|
module: z.string().optional().nullable(),
|
|
1448
|
+
resource_id: z.string().optional().nullable(),
|
|
1449
|
+
resource_type: z.string().optional().nullable(),
|
|
1500
1450
|
text: z.string().optional().nullable(),
|
|
1501
1451
|
user_id: z.string().optional().nullable(),
|
|
1502
1452
|
});
|
|
@@ -1552,6 +1502,154 @@ export const publicTagsUpdateSchema = z.object({
|
|
|
1552
1502
|
user_id: z.string().optional().nullable(),
|
|
1553
1503
|
});
|
|
1554
1504
|
|
|
1505
|
+
export const publicTasksRowSchema = z.object({
|
|
1506
|
+
code: z.string().nullable(),
|
|
1507
|
+
code_type: publicTaskCodeTypeSchema.nullable(),
|
|
1508
|
+
completed_at: z.string().nullable(),
|
|
1509
|
+
context_id: z.string().nullable(),
|
|
1510
|
+
context_type: z.string().nullable(),
|
|
1511
|
+
created_at: z.string(),
|
|
1512
|
+
description: z.string().nullable(),
|
|
1513
|
+
error: z.string().nullable(),
|
|
1514
|
+
executor_id: z.string().nullable(),
|
|
1515
|
+
executor_type: z.string().nullable(),
|
|
1516
|
+
id: z.string(),
|
|
1517
|
+
max_retries: z.number(),
|
|
1518
|
+
meta: jsonSchema,
|
|
1519
|
+
parent_id: z.string().nullable(),
|
|
1520
|
+
priority: z.number(),
|
|
1521
|
+
result: jsonSchema.nullable(),
|
|
1522
|
+
result_text: z.string().nullable(),
|
|
1523
|
+
retry_count: z.number(),
|
|
1524
|
+
scheduled_at: z.string().nullable(),
|
|
1525
|
+
started_at: z.string().nullable(),
|
|
1526
|
+
status: publicTaskStatusSchema,
|
|
1527
|
+
tags: z.array(z.string()),
|
|
1528
|
+
title: z.string(),
|
|
1529
|
+
updated_at: z.string(),
|
|
1530
|
+
user_id: z.string(),
|
|
1531
|
+
});
|
|
1532
|
+
|
|
1533
|
+
export const publicTasksInsertSchema = z.object({
|
|
1534
|
+
code: z.string().optional().nullable(),
|
|
1535
|
+
code_type: publicTaskCodeTypeSchema.optional().nullable(),
|
|
1536
|
+
completed_at: z.string().optional().nullable(),
|
|
1537
|
+
context_id: z.string().optional().nullable(),
|
|
1538
|
+
context_type: z.string().optional().nullable(),
|
|
1539
|
+
created_at: z.string().optional(),
|
|
1540
|
+
description: z.string().optional().nullable(),
|
|
1541
|
+
error: z.string().optional().nullable(),
|
|
1542
|
+
executor_id: z.string().optional().nullable(),
|
|
1543
|
+
executor_type: z.string().optional().nullable(),
|
|
1544
|
+
id: z.string().optional(),
|
|
1545
|
+
max_retries: z.number().optional(),
|
|
1546
|
+
meta: jsonSchema.optional(),
|
|
1547
|
+
parent_id: z.string().optional().nullable(),
|
|
1548
|
+
priority: z.number().optional(),
|
|
1549
|
+
result: jsonSchema.optional().nullable(),
|
|
1550
|
+
result_text: z.string().optional().nullable(),
|
|
1551
|
+
retry_count: z.number().optional(),
|
|
1552
|
+
scheduled_at: z.string().optional().nullable(),
|
|
1553
|
+
started_at: z.string().optional().nullable(),
|
|
1554
|
+
status: publicTaskStatusSchema.optional(),
|
|
1555
|
+
tags: z.array(z.string()).optional(),
|
|
1556
|
+
title: z.string(),
|
|
1557
|
+
updated_at: z.string().optional(),
|
|
1558
|
+
user_id: z.string(),
|
|
1559
|
+
});
|
|
1560
|
+
|
|
1561
|
+
export const publicTasksUpdateSchema = z.object({
|
|
1562
|
+
code: z.string().optional().nullable(),
|
|
1563
|
+
code_type: publicTaskCodeTypeSchema.optional().nullable(),
|
|
1564
|
+
completed_at: z.string().optional().nullable(),
|
|
1565
|
+
context_id: z.string().optional().nullable(),
|
|
1566
|
+
context_type: z.string().optional().nullable(),
|
|
1567
|
+
created_at: z.string().optional(),
|
|
1568
|
+
description: z.string().optional().nullable(),
|
|
1569
|
+
error: z.string().optional().nullable(),
|
|
1570
|
+
executor_id: z.string().optional().nullable(),
|
|
1571
|
+
executor_type: z.string().optional().nullable(),
|
|
1572
|
+
id: z.string().optional(),
|
|
1573
|
+
max_retries: z.number().optional(),
|
|
1574
|
+
meta: jsonSchema.optional(),
|
|
1575
|
+
parent_id: z.string().optional().nullable(),
|
|
1576
|
+
priority: z.number().optional(),
|
|
1577
|
+
result: jsonSchema.optional().nullable(),
|
|
1578
|
+
result_text: z.string().optional().nullable(),
|
|
1579
|
+
retry_count: z.number().optional(),
|
|
1580
|
+
scheduled_at: z.string().optional().nullable(),
|
|
1581
|
+
started_at: z.string().optional().nullable(),
|
|
1582
|
+
status: publicTaskStatusSchema.optional(),
|
|
1583
|
+
tags: z.array(z.string()).optional(),
|
|
1584
|
+
title: z.string().optional(),
|
|
1585
|
+
updated_at: z.string().optional(),
|
|
1586
|
+
user_id: z.string().optional(),
|
|
1587
|
+
});
|
|
1588
|
+
|
|
1589
|
+
export const publicTasksRelationshipsSchema = z.tuple([
|
|
1590
|
+
z.object({
|
|
1591
|
+
foreignKeyName: z.literal("tasks_parent_id_fkey"),
|
|
1592
|
+
columns: z.tuple([z.literal("parent_id")]),
|
|
1593
|
+
isOneToOne: z.literal(false),
|
|
1594
|
+
referencedRelation: z.literal("tasks"),
|
|
1595
|
+
referencedColumns: z.tuple([z.literal("id")]),
|
|
1596
|
+
}),
|
|
1597
|
+
]);
|
|
1598
|
+
|
|
1599
|
+
export const publicTrafficLogsRowSchema = z.object({
|
|
1600
|
+
client_ip: z.string().nullable(),
|
|
1601
|
+
created_at: z.string().nullable(),
|
|
1602
|
+
error: z.string().nullable(),
|
|
1603
|
+
host: z.string().nullable(),
|
|
1604
|
+
id: z.string(),
|
|
1605
|
+
method: z.string().nullable(),
|
|
1606
|
+
path: z.string().nullable(),
|
|
1607
|
+
request_headers: jsonSchema.nullable(),
|
|
1608
|
+
response_headers: jsonSchema.nullable(),
|
|
1609
|
+
scheme: z.string().nullable(),
|
|
1610
|
+
started_at: z.string().nullable(),
|
|
1611
|
+
status_code: z.number().nullable(),
|
|
1612
|
+
url: z.string().nullable(),
|
|
1613
|
+
user_id: z.string().nullable(),
|
|
1614
|
+
worker_id: z.string().nullable(),
|
|
1615
|
+
});
|
|
1616
|
+
|
|
1617
|
+
export const publicTrafficLogsInsertSchema = z.object({
|
|
1618
|
+
client_ip: z.string().optional().nullable(),
|
|
1619
|
+
created_at: z.string().optional().nullable(),
|
|
1620
|
+
error: z.string().optional().nullable(),
|
|
1621
|
+
host: z.string().optional().nullable(),
|
|
1622
|
+
id: z.string().optional(),
|
|
1623
|
+
method: z.string().optional().nullable(),
|
|
1624
|
+
path: z.string().optional().nullable(),
|
|
1625
|
+
request_headers: jsonSchema.optional().nullable(),
|
|
1626
|
+
response_headers: jsonSchema.optional().nullable(),
|
|
1627
|
+
scheme: z.string().optional().nullable(),
|
|
1628
|
+
started_at: z.string().optional().nullable(),
|
|
1629
|
+
status_code: z.number().optional().nullable(),
|
|
1630
|
+
url: z.string().optional().nullable(),
|
|
1631
|
+
user_id: z.string().optional().nullable(),
|
|
1632
|
+
worker_id: z.string().optional().nullable(),
|
|
1633
|
+
});
|
|
1634
|
+
|
|
1635
|
+
export const publicTrafficLogsUpdateSchema = z.object({
|
|
1636
|
+
client_ip: z.string().optional().nullable(),
|
|
1637
|
+
created_at: z.string().optional().nullable(),
|
|
1638
|
+
error: z.string().optional().nullable(),
|
|
1639
|
+
host: z.string().optional().nullable(),
|
|
1640
|
+
id: z.string().optional(),
|
|
1641
|
+
method: z.string().optional().nullable(),
|
|
1642
|
+
path: z.string().optional().nullable(),
|
|
1643
|
+
request_headers: jsonSchema.optional().nullable(),
|
|
1644
|
+
response_headers: jsonSchema.optional().nullable(),
|
|
1645
|
+
scheme: z.string().optional().nullable(),
|
|
1646
|
+
started_at: z.string().optional().nullable(),
|
|
1647
|
+
status_code: z.number().optional().nullable(),
|
|
1648
|
+
url: z.string().optional().nullable(),
|
|
1649
|
+
user_id: z.string().optional().nullable(),
|
|
1650
|
+
worker_id: z.string().optional().nullable(),
|
|
1651
|
+
});
|
|
1652
|
+
|
|
1555
1653
|
export const publicUserLogsRowSchema = z.object({
|
|
1556
1654
|
content: z.string().nullable(),
|
|
1557
1655
|
created_at: z.string().nullable(),
|
|
@@ -1669,48 +1767,6 @@ export const publicUserRolesUpdateSchema = z.object({
|
|
|
1669
1767
|
user_id: z.string().optional(),
|
|
1670
1768
|
});
|
|
1671
1769
|
|
|
1672
|
-
export const publicWorkerTasksRowSchema = z.object({
|
|
1673
|
-
created_at: z.string(),
|
|
1674
|
-
error: z.string().nullable(),
|
|
1675
|
-
id: z.string(),
|
|
1676
|
-
payload: jsonSchema,
|
|
1677
|
-
result: jsonSchema.nullable(),
|
|
1678
|
-
session_id: z.string().nullable(),
|
|
1679
|
-
status: z.string().nullable(),
|
|
1680
|
-
type: z.string(),
|
|
1681
|
-
updated_at: z.string(),
|
|
1682
|
-
user_id: z.string().nullable(),
|
|
1683
|
-
worker_id: z.string().nullable(),
|
|
1684
|
-
});
|
|
1685
|
-
|
|
1686
|
-
export const publicWorkerTasksInsertSchema = z.object({
|
|
1687
|
-
created_at: z.string().optional(),
|
|
1688
|
-
error: z.string().optional().nullable(),
|
|
1689
|
-
id: z.string().optional(),
|
|
1690
|
-
payload: jsonSchema,
|
|
1691
|
-
result: jsonSchema.optional().nullable(),
|
|
1692
|
-
session_id: z.string().optional().nullable(),
|
|
1693
|
-
status: z.string().optional().nullable(),
|
|
1694
|
-
type: z.string(),
|
|
1695
|
-
updated_at: z.string().optional(),
|
|
1696
|
-
user_id: z.string().optional().nullable(),
|
|
1697
|
-
worker_id: z.string().optional().nullable(),
|
|
1698
|
-
});
|
|
1699
|
-
|
|
1700
|
-
export const publicWorkerTasksUpdateSchema = z.object({
|
|
1701
|
-
created_at: z.string().optional(),
|
|
1702
|
-
error: z.string().optional().nullable(),
|
|
1703
|
-
id: z.string().optional(),
|
|
1704
|
-
payload: jsonSchema.optional(),
|
|
1705
|
-
result: jsonSchema.optional().nullable(),
|
|
1706
|
-
session_id: z.string().optional().nullable(),
|
|
1707
|
-
status: z.string().optional().nullable(),
|
|
1708
|
-
type: z.string().optional(),
|
|
1709
|
-
updated_at: z.string().optional(),
|
|
1710
|
-
user_id: z.string().optional().nullable(),
|
|
1711
|
-
worker_id: z.string().optional().nullable(),
|
|
1712
|
-
});
|
|
1713
|
-
|
|
1714
1770
|
export const publicSysConfigGetArgsSchema = z.object({
|
|
1715
1771
|
p_key: z.string(),
|
|
1716
1772
|
});
|
|
@@ -1769,11 +1825,9 @@ export const publicAdkArtifactListKeysArgsSchema = z.object({
|
|
|
1769
1825
|
p_user_id: z.string(),
|
|
1770
1826
|
});
|
|
1771
1827
|
|
|
1772
|
-
export const
|
|
1773
|
-
z.
|
|
1774
|
-
|
|
1775
|
-
}),
|
|
1776
|
-
);
|
|
1828
|
+
export const publicAdkArtifactKeyRecordSchema = z.object({
|
|
1829
|
+
filename: z.string().nullable(),
|
|
1830
|
+
});
|
|
1777
1831
|
|
|
1778
1832
|
export const publicAdkArtifactListVersionsMetaArgsSchema = z.object({
|
|
1779
1833
|
p_app_name: z.string(),
|
|
@@ -2001,24 +2055,6 @@ export const publicAuditArtifactListReturnsSchema = z.array(
|
|
|
2001
2055
|
}),
|
|
2002
2056
|
);
|
|
2003
2057
|
|
|
2004
|
-
export const publicAuditAssetListArgsSchema = z.object({
|
|
2005
|
-
p_project_id: z.string(),
|
|
2006
|
-
p_type: z.string().optional(),
|
|
2007
|
-
});
|
|
2008
|
-
|
|
2009
|
-
export const publicAuditAssetListReturnsSchema = z.array(
|
|
2010
|
-
z.object({
|
|
2011
|
-
content: z.string(),
|
|
2012
|
-
created_at: z.string(),
|
|
2013
|
-
id: z.string(),
|
|
2014
|
-
metadata: jsonSchema.nullable(),
|
|
2015
|
-
project_id: z.string(),
|
|
2016
|
-
status: z.string().nullable(),
|
|
2017
|
-
type: z.string(),
|
|
2018
|
-
updated_at: z.string(),
|
|
2019
|
-
}),
|
|
2020
|
-
);
|
|
2021
|
-
|
|
2022
2058
|
export const publicAuditAssetListCursorArgsSchema = z.object({
|
|
2023
2059
|
p_cursor: z.string().optional(),
|
|
2024
2060
|
p_cursor_id: z.string().optional(),
|
|
@@ -2040,27 +2076,6 @@ export const publicAuditAssetListCursorReturnsSchema = z.array(
|
|
|
2040
2076
|
}),
|
|
2041
2077
|
);
|
|
2042
2078
|
|
|
2043
|
-
export const publicAuditFindingListArgsSchema = z.object({
|
|
2044
|
-
p_project_id: z.string(),
|
|
2045
|
-
});
|
|
2046
|
-
|
|
2047
|
-
export const publicAuditFindingListReturnsSchema = z.array(
|
|
2048
|
-
z.object({
|
|
2049
|
-
ai_analysis: z.string().nullable(),
|
|
2050
|
-
created_at: z.string(),
|
|
2051
|
-
description: z.string().nullable(),
|
|
2052
|
-
id: z.string(),
|
|
2053
|
-
project_id: z.string(),
|
|
2054
|
-
proof_poc: z.string().nullable(),
|
|
2055
|
-
remediation: z.string().nullable(),
|
|
2056
|
-
severity: publicAuditFindingSeveritySchema.nullable(),
|
|
2057
|
-
status: z.string().nullable(),
|
|
2058
|
-
task_id: z.string().nullable(),
|
|
2059
|
-
title: z.string(),
|
|
2060
|
-
updated_at: z.string(),
|
|
2061
|
-
}),
|
|
2062
|
-
);
|
|
2063
|
-
|
|
2064
2079
|
export const publicAuditFindingListCursorArgsSchema = z.object({
|
|
2065
2080
|
p_cursor: z.string().optional(),
|
|
2066
2081
|
p_cursor_id: z.string().optional(),
|
|
@@ -2107,14 +2122,12 @@ export const publicAuditProjectDashboardStatsArgsSchema = z.object({
|
|
|
2107
2122
|
p_project_id: z.string(),
|
|
2108
2123
|
});
|
|
2109
2124
|
|
|
2110
|
-
export const
|
|
2111
|
-
z.
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
}),
|
|
2117
|
-
);
|
|
2125
|
+
export const publicAuditProjectStatsRecordSchema = z.object({
|
|
2126
|
+
asset_count: z.number().nullable(),
|
|
2127
|
+
finding_count: z.number().nullable(),
|
|
2128
|
+
high_risk_count: z.number().nullable(),
|
|
2129
|
+
task_count: z.number().nullable(),
|
|
2130
|
+
});
|
|
2118
2131
|
|
|
2119
2132
|
export const publicAuditProjectDeleteArgsSchema = z.object({
|
|
2120
2133
|
p_id: z.string(),
|
|
@@ -2126,40 +2139,27 @@ export const publicAuditProjectGetArgsSchema = z.object({
|
|
|
2126
2139
|
p_id: z.string(),
|
|
2127
2140
|
});
|
|
2128
2141
|
|
|
2129
|
-
export const
|
|
2130
|
-
z.
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
export const publicAuditProjectListArgsSchema = z.object({
|
|
2145
|
-
p_kw: z.string().optional(),
|
|
2142
|
+
export const publicAuditProjectRecordSchema = z.object({
|
|
2143
|
+
id: z.string().nullable(),
|
|
2144
|
+
created_at: z.string().nullable(),
|
|
2145
|
+
updated_at: z.string().nullable(),
|
|
2146
|
+
user_id: z.string().nullable(),
|
|
2147
|
+
name: z.string().nullable(),
|
|
2148
|
+
target: z.string().nullable(),
|
|
2149
|
+
repo_url: z.string().nullable(),
|
|
2150
|
+
repo_branch: z.string().nullable(),
|
|
2151
|
+
config: jsonSchema.nullable(),
|
|
2152
|
+
worker_id: z.string().nullable(),
|
|
2153
|
+
});
|
|
2154
|
+
|
|
2155
|
+
export const publicAuditProjectListArgsSchema = z.object({
|
|
2156
|
+
p_kw: z.string().optional(),
|
|
2146
2157
|
p_page_no: z.number().optional(),
|
|
2147
2158
|
p_page_size: z.number().optional(),
|
|
2148
2159
|
});
|
|
2149
2160
|
|
|
2150
2161
|
export const publicAuditProjectListReturnsSchema = z.array(
|
|
2151
|
-
|
|
2152
|
-
config: jsonSchema.nullable(),
|
|
2153
|
-
created_at: z.string(),
|
|
2154
|
-
id: z.string(),
|
|
2155
|
-
name: z.string(),
|
|
2156
|
-
repo_branch: z.string().nullable(),
|
|
2157
|
-
repo_url: z.string().nullable(),
|
|
2158
|
-
target: z.string().nullable(),
|
|
2159
|
-
updated_at: z.string(),
|
|
2160
|
-
user_id: z.string(),
|
|
2161
|
-
worker_id: z.string().nullable(),
|
|
2162
|
-
}),
|
|
2162
|
+
publicAuditProjectRecordSchema,
|
|
2163
2163
|
);
|
|
2164
2164
|
|
|
2165
2165
|
export const publicAuditProjectListCursorArgsSchema = z.object({
|
|
@@ -2170,20 +2170,21 @@ export const publicAuditProjectListCursorArgsSchema = z.object({
|
|
|
2170
2170
|
});
|
|
2171
2171
|
|
|
2172
2172
|
export const publicAuditProjectListCursorReturnsSchema = z.array(
|
|
2173
|
-
|
|
2174
|
-
config: jsonSchema.nullable(),
|
|
2175
|
-
created_at: z.string(),
|
|
2176
|
-
id: z.string(),
|
|
2177
|
-
name: z.string(),
|
|
2178
|
-
repo_branch: z.string().nullable(),
|
|
2179
|
-
repo_url: z.string().nullable(),
|
|
2180
|
-
target: z.string().nullable(),
|
|
2181
|
-
updated_at: z.string(),
|
|
2182
|
-
user_id: z.string(),
|
|
2183
|
-
worker_id: z.string().nullable(),
|
|
2184
|
-
}),
|
|
2173
|
+
publicAuditProjectRecordSchema,
|
|
2185
2174
|
);
|
|
2186
2175
|
|
|
2176
|
+
export const publicAuditProjectUpsertArgsSchema = z.object({
|
|
2177
|
+
p_config: jsonSchema.optional(),
|
|
2178
|
+
p_id: z.string(),
|
|
2179
|
+
p_name: z.string(),
|
|
2180
|
+
p_repo_branch: z.string().optional(),
|
|
2181
|
+
p_repo_url: z.string().optional(),
|
|
2182
|
+
p_target: z.string().optional(),
|
|
2183
|
+
p_worker_id: z.string().optional(),
|
|
2184
|
+
});
|
|
2185
|
+
|
|
2186
|
+
export const publicAuditProjectUpsertReturnsSchema = z.string();
|
|
2187
|
+
|
|
2187
2188
|
export const publicAuditSkillListArgsSchema = z.object({
|
|
2188
2189
|
p_project_id: z.string(),
|
|
2189
2190
|
});
|
|
@@ -2203,73 +2204,6 @@ export const publicAuditSkillListReturnsSchema = z.array(
|
|
|
2203
2204
|
}),
|
|
2204
2205
|
);
|
|
2205
2206
|
|
|
2206
|
-
export const publicAuditTaskGetArgsSchema = z.object({
|
|
2207
|
-
p_id: z.string(),
|
|
2208
|
-
});
|
|
2209
|
-
|
|
2210
|
-
export const publicAuditTaskGetReturnsSchema = z.array(
|
|
2211
|
-
z.object({
|
|
2212
|
-
created_at: z.string(),
|
|
2213
|
-
id: z.string(),
|
|
2214
|
-
instructions: z.string().nullable(),
|
|
2215
|
-
logs_url: z.string().nullable(),
|
|
2216
|
-
project_id: z.string(),
|
|
2217
|
-
result_summary: z.string().nullable(),
|
|
2218
|
-
sandbox_id: z.string().nullable(),
|
|
2219
|
-
skill_id: z.string().nullable(),
|
|
2220
|
-
status: z.string().nullable(),
|
|
2221
|
-
updated_at: z.string(),
|
|
2222
|
-
user_id: z.string().nullable(),
|
|
2223
|
-
}),
|
|
2224
|
-
);
|
|
2225
|
-
|
|
2226
|
-
export const publicAuditTaskListArgsSchema = z.object({
|
|
2227
|
-
p_project_id: z.string(),
|
|
2228
|
-
});
|
|
2229
|
-
|
|
2230
|
-
export const publicAuditTaskListReturnsSchema = z.array(
|
|
2231
|
-
z.object({
|
|
2232
|
-
created_at: z.string(),
|
|
2233
|
-
id: z.string(),
|
|
2234
|
-
instructions: z.string().nullable(),
|
|
2235
|
-
logs_url: z.string().nullable(),
|
|
2236
|
-
project_id: z.string(),
|
|
2237
|
-
result_summary: z.string().nullable(),
|
|
2238
|
-
sandbox_id: z.string().nullable(),
|
|
2239
|
-
skill_id: z.string().nullable(),
|
|
2240
|
-
status: z.string().nullable(),
|
|
2241
|
-
updated_at: z.string(),
|
|
2242
|
-
user_id: z.string().nullable(),
|
|
2243
|
-
}),
|
|
2244
|
-
);
|
|
2245
|
-
|
|
2246
|
-
export const publicAuditTaskUpsertArgsSchema = z.object({
|
|
2247
|
-
p_id: z.string(),
|
|
2248
|
-
p_instructions: z.string(),
|
|
2249
|
-
p_logs_url: z.string().optional(),
|
|
2250
|
-
p_project_id: z.string(),
|
|
2251
|
-
p_result_summary: z.string().optional(),
|
|
2252
|
-
p_sandbox_id: z.string().optional(),
|
|
2253
|
-
p_skill_id: z.string().optional(),
|
|
2254
|
-
p_status: z.string().optional(),
|
|
2255
|
-
});
|
|
2256
|
-
|
|
2257
|
-
export const publicAuditTaskUpsertReturnsSchema = z.array(
|
|
2258
|
-
z.object({
|
|
2259
|
-
created_at: z.string(),
|
|
2260
|
-
id: z.string(),
|
|
2261
|
-
instructions: z.string().nullable(),
|
|
2262
|
-
logs_url: z.string().nullable(),
|
|
2263
|
-
project_id: z.string(),
|
|
2264
|
-
result_summary: z.string().nullable(),
|
|
2265
|
-
sandbox_id: z.string().nullable(),
|
|
2266
|
-
skill_id: z.string().nullable(),
|
|
2267
|
-
status: z.string().nullable(),
|
|
2268
|
-
updated_at: z.string(),
|
|
2269
|
-
user_id: z.string().nullable(),
|
|
2270
|
-
}),
|
|
2271
|
-
);
|
|
2272
|
-
|
|
2273
2207
|
export const publicAuthRoleArgsSchema = z.never();
|
|
2274
2208
|
|
|
2275
2209
|
export const publicAuthRoleReturnsSchema = z.string();
|
|
@@ -2291,29 +2225,6 @@ export const publicBrowserGetArgsSchema = z.object({
|
|
|
2291
2225
|
p_id: z.string(),
|
|
2292
2226
|
});
|
|
2293
2227
|
|
|
2294
|
-
export const publicBrowserGetReturnsSchema = z.array(
|
|
2295
|
-
z.object({
|
|
2296
|
-
cdpUrl: z.string().nullable(),
|
|
2297
|
-
config: jsonSchema.nullable(),
|
|
2298
|
-
created_at: z.string(),
|
|
2299
|
-
description: z.string().nullable(),
|
|
2300
|
-
id: z.string(),
|
|
2301
|
-
profile_id: z.string().nullable(),
|
|
2302
|
-
provider: z.string().nullable(),
|
|
2303
|
-
provider_config: jsonSchema.nullable(),
|
|
2304
|
-
sandbox_id: z.string().nullable(),
|
|
2305
|
-
title: z.string().nullable(),
|
|
2306
|
-
updated_at: z.string().nullable(),
|
|
2307
|
-
user_id: z.string().nullable(),
|
|
2308
|
-
}),
|
|
2309
|
-
);
|
|
2310
|
-
|
|
2311
|
-
export const publicBrowserListArgsSchema = z.object({
|
|
2312
|
-
p_kw: z.string().optional(),
|
|
2313
|
-
p_page_no: z.number().optional(),
|
|
2314
|
-
p_page_size: z.number().optional(),
|
|
2315
|
-
});
|
|
2316
|
-
|
|
2317
2228
|
export const publicBrowserRecordSchema = z.object({
|
|
2318
2229
|
id: z.string().nullable(),
|
|
2319
2230
|
created_at: z.string().nullable(),
|
|
@@ -2331,6 +2242,16 @@ export const publicBrowserRecordSchema = z.object({
|
|
|
2331
2242
|
is_running: z.boolean().nullable(),
|
|
2332
2243
|
});
|
|
2333
2244
|
|
|
2245
|
+
export const publicBrowserListArgsSchema = z.object({
|
|
2246
|
+
p_kw: z.string().optional(),
|
|
2247
|
+
p_page_no: z.number().optional(),
|
|
2248
|
+
p_page_size: z.number().optional(),
|
|
2249
|
+
});
|
|
2250
|
+
|
|
2251
|
+
export const publicBrowserListReturnsSchema = z.array(
|
|
2252
|
+
publicBrowserRecordSchema,
|
|
2253
|
+
);
|
|
2254
|
+
|
|
2334
2255
|
export const publicBrowserUpdateStateArgsSchema = z.object({
|
|
2335
2256
|
p_browser_id: z.string(),
|
|
2336
2257
|
p_state: jsonSchema,
|
|
@@ -2349,20 +2270,7 @@ export const publicBrowserUpsertArgsSchema = z.object({
|
|
|
2349
2270
|
});
|
|
2350
2271
|
|
|
2351
2272
|
export const publicBrowserUpsertReturnsSchema = z.array(
|
|
2352
|
-
|
|
2353
|
-
cdpUrl: z.string().nullable(),
|
|
2354
|
-
config: jsonSchema.nullable(),
|
|
2355
|
-
created_at: z.string(),
|
|
2356
|
-
description: z.string().nullable(),
|
|
2357
|
-
id: z.string(),
|
|
2358
|
-
profile_id: z.string().nullable(),
|
|
2359
|
-
provider: z.string().nullable(),
|
|
2360
|
-
provider_config: jsonSchema.nullable(),
|
|
2361
|
-
sandbox_id: z.string().nullable(),
|
|
2362
|
-
title: z.string().nullable(),
|
|
2363
|
-
updated_at: z.string().nullable(),
|
|
2364
|
-
user_id: z.string().nullable(),
|
|
2365
|
-
}),
|
|
2273
|
+
publicBrowserRecordSchema,
|
|
2366
2274
|
);
|
|
2367
2275
|
|
|
2368
2276
|
export const publicCampaignDeleteArgsSchema = z.object({
|
|
@@ -2538,15 +2446,17 @@ export const publicChatUpsertReturnsSchema = z.object({
|
|
|
2538
2446
|
visibility: publicChatVisibilitySchema,
|
|
2539
2447
|
});
|
|
2540
2448
|
|
|
2541
|
-
export const
|
|
2542
|
-
|
|
2449
|
+
export const publicCheckAccountRateLimitArgsSchema = z.object({
|
|
2450
|
+
p_account_id: z.string(),
|
|
2451
|
+
p_campaign_config: jsonSchema,
|
|
2543
2452
|
});
|
|
2544
2453
|
|
|
2545
|
-
export const
|
|
2454
|
+
export const publicCheckAccountRateLimitReturnsSchema = z.boolean();
|
|
2546
2455
|
|
|
2547
|
-
export const
|
|
2548
|
-
|
|
2549
|
-
|
|
2456
|
+
export const publicCloudAccountBulkCreateArgsSchema = z.object({
|
|
2457
|
+
p_account_names: z.array(z.string()),
|
|
2458
|
+
p_platform_name: z.string(),
|
|
2459
|
+
p_status: publicCloudAccountStatusSchema.optional(),
|
|
2550
2460
|
});
|
|
2551
2461
|
|
|
2552
2462
|
export const publicCloudAccountRecordSchema = z.object({
|
|
@@ -2575,25 +2485,6 @@ export const publicCloudAccountRecordSchema = z.object({
|
|
|
2575
2485
|
credentials: jsonSchema.nullable(),
|
|
2576
2486
|
});
|
|
2577
2487
|
|
|
2578
|
-
export const publicCloudAccountBulkCreateArgsSchema = z.object({
|
|
2579
|
-
p_account_names: z.array(z.string()),
|
|
2580
|
-
p_platform_name: z.string(),
|
|
2581
|
-
p_status: publicCloudAccountStatusSchema.optional(),
|
|
2582
|
-
});
|
|
2583
|
-
|
|
2584
|
-
export const publicCloudAccountBulkCreateReturnsSchema = z.array(
|
|
2585
|
-
publicCloudAccountRecordSchema,
|
|
2586
|
-
);
|
|
2587
|
-
|
|
2588
|
-
export const publicCloudAccountCheckExpiredTokensArgsSchema = z.never();
|
|
2589
|
-
|
|
2590
|
-
export const publicCloudAccountCheckExpiredTokensReturnsSchema = z.array(
|
|
2591
|
-
z.object({
|
|
2592
|
-
total_checked: z.number(),
|
|
2593
|
-
total_expired: z.number(),
|
|
2594
|
-
}),
|
|
2595
|
-
);
|
|
2596
|
-
|
|
2597
2488
|
export const publicCloudAccountDeleteArgsSchema = z.object({
|
|
2598
2489
|
p_id: z.string(),
|
|
2599
2490
|
});
|
|
@@ -2603,11 +2494,11 @@ export const publicCloudAccountDeleteReturnsSchema = z.array(
|
|
|
2603
2494
|
);
|
|
2604
2495
|
|
|
2605
2496
|
export const publicCloudAccountDeviceDeleteVersionArgsSchema = z.object({
|
|
2606
|
-
|
|
2607
|
-
|
|
2497
|
+
p_account_id: z.string(),
|
|
2498
|
+
p_version: z.number(),
|
|
2608
2499
|
});
|
|
2609
2500
|
|
|
2610
|
-
export const publicCloudAccountDeviceDeleteVersionReturnsSchema = z.
|
|
2501
|
+
export const publicCloudAccountDeviceDeleteVersionReturnsSchema = z.undefined();
|
|
2611
2502
|
|
|
2612
2503
|
export const publicCloudAccountDeviceRestoreArgsSchema = z.object({
|
|
2613
2504
|
p_id: z.string(),
|
|
@@ -2643,34 +2534,16 @@ export const publicCloudAccountMarkRefreshFailedArgsSchema = z.object({
|
|
|
2643
2534
|
p_id: z.string(),
|
|
2644
2535
|
});
|
|
2645
2536
|
|
|
2646
|
-
export const publicCloudAccountMarkRefreshFailedReturnsSchema = z.
|
|
2647
|
-
publicCloudAccountRecordSchema,
|
|
2648
|
-
);
|
|
2537
|
+
export const publicCloudAccountMarkRefreshFailedReturnsSchema = z.undefined();
|
|
2649
2538
|
|
|
2650
2539
|
export const publicCloudAccountRefreshTokenArgsSchema = z.object({
|
|
2651
2540
|
p_access_token: z.string(),
|
|
2652
|
-
p_expires_in: z.
|
|
2541
|
+
p_expires_in: z.number().optional(),
|
|
2653
2542
|
p_id: z.string(),
|
|
2654
|
-
p_refresh_expires_in: z.unknown().optional(),
|
|
2655
2543
|
p_refresh_token: z.string().optional(),
|
|
2656
2544
|
});
|
|
2657
2545
|
|
|
2658
|
-
export const publicCloudAccountRefreshTokenReturnsSchema = z.
|
|
2659
|
-
publicCloudAccountRecordSchema,
|
|
2660
|
-
);
|
|
2661
|
-
|
|
2662
|
-
export const publicCloudAccountSessionLoadArgsSchema = z.object({
|
|
2663
|
-
p_id: z.string(),
|
|
2664
|
-
});
|
|
2665
|
-
|
|
2666
|
-
export const publicCloudAccountSessionLoadReturnsSchema = z.string();
|
|
2667
|
-
|
|
2668
|
-
export const publicCloudAccountSessionSetArgsSchema = z.object({
|
|
2669
|
-
p_id: z.string(),
|
|
2670
|
-
p_session_data: jsonSchema,
|
|
2671
|
-
});
|
|
2672
|
-
|
|
2673
|
-
export const publicCloudAccountSessionSetReturnsSchema = z.undefined();
|
|
2546
|
+
export const publicCloudAccountRefreshTokenReturnsSchema = z.undefined();
|
|
2674
2547
|
|
|
2675
2548
|
export const publicCloudAccountSessionStoreArgsSchema = z.object({
|
|
2676
2549
|
p_id: z.string(),
|
|
@@ -2741,26 +2614,35 @@ export const publicComputeNodeGetSecretArgsSchema = z.object({
|
|
|
2741
2614
|
target_id: z.string(),
|
|
2742
2615
|
});
|
|
2743
2616
|
|
|
2744
|
-
export const
|
|
2745
|
-
z.
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
}),
|
|
2751
|
-
);
|
|
2617
|
+
export const publicComputeNodeSecretRecordSchema = z.object({
|
|
2618
|
+
host: z.string().nullable(),
|
|
2619
|
+
port: z.number().nullable(),
|
|
2620
|
+
username: z.string().nullable(),
|
|
2621
|
+
auth_secret: z.string().nullable(),
|
|
2622
|
+
});
|
|
2752
2623
|
|
|
2753
2624
|
export const publicComputeNodeListArgsSchema = z.object({
|
|
2754
2625
|
p_kw: z.string().optional(),
|
|
2755
2626
|
p_page_no: z.number().optional(),
|
|
2756
2627
|
p_page_size: z.number().optional(),
|
|
2757
|
-
p_provider: z.string().optional(),
|
|
2758
|
-
p_user_id: z.string().optional(),
|
|
2759
2628
|
});
|
|
2760
2629
|
|
|
2761
|
-
export const
|
|
2762
|
-
|
|
2763
|
-
)
|
|
2630
|
+
export const publicComputeNodeListRecordSchema = z.object({
|
|
2631
|
+
id: z.string().nullable(),
|
|
2632
|
+
user_id: z.string().nullable(),
|
|
2633
|
+
name: z.string().nullable(),
|
|
2634
|
+
provider: z.string().nullable(),
|
|
2635
|
+
host: z.string().nullable(),
|
|
2636
|
+
port: z.number().nullable(),
|
|
2637
|
+
username: z.string().nullable(),
|
|
2638
|
+
auth_secret: z.string().nullable(),
|
|
2639
|
+
status: publicComputeNodeStatusSchema.nullable(),
|
|
2640
|
+
worker_count: z.number().nullable(),
|
|
2641
|
+
updated_at: z.string().nullable(),
|
|
2642
|
+
is_public: z.boolean().nullable(),
|
|
2643
|
+
created_at: z.string().nullable(),
|
|
2644
|
+
full_count: z.number().nullable(),
|
|
2645
|
+
});
|
|
2764
2646
|
|
|
2765
2647
|
export const publicComputeNodeUpsertArgsSchema = z.object({
|
|
2766
2648
|
p_auth_secret: z.string().optional(),
|
|
@@ -2776,6 +2658,12 @@ export const publicComputeNodeUpsertReturnsSchema = z.array(
|
|
|
2776
2658
|
publicComputeNodeRecordSchema,
|
|
2777
2659
|
);
|
|
2778
2660
|
|
|
2661
|
+
export const publicComputeServerPublicUrlArgsSchema = z.object({
|
|
2662
|
+
p_server_id: z.string(),
|
|
2663
|
+
});
|
|
2664
|
+
|
|
2665
|
+
export const publicComputeServerPublicUrlReturnsSchema = z.string();
|
|
2666
|
+
|
|
2779
2667
|
export const publicContactAddTagsArgsSchema = z.object({
|
|
2780
2668
|
p_ids: z.array(z.string()),
|
|
2781
2669
|
p_tags: z.array(z.string()),
|
|
@@ -2835,6 +2723,17 @@ export const publicContactListCursorReturnsSchema = z.array(
|
|
|
2835
2723
|
publicContactRecordSchema,
|
|
2836
2724
|
);
|
|
2837
2725
|
|
|
2726
|
+
export const publicContactListTagsArgsSchema = z.never();
|
|
2727
|
+
|
|
2728
|
+
export const publicContactListTagsReturnsSchema = z.array(z.string());
|
|
2729
|
+
|
|
2730
|
+
export const publicContactRemoveTagsArgsSchema = z.object({
|
|
2731
|
+
p_ids: z.array(z.string()),
|
|
2732
|
+
p_tags: z.array(z.string()),
|
|
2733
|
+
});
|
|
2734
|
+
|
|
2735
|
+
export const publicContactRemoveTagsReturnsSchema = z.number();
|
|
2736
|
+
|
|
2838
2737
|
export const publicContactUpsertArgsSchema = z.object({
|
|
2839
2738
|
p_email: z.string().optional(),
|
|
2840
2739
|
p_id: z.string().optional(),
|
|
@@ -2856,13 +2755,13 @@ export const publicContactUpsertReturnsSchema = z.array(
|
|
|
2856
2755
|
export const publicCreateNotificationArgsSchema = z.object({
|
|
2857
2756
|
p_action_payload: jsonSchema.optional(),
|
|
2858
2757
|
p_action_type: z.string().optional(),
|
|
2859
|
-
p_expires_in: z.
|
|
2860
|
-
p_message: z.string()
|
|
2758
|
+
p_expires_in: z.string().optional(),
|
|
2759
|
+
p_message: z.string(),
|
|
2760
|
+
p_notification_type: z.string().optional(),
|
|
2861
2761
|
p_priority: z.string().optional(),
|
|
2862
2762
|
p_source_id: z.string().optional(),
|
|
2863
2763
|
p_source_type: z.string().optional(),
|
|
2864
2764
|
p_title: z.string(),
|
|
2865
|
-
p_type: z.string().optional(),
|
|
2866
2765
|
p_user_id: z.string(),
|
|
2867
2766
|
});
|
|
2868
2767
|
|
|
@@ -2905,10 +2804,6 @@ export const publicGetJwtRoleArgsSchema = z.never();
|
|
|
2905
2804
|
|
|
2906
2805
|
export const publicGetJwtRoleReturnsSchema = z.string();
|
|
2907
2806
|
|
|
2908
|
-
export const publicGetLintTestV1ArgsSchema = z.never();
|
|
2909
|
-
|
|
2910
|
-
export const publicGetLintTestV1ReturnsSchema = z.string();
|
|
2911
|
-
|
|
2912
2807
|
export const publicGetUserIdFromTokenArgsSchema = z.object({
|
|
2913
2808
|
p_token: z.string(),
|
|
2914
2809
|
});
|
|
@@ -2947,30 +2842,6 @@ export const publicGomtmModelGetReturnsSchema = z.object({
|
|
|
2947
2842
|
user_id: z.string(),
|
|
2948
2843
|
});
|
|
2949
2844
|
|
|
2950
|
-
export const publicGomtmModelListArgsSchema = z.object({
|
|
2951
|
-
p_is_active: z.boolean().optional(),
|
|
2952
|
-
p_limit: z.number().optional(),
|
|
2953
|
-
p_offset: z.number().optional(),
|
|
2954
|
-
p_provider: z.string().optional(),
|
|
2955
|
-
});
|
|
2956
|
-
|
|
2957
|
-
export const publicGomtmModelListReturnsSchema = z.array(
|
|
2958
|
-
z.object({
|
|
2959
|
-
api_base: z.string(),
|
|
2960
|
-
api_key: z.string(),
|
|
2961
|
-
config: jsonSchema,
|
|
2962
|
-
created_at: z.string(),
|
|
2963
|
-
id: z.string(),
|
|
2964
|
-
is_active: z.boolean(),
|
|
2965
|
-
linked_account_id: z.string(),
|
|
2966
|
-
model: z.string(),
|
|
2967
|
-
name: z.string(),
|
|
2968
|
-
provider: z.string(),
|
|
2969
|
-
updated_at: z.string(),
|
|
2970
|
-
user_id: z.string(),
|
|
2971
|
-
}),
|
|
2972
|
-
);
|
|
2973
|
-
|
|
2974
2845
|
export const publicGomtmModelListCursorArgsSchema = z.object({
|
|
2975
2846
|
p_cursor_id: z.string().optional(),
|
|
2976
2847
|
p_is_active: z.boolean().optional(),
|
|
@@ -2980,13 +2851,13 @@ export const publicGomtmModelListCursorArgsSchema = z.object({
|
|
|
2980
2851
|
|
|
2981
2852
|
export const publicGomtmModelListCursorReturnsSchema = z.array(
|
|
2982
2853
|
z.object({
|
|
2983
|
-
api_base: z.string(),
|
|
2984
|
-
api_key: z.string(),
|
|
2985
|
-
config: jsonSchema,
|
|
2854
|
+
api_base: z.string().nullable(),
|
|
2855
|
+
api_key: z.string().nullable(),
|
|
2856
|
+
config: jsonSchema.nullable(),
|
|
2986
2857
|
created_at: z.string(),
|
|
2987
2858
|
id: z.string(),
|
|
2988
2859
|
is_active: z.boolean(),
|
|
2989
|
-
linked_account_id: z.string(),
|
|
2860
|
+
linked_account_id: z.string().nullable(),
|
|
2990
2861
|
model: z.string(),
|
|
2991
2862
|
name: z.string(),
|
|
2992
2863
|
provider: z.string(),
|
|
@@ -3022,6 +2893,38 @@ export const publicGomtmModelUpsertReturnsSchema = z.object({
|
|
|
3022
2893
|
user_id: z.string(),
|
|
3023
2894
|
});
|
|
3024
2895
|
|
|
2896
|
+
export const publicHandleHttpResponseHealthArgsSchema = z.object({
|
|
2897
|
+
p_body: jsonSchema,
|
|
2898
|
+
p_request_id: z.number(),
|
|
2899
|
+
p_success: z.boolean(),
|
|
2900
|
+
});
|
|
2901
|
+
|
|
2902
|
+
export const publicHandleHttpResponseHealthReturnsSchema = z.boolean();
|
|
2903
|
+
|
|
2904
|
+
export const publicHandleHttpResponseOutreachArgsSchema = z.object({
|
|
2905
|
+
p_body: jsonSchema,
|
|
2906
|
+
p_request_id: z.number(),
|
|
2907
|
+
p_success: z.boolean(),
|
|
2908
|
+
});
|
|
2909
|
+
|
|
2910
|
+
export const publicHandleHttpResponseOutreachReturnsSchema = z.boolean();
|
|
2911
|
+
|
|
2912
|
+
export const publicHandleHttpResponseTaskArgsSchema = z.object({
|
|
2913
|
+
p_body: jsonSchema,
|
|
2914
|
+
p_request_id: z.number(),
|
|
2915
|
+
p_success: z.boolean(),
|
|
2916
|
+
});
|
|
2917
|
+
|
|
2918
|
+
export const publicHandleHttpResponseTaskReturnsSchema = z.boolean();
|
|
2919
|
+
|
|
2920
|
+
export const publicHandleHttpResponseTelegramArgsSchema = z.object({
|
|
2921
|
+
p_body: jsonSchema,
|
|
2922
|
+
p_request_id: z.number(),
|
|
2923
|
+
p_success: z.boolean(),
|
|
2924
|
+
});
|
|
2925
|
+
|
|
2926
|
+
export const publicHandleHttpResponseTelegramReturnsSchema = z.boolean();
|
|
2927
|
+
|
|
3025
2928
|
export const publicHandleJobOutreachProcessArgsSchema = z.object({
|
|
3026
2929
|
p_payload: jsonSchema.optional(),
|
|
3027
2930
|
});
|
|
@@ -3040,29 +2943,20 @@ export const publicHandleJobTelegramFetchSmsArgsSchema = z.object({
|
|
|
3040
2943
|
|
|
3041
2944
|
export const publicHandleJobTelegramFetchSmsReturnsSchema = z.undefined();
|
|
3042
2945
|
|
|
3043
|
-
export const
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
export const publicHandleJobTunnelCheckResponsesReturnsSchema = z.undefined();
|
|
3048
|
-
|
|
3049
|
-
export const publicHandleJobTunnelSetupArgsSchema = z.object({
|
|
3050
|
-
p_payload: jsonSchema,
|
|
3051
|
-
});
|
|
3052
|
-
|
|
3053
|
-
export const publicHandleJobTunnelSetupReturnsSchema = z.undefined();
|
|
3054
|
-
|
|
3055
|
-
export const publicHandleJobWorkerCleanupArgsSchema = z.object({
|
|
3056
|
-
p_payload: jsonSchema,
|
|
2946
|
+
export const publicHasPermissionArgsSchema = z.object({
|
|
2947
|
+
p_action: z.string(),
|
|
2948
|
+
p_resource: z.string(),
|
|
3057
2949
|
});
|
|
3058
2950
|
|
|
3059
|
-
export const
|
|
2951
|
+
export const publicHasPermissionReturnsSchema = z.boolean();
|
|
3060
2952
|
|
|
3061
|
-
export const
|
|
3062
|
-
p_instance_id: z.string(),
|
|
2953
|
+
export const publicInstallScriptArgsSchema = z.object({
|
|
2954
|
+
p_instance_id: z.string().optional(),
|
|
2955
|
+
p_token: z.string().optional(),
|
|
2956
|
+
p_version: z.string().optional(),
|
|
3063
2957
|
});
|
|
3064
2958
|
|
|
3065
|
-
export const
|
|
2959
|
+
export const publicInstallScriptReturnsSchema = z.string();
|
|
3066
2960
|
|
|
3067
2961
|
export const publicInstanceTagAddArgsSchema = z.object({
|
|
3068
2962
|
p_instance_id: z.string(),
|
|
@@ -3101,48 +2995,32 @@ export const publicInstanceTagsSetReturnsSchema = z.array(
|
|
|
3101
2995
|
publicTagRecordSchema,
|
|
3102
2996
|
);
|
|
3103
2997
|
|
|
3104
|
-
export const publicIsAdminArgsSchema = z.never();
|
|
3105
|
-
|
|
3106
|
-
export const publicIsAdminReturnsSchema = z.boolean();
|
|
3107
|
-
|
|
3108
|
-
export const publicJobQueueGetStatsArgsSchema = z.never();
|
|
3109
|
-
|
|
3110
|
-
export const publicJobQueueGetStatsReturnsSchema = z.array(
|
|
3111
|
-
z.object({
|
|
3112
|
-
dlq_count: z.number(),
|
|
3113
|
-
msg_count: z.number(),
|
|
3114
|
-
queue_name: z.string(),
|
|
3115
|
-
}),
|
|
3116
|
-
);
|
|
3117
|
-
|
|
3118
2998
|
export const publicJobQueueListDlqArgsSchema = z.object({
|
|
3119
2999
|
p_limit: z.number().optional(),
|
|
3120
3000
|
p_offset: z.number().optional(),
|
|
3121
3001
|
p_queue: z.string(),
|
|
3122
3002
|
});
|
|
3123
3003
|
|
|
3124
|
-
export const
|
|
3125
|
-
z.
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
}),
|
|
3131
|
-
);
|
|
3004
|
+
export const publicJobQueueDlqRecordSchema = z.object({
|
|
3005
|
+
msg_id: z.number().nullable(),
|
|
3006
|
+
read_ct: z.number().nullable(),
|
|
3007
|
+
enqueued_at: z.string().nullable(),
|
|
3008
|
+
message: jsonSchema.nullable(),
|
|
3009
|
+
});
|
|
3132
3010
|
|
|
3133
3011
|
export const publicJobQueuePurgeDlqArgsSchema = z.object({
|
|
3134
3012
|
p_msg_ids: z.array(z.number()),
|
|
3135
3013
|
p_queue: z.string(),
|
|
3136
3014
|
});
|
|
3137
3015
|
|
|
3138
|
-
export const publicJobQueuePurgeDlqReturnsSchema = z.
|
|
3016
|
+
export const publicJobQueuePurgeDlqReturnsSchema = z.boolean();
|
|
3139
3017
|
|
|
3140
3018
|
export const publicJobQueueRetryDlqArgsSchema = z.object({
|
|
3141
3019
|
p_msg_ids: z.array(z.number()),
|
|
3142
3020
|
p_queue: z.string(),
|
|
3143
3021
|
});
|
|
3144
3022
|
|
|
3145
|
-
export const publicJobQueueRetryDlqReturnsSchema = z.
|
|
3023
|
+
export const publicJobQueueRetryDlqReturnsSchema = z.boolean();
|
|
3146
3024
|
|
|
3147
3025
|
export const publicJobSubmitArgsSchema = z.object({
|
|
3148
3026
|
p_delay_seconds: z.number().optional(),
|
|
@@ -3153,35 +3031,16 @@ export const publicJobSubmitArgsSchema = z.object({
|
|
|
3153
3031
|
|
|
3154
3032
|
export const publicJobSubmitReturnsSchema = jsonSchema;
|
|
3155
3033
|
|
|
3156
|
-
export const
|
|
3034
|
+
export const publicNotificationCompleteActionArgsSchema = z.object({
|
|
3035
|
+
p_id: z.string(),
|
|
3036
|
+
});
|
|
3157
3037
|
|
|
3158
|
-
export const
|
|
3038
|
+
export const publicNotificationCompleteActionReturnsSchema = z.boolean();
|
|
3159
3039
|
|
|
3160
|
-
export const
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
id: z.number(),
|
|
3165
|
-
name: z.string(),
|
|
3166
|
-
}),
|
|
3167
|
-
);
|
|
3168
|
-
|
|
3169
|
-
export const publicLogArgsSchema = z.object({
|
|
3170
|
-
content: z.string(),
|
|
3171
|
-
});
|
|
3172
|
-
|
|
3173
|
-
export const publicLogReturnsSchema = z.undefined();
|
|
3174
|
-
|
|
3175
|
-
export const publicNotificationCompleteActionArgsSchema = z.object({
|
|
3176
|
-
p_id: z.string(),
|
|
3177
|
-
});
|
|
3178
|
-
|
|
3179
|
-
export const publicNotificationCompleteActionReturnsSchema = z.boolean();
|
|
3180
|
-
|
|
3181
|
-
export const publicNotificationCountArgsSchema = z.object({
|
|
3182
|
-
p_include_dismissed: z.boolean().optional(),
|
|
3183
|
-
p_unread_only: z.boolean().optional(),
|
|
3184
|
-
});
|
|
3040
|
+
export const publicNotificationCountArgsSchema = z.object({
|
|
3041
|
+
p_include_dismissed: z.boolean().optional(),
|
|
3042
|
+
p_unread_only: z.boolean().optional(),
|
|
3043
|
+
});
|
|
3185
3044
|
|
|
3186
3045
|
export const publicNotificationCountReturnsSchema = z.number();
|
|
3187
3046
|
|
|
@@ -3237,6 +3096,7 @@ export const publicNotificationMarkReadArgsSchema = z.object({
|
|
|
3237
3096
|
export const publicNotificationMarkReadReturnsSchema = z.number();
|
|
3238
3097
|
|
|
3239
3098
|
export const publicOutreachProcessPendingTasksArgsSchema = z.object({
|
|
3099
|
+
p_campaign_id: z.string().optional(),
|
|
3240
3100
|
p_limit: z.number().optional(),
|
|
3241
3101
|
});
|
|
3242
3102
|
|
|
@@ -3282,15 +3142,15 @@ export const publicProxyGetArgsSchema = z.object({
|
|
|
3282
3142
|
p_id: z.string(),
|
|
3283
3143
|
});
|
|
3284
3144
|
|
|
3285
|
-
export const
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
id: z.string(),
|
|
3145
|
+
export const publicProxyRecordSchema = z.object({
|
|
3146
|
+
id: z.string().nullable(),
|
|
3147
|
+
created_at: z.string().nullable(),
|
|
3148
|
+
updated_at: z.string().nullable(),
|
|
3290
3149
|
name: z.string().nullable(),
|
|
3150
|
+
description: z.string().nullable(),
|
|
3151
|
+
url: z.string().nullable(),
|
|
3291
3152
|
type: z.string().nullable(),
|
|
3292
|
-
|
|
3293
|
-
url: z.string(),
|
|
3153
|
+
enabled: z.boolean().nullable(),
|
|
3294
3154
|
user_id: z.string().nullable(),
|
|
3295
3155
|
});
|
|
3296
3156
|
|
|
@@ -3300,19 +3160,7 @@ export const publicProxyListArgsSchema = z.object({
|
|
|
3300
3160
|
p_page_size: z.number().optional(),
|
|
3301
3161
|
});
|
|
3302
3162
|
|
|
3303
|
-
export const publicProxyListReturnsSchema = z.array(
|
|
3304
|
-
z.object({
|
|
3305
|
-
created_at: z.string(),
|
|
3306
|
-
description: z.string().nullable(),
|
|
3307
|
-
enabled: z.boolean(),
|
|
3308
|
-
id: z.string(),
|
|
3309
|
-
name: z.string().nullable(),
|
|
3310
|
-
type: z.string().nullable(),
|
|
3311
|
-
updated_at: z.string().nullable(),
|
|
3312
|
-
url: z.string(),
|
|
3313
|
-
user_id: z.string().nullable(),
|
|
3314
|
-
}),
|
|
3315
|
-
);
|
|
3163
|
+
export const publicProxyListReturnsSchema = z.array(publicProxyRecordSchema);
|
|
3316
3164
|
|
|
3317
3165
|
export const publicProxyUpsertArgsSchema = z.object({
|
|
3318
3166
|
p_description: z.string().optional(),
|
|
@@ -3323,19 +3171,7 @@ export const publicProxyUpsertArgsSchema = z.object({
|
|
|
3323
3171
|
p_url: z.string(),
|
|
3324
3172
|
});
|
|
3325
3173
|
|
|
3326
|
-
export const publicProxyUpsertReturnsSchema = z.array(
|
|
3327
|
-
z.object({
|
|
3328
|
-
created_at: z.string(),
|
|
3329
|
-
description: z.string().nullable(),
|
|
3330
|
-
enabled: z.boolean(),
|
|
3331
|
-
id: z.string(),
|
|
3332
|
-
name: z.string().nullable(),
|
|
3333
|
-
type: z.string().nullable(),
|
|
3334
|
-
updated_at: z.string().nullable(),
|
|
3335
|
-
url: z.string(),
|
|
3336
|
-
user_id: z.string().nullable(),
|
|
3337
|
-
}),
|
|
3338
|
-
);
|
|
3174
|
+
export const publicProxyUpsertReturnsSchema = z.array(publicProxyRecordSchema);
|
|
3339
3175
|
|
|
3340
3176
|
export const publicResourceDeleteArgsSchema = z.object({
|
|
3341
3177
|
p_resource_id: z.string(),
|
|
@@ -3357,27 +3193,25 @@ export const publicResourceListArgsSchema = z.object({
|
|
|
3357
3193
|
p_type: z.string().optional(),
|
|
3358
3194
|
});
|
|
3359
3195
|
|
|
3360
|
-
export const
|
|
3361
|
-
z.
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
}),
|
|
3371
|
-
);
|
|
3196
|
+
export const publicResourceListRecordSchema = z.object({
|
|
3197
|
+
id: z.string().nullable(),
|
|
3198
|
+
target_id: z.string().nullable(),
|
|
3199
|
+
title: z.string().nullable(),
|
|
3200
|
+
description: z.string().nullable(),
|
|
3201
|
+
icon: z.string().nullable(),
|
|
3202
|
+
type: z.string().nullable(),
|
|
3203
|
+
url: z.string().nullable(),
|
|
3204
|
+
updated_at: z.string().nullable(),
|
|
3205
|
+
});
|
|
3372
3206
|
|
|
3373
3207
|
export const publicResourceUpsertArgsSchema = z.object({
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
key: z.string(),
|
|
3208
|
+
p_content: jsonSchema.optional(),
|
|
3209
|
+
p_description: z.string().optional(),
|
|
3377
3210
|
p_id: z.string().optional(),
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3211
|
+
p_key: z.string().optional(),
|
|
3212
|
+
p_target_id: z.string().optional(),
|
|
3213
|
+
p_title: z.string().optional(),
|
|
3214
|
+
p_type: z.string().optional(),
|
|
3381
3215
|
});
|
|
3382
3216
|
|
|
3383
3217
|
export const publicResourceUpsertReturnsSchema = z.string();
|
|
@@ -3408,74 +3242,43 @@ export const publicSandboxGetReturnsSchema = z.array(
|
|
|
3408
3242
|
}),
|
|
3409
3243
|
);
|
|
3410
3244
|
|
|
3411
|
-
export const
|
|
3412
|
-
|
|
3245
|
+
export const publicServerInstanceBootstrapArgsSchema = z.object({
|
|
3246
|
+
p_instance_id: z.string(),
|
|
3413
3247
|
});
|
|
3414
3248
|
|
|
3415
|
-
export const
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3249
|
+
export const publicBootstrapResultSchema = z.object({
|
|
3250
|
+
success: z.boolean().nullable(),
|
|
3251
|
+
error: z.string().nullable(),
|
|
3252
|
+
config: jsonSchema.nullable(),
|
|
3419
3253
|
});
|
|
3420
3254
|
|
|
3421
|
-
export const
|
|
3422
|
-
z.
|
|
3423
|
-
cloudflared_token: z.string().nullable(),
|
|
3424
|
-
created_at: z.string(),
|
|
3425
|
-
host_id: z.string().nullable(),
|
|
3426
|
-
id: z.string(),
|
|
3427
|
-
is_shared: z.boolean().nullable(),
|
|
3428
|
-
latest_pull_at: z.string().nullable(),
|
|
3429
|
-
name: z.string().nullable(),
|
|
3430
|
-
runtime: z.string().nullable(),
|
|
3431
|
-
state: jsonSchema.nullable(),
|
|
3432
|
-
status: publicWorkerStatusSchema.nullable(),
|
|
3433
|
-
updated_at: z.string(),
|
|
3434
|
-
user_id: z.string().nullable(),
|
|
3435
|
-
}),
|
|
3436
|
-
);
|
|
3437
|
-
|
|
3438
|
-
export const publicServerInstanceHeartbeatArgsSchema = z.object({
|
|
3439
|
-
p_instance_id: z.string(),
|
|
3255
|
+
export const publicServerInstanceDeleteArgsSchema = z.object({
|
|
3256
|
+
p_id: z.string(),
|
|
3440
3257
|
});
|
|
3441
3258
|
|
|
3442
|
-
export const
|
|
3443
|
-
z.object({
|
|
3444
|
-
error: z.string(),
|
|
3445
|
-
success: z.boolean(),
|
|
3446
|
-
temp_domain: z.string(),
|
|
3447
|
-
}),
|
|
3448
|
-
);
|
|
3259
|
+
export const publicServerInstanceDeleteReturnsSchema = z.undefined();
|
|
3449
3260
|
|
|
3450
|
-
export const
|
|
3451
|
-
|
|
3452
|
-
p_host_id: z.string().optional(),
|
|
3453
|
-
page_no: z.number().optional(),
|
|
3454
|
-
page_size: z.number().optional(),
|
|
3261
|
+
export const publicServerInstanceGetArgsSchema = z.object({
|
|
3262
|
+
p_id: z.string(),
|
|
3455
3263
|
});
|
|
3456
3264
|
|
|
3457
|
-
export const
|
|
3458
|
-
z.
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
updated_at: z.string(),
|
|
3470
|
-
user_id: z.string().nullable(),
|
|
3471
|
-
}),
|
|
3472
|
-
);
|
|
3265
|
+
export const publicServerInstanceRecordSchema = z.object({
|
|
3266
|
+
id: z.string().nullable(),
|
|
3267
|
+
name: z.string().nullable(),
|
|
3268
|
+
updated_at: z.string().nullable(),
|
|
3269
|
+
config: jsonSchema.nullable(),
|
|
3270
|
+
status: publicServerStatusSchema.nullable(),
|
|
3271
|
+
is_public: z.boolean().nullable(),
|
|
3272
|
+
state: jsonSchema.nullable(),
|
|
3273
|
+
created_at: z.string().nullable(),
|
|
3274
|
+
user_id: z.string().nullable(),
|
|
3275
|
+
is_shared: z.boolean().nullable(),
|
|
3276
|
+
});
|
|
3473
3277
|
|
|
3474
3278
|
export const publicServerInstanceListCursorArgsSchema = z.object({
|
|
3475
3279
|
p_cursor_id: z.string().optional(),
|
|
3476
3280
|
p_cursor_is_shared: z.boolean().optional(),
|
|
3477
3281
|
p_cursor_updated_at: z.string().optional(),
|
|
3478
|
-
p_host_id: z.string().optional(),
|
|
3479
3282
|
p_is_shared: z.boolean().optional(),
|
|
3480
3283
|
p_kw: z.string().optional(),
|
|
3481
3284
|
p_limit: z.number().optional(),
|
|
@@ -3483,52 +3286,39 @@ export const publicServerInstanceListCursorArgsSchema = z.object({
|
|
|
3483
3286
|
});
|
|
3484
3287
|
|
|
3485
3288
|
export const publicServerInstanceListCursorReturnsSchema = z.array(
|
|
3486
|
-
|
|
3487
|
-
cloudflared_token: z.string().nullable(),
|
|
3488
|
-
created_at: z.string(),
|
|
3489
|
-
host_id: z.string().nullable(),
|
|
3490
|
-
id: z.string(),
|
|
3491
|
-
is_shared: z.boolean().nullable(),
|
|
3492
|
-
latest_pull_at: z.string().nullable(),
|
|
3493
|
-
name: z.string().nullable(),
|
|
3494
|
-
runtime: z.string().nullable(),
|
|
3495
|
-
state: jsonSchema.nullable(),
|
|
3496
|
-
status: publicWorkerStatusSchema.nullable(),
|
|
3497
|
-
updated_at: z.string(),
|
|
3498
|
-
user_id: z.string().nullable(),
|
|
3499
|
-
}),
|
|
3289
|
+
publicServerInstanceRecordSchema,
|
|
3500
3290
|
);
|
|
3501
3291
|
|
|
3292
|
+
export const publicServerInstanceProbeArgsSchema = z.object({
|
|
3293
|
+
p_instance_id: z.string(),
|
|
3294
|
+
});
|
|
3295
|
+
|
|
3296
|
+
export const publicServerInstanceProbeReturnsSchema = z.undefined();
|
|
3297
|
+
|
|
3502
3298
|
export const publicServerInstanceUpsertArgsSchema = z.object({
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
p_is_managed: z.boolean().optional(),
|
|
3299
|
+
p_config: jsonSchema.optional(),
|
|
3300
|
+
p_id: z.string().optional(),
|
|
3301
|
+
p_is_public: z.boolean().optional(),
|
|
3507
3302
|
p_is_shared: z.boolean().optional(),
|
|
3508
3303
|
p_name: z.string().optional(),
|
|
3509
|
-
p_runtime: z.string().optional(),
|
|
3510
3304
|
p_state: jsonSchema.optional(),
|
|
3511
|
-
p_status:
|
|
3512
|
-
p_user_id: z.string().optional(),
|
|
3305
|
+
p_status: publicServerStatusSchema.optional(),
|
|
3513
3306
|
});
|
|
3514
3307
|
|
|
3515
3308
|
export const publicServerInstanceUpsertReturnsSchema = z.array(
|
|
3516
|
-
|
|
3517
|
-
cloudflared_token: z.string().nullable(),
|
|
3518
|
-
created_at: z.string(),
|
|
3519
|
-
host_id: z.string().nullable(),
|
|
3520
|
-
id: z.string(),
|
|
3521
|
-
is_shared: z.boolean().nullable(),
|
|
3522
|
-
latest_pull_at: z.string().nullable(),
|
|
3523
|
-
name: z.string().nullable(),
|
|
3524
|
-
runtime: z.string().nullable(),
|
|
3525
|
-
state: jsonSchema.nullable(),
|
|
3526
|
-
status: publicWorkerStatusSchema.nullable(),
|
|
3527
|
-
updated_at: z.string(),
|
|
3528
|
-
user_id: z.string().nullable(),
|
|
3529
|
-
}),
|
|
3309
|
+
publicServerInstanceRecordSchema,
|
|
3530
3310
|
);
|
|
3531
3311
|
|
|
3312
|
+
export const publicServiceHealthSummaryArgsSchema = z.never();
|
|
3313
|
+
|
|
3314
|
+
export const publicServiceHealthRecordSchema = z.object({
|
|
3315
|
+
module: z.string().nullable(),
|
|
3316
|
+
status: z.string().nullable(),
|
|
3317
|
+
last_error_at: z.string().nullable(),
|
|
3318
|
+
last_error_message: z.string().nullable(),
|
|
3319
|
+
error_count_24h: z.number().nullable(),
|
|
3320
|
+
});
|
|
3321
|
+
|
|
3532
3322
|
export const publicSysConfigSetArgsSchema = z.object({
|
|
3533
3323
|
p_description: z.string().optional(),
|
|
3534
3324
|
p_key: z.string(),
|
|
@@ -3537,6 +3327,19 @@ export const publicSysConfigSetArgsSchema = z.object({
|
|
|
3537
3327
|
|
|
3538
3328
|
export const publicSysConfigSetReturnsSchema = z.undefined();
|
|
3539
3329
|
|
|
3330
|
+
export const publicSysEventLogArgsSchema = z.object({
|
|
3331
|
+
p_content: z.string(),
|
|
3332
|
+
p_event_type: z.string(),
|
|
3333
|
+
p_level: z.string().optional(),
|
|
3334
|
+
p_meta: jsonSchema.optional(),
|
|
3335
|
+
p_module: z.string().optional(),
|
|
3336
|
+
p_notify_admins: z.boolean().optional(),
|
|
3337
|
+
p_resource_id: z.string().optional(),
|
|
3338
|
+
p_resource_type: z.string().optional(),
|
|
3339
|
+
});
|
|
3340
|
+
|
|
3341
|
+
export const publicSysEventLogReturnsSchema = z.string();
|
|
3342
|
+
|
|
3540
3343
|
export const publicSysGetDbSchemaArgsSchema = z.object({
|
|
3541
3344
|
p_excluded_tables: z.array(z.string()).optional(),
|
|
3542
3345
|
p_include_comments: z.boolean().optional(),
|
|
@@ -3551,6 +3354,43 @@ export const publicSysInitQueueArgsSchema = z.object({
|
|
|
3551
3354
|
|
|
3552
3355
|
export const publicSysInitQueueReturnsSchema = z.undefined();
|
|
3553
3356
|
|
|
3357
|
+
export const publicSysLogListArgsSchema = z.object({
|
|
3358
|
+
p_cursor: z.string().optional(),
|
|
3359
|
+
p_event_type: z.string().optional(),
|
|
3360
|
+
p_level_max: publicSysLogLevelSchema.optional(),
|
|
3361
|
+
p_limit: z.number().optional(),
|
|
3362
|
+
p_module: z.string().optional(),
|
|
3363
|
+
p_resource_id: z.string().optional(),
|
|
3364
|
+
p_resource_type: z.string().optional(),
|
|
3365
|
+
});
|
|
3366
|
+
|
|
3367
|
+
export const publicSysLogRecordSchema = z.object({
|
|
3368
|
+
id: z.number().nullable(),
|
|
3369
|
+
created_at: z.string().nullable(),
|
|
3370
|
+
text: z.string().nullable(),
|
|
3371
|
+
level: publicSysLogLevelSchema.nullable(),
|
|
3372
|
+
module: z.string().nullable(),
|
|
3373
|
+
event_type: z.string().nullable(),
|
|
3374
|
+
meta: jsonSchema.nullable(),
|
|
3375
|
+
resource_type: z.string().nullable(),
|
|
3376
|
+
resource_id: z.string().nullable(),
|
|
3377
|
+
resource_name: z.string().nullable(),
|
|
3378
|
+
user_id: z.string().nullable(),
|
|
3379
|
+
});
|
|
3380
|
+
|
|
3381
|
+
export const publicSysLogValidateMetaArgsSchema = z.object({
|
|
3382
|
+
p_event_type: z.string(),
|
|
3383
|
+
p_meta: jsonSchema,
|
|
3384
|
+
});
|
|
3385
|
+
|
|
3386
|
+
export const publicSysLogValidateMetaReturnsSchema = z.boolean();
|
|
3387
|
+
|
|
3388
|
+
export const publicSysLogsCleanupArgsSchema = z.object({
|
|
3389
|
+
p_retention_days: z.number().optional(),
|
|
3390
|
+
});
|
|
3391
|
+
|
|
3392
|
+
export const publicSysLogsCleanupReturnsSchema = z.undefined();
|
|
3393
|
+
|
|
3554
3394
|
export const publicSystemConfigPublicDeleteArgsSchema = z.object({
|
|
3555
3395
|
p_key: z.string(),
|
|
3556
3396
|
});
|
|
@@ -3567,15 +3407,15 @@ export const publicSystemConfigPublicListArgsSchema = z.never();
|
|
|
3567
3407
|
|
|
3568
3408
|
export const publicSystemConfigPublicListReturnsSchema = z.array(
|
|
3569
3409
|
z.object({
|
|
3570
|
-
|
|
3410
|
+
created_at: z.string().nullable(),
|
|
3411
|
+
description: z.string().nullable(),
|
|
3571
3412
|
key: z.string(),
|
|
3572
|
-
updated_at: z.string(),
|
|
3413
|
+
updated_at: z.string().nullable(),
|
|
3573
3414
|
value: jsonSchema,
|
|
3574
3415
|
}),
|
|
3575
3416
|
);
|
|
3576
3417
|
|
|
3577
3418
|
export const publicSystemConfigPublicSetArgsSchema = z.object({
|
|
3578
|
-
p_description: z.string().optional(),
|
|
3579
3419
|
p_key: z.string(),
|
|
3580
3420
|
p_value: jsonSchema,
|
|
3581
3421
|
});
|
|
@@ -3600,19 +3440,358 @@ export const publicTagUpsertArgsSchema = z.object({
|
|
|
3600
3440
|
|
|
3601
3441
|
export const publicTagUpsertReturnsSchema = z.array(publicTagRecordSchema);
|
|
3602
3442
|
|
|
3443
|
+
export const publicTaskAckArgsSchema = z.object({
|
|
3444
|
+
p_msg_id: z.number(),
|
|
3445
|
+
});
|
|
3446
|
+
|
|
3447
|
+
export const publicTaskAckReturnsSchema = z.undefined();
|
|
3448
|
+
|
|
3449
|
+
export const publicTaskAttemptDispatchArgsSchema = z.object({
|
|
3450
|
+
p_task: publicTasksRowSchema,
|
|
3451
|
+
});
|
|
3452
|
+
|
|
3453
|
+
export const publicTaskAttemptDispatchReturnsSchema = z.object({
|
|
3454
|
+
code: z.string().nullable(),
|
|
3455
|
+
code_type: publicTaskCodeTypeSchema.nullable(),
|
|
3456
|
+
completed_at: z.string().nullable(),
|
|
3457
|
+
context_id: z.string().nullable(),
|
|
3458
|
+
context_type: z.string().nullable(),
|
|
3459
|
+
created_at: z.string(),
|
|
3460
|
+
description: z.string().nullable(),
|
|
3461
|
+
error: z.string().nullable(),
|
|
3462
|
+
executor_id: z.string().nullable(),
|
|
3463
|
+
executor_type: z.string().nullable(),
|
|
3464
|
+
id: z.string(),
|
|
3465
|
+
max_retries: z.number(),
|
|
3466
|
+
meta: jsonSchema,
|
|
3467
|
+
parent_id: z.string().nullable(),
|
|
3468
|
+
priority: z.number(),
|
|
3469
|
+
result: jsonSchema.nullable(),
|
|
3470
|
+
result_text: z.string().nullable(),
|
|
3471
|
+
retry_count: z.number(),
|
|
3472
|
+
scheduled_at: z.string().nullable(),
|
|
3473
|
+
started_at: z.string().nullable(),
|
|
3474
|
+
status: publicTaskStatusSchema,
|
|
3475
|
+
tags: z.array(z.string()),
|
|
3476
|
+
title: z.string(),
|
|
3477
|
+
updated_at: z.string(),
|
|
3478
|
+
user_id: z.string(),
|
|
3479
|
+
});
|
|
3480
|
+
|
|
3481
|
+
export const publicTaskCancelArgsSchema = z.object({
|
|
3482
|
+
p_id: z.string(),
|
|
3483
|
+
});
|
|
3484
|
+
|
|
3485
|
+
export const publicTaskCancelReturnsSchema = z.array(
|
|
3486
|
+
z.object({
|
|
3487
|
+
code: z.string().nullable(),
|
|
3488
|
+
code_type: publicTaskCodeTypeSchema.nullable(),
|
|
3489
|
+
completed_at: z.string().nullable(),
|
|
3490
|
+
context_id: z.string().nullable(),
|
|
3491
|
+
context_type: z.string().nullable(),
|
|
3492
|
+
created_at: z.string(),
|
|
3493
|
+
description: z.string().nullable(),
|
|
3494
|
+
error: z.string().nullable(),
|
|
3495
|
+
executor_id: z.string().nullable(),
|
|
3496
|
+
executor_type: z.string().nullable(),
|
|
3497
|
+
id: z.string(),
|
|
3498
|
+
max_retries: z.number(),
|
|
3499
|
+
meta: jsonSchema,
|
|
3500
|
+
parent_id: z.string().nullable(),
|
|
3501
|
+
priority: z.number(),
|
|
3502
|
+
result: jsonSchema.nullable(),
|
|
3503
|
+
result_text: z.string().nullable(),
|
|
3504
|
+
retry_count: z.number(),
|
|
3505
|
+
scheduled_at: z.string().nullable(),
|
|
3506
|
+
started_at: z.string().nullable(),
|
|
3507
|
+
status: publicTaskStatusSchema,
|
|
3508
|
+
tags: z.array(z.string()),
|
|
3509
|
+
title: z.string(),
|
|
3510
|
+
updated_at: z.string(),
|
|
3511
|
+
user_id: z.string(),
|
|
3512
|
+
}),
|
|
3513
|
+
);
|
|
3514
|
+
|
|
3515
|
+
export const publicTaskCompleteArgsSchema = z.object({
|
|
3516
|
+
p_error: z.string().optional(),
|
|
3517
|
+
p_id: z.string(),
|
|
3518
|
+
p_result: jsonSchema.optional(),
|
|
3519
|
+
p_result_text: z.string().optional(),
|
|
3520
|
+
p_success: z.boolean(),
|
|
3521
|
+
});
|
|
3522
|
+
|
|
3523
|
+
export const publicTaskCompleteReturnsSchema = z.array(
|
|
3524
|
+
z.object({
|
|
3525
|
+
code: z.string().nullable(),
|
|
3526
|
+
code_type: publicTaskCodeTypeSchema.nullable(),
|
|
3527
|
+
completed_at: z.string().nullable(),
|
|
3528
|
+
context_id: z.string().nullable(),
|
|
3529
|
+
context_type: z.string().nullable(),
|
|
3530
|
+
created_at: z.string(),
|
|
3531
|
+
description: z.string().nullable(),
|
|
3532
|
+
error: z.string().nullable(),
|
|
3533
|
+
executor_id: z.string().nullable(),
|
|
3534
|
+
executor_type: z.string().nullable(),
|
|
3535
|
+
id: z.string(),
|
|
3536
|
+
max_retries: z.number(),
|
|
3537
|
+
meta: jsonSchema,
|
|
3538
|
+
parent_id: z.string().nullable(),
|
|
3539
|
+
priority: z.number(),
|
|
3540
|
+
result: jsonSchema.nullable(),
|
|
3541
|
+
result_text: z.string().nullable(),
|
|
3542
|
+
retry_count: z.number(),
|
|
3543
|
+
scheduled_at: z.string().nullable(),
|
|
3544
|
+
started_at: z.string().nullable(),
|
|
3545
|
+
status: publicTaskStatusSchema,
|
|
3546
|
+
tags: z.array(z.string()),
|
|
3547
|
+
title: z.string(),
|
|
3548
|
+
updated_at: z.string(),
|
|
3549
|
+
user_id: z.string(),
|
|
3550
|
+
}),
|
|
3551
|
+
);
|
|
3552
|
+
|
|
3553
|
+
export const publicTaskDeriveArgsSchema = z.object({
|
|
3554
|
+
p_code: z.string(),
|
|
3555
|
+
p_code_type: publicTaskCodeTypeSchema,
|
|
3556
|
+
p_description: z.string().optional(),
|
|
3557
|
+
p_meta: jsonSchema.optional(),
|
|
3558
|
+
p_parent_id: z.string(),
|
|
3559
|
+
p_title: z.string(),
|
|
3560
|
+
});
|
|
3561
|
+
|
|
3562
|
+
export const publicTaskDeriveReturnsSchema = z.array(
|
|
3563
|
+
z.object({
|
|
3564
|
+
code: z.string().nullable(),
|
|
3565
|
+
code_type: publicTaskCodeTypeSchema.nullable(),
|
|
3566
|
+
completed_at: z.string().nullable(),
|
|
3567
|
+
context_id: z.string().nullable(),
|
|
3568
|
+
context_type: z.string().nullable(),
|
|
3569
|
+
created_at: z.string(),
|
|
3570
|
+
description: z.string().nullable(),
|
|
3571
|
+
error: z.string().nullable(),
|
|
3572
|
+
executor_id: z.string().nullable(),
|
|
3573
|
+
executor_type: z.string().nullable(),
|
|
3574
|
+
id: z.string(),
|
|
3575
|
+
max_retries: z.number(),
|
|
3576
|
+
meta: jsonSchema,
|
|
3577
|
+
parent_id: z.string().nullable(),
|
|
3578
|
+
priority: z.number(),
|
|
3579
|
+
result: jsonSchema.nullable(),
|
|
3580
|
+
result_text: z.string().nullable(),
|
|
3581
|
+
retry_count: z.number(),
|
|
3582
|
+
scheduled_at: z.string().nullable(),
|
|
3583
|
+
started_at: z.string().nullable(),
|
|
3584
|
+
status: publicTaskStatusSchema,
|
|
3585
|
+
tags: z.array(z.string()),
|
|
3586
|
+
title: z.string(),
|
|
3587
|
+
updated_at: z.string(),
|
|
3588
|
+
user_id: z.string(),
|
|
3589
|
+
}),
|
|
3590
|
+
);
|
|
3591
|
+
|
|
3592
|
+
export const publicTaskGetArgsSchema = z.object({
|
|
3593
|
+
p_id: z.string(),
|
|
3594
|
+
});
|
|
3595
|
+
|
|
3596
|
+
export const publicTaskGetReturnsSchema = z.array(
|
|
3597
|
+
z.object({
|
|
3598
|
+
code: z.string().nullable(),
|
|
3599
|
+
code_type: publicTaskCodeTypeSchema.nullable(),
|
|
3600
|
+
completed_at: z.string().nullable(),
|
|
3601
|
+
context_id: z.string().nullable(),
|
|
3602
|
+
context_type: z.string().nullable(),
|
|
3603
|
+
created_at: z.string(),
|
|
3604
|
+
description: z.string().nullable(),
|
|
3605
|
+
error: z.string().nullable(),
|
|
3606
|
+
executor_id: z.string().nullable(),
|
|
3607
|
+
executor_type: z.string().nullable(),
|
|
3608
|
+
id: z.string(),
|
|
3609
|
+
max_retries: z.number(),
|
|
3610
|
+
meta: jsonSchema,
|
|
3611
|
+
parent_id: z.string().nullable(),
|
|
3612
|
+
priority: z.number(),
|
|
3613
|
+
result: jsonSchema.nullable(),
|
|
3614
|
+
result_text: z.string().nullable(),
|
|
3615
|
+
retry_count: z.number(),
|
|
3616
|
+
scheduled_at: z.string().nullable(),
|
|
3617
|
+
started_at: z.string().nullable(),
|
|
3618
|
+
status: publicTaskStatusSchema,
|
|
3619
|
+
tags: z.array(z.string()),
|
|
3620
|
+
title: z.string(),
|
|
3621
|
+
updated_at: z.string(),
|
|
3622
|
+
user_id: z.string(),
|
|
3623
|
+
}),
|
|
3624
|
+
);
|
|
3625
|
+
|
|
3626
|
+
export const publicTaskListCursorArgsSchema = z.object({
|
|
3627
|
+
p_code_type: publicTaskCodeTypeSchema.optional(),
|
|
3628
|
+
p_context_id: z.string().optional(),
|
|
3629
|
+
p_context_type: z.string().optional(),
|
|
3630
|
+
p_cursor: z.string().optional(),
|
|
3631
|
+
p_limit: z.number().optional(),
|
|
3632
|
+
p_parent_id: z.string().optional(),
|
|
3633
|
+
p_status: publicTaskStatusSchema.optional(),
|
|
3634
|
+
p_tag: z.string().optional(),
|
|
3635
|
+
});
|
|
3636
|
+
|
|
3637
|
+
export const publicTaskListCursorReturnsSchema = z.array(
|
|
3638
|
+
z.object({
|
|
3639
|
+
code: z.string().nullable(),
|
|
3640
|
+
code_type: publicTaskCodeTypeSchema.nullable(),
|
|
3641
|
+
completed_at: z.string().nullable(),
|
|
3642
|
+
context_id: z.string().nullable(),
|
|
3643
|
+
context_type: z.string().nullable(),
|
|
3644
|
+
created_at: z.string(),
|
|
3645
|
+
description: z.string().nullable(),
|
|
3646
|
+
error: z.string().nullable(),
|
|
3647
|
+
executor_id: z.string().nullable(),
|
|
3648
|
+
executor_type: z.string().nullable(),
|
|
3649
|
+
id: z.string(),
|
|
3650
|
+
max_retries: z.number(),
|
|
3651
|
+
meta: jsonSchema,
|
|
3652
|
+
parent_id: z.string().nullable(),
|
|
3653
|
+
priority: z.number(),
|
|
3654
|
+
result: jsonSchema.nullable(),
|
|
3655
|
+
result_text: z.string().nullable(),
|
|
3656
|
+
retry_count: z.number(),
|
|
3657
|
+
scheduled_at: z.string().nullable(),
|
|
3658
|
+
started_at: z.string().nullable(),
|
|
3659
|
+
status: publicTaskStatusSchema,
|
|
3660
|
+
tags: z.array(z.string()),
|
|
3661
|
+
title: z.string(),
|
|
3662
|
+
updated_at: z.string(),
|
|
3663
|
+
user_id: z.string(),
|
|
3664
|
+
}),
|
|
3665
|
+
);
|
|
3666
|
+
|
|
3667
|
+
export const publicTaskScheduleNextArgsSchema = z.never();
|
|
3668
|
+
|
|
3669
|
+
export const publicTaskScheduleNextReturnsSchema = z.undefined();
|
|
3670
|
+
|
|
3603
3671
|
export const publicTaskSubmitArgsSchema = z.object({
|
|
3604
|
-
|
|
3605
|
-
p_type: z.string(),
|
|
3672
|
+
p_id: z.string(),
|
|
3606
3673
|
});
|
|
3607
3674
|
|
|
3608
|
-
export const publicTaskSubmitReturnsSchema =
|
|
3675
|
+
export const publicTaskSubmitReturnsSchema = z.array(
|
|
3676
|
+
z.object({
|
|
3677
|
+
code: z.string().nullable(),
|
|
3678
|
+
code_type: publicTaskCodeTypeSchema.nullable(),
|
|
3679
|
+
completed_at: z.string().nullable(),
|
|
3680
|
+
context_id: z.string().nullable(),
|
|
3681
|
+
context_type: z.string().nullable(),
|
|
3682
|
+
created_at: z.string(),
|
|
3683
|
+
description: z.string().nullable(),
|
|
3684
|
+
error: z.string().nullable(),
|
|
3685
|
+
executor_id: z.string().nullable(),
|
|
3686
|
+
executor_type: z.string().nullable(),
|
|
3687
|
+
id: z.string(),
|
|
3688
|
+
max_retries: z.number(),
|
|
3689
|
+
meta: jsonSchema,
|
|
3690
|
+
parent_id: z.string().nullable(),
|
|
3691
|
+
priority: z.number(),
|
|
3692
|
+
result: jsonSchema.nullable(),
|
|
3693
|
+
result_text: z.string().nullable(),
|
|
3694
|
+
retry_count: z.number(),
|
|
3695
|
+
scheduled_at: z.string().nullable(),
|
|
3696
|
+
started_at: z.string().nullable(),
|
|
3697
|
+
status: publicTaskStatusSchema,
|
|
3698
|
+
tags: z.array(z.string()),
|
|
3699
|
+
title: z.string(),
|
|
3700
|
+
updated_at: z.string(),
|
|
3701
|
+
user_id: z.string(),
|
|
3702
|
+
}),
|
|
3703
|
+
);
|
|
3609
3704
|
|
|
3610
|
-
export const
|
|
3705
|
+
export const publicTaskTimeoutCheckArgsSchema = z.never();
|
|
3611
3706
|
|
|
3612
|
-
export const
|
|
3707
|
+
export const publicTaskTimeoutCheckReturnsSchema = z.undefined();
|
|
3708
|
+
|
|
3709
|
+
export const publicTaskTreeArgsSchema = z.object({
|
|
3710
|
+
p_task_id: z.string(),
|
|
3711
|
+
});
|
|
3712
|
+
|
|
3713
|
+
export const publicTaskTreeReturnsSchema = z.array(
|
|
3714
|
+
z.object({
|
|
3715
|
+
code: z.string().nullable(),
|
|
3716
|
+
code_type: publicTaskCodeTypeSchema.nullable(),
|
|
3717
|
+
completed_at: z.string().nullable(),
|
|
3718
|
+
context_id: z.string().nullable(),
|
|
3719
|
+
context_type: z.string().nullable(),
|
|
3720
|
+
created_at: z.string(),
|
|
3721
|
+
description: z.string().nullable(),
|
|
3722
|
+
error: z.string().nullable(),
|
|
3723
|
+
executor_id: z.string().nullable(),
|
|
3724
|
+
executor_type: z.string().nullable(),
|
|
3725
|
+
id: z.string(),
|
|
3726
|
+
max_retries: z.number(),
|
|
3727
|
+
meta: jsonSchema,
|
|
3728
|
+
parent_id: z.string().nullable(),
|
|
3729
|
+
priority: z.number(),
|
|
3730
|
+
result: jsonSchema.nullable(),
|
|
3731
|
+
result_text: z.string().nullable(),
|
|
3732
|
+
retry_count: z.number(),
|
|
3733
|
+
scheduled_at: z.string().nullable(),
|
|
3734
|
+
started_at: z.string().nullable(),
|
|
3735
|
+
status: publicTaskStatusSchema,
|
|
3736
|
+
tags: z.array(z.string()),
|
|
3737
|
+
title: z.string(),
|
|
3738
|
+
updated_at: z.string(),
|
|
3739
|
+
user_id: z.string(),
|
|
3740
|
+
}),
|
|
3741
|
+
);
|
|
3742
|
+
|
|
3743
|
+
export const publicTaskUpsertArgsSchema = z.object({
|
|
3744
|
+
p_code: z.string().optional(),
|
|
3745
|
+
p_code_type: publicTaskCodeTypeSchema.optional(),
|
|
3746
|
+
p_context_id: z.string().optional(),
|
|
3747
|
+
p_context_type: z.string().optional(),
|
|
3748
|
+
p_description: z.string().optional(),
|
|
3749
|
+
p_executor_id: z.string().optional(),
|
|
3750
|
+
p_executor_type: z.string().optional(),
|
|
3751
|
+
p_id: z.string().optional(),
|
|
3752
|
+
p_max_retries: z.number().optional(),
|
|
3753
|
+
p_meta: jsonSchema.optional(),
|
|
3754
|
+
p_parent_id: z.string().optional(),
|
|
3755
|
+
p_priority: z.number().optional(),
|
|
3756
|
+
p_scheduled_at: z.string().optional(),
|
|
3757
|
+
p_status: publicTaskStatusSchema.optional(),
|
|
3758
|
+
p_tags: z.array(z.string()).optional(),
|
|
3759
|
+
p_title: z.string().optional(),
|
|
3760
|
+
});
|
|
3761
|
+
|
|
3762
|
+
export const publicTaskUpsertReturnsSchema = z.array(
|
|
3763
|
+
z.object({
|
|
3764
|
+
code: z.string().nullable(),
|
|
3765
|
+
code_type: publicTaskCodeTypeSchema.nullable(),
|
|
3766
|
+
completed_at: z.string().nullable(),
|
|
3767
|
+
context_id: z.string().nullable(),
|
|
3768
|
+
context_type: z.string().nullable(),
|
|
3769
|
+
created_at: z.string(),
|
|
3770
|
+
description: z.string().nullable(),
|
|
3771
|
+
error: z.string().nullable(),
|
|
3772
|
+
executor_id: z.string().nullable(),
|
|
3773
|
+
executor_type: z.string().nullable(),
|
|
3774
|
+
id: z.string(),
|
|
3775
|
+
max_retries: z.number(),
|
|
3776
|
+
meta: jsonSchema,
|
|
3777
|
+
parent_id: z.string().nullable(),
|
|
3778
|
+
priority: z.number(),
|
|
3779
|
+
result: jsonSchema.nullable(),
|
|
3780
|
+
result_text: z.string().nullable(),
|
|
3781
|
+
retry_count: z.number(),
|
|
3782
|
+
scheduled_at: z.string().nullable(),
|
|
3783
|
+
started_at: z.string().nullable(),
|
|
3784
|
+
status: publicTaskStatusSchema,
|
|
3785
|
+
tags: z.array(z.string()),
|
|
3786
|
+
title: z.string(),
|
|
3787
|
+
updated_at: z.string(),
|
|
3788
|
+
user_id: z.string(),
|
|
3789
|
+
}),
|
|
3790
|
+
);
|
|
3613
3791
|
|
|
3614
3792
|
export const publicTelegramLoginStartArgsSchema = z.object({
|
|
3615
3793
|
p_account_id: z.string(),
|
|
3794
|
+
p_use_sms: z.boolean().optional(),
|
|
3616
3795
|
});
|
|
3617
3796
|
|
|
3618
3797
|
export const publicTelegramLoginStartReturnsSchema = z.undefined();
|
|
@@ -3631,26 +3810,57 @@ export const publicTelegramLoginSubmitCodeArgsSchema = z.object({
|
|
|
3631
3810
|
|
|
3632
3811
|
export const publicTelegramLoginSubmitCodeReturnsSchema = z.undefined();
|
|
3633
3812
|
|
|
3634
|
-
export const
|
|
3813
|
+
export const publicTrafficLogDeleteArgsSchema = z.never();
|
|
3635
3814
|
|
|
3636
|
-
export const
|
|
3637
|
-
z.object({
|
|
3638
|
-
check_result: z.string(),
|
|
3639
|
-
function_name: z.string(),
|
|
3640
|
-
severity: z.string(),
|
|
3641
|
-
}),
|
|
3642
|
-
);
|
|
3815
|
+
export const publicTrafficLogDeleteReturnsSchema = z.undefined();
|
|
3643
3816
|
|
|
3644
|
-
export const
|
|
3645
|
-
|
|
3817
|
+
export const publicTrafficLogInsertArgsSchema = z.object({
|
|
3818
|
+
p_logs: jsonSchema,
|
|
3646
3819
|
});
|
|
3647
3820
|
|
|
3648
|
-
export const
|
|
3821
|
+
export const publicTrafficLogInsertReturnsSchema = z.undefined();
|
|
3822
|
+
|
|
3823
|
+
export const publicTrafficLogListArgsSchema = z.object({
|
|
3824
|
+
p_limit: z.number().optional(),
|
|
3825
|
+
p_offset: z.number().optional(),
|
|
3826
|
+
});
|
|
3827
|
+
|
|
3828
|
+
export const publicTrafficLogListReturnsSchema = z.array(
|
|
3649
3829
|
z.object({
|
|
3830
|
+
client_ip: z.string().nullable(),
|
|
3831
|
+
created_at: z.string().nullable(),
|
|
3832
|
+
error: z.string().nullable(),
|
|
3833
|
+
host: z.string().nullable(),
|
|
3650
3834
|
id: z.string(),
|
|
3835
|
+
method: z.string().nullable(),
|
|
3836
|
+
path: z.string().nullable(),
|
|
3837
|
+
request_headers: jsonSchema.nullable(),
|
|
3838
|
+
response_headers: jsonSchema.nullable(),
|
|
3839
|
+
scheme: z.string().nullable(),
|
|
3840
|
+
started_at: z.string().nullable(),
|
|
3841
|
+
status_code: z.number().nullable(),
|
|
3842
|
+
url: z.string().nullable(),
|
|
3843
|
+
user_id: z.string().nullable(),
|
|
3844
|
+
worker_id: z.string().nullable(),
|
|
3651
3845
|
}),
|
|
3652
3846
|
);
|
|
3653
3847
|
|
|
3848
|
+
export const publicUserCreateArgsSchema = z.object({
|
|
3849
|
+
p_email: z.string(),
|
|
3850
|
+
p_full_name: z.string().optional(),
|
|
3851
|
+
p_password: z.string(),
|
|
3852
|
+
p_role: publicAppRoleSchema.optional(),
|
|
3853
|
+
p_user_id: z.string().optional(),
|
|
3854
|
+
});
|
|
3855
|
+
|
|
3856
|
+
export const publicUserCreateReturnsSchema = z.string();
|
|
3857
|
+
|
|
3858
|
+
export const publicUserDeleteArgsSchema = z.object({
|
|
3859
|
+
p_user_id: z.string(),
|
|
3860
|
+
});
|
|
3861
|
+
|
|
3862
|
+
export const publicUserDeleteReturnsSchema = z.undefined();
|
|
3863
|
+
|
|
3654
3864
|
export const publicUserLogListArgsSchema = z.object({
|
|
3655
3865
|
p_page: z.number().optional(),
|
|
3656
3866
|
p_page_size: z.number().optional(),
|
|
@@ -3658,17 +3868,36 @@ export const publicUserLogListArgsSchema = z.object({
|
|
|
3658
3868
|
|
|
3659
3869
|
export const publicUserLogListReturnsSchema = z.array(
|
|
3660
3870
|
z.object({
|
|
3661
|
-
content: z.string(),
|
|
3662
|
-
created_at: z.string(),
|
|
3871
|
+
content: z.string().nullable(),
|
|
3872
|
+
created_at: z.string().nullable(),
|
|
3663
3873
|
event_type: z.string(),
|
|
3664
3874
|
id: z.string(),
|
|
3665
3875
|
level: z.string(),
|
|
3666
|
-
meta: jsonSchema,
|
|
3667
|
-
resource_id: z.string(),
|
|
3668
|
-
resource_type: z.string(),
|
|
3876
|
+
meta: jsonSchema.nullable(),
|
|
3877
|
+
resource_id: z.string().nullable(),
|
|
3878
|
+
resource_type: z.string().nullable(),
|
|
3879
|
+
user_id: z.string(),
|
|
3669
3880
|
}),
|
|
3670
3881
|
);
|
|
3671
3882
|
|
|
3883
|
+
export const publicUserLogRecordArgsSchema = z.object({
|
|
3884
|
+
p_content: z.string(),
|
|
3885
|
+
p_event_type: z.string(),
|
|
3886
|
+
p_level: z.string().optional(),
|
|
3887
|
+
p_meta: jsonSchema.optional(),
|
|
3888
|
+
p_resource_id: z.string().optional(),
|
|
3889
|
+
p_resource_type: z.string().optional(),
|
|
3890
|
+
p_user_id: z.string().optional(),
|
|
3891
|
+
});
|
|
3892
|
+
|
|
3893
|
+
export const publicUserLogRecordReturnsSchema = z.string();
|
|
3894
|
+
|
|
3895
|
+
export const publicUserNotificationsCleanupArgsSchema = z.object({
|
|
3896
|
+
p_retention_days: z.number().optional(),
|
|
3897
|
+
});
|
|
3898
|
+
|
|
3899
|
+
export const publicUserNotificationsCleanupReturnsSchema = z.undefined();
|
|
3900
|
+
|
|
3672
3901
|
export const publicUserProfileGetArgsSchema = z.never();
|
|
3673
3902
|
|
|
3674
3903
|
export const publicUserProfileRecordSchema = z.object({
|
|
@@ -3696,86 +3925,49 @@ export const publicUserProfileUpsertReturnsSchema = z.object({
|
|
|
3696
3925
|
website: z.string().nullable(),
|
|
3697
3926
|
});
|
|
3698
3927
|
|
|
3699
|
-
export const
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
});
|
|
3703
|
-
|
|
3704
|
-
export const publicWorkerAckReturnsSchema = z.undefined();
|
|
3705
|
-
|
|
3706
|
-
export const publicWorkerProcessQueueArgsSchema = z.object({
|
|
3707
|
-
p_limit: z.number().optional(),
|
|
3708
|
-
p_queue: z.string(),
|
|
3928
|
+
export const publicUserRoleDeleteArgsSchema = z.object({
|
|
3929
|
+
p_role: publicAppRoleSchema,
|
|
3930
|
+
p_user_id: z.string(),
|
|
3709
3931
|
});
|
|
3710
3932
|
|
|
3711
|
-
export const
|
|
3712
|
-
|
|
3713
|
-
export const publicWorkerPruneQueuesArgsSchema = z.never();
|
|
3714
|
-
|
|
3715
|
-
export const publicWorkerPruneQueuesReturnsSchema = z.undefined();
|
|
3933
|
+
export const publicUserRoleDeleteReturnsSchema = z.undefined();
|
|
3716
3934
|
|
|
3717
|
-
export const
|
|
3718
|
-
|
|
3935
|
+
export const publicUserRoleListArgsSchema = z.object({
|
|
3936
|
+
p_user_id: z.string(),
|
|
3719
3937
|
});
|
|
3720
3938
|
|
|
3721
|
-
export const
|
|
3939
|
+
export const publicUserRoleListReturnsSchema = z.array(publicAppRoleSchema);
|
|
3722
3940
|
|
|
3723
|
-
export const
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
p_payload: jsonSchema.optional(),
|
|
3727
|
-
p_result: jsonSchema.optional(),
|
|
3728
|
-
p_session_id: z.string().optional(),
|
|
3729
|
-
p_status: z.string().optional(),
|
|
3730
|
-
p_type: z.string().optional(),
|
|
3731
|
-
p_user_id: z.string().optional(),
|
|
3941
|
+
export const publicUserRoleUpsertArgsSchema = z.object({
|
|
3942
|
+
p_role: publicAppRoleSchema,
|
|
3943
|
+
p_user_id: z.string(),
|
|
3732
3944
|
});
|
|
3733
3945
|
|
|
3734
|
-
export const
|
|
3735
|
-
|
|
3736
|
-
export const publicServerInstanceRecordSchema = z.object({
|
|
3737
|
-
id: z.string().nullable(),
|
|
3738
|
-
name: z.string().nullable(),
|
|
3739
|
-
updated_at: z.string().nullable(),
|
|
3740
|
-
config: jsonSchema.nullable(),
|
|
3741
|
-
status: publicWorkerStatusSchema.nullable(),
|
|
3742
|
-
host_id: z.string().nullable(),
|
|
3743
|
-
is_public: z.boolean().nullable(),
|
|
3744
|
-
state: jsonSchema.nullable(),
|
|
3745
|
-
created_at: z.string().nullable(),
|
|
3746
|
-
user_id: z.string().nullable(),
|
|
3747
|
-
container_id: z.string().nullable(),
|
|
3748
|
-
is_managed: z.boolean().nullable(),
|
|
3749
|
-
type: z.string().nullable(),
|
|
3750
|
-
runtime: z.string().nullable(),
|
|
3751
|
-
is_shared: z.boolean().nullable(),
|
|
3752
|
-
latest_pull_at: z.string().nullable(),
|
|
3753
|
-
host_name: z.string().nullable(),
|
|
3754
|
-
host_address: z.string().nullable(),
|
|
3755
|
-
host_user: z.string().nullable(),
|
|
3756
|
-
host_port: z.number().nullable(),
|
|
3757
|
-
host_auth_secret: z.string().nullable(),
|
|
3758
|
-
});
|
|
3946
|
+
export const publicUserRoleUpsertReturnsSchema = z.undefined();
|
|
3759
3947
|
|
|
3760
|
-
export const
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
message: z.string().nullable(),
|
|
3764
|
-
});
|
|
3948
|
+
export const publicAdkArtifactListKeysReturnsSchema = z.array(
|
|
3949
|
+
publicAdkArtifactKeyRecordSchema,
|
|
3950
|
+
);
|
|
3765
3951
|
|
|
3766
3952
|
export const publicAdkArtifactListVersionsMetaReturnsSchema = z.array(
|
|
3767
3953
|
publicAdkArtifactMetaRecordSchema,
|
|
3768
3954
|
);
|
|
3769
3955
|
|
|
3770
|
-
export const
|
|
3771
|
-
|
|
3956
|
+
export const publicAuditProjectDashboardStatsReturnsSchema = z.array(
|
|
3957
|
+
publicAuditProjectStatsRecordSchema,
|
|
3772
3958
|
);
|
|
3773
3959
|
|
|
3960
|
+
export const publicAuditProjectGetReturnsSchema = z.array(
|
|
3961
|
+
publicAuditProjectRecordSchema,
|
|
3962
|
+
);
|
|
3963
|
+
|
|
3964
|
+
export const publicBrowserGetReturnsSchema = z.array(publicBrowserRecordSchema);
|
|
3965
|
+
|
|
3774
3966
|
export const publicCampaignGetReturnsSchema = z.array(
|
|
3775
3967
|
publicCampaignRecordSchema,
|
|
3776
3968
|
);
|
|
3777
3969
|
|
|
3778
|
-
export const
|
|
3970
|
+
export const publicCloudAccountBulkCreateReturnsSchema = z.array(
|
|
3779
3971
|
publicCloudAccountRecordSchema,
|
|
3780
3972
|
);
|
|
3781
3973
|
|
|
@@ -3783,6 +3975,14 @@ export const publicComputeNodeGetReturnsSchema = z.array(
|
|
|
3783
3975
|
publicComputeNodeRecordSchema,
|
|
3784
3976
|
);
|
|
3785
3977
|
|
|
3978
|
+
export const publicComputeNodeGetSecretReturnsSchema = z.array(
|
|
3979
|
+
publicComputeNodeSecretRecordSchema,
|
|
3980
|
+
);
|
|
3981
|
+
|
|
3982
|
+
export const publicComputeNodeListReturnsSchema = z.array(
|
|
3983
|
+
publicComputeNodeListRecordSchema,
|
|
3984
|
+
);
|
|
3985
|
+
|
|
3786
3986
|
export const publicContactGetReturnsSchema = z.array(publicContactRecordSchema);
|
|
3787
3987
|
|
|
3788
3988
|
export const publicDbaLintScanReturnsSchema = z.array(publicDbaLintIssueSchema);
|
|
@@ -3791,6 +3991,10 @@ export const publicInstanceTagsGetReturnsSchema = z.array(
|
|
|
3791
3991
|
publicTagRecordSchema,
|
|
3792
3992
|
);
|
|
3793
3993
|
|
|
3994
|
+
export const publicJobQueueListDlqReturnsSchema = z.array(
|
|
3995
|
+
publicJobQueueDlqRecordSchema,
|
|
3996
|
+
);
|
|
3997
|
+
|
|
3794
3998
|
export const publicNotificationGetPendingActionsReturnsSchema = z.array(
|
|
3795
3999
|
publicUserNotificationRecordSchema,
|
|
3796
4000
|
);
|
|
@@ -3799,6 +4003,26 @@ export const publicOutreachTaskListReturnsSchema = z.array(
|
|
|
3799
4003
|
publicOutreachTaskRecordSchema,
|
|
3800
4004
|
);
|
|
3801
4005
|
|
|
4006
|
+
export const publicProxyGetReturnsSchema = z.array(publicProxyRecordSchema);
|
|
4007
|
+
|
|
4008
|
+
export const publicResourceListReturnsSchema = z.array(
|
|
4009
|
+
publicResourceListRecordSchema,
|
|
4010
|
+
);
|
|
4011
|
+
|
|
4012
|
+
export const publicServerInstanceBootstrapReturnsSchema = z.array(
|
|
4013
|
+
publicBootstrapResultSchema,
|
|
4014
|
+
);
|
|
4015
|
+
|
|
4016
|
+
export const publicServerInstanceGetReturnsSchema = z.array(
|
|
4017
|
+
publicServerInstanceRecordSchema,
|
|
4018
|
+
);
|
|
4019
|
+
|
|
4020
|
+
export const publicServiceHealthSummaryReturnsSchema = z.array(
|
|
4021
|
+
publicServiceHealthRecordSchema,
|
|
4022
|
+
);
|
|
4023
|
+
|
|
4024
|
+
export const publicSysLogListReturnsSchema = z.array(publicSysLogRecordSchema);
|
|
4025
|
+
|
|
3802
4026
|
export const publicUserProfileGetReturnsSchema = z.array(
|
|
3803
4027
|
publicUserProfileRecordSchema,
|
|
3804
4028
|
);
|