@keboola/api-client 12.0.0 → 15.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 (191) hide show
  1. package/API-SURFACE.md +28 -1
  2. package/dist/ai/index.cjs +3 -3
  3. package/dist/ai/index.js +2 -2
  4. package/dist/assets/index.cjs +3 -3
  5. package/dist/assets/index.js +2 -2
  6. package/dist/auth/index.cjs +41 -0
  7. package/dist/auth/index.cjs.map +1 -0
  8. package/dist/auth/index.d.cts +198 -0
  9. package/dist/auth/index.d.ts +198 -0
  10. package/dist/auth/index.js +4 -0
  11. package/dist/auth/index.js.map +1 -0
  12. package/dist/auth/types.cjs +4 -0
  13. package/dist/auth/types.cjs.map +1 -0
  14. package/dist/auth/types.d.cts +11 -0
  15. package/dist/auth/types.d.ts +11 -0
  16. package/dist/auth/types.js +3 -0
  17. package/dist/auth/types.js.map +1 -0
  18. package/dist/chat/index.cjs +3 -3
  19. package/dist/chat/index.d.cts +6 -1
  20. package/dist/chat/index.d.ts +6 -1
  21. package/dist/chat/index.js +2 -2
  22. package/dist/chat/types.d.cts +1 -1
  23. package/dist/chat/types.d.ts +1 -1
  24. package/dist/chunk-35HRT5BW.js +213 -0
  25. package/dist/chunk-35HRT5BW.js.map +1 -0
  26. package/dist/{chunk-U3W6XYQQ.cjs → chunk-3KZ2PZXV.cjs} +5 -5
  27. package/dist/{chunk-U3W6XYQQ.cjs.map → chunk-3KZ2PZXV.cjs.map} +1 -1
  28. package/dist/{chunk-SDN6SU7K.cjs → chunk-3L7OOFA6.cjs} +4 -4
  29. package/dist/{chunk-SDN6SU7K.cjs.map → chunk-3L7OOFA6.cjs.map} +1 -1
  30. package/dist/{chunk-LUHYZXJH.js → chunk-3Z2C6TYS.js} +3 -3
  31. package/dist/{chunk-LUHYZXJH.js.map → chunk-3Z2C6TYS.js.map} +1 -1
  32. package/dist/{chunk-FBGUBMJ7.js → chunk-6VILIOTV.js} +5 -3
  33. package/dist/chunk-6VILIOTV.js.map +1 -0
  34. package/dist/{chunk-GUJ5RTYJ.js → chunk-73TMXRTL.js} +3 -3
  35. package/dist/{chunk-GUJ5RTYJ.js.map → chunk-73TMXRTL.js.map} +1 -1
  36. package/dist/{chunk-I7BLN5NZ.js → chunk-7D6MDAD7.js} +3 -3
  37. package/dist/{chunk-I7BLN5NZ.js.map → chunk-7D6MDAD7.js.map} +1 -1
  38. package/dist/{chunk-PHQ66FNI.cjs → chunk-7EKSFTKQ.cjs} +5 -5
  39. package/dist/{chunk-PHQ66FNI.cjs.map → chunk-7EKSFTKQ.cjs.map} +1 -1
  40. package/dist/{chunk-IVIWWOM4.cjs → chunk-AJA4JSUB.cjs} +5 -5
  41. package/dist/{chunk-IVIWWOM4.cjs.map → chunk-AJA4JSUB.cjs.map} +1 -1
  42. package/dist/{chunk-OWGJ3PVA.cjs → chunk-ALHWNI4P.cjs} +5 -3
  43. package/dist/chunk-ALHWNI4P.cjs.map +1 -0
  44. package/dist/{chunk-AHYMMDIC.cjs → chunk-ALQYICBZ.cjs} +9 -9
  45. package/dist/{chunk-AHYMMDIC.cjs.map → chunk-ALQYICBZ.cjs.map} +1 -1
  46. package/dist/{chunk-KZLC2XSZ.cjs → chunk-AQURCB4K.cjs} +5 -5
  47. package/dist/{chunk-KZLC2XSZ.cjs.map → chunk-AQURCB4K.cjs.map} +1 -1
  48. package/dist/{chunk-W2VWZGA3.js → chunk-B2COLV6T.js} +3 -3
  49. package/dist/{chunk-W2VWZGA3.js.map → chunk-B2COLV6T.js.map} +1 -1
  50. package/dist/{chunk-SUA3D6YF.js → chunk-BZ7SEQVM.js} +3 -3
  51. package/dist/{chunk-SUA3D6YF.js.map → chunk-BZ7SEQVM.js.map} +1 -1
  52. package/dist/{chunk-GOWOD3O4.js → chunk-CITS6SLX.js} +3 -3
  53. package/dist/{chunk-GOWOD3O4.js.map → chunk-CITS6SLX.js.map} +1 -1
  54. package/dist/{chunk-IA7WBVH3.js → chunk-CWYVLIOU.js} +3 -3
  55. package/dist/{chunk-IA7WBVH3.js.map → chunk-CWYVLIOU.js.map} +1 -1
  56. package/dist/{chunk-ATVNCGTO.js → chunk-ENDD2X6P.js} +3 -3
  57. package/dist/{chunk-ATVNCGTO.js.map → chunk-ENDD2X6P.js.map} +1 -1
  58. package/dist/{chunk-RHZK7AL7.js → chunk-F2X4KSSM.js} +3 -3
  59. package/dist/{chunk-RHZK7AL7.js.map → chunk-F2X4KSSM.js.map} +1 -1
  60. package/dist/chunk-FHFURAAG.cjs +242 -0
  61. package/dist/chunk-FHFURAAG.cjs.map +1 -0
  62. package/dist/{chunk-IQOXQMON.cjs → chunk-FW35SRXA.cjs} +4 -4
  63. package/dist/{chunk-IQOXQMON.cjs.map → chunk-FW35SRXA.cjs.map} +1 -1
  64. package/dist/{chunk-SBWZKVAG.cjs → chunk-FYIAKMUH.cjs} +5 -5
  65. package/dist/{chunk-SBWZKVAG.cjs.map → chunk-FYIAKMUH.cjs.map} +1 -1
  66. package/dist/{chunk-APILLKET.js → chunk-HTDR76X5.js} +3 -3
  67. package/dist/{chunk-APILLKET.js.map → chunk-HTDR76X5.js.map} +1 -1
  68. package/dist/{chunk-XBCR6YKE.cjs → chunk-JJMROO3W.cjs} +8 -8
  69. package/dist/{chunk-XBCR6YKE.cjs.map → chunk-JJMROO3W.cjs.map} +1 -1
  70. package/dist/{chunk-J5WWYWPL.js → chunk-JOCACBVT.js} +3 -3
  71. package/dist/{chunk-J5WWYWPL.js.map → chunk-JOCACBVT.js.map} +1 -1
  72. package/dist/{chunk-XP5FQTAA.cjs → chunk-LICWQUWY.cjs} +6 -6
  73. package/dist/{chunk-XP5FQTAA.cjs.map → chunk-LICWQUWY.cjs.map} +1 -1
  74. package/dist/{chunk-XZAUQZIO.js → chunk-LO6SBV3D.js} +3 -3
  75. package/dist/{chunk-XZAUQZIO.js.map → chunk-LO6SBV3D.js.map} +1 -1
  76. package/dist/{chunk-LY7IR43M.js → chunk-LOBHLBLZ.js} +3 -3
  77. package/dist/{chunk-LY7IR43M.js.map → chunk-LOBHLBLZ.js.map} +1 -1
  78. package/dist/{chunk-MQZT4HJH.cjs → chunk-QC2EOJPP.cjs} +6 -6
  79. package/dist/{chunk-MQZT4HJH.cjs.map → chunk-QC2EOJPP.cjs.map} +1 -1
  80. package/dist/{chunk-ULZPXG4L.cjs → chunk-QFITJNNL.cjs} +4 -4
  81. package/dist/{chunk-ULZPXG4L.cjs.map → chunk-QFITJNNL.cjs.map} +1 -1
  82. package/dist/{chunk-DRIO222J.cjs → chunk-QIFJ53KD.cjs} +5 -5
  83. package/dist/{chunk-DRIO222J.cjs.map → chunk-QIFJ53KD.cjs.map} +1 -1
  84. package/dist/{chunk-HZSJXB5C.cjs → chunk-QVYMSM2Y.cjs} +5 -5
  85. package/dist/{chunk-HZSJXB5C.cjs.map → chunk-QVYMSM2Y.cjs.map} +1 -1
  86. package/dist/{chunk-CQRPG6ZN.js → chunk-QWPP4YIV.js} +3 -3
  87. package/dist/{chunk-CQRPG6ZN.js.map → chunk-QWPP4YIV.js.map} +1 -1
  88. package/dist/{chunk-MUKQ6HZE.js → chunk-RWR4AALA.js} +8 -4
  89. package/dist/{chunk-MUKQ6HZE.js.map → chunk-RWR4AALA.js.map} +1 -1
  90. package/dist/{chunk-PG4D5KCD.cjs → chunk-SDV5YRCF.cjs} +6 -6
  91. package/dist/{chunk-PG4D5KCD.cjs.map → chunk-SDV5YRCF.cjs.map} +1 -1
  92. package/dist/{chunk-AU2OPVRI.cjs → chunk-SHNWYSGO.cjs} +13 -9
  93. package/dist/{chunk-AU2OPVRI.cjs.map → chunk-SHNWYSGO.cjs.map} +1 -1
  94. package/dist/{chunk-VVDMWSSL.js → chunk-SP54TZCN.js} +3 -3
  95. package/dist/{chunk-VVDMWSSL.js.map → chunk-SP54TZCN.js.map} +1 -1
  96. package/dist/{chunk-BADSOKHM.cjs → chunk-T3QLPHMN.cjs} +5 -5
  97. package/dist/{chunk-BADSOKHM.cjs.map → chunk-T3QLPHMN.cjs.map} +1 -1
  98. package/dist/{chunk-ZIQM4R3L.js → chunk-U2AEUTMF.js} +3 -3
  99. package/dist/{chunk-ZIQM4R3L.js.map → chunk-U2AEUTMF.js.map} +1 -1
  100. package/dist/{chunk-BUY6KV2P.js → chunk-UBDOWCZP.js} +3 -3
  101. package/dist/{chunk-BUY6KV2P.js.map → chunk-UBDOWCZP.js.map} +1 -1
  102. package/dist/{chunk-WDAQJ346.js → chunk-UHFQANTC.js} +3 -3
  103. package/dist/{chunk-WDAQJ346.js.map → chunk-UHFQANTC.js.map} +1 -1
  104. package/dist/{chunk-2ZXOVTCN.cjs → chunk-W6ETXCKM.cjs} +15 -15
  105. package/dist/{chunk-2ZXOVTCN.cjs.map → chunk-W6ETXCKM.cjs.map} +1 -1
  106. package/dist/{chunk-MIAVX53Y.js → chunk-WFXTOK2T.js} +5 -5
  107. package/dist/{chunk-MIAVX53Y.js.map → chunk-WFXTOK2T.js.map} +1 -1
  108. package/dist/{chunk-NXYJKXJ4.js → chunk-WZGB5JR7.js} +3 -3
  109. package/dist/{chunk-NXYJKXJ4.js.map → chunk-WZGB5JR7.js.map} +1 -1
  110. package/dist/{chunk-YTF4RQ52.cjs → chunk-XHISE3ZF.cjs} +5 -5
  111. package/dist/{chunk-YTF4RQ52.cjs.map → chunk-XHISE3ZF.cjs.map} +1 -1
  112. package/dist/{chunk-Q24BTT5D.cjs → chunk-XJFAYKB6.cjs} +4 -4
  113. package/dist/{chunk-Q24BTT5D.cjs.map → chunk-XJFAYKB6.cjs.map} +1 -1
  114. package/dist/{chunk-H466MBV4.cjs → chunk-YEP4RESB.cjs} +5 -5
  115. package/dist/{chunk-H466MBV4.cjs.map → chunk-YEP4RESB.cjs.map} +1 -1
  116. package/dist/{chunk-NRDZL6JO.cjs → chunk-YXLXVXRD.cjs} +8 -8
  117. package/dist/{chunk-NRDZL6JO.cjs.map → chunk-YXLXVXRD.cjs.map} +1 -1
  118. package/dist/{chunk-47CIRFCO.js → chunk-Z5TJL6FJ.js} +3 -3
  119. package/dist/{chunk-47CIRFCO.js.map → chunk-Z5TJL6FJ.js.map} +1 -1
  120. package/dist/dataScience/index.cjs +4 -4
  121. package/dist/dataScience/index.d.cts +3 -2
  122. package/dist/dataScience/index.d.ts +3 -2
  123. package/dist/dataScience/index.js +2 -2
  124. package/dist/dataScience/types.d.cts +1 -1
  125. package/dist/dataScience/types.d.ts +1 -1
  126. package/dist/editor/index.cjs +3 -3
  127. package/dist/editor/index.js +2 -2
  128. package/dist/encryption/index.cjs +3 -3
  129. package/dist/encryption/index.js +2 -2
  130. package/dist/import/index.cjs +3 -3
  131. package/dist/import/index.js +2 -2
  132. package/dist/index.cjs +90 -84
  133. package/dist/index.cjs.map +1 -1
  134. package/dist/index.d.cts +244 -50
  135. package/dist/index.d.ts +244 -50
  136. package/dist/index.js +38 -32
  137. package/dist/index.js.map +1 -1
  138. package/dist/management/index.cjs +6 -6
  139. package/dist/management/index.js +4 -4
  140. package/dist/metastore/index.cjs +3 -3
  141. package/dist/metastore/index.js +2 -2
  142. package/dist/notifications/index.cjs +3 -3
  143. package/dist/notifications/index.js +2 -2
  144. package/dist/oauth/index.cjs +3 -3
  145. package/dist/oauth/index.js +2 -2
  146. package/dist/queryService/index.cjs +3 -3
  147. package/dist/queryService/index.js +2 -2
  148. package/dist/queue/index.cjs +3 -3
  149. package/dist/queue/index.js +2 -2
  150. package/dist/scheduler/index.cjs +3 -3
  151. package/dist/scheduler/index.js +2 -2
  152. package/dist/schemas-DVB6wC7L.d.cts +74 -0
  153. package/dist/schemas-DVB6wC7L.d.ts +74 -0
  154. package/dist/sdk/configurations/index.d.cts +1 -1
  155. package/dist/sdk/configurations/index.d.ts +1 -1
  156. package/dist/sdk/storage/index.d.cts +2 -2
  157. package/dist/sdk/storage/index.d.ts +2 -2
  158. package/dist/status/index.cjs +3 -3
  159. package/dist/status/index.js +2 -2
  160. package/dist/storage/index.cjs +10 -10
  161. package/dist/storage/index.d.cts +1 -1
  162. package/dist/storage/index.d.ts +1 -1
  163. package/dist/storage/index.js +3 -3
  164. package/dist/storage/types.d.cts +2 -2
  165. package/dist/storage/types.d.ts +2 -2
  166. package/dist/{storageClient-Bk4H2HIw.d.ts → storageClient-Bqd4_-xH.d.ts} +24 -24
  167. package/dist/{storageClient-CB4U57Pr.d.cts → storageClient-C0Kh5L01.d.cts} +24 -24
  168. package/dist/{storageSdk-BDrsuMDA.d.ts → storageSdk-BCUgrB3U.d.cts} +20 -20
  169. package/dist/{storageSdk-wn97Zloc.d.cts → storageSdk-C5Ea9eRR.d.ts} +20 -20
  170. package/dist/stream/index.cjs +3 -3
  171. package/dist/stream/index.js +2 -2
  172. package/dist/syncActions/index.cjs +3 -3
  173. package/dist/syncActions/index.js +2 -2
  174. package/dist/telemetry/index.cjs +3 -3
  175. package/dist/telemetry/index.js +2 -2
  176. package/dist/types-59-LNg5i.d.cts +1786 -0
  177. package/dist/{types-JvKRS8Qd.d.ts → types-BbeZapCu.d.ts} +6 -0
  178. package/dist/{types-Bc-H4gfv.d.cts → types-GRfGXouy.d.cts} +6 -0
  179. package/dist/types-oJnjpvPi.d.ts +1786 -0
  180. package/dist/{utils-Cl4emy8g.d.ts → utils-C7eSJKtG.d.ts} +2 -1
  181. package/dist/{utils-JsCYFmHj.d.cts → utils-DDERw8dM.d.cts} +2 -1
  182. package/dist/vault/index.cjs +3 -3
  183. package/dist/vault/index.js +2 -2
  184. package/dist/verify/index.cjs +3 -3
  185. package/dist/verify/index.js +2 -2
  186. package/package.json +30 -4
  187. package/surface/auth.md +56 -0
  188. package/surface/chat.md +1 -1
  189. package/surface/dataScience.md +1 -0
  190. package/dist/chunk-FBGUBMJ7.js.map +0 -1
  191. package/dist/chunk-OWGJ3PVA.cjs.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,6 +1,8 @@
