mtmsdk 0.0.12 → 0.0.14

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 (413) hide show
  1. package/dist/components/MustAdmin.d.ts +14 -0
  2. package/dist/components/MustAdmin.d.ts.map +1 -0
  3. package/dist/components/MustAdmin.js +37 -0
  4. package/dist/components/MustAdmin.js.map +1 -0
  5. package/dist/gomtmapi/@tanstack/react-query.gen.d.ts +137 -2073
  6. package/dist/gomtmapi/@tanstack/react-query.gen.d.ts.map +1 -1
  7. package/dist/gomtmapi/@tanstack/react-query.gen.js +118 -2085
  8. package/dist/gomtmapi/@tanstack/react-query.gen.js.map +1 -1
  9. package/dist/gomtmapi/client/client.gen.d.ts +3 -0
  10. package/dist/gomtmapi/client/client.gen.d.ts.map +1 -0
  11. package/dist/{gomtmapi_v2/client/client.js → gomtmapi/client/client.gen.js} +82 -23
  12. package/dist/gomtmapi/client/client.gen.js.map +1 -0
  13. package/dist/gomtmapi/client/index.d.ts +7 -7
  14. package/dist/gomtmapi/client/index.d.ts.map +1 -1
  15. package/dist/gomtmapi/client/index.js +5 -4
  16. package/dist/gomtmapi/client/index.js.map +1 -1
  17. package/dist/gomtmapi/client/{types.d.ts → types.gen.d.ts} +19 -14
  18. package/dist/gomtmapi/client/types.gen.d.ts.map +1 -0
  19. package/dist/gomtmapi/client/types.gen.js +3 -0
  20. package/dist/gomtmapi/client/types.gen.js.map +1 -0
  21. package/dist/gomtmapi/client/{utils.d.ts → utils.gen.d.ts} +9 -21
  22. package/dist/gomtmapi/client/utils.gen.d.ts.map +1 -0
  23. package/dist/{gomtmapi_v2/client/utils.js → gomtmapi/client/utils.gen.js} +56 -110
  24. package/dist/gomtmapi/client/utils.gen.js.map +1 -0
  25. package/dist/gomtmapi/client.gen.d.ts +3 -3
  26. package/dist/gomtmapi/client.gen.d.ts.map +1 -1
  27. package/dist/gomtmapi/client.gen.js.map +1 -1
  28. package/dist/gomtmapi/core/{auth.d.ts → auth.gen.d.ts} +1 -1
  29. package/dist/gomtmapi/core/auth.gen.d.ts.map +1 -0
  30. package/dist/gomtmapi/core/{auth.js → auth.gen.js} +2 -1
  31. package/dist/gomtmapi/core/auth.gen.js.map +1 -0
  32. package/dist/{mtgate_api/core/bodySerializer.d.ts → gomtmapi/core/bodySerializer.gen.d.ts} +2 -2
  33. package/dist/gomtmapi/core/bodySerializer.gen.d.ts.map +1 -0
  34. package/dist/{mtgate_api/core/bodySerializer.js → gomtmapi/core/bodySerializer.gen.js} +5 -1
  35. package/dist/gomtmapi/core/bodySerializer.gen.js.map +1 -0
  36. package/dist/{mtgate_api/core/params.d.ts → gomtmapi/core/params.gen.d.ts} +11 -1
  37. package/dist/gomtmapi/core/params.gen.d.ts.map +1 -0
  38. package/dist/gomtmapi/core/{params.js → params.gen.js} +2 -1
  39. package/dist/gomtmapi/core/params.gen.js.map +1 -0
  40. package/dist/{mtgate_api/core/pathSerializer.d.ts → gomtmapi/core/pathSerializer.gen.d.ts} +1 -1
  41. package/dist/gomtmapi/core/pathSerializer.gen.d.ts.map +1 -0
  42. package/dist/gomtmapi/core/{pathSerializer.js → pathSerializer.gen.js} +2 -1
  43. package/dist/gomtmapi/core/pathSerializer.gen.js.map +1 -0
  44. package/dist/gomtmapi/core/serverSentEvents.gen.d.ts +72 -0
  45. package/dist/gomtmapi/core/serverSentEvents.gen.d.ts.map +1 -0
  46. package/dist/gomtmapi/core/serverSentEvents.gen.js +136 -0
  47. package/dist/gomtmapi/core/serverSentEvents.gen.js.map +1 -0
  48. package/dist/{mtgate_api/core/types.d.ts → gomtmapi/core/types.gen.d.ts} +20 -15
  49. package/dist/gomtmapi/core/types.gen.d.ts.map +1 -0
  50. package/dist/gomtmapi/core/types.gen.js +3 -0
  51. package/dist/gomtmapi/core/types.gen.js.map +1 -0
  52. package/dist/gomtmapi/core/utils.gen.d.ts +20 -0
  53. package/dist/gomtmapi/core/utils.gen.d.ts.map +1 -0
  54. package/dist/gomtmapi/core/utils.gen.js +88 -0
  55. package/dist/gomtmapi/core/utils.gen.js.map +1 -0
  56. package/dist/gomtmapi/index.d.ts.map +1 -1
  57. package/dist/gomtmapi/index.js.map +1 -1
  58. package/dist/gomtmapi/schemas.gen.d.ts +806 -3746
  59. package/dist/gomtmapi/schemas.gen.d.ts.map +1 -1
  60. package/dist/gomtmapi/schemas.gen.js +780 -3827
  61. package/dist/gomtmapi/schemas.gen.js.map +1 -1
  62. package/dist/gomtmapi/sdk.gen.d.ts +3 -306
  63. package/dist/gomtmapi/sdk.gen.d.ts.map +1 -1
  64. package/dist/gomtmapi/sdk.gen.js +53 -1338
  65. package/dist/gomtmapi/sdk.gen.js.map +1 -1
  66. package/dist/gomtmapi/types.gen.d.ts +1186 -5364
  67. package/dist/gomtmapi/types.gen.d.ts.map +1 -1
  68. package/dist/gomtmapi/types.gen.js +8 -45
  69. package/dist/gomtmapi/types.gen.js.map +1 -1
  70. package/dist/gomtmapi/zod.gen.d.ts +1371 -4628
  71. package/dist/gomtmapi/zod.gen.d.ts.map +1 -1
  72. package/dist/gomtmapi/zod.gen.js +565 -2224
  73. package/dist/gomtmapi/zod.gen.js.map +1 -1
  74. package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts +286 -823
  75. package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts.map +1 -1
  76. package/dist/gomtmapi_v2/@tanstack/react-query.gen.js +226 -787
  77. package/dist/gomtmapi_v2/@tanstack/react-query.gen.js.map +1 -1
  78. package/dist/gomtmapi_v2/client/client.gen.d.ts +3 -0
  79. package/dist/gomtmapi_v2/client/client.gen.d.ts.map +1 -0
  80. package/dist/{mtgate_api/client/client.js → gomtmapi_v2/client/client.gen.js} +82 -23
  81. package/dist/gomtmapi_v2/client/client.gen.js.map +1 -0
  82. package/dist/gomtmapi_v2/client/index.d.ts +7 -7
  83. package/dist/gomtmapi_v2/client/index.d.ts.map +1 -1
  84. package/dist/gomtmapi_v2/client/index.js +5 -4
  85. package/dist/gomtmapi_v2/client/index.js.map +1 -1
  86. package/dist/{mtgate_api/client/types.d.ts → gomtmapi_v2/client/types.gen.d.ts} +19 -14
  87. package/dist/gomtmapi_v2/client/types.gen.d.ts.map +1 -0
  88. package/dist/gomtmapi_v2/client/types.gen.js +3 -0
  89. package/dist/gomtmapi_v2/client/types.gen.js.map +1 -0
  90. package/dist/{mtgate_api/client/utils.d.ts → gomtmapi_v2/client/utils.gen.d.ts} +9 -21
  91. package/dist/gomtmapi_v2/client/utils.gen.d.ts.map +1 -0
  92. package/dist/{gomtmapi/client/utils.js → gomtmapi_v2/client/utils.gen.js} +56 -110
  93. package/dist/gomtmapi_v2/client/utils.gen.js.map +1 -0
  94. package/dist/gomtmapi_v2/client.gen.d.ts +3 -3
  95. package/dist/gomtmapi_v2/client.gen.d.ts.map +1 -1
  96. package/dist/gomtmapi_v2/client.gen.js.map +1 -1
  97. package/dist/{mtmai_api/core/auth.d.ts → gomtmapi_v2/core/auth.gen.d.ts} +1 -1
  98. package/dist/gomtmapi_v2/core/auth.gen.d.ts.map +1 -0
  99. package/dist/{mtmai_api/core/auth.js → gomtmapi_v2/core/auth.gen.js} +2 -1
  100. package/dist/gomtmapi_v2/core/auth.gen.js.map +1 -0
  101. package/dist/gomtmapi_v2/core/{bodySerializer.d.ts → bodySerializer.gen.d.ts} +2 -2
  102. package/dist/gomtmapi_v2/core/bodySerializer.gen.d.ts.map +1 -0
  103. package/dist/{gomtmapi/core/bodySerializer.js → gomtmapi_v2/core/bodySerializer.gen.js} +5 -1
  104. package/dist/gomtmapi_v2/core/bodySerializer.gen.js.map +1 -0
  105. package/dist/gomtmapi_v2/core/{params.d.ts → params.gen.d.ts} +11 -1
  106. package/dist/gomtmapi_v2/core/params.gen.d.ts.map +1 -0
  107. package/dist/{mtgate_api/core/params.js → gomtmapi_v2/core/params.gen.js} +2 -1
  108. package/dist/gomtmapi_v2/core/params.gen.js.map +1 -0
  109. package/dist/{mtmai_api/core/pathSerializer.d.ts → gomtmapi_v2/core/pathSerializer.gen.d.ts} +1 -1
  110. package/dist/gomtmapi_v2/core/pathSerializer.gen.d.ts.map +1 -0
  111. package/dist/{mtgate_api/core/pathSerializer.js → gomtmapi_v2/core/pathSerializer.gen.js} +2 -1
  112. package/dist/gomtmapi_v2/core/pathSerializer.gen.js.map +1 -0
  113. package/dist/gomtmapi_v2/core/serverSentEvents.gen.d.ts +72 -0
  114. package/dist/gomtmapi_v2/core/serverSentEvents.gen.d.ts.map +1 -0
  115. package/dist/gomtmapi_v2/core/serverSentEvents.gen.js +136 -0
  116. package/dist/gomtmapi_v2/core/serverSentEvents.gen.js.map +1 -0
  117. package/dist/{mtmai_api/core/types.d.ts → gomtmapi_v2/core/types.gen.d.ts} +20 -15
  118. package/dist/gomtmapi_v2/core/types.gen.d.ts.map +1 -0
  119. package/dist/gomtmapi_v2/core/types.gen.js +3 -0
  120. package/dist/gomtmapi_v2/core/types.gen.js.map +1 -0
  121. package/dist/gomtmapi_v2/core/utils.gen.d.ts +20 -0
  122. package/dist/gomtmapi_v2/core/utils.gen.d.ts.map +1 -0
  123. package/dist/gomtmapi_v2/core/utils.gen.js +88 -0
  124. package/dist/gomtmapi_v2/core/utils.gen.js.map +1 -0
  125. package/dist/gomtmapi_v2/index.d.ts +1 -1
  126. package/dist/gomtmapi_v2/index.d.ts.map +1 -1
  127. package/dist/gomtmapi_v2/index.js +0 -1
  128. package/dist/gomtmapi_v2/index.js.map +1 -1
  129. package/dist/gomtmapi_v2/schemas.gen.d.ts +317 -222
  130. package/dist/gomtmapi_v2/schemas.gen.d.ts.map +1 -1
  131. package/dist/gomtmapi_v2/schemas.gen.js +317 -222
  132. package/dist/gomtmapi_v2/schemas.gen.js.map +1 -1
  133. package/dist/gomtmapi_v2/sdk.gen.d.ts +142 -156
  134. package/dist/gomtmapi_v2/sdk.gen.d.ts.map +1 -1
  135. package/dist/gomtmapi_v2/sdk.gen.js +210 -233
  136. package/dist/gomtmapi_v2/sdk.gen.js.map +1 -1
  137. package/dist/gomtmapi_v2/types.gen.d.ts +188 -195
  138. package/dist/gomtmapi_v2/types.gen.d.ts.map +1 -1
  139. package/dist/gomtmapi_v2/zod.gen.d.ts +474 -428
  140. package/dist/gomtmapi_v2/zod.gen.d.ts.map +1 -1
  141. package/dist/gomtmapi_v2/zod.gen.js +892 -1054
  142. package/dist/gomtmapi_v2/zod.gen.js.map +1 -1
  143. package/dist/lib/adk-utils.d.ts +0 -5
  144. package/dist/lib/adk-utils.d.ts.map +1 -1
  145. package/dist/lib/adk-utils.js +31 -32
  146. package/dist/lib/adk-utils.js.map +1 -1
  147. package/dist/lib/auth-client.d.ts +5965 -0
  148. package/dist/lib/auth-client.d.ts.map +1 -0
  149. package/dist/lib/auth-client.js +29 -0
  150. package/dist/lib/auth-client.js.map +1 -0
  151. package/dist/lib/get-query-client.d.ts.map +1 -1
  152. package/dist/lib/get-query-client.js +1 -21
  153. package/dist/lib/get-query-client.js.map +1 -1
  154. package/dist/lib/mtgate_client_ss.d.ts +10 -0
  155. package/dist/lib/mtgate_client_ss.d.ts.map +1 -0
  156. package/dist/lib/mtgate_client_ss.js +24 -0
  157. package/dist/lib/mtgate_client_ss.js.map +1 -0
  158. package/dist/mtgate_api/@tanstack/react-query.gen.d.ts +367 -2123
  159. package/dist/mtgate_api/@tanstack/react-query.gen.d.ts.map +1 -1
  160. package/dist/mtgate_api/@tanstack/react-query.gen.js +142 -1018
  161. package/dist/mtgate_api/@tanstack/react-query.gen.js.map +1 -1
  162. package/dist/mtgate_api/client/client.gen.d.ts +3 -0
  163. package/dist/mtgate_api/client/client.gen.d.ts.map +1 -0
  164. package/dist/{gomtmapi/client/client.js → mtgate_api/client/client.gen.js} +82 -23
  165. package/dist/mtgate_api/client/client.gen.js.map +1 -0
  166. package/dist/mtgate_api/client/index.d.ts +7 -7
  167. package/dist/mtgate_api/client/index.d.ts.map +1 -1
  168. package/dist/mtgate_api/client/index.js +5 -4
  169. package/dist/mtgate_api/client/index.js.map +1 -1
  170. package/dist/{gomtmapi_v2/client/types.d.ts → mtgate_api/client/types.gen.d.ts} +19 -14
  171. package/dist/mtgate_api/client/types.gen.d.ts.map +1 -0
  172. package/dist/mtgate_api/client/types.gen.js +3 -0
  173. package/dist/mtgate_api/client/types.gen.js.map +1 -0
  174. package/dist/{mtmai_api/client/utils.d.ts → mtgate_api/client/utils.gen.d.ts} +9 -21
  175. package/dist/mtgate_api/client/utils.gen.d.ts.map +1 -0
  176. package/dist/mtgate_api/client/{utils.js → utils.gen.js} +56 -110
  177. package/dist/mtgate_api/client/utils.gen.js.map +1 -0
  178. package/dist/mtgate_api/client.gen.d.ts +3 -3
  179. package/dist/mtgate_api/client.gen.d.ts.map +1 -1
  180. package/dist/mtgate_api/client.gen.js.map +1 -1
  181. package/dist/{gomtmapi_v2/core/auth.d.ts → mtgate_api/core/auth.gen.d.ts} +1 -1
  182. package/dist/mtgate_api/core/auth.gen.d.ts.map +1 -0
  183. package/dist/mtgate_api/core/{auth.js → auth.gen.js} +2 -1
  184. package/dist/mtgate_api/core/auth.gen.js.map +1 -0
  185. package/dist/{gomtmapi/core/bodySerializer.d.ts → mtgate_api/core/bodySerializer.gen.d.ts} +2 -2
  186. package/dist/mtgate_api/core/bodySerializer.gen.d.ts.map +1 -0
  187. package/dist/{mtmai_api/core/bodySerializer.js → mtgate_api/core/bodySerializer.gen.js} +5 -1
  188. package/dist/mtgate_api/core/bodySerializer.gen.js.map +1 -0
  189. package/dist/{mtmai_api/core/params.d.ts → mtgate_api/core/params.gen.d.ts} +11 -1
  190. package/dist/mtgate_api/core/params.gen.d.ts.map +1 -0
  191. package/dist/{gomtmapi_v2/core/params.js → mtgate_api/core/params.gen.js} +2 -1
  192. package/dist/mtgate_api/core/params.gen.js.map +1 -0
  193. package/dist/{gomtmapi_v2/core/pathSerializer.d.ts → mtgate_api/core/pathSerializer.gen.d.ts} +1 -1
  194. package/dist/mtgate_api/core/pathSerializer.gen.d.ts.map +1 -0
  195. package/dist/{gomtmapi_v2/core/pathSerializer.js → mtgate_api/core/pathSerializer.gen.js} +2 -1
  196. package/dist/mtgate_api/core/pathSerializer.gen.js.map +1 -0
  197. package/dist/mtgate_api/core/serverSentEvents.gen.d.ts +72 -0
  198. package/dist/mtgate_api/core/serverSentEvents.gen.d.ts.map +1 -0
  199. package/dist/mtgate_api/core/serverSentEvents.gen.js +136 -0
  200. package/dist/mtgate_api/core/serverSentEvents.gen.js.map +1 -0
  201. package/dist/{gomtmapi/core/types.d.ts → mtgate_api/core/types.gen.d.ts} +20 -15
  202. package/dist/mtgate_api/core/types.gen.d.ts.map +1 -0
  203. package/dist/mtgate_api/core/types.gen.js +3 -0
  204. package/dist/mtgate_api/core/types.gen.js.map +1 -0
  205. package/dist/mtgate_api/core/utils.gen.d.ts +20 -0
  206. package/dist/mtgate_api/core/utils.gen.d.ts.map +1 -0
  207. package/dist/mtgate_api/core/utils.gen.js +88 -0
  208. package/dist/mtgate_api/core/utils.gen.js.map +1 -0
  209. package/dist/mtgate_api/index.d.ts.map +1 -1
  210. package/dist/mtgate_api/index.js.map +1 -1
  211. package/dist/mtgate_api/schemas.gen.d.ts +206 -289
  212. package/dist/mtgate_api/schemas.gen.d.ts.map +1 -1
  213. package/dist/mtgate_api/schemas.gen.js +230 -307
  214. package/dist/mtgate_api/schemas.gen.js.map +1 -1
  215. package/dist/mtgate_api/sdk.gen.d.ts +20 -43
  216. package/dist/mtgate_api/sdk.gen.d.ts.map +1 -1
  217. package/dist/mtgate_api/sdk.gen.js +88 -234
  218. package/dist/mtgate_api/sdk.gen.js.map +1 -1
  219. package/dist/mtgate_api/types.gen.d.ts +383 -862
  220. package/dist/mtgate_api/types.gen.d.ts.map +1 -1
  221. package/dist/mtgate_api/types.gen.js.map +1 -1
  222. package/dist/mtgate_api/zod.gen.d.ts +607 -978
  223. package/dist/mtgate_api/zod.gen.d.ts.map +1 -1
  224. package/dist/mtgate_api/zod.gen.js +718 -1215
  225. package/dist/mtgate_api/zod.gen.js.map +1 -1
  226. package/dist/mtmai_api/@tanstack/react-query.gen.d.ts +115 -475
  227. package/dist/mtmai_api/@tanstack/react-query.gen.d.ts.map +1 -1
  228. package/dist/mtmai_api/@tanstack/react-query.gen.js +55 -423
  229. package/dist/mtmai_api/@tanstack/react-query.gen.js.map +1 -1
  230. package/dist/mtmai_api/client/client.gen.d.ts +3 -0
  231. package/dist/mtmai_api/client/client.gen.d.ts.map +1 -0
  232. package/dist/mtmai_api/client/{client.js → client.gen.js} +82 -23
  233. package/dist/mtmai_api/client/client.gen.js.map +1 -0
  234. package/dist/mtmai_api/client/index.d.ts +7 -7
  235. package/dist/mtmai_api/client/index.d.ts.map +1 -1
  236. package/dist/mtmai_api/client/index.js +5 -4
  237. package/dist/mtmai_api/client/index.js.map +1 -1
  238. package/dist/mtmai_api/client/{types.d.ts → types.gen.d.ts} +19 -14
  239. package/dist/mtmai_api/client/types.gen.d.ts.map +1 -0
  240. package/dist/mtmai_api/client/types.gen.js +3 -0
  241. package/dist/mtmai_api/client/types.gen.js.map +1 -0
  242. package/dist/{gomtmapi_v2/client/utils.d.ts → mtmai_api/client/utils.gen.d.ts} +9 -21
  243. package/dist/mtmai_api/client/utils.gen.d.ts.map +1 -0
  244. package/dist/mtmai_api/client/{utils.js → utils.gen.js} +56 -110
  245. package/dist/mtmai_api/client/utils.gen.js.map +1 -0
  246. package/dist/mtmai_api/client.gen.d.ts +3 -3
  247. package/dist/mtmai_api/client.gen.d.ts.map +1 -1
  248. package/dist/mtmai_api/client.gen.js.map +1 -1
  249. package/dist/{mtgate_api/core/auth.d.ts → mtmai_api/core/auth.gen.d.ts} +1 -1
  250. package/dist/mtmai_api/core/auth.gen.d.ts.map +1 -0
  251. package/dist/{gomtmapi_v2/core/auth.js → mtmai_api/core/auth.gen.js} +2 -1
  252. package/dist/mtmai_api/core/auth.gen.js.map +1 -0
  253. package/dist/mtmai_api/core/{bodySerializer.d.ts → bodySerializer.gen.d.ts} +2 -2
  254. package/dist/mtmai_api/core/bodySerializer.gen.d.ts.map +1 -0
  255. package/dist/{gomtmapi_v2/core/bodySerializer.js → mtmai_api/core/bodySerializer.gen.js} +5 -1
  256. package/dist/mtmai_api/core/bodySerializer.gen.js.map +1 -0
  257. package/dist/{gomtmapi/core/params.d.ts → mtmai_api/core/params.gen.d.ts} +11 -1
  258. package/dist/mtmai_api/core/params.gen.d.ts.map +1 -0
  259. package/dist/mtmai_api/core/{params.js → params.gen.js} +2 -1
  260. package/dist/mtmai_api/core/params.gen.js.map +1 -0
  261. package/dist/{gomtmapi/core/pathSerializer.d.ts → mtmai_api/core/pathSerializer.gen.d.ts} +1 -1
  262. package/dist/mtmai_api/core/pathSerializer.gen.d.ts.map +1 -0
  263. package/dist/mtmai_api/core/{pathSerializer.js → pathSerializer.gen.js} +2 -1
  264. package/dist/mtmai_api/core/pathSerializer.gen.js.map +1 -0
  265. package/dist/mtmai_api/core/serverSentEvents.gen.d.ts +72 -0
  266. package/dist/mtmai_api/core/serverSentEvents.gen.d.ts.map +1 -0
  267. package/dist/mtmai_api/core/serverSentEvents.gen.js +136 -0
  268. package/dist/mtmai_api/core/serverSentEvents.gen.js.map +1 -0
  269. package/dist/{gomtmapi_v2/core/types.d.ts → mtmai_api/core/types.gen.d.ts} +20 -15
  270. package/dist/mtmai_api/core/types.gen.d.ts.map +1 -0
  271. package/dist/mtmai_api/core/types.gen.js +3 -0
  272. package/dist/mtmai_api/core/types.gen.js.map +1 -0
  273. package/dist/mtmai_api/core/utils.gen.d.ts +20 -0
  274. package/dist/mtmai_api/core/utils.gen.d.ts.map +1 -0
  275. package/dist/mtmai_api/core/utils.gen.js +88 -0
  276. package/dist/mtmai_api/core/utils.gen.js.map +1 -0
  277. package/dist/mtmai_api/index.d.ts.map +1 -1
  278. package/dist/mtmai_api/index.js.map +1 -1
  279. package/dist/mtmai_api/schemas.gen.d.ts +447 -90
  280. package/dist/mtmai_api/schemas.gen.d.ts.map +1 -1
  281. package/dist/mtmai_api/schemas.gen.js +561 -108
  282. package/dist/mtmai_api/schemas.gen.js.map +1 -1
  283. package/dist/mtmai_api/sdk.gen.d.ts +3 -8
  284. package/dist/mtmai_api/sdk.gen.d.ts.map +1 -1
  285. package/dist/mtmai_api/sdk.gen.js +53 -67
  286. package/dist/mtmai_api/sdk.gen.js.map +1 -1
  287. package/dist/mtmai_api/types.gen.d.ts +420 -208
  288. package/dist/mtmai_api/types.gen.d.ts.map +1 -1
  289. package/dist/mtmai_api/types.gen.js.map +1 -1
  290. package/dist/mtmai_api/zod.gen.d.ts +26092 -5524
  291. package/dist/mtmai_api/zod.gen.d.ts.map +1 -1
  292. package/dist/mtmai_api/zod.gen.js +1391 -1362
  293. package/dist/mtmai_api/zod.gen.js.map +1 -1
  294. package/dist/store/AuthProviders.d.ts +8 -0
  295. package/dist/store/AuthProviders.d.ts.map +1 -0
  296. package/dist/store/AuthProviders.js +34 -0
  297. package/dist/store/AuthProviders.js.map +1 -0
  298. package/dist/store/{ReactQueryApiV2Provider.d.ts → GomtmProvider.d.ts} +1 -1
  299. package/dist/store/GomtmProvider.d.ts.map +1 -0
  300. package/dist/store/{ReactQueryApiV2Provider.js → GomtmProvider.js} +2 -2
  301. package/dist/store/GomtmProvider.js.map +1 -0
  302. package/dist/store/{ReactQueryProvider.d.ts → GomtmV1Provider.d.ts} +1 -1
  303. package/dist/store/GomtmV1Provider.d.ts.map +1 -0
  304. package/dist/store/{ReactQueryProvider.js → GomtmV1Provider.js} +2 -2
  305. package/dist/store/GomtmV1Provider.js.map +1 -0
  306. package/dist/store/MtgateProvider.d.ts +6015 -0
  307. package/dist/store/MtgateProvider.d.ts.map +1 -0
  308. package/dist/store/MtgateProvider.js +76 -0
  309. package/dist/store/MtgateProvider.js.map +1 -0
  310. package/dist/store/MtmsdkProvider.d.ts.map +1 -1
  311. package/dist/store/MtmsdkProvider.js +9 -12
  312. package/dist/store/MtmsdkProvider.js.map +1 -1
  313. package/package.json +68 -72
  314. package/dist/gomtmapi/client/client.d.ts +0 -3
  315. package/dist/gomtmapi/client/client.d.ts.map +0 -1
  316. package/dist/gomtmapi/client/client.js.map +0 -1
  317. package/dist/gomtmapi/client/types.d.ts.map +0 -1
  318. package/dist/gomtmapi/client/types.js +0 -2
  319. package/dist/gomtmapi/client/types.js.map +0 -1
  320. package/dist/gomtmapi/client/utils.d.ts.map +0 -1
  321. package/dist/gomtmapi/client/utils.js.map +0 -1
  322. package/dist/gomtmapi/core/auth.d.ts.map +0 -1
  323. package/dist/gomtmapi/core/auth.js.map +0 -1
  324. package/dist/gomtmapi/core/bodySerializer.d.ts.map +0 -1
  325. package/dist/gomtmapi/core/bodySerializer.js.map +0 -1
  326. package/dist/gomtmapi/core/params.d.ts.map +0 -1
  327. package/dist/gomtmapi/core/params.js.map +0 -1
  328. package/dist/gomtmapi/core/pathSerializer.d.ts.map +0 -1
  329. package/dist/gomtmapi/core/pathSerializer.js.map +0 -1
  330. package/dist/gomtmapi/core/types.d.ts.map +0 -1
  331. package/dist/gomtmapi/core/types.js +0 -2
  332. package/dist/gomtmapi/core/types.js.map +0 -1
  333. package/dist/gomtmapi_v2/client/client.d.ts +0 -3
  334. package/dist/gomtmapi_v2/client/client.d.ts.map +0 -1
  335. package/dist/gomtmapi_v2/client/client.js.map +0 -1
  336. package/dist/gomtmapi_v2/client/types.d.ts.map +0 -1
  337. package/dist/gomtmapi_v2/client/types.js +0 -2
  338. package/dist/gomtmapi_v2/client/types.js.map +0 -1
  339. package/dist/gomtmapi_v2/client/utils.d.ts.map +0 -1
  340. package/dist/gomtmapi_v2/client/utils.js.map +0 -1
  341. package/dist/gomtmapi_v2/core/auth.d.ts.map +0 -1
  342. package/dist/gomtmapi_v2/core/auth.js.map +0 -1
  343. package/dist/gomtmapi_v2/core/bodySerializer.d.ts.map +0 -1
  344. package/dist/gomtmapi_v2/core/bodySerializer.js.map +0 -1
  345. package/dist/gomtmapi_v2/core/params.d.ts.map +0 -1
  346. package/dist/gomtmapi_v2/core/params.js.map +0 -1
  347. package/dist/gomtmapi_v2/core/pathSerializer.d.ts.map +0 -1
  348. package/dist/gomtmapi_v2/core/pathSerializer.js.map +0 -1
  349. package/dist/gomtmapi_v2/core/types.d.ts.map +0 -1
  350. package/dist/gomtmapi_v2/core/types.js +0 -2
  351. package/dist/gomtmapi_v2/core/types.js.map +0 -1
  352. package/dist/lib/ai-types.d.ts +0 -61
  353. package/dist/lib/ai-types.d.ts.map +0 -1
  354. package/dist/lib/ai-types.js +0 -15
  355. package/dist/lib/ai-types.js.map +0 -1
  356. package/dist/lib/constants.d.ts +0 -40
  357. package/dist/lib/constants.d.ts.map +0 -1
  358. package/dist/lib/constants.js +0 -40
  359. package/dist/lib/constants.js.map +0 -1
  360. package/dist/lib/d1-utils.d.ts +0 -5
  361. package/dist/lib/d1-utils.d.ts.map +0 -1
  362. package/dist/lib/d1-utils.js +0 -36
  363. package/dist/lib/d1-utils.js.map +0 -1
  364. package/dist/lib/mtmutils.d.ts +0 -2
  365. package/dist/lib/mtmutils.d.ts.map +0 -1
  366. package/dist/lib/mtmutils.js +0 -9
  367. package/dist/lib/mtmutils.js.map +0 -1
  368. package/dist/mtgate_api/client/client.d.ts +0 -3
  369. package/dist/mtgate_api/client/client.d.ts.map +0 -1
  370. package/dist/mtgate_api/client/client.js.map +0 -1
  371. package/dist/mtgate_api/client/types.d.ts.map +0 -1
  372. package/dist/mtgate_api/client/types.js +0 -2
  373. package/dist/mtgate_api/client/types.js.map +0 -1
  374. package/dist/mtgate_api/client/utils.d.ts.map +0 -1
  375. package/dist/mtgate_api/client/utils.js.map +0 -1
  376. package/dist/mtgate_api/core/auth.d.ts.map +0 -1
  377. package/dist/mtgate_api/core/auth.js.map +0 -1
  378. package/dist/mtgate_api/core/bodySerializer.d.ts.map +0 -1
  379. package/dist/mtgate_api/core/bodySerializer.js.map +0 -1
  380. package/dist/mtgate_api/core/params.d.ts.map +0 -1
  381. package/dist/mtgate_api/core/params.js.map +0 -1
  382. package/dist/mtgate_api/core/pathSerializer.d.ts.map +0 -1
  383. package/dist/mtgate_api/core/pathSerializer.js.map +0 -1
  384. package/dist/mtgate_api/core/types.d.ts.map +0 -1
  385. package/dist/mtgate_api/core/types.js +0 -2
  386. package/dist/mtgate_api/core/types.js.map +0 -1
  387. package/dist/mtmai_api/client/client.d.ts +0 -3
  388. package/dist/mtmai_api/client/client.d.ts.map +0 -1
  389. package/dist/mtmai_api/client/client.js.map +0 -1
  390. package/dist/mtmai_api/client/types.d.ts.map +0 -1
  391. package/dist/mtmai_api/client/types.js +0 -2
  392. package/dist/mtmai_api/client/types.js.map +0 -1
  393. package/dist/mtmai_api/client/utils.d.ts.map +0 -1
  394. package/dist/mtmai_api/client/utils.js.map +0 -1
  395. package/dist/mtmai_api/core/auth.d.ts.map +0 -1
  396. package/dist/mtmai_api/core/auth.js.map +0 -1
  397. package/dist/mtmai_api/core/bodySerializer.d.ts.map +0 -1
  398. package/dist/mtmai_api/core/bodySerializer.js.map +0 -1
  399. package/dist/mtmai_api/core/params.d.ts.map +0 -1
  400. package/dist/mtmai_api/core/params.js.map +0 -1
  401. package/dist/mtmai_api/core/pathSerializer.d.ts.map +0 -1
  402. package/dist/mtmai_api/core/pathSerializer.js.map +0 -1
  403. package/dist/mtmai_api/core/types.d.ts.map +0 -1
  404. package/dist/mtmai_api/core/types.js +0 -2
  405. package/dist/mtmai_api/core/types.js.map +0 -1
  406. package/dist/store/ReactQueryApiV2Provider.d.ts.map +0 -1
  407. package/dist/store/ReactQueryApiV2Provider.js.map +0 -1
  408. package/dist/store/ReactQueryCfApiProvider.d.ts +0 -9
  409. package/dist/store/ReactQueryCfApiProvider.d.ts.map +0 -1
  410. package/dist/store/ReactQueryCfApiProvider.js +0 -26
  411. package/dist/store/ReactQueryCfApiProvider.js.map +0 -1
  412. package/dist/store/ReactQueryProvider.d.ts.map +0 -1
  413. package/dist/store/ReactQueryProvider.js.map +0 -1
