mtmsdk 0.0.8 → 0.0.10

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 (238) hide show
  1. package/dist/gomtmapi/@tanstack/react-query.gen.d.ts +2883 -0
  2. package/dist/gomtmapi/@tanstack/react-query.gen.d.ts.map +1 -0
  3. package/dist/gomtmapi/@tanstack/react-query.gen.js +2990 -0
  4. package/dist/gomtmapi/@tanstack/react-query.gen.js.map +1 -0
  5. package/dist/gomtmapi/client/client.d.ts +3 -0
  6. package/dist/gomtmapi/client/client.d.ts.map +1 -0
  7. package/dist/gomtmapi/client/client.js +146 -0
  8. package/dist/gomtmapi/client/client.js.map +1 -0
  9. package/dist/gomtmapi/client/index.d.ts +8 -0
  10. package/dist/gomtmapi/client/index.d.ts.map +1 -0
  11. package/dist/gomtmapi/client/index.js +5 -0
  12. package/dist/gomtmapi/client/index.js.map +1 -0
  13. package/dist/gomtmapi/client/types.d.ts +120 -0
  14. package/dist/gomtmapi/client/types.d.ts.map +1 -0
  15. package/dist/gomtmapi/client/types.js +2 -0
  16. package/dist/gomtmapi/client/types.js.map +1 -0
  17. package/dist/gomtmapi/client/utils.d.ts +46 -0
  18. package/dist/gomtmapi/client/utils.d.ts.map +1 -0
  19. package/dist/gomtmapi/client/utils.js +285 -0
  20. package/dist/gomtmapi/client/utils.js.map +1 -0
  21. package/dist/gomtmapi/client.gen.d.ts +13 -0
  22. package/dist/gomtmapi/client.gen.d.ts.map +1 -0
  23. package/dist/gomtmapi/client.gen.js +4 -0
  24. package/dist/gomtmapi/client.gen.js.map +1 -0
  25. package/dist/gomtmapi/core/auth.d.ts +19 -0
  26. package/dist/gomtmapi/core/auth.d.ts.map +1 -0
  27. package/dist/gomtmapi/core/auth.js +14 -0
  28. package/dist/gomtmapi/core/auth.js.map +1 -0
  29. package/dist/gomtmapi/core/bodySerializer.d.ts +18 -0
  30. package/dist/gomtmapi/core/bodySerializer.d.ts.map +1 -0
  31. package/dist/gomtmapi/core/bodySerializer.js +54 -0
  32. package/dist/gomtmapi/core/bodySerializer.js.map +1 -0
  33. package/dist/gomtmapi/core/params.d.ts +24 -0
  34. package/dist/gomtmapi/core/params.d.ts.map +1 -0
  35. package/dist/gomtmapi/core/params.js +88 -0
  36. package/dist/gomtmapi/core/params.js.map +1 -0
  37. package/dist/gomtmapi/core/pathSerializer.d.ts +34 -0
  38. package/dist/gomtmapi/core/pathSerializer.d.ts.map +1 -0
  39. package/dist/gomtmapi/core/pathSerializer.js +114 -0
  40. package/dist/gomtmapi/core/pathSerializer.js.map +1 -0
  41. package/dist/gomtmapi/core/types.d.ts +74 -0
  42. package/dist/gomtmapi/core/types.d.ts.map +1 -0
  43. package/dist/gomtmapi/core/types.js +2 -0
  44. package/dist/gomtmapi/core/types.js.map +1 -0
  45. package/dist/gomtmapi/index.d.ts +3 -0
  46. package/dist/gomtmapi/index.d.ts.map +1 -0
  47. package/dist/gomtmapi/index.js +4 -0
  48. package/dist/gomtmapi/index.js.map +1 -0
  49. package/dist/gomtmapi/schemas.gen.d.ts +4385 -0
  50. package/dist/gomtmapi/schemas.gen.d.ts.map +1 -0
  51. package/dist/gomtmapi/schemas.gen.js +4521 -0
  52. package/dist/gomtmapi/schemas.gen.js.map +1 -0
  53. package/dist/gomtmapi/sdk.gen.d.ts +574 -0
  54. package/dist/gomtmapi/sdk.gen.d.ts.map +1 -0
  55. package/dist/gomtmapi/sdk.gen.js +2259 -0
  56. package/dist/gomtmapi/sdk.gen.js.map +1 -0
  57. package/dist/gomtmapi/types.gen.d.ts +6480 -0
  58. package/dist/gomtmapi/types.gen.d.ts.map +1 -0
  59. package/dist/gomtmapi/types.gen.js +70 -0
  60. package/dist/gomtmapi/types.gen.js.map +1 -0
  61. package/dist/gomtmapi/zod.gen.d.ts +5324 -0
  62. package/dist/gomtmapi/zod.gen.d.ts.map +1 -0
  63. package/dist/gomtmapi/zod.gen.js +2534 -0
  64. package/dist/gomtmapi/zod.gen.js.map +1 -0
  65. package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts +2260 -0
  66. package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts.map +1 -0
  67. package/dist/gomtmapi_v2/@tanstack/react-query.gen.js +2413 -0
  68. package/dist/gomtmapi_v2/@tanstack/react-query.gen.js.map +1 -0
  69. package/dist/gomtmapi_v2/client/client.d.ts +3 -0
  70. package/dist/gomtmapi_v2/client/client.d.ts.map +1 -0
  71. package/dist/gomtmapi_v2/client/client.js +146 -0
  72. package/dist/gomtmapi_v2/client/client.js.map +1 -0
  73. package/dist/gomtmapi_v2/client/index.d.ts +8 -0
  74. package/dist/gomtmapi_v2/client/index.d.ts.map +1 -0
  75. package/dist/gomtmapi_v2/client/index.js +5 -0
  76. package/dist/gomtmapi_v2/client/index.js.map +1 -0
  77. package/dist/gomtmapi_v2/client/types.d.ts +120 -0
  78. package/dist/gomtmapi_v2/client/types.d.ts.map +1 -0
  79. package/dist/gomtmapi_v2/client/types.js +2 -0
  80. package/dist/gomtmapi_v2/client/types.js.map +1 -0
  81. package/dist/gomtmapi_v2/client/utils.d.ts +46 -0
  82. package/dist/gomtmapi_v2/client/utils.d.ts.map +1 -0
  83. package/dist/gomtmapi_v2/client/utils.js +285 -0
  84. package/dist/gomtmapi_v2/client/utils.js.map +1 -0
  85. package/dist/gomtmapi_v2/client.gen.d.ts +13 -0
  86. package/dist/gomtmapi_v2/client.gen.d.ts.map +1 -0
  87. package/dist/gomtmapi_v2/client.gen.js +4 -0
  88. package/dist/gomtmapi_v2/client.gen.js.map +1 -0
  89. package/dist/gomtmapi_v2/core/auth.d.ts +19 -0
  90. package/dist/gomtmapi_v2/core/auth.d.ts.map +1 -0
  91. package/dist/gomtmapi_v2/core/auth.js +14 -0
  92. package/dist/gomtmapi_v2/core/auth.js.map +1 -0
  93. package/dist/gomtmapi_v2/core/bodySerializer.d.ts +18 -0
  94. package/dist/gomtmapi_v2/core/bodySerializer.d.ts.map +1 -0
  95. package/dist/gomtmapi_v2/core/bodySerializer.js +54 -0
  96. package/dist/gomtmapi_v2/core/bodySerializer.js.map +1 -0
  97. package/dist/gomtmapi_v2/core/params.d.ts +24 -0
  98. package/dist/gomtmapi_v2/core/params.d.ts.map +1 -0
  99. package/dist/gomtmapi_v2/core/params.js +88 -0
  100. package/dist/gomtmapi_v2/core/params.js.map +1 -0
  101. package/dist/gomtmapi_v2/core/pathSerializer.d.ts +34 -0
  102. package/dist/gomtmapi_v2/core/pathSerializer.d.ts.map +1 -0
  103. package/dist/gomtmapi_v2/core/pathSerializer.js +114 -0
  104. package/dist/gomtmapi_v2/core/pathSerializer.js.map +1 -0
  105. package/dist/gomtmapi_v2/core/types.d.ts +74 -0
  106. package/dist/gomtmapi_v2/core/types.d.ts.map +1 -0
  107. package/dist/gomtmapi_v2/core/types.js +2 -0
  108. package/dist/gomtmapi_v2/core/types.js.map +1 -0
  109. package/dist/gomtmapi_v2/index.d.ts +3 -0
  110. package/dist/gomtmapi_v2/index.d.ts.map +1 -0
  111. package/dist/gomtmapi_v2/index.js +4 -0
  112. package/dist/gomtmapi_v2/index.js.map +1 -0
  113. package/dist/gomtmapi_v2/schemas.gen.d.ts +2371 -0
  114. package/dist/gomtmapi_v2/schemas.gen.d.ts.map +1 -0
  115. package/dist/gomtmapi_v2/schemas.gen.js +2372 -0
  116. package/dist/gomtmapi_v2/schemas.gen.js.map +1 -0
  117. package/dist/gomtmapi_v2/sdk.gen.d.ts +974 -0
  118. package/dist/gomtmapi_v2/sdk.gen.d.ts.map +1 -0
  119. package/dist/gomtmapi_v2/sdk.gen.js +1345 -0
  120. package/dist/gomtmapi_v2/sdk.gen.js.map +1 -0
  121. package/dist/gomtmapi_v2/types.gen.d.ts +2964 -0
  122. package/dist/gomtmapi_v2/types.gen.d.ts.map +1 -0
  123. package/dist/gomtmapi_v2/types.gen.js +3 -0
  124. package/dist/gomtmapi_v2/types.gen.js.map +1 -0
  125. package/dist/gomtmapi_v2/zod.gen.d.ts +2327 -0
  126. package/dist/gomtmapi_v2/zod.gen.d.ts.map +1 -0
  127. package/dist/gomtmapi_v2/zod.gen.js +1768 -0
  128. package/dist/gomtmapi_v2/zod.gen.js.map +1 -0
  129. package/dist/index.d.ts +4 -1
  130. package/dist/index.d.ts.map +1 -1
  131. package/dist/index.js +4 -2
  132. package/dist/index.js.map +1 -1
  133. package/dist/lib/adk-utils.d.ts +24 -0
  134. package/dist/lib/adk-utils.d.ts.map +1 -0
  135. package/dist/lib/adk-utils.js +51 -0
  136. package/dist/lib/adk-utils.js.map +1 -0
  137. package/dist/lib/constants.d.ts +40 -0
  138. package/dist/lib/constants.d.ts.map +1 -0
  139. package/dist/lib/constants.js +40 -0
  140. package/dist/lib/constants.js.map +1 -0
  141. package/dist/lib/d1-utils.d.ts +5 -0
  142. package/dist/lib/d1-utils.d.ts.map +1 -0
  143. package/dist/lib/d1-utils.js +36 -0
  144. package/dist/lib/d1-utils.js.map +1 -0
  145. package/dist/lib/get-query-client.d.ts +3 -0
  146. package/dist/lib/get-query-client.d.ts.map +1 -0
  147. package/dist/lib/get-query-client.js +43 -0
  148. package/dist/lib/get-query-client.js.map +1 -0
  149. package/dist/lib/mtmutils.d.ts +2 -0
  150. package/dist/lib/mtmutils.d.ts.map +1 -0
  151. package/dist/lib/mtmutils.js +9 -0
  152. package/dist/lib/mtmutils.js.map +1 -0
  153. package/dist/mtgate_api/zod.gen.d.ts +48 -48
  154. package/dist/mtmai_api/@tanstack/react-query.gen.d.ts +1286 -0
  155. package/dist/mtmai_api/@tanstack/react-query.gen.d.ts.map +1 -0
  156. package/dist/mtmai_api/@tanstack/react-query.gen.js +1321 -0
  157. package/dist/mtmai_api/@tanstack/react-query.gen.js.map +1 -0
  158. package/dist/mtmai_api/client/client.d.ts +3 -0
  159. package/dist/mtmai_api/client/client.d.ts.map +1 -0
  160. package/dist/mtmai_api/client/client.js +146 -0
  161. package/dist/mtmai_api/client/client.js.map +1 -0
  162. package/dist/mtmai_api/client/index.d.ts +8 -0
  163. package/dist/mtmai_api/client/index.d.ts.map +1 -0
  164. package/dist/mtmai_api/client/index.js +5 -0
  165. package/dist/mtmai_api/client/index.js.map +1 -0
  166. package/dist/mtmai_api/client/types.d.ts +120 -0
  167. package/dist/mtmai_api/client/types.d.ts.map +1 -0
  168. package/dist/mtmai_api/client/types.js +2 -0
  169. package/dist/mtmai_api/client/types.js.map +1 -0
  170. package/dist/mtmai_api/client/utils.d.ts +46 -0
  171. package/dist/mtmai_api/client/utils.d.ts.map +1 -0
  172. package/dist/mtmai_api/client/utils.js +285 -0
  173. package/dist/mtmai_api/client/utils.js.map +1 -0
  174. package/dist/mtmai_api/client.gen.d.ts +13 -0
  175. package/dist/mtmai_api/client.gen.d.ts.map +1 -0
  176. package/dist/mtmai_api/client.gen.js +4 -0
  177. package/dist/mtmai_api/client.gen.js.map +1 -0
  178. package/dist/mtmai_api/core/auth.d.ts +19 -0
  179. package/dist/mtmai_api/core/auth.d.ts.map +1 -0
  180. package/dist/mtmai_api/core/auth.js +14 -0
  181. package/dist/mtmai_api/core/auth.js.map +1 -0
  182. package/dist/mtmai_api/core/bodySerializer.d.ts +18 -0
  183. package/dist/mtmai_api/core/bodySerializer.d.ts.map +1 -0
  184. package/dist/mtmai_api/core/bodySerializer.js +54 -0
  185. package/dist/mtmai_api/core/bodySerializer.js.map +1 -0
  186. package/dist/mtmai_api/core/params.d.ts +24 -0
  187. package/dist/mtmai_api/core/params.d.ts.map +1 -0
  188. package/dist/mtmai_api/core/params.js +88 -0
  189. package/dist/mtmai_api/core/params.js.map +1 -0
  190. package/dist/mtmai_api/core/pathSerializer.d.ts +34 -0
  191. package/dist/mtmai_api/core/pathSerializer.d.ts.map +1 -0
  192. package/dist/mtmai_api/core/pathSerializer.js +114 -0
  193. package/dist/mtmai_api/core/pathSerializer.js.map +1 -0
  194. package/dist/mtmai_api/core/types.d.ts +74 -0
  195. package/dist/mtmai_api/core/types.d.ts.map +1 -0
  196. package/dist/mtmai_api/core/types.js +2 -0
  197. package/dist/mtmai_api/core/types.js.map +1 -0
  198. package/dist/mtmai_api/index.d.ts +3 -0
  199. package/dist/mtmai_api/index.d.ts.map +1 -0
  200. package/dist/mtmai_api/index.js +4 -0
  201. package/dist/mtmai_api/index.js.map +1 -0
  202. package/dist/mtmai_api/schemas.gen.d.ts +7364 -0
  203. package/dist/mtmai_api/schemas.gen.d.ts.map +1 -0
  204. package/dist/mtmai_api/schemas.gen.js +9574 -0
  205. package/dist/mtmai_api/schemas.gen.js.map +1 -0
  206. package/dist/mtmai_api/sdk.gen.d.ts +264 -0
  207. package/dist/mtmai_api/sdk.gen.d.ts.map +1 -0
  208. package/dist/mtmai_api/sdk.gen.js +598 -0
  209. package/dist/mtmai_api/sdk.gen.js.map +1 -0
  210. package/dist/mtmai_api/types.gen.d.ts +6376 -0
  211. package/dist/mtmai_api/types.gen.d.ts.map +1 -0
  212. package/dist/mtmai_api/types.gen.js +240 -0
  213. package/dist/mtmai_api/types.gen.js.map +1 -0
  214. package/dist/mtmai_api/zod.gen.d.ts +35067 -0
  215. package/dist/mtmai_api/zod.gen.d.ts.map +1 -0
  216. package/dist/mtmai_api/zod.gen.js +2930 -0
  217. package/dist/mtmai_api/zod.gen.js.map +1 -0
  218. package/dist/store/MtmsdkProvider.d.ts +15 -0
  219. package/dist/store/MtmsdkProvider.d.ts.map +1 -0
  220. package/dist/store/MtmsdkProvider.js +50 -0
  221. package/dist/store/MtmsdkProvider.js.map +1 -0
  222. package/dist/store/ReactQueryApiV2Provider.d.ts +10 -0
  223. package/dist/store/ReactQueryApiV2Provider.d.ts.map +1 -0
  224. package/dist/store/ReactQueryApiV2Provider.js +24 -0
  225. package/dist/store/ReactQueryApiV2Provider.js.map +1 -0
  226. package/dist/store/ReactQueryCfApiProvider.d.ts +9 -0
  227. package/dist/store/ReactQueryCfApiProvider.d.ts.map +1 -0
  228. package/dist/store/ReactQueryCfApiProvider.js +26 -0
  229. package/dist/store/ReactQueryCfApiProvider.js.map +1 -0
  230. package/dist/store/ReactQueryMtmaiApiProvider.d.ts +10 -0
  231. package/dist/store/ReactQueryMtmaiApiProvider.d.ts.map +1 -0
  232. package/dist/store/ReactQueryMtmaiApiProvider.js +23 -0
  233. package/dist/store/ReactQueryMtmaiApiProvider.js.map +1 -0
  234. package/dist/store/ReactQueryProvider.d.ts +10 -0
  235. package/dist/store/ReactQueryProvider.d.ts.map +1 -0
  236. package/dist/store/ReactQueryProvider.js +24 -0
  237. package/dist/store/ReactQueryProvider.js.map +1 -0
  238. package/package.json +69 -15