1
- import { D as DeletedProjectsListQuery, a as DeletedProject, b as DeletedProjectPurgeResult, M as Maintainer, c as MaintainerDetail, C as CreateMaintainerBody, U as UpdateMaintainerBody, d as MaintainerUser, A as AddMaintainerUserBody, e as CreateMaintainerInvitationBody, f as CreateMaintainerOrganizationBody, g as MetadataItem, S as SetMaintainerMetadataBody, O as OrganizationDetail, h as UpdateOrganizationBody, i as AddOrganizationUserBody, j as CreateOrganizationInvitationBody, P as Project, k as CreateOrganizationProjectBody, l as SetOrganizationMetadataBody, G as GetAllFeaturesQuery, F as Feature, m as FeatureProject, n as FeatureAdmin, o as GetProjectPath, p as CreateProjectFeaturePath, q as CreateProjectFeatureBody, R as RemoveProjectFeaturePath, r as User, L as ListProjectUsersPath, s as ListProjectInvitationsPath, t as CreateProjectInvitationPath, u as CreateProjectInvitationBody, v as DeleteProjectInvitationPath, w as AddProjectUserPath, x as AddProjectUserBody, y as RemoveProjectUserPath, z as GetProjectMetadataPath, B as ProjectMetadataItem, E as SetProjectMetadataPath, H as SetProjectMetadataBody, I as GetProjectReviewersPath, J as Reviewer, K as SetProjectReviewersPath, N as SetProjectReviewersBody, Q as UpdateProjectBody, T as MoveProjectBody, V as SetProjectDisabledBody, W as AddUserFeatureBody, X as AddUserFeaturePath, Y as RemoveUserFeaturePath } from './types-YEfQ5pAy.js';
1
+ import { c as components$8, A as AssertSamlBody, I as InitiateSamlBody, C as CreatePatBody, E as ExchangePatBody, R as RevokePatPath, a as CreateDeviceAuthorizationBody, b as ApproveDeviceAuthorizationBody, G as GetDeviceAuthorizationTokenBody, S as SudoBody, d as GetPkceTokenBody, e as RevokeSessionPath, f as RevokeTokenBody } from './types-oJnjpvPi.js';
2
+ import { L as LoginInput, O as OidcInput, M as MfaCodeInput, a as MfaWebauthnInput } from './schemas-DVB6wC7L.js';
2
3
  import { M as MiddlewareFn, c as BaseClientOptions, A as ApiResponse, H as HttpMethod } from './types-BLJoO6YL.js';
