mtmsdk 0.0.42 → 0.0.44

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 (480) hide show
  1. package/dist/cloud-account/platform-configs.d.ts +64 -0
  2. package/dist/cloud-account/platform-configs.d.ts.map +1 -0
  3. package/dist/cloud-account/platform-configs.js +44 -0
  4. package/dist/cloud-account/platform-configs.js.map +1 -0
  5. package/dist/{gomtmapi_v2 → gomtmapi}/@tanstack/react-query.gen.d.ts +202 -8
  6. package/dist/gomtmapi/@tanstack/react-query.gen.d.ts.map +1 -0
  7. package/dist/{gomtmapi_v2 → gomtmapi}/@tanstack/react-query.gen.js +300 -10
  8. package/dist/gomtmapi/@tanstack/react-query.gen.js.map +1 -0
  9. package/dist/{opencode → gomtmapi}/client/client.gen.d.ts.map +1 -1
  10. package/dist/{opencode → gomtmapi}/client/client.gen.js.map +1 -1
  11. package/dist/{opencode → gomtmapi}/client/index.d.ts.map +1 -1
  12. package/dist/{opencode → gomtmapi}/client/index.js.map +1 -1
  13. package/dist/{opencode → gomtmapi}/client/types.gen.d.ts.map +1 -1
  14. package/dist/gomtmapi/client/types.gen.js.map +1 -0
  15. package/dist/{opencode → gomtmapi}/client/utils.gen.d.ts.map +1 -1
  16. package/dist/{opencode → gomtmapi}/client/utils.gen.js.map +1 -1
  17. package/dist/{opencode → gomtmapi}/client.gen.d.ts.map +1 -1
  18. package/dist/{opencode → gomtmapi}/client.gen.js.map +1 -1
  19. package/dist/{opencode → gomtmapi}/core/auth.gen.d.ts.map +1 -1
  20. package/dist/{opencode → gomtmapi}/core/auth.gen.js.map +1 -1
  21. package/dist/{opencode → gomtmapi}/core/bodySerializer.gen.d.ts.map +1 -1
  22. package/dist/{opencode → gomtmapi}/core/bodySerializer.gen.js.map +1 -1
  23. package/dist/{opencode → gomtmapi}/core/params.gen.d.ts.map +1 -1
  24. package/dist/{opencode → gomtmapi}/core/params.gen.js.map +1 -1
  25. package/dist/{opencode → gomtmapi}/core/pathSerializer.gen.d.ts.map +1 -1
  26. package/dist/{opencode → gomtmapi}/core/pathSerializer.gen.js.map +1 -1
  27. package/dist/{opencode → gomtmapi}/core/queryKeySerializer.gen.d.ts.map +1 -1
  28. package/dist/{opencode → gomtmapi}/core/queryKeySerializer.gen.js.map +1 -1
  29. package/dist/{opencode → gomtmapi}/core/serverSentEvents.gen.d.ts.map +1 -1
  30. package/dist/{opencode → gomtmapi}/core/serverSentEvents.gen.js.map +1 -1
  31. package/dist/{opencode → gomtmapi}/core/types.gen.d.ts.map +1 -1
  32. package/dist/gomtmapi/core/types.gen.js.map +1 -0
  33. package/dist/{opencode → gomtmapi}/core/utils.gen.d.ts.map +1 -1
  34. package/dist/{opencode → gomtmapi}/core/utils.gen.js.map +1 -1
  35. package/dist/gomtmapi/index.d.ts +3 -0
  36. package/dist/gomtmapi/index.d.ts.map +1 -0
  37. package/dist/gomtmapi/index.js +3 -0
  38. package/dist/gomtmapi/index.js.map +1 -0
  39. package/dist/{gomtmapi_v2 → gomtmapi}/schemas.gen.d.ts +337 -50
  40. package/dist/gomtmapi/schemas.gen.d.ts.map +1 -0
  41. package/dist/{gomtmapi_v2 → gomtmapi}/schemas.gen.js +355 -50
  42. package/dist/gomtmapi/schemas.gen.js.map +1 -0
  43. package/dist/gomtmapi/sdk.gen.d.ts +378 -0
  44. package/dist/gomtmapi/sdk.gen.d.ts.map +1 -0
  45. package/dist/{gomtmapi_v2 → gomtmapi}/sdk.gen.js +234 -15
  46. package/dist/gomtmapi/sdk.gen.js.map +1 -0
  47. package/dist/{gomtmapi_v2 → gomtmapi}/types.gen.d.ts +494 -50
  48. package/dist/gomtmapi/types.gen.d.ts.map +1 -0
  49. package/dist/gomtmapi/types.gen.js.map +1 -0
  50. package/dist/{gomtmapi_v2 → gomtmapi}/zod.gen.d.ts +391 -45
  51. package/dist/gomtmapi/zod.gen.d.ts.map +1 -0
  52. package/dist/{gomtmapi_v2 → gomtmapi}/zod.gen.js +270 -31
  53. package/dist/gomtmapi/zod.gen.js.map +1 -0
  54. package/dist/lib/logger/index.d.ts +3 -0
  55. package/dist/lib/logger/index.d.ts.map +1 -1
  56. package/dist/lib/schema.d.ts +14 -2
  57. package/dist/lib/schema.d.ts.map +1 -1
  58. package/dist/lib/schema.js +1 -1
  59. package/dist/lib/schema.js.map +1 -1
  60. package/dist/mtgate_api/@tanstack/react-query.gen.d.ts +29 -1
  61. package/dist/mtgate_api/@tanstack/react-query.gen.d.ts.map +1 -1
  62. package/dist/mtgate_api/@tanstack/react-query.gen.js +17 -1
  63. package/dist/mtgate_api/@tanstack/react-query.gen.js.map +1 -1
  64. package/dist/mtgate_api/index.d.ts +2 -2
  65. package/dist/mtgate_api/index.d.ts.map +1 -1
  66. package/dist/mtgate_api/index.js +1 -1
  67. package/dist/mtgate_api/index.js.map +1 -1
  68. package/dist/mtgate_api/schemas.gen.d.ts +1 -0
  69. package/dist/mtgate_api/schemas.gen.d.ts.map +1 -1
  70. package/dist/mtgate_api/schemas.gen.js +8 -1
  71. package/dist/mtgate_api/schemas.gen.js.map +1 -1
  72. package/dist/mtgate_api/sdk.gen.d.ts +5 -1
  73. package/dist/mtgate_api/sdk.gen.d.ts.map +1 -1
  74. package/dist/mtgate_api/sdk.gen.js +4 -0
  75. package/dist/mtgate_api/sdk.gen.js.map +1 -1
  76. package/dist/mtgate_api/types.gen.d.ts +7 -1
  77. package/dist/mtgate_api/types.gen.d.ts.map +1 -1
  78. package/dist/mtgate_api/zod.gen.d.ts +26 -3
  79. package/dist/mtgate_api/zod.gen.d.ts.map +1 -1
  80. package/dist/mtgate_api/zod.gen.js +12 -1
  81. package/dist/mtgate_api/zod.gen.js.map +1 -1
  82. package/dist/openclaw/client-info.d.ts +56 -0
  83. package/dist/openclaw/client-info.d.ts.map +1 -0
  84. package/dist/openclaw/client-info.js +44 -0
  85. package/dist/openclaw/client-info.js.map +1 -0
  86. package/dist/openclaw/device-auth-utils.d.ts +13 -0
  87. package/dist/openclaw/device-auth-utils.d.ts.map +1 -0
  88. package/dist/openclaw/device-auth-utils.js +20 -0
  89. package/dist/openclaw/device-auth-utils.js.map +1 -0
  90. package/dist/openclaw/device-auth.d.ts +21 -0
  91. package/dist/openclaw/device-auth.d.ts.map +1 -0
  92. package/dist/openclaw/device-auth.js +84 -0
  93. package/dist/openclaw/device-auth.js.map +1 -0
  94. package/dist/openclaw/device-identity.d.ts +8 -0
  95. package/dist/openclaw/device-identity.d.ts.map +1 -0
  96. package/dist/openclaw/device-identity.js +87 -0
  97. package/dist/openclaw/device-identity.js.map +1 -0
  98. package/dist/openclaw/gateway.d.ts +86 -0
  99. package/dist/openclaw/gateway.d.ts.map +1 -0
  100. package/dist/openclaw/gateway.js +268 -0
  101. package/dist/openclaw/gateway.js.map +1 -0
  102. package/dist/openclaw/types.d.ts +473 -0
  103. package/dist/openclaw/types.d.ts.map +1 -0
  104. package/dist/openclaw/types.js +2 -0
  105. package/dist/openclaw/types.js.map +1 -0
  106. package/dist/openclaw/uuid.d.ts +6 -0
  107. package/dist/openclaw/uuid.d.ts.map +1 -0
  108. package/dist/openclaw/uuid.js +39 -0
  109. package/dist/openclaw/uuid.js.map +1 -0
  110. package/dist/sbapi/@tanstack/react-query.gen.d.ts +3251 -6
  111. package/dist/sbapi/@tanstack/react-query.gen.d.ts.map +1 -1
  112. package/dist/sbapi/@tanstack/react-query.gen.js +6050 -6
  113. package/dist/sbapi/@tanstack/react-query.gen.js.map +1 -1
  114. package/dist/sbapi/client.gen.d.ts.map +1 -1
  115. package/dist/sbapi/client.gen.js +1 -1
  116. package/dist/sbapi/client.gen.js.map +1 -1
  117. package/dist/sbapi/index.d.ts +2 -2
  118. package/dist/sbapi/index.d.ts.map +1 -1
  119. package/dist/sbapi/index.js +1 -1
  120. package/dist/sbapi/index.js.map +1 -1
  121. package/dist/sbapi/schemas.gen.d.ts +2320 -36
  122. package/dist/sbapi/schemas.gen.d.ts.map +1 -1
  123. package/dist/sbapi/schemas.gen.js +2593 -45
  124. package/dist/sbapi/schemas.gen.js.map +1 -1
  125. package/dist/sbapi/sdk.gen.d.ts +819 -2
  126. package/dist/sbapi/sdk.gen.d.ts.map +1 -1
  127. package/dist/sbapi/sdk.gen.js +2463 -1
  128. package/dist/sbapi/sdk.gen.js.map +1 -1
  129. package/dist/sbapi/types.gen.d.ts +11701 -29
  130. package/dist/sbapi/types.gen.d.ts.map +1 -1
  131. package/dist/sbapi/zod.gen.d.ts +8134 -26
  132. package/dist/sbapi/zod.gen.d.ts.map +1 -1
  133. package/dist/sbapi/zod.gen.js +6572 -18
  134. package/dist/sbapi/zod.gen.js.map +1 -1
  135. package/dist/sbmng/@tanstack/react-query.gen.d.ts +253 -157
  136. package/dist/sbmng/@tanstack/react-query.gen.d.ts.map +1 -1
  137. package/dist/sbmng/@tanstack/react-query.gen.js +241 -145
  138. package/dist/sbmng/@tanstack/react-query.gen.js.map +1 -1
  139. package/dist/sbmng/index.d.ts +2 -2
  140. package/dist/sbmng/index.d.ts.map +1 -1
  141. package/dist/sbmng/index.js +1 -1
  142. package/dist/sbmng/index.js.map +1 -1
  143. package/dist/sbmng/schemas.gen.d.ts +1035 -917
  144. package/dist/sbmng/schemas.gen.d.ts.map +1 -1
  145. package/dist/sbmng/schemas.gen.js +1219 -1067
  146. package/dist/sbmng/schemas.gen.js.map +1 -1
  147. package/dist/sbmng/sdk.gen.d.ts +62 -38
  148. package/dist/sbmng/sdk.gen.d.ts.map +1 -1
  149. package/dist/sbmng/sdk.gen.js +140 -84
  150. package/dist/sbmng/sdk.gen.js.map +1 -1
  151. package/dist/sbmng/types.gen.d.ts +1214 -991
  152. package/dist/sbmng/types.gen.d.ts.map +1 -1
  153. package/dist/supabase/auth-provider.d.ts +4 -0
  154. package/dist/supabase/auth-provider.d.ts.map +1 -0
  155. package/dist/supabase/auth-provider.js +45 -0
  156. package/dist/supabase/auth-provider.js.map +1 -0
  157. package/dist/supabase/cursor-pagination.d.ts +92 -0
  158. package/dist/supabase/cursor-pagination.d.ts.map +1 -0
  159. package/dist/supabase/cursor-pagination.js +116 -0
  160. package/dist/supabase/cursor-pagination.js.map +1 -0
  161. package/dist/supabase/schema/browser.d.ts.map +1 -0
  162. package/dist/supabase/schema/browser.js.map +1 -0
  163. package/dist/supabase/schema/index.d.ts +29 -0
  164. package/dist/supabase/schema/index.d.ts.map +1 -0
  165. package/dist/supabase/schema/index.js +38 -0
  166. package/dist/supabase/schema/index.js.map +1 -0
  167. package/dist/supabase/supabase-client.d.ts +1912 -1128
  168. package/dist/supabase/supabase-client.d.ts.map +1 -1
  169. package/dist/supabase/supabase.d.ts +4466 -2898
  170. package/dist/supabase/supabase.d.ts.map +1 -1
  171. package/dist/supabase/supabase.js +7 -4
  172. package/dist/supabase/supabase.js.map +1 -1
  173. package/dist/supabase/use-sb-query/use-query.d.ts +1 -1
  174. package/dist/supabase/use-sb-query/use-query.d.ts.map +1 -1
  175. package/dist/supabase/use-sb-query/use-query.js +2 -6
  176. package/dist/supabase/use-sb-query/use-query.js.map +1 -1
  177. package/dist/supabase/use-sb-query/use-rpc-mutation.d.ts +61 -0
  178. package/dist/supabase/use-sb-query/use-rpc-mutation.d.ts.map +1 -0
  179. package/dist/supabase/use-sb-query/use-rpc-mutation.js +63 -0
  180. package/dist/supabase/use-sb-query/use-rpc-mutation.js.map +1 -0
  181. package/dist/supabase/use-sb-query/use-rpc-query.d.ts +124 -0
  182. package/dist/supabase/use-sb-query/use-rpc-query.d.ts.map +1 -0
  183. package/dist/supabase/use-sb-query/use-rpc-query.js +91 -0
  184. package/dist/supabase/use-sb-query/use-rpc-query.js.map +1 -0
  185. package/dist/supabase/utils.d.ts +1 -1
  186. package/dist/supabase/utils.d.ts.map +1 -1
  187. package/dist/types/database.schemas.d.ts +3911 -0
  188. package/dist/types/database.schemas.d.ts.map +1 -0
  189. package/dist/types/database.schemas.js +3180 -0
  190. package/dist/types/database.schemas.js.map +1 -0
  191. package/dist/types/database.types.d.ts +1923 -1134
  192. package/dist/types/database.types.d.ts.map +1 -1
  193. package/dist/types/database.types.js +24 -0
  194. package/dist/types/database.types.js.map +1 -1
  195. package/dist/types/index.d.ts +47 -6
  196. package/dist/types/index.d.ts.map +1 -1
  197. package/dist/types/index.js +27 -1
  198. package/dist/types/index.js.map +1 -1
  199. package/dist/types/rpc.schemas.d.ts +64 -0
  200. package/dist/types/rpc.schemas.d.ts.map +1 -0
  201. package/dist/types/rpc.schemas.js +122 -0
  202. package/dist/types/rpc.schemas.js.map +1 -0
  203. package/package.json +48 -39
  204. package/src/adk/api/client.ts +46 -0
  205. package/src/adk/core/constants/tool-icons.ts +51 -0
  206. package/src/adk/core/models/AgentBuilder.ts +80 -0
  207. package/src/adk/core/models/AgentRunRequest.ts +33 -0
  208. package/src/adk/core/models/Eval.ts +70 -0
  209. package/src/adk/core/models/LiveRequest.ts +23 -0
  210. package/src/adk/core/models/RuntimeConfig.ts +33 -0
  211. package/src/adk/core/models/Session.ts +52 -0
  212. package/src/adk/core/models/Trace.ts +42 -0
  213. package/src/adk/core/models/types.ts +255 -0
  214. package/src/api_hatchet/@tanstack/react-query.gen.ts +3025 -0
  215. package/src/api_hatchet/client/client.gen.ts +311 -0
  216. package/src/api_hatchet/client/index.ts +25 -0
  217. package/src/api_hatchet/client/types.gen.ts +241 -0
  218. package/src/api_hatchet/client/utils.gen.ts +332 -0
  219. package/{dist/opencode/client.gen.d.ts → src/api_hatchet/client.gen.ts} +6 -3
  220. package/src/api_hatchet/core/auth.gen.ts +42 -0
  221. package/src/api_hatchet/core/bodySerializer.gen.ts +100 -0
  222. package/src/api_hatchet/core/params.gen.ts +176 -0
  223. package/src/api_hatchet/core/pathSerializer.gen.ts +181 -0
  224. package/src/api_hatchet/core/queryKeySerializer.gen.ts +136 -0
  225. package/src/api_hatchet/core/serverSentEvents.gen.ts +266 -0
  226. package/src/api_hatchet/core/types.gen.ts +118 -0
  227. package/src/api_hatchet/core/utils.gen.ts +143 -0
  228. package/src/api_hatchet/index.ts +4 -0
  229. package/src/api_hatchet/schemas.gen.ts +4961 -0
  230. package/src/api_hatchet/sdk.gen.ts +1994 -0
  231. package/src/api_hatchet/types.gen.ts +7688 -0
  232. package/src/api_hatchet/zod.gen.ts +3230 -0
  233. package/src/cloud-account/platform-configs.ts +73 -0
  234. package/src/gomtmapi/@tanstack/react-query.gen.ts +757 -0
  235. package/src/gomtmapi/client/client.gen.ts +311 -0
  236. package/src/gomtmapi/client/index.ts +25 -0
  237. package/src/gomtmapi/client/types.gen.ts +241 -0
  238. package/src/gomtmapi/client/utils.gen.ts +332 -0
  239. package/src/gomtmapi/client.gen.ts +16 -0
  240. package/src/gomtmapi/core/auth.gen.ts +42 -0
  241. package/src/gomtmapi/core/bodySerializer.gen.ts +100 -0
  242. package/src/gomtmapi/core/params.gen.ts +176 -0
  243. package/src/gomtmapi/core/pathSerializer.gen.ts +181 -0
  244. package/src/gomtmapi/core/queryKeySerializer.gen.ts +136 -0
  245. package/src/gomtmapi/core/serverSentEvents.gen.ts +266 -0
  246. package/src/gomtmapi/core/types.gen.ts +118 -0
  247. package/src/gomtmapi/core/utils.gen.ts +143 -0
  248. package/src/gomtmapi/index.ts +4 -0
  249. package/src/gomtmapi/schemas.gen.ts +904 -0
  250. package/src/gomtmapi/sdk.gen.ts +541 -0
  251. package/src/gomtmapi/types.gen.ts +1456 -0
  252. package/src/gomtmapi/zod.gen.ts +758 -0
  253. package/src/index.ts +5 -0
  254. package/src/lib/aisdk/types.ts +8 -0
  255. package/src/lib/logger/index.ts +8 -0
  256. package/src/lib/schema.ts +50 -0
  257. package/src/lib/utils.ts +54 -0
  258. package/src/mtgate_api/@tanstack/react-query.gen.ts +175 -0
  259. package/src/mtgate_api/client/client.gen.ts +311 -0
  260. package/src/mtgate_api/client/index.ts +25 -0
  261. package/src/mtgate_api/client/types.gen.ts +241 -0
  262. package/src/mtgate_api/client/utils.gen.ts +332 -0
  263. package/src/mtgate_api/client.gen.ts +16 -0
  264. package/src/mtgate_api/core/auth.gen.ts +42 -0
  265. package/src/mtgate_api/core/bodySerializer.gen.ts +100 -0
  266. package/src/mtgate_api/core/params.gen.ts +176 -0
  267. package/src/mtgate_api/core/pathSerializer.gen.ts +181 -0
  268. package/src/mtgate_api/core/queryKeySerializer.gen.ts +136 -0
  269. package/src/mtgate_api/core/serverSentEvents.gen.ts +266 -0
  270. package/src/mtgate_api/core/types.gen.ts +118 -0
  271. package/src/mtgate_api/core/utils.gen.ts +143 -0
  272. package/src/mtgate_api/index.ts +4 -0
  273. package/src/mtgate_api/schemas.gen.ts +337 -0
  274. package/src/mtgate_api/sdk.gen.ts +61 -0
  275. package/src/mtgate_api/types.gen.ts +324 -0
  276. package/src/mtgate_api/zod.gen.ts +234 -0
  277. package/src/mtmai_api/@tanstack/react-query.gen.ts +1010 -0
  278. package/src/mtmai_api/client/client.gen.ts +311 -0
  279. package/src/mtmai_api/client/index.ts +25 -0
  280. package/src/mtmai_api/client/types.gen.ts +241 -0
  281. package/src/mtmai_api/client/utils.gen.ts +332 -0
  282. package/src/mtmai_api/client.gen.ts +16 -0
  283. package/src/mtmai_api/core/auth.gen.ts +42 -0
  284. package/src/mtmai_api/core/bodySerializer.gen.ts +100 -0
  285. package/src/mtmai_api/core/params.gen.ts +176 -0
  286. package/src/mtmai_api/core/pathSerializer.gen.ts +181 -0
  287. package/src/mtmai_api/core/queryKeySerializer.gen.ts +136 -0
  288. package/src/mtmai_api/core/serverSentEvents.gen.ts +266 -0
  289. package/src/mtmai_api/core/types.gen.ts +118 -0
  290. package/src/mtmai_api/core/utils.gen.ts +143 -0
  291. package/src/mtmai_api/index.ts +4 -0
  292. package/src/mtmai_api/schemas.gen.ts +9980 -0
  293. package/src/mtmai_api/sdk.gen.ts +471 -0
  294. package/src/mtmai_api/types.gen.ts +7609 -0
  295. package/src/mtmai_api/zod.gen.ts +5101 -0
  296. package/src/openclaw/client-info.ts +63 -0
  297. package/src/openclaw/device-auth-utils.ts +31 -0
  298. package/src/openclaw/device-auth.ts +96 -0
  299. package/src/openclaw/device-identity.ts +108 -0
  300. package/src/openclaw/gateway.ts +351 -0
  301. package/src/openclaw/types.ts +518 -0
  302. package/src/openclaw/uuid.ts +48 -0
  303. package/src/sbapi/@tanstack/react-query.gen.ts +6591 -0
  304. package/src/sbapi/client/client.gen.ts +311 -0
  305. package/src/sbapi/client/index.ts +25 -0
  306. package/src/sbapi/client/types.gen.ts +241 -0
  307. package/src/sbapi/client/utils.gen.ts +332 -0
  308. package/src/sbapi/client.gen.ts +16 -0
  309. package/src/sbapi/core/auth.gen.ts +42 -0
  310. package/src/sbapi/core/bodySerializer.gen.ts +100 -0
  311. package/src/sbapi/core/params.gen.ts +176 -0
  312. package/src/sbapi/core/pathSerializer.gen.ts +181 -0
  313. package/src/sbapi/core/queryKeySerializer.gen.ts +136 -0
  314. package/src/sbapi/core/serverSentEvents.gen.ts +266 -0
  315. package/src/sbapi/core/types.gen.ts +118 -0
  316. package/src/sbapi/core/utils.gen.ts +143 -0
  317. package/src/sbapi/index.ts +4 -0
  318. package/src/sbapi/schemas.gen.ts +2643 -0
  319. package/src/sbapi/sdk.gen.ts +2822 -0
  320. package/src/sbapi/types.gen.ts +12503 -0
  321. package/src/sbapi/zod.gen.ts +7021 -0
  322. package/src/sbmng/@tanstack/react-query.gen.ts +2999 -0
  323. package/src/sbmng/client/client.gen.ts +311 -0
  324. package/src/sbmng/client/index.ts +25 -0
  325. package/src/sbmng/client/types.gen.ts +241 -0
  326. package/src/sbmng/client/utils.gen.ts +332 -0
  327. package/src/sbmng/client.gen.ts +16 -0
  328. package/src/sbmng/core/auth.gen.ts +42 -0
  329. package/src/sbmng/core/bodySerializer.gen.ts +100 -0
  330. package/src/sbmng/core/params.gen.ts +176 -0
  331. package/src/sbmng/core/pathSerializer.gen.ts +181 -0
  332. package/src/sbmng/core/queryKeySerializer.gen.ts +136 -0
  333. package/src/sbmng/core/serverSentEvents.gen.ts +266 -0
  334. package/src/sbmng/core/types.gen.ts +118 -0
  335. package/src/sbmng/core/utils.gen.ts +143 -0
  336. package/src/sbmng/index.ts +4 -0
  337. package/src/sbmng/schemas.gen.ts +9680 -0
  338. package/src/sbmng/sdk.gen.ts +1771 -0
  339. package/src/sbmng/types.gen.ts +7956 -0
  340. package/src/supabase/auth-provider.tsx +67 -0
  341. package/src/supabase/context.tsx +51 -0
  342. package/src/supabase/cursor-pagination.ts +155 -0
  343. package/src/supabase/schema/browser.ts +45 -0
  344. package/src/supabase/schema/index.ts +50 -0
  345. package/src/supabase/supabase-client.ts +30 -0
  346. package/src/supabase/supabase.ts +65 -0
  347. package/src/supabase/use-sb-query/build-query-opts.ts +56 -0
  348. package/src/supabase/use-sb-query/key.ts +57 -0
  349. package/src/supabase/use-sb-query/prefetch.ts +59 -0
  350. package/src/supabase/use-sb-query/use-query.ts +340 -0
  351. package/src/supabase/use-sb-query/use-rpc-mutation.ts +83 -0
  352. package/src/supabase/use-sb-query/use-rpc-query.ts +230 -0
  353. package/src/supabase/utils.ts +75 -0
  354. package/src/types/database.schemas.ts +3804 -0
  355. package/src/types/database.types.ts +3828 -0
  356. package/src/types/index.ts +119 -0
  357. package/src/types/rpc.schemas.ts +157 -0
  358. package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts.map +0 -1
  359. package/dist/gomtmapi_v2/@tanstack/react-query.gen.js.map +0 -1
  360. package/dist/gomtmapi_v2/client/client.gen.d.ts.map +0 -1
  361. package/dist/gomtmapi_v2/client/client.gen.js.map +0 -1
  362. package/dist/gomtmapi_v2/client/index.d.ts.map +0 -1
  363. package/dist/gomtmapi_v2/client/index.js.map +0 -1
  364. package/dist/gomtmapi_v2/client/types.gen.d.ts.map +0 -1
  365. package/dist/gomtmapi_v2/client/types.gen.js.map +0 -1
  366. package/dist/gomtmapi_v2/client/utils.gen.d.ts.map +0 -1
  367. package/dist/gomtmapi_v2/client/utils.gen.js.map +0 -1
  368. package/dist/gomtmapi_v2/client.gen.d.ts.map +0 -1
  369. package/dist/gomtmapi_v2/client.gen.js.map +0 -1
  370. package/dist/gomtmapi_v2/core/auth.gen.d.ts.map +0 -1
  371. package/dist/gomtmapi_v2/core/auth.gen.js.map +0 -1
  372. package/dist/gomtmapi_v2/core/bodySerializer.gen.d.ts.map +0 -1
  373. package/dist/gomtmapi_v2/core/bodySerializer.gen.js.map +0 -1
  374. package/dist/gomtmapi_v2/core/params.gen.d.ts.map +0 -1
  375. package/dist/gomtmapi_v2/core/params.gen.js.map +0 -1
  376. package/dist/gomtmapi_v2/core/pathSerializer.gen.d.ts.map +0 -1
  377. package/dist/gomtmapi_v2/core/pathSerializer.gen.js.map +0 -1
  378. package/dist/gomtmapi_v2/core/queryKeySerializer.gen.d.ts.map +0 -1
  379. package/dist/gomtmapi_v2/core/queryKeySerializer.gen.js.map +0 -1
  380. package/dist/gomtmapi_v2/core/serverSentEvents.gen.d.ts.map +0 -1
  381. package/dist/gomtmapi_v2/core/serverSentEvents.gen.js.map +0 -1
  382. package/dist/gomtmapi_v2/core/types.gen.d.ts.map +0 -1
  383. package/dist/gomtmapi_v2/core/types.gen.js.map +0 -1
  384. package/dist/gomtmapi_v2/core/utils.gen.d.ts.map +0 -1
  385. package/dist/gomtmapi_v2/core/utils.gen.js.map +0 -1
  386. package/dist/gomtmapi_v2/index.d.ts +0 -3
  387. package/dist/gomtmapi_v2/index.d.ts.map +0 -1
  388. package/dist/gomtmapi_v2/index.js +0 -3
  389. package/dist/gomtmapi_v2/index.js.map +0 -1
  390. package/dist/gomtmapi_v2/schemas.gen.d.ts.map +0 -1
  391. package/dist/gomtmapi_v2/schemas.gen.js.map +0 -1
  392. package/dist/gomtmapi_v2/sdk.gen.d.ts +0 -208
  393. package/dist/gomtmapi_v2/sdk.gen.d.ts.map +0 -1
  394. package/dist/gomtmapi_v2/sdk.gen.js.map +0 -1
  395. package/dist/gomtmapi_v2/types.gen.d.ts.map +0 -1
  396. package/dist/gomtmapi_v2/types.gen.js.map +0 -1
  397. package/dist/gomtmapi_v2/zod.gen.d.ts.map +0 -1
  398. package/dist/gomtmapi_v2/zod.gen.js.map +0 -1
  399. package/dist/opencode/@tanstack/react-query.gen.d.ts +0 -1903
  400. package/dist/opencode/@tanstack/react-query.gen.d.ts.map +0 -1
  401. package/dist/opencode/@tanstack/react-query.gen.js +0 -1696
  402. package/dist/opencode/@tanstack/react-query.gen.js.map +0 -1
  403. package/dist/opencode/client/client.gen.d.ts +0 -3
  404. package/dist/opencode/client/client.gen.js +0 -236
  405. package/dist/opencode/client/index.d.ts +0 -9
  406. package/dist/opencode/client/index.js +0 -7
  407. package/dist/opencode/client/types.gen.d.ts +0 -118
  408. package/dist/opencode/client/types.gen.js +0 -3
  409. package/dist/opencode/client/types.gen.js.map +0 -1
  410. package/dist/opencode/client/utils.gen.d.ts +0 -34
  411. package/dist/opencode/client/utils.gen.js +0 -232
  412. package/dist/opencode/client.gen.js +0 -4
  413. package/dist/opencode/core/auth.gen.d.ts +0 -19
  414. package/dist/opencode/core/auth.gen.js +0 -15
  415. package/dist/opencode/core/bodySerializer.gen.d.ts +0 -26
  416. package/dist/opencode/core/bodySerializer.gen.js +0 -58
  417. package/dist/opencode/core/params.gen.d.ts +0 -44
  418. package/dist/opencode/core/params.gen.js +0 -101
  419. package/dist/opencode/core/pathSerializer.gen.d.ts +0 -34
  420. package/dist/opencode/core/pathSerializer.gen.js +0 -115
  421. package/dist/opencode/core/queryKeySerializer.gen.d.ts +0 -19
  422. package/dist/opencode/core/queryKeySerializer.gen.js +0 -100
  423. package/dist/opencode/core/serverSentEvents.gen.d.ts +0 -72
  424. package/dist/opencode/core/serverSentEvents.gen.js +0 -138
  425. package/dist/opencode/core/types.gen.d.ts +0 -79
  426. package/dist/opencode/core/types.gen.js +0 -3
  427. package/dist/opencode/core/types.gen.js.map +0 -1
  428. package/dist/opencode/core/utils.gen.d.ts +0 -20
  429. package/dist/opencode/core/utils.gen.js +0 -88
  430. package/dist/opencode/index.d.ts +0 -3
  431. package/dist/opencode/index.d.ts.map +0 -1
  432. package/dist/opencode/index.js +0 -4
  433. package/dist/opencode/index.js.map +0 -1
  434. package/dist/opencode/schemas.gen.d.ts +0 -4823
  435. package/dist/opencode/schemas.gen.d.ts.map +0 -1
  436. package/dist/opencode/schemas.gen.js +0 -5816
  437. package/dist/opencode/schemas.gen.js.map +0 -1
  438. package/dist/opencode/sdk.gen.d.ts +0 -562
  439. package/dist/opencode/sdk.gen.d.ts.map +0 -1
  440. package/dist/opencode/sdk.gen.js +0 -766
  441. package/dist/opencode/sdk.gen.js.map +0 -1
  442. package/dist/opencode/types.gen.d.ts +0 -4213
  443. package/dist/opencode/types.gen.d.ts.map +0 -1
  444. package/dist/opencode/types.gen.js +0 -25
  445. package/dist/opencode/types.gen.js.map +0 -1
  446. package/dist/opencode/zod.gen.d.ts +0 -17243
  447. package/dist/opencode/zod.gen.d.ts.map +0 -1
  448. package/dist/opencode/zod.gen.js +0 -2876
  449. package/dist/opencode/zod.gen.js.map +0 -1
  450. package/dist/schema/browser.d.ts.map +0 -1
  451. package/dist/schema/browser.js.map +0 -1
  452. /package/dist/{gomtmapi_v2 → gomtmapi}/client/client.gen.d.ts +0 -0
  453. /package/dist/{gomtmapi_v2 → gomtmapi}/client/client.gen.js +0 -0
  454. /package/dist/{gomtmapi_v2 → gomtmapi}/client/index.d.ts +0 -0
  455. /package/dist/{gomtmapi_v2 → gomtmapi}/client/index.js +0 -0
  456. /package/dist/{gomtmapi_v2 → gomtmapi}/client/types.gen.d.ts +0 -0
  457. /package/dist/{gomtmapi_v2 → gomtmapi}/client/types.gen.js +0 -0
  458. /package/dist/{gomtmapi_v2 → gomtmapi}/client/utils.gen.d.ts +0 -0
  459. /package/dist/{gomtmapi_v2 → gomtmapi}/client/utils.gen.js +0 -0
  460. /package/dist/{gomtmapi_v2 → gomtmapi}/client.gen.d.ts +0 -0
  461. /package/dist/{gomtmapi_v2 → gomtmapi}/client.gen.js +0 -0
  462. /package/dist/{gomtmapi_v2 → gomtmapi}/core/auth.gen.d.ts +0 -0
  463. /package/dist/{gomtmapi_v2 → gomtmapi}/core/auth.gen.js +0 -0
  464. /package/dist/{gomtmapi_v2 → gomtmapi}/core/bodySerializer.gen.d.ts +0 -0
  465. /package/dist/{gomtmapi_v2 → gomtmapi}/core/bodySerializer.gen.js +0 -0
  466. /package/dist/{gomtmapi_v2 → gomtmapi}/core/params.gen.d.ts +0 -0
  467. /package/dist/{gomtmapi_v2 → gomtmapi}/core/params.gen.js +0 -0
  468. /package/dist/{gomtmapi_v2 → gomtmapi}/core/pathSerializer.gen.d.ts +0 -0
  469. /package/dist/{gomtmapi_v2 → gomtmapi}/core/pathSerializer.gen.js +0 -0
  470. /package/dist/{gomtmapi_v2 → gomtmapi}/core/queryKeySerializer.gen.d.ts +0 -0
  471. /package/dist/{gomtmapi_v2 → gomtmapi}/core/queryKeySerializer.gen.js +0 -0
  472. /package/dist/{gomtmapi_v2 → gomtmapi}/core/serverSentEvents.gen.d.ts +0 -0
  473. /package/dist/{gomtmapi_v2 → gomtmapi}/core/serverSentEvents.gen.js +0 -0
  474. /package/dist/{gomtmapi_v2 → gomtmapi}/core/types.gen.d.ts +0 -0
  475. /package/dist/{gomtmapi_v2 → gomtmapi}/core/types.gen.js +0 -0
  476. /package/dist/{gomtmapi_v2 → gomtmapi}/core/utils.gen.d.ts +0 -0
  477. /package/dist/{gomtmapi_v2 → gomtmapi}/core/utils.gen.js +0 -0
  478. /package/dist/{gomtmapi_v2 → gomtmapi}/types.gen.js +0 -0
  479. /package/dist/{schema → supabase/schema}/browser.d.ts +0 -0
  480. /package/dist/{schema → supabase/schema}/browser.js +0 -0
