@keboola/api-client 12.0.0 → 13.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 (132) hide show
  1. package/API-SURFACE.md +25 -1
  2. package/dist/ai/index.d.cts +2 -2
  3. package/dist/ai/index.d.ts +2 -2
  4. package/dist/ai/types.d.cts +2 -2
  5. package/dist/ai/types.d.ts +2 -2
  6. package/dist/auth/index.cjs +13 -0
  7. package/dist/auth/index.cjs.map +1 -0
  8. package/dist/auth/index.d.cts +142 -0
  9. package/dist/auth/index.d.ts +142 -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 +2 -0
  15. package/dist/auth/types.d.ts +2 -0
  16. package/dist/auth/types.js +3 -0
  17. package/dist/auth/types.js.map +1 -0
  18. package/dist/chat/index.d.cts +7 -2
  19. package/dist/chat/index.d.ts +7 -2
  20. package/dist/chat/types.d.cts +2 -2
  21. package/dist/chat/types.d.ts +2 -2
  22. package/dist/chunk-I3VK6VQT.js +113 -0
  23. package/dist/chunk-I3VK6VQT.js.map +1 -0
  24. package/dist/chunk-IL5MYBXL.cjs +115 -0
  25. package/dist/chunk-IL5MYBXL.cjs.map +1 -0
  26. package/dist/{createOpenapiFetchClient-CKNLT4ND.d.cts → createOpenapiFetchClient-DIsEiRUz.d.cts} +1 -1
  27. package/dist/{createOpenapiFetchClient-B50N1zkV.d.ts → createOpenapiFetchClient-Oi-KX-f-.d.ts} +1 -1
  28. package/dist/dataScience/index.d.cts +3 -3
  29. package/dist/dataScience/index.d.ts +3 -3
  30. package/dist/dataScience/types.d.cts +2 -2
  31. package/dist/dataScience/types.d.ts +2 -2
  32. package/dist/domain/permissions/index.d.cts +3 -3
  33. package/dist/domain/permissions/index.d.ts +3 -3
  34. package/dist/editor/index.d.cts +2 -2
  35. package/dist/editor/index.d.ts +2 -2
  36. package/dist/editor/types.d.cts +2 -2
  37. package/dist/editor/types.d.ts +2 -2
  38. package/dist/encryption/index.d.cts +2 -2
  39. package/dist/encryption/index.d.ts +2 -2
  40. package/dist/encryption/types.d.cts +2 -2
  41. package/dist/encryption/types.d.ts +2 -2
  42. package/dist/index.cjs +20 -14
  43. package/dist/index.cjs.map +1 -1
  44. package/dist/index.d.cts +200 -60
  45. package/dist/index.d.ts +200 -60
  46. package/dist/index.js +13 -7
  47. package/dist/index.js.map +1 -1
  48. package/dist/management/index.d.cts +2 -2
  49. package/dist/management/index.d.ts +2 -2
  50. package/dist/metastore/index.d.cts +3 -3
  51. package/dist/metastore/index.d.ts +3 -3
  52. package/dist/metastore/types.d.cts +2 -2
  53. package/dist/metastore/types.d.ts +2 -2
  54. package/dist/notifications/index.d.cts +2 -2
  55. package/dist/notifications/index.d.ts +2 -2
  56. package/dist/notifications/types.d.cts +2 -2
  57. package/dist/notifications/types.d.ts +2 -2
  58. package/dist/{project-BxSa1Ci9.d.ts → project-D9FCXphc.d.ts} +1 -1
  59. package/dist/{project-NJuUPx8-.d.cts → project-DWdvh1ev.d.cts} +1 -1
  60. package/dist/queryService/index.d.cts +2 -2
  61. package/dist/queryService/index.d.ts +2 -2
  62. package/dist/queryService/types.d.cts +2 -2
  63. package/dist/queryService/types.d.ts +2 -2
  64. package/dist/queue/index.d.cts +2 -2
  65. package/dist/queue/index.d.ts +2 -2
  66. package/dist/queue/types.d.cts +2 -2
  67. package/dist/queue/types.d.ts +2 -2
  68. package/dist/scheduler/index.d.cts +1 -1
  69. package/dist/scheduler/index.d.ts +1 -1
  70. package/dist/scheduler/types.d.cts +1 -1
  71. package/dist/scheduler/types.d.ts +1 -1
  72. package/dist/sdk/configurations/index.d.cts +5 -5
  73. package/dist/sdk/configurations/index.d.ts +5 -5
  74. package/dist/sdk/storage/index.d.cts +5 -5
  75. package/dist/sdk/storage/index.d.ts +5 -5
  76. package/dist/sdk/tag/index.d.cts +3 -3
  77. package/dist/sdk/tag/index.d.ts +3 -3
  78. package/dist/sdk/tag/types.d.cts +3 -3
  79. package/dist/sdk/tag/types.d.ts +3 -3
  80. package/dist/sdk/vault/index.d.cts +3 -3
  81. package/dist/sdk/vault/index.d.ts +3 -3
  82. package/dist/storage/index.d.cts +4 -4
  83. package/dist/storage/index.d.ts +4 -4
  84. package/dist/storage/types.d.cts +5 -5
  85. package/dist/storage/types.d.ts +5 -5
  86. package/dist/{storageClient-Bk4H2HIw.d.ts → storageClient-Bm2xAtWJ.d.ts} +26 -26
  87. package/dist/{storageClient-CB4U57Pr.d.cts → storageClient-CeLEkQNI.d.cts} +26 -26
  88. package/dist/{storageSdk-BDrsuMDA.d.ts → storageSdk-CBM85gUk.d.cts} +20 -20
  89. package/dist/{storageSdk-wn97Zloc.d.cts → storageSdk-Db1TowTM.d.ts} +20 -20
  90. package/dist/stream/index.d.cts +2 -2
  91. package/dist/stream/index.d.ts +2 -2
  92. package/dist/stream/types.d.cts +2 -2
  93. package/dist/stream/types.d.ts +2 -2
  94. package/dist/syncActions/index.d.cts +2 -2
  95. package/dist/syncActions/index.d.ts +2 -2
  96. package/dist/syncActions/types.d.cts +1 -1
  97. package/dist/syncActions/types.d.ts +1 -1
  98. package/dist/{types-yKV1EX6f.d.ts → types-5hVwJbZy.d.ts} +1 -1
  99. package/dist/{types-DTkxk0fW.d.cts → types-BMHNYi_B.d.cts} +1 -1
  100. package/dist/{types-CWebeQXy.d.cts → types-BavhR4tO.d.cts} +1 -1
  101. package/dist/{types-D9cNOf-3.d.cts → types-BiylbcWm.d.cts} +1 -1
  102. package/dist/types-BsA3W6Mo.d.cts +1786 -0
  103. package/dist/{types-DsqDUWJn.d.cts → types-BsIu3NSe.d.cts} +1 -1
  104. package/dist/types-CBYDpcI1.d.ts +1786 -0
  105. package/dist/{types-BVldT2vs.d.cts → types-CD0r-1MV.d.cts} +1 -1
  106. package/dist/{types-CvHPHNH0.d.cts → types-CaoEwPpD.d.cts} +1 -1
  107. package/dist/{types-BxjcUj-y.d.cts → types-Coaofyh9.d.cts} +1 -1
  108. package/dist/{types-GmAeMsok.d.ts → types-Ct6wJf9k.d.ts} +1 -1
  109. package/dist/{types-CS8MYc2k.d.ts → types-CyQJ4AXd.d.ts} +1 -1
  110. package/dist/{types-DFWnAftN.d.cts → types-DHA8WCNr.d.ts} +1 -1
  111. package/dist/{types-D64zThBJ.d.ts → types-DLUrR6Xu.d.ts} +1 -1
  112. package/dist/{types-CFd7q2ed.d.ts → types-DLWBh7iV.d.ts} +1 -1
  113. package/dist/{types-CMEwVQ78.d.cts → types-DclddzzB.d.cts} +1 -1
  114. package/dist/{types-Bc-H4gfv.d.cts → types-QLM97gSa.d.cts} +7 -1
  115. package/dist/{types-JvKRS8Qd.d.ts → types-R6KVJSvx.d.ts} +7 -1
  116. package/dist/{types-D3Kkh6yW.d.ts → types-_uKmxlZr.d.ts} +1 -1
  117. package/dist/{types-jKnx7Tm_.d.cts → types-auVqO7UT.d.cts} +1 -1
  118. package/dist/{types-jKnx7Tm_.d.ts → types-auVqO7UT.d.ts} +1 -1
  119. package/dist/{types-Dv3vN7M9.d.ts → types-kPz1WIPX.d.cts} +1 -1
  120. package/dist/{types-Mghz1gMD.d.ts → types-njJEULW3.d.ts} +1 -1
  121. package/dist/{types-DacFMc6L.d.ts → types-rgoWljL8.d.ts} +1 -1
  122. package/dist/{utils-Cl4emy8g.d.ts → utils-BcMjZotB.d.ts} +1 -1
  123. package/dist/{utils-JsCYFmHj.d.cts → utils-IEMDjlU4.d.cts} +1 -1
  124. package/dist/vault/index.d.cts +1 -1
  125. package/dist/vault/index.d.ts +1 -1
  126. package/dist/vault/types.d.cts +1 -1
  127. package/dist/vault/types.d.ts +1 -1
  128. package/dist/verify/index.d.cts +2 -2
  129. package/dist/verify/index.d.ts +2 -2
  130. package/package.json +30 -4
  131. package/surface/auth.md +27 -0
  132. package/surface/chat.md +1 -1
