@keboola/api-client 3.0.1 → 5.0.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 (309) hide show
  1. package/README.md +34 -6
  2. package/dist/ai/index.cjs +4 -3
  3. package/dist/ai/index.d.cts +5 -10
  4. package/dist/ai/index.d.ts +5 -10
  5. package/dist/ai/index.js +3 -2
  6. package/dist/ai/types.d.cts +2 -2
  7. package/dist/ai/types.d.ts +2 -2
  8. package/dist/assets/index.cjs +4 -3
  9. package/dist/assets/index.d.cts +2 -2
  10. package/dist/assets/index.d.ts +2 -2
  11. package/dist/assets/index.js +3 -2
  12. package/dist/{authMiddleware-Dcy9gRT9.d.ts → authMiddleware-B0p06GYQ.d.ts} +1 -1
  13. package/dist/{authMiddleware-CeIxAJQ5.d.cts → authMiddleware-vNb2hfLP.d.cts} +1 -1
  14. package/dist/chat/index.cjs +4 -3
  15. package/dist/chat/index.d.cts +4 -4
  16. package/dist/chat/index.d.ts +4 -4
  17. package/dist/chat/index.js +3 -2
  18. package/dist/chat/types.d.cts +2 -2
  19. package/dist/chat/types.d.ts +2 -2
  20. package/dist/{chunk-Q6T6GRDR.js → chunk-2CTHLPTU.js} +12 -5
  21. package/dist/chunk-2CTHLPTU.js.map +1 -0
  22. package/dist/{chunk-BA2JMZP6.cjs → chunk-2EWL5BAZ.cjs} +4 -4
  23. package/dist/{chunk-BA2JMZP6.cjs.map → chunk-2EWL5BAZ.cjs.map} +1 -1
  24. package/dist/{chunk-LBVYZLWL.js → chunk-2NLVV2MF.js} +3 -3
  25. package/dist/{chunk-LBVYZLWL.js.map → chunk-2NLVV2MF.js.map} +1 -1
  26. package/dist/{chunk-MTFRH3R5.cjs → chunk-3CIPWA33.cjs} +4 -23
  27. package/dist/chunk-3CIPWA33.cjs.map +1 -0
  28. package/dist/{chunk-RBGTWJ7G.js → chunk-4FU45NEU.js} +7 -5
  29. package/dist/chunk-4FU45NEU.js.map +1 -0
  30. package/dist/chunk-4I6TJWBG.cjs +38 -0
  31. package/dist/chunk-4I6TJWBG.cjs.map +1 -0
  32. package/dist/{chunk-3DW7RIEB.js → chunk-4IBEYSSA.js} +7 -5
  33. package/dist/chunk-4IBEYSSA.js.map +1 -0
  34. package/dist/{chunk-T66CY2YX.js → chunk-4NUA46VD.js} +473 -41
  35. package/dist/chunk-4NUA46VD.js.map +1 -0
  36. package/dist/{chunk-T23NVI3Q.js → chunk-5XADEX3R.js} +7 -5
  37. package/dist/chunk-5XADEX3R.js.map +1 -0
  38. package/dist/{chunk-V35JLM5Q.js → chunk-65YXOZDQ.js} +7 -4
  39. package/dist/chunk-65YXOZDQ.js.map +1 -0
  40. package/dist/{chunk-M4PFR3OS.js → chunk-6DPZQRNC.js} +8 -5
  41. package/dist/chunk-6DPZQRNC.js.map +1 -0
  42. package/dist/{chunk-GLQZHLLN.js → chunk-7JOV7PXU.js} +7 -5
  43. package/dist/chunk-7JOV7PXU.js.map +1 -0
  44. package/dist/{chunk-OAKTIIG4.js → chunk-7PPUK4HS.js} +4 -3
  45. package/dist/chunk-7PPUK4HS.js.map +1 -0
  46. package/dist/{chunk-ZIVZF6M2.cjs → chunk-7UQVB2SQ.cjs} +9 -7
  47. package/dist/chunk-7UQVB2SQ.cjs.map +1 -0
  48. package/dist/{chunk-RTD3XWBM.cjs → chunk-AB6LHU2Z.cjs} +11 -9
  49. package/dist/chunk-AB6LHU2Z.cjs.map +1 -0
  50. package/dist/{chunk-VLSN55I3.cjs → chunk-AWRMGLMT.cjs} +113 -3
  51. package/dist/chunk-AWRMGLMT.cjs.map +1 -0
  52. package/dist/{chunk-REXMA2IN.cjs → chunk-CFR2CKM6.cjs} +8 -6
  53. package/dist/chunk-CFR2CKM6.cjs.map +1 -0
  54. package/dist/{chunk-5YN6FED2.cjs → chunk-DGWPC6VR.cjs} +13 -6
  55. package/dist/chunk-DGWPC6VR.cjs.map +1 -0
  56. package/dist/{chunk-SDA2UO4X.cjs → chunk-DOUFVJJF.cjs} +9 -6
  57. package/dist/chunk-DOUFVJJF.cjs.map +1 -0
  58. package/dist/{chunk-76Q2CTFV.js → chunk-EDDRN2CO.js} +7 -5
  59. package/dist/chunk-EDDRN2CO.js.map +1 -0
  60. package/dist/chunk-FL54VJ35.js +32 -0
  61. package/dist/chunk-FL54VJ35.js.map +1 -0
  62. package/dist/chunk-GOC5UODV.cjs +30 -0
  63. package/dist/chunk-GOC5UODV.cjs.map +1 -0
  64. package/dist/{chunk-5PUNJJAR.js → chunk-JKXQFEY7.js} +7 -5
  65. package/dist/chunk-JKXQFEY7.js.map +1 -0
  66. package/dist/chunk-KKZP4DUR.cjs +340 -0
  67. package/dist/chunk-KKZP4DUR.cjs.map +1 -0
  68. package/dist/{chunk-2ZMZ4KWJ.js → chunk-KQ2QNGRX.js} +113 -3
  69. package/dist/chunk-KQ2QNGRX.js.map +1 -0
  70. package/dist/{chunk-ECQZAWH3.cjs → chunk-KT4MFNBC.cjs} +8 -6
  71. package/dist/chunk-KT4MFNBC.cjs.map +1 -0
  72. package/dist/{chunk-RBW5ABSQ.js → chunk-MUQ7TAWH.js} +126 -7
  73. package/dist/chunk-MUQ7TAWH.js.map +1 -0
  74. package/dist/{chunk-D2ZTB5R2.cjs → chunk-OAQGC32L.cjs} +135 -16
  75. package/dist/chunk-OAQGC32L.cjs.map +1 -0
  76. package/dist/chunk-OJJ3QLZP.js +338 -0
  77. package/dist/chunk-OJJ3QLZP.js.map +1 -0
  78. package/dist/{chunk-5DVEQBCD.cjs → chunk-P4CQFG3X.cjs} +11 -9
  79. package/dist/chunk-P4CQFG3X.cjs.map +1 -0
  80. package/dist/{chunk-IL2PAEG3.cjs → chunk-RF64RAHW.cjs} +8 -6
  81. package/dist/chunk-RF64RAHW.cjs.map +1 -0
  82. package/dist/{chunk-AYXQJONA.cjs → chunk-RPNL672Y.cjs} +4 -4
  83. package/dist/chunk-RPNL672Y.cjs.map +1 -0
  84. package/dist/{chunk-HLGMFFDF.js → chunk-S7HIK7XY.js} +7 -5
  85. package/dist/chunk-S7HIK7XY.js.map +1 -0
  86. package/dist/{chunk-ROBQ2CV7.cjs → chunk-T7UDL2KI.cjs} +475 -44
  87. package/dist/chunk-T7UDL2KI.cjs.map +1 -0
  88. package/dist/{chunk-PM2FAMWT.js → chunk-UT3GUUCO.js} +7 -5
  89. package/dist/chunk-UT3GUUCO.js.map +1 -0
  90. package/dist/chunk-UUY6LQT6.cjs +267 -0
  91. package/dist/chunk-UUY6LQT6.cjs.map +1 -0
  92. package/dist/{chunk-LI3BAYDV.cjs → chunk-V32CB5U2.cjs} +8 -6
  93. package/dist/chunk-V32CB5U2.cjs.map +1 -0
  94. package/dist/{chunk-6D3MJRXE.cjs → chunk-VZROPAWL.cjs} +8 -6
  95. package/dist/chunk-VZROPAWL.cjs.map +1 -0
  96. package/dist/{chunk-6HBXNLB7.cjs → chunk-WLS43HX4.cjs} +8 -6
  97. package/dist/chunk-WLS43HX4.cjs.map +1 -0
  98. package/dist/{chunk-KOO3ZG5X.cjs → chunk-WOGG723K.cjs} +8 -5
  99. package/dist/{chunk-V35JLM5Q.js.map → chunk-WOGG723K.cjs.map} +1 -1
  100. package/dist/{chunk-4TENBFWN.cjs → chunk-XHQZ4TF7.cjs} +11 -6
  101. package/dist/chunk-XHQZ4TF7.cjs.map +1 -0
  102. package/dist/{chunk-QXWPUKK2.js → chunk-XI6R76X3.js} +4 -20
  103. package/dist/chunk-XI6R76X3.js.map +1 -0
  104. package/dist/{chunk-6TUGEXVX.js → chunk-XRHAE4SD.js} +3 -3
  105. package/dist/{chunk-6TUGEXVX.js.map → chunk-XRHAE4SD.js.map} +1 -1
  106. package/dist/{chunk-ZQPET6GI.js → chunk-Y3RILILK.js} +10 -5
  107. package/dist/chunk-Y3RILILK.js.map +1 -0
  108. package/dist/{chunk-CQFZ7PGZ.js → chunk-YH52X52J.js} +7 -5
  109. package/dist/chunk-YH52X52J.js.map +1 -0
  110. package/dist/chunk-ZOREOLGE.js +264 -0
  111. package/dist/chunk-ZOREOLGE.js.map +1 -0
  112. package/dist/{createGenericFetchClient-Cp2By_KQ.d.ts → createGenericFetchClient-Gpom91V-.d.ts} +1 -1
  113. package/dist/{createGenericFetchClient-DuW7iSRy.d.cts → createGenericFetchClient-yfcpR7qD.d.cts} +1 -1
  114. package/dist/{createOpenapiFetchClient-DhL2gQvd.d.ts → createOpenapiFetchClient-B44nXiti.d.ts} +2 -2
  115. package/dist/{createOpenapiFetchClient-BuKDZcLD.d.cts → createOpenapiFetchClient-Ci0-Qe53.d.cts} +2 -2
  116. package/dist/dataScience/index.cjs +5 -4
  117. package/dist/dataScience/index.d.cts +26 -6
  118. package/dist/dataScience/index.d.ts +26 -6
  119. package/dist/dataScience/index.js +3 -2
  120. package/dist/dataScience/types.d.cts +2 -2
  121. package/dist/dataScience/types.d.ts +2 -2
  122. package/dist/domain/permissions/index.cjs +5 -11
  123. package/dist/domain/permissions/index.cjs.map +1 -1
  124. package/dist/domain/permissions/index.d.cts +3 -2
  125. package/dist/domain/permissions/index.d.ts +3 -2
  126. package/dist/domain/permissions/index.js +1 -7
  127. package/dist/domain/permissions/index.js.map +1 -1
  128. package/dist/domain/storageTable/index.cjs +9 -260
  129. package/dist/domain/storageTable/index.cjs.map +1 -1
  130. package/dist/domain/storageTable/index.js +1 -262
  131. package/dist/domain/storageTable/index.js.map +1 -1
  132. package/dist/editor/index.cjs +4 -3
  133. package/dist/editor/index.d.cts +4 -4
  134. package/dist/editor/index.d.ts +4 -4
  135. package/dist/editor/index.js +3 -2
  136. package/dist/editor/types.d.cts +2 -2
  137. package/dist/editor/types.d.ts +2 -2
  138. package/dist/encryption/index.cjs +4 -3
  139. package/dist/encryption/index.d.cts +2 -2
  140. package/dist/encryption/index.d.ts +2 -2
  141. package/dist/encryption/index.js +3 -2
  142. package/dist/import/index.cjs +4 -3
  143. package/dist/import/index.d.cts +2 -2
  144. package/dist/import/index.d.ts +2 -2
  145. package/dist/import/index.js +3 -2
  146. package/dist/index-BEE_qeId.d.ts +1511 -0
  147. package/dist/index-KHRrA2IR.d.cts +1511 -0
  148. package/dist/index.cjs +299 -160
  149. package/dist/index.cjs.map +1 -1
  150. package/dist/index.d.cts +3048 -1028
  151. package/dist/index.d.ts +3048 -1028
  152. package/dist/index.js +244 -108
  153. package/dist/index.js.map +1 -1
  154. package/dist/management/index.cjs +6 -5
  155. package/dist/management/index.d.cts +137 -69
  156. package/dist/management/index.d.ts +137 -69
  157. package/dist/management/index.js +4 -3
  158. package/dist/management/types.d.cts +2 -2
  159. package/dist/management/types.d.ts +2 -2
  160. package/dist/metastore/index.cjs +4 -3
  161. package/dist/metastore/index.d.cts +5 -5
  162. package/dist/metastore/index.d.ts +5 -5
  163. package/dist/metastore/index.js +3 -2
  164. package/dist/metastore/types.d.cts +2 -2
  165. package/dist/metastore/types.d.ts +2 -2
  166. package/dist/oauth/index.cjs +4 -3
  167. package/dist/oauth/index.d.cts +2 -2
  168. package/dist/oauth/index.d.ts +2 -2
  169. package/dist/oauth/index.js +3 -2
  170. package/dist/{project-CYhB6rYN.d.cts → project-C4K5Dzoy.d.cts} +1 -1
  171. package/dist/{project-Bzslbq4u.d.ts → project-COwNmNoc.d.ts} +1 -1
  172. package/dist/queryService/index.cjs +4 -3
  173. package/dist/queryService/index.d.cts +4 -4
  174. package/dist/queryService/index.d.ts +4 -4
  175. package/dist/queryService/index.js +3 -2
  176. package/dist/queryService/types.d.cts +2 -2
  177. package/dist/queryService/types.d.ts +2 -2
  178. package/dist/queue/index.cjs +4 -3
  179. package/dist/queue/index.d.cts +4 -4
  180. package/dist/queue/index.d.ts +4 -4
  181. package/dist/queue/index.js +3 -2
  182. package/dist/queue/types.d.cts +2 -2
  183. package/dist/queue/types.d.ts +2 -2
  184. package/dist/sdk/configurations/index.d.cts +3 -2
  185. package/dist/sdk/configurations/index.d.ts +3 -2
  186. package/dist/sdk/storage/index.cjs +11 -11
  187. package/dist/sdk/storage/index.d.cts +7 -7
  188. package/dist/sdk/storage/index.d.ts +7 -7
  189. package/dist/sdk/storage/index.js +1 -1
  190. package/dist/sdk/tag/index.d.cts +4 -4
  191. package/dist/sdk/tag/index.d.ts +4 -4
  192. package/dist/sdk/tag/types.d.cts +4 -4
  193. package/dist/sdk/tag/types.d.ts +4 -4
  194. package/dist/sdk/vault/index.d.cts +2 -2
  195. package/dist/sdk/vault/index.d.ts +2 -2
  196. package/dist/status/index.cjs +4 -3
  197. package/dist/status/index.d.cts +2 -2
  198. package/dist/status/index.d.ts +2 -2
  199. package/dist/status/index.js +3 -2
  200. package/dist/storage/index.cjs +4 -7
  201. package/dist/storage/index.d.cts +6 -10
  202. package/dist/storage/index.d.ts +6 -10
  203. package/dist/storage/index.js +3 -2
  204. package/dist/storage/types.d.cts +451 -11617
  205. package/dist/storage/types.d.ts +451 -11617
  206. package/dist/storageSdk--0Hh4UCE.d.ts +746 -0
  207. package/dist/storageSdk-DJz6WcW3.d.cts +746 -0
  208. package/dist/stream/index.cjs +14 -0
  209. package/dist/stream/index.cjs.map +1 -0
  210. package/dist/stream/index.d.cts +348 -0
  211. package/dist/stream/index.d.ts +348 -0
  212. package/dist/stream/index.js +5 -0
  213. package/dist/stream/index.js.map +1 -0
  214. package/dist/stream/types.cjs +4 -0
  215. package/dist/stream/types.cjs.map +1 -0
  216. package/dist/stream/types.d.cts +2 -0
  217. package/dist/stream/types.d.ts +2 -0
  218. package/dist/stream/types.js +3 -0
  219. package/dist/stream/types.js.map +1 -0
  220. package/dist/syncActions/index.cjs +4 -3
  221. package/dist/syncActions/index.d.cts +5 -7
  222. package/dist/syncActions/index.d.ts +5 -7
  223. package/dist/syncActions/index.js +3 -2
  224. package/dist/syncActions/types.d.cts +1 -1
  225. package/dist/syncActions/types.d.ts +1 -1
  226. package/dist/telemetry/index.cjs +4 -3
  227. package/dist/telemetry/index.d.cts +3 -3
  228. package/dist/telemetry/index.d.ts +3 -3
  229. package/dist/telemetry/index.js +3 -2
  230. package/dist/{types-CNkgmuhe.d.cts → types-Bc-H4gfv.d.cts} +1 -1
  231. package/dist/{types-CRSKcua9.d.cts → types-BxjcUj-y.d.cts} +1 -1
  232. package/dist/{types-CqWXdTMg.d.ts → types-CFd7q2ed.d.ts} +1 -1
  233. package/dist/{types-DBVQGCI1.d.cts → types-CWebeQXy.d.cts} +1 -1
  234. package/dist/{types-DJkU9gvB.d.cts → types-D9cNOf-3.d.cts} +1 -1
  235. package/dist/types-DFWnAftN.d.cts +7523 -0
  236. package/dist/{types-B51cQMrX.d.ts → types-DFbHRDdR.d.ts} +1 -1
  237. package/dist/types-DMC601TE.d.cts +14375 -0
  238. package/dist/types-DMC601TE.d.ts +14375 -0
  239. package/dist/{types-C-bd4ArM.d.cts → types-DTkxk0fW.d.cts} +1 -1
  240. package/dist/{types-cH0_hkCW.d.ts → types-DacFMc6L.d.ts} +1 -1
  241. package/dist/types-DcL25GqY.d.cts +15820 -0
  242. package/dist/types-Dfw6a58i.d.ts +15820 -0
  243. package/dist/{types-Dws8mFNY.d.cts → types-DiC2wKsx.d.cts} +1 -1
  244. package/dist/types-Dv3vN7M9.d.ts +7523 -0
  245. package/dist/{types-Bom8wyth.d.ts → types-DxJD6LIN.d.cts} +1 -0
  246. package/dist/{types-Bom8wyth.d.cts → types-DxJD6LIN.d.ts} +1 -0
  247. package/dist/{types-DzwzVgyG.d.ts → types-JvKRS8Qd.d.ts} +1 -1
  248. package/dist/{types-BY0tjg2Q.d.ts → types-Mghz1gMD.d.ts} +1 -1
  249. package/dist/{types-C7mpAfq-.d.cts → types-jKnx7Tm_.d.cts} +1 -1
  250. package/dist/{types-C7mpAfq-.d.ts → types-jKnx7Tm_.d.ts} +1 -1
  251. package/dist/{types-CGMJT3JL.d.ts → types-yKV1EX6f.d.ts} +1 -1
  252. package/dist/{utils-BNQZiNOu.d.ts → utils-Cl4emy8g.d.ts} +567 -3
  253. package/dist/{utils-DE09pDTi.d.cts → utils-JsCYFmHj.d.cts} +567 -3
  254. package/dist/vault/index.cjs +4 -3
  255. package/dist/vault/index.d.cts +3 -3
  256. package/dist/vault/index.d.ts +3 -3
  257. package/dist/vault/index.js +3 -2
  258. package/dist/vault/types.d.cts +1 -1
  259. package/dist/vault/types.d.ts +1 -1
  260. package/dist/verify/index.cjs +4 -3
  261. package/dist/verify/index.d.cts +2 -1
  262. package/dist/verify/index.d.ts +2 -1
  263. package/dist/verify/index.js +3 -2
  264. package/package.json +31 -3
  265. package/dist/chunk-2ZMZ4KWJ.js.map +0 -1
  266. package/dist/chunk-3DW7RIEB.js.map +0 -1
  267. package/dist/chunk-4TENBFWN.cjs.map +0 -1
  268. package/dist/chunk-5DVEQBCD.cjs.map +0 -1
  269. package/dist/chunk-5PUNJJAR.js.map +0 -1
  270. package/dist/chunk-5YN6FED2.cjs.map +0 -1
  271. package/dist/chunk-6D3MJRXE.cjs.map +0 -1
  272. package/dist/chunk-6FW72PC2.cjs +0 -29
  273. package/dist/chunk-6FW72PC2.cjs.map +0 -1
  274. package/dist/chunk-6HBXNLB7.cjs.map +0 -1
  275. package/dist/chunk-76Q2CTFV.js.map +0 -1
  276. package/dist/chunk-AYXQJONA.cjs.map +0 -1
  277. package/dist/chunk-CQFZ7PGZ.js.map +0 -1
  278. package/dist/chunk-D2ZTB5R2.cjs.map +0 -1
  279. package/dist/chunk-ECQZAWH3.cjs.map +0 -1
  280. package/dist/chunk-GLQZHLLN.js.map +0 -1
  281. package/dist/chunk-HLGMFFDF.js.map +0 -1
  282. package/dist/chunk-IL2PAEG3.cjs.map +0 -1
  283. package/dist/chunk-KOO3ZG5X.cjs.map +0 -1
  284. package/dist/chunk-LI3BAYDV.cjs.map +0 -1
  285. package/dist/chunk-M4PFR3OS.js.map +0 -1
  286. package/dist/chunk-MTFRH3R5.cjs.map +0 -1
  287. package/dist/chunk-OAKTIIG4.js.map +0 -1
  288. package/dist/chunk-PM2FAMWT.js.map +0 -1
  289. package/dist/chunk-Q6T6GRDR.js.map +0 -1
  290. package/dist/chunk-QXWPUKK2.js.map +0 -1
  291. package/dist/chunk-RBGTWJ7G.js.map +0 -1
  292. package/dist/chunk-RBW5ABSQ.js.map +0 -1
  293. package/dist/chunk-REXMA2IN.cjs.map +0 -1
  294. package/dist/chunk-ROBQ2CV7.cjs.map +0 -1
  295. package/dist/chunk-RTD3XWBM.cjs.map +0 -1
  296. package/dist/chunk-SDA2UO4X.cjs.map +0 -1
  297. package/dist/chunk-T23NVI3Q.js.map +0 -1
  298. package/dist/chunk-T66CY2YX.js.map +0 -1
  299. package/dist/chunk-VLSN55I3.cjs.map +0 -1
  300. package/dist/chunk-ZIVZF6M2.cjs.map +0 -1
  301. package/dist/chunk-ZQPET6GI.js.map +0 -1
  302. package/dist/storageClient-C5R3H96R.d.cts +0 -631
  303. package/dist/storageClient-DBiS4voo.d.ts +0 -631
  304. package/dist/storageSdk-B7Iq38Vh.d.cts +0 -143
  305. package/dist/storageSdk-BnIemr2s.d.ts +0 -143
  306. package/dist/types-BTcT8Q0T.d.cts +0 -8605
  307. package/dist/types-BTcT8Q0T.d.ts +0 -8605
  308. package/dist/types-DYMMsuU0.d.cts +0 -78
  309. package/dist/types-DYMMsuU0.d.ts +0 -78
