@keboola/api-client 36.0.0 → 39.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 (257) hide show
  1. package/AGENTS.md +12 -3
  2. package/API-SURFACE.md +14 -1
  3. package/CHANGELOG.md +74 -0
  4. package/README.md +19 -17
  5. package/dist/{ManagementClientAuthError-ey-f03vy.js → ManagementClientAuthError-Cr9IOsnJ.js} +3 -2
  6. package/dist/{ManagementClientAuthError-ey-f03vy.js.map → ManagementClientAuthError-Cr9IOsnJ.js.map} +1 -1
  7. package/dist/{ManagementClientAuthError-DD4u0EU7.cjs → ManagementClientAuthError-FcfMJNhr.cjs} +3 -2
  8. package/dist/{ManagementClientAuthError-DD4u0EU7.cjs.map → ManagementClientAuthError-FcfMJNhr.cjs.map} +1 -1
  9. package/dist/ai/index.cjs +2 -2
  10. package/dist/ai/index.js +2 -2
  11. package/dist/{appLogs-BjfUoWzs.cjs → appLogs-C_zP0lpv.cjs} +2 -2
  12. package/dist/{appLogs-BjfUoWzs.cjs.map → appLogs-C_zP0lpv.cjs.map} +1 -1
  13. package/dist/{appLogs-xsVkTriU.js → appLogs-Cl7Q_MR9.js} +2 -2
  14. package/dist/{appLogs-xsVkTriU.js.map → appLogs-Cl7Q_MR9.js.map} +1 -1
  15. package/dist/apps/index.cjs +3 -3
  16. package/dist/apps/index.js +3 -3
  17. package/dist/assets/index.cjs +1 -1
  18. package/dist/assets/index.js +1 -1
  19. package/dist/auth/index.cjs +1 -1
  20. package/dist/auth/index.js +1 -1
  21. package/dist/{auth-aItmDu45.js → auth-BjmkFOgd.js} +2 -2
  22. package/dist/{auth-aItmDu45.js.map → auth-BjmkFOgd.js.map} +1 -1
  23. package/dist/{auth-JQ33o3nU.cjs → auth-DLWnl18b.cjs} +2 -2
  24. package/dist/{auth-JQ33o3nU.cjs.map → auth-DLWnl18b.cjs.map} +1 -1
  25. package/dist/{authClient-_PpvGgZJ.cjs → authClient-8yU1last.cjs} +5 -5
  26. package/dist/{authClient-_PpvGgZJ.cjs.map → authClient-8yU1last.cjs.map} +1 -1
  27. package/dist/{authClient-D7W9vWPR.js → authClient-BTo4Afm6.js} +5 -5
  28. package/dist/{authClient-D7W9vWPR.js.map → authClient-BTo4Afm6.js.map} +1 -1
  29. package/dist/billing/index.cjs +2 -2
  30. package/dist/billing/index.js +2 -2
  31. package/dist/businessWorkspaceApi/index.cjs +3 -0
  32. package/dist/businessWorkspaceApi/index.d.cts +2 -0
  33. package/dist/businessWorkspaceApi/index.d.ts +2 -0
  34. package/dist/businessWorkspaceApi/index.js +2 -0
  35. package/dist/businessWorkspaceApi/types.cjs +0 -0
  36. package/dist/businessWorkspaceApi/types.d.cts +2 -0
  37. package/dist/businessWorkspaceApi/types.d.ts +2 -0
  38. package/dist/businessWorkspaceApi/types.js +1 -0
  39. package/dist/businessWorkspaceApi-BD-iUj07.js +61 -0
  40. package/dist/businessWorkspaceApi-BD-iUj07.js.map +1 -0
  41. package/dist/businessWorkspaceApi-wyBdbpIJ.cjs +66 -0
  42. package/dist/businessWorkspaceApi-wyBdbpIJ.cjs.map +1 -0
  43. package/dist/businessWorkspaceApiClient-C2WyWN3b.d.ts +529 -0
  44. package/dist/businessWorkspaceApiClient-CRM1U8b-.d.cts +529 -0
  45. package/dist/chat/index.cjs +5 -5
  46. package/dist/chat/index.cjs.map +1 -1
  47. package/dist/chat/index.d.cts +1 -1
  48. package/dist/chat/index.d.ts +1 -1
  49. package/dist/chat/index.js +5 -5
  50. package/dist/chat/index.js.map +1 -1
  51. package/dist/constants/index.cjs +1 -1
  52. package/dist/constants/index.d.cts +2 -2
  53. package/dist/constants/index.d.ts +2 -2
  54. package/dist/constants/index.js +1 -1
  55. package/dist/{constants-wfbFsqqN.js → constants-C2tYAJSj.js} +10 -1
  56. package/dist/constants-C2tYAJSj.js.map +1 -0
  57. package/dist/{constants-C4DlsF_M.cjs → constants-C6xku_Vx.cjs} +10 -1
  58. package/dist/constants-C6xku_Vx.cjs.map +1 -0
  59. package/dist/{createFetchClient-DgMiqTJ8.cjs → createFetchClient-BlgPbjFj.cjs} +14 -2
  60. package/dist/createFetchClient-BlgPbjFj.cjs.map +1 -0
  61. package/dist/{createFetchClient-U-ZrwPl2.js → createFetchClient-C-cadpBx.js} +14 -2
  62. package/dist/createFetchClient-C-cadpBx.js.map +1 -0
  63. package/dist/{createGenericFetchClient-rxvUUbap.js → createGenericFetchClient-Bnf1QK9W.js} +2 -2
  64. package/dist/{createGenericFetchClient-rxvUUbap.js.map → createGenericFetchClient-Bnf1QK9W.js.map} +1 -1
  65. package/dist/{createGenericFetchClient-o3cPJeRn.cjs → createGenericFetchClient-lcozzwk2.cjs} +2 -2
  66. package/dist/{createGenericFetchClient-o3cPJeRn.cjs.map → createGenericFetchClient-lcozzwk2.cjs.map} +1 -1
  67. package/dist/{createOpenapiFetchClient-DhUU3M1W.cjs → createOpenapiFetchClient-C3UmDXpe.cjs} +2 -2
  68. package/dist/{createOpenapiFetchClient-DhUU3M1W.cjs.map → createOpenapiFetchClient-C3UmDXpe.cjs.map} +1 -1
  69. package/dist/{createOpenapiFetchClient-BVSc9ibR.js → createOpenapiFetchClient-COaPeeQ0.js} +2 -2
  70. package/dist/{createOpenapiFetchClient-BVSc9ibR.js.map → createOpenapiFetchClient-COaPeeQ0.js.map} +1 -1
  71. package/dist/{credential-DVWvJFJs.cjs → credential-CAulvfZ-.cjs} +2 -2
  72. package/dist/{credential-DVWvJFJs.cjs.map → credential-CAulvfZ-.cjs.map} +1 -1
  73. package/dist/{credential-CihSf_xs.js → credential-DWXbo4IX.js} +2 -2
  74. package/dist/{credential-CihSf_xs.js.map → credential-DWXbo4IX.js.map} +1 -1
  75. package/dist/dataScience/index.cjs +2 -2
  76. package/dist/dataScience/index.js +2 -2
  77. package/dist/{dataScience-C1gO5zUn.js → dataScience-B_BmnB1m.js} +5 -5
  78. package/dist/{dataScience-C1gO5zUn.js.map → dataScience-B_BmnB1m.js.map} +1 -1
  79. package/dist/{dataScience-0Rl_EuV_.cjs → dataScience-D-hyc4GY.cjs} +5 -5
  80. package/dist/{dataScience-0Rl_EuV_.cjs.map → dataScience-D-hyc4GY.cjs.map} +1 -1
  81. package/dist/developerPortal/index.cjs +1 -1
  82. package/dist/developerPortal/index.js +1 -1
  83. package/dist/{developerPortalClient-ki0XS_OD.cjs → developerPortalClient-CutPqoAa.cjs} +3 -3
  84. package/dist/{developerPortalClient-ki0XS_OD.cjs.map → developerPortalClient-CutPqoAa.cjs.map} +1 -1
  85. package/dist/{developerPortalClient-C_48z8BN.js → developerPortalClient-yHFTkKPb.js} +3 -3
  86. package/dist/{developerPortalClient-C_48z8BN.js.map → developerPortalClient-yHFTkKPb.js.map} +1 -1
  87. package/dist/domain/permissions/index.d.cts +2 -2
  88. package/dist/domain/permissions/index.d.ts +2 -2
  89. package/dist/editor/index.cjs +2 -2
  90. package/dist/editor/index.js +2 -2
  91. package/dist/encryption/index.cjs +1 -1
  92. package/dist/encryption/index.d.cts +1 -1
  93. package/dist/encryption/index.d.ts +1 -1
  94. package/dist/encryption/index.js +1 -1
  95. package/dist/encryption/types.d.cts +1 -1
  96. package/dist/encryption/types.d.ts +1 -1
  97. package/dist/import/index.cjs +1 -1
  98. package/dist/import/index.js +1 -1
  99. package/dist/{import-C83w7BKz.cjs → import-7YyyD_U_.cjs} +3 -3
  100. package/dist/{import-C83w7BKz.cjs.map → import-7YyyD_U_.cjs.map} +1 -1
  101. package/dist/{import-CROEK82b.js → import-xliONVib.js} +3 -3
  102. package/dist/{import-CROEK82b.js.map → import-xliONVib.js.map} +1 -1
  103. package/dist/{index-D8rcUbnk.d.ts → index-1r_CskjU.d.ts} +2 -2
  104. package/dist/{index-BXF-bs2d.d.ts → index-BK-qHT39.d.ts} +8 -4
  105. package/dist/{index-DIAyi-EZ.d.cts → index-CHXnJQ9s.d.cts} +92 -14
  106. package/dist/{index-BDG-LKXj.d.cts → index-CWoEnDJ_.d.cts} +8 -4
  107. package/dist/{index-NaYLwG_h.d.ts → index-DBklbaTp.d.cts} +9 -1
  108. package/dist/{index-NaYLwG_h.d.cts → index-DBklbaTp.d.ts} +9 -1
  109. package/dist/{index-BgLnWTZU.d.cts → index-DVw4Av4b.d.cts} +4 -4
  110. package/dist/{index-DR4QqItd.d.cts → index-DWf6FXOr.d.cts} +2 -2
  111. package/dist/{index-CqgtL2NU.d.ts → index-De5qUWhp.d.ts} +4 -4
  112. package/dist/{index-2JM0gyAf.d.ts → index-GfKzh267.d.ts} +92 -14
  113. package/dist/index.cjs +30 -19
  114. package/dist/index.cjs.map +1 -1
  115. package/dist/index.d.cts +3 -3
  116. package/dist/index.d.ts +3 -3
  117. package/dist/index.js +30 -20
  118. package/dist/index.js.map +1 -1
  119. package/dist/{isLoginPageRedirect-B0EmRsHr.cjs → isLoginPageRedirect-Cm6Pn8Pj.cjs} +2 -2
  120. package/dist/{isLoginPageRedirect-B0EmRsHr.cjs.map → isLoginPageRedirect-Cm6Pn8Pj.cjs.map} +1 -1
  121. package/dist/{isLoginPageRedirect-BTTAedW-.js → isLoginPageRedirect-hyPqyWNX.js} +2 -2
  122. package/dist/{isLoginPageRedirect-BTTAedW-.js.map → isLoginPageRedirect-hyPqyWNX.js.map} +1 -1
  123. package/dist/kaiAgent/index.cjs +1 -1
  124. package/dist/kaiAgent/index.d.cts +1 -1
  125. package/dist/kaiAgent/index.d.ts +1 -1
  126. package/dist/kaiAgent/index.js +1 -1
  127. package/dist/kaiAgent/types.d.cts +2 -2
  128. package/dist/kaiAgent/types.d.ts +2 -2
  129. package/dist/{kaiAgent-8LNzGhZc.js → kaiAgent-CcT2oNip.js} +41 -6
  130. package/dist/kaiAgent-CcT2oNip.js.map +1 -0
  131. package/dist/{kaiAgent-B_TaUPRt.cjs → kaiAgent-DaB6UCsh.cjs} +41 -6
  132. package/dist/kaiAgent-DaB6UCsh.cjs.map +1 -0
  133. package/dist/{kaiAgentClient-BJj_2aqt.d.ts → kaiAgentClient-B5L4gbQ1.d.ts} +8 -3
  134. package/dist/{kaiAgentClient-DhTaM3GC.d.cts → kaiAgentClient-CHpULyeG.d.cts} +8 -3
  135. package/dist/management/index.cjs +1 -1
  136. package/dist/management/index.d.cts +2 -2
  137. package/dist/management/index.d.ts +2 -2
  138. package/dist/management/index.js +1 -1
  139. package/dist/management/types.d.cts +2 -2
  140. package/dist/management/types.d.ts +2 -2
  141. package/dist/{management-BoxlRNg2.cjs → management-DeZiQSlw.cjs} +41 -8
  142. package/dist/management-DeZiQSlw.cjs.map +1 -0
  143. package/dist/{management-Bp440RsV.js → management-ckdnu1dA.js} +41 -8
  144. package/dist/management-ckdnu1dA.js.map +1 -0
  145. package/dist/metastore/index.cjs +1 -1
  146. package/dist/metastore/index.js +1 -1
  147. package/dist/{metastore-BYYWTb3m.cjs → metastore-9AGrwjmN.cjs} +4 -4
  148. package/dist/{metastore-BYYWTb3m.cjs.map → metastore-9AGrwjmN.cjs.map} +1 -1
  149. package/dist/{metastore-VCDRVhUT.js → metastore-B0PolCjQ.js} +4 -4
  150. package/dist/{metastore-VCDRVhUT.js.map → metastore-B0PolCjQ.js.map} +1 -1
  151. package/dist/microsoftGraph/index.cjs +2 -2
  152. package/dist/microsoftGraph/index.js +2 -2
  153. package/dist/notifications/index.cjs +3 -3
  154. package/dist/notifications/index.js +3 -3
  155. package/dist/oauth/index.cjs +1 -1
  156. package/dist/oauth/index.js +1 -1
  157. package/dist/{oauth--asfePw-.js → oauth-BnHVf4cB.js} +5 -5
  158. package/dist/{oauth--asfePw-.js.map → oauth-BnHVf4cB.js.map} +1 -1
  159. package/dist/{oauth-B8yqG6Sy.cjs → oauth-DNtv4Ihb.cjs} +5 -5
  160. package/dist/{oauth-B8yqG6Sy.cjs.map → oauth-DNtv4Ihb.cjs.map} +1 -1
  161. package/dist/omnisearch/index.cjs +2 -2
  162. package/dist/omnisearch/index.js +2 -2
  163. package/dist/{project-hePfzUY0.d.cts → project-BRpzv3yE.d.cts} +2 -2
  164. package/dist/{project-C2wvX0xZ.d.ts → project-DCHOxRWd.d.ts} +2 -2
  165. package/dist/queryService/index.cjs +1 -1
  166. package/dist/queryService/index.d.cts +1 -1
  167. package/dist/queryService/index.d.ts +1 -1
  168. package/dist/queryService/index.js +1 -1
  169. package/dist/{queryService-BVtjkXy1.cjs → queryService-BVwD6Vmc.cjs} +5 -5
  170. package/dist/{queryService-BVtjkXy1.cjs.map → queryService-BVwD6Vmc.cjs.map} +1 -1
  171. package/dist/{queryService-Ca65E5KH.js → queryService-j3XZ2mX6.js} +5 -5
  172. package/dist/{queryService-Ca65E5KH.js.map → queryService-j3XZ2mX6.js.map} +1 -1
  173. package/dist/queue/index.cjs +1 -1
  174. package/dist/queue/index.d.cts +1 -1
  175. package/dist/queue/index.d.ts +1 -1
  176. package/dist/queue/index.js +1 -1
  177. package/dist/{queue-DyotLFJi.js → queue-Dagl0sdP.js} +4 -4
  178. package/dist/{queue-DyotLFJi.js.map → queue-Dagl0sdP.js.map} +1 -1
  179. package/dist/{queue-OJJUUqc2.cjs → queue-e3rMWbmK.cjs} +4 -4
  180. package/dist/{queue-OJJUUqc2.cjs.map → queue-e3rMWbmK.cjs.map} +1 -1
  181. package/dist/scheduler/index.cjs +3 -3
  182. package/dist/scheduler/index.js +3 -3
  183. package/dist/sdk/configurations/index.d.cts +4 -4
  184. package/dist/sdk/configurations/index.d.ts +4 -4
  185. package/dist/sdk/developerPortal/index.cjs +3 -3
  186. package/dist/sdk/developerPortal/index.js +3 -3
  187. package/dist/sdk/queryService/index.d.cts +1 -1
  188. package/dist/sdk/queryService/index.d.ts +1 -1
  189. package/dist/sdk/semanticLayer/index.cjs +1 -1
  190. package/dist/sdk/semanticLayer/index.js +1 -1
  191. package/dist/sdk/storage/index.d.cts +1 -1
  192. package/dist/sdk/storage/index.d.ts +1 -1
  193. package/dist/sdk/vault/index.d.cts +1 -1
  194. package/dist/sdk/vault/index.d.ts +1 -1
  195. package/dist/{semanticLayer-CSqmtHRo.js → semanticLayer-6_gtFxDu.js} +38 -5
  196. package/dist/semanticLayer-6_gtFxDu.js.map +1 -0
  197. package/dist/{semanticLayer-E0Vilu8u.cjs → semanticLayer-9uTaU7UT.cjs} +38 -5
  198. package/dist/semanticLayer-9uTaU7UT.cjs.map +1 -0
  199. package/dist/{serviceIds-DRcoTnSd.d.ts → serviceIds-DC-H6ZD9.d.cts} +2 -1
  200. package/dist/{serviceIds-DRcoTnSd.d.cts → serviceIds-DC-H6ZD9.d.ts} +2 -1
  201. package/dist/status/index.cjs +1 -1
  202. package/dist/status/index.js +1 -1
  203. package/dist/storage/index.cjs +5 -4
  204. package/dist/storage/index.d.cts +2 -2
  205. package/dist/storage/index.d.ts +2 -2
  206. package/dist/storage/index.js +5 -5
  207. package/dist/storage/types.d.cts +3 -3
  208. package/dist/storage/types.d.ts +3 -3
  209. package/dist/{storage-BKm7cztt.cjs → storage-HFUdEy7P.cjs} +43 -6
  210. package/dist/storage-HFUdEy7P.cjs.map +1 -0
  211. package/dist/{storage-LYwFQPNO.js → storage-Ob1LUIDq.js} +38 -7
  212. package/dist/storage-Ob1LUIDq.js.map +1 -0
  213. package/dist/stream/index.cjs +3 -3
  214. package/dist/stream/index.js +3 -3
  215. package/dist/syncActions/index.cjs +1 -1
  216. package/dist/syncActions/index.js +1 -1
  217. package/dist/{syncActions-QeBhIVhG.js → syncActions-B3NS5a0g.js} +5 -5
  218. package/dist/{syncActions-QeBhIVhG.js.map → syncActions-B3NS5a0g.js.map} +1 -1
  219. package/dist/{syncActions-OEZdVffK.cjs → syncActions-D2DhY6pP.cjs} +5 -5
  220. package/dist/{syncActions-OEZdVffK.cjs.map → syncActions-D2DhY6pP.cjs.map} +1 -1
  221. package/dist/telemetry/index.cjs +3 -3
  222. package/dist/telemetry/index.js +3 -3
  223. package/dist/{types-CzsnuPFh.d.cts → types-B-P4vQe0.d.cts} +35 -2
  224. package/dist/{types-DEc55spK.d.ts → types-B95uNQ9o.d.ts} +3 -3
  225. package/dist/{types-BQsOHNI0.d.ts → types-BrPlv-NS.d.ts} +3 -3
  226. package/dist/{types-DjrRmQUe.d.cts → types-CmF3pR2n.d.cts} +3 -3
  227. package/dist/{types-f8W_j6qD.d.cts → types-Crhy0c9m.d.cts} +657 -199
  228. package/dist/{types-DPS8nwkV.d.cts → types-DOyNe7oe.d.cts} +2 -1
  229. package/dist/{types-BuqxXXYP.d.ts → types-DPl8pZsY.d.ts} +35 -2
  230. package/dist/{types-CaYtinmA.d.cts → types-D_j2Uq5X.d.cts} +3 -3
  231. package/dist/{types-BupPADSm.d.ts → types-DrqKICcK.d.ts} +657 -199
  232. package/dist/{types-DBOSvWtD.d.ts → types-gi4Eay19.d.ts} +2 -1
  233. package/dist/{validateConnectionStatus-olE2sQ3U.js → validateConnectionStatus-828HV8WL.js} +4 -3
  234. package/dist/validateConnectionStatus-828HV8WL.js.map +1 -0
  235. package/dist/{validateConnectionStatus-CsvYmCOI.cjs → validateConnectionStatus-CvBKyeDO.cjs} +4 -3
  236. package/dist/validateConnectionStatus-CvBKyeDO.cjs.map +1 -0
  237. package/dist/vault/index.cjs +4 -4
  238. package/dist/vault/index.js +4 -4
  239. package/package.json +28 -2
  240. package/surface/businessWorkspaceApi.md +12 -0
  241. package/surface/chat.md +1 -1
  242. package/surface/kaiAgent.md +5 -2
  243. package/surface/management.md +4 -0
  244. package/dist/constants-C4DlsF_M.cjs.map +0 -1
  245. package/dist/constants-wfbFsqqN.js.map +0 -1
  246. package/dist/createFetchClient-DgMiqTJ8.cjs.map +0 -1
  247. package/dist/createFetchClient-U-ZrwPl2.js.map +0 -1
  248. package/dist/kaiAgent-8LNzGhZc.js.map +0 -1
  249. package/dist/kaiAgent-B_TaUPRt.cjs.map +0 -1
  250. package/dist/management-BoxlRNg2.cjs.map +0 -1
  251. package/dist/management-Bp440RsV.js.map +0 -1
  252. package/dist/semanticLayer-CSqmtHRo.js.map +0 -1
  253. package/dist/semanticLayer-E0Vilu8u.cjs.map +0 -1
  254. package/dist/storage-BKm7cztt.cjs.map +0 -1
  255. package/dist/storage-LYwFQPNO.js.map +0 -1
  256. package/dist/validateConnectionStatus-CsvYmCOI.cjs.map +0 -1
  257. package/dist/validateConnectionStatus-olE2sQ3U.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"semanticLayer-9uTaU7UT.cjs","names":["z","z","formatValidationIssues","generateUUID","parseOrThrow","z","formatValidationIssues","concurrent","isApiError","HttpStatus"],"sources":["../src/sdks/semanticLayer/errorMessage.ts","../src/sdks/semanticLayer/vocabulary.ts","../src/sdks/semanticLayer/schemas.ts","../src/sdks/semanticLayer/readSchemas.ts","../src/sdks/semanticLayer/semanticLayerSdk.ts"],"sourcesContent":["/**\n * The message out of a metastore error body.\n *\n * - The metastore reports what is actually wrong with a write only inside `errors[].message`\n * (`missing property 'fqn'`). The HTTP status and the response's own message say no more than\n * \"Validation failed\", so a caller that renders those alone tells a user nothing actionable.\n * - Every shape that is not that envelope returns `undefined` rather than a placeholder, so the\n * caller keeps its own fallback (`?? error.message`) instead of rendering a stand-in for one.\n * - Only the first error: the metastore reports fields one at a time, so a list would be a list\n * of one.\n */\nexport const metastoreErrorMessage = (data: unknown): string | undefined => {\n if (typeof data !== 'object' || data === null) return undefined;\n const errors = (data as { errors?: unknown }).errors;\n if (!Array.isArray(errors)) return undefined;\n const first = errors[0];\n if (typeof first !== 'object' || first === null) return undefined;\n const message = (first as { message?: unknown }).message;\n return typeof message === 'string' && message ? message : undefined;\n};\n","/**\n * The closed value sets the metastore accepts inside a semantic object's `data`.\n *\n * - Each one is the single runtime source for a union in `./types`, which derives the type from\n * the array here. A value cannot exist in the type and be missing from the list a dropdown or\n * a validator is built from.\n * - The addressing vocabulary (`SEMANTIC_OBJECT_TYPE`, `MODEL_CHILD_OBJECT_TYPES`) is a\n * different axis — which object a call targets, not what may sit inside one — and stays beside\n * the SDK methods that take it.\n * - This file imports nothing: `./types` reads it, never the reverse.\n */\n\n/**\n * The dialects the metastore accepts, exactly as it spells them. A lowercase value is\n * rejected with `422 value must be one of 'Snowflake', 'BigQuery'`, which surfaces only as a\n * generic \"Validation failed\" — so callers need the real set rather than a bare `string`.\n *\n * `SemanticModelData.sql_dialect` stays `string` for now: narrowing it would break any caller\n * passing a `string` variable, which is a major bump. Validate against this instead.\n */\nexport const SQL_DIALECTS = ['Snowflake', 'BigQuery'] as const;\n\n/** The metastore's constraint kinds. */\nexport const CONSTRAINT_TYPES = [\n 'inequality',\n 'equality',\n 'range',\n 'composition',\n 'exclusion',\n 'temporal',\n 'conditional',\n] as const;\n\n/**\n * What a dataset field is for.\n *\n * - Enumerated, unlike a field's `type`: the metastore takes any type string, but only these\n * four roles.\n */\nexport const FIELD_ROLES = ['key', 'dimension', 'measure', 'timestamp'] as const;\n\n/**\n * How loudly a violated constraint reports.\n *\n * - An unset severity is stored as `warning`, so a reader renders that rather than nothing.\n */\nexport const CONSTRAINT_SEVERITIES = ['error', 'warning', 'info'] as const;\n\n/**\n * What a constraint's rule is evaluated per.\n *\n * - An unset scope is stored as `global`.\n */\nexport const CONSTRAINT_SCOPES = ['global', 'per_location', 'per_date', 'per_category'] as const;\n\n/** The comparisons a constraint's `ruleExpression` can make. */\nexport const RULE_OPERATORS = [\n '<',\n '<=',\n '=',\n '>=',\n '>',\n '!=',\n 'between',\n 'in',\n 'sum_equals',\n 'ratio_between',\n] as const;\n\n/** The join a relationship stands for. */\nexport const RELATIONSHIP_JOIN_TYPES = ['left', 'inner'] as const;\n","import { z } from 'zod';\n\nimport { CONSTRAINT_TYPES, SQL_DIALECTS } from './vocabulary';\n\n/**\n * Runtime validators for the semantic-layer payload shapes.\n *\n * These exist because the metastore's validation errors are opaque — a missing or misspelled\n * field surfaces only as a generic \"Validation failed\", and a wrong `sql_dialect` casing as a\n * 422 that names neither the field nor the accepted values. Parsing first turns those into a\n * message that says what is wrong.\n *\n * **Only the fields the SDK types mark as required are declared.** The metastore owns each\n * object type's full schema, so every schema is a `looseObject`: unknown fields pass through\n * untouched rather than being stripped or rejected. Re-declaring the optional fields here\n * would create a second source of truth that silently drops whatever the metastore adds next.\n *\n * The SDK does **not** parse on its own writes — these are for callers that accept untrusted\n * or hand-authored input (an agent's tool call, a form submission) and want to fail early.\n * `modelUUID` is omitted throughout: the SDK injects it, so callers never supply it.\n */\n\nexport const semanticModelSchema = z.looseObject({\n name: z.string().min(1),\n sql_dialect: z.enum(SQL_DIALECTS),\n});\n\nexport const semanticDatasetSchema = z.looseObject({\n name: z.string().min(1),\n tableId: z.string().min(1),\n fqn: z.string().min(1),\n});\n\nexport const semanticMetricSchema = z.looseObject({\n name: z.string().min(1),\n sql: z.string().min(1),\n});\n\nexport const semanticRelationshipSchema = z.looseObject({\n from: z.string().min(1),\n to: z.string().min(1),\n on: z.string().min(1),\n});\n\nexport const semanticGlossarySchema = z.looseObject({\n term: z.string().min(1),\n definition: z.string().min(1),\n});\n\nexport const semanticConstraintSchema = z.looseObject({\n name: z.string().min(1),\n constraintType: z.enum(CONSTRAINT_TYPES),\n metrics: z.array(z.string()),\n rule: z.string().min(1),\n});\n\n/** Keyed by object type so a caller can pick the schema from a `SemanticChildObjectType`. */\nexport const SEMANTIC_CHILD_OBJECT_SCHEMAS = {\n 'semantic-dataset': semanticDatasetSchema,\n 'semantic-metric': semanticMetricSchema,\n 'semantic-relationship': semanticRelationshipSchema,\n 'semantic-glossary': semanticGlossarySchema,\n 'semantic-constraint': semanticConstraintSchema,\n} as const;\n","import { z } from 'zod';\n\nimport { formatValidationIssues } from '../../errors';\n\nimport type {\n SemanticAiMetadata,\n SemanticChildObjectDataMap,\n SemanticChildObjectType,\n SemanticConstraintData,\n SemanticDatasetData,\n SemanticFieldData,\n SemanticGlossaryData,\n SemanticMetricData,\n SemanticModelData,\n SemanticObjectMeta,\n SemanticRelationshipData,\n SemanticRuleExpression,\n SemanticValidationQuery,\n} from './types';\nimport {\n CONSTRAINT_SCOPES,\n CONSTRAINT_SEVERITIES,\n CONSTRAINT_TYPES,\n FIELD_ROLES,\n RELATIONSHIP_JOIN_TYPES,\n RULE_OPERATORS,\n} from './vocabulary';\n\n/**\n * What a read of the metastore is allowed to hand back, per object type.\n *\n * - Every schema is annotated with the type it must produce, so the compiler rejects a schema that\n * omits a field `./types` declares or makes a required one optional. The declared type and the\n * parser cannot drift apart.\n * - `looseObject` throughout: a field the metastore adds still reaches a caller at runtime, exactly\n * as it did when this boundary asserted instead of parsing.\n * - The metastore validates each object type on write — that is where its opaque \"Validation\n * failed\" and `sql_dialect` 422s come from — so a stored object already satisfies these. Parsing\n * is the net under that, for an object written before a schema version tightened and for the\n * day the two schemas disagree.\n * - An **optional** enum that arrives with a value outside the list reads as absent rather than\n * taking its object down: a new `role` the metastore starts issuing must not delete the dataset\n * carrying it. A **required** enum has no such reading — `constraintType` decides what a\n * constraint means — so an unknown value drops the object.\n */\n\nconst aiMetadataSchema: z.ZodType<SemanticAiMetadata, unknown> = z.looseObject({\n synonyms: z.array(z.string()).optional(),\n keywords: z.array(z.string()).optional(),\n antiKeywords: z.array(z.string()).optional(),\n hints: z.array(z.string()).optional(),\n warnings: z.array(z.string()).optional(),\n});\n\nconst fieldSchema: z.ZodType<SemanticFieldData, unknown> = z.looseObject({\n name: z.string(),\n description: z.string().optional(),\n type: z.string().optional(),\n role: z.enum(FIELD_ROLES).optional().catch(undefined),\n values: z.array(z.string()).optional(),\n ai: aiMetadataSchema.optional(),\n});\n\n/**\n * A dataset's `fields`, where a malformed column is dropped rather than the whole dataset.\n *\n * - `name` is required and `schemas.ts` does not validate `fields` on write, so this SDK can\n * store a nameless column that a strict read would then hide the entire table over.\n * - The same rule as the collection one level up: a drop never takes its container with it.\n */\nconst datasetFieldsSchema = z.array(z.unknown()).transform((items) =>\n items.flatMap((element, index) => {\n const result = fieldSchema.safeParse(element);\n if (result.success) return [result.data];\n\n console.warn(\n `semanticLayerSdk: dropped field #${index} from a semantic-dataset, it does not match ` +\n `its declared shape`,\n formatValidationIssues(result.error.issues),\n );\n return [];\n }),\n);\n\nconst ruleExpressionSchema: z.ZodType<SemanticRuleExpression, unknown> = z.looseObject({\n operator: z.enum(RULE_OPERATORS).optional().catch(undefined),\n left: z.string().optional(),\n right: z.string().optional(),\n bounds: z\n .looseObject({\n min: z.number().optional(),\n max: z.number().optional(),\n })\n .optional(),\n});\n\nconst validationQuerySchema: z.ZodType<SemanticValidationQuery, unknown> = z.looseObject({\n default: z.string().optional(),\n snowflake: z.string().optional(),\n bigquery: z.string().optional(),\n});\n\nexport const semanticModelReadSchema: z.ZodType<SemanticModelData, unknown> = z.looseObject({\n name: z.string(),\n description: z.string().optional(),\n sql_dialect: z.string(),\n});\n\nconst semanticDatasetReadSchema: z.ZodType<SemanticDatasetData, unknown> = z.looseObject({\n modelUUID: z.string(),\n name: z.string(),\n tableId: z.string(),\n fqn: z.string(),\n description: z.string().optional(),\n grain: z.string().optional(),\n primaryKey: z.array(z.string()).optional(),\n fields: datasetFieldsSchema.optional(),\n ai: aiMetadataSchema.optional(),\n});\n\nconst semanticMetricReadSchema: z.ZodType<SemanticMetricData, unknown> = z.looseObject({\n modelUUID: z.string(),\n name: z.string(),\n sql: z.string(),\n dataset: z.string().optional(),\n description: z.string().optional(),\n});\n\nconst semanticRelationshipReadSchema: z.ZodType<SemanticRelationshipData, unknown> = z.looseObject({\n modelUUID: z.string(),\n name: z.string().optional(),\n from: z.string(),\n to: z.string(),\n on: z.string(),\n type: z.enum(RELATIONSHIP_JOIN_TYPES).optional().catch(undefined),\n});\n\nconst semanticGlossaryReadSchema: z.ZodType<SemanticGlossaryData, unknown> = z.looseObject({\n modelUUID: z.string(),\n term: z.string(),\n definition: z.string(),\n seeAlso: z.array(z.string()).optional(),\n});\n\nconst semanticConstraintReadSchema: z.ZodType<SemanticConstraintData, unknown> = z.looseObject({\n modelUUID: z.string(),\n name: z.string(),\n displayName: z.string().optional(),\n description: z.string().optional(),\n constraintType: z.enum(CONSTRAINT_TYPES),\n metrics: z.array(z.string()),\n datasets: z.array(z.string()).optional(),\n rule: z.string(),\n ruleExpression: ruleExpressionSchema.optional(),\n validationQuery: validationQuerySchema.optional(),\n severity: z.enum(CONSTRAINT_SEVERITIES).optional().catch(undefined),\n errorMessage: z.string().optional(),\n remediation: z.string().optional(),\n isActive: z.boolean().optional(),\n scope: z.enum(CONSTRAINT_SCOPES).optional().catch(undefined),\n owner: z.string().optional(),\n tags: z.array(z.string()).optional(),\n});\n\n/** Keyed by object type so a read can pick the schema from a `SemanticChildObjectType`. */\nexport const SEMANTIC_CHILD_OBJECT_READ_SCHEMAS: {\n [T in SemanticChildObjectType]: z.ZodType<SemanticChildObjectDataMap[T], unknown>;\n} = {\n 'semantic-dataset': semanticDatasetReadSchema,\n 'semantic-metric': semanticMetricReadSchema,\n 'semantic-relationship': semanticRelationshipReadSchema,\n 'semantic-glossary': semanticGlossaryReadSchema,\n 'semantic-constraint': semanticConstraintReadSchema,\n};\n\nconst semanticObjectMetaSchema: z.ZodType<SemanticObjectMeta, unknown> = z.looseObject({\n name: z.string().optional(),\n branch: z.string().optional(),\n projectId: z.number().optional(),\n organizationId: z.string().optional(),\n revision: z.number().optional(),\n schemaVersion: z.string().optional(),\n createdAt: z.string().optional(),\n lastUpdated: z.string().optional(),\n revisionCreatedAt: z.string().optional(),\n});\n\n/**\n * The envelope every read comes wrapped in, mapped to the `SemanticObject` the SDK returns.\n *\n * `meta` is absent on nothing we have seen, but every field inside it is optional, so an envelope\n * that omits it is a normalization rather than a failure — the alternative is dropping an object\n * over audit fields no caller requires. `null` normalizes the same way: a serializer that writes\n * an absent object as `null` must not be a different outcome from one that omits the key.\n */\nexport const semanticObjectReadSchema = <TData>(dataSchema: z.ZodType<TData, unknown>) =>\n z\n .object({\n id: z.string(),\n attributes: dataSchema,\n meta: semanticObjectMetaSchema.nullish(),\n })\n .transform(({ id, attributes, meta }) => ({ uuid: id, data: attributes, meta: meta ?? {} }));\n","import { z } from 'zod';\n\nimport { formatValidationIssues, parseOrThrow } from '../../errors';\nimport { isApiError } from '../../fetchClient';\nimport { HttpStatus } from '../../internal';\nimport { concurrent, generateUUID } from '../../utils';\n\nimport {\n SEMANTIC_CHILD_OBJECT_READ_SCHEMAS,\n semanticModelReadSchema,\n semanticObjectReadSchema,\n} from './readSchemas';\nimport type {\n CreateSemanticObjectMeta,\n MetastoreClient,\n SemanticChildObjectDataMap,\n SemanticChildObjectType,\n SemanticModelChildDeleteFailure,\n SemanticModelChildRef,\n SemanticModelData,\n SemanticObject,\n SemanticObjectMeta,\n SemanticObjectType,\n SemanticUnreadableObjectRef,\n UpdateSemanticObjectMeta,\n} from './types';\n\n/**\n * Thrown by `deleteModel` when the child cascade partially fails. Every child delete has\n * settled by the time this is thrown — nothing keeps deleting in the background — and the\n * model itself was kept, so the exact remaining state is knowable: `deletedChildren` are gone,\n * `failedChildren` (and the model) still exist. `errors` carries the per-child rejection\n * reasons, AggregateError-style.\n */\nexport class SemanticLayerCascadeDeleteError extends AggregateError {\n readonly modelUUID: string;\n readonly deletedChildren: SemanticModelChildRef[];\n readonly failedChildren: SemanticModelChildDeleteFailure[];\n\n constructor({\n modelUUID,\n deletedChildren,\n failedChildren,\n }: {\n modelUUID: string;\n deletedChildren: SemanticModelChildRef[];\n failedChildren: SemanticModelChildDeleteFailure[];\n }) {\n const total = deletedChildren.length + failedChildren.length;\n super(\n failedChildren.map((failure) => failure.error),\n `The model was kept because ${failedChildren.length} of its ${total} child objects ` +\n `could not be deleted (${deletedChildren.length} deleted).`,\n );\n this.name = 'SemanticLayerCascadeDeleteError';\n this.modelUUID = modelUUID;\n this.deletedChildren = deletedChildren;\n this.failedChildren = failedChildren;\n }\n}\n\n/**\n * Thrown by `listModelChildren` when a read that has to be complete was not.\n *\n * - A dropped object is invisible to the caller, and two of this SDK's answers cannot survive\n * that: what a delete would destroy, and whether a model still has children.\n * - So this one read fails closed where a display read degrades. `deleteModel` calls it before\n * the cascade starts, so nothing is deleted when it throws.\n * - `unreadable` lists what could not be parsed. `modelUUID` is `null` when that field is itself\n * part of what failed — an object that cannot name its model is counted against every model,\n * because the alternative is deleting the model it turns out to belong to.\n */\nexport class SemanticLayerUnreadableChildrenError extends Error {\n readonly modelUUID: string;\n readonly unreadable: SemanticUnreadableObjectRef[];\n\n constructor({\n modelUUID,\n unreadable,\n }: {\n modelUUID: string;\n unreadable: SemanticUnreadableObjectRef[];\n }) {\n super(\n `${unreadable.length} child object(s) of the model could not be read, so what it holds ` +\n `is unknown and nothing was deleted.`,\n );\n this.name = 'SemanticLayerUnreadableChildrenError';\n this.modelUUID = modelUUID;\n this.unreadable = unreadable;\n }\n}\n\nexport const SEMANTIC_OBJECT_TYPE = {\n MODEL: 'semantic-model',\n DATASET: 'semantic-dataset',\n METRIC: 'semantic-metric',\n RELATIONSHIP: 'semantic-relationship',\n GLOSSARY: 'semantic-glossary',\n CONSTRAINT: 'semantic-constraint',\n} as const satisfies Record<string, SemanticObjectType>;\n\n/**\n * `readonly` because this drives `createModelTree`, `listModelChildren` and `deleteModel` —\n * a consumer-side `.push()` would silently change what a cascade delete touches.\n */\nexport const MODEL_CHILD_OBJECT_TYPES: readonly SemanticChildObjectType[] = [\n SEMANTIC_OBJECT_TYPE.DATASET,\n SEMANTIC_OBJECT_TYPE.METRIC,\n SEMANTIC_OBJECT_TYPE.RELATIONSHIP,\n SEMANTIC_OBJECT_TYPE.GLOSSARY,\n SEMANTIC_OBJECT_TYPE.CONSTRAINT,\n] as const;\n\nconst DEFAULT_BRANCH = 'main';\n\n// The metastore has no bulk endpoint; large semantic-layer inits are written as\n// concurrent single POSTs (the same approach the ai-kit sl-toolkit importer uses).\nconst WRITE_CONCURRENCY = 5;\n\n/**\n * The live metastore envelope.\n *\n * - `attributes` carries the object's data payload directly, the UUID is the top-level `id`, and\n * revision/branch/audit fields live in `meta`.\n * - The legacy wrapper types in clients/metastore/repository/types.ts do not match this shape.\n * - Reads parse into it (`./readSchemas`); this type is what a **write** asserts, where the\n * metastore is echoing back the object it has just validated and stored.\n */\ntype RawSemanticObject<TData> = {\n type: string;\n id: string;\n attributes: TData;\n meta: SemanticObjectMeta;\n};\n\nconst mapObject = <TData>(item: RawSemanticObject<TData>): SemanticObject<TData> => ({\n uuid: item.id,\n data: item.attributes,\n meta: item.meta,\n});\n\n/**\n * The UUID of an envelope that failed to parse, read off the raw value.\n *\n * There is no parse result to read it from. `null` — no `id`, not a string, or not an object at\n * all — means the object is unaddressable: nothing can fetch, fix or delete it by UUID.\n */\nconst envelopeId = (value: unknown): string | null => {\n if (typeof value !== 'object' || value === null) return null;\n const { id } = value as { id?: unknown };\n return typeof id === 'string' && id !== '' ? id : null;\n};\n\n/**\n * The model a *dropped* envelope claims, read off the raw value.\n *\n * `listObjects` scopes a collection by the parsed `data.modelUUID`, which an object that failed\n * to parse has none of. `null` — the field is missing, not a string, or the envelope is not an\n * object — means \"cannot be attributed\", and every caller here treats that as \"could be this\n * model's\".\n */\nconst envelopeModelUUID = (value: unknown): string | null => {\n if (typeof value !== 'object' || value === null) return null;\n const { attributes } = value as { attributes?: unknown };\n if (typeof attributes !== 'object' || attributes === null) return null;\n const { modelUUID } = attributes as { modelUUID?: unknown };\n return typeof modelUUID === 'string' && modelUUID !== '' ? modelUUID : null;\n};\n\nconst deriveOptionalObjectName = (data: Record<string, unknown>): string | undefined => {\n if (typeof data.name === 'string') return data.name;\n if (typeof data.term === 'string') return data.term;\n return undefined;\n};\n\nconst deriveObjectName = (data: Record<string, unknown>) =>\n deriveOptionalObjectName(data) ?? generateUUID();\n\n/**\n * The label a UI shows for an object, as opposed to the identifier it is addressed by.\n *\n * Constraints carry an optional `displayName`; kbc-ui's constraint tables already render\n * `displayName ?? name`, so a confirmation listing what a cascade delete would destroy has to\n * agree with them or it names objects the user can't find on screen.\n *\n * Deliberately **not** used for lookup: `displayName` is optional and not unique, so matching on\n * it would make `findObjectsByName` ambiguous for callers that resolve a write target by name.\n */\nconst deriveObjectLabel = (data: Record<string, unknown>): string | undefined => {\n if (typeof data.displayName === 'string' && data.displayName !== '') return data.displayName;\n return deriveOptionalObjectName(data);\n};\n\ntype Options = {\n metastoreClient: MetastoreClient;\n};\n\nexport const createSemanticLayerSdk = ({ metastoreClient }: Options) => {\n /**\n * Every object of one type, parsed rather than asserted.\n *\n * - Each element is validated against the shape `./types` declares for it, so a caller that\n * reads a field the type marks required gets a string and not a `TypeError` in render.\n * - An element that does not match is dropped and the reason logged — the metastore validates\n * these on write, so one that fails here is genuinely broken, and a half-formed object is\n * worse to hand a caller than no object.\n * - A drop never takes the collection with it: a model with one malformed metric still lists\n * the other nine.\n * - A response that is not a collection at all is a different failure and throws, because\n * reading it as an empty list would render \"this project has no metrics\".\n */\n const _listObjects = async <TData>(\n objectType: SemanticObjectType,\n dataSchema: z.ZodType<TData, unknown>,\n signal?: AbortSignal,\n ): Promise<{ objects: SemanticObject<TData>[]; unreadable: SemanticUnreadableObjectRef[] }> => {\n const response = await metastoreClient.repository.getMetaObjects({ objectType }, signal);\n const items = parseOrThrow(z.array(z.unknown()), response.data);\n const schema = semanticObjectReadSchema(dataSchema);\n\n const objects: SemanticObject<TData>[] = [];\n const unreadable: SemanticUnreadableObjectRef[] = [];\n\n for (const item of items) {\n const result = schema.safeParse(item);\n if (result.success) {\n objects.push(result.data);\n continue;\n }\n\n unreadable.push({\n objectType,\n objectUUID: envelopeId(item),\n modelUUID: envelopeModelUUID(item),\n });\n\n // The object type, the UUID and the failing field, never the payload: a model's\n // vocabulary and its SQL are the customer's and do not belong in a console.\n console.warn(\n `semanticLayerSdk: dropped ${objectType} \"${envelopeId(item) ?? '<no id>'}\" from the ` +\n `metastore response, it does not match its declared shape`,\n formatValidationIssues(result.error.issues),\n );\n }\n\n return { objects, unreadable };\n };\n\n const listModels = async (signal?: AbortSignal) =>\n (await _listObjects(SEMANTIC_OBJECT_TYPE.MODEL, semanticModelReadSchema, signal)).objects;\n\n const createModel = async (data: SemanticModelData, meta: CreateSemanticObjectMeta = {}) => {\n const response = await metastoreClient.repository.createMetaObject<SemanticModelData>({\n objectType: SEMANTIC_OBJECT_TYPE.MODEL,\n data,\n branch: DEFAULT_BRANCH,\n ...meta,\n // Derived name wins over meta so the metastore name stays in sync with the payload.\n name: data.name,\n });\n\n return mapObject(response.data as unknown as RawSemanticObject<SemanticModelData>);\n };\n\n const updateModel = async (\n modelUUID: string,\n data: Partial<SemanticModelData>,\n meta: UpdateSemanticObjectMeta = {},\n ) => {\n const response = await metastoreClient.repository.updateMetaObject<SemanticModelData>({\n objectType: SEMANTIC_OBJECT_TYPE.MODEL,\n UUID: modelUUID,\n data,\n ...meta,\n // Derived rename wins over meta so the metastore name stays in sync with the payload.\n ...(data.name ? { name: data.name } : {}),\n });\n\n return mapObject(response.data as unknown as RawSemanticObject<SemanticModelData>);\n };\n\n /**\n * One child collection, scoped to a model, with what the scoping could not account for.\n *\n * - An object that parsed is this model's when its `modelUUID` matches.\n * - An object that did not parse is this model's when the raw envelope says so — and also when\n * the envelope cannot say, since a dropped object that names no model could be anyone's.\n */\n const _listChildObjects = async <T extends SemanticChildObjectType>(\n objectType: T,\n modelUUID: string,\n signal?: AbortSignal,\n ) => {\n const { objects, unreadable } = await _listObjects(\n objectType,\n SEMANTIC_CHILD_OBJECT_READ_SCHEMAS[objectType],\n signal,\n );\n\n return {\n objects: objects.filter((object) => object.data.modelUUID === modelUUID),\n unreadable: unreadable.filter((ref) => ref.modelUUID === null || ref.modelUUID === modelUUID),\n };\n };\n\n const listObjects = async <T extends SemanticChildObjectType>(\n objectType: T,\n modelUUID: string,\n signal?: AbortSignal,\n ) => (await _listChildObjects(objectType, modelUUID, signal)).objects;\n\n /**\n * Find a model's child objects by their user-facing name.\n *\n * Returns every match rather than resolving to one, because a name is not unique: the caller\n * decides whether that's an error (an agent needs an unambiguous target) or a choice to offer\n * (a UI can render a picker). Glossary entries key on `term`, so both are matched.\n */\n const findObjectsByName = async <T extends SemanticChildObjectType>(\n objectType: T,\n name: string,\n modelUUID: string,\n signal?: AbortSignal,\n ) => {\n const objects = await listObjects(objectType, modelUUID, signal);\n return objects.filter((object) => deriveOptionalObjectName(object.data) === name);\n };\n\n const createObject = async <T extends SemanticChildObjectType>(\n objectType: T,\n data: SemanticChildObjectDataMap[T],\n meta: CreateSemanticObjectMeta = {},\n ) => {\n const response = await metastoreClient.repository.createMetaObject<\n SemanticChildObjectDataMap[T]\n >({\n objectType,\n data,\n branch: DEFAULT_BRANCH,\n ...meta,\n // Derived name wins over meta so the metastore name stays in sync with the payload.\n name: deriveObjectName(data),\n });\n\n return mapObject(response.data as unknown as RawSemanticObject<SemanticChildObjectDataMap[T]>);\n };\n\n const createObjects = async <T extends SemanticChildObjectType>(\n objectType: T,\n items: SemanticChildObjectDataMap[T][],\n meta: CreateSemanticObjectMeta = {},\n ) =>\n concurrent({\n items,\n process: async (data) => createObject(objectType, data, meta),\n concurrency: WRITE_CONCURRENCY,\n });\n\n // Create a model and all its child objects in one call: the model first (so its\n // UUID exists), then every child concurrently with the modelUUID injected.\n const createModelTree = async (\n model: SemanticModelData,\n children: Partial<{\n [T in SemanticChildObjectType]: Omit<SemanticChildObjectDataMap[T], 'modelUUID'>[];\n }>,\n meta: CreateSemanticObjectMeta = {},\n ) => {\n const createdModel = await createModel(model, meta);\n\n const items = MODEL_CHILD_OBJECT_TYPES.flatMap((objectType) =>\n (children[objectType] ?? []).map((data) => ({\n objectType,\n data: {\n ...data,\n modelUUID: createdModel.uuid,\n } satisfies SemanticChildObjectDataMap[typeof objectType],\n })),\n );\n\n const createdChildren = await concurrent({\n items,\n process: async ({ objectType, data }) => createObject(objectType, data, meta),\n concurrency: WRITE_CONCURRENCY,\n });\n\n return { model: createdModel, children: createdChildren };\n };\n\n const updateObject = async <T extends SemanticChildObjectType>(\n objectType: T,\n objectUUID: string,\n data: Partial<SemanticChildObjectDataMap[T]>,\n meta: UpdateSemanticObjectMeta = {},\n ) => {\n const name = deriveOptionalObjectName(data);\n const response = await metastoreClient.repository.updateMetaObject<\n SemanticChildObjectDataMap[T]\n >({\n objectType,\n UUID: objectUUID,\n data,\n ...meta,\n // Derived rename wins over meta so the metastore name stays in sync with the payload.\n ...(name ? { name } : {}),\n });\n\n return mapObject(response.data as unknown as RawSemanticObject<SemanticChildObjectDataMap[T]>);\n };\n\n /**\n * Whether a failed child delete left the object gone anyway.\n *\n * A cascade's goal per child is \"this object no longer exists\", which a delete that lost a race\n * with a concurrent cascade has already met. `404` is the metastore saying exactly that.\n *\n * Only `404`. The metastore also answers `500` when its delete planner finds nothing to delete,\n * but the response body for that is the same generic \"Failed to soft delete meta object\" every\n * other internal failure carries — the distinguishing \"may already be deleted\" text reaches its\n * own logs, not the client. Nothing here can separate that 500 from a real one, so all 500s stay\n * failures and keep the model alive. keboola/go-monorepo#603 maps that case to 404, landing it\n * here.\n */\n const isAlreadyDeleted = (error: unknown) =>\n isApiError(error) && error.response.status === HttpStatus.NOT_FOUND;\n\n const deleteObject = async (objectType: SemanticChildObjectType, objectUUID: string) => {\n await metastoreClient.repository.deleteMetaObject({\n objectType,\n UUID: objectUUID,\n });\n };\n\n /**\n * Every child object of a model, across all five types, flattened.\n *\n * `deleteModel` uses this to find what to remove; callers can use it to say what a delete\n * would destroy *before* asking the user to confirm. Each entry's `name` is the object's\n * display label (a constraint's `displayName` in preference to its `name`, matching what the\n * SL tables render), so a confirmation lists objects as the user sees them on screen.\n *\n * Costs five list requests: the metastore has no per-model filter, so the collections are\n * fetched whole and filtered client-side.\n *\n * **Throws `SemanticLayerUnreadableChildrenError` rather than degrading.** The list reads\n * degrade — one malformed metric does not hide the other nine — but this answer is what\n * `deleteModel` and every \"what would this destroy?\" confirmation is built on, and a short\n * list there deletes the object it left out. An unreadable child is counted against the model\n * whenever the raw envelope names it, and against every model when it cannot.\n */\n const listModelChildren = async (\n modelUUID: string,\n signal?: AbortSignal,\n ): Promise<SemanticModelChildRef[]> => {\n const perType = await Promise.all(\n MODEL_CHILD_OBJECT_TYPES.map(async (objectType) => {\n const { objects, unreadable } = await _listChildObjects(objectType, modelUUID, signal);\n return {\n children: objects.map((object) => ({\n objectType,\n objectUUID: object.uuid,\n name: deriveObjectLabel(object.data),\n })),\n unreadable,\n };\n }),\n );\n\n const unreadable = perType.flatMap((result) => result.unreadable);\n if (unreadable.length > 0) {\n throw new SemanticLayerUnreadableChildrenError({ modelUUID, unreadable });\n }\n\n return perType.flatMap((result) => result.children);\n };\n\n /**\n * Cascade delete: every child object first, the model itself only once its whole tree is\n * gone. Child deletes all settle — a failing child never aborts the others, so no delete\n * runs on detached after this rejects — and a partial failure surfaces as\n * `SemanticLayerCascadeDeleteError`, which says exactly which children were deleted and\n * which survived. The model is kept on any child failure so it never orphans children.\n *\n * The same holds for a child that could not be *read*: `listModelChildren` throws before the\n * cascade starts, so an object the read boundary dropped keeps the model alive rather than\n * being silently left behind pointing at a model that no longer exists.\n *\n * Safe to run twice over the same model — two users deleting it at once, or one double-click.\n * Each child this finds already gone counts as deleted: the goal per object is that it no longer\n * exists, and a loser of the race has reached it. Without that, the second run fails on every\n * object the first removed and keeps a model whose children are all gone.\n *\n * The model's own delete is tolerant only once a child has actually been deleted here, which is\n * what proves a cascade was racing. A childless model cannot be told from a UUID that was never\n * a model — the child listing answers 200 with an empty collection for both — so a 404 there is\n * still an error rather than a silent success.\n */\n const deleteModel = async (modelUUID: string) => {\n const children = await listModelChildren(modelUUID);\n\n const outcomes = await concurrent({\n items: children,\n process: async (child) => {\n try {\n await deleteObject(child.objectType, child.objectUUID);\n return { ok: true as const, child };\n } catch (error) {\n if (isAlreadyDeleted(error)) return { ok: true as const, child };\n return { ok: false as const, child, error };\n }\n },\n concurrency: WRITE_CONCURRENCY,\n });\n\n const deletedChildren: SemanticModelChildRef[] = [];\n const failedChildren: SemanticModelChildDeleteFailure[] = [];\n for (const outcome of outcomes) {\n if (outcome.ok) deletedChildren.push(outcome.child);\n else failedChildren.push({ ...outcome.child, error: outcome.error });\n }\n\n if (failedChildren.length > 0) {\n throw new SemanticLayerCascadeDeleteError({ modelUUID, deletedChildren, failedChildren });\n }\n\n try {\n await metastoreClient.repository.deleteMetaObject({\n objectType: SEMANTIC_OBJECT_TYPE.MODEL,\n UUID: modelUUID,\n });\n } catch (error) {\n // Tolerated only for a model this call found something to delete under. A model with no\n // children is indistinguishable from one that never existed — the child listing answers 200\n // with an empty collection either way — so swallowing the 404 there would report a delete of\n // a UUID that was never a model as a success.\n if (deletedChildren.length === 0 || !isAlreadyDeleted(error)) throw error;\n }\n };\n\n /**\n * Replace the sibling projects granted GET/consumption access to a `targeted`-scope object.\n *\n * Passing an empty array clears every grant, leaving the object visible to its owning project\n * only. A grant conveys read access alone — the target projects can consume the definition but\n * never edit it, which is enforced metastore-side rather than here.\n */\n const replaceTargetProjects = async (\n objectType: SemanticObjectType,\n objectUUID: string,\n targetProjectIds: number[],\n ) => {\n await metastoreClient.repository.replaceTargetProjects({\n objectType,\n UUID: objectUUID,\n targetProjectIds,\n });\n };\n\n /**\n * Step a project-scoped object up to the organization scope, in place.\n *\n * The object keeps its UUID and revision history; the step-up writes a new revision whose\n * `project_id` is null. Requires the caller to hold the organization-admin role for the target\n * organization — a project-admin gets 403 from the metastore, which callers should surface\n * rather than pre-empt (the same person is often both).\n */\n const promoteToOrganizationScope = async (objectType: SemanticObjectType, objectUUID: string) => {\n // Scope ONLY. No `data`, not even `{}`: the metastore's step-up guard rejects a PATCH that\n // also carries name or data, and `Data *JSONData` treats `{}` as present — which 400s with\n // \"A scope change cannot be combined with name or data changes\".\n const response = await metastoreClient.repository.updateMetaObject({\n objectType,\n UUID: objectUUID,\n scope: 'organization',\n });\n\n return mapObject(response.data as unknown as RawSemanticObject<Record<string, unknown>>);\n };\n\n return {\n // models\n listModels,\n createModel,\n updateModel,\n deleteModel,\n listModelChildren,\n\n // child objects (datasets, metrics, relationships, glossary, constraints)\n listObjects,\n findObjectsByName,\n createObject,\n createObjects,\n createModelTree,\n updateObject,\n deleteObject,\n\n // scoping / sharing\n replaceTargetProjects,\n promoteToOrganizationScope,\n };\n};\n"],"mappings":";;;;;;;;;;;;;;;;;AAWA,MAAa,yBAAyB,SAAsC;CAC1E,IAAI,OAAO,SAAS,YAAY,SAAS,MAAM,OAAO,KAAA;CACtD,MAAM,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aAAa;EACf,CAAC;EAED,MAAM,kBAA2C,CAAC;EAClD,MAAM,iBAAoD,CAAC;EAC3D,KAAK,MAAM,WAAW,UACpB,IAAI,QAAQ,IAAI,gBAAgB,KAAK,QAAQ,KAAK;OAC7C,eAAe,KAAK;GAAE,GAAG,QAAQ;GAAO,OAAO,QAAQ;EAAM,CAAC;EAGrE,IAAI,eAAe,SAAS,GAC1B,MAAM,IAAI,gCAAgC;GAAE;GAAW;GAAiB;EAAe,CAAC;EAG1F,IAAI;GACF,MAAM,gBAAgB,WAAW,iBAAiB;IAChD,YAAY,qBAAqB;IACjC,MAAM;GACR,CAAC;EACH,SAAS,OAAO;GAKd,IAAI,gBAAgB,WAAW,KAAK,CAAC,iBAAiB,KAAK,GAAG,MAAM;EACtE;CACF;;;;;;;;CASA,MAAM,wBAAwB,OAC5B,YACA,YACA,qBACG;EACH,MAAM,gBAAgB,WAAW,sBAAsB;GACrD;GACA,MAAM;GACN;EACF,CAAC;CACH;;;;;;;;;CAUA,MAAM,6BAA6B,OAAO,YAAgC,eAAuB;EAI/F,MAAM,WAAW,MAAM,gBAAgB,WAAW,iBAAiB;GACjE;GACA,MAAM;GACN,OAAO;EACT,CAAC;EAED,OAAO,UAAU,SAAS,IAA6D;CACzF;CAEA,OAAO;EAEL;EACA;EACA;EACA;EACA;EAGA;EACA;EACA;EACA;EACA;EACA;EACA;EAGA;EACA;CACF;AACF"}