package/dist/index.d.ts CHANGED
@@ -1,38 +1,39 @@
1
+ import { L as LoginBody, c as components$8, V as VerifyMfaBody, S as SudoBody, A as AssertSamlBody, I as InitiateSamlBody, C as CreateDeviceAuthorizationBody, a as ApproveDeviceAuthorizationBody, G as GetDeviceAuthorizationTokenBody, b as GetPkceTokenBody, d as CreatePatBody, E as ExchangePatBody, R as RevokePatPath, e as RevokeSessionPath, f as RefreshTokenBody, g as RevokeTokenBody } from './types-CBYDpcI1.js';
1
2
  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';
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';
4
5
  import { StatusSummary } from './status/types.js';
5
6
  import { Post } from './assets/types.js';
6
- import { S as StorageToken, c as components$7, C as CreateTokenBody, U as UpdateTokenBody, a as ShareTokenBody } from './types-GmAeMsok.js';
7
+ import { S as StorageToken, c as components$7, C as CreateTokenBody, U as UpdateTokenBody, a as ShareTokenBody } from './types-Ct6wJf9k.js';
7
8
  import { StorageTableScope as StorageTable } from './domain/storageTable/index.js';
8
- import { L as ListSubscriptionsQuery, c as components$6, G as GetSubscriptionPath, C as CreateSubscriptionBody, D as DeleteSubscriptionPath } from './types-CS8MYc2k.js';
9
- import { P as PaginationQuery, c as components$5, C as CreateSourceRequestBody, U as UpdateSourceRequestBody, D as DeleteSourceQuery, a as UpdateSourceSettingsRequestBody, T as TestSourceQuery, b as CreateSinkRequestBody, d as UpdateSinkRequestBody, e as UpdateSinkSettingsRequestBody, S as SinkStatisticsFilesQuery } from './types-Dv3vN7M9.js';
9
+ import { L as ListSubscriptionsQuery, c as components$6, G as GetSubscriptionPath, C as CreateSubscriptionBody, D as DeleteSubscriptionPath } from './types-CyQJ4AXd.js';
10
+ import { P as PaginationQuery, c as components$5, C as CreateSourceRequestBody, U as UpdateSourceRequestBody, D as DeleteSourceQuery, a as UpdateSourceSettingsRequestBody, T as TestSourceQuery, b as CreateSinkRequestBody, d as UpdateSinkRequestBody, e as UpdateSinkSettingsRequestBody, S as SinkStatisticsFilesQuery } from './types-DHA8WCNr.js';
10
11
  import { GetSchedulesQuery, ActivateScheduleBody, SchedulePath, ConfigurationPath as ConfigurationPath$1 } from './scheduler/types.js';