@@ -3,7 +3,6 @@ export declare const AgentSchema: {
3
3
  readonly properties: {
4
4
  readonly id: {
5
5
  readonly type: "string";
6
- readonly format: "uuid";
7
6
  };
8
7
  readonly createdAt: {
9
8
  readonly type: "string";
@@ -17,9 +16,8 @@ export declare const AgentSchema: {
17
16
  readonly type: "string";
18
17
  readonly format: "date";
19
18
  };
20
- readonly tenantId: {
19
+ readonly organizationId: {
21
20
  readonly type: "string";
22
- readonly format: "uuid";
23
21
  };
24
22
  readonly name: {
25
23
  readonly type: "string";
@@ -43,7 +41,7 @@ export declare const AgentSchema: {
43
41
  };
44
42
  };
45
43
  };
46
- readonly required: readonly ["id", "createdAt", "updatedAt", "tenantId", "name", "status"];
44
+ readonly required: readonly ["id", "createdAt", "updatedAt", "organizationId", "name", "status"];
47
45
  };
48
46
  export declare const AgentListResponseSchema: {
49
47
  readonly type: "object";
@@ -96,12 +94,11 @@ export declare const AgentCreateRequestSchema: {
96
94
  readonly nullable: true;
97
95
  };
98
96
  };
99
- readonly tenantId: {
97
+ readonly organizationId: {
100
98
  readonly type: "string";
101
- readonly format: "uuid";
102
99
  };
103
100
  };
104
- readonly required: readonly ["name", "tenantId"];
101
+ readonly required: readonly ["name", "organizationId"];
105
102
  };
106
103
  export declare const AgentChatbotUpdateBodyConfigSchema: {
107
104
  readonly type: "object";
@@ -144,37 +141,36 @@ export declare const AgentHandlerInfoSchema: {
144
141
  readonly description: "Agent ID";
145
142
  };
146
143
  readonly state: {
147
- readonly nullable: true;
144
+ readonly type: "string";
148
145
  readonly description: "Agent state";
149
146
  };
150
147
  };
151
- readonly required: readonly ["agentName", "agentId"];
148
+ readonly required: readonly ["agentName", "agentId", "state"];
152
149
  };
