@keboola/api-client 1.0.0 → 1.0.1
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/dist/chat/index.d.cts +1 -1
- package/dist/chat/index.d.ts +1 -1
- package/dist/chat/types.d.cts +1 -1
- package/dist/chat/types.d.ts +1 -1
- package/dist/index.cjs +165 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +196 -5
- package/dist/index.d.ts +196 -5
- package/dist/index.js +165 -2
- package/dist/index.js.map +1 -1
- package/dist/sdk/storage/index.cjs +20 -1
- package/dist/sdk/storage/index.cjs.map +1 -1
- package/dist/sdk/storage/index.d.cts +2 -2
- package/dist/sdk/storage/index.d.ts +2 -2
- package/dist/sdk/storage/index.js +20 -1
- package/dist/sdk/storage/index.js.map +1 -1
- package/dist/storage/index.cjs +88 -1
- package/dist/storage/index.cjs.map +1 -1
- package/dist/storage/index.d.cts +1 -1
- package/dist/storage/index.d.ts +1 -1
- package/dist/storage/index.js +88 -1
- package/dist/storage/index.js.map +1 -1
- package/dist/storage/types.d.cts +63 -4
- package/dist/storage/types.d.ts +63 -4
- package/dist/{storageClient-D05fdGHW.d.cts → storageClient-DSLTM3Cr.d.cts} +6 -1
- package/dist/{storageClient-C8LDO4gr.d.ts → storageClient-DrYOs4Xm.d.ts} +6 -1
- package/dist/storageSdk-BBqAo0Vx.d.cts +143 -0
- package/dist/storageSdk-ZVmKQQSl.d.ts +143 -0
- package/dist/{types-DJ6nbNq5.d.cts → types-CNkgmuhe.d.cts} +1 -1
- package/dist/{types-BjrNNn5I.d.ts → types-DzwzVgyG.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/storageSdk-CX03lGn-.d.ts +0 -18
- package/dist/storageSdk-DZV4nB3o.d.cts +0 -18
package/dist/index.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ import { c as OpenapiQueryType, d as OpenapiPathType, b as OpenapiBodyType, a as
|
|
|
9
9
|
import { U as UploadFileParams, a as UploadedFile } from './types-Dg1tEsVR.cjs';
|
|
10
10
|
import { D as DescribeConfigurationVersionBody, a as DescribeConfigurationMergeBody, E as ExplainErrorBody, b as DescribeConfigurationBody, S as SuggestComponentBody, c as components$4, F as FeedbackBody } from './types-Dws8mFNY.cjs';
|
|
11
11
|
import { SuggestionsRequestBody, SuggestionsApiResponse } from './chat/suggestions.cjs';
|
|
12
|
-
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-
|
|
12
|
+
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-CNkgmuhe.cjs';
|
|
13
13
|
import { G as GetQueueJobPath, c as components$2, S as SearchJobsQuery } from './types-CRSKcua9.cjs';
|
|
14
14
|
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-DJkU9gvB.cjs';
|
|
15
15
|
import { CreateCredentialsBody, WorkspaceData } from './telemetry/types.cjs';
|
|
@@ -19,10 +19,10 @@ import { EncryptQuery } from './encryption/types.cjs';
|
|
|
19
19
|
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-DE09pDTi.cjs';
|
|
20
20
|
export { p as parseLogLines } from './utils-DE09pDTi.cjs';
|
|
21
21
|
import { CreateVariableBody, DeleteVariablePath, VariableWithHash, GetVariablesQuery, GetVariablesByBranchId } from './vault/types.cjs';
|
|
22
|
-
import { ServiceId, CreateTableAsyncBody, TableCreateJob, TableImportAsyncBody, TableImportJob, TableExportAsyncBody, TableExportJob, Service, StackComponent, GetBucketsQuery, Bucket, BucketDetail, CreateBucketBody, UpdateBucketBody, CreateScheduledRefreshPath, CreateScheduledRefreshBody, ScheduledTask, GetEventsQuery, StorageEvent, CreateEventBody, File as File$1, GetFilesQuery, DeleteFileTagPath, PrepareFileBody, PreparedFile, GetTablesQuery, Table, TableDetail, GetDataPreview, PrevieData, DeleteTableRows, JobUnion, DevBranch, CreateDevBranchJobBody, DevBranchPath, BranchMetadata, BranchMetadataEntry, WorkspacePath, Workspace, WorkspacesPath, ResetWorkspacePassword, SetWorkspacePublicInput, GetWorkspaceSaml2LoginPath, WorkspaceSaml2Login, WorkspaceObject, DeleteWorkspaceObjectInput, MergeRequestDetail, MergeRequestDetailWithActivityLog, CreateMergeRequestParams, UpdateMergeRequestParams, JobOperation, GetJobPath,
|
|
22
|
+
import { ServiceId, CreateTableAsyncBody, TableCreateJob, TableImportAsyncBody, TableImportJob, TableExportAsyncBody, TableExportJob, BucketListing, CreateBucketListingInput, UpdateBucketListingInput, Service, StackComponent, GetBucketsQuery, Bucket, BucketDetail, CreateBucketBody, UpdateBucketBody, CreateScheduledRefreshPath, CreateScheduledRefreshBody, ScheduledTask, Job, GetEventsQuery, StorageEvent, CreateEventBody, File as File$1, GetFilesQuery, DeleteFileTagPath, PrepareFileBody, PreparedFile, GetTablesQuery, Table, TableDetail, GetDataPreview, PrevieData, DeleteTableRows, JobUnion, DevBranch, CreateDevBranchJobBody, DevBranchPath, BranchMetadata, BranchMetadataEntry, WorkspacePath, Workspace, WorkspacesPath, ResetWorkspacePassword, SetWorkspacePublicInput, GetWorkspaceSaml2LoginPath, WorkspaceSaml2Login, WorkspaceObject, DeleteWorkspaceObjectInput, MergeRequestDetail, MergeRequestDetailWithActivityLog, CreateMergeRequestParams, UpdateMergeRequestParams, JobOperation, GetJobPath, GetJobsQuery, GetComponentPath, Component, GetComponentsPath, GetComponentsQuery, GetSearchComponentConfigurationsPath, SearchComponentConfigurationsQuery, SearchComponentConfiguration, PartialKey, CreateConfigurationInput, BaseComponentConfig, ConfigType, ConfigurationPath, ComponentConfig, GetConfigurationsPath, CreateConfigurationRowInput, Row, CreateConfigurationRowsInput, CreateConfigurationRowBody, DeleteConfigurationRowInput, DeleteConfigurationRowsInput, CreateConfigurationWorkspaceBody, ConfigurationUseCaseType, ConfigurationVersionPath, ConfigurationVersion, ConfigurationVersionDetailPath, ConfigurationVersionDetail, GetStackInfoQuery, StackInfo } from './storage/types.cjs';
|
|
23
23
|
import { M as MetaObject } from './types-C-bd4ArM.cjs';
|
|
24
|
-
import { C as ConcurrentOptions, M as MiddlewareFn$1 } from './storageClient-
|
|
25
|
-
export { a as concurrent } from './storageClient-
|
|
24
|
+
import { C as ConcurrentOptions, M as MiddlewareFn$1 } from './storageClient-DSLTM3Cr.cjs';
|
|
25
|
+
export { a as concurrent } from './storageClient-DSLTM3Cr.cjs';
|
|
26
26
|
import { K as KeboolaObjectId } from './keboolaUID-D1DGSbge.cjs';
|
|
27
27
|
export { k as keboolaUID } from './keboolaUID-D1DGSbge.cjs';
|
|
28
28
|
import { TagWithBindings, TagData, CreateMetaObjectMetaDataInput, UpdateMetaObjectMetaDataInput } from './sdk/tag/types.cjs';
|
|
@@ -30,7 +30,7 @@ import { B as Backend, S as StorageToken } from './types-DYMMsuU0.cjs';
|
|
|
30
30
|
export { c as createGenericFetchClient } from './createGenericFetchClient-CLUzu-jY.cjs';
|
|
31
31
|
export { M as ManagementClientAuthError, i as isManagementClientAuthError } from './authMiddleware-BteBe1Bt.cjs';
|
|
32
32
|
import { ManagementToken } from './verify/types.cjs';
|
|
33
|
-
export { c as createStorageSdk } from './storageSdk-
|
|
33
|
+
export { c as createStorageSdk } from './storageSdk-BBqAo0Vx.cjs';
|
|
34
34
|
import 'qs';
|
|
35
35
|
import './createOpenapiFetchClient-CpXmAIFB.cjs';
|
|
36
36
|
import './metastore/index.cjs';
|
|
@@ -684,6 +684,25 @@ type paths = {
|
|
|
684
684
|
/** @enum {string} */
|
|
685
685
|
type: 'step-start';
|
|
686
686
|
}
|
|
687
|
+
| {
|
|
688
|
+
/** @enum {string} */
|
|
689
|
+
type: 'data-compact-boundary';
|
|
690
|
+
data: {
|
|
691
|
+
/** @enum {string} */
|
|
692
|
+
trigger: 'manual' | 'auto';
|
|
693
|
+
preTokens: number;
|
|
694
|
+
preservedSegment?: {
|
|
695
|
+
/** Format: uuid */
|
|
696
|
+
headUuid: string;
|
|
697
|
+
/** Format: uuid */
|
|
698
|
+
anchorUuid: string;
|
|
699
|
+
/** Format: uuid */
|
|
700
|
+
tailUuid: string;
|
|
701
|
+
};
|
|
702
|
+
summary: string;
|
|
703
|
+
sdkSessionId: string;
|
|
704
|
+
};
|
|
705
|
+
}
|
|
687
706
|
| {
|
|
688
707
|
type: string;
|
|
689
708
|
toolCallId: string;
|
|
@@ -1906,6 +1925,143 @@ declare const createClients: ({ baseUrl, token, callbacks, assetsBaseUrl, status
|
|
|
1906
1925
|
maxAttempts?: number;
|
|
1907
1926
|
abortSignal?: AbortSignal;
|
|
1908
1927
|
}) => Promise<TableExportJob>;
|
|
1928
|
+
getBucketListing: (bucketId: string, signal?: AbortSignal) => Promise<BucketListing | null>;
|
|
1929
|
+
listBucketListings: (signal?: AbortSignal) => Promise<BucketListing[]>;
|
|
1930
|
+
createBucketListing: (bucketId: string, input: CreateBucketListingInput, options?: {
|
|
1931
|
+
interval?: number;
|
|
1932
|
+
maxAttempts?: number;
|
|
1933
|
+
abortSignal?: AbortSignal;
|
|
1934
|
+
}) => Promise<{
|
|
1935
|
+
id: number;
|
|
1936
|
+
tableId: string | null;
|
|
1937
|
+
runId: string;
|
|
1938
|
+
url: string;
|
|
1939
|
+
createdTime: string;
|
|
1940
|
+
creatorToken: {
|
|
1941
|
+
id: string;
|
|
1942
|
+
description: string;
|
|
1943
|
+
};
|
|
1944
|
+
endTime: string | null;
|
|
1945
|
+
startTime: string | null;
|
|
1946
|
+
operationName: "bucketListingCreate";
|
|
1947
|
+
operationParams: {
|
|
1948
|
+
queue: string;
|
|
1949
|
+
} & {
|
|
1950
|
+
bucketId: string;
|
|
1951
|
+
};
|
|
1952
|
+
metrics: {
|
|
1953
|
+
inCompressed: boolean;
|
|
1954
|
+
inBytes: number;
|
|
1955
|
+
inBytesUncompressed: number;
|
|
1956
|
+
outCompressed: boolean;
|
|
1957
|
+
outBytes: number;
|
|
1958
|
+
outBytesUncompressed: number;
|
|
1959
|
+
};
|
|
1960
|
+
} & ({
|
|
1961
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
1962
|
+
results: null;
|
|
1963
|
+
} | {
|
|
1964
|
+
status: "error";
|
|
1965
|
+
results: null;
|
|
1966
|
+
error: {
|
|
1967
|
+
code: string;
|
|
1968
|
+
message: string;
|
|
1969
|
+
exceptionId?: string;
|
|
1970
|
+
};
|
|
1971
|
+
} | {
|
|
1972
|
+
status: "success";
|
|
1973
|
+
results: null;
|
|
1974
|
+
})>;
|
|
1975
|
+
updateBucketListing: (bucketId: string, input: UpdateBucketListingInput, options?: {
|
|
1976
|
+
interval?: number;
|
|
1977
|
+
maxAttempts?: number;
|
|
1978
|
+
abortSignal?: AbortSignal;
|
|
1979
|
+
}) => Promise<{
|
|
1980
|
+
id: number;
|
|
1981
|
+
tableId: string | null;
|
|
1982
|
+
runId: string;
|
|
1983
|
+
url: string;
|
|
1984
|
+
createdTime: string;
|
|
1985
|
+
creatorToken: {
|
|
1986
|
+
id: string;
|
|
1987
|
+
description: string;
|
|
1988
|
+
};
|
|
1989
|
+
endTime: string | null;
|
|
1990
|
+
startTime: string | null;
|
|
1991
|
+
operationName: "bucketListingUpdate";
|
|
1992
|
+
operationParams: {
|
|
1993
|
+
queue: string;
|
|
1994
|
+
} & {
|
|
1995
|
+
bucketId: string;
|
|
1996
|
+
};
|
|
1997
|
+
metrics: {
|
|
1998
|
+
inCompressed: boolean;
|
|
1999
|
+
inBytes: number;
|
|
2000
|
+
inBytesUncompressed: number;
|
|
2001
|
+
outCompressed: boolean;
|
|
2002
|
+
outBytes: number;
|
|
2003
|
+
outBytesUncompressed: number;
|
|
2004
|
+
};
|
|
2005
|
+
} & ({
|
|
2006
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
2007
|
+
results: null;
|
|
2008
|
+
} | {
|
|
2009
|
+
status: "error";
|
|
2010
|
+
results: null;
|
|
2011
|
+
error: {
|
|
2012
|
+
code: string;
|
|
2013
|
+
message: string;
|
|
2014
|
+
exceptionId?: string;
|
|
2015
|
+
};
|
|
2016
|
+
} | {
|
|
2017
|
+
status: "success";
|
|
2018
|
+
results: null;
|
|
2019
|
+
})>;
|
|
2020
|
+
deleteBucketListing: (bucketId: string, options?: {
|
|
2021
|
+
interval?: number;
|
|
2022
|
+
maxAttempts?: number;
|
|
2023
|
+
abortSignal?: AbortSignal;
|
|
2024
|
+
}) => Promise<{
|
|
2025
|
+
id: number;
|
|
2026
|
+
tableId: string | null;
|
|
2027
|
+
runId: string;
|
|
2028
|
+
url: string;
|
|
2029
|
+
createdTime: string;
|
|
2030
|
+
creatorToken: {
|
|
2031
|
+
id: string;
|
|
2032
|
+
description: string;
|
|
2033
|
+
};
|
|
2034
|
+
endTime: string | null;
|
|
2035
|
+
startTime: string | null;
|
|
2036
|
+
operationName: "bucketListingDelete";
|
|
2037
|
+
operationParams: {
|
|
2038
|
+
queue: string;
|
|
2039
|
+
} & {
|
|
2040
|
+
bucketId: string;
|
|
2041
|
+
};
|
|
2042
|
+
metrics: {
|
|
2043
|
+
inCompressed: boolean;
|
|
2044
|
+
inBytes: number;
|
|
2045
|
+
inBytesUncompressed: number;
|
|
2046
|
+
outCompressed: boolean;
|
|
2047
|
+
outBytes: number;
|
|
2048
|
+
outBytesUncompressed: number;
|
|
2049
|
+
};
|
|
2050
|
+
} & ({
|
|
2051
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
2052
|
+
results: null;
|
|
2053
|
+
} | {
|
|
2054
|
+
status: "error";
|
|
2055
|
+
results: null;
|
|
2056
|
+
error: {
|
|
2057
|
+
code: string;
|
|
2058
|
+
message: string;
|
|
2059
|
+
exceptionId?: string;
|
|
2060
|
+
};
|
|
2061
|
+
} | {
|
|
2062
|
+
status: "success";
|
|
2063
|
+
results: null;
|
|
2064
|
+
})>;
|
|
1909
2065
|
};
|
|
1910
2066
|
};
|
|
1911
2067
|
vault: {
|
|
@@ -2623,6 +2779,19 @@ declare const createClients: ({ baseUrl, token, callbacks, assetsBaseUrl, status
|
|
|
2623
2779
|
result: string;
|
|
2624
2780
|
} | {
|
|
2625
2781
|
type: "step-start";
|
|
2782
|
+
} | {
|
|
2783
|
+
type: "data-compact-boundary";
|
|
2784
|
+
data: {
|
|
2785
|
+
trigger: "manual" | "auto";
|
|
2786
|
+
preTokens: number;
|
|
2787
|
+
preservedSegment?: {
|
|
2788
|
+
headUuid: string;
|
|
2789
|
+
anchorUuid: string;
|
|
2790
|
+
tailUuid: string;
|
|
2791
|
+
};
|
|
2792
|
+
summary: string;
|
|
2793
|
+
sdkSessionId: string;
|
|
2794
|
+
};
|
|
2626
2795
|
} | {
|
|
2627
2796
|
type: string;
|
|
2628
2797
|
toolCallId: string;
|
|
@@ -2721,6 +2890,23 @@ declare const createClients: ({ baseUrl, token, callbacks, assetsBaseUrl, status
|
|
|
2721
2890
|
readOnly: boolean;
|
|
2722
2891
|
}[];
|
|
2723
2892
|
}>;
|
|
2893
|
+
listSandboxFiles: (chatId: string, path?: string, signal?: AbortSignal) => Promise<{
|
|
2894
|
+
entries: {
|
|
2895
|
+
name: string;
|
|
2896
|
+
path: string;
|
|
2897
|
+
type: "file" | "dir";
|
|
2898
|
+
size?: number | undefined;
|
|
2899
|
+
}[];
|
|
2900
|
+
}>;
|
|
2901
|
+
readSandboxFile: (chatId: string, path: string, signal?: AbortSignal) => Promise<{
|
|
2902
|
+
content: string;
|
|
2903
|
+
encoding: "utf-8" | "binary";
|
|
2904
|
+
truncated: boolean;
|
|
2905
|
+
size: number;
|
|
2906
|
+
}>;
|
|
2907
|
+
getSandboxGitBranch: (chatId: string, signal?: AbortSignal) => Promise<{
|
|
2908
|
+
branch: string | null;
|
|
2909
|
+
}>;
|
|
2724
2910
|
chatStreamUrl: string;
|
|
2725
2911
|
};
|
|
2726
2912
|
oauth: {
|
|
@@ -2811,6 +2997,11 @@ declare const createClients: ({ baseUrl, token, callbacks, assetsBaseUrl, status
|
|
|
2811
2997
|
})>;
|
|
2812
2998
|
createScheduledRefresh: (input: CreateScheduledRefreshPath & CreateScheduledRefreshBody) => Promise<ScheduledTask>;
|
|
2813
2999
|
deleteScheduledTask: (taskId: string) => Promise<void>;
|
|
3000
|
+
getListing: (bucketId: string, signal?: AbortSignal) => Promise<BucketListing | null>;
|
|
3001
|
+
createListing: (bucketId: string, input: CreateBucketListingInput, signal?: AbortSignal) => Promise<Job<"bucketListingCreate">>;
|
|
3002
|
+
updateListing: (bucketId: string, input: UpdateBucketListingInput, signal?: AbortSignal) => Promise<Job<"bucketListingUpdate">>;
|
|
3003
|
+
deleteListing: (bucketId: string, signal?: AbortSignal) => Promise<Job<"bucketListingDelete">>;
|
|
3004
|
+
listListings: (signal?: AbortSignal) => Promise<BucketListing[]>;
|
|
2814
3005
|
};
|
|
2815
3006
|
events: {
|
|
2816
3007
|
getEvents: (query?: GetEventsQuery, signal?: AbortSignal) => Promise<StorageEvent[]>;
|
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { c as OpenapiQueryType, d as OpenapiPathType, b as OpenapiBodyType, a as
|
|
|
9
9
|
import { U as UploadFileParams, a as UploadedFile } from './types-Dg1tEsVR.js';
|
|
10
10
|
import { D as DescribeConfigurationVersionBody, a as DescribeConfigurationMergeBody, E as ExplainErrorBody, b as DescribeConfigurationBody, S as SuggestComponentBody, c as components$4, F as FeedbackBody } from './types-B51cQMrX.js';
|
|
11
11
|
import { SuggestionsRequestBody, SuggestionsApiResponse } from './chat/suggestions.js';
|
|
12
|
-
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-
|
|
12
|
+
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-DzwzVgyG.js';
|
|
13
13
|
import { G as GetQueueJobPath, c as components$2, S as SearchJobsQuery } from './types-cH0_hkCW.js';
|
|
14
14
|
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-CGMJT3JL.js';
|
|
15
15
|
import { CreateCredentialsBody, WorkspaceData } from './telemetry/types.js';
|
|
@@ -19,10 +19,10 @@ import { EncryptQuery } from './encryption/types.js';
|
|
|
19
19
|
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-BNQZiNOu.js';
|
|
20
20
|
export { p as parseLogLines } from './utils-BNQZiNOu.js';
|
|
21
21
|
import { CreateVariableBody, DeleteVariablePath, VariableWithHash, GetVariablesQuery, GetVariablesByBranchId } from './vault/types.js';
|
|
22
|
-
import { ServiceId, CreateTableAsyncBody, TableCreateJob, TableImportAsyncBody, TableImportJob, TableExportAsyncBody, TableExportJob, Service, StackComponent, GetBucketsQuery, Bucket, BucketDetail, CreateBucketBody, UpdateBucketBody, CreateScheduledRefreshPath, CreateScheduledRefreshBody, ScheduledTask, GetEventsQuery, StorageEvent, CreateEventBody, File as File$1, GetFilesQuery, DeleteFileTagPath, PrepareFileBody, PreparedFile, GetTablesQuery, Table, TableDetail, GetDataPreview, PrevieData, DeleteTableRows, JobUnion, DevBranch, CreateDevBranchJobBody, DevBranchPath, BranchMetadata, BranchMetadataEntry, WorkspacePath, Workspace, WorkspacesPath, ResetWorkspacePassword, SetWorkspacePublicInput, GetWorkspaceSaml2LoginPath, WorkspaceSaml2Login, WorkspaceObject, DeleteWorkspaceObjectInput, MergeRequestDetail, MergeRequestDetailWithActivityLog, CreateMergeRequestParams, UpdateMergeRequestParams, JobOperation, GetJobPath,
|
|
22
|
+
import { ServiceId, CreateTableAsyncBody, TableCreateJob, TableImportAsyncBody, TableImportJob, TableExportAsyncBody, TableExportJob, BucketListing, CreateBucketListingInput, UpdateBucketListingInput, Service, StackComponent, GetBucketsQuery, Bucket, BucketDetail, CreateBucketBody, UpdateBucketBody, CreateScheduledRefreshPath, CreateScheduledRefreshBody, ScheduledTask, Job, GetEventsQuery, StorageEvent, CreateEventBody, File as File$1, GetFilesQuery, DeleteFileTagPath, PrepareFileBody, PreparedFile, GetTablesQuery, Table, TableDetail, GetDataPreview, PrevieData, DeleteTableRows, JobUnion, DevBranch, CreateDevBranchJobBody, DevBranchPath, BranchMetadata, BranchMetadataEntry, WorkspacePath, Workspace, WorkspacesPath, ResetWorkspacePassword, SetWorkspacePublicInput, GetWorkspaceSaml2LoginPath, WorkspaceSaml2Login, WorkspaceObject, DeleteWorkspaceObjectInput, MergeRequestDetail, MergeRequestDetailWithActivityLog, CreateMergeRequestParams, UpdateMergeRequestParams, JobOperation, GetJobPath, GetJobsQuery, GetComponentPath, Component, GetComponentsPath, GetComponentsQuery, GetSearchComponentConfigurationsPath, SearchComponentConfigurationsQuery, SearchComponentConfiguration, PartialKey, CreateConfigurationInput, BaseComponentConfig, ConfigType, ConfigurationPath, ComponentConfig, GetConfigurationsPath, CreateConfigurationRowInput, Row, CreateConfigurationRowsInput, CreateConfigurationRowBody, DeleteConfigurationRowInput, DeleteConfigurationRowsInput, CreateConfigurationWorkspaceBody, ConfigurationUseCaseType, ConfigurationVersionPath, ConfigurationVersion, ConfigurationVersionDetailPath, ConfigurationVersionDetail, GetStackInfoQuery, StackInfo } from './storage/types.js';
|
|
23
23
|
import { M as MetaObject } from './types-BY0tjg2Q.js';
|
|
24
|
-
import { C as ConcurrentOptions, M as MiddlewareFn$1 } from './storageClient-
|
|
25
|
-
export { a as concurrent } from './storageClient-
|
|
24
|
+
import { C as ConcurrentOptions, M as MiddlewareFn$1 } from './storageClient-DrYOs4Xm.js';
|
|
25
|
+
export { a as concurrent } from './storageClient-DrYOs4Xm.js';
|
|
26
26
|
import { K as KeboolaObjectId } from './keboolaUID-D1DGSbge.js';
|
|
27
27
|
export { k as keboolaUID } from './keboolaUID-D1DGSbge.js';
|
|
28
28
|
import { TagWithBindings, TagData, CreateMetaObjectMetaDataInput, UpdateMetaObjectMetaDataInput } from './sdk/tag/types.js';
|
|
@@ -30,7 +30,7 @@ import { B as Backend, S as StorageToken } from './types-DYMMsuU0.js';
|
|
|
30
30
|
export { c as createGenericFetchClient } from './createGenericFetchClient-DEakI3F1.js';
|
|
31
31
|
export { M as ManagementClientAuthError, i as isManagementClientAuthError } from './authMiddleware-BTFSCMTE.js';
|
|
32
32
|
import { ManagementToken } from './verify/types.js';
|
|
33
|
-
export { c as createStorageSdk } from './storageSdk-
|
|
33
|
+
export { c as createStorageSdk } from './storageSdk-ZVmKQQSl.js';
|
|
34
34
|
import 'qs';
|
|
35
35
|
import './createOpenapiFetchClient-_sm4bchL.js';
|
|
36
36
|
import './metastore/index.js';
|
|
@@ -684,6 +684,25 @@ type paths = {
|
|
|
684
684
|
/** @enum {string} */
|
|
685
685
|
type: 'step-start';
|
|
686
686
|
}
|
|
687
|
+
| {
|
|
688
|
+
/** @enum {string} */
|
|
689
|
+
type: 'data-compact-boundary';
|
|
690
|
+
data: {
|
|
691
|
+
/** @enum {string} */
|
|
692
|
+
trigger: 'manual' | 'auto';
|
|
693
|
+
preTokens: number;
|
|
694
|
+
preservedSegment?: {
|
|
695
|
+
/** Format: uuid */
|
|
696
|
+
headUuid: string;
|
|
697
|
+
/** Format: uuid */
|
|
698
|
+
anchorUuid: string;
|
|
699
|
+
/** Format: uuid */
|
|
700
|
+
tailUuid: string;
|
|
701
|
+
};
|
|
702
|
+
summary: string;
|
|
703
|
+
sdkSessionId: string;
|
|
704
|
+
};
|
|
705
|
+
}
|
|
687
706
|
| {
|
|
688
707
|
type: string;
|
|
689
708
|
toolCallId: string;
|
|
@@ -1906,6 +1925,143 @@ declare const createClients: ({ baseUrl, token, callbacks, assetsBaseUrl, status
|
|
|
1906
1925
|
maxAttempts?: number;
|
|
1907
1926
|
abortSignal?: AbortSignal;
|
|
1908
1927
|
}) => Promise<TableExportJob>;
|
|
1928
|
+
getBucketListing: (bucketId: string, signal?: AbortSignal) => Promise<BucketListing | null>;
|
|
1929
|
+
listBucketListings: (signal?: AbortSignal) => Promise<BucketListing[]>;
|
|
1930
|
+
createBucketListing: (bucketId: string, input: CreateBucketListingInput, options?: {
|
|
1931
|
+
interval?: number;
|
|
1932
|
+
maxAttempts?: number;
|
|
1933
|
+
abortSignal?: AbortSignal;
|
|
1934
|
+
}) => Promise<{
|
|
1935
|
+
id: number;
|
|
1936
|
+
tableId: string | null;
|
|
1937
|
+
runId: string;
|
|
1938
|
+
url: string;
|
|
1939
|
+
createdTime: string;
|
|
1940
|
+
creatorToken: {
|
|
1941
|
+
id: string;
|
|
1942
|
+
description: string;
|
|
1943
|
+
};
|
|
1944
|
+
endTime: string | null;
|
|
1945
|
+
startTime: string | null;
|
|
1946
|
+
operationName: "bucketListingCreate";
|
|
1947
|
+
operationParams: {
|
|
1948
|
+
queue: string;
|
|
1949
|
+
} & {
|
|
1950
|
+
bucketId: string;
|
|
1951
|
+
};
|
|
1952
|
+
metrics: {
|
|
1953
|
+
inCompressed: boolean;
|
|
1954
|
+
inBytes: number;
|
|
1955
|
+
inBytesUncompressed: number;
|
|
1956
|
+
outCompressed: boolean;
|
|
1957
|
+
outBytes: number;
|
|
1958
|
+
outBytesUncompressed: number;
|
|
1959
|
+
};
|
|
1960
|
+
} & ({
|
|
1961
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
1962
|
+
results: null;
|
|
1963
|
+
} | {
|
|
1964
|
+
status: "error";
|
|
1965
|
+
results: null;
|
|
1966
|
+
error: {
|
|
1967
|
+
code: string;
|
|
1968
|
+
message: string;
|
|
1969
|
+
exceptionId?: string;
|
|
1970
|
+
};
|
|
1971
|
+
} | {
|
|
1972
|
+
status: "success";
|
|
1973
|
+
results: null;
|
|
1974
|
+
})>;
|
|
1975
|
+
updateBucketListing: (bucketId: string, input: UpdateBucketListingInput, options?: {
|
|
1976
|
+
interval?: number;
|
|
1977
|
+
maxAttempts?: number;
|
|
1978
|
+
abortSignal?: AbortSignal;
|
|
1979
|
+
}) => Promise<{
|
|
1980
|
+
id: number;
|
|
1981
|
+
tableId: string | null;
|
|
1982
|
+
runId: string;
|
|
1983
|
+
url: string;
|
|
1984
|
+
createdTime: string;
|
|
1985
|
+
creatorToken: {
|
|
1986
|
+
id: string;
|
|
1987
|
+
description: string;
|
|
1988
|
+
};
|
|
1989
|
+
endTime: string | null;
|
|
1990
|
+
startTime: string | null;
|
|
1991
|
+
operationName: "bucketListingUpdate";
|
|
1992
|
+
operationParams: {
|
|
1993
|
+
queue: string;
|
|
1994
|
+
} & {
|
|
1995
|
+
bucketId: string;
|
|
1996
|
+
};
|
|
1997
|
+
metrics: {
|
|
1998
|
+
inCompressed: boolean;
|
|
1999
|
+
inBytes: number;
|
|
2000
|
+
inBytesUncompressed: number;
|
|
2001
|
+
outCompressed: boolean;
|
|
2002
|
+
outBytes: number;
|
|
2003
|
+
outBytesUncompressed: number;
|
|
2004
|
+
};
|
|
2005
|
+
} & ({
|
|
2006
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
2007
|
+
results: null;
|
|
2008
|
+
} | {
|
|
2009
|
+
status: "error";
|
|
2010
|
+
results: null;
|
|
2011
|
+
error: {
|
|
2012
|
+
code: string;
|
|
2013
|
+
message: string;
|
|
2014
|
+
exceptionId?: string;
|
|
2015
|
+
};
|
|
2016
|
+
} | {
|
|
2017
|
+
status: "success";
|
|
2018
|
+
results: null;
|
|
2019
|
+
})>;
|
|
2020
|
+
deleteBucketListing: (bucketId: string, options?: {
|
|
2021
|
+
interval?: number;
|
|
2022
|
+
maxAttempts?: number;
|
|
2023
|
+
abortSignal?: AbortSignal;
|
|
2024
|
+
}) => Promise<{
|
|
2025
|
+
id: number;
|
|
2026
|
+
tableId: string | null;
|
|
2027
|
+
runId: string;
|
|
2028
|
+
url: string;
|
|
2029
|
+
createdTime: string;
|
|
2030
|
+
creatorToken: {
|
|
2031
|
+
id: string;
|
|
2032
|
+
description: string;
|
|
2033
|
+
};
|
|
2034
|
+
endTime: string | null;
|
|
2035
|
+
startTime: string | null;
|
|
2036
|
+
operationName: "bucketListingDelete";
|
|
2037
|
+
operationParams: {
|
|
2038
|
+
queue: string;
|
|
2039
|
+
} & {
|
|
2040
|
+
bucketId: string;
|
|
2041
|
+
};
|
|
2042
|
+
metrics: {
|
|
2043
|
+
inCompressed: boolean;
|
|
2044
|
+
inBytes: number;
|
|
2045
|
+
inBytesUncompressed: number;
|
|
2046
|
+
outCompressed: boolean;
|
|
2047
|
+
outBytes: number;
|
|
2048
|
+
outBytesUncompressed: number;
|
|
2049
|
+
};
|
|
2050
|
+
} & ({
|
|
2051
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
2052
|
+
results: null;
|
|
2053
|
+
} | {
|
|
2054
|
+
status: "error";
|
|
2055
|
+
results: null;
|
|
2056
|
+
error: {
|
|
2057
|
+
code: string;
|
|
2058
|
+
message: string;
|
|
2059
|
+
exceptionId?: string;
|
|
2060
|
+
};
|
|
2061
|
+
} | {
|
|
2062
|
+
status: "success";
|
|
2063
|
+
results: null;
|
|
2064
|
+
})>;
|
|
1909
2065
|
};
|
|
1910
2066
|
};
|
|
1911
2067
|
vault: {
|
|
@@ -2623,6 +2779,19 @@ declare const createClients: ({ baseUrl, token, callbacks, assetsBaseUrl, status
|
|
|
2623
2779
|
result: string;
|
|
2624
2780
|
} | {
|
|
2625
2781
|
type: "step-start";
|
|
2782
|
+
} | {
|
|
2783
|
+
type: "data-compact-boundary";
|
|
2784
|
+
data: {
|
|
2785
|
+
trigger: "manual" | "auto";
|
|
2786
|
+
preTokens: number;
|
|
2787
|
+
preservedSegment?: {
|
|
2788
|
+
headUuid: string;
|
|
2789
|
+
anchorUuid: string;
|
|
2790
|
+
tailUuid: string;
|
|
2791
|
+
};
|
|
2792
|
+
summary: string;
|
|
2793
|
+
sdkSessionId: string;
|
|
2794
|
+
};
|
|
2626
2795
|
} | {
|
|
2627
2796
|
type: string;
|
|
2628
2797
|
toolCallId: string;
|
|
@@ -2721,6 +2890,23 @@ declare const createClients: ({ baseUrl, token, callbacks, assetsBaseUrl, status
|
|
|
2721
2890
|
readOnly: boolean;
|
|
2722
2891
|
}[];
|
|
2723
2892
|
}>;
|
|
2893
|
+
listSandboxFiles: (chatId: string, path?: string, signal?: AbortSignal) => Promise<{
|
|
2894
|
+
entries: {
|
|
2895
|
+
name: string;
|
|
2896
|
+
path: string;
|
|
2897
|
+
type: "file" | "dir";
|
|
2898
|
+
size?: number | undefined;
|
|
2899
|
+
}[];
|
|
2900
|
+
}>;
|
|
2901
|
+
readSandboxFile: (chatId: string, path: string, signal?: AbortSignal) => Promise<{
|
|
2902
|
+
content: string;
|
|
2903
|
+
encoding: "utf-8" | "binary";
|
|
2904
|
+
truncated: boolean;
|
|
2905
|
+
size: number;
|
|
2906
|
+
}>;
|
|
2907
|
+
getSandboxGitBranch: (chatId: string, signal?: AbortSignal) => Promise<{
|
|
2908
|
+
branch: string | null;
|
|
2909
|
+
}>;
|
|
2724
2910
|
chatStreamUrl: string;
|
|
2725
2911
|
};
|
|
2726
2912
|
oauth: {
|
|
@@ -2811,6 +2997,11 @@ declare const createClients: ({ baseUrl, token, callbacks, assetsBaseUrl, status
|
|
|
2811
2997
|
})>;
|
|
2812
2998
|
createScheduledRefresh: (input: CreateScheduledRefreshPath & CreateScheduledRefreshBody) => Promise<ScheduledTask>;
|
|
2813
2999
|
deleteScheduledTask: (taskId: string) => Promise<void>;
|
|
3000
|
+
getListing: (bucketId: string, signal?: AbortSignal) => Promise<BucketListing | null>;
|
|
3001
|
+
createListing: (bucketId: string, input: CreateBucketListingInput, signal?: AbortSignal) => Promise<Job<"bucketListingCreate">>;
|
|
3002
|
+
updateListing: (bucketId: string, input: UpdateBucketListingInput, signal?: AbortSignal) => Promise<Job<"bucketListingUpdate">>;
|
|
3003
|
+
deleteListing: (bucketId: string, signal?: AbortSignal) => Promise<Job<"bucketListingDelete">>;
|
|
3004
|
+
listListings: (signal?: AbortSignal) => Promise<BucketListing[]>;
|
|
2814
3005
|
};
|
|
2815
3006
|
events: {
|
|
2816
3007
|
getEvents: (query?: GetEventsQuery, signal?: AbortSignal) => Promise<StorageEvent[]>;
|