11
12
  import { GetCredentialsQuery, Credential, CreateCredentialBody } from './oauth/types.js';
12
- import { c as OpenapiQueryType, d as OpenapiPathType, b as OpenapiBodyType, a as OpenapiReturnType } from './types-jKnx7Tm_.js';
13
+ import { d as OpenapiQueryType, c as OpenapiPathType, b as OpenapiBodyType, a as OpenapiReturnType } from './types-auVqO7UT.js';
13
14
  import { U as UploadFileParams, a as UploadedFile } from './types-Dg1tEsVR.js';
14
- 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
+ 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-_uKmxlZr.js';
15
16
  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';
17
- import { G as GetQueueJobPath, c as components$2, S as SearchJobsQuery } from './types-DacFMc6L.js';
18
- 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';
17
+ 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-R6KVJSvx.js';
18
+ import { G as GetQueueJobPath, c as components$2, S as SearchJobsQuery } from './types-rgoWljL8.js';
19
+ 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-5hVwJbZy.js';
19
20
  import { CreateCredentialsBody, WorkspaceData } from './telemetry/types.js';
20
21
  import { PostActionsBody, EnrollMFAInput, GetDataAppPublicGitRepositoryInput, GetDataAppPasswordPrivateGitRepositoryInput, GetDataAppSSHKeyPrivateGitRepositoryInput, GetPublicGitRepositoryInput, GetGitPrivateRepositoryInput } from './syncActions/types.js';
21
- 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
+ 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-DLWBh7iV.js';
22
23
  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';
