@openbkn/bkn-sdk 0.1.4 → 0.1.5-rc.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/README.md +7 -9
- package/README.zh.md +2 -6
- package/dist/{chunk-Z2NRTUB3.js → chunk-WIYRGBAB.js} +367 -535
- package/dist/cli.js +1835 -422
- package/dist/index.d.ts +603 -151
- package/dist/index.js +3 -3
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -324,72 +324,6 @@ declare function admin(ctx: RequestContext): {
|
|
|
324
324
|
}>;
|
|
325
325
|
};
|
|
326
326
|
|
|
327
|
-
interface ChatResult {
|
|
328
|
-
text: string;
|
|
329
|
-
conversationId?: string;
|
|
330
|
-
}
|
|
331
|
-
interface SendChatOptions {
|
|
332
|
-
conversationId?: string;
|
|
333
|
-
stream?: boolean;
|
|
334
|
-
onDelta?: (text: string) => void;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
/**
|
|
338
|
-
* Agent client (agent-factory v3). Read side + published listing.
|
|
339
|
-
* Responses passed through as parsed JSON.
|
|
340
|
-
* @deprecated The Decision Agent (agent-factory) surface is being phased out and
|
|
341
|
-
* may be removed in a future release. Avoid building new integrations on it.
|
|
342
|
-
*/
|
|
343
|
-
|
|
344
|
-
interface ListAgentsOptions {
|
|
345
|
-
name?: string;
|
|
346
|
-
offset?: number;
|
|
347
|
-
limit?: number;
|
|
348
|
-
categoryId?: string;
|
|
349
|
-
customSpaceId?: string;
|
|
350
|
-
isToSquare?: number;
|
|
351
|
-
}
|
|
352
|
-
interface PagingOptions {
|
|
353
|
-
offset?: number;
|
|
354
|
-
limit?: number;
|
|
355
|
-
name?: string;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
/**
|
|
359
|
-
* Decision Agent resource surface.
|
|
360
|
-
* @deprecated The Decision Agent (agent-factory) surface is being phased out and
|
|
361
|
-
* may be removed in a future release. Avoid building new integrations on it.
|
|
362
|
-
*/
|
|
363
|
-
declare function agents(ctx: RequestContext): {
|
|
364
|
-
list: (opts?: ListAgentsOptions) => Promise<unknown>;
|
|
365
|
-
get: (agentId: string) => Promise<unknown>;
|
|
366
|
-
getByKey: (key: string) => Promise<unknown>;
|
|
367
|
-
personalList: (opts?: PagingOptions) => Promise<unknown>;
|
|
368
|
-
templateList: (opts?: PagingOptions) => Promise<unknown>;
|
|
369
|
-
templateGet: (templateId: string) => Promise<unknown>;
|
|
370
|
-
categoryList: () => Promise<unknown>;
|
|
371
|
-
create: (body: unknown) => Promise<unknown>;
|
|
372
|
-
update: (agentId: string, body: unknown) => Promise<unknown>;
|
|
373
|
-
delete: (agentId: string) => Promise<unknown>;
|
|
374
|
-
publish: (agentId: string) => Promise<unknown>;
|
|
375
|
-
unpublish: (agentId: string) => Promise<unknown>;
|
|
376
|
-
sessions: (agentKey: string, opts?: {
|
|
377
|
-
page?: number;
|
|
378
|
-
size?: number;
|
|
379
|
-
}) => Promise<unknown>;
|
|
380
|
-
history: (agentKey: string, conversationId: string) => Promise<unknown>;
|
|
381
|
-
/** List skill ids attached to an agent (config.skills.skills). */
|
|
382
|
-
skillList: (agentId: string) => Promise<string[]>;
|
|
383
|
-
/** Attach skill(s) to an agent (dedup), then persist. */
|
|
384
|
-
skillAdd: (agentId: string, skillIds: string[]) => Promise<unknown>;
|
|
385
|
-
/** Detach skill(s) from an agent, then persist. */
|
|
386
|
-
skillRemove: (agentId: string, skillIds: string[]) => Promise<unknown>;
|
|
387
|
-
/** Send a chat turn to an agent (resolves agent id/key/version first). */
|
|
388
|
-
chat: (agentId: string, query: string, opts?: SendChatOptions & {
|
|
389
|
-
version?: string;
|
|
390
|
-
}) => Promise<ChatResult>;
|
|
391
|
-
};
|
|
392
|
-
|
|
393
327
|
/**
|
|
394
328
|
* AppKey API (`/api/safe/v1/{me,admin}/api-keys`, OAuth-token-gated). AppKeys
|
|
395
329
|
* are user-issued long-lived credentials (prefix `bak_`) that authenticate AS
|
|
@@ -767,6 +701,97 @@ declare function context(ctx: RequestContext): {
|
|
|
767
701
|
prompt: (knId: string, name: string, args?: Record<string, unknown>) => Promise<unknown>;
|
|
768
702
|
};
|
|
769
703
|
|
|
704
|
+
/**
|
|
705
|
+
* Sandbox function client (agent-operator-integration, `/function` + `/template`).
|
|
706
|
+
*
|
|
707
|
+
* Code runs here without being registered as anything, which is what makes it
|
|
708
|
+
* the place to iterate: `tool create` is the same code kept in a toolbox. The
|
|
709
|
+
* entry point is always a function named `handler`, and the response is 200
|
|
710
|
+
* even when the code throws — `exit_code` decides, not the HTTP status.
|
|
711
|
+
*/
|
|
712
|
+
|
|
713
|
+
/** A third-party package to install in the sandbox before running. */
|
|
714
|
+
interface DependencyInfo {
|
|
715
|
+
name: string;
|
|
716
|
+
version?: string;
|
|
717
|
+
}
|
|
718
|
+
/** One parameter of a function, as the model will see it. */
|
|
719
|
+
interface ParameterDef {
|
|
720
|
+
name: string;
|
|
721
|
+
/** `integer` is not one of them — the service rejects it with a 400. */
|
|
722
|
+
type?: "string" | "number" | "boolean" | "array" | "object";
|
|
723
|
+
description?: string;
|
|
724
|
+
required?: boolean;
|
|
725
|
+
default?: unknown;
|
|
726
|
+
enum?: unknown[];
|
|
727
|
+
example?: unknown;
|
|
728
|
+
sub_parameters?: ParameterDef[];
|
|
729
|
+
}
|
|
730
|
+
/**
|
|
731
|
+
* A function with a contract around it — the shape that creates a function tool
|
|
732
|
+
* inside a toolbox.
|
|
733
|
+
*/
|
|
734
|
+
interface FunctionDefinition {
|
|
735
|
+
name: string;
|
|
736
|
+
description?: string;
|
|
737
|
+
scriptType?: string;
|
|
738
|
+
code: string;
|
|
739
|
+
inputs?: ParameterDef[];
|
|
740
|
+
outputs?: ParameterDef[];
|
|
741
|
+
dependencies?: DependencyInfo[];
|
|
742
|
+
dependenciesUrl?: string;
|
|
743
|
+
}
|
|
744
|
+
interface ExecuteFunctionOptions {
|
|
745
|
+
/** Code exporting `handler(event) -> Any`. Skeleton: `functionTemplate`. */
|
|
746
|
+
code: string;
|
|
747
|
+
/** The single argument `handler` receives. `{}` when there is none. */
|
|
748
|
+
event?: Record<string, unknown>;
|
|
749
|
+
language?: string;
|
|
750
|
+
/** Seconds — the internal `function/exec/{version}` face uses milliseconds. */
|
|
751
|
+
timeout?: number;
|
|
752
|
+
/** Installed before the run, so the first call with one is noticeably slower. */
|
|
753
|
+
dependencies?: DependencyInfo[];
|
|
754
|
+
/** Package index; point it at a mirror on a network that cannot reach PyPI. */
|
|
755
|
+
dependenciesUrl?: string;
|
|
756
|
+
/** Tracing marks written into the sandbox environment, not arguments. */
|
|
757
|
+
source?: string;
|
|
758
|
+
taskId?: string;
|
|
759
|
+
/**
|
|
760
|
+
* The caller's credential, placed in the sandbox's `BKN_TOKEN` so code using
|
|
761
|
+
* `sandbox_sdk.bkn` reaches BKN as the caller. Nothing else fills it — the
|
|
762
|
+
* request's own `authorization` header does not reach the sandbox, verified
|
|
763
|
+
* on a live deploy — and nothing needs it unless the code calls back into
|
|
764
|
+
* BKN, so a caller opts in rather than handing a bearer to every run.
|
|
765
|
+
*/
|
|
766
|
+
bknToken?: string;
|
|
767
|
+
/** Hangs the sandbox's own BKN calls under this conversation / interaction. */
|
|
768
|
+
conversationId?: string;
|
|
769
|
+
interactionId?: string;
|
|
770
|
+
}
|
|
771
|
+
interface FunctionExecuteResult {
|
|
772
|
+
stdout?: string;
|
|
773
|
+
stderr?: string;
|
|
774
|
+
result?: unknown;
|
|
775
|
+
/** 0 is success. A raised exception still answers HTTP 200 with a non-zero code. */
|
|
776
|
+
exit_code?: number;
|
|
777
|
+
error_message?: string;
|
|
778
|
+
execution_time_ms?: number;
|
|
779
|
+
session_id?: string;
|
|
780
|
+
artifacts?: unknown;
|
|
781
|
+
metrics?: Record<string, number | null>;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
declare function functions(ctx: RequestContext): {
|
|
785
|
+
run: (opts: ExecuteFunctionOptions) => Promise<FunctionExecuteResult>;
|
|
786
|
+
inferSchema: (code: string) => Promise<unknown>;
|
|
787
|
+
dependencies: () => Promise<unknown>;
|
|
788
|
+
dependencyVersions: (packageName: string, opts?: {
|
|
789
|
+
pypiRepoUrl?: string;
|
|
790
|
+
pythonVersion?: string;
|
|
791
|
+
}) => Promise<unknown>;
|
|
792
|
+
template: (templateType?: string) => Promise<unknown>;
|
|
793
|
+
};
|
|
794
|
+
|
|
770
795
|
/** The body field the lifecycle middleware reads. Snake_case: it goes on the wire. */
|
|
771
796
|
interface BknContext {
|
|
772
797
|
conversation_id: string;
|
|
@@ -795,7 +820,9 @@ interface BknContext {
|
|
|
795
820
|
declare function releaseLifecycleSessions(): Promise<void>;
|
|
796
821
|
|
|
797
822
|
/**
|
|
798
|
-
* Knowledge-network backend client (ontology-
|
|
823
|
+
* Knowledge-network backend client (bkn-backend + ontology-query + agent-retrieval).
|
|
824
|
+
* `/api/ontology-manager/v1` is a compat alias of `/api/bkn-backend/v1`; the
|
|
825
|
+
* canonical prefix is the latter.
|
|
799
826
|
* Responses are passed through as parsed JSON
|
|
800
827
|
* (shapes vary by backend version — validate at higher layers as needed).
|
|
801
828
|
*/
|
|
@@ -831,10 +858,21 @@ interface ListSchemaOptions {
|
|
|
831
858
|
/** -1 = all (backend default). */
|
|
832
859
|
limit?: number;
|
|
833
860
|
}
|
|
834
|
-
interface
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
861
|
+
interface SearchInstanceOptions {
|
|
862
|
+
/** Restrict recall to these concept groups. */
|
|
863
|
+
conceptGroups?: string[];
|
|
864
|
+
/** Pin recall to these object-type ids (ids, not names). */
|
|
865
|
+
objectTypes?: string[];
|
|
866
|
+
/** Drop these object-type ids from recall; wins over `objectTypes` on overlap. */
|
|
867
|
+
excludeObjectTypes?: string[];
|
|
868
|
+
/** How many object types may take part. Each one costs a downstream query. */
|
|
869
|
+
maxObjectTypes?: number;
|
|
870
|
+
/** How many instances to return per object type. */
|
|
871
|
+
maxInstancesPerType?: number;
|
|
872
|
+
/** Re-rank hits with a cross-encoder; silently skipped if no rerank model is deployed. */
|
|
873
|
+
rerank?: boolean;
|
|
874
|
+
/** Ship the trimmed definitions of the object types that produced hits (default true). */
|
|
875
|
+
includeObjectTypes?: boolean;
|
|
838
876
|
/**
|
|
839
877
|
* A `bkn_context` the caller built itself, sent as-is.
|
|
840
878
|
*
|
|
@@ -904,7 +942,7 @@ interface PartialKnMarked {
|
|
|
904
942
|
declare function kn(ctx: RequestContext): {
|
|
905
943
|
list: (opts?: ListKnOptions) => Promise<unknown>;
|
|
906
944
|
get: (knId: string, opts?: GetKnOptions) => Promise<unknown>;
|
|
907
|
-
search: (knId: string, query: string, opts?:
|
|
945
|
+
search: (knId: string, query: string, opts?: SearchInstanceOptions) => Promise<unknown>;
|
|
908
946
|
create: (opts: CreateKnOptions) => Promise<unknown>;
|
|
909
947
|
update: (knId: string, body: unknown) => Promise<unknown>;
|
|
910
948
|
delete: (knId: string) => Promise<unknown>;
|
|
@@ -920,7 +958,6 @@ declare function kn(ctx: RequestContext): {
|
|
|
920
958
|
metricCreate: (knId: string, body: unknown) => Promise<unknown>;
|
|
921
959
|
metricUpdate: (knId: string, metricId: string, body: unknown) => Promise<unknown>;
|
|
922
960
|
metricDelete: (knId: string, metricId: string) => Promise<unknown>;
|
|
923
|
-
metricSearch: (knId: string, body: unknown) => Promise<unknown>;
|
|
924
961
|
metricValidate: (knId: string, body: unknown) => Promise<unknown>;
|
|
925
962
|
objectTypes: (knId: string, opts?: ListSchemaOptions) => Promise<unknown>;
|
|
926
963
|
objectTypeQuery: (knId: string, otId: string, body: unknown) => Promise<unknown>;
|
|
@@ -936,7 +973,6 @@ declare function kn(ctx: RequestContext): {
|
|
|
936
973
|
actionTypes: (knId: string, opts?: ListSchemaOptions) => Promise<unknown>;
|
|
937
974
|
actionTypeQuery: (knId: string, atId: string, body: unknown) => Promise<unknown>;
|
|
938
975
|
actionTypeExecute: (knId: string, atId: string, body: unknown) => Promise<unknown>;
|
|
939
|
-
actionTypeInputs: (knId: string, atId: string) => Promise<unknown>;
|
|
940
976
|
actionTypeGet: (knId: string, id: string) => Promise<unknown>;
|
|
941
977
|
conceptGroups: (knId: string) => Promise<unknown>;
|
|
942
978
|
conceptGroup: (knId: string, cgId: string) => Promise<unknown>;
|
|
@@ -1044,7 +1080,7 @@ interface ResourceIndexConfig {
|
|
|
1044
1080
|
}
|
|
1045
1081
|
declare const ResourceCategory: z.ZodEnum<["table", "file", "fileset", "api", "metric", "topic", "index", "logicview", "dataset"]>;
|
|
1046
1082
|
type ResourceCategory = z.infer<typeof ResourceCategory>;
|
|
1047
|
-
declare const ResourceStatus: z.ZodEnum<["active", "
|
|
1083
|
+
declare const ResourceStatus: z.ZodEnum<["active", "deprecated", "stale"]>;
|
|
1048
1084
|
type ResourceStatus = z.infer<typeof ResourceStatus>;
|
|
1049
1085
|
declare const ResourceLocalStatus: z.ZodEnum<["unavailable", "available", "stale"]>;
|
|
1050
1086
|
type ResourceLocalStatus = z.infer<typeof ResourceLocalStatus>;
|
|
@@ -1056,6 +1092,7 @@ declare const Resource: z.ZodObject<{
|
|
|
1056
1092
|
description: z.ZodOptional<z.ZodString>;
|
|
1057
1093
|
category: z.ZodString;
|
|
1058
1094
|
status: z.ZodString;
|
|
1095
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1059
1096
|
status_message: z.ZodOptional<z.ZodString>;
|
|
1060
1097
|
last_discover_status: z.ZodOptional<z.ZodString>;
|
|
1061
1098
|
schema: z.ZodOptional<z.ZodString>;
|
|
@@ -1118,6 +1155,7 @@ declare const Resource: z.ZodObject<{
|
|
|
1118
1155
|
description: z.ZodOptional<z.ZodString>;
|
|
1119
1156
|
category: z.ZodString;
|
|
1120
1157
|
status: z.ZodString;
|
|
1158
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1121
1159
|
status_message: z.ZodOptional<z.ZodString>;
|
|
1122
1160
|
last_discover_status: z.ZodOptional<z.ZodString>;
|
|
1123
1161
|
schema: z.ZodOptional<z.ZodString>;
|
|
@@ -1180,6 +1218,7 @@ declare const Resource: z.ZodObject<{
|
|
|
1180
1218
|
description: z.ZodOptional<z.ZodString>;
|
|
1181
1219
|
category: z.ZodString;
|
|
1182
1220
|
status: z.ZodString;
|
|
1221
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1183
1222
|
status_message: z.ZodOptional<z.ZodString>;
|
|
1184
1223
|
last_discover_status: z.ZodOptional<z.ZodString>;
|
|
1185
1224
|
schema: z.ZodOptional<z.ZodString>;
|
|
@@ -1236,8 +1275,200 @@ declare const Resource: z.ZodObject<{
|
|
|
1236
1275
|
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1237
1276
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1238
1277
|
type Resource = z.infer<typeof Resource>;
|
|
1278
|
+
/** Resource fields returned by list endpoints; extended JSON fields require a detail read. */
|
|
1279
|
+
declare const ResourceSummary: z.ZodObject<Omit<{
|
|
1280
|
+
id: z.ZodString;
|
|
1281
|
+
catalog_id: z.ZodString;
|
|
1282
|
+
name: z.ZodString;
|
|
1283
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1284
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1285
|
+
category: z.ZodString;
|
|
1286
|
+
status: z.ZodString;
|
|
1287
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1288
|
+
status_message: z.ZodOptional<z.ZodString>;
|
|
1289
|
+
last_discover_status: z.ZodOptional<z.ZodString>;
|
|
1290
|
+
schema: z.ZodOptional<z.ZodString>;
|
|
1291
|
+
source_identifier: z.ZodString;
|
|
1292
|
+
source_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1293
|
+
schema_definition: z.ZodOptional<z.ZodArray<z.ZodType<ResourceProperty, z.ZodTypeDef, unknown>, "many">>;
|
|
1294
|
+
index_config: z.ZodOptional<z.ZodObject<{
|
|
1295
|
+
build_key_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1296
|
+
default_fulltext_analyzer: z.ZodOptional<z.ZodString>;
|
|
1297
|
+
default_embedding_model: z.ZodOptional<z.ZodString>;
|
|
1298
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1299
|
+
build_key_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1300
|
+
default_fulltext_analyzer: z.ZodOptional<z.ZodString>;
|
|
1301
|
+
default_embedding_model: z.ZodOptional<z.ZodString>;
|
|
1302
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1303
|
+
build_key_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1304
|
+
default_fulltext_analyzer: z.ZodOptional<z.ZodString>;
|
|
1305
|
+
default_embedding_model: z.ZodOptional<z.ZodString>;
|
|
1306
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
1307
|
+
local_status: z.ZodOptional<z.ZodEnum<["unavailable", "available", "stale"]>>;
|
|
1308
|
+
index_name: z.ZodOptional<z.ZodString>;
|
|
1309
|
+
column_count: z.ZodOptional<z.ZodNumber>;
|
|
1310
|
+
row_count: z.ZodOptional<z.ZodNumber>;
|
|
1311
|
+
logic_type: z.ZodOptional<z.ZodString>;
|
|
1312
|
+
logic_definition: z.ZodOptional<z.ZodUnknown>;
|
|
1313
|
+
creator: z.ZodObject<{
|
|
1314
|
+
id: z.ZodString;
|
|
1315
|
+
type: z.ZodString;
|
|
1316
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1317
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1318
|
+
id: z.ZodString;
|
|
1319
|
+
type: z.ZodString;
|
|
1320
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1321
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1322
|
+
id: z.ZodString;
|
|
1323
|
+
type: z.ZodString;
|
|
1324
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1325
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1326
|
+
create_time: z.ZodNumber;
|
|
1327
|
+
updater: z.ZodObject<{
|
|
1328
|
+
id: z.ZodString;
|
|
1329
|
+
type: z.ZodString;
|
|
1330
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1331
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1332
|
+
id: z.ZodString;
|
|
1333
|
+
type: z.ZodString;
|
|
1334
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1335
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1336
|
+
id: z.ZodString;
|
|
1337
|
+
type: z.ZodString;
|
|
1338
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1339
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1340
|
+
update_time: z.ZodNumber;
|
|
1341
|
+
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1342
|
+
}, "source_metadata" | "schema_definition" | "index_config" | "logic_definition">, "passthrough", z.ZodTypeAny, z.objectOutputType<Omit<{
|
|
1343
|
+
id: z.ZodString;
|
|
1344
|
+
catalog_id: z.ZodString;
|
|
1345
|
+
name: z.ZodString;
|
|
1346
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1347
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1348
|
+
category: z.ZodString;
|
|
1349
|
+
status: z.ZodString;
|
|
1350
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1351
|
+
status_message: z.ZodOptional<z.ZodString>;
|
|
1352
|
+
last_discover_status: z.ZodOptional<z.ZodString>;
|
|
1353
|
+
schema: z.ZodOptional<z.ZodString>;
|
|
1354
|
+
source_identifier: z.ZodString;
|
|
1355
|
+
source_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1356
|
+
schema_definition: z.ZodOptional<z.ZodArray<z.ZodType<ResourceProperty, z.ZodTypeDef, unknown>, "many">>;
|
|
1357
|
+
index_config: z.ZodOptional<z.ZodObject<{
|
|
1358
|
+
build_key_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1359
|
+
default_fulltext_analyzer: z.ZodOptional<z.ZodString>;
|
|
1360
|
+
default_embedding_model: z.ZodOptional<z.ZodString>;
|
|
1361
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1362
|
+
build_key_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1363
|
+
default_fulltext_analyzer: z.ZodOptional<z.ZodString>;
|
|
1364
|
+
default_embedding_model: z.ZodOptional<z.ZodString>;
|
|
1365
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1366
|
+
build_key_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1367
|
+
default_fulltext_analyzer: z.ZodOptional<z.ZodString>;
|
|
1368
|
+
default_embedding_model: z.ZodOptional<z.ZodString>;
|
|
1369
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
1370
|
+
local_status: z.ZodOptional<z.ZodEnum<["unavailable", "available", "stale"]>>;
|
|
1371
|
+
index_name: z.ZodOptional<z.ZodString>;
|
|
1372
|
+
column_count: z.ZodOptional<z.ZodNumber>;
|
|
1373
|
+
row_count: z.ZodOptional<z.ZodNumber>;
|
|
1374
|
+
logic_type: z.ZodOptional<z.ZodString>;
|
|
1375
|
+
logic_definition: z.ZodOptional<z.ZodUnknown>;
|
|
1376
|
+
creator: z.ZodObject<{
|
|
1377
|
+
id: z.ZodString;
|
|
1378
|
+
type: z.ZodString;
|
|
1379
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1380
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1381
|
+
id: z.ZodString;
|
|
1382
|
+
type: z.ZodString;
|
|
1383
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1384
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1385
|
+
id: z.ZodString;
|
|
1386
|
+
type: z.ZodString;
|
|
1387
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1388
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1389
|
+
create_time: z.ZodNumber;
|
|
1390
|
+
updater: z.ZodObject<{
|
|
1391
|
+
id: z.ZodString;
|
|
1392
|
+
type: z.ZodString;
|
|
1393
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1394
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1395
|
+
id: z.ZodString;
|
|
1396
|
+
type: z.ZodString;
|
|
1397
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1398
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1399
|
+
id: z.ZodString;
|
|
1400
|
+
type: z.ZodString;
|
|
1401
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1402
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1403
|
+
update_time: z.ZodNumber;
|
|
1404
|
+
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1405
|
+
}, "source_metadata" | "schema_definition" | "index_config" | "logic_definition">, z.ZodTypeAny, "passthrough">, z.objectInputType<Omit<{
|
|
1406
|
+
id: z.ZodString;
|
|
1407
|
+
catalog_id: z.ZodString;
|
|
1408
|
+
name: z.ZodString;
|
|
1409
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1410
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1411
|
+
category: z.ZodString;
|
|
1412
|
+
status: z.ZodString;
|
|
1413
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1414
|
+
status_message: z.ZodOptional<z.ZodString>;
|
|
1415
|
+
last_discover_status: z.ZodOptional<z.ZodString>;
|
|
1416
|
+
schema: z.ZodOptional<z.ZodString>;
|
|
1417
|
+
source_identifier: z.ZodString;
|
|
1418
|
+
source_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1419
|
+
schema_definition: z.ZodOptional<z.ZodArray<z.ZodType<ResourceProperty, z.ZodTypeDef, unknown>, "many">>;
|
|
1420
|
+
index_config: z.ZodOptional<z.ZodObject<{
|
|
1421
|
+
build_key_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1422
|
+
default_fulltext_analyzer: z.ZodOptional<z.ZodString>;
|
|
1423
|
+
default_embedding_model: z.ZodOptional<z.ZodString>;
|
|
1424
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1425
|
+
build_key_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1426
|
+
default_fulltext_analyzer: z.ZodOptional<z.ZodString>;
|
|
1427
|
+
default_embedding_model: z.ZodOptional<z.ZodString>;
|
|
1428
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1429
|
+
build_key_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1430
|
+
default_fulltext_analyzer: z.ZodOptional<z.ZodString>;
|
|
1431
|
+
default_embedding_model: z.ZodOptional<z.ZodString>;
|
|
1432
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
1433
|
+
local_status: z.ZodOptional<z.ZodEnum<["unavailable", "available", "stale"]>>;
|
|
1434
|
+
index_name: z.ZodOptional<z.ZodString>;
|
|
1435
|
+
column_count: z.ZodOptional<z.ZodNumber>;
|
|
1436
|
+
row_count: z.ZodOptional<z.ZodNumber>;
|
|
1437
|
+
logic_type: z.ZodOptional<z.ZodString>;
|
|
1438
|
+
logic_definition: z.ZodOptional<z.ZodUnknown>;
|
|
1439
|
+
creator: z.ZodObject<{
|
|
1440
|
+
id: z.ZodString;
|
|
1441
|
+
type: z.ZodString;
|
|
1442
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1443
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1444
|
+
id: z.ZodString;
|
|
1445
|
+
type: z.ZodString;
|
|
1446
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1447
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1448
|
+
id: z.ZodString;
|
|
1449
|
+
type: z.ZodString;
|
|
1450
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1451
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1452
|
+
create_time: z.ZodNumber;
|
|
1453
|
+
updater: z.ZodObject<{
|
|
1454
|
+
id: z.ZodString;
|
|
1455
|
+
type: z.ZodString;
|
|
1456
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1457
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1458
|
+
id: z.ZodString;
|
|
1459
|
+
type: z.ZodString;
|
|
1460
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1461
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1462
|
+
id: z.ZodString;
|
|
1463
|
+
type: z.ZodString;
|
|
1464
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1465
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1466
|
+
update_time: z.ZodNumber;
|
|
1467
|
+
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1468
|
+
}, "source_metadata" | "schema_definition" | "index_config" | "logic_definition">, z.ZodTypeAny, "passthrough">>;
|
|
1469
|
+
type ResourceSummary = z.infer<typeof ResourceSummary>;
|
|
1239
1470
|
declare const ListResourcesResponse: z.ZodObject<{
|
|
1240
|
-
entries: z.ZodArray<z.ZodObject<{
|
|
1471
|
+
entries: z.ZodArray<z.ZodObject<Omit<{
|
|
1241
1472
|
id: z.ZodString;
|
|
1242
1473
|
catalog_id: z.ZodString;
|
|
1243
1474
|
name: z.ZodString;
|
|
@@ -1245,6 +1476,7 @@ declare const ListResourcesResponse: z.ZodObject<{
|
|
|
1245
1476
|
description: z.ZodOptional<z.ZodString>;
|
|
1246
1477
|
category: z.ZodString;
|
|
1247
1478
|
status: z.ZodString;
|
|
1479
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1248
1480
|
status_message: z.ZodOptional<z.ZodString>;
|
|
1249
1481
|
last_discover_status: z.ZodOptional<z.ZodString>;
|
|
1250
1482
|
schema: z.ZodOptional<z.ZodString>;
|
|
@@ -1299,7 +1531,7 @@ declare const ListResourcesResponse: z.ZodObject<{
|
|
|
1299
1531
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1300
1532
|
update_time: z.ZodNumber;
|
|
1301
1533
|
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1302
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1534
|
+
}, "source_metadata" | "schema_definition" | "index_config" | "logic_definition">, "passthrough", z.ZodTypeAny, z.objectOutputType<Omit<{
|
|
1303
1535
|
id: z.ZodString;
|
|
1304
1536
|
catalog_id: z.ZodString;
|
|
1305
1537
|
name: z.ZodString;
|
|
@@ -1307,6 +1539,7 @@ declare const ListResourcesResponse: z.ZodObject<{
|
|
|
1307
1539
|
description: z.ZodOptional<z.ZodString>;
|
|
1308
1540
|
category: z.ZodString;
|
|
1309
1541
|
status: z.ZodString;
|
|
1542
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1310
1543
|
status_message: z.ZodOptional<z.ZodString>;
|
|
1311
1544
|
last_discover_status: z.ZodOptional<z.ZodString>;
|
|
1312
1545
|
schema: z.ZodOptional<z.ZodString>;
|
|
@@ -1361,7 +1594,7 @@ declare const ListResourcesResponse: z.ZodObject<{
|
|
|
1361
1594
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1362
1595
|
update_time: z.ZodNumber;
|
|
1363
1596
|
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1364
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1597
|
+
}, "source_metadata" | "schema_definition" | "index_config" | "logic_definition">, z.ZodTypeAny, "passthrough">, z.objectInputType<Omit<{
|
|
1365
1598
|
id: z.ZodString;
|
|
1366
1599
|
catalog_id: z.ZodString;
|
|
1367
1600
|
name: z.ZodString;
|
|
@@ -1369,6 +1602,7 @@ declare const ListResourcesResponse: z.ZodObject<{
|
|
|
1369
1602
|
description: z.ZodOptional<z.ZodString>;
|
|
1370
1603
|
category: z.ZodString;
|
|
1371
1604
|
status: z.ZodString;
|
|
1605
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1372
1606
|
status_message: z.ZodOptional<z.ZodString>;
|
|
1373
1607
|
last_discover_status: z.ZodOptional<z.ZodString>;
|
|
1374
1608
|
schema: z.ZodOptional<z.ZodString>;
|
|
@@ -1423,10 +1657,10 @@ declare const ListResourcesResponse: z.ZodObject<{
|
|
|
1423
1657
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1424
1658
|
update_time: z.ZodNumber;
|
|
1425
1659
|
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1426
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
1660
|
+
}, "source_metadata" | "schema_definition" | "index_config" | "logic_definition">, z.ZodTypeAny, "passthrough">>, "many">;
|
|
1427
1661
|
total_count: z.ZodNumber;
|
|
1428
1662
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1429
|
-
entries: z.ZodArray<z.ZodObject<{
|
|
1663
|
+
entries: z.ZodArray<z.ZodObject<Omit<{
|
|
1430
1664
|
id: z.ZodString;
|
|
1431
1665
|
catalog_id: z.ZodString;
|
|
1432
1666
|
name: z.ZodString;
|
|
@@ -1434,6 +1668,7 @@ declare const ListResourcesResponse: z.ZodObject<{
|
|
|
1434
1668
|
description: z.ZodOptional<z.ZodString>;
|
|
1435
1669
|
category: z.ZodString;
|
|
1436
1670
|
status: z.ZodString;
|
|
1671
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1437
1672
|
status_message: z.ZodOptional<z.ZodString>;
|
|
1438
1673
|
last_discover_status: z.ZodOptional<z.ZodString>;
|
|
1439
1674
|
schema: z.ZodOptional<z.ZodString>;
|
|
@@ -1488,7 +1723,7 @@ declare const ListResourcesResponse: z.ZodObject<{
|
|
|
1488
1723
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1489
1724
|
update_time: z.ZodNumber;
|
|
1490
1725
|
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1491
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1726
|
+
}, "source_metadata" | "schema_definition" | "index_config" | "logic_definition">, "passthrough", z.ZodTypeAny, z.objectOutputType<Omit<{
|
|
1492
1727
|
id: z.ZodString;
|
|
1493
1728
|
catalog_id: z.ZodString;
|
|
1494
1729
|
name: z.ZodString;
|
|
@@ -1496,6 +1731,7 @@ declare const ListResourcesResponse: z.ZodObject<{
|
|
|
1496
1731
|
description: z.ZodOptional<z.ZodString>;
|
|
1497
1732
|
category: z.ZodString;
|
|
1498
1733
|
status: z.ZodString;
|
|
1734
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1499
1735
|
status_message: z.ZodOptional<z.ZodString>;
|
|
1500
1736
|
last_discover_status: z.ZodOptional<z.ZodString>;
|
|
1501
1737
|
schema: z.ZodOptional<z.ZodString>;
|
|
@@ -1550,7 +1786,7 @@ declare const ListResourcesResponse: z.ZodObject<{
|
|
|
1550
1786
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1551
1787
|
update_time: z.ZodNumber;
|
|
1552
1788
|
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1553
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1789
|
+
}, "source_metadata" | "schema_definition" | "index_config" | "logic_definition">, z.ZodTypeAny, "passthrough">, z.objectInputType<Omit<{
|
|
1554
1790
|
id: z.ZodString;
|
|
1555
1791
|
catalog_id: z.ZodString;
|
|
1556
1792
|
name: z.ZodString;
|
|
@@ -1558,6 +1794,7 @@ declare const ListResourcesResponse: z.ZodObject<{
|
|
|
1558
1794
|
description: z.ZodOptional<z.ZodString>;
|
|
1559
1795
|
category: z.ZodString;
|
|
1560
1796
|
status: z.ZodString;
|
|
1797
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1561
1798
|
status_message: z.ZodOptional<z.ZodString>;
|
|
1562
1799
|
last_discover_status: z.ZodOptional<z.ZodString>;
|
|
1563
1800
|
schema: z.ZodOptional<z.ZodString>;
|
|
@@ -1612,10 +1849,10 @@ declare const ListResourcesResponse: z.ZodObject<{
|
|
|
1612
1849
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1613
1850
|
update_time: z.ZodNumber;
|
|
1614
1851
|
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1615
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
1852
|
+
}, "source_metadata" | "schema_definition" | "index_config" | "logic_definition">, z.ZodTypeAny, "passthrough">>, "many">;
|
|
1616
1853
|
total_count: z.ZodNumber;
|
|
1617
1854
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1618
|
-
entries: z.ZodArray<z.ZodObject<{
|
|
1855
|
+
entries: z.ZodArray<z.ZodObject<Omit<{
|
|
1619
1856
|
id: z.ZodString;
|
|
1620
1857
|
catalog_id: z.ZodString;
|
|
1621
1858
|
name: z.ZodString;
|
|
@@ -1623,6 +1860,7 @@ declare const ListResourcesResponse: z.ZodObject<{
|
|
|
1623
1860
|
description: z.ZodOptional<z.ZodString>;
|
|
1624
1861
|
category: z.ZodString;
|
|
1625
1862
|
status: z.ZodString;
|
|
1863
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1626
1864
|
status_message: z.ZodOptional<z.ZodString>;
|
|
1627
1865
|
last_discover_status: z.ZodOptional<z.ZodString>;
|
|
1628
1866
|
schema: z.ZodOptional<z.ZodString>;
|
|
@@ -1677,7 +1915,7 @@ declare const ListResourcesResponse: z.ZodObject<{
|
|
|
1677
1915
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1678
1916
|
update_time: z.ZodNumber;
|
|
1679
1917
|
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1680
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1918
|
+
}, "source_metadata" | "schema_definition" | "index_config" | "logic_definition">, "passthrough", z.ZodTypeAny, z.objectOutputType<Omit<{
|
|
1681
1919
|
id: z.ZodString;
|
|
1682
1920
|
catalog_id: z.ZodString;
|
|
1683
1921
|
name: z.ZodString;
|
|
@@ -1685,6 +1923,7 @@ declare const ListResourcesResponse: z.ZodObject<{
|
|
|
1685
1923
|
description: z.ZodOptional<z.ZodString>;
|
|
1686
1924
|
category: z.ZodString;
|
|
1687
1925
|
status: z.ZodString;
|
|
1926
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1688
1927
|
status_message: z.ZodOptional<z.ZodString>;
|
|
1689
1928
|
last_discover_status: z.ZodOptional<z.ZodString>;
|
|
1690
1929
|
schema: z.ZodOptional<z.ZodString>;
|
|
@@ -1739,7 +1978,7 @@ declare const ListResourcesResponse: z.ZodObject<{
|
|
|
1739
1978
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1740
1979
|
update_time: z.ZodNumber;
|
|
1741
1980
|
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1742
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1981
|
+
}, "source_metadata" | "schema_definition" | "index_config" | "logic_definition">, z.ZodTypeAny, "passthrough">, z.objectInputType<Omit<{
|
|
1743
1982
|
id: z.ZodString;
|
|
1744
1983
|
catalog_id: z.ZodString;
|
|
1745
1984
|
name: z.ZodString;
|
|
@@ -1747,6 +1986,7 @@ declare const ListResourcesResponse: z.ZodObject<{
|
|
|
1747
1986
|
description: z.ZodOptional<z.ZodString>;
|
|
1748
1987
|
category: z.ZodString;
|
|
1749
1988
|
status: z.ZodString;
|
|
1989
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1750
1990
|
status_message: z.ZodOptional<z.ZodString>;
|
|
1751
1991
|
last_discover_status: z.ZodOptional<z.ZodString>;
|
|
1752
1992
|
schema: z.ZodOptional<z.ZodString>;
|
|
@@ -1801,7 +2041,7 @@ declare const ListResourcesResponse: z.ZodObject<{
|
|
|
1801
2041
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1802
2042
|
update_time: z.ZodNumber;
|
|
1803
2043
|
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1804
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
2044
|
+
}, "source_metadata" | "schema_definition" | "index_config" | "logic_definition">, z.ZodTypeAny, "passthrough">>, "many">;
|
|
1805
2045
|
total_count: z.ZodNumber;
|
|
1806
2046
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1807
2047
|
type ListResourcesResponse = z.infer<typeof ListResourcesResponse>;
|
|
@@ -1814,6 +2054,7 @@ declare const BatchResourcesResponse: z.ZodObject<{
|
|
|
1814
2054
|
description: z.ZodOptional<z.ZodString>;
|
|
1815
2055
|
category: z.ZodString;
|
|
1816
2056
|
status: z.ZodString;
|
|
2057
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1817
2058
|
status_message: z.ZodOptional<z.ZodString>;
|
|
1818
2059
|
last_discover_status: z.ZodOptional<z.ZodString>;
|
|
1819
2060
|
schema: z.ZodOptional<z.ZodString>;
|
|
@@ -1876,6 +2117,7 @@ declare const BatchResourcesResponse: z.ZodObject<{
|
|
|
1876
2117
|
description: z.ZodOptional<z.ZodString>;
|
|
1877
2118
|
category: z.ZodString;
|
|
1878
2119
|
status: z.ZodString;
|
|
2120
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1879
2121
|
status_message: z.ZodOptional<z.ZodString>;
|
|
1880
2122
|
last_discover_status: z.ZodOptional<z.ZodString>;
|
|
1881
2123
|
schema: z.ZodOptional<z.ZodString>;
|
|
@@ -1938,6 +2180,7 @@ declare const BatchResourcesResponse: z.ZodObject<{
|
|
|
1938
2180
|
description: z.ZodOptional<z.ZodString>;
|
|
1939
2181
|
category: z.ZodString;
|
|
1940
2182
|
status: z.ZodString;
|
|
2183
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1941
2184
|
status_message: z.ZodOptional<z.ZodString>;
|
|
1942
2185
|
last_discover_status: z.ZodOptional<z.ZodString>;
|
|
1943
2186
|
schema: z.ZodOptional<z.ZodString>;
|
|
@@ -2002,6 +2245,7 @@ declare const BatchResourcesResponse: z.ZodObject<{
|
|
|
2002
2245
|
description: z.ZodOptional<z.ZodString>;
|
|
2003
2246
|
category: z.ZodString;
|
|
2004
2247
|
status: z.ZodString;
|
|
2248
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2005
2249
|
status_message: z.ZodOptional<z.ZodString>;
|
|
2006
2250
|
last_discover_status: z.ZodOptional<z.ZodString>;
|
|
2007
2251
|
schema: z.ZodOptional<z.ZodString>;
|
|
@@ -2064,6 +2308,7 @@ declare const BatchResourcesResponse: z.ZodObject<{
|
|
|
2064
2308
|
description: z.ZodOptional<z.ZodString>;
|
|
2065
2309
|
category: z.ZodString;
|
|
2066
2310
|
status: z.ZodString;
|
|
2311
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2067
2312
|
status_message: z.ZodOptional<z.ZodString>;
|
|
2068
2313
|
last_discover_status: z.ZodOptional<z.ZodString>;
|
|
2069
2314
|
schema: z.ZodOptional<z.ZodString>;
|
|
@@ -2126,6 +2371,7 @@ declare const BatchResourcesResponse: z.ZodObject<{
|
|
|
2126
2371
|
description: z.ZodOptional<z.ZodString>;
|
|
2127
2372
|
category: z.ZodString;
|
|
2128
2373
|
status: z.ZodString;
|
|
2374
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2129
2375
|
status_message: z.ZodOptional<z.ZodString>;
|
|
2130
2376
|
last_discover_status: z.ZodOptional<z.ZodString>;
|
|
2131
2377
|
schema: z.ZodOptional<z.ZodString>;
|
|
@@ -2190,6 +2436,7 @@ declare const BatchResourcesResponse: z.ZodObject<{
|
|
|
2190
2436
|
description: z.ZodOptional<z.ZodString>;
|
|
2191
2437
|
category: z.ZodString;
|
|
2192
2438
|
status: z.ZodString;
|
|
2439
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2193
2440
|
status_message: z.ZodOptional<z.ZodString>;
|
|
2194
2441
|
last_discover_status: z.ZodOptional<z.ZodString>;
|
|
2195
2442
|
schema: z.ZodOptional<z.ZodString>;
|
|
@@ -2252,6 +2499,7 @@ declare const BatchResourcesResponse: z.ZodObject<{
|
|
|
2252
2499
|
description: z.ZodOptional<z.ZodString>;
|
|
2253
2500
|
category: z.ZodString;
|
|
2254
2501
|
status: z.ZodString;
|
|
2502
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2255
2503
|
status_message: z.ZodOptional<z.ZodString>;
|
|
2256
2504
|
last_discover_status: z.ZodOptional<z.ZodString>;
|
|
2257
2505
|
schema: z.ZodOptional<z.ZodString>;
|
|
@@ -2314,6 +2562,7 @@ declare const BatchResourcesResponse: z.ZodObject<{
|
|
|
2314
2562
|
description: z.ZodOptional<z.ZodString>;
|
|
2315
2563
|
category: z.ZodString;
|
|
2316
2564
|
status: z.ZodString;
|
|
2565
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2317
2566
|
status_message: z.ZodOptional<z.ZodString>;
|
|
2318
2567
|
last_discover_status: z.ZodOptional<z.ZodString>;
|
|
2319
2568
|
schema: z.ZodOptional<z.ZodString>;
|
|
@@ -2484,7 +2733,7 @@ interface QueryResourceResponse {
|
|
|
2484
2733
|
|
|
2485
2734
|
declare function resources(ctx: RequestContext): {
|
|
2486
2735
|
list: (opts?: ListResourcesOptions) => Promise<zod.objectOutputType<{
|
|
2487
|
-
entries: zod.ZodArray<zod.ZodObject<{
|
|
2736
|
+
entries: zod.ZodArray<zod.ZodObject<Omit<{
|
|
2488
2737
|
id: zod.ZodString;
|
|
2489
2738
|
catalog_id: zod.ZodString;
|
|
2490
2739
|
name: zod.ZodString;
|
|
@@ -2492,6 +2741,7 @@ declare function resources(ctx: RequestContext): {
|
|
|
2492
2741
|
description: zod.ZodOptional<zod.ZodString>;
|
|
2493
2742
|
category: zod.ZodString;
|
|
2494
2743
|
status: zod.ZodString;
|
|
2744
|
+
enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
2495
2745
|
status_message: zod.ZodOptional<zod.ZodString>;
|
|
2496
2746
|
last_discover_status: zod.ZodOptional<zod.ZodString>;
|
|
2497
2747
|
schema: zod.ZodOptional<zod.ZodString>;
|
|
@@ -2546,7 +2796,7 @@ declare function resources(ctx: RequestContext): {
|
|
|
2546
2796
|
}, zod.ZodTypeAny, "passthrough">>;
|
|
2547
2797
|
update_time: zod.ZodNumber;
|
|
2548
2798
|
operations: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
2549
|
-
}, "passthrough", zod.ZodTypeAny, zod.objectOutputType<{
|
|
2799
|
+
}, "source_metadata" | "schema_definition" | "index_config" | "logic_definition">, "passthrough", zod.ZodTypeAny, zod.objectOutputType<Omit<{
|
|
2550
2800
|
id: zod.ZodString;
|
|
2551
2801
|
catalog_id: zod.ZodString;
|
|
2552
2802
|
name: zod.ZodString;
|
|
@@ -2554,6 +2804,7 @@ declare function resources(ctx: RequestContext): {
|
|
|
2554
2804
|
description: zod.ZodOptional<zod.ZodString>;
|
|
2555
2805
|
category: zod.ZodString;
|
|
2556
2806
|
status: zod.ZodString;
|
|
2807
|
+
enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
2557
2808
|
status_message: zod.ZodOptional<zod.ZodString>;
|
|
2558
2809
|
last_discover_status: zod.ZodOptional<zod.ZodString>;
|
|
2559
2810
|
schema: zod.ZodOptional<zod.ZodString>;
|
|
@@ -2608,7 +2859,7 @@ declare function resources(ctx: RequestContext): {
|
|
|
2608
2859
|
}, zod.ZodTypeAny, "passthrough">>;
|
|
2609
2860
|
update_time: zod.ZodNumber;
|
|
2610
2861
|
operations: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
2611
|
-
}, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{
|
|
2862
|
+
}, "source_metadata" | "schema_definition" | "index_config" | "logic_definition">, zod.ZodTypeAny, "passthrough">, zod.objectInputType<Omit<{
|
|
2612
2863
|
id: zod.ZodString;
|
|
2613
2864
|
catalog_id: zod.ZodString;
|
|
2614
2865
|
name: zod.ZodString;
|
|
@@ -2616,6 +2867,7 @@ declare function resources(ctx: RequestContext): {
|
|
|
2616
2867
|
description: zod.ZodOptional<zod.ZodString>;
|
|
2617
2868
|
category: zod.ZodString;
|
|
2618
2869
|
status: zod.ZodString;
|
|
2870
|
+
enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
2619
2871
|
status_message: zod.ZodOptional<zod.ZodString>;
|
|
2620
2872
|
last_discover_status: zod.ZodOptional<zod.ZodString>;
|
|
2621
2873
|
schema: zod.ZodOptional<zod.ZodString>;
|
|
@@ -2670,7 +2922,7 @@ declare function resources(ctx: RequestContext): {
|
|
|
2670
2922
|
}, zod.ZodTypeAny, "passthrough">>;
|
|
2671
2923
|
update_time: zod.ZodNumber;
|
|
2672
2924
|
operations: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
2673
|
-
}, zod.ZodTypeAny, "passthrough">>, "many">;
|
|
2925
|
+
}, "source_metadata" | "schema_definition" | "index_config" | "logic_definition">, zod.ZodTypeAny, "passthrough">>, "many">;
|
|
2674
2926
|
total_count: zod.ZodNumber;
|
|
2675
2927
|
}, zod.ZodTypeAny, "passthrough">>;
|
|
2676
2928
|
get: (id: string | string[], opts?: {
|
|
@@ -2684,6 +2936,7 @@ declare function resources(ctx: RequestContext): {
|
|
|
2684
2936
|
description: zod.ZodOptional<zod.ZodString>;
|
|
2685
2937
|
category: zod.ZodString;
|
|
2686
2938
|
status: zod.ZodString;
|
|
2939
|
+
enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
2687
2940
|
status_message: zod.ZodOptional<zod.ZodString>;
|
|
2688
2941
|
last_discover_status: zod.ZodOptional<zod.ZodString>;
|
|
2689
2942
|
schema: zod.ZodOptional<zod.ZodString>;
|
|
@@ -2746,6 +2999,7 @@ declare function resources(ctx: RequestContext): {
|
|
|
2746
2999
|
description: zod.ZodOptional<zod.ZodString>;
|
|
2747
3000
|
category: zod.ZodString;
|
|
2748
3001
|
status: zod.ZodString;
|
|
3002
|
+
enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
2749
3003
|
status_message: zod.ZodOptional<zod.ZodString>;
|
|
2750
3004
|
last_discover_status: zod.ZodOptional<zod.ZodString>;
|
|
2751
3005
|
schema: zod.ZodOptional<zod.ZodString>;
|
|
@@ -2808,6 +3062,7 @@ declare function resources(ctx: RequestContext): {
|
|
|
2808
3062
|
description: zod.ZodOptional<zod.ZodString>;
|
|
2809
3063
|
category: zod.ZodString;
|
|
2810
3064
|
status: zod.ZodString;
|
|
3065
|
+
enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
2811
3066
|
status_message: zod.ZodOptional<zod.ZodString>;
|
|
2812
3067
|
last_discover_status: zod.ZodOptional<zod.ZodString>;
|
|
2813
3068
|
schema: zod.ZodOptional<zod.ZodString>;
|
|
@@ -2872,6 +3127,7 @@ declare function resources(ctx: RequestContext): {
|
|
|
2872
3127
|
description: zod.ZodOptional<zod.ZodString>;
|
|
2873
3128
|
category: zod.ZodString;
|
|
2874
3129
|
status: zod.ZodString;
|
|
3130
|
+
enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
2875
3131
|
status_message: zod.ZodOptional<zod.ZodString>;
|
|
2876
3132
|
last_discover_status: zod.ZodOptional<zod.ZodString>;
|
|
2877
3133
|
schema: zod.ZodOptional<zod.ZodString>;
|
|
@@ -2929,8 +3185,10 @@ declare function resources(ctx: RequestContext): {
|
|
|
2929
3185
|
}, zod.ZodTypeAny, "passthrough">>;
|
|
2930
3186
|
delete: (id: string | string[], opts?: Parameters<typeof deleteResource>[2]) => Promise<unknown>;
|
|
2931
3187
|
update: (id: string, patch: UpdateResourceOptions) => Promise<unknown>;
|
|
3188
|
+
enable: (id: string) => Promise<unknown>;
|
|
3189
|
+
disable: (id: string) => Promise<unknown>;
|
|
2932
3190
|
configureIndex: (id: string, opts: Parameters<typeof configureResourceIndex>[2]) => Promise<unknown>;
|
|
2933
|
-
find: (name: string, opts?: FindResourceOptions) => Promise<zod.objectOutputType<{
|
|
3191
|
+
find: (name: string, opts?: FindResourceOptions) => Promise<zod.objectOutputType<Omit<{
|
|
2934
3192
|
id: zod.ZodString;
|
|
2935
3193
|
catalog_id: zod.ZodString;
|
|
2936
3194
|
name: zod.ZodString;
|
|
@@ -2938,6 +3196,7 @@ declare function resources(ctx: RequestContext): {
|
|
|
2938
3196
|
description: zod.ZodOptional<zod.ZodString>;
|
|
2939
3197
|
category: zod.ZodString;
|
|
2940
3198
|
status: zod.ZodString;
|
|
3199
|
+
enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
2941
3200
|
status_message: zod.ZodOptional<zod.ZodString>;
|
|
2942
3201
|
last_discover_status: zod.ZodOptional<zod.ZodString>;
|
|
2943
3202
|
schema: zod.ZodOptional<zod.ZodString>;
|
|
@@ -2992,7 +3251,7 @@ declare function resources(ctx: RequestContext): {
|
|
|
2992
3251
|
}, zod.ZodTypeAny, "passthrough">>;
|
|
2993
3252
|
update_time: zod.ZodNumber;
|
|
2994
3253
|
operations: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
2995
|
-
}, zod.ZodTypeAny, "passthrough">[]>;
|
|
3254
|
+
}, "source_metadata" | "schema_definition" | "index_config" | "logic_definition">, zod.ZodTypeAny, "passthrough">[]>;
|
|
2996
3255
|
query: (id: string, opts?: QueryResourceOptions) => Promise<QueryResourceResponse>;
|
|
2997
3256
|
createDocuments: (id: string, documents: ResourceDocument[]) => Promise<{
|
|
2998
3257
|
ids: string[];
|
|
@@ -3135,6 +3394,25 @@ declare function skills(ctx: RequestContext): {
|
|
|
3135
3394
|
};
|
|
3136
3395
|
|
|
3137
3396
|
type ImpexType = "toolbox" | "mcp" | "operator";
|
|
3397
|
+
type ToolMetadataType = "openapi" | "function";
|
|
3398
|
+
interface CreateToolOptions {
|
|
3399
|
+
metadataType: ToolMetadataType;
|
|
3400
|
+
/** Required for `function`. */
|
|
3401
|
+
function?: FunctionDefinition;
|
|
3402
|
+
/**
|
|
3403
|
+
* Required for `openapi`: the specification as a **parsed document**, not as
|
|
3404
|
+
* text. This endpoint unmarshals `data` straight into an OpenAPI type, so a
|
|
3405
|
+
* string is a 400 here — while `/operator/register` takes the same field as
|
|
3406
|
+
* a string. Verified against a live deploy, in both directions.
|
|
3407
|
+
*/
|
|
3408
|
+
data?: unknown;
|
|
3409
|
+
useRule?: string;
|
|
3410
|
+
}
|
|
3411
|
+
interface UpdateToolOptions extends CreateToolOptions {
|
|
3412
|
+
/** Required by the service even when unchanged — this replaces, not patches. */
|
|
3413
|
+
name: string;
|
|
3414
|
+
description: string;
|
|
3415
|
+
}
|
|
3138
3416
|
interface ListToolboxesOptions {
|
|
3139
3417
|
keyword?: string;
|
|
3140
3418
|
limit?: number;
|
|
@@ -3147,9 +3425,15 @@ interface ListToolsOptions {
|
|
|
3147
3425
|
}
|
|
3148
3426
|
interface CreateToolboxOptions {
|
|
3149
3427
|
name: string;
|
|
3150
|
-
|
|
3428
|
+
/** Required for an `openapi` box: where its tools are proxied to. */
|
|
3429
|
+
serviceUrl?: string;
|
|
3151
3430
|
description?: string;
|
|
3152
3431
|
source?: string;
|
|
3432
|
+
/**
|
|
3433
|
+
* `openapi` proxies each tool to `serviceUrl`; `function` holds tools that
|
|
3434
|
+
* run as platform functions and takes no service URL.
|
|
3435
|
+
*/
|
|
3436
|
+
metadataType?: "openapi" | "function";
|
|
3153
3437
|
}
|
|
3154
3438
|
interface ToolInvokeEnvelope {
|
|
3155
3439
|
header?: Record<string, unknown>;
|
|
@@ -3168,6 +3452,10 @@ declare function toolboxes(ctx: RequestContext): {
|
|
|
3168
3452
|
unpublish: (boxId: string) => Promise<unknown>;
|
|
3169
3453
|
setToolStatus: (boxId: string, toolIds: string[], status: "enabled" | "disabled") => Promise<unknown>;
|
|
3170
3454
|
upload: (boxId: string, filePath: string, metadataType?: string) => Promise<unknown>;
|
|
3455
|
+
createTool: (boxId: string, opts: CreateToolOptions) => Promise<unknown>;
|
|
3456
|
+
getTool: (boxId: string, toolId: string) => Promise<unknown>;
|
|
3457
|
+
updateTool: (boxId: string, toolId: string, opts: UpdateToolOptions) => Promise<unknown>;
|
|
3458
|
+
deleteTools: (boxId: string, toolIds: string[]) => Promise<unknown>;
|
|
3171
3459
|
/** Export a toolbox config to a local `.adp` file. */
|
|
3172
3460
|
export: (id: string, outPath: string, type?: ImpexType) => Promise<{
|
|
3173
3461
|
id: string;
|
|
@@ -3466,28 +3754,6 @@ interface EvalCase {
|
|
|
3466
3754
|
assertions?: EvalAssertion[];
|
|
3467
3755
|
tags?: string[];
|
|
3468
3756
|
}
|
|
3469
|
-
interface AssertionResult {
|
|
3470
|
-
type: AssertionType;
|
|
3471
|
-
verdict: "pass" | "fail" | "skip";
|
|
3472
|
-
actual?: unknown;
|
|
3473
|
-
reason?: string;
|
|
3474
|
-
}
|
|
3475
|
-
interface CaseResult {
|
|
3476
|
-
queryId: string;
|
|
3477
|
-
query: string;
|
|
3478
|
-
answer: string;
|
|
3479
|
-
conversationId: string | null;
|
|
3480
|
-
assertions: AssertionResult[];
|
|
3481
|
-
errorCode?: string;
|
|
3482
|
-
}
|
|
3483
|
-
interface EvalSetResult {
|
|
3484
|
-
agentId: string;
|
|
3485
|
-
total: number;
|
|
3486
|
-
passed: number;
|
|
3487
|
-
failed: number;
|
|
3488
|
-
skipped: number;
|
|
3489
|
-
cases: CaseResult[];
|
|
3490
|
-
}
|
|
3491
3757
|
|
|
3492
3758
|
declare function trace(ctx: RequestContext): {
|
|
3493
3759
|
/** Low-level BKN Trace 3.0 lifecycle and durable receipt API. */
|
|
@@ -3532,15 +3798,6 @@ declare function trace(ctx: RequestContext): {
|
|
|
3532
3798
|
evalSetBuild: (raw: unknown) => EvalCase[];
|
|
3533
3799
|
/** Validate BKN Trace phase-one fixture files or directories. */
|
|
3534
3800
|
validateFixture: (path: string) => FixturePathValidationResult;
|
|
3535
|
-
/**
|
|
3536
|
-
* Run an eval set against an agent: each case's query is sent to the agent,
|
|
3537
|
-
* the resulting trace is fetched, and assertions are checked. `llm` enables
|
|
3538
|
-
* `semantic_match` assertions via the local claude judge.
|
|
3539
|
-
*/
|
|
3540
|
-
evalSetTest: (agentId: string, cases: EvalCase[], opts?: {
|
|
3541
|
-
version?: string;
|
|
3542
|
-
llm?: boolean;
|
|
3543
|
-
}) => Promise<EvalSetResult>;
|
|
3544
3801
|
};
|
|
3545
3802
|
|
|
3546
3803
|
/** Vega discovery schedules and task lifecycle APIs. */
|
|
@@ -4126,10 +4383,13 @@ type DiscoverResult = z.infer<typeof DiscoverResult>;
|
|
|
4126
4383
|
declare const DiscoverTask: z.ZodObject<{
|
|
4127
4384
|
id: z.ZodString;
|
|
4128
4385
|
catalog_id: z.ZodString;
|
|
4386
|
+
resource_id: z.ZodOptional<z.ZodString>;
|
|
4387
|
+
resource_name: z.ZodOptional<z.ZodString>;
|
|
4129
4388
|
catalog_name: z.ZodOptional<z.ZodString>;
|
|
4130
4389
|
schedule_id: z.ZodString;
|
|
4131
4390
|
strategy: z.ZodString;
|
|
4132
4391
|
trigger_type: z.ZodString;
|
|
4392
|
+
queue_priority: z.ZodDefault<z.ZodNumber>;
|
|
4133
4393
|
status: z.ZodString;
|
|
4134
4394
|
progress: z.ZodNumber;
|
|
4135
4395
|
message: z.ZodString;
|
|
@@ -4181,10 +4441,13 @@ declare const DiscoverTask: z.ZodObject<{
|
|
|
4181
4441
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4182
4442
|
id: z.ZodString;
|
|
4183
4443
|
catalog_id: z.ZodString;
|
|
4444
|
+
resource_id: z.ZodOptional<z.ZodString>;
|
|
4445
|
+
resource_name: z.ZodOptional<z.ZodString>;
|
|
4184
4446
|
catalog_name: z.ZodOptional<z.ZodString>;
|
|
4185
4447
|
schedule_id: z.ZodString;
|
|
4186
4448
|
strategy: z.ZodString;
|
|
4187
4449
|
trigger_type: z.ZodString;
|
|
4450
|
+
queue_priority: z.ZodDefault<z.ZodNumber>;
|
|
4188
4451
|
status: z.ZodString;
|
|
4189
4452
|
progress: z.ZodNumber;
|
|
4190
4453
|
message: z.ZodString;
|
|
@@ -4236,10 +4499,13 @@ declare const DiscoverTask: z.ZodObject<{
|
|
|
4236
4499
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4237
4500
|
id: z.ZodString;
|
|
4238
4501
|
catalog_id: z.ZodString;
|
|
4502
|
+
resource_id: z.ZodOptional<z.ZodString>;
|
|
4503
|
+
resource_name: z.ZodOptional<z.ZodString>;
|
|
4239
4504
|
catalog_name: z.ZodOptional<z.ZodString>;
|
|
4240
4505
|
schedule_id: z.ZodString;
|
|
4241
4506
|
strategy: z.ZodString;
|
|
4242
4507
|
trigger_type: z.ZodString;
|
|
4508
|
+
queue_priority: z.ZodDefault<z.ZodNumber>;
|
|
4243
4509
|
status: z.ZodString;
|
|
4244
4510
|
progress: z.ZodNumber;
|
|
4245
4511
|
message: z.ZodString;
|
|
@@ -4293,10 +4559,13 @@ type DiscoverTask = z.infer<typeof DiscoverTask>;
|
|
|
4293
4559
|
declare const DiscoverTaskSummary: z.ZodObject<Omit<{
|
|
4294
4560
|
id: z.ZodString;
|
|
4295
4561
|
catalog_id: z.ZodString;
|
|
4562
|
+
resource_id: z.ZodOptional<z.ZodString>;
|
|
4563
|
+
resource_name: z.ZodOptional<z.ZodString>;
|
|
4296
4564
|
catalog_name: z.ZodOptional<z.ZodString>;
|
|
4297
4565
|
schedule_id: z.ZodString;
|
|
4298
4566
|
strategy: z.ZodString;
|
|
4299
4567
|
trigger_type: z.ZodString;
|
|
4568
|
+
queue_priority: z.ZodDefault<z.ZodNumber>;
|
|
4300
4569
|
status: z.ZodString;
|
|
4301
4570
|
progress: z.ZodNumber;
|
|
4302
4571
|
message: z.ZodString;
|
|
@@ -4377,10 +4646,13 @@ declare const DiscoverTaskSummary: z.ZodObject<Omit<{
|
|
|
4377
4646
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<Omit<{
|
|
4378
4647
|
id: z.ZodString;
|
|
4379
4648
|
catalog_id: z.ZodString;
|
|
4649
|
+
resource_id: z.ZodOptional<z.ZodString>;
|
|
4650
|
+
resource_name: z.ZodOptional<z.ZodString>;
|
|
4380
4651
|
catalog_name: z.ZodOptional<z.ZodString>;
|
|
4381
4652
|
schedule_id: z.ZodString;
|
|
4382
4653
|
strategy: z.ZodString;
|
|
4383
4654
|
trigger_type: z.ZodString;
|
|
4655
|
+
queue_priority: z.ZodDefault<z.ZodNumber>;
|
|
4384
4656
|
status: z.ZodString;
|
|
4385
4657
|
progress: z.ZodNumber;
|
|
4386
4658
|
message: z.ZodString;
|
|
@@ -4461,10 +4733,13 @@ declare const DiscoverTaskSummary: z.ZodObject<Omit<{
|
|
|
4461
4733
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<Omit<{
|
|
4462
4734
|
id: z.ZodString;
|
|
4463
4735
|
catalog_id: z.ZodString;
|
|
4736
|
+
resource_id: z.ZodOptional<z.ZodString>;
|
|
4737
|
+
resource_name: z.ZodOptional<z.ZodString>;
|
|
4464
4738
|
catalog_name: z.ZodOptional<z.ZodString>;
|
|
4465
4739
|
schedule_id: z.ZodString;
|
|
4466
4740
|
strategy: z.ZodString;
|
|
4467
4741
|
trigger_type: z.ZodString;
|
|
4742
|
+
queue_priority: z.ZodDefault<z.ZodNumber>;
|
|
4468
4743
|
status: z.ZodString;
|
|
4469
4744
|
progress: z.ZodNumber;
|
|
4470
4745
|
message: z.ZodString;
|
|
@@ -4548,10 +4823,13 @@ declare const ListDiscoverTasksResponse: z.ZodObject<{
|
|
|
4548
4823
|
entries: z.ZodArray<z.ZodObject<Omit<{
|
|
4549
4824
|
id: z.ZodString;
|
|
4550
4825
|
catalog_id: z.ZodString;
|
|
4826
|
+
resource_id: z.ZodOptional<z.ZodString>;
|
|
4827
|
+
resource_name: z.ZodOptional<z.ZodString>;
|
|
4551
4828
|
catalog_name: z.ZodOptional<z.ZodString>;
|
|
4552
4829
|
schedule_id: z.ZodString;
|
|
4553
4830
|
strategy: z.ZodString;
|
|
4554
4831
|
trigger_type: z.ZodString;
|
|
4832
|
+
queue_priority: z.ZodDefault<z.ZodNumber>;
|
|
4555
4833
|
status: z.ZodString;
|
|
4556
4834
|
progress: z.ZodNumber;
|
|
4557
4835
|
message: z.ZodString;
|
|
@@ -4632,10 +4910,13 @@ declare const ListDiscoverTasksResponse: z.ZodObject<{
|
|
|
4632
4910
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<Omit<{
|
|
4633
4911
|
id: z.ZodString;
|
|
4634
4912
|
catalog_id: z.ZodString;
|
|
4913
|
+
resource_id: z.ZodOptional<z.ZodString>;
|
|
4914
|
+
resource_name: z.ZodOptional<z.ZodString>;
|
|
4635
4915
|
catalog_name: z.ZodOptional<z.ZodString>;
|
|
4636
4916
|
schedule_id: z.ZodString;
|
|
4637
4917
|
strategy: z.ZodString;
|
|
4638
4918
|
trigger_type: z.ZodString;
|
|
4919
|
+
queue_priority: z.ZodDefault<z.ZodNumber>;
|
|
4639
4920
|
status: z.ZodString;
|
|
4640
4921
|
progress: z.ZodNumber;
|
|
4641
4922
|
message: z.ZodString;
|
|
@@ -4716,10 +4997,13 @@ declare const ListDiscoverTasksResponse: z.ZodObject<{
|
|
|
4716
4997
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<Omit<{
|
|
4717
4998
|
id: z.ZodString;
|
|
4718
4999
|
catalog_id: z.ZodString;
|
|
5000
|
+
resource_id: z.ZodOptional<z.ZodString>;
|
|
5001
|
+
resource_name: z.ZodOptional<z.ZodString>;
|
|
4719
5002
|
catalog_name: z.ZodOptional<z.ZodString>;
|
|
4720
5003
|
schedule_id: z.ZodString;
|
|
4721
5004
|
strategy: z.ZodString;
|
|
4722
5005
|
trigger_type: z.ZodString;
|
|
5006
|
+
queue_priority: z.ZodDefault<z.ZodNumber>;
|
|
4723
5007
|
status: z.ZodString;
|
|
4724
5008
|
progress: z.ZodNumber;
|
|
4725
5009
|
message: z.ZodString;
|
|
@@ -4803,10 +5087,13 @@ declare const ListDiscoverTasksResponse: z.ZodObject<{
|
|
|
4803
5087
|
entries: z.ZodArray<z.ZodObject<Omit<{
|
|
4804
5088
|
id: z.ZodString;
|
|
4805
5089
|
catalog_id: z.ZodString;
|
|
5090
|
+
resource_id: z.ZodOptional<z.ZodString>;
|
|
5091
|
+
resource_name: z.ZodOptional<z.ZodString>;
|
|
4806
5092
|
catalog_name: z.ZodOptional<z.ZodString>;
|
|
4807
5093
|
schedule_id: z.ZodString;
|
|
4808
5094
|
strategy: z.ZodString;
|
|
4809
5095
|
trigger_type: z.ZodString;
|
|
5096
|
+
queue_priority: z.ZodDefault<z.ZodNumber>;
|
|
4810
5097
|
status: z.ZodString;
|
|
4811
5098
|
progress: z.ZodNumber;
|
|
4812
5099
|
message: z.ZodString;
|
|
@@ -4887,10 +5174,13 @@ declare const ListDiscoverTasksResponse: z.ZodObject<{
|
|
|
4887
5174
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<Omit<{
|
|
4888
5175
|
id: z.ZodString;
|
|
4889
5176
|
catalog_id: z.ZodString;
|
|
5177
|
+
resource_id: z.ZodOptional<z.ZodString>;
|
|
5178
|
+
resource_name: z.ZodOptional<z.ZodString>;
|
|
4890
5179
|
catalog_name: z.ZodOptional<z.ZodString>;
|
|
4891
5180
|
schedule_id: z.ZodString;
|
|
4892
5181
|
strategy: z.ZodString;
|
|
4893
5182
|
trigger_type: z.ZodString;
|
|
5183
|
+
queue_priority: z.ZodDefault<z.ZodNumber>;
|
|
4894
5184
|
status: z.ZodString;
|
|
4895
5185
|
progress: z.ZodNumber;
|
|
4896
5186
|
message: z.ZodString;
|
|
@@ -4971,10 +5261,13 @@ declare const ListDiscoverTasksResponse: z.ZodObject<{
|
|
|
4971
5261
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<Omit<{
|
|
4972
5262
|
id: z.ZodString;
|
|
4973
5263
|
catalog_id: z.ZodString;
|
|
5264
|
+
resource_id: z.ZodOptional<z.ZodString>;
|
|
5265
|
+
resource_name: z.ZodOptional<z.ZodString>;
|
|
4974
5266
|
catalog_name: z.ZodOptional<z.ZodString>;
|
|
4975
5267
|
schedule_id: z.ZodString;
|
|
4976
5268
|
strategy: z.ZodString;
|
|
4977
5269
|
trigger_type: z.ZodString;
|
|
5270
|
+
queue_priority: z.ZodDefault<z.ZodNumber>;
|
|
4978
5271
|
status: z.ZodString;
|
|
4979
5272
|
progress: z.ZodNumber;
|
|
4980
5273
|
message: z.ZodString;
|
|
@@ -5058,10 +5351,13 @@ declare const ListDiscoverTasksResponse: z.ZodObject<{
|
|
|
5058
5351
|
entries: z.ZodArray<z.ZodObject<Omit<{
|
|
5059
5352
|
id: z.ZodString;
|
|
5060
5353
|
catalog_id: z.ZodString;
|
|
5354
|
+
resource_id: z.ZodOptional<z.ZodString>;
|
|
5355
|
+
resource_name: z.ZodOptional<z.ZodString>;
|
|
5061
5356
|
catalog_name: z.ZodOptional<z.ZodString>;
|
|
5062
5357
|
schedule_id: z.ZodString;
|
|
5063
5358
|
strategy: z.ZodString;
|
|
5064
5359
|
trigger_type: z.ZodString;
|
|
5360
|
+
queue_priority: z.ZodDefault<z.ZodNumber>;
|
|
5065
5361
|
status: z.ZodString;
|
|
5066
5362
|
progress: z.ZodNumber;
|
|
5067
5363
|
message: z.ZodString;
|
|
@@ -5142,10 +5438,13 @@ declare const ListDiscoverTasksResponse: z.ZodObject<{
|
|
|
5142
5438
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<Omit<{
|
|
5143
5439
|
id: z.ZodString;
|
|
5144
5440
|
catalog_id: z.ZodString;
|
|
5441
|
+
resource_id: z.ZodOptional<z.ZodString>;
|
|
5442
|
+
resource_name: z.ZodOptional<z.ZodString>;
|
|
5145
5443
|
catalog_name: z.ZodOptional<z.ZodString>;
|
|
5146
5444
|
schedule_id: z.ZodString;
|
|
5147
5445
|
strategy: z.ZodString;
|
|
5148
5446
|
trigger_type: z.ZodString;
|
|
5447
|
+
queue_priority: z.ZodDefault<z.ZodNumber>;
|
|
5149
5448
|
status: z.ZodString;
|
|
5150
5449
|
progress: z.ZodNumber;
|
|
5151
5450
|
message: z.ZodString;
|
|
@@ -5226,10 +5525,13 @@ declare const ListDiscoverTasksResponse: z.ZodObject<{
|
|
|
5226
5525
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<Omit<{
|
|
5227
5526
|
id: z.ZodString;
|
|
5228
5527
|
catalog_id: z.ZodString;
|
|
5528
|
+
resource_id: z.ZodOptional<z.ZodString>;
|
|
5529
|
+
resource_name: z.ZodOptional<z.ZodString>;
|
|
5229
5530
|
catalog_name: z.ZodOptional<z.ZodString>;
|
|
5230
5531
|
schedule_id: z.ZodString;
|
|
5231
5532
|
strategy: z.ZodString;
|
|
5232
5533
|
trigger_type: z.ZodString;
|
|
5534
|
+
queue_priority: z.ZodDefault<z.ZodNumber>;
|
|
5233
5535
|
status: z.ZodString;
|
|
5234
5536
|
progress: z.ZodNumber;
|
|
5235
5537
|
message: z.ZodString;
|
|
@@ -5313,6 +5615,7 @@ declare const ListDiscoverTasksResponse: z.ZodObject<{
|
|
|
5313
5615
|
type ListDiscoverTasksResponse = z.infer<typeof ListDiscoverTasksResponse>;
|
|
5314
5616
|
interface ListDiscoverTasksOptions {
|
|
5315
5617
|
catalogId?: string;
|
|
5618
|
+
resourceId?: string;
|
|
5316
5619
|
scheduleId?: string;
|
|
5317
5620
|
status?: VegaTaskStatus | VegaTaskStatus[];
|
|
5318
5621
|
strategy?: DiscoverStrategy;
|
|
@@ -5934,6 +6237,8 @@ interface DeleteSemanticUnderstandingTasksOptions {
|
|
|
5934
6237
|
|
|
5935
6238
|
declare const BuildMode: z.ZodEnum<["batch", "streaming"]>;
|
|
5936
6239
|
type BuildMode = z.infer<typeof BuildMode>;
|
|
6240
|
+
declare const BuildTaskExecuteType: z.ZodEnum<["incremental", "full"]>;
|
|
6241
|
+
type BuildTaskExecuteType = z.infer<typeof BuildTaskExecuteType>;
|
|
5937
6242
|
declare const BuildTaskStatus: z.ZodEnum<["pending", "running", "stopping", "stopped", "completed", "failed", "cancelled"]>;
|
|
5938
6243
|
type BuildTaskStatus = z.infer<typeof BuildTaskStatus>;
|
|
5939
6244
|
declare const BuildTaskSort: z.ZodEnum<["create_time", "start_time", "finish_time", "last_progress_time"]>;
|
|
@@ -6075,8 +6380,140 @@ declare const Catalog: z.ZodObject<{
|
|
|
6075
6380
|
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6076
6381
|
}, z.ZodTypeAny, "passthrough">>;
|
|
6077
6382
|
type Catalog = z.infer<typeof Catalog>;
|
|
6383
|
+
/** Catalog fields returned by list endpoints; connection configuration and metadata require a detail read. */
|
|
6384
|
+
declare const CatalogSummary: z.ZodObject<Omit<{
|
|
6385
|
+
id: z.ZodString;
|
|
6386
|
+
name: z.ZodString;
|
|
6387
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6388
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6389
|
+
type: z.ZodString;
|
|
6390
|
+
enabled: z.ZodBoolean;
|
|
6391
|
+
internal: z.ZodOptional<z.ZodBoolean>;
|
|
6392
|
+
connector_type: z.ZodString;
|
|
6393
|
+
connector_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6394
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6395
|
+
health_check_status: z.ZodOptional<z.ZodString>;
|
|
6396
|
+
last_check_time: z.ZodOptional<z.ZodNumber>;
|
|
6397
|
+
health_check_result: z.ZodOptional<z.ZodString>;
|
|
6398
|
+
creator: z.ZodOptional<z.ZodObject<{
|
|
6399
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6400
|
+
type: z.ZodOptional<z.ZodString>;
|
|
6401
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6402
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6403
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6404
|
+
type: z.ZodOptional<z.ZodString>;
|
|
6405
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6406
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6407
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6408
|
+
type: z.ZodOptional<z.ZodString>;
|
|
6409
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6410
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
6411
|
+
create_time: z.ZodOptional<z.ZodNumber>;
|
|
6412
|
+
updater: z.ZodOptional<z.ZodObject<{
|
|
6413
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6414
|
+
type: z.ZodOptional<z.ZodString>;
|
|
6415
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6416
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6417
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6418
|
+
type: z.ZodOptional<z.ZodString>;
|
|
6419
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6420
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6421
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6422
|
+
type: z.ZodOptional<z.ZodString>;
|
|
6423
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6424
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
6425
|
+
update_time: z.ZodNumber;
|
|
6426
|
+
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6427
|
+
}, "connector_config" | "metadata">, "passthrough", z.ZodTypeAny, z.objectOutputType<Omit<{
|
|
6428
|
+
id: z.ZodString;
|
|
6429
|
+
name: z.ZodString;
|
|
6430
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6431
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6432
|
+
type: z.ZodString;
|
|
6433
|
+
enabled: z.ZodBoolean;
|
|
6434
|
+
internal: z.ZodOptional<z.ZodBoolean>;
|
|
6435
|
+
connector_type: z.ZodString;
|
|
6436
|
+
connector_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6437
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6438
|
+
health_check_status: z.ZodOptional<z.ZodString>;
|
|
6439
|
+
last_check_time: z.ZodOptional<z.ZodNumber>;
|
|
6440
|
+
health_check_result: z.ZodOptional<z.ZodString>;
|
|
6441
|
+
creator: z.ZodOptional<z.ZodObject<{
|
|
6442
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6443
|
+
type: z.ZodOptional<z.ZodString>;
|
|
6444
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6445
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6446
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6447
|
+
type: z.ZodOptional<z.ZodString>;
|
|
6448
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6449
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6450
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6451
|
+
type: z.ZodOptional<z.ZodString>;
|
|
6452
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6453
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
6454
|
+
create_time: z.ZodOptional<z.ZodNumber>;
|
|
6455
|
+
updater: z.ZodOptional<z.ZodObject<{
|
|
6456
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6457
|
+
type: z.ZodOptional<z.ZodString>;
|
|
6458
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6459
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6460
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6461
|
+
type: z.ZodOptional<z.ZodString>;
|
|
6462
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6463
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6464
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6465
|
+
type: z.ZodOptional<z.ZodString>;
|
|
6466
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6467
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
6468
|
+
update_time: z.ZodNumber;
|
|
6469
|
+
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6470
|
+
}, "connector_config" | "metadata">, z.ZodTypeAny, "passthrough">, z.objectInputType<Omit<{
|
|
6471
|
+
id: z.ZodString;
|
|
6472
|
+
name: z.ZodString;
|
|
6473
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6474
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6475
|
+
type: z.ZodString;
|
|
6476
|
+
enabled: z.ZodBoolean;
|
|
6477
|
+
internal: z.ZodOptional<z.ZodBoolean>;
|
|
6478
|
+
connector_type: z.ZodString;
|
|
6479
|
+
connector_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6480
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6481
|
+
health_check_status: z.ZodOptional<z.ZodString>;
|
|
6482
|
+
last_check_time: z.ZodOptional<z.ZodNumber>;
|
|
6483
|
+
health_check_result: z.ZodOptional<z.ZodString>;
|
|
6484
|
+
creator: z.ZodOptional<z.ZodObject<{
|
|
6485
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6486
|
+
type: z.ZodOptional<z.ZodString>;
|
|
6487
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6488
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6489
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6490
|
+
type: z.ZodOptional<z.ZodString>;
|
|
6491
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6492
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6493
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6494
|
+
type: z.ZodOptional<z.ZodString>;
|
|
6495
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6496
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
6497
|
+
create_time: z.ZodOptional<z.ZodNumber>;
|
|
6498
|
+
updater: z.ZodOptional<z.ZodObject<{
|
|
6499
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6500
|
+
type: z.ZodOptional<z.ZodString>;
|
|
6501
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6502
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6503
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6504
|
+
type: z.ZodOptional<z.ZodString>;
|
|
6505
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6506
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6507
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6508
|
+
type: z.ZodOptional<z.ZodString>;
|
|
6509
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6510
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
6511
|
+
update_time: z.ZodNumber;
|
|
6512
|
+
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6513
|
+
}, "connector_config" | "metadata">, z.ZodTypeAny, "passthrough">>;
|
|
6514
|
+
type CatalogSummary = z.infer<typeof CatalogSummary>;
|
|
6078
6515
|
declare const ListCatalogsResponse: z.ZodObject<{
|
|
6079
|
-
entries: z.ZodArray<z.ZodObject<{
|
|
6516
|
+
entries: z.ZodArray<z.ZodObject<Omit<{
|
|
6080
6517
|
id: z.ZodString;
|
|
6081
6518
|
name: z.ZodString;
|
|
6082
6519
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -6119,7 +6556,7 @@ declare const ListCatalogsResponse: z.ZodObject<{
|
|
|
6119
6556
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
6120
6557
|
update_time: z.ZodNumber;
|
|
6121
6558
|
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6122
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6559
|
+
}, "connector_config" | "metadata">, "passthrough", z.ZodTypeAny, z.objectOutputType<Omit<{
|
|
6123
6560
|
id: z.ZodString;
|
|
6124
6561
|
name: z.ZodString;
|
|
6125
6562
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -6162,7 +6599,7 @@ declare const ListCatalogsResponse: z.ZodObject<{
|
|
|
6162
6599
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
6163
6600
|
update_time: z.ZodNumber;
|
|
6164
6601
|
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6165
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6602
|
+
}, "connector_config" | "metadata">, z.ZodTypeAny, "passthrough">, z.objectInputType<Omit<{
|
|
6166
6603
|
id: z.ZodString;
|
|
6167
6604
|
name: z.ZodString;
|
|
6168
6605
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -6205,10 +6642,10 @@ declare const ListCatalogsResponse: z.ZodObject<{
|
|
|
6205
6642
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
6206
6643
|
update_time: z.ZodNumber;
|
|
6207
6644
|
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6208
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6645
|
+
}, "connector_config" | "metadata">, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6209
6646
|
total_count: z.ZodNumber;
|
|
6210
6647
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6211
|
-
entries: z.ZodArray<z.ZodObject<{
|
|
6648
|
+
entries: z.ZodArray<z.ZodObject<Omit<{
|
|
6212
6649
|
id: z.ZodString;
|
|
6213
6650
|
name: z.ZodString;
|
|
6214
6651
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -6251,7 +6688,7 @@ declare const ListCatalogsResponse: z.ZodObject<{
|
|
|
6251
6688
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
6252
6689
|
update_time: z.ZodNumber;
|
|
6253
6690
|
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6254
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6691
|
+
}, "connector_config" | "metadata">, "passthrough", z.ZodTypeAny, z.objectOutputType<Omit<{
|
|
6255
6692
|
id: z.ZodString;
|
|
6256
6693
|
name: z.ZodString;
|
|
6257
6694
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -6294,7 +6731,7 @@ declare const ListCatalogsResponse: z.ZodObject<{
|
|
|
6294
6731
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
6295
6732
|
update_time: z.ZodNumber;
|
|
6296
6733
|
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6297
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6734
|
+
}, "connector_config" | "metadata">, z.ZodTypeAny, "passthrough">, z.objectInputType<Omit<{
|
|
6298
6735
|
id: z.ZodString;
|
|
6299
6736
|
name: z.ZodString;
|
|
6300
6737
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -6337,10 +6774,10 @@ declare const ListCatalogsResponse: z.ZodObject<{
|
|
|
6337
6774
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
6338
6775
|
update_time: z.ZodNumber;
|
|
6339
6776
|
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6340
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6777
|
+
}, "connector_config" | "metadata">, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6341
6778
|
total_count: z.ZodNumber;
|
|
6342
6779
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6343
|
-
entries: z.ZodArray<z.ZodObject<{
|
|
6780
|
+
entries: z.ZodArray<z.ZodObject<Omit<{
|
|
6344
6781
|
id: z.ZodString;
|
|
6345
6782
|
name: z.ZodString;
|
|
6346
6783
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -6383,7 +6820,7 @@ declare const ListCatalogsResponse: z.ZodObject<{
|
|
|
6383
6820
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
6384
6821
|
update_time: z.ZodNumber;
|
|
6385
6822
|
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6386
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6823
|
+
}, "connector_config" | "metadata">, "passthrough", z.ZodTypeAny, z.objectOutputType<Omit<{
|
|
6387
6824
|
id: z.ZodString;
|
|
6388
6825
|
name: z.ZodString;
|
|
6389
6826
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -6426,7 +6863,7 @@ declare const ListCatalogsResponse: z.ZodObject<{
|
|
|
6426
6863
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
6427
6864
|
update_time: z.ZodNumber;
|
|
6428
6865
|
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6429
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6866
|
+
}, "connector_config" | "metadata">, z.ZodTypeAny, "passthrough">, z.objectInputType<Omit<{
|
|
6430
6867
|
id: z.ZodString;
|
|
6431
6868
|
name: z.ZodString;
|
|
6432
6869
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -6469,7 +6906,7 @@ declare const ListCatalogsResponse: z.ZodObject<{
|
|
|
6469
6906
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
6470
6907
|
update_time: z.ZodNumber;
|
|
6471
6908
|
operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6472
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6909
|
+
}, "connector_config" | "metadata">, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6473
6910
|
total_count: z.ZodNumber;
|
|
6474
6911
|
}, z.ZodTypeAny, "passthrough">>;
|
|
6475
6912
|
type ListCatalogsResponse = z.infer<typeof ListCatalogsResponse>;
|
|
@@ -7729,6 +8166,7 @@ interface ListBuildTasksOptions {
|
|
|
7729
8166
|
catalogId?: string;
|
|
7730
8167
|
status?: BuildTaskStatus | BuildTaskStatus[];
|
|
7731
8168
|
mode?: BuildMode;
|
|
8169
|
+
executeType?: BuildTaskExecuteType;
|
|
7732
8170
|
sort?: BuildTaskSort;
|
|
7733
8171
|
direction?: SortDirection;
|
|
7734
8172
|
}
|
|
@@ -7808,7 +8246,7 @@ interface UpdateCatalogRequest {
|
|
|
7808
8246
|
|
|
7809
8247
|
declare function vega(ctx: RequestContext): {
|
|
7810
8248
|
catalogs: (opts?: ListCatalogsOptions) => Promise<zod.objectOutputType<{
|
|
7811
|
-
entries: zod.ZodArray<zod.ZodObject<{
|
|
8249
|
+
entries: zod.ZodArray<zod.ZodObject<Omit<{
|
|
7812
8250
|
id: zod.ZodString;
|
|
7813
8251
|
name: zod.ZodString;
|
|
7814
8252
|
tags: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
@@ -7851,7 +8289,7 @@ declare function vega(ctx: RequestContext): {
|
|
|
7851
8289
|
}, zod.ZodTypeAny, "passthrough">>>;
|
|
7852
8290
|
update_time: zod.ZodNumber;
|
|
7853
8291
|
operations: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
7854
|
-
}, "passthrough", zod.ZodTypeAny, zod.objectOutputType<{
|
|
8292
|
+
}, "connector_config" | "metadata">, "passthrough", zod.ZodTypeAny, zod.objectOutputType<Omit<{
|
|
7855
8293
|
id: zod.ZodString;
|
|
7856
8294
|
name: zod.ZodString;
|
|
7857
8295
|
tags: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
@@ -7894,7 +8332,7 @@ declare function vega(ctx: RequestContext): {
|
|
|
7894
8332
|
}, zod.ZodTypeAny, "passthrough">>>;
|
|
7895
8333
|
update_time: zod.ZodNumber;
|
|
7896
8334
|
operations: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
7897
|
-
}, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{
|
|
8335
|
+
}, "connector_config" | "metadata">, zod.ZodTypeAny, "passthrough">, zod.objectInputType<Omit<{
|
|
7898
8336
|
id: zod.ZodString;
|
|
7899
8337
|
name: zod.ZodString;
|
|
7900
8338
|
tags: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
@@ -7937,7 +8375,7 @@ declare function vega(ctx: RequestContext): {
|
|
|
7937
8375
|
}, zod.ZodTypeAny, "passthrough">>>;
|
|
7938
8376
|
update_time: zod.ZodNumber;
|
|
7939
8377
|
operations: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
7940
|
-
}, zod.ZodTypeAny, "passthrough">>, "many">;
|
|
8378
|
+
}, "connector_config" | "metadata">, zod.ZodTypeAny, "passthrough">>, "many">;
|
|
7941
8379
|
total_count: zod.ZodNumber;
|
|
7942
8380
|
}, zod.ZodTypeAny, "passthrough">>;
|
|
7943
8381
|
getCatalog: (id: string | string[]) => Promise<zod.objectOutputType<{
|
|
@@ -8106,8 +8544,11 @@ declare function vega(ctx: RequestContext): {
|
|
|
8106
8544
|
discoverCatalog: (catalogId: string, req?: Parameters<typeof discoverCatalog>[2]) => Promise<{
|
|
8107
8545
|
id: string;
|
|
8108
8546
|
}>;
|
|
8547
|
+
discoverResource: (resourceId: string) => Promise<{
|
|
8548
|
+
id: string;
|
|
8549
|
+
}>;
|
|
8109
8550
|
catalogResources: (id: string, category?: string, limit?: number, offset?: number) => Promise<zod.objectOutputType<{
|
|
8110
|
-
entries: zod.ZodArray<zod.ZodObject<{
|
|
8551
|
+
entries: zod.ZodArray<zod.ZodObject<Omit<{
|
|
8111
8552
|
id: zod.ZodString;
|
|
8112
8553
|
catalog_id: zod.ZodString;
|
|
8113
8554
|
name: zod.ZodString;
|
|
@@ -8115,6 +8556,7 @@ declare function vega(ctx: RequestContext): {
|
|
|
8115
8556
|
description: zod.ZodOptional<zod.ZodString>;
|
|
8116
8557
|
category: zod.ZodString;
|
|
8117
8558
|
status: zod.ZodString;
|
|
8559
|
+
enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
8118
8560
|
status_message: zod.ZodOptional<zod.ZodString>;
|
|
8119
8561
|
last_discover_status: zod.ZodOptional<zod.ZodString>;
|
|
8120
8562
|
schema: zod.ZodOptional<zod.ZodString>;
|
|
@@ -8169,7 +8611,7 @@ declare function vega(ctx: RequestContext): {
|
|
|
8169
8611
|
}, zod.ZodTypeAny, "passthrough">>;
|
|
8170
8612
|
update_time: zod.ZodNumber;
|
|
8171
8613
|
operations: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
8172
|
-
}, "passthrough", zod.ZodTypeAny, zod.objectOutputType<{
|
|
8614
|
+
}, "source_metadata" | "schema_definition" | "index_config" | "logic_definition">, "passthrough", zod.ZodTypeAny, zod.objectOutputType<Omit<{
|
|
8173
8615
|
id: zod.ZodString;
|
|
8174
8616
|
catalog_id: zod.ZodString;
|
|
8175
8617
|
name: zod.ZodString;
|
|
@@ -8177,6 +8619,7 @@ declare function vega(ctx: RequestContext): {
|
|
|
8177
8619
|
description: zod.ZodOptional<zod.ZodString>;
|
|
8178
8620
|
category: zod.ZodString;
|
|
8179
8621
|
status: zod.ZodString;
|
|
8622
|
+
enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
8180
8623
|
status_message: zod.ZodOptional<zod.ZodString>;
|
|
8181
8624
|
last_discover_status: zod.ZodOptional<zod.ZodString>;
|
|
8182
8625
|
schema: zod.ZodOptional<zod.ZodString>;
|
|
@@ -8231,7 +8674,7 @@ declare function vega(ctx: RequestContext): {
|
|
|
8231
8674
|
}, zod.ZodTypeAny, "passthrough">>;
|
|
8232
8675
|
update_time: zod.ZodNumber;
|
|
8233
8676
|
operations: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
8234
|
-
}, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{
|
|
8677
|
+
}, "source_metadata" | "schema_definition" | "index_config" | "logic_definition">, zod.ZodTypeAny, "passthrough">, zod.objectInputType<Omit<{
|
|
8235
8678
|
id: zod.ZodString;
|
|
8236
8679
|
catalog_id: zod.ZodString;
|
|
8237
8680
|
name: zod.ZodString;
|
|
@@ -8239,6 +8682,7 @@ declare function vega(ctx: RequestContext): {
|
|
|
8239
8682
|
description: zod.ZodOptional<zod.ZodString>;
|
|
8240
8683
|
category: zod.ZodString;
|
|
8241
8684
|
status: zod.ZodString;
|
|
8685
|
+
enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
8242
8686
|
status_message: zod.ZodOptional<zod.ZodString>;
|
|
8243
8687
|
last_discover_status: zod.ZodOptional<zod.ZodString>;
|
|
8244
8688
|
schema: zod.ZodOptional<zod.ZodString>;
|
|
@@ -8293,7 +8737,7 @@ declare function vega(ctx: RequestContext): {
|
|
|
8293
8737
|
}, zod.ZodTypeAny, "passthrough">>;
|
|
8294
8738
|
update_time: zod.ZodNumber;
|
|
8295
8739
|
operations: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
8296
|
-
}, zod.ZodTypeAny, "passthrough">>, "many">;
|
|
8740
|
+
}, "source_metadata" | "schema_definition" | "index_config" | "logic_definition">, zod.ZodTypeAny, "passthrough">>, "many">;
|
|
8297
8741
|
total_count: zod.ZodNumber;
|
|
8298
8742
|
}, zod.ZodTypeAny, "passthrough">>;
|
|
8299
8743
|
catalogHealth: (id: string) => Promise<zod.objectOutputType<{
|
|
@@ -8654,10 +9098,13 @@ declare function vega(ctx: RequestContext): {
|
|
|
8654
9098
|
entries: zod.ZodArray<zod.ZodObject<Omit<{
|
|
8655
9099
|
id: zod.ZodString;
|
|
8656
9100
|
catalog_id: zod.ZodString;
|
|
9101
|
+
resource_id: zod.ZodOptional<zod.ZodString>;
|
|
9102
|
+
resource_name: zod.ZodOptional<zod.ZodString>;
|
|
8657
9103
|
catalog_name: zod.ZodOptional<zod.ZodString>;
|
|
8658
9104
|
schedule_id: zod.ZodString;
|
|
8659
9105
|
strategy: zod.ZodString;
|
|
8660
9106
|
trigger_type: zod.ZodString;
|
|
9107
|
+
queue_priority: zod.ZodDefault<zod.ZodNumber>;
|
|
8661
9108
|
status: zod.ZodString;
|
|
8662
9109
|
progress: zod.ZodNumber;
|
|
8663
9110
|
message: zod.ZodString;
|
|
@@ -8738,10 +9185,13 @@ declare function vega(ctx: RequestContext): {
|
|
|
8738
9185
|
}, "passthrough", zod.ZodTypeAny, zod.objectOutputType<Omit<{
|
|
8739
9186
|
id: zod.ZodString;
|
|
8740
9187
|
catalog_id: zod.ZodString;
|
|
9188
|
+
resource_id: zod.ZodOptional<zod.ZodString>;
|
|
9189
|
+
resource_name: zod.ZodOptional<zod.ZodString>;
|
|
8741
9190
|
catalog_name: zod.ZodOptional<zod.ZodString>;
|
|
8742
9191
|
schedule_id: zod.ZodString;
|
|
8743
9192
|
strategy: zod.ZodString;
|
|
8744
9193
|
trigger_type: zod.ZodString;
|
|
9194
|
+
queue_priority: zod.ZodDefault<zod.ZodNumber>;
|
|
8745
9195
|
status: zod.ZodString;
|
|
8746
9196
|
progress: zod.ZodNumber;
|
|
8747
9197
|
message: zod.ZodString;
|
|
@@ -8822,10 +9272,13 @@ declare function vega(ctx: RequestContext): {
|
|
|
8822
9272
|
}, zod.ZodTypeAny, "passthrough">, zod.objectInputType<Omit<{
|
|
8823
9273
|
id: zod.ZodString;
|
|
8824
9274
|
catalog_id: zod.ZodString;
|
|
9275
|
+
resource_id: zod.ZodOptional<zod.ZodString>;
|
|
9276
|
+
resource_name: zod.ZodOptional<zod.ZodString>;
|
|
8825
9277
|
catalog_name: zod.ZodOptional<zod.ZodString>;
|
|
8826
9278
|
schedule_id: zod.ZodString;
|
|
8827
9279
|
strategy: zod.ZodString;
|
|
8828
9280
|
trigger_type: zod.ZodString;
|
|
9281
|
+
queue_priority: zod.ZodDefault<zod.ZodNumber>;
|
|
8829
9282
|
status: zod.ZodString;
|
|
8830
9283
|
progress: zod.ZodNumber;
|
|
8831
9284
|
message: zod.ZodString;
|
|
@@ -8909,10 +9362,13 @@ declare function vega(ctx: RequestContext): {
|
|
|
8909
9362
|
getDiscoverTask: (id: string) => Promise<zod.objectOutputType<{
|
|
8910
9363
|
id: zod.ZodString;
|
|
8911
9364
|
catalog_id: zod.ZodString;
|
|
9365
|
+
resource_id: zod.ZodOptional<zod.ZodString>;
|
|
9366
|
+
resource_name: zod.ZodOptional<zod.ZodString>;
|
|
8912
9367
|
catalog_name: zod.ZodOptional<zod.ZodString>;
|
|
8913
9368
|
schedule_id: zod.ZodString;
|
|
8914
9369
|
strategy: zod.ZodString;
|
|
8915
9370
|
trigger_type: zod.ZodString;
|
|
9371
|
+
queue_priority: zod.ZodDefault<zod.ZodNumber>;
|
|
8916
9372
|
status: zod.ZodString;
|
|
8917
9373
|
progress: zod.ZodNumber;
|
|
8918
9374
|
message: zod.ZodString;
|
|
@@ -9156,13 +9612,9 @@ interface BknClient {
|
|
|
9156
9612
|
readonly ctx: RequestContext;
|
|
9157
9613
|
readonly kn: ReturnType<typeof kn>;
|
|
9158
9614
|
readonly resource: ReturnType<typeof resources>;
|
|
9159
|
-
/**
|
|
9160
|
-
* @deprecated Decision Agent (agent-factory) is being phased out and may be
|
|
9161
|
-
* removed in a future release. Avoid building new integrations on it.
|
|
9162
|
-
*/
|
|
9163
|
-
readonly agents: ReturnType<typeof agents>;
|
|
9164
9615
|
readonly context: ReturnType<typeof context>;
|
|
9165
9616
|
readonly models: ReturnType<typeof models>;
|
|
9617
|
+
readonly functions: ReturnType<typeof functions>;
|
|
9166
9618
|
readonly skills: ReturnType<typeof skills>;
|
|
9167
9619
|
readonly toolboxes: ReturnType<typeof toolboxes>;
|
|
9168
9620
|
readonly trace: ReturnType<typeof trace>;
|
|
@@ -9448,4 +9900,4 @@ declare function request<T = unknown>(ctx: RequestContext, path: string, init?:
|
|
|
9448
9900
|
|
|
9449
9901
|
declare function resolveContext(opts?: ClientOptions): RequestContext;
|
|
9450
9902
|
|
|
9451
|
-
export { type ActionSummary, BatchCatalogsResponse, BatchResourcesResponse, type BknBusinessContext, type BknClient, type BknContext, BuildMode, BuildTask, BuildTaskSort, BuildTaskStatus, BuildTaskSummary, Catalog, type CatalogConnectionTestRequest, CatalogConnectionTestResult, CatalogDeletionBlocker, CatalogDeletionImpact, CatalogDeletionTaskImpact, CatalogHealthCheckSchedule, type CatalogHealthCheckScheduleConfig, CatalogHealthCheckScheduleMode, type CatalogHealthCheckScheduleRequest, CatalogHealthCheckStatus, CatalogHealthStatus, CatalogRef, type CatalogWriteOptions, type ClaimSupport, type ClientOptions, type CloseConversationInput, type ConversationPage, type ConversationStrategy, CreateBuildTaskRequest, type CreateCatalogRequest, type CreateDiscoverScheduleRequest, type CreateNewConversationGenerationInput, type CreateResourceRequest, type CreateSemanticUnderstandingTaskRequest, DEFAULT_BUSINESS_DOMAIN, DEFAULT_LIST_LIMIT, DEFAULT_QUERY_LIMIT, type DeleteCatalogOptions, type DeleteCatalogResult, type DeleteDiscoverTasksOptions, type DeleteResourceOptions, type DeleteSemanticUnderstandingTasksOptions, DiscoverResult, DiscoverSchedule, DiscoverStrategy, DiscoverTask, DiscoverTaskSummary, type DslRawQueryRequest, type EnsureConversationInput, type EnsureOperationInput, type EvidenceDurability, type EvidenceReference, type ExecuteSkillOptions, type ExpectedOperation, type ExpectedReceipt, type FinishOperationAttemptInput, type GraphPage, HttpError, InputError, type InteractionCompletionInput, type LifecycleBusinessRef, type LifecycleError, type LifecycleErrorCode, type LifecycleErrorEnvelope, type LifecycleOwner, type ListBuildTasksOptions, ListBuildTasksResponse, ListCatalogsResponse, type ListConversationsQuery, type ListDiscoverSchedulesOptions, ListDiscoverSchedulesResponse, type ListDiscoverTasksOptions, ListDiscoverTasksResponse, type ListResourcesOptions, ListResourcesResponse, type ListSemanticUnderstandingTasksOptions, ListSemanticUnderstandingTasksResponse, type ManagedClaim, type ManagedCompletionInput, type ManagedConversation, type ManagedInteraction, type ManagedInteractionScope, type ManagedOperation, type ManagedOperationCall, type ManagedOperationInput, type ManagedOperationResult, type ManagedToolResult, ManagedTrace, type ManagedTraceOptions, NonJsonResponseError, type OperationCallFact, type OperationCallFactPage, type OperationProtocol, type OperationReceipt, type OperationResult, type PartialKnMarked, type PayloadEnvelope, type PayloadMode, type QueryPagingMode, type QueryResourceOptions, type QueryResourceResponse, type RawQueryContinuationRequest, type RawQueryPaging, type RawQueryRequest, type RequestContext, Resource, ResourceCategory, type ResourceDataPaging, type ResourceDocument, ResourceLocalStatus, ResourceStatus, type ResumeConversationInput, type RetryOperationAttemptInput, SemanticUnderstandingApplyMode, SemanticUnderstandingScope, SemanticUnderstandingTask, SemanticUnderstandingTaskSummary, type SkillChild, type SkillContentResponse, type SkillDirChild, type SkillExecutionResult, type SkillFileChild, type SkillFileEntry, type SkillReadFileResponse, type SkillResponseMode, type SkillView, type SkillViewOptions, SortDirection, type SqlRawQueryRequest, type StartInteractionInput, type SupportCandidate, type ToolCallOptions, ToolError, type TraceExecutionSummary, type TraceGraphEdge, type TraceGraphNode, type TraceGraphResponse, type TraceLifecycleApi, type UpdateCatalogRequest, type UpdateDiscoverScheduleRequest, type UpdateResourceOptions, VegaAccountInfo, VegaTaskStatus, type VisibilitySummary, admin,
|
|
9903
|
+
export { type ActionSummary, BatchCatalogsResponse, BatchResourcesResponse, type BknBusinessContext, type BknClient, type BknContext, BuildMode, BuildTask, BuildTaskSort, BuildTaskStatus, BuildTaskSummary, Catalog, type CatalogConnectionTestRequest, CatalogConnectionTestResult, CatalogDeletionBlocker, CatalogDeletionImpact, CatalogDeletionTaskImpact, CatalogHealthCheckSchedule, type CatalogHealthCheckScheduleConfig, CatalogHealthCheckScheduleMode, type CatalogHealthCheckScheduleRequest, CatalogHealthCheckStatus, CatalogHealthStatus, CatalogRef, CatalogSummary, type CatalogWriteOptions, type ClaimSupport, type ClientOptions, type CloseConversationInput, type ConversationPage, type ConversationStrategy, CreateBuildTaskRequest, type CreateCatalogRequest, type CreateDiscoverScheduleRequest, type CreateNewConversationGenerationInput, type CreateResourceRequest, type CreateSemanticUnderstandingTaskRequest, DEFAULT_BUSINESS_DOMAIN, DEFAULT_LIST_LIMIT, DEFAULT_QUERY_LIMIT, type DeleteCatalogOptions, type DeleteCatalogResult, type DeleteDiscoverTasksOptions, type DeleteResourceOptions, type DeleteSemanticUnderstandingTasksOptions, type DependencyInfo, DiscoverResult, DiscoverSchedule, DiscoverStrategy, DiscoverTask, DiscoverTaskSummary, type DslRawQueryRequest, type EnsureConversationInput, type EnsureOperationInput, type EvidenceDurability, type EvidenceReference, type ExecuteFunctionOptions, type ExecuteSkillOptions, type ExpectedOperation, type ExpectedReceipt, type FinishOperationAttemptInput, type FunctionDefinition, type FunctionExecuteResult, type GraphPage, HttpError, InputError, type InteractionCompletionInput, type LifecycleBusinessRef, type LifecycleError, type LifecycleErrorCode, type LifecycleErrorEnvelope, type LifecycleOwner, type ListBuildTasksOptions, ListBuildTasksResponse, ListCatalogsResponse, type ListConversationsQuery, type ListDiscoverSchedulesOptions, ListDiscoverSchedulesResponse, type ListDiscoverTasksOptions, ListDiscoverTasksResponse, type ListResourcesOptions, ListResourcesResponse, type ListSemanticUnderstandingTasksOptions, ListSemanticUnderstandingTasksResponse, type ManagedClaim, type ManagedCompletionInput, type ManagedConversation, type ManagedInteraction, type ManagedInteractionScope, type ManagedOperation, type ManagedOperationCall, type ManagedOperationInput, type ManagedOperationResult, type ManagedToolResult, ManagedTrace, type ManagedTraceOptions, NonJsonResponseError, type OperationCallFact, type OperationCallFactPage, type OperationProtocol, type OperationReceipt, type OperationResult, type ParameterDef, type PartialKnMarked, type PayloadEnvelope, type PayloadMode, type QueryPagingMode, type QueryResourceOptions, type QueryResourceResponse, type RawQueryContinuationRequest, type RawQueryPaging, type RawQueryRequest, type RequestContext, Resource, ResourceCategory, type ResourceDataPaging, type ResourceDocument, ResourceLocalStatus, ResourceStatus, ResourceSummary, type ResumeConversationInput, type RetryOperationAttemptInput, SemanticUnderstandingApplyMode, SemanticUnderstandingScope, SemanticUnderstandingTask, SemanticUnderstandingTaskSummary, type SkillChild, type SkillContentResponse, type SkillDirChild, type SkillExecutionResult, type SkillFileChild, type SkillFileEntry, type SkillReadFileResponse, type SkillResponseMode, type SkillView, type SkillViewOptions, SortDirection, type SqlRawQueryRequest, type StartInteractionInput, type SupportCandidate, type ToolCallOptions, ToolError, type TraceExecutionSummary, type TraceGraphEdge, type TraceGraphNode, type TraceGraphResponse, type TraceLifecycleApi, type UpdateCatalogRequest, type UpdateDiscoverScheduleRequest, type UpdateResourceOptions, VegaAccountInfo, VegaTaskStatus, type VisibilitySummary, admin, auth, context, createClient, functions, kn, models, parseBigIntJSON, releaseLifecycleSessions, request, resolveContext, resources, skills, stringifyBigIntJSON, toolboxes, trace, traceLifecycleApi, vega };
|