mtmsdk 0.0.45 → 0.0.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (195) hide show
  1. package/dist/gomtmapi/@tanstack/react-query.gen.d.ts +45 -45
  2. package/dist/gomtmapi/@tanstack/react-query.gen.d.ts.map +1 -1
  3. package/dist/gomtmapi/@tanstack/react-query.gen.js +69 -69
  4. package/dist/gomtmapi/@tanstack/react-query.gen.js.map +1 -1
  5. package/dist/gomtmapi/index.d.ts +2 -2
  6. package/dist/gomtmapi/index.d.ts.map +1 -1
  7. package/dist/gomtmapi/index.js +1 -1
  8. package/dist/gomtmapi/index.js.map +1 -1
  9. package/dist/gomtmapi/schemas.gen.d.ts +91 -52
  10. package/dist/gomtmapi/schemas.gen.d.ts.map +1 -1
  11. package/dist/gomtmapi/schemas.gen.js +91 -56
  12. package/dist/gomtmapi/schemas.gen.js.map +1 -1
  13. package/dist/gomtmapi/sdk.gen.d.ts +41 -41
  14. package/dist/gomtmapi/sdk.gen.d.ts.map +1 -1
  15. package/dist/gomtmapi/sdk.gen.js +55 -55
  16. package/dist/gomtmapi/sdk.gen.js.map +1 -1
  17. package/dist/gomtmapi/types.gen.d.ts +120 -131
  18. package/dist/gomtmapi/types.gen.d.ts.map +1 -1
  19. package/dist/gomtmapi/zod.gen.d.ts +96 -74
  20. package/dist/gomtmapi/zod.gen.d.ts.map +1 -1
  21. package/dist/gomtmapi/zod.gen.js +67 -58
  22. package/dist/gomtmapi/zod.gen.js.map +1 -1
  23. package/dist/mtgate_api/@tanstack/react-query.gen.d.ts +4 -101
  24. package/dist/mtgate_api/@tanstack/react-query.gen.d.ts.map +1 -1
  25. package/dist/mtgate_api/@tanstack/react-query.gen.js +1 -14
  26. package/dist/mtgate_api/@tanstack/react-query.gen.js.map +1 -1
  27. package/dist/mtgate_api/index.d.ts +2 -2
  28. package/dist/mtgate_api/index.d.ts.map +1 -1
  29. package/dist/mtgate_api/index.js +1 -1
  30. package/dist/mtgate_api/index.js.map +1 -1
  31. package/dist/mtgate_api/schemas.gen.d.ts +0 -31
  32. package/dist/mtgate_api/schemas.gen.d.ts.map +1 -1
  33. package/dist/mtgate_api/schemas.gen.js +0 -46
  34. package/dist/mtgate_api/schemas.gen.js.map +1 -1
  35. package/dist/mtgate_api/sdk.gen.d.ts +1 -2
  36. package/dist/mtgate_api/sdk.gen.d.ts.map +1 -1
  37. package/dist/mtgate_api/sdk.gen.js +0 -1
  38. package/dist/mtgate_api/sdk.gen.js.map +1 -1
  39. package/dist/mtgate_api/types.gen.d.ts +1 -73
  40. package/dist/mtgate_api/types.gen.d.ts.map +1 -1
  41. package/dist/mtgate_api/zod.gen.d.ts +0 -77
  42. package/dist/mtgate_api/zod.gen.d.ts.map +1 -1
  43. package/dist/mtgate_api/zod.gen.js +0 -47
  44. package/dist/mtgate_api/zod.gen.js.map +1 -1
  45. package/dist/openclaw/gateway.d.ts.map +1 -1
  46. package/dist/openclaw/gateway.js +1 -5
  47. package/dist/openclaw/gateway.js.map +1 -1
  48. package/dist/sbmng/schemas.gen.d.ts +15 -2
  49. package/dist/sbmng/schemas.gen.d.ts.map +1 -1
  50. package/dist/sbmng/schemas.gen.js +55 -2
  51. package/dist/sbmng/schemas.gen.js.map +1 -1
  52. package/dist/sbmng/types.gen.d.ts +5 -2
  53. package/dist/sbmng/types.gen.d.ts.map +1 -1
  54. package/dist/supabase/schema/index.d.ts +0 -9
  55. package/dist/supabase/schema/index.d.ts.map +1 -1
  56. package/dist/supabase/schema/index.js +0 -13
  57. package/dist/supabase/schema/index.js.map +1 -1
  58. package/dist/supabase/supabase-client.d.ts +985 -739
  59. package/dist/supabase/supabase-client.d.ts.map +1 -1
  60. package/dist/supabase/supabase.d.ts +2182 -1689
  61. package/dist/supabase/supabase.d.ts.map +1 -1
  62. package/dist/supabase/supabase.js.map +1 -1
  63. package/dist/types/database.schemas.d.ts +1322 -743
  64. package/dist/types/database.schemas.d.ts.map +1 -1
  65. package/dist/types/database.schemas.js +822 -610
  66. package/dist/types/database.schemas.js.map +1 -1
  67. package/dist/types/database.types.d.ts +1004 -734
  68. package/dist/types/database.types.d.ts.map +1 -1
  69. package/dist/types/database.types.js +16 -1
  70. package/dist/types/database.types.js.map +1 -1
  71. package/dist/types/index.d.ts +32 -48
  72. package/dist/types/index.d.ts.map +1 -1
  73. package/dist/types/index.js +0 -25
  74. package/dist/types/index.js.map +1 -1
  75. package/dist/types/rpc.schemas.d.ts +1 -13
  76. package/dist/types/rpc.schemas.d.ts.map +1 -1
  77. package/dist/types/rpc.schemas.js +7 -21
  78. package/dist/types/rpc.schemas.js.map +1 -1
  79. package/package.json +3 -4
  80. package/src/gomtmapi/@tanstack/react-query.gen.ts +73 -73
  81. package/src/gomtmapi/index.ts +2 -2
  82. package/src/gomtmapi/schemas.gen.ts +92 -58
  83. package/src/gomtmapi/sdk.gen.ts +58 -58
  84. package/src/gomtmapi/types.gen.ts +131 -143
  85. package/src/gomtmapi/zod.gen.ts +72 -64
  86. package/src/mtgate_api/@tanstack/react-query.gen.ts +3 -18
  87. package/src/mtgate_api/index.ts +2 -2
  88. package/src/mtgate_api/schemas.gen.ts +0 -47
  89. package/src/mtgate_api/sdk.gen.ts +1 -3
  90. package/src/mtgate_api/types.gen.ts +1 -79
  91. package/src/mtgate_api/zod.gen.ts +0 -52
  92. package/src/openclaw/gateway.ts +5 -10
  93. package/src/sbmng/schemas.gen.ts +55 -2
  94. package/src/sbmng/types.gen.ts +5 -2
  95. package/src/supabase/schema/index.ts +0 -20
  96. package/src/supabase/supabase.ts +4 -2
  97. package/src/types/database.schemas.ts +956 -732
  98. package/src/types/database.types.ts +977 -707
  99. package/src/types/index.ts +33 -66
  100. package/src/types/rpc.schemas.ts +8 -23
  101. package/dist/sbapi/@tanstack/react-query.gen.d.ts +0 -3280
  102. package/dist/sbapi/@tanstack/react-query.gen.d.ts.map +0 -1
  103. package/dist/sbapi/@tanstack/react-query.gen.js +0 -6084
  104. package/dist/sbapi/@tanstack/react-query.gen.js.map +0 -1
  105. package/dist/sbapi/client/client.gen.d.ts +0 -3
  106. package/dist/sbapi/client/client.gen.d.ts.map +0 -1
  107. package/dist/sbapi/client/client.gen.js +0 -236
  108. package/dist/sbapi/client/client.gen.js.map +0 -1
  109. package/dist/sbapi/client/index.d.ts +0 -9
  110. package/dist/sbapi/client/index.d.ts.map +0 -1
  111. package/dist/sbapi/client/index.js +0 -7
  112. package/dist/sbapi/client/index.js.map +0 -1
  113. package/dist/sbapi/client/types.gen.d.ts +0 -118
  114. package/dist/sbapi/client/types.gen.d.ts.map +0 -1
  115. package/dist/sbapi/client/types.gen.js +0 -3
  116. package/dist/sbapi/client/types.gen.js.map +0 -1
  117. package/dist/sbapi/client/utils.gen.d.ts +0 -34
  118. package/dist/sbapi/client/utils.gen.d.ts.map +0 -1
  119. package/dist/sbapi/client/utils.gen.js +0 -232
  120. package/dist/sbapi/client/utils.gen.js.map +0 -1
  121. package/dist/sbapi/client.gen.d.ts +0 -13
  122. package/dist/sbapi/client.gen.d.ts.map +0 -1
  123. package/dist/sbapi/client.gen.js +0 -4
  124. package/dist/sbapi/client.gen.js.map +0 -1
  125. package/dist/sbapi/core/auth.gen.d.ts +0 -19
  126. package/dist/sbapi/core/auth.gen.d.ts.map +0 -1
  127. package/dist/sbapi/core/auth.gen.js +0 -15
  128. package/dist/sbapi/core/auth.gen.js.map +0 -1
  129. package/dist/sbapi/core/bodySerializer.gen.d.ts +0 -26
  130. package/dist/sbapi/core/bodySerializer.gen.d.ts.map +0 -1
  131. package/dist/sbapi/core/bodySerializer.gen.js +0 -58
  132. package/dist/sbapi/core/bodySerializer.gen.js.map +0 -1
  133. package/dist/sbapi/core/params.gen.d.ts +0 -44
  134. package/dist/sbapi/core/params.gen.d.ts.map +0 -1
  135. package/dist/sbapi/core/params.gen.js +0 -101
  136. package/dist/sbapi/core/params.gen.js.map +0 -1
  137. package/dist/sbapi/core/pathSerializer.gen.d.ts +0 -34
  138. package/dist/sbapi/core/pathSerializer.gen.d.ts.map +0 -1
  139. package/dist/sbapi/core/pathSerializer.gen.js +0 -115
  140. package/dist/sbapi/core/pathSerializer.gen.js.map +0 -1
  141. package/dist/sbapi/core/queryKeySerializer.gen.d.ts +0 -19
  142. package/dist/sbapi/core/queryKeySerializer.gen.d.ts.map +0 -1
  143. package/dist/sbapi/core/queryKeySerializer.gen.js +0 -100
  144. package/dist/sbapi/core/queryKeySerializer.gen.js.map +0 -1
  145. package/dist/sbapi/core/serverSentEvents.gen.d.ts +0 -72
  146. package/dist/sbapi/core/serverSentEvents.gen.d.ts.map +0 -1
  147. package/dist/sbapi/core/serverSentEvents.gen.js +0 -138
  148. package/dist/sbapi/core/serverSentEvents.gen.js.map +0 -1
  149. package/dist/sbapi/core/types.gen.d.ts +0 -79
  150. package/dist/sbapi/core/types.gen.d.ts.map +0 -1
  151. package/dist/sbapi/core/types.gen.js +0 -3
  152. package/dist/sbapi/core/types.gen.js.map +0 -1
  153. package/dist/sbapi/core/utils.gen.d.ts +0 -20
  154. package/dist/sbapi/core/utils.gen.d.ts.map +0 -1
  155. package/dist/sbapi/core/utils.gen.js +0 -88
  156. package/dist/sbapi/core/utils.gen.js.map +0 -1
  157. package/dist/sbapi/index.d.ts +0 -3
  158. package/dist/sbapi/index.d.ts.map +0 -1
  159. package/dist/sbapi/index.js +0 -3
  160. package/dist/sbapi/index.js.map +0 -1
  161. package/dist/sbapi/schemas.gen.d.ts +0 -2322
  162. package/dist/sbapi/schemas.gen.d.ts.map +0 -1
  163. package/dist/sbapi/schemas.gen.js +0 -2596
  164. package/dist/sbapi/schemas.gen.js.map +0 -1
  165. package/dist/sbapi/sdk.gen.d.ts +0 -834
  166. package/dist/sbapi/sdk.gen.d.ts.map +0 -1
  167. package/dist/sbapi/sdk.gen.js +0 -2466
  168. package/dist/sbapi/sdk.gen.js.map +0 -1
  169. package/dist/sbapi/types.gen.d.ts +0 -11726
  170. package/dist/sbapi/types.gen.d.ts.map +0 -1
  171. package/dist/sbapi/types.gen.js +0 -3
  172. package/dist/sbapi/types.gen.js.map +0 -1
  173. package/dist/sbapi/zod.gen.d.ts +0 -8147
  174. package/dist/sbapi/zod.gen.d.ts.map +0 -1
  175. package/dist/sbapi/zod.gen.js +0 -6585
  176. package/dist/sbapi/zod.gen.js.map +0 -1
  177. package/src/sbapi/@tanstack/react-query.gen.ts +0 -6591
  178. package/src/sbapi/client/client.gen.ts +0 -311
  179. package/src/sbapi/client/index.ts +0 -25
  180. package/src/sbapi/client/types.gen.ts +0 -241
  181. package/src/sbapi/client/utils.gen.ts +0 -332
  182. package/src/sbapi/client.gen.ts +0 -16
  183. package/src/sbapi/core/auth.gen.ts +0 -42
  184. package/src/sbapi/core/bodySerializer.gen.ts +0 -100
  185. package/src/sbapi/core/params.gen.ts +0 -176
  186. package/src/sbapi/core/pathSerializer.gen.ts +0 -181
  187. package/src/sbapi/core/queryKeySerializer.gen.ts +0 -136
  188. package/src/sbapi/core/serverSentEvents.gen.ts +0 -266
  189. package/src/sbapi/core/types.gen.ts +0 -118
  190. package/src/sbapi/core/utils.gen.ts +0 -143
  191. package/src/sbapi/index.ts +0 -4
  192. package/src/sbapi/schemas.gen.ts +0 -2643
  193. package/src/sbapi/sdk.gen.ts +0 -2822
  194. package/src/sbapi/types.gen.ts +0 -12503
  195. package/src/sbapi/zod.gen.ts +0 -7021