3
4
  export { a as ApiError } from './types-BLJoO6YL.js';
5
+ import { D as DeletedProjectsListQuery, a as DeletedProject, b as DeletedProjectPurgeResult, M as Maintainer, c as MaintainerDetail, C as CreateMaintainerBody, U as UpdateMaintainerBody, d as MaintainerUser, A as AddMaintainerUserBody, e as CreateMaintainerInvitationBody, f as CreateMaintainerOrganizationBody, g as MetadataItem, S as SetMaintainerMetadataBody, O as OrganizationDetail, h as UpdateOrganizationBody, i as AddOrganizationUserBody, j as CreateOrganizationInvitationBody, P as Project, k as CreateOrganizationProjectBody, l as SetOrganizationMetadataBody, G as GetAllFeaturesQuery, F as Feature, m as FeatureProject, n as FeatureAdmin, o as GetProjectPath, p as CreateProjectFeaturePath, q as CreateProjectFeatureBody, R as RemoveProjectFeaturePath, r as User, L as ListProjectUsersPath, s as ListProjectInvitationsPath, t as CreateProjectInvitationPath, u as CreateProjectInvitationBody, v as DeleteProjectInvitationPath, w as AddProjectUserPath, x as AddProjectUserBody, y as RemoveProjectUserPath, z as GetProjectMetadataPath, B as ProjectMetadataItem, E as SetProjectMetadataPath, H as SetProjectMetadataBody, I as GetProjectReviewersPath, J as Reviewer, K as SetProjectReviewersPath, N as SetProjectReviewersBody, Q as UpdateProjectBody, T as MoveProjectBody, V as SetProjectDisabledBody, W as AddUserFeatureBody, X as AddUserFeaturePath, Y as RemoveUserFeaturePath } from './types-YEfQ5pAy.js';
4
6
  import { StatusSummary } from './status/types.js';
