@keboola/api-client 3.0.0 → 3.0.1

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 (244) hide show
  1. package/README.md +0 -33
  2. package/dist/ai/index.cjs +3 -3
  3. package/dist/ai/index.d.cts +1 -1
  4. package/dist/ai/index.d.ts +1 -1
  5. package/dist/ai/index.js +2 -2
  6. package/dist/assets/index.cjs +3 -3
  7. package/dist/assets/index.d.cts +1 -1
  8. package/dist/assets/index.d.ts +1 -1
  9. package/dist/assets/index.js +2 -2
  10. package/dist/{authMiddleware-BteBe1Bt.d.cts → authMiddleware-CeIxAJQ5.d.cts} +1 -1
  11. package/dist/{authMiddleware-BTFSCMTE.d.ts → authMiddleware-Dcy9gRT9.d.ts} +1 -1
  12. package/dist/chat/index.cjs +3 -3
  13. package/dist/chat/index.d.cts +1 -1
  14. package/dist/chat/index.d.ts +1 -1
  15. package/dist/chat/index.js +2 -2
  16. package/dist/{chunk-R7PD3BRA.js → chunk-2ZMZ4KWJ.js} +3 -23
  17. package/dist/chunk-2ZMZ4KWJ.js.map +1 -0
  18. package/dist/{chunk-VS5PM7KL.js → chunk-3DW7RIEB.js} +4 -4
  19. package/dist/chunk-3DW7RIEB.js.map +1 -0
  20. package/dist/{chunk-633QJMHH.cjs → chunk-4TENBFWN.cjs} +5 -5
  21. package/dist/chunk-4TENBFWN.cjs.map +1 -0
  22. package/dist/{chunk-LZ6A6J2E.cjs → chunk-5DVEQBCD.cjs} +8 -8
  23. package/dist/chunk-5DVEQBCD.cjs.map +1 -0
  24. package/dist/{chunk-3Y6NK7TC.js → chunk-5PUNJJAR.js} +4 -4
  25. package/dist/chunk-5PUNJJAR.js.map +1 -0
  26. package/dist/{chunk-6RQDX6JY.cjs → chunk-5YN6FED2.cjs} +6 -6
  27. package/dist/chunk-5YN6FED2.cjs.map +1 -0
  28. package/dist/{chunk-3T54WH4X.cjs → chunk-6D3MJRXE.cjs} +5 -5
  29. package/dist/chunk-6D3MJRXE.cjs.map +1 -0
  30. package/dist/{chunk-76AHKXLC.cjs → chunk-6FW72PC2.cjs} +9 -9
  31. package/dist/chunk-6FW72PC2.cjs.map +1 -0
  32. package/dist/{chunk-IY3VNVXD.cjs → chunk-6HBXNLB7.cjs} +5 -5
  33. package/dist/chunk-6HBXNLB7.cjs.map +1 -0
  34. package/dist/{chunk-WQ7EZWBF.js → chunk-6TUGEXVX.js} +4 -4
  35. package/dist/chunk-6TUGEXVX.js.map +1 -0
  36. package/dist/{chunk-OKVYLO6C.js → chunk-76Q2CTFV.js} +4 -4
  37. package/dist/chunk-76Q2CTFV.js.map +1 -0
  38. package/dist/chunk-7ETZQGY7.js +75 -0
  39. package/dist/chunk-7ETZQGY7.js.map +1 -0
  40. package/dist/{chunk-EY5LALX2.cjs → chunk-AYXQJONA.cjs} +5 -5
  41. package/dist/chunk-AYXQJONA.cjs.map +1 -0
  42. package/dist/{chunk-YPCD7M2N.cjs → chunk-BA2JMZP6.cjs} +5 -5
  43. package/dist/chunk-BA2JMZP6.cjs.map +1 -0
  44. package/dist/{chunk-SAEG42HW.js → chunk-CQFZ7PGZ.js} +4 -4
  45. package/dist/chunk-CQFZ7PGZ.js.map +1 -0
  46. package/dist/{chunk-JKFIB6SQ.cjs → chunk-D2ZTB5R2.cjs} +33 -35
  47. package/dist/chunk-D2ZTB5R2.cjs.map +1 -0
  48. package/dist/{chunk-YXCVNX2Q.cjs → chunk-ECQZAWH3.cjs} +5 -5
  49. package/dist/chunk-ECQZAWH3.cjs.map +1 -0
  50. package/dist/{chunk-GO6SOMGL.js → chunk-GLQZHLLN.js} +4 -4
  51. package/dist/chunk-GLQZHLLN.js.map +1 -0
  52. package/dist/{chunk-TXFQ4YIK.js → chunk-HLGMFFDF.js} +4 -4
  53. package/dist/chunk-HLGMFFDF.js.map +1 -0
  54. package/dist/{chunk-JLNOESHX.cjs → chunk-IL2PAEG3.cjs} +5 -5
  55. package/dist/chunk-IL2PAEG3.cjs.map +1 -0
  56. package/dist/chunk-IWIN6HKU.cjs +82 -0
  57. package/dist/chunk-IWIN6HKU.cjs.map +1 -0
  58. package/dist/{chunk-HCNNMUTR.cjs → chunk-KOO3ZG5X.cjs} +5 -5
  59. package/dist/chunk-KOO3ZG5X.cjs.map +1 -0
  60. package/dist/{chunk-VAOCYA6B.js → chunk-LBVYZLWL.js} +4 -4
  61. package/dist/chunk-LBVYZLWL.js.map +1 -0
  62. package/dist/{chunk-BGLICNTG.cjs → chunk-LI3BAYDV.cjs} +5 -5
  63. package/dist/chunk-LI3BAYDV.cjs.map +1 -0
  64. package/dist/{chunk-3B7L6MCG.js → chunk-M4PFR3OS.js} +4 -4
  65. package/dist/chunk-M4PFR3OS.js.map +1 -0
  66. package/dist/{chunk-HPVTVQBJ.cjs → chunk-MTFRH3R5.cjs} +4 -22
  67. package/dist/chunk-MTFRH3R5.cjs.map +1 -0
  68. package/dist/{chunk-GNPQB3MT.js → chunk-OAKTIIG4.js} +3 -3
  69. package/dist/chunk-OAKTIIG4.js.map +1 -0
  70. package/dist/{chunk-LV3ZWNDC.js → chunk-PM2FAMWT.js} +4 -4
  71. package/dist/chunk-PM2FAMWT.js.map +1 -0
  72. package/dist/{chunk-PV4HIVW2.js → chunk-Q6T6GRDR.js} +4 -4
  73. package/dist/chunk-Q6T6GRDR.js.map +1 -0
  74. package/dist/{chunk-PD3LJYS2.js → chunk-QXWPUKK2.js} +5 -22
  75. package/dist/chunk-QXWPUKK2.js.map +1 -0
  76. package/dist/{chunk-UXF53ZOV.js → chunk-RBGTWJ7G.js} +4 -4
  77. package/dist/chunk-RBGTWJ7G.js.map +1 -0
  78. package/dist/{chunk-ZEMKE6DI.js → chunk-RBW5ABSQ.js} +24 -26
  79. package/dist/chunk-RBW5ABSQ.js.map +1 -0
  80. package/dist/{chunk-TIIRBQUA.cjs → chunk-REXMA2IN.cjs} +5 -5
  81. package/dist/chunk-REXMA2IN.cjs.map +1 -0
  82. package/dist/{chunk-XFC52BJV.cjs → chunk-ROBQ2CV7.cjs} +99 -81
  83. package/dist/chunk-ROBQ2CV7.cjs.map +1 -0
  84. package/dist/{chunk-HYUGRMCY.cjs → chunk-RTD3XWBM.cjs} +8 -8
  85. package/dist/chunk-RTD3XWBM.cjs.map +1 -0
  86. package/dist/{chunk-XUDMML5C.cjs → chunk-SDA2UO4X.cjs} +5 -5
  87. package/dist/chunk-SDA2UO4X.cjs.map +1 -0
  88. package/dist/{chunk-FBQHHAL5.js → chunk-T23NVI3Q.js} +4 -4
  89. package/dist/chunk-T23NVI3Q.js.map +1 -0
  90. package/dist/{chunk-TNJWOHPM.js → chunk-T66CY2YX.js} +95 -77
  91. package/dist/chunk-T66CY2YX.js.map +1 -0
  92. package/dist/{chunk-IJMQCOBC.js → chunk-V35JLM5Q.js} +4 -4
  93. package/dist/chunk-V35JLM5Q.js.map +1 -0
  94. package/dist/{chunk-DCTDH77P.cjs → chunk-VLSN55I3.cjs} +2 -24
  95. package/dist/chunk-VLSN55I3.cjs.map +1 -0
  96. package/dist/{chunk-YUEYMIMI.cjs → chunk-ZIVZF6M2.cjs} +6 -6
  97. package/dist/chunk-ZIVZF6M2.cjs.map +1 -0
  98. package/dist/{chunk-7FY6COWG.js → chunk-ZQPET6GI.js} +4 -4
  99. package/dist/chunk-ZQPET6GI.js.map +1 -0
  100. package/dist/{createGenericFetchClient-DEakI3F1.d.ts → createGenericFetchClient-Cp2By_KQ.d.ts} +1 -1
  101. package/dist/{createGenericFetchClient-CLUzu-jY.d.cts → createGenericFetchClient-DuW7iSRy.d.cts} +1 -1
  102. package/dist/{createOpenapiFetchClient-CpXmAIFB.d.cts → createOpenapiFetchClient-BuKDZcLD.d.cts} +1 -1
  103. package/dist/{createOpenapiFetchClient-_sm4bchL.d.ts → createOpenapiFetchClient-DhL2gQvd.d.ts} +1 -1
  104. package/dist/dataScience/index.cjs +4 -4
  105. package/dist/dataScience/index.d.cts +1 -1
  106. package/dist/dataScience/index.d.ts +1 -1
  107. package/dist/dataScience/index.js +2 -2
  108. package/dist/domain/storageTable/index.cjs +267 -0
  109. package/dist/domain/storageTable/index.cjs.map +1 -0
  110. package/dist/domain/storageTable/index.d.cts +131 -0
  111. package/dist/domain/storageTable/index.d.ts +131 -0
  112. package/dist/domain/storageTable/index.js +264 -0
  113. package/dist/domain/storageTable/index.js.map +1 -0
  114. package/dist/editor/index.cjs +3 -3
  115. package/dist/editor/index.d.cts +2 -2
  116. package/dist/editor/index.d.ts +2 -2
  117. package/dist/editor/index.js +2 -2
  118. package/dist/editor/types.d.cts +1 -1
  119. package/dist/editor/types.d.ts +1 -1
  120. package/dist/encryption/index.cjs +3 -3
  121. package/dist/encryption/index.d.cts +1 -1
  122. package/dist/encryption/index.d.ts +1 -1
  123. package/dist/encryption/index.js +2 -2
  124. package/dist/import/index.cjs +3 -3
  125. package/dist/import/index.d.cts +1 -1
  126. package/dist/import/index.d.ts +1 -1
  127. package/dist/import/index.js +2 -2
  128. package/dist/index.cjs +316 -182
  129. package/dist/index.cjs.map +1 -1
  130. package/dist/index.d.cts +111 -27
  131. package/dist/index.d.ts +111 -27
  132. package/dist/index.js +287 -150
  133. package/dist/index.js.map +1 -1
  134. package/dist/management/index.cjs +5 -5
  135. package/dist/management/index.d.cts +5 -5
  136. package/dist/management/index.d.ts +5 -5
  137. package/dist/management/index.js +3 -3
  138. package/dist/metastore/index.cjs +3 -3
  139. package/dist/metastore/index.d.cts +2 -2
  140. package/dist/metastore/index.d.ts +2 -2
  141. package/dist/metastore/index.js +2 -2
  142. package/dist/oauth/index.cjs +3 -3
  143. package/dist/oauth/index.d.cts +1 -1
  144. package/dist/oauth/index.d.ts +1 -1
  145. package/dist/oauth/index.js +2 -2
  146. package/dist/queryService/index.cjs +3 -3
  147. package/dist/queryService/index.d.cts +1 -1
  148. package/dist/queryService/index.d.ts +1 -1
  149. package/dist/queryService/index.js +2 -2
  150. package/dist/queue/index.cjs +3 -3
  151. package/dist/queue/index.d.cts +1 -1
  152. package/dist/queue/index.d.ts +1 -1
  153. package/dist/queue/index.js +2 -2
  154. package/dist/sdk/storage/index.cjs +11 -19
  155. package/dist/sdk/storage/index.d.cts +6 -17
  156. package/dist/sdk/storage/index.d.ts +6 -17
  157. package/dist/sdk/storage/index.js +1 -1
  158. package/dist/sdk/tag/index.d.cts +2 -2
  159. package/dist/sdk/tag/index.d.ts +2 -2
  160. package/dist/sdk/tag/types.d.cts +2 -2
  161. package/dist/sdk/tag/types.d.ts +2 -2
  162. package/dist/sdk/vault/index.cjs +33 -0
  163. package/dist/sdk/vault/index.cjs.map +1 -0
  164. package/dist/sdk/vault/index.d.cts +70 -0
  165. package/dist/sdk/vault/index.d.ts +70 -0
  166. package/dist/sdk/vault/index.js +4 -0
  167. package/dist/sdk/vault/index.js.map +1 -0
  168. package/dist/status/index.cjs +3 -3
  169. package/dist/status/index.d.cts +1 -1
  170. package/dist/status/index.d.ts +1 -1
  171. package/dist/status/index.js +2 -2
  172. package/dist/storage/index.cjs +4 -4
  173. package/dist/storage/index.d.cts +4 -4
  174. package/dist/storage/index.d.ts +4 -4
  175. package/dist/storage/index.js +2 -2
  176. package/dist/storage/types.d.cts +25 -1
  177. package/dist/storage/types.d.ts +25 -1
  178. package/dist/{storageClient-CDX-GvNV.d.cts → storageClient-C5R3H96R.d.cts} +5 -4
  179. package/dist/{storageClient-BgvUM7gy.d.ts → storageClient-DBiS4voo.d.ts} +5 -4
  180. package/dist/{storageSdk-IOIdwqy-.d.cts → storageSdk-B7Iq38Vh.d.cts} +1 -1
  181. package/dist/{storageSdk-qGaWB1dy.d.ts → storageSdk-BnIemr2s.d.ts} +1 -1
  182. package/dist/syncActions/index.cjs +3 -3
  183. package/dist/syncActions/index.d.cts +2 -2
  184. package/dist/syncActions/index.d.ts +2 -2
  185. package/dist/syncActions/index.js +2 -2
  186. package/dist/telemetry/index.cjs +3 -3
  187. package/dist/telemetry/index.d.cts +2 -2
  188. package/dist/telemetry/index.d.ts +2 -2
  189. package/dist/telemetry/index.js +2 -2
  190. package/dist/{types-DgaMV8FF.d.ts → types-Bom8wyth.d.cts} +1 -13
  191. package/dist/{types-DgaMV8FF.d.cts → types-Bom8wyth.d.ts} +1 -13
  192. package/dist/types-Brx8PoEB.d.cts +11 -0
  193. package/dist/{types-B--u7l2H.d.ts → types-CqWXdTMg.d.ts} +0 -19
  194. package/dist/types-D4CDCW-Y.d.ts +11 -0
  195. package/dist/{types-C0Owx2P7.d.cts → types-DBVQGCI1.d.cts} +0 -19
  196. package/dist/vault/index.cjs +3 -3
  197. package/dist/vault/index.d.cts +1 -1
  198. package/dist/vault/index.d.ts +1 -1
  199. package/dist/vault/index.js +2 -2
  200. package/dist/vault/types.d.cts +3 -2
  201. package/dist/vault/types.d.ts +3 -2
  202. package/dist/verify/index.cjs +3 -3
  203. package/dist/verify/index.js +2 -2
  204. package/package.json +29 -3
  205. package/dist/chunk-3B7L6MCG.js.map +0 -1
  206. package/dist/chunk-3T54WH4X.cjs.map +0 -1
  207. package/dist/chunk-3Y6NK7TC.js.map +0 -1
  208. package/dist/chunk-633QJMHH.cjs.map +0 -1
  209. package/dist/chunk-6RQDX6JY.cjs.map +0 -1
  210. package/dist/chunk-76AHKXLC.cjs.map +0 -1
  211. package/dist/chunk-7FY6COWG.js.map +0 -1
  212. package/dist/chunk-BGLICNTG.cjs.map +0 -1
  213. package/dist/chunk-DCTDH77P.cjs.map +0 -1
  214. package/dist/chunk-EY5LALX2.cjs.map +0 -1
  215. package/dist/chunk-FBQHHAL5.js.map +0 -1
  216. package/dist/chunk-GNPQB3MT.js.map +0 -1
  217. package/dist/chunk-GO6SOMGL.js.map +0 -1
  218. package/dist/chunk-HCNNMUTR.cjs.map +0 -1
  219. package/dist/chunk-HPVTVQBJ.cjs.map +0 -1
  220. package/dist/chunk-HYUGRMCY.cjs.map +0 -1
  221. package/dist/chunk-IJMQCOBC.js.map +0 -1
  222. package/dist/chunk-IY3VNVXD.cjs.map +0 -1
  223. package/dist/chunk-JKFIB6SQ.cjs.map +0 -1
  224. package/dist/chunk-JLNOESHX.cjs.map +0 -1
  225. package/dist/chunk-LV3ZWNDC.js.map +0 -1
  226. package/dist/chunk-LZ6A6J2E.cjs.map +0 -1
  227. package/dist/chunk-OKVYLO6C.js.map +0 -1
  228. package/dist/chunk-PD3LJYS2.js.map +0 -1
  229. package/dist/chunk-PV4HIVW2.js.map +0 -1
  230. package/dist/chunk-R7PD3BRA.js.map +0 -1
  231. package/dist/chunk-SAEG42HW.js.map +0 -1
  232. package/dist/chunk-TIIRBQUA.cjs.map +0 -1
  233. package/dist/chunk-TNJWOHPM.js.map +0 -1
  234. package/dist/chunk-TXFQ4YIK.js.map +0 -1
  235. package/dist/chunk-UXF53ZOV.js.map +0 -1
  236. package/dist/chunk-VAOCYA6B.js.map +0 -1
  237. package/dist/chunk-VS5PM7KL.js.map +0 -1
  238. package/dist/chunk-WQ7EZWBF.js.map +0 -1
  239. package/dist/chunk-XFC52BJV.cjs.map +0 -1
  240. package/dist/chunk-XUDMML5C.cjs.map +0 -1
  241. package/dist/chunk-YPCD7M2N.cjs.map +0 -1
  242. package/dist/chunk-YUEYMIMI.cjs.map +0 -1
  243. package/dist/chunk-YXCVNX2Q.cjs.map +0 -1
  244. package/dist/chunk-ZEMKE6DI.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { G as GetAllFeaturesQuery, F as Feature, c as components$5, C as CreateMaintainerBody, U as UpdateMaintainerBody, M as MaintainerUser, A as AddMaintainerUserBody, a as CreateMaintainerInvitationBody, b as CreateMaintainerOrganizationBody, d as MetadataItem, S as SetMaintainerMetadataBody, O as OrganizationDetail, e as UpdateOrganizationBody, f as AddOrganizationUserBody, g as CreateOrganizationInvitationBody, P as Project, h as CreateOrganizationProjectBody, i as SetOrganizationMetadataBody, j as GetProjectPath, k as CreateProjectFeaturePath, l as CreateProjectFeatureBody, R as RemoveProjectFeaturePath, m as User, L as ListProjectUsersPath, n as GetProjectMetadataPath, o as ProjectMetadataItem, p as SetProjectMetadataPath, q as SetProjectMetadataBody, r as GetProjectReviewersPath, s as Reviewer, t as SetProjectReviewersPath, u as SetProjectReviewersBody, v as AddUserFeatureBody, w as AddUserFeaturePath, x as RemoveUserFeaturePath } from './types-BTcT8Q0T.js';