@@ -1,2466 +0,0 @@
1
- // This file is auto-generated by @hey-api/openapi-ts
2
- import { client } from './client.gen';
3
- /**
4
- * OpenAPI description (this document)
5
- */
6
- export const get = (options) => (options?.client ?? client).get({ url: '/', ...options });
7
- export const deleteWorkerTasks = (options) => (options?.client ?? client).delete({ url: '/worker_tasks', ...options });
8
- export const getWorkerTasks = (options) => (options?.client ?? client).get({ url: '/worker_tasks', ...options });
9
- export const patchWorkerTasks = (options) => (options?.client ?? client).patch({
10
- url: '/worker_tasks',
11
- ...options,
12
- headers: {
13
- 'Content-Type': 'application/json',
14
- ...options?.headers
15
- }
16
- });
17
- export const postWorkerTasks = (options) => (options?.client ?? client).post({
18
- url: '/worker_tasks',
19
- ...options,
20
- headers: {
21
- 'Content-Type': 'application/json',
22
- ...options?.headers
23
- }
24
- });
25
- export const deleteLinkedAccounts = (options) => (options?.client ?? client).delete({ url: '/linked_accounts', ...options });
26
- export const getLinkedAccounts = (options) => (options?.client ?? client).get({ url: '/linked_accounts', ...options });
27
- export const patchLinkedAccounts = (options) => (options?.client ?? client).patch({
28
- url: '/linked_accounts',
29
- ...options,
30
- headers: {
31
- 'Content-Type': 'application/json',
32
- ...options?.headers
33
- }
34
- });
35
- export const postLinkedAccounts = (options) => (options?.client ?? client).post({
36
- url: '/linked_accounts',
37
- ...options,
38
- headers: {
39
- 'Content-Type': 'application/json',
40
- ...options?.headers
41
- }
42
- });
43
- export const deleteAuditAssets = (options) => (options?.client ?? client).delete({ url: '/audit_assets', ...options });
44
- export const getAuditAssets = (options) => (options?.client ?? client).get({ url: '/audit_assets', ...options });
45
- export const patchAuditAssets = (options) => (options?.client ?? client).patch({
46
- url: '/audit_assets',
47
- ...options,
48
- headers: {
49
- 'Content-Type': 'application/json',
50
- ...options?.headers
51
- }
52
- });
53
- export const postAuditAssets = (options) => (options?.client ?? client).post({
54
- url: '/audit_assets',
55
- ...options,
56
- headers: {
57
- 'Content-Type': 'application/json',
58
- ...options?.headers
59
- }
60
- });
61
- /**
62
- * AI 模型配置表,支持直接 API Key 配置或通过 linked_accounts 关联 OAuth 凭据
63
- */
64
- export const deleteGomtmModels = (options) => (options?.client ?? client).delete({ url: '/gomtm_models', ...options });
65
- /**
66
- * AI 模型配置表,支持直接 API Key 配置或通过 linked_accounts 关联 OAuth 凭据
67
- */
68
- export const getGomtmModels = (options) => (options?.client ?? client).get({ url: '/gomtm_models', ...options });
69
- /**
70
- * AI 模型配置表,支持直接 API Key 配置或通过 linked_accounts 关联 OAuth 凭据
71
- */
72
- export const patchGomtmModels = (options) => (options?.client ?? client).patch({
73
- url: '/gomtm_models',
74
- ...options,
75
- headers: {
76
- 'Content-Type': 'application/json',
77
- ...options?.headers
78
- }
79
- });
80
- /**
81
- * AI 模型配置表,支持直接 API Key 配置或通过 linked_accounts 关联 OAuth 凭据
82
- */
83
- export const postGomtmModels = (options) => (options?.client ?? client).post({
84
- url: '/gomtm_models',
85
- ...options,
86
- headers: {
87
- 'Content-Type': 'application/json',
88
- ...options?.headers
89
- }
90
- });
91
- export const deleteWorkflowInstances = (options) => (options?.client ?? client).delete({ url: '/workflow_instances', ...options });
92
- export const getWorkflowInstances = (options) => (options?.client ?? client).get({ url: '/workflow_instances', ...options });
93
- export const patchWorkflowInstances = (options) => (options?.client ?? client).patch({
94
- url: '/workflow_instances',
95
- ...options,
96
- headers: {
97
- 'Content-Type': 'application/json',
98
- ...options?.headers
99
- }
100
- });
101
- export const postWorkflowInstances = (options) => (options?.client ?? client).post({
102
- url: '/workflow_instances',
103
- ...options,
104
- headers: {
105
- 'Content-Type': 'application/json',
106
- ...options?.headers
107
- }
108
- });
109
- /**
110
- * 以http api提供的服务
111
- */
112
- export const deleteServers = (options) => (options?.client ?? client).delete({ url: '/servers', ...options });
113
- /**
114
- * 以http api提供的服务
115
- */
116
- export const getServers = (options) => (options?.client ?? client).get({ url: '/servers', ...options });
117
- /**
118
- * 以http api提供的服务
119
- */
120
- export const patchServers = (options) => (options?.client ?? client).patch({
121
- url: '/servers',
122
- ...options,
123
- headers: {
124
- 'Content-Type': 'application/json',
125
- ...options?.headers
126
- }
127
- });
128
- /**
129
- * 以http api提供的服务
130
- */
131
- export const postServers = (options) => (options?.client ?? client).post({
132
- url: '/servers',
133
- ...options,
134
- headers: {
135
- 'Content-Type': 'application/json',
136
- ...options?.headers
137
- }
138
- });
139
- /**
140
- * 网络代理配置
141
- */
142
- export const deleteProxies = (options) => (options?.client ?? client).delete({ url: '/proxies', ...options });
143
- /**
144
- * 网络代理配置
145
- */
146
- export const getProxies = (options) => (options?.client ?? client).get({ url: '/proxies', ...options });
147
- /**
148
- * 网络代理配置
149
- */
150
- export const patchProxies = (options) => (options?.client ?? client).patch({
151
- url: '/proxies',
152
- ...options,
153
- headers: {
154
- 'Content-Type': 'application/json',
155
- ...options?.headers
156
- }
157
- });
158
- /**
159
- * 网络代理配置
160
- */
161
- export const postProxies = (options) => (options?.client ?? client).post({
162
- url: '/proxies',
163
- ...options,
164
- headers: {
165
- 'Content-Type': 'application/json',
166
- ...options?.headers
167
- }
168
- });
169
- /**
170
- * 用户后台侧边栏导航菜单
171
- */
172
- export const deleteDashNavitems = (options) => (options?.client ?? client).delete({ url: '/dash_navitems', ...options });
173
- /**
174
- * 用户后台侧边栏导航菜单
175
- */
176
- export const getDashNavitems = (options) => (options?.client ?? client).get({ url: '/dash_navitems', ...options });
177
- /**
178
- * 用户后台侧边栏导航菜单
179
- */
180
- export const patchDashNavitems = (options) => (options?.client ?? client).patch({
181
- url: '/dash_navitems',
182
- ...options,
183
- headers: {
184
- 'Content-Type': 'application/json',
185
- ...options?.headers
186
- }
187
- });
188
- /**
189
- * 用户后台侧边栏导航菜单
190
- */
191
- export const postDashNavitems = (options) => (options?.client ?? client).post({
192
- url: '/dash_navitems',
193
- ...options,
194
- headers: {
195
- 'Content-Type': 'application/json',
196
- ...options?.headers
197
- }
198
- });
199
- /**
200
- * 聊天消息
201
- */
202
- export const deleteChatMessages = (options) => (options?.client ?? client).delete({ url: '/chat_messages', ...options });
203
- /**
204
- * 聊天消息
205
- */
206
- export const getChatMessages = (options) => (options?.client ?? client).get({ url: '/chat_messages', ...options });
207
- /**
208
- * 聊天消息
209
- */
210
- export const patchChatMessages = (options) => (options?.client ?? client).patch({
211
- url: '/chat_messages',
212
- ...options,
213
- headers: {
214
- 'Content-Type': 'application/json',
215
- ...options?.headers
216
- }
217
- });
218
- /**
219
- * 聊天消息
220
- */
221
- export const postChatMessages = (options) => (options?.client ?? client).post({
222
- url: '/chat_messages',
223
- ...options,
224
- headers: {
225
- 'Content-Type': 'application/json',
226
- ...options?.headers
227
- }
228
- });
229
- /**
230
- * 聊天主表
231
- */
232
- export const deleteChats = (options) => (options?.client ?? client).delete({ url: '/chats', ...options });
233
- /**
234
- * 聊天主表
235
- */
236
- export const getChats = (options) => (options?.client ?? client).get({ url: '/chats', ...options });
237
- /**
238
- * 聊天主表
239
- */
240
- export const patchChats = (options) => (options?.client ?? client).patch({
241
- url: '/chats',
242
- ...options,
243
- headers: {
244
- 'Content-Type': 'application/json',
245
- ...options?.headers
246
- }
247
- });
248
- /**
249
- * 聊天主表
250
- */
251
- export const postChats = (options) => (options?.client ?? client).post({
252
- url: '/chats',
253
- ...options,
254
- headers: {
255
- 'Content-Type': 'application/json',
256
- ...options?.headers
257
- }
258
- });
259
- /**
260
- * 以http api提供的服务
261
- */
262
- export const deleteServicesLaji = (options) => (options?.client ?? client).delete({ url: '/services_laji', ...options });
263
- /**
264
- * 以http api提供的服务
265
- */
266
- export const getServicesLaji = (options) => (options?.client ?? client).get({ url: '/services_laji', ...options });
267
- /**
268
- * 以http api提供的服务
269
- */
270
- export const patchServicesLaji = (options) => (options?.client ?? client).patch({
271
- url: '/services_laji',
272
- ...options,
273
- headers: {
274
- 'Content-Type': 'application/json',
275
- ...options?.headers
276
- }
277
- });
278
- /**
279
- * 以http api提供的服务
280
- */
281
- export const postServicesLaji = (options) => (options?.client ?? client).post({
282
- url: '/services_laji',
283
- ...options,
284
- headers: {
285
- 'Content-Type': 'application/json',
286
- ...options?.headers
287
- }
288
- });
289
- export const deleteUserLogs = (options) => (options?.client ?? client).delete({ url: '/user_logs', ...options });
290
- export const getUserLogs = (options) => (options?.client ?? client).get({ url: '/user_logs', ...options });
291
- export const patchUserLogs = (options) => (options?.client ?? client).patch({
292
- url: '/user_logs',
293
- ...options,
294
- headers: {
295
- 'Content-Type': 'application/json',
296
- ...options?.headers
297
- }
298
- });
299
- export const postUserLogs = (options) => (options?.client ?? client).post({
300
- url: '/user_logs',
301
- ...options,
302
- headers: {
303
- 'Content-Type': 'application/json',
304
- ...options?.headers
305
- }
306
- });
307
- /**
308
- * 浏览器
309
- */
310
- export const deleteBrowsers = (options) => (options?.client ?? client).delete({ url: '/browsers', ...options });
311
- /**
312
- * 浏览器
313
- */
314
- export const getBrowsers = (options) => (options?.client ?? client).get({ url: '/browsers', ...options });
315
- /**
316
- * 浏览器
317
- */
318
- export const patchBrowsers = (options) => (options?.client ?? client).patch({
319
- url: '/browsers',
320
- ...options,
321
- headers: {
322
- 'Content-Type': 'application/json',
323
- ...options?.headers
324
- }
325
- });
326
- /**
327
- * 浏览器
328
- */
329
- export const postBrowsers = (options) => (options?.client ?? client).post({
330
- url: '/browsers',
331
- ...options,
332
- headers: {
333
- 'Content-Type': 'application/json',
334
- ...options?.headers
335
- }
336
- });
337
- export const deleteRequestTracker = (options) => (options?.client ?? client).delete({ url: '/request_tracker', ...options });
338
- export const getRequestTracker = (options) => (options?.client ?? client).get({ url: '/request_tracker', ...options });
339
- export const patchRequestTracker = (options) => (options?.client ?? client).patch({
340
- url: '/request_tracker',
341
- ...options,
342
- headers: {
343
- 'Content-Type': 'application/json',
344
- ...options?.headers
345
- }
346
- });
347
- export const postRequestTracker = (options) => (options?.client ?? client).post({
348
- url: '/request_tracker',
349
- ...options,
350
- headers: {
351
- 'Content-Type': 'application/json',
352
- ...options?.headers
353
- }
354
- });
355
- /**
356
- * Cleanup: Removed legacy on_worker_ready trigger that relied on deprecated config->publicUrl.
357
- */
358
- export const deleteWorkers = (options) => (options?.client ?? client).delete({ url: '/workers', ...options });
359
- /**
360
- * Cleanup: Removed legacy on_worker_ready trigger that relied on deprecated config->publicUrl.
361
- */
362
- export const getWorkers = (options) => (options?.client ?? client).get({ url: '/workers', ...options });
363
- /**
364
- * Cleanup: Removed legacy on_worker_ready trigger that relied on deprecated config->publicUrl.
365
- */
366
- export const patchWorkers = (options) => (options?.client ?? client).patch({
367
- url: '/workers',
368
- ...options,
369
- headers: {
370
- 'Content-Type': 'application/json',
371
- ...options?.headers
372
- }
373
- });
374
- /**
375
- * Cleanup: Removed legacy on_worker_ready trigger that relied on deprecated config->publicUrl.
376
- */
377
- export const postWorkers = (options) => (options?.client ?? client).post({
378
- url: '/workers',
379
- ...options,
380
- headers: {
381
- 'Content-Type': 'application/json',
382
- ...options?.headers
383
- }
384
- });
385
- /**
386
- * 通用列表视图
387
- */
388
- export const deleteResources = (options) => (options?.client ?? client).delete({ url: '/resources', ...options });
389
- /**
390
- * 通用列表视图
391
- */
392
- export const getResources = (options) => (options?.client ?? client).get({ url: '/resources', ...options });
393
- /**
394
- * 通用列表视图
395
- */
396
- export const patchResources = (options) => (options?.client ?? client).patch({
397
- url: '/resources',
398
- ...options,
399
- headers: {
400
- 'Content-Type': 'application/json',
401
- ...options?.headers
402
- }
403
- });
404
- /**
405
- * 通用列表视图
406
- */
407
- export const postResources = (options) => (options?.client ?? client).post({
408
- url: '/resources',
409
- ...options,
410
- headers: {
411
- 'Content-Type': 'application/json',
412
- ...options?.headers
413
- }
414
- });
415
- /**
416
- * 用户详细资料
417
- */
418
- export const deleteProfiles = (options) => (options?.client ?? client).delete({ url: '/profiles', ...options });
419
- /**
420
- * 用户详细资料
421
- */
422
- export const getProfiles = (options) => (options?.client ?? client).get({ url: '/profiles', ...options });
423
- /**
424
- * 用户详细资料
425
- */
426
- export const patchProfiles = (options) => (options?.client ?? client).patch({
427
- url: '/profiles',
428
- ...options,
429
- headers: {
430
- 'Content-Type': 'application/json',
431
- ...options?.headers
432
- }
433
- });
434
- /**
435
- * 用户详细资料
436
- */
437
- export const postProfiles = (options) => (options?.client ?? client).post({
438
- url: '/profiles',
439
- ...options,
440
- headers: {
441
- 'Content-Type': 'application/json',
442
- ...options?.headers
443
- }
444
- });
445
- /**
446
- * Agent 快捷启动指令模板
447
- */
448
- export const deleteAdkQuickStarts = (options) => (options?.client ?? client).delete({ url: '/adk_quick_starts', ...options });
449
- /**
450
- * Agent 快捷启动指令模板
451
- */
452
- export const getAdkQuickStarts = (options) => (options?.client ?? client).get({ url: '/adk_quick_starts', ...options });
453
- /**
454
- * Agent 快捷启动指令模板
455
- */
456
- export const patchAdkQuickStarts = (options) => (options?.client ?? client).patch({
457
- url: '/adk_quick_starts',
458
- ...options,
459
- headers: {
460
- 'Content-Type': 'application/json',
461
- ...options?.headers
462
- }
463
- });
464
- /**
465
- * Agent 快捷启动指令模板
466
- */
467
- export const postAdkQuickStarts = (options) => (options?.client ?? client).post({
468
- url: '/adk_quick_starts',
469
- ...options,
470
- headers: {
471
- 'Content-Type': 'application/json',
472
- ...options?.headers
473
- }
474
- });
475
- export const deleteVoltagentMemoryWorkflowStates = (options) => (options?.client ?? client).delete({ url: '/voltagent_memory_workflow_states', ...options });
476
- export const getVoltagentMemoryWorkflowStates = (options) => (options?.client ?? client).get({ url: '/voltagent_memory_workflow_states', ...options });
477
- export const patchVoltagentMemoryWorkflowStates = (options) => (options?.client ?? client).patch({
478
- url: '/voltagent_memory_workflow_states',
479
- ...options,
480
- headers: {
481
- 'Content-Type': 'application/json',
482
- ...options?.headers
483
- }
484
- });
485
- export const postVoltagentMemoryWorkflowStates = (options) => (options?.client ?? client).post({
486
- url: '/voltagent_memory_workflow_states',
487
- ...options,
488
- headers: {
489
- 'Content-Type': 'application/json',
490
- ...options?.headers
491
- }
492
- });
493
- /**
494
- * 用户 API Key 管理表,存储 token 元数据
495
- */
496
- export const deleteUserApiKeys = (options) => (options?.client ?? client).delete({ url: '/user_api_keys', ...options });
497
- /**
498
- * 用户 API Key 管理表,存储 token 元数据
499
- */
500
- export const getUserApiKeys = (options) => (options?.client ?? client).get({ url: '/user_api_keys', ...options });
501
- /**
502
- * 用户 API Key 管理表,存储 token 元数据
503
- */
504
- export const patchUserApiKeys = (options) => (options?.client ?? client).patch({
505
- url: '/user_api_keys',
506
- ...options,
507
- headers: {
508
- 'Content-Type': 'application/json',
509
- ...options?.headers
510
- }
511
- });
512
- /**
513
- * 用户 API Key 管理表,存储 token 元数据
514
- */
515
- export const postUserApiKeys = (options) => (options?.client ?? client).post({
516
- url: '/user_api_keys',
517
- ...options,
518
- headers: {
519
- 'Content-Type': 'application/json',
520
- ...options?.headers
521
- }
522
- });
523
- /**
524
- * 系统公开配置表,存储可公开访问的配置项(如主域名规则)
525
- */
526
- export const deleteSystemConfigPublic = (options) => (options?.client ?? client).delete({ url: '/system_config_public', ...options });
527
- /**
528
- * 系统公开配置表,存储可公开访问的配置项(如主域名规则)
529
- */
530
- export const getSystemConfigPublic = (options) => (options?.client ?? client).get({ url: '/system_config_public', ...options });
531
- /**
532
- * 系统公开配置表,存储可公开访问的配置项(如主域名规则)
533
- */
534
- export const patchSystemConfigPublic = (options) => (options?.client ?? client).patch({
535
- url: '/system_config_public',
536
- ...options,
537
- headers: {
538
- 'Content-Type': 'application/json',
539
- ...options?.headers
540
- }
541
- });
542
- /**
543
- * 系统公开配置表,存储可公开访问的配置项(如主域名规则)
544
- */
545
- export const postSystemConfigPublic = (options) => (options?.client ?? client).post({
546
- url: '/system_config_public',
547
- ...options,
548
- headers: {
549
- 'Content-Type': 'application/json',
550
- ...options?.headers
551
- }
552
- });
553
- export const deleteMitmRules = (options) => (options?.client ?? client).delete({ url: '/mitm_rules', ...options });
554
- export const getMitmRules = (options) => (options?.client ?? client).get({ url: '/mitm_rules', ...options });
555
- export const patchMitmRules = (options) => (options?.client ?? client).patch({
556
- url: '/mitm_rules',
557
- ...options,
558
- headers: {
559
- 'Content-Type': 'application/json',
560
- ...options?.headers
561
- }
562
- });
563
- export const postMitmRules = (options) => (options?.client ?? client).post({
564
- url: '/mitm_rules',
565
- ...options,
566
- headers: {
567
- 'Content-Type': 'application/json',
568
- ...options?.headers
569
- }
570
- });
571
- export const deleteAuditSkills = (options) => (options?.client ?? client).delete({ url: '/audit_skills', ...options });
572
- export const getAuditSkills = (options) => (options?.client ?? client).get({ url: '/audit_skills', ...options });
573
- export const patchAuditSkills = (options) => (options?.client ?? client).patch({
574
- url: '/audit_skills',
575
- ...options,
576
- headers: {
577
- 'Content-Type': 'application/json',
578
- ...options?.headers
579
- }
580
- });
581
- export const postAuditSkills = (options) => (options?.client ?? client).post({
582
- url: '/audit_skills',
583
- ...options,
584
- headers: {
585
- 'Content-Type': 'application/json',
586
- ...options?.headers
587
- }
588
- });
589
- export const deleteAuditTasks = (options) => (options?.client ?? client).delete({ url: '/audit_tasks', ...options });
590
- export const getAuditTasks = (options) => (options?.client ?? client).get({ url: '/audit_tasks', ...options });
591
- export const patchAuditTasks = (options) => (options?.client ?? client).patch({
592
- url: '/audit_tasks',
593
- ...options,
594
- headers: {
595
- 'Content-Type': 'application/json',
596
- ...options?.headers
597
- }
598
- });
599
- export const postAuditTasks = (options) => (options?.client ?? client).post({
600
- url: '/audit_tasks',
601
- ...options,
602
- headers: {
603
- 'Content-Type': 'application/json',
604
- ...options?.headers
605
- }
606
- });
607
- export const deleteAuditPocs = (options) => (options?.client ?? client).delete({ url: '/audit_pocs', ...options });
608
- export const getAuditPocs = (options) => (options?.client ?? client).get({ url: '/audit_pocs', ...options });
609
- export const patchAuditPocs = (options) => (options?.client ?? client).patch({
610
- url: '/audit_pocs',
611
- ...options,
612
- headers: {
613
- 'Content-Type': 'application/json',
614
- ...options?.headers
615
- }
616
- });
617
- export const postAuditPocs = (options) => (options?.client ?? client).post({
618
- url: '/audit_pocs',
619
- ...options,
620
- headers: {
621
- 'Content-Type': 'application/json',
622
- ...options?.headers
623
- }
624
- });
625
- export const deleteVoltagentMemorySteps = (options) => (options?.client ?? client).delete({ url: '/voltagent_memory_steps', ...options });
626
- export const getVoltagentMemorySteps = (options) => (options?.client ?? client).get({ url: '/voltagent_memory_steps', ...options });
627
- export const patchVoltagentMemorySteps = (options) => (options?.client ?? client).patch({
628
- url: '/voltagent_memory_steps',
629
- ...options,
630
- headers: {
631
- 'Content-Type': 'application/json',
632
- ...options?.headers
633
- }
634
- });
635
- export const postVoltagentMemorySteps = (options) => (options?.client ?? client).post({
636
- url: '/voltagent_memory_steps',
637
- ...options,
638
- headers: {
639
- 'Content-Type': 'application/json',
640
- ...options?.headers
641
- }
642
- });
643
- export const deleteAuditFindings = (options) => (options?.client ?? client).delete({ url: '/audit_findings', ...options });
644
- export const getAuditFindings = (options) => (options?.client ?? client).get({ url: '/audit_findings', ...options });
645
- export const patchAuditFindings = (options) => (options?.client ?? client).patch({
646
- url: '/audit_findings',
647
- ...options,
648
- headers: {
649
- 'Content-Type': 'application/json',
650
- ...options?.headers
651
- }
652
- });
653
- export const postAuditFindings = (options) => (options?.client ?? client).post({
654
- url: '/audit_findings',
655
- ...options,
656
- headers: {
657
- 'Content-Type': 'application/json',
658
- ...options?.headers
659
- }
660
- });
661
- export const deleteWorkerSummary = (options) => (options?.client ?? client).delete({ url: '/worker_summary', ...options });
662
- export const getWorkerSummary = (options) => (options?.client ?? client).get({ url: '/worker_summary', ...options });
663
- export const patchWorkerSummary = (options) => (options?.client ?? client).patch({
664
- url: '/worker_summary',
665
- ...options,
666
- headers: {
667
- 'Content-Type': 'application/json',
668
- ...options?.headers
669
- }
670
- });
671
- export const postWorkerSummary = (options) => (options?.client ?? client).post({
672
- url: '/worker_summary',
673
- ...options,
674
- headers: {
675
- 'Content-Type': 'application/json',
676
- ...options?.headers
677
- }
678
- });
679
- export const deleteEventStreams = (options) => (options?.client ?? client).delete({ url: '/event_streams', ...options });
680
- export const getEventStreams = (options) => (options?.client ?? client).get({ url: '/event_streams', ...options });
681
- export const patchEventStreams = (options) => (options?.client ?? client).patch({
682
- url: '/event_streams',
683
- ...options,
684
- headers: {
685
- 'Content-Type': 'application/json',
686
- ...options?.headers
687
- }
688
- });
689
- export const postEventStreams = (options) => (options?.client ?? client).post({
690
- url: '/event_streams',
691
- ...options,
692
- headers: {
693
- 'Content-Type': 'application/json',
694
- ...options?.headers
695
- }
696
- });
697
- /**
698
- * 服务端点信息
699
- */
700
- export const deleteEndpoints = (options) => (options?.client ?? client).delete({ url: '/endpoints', ...options });
701
- /**
702
- * 服务端点信息
703
- */
704
- export const getEndpoints = (options) => (options?.client ?? client).get({ url: '/endpoints', ...options });
705
- /**
706
- * 服务端点信息
707
- */
708
- export const patchEndpoints = (options) => (options?.client ?? client).patch({
709
- url: '/endpoints',
710
- ...options,
711
- headers: {
712
- 'Content-Type': 'application/json',
713
- ...options?.headers
714
- }
715
- });
716
- /**
717
- * 服务端点信息
718
- */
719
- export const postEndpoints = (options) => (options?.client ?? client).post({
720
- url: '/endpoints',
721
- ...options,
722
- headers: {
723
- 'Content-Type': 'application/json',
724
- ...options?.headers
725
- }
726
- });
727
- /**
728
- * 计算资源节点 (VPS, HuggingFace Spaces, Local Docker, etc.)
729
- */
730
- export const deleteComputeNodes = (options) => (options?.client ?? client).delete({ url: '/compute_nodes', ...options });
731
- /**
732
- * 计算资源节点 (VPS, HuggingFace Spaces, Local Docker, etc.)
733
- */
734
- export const getComputeNodes = (options) => (options?.client ?? client).get({ url: '/compute_nodes', ...options });
735
- /**
736
- * 计算资源节点 (VPS, HuggingFace Spaces, Local Docker, etc.)
737
- */
738
- export const patchComputeNodes = (options) => (options?.client ?? client).patch({
739
- url: '/compute_nodes',
740
- ...options,
741
- headers: {
742
- 'Content-Type': 'application/json',
743
- ...options?.headers
744
- }
745
- });
746
- /**
747
- * 计算资源节点 (VPS, HuggingFace Spaces, Local Docker, etc.)
748
- */
749
- export const postComputeNodes = (options) => (options?.client ?? client).post({
750
- url: '/compute_nodes',
751
- ...options,
752
- headers: {
753
- 'Content-Type': 'application/json',
754
- ...options?.headers
755
- }
756
- });
757
- /**
758
- * System-level configurations, e.g., GitHub App secrets
759
- */
760
- export const deleteSysConfig = (options) => (options?.client ?? client).delete({ url: '/sys_config', ...options });
761
- /**
762
- * System-level configurations, e.g., GitHub App secrets
763
- */
764
- export const getSysConfig = (options) => (options?.client ?? client).get({ url: '/sys_config', ...options });
765
- /**
766
- * System-level configurations, e.g., GitHub App secrets
767
- */
768
- export const patchSysConfig = (options) => (options?.client ?? client).patch({
769
- url: '/sys_config',
770
- ...options,
771
- headers: {
772
- 'Content-Type': 'application/json',
773
- ...options?.headers
774
- }
775
- });
776
- /**
777
- * System-level configurations, e.g., GitHub App secrets
778
- */
779
- export const postSysConfig = (options) => (options?.client ?? client).post({
780
- url: '/sys_config',
781
- ...options,
782
- headers: {
783
- 'Content-Type': 'application/json',
784
- ...options?.headers
785
- }
786
- });
787
- export const deleteWorkerApiKeys = (options) => (options?.client ?? client).delete({ url: '/worker_api_keys', ...options });
788
- export const getWorkerApiKeys = (options) => (options?.client ?? client).get({ url: '/worker_api_keys', ...options });
789
- export const patchWorkerApiKeys = (options) => (options?.client ?? client).patch({
790
- url: '/worker_api_keys',
791
- ...options,
792
- headers: {
793
- 'Content-Type': 'application/json',
794
- ...options?.headers
795
- }
796
- });
797
- export const postWorkerApiKeys = (options) => (options?.client ?? client).post({
798
- url: '/worker_api_keys',
799
- ...options,
800
- headers: {
801
- 'Content-Type': 'application/json',
802
- ...options?.headers
803
- }
804
- });
805
- export const deletePlatforms = (options) => (options?.client ?? client).delete({ url: '/platforms', ...options });
806
- export const getPlatforms = (options) => (options?.client ?? client).get({ url: '/platforms', ...options });
807
- export const patchPlatforms = (options) => (options?.client ?? client).patch({
808
- url: '/platforms',
809
- ...options,
810
- headers: {
811
- 'Content-Type': 'application/json',
812
- ...options?.headers
813
- }
814
- });
815
- export const postPlatforms = (options) => (options?.client ?? client).post({
816
- url: '/platforms',
817
- ...options,
818
- headers: {
819
- 'Content-Type': 'application/json',
820
- ...options?.headers
821
- }
822
- });
823
- export const deleteVoltagentMemoryUsers = (options) => (options?.client ?? client).delete({ url: '/voltagent_memory_users', ...options });
824
- export const getVoltagentMemoryUsers = (options) => (options?.client ?? client).get({ url: '/voltagent_memory_users', ...options });
825
- export const patchVoltagentMemoryUsers = (options) => (options?.client ?? client).patch({
826
- url: '/voltagent_memory_users',
827
- ...options,
828
- headers: {
829
- 'Content-Type': 'application/json',
830
- ...options?.headers
831
- }
832
- });
833
- export const postVoltagentMemoryUsers = (options) => (options?.client ?? client).post({
834
- url: '/voltagent_memory_users',
835
- ...options,
836
- headers: {
837
- 'Content-Type': 'application/json',
838
- ...options?.headers
839
- }
840
- });
841
- /**
842
- * User-Role mapping table
843
- */
844
- export const deleteUserRoles = (options) => (options?.client ?? client).delete({ url: '/user_roles', ...options });
845
- /**
846
- * User-Role mapping table
847
- */
848
- export const getUserRoles = (options) => (options?.client ?? client).get({ url: '/user_roles', ...options });
849
- /**
850
- * User-Role mapping table
851
- */
852
- export const patchUserRoles = (options) => (options?.client ?? client).patch({
853
- url: '/user_roles',
854
- ...options,
855
- headers: {
856
- 'Content-Type': 'application/json',
857
- ...options?.headers
858
- }
859
- });
860
- /**
861
- * User-Role mapping table
862
- */
863
- export const postUserRoles = (options) => (options?.client ?? client).post({
864
- url: '/user_roles',
865
- ...options,
866
- headers: {
867
- 'Content-Type': 'application/json',
868
- ...options?.headers
869
- }
870
- });
871
- /**
872
- * services 的隧道配置
873
- */
874
- export const deleteServiceTunnelsLaji = (options) => (options?.client ?? client).delete({ url: '/service_tunnels_laji', ...options });
875
- /**
876
- * services 的隧道配置
877
- */
878
- export const getServiceTunnelsLaji = (options) => (options?.client ?? client).get({ url: '/service_tunnels_laji', ...options });
879
- /**
880
- * services 的隧道配置
881
- */
882
- export const patchServiceTunnelsLaji = (options) => (options?.client ?? client).patch({
883
- url: '/service_tunnels_laji',
884
- ...options,
885
- headers: {
886
- 'Content-Type': 'application/json',
887
- ...options?.headers
888
- }
889
- });
890
- /**
891
- * services 的隧道配置
892
- */
893
- export const postServiceTunnelsLaji = (options) => (options?.client ?? client).post({
894
- url: '/service_tunnels_laji',
895
- ...options,
896
- headers: {
897
- 'Content-Type': 'application/json',
898
- ...options?.headers
899
- }
900
- });
901
- /**
902
- * adk_events
903
- */
904
- export const deleteAdkEvents = (options) => (options?.client ?? client).delete({ url: '/adk_events', ...options });
905
- /**
906
- * adk_events
907
- */
908
- export const getAdkEvents = (options) => (options?.client ?? client).get({ url: '/adk_events', ...options });
909
- /**
910
- * adk_events
911
- */
912
- export const patchAdkEvents = (options) => (options?.client ?? client).patch({
913
- url: '/adk_events',
914
- ...options,
915
- headers: {
916
- 'Content-Type': 'application/json',
917
- ...options?.headers
918
- }
919
- });
920
- /**
921
- * adk_events
922
- */
923
- export const postAdkEvents = (options) => (options?.client ?? client).post({
924
- url: '/adk_events',
925
- ...options,
926
- headers: {
927
- 'Content-Type': 'application/json',
928
- ...options?.headers
929
- }
930
- });
931
- export const deleteAuditProjects = (options) => (options?.client ?? client).delete({ url: '/audit_projects', ...options });
932
- export const getAuditProjects = (options) => (options?.client ?? client).get({ url: '/audit_projects', ...options });
933
- export const patchAuditProjects = (options) => (options?.client ?? client).patch({
934
- url: '/audit_projects',
935
- ...options,
936
- headers: {
937
- 'Content-Type': 'application/json',
938
- ...options?.headers
939
- }
940
- });
941
- export const postAuditProjects = (options) => (options?.client ?? client).post({
942
- url: '/audit_projects',
943
- ...options,
944
- headers: {
945
- 'Content-Type': 'application/json',
946
- ...options?.headers
947
- }
948
- });
949
- /**
950
- * ai agents
951
- */
952
- export const deleteAgents = (options) => (options?.client ?? client).delete({ url: '/agents', ...options });
953
- /**
954
- * ai agents
955
- */
956
- export const getAgents = (options) => (options?.client ?? client).get({ url: '/agents', ...options });
957
- /**
958
- * ai agents
959
- */
960
- export const patchAgents = (options) => (options?.client ?? client).patch({
961
- url: '/agents',
962
- ...options,
963
- headers: {
964
- 'Content-Type': 'application/json',
965
- ...options?.headers
966
- }
967
- });
968
- /**
969
- * ai agents
970
- */
971
- export const postAgents = (options) => (options?.client ?? client).post({
972
- url: '/agents',
973
- ...options,
974
- headers: {
975
- 'Content-Type': 'application/json',
976
- ...options?.headers
977
- }
978
- });
979
- export const deleteVoltagentMemoryConversations = (options) => (options?.client ?? client).delete({ url: '/voltagent_memory_conversations', ...options });
980
- export const getVoltagentMemoryConversations = (options) => (options?.client ?? client).get({ url: '/voltagent_memory_conversations', ...options });
981
- export const patchVoltagentMemoryConversations = (options) => (options?.client ?? client).patch({
982
- url: '/voltagent_memory_conversations',
983
- ...options,
984
- headers: {
985
- 'Content-Type': 'application/json',
986
- ...options?.headers
987
- }
988
- });
989
- export const postVoltagentMemoryConversations = (options) => (options?.client ?? client).post({
990
- url: '/voltagent_memory_conversations',
991
- ...options,
992
- headers: {
993
- 'Content-Type': 'application/json',
994
- ...options?.headers
995
- }
996
- });
997
- /**
998
- * ADK Agent 应用列表
999
- */
1000
- export const deleteAdkAgents = (options) => (options?.client ?? client).delete({ url: '/adk_agents', ...options });
1001
- /**
1002
- * ADK Agent 应用列表
1003
- */
1004
- export const getAdkAgents = (options) => (options?.client ?? client).get({ url: '/adk_agents', ...options });
1005
- /**
1006
- * ADK Agent 应用列表
1007
- */
1008
- export const patchAdkAgents = (options) => (options?.client ?? client).patch({
1009
- url: '/adk_agents',
1010
- ...options,
1011
- headers: {
1012
- 'Content-Type': 'application/json',
1013
- ...options?.headers
1014
- }
1015
- });
1016
- /**
1017
- * ADK Agent 应用列表
1018
- */
1019
- export const postAdkAgents = (options) => (options?.client ?? client).post({
1020
- url: '/adk_agents',
1021
- ...options,
1022
- headers: {
1023
- 'Content-Type': 'application/json',
1024
- ...options?.headers
1025
- }
1026
- });
1027
- export const deleteWorkflowSteps = (options) => (options?.client ?? client).delete({ url: '/workflow_steps', ...options });
1028
- export const getWorkflowSteps = (options) => (options?.client ?? client).get({ url: '/workflow_steps', ...options });
1029
- export const patchWorkflowSteps = (options) => (options?.client ?? client).patch({
1030
- url: '/workflow_steps',
1031
- ...options,
1032
- headers: {
1033
- 'Content-Type': 'application/json',
1034
- ...options?.headers
1035
- }
1036
- });
1037
- export const postWorkflowSteps = (options) => (options?.client ?? client).post({
1038
- url: '/workflow_steps',
1039
- ...options,
1040
- headers: {
1041
- 'Content-Type': 'application/json',
1042
- ...options?.headers
1043
- }
1044
- });
1045
- export const deleteAdkArtifacts = (options) => (options?.client ?? client).delete({ url: '/adk_artifacts', ...options });
1046
- export const getAdkArtifacts = (options) => (options?.client ?? client).get({ url: '/adk_artifacts', ...options });
1047
- export const patchAdkArtifacts = (options) => (options?.client ?? client).patch({
1048
- url: '/adk_artifacts',
1049
- ...options,
1050
- headers: {
1051
- 'Content-Type': 'application/json',
1052
- ...options?.headers
1053
- }
1054
- });
1055
- export const postAdkArtifacts = (options) => (options?.client ?? client).post({
1056
- url: '/adk_artifacts',
1057
- ...options,
1058
- headers: {
1059
- 'Content-Type': 'application/json',
1060
- ...options?.headers
1061
- }
1062
- });
1063
- /**
1064
- * 传入事件
1065
- */
1066
- export const deleteEvents = (options) => (options?.client ?? client).delete({ url: '/events', ...options });
1067
- /**
1068
- * 传入事件
1069
- */
1070
- export const getEvents = (options) => (options?.client ?? client).get({ url: '/events', ...options });
1071
- /**
1072
- * 传入事件
1073
- */
1074
- export const patchEvents = (options) => (options?.client ?? client).patch({
1075
- url: '/events',
1076
- ...options,
1077
- headers: {
1078
- 'Content-Type': 'application/json',
1079
- ...options?.headers
1080
- }
1081
- });
1082
- /**
1083
- * 传入事件
1084
- */
1085
- export const postEvents = (options) => (options?.client ?? client).post({
1086
- url: '/events',
1087
- ...options,
1088
- headers: {
1089
- 'Content-Type': 'application/json',
1090
- ...options?.headers
1091
- }
1092
- });
1093
- export const deleteVoltagentMemoryMessages = (options) => (options?.client ?? client).delete({ url: '/voltagent_memory_messages', ...options });
1094
- export const getVoltagentMemoryMessages = (options) => (options?.client ?? client).get({ url: '/voltagent_memory_messages', ...options });
1095
- export const patchVoltagentMemoryMessages = (options) => (options?.client ?? client).patch({
1096
- url: '/voltagent_memory_messages',
1097
- ...options,
1098
- headers: {
1099
- 'Content-Type': 'application/json',
1100
- ...options?.headers
1101
- }
1102
- });
1103
- export const postVoltagentMemoryMessages = (options) => (options?.client ?? client).post({
1104
- url: '/voltagent_memory_messages',
1105
- ...options,
1106
- headers: {
1107
- 'Content-Type': 'application/json',
1108
- ...options?.headers
1109
- }
1110
- });
1111
- /**
1112
- * adk_sessions
1113
- */
1114
- export const deleteAdkSessions = (options) => (options?.client ?? client).delete({ url: '/adk_sessions', ...options });
1115
- /**
1116
- * adk_sessions
1117
- */
1118
- export const getAdkSessions = (options) => (options?.client ?? client).get({ url: '/adk_sessions', ...options });
1119
- /**
1120
- * adk_sessions
1121
- */
1122
- export const patchAdkSessions = (options) => (options?.client ?? client).patch({
1123
- url: '/adk_sessions',
1124
- ...options,
1125
- headers: {
1126
- 'Content-Type': 'application/json',
1127
- ...options?.headers
1128
- }
1129
- });
1130
- /**
1131
- * adk_sessions
1132
- */
1133
- export const postAdkSessions = (options) => (options?.client ?? client).post({
1134
- url: '/adk_sessions',
1135
- ...options,
1136
- headers: {
1137
- 'Content-Type': 'application/json',
1138
- ...options?.headers
1139
- }
1140
- });
1141
- /**
1142
- * 系统日志
1143
- */
1144
- export const deleteSysLogs = (options) => (options?.client ?? client).delete({ url: '/sys_logs', ...options });
1145
- /**
1146
- * 系统日志
1147
- */
1148
- export const getSysLogs = (options) => (options?.client ?? client).get({ url: '/sys_logs', ...options });
1149
- /**
1150
- * 系统日志
1151
- */
1152
- export const patchSysLogs = (options) => (options?.client ?? client).patch({
1153
- url: '/sys_logs',
1154
- ...options,
1155
- headers: {
1156
- 'Content-Type': 'application/json',
1157
- ...options?.headers
1158
- }
1159
- });
1160
- /**
1161
- * 系统日志
1162
- */
1163
- export const postSysLogs = (options) => (options?.client ?? client).post({
1164
- url: '/sys_logs',
1165
- ...options,
1166
- headers: {
1167
- 'Content-Type': 'application/json',
1168
- ...options?.headers
1169
- }
1170
- });
1171
- export const postRpcWorkerList = (options) => (options.client ?? client).post({
1172
- url: '/rpc/worker_list',
1173
- ...options,
1174
- headers: {
1175
- 'Content-Type': 'application/json',
1176
- ...options.headers
1177
- }
1178
- });
1179
- export const postRpcAuditFindingList = (options) => (options.client ?? client).post({
1180
- url: '/rpc/audit_finding_list',
1181
- ...options,
1182
- headers: {
1183
- 'Content-Type': 'application/json',
1184
- ...options.headers
1185
- }
1186
- });
1187
- export const postRpcIsAdmin = (options) => (options.client ?? client).post({
1188
- url: '/rpc/is_admin',
1189
- ...options,
1190
- headers: {
1191
- 'Content-Type': 'application/json',
1192
- ...options.headers
1193
- }
1194
- });
1195
- /**
1196
- * 获取指定项目的漏洞列表 (游标分页)
1197
- */
1198
- export const getRpcAuditFindingListCursor = (options) => (options.client ?? client).get({ url: '/rpc/audit_finding_list_cursor', ...options });
1199
- /**
1200
- * 获取指定项目的漏洞列表 (游标分页)
1201
- */
1202
- export const postRpcAuditFindingListCursor = (options) => (options.client ?? client).post({
1203
- url: '/rpc/audit_finding_list_cursor',
1204
- ...options,
1205
- headers: {
1206
- 'Content-Type': 'application/json',
1207
- ...options.headers
1208
- }
1209
- });
1210
- /**
1211
- * 创建或更新平台配置
1212
- */
1213
- export const postRpcPlatformUpsert = (options) => (options.client ?? client).post({
1214
- url: '/rpc/platform_upsert',
1215
- ...options,
1216
- headers: {
1217
- 'Content-Type': 'application/json',
1218
- ...options.headers
1219
- }
1220
- });
1221
- /**
1222
- * 根据 ID 删除平台配置,返回删除的行数
1223
- */
1224
- export const postRpcPlatformDelete = (options) => (options.client ?? client).post({
1225
- url: '/rpc/platform_delete',
1226
- ...options,
1227
- headers: {
1228
- 'Content-Type': 'application/json',
1229
- ...options.headers
1230
- }
1231
- });
1232
- export const postRpcAdkAgentList = (options) => (options.client ?? client).post({
1233
- url: '/rpc/adk_agent_list',
1234
- ...options,
1235
- headers: {
1236
- 'Content-Type': 'application/json',
1237
- ...options.headers
1238
- }
1239
- });
1240
- export const postRpcAuditProjectDashboardStats = (options) => (options.client ?? client).post({
1241
- url: '/rpc/audit_project_dashboard_stats',
1242
- ...options,
1243
- headers: {
1244
- 'Content-Type': 'application/json',
1245
- ...options.headers
1246
- }
1247
- });
1248
- export const postRpcWorkerTaskList = (options) => (options.client ?? client).post({
1249
- url: '/rpc/worker_task_list',
1250
- ...options,
1251
- headers: {
1252
- 'Content-Type': 'application/json',
1253
- ...options.headers
1254
- }
1255
- });
1256
- export const postRpcComputeNodeUpsert = (options) => (options.client ?? client).post({
1257
- url: '/rpc/compute_node_upsert',
1258
- ...options,
1259
- headers: {
1260
- 'Content-Type': 'application/json',
1261
- ...options.headers
1262
- }
1263
- });
1264
- /**
1265
- * 获取平台配置列表(游标分页),支持搜索
1266
- */
1267
- export const postRpcPlatformListCursor = (options) => (options.client ?? client).post({
1268
- url: '/rpc/platform_list_cursor',
1269
- ...options,
1270
- headers: {
1271
- 'Content-Type': 'application/json',
1272
- ...options.headers
1273
- }
1274
- });
1275
- export const postRpcServiceGet = (options) => (options.client ?? client).post({
1276
- url: '/rpc/service_get',
1277
- ...options,
1278
- headers: {
1279
- 'Content-Type': 'application/json',
1280
- ...options.headers
1281
- }
1282
- });
1283
- export const postRpcSandboxGet = (options) => (options.client ?? client).post({
1284
- url: '/rpc/sandbox_get',
1285
- ...options,
1286
- headers: {
1287
- 'Content-Type': 'application/json',
1288
- ...options.headers
1289
- }
1290
- });
1291
- export const postRpcAdkArtifactSave = (options) => (options.client ?? client).post({
1292
- url: '/rpc/adk_artifact_save',
1293
- ...options,
1294
- headers: {
1295
- 'Content-Type': 'application/json',
1296
- ...options.headers
1297
- }
1298
- });
1299
- export const postRpcAdkSessionGet = (options) => (options.client ?? client).post({
1300
- url: '/rpc/adk_session_get',
1301
- ...options,
1302
- headers: {
1303
- 'Content-Type': 'application/json',
1304
- ...options.headers
1305
- }
1306
- });
1307
- export const postRpcGetGithubAppPublicInfo = (options) => (options.client ?? client).post({
1308
- url: '/rpc/get_github_app_public_info',
1309
- ...options,
1310
- headers: {
1311
- 'Content-Type': 'application/json',
1312
- ...options.headers
1313
- }
1314
- });
1315
- /**
1316
- * 向 Agent 发送唤醒信号(无用户文本),通常用于 Human-in-the-loop 操作完成后通知 Agent 继续运行。
1317
- */
1318
- export const postRpcAgentSignalWakeup = (options) => (options.client ?? client).post({
1319
- url: '/rpc/agent_signal_wakeup',
1320
- ...options,
1321
- headers: {
1322
- 'Content-Type': 'application/json',
1323
- ...options.headers
1324
- }
1325
- });
1326
- export const postRpcChatGet = (options) => (options.client ?? client).post({
1327
- url: '/rpc/chat_get',
1328
- ...options,
1329
- headers: {
1330
- 'Content-Type': 'application/json',
1331
- ...options.headers
1332
- }
1333
- });
1334
- export const postRpcLog = (options) => (options.client ?? client).post({
1335
- url: '/rpc/log',
1336
- ...options,
1337
- headers: {
1338
- 'Content-Type': 'application/json',
1339
- ...options.headers
1340
- }
1341
- });
1342
- export const postRpcUserApiKeyDelete = (options) => (options.client ?? client).post({
1343
- url: '/rpc/user_api_key_delete',
1344
- ...options,
1345
- headers: {
1346
- 'Content-Type': 'application/json',
1347
- ...options.headers
1348
- }
1349
- });
1350
- /**
1351
- * 系统维护:清理超过7天未活跃的 Worker 及其专用消息队列。建议通过 pg_cron 定期调用。
1352
- */
1353
- export const postRpcWorkerPruneQueues = (options) => (options.client ?? client).post({
1354
- url: '/rpc/worker_prune_queues',
1355
- ...options,
1356
- headers: {
1357
- 'Content-Type': 'application/json',
1358
- ...options.headers
1359
- }
1360
- });
1361
- export const postRpcWorkersStatusCheck = (options) => (options.client ?? client).post({
1362
- url: '/rpc/workers_status_check',
1363
- ...options,
1364
- headers: {
1365
- 'Content-Type': 'application/json',
1366
- ...options.headers
1367
- }
1368
- });
1369
- export const postRpcTaskCallDemoApi = (options) => (options.client ?? client).post({
1370
- url: '/rpc/task_call_demo_api',
1371
- ...options,
1372
- headers: {
1373
- 'Content-Type': 'application/json',
1374
- ...options.headers
1375
- }
1376
- });
1377
- export const postRpcUserLogRecord = (options) => (options.client ?? client).post({
1378
- url: '/rpc/user_log_record',
1379
- ...options,
1380
- headers: {
1381
- 'Content-Type': 'application/json',
1382
- ...options.headers
1383
- }
1384
- });
1385
- export const postRpcServiceList = (options) => (options.client ?? client).post({
1386
- url: '/rpc/service_list',
1387
- ...options,
1388
- headers: {
1389
- 'Content-Type': 'application/json',
1390
- ...options.headers
1391
- }
1392
- });
1393
- /**
1394
- * 获取所有公开配置项列表,任何登录用户可调用
1395
- */
1396
- export const postRpcSystemConfigPublicList = (options) => (options.client ?? client).post({
1397
- url: '/rpc/system_config_public_list',
1398
- ...options,
1399
- headers: {
1400
- 'Content-Type': 'application/json',
1401
- ...options.headers
1402
- }
1403
- });
1404
- export const postRpcBrowserGet = (options) => (options.client ?? client).post({
1405
- url: '/rpc/browser_get',
1406
- ...options,
1407
- headers: {
1408
- 'Content-Type': 'application/json',
1409
- ...options.headers
1410
- }
1411
- });
1412
- export const postRpcSysGetDbSchema = (options) => (options.client ?? client).post({
1413
- url: '/rpc/sys_get_db_schema',
1414
- ...options,
1415
- headers: {
1416
- 'Content-Type': 'application/json',
1417
- ...options.headers
1418
- }
1419
- });
1420
- export const postRpcEndpointsUpsert = (options) => (options.client ?? client).post({
1421
- url: '/rpc/endpoints_upsert',
1422
- ...options,
1423
- headers: {
1424
- 'Content-Type': 'application/json',
1425
- ...options.headers
1426
- }
1427
- });
1428
- export const postRpcWorkerApikeyVerify = (options) => (options.client ?? client).post({
1429
- url: '/rpc/worker_apikey_verify',
1430
- ...options,
1431
- headers: {
1432
- 'Content-Type': 'application/json',
1433
- ...options.headers
1434
- }
1435
- });
1436
- /**
1437
- * ADK Session 核心写入函数。替代原 v2 版本。
1438
- */
1439
- export const postRpcAdkSessionUpsert = (options) => (options.client ?? client).post({
1440
- url: '/rpc/adk_session_upsert',
1441
- ...options,
1442
- headers: {
1443
- 'Content-Type': 'application/json',
1444
- ...options.headers
1445
- }
1446
- });
1447
- export const postRpcGomtmModelListCursor = (options) => (options.client ?? client).post({
1448
- url: '/rpc/gomtm_model_list_cursor',
1449
- ...options,
1450
- headers: {
1451
- 'Content-Type': 'application/json',
1452
- ...options.headers
1453
- }
1454
- });
1455
- /**
1456
- * 获取公开配置项的值,任何登录用户可调用
1457
- */
1458
- export const postRpcSystemConfigPublicGet = (options) => (options.client ?? client).post({
1459
- url: '/rpc/system_config_public_get',
1460
- ...options,
1461
- headers: {
1462
- 'Content-Type': 'application/json',
1463
- ...options.headers
1464
- }
1465
- });
1466
- export const postRpcProxyDelete = (options) => (options.client ?? client).post({
1467
- url: '/rpc/proxy_delete',
1468
- ...options,
1469
- headers: {
1470
- 'Content-Type': 'application/json',
1471
- ...options.headers
1472
- }
1473
- });
1474
- export const postRpcAdkArtifactDelete = (options) => (options.client ?? client).post({
1475
- url: '/rpc/adk_artifact_delete',
1476
- ...options,
1477
- headers: {
1478
- 'Content-Type': 'application/json',
1479
- ...options.headers
1480
- }
1481
- });
1482
- export const getRpcAuthRole = (options) => (options?.client ?? client).get({ url: '/rpc/auth_role', ...options });
1483
- export const postRpcAuthRole = (options) => (options.client ?? client).post({
1484
- url: '/rpc/auth_role',
1485
- ...options,
1486
- headers: {
1487
- 'Content-Type': 'application/json',
1488
- ...options.headers
1489
- }
1490
- });
1491
- export const postRpcSandboxFindActive = (options) => (options.client ?? client).post({
1492
- url: '/rpc/sandbox_find_active',
1493
- ...options,
1494
- headers: {
1495
- 'Content-Type': 'application/json',
1496
- ...options.headers
1497
- }
1498
- });
1499
- export const postRpcUidByEmail = (options) => (options.client ?? client).post({
1500
- url: '/rpc/uid_by_email',
1501
- ...options,
1502
- headers: {
1503
- 'Content-Type': 'application/json',
1504
- ...options.headers
1505
- }
1506
- });
1507
- export const postRpcResourceUpsert = (options) => (options.client ?? client).post({
1508
- url: '/rpc/resource_upsert',
1509
- ...options,
1510
- headers: {
1511
- 'Content-Type': 'application/json',
1512
- ...options.headers
1513
- }
1514
- });
1515
- export const postRpcLinkedAccountGet = (options) => (options.client ?? client).post({
1516
- url: '/rpc/linked_account_get',
1517
- ...options,
1518
- headers: {
1519
- 'Content-Type': 'application/json',
1520
- ...options.headers
1521
- }
1522
- });
1523
- export const postRpcAdkEventList = (options) => (options.client ?? client).post({
1524
- url: '/rpc/adk_event_list',
1525
- ...options,
1526
- headers: {
1527
- 'Content-Type': 'application/json',
1528
- ...options.headers
1529
- }
1530
- });
1531
- export const postRpcAuditProjectBindGithub = (options) => (options.client ?? client).post({
1532
- url: '/rpc/audit_project_bind_github',
1533
- ...options,
1534
- headers: {
1535
- 'Content-Type': 'application/json',
1536
- ...options.headers
1537
- }
1538
- });
1539
- /**
1540
- * 根据 ID 删除关联账号,返回删除的行数
1541
- */
1542
- export const postRpcLinkedAccountDelete = (options) => (options.client ?? client).post({
1543
- url: '/rpc/linked_account_delete',
1544
- ...options,
1545
- headers: {
1546
- 'Content-Type': 'application/json',
1547
- ...options.headers
1548
- }
1549
- });
1550
- export const postRpcGomtmModelDelete = (options) => (options.client ?? client).post({
1551
- url: '/rpc/gomtm_model_delete',
1552
- ...options,
1553
- headers: {
1554
- 'Content-Type': 'application/json',
1555
- ...options.headers
1556
- }
1557
- });
1558
- /**
1559
- * 获取当前用户的审计项目列表 (分页).
1560
- *
1561
- * 参数:
1562
- * - page_no: 页码 (从1开始, 默认1)
1563
- * - page_size: 每页数量 (默认20)
1564
- * - kw: 搜索关键字 (模糊匹配项目名称)
1565
- *
1566
- * 返回: SETOF audit_projects (类型安全的行集)
1567
- *
1568
- * 注意: 如需获取总数用于分页器, 请同时调用 audit_project_count 函数
1569
- */
1570
- export const getRpcAuditProjectList = (options) => (options?.client ?? client).get({ url: '/rpc/audit_project_list', ...options });
1571
- /**
1572
- * 获取当前用户的审计项目列表 (分页).
1573
- *
1574
- * 参数:
1575
- * - page_no: 页码 (从1开始, 默认1)
1576
- * - page_size: 每页数量 (默认20)
1577
- * - kw: 搜索关键字 (模糊匹配项目名称)
1578
- *
1579
- * 返回: SETOF audit_projects (类型安全的行集)
1580
- *
1581
- * 注意: 如需获取总数用于分页器, 请同时调用 audit_project_count 函数
1582
- */
1583
- export const postRpcAuditProjectList = (options) => (options.client ?? client).post({
1584
- url: '/rpc/audit_project_list',
1585
- ...options,
1586
- headers: {
1587
- 'Content-Type': 'application/json',
1588
- ...options.headers
1589
- }
1590
- });
1591
- export const postRpcEventInsert = (options) => (options.client ?? client).post({
1592
- url: '/rpc/event_insert',
1593
- ...options,
1594
- headers: {
1595
- 'Content-Type': 'application/json',
1596
- ...options.headers
1597
- }
1598
- });
1599
- export const postRpcResourceListV2Laji = (options) => (options.client ?? client).post({
1600
- url: '/rpc/resource_list_v2_laji',
1601
- ...options,
1602
- headers: {
1603
- 'Content-Type': 'application/json',
1604
- ...options.headers
1605
- }
1606
- });
1607
- export const getRpcProxyList = (options) => (options?.client ?? client).get({ url: '/rpc/proxy_list', ...options });
1608
- export const postRpcProxyList = (options) => (options.client ?? client).post({
1609
- url: '/rpc/proxy_list',
1610
- ...options,
1611
- headers: {
1612
- 'Content-Type': 'application/json',
1613
- ...options.headers
1614
- }
1615
- });
1616
- /**
1617
- * 设置公开配置项,仅管理员可调用
1618
- */
1619
- export const postRpcSystemConfigPublicSet = (options) => (options.client ?? client).post({
1620
- url: '/rpc/system_config_public_set',
1621
- ...options,
1622
- headers: {
1623
- 'Content-Type': 'application/json',
1624
- ...options.headers
1625
- }
1626
- });
1627
- export const postRpcAdkEventUpsertFromJson = (options) => (options.client ?? client).post({
1628
- url: '/rpc/adk_event_upsert_from_json',
1629
- ...options,
1630
- headers: {
1631
- 'Content-Type': 'application/json',
1632
- ...options.headers
1633
- }
1634
- });
1635
- export const postRpcWorkerGet = (options) => (options.client ?? client).post({
1636
- url: '/rpc/worker_get',
1637
- ...options,
1638
- headers: {
1639
- 'Content-Type': 'application/json',
1640
- ...options.headers
1641
- }
1642
- });
1643
- export const postRpcAuditSkillList = (options) => (options.client ?? client).post({
1644
- url: '/rpc/audit_skill_list',
1645
- ...options,
1646
- headers: {
1647
- 'Content-Type': 'application/json',
1648
- ...options.headers
1649
- }
1650
- });
1651
- /**
1652
- * 执行 SQL 查询。会自动截断结果行数和长度。仅支持 SELECT。
1653
- */
1654
- export const postRpcAgentToolExecReadSql = (options) => (options.client ?? client).post({
1655
- url: '/rpc/agent_tool_exec_read_sql',
1656
- ...options,
1657
- headers: {
1658
- 'Content-Type': 'application/json',
1659
- ...options.headers
1660
- }
1661
- });
1662
- export const postRpcCleanupInactiveWorkerQueues = (options) => (options.client ?? client).post({
1663
- url: '/rpc/cleanup_inactive_worker_queues',
1664
- ...options,
1665
- headers: {
1666
- 'Content-Type': 'application/json',
1667
- ...options.headers
1668
- }
1669
- });
1670
- export const postRpcAdkSessionListBackup = (options) => (options.client ?? client).post({
1671
- url: '/rpc/adk_session_list_backup',
1672
- ...options,
1673
- headers: {
1674
- 'Content-Type': 'application/json',
1675
- ...options.headers
1676
- }
1677
- });
1678
- export const postRpcWorkerAck = (options) => (options.client ?? client).post({
1679
- url: '/rpc/worker_ack',
1680
- ...options,
1681
- headers: {
1682
- 'Content-Type': 'application/json',
1683
- ...options.headers
1684
- }
1685
- });
1686
- /**
1687
- * 删除公开配置项,仅管理员可调用
1688
- */
1689
- export const postRpcSystemConfigPublicDelete = (options) => (options.client ?? client).post({
1690
- url: '/rpc/system_config_public_delete',
1691
- ...options,
1692
- headers: {
1693
- 'Content-Type': 'application/json',
1694
- ...options.headers
1695
- }
1696
- });
1697
- export const postRpcBrowserList = (options) => (options.client ?? client).post({
1698
- url: '/rpc/browser_list',
1699
- ...options,
1700
- headers: {
1701
- 'Content-Type': 'application/json',
1702
- ...options.headers
1703
- }
1704
- });
1705
- export const postRpcAuditTaskList = (options) => (options.client ?? client).post({
1706
- url: '/rpc/audit_task_list',
1707
- ...options,
1708
- headers: {
1709
- 'Content-Type': 'application/json',
1710
- ...options.headers
1711
- }
1712
- });
1713
- export const postRpcBrowserUpsert = (options) => (options.client ?? client).post({
1714
- url: '/rpc/browser_upsert',
1715
- ...options,
1716
- headers: {
1717
- 'Content-Type': 'application/json',
1718
- ...options.headers
1719
- }
1720
- });
1721
- export const postRpcAuditArtifactList = (options) => (options.client ?? client).post({
1722
- url: '/rpc/audit_artifact_list',
1723
- ...options,
1724
- headers: {
1725
- 'Content-Type': 'application/json',
1726
- ...options.headers
1727
- }
1728
- });
1729
- export const postRpcUserApiKeyList = (options) => (options.client ?? client).post({
1730
- url: '/rpc/user_api_key_list',
1731
- ...options,
1732
- headers: {
1733
- 'Content-Type': 'application/json',
1734
- ...options.headers
1735
- }
1736
- });
1737
- export const postRpcGomtmModelGet = (options) => (options.client ?? client).post({
1738
- url: '/rpc/gomtm_model_get',
1739
- ...options,
1740
- headers: {
1741
- 'Content-Type': 'application/json',
1742
- ...options.headers
1743
- }
1744
- });
1745
- export const postRpcWorkerPull = (options) => (options.client ?? client).post({
1746
- url: '/rpc/worker_pull',
1747
- ...options,
1748
- headers: {
1749
- 'Content-Type': 'application/json',
1750
- ...options.headers
1751
- }
1752
- });
1753
- export const postRpcChatMessageUpsert = (options) => (options.client ?? client).post({
1754
- url: '/rpc/chat_message_upsert',
1755
- ...options,
1756
- headers: {
1757
- 'Content-Type': 'application/json',
1758
- ...options.headers
1759
- }
1760
- });
1761
- export const postRpcAdkQuickStartList = (options) => (options.client ?? client).post({
1762
- url: '/rpc/adk_quick_start_list',
1763
- ...options,
1764
- headers: {
1765
- 'Content-Type': 'application/json',
1766
- ...options.headers
1767
- }
1768
- });
1769
- /**
1770
- * 获取当前用户的审计项目总数 (用于分页器显示).
1771
- *
1772
- * 参数:
1773
- * - kw: 搜索关键字 (模糊匹配项目名称)
1774
- *
1775
- * 返回: bigint (项目总数)
1776
- *
1777
- * 用法: 与 audit_project_list 配合使用实现完整分页功能
1778
- */
1779
- export const getRpcAuditProjectCount = (options) => (options?.client ?? client).get({ url: '/rpc/audit_project_count', ...options });
1780
- /**
1781
- * 获取当前用户的审计项目总数 (用于分页器显示).
1782
- *
1783
- * 参数:
1784
- * - kw: 搜索关键字 (模糊匹配项目名称)
1785
- *
1786
- * 返回: bigint (项目总数)
1787
- *
1788
- * 用法: 与 audit_project_list 配合使用实现完整分页功能
1789
- */
1790
- export const postRpcAuditProjectCount = (options) => (options.client ?? client).post({
1791
- url: '/rpc/audit_project_count',
1792
- ...options,
1793
- headers: {
1794
- 'Content-Type': 'application/json',
1795
- ...options.headers
1796
- }
1797
- });
1798
- export const postRpcUserApiKeyCreate = (options) => (options.client ?? client).post({
1799
- url: '/rpc/user_api_key_create',
1800
- ...options,
1801
- headers: {
1802
- 'Content-Type': 'application/json',
1803
- ...options.headers
1804
- }
1805
- });
1806
- export const postRpcWorkerTaskUpsert = (options) => (options.client ?? client).post({
1807
- url: '/rpc/worker_task_upsert',
1808
- ...options,
1809
- headers: {
1810
- 'Content-Type': 'application/json',
1811
- ...options.headers
1812
- }
1813
- });
1814
- export const postRpcBrowserUpdateState = (options) => (options.client ?? client).post({
1815
- url: '/rpc/browser_update_state',
1816
- ...options,
1817
- headers: {
1818
- 'Content-Type': 'application/json',
1819
- ...options.headers
1820
- }
1821
- });
1822
- export const postRpcDemoEndpointsCheck = (options) => (options.client ?? client).post({
1823
- url: '/rpc/demo_endpoints_check',
1824
- ...options,
1825
- headers: {
1826
- 'Content-Type': 'application/json',
1827
- ...options.headers
1828
- }
1829
- });
1830
- export const postRpcGetMainapiUrl = (options) => (options.client ?? client).post({
1831
- url: '/rpc/get_mainapi_url',
1832
- ...options,
1833
- headers: {
1834
- 'Content-Type': 'application/json',
1835
- ...options.headers
1836
- }
1837
- });
1838
- /**
1839
- * 回复用户。参数: p_chat_id (可选), p_text (内容), p_actions (可选), p_user_id (可选)。智能路由:如果 Chat ID 无效或为空,会自动发送到该用户的 Inbox (系统收件箱)。
1840
- */
1841
- export const postRpcActionToolReplyToUser = (options) => (options.client ?? client).post({
1842
- url: '/rpc/action_tool_reply_to_user',
1843
- ...options,
1844
- headers: {
1845
- 'Content-Type': 'application/json',
1846
- ...options.headers
1847
- }
1848
- });
1849
- export const postRpcResourceDelete = (options) => (options.client ?? client).post({
1850
- url: '/rpc/resource_delete',
1851
- ...options,
1852
- headers: {
1853
- 'Content-Type': 'application/json',
1854
- ...options.headers
1855
- }
1856
- });
1857
- export const postRpcWorkerSetStatus = (options) => (options.client ?? client).post({
1858
- url: '/rpc/worker_set_status',
1859
- ...options,
1860
- headers: {
1861
- 'Content-Type': 'application/json',
1862
- ...options.headers
1863
- }
1864
- });
1865
- /**
1866
- * 获取关联账号列表(游标分页),基于用户权限
1867
- */
1868
- export const postRpcLinkedAccountListCursor = (options) => (options.client ?? client).post({
1869
- url: '/rpc/linked_account_list_cursor',
1870
- ...options,
1871
- headers: {
1872
- 'Content-Type': 'application/json',
1873
- ...options.headers
1874
- }
1875
- });
1876
- export const postRpcResourceGetV2Laji = (options) => (options.client ?? client).post({
1877
- url: '/rpc/resource_get_v2_laji',
1878
- ...options,
1879
- headers: {
1880
- 'Content-Type': 'application/json',
1881
- ...options.headers
1882
- }
1883
- });
1884
- export const postRpcResourceGet = (options) => (options.client ?? client).post({
1885
- url: '/rpc/resource_get',
1886
- ...options,
1887
- headers: {
1888
- 'Content-Type': 'application/json',
1889
- ...options.headers
1890
- }
1891
- });
1892
- export const postRpcComputeNodeDelete = (options) => (options.client ?? client).post({
1893
- url: '/rpc/compute_node_delete',
1894
- ...options,
1895
- headers: {
1896
- 'Content-Type': 'application/json',
1897
- ...options.headers
1898
- }
1899
- });
1900
- export const postRpcDbToolQuery = (options) => (options.client ?? client).post({
1901
- url: '/rpc/db_tool_query',
1902
- ...options,
1903
- headers: {
1904
- 'Content-Type': 'application/json',
1905
- ...options.headers
1906
- }
1907
- });
1908
- export const postRpcAdkEventUpsertFromJsonLaji = (options) => (options.client ?? client).post({
1909
- url: '/rpc/adk_event_upsert_from_json_laji',
1910
- ...options,
1911
- headers: {
1912
- 'Content-Type': 'application/json',
1913
- ...options.headers
1914
- }
1915
- });
1916
- export const postRpcChatList = (options) => (options.client ?? client).post({
1917
- url: '/rpc/chat_list',
1918
- ...options,
1919
- headers: {
1920
- 'Content-Type': 'application/json',
1921
- ...options.headers
1922
- }
1923
- });
1924
- export const postRpcAdkArtifactListVersionsMeta = (options) => (options.client ?? client).post({
1925
- url: '/rpc/adk_artifact_list_versions_meta',
1926
- ...options,
1927
- headers: {
1928
- 'Content-Type': 'application/json',
1929
- ...options.headers
1930
- }
1931
- });
1932
- export const postRpcBrowserDelete = (options) => (options.client ?? client).post({
1933
- url: '/rpc/browser_delete',
1934
- ...options,
1935
- headers: {
1936
- 'Content-Type': 'application/json',
1937
- ...options.headers
1938
- }
1939
- });
1940
- export const postRpcCleanupEventStreams = (options) => (options.client ?? client).post({
1941
- url: '/rpc/cleanup_event_streams',
1942
- ...options,
1943
- headers: {
1944
- 'Content-Type': 'application/json',
1945
- ...options.headers
1946
- }
1947
- });
1948
- export const postRpcWorkerFail = (options) => (options.client ?? client).post({
1949
- url: '/rpc/worker_fail',
1950
- ...options,
1951
- headers: {
1952
- 'Content-Type': 'application/json',
1953
- ...options.headers
1954
- }
1955
- });
1956
- /**
1957
- * 获取指定项目的资产列表 (游标分页)
1958
- */
1959
- export const getRpcAuditAssetListCursor = (options) => (options.client ?? client).get({ url: '/rpc/audit_asset_list_cursor', ...options });
1960
- /**
1961
- * 获取指定项目的资产列表 (游标分页)
1962
- */
1963
- export const postRpcAuditAssetListCursor = (options) => (options.client ?? client).post({
1964
- url: '/rpc/audit_asset_list_cursor',
1965
- ...options,
1966
- headers: {
1967
- 'Content-Type': 'application/json',
1968
- ...options.headers
1969
- }
1970
- });
1971
- export const postRpcAuditProjectGet = (options) => (options.client ?? client).post({
1972
- url: '/rpc/audit_project_get',
1973
- ...options,
1974
- headers: {
1975
- 'Content-Type': 'application/json',
1976
- ...options.headers
1977
- }
1978
- });
1979
- export const postRpcChatUpsert = (options) => (options.client ?? client).post({
1980
- url: '/rpc/chat_upsert',
1981
- ...options,
1982
- headers: {
1983
- 'Content-Type': 'application/json',
1984
- ...options.headers
1985
- }
1986
- });
1987
- export const postRpcWorkerUpdateState = (options) => (options.client ?? client).post({
1988
- url: '/rpc/worker_update_state',
1989
- ...options,
1990
- headers: {
1991
- 'Content-Type': 'application/json',
1992
- ...options.headers
1993
- }
1994
- });
1995
- /**
1996
- * 从 JWT token 中提取用户 ID
1997
- */
1998
- export const postRpcGetUserIdFromToken = (options) => (options.client ?? client).post({
1999
- url: '/rpc/get_user_id_from_token',
2000
- ...options,
2001
- headers: {
2002
- 'Content-Type': 'application/json',
2003
- ...options.headers
2004
- }
2005
- });
2006
- export const postRpcAdkArtifactGet = (options) => (options.client ?? client).post({
2007
- url: '/rpc/adk_artifact_get',
2008
- ...options,
2009
- headers: {
2010
- 'Content-Type': 'application/json',
2011
- ...options.headers
2012
- }
2013
- });
2014
- export const postRpcUserProfileGet = (options) => (options.client ?? client).post({
2015
- url: '/rpc/user_profile_get',
2016
- ...options,
2017
- headers: {
2018
- 'Content-Type': 'application/json',
2019
- ...options.headers
2020
- }
2021
- });
2022
- export const postRpcAdkSessionList = (options) => (options.client ?? client).post({
2023
- url: '/rpc/adk_session_list',
2024
- ...options,
2025
- headers: {
2026
- 'Content-Type': 'application/json',
2027
- ...options.headers
2028
- }
2029
- });
2030
- /**
2031
- * 获取用户的关联账号数量
2032
- */
2033
- export const postRpcLinkedAccountCount = (options) => (options.client ?? client).post({
2034
- url: '/rpc/linked_account_count',
2035
- ...options,
2036
- headers: {
2037
- 'Content-Type': 'application/json',
2038
- ...options.headers
2039
- }
2040
- });
2041
- export const postRpcCancelWorkflow = (options) => (options.client ?? client).post({
2042
- url: '/rpc/cancel_workflow',
2043
- ...options,
2044
- headers: {
2045
- 'Content-Type': 'application/json',
2046
- ...options.headers
2047
- }
2048
- });
2049
- export const postRpcLinkedAccountList = (options) => (options.client ?? client).post({
2050
- url: '/rpc/linked_account_list',
2051
- ...options,
2052
- headers: {
2053
- 'Content-Type': 'application/json',
2054
- ...options.headers
2055
- }
2056
- });
2057
- /**
2058
- * Create or update a worker with support for managed status and default offline state.
2059
- */
2060
- export const postRpcWorkerUpsert = (options) => (options.client ?? client).post({
2061
- url: '/rpc/worker_upsert',
2062
- ...options,
2063
- headers: {
2064
- 'Content-Type': 'application/json',
2065
- ...options.headers
2066
- }
2067
- });
2068
- export const postRpcAuditAssetList = (options) => (options.client ?? client).post({
2069
- url: '/rpc/audit_asset_list',
2070
- ...options,
2071
- headers: {
2072
- 'Content-Type': 'application/json',
2073
- ...options.headers
2074
- }
2075
- });
2076
- /**
2077
- * Worker 心跳函数 - gomtm server 无参数启动的核心
2078
- * 功能:
2079
- * 1. 更新 worker 状态和时间戳
2080
- * 2. 自动生成临时域名配置
2081
- * 3. 返回 cloudflaredToken 供启动 tunnel
2082
- * 4. 返回用户 API Key 供配置数据库访问权限
2083
- *
2084
- * 这样 gomtm server 可以:
2085
- * - 仅使用 anonKey 启动
2086
- * - 通过心跳获取 cloudflaredToken
2087
- * - 通过心跳获取用户身份用于 RLS 认证
2088
- *
2089
- */
2090
- export const postRpcWorkerHeartbeat = (options) => (options.client ?? client).post({
2091
- url: '/rpc/worker_heartbeat',
2092
- ...options,
2093
- headers: {
2094
- 'Content-Type': 'application/json',
2095
- ...options.headers
2096
- }
2097
- });
2098
- /**
2099
- * 获取平台列表,支持搜索和分页
2100
- */
2101
- export const postRpcPlatformList = (options) => (options.client ?? client).post({
2102
- url: '/rpc/platform_list',
2103
- ...options,
2104
- headers: {
2105
- 'Content-Type': 'application/json',
2106
- ...options.headers
2107
- }
2108
- });
2109
- export const postRpcLinkedAccountUpsert = (options) => (options.client ?? client).post({
2110
- url: '/rpc/linked_account_upsert',
2111
- ...options,
2112
- headers: {
2113
- 'Content-Type': 'application/json',
2114
- ...options.headers
2115
- }
2116
- });
2117
- export const postRpcResourceList = (options) => (options.client ?? client).post({
2118
- url: '/rpc/resource_list',
2119
- ...options,
2120
- headers: {
2121
- 'Content-Type': 'application/json',
2122
- ...options.headers
2123
- }
2124
- });
2125
- /**
2126
- * 根据 ID 获取单个平台配置
2127
- */
2128
- export const postRpcPlatformGet = (options) => (options.client ?? client).post({
2129
- url: '/rpc/platform_get',
2130
- ...options,
2131
- headers: {
2132
- 'Content-Type': 'application/json',
2133
- ...options.headers
2134
- }
2135
- });
2136
- export const postRpcGomtmModelUpsert = (options) => (options.client ?? client).post({
2137
- url: '/rpc/gomtm_model_upsert',
2138
- ...options,
2139
- headers: {
2140
- 'Content-Type': 'application/json',
2141
- ...options.headers
2142
- }
2143
- });
2144
- /**
2145
- * 获取当前用户的审计项目列表 (游标分页).
2146
- *
2147
- *
2148
- * 参数:
2149
- * - p_cursor: 游标时间戳 (上一页最后一条记录的 updated_at, 首次加载传 NULL)
2150
- * - p_cursor_id: 游标 ID (上一页最后一条记录的 id, 用于处理同时间戳)
2151
- * - p_limit: 每页数量 (默认 20)
2152
- * - p_kw: 搜索关键字 (模糊匹配项目名称)
2153
- *
2154
- * 返回: SETOF audit_projects (类型安全的行集)
2155
- *
2156
- * 使用方式:
2157
- * 1. 首页: SELECT * FROM audit_project_list_cursor(NULL, NULL, 20, '')
2158
- * 2. 下一页: SELECT * FROM audit_project_list_cursor('2026-01-20T08:00:00Z', 'uuid-xxx', 20, '')
2159
- *
2160
- * 前端集成: 配合 react-query 的 useInfiniteQuery 使用
2161
- */
2162
- export const getRpcAuditProjectListCursor = (options) => (options?.client ?? client).get({ url: '/rpc/audit_project_list_cursor', ...options });
2163
- /**
2164
- * 获取当前用户的审计项目列表 (游标分页).
2165
- *
2166
- *
2167
- * 参数:
2168
- * - p_cursor: 游标时间戳 (上一页最后一条记录的 updated_at, 首次加载传 NULL)
2169
- * - p_cursor_id: 游标 ID (上一页最后一条记录的 id, 用于处理同时间戳)
2170
- * - p_limit: 每页数量 (默认 20)
2171
- * - p_kw: 搜索关键字 (模糊匹配项目名称)
2172
- *
2173
- * 返回: SETOF audit_projects (类型安全的行集)
2174
- *
2175
- * 使用方式:
2176
- * 1. 首页: SELECT * FROM audit_project_list_cursor(NULL, NULL, 20, '')
2177
- * 2. 下一页: SELECT * FROM audit_project_list_cursor('2026-01-20T08:00:00Z', 'uuid-xxx', 20, '')
2178
- *
2179
- * 前端集成: 配合 react-query 的 useInfiniteQuery 使用
2180
- */
2181
- export const postRpcAuditProjectListCursor = (options) => (options.client ?? client).post({
2182
- url: '/rpc/audit_project_list_cursor',
2183
- ...options,
2184
- headers: {
2185
- 'Content-Type': 'application/json',
2186
- ...options.headers
2187
- }
2188
- });
2189
- export const postRpcChatMessageBatchUpsert = (options) => (options.client ?? client).post({
2190
- url: '/rpc/chat_message_batch_upsert',
2191
- ...options,
2192
- headers: {
2193
- 'Content-Type': 'application/json',
2194
- ...options.headers
2195
- }
2196
- });
2197
- export const postRpcEventStreamUpsertBatch = (options) => (options.client ?? client).post({
2198
- url: '/rpc/event_stream_upsert_batch',
2199
- ...options,
2200
- headers: {
2201
- 'Content-Type': 'application/json',
2202
- ...options.headers
2203
- }
2204
- });
2205
- /**
2206
- * 系统函数:发现并返回所有可用的 Action 工具定义。已排除自身并支持参数可选性检测。
2207
- */
2208
- export const postRpcActionToolQuery = (options) => (options.client ?? client).post({
2209
- url: '/rpc/action_tool_query',
2210
- ...options,
2211
- headers: {
2212
- 'Content-Type': 'application/json',
2213
- ...options.headers
2214
- }
2215
- });
2216
- export const postRpcEventStreamUpsertBatchLaji = (options) => (options.client ?? client).post({
2217
- url: '/rpc/event_stream_upsert_batch_laji',
2218
- ...options,
2219
- headers: {
2220
- 'Content-Type': 'application/json',
2221
- ...options.headers
2222
- }
2223
- });
2224
- export const postRpcUserApiKeyValidate = (options) => (options.client ?? client).post({
2225
- url: '/rpc/user_api_key_validate',
2226
- ...options,
2227
- headers: {
2228
- 'Content-Type': 'application/json',
2229
- ...options.headers
2230
- }
2231
- });
2232
- export const getRpcProxyGet = (options) => (options.client ?? client).get({ url: '/rpc/proxy_get', ...options });
2233
- export const postRpcProxyGet = (options) => (options.client ?? client).post({
2234
- url: '/rpc/proxy_get',
2235
- ...options,
2236
- headers: {
2237
- 'Content-Type': 'application/json',
2238
- ...options.headers
2239
- }
2240
- });
2241
- export const postRpcChatMessageList = (options) => (options.client ?? client).post({
2242
- url: '/rpc/chat_message_list',
2243
- ...options,
2244
- headers: {
2245
- 'Content-Type': 'application/json',
2246
- ...options.headers
2247
- }
2248
- });
2249
- export const postRpcUserLogList = (options) => (options.client ?? client).post({
2250
- url: '/rpc/user_log_list',
2251
- ...options,
2252
- headers: {
2253
- 'Content-Type': 'application/json',
2254
- ...options.headers
2255
- }
2256
- });
2257
- export const postRpcComputeNodeGetSecret = (options) => (options.client ?? client).post({
2258
- url: '/rpc/compute_node_get_secret',
2259
- ...options,
2260
- headers: {
2261
- 'Content-Type': 'application/json',
2262
- ...options.headers
2263
- }
2264
- });
2265
- export const postRpcAuditProjectUpsert = (options) => (options.client ?? client).post({
2266
- url: '/rpc/audit_project_upsert',
2267
- ...options,
2268
- headers: {
2269
- 'Content-Type': 'application/json',
2270
- ...options.headers
2271
- }
2272
- });
2273
- export const postRpcAuditProjectDelete = (options) => (options.client ?? client).post({
2274
- url: '/rpc/audit_project_delete',
2275
- ...options,
2276
- headers: {
2277
- 'Content-Type': 'application/json',
2278
- ...options.headers
2279
- }
2280
- });
2281
- /**
2282
- * 提交任务到 PGMQ。修复版:仅将任务路由到活跃的消费者(latest_pull_at),防止沙箱实例劫持消息。
2283
- */
2284
- export const postRpcTaskSubmit = (options) => (options.client ?? client).post({
2285
- url: '/rpc/task_submit',
2286
- ...options,
2287
- headers: {
2288
- 'Content-Type': 'application/json',
2289
- ...options.headers
2290
- }
2291
- });
2292
- export const postRpcAdkArtifactListKeys = (options) => (options.client ?? client).post({
2293
- url: '/rpc/adk_artifact_list_keys',
2294
- ...options,
2295
- headers: {
2296
- 'Content-Type': 'application/json',
2297
- ...options.headers
2298
- }
2299
- });
2300
- export const postRpcGomtmModelCount = (options) => (options.client ?? client).post({
2301
- url: '/rpc/gomtm_model_count',
2302
- ...options,
2303
- headers: {
2304
- 'Content-Type': 'application/json',
2305
- ...options.headers
2306
- }
2307
- });
2308
- export const postRpcServiceUpsert = (options) => (options.client ?? client).post({
2309
- url: '/rpc/service_upsert',
2310
- ...options,
2311
- headers: {
2312
- 'Content-Type': 'application/json',
2313
- ...options.headers
2314
- }
2315
- });
2316
- export const postRpcSysConfigGet = (options) => (options.client ?? client).post({
2317
- url: '/rpc/sys_config_get',
2318
- ...options,
2319
- headers: {
2320
- 'Content-Type': 'application/json',
2321
- ...options.headers
2322
- }
2323
- });
2324
- export const postRpcComputeNodeGet = (options) => (options.client ?? client).post({
2325
- url: '/rpc/compute_node_get',
2326
- ...options,
2327
- headers: {
2328
- 'Content-Type': 'application/json',
2329
- ...options.headers
2330
- }
2331
- });
2332
- export const postRpcMthttp = (options) => (options.client ?? client).post({
2333
- url: '/rpc/mthttp',
2334
- ...options,
2335
- headers: {
2336
- 'Content-Type': 'application/json',
2337
- ...options.headers
2338
- }
2339
- });
2340
- export const postRpcAdkSessionDelete = (options) => (options.client ?? client).post({
2341
- url: '/rpc/adk_session_delete',
2342
- ...options,
2343
- headers: {
2344
- 'Content-Type': 'application/json',
2345
- ...options.headers
2346
- }
2347
- });
2348
- export const postRpcSysInitQueue = (options) => (options.client ?? client).post({
2349
- url: '/rpc/sys_init_queue',
2350
- ...options,
2351
- headers: {
2352
- 'Content-Type': 'application/json',
2353
- ...options.headers
2354
- }
2355
- });
2356
- export const postRpcProxyUpsert = (options) => (options.client ?? client).post({
2357
- url: '/rpc/proxy_upsert',
2358
- ...options,
2359
- headers: {
2360
- 'Content-Type': 'application/json',
2361
- ...options.headers
2362
- }
2363
- });
2364
- export const postRpcWorkerEnsureQueue = (options) => (options.client ?? client).post({
2365
- url: '/rpc/worker_ensure_queue',
2366
- ...options,
2367
- headers: {
2368
- 'Content-Type': 'application/json',
2369
- ...options.headers
2370
- }
2371
- });
2372
- export const postRpcComputeNodeList = (options) => (options.client ?? client).post({
2373
- url: '/rpc/compute_node_list',
2374
- ...options,
2375
- headers: {
2376
- 'Content-Type': 'application/json',
2377
- ...options.headers
2378
- }
2379
- });
2380
- export const postRpcUserProfileUpsert = (options) => (options.client ?? client).post({
2381
- url: '/rpc/user_profile_upsert',
2382
- ...options,
2383
- headers: {
2384
- 'Content-Type': 'application/json',
2385
- ...options.headers
2386
- }
2387
- });
2388
- export const postRpcDashNavitemsList = (options) => (options.client ?? client).post({
2389
- url: '/rpc/dash_navitems_list',
2390
- ...options,
2391
- headers: {
2392
- 'Content-Type': 'application/json',
2393
- ...options.headers
2394
- }
2395
- });
2396
- export const postRpcAgentToolGetUnansweredChatsBackup = (options) => (options.client ?? client).post({
2397
- url: '/rpc/agent_tool_get_unanswered_chats_backup',
2398
- ...options,
2399
- headers: {
2400
- 'Content-Type': 'application/json',
2401
- ...options.headers
2402
- }
2403
- });
2404
- /**
2405
- * 删除指定的 Worker (Sandbox)
2406
- */
2407
- export const postRpcWorkerDelete = (options) => (options.client ?? client).post({
2408
- url: '/rpc/worker_delete',
2409
- ...options,
2410
- headers: {
2411
- 'Content-Type': 'application/json',
2412
- ...options.headers
2413
- }
2414
- });
2415
- export const postRpcSysConfigSet = (options) => (options.client ?? client).post({
2416
- url: '/rpc/sys_config_set',
2417
- ...options,
2418
- headers: {
2419
- 'Content-Type': 'application/json',
2420
- ...options.headers
2421
- }
2422
- });
2423
- export const postRpcAdkEventUpsert = (options) => (options.client ?? client).post({
2424
- url: '/rpc/adk_event_upsert',
2425
- ...options,
2426
- headers: {
2427
- 'Content-Type': 'application/json',
2428
- ...options.headers
2429
- }
2430
- });
2431
- export const postRpcGomtmModelList = (options) => (options.client ?? client).post({
2432
- url: '/rpc/gomtm_model_list',
2433
- ...options,
2434
- headers: {
2435
- 'Content-Type': 'application/json',
2436
- ...options.headers
2437
- }
2438
- });
2439
- export const postRpcAgentTaskSubmitLaji = (options) => (options.client ?? client).post({
2440
- url: '/rpc/agent_task_submit_laji',
2441
- ...options,
2442
- headers: {
2443
- 'Content-Type': 'application/json',
2444
- ...options.headers
2445
- }
2446
- });
2447
- /**
2448
- * 获取平台配置数量,支持搜索
2449
- */
2450
- export const postRpcPlatformCount = (options) => (options.client ?? client).post({
2451
- url: '/rpc/platform_count',
2452
- ...options,
2453
- headers: {
2454
- 'Content-Type': 'application/json',
2455
- ...options.headers
2456
- }
2457
- });
2458
- export const postRpcBrowserEnsureAssociation = (options) => (options.client ?? client).post({
2459
- url: '/rpc/browser_ensure_association',
2460
- ...options,
2461
- headers: {
2462
- 'Content-Type': 'application/json',
2463
- ...options.headers
2464
- }
2465
- });
2466
- //# sourceMappingURL=sdk.gen.js.map