mtmsdk 0.0.52 → 0.0.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. package/dist/gomtmapi/@tanstack/react-query.gen.d.ts +21 -173
  2. package/dist/gomtmapi/@tanstack/react-query.gen.d.ts.map +1 -1
  3. package/dist/gomtmapi/@tanstack/react-query.gen.js +39 -179
  4. package/dist/gomtmapi/@tanstack/react-query.gen.js.map +1 -1
  5. package/dist/gomtmapi/index.d.ts +2 -2
  6. package/dist/gomtmapi/index.d.ts.map +1 -1
  7. package/dist/gomtmapi/index.js +1 -1
  8. package/dist/gomtmapi/index.js.map +1 -1
  9. package/dist/gomtmapi/schemas.gen.d.ts +67 -81
  10. package/dist/gomtmapi/schemas.gen.d.ts.map +1 -1
  11. package/dist/gomtmapi/schemas.gen.js +68 -82
  12. package/dist/gomtmapi/schemas.gen.js.map +1 -1
  13. package/dist/gomtmapi/sdk.gen.d.ts +15 -95
  14. package/dist/gomtmapi/sdk.gen.d.ts.map +1 -1
  15. package/dist/gomtmapi/sdk.gen.js +22 -102
  16. package/dist/gomtmapi/sdk.gen.js.map +1 -1
  17. package/dist/gomtmapi/types.gen.d.ts +66 -209
  18. package/dist/gomtmapi/types.gen.d.ts.map +1 -1
  19. package/dist/gomtmapi/zod.gen.d.ts +48 -121
  20. package/dist/gomtmapi/zod.gen.d.ts.map +1 -1
  21. package/dist/gomtmapi/zod.gen.js +36 -99
  22. package/dist/gomtmapi/zod.gen.js.map +1 -1
  23. package/dist/sbmng/@tanstack/react-query.gen.d.ts +146 -146
  24. package/dist/sbmng/@tanstack/react-query.gen.js +6 -6
  25. package/dist/sbmng/schemas.gen.d.ts +4 -4
  26. package/dist/sbmng/schemas.gen.js +4 -4
  27. package/dist/sbmng/schemas.gen.js.map +1 -1
  28. package/dist/sbmng/sdk.gen.d.ts +6 -6
  29. package/dist/sbmng/sdk.gen.js +6 -6
  30. package/dist/supabase/auth-provider.d.ts +8 -1
  31. package/dist/supabase/auth-provider.d.ts.map +1 -1
  32. package/dist/supabase/context.d.ts +3844 -1
  33. package/dist/supabase/context.d.ts.map +1 -1
  34. package/dist/supabase/cursor-pagination.d.ts +4 -4
  35. package/dist/supabase/cursor-pagination.js +4 -4
  36. package/dist/supabase/schema/index.d.ts +1 -11
  37. package/dist/supabase/schema/index.d.ts.map +1 -1
  38. package/dist/supabase/schema/index.js +1 -19
  39. package/dist/supabase/schema/index.js.map +1 -1
  40. package/dist/supabase/schema/system-config.d.ts +12 -0
  41. package/dist/supabase/schema/system-config.d.ts.map +1 -0
  42. package/dist/supabase/schema/system-config.js +22 -0
  43. package/dist/supabase/schema/system-config.js.map +1 -0
  44. package/dist/supabase/supabase-client.d.ts +1 -471
  45. package/dist/supabase/supabase-client.d.ts.map +1 -1
  46. package/dist/supabase/supabase.d.ts +44 -984
  47. package/dist/supabase/supabase.d.ts.map +1 -1
  48. package/dist/supabase/use-sb-query/use-rpc-mutation.d.ts +8 -8
  49. package/dist/supabase/use-sb-query/use-rpc-mutation.js +8 -8
  50. package/dist/types/contracts.d.ts +63 -0
  51. package/dist/types/contracts.d.ts.map +1 -0
  52. package/dist/types/contracts.js +17 -0
  53. package/dist/types/contracts.js.map +1 -0
  54. package/dist/types/database.schemas.d.ts +27 -626
  55. package/dist/types/database.schemas.d.ts.map +1 -1
  56. package/dist/types/database.schemas.js +0 -432
  57. package/dist/types/database.schemas.js.map +1 -1
  58. package/dist/types/database.types.d.ts +1 -476
  59. package/dist/types/database.types.d.ts.map +1 -1
  60. package/dist/types/database.types.js +0 -10
  61. package/dist/types/database.types.js.map +1 -1
  62. package/dist/types/index.d.ts +9 -25
  63. package/dist/types/index.d.ts.map +1 -1
  64. package/dist/types/index.js +3 -5
  65. package/dist/types/index.js.map +1 -1
  66. package/package.json +101 -105
  67. package/dist/cloud-account/platform-configs.d.ts +0 -64
  68. package/dist/cloud-account/platform-configs.d.ts.map +0 -1
  69. package/dist/cloud-account/platform-configs.js +0 -44
  70. package/dist/cloud-account/platform-configs.js.map +0 -1
  71. package/dist/lib/aisdk/types.d.ts +0 -3
  72. package/dist/lib/aisdk/types.d.ts.map +0 -1
  73. package/dist/lib/aisdk/types.js +0 -5
  74. package/dist/lib/aisdk/types.js.map +0 -1
  75. package/dist/lib/logger/index.d.ts +0 -22
  76. package/dist/lib/logger/index.d.ts.map +0 -1
  77. package/dist/lib/logger/index.js +0 -7
  78. package/dist/lib/logger/index.js.map +0 -1
  79. package/dist/lib/schema.d.ts +0 -43
  80. package/dist/lib/schema.d.ts.map +0 -1
  81. package/dist/lib/schema.js +0 -28
  82. package/dist/lib/schema.js.map +0 -1
  83. package/dist/mtgate_api/client/client.gen.d.ts +0 -3
  84. package/dist/mtgate_api/client/client.gen.d.ts.map +0 -1
  85. package/dist/mtgate_api/client/client.gen.js +0 -236
  86. package/dist/mtgate_api/client/client.gen.js.map +0 -1
  87. package/dist/mtgate_api/client/index.d.ts +0 -9
  88. package/dist/mtgate_api/client/index.d.ts.map +0 -1
  89. package/dist/mtgate_api/client/index.js +0 -7
  90. package/dist/mtgate_api/client/index.js.map +0 -1
  91. package/dist/mtgate_api/client/types.gen.d.ts +0 -118
  92. package/dist/mtgate_api/client/types.gen.d.ts.map +0 -1
  93. package/dist/mtgate_api/client/types.gen.js +0 -3
  94. package/dist/mtgate_api/client/types.gen.js.map +0 -1
  95. package/dist/mtgate_api/client/utils.gen.d.ts +0 -34
  96. package/dist/mtgate_api/client/utils.gen.d.ts.map +0 -1
  97. package/dist/mtgate_api/client/utils.gen.js +0 -232
  98. package/dist/mtgate_api/client/utils.gen.js.map +0 -1
  99. package/dist/mtgate_api/client.gen.d.ts +0 -13
  100. package/dist/mtgate_api/client.gen.d.ts.map +0 -1
  101. package/dist/mtgate_api/client.gen.js +0 -4
  102. package/dist/mtgate_api/client.gen.js.map +0 -1
  103. package/dist/mtgate_api/core/auth.gen.d.ts +0 -19
  104. package/dist/mtgate_api/core/auth.gen.d.ts.map +0 -1
  105. package/dist/mtgate_api/core/auth.gen.js +0 -15
  106. package/dist/mtgate_api/core/auth.gen.js.map +0 -1
  107. package/dist/mtgate_api/core/bodySerializer.gen.d.ts +0 -26
  108. package/dist/mtgate_api/core/bodySerializer.gen.d.ts.map +0 -1
  109. package/dist/mtgate_api/core/bodySerializer.gen.js +0 -58
  110. package/dist/mtgate_api/core/bodySerializer.gen.js.map +0 -1
  111. package/dist/mtgate_api/core/params.gen.d.ts +0 -44
  112. package/dist/mtgate_api/core/params.gen.d.ts.map +0 -1
  113. package/dist/mtgate_api/core/params.gen.js +0 -101
  114. package/dist/mtgate_api/core/params.gen.js.map +0 -1
  115. package/dist/mtgate_api/core/pathSerializer.gen.d.ts +0 -34
  116. package/dist/mtgate_api/core/pathSerializer.gen.d.ts.map +0 -1
  117. package/dist/mtgate_api/core/pathSerializer.gen.js +0 -115
  118. package/dist/mtgate_api/core/pathSerializer.gen.js.map +0 -1
  119. package/dist/mtgate_api/core/queryKeySerializer.gen.d.ts +0 -19
  120. package/dist/mtgate_api/core/queryKeySerializer.gen.d.ts.map +0 -1
  121. package/dist/mtgate_api/core/queryKeySerializer.gen.js +0 -100
  122. package/dist/mtgate_api/core/queryKeySerializer.gen.js.map +0 -1
  123. package/dist/mtgate_api/core/serverSentEvents.gen.d.ts +0 -72
  124. package/dist/mtgate_api/core/serverSentEvents.gen.d.ts.map +0 -1
  125. package/dist/mtgate_api/core/serverSentEvents.gen.js +0 -138
  126. package/dist/mtgate_api/core/serverSentEvents.gen.js.map +0 -1
  127. package/dist/mtgate_api/core/types.gen.d.ts +0 -79
  128. package/dist/mtgate_api/core/types.gen.d.ts.map +0 -1
  129. package/dist/mtgate_api/core/types.gen.js +0 -3
  130. package/dist/mtgate_api/core/types.gen.js.map +0 -1
  131. package/dist/mtgate_api/core/utils.gen.d.ts +0 -20
  132. package/dist/mtgate_api/core/utils.gen.d.ts.map +0 -1
  133. package/dist/mtgate_api/core/utils.gen.js +0 -88
  134. package/dist/mtgate_api/core/utils.gen.js.map +0 -1
  135. package/dist/mtgate_api/index.d.ts +0 -3
  136. package/dist/mtgate_api/index.d.ts.map +0 -1
  137. package/dist/mtgate_api/index.js +0 -3
  138. package/dist/mtgate_api/index.js.map +0 -1
  139. package/dist/mtgate_api/sdk.gen.d.ts +0 -15
  140. package/dist/mtgate_api/sdk.gen.d.ts.map +0 -1
  141. package/dist/mtgate_api/sdk.gen.js +0 -3
  142. package/dist/mtgate_api/sdk.gen.js.map +0 -1
  143. package/dist/mtgate_api/types.gen.d.ts +0 -4
  144. package/dist/mtgate_api/types.gen.d.ts.map +0 -1
  145. package/dist/mtgate_api/types.gen.js +0 -3
  146. package/dist/mtgate_api/types.gen.js.map +0 -1
  147. package/dist/openclaw/client-info.d.ts +0 -38
  148. package/dist/openclaw/client-info.d.ts.map +0 -1
  149. package/dist/openclaw/client-info.js +0 -38
  150. package/dist/openclaw/client-info.js.map +0 -1
  151. package/dist/openclaw/device-auth-utils.d.ts +0 -12
  152. package/dist/openclaw/device-auth-utils.d.ts.map +0 -1
  153. package/dist/openclaw/device-auth-utils.js +0 -16
  154. package/dist/openclaw/device-auth-utils.js.map +0 -1
  155. package/dist/openclaw/device-auth.d.ts +0 -21
  156. package/dist/openclaw/device-auth.d.ts.map +0 -1
  157. package/dist/openclaw/device-auth.js +0 -87
  158. package/dist/openclaw/device-auth.js.map +0 -1
  159. package/dist/openclaw/device-identity.d.ts +0 -8
  160. package/dist/openclaw/device-identity.d.ts.map +0 -1
  161. package/dist/openclaw/device-identity.js +0 -87
  162. package/dist/openclaw/device-identity.js.map +0 -1
  163. package/dist/openclaw/gateway.d.ts +0 -100
  164. package/dist/openclaw/gateway.d.ts.map +0 -1
  165. package/dist/openclaw/gateway.js +0 -302
  166. package/dist/openclaw/gateway.js.map +0 -1
  167. package/dist/openclaw/types.d.ts +0 -473
  168. package/dist/openclaw/types.d.ts.map +0 -1
  169. package/dist/openclaw/types.js +0 -2
  170. package/dist/openclaw/types.js.map +0 -1
  171. package/src/cloud-account/platform-configs.ts +0 -73
  172. package/src/gomtmapi/@tanstack/react-query.gen.ts +0 -537
  173. package/src/gomtmapi/client/client.gen.ts +0 -311
  174. package/src/gomtmapi/client/index.ts +0 -25
  175. package/src/gomtmapi/client/types.gen.ts +0 -241
  176. package/src/gomtmapi/client/utils.gen.ts +0 -332
  177. package/src/gomtmapi/client.gen.ts +0 -16
  178. package/src/gomtmapi/core/auth.gen.ts +0 -42
  179. package/src/gomtmapi/core/bodySerializer.gen.ts +0 -100
  180. package/src/gomtmapi/core/params.gen.ts +0 -176
  181. package/src/gomtmapi/core/pathSerializer.gen.ts +0 -181
  182. package/src/gomtmapi/core/queryKeySerializer.gen.ts +0 -136
  183. package/src/gomtmapi/core/serverSentEvents.gen.ts +0 -266
  184. package/src/gomtmapi/core/types.gen.ts +0 -118
  185. package/src/gomtmapi/core/utils.gen.ts +0 -143
  186. package/src/gomtmapi/index.ts +0 -4
  187. package/src/gomtmapi/schemas.gen.ts +0 -532
  188. package/src/gomtmapi/sdk.gen.ts +0 -371
  189. package/src/gomtmapi/types.gen.ts +0 -854
  190. package/src/gomtmapi/zod.gen.ts +0 -448
  191. package/src/index.ts +0 -4
  192. package/src/lib/aisdk/types.ts +0 -8
  193. package/src/lib/logger/index.ts +0 -8
  194. package/src/lib/schema.ts +0 -37
  195. package/src/mtgate_api/client/client.gen.ts +0 -311
  196. package/src/mtgate_api/client/index.ts +0 -25
  197. package/src/mtgate_api/client/types.gen.ts +0 -241
  198. package/src/mtgate_api/client/utils.gen.ts +0 -332
  199. package/src/mtgate_api/client.gen.ts +0 -16
  200. package/src/mtgate_api/core/auth.gen.ts +0 -42
  201. package/src/mtgate_api/core/bodySerializer.gen.ts +0 -100
  202. package/src/mtgate_api/core/params.gen.ts +0 -176
  203. package/src/mtgate_api/core/pathSerializer.gen.ts +0 -181
  204. package/src/mtgate_api/core/queryKeySerializer.gen.ts +0 -136
  205. package/src/mtgate_api/core/serverSentEvents.gen.ts +0 -266
  206. package/src/mtgate_api/core/types.gen.ts +0 -118
  207. package/src/mtgate_api/core/utils.gen.ts +0 -143
  208. package/src/mtgate_api/index.ts +0 -4
  209. package/src/mtgate_api/sdk.gen.ts +0 -17
  210. package/src/mtgate_api/types.gen.ts +0 -5
  211. package/src/openclaw/client-info.ts +0 -54
  212. package/src/openclaw/device-auth-utils.ts +0 -26
  213. package/src/openclaw/device-auth.ts +0 -99
  214. package/src/openclaw/device-identity.ts +0 -108
  215. package/src/openclaw/gateway.ts +0 -392
  216. package/src/openclaw/types.ts +0 -518
  217. package/src/sbmng/@tanstack/react-query.gen.ts +0 -2967
  218. package/src/sbmng/client/client.gen.ts +0 -311
  219. package/src/sbmng/client/index.ts +0 -25
  220. package/src/sbmng/client/types.gen.ts +0 -241
  221. package/src/sbmng/client/utils.gen.ts +0 -332
  222. package/src/sbmng/client.gen.ts +0 -16
  223. package/src/sbmng/core/auth.gen.ts +0 -42
  224. package/src/sbmng/core/bodySerializer.gen.ts +0 -100
  225. package/src/sbmng/core/params.gen.ts +0 -176
  226. package/src/sbmng/core/pathSerializer.gen.ts +0 -181
  227. package/src/sbmng/core/queryKeySerializer.gen.ts +0 -136
  228. package/src/sbmng/core/serverSentEvents.gen.ts +0 -266
  229. package/src/sbmng/core/types.gen.ts +0 -118
  230. package/src/sbmng/core/utils.gen.ts +0 -143
  231. package/src/sbmng/index.ts +0 -4
  232. package/src/sbmng/schemas.gen.ts +0 -9671
  233. package/src/sbmng/sdk.gen.ts +0 -1755
  234. package/src/sbmng/types.gen.ts +0 -7886
  235. package/src/supabase/auth-provider.tsx +0 -67
  236. package/src/supabase/context.tsx +0 -51
  237. package/src/supabase/cursor-pagination.ts +0 -155
  238. package/src/supabase/schema/browser.ts +0 -45
  239. package/src/supabase/schema/index.ts +0 -25
  240. package/src/supabase/supabase-client.ts +0 -30
  241. package/src/supabase/supabase.ts +0 -67
  242. package/src/supabase/use-sb-query/build-query-opts.ts +0 -68
  243. package/src/supabase/use-sb-query/key.ts +0 -57
  244. package/src/supabase/use-sb-query/use-query.ts +0 -352
  245. package/src/supabase/use-sb-query/use-rpc-mutation.ts +0 -83
  246. package/src/supabase/use-sb-query/use-rpc-query.ts +0 -267
  247. package/src/supabase/utils.ts +0 -75
  248. package/src/types/database.schemas.ts +0 -4359
  249. package/src/types/database.types.ts +0 -4182
  250. package/src/types/index.ts +0 -85
