mtmsdk 0.0.14 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gomtmapi/zod.gen.d.ts +17 -17
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts +61 -0
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.js +61 -0
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.js.map +1 -1
- package/dist/gomtmapi_v2/client/index.d.ts +1 -0
- package/dist/gomtmapi_v2/client/index.d.ts.map +1 -1
- package/dist/gomtmapi_v2/client/index.js +1 -0
- package/dist/gomtmapi_v2/client/index.js.map +1 -1
- package/dist/gomtmapi_v2/client/utils.gen.d.ts +1 -1
- package/dist/gomtmapi_v2/client/utils.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/client/utils.gen.js +7 -6
- package/dist/gomtmapi_v2/client/utils.gen.js.map +1 -1
- package/dist/gomtmapi_v2/core/bodySerializer.gen.d.ts +12 -4
- package/dist/gomtmapi_v2/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/core/bodySerializer.gen.js.map +1 -1
- package/dist/gomtmapi_v2/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/gomtmapi_v2/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/gomtmapi_v2/core/queryKeySerializer.gen.js +100 -0
- package/dist/gomtmapi_v2/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/gomtmapi_v2/sdk.gen.d.ts +59 -0
- package/dist/gomtmapi_v2/sdk.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/sdk.gen.js +59 -0
- package/dist/gomtmapi_v2/sdk.gen.js.map +1 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts +983 -929
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.js +876 -387
- package/dist/mtgate_api/@tanstack/react-query.gen.js.map +1 -1
- package/dist/mtgate_api/client/index.d.ts +1 -0
- package/dist/mtgate_api/client/index.d.ts.map +1 -1
- package/dist/mtgate_api/client/index.js +1 -0
- package/dist/mtgate_api/client/index.js.map +1 -1
- package/dist/mtgate_api/client/utils.gen.d.ts +1 -1
- package/dist/mtgate_api/client/utils.gen.d.ts.map +1 -1
- package/dist/mtgate_api/client/utils.gen.js +7 -6
- package/dist/mtgate_api/client/utils.gen.js.map +1 -1
- package/dist/mtgate_api/core/bodySerializer.gen.d.ts +12 -4
- package/dist/mtgate_api/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/mtgate_api/core/bodySerializer.gen.js.map +1 -1
- package/dist/mtgate_api/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/mtgate_api/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/mtgate_api/core/queryKeySerializer.gen.js +100 -0
- package/dist/mtgate_api/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/mtgate_api/schemas.gen.d.ts +2258 -483
- package/dist/mtgate_api/schemas.gen.d.ts.map +1 -1
- package/dist/mtgate_api/schemas.gen.js +2344 -492
- package/dist/mtgate_api/schemas.gen.js.map +1 -1
- package/dist/mtgate_api/sdk.gen.d.ts +94 -26
- package/dist/mtgate_api/sdk.gen.d.ts.map +1 -1
- package/dist/mtgate_api/sdk.gen.js +554 -100
- package/dist/mtgate_api/sdk.gen.js.map +1 -1
- package/dist/mtgate_api/types.gen.d.ts +3608 -1167
- package/dist/mtgate_api/types.gen.d.ts.map +1 -1
- package/dist/mtgate_api/types.gen.js +3 -0
- package/dist/mtgate_api/types.gen.js.map +1 -1
- package/dist/mtgate_api/zod.gen.d.ts +4374 -1328
- package/dist/mtgate_api/zod.gen.d.ts.map +1 -1
- package/dist/mtgate_api/zod.gen.js +2078 -629
- package/dist/mtgate_api/zod.gen.js.map +1 -1
- package/dist/mtmai_api/@tanstack/react-query.gen.d.ts +23 -0
- package/dist/mtmai_api/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/mtmai_api/@tanstack/react-query.gen.js +23 -0
- package/dist/mtmai_api/@tanstack/react-query.gen.js.map +1 -1
- package/dist/mtmai_api/client/index.d.ts +1 -0
- package/dist/mtmai_api/client/index.d.ts.map +1 -1
- package/dist/mtmai_api/client/index.js +1 -0
- package/dist/mtmai_api/client/index.js.map +1 -1
- package/dist/mtmai_api/client/utils.gen.d.ts +1 -1
- package/dist/mtmai_api/client/utils.gen.d.ts.map +1 -1
- package/dist/mtmai_api/client/utils.gen.js +7 -6
- package/dist/mtmai_api/client/utils.gen.js.map +1 -1
- package/dist/mtmai_api/core/bodySerializer.gen.d.ts +12 -4
- package/dist/mtmai_api/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/mtmai_api/core/bodySerializer.gen.js.map +1 -1
- package/dist/mtmai_api/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/mtmai_api/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/mtmai_api/core/queryKeySerializer.gen.js +100 -0
- package/dist/mtmai_api/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/mtmai_api/sdk.gen.d.ts +23 -0
- package/dist/mtmai_api/sdk.gen.d.ts.map +1 -1
- package/dist/mtmai_api/sdk.gen.js +23 -0
- package/dist/mtmai_api/sdk.gen.js.map +1 -1
- package/dist/mtmai_api/types.gen.d.ts +552 -0
- package/dist/mtmai_api/types.gen.d.ts.map +1 -1
- package/dist/mtmai_api/types.gen.js +19 -0
- package/dist/mtmai_api/types.gen.js.map +1 -1
- package/dist/mtmai_api/zod.gen.d.ts +18866 -18674
- package/dist/mtmai_api/zod.gen.d.ts.map +1 -1
- package/dist/mtmai_api/zod.gen.js +1826 -1634
- package/dist/mtmai_api/zod.gen.js.map +1 -1
- package/package.json +28 -5
- package/dist/components/MustAdmin.d.ts +0 -14
- package/dist/components/MustAdmin.d.ts.map +0 -1
- package/dist/components/MustAdmin.js +0 -37
- package/dist/components/MustAdmin.js.map +0 -1
- package/dist/lib/adk-utils.d.ts +0 -19
- package/dist/lib/adk-utils.d.ts.map +0 -1
- package/dist/lib/adk-utils.js +0 -50
- package/dist/lib/adk-utils.js.map +0 -1
- package/dist/lib/auth-client.d.ts +0 -5965
- package/dist/lib/auth-client.d.ts.map +0 -1
- package/dist/lib/auth-client.js +0 -29
- package/dist/lib/auth-client.js.map +0 -1
- package/dist/lib/get-query-client.d.ts +0 -3
- package/dist/lib/get-query-client.d.ts.map +0 -1
- package/dist/lib/get-query-client.js +0 -23
- package/dist/lib/get-query-client.js.map +0 -1
- package/dist/lib/mtgate_client_ss.d.ts +0 -10
- package/dist/lib/mtgate_client_ss.d.ts.map +0 -1
- package/dist/lib/mtgate_client_ss.js +0 -24
- package/dist/lib/mtgate_client_ss.js.map +0 -1
- package/dist/store/AuthProviders.d.ts +0 -8
- package/dist/store/AuthProviders.d.ts.map +0 -1
- package/dist/store/AuthProviders.js +0 -34
- package/dist/store/AuthProviders.js.map +0 -1
- package/dist/store/GomtmProvider.d.ts +0 -10
- package/dist/store/GomtmProvider.d.ts.map +0 -1
- package/dist/store/GomtmProvider.js +0 -24
- package/dist/store/GomtmProvider.js.map +0 -1
- package/dist/store/GomtmV1Provider.d.ts +0 -10
- package/dist/store/GomtmV1Provider.d.ts.map +0 -1
- package/dist/store/GomtmV1Provider.js +0 -24
- package/dist/store/GomtmV1Provider.js.map +0 -1
- package/dist/store/MtgateProvider.d.ts +0 -6015
- package/dist/store/MtgateProvider.d.ts.map +0 -1
- package/dist/store/MtgateProvider.js +0 -76
- package/dist/store/MtgateProvider.js.map +0 -1
- package/dist/store/MtmsdkProvider.d.ts +0 -16
- package/dist/store/MtmsdkProvider.d.ts.map +0 -1
- package/dist/store/MtmsdkProvider.js +0 -47
- package/dist/store/MtmsdkProvider.js.map +0 -1
- package/dist/store/ReactQueryMtmaiApiProvider.d.ts +0 -10
- package/dist/store/ReactQueryMtmaiApiProvider.d.ts.map +0 -1
- package/dist/store/ReactQueryMtmaiApiProvider.js +0 -23
- package/dist/store/ReactQueryMtmaiApiProvider.js.map +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const PgAgentSchema: {
|
|
2
|
+
readonly description: "PgAgent";
|
|
2
3
|
readonly type: "object";
|
|
3
4
|
readonly properties: {
|
|
4
5
|
readonly id: {
|
|
@@ -6,15 +7,18 @@ export declare const AgentSchema: {
|
|
|
6
7
|
};
|
|
7
8
|
readonly createdAt: {
|
|
8
9
|
readonly type: "string";
|
|
9
|
-
readonly format: "date";
|
|
10
|
+
readonly format: "date-time";
|
|
11
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
10
12
|
};
|
|
11
13
|
readonly updatedAt: {
|
|
12
14
|
readonly type: "string";
|
|
13
|
-
readonly format: "date";
|
|
15
|
+
readonly format: "date-time";
|
|
16
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
14
17
|
};
|
|
15
18
|
readonly deletedAt: {
|
|
16
19
|
readonly type: "string";
|
|
17
|
-
readonly format: "date";
|
|
20
|
+
readonly format: "date-time";
|
|
21
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
18
22
|
};
|
|
19
23
|
readonly organizationId: {
|
|
20
24
|
readonly type: "string";
|
|
@@ -22,6 +26,9 @@ export declare const AgentSchema: {
|
|
|
22
26
|
readonly name: {
|
|
23
27
|
readonly type: "string";
|
|
24
28
|
};
|
|
29
|
+
readonly agentType: {
|
|
30
|
+
readonly type: "string";
|
|
31
|
+
};
|
|
25
32
|
readonly description: {
|
|
26
33
|
readonly type: "string";
|
|
27
34
|
};
|
|
@@ -30,26 +37,38 @@ export declare const AgentSchema: {
|
|
|
30
37
|
};
|
|
31
38
|
readonly config: {
|
|
32
39
|
readonly type: "object";
|
|
33
|
-
readonly
|
|
34
|
-
readonly
|
|
40
|
+
readonly propertyNames: {
|
|
41
|
+
readonly type: "string";
|
|
35
42
|
};
|
|
43
|
+
readonly additionalProperties: {};
|
|
36
44
|
};
|
|
37
45
|
readonly state: {
|
|
38
46
|
readonly type: "object";
|
|
47
|
+
readonly propertyNames: {
|
|
48
|
+
readonly type: "string";
|
|
49
|
+
};
|
|
50
|
+
readonly additionalProperties: {};
|
|
51
|
+
};
|
|
52
|
+
readonly envs: {
|
|
53
|
+
readonly type: "object";
|
|
54
|
+
readonly propertyNames: {
|
|
55
|
+
readonly type: "string";
|
|
56
|
+
};
|
|
39
57
|
readonly additionalProperties: {
|
|
40
|
-
readonly
|
|
58
|
+
readonly type: "string";
|
|
41
59
|
};
|
|
42
60
|
};
|
|
43
61
|
};
|
|
44
|
-
readonly required: readonly ["id", "createdAt", "updatedAt", "organizationId", "name", "status"];
|
|
62
|
+
readonly required: readonly ["id", "createdAt", "updatedAt", "organizationId", "name", "agentType", "status"];
|
|
45
63
|
};
|
|
46
|
-
export declare const
|
|
64
|
+
export declare const PgAgentListRespSchema: {
|
|
65
|
+
readonly description: "PgAgentListResp";
|
|
47
66
|
readonly type: "object";
|
|
48
67
|
readonly properties: {
|
|
49
68
|
readonly agents: {
|
|
50
69
|
readonly type: "array";
|
|
51
70
|
readonly items: {
|
|
52
|
-
readonly $ref: "#/components/schemas/
|
|
71
|
+
readonly $ref: "#/components/schemas/PgAgent";
|
|
53
72
|
};
|
|
54
73
|
};
|
|
55
74
|
readonly total: {
|
|
@@ -58,15 +77,43 @@ export declare const AgentListResponseSchema: {
|
|
|
58
77
|
};
|
|
59
78
|
readonly required: readonly ["agents", "total"];
|
|
60
79
|
};
|
|
61
|
-
export declare const
|
|
80
|
+
export declare const PgAgentGetRespSchema: {
|
|
81
|
+
readonly description: "PgAgentGetResp";
|
|
62
82
|
readonly type: "object";
|
|
63
83
|
readonly properties: {
|
|
64
84
|
readonly agent: {
|
|
65
|
-
readonly $ref: "#/components/schemas/
|
|
85
|
+
readonly $ref: "#/components/schemas/PgAgent";
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
export declare const DeleteRespSchema: {
|
|
90
|
+
readonly description: "删除响应";
|
|
91
|
+
readonly type: "object";
|
|
92
|
+
readonly properties: {
|
|
93
|
+
readonly success: {
|
|
94
|
+
readonly type: "boolean";
|
|
95
|
+
};
|
|
96
|
+
readonly error: {
|
|
97
|
+
readonly type: "string";
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
readonly required: readonly ["success"];
|
|
101
|
+
};
|
|
102
|
+
export declare const DeleteReqSchema: {
|
|
103
|
+
readonly description: "删除请求";
|
|
104
|
+
readonly type: "object";
|
|
105
|
+
readonly properties: {
|
|
106
|
+
readonly ids: {
|
|
107
|
+
readonly type: "array";
|
|
108
|
+
readonly items: {
|
|
109
|
+
readonly type: "string";
|
|
110
|
+
};
|
|
66
111
|
};
|
|
67
112
|
};
|
|
113
|
+
readonly required: readonly ["ids"];
|
|
68
114
|
};
|
|
69
115
|
export declare const AgentCreateRequestSchema: {
|
|
116
|
+
readonly description: "AgentCreateRequest";
|
|
70
117
|
readonly type: "object";
|
|
71
118
|
readonly properties: {
|
|
72
119
|
readonly name: {
|
|
@@ -74,33 +121,19 @@ export declare const AgentCreateRequestSchema: {
|
|
|
74
121
|
readonly minLength: 1;
|
|
75
122
|
readonly maxLength: 255;
|
|
76
123
|
};
|
|
77
|
-
readonly
|
|
78
|
-
readonly type: "string";
|
|
79
|
-
};
|
|
80
|
-
readonly status: {
|
|
124
|
+
readonly agentType: {
|
|
81
125
|
readonly type: "string";
|
|
82
|
-
readonly
|
|
83
|
-
readonly
|
|
84
|
-
};
|
|
85
|
-
readonly config: {
|
|
86
|
-
readonly type: "object";
|
|
87
|
-
readonly additionalProperties: {
|
|
88
|
-
readonly nullable: true;
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
readonly state: {
|
|
92
|
-
readonly type: "object";
|
|
93
|
-
readonly additionalProperties: {
|
|
94
|
-
readonly nullable: true;
|
|
95
|
-
};
|
|
126
|
+
readonly minLength: 1;
|
|
127
|
+
readonly maxLength: 255;
|
|
96
128
|
};
|
|
97
|
-
readonly
|
|
129
|
+
readonly description: {
|
|
98
130
|
readonly type: "string";
|
|
99
131
|
};
|
|
100
132
|
};
|
|
101
|
-
readonly required: readonly ["name", "
|
|
133
|
+
readonly required: readonly ["name", "agentType"];
|
|
102
134
|
};
|
|
103
135
|
export declare const AgentChatbotUpdateBodyConfigSchema: {
|
|
136
|
+
readonly description: "AgentChatbotUpdateBodyConfig";
|
|
104
137
|
readonly type: "object";
|
|
105
138
|
readonly properties: {
|
|
106
139
|
readonly name: {
|
|
@@ -108,6 +141,11 @@ export declare const AgentChatbotUpdateBodyConfigSchema: {
|
|
|
108
141
|
readonly minLength: 1;
|
|
109
142
|
readonly maxLength: 255;
|
|
110
143
|
};
|
|
144
|
+
readonly agentType: {
|
|
145
|
+
readonly type: "string";
|
|
146
|
+
readonly minLength: 1;
|
|
147
|
+
readonly maxLength: 255;
|
|
148
|
+
};
|
|
111
149
|
readonly description: {
|
|
112
150
|
readonly type: "string";
|
|
113
151
|
};
|
|
@@ -117,310 +155,1737 @@ export declare const AgentChatbotUpdateBodyConfigSchema: {
|
|
|
117
155
|
};
|
|
118
156
|
readonly config: {
|
|
119
157
|
readonly type: "object";
|
|
120
|
-
readonly
|
|
121
|
-
readonly
|
|
158
|
+
readonly propertyNames: {
|
|
159
|
+
readonly type: "string";
|
|
122
160
|
};
|
|
161
|
+
readonly additionalProperties: {};
|
|
123
162
|
};
|
|
124
163
|
readonly state: {
|
|
125
164
|
readonly type: "object";
|
|
165
|
+
readonly propertyNames: {
|
|
166
|
+
readonly type: "string";
|
|
167
|
+
};
|
|
168
|
+
readonly additionalProperties: {};
|
|
169
|
+
};
|
|
170
|
+
readonly envs: {
|
|
171
|
+
readonly type: "object";
|
|
172
|
+
readonly propertyNames: {
|
|
173
|
+
readonly type: "string";
|
|
174
|
+
};
|
|
126
175
|
readonly additionalProperties: {
|
|
127
|
-
readonly
|
|
176
|
+
readonly type: "string";
|
|
128
177
|
};
|
|
129
178
|
};
|
|
130
179
|
};
|
|
131
180
|
};
|
|
132
|
-
export declare const
|
|
181
|
+
export declare const CfTunnelSettingsSchema: {
|
|
182
|
+
readonly description: "Cloudflare隧道设置";
|
|
133
183
|
readonly type: "object";
|
|
134
184
|
readonly properties: {
|
|
135
|
-
readonly
|
|
185
|
+
readonly CfToken: {
|
|
136
186
|
readonly type: "string";
|
|
137
|
-
readonly description: "Agent name";
|
|
138
187
|
};
|
|
139
|
-
readonly
|
|
188
|
+
readonly accountId: {
|
|
140
189
|
readonly type: "string";
|
|
141
|
-
readonly description: "Agent ID";
|
|
142
190
|
};
|
|
143
|
-
readonly
|
|
191
|
+
readonly apiToken: {
|
|
144
192
|
readonly type: "string";
|
|
145
|
-
readonly description: "Agent state";
|
|
146
193
|
};
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
};
|
|
150
|
-
export declare const ApiErrorSchema: {
|
|
151
|
-
readonly type: "object";
|
|
152
|
-
readonly properties: {
|
|
153
|
-
readonly error: {
|
|
154
|
-
readonly type: "object";
|
|
155
|
-
readonly properties: {
|
|
156
|
-
readonly code: {
|
|
157
|
-
readonly type: "string";
|
|
158
|
-
readonly enum: readonly ["VALIDATION_ERROR", "NOT_FOUND", "UNAUTHORIZED", "FORBIDDEN", "INTERNAL_ERROR", "CONFLICT", "BAD_REQUEST", "UNPROCESSABLE_ENTITY"];
|
|
159
|
-
};
|
|
160
|
-
readonly message: {
|
|
161
|
-
readonly type: "string";
|
|
162
|
-
};
|
|
163
|
-
readonly details: {
|
|
164
|
-
readonly type: "string";
|
|
165
|
-
};
|
|
166
|
-
readonly field: {
|
|
167
|
-
readonly type: "string";
|
|
168
|
-
};
|
|
169
|
-
};
|
|
170
|
-
readonly required: readonly ["message"];
|
|
194
|
+
readonly zoneName: {
|
|
195
|
+
readonly type: "string";
|
|
171
196
|
};
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
};
|
|
175
|
-
export declare const AgentHandlerGetInfoBodySchema: {
|
|
176
|
-
readonly type: "object";
|
|
177
|
-
readonly properties: {
|
|
178
|
-
readonly agentId: {
|
|
197
|
+
readonly mainDomain: {
|
|
198
|
+
readonly default: "yuepa8.com";
|
|
179
199
|
readonly type: "string";
|
|
180
|
-
readonly description: "Agent ID";
|
|
181
200
|
};
|
|
182
201
|
};
|
|
183
|
-
readonly required: readonly ["agentId"];
|
|
184
202
|
};
|
|
185
|
-
export declare const
|
|
203
|
+
export declare const VncSchema: {
|
|
204
|
+
readonly description: "VNC服务配置";
|
|
186
205
|
readonly type: "object";
|
|
187
206
|
readonly properties: {
|
|
188
|
-
readonly
|
|
189
|
-
readonly type: "
|
|
207
|
+
readonly enabled: {
|
|
208
|
+
readonly type: "boolean";
|
|
190
209
|
};
|
|
191
|
-
readonly
|
|
210
|
+
readonly error: {
|
|
192
211
|
readonly type: "string";
|
|
193
212
|
};
|
|
194
|
-
readonly
|
|
195
|
-
readonly type: "
|
|
213
|
+
readonly lastUpdated: {
|
|
214
|
+
readonly type: "number";
|
|
196
215
|
};
|
|
197
|
-
readonly
|
|
198
|
-
readonly
|
|
216
|
+
readonly port: {
|
|
217
|
+
readonly default: 5900;
|
|
218
|
+
readonly type: "number";
|
|
199
219
|
};
|
|
200
|
-
readonly
|
|
220
|
+
readonly password: {
|
|
221
|
+
readonly default: "mtworker";
|
|
201
222
|
readonly type: "string";
|
|
202
223
|
};
|
|
203
|
-
readonly
|
|
204
|
-
readonly
|
|
205
|
-
readonly additionalProperties: {
|
|
206
|
-
readonly nullable: true;
|
|
207
|
-
};
|
|
208
|
-
readonly default: {};
|
|
209
|
-
};
|
|
210
|
-
readonly tags: {
|
|
211
|
-
readonly type: "array";
|
|
212
|
-
readonly items: {
|
|
213
|
-
readonly type: "string";
|
|
214
|
-
};
|
|
215
|
-
};
|
|
216
|
-
readonly lastUsedAt: {
|
|
224
|
+
readonly display: {
|
|
225
|
+
readonly default: ":1";
|
|
217
226
|
readonly type: "string";
|
|
218
|
-
readonly format: "date";
|
|
219
227
|
};
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
228
|
+
};
|
|
229
|
+
readonly required: readonly ["enabled"];
|
|
230
|
+
};
|
|
231
|
+
export declare const MainApiSchema: {
|
|
232
|
+
readonly description: "主API服务配置";
|
|
233
|
+
readonly type: "object";
|
|
234
|
+
readonly properties: {
|
|
235
|
+
readonly enabled: {
|
|
236
|
+
readonly type: "boolean";
|
|
223
237
|
};
|
|
224
|
-
readonly
|
|
238
|
+
readonly error: {
|
|
225
239
|
readonly type: "string";
|
|
226
|
-
readonly format: "date";
|
|
227
240
|
};
|
|
228
|
-
readonly
|
|
229
|
-
readonly type: "
|
|
241
|
+
readonly lastUpdated: {
|
|
242
|
+
readonly type: "number";
|
|
230
243
|
};
|
|
231
|
-
readonly
|
|
232
|
-
readonly
|
|
244
|
+
readonly port: {
|
|
245
|
+
readonly default: 8080;
|
|
246
|
+
readonly type: "number";
|
|
233
247
|
};
|
|
234
|
-
readonly
|
|
235
|
-
readonly
|
|
236
|
-
readonly
|
|
237
|
-
readonly nullable: true;
|
|
238
|
-
};
|
|
239
|
-
readonly default: {};
|
|
248
|
+
readonly host: {
|
|
249
|
+
readonly default: "0.0.0.0";
|
|
250
|
+
readonly type: "string";
|
|
240
251
|
};
|
|
241
252
|
};
|
|
242
|
-
readonly required: readonly ["
|
|
253
|
+
readonly required: readonly ["enabled"];
|
|
243
254
|
};
|
|
244
|
-
export declare const
|
|
255
|
+
export declare const MtproxyServiceSchema: {
|
|
256
|
+
readonly description: "MtproxyService";
|
|
245
257
|
readonly type: "object";
|
|
246
258
|
readonly properties: {
|
|
247
|
-
readonly
|
|
248
|
-
readonly
|
|
249
|
-
readonly
|
|
250
|
-
readonly $ref: "#/components/schemas/BrowserGetResponse";
|
|
251
|
-
};
|
|
259
|
+
readonly enabled: {
|
|
260
|
+
readonly default: false;
|
|
261
|
+
readonly type: "boolean";
|
|
252
262
|
};
|
|
253
|
-
readonly
|
|
263
|
+
readonly port: {
|
|
264
|
+
readonly default: 10801;
|
|
254
265
|
readonly type: "number";
|
|
255
266
|
};
|
|
256
|
-
readonly
|
|
257
|
-
readonly
|
|
258
|
-
readonly
|
|
259
|
-
readonly limit: {
|
|
260
|
-
readonly type: "number";
|
|
261
|
-
};
|
|
262
|
-
readonly offset: {
|
|
263
|
-
readonly type: "number";
|
|
264
|
-
};
|
|
265
|
-
readonly total_count: {
|
|
266
|
-
readonly type: "number";
|
|
267
|
-
};
|
|
268
|
-
};
|
|
269
|
-
readonly required: readonly ["limit", "offset", "total_count"];
|
|
267
|
+
readonly bindAddr: {
|
|
268
|
+
readonly default: "0.0.0.0";
|
|
269
|
+
readonly type: "string";
|
|
270
270
|
};
|
|
271
271
|
};
|
|
272
|
-
readonly required: readonly ["browsers", "total"];
|
|
273
272
|
};
|
|
274
|
-
export declare const
|
|
273
|
+
export declare const HelloOnionWebSchema: {
|
|
274
|
+
readonly description: "HelloOnionWeb服务配置";
|
|
275
275
|
readonly type: "object";
|
|
276
276
|
readonly properties: {
|
|
277
|
-
readonly
|
|
278
|
-
readonly type: "
|
|
279
|
-
readonly minLength: 1;
|
|
280
|
-
};
|
|
281
|
-
readonly description: {
|
|
282
|
-
readonly type: "string";
|
|
283
|
-
};
|
|
284
|
-
readonly url: {
|
|
285
|
-
readonly type: "string";
|
|
286
|
-
readonly format: "uri";
|
|
287
|
-
};
|
|
288
|
-
readonly properties: {
|
|
289
|
-
readonly type: "object";
|
|
290
|
-
readonly additionalProperties: {
|
|
291
|
-
readonly nullable: true;
|
|
292
|
-
};
|
|
293
|
-
readonly default: {};
|
|
294
|
-
};
|
|
295
|
-
readonly tags: {
|
|
296
|
-
readonly type: "array";
|
|
297
|
-
readonly items: {
|
|
298
|
-
readonly type: "string";
|
|
299
|
-
};
|
|
277
|
+
readonly enabled: {
|
|
278
|
+
readonly type: "boolean";
|
|
300
279
|
};
|
|
301
|
-
readonly
|
|
280
|
+
readonly error: {
|
|
302
281
|
readonly type: "string";
|
|
303
282
|
};
|
|
304
|
-
readonly
|
|
305
|
-
readonly type: "
|
|
283
|
+
readonly lastUpdated: {
|
|
284
|
+
readonly type: "number";
|
|
306
285
|
};
|
|
307
|
-
readonly
|
|
308
|
-
readonly
|
|
309
|
-
readonly
|
|
310
|
-
readonly nullable: true;
|
|
311
|
-
};
|
|
312
|
-
readonly default: {};
|
|
286
|
+
readonly port: {
|
|
287
|
+
readonly default: 8081;
|
|
288
|
+
readonly type: "number";
|
|
313
289
|
};
|
|
314
290
|
};
|
|
315
|
-
readonly required: readonly ["
|
|
291
|
+
readonly required: readonly ["enabled"];
|
|
316
292
|
};
|
|
317
|
-
export declare const
|
|
293
|
+
export declare const NstbrowserApiSchema: {
|
|
294
|
+
readonly description: "Nstbrowser API状态";
|
|
318
295
|
readonly type: "object";
|
|
319
296
|
readonly properties: {
|
|
320
|
-
readonly
|
|
297
|
+
readonly enabled: {
|
|
298
|
+
readonly type: "boolean";
|
|
299
|
+
};
|
|
300
|
+
readonly error: {
|
|
321
301
|
readonly type: "string";
|
|
322
302
|
};
|
|
323
|
-
readonly
|
|
303
|
+
readonly lastUpdated: {
|
|
304
|
+
readonly type: "number";
|
|
305
|
+
};
|
|
306
|
+
readonly token: {
|
|
307
|
+
readonly default: "";
|
|
324
308
|
readonly type: "string";
|
|
325
309
|
};
|
|
326
310
|
};
|
|
311
|
+
readonly required: readonly ["enabled"];
|
|
327
312
|
};
|
|
328
|
-
export declare const
|
|
313
|
+
export declare const GomtmAgentStateSchema: {
|
|
314
|
+
readonly description: "Gomtm Agent状态";
|
|
329
315
|
readonly type: "object";
|
|
330
316
|
readonly properties: {
|
|
331
|
-
readonly
|
|
317
|
+
readonly title: {
|
|
332
318
|
readonly type: "string";
|
|
333
319
|
};
|
|
334
|
-
readonly
|
|
320
|
+
readonly error: {
|
|
335
321
|
readonly type: "string";
|
|
336
322
|
};
|
|
337
|
-
readonly
|
|
323
|
+
readonly mcpServerUrl: {
|
|
338
324
|
readonly type: "string";
|
|
339
325
|
};
|
|
340
|
-
readonly
|
|
341
|
-
readonly
|
|
326
|
+
readonly enabledDebug: {
|
|
327
|
+
readonly default: false;
|
|
328
|
+
readonly type: "boolean";
|
|
342
329
|
};
|
|
343
|
-
readonly
|
|
344
|
-
readonly
|
|
330
|
+
readonly enabledAutoDispatch: {
|
|
331
|
+
readonly default: false;
|
|
332
|
+
readonly type: "boolean";
|
|
345
333
|
};
|
|
346
|
-
readonly
|
|
347
|
-
readonly
|
|
334
|
+
readonly counter: {
|
|
335
|
+
readonly default: 0;
|
|
336
|
+
readonly type: "number";
|
|
348
337
|
};
|
|
349
|
-
readonly
|
|
350
|
-
readonly
|
|
338
|
+
readonly tasks: {
|
|
339
|
+
readonly default: {};
|
|
340
|
+
readonly type: "object";
|
|
341
|
+
readonly propertyNames: {
|
|
342
|
+
readonly type: "string";
|
|
343
|
+
};
|
|
344
|
+
readonly additionalProperties: {
|
|
345
|
+
readonly type: "object";
|
|
346
|
+
readonly properties: {
|
|
347
|
+
readonly id: {
|
|
348
|
+
readonly type: "string";
|
|
349
|
+
};
|
|
350
|
+
readonly kind: {
|
|
351
|
+
readonly type: "string";
|
|
352
|
+
readonly const: "task";
|
|
353
|
+
};
|
|
354
|
+
readonly contextId: {
|
|
355
|
+
readonly type: "string";
|
|
356
|
+
};
|
|
357
|
+
readonly status: {
|
|
358
|
+
readonly type: "object";
|
|
359
|
+
readonly properties: {
|
|
360
|
+
readonly state: {
|
|
361
|
+
readonly type: "string";
|
|
362
|
+
readonly enum: readonly ["submitted", "working", "input-required", "completed", "canceled", "failed", "rejected", "auth-required", "unknown"];
|
|
363
|
+
};
|
|
364
|
+
readonly timestamp: {
|
|
365
|
+
readonly type: "string";
|
|
366
|
+
};
|
|
367
|
+
readonly message: {
|
|
368
|
+
readonly type: "object";
|
|
369
|
+
readonly properties: {
|
|
370
|
+
readonly kind: {
|
|
371
|
+
readonly type: "string";
|
|
372
|
+
readonly const: "message";
|
|
373
|
+
};
|
|
374
|
+
readonly messageId: {
|
|
375
|
+
readonly type: "string";
|
|
376
|
+
};
|
|
377
|
+
readonly role: {
|
|
378
|
+
readonly type: "string";
|
|
379
|
+
readonly enum: readonly ["agent", "user"];
|
|
380
|
+
};
|
|
381
|
+
readonly parts: {
|
|
382
|
+
readonly type: "array";
|
|
383
|
+
readonly items: {
|
|
384
|
+
readonly anyOf: readonly [{
|
|
385
|
+
readonly type: "object";
|
|
386
|
+
readonly properties: {
|
|
387
|
+
readonly kind: {
|
|
388
|
+
readonly type: "string";
|
|
389
|
+
readonly const: "text";
|
|
390
|
+
};
|
|
391
|
+
readonly text: {
|
|
392
|
+
readonly type: "string";
|
|
393
|
+
};
|
|
394
|
+
readonly metadata: {
|
|
395
|
+
readonly type: "object";
|
|
396
|
+
readonly propertyNames: {
|
|
397
|
+
readonly type: "string";
|
|
398
|
+
};
|
|
399
|
+
readonly additionalProperties: {};
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
readonly required: readonly ["kind", "text"];
|
|
403
|
+
}, {
|
|
404
|
+
readonly type: "object";
|
|
405
|
+
readonly properties: {
|
|
406
|
+
readonly kind: {
|
|
407
|
+
readonly type: "string";
|
|
408
|
+
readonly const: "file";
|
|
409
|
+
};
|
|
410
|
+
readonly file: {
|
|
411
|
+
readonly anyOf: readonly [{
|
|
412
|
+
readonly type: "object";
|
|
413
|
+
readonly properties: {
|
|
414
|
+
readonly bytes: {
|
|
415
|
+
readonly type: "string";
|
|
416
|
+
};
|
|
417
|
+
readonly mimeType: {
|
|
418
|
+
readonly type: "string";
|
|
419
|
+
};
|
|
420
|
+
readonly name: {
|
|
421
|
+
readonly type: "string";
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
readonly required: readonly ["bytes"];
|
|
425
|
+
}, {
|
|
426
|
+
readonly type: "object";
|
|
427
|
+
readonly properties: {
|
|
428
|
+
readonly uri: {
|
|
429
|
+
readonly type: "string";
|
|
430
|
+
};
|
|
431
|
+
readonly mimeType: {
|
|
432
|
+
readonly type: "string";
|
|
433
|
+
};
|
|
434
|
+
readonly name: {
|
|
435
|
+
readonly type: "string";
|
|
436
|
+
};
|
|
437
|
+
};
|
|
438
|
+
readonly required: readonly ["uri"];
|
|
439
|
+
}];
|
|
440
|
+
};
|
|
441
|
+
readonly metadata: {
|
|
442
|
+
readonly type: "object";
|
|
443
|
+
readonly propertyNames: {
|
|
444
|
+
readonly type: "string";
|
|
445
|
+
};
|
|
446
|
+
readonly additionalProperties: {};
|
|
447
|
+
};
|
|
448
|
+
};
|
|
449
|
+
readonly required: readonly ["kind", "file"];
|
|
450
|
+
}, {
|
|
451
|
+
readonly type: "object";
|
|
452
|
+
readonly properties: {
|
|
453
|
+
readonly kind: {
|
|
454
|
+
readonly type: "string";
|
|
455
|
+
readonly const: "data";
|
|
456
|
+
};
|
|
457
|
+
readonly data: {
|
|
458
|
+
readonly type: "object";
|
|
459
|
+
readonly propertyNames: {
|
|
460
|
+
readonly type: "string";
|
|
461
|
+
};
|
|
462
|
+
readonly additionalProperties: {};
|
|
463
|
+
};
|
|
464
|
+
readonly metadata: {
|
|
465
|
+
readonly type: "object";
|
|
466
|
+
readonly propertyNames: {
|
|
467
|
+
readonly type: "string";
|
|
468
|
+
};
|
|
469
|
+
readonly additionalProperties: {};
|
|
470
|
+
};
|
|
471
|
+
};
|
|
472
|
+
readonly required: readonly ["kind", "data"];
|
|
473
|
+
}];
|
|
474
|
+
};
|
|
475
|
+
};
|
|
476
|
+
readonly contextId: {
|
|
477
|
+
readonly type: "string";
|
|
478
|
+
};
|
|
479
|
+
readonly taskId: {
|
|
480
|
+
readonly type: "string";
|
|
481
|
+
};
|
|
482
|
+
readonly extensions: {
|
|
483
|
+
readonly type: "array";
|
|
484
|
+
readonly items: {
|
|
485
|
+
readonly type: "string";
|
|
486
|
+
};
|
|
487
|
+
};
|
|
488
|
+
readonly referenceTaskIds: {
|
|
489
|
+
readonly type: "array";
|
|
490
|
+
readonly items: {
|
|
491
|
+
readonly type: "string";
|
|
492
|
+
};
|
|
493
|
+
};
|
|
494
|
+
readonly metadata: {
|
|
495
|
+
readonly type: "object";
|
|
496
|
+
readonly propertyNames: {
|
|
497
|
+
readonly type: "string";
|
|
498
|
+
};
|
|
499
|
+
readonly additionalProperties: {};
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
readonly required: readonly ["kind", "messageId", "role", "parts"];
|
|
503
|
+
};
|
|
504
|
+
};
|
|
505
|
+
readonly required: readonly ["state"];
|
|
506
|
+
};
|
|
507
|
+
readonly artifacts: {
|
|
508
|
+
readonly type: "array";
|
|
509
|
+
readonly items: {
|
|
510
|
+
readonly type: "object";
|
|
511
|
+
readonly properties: {
|
|
512
|
+
readonly artifactId: {
|
|
513
|
+
readonly type: "string";
|
|
514
|
+
};
|
|
515
|
+
readonly name: {
|
|
516
|
+
readonly type: "string";
|
|
517
|
+
};
|
|
518
|
+
readonly description: {
|
|
519
|
+
readonly type: "string";
|
|
520
|
+
};
|
|
521
|
+
readonly parts: {
|
|
522
|
+
readonly type: "array";
|
|
523
|
+
readonly items: {
|
|
524
|
+
readonly anyOf: readonly [{
|
|
525
|
+
readonly type: "object";
|
|
526
|
+
readonly properties: {
|
|
527
|
+
readonly kind: {
|
|
528
|
+
readonly type: "string";
|
|
529
|
+
readonly const: "text";
|
|
530
|
+
};
|
|
531
|
+
readonly text: {
|
|
532
|
+
readonly type: "string";
|
|
533
|
+
};
|
|
534
|
+
readonly metadata: {
|
|
535
|
+
readonly type: "object";
|
|
536
|
+
readonly propertyNames: {
|
|
537
|
+
readonly type: "string";
|
|
538
|
+
};
|
|
539
|
+
readonly additionalProperties: {};
|
|
540
|
+
};
|
|
541
|
+
};
|
|
542
|
+
readonly required: readonly ["kind", "text"];
|
|
543
|
+
}, {
|
|
544
|
+
readonly type: "object";
|
|
545
|
+
readonly properties: {
|
|
546
|
+
readonly kind: {
|
|
547
|
+
readonly type: "string";
|
|
548
|
+
readonly const: "file";
|
|
549
|
+
};
|
|
550
|
+
readonly file: {
|
|
551
|
+
readonly anyOf: readonly [{
|
|
552
|
+
readonly type: "object";
|
|
553
|
+
readonly properties: {
|
|
554
|
+
readonly bytes: {
|
|
555
|
+
readonly type: "string";
|
|
556
|
+
};
|
|
557
|
+
readonly mimeType: {
|
|
558
|
+
readonly type: "string";
|
|
559
|
+
};
|
|
560
|
+
readonly name: {
|
|
561
|
+
readonly type: "string";
|
|
562
|
+
};
|
|
563
|
+
};
|
|
564
|
+
readonly required: readonly ["bytes"];
|
|
565
|
+
}, {
|
|
566
|
+
readonly type: "object";
|
|
567
|
+
readonly properties: {
|
|
568
|
+
readonly uri: {
|
|
569
|
+
readonly type: "string";
|
|
570
|
+
};
|
|
571
|
+
readonly mimeType: {
|
|
572
|
+
readonly type: "string";
|
|
573
|
+
};
|
|
574
|
+
readonly name: {
|
|
575
|
+
readonly type: "string";
|
|
576
|
+
};
|
|
577
|
+
};
|
|
578
|
+
readonly required: readonly ["uri"];
|
|
579
|
+
}];
|
|
580
|
+
};
|
|
581
|
+
readonly metadata: {
|
|
582
|
+
readonly type: "object";
|
|
583
|
+
readonly propertyNames: {
|
|
584
|
+
readonly type: "string";
|
|
585
|
+
};
|
|
586
|
+
readonly additionalProperties: {};
|
|
587
|
+
};
|
|
588
|
+
};
|
|
589
|
+
readonly required: readonly ["kind", "file"];
|
|
590
|
+
}, {
|
|
591
|
+
readonly type: "object";
|
|
592
|
+
readonly properties: {
|
|
593
|
+
readonly kind: {
|
|
594
|
+
readonly type: "string";
|
|
595
|
+
readonly const: "data";
|
|
596
|
+
};
|
|
597
|
+
readonly data: {
|
|
598
|
+
readonly type: "object";
|
|
599
|
+
readonly propertyNames: {
|
|
600
|
+
readonly type: "string";
|
|
601
|
+
};
|
|
602
|
+
readonly additionalProperties: {};
|
|
603
|
+
};
|
|
604
|
+
readonly metadata: {
|
|
605
|
+
readonly type: "object";
|
|
606
|
+
readonly propertyNames: {
|
|
607
|
+
readonly type: "string";
|
|
608
|
+
};
|
|
609
|
+
readonly additionalProperties: {};
|
|
610
|
+
};
|
|
611
|
+
};
|
|
612
|
+
readonly required: readonly ["kind", "data"];
|
|
613
|
+
}];
|
|
614
|
+
};
|
|
615
|
+
};
|
|
616
|
+
readonly extensions: {
|
|
617
|
+
readonly type: "array";
|
|
618
|
+
readonly items: {
|
|
619
|
+
readonly type: "string";
|
|
620
|
+
};
|
|
621
|
+
};
|
|
622
|
+
readonly metadata: {
|
|
623
|
+
readonly type: "object";
|
|
624
|
+
readonly propertyNames: {
|
|
625
|
+
readonly type: "string";
|
|
626
|
+
};
|
|
627
|
+
readonly additionalProperties: {};
|
|
628
|
+
};
|
|
629
|
+
};
|
|
630
|
+
readonly required: readonly ["artifactId", "parts"];
|
|
631
|
+
};
|
|
632
|
+
};
|
|
633
|
+
readonly history: {
|
|
634
|
+
readonly type: "array";
|
|
635
|
+
readonly items: {
|
|
636
|
+
readonly type: "object";
|
|
637
|
+
readonly properties: {
|
|
638
|
+
readonly kind: {
|
|
639
|
+
readonly type: "string";
|
|
640
|
+
readonly const: "message";
|
|
641
|
+
};
|
|
642
|
+
readonly messageId: {
|
|
643
|
+
readonly type: "string";
|
|
644
|
+
};
|
|
645
|
+
readonly role: {
|
|
646
|
+
readonly type: "string";
|
|
647
|
+
readonly enum: readonly ["agent", "user"];
|
|
648
|
+
};
|
|
649
|
+
readonly parts: {
|
|
650
|
+
readonly type: "array";
|
|
651
|
+
readonly items: {
|
|
652
|
+
readonly anyOf: readonly [{
|
|
653
|
+
readonly type: "object";
|
|
654
|
+
readonly properties: {
|
|
655
|
+
readonly kind: {
|
|
656
|
+
readonly type: "string";
|
|
657
|
+
readonly const: "text";
|
|
658
|
+
};
|
|
659
|
+
readonly text: {
|
|
660
|
+
readonly type: "string";
|
|
661
|
+
};
|
|
662
|
+
readonly metadata: {
|
|
663
|
+
readonly type: "object";
|
|
664
|
+
readonly propertyNames: {
|
|
665
|
+
readonly type: "string";
|
|
666
|
+
};
|
|
667
|
+
readonly additionalProperties: {};
|
|
668
|
+
};
|
|
669
|
+
};
|
|
670
|
+
readonly required: readonly ["kind", "text"];
|
|
671
|
+
}, {
|
|
672
|
+
readonly type: "object";
|
|
673
|
+
readonly properties: {
|
|
674
|
+
readonly kind: {
|
|
675
|
+
readonly type: "string";
|
|
676
|
+
readonly const: "file";
|
|
677
|
+
};
|
|
678
|
+
readonly file: {
|
|
679
|
+
readonly anyOf: readonly [{
|
|
680
|
+
readonly type: "object";
|
|
681
|
+
readonly properties: {
|
|
682
|
+
readonly bytes: {
|
|
683
|
+
readonly type: "string";
|
|
684
|
+
};
|
|
685
|
+
readonly mimeType: {
|
|
686
|
+
readonly type: "string";
|
|
687
|
+
};
|
|
688
|
+
readonly name: {
|
|
689
|
+
readonly type: "string";
|
|
690
|
+
};
|
|
691
|
+
};
|
|
692
|
+
readonly required: readonly ["bytes"];
|
|
693
|
+
}, {
|
|
694
|
+
readonly type: "object";
|
|
695
|
+
readonly properties: {
|
|
696
|
+
readonly uri: {
|
|
697
|
+
readonly type: "string";
|
|
698
|
+
};
|
|
699
|
+
readonly mimeType: {
|
|
700
|
+
readonly type: "string";
|
|
701
|
+
};
|
|
702
|
+
readonly name: {
|
|
703
|
+
readonly type: "string";
|
|
704
|
+
};
|
|
705
|
+
};
|
|
706
|
+
readonly required: readonly ["uri"];
|
|
707
|
+
}];
|
|
708
|
+
};
|
|
709
|
+
readonly metadata: {
|
|
710
|
+
readonly type: "object";
|
|
711
|
+
readonly propertyNames: {
|
|
712
|
+
readonly type: "string";
|
|
713
|
+
};
|
|
714
|
+
readonly additionalProperties: {};
|
|
715
|
+
};
|
|
716
|
+
};
|
|
717
|
+
readonly required: readonly ["kind", "file"];
|
|
718
|
+
}, {
|
|
719
|
+
readonly type: "object";
|
|
720
|
+
readonly properties: {
|
|
721
|
+
readonly kind: {
|
|
722
|
+
readonly type: "string";
|
|
723
|
+
readonly const: "data";
|
|
724
|
+
};
|
|
725
|
+
readonly data: {
|
|
726
|
+
readonly type: "object";
|
|
727
|
+
readonly propertyNames: {
|
|
728
|
+
readonly type: "string";
|
|
729
|
+
};
|
|
730
|
+
readonly additionalProperties: {};
|
|
731
|
+
};
|
|
732
|
+
readonly metadata: {
|
|
733
|
+
readonly type: "object";
|
|
734
|
+
readonly propertyNames: {
|
|
735
|
+
readonly type: "string";
|
|
736
|
+
};
|
|
737
|
+
readonly additionalProperties: {};
|
|
738
|
+
};
|
|
739
|
+
};
|
|
740
|
+
readonly required: readonly ["kind", "data"];
|
|
741
|
+
}];
|
|
742
|
+
};
|
|
743
|
+
};
|
|
744
|
+
readonly contextId: {
|
|
745
|
+
readonly type: "string";
|
|
746
|
+
};
|
|
747
|
+
readonly taskId: {
|
|
748
|
+
readonly type: "string";
|
|
749
|
+
};
|
|
750
|
+
readonly extensions: {
|
|
751
|
+
readonly type: "array";
|
|
752
|
+
readonly items: {
|
|
753
|
+
readonly type: "string";
|
|
754
|
+
};
|
|
755
|
+
};
|
|
756
|
+
readonly referenceTaskIds: {
|
|
757
|
+
readonly type: "array";
|
|
758
|
+
readonly items: {
|
|
759
|
+
readonly type: "string";
|
|
760
|
+
};
|
|
761
|
+
};
|
|
762
|
+
readonly metadata: {
|
|
763
|
+
readonly type: "object";
|
|
764
|
+
readonly propertyNames: {
|
|
765
|
+
readonly type: "string";
|
|
766
|
+
};
|
|
767
|
+
readonly additionalProperties: {};
|
|
768
|
+
};
|
|
769
|
+
};
|
|
770
|
+
readonly required: readonly ["kind", "messageId", "role", "parts"];
|
|
771
|
+
};
|
|
772
|
+
};
|
|
773
|
+
readonly metadata: {
|
|
774
|
+
readonly type: "object";
|
|
775
|
+
readonly propertyNames: {
|
|
776
|
+
readonly type: "string";
|
|
777
|
+
};
|
|
778
|
+
readonly additionalProperties: {};
|
|
779
|
+
};
|
|
780
|
+
};
|
|
781
|
+
readonly required: readonly ["id", "kind", "contextId", "status"];
|
|
782
|
+
};
|
|
351
783
|
};
|
|
352
|
-
readonly
|
|
784
|
+
readonly taskConfirmations: {
|
|
785
|
+
readonly default: readonly [];
|
|
786
|
+
readonly type: "array";
|
|
787
|
+
readonly items: {
|
|
788
|
+
readonly type: "object";
|
|
789
|
+
readonly properties: {
|
|
790
|
+
readonly id: {
|
|
791
|
+
readonly type: "string";
|
|
792
|
+
};
|
|
793
|
+
readonly action: {
|
|
794
|
+
readonly type: "string";
|
|
795
|
+
};
|
|
796
|
+
readonly title: {
|
|
797
|
+
readonly type: "string";
|
|
798
|
+
};
|
|
799
|
+
readonly description: {
|
|
800
|
+
readonly type: "string";
|
|
801
|
+
};
|
|
802
|
+
readonly taskId: {
|
|
803
|
+
readonly type: "string";
|
|
804
|
+
};
|
|
805
|
+
};
|
|
806
|
+
readonly required: readonly ["id", "action"];
|
|
807
|
+
};
|
|
808
|
+
};
|
|
809
|
+
readonly lastUpdated: {
|
|
353
810
|
readonly type: "number";
|
|
354
811
|
};
|
|
355
|
-
readonly
|
|
356
|
-
readonly
|
|
812
|
+
readonly configTimeout: {
|
|
813
|
+
readonly default: 60;
|
|
814
|
+
readonly type: "number";
|
|
357
815
|
};
|
|
358
|
-
readonly
|
|
359
|
-
readonly
|
|
360
|
-
readonly
|
|
816
|
+
readonly connectionStatus: {
|
|
817
|
+
readonly default: false;
|
|
818
|
+
readonly type: "boolean";
|
|
361
819
|
};
|
|
362
|
-
readonly
|
|
820
|
+
readonly runServerCommand: {
|
|
363
821
|
readonly type: "string";
|
|
364
|
-
readonly format: "date";
|
|
365
822
|
};
|
|
366
|
-
|
|
367
|
-
|
|
823
|
+
readonly envs: {
|
|
824
|
+
readonly type: "object";
|
|
825
|
+
readonly propertyNames: {
|
|
826
|
+
readonly type: "string";
|
|
827
|
+
};
|
|
828
|
+
readonly additionalProperties: {
|
|
829
|
+
readonly type: "string";
|
|
830
|
+
};
|
|
831
|
+
};
|
|
832
|
+
readonly settings: {
|
|
833
|
+
readonly type: "object";
|
|
834
|
+
readonly properties: {
|
|
835
|
+
readonly cftunnelSettings: {
|
|
836
|
+
readonly $ref: "#/components/schemas/CfTunnelSettings";
|
|
837
|
+
};
|
|
838
|
+
};
|
|
839
|
+
readonly required: readonly ["cftunnelSettings"];
|
|
840
|
+
};
|
|
841
|
+
readonly tunnel: {
|
|
842
|
+
readonly type: "object";
|
|
843
|
+
readonly properties: {
|
|
844
|
+
readonly enabled: {
|
|
845
|
+
readonly type: "boolean";
|
|
846
|
+
};
|
|
847
|
+
readonly error: {
|
|
848
|
+
readonly type: "string";
|
|
849
|
+
};
|
|
850
|
+
readonly lastUpdated: {
|
|
851
|
+
readonly type: "number";
|
|
852
|
+
};
|
|
853
|
+
readonly type: {
|
|
854
|
+
readonly default: "singbox";
|
|
855
|
+
readonly type: "string";
|
|
856
|
+
};
|
|
857
|
+
readonly configUrl: {
|
|
858
|
+
readonly type: "string";
|
|
859
|
+
};
|
|
860
|
+
};
|
|
861
|
+
readonly required: readonly ["enabled"];
|
|
862
|
+
};
|
|
863
|
+
readonly vnc: {
|
|
864
|
+
readonly $ref: "#/components/schemas/Vnc";
|
|
865
|
+
};
|
|
866
|
+
readonly mainApi: {
|
|
867
|
+
readonly $ref: "#/components/schemas/MainApi";
|
|
868
|
+
};
|
|
869
|
+
readonly mtproxy: {
|
|
870
|
+
readonly $ref: "#/components/schemas/MtproxyService";
|
|
871
|
+
};
|
|
872
|
+
readonly helloOnionWeb: {
|
|
873
|
+
readonly $ref: "#/components/schemas/HelloOnionWeb";
|
|
874
|
+
};
|
|
875
|
+
readonly nstbrowserApi: {
|
|
876
|
+
readonly $ref: "#/components/schemas/NstbrowserApi";
|
|
877
|
+
};
|
|
878
|
+
};
|
|
879
|
+
readonly required: readonly ["lastUpdated", "settings", "tunnel", "vnc", "mainApi", "mtproxy", "helloOnionWeb", "nstbrowserApi"];
|
|
368
880
|
};
|
|
369
|
-
export declare const
|
|
881
|
+
export declare const ApiErrorSchema: {
|
|
882
|
+
readonly description: "API错误响应";
|
|
370
883
|
readonly type: "object";
|
|
371
884
|
readonly properties: {
|
|
372
|
-
readonly
|
|
373
|
-
readonly type: "
|
|
374
|
-
readonly
|
|
375
|
-
readonly
|
|
885
|
+
readonly error: {
|
|
886
|
+
readonly type: "object";
|
|
887
|
+
readonly properties: {
|
|
888
|
+
readonly code: {
|
|
889
|
+
readonly type: "string";
|
|
890
|
+
readonly enum: readonly ["VALIDATION_ERROR", "NOT_FOUND", "UNAUTHORIZED", "FORBIDDEN", "INTERNAL_ERROR", "CONFLICT", "BAD_REQUEST", "UNPROCESSABLE_ENTITY"];
|
|
891
|
+
};
|
|
892
|
+
readonly message: {
|
|
893
|
+
readonly type: "string";
|
|
894
|
+
};
|
|
895
|
+
readonly cause: {
|
|
896
|
+
readonly type: "string";
|
|
897
|
+
};
|
|
898
|
+
readonly details: {
|
|
899
|
+
readonly type: "string";
|
|
900
|
+
};
|
|
901
|
+
readonly field: {
|
|
902
|
+
readonly type: "string";
|
|
903
|
+
};
|
|
376
904
|
};
|
|
905
|
+
readonly required: readonly ["message"];
|
|
906
|
+
};
|
|
907
|
+
};
|
|
908
|
+
readonly required: readonly ["error"];
|
|
909
|
+
};
|
|
910
|
+
export declare const AgentSchema: {
|
|
911
|
+
readonly description: "Agent";
|
|
912
|
+
readonly type: "object";
|
|
913
|
+
readonly properties: {
|
|
914
|
+
readonly id: {
|
|
915
|
+
readonly type: "string";
|
|
916
|
+
};
|
|
917
|
+
readonly name: {
|
|
918
|
+
readonly type: "string";
|
|
919
|
+
};
|
|
920
|
+
readonly agentType: {
|
|
921
|
+
readonly type: "string";
|
|
377
922
|
};
|
|
378
|
-
readonly
|
|
923
|
+
readonly description: {
|
|
924
|
+
readonly type: "string";
|
|
925
|
+
};
|
|
926
|
+
};
|
|
927
|
+
readonly required: readonly ["id", "name", "agentType"];
|
|
928
|
+
};
|
|
929
|
+
export declare const AgentListRespSchema: {
|
|
930
|
+
readonly description: "AgentListResp";
|
|
931
|
+
readonly type: "object";
|
|
932
|
+
readonly properties: {
|
|
933
|
+
readonly paginate: {
|
|
379
934
|
readonly type: "object";
|
|
380
935
|
readonly properties: {
|
|
381
|
-
readonly
|
|
936
|
+
readonly total: {
|
|
937
|
+
readonly description: "Total number of records";
|
|
382
938
|
readonly type: "number";
|
|
383
939
|
};
|
|
384
|
-
readonly
|
|
940
|
+
readonly page: {
|
|
941
|
+
readonly description: "Current page number";
|
|
385
942
|
readonly type: "number";
|
|
386
943
|
};
|
|
387
|
-
readonly
|
|
944
|
+
readonly pageSize: {
|
|
945
|
+
readonly description: "Number of records per page";
|
|
388
946
|
readonly type: "number";
|
|
389
947
|
};
|
|
390
|
-
readonly
|
|
948
|
+
readonly totalPages: {
|
|
949
|
+
readonly description: "Total number of pages";
|
|
391
950
|
readonly type: "number";
|
|
392
951
|
};
|
|
952
|
+
readonly hasNext: {
|
|
953
|
+
readonly description: "Whether there is a next page";
|
|
954
|
+
readonly type: "boolean";
|
|
955
|
+
};
|
|
956
|
+
};
|
|
957
|
+
readonly required: readonly ["total", "page", "pageSize", "totalPages", "hasNext"];
|
|
958
|
+
};
|
|
959
|
+
readonly rows: {
|
|
960
|
+
readonly type: "array";
|
|
961
|
+
readonly items: {
|
|
962
|
+
readonly $ref: "#/components/schemas/Agent";
|
|
393
963
|
};
|
|
394
|
-
readonly required: readonly ["page", "limit", "total_count", "total_pages"];
|
|
395
964
|
};
|
|
396
965
|
};
|
|
397
|
-
readonly required: readonly ["
|
|
966
|
+
readonly required: readonly ["paginate", "rows"];
|
|
398
967
|
};
|
|
399
|
-
export declare const
|
|
968
|
+
export declare const BrowserSchema: {
|
|
969
|
+
readonly description: "浏览器";
|
|
970
|
+
readonly type: "object";
|
|
971
|
+
readonly properties: {
|
|
972
|
+
readonly id: {
|
|
973
|
+
readonly type: "string";
|
|
974
|
+
};
|
|
975
|
+
readonly organizationId: {
|
|
976
|
+
readonly type: "string";
|
|
977
|
+
};
|
|
978
|
+
readonly name: {
|
|
979
|
+
readonly type: "string";
|
|
980
|
+
};
|
|
981
|
+
readonly description: {
|
|
982
|
+
readonly type: "string";
|
|
983
|
+
};
|
|
984
|
+
readonly url: {
|
|
985
|
+
readonly type: "string";
|
|
986
|
+
};
|
|
987
|
+
readonly properties: {
|
|
988
|
+
readonly default: {};
|
|
989
|
+
readonly type: "object";
|
|
990
|
+
readonly propertyNames: {
|
|
991
|
+
readonly type: "string";
|
|
992
|
+
};
|
|
993
|
+
readonly additionalProperties: {};
|
|
994
|
+
};
|
|
995
|
+
readonly tags: {
|
|
996
|
+
readonly type: "array";
|
|
997
|
+
readonly items: {
|
|
998
|
+
readonly type: "string";
|
|
999
|
+
};
|
|
1000
|
+
};
|
|
1001
|
+
readonly lastUsedAt: {
|
|
1002
|
+
readonly type: "string";
|
|
1003
|
+
readonly format: "date-time";
|
|
1004
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
1005
|
+
};
|
|
1006
|
+
readonly createdAt: {
|
|
1007
|
+
readonly type: "string";
|
|
1008
|
+
readonly format: "date-time";
|
|
1009
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
1010
|
+
};
|
|
1011
|
+
readonly updatedAt: {
|
|
1012
|
+
readonly type: "string";
|
|
1013
|
+
readonly format: "date-time";
|
|
1014
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
1015
|
+
};
|
|
1016
|
+
readonly deletedAt: {
|
|
1017
|
+
readonly type: "string";
|
|
1018
|
+
readonly format: "date-time";
|
|
1019
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
1020
|
+
};
|
|
1021
|
+
readonly platformId: {
|
|
1022
|
+
readonly type: "string";
|
|
1023
|
+
};
|
|
1024
|
+
readonly autoLoginScript: {
|
|
1025
|
+
readonly type: "string";
|
|
1026
|
+
};
|
|
1027
|
+
readonly sessionData: {
|
|
1028
|
+
readonly default: {};
|
|
1029
|
+
readonly type: "object";
|
|
1030
|
+
readonly propertyNames: {
|
|
1031
|
+
readonly type: "string";
|
|
1032
|
+
};
|
|
1033
|
+
readonly additionalProperties: {};
|
|
1034
|
+
};
|
|
1035
|
+
};
|
|
1036
|
+
readonly required: readonly ["id", "organizationId", "name", "url", "createdAt", "updatedAt"];
|
|
1037
|
+
};
|
|
1038
|
+
export declare const BrowserGetRespSchema: {
|
|
1039
|
+
readonly description: "浏览器获取响应";
|
|
1040
|
+
readonly type: "object";
|
|
1041
|
+
readonly properties: {
|
|
1042
|
+
readonly id: {
|
|
1043
|
+
readonly type: "string";
|
|
1044
|
+
};
|
|
1045
|
+
readonly organizationId: {
|
|
1046
|
+
readonly type: "string";
|
|
1047
|
+
};
|
|
1048
|
+
readonly name: {
|
|
1049
|
+
readonly type: "string";
|
|
1050
|
+
};
|
|
1051
|
+
readonly description: {
|
|
1052
|
+
readonly type: "string";
|
|
1053
|
+
};
|
|
1054
|
+
readonly url: {
|
|
1055
|
+
readonly type: "string";
|
|
1056
|
+
};
|
|
1057
|
+
readonly properties: {
|
|
1058
|
+
readonly default: {};
|
|
1059
|
+
readonly type: "object";
|
|
1060
|
+
readonly propertyNames: {
|
|
1061
|
+
readonly type: "string";
|
|
1062
|
+
};
|
|
1063
|
+
readonly additionalProperties: {};
|
|
1064
|
+
};
|
|
1065
|
+
readonly tags: {
|
|
1066
|
+
readonly type: "array";
|
|
1067
|
+
readonly items: {
|
|
1068
|
+
readonly type: "string";
|
|
1069
|
+
};
|
|
1070
|
+
};
|
|
1071
|
+
readonly lastUsedAt: {
|
|
1072
|
+
readonly type: "string";
|
|
1073
|
+
readonly format: "date-time";
|
|
1074
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
1075
|
+
};
|
|
1076
|
+
readonly createdAt: {
|
|
1077
|
+
readonly type: "string";
|
|
1078
|
+
readonly format: "date-time";
|
|
1079
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
1080
|
+
};
|
|
1081
|
+
readonly updatedAt: {
|
|
1082
|
+
readonly type: "string";
|
|
1083
|
+
readonly format: "date-time";
|
|
1084
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
1085
|
+
};
|
|
1086
|
+
readonly platformId: {
|
|
1087
|
+
readonly type: "string";
|
|
1088
|
+
};
|
|
1089
|
+
readonly autoLoginScript: {
|
|
1090
|
+
readonly type: "string";
|
|
1091
|
+
};
|
|
1092
|
+
readonly sessionData: {
|
|
1093
|
+
readonly default: {};
|
|
1094
|
+
readonly type: "object";
|
|
1095
|
+
readonly propertyNames: {
|
|
1096
|
+
readonly type: "string";
|
|
1097
|
+
};
|
|
1098
|
+
readonly additionalProperties: {};
|
|
1099
|
+
};
|
|
1100
|
+
};
|
|
1101
|
+
readonly required: readonly ["id", "organizationId", "name", "url", "createdAt", "updatedAt"];
|
|
1102
|
+
};
|
|
1103
|
+
export declare const BrowserUpsertRequestSchema: {
|
|
1104
|
+
readonly description: "浏览器更新请求";
|
|
1105
|
+
readonly type: "object";
|
|
1106
|
+
readonly properties: {
|
|
1107
|
+
readonly name: {
|
|
1108
|
+
readonly type: "string";
|
|
1109
|
+
readonly minLength: 1;
|
|
1110
|
+
};
|
|
1111
|
+
readonly description: {
|
|
1112
|
+
readonly type: "string";
|
|
1113
|
+
};
|
|
1114
|
+
readonly url: {
|
|
1115
|
+
readonly type: "string";
|
|
1116
|
+
readonly format: "uri";
|
|
1117
|
+
};
|
|
1118
|
+
readonly properties: {
|
|
1119
|
+
readonly default: {};
|
|
1120
|
+
readonly type: "object";
|
|
1121
|
+
readonly propertyNames: {
|
|
1122
|
+
readonly type: "string";
|
|
1123
|
+
};
|
|
1124
|
+
readonly additionalProperties: {};
|
|
1125
|
+
};
|
|
1126
|
+
readonly tags: {
|
|
1127
|
+
readonly type: "array";
|
|
1128
|
+
readonly items: {
|
|
1129
|
+
readonly type: "string";
|
|
1130
|
+
};
|
|
1131
|
+
};
|
|
1132
|
+
readonly platformId: {
|
|
1133
|
+
readonly type: "string";
|
|
1134
|
+
};
|
|
1135
|
+
readonly autoLoginScript: {
|
|
1136
|
+
readonly type: "string";
|
|
1137
|
+
};
|
|
1138
|
+
readonly sessionData: {
|
|
1139
|
+
readonly default: {};
|
|
1140
|
+
readonly type: "object";
|
|
1141
|
+
readonly propertyNames: {
|
|
1142
|
+
readonly type: "string";
|
|
1143
|
+
};
|
|
1144
|
+
readonly additionalProperties: {};
|
|
1145
|
+
};
|
|
1146
|
+
};
|
|
1147
|
+
readonly required: readonly ["name", "url"];
|
|
1148
|
+
};
|
|
1149
|
+
export declare const PAccountSchema: {
|
|
1150
|
+
readonly description: "平台账户";
|
|
400
1151
|
readonly type: "object";
|
|
401
1152
|
readonly properties: {
|
|
402
1153
|
readonly id: {
|
|
403
1154
|
readonly type: "string";
|
|
404
1155
|
};
|
|
405
|
-
readonly
|
|
1156
|
+
readonly tenantId: {
|
|
1157
|
+
readonly type: "string";
|
|
1158
|
+
};
|
|
1159
|
+
readonly createdAt: {
|
|
1160
|
+
readonly type: "string";
|
|
1161
|
+
readonly format: "date-time";
|
|
1162
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
1163
|
+
};
|
|
1164
|
+
readonly updatedAt: {
|
|
1165
|
+
readonly type: "string";
|
|
1166
|
+
readonly format: "date-time";
|
|
1167
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
1168
|
+
};
|
|
1169
|
+
readonly deletedAt: {
|
|
1170
|
+
readonly type: "string";
|
|
1171
|
+
readonly format: "date-time";
|
|
1172
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
1173
|
+
};
|
|
1174
|
+
readonly name: {
|
|
1175
|
+
readonly type: "string";
|
|
1176
|
+
};
|
|
1177
|
+
readonly description: {
|
|
1178
|
+
readonly type: "string";
|
|
1179
|
+
};
|
|
1180
|
+
readonly platformId: {
|
|
1181
|
+
readonly type: "string";
|
|
1182
|
+
};
|
|
1183
|
+
readonly tags: {
|
|
1184
|
+
readonly type: "array";
|
|
1185
|
+
readonly items: {
|
|
1186
|
+
readonly type: "string";
|
|
1187
|
+
};
|
|
1188
|
+
};
|
|
1189
|
+
readonly enabled: {
|
|
1190
|
+
readonly type: "boolean";
|
|
1191
|
+
};
|
|
1192
|
+
readonly state: {
|
|
1193
|
+
readonly type: "object";
|
|
1194
|
+
readonly propertyNames: {
|
|
1195
|
+
readonly type: "string";
|
|
1196
|
+
};
|
|
1197
|
+
readonly additionalProperties: {};
|
|
1198
|
+
};
|
|
1199
|
+
readonly config: {
|
|
1200
|
+
readonly type: "object";
|
|
1201
|
+
readonly propertyNames: {
|
|
1202
|
+
readonly type: "string";
|
|
1203
|
+
};
|
|
1204
|
+
readonly additionalProperties: {};
|
|
1205
|
+
};
|
|
1206
|
+
readonly error: {
|
|
1207
|
+
readonly type: "string";
|
|
1208
|
+
};
|
|
1209
|
+
readonly icon: {
|
|
1210
|
+
readonly type: "string";
|
|
1211
|
+
};
|
|
1212
|
+
readonly platform: {
|
|
1213
|
+
readonly type: "object";
|
|
1214
|
+
readonly properties: {
|
|
1215
|
+
readonly id: {
|
|
1216
|
+
readonly type: "string";
|
|
1217
|
+
};
|
|
1218
|
+
readonly name: {
|
|
1219
|
+
readonly type: "string";
|
|
1220
|
+
};
|
|
1221
|
+
readonly description: {
|
|
1222
|
+
readonly type: "string";
|
|
1223
|
+
};
|
|
1224
|
+
readonly url: {
|
|
1225
|
+
readonly type: "string";
|
|
1226
|
+
};
|
|
1227
|
+
readonly loginUrl: {
|
|
1228
|
+
readonly type: "string";
|
|
1229
|
+
};
|
|
1230
|
+
};
|
|
1231
|
+
readonly required: readonly ["id", "name"];
|
|
1232
|
+
};
|
|
1233
|
+
};
|
|
1234
|
+
readonly required: readonly ["id", "tenantId", "createdAt", "updatedAt", "platformId", "enabled"];
|
|
1235
|
+
};
|
|
1236
|
+
export declare const PAccountListRespSchema: {
|
|
1237
|
+
readonly description: "PAccountListResp";
|
|
1238
|
+
readonly type: "object";
|
|
1239
|
+
readonly properties: {
|
|
1240
|
+
readonly paginate: {
|
|
1241
|
+
readonly type: "object";
|
|
1242
|
+
readonly properties: {
|
|
1243
|
+
readonly total: {
|
|
1244
|
+
readonly description: "Total number of records";
|
|
1245
|
+
readonly type: "number";
|
|
1246
|
+
};
|
|
1247
|
+
readonly page: {
|
|
1248
|
+
readonly description: "Current page number";
|
|
1249
|
+
readonly type: "number";
|
|
1250
|
+
};
|
|
1251
|
+
readonly pageSize: {
|
|
1252
|
+
readonly description: "Number of records per page";
|
|
1253
|
+
readonly type: "number";
|
|
1254
|
+
};
|
|
1255
|
+
readonly totalPages: {
|
|
1256
|
+
readonly description: "Total number of pages";
|
|
1257
|
+
readonly type: "number";
|
|
1258
|
+
};
|
|
1259
|
+
readonly hasNext: {
|
|
1260
|
+
readonly description: "Whether there is a next page";
|
|
1261
|
+
readonly type: "boolean";
|
|
1262
|
+
};
|
|
1263
|
+
};
|
|
1264
|
+
readonly required: readonly ["total", "page", "pageSize", "totalPages", "hasNext"];
|
|
1265
|
+
};
|
|
1266
|
+
readonly rows: {
|
|
1267
|
+
readonly type: "array";
|
|
1268
|
+
readonly items: {
|
|
1269
|
+
readonly $ref: "#/components/schemas/PAccount";
|
|
1270
|
+
};
|
|
1271
|
+
};
|
|
1272
|
+
};
|
|
1273
|
+
readonly required: readonly ["paginate", "rows"];
|
|
1274
|
+
};
|
|
1275
|
+
export declare const PAccountCreateRequestSchema: {
|
|
1276
|
+
readonly description: "平台账户创建请求";
|
|
1277
|
+
readonly type: "object";
|
|
1278
|
+
readonly properties: {
|
|
1279
|
+
readonly name: {
|
|
1280
|
+
readonly type: "string";
|
|
1281
|
+
readonly minLength: 1;
|
|
1282
|
+
};
|
|
1283
|
+
readonly description: {
|
|
1284
|
+
readonly type: "string";
|
|
1285
|
+
};
|
|
1286
|
+
readonly platformId: {
|
|
1287
|
+
readonly type: "string";
|
|
1288
|
+
readonly minLength: 1;
|
|
1289
|
+
};
|
|
1290
|
+
readonly enabled: {
|
|
1291
|
+
readonly default: true;
|
|
1292
|
+
readonly type: "boolean";
|
|
1293
|
+
};
|
|
1294
|
+
readonly tags: {
|
|
1295
|
+
readonly default: readonly [];
|
|
1296
|
+
readonly type: "array";
|
|
1297
|
+
readonly items: {
|
|
1298
|
+
readonly type: "string";
|
|
1299
|
+
};
|
|
1300
|
+
};
|
|
1301
|
+
readonly config: {
|
|
1302
|
+
readonly default: {};
|
|
1303
|
+
readonly type: "object";
|
|
1304
|
+
readonly propertyNames: {
|
|
1305
|
+
readonly type: "string";
|
|
1306
|
+
};
|
|
1307
|
+
readonly additionalProperties: {};
|
|
1308
|
+
};
|
|
1309
|
+
readonly icon: {
|
|
1310
|
+
readonly type: "string";
|
|
1311
|
+
};
|
|
1312
|
+
};
|
|
1313
|
+
readonly required: readonly ["name", "platformId"];
|
|
1314
|
+
};
|
|
1315
|
+
export declare const PAccountUpdateRequestSchema: {
|
|
1316
|
+
readonly description: "平台账户更新请求";
|
|
1317
|
+
readonly type: "object";
|
|
1318
|
+
readonly properties: {
|
|
1319
|
+
readonly name: {
|
|
1320
|
+
readonly type: "string";
|
|
1321
|
+
readonly minLength: 1;
|
|
1322
|
+
};
|
|
1323
|
+
readonly description: {
|
|
1324
|
+
readonly type: "string";
|
|
1325
|
+
};
|
|
1326
|
+
readonly platformId: {
|
|
1327
|
+
readonly type: "string";
|
|
1328
|
+
readonly minLength: 1;
|
|
1329
|
+
};
|
|
1330
|
+
readonly enabled: {
|
|
1331
|
+
readonly type: "boolean";
|
|
1332
|
+
};
|
|
1333
|
+
readonly tags: {
|
|
1334
|
+
readonly type: "array";
|
|
1335
|
+
readonly items: {
|
|
1336
|
+
readonly type: "string";
|
|
1337
|
+
};
|
|
1338
|
+
};
|
|
1339
|
+
readonly config: {
|
|
1340
|
+
readonly type: "object";
|
|
1341
|
+
readonly propertyNames: {
|
|
1342
|
+
readonly type: "string";
|
|
1343
|
+
};
|
|
1344
|
+
readonly additionalProperties: {};
|
|
1345
|
+
};
|
|
1346
|
+
readonly icon: {
|
|
1347
|
+
readonly type: "string";
|
|
1348
|
+
};
|
|
1349
|
+
};
|
|
1350
|
+
};
|
|
1351
|
+
export declare const PlatformSchema: {
|
|
1352
|
+
readonly description: "平台";
|
|
1353
|
+
readonly type: "object";
|
|
1354
|
+
readonly properties: {
|
|
1355
|
+
readonly id: {
|
|
1356
|
+
readonly type: "string";
|
|
1357
|
+
};
|
|
1358
|
+
readonly name: {
|
|
1359
|
+
readonly type: "string";
|
|
1360
|
+
};
|
|
1361
|
+
readonly description: {
|
|
1362
|
+
readonly type: "string";
|
|
1363
|
+
};
|
|
1364
|
+
readonly url: {
|
|
1365
|
+
readonly type: "string";
|
|
1366
|
+
};
|
|
1367
|
+
readonly loginUrl: {
|
|
1368
|
+
readonly type: "string";
|
|
1369
|
+
};
|
|
1370
|
+
readonly type: {
|
|
1371
|
+
readonly type: "string";
|
|
1372
|
+
};
|
|
1373
|
+
readonly status: {
|
|
1374
|
+
readonly type: "string";
|
|
1375
|
+
};
|
|
1376
|
+
readonly config: {
|
|
1377
|
+
readonly default: {};
|
|
1378
|
+
readonly type: "object";
|
|
1379
|
+
readonly propertyNames: {
|
|
1380
|
+
readonly type: "string";
|
|
1381
|
+
};
|
|
1382
|
+
readonly additionalProperties: {};
|
|
1383
|
+
};
|
|
1384
|
+
readonly tags: {
|
|
1385
|
+
readonly type: "array";
|
|
1386
|
+
readonly items: {
|
|
1387
|
+
readonly type: "string";
|
|
1388
|
+
};
|
|
1389
|
+
};
|
|
1390
|
+
readonly createdAt: {
|
|
1391
|
+
readonly type: "string";
|
|
1392
|
+
readonly format: "date-time";
|
|
1393
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
1394
|
+
};
|
|
1395
|
+
readonly updatedAt: {
|
|
1396
|
+
readonly type: "string";
|
|
1397
|
+
readonly format: "date-time";
|
|
1398
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
1399
|
+
};
|
|
1400
|
+
};
|
|
1401
|
+
readonly required: readonly ["id", "name", "createdAt", "updatedAt"];
|
|
1402
|
+
};
|
|
1403
|
+
export declare const PlatformGetRespSchema: {
|
|
1404
|
+
readonly description: "平台获取响应";
|
|
1405
|
+
readonly type: "object";
|
|
1406
|
+
readonly properties: {
|
|
1407
|
+
readonly id: {
|
|
1408
|
+
readonly type: "string";
|
|
1409
|
+
};
|
|
1410
|
+
readonly name: {
|
|
1411
|
+
readonly type: "string";
|
|
1412
|
+
};
|
|
1413
|
+
readonly description: {
|
|
1414
|
+
readonly type: "string";
|
|
1415
|
+
};
|
|
1416
|
+
readonly url: {
|
|
1417
|
+
readonly type: "string";
|
|
1418
|
+
};
|
|
1419
|
+
readonly loginUrl: {
|
|
1420
|
+
readonly type: "string";
|
|
1421
|
+
};
|
|
1422
|
+
readonly type: {
|
|
1423
|
+
readonly type: "string";
|
|
1424
|
+
};
|
|
1425
|
+
readonly status: {
|
|
1426
|
+
readonly type: "string";
|
|
1427
|
+
};
|
|
1428
|
+
readonly config: {
|
|
1429
|
+
readonly default: {};
|
|
1430
|
+
readonly type: "object";
|
|
1431
|
+
readonly propertyNames: {
|
|
1432
|
+
readonly type: "string";
|
|
1433
|
+
};
|
|
1434
|
+
readonly additionalProperties: {};
|
|
1435
|
+
};
|
|
1436
|
+
readonly tags: {
|
|
1437
|
+
readonly type: "array";
|
|
1438
|
+
readonly items: {
|
|
1439
|
+
readonly type: "string";
|
|
1440
|
+
};
|
|
1441
|
+
};
|
|
1442
|
+
readonly createdAt: {
|
|
1443
|
+
readonly type: "string";
|
|
1444
|
+
readonly format: "date-time";
|
|
1445
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
1446
|
+
};
|
|
1447
|
+
readonly updatedAt: {
|
|
1448
|
+
readonly type: "string";
|
|
1449
|
+
readonly format: "date-time";
|
|
1450
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
1451
|
+
};
|
|
1452
|
+
};
|
|
1453
|
+
readonly required: readonly ["id", "name", "createdAt", "updatedAt"];
|
|
1454
|
+
};
|
|
1455
|
+
export declare const zPlatformCreateSchema: {
|
|
1456
|
+
readonly description: "平台创建请求";
|
|
1457
|
+
readonly type: "object";
|
|
1458
|
+
readonly properties: {
|
|
1459
|
+
readonly id: {
|
|
1460
|
+
readonly type: "string";
|
|
1461
|
+
};
|
|
1462
|
+
readonly name: {
|
|
1463
|
+
readonly type: "string";
|
|
1464
|
+
readonly minLength: 1;
|
|
1465
|
+
};
|
|
1466
|
+
readonly description: {
|
|
1467
|
+
readonly type: "string";
|
|
1468
|
+
};
|
|
1469
|
+
readonly url: {
|
|
1470
|
+
readonly type: "string";
|
|
1471
|
+
};
|
|
1472
|
+
readonly loginUrl: {
|
|
1473
|
+
readonly type: "string";
|
|
1474
|
+
};
|
|
1475
|
+
readonly type: {
|
|
1476
|
+
readonly type: "string";
|
|
1477
|
+
};
|
|
1478
|
+
readonly status: {
|
|
1479
|
+
readonly type: "string";
|
|
1480
|
+
};
|
|
1481
|
+
readonly config: {
|
|
1482
|
+
readonly default: {};
|
|
1483
|
+
readonly type: "object";
|
|
1484
|
+
readonly propertyNames: {
|
|
1485
|
+
readonly type: "string";
|
|
1486
|
+
};
|
|
1487
|
+
readonly additionalProperties: {};
|
|
1488
|
+
};
|
|
1489
|
+
readonly tags: {
|
|
1490
|
+
readonly type: "array";
|
|
1491
|
+
readonly items: {
|
|
1492
|
+
readonly type: "string";
|
|
1493
|
+
};
|
|
1494
|
+
};
|
|
1495
|
+
};
|
|
1496
|
+
readonly required: readonly ["name"];
|
|
1497
|
+
};
|
|
1498
|
+
export declare const ProxyGetRespSchema: {
|
|
1499
|
+
readonly description: "代理获取响应";
|
|
1500
|
+
readonly type: "object";
|
|
1501
|
+
readonly properties: {
|
|
1502
|
+
readonly id: {
|
|
1503
|
+
readonly type: "string";
|
|
1504
|
+
};
|
|
1505
|
+
readonly name: {
|
|
1506
|
+
readonly type: "string";
|
|
1507
|
+
};
|
|
1508
|
+
readonly description: {
|
|
1509
|
+
readonly anyOf: readonly [{
|
|
1510
|
+
readonly type: "string";
|
|
1511
|
+
}, {
|
|
1512
|
+
readonly type: "null";
|
|
1513
|
+
}];
|
|
1514
|
+
};
|
|
1515
|
+
readonly url: {
|
|
1516
|
+
readonly type: "string";
|
|
1517
|
+
};
|
|
1518
|
+
readonly type: {
|
|
1519
|
+
readonly type: "string";
|
|
1520
|
+
};
|
|
1521
|
+
readonly provider: {
|
|
1522
|
+
readonly type: "string";
|
|
1523
|
+
};
|
|
1524
|
+
readonly detour: {
|
|
1525
|
+
readonly anyOf: readonly [{
|
|
1526
|
+
readonly type: "string";
|
|
1527
|
+
}, {
|
|
1528
|
+
readonly type: "null";
|
|
1529
|
+
}];
|
|
1530
|
+
};
|
|
1531
|
+
readonly country_code: {
|
|
1532
|
+
readonly type: "string";
|
|
1533
|
+
};
|
|
1534
|
+
readonly port: {
|
|
1535
|
+
readonly type: "number";
|
|
1536
|
+
};
|
|
1537
|
+
readonly enabled: {
|
|
1538
|
+
readonly type: "boolean";
|
|
1539
|
+
};
|
|
1540
|
+
readonly created_at: {
|
|
1541
|
+
readonly type: "string";
|
|
1542
|
+
readonly format: "date-time";
|
|
1543
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
1544
|
+
};
|
|
1545
|
+
readonly updated_at: {
|
|
1546
|
+
readonly type: "string";
|
|
1547
|
+
readonly format: "date-time";
|
|
1548
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
1549
|
+
};
|
|
1550
|
+
};
|
|
1551
|
+
readonly required: readonly ["id", "name", "url", "enabled"];
|
|
1552
|
+
};
|
|
1553
|
+
export declare const ProxyListRespSchema: {
|
|
1554
|
+
readonly description: "代理列表响应";
|
|
1555
|
+
readonly type: "object";
|
|
1556
|
+
readonly properties: {
|
|
1557
|
+
readonly paginate: {
|
|
1558
|
+
readonly type: "object";
|
|
1559
|
+
readonly properties: {
|
|
1560
|
+
readonly total: {
|
|
1561
|
+
readonly description: "Total number of records";
|
|
1562
|
+
readonly type: "number";
|
|
1563
|
+
};
|
|
1564
|
+
readonly page: {
|
|
1565
|
+
readonly description: "Current page number";
|
|
1566
|
+
readonly type: "number";
|
|
1567
|
+
};
|
|
1568
|
+
readonly pageSize: {
|
|
1569
|
+
readonly description: "Number of records per page";
|
|
1570
|
+
readonly type: "number";
|
|
1571
|
+
};
|
|
1572
|
+
readonly totalPages: {
|
|
1573
|
+
readonly description: "Total number of pages";
|
|
1574
|
+
readonly type: "number";
|
|
1575
|
+
};
|
|
1576
|
+
readonly hasNext: {
|
|
1577
|
+
readonly description: "Whether there is a next page";
|
|
1578
|
+
readonly type: "boolean";
|
|
1579
|
+
};
|
|
1580
|
+
};
|
|
1581
|
+
readonly required: readonly ["total", "page", "pageSize", "totalPages", "hasNext"];
|
|
1582
|
+
};
|
|
1583
|
+
readonly rows: {
|
|
1584
|
+
readonly type: "array";
|
|
1585
|
+
readonly items: {
|
|
1586
|
+
readonly $ref: "#/components/schemas/ProxyGetResp";
|
|
1587
|
+
};
|
|
1588
|
+
};
|
|
1589
|
+
};
|
|
1590
|
+
readonly required: readonly ["paginate", "rows"];
|
|
1591
|
+
};
|
|
1592
|
+
export declare const ProxyUpsertRequestSchema: {
|
|
1593
|
+
readonly description: "代理更新请求";
|
|
1594
|
+
readonly type: "object";
|
|
1595
|
+
readonly properties: {
|
|
1596
|
+
readonly id: {
|
|
1597
|
+
readonly type: "string";
|
|
1598
|
+
};
|
|
1599
|
+
readonly name: {
|
|
1600
|
+
readonly type: "string";
|
|
1601
|
+
readonly minLength: 1;
|
|
1602
|
+
};
|
|
1603
|
+
readonly description: {
|
|
1604
|
+
readonly type: "string";
|
|
1605
|
+
};
|
|
1606
|
+
readonly url: {
|
|
1607
|
+
readonly type: "string";
|
|
1608
|
+
readonly format: "uri";
|
|
1609
|
+
};
|
|
1610
|
+
readonly detour: {
|
|
1611
|
+
readonly type: "string";
|
|
1612
|
+
};
|
|
1613
|
+
};
|
|
1614
|
+
readonly required: readonly ["url"];
|
|
1615
|
+
};
|
|
1616
|
+
export declare const SandboxSchema: {
|
|
1617
|
+
readonly description: "沙箱";
|
|
1618
|
+
readonly type: "object";
|
|
1619
|
+
readonly properties: {
|
|
1620
|
+
readonly id: {
|
|
1621
|
+
readonly type: "string";
|
|
1622
|
+
};
|
|
1623
|
+
readonly createdAt: {
|
|
1624
|
+
readonly type: "string";
|
|
1625
|
+
readonly format: "date-time";
|
|
1626
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
1627
|
+
};
|
|
1628
|
+
readonly updatedAt: {
|
|
1629
|
+
readonly type: "string";
|
|
1630
|
+
readonly format: "date-time";
|
|
1631
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
1632
|
+
};
|
|
1633
|
+
readonly deletedAt: {
|
|
1634
|
+
readonly type: "string";
|
|
1635
|
+
readonly format: "date-time";
|
|
1636
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
1637
|
+
};
|
|
1638
|
+
readonly organizationId: {
|
|
1639
|
+
readonly type: "string";
|
|
1640
|
+
};
|
|
1641
|
+
readonly name: {
|
|
1642
|
+
readonly type: "string";
|
|
1643
|
+
};
|
|
1644
|
+
readonly description: {
|
|
1645
|
+
readonly type: "string";
|
|
1646
|
+
};
|
|
1647
|
+
readonly deployType: {
|
|
1648
|
+
readonly type: "string";
|
|
1649
|
+
};
|
|
1650
|
+
readonly serverUrl: {
|
|
1651
|
+
readonly type: "string";
|
|
1652
|
+
};
|
|
1653
|
+
readonly status: {
|
|
1654
|
+
readonly type: "string";
|
|
1655
|
+
};
|
|
1656
|
+
readonly state: {
|
|
1657
|
+
readonly default: {};
|
|
1658
|
+
};
|
|
1659
|
+
readonly config: {
|
|
1660
|
+
readonly default: {};
|
|
1661
|
+
};
|
|
1662
|
+
};
|
|
1663
|
+
readonly required: readonly ["id", "createdAt", "updatedAt", "organizationId", "name", "description", "deployType", "serverUrl", "status"];
|
|
1664
|
+
};
|
|
1665
|
+
export declare const SandboxListSchema: {
|
|
1666
|
+
readonly description: "沙箱列表响应";
|
|
1667
|
+
readonly type: "object";
|
|
1668
|
+
readonly properties: {
|
|
1669
|
+
readonly services: {
|
|
1670
|
+
readonly type: "array";
|
|
1671
|
+
readonly items: {
|
|
1672
|
+
readonly $ref: "#/components/schemas/Sandbox";
|
|
1673
|
+
};
|
|
1674
|
+
};
|
|
1675
|
+
readonly total: {
|
|
1676
|
+
readonly type: "number";
|
|
1677
|
+
};
|
|
1678
|
+
};
|
|
1679
|
+
readonly required: readonly ["services", "total"];
|
|
1680
|
+
};
|
|
1681
|
+
export declare const SandboxGetSchema: {
|
|
1682
|
+
readonly description: "沙箱获取响应";
|
|
1683
|
+
readonly type: "object";
|
|
1684
|
+
readonly properties: {
|
|
1685
|
+
readonly service: {
|
|
1686
|
+
readonly $ref: "#/components/schemas/Sandbox";
|
|
1687
|
+
};
|
|
1688
|
+
};
|
|
1689
|
+
};
|
|
1690
|
+
export declare const SandboxStartSchema: {
|
|
1691
|
+
readonly description: "沙箱启动响应";
|
|
1692
|
+
readonly type: "object";
|
|
1693
|
+
readonly properties: {
|
|
1694
|
+
readonly message: {
|
|
1695
|
+
readonly type: "string";
|
|
1696
|
+
};
|
|
1697
|
+
readonly serviceId: {
|
|
1698
|
+
readonly type: "string";
|
|
1699
|
+
};
|
|
1700
|
+
};
|
|
1701
|
+
readonly required: readonly ["message", "serviceId"];
|
|
1702
|
+
};
|
|
1703
|
+
export declare const NavItemChildSchema: {
|
|
1704
|
+
readonly description: "导航菜单子项";
|
|
1705
|
+
readonly type: "object";
|
|
1706
|
+
readonly properties: {
|
|
1707
|
+
readonly title: {
|
|
1708
|
+
readonly type: "string";
|
|
1709
|
+
};
|
|
1710
|
+
readonly url: {
|
|
1711
|
+
readonly type: "string";
|
|
1712
|
+
};
|
|
1713
|
+
readonly icon: {
|
|
1714
|
+
readonly type: "string";
|
|
1715
|
+
};
|
|
1716
|
+
readonly debugOnly: {
|
|
1717
|
+
readonly type: "boolean";
|
|
1718
|
+
};
|
|
1719
|
+
readonly badge: {
|
|
1720
|
+
readonly type: "string";
|
|
1721
|
+
};
|
|
1722
|
+
readonly roles: {
|
|
1723
|
+
readonly type: "array";
|
|
1724
|
+
readonly items: {
|
|
1725
|
+
readonly type: "string";
|
|
1726
|
+
};
|
|
1727
|
+
};
|
|
1728
|
+
};
|
|
1729
|
+
readonly required: readonly ["title"];
|
|
1730
|
+
};
|
|
1731
|
+
export declare const NavItemSchema: {
|
|
1732
|
+
readonly description: "导航菜单项";
|
|
1733
|
+
readonly type: "object";
|
|
1734
|
+
readonly properties: {
|
|
1735
|
+
readonly title: {
|
|
1736
|
+
readonly type: "string";
|
|
1737
|
+
};
|
|
1738
|
+
readonly url: {
|
|
1739
|
+
readonly type: "string";
|
|
1740
|
+
};
|
|
1741
|
+
readonly icon: {
|
|
1742
|
+
readonly type: "string";
|
|
1743
|
+
};
|
|
1744
|
+
readonly debugOnly: {
|
|
1745
|
+
readonly type: "boolean";
|
|
1746
|
+
};
|
|
1747
|
+
readonly badge: {
|
|
1748
|
+
readonly type: "string";
|
|
1749
|
+
};
|
|
1750
|
+
readonly roles: {
|
|
1751
|
+
readonly type: "array";
|
|
1752
|
+
readonly items: {
|
|
1753
|
+
readonly type: "string";
|
|
1754
|
+
};
|
|
1755
|
+
};
|
|
1756
|
+
readonly children: {
|
|
1757
|
+
readonly type: "array";
|
|
1758
|
+
readonly items: {
|
|
1759
|
+
readonly $ref: "#/components/schemas/NavItemChild";
|
|
1760
|
+
};
|
|
1761
|
+
};
|
|
1762
|
+
};
|
|
1763
|
+
readonly required: readonly ["title"];
|
|
1764
|
+
};
|
|
1765
|
+
export declare const DashUiResponseSchema: {
|
|
1766
|
+
readonly description: "DashUI响应";
|
|
1767
|
+
readonly type: "object";
|
|
1768
|
+
readonly properties: {
|
|
1769
|
+
readonly navItems: {
|
|
1770
|
+
readonly type: "array";
|
|
1771
|
+
readonly items: {
|
|
1772
|
+
readonly $ref: "#/components/schemas/NavItem";
|
|
1773
|
+
};
|
|
1774
|
+
};
|
|
1775
|
+
};
|
|
1776
|
+
readonly required: readonly ["navItems"];
|
|
1777
|
+
};
|
|
1778
|
+
export declare const OrganizationSchema: {
|
|
1779
|
+
readonly description: "Organization";
|
|
1780
|
+
readonly type: "object";
|
|
1781
|
+
readonly properties: {
|
|
1782
|
+
readonly id: {
|
|
1783
|
+
readonly type: "string";
|
|
1784
|
+
};
|
|
1785
|
+
readonly name: {
|
|
1786
|
+
readonly type: "string";
|
|
1787
|
+
readonly minLength: 1;
|
|
1788
|
+
readonly maxLength: 100;
|
|
1789
|
+
};
|
|
1790
|
+
readonly slug: {
|
|
1791
|
+
readonly type: "string";
|
|
1792
|
+
readonly minLength: 1;
|
|
1793
|
+
readonly maxLength: 50;
|
|
1794
|
+
};
|
|
1795
|
+
readonly logo: {
|
|
1796
|
+
readonly type: "string";
|
|
1797
|
+
};
|
|
1798
|
+
readonly metadata: {
|
|
1799
|
+
readonly type: "object";
|
|
1800
|
+
readonly propertyNames: {
|
|
1801
|
+
readonly type: "string";
|
|
1802
|
+
};
|
|
1803
|
+
readonly additionalProperties: {};
|
|
1804
|
+
};
|
|
1805
|
+
readonly createdAt: {
|
|
1806
|
+
readonly type: "string";
|
|
1807
|
+
};
|
|
1808
|
+
readonly updatedAt: {
|
|
1809
|
+
readonly type: "string";
|
|
1810
|
+
};
|
|
1811
|
+
};
|
|
1812
|
+
readonly required: readonly ["id", "name", "slug", "createdAt", "updatedAt"];
|
|
1813
|
+
};
|
|
1814
|
+
export declare const OrganizationCreateRequestSchema: {
|
|
1815
|
+
readonly description: "OrganizationCreateRequest";
|
|
1816
|
+
readonly type: "object";
|
|
1817
|
+
readonly properties: {
|
|
1818
|
+
readonly name: {
|
|
1819
|
+
readonly type: "string";
|
|
1820
|
+
readonly minLength: 1;
|
|
1821
|
+
readonly maxLength: 100;
|
|
1822
|
+
};
|
|
1823
|
+
readonly slug: {
|
|
1824
|
+
readonly type: "string";
|
|
1825
|
+
readonly minLength: 1;
|
|
1826
|
+
readonly maxLength: 50;
|
|
1827
|
+
};
|
|
1828
|
+
readonly logo: {
|
|
1829
|
+
readonly type: "string";
|
|
1830
|
+
};
|
|
1831
|
+
readonly metadata: {
|
|
1832
|
+
readonly type: "object";
|
|
1833
|
+
readonly propertyNames: {
|
|
1834
|
+
readonly type: "string";
|
|
1835
|
+
};
|
|
1836
|
+
readonly additionalProperties: {};
|
|
1837
|
+
};
|
|
1838
|
+
};
|
|
1839
|
+
readonly required: readonly ["name", "slug"];
|
|
1840
|
+
};
|
|
1841
|
+
export declare const OrganizationUpdateRequestSchema: {
|
|
1842
|
+
readonly description: "OrganizationUpdateRequest";
|
|
1843
|
+
readonly type: "object";
|
|
1844
|
+
readonly properties: {
|
|
1845
|
+
readonly name: {
|
|
1846
|
+
readonly type: "string";
|
|
1847
|
+
readonly minLength: 1;
|
|
1848
|
+
readonly maxLength: 100;
|
|
1849
|
+
};
|
|
1850
|
+
readonly logo: {
|
|
1851
|
+
readonly type: "string";
|
|
1852
|
+
};
|
|
1853
|
+
readonly metadata: {
|
|
1854
|
+
readonly type: "object";
|
|
1855
|
+
readonly propertyNames: {
|
|
1856
|
+
readonly type: "string";
|
|
1857
|
+
};
|
|
1858
|
+
readonly additionalProperties: {};
|
|
1859
|
+
};
|
|
1860
|
+
};
|
|
1861
|
+
};
|
|
1862
|
+
export declare const InvitationSchema: {
|
|
1863
|
+
readonly description: "Invitation";
|
|
1864
|
+
readonly type: "object";
|
|
1865
|
+
readonly properties: {
|
|
1866
|
+
readonly id: {
|
|
1867
|
+
readonly type: "string";
|
|
1868
|
+
};
|
|
1869
|
+
readonly organizationId: {
|
|
1870
|
+
readonly type: "string";
|
|
1871
|
+
};
|
|
1872
|
+
readonly email: {
|
|
406
1873
|
readonly type: "string";
|
|
407
|
-
readonly
|
|
1874
|
+
readonly format: "email";
|
|
1875
|
+
readonly pattern: "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$";
|
|
408
1876
|
};
|
|
409
|
-
readonly
|
|
1877
|
+
readonly role: {
|
|
410
1878
|
readonly type: "string";
|
|
1879
|
+
readonly enum: readonly ["admin", "member"];
|
|
411
1880
|
};
|
|
412
|
-
readonly
|
|
1881
|
+
readonly status: {
|
|
413
1882
|
readonly type: "string";
|
|
414
|
-
readonly
|
|
415
|
-
readonly format: "uri";
|
|
1883
|
+
readonly enum: readonly ["pending", "accepted", "rejected", "cancelled"];
|
|
416
1884
|
};
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
};
|
|
420
|
-
|
|
421
|
-
readonly type: "object";
|
|
422
|
-
readonly properties: {
|
|
423
|
-
readonly id: {
|
|
1885
|
+
readonly inviterId: {
|
|
1886
|
+
readonly type: "string";
|
|
1887
|
+
};
|
|
1888
|
+
readonly expiresAt: {
|
|
424
1889
|
readonly type: "string";
|
|
425
1890
|
};
|
|
426
1891
|
readonly createdAt: {
|
|
@@ -429,137 +1894,137 @@ export declare const SandboxSchema: {
|
|
|
429
1894
|
readonly updatedAt: {
|
|
430
1895
|
readonly type: "string";
|
|
431
1896
|
};
|
|
432
|
-
|
|
1897
|
+
};
|
|
1898
|
+
readonly required: readonly ["id", "organizationId", "email", "role", "status", "inviterId", "expiresAt", "createdAt", "updatedAt"];
|
|
1899
|
+
};
|
|
1900
|
+
export declare const InviteRequestSchema: {
|
|
1901
|
+
readonly description: "InviteRequest";
|
|
1902
|
+
readonly type: "object";
|
|
1903
|
+
readonly properties: {
|
|
1904
|
+
readonly email: {
|
|
433
1905
|
readonly type: "string";
|
|
434
|
-
readonly
|
|
1906
|
+
readonly format: "email";
|
|
1907
|
+
readonly pattern: "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$";
|
|
435
1908
|
};
|
|
436
|
-
readonly
|
|
1909
|
+
readonly role: {
|
|
1910
|
+
readonly default: "member";
|
|
437
1911
|
readonly type: "string";
|
|
1912
|
+
readonly enum: readonly ["admin", "member"];
|
|
438
1913
|
};
|
|
439
|
-
readonly
|
|
1914
|
+
readonly organizationId: {
|
|
440
1915
|
readonly type: "string";
|
|
441
1916
|
};
|
|
442
|
-
|
|
1917
|
+
};
|
|
1918
|
+
readonly required: readonly ["email"];
|
|
1919
|
+
};
|
|
1920
|
+
export declare const MemberSchema: {
|
|
1921
|
+
readonly description: "Member";
|
|
1922
|
+
readonly type: "object";
|
|
1923
|
+
readonly properties: {
|
|
1924
|
+
readonly id: {
|
|
443
1925
|
readonly type: "string";
|
|
444
1926
|
};
|
|
445
|
-
readonly
|
|
1927
|
+
readonly organizationId: {
|
|
446
1928
|
readonly type: "string";
|
|
447
1929
|
};
|
|
448
|
-
readonly
|
|
1930
|
+
readonly userId: {
|
|
449
1931
|
readonly type: "string";
|
|
450
1932
|
};
|
|
451
|
-
readonly
|
|
1933
|
+
readonly role: {
|
|
452
1934
|
readonly type: "string";
|
|
1935
|
+
readonly enum: readonly ["owner", "admin", "member"];
|
|
453
1936
|
};
|
|
454
|
-
readonly
|
|
455
|
-
readonly type: "
|
|
456
|
-
readonly additionalProperties: {
|
|
457
|
-
readonly nullable: true;
|
|
458
|
-
};
|
|
1937
|
+
readonly createdAt: {
|
|
1938
|
+
readonly type: "string";
|
|
459
1939
|
};
|
|
460
|
-
readonly
|
|
461
|
-
readonly type: "
|
|
462
|
-
readonly additionalProperties: {
|
|
463
|
-
readonly nullable: true;
|
|
464
|
-
};
|
|
1940
|
+
readonly updatedAt: {
|
|
1941
|
+
readonly type: "string";
|
|
465
1942
|
};
|
|
466
1943
|
};
|
|
467
|
-
readonly required: readonly ["id", "
|
|
1944
|
+
readonly required: readonly ["id", "organizationId", "userId", "role", "createdAt", "updatedAt"];
|
|
468
1945
|
};
|
|
469
|
-
export declare const
|
|
1946
|
+
export declare const UpdateMemberRoleRequestSchema: {
|
|
1947
|
+
readonly description: "UpdateMemberRoleRequest";
|
|
470
1948
|
readonly type: "object";
|
|
471
1949
|
readonly properties: {
|
|
472
|
-
readonly
|
|
473
|
-
readonly type: "
|
|
474
|
-
readonly
|
|
475
|
-
readonly $ref: "#/components/schemas/Sandbox";
|
|
476
|
-
};
|
|
477
|
-
};
|
|
478
|
-
readonly total: {
|
|
479
|
-
readonly type: "number";
|
|
1950
|
+
readonly role: {
|
|
1951
|
+
readonly type: "string";
|
|
1952
|
+
readonly enum: readonly ["admin", "member"];
|
|
480
1953
|
};
|
|
481
1954
|
};
|
|
482
|
-
readonly required: readonly ["
|
|
1955
|
+
readonly required: readonly ["role"];
|
|
483
1956
|
};
|
|
484
|
-
export declare const
|
|
1957
|
+
export declare const SysConfigRespSchema: {
|
|
1958
|
+
readonly description: "系统配置响应";
|
|
485
1959
|
readonly type: "object";
|
|
486
1960
|
readonly properties: {
|
|
487
|
-
readonly
|
|
488
|
-
readonly
|
|
1961
|
+
readonly len: {
|
|
1962
|
+
readonly description: "用户数量";
|
|
1963
|
+
readonly type: "number";
|
|
489
1964
|
};
|
|
490
1965
|
};
|
|
1966
|
+
readonly required: readonly ["len"];
|
|
491
1967
|
};
|
|
492
|
-
export declare const
|
|
1968
|
+
export declare const SystemConfigValueSchema: {
|
|
1969
|
+
readonly description: "系统配置值";
|
|
493
1970
|
readonly type: "object";
|
|
494
1971
|
readonly properties: {
|
|
495
|
-
readonly
|
|
496
|
-
readonly type: "
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
1972
|
+
readonly hatchet: {
|
|
1973
|
+
readonly type: "object";
|
|
1974
|
+
readonly properties: {
|
|
1975
|
+
readonly serverUrl: {
|
|
1976
|
+
readonly type: "string";
|
|
1977
|
+
readonly format: "uri";
|
|
1978
|
+
};
|
|
1979
|
+
readonly token: {
|
|
1980
|
+
readonly type: "string";
|
|
1981
|
+
};
|
|
1982
|
+
};
|
|
500
1983
|
};
|
|
501
1984
|
};
|
|
502
|
-
readonly required: readonly ["message", "serviceId"];
|
|
503
1985
|
};
|
|
504
|
-
export declare const
|
|
1986
|
+
export declare const SystemConfigResponseSchema: {
|
|
1987
|
+
readonly description: "系统配置响应";
|
|
505
1988
|
readonly type: "object";
|
|
506
1989
|
readonly properties: {
|
|
507
|
-
readonly
|
|
1990
|
+
readonly id: {
|
|
1991
|
+
readonly description: "配置ID";
|
|
508
1992
|
readonly type: "string";
|
|
509
|
-
readonly description: "菜单标题";
|
|
510
1993
|
};
|
|
511
|
-
readonly
|
|
512
|
-
readonly
|
|
513
|
-
readonly description: "菜单链接";
|
|
1994
|
+
readonly value: {
|
|
1995
|
+
readonly $ref: "#/components/schemas/SystemConfigValue";
|
|
514
1996
|
};
|
|
515
|
-
readonly
|
|
1997
|
+
readonly createdAt: {
|
|
1998
|
+
readonly description: "创建时间";
|
|
516
1999
|
readonly type: "string";
|
|
517
|
-
readonly description: "图标名称";
|
|
518
2000
|
};
|
|
519
|
-
readonly
|
|
2001
|
+
readonly updatedAt: {
|
|
2002
|
+
readonly description: "更新时间";
|
|
520
2003
|
readonly type: "string";
|
|
521
|
-
readonly description: "徽章文本";
|
|
522
|
-
};
|
|
523
|
-
readonly debugOnly: {
|
|
524
|
-
readonly type: "boolean";
|
|
525
|
-
readonly description: "是否仅在调试模式下显示";
|
|
526
|
-
};
|
|
527
|
-
readonly roles: {
|
|
528
|
-
readonly type: "array";
|
|
529
|
-
readonly items: {
|
|
530
|
-
readonly type: "string";
|
|
531
|
-
};
|
|
532
|
-
readonly description: "允许访问此菜单项的角色列表";
|
|
533
|
-
};
|
|
534
|
-
readonly children: {
|
|
535
|
-
readonly type: "array";
|
|
536
|
-
readonly items: {
|
|
537
|
-
readonly $ref: "#/components/schemas/NavItem";
|
|
538
|
-
};
|
|
539
|
-
readonly description: "子菜单项";
|
|
540
2004
|
};
|
|
541
2005
|
};
|
|
542
|
-
readonly required: readonly ["
|
|
543
|
-
readonly description: "导航菜单项";
|
|
2006
|
+
readonly required: readonly ["id", "value", "createdAt", "updatedAt"];
|
|
544
2007
|
};
|
|
545
2008
|
export declare const SingboxConfigSchema: {
|
|
2009
|
+
readonly description: "SingboxConfig";
|
|
546
2010
|
readonly type: "object";
|
|
547
2011
|
readonly properties: {
|
|
548
2012
|
readonly configUrl: {
|
|
549
2013
|
readonly type: "string";
|
|
550
2014
|
};
|
|
551
2015
|
readonly containerOnly: {
|
|
552
|
-
readonly type: "boolean";
|
|
553
2016
|
readonly default: false;
|
|
2017
|
+
readonly type: "boolean";
|
|
554
2018
|
};
|
|
555
2019
|
};
|
|
556
2020
|
};
|
|
557
2021
|
export declare const TunnelConfigSchema: {
|
|
2022
|
+
readonly description: "TunnelConfig";
|
|
558
2023
|
readonly type: "object";
|
|
559
2024
|
readonly properties: {
|
|
560
2025
|
readonly cloudflareToken: {
|
|
2026
|
+
readonly default: "";
|
|
561
2027
|
readonly type: "string";
|
|
562
|
-
readonly minLength: 1;
|
|
563
2028
|
};
|
|
564
2029
|
readonly tunnelName: {
|
|
565
2030
|
readonly type: "string";
|
|
@@ -573,9 +2038,10 @@ export declare const TunnelConfigSchema: {
|
|
|
573
2038
|
readonly $ref: "#/components/schemas/SingboxConfig";
|
|
574
2039
|
};
|
|
575
2040
|
};
|
|
576
|
-
readonly required: readonly ["
|
|
2041
|
+
readonly required: readonly ["localPort", "singbox"];
|
|
577
2042
|
};
|
|
578
2043
|
export declare const OnionConfigSchema: {
|
|
2044
|
+
readonly description: "OnionConfig";
|
|
579
2045
|
readonly type: "object";
|
|
580
2046
|
readonly properties: {
|
|
581
2047
|
readonly privateKey: {
|
|
@@ -584,19 +2050,20 @@ export declare const OnionConfigSchema: {
|
|
|
584
2050
|
};
|
|
585
2051
|
};
|
|
586
2052
|
export declare const VncServiceSchema: {
|
|
2053
|
+
readonly description: "VncService";
|
|
587
2054
|
readonly type: "object";
|
|
588
2055
|
readonly properties: {
|
|
589
2056
|
readonly enabled: {
|
|
590
|
-
readonly type: "boolean";
|
|
591
2057
|
readonly default: false;
|
|
2058
|
+
readonly type: "boolean";
|
|
592
2059
|
};
|
|
593
2060
|
readonly port: {
|
|
594
|
-
readonly type: "number";
|
|
595
2061
|
readonly default: 8444;
|
|
2062
|
+
readonly type: "number";
|
|
596
2063
|
};
|
|
597
2064
|
readonly display: {
|
|
598
|
-
readonly type: "string";
|
|
599
2065
|
readonly default: ":1";
|
|
2066
|
+
readonly type: "string";
|
|
600
2067
|
};
|
|
601
2068
|
readonly password: {
|
|
602
2069
|
readonly type: "string";
|
|
@@ -612,32 +2079,17 @@ export declare const VncServiceSchema: {
|
|
|
612
2079
|
};
|
|
613
2080
|
};
|
|
614
2081
|
};
|
|
615
|
-
export declare const HelloOnionWebServiceSchema: {
|
|
616
|
-
readonly type: "object";
|
|
617
|
-
readonly properties: {
|
|
618
|
-
readonly enabled: {
|
|
619
|
-
readonly type: "boolean";
|
|
620
|
-
readonly default: false;
|
|
621
|
-
};
|
|
622
|
-
readonly port: {
|
|
623
|
-
readonly type: "number";
|
|
624
|
-
readonly default: 8053;
|
|
625
|
-
};
|
|
626
|
-
readonly onionConfig: {
|
|
627
|
-
readonly $ref: "#/components/schemas/OnionConfig";
|
|
628
|
-
};
|
|
629
|
-
};
|
|
630
|
-
};
|
|
631
2082
|
export declare const MainApiServiceSchema: {
|
|
2083
|
+
readonly description: "MainApiService";
|
|
632
2084
|
readonly type: "object";
|
|
633
2085
|
readonly properties: {
|
|
634
2086
|
readonly enabled: {
|
|
635
|
-
readonly type: "boolean";
|
|
636
2087
|
readonly default: false;
|
|
2088
|
+
readonly type: "boolean";
|
|
637
2089
|
};
|
|
638
2090
|
readonly port: {
|
|
639
|
-
readonly type: "number";
|
|
640
2091
|
readonly default: 8000;
|
|
2092
|
+
readonly type: "number";
|
|
641
2093
|
};
|
|
642
2094
|
readonly onionConfig: {
|
|
643
2095
|
readonly $ref: "#/components/schemas/OnionConfig";
|
|
@@ -645,6 +2097,7 @@ export declare const MainApiServiceSchema: {
|
|
|
645
2097
|
};
|
|
646
2098
|
};
|
|
647
2099
|
export declare const GomtmConfigSchema: {
|
|
2100
|
+
readonly description: "GomtmConfig";
|
|
648
2101
|
readonly type: "object";
|
|
649
2102
|
readonly properties: {
|
|
650
2103
|
readonly tunnel: {
|
|
@@ -653,15 +2106,46 @@ export declare const GomtmConfigSchema: {
|
|
|
653
2106
|
readonly vnc: {
|
|
654
2107
|
readonly $ref: "#/components/schemas/VncService";
|
|
655
2108
|
};
|
|
656
|
-
readonly helloOnionWeb: {
|
|
657
|
-
readonly $ref: "#/components/schemas/HelloOnionWebService";
|
|
658
|
-
};
|
|
659
2109
|
readonly mainApi: {
|
|
660
2110
|
readonly $ref: "#/components/schemas/MainApiService";
|
|
661
2111
|
};
|
|
2112
|
+
readonly mtproxy: {
|
|
2113
|
+
readonly $ref: "#/components/schemas/MtproxyService";
|
|
2114
|
+
};
|
|
2115
|
+
};
|
|
2116
|
+
};
|
|
2117
|
+
export declare const MtgateProfileSchema: {
|
|
2118
|
+
readonly description: "Mtgate配置文件";
|
|
2119
|
+
readonly type: "object";
|
|
2120
|
+
readonly properties: {
|
|
2121
|
+
readonly id: {
|
|
2122
|
+
readonly type: "string";
|
|
2123
|
+
};
|
|
2124
|
+
readonly description: {
|
|
2125
|
+
readonly type: "string";
|
|
2126
|
+
};
|
|
2127
|
+
readonly config: {
|
|
2128
|
+
readonly $ref: "#/components/schemas/GomtmConfig";
|
|
2129
|
+
};
|
|
2130
|
+
readonly isDefault: {
|
|
2131
|
+
readonly default: false;
|
|
2132
|
+
readonly type: "boolean";
|
|
2133
|
+
};
|
|
2134
|
+
readonly createdAt: {
|
|
2135
|
+
readonly type: "string";
|
|
2136
|
+
readonly format: "date-time";
|
|
2137
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
2138
|
+
};
|
|
2139
|
+
readonly updatedAt: {
|
|
2140
|
+
readonly type: "string";
|
|
2141
|
+
readonly format: "date-time";
|
|
2142
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
2143
|
+
};
|
|
662
2144
|
};
|
|
2145
|
+
readonly required: readonly ["id", "config", "createdAt", "updatedAt"];
|
|
663
2146
|
};
|
|
664
2147
|
export declare const SiteSchema: {
|
|
2148
|
+
readonly description: "站点";
|
|
665
2149
|
readonly type: "object";
|
|
666
2150
|
readonly properties: {
|
|
667
2151
|
readonly id: {
|
|
@@ -687,9 +2171,10 @@ export declare const SiteSchema: {
|
|
|
687
2171
|
};
|
|
688
2172
|
readonly state: {
|
|
689
2173
|
readonly type: "object";
|
|
690
|
-
readonly
|
|
691
|
-
readonly
|
|
2174
|
+
readonly propertyNames: {
|
|
2175
|
+
readonly type: "string";
|
|
692
2176
|
};
|
|
2177
|
+
readonly additionalProperties: {};
|
|
693
2178
|
};
|
|
694
2179
|
readonly automationEnabled: {
|
|
695
2180
|
readonly type: "boolean";
|
|
@@ -697,28 +2182,8 @@ export declare const SiteSchema: {
|
|
|
697
2182
|
};
|
|
698
2183
|
readonly required: readonly ["id", "title", "organizationId", "enabled", "createdAt", "updatedAt", "automationEnabled"];
|
|
699
2184
|
};
|
|
700
|
-
export declare const SiteListSchema: {
|
|
701
|
-
readonly type: "object";
|
|
702
|
-
readonly properties: {
|
|
703
|
-
readonly sites: {
|
|
704
|
-
readonly type: "array";
|
|
705
|
-
readonly items: {
|
|
706
|
-
readonly $ref: "#/components/schemas/Site";
|
|
707
|
-
};
|
|
708
|
-
};
|
|
709
|
-
readonly total: {
|
|
710
|
-
readonly type: "number";
|
|
711
|
-
};
|
|
712
|
-
readonly limit: {
|
|
713
|
-
readonly type: "number";
|
|
714
|
-
};
|
|
715
|
-
readonly offset: {
|
|
716
|
-
readonly type: "number";
|
|
717
|
-
};
|
|
718
|
-
};
|
|
719
|
-
readonly required: readonly ["sites", "total", "limit", "offset"];
|
|
720
|
-
};
|
|
721
2185
|
export declare const SiteCreateRequestSchema: {
|
|
2186
|
+
readonly description: "站点创建请求";
|
|
722
2187
|
readonly type: "object";
|
|
723
2188
|
readonly properties: {
|
|
724
2189
|
readonly title: {
|
|
@@ -729,19 +2194,20 @@ export declare const SiteCreateRequestSchema: {
|
|
|
729
2194
|
readonly type: "string";
|
|
730
2195
|
};
|
|
731
2196
|
readonly enabled: {
|
|
732
|
-
readonly type: "boolean";
|
|
733
2197
|
readonly default: true;
|
|
2198
|
+
readonly type: "boolean";
|
|
734
2199
|
};
|
|
735
2200
|
readonly automationEnabled: {
|
|
736
|
-
readonly type: "boolean";
|
|
737
2201
|
readonly default: false;
|
|
2202
|
+
readonly type: "boolean";
|
|
738
2203
|
};
|
|
739
2204
|
readonly state: {
|
|
2205
|
+
readonly default: {};
|
|
740
2206
|
readonly type: "object";
|
|
741
|
-
readonly
|
|
742
|
-
readonly
|
|
2207
|
+
readonly propertyNames: {
|
|
2208
|
+
readonly type: "string";
|
|
743
2209
|
};
|
|
744
|
-
readonly
|
|
2210
|
+
readonly additionalProperties: {};
|
|
745
2211
|
};
|
|
746
2212
|
readonly organizationId: {
|
|
747
2213
|
readonly type: "string";
|
|
@@ -750,6 +2216,7 @@ export declare const SiteCreateRequestSchema: {
|
|
|
750
2216
|
readonly required: readonly ["title", "organizationId"];
|
|
751
2217
|
};
|
|
752
2218
|
export declare const SiteUpdateRequestSchema: {
|
|
2219
|
+
readonly description: "站点更新请求";
|
|
753
2220
|
readonly type: "object";
|
|
754
2221
|
readonly properties: {
|
|
755
2222
|
readonly id: {
|
|
@@ -770,9 +2237,10 @@ export declare const SiteUpdateRequestSchema: {
|
|
|
770
2237
|
};
|
|
771
2238
|
readonly state: {
|
|
772
2239
|
readonly type: "object";
|
|
773
|
-
readonly
|
|
774
|
-
readonly
|
|
2240
|
+
readonly propertyNames: {
|
|
2241
|
+
readonly type: "string";
|
|
775
2242
|
};
|
|
2243
|
+
readonly additionalProperties: {};
|
|
776
2244
|
};
|
|
777
2245
|
readonly tenantId: {
|
|
778
2246
|
readonly type: "string";
|
|
@@ -781,6 +2249,7 @@ export declare const SiteUpdateRequestSchema: {
|
|
|
781
2249
|
readonly required: readonly ["id", "tenantId"];
|
|
782
2250
|
};
|
|
783
2251
|
export declare const BlogPostSchema: {
|
|
2252
|
+
readonly description: "博客文章";
|
|
784
2253
|
readonly type: "object";
|
|
785
2254
|
readonly properties: {
|
|
786
2255
|
readonly id: {
|
|
@@ -788,9 +2257,13 @@ export declare const BlogPostSchema: {
|
|
|
788
2257
|
};
|
|
789
2258
|
readonly createdAt: {
|
|
790
2259
|
readonly type: "string";
|
|
2260
|
+
readonly format: "date-time";
|
|
2261
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
791
2262
|
};
|
|
792
2263
|
readonly updatedAt: {
|
|
793
2264
|
readonly type: "string";
|
|
2265
|
+
readonly format: "date-time";
|
|
2266
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
794
2267
|
};
|
|
795
2268
|
readonly title: {
|
|
796
2269
|
readonly type: "string";
|
|
@@ -812,6 +2285,8 @@ export declare const BlogPostSchema: {
|
|
|
812
2285
|
};
|
|
813
2286
|
readonly publishDate: {
|
|
814
2287
|
readonly type: "string";
|
|
2288
|
+
readonly format: "date-time";
|
|
2289
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
815
2290
|
};
|
|
816
2291
|
readonly siteId: {
|
|
817
2292
|
readonly type: "string";
|
|
@@ -830,6 +2305,8 @@ export declare const BlogPostSchema: {
|
|
|
830
2305
|
};
|
|
831
2306
|
readonly deletedAt: {
|
|
832
2307
|
readonly type: "string";
|
|
2308
|
+
readonly format: "date-time";
|
|
2309
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
833
2310
|
};
|
|
834
2311
|
readonly parentPostId: {
|
|
835
2312
|
readonly type: "string";
|
|
@@ -849,28 +2326,8 @@ export declare const BlogPostSchema: {
|
|
|
849
2326
|
};
|
|
850
2327
|
readonly required: readonly ["id", "createdAt", "updatedAt", "content", "slug", "status", "state", "siteId", "tenantId", "authorId"];
|
|
851
2328
|
};
|
|
852
|
-
export declare const BlogPostListSchema: {
|
|
853
|
-
readonly type: "object";
|
|
854
|
-
readonly properties: {
|
|
855
|
-
readonly posts: {
|
|
856
|
-
readonly type: "array";
|
|
857
|
-
readonly items: {
|
|
858
|
-
readonly $ref: "#/components/schemas/BlogPost";
|
|
859
|
-
};
|
|
860
|
-
};
|
|
861
|
-
readonly total: {
|
|
862
|
-
readonly type: "number";
|
|
863
|
-
};
|
|
864
|
-
readonly limit: {
|
|
865
|
-
readonly type: "number";
|
|
866
|
-
};
|
|
867
|
-
readonly offset: {
|
|
868
|
-
readonly type: "number";
|
|
869
|
-
};
|
|
870
|
-
};
|
|
871
|
-
readonly required: readonly ["posts", "total", "limit", "offset"];
|
|
872
|
-
};
|
|
873
2329
|
export declare const BlogPostCreateSchema: {
|
|
2330
|
+
readonly description: "创建博客文章请求";
|
|
874
2331
|
readonly type: "object";
|
|
875
2332
|
readonly properties: {
|
|
876
2333
|
readonly title: {
|
|
@@ -888,12 +2345,12 @@ export declare const BlogPostCreateSchema: {
|
|
|
888
2345
|
readonly type: "string";
|
|
889
2346
|
};
|
|
890
2347
|
readonly status: {
|
|
891
|
-
readonly type: "string";
|
|
892
2348
|
readonly default: "DRAFT";
|
|
2349
|
+
readonly type: "string";
|
|
893
2350
|
};
|
|
894
2351
|
readonly state: {
|
|
895
|
-
readonly type: "string";
|
|
896
2352
|
readonly default: "QUEUE";
|
|
2353
|
+
readonly type: "string";
|
|
897
2354
|
};
|
|
898
2355
|
readonly publishDate: {
|
|
899
2356
|
readonly type: "string";
|
|
@@ -912,6 +2369,7 @@ export declare const BlogPostCreateSchema: {
|
|
|
912
2369
|
readonly required: readonly ["content", "siteId"];
|
|
913
2370
|
};
|
|
914
2371
|
export declare const BlogPostUpdateSchema: {
|
|
2372
|
+
readonly description: "更新博客文章请求";
|
|
915
2373
|
readonly type: "object";
|
|
916
2374
|
readonly properties: {
|
|
917
2375
|
readonly title: {
|
|
@@ -944,7 +2402,30 @@ export declare const BlogPostUpdateSchema: {
|
|
|
944
2402
|
};
|
|
945
2403
|
};
|
|
946
2404
|
};
|
|
2405
|
+
export declare const SiteHostSchema: {
|
|
2406
|
+
readonly description: "SiteHost";
|
|
2407
|
+
readonly type: "object";
|
|
2408
|
+
readonly properties: {
|
|
2409
|
+
readonly id: {
|
|
2410
|
+
readonly type: "string";
|
|
2411
|
+
};
|
|
2412
|
+
readonly siteId: {
|
|
2413
|
+
readonly type: "string";
|
|
2414
|
+
};
|
|
2415
|
+
readonly host: {
|
|
2416
|
+
readonly type: "string";
|
|
2417
|
+
};
|
|
2418
|
+
readonly createdAt: {
|
|
2419
|
+
readonly type: "string";
|
|
2420
|
+
};
|
|
2421
|
+
readonly updatedAt: {
|
|
2422
|
+
readonly type: "string";
|
|
2423
|
+
};
|
|
2424
|
+
};
|
|
2425
|
+
readonly required: readonly ["id", "siteId", "host", "createdAt", "updatedAt"];
|
|
2426
|
+
};
|
|
947
2427
|
export declare const SiteHostCreateRequestSchema: {
|
|
2428
|
+
readonly description: "SiteHostCreateRequest";
|
|
948
2429
|
readonly type: "object";
|
|
949
2430
|
readonly properties: {
|
|
950
2431
|
readonly host: {
|
|
@@ -955,13 +2436,16 @@ export declare const SiteHostCreateRequestSchema: {
|
|
|
955
2436
|
readonly required: readonly ["host"];
|
|
956
2437
|
};
|
|
957
2438
|
export declare const AdkSessionStateSchema: {
|
|
2439
|
+
readonly default: {};
|
|
2440
|
+
readonly description: "ADK会话状态";
|
|
958
2441
|
readonly type: "object";
|
|
959
|
-
readonly
|
|
960
|
-
readonly
|
|
2442
|
+
readonly propertyNames: {
|
|
2443
|
+
readonly type: "string";
|
|
961
2444
|
};
|
|
962
|
-
readonly
|
|
2445
|
+
readonly additionalProperties: {};
|
|
963
2446
|
};
|
|
964
2447
|
export declare const AdkSessionSchema: {
|
|
2448
|
+
readonly description: "ADK会话";
|
|
965
2449
|
readonly type: "object";
|
|
966
2450
|
readonly properties: {
|
|
967
2451
|
readonly id: {
|
|
@@ -977,11 +2461,9 @@ export declare const AdkSessionSchema: {
|
|
|
977
2461
|
readonly $ref: "#/components/schemas/AdkSessionState";
|
|
978
2462
|
};
|
|
979
2463
|
readonly events: {
|
|
980
|
-
readonly type: "array";
|
|
981
|
-
readonly items: {
|
|
982
|
-
readonly nullable: true;
|
|
983
|
-
};
|
|
984
2464
|
readonly default: readonly [];
|
|
2465
|
+
readonly type: "array";
|
|
2466
|
+
readonly items: {};
|
|
985
2467
|
};
|
|
986
2468
|
readonly last_update_time: {
|
|
987
2469
|
readonly type: "number";
|
|
@@ -990,6 +2472,7 @@ export declare const AdkSessionSchema: {
|
|
|
990
2472
|
readonly required: readonly ["id", "app_name", "user_id"];
|
|
991
2473
|
};
|
|
992
2474
|
export declare const AdkSessionCreateReqSchema: {
|
|
2475
|
+
readonly description: "创建会话请求";
|
|
993
2476
|
readonly type: "object";
|
|
994
2477
|
readonly properties: {
|
|
995
2478
|
readonly app_name: {
|
|
@@ -1008,6 +2491,7 @@ export declare const AdkSessionCreateReqSchema: {
|
|
|
1008
2491
|
readonly required: readonly ["app_name", "user_id"];
|
|
1009
2492
|
};
|
|
1010
2493
|
export declare const AdkSessionGetSchema: {
|
|
2494
|
+
readonly description: "获取会话响应";
|
|
1011
2495
|
readonly type: "object";
|
|
1012
2496
|
readonly properties: {
|
|
1013
2497
|
readonly id: {
|
|
@@ -1023,11 +2507,9 @@ export declare const AdkSessionGetSchema: {
|
|
|
1023
2507
|
readonly $ref: "#/components/schemas/AdkSessionState";
|
|
1024
2508
|
};
|
|
1025
2509
|
readonly events: {
|
|
1026
|
-
readonly type: "array";
|
|
1027
|
-
readonly items: {
|
|
1028
|
-
readonly nullable: true;
|
|
1029
|
-
};
|
|
1030
2510
|
readonly default: readonly [];
|
|
2511
|
+
readonly type: "array";
|
|
2512
|
+
readonly items: {};
|
|
1031
2513
|
};
|
|
1032
2514
|
readonly last_update_time: {
|
|
1033
2515
|
readonly type: "number";
|
|
@@ -1036,6 +2518,7 @@ export declare const AdkSessionGetSchema: {
|
|
|
1036
2518
|
readonly required: readonly ["id", "app_name", "user_id"];
|
|
1037
2519
|
};
|
|
1038
2520
|
export declare const AdkSessionGetReqSchema: {
|
|
2521
|
+
readonly description: "获取会话请求";
|
|
1039
2522
|
readonly type: "object";
|
|
1040
2523
|
readonly properties: {
|
|
1041
2524
|
readonly app_name: {
|
|
@@ -1057,42 +2540,46 @@ export declare const AdkSessionGetReqSchema: {
|
|
|
1057
2540
|
readonly required: readonly ["app_name", "user_id", "session_id"];
|
|
1058
2541
|
};
|
|
1059
2542
|
export declare const AdkSessionListSchema: {
|
|
2543
|
+
readonly description: "列表会话响应";
|
|
1060
2544
|
readonly type: "object";
|
|
1061
2545
|
readonly properties: {
|
|
1062
|
-
readonly
|
|
1063
|
-
readonly type: "
|
|
1064
|
-
readonly
|
|
1065
|
-
readonly
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
readonly type: "string";
|
|
2546
|
+
readonly paginate: {
|
|
2547
|
+
readonly type: "object";
|
|
2548
|
+
readonly properties: {
|
|
2549
|
+
readonly total: {
|
|
2550
|
+
readonly description: "Total number of records";
|
|
2551
|
+
readonly type: "number";
|
|
2552
|
+
};
|
|
2553
|
+
readonly page: {
|
|
2554
|
+
readonly description: "Current page number";
|
|
2555
|
+
readonly type: "number";
|
|
2556
|
+
};
|
|
2557
|
+
readonly pageSize: {
|
|
2558
|
+
readonly description: "Number of records per page";
|
|
2559
|
+
readonly type: "number";
|
|
2560
|
+
};
|
|
2561
|
+
readonly totalPages: {
|
|
2562
|
+
readonly description: "Total number of pages";
|
|
2563
|
+
readonly type: "number";
|
|
2564
|
+
};
|
|
2565
|
+
readonly hasNext: {
|
|
2566
|
+
readonly description: "Whether there is a next page";
|
|
2567
|
+
readonly type: "boolean";
|
|
2568
|
+
};
|
|
2569
|
+
};
|
|
2570
|
+
readonly required: readonly ["total", "page", "pageSize", "totalPages", "hasNext"];
|
|
1088
2571
|
};
|
|
1089
|
-
readonly
|
|
1090
|
-
readonly type: "
|
|
2572
|
+
readonly rows: {
|
|
2573
|
+
readonly type: "array";
|
|
2574
|
+
readonly items: {
|
|
2575
|
+
readonly $ref: "#/components/schemas/AdkSession";
|
|
2576
|
+
};
|
|
1091
2577
|
};
|
|
1092
2578
|
};
|
|
1093
|
-
readonly required: readonly ["
|
|
2579
|
+
readonly required: readonly ["paginate", "rows"];
|
|
1094
2580
|
};
|
|
1095
2581
|
export declare const AdkSessionAppendEventResultSchema: {
|
|
2582
|
+
readonly description: "追加事件响应";
|
|
1096
2583
|
readonly type: "object";
|
|
1097
2584
|
readonly properties: {
|
|
1098
2585
|
readonly timestamp: {
|
|
@@ -1102,6 +2589,7 @@ export declare const AdkSessionAppendEventResultSchema: {
|
|
|
1102
2589
|
readonly required: readonly ["timestamp"];
|
|
1103
2590
|
};
|
|
1104
2591
|
export declare const AdkEventSchema: {
|
|
2592
|
+
readonly description: "ADK事件";
|
|
1105
2593
|
readonly type: "object";
|
|
1106
2594
|
readonly properties: {
|
|
1107
2595
|
readonly invocation_id: {
|
|
@@ -1110,9 +2598,7 @@ export declare const AdkEventSchema: {
|
|
|
1110
2598
|
readonly author: {
|
|
1111
2599
|
readonly type: "string";
|
|
1112
2600
|
};
|
|
1113
|
-
readonly actions: {
|
|
1114
|
-
readonly nullable: true;
|
|
1115
|
-
};
|
|
2601
|
+
readonly actions: {};
|
|
1116
2602
|
readonly long_running_tool_ids: {
|
|
1117
2603
|
readonly type: "array";
|
|
1118
2604
|
readonly items: {
|
|
@@ -1128,9 +2614,7 @@ export declare const AdkEventSchema: {
|
|
|
1128
2614
|
readonly timestamp: {
|
|
1129
2615
|
readonly type: "number";
|
|
1130
2616
|
};
|
|
1131
|
-
readonly content: {
|
|
1132
|
-
readonly nullable: true;
|
|
1133
|
-
};
|
|
2617
|
+
readonly content: {};
|
|
1134
2618
|
readonly partial: {
|
|
1135
2619
|
readonly type: "boolean";
|
|
1136
2620
|
};
|
|
@@ -1146,16 +2630,13 @@ export declare const AdkEventSchema: {
|
|
|
1146
2630
|
readonly interrupted: {
|
|
1147
2631
|
readonly type: "boolean";
|
|
1148
2632
|
};
|
|
1149
|
-
readonly grounding_metadata: {
|
|
1150
|
-
|
|
1151
|
-
};
|
|
1152
|
-
readonly custom_metadata: {
|
|
1153
|
-
readonly nullable: true;
|
|
1154
|
-
};
|
|
2633
|
+
readonly grounding_metadata: {};
|
|
2634
|
+
readonly custom_metadata: {};
|
|
1155
2635
|
};
|
|
1156
2636
|
readonly required: readonly ["invocation_id", "author", "id", "timestamp"];
|
|
1157
2637
|
};
|
|
1158
2638
|
export declare const AdkSessionAppendEventBodySchema: {
|
|
2639
|
+
readonly description: "追加事件请求";
|
|
1159
2640
|
readonly type: "object";
|
|
1160
2641
|
readonly properties: {
|
|
1161
2642
|
readonly session: {
|
|
@@ -1168,15 +2649,19 @@ export declare const AdkSessionAppendEventBodySchema: {
|
|
|
1168
2649
|
readonly required: readonly ["session", "event"];
|
|
1169
2650
|
};
|
|
1170
2651
|
export declare const AdkArtifactSaveSchema: {
|
|
2652
|
+
readonly description: "保存artifact响应";
|
|
1171
2653
|
readonly type: "object";
|
|
1172
2654
|
readonly properties: {
|
|
1173
2655
|
readonly version: {
|
|
1174
2656
|
readonly type: "integer";
|
|
2657
|
+
readonly minimum: -9007199254740991;
|
|
2658
|
+
readonly maximum: 9007199254740991;
|
|
1175
2659
|
};
|
|
1176
2660
|
};
|
|
1177
2661
|
readonly required: readonly ["version"];
|
|
1178
2662
|
};
|
|
1179
2663
|
export declare const AdkArtifactSaveRequestSchema: {
|
|
2664
|
+
readonly description: "保存artifact请求";
|
|
1180
2665
|
readonly type: "object";
|
|
1181
2666
|
readonly properties: {
|
|
1182
2667
|
readonly app_name: {
|
|
@@ -1194,13 +2679,12 @@ export declare const AdkArtifactSaveRequestSchema: {
|
|
|
1194
2679
|
readonly content_type: {
|
|
1195
2680
|
readonly type: "string";
|
|
1196
2681
|
};
|
|
1197
|
-
readonly content_data: {
|
|
1198
|
-
readonly nullable: true;
|
|
1199
|
-
};
|
|
2682
|
+
readonly content_data: {};
|
|
1200
2683
|
};
|
|
1201
|
-
readonly required: readonly ["app_name", "user_id", "session_id", "filename"];
|
|
2684
|
+
readonly required: readonly ["app_name", "user_id", "session_id", "filename", "content_data"];
|
|
1202
2685
|
};
|
|
1203
|
-
export declare const
|
|
2686
|
+
export declare const AdkArtifactRespSchema: {
|
|
2687
|
+
readonly description: "Artifact响应";
|
|
1204
2688
|
readonly type: "object";
|
|
1205
2689
|
readonly properties: {
|
|
1206
2690
|
readonly app_name: {
|
|
@@ -1217,13 +2701,13 @@ export declare const AdkArtifactResponseSchema: {
|
|
|
1217
2701
|
};
|
|
1218
2702
|
readonly version: {
|
|
1219
2703
|
readonly type: "integer";
|
|
2704
|
+
readonly minimum: -9007199254740991;
|
|
2705
|
+
readonly maximum: 9007199254740991;
|
|
1220
2706
|
};
|
|
1221
2707
|
readonly content_type: {
|
|
1222
2708
|
readonly type: "string";
|
|
1223
2709
|
};
|
|
1224
|
-
readonly content_data: {
|
|
1225
|
-
readonly nullable: true;
|
|
1226
|
-
};
|
|
2710
|
+
readonly content_data: {};
|
|
1227
2711
|
readonly created_at: {
|
|
1228
2712
|
readonly type: "string";
|
|
1229
2713
|
};
|
|
@@ -1231,9 +2715,10 @@ export declare const AdkArtifactResponseSchema: {
|
|
|
1231
2715
|
readonly type: "string";
|
|
1232
2716
|
};
|
|
1233
2717
|
};
|
|
1234
|
-
readonly required: readonly ["app_name", "user_id", "session_id", "filename", "version", "created_at", "updated_at"];
|
|
2718
|
+
readonly required: readonly ["app_name", "user_id", "session_id", "filename", "version", "content_data", "created_at", "updated_at"];
|
|
1235
2719
|
};
|
|
1236
2720
|
export declare const AdkArtifactLoadRequestSchema: {
|
|
2721
|
+
readonly description: "加载artifact请求";
|
|
1237
2722
|
readonly type: "object";
|
|
1238
2723
|
readonly properties: {
|
|
1239
2724
|
readonly app_name: {
|
|
@@ -1250,11 +2735,14 @@ export declare const AdkArtifactLoadRequestSchema: {
|
|
|
1250
2735
|
};
|
|
1251
2736
|
readonly version: {
|
|
1252
2737
|
readonly type: "integer";
|
|
2738
|
+
readonly minimum: -9007199254740991;
|
|
2739
|
+
readonly maximum: 9007199254740991;
|
|
1253
2740
|
};
|
|
1254
2741
|
};
|
|
1255
2742
|
readonly required: readonly ["app_name", "user_id", "session_id", "filename"];
|
|
1256
2743
|
};
|
|
1257
2744
|
export declare const AdkArtifactSummarySchema: {
|
|
2745
|
+
readonly description: "Artifact摘要";
|
|
1258
2746
|
readonly type: "object";
|
|
1259
2747
|
readonly properties: {
|
|
1260
2748
|
readonly app_name: {
|
|
@@ -1271,12 +2759,16 @@ export declare const AdkArtifactSummarySchema: {
|
|
|
1271
2759
|
};
|
|
1272
2760
|
readonly version: {
|
|
1273
2761
|
readonly type: "integer";
|
|
2762
|
+
readonly minimum: -9007199254740991;
|
|
2763
|
+
readonly maximum: 9007199254740991;
|
|
1274
2764
|
};
|
|
1275
2765
|
readonly content_type: {
|
|
1276
2766
|
readonly type: "string";
|
|
1277
2767
|
};
|
|
1278
2768
|
readonly size: {
|
|
1279
2769
|
readonly type: "integer";
|
|
2770
|
+
readonly minimum: -9007199254740991;
|
|
2771
|
+
readonly maximum: 9007199254740991;
|
|
1280
2772
|
};
|
|
1281
2773
|
readonly created_at: {
|
|
1282
2774
|
readonly type: "string";
|
|
@@ -1288,21 +2780,46 @@ export declare const AdkArtifactSummarySchema: {
|
|
|
1288
2780
|
readonly required: readonly ["app_name", "user_id", "session_id", "filename", "version", "created_at", "updated_at"];
|
|
1289
2781
|
};
|
|
1290
2782
|
export declare const AdkArtifactListSchema: {
|
|
2783
|
+
readonly description: "列表artifacts响应";
|
|
1291
2784
|
readonly type: "object";
|
|
1292
2785
|
readonly properties: {
|
|
1293
|
-
readonly
|
|
2786
|
+
readonly paginate: {
|
|
2787
|
+
readonly type: "object";
|
|
2788
|
+
readonly properties: {
|
|
2789
|
+
readonly total: {
|
|
2790
|
+
readonly description: "Total number of records";
|
|
2791
|
+
readonly type: "number";
|
|
2792
|
+
};
|
|
2793
|
+
readonly page: {
|
|
2794
|
+
readonly description: "Current page number";
|
|
2795
|
+
readonly type: "number";
|
|
2796
|
+
};
|
|
2797
|
+
readonly pageSize: {
|
|
2798
|
+
readonly description: "Number of records per page";
|
|
2799
|
+
readonly type: "number";
|
|
2800
|
+
};
|
|
2801
|
+
readonly totalPages: {
|
|
2802
|
+
readonly description: "Total number of pages";
|
|
2803
|
+
readonly type: "number";
|
|
2804
|
+
};
|
|
2805
|
+
readonly hasNext: {
|
|
2806
|
+
readonly description: "Whether there is a next page";
|
|
2807
|
+
readonly type: "boolean";
|
|
2808
|
+
};
|
|
2809
|
+
};
|
|
2810
|
+
readonly required: readonly ["total", "page", "pageSize", "totalPages", "hasNext"];
|
|
2811
|
+
};
|
|
2812
|
+
readonly rows: {
|
|
1294
2813
|
readonly type: "array";
|
|
1295
2814
|
readonly items: {
|
|
1296
2815
|
readonly $ref: "#/components/schemas/AdkArtifactSummary";
|
|
1297
2816
|
};
|
|
1298
2817
|
};
|
|
1299
|
-
readonly total: {
|
|
1300
|
-
readonly type: "integer";
|
|
1301
|
-
};
|
|
1302
2818
|
};
|
|
1303
|
-
readonly required: readonly ["
|
|
2819
|
+
readonly required: readonly ["paginate", "rows"];
|
|
1304
2820
|
};
|
|
1305
2821
|
export declare const AdkArtifactListKeysSchema: {
|
|
2822
|
+
readonly description: "列表artifact keys响应";
|
|
1306
2823
|
readonly type: "object";
|
|
1307
2824
|
readonly properties: {
|
|
1308
2825
|
readonly filenames: {
|
|
@@ -1314,37 +2831,23 @@ export declare const AdkArtifactListKeysSchema: {
|
|
|
1314
2831
|
};
|
|
1315
2832
|
readonly required: readonly ["filenames"];
|
|
1316
2833
|
};
|
|
1317
|
-
export declare const AdkArtifactDeleteRequestSchema: {
|
|
1318
|
-
readonly type: "object";
|
|
1319
|
-
readonly properties: {
|
|
1320
|
-
readonly app_name: {
|
|
1321
|
-
readonly type: "string";
|
|
1322
|
-
};
|
|
1323
|
-
readonly user_id: {
|
|
1324
|
-
readonly type: "string";
|
|
1325
|
-
};
|
|
1326
|
-
readonly session_id: {
|
|
1327
|
-
readonly type: "string";
|
|
1328
|
-
};
|
|
1329
|
-
readonly filename: {
|
|
1330
|
-
readonly type: "string";
|
|
1331
|
-
};
|
|
1332
|
-
};
|
|
1333
|
-
readonly required: readonly ["app_name", "user_id", "session_id", "filename"];
|
|
1334
|
-
};
|
|
1335
2834
|
export declare const AdkArtifactListVersionsSchema: {
|
|
2835
|
+
readonly description: "列表版本响应";
|
|
1336
2836
|
readonly type: "object";
|
|
1337
2837
|
readonly properties: {
|
|
1338
2838
|
readonly versions: {
|
|
1339
2839
|
readonly type: "array";
|
|
1340
2840
|
readonly items: {
|
|
1341
2841
|
readonly type: "integer";
|
|
2842
|
+
readonly minimum: -9007199254740991;
|
|
2843
|
+
readonly maximum: 9007199254740991;
|
|
1342
2844
|
};
|
|
1343
2845
|
};
|
|
1344
2846
|
};
|
|
1345
2847
|
readonly required: readonly ["versions"];
|
|
1346
2848
|
};
|
|
1347
2849
|
export declare const AdkTaskSaveSchema: {
|
|
2850
|
+
readonly description: "任务保存响应";
|
|
1348
2851
|
readonly type: "object";
|
|
1349
2852
|
readonly properties: {
|
|
1350
2853
|
readonly success: {
|
|
@@ -1354,11 +2857,12 @@ export declare const AdkTaskSaveSchema: {
|
|
|
1354
2857
|
readonly required: readonly ["success"];
|
|
1355
2858
|
};
|
|
1356
2859
|
export declare const MessageSchema: {
|
|
2860
|
+
readonly description: "Message";
|
|
1357
2861
|
readonly type: "object";
|
|
1358
2862
|
readonly properties: {
|
|
1359
2863
|
readonly kind: {
|
|
1360
2864
|
readonly type: "string";
|
|
1361
|
-
readonly
|
|
2865
|
+
readonly const: "message";
|
|
1362
2866
|
};
|
|
1363
2867
|
readonly messageId: {
|
|
1364
2868
|
readonly type: "string";
|
|
@@ -1369,9 +2873,7 @@ export declare const MessageSchema: {
|
|
|
1369
2873
|
};
|
|
1370
2874
|
readonly parts: {
|
|
1371
2875
|
readonly type: "array";
|
|
1372
|
-
readonly items: {
|
|
1373
|
-
readonly nullable: true;
|
|
1374
|
-
};
|
|
2876
|
+
readonly items: {};
|
|
1375
2877
|
};
|
|
1376
2878
|
readonly contextId: {
|
|
1377
2879
|
readonly type: "string";
|
|
@@ -1393,18 +2895,21 @@ export declare const MessageSchema: {
|
|
|
1393
2895
|
};
|
|
1394
2896
|
readonly metadata: {
|
|
1395
2897
|
readonly type: "object";
|
|
1396
|
-
readonly
|
|
1397
|
-
readonly
|
|
2898
|
+
readonly propertyNames: {
|
|
2899
|
+
readonly type: "string";
|
|
1398
2900
|
};
|
|
2901
|
+
readonly additionalProperties: {};
|
|
1399
2902
|
};
|
|
1400
2903
|
};
|
|
1401
2904
|
readonly required: readonly ["kind", "messageId", "role", "parts"];
|
|
1402
2905
|
};
|
|
1403
2906
|
export declare const TaskStateSchema: {
|
|
2907
|
+
readonly description: "TaskState";
|
|
1404
2908
|
readonly type: "string";
|
|
1405
2909
|
readonly enum: readonly ["submitted", "running", "completed", "failed", "cancelled"];
|
|
1406
2910
|
};
|
|
1407
2911
|
export declare const TaskStatusSchema: {
|
|
2912
|
+
readonly description: "TaskStatus";
|
|
1408
2913
|
readonly type: "object";
|
|
1409
2914
|
readonly properties: {
|
|
1410
2915
|
readonly message: {
|
|
@@ -1420,6 +2925,7 @@ export declare const TaskStatusSchema: {
|
|
|
1420
2925
|
readonly required: readonly ["state"];
|
|
1421
2926
|
};
|
|
1422
2927
|
export declare const ArtifactSchema: {
|
|
2928
|
+
readonly description: "Artifact";
|
|
1423
2929
|
readonly type: "object";
|
|
1424
2930
|
readonly properties: {
|
|
1425
2931
|
readonly artifactId: {
|
|
@@ -1433,9 +2939,7 @@ export declare const ArtifactSchema: {
|
|
|
1433
2939
|
};
|
|
1434
2940
|
readonly parts: {
|
|
1435
2941
|
readonly type: "array";
|
|
1436
|
-
readonly items: {
|
|
1437
|
-
readonly nullable: true;
|
|
1438
|
-
};
|
|
2942
|
+
readonly items: {};
|
|
1439
2943
|
};
|
|
1440
2944
|
readonly extensions: {
|
|
1441
2945
|
readonly type: "array";
|
|
@@ -1445,14 +2949,16 @@ export declare const ArtifactSchema: {
|
|
|
1445
2949
|
};
|
|
1446
2950
|
readonly metadata: {
|
|
1447
2951
|
readonly type: "object";
|
|
1448
|
-
readonly
|
|
1449
|
-
readonly
|
|
2952
|
+
readonly propertyNames: {
|
|
2953
|
+
readonly type: "string";
|
|
1450
2954
|
};
|
|
2955
|
+
readonly additionalProperties: {};
|
|
1451
2956
|
};
|
|
1452
2957
|
};
|
|
1453
2958
|
readonly required: readonly ["artifactId", "parts"];
|
|
1454
2959
|
};
|
|
1455
2960
|
export declare const AdkTaskSaveRequestSchema: {
|
|
2961
|
+
readonly description: "保存任务请求";
|
|
1456
2962
|
readonly type: "object";
|
|
1457
2963
|
readonly properties: {
|
|
1458
2964
|
readonly id: {
|
|
@@ -1462,8 +2968,8 @@ export declare const AdkTaskSaveRequestSchema: {
|
|
|
1462
2968
|
readonly type: "string";
|
|
1463
2969
|
};
|
|
1464
2970
|
readonly kind: {
|
|
1465
|
-
readonly type: "string";
|
|
1466
2971
|
readonly default: "task";
|
|
2972
|
+
readonly type: "string";
|
|
1467
2973
|
};
|
|
1468
2974
|
readonly status: {
|
|
1469
2975
|
readonly $ref: "#/components/schemas/TaskStatus";
|
|
@@ -1482,14 +2988,16 @@ export declare const AdkTaskSaveRequestSchema: {
|
|
|
1482
2988
|
};
|
|
1483
2989
|
readonly metadata: {
|
|
1484
2990
|
readonly type: "object";
|
|
1485
|
-
readonly
|
|
1486
|
-
readonly
|
|
2991
|
+
readonly propertyNames: {
|
|
2992
|
+
readonly type: "string";
|
|
1487
2993
|
};
|
|
2994
|
+
readonly additionalProperties: {};
|
|
1488
2995
|
};
|
|
1489
2996
|
};
|
|
1490
2997
|
readonly required: readonly ["id", "context_id", "status"];
|
|
1491
2998
|
};
|
|
1492
2999
|
export declare const TaskSchema: {
|
|
3000
|
+
readonly description: "Task";
|
|
1493
3001
|
readonly type: "object";
|
|
1494
3002
|
readonly properties: {
|
|
1495
3003
|
readonly id: {
|
|
@@ -1499,8 +3007,8 @@ export declare const TaskSchema: {
|
|
|
1499
3007
|
readonly type: "string";
|
|
1500
3008
|
};
|
|
1501
3009
|
readonly kind: {
|
|
1502
|
-
readonly type: "string";
|
|
1503
3010
|
readonly default: "task";
|
|
3011
|
+
readonly type: "string";
|
|
1504
3012
|
};
|
|
1505
3013
|
readonly status: {
|
|
1506
3014
|
readonly $ref: "#/components/schemas/TaskStatus";
|
|
@@ -1519,23 +3027,24 @@ export declare const TaskSchema: {
|
|
|
1519
3027
|
};
|
|
1520
3028
|
readonly metadata: {
|
|
1521
3029
|
readonly type: "object";
|
|
1522
|
-
readonly
|
|
1523
|
-
readonly
|
|
3030
|
+
readonly propertyNames: {
|
|
3031
|
+
readonly type: "string";
|
|
1524
3032
|
};
|
|
3033
|
+
readonly additionalProperties: {};
|
|
1525
3034
|
};
|
|
1526
3035
|
};
|
|
1527
3036
|
readonly required: readonly ["id", "context_id", "status"];
|
|
1528
3037
|
};
|
|
1529
3038
|
export declare const AdkTaskGetSchema: {
|
|
3039
|
+
readonly description: "获取任务响应";
|
|
1530
3040
|
readonly anyOf: readonly [{
|
|
1531
3041
|
readonly $ref: "#/components/schemas/Task";
|
|
1532
3042
|
}, {
|
|
1533
|
-
readonly
|
|
1534
|
-
}, {
|
|
1535
|
-
readonly nullable: true;
|
|
3043
|
+
readonly type: "null";
|
|
1536
3044
|
}];
|
|
1537
3045
|
};
|
|
1538
3046
|
export declare const AdkTaskGetRequestSchema: {
|
|
3047
|
+
readonly description: "获取任务请求";
|
|
1539
3048
|
readonly type: "object";
|
|
1540
3049
|
readonly properties: {
|
|
1541
3050
|
readonly task_id: {
|
|
@@ -1545,33 +3054,299 @@ export declare const AdkTaskGetRequestSchema: {
|
|
|
1545
3054
|
readonly required: readonly ["task_id"];
|
|
1546
3055
|
};
|
|
1547
3056
|
export declare const AdkTaskListSchema: {
|
|
3057
|
+
readonly description: "任务列表响应";
|
|
1548
3058
|
readonly type: "object";
|
|
1549
3059
|
readonly properties: {
|
|
1550
|
-
readonly
|
|
3060
|
+
readonly paginate: {
|
|
3061
|
+
readonly type: "object";
|
|
3062
|
+
readonly properties: {
|
|
3063
|
+
readonly total: {
|
|
3064
|
+
readonly description: "Total number of records";
|
|
3065
|
+
readonly type: "number";
|
|
3066
|
+
};
|
|
3067
|
+
readonly page: {
|
|
3068
|
+
readonly description: "Current page number";
|
|
3069
|
+
readonly type: "number";
|
|
3070
|
+
};
|
|
3071
|
+
readonly pageSize: {
|
|
3072
|
+
readonly description: "Number of records per page";
|
|
3073
|
+
readonly type: "number";
|
|
3074
|
+
};
|
|
3075
|
+
readonly totalPages: {
|
|
3076
|
+
readonly description: "Total number of pages";
|
|
3077
|
+
readonly type: "number";
|
|
3078
|
+
};
|
|
3079
|
+
readonly hasNext: {
|
|
3080
|
+
readonly description: "Whether there is a next page";
|
|
3081
|
+
readonly type: "boolean";
|
|
3082
|
+
};
|
|
3083
|
+
};
|
|
3084
|
+
readonly required: readonly ["total", "page", "pageSize", "totalPages", "hasNext"];
|
|
3085
|
+
};
|
|
3086
|
+
readonly rows: {
|
|
1551
3087
|
readonly type: "array";
|
|
1552
3088
|
readonly items: {
|
|
1553
3089
|
readonly $ref: "#/components/schemas/Task";
|
|
1554
3090
|
};
|
|
1555
3091
|
};
|
|
1556
3092
|
};
|
|
1557
|
-
readonly required: readonly ["
|
|
3093
|
+
readonly required: readonly ["paginate", "rows"];
|
|
1558
3094
|
};
|
|
1559
|
-
export declare const
|
|
3095
|
+
export declare const MtWorkerSchema: {
|
|
3096
|
+
readonly description: "Mtworker";
|
|
1560
3097
|
readonly type: "object";
|
|
1561
3098
|
readonly properties: {
|
|
1562
|
-
readonly
|
|
3099
|
+
readonly id: {
|
|
3100
|
+
readonly type: "string";
|
|
3101
|
+
};
|
|
3102
|
+
readonly organizationId: {
|
|
3103
|
+
readonly type: "string";
|
|
3104
|
+
};
|
|
3105
|
+
readonly description: {
|
|
3106
|
+
readonly type: "string";
|
|
3107
|
+
};
|
|
3108
|
+
readonly config: {};
|
|
3109
|
+
readonly status: {
|
|
3110
|
+
readonly default: "offline";
|
|
3111
|
+
readonly type: "string";
|
|
3112
|
+
readonly enum: readonly ["offline", "online", "starting", "stopping", "error"];
|
|
3113
|
+
};
|
|
3114
|
+
readonly lastHeartbeat: {
|
|
3115
|
+
readonly type: "string";
|
|
3116
|
+
readonly format: "date-time";
|
|
3117
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
3118
|
+
};
|
|
3119
|
+
readonly isDefault: {
|
|
3120
|
+
readonly default: false;
|
|
1563
3121
|
readonly type: "boolean";
|
|
1564
3122
|
};
|
|
3123
|
+
readonly createdAt: {
|
|
3124
|
+
readonly type: "string";
|
|
3125
|
+
readonly format: "date-time";
|
|
3126
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
3127
|
+
};
|
|
3128
|
+
readonly updatedAt: {
|
|
3129
|
+
readonly type: "string";
|
|
3130
|
+
readonly format: "date-time";
|
|
3131
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
3132
|
+
};
|
|
1565
3133
|
};
|
|
1566
|
-
readonly required: readonly ["
|
|
3134
|
+
readonly required: readonly ["id", "organizationId", "config", "createdAt", "updatedAt"];
|
|
1567
3135
|
};
|
|
1568
|
-
export declare const
|
|
3136
|
+
export declare const CreateMtWorkerSchema: {
|
|
3137
|
+
readonly description: "创建Mtworker";
|
|
1569
3138
|
readonly type: "object";
|
|
1570
3139
|
readonly properties: {
|
|
1571
|
-
readonly
|
|
3140
|
+
readonly description: {
|
|
1572
3141
|
readonly type: "string";
|
|
1573
3142
|
};
|
|
3143
|
+
readonly config: {
|
|
3144
|
+
readonly $ref: "#/components/schemas/GomtmConfig";
|
|
3145
|
+
};
|
|
3146
|
+
readonly isDefault: {
|
|
3147
|
+
readonly default: false;
|
|
3148
|
+
readonly type: "boolean";
|
|
3149
|
+
};
|
|
1574
3150
|
};
|
|
1575
|
-
readonly required: readonly ["
|
|
3151
|
+
readonly required: readonly ["config"];
|
|
3152
|
+
};
|
|
3153
|
+
export declare const HatchetWorkerConfigSchema: {
|
|
3154
|
+
readonly description: "Hatchet Worker配置";
|
|
3155
|
+
readonly type: "object";
|
|
3156
|
+
readonly properties: {
|
|
3157
|
+
readonly hatchetUrl: {
|
|
3158
|
+
readonly description: "Hatchet server URL";
|
|
3159
|
+
readonly type: "string";
|
|
3160
|
+
readonly minLength: 1;
|
|
3161
|
+
};
|
|
3162
|
+
readonly hatchetToken: {
|
|
3163
|
+
readonly description: "Hatchet authentication token";
|
|
3164
|
+
readonly type: "string";
|
|
3165
|
+
readonly minLength: 1;
|
|
3166
|
+
};
|
|
3167
|
+
};
|
|
3168
|
+
readonly required: readonly ["hatchetUrl", "hatchetToken"];
|
|
3169
|
+
};
|
|
3170
|
+
export declare const HatchetWorkerConfigResponseSchema: {
|
|
3171
|
+
readonly description: "Hatchet Worker配置响应";
|
|
3172
|
+
readonly type: "object";
|
|
3173
|
+
readonly properties: {
|
|
3174
|
+
readonly id: {
|
|
3175
|
+
readonly type: "string";
|
|
3176
|
+
};
|
|
3177
|
+
readonly config: {
|
|
3178
|
+
readonly $ref: "#/components/schemas/HatchetWorkerConfig";
|
|
3179
|
+
};
|
|
3180
|
+
readonly createdAt: {
|
|
3181
|
+
readonly type: "string";
|
|
3182
|
+
readonly minLength: 1;
|
|
3183
|
+
};
|
|
3184
|
+
readonly updatedAt: {
|
|
3185
|
+
readonly type: "string";
|
|
3186
|
+
readonly minLength: 1;
|
|
3187
|
+
};
|
|
3188
|
+
};
|
|
3189
|
+
readonly required: readonly ["id", "config", "createdAt", "updatedAt"];
|
|
3190
|
+
};
|
|
3191
|
+
export declare const MtProxyConfigSchema: {
|
|
3192
|
+
readonly default: {
|
|
3193
|
+
readonly enabled: false;
|
|
3194
|
+
readonly port: 10801;
|
|
3195
|
+
readonly bindAddr: "0.0.0.0";
|
|
3196
|
+
};
|
|
3197
|
+
readonly description: "Mtproxy配置";
|
|
3198
|
+
readonly type: "object";
|
|
3199
|
+
readonly properties: {
|
|
3200
|
+
readonly enabled: {
|
|
3201
|
+
readonly default: false;
|
|
3202
|
+
readonly type: "boolean";
|
|
3203
|
+
};
|
|
3204
|
+
readonly port: {
|
|
3205
|
+
readonly default: 10801;
|
|
3206
|
+
readonly type: "number";
|
|
3207
|
+
};
|
|
3208
|
+
readonly bindAddr: {
|
|
3209
|
+
readonly default: "0.0.0.0";
|
|
3210
|
+
readonly type: "string";
|
|
3211
|
+
};
|
|
3212
|
+
};
|
|
3213
|
+
};
|
|
3214
|
+
export declare const OrgWorkerConfigSchema: {
|
|
3215
|
+
readonly description: "OrgWorker配置";
|
|
3216
|
+
readonly type: "object";
|
|
3217
|
+
readonly properties: {
|
|
3218
|
+
readonly mtgateUrl: {
|
|
3219
|
+
readonly type: "string";
|
|
3220
|
+
};
|
|
3221
|
+
readonly profile: {
|
|
3222
|
+
readonly type: "string";
|
|
3223
|
+
};
|
|
3224
|
+
readonly metadata: {};
|
|
3225
|
+
readonly mtproxy: {
|
|
3226
|
+
readonly $ref: "#/components/schemas/MtProxyConfig";
|
|
3227
|
+
};
|
|
3228
|
+
};
|
|
3229
|
+
};
|
|
3230
|
+
export declare const OrgWorkerStateSchema: {
|
|
3231
|
+
readonly description: "OrgWorker状态";
|
|
3232
|
+
readonly type: "object";
|
|
3233
|
+
readonly properties: {
|
|
3234
|
+
readonly status: {
|
|
3235
|
+
readonly default: "offline";
|
|
3236
|
+
readonly type: "string";
|
|
3237
|
+
readonly enum: readonly ["offline", "online", "starting", "stopping", "error"];
|
|
3238
|
+
};
|
|
3239
|
+
readonly lastHeartbeat: {
|
|
3240
|
+
readonly type: "string";
|
|
3241
|
+
readonly format: "date-time";
|
|
3242
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
3243
|
+
};
|
|
3244
|
+
readonly error: {
|
|
3245
|
+
readonly type: "string";
|
|
3246
|
+
};
|
|
3247
|
+
};
|
|
3248
|
+
};
|
|
3249
|
+
export declare const OrgWorkerSchema: {
|
|
3250
|
+
readonly description: "组织Worker";
|
|
3251
|
+
readonly type: "object";
|
|
3252
|
+
readonly properties: {
|
|
3253
|
+
readonly id: {
|
|
3254
|
+
readonly type: "string";
|
|
3255
|
+
};
|
|
3256
|
+
readonly orgId: {
|
|
3257
|
+
readonly type: "string";
|
|
3258
|
+
};
|
|
3259
|
+
readonly name: {
|
|
3260
|
+
readonly type: "string";
|
|
3261
|
+
};
|
|
3262
|
+
readonly description: {
|
|
3263
|
+
readonly type: "string";
|
|
3264
|
+
};
|
|
3265
|
+
readonly isDefault: {
|
|
3266
|
+
readonly default: false;
|
|
3267
|
+
readonly type: "boolean";
|
|
3268
|
+
};
|
|
3269
|
+
readonly config: {
|
|
3270
|
+
readonly $ref: "#/components/schemas/OrgWorkerConfig";
|
|
3271
|
+
};
|
|
3272
|
+
readonly state: {
|
|
3273
|
+
readonly $ref: "#/components/schemas/OrgWorkerState";
|
|
3274
|
+
};
|
|
3275
|
+
readonly createdAt: {
|
|
3276
|
+
readonly type: "string";
|
|
3277
|
+
readonly format: "date-time";
|
|
3278
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
3279
|
+
};
|
|
3280
|
+
readonly updatedAt: {
|
|
3281
|
+
readonly type: "string";
|
|
3282
|
+
readonly format: "date-time";
|
|
3283
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
3284
|
+
};
|
|
3285
|
+
readonly deletedAt: {
|
|
3286
|
+
readonly type: "string";
|
|
3287
|
+
readonly format: "date-time";
|
|
3288
|
+
readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
|
|
3289
|
+
};
|
|
3290
|
+
};
|
|
3291
|
+
readonly required: readonly ["id", "orgId", "name", "config", "state", "createdAt", "updatedAt"];
|
|
3292
|
+
};
|
|
3293
|
+
export declare const OrgWorkerListSchema: {
|
|
3294
|
+
readonly description: "组织Worker列表响应";
|
|
3295
|
+
readonly type: "object";
|
|
3296
|
+
readonly properties: {
|
|
3297
|
+
readonly paginate: {
|
|
3298
|
+
readonly type: "object";
|
|
3299
|
+
readonly properties: {
|
|
3300
|
+
readonly total: {
|
|
3301
|
+
readonly description: "Total number of records";
|
|
3302
|
+
readonly type: "number";
|
|
3303
|
+
};
|
|
3304
|
+
readonly page: {
|
|
3305
|
+
readonly description: "Current page number";
|
|
3306
|
+
readonly type: "number";
|
|
3307
|
+
};
|
|
3308
|
+
readonly pageSize: {
|
|
3309
|
+
readonly description: "Number of records per page";
|
|
3310
|
+
readonly type: "number";
|
|
3311
|
+
};
|
|
3312
|
+
readonly totalPages: {
|
|
3313
|
+
readonly description: "Total number of pages";
|
|
3314
|
+
readonly type: "number";
|
|
3315
|
+
};
|
|
3316
|
+
readonly hasNext: {
|
|
3317
|
+
readonly description: "Whether there is a next page";
|
|
3318
|
+
readonly type: "boolean";
|
|
3319
|
+
};
|
|
3320
|
+
};
|
|
3321
|
+
readonly required: readonly ["total", "page", "pageSize", "totalPages", "hasNext"];
|
|
3322
|
+
};
|
|
3323
|
+
readonly rows: {
|
|
3324
|
+
readonly type: "array";
|
|
3325
|
+
readonly items: {
|
|
3326
|
+
readonly $ref: "#/components/schemas/OrgWorker";
|
|
3327
|
+
};
|
|
3328
|
+
};
|
|
3329
|
+
};
|
|
3330
|
+
readonly required: readonly ["paginate", "rows"];
|
|
3331
|
+
};
|
|
3332
|
+
export declare const OrgWorkerUpsertRequestSchema: {
|
|
3333
|
+
readonly description: "组织Worker更新请求";
|
|
3334
|
+
readonly type: "object";
|
|
3335
|
+
readonly properties: {
|
|
3336
|
+
readonly name: {
|
|
3337
|
+
readonly type: "string";
|
|
3338
|
+
readonly minLength: 1;
|
|
3339
|
+
};
|
|
3340
|
+
readonly description: {
|
|
3341
|
+
readonly type: "string";
|
|
3342
|
+
};
|
|
3343
|
+
readonly isDefault: {
|
|
3344
|
+
readonly type: "boolean";
|
|
3345
|
+
};
|
|
3346
|
+
readonly config: {
|
|
3347
|
+
readonly $ref: "#/components/schemas/OrgWorkerConfig";
|
|
3348
|
+
};
|
|
3349
|
+
};
|
|
3350
|
+
readonly required: readonly ["name"];
|
|
1576
3351
|
};
|
|
1577
3352
|
//# sourceMappingURL=schemas.gen.d.ts.map
|