2
- import { M as MiddlewareFn, B as BaseClientOptions, A as ApiResponse, H as HttpMethod } from './types-DgaMV8FF.js';
3
- export { c as ApiError, d as CreateCallbackMiddlewareOptions, e as FetchClientError, i as isAbortError, f as isApiError, g as isFetchClientError } from './types-DgaMV8FF.js';
2
+ import { b as ApiError, M as MiddlewareFn, c as BaseClientOptions, A as ApiResponse, H as HttpMethod } from './types-Bom8wyth.js';
4
3
  import { StatusSummary } from './status/types.js';
5
4
  import { Post } from './assets/types.js';
6
5
  import { GetCredentialsQuery, Credential, CreateCredentialBody } from './oauth/types.js';
@@ -14,25 +13,28 @@ import { G as GetQueueJobPath, c as components$2, S as SearchJobsQuery } from '.
14
13
  import { P as PostQueryPath, a as PostQueryBody, b as PostCancelQueryJobPath, G as GetQueryJobPath, c as components$1, d as GetQueryResultsPath, e as GetQueryResutsQuery, f as GetQueriesPath, g as GetQueriesHistoryQuery, h as GetExportResultsQuery, E as ExportResultsResponse } from './types-CGMJT3JL.js';
15
14
  import { CreateCredentialsBody, WorkspaceData } from './telemetry/types.js';