@@ -0,0 +1,1768 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+ import { z } from "zod";
3
+ /**
4
+ * AgentEventPushRequest schema
5
+ */
6
+ export const zAgentEventPushRequest = z.object({
7
+ agentId: z.string(),
8
+ event: z.string().optional(),
9
+ eventData: z.string().optional(),
10
+ });
11
+ /**
12
+ * AgentEventPushResponse schema
13
+ */
14
+ export const zAgentEventPushResponse = z.object({
15
+ agentId: z.string(),
16
+ });
17
+ /**
18
+ * AgentResponse schema
19
+ */
20
+ export const zAgentResponse = z.object({
21
+ config: z.object({}),
22
+ created_at: z.string().datetime(),
23
+ description: z.string().optional(),
24
+ id: z.string(),
25
+ name: z.string(),
26
+ state: z.object({}),
27
+ status: z.string(),
28
+ tenant_id: z.string().optional(),
29
+ updated_at: z.string().datetime().optional(),
30
+ });
31
+ /**
32
+ * BrowserConfig schema
33
+ */
34
+ export const zBrowserConfig = z.object({
35
+ createdAt: z.string().datetime().optional(),
36
+ id: z.string().optional(),
37
+ name: z.string().optional(),
38
+ settings: z.object({}).optional(),
39
+ type: z.string().optional(),
40
+ updatedAt: z.string().datetime().optional(),
41
+ });
42
+ /**
43
+ * BrowserConfigCreate schema
44
+ */
45
+ export const zBrowserConfigCreate = z.object({
46
+ name: z.string().optional(),
47
+ settings: z.object({}).optional(),
48
+ type: z.string().optional(),
49
+ });
50
+ /**
51
+ * ChatbotListResponse schema
52
+ */
53
+ export const zChatbotListResponse = z.object({
54
+ data: z
55
+ .array(z.object({
56
+ config: z.object({}).optional(),
57
+ createdAt: z.string().optional(),
58
+ createdBy: z.string().optional(),
59
+ description: z.string().optional(),
60
+ id: z.string().optional(),
61
+ lastActiveAt: z.string().optional(),
62
+ name: z.string().optional(),
63
+ platform: z.string().optional(),
64
+ serverType: z.string().optional(),
65
+ serverUrl: z.string().optional(),
66
+ state: z
67
+ .object({
68
+ humanInteractMsg: z.string().optional(),
69
+ isHumanInteract: z.boolean().optional(),
70
+ isLogined: z.boolean().optional(),
71
+ isRunning: z.boolean().optional(),
72
+ lastStatusUpdate: z.coerce.bigint().optional(),
73
+ lastestReceiveMsg: z.string().optional(),
74
+ lastestSendMsg: z.string().optional(),
75
+ status: z.string().optional(),
76
+ statusMessage: z.string().optional(),
77
+ })
78
+ .optional(),
79
+ status: z.string().optional(),
80
+ tags: z.array(z.string()).optional(),
81
+ tenantId: z.string().optional(),
82
+ updatedAt: z.string().optional(),
83
+ }))
84
+ .optional(),
85
+ limit: z.number().int().optional(),
86
+ page: z.number().int().optional(),
87
+ total: z.number().int().optional(),
88
+ });
89
+ /**
90
+ * ChatbotResponse schema
91
+ */
92
+ export const zChatbotResponse = z.object({
93
+ config: z.object({}).optional(),
94
+ createdAt: z.string().optional(),
95
+ createdBy: z.string().optional(),
96
+ description: z.string().optional(),
97
+ id: z.string().optional(),
98
+ lastActiveAt: z.string().optional(),
99
+ name: z.string().optional(),
100
+ platform: z.string().optional(),
101
+ serverType: z.string().optional(),
102
+ serverUrl: z.string().optional(),
103
+ state: z
104
+ .object({
105
+ humanInteractMsg: z.string().optional(),
106
+ isHumanInteract: z.boolean().optional(),
107
+ isLogined: z.boolean().optional(),
108
+ isRunning: z.boolean().optional(),
109
+ lastStatusUpdate: z.coerce.bigint().optional(),
110
+ lastestReceiveMsg: z.string().optional(),
111
+ lastestSendMsg: z.string().optional(),
112
+ status: z.string().optional(),
113
+ statusMessage: z.string().optional(),
114
+ })
115
+ .optional(),
116
+ status: z.string().optional(),
117
+ tags: z.array(z.string()).optional(),
118
+ tenantId: z.string().optional(),
119
+ updatedAt: z.string().optional(),
120
+ });
121
+ /**
122
+ * ChatbotUpsertRequest schema
123
+ */
124
+ export const zChatbotUpsertRequest = z.object({
125
+ config: z.object({}).optional(),
126
+ description: z.string().max(500).optional(),
127
+ id: z.string().optional(),
128
+ name: z.string().min(1).max(100),
129
+ platform: z.string().min(1).max(50),
130
+ serverType: z.string().optional(),
131
+ serverUrl: z.string().optional(),
132
+ status: z.string(),
133
+ tags: z.array(z.string()).optional(),
134
+ });
135
+ /**
136
+ * CheckSandboxStatusRequest schema
137
+ */
138
+ export const zCheckSandboxStatusRequest = z.object({
139
+ sandboxIds: z.array(z.string()),
140
+ });
141
+ /**
142
+ * CheckSandboxStatusResponse schema
143
+ */
144
+ export const zCheckSandboxStatusResponse = z.object({
145
+ results: z
146
+ .array(z.object({
147
+ error: z.string().optional(),
148
+ sandboxId: z.string().optional(),
149
+ status: z.string().optional(),
150
+ }))
151
+ .optional(),
152
+ total_checked: z.number().int().optional(),
153
+ });
154
+ /**
155
+ * CreateAgentRequest schema
156
+ */
157
+ export const zCreateAgentRequest = z.object({
158
+ config: z.object({}).optional(),
159
+ description: z.string().optional(),
160
+ name: z.string(),
161
+ state: z.object({}).optional(),
162
+ status: z.string().optional(),
163
+ });
164
+ /**
165
+ * CreatePAccountRequest schema
166
+ */
167
+ export const zCreatePAccountRequest = z.object({
168
+ config: z.object({}).optional(),
169
+ description: z.string().optional(),
170
+ enabled: z.boolean().optional(),
171
+ icon: z.string().optional(),
172
+ name: z.string().optional(),
173
+ platformId: z.string(),
174
+ tags: z.array(z.string()).optional(),
175
+ });
176
+ /**
177
+ * CreatePlatformRequest schema
178
+ */
179
+ export const zCreatePlatformRequest = z.object({
180
+ description: z.string().optional(),
181
+ loginUrl: z.string().optional(),
182
+ name: z.string(),
183
+ tags: z.array(z.string()).optional(),
184
+ url: z.string().optional(),
185
+ });
186
+ /**
187
+ * CreateSbServiceRequest schema
188
+ */
189
+ export const zCreateSbServiceRequest = z.object({
190
+ config: z.object({}).optional(),
191
+ deploy_type: z.string(),
192
+ description: z.string().optional(),
193
+ name: z.string(),
194
+ server_url: z.string().optional(),
195
+ state: z.object({}).optional(),
196
+ status: z.string().optional(),
197
+ });
198
+ /**
199
+ * CreateSessionRequest schema
200
+ */
201
+ export const zCreateSessionRequest = z.object({
202
+ config: z.object({}).optional(),
203
+ type: z.string().optional(),
204
+ });
205
+ /**
206
+ * ExportPAccountsResponse schema
207
+ */
208
+ export const zExportPAccountsResponse = z.object({
209
+ data: z
210
+ .array(z.object({
211
+ config: z.object({}).optional(),
212
+ createdAt: z.string().datetime().optional(),
213
+ description: z.string().optional(),
214
+ enabled: z.boolean().optional(),
215
+ error: z.string().optional(),
216
+ icon: z.string().optional(),
217
+ id: z.string().optional(),
218
+ name: z.string().optional(),
219
+ platform: z
220
+ .object({
221
+ description: z.string().optional(),
222
+ id: z.string().optional(),
223
+ name: z.string().optional(),
224
+ })
225
+ .optional(),
226
+ platformId: z.string().optional(),
227
+ state: z.object({}).optional(),
228
+ tags: z.array(z.string()).optional(),
229
+ updatedAt: z.string().datetime().optional(),
230
+ }))
231
+ .optional(),
232
+ exportedAt: z.string().datetime().optional(),
233
+ totalCount: z.number().int().optional(),
234
+ version: z.string().optional(),
235
+ });
236
+ /**
237
+ * ExportPlatformsResponse schema
238
+ */
239
+ export const zExportPlatformsResponse = z.object({
240
+ data: z
241
+ .array(z.object({
242
+ createdAt: z.string().datetime().optional(),
243
+ description: z.string().optional(),
244
+ id: z.string().optional(),
245
+ loginUrl: z.string().optional(),
246
+ name: z.string().optional(),
247
+ tags: z.array(z.string()).optional(),
248
+ updatedAt: z.string().datetime().optional(),
249
+ url: z.string().optional(),
250
+ }))
251
+ .optional(),
252
+ exportedAt: z.string().datetime().optional(),
253
+ totalCount: z.number().int().optional(),
254
+ version: z.string().optional(),
255
+ });
256
+ /**
257
+ * HTTPError schema
258
+ */
259
+ export const zHttpError = z.object({
260
+ detail: z.string().optional(),
261
+ errors: z
262
+ .array(z.object({
263
+ more: z.object({}).optional(),
264
+ name: z.string().optional(),
265
+ reason: z.string().optional(),
266
+ }))
267
+ .optional(),
268
+ instance: z.string().optional(),
269
+ status: z.number().int().optional(),
270
+ title: z.string().optional(),
271
+ type: z.string().optional(),
272
+ });
273
+ /**
274
+ * ImportPAccountsRequest schema
275
+ */
276
+ export const zImportPAccountsRequest = z.object({
277
+ data: z
278
+ .array(z.object({
279
+ config: z.object({}).optional(),
280
+ description: z.string().optional(),
281
+ enabled: z.boolean().optional(),
282
+ icon: z.string().optional(),
283
+ name: z.string().optional(),
284
+ platformId: z.string(),
285
+ tags: z.array(z.string()).optional(),
286
+ }))
287
+ .optional(),
288
+ options: z
289
+ .object({
290
+ overwrite: z.boolean().optional(),
291
+ skipDuplicates: z.boolean().optional(),
292
+ })
293
+ .optional(),
294
+ });
295
+ /**
296
+ * ImportPAccountsResponse schema
297
+ */
298
+ export const zImportPAccountsResponse = z.object({
299
+ errors: z
300
+ .array(z.object({
301
+ line: z.number().int().optional(),
302
+ message: z.string().optional(),
303
+ }))
304
+ .optional(),
305
+ imported: z.number().int().optional(),
306
+ skipped: z.number().int().optional(),
307
+ success: z.boolean().optional(),
308
+ });
309
+ /**
310
+ * ImportPlatformsRequest schema
311
+ */
312
+ export const zImportPlatformsRequest = z.object({
313
+ data: z
314
+ .array(z.object({
315
+ description: z.string().optional(),
316
+ loginUrl: z.string().optional(),
317
+ name: z.string(),
318
+ tags: z.array(z.string()).optional(),
319
+ url: z.string().optional(),
320
+ }))
321
+ .optional(),
322
+ options: z
323
+ .object({
324
+ overwrite: z.boolean().optional(),
325
+ skipDuplicates: z.boolean().optional(),
326
+ })
327
+ .optional(),
328
+ });
329
+ /**
330
+ * ImportPlatformsResponse schema
331
+ */
332
+ export const zImportPlatformsResponse = z.object({
333
+ errors: z
334
+ .array(z.object({
335
+ line: z.number().int().optional(),
336
+ message: z.string().optional(),
337
+ }))
338
+ .optional(),
339
+ imported: z.number().int().optional(),
340
+ skipped: z.number().int().optional(),
341
+ success: z.boolean().optional(),
342
+ });
343
+ /**
344
+ * ListAgentsResponse schema
345
+ */
346
+ export const zListAgentsResponse = z.object({
347
+ agents: z
348
+ .array(z.object({
349
+ config: z.object({}),
350
+ created_at: z.string().datetime(),
351
+ description: z.string().optional(),
352
+ id: z.string(),
353
+ name: z.string(),
354
+ state: z.object({}),
355
+ status: z.string(),
356
+ tenant_id: z.string().optional(),
357
+ updated_at: z.string().datetime().optional(),
358
+ }))
359
+ .optional(),
360
+ pagination: z
361
+ .object({
362
+ limit: z.number().int().optional(),
363
+ page: z.number().int().optional(),
364
+ total_count: z.coerce.bigint().optional(),
365
+ total_pages: z.number().int().optional(),
366
+ })
367
+ .optional(),
368
+ });
369
+ /**
370
+ * ListMessagesResponse schema
371
+ */
372
+ export const zListMessagesResponse = z.object({
373
+ data: z.array(z.object({
374
+ createdAt: z.string().optional(),
375
+ errorMessage: z.string().optional(),
376
+ font: z.number().int().optional(),
377
+ groupId: z.coerce.bigint().optional(),
378
+ id: z.string(),
379
+ message: z.string().optional(),
380
+ messageId: z.coerce.bigint().optional(),
381
+ messageType: z.string().optional(),
382
+ metadata: z.string().optional(),
383
+ postType: z.string(),
384
+ processed: z.boolean().optional(),
385
+ processedAt: z.string().optional(),
386
+ rawData: z.string().optional(),
387
+ rawMessage: z.string().optional(),
388
+ selfId: z.string(),
389
+ senderCard: z.string().optional(),
390
+ senderNickname: z.string().optional(),
391
+ senderRole: z.string().optional(),
392
+ subType: z.string().optional(),
393
+ time: z.coerce.bigint().optional(),
394
+ updatedAt: z.string().optional(),
395
+ userId: z.coerce.bigint().optional(),
396
+ })),
397
+ limit: z.number().int().gte(0).lte(100),
398
+ page: z.number().int(),
399
+ total: z.number().int(),
400
+ });
401
+ /**
402
+ * ListSbServicesResponse schema
403
+ */
404
+ export const zListSbServicesResponse = z.object({
405
+ pagination: z
406
+ .object({
407
+ limit: z.number().int().optional(),
408
+ page: z.number().int().optional(),
409
+ total_count: z.coerce.bigint().optional(),
410
+ total_pages: z.number().int().optional(),
411
+ })
412
+ .optional(),
413
+ services: z
414
+ .array(z.object({
415
+ config: z.object({}).optional(),
416
+ created_at: z.string().datetime().optional(),
417
+ deploy_type: z.string().optional(),
418
+ description: z.string().optional(),
419
+ id: z.string().optional(),
420
+ name: z.string().optional(),
421
+ server_url: z.string().optional(),
422
+ state: z.object({}).optional(),
423
+ status: z.string().optional(),
424
+ tenant_id: z.string().optional(),
425
+ updated_at: z.string().datetime().optional(),
426
+ }))
427
+ .optional(),
428
+ });
429
+ /**
430
+ * ListSessionsResponse schema
431
+ */
432
+ export const zListSessionsResponse = z.object({
433
+ data: z
434
+ .array(z.object({
435
+ createdAt: z.string().optional(),
436
+ id: z.string().optional(),
437
+ isActive: z.boolean().optional(),
438
+ lastMessageAt: z.string().optional(),
439
+ messageCount: z.number().int().optional(),
440
+ selfId: z.string().optional(),
441
+ sessionId: z.string().optional(),
442
+ sessionName: z.string().optional(),
443
+ sessionType: z.string().optional(),
444
+ updatedAt: z.string().optional(),
445
+ }))
446
+ .optional(),
447
+ limit: z.number().int().optional(),
448
+ page: z.number().int().optional(),
449
+ total: z.number().int().optional(),
450
+ });
451
+ /**
452
+ * LoginChatbotRequest schema
453
+ */
454
+ export const zLoginChatbotRequest = z.object({
455
+ chatbotId: z.string(),
456
+ });
457
+ /**
458
+ * LoginChatbotResponse schema
459
+ */
460
+ export const zLoginChatbotResponse = z.object({
461
+ chatbotId: z.string().optional(),
462
+ currentStatus: z.string().optional(),
463
+ message: z.string().optional(),
464
+ success: z.boolean().optional(),
465
+ workflowId: z.string().optional(),
466
+ });
467
+ /**
468
+ * MessageResponse schema
469
+ */
470
+ export const zMessageResponse = z.object({
471
+ createdAt: z.string().optional(),
472
+ errorMessage: z.string().optional(),
473
+ font: z.number().int().optional(),
474
+ groupId: z.coerce.bigint().optional(),
475
+ id: z.string(),
476
+ message: z.string().optional(),
477
+ messageId: z.coerce.bigint().optional(),
478
+ messageType: z.string().optional(),
479
+ metadata: z.string().optional(),
480
+ postType: z.string(),
481
+ processed: z.boolean().optional(),
482
+ processedAt: z.string().optional(),
483
+ rawData: z.string().optional(),
484
+ rawMessage: z.string().optional(),
485
+ selfId: z.string(),
486
+ senderCard: z.string().optional(),
487
+ senderNickname: z.string().optional(),
488
+ senderRole: z.string().optional(),
489
+ subType: z.string().optional(),
490
+ time: z.coerce.bigint().optional(),
491
+ updatedAt: z.string().optional(),
492
+ userId: z.coerce.bigint().optional(),
493
+ });
494
+ /**
495
+ * NapcatStatus schema
496
+ */
497
+ export const zNapcatStatus = z.object({
498
+ config_dir: z.string().optional(),
499
+ data_dir: z.string().optional(),
500
+ is_running: z.boolean().optional(),
501
+ napcat_port: z.number().int().optional(),
502
+ process_id: z.number().int().optional(),
503
+ webui_port: z.number().int().optional(),
504
+ });
505
+ /**
506
+ * OperationMessage schema
507
+ */
508
+ export const zOperationMessage = z.object({
509
+ message: z.string().optional(),
510
+ });
511
+ /**
512
+ * OperationSuccess schema
513
+ */
514
+ export const zOperationSuccess = z.object({
515
+ success: z.boolean().optional(),
516
+ });
517
+ /**
518
+ * PAccountListData schema
519
+ */
520
+ export const zPAccountListData = z.object({
521
+ accounts: z
522
+ .array(z.object({
523
+ config: z.object({}).optional(),
524
+ createdAt: z.string().datetime().optional(),
525
+ description: z.string().optional(),
526
+ enabled: z.boolean().optional(),
527
+ error: z.string().optional(),
528
+ icon: z.string().optional(),
529
+ id: z.string().optional(),
530
+ name: z.string().optional(),
531
+ platform: z
532
+ .object({
533
+ description: z.string().optional(),
534
+ id: z.string().optional(),
535
+ name: z.string().optional(),
536
+ })
537
+ .optional(),
538
+ platformId: z.string().optional(),
539
+ state: z.object({}).optional(),
540
+ tags: z.array(z.string()).optional(),
541
+ updatedAt: z.string().datetime().optional(),
542
+ }))
543
+ .optional(),
544
+ limit: z.number().int().optional(),
545
+ page: z.number().int().optional(),
546
+ total: z.coerce.bigint().optional(),
547
+ });
548
+ /**
549
+ * PAccountResponse schema
550
+ */
551
+ export const zPAccountResponse = z.object({
552
+ config: z.object({}).optional(),
553
+ createdAt: z.string().datetime().optional(),
554
+ description: z.string().optional(),
555
+ enabled: z.boolean().optional(),
556
+ error: z.string().optional(),
557
+ icon: z.string().optional(),
558
+ id: z.string().optional(),
559
+ name: z.string().optional(),
560
+ platform: z
561
+ .object({
562
+ description: z.string().optional(),
563
+ id: z.string().optional(),
564
+ name: z.string().optional(),
565
+ })
566
+ .optional(),
567
+ platformId: z.string().optional(),
568
+ state: z.object({}).optional(),
569
+ tags: z.array(z.string()).optional(),
570
+ updatedAt: z.string().datetime().optional(),
571
+ });
572
+ /**
573
+ * PAccountSession schema
574
+ */
575
+ export const zPAccountSession = z.object({
576
+ createdAt: z.string().datetime().optional(),
577
+ id: z.string().optional(),
578
+ metadata: z.object({}).optional(),
579
+ status: z.string().optional(),
580
+ updatedAt: z.string().datetime().optional(),
581
+ });
582
+ /**
583
+ * PlatformListData schema
584
+ */
585
+ export const zPlatformListData = z.object({
586
+ limit: z.number().int().optional(),
587
+ page: z.number().int().optional(),
588
+ platforms: z
589
+ .array(z.object({
590
+ createdAt: z.string().datetime().optional(),
591
+ description: z.string().optional(),
592
+ id: z.string().optional(),
593
+ loginUrl: z.string().optional(),
594
+ name: z.string().optional(),
595
+ tags: z.array(z.string()).optional(),
596
+ updatedAt: z.string().datetime().optional(),
597
+ url: z.string().optional(),
598
+ }))
599
+ .optional(),
600
+ total: z.coerce.bigint().optional(),
601
+ });
602
+ /**
603
+ * PlatformResponse schema
604
+ */
605
+ export const zPlatformResponse = z.object({
606
+ createdAt: z.string().datetime().optional(),
607
+ description: z.string().optional(),
608
+ id: z.string().optional(),
609
+ loginUrl: z.string().optional(),
610
+ name: z.string().optional(),
611
+ tags: z.array(z.string()).optional(),
612
+ updatedAt: z.string().datetime().optional(),
613
+ url: z.string().optional(),
614
+ });
615
+ /**
616
+ * PlatformTypeListResponse schema
617
+ */
618
+ export const zPlatformTypeListResponse = z.object({
619
+ data: z
620
+ .array(z.object({
621
+ code: z.string().optional(),
622
+ createdAt: z.string().optional(),
623
+ enabled: z.boolean().optional(),
624
+ id: z.string().optional(),
625
+ name: z.string().optional(),
626
+ updatedAt: z.string().optional(),
627
+ }))
628
+ .optional(),
629
+ limit: z.number().int().optional(),
630
+ page: z.number().int().optional(),
631
+ total: z.number().int().optional(),
632
+ });
633
+ /**
634
+ * ProxyListData schema
635
+ */
636
+ export const zProxyListData = z.object({
637
+ pagination: z
638
+ .object({
639
+ limit: z.number().int().optional(),
640
+ page: z.number().int().optional(),
641
+ total_count: z.coerce.bigint().optional(),
642
+ total_pages: z.number().int().optional(),
643
+ })
644
+ .optional(),
645
+ proxies: z
646
+ .array(z.object({
647
+ country_code: z.string().optional(),
648
+ created_at: z.string().datetime(),
649
+ description: z.string().optional(),
650
+ enabled: z.boolean().optional(),
651
+ id: z.string(),
652
+ name: z.string(),
653
+ port: z.number().int().optional(),
654
+ provider: z.string().optional(),
655
+ tenant_id: z.string().optional(),
656
+ type: z.string().optional(),
657
+ updated_at: z.string().datetime().optional(),
658
+ url: z.string(),
659
+ }))
660
+ .optional(),
661
+ });
662
+ /**
663
+ * ProxyResponse schema
664
+ */
665
+ export const zProxyResponse = z.object({
666
+ country_code: z.string().optional(),
667
+ created_at: z.string().datetime(),
668
+ description: z.string().optional(),
669
+ enabled: z.boolean().optional(),
670
+ id: z.string(),
671
+ name: z.string(),
672
+ port: z.number().int().optional(),
673
+ provider: z.string().optional(),
674
+ tenant_id: z.string().optional(),
675
+ type: z.string().optional(),
676
+ updated_at: z.string().datetime().optional(),
677
+ url: z.string(),
678
+ });
679
+ /**
680
+ * ProxyUpsertRequest schema
681
+ */
682
+ export const zProxyUpsertRequest = z.object({
683
+ description: z.string().optional(),
684
+ id: z.string().optional(),
685
+ name: z.string().optional(),
686
+ url: z.string(),
687
+ });
688
+ /**
689
+ * RunChatbotRequest schema
690
+ */
691
+ export const zRunChatbotRequest = z.object({
692
+ chatbotId: z.string(),
693
+ });
694
+ /**
695
+ * RunChatbotResponse schema
696
+ */
697
+ export const zRunChatbotResponse = z.object({
698
+ chatbotId: z.string().optional(),
699
+ currentStatus: z.string().optional(),
700
+ message: z.string().optional(),
701
+ success: z.boolean().optional(),
702
+ workflowId: z.string().optional(),
703
+ });
704
+ /**
705
+ * SbServiceResponse schema
706
+ */
707
+ export const zSbServiceResponse = z.object({
708
+ config: z.object({}).optional(),
709
+ created_at: z.string().datetime().optional(),
710
+ deploy_type: z.string().optional(),
711
+ description: z.string().optional(),
712
+ id: z.string().optional(),
713
+ name: z.string().optional(),
714
+ server_url: z.string().optional(),
715
+ state: z.object({}).optional(),
716
+ status: z.string().optional(),
717
+ tenant_id: z.string().optional(),
718
+ updated_at: z.string().datetime().optional(),
719
+ });
720
+ /**
721
+ * ScheduledWorkflowsList schema
722
+ */
723
+ export const zScheduledWorkflowsList = z.object({
724
+ pagination: z
725
+ .object({
726
+ current_page: z.coerce.bigint().optional(),
727
+ next_page: z.coerce.bigint().optional(),
728
+ num_pages: z.coerce.bigint().optional(),
729
+ })
730
+ .optional(),
731
+ rows: z
732
+ .array(z.object({
733
+ additionalMetadata: z.object({}).optional(),
734
+ input: z.object({}).optional(),
735
+ metadata: z
736
+ .object({
737
+ createdAt: z.string().datetime().optional(),
738
+ id: z.string().optional(),
739
+ updatedAt: z.string().datetime().optional(),
740
+ })
741
+ .optional(),
742
+ method: z.string().optional(),
743
+ priority: z.number().int().optional(),
744
+ tenantId: z.string().optional(),
745
+ triggerAt: z.string().datetime().optional(),
746
+ workflowId: z.string().optional(),
747
+ workflowName: z.string().optional(),
748
+ workflowRunCreatedAt: z.string().datetime().optional(),
749
+ workflowRunId: z.unknown().optional(),
750
+ workflowRunName: z.string().optional(),
751
+ workflowRunStatus: z.string().optional(),
752
+ workflowVersionId: z.string().optional(),
753
+ }))
754
+ .optional(),
755
+ });
756
+ /**
757
+ * ServiceTypesResponse schema
758
+ */
759
+ export const zServiceTypesResponse = z.object({
760
+ service_types: z
761
+ .array(z.object({
762
+ category: z.string().optional(),
763
+ description: z.string().optional(),
764
+ id: z.string().optional(),
765
+ image: z.string().optional(),
766
+ name: z.string().optional(),
767
+ }))
768
+ .optional(),
769
+ });
770
+ /**
771
+ * SessionResponse schema
772
+ */
773
+ export const zSessionResponse = z.object({
774
+ tid: z.string().optional(),
775
+ uid: z.string().optional(),
776
+ });
777
+ /**
778
+ * StartNapcatRequest schema
779
+ */
780
+ export const zStartNapcatRequest = z.object({
781
+ sandboxId: z.string(),
782
+ sandbox_type: z.string(),
783
+ });
784
+ /**
785
+ * StartNapcatResponse schema
786
+ */
787
+ export const zStartNapcatResponse = z.object({
788
+ error: z.string().optional(),
789
+ sandboxId: z.string().optional(),
790
+ });
791
+ /**
792
+ * UpdateAgentRequest schema
793
+ */
794
+ export const zUpdateAgentRequest = z.object({
795
+ config: z.object({}).optional(),
796
+ description: z.string().optional(),
797
+ name: z.string().optional(),
798
+ state: z.object({}).optional(),
799
+ status: z.string().optional(),
800
+ });
801
+ /**
802
+ * UpdatePAccountRequest schema
803
+ */
804
+ export const zUpdatePAccountRequest = z.object({
805
+ config: z.object({}).optional(),
806
+ description: z.string().optional(),
807
+ enabled: z.boolean().optional(),
808
+ icon: z.string().optional(),
809
+ name: z.string().optional(),
810
+ platformId: z.string(),
811
+ tags: z.array(z.string()).optional(),
812
+ });
813
+ /**
814
+ * UpdatePlatformRequest schema
815
+ */
816
+ export const zUpdatePlatformRequest = z.object({
817
+ description: z.string().optional(),
818
+ loginUrl: z.string().optional(),
819
+ name: z.string(),
820
+ tags: z.array(z.string()).optional(),
821
+ url: z.string().optional(),
822
+ });
823
+ /**
824
+ * UpdateSessionRequest schema
825
+ */
826
+ export const zUpdateSessionRequest = z.object({
827
+ config: z.object({}).optional(),
828
+ status: z.string().optional(),
829
+ });
830
+ /**
831
+ * UserResponse schema
832
+ */
833
+ export const zUserResponse = z.object({
834
+ avatarUrl: z.string().optional(),
835
+ email: z.string().optional(),
836
+ hasPassword: z.boolean().optional(),
837
+ hashedEmail: z.string().optional(),
838
+ id: z.string().optional(),
839
+ name: z.string().optional(),
840
+ });
841
+ /**
842
+ * bool schema
843
+ */
844
+ export const zBool = z.boolean();
845
+ /**
846
+ * string schema
847
+ */
848
+ export const zString = z.string();
849
+ /**
850
+ * unknown-interface schema
851
+ */
852
+ export const zUnknownInterface = z.unknown();
853
+ export const zAgentListData = z.object({
854
+ body: z.never().optional(),
855
+ path: z.never().optional(),
856
+ query: z.never().optional(),
857
+ headers: z
858
+ .object({
859
+ Accept: z.string().optional(),
860
+ })
861
+ .optional(),
862
+ });
863
+ /**
864
+ * OK
865
+ */
866
+ export const zAgentListResponse = zListAgentsResponse;
867
+ export const zAgentCreateData = z.object({
868
+ body: zCreateAgentRequest,
869
+ path: z.never().optional(),
870
+ query: z.never().optional(),
871
+ headers: z
872
+ .object({
873
+ Accept: z.string().optional(),
874
+ })
875
+ .optional(),
876
+ });
877
+ /**
878
+ * OK
879
+ */
880
+ export const zAgentCreateResponse = zAgentResponse;
881
+ export const zGetApiV2AgentsDemoChatData = z.object({
882
+ body: z.never().optional(),
883
+ path: z.never().optional(),
884
+ query: z.never().optional(),
885
+ headers: z
886
+ .object({
887
+ Accept: z.string().optional(),
888
+ })
889
+ .optional(),
890
+ });
891
+ /**
892
+ * OK
893
+ */
894
+ export const zGetApiV2AgentsDemoChatResponse = zAgentResponse;
895
+ export const zAgentEventData = z.object({
896
+ body: zAgentEventPushRequest,
897
+ path: z.never().optional(),
898
+ query: z.never().optional(),
899
+ headers: z
900
+ .object({
901
+ Accept: z.string().optional(),
902
+ })
903
+ .optional(),
904
+ });
905
+ /**
906
+ * OK
907
+ */
908
+ export const zAgentEventResponse = zAgentEventPushResponse;
909
+ export const zAgentScheduleData = z.object({
910
+ body: z.never().optional(),
911
+ path: z.never().optional(),
912
+ query: z.never().optional(),
913
+ headers: z
914
+ .object({
915
+ Accept: z.string().optional(),
916
+ })
917
+ .optional(),
918
+ });
919
+ /**
920
+ * OK
921
+ */
922
+ export const zAgentScheduleResponse = zScheduledWorkflowsList;
923
+ export const zAgentDeleteData = z.object({
924
+ body: z.never().optional(),
925
+ path: z.object({
926
+ agentId: z.string(),
927
+ }),
928
+ query: z.never().optional(),
929
+ headers: z
930
+ .object({
931
+ Accept: z.string().optional(),
932
+ })
933
+ .optional(),
934
+ });
935
+ /**
936
+ * OK
937
+ */
938
+ export const zAgentDeleteResponse = zString;
939
+ export const zAgentGetData = z.object({
940
+ body: z.never().optional(),
941
+ path: z.object({
942
+ agentId: z.string(),
943
+ }),
944
+ query: z.never().optional(),
945
+ headers: z
946
+ .object({
947
+ Accept: z.string().optional(),
948
+ })
949
+ .optional(),
950
+ });
951
+ /**
952
+ * OK
953
+ */
954
+ export const zAgentGetResponse = zAgentResponse;
955
+ export const zAgentUpdateData = z.object({
956
+ body: zUpdateAgentRequest,
957
+ path: z.object({
958
+ agentId: z.string(),
959
+ }),
960
+ query: z.never().optional(),
961
+ headers: z
962
+ .object({
963
+ Accept: z.string().optional(),
964
+ })
965
+ .optional(),
966
+ });
967
+ /**
968
+ * OK
969
+ */
970
+ export const zAgentUpdateResponse = zAgentResponse;
971
+ export const zLangchatChatbotsListData = z.object({
972
+ body: z.never().optional(),
973
+ path: z.never().optional(),
974
+ query: z.never().optional(),
975
+ headers: z
976
+ .object({
977
+ Accept: z.string().optional(),
978
+ })
979
+ .optional(),
980
+ });
981
+ /**
982
+ * OK
983
+ */
984
+ export const zLangchatChatbotsListResponse = zChatbotListResponse;
985
+ export const zLangchatChatbotsUpsertData = z.object({
986
+ body: zChatbotUpsertRequest,
987
+ path: z.never().optional(),
988
+ query: z.never().optional(),
989
+ headers: z
990
+ .object({
991
+ Accept: z.string().optional(),
992
+ })
993
+ .optional(),
994
+ });
995
+ /**
996
+ * OK
997
+ */
998
+ export const zLangchatChatbotsUpsertResponse = zChatbotResponse;
999
+ export const zLangchatChatbotsLoginData = z.object({
1000
+ body: zLoginChatbotRequest,
1001
+ path: z.never().optional(),
1002
+ query: z.never().optional(),
1003
+ headers: z
1004
+ .object({
1005
+ Accept: z.string().optional(),
1006
+ })
1007
+ .optional(),
1008
+ });
1009
+ /**
1010
+ * OK
1011
+ */
1012
+ export const zLangchatChatbotsLoginResponse = zLoginChatbotResponse;
1013
+ export const zLangchatChatbotsRunData = z.object({
1014
+ body: zRunChatbotRequest,
1015
+ path: z.never().optional(),
1016
+ query: z.never().optional(),
1017
+ headers: z
1018
+ .object({
1019
+ Accept: z.string().optional(),
1020
+ })
1021
+ .optional(),
1022
+ });
1023
+ /**
1024
+ * OK
1025
+ */
1026
+ export const zLangchatChatbotsRunResponse = zRunChatbotResponse;
1027
+ export const zLangchatChatbotsDeleteData = z.object({
1028
+ body: z.never().optional(),
1029
+ path: z.object({
1030
+ chatbotId: z.string(),
1031
+ }),
1032
+ query: z.never().optional(),
1033
+ headers: z
1034
+ .object({
1035
+ Accept: z.string().optional(),
1036
+ })
1037
+ .optional(),
1038
+ });
1039
+ /**
1040
+ * OK
1041
+ */
1042
+ export const zLangchatChatbotsDeleteResponse = zString;
1043
+ export const zLangchatChatbotsGetData = z.object({
1044
+ body: z.never().optional(),
1045
+ path: z.object({
1046
+ chatbotId: z.string(),
1047
+ }),
1048
+ query: z.never().optional(),
1049
+ headers: z
1050
+ .object({
1051
+ Accept: z.string().optional(),
1052
+ })
1053
+ .optional(),
1054
+ });
1055
+ /**
1056
+ * OK
1057
+ */
1058
+ export const zLangchatChatbotsGetResponse = zChatbotResponse;
1059
+ export const zLangchatChatbotsUpdateData = z.object({
1060
+ body: zChatbotUpsertRequest,
1061
+ path: z.object({
1062
+ chatbotId: z.string(),
1063
+ }),
1064
+ query: z.never().optional(),
1065
+ headers: z
1066
+ .object({
1067
+ Accept: z.string().optional(),
1068
+ })
1069
+ .optional(),
1070
+ });
1071
+ /**
1072
+ * OK
1073
+ */
1074
+ export const zLangchatChatbotsUpdateResponse = zChatbotResponse;
1075
+ export const zLangchatPlatformTypesData = z.object({
1076
+ body: z.never().optional(),
1077
+ path: z.never().optional(),
1078
+ query: z.never().optional(),
1079
+ headers: z
1080
+ .object({
1081
+ Accept: z.string().optional(),
1082
+ })
1083
+ .optional(),
1084
+ });
1085
+ /**
1086
+ * OK
1087
+ */
1088
+ export const zLangchatPlatformTypesResponse = zPlatformTypeListResponse;
1089
+ export const zNapcatStartData = z.object({
1090
+ body: zStartNapcatRequest,
1091
+ path: z.never().optional(),
1092
+ query: z.never().optional(),
1093
+ headers: z
1094
+ .object({
1095
+ Accept: z.string().optional(),
1096
+ })
1097
+ .optional(),
1098
+ });
1099
+ /**
1100
+ * OK
1101
+ */
1102
+ export const zNapcatStartResponse = zNapcatStatus;
1103
+ export const zNapcatGetStatusData = z.object({
1104
+ body: z.never().optional(),
1105
+ path: z.never().optional(),
1106
+ query: z.never().optional(),
1107
+ headers: z
1108
+ .object({
1109
+ Accept: z.string().optional(),
1110
+ })
1111
+ .optional(),
1112
+ });
1113
+ /**
1114
+ * OK
1115
+ */
1116
+ export const zNapcatGetStatusResponse = zNapcatStatus;
1117
+ export const zNapcatProxyOneBot11GetData = z.object({
1118
+ body: z.never().optional(),
1119
+ path: z.never().optional(),
1120
+ query: z.never().optional(),
1121
+ headers: z
1122
+ .object({
1123
+ Accept: z.string().optional(),
1124
+ })
1125
+ .optional(),
1126
+ });
1127
+ /**
1128
+ * OK
1129
+ */
1130
+ export const zNapcatProxyOneBot11GetResponse = zUnknownInterface;
1131
+ export const zNapcatProxyOneBot11PostData = z.object({
1132
+ body: z.never().optional(),
1133
+ path: z.never().optional(),
1134
+ query: z.never().optional(),
1135
+ headers: z
1136
+ .object({
1137
+ Accept: z.string().optional(),
1138
+ })
1139
+ .optional(),
1140
+ });
1141
+ /**
1142
+ * OK
1143
+ */
1144
+ export const zNapcatProxyOneBot11PostResponse = zUnknownInterface;
1145
+ export const zLangchatChatbotsMessagesListData = z.object({
1146
+ body: z.never().optional(),
1147
+ path: z.never().optional(),
1148
+ query: z
1149
+ .object({
1150
+ selfId: z.string().optional(),
1151
+ postType: z.string().optional(),
1152
+ messageType: z.string().optional(),
1153
+ userId: z.number().int().optional(),
1154
+ groupId: z.number().int().optional(),
1155
+ processed: z.boolean().optional(),
1156
+ search: z.string().optional(),
1157
+ page: z.number().int().optional().default(1),
1158
+ limit: z.number().int().optional().default(20),
1159
+ orderBy: z.string().optional().default("createdAt"),
1160
+ orderDesc: z.boolean().optional().default(true),
1161
+ })
1162
+ .optional(),
1163
+ headers: z
1164
+ .object({
1165
+ Accept: z.string().optional(),
1166
+ })
1167
+ .optional(),
1168
+ });
1169
+ /**
1170
+ * OK
1171
+ */
1172
+ export const zLangchatChatbotsMessagesListResponse = zListMessagesResponse;
1173
+ export const zLangchatChatbotsMessagesGetData = z.object({
1174
+ body: z.never().optional(),
1175
+ path: z.object({
1176
+ id: z.string(),
1177
+ }),
1178
+ query: z.never().optional(),
1179
+ headers: z
1180
+ .object({
1181
+ Accept: z.string().optional(),
1182
+ })
1183
+ .optional(),
1184
+ });
1185
+ /**
1186
+ * OK
1187
+ */
1188
+ export const zLangchatChatbotsMessagesGetResponse = zMessageResponse;
1189
+ export const zLangchatChatbotsSessionsListData = z.object({
1190
+ body: z.never().optional(),
1191
+ path: z.never().optional(),
1192
+ query: z
1193
+ .object({
1194
+ selfId: z.string().optional(),
1195
+ sessionType: z.string().optional(),
1196
+ isActive: z.boolean().optional(),
1197
+ page: z.number().int().optional().default(1),
1198
+ limit: z.number().int().optional().default(20),
1199
+ })
1200
+ .optional(),
1201
+ headers: z
1202
+ .object({
1203
+ Accept: z.string().optional(),
1204
+ })
1205
+ .optional(),
1206
+ });
1207
+ /**
1208
+ * OK
1209
+ */
1210
+ export const zLangchatChatbotsSessionsListResponse = zListSessionsResponse;
1211
+ export const zPAccountListData2 = z.object({
1212
+ body: z.never().optional(),
1213
+ path: z.never().optional(),
1214
+ query: z.never().optional(),
1215
+ headers: z
1216
+ .object({
1217
+ Accept: z.string().optional(),
1218
+ })
1219
+ .optional(),
1220
+ });
1221
+ /**
1222
+ * OK
1223
+ */
1224
+ export const zPAccountListResponse = zPAccountListData;
1225
+ export const zPAccountCreateData = z.object({
1226
+ body: zCreatePAccountRequest,
1227
+ path: z.never().optional(),
1228
+ query: z.never().optional(),
1229
+ headers: z
1230
+ .object({
1231
+ Accept: z.string().optional(),
1232
+ })
1233
+ .optional(),
1234
+ });
1235
+ /**
1236
+ * OK
1237
+ */
1238
+ export const zPAccountCreateResponse = zPAccountResponse;
1239
+ export const zPAccountExportData = z.object({
1240
+ body: z.never().optional(),
1241
+ path: z.never().optional(),
1242
+ query: z.never().optional(),
1243
+ headers: z
1244
+ .object({
1245
+ Accept: z.string().optional(),
1246
+ })
1247
+ .optional(),
1248
+ });
1249
+ /**
1250
+ * OK
1251
+ */
1252
+ export const zPAccountExportResponse = zExportPAccountsResponse;
1253
+ export const zPAccountImportData = z.object({
1254
+ body: zImportPAccountsRequest,
1255
+ path: z.never().optional(),
1256
+ query: z.never().optional(),
1257
+ headers: z
1258
+ .object({
1259
+ Accept: z.string().optional(),
1260
+ })
1261
+ .optional(),
1262
+ });
1263
+ /**
1264
+ * OK
1265
+ */
1266
+ export const zPAccountImportResponse = zImportPAccountsResponse;
1267
+ export const zPAccountDeleteData = z.object({
1268
+ body: z.never().optional(),
1269
+ path: z.object({
1270
+ accountId: z.string(),
1271
+ }),
1272
+ query: z.never().optional(),
1273
+ headers: z
1274
+ .object({
1275
+ Accept: z.string().optional(),
1276
+ })
1277
+ .optional(),
1278
+ });
1279
+ /**
1280
+ * OK
1281
+ */
1282
+ export const zPAccountDeleteResponse = zBool;
1283
+ export const zPAccountGetData = z.object({
1284
+ body: z.never().optional(),
1285
+ path: z.object({
1286
+ accountId: z.string(),
1287
+ }),
1288
+ query: z.never().optional(),
1289
+ headers: z
1290
+ .object({
1291
+ Accept: z.string().optional(),
1292
+ })
1293
+ .optional(),
1294
+ });
1295
+ /**
1296
+ * OK
1297
+ */
1298
+ export const zPAccountGetResponse = zPAccountResponse;
1299
+ export const zPAccountUpdateData = z.object({
1300
+ body: zUpdatePAccountRequest,
1301
+ path: z.object({
1302
+ accountId: z.string(),
1303
+ }),
1304
+ query: z.never().optional(),
1305
+ headers: z
1306
+ .object({
1307
+ Accept: z.string().optional(),
1308
+ })
1309
+ .optional(),
1310
+ });
1311
+ /**
1312
+ * OK
1313
+ */
1314
+ export const zPAccountUpdateResponse = zPAccountResponse;
1315
+ export const zPAccountListBrowserConfigsData = z.object({
1316
+ body: z.never().optional(),
1317
+ path: z.object({
1318
+ accountId: z.string(),
1319
+ }),
1320
+ query: z.never().optional(),
1321
+ headers: z
1322
+ .object({
1323
+ Accept: z.string().optional(),
1324
+ })
1325
+ .optional(),
1326
+ });
1327
+ /**
1328
+ * OK
1329
+ */
1330
+ export const zPAccountListBrowserConfigsResponse = z.array(zBrowserConfig);
1331
+ export const zPAccountCreateBrowserConfigData = z.object({
1332
+ body: zBrowserConfigCreate,
1333
+ path: z.object({
1334
+ accountId: z.string(),
1335
+ }),
1336
+ query: z.never().optional(),
1337
+ headers: z
1338
+ .object({
1339
+ Accept: z.string().optional(),
1340
+ })
1341
+ .optional(),
1342
+ });
1343
+ /**
1344
+ * OK
1345
+ */
1346
+ export const zPAccountCreateBrowserConfigResponse = zOperationMessage;
1347
+ export const zPAccountLaunchBrowserData = z.object({
1348
+ body: z.never().optional(),
1349
+ path: z.object({
1350
+ accountId: z.string(),
1351
+ }),
1352
+ query: z.never().optional(),
1353
+ headers: z
1354
+ .object({
1355
+ Accept: z.string().optional(),
1356
+ })
1357
+ .optional(),
1358
+ });
1359
+ /**
1360
+ * OK
1361
+ */
1362
+ export const zPAccountLaunchBrowserResponse = zOperationMessage;
1363
+ export const zPAccountListSessionsData = z.object({
1364
+ body: z.never().optional(),
1365
+ path: z.object({
1366
+ accountId: z.string(),
1367
+ }),
1368
+ query: z.never().optional(),
1369
+ headers: z
1370
+ .object({
1371
+ Accept: z.string().optional(),
1372
+ })
1373
+ .optional(),
1374
+ });
1375
+ /**
1376
+ * OK
1377
+ */
1378
+ export const zPAccountListSessionsResponse = z.array(zPAccountSession);
1379
+ export const zPAccountCreateSessionData = z.object({
1380
+ body: zCreateSessionRequest,
1381
+ path: z.object({
1382
+ accountId: z.string(),
1383
+ }),
1384
+ query: z.never().optional(),
1385
+ headers: z
1386
+ .object({
1387
+ Accept: z.string().optional(),
1388
+ })
1389
+ .optional(),
1390
+ });
1391
+ /**
1392
+ * OK
1393
+ */
1394
+ export const zPAccountCreateSessionResponse = zOperationMessage;
1395
+ export const zPAccountDeleteSessionData = z.object({
1396
+ body: z.never().optional(),
1397
+ path: z.object({
1398
+ accountId: z.string(),
1399
+ sessionId: z.string(),
1400
+ }),
1401
+ query: z.never().optional(),
1402
+ headers: z
1403
+ .object({
1404
+ Accept: z.string().optional(),
1405
+ })
1406
+ .optional(),
1407
+ });
1408
+ /**
1409
+ * OK
1410
+ */
1411
+ export const zPAccountDeleteSessionResponse = zOperationSuccess;
1412
+ export const zPAccountGetSessionData = z.object({
1413
+ body: z.never().optional(),
1414
+ path: z.object({
1415
+ accountId: z.string(),
1416
+ sessionId: z.string(),
1417
+ }),
1418
+ query: z.never().optional(),
1419
+ headers: z
1420
+ .object({
1421
+ Accept: z.string().optional(),
1422
+ })
1423
+ .optional(),
1424
+ });
1425
+ /**
1426
+ * OK
1427
+ */
1428
+ export const zPAccountGetSessionResponse = zPAccountSession;
1429
+ export const zPAccountUpdateSessionData = z.object({
1430
+ body: zUpdateSessionRequest,
1431
+ path: z.object({
1432
+ accountId: z.string(),
1433
+ sessionId: z.string(),
1434
+ }),
1435
+ query: z.never().optional(),
1436
+ headers: z
1437
+ .object({
1438
+ Accept: z.string().optional(),
1439
+ })
1440
+ .optional(),
1441
+ });
1442
+ /**
1443
+ * OK
1444
+ */
1445
+ export const zPAccountUpdateSessionResponse = zOperationMessage;
1446
+ export const zPlatformListData2 = z.object({
1447
+ body: z.never().optional(),
1448
+ path: z.never().optional(),
1449
+ query: z.never().optional(),
1450
+ headers: z
1451
+ .object({
1452
+ Accept: z.string().optional(),
1453
+ })
1454
+ .optional(),
1455
+ });
1456
+ /**
1457
+ * OK
1458
+ */
1459
+ export const zPlatformListResponse = zPlatformListData;
1460
+ export const zPlatformCreateData = z.object({
1461
+ body: zCreatePlatformRequest,
1462
+ path: z.never().optional(),
1463
+ query: z.never().optional(),
1464
+ headers: z
1465
+ .object({
1466
+ Accept: z.string().optional(),
1467
+ })
1468
+ .optional(),
1469
+ });
1470
+ /**
1471
+ * OK
1472
+ */
1473
+ export const zPlatformCreateResponse = zPlatformResponse;
1474
+ export const zPlatformExportData = z.object({
1475
+ body: z.never().optional(),
1476
+ path: z.never().optional(),
1477
+ query: z.never().optional(),
1478
+ headers: z
1479
+ .object({
1480
+ Accept: z.string().optional(),
1481
+ })
1482
+ .optional(),
1483
+ });
1484
+ /**
1485
+ * OK
1486
+ */
1487
+ export const zPlatformExportResponse = zExportPlatformsResponse;
1488
+ export const zPlatformImportData = z.object({
1489
+ body: zImportPlatformsRequest,
1490
+ path: z.never().optional(),
1491
+ query: z.never().optional(),
1492
+ headers: z
1493
+ .object({
1494
+ Accept: z.string().optional(),
1495
+ })
1496
+ .optional(),
1497
+ });
1498
+ /**
1499
+ * OK
1500
+ */
1501
+ export const zPlatformImportResponse = zImportPlatformsResponse;
1502
+ export const zPlatformDeleteData = z.object({
1503
+ body: z.never().optional(),
1504
+ path: z.object({
1505
+ platformId: z.string(),
1506
+ }),
1507
+ query: z.never().optional(),
1508
+ headers: z
1509
+ .object({
1510
+ Accept: z.string().optional(),
1511
+ })
1512
+ .optional(),
1513
+ });
1514
+ /**
1515
+ * OK
1516
+ */
1517
+ export const zPlatformDeleteResponse = zBool;
1518
+ export const zPlatformGetData = z.object({
1519
+ body: z.never().optional(),
1520
+ path: z.object({
1521
+ platformId: z.string(),
1522
+ }),
1523
+ query: z.never().optional(),
1524
+ headers: z
1525
+ .object({
1526
+ Accept: z.string().optional(),
1527
+ })
1528
+ .optional(),
1529
+ });
1530
+ /**
1531
+ * OK
1532
+ */
1533
+ export const zPlatformGetResponse = zPlatformResponse;
1534
+ export const zPlatformUpdateData = z.object({
1535
+ body: zUpdatePlatformRequest,
1536
+ path: z.object({
1537
+ platformId: z.string(),
1538
+ }),
1539
+ query: z.never().optional(),
1540
+ headers: z
1541
+ .object({
1542
+ Accept: z.string().optional(),
1543
+ })
1544
+ .optional(),
1545
+ });
1546
+ /**
1547
+ * OK
1548
+ */
1549
+ export const zPlatformUpdateResponse = zPlatformResponse;
1550
+ export const zProxyListData2 = z.object({
1551
+ body: z.never().optional(),
1552
+ path: z.never().optional(),
1553
+ query: z.never().optional(),
1554
+ headers: z
1555
+ .object({
1556
+ Accept: z.string().optional(),
1557
+ })
1558
+ .optional(),
1559
+ });
1560
+ /**
1561
+ * OK
1562
+ */
1563
+ export const zProxyListResponse = zProxyListData;
1564
+ export const zProxyUpsertData = z.object({
1565
+ body: zProxyUpsertRequest,
1566
+ path: z.never().optional(),
1567
+ query: z.never().optional(),
1568
+ headers: z
1569
+ .object({
1570
+ Accept: z.string().optional(),
1571
+ })
1572
+ .optional(),
1573
+ });
1574
+ /**
1575
+ * OK
1576
+ */
1577
+ export const zProxyUpsertResponse = zProxyResponse;
1578
+ export const zProxyDeleteData = z.object({
1579
+ body: z.never().optional(),
1580
+ path: z.object({
1581
+ proxyId: z.string(),
1582
+ }),
1583
+ query: z.never().optional(),
1584
+ headers: z
1585
+ .object({
1586
+ Accept: z.string().optional(),
1587
+ })
1588
+ .optional(),
1589
+ });
1590
+ /**
1591
+ * OK
1592
+ */
1593
+ export const zProxyDeleteResponse = zUnknownInterface;
1594
+ export const zProxyGetData = z.object({
1595
+ body: z.never().optional(),
1596
+ path: z.object({
1597
+ proxyId: z.string(),
1598
+ }),
1599
+ query: z.never().optional(),
1600
+ headers: z
1601
+ .object({
1602
+ Accept: z.string().optional(),
1603
+ })
1604
+ .optional(),
1605
+ });
1606
+ /**
1607
+ * OK
1608
+ */
1609
+ export const zProxyGetResponse = zProxyResponse;
1610
+ export const zSandboxStartNapcatData = z.object({
1611
+ body: zStartNapcatRequest,
1612
+ path: z.never().optional(),
1613
+ query: z.never().optional(),
1614
+ headers: z
1615
+ .object({
1616
+ Accept: z.string().optional(),
1617
+ })
1618
+ .optional(),
1619
+ });
1620
+ /**
1621
+ * OK
1622
+ */
1623
+ export const zSandboxStartNapcatResponse = zStartNapcatResponse;
1624
+ export const zNapcatCheckStatusData = z.object({
1625
+ body: zCheckSandboxStatusRequest,
1626
+ path: z.never().optional(),
1627
+ query: z.never().optional(),
1628
+ headers: z
1629
+ .object({
1630
+ Accept: z.string().optional(),
1631
+ })
1632
+ .optional(),
1633
+ });
1634
+ /**
1635
+ * OK
1636
+ */
1637
+ export const zNapcatCheckStatusResponse = zCheckSandboxStatusResponse;
1638
+ export const zSbServiceListData = z.object({
1639
+ body: z.never().optional(),
1640
+ path: z.never().optional(),
1641
+ query: z.never().optional(),
1642
+ headers: z
1643
+ .object({
1644
+ Accept: z.string().optional(),
1645
+ })
1646
+ .optional(),
1647
+ });
1648
+ /**
1649
+ * OK
1650
+ */
1651
+ export const zSbServiceListResponse = zListSbServicesResponse;
1652
+ export const zSbServiceCreateData = z.object({
1653
+ body: zCreateSbServiceRequest,
1654
+ path: z.never().optional(),
1655
+ query: z.never().optional(),
1656
+ headers: z
1657
+ .object({
1658
+ Accept: z.string().optional(),
1659
+ })
1660
+ .optional(),
1661
+ });
1662
+ /**
1663
+ * OK
1664
+ */
1665
+ export const zSbServiceCreateResponse = zSbServiceResponse;
1666
+ export const zSbServiceGetServiceTypesData = z.object({
1667
+ body: z.never().optional(),
1668
+ path: z.never().optional(),
1669
+ query: z.never().optional(),
1670
+ headers: z
1671
+ .object({
1672
+ Accept: z.string().optional(),
1673
+ })
1674
+ .optional(),
1675
+ });
1676
+ /**
1677
+ * OK
1678
+ */
1679
+ export const zSbServiceGetServiceTypesResponse = zServiceTypesResponse;
1680
+ export const zSbServiceDeleteData = z.object({
1681
+ body: z.never().optional(),
1682
+ path: z.object({
1683
+ serviceId: z.string(),
1684
+ }),
1685
+ query: z.never().optional(),
1686
+ headers: z
1687
+ .object({
1688
+ Accept: z.string().optional(),
1689
+ })
1690
+ .optional(),
1691
+ });
1692
+ /**
1693
+ * OK
1694
+ */
1695
+ export const zSbServiceDeleteResponse = zUnknownInterface;
1696
+ export const zSbServiceGetData = z.object({
1697
+ body: z.never().optional(),
1698
+ path: z.object({
1699
+ serviceId: z.string(),
1700
+ }),
1701
+ query: z.never().optional(),
1702
+ headers: z
1703
+ .object({
1704
+ Accept: z.string().optional(),
1705
+ })
1706
+ .optional(),
1707
+ });
1708
+ /**
1709
+ * OK
1710
+ */
1711
+ export const zSbServiceGetResponse = zSbServiceResponse;
1712
+ export const zSessionGetCurrentData = z.object({
1713
+ body: z.never().optional(),
1714
+ path: z.never().optional(),
1715
+ query: z.never().optional(),
1716
+ headers: z
1717
+ .object({
1718
+ Accept: z.string().optional(),
1719
+ })
1720
+ .optional(),
1721
+ });
1722
+ /**
1723
+ * OK
1724
+ */
1725
+ export const zSessionGetCurrentResponse = zSessionResponse;
1726
+ export const zUserGetCurrentData = z.object({
1727
+ body: z.never().optional(),
1728
+ path: z.never().optional(),
1729
+ query: z.never().optional(),
1730
+ headers: z
1731
+ .object({
1732
+ Accept: z.string().optional(),
1733
+ })
1734
+ .optional(),
1735
+ });
1736
+ /**
1737
+ * OK
1738
+ */
1739
+ export const zUserGetCurrentResponse = zUserResponse;
1740
+ export const zNapcatProxyWebUigetData = z.object({
1741
+ body: z.never().optional(),
1742
+ path: z.never().optional(),
1743
+ query: z.never().optional(),
1744
+ headers: z
1745
+ .object({
1746
+ Accept: z.string().optional(),
1747
+ })
1748
+ .optional(),
1749
+ });
1750
+ /**
1751
+ * OK
1752
+ */
1753
+ export const zNapcatProxyWebUigetResponse = zUnknownInterface;
1754
+ export const zNapcatProxyWebUipostData = z.object({
1755
+ body: z.never().optional(),
1756
+ path: z.never().optional(),
1757
+ query: z.never().optional(),
1758
+ headers: z
1759
+ .object({
1760
+ Accept: z.string().optional(),
1761
+ })
1762
+ .optional(),
1763
+ });
1764
+ /**
1765
+ * OK
1766
+ */
1767
+ export const zNapcatProxyWebUipostResponse = zUnknownInterface;
1768
+ //# sourceMappingURL=zod.gen.js.map