@keboola/api-client 11.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.
- package/API-SURFACE.md +25 -1
- package/dist/ai/index.d.cts +2 -2
- package/dist/ai/index.d.ts +2 -2
- package/dist/ai/types.d.cts +2 -2
- package/dist/ai/types.d.ts +2 -2
- package/dist/auth/index.cjs +13 -0
- package/dist/auth/index.cjs.map +1 -0
- package/dist/auth/index.d.cts +142 -0
- package/dist/auth/index.d.ts +142 -0
- package/dist/auth/index.js +4 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/auth/types.cjs +4 -0
- package/dist/auth/types.cjs.map +1 -0
- package/dist/auth/types.d.cts +2 -0
- package/dist/auth/types.d.ts +2 -0
- package/dist/auth/types.js +3 -0
- package/dist/auth/types.js.map +1 -0
- package/dist/chat/index.d.cts +7 -2
- package/dist/chat/index.d.ts +7 -2
- package/dist/chat/types.d.cts +2 -2
- package/dist/chat/types.d.ts +2 -2
- package/dist/chunk-I3VK6VQT.js +113 -0
- package/dist/chunk-I3VK6VQT.js.map +1 -0
- package/dist/chunk-IL5MYBXL.cjs +115 -0
- package/dist/chunk-IL5MYBXL.cjs.map +1 -0
- package/dist/{chunk-D33KMSJH.cjs → chunk-TTPJSPZA.cjs} +5 -3
- package/dist/chunk-TTPJSPZA.cjs.map +1 -0
- package/dist/{chunk-CZEB3EGU.cjs → chunk-UFQVOZZ6.cjs} +18 -4
- package/dist/chunk-UFQVOZZ6.cjs.map +1 -0
- package/dist/{chunk-B7BBPROF.js → chunk-WFBQUWRC.js} +5 -3
- package/dist/chunk-WFBQUWRC.js.map +1 -0
- package/dist/{chunk-SCSYXYVM.js → chunk-YUTWLJBK.js} +18 -4
- package/dist/chunk-YUTWLJBK.js.map +1 -0
- package/dist/constants/index.cjs +2 -2
- package/dist/constants/index.d.cts +1 -0
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/index.js +1 -1
- package/dist/{createOpenapiFetchClient-CKNLT4ND.d.cts → createOpenapiFetchClient-DIsEiRUz.d.cts} +1 -1
- package/dist/{createOpenapiFetchClient-B50N1zkV.d.ts → createOpenapiFetchClient-Oi-KX-f-.d.ts} +1 -1
- package/dist/dataScience/index.d.cts +3 -3
- package/dist/dataScience/index.d.ts +3 -3
- package/dist/dataScience/types.d.cts +2 -2
- package/dist/dataScience/types.d.ts +2 -2
- package/dist/domain/permissions/index.d.cts +3 -3
- package/dist/domain/permissions/index.d.ts +3 -3
- package/dist/editor/index.d.cts +2 -2
- package/dist/editor/index.d.ts +2 -2
- package/dist/editor/types.d.cts +2 -2
- package/dist/editor/types.d.ts +2 -2
- package/dist/encryption/index.d.cts +2 -2
- package/dist/encryption/index.d.ts +2 -2
- package/dist/encryption/types.d.cts +2 -2
- package/dist/encryption/types.d.ts +2 -2
- package/dist/index.cjs +21 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +285 -61
- package/dist/index.d.ts +285 -61
- package/dist/index.js +13 -7
- package/dist/index.js.map +1 -1
- package/dist/management/index.d.cts +2 -2
- package/dist/management/index.d.ts +2 -2
- package/dist/metastore/index.d.cts +3 -3
- package/dist/metastore/index.d.ts +3 -3
- package/dist/metastore/types.d.cts +2 -2
- package/dist/metastore/types.d.ts +2 -2
- package/dist/notifications/index.d.cts +2 -2
- package/dist/notifications/index.d.ts +2 -2
- package/dist/notifications/types.d.cts +2 -2
- package/dist/notifications/types.d.ts +2 -2
- package/dist/{project-BxSa1Ci9.d.ts → project-D9FCXphc.d.ts} +1 -1
- package/dist/{project-NJuUPx8-.d.cts → project-DWdvh1ev.d.cts} +1 -1
- package/dist/queryService/index.d.cts +2 -2
- package/dist/queryService/index.d.ts +2 -2
- package/dist/queryService/types.d.cts +2 -2
- package/dist/queryService/types.d.ts +2 -2
- package/dist/queue/index.d.cts +2 -2
- package/dist/queue/index.d.ts +2 -2
- package/dist/queue/types.d.cts +2 -2
- package/dist/queue/types.d.ts +2 -2
- package/dist/{registry-nH4Zhbcp.d.cts → registry-BLItWxbK.d.cts} +12 -0
- package/dist/{registry-nH4Zhbcp.d.ts → registry-BLItWxbK.d.ts} +12 -0
- package/dist/scheduler/index.d.cts +1 -1
- package/dist/scheduler/index.d.ts +1 -1
- package/dist/scheduler/types.d.cts +1 -1
- package/dist/scheduler/types.d.ts +1 -1
- package/dist/sdk/configurations/index.cjs +3 -3
- package/dist/sdk/configurations/index.d.cts +42 -6
- package/dist/sdk/configurations/index.d.ts +42 -6
- package/dist/sdk/configurations/index.js +2 -2
- package/dist/sdk/storage/index.d.cts +5 -5
- package/dist/sdk/storage/index.d.ts +5 -5
- package/dist/sdk/tag/index.d.cts +3 -3
- package/dist/sdk/tag/index.d.ts +3 -3
- package/dist/sdk/tag/types.d.cts +3 -3
- package/dist/sdk/tag/types.d.ts +3 -3
- package/dist/sdk/vault/index.d.cts +3 -3
- package/dist/sdk/vault/index.d.ts +3 -3
- package/dist/storage/index.d.cts +4 -4
- package/dist/storage/index.d.ts +4 -4
- package/dist/storage/types.d.cts +5 -5
- package/dist/storage/types.d.ts +5 -5
- package/dist/{storageClient-Bk4H2HIw.d.ts → storageClient-Bm2xAtWJ.d.ts} +26 -26
- package/dist/{storageClient-CB4U57Pr.d.cts → storageClient-CeLEkQNI.d.cts} +26 -26
- package/dist/{storageSdk-BDrsuMDA.d.ts → storageSdk-CBM85gUk.d.cts} +20 -20
- package/dist/{storageSdk-wn97Zloc.d.cts → storageSdk-Db1TowTM.d.ts} +20 -20
- package/dist/stream/index.d.cts +2 -2
- package/dist/stream/index.d.ts +2 -2
- package/dist/stream/types.d.cts +2 -2
- package/dist/stream/types.d.ts +2 -2
- package/dist/syncActions/index.d.cts +2 -2
- package/dist/syncActions/index.d.ts +2 -2
- package/dist/syncActions/types.d.cts +1 -1
- package/dist/syncActions/types.d.ts +1 -1
- package/dist/{types-yKV1EX6f.d.ts → types-5hVwJbZy.d.ts} +1 -1
- package/dist/{types-DTkxk0fW.d.cts → types-BMHNYi_B.d.cts} +1 -1
- package/dist/{types-CWebeQXy.d.cts → types-BavhR4tO.d.cts} +1 -1
- package/dist/{types-D9cNOf-3.d.cts → types-BiylbcWm.d.cts} +1 -1
- package/dist/types-BsA3W6Mo.d.cts +1786 -0
- package/dist/{types-DsqDUWJn.d.cts → types-BsIu3NSe.d.cts} +1 -1
- package/dist/types-CBYDpcI1.d.ts +1786 -0
- package/dist/{types-BVldT2vs.d.cts → types-CD0r-1MV.d.cts} +1 -1
- package/dist/{types-CvHPHNH0.d.cts → types-CaoEwPpD.d.cts} +1 -1
- package/dist/{types-BxjcUj-y.d.cts → types-Coaofyh9.d.cts} +1 -1
- package/dist/{types-GmAeMsok.d.ts → types-Ct6wJf9k.d.ts} +1 -1
- package/dist/{types-CS8MYc2k.d.ts → types-CyQJ4AXd.d.ts} +1 -1
- package/dist/{types-DFWnAftN.d.cts → types-DHA8WCNr.d.ts} +1 -1
- package/dist/{types-D64zThBJ.d.ts → types-DLUrR6Xu.d.ts} +1 -1
- package/dist/{types-CFd7q2ed.d.ts → types-DLWBh7iV.d.ts} +1 -1
- package/dist/{types-CMEwVQ78.d.cts → types-DclddzzB.d.cts} +1 -1
- package/dist/{types-Bc-H4gfv.d.cts → types-QLM97gSa.d.cts} +7 -1
- package/dist/{types-JvKRS8Qd.d.ts → types-R6KVJSvx.d.ts} +7 -1
- package/dist/{types-D3Kkh6yW.d.ts → types-_uKmxlZr.d.ts} +1 -1
- package/dist/{types-jKnx7Tm_.d.cts → types-auVqO7UT.d.cts} +1 -1
- package/dist/{types-jKnx7Tm_.d.ts → types-auVqO7UT.d.ts} +1 -1
- package/dist/{types-Dv3vN7M9.d.ts → types-kPz1WIPX.d.cts} +1 -1
- package/dist/{types-Mghz1gMD.d.ts → types-njJEULW3.d.ts} +1 -1
- package/dist/{types-DacFMc6L.d.ts → types-rgoWljL8.d.ts} +1 -1
- package/dist/{utils-Cl4emy8g.d.ts → utils-BcMjZotB.d.ts} +1 -1
- package/dist/{utils-JsCYFmHj.d.cts → utils-IEMDjlU4.d.cts} +1 -1
- package/dist/vault/index.d.cts +1 -1
- package/dist/vault/index.d.ts +1 -1
- package/dist/vault/types.d.cts +1 -1
- package/dist/vault/types.d.ts +1 -1
- package/dist/verify/index.d.cts +2 -2
- package/dist/verify/index.d.ts +2 -2
- package/package.json +30 -4
- package/surface/auth.md +27 -0
- package/surface/chat.md +1 -1
- package/surface/sdk.md +3 -3
- package/dist/chunk-B7BBPROF.js.map +0 -1
- package/dist/chunk-CZEB3EGU.cjs.map +0 -1
- package/dist/chunk-D33KMSJH.cjs.map +0 -1
- package/dist/chunk-SCSYXYVM.js.map +0 -1
package/dist/index.d.cts
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-BsA3W6Mo.cjs';
|
|
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.cjs';
|
|
2
3
|
import { M as MiddlewareFn, c as BaseClientOptions, A as ApiResponse, H as HttpMethod } from './types-BLJoO6YL.cjs';
|
|
3
4
|
export { a as ApiError } from './types-BLJoO6YL.cjs';
|
|
4
5
|
import { StatusSummary } from './status/types.cjs';
|
|
5
6
|
import { Post } from './assets/types.cjs';
|
|
6
|
-
import { S as StorageToken, c as components$7, C as CreateTokenBody, U as UpdateTokenBody, a as ShareTokenBody } from './types-
|
|
7
|
+
import { S as StorageToken, c as components$7, C as CreateTokenBody, U as UpdateTokenBody, a as ShareTokenBody } from './types-DclddzzB.cjs';
|
|
7
8
|
import { StorageTableScope as StorageTable } from './domain/storageTable/index.cjs';
|
|
8
|
-
import { L as ListSubscriptionsQuery, c as components$6, G as GetSubscriptionPath, C as CreateSubscriptionBody, D as DeleteSubscriptionPath } from './types-
|
|
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-
|
|
9
|
+
import { L as ListSubscriptionsQuery, c as components$6, G as GetSubscriptionPath, C as CreateSubscriptionBody, D as DeleteSubscriptionPath } from './types-CD0r-1MV.cjs';
|
|
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-kPz1WIPX.cjs';
|
|
10
11
|
import { GetSchedulesQuery, ActivateScheduleBody, SchedulePath, ConfigurationPath as ConfigurationPath$1 } from './scheduler/types.cjs';
|
|
11
12
|
import { GetCredentialsQuery, Credential, CreateCredentialBody } from './oauth/types.cjs';
|
|
12
|
-
import {
|
|
13
|
+
import { d as OpenapiQueryType, c as OpenapiPathType, b as OpenapiBodyType, a as OpenapiReturnType } from './types-auVqO7UT.cjs';
|
|
13
14
|
import { U as UploadFileParams, a as UploadedFile } from './types-Dg1tEsVR.cjs';
|
|
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-
|
|
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-CaoEwPpD.cjs';
|
|
15
16
|
import { SuggestionsRequestBody, SuggestionsApiResponse } from './chat/suggestions.cjs';
|
|
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-
|
|
17
|
-
import { G as GetQueueJobPath, c as components$2, S as SearchJobsQuery } from './types-
|
|
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-
|
|
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-QLM97gSa.cjs';
|
|
18
|
+
import { G as GetQueueJobPath, c as components$2, S as SearchJobsQuery } from './types-Coaofyh9.cjs';
|
|
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-BiylbcWm.cjs';
|
|
19
20
|
import { CreateCredentialsBody, WorkspaceData } from './telemetry/types.cjs';
|
|
20
21
|
import { PostActionsBody, EnrollMFAInput, GetDataAppPublicGitRepositoryInput, GetDataAppPasswordPrivateGitRepositoryInput, GetDataAppSSHKeyPrivateGitRepositoryInput, GetPublicGitRepositoryInput, GetGitPrivateRepositoryInput } from './syncActions/types.cjs';
|
|
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-
|
|
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-BavhR4tO.cjs';
|
|
22
23
|
import { EncryptQuery, ScopedSecrets } from './encryption/types.cjs';
|
|
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-
|
|
24
|
-
export { p as parseLogLines } from './utils-
|
|
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-IEMDjlU4.cjs';
|
|
25
|
+
export { p as parseLogLines } from './utils-IEMDjlU4.cjs';
|
|
25
26
|
import { CreateVariableBody, VariableWithHash, DeleteVariablePath, GetVariablesQuery, GetVariablesByBranchId } from './vault/types.cjs';
|
|
26
|
-
import { a as EncryptionCtx } from './types-
|
|
27
|
-
import { M as MetaObject } from './types-
|
|
27
|
+
import { a as EncryptionCtx } from './types-BsIu3NSe.cjs';
|
|
28
|
+
import { M as MetaObject } from './types-BMHNYi_B.cjs';
|
|
28
29
|
import { TagWithBindings, TagData, CreateMetaObjectMetaDataInput, UpdateMetaObjectMetaDataInput } from './sdk/tag/types.cjs';
|
|
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.cjs';
|
|
33
|
-
import { R as RegisteredComponentId } from './registry-
|
|
34
|
-
import { C as ConcurrentOptions, M as MiddlewareFn$1 } from './storageClient-
|
|
35
|
-
export { a as concurrent } from './storageClient-
|
|
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.cjs';
|
|
34
|
+
import { R as RegisteredComponentId } from './registry-BLItWxbK.cjs';
|
|
35
|
+
import { C as ConcurrentOptions, M as MiddlewareFn$1 } from './storageClient-CeLEkQNI.cjs';
|
|
36
|
+
export { a as concurrent } from './storageClient-CeLEkQNI.cjs';
|
|
36
37
|
import { K as KeboolaObjectId } from './keboolaUID-D1DGSbge.cjs';
|
|
37
38
|
export { k as keboolaUID } from './keboolaUID-D1DGSbge.cjs';
|
|
38
39
|
import { B as Backend } from './backends-BgUzAQul.cjs';
|
|
@@ -41,12 +42,12 @@ export { c as createGenericFetchClient } from './createGenericFetchClient-CSHOaF
|
|
|
41
42
|
export { i as isManagementClientAuthError } from './authMiddleware-B9RM45AH.cjs';
|
|
42
43
|
import { ManagementToken } from './verify/types.cjs';
|
|
43
44
|
export { M as ManagementClientAuthError } from './ManagementClientAuthError-DNUPB6cb.cjs';
|
|
44
|
-
export { c as createStorageSdk } from './storageSdk-
|
|
45
|
+
export { c as createStorageSdk } from './storageSdk-CBM85gUk.cjs';
|
|
45
46
|
import 'qs';
|
|
46
47
|
import './encryption/index.cjs';
|
|
47
48
|
import './vault/index.cjs';
|
|
48
49
|
import './metastore/index.cjs';
|
|
49
|
-
import './createOpenapiFetchClient-
|
|
50
|
+
import './createOpenapiFetchClient-DIsEiRUz.cjs';
|
|
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[];
|
|
@@ -4584,6 +4585,18 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
4584
4585
|
database: zod.ZodString;
|
|
4585
4586
|
}, zod_v4_core.$strip>;
|
|
4586
4587
|
}, zod_v4_core.$strip>;
|
|
4588
|
+
}, zod_v4_core.$strip>> & Record<"keboola.ex-google-ads", zod.ZodObject<{
|
|
4589
|
+
authorization: zod.ZodObject<{
|
|
4590
|
+
oauth_api: zod.ZodObject<{
|
|
4591
|
+
id: zod.ZodString;
|
|
4592
|
+
version: zod.ZodOptional<zod.ZodNumber>;
|
|
4593
|
+
}, zod_v4_core.$strip>;
|
|
4594
|
+
}, zod_v4_core.$strip>;
|
|
4595
|
+
parameters: zod.ZodObject<{
|
|
4596
|
+
customerId: zod.ZodArray<zod.ZodString>;
|
|
4597
|
+
onlyEnabledCustomers: zod.ZodOptional<zod.ZodBoolean>;
|
|
4598
|
+
getAccountChildren: zod.ZodOptional<zod.ZodBoolean>;
|
|
4599
|
+
}, zod_v4_core.$strip>;
|
|
4587
4600
|
}, zod_v4_core.$strip>>)[ComponentId]>>;
|
|
4588
4601
|
runnable: boolean;
|
|
4589
4602
|
error: zod.ZodError<unknown> | undefined;
|
|
@@ -5454,6 +5467,18 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
5454
5467
|
database: zod.ZodString;
|
|
5455
5468
|
}, zod_v4_core.$strip>;
|
|
5456
5469
|
}, zod_v4_core.$strip>;
|
|
5470
|
+
}, zod_v4_core.$strip>> & Record<"keboola.ex-google-ads", zod.ZodObject<{
|
|
5471
|
+
authorization: zod.ZodObject<{
|
|
5472
|
+
oauth_api: zod.ZodObject<{
|
|
5473
|
+
id: zod.ZodString;
|
|
5474
|
+
version: zod.ZodOptional<zod.ZodNumber>;
|
|
5475
|
+
}, zod_v4_core.$strip>;
|
|
5476
|
+
}, zod_v4_core.$strip>;
|
|
5477
|
+
parameters: zod.ZodObject<{
|
|
5478
|
+
customerId: zod.ZodArray<zod.ZodString>;
|
|
5479
|
+
onlyEnabledCustomers: zod.ZodOptional<zod.ZodBoolean>;
|
|
5480
|
+
getAccountChildren: zod.ZodOptional<zod.ZodBoolean>;
|
|
5481
|
+
}, zod_v4_core.$strip>;
|
|
5457
5482
|
}, zod_v4_core.$strip>>)[ComponentId]> extends infer T ? T extends zod.input<(Record<never, never> & Record<"keboola.wr-db-mysql", zod.ZodObject<{
|
|
5458
5483
|
parameters: zod.ZodObject<{
|
|
5459
5484
|
db: zod.ZodObject<{
|
|
@@ -6318,6 +6343,18 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
6318
6343
|
database: zod.ZodString;
|
|
6319
6344
|
}, zod_v4_core.$strip>;
|
|
6320
6345
|
}, zod_v4_core.$strip>;
|
|
6346
|
+
}, zod_v4_core.$strip>> & Record<"keboola.ex-google-ads", zod.ZodObject<{
|
|
6347
|
+
authorization: zod.ZodObject<{
|
|
6348
|
+
oauth_api: zod.ZodObject<{
|
|
6349
|
+
id: zod.ZodString;
|
|
6350
|
+
version: zod.ZodOptional<zod.ZodNumber>;
|
|
6351
|
+
}, zod_v4_core.$strip>;
|
|
6352
|
+
}, zod_v4_core.$strip>;
|
|
6353
|
+
parameters: zod.ZodObject<{
|
|
6354
|
+
customerId: zod.ZodArray<zod.ZodString>;
|
|
6355
|
+
onlyEnabledCustomers: zod.ZodOptional<zod.ZodBoolean>;
|
|
6356
|
+
getAccountChildren: zod.ZodOptional<zod.ZodBoolean>;
|
|
6357
|
+
}, zod_v4_core.$strip>;
|
|
6321
6358
|
}, zod_v4_core.$strip>>)[ComponentId]> ? T extends object ? { [K in keyof T]?: (T[K] extends infer T_1 ? T_1 extends T[K] ? T_1 extends object ? { [K_2 in keyof T_1]?: (T_1[K_2] extends infer T_2 ? T_2 extends T_1[K_2] ? T_2 extends object ? { [K_3 in keyof T_2]?: (T_2[K_3] extends infer T_3 ? T_3 extends T_2[K_3] ? T_3 extends object ? { [K_4 in keyof T_3]?: (T_3[K_4] extends infer T_4 ? T_4 extends T_3[K_4] ? T_4 extends object ? { [K_5 in keyof T_4]?: (T_4[K_5] extends infer T_5 ? T_5 extends T_4[K_5] ? T_5 extends object ? { [K_6 in keyof T_5]?: (T_5[K_6] extends infer T_6 ? T_6 extends T_5[K_6] ? T_6 extends object ? { [K_7 in keyof T_6]?: (T_6[K_7] extends infer T_7 ? T_7 extends T_6[K_7] ? T_7 extends object ? { [K_8 in keyof T_7]?: (T_7[K_8] extends infer T_8 ? T_8 extends T_7[K_8] ? T_8 extends object ? { [K_9 in keyof T_8]?: (T_8[K_9] extends infer T_9 ? T_9 extends T_8[K_9] ? T_9 extends object ? { [K_10 in keyof T_9]?: (T_9[K_10] extends infer T_10 ? T_10 extends T_9[K_10] ? T_10 extends object ? { [K_11 in keyof T_10]?: /*elided*/ any | undefined; } : T_10 : never : never) | undefined; } : T_9 : never : never) | undefined; } : T_8 : never : never) | undefined; } : T_7 : never : never) | undefined; } : T_6 : never : never) | undefined; } : T_5 : never : never) | undefined; } : T_4 : never : never) | undefined; } : T_3 : never : never) | undefined; } : T_2 : never : never) | undefined; } : T_1 : never : never) | undefined; } : T : never : never;
|
|
6322
6359
|
}) => Promise<{
|
|
6323
6360
|
data: BaseComponentConfig<zod.input<(Record<never, never> & Record<"keboola.wr-db-mysql", zod.ZodObject<{
|
|
@@ -7184,6 +7221,18 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
7184
7221
|
database: zod.ZodString;
|
|
7185
7222
|
}, zod_v4_core.$strip>;
|
|
7186
7223
|
}, zod_v4_core.$strip>;
|
|
7224
|
+
}, zod_v4_core.$strip>> & Record<"keboola.ex-google-ads", zod.ZodObject<{
|
|
7225
|
+
authorization: zod.ZodObject<{
|
|
7226
|
+
oauth_api: zod.ZodObject<{
|
|
7227
|
+
id: zod.ZodString;
|
|
7228
|
+
version: zod.ZodOptional<zod.ZodNumber>;
|
|
7229
|
+
}, zod_v4_core.$strip>;
|
|
7230
|
+
}, zod_v4_core.$strip>;
|
|
7231
|
+
parameters: zod.ZodObject<{
|
|
7232
|
+
customerId: zod.ZodArray<zod.ZodString>;
|
|
7233
|
+
onlyEnabledCustomers: zod.ZodOptional<zod.ZodBoolean>;
|
|
7234
|
+
getAccountChildren: zod.ZodOptional<zod.ZodBoolean>;
|
|
7235
|
+
}, zod_v4_core.$strip>;
|
|
7187
7236
|
}, zod_v4_core.$strip>>)[ComponentId]>>;
|
|
7188
7237
|
runnable: boolean;
|
|
7189
7238
|
error: zod.ZodError<unknown> | undefined;
|
|
@@ -8054,6 +8103,18 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
8054
8103
|
database: zod.ZodString;
|
|
8055
8104
|
}, zod_v4_core.$strip>;
|
|
8056
8105
|
}, zod_v4_core.$strip>;
|
|
8106
|
+
}, zod_v4_core.$strip>> & Record<"keboola.ex-google-ads", zod.ZodObject<{
|
|
8107
|
+
authorization: zod.ZodObject<{
|
|
8108
|
+
oauth_api: zod.ZodObject<{
|
|
8109
|
+
id: zod.ZodString;
|
|
8110
|
+
version: zod.ZodOptional<zod.ZodNumber>;
|
|
8111
|
+
}, zod_v4_core.$strip>;
|
|
8112
|
+
}, zod_v4_core.$strip>;
|
|
8113
|
+
parameters: zod.ZodObject<{
|
|
8114
|
+
customerId: zod.ZodArray<zod.ZodString>;
|
|
8115
|
+
onlyEnabledCustomers: zod.ZodOptional<zod.ZodBoolean>;
|
|
8116
|
+
getAccountChildren: zod.ZodOptional<zod.ZodBoolean>;
|
|
8117
|
+
}, zod_v4_core.$strip>;
|
|
8057
8118
|
}, zod_v4_core.$strip>>)[ComponentId]> extends infer T ? T extends zod.input<(Record<never, never> & Record<"keboola.wr-db-mysql", zod.ZodObject<{
|
|
8058
8119
|
parameters: zod.ZodObject<{
|
|
8059
8120
|
db: zod.ZodObject<{
|
|
@@ -8918,6 +8979,18 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
8918
8979
|
database: zod.ZodString;
|
|
8919
8980
|
}, zod_v4_core.$strip>;
|
|
8920
8981
|
}, zod_v4_core.$strip>;
|
|
8982
|
+
}, zod_v4_core.$strip>> & Record<"keboola.ex-google-ads", zod.ZodObject<{
|
|
8983
|
+
authorization: zod.ZodObject<{
|
|
8984
|
+
oauth_api: zod.ZodObject<{
|
|
8985
|
+
id: zod.ZodString;
|
|
8986
|
+
version: zod.ZodOptional<zod.ZodNumber>;
|
|
8987
|
+
}, zod_v4_core.$strip>;
|
|
8988
|
+
}, zod_v4_core.$strip>;
|
|
8989
|
+
parameters: zod.ZodObject<{
|
|
8990
|
+
customerId: zod.ZodArray<zod.ZodString>;
|
|
8991
|
+
onlyEnabledCustomers: zod.ZodOptional<zod.ZodBoolean>;
|
|
8992
|
+
getAccountChildren: zod.ZodOptional<zod.ZodBoolean>;
|
|
8993
|
+
}, zod_v4_core.$strip>;
|
|
8921
8994
|
}, zod_v4_core.$strip>>)[ComponentId]> ? T extends object ? { [K in keyof T]?: (T[K] extends infer T_1 ? T_1 extends T[K] ? T_1 extends object ? { [K_2 in keyof T_1]?: (T_1[K_2] extends infer T_2 ? T_2 extends T_1[K_2] ? T_2 extends object ? { [K_3 in keyof T_2]?: (T_2[K_3] extends infer T_3 ? T_3 extends T_2[K_3] ? T_3 extends object ? { [K_4 in keyof T_3]?: (T_3[K_4] extends infer T_4 ? T_4 extends T_3[K_4] ? T_4 extends object ? { [K_5 in keyof T_4]?: (T_4[K_5] extends infer T_5 ? T_5 extends T_4[K_5] ? T_5 extends object ? { [K_6 in keyof T_5]?: (T_5[K_6] extends infer T_6 ? T_6 extends T_5[K_6] ? T_6 extends object ? { [K_7 in keyof T_6]?: (T_6[K_7] extends infer T_7 ? T_7 extends T_6[K_7] ? T_7 extends object ? { [K_8 in keyof T_7]?: (T_7[K_8] extends infer T_8 ? T_8 extends T_7[K_8] ? T_8 extends object ? { [K_9 in keyof T_8]?: (T_8[K_9] extends infer T_9 ? T_9 extends T_8[K_9] ? T_9 extends object ? { [K_10 in keyof T_9]?: (T_9[K_10] extends infer T_10 ? T_10 extends T_9[K_10] ? T_10 extends object ? { [K_11 in keyof T_10]?: /*elided*/ any | undefined; } : T_10 : never : never) | undefined; } : T_9 : never : never) | undefined; } : T_8 : never : never) | undefined; } : T_7 : never : never) | undefined; } : T_6 : never : never) | undefined; } : T_5 : never : never) | undefined; } : T_4 : never : never) | undefined; } : T_3 : never : never) | undefined; } : T_2 : never : never) | undefined; } : T_1 : never : never) | undefined; } : T : never : never;
|
|
8922
8995
|
} & {
|
|
8923
8996
|
mode?: "replace" | "merge";
|
|
@@ -9786,6 +9859,18 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
9786
9859
|
database: zod.ZodString;
|
|
9787
9860
|
}, zod_v4_core.$strip>;
|
|
9788
9861
|
}, zod_v4_core.$strip>;
|
|
9862
|
+
}, zod_v4_core.$strip>> & Record<"keboola.ex-google-ads", zod.ZodObject<{
|
|
9863
|
+
authorization: zod.ZodObject<{
|
|
9864
|
+
oauth_api: zod.ZodObject<{
|
|
9865
|
+
id: zod.ZodString;
|
|
9866
|
+
version: zod.ZodOptional<zod.ZodNumber>;
|
|
9867
|
+
}, zod_v4_core.$strip>;
|
|
9868
|
+
}, zod_v4_core.$strip>;
|
|
9869
|
+
parameters: zod.ZodObject<{
|
|
9870
|
+
customerId: zod.ZodArray<zod.ZodString>;
|
|
9871
|
+
onlyEnabledCustomers: zod.ZodOptional<zod.ZodBoolean>;
|
|
9872
|
+
getAccountChildren: zod.ZodOptional<zod.ZodBoolean>;
|
|
9873
|
+
}, zod_v4_core.$strip>;
|
|
9789
9874
|
}, zod_v4_core.$strip>>)[ComponentId]>>;
|
|
9790
9875
|
runnable: boolean;
|
|
9791
9876
|
error: zod.ZodError<unknown> | undefined;
|
|
@@ -9843,7 +9928,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
9843
9928
|
outBytesUncompressed: number;
|
|
9844
9929
|
};
|
|
9845
9930
|
} & ({
|
|
9846
|
-
status: Exclude<
|
|
9931
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
9847
9932
|
results: null;
|
|
9848
9933
|
} | {
|
|
9849
9934
|
status: "error";
|
|
@@ -9900,7 +9985,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
9900
9985
|
outBytesUncompressed: number;
|
|
9901
9986
|
};
|
|
9902
9987
|
} & ({
|
|
9903
|
-
status: Exclude<
|
|
9988
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
9904
9989
|
results: null;
|
|
9905
9990
|
} | {
|
|
9906
9991
|
status: "error";
|
|
@@ -9945,7 +10030,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
9945
10030
|
outBytesUncompressed: number;
|
|
9946
10031
|
};
|
|
9947
10032
|
} & ({
|
|
9948
|
-
status: Exclude<
|
|
10033
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
9949
10034
|
results: null;
|
|
9950
10035
|
} | {
|
|
9951
10036
|
status: "error";
|
|
@@ -9990,7 +10075,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
9990
10075
|
outBytesUncompressed: number;
|
|
9991
10076
|
};
|
|
9992
10077
|
} & ({
|
|
9993
|
-
status: Exclude<
|
|
10078
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
9994
10079
|
results: null;
|
|
9995
10080
|
} | {
|
|
9996
10081
|
status: "error";
|
|
@@ -10033,7 +10118,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
10033
10118
|
outBytesUncompressed: number;
|
|
10034
10119
|
};
|
|
10035
10120
|
} & ({
|
|
10036
|
-
status: Exclude<
|
|
10121
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
10037
10122
|
results: null;
|
|
10038
10123
|
} | {
|
|
10039
10124
|
status: "error";
|
|
@@ -10076,7 +10161,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
10076
10161
|
outBytesUncompressed: number;
|
|
10077
10162
|
};
|
|
10078
10163
|
} & ({
|
|
10079
|
-
status: Exclude<
|
|
10164
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
10080
10165
|
results: null;
|
|
10081
10166
|
} | {
|
|
10082
10167
|
status: "error";
|
|
@@ -10119,7 +10204,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
10119
10204
|
outBytesUncompressed: number;
|
|
10120
10205
|
};
|
|
10121
10206
|
} & ({
|
|
10122
|
-
status: Exclude<
|
|
10207
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
10123
10208
|
results: null;
|
|
10124
10209
|
} | {
|
|
10125
10210
|
status: "error";
|
|
@@ -10162,7 +10247,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
10162
10247
|
outBytesUncompressed: number;
|
|
10163
10248
|
};
|
|
10164
10249
|
} & ({
|
|
10165
|
-
status: Exclude<
|
|
10250
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
10166
10251
|
results: null;
|
|
10167
10252
|
} | {
|
|
10168
10253
|
status: "error";
|
|
@@ -10205,7 +10290,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
10205
10290
|
outBytesUncompressed: number;
|
|
10206
10291
|
};
|
|
10207
10292
|
} & ({
|
|
10208
|
-
status: Exclude<
|
|
10293
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
10209
10294
|
results: null;
|
|
10210
10295
|
} | {
|
|
10211
10296
|
status: "error";
|
|
@@ -10248,7 +10333,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
10248
10333
|
outBytesUncompressed: number;
|
|
10249
10334
|
};
|
|
10250
10335
|
} & ({
|
|
10251
|
-
status: Exclude<
|
|
10336
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
10252
10337
|
results: null;
|
|
10253
10338
|
} | {
|
|
10254
10339
|
status: "error";
|
|
@@ -10291,7 +10376,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
10291
10376
|
outBytesUncompressed: number;
|
|
10292
10377
|
};
|
|
10293
10378
|
} & ({
|
|
10294
|
-
status: Exclude<
|
|
10379
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
10295
10380
|
results: null;
|
|
10296
10381
|
} | {
|
|
10297
10382
|
status: "error";
|
|
@@ -10334,7 +10419,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
10334
10419
|
outBytesUncompressed: number;
|
|
10335
10420
|
};
|
|
10336
10421
|
} & ({
|
|
10337
|
-
status: Exclude<
|
|
10422
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
10338
10423
|
results: null;
|
|
10339
10424
|
} | {
|
|
10340
10425
|
status: "error";
|
|
@@ -10379,7 +10464,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
10379
10464
|
outBytesUncompressed: number;
|
|
10380
10465
|
};
|
|
10381
10466
|
} & ({
|
|
10382
|
-
status: Exclude<
|
|
10467
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
10383
10468
|
results: null;
|
|
10384
10469
|
} | {
|
|
10385
10470
|
status: "error";
|
|
@@ -10424,7 +10509,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
10424
10509
|
outBytesUncompressed: number;
|
|
10425
10510
|
};
|
|
10426
10511
|
} & ({
|
|
10427
|
-
status: Exclude<
|
|
10512
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
10428
10513
|
results: null;
|
|
10429
10514
|
} | {
|
|
10430
10515
|
status: "error";
|
|
@@ -10469,7 +10554,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
10469
10554
|
outBytesUncompressed: number;
|
|
10470
10555
|
};
|
|
10471
10556
|
} & ({
|
|
10472
|
-
status: Exclude<
|
|
10557
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
10473
10558
|
results: null;
|
|
10474
10559
|
} | {
|
|
10475
10560
|
status: "error";
|
|
@@ -10514,7 +10599,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
10514
10599
|
outBytesUncompressed: number;
|
|
10515
10600
|
};
|
|
10516
10601
|
} & ({
|
|
10517
|
-
status: Exclude<
|
|
10602
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
10518
10603
|
results: null;
|
|
10519
10604
|
} | {
|
|
10520
10605
|
status: "error";
|
|
@@ -10559,7 +10644,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
10559
10644
|
outBytesUncompressed: number;
|
|
10560
10645
|
};
|
|
10561
10646
|
} & ({
|
|
10562
|
-
status: Exclude<
|
|
10647
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
10563
10648
|
results: null;
|
|
10564
10649
|
} | {
|
|
10565
10650
|
status: "error";
|
|
@@ -10604,7 +10689,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
10604
10689
|
outBytesUncompressed: number;
|
|
10605
10690
|
};
|
|
10606
10691
|
} & ({
|
|
10607
|
-
status: Exclude<
|
|
10692
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
10608
10693
|
results: null;
|
|
10609
10694
|
} | {
|
|
10610
10695
|
status: "error";
|
|
@@ -11327,6 +11412,11 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
11327
11412
|
lastMessageAt: string;
|
|
11328
11413
|
visibility: "public" | "private";
|
|
11329
11414
|
branchId?: number | null;
|
|
11415
|
+
contextWindow?: {
|
|
11416
|
+
usedTokens: number;
|
|
11417
|
+
maxTokens: number;
|
|
11418
|
+
percentage: number;
|
|
11419
|
+
} | null;
|
|
11330
11420
|
messages: components$3["schemas"]["Message"][];
|
|
11331
11421
|
}>;
|
|
11332
11422
|
deleteChat: (chatId: string) => Promise<{
|
|
@@ -12105,7 +12195,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
12105
12195
|
outBytesUncompressed: number;
|
|
12106
12196
|
};
|
|
12107
12197
|
} & ({
|
|
12108
|
-
status: Exclude<
|
|
12198
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
12109
12199
|
results: null;
|
|
12110
12200
|
} | {
|
|
12111
12201
|
status: "error";
|
|
@@ -12151,7 +12241,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
12151
12241
|
outBytesUncompressed: number;
|
|
12152
12242
|
};
|
|
12153
12243
|
} & ({
|
|
12154
|
-
status: Exclude<
|
|
12244
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
12155
12245
|
results: null;
|
|
12156
12246
|
} | {
|
|
12157
12247
|
status: "error";
|
|
@@ -12190,7 +12280,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
12190
12280
|
outBytesUncompressed: number;
|
|
12191
12281
|
};
|
|
12192
12282
|
} & ({
|
|
12193
|
-
status: Exclude<
|
|
12283
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
12194
12284
|
results: null;
|
|
12195
12285
|
} | {
|
|
12196
12286
|
status: "error";
|
|
@@ -12229,7 +12319,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
12229
12319
|
outBytesUncompressed: number;
|
|
12230
12320
|
};
|
|
12231
12321
|
} & ({
|
|
12232
|
-
status: Exclude<
|
|
12322
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
12233
12323
|
results: null;
|
|
12234
12324
|
} | {
|
|
12235
12325
|
status: "error";
|
|
@@ -12268,7 +12358,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
12268
12358
|
outBytesUncompressed: number;
|
|
12269
12359
|
};
|
|
12270
12360
|
} & ({
|
|
12271
|
-
status: Exclude<
|
|
12361
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
12272
12362
|
results: null;
|
|
12273
12363
|
} | {
|
|
12274
12364
|
status: "error";
|
|
@@ -12307,7 +12397,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
12307
12397
|
outBytesUncompressed: number;
|
|
12308
12398
|
};
|
|
12309
12399
|
} & ({
|
|
12310
|
-
status: Exclude<
|
|
12400
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
12311
12401
|
results: null;
|
|
12312
12402
|
} | {
|
|
12313
12403
|
status: "error";
|
|
@@ -12346,7 +12436,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
12346
12436
|
outBytesUncompressed: number;
|
|
12347
12437
|
};
|
|
12348
12438
|
} & ({
|
|
12349
|
-
status: Exclude<
|
|
12439
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
12350
12440
|
results: null;
|
|
12351
12441
|
} | {
|
|
12352
12442
|
status: "error";
|
|
@@ -12391,7 +12481,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
12391
12481
|
outBytesUncompressed: number;
|
|
12392
12482
|
};
|
|
12393
12483
|
} & ({
|
|
12394
|
-
status: Exclude<
|
|
12484
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
12395
12485
|
results: null;
|
|
12396
12486
|
} | {
|
|
12397
12487
|
status: "error";
|
|
@@ -12430,7 +12520,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
12430
12520
|
outBytesUncompressed: number;
|
|
12431
12521
|
};
|
|
12432
12522
|
} & ({
|
|
12433
|
-
status: Exclude<
|
|
12523
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
12434
12524
|
results: null;
|
|
12435
12525
|
} | {
|
|
12436
12526
|
status: "error";
|
|
@@ -12512,7 +12602,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
12512
12602
|
outBytesUncompressed: number;
|
|
12513
12603
|
};
|
|
12514
12604
|
} & ({
|
|
12515
|
-
status: Exclude<
|
|
12605
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
12516
12606
|
results: null;
|
|
12517
12607
|
} | {
|
|
12518
12608
|
status: "error";
|
|
@@ -12557,7 +12647,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
12557
12647
|
outBytesUncompressed: number;
|
|
12558
12648
|
};
|
|
12559
12649
|
} & ({
|
|
12560
|
-
status: Exclude<
|
|
12650
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
12561
12651
|
results: null;
|
|
12562
12652
|
} | {
|
|
12563
12653
|
status: "error";
|
|
@@ -12599,7 +12689,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
12599
12689
|
outBytesUncompressed: number;
|
|
12600
12690
|
};
|
|
12601
12691
|
} & ({
|
|
12602
|
-
status: Exclude<
|
|
12692
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
12603
12693
|
results: null;
|
|
12604
12694
|
} | {
|
|
12605
12695
|
status: "error";
|
|
@@ -12641,7 +12731,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
12641
12731
|
outBytesUncompressed: number;
|
|
12642
12732
|
};
|
|
12643
12733
|
} & ({
|
|
12644
|
-
status: Exclude<
|
|
12734
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
12645
12735
|
results: null;
|
|
12646
12736
|
} | {
|
|
12647
12737
|
status: "error";
|
|
@@ -12684,7 +12774,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
12684
12774
|
outBytesUncompressed: number;
|
|
12685
12775
|
};
|
|
12686
12776
|
} & ({
|
|
12687
|
-
status: Exclude<
|
|
12777
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
12688
12778
|
results: null;
|
|
12689
12779
|
} | {
|
|
12690
12780
|
status: "error";
|
|
@@ -12731,7 +12821,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
12731
12821
|
outBytesUncompressed: number;
|
|
12732
12822
|
};
|
|
12733
12823
|
} & ({
|
|
12734
|
-
status: Exclude<
|
|
12824
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
12735
12825
|
results: null;
|
|
12736
12826
|
} | {
|
|
12737
12827
|
status: "error";
|
|
@@ -12772,7 +12862,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
12772
12862
|
outBytesUncompressed: number;
|
|
12773
12863
|
};
|
|
12774
12864
|
} & ({
|
|
12775
|
-
status: Exclude<
|
|
12865
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
12776
12866
|
results: null;
|
|
12777
12867
|
} | {
|
|
12778
12868
|
status: "error";
|
|
@@ -12813,7 +12903,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
12813
12903
|
outBytesUncompressed: number;
|
|
12814
12904
|
};
|
|
12815
12905
|
} & ({
|
|
12816
|
-
status: Exclude<
|
|
12906
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
12817
12907
|
results: null;
|
|
12818
12908
|
} | {
|
|
12819
12909
|
status: "error";
|
|
@@ -12854,7 +12944,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
12854
12944
|
outBytesUncompressed: number;
|
|
12855
12945
|
};
|
|
12856
12946
|
} & ({
|
|
12857
|
-
status: Exclude<
|
|
12947
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
12858
12948
|
results: null;
|
|
12859
12949
|
} | {
|
|
12860
12950
|
status: "error";
|
|
@@ -12903,7 +12993,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
12903
12993
|
outBytesUncompressed: number;
|
|
12904
12994
|
};
|
|
12905
12995
|
} & ({
|
|
12906
|
-
status: Exclude<
|
|
12996
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
12907
12997
|
results: null;
|
|
12908
12998
|
} | {
|
|
12909
12999
|
status: "success";
|
|
@@ -12947,7 +13037,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
12947
13037
|
outBytesUncompressed: number;
|
|
12948
13038
|
};
|
|
12949
13039
|
} & ({
|
|
12950
|
-
status: Exclude<
|
|
13040
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
12951
13041
|
results: null;
|
|
12952
13042
|
} | {
|
|
12953
13043
|
status: "error";
|
|
@@ -13001,7 +13091,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
13001
13091
|
outBytesUncompressed: number;
|
|
13002
13092
|
};
|
|
13003
13093
|
} & ({
|
|
13004
|
-
status: Exclude<
|
|
13094
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
13005
13095
|
results: null;
|
|
13006
13096
|
} | {
|
|
13007
13097
|
status: "error";
|
|
@@ -13046,7 +13136,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
13046
13136
|
outBytesUncompressed: number;
|
|
13047
13137
|
};
|
|
13048
13138
|
} & ({
|
|
13049
|
-
status: Exclude<
|
|
13139
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
13050
13140
|
results: null;
|
|
13051
13141
|
} | {
|
|
13052
13142
|
status: "success";
|
|
@@ -13405,7 +13495,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
13405
13495
|
outBytesUncompressed: number;
|
|
13406
13496
|
};
|
|
13407
13497
|
} & ({
|
|
13408
|
-
status: Exclude<
|
|
13498
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
13409
13499
|
results: null;
|
|
13410
13500
|
} | {
|
|
13411
13501
|
status: "error";
|
|
@@ -14128,6 +14218,140 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
14128
14218
|
} | null;
|
|
14129
14219
|
}>;
|
|
14130
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
|
+
};
|
|
14131
14355
|
}>;
|
|
14132
14356
|
type Clients = Awaited<ReturnType<typeof createClients>>;
|
|
14133
14357
|
type ClientContext = Clients['context'];
|