mtmsdk 0.0.36 → 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
|
@@ -2,112 +2,93 @@ export type ClientOptions = {
|
|
|
2
2
|
baseUrl: `${string}://${string}` | (string & {});
|
|
3
3
|
};
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* AddComputeNodeReq schema
|
|
6
6
|
*/
|
|
7
|
-
export type
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
export type AddComputeNodeReq = {
|
|
8
|
+
/**
|
|
9
|
+
* Private key or password
|
|
10
|
+
*/
|
|
11
|
+
auth_secret?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Auth type: 'key' or 'password'
|
|
14
|
+
*/
|
|
15
|
+
auth_type?: string;
|
|
16
|
+
/**
|
|
17
|
+
* IP address
|
|
18
|
+
*/
|
|
19
|
+
ip?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Max parallel instances/sandboxes
|
|
22
|
+
*/
|
|
23
|
+
max_instances?: number;
|
|
24
|
+
/**
|
|
25
|
+
* Name of the compute node
|
|
26
|
+
*/
|
|
10
27
|
name?: string;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
28
|
+
/**
|
|
29
|
+
* SSH port
|
|
30
|
+
*/
|
|
31
|
+
port?: number;
|
|
32
|
+
/**
|
|
33
|
+
* Provider type (ssh)
|
|
34
|
+
*/
|
|
35
|
+
provider?: string;
|
|
36
|
+
/**
|
|
37
|
+
* SSH username
|
|
38
|
+
*/
|
|
39
|
+
username?: string;
|
|
16
40
|
};
|
|
17
41
|
/**
|
|
18
|
-
*
|
|
42
|
+
* AgentRunReq schema
|
|
19
43
|
*/
|
|
20
|
-
export type
|
|
21
|
-
|
|
22
|
-
settings?: {
|
|
44
|
+
export type AgentRunReq = {
|
|
45
|
+
payload?: {
|
|
23
46
|
[key: string]: unknown;
|
|
24
47
|
};
|
|
25
|
-
|
|
48
|
+
target_worker_id?: string;
|
|
49
|
+
type: string;
|
|
26
50
|
};
|
|
27
51
|
/**
|
|
28
|
-
*
|
|
52
|
+
* AgentRunResp schema
|
|
29
53
|
*/
|
|
30
|
-
export type
|
|
31
|
-
data?:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
};
|
|
35
|
-
createdAt?: string;
|
|
36
|
-
createdBy?: string;
|
|
37
|
-
description?: string;
|
|
38
|
-
id?: string;
|
|
39
|
-
lastActiveAt?: string;
|
|
40
|
-
name?: string;
|
|
41
|
-
platform?: string;
|
|
42
|
-
serverType?: string;
|
|
43
|
-
serverUrl?: string;
|
|
44
|
-
state?: {
|
|
45
|
-
humanInteractMsg?: string;
|
|
46
|
-
isHumanInteract?: boolean;
|
|
47
|
-
isLogined?: boolean;
|
|
48
|
-
isRunning?: boolean;
|
|
49
|
-
lastStatusUpdate?: number;
|
|
50
|
-
lastestReceiveMsg?: string;
|
|
51
|
-
lastestSendMsg?: string;
|
|
52
|
-
status?: string;
|
|
53
|
-
statusMessage?: string;
|
|
54
|
-
};
|
|
55
|
-
status?: string;
|
|
56
|
-
tags?: Array<string>;
|
|
57
|
-
tenantId?: string;
|
|
58
|
-
updatedAt?: string;
|
|
59
|
-
}>;
|
|
60
|
-
limit?: number;
|
|
61
|
-
page?: number;
|
|
62
|
-
total?: number;
|
|
54
|
+
export type AgentRunResp = {
|
|
55
|
+
data?: unknown;
|
|
56
|
+
error?: string;
|
|
57
|
+
status?: string;
|
|
63
58
|
};
|
|
64
59
|
/**
|
|
65
|
-
*
|
|
60
|
+
* BrowserActionReq schema
|
|
66
61
|
*/
|
|
67
|
-
export type
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
name?: string;
|
|
77
|
-
platform?: string;
|
|
78
|
-
serverType?: string;
|
|
79
|
-
serverUrl?: string;
|
|
80
|
-
state?: {
|
|
81
|
-
humanInteractMsg?: string;
|
|
82
|
-
isHumanInteract?: boolean;
|
|
83
|
-
isLogined?: boolean;
|
|
84
|
-
isRunning?: boolean;
|
|
85
|
-
lastStatusUpdate?: number;
|
|
86
|
-
lastestReceiveMsg?: string;
|
|
87
|
-
lastestSendMsg?: string;
|
|
88
|
-
status?: string;
|
|
89
|
-
statusMessage?: string;
|
|
90
|
-
};
|
|
91
|
-
status?: string;
|
|
92
|
-
tags?: Array<string>;
|
|
93
|
-
tenantId?: string;
|
|
94
|
-
updatedAt?: string;
|
|
62
|
+
export type BrowserActionReq = {
|
|
63
|
+
/**
|
|
64
|
+
* navigate, click, input, wait
|
|
65
|
+
*/
|
|
66
|
+
action: string;
|
|
67
|
+
browser_id: string;
|
|
68
|
+
selector?: string;
|
|
69
|
+
text?: string;
|
|
70
|
+
url?: string;
|
|
95
71
|
};
|
|
96
72
|
/**
|
|
97
|
-
*
|
|
73
|
+
* BrowserOpenReq schema
|
|
98
74
|
*/
|
|
99
|
-
export type
|
|
100
|
-
|
|
101
|
-
|
|
75
|
+
export type BrowserOpenReq = {
|
|
76
|
+
/**
|
|
77
|
+
* Optional browser ID. If empty, a new one is created.
|
|
78
|
+
*/
|
|
79
|
+
browser_id?: string;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* BrowserOpenResp schema
|
|
83
|
+
*/
|
|
84
|
+
export type BrowserOpenResp = {
|
|
85
|
+
browser_id?: string;
|
|
86
|
+
client_action?: {
|
|
87
|
+
[key: string]: string;
|
|
102
88
|
};
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
platform: string;
|
|
107
|
-
serverType?: string;
|
|
108
|
-
serverUrl?: string;
|
|
109
|
-
status: string;
|
|
110
|
-
tags?: Array<string>;
|
|
89
|
+
message?: string;
|
|
90
|
+
status?: string;
|
|
91
|
+
task_id?: string;
|
|
111
92
|
};
|
|
112
93
|
/**
|
|
113
94
|
* CodeRunResult schema
|
|
@@ -135,119 +116,61 @@ export type CodeRunResult = {
|
|
|
135
116
|
status?: string;
|
|
136
117
|
};
|
|
137
118
|
/**
|
|
138
|
-
*
|
|
119
|
+
* EditFileRequest schema
|
|
139
120
|
*/
|
|
140
|
-
export type
|
|
141
|
-
config?: {
|
|
142
|
-
[key: string]: unknown;
|
|
143
|
-
};
|
|
144
|
-
/**
|
|
145
|
-
* string schema
|
|
146
|
-
*/
|
|
147
|
-
description?: string;
|
|
148
|
-
enabled?: boolean;
|
|
149
|
-
/**
|
|
150
|
-
* string schema
|
|
151
|
-
*/
|
|
152
|
-
icon?: string;
|
|
121
|
+
export type EditFileRequest = {
|
|
153
122
|
/**
|
|
154
|
-
*
|
|
123
|
+
* Absolute path to the file
|
|
155
124
|
*/
|
|
156
|
-
|
|
157
|
-
platformId: string;
|
|
158
|
-
tags?: Array<string>;
|
|
159
|
-
};
|
|
160
|
-
/**
|
|
161
|
-
* CreatePlatformRequest schema
|
|
162
|
-
*/
|
|
163
|
-
export type CreatePlatformRequest = {
|
|
125
|
+
file_path: string;
|
|
164
126
|
/**
|
|
165
|
-
* string
|
|
127
|
+
* The new string to replace with.
|
|
166
128
|
*/
|
|
167
|
-
|
|
129
|
+
new_string?: string;
|
|
168
130
|
/**
|
|
169
|
-
* string
|
|
131
|
+
* The exact string to replace. If empty, creates a new file.
|
|
170
132
|
*/
|
|
171
|
-
|
|
172
|
-
name: string;
|
|
173
|
-
tags?: Array<string>;
|
|
133
|
+
old_string?: string;
|
|
174
134
|
/**
|
|
175
|
-
*
|
|
135
|
+
* If true, replace all occurrences. If false, fails if multiple matches found.
|
|
176
136
|
*/
|
|
177
|
-
|
|
137
|
+
replace_all?: boolean;
|
|
178
138
|
};
|
|
179
139
|
/**
|
|
180
|
-
*
|
|
140
|
+
* EditFileResponse schema
|
|
181
141
|
*/
|
|
182
|
-
export type
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
type?: string;
|
|
142
|
+
export type EditFileResponse = {
|
|
143
|
+
diff?: string;
|
|
144
|
+
message?: string;
|
|
145
|
+
success?: boolean;
|
|
187
146
|
};
|
|
188
147
|
/**
|
|
189
|
-
*
|
|
148
|
+
* EnsureSandboxReq schema
|
|
190
149
|
*/
|
|
191
|
-
export type
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
description?: string;
|
|
201
|
-
enabled?: boolean;
|
|
202
|
-
/**
|
|
203
|
-
* string schema
|
|
204
|
-
*/
|
|
205
|
-
error?: string;
|
|
206
|
-
/**
|
|
207
|
-
* string schema
|
|
208
|
-
*/
|
|
209
|
-
icon?: string;
|
|
210
|
-
id?: string;
|
|
211
|
-
/**
|
|
212
|
-
* string schema
|
|
213
|
-
*/
|
|
214
|
-
name?: string;
|
|
215
|
-
platform?: {
|
|
216
|
-
/**
|
|
217
|
-
* string schema
|
|
218
|
-
*/
|
|
219
|
-
description?: string;
|
|
220
|
-
id?: string;
|
|
221
|
-
name?: string;
|
|
222
|
-
};
|
|
223
|
-
platformId?: string;
|
|
224
|
-
state?: {
|
|
225
|
-
[key: string]: unknown;
|
|
226
|
-
};
|
|
227
|
-
tags?: Array<string>;
|
|
228
|
-
updatedAt?: string;
|
|
229
|
-
}>;
|
|
230
|
-
exportedAt?: string;
|
|
231
|
-
totalCount?: number;
|
|
232
|
-
version?: string;
|
|
150
|
+
export type EnsureSandboxReq = {
|
|
151
|
+
/**
|
|
152
|
+
* Reason for requesting the sandbox
|
|
153
|
+
*/
|
|
154
|
+
reason?: string;
|
|
155
|
+
/**
|
|
156
|
+
* Optional user ID override (admin/system only)
|
|
157
|
+
*/
|
|
158
|
+
user_id?: string;
|
|
233
159
|
};
|
|
234
160
|
/**
|
|
235
|
-
*
|
|
161
|
+
* EnsureSandboxResp schema
|
|
236
162
|
*/
|
|
237
|
-
export type
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
exportedAt?: string;
|
|
249
|
-
totalCount?: number;
|
|
250
|
-
version?: string;
|
|
163
|
+
export type EnsureSandboxResp = {
|
|
164
|
+
api_url?: string;
|
|
165
|
+
client_action?: {
|
|
166
|
+
[key: string]: string;
|
|
167
|
+
};
|
|
168
|
+
error_code?: string;
|
|
169
|
+
message?: string;
|
|
170
|
+
sandbox_id?: string;
|
|
171
|
+
status?: string;
|
|
172
|
+
task_id?: string;
|
|
173
|
+
vnc_url?: string;
|
|
251
174
|
};
|
|
252
175
|
/**
|
|
253
176
|
* HTTPError schema
|
|
@@ -288,241 +211,64 @@ export type HttpError = {
|
|
|
288
211
|
type?: string;
|
|
289
212
|
};
|
|
290
213
|
/**
|
|
291
|
-
*
|
|
292
|
-
*/
|
|
293
|
-
export type ImportPAccountsRequest = {
|
|
294
|
-
data?: Array<{
|
|
295
|
-
config?: {
|
|
296
|
-
[key: string]: unknown;
|
|
297
|
-
};
|
|
298
|
-
/**
|
|
299
|
-
* string schema
|
|
300
|
-
*/
|
|
301
|
-
description?: string;
|
|
302
|
-
/**
|
|
303
|
-
* bool schema
|
|
304
|
-
*/
|
|
305
|
-
enabled?: boolean;
|
|
306
|
-
/**
|
|
307
|
-
* string schema
|
|
308
|
-
*/
|
|
309
|
-
icon?: string;
|
|
310
|
-
/**
|
|
311
|
-
* string schema
|
|
312
|
-
*/
|
|
313
|
-
name?: string;
|
|
314
|
-
platformId: string;
|
|
315
|
-
tags?: Array<string>;
|
|
316
|
-
}>;
|
|
317
|
-
options?: {
|
|
318
|
-
overwrite?: boolean;
|
|
319
|
-
skipDuplicates?: boolean;
|
|
320
|
-
};
|
|
321
|
-
};
|
|
322
|
-
/**
|
|
323
|
-
* ImportPAccountsResponse schema
|
|
214
|
+
* HumanActionReq schema
|
|
324
215
|
*/
|
|
325
|
-
export type
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
216
|
+
export type HumanActionReq = {
|
|
217
|
+
/**
|
|
218
|
+
* The type of action required (e.g., 'add_resource', 'check_resource')
|
|
219
|
+
*/
|
|
220
|
+
action_type: string;
|
|
221
|
+
/**
|
|
222
|
+
* Explanation to the user why this action is needed
|
|
223
|
+
*/
|
|
224
|
+
message: string;
|
|
225
|
+
/**
|
|
226
|
+
* The specific ID of the resource that failed or needs attention
|
|
227
|
+
*/
|
|
228
|
+
resource_id?: string;
|
|
333
229
|
};
|
|
334
230
|
/**
|
|
335
|
-
*
|
|
231
|
+
* HumanActionResp schema
|
|
336
232
|
*/
|
|
337
|
-
export type
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
* string schema
|
|
341
|
-
*/
|
|
342
|
-
description?: string;
|
|
343
|
-
/**
|
|
344
|
-
* string schema
|
|
345
|
-
*/
|
|
346
|
-
loginUrl?: string;
|
|
347
|
-
name: string;
|
|
348
|
-
tags?: Array<string>;
|
|
349
|
-
/**
|
|
350
|
-
* string schema
|
|
351
|
-
*/
|
|
352
|
-
url?: string;
|
|
353
|
-
}>;
|
|
354
|
-
options?: {
|
|
355
|
-
overwrite?: boolean;
|
|
356
|
-
skipDuplicates?: boolean;
|
|
233
|
+
export type HumanActionResp = {
|
|
234
|
+
client_action?: {
|
|
235
|
+
[key: string]: string;
|
|
357
236
|
};
|
|
237
|
+
message?: string;
|
|
238
|
+
status?: string;
|
|
358
239
|
};
|
|
359
240
|
/**
|
|
360
|
-
*
|
|
241
|
+
* ListComputeNodesReq schema
|
|
361
242
|
*/
|
|
362
|
-
export type
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
}>;
|
|
367
|
-
imported?: number;
|
|
368
|
-
skipped?: number;
|
|
369
|
-
success?: boolean;
|
|
243
|
+
export type ListComputeNodesReq = {
|
|
244
|
+
kw?: string;
|
|
245
|
+
page_no?: number;
|
|
246
|
+
page_size?: number;
|
|
370
247
|
};
|
|
371
248
|
/**
|
|
372
|
-
*
|
|
249
|
+
* ListDirRequest schema
|
|
373
250
|
*/
|
|
374
|
-
export type
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
*/
|
|
380
|
-
errorMessage?: string;
|
|
381
|
-
font?: number;
|
|
382
|
-
groupId?: number;
|
|
383
|
-
/**
|
|
384
|
-
* message id
|
|
385
|
-
*/
|
|
386
|
-
id: string;
|
|
387
|
-
message?: string;
|
|
388
|
-
messageId?: number;
|
|
389
|
-
/**
|
|
390
|
-
* string schema
|
|
391
|
-
*/
|
|
392
|
-
messageType?: string;
|
|
393
|
-
metadata?: string;
|
|
394
|
-
postType: string;
|
|
395
|
-
processed?: boolean;
|
|
396
|
-
/**
|
|
397
|
-
* string schema
|
|
398
|
-
*/
|
|
399
|
-
processedAt?: string;
|
|
400
|
-
rawData?: string;
|
|
401
|
-
/**
|
|
402
|
-
* string schema
|
|
403
|
-
*/
|
|
404
|
-
rawMessage?: string;
|
|
405
|
-
selfId: string;
|
|
406
|
-
/**
|
|
407
|
-
* string schema
|
|
408
|
-
*/
|
|
409
|
-
senderCard?: string;
|
|
410
|
-
/**
|
|
411
|
-
* string schema
|
|
412
|
-
*/
|
|
413
|
-
senderNickname?: string;
|
|
414
|
-
/**
|
|
415
|
-
* string schema
|
|
416
|
-
*/
|
|
417
|
-
senderRole?: string;
|
|
418
|
-
/**
|
|
419
|
-
* string schema
|
|
420
|
-
*/
|
|
421
|
-
subType?: string;
|
|
422
|
-
time?: number;
|
|
423
|
-
updatedAt?: string;
|
|
424
|
-
userId?: number;
|
|
425
|
-
}>;
|
|
426
|
-
limit: number;
|
|
427
|
-
page: number;
|
|
428
|
-
total: number;
|
|
251
|
+
export type ListDirRequest = {
|
|
252
|
+
/**
|
|
253
|
+
* Directory path to list
|
|
254
|
+
*/
|
|
255
|
+
path: string;
|
|
429
256
|
};
|
|
430
257
|
/**
|
|
431
|
-
*
|
|
258
|
+
* ListDirResponse schema
|
|
432
259
|
*/
|
|
433
|
-
export type
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
/**
|
|
439
|
-
* string schema
|
|
440
|
-
*/
|
|
441
|
-
lastMessageAt?: string;
|
|
442
|
-
messageCount?: number;
|
|
443
|
-
selfId?: string;
|
|
444
|
-
sessionId?: string;
|
|
445
|
-
/**
|
|
446
|
-
* string schema
|
|
447
|
-
*/
|
|
448
|
-
sessionName?: string;
|
|
449
|
-
sessionType?: string;
|
|
450
|
-
updatedAt?: string;
|
|
260
|
+
export type ListDirResponse = {
|
|
261
|
+
entries?: Array<{
|
|
262
|
+
is_dir?: boolean;
|
|
263
|
+
name?: string;
|
|
264
|
+
size?: number;
|
|
451
265
|
}>;
|
|
452
|
-
|
|
453
|
-
page?: number;
|
|
454
|
-
total?: number;
|
|
455
|
-
};
|
|
456
|
-
/**
|
|
457
|
-
* LoginChatbotRequest schema
|
|
458
|
-
*/
|
|
459
|
-
export type LoginChatbotRequest = {
|
|
460
|
-
chatbotId: string;
|
|
461
|
-
};
|
|
462
|
-
/**
|
|
463
|
-
* LoginChatbotResponse schema
|
|
464
|
-
*/
|
|
465
|
-
export type LoginChatbotResponse = {
|
|
466
|
-
chatbotId?: string;
|
|
467
|
-
currentStatus?: string;
|
|
468
|
-
message?: string;
|
|
469
|
-
success?: boolean;
|
|
470
|
-
workflowId?: string;
|
|
266
|
+
error?: string;
|
|
471
267
|
};
|
|
472
268
|
/**
|
|
473
|
-
*
|
|
269
|
+
* ListTasksReq schema
|
|
474
270
|
*/
|
|
475
|
-
export type
|
|
476
|
-
createdAt?: string;
|
|
477
|
-
/**
|
|
478
|
-
* string schema
|
|
479
|
-
*/
|
|
480
|
-
errorMessage?: string;
|
|
481
|
-
font?: number;
|
|
482
|
-
groupId?: number;
|
|
483
|
-
/**
|
|
484
|
-
* message id
|
|
485
|
-
*/
|
|
486
|
-
id: string;
|
|
487
|
-
message?: string;
|
|
488
|
-
messageId?: number;
|
|
489
|
-
/**
|
|
490
|
-
* string schema
|
|
491
|
-
*/
|
|
492
|
-
messageType?: string;
|
|
493
|
-
metadata?: string;
|
|
494
|
-
postType: string;
|
|
495
|
-
processed?: boolean;
|
|
496
|
-
/**
|
|
497
|
-
* string schema
|
|
498
|
-
*/
|
|
499
|
-
processedAt?: string;
|
|
500
|
-
rawData?: string;
|
|
501
|
-
/**
|
|
502
|
-
* string schema
|
|
503
|
-
*/
|
|
504
|
-
rawMessage?: string;
|
|
505
|
-
selfId: string;
|
|
506
|
-
/**
|
|
507
|
-
* string schema
|
|
508
|
-
*/
|
|
509
|
-
senderCard?: string;
|
|
510
|
-
/**
|
|
511
|
-
* string schema
|
|
512
|
-
*/
|
|
513
|
-
senderNickname?: string;
|
|
514
|
-
/**
|
|
515
|
-
* string schema
|
|
516
|
-
*/
|
|
517
|
-
senderRole?: string;
|
|
518
|
-
/**
|
|
519
|
-
* string schema
|
|
520
|
-
*/
|
|
521
|
-
subType?: string;
|
|
522
|
-
time?: number;
|
|
523
|
-
updatedAt?: string;
|
|
524
|
-
userId?: number;
|
|
525
|
-
};
|
|
271
|
+
export type ListTasksReq = unknown;
|
|
526
272
|
/**
|
|
527
273
|
* NapcatStatus schema
|
|
528
274
|
*/
|
|
@@ -535,920 +281,152 @@ export type NapcatStatus = {
|
|
|
535
281
|
webui_port?: number;
|
|
536
282
|
};
|
|
537
283
|
/**
|
|
538
|
-
*
|
|
539
|
-
*/
|
|
540
|
-
export type OperationMessage = {
|
|
541
|
-
message?: string;
|
|
542
|
-
};
|
|
543
|
-
/**
|
|
544
|
-
* OperationSuccess schema
|
|
545
|
-
*/
|
|
546
|
-
export type OperationSuccess = {
|
|
547
|
-
success?: boolean;
|
|
548
|
-
};
|
|
549
|
-
/**
|
|
550
|
-
* PAccountListData schema
|
|
551
|
-
*/
|
|
552
|
-
export type PAccountListData = {
|
|
553
|
-
accounts?: Array<{
|
|
554
|
-
config?: {
|
|
555
|
-
[key: string]: unknown;
|
|
556
|
-
};
|
|
557
|
-
createdAt?: string;
|
|
558
|
-
/**
|
|
559
|
-
* string schema
|
|
560
|
-
*/
|
|
561
|
-
description?: string;
|
|
562
|
-
enabled?: boolean;
|
|
563
|
-
/**
|
|
564
|
-
* string schema
|
|
565
|
-
*/
|
|
566
|
-
error?: string;
|
|
567
|
-
/**
|
|
568
|
-
* string schema
|
|
569
|
-
*/
|
|
570
|
-
icon?: string;
|
|
571
|
-
id?: string;
|
|
572
|
-
/**
|
|
573
|
-
* string schema
|
|
574
|
-
*/
|
|
575
|
-
name?: string;
|
|
576
|
-
platform?: {
|
|
577
|
-
/**
|
|
578
|
-
* string schema
|
|
579
|
-
*/
|
|
580
|
-
description?: string;
|
|
581
|
-
id?: string;
|
|
582
|
-
name?: string;
|
|
583
|
-
};
|
|
584
|
-
platformId?: string;
|
|
585
|
-
state?: {
|
|
586
|
-
[key: string]: unknown;
|
|
587
|
-
};
|
|
588
|
-
tags?: Array<string>;
|
|
589
|
-
updatedAt?: string;
|
|
590
|
-
}>;
|
|
591
|
-
limit?: number;
|
|
592
|
-
page?: number;
|
|
593
|
-
total?: number;
|
|
594
|
-
};
|
|
595
|
-
/**
|
|
596
|
-
* PAccountResponse schema
|
|
284
|
+
* QueryRequest schema
|
|
597
285
|
*/
|
|
598
|
-
export type
|
|
599
|
-
config?: {
|
|
600
|
-
[key: string]: unknown;
|
|
601
|
-
};
|
|
602
|
-
createdAt?: string;
|
|
603
|
-
/**
|
|
604
|
-
* string schema
|
|
605
|
-
*/
|
|
606
|
-
description?: string;
|
|
607
|
-
enabled?: boolean;
|
|
286
|
+
export type QueryRequest = {
|
|
608
287
|
/**
|
|
609
|
-
*
|
|
288
|
+
* The SQL query (or queries) to execute. Multiple statements can be separated by semicolons.
|
|
610
289
|
*/
|
|
611
|
-
|
|
612
|
-
/**
|
|
613
|
-
* string schema
|
|
614
|
-
*/
|
|
615
|
-
icon?: string;
|
|
616
|
-
id?: string;
|
|
617
|
-
/**
|
|
618
|
-
* string schema
|
|
619
|
-
*/
|
|
620
|
-
name?: string;
|
|
621
|
-
platform?: {
|
|
622
|
-
/**
|
|
623
|
-
* string schema
|
|
624
|
-
*/
|
|
625
|
-
description?: string;
|
|
626
|
-
id?: string;
|
|
627
|
-
name?: string;
|
|
628
|
-
};
|
|
629
|
-
platformId?: string;
|
|
630
|
-
state?: {
|
|
631
|
-
[key: string]: unknown;
|
|
632
|
-
};
|
|
633
|
-
tags?: Array<string>;
|
|
634
|
-
updatedAt?: string;
|
|
635
|
-
};
|
|
636
|
-
/**
|
|
637
|
-
* PAccountSession schema
|
|
638
|
-
*/
|
|
639
|
-
export type PAccountSession = {
|
|
640
|
-
createdAt?: string;
|
|
641
|
-
id?: string;
|
|
642
|
-
metadata?: {
|
|
643
|
-
[key: string]: unknown;
|
|
644
|
-
};
|
|
645
|
-
status?: string;
|
|
646
|
-
updatedAt?: string;
|
|
647
|
-
};
|
|
648
|
-
/**
|
|
649
|
-
* PlatformListData schema
|
|
650
|
-
*/
|
|
651
|
-
export type PlatformListData = {
|
|
652
|
-
limit?: number;
|
|
653
|
-
page?: number;
|
|
654
|
-
platforms?: Array<{
|
|
655
|
-
createdAt?: string;
|
|
656
|
-
description?: string;
|
|
657
|
-
id?: string;
|
|
658
|
-
loginUrl?: string;
|
|
659
|
-
name?: string;
|
|
660
|
-
tags?: Array<string>;
|
|
661
|
-
updatedAt?: string;
|
|
662
|
-
url?: string;
|
|
663
|
-
}>;
|
|
664
|
-
total?: number;
|
|
665
|
-
};
|
|
666
|
-
/**
|
|
667
|
-
* PlatformResponse schema
|
|
668
|
-
*/
|
|
669
|
-
export type PlatformResponse = {
|
|
670
|
-
createdAt?: string;
|
|
671
|
-
description?: string;
|
|
672
|
-
id?: string;
|
|
673
|
-
loginUrl?: string;
|
|
674
|
-
name?: string;
|
|
675
|
-
tags?: Array<string>;
|
|
676
|
-
updatedAt?: string;
|
|
677
|
-
url?: string;
|
|
678
|
-
};
|
|
679
|
-
/**
|
|
680
|
-
* PlatformTypeListResponse schema
|
|
681
|
-
*/
|
|
682
|
-
export type PlatformTypeListResponse = {
|
|
683
|
-
data?: Array<{
|
|
684
|
-
code?: string;
|
|
685
|
-
createdAt?: string;
|
|
686
|
-
enabled?: boolean;
|
|
687
|
-
id?: string;
|
|
688
|
-
name?: string;
|
|
689
|
-
updatedAt?: string;
|
|
690
|
-
}>;
|
|
691
|
-
limit?: number;
|
|
692
|
-
page?: number;
|
|
693
|
-
total?: number;
|
|
290
|
+
sql: string;
|
|
694
291
|
};
|
|
695
292
|
/**
|
|
696
|
-
*
|
|
293
|
+
* QueryResponse schema
|
|
697
294
|
*/
|
|
698
|
-
export type
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
workflowId?: string;
|
|
710
|
-
};
|
|
711
|
-
/**
|
|
712
|
-
* RunCodeReq schema
|
|
713
|
-
*/
|
|
714
|
-
export type RunCodeReq = {
|
|
715
|
-
/**
|
|
716
|
-
* 代码类型: python | browserjs
|
|
717
|
-
*/
|
|
718
|
-
codeType: string;
|
|
719
|
-
/**
|
|
720
|
-
* 代码正文
|
|
721
|
-
*/
|
|
722
|
-
content: string;
|
|
723
|
-
/**
|
|
724
|
-
* 注入到代码运行环境的上下文变量
|
|
725
|
-
*/
|
|
726
|
-
context?: {
|
|
727
|
-
[key: string]: unknown;
|
|
728
|
-
};
|
|
729
|
-
/**
|
|
730
|
-
* 运行超时时间(秒), 如果不填默认为60秒
|
|
731
|
-
*/
|
|
732
|
-
timeout?: number;
|
|
733
|
-
};
|
|
734
|
-
/**
|
|
735
|
-
* StartNapcatRequest schema
|
|
736
|
-
*/
|
|
737
|
-
export type StartNapcatRequest = {
|
|
738
|
-
config_dir?: string;
|
|
739
|
-
data_dir?: string;
|
|
740
|
-
napcat_port?: number;
|
|
741
|
-
qq_account?: string;
|
|
742
|
-
webui_port?: number;
|
|
743
|
-
};
|
|
744
|
-
/**
|
|
745
|
-
* TaskRunReq schema
|
|
746
|
-
*/
|
|
747
|
-
export type TaskRunReq = {
|
|
748
|
-
browserId?: string;
|
|
749
|
-
payload?: unknown;
|
|
750
|
-
taskId?: string;
|
|
751
|
-
type?: string;
|
|
752
|
-
};
|
|
753
|
-
/**
|
|
754
|
-
* TaskRunResp schema
|
|
755
|
-
*/
|
|
756
|
-
export type TaskRunResp = {
|
|
757
|
-
message?: string;
|
|
758
|
-
status?: string;
|
|
759
|
-
};
|
|
760
|
-
/**
|
|
761
|
-
* UpdatePAccountRequest schema
|
|
762
|
-
*/
|
|
763
|
-
export type UpdatePAccountRequest = {
|
|
764
|
-
config?: {
|
|
765
|
-
[key: string]: unknown;
|
|
766
|
-
};
|
|
767
|
-
/**
|
|
768
|
-
* string schema
|
|
769
|
-
*/
|
|
770
|
-
description?: string;
|
|
771
|
-
enabled?: boolean;
|
|
772
|
-
/**
|
|
773
|
-
* string schema
|
|
774
|
-
*/
|
|
775
|
-
icon?: string;
|
|
776
|
-
/**
|
|
777
|
-
* string schema
|
|
778
|
-
*/
|
|
779
|
-
name?: string;
|
|
780
|
-
platformId: string;
|
|
781
|
-
tags?: Array<string>;
|
|
782
|
-
};
|
|
783
|
-
/**
|
|
784
|
-
* UpdatePlatformRequest schema
|
|
785
|
-
*/
|
|
786
|
-
export type UpdatePlatformRequest = {
|
|
787
|
-
/**
|
|
788
|
-
* string schema
|
|
789
|
-
*/
|
|
790
|
-
description?: string;
|
|
791
|
-
/**
|
|
792
|
-
* string schema
|
|
793
|
-
*/
|
|
794
|
-
loginUrl?: string;
|
|
795
|
-
name: string;
|
|
796
|
-
tags?: Array<string>;
|
|
797
|
-
/**
|
|
798
|
-
* string schema
|
|
799
|
-
*/
|
|
800
|
-
url?: string;
|
|
801
|
-
};
|
|
802
|
-
/**
|
|
803
|
-
* UpdateSessionRequest schema
|
|
804
|
-
*/
|
|
805
|
-
export type UpdateSessionRequest = {
|
|
806
|
-
config?: {
|
|
807
|
-
[key: string]: unknown;
|
|
808
|
-
};
|
|
809
|
-
status?: string;
|
|
810
|
-
};
|
|
811
|
-
/**
|
|
812
|
-
* UserResponse schema
|
|
813
|
-
*/
|
|
814
|
-
export type UserResponse = {
|
|
815
|
-
/**
|
|
816
|
-
* string schema
|
|
817
|
-
*/
|
|
818
|
-
avatarUrl?: string;
|
|
819
|
-
email?: string;
|
|
820
|
-
hasPassword?: boolean;
|
|
821
|
-
/**
|
|
822
|
-
* string schema
|
|
823
|
-
*/
|
|
824
|
-
hashedEmail?: string;
|
|
825
|
-
id?: string;
|
|
826
|
-
/**
|
|
827
|
-
* string schema
|
|
828
|
-
*/
|
|
829
|
-
name?: string;
|
|
830
|
-
};
|
|
831
|
-
/**
|
|
832
|
-
* bool schema
|
|
833
|
-
*/
|
|
834
|
-
export type Bool = boolean;
|
|
835
|
-
/**
|
|
836
|
-
* string schema
|
|
837
|
-
*/
|
|
838
|
-
export type String = string;
|
|
839
|
-
/**
|
|
840
|
-
* unknown-interface schema
|
|
841
|
-
*/
|
|
842
|
-
export type UnknownInterface = unknown;
|
|
843
|
-
export type CodeRunData = {
|
|
844
|
-
/**
|
|
845
|
-
* Request body for code.RunCodeReq
|
|
846
|
-
*/
|
|
847
|
-
body: RunCodeReq;
|
|
848
|
-
headers?: {
|
|
849
|
-
Accept?: string;
|
|
850
|
-
};
|
|
851
|
-
path?: never;
|
|
852
|
-
query?: never;
|
|
853
|
-
url: '/api/code/run';
|
|
854
|
-
};
|
|
855
|
-
export type CodeRunErrors = {
|
|
856
|
-
/**
|
|
857
|
-
* Bad Request _(validation or deserialization error)_
|
|
858
|
-
*/
|
|
859
|
-
400: HttpError;
|
|
860
|
-
/**
|
|
861
|
-
* Internal Server Error _(panics)_
|
|
862
|
-
*/
|
|
863
|
-
500: HttpError;
|
|
864
|
-
default: unknown;
|
|
865
|
-
};
|
|
866
|
-
export type CodeRunError = CodeRunErrors[keyof CodeRunErrors];
|
|
867
|
-
export type CodeRunResponses = {
|
|
868
|
-
/**
|
|
869
|
-
* OK
|
|
870
|
-
*/
|
|
871
|
-
200: CodeRunResult;
|
|
872
|
-
};
|
|
873
|
-
export type CodeRunResponse = CodeRunResponses[keyof CodeRunResponses];
|
|
874
|
-
export type LangchatChatbotsListData = {
|
|
875
|
-
body?: never;
|
|
876
|
-
headers?: {
|
|
877
|
-
Accept?: string;
|
|
878
|
-
};
|
|
879
|
-
path?: never;
|
|
880
|
-
query?: never;
|
|
881
|
-
url: '/api/langchat/chatbots';
|
|
882
|
-
};
|
|
883
|
-
export type LangchatChatbotsListErrors = {
|
|
884
|
-
/**
|
|
885
|
-
* Bad Request _(validation or deserialization error)_
|
|
886
|
-
*/
|
|
887
|
-
400: HttpError;
|
|
888
|
-
/**
|
|
889
|
-
* Internal Server Error _(panics)_
|
|
890
|
-
*/
|
|
891
|
-
500: HttpError;
|
|
892
|
-
default: unknown;
|
|
893
|
-
};
|
|
894
|
-
export type LangchatChatbotsListError = LangchatChatbotsListErrors[keyof LangchatChatbotsListErrors];
|
|
895
|
-
export type LangchatChatbotsListResponses = {
|
|
896
|
-
/**
|
|
897
|
-
* OK
|
|
898
|
-
*/
|
|
899
|
-
200: ChatbotListResponse;
|
|
900
|
-
};
|
|
901
|
-
export type LangchatChatbotsListResponse = LangchatChatbotsListResponses[keyof LangchatChatbotsListResponses];
|
|
902
|
-
export type LangchatChatbotsUpsertData = {
|
|
903
|
-
/**
|
|
904
|
-
* Request body for langchat.ChatbotUpsertRequest
|
|
905
|
-
*/
|
|
906
|
-
body: ChatbotUpsertRequest;
|
|
907
|
-
headers?: {
|
|
908
|
-
Accept?: string;
|
|
909
|
-
};
|
|
910
|
-
path?: never;
|
|
911
|
-
query?: never;
|
|
912
|
-
url: '/api/langchat/chatbots';
|
|
913
|
-
};
|
|
914
|
-
export type LangchatChatbotsUpsertErrors = {
|
|
915
|
-
/**
|
|
916
|
-
* Bad Request _(validation or deserialization error)_
|
|
917
|
-
*/
|
|
918
|
-
400: HttpError;
|
|
919
|
-
/**
|
|
920
|
-
* Internal Server Error _(panics)_
|
|
921
|
-
*/
|
|
922
|
-
500: HttpError;
|
|
923
|
-
default: unknown;
|
|
924
|
-
};
|
|
925
|
-
export type LangchatChatbotsUpsertError = LangchatChatbotsUpsertErrors[keyof LangchatChatbotsUpsertErrors];
|
|
926
|
-
export type LangchatChatbotsUpsertResponses = {
|
|
927
|
-
/**
|
|
928
|
-
* OK
|
|
929
|
-
*/
|
|
930
|
-
200: ChatbotResponse;
|
|
931
|
-
};
|
|
932
|
-
export type LangchatChatbotsUpsertResponse = LangchatChatbotsUpsertResponses[keyof LangchatChatbotsUpsertResponses];
|
|
933
|
-
export type LangchatChatbotsLoginData = {
|
|
934
|
-
/**
|
|
935
|
-
* Request body for langchat.LoginChatbotRequest
|
|
936
|
-
*/
|
|
937
|
-
body: LoginChatbotRequest;
|
|
938
|
-
headers?: {
|
|
939
|
-
Accept?: string;
|
|
940
|
-
};
|
|
941
|
-
path?: never;
|
|
942
|
-
query?: never;
|
|
943
|
-
url: '/api/langchat/chatbots/login';
|
|
944
|
-
};
|
|
945
|
-
export type LangchatChatbotsLoginErrors = {
|
|
946
|
-
/**
|
|
947
|
-
* Bad Request _(validation or deserialization error)_
|
|
948
|
-
*/
|
|
949
|
-
400: HttpError;
|
|
950
|
-
/**
|
|
951
|
-
* Internal Server Error _(panics)_
|
|
952
|
-
*/
|
|
953
|
-
500: HttpError;
|
|
954
|
-
default: unknown;
|
|
955
|
-
};
|
|
956
|
-
export type LangchatChatbotsLoginError = LangchatChatbotsLoginErrors[keyof LangchatChatbotsLoginErrors];
|
|
957
|
-
export type LangchatChatbotsLoginResponses = {
|
|
958
|
-
/**
|
|
959
|
-
* OK
|
|
960
|
-
*/
|
|
961
|
-
200: LoginChatbotResponse;
|
|
962
|
-
};
|
|
963
|
-
export type LangchatChatbotsLoginResponse = LangchatChatbotsLoginResponses[keyof LangchatChatbotsLoginResponses];
|
|
964
|
-
export type LangchatChatbotsRunData = {
|
|
965
|
-
/**
|
|
966
|
-
* Request body for langchat.RunChatbotRequest
|
|
967
|
-
*/
|
|
968
|
-
body: RunChatbotRequest;
|
|
969
|
-
headers?: {
|
|
970
|
-
Accept?: string;
|
|
971
|
-
};
|
|
972
|
-
path?: never;
|
|
973
|
-
query?: never;
|
|
974
|
-
url: '/api/langchat/chatbots/run';
|
|
975
|
-
};
|
|
976
|
-
export type LangchatChatbotsRunErrors = {
|
|
977
|
-
/**
|
|
978
|
-
* Bad Request _(validation or deserialization error)_
|
|
979
|
-
*/
|
|
980
|
-
400: HttpError;
|
|
981
|
-
/**
|
|
982
|
-
* Internal Server Error _(panics)_
|
|
983
|
-
*/
|
|
984
|
-
500: HttpError;
|
|
985
|
-
default: unknown;
|
|
986
|
-
};
|
|
987
|
-
export type LangchatChatbotsRunError = LangchatChatbotsRunErrors[keyof LangchatChatbotsRunErrors];
|
|
988
|
-
export type LangchatChatbotsRunResponses = {
|
|
989
|
-
/**
|
|
990
|
-
* OK
|
|
991
|
-
*/
|
|
992
|
-
200: RunChatbotResponse;
|
|
993
|
-
};
|
|
994
|
-
export type LangchatChatbotsRunResponse = LangchatChatbotsRunResponses[keyof LangchatChatbotsRunResponses];
|
|
995
|
-
export type LangchatChatbotsDeleteData = {
|
|
996
|
-
body?: never;
|
|
997
|
-
headers?: {
|
|
998
|
-
Accept?: string;
|
|
999
|
-
};
|
|
1000
|
-
path: {
|
|
1001
|
-
chatbotId: string;
|
|
1002
|
-
};
|
|
1003
|
-
query?: never;
|
|
1004
|
-
url: '/api/langchat/chatbots/{chatbotId}';
|
|
1005
|
-
};
|
|
1006
|
-
export type LangchatChatbotsDeleteErrors = {
|
|
1007
|
-
/**
|
|
1008
|
-
* Bad Request _(validation or deserialization error)_
|
|
1009
|
-
*/
|
|
1010
|
-
400: HttpError;
|
|
1011
|
-
/**
|
|
1012
|
-
* Internal Server Error _(panics)_
|
|
1013
|
-
*/
|
|
1014
|
-
500: HttpError;
|
|
1015
|
-
default: unknown;
|
|
1016
|
-
};
|
|
1017
|
-
export type LangchatChatbotsDeleteError = LangchatChatbotsDeleteErrors[keyof LangchatChatbotsDeleteErrors];
|
|
1018
|
-
export type LangchatChatbotsDeleteResponses = {
|
|
1019
|
-
/**
|
|
1020
|
-
* OK
|
|
1021
|
-
*/
|
|
1022
|
-
200: String;
|
|
1023
|
-
};
|
|
1024
|
-
export type LangchatChatbotsDeleteResponse = LangchatChatbotsDeleteResponses[keyof LangchatChatbotsDeleteResponses];
|
|
1025
|
-
export type LangchatChatbotsGetData = {
|
|
1026
|
-
body?: never;
|
|
1027
|
-
headers?: {
|
|
1028
|
-
Accept?: string;
|
|
1029
|
-
};
|
|
1030
|
-
path: {
|
|
1031
|
-
chatbotId: string;
|
|
1032
|
-
};
|
|
1033
|
-
query?: never;
|
|
1034
|
-
url: '/api/langchat/chatbots/{chatbotId}';
|
|
1035
|
-
};
|
|
1036
|
-
export type LangchatChatbotsGetErrors = {
|
|
1037
|
-
/**
|
|
1038
|
-
* Bad Request _(validation or deserialization error)_
|
|
1039
|
-
*/
|
|
1040
|
-
400: HttpError;
|
|
1041
|
-
/**
|
|
1042
|
-
* Internal Server Error _(panics)_
|
|
1043
|
-
*/
|
|
1044
|
-
500: HttpError;
|
|
1045
|
-
default: unknown;
|
|
1046
|
-
};
|
|
1047
|
-
export type LangchatChatbotsGetError = LangchatChatbotsGetErrors[keyof LangchatChatbotsGetErrors];
|
|
1048
|
-
export type LangchatChatbotsGetResponses = {
|
|
1049
|
-
/**
|
|
1050
|
-
* OK
|
|
1051
|
-
*/
|
|
1052
|
-
200: ChatbotResponse;
|
|
1053
|
-
};
|
|
1054
|
-
export type LangchatChatbotsGetResponse = LangchatChatbotsGetResponses[keyof LangchatChatbotsGetResponses];
|
|
1055
|
-
export type LangchatChatbotsUpdateData = {
|
|
1056
|
-
/**
|
|
1057
|
-
* Request body for langchat.ChatbotUpsertRequest
|
|
1058
|
-
*/
|
|
1059
|
-
body: ChatbotUpsertRequest;
|
|
1060
|
-
headers?: {
|
|
1061
|
-
Accept?: string;
|
|
1062
|
-
};
|
|
1063
|
-
path: {
|
|
1064
|
-
chatbotId: string;
|
|
1065
|
-
};
|
|
1066
|
-
query?: never;
|
|
1067
|
-
url: '/api/langchat/chatbots/{chatbotId}';
|
|
1068
|
-
};
|
|
1069
|
-
export type LangchatChatbotsUpdateErrors = {
|
|
1070
|
-
/**
|
|
1071
|
-
* Bad Request _(validation or deserialization error)_
|
|
1072
|
-
*/
|
|
1073
|
-
400: HttpError;
|
|
1074
|
-
/**
|
|
1075
|
-
* Internal Server Error _(panics)_
|
|
1076
|
-
*/
|
|
1077
|
-
500: HttpError;
|
|
1078
|
-
default: unknown;
|
|
1079
|
-
};
|
|
1080
|
-
export type LangchatChatbotsUpdateError = LangchatChatbotsUpdateErrors[keyof LangchatChatbotsUpdateErrors];
|
|
1081
|
-
export type LangchatChatbotsUpdateResponses = {
|
|
1082
|
-
/**
|
|
1083
|
-
* OK
|
|
1084
|
-
*/
|
|
1085
|
-
200: ChatbotResponse;
|
|
1086
|
-
};
|
|
1087
|
-
export type LangchatChatbotsUpdateResponse = LangchatChatbotsUpdateResponses[keyof LangchatChatbotsUpdateResponses];
|
|
1088
|
-
export type LangchatPlatformTypesData = {
|
|
1089
|
-
body?: never;
|
|
1090
|
-
headers?: {
|
|
1091
|
-
Accept?: string;
|
|
1092
|
-
};
|
|
1093
|
-
path?: never;
|
|
1094
|
-
query?: never;
|
|
1095
|
-
url: '/api/langchat/platform-types';
|
|
1096
|
-
};
|
|
1097
|
-
export type LangchatPlatformTypesErrors = {
|
|
1098
|
-
/**
|
|
1099
|
-
* Bad Request _(validation or deserialization error)_
|
|
1100
|
-
*/
|
|
1101
|
-
400: HttpError;
|
|
1102
|
-
/**
|
|
1103
|
-
* Internal Server Error _(panics)_
|
|
1104
|
-
*/
|
|
1105
|
-
500: HttpError;
|
|
1106
|
-
default: unknown;
|
|
1107
|
-
};
|
|
1108
|
-
export type LangchatPlatformTypesError = LangchatPlatformTypesErrors[keyof LangchatPlatformTypesErrors];
|
|
1109
|
-
export type LangchatPlatformTypesResponses = {
|
|
1110
|
-
/**
|
|
1111
|
-
* OK
|
|
1112
|
-
*/
|
|
1113
|
-
200: PlatformTypeListResponse;
|
|
1114
|
-
};
|
|
1115
|
-
export type LangchatPlatformTypesResponse = LangchatPlatformTypesResponses[keyof LangchatPlatformTypesResponses];
|
|
1116
|
-
export type NapcatStartData = {
|
|
1117
|
-
/**
|
|
1118
|
-
* Request body for napcat.StartNapcatRequest
|
|
1119
|
-
*/
|
|
1120
|
-
body: StartNapcatRequest;
|
|
1121
|
-
headers?: {
|
|
1122
|
-
Accept?: string;
|
|
1123
|
-
};
|
|
1124
|
-
path?: never;
|
|
1125
|
-
query?: never;
|
|
1126
|
-
url: '/api/napcat/start';
|
|
1127
|
-
};
|
|
1128
|
-
export type NapcatStartErrors = {
|
|
1129
|
-
/**
|
|
1130
|
-
* Bad Request _(validation or deserialization error)_
|
|
1131
|
-
*/
|
|
1132
|
-
400: HttpError;
|
|
1133
|
-
/**
|
|
1134
|
-
* Internal Server Error _(panics)_
|
|
1135
|
-
*/
|
|
1136
|
-
500: HttpError;
|
|
1137
|
-
default: unknown;
|
|
1138
|
-
};
|
|
1139
|
-
export type NapcatStartError = NapcatStartErrors[keyof NapcatStartErrors];
|
|
1140
|
-
export type NapcatStartResponses = {
|
|
1141
|
-
/**
|
|
1142
|
-
* OK
|
|
1143
|
-
*/
|
|
1144
|
-
200: NapcatStatus;
|
|
1145
|
-
};
|
|
1146
|
-
export type NapcatStartResponse = NapcatStartResponses[keyof NapcatStartResponses];
|
|
1147
|
-
export type NapcatGetStatusData = {
|
|
1148
|
-
body?: never;
|
|
1149
|
-
headers?: {
|
|
1150
|
-
Accept?: string;
|
|
1151
|
-
};
|
|
1152
|
-
path?: never;
|
|
1153
|
-
query?: never;
|
|
1154
|
-
url: '/api/napcat/status';
|
|
1155
|
-
};
|
|
1156
|
-
export type NapcatGetStatusErrors = {
|
|
1157
|
-
/**
|
|
1158
|
-
* Bad Request _(validation or deserialization error)_
|
|
1159
|
-
*/
|
|
1160
|
-
400: HttpError;
|
|
1161
|
-
/**
|
|
1162
|
-
* Internal Server Error _(panics)_
|
|
1163
|
-
*/
|
|
1164
|
-
500: HttpError;
|
|
1165
|
-
default: unknown;
|
|
1166
|
-
};
|
|
1167
|
-
export type NapcatGetStatusError = NapcatGetStatusErrors[keyof NapcatGetStatusErrors];
|
|
1168
|
-
export type NapcatGetStatusResponses = {
|
|
1169
|
-
/**
|
|
1170
|
-
* OK
|
|
1171
|
-
*/
|
|
1172
|
-
200: NapcatStatus;
|
|
1173
|
-
};
|
|
1174
|
-
export type NapcatGetStatusResponse = NapcatGetStatusResponses[keyof NapcatGetStatusResponses];
|
|
1175
|
-
export type NapcatProxyOneBot11GetData = {
|
|
1176
|
-
body?: never;
|
|
1177
|
-
headers?: {
|
|
1178
|
-
Accept?: string;
|
|
1179
|
-
};
|
|
1180
|
-
path?: never;
|
|
1181
|
-
query?: never;
|
|
1182
|
-
url: '/api/onebot11/*';
|
|
1183
|
-
};
|
|
1184
|
-
export type NapcatProxyOneBot11GetErrors = {
|
|
1185
|
-
/**
|
|
1186
|
-
* Bad Request _(validation or deserialization error)_
|
|
1187
|
-
*/
|
|
1188
|
-
400: HttpError;
|
|
1189
|
-
/**
|
|
1190
|
-
* Internal Server Error _(panics)_
|
|
1191
|
-
*/
|
|
1192
|
-
500: HttpError;
|
|
1193
|
-
default: unknown;
|
|
1194
|
-
};
|
|
1195
|
-
export type NapcatProxyOneBot11GetError = NapcatProxyOneBot11GetErrors[keyof NapcatProxyOneBot11GetErrors];
|
|
1196
|
-
export type NapcatProxyOneBot11GetResponses = {
|
|
1197
|
-
/**
|
|
1198
|
-
* OK
|
|
1199
|
-
*/
|
|
1200
|
-
200: UnknownInterface;
|
|
1201
|
-
};
|
|
1202
|
-
export type NapcatProxyOneBot11GetResponse = NapcatProxyOneBot11GetResponses[keyof NapcatProxyOneBot11GetResponses];
|
|
1203
|
-
export type NapcatProxyOneBot11PostData = {
|
|
1204
|
-
body?: never;
|
|
1205
|
-
headers?: {
|
|
1206
|
-
Accept?: string;
|
|
1207
|
-
};
|
|
1208
|
-
path?: never;
|
|
1209
|
-
query?: never;
|
|
1210
|
-
url: '/api/onebot11/*';
|
|
1211
|
-
};
|
|
1212
|
-
export type NapcatProxyOneBot11PostErrors = {
|
|
1213
|
-
/**
|
|
1214
|
-
* Bad Request _(validation or deserialization error)_
|
|
1215
|
-
*/
|
|
1216
|
-
400: HttpError;
|
|
1217
|
-
/**
|
|
1218
|
-
* Internal Server Error _(panics)_
|
|
1219
|
-
*/
|
|
1220
|
-
500: HttpError;
|
|
1221
|
-
default: unknown;
|
|
1222
|
-
};
|
|
1223
|
-
export type NapcatProxyOneBot11PostError = NapcatProxyOneBot11PostErrors[keyof NapcatProxyOneBot11PostErrors];
|
|
1224
|
-
export type NapcatProxyOneBot11PostResponses = {
|
|
1225
|
-
/**
|
|
1226
|
-
* OK
|
|
1227
|
-
*/
|
|
1228
|
-
200: UnknownInterface;
|
|
1229
|
-
};
|
|
1230
|
-
export type NapcatProxyOneBot11PostResponse = NapcatProxyOneBot11PostResponses[keyof NapcatProxyOneBot11PostResponses];
|
|
1231
|
-
export type LangchatChatbotsMessagesListData = {
|
|
1232
|
-
body?: never;
|
|
1233
|
-
headers?: {
|
|
1234
|
-
Accept?: string;
|
|
1235
|
-
};
|
|
1236
|
-
path?: never;
|
|
1237
|
-
query?: {
|
|
1238
|
-
/**
|
|
1239
|
-
* Filter by self ID
|
|
1240
|
-
*/
|
|
1241
|
-
selfId?: string;
|
|
1242
|
-
/**
|
|
1243
|
-
* Filter by post type (message, meta_event, etc.)
|
|
1244
|
-
*/
|
|
1245
|
-
postType?: string;
|
|
1246
|
-
/**
|
|
1247
|
-
* Filter by message type (private, group)
|
|
1248
|
-
*/
|
|
1249
|
-
messageType?: string;
|
|
1250
|
-
/**
|
|
1251
|
-
* Filter by user ID
|
|
1252
|
-
*/
|
|
1253
|
-
userId?: number;
|
|
1254
|
-
/**
|
|
1255
|
-
* Filter by group ID
|
|
1256
|
-
*/
|
|
1257
|
-
groupId?: number;
|
|
1258
|
-
/**
|
|
1259
|
-
* Filter by processed status
|
|
1260
|
-
*/
|
|
1261
|
-
processed?: boolean;
|
|
1262
|
-
/**
|
|
1263
|
-
* Search in message content and sender nickname
|
|
1264
|
-
*/
|
|
1265
|
-
search?: string;
|
|
1266
|
-
/**
|
|
1267
|
-
* Page number
|
|
1268
|
-
*/
|
|
1269
|
-
page?: number;
|
|
1270
|
-
/**
|
|
1271
|
-
* Items per page
|
|
1272
|
-
*/
|
|
1273
|
-
limit?: number;
|
|
1274
|
-
/**
|
|
1275
|
-
* Order by field
|
|
1276
|
-
*/
|
|
1277
|
-
orderBy?: string;
|
|
1278
|
-
/**
|
|
1279
|
-
* Order descending
|
|
1280
|
-
*/
|
|
1281
|
-
orderDesc?: boolean;
|
|
1282
|
-
};
|
|
1283
|
-
url: '/api/onebot11/messages';
|
|
1284
|
-
};
|
|
1285
|
-
export type LangchatChatbotsMessagesListErrors = {
|
|
1286
|
-
/**
|
|
1287
|
-
* Bad Request _(validation or deserialization error)_
|
|
1288
|
-
*/
|
|
1289
|
-
400: HttpError;
|
|
1290
|
-
/**
|
|
1291
|
-
* Internal Server Error _(panics)_
|
|
1292
|
-
*/
|
|
1293
|
-
500: HttpError;
|
|
1294
|
-
default: unknown;
|
|
1295
|
-
};
|
|
1296
|
-
export type LangchatChatbotsMessagesListError = LangchatChatbotsMessagesListErrors[keyof LangchatChatbotsMessagesListErrors];
|
|
1297
|
-
export type LangchatChatbotsMessagesListResponses = {
|
|
1298
|
-
/**
|
|
1299
|
-
* OK
|
|
1300
|
-
*/
|
|
1301
|
-
200: ListMessagesResponse;
|
|
1302
|
-
};
|
|
1303
|
-
export type LangchatChatbotsMessagesListResponse = LangchatChatbotsMessagesListResponses[keyof LangchatChatbotsMessagesListResponses];
|
|
1304
|
-
export type LangchatChatbotsMessagesGetData = {
|
|
1305
|
-
body?: never;
|
|
1306
|
-
headers?: {
|
|
1307
|
-
Accept?: string;
|
|
1308
|
-
};
|
|
1309
|
-
path: {
|
|
1310
|
-
id: string;
|
|
1311
|
-
};
|
|
1312
|
-
query?: never;
|
|
1313
|
-
url: '/api/onebot11/messages/{id}';
|
|
1314
|
-
};
|
|
1315
|
-
export type LangchatChatbotsMessagesGetErrors = {
|
|
1316
|
-
/**
|
|
1317
|
-
* Bad Request _(validation or deserialization error)_
|
|
1318
|
-
*/
|
|
1319
|
-
400: HttpError;
|
|
1320
|
-
/**
|
|
1321
|
-
* Internal Server Error _(panics)_
|
|
1322
|
-
*/
|
|
1323
|
-
500: HttpError;
|
|
1324
|
-
default: unknown;
|
|
295
|
+
export type QueryResponse = {
|
|
296
|
+
error?: string;
|
|
297
|
+
results?: Array<{
|
|
298
|
+
error?: string;
|
|
299
|
+
message?: string;
|
|
300
|
+
rows?: Array<{
|
|
301
|
+
[key: string]: unknown;
|
|
302
|
+
}>;
|
|
303
|
+
sql?: string;
|
|
304
|
+
status?: string;
|
|
305
|
+
}>;
|
|
1325
306
|
};
|
|
1326
|
-
|
|
1327
|
-
|
|
307
|
+
/**
|
|
308
|
+
* ReadFilesRequest schema
|
|
309
|
+
*/
|
|
310
|
+
export type ReadFilesRequest = {
|
|
1328
311
|
/**
|
|
1329
|
-
*
|
|
312
|
+
* List of file paths or glob patterns
|
|
1330
313
|
*/
|
|
1331
|
-
|
|
314
|
+
paths: Array<string>;
|
|
1332
315
|
};
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
*/
|
|
1344
|
-
selfId?: string;
|
|
1345
|
-
/**
|
|
1346
|
-
* Filter by session type
|
|
1347
|
-
*/
|
|
1348
|
-
sessionType?: string;
|
|
1349
|
-
/**
|
|
1350
|
-
* Filter by active status
|
|
1351
|
-
*/
|
|
1352
|
-
isActive?: boolean;
|
|
1353
|
-
/**
|
|
1354
|
-
* Page number
|
|
1355
|
-
*/
|
|
1356
|
-
page?: number;
|
|
1357
|
-
/**
|
|
1358
|
-
* Items per page
|
|
1359
|
-
*/
|
|
1360
|
-
limit?: number;
|
|
1361
|
-
};
|
|
1362
|
-
url: '/api/onebot11/sessions';
|
|
316
|
+
/**
|
|
317
|
+
* ReadFilesResponse schema
|
|
318
|
+
*/
|
|
319
|
+
export type ReadFilesResponse = {
|
|
320
|
+
results?: Array<{
|
|
321
|
+
content?: string;
|
|
322
|
+
error?: string;
|
|
323
|
+
file_path?: string;
|
|
324
|
+
}>;
|
|
325
|
+
summary?: string;
|
|
1363
326
|
};
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
400: HttpError;
|
|
327
|
+
/**
|
|
328
|
+
* RemoveComputeNodeReq schema
|
|
329
|
+
*/
|
|
330
|
+
export type RemoveComputeNodeReq = {
|
|
1369
331
|
/**
|
|
1370
|
-
*
|
|
332
|
+
* ID of the compute node to remove
|
|
1371
333
|
*/
|
|
1372
|
-
|
|
1373
|
-
default: unknown;
|
|
334
|
+
id?: string;
|
|
1374
335
|
};
|
|
1375
|
-
|
|
1376
|
-
|
|
336
|
+
/**
|
|
337
|
+
* RunCodeReq schema
|
|
338
|
+
*/
|
|
339
|
+
export type RunCodeReq = {
|
|
1377
340
|
/**
|
|
1378
|
-
*
|
|
341
|
+
* 代码类型: python | browserjs
|
|
1379
342
|
*/
|
|
1380
|
-
|
|
1381
|
-
};
|
|
1382
|
-
export type LangchatChatbotsSessionsListResponse = LangchatChatbotsSessionsListResponses[keyof LangchatChatbotsSessionsListResponses];
|
|
1383
|
-
export type PAccountListData2 = {
|
|
1384
|
-
body?: never;
|
|
1385
|
-
headers?: {
|
|
1386
|
-
Accept?: string;
|
|
1387
|
-
};
|
|
1388
|
-
path?: never;
|
|
1389
|
-
query?: never;
|
|
1390
|
-
url: '/api/paccounts';
|
|
1391
|
-
};
|
|
1392
|
-
export type PAccountListErrors = {
|
|
343
|
+
codeType: string;
|
|
1393
344
|
/**
|
|
1394
|
-
*
|
|
345
|
+
* 代码正文
|
|
1395
346
|
*/
|
|
1396
|
-
|
|
347
|
+
content: string;
|
|
1397
348
|
/**
|
|
1398
|
-
*
|
|
349
|
+
* 注入到代码运行环境的上下文变量
|
|
1399
350
|
*/
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
};
|
|
1403
|
-
export type PAccountListError = PAccountListErrors[keyof PAccountListErrors];
|
|
1404
|
-
export type PAccountListResponses = {
|
|
351
|
+
context?: {
|
|
352
|
+
[key: string]: unknown;
|
|
353
|
+
};
|
|
1405
354
|
/**
|
|
1406
|
-
*
|
|
355
|
+
* 运行超时时间(秒), 如果不填默认为60秒
|
|
1407
356
|
*/
|
|
1408
|
-
|
|
357
|
+
timeout?: number;
|
|
1409
358
|
};
|
|
1410
|
-
|
|
1411
|
-
|
|
359
|
+
/**
|
|
360
|
+
* SearchFilesRequest schema
|
|
361
|
+
*/
|
|
362
|
+
export type SearchFilesRequest = {
|
|
1412
363
|
/**
|
|
1413
|
-
*
|
|
364
|
+
* File pattern to include e.g. *.go
|
|
1414
365
|
*/
|
|
1415
|
-
|
|
1416
|
-
headers?: {
|
|
1417
|
-
Accept?: string;
|
|
1418
|
-
};
|
|
1419
|
-
path?: never;
|
|
1420
|
-
query?: never;
|
|
1421
|
-
url: '/api/paccounts';
|
|
1422
|
-
};
|
|
1423
|
-
export type PAccountCreateErrors = {
|
|
366
|
+
glob?: string;
|
|
1424
367
|
/**
|
|
1425
|
-
*
|
|
368
|
+
* Directory to search in
|
|
1426
369
|
*/
|
|
1427
|
-
|
|
370
|
+
path?: string;
|
|
1428
371
|
/**
|
|
1429
|
-
*
|
|
372
|
+
* Regex pattern to search
|
|
1430
373
|
*/
|
|
1431
|
-
|
|
1432
|
-
|
|
374
|
+
pattern: string;
|
|
375
|
+
};
|
|
376
|
+
/**
|
|
377
|
+
* SearchFilesResponse schema
|
|
378
|
+
*/
|
|
379
|
+
export type SearchFilesResponse = {
|
|
380
|
+
error?: string;
|
|
381
|
+
matches?: Array<string>;
|
|
382
|
+
};
|
|
383
|
+
/**
|
|
384
|
+
* StartNapcatRequest schema
|
|
385
|
+
*/
|
|
386
|
+
export type StartNapcatRequest = {
|
|
387
|
+
config_dir?: string;
|
|
388
|
+
data_dir?: string;
|
|
389
|
+
napcat_port?: number;
|
|
390
|
+
qq_account?: string;
|
|
391
|
+
webui_port?: number;
|
|
392
|
+
};
|
|
393
|
+
/**
|
|
394
|
+
* TaskRunReq schema
|
|
395
|
+
*/
|
|
396
|
+
export type TaskRunReq = {
|
|
397
|
+
browserId?: string;
|
|
398
|
+
payload?: unknown;
|
|
399
|
+
taskId?: string;
|
|
400
|
+
type?: string;
|
|
401
|
+
};
|
|
402
|
+
/**
|
|
403
|
+
* TaskRunResp schema
|
|
404
|
+
*/
|
|
405
|
+
export type TaskRunResp = {
|
|
406
|
+
message?: string;
|
|
407
|
+
status?: string;
|
|
1433
408
|
};
|
|
1434
|
-
|
|
1435
|
-
|
|
409
|
+
/**
|
|
410
|
+
* string schema
|
|
411
|
+
*/
|
|
412
|
+
export type String = string;
|
|
413
|
+
/**
|
|
414
|
+
* unknown-interface schema
|
|
415
|
+
*/
|
|
416
|
+
export type UnknownInterface = unknown;
|
|
417
|
+
export type AgentRunData = {
|
|
1436
418
|
/**
|
|
1437
|
-
*
|
|
419
|
+
* Request body for agent.AgentRunReq
|
|
1438
420
|
*/
|
|
1439
|
-
|
|
1440
|
-
};
|
|
1441
|
-
export type PAccountCreateResponse = PAccountCreateResponses[keyof PAccountCreateResponses];
|
|
1442
|
-
export type PAccountExportData = {
|
|
1443
|
-
body?: never;
|
|
421
|
+
body: AgentRunReq;
|
|
1444
422
|
headers?: {
|
|
1445
423
|
Accept?: string;
|
|
1446
424
|
};
|
|
1447
425
|
path?: never;
|
|
1448
426
|
query?: never;
|
|
1449
|
-
url: '/api/
|
|
427
|
+
url: '/api/agent/run';
|
|
1450
428
|
};
|
|
1451
|
-
export type
|
|
429
|
+
export type AgentRunErrors = {
|
|
1452
430
|
/**
|
|
1453
431
|
* Bad Request _(validation or deserialization error)_
|
|
1454
432
|
*/
|
|
@@ -1459,27 +437,27 @@ export type PAccountExportErrors = {
|
|
|
1459
437
|
500: HttpError;
|
|
1460
438
|
default: unknown;
|
|
1461
439
|
};
|
|
1462
|
-
export type
|
|
1463
|
-
export type
|
|
440
|
+
export type AgentRunError = AgentRunErrors[keyof AgentRunErrors];
|
|
441
|
+
export type AgentRunResponses = {
|
|
1464
442
|
/**
|
|
1465
443
|
* OK
|
|
1466
444
|
*/
|
|
1467
|
-
200:
|
|
445
|
+
200: AgentRunResp;
|
|
1468
446
|
};
|
|
1469
|
-
export type
|
|
1470
|
-
export type
|
|
447
|
+
export type AgentRunResponse = AgentRunResponses[keyof AgentRunResponses];
|
|
448
|
+
export type BrowserActionData = {
|
|
1471
449
|
/**
|
|
1472
|
-
* Request body for
|
|
450
|
+
* Request body for browser.BrowserActionReq
|
|
1473
451
|
*/
|
|
1474
|
-
body:
|
|
452
|
+
body: BrowserActionReq;
|
|
1475
453
|
headers?: {
|
|
1476
454
|
Accept?: string;
|
|
1477
455
|
};
|
|
1478
456
|
path?: never;
|
|
1479
457
|
query?: never;
|
|
1480
|
-
url: '/api/
|
|
458
|
+
url: '/api/browser/action';
|
|
1481
459
|
};
|
|
1482
|
-
export type
|
|
460
|
+
export type BrowserActionErrors = {
|
|
1483
461
|
/**
|
|
1484
462
|
* Bad Request _(validation or deserialization error)_
|
|
1485
463
|
*/
|
|
@@ -1490,56 +468,27 @@ export type PAccountImportErrors = {
|
|
|
1490
468
|
500: HttpError;
|
|
1491
469
|
default: unknown;
|
|
1492
470
|
};
|
|
1493
|
-
export type
|
|
1494
|
-
export type
|
|
471
|
+
export type BrowserActionError = BrowserActionErrors[keyof BrowserActionErrors];
|
|
472
|
+
export type BrowserActionResponses = {
|
|
1495
473
|
/**
|
|
1496
474
|
* OK
|
|
1497
475
|
*/
|
|
1498
|
-
200:
|
|
1499
|
-
};
|
|
1500
|
-
export type PAccountImportResponse = PAccountImportResponses[keyof PAccountImportResponses];
|
|
1501
|
-
export type PAccountDeleteData = {
|
|
1502
|
-
body?: never;
|
|
1503
|
-
headers?: {
|
|
1504
|
-
Accept?: string;
|
|
1505
|
-
};
|
|
1506
|
-
path: {
|
|
1507
|
-
accountId: string;
|
|
1508
|
-
};
|
|
1509
|
-
query?: never;
|
|
1510
|
-
url: '/api/paccounts/{accountId}';
|
|
1511
|
-
};
|
|
1512
|
-
export type PAccountDeleteErrors = {
|
|
1513
|
-
/**
|
|
1514
|
-
* Bad Request _(validation or deserialization error)_
|
|
1515
|
-
*/
|
|
1516
|
-
400: HttpError;
|
|
1517
|
-
/**
|
|
1518
|
-
* Internal Server Error _(panics)_
|
|
1519
|
-
*/
|
|
1520
|
-
500: HttpError;
|
|
1521
|
-
default: unknown;
|
|
476
|
+
200: String;
|
|
1522
477
|
};
|
|
1523
|
-
export type
|
|
1524
|
-
export type
|
|
478
|
+
export type BrowserActionResponse = BrowserActionResponses[keyof BrowserActionResponses];
|
|
479
|
+
export type BrowserOpenData = {
|
|
1525
480
|
/**
|
|
1526
|
-
*
|
|
481
|
+
* Request body for browser.BrowserOpenReq
|
|
1527
482
|
*/
|
|
1528
|
-
|
|
1529
|
-
};
|
|
1530
|
-
export type PAccountDeleteResponse = PAccountDeleteResponses[keyof PAccountDeleteResponses];
|
|
1531
|
-
export type PAccountGetData = {
|
|
1532
|
-
body?: never;
|
|
483
|
+
body: BrowserOpenReq;
|
|
1533
484
|
headers?: {
|
|
1534
485
|
Accept?: string;
|
|
1535
486
|
};
|
|
1536
|
-
path
|
|
1537
|
-
accountId: string;
|
|
1538
|
-
};
|
|
487
|
+
path?: never;
|
|
1539
488
|
query?: never;
|
|
1540
|
-
url: '/api/
|
|
489
|
+
url: '/api/browser/open';
|
|
1541
490
|
};
|
|
1542
|
-
export type
|
|
491
|
+
export type BrowserOpenErrors = {
|
|
1543
492
|
/**
|
|
1544
493
|
* Bad Request _(validation or deserialization error)_
|
|
1545
494
|
*/
|
|
@@ -1550,29 +499,27 @@ export type PAccountGetErrors = {
|
|
|
1550
499
|
500: HttpError;
|
|
1551
500
|
default: unknown;
|
|
1552
501
|
};
|
|
1553
|
-
export type
|
|
1554
|
-
export type
|
|
502
|
+
export type BrowserOpenError = BrowserOpenErrors[keyof BrowserOpenErrors];
|
|
503
|
+
export type BrowserOpenResponses = {
|
|
1555
504
|
/**
|
|
1556
505
|
* OK
|
|
1557
506
|
*/
|
|
1558
|
-
200:
|
|
507
|
+
200: BrowserOpenResp;
|
|
1559
508
|
};
|
|
1560
|
-
export type
|
|
1561
|
-
export type
|
|
509
|
+
export type BrowserOpenResponse = BrowserOpenResponses[keyof BrowserOpenResponses];
|
|
510
|
+
export type CoddingToolEditFileData = {
|
|
1562
511
|
/**
|
|
1563
|
-
* Request body for
|
|
512
|
+
* Request body for coddingtool.EditFileRequest
|
|
1564
513
|
*/
|
|
1565
|
-
body:
|
|
514
|
+
body: EditFileRequest;
|
|
1566
515
|
headers?: {
|
|
1567
516
|
Accept?: string;
|
|
1568
517
|
};
|
|
1569
|
-
path
|
|
1570
|
-
accountId: string;
|
|
1571
|
-
};
|
|
518
|
+
path?: never;
|
|
1572
519
|
query?: never;
|
|
1573
|
-
url: '/api/
|
|
520
|
+
url: '/api/codding_tool/edit_file';
|
|
1574
521
|
};
|
|
1575
|
-
export type
|
|
522
|
+
export type CoddingToolEditFileErrors = {
|
|
1576
523
|
/**
|
|
1577
524
|
* Bad Request _(validation or deserialization error)_
|
|
1578
525
|
*/
|
|
@@ -1583,26 +530,27 @@ export type PAccountUpdateErrors = {
|
|
|
1583
530
|
500: HttpError;
|
|
1584
531
|
default: unknown;
|
|
1585
532
|
};
|
|
1586
|
-
export type
|
|
1587
|
-
export type
|
|
533
|
+
export type CoddingToolEditFileError = CoddingToolEditFileErrors[keyof CoddingToolEditFileErrors];
|
|
534
|
+
export type CoddingToolEditFileResponses = {
|
|
1588
535
|
/**
|
|
1589
536
|
* OK
|
|
1590
537
|
*/
|
|
1591
|
-
200:
|
|
538
|
+
200: EditFileResponse;
|
|
1592
539
|
};
|
|
1593
|
-
export type
|
|
1594
|
-
export type
|
|
1595
|
-
|
|
540
|
+
export type CoddingToolEditFileResponse = CoddingToolEditFileResponses[keyof CoddingToolEditFileResponses];
|
|
541
|
+
export type CoddingToolListDirData = {
|
|
542
|
+
/**
|
|
543
|
+
* Request body for coddingtool.ListDirRequest
|
|
544
|
+
*/
|
|
545
|
+
body: ListDirRequest;
|
|
1596
546
|
headers?: {
|
|
1597
547
|
Accept?: string;
|
|
1598
548
|
};
|
|
1599
|
-
path
|
|
1600
|
-
accountId: string;
|
|
1601
|
-
};
|
|
549
|
+
path?: never;
|
|
1602
550
|
query?: never;
|
|
1603
|
-
url: '/api/
|
|
551
|
+
url: '/api/codding_tool/list_dir';
|
|
1604
552
|
};
|
|
1605
|
-
export type
|
|
553
|
+
export type CoddingToolListDirErrors = {
|
|
1606
554
|
/**
|
|
1607
555
|
* Bad Request _(validation or deserialization error)_
|
|
1608
556
|
*/
|
|
@@ -1613,29 +561,27 @@ export type PAccountListBrowserConfigsErrors = {
|
|
|
1613
561
|
500: HttpError;
|
|
1614
562
|
default: unknown;
|
|
1615
563
|
};
|
|
1616
|
-
export type
|
|
1617
|
-
export type
|
|
564
|
+
export type CoddingToolListDirError = CoddingToolListDirErrors[keyof CoddingToolListDirErrors];
|
|
565
|
+
export type CoddingToolListDirResponses = {
|
|
1618
566
|
/**
|
|
1619
567
|
* OK
|
|
1620
568
|
*/
|
|
1621
|
-
200:
|
|
569
|
+
200: ListDirResponse;
|
|
1622
570
|
};
|
|
1623
|
-
export type
|
|
1624
|
-
export type
|
|
571
|
+
export type CoddingToolListDirResponse = CoddingToolListDirResponses[keyof CoddingToolListDirResponses];
|
|
572
|
+
export type CoddingToolReadFilesData = {
|
|
1625
573
|
/**
|
|
1626
|
-
* Request body for
|
|
574
|
+
* Request body for coddingtool.ReadFilesRequest
|
|
1627
575
|
*/
|
|
1628
|
-
body:
|
|
576
|
+
body: ReadFilesRequest;
|
|
1629
577
|
headers?: {
|
|
1630
578
|
Accept?: string;
|
|
1631
579
|
};
|
|
1632
|
-
path
|
|
1633
|
-
accountId: string;
|
|
1634
|
-
};
|
|
580
|
+
path?: never;
|
|
1635
581
|
query?: never;
|
|
1636
|
-
url: '/api/
|
|
582
|
+
url: '/api/codding_tool/read_files';
|
|
1637
583
|
};
|
|
1638
|
-
export type
|
|
584
|
+
export type CoddingToolReadFilesErrors = {
|
|
1639
585
|
/**
|
|
1640
586
|
* Bad Request _(validation or deserialization error)_
|
|
1641
587
|
*/
|
|
@@ -1646,26 +592,27 @@ export type PAccountCreateBrowserConfigErrors = {
|
|
|
1646
592
|
500: HttpError;
|
|
1647
593
|
default: unknown;
|
|
1648
594
|
};
|
|
1649
|
-
export type
|
|
1650
|
-
export type
|
|
595
|
+
export type CoddingToolReadFilesError = CoddingToolReadFilesErrors[keyof CoddingToolReadFilesErrors];
|
|
596
|
+
export type CoddingToolReadFilesResponses = {
|
|
1651
597
|
/**
|
|
1652
598
|
* OK
|
|
1653
599
|
*/
|
|
1654
|
-
200:
|
|
600
|
+
200: ReadFilesResponse;
|
|
1655
601
|
};
|
|
1656
|
-
export type
|
|
1657
|
-
export type
|
|
1658
|
-
|
|
602
|
+
export type CoddingToolReadFilesResponse = CoddingToolReadFilesResponses[keyof CoddingToolReadFilesResponses];
|
|
603
|
+
export type CoddingToolSearchFilesData = {
|
|
604
|
+
/**
|
|
605
|
+
* Request body for coddingtool.SearchFilesRequest
|
|
606
|
+
*/
|
|
607
|
+
body: SearchFilesRequest;
|
|
1659
608
|
headers?: {
|
|
1660
609
|
Accept?: string;
|
|
1661
610
|
};
|
|
1662
|
-
path
|
|
1663
|
-
accountId: string;
|
|
1664
|
-
};
|
|
611
|
+
path?: never;
|
|
1665
612
|
query?: never;
|
|
1666
|
-
url: '/api/
|
|
613
|
+
url: '/api/codding_tool/search_files';
|
|
1667
614
|
};
|
|
1668
|
-
export type
|
|
615
|
+
export type CoddingToolSearchFilesErrors = {
|
|
1669
616
|
/**
|
|
1670
617
|
* Bad Request _(validation or deserialization error)_
|
|
1671
618
|
*/
|
|
@@ -1676,26 +623,27 @@ export type PAccountLaunchBrowserErrors = {
|
|
|
1676
623
|
500: HttpError;
|
|
1677
624
|
default: unknown;
|
|
1678
625
|
};
|
|
1679
|
-
export type
|
|
1680
|
-
export type
|
|
626
|
+
export type CoddingToolSearchFilesError = CoddingToolSearchFilesErrors[keyof CoddingToolSearchFilesErrors];
|
|
627
|
+
export type CoddingToolSearchFilesResponses = {
|
|
1681
628
|
/**
|
|
1682
629
|
* OK
|
|
1683
630
|
*/
|
|
1684
|
-
200:
|
|
631
|
+
200: SearchFilesResponse;
|
|
1685
632
|
};
|
|
1686
|
-
export type
|
|
1687
|
-
export type
|
|
1688
|
-
|
|
633
|
+
export type CoddingToolSearchFilesResponse = CoddingToolSearchFilesResponses[keyof CoddingToolSearchFilesResponses];
|
|
634
|
+
export type CodeRunData = {
|
|
635
|
+
/**
|
|
636
|
+
* Request body for code.RunCodeReq
|
|
637
|
+
*/
|
|
638
|
+
body: RunCodeReq;
|
|
1689
639
|
headers?: {
|
|
1690
640
|
Accept?: string;
|
|
1691
641
|
};
|
|
1692
|
-
path
|
|
1693
|
-
accountId: string;
|
|
1694
|
-
};
|
|
642
|
+
path?: never;
|
|
1695
643
|
query?: never;
|
|
1696
|
-
url: '/api/
|
|
644
|
+
url: '/api/code/run';
|
|
1697
645
|
};
|
|
1698
|
-
export type
|
|
646
|
+
export type CodeRunErrors = {
|
|
1699
647
|
/**
|
|
1700
648
|
* Bad Request _(validation or deserialization error)_
|
|
1701
649
|
*/
|
|
@@ -1706,29 +654,27 @@ export type PAccountListSessionsErrors = {
|
|
|
1706
654
|
500: HttpError;
|
|
1707
655
|
default: unknown;
|
|
1708
656
|
};
|
|
1709
|
-
export type
|
|
1710
|
-
export type
|
|
657
|
+
export type CodeRunError = CodeRunErrors[keyof CodeRunErrors];
|
|
658
|
+
export type CodeRunResponses = {
|
|
1711
659
|
/**
|
|
1712
660
|
* OK
|
|
1713
661
|
*/
|
|
1714
|
-
200:
|
|
662
|
+
200: CodeRunResult;
|
|
1715
663
|
};
|
|
1716
|
-
export type
|
|
1717
|
-
export type
|
|
664
|
+
export type CodeRunResponse = CodeRunResponses[keyof CodeRunResponses];
|
|
665
|
+
export type ComputeAddNodeData = {
|
|
1718
666
|
/**
|
|
1719
|
-
* Request body for
|
|
667
|
+
* Request body for compute.AddComputeNodeReq
|
|
1720
668
|
*/
|
|
1721
|
-
body:
|
|
669
|
+
body: AddComputeNodeReq;
|
|
1722
670
|
headers?: {
|
|
1723
671
|
Accept?: string;
|
|
1724
672
|
};
|
|
1725
|
-
path
|
|
1726
|
-
accountId: string;
|
|
1727
|
-
};
|
|
673
|
+
path?: never;
|
|
1728
674
|
query?: never;
|
|
1729
|
-
url: '/api/
|
|
675
|
+
url: '/api/compute/nodes/add';
|
|
1730
676
|
};
|
|
1731
|
-
export type
|
|
677
|
+
export type ComputeAddNodeErrors = {
|
|
1732
678
|
/**
|
|
1733
679
|
* Bad Request _(validation or deserialization error)_
|
|
1734
680
|
*/
|
|
@@ -1739,27 +685,27 @@ export type PAccountCreateSessionErrors = {
|
|
|
1739
685
|
500: HttpError;
|
|
1740
686
|
default: unknown;
|
|
1741
687
|
};
|
|
1742
|
-
export type
|
|
1743
|
-
export type
|
|
688
|
+
export type ComputeAddNodeError = ComputeAddNodeErrors[keyof ComputeAddNodeErrors];
|
|
689
|
+
export type ComputeAddNodeResponses = {
|
|
1744
690
|
/**
|
|
1745
691
|
* OK
|
|
1746
692
|
*/
|
|
1747
|
-
200:
|
|
693
|
+
200: UnknownInterface;
|
|
1748
694
|
};
|
|
1749
|
-
export type
|
|
1750
|
-
export type
|
|
1751
|
-
|
|
695
|
+
export type ComputeAddNodeResponse = ComputeAddNodeResponses[keyof ComputeAddNodeResponses];
|
|
696
|
+
export type ComputeListNodesData = {
|
|
697
|
+
/**
|
|
698
|
+
* Request body for compute.ListComputeNodesReq
|
|
699
|
+
*/
|
|
700
|
+
body: ListComputeNodesReq;
|
|
1752
701
|
headers?: {
|
|
1753
702
|
Accept?: string;
|
|
1754
703
|
};
|
|
1755
|
-
path
|
|
1756
|
-
accountId: string;
|
|
1757
|
-
sessionId: string;
|
|
1758
|
-
};
|
|
704
|
+
path?: never;
|
|
1759
705
|
query?: never;
|
|
1760
|
-
url: '/api/
|
|
706
|
+
url: '/api/compute/nodes/list';
|
|
1761
707
|
};
|
|
1762
|
-
export type
|
|
708
|
+
export type ComputeListNodesErrors = {
|
|
1763
709
|
/**
|
|
1764
710
|
* Bad Request _(validation or deserialization error)_
|
|
1765
711
|
*/
|
|
@@ -1770,27 +716,27 @@ export type PAccountDeleteSessionErrors = {
|
|
|
1770
716
|
500: HttpError;
|
|
1771
717
|
default: unknown;
|
|
1772
718
|
};
|
|
1773
|
-
export type
|
|
1774
|
-
export type
|
|
719
|
+
export type ComputeListNodesError = ComputeListNodesErrors[keyof ComputeListNodesErrors];
|
|
720
|
+
export type ComputeListNodesResponses = {
|
|
1775
721
|
/**
|
|
1776
722
|
* OK
|
|
1777
723
|
*/
|
|
1778
|
-
200:
|
|
724
|
+
200: UnknownInterface;
|
|
1779
725
|
};
|
|
1780
|
-
export type
|
|
1781
|
-
export type
|
|
1782
|
-
|
|
726
|
+
export type ComputeListNodesResponse = ComputeListNodesResponses[keyof ComputeListNodesResponses];
|
|
727
|
+
export type ComputeRemoveNodeData = {
|
|
728
|
+
/**
|
|
729
|
+
* Request body for compute.RemoveComputeNodeReq
|
|
730
|
+
*/
|
|
731
|
+
body: RemoveComputeNodeReq;
|
|
1783
732
|
headers?: {
|
|
1784
733
|
Accept?: string;
|
|
1785
734
|
};
|
|
1786
|
-
path
|
|
1787
|
-
accountId: string;
|
|
1788
|
-
sessionId: string;
|
|
1789
|
-
};
|
|
735
|
+
path?: never;
|
|
1790
736
|
query?: never;
|
|
1791
|
-
url: '/api/
|
|
737
|
+
url: '/api/compute/nodes/remove';
|
|
1792
738
|
};
|
|
1793
|
-
export type
|
|
739
|
+
export type ComputeRemoveNodeErrors = {
|
|
1794
740
|
/**
|
|
1795
741
|
* Bad Request _(validation or deserialization error)_
|
|
1796
742
|
*/
|
|
@@ -1801,30 +747,27 @@ export type PAccountGetSessionErrors = {
|
|
|
1801
747
|
500: HttpError;
|
|
1802
748
|
default: unknown;
|
|
1803
749
|
};
|
|
1804
|
-
export type
|
|
1805
|
-
export type
|
|
750
|
+
export type ComputeRemoveNodeError = ComputeRemoveNodeErrors[keyof ComputeRemoveNodeErrors];
|
|
751
|
+
export type ComputeRemoveNodeResponses = {
|
|
1806
752
|
/**
|
|
1807
753
|
* OK
|
|
1808
754
|
*/
|
|
1809
|
-
200:
|
|
755
|
+
200: UnknownInterface;
|
|
1810
756
|
};
|
|
1811
|
-
export type
|
|
1812
|
-
export type
|
|
757
|
+
export type ComputeRemoveNodeResponse = ComputeRemoveNodeResponses[keyof ComputeRemoveNodeResponses];
|
|
758
|
+
export type DbQueryExecuteQueryData = {
|
|
1813
759
|
/**
|
|
1814
|
-
* Request body for
|
|
760
|
+
* Request body for dbquery.QueryRequest
|
|
1815
761
|
*/
|
|
1816
|
-
body:
|
|
762
|
+
body: QueryRequest;
|
|
1817
763
|
headers?: {
|
|
1818
764
|
Accept?: string;
|
|
1819
765
|
};
|
|
1820
|
-
path
|
|
1821
|
-
accountId: string;
|
|
1822
|
-
sessionId: string;
|
|
1823
|
-
};
|
|
766
|
+
path?: never;
|
|
1824
767
|
query?: never;
|
|
1825
|
-
url: '/api/
|
|
768
|
+
url: '/api/db_query/query';
|
|
1826
769
|
};
|
|
1827
|
-
export type
|
|
770
|
+
export type DbQueryExecuteQueryErrors = {
|
|
1828
771
|
/**
|
|
1829
772
|
* Bad Request _(validation or deserialization error)_
|
|
1830
773
|
*/
|
|
@@ -1835,24 +778,27 @@ export type PAccountUpdateSessionErrors = {
|
|
|
1835
778
|
500: HttpError;
|
|
1836
779
|
default: unknown;
|
|
1837
780
|
};
|
|
1838
|
-
export type
|
|
1839
|
-
export type
|
|
781
|
+
export type DbQueryExecuteQueryError = DbQueryExecuteQueryErrors[keyof DbQueryExecuteQueryErrors];
|
|
782
|
+
export type DbQueryExecuteQueryResponses = {
|
|
1840
783
|
/**
|
|
1841
784
|
* OK
|
|
1842
785
|
*/
|
|
1843
|
-
200:
|
|
786
|
+
200: QueryResponse;
|
|
1844
787
|
};
|
|
1845
|
-
export type
|
|
1846
|
-
export type
|
|
1847
|
-
|
|
788
|
+
export type DbQueryExecuteQueryResponse = DbQueryExecuteQueryResponses[keyof DbQueryExecuteQueryResponses];
|
|
789
|
+
export type HumanRequestActionData = {
|
|
790
|
+
/**
|
|
791
|
+
* Request body for human.HumanActionReq
|
|
792
|
+
*/
|
|
793
|
+
body: HumanActionReq;
|
|
1848
794
|
headers?: {
|
|
1849
795
|
Accept?: string;
|
|
1850
796
|
};
|
|
1851
797
|
path?: never;
|
|
1852
798
|
query?: never;
|
|
1853
|
-
url: '/api/
|
|
799
|
+
url: '/api/human/action';
|
|
1854
800
|
};
|
|
1855
|
-
export type
|
|
801
|
+
export type HumanRequestActionErrors = {
|
|
1856
802
|
/**
|
|
1857
803
|
* Bad Request _(validation or deserialization error)_
|
|
1858
804
|
*/
|
|
@@ -1863,27 +809,27 @@ export type PlatformListErrors = {
|
|
|
1863
809
|
500: HttpError;
|
|
1864
810
|
default: unknown;
|
|
1865
811
|
};
|
|
1866
|
-
export type
|
|
1867
|
-
export type
|
|
812
|
+
export type HumanRequestActionError = HumanRequestActionErrors[keyof HumanRequestActionErrors];
|
|
813
|
+
export type HumanRequestActionResponses = {
|
|
1868
814
|
/**
|
|
1869
815
|
* OK
|
|
1870
816
|
*/
|
|
1871
|
-
200:
|
|
817
|
+
200: HumanActionResp;
|
|
1872
818
|
};
|
|
1873
|
-
export type
|
|
1874
|
-
export type
|
|
819
|
+
export type HumanRequestActionResponse = HumanRequestActionResponses[keyof HumanRequestActionResponses];
|
|
820
|
+
export type NapcatStartData = {
|
|
1875
821
|
/**
|
|
1876
|
-
* Request body for
|
|
822
|
+
* Request body for napcat.StartNapcatRequest
|
|
1877
823
|
*/
|
|
1878
|
-
body:
|
|
824
|
+
body: StartNapcatRequest;
|
|
1879
825
|
headers?: {
|
|
1880
826
|
Accept?: string;
|
|
1881
827
|
};
|
|
1882
828
|
path?: never;
|
|
1883
829
|
query?: never;
|
|
1884
|
-
url: '/api/
|
|
830
|
+
url: '/api/napcat/start';
|
|
1885
831
|
};
|
|
1886
|
-
export type
|
|
832
|
+
export type NapcatStartErrors = {
|
|
1887
833
|
/**
|
|
1888
834
|
* Bad Request _(validation or deserialization error)_
|
|
1889
835
|
*/
|
|
@@ -1894,24 +840,24 @@ export type PlatformCreateErrors = {
|
|
|
1894
840
|
500: HttpError;
|
|
1895
841
|
default: unknown;
|
|
1896
842
|
};
|
|
1897
|
-
export type
|
|
1898
|
-
export type
|
|
843
|
+
export type NapcatStartError = NapcatStartErrors[keyof NapcatStartErrors];
|
|
844
|
+
export type NapcatStartResponses = {
|
|
1899
845
|
/**
|
|
1900
846
|
* OK
|
|
1901
847
|
*/
|
|
1902
|
-
200:
|
|
848
|
+
200: NapcatStatus;
|
|
1903
849
|
};
|
|
1904
|
-
export type
|
|
1905
|
-
export type
|
|
850
|
+
export type NapcatStartResponse = NapcatStartResponses[keyof NapcatStartResponses];
|
|
851
|
+
export type NapcatGetStatusData = {
|
|
1906
852
|
body?: never;
|
|
1907
853
|
headers?: {
|
|
1908
854
|
Accept?: string;
|
|
1909
855
|
};
|
|
1910
856
|
path?: never;
|
|
1911
857
|
query?: never;
|
|
1912
|
-
url: '/api/
|
|
858
|
+
url: '/api/napcat/status';
|
|
1913
859
|
};
|
|
1914
|
-
export type
|
|
860
|
+
export type NapcatGetStatusErrors = {
|
|
1915
861
|
/**
|
|
1916
862
|
* Bad Request _(validation or deserialization error)_
|
|
1917
863
|
*/
|
|
@@ -1922,27 +868,24 @@ export type PlatformExportErrors = {
|
|
|
1922
868
|
500: HttpError;
|
|
1923
869
|
default: unknown;
|
|
1924
870
|
};
|
|
1925
|
-
export type
|
|
1926
|
-
export type
|
|
871
|
+
export type NapcatGetStatusError = NapcatGetStatusErrors[keyof NapcatGetStatusErrors];
|
|
872
|
+
export type NapcatGetStatusResponses = {
|
|
1927
873
|
/**
|
|
1928
874
|
* OK
|
|
1929
875
|
*/
|
|
1930
|
-
200:
|
|
876
|
+
200: NapcatStatus;
|
|
1931
877
|
};
|
|
1932
|
-
export type
|
|
1933
|
-
export type
|
|
1934
|
-
|
|
1935
|
-
* Request body for platform.ImportPlatformsRequest
|
|
1936
|
-
*/
|
|
1937
|
-
body: ImportPlatformsRequest;
|
|
878
|
+
export type NapcatGetStatusResponse = NapcatGetStatusResponses[keyof NapcatGetStatusResponses];
|
|
879
|
+
export type NapcatProxyOneBot11GetData = {
|
|
880
|
+
body?: never;
|
|
1938
881
|
headers?: {
|
|
1939
882
|
Accept?: string;
|
|
1940
883
|
};
|
|
1941
884
|
path?: never;
|
|
1942
885
|
query?: never;
|
|
1943
|
-
url: '/api/
|
|
886
|
+
url: '/api/onebot11/*';
|
|
1944
887
|
};
|
|
1945
|
-
export type
|
|
888
|
+
export type NapcatProxyOneBot11GetErrors = {
|
|
1946
889
|
/**
|
|
1947
890
|
* Bad Request _(validation or deserialization error)_
|
|
1948
891
|
*/
|
|
@@ -1953,26 +896,24 @@ export type PlatformImportErrors = {
|
|
|
1953
896
|
500: HttpError;
|
|
1954
897
|
default: unknown;
|
|
1955
898
|
};
|
|
1956
|
-
export type
|
|
1957
|
-
export type
|
|
899
|
+
export type NapcatProxyOneBot11GetError = NapcatProxyOneBot11GetErrors[keyof NapcatProxyOneBot11GetErrors];
|
|
900
|
+
export type NapcatProxyOneBot11GetResponses = {
|
|
1958
901
|
/**
|
|
1959
902
|
* OK
|
|
1960
903
|
*/
|
|
1961
|
-
200:
|
|
904
|
+
200: UnknownInterface;
|
|
1962
905
|
};
|
|
1963
|
-
export type
|
|
1964
|
-
export type
|
|
906
|
+
export type NapcatProxyOneBot11GetResponse = NapcatProxyOneBot11GetResponses[keyof NapcatProxyOneBot11GetResponses];
|
|
907
|
+
export type NapcatProxyOneBot11PostData = {
|
|
1965
908
|
body?: never;
|
|
1966
909
|
headers?: {
|
|
1967
910
|
Accept?: string;
|
|
1968
911
|
};
|
|
1969
|
-
path
|
|
1970
|
-
platformId: string;
|
|
1971
|
-
};
|
|
912
|
+
path?: never;
|
|
1972
913
|
query?: never;
|
|
1973
|
-
url: '/api/
|
|
914
|
+
url: '/api/onebot11/*';
|
|
1974
915
|
};
|
|
1975
|
-
export type
|
|
916
|
+
export type NapcatProxyOneBot11PostErrors = {
|
|
1976
917
|
/**
|
|
1977
918
|
* Bad Request _(validation or deserialization error)_
|
|
1978
919
|
*/
|
|
@@ -1983,26 +924,27 @@ export type PlatformDeleteErrors = {
|
|
|
1983
924
|
500: HttpError;
|
|
1984
925
|
default: unknown;
|
|
1985
926
|
};
|
|
1986
|
-
export type
|
|
1987
|
-
export type
|
|
927
|
+
export type NapcatProxyOneBot11PostError = NapcatProxyOneBot11PostErrors[keyof NapcatProxyOneBot11PostErrors];
|
|
928
|
+
export type NapcatProxyOneBot11PostResponses = {
|
|
1988
929
|
/**
|
|
1989
930
|
* OK
|
|
1990
931
|
*/
|
|
1991
|
-
200:
|
|
932
|
+
200: UnknownInterface;
|
|
1992
933
|
};
|
|
1993
|
-
export type
|
|
1994
|
-
export type
|
|
1995
|
-
|
|
934
|
+
export type NapcatProxyOneBot11PostResponse = NapcatProxyOneBot11PostResponses[keyof NapcatProxyOneBot11PostResponses];
|
|
935
|
+
export type SandboxEnsureData = {
|
|
936
|
+
/**
|
|
937
|
+
* Request body for sandbox.EnsureSandboxReq
|
|
938
|
+
*/
|
|
939
|
+
body: EnsureSandboxReq;
|
|
1996
940
|
headers?: {
|
|
1997
941
|
Accept?: string;
|
|
1998
942
|
};
|
|
1999
|
-
path
|
|
2000
|
-
platformId: string;
|
|
2001
|
-
};
|
|
943
|
+
path?: never;
|
|
2002
944
|
query?: never;
|
|
2003
|
-
url: '/api/
|
|
945
|
+
url: '/api/sandbox/ensure';
|
|
2004
946
|
};
|
|
2005
|
-
export type
|
|
947
|
+
export type SandboxEnsureErrors = {
|
|
2006
948
|
/**
|
|
2007
949
|
* Bad Request _(validation or deserialization error)_
|
|
2008
950
|
*/
|
|
@@ -2013,29 +955,27 @@ export type PlatformGetErrors = {
|
|
|
2013
955
|
500: HttpError;
|
|
2014
956
|
default: unknown;
|
|
2015
957
|
};
|
|
2016
|
-
export type
|
|
2017
|
-
export type
|
|
958
|
+
export type SandboxEnsureError = SandboxEnsureErrors[keyof SandboxEnsureErrors];
|
|
959
|
+
export type SandboxEnsureResponses = {
|
|
2018
960
|
/**
|
|
2019
961
|
* OK
|
|
2020
962
|
*/
|
|
2021
|
-
200:
|
|
963
|
+
200: EnsureSandboxResp;
|
|
2022
964
|
};
|
|
2023
|
-
export type
|
|
2024
|
-
export type
|
|
965
|
+
export type SandboxEnsureResponse = SandboxEnsureResponses[keyof SandboxEnsureResponses];
|
|
966
|
+
export type SandboxListTasksData = {
|
|
2025
967
|
/**
|
|
2026
|
-
* Request body for
|
|
968
|
+
* Request body for sandbox.ListTasksReq
|
|
2027
969
|
*/
|
|
2028
|
-
body:
|
|
970
|
+
body: ListTasksReq;
|
|
2029
971
|
headers?: {
|
|
2030
972
|
Accept?: string;
|
|
2031
973
|
};
|
|
2032
|
-
path
|
|
2033
|
-
platformId: string;
|
|
2034
|
-
};
|
|
974
|
+
path?: never;
|
|
2035
975
|
query?: never;
|
|
2036
|
-
url: '/api/
|
|
976
|
+
url: '/api/sandbox/tasks';
|
|
2037
977
|
};
|
|
2038
|
-
export type
|
|
978
|
+
export type SandboxListTasksErrors = {
|
|
2039
979
|
/**
|
|
2040
980
|
* Bad Request _(validation or deserialization error)_
|
|
2041
981
|
*/
|
|
@@ -2046,14 +986,14 @@ export type PlatformUpdateErrors = {
|
|
|
2046
986
|
500: HttpError;
|
|
2047
987
|
default: unknown;
|
|
2048
988
|
};
|
|
2049
|
-
export type
|
|
2050
|
-
export type
|
|
989
|
+
export type SandboxListTasksError = SandboxListTasksErrors[keyof SandboxListTasksErrors];
|
|
990
|
+
export type SandboxListTasksResponses = {
|
|
2051
991
|
/**
|
|
2052
992
|
* OK
|
|
2053
993
|
*/
|
|
2054
|
-
200:
|
|
994
|
+
200: UnknownInterface;
|
|
2055
995
|
};
|
|
2056
|
-
export type
|
|
996
|
+
export type SandboxListTasksResponse = SandboxListTasksResponses[keyof SandboxListTasksResponses];
|
|
2057
997
|
export type TaskRunData = {
|
|
2058
998
|
/**
|
|
2059
999
|
* Request body for task.TaskRunReq
|
|
@@ -2085,34 +1025,6 @@ export type TaskRunResponses = {
|
|
|
2085
1025
|
200: TaskRunResp;
|
|
2086
1026
|
};
|
|
2087
1027
|
export type TaskRunResponse = TaskRunResponses[keyof TaskRunResponses];
|
|
2088
|
-
export type UserGetCurrentData = {
|
|
2089
|
-
body?: never;
|
|
2090
|
-
headers?: {
|
|
2091
|
-
Accept?: string;
|
|
2092
|
-
};
|
|
2093
|
-
path?: never;
|
|
2094
|
-
query?: never;
|
|
2095
|
-
url: '/api/users/current';
|
|
2096
|
-
};
|
|
2097
|
-
export type UserGetCurrentErrors = {
|
|
2098
|
-
/**
|
|
2099
|
-
* Bad Request _(validation or deserialization error)_
|
|
2100
|
-
*/
|
|
2101
|
-
400: HttpError;
|
|
2102
|
-
/**
|
|
2103
|
-
* Internal Server Error _(panics)_
|
|
2104
|
-
*/
|
|
2105
|
-
500: HttpError;
|
|
2106
|
-
default: unknown;
|
|
2107
|
-
};
|
|
2108
|
-
export type UserGetCurrentError = UserGetCurrentErrors[keyof UserGetCurrentErrors];
|
|
2109
|
-
export type UserGetCurrentResponses = {
|
|
2110
|
-
/**
|
|
2111
|
-
* OK
|
|
2112
|
-
*/
|
|
2113
|
-
200: UserResponse;
|
|
2114
|
-
};
|
|
2115
|
-
export type UserGetCurrentResponse = UserGetCurrentResponses[keyof UserGetCurrentResponses];
|
|
2116
1028
|
export type NapcatProxyWebUigetData = {
|
|
2117
1029
|
body?: never;
|
|
2118
1030
|
headers?: {
|