24
+ 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-BcMjZotB.js';
25
+ export { p as parseLogLines } from './utils-BcMjZotB.js';
25
26
  import { CreateVariableBody, VariableWithHash, DeleteVariablePath, GetVariablesQuery, GetVariablesByBranchId } from './vault/types.js';
26
- import { a as EncryptionCtx } from './types-D64zThBJ.js';
27
- import { M as MetaObject } from './types-Mghz1gMD.js';
27
+ import { a as EncryptionCtx } from './types-DLUrR6Xu.js';
28
+ import { M as MetaObject } from './types-njJEULW3.js';
28
29
  import { TagWithBindings, TagData, CreateMetaObjectMetaDataInput, UpdateMetaObjectMetaDataInput } from './sdk/tag/types.js';
29
30
  import * as zod_v4_core from 'zod/v4/core';
30
31
  import * as zod from 'zod';
31
32
  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';
33
+ 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
34
  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';
35
+ import { C as ConcurrentOptions, M as MiddlewareFn$1 } from './storageClient-Bm2xAtWJ.js';
36
+ export { a as concurrent } from './storageClient-Bm2xAtWJ.js';
36
37
  import { K as KeboolaObjectId } from './keboolaUID-D1DGSbge.js';
37
38
  export { k as keboolaUID } from './keboolaUID-D1DGSbge.js';
38
39
  import { B as Backend } from './backends-BgUzAQul.js';
@@ -41,12 +42,12 @@ export { c as createGenericFetchClient } from './createGenericFetchClient-D_vU8n
41
42
  export { i as isManagementClientAuthError } from './authMiddleware-CwkfLK36.js';
42
43
  import { ManagementToken } from './verify/types.js';
43
44
  export { M as ManagementClientAuthError } from './ManagementClientAuthError-WRHtWJSv.js';
44
- export { c as createStorageSdk } from './storageSdk-BDrsuMDA.js';
45
+ export { c as createStorageSdk } from './storageSdk-Db1TowTM.js';
45
46
  import 'qs';
46
47
  import './encryption/index.js';
47
48
  import './vault/index.js';
48
49
  import './metastore/index.js';
49
- import './createOpenapiFetchClient-B50N1zkV.js';
50
+ import './createOpenapiFetchClient-Oi-KX-f-.js';
50
51
 
