@keboola/api-client 0.1.0

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 (265) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +456 -0
  3. package/dist/ai/index.cjs +203 -0
  4. package/dist/ai/index.cjs.map +1 -0
  5. package/dist/ai/index.d.cts +35 -0
  6. package/dist/ai/index.d.ts +35 -0
  7. package/dist/ai/index.js +197 -0
  8. package/dist/ai/index.js.map +1 -0
  9. package/dist/ai/types.cjs +4 -0
  10. package/dist/ai/types.cjs.map +1 -0
  11. package/dist/ai/types.d.cts +2 -0
  12. package/dist/ai/types.d.ts +2 -0
  13. package/dist/ai/types.js +3 -0
  14. package/dist/ai/types.js.map +1 -0
  15. package/dist/assets/index.cjs +182 -0
  16. package/dist/assets/index.cjs.map +1 -0
  17. package/dist/assets/index.d.cts +9 -0
  18. package/dist/assets/index.d.ts +9 -0
  19. package/dist/assets/index.js +176 -0
  20. package/dist/assets/index.js.map +1 -0
  21. package/dist/assets/types.cjs +4 -0
  22. package/dist/assets/types.cjs.map +1 -0
  23. package/dist/assets/types.d.cts +8 -0
  24. package/dist/assets/types.d.ts +8 -0
  25. package/dist/assets/types.js +3 -0
  26. package/dist/assets/types.js.map +1 -0
  27. package/dist/authMiddleware-BTFSCMTE.d.ts +11 -0
  28. package/dist/authMiddleware-BteBe1Bt.d.cts +11 -0
  29. package/dist/chat/index.cjs +428 -0
  30. package/dist/chat/index.cjs.map +1 -0
  31. package/dist/chat/index.d.cts +51 -0
  32. package/dist/chat/index.d.ts +51 -0
  33. package/dist/chat/index.js +422 -0
  34. package/dist/chat/index.js.map +1 -0
  35. package/dist/chat/suggestions.cjs +158 -0
  36. package/dist/chat/suggestions.cjs.map +1 -0
  37. package/dist/chat/suggestions.d.cts +437 -0
  38. package/dist/chat/suggestions.d.ts +437 -0
  39. package/dist/chat/suggestions.js +140 -0
  40. package/dist/chat/suggestions.js.map +1 -0
  41. package/dist/chat/types.cjs +10 -0
  42. package/dist/chat/types.cjs.map +1 -0
  43. package/dist/chat/types.d.cts +3 -0
  44. package/dist/chat/types.d.ts +3 -0
  45. package/dist/chat/types.js +8 -0
  46. package/dist/chat/types.js.map +1 -0
  47. package/dist/createGenericFetchClient-CLUzu-jY.d.cts +18 -0
  48. package/dist/createGenericFetchClient-DEakI3F1.d.ts +18 -0
  49. package/dist/createOpenapiFetchClient-CpXmAIFB.d.cts +24 -0
  50. package/dist/createOpenapiFetchClient-_sm4bchL.d.ts +24 -0
  51. package/dist/dataScience/index.cjs +416 -0
  52. package/dist/dataScience/index.cjs.map +1 -0
  53. package/dist/dataScience/index.d.cts +191 -0
  54. package/dist/dataScience/index.d.ts +191 -0
  55. package/dist/dataScience/index.js +388 -0
  56. package/dist/dataScience/index.js.map +1 -0
  57. package/dist/dataScience/types.cjs +4 -0
  58. package/dist/dataScience/types.cjs.map +1 -0
  59. package/dist/dataScience/types.d.cts +2 -0
  60. package/dist/dataScience/types.d.ts +2 -0
  61. package/dist/dataScience/types.js +3 -0
  62. package/dist/dataScience/types.js.map +1 -0
  63. package/dist/editor/index.cjs +275 -0
  64. package/dist/editor/index.cjs.map +1 -0
  65. package/dist/editor/index.d.cts +172 -0
  66. package/dist/editor/index.d.ts +172 -0
  67. package/dist/editor/index.js +269 -0
  68. package/dist/editor/index.js.map +1 -0
  69. package/dist/editor/types.cjs +4 -0
  70. package/dist/editor/types.cjs.map +1 -0
  71. package/dist/editor/types.d.cts +2 -0
  72. package/dist/editor/types.d.ts +2 -0
  73. package/dist/editor/types.js +3 -0
  74. package/dist/editor/types.js.map +1 -0
  75. package/dist/encryption/index.cjs +192 -0
  76. package/dist/encryption/index.cjs.map +1 -0
  77. package/dist/encryption/index.d.cts +14 -0
  78. package/dist/encryption/index.d.ts +14 -0
  79. package/dist/encryption/index.js +186 -0
  80. package/dist/encryption/index.js.map +1 -0
  81. package/dist/encryption/types.cjs +4 -0
  82. package/dist/encryption/types.cjs.map +1 -0
  83. package/dist/encryption/types.d.cts +8 -0
  84. package/dist/encryption/types.d.ts +8 -0
  85. package/dist/encryption/types.js +3 -0
  86. package/dist/encryption/types.js.map +1 -0
  87. package/dist/import/index.cjs +198 -0
  88. package/dist/import/index.cjs.map +1 -0
  89. package/dist/import/index.d.cts +9 -0
  90. package/dist/import/index.d.ts +9 -0
  91. package/dist/import/index.js +192 -0
  92. package/dist/import/index.js.map +1 -0
  93. package/dist/index.cjs +3910 -0
  94. package/dist/index.cjs.map +1 -0
  95. package/dist/index.d.cts +3108 -0
  96. package/dist/index.d.ts +3108 -0
  97. package/dist/index.js +3858 -0
  98. package/dist/index.js.map +1 -0
  99. package/dist/keboolaUID-D1DGSbge.d.cts +19 -0
  100. package/dist/keboolaUID-D1DGSbge.d.ts +19 -0
  101. package/dist/management/index.cjs +872 -0
  102. package/dist/management/index.cjs.map +1 -0
  103. package/dist/management/index.d.cts +440 -0
  104. package/dist/management/index.d.ts +440 -0
  105. package/dist/management/index.js +865 -0
  106. package/dist/management/index.js.map +1 -0
  107. package/dist/management/types.cjs +4 -0
  108. package/dist/management/types.cjs.map +1 -0
  109. package/dist/management/types.d.cts +9 -0
  110. package/dist/management/types.d.ts +9 -0
  111. package/dist/management/types.js +3 -0
  112. package/dist/management/types.js.map +1 -0
  113. package/dist/metastore/index.cjs +339 -0
  114. package/dist/metastore/index.cjs.map +1 -0
  115. package/dist/metastore/index.d.cts +52 -0
  116. package/dist/metastore/index.d.ts +52 -0
  117. package/dist/metastore/index.js +333 -0
  118. package/dist/metastore/index.js.map +1 -0
  119. package/dist/metastore/types.cjs +4 -0
  120. package/dist/metastore/types.cjs.map +1 -0
  121. package/dist/metastore/types.d.cts +2 -0
  122. package/dist/metastore/types.d.ts +2 -0
  123. package/dist/metastore/types.js +3 -0
  124. package/dist/metastore/types.js.map +1 -0
  125. package/dist/queryService/index.cjs +250 -0
  126. package/dist/queryService/index.cjs.map +1 -0
  127. package/dist/queryService/index.d.cts +39 -0
  128. package/dist/queryService/index.d.ts +39 -0
  129. package/dist/queryService/index.js +244 -0
  130. package/dist/queryService/index.js.map +1 -0
  131. package/dist/queryService/types.cjs +4 -0
  132. package/dist/queryService/types.cjs.map +1 -0
  133. package/dist/queryService/types.d.cts +2 -0
  134. package/dist/queryService/types.d.ts +2 -0
  135. package/dist/queryService/types.js +3 -0
  136. package/dist/queryService/types.js.map +1 -0
  137. package/dist/queue/index.cjs +192 -0
  138. package/dist/queue/index.cjs.map +1 -0
  139. package/dist/queue/index.d.cts +133 -0
  140. package/dist/queue/index.d.ts +133 -0
  141. package/dist/queue/index.js +186 -0
  142. package/dist/queue/index.js.map +1 -0
  143. package/dist/queue/types.cjs +4 -0
  144. package/dist/queue/types.cjs.map +1 -0
  145. package/dist/queue/types.d.cts +2 -0
  146. package/dist/queue/types.d.ts +2 -0
  147. package/dist/queue/types.js +3 -0
  148. package/dist/queue/types.js.map +1 -0
  149. package/dist/sdk/storage/index.cjs +96 -0
  150. package/dist/sdk/storage/index.cjs.map +1 -0
  151. package/dist/sdk/storage/index.d.cts +24 -0
  152. package/dist/sdk/storage/index.d.ts +24 -0
  153. package/dist/sdk/storage/index.js +94 -0
  154. package/dist/sdk/storage/index.js.map +1 -0
  155. package/dist/sdk/tag/index.cjs +210 -0
  156. package/dist/sdk/tag/index.cjs.map +1 -0
  157. package/dist/sdk/tag/index.d.cts +25 -0
  158. package/dist/sdk/tag/index.d.ts +25 -0
  159. package/dist/sdk/tag/index.js +208 -0
  160. package/dist/sdk/tag/index.js.map +1 -0
  161. package/dist/sdk/tag/types.cjs +4 -0
  162. package/dist/sdk/tag/types.cjs.map +1 -0
  163. package/dist/sdk/tag/types.d.cts +30 -0
  164. package/dist/sdk/tag/types.d.ts +30 -0
  165. package/dist/sdk/tag/types.js +3 -0
  166. package/dist/sdk/tag/types.js.map +1 -0
  167. package/dist/status/index.cjs +178 -0
  168. package/dist/status/index.cjs.map +1 -0
  169. package/dist/status/index.d.cts +10 -0
  170. package/dist/status/index.d.ts +10 -0
  171. package/dist/status/index.js +172 -0
  172. package/dist/status/index.js.map +1 -0
  173. package/dist/status/types.cjs +4 -0
  174. package/dist/status/types.cjs.map +1 -0
  175. package/dist/status/types.d.cts +19 -0
  176. package/dist/status/types.d.ts +19 -0
  177. package/dist/status/types.js +3 -0
  178. package/dist/status/types.js.map +1 -0
  179. package/dist/storage/index.cjs +1021 -0
  180. package/dist/storage/index.cjs.map +1 -0
  181. package/dist/storage/index.d.cts +12 -0
  182. package/dist/storage/index.d.ts +12 -0
  183. package/dist/storage/index.js +1014 -0
  184. package/dist/storage/index.js.map +1 -0
  185. package/dist/storage/types.cjs +4 -0
  186. package/dist/storage/types.cjs.map +1 -0
  187. package/dist/storage/types.d.cts +10976 -0
  188. package/dist/storage/types.d.ts +10976 -0
  189. package/dist/storage/types.js +3 -0
  190. package/dist/storage/types.js.map +1 -0
  191. package/dist/storageClient-DPLh_p0V.d.cts +608 -0
  192. package/dist/storageClient-YVWer22Y.d.ts +608 -0
  193. package/dist/syncActions/index.cjs +366 -0
  194. package/dist/syncActions/index.cjs.map +1 -0
  195. package/dist/syncActions/index.d.cts +94 -0
  196. package/dist/syncActions/index.d.ts +94 -0
  197. package/dist/syncActions/index.js +341 -0
  198. package/dist/syncActions/index.js.map +1 -0
  199. package/dist/syncActions/types.cjs +4 -0
  200. package/dist/syncActions/types.cjs.map +1 -0
  201. package/dist/syncActions/types.d.cts +261 -0
  202. package/dist/syncActions/types.d.ts +261 -0
  203. package/dist/syncActions/types.js +3 -0
  204. package/dist/syncActions/types.js.map +1 -0
  205. package/dist/telemetry/index.cjs +189 -0
  206. package/dist/telemetry/index.cjs.map +1 -0
  207. package/dist/telemetry/index.d.cts +13 -0
  208. package/dist/telemetry/index.d.ts +13 -0
  209. package/dist/telemetry/index.js +183 -0
  210. package/dist/telemetry/index.js.map +1 -0
  211. package/dist/telemetry/types.cjs +4 -0
  212. package/dist/telemetry/types.cjs.map +1 -0
  213. package/dist/telemetry/types.d.cts +12 -0
  214. package/dist/telemetry/types.d.ts +12 -0
  215. package/dist/telemetry/types.js +3 -0
  216. package/dist/telemetry/types.js.map +1 -0
  217. package/dist/types-B51cQMrX.d.ts +1408 -0
  218. package/dist/types-B7k8S4ki.d.ts +1520 -0
  219. package/dist/types-BNQK_jR_.d.cts +1520 -0
  220. package/dist/types-BY0tjg2Q.d.ts +1079 -0
  221. package/dist/types-BeShtGlc.d.cts +8591 -0
  222. package/dist/types-BeShtGlc.d.ts +8591 -0
  223. package/dist/types-BjrNNn5I.d.ts +1643 -0
  224. package/dist/types-C-bd4ArM.d.cts +1079 -0
  225. package/dist/types-C7mpAfq-.d.cts +64 -0
  226. package/dist/types-C7mpAfq-.d.ts +64 -0
  227. package/dist/types-CGMJT3JL.d.ts +943 -0
  228. package/dist/types-CRSKcua9.d.cts +1314 -0
  229. package/dist/types-DJ6nbNq5.d.cts +1643 -0
  230. package/dist/types-DJkU9gvB.d.cts +943 -0
  231. package/dist/types-DYMMsuU0.d.cts +78 -0
  232. package/dist/types-DYMMsuU0.d.ts +78 -0
  233. package/dist/types-Dg1tEsVR.d.cts +17 -0
  234. package/dist/types-Dg1tEsVR.d.ts +17 -0
  235. package/dist/types-DgaMV8FF.d.cts +60 -0
  236. package/dist/types-DgaMV8FF.d.ts +60 -0
  237. package/dist/types-Dws8mFNY.d.cts +1408 -0
  238. package/dist/types-cH0_hkCW.d.ts +1314 -0
  239. package/dist/utils-BNQZiNOu.d.ts +1657 -0
  240. package/dist/utils-DE09pDTi.d.cts +1657 -0
  241. package/dist/vault/index.cjs +225 -0
  242. package/dist/vault/index.cjs.map +1 -0
  243. package/dist/vault/index.d.cts +26 -0
  244. package/dist/vault/index.d.ts +26 -0
  245. package/dist/vault/index.js +219 -0
  246. package/dist/vault/index.js.map +1 -0
  247. package/dist/vault/types.cjs +4 -0
  248. package/dist/vault/types.cjs.map +1 -0
  249. package/dist/vault/types.d.cts +390 -0
  250. package/dist/vault/types.d.ts +390 -0
  251. package/dist/vault/types.js +3 -0
  252. package/dist/vault/types.js.map +1 -0
  253. package/dist/verify/index.cjs +190 -0
  254. package/dist/verify/index.cjs.map +1 -0
  255. package/dist/verify/index.d.cts +9 -0
  256. package/dist/verify/index.d.ts +9 -0
  257. package/dist/verify/index.js +184 -0
  258. package/dist/verify/index.js.map +1 -0
  259. package/dist/verify/types.cjs +4 -0
  260. package/dist/verify/types.cjs.map +1 -0
  261. package/dist/verify/types.d.cts +29 -0
  262. package/dist/verify/types.d.ts +29 -0
  263. package/dist/verify/types.js +3 -0
  264. package/dist/verify/types.js.map +1 -0
  265. package/package.json +570 -0