16
15
  import { EnrollMFAInput, GetDataAppPublicGitRepositoryInput, GetDataAppPasswordPrivateGitRepositoryInput, GetDataAppSSHKeyPrivateGitRepositoryInput, GetPublicGitRepositoryInput, GetGitPrivateRepositoryInput } from './syncActions/types.js';
17
- import { C as CreateSqlSessionBody, G as GetSqlSessionPath, a as GetSqlSessionsQuery, b as GetSqlSessionSchemaPath, c as GetSqlSessionSchemaQuery, d as components, P as PostSqlRunQueryPath, e as PostSqlRunQueryBody, f as PostSqlTablePreviewPath, g as PostSqlTablePreviewBody, h as GetSqlSessionTableDdlPath, i as GetSqlSessionTableDdlQuery, j as PostSqlSessionLoadPath, k as PostSqlSessionLoadBody, l as PostSqlSessionUnloadPath, m as PostSqlSessionUnloadBody } from './types-B--u7l2H.js';
16
+ import { C as CreateSqlSessionBody, G as GetSqlSessionPath, a as GetSqlSessionsQuery, b as GetSqlSessionSchemaPath, c as GetSqlSessionSchemaQuery, d as components, P as PostSqlRunQueryPath, e as PostSqlRunQueryBody, f as PostSqlTablePreviewPath, g as PostSqlTablePreviewBody, h as GetSqlSessionTableDdlPath, i as GetSqlSessionTableDdlQuery, j as PostSqlSessionLoadPath, k as PostSqlSessionLoadBody, l as PostSqlSessionUnloadPath, m as PostSqlSessionUnloadBody } from './types-CqWXdTMg.js';
18
17
  import { EncryptQuery } from './encryption/types.js';
