@keboola/api-client 16.0.0 → 18.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 +16 -9
- package/README.md +1 -5
- package/dist/assets/index.cjs +20 -7
- package/dist/assets/index.cjs.map +1 -1
- package/dist/assets/index.js +22 -2
- package/dist/assets/index.js.map +1 -1
- package/dist/index.cjs +9 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +63 -31
- package/dist/index.d.ts +63 -31
- package/dist/index.js +9 -22
- package/dist/index.js.map +1 -1
- package/dist/metastore/index.d.cts +1 -1
- package/dist/metastore/index.d.ts +1 -1
- package/dist/metastore/types.d.cts +1 -1
- package/dist/metastore/types.d.ts +1 -1
- package/dist/sdk/tag/index.d.cts +1 -1
- package/dist/sdk/tag/index.d.ts +1 -1
- package/dist/sdk/tag/types.d.cts +1 -1
- package/dist/sdk/tag/types.d.ts +1 -1
- package/dist/status/index.cjs +16 -7
- package/dist/status/index.cjs.map +1 -1
- package/dist/status/index.js +18 -2
- package/dist/status/index.js.map +1 -1
- package/dist/storage/types.d.cts +1 -1
- package/dist/storage/types.d.ts +1 -1
- package/dist/{types-DTkxk0fW.d.cts → types-BCPmAXOQ.d.cts} +4 -4
- package/dist/{types-Mghz1gMD.d.ts → types-BowqtZ7v.d.ts} +4 -4
- package/package.json +2 -2
- package/surface/metastore.md +24 -0
- package/surface/queue.md +1 -1
- package/dist/chunk-O3PPKRMA.js +0 -20
- package/dist/chunk-O3PPKRMA.js.map +0 -1
- package/dist/chunk-OT3DV5QD.cjs +0 -26
- package/dist/chunk-OT3DV5QD.cjs.map +0 -1
- package/dist/chunk-Q5NHIVV2.js +0 -24
- package/dist/chunk-Q5NHIVV2.js.map +0 -1
- package/dist/chunk-WQWWUE6Z.cjs +0 -22
- package/dist/chunk-WQWWUE6Z.cjs.map +0 -1
- package/surface/assets.md +0 -7
- package/surface/status.md +0 -7
package/dist/index.d.cts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { c as components$
|
|
1
|
+
import { c as components$9, A as AssertSamlBody, I as InitiateSamlBody, C as CreatePatBody, E as ExchangePatBody, R as RevokePatPath, a as CreateDeviceAuthorizationBody, b as ApproveDeviceAuthorizationBody, G as GetDeviceAuthorizationTokenBody, S as SudoBody, d as GetPkceTokenBody, e as RevokeSessionPath, f as RevokeTokenBody } from './types-59-LNg5i.cjs';
|
|
2
2
|
import { L as LoginInput, O as OidcInput, M as MfaCodeInput, a as MfaWebauthnInput } from './schemas-DVB6wC7L.cjs';
|
|
3
3
|
import { M as MiddlewareFn, c as BaseClientOptions, A as ApiResponse, H as HttpMethod } from './types-BLJoO6YL.cjs';
|
|
4
4
|
export { a as ApiError } from './types-BLJoO6YL.cjs';
|
|
5
5
|
import { D as DeletedProjectsListQuery, a as DeletedProject, b as DeletedProjectPurgeResult, M as Maintainer, c as MaintainerDetail, C as CreateMaintainerBody, U as UpdateMaintainerBody, d as MaintainerUser, A as AddMaintainerUserBody, e as CreateMaintainerInvitationBody, f as CreateMaintainerOrganizationBody, g as MetadataItem, S as SetMaintainerMetadataBody, O as OrganizationDetail, h as UpdateOrganizationBody, i as AddOrganizationUserBody, j as CreateOrganizationInvitationBody, P as Project, k as CreateOrganizationProjectBody, l as SetOrganizationMetadataBody, G as GetAllFeaturesQuery, F as Feature, m as FeatureProject, n as FeatureAdmin, o as GetProjectPath, p as CreateProjectFeaturePath, q as CreateProjectFeatureBody, R as RemoveProjectFeaturePath, r as User, L as ListProjectUsersPath, s as ListProjectInvitationsPath, t as CreateProjectInvitationPath, u as CreateProjectInvitationBody, v as DeleteProjectInvitationPath, w as AddProjectUserPath, x as AddProjectUserBody, y as RemoveProjectUserPath, z as GetProjectMetadataPath, B as ProjectMetadataItem, E as SetProjectMetadataPath, H as SetProjectMetadataBody, I as GetProjectReviewersPath, J as Reviewer, K as SetProjectReviewersPath, N as SetProjectReviewersBody, Q as UpdateProjectBody, T as MoveProjectBody, V as SetProjectDisabledBody, W as AddUserFeatureBody, X as AddUserFeaturePath, Y as RemoveUserFeaturePath } from './types-YEfQ5pAy.cjs';
|
|
6
|
-
import {
|
|
7
|
-
import { Post } from './assets/types.cjs';
|
|
8
|
-
import { S as StorageToken, c as components$7, C as CreateTokenBody, U as UpdateTokenBody, a as ShareTokenBody } from './types-CMEwVQ78.cjs';
|
|
6
|
+
import { S as StorageToken, c as components$8, C as CreateTokenBody, U as UpdateTokenBody, a as ShareTokenBody } from './types-CMEwVQ78.cjs';
|
|
9
7
|
import { StorageTableScope as StorageTable } from './domain/storageTable/index.cjs';
|
|
8
|
+
import { M as MetaObject, G as GetMetaObjectsPath, a as MetaStoreListResponse, b as GetMetaObjectRevisionsPath, c as GetMetaObjectPath, d as MetaStoreObjectResponse, C as CreateMetaObjectInput, D as DeleteMetaObjectPath, U as UpdateMetaObjectInput, R as ReplaceMetaObjectInput, e as GetMetaObjectRevisionPath, f as DeleteMetaObjectRevisionPath, g as GetSchemaPath, h as components$7, i as GetVersionedSchemaPath } from './types-BCPmAXOQ.cjs';
|
|
10
9
|
import { L as ListSubscriptionsQuery, c as components$6, G as GetSubscriptionPath, C as CreateSubscriptionBody, D as DeleteSubscriptionPath } from './types-BVldT2vs.cjs';
|
|
11
10
|
import { P as PaginationQuery, c as components$5, C as CreateSourceRequestBody, U as UpdateSourceRequestBody, D as DeleteSourceQuery, a as UpdateSourceSettingsRequestBody, T as TestSourceQuery, b as CreateSinkRequestBody, d as UpdateSinkRequestBody, e as UpdateSinkSettingsRequestBody, S as SinkStatisticsFilesQuery } from './types-DFWnAftN.cjs';
|
|
12
11
|
import { GetSchedulesQuery, ActivateScheduleBody, SchedulePath, ConfigurationPath as ConfigurationPath$1 } from './scheduler/types.cjs';
|
|
@@ -26,7 +25,6 @@ import { G as GetDataAppRunsPath, a as GetDataAppRunsQuery, b as GetDataAppRunPa
|
|
|
26
25
|
export { p as parseLogLines } from './utils-DDERw8dM.cjs';
|
|
27
26
|
import { CreateVariableBody, VariableWithHash, DeleteVariablePath, GetVariablesQuery, GetVariablesByBranchId } from './vault/types.cjs';
|
|
28
27
|
import { a as EncryptionCtx } from './types-DsqDUWJn.cjs';
|
|
29
|
-
import { M as MetaObject } from './types-DTkxk0fW.cjs';
|
|
30
28
|
import { TagWithBindings, TagData, CreateMetaObjectMetaDataInput, UpdateMetaObjectMetaDataInput } from './sdk/tag/types.cjs';
|
|
31
29
|
import * as zod_v4_core from 'zod/v4/core';
|
|
32
30
|
import * as zod from 'zod';
|
|
@@ -3674,9 +3672,9 @@ type ServiceUrls = Partial<Record<ServiceId, (url: string) => string | undefined
|
|
|
3674
3672
|
* Service clients reached through the registry — the key is the `clientName`
|
|
3675
3673
|
* the user accesses them by (e.g. `api.dataScience`), not the `serviceId`.
|
|
3676
3674
|
*/
|
|
3677
|
-
type ServiceClientName = 'vault' | 'dataScience' | 'encryption' | 'editor' | 'syncActions' | 'telemetry' | 'queryService' | 'queue' | 'chat' | 'ai' | 'import' | 'kaiAgent' | 'oauth' | 'stream' | 'notifications' | 'scheduler';
|
|
3675
|
+
type ServiceClientName = 'vault' | 'dataScience' | 'encryption' | 'editor' | 'syncActions' | 'telemetry' | 'queryService' | 'queue' | 'chat' | 'ai' | 'import' | 'kaiAgent' | 'oauth' | 'stream' | 'notifications' | 'scheduler' | 'metastore';
|
|
3678
3676
|
/** Clients instantiated directly (not stack-discovered), keyed by their property name. */
|
|
3679
|
-
type NonServiceClientName = 'storage' | 'management' | '
|
|
3677
|
+
type NonServiceClientName = 'storage' | 'management' | 'auth';
|
|
3680
3678
|
type MiddlewareTarget = ServiceClientName | NonServiceClientName;
|
|
3681
3679
|
type Middlewares = MiddlewareFn[] | ({
|
|
3682
3680
|
all?: MiddlewareFn[];
|
|
@@ -3687,9 +3685,6 @@ type ApiClientOptions = {
|
|
|
3687
3685
|
storageApi: string;
|
|
3688
3686
|
managementApi?: string;
|
|
3689
3687
|
};
|
|
3690
|
-
assetsBaseUrl: string;
|
|
3691
|
-
statusBaseUrl: string;
|
|
3692
|
-
metastoreBaseUrl: string;
|
|
3693
3688
|
middlewares?: Middlewares;
|
|
3694
3689
|
clientServiceUrls?: ServiceUrls;
|
|
3695
3690
|
} & BaseClientOptions;
|
|
@@ -3718,7 +3713,7 @@ declare const createLiveProject: ({ initialToken, verify, }: {
|
|
|
3718
3713
|
}) => void) => () => void;
|
|
3719
3714
|
middleware: MiddlewareFn;
|
|
3720
3715
|
};
|
|
3721
|
-
declare const createClients: ({ baseUrl, token,
|
|
3716
|
+
declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares, }: ApiClientOptions) => Promise<{
|
|
3722
3717
|
sdk: {
|
|
3723
3718
|
configuration: {
|
|
3724
3719
|
getConfiguration: <ComponentId extends RegisteredComponentId>(path: ConfigurationPath<ComponentId>) => Promise<{
|
|
@@ -12121,6 +12116,49 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
12121
12116
|
}>;
|
|
12122
12117
|
deleteSubscription: (subscriptionId: DeleteSubscriptionPath["subscriptionId"], signal?: AbortSignal) => Promise<void>;
|
|
12123
12118
|
};
|
|
12119
|
+
metastore: {
|
|
12120
|
+
healthCheck: (signal?: AbortSignal) => Promise<{
|
|
12121
|
+
service?: string;
|
|
12122
|
+
status?: string;
|
|
12123
|
+
timestamp?: string;
|
|
12124
|
+
version?: string;
|
|
12125
|
+
}>;
|
|
12126
|
+
repository: {
|
|
12127
|
+
getMetaObjects: <TData extends Record<string, unknown>, TDataOptional extends boolean = false>(input: GetMetaObjectsPath, signal?: AbortSignal) => Promise<MetaStoreListResponse<TData, TDataOptional>>;
|
|
12128
|
+
getMetaObjectRevisions: <TData extends Record<string, unknown>, TDataOptional extends boolean = false>(input: GetMetaObjectRevisionsPath, signal?: AbortSignal) => Promise<MetaStoreListResponse<TData, TDataOptional>>;
|
|
12129
|
+
getMetaObject: <TData extends Record<string, unknown>, TDataOptional extends boolean = false>(input: GetMetaObjectPath, signal?: AbortSignal) => Promise<MetaStoreObjectResponse<TData, TDataOptional>>;
|
|
12130
|
+
createMetaObject: <TData extends Record<string, unknown>, TDataOptional extends boolean = false>({ objectType, data, ...body }: CreateMetaObjectInput<TData>) => Promise<MetaStoreObjectResponse<TData, TDataOptional>>;
|
|
12131
|
+
deleteMetaObject: (input: DeleteMetaObjectPath) => Promise<never>;
|
|
12132
|
+
updateMetaObject: <TData extends Record<string, unknown>, TDataOptional extends boolean = false>({ objectType, UUID, data, ...body }: UpdateMetaObjectInput<TData>) => Promise<MetaStoreObjectResponse<TData, TDataOptional>>;
|
|
12133
|
+
replaceMetaObject: <TData extends Record<string, unknown>, TDataOptional extends boolean = false>({ objectType, UUID, data, ...body }: ReplaceMetaObjectInput<TData>) => Promise<MetaStoreObjectResponse<TData, TDataOptional>>;
|
|
12134
|
+
getMetaObjectRevision: <TData extends Record<string, unknown>, TDataOptional extends boolean = false>(input: GetMetaObjectRevisionPath, signal?: AbortSignal) => Promise<MetaStoreObjectResponse<TData, TDataOptional>>;
|
|
12135
|
+
deleteMetaObjectRevision: (input: DeleteMetaObjectRevisionPath) => Promise<never>;
|
|
12136
|
+
};
|
|
12137
|
+
schema: {
|
|
12138
|
+
getSchema: (input: GetSchemaPath, signal?: AbortSignal) => Promise<{
|
|
12139
|
+
createdAt?: string;
|
|
12140
|
+
createdBy?: components$7["schemas"]["models.JSONData"];
|
|
12141
|
+
description?: string;
|
|
12142
|
+
id?: string;
|
|
12143
|
+
isDefault?: boolean;
|
|
12144
|
+
objectType?: string;
|
|
12145
|
+
schema?: components$7["schemas"]["models.JSONData"];
|
|
12146
|
+
updatedAt?: string;
|
|
12147
|
+
version?: string;
|
|
12148
|
+
}>;
|
|
12149
|
+
getVersionedSchema: (input: GetVersionedSchemaPath, signal?: AbortSignal) => Promise<{
|
|
12150
|
+
createdAt?: string;
|
|
12151
|
+
createdBy?: components$7["schemas"]["models.JSONData"];
|
|
12152
|
+
description?: string;
|
|
12153
|
+
id?: string;
|
|
12154
|
+
isDefault?: boolean;
|
|
12155
|
+
objectType?: string;
|
|
12156
|
+
schema?: components$7["schemas"]["models.JSONData"];
|
|
12157
|
+
updatedAt?: string;
|
|
12158
|
+
version?: string;
|
|
12159
|
+
}>;
|
|
12160
|
+
};
|
|
12161
|
+
};
|
|
12124
12162
|
context: {
|
|
12125
12163
|
stack: {
|
|
12126
12164
|
services: Service[];
|
|
@@ -13402,7 +13440,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
13402
13440
|
startTime?: string | null;
|
|
13403
13441
|
endTime?: string | null;
|
|
13404
13442
|
runId: string;
|
|
13405
|
-
results?: components$
|
|
13443
|
+
results?: components$8["schemas"]["BucketListingUpdateJobResponse"] | components$8["schemas"]["BucketListingCreateJobResult"] | components$8["schemas"]["BucketListingDeleteResponse"] | components$8["schemas"]["RefreshJobResponse"] | components$8["schemas"]["FileDeleteResponse"] | components$8["schemas"]["TableSnapshotCreateJobResult"] | components$8["schemas"]["TableSwapResult"] | components$8["schemas"]["TableCreateResponse"] | components$8["schemas"]["TableExportJobResponse"];
|
|
13406
13444
|
creatorToken: {
|
|
13407
13445
|
id?: string;
|
|
13408
13446
|
description?: string;
|
|
@@ -13642,12 +13680,6 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
13642
13680
|
};
|
|
13643
13681
|
getStackInfo: (query?: GetStackInfoQuery, signal?: AbortSignal) => Promise<StackInfo>;
|
|
13644
13682
|
};
|
|
13645
|
-
assets: {
|
|
13646
|
-
getPublishedChangelogPosts: (signal?: AbortSignal) => Promise<Post[]>;
|
|
13647
|
-
};
|
|
13648
|
-
status: {
|
|
13649
|
-
getSummary: (signal?: AbortSignal) => Promise<StatusSummary>;
|
|
13650
|
-
};
|
|
13651
13683
|
management: {
|
|
13652
13684
|
currentUser: {
|
|
13653
13685
|
getMaintainerInvitations: (signal?: AbortSignal) => Promise<{
|
|
@@ -14270,7 +14302,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
14270
14302
|
tokenType: string;
|
|
14271
14303
|
expiresIn: number;
|
|
14272
14304
|
sessionId: string;
|
|
14273
|
-
user: components$
|
|
14305
|
+
user: components$9["schemas"]["UserLoggedInResponse"];
|
|
14274
14306
|
}>;
|
|
14275
14307
|
verifyWithWebauthn: (input: MfaWebauthnInput, signal?: AbortSignal) => Promise<{
|
|
14276
14308
|
accessToken: string;
|
|
@@ -14278,7 +14310,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
14278
14310
|
tokenType: string;
|
|
14279
14311
|
expiresIn: number;
|
|
14280
14312
|
sessionId: string;
|
|
14281
|
-
user: components$
|
|
14313
|
+
user: components$9["schemas"]["UserLoggedInResponse"];
|
|
14282
14314
|
}>;
|
|
14283
14315
|
regenerateRecoveryCodes: (signal?: AbortSignal) => Promise<{
|
|
14284
14316
|
codes: string[];
|
|
@@ -14291,7 +14323,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
14291
14323
|
tokenType: string;
|
|
14292
14324
|
expiresIn: number;
|
|
14293
14325
|
sessionId: string;
|
|
14294
|
-
user: components$
|
|
14326
|
+
user: components$9["schemas"]["UserLoggedInResponse"];
|
|
14295
14327
|
} | {
|
|
14296
14328
|
mfaRequired: boolean;
|
|
14297
14329
|
mfaType: string;
|
|
@@ -14311,7 +14343,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
14311
14343
|
accessToken: string;
|
|
14312
14344
|
tokenType: string;
|
|
14313
14345
|
expiresIn: number;
|
|
14314
|
-
pat: components$
|
|
14346
|
+
pat: components$9["schemas"]["PatItemResponse"];
|
|
14315
14347
|
}>;
|
|
14316
14348
|
exchange: (body?: ExchangePatBody, signal?: AbortSignal) => Promise<{
|
|
14317
14349
|
accessToken: string;
|
|
@@ -14322,11 +14354,11 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
14322
14354
|
parentTokenId: string;
|
|
14323
14355
|
parentTokenType: "session" | "pat";
|
|
14324
14356
|
expiresAt: string;
|
|
14325
|
-
pat: components$
|
|
14357
|
+
pat: components$9["schemas"]["PatItemResponse"];
|
|
14326
14358
|
}>;
|
|
14327
14359
|
revoke: (id: RevokePatPath["id"], signal?: AbortSignal) => Promise<void>;
|
|
14328
14360
|
getAll: (signal?: AbortSignal) => Promise<{
|
|
14329
|
-
items: components$
|
|
14361
|
+
items: components$9["schemas"]["PatItemResponse"][];
|
|
14330
14362
|
}>;
|
|
14331
14363
|
};
|
|
14332
14364
|
device: {
|
|
@@ -14341,7 +14373,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
14341
14373
|
approve: (body: ApproveDeviceAuthorizationBody, signal?: AbortSignal) => Promise<{
|
|
14342
14374
|
status: "approved" | "denied";
|
|
14343
14375
|
idempotent: boolean;
|
|
14344
|
-
decision: components$
|
|
14376
|
+
decision: components$9["schemas"]["DeviceApprovalDecision"];
|
|
14345
14377
|
}>;
|
|
14346
14378
|
getToken: (body: GetDeviceAuthorizationTokenBody, signal?: AbortSignal) => Promise<{
|
|
14347
14379
|
accessToken: string;
|
|
@@ -14349,7 +14381,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
14349
14381
|
tokenType: string;
|
|
14350
14382
|
expiresIn: number;
|
|
14351
14383
|
sessionId: string;
|
|
14352
|
-
user: components$
|
|
14384
|
+
user: components$9["schemas"]["UserLoggedInResponse"];
|
|
14353
14385
|
}>;
|
|
14354
14386
|
};
|
|
14355
14387
|
sudo: {
|
|
@@ -14371,12 +14403,12 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
14371
14403
|
tokenType: string;
|
|
14372
14404
|
expiresIn: number;
|
|
14373
14405
|
sessionId: string;
|
|
14374
|
-
user: components$
|
|
14406
|
+
user: components$9["schemas"]["UserLoggedInResponse"];
|
|
14375
14407
|
}>;
|
|
14376
14408
|
};
|
|
14377
14409
|
session: {
|
|
14378
14410
|
getAll: (signal?: AbortSignal) => Promise<{
|
|
14379
|
-
sessions?: components$
|
|
14411
|
+
sessions?: components$9["schemas"]["SessionItemResponse"][];
|
|
14380
14412
|
}>;
|
|
14381
14413
|
revoke: (sessionId: RevokeSessionPath["sessionId"], signal?: AbortSignal) => Promise<void>;
|
|
14382
14414
|
revokeAll: (signal?: AbortSignal) => Promise<void>;
|
|
@@ -14388,11 +14420,11 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
14388
14420
|
tokenType: string;
|
|
14389
14421
|
expiresIn: number;
|
|
14390
14422
|
sessionId: string;
|
|
14391
|
-
user: components$
|
|
14423
|
+
user: components$9["schemas"]["UserLoggedInResponse"];
|
|
14392
14424
|
}>;
|
|
14393
14425
|
introspect: (token?: string, signal?: AbortSignal) => Promise<{
|
|
14394
14426
|
sessionId: string;
|
|
14395
|
-
user: components$
|
|
14427
|
+
user: components$9["schemas"]["UserLoggedInResponse"];
|
|
14396
14428
|
grantType: string;
|
|
14397
14429
|
sudoVerified: boolean;
|
|
14398
14430
|
createdAt: string;
|
|
@@ -14400,7 +14432,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
14400
14432
|
lastUsedAt?: string | null;
|
|
14401
14433
|
lastUsedIp?: string | null;
|
|
14402
14434
|
userAgent?: string | null;
|
|
14403
|
-
projects: components$
|
|
14435
|
+
projects: components$9["schemas"]["ProjectAccessItem"][];
|
|
14404
14436
|
}>;
|
|
14405
14437
|
revoke: (body: RevokeTokenBody, signal?: AbortSignal) => Promise<void>;
|
|
14406
14438
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { c as components$
|
|
1
|
+
import { c as components$9, A as AssertSamlBody, I as InitiateSamlBody, C as CreatePatBody, E as ExchangePatBody, R as RevokePatPath, a as CreateDeviceAuthorizationBody, b as ApproveDeviceAuthorizationBody, G as GetDeviceAuthorizationTokenBody, S as SudoBody, d as GetPkceTokenBody, e as RevokeSessionPath, f as RevokeTokenBody } from './types-oJnjpvPi.js';
|
|
2
2
|
import { L as LoginInput, O as OidcInput, M as MfaCodeInput, a as MfaWebauthnInput } from './schemas-DVB6wC7L.js';
|
|
3
3
|
import { M as MiddlewareFn, c as BaseClientOptions, A as ApiResponse, H as HttpMethod } from './types-BLJoO6YL.js';
|
|
4
4
|
export { a as ApiError } from './types-BLJoO6YL.js';
|
|
5
5
|
import { D as DeletedProjectsListQuery, a as DeletedProject, b as DeletedProjectPurgeResult, M as Maintainer, c as MaintainerDetail, C as CreateMaintainerBody, U as UpdateMaintainerBody, d as MaintainerUser, A as AddMaintainerUserBody, e as CreateMaintainerInvitationBody, f as CreateMaintainerOrganizationBody, g as MetadataItem, S as SetMaintainerMetadataBody, O as OrganizationDetail, h as UpdateOrganizationBody, i as AddOrganizationUserBody, j as CreateOrganizationInvitationBody, P as Project, k as CreateOrganizationProjectBody, l as SetOrganizationMetadataBody, G as GetAllFeaturesQuery, F as Feature, m as FeatureProject, n as FeatureAdmin, o as GetProjectPath, p as CreateProjectFeaturePath, q as CreateProjectFeatureBody, R as RemoveProjectFeaturePath, r as User, L as ListProjectUsersPath, s as ListProjectInvitationsPath, t as CreateProjectInvitationPath, u as CreateProjectInvitationBody, v as DeleteProjectInvitationPath, w as AddProjectUserPath, x as AddProjectUserBody, y as RemoveProjectUserPath, z as GetProjectMetadataPath, B as ProjectMetadataItem, E as SetProjectMetadataPath, H as SetProjectMetadataBody, I as GetProjectReviewersPath, J as Reviewer, K as SetProjectReviewersPath, N as SetProjectReviewersBody, Q as UpdateProjectBody, T as MoveProjectBody, V as SetProjectDisabledBody, W as AddUserFeatureBody, X as AddUserFeaturePath, Y as RemoveUserFeaturePath } from './types-YEfQ5pAy.js';
|
|
6
|
-
import {
|
|
7
|
-
import { Post } from './assets/types.js';
|
|
8
|
-
import { S as StorageToken, c as components$7, C as CreateTokenBody, U as UpdateTokenBody, a as ShareTokenBody } from './types-GmAeMsok.js';
|
|
6
|
+
import { S as StorageToken, c as components$8, C as CreateTokenBody, U as UpdateTokenBody, a as ShareTokenBody } from './types-GmAeMsok.js';
|
|
9
7
|
import { StorageTableScope as StorageTable } from './domain/storageTable/index.js';
|
|
8
|
+
import { M as MetaObject, G as GetMetaObjectsPath, a as MetaStoreListResponse, b as GetMetaObjectRevisionsPath, c as GetMetaObjectPath, d as MetaStoreObjectResponse, C as CreateMetaObjectInput, D as DeleteMetaObjectPath, U as UpdateMetaObjectInput, R as ReplaceMetaObjectInput, e as GetMetaObjectRevisionPath, f as DeleteMetaObjectRevisionPath, g as GetSchemaPath, h as components$7, i as GetVersionedSchemaPath } from './types-BowqtZ7v.js';
|
|
10
9
|
import { L as ListSubscriptionsQuery, c as components$6, G as GetSubscriptionPath, C as CreateSubscriptionBody, D as DeleteSubscriptionPath } from './types-CS8MYc2k.js';
|
|
11
10
|
import { P as PaginationQuery, c as components$5, C as CreateSourceRequestBody, U as UpdateSourceRequestBody, D as DeleteSourceQuery, a as UpdateSourceSettingsRequestBody, T as TestSourceQuery, b as CreateSinkRequestBody, d as UpdateSinkRequestBody, e as UpdateSinkSettingsRequestBody, S as SinkStatisticsFilesQuery } from './types-Dv3vN7M9.js';
|
|
12
11
|
import { GetSchedulesQuery, ActivateScheduleBody, SchedulePath, ConfigurationPath as ConfigurationPath$1 } from './scheduler/types.js';
|
|
@@ -26,7 +25,6 @@ import { G as GetDataAppRunsPath, a as GetDataAppRunsQuery, b as GetDataAppRunPa
|
|
|
26
25
|
export { p as parseLogLines } from './utils-C7eSJKtG.js';
|
|
27
26
|
import { CreateVariableBody, VariableWithHash, DeleteVariablePath, GetVariablesQuery, GetVariablesByBranchId } from './vault/types.js';
|
|
28
27
|
import { a as EncryptionCtx } from './types-D64zThBJ.js';
|
|
29
|
-
import { M as MetaObject } from './types-Mghz1gMD.js';
|
|
30
28
|
import { TagWithBindings, TagData, CreateMetaObjectMetaDataInput, UpdateMetaObjectMetaDataInput } from './sdk/tag/types.js';
|
|
31
29
|
import * as zod_v4_core from 'zod/v4/core';
|
|
32
30
|
import * as zod from 'zod';
|
|
@@ -3674,9 +3672,9 @@ type ServiceUrls = Partial<Record<ServiceId, (url: string) => string | undefined
|
|
|
3674
3672
|
* Service clients reached through the registry — the key is the `clientName`
|
|
3675
3673
|
* the user accesses them by (e.g. `api.dataScience`), not the `serviceId`.
|
|
3676
3674
|
*/
|
|
3677
|
-
type ServiceClientName = 'vault' | 'dataScience' | 'encryption' | 'editor' | 'syncActions' | 'telemetry' | 'queryService' | 'queue' | 'chat' | 'ai' | 'import' | 'kaiAgent' | 'oauth' | 'stream' | 'notifications' | 'scheduler';
|
|
3675
|
+
type ServiceClientName = 'vault' | 'dataScience' | 'encryption' | 'editor' | 'syncActions' | 'telemetry' | 'queryService' | 'queue' | 'chat' | 'ai' | 'import' | 'kaiAgent' | 'oauth' | 'stream' | 'notifications' | 'scheduler' | 'metastore';
|
|
3678
3676
|
/** Clients instantiated directly (not stack-discovered), keyed by their property name. */
|
|
3679
|
-
type NonServiceClientName = 'storage' | 'management' | '
|
|
3677
|
+
type NonServiceClientName = 'storage' | 'management' | 'auth';
|
|
3680
3678
|
type MiddlewareTarget = ServiceClientName | NonServiceClientName;
|
|
3681
3679
|
type Middlewares = MiddlewareFn[] | ({
|
|
3682
3680
|
all?: MiddlewareFn[];
|
|
@@ -3687,9 +3685,6 @@ type ApiClientOptions = {
|
|
|
3687
3685
|
storageApi: string;
|
|
3688
3686
|
managementApi?: string;
|
|
3689
3687
|
};
|
|
3690
|
-
assetsBaseUrl: string;
|
|
3691
|
-
statusBaseUrl: string;
|
|
3692
|
-
metastoreBaseUrl: string;
|
|
3693
3688
|
middlewares?: Middlewares;
|
|
3694
3689
|
clientServiceUrls?: ServiceUrls;
|
|
3695
3690
|
} & BaseClientOptions;
|
|
@@ -3718,7 +3713,7 @@ declare const createLiveProject: ({ initialToken, verify, }: {
|
|
|
3718
3713
|
}) => void) => () => void;
|
|
3719
3714
|
middleware: MiddlewareFn;
|
|
3720
3715
|
};
|
|
3721
|
-
declare const createClients: ({ baseUrl, token,
|
|
3716
|
+
declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares, }: ApiClientOptions) => Promise<{
|
|
3722
3717
|
sdk: {
|
|
3723
3718
|
configuration: {
|
|
3724
3719
|
getConfiguration: <ComponentId extends RegisteredComponentId>(path: ConfigurationPath<ComponentId>) => Promise<{
|
|
@@ -12121,6 +12116,49 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
12121
12116
|
}>;
|
|
12122
12117
|
deleteSubscription: (subscriptionId: DeleteSubscriptionPath["subscriptionId"], signal?: AbortSignal) => Promise<void>;
|
|
12123
12118
|
};
|
|
12119
|
+
metastore: {
|
|
12120
|
+
healthCheck: (signal?: AbortSignal) => Promise<{
|
|
12121
|
+
service?: string;
|
|
12122
|
+
status?: string;
|
|
12123
|
+
timestamp?: string;
|
|
12124
|
+
version?: string;
|
|
12125
|
+
}>;
|
|
12126
|
+
repository: {
|
|
12127
|
+
getMetaObjects: <TData extends Record<string, unknown>, TDataOptional extends boolean = false>(input: GetMetaObjectsPath, signal?: AbortSignal) => Promise<MetaStoreListResponse<TData, TDataOptional>>;
|
|
12128
|
+
getMetaObjectRevisions: <TData extends Record<string, unknown>, TDataOptional extends boolean = false>(input: GetMetaObjectRevisionsPath, signal?: AbortSignal) => Promise<MetaStoreListResponse<TData, TDataOptional>>;
|
|
12129
|
+
getMetaObject: <TData extends Record<string, unknown>, TDataOptional extends boolean = false>(input: GetMetaObjectPath, signal?: AbortSignal) => Promise<MetaStoreObjectResponse<TData, TDataOptional>>;
|
|
12130
|
+
createMetaObject: <TData extends Record<string, unknown>, TDataOptional extends boolean = false>({ objectType, data, ...body }: CreateMetaObjectInput<TData>) => Promise<MetaStoreObjectResponse<TData, TDataOptional>>;
|
|
12131
|
+
deleteMetaObject: (input: DeleteMetaObjectPath) => Promise<never>;
|
|
12132
|
+
updateMetaObject: <TData extends Record<string, unknown>, TDataOptional extends boolean = false>({ objectType, UUID, data, ...body }: UpdateMetaObjectInput<TData>) => Promise<MetaStoreObjectResponse<TData, TDataOptional>>;
|
|
12133
|
+
replaceMetaObject: <TData extends Record<string, unknown>, TDataOptional extends boolean = false>({ objectType, UUID, data, ...body }: ReplaceMetaObjectInput<TData>) => Promise<MetaStoreObjectResponse<TData, TDataOptional>>;
|
|
12134
|
+
getMetaObjectRevision: <TData extends Record<string, unknown>, TDataOptional extends boolean = false>(input: GetMetaObjectRevisionPath, signal?: AbortSignal) => Promise<MetaStoreObjectResponse<TData, TDataOptional>>;
|
|
12135
|
+
deleteMetaObjectRevision: (input: DeleteMetaObjectRevisionPath) => Promise<never>;
|
|
12136
|
+
};
|
|
12137
|
+
schema: {
|
|
12138
|
+
getSchema: (input: GetSchemaPath, signal?: AbortSignal) => Promise<{
|
|
12139
|
+
createdAt?: string;
|
|
12140
|
+
createdBy?: components$7["schemas"]["models.JSONData"];
|
|
12141
|
+
description?: string;
|
|
12142
|
+
id?: string;
|
|
12143
|
+
isDefault?: boolean;
|
|
12144
|
+
objectType?: string;
|
|
12145
|
+
schema?: components$7["schemas"]["models.JSONData"];
|
|
12146
|
+
updatedAt?: string;
|
|
12147
|
+
version?: string;
|
|
12148
|
+
}>;
|
|
12149
|
+
getVersionedSchema: (input: GetVersionedSchemaPath, signal?: AbortSignal) => Promise<{
|
|
12150
|
+
createdAt?: string;
|
|
12151
|
+
createdBy?: components$7["schemas"]["models.JSONData"];
|
|
12152
|
+
description?: string;
|
|
12153
|
+
id?: string;
|
|
12154
|
+
isDefault?: boolean;
|
|
12155
|
+
objectType?: string;
|
|
12156
|
+
schema?: components$7["schemas"]["models.JSONData"];
|
|
12157
|
+
updatedAt?: string;
|
|
12158
|
+
version?: string;
|
|
12159
|
+
}>;
|
|
12160
|
+
};
|
|
12161
|
+
};
|
|
12124
12162
|
context: {
|
|
12125
12163
|
stack: {
|
|
12126
12164
|
services: Service[];
|
|
@@ -13402,7 +13440,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
13402
13440
|
startTime?: string | null;
|
|
13403
13441
|
endTime?: string | null;
|
|
13404
13442
|
runId: string;
|
|
13405
|
-
results?: components$
|
|
13443
|
+
results?: components$8["schemas"]["BucketListingUpdateJobResponse"] | components$8["schemas"]["BucketListingCreateJobResult"] | components$8["schemas"]["BucketListingDeleteResponse"] | components$8["schemas"]["RefreshJobResponse"] | components$8["schemas"]["FileDeleteResponse"] | components$8["schemas"]["TableSnapshotCreateJobResult"] | components$8["schemas"]["TableSwapResult"] | components$8["schemas"]["TableCreateResponse"] | components$8["schemas"]["TableExportJobResponse"];
|
|
13406
13444
|
creatorToken: {
|
|
13407
13445
|
id?: string;
|
|
13408
13446
|
description?: string;
|
|
@@ -13642,12 +13680,6 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
13642
13680
|
};
|
|
13643
13681
|
getStackInfo: (query?: GetStackInfoQuery, signal?: AbortSignal) => Promise<StackInfo>;
|
|
13644
13682
|
};
|
|
13645
|
-
assets: {
|
|
13646
|
-
getPublishedChangelogPosts: (signal?: AbortSignal) => Promise<Post[]>;
|
|
13647
|
-
};
|
|
13648
|
-
status: {
|
|
13649
|
-
getSummary: (signal?: AbortSignal) => Promise<StatusSummary>;
|
|
13650
|
-
};
|
|
13651
13683
|
management: {
|
|
13652
13684
|
currentUser: {
|
|
13653
13685
|
getMaintainerInvitations: (signal?: AbortSignal) => Promise<{
|
|
@@ -14270,7 +14302,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
14270
14302
|
tokenType: string;
|
|
14271
14303
|
expiresIn: number;
|
|
14272
14304
|
sessionId: string;
|
|
14273
|
-
user: components$
|
|
14305
|
+
user: components$9["schemas"]["UserLoggedInResponse"];
|
|
14274
14306
|
}>;
|
|
14275
14307
|
verifyWithWebauthn: (input: MfaWebauthnInput, signal?: AbortSignal) => Promise<{
|
|
14276
14308
|
accessToken: string;
|
|
@@ -14278,7 +14310,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
14278
14310
|
tokenType: string;
|
|
14279
14311
|
expiresIn: number;
|
|
14280
14312
|
sessionId: string;
|
|
14281
|
-
user: components$
|
|
14313
|
+
user: components$9["schemas"]["UserLoggedInResponse"];
|
|
14282
14314
|
}>;
|
|
14283
14315
|
regenerateRecoveryCodes: (signal?: AbortSignal) => Promise<{
|
|
14284
14316
|
codes: string[];
|
|
@@ -14291,7 +14323,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
14291
14323
|
tokenType: string;
|
|
14292
14324
|
expiresIn: number;
|
|
14293
14325
|
sessionId: string;
|
|
14294
|
-
user: components$
|
|
14326
|
+
user: components$9["schemas"]["UserLoggedInResponse"];
|
|
14295
14327
|
} | {
|
|
14296
14328
|
mfaRequired: boolean;
|
|
14297
14329
|
mfaType: string;
|
|
@@ -14311,7 +14343,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
14311
14343
|
accessToken: string;
|
|
14312
14344
|
tokenType: string;
|
|
14313
14345
|
expiresIn: number;
|
|
14314
|
-
pat: components$
|
|
14346
|
+
pat: components$9["schemas"]["PatItemResponse"];
|
|
14315
14347
|
}>;
|
|
14316
14348
|
exchange: (body?: ExchangePatBody, signal?: AbortSignal) => Promise<{
|
|
14317
14349
|
accessToken: string;
|
|
@@ -14322,11 +14354,11 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
14322
14354
|
parentTokenId: string;
|
|
14323
14355
|
parentTokenType: "session" | "pat";
|
|
14324
14356
|
expiresAt: string;
|
|
14325
|
-
pat: components$
|
|
14357
|
+
pat: components$9["schemas"]["PatItemResponse"];
|
|
14326
14358
|
}>;
|
|
14327
14359
|
revoke: (id: RevokePatPath["id"], signal?: AbortSignal) => Promise<void>;
|
|
14328
14360
|
getAll: (signal?: AbortSignal) => Promise<{
|
|
14329
|
-
items: components$
|
|
14361
|
+
items: components$9["schemas"]["PatItemResponse"][];
|
|
14330
14362
|
}>;
|
|
14331
14363
|
};
|
|
14332
14364
|
device: {
|
|
@@ -14341,7 +14373,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
14341
14373
|
approve: (body: ApproveDeviceAuthorizationBody, signal?: AbortSignal) => Promise<{
|
|
14342
14374
|
status: "approved" | "denied";
|
|
14343
14375
|
idempotent: boolean;
|
|
14344
|
-
decision: components$
|
|
14376
|
+
decision: components$9["schemas"]["DeviceApprovalDecision"];
|
|
14345
14377
|
}>;
|
|
14346
14378
|
getToken: (body: GetDeviceAuthorizationTokenBody, signal?: AbortSignal) => Promise<{
|
|
14347
14379
|
accessToken: string;
|
|
@@ -14349,7 +14381,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
14349
14381
|
tokenType: string;
|
|
14350
14382
|
expiresIn: number;
|
|
14351
14383
|
sessionId: string;
|
|
14352
|
-
user: components$
|
|
14384
|
+
user: components$9["schemas"]["UserLoggedInResponse"];
|
|
14353
14385
|
}>;
|
|
14354
14386
|
};
|
|
14355
14387
|
sudo: {
|
|
@@ -14371,12 +14403,12 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
14371
14403
|
tokenType: string;
|
|
14372
14404
|
expiresIn: number;
|
|
14373
14405
|
sessionId: string;
|
|
14374
|
-
user: components$
|
|
14406
|
+
user: components$9["schemas"]["UserLoggedInResponse"];
|
|
14375
14407
|
}>;
|
|
14376
14408
|
};
|
|
14377
14409
|
session: {
|
|
14378
14410
|
getAll: (signal?: AbortSignal) => Promise<{
|
|
14379
|
-
sessions?: components$
|
|
14411
|
+
sessions?: components$9["schemas"]["SessionItemResponse"][];
|
|
14380
14412
|
}>;
|
|
14381
14413
|
revoke: (sessionId: RevokeSessionPath["sessionId"], signal?: AbortSignal) => Promise<void>;
|
|
14382
14414
|
revokeAll: (signal?: AbortSignal) => Promise<void>;
|
|
@@ -14388,11 +14420,11 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
14388
14420
|
tokenType: string;
|
|
14389
14421
|
expiresIn: number;
|
|
14390
14422
|
sessionId: string;
|
|
14391
|
-
user: components$
|
|
14423
|
+
user: components$9["schemas"]["UserLoggedInResponse"];
|
|
14392
14424
|
}>;
|
|
14393
14425
|
introspect: (token?: string, signal?: AbortSignal) => Promise<{
|
|
14394
14426
|
sessionId: string;
|
|
14395
|
-
user: components$
|
|
14427
|
+
user: components$9["schemas"]["UserLoggedInResponse"];
|
|
14396
14428
|
grantType: string;
|
|
14397
14429
|
sudoVerified: boolean;
|
|
14398
14430
|
createdAt: string;
|
|
@@ -14400,7 +14432,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
14400
14432
|
lastUsedAt?: string | null;
|
|
14401
14433
|
lastUsedIp?: string | null;
|
|
14402
14434
|
userAgent?: string | null;
|
|
14403
|
-
projects: components$
|
|
14435
|
+
projects: components$9["schemas"]["ProjectAccessItem"][];
|
|
14404
14436
|
}>;
|
|
14405
14437
|
revoke: (body: RevokeTokenBody, signal?: AbortSignal) => Promise<void>;
|
|
14406
14438
|
};
|
package/dist/index.js
CHANGED
|
@@ -9,8 +9,6 @@ import { createConfigurationSdk } from './chunk-YUTWLJBK.js';
|
|
|
9
9
|
export { isEmptyDeep, schemaGuidedMerge } from './chunk-YUTWLJBK.js';
|
|
10
10
|
import './chunk-WFBQUWRC.js';
|
|
11
11
|
import { createProject } from './chunk-UABYNGBZ.js';
|
|
12
|
-
import { createStatusClient } from './chunk-O3PPKRMA.js';
|
|
13
|
-
import './chunk-7J2R6XHB.js';
|
|
14
12
|
import { createStorageClient, ServiceUnavailableError } from './chunk-G7INDX44.js';
|
|
15
13
|
export { ServiceUnavailableError, series } from './chunk-G7INDX44.js';
|
|
16
14
|
export { concurrent } from './chunk-EBCZUGUX.js';
|
|
@@ -30,7 +28,6 @@ import { createSchedulerClient } from './chunk-BUHCOAT6.js';
|
|
|
30
28
|
import { createQueryServiceClient } from './chunk-K57JQFAE.js';
|
|
31
29
|
import { createQueueClient } from './chunk-EA26275C.js';
|
|
32
30
|
import { createAiClient } from './chunk-IP4D4I42.js';
|
|
33
|
-
import { createAssetsClient } from './chunk-Q5NHIVV2.js';
|
|
34
31
|
import { createAuthClient } from './chunk-F6UMQZBC.js';
|
|
35
32
|
import { createChatClient } from './chunk-FTRHU6YC.js';
|
|
36
33
|
import './chunk-4RC5E3SL.js';
|
|
@@ -633,9 +630,6 @@ var createLiveToken = ({ initialToken }) => {
|
|
|
633
630
|
var createClients = async ({
|
|
634
631
|
baseUrl,
|
|
635
632
|
token,
|
|
636
|
-
assetsBaseUrl,
|
|
637
|
-
statusBaseUrl,
|
|
638
|
-
metastoreBaseUrl,
|
|
639
633
|
clientServiceUrls,
|
|
640
634
|
middlewares
|
|
641
635
|
}) => {
|
|
@@ -814,22 +808,17 @@ var createClients = async ({
|
|
|
814
808
|
middlewares: middlewareFor("notifications", [liveToken.attachTokenMiddleware]),
|
|
815
809
|
token: token.storageApi
|
|
816
810
|
})
|
|
811
|
+
}).add({
|
|
812
|
+
serviceId: "metastore",
|
|
813
|
+
clientName: "metastore",
|
|
814
|
+
clientFn: (serviceBaseUrl) => createMetastoreClient({
|
|
815
|
+
baseUrl: serviceBaseUrl,
|
|
816
|
+
middlewares: middlewareFor("metastore", [liveToken.attachTokenMiddleware]),
|
|
817
|
+
token: token.storageApi
|
|
818
|
+
})
|
|
817
819
|
}).build();
|
|
818
|
-
const metastore = createMetastoreClient({
|
|
819
|
-
baseUrl: metastoreBaseUrl,
|
|
820
|
-
middlewares: middlewareFor("metastore", [liveToken.attachTokenMiddleware]),
|
|
821
|
-
token: token.storageApi
|
|
822
|
-
});
|
|
823
|
-
const assets = createAssetsClient({
|
|
824
|
-
baseUrl: assetsBaseUrl,
|
|
825
|
-
middlewares: middlewareFor("assets")
|
|
826
|
-
});
|
|
827
|
-
const status = createStatusClient({
|
|
828
|
-
baseUrl: statusBaseUrl,
|
|
829
|
-
middlewares: middlewareFor("status")
|
|
830
|
-
});
|
|
831
820
|
const tag = createTagSdk({
|
|
832
|
-
metastoreClient: metastore
|
|
821
|
+
metastoreClient: client.metastore
|
|
833
822
|
});
|
|
834
823
|
const storageSdk = createStorageSdk({
|
|
835
824
|
storageClient: storage
|
|
@@ -861,8 +850,6 @@ var createClients = async ({
|
|
|
861
850
|
context,
|
|
862
851
|
// clients
|
|
863
852
|
storage,
|
|
864
|
-
assets,
|
|
865
|
-
status,
|
|
866
853
|
management,
|
|
867
854
|
auth,
|
|
868
855
|
...client,
|