mtmsdk 0.0.51 → 0.0.53

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 (446) hide show
  1. package/dist/gomtmapi/@tanstack/react-query.gen.d.ts +21 -185
  2. package/dist/gomtmapi/@tanstack/react-query.gen.d.ts.map +1 -1
  3. package/dist/gomtmapi/@tanstack/react-query.gen.js +39 -215
  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 +67 -138
  10. package/dist/gomtmapi/schemas.gen.d.ts.map +1 -1
  11. package/dist/gomtmapi/schemas.gen.js +68 -142
  12. package/dist/gomtmapi/schemas.gen.js.map +1 -1
  13. package/dist/gomtmapi/sdk.gen.d.ts +15 -107
  14. package/dist/gomtmapi/sdk.gen.d.ts.map +1 -1
  15. package/dist/gomtmapi/sdk.gen.js +22 -128
  16. package/dist/gomtmapi/sdk.gen.js.map +1 -1
  17. package/dist/gomtmapi/types.gen.d.ts +66 -303
  18. package/dist/gomtmapi/types.gen.d.ts.map +1 -1
  19. package/dist/gomtmapi/zod.gen.d.ts +48 -183
  20. package/dist/gomtmapi/zod.gen.d.ts.map +1 -1
  21. package/dist/gomtmapi/zod.gen.js +36 -150
  22. package/dist/gomtmapi/zod.gen.js.map +1 -1
  23. package/dist/index.d.ts +1 -1
  24. package/dist/index.d.ts.map +1 -1
  25. package/dist/index.js +1 -4
  26. package/dist/index.js.map +1 -1
  27. package/dist/sbmng/@tanstack/react-query.gen.d.ts +183 -209
  28. package/dist/sbmng/@tanstack/react-query.gen.d.ts.map +1 -1
  29. package/dist/sbmng/@tanstack/react-query.gen.js +25 -71
  30. package/dist/sbmng/@tanstack/react-query.gen.js.map +1 -1
  31. package/dist/sbmng/index.d.ts +2 -2
  32. package/dist/sbmng/index.d.ts.map +1 -1
  33. package/dist/sbmng/index.js +1 -1
  34. package/dist/sbmng/index.js.map +1 -1
  35. package/dist/sbmng/schemas.gen.d.ts +10 -99
  36. package/dist/sbmng/schemas.gen.d.ts.map +1 -1
  37. package/dist/sbmng/schemas.gen.js +11 -143
  38. package/dist/sbmng/schemas.gen.js.map +1 -1
  39. package/dist/sbmng/sdk.gen.d.ts +13 -23
  40. package/dist/sbmng/sdk.gen.d.ts.map +1 -1
  41. package/dist/sbmng/sdk.gen.js +16 -38
  42. package/dist/sbmng/sdk.gen.js.map +1 -1
  43. package/dist/sbmng/types.gen.d.ts +41 -157
  44. package/dist/sbmng/types.gen.d.ts.map +1 -1
  45. package/dist/supabase/auth-provider.d.ts +8 -1
  46. package/dist/supabase/auth-provider.d.ts.map +1 -1
  47. package/dist/supabase/context.d.ts +3844 -1
  48. package/dist/supabase/context.d.ts.map +1 -1
  49. package/dist/supabase/cursor-pagination.d.ts +4 -4
  50. package/dist/supabase/cursor-pagination.js +4 -4
  51. package/dist/supabase/schema/index.d.ts +1 -11
  52. package/dist/supabase/schema/index.d.ts.map +1 -1
  53. package/dist/supabase/schema/index.js +1 -19
  54. package/dist/supabase/schema/index.js.map +1 -1
  55. package/dist/supabase/schema/system-config.d.ts +12 -0
  56. package/dist/supabase/schema/system-config.d.ts.map +1 -0
  57. package/dist/supabase/schema/system-config.js +22 -0
  58. package/dist/supabase/schema/system-config.js.map +1 -0
  59. package/dist/supabase/supabase-client.d.ts +25 -591
  60. package/dist/supabase/supabase-client.d.ts.map +1 -1
  61. package/dist/supabase/supabase.d.ts +59 -1191
  62. package/dist/supabase/supabase.d.ts.map +1 -1
  63. package/dist/supabase/use-sb-query/build-query-opts.d.ts +6 -2
  64. package/dist/supabase/use-sb-query/build-query-opts.d.ts.map +1 -1
  65. package/dist/supabase/use-sb-query/build-query-opts.js +8 -4
  66. package/dist/supabase/use-sb-query/build-query-opts.js.map +1 -1
  67. package/dist/supabase/use-sb-query/use-query.d.ts +9 -6
  68. package/dist/supabase/use-sb-query/use-query.d.ts.map +1 -1
  69. package/dist/supabase/use-sb-query/use-query.js.map +1 -1
  70. package/dist/supabase/use-sb-query/use-rpc-mutation.d.ts +8 -8
  71. package/dist/supabase/use-sb-query/use-rpc-mutation.js +8 -8
  72. package/dist/supabase/use-sb-query/use-rpc-query.d.ts +25 -17
  73. package/dist/supabase/use-sb-query/use-rpc-query.d.ts.map +1 -1
  74. package/dist/supabase/use-sb-query/use-rpc-query.js +48 -26
  75. package/dist/supabase/use-sb-query/use-rpc-query.js.map +1 -1
  76. package/dist/types/contracts.d.ts +63 -0
  77. package/dist/types/contracts.d.ts.map +1 -0
  78. package/dist/types/contracts.js +17 -0
  79. package/dist/types/contracts.js.map +1 -0
  80. package/dist/types/database.schemas.d.ts +94 -786
  81. package/dist/types/database.schemas.d.ts.map +1 -1
  82. package/dist/types/database.schemas.js +30 -474
  83. package/dist/types/database.schemas.js.map +1 -1
  84. package/dist/types/database.types.d.ts +25 -596
  85. package/dist/types/database.types.d.ts.map +1 -1
  86. package/dist/types/database.types.js +0 -10
  87. package/dist/types/database.types.js.map +1 -1
  88. package/dist/types/index.d.ts +22 -67
  89. package/dist/types/index.d.ts.map +1 -1
  90. package/dist/types/index.js +16 -5
  91. package/dist/types/index.js.map +1 -1
  92. package/package.json +17 -26
  93. package/dist/adk/api/client.d.ts +0 -9
  94. package/dist/adk/api/client.d.ts.map +0 -1
  95. package/dist/adk/api/client.js +0 -39
  96. package/dist/adk/api/client.js.map +0 -1
  97. package/dist/adk/core/constants/tool-icons.d.ts +0 -21
  98. package/dist/adk/core/constants/tool-icons.d.ts.map +0 -1
  99. package/dist/adk/core/constants/tool-icons.js +0 -47
  100. package/dist/adk/core/constants/tool-icons.js.map +0 -1
  101. package/dist/adk/core/models/AgentBuilder.d.ts +0 -77
  102. package/dist/adk/core/models/AgentBuilder.d.ts.map +0 -1
  103. package/dist/adk/core/models/AgentBuilder.js +0 -18
  104. package/dist/adk/core/models/AgentBuilder.js.map +0 -1
  105. package/dist/adk/core/models/AgentRunRequest.d.ts +0 -37
  106. package/dist/adk/core/models/AgentRunRequest.d.ts.map +0 -1
  107. package/dist/adk/core/models/AgentRunRequest.js +0 -18
  108. package/dist/adk/core/models/AgentRunRequest.js.map +0 -1
  109. package/dist/adk/core/models/Eval.d.ts +0 -55
  110. package/dist/adk/core/models/Eval.d.ts.map +0 -1
  111. package/dist/adk/core/models/Eval.js +0 -27
  112. package/dist/adk/core/models/Eval.js.map +0 -1
  113. package/dist/adk/core/models/LiveRequest.d.ts +0 -23
  114. package/dist/adk/core/models/LiveRequest.d.ts.map +0 -1
  115. package/dist/adk/core/models/LiveRequest.js +0 -18
  116. package/dist/adk/core/models/LiveRequest.js.map +0 -1
  117. package/dist/adk/core/models/RuntimeConfig.d.ts +0 -32
  118. package/dist/adk/core/models/RuntimeConfig.d.ts.map +0 -1
  119. package/dist/adk/core/models/RuntimeConfig.js +0 -18
  120. package/dist/adk/core/models/RuntimeConfig.js.map +0 -1
  121. package/dist/adk/core/models/Session.d.ts +0 -117
  122. package/dist/adk/core/models/Session.d.ts.map +0 -1
  123. package/dist/adk/core/models/Session.js +0 -31
  124. package/dist/adk/core/models/Session.js.map +0 -1
  125. package/dist/adk/core/models/Trace.d.ts +0 -40
  126. package/dist/adk/core/models/Trace.d.ts.map +0 -1
  127. package/dist/adk/core/models/Trace.js +0 -2
  128. package/dist/adk/core/models/Trace.js.map +0 -1
  129. package/dist/adk/core/models/types.d.ts +0 -338
  130. package/dist/adk/core/models/types.d.ts.map +0 -1
  131. package/dist/adk/core/models/types.js +0 -189
  132. package/dist/adk/core/models/types.js.map +0 -1
  133. package/dist/cloud-account/platform-configs.d.ts +0 -64
  134. package/dist/cloud-account/platform-configs.d.ts.map +0 -1
  135. package/dist/cloud-account/platform-configs.js +0 -44
  136. package/dist/cloud-account/platform-configs.js.map +0 -1
  137. package/dist/lib/aisdk/types.d.ts +0 -3
  138. package/dist/lib/aisdk/types.d.ts.map +0 -1
  139. package/dist/lib/aisdk/types.js +0 -5
  140. package/dist/lib/aisdk/types.js.map +0 -1
  141. package/dist/lib/logger/index.d.ts +0 -22
  142. package/dist/lib/logger/index.d.ts.map +0 -1
  143. package/dist/lib/logger/index.js +0 -7
  144. package/dist/lib/logger/index.js.map +0 -1
  145. package/dist/lib/schema.d.ts +0 -53
  146. package/dist/lib/schema.d.ts.map +0 -1
  147. package/dist/lib/schema.js +0 -37
  148. package/dist/lib/schema.js.map +0 -1
  149. package/dist/lib/utils.d.ts +0 -14
  150. package/dist/lib/utils.d.ts.map +0 -1
  151. package/dist/lib/utils.js +0 -45
  152. package/dist/lib/utils.js.map +0 -1
  153. package/dist/mtgate_api/@tanstack/react-query.gen.d.ts +0 -166
  154. package/dist/mtgate_api/@tanstack/react-query.gen.d.ts.map +0 -1
  155. package/dist/mtgate_api/@tanstack/react-query.gen.js +0 -118
  156. package/dist/mtgate_api/@tanstack/react-query.gen.js.map +0 -1
  157. package/dist/mtgate_api/client/client.gen.d.ts +0 -3
  158. package/dist/mtgate_api/client/client.gen.d.ts.map +0 -1
  159. package/dist/mtgate_api/client/client.gen.js +0 -236
  160. package/dist/mtgate_api/client/client.gen.js.map +0 -1
  161. package/dist/mtgate_api/client/index.d.ts +0 -9
  162. package/dist/mtgate_api/client/index.d.ts.map +0 -1
  163. package/dist/mtgate_api/client/index.js +0 -7
  164. package/dist/mtgate_api/client/index.js.map +0 -1
  165. package/dist/mtgate_api/client/types.gen.d.ts +0 -118
  166. package/dist/mtgate_api/client/types.gen.d.ts.map +0 -1
  167. package/dist/mtgate_api/client/types.gen.js +0 -3
  168. package/dist/mtgate_api/client/types.gen.js.map +0 -1
  169. package/dist/mtgate_api/client/utils.gen.d.ts +0 -34
  170. package/dist/mtgate_api/client/utils.gen.d.ts.map +0 -1
  171. package/dist/mtgate_api/client/utils.gen.js +0 -232
  172. package/dist/mtgate_api/client/utils.gen.js.map +0 -1
  173. package/dist/mtgate_api/client.gen.d.ts +0 -13
  174. package/dist/mtgate_api/client.gen.d.ts.map +0 -1
  175. package/dist/mtgate_api/client.gen.js +0 -4
  176. package/dist/mtgate_api/client.gen.js.map +0 -1
  177. package/dist/mtgate_api/core/auth.gen.d.ts +0 -19
  178. package/dist/mtgate_api/core/auth.gen.d.ts.map +0 -1
  179. package/dist/mtgate_api/core/auth.gen.js +0 -15
  180. package/dist/mtgate_api/core/auth.gen.js.map +0 -1
  181. package/dist/mtgate_api/core/bodySerializer.gen.d.ts +0 -26
  182. package/dist/mtgate_api/core/bodySerializer.gen.d.ts.map +0 -1
  183. package/dist/mtgate_api/core/bodySerializer.gen.js +0 -58
  184. package/dist/mtgate_api/core/bodySerializer.gen.js.map +0 -1
  185. package/dist/mtgate_api/core/params.gen.d.ts +0 -44
  186. package/dist/mtgate_api/core/params.gen.d.ts.map +0 -1
  187. package/dist/mtgate_api/core/params.gen.js +0 -101
  188. package/dist/mtgate_api/core/params.gen.js.map +0 -1
  189. package/dist/mtgate_api/core/pathSerializer.gen.d.ts +0 -34
  190. package/dist/mtgate_api/core/pathSerializer.gen.d.ts.map +0 -1
  191. package/dist/mtgate_api/core/pathSerializer.gen.js +0 -115
  192. package/dist/mtgate_api/core/pathSerializer.gen.js.map +0 -1
  193. package/dist/mtgate_api/core/queryKeySerializer.gen.d.ts +0 -19
  194. package/dist/mtgate_api/core/queryKeySerializer.gen.d.ts.map +0 -1
  195. package/dist/mtgate_api/core/queryKeySerializer.gen.js +0 -100
  196. package/dist/mtgate_api/core/queryKeySerializer.gen.js.map +0 -1
  197. package/dist/mtgate_api/core/serverSentEvents.gen.d.ts +0 -72
  198. package/dist/mtgate_api/core/serverSentEvents.gen.d.ts.map +0 -1
  199. package/dist/mtgate_api/core/serverSentEvents.gen.js +0 -138
  200. package/dist/mtgate_api/core/serverSentEvents.gen.js.map +0 -1
  201. package/dist/mtgate_api/core/types.gen.d.ts +0 -79
  202. package/dist/mtgate_api/core/types.gen.d.ts.map +0 -1
  203. package/dist/mtgate_api/core/types.gen.js +0 -3
  204. package/dist/mtgate_api/core/types.gen.js.map +0 -1
  205. package/dist/mtgate_api/core/utils.gen.d.ts +0 -20
  206. package/dist/mtgate_api/core/utils.gen.d.ts.map +0 -1
  207. package/dist/mtgate_api/core/utils.gen.js +0 -88
  208. package/dist/mtgate_api/core/utils.gen.js.map +0 -1
  209. package/dist/mtgate_api/index.d.ts +0 -3
  210. package/dist/mtgate_api/index.d.ts.map +0 -1
  211. package/dist/mtgate_api/index.js +0 -3
  212. package/dist/mtgate_api/index.js.map +0 -1
  213. package/dist/mtgate_api/schemas.gen.d.ts +0 -233
  214. package/dist/mtgate_api/schemas.gen.d.ts.map +0 -1
  215. package/dist/mtgate_api/schemas.gen.js +0 -277
  216. package/dist/mtgate_api/schemas.gen.js.map +0 -1
  217. package/dist/mtgate_api/sdk.gen.d.ts +0 -23
  218. package/dist/mtgate_api/sdk.gen.d.ts.map +0 -1
  219. package/dist/mtgate_api/sdk.gen.js +0 -31
  220. package/dist/mtgate_api/sdk.gen.js.map +0 -1
  221. package/dist/mtgate_api/types.gen.d.ts +0 -203
  222. package/dist/mtgate_api/types.gen.d.ts.map +0 -1
  223. package/dist/mtgate_api/types.gen.js +0 -3
  224. package/dist/mtgate_api/types.gen.js.map +0 -1
  225. package/dist/mtgate_api/zod.gen.d.ts +0 -321
  226. package/dist/mtgate_api/zod.gen.d.ts.map +0 -1
  227. package/dist/mtgate_api/zod.gen.js +0 -148
  228. package/dist/mtgate_api/zod.gen.js.map +0 -1
  229. package/dist/mtmai_api/@tanstack/react-query.gen.d.ts +0 -949
  230. package/dist/mtmai_api/@tanstack/react-query.gen.d.ts.map +0 -1
  231. package/dist/mtmai_api/@tanstack/react-query.gen.js +0 -917
  232. package/dist/mtmai_api/@tanstack/react-query.gen.js.map +0 -1
  233. package/dist/mtmai_api/client/client.gen.d.ts +0 -3
  234. package/dist/mtmai_api/client/client.gen.d.ts.map +0 -1
  235. package/dist/mtmai_api/client/client.gen.js +0 -236
  236. package/dist/mtmai_api/client/client.gen.js.map +0 -1
  237. package/dist/mtmai_api/client/index.d.ts +0 -9
  238. package/dist/mtmai_api/client/index.d.ts.map +0 -1
  239. package/dist/mtmai_api/client/index.js +0 -7
  240. package/dist/mtmai_api/client/index.js.map +0 -1
  241. package/dist/mtmai_api/client/types.gen.d.ts +0 -118
  242. package/dist/mtmai_api/client/types.gen.d.ts.map +0 -1
  243. package/dist/mtmai_api/client/types.gen.js +0 -3
  244. package/dist/mtmai_api/client/types.gen.js.map +0 -1
  245. package/dist/mtmai_api/client/utils.gen.d.ts +0 -34
  246. package/dist/mtmai_api/client/utils.gen.d.ts.map +0 -1
  247. package/dist/mtmai_api/client/utils.gen.js +0 -232
  248. package/dist/mtmai_api/client/utils.gen.js.map +0 -1
  249. package/dist/mtmai_api/client.gen.d.ts +0 -13
  250. package/dist/mtmai_api/client.gen.d.ts.map +0 -1
  251. package/dist/mtmai_api/client.gen.js +0 -4
  252. package/dist/mtmai_api/client.gen.js.map +0 -1
  253. package/dist/mtmai_api/core/auth.gen.d.ts +0 -19
  254. package/dist/mtmai_api/core/auth.gen.d.ts.map +0 -1
  255. package/dist/mtmai_api/core/auth.gen.js +0 -15
  256. package/dist/mtmai_api/core/auth.gen.js.map +0 -1
  257. package/dist/mtmai_api/core/bodySerializer.gen.d.ts +0 -26
  258. package/dist/mtmai_api/core/bodySerializer.gen.d.ts.map +0 -1
  259. package/dist/mtmai_api/core/bodySerializer.gen.js +0 -58
  260. package/dist/mtmai_api/core/bodySerializer.gen.js.map +0 -1
  261. package/dist/mtmai_api/core/params.gen.d.ts +0 -44
  262. package/dist/mtmai_api/core/params.gen.d.ts.map +0 -1
  263. package/dist/mtmai_api/core/params.gen.js +0 -101
  264. package/dist/mtmai_api/core/params.gen.js.map +0 -1
  265. package/dist/mtmai_api/core/pathSerializer.gen.d.ts +0 -34
  266. package/dist/mtmai_api/core/pathSerializer.gen.d.ts.map +0 -1
  267. package/dist/mtmai_api/core/pathSerializer.gen.js +0 -115
  268. package/dist/mtmai_api/core/pathSerializer.gen.js.map +0 -1
  269. package/dist/mtmai_api/core/queryKeySerializer.gen.d.ts +0 -19
  270. package/dist/mtmai_api/core/queryKeySerializer.gen.d.ts.map +0 -1
  271. package/dist/mtmai_api/core/queryKeySerializer.gen.js +0 -100
  272. package/dist/mtmai_api/core/queryKeySerializer.gen.js.map +0 -1
  273. package/dist/mtmai_api/core/serverSentEvents.gen.d.ts +0 -72
  274. package/dist/mtmai_api/core/serverSentEvents.gen.d.ts.map +0 -1
  275. package/dist/mtmai_api/core/serverSentEvents.gen.js +0 -138
  276. package/dist/mtmai_api/core/serverSentEvents.gen.js.map +0 -1
  277. package/dist/mtmai_api/core/types.gen.d.ts +0 -79
  278. package/dist/mtmai_api/core/types.gen.d.ts.map +0 -1
  279. package/dist/mtmai_api/core/types.gen.js +0 -3
  280. package/dist/mtmai_api/core/types.gen.js.map +0 -1
  281. package/dist/mtmai_api/core/utils.gen.d.ts +0 -20
  282. package/dist/mtmai_api/core/utils.gen.d.ts.map +0 -1
  283. package/dist/mtmai_api/core/utils.gen.js +0 -88
  284. package/dist/mtmai_api/core/utils.gen.js.map +0 -1
  285. package/dist/mtmai_api/index.d.ts +0 -3
  286. package/dist/mtmai_api/index.d.ts.map +0 -1
  287. package/dist/mtmai_api/index.js +0 -4
  288. package/dist/mtmai_api/index.js.map +0 -1
  289. package/dist/mtmai_api/schemas.gen.d.ts +0 -7721
  290. package/dist/mtmai_api/schemas.gen.d.ts.map +0 -1
  291. package/dist/mtmai_api/schemas.gen.js +0 -9774
  292. package/dist/mtmai_api/schemas.gen.js.map +0 -1
  293. package/dist/mtmai_api/sdk.gen.d.ts +0 -282
  294. package/dist/mtmai_api/sdk.gen.d.ts.map +0 -1
  295. package/dist/mtmai_api/sdk.gen.js +0 -404
  296. package/dist/mtmai_api/sdk.gen.js.map +0 -1
  297. package/dist/mtmai_api/types.gen.d.ts +0 -7152
  298. package/dist/mtmai_api/types.gen.d.ts.map +0 -1
  299. package/dist/mtmai_api/types.gen.js +0 -253
  300. package/dist/mtmai_api/types.gen.js.map +0 -1
  301. package/dist/mtmai_api/zod.gen.d.ts +0 -55827
  302. package/dist/mtmai_api/zod.gen.d.ts.map +0 -1
  303. package/dist/mtmai_api/zod.gen.js +0 -4805
  304. package/dist/mtmai_api/zod.gen.js.map +0 -1
  305. package/dist/openclaw/client-info.d.ts +0 -38
  306. package/dist/openclaw/client-info.d.ts.map +0 -1
  307. package/dist/openclaw/client-info.js +0 -38
  308. package/dist/openclaw/client-info.js.map +0 -1
  309. package/dist/openclaw/device-auth-utils.d.ts +0 -12
  310. package/dist/openclaw/device-auth-utils.d.ts.map +0 -1
  311. package/dist/openclaw/device-auth-utils.js +0 -16
  312. package/dist/openclaw/device-auth-utils.js.map +0 -1
  313. package/dist/openclaw/device-auth.d.ts +0 -21
  314. package/dist/openclaw/device-auth.d.ts.map +0 -1
  315. package/dist/openclaw/device-auth.js +0 -87
  316. package/dist/openclaw/device-auth.js.map +0 -1
  317. package/dist/openclaw/device-identity.d.ts +0 -8
  318. package/dist/openclaw/device-identity.d.ts.map +0 -1
  319. package/dist/openclaw/device-identity.js +0 -87
  320. package/dist/openclaw/device-identity.js.map +0 -1
  321. package/dist/openclaw/gateway.d.ts +0 -100
  322. package/dist/openclaw/gateway.d.ts.map +0 -1
  323. package/dist/openclaw/gateway.js +0 -302
  324. package/dist/openclaw/gateway.js.map +0 -1
  325. package/dist/openclaw/types.d.ts +0 -473
  326. package/dist/openclaw/types.d.ts.map +0 -1
  327. package/dist/openclaw/types.js +0 -2
  328. package/dist/openclaw/types.js.map +0 -1
  329. package/dist/supabase/use-sb-query/prefetch.d.ts +0 -10
  330. package/dist/supabase/use-sb-query/prefetch.d.ts.map +0 -1
  331. package/dist/supabase/use-sb-query/prefetch.js +0 -14
  332. package/dist/supabase/use-sb-query/prefetch.js.map +0 -1
  333. package/src/adk/api/client.ts +0 -46
  334. package/src/adk/core/constants/tool-icons.ts +0 -51
  335. package/src/adk/core/models/AgentBuilder.ts +0 -80
  336. package/src/adk/core/models/AgentRunRequest.ts +0 -33
  337. package/src/adk/core/models/Eval.ts +0 -70
  338. package/src/adk/core/models/LiveRequest.ts +0 -23
  339. package/src/adk/core/models/RuntimeConfig.ts +0 -33
  340. package/src/adk/core/models/Session.ts +0 -52
  341. package/src/adk/core/models/Trace.ts +0 -42
  342. package/src/adk/core/models/types.ts +0 -255
  343. package/src/cloud-account/platform-configs.ts +0 -73
  344. package/src/gomtmapi/@tanstack/react-query.gen.ts +0 -575
  345. package/src/gomtmapi/client/client.gen.ts +0 -311
  346. package/src/gomtmapi/client/index.ts +0 -25
  347. package/src/gomtmapi/client/types.gen.ts +0 -241
  348. package/src/gomtmapi/client/utils.gen.ts +0 -332
  349. package/src/gomtmapi/client.gen.ts +0 -16
  350. package/src/gomtmapi/core/auth.gen.ts +0 -42
  351. package/src/gomtmapi/core/bodySerializer.gen.ts +0 -100
  352. package/src/gomtmapi/core/params.gen.ts +0 -176
  353. package/src/gomtmapi/core/pathSerializer.gen.ts +0 -181
  354. package/src/gomtmapi/core/queryKeySerializer.gen.ts +0 -136
  355. package/src/gomtmapi/core/serverSentEvents.gen.ts +0 -266
  356. package/src/gomtmapi/core/types.gen.ts +0 -118
  357. package/src/gomtmapi/core/utils.gen.ts +0 -143
  358. package/src/gomtmapi/index.ts +0 -4
  359. package/src/gomtmapi/schemas.gen.ts +0 -596
  360. package/src/gomtmapi/sdk.gen.ts +0 -399
  361. package/src/gomtmapi/types.gen.ts +0 -962
  362. package/src/gomtmapi/zod.gen.ts +0 -507
  363. package/src/index.ts +0 -5
  364. package/src/lib/aisdk/types.ts +0 -8
  365. package/src/lib/logger/index.ts +0 -8
  366. package/src/lib/schema.ts +0 -50
  367. package/src/lib/utils.ts +0 -54
  368. package/src/mtgate_api/@tanstack/react-query.gen.ts +0 -142
  369. package/src/mtgate_api/client/client.gen.ts +0 -311
  370. package/src/mtgate_api/client/index.ts +0 -25
  371. package/src/mtgate_api/client/types.gen.ts +0 -241
  372. package/src/mtgate_api/client/utils.gen.ts +0 -332
  373. package/src/mtgate_api/client.gen.ts +0 -16
  374. package/src/mtgate_api/core/auth.gen.ts +0 -42
  375. package/src/mtgate_api/core/bodySerializer.gen.ts +0 -100
  376. package/src/mtgate_api/core/params.gen.ts +0 -176
  377. package/src/mtgate_api/core/pathSerializer.gen.ts +0 -181
  378. package/src/mtgate_api/core/queryKeySerializer.gen.ts +0 -136
  379. package/src/mtgate_api/core/serverSentEvents.gen.ts +0 -266
  380. package/src/mtgate_api/core/types.gen.ts +0 -118
  381. package/src/mtgate_api/core/utils.gen.ts +0 -143
  382. package/src/mtgate_api/index.ts +0 -4
  383. package/src/mtgate_api/schemas.gen.ts +0 -290
  384. package/src/mtgate_api/sdk.gen.ts +0 -54
  385. package/src/mtgate_api/types.gen.ts +0 -239
  386. package/src/mtgate_api/zod.gen.ts +0 -176
  387. package/src/mtmai_api/@tanstack/react-query.gen.ts +0 -1010
  388. package/src/mtmai_api/client/client.gen.ts +0 -311
  389. package/src/mtmai_api/client/index.ts +0 -25
  390. package/src/mtmai_api/client/types.gen.ts +0 -241
  391. package/src/mtmai_api/client/utils.gen.ts +0 -332
  392. package/src/mtmai_api/client.gen.ts +0 -16
  393. package/src/mtmai_api/core/auth.gen.ts +0 -42
  394. package/src/mtmai_api/core/bodySerializer.gen.ts +0 -100
  395. package/src/mtmai_api/core/params.gen.ts +0 -176
  396. package/src/mtmai_api/core/pathSerializer.gen.ts +0 -181
  397. package/src/mtmai_api/core/queryKeySerializer.gen.ts +0 -136
  398. package/src/mtmai_api/core/serverSentEvents.gen.ts +0 -266
  399. package/src/mtmai_api/core/types.gen.ts +0 -118
  400. package/src/mtmai_api/core/utils.gen.ts +0 -143
  401. package/src/mtmai_api/index.ts +0 -4
  402. package/src/mtmai_api/schemas.gen.ts +0 -9980
  403. package/src/mtmai_api/sdk.gen.ts +0 -471
  404. package/src/mtmai_api/types.gen.ts +0 -7609
  405. package/src/mtmai_api/zod.gen.ts +0 -5101
  406. package/src/openclaw/client-info.ts +0 -54
  407. package/src/openclaw/device-auth-utils.ts +0 -26
  408. package/src/openclaw/device-auth.ts +0 -99
  409. package/src/openclaw/device-identity.ts +0 -108
  410. package/src/openclaw/gateway.ts +0 -392
  411. package/src/openclaw/types.ts +0 -518
  412. package/src/sbmng/@tanstack/react-query.gen.ts +0 -3017
  413. package/src/sbmng/client/client.gen.ts +0 -311
  414. package/src/sbmng/client/index.ts +0 -25
  415. package/src/sbmng/client/types.gen.ts +0 -241
  416. package/src/sbmng/client/utils.gen.ts +0 -332
  417. package/src/sbmng/client.gen.ts +0 -16
  418. package/src/sbmng/core/auth.gen.ts +0 -42
  419. package/src/sbmng/core/bodySerializer.gen.ts +0 -100
  420. package/src/sbmng/core/params.gen.ts +0 -176
  421. package/src/sbmng/core/pathSerializer.gen.ts +0 -181
  422. package/src/sbmng/core/queryKeySerializer.gen.ts +0 -136
  423. package/src/sbmng/core/serverSentEvents.gen.ts +0 -266
  424. package/src/sbmng/core/types.gen.ts +0 -118
  425. package/src/sbmng/core/utils.gen.ts +0 -143
  426. package/src/sbmng/index.ts +0 -4
  427. package/src/sbmng/schemas.gen.ts +0 -9805
  428. package/src/sbmng/sdk.gen.ts +0 -1780
  429. package/src/sbmng/types.gen.ts +0 -8016
  430. package/src/supabase/auth-provider.tsx +0 -67
  431. package/src/supabase/context.tsx +0 -51
  432. package/src/supabase/cursor-pagination.ts +0 -155
  433. package/src/supabase/schema/browser.ts +0 -45
  434. package/src/supabase/schema/index.ts +0 -25
  435. package/src/supabase/supabase-client.ts +0 -30
  436. package/src/supabase/supabase.ts +0 -67
  437. package/src/supabase/use-sb-query/build-query-opts.ts +0 -56
  438. package/src/supabase/use-sb-query/key.ts +0 -57
  439. package/src/supabase/use-sb-query/prefetch.ts +0 -59
  440. package/src/supabase/use-sb-query/use-query.ts +0 -340
  441. package/src/supabase/use-sb-query/use-rpc-mutation.ts +0 -83
  442. package/src/supabase/use-sb-query/use-rpc-query.ts +0 -231
  443. package/src/supabase/utils.ts +0 -75
  444. package/src/types/database.schemas.ts +0 -4378
  445. package/src/types/database.types.ts +0 -4288
  446. package/src/types/index.ts +0 -102