19
18
  import { G as GetDataAppRunsPath, a as GetDataAppRunsQuery, b as GetDataAppRunPath, c as GetDataAppLogsDownloadPath, d as GetDataAppLogsTailPath, e as GetDataAppLogsTailQuery, L as LogEntry, f as GetAppsQuery, g as GetDataAppPath, C as CreateDataAppBody, P as PatchDataAppPath, h as PatchDataAppBody, D as DeleteDataAppPath, i as GetDataAppPasswordPath, R as ResetDataAppPasswordPath, j as GetSandboxPath } from './utils-BNQZiNOu.js';
20
19
  export { p as parseLogLines } from './utils-BNQZiNOu.js';
21
- import { CreateVariableBody, DeleteVariablePath, VariableWithHash, GetVariablesQuery, GetVariablesByBranchId } from './vault/types.js';
22
- import { ServiceId, CreateTableAsyncBody, TableCreateJob, TableImportAsyncBody, TableImportJob, TableExportAsyncBody, TableExportJob, BucketListing, CreateBucketListingInput, UpdateBucketListingInput, Service, StackComponent, GetBucketsQuery, Bucket, BucketDetail, CreateBucketBody, UpdateBucketBody, CreateScheduledRefreshPath, CreateScheduledRefreshBody, ScheduledTask, Job, GetEventsQuery, StorageEvent, CreateEventBody, File as File$1, GetFilesQuery, DeleteFileTagPath, PrepareFileBody, PreparedFile, GetTablesQuery, Table, TableDetail, GetDataPreview, PrevieData, DeleteTableRows, JobUnion, DevBranch, CreateDevBranchJobBody, DevBranchPath, BranchMetadata, BranchMetadataEntry, WorkspacePath, Workspace, WorkspacesPath, ResetWorkspacePassword, SetWorkspacePublicInput, GetWorkspaceSaml2LoginPath, WorkspaceSaml2Login, WorkspaceObject, DeleteWorkspaceObjectInput, UnloadWorkspaceInput, MergeRequestDetail, MergeRequestDetailWithActivityLog, CreateMergeRequestParams, UpdateMergeRequestParams, JobOperation, GetJobPath, GetJobsQuery, GetComponentPath, Component, GetComponentsPath, GetComponentsQuery, GetSearchComponentConfigurationsPath, SearchComponentConfigurationsQuery, SearchComponentConfiguration, PartialKey, CreateConfigurationInput, BaseComponentConfig, ConfigType, ConfigurationPath, ComponentConfig, ConfigurationDiffPath, ConfigurationDiff, ConfigurationRowDiffPath, ConfigurationRowDiff, GetConfigurationsPath, CreateConfigurationRowInput, Row, CreateConfigurationRowsInput, CreateConfigurationRowBody, DeleteConfigurationRowInput, DeleteConfigurationRowsInput, CreateConfigurationWorkspaceBody, ConfigurationUseCaseType, ConfigurationVersionPath, ConfigurationVersion, ConfigurationVersionDetailPath, ConfigurationVersionDetail, GetStackInfoQuery, StackInfo } from './storage/types.js';
20
+ import { CreateVariableBody, VariableWithHash, DeleteVariablePath, GetVariablesQuery, GetVariablesByBranchId } from './vault/types.js';
21
+ import { a as EncryptionCtx } from './types-D4CDCW-Y.js';
22
+ import { ServiceId, CreateTableAsyncBody, TableCreateJob, TableImportAsyncBody, TableImportJob, TableExportAsyncBody, TableExportJob, BucketListing, CreateBucketListingInput, UpdateBucketListingInput, Service, StackComponent, GetBucketsQuery, Bucket, BucketDetail, CreateBucketBody, UpdateBucketBody, CreateScheduledRefreshPath, CreateScheduledRefreshBody, ScheduledTask, Job, GetEventsQuery, StorageEvent, GetTableEventsQuery, TableEvent, CreateEventBody, File as File$1, GetFilesQuery, DeleteFileTagPath, PrepareFileBody, PreparedFile, GetTablesQuery, Table, TableDetail, GetDataPreview, PrevieData, DeleteTableRows, JobUnion, DevBranch, CreateDevBranchJobBody, DevBranchPath, BranchMetadata, BranchMetadataEntry, WorkspacePath, Workspace, WorkspacesPath, ResetWorkspacePassword, SetWorkspacePublicInput, GetWorkspaceSaml2LoginPath, WorkspaceSaml2Login, WorkspaceObject, DeleteWorkspaceObjectInput, UnloadWorkspaceInput, MergeRequestDetail, MergeRequestDetailWithActivityLog, CreateMergeRequestParams, UpdateMergeRequestParams, JobOperation, GetJobPath, GetJobsQuery, GetComponentPath, Component, GetComponentsPath, GetComponentsQuery, GetSearchComponentConfigurationsPath, SearchComponentConfigurationsQuery, SearchComponentConfiguration, PartialKey, CreateConfigurationInput, BaseComponentConfig, ConfigType, ConfigurationPath, ComponentConfig, ConfigurationDiffPath, ConfigurationDiff, ConfigurationRowDiffPath, ConfigurationRowDiff, GetConfigurationsPath, CreateConfigurationRowInput, Row, CreateConfigurationRowsInput, CreateConfigurationRowBody, DeleteConfigurationRowInput, DeleteConfigurationRowsInput, CreateConfigurationWorkspaceBody, ConfigurationUseCaseType, ConfigurationVersionPath, ConfigurationVersion, ConfigurationVersionDetailPath, ConfigurationVersionDetail, GetStackInfoQuery, StackInfo } from './storage/types.js';
23
23
  import { M as MetaObject } from './types-BY0tjg2Q.js';