51
52
  declare const HttpHeader: {
52
53
  CONTENT_TYPE: string;
@@ -3674,7 +3675,7 @@ type ServiceUrls = Partial<Record<ServiceId, (url: string) => string | undefined
3674
3675
  */
3675
3676
  type ServiceClientName = 'vault' | 'dataScience' | 'encryption' | 'editor' | 'syncActions' | 'telemetry' | 'queryService' | 'queue' | 'chat' | 'ai' | 'import' | 'kaiAgent' | 'oauth' | 'stream' | 'notifications' | 'scheduler';
3676
3677
  /** Clients instantiated directly (not stack-discovered), keyed by their property name. */
3677
- type NonServiceClientName = 'storage' | 'management' | 'assets' | 'status' | 'metastore';
3678
+ type NonServiceClientName = 'storage' | 'management' | 'assets' | 'status' | 'metastore' | 'auth';
3678
3679
  type MiddlewareTarget = ServiceClientName | NonServiceClientName;
3679
3680
  type Middlewares = MiddlewareFn[] | ({
3680
3681
  all?: MiddlewareFn[];
@@ -9927,7 +9928,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
9927
9928
  outBytesUncompressed: number;
9928
9929
  };
9929
9930
  } & ({
9930
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
9931
+ status: Exclude<JobStatus, "success" | "error">;
9931
9932
  results: null;
9932
9933
  } | {
9933
9934
  status: "error";
@@ -9984,7 +9985,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
9984
9985
  outBytesUncompressed: number;
9985
9986
  };
9986
9987
  } & ({
9987
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
9988
+ status: Exclude<JobStatus, "success" | "error">;
9988
9989
  results: null;
9989
9990
  } | {
9990
9991
  status: "error";
@@ -10029,7 +10030,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10029
10030
  outBytesUncompressed: number;
10030
10031
  };
10031
10032
  } & ({
10032
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10033
+ status: Exclude<JobStatus, "success" | "error">;
10033
10034
  results: null;
10034
10035
  } | {
10035
10036
  status: "error";
@@ -10074,7 +10075,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10074
10075
  outBytesUncompressed: number;
10075
10076
  };
10076
10077
  } & ({
10077
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10078
+ status: Exclude<JobStatus, "success" | "error">;
10078
10079
  results: null;
10079
10080
  } | {
10080
10081
  status: "error";
@@ -10117,7 +10118,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10117
10118
  outBytesUncompressed: number;
10118
10119
  };
10119
10120
  } & ({
10120
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10121
+ status: Exclude<JobStatus, "success" | "error">;
10121
10122
  results: null;
10122
10123
  } | {
10123
10124
  status: "error";
@@ -10160,7 +10161,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10160
10161
  outBytesUncompressed: number;
10161
10162
  };
10162
10163
  } & ({
10163
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10164
+ status: Exclude<JobStatus, "success" | "error">;
10164
10165
  results: null;
10165
10166
  } | {
10166
10167
  status: "error";
@@ -10203,7 +10204,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10203
10204
  outBytesUncompressed: number;
10204
10205
  };
10205
10206
  } & ({
10206
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10207
+ status: Exclude<JobStatus, "success" | "error">;
10207
10208
  results: null;
10208
10209
  } | {
10209
10210
  status: "error";
@@ -10246,7 +10247,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10246
10247
  outBytesUncompressed: number;
10247
10248
  };
10248
10249
  } & ({
10249
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10250
+ status: Exclude<JobStatus, "success" | "error">;
10250
10251
  results: null;
10251
10252
  } | {
10252
10253
  status: "error";
@@ -10289,7 +10290,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10289
10290
  outBytesUncompressed: number;
10290
10291
  };
10291
10292
  } & ({
10292
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10293
+ status: Exclude<JobStatus, "success" | "error">;
10293
10294
  results: null;
10294
10295
  } | {
10295
10296
  status: "error";
@@ -10332,7 +10333,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10332
10333
  outBytesUncompressed: number;
10333
10334
  };
10334
10335
  } & ({
10335
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10336
+ status: Exclude<JobStatus, "success" | "error">;
10336
10337
  results: null;
10337
10338
  } | {
10338
10339
  status: "error";
@@ -10375,7 +10376,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10375
10376
  outBytesUncompressed: number;
10376
10377
  };
10377
10378
  } & ({
10378
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10379
+ status: Exclude<JobStatus, "success" | "error">;
10379
10380
  results: null;
10380
10381
  } | {
10381
10382
  status: "error";
@@ -10418,7 +10419,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10418
10419
  outBytesUncompressed: number;
10419
10420
  };
10420
10421
  } & ({
10421
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10422
+ status: Exclude<JobStatus, "success" | "error">;
10422
10423
  results: null;
10423
10424
  } | {
10424
10425
  status: "error";
@@ -10463,7 +10464,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10463
10464
  outBytesUncompressed: number;
10464
10465
  };
10465
10466
  } & ({
10466
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10467
+ status: Exclude<JobStatus, "success" | "error">;
10467
10468
  results: null;
10468
10469
  } | {
10469
10470
  status: "error";
@@ -10508,7 +10509,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10508
10509
  outBytesUncompressed: number;
10509
10510
  };
10510
10511
  } & ({
10511
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10512
+ status: Exclude<JobStatus, "success" | "error">;
10512
10513
  results: null;
10513
10514
  } | {
10514
10515
  status: "error";
@@ -10553,7 +10554,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10553
10554
  outBytesUncompressed: number;
10554
10555
  };
10555
10556
  } & ({
10556
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10557
+ status: Exclude<JobStatus, "success" | "error">;
10557
10558
  results: null;
10558
10559
  } | {
10559
10560
  status: "error";
@@ -10598,7 +10599,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10598
10599
  outBytesUncompressed: number;
10599
10600
  };
10600
10601
  } & ({
10601
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10602
+ status: Exclude<JobStatus, "success" | "error">;
10602
10603
  results: null;
10603
10604
  } | {
10604
10605
  status: "error";
@@ -10643,7 +10644,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10643
10644
  outBytesUncompressed: number;
10644
10645
  };
10645
10646
  } & ({
10646
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10647
+ status: Exclude<JobStatus, "success" | "error">;
10647
10648
  results: null;
10648
10649
  } | {
10649
10650
  status: "error";
@@ -10688,7 +10689,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
10688
10689
  outBytesUncompressed: number;
10689
10690
  };
10690
10691
  } & ({
10691
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
10692
+ status: Exclude<JobStatus, "success" | "error">;
10692
10693
  results: null;
10693
10694
  } | {
10694
10695
  status: "error";
@@ -11411,6 +11412,11 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
11411
11412
  lastMessageAt: string;
11412
11413
  visibility: "public" | "private";
11413
11414
  branchId?: number | null;
11415
+ contextWindow?: {
11416
+ usedTokens: number;
11417
+ maxTokens: number;
11418
+ percentage: number;
11419
+ } | null;
11414
11420
  messages: components$3["schemas"]["Message"][];
11415
11421
  }>;
11416
11422
  deleteChat: (chatId: string) => Promise<{
@@ -12189,7 +12195,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12189
12195
  outBytesUncompressed: number;
12190
12196
  };
12191
12197
  } & ({
12192
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12198
+ status: Exclude<JobStatus, "success" | "error">;
12193
12199
  results: null;
12194
12200
  } | {
12195
12201
  status: "error";
@@ -12235,7 +12241,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12235
12241
  outBytesUncompressed: number;
12236
12242
  };
12237
12243
  } & ({
12238
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12244
+ status: Exclude<JobStatus, "success" | "error">;
12239
12245
  results: null;
12240
12246
  } | {
12241
12247
  status: "error";
@@ -12274,7 +12280,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12274
12280
  outBytesUncompressed: number;
12275
12281
  };
12276
12282
  } & ({
12277
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12283
+ status: Exclude<JobStatus, "success" | "error">;
12278
12284
  results: null;
12279
12285
  } | {
12280
12286
  status: "error";
@@ -12313,7 +12319,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12313
12319
  outBytesUncompressed: number;
12314
12320
  };
12315
12321
  } & ({
12316
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12322
+ status: Exclude<JobStatus, "success" | "error">;
12317
12323
  results: null;
12318
12324
  } | {
12319
12325
  status: "error";
@@ -12352,7 +12358,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12352
12358
  outBytesUncompressed: number;
12353
12359
  };
12354
12360
  } & ({
12355
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12361
+ status: Exclude<JobStatus, "success" | "error">;
12356
12362
  results: null;
12357
12363
  } | {
12358
12364
  status: "error";
@@ -12391,7 +12397,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12391
12397
  outBytesUncompressed: number;
12392
12398
  };
12393
12399
  } & ({
12394
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12400
+ status: Exclude<JobStatus, "success" | "error">;
12395
12401
  results: null;
12396
12402
  } | {
12397
12403
  status: "error";
@@ -12430,7 +12436,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12430
12436
  outBytesUncompressed: number;
12431
12437
  };
12432
12438
  } & ({
12433
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12439
+ status: Exclude<JobStatus, "success" | "error">;
12434
12440
  results: null;
12435
12441
  } | {
12436
12442
  status: "error";
@@ -12475,7 +12481,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12475
12481
  outBytesUncompressed: number;
12476
12482
  };
12477
12483
  } & ({
12478
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12484
+ status: Exclude<JobStatus, "success" | "error">;
12479
12485
  results: null;
12480
12486
  } | {
12481
12487
  status: "error";
@@ -12514,7 +12520,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12514
12520
  outBytesUncompressed: number;
12515
12521
  };
12516
12522
  } & ({
12517
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12523
+ status: Exclude<JobStatus, "success" | "error">;
12518
12524
  results: null;
12519
12525
  } | {
12520
12526
  status: "error";
@@ -12596,7 +12602,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12596
12602
  outBytesUncompressed: number;
12597
12603
  };
12598
12604
  } & ({
12599
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12605
+ status: Exclude<JobStatus, "success" | "error">;
12600
12606
  results: null;
12601
12607
  } | {
12602
12608
  status: "error";
@@ -12641,7 +12647,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12641
12647
  outBytesUncompressed: number;
12642
12648
  };
12643
12649
  } & ({
12644
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12650
+ status: Exclude<JobStatus, "success" | "error">;
12645
12651
  results: null;
12646
12652
  } | {
12647
12653
  status: "error";
@@ -12683,7 +12689,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12683
12689
  outBytesUncompressed: number;
12684
12690
  };
12685
12691
  } & ({
12686
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12692
+ status: Exclude<JobStatus, "success" | "error">;
12687
12693
  results: null;
12688
12694
  } | {
12689
12695
  status: "error";
@@ -12725,7 +12731,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12725
12731
  outBytesUncompressed: number;
12726
12732
  };
12727
12733
  } & ({
12728
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12734
+ status: Exclude<JobStatus, "success" | "error">;
12729
12735
  results: null;
12730
12736
  } | {
12731
12737
  status: "error";
@@ -12768,7 +12774,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12768
12774
  outBytesUncompressed: number;
12769
12775
  };
12770
12776
  } & ({
12771
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12777
+ status: Exclude<JobStatus, "success" | "error">;
12772
12778
  results: null;
12773
12779
  } | {
12774
12780
  status: "error";
@@ -12815,7 +12821,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12815
12821
  outBytesUncompressed: number;
12816
12822
  };
12817
12823
  } & ({
12818
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12824
+ status: Exclude<JobStatus, "success" | "error">;
12819
12825
  results: null;
12820
12826
  } | {
12821
12827
  status: "error";
@@ -12856,7 +12862,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12856
12862
  outBytesUncompressed: number;
12857
12863
  };
12858
12864
  } & ({
12859
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12865
+ status: Exclude<JobStatus, "success" | "error">;
12860
12866
  results: null;
12861
12867
  } | {
12862
12868
  status: "error";
@@ -12897,7 +12903,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12897
12903
  outBytesUncompressed: number;
12898
12904
  };
12899
12905
  } & ({
12900
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12906
+ status: Exclude<JobStatus, "success" | "error">;
12901
12907
  results: null;
12902
12908
  } | {
12903
12909
  status: "error";
@@ -12938,7 +12944,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12938
12944
  outBytesUncompressed: number;
12939
12945
  };
12940
12946
  } & ({
12941
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12947
+ status: Exclude<JobStatus, "success" | "error">;
12942
12948
  results: null;
12943
12949
  } | {
12944
12950
  status: "error";
@@ -12987,7 +12993,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
12987
12993
  outBytesUncompressed: number;
12988
12994
  };
12989
12995
  } & ({
12990
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
12996
+ status: Exclude<JobStatus, "success" | "error">;
12991
12997
  results: null;
12992
12998
  } | {
12993
12999
  status: "success";
@@ -13031,7 +13037,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
13031
13037
  outBytesUncompressed: number;
13032
13038
  };
13033
13039
  } & ({
13034
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
13040
+ status: Exclude<JobStatus, "success" | "error">;
13035
13041
  results: null;
13036
13042
  } | {
13037
13043
  status: "error";
@@ -13085,7 +13091,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
13085
13091
  outBytesUncompressed: number;
13086
13092
  };
13087
13093
  } & ({
13088
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
13094
+ status: Exclude<JobStatus, "success" | "error">;
13089
13095
  results: null;
13090
13096
  } | {
13091
13097
  status: "error";
@@ -13130,7 +13136,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
13130
13136
  outBytesUncompressed: number;
13131
13137
  };
13132
13138
  } & ({
13133
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
13139
+ status: Exclude<JobStatus, "success" | "error">;
13134
13140
  results: null;
13135
13141
  } | {
13136
13142
  status: "success";
@@ -13489,7 +13495,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
13489
13495
  outBytesUncompressed: number;
13490
13496
  };
13491
13497
  } & ({
13492
- status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
13498
+ status: Exclude<JobStatus, "success" | "error">;
13493
13499
  results: null;
13494
13500
  } | {
13495
13501
  status: "error";
@@ -14212,6 +14218,140 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
14212
14218
  } | null;
14213
14219
  }>;
14214
14220
  };