@@ -19,6 +19,7 @@ declare const ServiceId: {
19
19
  readonly Queue: 'queue';
20
20
  readonly KaiAssistant: 'kai-assistant';
21
21
  readonly KaiAgent: 'kai-agent';
22
+ readonly BusinessWorkspaceApi: 'business-workspace';
22
23
  readonly SyncActions: 'sync-actions';
23
24
  readonly Stream: 'stream';
24
25
  readonly Notification: 'notification';
@@ -29,4 +30,4 @@ declare const ServiceId: {
29
30
  type ServiceId = (typeof ServiceId)[keyof typeof ServiceId];
30
31
  //#endregion
31
32
  export { ServiceId as t };
32
- //# sourceMappingURL=serviceIds-DRcoTnSd.d.ts.map
33
+ //# sourceMappingURL=serviceIds-DC-H6ZD9.d.cts.map
@@ -19,6 +19,7 @@ declare const ServiceId: {
19
19
  readonly Queue: 'queue';
20
20
  readonly KaiAssistant: 'kai-assistant';
21
21
  readonly KaiAgent: 'kai-agent';
22
+ readonly BusinessWorkspaceApi: 'business-workspace';
22
23
  readonly SyncActions: 'sync-actions';
23
24
  readonly Stream: 'stream';
24
25
  readonly Notification: 'notification';
@@ -29,4 +30,4 @@ declare const ServiceId: {
29
30
  type ServiceId = (typeof ServiceId)[keyof typeof ServiceId];
30
31
  //#endregion
31
32
  export { ServiceId as t };
32
- //# sourceMappingURL=serviceIds-DRcoTnSd.d.cts.map
33
+ //# sourceMappingURL=serviceIds-DC-H6ZD9.d.ts.map
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_createGenericFetchClient = require("../createGenericFetchClient-o3cPJeRn.cjs");
2
+ const require_createGenericFetchClient = require("../createGenericFetchClient-lcozzwk2.cjs");
3
3
  require("./types.cjs");
4
4
  //#region src/clients/status/statusClient.ts
5
5
  const createStatusClient = ({ baseUrl, middlewares }) => {
@@ -1,4 +1,4 @@
1
- import { t as createGenericFetchClient } from "../createGenericFetchClient-rxvUUbap.js";
1
+ import { t as createGenericFetchClient } from "../createGenericFetchClient-Bnf1QK9W.js";
2
2
  import "./types.js";
3
3
  //#region src/clients/status/statusClient.ts
4
4
  const createStatusClient = ({ baseUrl, middlewares }) => {
@@ -1,9 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_storage = require("../storage-BKm7cztt.cjs");
2
+ const require_storage = require("../storage-HFUdEy7P.cjs");
3
3
  const require_UserError = require("../UserError-CSGO1qII.cjs");
4
- const require_createFetchClient = require("../createFetchClient-DgMiqTJ8.cjs");
5
- const require_validateConnectionStatus = require("../validateConnectionStatus-CsvYmCOI.cjs");
6
- const require_ManagementClientAuthError = require("../ManagementClientAuthError-DD4u0EU7.cjs");
4
+ const require_createFetchClient = require("../createFetchClient-BlgPbjFj.cjs");
5
+ const require_validateConnectionStatus = require("../validateConnectionStatus-CvBKyeDO.cjs");
6
+ const require_ManagementClientAuthError = require("../ManagementClientAuthError-FcfMJNhr.cjs");
7
7
  const require_QueryJobTimeoutError = require("../QueryJobTimeoutError-CVNPdCWX.cjs");
8
8
  const require_SyncActionError = require("../SyncActionError-BG0zwchi.cjs");
9
9
  const require_ValidationError = require("../ValidationError-CLVJCCwH.cjs");
@@ -28,4 +28,5 @@ exports.isQueryJobTimeoutError = require_QueryJobTimeoutError.isQueryJobTimeoutE
28
28
  exports.isSyncActionError = require_SyncActionError.isSyncActionError;
29
29
  exports.isValidationError = require_ValidationError.isValidationError;
30
30
  exports.parseOrThrow = require_ValidationError.parseOrThrow;
31
+ exports.readableReason = require_storage.readableReason;
31
32
  exports.toBackendSubscribers = require_storage.toBackendSubscribers;
@@ -1,3 +1,3 @@
1
1
  import { C as HtmlResponseError, S as ManagementClientAuthError, b as isValidationError, g as isFetchClientError, h as isApiError, k as ApiError, m as isAbortError, p as FetchClientError, v as ValidationError, w as isHtmlResponseError, x as parseOrThrow, y as formatValidationIssues } from "../index-V7XKUQm9.cjs";
2
- import { B as createStorageClient, Gt as SyncActionError, Jt as QueryJobTimeoutError, Kt as isSyncActionError, Qt as UserError, R as GenericFetchClient, Xt as QueryJobError, Yt as isQueryJobTimeoutError, Zt as isQueryJobError, _ as toBackendSubscribers, g as fromBackendSubscribers, qt as ServiceUnavailableError, z as StorageOpenApiFetchClient } from "../index-DIAyi-EZ.cjs";
3
- export { ApiError, type FetchClientError, GenericFetchClient, HtmlResponseError, ManagementClientAuthError, QueryJobError, QueryJobTimeoutError, ServiceUnavailableError, StorageOpenApiFetchClient, SyncActionError, UserError, ValidationError, createStorageClient, formatValidationIssues, fromBackendSubscribers, isAbortError, isApiError, isFetchClientError, isHtmlResponseError, isQueryJobError, isQueryJobTimeoutError, isSyncActionError, isValidationError, parseOrThrow, toBackendSubscribers };
2
+ import { $t as UserError, B as createStorageClient, Gt as SyncActionError, Jt as QueryJobTimeoutError, Kt as isSyncActionError, Qt as isQueryJobError, R as GenericFetchClient, Xt as readableReason, Yt as isQueryJobTimeoutError, Zt as QueryJobError, _ as toBackendSubscribers, g as fromBackendSubscribers, qt as ServiceUnavailableError, z as StorageOpenApiFetchClient } from "../index-CHXnJQ9s.cjs";
3
+ export { ApiError, type FetchClientError, GenericFetchClient, HtmlResponseError, ManagementClientAuthError, QueryJobError, QueryJobTimeoutError, ServiceUnavailableError, StorageOpenApiFetchClient, SyncActionError, UserError, ValidationError, createStorageClient, formatValidationIssues, fromBackendSubscribers, isAbortError, isApiError, isFetchClientError, isHtmlResponseError, isQueryJobError, isQueryJobTimeoutError, isSyncActionError, isValidationError, parseOrThrow, readableReason, toBackendSubscribers };
@@ -1,3 +1,3 @@
1
1
  import { C as HtmlResponseError, S as ManagementClientAuthError, b as isValidationError, g as isFetchClientError, h as isApiError, k as ApiError, m as isAbortError, p as FetchClientError, v as ValidationError, w as isHtmlResponseError, x as parseOrThrow, y as formatValidationIssues } from "../index-KuQ79Mnz.js";
2
- import { B as createStorageClient, Gt as SyncActionError, Jt as QueryJobTimeoutError, Kt as isSyncActionError, Qt as UserError, R as GenericFetchClient, Xt as QueryJobError, Yt as isQueryJobTimeoutError, Zt as isQueryJobError, _ as toBackendSubscribers, g as fromBackendSubscribers, qt as ServiceUnavailableError, z as StorageOpenApiFetchClient } from "../index-2JM0gyAf.js";
3
- export { ApiError, type FetchClientError, GenericFetchClient, HtmlResponseError, ManagementClientAuthError, QueryJobError, QueryJobTimeoutError, ServiceUnavailableError, StorageOpenApiFetchClient, SyncActionError, UserError, ValidationError, createStorageClient, formatValidationIssues, fromBackendSubscribers, isAbortError, isApiError, isFetchClientError, isHtmlResponseError, isQueryJobError, isQueryJobTimeoutError, isSyncActionError, isValidationError, parseOrThrow, toBackendSubscribers };
2
+ import { $t as UserError, B as createStorageClient, Gt as SyncActionError, Jt as QueryJobTimeoutError, Kt as isSyncActionError, Qt as isQueryJobError, R as GenericFetchClient, Xt as readableReason, Yt as isQueryJobTimeoutError, Zt as QueryJobError, _ as toBackendSubscribers, g as fromBackendSubscribers, qt as ServiceUnavailableError, z as StorageOpenApiFetchClient } from "../index-GfKzh267.js";
3
+ export { ApiError, type FetchClientError, GenericFetchClient, HtmlResponseError, ManagementClientAuthError, QueryJobError, QueryJobTimeoutError, ServiceUnavailableError, StorageOpenApiFetchClient, SyncActionError, UserError, ValidationError, createStorageClient, formatValidationIssues, fromBackendSubscribers, isAbortError, isApiError, isFetchClientError, isHtmlResponseError, isQueryJobError, isQueryJobTimeoutError, isSyncActionError, isValidationError, parseOrThrow, readableReason, toBackendSubscribers };
@@ -1,9 +1,9 @@
1
- import { i as ServiceUnavailableError, n as fromBackendSubscribers, r as toBackendSubscribers, t as createStorageClient } from "../storage-LYwFQPNO.js";
1
+ import { a as readableReason, i as ServiceUnavailableError, n as fromBackendSubscribers, r as toBackendSubscribers, t as createStorageClient } from "../storage-Ob1LUIDq.js";
2
2
  import { t as UserError } from "../UserError-By_Zckmc.js";
3
- import { g as ApiError, i as isFetchClientError, n as isAbortError, r as isApiError } from "../createFetchClient-U-ZrwPl2.js";
4
- import { n as HtmlResponseError, r as isHtmlResponseError } from "../validateConnectionStatus-olE2sQ3U.js";
5
- import { t as ManagementClientAuthError } from "../ManagementClientAuthError-ey-f03vy.js";
3
+ import { g as ApiError, i as isFetchClientError, n as isAbortError, r as isApiError } from "../createFetchClient-C-cadpBx.js";
4
+ import { n as HtmlResponseError, r as isHtmlResponseError } from "../validateConnectionStatus-828HV8WL.js";
5
+ import { t as ManagementClientAuthError } from "../ManagementClientAuthError-Cr9IOsnJ.js";
6
6
  import { i as isQueryJobError, n as isQueryJobTimeoutError, r as QueryJobError, t as QueryJobTimeoutError } from "../QueryJobTimeoutError-C7JbNGOM.js";
7
7
  import { n as isSyncActionError, t as SyncActionError } from "../SyncActionError-CoZFsdUk.js";
8
8
  import { i as parseOrThrow, n as formatValidationIssues, r as isValidationError, t as ValidationError } from "../ValidationError-BekhphAq.js";
9
- export { ApiError, HtmlResponseError, ManagementClientAuthError, QueryJobError, QueryJobTimeoutError, ServiceUnavailableError, SyncActionError, UserError, ValidationError, createStorageClient, formatValidationIssues, fromBackendSubscribers, isAbortError, isApiError, isFetchClientError, isHtmlResponseError, isQueryJobError, isQueryJobTimeoutError, isSyncActionError, isValidationError, parseOrThrow, toBackendSubscribers };
9
+ export { ApiError, HtmlResponseError, ManagementClientAuthError, QueryJobError, QueryJobTimeoutError, ServiceUnavailableError, SyncActionError, UserError, ValidationError, createStorageClient, formatValidationIssues, fromBackendSubscribers, isAbortError, isApiError, isFetchClientError, isHtmlResponseError, isQueryJobError, isQueryJobTimeoutError, isSyncActionError, isValidationError, parseOrThrow, readableReason, toBackendSubscribers };
@@ -1,6 +1,6 @@
1
- import { t as ServiceId } from "../serviceIds-DRcoTnSd.cjs";
2
- import { a as ProjectId, c as ShareTokenSchemaBody, d as TokenListItem, f as UpdateTokenBody, i as GetTokenEventsInput, l as StorageToken, m as UpdateTokenSchemaBody, n as CreateTokenResponse, o as ShareTokenBody, p as UpdateTokenInput, r as CreateTokenSchemaBody, s as ShareTokenInput, t as CreateTokenBody, u as StorageTokenRaw } from "../types-DPS8nwkV.cjs";
3
- import { $ as ConfigurationRowVersionDetailPath, $a as UpdateBucketListingSchemaBody, $i as DeleteTablesInput, $n as UpdateConfigurationRowStatePath, $o as CreateScheduledRefreshBody, $r as CreateEventInput, $t as ConfigurationDiff, A as GetJobsQuery, Aa as TableDetail, Ai as CreateAliasTableBody, An as UpdateConfigurationSchemaQuery, Ao as CreateBucketBody, Ar as CreateDevBranchBody, At as CreateConfigurationWorkspaceInput, B as MergeRequestActivityLogEntry, Ba as UpdateTableDefinitionSchemaBody, Bi as CreateTableDefinitionBody, Bn as DeleteConfigurationRowInput, Bo as GetBucketsQuery, Br as AddFileTagBody, Bt as ComponentProcessorConfiguration, C as CreateTriggerBody, Ca as SaveTableMetadataPath, Ci as CreateTablePrimaryKeySchemaBody, Cn as SearchComponentConfigurationsInput, Co as Bucket, Cr as WorkspaceInputMappingLoadPreviewPath, Ct as GetConfigurationMetadataPath, D as UpdateTriggerInput, Da as SetAliasTableFilterPath, Di as DeleteTableColumnQuery, Dn as UpdateConfigurationInput, Do as BucketOwner, Dr as WorkspaceObject, Dt as BackendType, E as UpdateTriggerBody, Ea as SetAliasTableFilterInput, Ei as DeleteTableColumnPath, En as UpdateConfigurationBody, Eo as BucketMetadata, Er as WorkspaceLoginType, Et as SaveConfigurationMetadataPath, F as StorageJobStatus, Fa as TableMetadataResponse, Fi as CreateTableAsyncFromTimeTravelBody, Fn as CreateConfigurationRowInput, Fo as GetBucketOwnerInput, Fr as DevBranchPath, Ft as Component, G as MergeRequestDetailWithActivityLog, Ga as CreateBucketListingInput, Gi as DeleteTableMetadataInput, Gn as GetConfigurationRowPath, Go as UpdateBucketBody, Gr as File, Gt as GetComponentsInput, H as MergeRequestChangeLogEntry, Ha as WhereFilters, Hi as CreateTableDefinitionPath, Hn as DeleteConfigurationRowSchemaBody, Ho as SaveBucketMetadataBody, Hr as AddFileTagPath, Ht as ComponentVendor, I as CreateMergeRequestBody, Ia as UpdateTableBody, Ii as CreateTableAsyncFromWorkspaceBody, In as CreateConfigurationRowPath, Io as GetBucketPath, Ir as SaveDevBranchMetadataInput, It as ComponentData, J as UpdateMergeRequestBody, Ja as ProjectBucketListing, Ji as DeleteTableRows, Jn as UpdateConfigurationRowInput, Jo as UpdateBucketOwnerInput, Jr as GetFilesQuery, Jt as GetComponentsSchemaPath, K as MergeRequestReviewer, Ka as CreateBucketListingPath, Ki as DeleteTableMetadataPath, Kn as Row, Ko as UpdateBucketInput, Kr as GetFileContentPath, Kt as GetComponentsPath, L as CreateMergeRequestSchemaBody, La as UpdateTableDefinitionBody, Li as CreateTableAsyncInput, Ln as CreateConfigurationRowSchemaBody, Lo as GetBucketQuery, Lr as SaveDevBranchMetadataPath, Lt as ComponentDataTypesConfiguration, M as Job, Ma as TableExportAsyncSchemaBody, Mi as CreateTableAsyncBody, Mn as UpdateConfigurationStateInput, Mo as DeleteBucketAsyncInput, Mr as DeleteDevBranchMetadataPath, Mt as CreateConfigurationWorkspaceSchemaBody, N as JobOperation, Na as TableImportAsyncBody, Ni as CreateTableAsyncFromFileBody, Nn as UpdateConfigurationStateSchemaBody, No as DeleteBucketMetadataInput, Nr as DeleteDevBranchMetadataSchemaPath, Nt as GetConfigurationWorkspacesPath, O as UpdateTriggerRequest, Oa as SetAliasTableFilterSchemaBody, Oi as RemoveTablePrimaryKeyInput, On as UpdateConfigurationResult, Oo as BucketShared, Or as WorkspaceRaw, Ot as ConfigurationUseCaseType, P as JobUnion, Pa as TableImportAsyncSchemaBody, Pi as CreateTableAsyncFromSnapshotBody, Pn as CreateConfigurationRowBody, Po as GetBucketInput, Pr as DevBranch, Pt as LoginType, Q as ConfigurationRowVersionDetail, Qa as UpdateBucketListingPath, Qi as DeleteTableSchemaQuery, Qn as UpdateConfigurationRowStateInput, Qo as BucketRegistrationGuideSchemaQuery, Qr as CreateEventBody, Qt as ConfigType, R as MergeRequest, Ra as UpdateTableDefinitionInput, Ri as CreateTableAsyncPath, Rn as CreateConfigurationRowsInput, Ro as GetBucketsInput, Rr as UpdateDevBranchInput, Rt as ComponentDefinition, S as SearchTablesSchemaQuery, Sa as SaveTableMetadataInput, Si as CreateTablePrimaryKeyPath, Sn as SearchComponentConfiguration, So as UnshareBucketSchemaQuery, Sr as WorkspaceInputMappingLoadPreviewInput, St as DeleteConfigurationMetadataPath, T as Trigger, Ta as SetAliasTableFilterBody, Ti as DeleteTableColumnInput, Tn as SearchComponentConfigurationsSchemaQuery, To as BucketDetail, Tr as WorkspaceInputMappingLoadPreviewResponse, Tt as SaveConfigurationMetadataInput, U as MergeRequestConflict, Ua as BucketListingDetail, Ui as CreateTableDefinitionSchemaBody, Un as DeleteConfigurationRowsInput, Uo as SaveBucketMetadataInput, Ur as DeleteFilePath, Ut as GetComponentPath, V as MergeRequestChangeLog, Va as UpdateTableInput, Vi as CreateTableDefinitionInput, Vn as DeleteConfigurationRowPath, Vo as GetBucketsSchemaQuery, Vr as AddFileTagInput, Vt as ComponentStagingStorage, W as MergeRequestDetail, Wa as CreateBucketListingBody, Wi as DeleteTableInput, Wn as GetConfigurationRowInput, Wo as SaveBucketMetadataPath, Wr as DeleteFileTagPath, Wt as GetComponentSchemaPath, X as UpdateMergeRequestSchemaBody, Xa as UpdateBucketListingBody, Xi as DeleteTableRowsPath, Xn as UpdateConfigurationRowSchemaBody, Xo as BucketRegistrationGuide, Xr as PrepareFileBody, Xt as BaseComponentConfig, Y as UpdateMergeRequestInput, Ya as Subscriber, Yi as DeleteTableRowsInput, Yn as UpdateConfigurationRowPath, Yo as UpdateBucketOwnerSchemaBody, Yr as GetFilesSchemaParams, Yt as GetComponentsSchemaQuery, Z as ConfigurationRowVersion, Za as UpdateBucketListingInput, Zi as DeleteTableRowsSchemaQuery, Zn as UpdateConfigurationRowStateBody, Zo as BucketRegistrationGuideQuery, Zr as PrepareFileSchemaBody, Zt as ComponentConfig, _ as GlobalSearchItemType, _a as PreviewData, _i as AddTableColumnInput, _n as RebaseConfigurationInput, _o as ShareBucketToUsersSchemaBody, _r as UnloadWorkspacePath, _t as RollbackConfigurationRowToVersionSchemaBody, a as Service, aa as GetDataPreviewQuery, ai as GetBucketEventsPath, an as ConfigurationPath, ao as ShareBucketToOrganizationInput, ar as DeleteWorkspacePath, as as RegisteredBucketQuery, at as ConfigurationVersionDetailPath, b as GlobalSearchSchemaQuery, ba as PullTableAsyncSchemaPath, bi as CreateTablePrimaryKeyBody, bn as RebaseConfigurationSchemaBody, bo as SharedBucketsQuery, br as WorkspaceConnection, bt as RollbackConfigurationToVersionSchemaBody, c as RunIdStats, ca as GetTablePath, ci as GetEventsInput, cn as CreateConfigurationSchemaBody, co as ShareBucketToOrganizationSchemaQuery, cr as GetWorkspacePath, ct as ConfigurationVersionsSchemaPath, d as CreateSnapshotInput, da as GetTablesQuery, di as GetTableEventsInput, dn as GetConfigurationsPath, do as ShareBucketToProjectsPath, dr as ResetWorkspacePassword, dt as CopyConfigurationFromVersionPath, ea as ExportAsyncInput, ei as CreateEventPath, en as ConfigurationDiffContent, eo as ForceUnlinkBucketInput, er as UpdateConfigurationRowStateSchemaBody, es as CreateScheduledRefreshInput, et as ConfigurationRowVersionPath, f as GetSnapshotsQuery, fa as GetTablesSchemaQuery, fi as GetTableEventsPath, fn as GetSearchComponentConfigurationsPath, fo as ShareBucketToProjectsSchemaBody, fr as ResetWorkspacePasswordPath, ft as CopyConfigurationFromVersionResult, g as GlobalSearchItem, ga as PrevieData, gi as AddTableColumnBody, gn as RebaseConfigurationDiff, go as ShareBucketToUsersPath, gr as UnloadWorkspaceInput, gt as RollbackConfigurationRowToVersionInput, h as GlobalSearchFilterType, ha as Metadata, hi as StorageEventRaw, hn as RebaseConfigurationBody, ho as ShareBucketToUsersInput, hr as SetWorkspacePublicKeyPath, ht as CopyConfigurationRowFromVersionSchemaBody, i as PartialKey, ia as GetDataPreviewPath, ii as GetBucketEventsInput, in as ConfigurationDiffSideContent, io as LinkBucketSchemaBody, ir as DeleteWorkspaceObjectPath, is as RegisterBucketBody, it as ConfigurationVersionDetail, j as GetJobsSchemaQuery, ja as TableExportAsyncBody, ji as CreateAliasTableInput, jn as UpdateConfigurationStateBody, jo as CreateBucketSchemaBody, jr as CreateDevBranchSchemaBody, jt as CreateConfigurationWorkspacePath, k as GetJobPath, ka as Table, ki as SaveColumnMetadataInput, kn as UpdateConfigurationSchemaBody, ko as BucketStage, kr as WorkspaceSaml2Login, kt as CreateConfigurationWorkspaceBody, l as RunIdTableStat, la as GetTablesInput, li as GetEventsPath, ln as CreatorToken, lo as ShareBucketToProjectsBody, lr as GetWorkspaceSaml2LoginPath, lt as CopyConfigurationFromVersionBody, m as Snapshot, ma as ImportAsyncPath, mi as StorageEvent, mn as PurgeConfigurationsInput, mo as ShareBucketToUsersBody, mr as SetWorkspacePublicKeyBody, mt as CopyConfigurationRowFromVersionInput, n as GetStackInfoQuery, na as FilterOperator, ni as CreatedEvent, nn as ConfigurationDiffRow, no as ForceUnlinkBucketSchemaQuery, nr as DeleteWorkspaceObjectBody, ns as RefreshExternalBucketInput, nt as ConfigurationRowVersionsSchemaPath, o as StackComponent, oa as GetDataPreviewSchemaQuery, oi as GetBucketEventsQuery, on as CreateConfigurationBody, oo as ShareBucketToOrganizationProjectInput, or as DeleteWorkspacesInput, os as ScheduledTask, ot as ConfigurationVersionPath, p as GetTableSnapshotsInput, pa as ImportAsyncInput, pi as GetTableEventsQuery, pn as PurgeConfigurationInput, po as ShareBucketToProjectsSchemaQuery, pr as SetWorkspacePublicInput, pt as CopyConfigurationFromVersionSchemaBody, q as MergeRequestReviewerStatus, qa as CreateBucketListingSchemaBody, qi as DeleteTablePath, qn as UpdateConfigurationRowBody, qo as UpdateBucketOwnerBody, qr as GetFilePath, qt as GetComponentsQuery, r as GetStackInfoSchemaParams, ra as GetDataPreviewInput, ri as EventType, rn as ConfigurationDiffSide, ro as LinkBucketBody, rr as DeleteWorkspaceObjectInput, rs as RefreshExternalBucketQuery, rt as ConfigurationVersion, s as StackInfo, sa as GetTableInput, si as GetEventPath, sn as CreateConfigurationInput, so as ShareBucketToOrganizationProjectSchemaQuery, sr as GetWorkspaceObjectsPath, st as ConfigurationVersionSchemaPath, t as ComponentType, ta as ExportAsyncPath, ti as CreateEventSchemaBody, tn as ConfigurationDiffPath, to as ForceUnlinkBucketSchemaPath, tr as WrDbRow, ts as CreateScheduledRefreshPath, tt as ConfigurationRowVersionSchemaPath, u as CreateSnapshotBody, ua as GetTablesPath, ui as GetEventsQuery, un as DeleteConfigurationInput, uo as ShareBucketToProjectsInput, ur as GetWorkspacesPath, ut as CopyConfigurationFromVersionInput, v as GlobalSearchQuery, va as PullTableAsyncInput, vi as AddTableColumnPath, vn as RebaseConfigurationPath, vo as ShareBucketToUsersSchemaQuery, vr as UnloadWorkspaceQuery, vt as RollbackConfigurationToVersionInput, w as GetTriggersQuery, wa as SaveTableMetadataSchemaBody, wi as DeleteColumnMetadataInput, wn as SearchComponentConfigurationsQuery, wo as BucketBackend, wr as WorkspaceInputMappingLoadPreviewQuery, wt as SaveConfigurationMetadataBody, x as SearchTablesQuery, xa as SaveMetadataBody, xi as CreateTablePrimaryKeyInput, xn as RebaseConfigurationToDeletedInput, xo as UnshareBucketInput, xr as WorkspaceInputMappingLoadPreviewBody, xt as ConfigurationMetadataItem, y as GlobalSearchResponse, ya as PullTableAsyncPath, yi as AddTableColumnSchemaBody, yn as RebaseConfigurationRow, yo as SharedBuckets, yr as Workspace, yt as RollbackConfigurationToVersionResult, z as MergeRequestActivityEventType, za as UpdateTableDefinitionPath, zi as CreateTableAsyncSchemaBody, zn as DeleteConfigurationRowBody, zo as GetBucketsPath, zr as UpdateDevBranchSchemaBody, zt as ComponentLogging } from "../types-DjrRmQUe.cjs";
1
+ import { t as ServiceId } from "../serviceIds-DC-H6ZD9.cjs";
2
+ import { a as ProjectId, c as ShareTokenSchemaBody, d as TokenListItem, f as UpdateTokenBody, i as GetTokenEventsInput, l as StorageToken, m as UpdateTokenSchemaBody, n as CreateTokenResponse, o as ShareTokenBody, p as UpdateTokenInput, r as CreateTokenSchemaBody, s as ShareTokenInput, t as CreateTokenBody, u as StorageTokenRaw } from "../types-DOyNe7oe.cjs";
3
+ import { $ as ConfigurationRowVersionDetailPath, $a as UpdateBucketListingSchemaBody, $i as DeleteTablesInput, $n as UpdateConfigurationRowStatePath, $o as CreateScheduledRefreshBody, $r as CreateEventInput, $t as ConfigurationDiff, A as GetJobsQuery, Aa as TableDetail, Ai as CreateAliasTableBody, An as UpdateConfigurationSchemaQuery, Ao as CreateBucketBody, Ar as CreateDevBranchBody, At as CreateConfigurationWorkspaceInput, B as MergeRequestActivityLogEntry, Ba as UpdateTableDefinitionSchemaBody, Bi as CreateTableDefinitionBody, Bn as DeleteConfigurationRowInput, Bo as GetBucketsQuery, Br as AddFileTagBody, Bt as ComponentProcessorConfiguration, C as CreateTriggerBody, Ca as SaveTableMetadataPath, Ci as CreateTablePrimaryKeySchemaBody, Cn as SearchComponentConfigurationsInput, Co as Bucket, Cr as WorkspaceInputMappingLoadPreviewPath, Ct as GetConfigurationMetadataPath, D as UpdateTriggerInput, Da as SetAliasTableFilterPath, Di as DeleteTableColumnQuery, Dn as UpdateConfigurationInput, Do as BucketOwner, Dr as WorkspaceObject, Dt as BackendType, E as UpdateTriggerBody, Ea as SetAliasTableFilterInput, Ei as DeleteTableColumnPath, En as UpdateConfigurationBody, Eo as BucketMetadata, Er as WorkspaceLoginType, Et as SaveConfigurationMetadataPath, F as StorageJobStatus, Fa as TableMetadataResponse, Fi as CreateTableAsyncFromTimeTravelBody, Fn as CreateConfigurationRowInput, Fo as GetBucketOwnerInput, Fr as DevBranchPath, Ft as Component, G as MergeRequestDetailWithActivityLog, Ga as CreateBucketListingInput, Gi as DeleteTableMetadataInput, Gn as GetConfigurationRowPath, Go as UpdateBucketBody, Gr as File, Gt as GetComponentsInput, H as MergeRequestChangeLogEntry, Ha as WhereFilters, Hi as CreateTableDefinitionPath, Hn as DeleteConfigurationRowSchemaBody, Ho as SaveBucketMetadataBody, Hr as AddFileTagPath, Ht as ComponentVendor, I as CreateMergeRequestBody, Ia as UpdateTableBody, Ii as CreateTableAsyncFromWorkspaceBody, In as CreateConfigurationRowPath, Io as GetBucketPath, Ir as SaveDevBranchMetadataInput, It as ComponentData, J as UpdateMergeRequestBody, Ja as ProjectBucketListing, Ji as DeleteTableRows, Jn as UpdateConfigurationRowInput, Jo as UpdateBucketOwnerInput, Jr as GetFilesQuery, Jt as GetComponentsSchemaPath, K as MergeRequestReviewer, Ka as CreateBucketListingPath, Ki as DeleteTableMetadataPath, Kn as Row, Ko as UpdateBucketInput, Kr as GetFileContentPath, Kt as GetComponentsPath, L as CreateMergeRequestSchemaBody, La as UpdateTableDefinitionBody, Li as CreateTableAsyncInput, Ln as CreateConfigurationRowSchemaBody, Lo as GetBucketQuery, Lr as SaveDevBranchMetadataPath, Lt as ComponentDataTypesConfiguration, M as Job, Ma as TableExportAsyncSchemaBody, Mi as CreateTableAsyncBody, Mn as UpdateConfigurationStateInput, Mo as DeleteBucketAsyncInput, Mr as DeleteDevBranchMetadataPath, Mt as CreateConfigurationWorkspaceSchemaBody, N as JobOperation, Na as TableImportAsyncBody, Ni as CreateTableAsyncFromFileBody, Nn as UpdateConfigurationStateSchemaBody, No as DeleteBucketMetadataInput, Nr as DeleteDevBranchMetadataSchemaPath, Nt as GetConfigurationWorkspacesPath, O as UpdateTriggerRequest, Oa as SetAliasTableFilterSchemaBody, Oi as RemoveTablePrimaryKeyInput, On as UpdateConfigurationResult, Oo as BucketShared, Or as WorkspaceRaw, Ot as ConfigurationUseCaseType, P as JobUnion, Pa as TableImportAsyncSchemaBody, Pi as CreateTableAsyncFromSnapshotBody, Pn as CreateConfigurationRowBody, Po as GetBucketInput, Pr as DevBranch, Pt as LoginType, Q as ConfigurationRowVersionDetail, Qa as UpdateBucketListingPath, Qi as DeleteTableSchemaQuery, Qn as UpdateConfigurationRowStateInput, Qo as BucketRegistrationGuideSchemaQuery, Qr as CreateEventBody, Qt as ConfigType, R as MergeRequest, Ra as UpdateTableDefinitionInput, Ri as CreateTableAsyncPath, Rn as CreateConfigurationRowsInput, Ro as GetBucketsInput, Rr as UpdateDevBranchInput, Rt as ComponentDefinition, S as SearchTablesSchemaQuery, Sa as SaveTableMetadataInput, Si as CreateTablePrimaryKeyPath, Sn as SearchComponentConfiguration, So as UnshareBucketSchemaQuery, Sr as WorkspaceInputMappingLoadPreviewInput, St as DeleteConfigurationMetadataPath, T as Trigger, Ta as SetAliasTableFilterBody, Ti as DeleteTableColumnInput, Tn as SearchComponentConfigurationsSchemaQuery, To as BucketDetail, Tr as WorkspaceInputMappingLoadPreviewResponse, Tt as SaveConfigurationMetadataInput, U as MergeRequestConflict, Ua as BucketListingDetail, Ui as CreateTableDefinitionSchemaBody, Un as DeleteConfigurationRowsInput, Uo as SaveBucketMetadataInput, Ur as DeleteFilePath, Ut as GetComponentPath, V as MergeRequestChangeLog, Va as UpdateTableInput, Vi as CreateTableDefinitionInput, Vn as DeleteConfigurationRowPath, Vo as GetBucketsSchemaQuery, Vr as AddFileTagInput, Vt as ComponentStagingStorage, W as MergeRequestDetail, Wa as CreateBucketListingBody, Wi as DeleteTableInput, Wn as GetConfigurationRowInput, Wo as SaveBucketMetadataPath, Wr as DeleteFileTagPath, Wt as GetComponentSchemaPath, X as UpdateMergeRequestSchemaBody, Xa as UpdateBucketListingBody, Xi as DeleteTableRowsPath, Xn as UpdateConfigurationRowSchemaBody, Xo as BucketRegistrationGuide, Xr as PrepareFileBody, Xt as BaseComponentConfig, Y as UpdateMergeRequestInput, Ya as Subscriber, Yi as DeleteTableRowsInput, Yn as UpdateConfigurationRowPath, Yo as UpdateBucketOwnerSchemaBody, Yr as GetFilesSchemaParams, Yt as GetComponentsSchemaQuery, Z as ConfigurationRowVersion, Za as UpdateBucketListingInput, Zi as DeleteTableRowsSchemaQuery, Zn as UpdateConfigurationRowStateBody, Zo as BucketRegistrationGuideQuery, Zr as PrepareFileSchemaBody, Zt as ComponentConfig, _ as GlobalSearchItemType, _a as PreviewData, _i as AddTableColumnInput, _n as RebaseConfigurationInput, _o as ShareBucketToUsersSchemaBody, _r as UnloadWorkspacePath, _t as RollbackConfigurationRowToVersionSchemaBody, a as Service, aa as GetDataPreviewQuery, ai as GetBucketEventsPath, an as ConfigurationPath, ao as ShareBucketToOrganizationInput, ar as DeleteWorkspacePath, as as RegisteredBucketQuery, at as ConfigurationVersionDetailPath, b as GlobalSearchSchemaQuery, ba as PullTableAsyncSchemaPath, bi as CreateTablePrimaryKeyBody, bn as RebaseConfigurationSchemaBody, bo as SharedBucketsQuery, br as WorkspaceConnection, bt as RollbackConfigurationToVersionSchemaBody, c as RunIdStats, ca as GetTablePath, ci as GetEventsInput, cn as CreateConfigurationSchemaBody, co as ShareBucketToOrganizationSchemaQuery, cr as GetWorkspacePath, ct as ConfigurationVersionsSchemaPath, d as CreateSnapshotInput, da as GetTablesQuery, di as GetTableEventsInput, dn as GetConfigurationsPath, do as ShareBucketToProjectsPath, dr as ResetWorkspacePassword, dt as CopyConfigurationFromVersionPath, ea as ExportAsyncInput, ei as CreateEventPath, en as ConfigurationDiffContent, eo as ForceUnlinkBucketInput, er as UpdateConfigurationRowStateSchemaBody, es as CreateScheduledRefreshInput, et as ConfigurationRowVersionPath, f as GetSnapshotsQuery, fa as GetTablesSchemaQuery, fi as GetTableEventsPath, fn as GetSearchComponentConfigurationsPath, fo as ShareBucketToProjectsSchemaBody, fr as ResetWorkspacePasswordPath, ft as CopyConfigurationFromVersionResult, g as GlobalSearchItem, ga as PrevieData, gi as AddTableColumnBody, gn as RebaseConfigurationDiff, go as ShareBucketToUsersPath, gr as UnloadWorkspaceInput, gt as RollbackConfigurationRowToVersionInput, h as GlobalSearchFilterType, ha as Metadata, hi as StorageEventRaw, hn as RebaseConfigurationBody, ho as ShareBucketToUsersInput, hr as SetWorkspacePublicKeyPath, ht as CopyConfigurationRowFromVersionSchemaBody, i as PartialKey, ia as GetDataPreviewPath, ii as GetBucketEventsInput, in as ConfigurationDiffSideContent, io as LinkBucketSchemaBody, ir as DeleteWorkspaceObjectPath, is as RegisterBucketBody, it as ConfigurationVersionDetail, j as GetJobsSchemaQuery, ja as TableExportAsyncBody, ji as CreateAliasTableInput, jn as UpdateConfigurationStateBody, jo as CreateBucketSchemaBody, jr as CreateDevBranchSchemaBody, jt as CreateConfigurationWorkspacePath, k as GetJobPath, ka as Table, ki as SaveColumnMetadataInput, kn as UpdateConfigurationSchemaBody, ko as BucketStage, kr as WorkspaceSaml2Login, kt as CreateConfigurationWorkspaceBody, l as RunIdTableStat, la as GetTablesInput, li as GetEventsPath, ln as CreatorToken, lo as ShareBucketToProjectsBody, lr as GetWorkspaceSaml2LoginPath, lt as CopyConfigurationFromVersionBody, m as Snapshot, ma as ImportAsyncPath, mi as StorageEvent, mn as PurgeConfigurationsInput, mo as ShareBucketToUsersBody, mr as SetWorkspacePublicKeyBody, mt as CopyConfigurationRowFromVersionInput, n as GetStackInfoQuery, na as FilterOperator, ni as CreatedEvent, nn as ConfigurationDiffRow, no as ForceUnlinkBucketSchemaQuery, nr as DeleteWorkspaceObjectBody, ns as RefreshExternalBucketInput, nt as ConfigurationRowVersionsSchemaPath, o as StackComponent, oa as GetDataPreviewSchemaQuery, oi as GetBucketEventsQuery, on as CreateConfigurationBody, oo as ShareBucketToOrganizationProjectInput, or as DeleteWorkspacesInput, os as ScheduledTask, ot as ConfigurationVersionPath, p as GetTableSnapshotsInput, pa as ImportAsyncInput, pi as GetTableEventsQuery, pn as PurgeConfigurationInput, po as ShareBucketToProjectsSchemaQuery, pr as SetWorkspacePublicInput, pt as CopyConfigurationFromVersionSchemaBody, q as MergeRequestReviewerStatus, qa as CreateBucketListingSchemaBody, qi as DeleteTablePath, qn as UpdateConfigurationRowBody, qo as UpdateBucketOwnerBody, qr as GetFilePath, qt as GetComponentsQuery, r as GetStackInfoSchemaParams, ra as GetDataPreviewInput, ri as EventType, rn as ConfigurationDiffSide, ro as LinkBucketBody, rr as DeleteWorkspaceObjectInput, rs as RefreshExternalBucketQuery, rt as ConfigurationVersion, s as StackInfo, sa as GetTableInput, si as GetEventPath, sn as CreateConfigurationInput, so as ShareBucketToOrganizationProjectSchemaQuery, sr as GetWorkspaceObjectsPath, st as ConfigurationVersionSchemaPath, t as ComponentType, ta as ExportAsyncPath, ti as CreateEventSchemaBody, tn as ConfigurationDiffPath, to as ForceUnlinkBucketSchemaPath, tr as WrDbRow, ts as CreateScheduledRefreshPath, tt as ConfigurationRowVersionSchemaPath, u as CreateSnapshotBody, ua as GetTablesPath, ui as GetEventsQuery, un as DeleteConfigurationInput, uo as ShareBucketToProjectsInput, ur as GetWorkspacesPath, ut as CopyConfigurationFromVersionInput, v as GlobalSearchQuery, va as PullTableAsyncInput, vi as AddTableColumnPath, vn as RebaseConfigurationPath, vo as ShareBucketToUsersSchemaQuery, vr as UnloadWorkspaceQuery, vt as RollbackConfigurationToVersionInput, w as GetTriggersQuery, wa as SaveTableMetadataSchemaBody, wi as DeleteColumnMetadataInput, wn as SearchComponentConfigurationsQuery, wo as BucketBackend, wr as WorkspaceInputMappingLoadPreviewQuery, wt as SaveConfigurationMetadataBody, x as SearchTablesQuery, xa as SaveMetadataBody, xi as CreateTablePrimaryKeyInput, xn as RebaseConfigurationToDeletedInput, xo as UnshareBucketInput, xr as WorkspaceInputMappingLoadPreviewBody, xt as ConfigurationMetadataItem, y as GlobalSearchResponse, ya as PullTableAsyncPath, yi as AddTableColumnSchemaBody, yn as RebaseConfigurationRow, yo as SharedBuckets, yr as Workspace, yt as RollbackConfigurationToVersionResult, z as MergeRequestActivityEventType, za as UpdateTableDefinitionPath, zi as CreateTableAsyncSchemaBody, zn as DeleteConfigurationRowBody, zo as GetBucketsPath, zr as UpdateDevBranchSchemaBody, zt as ComponentLogging } from "../types-CmF3pR2n.cjs";
4
4
  import { t as AdminRole } from "../adminRoles-C696kD_U.cjs";
5
5
  import { t as Backend } from "../backends-DKBz5OxE.cjs";
6
6
  export { type AddFileTagBody, type AddFileTagInput, type AddFileTagPath, type AddTableColumnBody, type AddTableColumnInput, type AddTableColumnPath, type AddTableColumnSchemaBody, type AdminRole, type Backend, type BackendType, type BaseComponentConfig, type Bucket, type BucketBackend, type BucketDetail, type BucketListingDetail, type BucketMetadata, type BucketOwner, type BucketRegistrationGuide, type BucketRegistrationGuideQuery, type BucketRegistrationGuideSchemaQuery, type BucketShared, type BucketStage, type Component, type ComponentConfig, type ComponentData, type ComponentDataTypesConfiguration, type ComponentDefinition, type ComponentLogging, type ComponentProcessorConfiguration, type ComponentStagingStorage, ComponentType, type ComponentVendor, type ConfigType, type ConfigurationDiff, type ConfigurationDiffContent, type ConfigurationDiffPath, type ConfigurationDiffRow, type ConfigurationDiffSide, type ConfigurationDiffSideContent, type ConfigurationMetadataItem, type ConfigurationPath, type ConfigurationRowVersion, type ConfigurationRowVersionDetail, type ConfigurationRowVersionDetailPath, type ConfigurationRowVersionPath, type ConfigurationRowVersionSchemaPath, type ConfigurationRowVersionsSchemaPath, type ConfigurationUseCaseType, type ConfigurationVersion, type ConfigurationVersionDetail, type ConfigurationVersionDetailPath, type ConfigurationVersionPath, type ConfigurationVersionSchemaPath, type ConfigurationVersionsSchemaPath, type CopyConfigurationFromVersionBody, type CopyConfigurationFromVersionInput, type CopyConfigurationFromVersionPath, type CopyConfigurationFromVersionResult, type CopyConfigurationFromVersionSchemaBody, type CopyConfigurationRowFromVersionInput, type CopyConfigurationRowFromVersionSchemaBody, type CreateAliasTableBody, type CreateAliasTableInput, type CreateBucketBody, type CreateBucketListingBody, type CreateBucketListingInput, type CreateBucketListingPath, type CreateBucketListingSchemaBody, type CreateBucketSchemaBody, type CreateConfigurationBody, type CreateConfigurationInput, type CreateConfigurationRowBody, type CreateConfigurationRowInput, type CreateConfigurationRowPath, type CreateConfigurationRowSchemaBody, type CreateConfigurationRowsInput, type CreateConfigurationSchemaBody, type CreateConfigurationWorkspaceBody, type CreateConfigurationWorkspaceInput, type CreateConfigurationWorkspacePath, type CreateConfigurationWorkspaceSchemaBody, type CreateDevBranchBody, type CreateDevBranchSchemaBody, type CreateEventBody, type CreateEventInput, type CreateEventPath, type CreateEventSchemaBody, type CreateMergeRequestBody, type CreateMergeRequestSchemaBody, type CreateScheduledRefreshBody, type CreateScheduledRefreshInput, type CreateScheduledRefreshPath, type CreateSnapshotBody, type CreateSnapshotInput, type CreateTableAsyncBody, type CreateTableAsyncFromFileBody, type CreateTableAsyncFromSnapshotBody, type CreateTableAsyncFromTimeTravelBody, type CreateTableAsyncFromWorkspaceBody, type CreateTableAsyncInput, type CreateTableAsyncPath, type CreateTableAsyncSchemaBody, type CreateTableDefinitionBody, type CreateTableDefinitionInput, type CreateTableDefinitionPath, type CreateTableDefinitionSchemaBody, type CreateTablePrimaryKeyBody, type CreateTablePrimaryKeyInput, type CreateTablePrimaryKeyPath, type CreateTablePrimaryKeySchemaBody, type CreateTokenBody, type CreateTokenResponse, type CreateTokenSchemaBody, type CreateTriggerBody, type CreatedEvent, type CreatorToken, type DeleteBucketAsyncInput, type DeleteBucketMetadataInput, type DeleteColumnMetadataInput, type DeleteConfigurationInput, type DeleteConfigurationMetadataPath, type DeleteConfigurationRowBody, type DeleteConfigurationRowInput, type DeleteConfigurationRowPath, type DeleteConfigurationRowSchemaBody, type DeleteConfigurationRowsInput, type DeleteDevBranchMetadataPath, type DeleteDevBranchMetadataSchemaPath, type DeleteFilePath, type DeleteFileTagPath, type DeleteTableColumnInput, type DeleteTableColumnPath, type DeleteTableColumnQuery, type DeleteTableInput, type DeleteTableMetadataInput, type DeleteTableMetadataPath, type DeleteTablePath, type DeleteTableRows, type DeleteTableRowsInput, type DeleteTableRowsPath, type DeleteTableRowsSchemaQuery, type DeleteTableSchemaQuery, type DeleteTablesInput, type DeleteWorkspaceObjectBody, type DeleteWorkspaceObjectInput, type DeleteWorkspaceObjectPath, type DeleteWorkspacePath, type DeleteWorkspacesInput, type DevBranch, type DevBranchPath, type EventType, type ExportAsyncInput, type ExportAsyncPath, type File, type FilterOperator, type ForceUnlinkBucketInput, type ForceUnlinkBucketSchemaPath, type ForceUnlinkBucketSchemaQuery, type GetBucketEventsInput, type GetBucketEventsPath, type GetBucketEventsQuery, type GetBucketInput, type GetBucketOwnerInput, type GetBucketPath, type GetBucketQuery, type GetBucketsInput, type GetBucketsPath, type GetBucketsQuery, type GetBucketsSchemaQuery, type GetComponentPath, type GetComponentSchemaPath, type GetComponentsInput, type GetComponentsPath, type GetComponentsQuery, type GetComponentsSchemaPath, type GetComponentsSchemaQuery, type GetConfigurationMetadataPath, type GetConfigurationRowInput, type GetConfigurationRowPath, type GetConfigurationWorkspacesPath, type GetConfigurationsPath, type GetDataPreviewInput, type GetDataPreviewPath, type GetDataPreviewQuery, type GetDataPreviewSchemaQuery, type GetEventPath, type GetEventsInput, type GetEventsPath, type GetEventsQuery, type GetFileContentPath, type GetFilePath, type GetFilesQuery, type GetFilesSchemaParams, type GetJobPath, type GetJobsQuery, type GetJobsSchemaQuery, type GetSearchComponentConfigurationsPath, type GetSnapshotsQuery, GetStackInfoQuery, GetStackInfoSchemaParams, type GetTableEventsInput, type GetTableEventsPath, type GetTableEventsQuery, type GetTableInput, type GetTablePath, type GetTableSnapshotsInput, type GetTablesInput, type GetTablesPath, type GetTablesQuery, type GetTablesSchemaQuery, type GetTokenEventsInput, type GetTriggersQuery, type GetWorkspaceObjectsPath, type GetWorkspacePath, type GetWorkspaceSaml2LoginPath, type GetWorkspacesPath, type GlobalSearchFilterType, type GlobalSearchItem, type GlobalSearchItemType, type GlobalSearchQuery, type GlobalSearchResponse, type GlobalSearchSchemaQuery, type ImportAsyncInput, type ImportAsyncPath, type Job, type JobOperation, type JobUnion, type LinkBucketBody, type LinkBucketSchemaBody, type LoginType, type MergeRequest, type MergeRequestActivityEventType, type MergeRequestActivityLogEntry, type MergeRequestChangeLog, type MergeRequestChangeLogEntry, type MergeRequestConflict, type MergeRequestDetail, type MergeRequestDetailWithActivityLog, type MergeRequestReviewer, type MergeRequestReviewerStatus, type Metadata, PartialKey, type PrepareFileBody, type PrepareFileSchemaBody, type PrevieData, type PreviewData, type ProjectBucketListing, type ProjectId, type PullTableAsyncInput, type PullTableAsyncPath, type PullTableAsyncSchemaPath, type PurgeConfigurationInput, type PurgeConfigurationsInput, type RebaseConfigurationBody, type RebaseConfigurationDiff, type RebaseConfigurationInput, type RebaseConfigurationPath, type RebaseConfigurationRow, type RebaseConfigurationSchemaBody, type RebaseConfigurationToDeletedInput, type RefreshExternalBucketInput, type RefreshExternalBucketQuery, type RegisterBucketBody, type RegisteredBucketQuery, type RemoveTablePrimaryKeyInput, type ResetWorkspacePassword, type ResetWorkspacePasswordPath, type RollbackConfigurationRowToVersionInput, type RollbackConfigurationRowToVersionSchemaBody, type RollbackConfigurationToVersionInput, type RollbackConfigurationToVersionResult, type RollbackConfigurationToVersionSchemaBody, type Row, type RunIdStats, type RunIdTableStat, type SaveBucketMetadataBody, type SaveBucketMetadataInput, type SaveBucketMetadataPath, type SaveColumnMetadataInput, type SaveConfigurationMetadataBody, type SaveConfigurationMetadataInput, type SaveConfigurationMetadataPath, type SaveDevBranchMetadataInput, type SaveDevBranchMetadataPath, type SaveMetadataBody, type SaveTableMetadataInput, type SaveTableMetadataPath, type SaveTableMetadataSchemaBody, type ScheduledTask, type SearchComponentConfiguration, type SearchComponentConfigurationsInput, type SearchComponentConfigurationsQuery, type SearchComponentConfigurationsSchemaQuery, type SearchTablesQuery, type SearchTablesSchemaQuery, Service, type ServiceId, type SetAliasTableFilterBody, type SetAliasTableFilterInput, type SetAliasTableFilterPath, type SetAliasTableFilterSchemaBody, type SetWorkspacePublicInput, type SetWorkspacePublicKeyBody, type SetWorkspacePublicKeyPath, type ShareBucketToOrganizationInput, type ShareBucketToOrganizationProjectInput, type ShareBucketToOrganizationProjectSchemaQuery, type ShareBucketToOrganizationSchemaQuery, type ShareBucketToProjectsBody, type ShareBucketToProjectsInput, type ShareBucketToProjectsPath, type ShareBucketToProjectsSchemaBody, type ShareBucketToProjectsSchemaQuery, type ShareBucketToUsersBody, type ShareBucketToUsersInput, type ShareBucketToUsersPath, type ShareBucketToUsersSchemaBody, type ShareBucketToUsersSchemaQuery, type ShareTokenBody, type ShareTokenInput, type ShareTokenSchemaBody, type SharedBuckets, type SharedBucketsQuery, type Snapshot, StackComponent, StackInfo, type StorageEvent, type StorageEventRaw, type StorageJobStatus, type StorageToken, type StorageTokenRaw, type Subscriber, type Table, type TableDetail, type TableExportAsyncBody, type TableExportAsyncSchemaBody, type TableImportAsyncBody, type TableImportAsyncSchemaBody, type TableMetadataResponse, type TokenListItem, type Trigger, type UnloadWorkspaceInput, type UnloadWorkspacePath, type UnloadWorkspaceQuery, type UnshareBucketInput, type UnshareBucketSchemaQuery, type UpdateBucketBody, type UpdateBucketInput, type UpdateBucketListingBody, type UpdateBucketListingInput, type UpdateBucketListingPath, type UpdateBucketListingSchemaBody, type UpdateBucketOwnerBody, type UpdateBucketOwnerInput, type UpdateBucketOwnerSchemaBody, type UpdateConfigurationBody, type UpdateConfigurationInput, type UpdateConfigurationResult, type UpdateConfigurationRowBody, type UpdateConfigurationRowInput, type UpdateConfigurationRowPath, type UpdateConfigurationRowSchemaBody, type UpdateConfigurationRowStateBody, type UpdateConfigurationRowStateInput, type UpdateConfigurationRowStatePath, type UpdateConfigurationRowStateSchemaBody, type UpdateConfigurationSchemaBody, type UpdateConfigurationSchemaQuery, type UpdateConfigurationStateBody, type UpdateConfigurationStateInput, type UpdateConfigurationStateSchemaBody, type UpdateDevBranchInput, type UpdateDevBranchSchemaBody, type UpdateMergeRequestBody, type UpdateMergeRequestInput, type UpdateMergeRequestSchemaBody, type UpdateTableBody, type UpdateTableDefinitionBody, type UpdateTableDefinitionInput, type UpdateTableDefinitionPath, type UpdateTableDefinitionSchemaBody, type UpdateTableInput, type UpdateTokenBody, type UpdateTokenInput, type UpdateTokenSchemaBody, type UpdateTriggerBody, type UpdateTriggerInput, type UpdateTriggerRequest, type WhereFilters, type Workspace, type WorkspaceConnection, type WorkspaceInputMappingLoadPreviewBody, type WorkspaceInputMappingLoadPreviewInput, type WorkspaceInputMappingLoadPreviewPath, type WorkspaceInputMappingLoadPreviewQuery, type WorkspaceInputMappingLoadPreviewResponse, type WorkspaceLoginType, type WorkspaceObject, type WorkspaceRaw, type WorkspaceSaml2Login, type WrDbRow };
@@ -1,6 +1,6 @@
1
- import { t as ServiceId } from "../serviceIds-DRcoTnSd.js";
2
- import { a as ProjectId, c as ShareTokenSchemaBody, d as TokenListItem, f as UpdateTokenBody, i as GetTokenEventsInput, l as StorageToken, m as UpdateTokenSchemaBody, n as CreateTokenResponse, o as ShareTokenBody, p as UpdateTokenInput, r as CreateTokenSchemaBody, s as ShareTokenInput, t as CreateTokenBody, u as StorageTokenRaw } from "../types-DBOSvWtD.js";
3
- import { $ as ConfigurationRowVersionDetailPath, $a as UpdateBucketListingSchemaBody, $i as DeleteTablesInput, $n as UpdateConfigurationRowStatePath, $o as CreateScheduledRefreshBody, $r as CreateEventInput, $t as ConfigurationDiff, A as GetJobsQuery, Aa as TableDetail, Ai as CreateAliasTableBody, An as UpdateConfigurationSchemaQuery, Ao as CreateBucketBody, Ar as CreateDevBranchBody, At as CreateConfigurationWorkspaceInput, B as MergeRequestActivityLogEntry, Ba as UpdateTableDefinitionSchemaBody, Bi as CreateTableDefinitionBody, Bn as DeleteConfigurationRowInput, Bo as GetBucketsQuery, Br as AddFileTagBody, Bt as ComponentProcessorConfiguration, C as CreateTriggerBody, Ca as SaveTableMetadataPath, Ci as CreateTablePrimaryKeySchemaBody, Cn as SearchComponentConfigurationsInput, Co as Bucket, Cr as WorkspaceInputMappingLoadPreviewPath, Ct as GetConfigurationMetadataPath, D as UpdateTriggerInput, Da as SetAliasTableFilterPath, Di as DeleteTableColumnQuery, Dn as UpdateConfigurationInput, Do as BucketOwner, Dr as WorkspaceObject, Dt as BackendType, E as UpdateTriggerBody, Ea as SetAliasTableFilterInput, Ei as DeleteTableColumnPath, En as UpdateConfigurationBody, Eo as BucketMetadata, Er as WorkspaceLoginType, Et as SaveConfigurationMetadataPath, F as StorageJobStatus, Fa as TableMetadataResponse, Fi as CreateTableAsyncFromTimeTravelBody, Fn as CreateConfigurationRowInput, Fo as GetBucketOwnerInput, Fr as DevBranchPath, Ft as Component, G as MergeRequestDetailWithActivityLog, Ga as CreateBucketListingInput, Gi as DeleteTableMetadataInput, Gn as GetConfigurationRowPath, Go as UpdateBucketBody, Gr as File, Gt as GetComponentsInput, H as MergeRequestChangeLogEntry, Ha as WhereFilters, Hi as CreateTableDefinitionPath, Hn as DeleteConfigurationRowSchemaBody, Ho as SaveBucketMetadataBody, Hr as AddFileTagPath, Ht as ComponentVendor, I as CreateMergeRequestBody, Ia as UpdateTableBody, Ii as CreateTableAsyncFromWorkspaceBody, In as CreateConfigurationRowPath, Io as GetBucketPath, Ir as SaveDevBranchMetadataInput, It as ComponentData, J as UpdateMergeRequestBody, Ja as ProjectBucketListing, Ji as DeleteTableRows, Jn as UpdateConfigurationRowInput, Jo as UpdateBucketOwnerInput, Jr as GetFilesQuery, Jt as GetComponentsSchemaPath, K as MergeRequestReviewer, Ka as CreateBucketListingPath, Ki as DeleteTableMetadataPath, Kn as Row, Ko as UpdateBucketInput, Kr as GetFileContentPath, Kt as GetComponentsPath, L as CreateMergeRequestSchemaBody, La as UpdateTableDefinitionBody, Li as CreateTableAsyncInput, Ln as CreateConfigurationRowSchemaBody, Lo as GetBucketQuery, Lr as SaveDevBranchMetadataPath, Lt as ComponentDataTypesConfiguration, M as Job, Ma as TableExportAsyncSchemaBody, Mi as CreateTableAsyncBody, Mn as UpdateConfigurationStateInput, Mo as DeleteBucketAsyncInput, Mr as DeleteDevBranchMetadataPath, Mt as CreateConfigurationWorkspaceSchemaBody, N as JobOperation, Na as TableImportAsyncBody, Ni as CreateTableAsyncFromFileBody, Nn as UpdateConfigurationStateSchemaBody, No as DeleteBucketMetadataInput, Nr as DeleteDevBranchMetadataSchemaPath, Nt as GetConfigurationWorkspacesPath, O as UpdateTriggerRequest, Oa as SetAliasTableFilterSchemaBody, Oi as RemoveTablePrimaryKeyInput, On as UpdateConfigurationResult, Oo as BucketShared, Or as WorkspaceRaw, Ot as ConfigurationUseCaseType, P as JobUnion, Pa as TableImportAsyncSchemaBody, Pi as CreateTableAsyncFromSnapshotBody, Pn as CreateConfigurationRowBody, Po as GetBucketInput, Pr as DevBranch, Pt as LoginType, Q as ConfigurationRowVersionDetail, Qa as UpdateBucketListingPath, Qi as DeleteTableSchemaQuery, Qn as UpdateConfigurationRowStateInput, Qo as BucketRegistrationGuideSchemaQuery, Qr as CreateEventBody, Qt as ConfigType, R as MergeRequest, Ra as UpdateTableDefinitionInput, Ri as CreateTableAsyncPath, Rn as CreateConfigurationRowsInput, Ro as GetBucketsInput, Rr as UpdateDevBranchInput, Rt as ComponentDefinition, S as SearchTablesSchemaQuery, Sa as SaveTableMetadataInput, Si as CreateTablePrimaryKeyPath, Sn as SearchComponentConfiguration, So as UnshareBucketSchemaQuery, Sr as WorkspaceInputMappingLoadPreviewInput, St as DeleteConfigurationMetadataPath, T as Trigger, Ta as SetAliasTableFilterBody, Ti as DeleteTableColumnInput, Tn as SearchComponentConfigurationsSchemaQuery, To as BucketDetail, Tr as WorkspaceInputMappingLoadPreviewResponse, Tt as SaveConfigurationMetadataInput, U as MergeRequestConflict, Ua as BucketListingDetail, Ui as CreateTableDefinitionSchemaBody, Un as DeleteConfigurationRowsInput, Uo as SaveBucketMetadataInput, Ur as DeleteFilePath, Ut as GetComponentPath, V as MergeRequestChangeLog, Va as UpdateTableInput, Vi as CreateTableDefinitionInput, Vn as DeleteConfigurationRowPath, Vo as GetBucketsSchemaQuery, Vr as AddFileTagInput, Vt as ComponentStagingStorage, W as MergeRequestDetail, Wa as CreateBucketListingBody, Wi as DeleteTableInput, Wn as GetConfigurationRowInput, Wo as SaveBucketMetadataPath, Wr as DeleteFileTagPath, Wt as GetComponentSchemaPath, X as UpdateMergeRequestSchemaBody, Xa as UpdateBucketListingBody, Xi as DeleteTableRowsPath, Xn as UpdateConfigurationRowSchemaBody, Xo as BucketRegistrationGuide, Xr as PrepareFileBody, Xt as BaseComponentConfig, Y as UpdateMergeRequestInput, Ya as Subscriber, Yi as DeleteTableRowsInput, Yn as UpdateConfigurationRowPath, Yo as UpdateBucketOwnerSchemaBody, Yr as GetFilesSchemaParams, Yt as GetComponentsSchemaQuery, Z as ConfigurationRowVersion, Za as UpdateBucketListingInput, Zi as DeleteTableRowsSchemaQuery, Zn as UpdateConfigurationRowStateBody, Zo as BucketRegistrationGuideQuery, Zr as PrepareFileSchemaBody, Zt as ComponentConfig, _ as GlobalSearchItemType, _a as PreviewData, _i as AddTableColumnInput, _n as RebaseConfigurationInput, _o as ShareBucketToUsersSchemaBody, _r as UnloadWorkspacePath, _t as RollbackConfigurationRowToVersionSchemaBody, a as Service, aa as GetDataPreviewQuery, ai as GetBucketEventsPath, an as ConfigurationPath, ao as ShareBucketToOrganizationInput, ar as DeleteWorkspacePath, as as RegisteredBucketQuery, at as ConfigurationVersionDetailPath, b as GlobalSearchSchemaQuery, ba as PullTableAsyncSchemaPath, bi as CreateTablePrimaryKeyBody, bn as RebaseConfigurationSchemaBody, bo as SharedBucketsQuery, br as WorkspaceConnection, bt as RollbackConfigurationToVersionSchemaBody, c as RunIdStats, ca as GetTablePath, ci as GetEventsInput, cn as CreateConfigurationSchemaBody, co as ShareBucketToOrganizationSchemaQuery, cr as GetWorkspacePath, ct as ConfigurationVersionsSchemaPath, d as CreateSnapshotInput, da as GetTablesQuery, di as GetTableEventsInput, dn as GetConfigurationsPath, do as ShareBucketToProjectsPath, dr as ResetWorkspacePassword, dt as CopyConfigurationFromVersionPath, ea as ExportAsyncInput, ei as CreateEventPath, en as ConfigurationDiffContent, eo as ForceUnlinkBucketInput, er as UpdateConfigurationRowStateSchemaBody, es as CreateScheduledRefreshInput, et as ConfigurationRowVersionPath, f as GetSnapshotsQuery, fa as GetTablesSchemaQuery, fi as GetTableEventsPath, fn as GetSearchComponentConfigurationsPath, fo as ShareBucketToProjectsSchemaBody, fr as ResetWorkspacePasswordPath, ft as CopyConfigurationFromVersionResult, g as GlobalSearchItem, ga as PrevieData, gi as AddTableColumnBody, gn as RebaseConfigurationDiff, go as ShareBucketToUsersPath, gr as UnloadWorkspaceInput, gt as RollbackConfigurationRowToVersionInput, h as GlobalSearchFilterType, ha as Metadata, hi as StorageEventRaw, hn as RebaseConfigurationBody, ho as ShareBucketToUsersInput, hr as SetWorkspacePublicKeyPath, ht as CopyConfigurationRowFromVersionSchemaBody, i as PartialKey, ia as GetDataPreviewPath, ii as GetBucketEventsInput, in as ConfigurationDiffSideContent, io as LinkBucketSchemaBody, ir as DeleteWorkspaceObjectPath, is as RegisterBucketBody, it as ConfigurationVersionDetail, j as GetJobsSchemaQuery, ja as TableExportAsyncBody, ji as CreateAliasTableInput, jn as UpdateConfigurationStateBody, jo as CreateBucketSchemaBody, jr as CreateDevBranchSchemaBody, jt as CreateConfigurationWorkspacePath, k as GetJobPath, ka as Table, ki as SaveColumnMetadataInput, kn as UpdateConfigurationSchemaBody, ko as BucketStage, kr as WorkspaceSaml2Login, kt as CreateConfigurationWorkspaceBody, l as RunIdTableStat, la as GetTablesInput, li as GetEventsPath, ln as CreatorToken, lo as ShareBucketToProjectsBody, lr as GetWorkspaceSaml2LoginPath, lt as CopyConfigurationFromVersionBody, m as Snapshot, ma as ImportAsyncPath, mi as StorageEvent, mn as PurgeConfigurationsInput, mo as ShareBucketToUsersBody, mr as SetWorkspacePublicKeyBody, mt as CopyConfigurationRowFromVersionInput, n as GetStackInfoQuery, na as FilterOperator, ni as CreatedEvent, nn as ConfigurationDiffRow, no as ForceUnlinkBucketSchemaQuery, nr as DeleteWorkspaceObjectBody, ns as RefreshExternalBucketInput, nt as ConfigurationRowVersionsSchemaPath, o as StackComponent, oa as GetDataPreviewSchemaQuery, oi as GetBucketEventsQuery, on as CreateConfigurationBody, oo as ShareBucketToOrganizationProjectInput, or as DeleteWorkspacesInput, os as ScheduledTask, ot as ConfigurationVersionPath, p as GetTableSnapshotsInput, pa as ImportAsyncInput, pi as GetTableEventsQuery, pn as PurgeConfigurationInput, po as ShareBucketToProjectsSchemaQuery, pr as SetWorkspacePublicInput, pt as CopyConfigurationFromVersionSchemaBody, q as MergeRequestReviewerStatus, qa as CreateBucketListingSchemaBody, qi as DeleteTablePath, qn as UpdateConfigurationRowBody, qo as UpdateBucketOwnerBody, qr as GetFilePath, qt as GetComponentsQuery, r as GetStackInfoSchemaParams, ra as GetDataPreviewInput, ri as EventType, rn as ConfigurationDiffSide, ro as LinkBucketBody, rr as DeleteWorkspaceObjectInput, rs as RefreshExternalBucketQuery, rt as ConfigurationVersion, s as StackInfo, sa as GetTableInput, si as GetEventPath, sn as CreateConfigurationInput, so as ShareBucketToOrganizationProjectSchemaQuery, sr as GetWorkspaceObjectsPath, st as ConfigurationVersionSchemaPath, t as ComponentType, ta as ExportAsyncPath, ti as CreateEventSchemaBody, tn as ConfigurationDiffPath, to as ForceUnlinkBucketSchemaPath, tr as WrDbRow, ts as CreateScheduledRefreshPath, tt as ConfigurationRowVersionSchemaPath, u as CreateSnapshotBody, ua as GetTablesPath, ui as GetEventsQuery, un as DeleteConfigurationInput, uo as ShareBucketToProjectsInput, ur as GetWorkspacesPath, ut as CopyConfigurationFromVersionInput, v as GlobalSearchQuery, va as PullTableAsyncInput, vi as AddTableColumnPath, vn as RebaseConfigurationPath, vo as ShareBucketToUsersSchemaQuery, vr as UnloadWorkspaceQuery, vt as RollbackConfigurationToVersionInput, w as GetTriggersQuery, wa as SaveTableMetadataSchemaBody, wi as DeleteColumnMetadataInput, wn as SearchComponentConfigurationsQuery, wo as BucketBackend, wr as WorkspaceInputMappingLoadPreviewQuery, wt as SaveConfigurationMetadataBody, x as SearchTablesQuery, xa as SaveMetadataBody, xi as CreateTablePrimaryKeyInput, xn as RebaseConfigurationToDeletedInput, xo as UnshareBucketInput, xr as WorkspaceInputMappingLoadPreviewBody, xt as ConfigurationMetadataItem, y as GlobalSearchResponse, ya as PullTableAsyncPath, yi as AddTableColumnSchemaBody, yn as RebaseConfigurationRow, yo as SharedBuckets, yr as Workspace, yt as RollbackConfigurationToVersionResult, z as MergeRequestActivityEventType, za as UpdateTableDefinitionPath, zi as CreateTableAsyncSchemaBody, zn as DeleteConfigurationRowBody, zo as GetBucketsPath, zr as UpdateDevBranchSchemaBody, zt as ComponentLogging } from "../types-DEc55spK.js";
1
+ import { t as ServiceId } from "../serviceIds-DC-H6ZD9.js";
2
+ import { a as ProjectId, c as ShareTokenSchemaBody, d as TokenListItem, f as UpdateTokenBody, i as GetTokenEventsInput, l as StorageToken, m as UpdateTokenSchemaBody, n as CreateTokenResponse, o as ShareTokenBody, p as UpdateTokenInput, r as CreateTokenSchemaBody, s as ShareTokenInput, t as CreateTokenBody, u as StorageTokenRaw } from "../types-gi4Eay19.js";
3
+ import { $ as ConfigurationRowVersionDetailPath, $a as UpdateBucketListingSchemaBody, $i as DeleteTablesInput, $n as UpdateConfigurationRowStatePath, $o as CreateScheduledRefreshBody, $r as CreateEventInput, $t as ConfigurationDiff, A as GetJobsQuery, Aa as TableDetail, Ai as CreateAliasTableBody, An as UpdateConfigurationSchemaQuery, Ao as CreateBucketBody, Ar as CreateDevBranchBody, At as CreateConfigurationWorkspaceInput, B as MergeRequestActivityLogEntry, Ba as UpdateTableDefinitionSchemaBody, Bi as CreateTableDefinitionBody, Bn as DeleteConfigurationRowInput, Bo as GetBucketsQuery, Br as AddFileTagBody, Bt as ComponentProcessorConfiguration, C as CreateTriggerBody, Ca as SaveTableMetadataPath, Ci as CreateTablePrimaryKeySchemaBody, Cn as SearchComponentConfigurationsInput, Co as Bucket, Cr as WorkspaceInputMappingLoadPreviewPath, Ct as GetConfigurationMetadataPath, D as UpdateTriggerInput, Da as SetAliasTableFilterPath, Di as DeleteTableColumnQuery, Dn as UpdateConfigurationInput, Do as BucketOwner, Dr as WorkspaceObject, Dt as BackendType, E as UpdateTriggerBody, Ea as SetAliasTableFilterInput, Ei as DeleteTableColumnPath, En as UpdateConfigurationBody, Eo as BucketMetadata, Er as WorkspaceLoginType, Et as SaveConfigurationMetadataPath, F as StorageJobStatus, Fa as TableMetadataResponse, Fi as CreateTableAsyncFromTimeTravelBody, Fn as CreateConfigurationRowInput, Fo as GetBucketOwnerInput, Fr as DevBranchPath, Ft as Component, G as MergeRequestDetailWithActivityLog, Ga as CreateBucketListingInput, Gi as DeleteTableMetadataInput, Gn as GetConfigurationRowPath, Go as UpdateBucketBody, Gr as File, Gt as GetComponentsInput, H as MergeRequestChangeLogEntry, Ha as WhereFilters, Hi as CreateTableDefinitionPath, Hn as DeleteConfigurationRowSchemaBody, Ho as SaveBucketMetadataBody, Hr as AddFileTagPath, Ht as ComponentVendor, I as CreateMergeRequestBody, Ia as UpdateTableBody, Ii as CreateTableAsyncFromWorkspaceBody, In as CreateConfigurationRowPath, Io as GetBucketPath, Ir as SaveDevBranchMetadataInput, It as ComponentData, J as UpdateMergeRequestBody, Ja as ProjectBucketListing, Ji as DeleteTableRows, Jn as UpdateConfigurationRowInput, Jo as UpdateBucketOwnerInput, Jr as GetFilesQuery, Jt as GetComponentsSchemaPath, K as MergeRequestReviewer, Ka as CreateBucketListingPath, Ki as DeleteTableMetadataPath, Kn as Row, Ko as UpdateBucketInput, Kr as GetFileContentPath, Kt as GetComponentsPath, L as CreateMergeRequestSchemaBody, La as UpdateTableDefinitionBody, Li as CreateTableAsyncInput, Ln as CreateConfigurationRowSchemaBody, Lo as GetBucketQuery, Lr as SaveDevBranchMetadataPath, Lt as ComponentDataTypesConfiguration, M as Job, Ma as TableExportAsyncSchemaBody, Mi as CreateTableAsyncBody, Mn as UpdateConfigurationStateInput, Mo as DeleteBucketAsyncInput, Mr as DeleteDevBranchMetadataPath, Mt as CreateConfigurationWorkspaceSchemaBody, N as JobOperation, Na as TableImportAsyncBody, Ni as CreateTableAsyncFromFileBody, Nn as UpdateConfigurationStateSchemaBody, No as DeleteBucketMetadataInput, Nr as DeleteDevBranchMetadataSchemaPath, Nt as GetConfigurationWorkspacesPath, O as UpdateTriggerRequest, Oa as SetAliasTableFilterSchemaBody, Oi as RemoveTablePrimaryKeyInput, On as UpdateConfigurationResult, Oo as BucketShared, Or as WorkspaceRaw, Ot as ConfigurationUseCaseType, P as JobUnion, Pa as TableImportAsyncSchemaBody, Pi as CreateTableAsyncFromSnapshotBody, Pn as CreateConfigurationRowBody, Po as GetBucketInput, Pr as DevBranch, Pt as LoginType, Q as ConfigurationRowVersionDetail, Qa as UpdateBucketListingPath, Qi as DeleteTableSchemaQuery, Qn as UpdateConfigurationRowStateInput, Qo as BucketRegistrationGuideSchemaQuery, Qr as CreateEventBody, Qt as ConfigType, R as MergeRequest, Ra as UpdateTableDefinitionInput, Ri as CreateTableAsyncPath, Rn as CreateConfigurationRowsInput, Ro as GetBucketsInput, Rr as UpdateDevBranchInput, Rt as ComponentDefinition, S as SearchTablesSchemaQuery, Sa as SaveTableMetadataInput, Si as CreateTablePrimaryKeyPath, Sn as SearchComponentConfiguration, So as UnshareBucketSchemaQuery, Sr as WorkspaceInputMappingLoadPreviewInput, St as DeleteConfigurationMetadataPath, T as Trigger, Ta as SetAliasTableFilterBody, Ti as DeleteTableColumnInput, Tn as SearchComponentConfigurationsSchemaQuery, To as BucketDetail, Tr as WorkspaceInputMappingLoadPreviewResponse, Tt as SaveConfigurationMetadataInput, U as MergeRequestConflict, Ua as BucketListingDetail, Ui as CreateTableDefinitionSchemaBody, Un as DeleteConfigurationRowsInput, Uo as SaveBucketMetadataInput, Ur as DeleteFilePath, Ut as GetComponentPath, V as MergeRequestChangeLog, Va as UpdateTableInput, Vi as CreateTableDefinitionInput, Vn as DeleteConfigurationRowPath, Vo as GetBucketsSchemaQuery, Vr as AddFileTagInput, Vt as ComponentStagingStorage, W as MergeRequestDetail, Wa as CreateBucketListingBody, Wi as DeleteTableInput, Wn as GetConfigurationRowInput, Wo as SaveBucketMetadataPath, Wr as DeleteFileTagPath, Wt as GetComponentSchemaPath, X as UpdateMergeRequestSchemaBody, Xa as UpdateBucketListingBody, Xi as DeleteTableRowsPath, Xn as UpdateConfigurationRowSchemaBody, Xo as BucketRegistrationGuide, Xr as PrepareFileBody, Xt as BaseComponentConfig, Y as UpdateMergeRequestInput, Ya as Subscriber, Yi as DeleteTableRowsInput, Yn as UpdateConfigurationRowPath, Yo as UpdateBucketOwnerSchemaBody, Yr as GetFilesSchemaParams, Yt as GetComponentsSchemaQuery, Z as ConfigurationRowVersion, Za as UpdateBucketListingInput, Zi as DeleteTableRowsSchemaQuery, Zn as UpdateConfigurationRowStateBody, Zo as BucketRegistrationGuideQuery, Zr as PrepareFileSchemaBody, Zt as ComponentConfig, _ as GlobalSearchItemType, _a as PreviewData, _i as AddTableColumnInput, _n as RebaseConfigurationInput, _o as ShareBucketToUsersSchemaBody, _r as UnloadWorkspacePath, _t as RollbackConfigurationRowToVersionSchemaBody, a as Service, aa as GetDataPreviewQuery, ai as GetBucketEventsPath, an as ConfigurationPath, ao as ShareBucketToOrganizationInput, ar as DeleteWorkspacePath, as as RegisteredBucketQuery, at as ConfigurationVersionDetailPath, b as GlobalSearchSchemaQuery, ba as PullTableAsyncSchemaPath, bi as CreateTablePrimaryKeyBody, bn as RebaseConfigurationSchemaBody, bo as SharedBucketsQuery, br as WorkspaceConnection, bt as RollbackConfigurationToVersionSchemaBody, c as RunIdStats, ca as GetTablePath, ci as GetEventsInput, cn as CreateConfigurationSchemaBody, co as ShareBucketToOrganizationSchemaQuery, cr as GetWorkspacePath, ct as ConfigurationVersionsSchemaPath, d as CreateSnapshotInput, da as GetTablesQuery, di as GetTableEventsInput, dn as GetConfigurationsPath, do as ShareBucketToProjectsPath, dr as ResetWorkspacePassword, dt as CopyConfigurationFromVersionPath, ea as ExportAsyncInput, ei as CreateEventPath, en as ConfigurationDiffContent, eo as ForceUnlinkBucketInput, er as UpdateConfigurationRowStateSchemaBody, es as CreateScheduledRefreshInput, et as ConfigurationRowVersionPath, f as GetSnapshotsQuery, fa as GetTablesSchemaQuery, fi as GetTableEventsPath, fn as GetSearchComponentConfigurationsPath, fo as ShareBucketToProjectsSchemaBody, fr as ResetWorkspacePasswordPath, ft as CopyConfigurationFromVersionResult, g as GlobalSearchItem, ga as PrevieData, gi as AddTableColumnBody, gn as RebaseConfigurationDiff, go as ShareBucketToUsersPath, gr as UnloadWorkspaceInput, gt as RollbackConfigurationRowToVersionInput, h as GlobalSearchFilterType, ha as Metadata, hi as StorageEventRaw, hn as RebaseConfigurationBody, ho as ShareBucketToUsersInput, hr as SetWorkspacePublicKeyPath, ht as CopyConfigurationRowFromVersionSchemaBody, i as PartialKey, ia as GetDataPreviewPath, ii as GetBucketEventsInput, in as ConfigurationDiffSideContent, io as LinkBucketSchemaBody, ir as DeleteWorkspaceObjectPath, is as RegisterBucketBody, it as ConfigurationVersionDetail, j as GetJobsSchemaQuery, ja as TableExportAsyncBody, ji as CreateAliasTableInput, jn as UpdateConfigurationStateBody, jo as CreateBucketSchemaBody, jr as CreateDevBranchSchemaBody, jt as CreateConfigurationWorkspacePath, k as GetJobPath, ka as Table, ki as SaveColumnMetadataInput, kn as UpdateConfigurationSchemaBody, ko as BucketStage, kr as WorkspaceSaml2Login, kt as CreateConfigurationWorkspaceBody, l as RunIdTableStat, la as GetTablesInput, li as GetEventsPath, ln as CreatorToken, lo as ShareBucketToProjectsBody, lr as GetWorkspaceSaml2LoginPath, lt as CopyConfigurationFromVersionBody, m as Snapshot, ma as ImportAsyncPath, mi as StorageEvent, mn as PurgeConfigurationsInput, mo as ShareBucketToUsersBody, mr as SetWorkspacePublicKeyBody, mt as CopyConfigurationRowFromVersionInput, n as GetStackInfoQuery, na as FilterOperator, ni as CreatedEvent, nn as ConfigurationDiffRow, no as ForceUnlinkBucketSchemaQuery, nr as DeleteWorkspaceObjectBody, ns as RefreshExternalBucketInput, nt as ConfigurationRowVersionsSchemaPath, o as StackComponent, oa as GetDataPreviewSchemaQuery, oi as GetBucketEventsQuery, on as CreateConfigurationBody, oo as ShareBucketToOrganizationProjectInput, or as DeleteWorkspacesInput, os as ScheduledTask, ot as ConfigurationVersionPath, p as GetTableSnapshotsInput, pa as ImportAsyncInput, pi as GetTableEventsQuery, pn as PurgeConfigurationInput, po as ShareBucketToProjectsSchemaQuery, pr as SetWorkspacePublicInput, pt as CopyConfigurationFromVersionSchemaBody, q as MergeRequestReviewerStatus, qa as CreateBucketListingSchemaBody, qi as DeleteTablePath, qn as UpdateConfigurationRowBody, qo as UpdateBucketOwnerBody, qr as GetFilePath, qt as GetComponentsQuery, r as GetStackInfoSchemaParams, ra as GetDataPreviewInput, ri as EventType, rn as ConfigurationDiffSide, ro as LinkBucketBody, rr as DeleteWorkspaceObjectInput, rs as RefreshExternalBucketQuery, rt as ConfigurationVersion, s as StackInfo, sa as GetTableInput, si as GetEventPath, sn as CreateConfigurationInput, so as ShareBucketToOrganizationProjectSchemaQuery, sr as GetWorkspaceObjectsPath, st as ConfigurationVersionSchemaPath, t as ComponentType, ta as ExportAsyncPath, ti as CreateEventSchemaBody, tn as ConfigurationDiffPath, to as ForceUnlinkBucketSchemaPath, tr as WrDbRow, ts as CreateScheduledRefreshPath, tt as ConfigurationRowVersionSchemaPath, u as CreateSnapshotBody, ua as GetTablesPath, ui as GetEventsQuery, un as DeleteConfigurationInput, uo as ShareBucketToProjectsInput, ur as GetWorkspacesPath, ut as CopyConfigurationFromVersionInput, v as GlobalSearchQuery, va as PullTableAsyncInput, vi as AddTableColumnPath, vn as RebaseConfigurationPath, vo as ShareBucketToUsersSchemaQuery, vr as UnloadWorkspaceQuery, vt as RollbackConfigurationToVersionInput, w as GetTriggersQuery, wa as SaveTableMetadataSchemaBody, wi as DeleteColumnMetadataInput, wn as SearchComponentConfigurationsQuery, wo as BucketBackend, wr as WorkspaceInputMappingLoadPreviewQuery, wt as SaveConfigurationMetadataBody, x as SearchTablesQuery, xa as SaveMetadataBody, xi as CreateTablePrimaryKeyInput, xn as RebaseConfigurationToDeletedInput, xo as UnshareBucketInput, xr as WorkspaceInputMappingLoadPreviewBody, xt as ConfigurationMetadataItem, y as GlobalSearchResponse, ya as PullTableAsyncPath, yi as AddTableColumnSchemaBody, yn as RebaseConfigurationRow, yo as SharedBuckets, yr as Workspace, yt as RollbackConfigurationToVersionResult, z as MergeRequestActivityEventType, za as UpdateTableDefinitionPath, zi as CreateTableAsyncSchemaBody, zn as DeleteConfigurationRowBody, zo as GetBucketsPath, zr as UpdateDevBranchSchemaBody, zt as ComponentLogging } from "../types-B95uNQ9o.js";
4
4
  import { t as AdminRole } from "../adminRoles-C696kD_U.js";
5
5
  import { t as Backend } from "../backends-DKBz5OxE.js";
6
6
  export { type AddFileTagBody, type AddFileTagInput, type AddFileTagPath, type AddTableColumnBody, type AddTableColumnInput, type AddTableColumnPath, type AddTableColumnSchemaBody, type AdminRole, type Backend, type BackendType, type BaseComponentConfig, type Bucket, type BucketBackend, type BucketDetail, type BucketListingDetail, type BucketMetadata, type BucketOwner, type BucketRegistrationGuide, type BucketRegistrationGuideQuery, type BucketRegistrationGuideSchemaQuery, type BucketShared, type BucketStage, type Component, type ComponentConfig, type ComponentData, type ComponentDataTypesConfiguration, type ComponentDefinition, type ComponentLogging, type ComponentProcessorConfiguration, type ComponentStagingStorage, ComponentType, type ComponentVendor, type ConfigType, type ConfigurationDiff, type ConfigurationDiffContent, type ConfigurationDiffPath, type ConfigurationDiffRow, type ConfigurationDiffSide, type ConfigurationDiffSideContent, type ConfigurationMetadataItem, type ConfigurationPath, type ConfigurationRowVersion, type ConfigurationRowVersionDetail, type ConfigurationRowVersionDetailPath, type ConfigurationRowVersionPath, type ConfigurationRowVersionSchemaPath, type ConfigurationRowVersionsSchemaPath, type ConfigurationUseCaseType, type ConfigurationVersion, type ConfigurationVersionDetail, type ConfigurationVersionDetailPath, type ConfigurationVersionPath, type ConfigurationVersionSchemaPath, type ConfigurationVersionsSchemaPath, type CopyConfigurationFromVersionBody, type CopyConfigurationFromVersionInput, type CopyConfigurationFromVersionPath, type CopyConfigurationFromVersionResult, type CopyConfigurationFromVersionSchemaBody, type CopyConfigurationRowFromVersionInput, type CopyConfigurationRowFromVersionSchemaBody, type CreateAliasTableBody, type CreateAliasTableInput, type CreateBucketBody, type CreateBucketListingBody, type CreateBucketListingInput, type CreateBucketListingPath, type CreateBucketListingSchemaBody, type CreateBucketSchemaBody, type CreateConfigurationBody, type CreateConfigurationInput, type CreateConfigurationRowBody, type CreateConfigurationRowInput, type CreateConfigurationRowPath, type CreateConfigurationRowSchemaBody, type CreateConfigurationRowsInput, type CreateConfigurationSchemaBody, type CreateConfigurationWorkspaceBody, type CreateConfigurationWorkspaceInput, type CreateConfigurationWorkspacePath, type CreateConfigurationWorkspaceSchemaBody, type CreateDevBranchBody, type CreateDevBranchSchemaBody, type CreateEventBody, type CreateEventInput, type CreateEventPath, type CreateEventSchemaBody, type CreateMergeRequestBody, type CreateMergeRequestSchemaBody, type CreateScheduledRefreshBody, type CreateScheduledRefreshInput, type CreateScheduledRefreshPath, type CreateSnapshotBody, type CreateSnapshotInput, type CreateTableAsyncBody, type CreateTableAsyncFromFileBody, type CreateTableAsyncFromSnapshotBody, type CreateTableAsyncFromTimeTravelBody, type CreateTableAsyncFromWorkspaceBody, type CreateTableAsyncInput, type CreateTableAsyncPath, type CreateTableAsyncSchemaBody, type CreateTableDefinitionBody, type CreateTableDefinitionInput, type CreateTableDefinitionPath, type CreateTableDefinitionSchemaBody, type CreateTablePrimaryKeyBody, type CreateTablePrimaryKeyInput, type CreateTablePrimaryKeyPath, type CreateTablePrimaryKeySchemaBody, type CreateTokenBody, type CreateTokenResponse, type CreateTokenSchemaBody, type CreateTriggerBody, type CreatedEvent, type CreatorToken, type DeleteBucketAsyncInput, type DeleteBucketMetadataInput, type DeleteColumnMetadataInput, type DeleteConfigurationInput, type DeleteConfigurationMetadataPath, type DeleteConfigurationRowBody, type DeleteConfigurationRowInput, type DeleteConfigurationRowPath, type DeleteConfigurationRowSchemaBody, type DeleteConfigurationRowsInput, type DeleteDevBranchMetadataPath, type DeleteDevBranchMetadataSchemaPath, type DeleteFilePath, type DeleteFileTagPath, type DeleteTableColumnInput, type DeleteTableColumnPath, type DeleteTableColumnQuery, type DeleteTableInput, type DeleteTableMetadataInput, type DeleteTableMetadataPath, type DeleteTablePath, type DeleteTableRows, type DeleteTableRowsInput, type DeleteTableRowsPath, type DeleteTableRowsSchemaQuery, type DeleteTableSchemaQuery, type DeleteTablesInput, type DeleteWorkspaceObjectBody, type DeleteWorkspaceObjectInput, type DeleteWorkspaceObjectPath, type DeleteWorkspacePath, type DeleteWorkspacesInput, type DevBranch, type DevBranchPath, type EventType, type ExportAsyncInput, type ExportAsyncPath, type File, type FilterOperator, type ForceUnlinkBucketInput, type ForceUnlinkBucketSchemaPath, type ForceUnlinkBucketSchemaQuery, type GetBucketEventsInput, type GetBucketEventsPath, type GetBucketEventsQuery, type GetBucketInput, type GetBucketOwnerInput, type GetBucketPath, type GetBucketQuery, type GetBucketsInput, type GetBucketsPath, type GetBucketsQuery, type GetBucketsSchemaQuery, type GetComponentPath, type GetComponentSchemaPath, type GetComponentsInput, type GetComponentsPath, type GetComponentsQuery, type GetComponentsSchemaPath, type GetComponentsSchemaQuery, type GetConfigurationMetadataPath, type GetConfigurationRowInput, type GetConfigurationRowPath, type GetConfigurationWorkspacesPath, type GetConfigurationsPath, type GetDataPreviewInput, type GetDataPreviewPath, type GetDataPreviewQuery, type GetDataPreviewSchemaQuery, type GetEventPath, type GetEventsInput, type GetEventsPath, type GetEventsQuery, type GetFileContentPath, type GetFilePath, type GetFilesQuery, type GetFilesSchemaParams, type GetJobPath, type GetJobsQuery, type GetJobsSchemaQuery, type GetSearchComponentConfigurationsPath, type GetSnapshotsQuery, GetStackInfoQuery, GetStackInfoSchemaParams, type GetTableEventsInput, type GetTableEventsPath, type GetTableEventsQuery, type GetTableInput, type GetTablePath, type GetTableSnapshotsInput, type GetTablesInput, type GetTablesPath, type GetTablesQuery, type GetTablesSchemaQuery, type GetTokenEventsInput, type GetTriggersQuery, type GetWorkspaceObjectsPath, type GetWorkspacePath, type GetWorkspaceSaml2LoginPath, type GetWorkspacesPath, type GlobalSearchFilterType, type GlobalSearchItem, type GlobalSearchItemType, type GlobalSearchQuery, type GlobalSearchResponse, type GlobalSearchSchemaQuery, type ImportAsyncInput, type ImportAsyncPath, type Job, type JobOperation, type JobUnion, type LinkBucketBody, type LinkBucketSchemaBody, type LoginType, type MergeRequest, type MergeRequestActivityEventType, type MergeRequestActivityLogEntry, type MergeRequestChangeLog, type MergeRequestChangeLogEntry, type MergeRequestConflict, type MergeRequestDetail, type MergeRequestDetailWithActivityLog, type MergeRequestReviewer, type MergeRequestReviewerStatus, type Metadata, PartialKey, type PrepareFileBody, type PrepareFileSchemaBody, type PrevieData, type PreviewData, type ProjectBucketListing, type ProjectId, type PullTableAsyncInput, type PullTableAsyncPath, type PullTableAsyncSchemaPath, type PurgeConfigurationInput, type PurgeConfigurationsInput, type RebaseConfigurationBody, type RebaseConfigurationDiff, type RebaseConfigurationInput, type RebaseConfigurationPath, type RebaseConfigurationRow, type RebaseConfigurationSchemaBody, type RebaseConfigurationToDeletedInput, type RefreshExternalBucketInput, type RefreshExternalBucketQuery, type RegisterBucketBody, type RegisteredBucketQuery, type RemoveTablePrimaryKeyInput, type ResetWorkspacePassword, type ResetWorkspacePasswordPath, type RollbackConfigurationRowToVersionInput, type RollbackConfigurationRowToVersionSchemaBody, type RollbackConfigurationToVersionInput, type RollbackConfigurationToVersionResult, type RollbackConfigurationToVersionSchemaBody, type Row, type RunIdStats, type RunIdTableStat, type SaveBucketMetadataBody, type SaveBucketMetadataInput, type SaveBucketMetadataPath, type SaveColumnMetadataInput, type SaveConfigurationMetadataBody, type SaveConfigurationMetadataInput, type SaveConfigurationMetadataPath, type SaveDevBranchMetadataInput, type SaveDevBranchMetadataPath, type SaveMetadataBody, type SaveTableMetadataInput, type SaveTableMetadataPath, type SaveTableMetadataSchemaBody, type ScheduledTask, type SearchComponentConfiguration, type SearchComponentConfigurationsInput, type SearchComponentConfigurationsQuery, type SearchComponentConfigurationsSchemaQuery, type SearchTablesQuery, type SearchTablesSchemaQuery, Service, type ServiceId, type SetAliasTableFilterBody, type SetAliasTableFilterInput, type SetAliasTableFilterPath, type SetAliasTableFilterSchemaBody, type SetWorkspacePublicInput, type SetWorkspacePublicKeyBody, type SetWorkspacePublicKeyPath, type ShareBucketToOrganizationInput, type ShareBucketToOrganizationProjectInput, type ShareBucketToOrganizationProjectSchemaQuery, type ShareBucketToOrganizationSchemaQuery, type ShareBucketToProjectsBody, type ShareBucketToProjectsInput, type ShareBucketToProjectsPath, type ShareBucketToProjectsSchemaBody, type ShareBucketToProjectsSchemaQuery, type ShareBucketToUsersBody, type ShareBucketToUsersInput, type ShareBucketToUsersPath, type ShareBucketToUsersSchemaBody, type ShareBucketToUsersSchemaQuery, type ShareTokenBody, type ShareTokenInput, type ShareTokenSchemaBody, type SharedBuckets, type SharedBucketsQuery, type Snapshot, StackComponent, StackInfo, type StorageEvent, type StorageEventRaw, type StorageJobStatus, type StorageToken, type StorageTokenRaw, type Subscriber, type Table, type TableDetail, type TableExportAsyncBody, type TableExportAsyncSchemaBody, type TableImportAsyncBody, type TableImportAsyncSchemaBody, type TableMetadataResponse, type TokenListItem, type Trigger, type UnloadWorkspaceInput, type UnloadWorkspacePath, type UnloadWorkspaceQuery, type UnshareBucketInput, type UnshareBucketSchemaQuery, type UpdateBucketBody, type UpdateBucketInput, type UpdateBucketListingBody, type UpdateBucketListingInput, type UpdateBucketListingPath, type UpdateBucketListingSchemaBody, type UpdateBucketOwnerBody, type UpdateBucketOwnerInput, type UpdateBucketOwnerSchemaBody, type UpdateConfigurationBody, type UpdateConfigurationInput, type UpdateConfigurationResult, type UpdateConfigurationRowBody, type UpdateConfigurationRowInput, type UpdateConfigurationRowPath, type UpdateConfigurationRowSchemaBody, type UpdateConfigurationRowStateBody, type UpdateConfigurationRowStateInput, type UpdateConfigurationRowStatePath, type UpdateConfigurationRowStateSchemaBody, type UpdateConfigurationSchemaBody, type UpdateConfigurationSchemaQuery, type UpdateConfigurationStateBody, type UpdateConfigurationStateInput, type UpdateConfigurationStateSchemaBody, type UpdateDevBranchInput, type UpdateDevBranchSchemaBody, type UpdateMergeRequestBody, type UpdateMergeRequestInput, type UpdateMergeRequestSchemaBody, type UpdateTableBody, type UpdateTableDefinitionBody, type UpdateTableDefinitionInput, type UpdateTableDefinitionPath, type UpdateTableDefinitionSchemaBody, type UpdateTableInput, type UpdateTokenBody, type UpdateTokenInput, type UpdateTokenSchemaBody, type UpdateTriggerBody, type UpdateTriggerInput, type UpdateTriggerRequest, type WhereFilters, type Workspace, type WorkspaceConnection, type WorkspaceInputMappingLoadPreviewBody, type WorkspaceInputMappingLoadPreviewInput, type WorkspaceInputMappingLoadPreviewPath, type WorkspaceInputMappingLoadPreviewQuery, type WorkspaceInputMappingLoadPreviewResponse, type WorkspaceLoginType, type WorkspaceObject, type WorkspaceRaw, type WorkspaceSaml2Login, type WrDbRow };
@@ -1,10 +1,10 @@
1
1
  const require_jobStatus = require("./jobStatus-0_Y3Sr4i.cjs");
2
2
  const require_concurrent = require("./concurrent-tbiIa0UL.cjs");
3
- const require_createFetchClient = require("./createFetchClient-DgMiqTJ8.cjs");
4
- const require_validateConnectionStatus = require("./validateConnectionStatus-CsvYmCOI.cjs");
5
- const require_createGenericFetchClient = require("./createGenericFetchClient-o3cPJeRn.cjs");
6
- const require_createOpenapiFetchClient = require("./createOpenapiFetchClient-DhUU3M1W.cjs");
7
- const require_auth = require("./auth-JQ33o3nU.cjs");
3
+ const require_createFetchClient = require("./createFetchClient-BlgPbjFj.cjs");
4
+ const require_validateConnectionStatus = require("./validateConnectionStatus-CvBKyeDO.cjs");
5
+ const require_createGenericFetchClient = require("./createGenericFetchClient-lcozzwk2.cjs");
6
+ const require_createOpenapiFetchClient = require("./createOpenapiFetchClient-C3UmDXpe.cjs");
7
+ const require_auth = require("./auth-DLWnl18b.cjs");
8
8
  //#region src/utils/async/series.ts
9
9
  /**
10
10
  * Executes a callback function on an array of items in series (one at a time).
@@ -17,6 +17,37 @@ const series = async (options) => require_concurrent.concurrent({
17
17
  concurrency: 1
18
18
  });
19
19
  //#endregion
20
+ //#region src/errors/readableReason.ts
21
+ const isRecord = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
22
+ /**
23
+ * Whether this error's `message` is a status line rather than a sentence someone wrote.
24
+ *
25
+ * `ApiError` builds its message from the response status. Its subclasses — `HtmlResponseError`,
26
+ * `ManagementClientAuthError` — overwrite it with reader-facing wording, which is the one thing
27
+ * this helper must never discard, so only the base class is treated as unreadable.
28
+ */
29
+ const carriesStatusLine = (error) => error.constructor === require_createFetchClient.ApiError;
30
+ /**
31
+ * The part of a failure worth putting in front of a reader, or `undefined` when there is none.
32
+ *
33
+ * - A plain `ApiError`'s `message` is a status line ("502 Bad Gateway") — addressed to whoever reads
34
+ * the error report, and no help to someone deciding what to do next. It is never returned; the
35
+ * service's own sentence is read from the parsed body instead.
36
+ * - Every other error's message *is* a reason, and is returned as-is: a network failure says so in
37
+ * words, and an `ApiError` subclass carries wording written for exactly this spot ("The session
38
+ * has most likely expired").
39
+ *
40
+ * `undefined` is the caller's cue to render its own wording. Branching on an empty `message`
41
+ * cannot do that job — a status line is never empty, so such a test silently stops firing and the
42
+ * reader gets the status number instead of the sentence written for them.
43
+ */
44
+ const readableReason = (error) => {
45
+ if (!(error instanceof Error)) return void 0;
46
+ if (!carriesStatusLine(error)) return error.message === "" ? void 0 : error.message;
47
+ const message = isRecord(error.data) ? error.data.message : void 0;
48
+ return typeof message === "string" && message !== "" ? message : void 0;
49
+ };
50
+ //#endregion
20
51
  //#region src/errors/ServiceUnavailableError.ts
21
52
  var ServiceUnavailableError = class ServiceUnavailableError extends Error {
22
53
  constructor(serviceId, path, clientName) {
@@ -2434,6 +2465,12 @@ Object.defineProperty(exports, "fromBackendSubscribers", {
2434
2465
  return fromBackendSubscribers;
2435
2466
  }
2436
2467
  });
2468
+ Object.defineProperty(exports, "readableReason", {
2469
+ enumerable: true,
2470
+ get: function() {
2471
+ return readableReason;
2472
+ }
2473
+ });
2437
2474
  Object.defineProperty(exports, "series", {
2438
2475
  enumerable: true,
2439
2476
  get: function() {
@@ -2447,4 +2484,4 @@ Object.defineProperty(exports, "toBackendSubscribers", {
2447
2484
  }
2448
2485
  });
2449
2486
 
2450
- //# sourceMappingURL=storage-BKm7cztt.cjs.map
2487
+ //# sourceMappingURL=storage-HFUdEy7P.cjs.map