24
- import { C as ConcurrentOptions, M as MiddlewareFn$1 } from './storageClient-BgvUM7gy.js';
25
- export { a as concurrent } from './storageClient-BgvUM7gy.js';
24
+ import { C as ConcurrentOptions, M as MiddlewareFn$1 } from './storageClient-DBiS4voo.js';
25
+ export { a as concurrent } from './storageClient-DBiS4voo.js';
26
26
  import { K as KeboolaObjectId } from './keboolaUID-D1DGSbge.js';
27
27
  export { k as keboolaUID } from './keboolaUID-D1DGSbge.js';
28
28
  import { TagWithBindings, TagData, CreateMetaObjectMetaDataInput, UpdateMetaObjectMetaDataInput } from './sdk/tag/types.js';
29
29
  import { B as Backend, S as StorageToken } from './types-DYMMsuU0.js';
30
- export { c as createGenericFetchClient } from './createGenericFetchClient-DEakI3F1.js';
31
- export { M as ManagementClientAuthError, i as isManagementClientAuthError } from './authMiddleware-BTFSCMTE.js';
30
+ export { c as createGenericFetchClient } from './createGenericFetchClient-Cp2By_KQ.js';
31
+ export { M as ManagementClientAuthError, i as isManagementClientAuthError } from './authMiddleware-Dcy9gRT9.js';
32
32
  import { ManagementToken } from './verify/types.js';