5
7
  import { Post } from './assets/types.js';
6
8
  import { S as StorageToken, c as components$7, C as CreateTokenBody, U as UpdateTokenBody, a as ShareTokenBody } from './types-GmAeMsok.js';
@@ -13,15 +15,15 @@ import { c as OpenapiQueryType, d as OpenapiPathType, b as OpenapiBodyType, a as
13
15
  import { U as UploadFileParams, a as UploadedFile } from './types-Dg1tEsVR.js';
14
16
  import { D as DescribeConfigurationVersionBody, a as DescribeConfigurationMergeBody, E as ExplainErrorBody, b as DescribeConfigurationBody, S as SuggestComponentBody, c as components$4, F as FeedbackBody, d as DocsQuestionBody } from './types-D3Kkh6yW.js';
15
17
  import { SuggestionsRequestBody, SuggestionsApiResponse } from './chat/suggestions.js';
16
- import { G as GetHistoryQuery$1, c as components$3, a as GetChatPath$1, C as ChatRequest$1, b as GetVotesQuery$1, V as VoteRequest$1, U as UsageResponse$1, A as AgentSettings, d as UpdateAgentSettingsRequest, e as UserAgentSettings, f as UpdateUserAgentSettingsRequest, T as ToolsListResponse } from './types-JvKRS8Qd.js';
18
+ import { G as GetHistoryQuery$1, c as components$3, a as GetChatPath$1, C as ChatRequest$1, b as GetVotesQuery$1, V as VoteRequest$1, U as UsageResponse$1, A as AgentSettings, d as UpdateAgentSettingsRequest, e as UserAgentSettings, f as UpdateUserAgentSettingsRequest, T as ToolsListResponse } from './types-BbeZapCu.js';
17
19
  import { G as GetQueueJobPath, c as components$2, S as SearchJobsQuery } from './types-DacFMc6L.js';
18
20
  import { P as PostQueryPath, a as PostQueryBody, b as PostCancelQueryJobPath, G as GetQueryJobPath, c as components$1, d as GetQueryResultsPath, e as GetQueryResutsQuery, f as GetQueriesPath, g as GetQueriesHistoryQuery, h as GetExportResultsQuery, E as ExportResultsResponse } from './types-yKV1EX6f.js';
19
21
  import { CreateCredentialsBody, WorkspaceData } from './telemetry/types.js';
20
22
  import { PostActionsBody, EnrollMFAInput, GetDataAppPublicGitRepositoryInput, GetDataAppPasswordPrivateGitRepositoryInput, GetDataAppSSHKeyPrivateGitRepositoryInput, GetPublicGitRepositoryInput, GetGitPrivateRepositoryInput } from './syncActions/types.js';
21
23
  import { C as CreateSqlSessionBody, G as GetSqlSessionPath, a as GetSqlSessionsQuery, b as GetSqlSessionSchemaPath, c as GetSqlSessionSchemaQuery, d as components, P as PostSqlRunQueryPath, e as PostSqlRunQueryBody, f as PostSqlTablePreviewPath, g as PostSqlTablePreviewBody, h as GetSqlSessionTableDdlPath, i as GetSqlSessionTableDdlQuery, j as PostSqlSessionLoadPath, k as PostSqlSessionLoadBody, l as PostSqlSessionUnloadPath, m as PostSqlSessionUnloadBody } from './types-CFd7q2ed.js';
22
24
  import { EncryptQuery, ScopedSecrets } from './encryption/types.js';
23
- import { G as GetDataAppRunsPath, a as GetDataAppRunsQuery, b as GetDataAppRunPath, c as GetDataAppLogsDownloadPath, d as GetDataAppLogsTailPath, e as GetDataAppLogsTailQuery, L as LogEntry, f as GetAppsQuery, g as GetDataAppPath, C as CreateDataAppBody, P as PatchDataAppPath, h as PatchDataAppBody, D as DeleteDataAppPath, i as GetDataAppPasswordPath, R as ResetDataAppPasswordPath, j as GetSandboxPath } from './utils-Cl4emy8g.js';
24
- export { p as parseLogLines } from './utils-Cl4emy8g.js';
25
+ import { G as GetDataAppRunsPath, a as GetDataAppRunsQuery, b as GetDataAppRunPath, c as GetDataAppLogsDownloadPath, d as GetDataAppLogsTailPath, e as GetDataAppLogsTailQuery, L as LogEntry, f as GetAppsQuery, g as GetDataAppPath, C as CreateDataAppBody, P as PatchDataAppPath, h as PatchDataAppBody, D as DeleteDataAppPath, i as GetDataAppPasswordPath, R as ResetDataAppPasswordPath, j as GetSandboxPath, k as DeleteSandboxPath } from './utils-C7eSJKtG.js';
26
+ export { p as parseLogLines } from './utils-C7eSJKtG.js';
25
27
  import { CreateVariableBody, VariableWithHash, DeleteVariablePath, GetVariablesQuery, GetVariablesByBranchId } from './vault/types.js';
26
28
  import { a as EncryptionCtx } from './types-D64zThBJ.js';
27
29
  import { M as MetaObject } from './types-Mghz1gMD.js';
@@ -29,10 +31,10 @@ import { TagWithBindings, TagData, CreateMetaObjectMetaDataInput, UpdateMetaObje
29
31
  import * as zod_v4_core from 'zod/v4/core';
30
32
  import * as zod from 'zod';
31
33
  import { z } from 'zod';
32
- import { ServiceId, ConfigurationPath, BaseComponentConfig, CreateConfigurationInput, UpdateConfigurationInput, CreateTableAsyncBody, TableCreateJob, CreateTableDefinitionBody, Table, TableImportAsyncBody, TableImportJob, TableExportAsyncBody, TableExportJob, BucketListing, CreateBucketListingInput, UpdateBucketListingInput, ShareBucketToProjectsBody, ShareBucketToUsersBody, RegisterBucketBody, RefreshExternalBucketQuery, CreateSnapshotBody, AddTableColumnBody, DeleteTableColumnQuery, CreateTablePrimaryKeyBody, Service, StackComponent, GetBucketsQuery, Bucket, BucketDetail, CreateBucketBody, UpdateBucketBody, CreateScheduledRefreshPath, CreateScheduledRefreshBody, ScheduledTask, Job, UpdateBucketOwnerBody, BucketRegistrationGuideQuery, SaveBucketMetadataBody, GetEventsQuery, StorageEvent, GetTableEventsQuery, TableEvent, CreateEventBody, File as File$1, GetFilesQuery, DeleteFileTagPath, PrepareFileBody, PreparedFile, GetTablesQuery, TableDetail, GetDataPreview, PreviewData, DeleteTableRows, JobUnion, UpdateTableDefinitionInput, UpdateTableBody, CreateAliasTableBody, SetAliasTableFilterBody, Snapshot, SaveMetadataBody, Metadata, DevBranch, CreateDevBranchJobBody, DevBranchPath, BranchMetadata, BranchMetadataEntry, WorkspacePath, Workspace, WorkspacesPath, ResetWorkspacePassword, SetWorkspacePublicInput, GetWorkspaceSaml2LoginPath, WorkspaceSaml2Login, WorkspaceObject, DeleteWorkspaceObjectInput, UnloadWorkspaceInput, WorkspaceInputMappingLoadPreviewInput, MergeRequestDetail, MergeRequestDetailWithActivityLog, CreateMergeRequestParams, UpdateMergeRequestParams, JobOperation, GetJobPath, GetJobsQuery, GetComponentPath, Component, GetComponentsPath, GetComponentsQuery, GetSearchComponentConfigurationsPath, SearchComponentConfigurationsQuery, SearchComponentConfiguration, ConfigType, PartialKey, ComponentConfig, ConfigurationDiffPath, ConfigurationDiff, ConfigurationRowDiffPath, ConfigurationRowDiff, RebaseConfigurationInput, GetConfigurationsPath, CreateConfigurationRowInput, Row, CreateConfigurationRowsInput, CreateConfigurationRowBody, DeleteConfigurationRowInput, DeleteConfigurationRowsInput, CreateConfigurationWorkspaceBody, ConfigurationUseCaseType, ConfigurationVersionPath, ConfigurationVersion, ConfigurationVersionDetailPath, ConfigurationVersionDetail, ListTriggersQuery, CreateTriggerBody, UpdateTriggerBody, GlobalSearchQuery, GlobalSearchResponse, RunIdStats, GetStackInfoQuery, StackInfo } from './storage/types.js';
34
+ import { ServiceId, ConfigurationPath, BaseComponentConfig, CreateConfigurationInput, UpdateConfigurationInput, CreateTableAsyncBody, TableCreateJob, CreateTableDefinitionBody, JobStatus, Table, TableImportAsyncBody, TableImportJob, TableExportAsyncBody, TableExportJob, BucketListing, CreateBucketListingInput, UpdateBucketListingInput, ShareBucketToProjectsBody, ShareBucketToUsersBody, RegisterBucketBody, RefreshExternalBucketQuery, CreateSnapshotBody, AddTableColumnBody, DeleteTableColumnQuery, CreateTablePrimaryKeyBody, Service, StackComponent, GetBucketsQuery, Bucket, BucketDetail, CreateBucketBody, UpdateBucketBody, CreateScheduledRefreshPath, CreateScheduledRefreshBody, ScheduledTask, Job, UpdateBucketOwnerBody, BucketRegistrationGuideQuery, SaveBucketMetadataBody, GetEventsQuery, StorageEvent, GetTableEventsQuery, TableEvent, CreateEventBody, File as File$1, GetFilesQuery, DeleteFileTagPath, PrepareFileBody, PreparedFile, GetTablesQuery, TableDetail, GetDataPreview, PreviewData, DeleteTableRows, JobUnion, UpdateTableDefinitionInput, UpdateTableBody, CreateAliasTableBody, SetAliasTableFilterBody, Snapshot, SaveMetadataBody, Metadata, DevBranch, CreateDevBranchJobBody, DevBranchPath, BranchMetadata, BranchMetadataEntry, WorkspacePath, Workspace, WorkspacesPath, ResetWorkspacePassword, SetWorkspacePublicInput, GetWorkspaceSaml2LoginPath, WorkspaceSaml2Login, WorkspaceObject, DeleteWorkspaceObjectInput, UnloadWorkspaceInput, WorkspaceInputMappingLoadPreviewInput, MergeRequestDetail, MergeRequestDetailWithActivityLog, CreateMergeRequestParams, UpdateMergeRequestParams, JobOperation, GetJobPath, GetJobsQuery, GetComponentPath, Component, GetComponentsPath, GetComponentsQuery, GetSearchComponentConfigurationsPath, SearchComponentConfigurationsQuery, SearchComponentConfiguration, ConfigType, PartialKey, ComponentConfig, ConfigurationDiffPath, ConfigurationDiff, ConfigurationRowDiffPath, ConfigurationRowDiff, RebaseConfigurationInput, GetConfigurationsPath, CreateConfigurationRowInput, Row, CreateConfigurationRowsInput, CreateConfigurationRowBody, DeleteConfigurationRowInput, DeleteConfigurationRowsInput, CreateConfigurationWorkspaceBody, ConfigurationUseCaseType, ConfigurationVersionPath, ConfigurationVersion, ConfigurationVersionDetailPath, ConfigurationVersionDetail, ListTriggersQuery, CreateTriggerBody, UpdateTriggerBody, GlobalSearchQuery, GlobalSearchResponse, RunIdStats, GetStackInfoQuery, StackInfo } from './storage/types.js';
33
35
  import { R as RegisteredComponentId } from './registry-BLItWxbK.js';
34
- import { C as ConcurrentOptions, M as MiddlewareFn$1 } from './storageClient-Bk4H2HIw.js';
35
- export { a as concurrent } from './storageClient-Bk4H2HIw.js';
36
+ import { C as ConcurrentOptions, M as MiddlewareFn$1 } from './storageClient-Bqd4_-xH.js';
37
+ export { a as concurrent } from './storageClient-Bqd4_-xH.js';
36
38
  import { K as KeboolaObjectId } from './keboolaUID-D1DGSbge.js';
37
39
  export { k as keboolaUID } from './keboolaUID-D1DGSbge.js';
38
40
  import { B as Backend } from './backends-BgUzAQul.js';
@@ -41,7 +43,7 @@ export { c as createGenericFetchClient } from './createGenericFetchClient-D_vU8n
41
43
  export { i as isManagementClientAuthError } from './authMiddleware-CwkfLK36.js';
42
44
  import { ManagementToken } from './verify/types.js';
43
45
  export { M as ManagementClientAuthError } from './ManagementClientAuthError-WRHtWJSv.js';
44
- export { c as createStorageSdk } from './storageSdk-BDrsuMDA.js';
46
+ export { c as createStorageSdk } from './storageSdk-C5Ea9eRR.js';
45
47
  import 'qs';
46
48
  import './encryption/index.js';
47
49
  import './vault/index.js';
@@ -51,6 +53,7 @@ import './createOpenapiFetchClient-B50N1zkV.js';
51
53
  declare const HttpHeader: {
52
54
  CONTENT_TYPE: string;
53
55
  CONTENT_DISPOSITION: string;
56
+ AUTHORIZATION: string;
54
57
  };
55
58
  declare const HttpContentType: {
56
59
  JSON: string;
@@ -3674,7 +3677,7 @@ type ServiceUrls = Partial<Record<ServiceId, (url: string) => string | undefined
3674
3677
  */
3675
3678
  type ServiceClientName = 'vault' | 'dataScience' | 'encryption' | 'editor' | 'syncActions' | 'telemetry' | 'queryService' | 'queue' | 'chat' | 'ai' | 'import' | 'kaiAgent' | 'oauth' | 'stream' | 'notifications' | 'scheduler';
3676
3679
  /** Clients instantiated directly (not stack-discovered), keyed by their property name. */
3677
- type NonServiceClientName = 'storage' | 'management' | 'assets' | 'status' | 'metastore';
3680
+ type NonServiceClientName = 'storage' | 'management' | 'assets' | 'status' | 'metastore' | 'auth';
3678
3681
  type MiddlewareTarget = ServiceClientName | NonServiceClientName;
3679
3682
  type Middlewares = MiddlewareFn[] | ({
3680
3683
  all?: MiddlewareFn[];
@@ -9927,7 +9930,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
9927
9930
  outBytesUncompressed: number;
9928
9931
  };
9929
9932
  } & ({
9930
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
9933
+ status: Exclude<JobStatus, "success" | "error">;
9931
9934
  results: null;
9932
9935
  } | {
9933
9936
  status: "error";
@@ -9984,7 +9987,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
9984
9987
  outBytesUncompressed: number;
9985
9988
  };
9986
9989
  } & ({
9987
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
9990
+ status: Exclude<JobStatus, "success" | "error">;
9988
9991
  results: null;
9989
9992
  } | {
9990
9993
  status: "error";
@@ -10029,7 +10032,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10029
10032
  outBytesUncompressed: number;
10030
10033
  };
10031
10034
  } & ({
10032
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10035
+ status: Exclude<JobStatus, "success" | "error">;
10033
10036
  results: null;
10034
10037
  } | {
10035
10038
  status: "error";
@@ -10074,7 +10077,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10074
10077
  outBytesUncompressed: number;
10075
10078
  };
10076
10079
  } & ({
10077
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10080
+ status: Exclude<JobStatus, "success" | "error">;
10078
10081
  results: null;
10079
10082
  } | {
10080
10083
  status: "error";
@@ -10117,7 +10120,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10117
10120
  outBytesUncompressed: number;
10118
10121
  };
10119
10122
  } & ({
10120
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10123
+ status: Exclude<JobStatus, "success" | "error">;
10121
10124
  results: null;
10122
10125
  } | {
10123
10126
  status: "error";
@@ -10160,7 +10163,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10160
10163
  outBytesUncompressed: number;
10161
10164
  };
10162
10165
  } & ({
10163
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10166
+ status: Exclude<JobStatus, "success" | "error">;
10164
10167
  results: null;
10165
10168
  } | {
10166
10169
  status: "error";
@@ -10203,7 +10206,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10203
10206
  outBytesUncompressed: number;
10204
10207
  };
10205
10208
  } & ({
10206
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10209
+ status: Exclude<JobStatus, "success" | "error">;
10207
10210
  results: null;
10208
10211
  } | {
10209
10212
  status: "error";
@@ -10246,7 +10249,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10246
10249
  outBytesUncompressed: number;
10247
10250
  };
10248
10251
  } & ({
10249
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10252
+ status: Exclude<JobStatus, "success" | "error">;
10250
10253
  results: null;
10251
10254
  } | {
10252
10255
  status: "error";
@@ -10289,7 +10292,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10289
10292
  outBytesUncompressed: number;
10290
10293
  };
10291
10294
  } & ({
10292
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10295
+ status: Exclude<JobStatus, "success" | "error">;
10293
10296
  results: null;
10294
10297
  } | {
10295
10298
  status: "error";
@@ -10332,7 +10335,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10332
10335
  outBytesUncompressed: number;
10333
10336
  };
10334
10337
  } & ({
10335
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10338
+ status: Exclude<JobStatus, "success" | "error">;
10336
10339
  results: null;
10337
10340
  } | {
10338
10341
  status: "error";
@@ -10375,7 +10378,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10375
10378
  outBytesUncompressed: number;
10376
10379
  };
10377
10380
  } & ({
10378
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10381
+ status: Exclude<JobStatus, "success" | "error">;
10379
10382
  results: null;
10380
10383
  } | {
10381
10384
  status: "error";
@@ -10418,7 +10421,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10418
10421
  outBytesUncompressed: number;
10419
10422
  };
10420
10423
  } & ({
10421
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10424
+ status: Exclude<JobStatus, "success" | "error">;
10422
10425
  results: null;
10423
10426
  } | {
10424
10427
  status: "error";
@@ -10463,7 +10466,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10463
10466
  outBytesUncompressed: number;
10464
10467
  };
10465
10468
  } & ({
10466
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10469
+ status: Exclude<JobStatus, "success" | "error">;
10467
10470
  results: null;
10468
10471
  } | {
10469
10472
  status: "error";
@@ -10508,7 +10511,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10508
10511
  outBytesUncompressed: number;
10509
10512
  };
10510
10513
  } & ({
10511
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10514
+ status: Exclude<JobStatus, "success" | "error">;
10512
10515
  results: null;
10513
10516
  } | {
10514
10517
  status: "error";
@@ -10553,7 +10556,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10553
10556
  outBytesUncompressed: number;
10554
10557
  };
10555
10558
  } & ({
10556
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10559
+ status: Exclude<JobStatus, "success" | "error">;
10557
10560
  results: null;
10558
10561
  } | {
10559
10562
  status: "error";
@@ -10598,7 +10601,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10598
10601
  outBytesUncompressed: number;
10599
10602
  };
10600
10603
  } & ({
10601
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10604
+ status: Exclude<JobStatus, "success" | "error">;
10602
10605
  results: null;
10603
10606
  } | {
10604
10607
  status: "error";
@@ -10643,7 +10646,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10643
10646
  outBytesUncompressed: number;
10644
10647
  };
10645
10648
  } & ({
10646
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10649
+ status: Exclude<JobStatus, "success" | "error">;
10647
10650
  results: null;
10648
10651
  } | {
10649
10652
  status: "error";
@@ -10688,7 +10691,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10688
10691
  outBytesUncompressed: number;
10689
10692
  };
10690
10693
  } & ({
10691
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10694
+ status: Exclude<JobStatus, "success" | "error">;
10692
10695
  results: null;
10693
10696
  } | {
10694
10697
  status: "error";
@@ -10987,6 +10990,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10987
10990
  databricks?: unknown;
10988
10991
  credentials?: unknown;
10989
10992
  }>;
10993
+ deleteSandbox: (appId: DeleteSandboxPath["appId"], signal?: AbortSignal) => Promise<ApiResponse<never>>;
10990
10994
  };
10991
10995
  encryption: {
10992
10996
  encryptSecrets: <T extends Record<string, unknown>>(data: EncryptQuery & {
@@ -11411,6 +11415,11 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
11411
11415
  lastMessageAt: string;
11412
11416
  visibility: "public" | "private";
11413
11417
  branchId?: number | null;
11418
+ contextWindow?: {
11419
+ usedTokens: number;
11420
+ maxTokens: number;
11421
+ percentage: number;
11422
+ } | null;
11414
11423
  messages: components$3["schemas"]["Message"][];
11415
11424
  }>;
11416
11425
  deleteChat: (chatId: string) => Promise<{
@@ -12189,7 +12198,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12189
12198
  outBytesUncompressed: number;
12190
12199
  };
12191
12200
  } & ({
12192
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12201
+ status: Exclude<JobStatus, "success" | "error">;
12193
12202
  results: null;
12194
12203
  } | {
12195
12204
  status: "error";
@@ -12235,7 +12244,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12235
12244
  outBytesUncompressed: number;
12236
12245
  };
12237
12246
  } & ({
12238
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12247
+ status: Exclude<JobStatus, "success" | "error">;
12239
12248
  results: null;
12240
12249
  } | {
12241
12250
  status: "error";
@@ -12274,7 +12283,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12274
12283
  outBytesUncompressed: number;
12275
12284
  };
12276
12285
  } & ({
12277
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12286
+ status: Exclude<JobStatus, "success" | "error">;
12278
12287
  results: null;
12279
12288
  } | {
12280
12289
  status: "error";
@@ -12313,7 +12322,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12313
12322
  outBytesUncompressed: number;
12314
12323
  };
12315
12324
  } & ({
12316
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12325
+ status: Exclude<JobStatus, "success" | "error">;
12317
12326
  results: null;
12318
12327
  } | {
12319
12328
  status: "error";
@@ -12352,7 +12361,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12352
12361
  outBytesUncompressed: number;
12353
12362
  };
12354
12363
  } & ({
12355
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12364
+ status: Exclude<JobStatus, "success" | "error">;
12356
12365
  results: null;
12357
12366
  } | {
12358
12367
  status: "error";
@@ -12391,7 +12400,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12391
12400
  outBytesUncompressed: number;
12392
12401
  };
12393
12402
  } & ({
12394
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12403
+ status: Exclude<JobStatus, "success" | "error">;
12395
12404
  results: null;
12396
12405
  } | {
12397
12406
  status: "error";
@@ -12430,7 +12439,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12430
12439
  outBytesUncompressed: number;
12431
12440
  };
12432
12441
  } & ({
12433
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12442
+ status: Exclude<JobStatus, "success" | "error">;
12434
12443
  results: null;
12435
12444
  } | {
12436
12445
  status: "error";
@@ -12475,7 +12484,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12475
12484
  outBytesUncompressed: number;
12476
12485
  };
12477
12486
  } & ({
12478
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12487
+ status: Exclude<JobStatus, "success" | "error">;
12479
12488
  results: null;
12480
12489
  } | {
12481
12490
  status: "error";
@@ -12514,7 +12523,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12514
12523
  outBytesUncompressed: number;
12515
12524
  };
12516
12525
  } & ({
12517
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12526
+ status: Exclude<JobStatus, "success" | "error">;
12518
12527
  results: null;
12519
12528
  } | {
12520
12529
  status: "error";
@@ -12596,7 +12605,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12596
12605
  outBytesUncompressed: number;
12597
12606
  };
12598
12607
  } & ({
12599
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12608
+ status: Exclude<JobStatus, "success" | "error">;
12600
12609
  results: null;
12601
12610
  } | {
12602
12611
  status: "error";
@@ -12641,7 +12650,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12641
12650
  outBytesUncompressed: number;
12642
12651
  };
12643
12652
  } & ({
12644
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12653
+ status: Exclude<JobStatus, "success" | "error">;
12645
12654
  results: null;
12646
12655
  } | {
12647
12656
  status: "error";
@@ -12683,7 +12692,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12683
12692
  outBytesUncompressed: number;
12684
12693
  };
12685
12694
  } & ({
12686
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12695
+ status: Exclude<JobStatus, "success" | "error">;
12687
12696
  results: null;
12688
12697
  } | {
12689
12698
  status: "error";
@@ -12725,7 +12734,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12725
12734
  outBytesUncompressed: number;
12726
12735
  };
12727
12736
  } & ({
12728
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12737
+ status: Exclude<JobStatus, "success" | "error">;
12729
12738
  results: null;
12730
12739
  } | {
12731
12740
  status: "error";
@@ -12768,7 +12777,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12768
12777
  outBytesUncompressed: number;
12769
12778
  };
12770
12779
  } & ({
12771
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12780
+ status: Exclude<JobStatus, "success" | "error">;
12772
12781
  results: null;
12773
12782
  } | {
12774
12783
  status: "error";
@@ -12815,7 +12824,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12815
12824
  outBytesUncompressed: number;
12816
12825
  };
12817
12826
  } & ({
12818
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12827
+ status: Exclude<JobStatus, "success" | "error">;
12819
12828
  results: null;
12820
12829
  } | {
12821
12830
  status: "error";
@@ -12856,7 +12865,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12856
12865
  outBytesUncompressed: number;
12857
12866
  };
12858
12867
  } & ({
12859
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12868
+ status: Exclude<JobStatus, "success" | "error">;
12860
12869
  results: null;
12861
12870
  } | {
12862
12871
  status: "error";
@@ -12897,7 +12906,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12897
12906
  outBytesUncompressed: number;
12898
12907
  };
12899
12908
  } & ({
12900
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12909
+ status: Exclude<JobStatus, "success" | "error">;
12901
12910
  results: null;
12902
12911
  } | {
12903
12912
  status: "error";
@@ -12938,7 +12947,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12938
12947
  outBytesUncompressed: number;
12939
12948
  };
12940
12949
  } & ({
12941
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12950
+ status: Exclude<JobStatus, "success" | "error">;
12942
12951
  results: null;
12943
12952
  } | {
12944
12953
  status: "error";
@@ -12987,7 +12996,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12987
12996
  outBytesUncompressed: number;
12988
12997
  };
12989
12998
  } & ({
12990
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12999
+ status: Exclude<JobStatus, "success" | "error">;
12991
13000
  results: null;
12992
13001
  } | {
12993
13002
  status: "success";
@@ -13031,7 +13040,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
13031
13040
  outBytesUncompressed: number;
13032
13041
  };
13033
13042
  } & ({
13034
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
13043
+ status: Exclude<JobStatus, "success" | "error">;
13035
13044
  results: null;
13036
13045
  } | {
13037
13046
  status: "error";
@@ -13085,7 +13094,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
13085
13094
  outBytesUncompressed: number;
13086
13095
  };
13087
13096
  } & ({
13088
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
13097
+ status: Exclude<JobStatus, "success" | "error">;
13089
13098
  results: null;
13090
13099
  } | {
13091
13100
  status: "error";
@@ -13130,7 +13139,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
13130
13139
  outBytesUncompressed: number;
13131
13140
  };
13132
13141
  } & ({
13133
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
13142
+ status: Exclude<JobStatus, "success" | "error">;
13134
13143
  results: null;
13135
13144
  } | {
13136
13145
  status: "success";
@@ -13489,7 +13498,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
13489
13498
  outBytesUncompressed: number;
13490
13499
  };
13491
13500
  } & ({
13492
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
13501
+ status: Exclude<JobStatus, "success" | "error">;
13493
13502
  results: null;
13494
13503
  } | {
13495
13504
  status: "error";
@@ -14212,6 +14221,191 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
14212
14221
  } | null;
14213
14222
  }>;
14214
14223
  };
14224
+ auth: {
14225
+ login: {
14226
+ withPassword: (input: LoginInput, signal?: AbortSignal) => Promise<{
14227
+ mfaRequired: false;
14228
+ accessToken: string;
14229
+ refreshToken: string;
14230
+ tokenType: string;
14231
+ expiresIn: number;
14232
+ sessionId: string;
14233
+ user: {
14234
+ id: number;
14235
+ email: string;
14236
+ name: string;
14237
+ };
14238
+ } | {
14239
+ mfaRequired: true;
14240
+ mfaType: string;
14241
+ mfaToken: string;
14242
+ expiresIn: number;
14243
+ allowedMethods: string[];
14244
+ webauthn: Record<string, unknown> | null;
14245
+ }>;
14246
+ withOidc: (input: OidcInput, signal?: AbortSignal) => Promise<{
14247
+ mfaRequired: false;
14248
+ accessToken: string;
14249
+ refreshToken: string;
14250
+ tokenType: string;
14251
+ expiresIn: number;
14252
+ sessionId: string;
14253
+ user: {
14254
+ id: number;
14255
+ email: string;
14256
+ name: string;
14257
+ };
14258
+ } | {
14259
+ mfaRequired: true;
14260
+ mfaType: string;
14261
+ mfaToken: string;
14262
+ expiresIn: number;
14263
+ allowedMethods: string[];
14264
+ webauthn: Record<string, unknown> | null;
14265
+ }>;
14266
+ };
14267
+ mfa: {
14268
+ verifyWithCode: (input: MfaCodeInput, signal?: AbortSignal) => Promise<{
14269
+ accessToken: string;
14270
+ refreshToken: string;
14271
+ tokenType: string;
14272
+ expiresIn: number;
14273
+ sessionId: string;
14274
+ user: components$8["schemas"]["UserLoggedInResponse"];
14275
+ }>;
14276
+ verifyWithWebauthn: (input: MfaWebauthnInput, signal?: AbortSignal) => Promise<{
14277
+ accessToken: string;
14278
+ refreshToken: string;
14279
+ tokenType: string;
14280
+ expiresIn: number;
14281
+ sessionId: string;
14282
+ user: components$8["schemas"]["UserLoggedInResponse"];
14283
+ }>;
14284
+ regenerateRecoveryCodes: (signal?: AbortSignal) => Promise<{
14285
+ codes: string[];
14286
+ }>;
14287
+ };
14288
+ saml: {
14289
+ assert: (body: AssertSamlBody, signal?: AbortSignal) => Promise<{
14290
+ accessToken: string;
14291
+ refreshToken: string;
14292
+ tokenType: string;
14293
+ expiresIn: number;
14294
+ sessionId: string;
14295
+ user: components$8["schemas"]["UserLoggedInResponse"];
14296
+ } | {
14297
+ mfaRequired: boolean;
14298
+ mfaType: string;
14299
+ mfaToken: string;
14300
+ expiresIn: number;
14301
+ allowedMethods: string[];
14302
+ webauthn: Record<string, never> | null;
14303
+ }>;
14304
+ initiate: (body?: InitiateSamlBody, signal?: AbortSignal) => Promise<{
14305
+ ssoUrl: string;
14306
+ requestHandle: string;
14307
+ expiresIn: number;
14308
+ }>;
14309
+ };
14310
+ pat: {
14311
+ create: (body: CreatePatBody, signal?: AbortSignal) => Promise<{
14312
+ accessToken: string;
14313
+ tokenType: string;
14314
+ expiresIn: number;
14315
+ pat: components$8["schemas"]["PatItemResponse"];
14316
+ }>;
14317
+ exchange: (body?: ExchangePatBody, signal?: AbortSignal) => Promise<{
14318
+ accessToken: string;
14319
+ tokenType: string;
14320
+ expiresIn: number;
14321
+ scope: Record<string, never>;
14322
+ readOnly: boolean;
14323
+ parentTokenId: string;
14324
+ parentTokenType: "session" | "pat";
14325
+ expiresAt: string;
14326
+ pat: components$8["schemas"]["PatItemResponse"];
14327
+ }>;
14328
+ revoke: (id: RevokePatPath["id"], signal?: AbortSignal) => Promise<void>;
14329
+ getAll: (signal?: AbortSignal) => Promise<{
14330
+ items: components$8["schemas"]["PatItemResponse"][];
14331
+ }>;
14332
+ };
14333
+ device: {
14334
+ create: (body: CreateDeviceAuthorizationBody, signal?: AbortSignal) => Promise<{
14335
+ deviceCode: string;
14336
+ userCode: string;
14337
+ verificationUri: string;
14338
+ verificationUriComplete: string;
14339
+ expiresIn: number;
14340
+ interval: number;
14341
+ }>;
14342
+ approve: (body: ApproveDeviceAuthorizationBody, signal?: AbortSignal) => Promise<{
14343
+ status: "approved" | "denied";
14344
+ idempotent: boolean;
14345
+ decision: components$8["schemas"]["DeviceApprovalDecision"];
14346
+ }>;
14347
+ getToken: (body: GetDeviceAuthorizationTokenBody, signal?: AbortSignal) => Promise<{
14348
+ accessToken: string;
14349
+ refreshToken: string;
14350
+ tokenType: string;
14351
+ expiresIn: number;
14352
+ sessionId: string;
14353
+ user: components$8["schemas"]["UserLoggedInResponse"];
14354
+ }>;
14355
+ };
14356
+ sudo: {
14357
+ verify: (body: SudoBody, signal?: AbortSignal) => Promise<{
14358
+ sudoVerified: boolean;
14359
+ sudoExpiresAt: string;
14360
+ sudoTimeoutSeconds: number;
14361
+ }>;
14362
+ challenge: (signal?: AbortSignal) => Promise<{
14363
+ challengeToken: string;
14364
+ options: Record<string, never>;
14365
+ expiresIn: number;
14366
+ }>;
14367
+ };
14368
+ pkce: {
14369
+ getToken: (body: GetPkceTokenBody, signal?: AbortSignal) => Promise<{
14370
+ accessToken: string;
14371
+ refreshToken: string;
14372
+ tokenType: string;
14373
+ expiresIn: number;
14374
+ sessionId: string;
14375
+ user: components$8["schemas"]["UserLoggedInResponse"];
14376
+ }>;
14377
+ };
14378
+ session: {
14379
+ getAll: (signal?: AbortSignal) => Promise<{
14380
+ sessions?: components$8["schemas"]["SessionItemResponse"][];
14381
+ }>;
14382
+ revoke: (sessionId: RevokeSessionPath["sessionId"], signal?: AbortSignal) => Promise<void>;
14383
+ revokeAll: (signal?: AbortSignal) => Promise<void>;
14384
+ };
14385
+ token: {
14386
+ refresh: (refreshToken: string, signal?: AbortSignal) => Promise<{
14387
+ accessToken: string;
14388
+ refreshToken: string;
14389
+ tokenType: string;
14390
+ expiresIn: number;
14391
+ sessionId: string;
14392
+ user: components$8["schemas"]["UserLoggedInResponse"];
14393
+ }>;
14394
+ introspect: (token?: string, signal?: AbortSignal) => Promise<{
14395
+ sessionId: string;
14396
+ user: components$8["schemas"]["UserLoggedInResponse"];
14397
+ grantType: string;
14398
+ sudoVerified: boolean;
14399
+ createdAt: string;
14400
+ expiresAt: string;
14401
+ lastUsedAt?: string | null;
14402
+ lastUsedIp?: string | null;
14403
+ userAgent?: string | null;
14404
+ projects: components$8["schemas"]["ProjectAccessItem"][];
14405
+ }>;
14406
+ revoke: (body: RevokeTokenBody, signal?: AbortSignal) => Promise<void>;
14407
+ };
14408
+ };
14215
14409
  }>;
14216
14410
  type Clients = Awaited<ReturnType<typeof createClients>>;
14217
14411
  type ClientContext = Clients['context'];