14221
+ auth: {
14222
+ login: (body: LoginBody, signal?: AbortSignal) => Promise<{
14223
+ accessToken: string;
14224
+ refreshToken: string;
14225
+ tokenType: string;
14226
+ expiresIn: number;
14227
+ sessionId: string;
14228
+ user: components$8["schemas"]["UserLoggedInResponse"];
14229
+ } | {
14230
+ mfaRequired: boolean;
14231
+ mfaType: string;
14232
+ mfaToken: string;
14233
+ expiresIn: number;
14234
+ allowedMethods: string[];
14235
+ webauthn: Record<string, never> | null;
14236
+ }>;
14237
+ verifyMfa: (body: VerifyMfaBody, signal?: AbortSignal) => Promise<{
14238
+ accessToken: string;
14239
+ refreshToken: string;
14240
+ tokenType: string;
14241
+ expiresIn: number;
14242
+ sessionId: string;
14243
+ user: components$8["schemas"]["UserLoggedInResponse"];
14244
+ }>;
14245
+ regenerateRecoveryCodes: (signal?: AbortSignal) => Promise<{
14246
+ codes: string[];
14247
+ }>;
14248
+ sudo: (body: SudoBody, signal?: AbortSignal) => Promise<{
14249
+ sudoVerified: boolean;
14250
+ sudoExpiresAt: string;
14251
+ sudoTimeoutSeconds: number;
14252
+ }>;
14253
+ createSudoChallenge: (signal?: AbortSignal) => Promise<{
14254
+ challengeToken: string;
14255
+ options: Record<string, never>;
14256
+ expiresIn: number;
14257
+ }>;
14258
+ assertSaml: (body: AssertSamlBody, signal?: AbortSignal) => Promise<{
14259
+ accessToken: string;
14260
+ refreshToken: string;
14261
+ tokenType: string;
14262
+ expiresIn: number;
14263
+ sessionId: string;
14264
+ user: components$8["schemas"]["UserLoggedInResponse"];
14265
+ } | {
14266
+ mfaRequired: boolean;
14267
+ mfaType: string;
14268
+ mfaToken: string;
14269
+ expiresIn: number;
14270
+ allowedMethods: string[];
14271
+ webauthn: Record<string, never> | null;
14272
+ }>;
14273
+ initiateSaml: (body?: InitiateSamlBody, signal?: AbortSignal) => Promise<{
14274
+ ssoUrl: string;
14275
+ requestHandle: string;
14276
+ expiresIn: number;
14277
+ }>;
14278
+ createDeviceAuthorization: (body: CreateDeviceAuthorizationBody, signal?: AbortSignal) => Promise<{
14279
+ deviceCode: string;
14280
+ userCode: string;
14281
+ verificationUri: string;
14282
+ verificationUriComplete: string;
14283
+ expiresIn: number;
14284
+ interval: number;
14285
+ }>;
14286
+ approveDeviceAuthorization: (body: ApproveDeviceAuthorizationBody, signal?: AbortSignal) => Promise<{
14287
+ status: "approved" | "denied";
14288
+ idempotent: boolean;
14289
+ decision: components$8["schemas"]["DeviceApprovalDecision"];
14290
+ }>;
14291
+ getDeviceAuthorizationToken: (body: GetDeviceAuthorizationTokenBody, signal?: AbortSignal) => Promise<{
14292
+ accessToken: string;
14293
+ refreshToken: string;
14294
+ tokenType: string;
14295
+ expiresIn: number;
14296
+ sessionId: string;
14297
+ user: components$8["schemas"]["UserLoggedInResponse"];
14298
+ }>;
14299
+ getPkceToken: (body: GetPkceTokenBody, signal?: AbortSignal) => Promise<{
14300
+ accessToken: string;
14301
+ refreshToken: string;
14302
+ tokenType: string;
14303
+ expiresIn: number;
14304
+ sessionId: string;
14305
+ user: components$8["schemas"]["UserLoggedInResponse"];
14306
+ }>;
14307
+ listPats: (signal?: AbortSignal) => Promise<{
14308
+ items: components$8["schemas"]["PatItemResponse"][];
14309
+ }>;
14310
+ createPat: (body: CreatePatBody, signal?: AbortSignal) => Promise<{
14311
+ accessToken: string;
14312
+ tokenType: string;
14313
+ expiresIn: number;
14314
+ pat: components$8["schemas"]["PatItemResponse"];
14315
+ }>;
14316
+ exchangePat: (body?: ExchangePatBody, signal?: AbortSignal) => Promise<{
14317
+ accessToken: string;
14318
+ tokenType: string;
14319
+ expiresIn: number;
14320
+ scope: Record<string, never>;
14321
+ readOnly: boolean;
14322
+ parentTokenId: string;
14323
+ parentTokenType: "session" | "pat";
14324
+ expiresAt: string;
14325
+ pat: components$8["schemas"]["PatItemResponse"];
14326
+ }>;
14327
+ revokePat: (id: RevokePatPath["id"], signal?: AbortSignal) => Promise<void>;
14328
+ listSessions: (signal?: AbortSignal) => Promise<{
14329
+ sessions?: components$8["schemas"]["SessionItemResponse"][];
14330
+ }>;
14331
+ revokeAllSessions: (signal?: AbortSignal) => Promise<void>;
14332
+ revokeSession: (sessionId: RevokeSessionPath["sessionId"], signal?: AbortSignal) => Promise<void>;
14333
+ introspectToken: (signal?: AbortSignal) => Promise<{
14334
+ sessionId: string;
14335
+ user: components$8["schemas"]["UserLoggedInResponse"];
14336
+ grantType: string;
14337
+ sudoVerified: boolean;
14338
+ createdAt: string;
14339
+ expiresAt: string;
14340
+ lastUsedAt?: string | null;
14341
+ lastUsedIp?: string | null;
14342
+ userAgent?: string | null;
14343
+ projects: components$8["schemas"]["ProjectAccessItem"][];
14344
+ }>;
14345
+ refreshToken: (body: RefreshTokenBody, signal?: AbortSignal) => Promise<{
14346
+ accessToken: string;
14347
+ refreshToken: string;
14348
+ tokenType: string;
14349
+ expiresIn: number;
14350
+ sessionId: string;
14351
+ user: components$8["schemas"]["UserLoggedInResponse"];
14352
+ }>;
14353
+ revokeToken: (body: RevokeTokenBody, signal?: AbortSignal) => Promise<void>;
14354
+ };
14215
14355
  }>;
14216
14356
  type Clients = Awaited<ReturnType<typeof createClients>>;
14217
14357
  type ClientContext = Clients['context'];