mtmsdk 0.0.35 → 0.0.38
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/api_hatchet/client/client.gen.d.ts.map +1 -1
- package/dist/api_hatchet/client/client.gen.js +8 -1
- package/dist/api_hatchet/client/client.gen.js.map +1 -1
- package/dist/api_hatchet/index.d.ts +2 -2
- package/dist/api_hatchet/index.d.ts.map +1 -1
- package/dist/api_hatchet/index.js +2 -2
- package/dist/api_hatchet/index.js.map +1 -1
- package/dist/api_hatchet/zod.gen.d.ts +3 -3
- package/dist/api_hatchet/zod.gen.js +53 -53
- package/dist/api_hatchet/zod.gen.js.map +1 -1
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts +73 -979
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.js +208 -1000
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.js.map +1 -1
- package/dist/gomtmapi_v2/client/client.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/client/client.gen.js +8 -1
- package/dist/gomtmapi_v2/client/client.gen.js.map +1 -1
- package/dist/gomtmapi_v2/index.d.ts +2 -2
- package/dist/gomtmapi_v2/index.d.ts.map +1 -1
- package/dist/gomtmapi_v2/index.js +1 -1
- package/dist/gomtmapi_v2/index.js.map +1 -1
- package/dist/gomtmapi_v2/schemas.gen.d.ts +305 -1415
- package/dist/gomtmapi_v2/schemas.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/schemas.gen.js +282 -1407
- package/dist/gomtmapi_v2/schemas.gen.js.map +1 -1
- package/dist/gomtmapi_v2/sdk.gen.d.ts +63 -513
- package/dist/gomtmapi_v2/sdk.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/sdk.gen.js +94 -537
- package/dist/gomtmapi_v2/sdk.gen.js.map +1 -1
- package/dist/gomtmapi_v2/types.gen.d.ts +443 -1531
- package/dist/gomtmapi_v2/types.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/zod.gen.d.ts +293 -1292
- package/dist/gomtmapi_v2/zod.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/zod.gen.js +187 -793
- package/dist/gomtmapi_v2/zod.gen.js.map +1 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts +4 -158
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.js +17 -212
- package/dist/mtgate_api/@tanstack/react-query.gen.js.map +1 -1
- package/dist/mtgate_api/client/client.gen.d.ts.map +1 -1
- package/dist/mtgate_api/client/client.gen.js +8 -1
- package/dist/mtgate_api/client/client.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 -396
- package/dist/mtgate_api/schemas.gen.d.ts.map +1 -1
- package/dist/mtgate_api/schemas.gen.js +0 -439
- package/dist/mtgate_api/schemas.gen.js.map +1 -1
- package/dist/mtgate_api/sdk.gen.d.ts +1 -26
- package/dist/mtgate_api/sdk.gen.d.ts.map +1 -1
- package/dist/mtgate_api/sdk.gen.js +0 -67
- package/dist/mtgate_api/sdk.gen.js.map +1 -1
- package/dist/mtgate_api/types.gen.d.ts +0 -310
- package/dist/mtgate_api/types.gen.d.ts.map +1 -1
- package/dist/mtgate_api/zod.gen.d.ts +0 -771
- package/dist/mtgate_api/zod.gen.d.ts.map +1 -1
- package/dist/mtgate_api/zod.gen.js +0 -249
- package/dist/mtgate_api/zod.gen.js.map +1 -1
- package/dist/mtmai_api/client/client.gen.d.ts.map +1 -1
- package/dist/mtmai_api/client/client.gen.js +8 -1
- package/dist/mtmai_api/client/client.gen.js.map +1 -1
- package/dist/mtmai_api/index.d.ts +2 -2
- package/dist/mtmai_api/index.d.ts.map +1 -1
- package/dist/mtmai_api/index.js +2 -2
- package/dist/mtmai_api/index.js.map +1 -1
- package/dist/opencode/@tanstack/react-query.gen.d.ts +1903 -0
- package/dist/opencode/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/opencode/@tanstack/react-query.gen.js +1696 -0
- package/dist/opencode/@tanstack/react-query.gen.js.map +1 -0
- package/dist/opencode/client/client.gen.d.ts +3 -0
- package/dist/opencode/client/client.gen.d.ts.map +1 -0
- package/dist/opencode/client/client.gen.js +236 -0
- package/dist/opencode/client/client.gen.js.map +1 -0
- package/dist/opencode/client/index.d.ts +9 -0
- package/dist/opencode/client/index.d.ts.map +1 -0
- package/dist/opencode/client/index.js +7 -0
- package/dist/opencode/client/index.js.map +1 -0
- package/dist/opencode/client/types.gen.d.ts +118 -0
- package/dist/opencode/client/types.gen.d.ts.map +1 -0
- package/dist/opencode/client/types.gen.js +3 -0
- package/dist/opencode/client/types.gen.js.map +1 -0
- package/dist/opencode/client/utils.gen.d.ts +34 -0
- package/dist/opencode/client/utils.gen.d.ts.map +1 -0
- package/dist/opencode/client/utils.gen.js +232 -0
- package/dist/opencode/client/utils.gen.js.map +1 -0
- package/dist/opencode/client.gen.d.ts +13 -0
- package/dist/opencode/client.gen.d.ts.map +1 -0
- package/dist/opencode/client.gen.js +4 -0
- package/dist/opencode/client.gen.js.map +1 -0
- package/dist/opencode/core/auth.gen.d.ts +19 -0
- package/dist/opencode/core/auth.gen.d.ts.map +1 -0
- package/dist/opencode/core/auth.gen.js +15 -0
- package/dist/opencode/core/auth.gen.js.map +1 -0
- package/dist/opencode/core/bodySerializer.gen.d.ts +26 -0
- package/dist/opencode/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/opencode/core/bodySerializer.gen.js +58 -0
- package/dist/opencode/core/bodySerializer.gen.js.map +1 -0
- package/dist/opencode/core/params.gen.d.ts +44 -0
- package/dist/opencode/core/params.gen.d.ts.map +1 -0
- package/dist/opencode/core/params.gen.js +101 -0
- package/dist/opencode/core/params.gen.js.map +1 -0
- package/dist/opencode/core/pathSerializer.gen.d.ts +34 -0
- package/dist/opencode/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/opencode/core/pathSerializer.gen.js +115 -0
- package/dist/opencode/core/pathSerializer.gen.js.map +1 -0
- package/dist/opencode/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/opencode/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/opencode/core/queryKeySerializer.gen.js +100 -0
- package/dist/opencode/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/opencode/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/opencode/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/opencode/core/serverSentEvents.gen.js +138 -0
- package/dist/opencode/core/serverSentEvents.gen.js.map +1 -0
- package/dist/opencode/core/types.gen.d.ts +79 -0
- package/dist/opencode/core/types.gen.d.ts.map +1 -0
- package/dist/opencode/core/types.gen.js +3 -0
- package/dist/opencode/core/types.gen.js.map +1 -0
- package/dist/opencode/core/utils.gen.d.ts +20 -0
- package/dist/opencode/core/utils.gen.d.ts.map +1 -0
- package/dist/opencode/core/utils.gen.js +88 -0
- package/dist/opencode/core/utils.gen.js.map +1 -0
- package/dist/opencode/index.d.ts +3 -0
- package/dist/opencode/index.d.ts.map +1 -0
- package/dist/opencode/index.js +4 -0
- package/dist/opencode/index.js.map +1 -0
- package/dist/opencode/schemas.gen.d.ts +4823 -0
- package/dist/opencode/schemas.gen.d.ts.map +1 -0
- package/dist/opencode/schemas.gen.js +5816 -0
- package/dist/opencode/schemas.gen.js.map +1 -0
- package/dist/opencode/sdk.gen.d.ts +562 -0
- package/dist/opencode/sdk.gen.d.ts.map +1 -0
- package/dist/opencode/sdk.gen.js +766 -0
- package/dist/opencode/sdk.gen.js.map +1 -0
- package/dist/opencode/types.gen.d.ts +4213 -0
- package/dist/opencode/types.gen.d.ts.map +1 -0
- package/dist/opencode/types.gen.js +25 -0
- package/dist/opencode/types.gen.js.map +1 -0
- package/dist/opencode/zod.gen.d.ts +17243 -0
- package/dist/opencode/zod.gen.d.ts.map +1 -0
- package/dist/opencode/zod.gen.js +2876 -0
- package/dist/opencode/zod.gen.js.map +1 -0
- package/dist/sbapi/client/client.gen.d.ts.map +1 -1
- package/dist/sbapi/client/client.gen.js +8 -1
- package/dist/sbapi/client/client.gen.js.map +1 -1
- package/dist/sbapi/index.d.ts +2 -2
- package/dist/sbapi/index.d.ts.map +1 -1
- package/dist/sbapi/index.js +1 -1
- package/dist/sbapi/index.js.map +1 -1
- package/dist/sbmng/@tanstack/react-query.gen.d.ts +2418 -0
- package/dist/sbmng/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/sbmng/@tanstack/react-query.gen.js +2657 -0
- package/dist/sbmng/@tanstack/react-query.gen.js.map +1 -0
- package/dist/sbmng/client/client.gen.d.ts +3 -0
- package/dist/sbmng/client/client.gen.d.ts.map +1 -0
- package/dist/sbmng/client/client.gen.js +236 -0
- package/dist/sbmng/client/client.gen.js.map +1 -0
- package/dist/sbmng/client/index.d.ts +9 -0
- package/dist/sbmng/client/index.d.ts.map +1 -0
- package/dist/sbmng/client/index.js +7 -0
- package/dist/sbmng/client/index.js.map +1 -0
- package/dist/sbmng/client/types.gen.d.ts +118 -0
- package/dist/sbmng/client/types.gen.d.ts.map +1 -0
- package/dist/sbmng/client/types.gen.js +3 -0
- package/dist/sbmng/client/types.gen.js.map +1 -0
- package/dist/sbmng/client/utils.gen.d.ts +34 -0
- package/dist/sbmng/client/utils.gen.d.ts.map +1 -0
- package/dist/sbmng/client/utils.gen.js +232 -0
- package/dist/sbmng/client/utils.gen.js.map +1 -0
- package/dist/sbmng/client.gen.d.ts +13 -0
- package/dist/sbmng/client.gen.d.ts.map +1 -0
- package/dist/sbmng/client.gen.js +4 -0
- package/dist/sbmng/client.gen.js.map +1 -0
- package/dist/sbmng/core/auth.gen.d.ts +19 -0
- package/dist/sbmng/core/auth.gen.d.ts.map +1 -0
- package/dist/sbmng/core/auth.gen.js +15 -0
- package/dist/sbmng/core/auth.gen.js.map +1 -0
- package/dist/sbmng/core/bodySerializer.gen.d.ts +26 -0
- package/dist/sbmng/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/sbmng/core/bodySerializer.gen.js +58 -0
- package/dist/sbmng/core/bodySerializer.gen.js.map +1 -0
- package/dist/sbmng/core/params.gen.d.ts +44 -0
- package/dist/sbmng/core/params.gen.d.ts.map +1 -0
- package/dist/sbmng/core/params.gen.js +101 -0
- package/dist/sbmng/core/params.gen.js.map +1 -0
- package/dist/sbmng/core/pathSerializer.gen.d.ts +34 -0
- package/dist/sbmng/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/sbmng/core/pathSerializer.gen.js +115 -0
- package/dist/sbmng/core/pathSerializer.gen.js.map +1 -0
- package/dist/sbmng/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/sbmng/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/sbmng/core/queryKeySerializer.gen.js +100 -0
- package/dist/sbmng/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/sbmng/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/sbmng/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/sbmng/core/serverSentEvents.gen.js +138 -0
- package/dist/sbmng/core/serverSentEvents.gen.js.map +1 -0
- package/dist/sbmng/core/types.gen.d.ts +79 -0
- package/dist/sbmng/core/types.gen.d.ts.map +1 -0
- package/dist/sbmng/core/types.gen.js +3 -0
- package/dist/sbmng/core/types.gen.js.map +1 -0
- package/dist/sbmng/core/utils.gen.d.ts +20 -0
- package/dist/sbmng/core/utils.gen.d.ts.map +1 -0
- package/dist/sbmng/core/utils.gen.js +88 -0
- package/dist/sbmng/core/utils.gen.js.map +1 -0
- package/dist/sbmng/index.d.ts +3 -0
- package/dist/sbmng/index.d.ts.map +1 -0
- package/dist/sbmng/index.js +3 -0
- package/dist/sbmng/index.js.map +1 -0
- package/dist/sbmng/schemas.gen.d.ts +7220 -0
- package/dist/sbmng/schemas.gen.d.ts.map +1 -0
- package/dist/sbmng/schemas.gen.js +9392 -0
- package/dist/sbmng/schemas.gen.js.map +1 -0
- package/dist/sbmng/sdk.gen.d.ts +743 -0
- package/dist/sbmng/sdk.gen.d.ts.map +1 -0
- package/dist/sbmng/sdk.gen.js +1543 -0
- package/dist/sbmng/sdk.gen.js.map +1 -0
- package/dist/sbmng/types.gen.d.ts +7003 -0
- package/dist/sbmng/types.gen.d.ts.map +1 -0
- package/dist/sbmng/types.gen.js +3 -0
- package/dist/sbmng/types.gen.js.map +1 -0
- package/dist/supabase/context.d.ts +14 -0
- package/dist/supabase/context.d.ts.map +1 -0
- package/dist/supabase/context.js +33 -0
- package/dist/supabase/context.js.map +1 -0
- package/dist/supabase/supabase-client.d.ts +1625 -304
- package/dist/supabase/supabase-client.d.ts.map +1 -1
- package/dist/supabase/supabase.d.ts +3551 -909
- package/dist/supabase/supabase.d.ts.map +1 -1
- package/dist/supabase/supabase.js +1 -34
- package/dist/supabase/supabase.js.map +1 -1
- package/dist/types/database.types.d.ts +1656 -314
- package/dist/types/database.types.d.ts.map +1 -1
- package/dist/types/database.types.js +3 -1
- package/dist/types/database.types.js.map +1 -1
- package/dist/types/index.d.ts +30 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +45 -42
- package/dist/supabase/supabase-browser.d.ts +0 -4
- package/dist/supabase/supabase-browser.d.ts.map +0 -1
- package/dist/supabase/supabase-browser.js +0 -20
- package/dist/supabase/supabase-browser.js.map +0 -1
|
@@ -1,337 +1,147 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
export const
|
|
3
|
-
description: '
|
|
2
|
+
export const AddComputeNodeReqSchema = {
|
|
3
|
+
description: 'AddComputeNodeReq schema',
|
|
4
4
|
properties: {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
auth_secret: {
|
|
6
|
+
description: 'Private key or password',
|
|
7
7
|
nullable: true,
|
|
8
8
|
type: 'string'
|
|
9
9
|
},
|
|
10
|
-
|
|
10
|
+
auth_type: {
|
|
11
|
+
description: 'Auth type: \'key\' or \'password\'',
|
|
12
|
+
nullable: true,
|
|
13
|
+
type: 'string'
|
|
14
|
+
},
|
|
15
|
+
ip: {
|
|
16
|
+
description: 'IP address',
|
|
11
17
|
type: 'string'
|
|
12
18
|
},
|
|
19
|
+
max_instances: {
|
|
20
|
+
description: 'Max parallel instances/sandboxes',
|
|
21
|
+
nullable: true,
|
|
22
|
+
type: 'integer'
|
|
23
|
+
},
|
|
13
24
|
name: {
|
|
25
|
+
description: 'Name of the compute node',
|
|
14
26
|
type: 'string'
|
|
15
27
|
},
|
|
16
|
-
|
|
17
|
-
|
|
28
|
+
port: {
|
|
29
|
+
description: 'SSH port',
|
|
18
30
|
nullable: true,
|
|
19
|
-
type: '
|
|
31
|
+
type: 'integer'
|
|
20
32
|
},
|
|
21
|
-
|
|
33
|
+
provider: {
|
|
34
|
+
description: 'Provider type (ssh)',
|
|
35
|
+
nullable: true,
|
|
22
36
|
type: 'string'
|
|
23
37
|
},
|
|
24
|
-
|
|
25
|
-
|
|
38
|
+
username: {
|
|
39
|
+
description: 'SSH username',
|
|
26
40
|
nullable: true,
|
|
27
41
|
type: 'string'
|
|
28
42
|
}
|
|
29
43
|
},
|
|
30
44
|
type: 'object'
|
|
31
45
|
};
|
|
32
|
-
export const
|
|
33
|
-
description: '
|
|
46
|
+
export const AgentRunReqSchema = {
|
|
47
|
+
description: 'AgentRunReq schema',
|
|
34
48
|
properties: {
|
|
35
|
-
|
|
36
|
-
type: 'string'
|
|
37
|
-
},
|
|
38
|
-
settings: {
|
|
49
|
+
payload: {
|
|
39
50
|
additionalProperties: {},
|
|
40
|
-
nullable: true,
|
|
41
51
|
type: 'object'
|
|
42
52
|
},
|
|
53
|
+
target_worker_id: {
|
|
54
|
+
nullable: true,
|
|
55
|
+
type: 'string'
|
|
56
|
+
},
|
|
43
57
|
type: {
|
|
44
58
|
type: 'string'
|
|
45
59
|
}
|
|
46
60
|
},
|
|
61
|
+
required: [
|
|
62
|
+
'type'
|
|
63
|
+
],
|
|
47
64
|
type: 'object'
|
|
48
65
|
};
|
|
49
|
-
export const
|
|
50
|
-
description: '
|
|
66
|
+
export const AgentRunRespSchema = {
|
|
67
|
+
description: 'AgentRunResp schema',
|
|
51
68
|
properties: {
|
|
52
|
-
data: {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
additionalProperties: {},
|
|
57
|
-
nullable: true,
|
|
58
|
-
type: 'object'
|
|
59
|
-
},
|
|
60
|
-
createdAt: {
|
|
61
|
-
example: '2023-01-01T00:00:00Z',
|
|
62
|
-
type: 'string'
|
|
63
|
-
},
|
|
64
|
-
createdBy: {
|
|
65
|
-
example: '123e4567-e89b-12d3-a456-426614174000',
|
|
66
|
-
type: 'string'
|
|
67
|
-
},
|
|
68
|
-
description: {
|
|
69
|
-
example: 'A helpful chatbot',
|
|
70
|
-
nullable: true,
|
|
71
|
-
type: 'string'
|
|
72
|
-
},
|
|
73
|
-
id: {
|
|
74
|
-
example: '123e4567-e89b-12d3-a456-426614174000',
|
|
75
|
-
type: 'string'
|
|
76
|
-
},
|
|
77
|
-
lastActiveAt: {
|
|
78
|
-
example: '2023-01-01T00:00:00Z',
|
|
79
|
-
nullable: true,
|
|
80
|
-
type: 'string'
|
|
81
|
-
},
|
|
82
|
-
name: {
|
|
83
|
-
example: 'My Bot',
|
|
84
|
-
type: 'string'
|
|
85
|
-
},
|
|
86
|
-
platform: {
|
|
87
|
-
example: 'napcatqq',
|
|
88
|
-
type: 'string'
|
|
89
|
-
},
|
|
90
|
-
serverType: {
|
|
91
|
-
example: 'napcatqq',
|
|
92
|
-
nullable: true,
|
|
93
|
-
type: 'string'
|
|
94
|
-
},
|
|
95
|
-
serverUrl: {
|
|
96
|
-
example: 'http://localhost:6099',
|
|
97
|
-
nullable: true,
|
|
98
|
-
type: 'string'
|
|
99
|
-
},
|
|
100
|
-
state: {
|
|
101
|
-
nullable: true,
|
|
102
|
-
properties: {
|
|
103
|
-
humanInteractMsg: {
|
|
104
|
-
type: 'string'
|
|
105
|
-
},
|
|
106
|
-
isHumanInteract: {
|
|
107
|
-
type: 'boolean'
|
|
108
|
-
},
|
|
109
|
-
isLogined: {
|
|
110
|
-
type: 'boolean'
|
|
111
|
-
},
|
|
112
|
-
isRunning: {
|
|
113
|
-
type: 'boolean'
|
|
114
|
-
},
|
|
115
|
-
lastStatusUpdate: {
|
|
116
|
-
format: 'int64',
|
|
117
|
-
type: 'integer'
|
|
118
|
-
},
|
|
119
|
-
lastestReceiveMsg: {
|
|
120
|
-
type: 'string'
|
|
121
|
-
},
|
|
122
|
-
lastestSendMsg: {
|
|
123
|
-
type: 'string'
|
|
124
|
-
},
|
|
125
|
-
status: {
|
|
126
|
-
type: 'string'
|
|
127
|
-
},
|
|
128
|
-
statusMessage: {
|
|
129
|
-
type: 'string'
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
type: 'object'
|
|
133
|
-
},
|
|
134
|
-
status: {
|
|
135
|
-
example: 'active',
|
|
136
|
-
type: 'string'
|
|
137
|
-
},
|
|
138
|
-
tags: {
|
|
139
|
-
items: {
|
|
140
|
-
type: 'string'
|
|
141
|
-
},
|
|
142
|
-
nullable: true,
|
|
143
|
-
type: 'array'
|
|
144
|
-
},
|
|
145
|
-
tenantId: {
|
|
146
|
-
example: '123e4567-e89b-12d3-a456-426614174000',
|
|
147
|
-
type: 'string'
|
|
148
|
-
},
|
|
149
|
-
updatedAt: {
|
|
150
|
-
example: '2023-01-01T00:00:00Z',
|
|
151
|
-
type: 'string'
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
type: 'object'
|
|
155
|
-
},
|
|
156
|
-
type: 'array'
|
|
157
|
-
},
|
|
158
|
-
limit: {
|
|
159
|
-
example: 20,
|
|
160
|
-
type: 'integer'
|
|
161
|
-
},
|
|
162
|
-
page: {
|
|
163
|
-
example: 1,
|
|
164
|
-
type: 'integer'
|
|
69
|
+
data: {},
|
|
70
|
+
error: {
|
|
71
|
+
nullable: true,
|
|
72
|
+
type: 'string'
|
|
165
73
|
},
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
type: 'integer'
|
|
74
|
+
status: {
|
|
75
|
+
type: 'string'
|
|
169
76
|
}
|
|
170
77
|
},
|
|
171
78
|
type: 'object'
|
|
172
79
|
};
|
|
173
|
-
export const
|
|
174
|
-
description: '
|
|
80
|
+
export const BrowserActionReqSchema = {
|
|
81
|
+
description: 'BrowserActionReq schema',
|
|
175
82
|
properties: {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
nullable: true,
|
|
179
|
-
type: 'object'
|
|
180
|
-
},
|
|
181
|
-
createdAt: {
|
|
182
|
-
example: '2023-01-01T00:00:00Z',
|
|
183
|
-
type: 'string'
|
|
184
|
-
},
|
|
185
|
-
createdBy: {
|
|
186
|
-
example: '123e4567-e89b-12d3-a456-426614174000',
|
|
187
|
-
type: 'string'
|
|
188
|
-
},
|
|
189
|
-
description: {
|
|
190
|
-
example: 'A helpful chatbot',
|
|
191
|
-
nullable: true,
|
|
192
|
-
type: 'string'
|
|
193
|
-
},
|
|
194
|
-
id: {
|
|
195
|
-
example: '123e4567-e89b-12d3-a456-426614174000',
|
|
196
|
-
type: 'string'
|
|
197
|
-
},
|
|
198
|
-
lastActiveAt: {
|
|
199
|
-
example: '2023-01-01T00:00:00Z',
|
|
200
|
-
nullable: true,
|
|
201
|
-
type: 'string'
|
|
202
|
-
},
|
|
203
|
-
name: {
|
|
204
|
-
example: 'My Bot',
|
|
205
|
-
type: 'string'
|
|
206
|
-
},
|
|
207
|
-
platform: {
|
|
208
|
-
example: 'napcatqq',
|
|
83
|
+
action: {
|
|
84
|
+
description: 'navigate, click, input, wait',
|
|
209
85
|
type: 'string'
|
|
210
86
|
},
|
|
211
|
-
|
|
212
|
-
example: 'napcatqq',
|
|
213
|
-
nullable: true,
|
|
87
|
+
browser_id: {
|
|
214
88
|
type: 'string'
|
|
215
89
|
},
|
|
216
|
-
|
|
217
|
-
example: 'http://localhost:6099',
|
|
90
|
+
selector: {
|
|
218
91
|
nullable: true,
|
|
219
92
|
type: 'string'
|
|
220
93
|
},
|
|
221
|
-
|
|
94
|
+
text: {
|
|
222
95
|
nullable: true,
|
|
223
|
-
properties: {
|
|
224
|
-
humanInteractMsg: {
|
|
225
|
-
type: 'string'
|
|
226
|
-
},
|
|
227
|
-
isHumanInteract: {
|
|
228
|
-
type: 'boolean'
|
|
229
|
-
},
|
|
230
|
-
isLogined: {
|
|
231
|
-
type: 'boolean'
|
|
232
|
-
},
|
|
233
|
-
isRunning: {
|
|
234
|
-
type: 'boolean'
|
|
235
|
-
},
|
|
236
|
-
lastStatusUpdate: {
|
|
237
|
-
format: 'int64',
|
|
238
|
-
type: 'integer'
|
|
239
|
-
},
|
|
240
|
-
lastestReceiveMsg: {
|
|
241
|
-
type: 'string'
|
|
242
|
-
},
|
|
243
|
-
lastestSendMsg: {
|
|
244
|
-
type: 'string'
|
|
245
|
-
},
|
|
246
|
-
status: {
|
|
247
|
-
type: 'string'
|
|
248
|
-
},
|
|
249
|
-
statusMessage: {
|
|
250
|
-
type: 'string'
|
|
251
|
-
}
|
|
252
|
-
},
|
|
253
|
-
type: 'object'
|
|
254
|
-
},
|
|
255
|
-
status: {
|
|
256
|
-
example: 'active',
|
|
257
96
|
type: 'string'
|
|
258
97
|
},
|
|
259
|
-
|
|
260
|
-
items: {
|
|
261
|
-
type: 'string'
|
|
262
|
-
},
|
|
98
|
+
url: {
|
|
263
99
|
nullable: true,
|
|
264
|
-
type: 'array'
|
|
265
|
-
},
|
|
266
|
-
tenantId: {
|
|
267
|
-
example: '123e4567-e89b-12d3-a456-426614174000',
|
|
268
|
-
type: 'string'
|
|
269
|
-
},
|
|
270
|
-
updatedAt: {
|
|
271
|
-
example: '2023-01-01T00:00:00Z',
|
|
272
100
|
type: 'string'
|
|
273
101
|
}
|
|
274
102
|
},
|
|
103
|
+
required: [
|
|
104
|
+
'browser_id',
|
|
105
|
+
'action'
|
|
106
|
+
],
|
|
275
107
|
type: 'object'
|
|
276
108
|
};
|
|
277
|
-
export const
|
|
278
|
-
description: '
|
|
109
|
+
export const BrowserOpenReqSchema = {
|
|
110
|
+
description: 'BrowserOpenReq schema',
|
|
279
111
|
properties: {
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
nullable: true,
|
|
283
|
-
type: 'object'
|
|
284
|
-
},
|
|
285
|
-
description: {
|
|
286
|
-
example: 'A helpful chatbot',
|
|
287
|
-
maxLength: 500,
|
|
288
|
-
nullable: true,
|
|
112
|
+
browser_id: {
|
|
113
|
+
description: 'Optional browser ID. If empty, a new one is created.',
|
|
289
114
|
type: 'string'
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
type: 'object'
|
|
118
|
+
};
|
|
119
|
+
export const BrowserOpenRespSchema = {
|
|
120
|
+
description: 'BrowserOpenResp schema',
|
|
121
|
+
properties: {
|
|
122
|
+
browser_id: {
|
|
293
123
|
nullable: true,
|
|
294
124
|
type: 'string'
|
|
295
125
|
},
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
type: 'string'
|
|
301
|
-
},
|
|
302
|
-
platform: {
|
|
303
|
-
example: 'napcatqq',
|
|
304
|
-
maxLength: 50,
|
|
305
|
-
minLength: 1,
|
|
306
|
-
type: 'string'
|
|
307
|
-
},
|
|
308
|
-
serverType: {
|
|
309
|
-
example: 'napcatqq',
|
|
126
|
+
client_action: {
|
|
127
|
+
additionalProperties: {
|
|
128
|
+
type: 'string'
|
|
129
|
+
},
|
|
310
130
|
nullable: true,
|
|
311
|
-
type: '
|
|
131
|
+
type: 'object'
|
|
312
132
|
},
|
|
313
|
-
|
|
314
|
-
example: 'http://localhost:6099',
|
|
133
|
+
message: {
|
|
315
134
|
nullable: true,
|
|
316
135
|
type: 'string'
|
|
317
136
|
},
|
|
318
137
|
status: {
|
|
319
|
-
example: 'inactive',
|
|
320
138
|
type: 'string'
|
|
321
139
|
},
|
|
322
|
-
|
|
323
|
-
items: {
|
|
324
|
-
type: 'string'
|
|
325
|
-
},
|
|
140
|
+
task_id: {
|
|
326
141
|
nullable: true,
|
|
327
|
-
type: '
|
|
142
|
+
type: 'string'
|
|
328
143
|
}
|
|
329
144
|
},
|
|
330
|
-
required: [
|
|
331
|
-
'name',
|
|
332
|
-
'platform',
|
|
333
|
-
'status'
|
|
334
|
-
],
|
|
335
145
|
type: 'object'
|
|
336
146
|
};
|
|
337
147
|
export const CodeRunResultSchema = {
|
|
@@ -363,273 +173,125 @@ export const CodeRunResultSchema = {
|
|
|
363
173
|
},
|
|
364
174
|
type: 'object'
|
|
365
175
|
};
|
|
366
|
-
export const
|
|
367
|
-
description: '
|
|
176
|
+
export const EditFileRequestSchema = {
|
|
177
|
+
description: 'EditFileRequest schema',
|
|
368
178
|
properties: {
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
nullable: true,
|
|
372
|
-
type: 'object'
|
|
373
|
-
},
|
|
374
|
-
description: {
|
|
375
|
-
description: 'string schema',
|
|
376
|
-
nullable: true,
|
|
377
|
-
type: 'string'
|
|
378
|
-
},
|
|
379
|
-
enabled: {
|
|
380
|
-
nullable: true,
|
|
381
|
-
type: 'boolean'
|
|
382
|
-
},
|
|
383
|
-
icon: {
|
|
384
|
-
description: 'string schema',
|
|
385
|
-
nullable: true,
|
|
179
|
+
file_path: {
|
|
180
|
+
description: 'Absolute path to the file',
|
|
386
181
|
type: 'string'
|
|
387
182
|
},
|
|
388
|
-
|
|
389
|
-
description: 'string
|
|
390
|
-
nullable: true,
|
|
183
|
+
new_string: {
|
|
184
|
+
description: 'The new string to replace with.',
|
|
391
185
|
type: 'string'
|
|
392
186
|
},
|
|
393
|
-
|
|
187
|
+
old_string: {
|
|
188
|
+
description: 'The exact string to replace. If empty, creates a new file.',
|
|
394
189
|
type: 'string'
|
|
395
190
|
},
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
},
|
|
400
|
-
nullable: true,
|
|
401
|
-
type: 'array'
|
|
191
|
+
replace_all: {
|
|
192
|
+
description: 'If true, replace all occurrences. If false, fails if multiple matches found.',
|
|
193
|
+
type: 'boolean'
|
|
402
194
|
}
|
|
403
195
|
},
|
|
404
196
|
required: [
|
|
405
|
-
'
|
|
197
|
+
'file_path'
|
|
406
198
|
],
|
|
407
199
|
type: 'object'
|
|
408
200
|
};
|
|
409
|
-
export const
|
|
410
|
-
description: '
|
|
201
|
+
export const EditFileResponseSchema = {
|
|
202
|
+
description: 'EditFileResponse schema',
|
|
411
203
|
properties: {
|
|
412
|
-
|
|
413
|
-
description: 'string schema',
|
|
414
|
-
nullable: true,
|
|
415
|
-
type: 'string'
|
|
416
|
-
},
|
|
417
|
-
loginUrl: {
|
|
418
|
-
description: 'string schema',
|
|
204
|
+
diff: {
|
|
419
205
|
nullable: true,
|
|
420
206
|
type: 'string'
|
|
421
207
|
},
|
|
422
|
-
|
|
208
|
+
message: {
|
|
423
209
|
type: 'string'
|
|
424
210
|
},
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
211
|
+
success: {
|
|
212
|
+
type: 'boolean'
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
type: 'object'
|
|
216
|
+
};
|
|
217
|
+
export const EnsureSandboxReqSchema = {
|
|
218
|
+
description: 'EnsureSandboxReq schema',
|
|
219
|
+
properties: {
|
|
220
|
+
reason: {
|
|
221
|
+
description: 'Reason for requesting the sandbox',
|
|
429
222
|
nullable: true,
|
|
430
|
-
type: '
|
|
223
|
+
type: 'string'
|
|
431
224
|
},
|
|
432
|
-
|
|
433
|
-
description: '
|
|
225
|
+
user_id: {
|
|
226
|
+
description: 'Optional user ID override (admin/system only)',
|
|
434
227
|
nullable: true,
|
|
435
228
|
type: 'string'
|
|
436
229
|
}
|
|
437
230
|
},
|
|
438
|
-
required: [
|
|
439
|
-
'name'
|
|
440
|
-
],
|
|
441
231
|
type: 'object'
|
|
442
232
|
};
|
|
443
|
-
export const
|
|
444
|
-
description: '
|
|
233
|
+
export const EnsureSandboxRespSchema = {
|
|
234
|
+
description: 'EnsureSandboxResp schema',
|
|
445
235
|
properties: {
|
|
446
|
-
|
|
447
|
-
|
|
236
|
+
api_url: {
|
|
237
|
+
nullable: true,
|
|
238
|
+
type: 'string'
|
|
239
|
+
},
|
|
240
|
+
client_action: {
|
|
241
|
+
additionalProperties: {
|
|
242
|
+
type: 'string'
|
|
243
|
+
},
|
|
448
244
|
nullable: true,
|
|
449
245
|
type: 'object'
|
|
450
246
|
},
|
|
451
|
-
|
|
247
|
+
error_code: {
|
|
248
|
+
nullable: true,
|
|
249
|
+
type: 'string'
|
|
250
|
+
},
|
|
251
|
+
message: {
|
|
252
|
+
type: 'string'
|
|
253
|
+
},
|
|
254
|
+
sandbox_id: {
|
|
255
|
+
nullable: true,
|
|
256
|
+
type: 'string'
|
|
257
|
+
},
|
|
258
|
+
status: {
|
|
259
|
+
type: 'string'
|
|
260
|
+
},
|
|
261
|
+
task_id: {
|
|
262
|
+
nullable: true,
|
|
263
|
+
type: 'string'
|
|
264
|
+
},
|
|
265
|
+
vnc_url: {
|
|
452
266
|
nullable: true,
|
|
453
267
|
type: 'string'
|
|
454
268
|
}
|
|
455
269
|
},
|
|
456
270
|
type: 'object'
|
|
457
271
|
};
|
|
458
|
-
export const
|
|
459
|
-
description: '
|
|
272
|
+
export const HTTPErrorSchema = {
|
|
273
|
+
description: 'HTTPError schema',
|
|
460
274
|
properties: {
|
|
461
|
-
|
|
275
|
+
detail: {
|
|
276
|
+
description: 'Human readable error message',
|
|
277
|
+
nullable: true,
|
|
278
|
+
type: 'string'
|
|
279
|
+
},
|
|
280
|
+
errors: {
|
|
462
281
|
items: {
|
|
463
282
|
properties: {
|
|
464
|
-
|
|
283
|
+
more: {
|
|
465
284
|
additionalProperties: {},
|
|
285
|
+
description: 'Additional information about the error',
|
|
466
286
|
nullable: true,
|
|
467
287
|
type: 'object'
|
|
468
288
|
},
|
|
469
|
-
createdAt: {
|
|
470
|
-
format: 'date-time',
|
|
471
|
-
type: 'string'
|
|
472
|
-
},
|
|
473
|
-
description: {
|
|
474
|
-
description: 'string schema',
|
|
475
|
-
nullable: true,
|
|
476
|
-
type: 'string'
|
|
477
|
-
},
|
|
478
|
-
enabled: {
|
|
479
|
-
type: 'boolean'
|
|
480
|
-
},
|
|
481
|
-
error: {
|
|
482
|
-
description: 'string schema',
|
|
483
|
-
nullable: true,
|
|
484
|
-
type: 'string'
|
|
485
|
-
},
|
|
486
|
-
icon: {
|
|
487
|
-
description: 'string schema',
|
|
488
|
-
nullable: true,
|
|
489
|
-
type: 'string'
|
|
490
|
-
},
|
|
491
|
-
id: {
|
|
492
|
-
type: 'string'
|
|
493
|
-
},
|
|
494
289
|
name: {
|
|
495
|
-
description: '
|
|
496
|
-
nullable: true,
|
|
290
|
+
description: 'For example, name of the parameter that caused the error',
|
|
497
291
|
type: 'string'
|
|
498
292
|
},
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
properties: {
|
|
502
|
-
description: {
|
|
503
|
-
description: 'string schema',
|
|
504
|
-
nullable: true,
|
|
505
|
-
type: 'string'
|
|
506
|
-
},
|
|
507
|
-
id: {
|
|
508
|
-
type: 'string'
|
|
509
|
-
},
|
|
510
|
-
name: {
|
|
511
|
-
type: 'string'
|
|
512
|
-
}
|
|
513
|
-
},
|
|
514
|
-
type: 'object'
|
|
515
|
-
},
|
|
516
|
-
platformId: {
|
|
517
|
-
type: 'string'
|
|
518
|
-
},
|
|
519
|
-
state: {
|
|
520
|
-
additionalProperties: {},
|
|
521
|
-
nullable: true,
|
|
522
|
-
type: 'object'
|
|
523
|
-
},
|
|
524
|
-
tags: {
|
|
525
|
-
items: {
|
|
526
|
-
type: 'string'
|
|
527
|
-
},
|
|
528
|
-
nullable: true,
|
|
529
|
-
type: 'array'
|
|
530
|
-
},
|
|
531
|
-
updatedAt: {
|
|
532
|
-
format: 'date-time',
|
|
533
|
-
type: 'string'
|
|
534
|
-
}
|
|
535
|
-
},
|
|
536
|
-
type: 'object'
|
|
537
|
-
},
|
|
538
|
-
type: 'array'
|
|
539
|
-
},
|
|
540
|
-
exportedAt: {
|
|
541
|
-
format: 'date-time',
|
|
542
|
-
type: 'string'
|
|
543
|
-
},
|
|
544
|
-
totalCount: {
|
|
545
|
-
type: 'integer'
|
|
546
|
-
},
|
|
547
|
-
version: {
|
|
548
|
-
type: 'string'
|
|
549
|
-
}
|
|
550
|
-
},
|
|
551
|
-
type: 'object'
|
|
552
|
-
};
|
|
553
|
-
export const ExportPlatformsResponseSchema = {
|
|
554
|
-
description: 'ExportPlatformsResponse schema',
|
|
555
|
-
properties: {
|
|
556
|
-
data: {
|
|
557
|
-
items: {
|
|
558
|
-
properties: {
|
|
559
|
-
createdAt: {
|
|
560
|
-
format: 'date-time',
|
|
561
|
-
type: 'string'
|
|
562
|
-
},
|
|
563
|
-
description: {
|
|
564
|
-
nullable: true,
|
|
565
|
-
type: 'string'
|
|
566
|
-
},
|
|
567
|
-
id: {
|
|
568
|
-
type: 'string'
|
|
569
|
-
},
|
|
570
|
-
loginUrl: {
|
|
571
|
-
nullable: true,
|
|
572
|
-
type: 'string'
|
|
573
|
-
},
|
|
574
|
-
name: {
|
|
575
|
-
type: 'string'
|
|
576
|
-
},
|
|
577
|
-
tags: {
|
|
578
|
-
items: {
|
|
579
|
-
type: 'string'
|
|
580
|
-
},
|
|
581
|
-
nullable: true,
|
|
582
|
-
type: 'array'
|
|
583
|
-
},
|
|
584
|
-
updatedAt: {
|
|
585
|
-
format: 'date-time',
|
|
586
|
-
type: 'string'
|
|
587
|
-
},
|
|
588
|
-
url: {
|
|
589
|
-
nullable: true,
|
|
590
|
-
type: 'string'
|
|
591
|
-
}
|
|
592
|
-
},
|
|
593
|
-
type: 'object'
|
|
594
|
-
},
|
|
595
|
-
type: 'array'
|
|
596
|
-
},
|
|
597
|
-
exportedAt: {
|
|
598
|
-
format: 'date-time',
|
|
599
|
-
type: 'string'
|
|
600
|
-
},
|
|
601
|
-
totalCount: {
|
|
602
|
-
type: 'integer'
|
|
603
|
-
},
|
|
604
|
-
version: {
|
|
605
|
-
type: 'string'
|
|
606
|
-
}
|
|
607
|
-
},
|
|
608
|
-
type: 'object'
|
|
609
|
-
};
|
|
610
|
-
export const HTTPErrorSchema = {
|
|
611
|
-
description: 'HTTPError schema',
|
|
612
|
-
properties: {
|
|
613
|
-
detail: {
|
|
614
|
-
description: 'Human readable error message',
|
|
615
|
-
nullable: true,
|
|
616
|
-
type: 'string'
|
|
617
|
-
},
|
|
618
|
-
errors: {
|
|
619
|
-
items: {
|
|
620
|
-
properties: {
|
|
621
|
-
more: {
|
|
622
|
-
additionalProperties: {},
|
|
623
|
-
description: 'Additional information about the error',
|
|
624
|
-
nullable: true,
|
|
625
|
-
type: 'object'
|
|
626
|
-
},
|
|
627
|
-
name: {
|
|
628
|
-
description: 'For example, name of the parameter that caused the error',
|
|
629
|
-
type: 'string'
|
|
630
|
-
},
|
|
631
|
-
reason: {
|
|
632
|
-
description: 'Human readable error message',
|
|
293
|
+
reason: {
|
|
294
|
+
description: 'Human readable error message',
|
|
633
295
|
type: 'string'
|
|
634
296
|
}
|
|
635
297
|
},
|
|
@@ -661,883 +323,225 @@ export const HTTPErrorSchema = {
|
|
|
661
323
|
},
|
|
662
324
|
type: 'object'
|
|
663
325
|
};
|
|
664
|
-
export const
|
|
665
|
-
description: '
|
|
666
|
-
properties: {
|
|
667
|
-
data: {
|
|
668
|
-
items: {
|
|
669
|
-
properties: {
|
|
670
|
-
config: {
|
|
671
|
-
additionalProperties: {},
|
|
672
|
-
nullable: true,
|
|
673
|
-
type: 'object'
|
|
674
|
-
},
|
|
675
|
-
description: {
|
|
676
|
-
description: 'string schema',
|
|
677
|
-
nullable: true,
|
|
678
|
-
type: 'string'
|
|
679
|
-
},
|
|
680
|
-
enabled: {
|
|
681
|
-
description: 'bool schema',
|
|
682
|
-
nullable: true,
|
|
683
|
-
type: 'boolean'
|
|
684
|
-
},
|
|
685
|
-
icon: {
|
|
686
|
-
description: 'string schema',
|
|
687
|
-
nullable: true,
|
|
688
|
-
type: 'string'
|
|
689
|
-
},
|
|
690
|
-
name: {
|
|
691
|
-
description: 'string schema',
|
|
692
|
-
nullable: true,
|
|
693
|
-
type: 'string'
|
|
694
|
-
},
|
|
695
|
-
platformId: {
|
|
696
|
-
type: 'string'
|
|
697
|
-
},
|
|
698
|
-
tags: {
|
|
699
|
-
items: {
|
|
700
|
-
type: 'string'
|
|
701
|
-
},
|
|
702
|
-
nullable: true,
|
|
703
|
-
type: 'array'
|
|
704
|
-
}
|
|
705
|
-
},
|
|
706
|
-
required: [
|
|
707
|
-
'platformId'
|
|
708
|
-
],
|
|
709
|
-
type: 'object'
|
|
710
|
-
},
|
|
711
|
-
type: 'array'
|
|
712
|
-
},
|
|
713
|
-
options: {
|
|
714
|
-
nullable: true,
|
|
715
|
-
properties: {
|
|
716
|
-
overwrite: {
|
|
717
|
-
type: 'boolean'
|
|
718
|
-
},
|
|
719
|
-
skipDuplicates: {
|
|
720
|
-
type: 'boolean'
|
|
721
|
-
}
|
|
722
|
-
},
|
|
723
|
-
type: 'object'
|
|
724
|
-
}
|
|
725
|
-
},
|
|
726
|
-
type: 'object'
|
|
727
|
-
};
|
|
728
|
-
export const ImportPAccountsResponseSchema = {
|
|
729
|
-
description: 'ImportPAccountsResponse schema',
|
|
730
|
-
properties: {
|
|
731
|
-
errors: {
|
|
732
|
-
items: {
|
|
733
|
-
properties: {
|
|
734
|
-
line: {
|
|
735
|
-
type: 'integer'
|
|
736
|
-
},
|
|
737
|
-
message: {
|
|
738
|
-
type: 'string'
|
|
739
|
-
}
|
|
740
|
-
},
|
|
741
|
-
type: 'object'
|
|
742
|
-
},
|
|
743
|
-
nullable: true,
|
|
744
|
-
type: 'array'
|
|
745
|
-
},
|
|
746
|
-
imported: {
|
|
747
|
-
type: 'integer'
|
|
748
|
-
},
|
|
749
|
-
skipped: {
|
|
750
|
-
type: 'integer'
|
|
751
|
-
},
|
|
752
|
-
success: {
|
|
753
|
-
type: 'boolean'
|
|
754
|
-
}
|
|
755
|
-
},
|
|
756
|
-
type: 'object'
|
|
757
|
-
};
|
|
758
|
-
export const ImportPlatformsRequestSchema = {
|
|
759
|
-
description: 'ImportPlatformsRequest schema',
|
|
760
|
-
properties: {
|
|
761
|
-
data: {
|
|
762
|
-
items: {
|
|
763
|
-
properties: {
|
|
764
|
-
description: {
|
|
765
|
-
description: 'string schema',
|
|
766
|
-
nullable: true,
|
|
767
|
-
type: 'string'
|
|
768
|
-
},
|
|
769
|
-
loginUrl: {
|
|
770
|
-
description: 'string schema',
|
|
771
|
-
nullable: true,
|
|
772
|
-
type: 'string'
|
|
773
|
-
},
|
|
774
|
-
name: {
|
|
775
|
-
type: 'string'
|
|
776
|
-
},
|
|
777
|
-
tags: {
|
|
778
|
-
items: {
|
|
779
|
-
type: 'string'
|
|
780
|
-
},
|
|
781
|
-
nullable: true,
|
|
782
|
-
type: 'array'
|
|
783
|
-
},
|
|
784
|
-
url: {
|
|
785
|
-
description: 'string schema',
|
|
786
|
-
nullable: true,
|
|
787
|
-
type: 'string'
|
|
788
|
-
}
|
|
789
|
-
},
|
|
790
|
-
required: [
|
|
791
|
-
'name'
|
|
792
|
-
],
|
|
793
|
-
type: 'object'
|
|
794
|
-
},
|
|
795
|
-
type: 'array'
|
|
796
|
-
},
|
|
797
|
-
options: {
|
|
798
|
-
nullable: true,
|
|
799
|
-
properties: {
|
|
800
|
-
overwrite: {
|
|
801
|
-
type: 'boolean'
|
|
802
|
-
},
|
|
803
|
-
skipDuplicates: {
|
|
804
|
-
type: 'boolean'
|
|
805
|
-
}
|
|
806
|
-
},
|
|
807
|
-
type: 'object'
|
|
808
|
-
}
|
|
809
|
-
},
|
|
810
|
-
type: 'object'
|
|
811
|
-
};
|
|
812
|
-
export const ImportPlatformsResponseSchema = {
|
|
813
|
-
description: 'ImportPlatformsResponse schema',
|
|
814
|
-
properties: {
|
|
815
|
-
errors: {
|
|
816
|
-
items: {
|
|
817
|
-
properties: {
|
|
818
|
-
line: {
|
|
819
|
-
type: 'integer'
|
|
820
|
-
},
|
|
821
|
-
message: {
|
|
822
|
-
type: 'string'
|
|
823
|
-
}
|
|
824
|
-
},
|
|
825
|
-
type: 'object'
|
|
826
|
-
},
|
|
827
|
-
nullable: true,
|
|
828
|
-
type: 'array'
|
|
829
|
-
},
|
|
830
|
-
imported: {
|
|
831
|
-
type: 'integer'
|
|
832
|
-
},
|
|
833
|
-
skipped: {
|
|
834
|
-
type: 'integer'
|
|
835
|
-
},
|
|
836
|
-
success: {
|
|
837
|
-
type: 'boolean'
|
|
838
|
-
}
|
|
839
|
-
},
|
|
840
|
-
type: 'object'
|
|
841
|
-
};
|
|
842
|
-
export const ListMessagesResponseSchema = {
|
|
843
|
-
description: 'ListMessagesResponse schema',
|
|
844
|
-
properties: {
|
|
845
|
-
data: {
|
|
846
|
-
items: {
|
|
847
|
-
properties: {
|
|
848
|
-
createdAt: {
|
|
849
|
-
nullable: true,
|
|
850
|
-
type: 'string'
|
|
851
|
-
},
|
|
852
|
-
errorMessage: {
|
|
853
|
-
description: 'string schema',
|
|
854
|
-
nullable: true,
|
|
855
|
-
type: 'string'
|
|
856
|
-
},
|
|
857
|
-
font: {
|
|
858
|
-
nullable: true,
|
|
859
|
-
type: 'integer'
|
|
860
|
-
},
|
|
861
|
-
groupId: {
|
|
862
|
-
format: 'int64',
|
|
863
|
-
nullable: true,
|
|
864
|
-
type: 'integer'
|
|
865
|
-
},
|
|
866
|
-
id: {
|
|
867
|
-
description: 'message id',
|
|
868
|
-
type: 'string'
|
|
869
|
-
},
|
|
870
|
-
message: {
|
|
871
|
-
type: 'string'
|
|
872
|
-
},
|
|
873
|
-
messageId: {
|
|
874
|
-
format: 'int64',
|
|
875
|
-
nullable: true,
|
|
876
|
-
type: 'integer'
|
|
877
|
-
},
|
|
878
|
-
messageType: {
|
|
879
|
-
description: 'string schema',
|
|
880
|
-
nullable: true,
|
|
881
|
-
type: 'string'
|
|
882
|
-
},
|
|
883
|
-
metadata: {
|
|
884
|
-
type: 'string'
|
|
885
|
-
},
|
|
886
|
-
postType: {
|
|
887
|
-
type: 'string'
|
|
888
|
-
},
|
|
889
|
-
processed: {
|
|
890
|
-
type: 'boolean'
|
|
891
|
-
},
|
|
892
|
-
processedAt: {
|
|
893
|
-
description: 'string schema',
|
|
894
|
-
nullable: true,
|
|
895
|
-
type: 'string'
|
|
896
|
-
},
|
|
897
|
-
rawData: {
|
|
898
|
-
type: 'string'
|
|
899
|
-
},
|
|
900
|
-
rawMessage: {
|
|
901
|
-
description: 'string schema',
|
|
902
|
-
nullable: true,
|
|
903
|
-
type: 'string'
|
|
904
|
-
},
|
|
905
|
-
selfId: {
|
|
906
|
-
type: 'string'
|
|
907
|
-
},
|
|
908
|
-
senderCard: {
|
|
909
|
-
description: 'string schema',
|
|
910
|
-
nullable: true,
|
|
911
|
-
type: 'string'
|
|
912
|
-
},
|
|
913
|
-
senderNickname: {
|
|
914
|
-
description: 'string schema',
|
|
915
|
-
nullable: true,
|
|
916
|
-
type: 'string'
|
|
917
|
-
},
|
|
918
|
-
senderRole: {
|
|
919
|
-
description: 'string schema',
|
|
920
|
-
nullable: true,
|
|
921
|
-
type: 'string'
|
|
922
|
-
},
|
|
923
|
-
subType: {
|
|
924
|
-
description: 'string schema',
|
|
925
|
-
nullable: true,
|
|
926
|
-
type: 'string'
|
|
927
|
-
},
|
|
928
|
-
time: {
|
|
929
|
-
format: 'int64',
|
|
930
|
-
type: 'integer'
|
|
931
|
-
},
|
|
932
|
-
updatedAt: {
|
|
933
|
-
nullable: true,
|
|
934
|
-
type: 'string'
|
|
935
|
-
},
|
|
936
|
-
userId: {
|
|
937
|
-
format: 'int64',
|
|
938
|
-
nullable: true,
|
|
939
|
-
type: 'integer'
|
|
940
|
-
}
|
|
941
|
-
},
|
|
942
|
-
required: [
|
|
943
|
-
'id',
|
|
944
|
-
'selfId',
|
|
945
|
-
'postType'
|
|
946
|
-
],
|
|
947
|
-
type: 'object'
|
|
948
|
-
},
|
|
949
|
-
type: 'array'
|
|
950
|
-
},
|
|
951
|
-
limit: {
|
|
952
|
-
maximum: 100,
|
|
953
|
-
minimum: 0,
|
|
954
|
-
type: 'integer'
|
|
955
|
-
},
|
|
956
|
-
page: {
|
|
957
|
-
type: 'integer'
|
|
958
|
-
},
|
|
959
|
-
total: {
|
|
960
|
-
type: 'integer'
|
|
961
|
-
}
|
|
962
|
-
},
|
|
963
|
-
required: [
|
|
964
|
-
'data',
|
|
965
|
-
'total',
|
|
966
|
-
'page',
|
|
967
|
-
'limit'
|
|
968
|
-
],
|
|
969
|
-
type: 'object'
|
|
970
|
-
};
|
|
971
|
-
export const ListSessionsResponseSchema = {
|
|
972
|
-
description: 'ListSessionsResponse schema',
|
|
973
|
-
properties: {
|
|
974
|
-
data: {
|
|
975
|
-
items: {
|
|
976
|
-
properties: {
|
|
977
|
-
createdAt: {
|
|
978
|
-
type: 'string'
|
|
979
|
-
},
|
|
980
|
-
id: {
|
|
981
|
-
type: 'string'
|
|
982
|
-
},
|
|
983
|
-
isActive: {
|
|
984
|
-
type: 'boolean'
|
|
985
|
-
},
|
|
986
|
-
lastMessageAt: {
|
|
987
|
-
description: 'string schema',
|
|
988
|
-
nullable: true,
|
|
989
|
-
type: 'string'
|
|
990
|
-
},
|
|
991
|
-
messageCount: {
|
|
992
|
-
type: 'integer'
|
|
993
|
-
},
|
|
994
|
-
selfId: {
|
|
995
|
-
type: 'string'
|
|
996
|
-
},
|
|
997
|
-
sessionId: {
|
|
998
|
-
type: 'string'
|
|
999
|
-
},
|
|
1000
|
-
sessionName: {
|
|
1001
|
-
description: 'string schema',
|
|
1002
|
-
nullable: true,
|
|
1003
|
-
type: 'string'
|
|
1004
|
-
},
|
|
1005
|
-
sessionType: {
|
|
1006
|
-
type: 'string'
|
|
1007
|
-
},
|
|
1008
|
-
updatedAt: {
|
|
1009
|
-
type: 'string'
|
|
1010
|
-
}
|
|
1011
|
-
},
|
|
1012
|
-
type: 'object'
|
|
1013
|
-
},
|
|
1014
|
-
type: 'array'
|
|
1015
|
-
},
|
|
1016
|
-
limit: {
|
|
1017
|
-
type: 'integer'
|
|
1018
|
-
},
|
|
1019
|
-
page: {
|
|
1020
|
-
type: 'integer'
|
|
1021
|
-
},
|
|
1022
|
-
total: {
|
|
1023
|
-
type: 'integer'
|
|
1024
|
-
}
|
|
1025
|
-
},
|
|
1026
|
-
type: 'object'
|
|
1027
|
-
};
|
|
1028
|
-
export const LoginChatbotRequestSchema = {
|
|
1029
|
-
description: 'LoginChatbotRequest schema',
|
|
1030
|
-
properties: {
|
|
1031
|
-
chatbotId: {
|
|
1032
|
-
example: '123e4567-e89b-12d3-a456-426614174000',
|
|
1033
|
-
type: 'string'
|
|
1034
|
-
}
|
|
1035
|
-
},
|
|
1036
|
-
required: [
|
|
1037
|
-
'chatbotId'
|
|
1038
|
-
],
|
|
1039
|
-
type: 'object'
|
|
1040
|
-
};
|
|
1041
|
-
export const LoginChatbotResponseSchema = {
|
|
1042
|
-
description: 'LoginChatbotResponse schema',
|
|
326
|
+
export const HumanActionReqSchema = {
|
|
327
|
+
description: 'HumanActionReq schema',
|
|
1043
328
|
properties: {
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
type: 'string'
|
|
1047
|
-
},
|
|
1048
|
-
currentStatus: {
|
|
1049
|
-
example: 'logging_in',
|
|
329
|
+
action_type: {
|
|
330
|
+
description: 'The type of action required (e.g., \'add_resource\', \'check_resource\')',
|
|
1050
331
|
type: 'string'
|
|
1051
332
|
},
|
|
1052
333
|
message: {
|
|
1053
|
-
|
|
334
|
+
description: 'Explanation to the user why this action is needed',
|
|
1054
335
|
type: 'string'
|
|
1055
336
|
},
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
type: 'boolean'
|
|
1059
|
-
},
|
|
1060
|
-
workflowId: {
|
|
1061
|
-
example: 'wf_123456',
|
|
337
|
+
resource_id: {
|
|
338
|
+
description: 'The specific ID of the resource that failed or needs attention',
|
|
1062
339
|
nullable: true,
|
|
1063
340
|
type: 'string'
|
|
1064
341
|
}
|
|
1065
342
|
},
|
|
343
|
+
required: [
|
|
344
|
+
'action_type',
|
|
345
|
+
'message'
|
|
346
|
+
],
|
|
1066
347
|
type: 'object'
|
|
1067
348
|
};
|
|
1068
|
-
export const
|
|
1069
|
-
description: '
|
|
349
|
+
export const HumanActionRespSchema = {
|
|
350
|
+
description: 'HumanActionResp schema',
|
|
1070
351
|
properties: {
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
errorMessage: {
|
|
1076
|
-
description: 'string schema',
|
|
1077
|
-
nullable: true,
|
|
1078
|
-
type: 'string'
|
|
1079
|
-
},
|
|
1080
|
-
font: {
|
|
1081
|
-
nullable: true,
|
|
1082
|
-
type: 'integer'
|
|
1083
|
-
},
|
|
1084
|
-
groupId: {
|
|
1085
|
-
format: 'int64',
|
|
352
|
+
client_action: {
|
|
353
|
+
additionalProperties: {
|
|
354
|
+
type: 'string'
|
|
355
|
+
},
|
|
1086
356
|
nullable: true,
|
|
1087
|
-
type: '
|
|
1088
|
-
},
|
|
1089
|
-
id: {
|
|
1090
|
-
description: 'message id',
|
|
1091
|
-
type: 'string'
|
|
357
|
+
type: 'object'
|
|
1092
358
|
},
|
|
1093
359
|
message: {
|
|
1094
360
|
type: 'string'
|
|
1095
361
|
},
|
|
1096
|
-
|
|
1097
|
-
format: 'int64',
|
|
1098
|
-
nullable: true,
|
|
1099
|
-
type: 'integer'
|
|
1100
|
-
},
|
|
1101
|
-
messageType: {
|
|
1102
|
-
description: 'string schema',
|
|
1103
|
-
nullable: true,
|
|
1104
|
-
type: 'string'
|
|
1105
|
-
},
|
|
1106
|
-
metadata: {
|
|
1107
|
-
type: 'string'
|
|
1108
|
-
},
|
|
1109
|
-
postType: {
|
|
1110
|
-
type: 'string'
|
|
1111
|
-
},
|
|
1112
|
-
processed: {
|
|
1113
|
-
type: 'boolean'
|
|
1114
|
-
},
|
|
1115
|
-
processedAt: {
|
|
1116
|
-
description: 'string schema',
|
|
1117
|
-
nullable: true,
|
|
1118
|
-
type: 'string'
|
|
1119
|
-
},
|
|
1120
|
-
rawData: {
|
|
1121
|
-
type: 'string'
|
|
1122
|
-
},
|
|
1123
|
-
rawMessage: {
|
|
1124
|
-
description: 'string schema',
|
|
1125
|
-
nullable: true,
|
|
1126
|
-
type: 'string'
|
|
1127
|
-
},
|
|
1128
|
-
selfId: {
|
|
1129
|
-
type: 'string'
|
|
1130
|
-
},
|
|
1131
|
-
senderCard: {
|
|
1132
|
-
description: 'string schema',
|
|
1133
|
-
nullable: true,
|
|
1134
|
-
type: 'string'
|
|
1135
|
-
},
|
|
1136
|
-
senderNickname: {
|
|
1137
|
-
description: 'string schema',
|
|
1138
|
-
nullable: true,
|
|
1139
|
-
type: 'string'
|
|
1140
|
-
},
|
|
1141
|
-
senderRole: {
|
|
1142
|
-
description: 'string schema',
|
|
1143
|
-
nullable: true,
|
|
1144
|
-
type: 'string'
|
|
1145
|
-
},
|
|
1146
|
-
subType: {
|
|
1147
|
-
description: 'string schema',
|
|
1148
|
-
nullable: true,
|
|
1149
|
-
type: 'string'
|
|
1150
|
-
},
|
|
1151
|
-
time: {
|
|
1152
|
-
format: 'int64',
|
|
1153
|
-
type: 'integer'
|
|
1154
|
-
},
|
|
1155
|
-
updatedAt: {
|
|
1156
|
-
nullable: true,
|
|
362
|
+
status: {
|
|
1157
363
|
type: 'string'
|
|
1158
|
-
},
|
|
1159
|
-
userId: {
|
|
1160
|
-
format: 'int64',
|
|
1161
|
-
nullable: true,
|
|
1162
|
-
type: 'integer'
|
|
1163
364
|
}
|
|
1164
365
|
},
|
|
1165
|
-
required: [
|
|
1166
|
-
'id',
|
|
1167
|
-
'selfId',
|
|
1168
|
-
'postType'
|
|
1169
|
-
],
|
|
1170
366
|
type: 'object'
|
|
1171
367
|
};
|
|
1172
|
-
export const
|
|
1173
|
-
description: '
|
|
368
|
+
export const ListComputeNodesReqSchema = {
|
|
369
|
+
description: 'ListComputeNodesReq schema',
|
|
1174
370
|
properties: {
|
|
1175
|
-
|
|
1176
|
-
nullable: true,
|
|
1177
|
-
type: 'string'
|
|
1178
|
-
},
|
|
1179
|
-
data_dir: {
|
|
371
|
+
kw: {
|
|
1180
372
|
nullable: true,
|
|
1181
373
|
type: 'string'
|
|
1182
374
|
},
|
|
1183
|
-
|
|
1184
|
-
type: 'boolean'
|
|
1185
|
-
},
|
|
1186
|
-
napcat_port: {
|
|
375
|
+
page_no: {
|
|
1187
376
|
nullable: true,
|
|
1188
377
|
type: 'integer'
|
|
1189
378
|
},
|
|
1190
|
-
|
|
1191
|
-
nullable: true,
|
|
1192
|
-
type: 'integer'
|
|
1193
|
-
},
|
|
1194
|
-
webui_port: {
|
|
379
|
+
page_size: {
|
|
1195
380
|
nullable: true,
|
|
1196
381
|
type: 'integer'
|
|
1197
382
|
}
|
|
1198
383
|
},
|
|
1199
384
|
type: 'object'
|
|
1200
385
|
};
|
|
1201
|
-
export const
|
|
1202
|
-
description: '
|
|
386
|
+
export const ListDirRequestSchema = {
|
|
387
|
+
description: 'ListDirRequest schema',
|
|
1203
388
|
properties: {
|
|
1204
|
-
|
|
389
|
+
path: {
|
|
390
|
+
description: 'Directory path to list',
|
|
1205
391
|
type: 'string'
|
|
1206
392
|
}
|
|
1207
393
|
},
|
|
394
|
+
required: [
|
|
395
|
+
'path'
|
|
396
|
+
],
|
|
1208
397
|
type: 'object'
|
|
1209
398
|
};
|
|
1210
|
-
export const
|
|
1211
|
-
description: '
|
|
1212
|
-
properties: {
|
|
1213
|
-
success: {
|
|
1214
|
-
type: 'boolean'
|
|
1215
|
-
}
|
|
1216
|
-
},
|
|
1217
|
-
type: 'object'
|
|
1218
|
-
};
|
|
1219
|
-
export const PAccountListDataSchema = {
|
|
1220
|
-
description: 'PAccountListData schema',
|
|
399
|
+
export const ListDirResponseSchema = {
|
|
400
|
+
description: 'ListDirResponse schema',
|
|
1221
401
|
properties: {
|
|
1222
|
-
|
|
402
|
+
entries: {
|
|
1223
403
|
items: {
|
|
1224
404
|
properties: {
|
|
1225
|
-
|
|
1226
|
-
additionalProperties: {},
|
|
1227
|
-
nullable: true,
|
|
1228
|
-
type: 'object'
|
|
1229
|
-
},
|
|
1230
|
-
createdAt: {
|
|
1231
|
-
format: 'date-time',
|
|
1232
|
-
type: 'string'
|
|
1233
|
-
},
|
|
1234
|
-
description: {
|
|
1235
|
-
description: 'string schema',
|
|
1236
|
-
nullable: true,
|
|
1237
|
-
type: 'string'
|
|
1238
|
-
},
|
|
1239
|
-
enabled: {
|
|
405
|
+
is_dir: {
|
|
1240
406
|
type: 'boolean'
|
|
1241
407
|
},
|
|
1242
|
-
error: {
|
|
1243
|
-
description: 'string schema',
|
|
1244
|
-
nullable: true,
|
|
1245
|
-
type: 'string'
|
|
1246
|
-
},
|
|
1247
|
-
icon: {
|
|
1248
|
-
description: 'string schema',
|
|
1249
|
-
nullable: true,
|
|
1250
|
-
type: 'string'
|
|
1251
|
-
},
|
|
1252
|
-
id: {
|
|
1253
|
-
type: 'string'
|
|
1254
|
-
},
|
|
1255
408
|
name: {
|
|
1256
|
-
description: 'string schema',
|
|
1257
|
-
nullable: true,
|
|
1258
409
|
type: 'string'
|
|
1259
410
|
},
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
description: {
|
|
1264
|
-
description: 'string schema',
|
|
1265
|
-
nullable: true,
|
|
1266
|
-
type: 'string'
|
|
1267
|
-
},
|
|
1268
|
-
id: {
|
|
1269
|
-
type: 'string'
|
|
1270
|
-
},
|
|
1271
|
-
name: {
|
|
1272
|
-
type: 'string'
|
|
1273
|
-
}
|
|
1274
|
-
},
|
|
1275
|
-
type: 'object'
|
|
1276
|
-
},
|
|
1277
|
-
platformId: {
|
|
1278
|
-
type: 'string'
|
|
1279
|
-
},
|
|
1280
|
-
state: {
|
|
1281
|
-
additionalProperties: {},
|
|
1282
|
-
nullable: true,
|
|
1283
|
-
type: 'object'
|
|
1284
|
-
},
|
|
1285
|
-
tags: {
|
|
1286
|
-
items: {
|
|
1287
|
-
type: 'string'
|
|
1288
|
-
},
|
|
1289
|
-
nullable: true,
|
|
1290
|
-
type: 'array'
|
|
1291
|
-
},
|
|
1292
|
-
updatedAt: {
|
|
1293
|
-
format: 'date-time',
|
|
1294
|
-
type: 'string'
|
|
411
|
+
size: {
|
|
412
|
+
format: 'int64',
|
|
413
|
+
type: 'integer'
|
|
1295
414
|
}
|
|
1296
415
|
},
|
|
1297
416
|
type: 'object'
|
|
1298
|
-
},
|
|
1299
|
-
type: 'array'
|
|
1300
|
-
},
|
|
1301
|
-
limit: {
|
|
1302
|
-
type: 'integer'
|
|
1303
|
-
},
|
|
1304
|
-
page: {
|
|
1305
|
-
type: 'integer'
|
|
417
|
+
},
|
|
418
|
+
type: 'array'
|
|
1306
419
|
},
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
type: '
|
|
420
|
+
error: {
|
|
421
|
+
nullable: true,
|
|
422
|
+
type: 'string'
|
|
1310
423
|
}
|
|
1311
424
|
},
|
|
1312
425
|
type: 'object'
|
|
1313
426
|
};
|
|
1314
|
-
export const
|
|
1315
|
-
description: '
|
|
427
|
+
export const ListTasksReqSchema = {
|
|
428
|
+
description: 'ListTasksReq schema'
|
|
429
|
+
};
|
|
430
|
+
export const NapcatStatusSchema = {
|
|
431
|
+
description: 'NapcatStatus schema',
|
|
1316
432
|
properties: {
|
|
1317
|
-
|
|
1318
|
-
additionalProperties: {},
|
|
433
|
+
config_dir: {
|
|
1319
434
|
nullable: true,
|
|
1320
|
-
type: 'object'
|
|
1321
|
-
},
|
|
1322
|
-
createdAt: {
|
|
1323
|
-
format: 'date-time',
|
|
1324
435
|
type: 'string'
|
|
1325
436
|
},
|
|
1326
|
-
|
|
1327
|
-
description: 'string schema',
|
|
437
|
+
data_dir: {
|
|
1328
438
|
nullable: true,
|
|
1329
439
|
type: 'string'
|
|
1330
440
|
},
|
|
1331
|
-
|
|
441
|
+
is_running: {
|
|
1332
442
|
type: 'boolean'
|
|
1333
443
|
},
|
|
1334
|
-
|
|
1335
|
-
description: 'string schema',
|
|
1336
|
-
nullable: true,
|
|
1337
|
-
type: 'string'
|
|
1338
|
-
},
|
|
1339
|
-
icon: {
|
|
1340
|
-
description: 'string schema',
|
|
1341
|
-
nullable: true,
|
|
1342
|
-
type: 'string'
|
|
1343
|
-
},
|
|
1344
|
-
id: {
|
|
1345
|
-
type: 'string'
|
|
1346
|
-
},
|
|
1347
|
-
name: {
|
|
1348
|
-
description: 'string schema',
|
|
1349
|
-
nullable: true,
|
|
1350
|
-
type: 'string'
|
|
1351
|
-
},
|
|
1352
|
-
platform: {
|
|
444
|
+
napcat_port: {
|
|
1353
445
|
nullable: true,
|
|
1354
|
-
|
|
1355
|
-
description: {
|
|
1356
|
-
description: 'string schema',
|
|
1357
|
-
nullable: true,
|
|
1358
|
-
type: 'string'
|
|
1359
|
-
},
|
|
1360
|
-
id: {
|
|
1361
|
-
type: 'string'
|
|
1362
|
-
},
|
|
1363
|
-
name: {
|
|
1364
|
-
type: 'string'
|
|
1365
|
-
}
|
|
1366
|
-
},
|
|
1367
|
-
type: 'object'
|
|
1368
|
-
},
|
|
1369
|
-
platformId: {
|
|
1370
|
-
type: 'string'
|
|
446
|
+
type: 'integer'
|
|
1371
447
|
},
|
|
1372
|
-
|
|
1373
|
-
additionalProperties: {},
|
|
448
|
+
process_id: {
|
|
1374
449
|
nullable: true,
|
|
1375
|
-
type: '
|
|
450
|
+
type: 'integer'
|
|
1376
451
|
},
|
|
1377
|
-
|
|
1378
|
-
items: {
|
|
1379
|
-
type: 'string'
|
|
1380
|
-
},
|
|
452
|
+
webui_port: {
|
|
1381
453
|
nullable: true,
|
|
1382
|
-
type: '
|
|
1383
|
-
},
|
|
1384
|
-
updatedAt: {
|
|
1385
|
-
format: 'date-time',
|
|
1386
|
-
type: 'string'
|
|
454
|
+
type: 'integer'
|
|
1387
455
|
}
|
|
1388
456
|
},
|
|
1389
457
|
type: 'object'
|
|
1390
458
|
};
|
|
1391
|
-
export const
|
|
1392
|
-
description: '
|
|
459
|
+
export const QueryRequestSchema = {
|
|
460
|
+
description: 'QueryRequest schema',
|
|
1393
461
|
properties: {
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
type: 'string'
|
|
1397
|
-
},
|
|
1398
|
-
id: {
|
|
1399
|
-
type: 'string'
|
|
1400
|
-
},
|
|
1401
|
-
metadata: {
|
|
1402
|
-
additionalProperties: {},
|
|
1403
|
-
nullable: true,
|
|
1404
|
-
type: 'object'
|
|
1405
|
-
},
|
|
1406
|
-
status: {
|
|
1407
|
-
type: 'string'
|
|
1408
|
-
},
|
|
1409
|
-
updatedAt: {
|
|
1410
|
-
format: 'date-time',
|
|
1411
|
-
nullable: true,
|
|
462
|
+
sql: {
|
|
463
|
+
description: 'The SQL query (or queries) to execute. Multiple statements can be separated by semicolons.',
|
|
1412
464
|
type: 'string'
|
|
1413
465
|
}
|
|
1414
466
|
},
|
|
467
|
+
required: [
|
|
468
|
+
'sql'
|
|
469
|
+
],
|
|
1415
470
|
type: 'object'
|
|
1416
471
|
};
|
|
1417
|
-
export const
|
|
1418
|
-
description: '
|
|
472
|
+
export const QueryResponseSchema = {
|
|
473
|
+
description: 'QueryResponse schema',
|
|
1419
474
|
properties: {
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
page: {
|
|
1424
|
-
type: 'integer'
|
|
475
|
+
error: {
|
|
476
|
+
nullable: true,
|
|
477
|
+
type: 'string'
|
|
1425
478
|
},
|
|
1426
|
-
|
|
479
|
+
results: {
|
|
1427
480
|
items: {
|
|
1428
481
|
properties: {
|
|
1429
|
-
|
|
1430
|
-
format: 'date-time',
|
|
1431
|
-
type: 'string'
|
|
1432
|
-
},
|
|
1433
|
-
description: {
|
|
482
|
+
error: {
|
|
1434
483
|
nullable: true,
|
|
1435
484
|
type: 'string'
|
|
1436
485
|
},
|
|
1437
|
-
|
|
1438
|
-
type: 'string'
|
|
1439
|
-
},
|
|
1440
|
-
loginUrl: {
|
|
486
|
+
message: {
|
|
1441
487
|
nullable: true,
|
|
1442
488
|
type: 'string'
|
|
1443
489
|
},
|
|
1444
|
-
|
|
1445
|
-
type: 'string'
|
|
1446
|
-
},
|
|
1447
|
-
tags: {
|
|
490
|
+
rows: {
|
|
1448
491
|
items: {
|
|
1449
|
-
|
|
492
|
+
additionalProperties: {},
|
|
493
|
+
type: 'object'
|
|
1450
494
|
},
|
|
1451
495
|
nullable: true,
|
|
1452
496
|
type: 'array'
|
|
1453
497
|
},
|
|
1454
|
-
|
|
1455
|
-
format: 'date-time',
|
|
498
|
+
sql: {
|
|
1456
499
|
type: 'string'
|
|
1457
500
|
},
|
|
1458
|
-
|
|
501
|
+
status: {
|
|
1459
502
|
nullable: true,
|
|
1460
503
|
type: 'string'
|
|
1461
504
|
}
|
|
1462
505
|
},
|
|
1463
506
|
type: 'object'
|
|
1464
507
|
},
|
|
508
|
+
nullable: true,
|
|
1465
509
|
type: 'array'
|
|
1466
|
-
},
|
|
1467
|
-
total: {
|
|
1468
|
-
format: 'int64',
|
|
1469
|
-
type: 'integer'
|
|
1470
510
|
}
|
|
1471
511
|
},
|
|
1472
512
|
type: 'object'
|
|
1473
513
|
};
|
|
1474
|
-
export const
|
|
1475
|
-
description: '
|
|
514
|
+
export const ReadFilesRequestSchema = {
|
|
515
|
+
description: 'ReadFilesRequest schema',
|
|
1476
516
|
properties: {
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
type: 'string'
|
|
1480
|
-
},
|
|
1481
|
-
description: {
|
|
1482
|
-
nullable: true,
|
|
1483
|
-
type: 'string'
|
|
1484
|
-
},
|
|
1485
|
-
id: {
|
|
1486
|
-
type: 'string'
|
|
1487
|
-
},
|
|
1488
|
-
loginUrl: {
|
|
1489
|
-
nullable: true,
|
|
1490
|
-
type: 'string'
|
|
1491
|
-
},
|
|
1492
|
-
name: {
|
|
1493
|
-
type: 'string'
|
|
1494
|
-
},
|
|
1495
|
-
tags: {
|
|
517
|
+
paths: {
|
|
518
|
+
description: 'List of file paths or glob patterns',
|
|
1496
519
|
items: {
|
|
1497
520
|
type: 'string'
|
|
1498
521
|
},
|
|
1499
|
-
nullable: true,
|
|
1500
522
|
type: 'array'
|
|
1501
|
-
},
|
|
1502
|
-
updatedAt: {
|
|
1503
|
-
format: 'date-time',
|
|
1504
|
-
type: 'string'
|
|
1505
|
-
},
|
|
1506
|
-
url: {
|
|
1507
|
-
nullable: true,
|
|
1508
|
-
type: 'string'
|
|
1509
523
|
}
|
|
1510
524
|
},
|
|
525
|
+
required: [
|
|
526
|
+
'paths'
|
|
527
|
+
],
|
|
1511
528
|
type: 'object'
|
|
1512
529
|
};
|
|
1513
|
-
export const
|
|
1514
|
-
description: '
|
|
530
|
+
export const ReadFilesResponseSchema = {
|
|
531
|
+
description: 'ReadFilesResponse schema',
|
|
1515
532
|
properties: {
|
|
1516
|
-
|
|
533
|
+
results: {
|
|
1517
534
|
items: {
|
|
1518
535
|
properties: {
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
type: 'string'
|
|
1522
|
-
},
|
|
1523
|
-
createdAt: {
|
|
1524
|
-
example: '2023-01-01T00:00:00Z',
|
|
1525
|
-
type: 'string'
|
|
1526
|
-
},
|
|
1527
|
-
enabled: {
|
|
1528
|
-
example: true,
|
|
1529
|
-
type: 'boolean'
|
|
1530
|
-
},
|
|
1531
|
-
id: {
|
|
1532
|
-
example: '123e4567-e89b-12d3-a456-426614174000',
|
|
536
|
+
content: {
|
|
537
|
+
nullable: true,
|
|
1533
538
|
type: 'string'
|
|
1534
539
|
},
|
|
1535
|
-
|
|
1536
|
-
|
|
540
|
+
error: {
|
|
541
|
+
nullable: true,
|
|
1537
542
|
type: 'string'
|
|
1538
543
|
},
|
|
1539
|
-
|
|
1540
|
-
example: '2023-01-01T00:00:00Z',
|
|
544
|
+
file_path: {
|
|
1541
545
|
type: 'string'
|
|
1542
546
|
}
|
|
1543
547
|
},
|
|
@@ -1545,56 +549,17 @@ export const PlatformTypeListResponseSchema = {
|
|
|
1545
549
|
},
|
|
1546
550
|
type: 'array'
|
|
1547
551
|
},
|
|
1548
|
-
|
|
1549
|
-
example: 20,
|
|
1550
|
-
type: 'integer'
|
|
1551
|
-
},
|
|
1552
|
-
page: {
|
|
1553
|
-
example: 1,
|
|
1554
|
-
type: 'integer'
|
|
1555
|
-
},
|
|
1556
|
-
total: {
|
|
1557
|
-
example: 10,
|
|
1558
|
-
type: 'integer'
|
|
1559
|
-
}
|
|
1560
|
-
},
|
|
1561
|
-
type: 'object'
|
|
1562
|
-
};
|
|
1563
|
-
export const RunChatbotRequestSchema = {
|
|
1564
|
-
description: 'RunChatbotRequest schema',
|
|
1565
|
-
properties: {
|
|
1566
|
-
chatbotId: {
|
|
1567
|
-
example: '123e4567-e89b-12d3-a456-426614174000',
|
|
552
|
+
summary: {
|
|
1568
553
|
type: 'string'
|
|
1569
554
|
}
|
|
1570
555
|
},
|
|
1571
|
-
required: [
|
|
1572
|
-
'chatbotId'
|
|
1573
|
-
],
|
|
1574
556
|
type: 'object'
|
|
1575
557
|
};
|
|
1576
|
-
export const
|
|
1577
|
-
description: '
|
|
558
|
+
export const RemoveComputeNodeReqSchema = {
|
|
559
|
+
description: 'RemoveComputeNodeReq schema',
|
|
1578
560
|
properties: {
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
type: 'string'
|
|
1582
|
-
},
|
|
1583
|
-
currentStatus: {
|
|
1584
|
-
example: 'starting',
|
|
1585
|
-
type: 'string'
|
|
1586
|
-
},
|
|
1587
|
-
message: {
|
|
1588
|
-
example: '聊天机器人启动工作流已触发',
|
|
1589
|
-
type: 'string'
|
|
1590
|
-
},
|
|
1591
|
-
success: {
|
|
1592
|
-
example: true,
|
|
1593
|
-
type: 'boolean'
|
|
1594
|
-
},
|
|
1595
|
-
workflowId: {
|
|
1596
|
-
example: 'wf_123456',
|
|
1597
|
-
nullable: true,
|
|
561
|
+
id: {
|
|
562
|
+
description: 'ID of the compute node to remove',
|
|
1598
563
|
type: 'string'
|
|
1599
564
|
}
|
|
1600
565
|
},
|
|
@@ -1634,6 +599,43 @@ export const RunCodeReqSchema = {
|
|
|
1634
599
|
],
|
|
1635
600
|
type: 'object'
|
|
1636
601
|
};
|
|
602
|
+
export const SearchFilesRequestSchema = {
|
|
603
|
+
description: 'SearchFilesRequest schema',
|
|
604
|
+
properties: {
|
|
605
|
+
glob: {
|
|
606
|
+
description: 'File pattern to include e.g. *.go',
|
|
607
|
+
type: 'string'
|
|
608
|
+
},
|
|
609
|
+
path: {
|
|
610
|
+
description: 'Directory to search in',
|
|
611
|
+
type: 'string'
|
|
612
|
+
},
|
|
613
|
+
pattern: {
|
|
614
|
+
description: 'Regex pattern to search',
|
|
615
|
+
type: 'string'
|
|
616
|
+
}
|
|
617
|
+
},
|
|
618
|
+
required: [
|
|
619
|
+
'pattern'
|
|
620
|
+
],
|
|
621
|
+
type: 'object'
|
|
622
|
+
};
|
|
623
|
+
export const SearchFilesResponseSchema = {
|
|
624
|
+
description: 'SearchFilesResponse schema',
|
|
625
|
+
properties: {
|
|
626
|
+
error: {
|
|
627
|
+
nullable: true,
|
|
628
|
+
type: 'string'
|
|
629
|
+
},
|
|
630
|
+
matches: {
|
|
631
|
+
items: {
|
|
632
|
+
type: 'string'
|
|
633
|
+
},
|
|
634
|
+
type: 'array'
|
|
635
|
+
}
|
|
636
|
+
},
|
|
637
|
+
type: 'object'
|
|
638
|
+
};
|
|
1637
639
|
export const StartNapcatRequestSchema = {
|
|
1638
640
|
description: 'StartNapcatRequest schema',
|
|
1639
641
|
properties: {
|
|
@@ -1689,133 +691,6 @@ export const TaskRunRespSchema = {
|
|
|
1689
691
|
},
|
|
1690
692
|
type: 'object'
|
|
1691
693
|
};
|
|
1692
|
-
export const UpdatePAccountRequestSchema = {
|
|
1693
|
-
description: 'UpdatePAccountRequest schema',
|
|
1694
|
-
properties: {
|
|
1695
|
-
config: {
|
|
1696
|
-
additionalProperties: {},
|
|
1697
|
-
nullable: true,
|
|
1698
|
-
type: 'object'
|
|
1699
|
-
},
|
|
1700
|
-
description: {
|
|
1701
|
-
description: 'string schema',
|
|
1702
|
-
nullable: true,
|
|
1703
|
-
type: 'string'
|
|
1704
|
-
},
|
|
1705
|
-
enabled: {
|
|
1706
|
-
nullable: true,
|
|
1707
|
-
type: 'boolean'
|
|
1708
|
-
},
|
|
1709
|
-
icon: {
|
|
1710
|
-
description: 'string schema',
|
|
1711
|
-
nullable: true,
|
|
1712
|
-
type: 'string'
|
|
1713
|
-
},
|
|
1714
|
-
name: {
|
|
1715
|
-
description: 'string schema',
|
|
1716
|
-
nullable: true,
|
|
1717
|
-
type: 'string'
|
|
1718
|
-
},
|
|
1719
|
-
platformId: {
|
|
1720
|
-
type: 'string'
|
|
1721
|
-
},
|
|
1722
|
-
tags: {
|
|
1723
|
-
items: {
|
|
1724
|
-
type: 'string'
|
|
1725
|
-
},
|
|
1726
|
-
nullable: true,
|
|
1727
|
-
type: 'array'
|
|
1728
|
-
}
|
|
1729
|
-
},
|
|
1730
|
-
required: [
|
|
1731
|
-
'platformId'
|
|
1732
|
-
],
|
|
1733
|
-
type: 'object'
|
|
1734
|
-
};
|
|
1735
|
-
export const UpdatePlatformRequestSchema = {
|
|
1736
|
-
description: 'UpdatePlatformRequest schema',
|
|
1737
|
-
properties: {
|
|
1738
|
-
description: {
|
|
1739
|
-
description: 'string schema',
|
|
1740
|
-
nullable: true,
|
|
1741
|
-
type: 'string'
|
|
1742
|
-
},
|
|
1743
|
-
loginUrl: {
|
|
1744
|
-
description: 'string schema',
|
|
1745
|
-
nullable: true,
|
|
1746
|
-
type: 'string'
|
|
1747
|
-
},
|
|
1748
|
-
name: {
|
|
1749
|
-
type: 'string'
|
|
1750
|
-
},
|
|
1751
|
-
tags: {
|
|
1752
|
-
items: {
|
|
1753
|
-
type: 'string'
|
|
1754
|
-
},
|
|
1755
|
-
nullable: true,
|
|
1756
|
-
type: 'array'
|
|
1757
|
-
},
|
|
1758
|
-
url: {
|
|
1759
|
-
description: 'string schema',
|
|
1760
|
-
nullable: true,
|
|
1761
|
-
type: 'string'
|
|
1762
|
-
}
|
|
1763
|
-
},
|
|
1764
|
-
required: [
|
|
1765
|
-
'name'
|
|
1766
|
-
],
|
|
1767
|
-
type: 'object'
|
|
1768
|
-
};
|
|
1769
|
-
export const UpdateSessionRequestSchema = {
|
|
1770
|
-
description: 'UpdateSessionRequest schema',
|
|
1771
|
-
properties: {
|
|
1772
|
-
config: {
|
|
1773
|
-
additionalProperties: {},
|
|
1774
|
-
nullable: true,
|
|
1775
|
-
type: 'object'
|
|
1776
|
-
},
|
|
1777
|
-
status: {
|
|
1778
|
-
nullable: true,
|
|
1779
|
-
type: 'string'
|
|
1780
|
-
}
|
|
1781
|
-
},
|
|
1782
|
-
type: 'object'
|
|
1783
|
-
};
|
|
1784
|
-
export const UserResponseSchema = {
|
|
1785
|
-
description: 'UserResponse schema',
|
|
1786
|
-
properties: {
|
|
1787
|
-
avatarUrl: {
|
|
1788
|
-
description: 'string schema',
|
|
1789
|
-
nullable: true,
|
|
1790
|
-
type: 'string'
|
|
1791
|
-
},
|
|
1792
|
-
email: {
|
|
1793
|
-
type: 'string'
|
|
1794
|
-
},
|
|
1795
|
-
hasPassword: {
|
|
1796
|
-
type: 'boolean'
|
|
1797
|
-
},
|
|
1798
|
-
hashedEmail: {
|
|
1799
|
-
description: 'string schema',
|
|
1800
|
-
nullable: true,
|
|
1801
|
-
type: 'string'
|
|
1802
|
-
},
|
|
1803
|
-
id: {
|
|
1804
|
-
type: 'string'
|
|
1805
|
-
},
|
|
1806
|
-
name: {
|
|
1807
|
-
description: 'string schema',
|
|
1808
|
-
nullable: true,
|
|
1809
|
-
type: 'string'
|
|
1810
|
-
}
|
|
1811
|
-
},
|
|
1812
|
-
type: 'object'
|
|
1813
|
-
};
|
|
1814
|
-
export const boolSchema = {
|
|
1815
|
-
description: 'bool schema',
|
|
1816
|
-
nullable: true,
|
|
1817
|
-
type: 'boolean'
|
|
1818
|
-
};
|
|
1819
694
|
export const stringSchema = {
|
|
1820
695
|
description: 'string schema',
|
|
1821
696
|
nullable: true,
|