@@ -1,854 +0,0 @@
1
- // This file is auto-generated by @hey-api/openapi-ts
2
-
3
- export type ClientOptions = {
4
- baseUrl: `${string}://${string}` | (string & {});
5
- };
6
-
7
- /**
8
- * AddContactRequest schema
9
- */
10
- export type AddContactRequest = {
11
- api_hash?: string;
12
- api_id?: number;
13
- first_name?: string;
14
- last_name?: string;
15
- phone: string;
16
- session_data: string;
17
- };
18
-
19
- /**
20
- * AddContactResponse schema
21
- */
22
- export type AddContactResponse = {
23
- access_hash?: number;
24
- message?: string;
25
- session_data?: string;
26
- success?: boolean;
27
- user_id?: number;
28
- };
29
-
30
- /**
31
- * AuthResponse schema
32
- */
33
- export type AuthResponse = {
34
- message?: string;
35
- result?: {
36
- [key: string]: string;
37
- };
38
- session_data?: string;
39
- success?: boolean;
40
- user_info?: {
41
- first_name?: string;
42
- id?: number;
43
- is_bot?: boolean;
44
- last_name?: string;
45
- phone?: string;
46
- username?: string;
47
- };
48
- };
49
-
50
- /**
51
- * CheckUpdateResponse schema
52
- */
53
- export type CheckUpdateResponse = {
54
- current_version?: string;
55
- latest_version?: string;
56
- update_available?: boolean;
57
- };
58
-
59
- /**
60
- * CodeRunResult schema
61
- */
62
- export type CodeRunResult = {
63
- /**
64
- * 耗时(秒)
65
- */
66
- duration?: number;
67
- /**
68
- * 进程退出码
69
- */
70
- exitCode?: number;
71
- /**
72
- * 标准错误输出
73
- */
74
- stderr?: string;
75
- /**
76
- * 标准输出
77
- */
78
- stdout?: string;
79
- };
80
-
81
- /**
82
- * HTTPError schema
83
- */
84
- export type HttpError = {
85
- /**
86
- * Human readable error message
87
- */
88
- detail?: string;
89
- errors?: Array<{
90
- /**
91
- * Additional information about the error
92
- */
93
- more?: {
94
- [key: string]: unknown;
95
- };
96
- /**
97
- * For example, name of the parameter that caused the error
98
- */
99
- name?: string;
100
- /**
101
- * Human readable error message
102
- */
103
- reason?: string;
104
- }>;
105
- instance?: string;
106
- /**
107
- * HTTP status code
108
- */
109
- status?: number;
110
- /**
111
- * Short title of the error
112
- */
113
- title?: string;
114
- /**
115
- * URL of the error type. Can be used to lookup the error in a documentation
116
- */
117
- type?: string;
118
- };
119
-
120
- /**
121
- * NapcatStatus schema
122
- */
123
- export type NapcatStatus = {
124
- config_dir?: string;
125
- data_dir?: string;
126
- is_running?: boolean;
127
- napcat_port?: number;
128
- process_id?: number;
129
- webui_port?: number;
130
- };
131
-
132
- /**
133
- * PasswordRequest schema
134
- */
135
- export type PasswordRequest = {
136
- api_hash?: string;
137
- api_id?: number;
138
- password: string;
139
- session_data?: string;
140
- };
141
-
142
- /**
143
- * PerformUpgradeRequest schema
144
- */
145
- export type PerformUpgradeRequest = {
146
- version?: string;
147
- };
148
-
149
- /**
150
- * PerformUpgradeResponse schema
151
- */
152
- export type PerformUpgradeResponse = {
153
- message?: string;
154
- status?: string;
155
- };
156
-
157
- /**
158
- * RunCodeReq schema
159
- */
160
- export type RunCodeReq = {
161
- /**
162
- * 代码类型: python | bash | sh | nodejs | browserjs
163
- */
164
- codeType: string;
165
- /**
166
- * 代码正文
167
- */
168
- content: string;
169
- /**
170
- * 环境变量
171
- */
172
- env?: {
173
- [key: string]: string;
174
- };
175
- /**
176
- * 运行超时时间(秒), 如果不填默认为60秒
177
- */
178
- timeout?: number;
179
- };
180
-
181
- /**
182
- * SendCodeRequest schema
183
- */
184
- export type SendCodeRequest = {
185
- api_hash?: string;
186
- api_id?: number;
187
- phone: string;
188
- session_data?: string;
189
- };
190
-
191
- /**
192
- * SendMessageRequest schema
193
- */
194
- export type SendMessageRequest = {
195
- access_hash?: number;
196
- api_hash?: string;
197
- api_id?: number;
198
- message: string;
199
- phone?: string;
200
- session_data: string;
201
- user_id?: number;
202
- username?: string;
203
- };
204
-
205
- /**
206
- * SendMessageResponse schema
207
- */
208
- export type SendMessageResponse = {
209
- message?: string;
210
- session_data?: string;
211
- success?: boolean;
212
- };
213
-
214
- /**
215
- * SignInRequest schema
216
- */
217
- export type SignInRequest = {
218
- api_hash?: string;
219
- api_id?: number;
220
- code: string;
221
- phone: string;
222
- phone_code_hash: string;
223
- session_data?: string;
224
- };
225
-
226
- /**
227
- * StartNapcatRequest schema
228
- */
229
- export type StartNapcatRequest = {
230
- config_dir?: string;
231
- data_dir?: string;
232
- napcat_port?: number;
233
- qq_account?: string;
234
- webui_port?: number;
235
- };
236
-
237
- /**
238
- * StatusResponse schema
239
- */
240
- export type StatusResponse = {
241
- go_version?: string;
242
- instance_id?: string;
243
- mem_alloc_mb?: number;
244
- mode?: string;
245
- num_cpu?: number;
246
- num_goroutine?: number;
247
- status?: string;
248
- uptime?: string;
249
- version?: string;
250
- };
251
-
252
- /**
253
- * UserInfoRequest schema
254
- */
255
- export type UserInfoRequest = {
256
- api_hash?: string;
257
- api_id?: number;
258
- session_data: string;
259
- };
260
-
261
- /**
262
- * unknown-interface schema
263
- */
264
- export type UnknownInterface = unknown;
265
-
266
- export type CodeRunData = {
267
- /**
268
- * Request body for code.RunCodeReq
269
- */
270
- body: RunCodeReq;
271
- headers?: {
272
- Accept?: string;
273
- };
274
- path?: never;
275
- query?: never;
276
- url: '/api/code/run';
277
- };
278
-
279
- export type CodeRunErrors = {
280
- /**
281
- * Bad Request _(validation or deserialization error)_
282
- */
283
- 400: HttpError;
284
- /**
285
- * Internal Server Error _(panics)_
286
- */
287
- 500: HttpError;
288
- default: unknown;
289
- };
290
-
291
- export type CodeRunError = CodeRunErrors[keyof CodeRunErrors];
292
-
293
- export type CodeRunResponses = {
294
- /**
295
- * OK
296
- */
297
- 200: CodeRunResult;
298
- };
299
-
300
- export type CodeRunResponse = CodeRunResponses[keyof CodeRunResponses];
301
-
302
- export type PostApiDbQueryQueryData = {
303
- body?: never;
304
- path?: never;
305
- query?: {
306
- /**
307
- * 输出格式: table|full|json|raw
308
- */
309
- format?: string;
310
- };
311
- url: '/api/db_query/query';
312
- };
313
-
314
- export type PostApiDbQueryQueryErrors = {
315
- /**
316
- * Bad Request _(validation or deserialization error)_
317
- */
318
- 400: HttpError;
319
- /**
320
- * Internal Server Error _(panics)_
321
- */
322
- 500: HttpError;
323
- default: unknown;
324
- };
325
-
326
- export type PostApiDbQueryQueryError = PostApiDbQueryQueryErrors[keyof PostApiDbQueryQueryErrors];
327
-
328
- export type PostApiDbQueryQueryResponses = {
329
- /**
330
- * OK
331
- */
332
- 200: UnknownInterface;
333
- };
334
-
335
- export type PostApiDbQueryQueryResponse = PostApiDbQueryQueryResponses[keyof PostApiDbQueryQueryResponses];
336
-
337
- export type NapcatStartData = {
338
- /**
339
- * Request body for napcat.StartNapcatRequest
340
- */
341
- body: StartNapcatRequest;
342
- headers?: {
343
- Accept?: string;
344
- };
345
- path?: never;
346
- query?: never;
347
- url: '/api/napcat/start';
348
- };
349
-
350
- export type NapcatStartErrors = {
351
- /**
352
- * Bad Request _(validation or deserialization error)_
353
- */
354
- 400: HttpError;
355
- /**
356
- * Internal Server Error _(panics)_
357
- */
358
- 500: HttpError;
359
- default: unknown;
360
- };
361
-
362
- export type NapcatStartError = NapcatStartErrors[keyof NapcatStartErrors];
363
-
364
- export type NapcatStartResponses = {
365
- /**
366
- * OK
367
- */
368
- 200: NapcatStatus;
369
- };
370
-
371
- export type NapcatStartResponse = NapcatStartResponses[keyof NapcatStartResponses];
372
-
373
- export type NapcatGetStatusData = {
374
- body?: never;
375
- headers?: {
376
- Accept?: string;
377
- };
378
- path?: never;
379
- query?: never;
380
- url: '/api/napcat/status';
381
- };
382
-
383
- export type NapcatGetStatusErrors = {
384
- /**
385
- * Bad Request _(validation or deserialization error)_
386
- */
387
- 400: HttpError;
388
- /**
389
- * Internal Server Error _(panics)_
390
- */
391
- 500: HttpError;
392
- default: unknown;
393
- };
394
-
395
- export type NapcatGetStatusError = NapcatGetStatusErrors[keyof NapcatGetStatusErrors];
396
-
397
- export type NapcatGetStatusResponses = {
398
- /**
399
- * OK
400
- */
401
- 200: NapcatStatus;
402
- };
403
-
404
- export type NapcatGetStatusResponse = NapcatGetStatusResponses[keyof NapcatGetStatusResponses];
405
-
406
- export type NapcatProxyOneBot11GetData = {
407
- body?: never;
408
- headers?: {
409
- Accept?: string;
410
- };
411
- path?: never;
412
- query?: never;
413
- url: '/api/onebot11/*';
414
- };
415
-
416
- export type NapcatProxyOneBot11GetErrors = {
417
- /**
418
- * Bad Request _(validation or deserialization error)_
419
- */
420
- 400: HttpError;
421
- /**
422
- * Internal Server Error _(panics)_
423
- */
424
- 500: HttpError;
425
- default: unknown;
426
- };
427
-
428
- export type NapcatProxyOneBot11GetError = NapcatProxyOneBot11GetErrors[keyof NapcatProxyOneBot11GetErrors];
429
-
430
- export type NapcatProxyOneBot11GetResponses = {
431
- /**
432
- * OK
433
- */
434
- 200: UnknownInterface;
435
- };
436
-
437
- export type NapcatProxyOneBot11GetResponse = NapcatProxyOneBot11GetResponses[keyof NapcatProxyOneBot11GetResponses];
438
-
439
- export type NapcatProxyOneBot11PostData = {
440
- body?: never;
441
- headers?: {
442
- Accept?: string;
443
- };
444
- path?: never;
445
- query?: never;
446
- url: '/api/onebot11/*';
447
- };
448
-
449
- export type NapcatProxyOneBot11PostErrors = {
450
- /**
451
- * Bad Request _(validation or deserialization error)_
452
- */
453
- 400: HttpError;
454
- /**
455
- * Internal Server Error _(panics)_
456
- */
457
- 500: HttpError;
458
- default: unknown;
459
- };
460
-
461
- export type NapcatProxyOneBot11PostError = NapcatProxyOneBot11PostErrors[keyof NapcatProxyOneBot11PostErrors];
462
-
463
- export type NapcatProxyOneBot11PostResponses = {
464
- /**
465
- * OK
466
- */
467
- 200: UnknownInterface;
468
- };
469
-
470
- export type NapcatProxyOneBot11PostResponse = NapcatProxyOneBot11PostResponses[keyof NapcatProxyOneBot11PostResponses];
471
-
472
- export type PostApiSystemCheckUpdateData = {
473
- body?: never;
474
- headers?: {
475
- Accept?: string;
476
- };
477
- path?: never;
478
- query?: never;
479
- url: '/api/system/check_update';
480
- };
481
-
482
- export type PostApiSystemCheckUpdateErrors = {
483
- /**
484
- * Bad Request _(validation or deserialization error)_
485
- */
486
- 400: HttpError;
487
- /**
488
- * Internal Server Error _(panics)_
489
- */
490
- 500: HttpError;
491
- default: unknown;
492
- };
493
-
494
- export type PostApiSystemCheckUpdateError = PostApiSystemCheckUpdateErrors[keyof PostApiSystemCheckUpdateErrors];
495
-
496
- export type PostApiSystemCheckUpdateResponses = {
497
- /**
498
- * OK
499
- */
500
- 200: CheckUpdateResponse;
501
- };
502
-
503
- export type PostApiSystemCheckUpdateResponse = PostApiSystemCheckUpdateResponses[keyof PostApiSystemCheckUpdateResponses];
504
-
505
- export type PostApiSystemPerformUpgradeData = {
506
- /**
507
- * Request body for system.PerformUpgradeRequest
508
- */
509
- body: PerformUpgradeRequest;
510
- headers?: {
511
- Accept?: string;
512
- };
513
- path?: never;
514
- query?: never;
515
- url: '/api/system/perform_upgrade';
516
- };
517
-
518
- export type PostApiSystemPerformUpgradeErrors = {
519
- /**
520
- * Bad Request _(validation or deserialization error)_
521
- */
522
- 400: HttpError;
523
- /**
524
- * Internal Server Error _(panics)_
525
- */
526
- 500: HttpError;
527
- default: unknown;
528
- };
529
-
530
- export type PostApiSystemPerformUpgradeError = PostApiSystemPerformUpgradeErrors[keyof PostApiSystemPerformUpgradeErrors];
531
-
532
- export type PostApiSystemPerformUpgradeResponses = {
533
- /**
534
- * OK
535
- */
536
- 200: PerformUpgradeResponse;
537
- };
538
-
539
- export type PostApiSystemPerformUpgradeResponse = PostApiSystemPerformUpgradeResponses[keyof PostApiSystemPerformUpgradeResponses];
540
-
541
- export type GetApiSystemStatusData = {
542
- body?: never;
543
- headers?: {
544
- Accept?: string;
545
- };
546
- path?: never;
547
- query?: never;
548
- url: '/api/system/status';
549
- };
550
-
551
- export type GetApiSystemStatusErrors = {
552
- /**
553
- * Bad Request _(validation or deserialization error)_
554
- */
555
- 400: HttpError;
556
- /**
557
- * Internal Server Error _(panics)_
558
- */
559
- 500: HttpError;
560
- default: unknown;
561
- };
562
-
563
- export type GetApiSystemStatusError = GetApiSystemStatusErrors[keyof GetApiSystemStatusErrors];
564
-
565
- export type GetApiSystemStatusResponses = {
566
- /**
567
- * OK
568
- */
569
- 200: StatusResponse;
570
- };
571
-
572
- export type GetApiSystemStatusResponse = GetApiSystemStatusResponses[keyof GetApiSystemStatusResponses];
573
-
574
- export type PostApiV1TelegramAuthPasswordData = {
575
- /**
576
- * Request body for telegram.PasswordRequest
577
- */
578
- body: PasswordRequest;
579
- headers?: {
580
- Accept?: string;
581
- };
582
- path?: never;
583
- query?: never;
584
- url: '/api/v1/telegram/auth/password';
585
- };
586
-
587
- export type PostApiV1TelegramAuthPasswordErrors = {
588
- /**
589
- * Bad Request _(validation or deserialization error)_
590
- */
591
- 400: HttpError;
592
- /**
593
- * Internal Server Error _(panics)_
594
- */
595
- 500: HttpError;
596
- default: unknown;
597
- };
598
-
599
- export type PostApiV1TelegramAuthPasswordError = PostApiV1TelegramAuthPasswordErrors[keyof PostApiV1TelegramAuthPasswordErrors];
600
-
601
- export type PostApiV1TelegramAuthPasswordResponses = {
602
- /**
603
- * OK
604
- */
605
- 200: AuthResponse;
606
- };
607
-
608
- export type PostApiV1TelegramAuthPasswordResponse = PostApiV1TelegramAuthPasswordResponses[keyof PostApiV1TelegramAuthPasswordResponses];
609
-
610
- export type PostApiV1TelegramAuthSendCodeData = {
611
- /**
612
- * Request body for telegram.SendCodeRequest
613
- */
614
- body: SendCodeRequest;
615
- headers?: {
616
- Accept?: string;
617
- };
618
- path?: never;
619
- query?: never;
620
- url: '/api/v1/telegram/auth/send-code';
621
- };
622
-
623
- export type PostApiV1TelegramAuthSendCodeErrors = {
624
- /**
625
- * Bad Request _(validation or deserialization error)_
626
- */
627
- 400: HttpError;
628
- /**
629
- * Internal Server Error _(panics)_
630
- */
631
- 500: HttpError;
632
- default: unknown;
633
- };
634
-
635
- export type PostApiV1TelegramAuthSendCodeError = PostApiV1TelegramAuthSendCodeErrors[keyof PostApiV1TelegramAuthSendCodeErrors];
636
-
637
- export type PostApiV1TelegramAuthSendCodeResponses = {
638
- /**
639
- * OK
640
- */
641
- 200: AuthResponse;
642
- };
643
-
644
- export type PostApiV1TelegramAuthSendCodeResponse = PostApiV1TelegramAuthSendCodeResponses[keyof PostApiV1TelegramAuthSendCodeResponses];
645
-
646
- export type PostApiV1TelegramAuthSignInData = {
647
- /**
648
- * Request body for telegram.SignInRequest
649
- */
650
- body: SignInRequest;
651
- headers?: {
652
- Accept?: string;
653
- };
654
- path?: never;
655
- query?: never;
656
- url: '/api/v1/telegram/auth/sign-in';
657
- };
658
-
659
- export type PostApiV1TelegramAuthSignInErrors = {
660
- /**
661
- * Bad Request _(validation or deserialization error)_
662
- */
663
- 400: HttpError;
664
- /**
665
- * Internal Server Error _(panics)_
666
- */
667
- 500: HttpError;
668
- default: unknown;
669
- };
670
-
671
- export type PostApiV1TelegramAuthSignInError = PostApiV1TelegramAuthSignInErrors[keyof PostApiV1TelegramAuthSignInErrors];
672
-
673
- export type PostApiV1TelegramAuthSignInResponses = {
674
- /**
675
- * OK
676
- */
677
- 200: AuthResponse;
678
- };
679
-
680
- export type PostApiV1TelegramAuthSignInResponse = PostApiV1TelegramAuthSignInResponses[keyof PostApiV1TelegramAuthSignInResponses];
681
-
682
- export type PostApiV1TelegramAuthUserInfoData = {
683
- /**
684
- * Request body for telegram.UserInfoRequest
685
- */
686
- body: UserInfoRequest;
687
- headers?: {
688
- Accept?: string;
689
- };
690
- path?: never;
691
- query?: never;
692
- url: '/api/v1/telegram/auth/user-info';
693
- };
694
-
695
- export type PostApiV1TelegramAuthUserInfoErrors = {
696
- /**
697
- * Bad Request _(validation or deserialization error)_
698
- */
699
- 400: HttpError;
700
- /**
701
- * Internal Server Error _(panics)_
702
- */
703
- 500: HttpError;
704
- default: unknown;
705
- };
706
-
707
- export type PostApiV1TelegramAuthUserInfoError = PostApiV1TelegramAuthUserInfoErrors[keyof PostApiV1TelegramAuthUserInfoErrors];
708
-
709
- export type PostApiV1TelegramAuthUserInfoResponses = {
710
- /**
711
- * OK
712
- */
713
- 200: AuthResponse;
714
- };
715
-
716
- export type PostApiV1TelegramAuthUserInfoResponse = PostApiV1TelegramAuthUserInfoResponses[keyof PostApiV1TelegramAuthUserInfoResponses];
717
-
718
- export type PostApiV1TelegramContactAddData = {
719
- /**
720
- * Request body for telegram.AddContactRequest
721
- */
722
- body: AddContactRequest;
723
- headers?: {
724
- Accept?: string;
725
- };
726
- path?: never;
727
- query?: never;
728
- url: '/api/v1/telegram/contact/add';
729
- };
730
-
731
- export type PostApiV1TelegramContactAddErrors = {
732
- /**
733
- * Bad Request _(validation or deserialization error)_
734
- */
735
- 400: HttpError;
736
- /**
737
- * Internal Server Error _(panics)_
738
- */
739
- 500: HttpError;
740
- default: unknown;
741
- };
742
-
743
- export type PostApiV1TelegramContactAddError = PostApiV1TelegramContactAddErrors[keyof PostApiV1TelegramContactAddErrors];
744
-
745
- export type PostApiV1TelegramContactAddResponses = {
746
- /**
747
- * OK
748
- */
749
- 200: AddContactResponse;
750
- };
751
-
752
- export type PostApiV1TelegramContactAddResponse = PostApiV1TelegramContactAddResponses[keyof PostApiV1TelegramContactAddResponses];
753
-
754
- export type PostApiV1TelegramMessageSendData = {
755
- /**
756
- * Request body for telegram.SendMessageRequest
757
- */
758
- body: SendMessageRequest;
759
- headers?: {
760
- Accept?: string;
761
- };
762
- path?: never;
763
- query?: never;
764
- url: '/api/v1/telegram/message/send';
765
- };
766
-
767
- export type PostApiV1TelegramMessageSendErrors = {
768
- /**
769
- * Bad Request _(validation or deserialization error)_
770
- */
771
- 400: HttpError;
772
- /**
773
- * Internal Server Error _(panics)_
774
- */
775
- 500: HttpError;
776
- default: unknown;
777
- };
778
-
779
- export type PostApiV1TelegramMessageSendError = PostApiV1TelegramMessageSendErrors[keyof PostApiV1TelegramMessageSendErrors];
780
-
781
- export type PostApiV1TelegramMessageSendResponses = {
782
- /**
783
- * OK
784
- */
785
- 200: SendMessageResponse;
786
- };
787
-
788
- export type PostApiV1TelegramMessageSendResponse = PostApiV1TelegramMessageSendResponses[keyof PostApiV1TelegramMessageSendResponses];
789
-
790
- export type NapcatProxyWebUigetData = {
791
- body?: never;
792
- headers?: {
793
- Accept?: string;
794
- };
795
- path?: never;
796
- query?: never;
797
- url: '/api/webui/*';
798
- };
799
-
800
- export type NapcatProxyWebUigetErrors = {
801
- /**
802
- * Bad Request _(validation or deserialization error)_
803
- */
804
- 400: HttpError;
805
- /**
806
- * Internal Server Error _(panics)_
807
- */
808
- 500: HttpError;
809
- default: unknown;
810
- };
811
-
812
- export type NapcatProxyWebUigetError = NapcatProxyWebUigetErrors[keyof NapcatProxyWebUigetErrors];
813
-
814
- export type NapcatProxyWebUigetResponses = {
815
- /**
816
- * OK
817
- */
818
- 200: UnknownInterface;
819
- };
820
-
821
- export type NapcatProxyWebUigetResponse = NapcatProxyWebUigetResponses[keyof NapcatProxyWebUigetResponses];
822
-
823
- export type NapcatProxyWebUipostData = {
824
- body?: never;
825
- headers?: {
826
- Accept?: string;
827
- };
828
- path?: never;
829
- query?: never;
830
- url: '/api/webui/*';
831
- };
832
-
833
- export type NapcatProxyWebUipostErrors = {
834
- /**
835
- * Bad Request _(validation or deserialization error)_
836
- */
837
- 400: HttpError;
838
- /**
839
- * Internal Server Error _(panics)_
840
- */
841
- 500: HttpError;
842
- default: unknown;
843
- };
844
-
845
- export type NapcatProxyWebUipostError = NapcatProxyWebUipostErrors[keyof NapcatProxyWebUipostErrors];
846
-
847
- export type NapcatProxyWebUipostResponses = {
848
- /**
849
- * OK
850
- */
851
- 200: UnknownInterface;
852
- };
853
-
854
- export type NapcatProxyWebUipostResponse = NapcatProxyWebUipostResponses[keyof NapcatProxyWebUipostResponses];