@keboola/api-client 50.0.0 → 51.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 +2 -1
- package/CHANGELOG.md +10 -0
- package/dist/apps/index.d.cts +10 -1
- package/dist/apps/index.d.ts +10 -1
- package/dist/apps/types.d.cts +1 -1
- package/dist/apps/types.d.ts +1 -1
- package/dist/encryption/index.d.cts +1 -1
- package/dist/encryption/index.d.ts +1 -1
- package/dist/encryption/types.d.cts +1 -1
- package/dist/encryption/types.d.ts +1 -1
- package/dist/{index-Xpu7qIZk.d.ts → index-BfAcp7O2.d.ts} +2 -2
- package/dist/{index-C9iNazAc.d.ts → index-BsT_cBJd.d.ts} +19 -5
- package/dist/{index-DXoN8VwV.d.cts → index-C1ndNdrN.d.cts} +2 -2
- package/dist/{index-CN0--VsY.d.ts → index-Day1Yr5s.d.ts} +5 -2
- package/dist/{index-CTMnmISl.d.cts → index-qJ2IjXIM.d.cts} +19 -5
- package/dist/{index-CCcdySOC.d.cts → index-xhzuWloV.d.cts} +5 -2
- package/dist/index.cjs +6 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/kaiAgent/index.cjs +1 -1
- package/dist/kaiAgent/index.d.cts +1 -1
- package/dist/kaiAgent/index.d.ts +1 -1
- package/dist/kaiAgent/index.js +1 -1
- package/dist/kaiAgent/types.d.cts +1 -1
- package/dist/kaiAgent/types.d.ts +1 -1
- package/dist/{kaiAgent-gaA7dqki.cjs → kaiAgent-CDhg0MAw.cjs} +11 -1
- package/dist/kaiAgent-CDhg0MAw.cjs.map +1 -0
- package/dist/{kaiAgent-D2TiMDjW.js → kaiAgent-CYU1Uda8.js} +11 -1
- package/dist/kaiAgent-CYU1Uda8.js.map +1 -0
- package/dist/queryService/index.d.cts +1 -1
- package/dist/queryService/index.d.ts +1 -1
- package/dist/queryService/types.d.cts +1 -1
- package/dist/queryService/types.d.ts +1 -1
- package/dist/queue/index.d.cts +1 -1
- package/dist/queue/index.d.ts +1 -1
- package/dist/sdk/configurations/index.d.cts +2 -2
- package/dist/sdk/configurations/index.d.ts +2 -2
- package/dist/sdk/queryService/index.d.cts +1 -1
- package/dist/sdk/queryService/index.d.ts +1 -1
- package/dist/sdk/vault/index.d.cts +1 -1
- package/dist/sdk/vault/index.d.ts +1 -1
- package/dist/storage/index.d.cts +2 -2
- package/dist/storage/index.d.ts +2 -2
- package/dist/storage/types.d.cts +1 -1
- package/dist/storage/types.d.ts +1 -1
- package/dist/{types-Dz9vyloX.d.ts → types-B8k1DqlU.d.ts} +124 -1
- package/dist/{types-BB49alHP.d.cts → types-BrEVh0WE.d.cts} +11 -2
- package/dist/{types-BfB-XXLF.d.ts → types-DKSUG2dZ.d.ts} +11 -2
- package/dist/{types-BCGrKW1K.d.cts → types-PZzNANiS.d.cts} +124 -1
- package/package.json +1 -1
- package/surface/apps.md +7 -7
- package/surface/kaiAgent.md +1 -0
- package/dist/kaiAgent-D2TiMDjW.js.map +0 -1
- package/dist/kaiAgent-gaA7dqki.cjs.map +0 -1
package/API-SURFACE.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Every namespace and method reachable from a ready `ProjectApi` — one project's api (`createKeboola(...).getProjectApi(id)` / `createLegacyKeboola(...).api`, or `useProjectApi()`). Generated from the TypeScript type checker — see `scripts/gen-surface.mjs`.
|
|
6
6
|
|
|
7
|
-
26 top-level namespaces,
|
|
7
|
+
26 top-level namespaces, 710 methods. This index lists method **names** only — full signatures live per namespace under [`surface/`](./surface). Open `surface/<namespace>.md` for the one you need.
|
|
8
8
|
|
|
9
9
|
## [`api.ai`](./surface/ai.md)
|
|
10
10
|
|
|
@@ -204,6 +204,7 @@ Every namespace and method reachable from a ready `ProjectApi` — one project's
|
|
|
204
204
|
- `updateAgentSettings`
|
|
205
205
|
- `updateProjectToolPolicy`
|
|
206
206
|
- `updateSpendCaps`
|
|
207
|
+
- `updateTurnCredential`
|
|
207
208
|
- `updateUserAgentSettings`
|
|
208
209
|
- `updateUserMemory`
|
|
209
210
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @keboola/api-client
|
|
2
2
|
|
|
3
|
+
## 51.0.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- `App.production` carries `desiredConfigVersion`, `actualConfigVersion` and `desiredCreatedAt`: the config versions of the desired and actual production deployments, and when the desired one was created.
|
|
8
|
+
|
|
9
|
+
- `session.auth.getHeadersAsync(projectId, { refreshThreshold })` renews the bearer token once it has used that share of its lifetime; without it, renewal stays near expiry.
|
|
10
|
+
|
|
11
|
+
- `api.kaiAgent.updateTurnCredential(chatId)` gives a chat's running Kai turn the credential the client now authenticates with, for a bearer token that rotated mid-turn.
|
|
12
|
+
|
|
3
13
|
## 50.0.0
|
|
4
14
|
|
|
5
15
|
### Major Changes
|
package/dist/apps/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as ClientInitOptions } from "../types-Dryq2GGE.cjs";
|
|
2
|
-
import { C as RunId, S as GetLogsTailQuery, b as GetAppsQuery, c as CreateCredentialBody, f as CredentialId, g as DeploymentId, l as CreateDeploymentBody, r as AppId, s as CreateAppBody, t as App, v as GetAppGitEntrypointsQuery, w as components, x as GetDeploymentsQuery, y as GetAppRunsQuery } from "../types-
|
|
2
|
+
import { C as RunId, S as GetLogsTailQuery, b as GetAppsQuery, c as CreateCredentialBody, f as CredentialId, g as DeploymentId, l as CreateDeploymentBody, r as AppId, s as CreateAppBody, t as App, v as GetAppGitEntrypointsQuery, w as components, x as GetDeploymentsQuery, y as GetAppRunsQuery } from "../types-BrEVh0WE.cjs";
|
|
3
3
|
import { t as LogEntry } from "../appLogs-CnLNMH7M.cjs";
|
|
4
4
|
/**
|
|
5
5
|
* Options every write takes.
|
|
@@ -38,6 +38,9 @@ declare const createAppsClient: ({ baseUrl, middlewares, auth }: ClientInitOptio
|
|
|
38
38
|
production: {
|
|
39
39
|
desiredDeploymentId?: string | null;
|
|
40
40
|
actualDeploymentId?: string | null;
|
|
41
|
+
desiredConfigVersion?: string | null;
|
|
42
|
+
actualConfigVersion?: string | null;
|
|
43
|
+
desiredCreatedAt?: string | null;
|
|
41
44
|
};
|
|
42
45
|
state: 'notDeployed' | 'starting' | 'running' | 'suspended' | 'disabled';
|
|
43
46
|
}[]>;
|
|
@@ -53,6 +56,9 @@ declare const createAppsClient: ({ baseUrl, middlewares, auth }: ClientInitOptio
|
|
|
53
56
|
production: {
|
|
54
57
|
desiredDeploymentId?: string | null;
|
|
55
58
|
actualDeploymentId?: string | null;
|
|
59
|
+
desiredConfigVersion?: string | null;
|
|
60
|
+
actualConfigVersion?: string | null;
|
|
61
|
+
desiredCreatedAt?: string | null;
|
|
56
62
|
};
|
|
57
63
|
state: 'notDeployed' | 'starting' | 'running' | 'suspended' | 'disabled';
|
|
58
64
|
}>;
|
|
@@ -68,6 +74,9 @@ declare const createAppsClient: ({ baseUrl, middlewares, auth }: ClientInitOptio
|
|
|
68
74
|
production: {
|
|
69
75
|
desiredDeploymentId?: string | null;
|
|
70
76
|
actualDeploymentId?: string | null;
|
|
77
|
+
desiredConfigVersion?: string | null;
|
|
78
|
+
actualConfigVersion?: string | null;
|
|
79
|
+
desiredCreatedAt?: string | null;
|
|
71
80
|
};
|
|
72
81
|
state: 'notDeployed' | 'starting' | 'running' | 'suspended' | 'disabled';
|
|
73
82
|
}>;
|
package/dist/apps/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as ClientInitOptions } from "../types-DUpVIuk7.js";
|
|
2
|
-
import { C as RunId, S as GetLogsTailQuery, b as GetAppsQuery, c as CreateCredentialBody, f as CredentialId, g as DeploymentId, l as CreateDeploymentBody, r as AppId, s as CreateAppBody, t as App, v as GetAppGitEntrypointsQuery, w as components, x as GetDeploymentsQuery, y as GetAppRunsQuery } from "../types-
|
|
2
|
+
import { C as RunId, S as GetLogsTailQuery, b as GetAppsQuery, c as CreateCredentialBody, f as CredentialId, g as DeploymentId, l as CreateDeploymentBody, r as AppId, s as CreateAppBody, t as App, v as GetAppGitEntrypointsQuery, w as components, x as GetDeploymentsQuery, y as GetAppRunsQuery } from "../types-DKSUG2dZ.js";
|
|
3
3
|
import { t as LogEntry } from "../appLogs-CTvZAihm.js";
|
|
4
4
|
/**
|
|
5
5
|
* Options every write takes.
|
|
@@ -38,6 +38,9 @@ declare const createAppsClient: ({ baseUrl, middlewares, auth }: ClientInitOptio
|
|
|
38
38
|
production: {
|
|
39
39
|
desiredDeploymentId?: string | null;
|
|
40
40
|
actualDeploymentId?: string | null;
|
|
41
|
+
desiredConfigVersion?: string | null;
|
|
42
|
+
actualConfigVersion?: string | null;
|
|
43
|
+
desiredCreatedAt?: string | null;
|
|
41
44
|
};
|
|
42
45
|
state: 'notDeployed' | 'starting' | 'running' | 'suspended' | 'disabled';
|
|
43
46
|
}[]>;
|
|
@@ -53,6 +56,9 @@ declare const createAppsClient: ({ baseUrl, middlewares, auth }: ClientInitOptio
|
|
|
53
56
|
production: {
|
|
54
57
|
desiredDeploymentId?: string | null;
|
|
55
58
|
actualDeploymentId?: string | null;
|
|
59
|
+
desiredConfigVersion?: string | null;
|
|
60
|
+
actualConfigVersion?: string | null;
|
|
61
|
+
desiredCreatedAt?: string | null;
|
|
56
62
|
};
|
|
57
63
|
state: 'notDeployed' | 'starting' | 'running' | 'suspended' | 'disabled';
|
|
58
64
|
}>;
|
|
@@ -68,6 +74,9 @@ declare const createAppsClient: ({ baseUrl, middlewares, auth }: ClientInitOptio
|
|
|
68
74
|
production: {
|
|
69
75
|
desiredDeploymentId?: string | null;
|
|
70
76
|
actualDeploymentId?: string | null;
|
|
77
|
+
desiredConfigVersion?: string | null;
|
|
78
|
+
actualConfigVersion?: string | null;
|
|
79
|
+
desiredCreatedAt?: string | null;
|
|
71
80
|
};
|
|
72
81
|
state: 'notDeployed' | 'starting' | 'running' | 'suspended' | 'disabled';
|
|
73
82
|
}>;
|
package/dist/apps/types.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { C as RunId, S as GetLogsTailQuery, _ as DeploymentRunState, a as AppRun, b as GetAppsQuery, c as CreateCredentialBody, d as Credential, f as CredentialId, g as DeploymentId, h as DeploymentBuildState, i as AppPassword, l as CreateDeploymentBody, m as Deployment, n as AppGitRepo, o as AppState, p as CredentialList, r as AppId, s as CreateAppBody, t as App, u as CreatedCredential, v as GetAppGitEntrypointsQuery, x as GetDeploymentsQuery, y as GetAppRunsQuery } from "../types-
|
|
1
|
+
import { C as RunId, S as GetLogsTailQuery, _ as DeploymentRunState, a as AppRun, b as GetAppsQuery, c as CreateCredentialBody, d as Credential, f as CredentialId, g as DeploymentId, h as DeploymentBuildState, i as AppPassword, l as CreateDeploymentBody, m as Deployment, n as AppGitRepo, o as AppState, p as CredentialList, r as AppId, s as CreateAppBody, t as App, u as CreatedCredential, v as GetAppGitEntrypointsQuery, x as GetDeploymentsQuery, y as GetAppRunsQuery } from "../types-BrEVh0WE.cjs";
|
|
2
2
|
import { t as LogEntry } from "../appLogs-CnLNMH7M.cjs";
|
|
3
3
|
export { App, AppGitRepo, AppId, AppPassword, AppRun, AppState, CreateAppBody, CreateCredentialBody, CreateDeploymentBody, CreatedCredential, Credential, CredentialId, CredentialList, Deployment, DeploymentBuildState, DeploymentId, DeploymentRunState, GetAppGitEntrypointsQuery, GetAppRunsQuery, GetAppsQuery, GetDeploymentsQuery, GetLogsTailQuery, type LogEntry, RunId };
|
package/dist/apps/types.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { C as RunId, S as GetLogsTailQuery, _ as DeploymentRunState, a as AppRun, b as GetAppsQuery, c as CreateCredentialBody, d as Credential, f as CredentialId, g as DeploymentId, h as DeploymentBuildState, i as AppPassword, l as CreateDeploymentBody, m as Deployment, n as AppGitRepo, o as AppState, p as CredentialList, r as AppId, s as CreateAppBody, t as App, u as CreatedCredential, v as GetAppGitEntrypointsQuery, x as GetDeploymentsQuery, y as GetAppRunsQuery } from "../types-
|
|
1
|
+
import { C as RunId, S as GetLogsTailQuery, _ as DeploymentRunState, a as AppRun, b as GetAppsQuery, c as CreateCredentialBody, d as Credential, f as CredentialId, g as DeploymentId, h as DeploymentBuildState, i as AppPassword, l as CreateDeploymentBody, m as Deployment, n as AppGitRepo, o as AppState, p as CredentialList, r as AppId, s as CreateAppBody, t as App, u as CreatedCredential, v as GetAppGitEntrypointsQuery, x as GetDeploymentsQuery, y as GetAppRunsQuery } from "../types-DKSUG2dZ.js";
|
|
2
2
|
import { t as LogEntry } from "../appLogs-CTvZAihm.js";
|
|
3
3
|
export { App, AppGitRepo, AppId, AppPassword, AppRun, AppState, CreateAppBody, CreateCredentialBody, CreateDeploymentBody, CreatedCredential, Credential, CredentialId, CredentialList, Deployment, DeploymentBuildState, DeploymentId, DeploymentRunState, GetAppGitEntrypointsQuery, GetAppRunsQuery, GetAppsQuery, GetDeploymentsQuery, GetLogsTailQuery, type LogEntry, RunId };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createEncryptionClient } from "../index-
|
|
1
|
+
import { t as createEncryptionClient } from "../index-qJ2IjXIM.cjs";
|
|
2
2
|
export { createEncryptionClient };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createEncryptionClient } from "../index-
|
|
1
|
+
import { t as createEncryptionClient } from "../index-BsT_cBJd.js";
|
|
2
2
|
export { createEncryptionClient };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as EncryptParamsByScope, c as ScopedSecrets, i as EncryptParams, n as BranchType, o as EncryptQuery, r as EncryptBody, s as EncryptionScope } from "../index-
|
|
1
|
+
import { a as EncryptParamsByScope, c as ScopedSecrets, i as EncryptParams, n as BranchType, o as EncryptQuery, r as EncryptBody, s as EncryptionScope } from "../index-qJ2IjXIM.cjs";
|
|
2
2
|
export { BranchType, EncryptBody, EncryptParams, EncryptParamsByScope, EncryptQuery, EncryptionScope, ScopedSecrets };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as EncryptParamsByScope, c as ScopedSecrets, i as EncryptParams, n as BranchType, o as EncryptQuery, r as EncryptBody, s as EncryptionScope } from "../index-
|
|
1
|
+
import { a as EncryptParamsByScope, c as ScopedSecrets, i as EncryptParams, n as BranchType, o as EncryptQuery, r as EncryptBody, s as EncryptionScope } from "../index-BsT_cBJd.js";
|
|
2
2
|
export { BranchType, EncryptBody, EncryptParams, EncryptParamsByScope, EncryptQuery, EncryptionScope, ScopedSecrets };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { pt as WorkspaceSqlConnection, rt as WorkspaceConnection } from "./index-D1mduJne.js";
|
|
2
|
-
import { Sa as Subscriber } from "./index-
|
|
2
|
+
import { Sa as Subscriber } from "./index-BsT_cBJd.js";
|
|
3
3
|
declare const isSqlWorkspaceConnection: (connection: WorkspaceConnection) => connection is WorkspaceSqlConnection;
|
|
4
4
|
/**
|
|
5
5
|
* Encodes subscribers as GCP IAM principals (`user:`/`group:`); `fromBackendSubscribers` decodes.
|
|
@@ -7,4 +7,4 @@ declare const isSqlWorkspaceConnection: (connection: WorkspaceConnection) => con
|
|
|
7
7
|
declare const toBackendSubscribers: (subscribers: Subscriber[]) => string[];
|
|
8
8
|
declare const fromBackendSubscribers: (raw: string[]) => Subscriber[];
|
|
9
9
|
export { toBackendSubscribers as n, isSqlWorkspaceConnection as r, fromBackendSubscribers as t };
|
|
10
|
-
//# sourceMappingURL=index-
|
|
10
|
+
//# sourceMappingURL=index-BfAcp7O2.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as DescribeConfigurationVersionBody, d as SuggestComponentBody, f as components$1, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, r as DescribeConfigurationBody, s as DocsQuestionBody } from "./types-inG9y3dP.js";
|
|
2
2
|
import { $ as UnloadWorkspaceInput, A as BatchRestoreConfigurationsResult, Ar as DevBranch, B as DeleteWorkspaceObjectInput, Br as CreateJobBody, Et as BucketDetailInclude, F as JobOperation, Ft as BucketWith, G as GetWorkspacePath, Gt as GetBucketInput, H as DeleteWorkspacePath, Hr as KillJobPath, Ht as DeleteBucketInput, Ir as components$2, Jr as SearchGroupedJobsQuery, K as GetWorkspaceSaml2LoginPath, Kt as GetBucketOwnerInput, L as StorageJobStatus, Ln as GetDataPreviewInput, Lr as paths$1, Lt as CreateBucketInput, M as GetJobsQuery, Nn as DeleteTablesInput, O as BatchConfigurationsOutcome, Or as CreateDevBranchBody, Ot as BucketDetailWith, P as Job, Pn as ExportAsyncInput, Pr as UpdateDevBranchInput, Qn as PullTableAsyncInput, Qr as components$3, R as SucceededJob, Sr as UpdateTableDefinitionInput, Tn as DeleteTableMetadataInput, Tr as UpdateTableInput, Tt as BucketDetail, U as DeleteWorkspacesInput, Un as GetTablesInput, Ut as DeleteBucketMetadataInput, Vn as GetTableInput, Vr as GetQueueJobPath, Vt as DeleteBucketAsyncInput, W as GetWorkspaceObjectsPath, Wr as OrchestrationRerunPlanPath, X as SetWorkspacePublicInput, Xr as SearchJobsQuery, Y as ResetWorkspacePasswordPath, Yt as GetBucketsInput, _n as CreateTableAsyncInput, _r as TableIncludes, _t as CreateConfigurationWorkspaceInput, an as UpdateBucketOwnerInput, bt as CreatedWorkspace, c as OpenapiQueryType, ci as HttpMethod, d as WithIncludes, dr as TableDetail, en as SaveBucketMetadataInput, f as UploadProgress, gr as TableInclude, ht as ConfigurationUseCaseType, i as OpenapiExcludeQueryType, j as GetJobPath, jr as SaveDevBranchMetadataInput, k as BatchPurgeConfigurationsResult, kn as DeleteTableRowsInput, kr as DeleteDevBranchMetadataPath, kt as BucketInclude, l as OpenapiReturnType, li as MiddlewareFn$1, ln as CreateAliasTableInput, lr as Table, nr as SaveTableMetadataInput, nt as Workspace, o as OpenapiIncludeQueryType, oi as ApiResponse, or as SetAliasTableFilterInput, ot as WorkspaceInputMappingLoadPreviewInput, p as createGenericFetchClient, q as GetWorkspacesPath, qn as ImportAsyncInput, qr as SearchAllJobsQuery, r as OpenapiBodyType, rn as UpdateBucketInput, s as OpenapiPathType, t as createOpenapiFetchClient, tr as SaveMetadataBody, u as WithExcludes, wn as DeleteTableInput, xn as CreateTableDefinitionInput, xt as GetConfigurationWorkspacesPath, yr as TableWith } from "./index-D1mduJne.js";
|
|
3
3
|
import { n as ClientInitOptions } from "./types-DUpVIuk7.js";
|
|
4
|
-
import { C as RunId, S as GetLogsTailQuery, b as GetAppsQuery, c as CreateCredentialBody, f as CredentialId, g as DeploymentId, l as CreateDeploymentBody, r as AppId, s as CreateAppBody, t as App, v as GetAppGitEntrypointsQuery, w as components$4, x as GetDeploymentsQuery, y as GetAppRunsQuery } from "./types-
|
|
4
|
+
import { C as RunId, S as GetLogsTailQuery, b as GetAppsQuery, c as CreateCredentialBody, f as CredentialId, g as DeploymentId, l as CreateDeploymentBody, r as AppId, s as CreateAppBody, t as App, v as GetAppGitEntrypointsQuery, w as components$4, x as GetDeploymentsQuery, y as GetAppRunsQuery } from "./types-DKSUG2dZ.js";
|
|
5
5
|
import { t as LogEntry } from "./appLogs-CTvZAihm.js";
|
|
6
6
|
import { r as createAuthClient } from "./authClient-JtMVJWXY.js";
|
|
7
7
|
import { A as components$5, C as UserAgentSettings, E as VoteRequest, S as UsageResponse, T as Vote, b as UpdateAgentSettingsRequest, d as GetVotesQuery, l as GetChatPath, m as ProjectToolPolicy, o as ChatRequest, t as AgentSettings, u as GetHistoryQuery, x as UpdateUserAgentSettingsRequest, y as ToolsListResponse } from "./types--Rp5wvaz.js";
|
|
@@ -24,8 +24,8 @@ import { a as KaiMemoryStatus, r as KaiMemoryItem, s as UpdateKaiMemoryMeta, t a
|
|
|
24
24
|
import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath, t as AnyVariable } from "./types-DRCttnIN.js";
|
|
25
25
|
import { t as createVaultClient } from "./index-lTrNMlj6.js";
|
|
26
26
|
import { n as WriteTableInput, t as UploadFileInput } from "./types-ZZwdKCBl.js";
|
|
27
|
-
import { c as GetChatPath$1, d as PrepareChatRequest, f as UsageResponse$1, i as ChatRequest$1, l as GetHistoryQuery$1, n as ArtifactListResponse, o as GetArtifactPath, p as VoteRequest$1, r as ArtifactResponse, s as GetArtifactsQuery, t as ApprovalBody, u as GetVotesQuery$1 } from "./types-
|
|
28
|
-
import { a as UserAgentSettings$1, i as SpendCapsView, n as MemorySaveMode, o as UserMemory, r as SpendCapMember, t as AgentSettings$1 } from "./index-
|
|
27
|
+
import { c as GetChatPath$1, d as PrepareChatRequest, f as UsageResponse$1, i as ChatRequest$1, l as GetHistoryQuery$1, n as ArtifactListResponse, o as GetArtifactPath, p as VoteRequest$1, r as ArtifactResponse, s as GetArtifactsQuery, t as ApprovalBody, u as GetVotesQuery$1 } from "./types-B8k1DqlU.js";
|
|
28
|
+
import { a as UserAgentSettings$1, i as SpendCapsView, n as MemorySaveMode, o as UserMemory, r as SpendCapMember, t as AgentSettings$1 } from "./index-Day1Yr5s.js";
|
|
29
29
|
import { a as SubscriptionId, n as ListSubscriptionsQuery, s as components$8, t as CreateSubscriptionBody } from "./types-CWcdaq-K.js";
|
|
30
30
|
import { a as CredentialInput, c as GetCredentialsInput, r as CreateCredentialInput } from "./types-D6lre27s.js";
|
|
31
31
|
import { h as components$9, m as TablesLineageResponse, n as GetTablesLineageQuery, t as GetProjectsLineageQuery } from "./types-wYrC2boT.js";
|
|
@@ -7439,6 +7439,9 @@ declare const createProjectClients: ({ baseUrl, getStorageToken, onStorageTokenR
|
|
|
7439
7439
|
production: {
|
|
7440
7440
|
desiredDeploymentId?: string | null;
|
|
7441
7441
|
actualDeploymentId?: string | null;
|
|
7442
|
+
desiredConfigVersion?: string | null;
|
|
7443
|
+
actualConfigVersion?: string | null;
|
|
7444
|
+
desiredCreatedAt?: string | null;
|
|
7442
7445
|
};
|
|
7443
7446
|
state: 'notDeployed' | 'starting' | 'running' | 'suspended' | 'disabled';
|
|
7444
7447
|
}[]>;
|
|
@@ -7454,6 +7457,9 @@ declare const createProjectClients: ({ baseUrl, getStorageToken, onStorageTokenR
|
|
|
7454
7457
|
production: {
|
|
7455
7458
|
desiredDeploymentId?: string | null;
|
|
7456
7459
|
actualDeploymentId?: string | null;
|
|
7460
|
+
desiredConfigVersion?: string | null;
|
|
7461
|
+
actualConfigVersion?: string | null;
|
|
7462
|
+
desiredCreatedAt?: string | null;
|
|
7457
7463
|
};
|
|
7458
7464
|
state: 'notDeployed' | 'starting' | 'running' | 'suspended' | 'disabled';
|
|
7459
7465
|
}>;
|
|
@@ -7471,6 +7477,9 @@ declare const createProjectClients: ({ baseUrl, getStorageToken, onStorageTokenR
|
|
|
7471
7477
|
production: {
|
|
7472
7478
|
desiredDeploymentId?: string | null;
|
|
7473
7479
|
actualDeploymentId?: string | null;
|
|
7480
|
+
desiredConfigVersion?: string | null;
|
|
7481
|
+
actualConfigVersion?: string | null;
|
|
7482
|
+
desiredCreatedAt?: string | null;
|
|
7474
7483
|
};
|
|
7475
7484
|
state: 'notDeployed' | 'starting' | 'running' | 'suspended' | 'disabled';
|
|
7476
7485
|
}>;
|
|
@@ -8240,6 +8249,9 @@ declare const createProjectClients: ({ baseUrl, getStorageToken, onStorageTokenR
|
|
|
8240
8249
|
output?: string;
|
|
8241
8250
|
errorText?: string;
|
|
8242
8251
|
}) => Promise<void>;
|
|
8252
|
+
updateTurnCredential: (chatId: string) => Promise<{
|
|
8253
|
+
updated: boolean;
|
|
8254
|
+
}>;
|
|
8243
8255
|
stopChat: (chatId: string) => Promise<{
|
|
8244
8256
|
stopped: boolean;
|
|
8245
8257
|
}>;
|
|
@@ -9764,7 +9776,9 @@ declare const createKeboola: ({ defaultBaseUrl, storage, middlewares, clientServ
|
|
|
9764
9776
|
/** Whether the active stack holds a credential — `restoring` is not one yet. */
|
|
9765
9777
|
isAuthenticated: () => boolean;
|
|
9766
9778
|
isAuthenticatedAsync: () => Promise<boolean>;
|
|
9767
|
-
getHeadersAsync: (projectId: ProjectId
|
|
9779
|
+
getHeadersAsync: (projectId: ProjectId, { refreshThreshold }?: {
|
|
9780
|
+
refreshThreshold?: number;
|
|
9781
|
+
}) => Promise<Record<string, string>>;
|
|
9768
9782
|
};
|
|
9769
9783
|
};
|
|
9770
9784
|
};
|
|
@@ -15100,4 +15114,4 @@ declare const createEncryptionClient: ({ baseUrl, middlewares }: Omit<ClientInit
|
|
|
15100
15114
|
}, signal?: AbortSignal) => Promise<string>;
|
|
15101
15115
|
};
|
|
15102
15116
|
export { GetQueryResutsQuery as $, ComponentIncludes as $a, BucketRegistrationGuidePath as $i, GetMergeRequestSchemaQuery as $n, CreateConfigurationRowInput as $o, DeleteConfigurationMetadataPath as $r, Store as $t, RetryOptions as A, LinkBucketPath as Aa, GetEventsPath as Ai, GlobalSearchItem as An, RebaseConfigurationDiff as Ao, ConfigurationVersionPath as Ar, Stack$1 as At, LegacySession as B, SharedBucketInclude as Ba, CreateTablePrimaryKeyBody as Bi, SearchTablesSchemaQuery as Bn, SearchComponentConfigurationWith as Bo, CopyConfigurationRowFromVersionSchemaBody as Br, StorageAdapter as Bt, DefaultBranch as C, UpdateBucketListingBody as Ca, CreatedEvent as Ci, GetSnapshotPath as Cn, CreatorToken as Co, ConfigurationRowVersionWith as Cr, readableReason as Cs, GrantType as Ct, jobStatus as D, ForceUnlinkBucketSchemaPath as Da, GetBucketEventsQuery as Di, Snapshot as Dn, PurgeConfigurationInput as Do, ConfigurationVersionDetailPath as Dr, KeboolaError as Dt, createAdminAccount as E, ForceUnlinkBucketInput as Ea, GetBucketEventsPath as Ei, GetTableSnapshotsQuery as En, GetSearchComponentConfigurationsPath as Eo, ConfigurationVersionDetail as Er, UserError as Es, State$1 as Et, LoggingOptions as F, ShareBucketToProjectsInput as Fa, StorageEvent as Fi, SearchTable as Fn, RebaseConfigurationToDeletedInput as Fo, CopyConfigurationFromVersionInput as Fr, series as Ft, StackApi as G, SharedBucketsSchemaQuery as Ga, DeleteTableColumnInput as Gi, UpdateTriggerBody as Gn, UpdateConfigurationInput as Go, GetConfigurationVersionsQuery as Gr, deepMerge as Gt, createKeboola as H, SharedBucketWith as Ha, CreateTablePrimaryKeyPath as Hi, DeleteTriggerPath as Hn, SearchComponentConfigurationsQuery as Ho, GetConfigurationRowVersionsQuery as Hr, createMemoryStorage as Ht, RequestLog as I, ShareBucketToProjectsPath as Ia, StorageEventRaw as Ii, SearchTableWith as In, RestoreConfigurationsInput as Io, CopyConfigurationFromVersionPath as Ir, queueSeries as It, GetExportResultsQuery as J, Component as Ja, RemoveTablePrimaryKeyInput as Ji, CreateMergeRequestBody as Jn, UpdateConfigurationSchemaQuery as Jo, RollbackConfigurationRowToVersionSchemaBody as Jr, AsyncState as Jt, QueryJobPollOptions as K, SharingTargets as Ka, DeleteTableColumnPath as Ki, UpdateTriggerInput as Kn, UpdateConfigurationResult as Ko, GetConfigurationVersionsSchemaQuery as Kr, isEmptyDeep as Kt, ResponseLog as L, ShareBucketToUsersBody as La, AddTableColumnBody as Li, SearchTablesInclude as Ln, SearchComponentConfiguration as Lo, CopyConfigurationFromVersionResult as Lr, Cell as Lt, Log as M, ShareBucketToOrganizationInput as Ma, GetTableEventsInput as Mi, GlobalSearchQuery as Mn, RebaseConfigurationPath as Mo, ConfigurationVersionWith as Mr, Result as Mt, LogLevel as N, ShareBucketToOrganizationProjectInput as Na, GetTableEventsPath as Ni, GlobalSearchResponse as Nn, RebaseConfigurationRow as No, ConfigurationVersionsSchemaPath as Nr, Success as Nt, KeboolaHttpHeader as O, LinkBucketBody as Oa, GetEventPath as Oi, SnapshotDetail as On, PurgeConfigurationsInput as Oo, ConfigurationVersionInclude as Or, KeboolaErrorType as Ot, Logger as P, ShareBucketToProjectsBody as Pa, GetTableEventsQuery as Pi, GlobalSearchSchemaQuery as Pn, RebaseConfigurationSchemaBody as Po, CopyConfigurationFromVersionBody as Pr, asError as Pt, GetQueryResultsPath as Q, ComponentInclude as Qa, BucketRegistrationGuideInput as Qi, GetMergeRequestQuery as Qn, CreateConfigurationRowBody as Qo, ConfigurationMetadataItem as Qr, ReadableStore as Qt, createLoggingMiddleware as R, ShareBucketToUsersInput as Ra, AddTableColumnInput as Ri, SearchTablesIncludes as Rn, SearchComponentConfigurationInclude as Ro, CopyConfigurationFromVersionSchemaBody as Rr, Persistor as Rt, createQueryServiceClient as S, Subscriber as Sa, CreateEventSchemaBody as Si, DeleteSnapshotPath as Sn, CreateConfigurationSchemaBody as So, ConfigurationRowVersionSchemaPath as Sr, retryAfterSeconds as Ss, Grant as St, AdminAccount as T, UpdateBucketListingPath as Ta, GetBucketEventsInput as Ti, GetTableSnapshotsPath as Tn, GetConfigurationsPath as To, ConfigurationVersion as Tr, isQueryJobError as Ts, Stack as Tt, ProjectApi as U, SharedBuckets as Ua, CreateTablePrimaryKeySchemaBody as Ui, GetTriggersQuery as Un, SearchComponentConfigurationsSchemaQuery as Uo, GetConfigurationRowVersionsSchemaQuery as Ur, createNullStorage as Ut, createLegacyKeboola as V, SharedBucketIncludes as Va, CreateTablePrimaryKeyInput as Vi, CreateTriggerBody as Vn, SearchComponentConfigurationsInput as Vo, GetConfigurationRowVersionsInput as Vr, createLocalStorage as Vt, ProjectClients as W, SharedBucketsQuery as Wa, DeleteColumnMetadataInput as Wi, Trigger as Wn, UpdateConfigurationBody as Wo, GetConfigurationVersionsInput as Wr, createSessionStorage as Wt, GetQueriesPath as X, ComponentDataTypesConfiguration as Xa, SaveColumnMetadataPath as Xi, GetMergeRequestInput as Xn, UpdateConfigurationStateInput as Xo, RollbackConfigurationToVersionResult as Xr, createDerivedStore as Xt, GetQueriesHistoryQuery as Y, ComponentData as Ya, SaveColumnMetadataInput as Yi, CreateMergeRequestSchemaBody as Yn, UpdateConfigurationStateBody as Yo, RollbackConfigurationToVersionInput as Yr, createDerivedAsyncStore as Yt, GetQueryJobPath as Z, ComponentDefinition as Za, BucketRegistrationGuide as Zi, GetMergeRequestPath as Zn, UpdateConfigurationStateSchemaBody as Zo, RollbackConfigurationToVersionSchemaBody as Zr, shallowEqual as Zt, StorageGenericFetchClient as _, CreateBucketListingInput as _a, PrepareFilePath as _i, GetRunIdStatsQuery as _n, ConfigurationDiffSide as _o, ConfigurationRowVersionDetail as _r, UpdateConfigurationRowStateSchemaBody as _s, KeboolaOptions as _t, EncryptParamsByScope as a, DeleteScheduledTaskPath as aa, AddFileTagInput as ai, delay as an, GetComponentPath as ao, MergeRequestConflict as ar, DeleteConfigurationRowPath as as, QueryResult as at, ExecuteQueryOptions as b, GetBucketListingInput as ba, CreateEventInput as bi, CreateSnapshotInput as bn, CreateConfigurationBody as bo, ConfigurationRowVersionIncludes as br, isSyncActionError as bs, Credential as bt, ScopedSecrets as c, RefreshExternalBucketQuery as ca, DeleteFileTagPath as ci, concurrent as cn, GetComponentsQuery as co, MergeRequestDetailIncludes as cr, GetConfigurationRowPath as cs, isVariableEncryptionRequired as ct, PartialKey as d, RegisterBucketPath as da, GetFilePath as di, collectByCursor as dn, ComponentConfig as do, MergeRequestReviewerStatus as dr, UpdateConfigurationRowInput as ds, vaultRef as dt, BucketRegistrationGuideQuery as ea, GetConfigurationMetadataPath as ei, createStore as en, ComponentLogging as eo, MergeRequest as er, CreateConfigurationRowPath as es, JobStatusResponse as et, StackComponent as f, ScheduledTask as fa, GetFilesInput as fi, nextCursorOf as fn, ConfigType as fo, UpdateMergeRequestBody as fr, UpdateConfigurationRowPath as fs, createVaultSdk as ft, StorageJobPollOptions as g, CreateBucketListingBody as ga, PrepareFileInput as gi, TaskFn as gn, ConfigurationDiffRow as go, ConfigurationRowVersion as gr, UpdateConfigurationRowStatePath as gs, SESSION_STORAGE_KEY as gt, StackInfoExcludes as h, BucketListingSubscriptionsResponse as ha, PrepareFileBody as hi, coalesce as hn, ConfigurationDiffPath as ho, UpdateMergeRequestSchemaBody as hr, UpdateConfigurationRowStateInput as hs, StackRestore as ht, EncryptParams as i, CreateScheduledRefreshPath as ia, AddFileTagBody as ii, lazy as in, ComponentWith as io, MergeRequestChangeLogEntry as ir, DeleteConfigurationRowInput as is, QueryJobStatus as it, createRetryMiddleware as j, LinkBucketSchemaBody as ja, GetEventsQuery as ji, GlobalSearchItemType as jn, RebaseConfigurationInput as jo, ConfigurationVersionSchemaPath as jr, Failure as jt, createUiVersionMiddleware as k, LinkBucketInput as ka, GetEventsInput as ki, GlobalSearchFilterType as kn, RebaseConfigurationBody as ko, ConfigurationVersionIncludes as kr, isKeboolaError as kt, ComponentType as l, RegisterBucketBody as la, File as li, CollectByCursorOptions as ln, GetComponentsSchemaQuery as lo, MergeRequestDetailWith as lr, Row as ls, isVariableOauth as lt, StackInfoExclude as m, BucketListingSubscription as ma, GetFilesQuery as mi, collectByOffset as mn, ConfigurationDiffContent as mo, UpdateMergeRequestPath as mr, UpdateConfigurationRowStateBody as ms, RestoreStatus as mt, BranchType as n, CreateScheduledRefreshBody as na, SaveConfigurationMetadataInput as ni, ensure as nn, ComponentStagingStorage as no, MergeRequestActivityLogEntry as nr, CreateConfigurationRowsInput as ns, PostQueryBody as nt, EncryptQuery as o, RefreshExternalBucketInput as oa, AddFileTagPath as oi, dedupe as on, GetComponentsInput as oo, MergeRequestDetail as or, DeleteConfigurationRowsInput as os, Statements as ot, StackInfo as p, BucketListingDetail as pa, GetFilesPath as pi, CollectByOffsetOptions as pn, ConfigurationDiff as po, UpdateMergeRequestInput as pr, UpdateConfigurationRowSchemaBody as ps, EncryptionCtx as pt, ExportResultsResponse as q, UnshareBucketInput as qa, DeleteTableColumnQuery as qi, UpdateTriggerPath as qn, UpdateConfigurationSchemaBody as qo, RollbackConfigurationRowToVersionInput as qr, isPlainObject as qt, EncryptBody as r, CreateScheduledRefreshInput as ra, SaveConfigurationMetadataPath as ri, assert as rn, ComponentVendor as ro, MergeRequestChangeLog as rr, DeleteConfigurationRowBody as rs, PostQueryPath as rt, EncryptionScope as s, RefreshExternalBucketPath as sa, DeleteFilePath as si, ConcurrentOptions as sn, GetComponentsPath as so, MergeRequestDetailInclude as sr, GetConfigurationRowInput as ss, isSameVariable as st, createEncryptionClient as t, BucketRegistrationGuideSchemaQuery as ta, SaveConfigurationMetadataBody as ti, generateUUID as tn, ComponentProcessorConfiguration as to, MergeRequestActivityEventType as tr, CreateConfigurationRowSchemaBody as ts, PostCancelQueryJobPath as tt, GetStackInfoQuery as u, RegisterBucketInput as ua, GetFileContentPath as ui, CursorPage as un, BaseComponentConfig as uo, MergeRequestReviewer as ur, UpdateConfigurationRowBody as us, partitionByOauth as ut, StorageOpenApiFetchClient as v, CreateBucketListingPath as va, PrepareFileSchemaBody as vi, RunIdStats as vn, ConfigurationDiffSideContent as vo, ConfigurationRowVersionDetailPath as vr, WrDbRow as vs, LegacyKeboolaOptions as vt, createDefaultBranch as w, UpdateBucketListingInput as wa, EventType as wi, GetTableSnapshotsInput as wn, DeleteConfigurationInput as wo, ConfigurationRowVersionsSchemaPath as wr, QueryJobError as ws, Retained as wt, createQueryServiceSdk as x, ProjectBucketListing as xa, CreateEventPath as xi, CreateSnapshotPath as xn, CreateConfigurationInput as xo, ConfigurationRowVersionPath as xr, ServiceUnavailableError as xs, FetchStatus as xt, createStorageClient as y, DeleteBucketListingInput as ya, CreateEventBody as yi, CreateSnapshotBody as yn, ConfigurationPath as yo, ConfigurationRowVersionInclude as yr, SyncActionError as ys, Auth as yt, BearerSession as z, ShareBucketToUsersPath as za, AddTableColumnPath as zi, SearchTablesQuery as zn, SearchComponentConfigurationIncludes as zo, CopyConfigurationRowFromVersionInput as zr, createPersistor as zt };
|
|
15103
|
-
//# sourceMappingURL=index-
|
|
15117
|
+
//# sourceMappingURL=index-BsT_cBJd.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { pt as WorkspaceSqlConnection, rt as WorkspaceConnection } from "./index-D1mduJne.cjs";
|
|
2
|
-
import { Sa as Subscriber } from "./index-
|
|
2
|
+
import { Sa as Subscriber } from "./index-qJ2IjXIM.cjs";
|
|
3
3
|
declare const isSqlWorkspaceConnection: (connection: WorkspaceConnection) => connection is WorkspaceSqlConnection;
|
|
4
4
|
/**
|
|
5
5
|
* Encodes subscribers as GCP IAM principals (`user:`/`group:`); `fromBackendSubscribers` decodes.
|
|
@@ -7,4 +7,4 @@ declare const isSqlWorkspaceConnection: (connection: WorkspaceConnection) => con
|
|
|
7
7
|
declare const toBackendSubscribers: (subscribers: Subscriber[]) => string[];
|
|
8
8
|
declare const fromBackendSubscribers: (raw: string[]) => Subscriber[];
|
|
9
9
|
export { toBackendSubscribers as n, isSqlWorkspaceConnection as r, fromBackendSubscribers as t };
|
|
10
|
-
//# sourceMappingURL=index-
|
|
10
|
+
//# sourceMappingURL=index-C1ndNdrN.d.cts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as ClientInitOptions } from "./types-DUpVIuk7.js";
|
|
2
2
|
import { h as ProjectToolPolicyValue, m as ProjectToolPolicy } from "./types--Rp5wvaz.js";
|
|
3
3
|
import { d as SuggestionsApiResponse, f as SuggestionsRequestBody } from "./suggestions-xhIjrlvi.js";
|
|
4
|
-
import { c as GetChatPath, d as PrepareChatRequest, f as UsageResponse, i as ChatRequest, l as GetHistoryQuery, n as ArtifactListResponse, o as GetArtifactPath, p as VoteRequest, r as ArtifactResponse, s as GetArtifactsQuery, t as ApprovalBody, u as GetVotesQuery } from "./types-
|
|
4
|
+
import { c as GetChatPath, d as PrepareChatRequest, f as UsageResponse, i as ChatRequest, l as GetHistoryQuery, n as ArtifactListResponse, o as GetArtifactPath, p as VoteRequest, r as ArtifactResponse, s as GetArtifactsQuery, t as ApprovalBody, u as GetVotesQuery } from "./types-B8k1DqlU.js";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
declare const agentSettingsSchema: z.ZodObject<{
|
|
7
7
|
projectId: z.ZodString;
|
|
@@ -248,6 +248,9 @@ declare const createKaiAgentClient: ({ baseUrl, middlewares, auth }: ClientInitO
|
|
|
248
248
|
output?: string;
|
|
249
249
|
errorText?: string;
|
|
250
250
|
}) => Promise<void>;
|
|
251
|
+
updateTurnCredential: (chatId: string) => Promise<{
|
|
252
|
+
updated: boolean;
|
|
253
|
+
}>;
|
|
251
254
|
stopChat: (chatId: string) => Promise<{
|
|
252
255
|
stopped: boolean;
|
|
253
256
|
}>;
|
|
@@ -275,4 +278,4 @@ declare const createKaiAgentClient: ({ baseUrl, middlewares, auth }: ClientInitO
|
|
|
275
278
|
chatStreamUrl: string;
|
|
276
279
|
};
|
|
277
280
|
export { UserAgentSettings as a, SpendCapsView as i, MemorySaveMode as n, UserMemory as o, SpendCapMember as r, createKaiAgentClient as s, AgentSettings as t };
|
|
278
|
-
//# sourceMappingURL=index-
|
|
281
|
+
//# sourceMappingURL=index-Day1Yr5s.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as DescribeConfigurationVersionBody, d as SuggestComponentBody, f as components$1, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, r as DescribeConfigurationBody, s as DocsQuestionBody } from "./types-BE8abIig.cjs";
|
|
2
2
|
import { $ as UnloadWorkspaceInput, A as BatchRestoreConfigurationsResult, Ar as DevBranch, B as DeleteWorkspaceObjectInput, Br as CreateJobBody, Et as BucketDetailInclude, F as JobOperation, Ft as BucketWith, G as GetWorkspacePath, Gt as GetBucketInput, H as DeleteWorkspacePath, Hr as KillJobPath, Ht as DeleteBucketInput, Ir as components$2, Jr as SearchGroupedJobsQuery, K as GetWorkspaceSaml2LoginPath, Kt as GetBucketOwnerInput, L as StorageJobStatus, Ln as GetDataPreviewInput, Lr as paths$1, Lt as CreateBucketInput, M as GetJobsQuery, Nn as DeleteTablesInput, O as BatchConfigurationsOutcome, Or as CreateDevBranchBody, Ot as BucketDetailWith, P as Job, Pn as ExportAsyncInput, Pr as UpdateDevBranchInput, Qn as PullTableAsyncInput, Qr as components$3, R as SucceededJob, Sr as UpdateTableDefinitionInput, Tn as DeleteTableMetadataInput, Tr as UpdateTableInput, Tt as BucketDetail, U as DeleteWorkspacesInput, Un as GetTablesInput, Ut as DeleteBucketMetadataInput, Vn as GetTableInput, Vr as GetQueueJobPath, Vt as DeleteBucketAsyncInput, W as GetWorkspaceObjectsPath, Wr as OrchestrationRerunPlanPath, X as SetWorkspacePublicInput, Xr as SearchJobsQuery, Y as ResetWorkspacePasswordPath, Yt as GetBucketsInput, _n as CreateTableAsyncInput, _r as TableIncludes, _t as CreateConfigurationWorkspaceInput, an as UpdateBucketOwnerInput, bt as CreatedWorkspace, c as OpenapiQueryType, ci as HttpMethod, d as WithIncludes, dr as TableDetail, en as SaveBucketMetadataInput, f as UploadProgress, gr as TableInclude, ht as ConfigurationUseCaseType, i as OpenapiExcludeQueryType, j as GetJobPath, jr as SaveDevBranchMetadataInput, k as BatchPurgeConfigurationsResult, kn as DeleteTableRowsInput, kr as DeleteDevBranchMetadataPath, kt as BucketInclude, l as OpenapiReturnType, li as MiddlewareFn$1, ln as CreateAliasTableInput, lr as Table, nr as SaveTableMetadataInput, nt as Workspace, o as OpenapiIncludeQueryType, oi as ApiResponse, or as SetAliasTableFilterInput, ot as WorkspaceInputMappingLoadPreviewInput, p as createGenericFetchClient, q as GetWorkspacesPath, qn as ImportAsyncInput, qr as SearchAllJobsQuery, r as OpenapiBodyType, rn as UpdateBucketInput, s as OpenapiPathType, t as createOpenapiFetchClient, tr as SaveMetadataBody, u as WithExcludes, wn as DeleteTableInput, xn as CreateTableDefinitionInput, xt as GetConfigurationWorkspacesPath, yr as TableWith } from "./index-D1mduJne.cjs";
|
|
3
3
|
import { n as ClientInitOptions } from "./types-Dryq2GGE.cjs";
|
|
4
|
-
import { C as RunId, S as GetLogsTailQuery, b as GetAppsQuery, c as CreateCredentialBody, f as CredentialId, g as DeploymentId, l as CreateDeploymentBody, r as AppId, s as CreateAppBody, t as App, v as GetAppGitEntrypointsQuery, w as components$4, x as GetDeploymentsQuery, y as GetAppRunsQuery } from "./types-
|
|
4
|
+
import { C as RunId, S as GetLogsTailQuery, b as GetAppsQuery, c as CreateCredentialBody, f as CredentialId, g as DeploymentId, l as CreateDeploymentBody, r as AppId, s as CreateAppBody, t as App, v as GetAppGitEntrypointsQuery, w as components$4, x as GetDeploymentsQuery, y as GetAppRunsQuery } from "./types-BrEVh0WE.cjs";
|
|
5
5
|
import { t as LogEntry } from "./appLogs-CnLNMH7M.cjs";
|
|
6
6
|
import { r as createAuthClient } from "./authClient-Df3U4q_6.cjs";
|
|
7
7
|
import { A as components$5, C as UserAgentSettings, E as VoteRequest, S as UsageResponse, T as Vote, b as UpdateAgentSettingsRequest, d as GetVotesQuery, l as GetChatPath, m as ProjectToolPolicy, o as ChatRequest, t as AgentSettings, u as GetHistoryQuery, x as UpdateUserAgentSettingsRequest, y as ToolsListResponse } from "./types-DwbTiyhZ.cjs";
|
|
@@ -24,8 +24,8 @@ import { a as KaiMemoryStatus, r as KaiMemoryItem, s as UpdateKaiMemoryMeta, t a
|
|
|
24
24
|
import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath, t as AnyVariable } from "./types-eFi8xJIM.cjs";
|
|
25
25
|
import { t as createVaultClient } from "./index-z-2okomN.cjs";
|
|
26
26
|
import { n as WriteTableInput, t as UploadFileInput } from "./types-DeyXJzWz.cjs";
|
|
27
|
-
import { c as GetChatPath$1, d as PrepareChatRequest, f as UsageResponse$1, i as ChatRequest$1, l as GetHistoryQuery$1, n as ArtifactListResponse, o as GetArtifactPath, p as VoteRequest$1, r as ArtifactResponse, s as GetArtifactsQuery, t as ApprovalBody, u as GetVotesQuery$1 } from "./types-
|
|
28
|
-
import { a as UserAgentSettings$1, i as SpendCapsView, n as MemorySaveMode, o as UserMemory, r as SpendCapMember, t as AgentSettings$1 } from "./index-
|
|
27
|
+
import { c as GetChatPath$1, d as PrepareChatRequest, f as UsageResponse$1, i as ChatRequest$1, l as GetHistoryQuery$1, n as ArtifactListResponse, o as GetArtifactPath, p as VoteRequest$1, r as ArtifactResponse, s as GetArtifactsQuery, t as ApprovalBody, u as GetVotesQuery$1 } from "./types-PZzNANiS.cjs";
|
|
28
|
+
import { a as UserAgentSettings$1, i as SpendCapsView, n as MemorySaveMode, o as UserMemory, r as SpendCapMember, t as AgentSettings$1 } from "./index-xhzuWloV.cjs";
|
|
29
29
|
import { a as SubscriptionId, n as ListSubscriptionsQuery, s as components$8, t as CreateSubscriptionBody } from "./types-D-tJt0hQ.cjs";
|
|
30
30
|
import { a as CredentialInput, c as GetCredentialsInput, r as CreateCredentialInput } from "./types-YpOm4yXE.cjs";
|
|
31
31
|
import { h as components$9, m as TablesLineageResponse, n as GetTablesLineageQuery, t as GetProjectsLineageQuery } from "./types-CcGp6O3B.cjs";
|
|
@@ -7439,6 +7439,9 @@ declare const createProjectClients: ({ baseUrl, getStorageToken, onStorageTokenR
|
|
|
7439
7439
|
production: {
|
|
7440
7440
|
desiredDeploymentId?: string | null;
|
|
7441
7441
|
actualDeploymentId?: string | null;
|
|
7442
|
+
desiredConfigVersion?: string | null;
|
|
7443
|
+
actualConfigVersion?: string | null;
|
|
7444
|
+
desiredCreatedAt?: string | null;
|
|
7442
7445
|
};
|
|
7443
7446
|
state: 'notDeployed' | 'starting' | 'running' | 'suspended' | 'disabled';
|
|
7444
7447
|
}[]>;
|
|
@@ -7454,6 +7457,9 @@ declare const createProjectClients: ({ baseUrl, getStorageToken, onStorageTokenR
|
|
|
7454
7457
|
production: {
|
|
7455
7458
|
desiredDeploymentId?: string | null;
|
|
7456
7459
|
actualDeploymentId?: string | null;
|
|
7460
|
+
desiredConfigVersion?: string | null;
|
|
7461
|
+
actualConfigVersion?: string | null;
|
|
7462
|
+
desiredCreatedAt?: string | null;
|
|
7457
7463
|
};
|
|
7458
7464
|
state: 'notDeployed' | 'starting' | 'running' | 'suspended' | 'disabled';
|
|
7459
7465
|
}>;
|
|
@@ -7471,6 +7477,9 @@ declare const createProjectClients: ({ baseUrl, getStorageToken, onStorageTokenR
|
|
|
7471
7477
|
production: {
|
|
7472
7478
|
desiredDeploymentId?: string | null;
|
|
7473
7479
|
actualDeploymentId?: string | null;
|
|
7480
|
+
desiredConfigVersion?: string | null;
|
|
7481
|
+
actualConfigVersion?: string | null;
|
|
7482
|
+
desiredCreatedAt?: string | null;
|
|
7474
7483
|
};
|
|
7475
7484
|
state: 'notDeployed' | 'starting' | 'running' | 'suspended' | 'disabled';
|
|
7476
7485
|
}>;
|
|
@@ -8240,6 +8249,9 @@ declare const createProjectClients: ({ baseUrl, getStorageToken, onStorageTokenR
|
|
|
8240
8249
|
output?: string;
|
|
8241
8250
|
errorText?: string;
|
|
8242
8251
|
}) => Promise<void>;
|
|
8252
|
+
updateTurnCredential: (chatId: string) => Promise<{
|
|
8253
|
+
updated: boolean;
|
|
8254
|
+
}>;
|
|
8243
8255
|
stopChat: (chatId: string) => Promise<{
|
|
8244
8256
|
stopped: boolean;
|
|
8245
8257
|
}>;
|
|
@@ -9764,7 +9776,9 @@ declare const createKeboola: ({ defaultBaseUrl, storage, middlewares, clientServ
|
|
|
9764
9776
|
/** Whether the active stack holds a credential — `restoring` is not one yet. */
|
|
9765
9777
|
isAuthenticated: () => boolean;
|
|
9766
9778
|
isAuthenticatedAsync: () => Promise<boolean>;
|
|
9767
|
-
getHeadersAsync: (projectId: ProjectId
|
|
9779
|
+
getHeadersAsync: (projectId: ProjectId, { refreshThreshold }?: {
|
|
9780
|
+
refreshThreshold?: number;
|
|
9781
|
+
}) => Promise<Record<string, string>>;
|
|
9768
9782
|
};
|
|
9769
9783
|
};
|
|
9770
9784
|
};
|
|
@@ -15100,4 +15114,4 @@ declare const createEncryptionClient: ({ baseUrl, middlewares }: Omit<ClientInit
|
|
|
15100
15114
|
}, signal?: AbortSignal) => Promise<string>;
|
|
15101
15115
|
};
|
|
15102
15116
|
export { GetQueryResutsQuery as $, ComponentIncludes as $a, BucketRegistrationGuidePath as $i, GetMergeRequestSchemaQuery as $n, CreateConfigurationRowInput as $o, DeleteConfigurationMetadataPath as $r, Store as $t, RetryOptions as A, LinkBucketPath as Aa, GetEventsPath as Ai, GlobalSearchItem as An, RebaseConfigurationDiff as Ao, ConfigurationVersionPath as Ar, Stack$1 as At, LegacySession as B, SharedBucketInclude as Ba, CreateTablePrimaryKeyBody as Bi, SearchTablesSchemaQuery as Bn, SearchComponentConfigurationWith as Bo, CopyConfigurationRowFromVersionSchemaBody as Br, StorageAdapter as Bt, DefaultBranch as C, UpdateBucketListingBody as Ca, CreatedEvent as Ci, GetSnapshotPath as Cn, CreatorToken as Co, ConfigurationRowVersionWith as Cr, readableReason as Cs, GrantType as Ct, jobStatus as D, ForceUnlinkBucketSchemaPath as Da, GetBucketEventsQuery as Di, Snapshot as Dn, PurgeConfigurationInput as Do, ConfigurationVersionDetailPath as Dr, KeboolaError as Dt, createAdminAccount as E, ForceUnlinkBucketInput as Ea, GetBucketEventsPath as Ei, GetTableSnapshotsQuery as En, GetSearchComponentConfigurationsPath as Eo, ConfigurationVersionDetail as Er, UserError as Es, State$1 as Et, LoggingOptions as F, ShareBucketToProjectsInput as Fa, StorageEvent as Fi, SearchTable as Fn, RebaseConfigurationToDeletedInput as Fo, CopyConfigurationFromVersionInput as Fr, series as Ft, StackApi as G, SharedBucketsSchemaQuery as Ga, DeleteTableColumnInput as Gi, UpdateTriggerBody as Gn, UpdateConfigurationInput as Go, GetConfigurationVersionsQuery as Gr, deepMerge as Gt, createKeboola as H, SharedBucketWith as Ha, CreateTablePrimaryKeyPath as Hi, DeleteTriggerPath as Hn, SearchComponentConfigurationsQuery as Ho, GetConfigurationRowVersionsQuery as Hr, createMemoryStorage as Ht, RequestLog as I, ShareBucketToProjectsPath as Ia, StorageEventRaw as Ii, SearchTableWith as In, RestoreConfigurationsInput as Io, CopyConfigurationFromVersionPath as Ir, queueSeries as It, GetExportResultsQuery as J, Component as Ja, RemoveTablePrimaryKeyInput as Ji, CreateMergeRequestBody as Jn, UpdateConfigurationSchemaQuery as Jo, RollbackConfigurationRowToVersionSchemaBody as Jr, AsyncState as Jt, QueryJobPollOptions as K, SharingTargets as Ka, DeleteTableColumnPath as Ki, UpdateTriggerInput as Kn, UpdateConfigurationResult as Ko, GetConfigurationVersionsSchemaQuery as Kr, isEmptyDeep as Kt, ResponseLog as L, ShareBucketToUsersBody as La, AddTableColumnBody as Li, SearchTablesInclude as Ln, SearchComponentConfiguration as Lo, CopyConfigurationFromVersionResult as Lr, Cell as Lt, Log as M, ShareBucketToOrganizationInput as Ma, GetTableEventsInput as Mi, GlobalSearchQuery as Mn, RebaseConfigurationPath as Mo, ConfigurationVersionWith as Mr, Result as Mt, LogLevel as N, ShareBucketToOrganizationProjectInput as Na, GetTableEventsPath as Ni, GlobalSearchResponse as Nn, RebaseConfigurationRow as No, ConfigurationVersionsSchemaPath as Nr, Success as Nt, KeboolaHttpHeader as O, LinkBucketBody as Oa, GetEventPath as Oi, SnapshotDetail as On, PurgeConfigurationsInput as Oo, ConfigurationVersionInclude as Or, KeboolaErrorType as Ot, Logger as P, ShareBucketToProjectsBody as Pa, GetTableEventsQuery as Pi, GlobalSearchSchemaQuery as Pn, RebaseConfigurationSchemaBody as Po, CopyConfigurationFromVersionBody as Pr, asError as Pt, GetQueryResultsPath as Q, ComponentInclude as Qa, BucketRegistrationGuideInput as Qi, GetMergeRequestQuery as Qn, CreateConfigurationRowBody as Qo, ConfigurationMetadataItem as Qr, ReadableStore as Qt, createLoggingMiddleware as R, ShareBucketToUsersInput as Ra, AddTableColumnInput as Ri, SearchTablesIncludes as Rn, SearchComponentConfigurationInclude as Ro, CopyConfigurationFromVersionSchemaBody as Rr, Persistor as Rt, createQueryServiceClient as S, Subscriber as Sa, CreateEventSchemaBody as Si, DeleteSnapshotPath as Sn, CreateConfigurationSchemaBody as So, ConfigurationRowVersionSchemaPath as Sr, retryAfterSeconds as Ss, Grant as St, AdminAccount as T, UpdateBucketListingPath as Ta, GetBucketEventsInput as Ti, GetTableSnapshotsPath as Tn, GetConfigurationsPath as To, ConfigurationVersion as Tr, isQueryJobError as Ts, Stack as Tt, ProjectApi as U, SharedBuckets as Ua, CreateTablePrimaryKeySchemaBody as Ui, GetTriggersQuery as Un, SearchComponentConfigurationsSchemaQuery as Uo, GetConfigurationRowVersionsSchemaQuery as Ur, createNullStorage as Ut, createLegacyKeboola as V, SharedBucketIncludes as Va, CreateTablePrimaryKeyInput as Vi, CreateTriggerBody as Vn, SearchComponentConfigurationsInput as Vo, GetConfigurationRowVersionsInput as Vr, createLocalStorage as Vt, ProjectClients as W, SharedBucketsQuery as Wa, DeleteColumnMetadataInput as Wi, Trigger as Wn, UpdateConfigurationBody as Wo, GetConfigurationVersionsInput as Wr, createSessionStorage as Wt, GetQueriesPath as X, ComponentDataTypesConfiguration as Xa, SaveColumnMetadataPath as Xi, GetMergeRequestInput as Xn, UpdateConfigurationStateInput as Xo, RollbackConfigurationToVersionResult as Xr, createDerivedStore as Xt, GetQueriesHistoryQuery as Y, ComponentData as Ya, SaveColumnMetadataInput as Yi, CreateMergeRequestSchemaBody as Yn, UpdateConfigurationStateBody as Yo, RollbackConfigurationToVersionInput as Yr, createDerivedAsyncStore as Yt, GetQueryJobPath as Z, ComponentDefinition as Za, BucketRegistrationGuide as Zi, GetMergeRequestPath as Zn, UpdateConfigurationStateSchemaBody as Zo, RollbackConfigurationToVersionSchemaBody as Zr, shallowEqual as Zt, StorageGenericFetchClient as _, CreateBucketListingInput as _a, PrepareFilePath as _i, GetRunIdStatsQuery as _n, ConfigurationDiffSide as _o, ConfigurationRowVersionDetail as _r, UpdateConfigurationRowStateSchemaBody as _s, KeboolaOptions as _t, EncryptParamsByScope as a, DeleteScheduledTaskPath as aa, AddFileTagInput as ai, delay as an, GetComponentPath as ao, MergeRequestConflict as ar, DeleteConfigurationRowPath as as, QueryResult as at, ExecuteQueryOptions as b, GetBucketListingInput as ba, CreateEventInput as bi, CreateSnapshotInput as bn, CreateConfigurationBody as bo, ConfigurationRowVersionIncludes as br, isSyncActionError as bs, Credential as bt, ScopedSecrets as c, RefreshExternalBucketQuery as ca, DeleteFileTagPath as ci, concurrent as cn, GetComponentsQuery as co, MergeRequestDetailIncludes as cr, GetConfigurationRowPath as cs, isVariableEncryptionRequired as ct, PartialKey as d, RegisterBucketPath as da, GetFilePath as di, collectByCursor as dn, ComponentConfig as do, MergeRequestReviewerStatus as dr, UpdateConfigurationRowInput as ds, vaultRef as dt, BucketRegistrationGuideQuery as ea, GetConfigurationMetadataPath as ei, createStore as en, ComponentLogging as eo, MergeRequest as er, CreateConfigurationRowPath as es, JobStatusResponse as et, StackComponent as f, ScheduledTask as fa, GetFilesInput as fi, nextCursorOf as fn, ConfigType as fo, UpdateMergeRequestBody as fr, UpdateConfigurationRowPath as fs, createVaultSdk as ft, StorageJobPollOptions as g, CreateBucketListingBody as ga, PrepareFileInput as gi, TaskFn as gn, ConfigurationDiffRow as go, ConfigurationRowVersion as gr, UpdateConfigurationRowStatePath as gs, SESSION_STORAGE_KEY as gt, StackInfoExcludes as h, BucketListingSubscriptionsResponse as ha, PrepareFileBody as hi, coalesce as hn, ConfigurationDiffPath as ho, UpdateMergeRequestSchemaBody as hr, UpdateConfigurationRowStateInput as hs, StackRestore as ht, EncryptParams as i, CreateScheduledRefreshPath as ia, AddFileTagBody as ii, lazy as in, ComponentWith as io, MergeRequestChangeLogEntry as ir, DeleteConfigurationRowInput as is, QueryJobStatus as it, createRetryMiddleware as j, LinkBucketSchemaBody as ja, GetEventsQuery as ji, GlobalSearchItemType as jn, RebaseConfigurationInput as jo, ConfigurationVersionSchemaPath as jr, Failure as jt, createUiVersionMiddleware as k, LinkBucketInput as ka, GetEventsInput as ki, GlobalSearchFilterType as kn, RebaseConfigurationBody as ko, ConfigurationVersionIncludes as kr, isKeboolaError as kt, ComponentType as l, RegisterBucketBody as la, File as li, CollectByCursorOptions as ln, GetComponentsSchemaQuery as lo, MergeRequestDetailWith as lr, Row as ls, isVariableOauth as lt, StackInfoExclude as m, BucketListingSubscription as ma, GetFilesQuery as mi, collectByOffset as mn, ConfigurationDiffContent as mo, UpdateMergeRequestPath as mr, UpdateConfigurationRowStateBody as ms, RestoreStatus as mt, BranchType as n, CreateScheduledRefreshBody as na, SaveConfigurationMetadataInput as ni, ensure as nn, ComponentStagingStorage as no, MergeRequestActivityLogEntry as nr, CreateConfigurationRowsInput as ns, PostQueryBody as nt, EncryptQuery as o, RefreshExternalBucketInput as oa, AddFileTagPath as oi, dedupe as on, GetComponentsInput as oo, MergeRequestDetail as or, DeleteConfigurationRowsInput as os, Statements as ot, StackInfo as p, BucketListingDetail as pa, GetFilesPath as pi, CollectByOffsetOptions as pn, ConfigurationDiff as po, UpdateMergeRequestInput as pr, UpdateConfigurationRowSchemaBody as ps, EncryptionCtx as pt, ExportResultsResponse as q, UnshareBucketInput as qa, DeleteTableColumnQuery as qi, UpdateTriggerPath as qn, UpdateConfigurationSchemaBody as qo, RollbackConfigurationRowToVersionInput as qr, isPlainObject as qt, EncryptBody as r, CreateScheduledRefreshInput as ra, SaveConfigurationMetadataPath as ri, assert as rn, ComponentVendor as ro, MergeRequestChangeLog as rr, DeleteConfigurationRowBody as rs, PostQueryPath as rt, EncryptionScope as s, RefreshExternalBucketPath as sa, DeleteFilePath as si, ConcurrentOptions as sn, GetComponentsPath as so, MergeRequestDetailInclude as sr, GetConfigurationRowInput as ss, isSameVariable as st, createEncryptionClient as t, BucketRegistrationGuideSchemaQuery as ta, SaveConfigurationMetadataBody as ti, generateUUID as tn, ComponentProcessorConfiguration as to, MergeRequestActivityEventType as tr, CreateConfigurationRowSchemaBody as ts, PostCancelQueryJobPath as tt, GetStackInfoQuery as u, RegisterBucketInput as ua, GetFileContentPath as ui, CursorPage as un, BaseComponentConfig as uo, MergeRequestReviewer as ur, UpdateConfigurationRowBody as us, partitionByOauth as ut, StorageOpenApiFetchClient as v, CreateBucketListingPath as va, PrepareFileSchemaBody as vi, RunIdStats as vn, ConfigurationDiffSideContent as vo, ConfigurationRowVersionDetailPath as vr, WrDbRow as vs, LegacyKeboolaOptions as vt, createDefaultBranch as w, UpdateBucketListingInput as wa, EventType as wi, GetTableSnapshotsInput as wn, DeleteConfigurationInput as wo, ConfigurationRowVersionsSchemaPath as wr, QueryJobError as ws, Retained as wt, createQueryServiceSdk as x, ProjectBucketListing as xa, CreateEventPath as xi, CreateSnapshotPath as xn, CreateConfigurationInput as xo, ConfigurationRowVersionPath as xr, ServiceUnavailableError as xs, FetchStatus as xt, createStorageClient as y, DeleteBucketListingInput as ya, CreateEventBody as yi, CreateSnapshotBody as yn, ConfigurationPath as yo, ConfigurationRowVersionInclude as yr, SyncActionError as ys, Auth as yt, BearerSession as z, ShareBucketToUsersPath as za, AddTableColumnPath as zi, SearchTablesQuery as zn, SearchComponentConfigurationIncludes as zo, CopyConfigurationRowFromVersionInput as zr, createPersistor as zt };
|
|
15103
|
-
//# sourceMappingURL=index-
|
|
15117
|
+
//# sourceMappingURL=index-qJ2IjXIM.d.cts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as ClientInitOptions } from "./types-Dryq2GGE.cjs";
|
|
2
2
|
import { h as ProjectToolPolicyValue, m as ProjectToolPolicy } from "./types-DwbTiyhZ.cjs";
|
|
3
3
|
import { d as SuggestionsApiResponse, f as SuggestionsRequestBody } from "./suggestions-xhIjrlvi.cjs";
|
|
4
|
-
import { c as GetChatPath, d as PrepareChatRequest, f as UsageResponse, i as ChatRequest, l as GetHistoryQuery, n as ArtifactListResponse, o as GetArtifactPath, p as VoteRequest, r as ArtifactResponse, s as GetArtifactsQuery, t as ApprovalBody, u as GetVotesQuery } from "./types-
|
|
4
|
+
import { c as GetChatPath, d as PrepareChatRequest, f as UsageResponse, i as ChatRequest, l as GetHistoryQuery, n as ArtifactListResponse, o as GetArtifactPath, p as VoteRequest, r as ArtifactResponse, s as GetArtifactsQuery, t as ApprovalBody, u as GetVotesQuery } from "./types-PZzNANiS.cjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
declare const agentSettingsSchema: z.ZodObject<{
|
|
7
7
|
projectId: z.ZodString;
|
|
@@ -248,6 +248,9 @@ declare const createKaiAgentClient: ({ baseUrl, middlewares, auth }: ClientInitO
|
|
|
248
248
|
output?: string;
|
|
249
249
|
errorText?: string;
|
|
250
250
|
}) => Promise<void>;
|
|
251
|
+
updateTurnCredential: (chatId: string) => Promise<{
|
|
252
|
+
updated: boolean;
|
|
253
|
+
}>;
|
|
251
254
|
stopChat: (chatId: string) => Promise<{
|
|
252
255
|
stopped: boolean;
|
|
253
256
|
}>;
|
|
@@ -275,4 +278,4 @@ declare const createKaiAgentClient: ({ baseUrl, middlewares, auth }: ClientInitO
|
|
|
275
278
|
chatStreamUrl: string;
|
|
276
279
|
};
|
|
277
280
|
export { UserAgentSettings as a, SpendCapsView as i, MemorySaveMode as n, UserMemory as o, SpendCapMember as r, createKaiAgentClient as s, AgentSettings as t };
|
|
278
|
-
//# sourceMappingURL=index-
|
|
281
|
+
//# sourceMappingURL=index-xhzuWloV.d.cts.map
|
package/dist/index.cjs
CHANGED
|
@@ -35,7 +35,7 @@ const require_componentsMcp = require("./componentsMcp-BaHy5iLr.cjs");
|
|
|
35
35
|
const require_dataScience = require("./dataScience-CufjHPSd.cjs");
|
|
36
36
|
const require_editor_index = require("./editor/index.cjs");
|
|
37
37
|
const require_encryption_index = require("./encryption/index.cjs");
|
|
38
|
-
const require_kaiAgent = require("./kaiAgent-
|
|
38
|
+
const require_kaiAgent = require("./kaiAgent-CDhg0MAw.cjs");
|
|
39
39
|
const require_metastore = require("./metastore-DeRQ2VIv.cjs");
|
|
40
40
|
const require_notifications_index = require("./notifications/index.cjs");
|
|
41
41
|
const require_oauth = require("./oauth-B5Biqz21.cjs");
|
|
@@ -1324,8 +1324,8 @@ const createCredentials = ({ state, persistor, middlewares, refreshThreshold = D
|
|
|
1324
1324
|
await store.persistStack(baseUrl, state.store.get());
|
|
1325
1325
|
onExpired?.(baseUrl);
|
|
1326
1326
|
};
|
|
1327
|
-
const renewIfStale = async (baseUrl) => {
|
|
1328
|
-
const isStale = require_transientRetries.Result.map(state.auth.requireCredential(baseUrl), ({ issuedAt, expiresIn }) => Date.now() >= issuedAt + expiresIn * 1e3 *
|
|
1327
|
+
const renewIfStale = async (baseUrl, threshold = refreshThreshold) => {
|
|
1328
|
+
const isStale = require_transientRetries.Result.map(state.auth.requireCredential(baseUrl), ({ issuedAt, expiresIn }) => Date.now() >= issuedAt + expiresIn * 1e3 * threshold);
|
|
1329
1329
|
if (require_transientRetries.Result.unwrapOr(isStale, false)) await rotate(baseUrl);
|
|
1330
1330
|
};
|
|
1331
1331
|
const middleware = (baseUrl) => require_middleware.createBearerAuthMiddleware({ getAccessToken: async ({ forceRefresh = false } = {}) => {
|
|
@@ -1705,13 +1705,14 @@ const createKeboola = ({ defaultBaseUrl, storage, middlewares, clientServiceUrls
|
|
|
1705
1705
|
/**
|
|
1706
1706
|
* Auth headers for a non-fetch transport (the chat stream), renewed first once near expiry.
|
|
1707
1707
|
*
|
|
1708
|
+
* - `refreshThreshold` renews earlier: the share of the token's lifetime it may have used.
|
|
1708
1709
|
* - No middleware recovers a 401 there.
|
|
1709
1710
|
* - Pinned to the stack active at the call: a stack switch mid-renewal does not re-point it.
|
|
1710
1711
|
* - Throws `NotAuthenticated` if that stack signed out meanwhile.
|
|
1711
1712
|
*/
|
|
1712
|
-
const getAuthHeadersAsync = async (projectId) => {
|
|
1713
|
+
const getAuthHeadersAsync = async (projectId, { refreshThreshold } = {}) => {
|
|
1713
1714
|
const { baseUrl } = onActiveStack(projectId);
|
|
1714
|
-
await credentials.renewIfStale(baseUrl);
|
|
1715
|
+
await credentials.renewIfStale(baseUrl, refreshThreshold);
|
|
1715
1716
|
const credential = require_transientRetries.Result.unwrap(state.auth.requireCredential(baseUrl));
|
|
1716
1717
|
return {
|
|
1717
1718
|
[require_createFetchClient.HttpHeader.AUTHORIZATION]: `Bearer ${credential.accessToken}`,
|