153
150
  export declare const ApiErrorSchema: {
154
151
  readonly type: "object";
155
152
  readonly properties: {
156
- readonly code: {
157
- readonly type: "integer";
158
- };
159
- readonly message: {
160
- readonly type: "string";
161
- };
162
- readonly stack: {
163
- readonly type: "string";
164
- };
165
- readonly cause: {
166
- readonly type: "string";
167
- };
168
- readonly field: {
169
- readonly type: "string";
170
- };
171
- readonly description: {
172
- readonly type: "string";
173
- };
174
- readonly docs_link: {
175
- readonly type: "string";
153
+ readonly error: {
154
+ readonly type: "object";
155
+ readonly properties: {
156
+ readonly code: {
157
+ readonly type: "string";
158
+ readonly enum: readonly ["VALIDATION_ERROR", "NOT_FOUND", "UNAUTHORIZED", "FORBIDDEN", "INTERNAL_ERROR", "CONFLICT", "BAD_REQUEST", "UNPROCESSABLE_ENTITY"];
159
+ };
160
+ readonly message: {
161
+ readonly type: "string";
162
+ };
163
+ readonly details: {
164
+ readonly type: "string";
165
+ };
166
+ readonly field: {
167
+ readonly type: "string";
168
+ };
169
+ };
170
+ readonly required: readonly ["message"];
176
171
  };
177
172
  };
173
+ readonly required: readonly ["error"];
178
174
  };
179
175
  export declare const AgentHandlerGetInfoBodySchema: {
180
176
  readonly type: "object";
@@ -186,170 +182,139 @@ export declare const AgentHandlerGetInfoBodySchema: {
186
182
  };
187
183
  readonly required: readonly ["agentId"];
188
184
  };
189
- export declare const RegisterInputSchema: {
185
+ export declare const BrowserGetResponseSchema: {
190
186
  readonly type: "object";
191
187
  readonly properties: {
192
- readonly email: {
188
+ readonly id: {
193
189
  readonly type: "string";
194
- readonly format: "email";
195
190
  };
196
- readonly password: {
191
+ readonly organizationId: {
197
192
  readonly type: "string";
198
- readonly minLength: 6;
199
193
  };
200
194
  readonly name: {
201
195
  readonly type: "string";
202
- readonly minLength: 1;
203
196
  };
204
- };
205
- readonly required: readonly ["email", "password", "name"];
206
- };
207
- export declare const UserSchema: {
208
- readonly type: "object";
209
- readonly properties: {
210
- readonly id: {
197
+ readonly description: {
211
198
  readonly type: "string";
212
199
  };
213
- readonly email: {
200
+ readonly url: {
214
201
  readonly type: "string";
215
202
  };
216
- readonly name: {
203
+ readonly properties: {
204
+ readonly type: "object";
205
+ readonly additionalProperties: {
206
+ readonly nullable: true;
207
+ };
208
+ readonly default: {};
209
+ };
210
+ readonly tags: {
211
+ readonly type: "array";
212
+ readonly items: {
213
+ readonly type: "string";
214
+ };
215
+ };
216
+ readonly lastUsedAt: {
217
+ readonly type: "string";
218
+ readonly format: "date";
219
+ };
220
+ readonly createdAt: {
217
221
  readonly type: "string";
222
+ readonly format: "date";
218
223
  };
219
- readonly role: {
224
+ readonly updatedAt: {
225
+ readonly type: "string";
226
+ readonly format: "date";
227
+ };
228
+ readonly platformId: {
220
229
  readonly type: "string";
221
- readonly default: "USER";
222
230
  };
223
- readonly avatarUrl: {
231
+ readonly autoLoginScript: {
224
232
  readonly type: "string";
225
233
  };
234
+ readonly sessionData: {
235
+ readonly type: "object";
236
+ readonly additionalProperties: {
237
+ readonly nullable: true;
238
+ };
239
+ readonly default: {};
240
+ };
226
241
  };
227
- readonly required: readonly ["id", "email"];
242
+ readonly required: readonly ["id", "organizationId", "name", "url", "createdAt", "updatedAt"];
228
243
  };
229
- export declare const UserListResponseSchema: {
244
+ export declare const BrowserListResponseSchema: {
230
245
  readonly type: "object";
231
246
  readonly properties: {
232
- readonly rows: {
247
+ readonly browsers: {
233
248
  readonly type: "array";
234
249
  readonly items: {
235
- readonly type: "object";
236
- readonly properties: {
237
- readonly id: {
238
- readonly type: "string";
239
- };
240
- readonly email: {
241
- readonly type: "string";
242
- };
243
- readonly emailVerified: {
244
- readonly type: "boolean";
245
- };
246
- readonly name: {
247
- readonly type: "string";
248
- };
249
- readonly role: {
250
- readonly type: "string";
251
- readonly enum: readonly ["ADMIN", "USER", "GUEST"];
252
- };
253
- readonly createdAt: {
254
- readonly type: "string";
255
- };
256
- readonly updatedAt: {
257
- readonly type: "string";
258
- };
259
- };
260
- readonly required: readonly ["id", "email", "emailVerified", "role", "createdAt", "updatedAt"];
250
+ readonly $ref: "#/components/schemas/BrowserGetResponse";
261
251
  };
262
252
  };
263
253
  readonly total: {
264
254
  readonly type: "number";
265
255
  };
266
- readonly limit: {
267
- readonly type: "number";
268
- };
269
- readonly offset: {
270
- readonly type: "number";
256
+ readonly pagination: {
257
+ readonly type: "object";
258
+ readonly properties: {
259
+ readonly limit: {
260
+ readonly type: "number";
261
+ };
262
+ readonly offset: {
263
+ readonly type: "number";
264
+ };
265
+ readonly total_count: {
266
+ readonly type: "number";
267
+ };
268
+ };
269
+ readonly required: readonly ["limit", "offset", "total_count"];
271
270
  };
272
271
  };
273
- readonly required: readonly ["rows", "total", "limit", "offset"];
272
+ readonly required: readonly ["browsers", "total"];
274
273
  };
275
- export declare const UserCreateRequestSchema: {
274
+ export declare const BrowserUpsertRequestSchema: {
276
275
  readonly type: "object";
277
276
  readonly properties: {
278
- readonly email: {
279
- readonly type: "string";
280
- readonly format: "email";
281
- };
282
- readonly password: {
283
- readonly type: "string";
284
- readonly minLength: 6;
285
- };
286
277
  readonly name: {
287
278
  readonly type: "string";
279
+ readonly minLength: 1;
288
280
  };
289
- readonly role: {
281
+ readonly description: {
290
282
  readonly type: "string";
291
- readonly enum: readonly ["ADMIN", "USER", "GUEST"];
292
- readonly default: "USER";
293
283
  };
294
- };
295
- readonly required: readonly ["email", "password"];
296
- };
297
- export declare const UserUpdateResponseSchema: {
298
- readonly type: "object";
299
- readonly properties: {
300
- readonly id: {
284
+ readonly url: {
301
285
  readonly type: "string";
286
+ readonly format: "uri";
302
287
  };
303
- readonly email: {
304
- readonly type: "string";
288
+ readonly properties: {
289
+ readonly type: "object";
290
+ readonly additionalProperties: {
291
+ readonly nullable: true;
292
+ };
293
+ readonly default: {};
305
294
  };
306
- readonly emailVerified: {
307
- readonly type: "boolean";
295
+ readonly tags: {
296
+ readonly type: "array";
297
+ readonly items: {
298
+ readonly type: "string";
299
+ };
308
300
  };
309
- readonly name: {
301
+ readonly platformId: {
310
302
  readonly type: "string";
311
303
  };
312
- readonly role: {
304
+ readonly autoLoginScript: {
313
305
  readonly type: "string";
314
- readonly enum: readonly ["ADMIN", "USER", "GUEST"];
315
306
  };
316
- readonly metadata: {
307
+ readonly sessionData: {
317
308
  readonly type: "object";
318
- readonly properties: {
319
- readonly id: {
320
- readonly type: "string";
321
- };
322
- readonly createdAt: {
323
- readonly type: "string";
324
- };
325
- readonly updatedAt: {
326
- readonly type: "string";
327
- };
309
+ readonly additionalProperties: {
310
+ readonly nullable: true;
328
311
  };
329
- readonly required: readonly ["id", "createdAt", "updatedAt"];
330
- };
331
- };
332
- readonly required: readonly ["id", "email", "emailVerified", "role", "metadata"];
333
- };
334
- export declare const SysConfigSchema: {
335
- readonly type: "object";
336
- readonly properties: {
337
- readonly id: {
338
- readonly type: "string";
339
- readonly example: "123";
340
- };
341
- readonly name: {
342
- readonly type: "string";
343
- readonly example: "John Doe";
344
- };
345
- readonly age: {
346
- readonly type: "number";
347
- readonly example: 42;
312
+ readonly default: {};
348
313
  };
349
314
  };
350
- readonly required: readonly ["id", "name", "age"];
315
+ readonly required: readonly ["name", "url"];
351
316
  };
352
- export declare const ApiCommonDeleteResponseSchema: {
317
+ export declare const ApiCommonDeleteSchema: {
353
318
  readonly type: "object";
354
319
  readonly properties: {
355
320
  readonly id: {
@@ -457,7 +422,6 @@ export declare const SandboxSchema: {
457
422
  readonly properties: {
458
423
  readonly id: {
459
424
  readonly type: "string";
460
- readonly format: "uuid";
461
425
  };
462
426
  readonly createdAt: {
463
427
  readonly type: "string";
@@ -467,10 +431,10 @@ export declare const SandboxSchema: {
467
431
  };
468
432
  readonly deletedAt: {
469
433
  readonly type: "string";
434
+ readonly nullable: true;
470
435
  };
471
- readonly tenantId: {
436
+ readonly organizationId: {
472
437
  readonly type: "string";
473
- readonly format: "uuid";
474
438
  };
475
439
  readonly name: {
476
440
  readonly type: "string";
@@ -500,7 +464,7 @@ export declare const SandboxSchema: {
500
464
  };
501
465
  };
502
466
  };
503
- readonly required: readonly ["id", "createdAt", "updatedAt", "tenantId", "name", "description", "deployType", "serverUrl", "status", "state", "config"];
467
+ readonly required: readonly ["id", "createdAt", "updatedAt", "organizationId", "name", "description", "deployType", "serverUrl", "status", "state", "config"];
504
468
  };
505
469
  export declare const SandboxListSchema: {
506
470
  readonly type: "object";
@@ -537,148 +501,6 @@ export declare const SandboxStartSchema: {
537
501
  };
538
502
  readonly required: readonly ["message", "serviceId"];
539
503
  };
540
- export declare const Api401ResponseSchema: {
541
- readonly type: "object";
542
- readonly properties: {
543
- readonly message: {
544
- readonly type: "string";
545
- readonly default: "unauthorized";
546
- };
547
- };
548
- };
549
- export declare const Api403ResponseSchema: {
550
- readonly type: "object";
551
- readonly properties: {
552
- readonly message: {
553
- readonly type: "string";
554
- readonly default: "forbidden";
555
- };
556
- };
557
- };
558
- export declare const ChatbotSchema: {
559
- readonly type: "object";
560
- readonly properties: {
561
- readonly id: {
562
- readonly type: "string";
563
- };
564
- readonly title: {
565
- readonly type: "string";
566
- };
567
- readonly description: {
568
- readonly type: "string";
569
- readonly nullable: true;
570
- };
571
- readonly config: {
572
- readonly nullable: true;
573
- };
574
- readonly state: {
575
- readonly nullable: true;
576
- };
577
- };
578
- readonly required: readonly ["id", "title", "description"];
579
- };
580
- export declare const ChatbotListResponseSchema: {
581
- readonly type: "object";
582
- readonly properties: {
583
- readonly rows: {
584
- readonly type: "array";
585
- readonly items: {
586
- readonly $ref: "#/components/schemas/Chatbot";
587
- };
588
- };
589
- readonly total: {
590
- readonly type: "number";
591
- };
592
- };
593
- readonly required: readonly ["rows", "total"];
594
- };
595
- export declare const BlogPostsListSchema: {
596
- readonly type: "object";
597
- readonly properties: {
598
- readonly posts: {
599
- readonly type: "array";
600
- readonly items: {
601
- readonly type: "object";
602
- readonly properties: {
603
- readonly id: {
604
- readonly type: "string";
605
- };
606
- readonly state: {
607
- readonly type: "string";
608
- };
609
- readonly publishDate: {
610
- readonly type: "string";
611
- };
612
- readonly content: {
613
- readonly type: "string";
614
- };
615
- readonly tenantId: {
616
- readonly type: "string";
617
- };
618
- readonly authorId: {
619
- readonly type: "string";
620
- };
621
- readonly siteId: {
622
- readonly type: "string";
623
- };
624
- readonly title: {
625
- readonly type: "string";
626
- };
627
- readonly description: {
628
- readonly type: "string";
629
- };
630
- readonly parentPostId: {
631
- readonly type: "string";
632
- };
633
- readonly releaseId: {
634
- readonly type: "string";
635
- };
636
- readonly releaseURL: {
637
- readonly type: "string";
638
- };
639
- readonly settings: {
640
- readonly type: "string";
641
- };
642
- readonly image: {
643
- readonly type: "string";
644
- };
645
- readonly lastMessageId: {
646
- readonly type: "string";
647
- };
648
- readonly error: {
649
- readonly type: "string";
650
- };
651
- readonly createdAt: {
652
- readonly type: "string";
653
- };
654
- readonly updatedAt: {
655
- readonly type: "string";
656
- };
657
- readonly deletedAt: {
658
- readonly type: "string";
659
- };
660
- readonly status: {
661
- readonly type: "string";
662
- };
663
- readonly slug: {
664
- readonly type: "string";
665
- };
666
- };
667
- readonly required: readonly ["id", "state", "content", "tenantId", "authorId", "siteId", "createdAt", "updatedAt", "status", "slug"];
668
- };
669
- };
670
- readonly total: {
671
- readonly type: "number";
672
- };
673
- readonly limit: {
674
- readonly type: "number";
675
- };
676
- readonly offset: {
677
- readonly type: "number";
678
- };
679
- };
680
- readonly required: readonly ["posts", "total", "limit", "offset"];
681
- };
682
504
  export declare const NavItemSchema: {
683
505
  readonly type: "object";
684
506
  readonly properties: {
@@ -702,6 +524,13 @@ export declare const NavItemSchema: {
702
524
  readonly type: "boolean";
703
525
  readonly description: "是否仅在调试模式下显示";
704
526
  };
527
+ readonly roles: {
528
+ readonly type: "array";
529
+ readonly items: {
530
+ readonly type: "string";
531
+ };
532
+ readonly description: "允许访问此菜单项的角色列表";
533
+ };
705
534
  readonly children: {
706
535
  readonly type: "array";
707
536
  readonly items: {
@@ -832,6 +661,63 @@ export declare const GomtmConfigSchema: {
832
661
  };
833
662
  };
834
663
  };
664
+ export declare const SiteSchema: {
665
+ readonly type: "object";
666
+ readonly properties: {
667
+ readonly id: {
668
+ readonly type: "string";
669
+ };
670
+ readonly title: {
671
+ readonly type: "string";
672
+ };
673
+ readonly description: {
674
+ readonly type: "string";
675
+ };
676
+ readonly organizationId: {
677
+ readonly type: "string";
678
+ };
679
+ readonly enabled: {
680
+ readonly type: "boolean";
681
+ };
682
+ readonly createdAt: {
683
+ readonly type: "string";
684
+ };
685
+ readonly updatedAt: {
686
+ readonly type: "string";
687
+ };
688
+ readonly state: {
689
+ readonly type: "object";
690
+ readonly additionalProperties: {
691
+ readonly nullable: true;
692
+ };
693
+ };
694
+ readonly automationEnabled: {
695
+ readonly type: "boolean";
696
+ };
697
+ };
698
+ readonly required: readonly ["id", "title", "organizationId", "enabled", "createdAt", "updatedAt", "automationEnabled"];
699
+ };
700
+ export declare const SiteListSchema: {
701
+ readonly type: "object";
702
+ readonly properties: {
703
+ readonly sites: {
704
+ readonly type: "array";
705
+ readonly items: {
706
+ readonly $ref: "#/components/schemas/Site";
707
+ };
708
+ };
709
+ readonly total: {
710
+ readonly type: "number";
711
+ };
712
+ readonly limit: {
713
+ readonly type: "number";
714
+ };
715
+ readonly offset: {
716
+ readonly type: "number";
717
+ };
718
+ };
719
+ readonly required: readonly ["sites", "total", "limit", "offset"];
720
+ };
835
721
  export declare const SiteCreateRequestSchema: {
836
722
  readonly type: "object";
837
723
  readonly properties: {
@@ -857,12 +743,18 @@ export declare const SiteCreateRequestSchema: {
857
743
  };
858
744
  readonly default: {};
859
745
  };
746
+ readonly organizationId: {
747
+ readonly type: "string";
748
+ };
860
749
  };
861
- readonly required: readonly ["title"];
750
+ readonly required: readonly ["title", "organizationId"];
862
751
  };
863
752
  export declare const SiteUpdateRequestSchema: {
864
753
  readonly type: "object";
865
754
  readonly properties: {
755
+ readonly id: {
756
+ readonly type: "string";
757
+ };
866
758
  readonly title: {
867
759
  readonly type: "string";
868
760
  readonly minLength: 1;
@@ -882,7 +774,11 @@ export declare const SiteUpdateRequestSchema: {
882
774
  readonly nullable: true;
883
775
  };
884
776
  };
777
+ readonly tenantId: {
778
+ readonly type: "string";
779
+ };
885
780
  };
781
+ readonly required: readonly ["id", "tenantId"];
886
782
  };
887
783
  export declare const BlogPostSchema: {
888
784
  readonly type: "object";
@@ -953,7 +849,28 @@ export declare const BlogPostSchema: {
953
849
  };
954
850
  readonly required: readonly ["id", "createdAt", "updatedAt", "content", "slug", "status", "state", "siteId", "tenantId", "authorId"];
955
851
  };
956
- export declare const BlogPostCreateRequestSchema: {
852
+ export declare const BlogPostListSchema: {
853
+ readonly type: "object";
854
+ readonly properties: {
855
+ readonly posts: {
856
+ readonly type: "array";
857
+ readonly items: {
858
+ readonly $ref: "#/components/schemas/BlogPost";
859
+ };
860
+ };
861
+ readonly total: {
862
+ readonly type: "number";
863
+ };
864
+ readonly limit: {
865
+ readonly type: "number";
866
+ };
867
+ readonly offset: {
868
+ readonly type: "number";
869
+ };
870
+ };
871
+ readonly required: readonly ["posts", "total", "limit", "offset"];
872
+ };
873
+ export declare const BlogPostCreateSchema: {
957
874
  readonly type: "object";
958
875
  readonly properties: {
959
876
  readonly title: {
@@ -994,7 +911,7 @@ export declare const BlogPostCreateRequestSchema: {
994
911
  };
995
912
  readonly required: readonly ["content", "siteId"];
996
913
  };
997
- export declare const BlogPostUpdateRequestSchema: {
914
+ export declare const BlogPostUpdateSchema: {
998
915
  readonly type: "object";
999
916
  readonly properties: {
1000
917
  readonly title: {