@@ -0,0 +1,1456 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+
3
+ export type ClientOptions = {
4
+ baseUrl: `${string}://${string}` | (string & {});
5
+ };
6
+
7
+ /**
8
+ * AddContactRequest schema
9
+ */
10
+ export type AddContactRequest = {
11
+ api_hash?: string;
12
+ api_id?: number;
13
+ first_name?: string;
14
+ last_name?: string;
15
+ phone: string;
16
+ session_data: string;
17
+ };
18
+
19
+ /**
20
+ * AddContactResponse schema
21
+ */
22
+ export type AddContactResponse = {
23
+ access_hash?: number;
24
+ message?: string;
25
+ session_data?: string;
26
+ success?: boolean;
27
+ user_id?: number;
28
+ };
29
+
30
+ /**
31
+ * AgentRunReq schema
32
+ */
33
+ export type AgentRunReq = {
34
+ payload?: {
35
+ [key: string]: unknown;
36
+ };
37
+ target_worker_id?: string;
38
+ type: string;
39
+ };
40
+
41
+ /**
42
+ * AgentRunResp schema
43
+ */
44
+ export type AgentRunResp = {
45
+ data?: unknown;
46
+ error?: string;
47
+ status?: string;
48
+ };
49
+
50
+ /**
51
+ * AuthResponse schema
52
+ */
53
+ export type AuthResponse = {
54
+ message?: string;
55
+ result?: {
56
+ [key: string]: string;
57
+ };
58
+ session_data?: string;
59
+ success?: boolean;
60
+ user_info?: {
61
+ first_name?: string;
62
+ id?: number;
63
+ is_bot?: boolean;
64
+ last_name?: string;
65
+ phone?: string;
66
+ username?: string;
67
+ };
68
+ };
69
+
70
+ /**
71
+ * BrowserActionReq schema
72
+ */
73
+ export type BrowserActionReq = {
74
+ /**
75
+ * navigate, click, input, wait
76
+ */
77
+ action: string;
78
+ browser_id: string;
79
+ selector?: string;
80
+ text?: string;
81
+ url?: string;
82
+ };
83
+
84
+ /**
85
+ * BrowserOpenReq schema
86
+ */
87
+ export type BrowserOpenReq = unknown;
88
+
89
+ /**
90
+ * BrowserOpenResp schema
91
+ */
92
+ export type BrowserOpenResp = {
93
+ client_action?: {
94
+ [key: string]: string;
95
+ };
96
+ message?: string;
97
+ status?: string;
98
+ task_id?: string;
99
+ };
100
+
101
+ /**
102
+ * CheckUpdateResponse schema
103
+ */
104
+ export type CheckUpdateResponse = {
105
+ current_version?: string;
106
+ latest_version?: string;
107
+ update_available?: boolean;
108
+ };
109
+
110
+ /**
111
+ * CodeRunResult schema
112
+ */
113
+ export type CodeRunResult = {
114
+ /**
115
+ * 耗时(秒)
116
+ */
117
+ duration?: number;
118
+ /**
119
+ * 错误信息
120
+ */
121
+ error?: string;
122
+ /**
123
+ * 标准输出日志(stdout)
124
+ */
125
+ logs?: string;
126
+ /**
127
+ * 代码的返回值
128
+ */
129
+ result?: unknown;
130
+ /**
131
+ * 运行状态: success | error
132
+ */
133
+ status?: string;
134
+ };
135
+
136
+ /**
137
+ * EditFileRequest schema
138
+ */
139
+ export type EditFileRequest = {
140
+ /**
141
+ * Absolute path to the file
142
+ */
143
+ file_path: string;
144
+ /**
145
+ * The new string to replace with.
146
+ */
147
+ new_string?: string;
148
+ /**
149
+ * The exact string to replace. If empty, creates a new file.
150
+ */
151
+ old_string?: string;
152
+ /**
153
+ * If true, replace all occurrences. If false, fails if multiple matches found.
154
+ */
155
+ replace_all?: boolean;
156
+ };
157
+
158
+ /**
159
+ * EditFileResponse schema
160
+ */
161
+ export type EditFileResponse = {
162
+ diff?: string;
163
+ message?: string;
164
+ success?: boolean;
165
+ };
166
+
167
+ /**
168
+ * HTTPError schema
169
+ */
170
+ export type HttpError = {
171
+ /**
172
+ * Human readable error message
173
+ */
174
+ detail?: string;
175
+ errors?: Array<{
176
+ /**
177
+ * Additional information about the error
178
+ */
179
+ more?: {
180
+ [key: string]: unknown;
181
+ };
182
+ /**
183
+ * For example, name of the parameter that caused the error
184
+ */
185
+ name?: string;
186
+ /**
187
+ * Human readable error message
188
+ */
189
+ reason?: string;
190
+ }>;
191
+ instance?: string;
192
+ /**
193
+ * HTTP status code
194
+ */
195
+ status?: number;
196
+ /**
197
+ * Short title of the error
198
+ */
199
+ title?: string;
200
+ /**
201
+ * URL of the error type. Can be used to lookup the error in a documentation
202
+ */
203
+ type?: string;
204
+ };
205
+
206
+ /**
207
+ * HumanActionReq schema
208
+ */
209
+ export type HumanActionReq = {
210
+ /**
211
+ * The type of action required (e.g., 'add_resource', 'check_resource')
212
+ */
213
+ action_type: string;
214
+ /**
215
+ * Explanation to the user why this action is needed
216
+ */
217
+ message: string;
218
+ /**
219
+ * The specific ID of the resource that failed or needs attention
220
+ */
221
+ resource_id?: string;
222
+ };
223
+
224
+ /**
225
+ * HumanActionResp schema
226
+ */
227
+ export type HumanActionResp = {
228
+ client_action?: {
229
+ [key: string]: string;
230
+ };
231
+ message?: string;
232
+ status?: string;
233
+ };
234
+
235
+ /**
236
+ * ListDirRequest schema
237
+ */
238
+ export type ListDirRequest = {
239
+ /**
240
+ * Directory path to list
241
+ */
242
+ path: string;
243
+ };
244
+
245
+ /**
246
+ * ListDirResponse schema
247
+ */
248
+ export type ListDirResponse = {
249
+ entries?: Array<{
250
+ is_dir?: boolean;
251
+ name?: string;
252
+ size?: number;
253
+ }>;
254
+ error?: string;
255
+ };
256
+
257
+ /**
258
+ * NapcatStatus schema
259
+ */
260
+ export type NapcatStatus = {
261
+ config_dir?: string;
262
+ data_dir?: string;
263
+ is_running?: boolean;
264
+ napcat_port?: number;
265
+ process_id?: number;
266
+ webui_port?: number;
267
+ };
268
+
269
+ /**
270
+ * PasswordRequest schema
271
+ */
272
+ export type PasswordRequest = {
273
+ api_hash?: string;
274
+ api_id?: number;
275
+ password: string;
276
+ session_data?: string;
277
+ };
278
+
279
+ /**
280
+ * PerformUpgradeRequest schema
281
+ */
282
+ export type PerformUpgradeRequest = {
283
+ version?: string;
284
+ };
285
+
286
+ /**
287
+ * PerformUpgradeResponse schema
288
+ */
289
+ export type PerformUpgradeResponse = {
290
+ message?: string;
291
+ status?: string;
292
+ };
293
+
294
+ /**
295
+ * ReadFilesRequest schema
296
+ */
297
+ export type ReadFilesRequest = {
298
+ /**
299
+ * List of file paths or glob patterns
300
+ */
301
+ paths: Array<string>;
302
+ };
303
+
304
+ /**
305
+ * ReadFilesResponse schema
306
+ */
307
+ export type ReadFilesResponse = {
308
+ results?: Array<{
309
+ content?: string;
310
+ error?: string;
311
+ file_path?: string;
312
+ }>;
313
+ summary?: string;
314
+ };
315
+
316
+ /**
317
+ * RunCodeReq schema
318
+ */
319
+ export type RunCodeReq = {
320
+ /**
321
+ * 代码类型: python | browserjs
322
+ */
323
+ codeType: string;
324
+ /**
325
+ * 代码正文
326
+ */
327
+ content: string;
328
+ /**
329
+ * 注入到代码运行环境的上下文变量
330
+ */
331
+ context?: {
332
+ [key: string]: unknown;
333
+ };
334
+ /**
335
+ * 运行超时时间(秒), 如果不填默认为60秒
336
+ */
337
+ timeout?: number;
338
+ };
339
+
340
+ /**
341
+ * SearchFilesRequest schema
342
+ */
343
+ export type SearchFilesRequest = {
344
+ /**
345
+ * File pattern to include e.g. *.go
346
+ */
347
+ glob?: string;
348
+ /**
349
+ * Directory to search in
350
+ */
351
+ path?: string;
352
+ /**
353
+ * Regex pattern to search
354
+ */
355
+ pattern: string;
356
+ };
357
+
358
+ /**
359
+ * SearchFilesResponse schema
360
+ */
361
+ export type SearchFilesResponse = {
362
+ error?: string;
363
+ matches?: Array<string>;
364
+ };
365
+
366
+ /**
367
+ * SendCodeRequest schema
368
+ */
369
+ export type SendCodeRequest = {
370
+ api_hash?: string;
371
+ api_id?: number;
372
+ phone: string;
373
+ session_data?: string;
374
+ };
375
+
376
+ /**
377
+ * SendMessageRequest schema
378
+ */
379
+ export type SendMessageRequest = {
380
+ access_hash?: number;
381
+ api_hash?: string;
382
+ api_id?: number;
383
+ message: string;
384
+ phone?: string;
385
+ session_data: string;
386
+ user_id?: number;
387
+ username?: string;
388
+ };
389
+
390
+ /**
391
+ * SendMessageResponse schema
392
+ */
393
+ export type SendMessageResponse = {
394
+ message?: string;
395
+ session_data?: string;
396
+ success?: boolean;
397
+ };
398
+
399
+ /**
400
+ * SignInRequest schema
401
+ */
402
+ export type SignInRequest = {
403
+ api_hash?: string;
404
+ api_id?: number;
405
+ code: string;
406
+ phone: string;
407
+ phone_code_hash: string;
408
+ session_data?: string;
409
+ };
410
+
411
+ /**
412
+ * StartContainerRequest schema
413
+ */
414
+ export type StartContainerRequest = {
415
+ /**
416
+ * The ID of the instance to start
417
+ */
418
+ worker_id: string;
419
+ };
420
+
421
+ /**
422
+ * StartContainerResponse schema
423
+ */
424
+ export type StartContainerResponse = {
425
+ /**
426
+ * Detailed error message if status is error
427
+ */
428
+ error?: string;
429
+ /**
430
+ * The combined stdout/stderr output from the SSH command
431
+ */
432
+ output?: string;
433
+ /**
434
+ * The status of the operation (success or error)
435
+ */
436
+ status?: string;
437
+ };
438
+
439
+ /**
440
+ * StartNapcatRequest schema
441
+ */
442
+ export type StartNapcatRequest = {
443
+ config_dir?: string;
444
+ data_dir?: string;
445
+ napcat_port?: number;
446
+ qq_account?: string;
447
+ webui_port?: number;
448
+ };
449
+
450
+ /**
451
+ * StopContainerRequest schema
452
+ */
453
+ export type StopContainerRequest = {
454
+ /**
455
+ * The ID of the instance to stop
456
+ */
457
+ worker_id: string;
458
+ };
459
+
460
+ /**
461
+ * StopContainerResponse schema
462
+ */
463
+ export type StopContainerResponse = {
464
+ /**
465
+ * Detailed error message if status is error
466
+ */
467
+ error?: string;
468
+ /**
469
+ * The combined stdout/stderr output from the SSH command
470
+ */
471
+ output?: string;
472
+ /**
473
+ * The status of the operation (success or error)
474
+ */
475
+ status?: string;
476
+ };
477
+
478
+ /**
479
+ * SystemInfoResponse schema
480
+ */
481
+ export type SystemInfoResponse = {
482
+ environment?: string;
483
+ instance_id?: string;
484
+ mode?: string;
485
+ tunnel_enabled?: boolean;
486
+ version?: string;
487
+ };
488
+
489
+ /**
490
+ * UserInfoRequest schema
491
+ */
492
+ export type UserInfoRequest = {
493
+ api_hash?: string;
494
+ api_id?: number;
495
+ session_data: string;
496
+ };
497
+
498
+ /**
499
+ * string schema
500
+ */
501
+ export type String = string;
502
+
503
+ /**
504
+ * unknown-interface schema
505
+ */
506
+ export type UnknownInterface = unknown;
507
+
508
+ export type ActionsStartContainerData = {
509
+ /**
510
+ * Request body for actions.StartContainerRequest
511
+ */
512
+ body: StartContainerRequest;
513
+ headers?: {
514
+ Accept?: string;
515
+ };
516
+ path?: never;
517
+ query?: never;
518
+ url: '/api/actions/start_container';
519
+ };
520
+
521
+ export type ActionsStartContainerErrors = {
522
+ /**
523
+ * Bad Request _(validation or deserialization error)_
524
+ */
525
+ 400: HttpError;
526
+ /**
527
+ * Internal Server Error _(panics)_
528
+ */
529
+ 500: HttpError;
530
+ default: unknown;
531
+ };
532
+
533
+ export type ActionsStartContainerError = ActionsStartContainerErrors[keyof ActionsStartContainerErrors];
534
+
535
+ export type ActionsStartContainerResponses = {
536
+ /**
537
+ * OK
538
+ */
539
+ 200: StartContainerResponse;
540
+ };
541
+
542
+ export type ActionsStartContainerResponse = ActionsStartContainerResponses[keyof ActionsStartContainerResponses];
543
+
544
+ export type ActionsStopContainerData = {
545
+ /**
546
+ * Request body for actions.StopContainerRequest
547
+ */
548
+ body: StopContainerRequest;
549
+ headers?: {
550
+ Accept?: string;
551
+ };
552
+ path?: never;
553
+ query?: never;
554
+ url: '/api/actions/stop_container';
555
+ };
556
+
557
+ export type ActionsStopContainerErrors = {
558
+ /**
559
+ * Bad Request _(validation or deserialization error)_
560
+ */
561
+ 400: HttpError;
562
+ /**
563
+ * Internal Server Error _(panics)_
564
+ */
565
+ 500: HttpError;
566
+ default: unknown;
567
+ };
568
+
569
+ export type ActionsStopContainerError = ActionsStopContainerErrors[keyof ActionsStopContainerErrors];
570
+
571
+ export type ActionsStopContainerResponses = {
572
+ /**
573
+ * OK
574
+ */
575
+ 200: StopContainerResponse;
576
+ };
577
+
578
+ export type ActionsStopContainerResponse = ActionsStopContainerResponses[keyof ActionsStopContainerResponses];
579
+
580
+ export type AgentRunData = {
581
+ /**
582
+ * Request body for agent.AgentRunReq
583
+ */
584
+ body: AgentRunReq;
585
+ headers?: {
586
+ Accept?: string;
587
+ };
588
+ path?: never;
589
+ query?: never;
590
+ url: '/api/agent/run';
591
+ };
592
+
593
+ export type AgentRunErrors = {
594
+ /**
595
+ * Bad Request _(validation or deserialization error)_
596
+ */
597
+ 400: HttpError;
598
+ /**
599
+ * Internal Server Error _(panics)_
600
+ */
601
+ 500: HttpError;
602
+ default: unknown;
603
+ };
604
+
605
+ export type AgentRunError = AgentRunErrors[keyof AgentRunErrors];
606
+
607
+ export type AgentRunResponses = {
608
+ /**
609
+ * OK
610
+ */
611
+ 200: AgentRunResp;
612
+ };
613
+
614
+ export type AgentRunResponse = AgentRunResponses[keyof AgentRunResponses];
615
+
616
+ export type BrowserActionData = {
617
+ /**
618
+ * Request body for browser.BrowserActionReq
619
+ */
620
+ body: BrowserActionReq;
621
+ headers?: {
622
+ Accept?: string;
623
+ };
624
+ path?: never;
625
+ query?: never;
626
+ url: '/api/browser/action';
627
+ };
628
+
629
+ export type BrowserActionErrors = {
630
+ /**
631
+ * Bad Request _(validation or deserialization error)_
632
+ */
633
+ 400: HttpError;
634
+ /**
635
+ * Internal Server Error _(panics)_
636
+ */
637
+ 500: HttpError;
638
+ default: unknown;
639
+ };
640
+
641
+ export type BrowserActionError = BrowserActionErrors[keyof BrowserActionErrors];
642
+
643
+ export type BrowserActionResponses = {
644
+ /**
645
+ * OK
646
+ */
647
+ 200: String;
648
+ };
649
+
650
+ export type BrowserActionResponse = BrowserActionResponses[keyof BrowserActionResponses];
651
+
652
+ export type BrowserOpenData = {
653
+ /**
654
+ * Request body for browser.BrowserOpenReq
655
+ */
656
+ body: BrowserOpenReq;
657
+ headers?: {
658
+ Accept?: string;
659
+ };
660
+ path?: never;
661
+ query?: never;
662
+ url: '/api/browser/open';
663
+ };
664
+
665
+ export type BrowserOpenErrors = {
666
+ /**
667
+ * Bad Request _(validation or deserialization error)_
668
+ */
669
+ 400: HttpError;
670
+ /**
671
+ * Internal Server Error _(panics)_
672
+ */
673
+ 500: HttpError;
674
+ default: unknown;
675
+ };
676
+
677
+ export type BrowserOpenError = BrowserOpenErrors[keyof BrowserOpenErrors];
678
+
679
+ export type BrowserOpenResponses = {
680
+ /**
681
+ * OK
682
+ */
683
+ 200: BrowserOpenResp;
684
+ };
685
+
686
+ export type BrowserOpenResponse = BrowserOpenResponses[keyof BrowserOpenResponses];
687
+
688
+ export type CoddingToolEditFileData = {
689
+ /**
690
+ * Request body for coddingtool.EditFileRequest
691
+ */
692
+ body: EditFileRequest;
693
+ headers?: {
694
+ Accept?: string;
695
+ };
696
+ path?: never;
697
+ query?: never;
698
+ url: '/api/codding_tool/edit_file';
699
+ };
700
+
701
+ export type CoddingToolEditFileErrors = {
702
+ /**
703
+ * Bad Request _(validation or deserialization error)_
704
+ */
705
+ 400: HttpError;
706
+ /**
707
+ * Internal Server Error _(panics)_
708
+ */
709
+ 500: HttpError;
710
+ default: unknown;
711
+ };
712
+
713
+ export type CoddingToolEditFileError = CoddingToolEditFileErrors[keyof CoddingToolEditFileErrors];
714
+
715
+ export type CoddingToolEditFileResponses = {
716
+ /**
717
+ * OK
718
+ */
719
+ 200: EditFileResponse;
720
+ };
721
+
722
+ export type CoddingToolEditFileResponse = CoddingToolEditFileResponses[keyof CoddingToolEditFileResponses];
723
+
724
+ export type CoddingToolListDirData = {
725
+ /**
726
+ * Request body for coddingtool.ListDirRequest
727
+ */
728
+ body: ListDirRequest;
729
+ headers?: {
730
+ Accept?: string;
731
+ };
732
+ path?: never;
733
+ query?: never;
734
+ url: '/api/codding_tool/list_dir';
735
+ };
736
+
737
+ export type CoddingToolListDirErrors = {
738
+ /**
739
+ * Bad Request _(validation or deserialization error)_
740
+ */
741
+ 400: HttpError;
742
+ /**
743
+ * Internal Server Error _(panics)_
744
+ */
745
+ 500: HttpError;
746
+ default: unknown;
747
+ };
748
+
749
+ export type CoddingToolListDirError = CoddingToolListDirErrors[keyof CoddingToolListDirErrors];
750
+
751
+ export type CoddingToolListDirResponses = {
752
+ /**
753
+ * OK
754
+ */
755
+ 200: ListDirResponse;
756
+ };
757
+
758
+ export type CoddingToolListDirResponse = CoddingToolListDirResponses[keyof CoddingToolListDirResponses];
759
+
760
+ export type CoddingToolReadFilesData = {
761
+ /**
762
+ * Request body for coddingtool.ReadFilesRequest
763
+ */
764
+ body: ReadFilesRequest;
765
+ headers?: {
766
+ Accept?: string;
767
+ };
768
+ path?: never;
769
+ query?: never;
770
+ url: '/api/codding_tool/read_files';
771
+ };
772
+
773
+ export type CoddingToolReadFilesErrors = {
774
+ /**
775
+ * Bad Request _(validation or deserialization error)_
776
+ */
777
+ 400: HttpError;
778
+ /**
779
+ * Internal Server Error _(panics)_
780
+ */
781
+ 500: HttpError;
782
+ default: unknown;
783
+ };
784
+
785
+ export type CoddingToolReadFilesError = CoddingToolReadFilesErrors[keyof CoddingToolReadFilesErrors];
786
+
787
+ export type CoddingToolReadFilesResponses = {
788
+ /**
789
+ * OK
790
+ */
791
+ 200: ReadFilesResponse;
792
+ };
793
+
794
+ export type CoddingToolReadFilesResponse = CoddingToolReadFilesResponses[keyof CoddingToolReadFilesResponses];
795
+
796
+ export type CoddingToolSearchFilesData = {
797
+ /**
798
+ * Request body for coddingtool.SearchFilesRequest
799
+ */
800
+ body: SearchFilesRequest;
801
+ headers?: {
802
+ Accept?: string;
803
+ };
804
+ path?: never;
805
+ query?: never;
806
+ url: '/api/codding_tool/search_files';
807
+ };
808
+
809
+ export type CoddingToolSearchFilesErrors = {
810
+ /**
811
+ * Bad Request _(validation or deserialization error)_
812
+ */
813
+ 400: HttpError;
814
+ /**
815
+ * Internal Server Error _(panics)_
816
+ */
817
+ 500: HttpError;
818
+ default: unknown;
819
+ };
820
+
821
+ export type CoddingToolSearchFilesError = CoddingToolSearchFilesErrors[keyof CoddingToolSearchFilesErrors];
822
+
823
+ export type CoddingToolSearchFilesResponses = {
824
+ /**
825
+ * OK
826
+ */
827
+ 200: SearchFilesResponse;
828
+ };
829
+
830
+ export type CoddingToolSearchFilesResponse = CoddingToolSearchFilesResponses[keyof CoddingToolSearchFilesResponses];
831
+
832
+ export type CodeRunData = {
833
+ /**
834
+ * Request body for code.RunCodeReq
835
+ */
836
+ body: RunCodeReq;
837
+ headers?: {
838
+ Accept?: string;
839
+ };
840
+ path?: never;
841
+ query?: never;
842
+ url: '/api/code/run';
843
+ };
844
+
845
+ export type CodeRunErrors = {
846
+ /**
847
+ * Bad Request _(validation or deserialization error)_
848
+ */
849
+ 400: HttpError;
850
+ /**
851
+ * Internal Server Error _(panics)_
852
+ */
853
+ 500: HttpError;
854
+ default: unknown;
855
+ };
856
+
857
+ export type CodeRunError = CodeRunErrors[keyof CodeRunErrors];
858
+
859
+ export type CodeRunResponses = {
860
+ /**
861
+ * OK
862
+ */
863
+ 200: CodeRunResult;
864
+ };
865
+
866
+ export type CodeRunResponse = CodeRunResponses[keyof CodeRunResponses];
867
+
868
+ export type PostApiDbQueryQueryData = {
869
+ body?: never;
870
+ path?: never;
871
+ query?: {
872
+ /**
873
+ * 输出格式: table|full|json|raw
874
+ */
875
+ format?: string;
876
+ };
877
+ url: '/api/db_query/query';
878
+ };
879
+
880
+ export type PostApiDbQueryQueryErrors = {
881
+ /**
882
+ * Bad Request _(validation or deserialization error)_
883
+ */
884
+ 400: HttpError;
885
+ /**
886
+ * Internal Server Error _(panics)_
887
+ */
888
+ 500: HttpError;
889
+ default: unknown;
890
+ };
891
+
892
+ export type PostApiDbQueryQueryError = PostApiDbQueryQueryErrors[keyof PostApiDbQueryQueryErrors];
893
+
894
+ export type PostApiDbQueryQueryResponses = {
895
+ /**
896
+ * OK
897
+ */
898
+ 200: UnknownInterface;
899
+ };
900
+
901
+ export type PostApiDbQueryQueryResponse = PostApiDbQueryQueryResponses[keyof PostApiDbQueryQueryResponses];
902
+
903
+ export type HumanRequestActionData = {
904
+ /**
905
+ * Request body for human.HumanActionReq
906
+ */
907
+ body: HumanActionReq;
908
+ headers?: {
909
+ Accept?: string;
910
+ };
911
+ path?: never;
912
+ query?: never;
913
+ url: '/api/human/action';
914
+ };
915
+
916
+ export type HumanRequestActionErrors = {
917
+ /**
918
+ * Bad Request _(validation or deserialization error)_
919
+ */
920
+ 400: HttpError;
921
+ /**
922
+ * Internal Server Error _(panics)_
923
+ */
924
+ 500: HttpError;
925
+ default: unknown;
926
+ };
927
+
928
+ export type HumanRequestActionError = HumanRequestActionErrors[keyof HumanRequestActionErrors];
929
+
930
+ export type HumanRequestActionResponses = {
931
+ /**
932
+ * OK
933
+ */
934
+ 200: HumanActionResp;
935
+ };
936
+
937
+ export type HumanRequestActionResponse = HumanRequestActionResponses[keyof HumanRequestActionResponses];
938
+
939
+ export type NapcatStartData = {
940
+ /**
941
+ * Request body for napcat.StartNapcatRequest
942
+ */
943
+ body: StartNapcatRequest;
944
+ headers?: {
945
+ Accept?: string;
946
+ };
947
+ path?: never;
948
+ query?: never;
949
+ url: '/api/napcat/start';
950
+ };
951
+
952
+ export type NapcatStartErrors = {
953
+ /**
954
+ * Bad Request _(validation or deserialization error)_
955
+ */
956
+ 400: HttpError;
957
+ /**
958
+ * Internal Server Error _(panics)_
959
+ */
960
+ 500: HttpError;
961
+ default: unknown;
962
+ };
963
+
964
+ export type NapcatStartError = NapcatStartErrors[keyof NapcatStartErrors];
965
+
966
+ export type NapcatStartResponses = {
967
+ /**
968
+ * OK
969
+ */
970
+ 200: NapcatStatus;
971
+ };
972
+
973
+ export type NapcatStartResponse = NapcatStartResponses[keyof NapcatStartResponses];
974
+
975
+ export type NapcatGetStatusData = {
976
+ body?: never;
977
+ headers?: {
978
+ Accept?: string;
979
+ };
980
+ path?: never;
981
+ query?: never;
982
+ url: '/api/napcat/status';
983
+ };
984
+
985
+ export type NapcatGetStatusErrors = {
986
+ /**
987
+ * Bad Request _(validation or deserialization error)_
988
+ */
989
+ 400: HttpError;
990
+ /**
991
+ * Internal Server Error _(panics)_
992
+ */
993
+ 500: HttpError;
994
+ default: unknown;
995
+ };
996
+
997
+ export type NapcatGetStatusError = NapcatGetStatusErrors[keyof NapcatGetStatusErrors];
998
+
999
+ export type NapcatGetStatusResponses = {
1000
+ /**
1001
+ * OK
1002
+ */
1003
+ 200: NapcatStatus;
1004
+ };
1005
+
1006
+ export type NapcatGetStatusResponse = NapcatGetStatusResponses[keyof NapcatGetStatusResponses];
1007
+
1008
+ export type NapcatProxyOneBot11GetData = {
1009
+ body?: never;
1010
+ headers?: {
1011
+ Accept?: string;
1012
+ };
1013
+ path?: never;
1014
+ query?: never;
1015
+ url: '/api/onebot11/*';
1016
+ };
1017
+
1018
+ export type NapcatProxyOneBot11GetErrors = {
1019
+ /**
1020
+ * Bad Request _(validation or deserialization error)_
1021
+ */
1022
+ 400: HttpError;
1023
+ /**
1024
+ * Internal Server Error _(panics)_
1025
+ */
1026
+ 500: HttpError;
1027
+ default: unknown;
1028
+ };
1029
+
1030
+ export type NapcatProxyOneBot11GetError = NapcatProxyOneBot11GetErrors[keyof NapcatProxyOneBot11GetErrors];
1031
+
1032
+ export type NapcatProxyOneBot11GetResponses = {
1033
+ /**
1034
+ * OK
1035
+ */
1036
+ 200: UnknownInterface;
1037
+ };
1038
+
1039
+ export type NapcatProxyOneBot11GetResponse = NapcatProxyOneBot11GetResponses[keyof NapcatProxyOneBot11GetResponses];
1040
+
1041
+ export type NapcatProxyOneBot11PostData = {
1042
+ body?: never;
1043
+ headers?: {
1044
+ Accept?: string;
1045
+ };
1046
+ path?: never;
1047
+ query?: never;
1048
+ url: '/api/onebot11/*';
1049
+ };
1050
+
1051
+ export type NapcatProxyOneBot11PostErrors = {
1052
+ /**
1053
+ * Bad Request _(validation or deserialization error)_
1054
+ */
1055
+ 400: HttpError;
1056
+ /**
1057
+ * Internal Server Error _(panics)_
1058
+ */
1059
+ 500: HttpError;
1060
+ default: unknown;
1061
+ };
1062
+
1063
+ export type NapcatProxyOneBot11PostError = NapcatProxyOneBot11PostErrors[keyof NapcatProxyOneBot11PostErrors];
1064
+
1065
+ export type NapcatProxyOneBot11PostResponses = {
1066
+ /**
1067
+ * OK
1068
+ */
1069
+ 200: UnknownInterface;
1070
+ };
1071
+
1072
+ export type NapcatProxyOneBot11PostResponse = NapcatProxyOneBot11PostResponses[keyof NapcatProxyOneBot11PostResponses];
1073
+
1074
+ export type PostApiSystemCheckUpdateData = {
1075
+ body?: never;
1076
+ headers?: {
1077
+ Accept?: string;
1078
+ };
1079
+ path?: never;
1080
+ query?: never;
1081
+ url: '/api/system/check_update';
1082
+ };
1083
+
1084
+ export type PostApiSystemCheckUpdateErrors = {
1085
+ /**
1086
+ * Bad Request _(validation or deserialization error)_
1087
+ */
1088
+ 400: HttpError;
1089
+ /**
1090
+ * Internal Server Error _(panics)_
1091
+ */
1092
+ 500: HttpError;
1093
+ default: unknown;
1094
+ };
1095
+
1096
+ export type PostApiSystemCheckUpdateError = PostApiSystemCheckUpdateErrors[keyof PostApiSystemCheckUpdateErrors];
1097
+
1098
+ export type PostApiSystemCheckUpdateResponses = {
1099
+ /**
1100
+ * OK
1101
+ */
1102
+ 200: CheckUpdateResponse;
1103
+ };
1104
+
1105
+ export type PostApiSystemCheckUpdateResponse = PostApiSystemCheckUpdateResponses[keyof PostApiSystemCheckUpdateResponses];
1106
+
1107
+ export type GetApiSystemInfoData = {
1108
+ body?: never;
1109
+ headers?: {
1110
+ Accept?: string;
1111
+ };
1112
+ path?: never;
1113
+ query?: never;
1114
+ url: '/api/system/info';
1115
+ };
1116
+
1117
+ export type GetApiSystemInfoErrors = {
1118
+ /**
1119
+ * Bad Request _(validation or deserialization error)_
1120
+ */
1121
+ 400: HttpError;
1122
+ /**
1123
+ * Internal Server Error _(panics)_
1124
+ */
1125
+ 500: HttpError;
1126
+ default: unknown;
1127
+ };
1128
+
1129
+ export type GetApiSystemInfoError = GetApiSystemInfoErrors[keyof GetApiSystemInfoErrors];
1130
+
1131
+ export type GetApiSystemInfoResponses = {
1132
+ /**
1133
+ * OK
1134
+ */
1135
+ 200: SystemInfoResponse;
1136
+ };
1137
+
1138
+ export type GetApiSystemInfoResponse = GetApiSystemInfoResponses[keyof GetApiSystemInfoResponses];
1139
+
1140
+ export type PostApiSystemPerformUpgradeData = {
1141
+ /**
1142
+ * Request body for system.PerformUpgradeRequest
1143
+ */
1144
+ body: PerformUpgradeRequest;
1145
+ headers?: {
1146
+ Accept?: string;
1147
+ };
1148
+ path?: never;
1149
+ query?: never;
1150
+ url: '/api/system/perform_upgrade';
1151
+ };
1152
+
1153
+ export type PostApiSystemPerformUpgradeErrors = {
1154
+ /**
1155
+ * Bad Request _(validation or deserialization error)_
1156
+ */
1157
+ 400: HttpError;
1158
+ /**
1159
+ * Internal Server Error _(panics)_
1160
+ */
1161
+ 500: HttpError;
1162
+ default: unknown;
1163
+ };
1164
+
1165
+ export type PostApiSystemPerformUpgradeError = PostApiSystemPerformUpgradeErrors[keyof PostApiSystemPerformUpgradeErrors];
1166
+
1167
+ export type PostApiSystemPerformUpgradeResponses = {
1168
+ /**
1169
+ * OK
1170
+ */
1171
+ 200: PerformUpgradeResponse;
1172
+ };
1173
+
1174
+ export type PostApiSystemPerformUpgradeResponse = PostApiSystemPerformUpgradeResponses[keyof PostApiSystemPerformUpgradeResponses];
1175
+
1176
+ export type PostApiV1TelegramAuthPasswordData = {
1177
+ /**
1178
+ * Request body for telegram.PasswordRequest
1179
+ */
1180
+ body: PasswordRequest;
1181
+ headers?: {
1182
+ Accept?: string;
1183
+ };
1184
+ path?: never;
1185
+ query?: never;
1186
+ url: '/api/v1/telegram/auth/password';
1187
+ };
1188
+
1189
+ export type PostApiV1TelegramAuthPasswordErrors = {
1190
+ /**
1191
+ * Bad Request _(validation or deserialization error)_
1192
+ */
1193
+ 400: HttpError;
1194
+ /**
1195
+ * Internal Server Error _(panics)_
1196
+ */
1197
+ 500: HttpError;
1198
+ default: unknown;
1199
+ };
1200
+
1201
+ export type PostApiV1TelegramAuthPasswordError = PostApiV1TelegramAuthPasswordErrors[keyof PostApiV1TelegramAuthPasswordErrors];
1202
+
1203
+ export type PostApiV1TelegramAuthPasswordResponses = {
1204
+ /**
1205
+ * OK
1206
+ */
1207
+ 200: AuthResponse;
1208
+ };
1209
+
1210
+ export type PostApiV1TelegramAuthPasswordResponse = PostApiV1TelegramAuthPasswordResponses[keyof PostApiV1TelegramAuthPasswordResponses];
1211
+
1212
+ export type PostApiV1TelegramAuthSendCodeData = {
1213
+ /**
1214
+ * Request body for telegram.SendCodeRequest
1215
+ */
1216
+ body: SendCodeRequest;
1217
+ headers?: {
1218
+ Accept?: string;
1219
+ };
1220
+ path?: never;
1221
+ query?: never;
1222
+ url: '/api/v1/telegram/auth/send-code';
1223
+ };
1224
+
1225
+ export type PostApiV1TelegramAuthSendCodeErrors = {
1226
+ /**
1227
+ * Bad Request _(validation or deserialization error)_
1228
+ */
1229
+ 400: HttpError;
1230
+ /**
1231
+ * Internal Server Error _(panics)_
1232
+ */
1233
+ 500: HttpError;
1234
+ default: unknown;
1235
+ };
1236
+
1237
+ export type PostApiV1TelegramAuthSendCodeError = PostApiV1TelegramAuthSendCodeErrors[keyof PostApiV1TelegramAuthSendCodeErrors];
1238
+
1239
+ export type PostApiV1TelegramAuthSendCodeResponses = {
1240
+ /**
1241
+ * OK
1242
+ */
1243
+ 200: AuthResponse;
1244
+ };
1245
+
1246
+ export type PostApiV1TelegramAuthSendCodeResponse = PostApiV1TelegramAuthSendCodeResponses[keyof PostApiV1TelegramAuthSendCodeResponses];
1247
+
1248
+ export type PostApiV1TelegramAuthSignInData = {
1249
+ /**
1250
+ * Request body for telegram.SignInRequest
1251
+ */
1252
+ body: SignInRequest;
1253
+ headers?: {
1254
+ Accept?: string;
1255
+ };
1256
+ path?: never;
1257
+ query?: never;
1258
+ url: '/api/v1/telegram/auth/sign-in';
1259
+ };
1260
+
1261
+ export type PostApiV1TelegramAuthSignInErrors = {
1262
+ /**
1263
+ * Bad Request _(validation or deserialization error)_
1264
+ */
1265
+ 400: HttpError;
1266
+ /**
1267
+ * Internal Server Error _(panics)_
1268
+ */
1269
+ 500: HttpError;
1270
+ default: unknown;
1271
+ };
1272
+
1273
+ export type PostApiV1TelegramAuthSignInError = PostApiV1TelegramAuthSignInErrors[keyof PostApiV1TelegramAuthSignInErrors];
1274
+
1275
+ export type PostApiV1TelegramAuthSignInResponses = {
1276
+ /**
1277
+ * OK
1278
+ */
1279
+ 200: AuthResponse;
1280
+ };
1281
+
1282
+ export type PostApiV1TelegramAuthSignInResponse = PostApiV1TelegramAuthSignInResponses[keyof PostApiV1TelegramAuthSignInResponses];
1283
+
1284
+ export type PostApiV1TelegramAuthUserInfoData = {
1285
+ /**
1286
+ * Request body for telegram.UserInfoRequest
1287
+ */
1288
+ body: UserInfoRequest;
1289
+ headers?: {
1290
+ Accept?: string;
1291
+ };
1292
+ path?: never;
1293
+ query?: never;
1294
+ url: '/api/v1/telegram/auth/user-info';
1295
+ };
1296
+
1297
+ export type PostApiV1TelegramAuthUserInfoErrors = {
1298
+ /**
1299
+ * Bad Request _(validation or deserialization error)_
1300
+ */
1301
+ 400: HttpError;
1302
+ /**
1303
+ * Internal Server Error _(panics)_
1304
+ */
1305
+ 500: HttpError;
1306
+ default: unknown;
1307
+ };
1308
+
1309
+ export type PostApiV1TelegramAuthUserInfoError = PostApiV1TelegramAuthUserInfoErrors[keyof PostApiV1TelegramAuthUserInfoErrors];
1310
+
1311
+ export type PostApiV1TelegramAuthUserInfoResponses = {
1312
+ /**
1313
+ * OK
1314
+ */
1315
+ 200: AuthResponse;
1316
+ };
1317
+
1318
+ export type PostApiV1TelegramAuthUserInfoResponse = PostApiV1TelegramAuthUserInfoResponses[keyof PostApiV1TelegramAuthUserInfoResponses];
1319
+
1320
+ export type PostApiV1TelegramContactAddData = {
1321
+ /**
1322
+ * Request body for telegram.AddContactRequest
1323
+ */
1324
+ body: AddContactRequest;
1325
+ headers?: {
1326
+ Accept?: string;
1327
+ };
1328
+ path?: never;
1329
+ query?: never;
1330
+ url: '/api/v1/telegram/contact/add';
1331
+ };
1332
+
1333
+ export type PostApiV1TelegramContactAddErrors = {
1334
+ /**
1335
+ * Bad Request _(validation or deserialization error)_
1336
+ */
1337
+ 400: HttpError;
1338
+ /**
1339
+ * Internal Server Error _(panics)_
1340
+ */
1341
+ 500: HttpError;
1342
+ default: unknown;
1343
+ };
1344
+
1345
+ export type PostApiV1TelegramContactAddError = PostApiV1TelegramContactAddErrors[keyof PostApiV1TelegramContactAddErrors];
1346
+
1347
+ export type PostApiV1TelegramContactAddResponses = {
1348
+ /**
1349
+ * OK
1350
+ */
1351
+ 200: AddContactResponse;
1352
+ };
1353
+
1354
+ export type PostApiV1TelegramContactAddResponse = PostApiV1TelegramContactAddResponses[keyof PostApiV1TelegramContactAddResponses];
1355
+
1356
+ export type PostApiV1TelegramMessageSendData = {
1357
+ /**
1358
+ * Request body for telegram.SendMessageRequest
1359
+ */
1360
+ body: SendMessageRequest;
1361
+ headers?: {
1362
+ Accept?: string;
1363
+ };
1364
+ path?: never;
1365
+ query?: never;
1366
+ url: '/api/v1/telegram/message/send';
1367
+ };
1368
+
1369
+ export type PostApiV1TelegramMessageSendErrors = {
1370
+ /**
1371
+ * Bad Request _(validation or deserialization error)_
1372
+ */
1373
+ 400: HttpError;
1374
+ /**
1375
+ * Internal Server Error _(panics)_
1376
+ */
1377
+ 500: HttpError;
1378
+ default: unknown;
1379
+ };
1380
+
1381
+ export type PostApiV1TelegramMessageSendError = PostApiV1TelegramMessageSendErrors[keyof PostApiV1TelegramMessageSendErrors];
1382
+
1383
+ export type PostApiV1TelegramMessageSendResponses = {
1384
+ /**
1385
+ * OK
1386
+ */
1387
+ 200: SendMessageResponse;
1388
+ };
1389
+
1390
+ export type PostApiV1TelegramMessageSendResponse = PostApiV1TelegramMessageSendResponses[keyof PostApiV1TelegramMessageSendResponses];
1391
+
1392
+ export type NapcatProxyWebUigetData = {
1393
+ body?: never;
1394
+ headers?: {
1395
+ Accept?: string;
1396
+ };
1397
+ path?: never;
1398
+ query?: never;
1399
+ url: '/api/webui/*';
1400
+ };
1401
+
1402
+ export type NapcatProxyWebUigetErrors = {
1403
+ /**
1404
+ * Bad Request _(validation or deserialization error)_
1405
+ */
1406
+ 400: HttpError;
1407
+ /**
1408
+ * Internal Server Error _(panics)_
1409
+ */
1410
+ 500: HttpError;
1411
+ default: unknown;
1412
+ };
1413
+
1414
+ export type NapcatProxyWebUigetError = NapcatProxyWebUigetErrors[keyof NapcatProxyWebUigetErrors];
1415
+
1416
+ export type NapcatProxyWebUigetResponses = {
1417
+ /**
1418
+ * OK
1419
+ */
1420
+ 200: UnknownInterface;
1421
+ };
1422
+
1423
+ export type NapcatProxyWebUigetResponse = NapcatProxyWebUigetResponses[keyof NapcatProxyWebUigetResponses];
1424
+
1425
+ export type NapcatProxyWebUipostData = {
1426
+ body?: never;
1427
+ headers?: {
1428
+ Accept?: string;
1429
+ };
1430
+ path?: never;
1431
+ query?: never;
1432
+ url: '/api/webui/*';
1433
+ };
1434
+
1435
+ export type NapcatProxyWebUipostErrors = {
1436
+ /**
1437
+ * Bad Request _(validation or deserialization error)_
1438
+ */
1439
+ 400: HttpError;
1440
+ /**
1441
+ * Internal Server Error _(panics)_
1442
+ */
1443
+ 500: HttpError;
1444
+ default: unknown;
1445
+ };
1446
+
1447
+ export type NapcatProxyWebUipostError = NapcatProxyWebUipostErrors[keyof NapcatProxyWebUipostErrors];
1448
+
1449
+ export type NapcatProxyWebUipostResponses = {
1450
+ /**
1451
+ * OK
1452
+ */
1453
+ 200: UnknownInterface;
1454
+ };
1455
+
1456
+ export type NapcatProxyWebUipostResponse = NapcatProxyWebUipostResponses[keyof NapcatProxyWebUipostResponses];