@@ -0,0 +1,1408 @@
1
+ import { b as OpenapiBodyType, a as OpenapiReturnType } from './types-C7mpAfq-.cjs';
2
+
3
+ /**
4
+ * This file was auto-generated by openapi-typescript.
5
+ * Do not make direct changes to the file.
6
+ */
7
+
8
+ type paths = {
9
+ '/': {
10
+ parameters: {
11
+ query?: never;
12
+ header?: never;
13
+ path?: never;
14
+ cookie?: never;
15
+ };
16
+ /**
17
+ * Index endpoint
18
+ * @description Returns basic information about the service.
19
+ */
20
+ get: operations['index'];
21
+ put?: never;
22
+ post?: never;
23
+ delete?: never;
24
+ options?: never;
25
+ head?: never;
26
+ patch?: never;
27
+ trace?: never;
28
+ };
29
+ '/health-check': {
30
+ parameters: {
31
+ query?: never;
32
+ header?: never;
33
+ path?: never;
34
+ cookie?: never;
35
+ };
36
+ /**
37
+ * Health-check endpoint
38
+ * @description Checks the service is up & running.
39
+ */
40
+ get: operations['healthCheck'];
41
+ put?: never;
42
+ post?: never;
43
+ delete?: never;
44
+ options?: never;
45
+ head?: never;
46
+ patch?: never;
47
+ trace?: never;
48
+ };
49
+ '/explain': {
50
+ parameters: {
51
+ query?: never;
52
+ header?: never;
53
+ path?: never;
54
+ cookie?: never;
55
+ };
56
+ get?: never;
57
+ put?: never;
58
+ /**
59
+ * Explain error message
60
+ * @description Receives an error message and returns a generated explanation.
61
+ */
62
+ post: operations['explainError'];
63
+ delete?: never;
64
+ options?: never;
65
+ head?: never;
66
+ patch?: never;
67
+ trace?: never;
68
+ };
69
+ '/describe/configuration': {
70
+ parameters: {
71
+ query?: never;
72
+ header?: never;
73
+ path?: never;
74
+ cookie?: never;
75
+ };
76
+ get?: never;
77
+ put?: never;
78
+ /**
79
+ * Describe a configuration
80
+ * @description Generates a description for a configuration.
81
+ */
82
+ post: operations['describeConfiguration'];
83
+ delete?: never;
84
+ options?: never;
85
+ head?: never;
86
+ patch?: never;
87
+ trace?: never;
88
+ };
89
+ '/describe/configuration-version': {
90
+ parameters: {
91
+ query?: never;
92
+ header?: never;
93
+ path?: never;
94
+ cookie?: never;
95
+ };
96
+ get?: never;
97
+ put?: never;
98
+ /**
99
+ * Describe a configuration version change
100
+ * @description Generates a description for changes between two configuration versions.
101
+ */
102
+ post: operations['describeConfigurationVersion'];
103
+ delete?: never;
104
+ options?: never;
105
+ head?: never;
106
+ patch?: never;
107
+ trace?: never;
108
+ };
109
+ '/describe/configuration-merge': {
110
+ parameters: {
111
+ query?: never;
112
+ header?: never;
113
+ path?: never;
114
+ cookie?: never;
115
+ };
116
+ get?: never;
117
+ put?: never;
118
+ /**
119
+ * Describe a configuration merge between branches
120
+ * @description Generates a description for changes between a configuration in two branches (base and current branch).
121
+ */
122
+ post: operations['describeConfigurationMerge'];
123
+ delete?: never;
124
+ options?: never;
125
+ head?: never;
126
+ patch?: never;
127
+ trace?: never;
128
+ };
129
+ '/suggest/component': {
130
+ parameters: {
131
+ query?: never;
132
+ header?: never;
133
+ path?: never;
134
+ cookie?: never;
135
+ };
136
+ get?: never;
137
+ put?: never;
138
+ /**
139
+ * Suggest a component
140
+ * @description Generates a list of suggested components for a given natural query.
141
+ */
142
+ post: operations['suggestComponent'];
143
+ delete?: never;
144
+ options?: never;
145
+ head?: never;
146
+ patch?: never;
147
+ trace?: never;
148
+ };
149
+ '/feedback': {
150
+ parameters: {
151
+ query?: never;
152
+ header?: never;
153
+ path?: never;
154
+ cookie?: never;
155
+ };
156
+ get?: never;
157
+ put?: never;
158
+ /**
159
+ * Record feedback for a generated response.
160
+ * @description Records the provided feedback.
161
+ */
162
+ post: operations['feedback'];
163
+ delete?: never;
164
+ options?: never;
165
+ head?: never;
166
+ patch?: never;
167
+ trace?: never;
168
+ };
169
+ '/conversations': {
170
+ parameters: {
171
+ query?: never;
172
+ header?: never;
173
+ path?: never;
174
+ cookie?: never;
175
+ };
176
+ get?: never;
177
+ put?: never;
178
+ /**
179
+ * Initiate a conversation.
180
+ * @description Initiate a conversation backend.
181
+ */
182
+ post: operations['createConversation'];
183
+ delete?: never;
184
+ options?: never;
185
+ head?: never;
186
+ patch?: never;
187
+ trace?: never;
188
+ };
189
+ '/conversations/{conversationId}': {
190
+ parameters: {
191
+ query?: never;
192
+ header?: never;
193
+ path?: never;
194
+ cookie?: never;
195
+ };
196
+ /**
197
+ * Get conversation & check conversation detail.
198
+ * @description Get conversation detail.
199
+ */
200
+ get: operations['getConversation'];
201
+ put?: never;
202
+ post?: never;
203
+ /**
204
+ * Delete conversation
205
+ * @description Delete conversation.
206
+ */
207
+ delete: operations['deleteConversation'];
208
+ options?: never;
209
+ head?: never;
210
+ patch?: never;
211
+ trace?: never;
212
+ };
213
+ '/conversations/{conversationId}/generate-query': {
214
+ parameters: {
215
+ query?: never;
216
+ header?: never;
217
+ path?: never;
218
+ cookie?: never;
219
+ };
220
+ get?: never;
221
+ put?: never;
222
+ /**
223
+ * Generate an SQL query.
224
+ * @description Generate a new SQL query given a textual prompt.
225
+ */
226
+ post: operations['generateQuery'];
227
+ delete?: never;
228
+ options?: never;
229
+ head?: never;
230
+ patch?: never;
231
+ trace?: never;
232
+ };
233
+ '/conversations/{conversationId}/execute-query': {
234
+ parameters: {
235
+ query?: never;
236
+ header?: never;
237
+ path?: never;
238
+ cookie?: never;
239
+ };
240
+ get?: never;
241
+ put?: never;
242
+ /**
243
+ * Execute an SQL query.
244
+ * @description Execute SQL query and return the result.
245
+ */
246
+ post: operations['executeQuery'];
247
+ delete?: never;
248
+ options?: never;
249
+ head?: never;
250
+ patch?: never;
251
+ trace?: never;
252
+ };
253
+ '/conversations/{conversationId}/execute-transformation': {
254
+ parameters: {
255
+ query?: never;
256
+ header?: never;
257
+ path?: never;
258
+ cookie?: never;
259
+ };
260
+ get?: never;
261
+ put?: never;
262
+ /**
263
+ * Execute transformation code.
264
+ * @description Execute transformation and store the result to be retrieved later by getLastResult.
265
+ */
266
+ post: operations['executeTransformation'];
267
+ delete?: never;
268
+ options?: never;
269
+ head?: never;
270
+ patch?: never;
271
+ trace?: never;
272
+ };
273
+ '/conversations/{conversationId}/get-last-result': {
274
+ parameters: {
275
+ query?: never;
276
+ header?: never;
277
+ path?: never;
278
+ cookie?: never;
279
+ };
280
+ /**
281
+ * Get result (table preview) of the last executed transformation code.
282
+ * @description Get result of a transformation executed by previous executeTransformation call.
283
+ */
284
+ get: operations['getLastResult'];
285
+ put?: never;
286
+ post?: never;
287
+ delete?: never;
288
+ options?: never;
289
+ head?: never;
290
+ patch?: never;
291
+ trace?: never;
292
+ };
293
+ '/conversations/{id}/get-output-tables': {
294
+ parameters: {
295
+ query?: never;
296
+ header?: never;
297
+ path?: never;
298
+ cookie?: never;
299
+ };
300
+ get?: never;
301
+ put?: never;
302
+ /**
303
+ * Retrieve output tables from SQL query
304
+ * @description Analyzes a given SQL query and returns the names of all tables created by that query.
305
+ */
306
+ post: operations['getOutputTables'];
307
+ delete?: never;
308
+ options?: never;
309
+ head?: never;
310
+ patch?: never;
311
+ trace?: never;
312
+ };
313
+ '/prompt/{templateId}': {
314
+ parameters: {
315
+ query?: never;
316
+ header?: never;
317
+ path?: never;
318
+ cookie?: never;
319
+ };
320
+ get?: never;
321
+ put?: never;
322
+ /**
323
+ * Generate a response using a specific prompt template
324
+ * @description Generates a response using a predefined prompt template.
325
+ */
326
+ post: operations['generatePromptResponse'];
327
+ delete?: never;
328
+ options?: never;
329
+ head?: never;
330
+ patch?: never;
331
+ trace?: never;
332
+ };
333
+ '/docs/question': {
334
+ parameters: {
335
+ query?: never;
336
+ header?: never;
337
+ path?: never;
338
+ cookie?: never;
339
+ };
340
+ get?: never;
341
+ put?: never;
342
+ /**
343
+ * Ask a documentation question
344
+ * @description Ask a question about the documentation and get an answer with relevant sources.
345
+ */
346
+ post: operations['askDocsQuestion'];
347
+ delete?: never;
348
+ options?: never;
349
+ head?: never;
350
+ patch?: never;
351
+ trace?: never;
352
+ };
353
+ '/docs/components/{componentId}': {
354
+ parameters: {
355
+ query?: never;
356
+ header?: never;
357
+ path?: never;
358
+ cookie?: never;
359
+ };
360
+ /**
361
+ * Get component documentation
362
+ * @description Get documentation for a specific component.
363
+ */
364
+ get: operations['getComponentDocs'];
365
+ put?: never;
366
+ post?: never;
367
+ delete?: never;
368
+ options?: never;
369
+ head?: never;
370
+ patch?: never;
371
+ trace?: never;
372
+ };
373
+ };
374
+ type components = {
375
+ schemas: {
376
+ ErrorExplanationRequest: {
377
+ /**
378
+ * @deprecated
379
+ * @description Error message to explain. Deprecated and ignored, as now the error is pulled directly from job.
380
+ */
381
+ error?: string;
382
+ jobId: string;
383
+ };
384
+ ConfigurationDescriptionRequest: {
385
+ branchId: string;
386
+ componentId: string;
387
+ configId: string;
388
+ rowId?: string;
389
+ };
390
+ /**
391
+ * @description Provide the currentVersionId. If rowId is provided, the version IDs refer to row versions automatically.
392
+ * The previousVersionId is optional to support describing the first version (no previous).
393
+ */
394
+ ConfigurationVersionRequest: {
395
+ branchId: string;
396
+ componentId: string;
397
+ configId: string;
398
+ /** @description ID of the current version. If rowId is present, this refers to the current row version; otherwise it refers to the configuration version. */
399
+ currentVersionId: string;
400
+ /** @description ID of the previous version. If rowId is present, this refers to the previous row version. Optional; set null for first version. */
401
+ previousVersionId?: string;
402
+ /** @description Configuration row ID. If provided, currentVersionId/previousVersionId are interpreted as row version IDs. */
403
+ rowId?: string;
404
+ };
405
+ /**
406
+ * @description Request to describe differences between a configuration in two branches.
407
+ * The base branch configuration may not exist (for newly created configurations).
408
+ */
409
+ ConfigurationMergeRequest: {
410
+ /** @description ID of the component */
411
+ componentId: string;
412
+ /** @description ID of the configuration */
413
+ configId: string;
414
+ /** @description ID of the base branch (e.g., main branch) */
415
+ baseBranchId: string;
416
+ /** @description ID of the working branch */
417
+ currentBranchId: string;
418
+ };
419
+ ConfigurationVersionDescription: {
420
+ description: string;
421
+ correlationId: string;
422
+ };
423
+ ErrorExplanation: {
424
+ answer: string;
425
+ correlationId: string;
426
+ };
427
+ ObjectDescription: {
428
+ description: string;
429
+ correlationId: string;
430
+ };
431
+ ComponentSuggestionRequest: {
432
+ prompt: string;
433
+ };
434
+ ComponentSuggestion: {
435
+ components: components['schemas']['SuggestedComponent'][];
436
+ correlationId: string;
437
+ };
438
+ SuggestedComponent: {
439
+ componentId: string;
440
+ score: number;
441
+ };
442
+ /**
443
+ * @example {
444
+ * "correlationId": "fb489126-26f5-4190-89ea-3b17e5f31777",
445
+ * "subject": {
446
+ * "type": "failed-job",
447
+ * "jobId": 1085021910
448
+ * },
449
+ * "value": "good"
450
+ * }
451
+ */
452
+ Feedback: {
453
+ /** @enum {string} */
454
+ value: 'good' | 'bad' | 'cancel';
455
+ correlationId?: string;
456
+ comment?: string;
457
+ subject?:
458
+ | components['schemas']['ExplainFeedbackSubject']
459
+ | components['schemas']['DescribeConfigurationFeedbackSubject']
460
+ | components['schemas']['ConversationFeedbackSubject']
461
+ | components['schemas']['ComponentSuggestionsFeedbackSubject'];
462
+ };
463
+ ExplainFeedbackSubject: {
464
+ /**
465
+ * @description discriminator enum property added by openapi-typescript
466
+ * @enum {string}
467
+ */
468
+ type: 'failed-job';
469
+ jobId: string;
470
+ };
471
+ DescribeConfigurationFeedbackSubject: {
472
+ /**
473
+ * @description discriminator enum property added by openapi-typescript
474
+ * @enum {string}
475
+ */
476
+ type: 'configuration';
477
+ branchId: string;
478
+ componentId: string;
479
+ configId: string;
480
+ rowId?: string;
481
+ };
482
+ ConversationFeedbackSubject: {
483
+ /**
484
+ * @description discriminator enum property added by openapi-typescript
485
+ * @enum {string}
486
+ */
487
+ type: 'conversation';
488
+ conversationId: string;
489
+ };
490
+ ComponentSuggestionsFeedbackSubject: {
491
+ /**
492
+ * @description discriminator enum property added by openapi-typescript
493
+ * @enum {string}
494
+ */
495
+ type: 'component-suggestions';
496
+ searchTerm: string;
497
+ };
498
+ ConversationCreateRequest: {
499
+ branchId: string;
500
+ componentId: string;
501
+ configId: string;
502
+ };
503
+ ConversationGenerateQueryRequest: {
504
+ /** @description User's intent to generate a query */
505
+ prompt: string;
506
+ /** @description Existing query to be updated based on prompt */
507
+ existingQuery?: string;
508
+ };
509
+ ConversationGenerateQueryResponse: {
510
+ /** @description Generated SQL query */
511
+ query: string;
512
+ /** @description LLM's understanding of the query */
513
+ queryUnderstanding: string;
514
+ /** @description Reformulated query based on the LLM's understanding */
515
+ queryReformulation: string;
516
+ };
517
+ ConversationExecuteQueryRequest: {
518
+ query: string;
519
+ };
520
+ ConversationExecuteQueryResponse: {
521
+ columns: string[];
522
+ rows: {
523
+ columnName: string;
524
+ value: string;
525
+ isTruncated: boolean;
526
+ }[][];
527
+ };
528
+ ConversationExecuteTransformationRequest: {
529
+ /** @description Transformation configuration to be executed */
530
+ transformation: {
531
+ parameters: {
532
+ blocks: {
533
+ name: string;
534
+ codes: {
535
+ name: string;
536
+ script: string[];
537
+ }[];
538
+ }[];
539
+ };
540
+ storage: {
541
+ input: {
542
+ tables: Record<string, never>[];
543
+ };
544
+ };
545
+ };
546
+ /** @description Optional output table name, if not specified, output of last transformation query will be used. */
547
+ outputTable?: string;
548
+ };
549
+ GetOutputTablesRequest: {
550
+ /** @description An array of SQL statements to analyze for table creation statements. */
551
+ queries: string[];
552
+ };
553
+ Conversation: {
554
+ /** Format: uuid */
555
+ id: string;
556
+ /** Format: date-time */
557
+ createdAt: string;
558
+ /** Format: date-time */
559
+ updatedAt: string;
560
+ /**
561
+ * @description Status of the conversation:
562
+ * * failed - The conversation has failed
563
+ * * waitingForBranch - Waiting for branch to be created
564
+ * * branchCreated - Branch has been created
565
+ * * provisioningSandbox - Sandbox is being provisioned
566
+ * * loading - Loading data (currently unused)
567
+ * * ready - Ready for interaction
568
+ * * executing - Currently executing a transformation
569
+ * * deleted - The conversation has been deleted
570
+ * @enum {string}
571
+ */
572
+ status:
573
+ | 'failed'
574
+ | 'waitingForBranch'
575
+ | 'branchCreated'
576
+ | 'provisioningSandbox'
577
+ | 'loading'
578
+ | 'ready'
579
+ | 'executing'
580
+ | 'deleted';
581
+ sandboxCreateJobId?: string | null;
582
+ sandboxWorkspaceLoadJobId?: string | null;
583
+ sandboxDeleteJobId?: string | null;
584
+ sandboxId?: string | null;
585
+ configId?: string | null;
586
+ componentId?: string | null;
587
+ branchId?: string | null;
588
+ transformationExecutionJobId?: string | null;
589
+ transformationLastResultTable?: string | null;
590
+ transformationLastError?: string | null;
591
+ };
592
+ Error: {
593
+ /** @example The value foobar is invalid */
594
+ error: string;
595
+ /** @example 400 */
596
+ code: number;
597
+ /** @enum {string} */
598
+ status: 'error';
599
+ /** @example job-runner-1234567890 */
600
+ exceptionId?: string;
601
+ };
602
+ PromptRequest: {
603
+ /** @description The query/input to process with the template */
604
+ query: string;
605
+ };
606
+ PromptResponse: {
607
+ /** @description Generated response */
608
+ response: string;
609
+ /** @description Correlation ID for tracking */
610
+ correlationId: string;
611
+ };
612
+ /**
613
+ * @example {
614
+ * "tables": [
615
+ * "TABLE1",
616
+ * "TABLE2"
617
+ * ]
618
+ * }
619
+ */
620
+ GetOutputTablesResponse: {
621
+ /** @description List of output table names created by the queries */
622
+ tables: string[];
623
+ };
624
+ AskDocsQuestionRequest: {
625
+ /**
626
+ * @description The documentation question to ask
627
+ * @example How do I configure the Database writer?
628
+ */
629
+ query: string;
630
+ };
631
+ DocsResponse: {
632
+ /**
633
+ * @description The answer to the documentation question
634
+ * @example To configure the Database writer, you need to...
635
+ */
636
+ response: string;
637
+ metadata: {
638
+ /**
639
+ * @description List of documentation source URLs that were used to generate the answer
640
+ * @example [
641
+ * "https://help.example.com/components/writers/database",
642
+ * "https://help.example.com/tutorial/write/"
643
+ * ]
644
+ */
645
+ sources: string[];
646
+ };
647
+ };
648
+ ComponentDocsResponse: {
649
+ /**
650
+ * @description Unique identifier of the component
651
+ * @example keboola.wr-azure-event-hub
652
+ */
653
+ componentId: string;
654
+ /**
655
+ * @description Type of the component (e.g., writer, extractor)
656
+ * @example writer
657
+ */
658
+ componentType: string;
659
+ /**
660
+ * @description Display name of the component
661
+ * @example Azure Event Hub
662
+ */
663
+ componentName: string;
664
+ /**
665
+ * @description Categories the component belongs to
666
+ * @example [
667
+ * "Monitoring"
668
+ * ]
669
+ */
670
+ componentCategories: string[];
671
+ /** @description Short description of the component */
672
+ description: string;
673
+ /** @description Extended description of the component */
674
+ longDescription: string;
675
+ /**
676
+ * Format: uri
677
+ * @description URL to the component's documentation
678
+ */
679
+ documentationUrl: string | null;
680
+ /** @description Full markdown documentation content */
681
+ documentation: string | null;
682
+ /** @description JSON Schema for the component configuration */
683
+ configurationSchema: Record<string, never> | null;
684
+ /** @description JSON Schema for the component configuration row */
685
+ configurationRowSchema: Record<string, never> | null;
686
+ /** @description Human-readable description of the configuration process */
687
+ configurationDescription: string | null;
688
+ /** @description List of configuration examples */
689
+ rootConfigurationExamples: Record<string, never>[] | null;
690
+ /** @description List of configuration examples */
691
+ rowConfigurationExamples: Record<string, never>[] | null;
692
+ /** @description List of component flags */
693
+ componentFlags: string[] | null;
694
+ };
695
+ TableDefinitions: {
696
+ /** @description List of database databases */
697
+ databases: components['schemas']['Catalog'][];
698
+ };
699
+ Catalog: {
700
+ /** @description Database database name */
701
+ name: string;
702
+ /** @description User-friendly name for the database (typically project name) */
703
+ displayName?: string | null;
704
+ /** @description List of schemas in the database */
705
+ schemas: components['schemas']['Schema'][];
706
+ };
707
+ Schema: {
708
+ /** @description Schema name */
709
+ name: string;
710
+ /** @description User-friendly name for the schema (typically bucket display name) */
711
+ displayName?: string | null;
712
+ /** @description List of tables in the schema */
713
+ tables: components['schemas']['Table'][];
714
+ };
715
+ Table: {
716
+ /** @description Table name */
717
+ name: string;
718
+ /** @enum {string} */
719
+ type: 'BASE TABLE' | 'VIEW' | 'ALIAS';
720
+ /** @description User-friendly name for the table (typically table display name) */
721
+ displayName?: string | null;
722
+ /** @description Unique identifier of the table */
723
+ id?: string | null;
724
+ /** @description List of columns in the table */
725
+ columns: components['schemas']['Column'][];
726
+ metrics?: components['schemas']['TableMetrics'] | null;
727
+ lifecycle?: components['schemas']['TableLifecycle'] | null;
728
+ };
729
+ Column: {
730
+ /** @description Column name */
731
+ name: string;
732
+ /** @description Column data type. Present only when onlyWorkspaceSchema parameter is set to "1". */
733
+ type?: string;
734
+ };
735
+ TableMetrics: {
736
+ /** @description Number of rows in the table */
737
+ rowCount?: number | null;
738
+ /** @description Size of the table in bytes */
739
+ byteSize?: number | null;
740
+ };
741
+ TableLifecycle: {
742
+ /**
743
+ * Format: date-time
744
+ * @description Date and time when the table was created
745
+ */
746
+ createdAt?: string | null;
747
+ /**
748
+ * Format: date-time
749
+ * @description Date and time of the last modification
750
+ */
751
+ modifiedAt?: string | null;
752
+ /**
753
+ * Format: date-time
754
+ * @description Date and time of the last data import
755
+ */
756
+ lastImportAt?: string | null;
757
+ };
758
+ };
759
+ responses: never;
760
+ parameters: never;
761
+ requestBodies: never;
762
+ headers: never;
763
+ pathItems: never;
764
+ };
765
+ type operations = {
766
+ index: {
767
+ parameters: {
768
+ query?: never;
769
+ header?: never;
770
+ path?: never;
771
+ cookie?: never;
772
+ };
773
+ requestBody?: never;
774
+ responses: {
775
+ /** @description OK */
776
+ 200: {
777
+ headers: {
778
+ [name: string]: unknown;
779
+ };
780
+ content: {
781
+ 'application/json': {
782
+ appName: string;
783
+ appVersion: string;
784
+ /** Format: url */
785
+ apiDocs: string;
786
+ };
787
+ };
788
+ };
789
+ };
790
+ };
791
+ healthCheck: {
792
+ parameters: {
793
+ query?: never;
794
+ header?: never;
795
+ path?: never;
796
+ cookie?: never;
797
+ };
798
+ requestBody?: never;
799
+ responses: {
800
+ /** @description OK */
801
+ 200: {
802
+ headers: {
803
+ [name: string]: unknown;
804
+ };
805
+ content: {
806
+ 'application/json': {
807
+ /** @enum {string} */
808
+ status: 'ok';
809
+ };
810
+ };
811
+ };
812
+ };
813
+ };
814
+ explainError: {
815
+ parameters: {
816
+ query?: never;
817
+ header?: never;
818
+ path?: never;
819
+ cookie?: never;
820
+ };
821
+ requestBody?: {
822
+ content: {
823
+ 'application/json': components['schemas']['ErrorExplanationRequest'];
824
+ };
825
+ };
826
+ responses: {
827
+ /** @description Created */
828
+ 201: {
829
+ headers: {
830
+ [name: string]: unknown;
831
+ };
832
+ content: {
833
+ 'application/json': components['schemas']['ErrorExplanation'];
834
+ };
835
+ };
836
+ /** @description Error response */
837
+ default: {
838
+ headers: {
839
+ [name: string]: unknown;
840
+ };
841
+ content: {
842
+ 'application/json': components['schemas']['Error'];
843
+ };
844
+ };
845
+ };
846
+ };
847
+ describeConfiguration: {
848
+ parameters: {
849
+ query?: never;
850
+ header?: never;
851
+ path?: never;
852
+ cookie?: never;
853
+ };
854
+ requestBody?: {
855
+ content: {
856
+ 'application/json': components['schemas']['ConfigurationDescriptionRequest'];
857
+ };
858
+ };
859
+ responses: {
860
+ /** @description Created */
861
+ 201: {
862
+ headers: {
863
+ [name: string]: unknown;
864
+ };
865
+ content: {
866
+ 'application/json': components['schemas']['ObjectDescription'];
867
+ };
868
+ };
869
+ /** @description Error response */
870
+ default: {
871
+ headers: {
872
+ [name: string]: unknown;
873
+ };
874
+ content: {
875
+ 'application/json': components['schemas']['Error'];
876
+ };
877
+ };
878
+ };
879
+ };
880
+ describeConfigurationVersion: {
881
+ parameters: {
882
+ query?: never;
883
+ header?: never;
884
+ path?: never;
885
+ cookie?: never;
886
+ };
887
+ requestBody?: {
888
+ content: {
889
+ 'application/json': components['schemas']['ConfigurationVersionRequest'];
890
+ };
891
+ };
892
+ responses: {
893
+ /** @description Created */
894
+ 201: {
895
+ headers: {
896
+ [name: string]: unknown;
897
+ };
898
+ content: {
899
+ 'application/json': components['schemas']['ConfigurationVersionDescription'];
900
+ };
901
+ };
902
+ /** @description Error response */
903
+ default: {
904
+ headers: {
905
+ [name: string]: unknown;
906
+ };
907
+ content: {
908
+ 'application/json': components['schemas']['Error'];
909
+ };
910
+ };
911
+ };
912
+ };
913
+ describeConfigurationMerge: {
914
+ parameters: {
915
+ query?: never;
916
+ header?: never;
917
+ path?: never;
918
+ cookie?: never;
919
+ };
920
+ requestBody?: {
921
+ content: {
922
+ 'application/json': components['schemas']['ConfigurationMergeRequest'];
923
+ };
924
+ };
925
+ responses: {
926
+ /** @description Created */
927
+ 201: {
928
+ headers: {
929
+ [name: string]: unknown;
930
+ };
931
+ content: {
932
+ 'application/json': components['schemas']['ConfigurationVersionDescription'];
933
+ };
934
+ };
935
+ /** @description Error response */
936
+ default: {
937
+ headers: {
938
+ [name: string]: unknown;
939
+ };
940
+ content: {
941
+ 'application/json': components['schemas']['Error'];
942
+ };
943
+ };
944
+ };
945
+ };
946
+ suggestComponent: {
947
+ parameters: {
948
+ query?: never;
949
+ header?: never;
950
+ path?: never;
951
+ cookie?: never;
952
+ };
953
+ requestBody?: {
954
+ content: {
955
+ 'application/json': components['schemas']['ComponentSuggestionRequest'];
956
+ };
957
+ };
958
+ responses: {
959
+ /** @description Result */
960
+ 200: {
961
+ headers: {
962
+ [name: string]: unknown;
963
+ };
964
+ content: {
965
+ 'application/json': components['schemas']['ComponentSuggestion'];
966
+ };
967
+ };
968
+ /** @description Error response */
969
+ default: {
970
+ headers: {
971
+ [name: string]: unknown;
972
+ };
973
+ content: {
974
+ 'application/json': components['schemas']['Error'];
975
+ };
976
+ };
977
+ };
978
+ };
979
+ feedback: {
980
+ parameters: {
981
+ query?: never;
982
+ header?: never;
983
+ path?: never;
984
+ cookie?: never;
985
+ };
986
+ requestBody?: {
987
+ content: {
988
+ 'application/json': components['schemas']['Feedback'];
989
+ };
990
+ };
991
+ responses: {
992
+ /** @description Accepted */
993
+ 202: {
994
+ headers: {
995
+ [name: string]: unknown;
996
+ };
997
+ content?: never;
998
+ };
999
+ /** @description Error response */
1000
+ default: {
1001
+ headers: {
1002
+ [name: string]: unknown;
1003
+ };
1004
+ content: {
1005
+ 'application/json': components['schemas']['Error'];
1006
+ };
1007
+ };
1008
+ };
1009
+ };
1010
+ createConversation: {
1011
+ parameters: {
1012
+ query?: never;
1013
+ header?: never;
1014
+ path?: never;
1015
+ cookie?: never;
1016
+ };
1017
+ requestBody?: {
1018
+ content: {
1019
+ 'application/json': components['schemas']['ConversationCreateRequest'];
1020
+ };
1021
+ };
1022
+ responses: {
1023
+ /** @description Created */
1024
+ 202: {
1025
+ headers: {
1026
+ [name: string]: unknown;
1027
+ };
1028
+ content: {
1029
+ 'application/json': components['schemas']['Conversation'];
1030
+ };
1031
+ };
1032
+ /** @description Error response */
1033
+ default: {
1034
+ headers: {
1035
+ [name: string]: unknown;
1036
+ };
1037
+ content: {
1038
+ 'application/json': components['schemas']['Error'];
1039
+ };
1040
+ };
1041
+ };
1042
+ };
1043
+ getConversation: {
1044
+ parameters: {
1045
+ query?: never;
1046
+ header?: never;
1047
+ path: {
1048
+ /** @description Conversation id (UUID) */
1049
+ conversationId: string;
1050
+ };
1051
+ cookie?: never;
1052
+ };
1053
+ requestBody?: never;
1054
+ responses: {
1055
+ /** @description Conversation detail */
1056
+ 200: {
1057
+ headers: {
1058
+ [name: string]: unknown;
1059
+ };
1060
+ content: {
1061
+ 'application/json': components['schemas']['Conversation'];
1062
+ };
1063
+ };
1064
+ /** @description Error response */
1065
+ default: {
1066
+ headers: {
1067
+ [name: string]: unknown;
1068
+ };
1069
+ content: {
1070
+ 'application/json': components['schemas']['Error'];
1071
+ };
1072
+ };
1073
+ };
1074
+ };
1075
+ deleteConversation: {
1076
+ parameters: {
1077
+ query?: never;
1078
+ header?: never;
1079
+ path: {
1080
+ /** @description Conversation id (UUID) */
1081
+ conversationId: string;
1082
+ };
1083
+ cookie?: never;
1084
+ };
1085
+ requestBody?: never;
1086
+ responses: {
1087
+ /** @description Conversation deleted */
1088
+ 204: {
1089
+ headers: {
1090
+ [name: string]: unknown;
1091
+ };
1092
+ content?: never;
1093
+ };
1094
+ /** @description Error response */
1095
+ default: {
1096
+ headers: {
1097
+ [name: string]: unknown;
1098
+ };
1099
+ content: {
1100
+ 'application/json': components['schemas']['Error'];
1101
+ };
1102
+ };
1103
+ };
1104
+ };
1105
+ generateQuery: {
1106
+ parameters: {
1107
+ query?: never;
1108
+ header?: never;
1109
+ path: {
1110
+ /** @description Conversation id (UUID) */
1111
+ conversationId: string;
1112
+ };
1113
+ cookie?: never;
1114
+ };
1115
+ requestBody?: {
1116
+ content: {
1117
+ 'application/json': components['schemas']['ConversationGenerateQueryRequest'];
1118
+ };
1119
+ };
1120
+ responses: {
1121
+ /** @description Generate query */
1122
+ 200: {
1123
+ headers: {
1124
+ [name: string]: unknown;
1125
+ };
1126
+ content: {
1127
+ 'application/json': components['schemas']['ConversationGenerateQueryResponse'];
1128
+ };
1129
+ };
1130
+ /** @description Error response */
1131
+ default: {
1132
+ headers: {
1133
+ [name: string]: unknown;
1134
+ };
1135
+ content: {
1136
+ 'application/json': components['schemas']['Error'];
1137
+ };
1138
+ };
1139
+ };
1140
+ };
1141
+ executeQuery: {
1142
+ parameters: {
1143
+ query?: never;
1144
+ header?: never;
1145
+ path: {
1146
+ /** @description Conversation id (UUID) */
1147
+ conversationId: string;
1148
+ };
1149
+ cookie?: never;
1150
+ };
1151
+ requestBody?: {
1152
+ content: {
1153
+ 'application/json': components['schemas']['ConversationExecuteQueryRequest'];
1154
+ };
1155
+ };
1156
+ responses: {
1157
+ /** @description Execute query */
1158
+ 200: {
1159
+ headers: {
1160
+ [name: string]: unknown;
1161
+ };
1162
+ content: {
1163
+ 'application/json': components['schemas']['ConversationExecuteQueryResponse'];
1164
+ };
1165
+ };
1166
+ /** @description Error response */
1167
+ default: {
1168
+ headers: {
1169
+ [name: string]: unknown;
1170
+ };
1171
+ content: {
1172
+ 'application/json': components['schemas']['Error'];
1173
+ };
1174
+ };
1175
+ };
1176
+ };
1177
+ executeTransformation: {
1178
+ parameters: {
1179
+ query?: never;
1180
+ header?: never;
1181
+ path: {
1182
+ /** @description Conversation id (UUID) */
1183
+ conversationId: string;
1184
+ };
1185
+ cookie?: never;
1186
+ };
1187
+ requestBody?: {
1188
+ content: {
1189
+ 'application/json': components['schemas']['ConversationExecuteTransformationRequest'];
1190
+ };
1191
+ };
1192
+ responses: {
1193
+ /** @description Accepted */
1194
+ 201: {
1195
+ headers: {
1196
+ [name: string]: unknown;
1197
+ };
1198
+ content?: never;
1199
+ };
1200
+ /** @description Conversation not ready */
1201
+ 400: {
1202
+ headers: {
1203
+ [name: string]: unknown;
1204
+ };
1205
+ content: {
1206
+ 'application/json': components['schemas']['Error'];
1207
+ };
1208
+ };
1209
+ /** @description Error response */
1210
+ default: {
1211
+ headers: {
1212
+ [name: string]: unknown;
1213
+ };
1214
+ content: {
1215
+ 'application/json': components['schemas']['Error'];
1216
+ };
1217
+ };
1218
+ };
1219
+ };
1220
+ getLastResult: {
1221
+ parameters: {
1222
+ query?: never;
1223
+ header?: never;
1224
+ path: {
1225
+ /** @description Conversation id (UUID) */
1226
+ conversationId: string;
1227
+ };
1228
+ cookie?: never;
1229
+ };
1230
+ requestBody?: never;
1231
+ responses: {
1232
+ /** @description Execute query */
1233
+ 200: {
1234
+ headers: {
1235
+ [name: string]: unknown;
1236
+ };
1237
+ content: {
1238
+ 'application/json': components['schemas']['ConversationExecuteQueryResponse'];
1239
+ };
1240
+ };
1241
+ /** @description Result is not yet ready */
1242
+ 202: {
1243
+ headers: {
1244
+ [name: string]: unknown;
1245
+ };
1246
+ content?: never;
1247
+ };
1248
+ /** @description Error response */
1249
+ default: {
1250
+ headers: {
1251
+ [name: string]: unknown;
1252
+ };
1253
+ content: {
1254
+ 'application/json': components['schemas']['Error'];
1255
+ };
1256
+ };
1257
+ };
1258
+ };
1259
+ getOutputTables: {
1260
+ parameters: {
1261
+ query?: never;
1262
+ header?: never;
1263
+ path: {
1264
+ /** @description Conversation ID (UUID) */
1265
+ id: string;
1266
+ };
1267
+ cookie?: never;
1268
+ };
1269
+ requestBody: {
1270
+ content: {
1271
+ 'application/json': components['schemas']['GetOutputTablesRequest'];
1272
+ };
1273
+ };
1274
+ responses: {
1275
+ /** @description List of output tables */
1276
+ 200: {
1277
+ headers: {
1278
+ [name: string]: unknown;
1279
+ };
1280
+ content: {
1281
+ 'application/json': components['schemas']['GetOutputTablesResponse'];
1282
+ };
1283
+ };
1284
+ /** @description Error response */
1285
+ default: {
1286
+ headers: {
1287
+ [name: string]: unknown;
1288
+ };
1289
+ content: {
1290
+ 'application/json': components['schemas']['Error'];
1291
+ };
1292
+ };
1293
+ };
1294
+ };
1295
+ generatePromptResponse: {
1296
+ parameters: {
1297
+ query?: never;
1298
+ header?: never;
1299
+ path: {
1300
+ /** @description Template identifier */
1301
+ templateId: string;
1302
+ };
1303
+ cookie?: never;
1304
+ };
1305
+ requestBody: {
1306
+ content: {
1307
+ 'application/json': components['schemas']['PromptRequest'];
1308
+ };
1309
+ };
1310
+ responses: {
1311
+ /** @description Created */
1312
+ 201: {
1313
+ headers: {
1314
+ [name: string]: unknown;
1315
+ };
1316
+ content: {
1317
+ 'application/json': components['schemas']['PromptResponse'];
1318
+ };
1319
+ };
1320
+ /** @description Error response */
1321
+ default: {
1322
+ headers: {
1323
+ [name: string]: unknown;
1324
+ };
1325
+ content: {
1326
+ 'application/json': components['schemas']['Error'];
1327
+ };
1328
+ };
1329
+ };
1330
+ };
1331
+ askDocsQuestion: {
1332
+ parameters: {
1333
+ query?: never;
1334
+ header?: never;
1335
+ path?: never;
1336
+ cookie?: never;
1337
+ };
1338
+ requestBody: {
1339
+ content: {
1340
+ 'application/json': components['schemas']['AskDocsQuestionRequest'];
1341
+ };
1342
+ };
1343
+ responses: {
1344
+ /** @description Answer created successfully */
1345
+ 201: {
1346
+ headers: {
1347
+ [name: string]: unknown;
1348
+ };
1349
+ content: {
1350
+ 'application/json': components['schemas']['DocsResponse'];
1351
+ };
1352
+ };
1353
+ /** @description Error response */
1354
+ default: {
1355
+ headers: {
1356
+ [name: string]: unknown;
1357
+ };
1358
+ content: {
1359
+ 'application/json': components['schemas']['Error'];
1360
+ };
1361
+ };
1362
+ };
1363
+ };
1364
+ getComponentDocs: {
1365
+ parameters: {
1366
+ query?: never;
1367
+ header?: never;
1368
+ path: {
1369
+ /** @description The ID of the component to get documentation for */
1370
+ componentId: string;
1371
+ };
1372
+ cookie?: never;
1373
+ };
1374
+ requestBody?: never;
1375
+ responses: {
1376
+ /** @description Component documentation retrieved successfully */
1377
+ 200: {
1378
+ headers: {
1379
+ [name: string]: unknown;
1380
+ };
1381
+ content: {
1382
+ 'application/json': components['schemas']['ComponentDocsResponse'];
1383
+ };
1384
+ };
1385
+ /** @description Error response */
1386
+ default: {
1387
+ headers: {
1388
+ [name: string]: unknown;
1389
+ };
1390
+ content: {
1391
+ 'application/json': components['schemas']['Error'];
1392
+ };
1393
+ };
1394
+ };
1395
+ };
1396
+ };
1397
+
1398
+ type DescribeConfigurationVersionBody = OpenapiBodyType<paths['/describe/configuration-version']['post']>;
1399
+ type DescribeConfigurationMergeBody = OpenapiBodyType<paths['/describe/configuration-merge']['post']>;
1400
+ type FeedbackBody = OpenapiBodyType<paths['/feedback']['post']>;
1401
+ type ExplainErrorBody = OpenapiBodyType<paths['/explain']['post']>;
1402
+ type ErrorExplanation = OpenapiReturnType<paths['/explain']['post']>;
1403
+ type SuggestComponentBody = OpenapiBodyType<paths['/suggest/component']['post']>;
1404
+ type ComponentSuggestion = OpenapiReturnType<paths['/suggest/component']['post']>;
1405
+ type DescribeConfigurationBody = OpenapiBodyType<paths['/describe/configuration']['post']>;
1406
+ type ObjectDescription = OpenapiReturnType<paths['/describe/configuration']['post']>;
1407
+
1408
+ export type { ComponentSuggestion as C, DescribeConfigurationVersionBody as D, ExplainErrorBody as E, FeedbackBody as F, ObjectDescription as O, SuggestComponentBody as S, DescribeConfigurationMergeBody as a, DescribeConfigurationBody as b, components as c, ErrorExplanation as d };