33
- export { c as createStorageSdk } from './storageSdk-qGaWB1dy.js';
33
+ export { c as createStorageSdk } from './storageSdk-BnIemr2s.js';
34
34
  import 'qs';
35
- import './createOpenapiFetchClient-_sm4bchL.js';
35
+ import './encryption/index.js';
36
+ import './vault/index.js';
37
+ import './createOpenapiFetchClient-DhL2gQvd.js';
36
38
  import './metastore/index.js';
37
39
 
38
40
  declare class UserError extends Error {
@@ -43,6 +45,11 @@ declare class ServiceUnavailableError extends Error {
43
45
  constructor(serviceId: string, path: string[], clientName: string);
44
46
  }
45
47
 
48
+ type FetchClientError = TypeError | ApiError | SyntaxError | DOMException;
49
+ declare const isApiError: (error: unknown) => error is ApiError;
50
+ declare const isAbortError: (error: unknown) => error is DOMException;
51
+ declare const isFetchClientError: (error: unknown) => error is FetchClientError;
52
+
46
53
  declare const HttpHeader: {
47
54
  CONTENT_TYPE: string;
48
55
  CONTENT_DISPOSITION: string;
@@ -3552,6 +3559,21 @@ type UsageResponse = OpenapiReturnType<paths['/api/usage']['get']>;
3552
3559
 
3553
3560
  declare function assert<T>(value: T | undefined | null, message: string): asserts value is T;
3554
3561
 
3562
+ /**
3563
+ * Request coalescing for a single fire-and-forget task. The first call runs the
3564
+ * task immediately. Calls made *while* it runs don't start a second run — they
3565
+ * mark a single pending rerun, so once the in-flight run settles the task runs
3566
+ * exactly once more (looping until no call arrived mid-run). The returned
3567
+ * trigger returns `void`: callers fire it and never await.
3568
+ *
3569
+ * Unlike a single-flight/dedup helper (where concurrent callers share and await
3570
+ * the in-flight promise), `coalesce` guarantees a post-change pass — the final
3571
+ * run always reflects the latest trigger. Task rejections and synchronous
3572
+ * throws are forwarded to `onError` and never destabilize the coalescer. (An
3573
+ * `onError` that itself throws is the caller's responsibility.)
3574
+ */
3575
+ declare const coalesce: (task: () => unknown, onError?: (error: unknown) => void) => (() => void);
3576
+
3555
3577
  declare const delay: (timeout: number, signal?: AbortSignal) => Promise<unknown>;
3556
3578
 
3557
3579
  type PollResult<T> = {
@@ -3582,18 +3604,33 @@ declare const generateUUID: () => `${string}-${string}-${string}-${string}-${str
3582
3604
  */
3583
3605
  declare const series: <T, R>(options: Omit<ConcurrentOptions<T, R>, "concurrency">) => Promise<R[]>;
3584
3606
 
3607
+ type Listener<T> = (value: T) => void;
3585
3608
  /**
3586
- * Strips trailing slashes from a base URL so concatenating a leading-slash
3587
- * path (e.g. `/v2/storage`) never produces a double slash.
3588
- *
3589
- * Without this, callers that pass `https://connection.keboola.com/` end up
3590
- * issuing requests to `https://connection.keboola.com//v2/storage/...`, which
3591
- * the Storage API rejects with a 404.
3609
+ * A minimal subscribable value holder: read the current value, replace it, and
3610
+ * be notified when it changes. `set` notifies listeners only when the value
3611
+ * actually changes (`Object.is`), and `subscribe` returns an unsubscribe fn.
3592
3612
  */
3593
- declare const normalizeBaseUrl: (baseUrl: string) => string;
3613
+ type Store<T> = {
3614
+ get: () => T;
3615
+ set: (value: T) => void;
3616
+ subscribe: (listener: Listener<T>) => () => void;
3617
+ };
3618
+ declare const createStore: <T>(initial: T) => Store<T>;
3594
3619
 
3595
3620
  type ServiceUrls = Partial<Record<ServiceId, (url: string) => string | undefined | null>>;
3596
3621
 
3622
+ /**
3623
+ * Service clients reached through the registry — the key is the `clientName`
3624
+ * the user accesses them by (e.g. `api.dataScience`), not the `serviceId`.
3625
+ */
3626
+ type ServiceClientName = 'vault' | 'dataScience' | 'encryption' | 'editor' | 'syncActions' | 'telemetry' | 'queryService' | 'queue' | 'chat' | 'ai' | 'import' | 'kaiAgent' | 'oauth';
3627
+ /** Clients instantiated directly (not stack-discovered), keyed by their property name. */
3628
+ type NonServiceClientName = 'storage' | 'management' | 'assets' | 'status' | 'metastore';
3629
+ type MiddlewareTarget = ServiceClientName | NonServiceClientName;
3630
+ type Middlewares = MiddlewareFn[] | ({
3631
+ all?: MiddlewareFn[];
3632
+ } & Partial<Record<MiddlewareTarget, MiddlewareFn[]>>);
3633
+
3597
3634
  type ApiClientOptions = {
3598
3635
  token: {
3599
3636
  storageApi: string;
@@ -3602,10 +3639,10 @@ type ApiClientOptions = {
3602
3639
  assetsBaseUrl: string;
3603
3640
  statusBaseUrl: string;
3604
3641
  metastoreBaseUrl: string;
3605
- storageMiddlewares?: MiddlewareFn[];
3642
+ middlewares?: Middlewares;
3606
3643
  clientServiceUrls?: ServiceUrls;
3607
3644
  } & BaseClientOptions;
3608
- declare const createClients: ({ baseUrl, token, callbacks, assetsBaseUrl, statusBaseUrl, metastoreBaseUrl, clientServiceUrls, storageMiddlewares, }: ApiClientOptions) => Promise<{
3645
+ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, metastoreBaseUrl, clientServiceUrls, middlewares, }: ApiClientOptions) => Promise<{
3609
3646
  sdk: {
3610
3647
  tag: {
3611
3648
  getTags: (signal?: AbortSignal) => Promise<TagWithBindings[]>;
@@ -3772,6 +3809,48 @@ declare const createClients: ({ baseUrl, token, callbacks, assetsBaseUrl, status
3772
3809
  results: null;
3773
3810
  })>;
3774
3811
  };
3812
+ vault: {
3813
+ createVariable: (variable: CreateVariableBody, encryption: EncryptionCtx) => Promise<{
3814
+ key: string;
3815
+ value: string;
3816
+ flags: ("encrypted" | "oauthCredentialsId")[];
3817
+ group?: string;
3818
+ attributes: {
3819
+ branchId?: string;
3820
+ } & {
3821
+ [key: string]: string;
3822
+ };
3823
+ } & {
3824
+ hash?: string;
3825
+ }>;
3826
+ deleteVariable: (variable: VariableWithHash, signal?: AbortSignal) => Promise<void>;
3827
+ updateVariable: (variable: VariableWithHash, encryption: EncryptionCtx, signal?: AbortSignal) => Promise<{
3828
+ key: string;
3829
+ value: string;
3830
+ flags: ("encrypted" | "oauthCredentialsId")[];
3831
+ group?: string;
3832
+ attributes: {
3833
+ branchId?: string;
3834
+ } & {
3835
+ [key: string]: string;
3836
+ };
3837
+ } & {
3838
+ hash?: string;
3839
+ }>;
3840
+ setVariablesGroup: (group: string, variables: VariableWithHash[], encryption: EncryptionCtx, signal?: AbortSignal) => Promise<({
3841
+ key: string;
3842
+ value: string;
3843
+ flags: ("encrypted" | "oauthCredentialsId")[];
3844
+ group?: string;
3845
+ attributes: {
3846
+ branchId?: string;
3847
+ } & {
3848
+ [key: string]: string;
3849
+ };
3850
+ } & {
3851
+ hash?: string;
3852
+ })[]>;
3853
+ };
3775
3854
  };
3776
3855
  vault: {
3777
3856
  createVariable: (body: CreateVariableBody, signal?: AbortSignal) => Promise<{
@@ -4713,6 +4792,7 @@ declare const createClients: ({ baseUrl, token, callbacks, assetsBaseUrl, status
4713
4792
  events: {
4714
4793
  getEvents: (query?: GetEventsQuery, signal?: AbortSignal) => Promise<StorageEvent[]>;
4715
4794
  getEvent: (eventId: string | number, signal?: AbortSignal) => Promise<StorageEvent>;
4795
+ getTableEvents: (tableId: string, query?: GetTableEventsQuery, signal?: AbortSignal) => Promise<TableEvent[]>;
4716
4796
  createEvent: (body: CreateEventBody, signal?: AbortSignal) => Promise<StorageEvent>;
4717
4797
  };
4718
4798
  files: {
@@ -5737,17 +5817,22 @@ type ResponseLog = {
5737
5817
  statusText: string;
5738
5818
  headers: Record<string, string>;
5739
5819
  };
5740
- type Log = {
5820
+ type BaseLog = {
5741
5821
  correlationId: string;
5742
5822
  method: HttpMethod;
5743
5823
  durationMs: number;
5744
5824
  request: RequestLog;
5745
- response?: ResponseLog;
5746
- error?: Error;
5747
5825
  };
5826
+ type SuccessLog = BaseLog & {
5827
+ response: ResponseLog;
5828
+ };
5829
+ type ErrorLog = BaseLog & {
5830
+ error: Error;
5831
+ };
5832
+ type Log = SuccessLog | ErrorLog;
5748
5833
  type Logger = {
5749
- info: (log: Log) => void;
5750
- error: (log: Log) => void;
5834
+ info?: (log: SuccessLog) => void;
5835
+ error?: (log: ErrorLog) => void;
5751
5836
  };
5752
5837
  type LogLevel = 'error-only' | 'all';
5753
5838
  type LoggingOptions = {
@@ -5755,7 +5840,6 @@ type LoggingOptions = {
5755
5840
  level?: LogLevel;
5756
5841
  redactHeaders?: string[];
5757
5842
  };
5758
- declare const consoleLogger: Logger;
5759
5843
  declare const createLoggingMiddleware: (options?: LoggingOptions) => MiddlewareFn;
5760
5844
 
5761
5845
  type RetryOptions = {
@@ -5778,4 +5862,4 @@ declare const createDevApiClient: () => {
5778
5862
  };
5779
5863
  };
5780
5864
 
5781
- export { type ApiClient, type ApiClientOptions, ConcurrentOptions, HttpContentType, HttpHeader, KeboolaHttpHeader, KeboolaObjectId, type Log, type LogLevel, type Logger, type LoggingOptions, MiddlewareFn, PollException, type RequestLog, type ResponseLog, type RetryOptions, ServiceUnavailableError, UserError, assert, consoleLogger, createApiClient, createDevApiClient, createLoggingMiddleware, createRetryMiddleware, delay, generateUUID, normalizeBaseUrl, poll, series };
5865
+ export { type ApiClient, type ApiClientOptions, ApiError, ConcurrentOptions, type FetchClientError, HttpContentType, HttpHeader, KeboolaHttpHeader, KeboolaObjectId, type Log, type LogLevel, type Logger, type LoggingOptions, MiddlewareFn, PollException, type RequestLog, type ResponseLog, type RetryOptions, ServiceUnavailableError, type Store, UserError, assert, coalesce, createApiClient, createDevApiClient, createLoggingMiddleware, createRetryMiddleware, createStore, delay, generateUUID, isAbortError, isApiError, isFetchClientError, poll, series };