@@ -1,917 +0,0 @@
1
- // This file is auto-generated by @hey-api/openapi-ts
2
- import { queryOptions } from '@tanstack/react-query';
3
- import { client } from '../client.gen';
4
- import { agentsAgentrun, builderBuild, chatAgentChat, chatAgentExportConfig, chatAgentGetChatConfig, chatAgentGetProviders, chatAgentImportConfig, chatAgentUpdateChatConfig, chatAgentValidateApiKey, createItem, createSession, createSessionWithId, debugGetEventGraph, debugGetSessionTrace, debugGetTraceDict, deleteArtifact, deleteItem, deleteSession, evaluationAddSessionToEvalSet, evaluationCreateEvalSet, evaluationCreateEvalSetLegacy, evaluationDeleteEval, evaluationGetEval, evaluationGetEvalResult, evaluationGetEvalResultLegacy, evaluationListEvalResults, evaluationListEvalResultsLegacy, evaluationListEvalSets, evaluationListEvalSetsLegacy, evaluationListEvalsInEvalSet, evaluationListMetricsInfo, evaluationRunEval, evaluationRunEvalLegacy, evaluationUpdateEval, getAgentBuilder, getItem, getSession, listApps, listArtifactNames, listArtifactVersions, listItems, listSessions, loadArtifact, loadArtifactVersion, redirectDevUiAddSlash, redirectRootToDevUi, runAgent, runAgentSse, sandboxCheckSandboxStatus, sandboxStartNapcatSandbox, searchItems, updateItem } from '../sdk.gen';
5
- const createQueryKey = (id, options, infinite, tags) => {
6
- const params = { _id: id, baseUrl: options?.baseUrl || (options?.client ?? client).getConfig().baseUrl };
7
- if (infinite) {
8
- params._infinite = infinite;
9
- }
10
- if (tags) {
11
- params.tags = tags;
12
- }
13
- if (options?.body) {
14
- params.body = options.body;
15
- }
16
- if (options?.headers) {
17
- params.headers = options.headers;
18
- }
19
- if (options?.path) {
20
- params.path = options.path;
21
- }
22
- if (options?.query) {
23
- params.query = options.query;
24
- }
25
- return [params];
26
- };
27
- export const listAppsQueryKey = (options) => createQueryKey('listApps', options);
28
- /**
29
- * List Apps
30
- */
31
- export const listAppsOptions = (options) => queryOptions({
32
- queryFn: async ({ queryKey, signal }) => {
33
- const { data } = await listApps({
34
- ...options,
35
- ...queryKey[0],
36
- signal,
37
- throwOnError: true
38
- });
39
- return data;
40
- },
41
- queryKey: listAppsQueryKey(options)
42
- });
43
- export const debugGetTraceDictQueryKey = (options) => createQueryKey('debugGetTraceDict', options);
44
- /**
45
- * Get Trace Dict
46
- */
47
- export const debugGetTraceDictOptions = (options) => queryOptions({
48
- queryFn: async ({ queryKey, signal }) => {
49
- const { data } = await debugGetTraceDict({
50
- ...options,
51
- ...queryKey[0],
52
- signal,
53
- throwOnError: true
54
- });
55
- return data;
56
- },
57
- queryKey: debugGetTraceDictQueryKey(options)
58
- });
59
- export const debugGetSessionTraceQueryKey = (options) => createQueryKey('debugGetSessionTrace', options);
60
- /**
61
- * Get Session Trace
62
- */
63
- export const debugGetSessionTraceOptions = (options) => queryOptions({
64
- queryFn: async ({ queryKey, signal }) => {
65
- const { data } = await debugGetSessionTrace({
66
- ...options,
67
- ...queryKey[0],
68
- signal,
69
- throwOnError: true
70
- });
71
- return data;
72
- },
73
- queryKey: debugGetSessionTraceQueryKey(options)
74
- });
75
- /**
76
- * Delete Session
77
- */
78
- export const deleteSessionMutation = (options) => {
79
- const mutationOptions = {
80
- mutationFn: async (fnOptions) => {
81
- const { data } = await deleteSession({
82
- ...options,
83
- ...fnOptions,
84
- throwOnError: true
85
- });
86
- return data;
87
- }
88
- };
89
- return mutationOptions;
90
- };
91
- export const getSessionQueryKey = (options) => createQueryKey('getSession', options);
92
- /**
93
- * Get Session
94
- */
95
- export const getSessionOptions = (options) => queryOptions({
96
- queryFn: async ({ queryKey, signal }) => {
97
- const { data } = await getSession({
98
- ...options,
99
- ...queryKey[0],
100
- signal,
101
- throwOnError: true
102
- });
103
- return data;
104
- },
105
- queryKey: getSessionQueryKey(options)
106
- });
107
- /**
108
- * Create Session With Id
109
- */
110
- export const createSessionWithIdMutation = (options) => {
111
- const mutationOptions = {
112
- mutationFn: async (fnOptions) => {
113
- const { data } = await createSessionWithId({
114
- ...options,
115
- ...fnOptions,
116
- throwOnError: true
117
- });
118
- return data;
119
- }
120
- };
121
- return mutationOptions;
122
- };
123
- export const listSessionsQueryKey = (options) => createQueryKey('listSessions', options);
124
- /**
125
- * List Sessions
126
- */
127
- export const listSessionsOptions = (options) => queryOptions({
128
- queryFn: async ({ queryKey, signal }) => {
129
- const { data } = await listSessions({
130
- ...options,
131
- ...queryKey[0],
132
- signal,
133
- throwOnError: true
134
- });
135
- return data;
136
- },
137
- queryKey: listSessionsQueryKey(options)
138
- });
139
- /**
140
- * Create Session
141
- */
142
- export const createSessionMutation = (options) => {
143
- const mutationOptions = {
144
- mutationFn: async (fnOptions) => {
145
- const { data } = await createSession({
146
- ...options,
147
- ...fnOptions,
148
- throwOnError: true
149
- });
150
- return data;
151
- }
152
- };
153
- return mutationOptions;
154
- };
155
- export const evaluationListEvalSetsQueryKey = (options) => createQueryKey('evaluationListEvalSets', options);
156
- /**
157
- * List Eval Sets
158
- *
159
- * Lists all eval sets for the given app.
160
- */
161
- export const evaluationListEvalSetsOptions = (options) => queryOptions({
162
- queryFn: async ({ queryKey, signal }) => {
163
- const { data } = await evaluationListEvalSets({
164
- ...options,
165
- ...queryKey[0],
166
- signal,
167
- throwOnError: true
168
- });
169
- return data;
170
- },
171
- queryKey: evaluationListEvalSetsQueryKey(options)
172
- });
173
- /**
174
- * Create Eval Set
175
- */
176
- export const evaluationCreateEvalSetMutation = (options) => {
177
- const mutationOptions = {
178
- mutationFn: async (fnOptions) => {
179
- const { data } = await evaluationCreateEvalSet({
180
- ...options,
181
- ...fnOptions,
182
- throwOnError: true
183
- });
184
- return data;
185
- }
186
- };
187
- return mutationOptions;
188
- };
189
- /**
190
- * Create Eval Set Legacy
191
- *
192
- * Creates an eval set, given the id.
193
- */
194
- export const evaluationCreateEvalSetLegacyMutation = (options) => {
195
- const mutationOptions = {
196
- mutationFn: async (fnOptions) => {
197
- const { data } = await evaluationCreateEvalSetLegacy({
198
- ...options,
199
- ...fnOptions,
200
- throwOnError: true
201
- });
202
- return data;
203
- }
204
- };
205
- return mutationOptions;
206
- };
207
- export const evaluationListEvalSetsLegacyQueryKey = (options) => createQueryKey('evaluationListEvalSetsLegacy', options);
208
- /**
209
- * List Eval Sets Legacy
210
- */
211
- export const evaluationListEvalSetsLegacyOptions = (options) => queryOptions({
212
- queryFn: async ({ queryKey, signal }) => {
213
- const { data } = await evaluationListEvalSetsLegacy({
214
- ...options,
215
- ...queryKey[0],
216
- signal,
217
- throwOnError: true
218
- });
219
- return data;
220
- },
221
- queryKey: evaluationListEvalSetsLegacyQueryKey(options)
222
- });
223
- /**
224
- * Add Session To Eval Set
225
- */
226
- export const evaluationAddSessionToEvalSetMutation = (options) => {
227
- const mutationOptions = {
228
- mutationFn: async (fnOptions) => {
229
- const { data } = await evaluationAddSessionToEvalSet({
230
- ...options,
231
- ...fnOptions,
232
- throwOnError: true
233
- });
234
- return data;
235
- }
236
- };
237
- return mutationOptions;
238
- };
239
- export const evaluationListEvalsInEvalSetQueryKey = (options) => createQueryKey('evaluationListEvalsInEvalSet', options);
240
- /**
241
- * List Evals In Eval Set
242
- *
243
- * Lists all evals in an eval set.
244
- */
245
- export const evaluationListEvalsInEvalSetOptions = (options) => queryOptions({
246
- queryFn: async ({ queryKey, signal }) => {
247
- const { data } = await evaluationListEvalsInEvalSet({
248
- ...options,
249
- ...queryKey[0],
250
- signal,
251
- throwOnError: true
252
- });
253
- return data;
254
- },
255
- queryKey: evaluationListEvalsInEvalSetQueryKey(options)
256
- });
257
- /**
258
- * Delete Eval
259
- */
260
- export const evaluationDeleteEvalMutation = (options) => {
261
- const mutationOptions = {
262
- mutationFn: async (fnOptions) => {
263
- const { data } = await evaluationDeleteEval({
264
- ...options,
265
- ...fnOptions,
266
- throwOnError: true
267
- });
268
- return data;
269
- }
270
- };
271
- return mutationOptions;
272
- };
273
- export const evaluationGetEvalQueryKey = (options) => createQueryKey('evaluationGetEval', options);
274
- /**
275
- * Get Eval
276
- *
277
- * Gets an eval case in an eval set.
278
- */
279
- export const evaluationGetEvalOptions = (options) => queryOptions({
280
- queryFn: async ({ queryKey, signal }) => {
281
- const { data } = await evaluationGetEval({
282
- ...options,
283
- ...queryKey[0],
284
- signal,
285
- throwOnError: true
286
- });
287
- return data;
288
- },
289
- queryKey: evaluationGetEvalQueryKey(options)
290
- });
291
- /**
292
- * Update Eval
293
- */
294
- export const evaluationUpdateEvalMutation = (options) => {
295
- const mutationOptions = {
296
- mutationFn: async (fnOptions) => {
297
- const { data } = await evaluationUpdateEval({
298
- ...options,
299
- ...fnOptions,
300
- throwOnError: true
301
- });
302
- return data;
303
- }
304
- };
305
- return mutationOptions;
306
- };
307
- /**
308
- * Run Eval Legacy
309
- */
310
- export const evaluationRunEvalLegacyMutation = (options) => {
311
- const mutationOptions = {
312
- mutationFn: async (fnOptions) => {
313
- const { data } = await evaluationRunEvalLegacy({
314
- ...options,
315
- ...fnOptions,
316
- throwOnError: true
317
- });
318
- return data;
319
- }
320
- };
321
- return mutationOptions;
322
- };
323
- /**
324
- * Run Eval
325
- *
326
- * Runs an eval given the details in the eval request.
327
- */
328
- export const evaluationRunEvalMutation = (options) => {
329
- const mutationOptions = {
330
- mutationFn: async (fnOptions) => {
331
- const { data } = await evaluationRunEval({
332
- ...options,
333
- ...fnOptions,
334
- throwOnError: true
335
- });
336
- return data;
337
- }
338
- };
339
- return mutationOptions;
340
- };
341
- export const evaluationGetEvalResultQueryKey = (options) => createQueryKey('evaluationGetEvalResult', options);
342
- /**
343
- * Get Eval Result
344
- *
345
- * Gets the eval result for the given eval id.
346
- */
347
- export const evaluationGetEvalResultOptions = (options) => queryOptions({
348
- queryFn: async ({ queryKey, signal }) => {
349
- const { data } = await evaluationGetEvalResult({
350
- ...options,
351
- ...queryKey[0],
352
- signal,
353
- throwOnError: true
354
- });
355
- return data;
356
- },
357
- queryKey: evaluationGetEvalResultQueryKey(options)
358
- });
359
- export const evaluationGetEvalResultLegacyQueryKey = (options) => createQueryKey('evaluationGetEvalResultLegacy', options);
360
- /**
361
- * Get Eval Result Legacy
362
- */
363
- export const evaluationGetEvalResultLegacyOptions = (options) => queryOptions({
364
- queryFn: async ({ queryKey, signal }) => {
365
- const { data } = await evaluationGetEvalResultLegacy({
366
- ...options,
367
- ...queryKey[0],
368
- signal,
369
- throwOnError: true
370
- });
371
- return data;
372
- },
373
- queryKey: evaluationGetEvalResultLegacyQueryKey(options)
374
- });
375
- export const evaluationListEvalResultsQueryKey = (options) => createQueryKey('evaluationListEvalResults', options);
376
- /**
377
- * List Eval Results
378
- *
379
- * Lists all eval results for the given app.
380
- */
381
- export const evaluationListEvalResultsOptions = (options) => queryOptions({
382
- queryFn: async ({ queryKey, signal }) => {
383
- const { data } = await evaluationListEvalResults({
384
- ...options,
385
- ...queryKey[0],
386
- signal,
387
- throwOnError: true
388
- });
389
- return data;
390
- },
391
- queryKey: evaluationListEvalResultsQueryKey(options)
392
- });
393
- export const evaluationListEvalResultsLegacyQueryKey = (options) => createQueryKey('evaluationListEvalResultsLegacy', options);
394
- /**
395
- * List Eval Results Legacy
396
- */
397
- export const evaluationListEvalResultsLegacyOptions = (options) => queryOptions({
398
- queryFn: async ({ queryKey, signal }) => {
399
- const { data } = await evaluationListEvalResultsLegacy({
400
- ...options,
401
- ...queryKey[0],
402
- signal,
403
- throwOnError: true
404
- });
405
- return data;
406
- },
407
- queryKey: evaluationListEvalResultsLegacyQueryKey(options)
408
- });
409
- export const evaluationListMetricsInfoQueryKey = (options) => createQueryKey('evaluationListMetricsInfo', options);
410
- /**
411
- * List Metrics Info
412
- *
413
- * Lists all eval metrics for the given app.
414
- */
415
- export const evaluationListMetricsInfoOptions = (options) => queryOptions({
416
- queryFn: async ({ queryKey, signal }) => {
417
- const { data } = await evaluationListMetricsInfo({
418
- ...options,
419
- ...queryKey[0],
420
- signal,
421
- throwOnError: true
422
- });
423
- return data;
424
- },
425
- queryKey: evaluationListMetricsInfoQueryKey(options)
426
- });
427
- /**
428
- * Delete Artifact
429
- */
430
- export const deleteArtifactMutation = (options) => {
431
- const mutationOptions = {
432
- mutationFn: async (fnOptions) => {
433
- const { data } = await deleteArtifact({
434
- ...options,
435
- ...fnOptions,
436
- throwOnError: true
437
- });
438
- return data;
439
- }
440
- };
441
- return mutationOptions;
442
- };
443
- export const loadArtifactQueryKey = (options) => createQueryKey('loadArtifact', options);
444
- /**
445
- * Load Artifact
446
- */
447
- export const loadArtifactOptions = (options) => queryOptions({
448
- queryFn: async ({ queryKey, signal }) => {
449
- const { data } = await loadArtifact({
450
- ...options,
451
- ...queryKey[0],
452
- signal,
453
- throwOnError: true
454
- });
455
- return data;
456
- },
457
- queryKey: loadArtifactQueryKey(options)
458
- });
459
- export const loadArtifactVersionQueryKey = (options) => createQueryKey('loadArtifactVersion', options);
460
- /**
461
- * Load Artifact Version
462
- */
463
- export const loadArtifactVersionOptions = (options) => queryOptions({
464
- queryFn: async ({ queryKey, signal }) => {
465
- const { data } = await loadArtifactVersion({
466
- ...options,
467
- ...queryKey[0],
468
- signal,
469
- throwOnError: true
470
- });
471
- return data;
472
- },
473
- queryKey: loadArtifactVersionQueryKey(options)
474
- });
475
- export const listArtifactNamesQueryKey = (options) => createQueryKey('listArtifactNames', options);
476
- /**
477
- * List Artifact Names
478
- */
479
- export const listArtifactNamesOptions = (options) => queryOptions({
480
- queryFn: async ({ queryKey, signal }) => {
481
- const { data } = await listArtifactNames({
482
- ...options,
483
- ...queryKey[0],
484
- signal,
485
- throwOnError: true
486
- });
487
- return data;
488
- },
489
- queryKey: listArtifactNamesQueryKey(options)
490
- });
491
- export const listArtifactVersionsQueryKey = (options) => createQueryKey('listArtifactVersions', options);
492
- /**
493
- * List Artifact Versions
494
- */
495
- export const listArtifactVersionsOptions = (options) => queryOptions({
496
- queryFn: async ({ queryKey, signal }) => {
497
- const { data } = await listArtifactVersions({
498
- ...options,
499
- ...queryKey[0],
500
- signal,
501
- throwOnError: true
502
- });
503
- return data;
504
- },
505
- queryKey: listArtifactVersionsQueryKey(options)
506
- });
507
- /**
508
- * Run Agent
509
- */
510
- export const runAgentMutation = (options) => {
511
- const mutationOptions = {
512
- mutationFn: async (fnOptions) => {
513
- const { data } = await runAgent({
514
- ...options,
515
- ...fnOptions,
516
- throwOnError: true
517
- });
518
- return data;
519
- }
520
- };
521
- return mutationOptions;
522
- };
523
- /**
524
- * Run Agent Sse
525
- */
526
- export const runAgentSseMutation = (options) => {
527
- const mutationOptions = {
528
- mutationFn: async (fnOptions) => {
529
- const { data } = await runAgentSse({
530
- ...options,
531
- ...fnOptions,
532
- throwOnError: true
533
- });
534
- return data;
535
- }
536
- };
537
- return mutationOptions;
538
- };
539
- export const debugGetEventGraphQueryKey = (options) => createQueryKey('debugGetEventGraph', options);
540
- /**
541
- * Get Event Graph
542
- */
543
- export const debugGetEventGraphOptions = (options) => queryOptions({
544
- queryFn: async ({ queryKey, signal }) => {
545
- const { data } = await debugGetEventGraph({
546
- ...options,
547
- ...queryKey[0],
548
- signal,
549
- throwOnError: true
550
- });
551
- return data;
552
- },
553
- queryKey: debugGetEventGraphQueryKey(options)
554
- });
555
- export const redirectRootToDevUiQueryKey = (options) => createQueryKey('redirectRootToDevUi', options);
556
- /**
557
- * Redirect Root To Dev Ui
558
- */
559
- export const redirectRootToDevUiOptions = (options) => queryOptions({
560
- queryFn: async ({ queryKey, signal }) => {
561
- const { data } = await redirectRootToDevUi({
562
- ...options,
563
- ...queryKey[0],
564
- signal,
565
- throwOnError: true
566
- });
567
- return data;
568
- },
569
- queryKey: redirectRootToDevUiQueryKey(options)
570
- });
571
- export const redirectDevUiAddSlashQueryKey = (options) => createQueryKey('redirectDevUiAddSlash', options);
572
- /**
573
- * Redirect Dev Ui Add Slash
574
- */
575
- export const redirectDevUiAddSlashOptions = (options) => queryOptions({
576
- queryFn: async ({ queryKey, signal }) => {
577
- const { data } = await redirectDevUiAddSlash({
578
- ...options,
579
- ...queryKey[0],
580
- signal,
581
- throwOnError: true
582
- });
583
- return data;
584
- },
585
- queryKey: redirectDevUiAddSlashQueryKey(options)
586
- });
587
- /**
588
- * Builder Build
589
- */
590
- export const builderBuildMutation = (options) => {
591
- const mutationOptions = {
592
- mutationFn: async (fnOptions) => {
593
- const { data } = await builderBuild({
594
- ...options,
595
- ...fnOptions,
596
- throwOnError: true
597
- });
598
- return data;
599
- }
600
- };
601
- return mutationOptions;
602
- };
603
- export const getAgentBuilderQueryKey = (options) => createQueryKey('getAgentBuilder', options);
604
- /**
605
- * Get Agent Builder
606
- */
607
- export const getAgentBuilderOptions = (options) => queryOptions({
608
- queryFn: async ({ queryKey, signal }) => {
609
- const { data } = await getAgentBuilder({
610
- ...options,
611
- ...queryKey[0],
612
- signal,
613
- throwOnError: true
614
- });
615
- return data;
616
- },
617
- queryKey: getAgentBuilderQueryKey(options)
618
- });
619
- export const chatAgentGetChatConfigQueryKey = (options) => createQueryKey('chatAgentGetChatConfig', options);
620
- /**
621
- * Get Chat Config
622
- *
623
- * 获取当前聊天配置
624
- */
625
- export const chatAgentGetChatConfigOptions = (options) => queryOptions({
626
- queryFn: async ({ queryKey, signal }) => {
627
- const { data } = await chatAgentGetChatConfig({
628
- ...options,
629
- ...queryKey[0],
630
- signal,
631
- throwOnError: true
632
- });
633
- return data;
634
- },
635
- queryKey: chatAgentGetChatConfigQueryKey(options)
636
- });
637
- /**
638
- * Update Chat Config
639
- *
640
- * 更新聊天配置
641
- */
642
- export const chatAgentUpdateChatConfigMutation = (options) => {
643
- const mutationOptions = {
644
- mutationFn: async (fnOptions) => {
645
- const { data } = await chatAgentUpdateChatConfig({
646
- ...options,
647
- ...fnOptions,
648
- throwOnError: true
649
- });
650
- return data;
651
- }
652
- };
653
- return mutationOptions;
654
- };
655
- export const chatAgentGetProvidersQueryKey = (options) => createQueryKey('chatAgentGetProviders', options);
656
- /**
657
- * Get Providers
658
- *
659
- * 获取所有可用的AI提供商
660
- */
661
- export const chatAgentGetProvidersOptions = (options) => queryOptions({
662
- queryFn: async ({ queryKey, signal }) => {
663
- const { data } = await chatAgentGetProviders({
664
- ...options,
665
- ...queryKey[0],
666
- signal,
667
- throwOnError: true
668
- });
669
- return data;
670
- },
671
- queryKey: chatAgentGetProvidersQueryKey(options)
672
- });
673
- /**
674
- * Validate Api Key
675
- *
676
- * 验证API密钥
677
- */
678
- export const chatAgentValidateApiKeyMutation = (options) => {
679
- const mutationOptions = {
680
- mutationFn: async (fnOptions) => {
681
- const { data } = await chatAgentValidateApiKey({
682
- ...options,
683
- ...fnOptions,
684
- throwOnError: true
685
- });
686
- return data;
687
- }
688
- };
689
- return mutationOptions;
690
- };
691
- export const chatAgentExportConfigQueryKey = (options) => createQueryKey('chatAgentExportConfig', options);
692
- /**
693
- * Export Config
694
- *
695
- * 导出AI配置
696
- */
697
- export const chatAgentExportConfigOptions = (options) => queryOptions({
698
- queryFn: async ({ queryKey, signal }) => {
699
- const { data } = await chatAgentExportConfig({
700
- ...options,
701
- ...queryKey[0],
702
- signal,
703
- throwOnError: true
704
- });
705
- return data;
706
- },
707
- queryKey: chatAgentExportConfigQueryKey(options)
708
- });
709
- /**
710
- * Import Config
711
- *
712
- * 导入AI配置
713
- */
714
- export const chatAgentImportConfigMutation = (options) => {
715
- const mutationOptions = {
716
- mutationFn: async (fnOptions) => {
717
- const { data } = await chatAgentImportConfig({
718
- ...options,
719
- ...fnOptions,
720
- throwOnError: true
721
- });
722
- return data;
723
- }
724
- };
725
- return mutationOptions;
726
- };
727
- /**
728
- * Chat
729
- *
730
- * 处理聊天请求 - 使用新的Agent架构
731
- */
732
- export const chatAgentChatMutation = (options) => {
733
- const mutationOptions = {
734
- mutationFn: async (fnOptions) => {
735
- const { data } = await chatAgentChat({
736
- ...options,
737
- ...fnOptions,
738
- throwOnError: true
739
- });
740
- return data;
741
- }
742
- };
743
- return mutationOptions;
744
- };
745
- export const listItemsQueryKey = (options) => createQueryKey('listItems', options);
746
- /**
747
- * List Items
748
- *
749
- * List all items in the database.
750
- *
751
- * Returns a list of items, with pagination support.
752
- */
753
- export const listItemsOptions = (options) => queryOptions({
754
- queryFn: async ({ queryKey, signal }) => {
755
- const { data } = await listItems({
756
- ...options,
757
- ...queryKey[0],
758
- signal,
759
- throwOnError: true
760
- });
761
- return data;
762
- },
763
- queryKey: listItemsQueryKey(options)
764
- });
765
- /**
766
- * Create Item
767
- *
768
- * Create a new item in the database.
769
- *
770
- * Returns the created item with its assigned ID.
771
- */
772
- export const createItemMutation = (options) => {
773
- const mutationOptions = {
774
- mutationFn: async (fnOptions) => {
775
- const { data } = await createItem({
776
- ...options,
777
- ...fnOptions,
778
- throwOnError: true
779
- });
780
- return data;
781
- }
782
- };
783
- return mutationOptions;
784
- };
785
- /**
786
- * Delete Item
787
- *
788
- * Delete an item from the database.
789
- *
790
- * Raises a 404 error if the item does not exist.
791
- */
792
- export const deleteItemMutation = (options) => {
793
- const mutationOptions = {
794
- mutationFn: async (fnOptions) => {
795
- const { data } = await deleteItem({
796
- ...options,
797
- ...fnOptions,
798
- throwOnError: true
799
- });
800
- return data;
801
- }
802
- };
803
- return mutationOptions;
804
- };
805
- export const getItemQueryKey = (options) => createQueryKey('getItem', options);
806
- /**
807
- * Read Item
808
- *
809
- * Get a specific item by its ID.
810
- *
811
- * Raises a 404 error if the item does not exist.
812
- */
813
- export const getItemOptions = (options) => queryOptions({
814
- queryFn: async ({ queryKey, signal }) => {
815
- const { data } = await getItem({
816
- ...options,
817
- ...queryKey[0],
818
- signal,
819
- throwOnError: true
820
- });
821
- return data;
822
- },
823
- queryKey: getItemQueryKey(options)
824
- });
825
- /**
826
- * Update Item
827
- *
828
- * Update an existing item.
829
- *
830
- * Raises a 404 error if the item does not exist.
831
- */
832
- export const updateItemMutation = (options) => {
833
- const mutationOptions = {
834
- mutationFn: async (fnOptions) => {
835
- const { data } = await updateItem({
836
- ...options,
837
- ...fnOptions,
838
- throwOnError: true
839
- });
840
- return data;
841
- }
842
- };
843
- return mutationOptions;
844
- };
845
- export const searchItemsQueryKey = (options) => createQueryKey('searchItems', options);
846
- /**
847
- * Search Items
848
- *
849
- * Search for items with various filters.
850
- *
851
- * Returns a list of items that match the search criteria.
852
- */
853
- export const searchItemsOptions = (options) => queryOptions({
854
- queryFn: async ({ queryKey, signal }) => {
855
- const { data } = await searchItems({
856
- ...options,
857
- ...queryKey[0],
858
- signal,
859
- throwOnError: true
860
- });
861
- return data;
862
- },
863
- queryKey: searchItemsQueryKey(options)
864
- });
865
- /**
866
- * Agentrun
867
- */
868
- export const agentsAgentrunMutation = (options) => {
869
- const mutationOptions = {
870
- mutationFn: async (fnOptions) => {
871
- const { data } = await agentsAgentrun({
872
- ...options,
873
- ...fnOptions,
874
- throwOnError: true
875
- });
876
- return data;
877
- }
878
- };
879
- return mutationOptions;
880
- };
881
- /**
882
- * Start Napcat Sandbox
883
- *
884
- * 启动 Napcat 沙箱(同步返回结果)
885
- */
886
- export const sandboxStartNapcatSandboxMutation = (options) => {
887
- const mutationOptions = {
888
- mutationFn: async (fnOptions) => {
889
- const { data } = await sandboxStartNapcatSandbox({
890
- ...options,
891
- ...fnOptions,
892
- throwOnError: true
893
- });
894
- return data;
895
- }
896
- };
897
- return mutationOptions;
898
- };
899
- /**
900
- * Check Sandbox Status
901
- *
902
- * 检查指定沙盒的状态
903
- */
904
- export const sandboxCheckSandboxStatusMutation = (options) => {
905
- const mutationOptions = {
906
- mutationFn: async (fnOptions) => {
907
- const { data } = await sandboxCheckSandboxStatus({
908
- ...options,
909
- ...fnOptions,
910
- throwOnError: true
911
- });
912
- return data;
913
- }
914
- };
915
- return mutationOptions;
916
- };
917
- //# sourceMappingURL=react-query.gen.js.map