@@ -0,0 +1,746 @@
1
+ import { CreateTableAsyncBody, TableCreateJob, CreateTableDefinitionBody, Table, TableImportAsyncBody, TableImportJob, TableExportAsyncBody, TableExportJob, BucketListing, CreateBucketListingInput, UpdateBucketListingInput, ShareBucketToProjectsBody, ShareBucketToUsersBody, RegisterBucketBody, RefreshExternalBucketQuery, CreateSnapshotBody, AddTableColumnBody, DeleteTableColumnQuery, CreateTablePrimaryKeyBody } from './storage/types.cjs';
2
+ import { c as createStorageClient } from './index-KHRrA2IR.cjs';
3
+
4
+ type Options = {
5
+ interval?: number;
6
+ maxAttempts?: number;
7
+ abortSignal?: AbortSignal;
8
+ };
9
+ type StorageSdkOptions = {
10
+ storageClient: ReturnType<typeof createStorageClient>;
11
+ };
12
+ declare const createStorageSdk: ({ storageClient }: StorageSdkOptions) => {
13
+ createTable: (bucketId: string, body: CreateTableAsyncBody, options?: Options) => Promise<TableCreateJob>;
14
+ createTableDefinition: (bucketId: string, body: CreateTableDefinitionBody, options?: Options) => Promise<{
15
+ id: number;
16
+ tableId: string | null;
17
+ runId: string;
18
+ url: string;
19
+ createdTime: string;
20
+ creatorToken: {
21
+ id: string;
22
+ description: string;
23
+ };
24
+ endTime: string | null;
25
+ startTime: string | null;
26
+ operationName: "tableDefinitionCreate";
27
+ operationParams: {
28
+ queue: string;
29
+ } & {
30
+ timestampType: string;
31
+ primaryKeysNames: string[];
32
+ name: string;
33
+ backendConfiguration: unknown[];
34
+ columns: unknown[];
35
+ };
36
+ metrics: {
37
+ inCompressed: boolean;
38
+ inBytes: number;
39
+ inBytesUncompressed: number;
40
+ outCompressed: boolean;
41
+ outBytes: number;
42
+ outBytesUncompressed: number;
43
+ };
44
+ } & ({
45
+ status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
46
+ results: null;
47
+ } | {
48
+ status: "error";
49
+ results: null;
50
+ error: {
51
+ code: string;
52
+ message: string;
53
+ exceptionId?: string;
54
+ };
55
+ } | {
56
+ status: "success";
57
+ results: Table;
58
+ })>;
59
+ importFromFile: (tableId: string, body: TableImportAsyncBody, options?: Options) => Promise<TableImportJob>;
60
+ exportToFile: (tableId: string, body?: TableExportAsyncBody, options?: Options) => Promise<TableExportJob>;
61
+ getBucketListing: (bucketId: string, signal?: AbortSignal) => Promise<BucketListing | null>;
62
+ listBucketListings: (signal?: AbortSignal) => Promise<BucketListing[]>;
63
+ createBucketListing: (bucketId: string, input: CreateBucketListingInput, options?: Options) => Promise<{
64
+ id: number;
65
+ tableId: string | null;
66
+ runId: string;
67
+ url: string;
68
+ createdTime: string;
69
+ creatorToken: {
70
+ id: string;
71
+ description: string;
72
+ };
73
+ endTime: string | null;
74
+ startTime: string | null;
75
+ operationName: "bucketListingCreate";
76
+ operationParams: {
77
+ queue: string;
78
+ } & {
79
+ bucketId: string;
80
+ };
81
+ metrics: {
82
+ inCompressed: boolean;
83
+ inBytes: number;
84
+ inBytesUncompressed: number;
85
+ outCompressed: boolean;
86
+ outBytes: number;
87
+ outBytesUncompressed: number;
88
+ };
89
+ } & ({
90
+ status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
91
+ results: null;
92
+ } | {
93
+ status: "error";
94
+ results: null;
95
+ error: {
96
+ code: string;
97
+ message: string;
98
+ exceptionId?: string;
99
+ };
100
+ } | {
101
+ status: "success";
102
+ results: null;
103
+ })>;
104
+ updateBucketListing: (bucketId: string, input: UpdateBucketListingInput, options?: Options) => Promise<{
105
+ id: number;
106
+ tableId: string | null;
107
+ runId: string;
108
+ url: string;
109
+ createdTime: string;
110
+ creatorToken: {
111
+ id: string;
112
+ description: string;
113
+ };
114
+ endTime: string | null;
115
+ startTime: string | null;
116
+ operationName: "bucketListingUpdate";
117
+ operationParams: {
118
+ queue: string;
119
+ } & {
120
+ bucketId: string;
121
+ };
122
+ metrics: {
123
+ inCompressed: boolean;
124
+ inBytes: number;
125
+ inBytesUncompressed: number;
126
+ outCompressed: boolean;
127
+ outBytes: number;
128
+ outBytesUncompressed: number;
129
+ };
130
+ } & ({
131
+ status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
132
+ results: null;
133
+ } | {
134
+ status: "error";
135
+ results: null;
136
+ error: {
137
+ code: string;
138
+ message: string;
139
+ exceptionId?: string;
140
+ };
141
+ } | {
142
+ status: "success";
143
+ results: null;
144
+ })>;
145
+ deleteBucketListing: (bucketId: string, options?: Options) => Promise<{
146
+ id: number;
147
+ tableId: string | null;
148
+ runId: string;
149
+ url: string;
150
+ createdTime: string;
151
+ creatorToken: {
152
+ id: string;
153
+ description: string;
154
+ };
155
+ endTime: string | null;
156
+ startTime: string | null;
157
+ operationName: "bucketListingDelete";
158
+ operationParams: {
159
+ queue: string;
160
+ } & {
161
+ bucketId: string;
162
+ };
163
+ metrics: {
164
+ inCompressed: boolean;
165
+ inBytes: number;
166
+ inBytesUncompressed: number;
167
+ outCompressed: boolean;
168
+ outBytes: number;
169
+ outBytesUncompressed: number;
170
+ };
171
+ } & ({
172
+ status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
173
+ results: null;
174
+ } | {
175
+ status: "error";
176
+ results: null;
177
+ error: {
178
+ code: string;
179
+ message: string;
180
+ exceptionId?: string;
181
+ };
182
+ } | {
183
+ status: "success";
184
+ results: null;
185
+ })>;
186
+ shareBucketToOrganization: (bucketId: string, options?: Options) => Promise<{
187
+ id: number;
188
+ tableId: string | null;
189
+ runId: string;
190
+ url: string;
191
+ createdTime: string;
192
+ creatorToken: {
193
+ id: string;
194
+ description: string;
195
+ };
196
+ endTime: string | null;
197
+ startTime: string | null;
198
+ operationName: "bucketShareToOrganization";
199
+ operationParams: {
200
+ queue: string;
201
+ } & Record<string, unknown>;
202
+ metrics: {
203
+ inCompressed: boolean;
204
+ inBytes: number;
205
+ inBytesUncompressed: number;
206
+ outCompressed: boolean;
207
+ outBytes: number;
208
+ outBytesUncompressed: number;
209
+ };
210
+ } & ({
211
+ status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
212
+ results: null;
213
+ } | {
214
+ status: "error";
215
+ results: null;
216
+ error: {
217
+ code: string;
218
+ message: string;
219
+ exceptionId?: string;
220
+ };
221
+ } | {
222
+ status: "success";
223
+ results: null;
224
+ })>;
225
+ shareBucketToOrganizationProject: (bucketId: string, options?: Options) => Promise<{
226
+ id: number;
227
+ tableId: string | null;
228
+ runId: string;
229
+ url: string;
230
+ createdTime: string;
231
+ creatorToken: {
232
+ id: string;
233
+ description: string;
234
+ };
235
+ endTime: string | null;
236
+ startTime: string | null;
237
+ operationName: "bucketShareToOrganizationProject";
238
+ operationParams: {
239
+ queue: string;
240
+ } & Record<string, unknown>;
241
+ metrics: {
242
+ inCompressed: boolean;
243
+ inBytes: number;
244
+ inBytesUncompressed: number;
245
+ outCompressed: boolean;
246
+ outBytes: number;
247
+ outBytesUncompressed: number;
248
+ };
249
+ } & ({
250
+ status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
251
+ results: null;
252
+ } | {
253
+ status: "error";
254
+ results: null;
255
+ error: {
256
+ code: string;
257
+ message: string;
258
+ exceptionId?: string;
259
+ };
260
+ } | {
261
+ status: "success";
262
+ results: null;
263
+ })>;
264
+ shareBucketToProjects: (bucketId: string, body: ShareBucketToProjectsBody, options?: Options) => Promise<{
265
+ id: number;
266
+ tableId: string | null;
267
+ runId: string;
268
+ url: string;
269
+ createdTime: string;
270
+ creatorToken: {
271
+ id: string;
272
+ description: string;
273
+ };
274
+ endTime: string | null;
275
+ startTime: string | null;
276
+ operationName: "bucketShareToProjects";
277
+ operationParams: {
278
+ queue: string;
279
+ } & Record<string, unknown>;
280
+ metrics: {
281
+ inCompressed: boolean;
282
+ inBytes: number;
283
+ inBytesUncompressed: number;
284
+ outCompressed: boolean;
285
+ outBytes: number;
286
+ outBytesUncompressed: number;
287
+ };
288
+ } & ({
289
+ status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
290
+ results: null;
291
+ } | {
292
+ status: "error";
293
+ results: null;
294
+ error: {
295
+ code: string;
296
+ message: string;
297
+ exceptionId?: string;
298
+ };
299
+ } | {
300
+ status: "success";
301
+ results: null;
302
+ })>;
303
+ shareBucketToUsers: (bucketId: string, body: ShareBucketToUsersBody, options?: Options) => Promise<{
304
+ id: number;
305
+ tableId: string | null;
306
+ runId: string;
307
+ url: string;
308
+ createdTime: string;
309
+ creatorToken: {
310
+ id: string;
311
+ description: string;
312
+ };
313
+ endTime: string | null;
314
+ startTime: string | null;
315
+ operationName: "bucketShareToAdmins";
316
+ operationParams: {
317
+ queue: string;
318
+ } & Record<string, unknown>;
319
+ metrics: {
320
+ inCompressed: boolean;
321
+ inBytes: number;
322
+ inBytesUncompressed: number;
323
+ outCompressed: boolean;
324
+ outBytes: number;
325
+ outBytesUncompressed: number;
326
+ };
327
+ } & ({
328
+ status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
329
+ results: null;
330
+ } | {
331
+ status: "error";
332
+ results: null;
333
+ error: {
334
+ code: string;
335
+ message: string;
336
+ exceptionId?: string;
337
+ };
338
+ } | {
339
+ status: "success";
340
+ results: null;
341
+ })>;
342
+ unshareBucket: (bucketId: string, options?: Options) => Promise<{
343
+ id: number;
344
+ tableId: string | null;
345
+ runId: string;
346
+ url: string;
347
+ createdTime: string;
348
+ creatorToken: {
349
+ id: string;
350
+ description: string;
351
+ };
352
+ endTime: string | null;
353
+ startTime: string | null;
354
+ operationName: "bucketRemoveShare";
355
+ operationParams: {
356
+ queue: string;
357
+ } & Record<string, unknown>;
358
+ metrics: {
359
+ inCompressed: boolean;
360
+ inBytes: number;
361
+ inBytesUncompressed: number;
362
+ outCompressed: boolean;
363
+ outBytes: number;
364
+ outBytesUncompressed: number;
365
+ };
366
+ } & ({
367
+ status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
368
+ results: null;
369
+ } | {
370
+ status: "error";
371
+ results: null;
372
+ error: {
373
+ code: string;
374
+ message: string;
375
+ exceptionId?: string;
376
+ };
377
+ } | {
378
+ status: "success";
379
+ results: null;
380
+ })>;
381
+ forceUnlinkBucket: (bucketId: string, linkedProjectId: string, options?: Options) => Promise<{
382
+ id: number;
383
+ tableId: string | null;
384
+ runId: string;
385
+ url: string;
386
+ createdTime: string;
387
+ creatorToken: {
388
+ id: string;
389
+ description: string;
390
+ };
391
+ endTime: string | null;
392
+ startTime: string | null;
393
+ operationName: "bucketForceUnlink";
394
+ operationParams: {
395
+ queue: string;
396
+ } & Record<string, unknown>;
397
+ metrics: {
398
+ inCompressed: boolean;
399
+ inBytes: number;
400
+ inBytesUncompressed: number;
401
+ outCompressed: boolean;
402
+ outBytes: number;
403
+ outBytesUncompressed: number;
404
+ };
405
+ } & ({
406
+ status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
407
+ results: null;
408
+ } | {
409
+ status: "error";
410
+ results: null;
411
+ error: {
412
+ code: string;
413
+ message: string;
414
+ exceptionId?: string;
415
+ };
416
+ } | {
417
+ status: "success";
418
+ results: null;
419
+ })>;
420
+ registerBucket: (body: RegisterBucketBody, options?: Options) => Promise<{
421
+ id: number;
422
+ tableId: string | null;
423
+ runId: string;
424
+ url: string;
425
+ createdTime: string;
426
+ creatorToken: {
427
+ id: string;
428
+ description: string;
429
+ };
430
+ endTime: string | null;
431
+ startTime: string | null;
432
+ operationName: "bucketRegister";
433
+ operationParams: {
434
+ queue: string;
435
+ } & Record<string, unknown>;
436
+ metrics: {
437
+ inCompressed: boolean;
438
+ inBytes: number;
439
+ inBytesUncompressed: number;
440
+ outCompressed: boolean;
441
+ outBytes: number;
442
+ outBytesUncompressed: number;
443
+ };
444
+ } & ({
445
+ status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
446
+ results: null;
447
+ } | {
448
+ status: "error";
449
+ results: null;
450
+ error: {
451
+ code: string;
452
+ message: string;
453
+ exceptionId?: string;
454
+ };
455
+ } | {
456
+ status: "success";
457
+ results: null;
458
+ })>;
459
+ refreshExternalBucket: (bucketId: string, query?: RefreshExternalBucketQuery, options?: Options) => Promise<{
460
+ id: number;
461
+ tableId: string | null;
462
+ runId: string;
463
+ url: string;
464
+ createdTime: string;
465
+ creatorToken: {
466
+ id: string;
467
+ description: string;
468
+ };
469
+ endTime: string | null;
470
+ startTime: string | null;
471
+ operationName: "bucketRefresh";
472
+ operationParams: {
473
+ queue: string;
474
+ } & Record<string, unknown>;
475
+ metrics: {
476
+ inCompressed: boolean;
477
+ inBytes: number;
478
+ inBytesUncompressed: number;
479
+ outCompressed: boolean;
480
+ outBytes: number;
481
+ outBytesUncompressed: number;
482
+ };
483
+ } & ({
484
+ status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
485
+ results: null;
486
+ } | {
487
+ status: "error";
488
+ results: null;
489
+ error: {
490
+ code: string;
491
+ message: string;
492
+ exceptionId?: string;
493
+ };
494
+ } | {
495
+ status: "success";
496
+ results: null;
497
+ })>;
498
+ createSnapshot: (tableId: string, body?: CreateSnapshotBody, options?: Options) => Promise<{
499
+ id: number;
500
+ tableId: string | null;
501
+ runId: string;
502
+ url: string;
503
+ createdTime: string;
504
+ creatorToken: {
505
+ id: string;
506
+ description: string;
507
+ };
508
+ endTime: string | null;
509
+ startTime: string | null;
510
+ operationName: "tableSnapshotCreate";
511
+ operationParams: {
512
+ queue: string;
513
+ } & {
514
+ id: string;
515
+ };
516
+ metrics: {
517
+ inCompressed: boolean;
518
+ inBytes: number;
519
+ inBytesUncompressed: number;
520
+ outCompressed: boolean;
521
+ outBytes: number;
522
+ outBytesUncompressed: number;
523
+ };
524
+ } & ({
525
+ status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
526
+ results: null;
527
+ } | {
528
+ status: "error";
529
+ results: null;
530
+ error: {
531
+ code: string;
532
+ message: string;
533
+ exceptionId?: string;
534
+ };
535
+ } | {
536
+ status: "success";
537
+ results: null;
538
+ })>;
539
+ pullTable: (tableId: string, options?: Options) => Promise<{
540
+ id: number;
541
+ tableId: string | null;
542
+ runId: string;
543
+ url: string;
544
+ createdTime: string;
545
+ creatorToken: {
546
+ id: string;
547
+ description: string;
548
+ };
549
+ endTime: string | null;
550
+ startTime: string | null;
551
+ operationName: "devBranchTablePull";
552
+ operationParams: {
553
+ queue: string;
554
+ } & {
555
+ id: string;
556
+ };
557
+ metrics: {
558
+ inCompressed: boolean;
559
+ inBytes: number;
560
+ inBytesUncompressed: number;
561
+ outCompressed: boolean;
562
+ outBytes: number;
563
+ outBytesUncompressed: number;
564
+ };
565
+ } & ({
566
+ status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
567
+ results: null;
568
+ } | {
569
+ status: "error";
570
+ results: null;
571
+ error: {
572
+ code: string;
573
+ message: string;
574
+ exceptionId?: string;
575
+ };
576
+ } | {
577
+ status: "success";
578
+ results: null;
579
+ })>;
580
+ addTableColumn: (tableId: string, body: AddTableColumnBody, options?: Options) => Promise<{
581
+ id: number;
582
+ tableId: string | null;
583
+ runId: string;
584
+ url: string;
585
+ createdTime: string;
586
+ creatorToken: {
587
+ id: string;
588
+ description: string;
589
+ };
590
+ endTime: string | null;
591
+ startTime: string | null;
592
+ operationName: "tableColumnAdd";
593
+ operationParams: {
594
+ queue: string;
595
+ } & {
596
+ id: string;
597
+ };
598
+ metrics: {
599
+ inCompressed: boolean;
600
+ inBytes: number;
601
+ inBytesUncompressed: number;
602
+ outCompressed: boolean;
603
+ outBytes: number;
604
+ outBytesUncompressed: number;
605
+ };
606
+ } & ({
607
+ status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
608
+ results: null;
609
+ } | {
610
+ status: "error";
611
+ results: null;
612
+ error: {
613
+ code: string;
614
+ message: string;
615
+ exceptionId?: string;
616
+ };
617
+ } | {
618
+ status: "success";
619
+ results: null;
620
+ })>;
621
+ deleteTableColumn: (tableId: string, columnName: string, query?: DeleteTableColumnQuery, options?: Options) => Promise<{
622
+ id: number;
623
+ tableId: string | null;
624
+ runId: string;
625
+ url: string;
626
+ createdTime: string;
627
+ creatorToken: {
628
+ id: string;
629
+ description: string;
630
+ };
631
+ endTime: string | null;
632
+ startTime: string | null;
633
+ operationName: "tableColumnDelete";
634
+ operationParams: {
635
+ queue: string;
636
+ } & {
637
+ id: string;
638
+ };
639
+ metrics: {
640
+ inCompressed: boolean;
641
+ inBytes: number;
642
+ inBytesUncompressed: number;
643
+ outCompressed: boolean;
644
+ outBytes: number;
645
+ outBytesUncompressed: number;
646
+ };
647
+ } & ({
648
+ status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
649
+ results: null;
650
+ } | {
651
+ status: "error";
652
+ results: null;
653
+ error: {
654
+ code: string;
655
+ message: string;
656
+ exceptionId?: string;
657
+ };
658
+ } | {
659
+ status: "success";
660
+ results: null;
661
+ })>;
662
+ createTablePrimaryKey: (tableId: string, body: CreateTablePrimaryKeyBody, options?: Options) => Promise<{
663
+ id: number;
664
+ tableId: string | null;
665
+ runId: string;
666
+ url: string;
667
+ createdTime: string;
668
+ creatorToken: {
669
+ id: string;
670
+ description: string;
671
+ };
672
+ endTime: string | null;
673
+ startTime: string | null;
674
+ operationName: "tablePrimaryKeyAdd";
675
+ operationParams: {
676
+ queue: string;
677
+ } & {
678
+ id: string;
679
+ };
680
+ metrics: {
681
+ inCompressed: boolean;
682
+ inBytes: number;
683
+ inBytesUncompressed: number;
684
+ outCompressed: boolean;
685
+ outBytes: number;
686
+ outBytesUncompressed: number;
687
+ };
688
+ } & ({
689
+ status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
690
+ results: null;
691
+ } | {
692
+ status: "error";
693
+ results: null;
694
+ error: {
695
+ code: string;
696
+ message: string;
697
+ exceptionId?: string;
698
+ };
699
+ } | {
700
+ status: "success";
701
+ results: null;
702
+ })>;
703
+ removeTablePrimaryKey: (tableId: string, options?: Options) => Promise<{
704
+ id: number;
705
+ tableId: string | null;
706
+ runId: string;
707
+ url: string;
708
+ createdTime: string;
709
+ creatorToken: {
710
+ id: string;
711
+ description: string;
712
+ };
713
+ endTime: string | null;
714
+ startTime: string | null;
715
+ operationName: "tablePrimaryKeyDelete";
716
+ operationParams: {
717
+ queue: string;
718
+ } & {
719
+ id: string;
720
+ };
721
+ metrics: {
722
+ inCompressed: boolean;
723
+ inBytes: number;
724
+ inBytesUncompressed: number;
725
+ outCompressed: boolean;
726
+ outBytes: number;
727
+ outBytesUncompressed: number;
728
+ };
729
+ } & ({
730
+ status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
731
+ results: null;
732
+ } | {
733
+ status: "error";
734
+ results: null;
735
+ error: {
736
+ code: string;
737
+ message: string;
738
+ exceptionId?: string;
739
+ };
740
+ } | {
741
+ status: "success";
742
+ results: null;
743
+ })>;
744
+ };
745
+
746
+ export { createStorageSdk as c };