@work-shape/catalyst-api-contract 0.8.0-rc.3 → 0.8.0-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +512 -13
- package/dist/index.js +111 -19
- package/openapi.json +1246 -96
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -2401,6 +2401,8 @@ declare const guardrailOperations: {
|
|
|
2401
2401
|
|
|
2402
2402
|
/** How many characters of a result a read shows at most. The store cuts to the same number. */
|
|
2403
2403
|
declare const WORKFLOW_RUN_OUTPUT_PREVIEW_MAX_CHARS = 2000;
|
|
2404
|
+
/** How long a run key is at most: `WORKFLOW_RUN_KEY_MAX_LENGTH` of the contract. */
|
|
2405
|
+
declare const WORKFLOW_RUN_KEY_MAX_CHARS = 200;
|
|
2404
2406
|
declare const workflowRunSchema: z.ZodObject<{
|
|
2405
2407
|
id: z.ZodString;
|
|
2406
2408
|
workflow: z.ZodString;
|
|
@@ -2437,6 +2439,7 @@ declare const workflowRunSchema: z.ZodObject<{
|
|
|
2437
2439
|
label: z.ZodString;
|
|
2438
2440
|
}, z.core.$strip>;
|
|
2439
2441
|
scheduledFor: z.ZodOptional<z.ZodISODateTime>;
|
|
2442
|
+
runKey: z.ZodOptional<z.ZodString>;
|
|
2440
2443
|
operationRunId: z.ZodOptional<z.ZodString>;
|
|
2441
2444
|
parentRunId: z.ZodOptional<z.ZodString>;
|
|
2442
2445
|
parentStepRunId: z.ZodOptional<z.ZodString>;
|
|
@@ -2530,6 +2533,7 @@ declare const workflowStepRunSchema: z.ZodObject<{
|
|
|
2530
2533
|
}>;
|
|
2531
2534
|
attempt: z.ZodNumber;
|
|
2532
2535
|
operationRunId: z.ZodOptional<z.ZodString>;
|
|
2536
|
+
linkedRunId: z.ZodOptional<z.ZodString>;
|
|
2533
2537
|
error: z.ZodOptional<z.ZodObject<{
|
|
2534
2538
|
code: z.ZodString;
|
|
2535
2539
|
message: z.ZodString;
|
|
@@ -2546,6 +2550,17 @@ declare const workflowStepRunSchema: z.ZodObject<{
|
|
|
2546
2550
|
}, z.core.$strip>;
|
|
2547
2551
|
declare const startWorkflowRunRequestSchema: z.ZodObject<{
|
|
2548
2552
|
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2553
|
+
key: z.ZodOptional<z.ZodString>;
|
|
2554
|
+
}, z.core.$strip>;
|
|
2555
|
+
/**
|
|
2556
|
+
* The runs of a Workflow by their run key: `key` answers the run with that key, `keyPrefix`
|
|
2557
|
+
* those whose key starts with it, taken as it is written. Not both.
|
|
2558
|
+
*/
|
|
2559
|
+
declare const listWorkflowRunsQuerySchema: z.ZodObject<{
|
|
2560
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
2561
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
2562
|
+
key: z.ZodOptional<z.ZodString>;
|
|
2563
|
+
keyPrefix: z.ZodOptional<z.ZodString>;
|
|
2549
2564
|
}, z.core.$strip>;
|
|
2550
2565
|
/**
|
|
2551
2566
|
* The filters of the step runs of a run: those of one block, one status, one item of a loop.
|
|
@@ -2685,6 +2700,7 @@ declare const workflowOperations: {
|
|
|
2685
2700
|
readonly effect: "changing";
|
|
2686
2701
|
readonly body: z.ZodObject<{
|
|
2687
2702
|
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2703
|
+
key: z.ZodOptional<z.ZodString>;
|
|
2688
2704
|
}, z.core.$strip>;
|
|
2689
2705
|
readonly response: {
|
|
2690
2706
|
readonly kind: "json";
|
|
@@ -2724,6 +2740,7 @@ declare const workflowOperations: {
|
|
|
2724
2740
|
label: z.ZodString;
|
|
2725
2741
|
}, z.core.$strip>;
|
|
2726
2742
|
scheduledFor: z.ZodOptional<z.ZodISODateTime>;
|
|
2743
|
+
runKey: z.ZodOptional<z.ZodString>;
|
|
2727
2744
|
operationRunId: z.ZodOptional<z.ZodString>;
|
|
2728
2745
|
parentRunId: z.ZodOptional<z.ZodString>;
|
|
2729
2746
|
parentStepRunId: z.ZodOptional<z.ZodString>;
|
|
@@ -2751,7 +2768,7 @@ declare const workflowOperations: {
|
|
|
2751
2768
|
dataPrunedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2752
2769
|
}, z.core.$strip>;
|
|
2753
2770
|
};
|
|
2754
|
-
readonly errors: readonly ["NOT_FOUND", "CONFLICT"];
|
|
2771
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "VALIDATION_FAILED"];
|
|
2755
2772
|
readonly rateClass: "write";
|
|
2756
2773
|
} & {
|
|
2757
2774
|
readonly accepted: z.ZodObject<{
|
|
@@ -2887,6 +2904,7 @@ declare const workflowOperations: {
|
|
|
2887
2904
|
readonly effect: "changing";
|
|
2888
2905
|
readonly body: z.ZodObject<{
|
|
2889
2906
|
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2907
|
+
key: z.ZodOptional<z.ZodString>;
|
|
2890
2908
|
}, z.core.$strip>;
|
|
2891
2909
|
readonly response: {
|
|
2892
2910
|
readonly kind: "json";
|
|
@@ -2926,6 +2944,7 @@ declare const workflowOperations: {
|
|
|
2926
2944
|
label: z.ZodString;
|
|
2927
2945
|
}, z.core.$strip>;
|
|
2928
2946
|
scheduledFor: z.ZodOptional<z.ZodISODateTime>;
|
|
2947
|
+
runKey: z.ZodOptional<z.ZodString>;
|
|
2929
2948
|
operationRunId: z.ZodOptional<z.ZodString>;
|
|
2930
2949
|
parentRunId: z.ZodOptional<z.ZodString>;
|
|
2931
2950
|
parentStepRunId: z.ZodOptional<z.ZodString>;
|
|
@@ -3081,7 +3100,7 @@ declare const workflowOperations: {
|
|
|
3081
3100
|
readonly id: "workflows.list_runs";
|
|
3082
3101
|
readonly method: "GET";
|
|
3083
3102
|
readonly path: "/api/v1/workflows/:workflow/runs";
|
|
3084
|
-
readonly summary: "List the runs of one Workflow with their status, newest first";
|
|
3103
|
+
readonly summary: "List the runs of one Workflow with their status, newest first: all of them, or those of one run key or key prefix";
|
|
3085
3104
|
readonly tag: "Workflows";
|
|
3086
3105
|
readonly auth: "principal";
|
|
3087
3106
|
readonly scope: "config_assets:read";
|
|
@@ -3090,6 +3109,8 @@ declare const workflowOperations: {
|
|
|
3090
3109
|
readonly query: z.ZodObject<{
|
|
3091
3110
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
3092
3111
|
cursor: z.ZodOptional<z.ZodString>;
|
|
3112
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3113
|
+
keyPrefix: z.ZodOptional<z.ZodString>;
|
|
3093
3114
|
}, z.core.$strip>;
|
|
3094
3115
|
readonly response: {
|
|
3095
3116
|
readonly kind: "page";
|
|
@@ -3130,6 +3151,7 @@ declare const workflowOperations: {
|
|
|
3130
3151
|
label: z.ZodString;
|
|
3131
3152
|
}, z.core.$strip>;
|
|
3132
3153
|
scheduledFor: z.ZodOptional<z.ZodISODateTime>;
|
|
3154
|
+
runKey: z.ZodOptional<z.ZodString>;
|
|
3133
3155
|
operationRunId: z.ZodOptional<z.ZodString>;
|
|
3134
3156
|
parentRunId: z.ZodOptional<z.ZodString>;
|
|
3135
3157
|
parentStepRunId: z.ZodOptional<z.ZodString>;
|
|
@@ -3161,7 +3183,7 @@ declare const workflowOperations: {
|
|
|
3161
3183
|
readonly order: readonly string[];
|
|
3162
3184
|
readonly descending: boolean;
|
|
3163
3185
|
};
|
|
3164
|
-
readonly errors: readonly [];
|
|
3186
|
+
readonly errors: readonly ["VALIDATION_FAILED"];
|
|
3165
3187
|
readonly rateClass: "read";
|
|
3166
3188
|
} & {
|
|
3167
3189
|
readonly headers: {
|
|
@@ -3216,6 +3238,7 @@ declare const workflowOperations: {
|
|
|
3216
3238
|
label: z.ZodString;
|
|
3217
3239
|
}, z.core.$strip>;
|
|
3218
3240
|
scheduledFor: z.ZodOptional<z.ZodISODateTime>;
|
|
3241
|
+
runKey: z.ZodOptional<z.ZodString>;
|
|
3219
3242
|
operationRunId: z.ZodOptional<z.ZodString>;
|
|
3220
3243
|
parentRunId: z.ZodOptional<z.ZodString>;
|
|
3221
3244
|
parentStepRunId: z.ZodOptional<z.ZodString>;
|
|
@@ -3348,6 +3371,7 @@ declare const workflowOperations: {
|
|
|
3348
3371
|
}>;
|
|
3349
3372
|
attempt: z.ZodNumber;
|
|
3350
3373
|
operationRunId: z.ZodOptional<z.ZodString>;
|
|
3374
|
+
linkedRunId: z.ZodOptional<z.ZodString>;
|
|
3351
3375
|
error: z.ZodOptional<z.ZodObject<{
|
|
3352
3376
|
code: z.ZodString;
|
|
3353
3377
|
message: z.ZodString;
|
|
@@ -3422,6 +3446,7 @@ declare const workflowOperations: {
|
|
|
3422
3446
|
label: z.ZodString;
|
|
3423
3447
|
}, z.core.$strip>;
|
|
3424
3448
|
scheduledFor: z.ZodOptional<z.ZodISODateTime>;
|
|
3449
|
+
runKey: z.ZodOptional<z.ZodString>;
|
|
3425
3450
|
operationRunId: z.ZodOptional<z.ZodString>;
|
|
3426
3451
|
parentRunId: z.ZodOptional<z.ZodString>;
|
|
3427
3452
|
parentStepRunId: z.ZodOptional<z.ZodString>;
|
|
@@ -7363,6 +7388,409 @@ declare const apiOperations: {
|
|
|
7363
7388
|
readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
|
|
7364
7389
|
};
|
|
7365
7390
|
}>;
|
|
7391
|
+
readonly "knowledge_bases.sync": Operation<{
|
|
7392
|
+
readonly id: "knowledge_bases.sync";
|
|
7393
|
+
readonly method: "POST";
|
|
7394
|
+
readonly path: "/api/v1/knowledge-bases/:knowledgeBase/sync";
|
|
7395
|
+
readonly summary: "Start a full source sync and return its Operation Run immediately; concurrent starts join the running sync";
|
|
7396
|
+
readonly scope: "config_assets:write";
|
|
7397
|
+
readonly effect: "changing";
|
|
7398
|
+
readonly body: zod.ZodObject<{
|
|
7399
|
+
source: zod.ZodString;
|
|
7400
|
+
mode: zod.ZodOptional<zod.ZodLiteral<"full">>;
|
|
7401
|
+
}, zod_v4_core.$strict>;
|
|
7402
|
+
readonly response: {
|
|
7403
|
+
readonly kind: "json";
|
|
7404
|
+
readonly schema: zod.ZodObject<{
|
|
7405
|
+
syncRunId: zod.ZodString;
|
|
7406
|
+
source: zod.ZodString;
|
|
7407
|
+
mode: zod.ZodEnum<{
|
|
7408
|
+
full: "full";
|
|
7409
|
+
initial: "initial";
|
|
7410
|
+
changes: "changes";
|
|
7411
|
+
}>;
|
|
7412
|
+
reason: zod.ZodOptional<zod.ZodEnum<{
|
|
7413
|
+
cursor_expired: "cursor_expired";
|
|
7414
|
+
}>>;
|
|
7415
|
+
state: zod.ZodEnum<{
|
|
7416
|
+
failed: "failed";
|
|
7417
|
+
running: "running";
|
|
7418
|
+
done: "done";
|
|
7419
|
+
}>;
|
|
7420
|
+
counts: zod.ZodObject<{
|
|
7421
|
+
discovered: zod.ZodNumber;
|
|
7422
|
+
added: zod.ZodNumber;
|
|
7423
|
+
changed: zod.ZodNumber;
|
|
7424
|
+
moved: zod.ZodNumber;
|
|
7425
|
+
withdrawn: zod.ZodNumber;
|
|
7426
|
+
failed: zod.ZodNumber;
|
|
7427
|
+
skipped: zod.ZodNumber;
|
|
7428
|
+
}, zod_v4_core.$strict>;
|
|
7429
|
+
bytesFetched: zod.ZodNumber;
|
|
7430
|
+
failureCode: zod.ZodOptional<zod.ZodEnum<{
|
|
7431
|
+
knowledge_source_unreachable: "knowledge_source_unreachable";
|
|
7432
|
+
knowledge_source_refused: "knowledge_source_refused";
|
|
7433
|
+
knowledge_fetch_failed: "knowledge_fetch_failed";
|
|
7434
|
+
knowledge_source_limit_reached: "knowledge_source_limit_reached";
|
|
7435
|
+
}>>;
|
|
7436
|
+
startedAt: zod.ZodString;
|
|
7437
|
+
endedAt: zod.ZodOptional<zod.ZodString>;
|
|
7438
|
+
}, zod_v4_core.$strict>;
|
|
7439
|
+
};
|
|
7440
|
+
readonly rateClass: "write";
|
|
7441
|
+
readonly tag: "Knowledge Bases";
|
|
7442
|
+
readonly auth: "principal";
|
|
7443
|
+
readonly requires: readonly [];
|
|
7444
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT"];
|
|
7445
|
+
} & {
|
|
7446
|
+
readonly accepted: zod.ZodObject<{
|
|
7447
|
+
id: zod.ZodString;
|
|
7448
|
+
operation: zod.ZodString;
|
|
7449
|
+
effect: zod.ZodEnum<{
|
|
7450
|
+
reading: "reading";
|
|
7451
|
+
changing: "changing";
|
|
7452
|
+
}>;
|
|
7453
|
+
status: zod.ZodEnum<{
|
|
7454
|
+
failed: "failed";
|
|
7455
|
+
running: "running";
|
|
7456
|
+
pending_confirmation: "pending_confirmation";
|
|
7457
|
+
pending_approval: "pending_approval";
|
|
7458
|
+
done: "done";
|
|
7459
|
+
denied: "denied";
|
|
7460
|
+
expired: "expired";
|
|
7461
|
+
}>;
|
|
7462
|
+
actor: zod.ZodObject<{
|
|
7463
|
+
kind: zod.ZodEnum<{
|
|
7464
|
+
user: "user";
|
|
7465
|
+
service_principal: "service_principal";
|
|
7466
|
+
}>;
|
|
7467
|
+
id: zod.ZodString;
|
|
7468
|
+
label: zod.ZodString;
|
|
7469
|
+
}, zod_v4_core.$strip>;
|
|
7470
|
+
origin: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
7471
|
+
kind: zod.ZodLiteral<"agent">;
|
|
7472
|
+
agentRunId: zod.ZodString;
|
|
7473
|
+
conversationId: zod.ZodString;
|
|
7474
|
+
agentName: zod.ZodString;
|
|
7475
|
+
toolCallId: zod.ZodString;
|
|
7476
|
+
toolName: zod.ZodString;
|
|
7477
|
+
toolRevisionId: zod.ZodOptional<zod.ZodString>;
|
|
7478
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7479
|
+
kind: zod.ZodLiteral<"user">;
|
|
7480
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7481
|
+
kind: zod.ZodLiteral<"cli">;
|
|
7482
|
+
unattended: zod.ZodOptional<zod.ZodLiteral<true>>;
|
|
7483
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7484
|
+
kind: zod.ZodLiteral<"mcp">;
|
|
7485
|
+
clientName: zod.ZodOptional<zod.ZodString>;
|
|
7486
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7487
|
+
kind: zod.ZodLiteral<"app">;
|
|
7488
|
+
appName: zod.ZodOptional<zod.ZodString>;
|
|
7489
|
+
appRevisionId: zod.ZodString;
|
|
7490
|
+
actionName: zod.ZodString;
|
|
7491
|
+
pageSessionId: zod.ZodString;
|
|
7492
|
+
conversationId: zod.ZodOptional<zod.ZodString>;
|
|
7493
|
+
target: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
7494
|
+
connection: zod.ZodString;
|
|
7495
|
+
operation: zod.ZodString;
|
|
7496
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7497
|
+
dataStore: zod.ZodString;
|
|
7498
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7499
|
+
workflow: zod.ZodString;
|
|
7500
|
+
}, zod_v4_core.$strip>]>>;
|
|
7501
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7502
|
+
kind: zod.ZodLiteral<"workflow">;
|
|
7503
|
+
workflowRunId: zod.ZodString;
|
|
7504
|
+
stepRunId: zod.ZodString;
|
|
7505
|
+
boundBy: zod.ZodOptional<zod.ZodObject<{
|
|
7506
|
+
id: zod.ZodString;
|
|
7507
|
+
label: zod.ZodString;
|
|
7508
|
+
}, zod_v4_core.$strip>>;
|
|
7509
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7510
|
+
kind: zod.ZodLiteral<"schedule">;
|
|
7511
|
+
scheduleId: zod.ZodString;
|
|
7512
|
+
}, zod_v4_core.$strip>], "kind">;
|
|
7513
|
+
target: zod.ZodEnum<{
|
|
7514
|
+
live: "live";
|
|
7515
|
+
test: "test";
|
|
7516
|
+
dry_run: "dry_run";
|
|
7517
|
+
}>;
|
|
7518
|
+
app: zod.ZodOptional<zod.ZodObject<{
|
|
7519
|
+
title: zod.ZodOptional<zod.ZodString>;
|
|
7520
|
+
revision: zod.ZodOptional<zod.ZodNumber>;
|
|
7521
|
+
deleted: zod.ZodBoolean;
|
|
7522
|
+
}, zod_v4_core.$strip>>;
|
|
7523
|
+
workspaceId: zod.ZodOptional<zod.ZodString>;
|
|
7524
|
+
approvalRequestId: zod.ZodOptional<zod.ZodString>;
|
|
7525
|
+
inputHash: zod.ZodString;
|
|
7526
|
+
attempt: zod.ZodNumber;
|
|
7527
|
+
decision: zod.ZodOptional<zod.ZodObject<{
|
|
7528
|
+
mode: zod.ZodEnum<{
|
|
7529
|
+
direct: "direct";
|
|
7530
|
+
confirmed: "confirmed";
|
|
7531
|
+
approved: "approved";
|
|
7532
|
+
declined: "declined";
|
|
7533
|
+
}>;
|
|
7534
|
+
reason: zod.ZodOptional<zod.ZodEnum<{
|
|
7535
|
+
inherited_approval_not_applied: "inherited_approval_not_applied";
|
|
7536
|
+
workflow_publish: "workflow_publish";
|
|
7537
|
+
approved_by_caller: "approved_by_caller";
|
|
7538
|
+
}>>;
|
|
7539
|
+
by: zod.ZodString;
|
|
7540
|
+
byLabel: zod.ZodOptional<zod.ZodString>;
|
|
7541
|
+
at: zod.ZodISODateTime;
|
|
7542
|
+
comment: zod.ZodOptional<zod.ZodString>;
|
|
7543
|
+
}, zod_v4_core.$strip>>;
|
|
7544
|
+
error: zod.ZodOptional<zod.ZodObject<{
|
|
7545
|
+
code: zod.ZodString;
|
|
7546
|
+
message: zod.ZodString;
|
|
7547
|
+
reason: zod.ZodOptional<zod.ZodString>;
|
|
7548
|
+
}, zod_v4_core.$strip>>;
|
|
7549
|
+
usage: zod.ZodOptional<zod.ZodObject<{
|
|
7550
|
+
modelCalls: zod.ZodNumber;
|
|
7551
|
+
inputTokens: zod.ZodNumber;
|
|
7552
|
+
outputTokens: zod.ZodNumber;
|
|
7553
|
+
totalTokens: zod.ZodNumber;
|
|
7554
|
+
}, zod_v4_core.$strip>>;
|
|
7555
|
+
correlationId: zod.ZodString;
|
|
7556
|
+
createdAt: zod.ZodISODateTime;
|
|
7557
|
+
startedAt: zod.ZodOptional<zod.ZodISODateTime>;
|
|
7558
|
+
finishedAt: zod.ZodOptional<zod.ZodISODateTime>;
|
|
7559
|
+
expiresAt: zod.ZodOptional<zod.ZodISODateTime>;
|
|
7560
|
+
href: zod.ZodString;
|
|
7561
|
+
}, zod_v4_core.$strip>;
|
|
7562
|
+
readonly headers: {
|
|
7563
|
+
readonly request: readonly ["Idempotency-Key", "Catalyst-Unattended"];
|
|
7564
|
+
readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
|
|
7565
|
+
};
|
|
7566
|
+
}>;
|
|
7567
|
+
readonly "knowledge_bases.sources": Operation<{
|
|
7568
|
+
readonly id: "knowledge_bases.sources";
|
|
7569
|
+
readonly method: "GET";
|
|
7570
|
+
readonly path: "/api/v1/knowledge-bases/:knowledgeBase/sources";
|
|
7571
|
+
readonly summary: "Read source states, counts, failure codes and sync progress";
|
|
7572
|
+
readonly scope: "config_assets:read";
|
|
7573
|
+
readonly effect: "reading";
|
|
7574
|
+
readonly response: {
|
|
7575
|
+
readonly kind: "json";
|
|
7576
|
+
readonly schema: zod.ZodObject<{
|
|
7577
|
+
sources: zod.ZodArray<zod.ZodObject<{
|
|
7578
|
+
id: zod.ZodString;
|
|
7579
|
+
connection: zod.ZodString;
|
|
7580
|
+
items: zod.ZodObject<{
|
|
7581
|
+
discovered: zod.ZodNumber;
|
|
7582
|
+
fetched: zod.ZodNumber;
|
|
7583
|
+
indexed: zod.ZodNumber;
|
|
7584
|
+
failed: zod.ZodNumber;
|
|
7585
|
+
withdrawn: zod.ZodNumber;
|
|
7586
|
+
}, zod_v4_core.$strict>;
|
|
7587
|
+
failures: zod.ZodArray<zod.ZodObject<{
|
|
7588
|
+
code: zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
7589
|
+
knowledge_file_format_unsupported: "knowledge_file_format_unsupported";
|
|
7590
|
+
knowledge_file_over_limit: "knowledge_file_over_limit";
|
|
7591
|
+
knowledge_source_unreachable: "knowledge_source_unreachable";
|
|
7592
|
+
knowledge_source_refused: "knowledge_source_refused";
|
|
7593
|
+
knowledge_fetch_failed: "knowledge_fetch_failed";
|
|
7594
|
+
knowledge_source_limit_reached: "knowledge_source_limit_reached";
|
|
7595
|
+
}>, zod.ZodEnum<{
|
|
7596
|
+
knowledge_file_format_unsupported: "knowledge_file_format_unsupported";
|
|
7597
|
+
knowledge_file_over_limit: "knowledge_file_over_limit";
|
|
7598
|
+
knowledge_file_unreadable: "knowledge_file_unreadable";
|
|
7599
|
+
knowledge_file_missing: "knowledge_file_missing";
|
|
7600
|
+
knowledge_extraction_failed: "knowledge_extraction_failed";
|
|
7601
|
+
knowledge_file_format_unavailable: "knowledge_file_format_unavailable";
|
|
7602
|
+
knowledge_text_unreadable: "knowledge_text_unreadable";
|
|
7603
|
+
knowledge_text_empty: "knowledge_text_empty";
|
|
7604
|
+
knowledge_index_failed: "knowledge_index_failed";
|
|
7605
|
+
}>]>;
|
|
7606
|
+
count: zod.ZodNumber;
|
|
7607
|
+
}, zod_v4_core.$strict>>;
|
|
7608
|
+
running: zod.ZodOptional<zod.ZodObject<{
|
|
7609
|
+
syncRunId: zod.ZodString;
|
|
7610
|
+
mode: zod.ZodEnum<{
|
|
7611
|
+
full: "full";
|
|
7612
|
+
initial: "initial";
|
|
7613
|
+
changes: "changes";
|
|
7614
|
+
}>;
|
|
7615
|
+
startedAt: zod.ZodString;
|
|
7616
|
+
itemsPerMinute: zod.ZodOptional<zod.ZodNumber>;
|
|
7617
|
+
estimatedEndAt: zod.ZodOptional<zod.ZodString>;
|
|
7618
|
+
}, zod_v4_core.$strict>>;
|
|
7619
|
+
last: zod.ZodOptional<zod.ZodObject<{
|
|
7620
|
+
syncRunId: zod.ZodString;
|
|
7621
|
+
source: zod.ZodString;
|
|
7622
|
+
mode: zod.ZodEnum<{
|
|
7623
|
+
full: "full";
|
|
7624
|
+
initial: "initial";
|
|
7625
|
+
changes: "changes";
|
|
7626
|
+
}>;
|
|
7627
|
+
reason: zod.ZodOptional<zod.ZodEnum<{
|
|
7628
|
+
cursor_expired: "cursor_expired";
|
|
7629
|
+
}>>;
|
|
7630
|
+
state: zod.ZodEnum<{
|
|
7631
|
+
failed: "failed";
|
|
7632
|
+
running: "running";
|
|
7633
|
+
done: "done";
|
|
7634
|
+
}>;
|
|
7635
|
+
counts: zod.ZodObject<{
|
|
7636
|
+
discovered: zod.ZodNumber;
|
|
7637
|
+
added: zod.ZodNumber;
|
|
7638
|
+
changed: zod.ZodNumber;
|
|
7639
|
+
moved: zod.ZodNumber;
|
|
7640
|
+
withdrawn: zod.ZodNumber;
|
|
7641
|
+
failed: zod.ZodNumber;
|
|
7642
|
+
skipped: zod.ZodNumber;
|
|
7643
|
+
}, zod_v4_core.$strict>;
|
|
7644
|
+
bytesFetched: zod.ZodNumber;
|
|
7645
|
+
failureCode: zod.ZodOptional<zod.ZodEnum<{
|
|
7646
|
+
knowledge_source_unreachable: "knowledge_source_unreachable";
|
|
7647
|
+
knowledge_source_refused: "knowledge_source_refused";
|
|
7648
|
+
knowledge_fetch_failed: "knowledge_fetch_failed";
|
|
7649
|
+
knowledge_source_limit_reached: "knowledge_source_limit_reached";
|
|
7650
|
+
}>>;
|
|
7651
|
+
startedAt: zod.ZodString;
|
|
7652
|
+
endedAt: zod.ZodOptional<zod.ZodString>;
|
|
7653
|
+
}, zod_v4_core.$strict>>;
|
|
7654
|
+
lastChangeAt: zod.ZodOptional<zod.ZodString>;
|
|
7655
|
+
oldestOpenChangeAt: zod.ZodOptional<zod.ZodString>;
|
|
7656
|
+
}, zod_v4_core.$strict>>;
|
|
7657
|
+
}, zod_v4_core.$strict>;
|
|
7658
|
+
};
|
|
7659
|
+
readonly rateClass: "read";
|
|
7660
|
+
readonly tag: "Knowledge Bases";
|
|
7661
|
+
readonly auth: "principal";
|
|
7662
|
+
readonly requires: readonly [];
|
|
7663
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT"];
|
|
7664
|
+
} & {
|
|
7665
|
+
readonly headers: {
|
|
7666
|
+
readonly response: readonly ["Operation-Run-Id"];
|
|
7667
|
+
};
|
|
7668
|
+
}>;
|
|
7669
|
+
readonly "knowledge_bases.source_items": Operation<{
|
|
7670
|
+
readonly id: "knowledge_bases.source_items";
|
|
7671
|
+
readonly method: "GET";
|
|
7672
|
+
readonly path: "/api/v1/knowledge-bases/:knowledgeBase/sources/:source/items";
|
|
7673
|
+
readonly summary: "Page through the items of a source, newest change first; filter by state or failure code";
|
|
7674
|
+
readonly scope: "config_assets:read";
|
|
7675
|
+
readonly effect: "reading";
|
|
7676
|
+
readonly query: zod.ZodObject<{
|
|
7677
|
+
state: zod.ZodOptional<zod.ZodEnum<{
|
|
7678
|
+
failed: "failed";
|
|
7679
|
+
withdrawn: "withdrawn";
|
|
7680
|
+
indexed: "indexed";
|
|
7681
|
+
discovered: "discovered";
|
|
7682
|
+
fetched: "fetched";
|
|
7683
|
+
}>>;
|
|
7684
|
+
failureCode: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
7685
|
+
knowledge_file_format_unsupported: "knowledge_file_format_unsupported";
|
|
7686
|
+
knowledge_file_over_limit: "knowledge_file_over_limit";
|
|
7687
|
+
knowledge_source_unreachable: "knowledge_source_unreachable";
|
|
7688
|
+
knowledge_source_refused: "knowledge_source_refused";
|
|
7689
|
+
knowledge_fetch_failed: "knowledge_fetch_failed";
|
|
7690
|
+
knowledge_source_limit_reached: "knowledge_source_limit_reached";
|
|
7691
|
+
}>, zod.ZodEnum<{
|
|
7692
|
+
knowledge_file_format_unsupported: "knowledge_file_format_unsupported";
|
|
7693
|
+
knowledge_file_over_limit: "knowledge_file_over_limit";
|
|
7694
|
+
knowledge_file_unreadable: "knowledge_file_unreadable";
|
|
7695
|
+
knowledge_file_missing: "knowledge_file_missing";
|
|
7696
|
+
knowledge_extraction_failed: "knowledge_extraction_failed";
|
|
7697
|
+
knowledge_file_format_unavailable: "knowledge_file_format_unavailable";
|
|
7698
|
+
knowledge_text_unreadable: "knowledge_text_unreadable";
|
|
7699
|
+
knowledge_text_empty: "knowledge_text_empty";
|
|
7700
|
+
knowledge_index_failed: "knowledge_index_failed";
|
|
7701
|
+
}>]>>;
|
|
7702
|
+
limit: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
|
|
7703
|
+
cursor: zod.ZodOptional<zod.ZodString>;
|
|
7704
|
+
}, zod_v4_core.$strict>;
|
|
7705
|
+
readonly response: {
|
|
7706
|
+
readonly kind: "json";
|
|
7707
|
+
readonly schema: zod.ZodObject<{
|
|
7708
|
+
items: zod.ZodArray<zod.ZodObject<{
|
|
7709
|
+
id: zod.ZodString;
|
|
7710
|
+
itemId: zod.ZodString;
|
|
7711
|
+
name: zod.ZodString;
|
|
7712
|
+
path: zod.ZodString;
|
|
7713
|
+
state: zod.ZodEnum<{
|
|
7714
|
+
failed: "failed";
|
|
7715
|
+
withdrawn: "withdrawn";
|
|
7716
|
+
indexed: "indexed";
|
|
7717
|
+
discovered: "discovered";
|
|
7718
|
+
fetched: "fetched";
|
|
7719
|
+
}>;
|
|
7720
|
+
failureCode: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
7721
|
+
knowledge_file_format_unsupported: "knowledge_file_format_unsupported";
|
|
7722
|
+
knowledge_file_over_limit: "knowledge_file_over_limit";
|
|
7723
|
+
knowledge_source_unreachable: "knowledge_source_unreachable";
|
|
7724
|
+
knowledge_source_refused: "knowledge_source_refused";
|
|
7725
|
+
knowledge_fetch_failed: "knowledge_fetch_failed";
|
|
7726
|
+
knowledge_source_limit_reached: "knowledge_source_limit_reached";
|
|
7727
|
+
}>, zod.ZodEnum<{
|
|
7728
|
+
knowledge_file_format_unsupported: "knowledge_file_format_unsupported";
|
|
7729
|
+
knowledge_file_over_limit: "knowledge_file_over_limit";
|
|
7730
|
+
knowledge_file_unreadable: "knowledge_file_unreadable";
|
|
7731
|
+
knowledge_file_missing: "knowledge_file_missing";
|
|
7732
|
+
knowledge_extraction_failed: "knowledge_extraction_failed";
|
|
7733
|
+
knowledge_file_format_unavailable: "knowledge_file_format_unavailable";
|
|
7734
|
+
knowledge_text_unreadable: "knowledge_text_unreadable";
|
|
7735
|
+
knowledge_text_empty: "knowledge_text_empty";
|
|
7736
|
+
knowledge_index_failed: "knowledge_index_failed";
|
|
7737
|
+
}>]>>;
|
|
7738
|
+
documentId: zod.ZodOptional<zod.ZodString>;
|
|
7739
|
+
originLink: zod.ZodOptional<zod.ZodString>;
|
|
7740
|
+
changedAt: zod.ZodString;
|
|
7741
|
+
}, zod_v4_core.$strict>>;
|
|
7742
|
+
nextCursor: zod.ZodOptional<zod.ZodString>;
|
|
7743
|
+
}, zod_v4_core.$strict>;
|
|
7744
|
+
};
|
|
7745
|
+
readonly rateClass: "read";
|
|
7746
|
+
readonly tag: "Knowledge Bases";
|
|
7747
|
+
readonly auth: "principal";
|
|
7748
|
+
readonly requires: readonly [];
|
|
7749
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT"];
|
|
7750
|
+
} & {
|
|
7751
|
+
readonly headers: {
|
|
7752
|
+
readonly response: readonly ["Operation-Run-Id"];
|
|
7753
|
+
};
|
|
7754
|
+
}>;
|
|
7755
|
+
readonly "knowledge_bases.locate": Operation<{
|
|
7756
|
+
readonly id: "knowledge_bases.locate";
|
|
7757
|
+
readonly method: "GET";
|
|
7758
|
+
readonly path: "/api/v1/knowledge-bases/:knowledgeBase/locate";
|
|
7759
|
+
readonly summary: "Locate a source item for erasure: state and lifecycle times without content, file name or path";
|
|
7760
|
+
readonly scope: "config_assets:read";
|
|
7761
|
+
readonly effect: "reading";
|
|
7762
|
+
readonly query: zod.ZodObject<{
|
|
7763
|
+
sourceItemId: zod.ZodString;
|
|
7764
|
+
}, zod_v4_core.$strict>;
|
|
7765
|
+
readonly response: {
|
|
7766
|
+
readonly kind: "json";
|
|
7767
|
+
readonly schema: zod.ZodObject<{
|
|
7768
|
+
sourceItemId: zod.ZodString;
|
|
7769
|
+
source: zod.ZodString;
|
|
7770
|
+
itemId: zod.ZodString;
|
|
7771
|
+
state: zod.ZodEnum<{
|
|
7772
|
+
failed: "failed";
|
|
7773
|
+
withdrawn: "withdrawn";
|
|
7774
|
+
indexed: "indexed";
|
|
7775
|
+
discovered: "discovered";
|
|
7776
|
+
fetched: "fetched";
|
|
7777
|
+
}>;
|
|
7778
|
+
discoveredAt: zod.ZodString;
|
|
7779
|
+
fetchedAt: zod.ZodOptional<zod.ZodString>;
|
|
7780
|
+
withdrawnAt: zod.ZodOptional<zod.ZodString>;
|
|
7781
|
+
purgedAt: zod.ZodOptional<zod.ZodString>;
|
|
7782
|
+
}, zod_v4_core.$strict>;
|
|
7783
|
+
};
|
|
7784
|
+
readonly rateClass: "read";
|
|
7785
|
+
readonly tag: "Knowledge Bases";
|
|
7786
|
+
readonly auth: "principal";
|
|
7787
|
+
readonly requires: readonly [];
|
|
7788
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT"];
|
|
7789
|
+
} & {
|
|
7790
|
+
readonly headers: {
|
|
7791
|
+
readonly response: readonly ["Operation-Run-Id"];
|
|
7792
|
+
};
|
|
7793
|
+
}>;
|
|
7366
7794
|
readonly "knowledge_bases.get": Operation<{
|
|
7367
7795
|
readonly id: "knowledge_bases.get";
|
|
7368
7796
|
readonly method: "GET";
|
|
@@ -7780,6 +8208,10 @@ declare const apiOperations: {
|
|
|
7780
8208
|
title: zod.ZodString;
|
|
7781
8209
|
format: zod.ZodString;
|
|
7782
8210
|
bytes: zod.ZodNumber;
|
|
8211
|
+
originalStatus: zod.ZodOptional<zod.ZodEnum<{
|
|
8212
|
+
available: "available";
|
|
8213
|
+
released: "released";
|
|
8214
|
+
}>>;
|
|
7783
8215
|
state: zod.ZodEnum<{
|
|
7784
8216
|
failed: "failed";
|
|
7785
8217
|
pending: "pending";
|
|
@@ -7964,24 +8396,50 @@ declare const apiOperations: {
|
|
|
7964
8396
|
readonly method: "POST";
|
|
7965
8397
|
readonly path: "/api/v1/knowledge-bases/:knowledgeBase/documents/retry";
|
|
7966
8398
|
readonly summary: "Index documents of a Knowledge Base again: a failed one goes back to pending, and its content is queued";
|
|
7967
|
-
readonly scope: "
|
|
8399
|
+
readonly scope: "config_assets:write";
|
|
7968
8400
|
readonly effect: "changing";
|
|
7969
|
-
readonly body: zod.ZodObject<{
|
|
8401
|
+
readonly body: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
7970
8402
|
documentIds: zod.ZodArray<zod.ZodString>;
|
|
7971
|
-
}, zod_v4_core.$strict
|
|
8403
|
+
}, zod_v4_core.$strict>, zod.ZodObject<{
|
|
8404
|
+
source: zod.ZodString;
|
|
8405
|
+
sourceItemIds: zod.ZodArray<zod.ZodString>;
|
|
8406
|
+
}, zod_v4_core.$strict>, zod.ZodObject<{
|
|
8407
|
+
source: zod.ZodString;
|
|
8408
|
+
failureCode: zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
8409
|
+
knowledge_file_format_unsupported: "knowledge_file_format_unsupported";
|
|
8410
|
+
knowledge_file_over_limit: "knowledge_file_over_limit";
|
|
8411
|
+
knowledge_source_unreachable: "knowledge_source_unreachable";
|
|
8412
|
+
knowledge_source_refused: "knowledge_source_refused";
|
|
8413
|
+
knowledge_fetch_failed: "knowledge_fetch_failed";
|
|
8414
|
+
knowledge_source_limit_reached: "knowledge_source_limit_reached";
|
|
8415
|
+
}>, zod.ZodEnum<{
|
|
8416
|
+
knowledge_file_format_unsupported: "knowledge_file_format_unsupported";
|
|
8417
|
+
knowledge_file_over_limit: "knowledge_file_over_limit";
|
|
8418
|
+
knowledge_file_unreadable: "knowledge_file_unreadable";
|
|
8419
|
+
knowledge_file_missing: "knowledge_file_missing";
|
|
8420
|
+
knowledge_extraction_failed: "knowledge_extraction_failed";
|
|
8421
|
+
knowledge_file_format_unavailable: "knowledge_file_format_unavailable";
|
|
8422
|
+
knowledge_text_unreadable: "knowledge_text_unreadable";
|
|
8423
|
+
knowledge_text_empty: "knowledge_text_empty";
|
|
8424
|
+
knowledge_index_failed: "knowledge_index_failed";
|
|
8425
|
+
}>]>;
|
|
8426
|
+
}, zod_v4_core.$strict>, zod.ZodObject<{
|
|
8427
|
+
source: zod.ZodString;
|
|
8428
|
+
all: zod.ZodLiteral<true>;
|
|
8429
|
+
}, zod_v4_core.$strict>]>;
|
|
7972
8430
|
readonly response: {
|
|
7973
8431
|
readonly kind: "json";
|
|
7974
8432
|
readonly schema: zod.ZodObject<{
|
|
7975
|
-
documents: zod.ZodArray<zod.ZodObject<{
|
|
8433
|
+
documents: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
7976
8434
|
id: zod.ZodString;
|
|
7977
8435
|
state: zod.ZodEnum<{
|
|
7978
8436
|
failed: "failed";
|
|
7979
8437
|
pending: "pending";
|
|
7980
8438
|
indexed: "indexed";
|
|
7981
8439
|
}>;
|
|
7982
|
-
}, zod_v4_core.$
|
|
8440
|
+
}, zod_v4_core.$strict>>>;
|
|
7983
8441
|
queued: zod.ZodNumber;
|
|
7984
|
-
}, zod_v4_core.$
|
|
8442
|
+
}, zod_v4_core.$strict>;
|
|
7985
8443
|
};
|
|
7986
8444
|
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "VALIDATION_FAILED", "TIMEOUT"];
|
|
7987
8445
|
readonly rateClass: "write";
|
|
@@ -8814,6 +9272,7 @@ declare const apiOperations: {
|
|
|
8814
9272
|
readonly effect: "changing";
|
|
8815
9273
|
readonly body: zod.ZodObject<{
|
|
8816
9274
|
input: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
|
|
9275
|
+
key: zod.ZodOptional<zod.ZodString>;
|
|
8817
9276
|
}, zod_v4_core.$strip>;
|
|
8818
9277
|
readonly response: {
|
|
8819
9278
|
readonly kind: "json";
|
|
@@ -8853,6 +9312,7 @@ declare const apiOperations: {
|
|
|
8853
9312
|
label: zod.ZodString;
|
|
8854
9313
|
}, zod_v4_core.$strip>;
|
|
8855
9314
|
scheduledFor: zod.ZodOptional<zod.ZodISODateTime>;
|
|
9315
|
+
runKey: zod.ZodOptional<zod.ZodString>;
|
|
8856
9316
|
operationRunId: zod.ZodOptional<zod.ZodString>;
|
|
8857
9317
|
parentRunId: zod.ZodOptional<zod.ZodString>;
|
|
8858
9318
|
parentStepRunId: zod.ZodOptional<zod.ZodString>;
|
|
@@ -8880,7 +9340,7 @@ declare const apiOperations: {
|
|
|
8880
9340
|
dataPrunedAt: zod.ZodOptional<zod.ZodISODateTime>;
|
|
8881
9341
|
}, zod_v4_core.$strip>;
|
|
8882
9342
|
};
|
|
8883
|
-
readonly errors: readonly ["NOT_FOUND", "CONFLICT"];
|
|
9343
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "VALIDATION_FAILED"];
|
|
8884
9344
|
readonly rateClass: "write";
|
|
8885
9345
|
} & {
|
|
8886
9346
|
readonly accepted: zod.ZodObject<{
|
|
@@ -9016,6 +9476,7 @@ declare const apiOperations: {
|
|
|
9016
9476
|
readonly effect: "changing";
|
|
9017
9477
|
readonly body: zod.ZodObject<{
|
|
9018
9478
|
input: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
|
|
9479
|
+
key: zod.ZodOptional<zod.ZodString>;
|
|
9019
9480
|
}, zod_v4_core.$strip>;
|
|
9020
9481
|
readonly response: {
|
|
9021
9482
|
readonly kind: "json";
|
|
@@ -9055,6 +9516,7 @@ declare const apiOperations: {
|
|
|
9055
9516
|
label: zod.ZodString;
|
|
9056
9517
|
}, zod_v4_core.$strip>;
|
|
9057
9518
|
scheduledFor: zod.ZodOptional<zod.ZodISODateTime>;
|
|
9519
|
+
runKey: zod.ZodOptional<zod.ZodString>;
|
|
9058
9520
|
operationRunId: zod.ZodOptional<zod.ZodString>;
|
|
9059
9521
|
parentRunId: zod.ZodOptional<zod.ZodString>;
|
|
9060
9522
|
parentStepRunId: zod.ZodOptional<zod.ZodString>;
|
|
@@ -9210,7 +9672,7 @@ declare const apiOperations: {
|
|
|
9210
9672
|
readonly id: "workflows.list_runs";
|
|
9211
9673
|
readonly method: "GET";
|
|
9212
9674
|
readonly path: "/api/v1/workflows/:workflow/runs";
|
|
9213
|
-
readonly summary: "List the runs of one Workflow with their status, newest first";
|
|
9675
|
+
readonly summary: "List the runs of one Workflow with their status, newest first: all of them, or those of one run key or key prefix";
|
|
9214
9676
|
readonly tag: "Workflows";
|
|
9215
9677
|
readonly auth: "principal";
|
|
9216
9678
|
readonly scope: "config_assets:read";
|
|
@@ -9219,6 +9681,8 @@ declare const apiOperations: {
|
|
|
9219
9681
|
readonly query: zod.ZodObject<{
|
|
9220
9682
|
limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
|
|
9221
9683
|
cursor: zod.ZodOptional<zod.ZodString>;
|
|
9684
|
+
key: zod.ZodOptional<zod.ZodString>;
|
|
9685
|
+
keyPrefix: zod.ZodOptional<zod.ZodString>;
|
|
9222
9686
|
}, zod_v4_core.$strip>;
|
|
9223
9687
|
readonly response: {
|
|
9224
9688
|
readonly kind: "page";
|
|
@@ -9259,6 +9723,7 @@ declare const apiOperations: {
|
|
|
9259
9723
|
label: zod.ZodString;
|
|
9260
9724
|
}, zod_v4_core.$strip>;
|
|
9261
9725
|
scheduledFor: zod.ZodOptional<zod.ZodISODateTime>;
|
|
9726
|
+
runKey: zod.ZodOptional<zod.ZodString>;
|
|
9262
9727
|
operationRunId: zod.ZodOptional<zod.ZodString>;
|
|
9263
9728
|
parentRunId: zod.ZodOptional<zod.ZodString>;
|
|
9264
9729
|
parentStepRunId: zod.ZodOptional<zod.ZodString>;
|
|
@@ -9290,7 +9755,7 @@ declare const apiOperations: {
|
|
|
9290
9755
|
readonly order: readonly string[];
|
|
9291
9756
|
readonly descending: boolean;
|
|
9292
9757
|
};
|
|
9293
|
-
readonly errors: readonly [];
|
|
9758
|
+
readonly errors: readonly ["VALIDATION_FAILED"];
|
|
9294
9759
|
readonly rateClass: "read";
|
|
9295
9760
|
} & {
|
|
9296
9761
|
readonly headers: {
|
|
@@ -9345,6 +9810,7 @@ declare const apiOperations: {
|
|
|
9345
9810
|
label: zod.ZodString;
|
|
9346
9811
|
}, zod_v4_core.$strip>;
|
|
9347
9812
|
scheduledFor: zod.ZodOptional<zod.ZodISODateTime>;
|
|
9813
|
+
runKey: zod.ZodOptional<zod.ZodString>;
|
|
9348
9814
|
operationRunId: zod.ZodOptional<zod.ZodString>;
|
|
9349
9815
|
parentRunId: zod.ZodOptional<zod.ZodString>;
|
|
9350
9816
|
parentStepRunId: zod.ZodOptional<zod.ZodString>;
|
|
@@ -9477,6 +9943,7 @@ declare const apiOperations: {
|
|
|
9477
9943
|
}>;
|
|
9478
9944
|
attempt: zod.ZodNumber;
|
|
9479
9945
|
operationRunId: zod.ZodOptional<zod.ZodString>;
|
|
9946
|
+
linkedRunId: zod.ZodOptional<zod.ZodString>;
|
|
9480
9947
|
error: zod.ZodOptional<zod.ZodObject<{
|
|
9481
9948
|
code: zod.ZodString;
|
|
9482
9949
|
message: zod.ZodString;
|
|
@@ -9551,6 +10018,7 @@ declare const apiOperations: {
|
|
|
9551
10018
|
label: zod.ZodString;
|
|
9552
10019
|
}, zod_v4_core.$strip>;
|
|
9553
10020
|
scheduledFor: zod.ZodOptional<zod.ZodISODateTime>;
|
|
10021
|
+
runKey: zod.ZodOptional<zod.ZodString>;
|
|
9554
10022
|
operationRunId: zod.ZodOptional<zod.ZodString>;
|
|
9555
10023
|
parentRunId: zod.ZodOptional<zod.ZodString>;
|
|
9556
10024
|
parentStepRunId: zod.ZodOptional<zod.ZodString>;
|
|
@@ -10870,6 +11338,8 @@ declare const apiOperations: {
|
|
|
10870
11338
|
config: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
|
|
10871
11339
|
author: zod.ZodObject<{
|
|
10872
11340
|
userId: zod.ZodOptional<zod.ZodString>;
|
|
11341
|
+
displayLabel: zod.ZodOptional<zod.ZodString>;
|
|
11342
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
10873
11343
|
conversationId: zod.ZodOptional<zod.ZodString>;
|
|
10874
11344
|
release: zod.ZodBoolean;
|
|
10875
11345
|
}, zod_v4_core.$strip>;
|
|
@@ -11219,6 +11689,7 @@ declare const apiOperations: {
|
|
|
11219
11689
|
baseRevision: zod.ZodNumber;
|
|
11220
11690
|
author: zod.ZodObject<{
|
|
11221
11691
|
userId: zod.ZodOptional<zod.ZodString>;
|
|
11692
|
+
displayLabel: zod.ZodOptional<zod.ZodString>;
|
|
11222
11693
|
conversationId: zod.ZodOptional<zod.ZodString>;
|
|
11223
11694
|
release: zod.ZodBoolean;
|
|
11224
11695
|
}, zod_v4_core.$strip>;
|
|
@@ -11719,6 +12190,7 @@ declare const apiOperations: {
|
|
|
11719
12190
|
readonly schema: zod.ZodObject<{
|
|
11720
12191
|
config: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
|
|
11721
12192
|
runsAs: zod.ZodOptional<zod.ZodString>;
|
|
12193
|
+
publishQuestion: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
11722
12194
|
contentRevision: zod.ZodOptional<zod.ZodNumber>;
|
|
11723
12195
|
files: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
11724
12196
|
path: zod.ZodString;
|
|
@@ -11760,12 +12232,18 @@ declare const apiOperations: {
|
|
|
11760
12232
|
reason: zod.ZodLiteral<"unknown_model">;
|
|
11761
12233
|
}, zod_v4_core.$strip>>>;
|
|
11762
12234
|
chatAvailable: zod.ZodOptional<zod.ZodBoolean>;
|
|
12235
|
+
allowed: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
12236
|
+
delete: "delete";
|
|
12237
|
+
write: "write";
|
|
12238
|
+
publish: "publish";
|
|
12239
|
+
}>>>;
|
|
11763
12240
|
updatedAt: zod.ZodISODateTime;
|
|
11764
12241
|
agentDraft: zod.ZodOptional<zod.ZodObject<{
|
|
11765
12242
|
revision: zod.ZodNumber;
|
|
11766
12243
|
baseRevision: zod.ZodNumber;
|
|
11767
12244
|
author: zod.ZodObject<{
|
|
11768
12245
|
userId: zod.ZodOptional<zod.ZodString>;
|
|
12246
|
+
displayLabel: zod.ZodOptional<zod.ZodString>;
|
|
11769
12247
|
conversationId: zod.ZodOptional<zod.ZodString>;
|
|
11770
12248
|
release: zod.ZodBoolean;
|
|
11771
12249
|
}, zod_v4_core.$strip>;
|
|
@@ -22252,11 +22730,15 @@ declare const agentDraftSchema: z.ZodObject<{
|
|
|
22252
22730
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
22253
22731
|
author: z.ZodObject<{
|
|
22254
22732
|
userId: z.ZodOptional<z.ZodString>;
|
|
22733
|
+
displayLabel: z.ZodOptional<z.ZodString>;
|
|
22734
|
+
name: z.ZodOptional<z.ZodString>;
|
|
22255
22735
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
22256
22736
|
release: z.ZodBoolean;
|
|
22257
22737
|
}, z.core.$strip>;
|
|
22258
22738
|
updatedAt: z.ZodISODateTime;
|
|
22259
22739
|
}, z.core.$strip>;
|
|
22740
|
+
/** The agent's one draft as `agents.draft.get` answers it to a holder of its write right. */
|
|
22741
|
+
type AgentDraft = z.infer<typeof agentDraftSchema>;
|
|
22260
22742
|
declare const agentDraftResponseSchema: z.ZodObject<{
|
|
22261
22743
|
draft: z.ZodNullable<z.ZodObject<{
|
|
22262
22744
|
agent: z.ZodString;
|
|
@@ -22267,6 +22749,8 @@ declare const agentDraftResponseSchema: z.ZodObject<{
|
|
|
22267
22749
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
22268
22750
|
author: z.ZodObject<{
|
|
22269
22751
|
userId: z.ZodOptional<z.ZodString>;
|
|
22752
|
+
displayLabel: z.ZodOptional<z.ZodString>;
|
|
22753
|
+
name: z.ZodOptional<z.ZodString>;
|
|
22270
22754
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
22271
22755
|
release: z.ZodBoolean;
|
|
22272
22756
|
}, z.core.$strip>;
|
|
@@ -22875,6 +23359,7 @@ declare const agentDraftSummarySchema: z.ZodObject<{
|
|
|
22875
23359
|
baseRevision: z.ZodNumber;
|
|
22876
23360
|
author: z.ZodObject<{
|
|
22877
23361
|
userId: z.ZodOptional<z.ZodString>;
|
|
23362
|
+
displayLabel: z.ZodOptional<z.ZodString>;
|
|
22878
23363
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
22879
23364
|
release: z.ZodBoolean;
|
|
22880
23365
|
}, z.core.$strip>;
|
|
@@ -22890,6 +23375,7 @@ declare const assetSummarySchema: z.ZodObject<{
|
|
|
22890
23375
|
baseRevision: z.ZodNumber;
|
|
22891
23376
|
author: z.ZodObject<{
|
|
22892
23377
|
userId: z.ZodOptional<z.ZodString>;
|
|
23378
|
+
displayLabel: z.ZodOptional<z.ZodString>;
|
|
22893
23379
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
22894
23380
|
release: z.ZodBoolean;
|
|
22895
23381
|
}, z.core.$strip>;
|
|
@@ -22924,9 +23410,16 @@ declare const assetFileSchema: z.ZodObject<{
|
|
|
22924
23410
|
text: z.ZodOptional<z.ZodString>;
|
|
22925
23411
|
base64: z.ZodOptional<z.ZodString>;
|
|
22926
23412
|
}, z.core.$strip>;
|
|
23413
|
+
/** What a caller may do to an asset beyond reading it. */
|
|
23414
|
+
declare const assetVerbSchema: z.ZodEnum<{
|
|
23415
|
+
delete: "delete";
|
|
23416
|
+
write: "write";
|
|
23417
|
+
publish: "publish";
|
|
23418
|
+
}>;
|
|
22927
23419
|
declare const assetSchema: z.ZodObject<{
|
|
22928
23420
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
22929
23421
|
runsAs: z.ZodOptional<z.ZodString>;
|
|
23422
|
+
publishQuestion: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22930
23423
|
contentRevision: z.ZodOptional<z.ZodNumber>;
|
|
22931
23424
|
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22932
23425
|
path: z.ZodString;
|
|
@@ -22968,12 +23461,18 @@ declare const assetSchema: z.ZodObject<{
|
|
|
22968
23461
|
reason: z.ZodLiteral<"unknown_model">;
|
|
22969
23462
|
}, z.core.$strip>>>;
|
|
22970
23463
|
chatAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
23464
|
+
allowed: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
23465
|
+
delete: "delete";
|
|
23466
|
+
write: "write";
|
|
23467
|
+
publish: "publish";
|
|
23468
|
+
}>>>;
|
|
22971
23469
|
updatedAt: z.ZodISODateTime;
|
|
22972
23470
|
agentDraft: z.ZodOptional<z.ZodObject<{
|
|
22973
23471
|
revision: z.ZodNumber;
|
|
22974
23472
|
baseRevision: z.ZodNumber;
|
|
22975
23473
|
author: z.ZodObject<{
|
|
22976
23474
|
userId: z.ZodOptional<z.ZodString>;
|
|
23475
|
+
displayLabel: z.ZodOptional<z.ZodString>;
|
|
22977
23476
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
22978
23477
|
release: z.ZodBoolean;
|
|
22979
23478
|
}, z.core.$strip>;
|
|
@@ -29217,4 +29716,4 @@ declare const listWorkspaceFilesQuerySchema: z.ZodObject<{
|
|
|
29217
29716
|
}>>;
|
|
29218
29717
|
}, z.core.$strip>;
|
|
29219
29718
|
|
|
29220
|
-
export { API_ERROR_MEANINGS, API_VERSION_PREFIX, APP_ASSET_KIND, APP_BRIDGE_CONNECTION_CALL_REMOVED, APP_BRIDGE_MARK, APP_BRIDGE_MAX_HEIGHT_PX, APP_BRIDGE_MAX_PATH_CHARS, APP_BRIDGE_NAME_MAX_CHARS, APP_BRIDGE_REQUEST_ID_MAX_CHARS, APP_BRIDGE_VERSION, ASSET_GET_FILES_MAX_BYTES, ASSET_PUT_FILES_MAX_BYTES, ASSET_RELEASE_SYNC_MAX_ITEMS, ASSET_SYNC_BODY_MAX_BYTES, ASSET_SYNC_ITEM_MAX_BYTES, ASSET_SYNC_MAX_ITEMS, type ActiveRunSummary, type AdministeredCollaborationWorkspace, type AdministeredUser, type AdministeredUserIdentity, type AgentAvailability, type AgentRun, type AgentRunProjection, type AgentRuntimeEvent, type AgentRuntimeMessageMetadata, type AgentToolReference, type ApiCredential, type ApiCredentialScope, type ApiErrorCode, type ApiErrorResponse, type ApiOperationCatalog, type ApiOperationName, type ApiReference, type ApiReferenceColors, type ApiReferenceOptions, type ApiReferencePageOptions, type ApiUser, type AppAction, type AppActionCallResult, type AppActionPermission, type AppActionUnavailable, type AppActions, type AppBridgeContext, type AppBridgeHostMessage, type AppBridgePageMessage, type AppFromPageResponse, type AppMode, type AppPreviewResponse, type AppSessionContextResponse, type AppWorkflowRun, type ApprovalRequest, type ApprovalRequestStatus, type ApprovalRequestView, type ArtifactPreviewResponse, type Asset, type AssetRevisionConflict, type AssetScope, type AssetSummary, type AssetSyncItem, type AssetSyncRefusedItem, type AssistantFinalMessageMetadata, type AssistantToolCallsMessageMetadata, type AuditActivity, type AuditActivityActor, type AuditActivityTarget, type AuditActor, type AuditEvent, type AuthPrincipal, type AuthScope, BODY_TOO_LARGE_REASON, type BuildApiPathOptions, COMMON_OPERATION_ERRORS, CONNECTION_OPERATION_DESCRIPTION_MAX_CHARS, type CancelRunRequest, type CancelRunResponse, type CapturedMail, type ChangeCurrentUserPasswordRequest, type ChatSessionAuthScope, type ClientBranding, type CollaborationWorkspace, type CollaborationWorkspaceAgents, type CollaborationWorkspaceDeletionImpact, type CollaborationWorkspaceDirectoryItem, type CollaborationWorkspaceWithRole, type ConfigAssetKind, type ConfigAssetReferences, type ConfigAssetRevision, type ConfigAssetSummary, type ConfigAssetsOverview, type ConfirmConnectCodeRequest, type ConnectCode, type ConnectionDetail, type ConnectionDiscoveredTool, type ConnectionOAuthStart, type ConnectionOperationDetail, type ConnectionSecretState, type ConnectionTestResult, type ConnectionTools, type Conversation, type ConversationFollowUp, type ConversationListItem, type ConversationResourceBase, type ConversationResourceListItem, type ConversationResourceListResponse, type ConversationThreadSnapshot, type ConversationUserState, type ConversationVisibility, type CreateAdministeredUserRequest, type CreateApiCredentialRequest, type CreateApiCredentialResponse, type CreateConversationRunRequest, type CreateNamespaceRequest, type CreatePermissionGrantRequest, type CreatePersonalApiKeyRequest, type CreatePersonalApiKeyResponse, type CreateServicePrincipalRequest, DEFAULT_LIST_LIMIT, type DelegatedActor, type DraftAttachment, type DraftAttachmentUploadResponse, type DryRunGuardrailResponse, type EffectivePermissions, FILE_SET_MAX_FILES, GUARDRAIL_DRY_RUN_DAYS, GUARDRAIL_DRY_RUN_JUDGE_MAX, GUARDRAIL_DRY_RUN_PATTERN_MAX, GUARDRAIL_HITS_LIMIT, type GuardrailHitView, type GuardrailHits, type Health, INFRASTRUCTURE_CHECK_ERROR_CLASSES, INVALID_JSON_BODY_REASON, type Infrastructure, type InfrastructureCheck, type InfrastructureClass, type InfrastructureOrigin, type InfrastructureProvider, type InfrastructureSecret, type InstanceModule, type Job, type JobKindSummary, type JobStatus, LIVE_ONCE_PART_MAX_LENGTH, type LocaleCode, MAX_LIST_LIMIT, type Message, type MessageMetadata, type ModelUsageBillableCost, type ModelUsageBillableCostSummary, type ModelUsageDailyBucket, type ModelUsageEvent, type ModelUsageMonthlyBucket, type ModelUsageVolumeEvent, NAMESPACE_ALLOWLIST_MAX_ENTRIES, type NamespaceWithUsage, OPERATION_HEADERS, type OpenApiDocument, type OpenApiJsonSchema, type OpenApiOperation, type OpenApiResponse, type OpenConversationSubjectRequest, type Operation, type OperationAuth, type OperationConfig, type OperationMethod, type OperationPathParamName, type OperationQuerySchema, type OperationRateClass, type OperationRequestHeader, type OperationResponse, type OperationResponseHeader, type OperationRunResource, PUBLISHED_CLI_VERSION, type PageDetailResponse, type PageFileSetResponse, type PagePreviewResponse, type PageResponse, type PageSourceFileEntryResponse, type PageSourceFileListResponse, type PageSourceFileResponse, type PermissionGrantRow, type PersonalApiKey, type PlatformContext, RELEASE_VERSION, type Readiness, type RedeemConnectCodeResponse, type ReleasedDocument, type RenameConversationRequest, type ResetAdministeredUserPasswordRequest, type RunCommand, type RunCommandRequest, type RunCommandResponse, type RunObservation, type SafeConfig, type ServicePrincipal, type ServicePrincipalDetail, type ServicePrincipalPermission, type ShippedGuardrailView, type StartConnectCodeResponse, type StartConversationRunRequest, type StartConversationRunResponse, type StartWorkflowRunRequest, type StructuredDataResourceResponse, type SubagentSummary, type TestGuardrailRequest, type TestGuardrailResponse, type ToolGroupName, type ToolResultMessageMetadata, UNKNOWN_OPERATION_REASON, type UpdateAdministeredUserRequest, type UpdateCurrentUserRequest, type UpdateNamespaceRequest, type UpdateServicePrincipalRequest, type UpsertAdministeredUserIdentityRequest, type UsageSummary, type UserDeletionState, type UserMessageMetadata, type UserModelPreference, VIEW_RUNTIME, VIEW_SHELL, VIEW_SHELL_MESSAGES, WORKFLOW_RUN_OUTPUT_PREVIEW_MAX_CHARS, type WorkflowRunResource, type WorkflowStepRunResource, type WorkflowSummaryResource, type WorkspaceAccessRequestItem, type WorkspaceMember, type WorkspaceMemberCandidate, type WorkspaceMembershipRole, activeRunSummarySchema, addWorkspaceMemberRequestSchema, administeredCollaborationWorkspaceSchema, administeredUserIdentitySchema, administeredUserPasswordSignInRequestSchema, administeredUserSchema, administeredUserStatusSchema, agentAvailabilitySchema, agentDraftResponseSchema, agentDraftSchema, agentDraftSummarySchema, agentEditableFieldSchema, agentRunErrorSchema, agentRunProjectionPartSchema, agentRunProjectionSchema, agentRunSchema, agentRunStatusSchema, agentRuntimeEventSchema, agentRuntimeMessageMetadataSchema, agentToolReferenceSchema, agentTryConversationResponseSchema, apiCredentialSchema, apiCredentialScopeSchema, apiErrorResponseSchema, apiOperations, apiUserSchema, appActionCallRequestSchema, appActionCallResultSchema, appActionPermissionSchema, appActionSchema, appActionUnavailableSchema, appActionsListQuerySchema, appActionsSchema, appBridgeContextSchema, appBridgeHostMessageSchema, appBridgeModeSchema, appBridgePageMessageSchema, appBridgeThemeSchema, appErrorCodeSchema, appFromPageQuerySchema, appFromPageSchema, appInterfacePath, appModeSchema, appPreviewRequestSchema, appPreviewSchema, appSessionContextRequestSchema, appSessionContextSchema, appSqlActionUnavailableSchema, appWorkflowActionUnavailableSchema, appWorkflowRunSchema, approvalCheckResultSchema, approvalDecisionMessageMetadataSchema, approvalRequestSchema, approvalRequestStatusSchema, approvalRequestViewSchema, artifactPreviewFailedResponseSchema, artifactPreviewImagePageSchema, artifactPreviewPendingResponseSchema, artifactPreviewReadyResponseSchema, artifactPreviewResponseSchema, artifactPreviewUnsupportedResponseSchema, assetFileEntrySchema, assetFileInputSchema, assetFileSchema, assetPointersResponseSchema, assetPreconditionRequiredDetailsSchema, assetRevisionConflictDetailsSchema, assetRevisionConflictSchema, assetRevisionSelectorSchema, assetSchema, assetScopeQuerySchema, assetScopeSchema, assetSummarySchema, assetSyncAppliedItemSchema, assetSyncItemSchema, assetSyncRefusedItemSchema, assetValidationIssueSchema, assetWarningSchema, assetWriteResponseSchema, assistantFinalMessageMetadataSchema, assistantToolCallsMessageMetadataSchema, auditActivityActorSchema, auditActivitySchema, auditActivityTargetSchema, auditActorSchema, auditEventSchema, authPrincipalSchema, authScopeSchema, blob, buildApiPath, cancelRunRequestSchema, cancelRunResponseSchema, capturedMailSchema, changeCurrentUserPasswordRequestSchema, changeCurrentUserPasswordResponseSchema, chatSessionAuthScopeSchema, checkAssetNameRequestSchema, checkAssetNameResponseSchema, checkAssetSyncResponseSchema, clientBrandingSchema, collaborationWorkspaceAgentsSchema, collaborationWorkspaceDeletionImpactSchema, collaborationWorkspaceDeletionStateSchema, collaborationWorkspaceDirectoryItemSchema, collaborationWorkspaceSchema, collaborationWorkspaceWithRoleSchema, completePasswordSetupRequestSchema, completePasswordSetupResponseSchema, configAssetConfigSchema, configAssetKindSchema, configAssetReferencesSchema, configAssetRevisionSchema, configAssetSummarySchema, configAssetsOverviewSchema, confirmConnectCodeRequestSchema, connectCodeSchema, connectionDetailSchema, connectionDisconnectSchema, connectionNameParamsSchema, connectionOAuthStartSchema, connectionOperationDetailSchema, connectionOperationStatusSchema, connectionOperations, connectionSecretStateSchema, connectionTestResultSchema, connectionToolSchema, connectionToolsSchema, conversationFollowUpSchema, conversationListItemSchema, conversationResourceBaseSchema, conversationResourceListItemSchema, conversationResourceListResponseSchema, conversationSchema, conversationSubjectSchema, conversationThreadSnapshotSchema, conversationUserStateSchema, conversationVisibilitySchema, createAdministeredUserRequestSchema, createApiCredentialRequestSchema, createApiCredentialResponseSchema, createAppFromPageRequestSchema, createAppFromPageResponseSchema, createCollaborationWorkspaceRequestSchema, createConversationRequestSchema, createConversationRunRequestSchema, createNamespaceRequestSchema, createOpenApiDocument, createOpenApiDocumentFromOperations, createPermissionGrantRequestSchema, createPersonalApiKeyRequestSchema, createPersonalApiKeyResponseSchema, createServicePrincipalRequestSchema, decideApprovalRequestSchema, defineOperation, defineRegisteredOperation, delegatedActorSchema, deleteAssetRequestSchema, deleteCollaborationWorkspaceRequestSchema, deleteCurrentUserResponseSchema, describeApiReference, discardAgentDraftRequestSchema, discardAgentDraftResponseSchema, discardAssetDraftRequestSchema, draftAttachmentSchema, draftAttachmentStatusSchema, draftAttachmentUploadResponseSchema, dryRunGuardrailRequestSchema, dryRunGuardrailResponseSchema, effectivePermissionsQuerySchema, effectivePermissionsSchema, exchangeApiKeyResponseSchema, findBreakingChanges, getAssetQuerySchema, grantEffectSchema, grantHolderKindSchema, grantScopeKindSchema, guardrailHitCountsSchema, guardrailHitSchema, guardrailHitsSchema, guardrailOperations, healthSchema, infrastructureCheckSchema, infrastructureClassSchema, infrastructureOriginSchema, infrastructureProviderSchema, infrastructureSchema, infrastructureSecretSchema, instanceModuleSchema, isRegisteredOperation, isUnknownOperationResponse, issueSessionTokenRequestSchema, issueSessionTokenResponseSchema, jobKindSummarySchema, jobSchema, jobStatusListSchema, jobStatusSchema, json, listApprovalRequestsQuerySchema, listAssetsQuerySchema, listEnvelopeSchema, listLiveOnceQuerySchema, listPermissionGrantsQuerySchema, listQuerySchema, listWorkflowStepRunsQuerySchema, listWorkspaceFilesQuerySchema, liveOnceListSchema, localeCodeSchema, localizationSchema, messageCitationSchema, messageMetadataSchema, messageMetadataVersionSchema, messageSchema, modelRegionSchema, modelUsageAttributionGroupSchema, modelUsageBillableCostSchema, modelUsageBillableCostSummarySchema, modelUsageDailyBucketSchema, modelUsageEventSchema, modelUsageMonthlyBucketSchema, modelUsageTierSchema, modelUsageVolumeEventSchema, modelUsageVolumeWindowSummarySchema, modelUsageWindowSummarySchema, moveConversationRequestSchema, namespacePrefixSchema, namespaceSchema, namespaceUsageSchema, notReadySchema, openApiDocumentSchema, openConversationSubjectRequestSchema, operationPathParamNames, operationRunOriginSchema, operationRunSchema, operationRunStatusSchema, operationTargetSchema, page, pageDetailSchema, pageFileSetSchema, pagePreviewRequestSchema, pagePreviewSchema, pageSchema, pageSourceFileEntrySchema, pageSourceFileListSchema, pageSourceFileQuerySchema, pageSourceFileSchema, parseJobStatusList, pendingApprovalRequestCountSchema, permissionGrantSchema, personalApiKeySchema, personalApiKeyScopeSchema, platformAssetKindSchema, platformContextNamespaceSchema, platformContextSchema, platformContextWorkspaceSchema, probe, publishAssetRequestSchema, putAssetRequestSchema, queuedConversationRunResponseSchema, rateLimitedDetailsSchema, readinessSchema, readySchema, reasoningEffortSchema, redeemConnectCodeRequestSchema, redeemConnectCodeResponseSchema, redirect, redirectAnswerSchema, renameConversationRequestSchema, renderApiReferencePage, requestPasswordResetRequestSchema, requestPasswordResetResponseSchema, resetAdministeredUserPasswordRequestSchema, resetAdministeredUserPasswordResponseSchema, revertAssetRequestSchema, runCommandRequestSchema, runCommandResponseSchema, runCommandSchema, runLiveOnceRequestSchema, runLiveOnceResponseSchema, runObservationSchema, safeConfigSchema, selectContractBaseline, sendAdministeredUserInvitationResponseSchema, servicePrincipalDetailSchema, servicePrincipalPermissionSchema, servicePrincipalSchema, servicePrincipalStatusSchema, sessionTokenDelegatedActorSchema, setAssetAvailabilityRequestSchema, setAssetDefaultRequestSchema, setAssetDefaultResponseSchema, shippedGuardrailSchema, shippedGuardrailsSchema, sse, startConnectCodeRequestSchema, startConnectCodeResponseSchema, startConversationRunRequestSchema, startConversationRunResponseSchema, startWorkflowRunRequestSchema, storedModelContextSnapshotSchema, storedReasoningSummarySchema, storedToolCallSchema, structuredDataResourceResponseSchema, subagentListSchema, subagentSummarySchema, switchShippedGuardrailRequestSchema, syncAssetsRequestSchema, syncAssetsResponseSchema, testGuardrailRequestSchema, testGuardrailResponseSchema, timestampSchema, toolDecisionModeSchema, toolGroupSchema, toolResultMessageMetadataSchema, unavailableModelSchema, unavailableSkillSchema, unavailableToolSchema, unknownRunObservationSchema, unpublishGuardrailResponseSchema, updateAdministeredUserRequestSchema, updateAppFromPageRequestSchema, updateCollaborationWorkspaceRequestSchema, updateCurrentUserRequestSchema, updateNamespaceRequestSchema, updateServicePrincipalRequestSchema, updateWorkspaceMemberRoleRequestSchema, upsertAdministeredUserIdentityRequestSchema, usageSafeguardsSchema, usageSpendBudgetSchema, usageSummarySchema, userDeletionStateSchema, userMessageMetadataSchema, userModelPreferenceSchema, userStatusSchema, validateAssetRequestSchema, validateAssetResponseSchema, webSourceSchema, workflowOperations, workflowRunSchema, workflowStartIssueSchema, workflowStepRunSchema, workflowSummarySchema, workspaceAccentColorSchema, workspaceAccessRequestItemSchema, workspaceAccessRequestSchema, workspaceFileSchema, workspaceMemberCandidateSchema, workspaceMemberSchema, workspaceMembershipRoleSchema, workspaceMembershipSchema, workspaceVisibilitySchema };
|
|
29719
|
+
export { API_ERROR_MEANINGS, API_VERSION_PREFIX, APP_ASSET_KIND, APP_BRIDGE_CONNECTION_CALL_REMOVED, APP_BRIDGE_MARK, APP_BRIDGE_MAX_HEIGHT_PX, APP_BRIDGE_MAX_PATH_CHARS, APP_BRIDGE_NAME_MAX_CHARS, APP_BRIDGE_REQUEST_ID_MAX_CHARS, APP_BRIDGE_VERSION, ASSET_GET_FILES_MAX_BYTES, ASSET_PUT_FILES_MAX_BYTES, ASSET_RELEASE_SYNC_MAX_ITEMS, ASSET_SYNC_BODY_MAX_BYTES, ASSET_SYNC_ITEM_MAX_BYTES, ASSET_SYNC_MAX_ITEMS, type ActiveRunSummary, type AdministeredCollaborationWorkspace, type AdministeredUser, type AdministeredUserIdentity, type AgentAvailability, type AgentDraft, type AgentRun, type AgentRunProjection, type AgentRuntimeEvent, type AgentRuntimeMessageMetadata, type AgentToolReference, type ApiCredential, type ApiCredentialScope, type ApiErrorCode, type ApiErrorResponse, type ApiOperationCatalog, type ApiOperationName, type ApiReference, type ApiReferenceColors, type ApiReferenceOptions, type ApiReferencePageOptions, type ApiUser, type AppAction, type AppActionCallResult, type AppActionPermission, type AppActionUnavailable, type AppActions, type AppBridgeContext, type AppBridgeHostMessage, type AppBridgePageMessage, type AppFromPageResponse, type AppMode, type AppPreviewResponse, type AppSessionContextResponse, type AppWorkflowRun, type ApprovalRequest, type ApprovalRequestStatus, type ApprovalRequestView, type ArtifactPreviewResponse, type Asset, type AssetRevisionConflict, type AssetScope, type AssetSummary, type AssetSyncItem, type AssetSyncRefusedItem, type AssistantFinalMessageMetadata, type AssistantToolCallsMessageMetadata, type AuditActivity, type AuditActivityActor, type AuditActivityTarget, type AuditActor, type AuditEvent, type AuthPrincipal, type AuthScope, BODY_TOO_LARGE_REASON, type BuildApiPathOptions, COMMON_OPERATION_ERRORS, CONNECTION_OPERATION_DESCRIPTION_MAX_CHARS, type CancelRunRequest, type CancelRunResponse, type CapturedMail, type ChangeCurrentUserPasswordRequest, type ChatSessionAuthScope, type ClientBranding, type CollaborationWorkspace, type CollaborationWorkspaceAgents, type CollaborationWorkspaceDeletionImpact, type CollaborationWorkspaceDirectoryItem, type CollaborationWorkspaceWithRole, type ConfigAssetKind, type ConfigAssetReferences, type ConfigAssetRevision, type ConfigAssetSummary, type ConfigAssetsOverview, type ConfirmConnectCodeRequest, type ConnectCode, type ConnectionDetail, type ConnectionDiscoveredTool, type ConnectionOAuthStart, type ConnectionOperationDetail, type ConnectionSecretState, type ConnectionTestResult, type ConnectionTools, type Conversation, type ConversationFollowUp, type ConversationListItem, type ConversationResourceBase, type ConversationResourceListItem, type ConversationResourceListResponse, type ConversationThreadSnapshot, type ConversationUserState, type ConversationVisibility, type CreateAdministeredUserRequest, type CreateApiCredentialRequest, type CreateApiCredentialResponse, type CreateConversationRunRequest, type CreateNamespaceRequest, type CreatePermissionGrantRequest, type CreatePersonalApiKeyRequest, type CreatePersonalApiKeyResponse, type CreateServicePrincipalRequest, DEFAULT_LIST_LIMIT, type DelegatedActor, type DraftAttachment, type DraftAttachmentUploadResponse, type DryRunGuardrailResponse, type EffectivePermissions, FILE_SET_MAX_FILES, GUARDRAIL_DRY_RUN_DAYS, GUARDRAIL_DRY_RUN_JUDGE_MAX, GUARDRAIL_DRY_RUN_PATTERN_MAX, GUARDRAIL_HITS_LIMIT, type GuardrailHitView, type GuardrailHits, type Health, INFRASTRUCTURE_CHECK_ERROR_CLASSES, INVALID_JSON_BODY_REASON, type Infrastructure, type InfrastructureCheck, type InfrastructureClass, type InfrastructureOrigin, type InfrastructureProvider, type InfrastructureSecret, type InstanceModule, type Job, type JobKindSummary, type JobStatus, LIVE_ONCE_PART_MAX_LENGTH, type LocaleCode, MAX_LIST_LIMIT, type Message, type MessageMetadata, type ModelUsageBillableCost, type ModelUsageBillableCostSummary, type ModelUsageDailyBucket, type ModelUsageEvent, type ModelUsageMonthlyBucket, type ModelUsageVolumeEvent, NAMESPACE_ALLOWLIST_MAX_ENTRIES, type NamespaceWithUsage, OPERATION_HEADERS, type OpenApiDocument, type OpenApiJsonSchema, type OpenApiOperation, type OpenApiResponse, type OpenConversationSubjectRequest, type Operation, type OperationAuth, type OperationConfig, type OperationMethod, type OperationPathParamName, type OperationQuerySchema, type OperationRateClass, type OperationRequestHeader, type OperationResponse, type OperationResponseHeader, type OperationRunResource, PUBLISHED_CLI_VERSION, type PageDetailResponse, type PageFileSetResponse, type PagePreviewResponse, type PageResponse, type PageSourceFileEntryResponse, type PageSourceFileListResponse, type PageSourceFileResponse, type PermissionGrantRow, type PersonalApiKey, type PlatformContext, RELEASE_VERSION, type Readiness, type RedeemConnectCodeResponse, type ReleasedDocument, type RenameConversationRequest, type ResetAdministeredUserPasswordRequest, type RunCommand, type RunCommandRequest, type RunCommandResponse, type RunObservation, type SafeConfig, type ServicePrincipal, type ServicePrincipalDetail, type ServicePrincipalPermission, type ShippedGuardrailView, type StartConnectCodeResponse, type StartConversationRunRequest, type StartConversationRunResponse, type StartWorkflowRunRequest, type StructuredDataResourceResponse, type SubagentSummary, type TestGuardrailRequest, type TestGuardrailResponse, type ToolGroupName, type ToolResultMessageMetadata, UNKNOWN_OPERATION_REASON, type UpdateAdministeredUserRequest, type UpdateCurrentUserRequest, type UpdateNamespaceRequest, type UpdateServicePrincipalRequest, type UpsertAdministeredUserIdentityRequest, type UsageSummary, type UserDeletionState, type UserMessageMetadata, type UserModelPreference, VIEW_RUNTIME, VIEW_SHELL, VIEW_SHELL_MESSAGES, WORKFLOW_RUN_KEY_MAX_CHARS, WORKFLOW_RUN_OUTPUT_PREVIEW_MAX_CHARS, type WorkflowRunResource, type WorkflowStepRunResource, type WorkflowSummaryResource, type WorkspaceAccessRequestItem, type WorkspaceMember, type WorkspaceMemberCandidate, type WorkspaceMembershipRole, activeRunSummarySchema, addWorkspaceMemberRequestSchema, administeredCollaborationWorkspaceSchema, administeredUserIdentitySchema, administeredUserPasswordSignInRequestSchema, administeredUserSchema, administeredUserStatusSchema, agentAvailabilitySchema, agentDraftResponseSchema, agentDraftSchema, agentDraftSummarySchema, agentEditableFieldSchema, agentRunErrorSchema, agentRunProjectionPartSchema, agentRunProjectionSchema, agentRunSchema, agentRunStatusSchema, agentRuntimeEventSchema, agentRuntimeMessageMetadataSchema, agentToolReferenceSchema, agentTryConversationResponseSchema, apiCredentialSchema, apiCredentialScopeSchema, apiErrorResponseSchema, apiOperations, apiUserSchema, appActionCallRequestSchema, appActionCallResultSchema, appActionPermissionSchema, appActionSchema, appActionUnavailableSchema, appActionsListQuerySchema, appActionsSchema, appBridgeContextSchema, appBridgeHostMessageSchema, appBridgeModeSchema, appBridgePageMessageSchema, appBridgeThemeSchema, appErrorCodeSchema, appFromPageQuerySchema, appFromPageSchema, appInterfacePath, appModeSchema, appPreviewRequestSchema, appPreviewSchema, appSessionContextRequestSchema, appSessionContextSchema, appSqlActionUnavailableSchema, appWorkflowActionUnavailableSchema, appWorkflowRunSchema, approvalCheckResultSchema, approvalDecisionMessageMetadataSchema, approvalRequestSchema, approvalRequestStatusSchema, approvalRequestViewSchema, artifactPreviewFailedResponseSchema, artifactPreviewImagePageSchema, artifactPreviewPendingResponseSchema, artifactPreviewReadyResponseSchema, artifactPreviewResponseSchema, artifactPreviewUnsupportedResponseSchema, assetFileEntrySchema, assetFileInputSchema, assetFileSchema, assetPointersResponseSchema, assetPreconditionRequiredDetailsSchema, assetRevisionConflictDetailsSchema, assetRevisionConflictSchema, assetRevisionSelectorSchema, assetSchema, assetScopeQuerySchema, assetScopeSchema, assetSummarySchema, assetSyncAppliedItemSchema, assetSyncItemSchema, assetSyncRefusedItemSchema, assetValidationIssueSchema, assetVerbSchema, assetWarningSchema, assetWriteResponseSchema, assistantFinalMessageMetadataSchema, assistantToolCallsMessageMetadataSchema, auditActivityActorSchema, auditActivitySchema, auditActivityTargetSchema, auditActorSchema, auditEventSchema, authPrincipalSchema, authScopeSchema, blob, buildApiPath, cancelRunRequestSchema, cancelRunResponseSchema, capturedMailSchema, changeCurrentUserPasswordRequestSchema, changeCurrentUserPasswordResponseSchema, chatSessionAuthScopeSchema, checkAssetNameRequestSchema, checkAssetNameResponseSchema, checkAssetSyncResponseSchema, clientBrandingSchema, collaborationWorkspaceAgentsSchema, collaborationWorkspaceDeletionImpactSchema, collaborationWorkspaceDeletionStateSchema, collaborationWorkspaceDirectoryItemSchema, collaborationWorkspaceSchema, collaborationWorkspaceWithRoleSchema, completePasswordSetupRequestSchema, completePasswordSetupResponseSchema, configAssetConfigSchema, configAssetKindSchema, configAssetReferencesSchema, configAssetRevisionSchema, configAssetSummarySchema, configAssetsOverviewSchema, confirmConnectCodeRequestSchema, connectCodeSchema, connectionDetailSchema, connectionDisconnectSchema, connectionNameParamsSchema, connectionOAuthStartSchema, connectionOperationDetailSchema, connectionOperationStatusSchema, connectionOperations, connectionSecretStateSchema, connectionTestResultSchema, connectionToolSchema, connectionToolsSchema, conversationFollowUpSchema, conversationListItemSchema, conversationResourceBaseSchema, conversationResourceListItemSchema, conversationResourceListResponseSchema, conversationSchema, conversationSubjectSchema, conversationThreadSnapshotSchema, conversationUserStateSchema, conversationVisibilitySchema, createAdministeredUserRequestSchema, createApiCredentialRequestSchema, createApiCredentialResponseSchema, createAppFromPageRequestSchema, createAppFromPageResponseSchema, createCollaborationWorkspaceRequestSchema, createConversationRequestSchema, createConversationRunRequestSchema, createNamespaceRequestSchema, createOpenApiDocument, createOpenApiDocumentFromOperations, createPermissionGrantRequestSchema, createPersonalApiKeyRequestSchema, createPersonalApiKeyResponseSchema, createServicePrincipalRequestSchema, decideApprovalRequestSchema, defineOperation, defineRegisteredOperation, delegatedActorSchema, deleteAssetRequestSchema, deleteCollaborationWorkspaceRequestSchema, deleteCurrentUserResponseSchema, describeApiReference, discardAgentDraftRequestSchema, discardAgentDraftResponseSchema, discardAssetDraftRequestSchema, draftAttachmentSchema, draftAttachmentStatusSchema, draftAttachmentUploadResponseSchema, dryRunGuardrailRequestSchema, dryRunGuardrailResponseSchema, effectivePermissionsQuerySchema, effectivePermissionsSchema, exchangeApiKeyResponseSchema, findBreakingChanges, getAssetQuerySchema, grantEffectSchema, grantHolderKindSchema, grantScopeKindSchema, guardrailHitCountsSchema, guardrailHitSchema, guardrailHitsSchema, guardrailOperations, healthSchema, infrastructureCheckSchema, infrastructureClassSchema, infrastructureOriginSchema, infrastructureProviderSchema, infrastructureSchema, infrastructureSecretSchema, instanceModuleSchema, isRegisteredOperation, isUnknownOperationResponse, issueSessionTokenRequestSchema, issueSessionTokenResponseSchema, jobKindSummarySchema, jobSchema, jobStatusListSchema, jobStatusSchema, json, listApprovalRequestsQuerySchema, listAssetsQuerySchema, listEnvelopeSchema, listLiveOnceQuerySchema, listPermissionGrantsQuerySchema, listQuerySchema, listWorkflowRunsQuerySchema, listWorkflowStepRunsQuerySchema, listWorkspaceFilesQuerySchema, liveOnceListSchema, localeCodeSchema, localizationSchema, messageCitationSchema, messageMetadataSchema, messageMetadataVersionSchema, messageSchema, modelRegionSchema, modelUsageAttributionGroupSchema, modelUsageBillableCostSchema, modelUsageBillableCostSummarySchema, modelUsageDailyBucketSchema, modelUsageEventSchema, modelUsageMonthlyBucketSchema, modelUsageTierSchema, modelUsageVolumeEventSchema, modelUsageVolumeWindowSummarySchema, modelUsageWindowSummarySchema, moveConversationRequestSchema, namespacePrefixSchema, namespaceSchema, namespaceUsageSchema, notReadySchema, openApiDocumentSchema, openConversationSubjectRequestSchema, operationPathParamNames, operationRunOriginSchema, operationRunSchema, operationRunStatusSchema, operationTargetSchema, page, pageDetailSchema, pageFileSetSchema, pagePreviewRequestSchema, pagePreviewSchema, pageSchema, pageSourceFileEntrySchema, pageSourceFileListSchema, pageSourceFileQuerySchema, pageSourceFileSchema, parseJobStatusList, pendingApprovalRequestCountSchema, permissionGrantSchema, personalApiKeySchema, personalApiKeyScopeSchema, platformAssetKindSchema, platformContextNamespaceSchema, platformContextSchema, platformContextWorkspaceSchema, probe, publishAssetRequestSchema, putAssetRequestSchema, queuedConversationRunResponseSchema, rateLimitedDetailsSchema, readinessSchema, readySchema, reasoningEffortSchema, redeemConnectCodeRequestSchema, redeemConnectCodeResponseSchema, redirect, redirectAnswerSchema, renameConversationRequestSchema, renderApiReferencePage, requestPasswordResetRequestSchema, requestPasswordResetResponseSchema, resetAdministeredUserPasswordRequestSchema, resetAdministeredUserPasswordResponseSchema, revertAssetRequestSchema, runCommandRequestSchema, runCommandResponseSchema, runCommandSchema, runLiveOnceRequestSchema, runLiveOnceResponseSchema, runObservationSchema, safeConfigSchema, selectContractBaseline, sendAdministeredUserInvitationResponseSchema, servicePrincipalDetailSchema, servicePrincipalPermissionSchema, servicePrincipalSchema, servicePrincipalStatusSchema, sessionTokenDelegatedActorSchema, setAssetAvailabilityRequestSchema, setAssetDefaultRequestSchema, setAssetDefaultResponseSchema, shippedGuardrailSchema, shippedGuardrailsSchema, sse, startConnectCodeRequestSchema, startConnectCodeResponseSchema, startConversationRunRequestSchema, startConversationRunResponseSchema, startWorkflowRunRequestSchema, storedModelContextSnapshotSchema, storedReasoningSummarySchema, storedToolCallSchema, structuredDataResourceResponseSchema, subagentListSchema, subagentSummarySchema, switchShippedGuardrailRequestSchema, syncAssetsRequestSchema, syncAssetsResponseSchema, testGuardrailRequestSchema, testGuardrailResponseSchema, timestampSchema, toolDecisionModeSchema, toolGroupSchema, toolResultMessageMetadataSchema, unavailableModelSchema, unavailableSkillSchema, unavailableToolSchema, unknownRunObservationSchema, unpublishGuardrailResponseSchema, updateAdministeredUserRequestSchema, updateAppFromPageRequestSchema, updateCollaborationWorkspaceRequestSchema, updateCurrentUserRequestSchema, updateNamespaceRequestSchema, updateServicePrincipalRequestSchema, updateWorkspaceMemberRoleRequestSchema, upsertAdministeredUserIdentityRequestSchema, usageSafeguardsSchema, usageSpendBudgetSchema, usageSummarySchema, userDeletionStateSchema, userMessageMetadataSchema, userModelPreferenceSchema, userStatusSchema, validateAssetRequestSchema, validateAssetResponseSchema, webSourceSchema, workflowOperations, workflowRunSchema, workflowStartIssueSchema, workflowStepRunSchema, workflowSummarySchema, workspaceAccentColorSchema, workspaceAccessRequestItemSchema, workspaceAccessRequestSchema, workspaceFileSchema, workspaceMemberCandidateSchema, workspaceMemberSchema, workspaceMembershipRoleSchema, workspaceMembershipSchema, workspaceVisibilitySchema };
|