@agent-vm/agent-portal-sdk 0.0.112 → 0.0.113
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/approval-surface/index.d.ts +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/{portal-call-result-schema-BGEEv_aO.d.ts → portal-call-result-schema-DjpKPcE_.d.ts} +179 -179
- package/dist/{portal-call-result-schema-BGEEv_aO.d.ts.map → portal-call-result-schema-DjpKPcE_.d.ts.map} +1 -1
- package/dist/portal-call-surface/index.d.ts +17 -17
- package/dist/portal-event-surface/index.d.ts +38 -38
- package/dist/testing/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -18,14 +18,14 @@ declare const ApprovalRequiredResultSchema: z.ZodObject<{
|
|
|
18
18
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
19
19
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
20
20
|
code: z.ZodEnum<{
|
|
21
|
-
provider_unavailable: "provider_unavailable";
|
|
22
|
-
capability_denied: "capability_denied";
|
|
23
21
|
approval_required: "approval_required";
|
|
22
|
+
capability_denied: "capability_denied";
|
|
24
23
|
validation_failed: "validation_failed";
|
|
24
|
+
provider_unavailable: "provider_unavailable";
|
|
25
25
|
execution_failed: "execution_failed";
|
|
26
|
-
output_truncated: "output_truncated";
|
|
27
|
-
timeout: "timeout";
|
|
28
26
|
cancelled: "cancelled";
|
|
27
|
+
timeout: "timeout";
|
|
28
|
+
output_truncated: "output_truncated";
|
|
29
29
|
artifact_unavailable: "artifact_unavailable";
|
|
30
30
|
}>;
|
|
31
31
|
level: z.ZodEnum<{
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { a as JsonObjectMaxEntries, c as JsonStringMaxLength, i as JsonObjectKey
|
|
|
4
4
|
import { ArtifactReference, ArtifactReferenceSchema, PortalArtifactReadRequest, PortalArtifactReadRequestSchema, PortalArtifactReadResult, PortalArtifactReadResultSchema, PortalArtifactRecord, PortalArtifactRecordSchema, PortalArtifactRedactor, PortalArtifactRedactorSchema } from "./artifact-surface/index.js";
|
|
5
5
|
import { CapabilityDescriptor, CapabilityDescriptorSchema, CapabilitySearchMatch, CapabilitySearchMatchSchema, CapabilitySummary, CapabilitySummarySchema, JsonSchemaDocumentSchema, ResultExpectation, ResultExpectationSchema, SafeCallingHint, SafeCallingHintSchema, ToolSafetySummary, ToolSafetySummarySchema, ToolSchemaHint, ToolSchemaHintSchema, ToolSchemaSummary, ToolSchemaSummarySchema } from "./capability-description-surface/index.js";
|
|
6
6
|
import { a as CapabilityReferenceSchema, i as CapabilityReference, n as RequestIdSchema, o as NamespaceNameSchema, r as CapabilityNameSchema, t as ItemIdSchema } from "./index-DJiaGYF_.js";
|
|
7
|
-
import { _ as TruncationMetadataSchema, a as PortalDescribeItemValueSchema, b as PortalCallRequest, c as PortalGenericItemResultSchema, d as PortalListResult, f as PortalListResultSchema, g as PortalSearchResultSchema, h as PortalSearchResult, i as PortalDescribeItemResultSchema, l as PortalListItemResultSchema, m as PortalSearchItemValueSchema, n as PortalCallResult, o as PortalDescribeResult, p as PortalSearchItemResultSchema, r as PortalCallResultSchema, s as PortalDescribeResultSchema, t as PortalCallItemResultSchema, u as PortalListItemValueSchema, v as PortalBatchMaxItems, x as PortalCallRequestSchema, y as PortalCallItemRequestSchema } from "./portal-call-result-schema-
|
|
7
|
+
import { _ as TruncationMetadataSchema, a as PortalDescribeItemValueSchema, b as PortalCallRequest, c as PortalGenericItemResultSchema, d as PortalListResult, f as PortalListResultSchema, g as PortalSearchResultSchema, h as PortalSearchResult, i as PortalDescribeItemResultSchema, l as PortalListItemResultSchema, m as PortalSearchItemValueSchema, n as PortalCallResult, o as PortalDescribeResult, p as PortalSearchItemResultSchema, r as PortalCallResultSchema, s as PortalDescribeResultSchema, t as PortalCallItemResultSchema, u as PortalListItemValueSchema, v as PortalBatchMaxItems, x as PortalCallRequestSchema, y as PortalCallItemRequestSchema } from "./portal-call-result-schema-DjpKPcE_.js";
|
|
8
8
|
import { PortalCallSurfaceJsonSchemas, PortalDescribeItemRequestSchema, PortalDescribeRequest, PortalDescribeRequestSchema, PortalError, PortalErrorCode, PortalErrorCodeSchema, PortalErrorSchema, PortalListItemRequestSchema, PortalListRequest, PortalListRequestSchema, PortalSearchItemRequestSchema, PortalSearchRequest, PortalSearchRequestSchema, createPortalCallSurfaceJsonSchemas } from "./portal-call-surface/index.js";
|
|
9
9
|
import { PortalCancellationRequestEvent, PortalCancellationRequestEventSchema, PortalCancellationResultEvent, PortalCancellationResultEventSchema, PortalDiagnosticEvent, PortalDiagnosticEventSchema, PortalEvent, PortalEventSchema, PortalPartialOutputEvent, PortalPartialOutputEventSchema, PortalProgressEvent, PortalProgressEventSchema, SafeDiagnostic, SafeDiagnosticCodeSchema, SafeDiagnosticSchema } from "./portal-event-surface/index.js";
|
|
10
10
|
export { ApprovalDecisionReference, ApprovalDecisionReferenceSchema, ApprovalRequiredResult, ApprovalRequiredResultSchema, ArtifactReference, ArtifactReferenceSchema, CapabilityDescriptor, CapabilityDescriptorSchema, CapabilityNameSchema, CapabilityReference, CapabilityReferenceSchema, CapabilitySearchMatch, CapabilitySearchMatchSchema, CapabilitySummary, CapabilitySummarySchema, ItemIdSchema, JsonArray, JsonArrayMaxItems, JsonObject, JsonObjectKeyMaxLength, JsonObjectMaxEntries, JsonObjectSchema, JsonPrimitive, JsonSchemaDocumentSchema, JsonStringMaxLength, JsonValue, JsonValueSchema, NamespaceNameSchema, PortalAdapterEnvelope, PortalAdapterEnvelopeSchema, PortalArtifactReadRequest, PortalArtifactReadRequestSchema, PortalArtifactReadResult, PortalArtifactReadResultSchema, PortalArtifactRecord, PortalArtifactRecordSchema, PortalArtifactRedactor, PortalArtifactRedactorSchema, PortalBatchMaxItems, PortalCallItemRequestSchema, PortalCallItemResultSchema, PortalCallRequest, PortalCallRequestSchema, PortalCallResult, PortalCallResultSchema, PortalCallSurfaceJsonSchemas, PortalCancellationRequestEvent, PortalCancellationRequestEventSchema, PortalCancellationResultEvent, PortalCancellationResultEventSchema, PortalDescribeItemRequestSchema, PortalDescribeItemResultSchema, PortalDescribeItemValueSchema, PortalDescribeRequest, PortalDescribeRequestSchema, PortalDescribeResult, PortalDescribeResultSchema, PortalDiagnosticEvent, PortalDiagnosticEventSchema, PortalError, PortalErrorCode, PortalErrorCodeSchema, PortalErrorSchema, PortalEvent, PortalEventSchema, PortalGenericItemResultSchema, PortalListItemRequestSchema, PortalListItemResultSchema, PortalListItemValueSchema, PortalListRequest, PortalListRequestSchema, PortalListResult, PortalListResultSchema, PortalPartialOutputEvent, PortalPartialOutputEventSchema, PortalProgressEvent, PortalProgressEventSchema, PortalSearchItemRequestSchema, PortalSearchItemResultSchema, PortalSearchItemValueSchema, PortalSearchRequest, PortalSearchRequestSchema, PortalSearchResult, PortalSearchResultSchema, RequestIdSchema, ResultExpectation, ResultExpectationSchema, SafeCallingHint, SafeCallingHintSchema, SafeDiagnostic, SafeDiagnosticCodeSchema, SafeDiagnosticSchema, ToolSafetySummary, ToolSafetySummarySchema, ToolSchemaHint, ToolSchemaHintSchema, ToolSchemaSummary, ToolSchemaSummarySchema, TruncationMetadataSchema, TrustedAgentScope, TrustedAgentScopeSchema, createPortalCallSurfaceJsonSchemas };
|
package/dist/{portal-call-result-schema-BGEEv_aO.d.ts → portal-call-result-schema-DjpKPcE_.d.ts}
RENAMED
|
@@ -34,14 +34,14 @@ declare const PortalCallItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
34
34
|
}, z.core.$strict>>>;
|
|
35
35
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
36
36
|
code: z.ZodEnum<{
|
|
37
|
-
provider_unavailable: "provider_unavailable";
|
|
38
|
-
capability_denied: "capability_denied";
|
|
39
37
|
approval_required: "approval_required";
|
|
38
|
+
capability_denied: "capability_denied";
|
|
40
39
|
validation_failed: "validation_failed";
|
|
40
|
+
provider_unavailable: "provider_unavailable";
|
|
41
41
|
execution_failed: "execution_failed";
|
|
42
|
-
output_truncated: "output_truncated";
|
|
43
|
-
timeout: "timeout";
|
|
44
42
|
cancelled: "cancelled";
|
|
43
|
+
timeout: "timeout";
|
|
44
|
+
output_truncated: "output_truncated";
|
|
45
45
|
artifact_unavailable: "artifact_unavailable";
|
|
46
46
|
}>;
|
|
47
47
|
level: z.ZodEnum<{
|
|
@@ -63,14 +63,14 @@ declare const PortalCallItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
63
63
|
}, z.core.$strict>, z.ZodObject<{
|
|
64
64
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
65
65
|
code: z.ZodEnum<{
|
|
66
|
-
provider_unavailable: "provider_unavailable";
|
|
67
|
-
capability_denied: "capability_denied";
|
|
68
66
|
approval_required: "approval_required";
|
|
67
|
+
capability_denied: "capability_denied";
|
|
69
68
|
validation_failed: "validation_failed";
|
|
69
|
+
provider_unavailable: "provider_unavailable";
|
|
70
70
|
execution_failed: "execution_failed";
|
|
71
|
-
output_truncated: "output_truncated";
|
|
72
|
-
timeout: "timeout";
|
|
73
71
|
cancelled: "cancelled";
|
|
72
|
+
timeout: "timeout";
|
|
73
|
+
output_truncated: "output_truncated";
|
|
74
74
|
artifact_unavailable: "artifact_unavailable";
|
|
75
75
|
}>;
|
|
76
76
|
level: z.ZodEnum<{
|
|
@@ -84,29 +84,29 @@ declare const PortalCallItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
84
84
|
}, z.core.$strict>>>;
|
|
85
85
|
error: z.ZodObject<{
|
|
86
86
|
code: z.ZodEnum<{
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
invalid_request: "invalid_request";
|
|
88
|
+
not_found: "not_found";
|
|
89
|
+
not_authorized: "not_authorized";
|
|
89
90
|
approval_required: "approval_required";
|
|
91
|
+
capability_denied: "capability_denied";
|
|
90
92
|
validation_failed: "validation_failed";
|
|
93
|
+
provider_unavailable: "provider_unavailable";
|
|
91
94
|
execution_failed: "execution_failed";
|
|
92
|
-
timeout: "timeout";
|
|
93
95
|
cancelled: "cancelled";
|
|
94
|
-
|
|
95
|
-
not_found: "not_found";
|
|
96
|
-
not_authorized: "not_authorized";
|
|
96
|
+
timeout: "timeout";
|
|
97
97
|
}>;
|
|
98
98
|
message: z.ZodString;
|
|
99
99
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
100
100
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
101
101
|
code: z.ZodEnum<{
|
|
102
|
-
provider_unavailable: "provider_unavailable";
|
|
103
|
-
capability_denied: "capability_denied";
|
|
104
102
|
approval_required: "approval_required";
|
|
103
|
+
capability_denied: "capability_denied";
|
|
105
104
|
validation_failed: "validation_failed";
|
|
105
|
+
provider_unavailable: "provider_unavailable";
|
|
106
106
|
execution_failed: "execution_failed";
|
|
107
|
-
output_truncated: "output_truncated";
|
|
108
|
-
timeout: "timeout";
|
|
109
107
|
cancelled: "cancelled";
|
|
108
|
+
timeout: "timeout";
|
|
109
|
+
output_truncated: "output_truncated";
|
|
110
110
|
artifact_unavailable: "artifact_unavailable";
|
|
111
111
|
}>;
|
|
112
112
|
level: z.ZodEnum<{
|
|
@@ -221,14 +221,14 @@ declare const PortalListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
221
221
|
}, z.core.$strict>>>;
|
|
222
222
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
223
223
|
code: z.ZodEnum<{
|
|
224
|
-
provider_unavailable: "provider_unavailable";
|
|
225
|
-
capability_denied: "capability_denied";
|
|
226
224
|
approval_required: "approval_required";
|
|
225
|
+
capability_denied: "capability_denied";
|
|
227
226
|
validation_failed: "validation_failed";
|
|
227
|
+
provider_unavailable: "provider_unavailable";
|
|
228
228
|
execution_failed: "execution_failed";
|
|
229
|
-
output_truncated: "output_truncated";
|
|
230
|
-
timeout: "timeout";
|
|
231
229
|
cancelled: "cancelled";
|
|
230
|
+
timeout: "timeout";
|
|
231
|
+
output_truncated: "output_truncated";
|
|
232
232
|
artifact_unavailable: "artifact_unavailable";
|
|
233
233
|
}>;
|
|
234
234
|
level: z.ZodEnum<{
|
|
@@ -283,14 +283,14 @@ declare const PortalListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
283
283
|
}, z.core.$strict>, z.ZodObject<{
|
|
284
284
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
285
285
|
code: z.ZodEnum<{
|
|
286
|
-
provider_unavailable: "provider_unavailable";
|
|
287
|
-
capability_denied: "capability_denied";
|
|
288
286
|
approval_required: "approval_required";
|
|
287
|
+
capability_denied: "capability_denied";
|
|
289
288
|
validation_failed: "validation_failed";
|
|
289
|
+
provider_unavailable: "provider_unavailable";
|
|
290
290
|
execution_failed: "execution_failed";
|
|
291
|
-
output_truncated: "output_truncated";
|
|
292
|
-
timeout: "timeout";
|
|
293
291
|
cancelled: "cancelled";
|
|
292
|
+
timeout: "timeout";
|
|
293
|
+
output_truncated: "output_truncated";
|
|
294
294
|
artifact_unavailable: "artifact_unavailable";
|
|
295
295
|
}>;
|
|
296
296
|
level: z.ZodEnum<{
|
|
@@ -304,29 +304,29 @@ declare const PortalListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
304
304
|
}, z.core.$strict>>>;
|
|
305
305
|
error: z.ZodObject<{
|
|
306
306
|
code: z.ZodEnum<{
|
|
307
|
-
|
|
308
|
-
|
|
307
|
+
invalid_request: "invalid_request";
|
|
308
|
+
not_found: "not_found";
|
|
309
|
+
not_authorized: "not_authorized";
|
|
309
310
|
approval_required: "approval_required";
|
|
311
|
+
capability_denied: "capability_denied";
|
|
310
312
|
validation_failed: "validation_failed";
|
|
313
|
+
provider_unavailable: "provider_unavailable";
|
|
311
314
|
execution_failed: "execution_failed";
|
|
312
|
-
timeout: "timeout";
|
|
313
315
|
cancelled: "cancelled";
|
|
314
|
-
|
|
315
|
-
not_found: "not_found";
|
|
316
|
-
not_authorized: "not_authorized";
|
|
316
|
+
timeout: "timeout";
|
|
317
317
|
}>;
|
|
318
318
|
message: z.ZodString;
|
|
319
319
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
320
320
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
321
321
|
code: z.ZodEnum<{
|
|
322
|
-
provider_unavailable: "provider_unavailable";
|
|
323
|
-
capability_denied: "capability_denied";
|
|
324
322
|
approval_required: "approval_required";
|
|
323
|
+
capability_denied: "capability_denied";
|
|
325
324
|
validation_failed: "validation_failed";
|
|
325
|
+
provider_unavailable: "provider_unavailable";
|
|
326
326
|
execution_failed: "execution_failed";
|
|
327
|
-
output_truncated: "output_truncated";
|
|
328
|
-
timeout: "timeout";
|
|
329
327
|
cancelled: "cancelled";
|
|
328
|
+
timeout: "timeout";
|
|
329
|
+
output_truncated: "output_truncated";
|
|
330
330
|
artifact_unavailable: "artifact_unavailable";
|
|
331
331
|
}>;
|
|
332
332
|
level: z.ZodEnum<{
|
|
@@ -351,14 +351,14 @@ declare const PortalSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
351
351
|
}, z.core.$strict>>>;
|
|
352
352
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
353
353
|
code: z.ZodEnum<{
|
|
354
|
-
provider_unavailable: "provider_unavailable";
|
|
355
|
-
capability_denied: "capability_denied";
|
|
356
354
|
approval_required: "approval_required";
|
|
355
|
+
capability_denied: "capability_denied";
|
|
357
356
|
validation_failed: "validation_failed";
|
|
357
|
+
provider_unavailable: "provider_unavailable";
|
|
358
358
|
execution_failed: "execution_failed";
|
|
359
|
-
output_truncated: "output_truncated";
|
|
360
|
-
timeout: "timeout";
|
|
361
359
|
cancelled: "cancelled";
|
|
360
|
+
timeout: "timeout";
|
|
361
|
+
output_truncated: "output_truncated";
|
|
362
362
|
artifact_unavailable: "artifact_unavailable";
|
|
363
363
|
}>;
|
|
364
364
|
level: z.ZodEnum<{
|
|
@@ -415,14 +415,14 @@ declare const PortalSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
415
415
|
}, z.core.$strict>, z.ZodObject<{
|
|
416
416
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
417
417
|
code: z.ZodEnum<{
|
|
418
|
-
provider_unavailable: "provider_unavailable";
|
|
419
|
-
capability_denied: "capability_denied";
|
|
420
418
|
approval_required: "approval_required";
|
|
419
|
+
capability_denied: "capability_denied";
|
|
421
420
|
validation_failed: "validation_failed";
|
|
421
|
+
provider_unavailable: "provider_unavailable";
|
|
422
422
|
execution_failed: "execution_failed";
|
|
423
|
-
output_truncated: "output_truncated";
|
|
424
|
-
timeout: "timeout";
|
|
425
423
|
cancelled: "cancelled";
|
|
424
|
+
timeout: "timeout";
|
|
425
|
+
output_truncated: "output_truncated";
|
|
426
426
|
artifact_unavailable: "artifact_unavailable";
|
|
427
427
|
}>;
|
|
428
428
|
level: z.ZodEnum<{
|
|
@@ -436,29 +436,29 @@ declare const PortalSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
436
436
|
}, z.core.$strict>>>;
|
|
437
437
|
error: z.ZodObject<{
|
|
438
438
|
code: z.ZodEnum<{
|
|
439
|
-
|
|
440
|
-
|
|
439
|
+
invalid_request: "invalid_request";
|
|
440
|
+
not_found: "not_found";
|
|
441
|
+
not_authorized: "not_authorized";
|
|
441
442
|
approval_required: "approval_required";
|
|
443
|
+
capability_denied: "capability_denied";
|
|
442
444
|
validation_failed: "validation_failed";
|
|
445
|
+
provider_unavailable: "provider_unavailable";
|
|
443
446
|
execution_failed: "execution_failed";
|
|
444
|
-
timeout: "timeout";
|
|
445
447
|
cancelled: "cancelled";
|
|
446
|
-
|
|
447
|
-
not_found: "not_found";
|
|
448
|
-
not_authorized: "not_authorized";
|
|
448
|
+
timeout: "timeout";
|
|
449
449
|
}>;
|
|
450
450
|
message: z.ZodString;
|
|
451
451
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
452
452
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
453
453
|
code: z.ZodEnum<{
|
|
454
|
-
provider_unavailable: "provider_unavailable";
|
|
455
|
-
capability_denied: "capability_denied";
|
|
456
454
|
approval_required: "approval_required";
|
|
455
|
+
capability_denied: "capability_denied";
|
|
457
456
|
validation_failed: "validation_failed";
|
|
457
|
+
provider_unavailable: "provider_unavailable";
|
|
458
458
|
execution_failed: "execution_failed";
|
|
459
|
-
output_truncated: "output_truncated";
|
|
460
|
-
timeout: "timeout";
|
|
461
459
|
cancelled: "cancelled";
|
|
460
|
+
timeout: "timeout";
|
|
461
|
+
output_truncated: "output_truncated";
|
|
462
462
|
artifact_unavailable: "artifact_unavailable";
|
|
463
463
|
}>;
|
|
464
464
|
level: z.ZodEnum<{
|
|
@@ -483,14 +483,14 @@ declare const PortalDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
483
483
|
}, z.core.$strict>>>;
|
|
484
484
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
485
485
|
code: z.ZodEnum<{
|
|
486
|
-
provider_unavailable: "provider_unavailable";
|
|
487
|
-
capability_denied: "capability_denied";
|
|
488
486
|
approval_required: "approval_required";
|
|
487
|
+
capability_denied: "capability_denied";
|
|
489
488
|
validation_failed: "validation_failed";
|
|
489
|
+
provider_unavailable: "provider_unavailable";
|
|
490
490
|
execution_failed: "execution_failed";
|
|
491
|
-
output_truncated: "output_truncated";
|
|
492
|
-
timeout: "timeout";
|
|
493
491
|
cancelled: "cancelled";
|
|
492
|
+
timeout: "timeout";
|
|
493
|
+
output_truncated: "output_truncated";
|
|
494
494
|
artifact_unavailable: "artifact_unavailable";
|
|
495
495
|
}>;
|
|
496
496
|
level: z.ZodEnum<{
|
|
@@ -531,14 +531,14 @@ declare const PortalDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
531
531
|
}, z.core.$strict>, z.ZodObject<{
|
|
532
532
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
533
533
|
code: z.ZodEnum<{
|
|
534
|
-
provider_unavailable: "provider_unavailable";
|
|
535
|
-
capability_denied: "capability_denied";
|
|
536
534
|
approval_required: "approval_required";
|
|
535
|
+
capability_denied: "capability_denied";
|
|
537
536
|
validation_failed: "validation_failed";
|
|
537
|
+
provider_unavailable: "provider_unavailable";
|
|
538
538
|
execution_failed: "execution_failed";
|
|
539
|
-
output_truncated: "output_truncated";
|
|
540
|
-
timeout: "timeout";
|
|
541
539
|
cancelled: "cancelled";
|
|
540
|
+
timeout: "timeout";
|
|
541
|
+
output_truncated: "output_truncated";
|
|
542
542
|
artifact_unavailable: "artifact_unavailable";
|
|
543
543
|
}>;
|
|
544
544
|
level: z.ZodEnum<{
|
|
@@ -552,29 +552,29 @@ declare const PortalDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
552
552
|
}, z.core.$strict>>>;
|
|
553
553
|
error: z.ZodObject<{
|
|
554
554
|
code: z.ZodEnum<{
|
|
555
|
-
|
|
556
|
-
|
|
555
|
+
invalid_request: "invalid_request";
|
|
556
|
+
not_found: "not_found";
|
|
557
|
+
not_authorized: "not_authorized";
|
|
557
558
|
approval_required: "approval_required";
|
|
559
|
+
capability_denied: "capability_denied";
|
|
558
560
|
validation_failed: "validation_failed";
|
|
561
|
+
provider_unavailable: "provider_unavailable";
|
|
559
562
|
execution_failed: "execution_failed";
|
|
560
|
-
timeout: "timeout";
|
|
561
563
|
cancelled: "cancelled";
|
|
562
|
-
|
|
563
|
-
not_found: "not_found";
|
|
564
|
-
not_authorized: "not_authorized";
|
|
564
|
+
timeout: "timeout";
|
|
565
565
|
}>;
|
|
566
566
|
message: z.ZodString;
|
|
567
567
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
568
568
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
569
569
|
code: z.ZodEnum<{
|
|
570
|
-
provider_unavailable: "provider_unavailable";
|
|
571
|
-
capability_denied: "capability_denied";
|
|
572
570
|
approval_required: "approval_required";
|
|
571
|
+
capability_denied: "capability_denied";
|
|
573
572
|
validation_failed: "validation_failed";
|
|
573
|
+
provider_unavailable: "provider_unavailable";
|
|
574
574
|
execution_failed: "execution_failed";
|
|
575
|
-
output_truncated: "output_truncated";
|
|
576
|
-
timeout: "timeout";
|
|
577
575
|
cancelled: "cancelled";
|
|
576
|
+
timeout: "timeout";
|
|
577
|
+
output_truncated: "output_truncated";
|
|
578
578
|
artifact_unavailable: "artifact_unavailable";
|
|
579
579
|
}>;
|
|
580
580
|
level: z.ZodEnum<{
|
|
@@ -594,14 +594,14 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
594
594
|
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
595
595
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
596
596
|
code: z.ZodEnum<{
|
|
597
|
-
provider_unavailable: "provider_unavailable";
|
|
598
|
-
capability_denied: "capability_denied";
|
|
599
597
|
approval_required: "approval_required";
|
|
598
|
+
capability_denied: "capability_denied";
|
|
600
599
|
validation_failed: "validation_failed";
|
|
600
|
+
provider_unavailable: "provider_unavailable";
|
|
601
601
|
execution_failed: "execution_failed";
|
|
602
|
-
output_truncated: "output_truncated";
|
|
603
|
-
timeout: "timeout";
|
|
604
602
|
cancelled: "cancelled";
|
|
603
|
+
timeout: "timeout";
|
|
604
|
+
output_truncated: "output_truncated";
|
|
605
605
|
artifact_unavailable: "artifact_unavailable";
|
|
606
606
|
}>;
|
|
607
607
|
level: z.ZodEnum<{
|
|
@@ -622,14 +622,14 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
622
622
|
}, z.core.$strict>>>;
|
|
623
623
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
624
624
|
code: z.ZodEnum<{
|
|
625
|
-
provider_unavailable: "provider_unavailable";
|
|
626
|
-
capability_denied: "capability_denied";
|
|
627
625
|
approval_required: "approval_required";
|
|
626
|
+
capability_denied: "capability_denied";
|
|
628
627
|
validation_failed: "validation_failed";
|
|
628
|
+
provider_unavailable: "provider_unavailable";
|
|
629
629
|
execution_failed: "execution_failed";
|
|
630
|
-
output_truncated: "output_truncated";
|
|
631
|
-
timeout: "timeout";
|
|
632
630
|
cancelled: "cancelled";
|
|
631
|
+
timeout: "timeout";
|
|
632
|
+
output_truncated: "output_truncated";
|
|
633
633
|
artifact_unavailable: "artifact_unavailable";
|
|
634
634
|
}>;
|
|
635
635
|
level: z.ZodEnum<{
|
|
@@ -651,14 +651,14 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
651
651
|
}, z.core.$strict>, z.ZodObject<{
|
|
652
652
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
653
653
|
code: z.ZodEnum<{
|
|
654
|
-
provider_unavailable: "provider_unavailable";
|
|
655
|
-
capability_denied: "capability_denied";
|
|
656
654
|
approval_required: "approval_required";
|
|
655
|
+
capability_denied: "capability_denied";
|
|
657
656
|
validation_failed: "validation_failed";
|
|
657
|
+
provider_unavailable: "provider_unavailable";
|
|
658
658
|
execution_failed: "execution_failed";
|
|
659
|
-
output_truncated: "output_truncated";
|
|
660
|
-
timeout: "timeout";
|
|
661
659
|
cancelled: "cancelled";
|
|
660
|
+
timeout: "timeout";
|
|
661
|
+
output_truncated: "output_truncated";
|
|
662
662
|
artifact_unavailable: "artifact_unavailable";
|
|
663
663
|
}>;
|
|
664
664
|
level: z.ZodEnum<{
|
|
@@ -672,29 +672,29 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
672
672
|
}, z.core.$strict>>>;
|
|
673
673
|
error: z.ZodObject<{
|
|
674
674
|
code: z.ZodEnum<{
|
|
675
|
-
|
|
676
|
-
|
|
675
|
+
invalid_request: "invalid_request";
|
|
676
|
+
not_found: "not_found";
|
|
677
|
+
not_authorized: "not_authorized";
|
|
677
678
|
approval_required: "approval_required";
|
|
679
|
+
capability_denied: "capability_denied";
|
|
678
680
|
validation_failed: "validation_failed";
|
|
681
|
+
provider_unavailable: "provider_unavailable";
|
|
679
682
|
execution_failed: "execution_failed";
|
|
680
|
-
timeout: "timeout";
|
|
681
683
|
cancelled: "cancelled";
|
|
682
|
-
|
|
683
|
-
not_found: "not_found";
|
|
684
|
-
not_authorized: "not_authorized";
|
|
684
|
+
timeout: "timeout";
|
|
685
685
|
}>;
|
|
686
686
|
message: z.ZodString;
|
|
687
687
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
688
688
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
689
689
|
code: z.ZodEnum<{
|
|
690
|
-
provider_unavailable: "provider_unavailable";
|
|
691
|
-
capability_denied: "capability_denied";
|
|
692
690
|
approval_required: "approval_required";
|
|
691
|
+
capability_denied: "capability_denied";
|
|
693
692
|
validation_failed: "validation_failed";
|
|
693
|
+
provider_unavailable: "provider_unavailable";
|
|
694
694
|
execution_failed: "execution_failed";
|
|
695
|
-
output_truncated: "output_truncated";
|
|
696
|
-
timeout: "timeout";
|
|
697
695
|
cancelled: "cancelled";
|
|
696
|
+
timeout: "timeout";
|
|
697
|
+
output_truncated: "output_truncated";
|
|
698
698
|
artifact_unavailable: "artifact_unavailable";
|
|
699
699
|
}>;
|
|
700
700
|
level: z.ZodEnum<{
|
|
@@ -717,14 +717,14 @@ declare const PortalListResultSchema: z.ZodObject<{
|
|
|
717
717
|
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
718
718
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
719
719
|
code: z.ZodEnum<{
|
|
720
|
-
provider_unavailable: "provider_unavailable";
|
|
721
|
-
capability_denied: "capability_denied";
|
|
722
720
|
approval_required: "approval_required";
|
|
721
|
+
capability_denied: "capability_denied";
|
|
723
722
|
validation_failed: "validation_failed";
|
|
723
|
+
provider_unavailable: "provider_unavailable";
|
|
724
724
|
execution_failed: "execution_failed";
|
|
725
|
-
output_truncated: "output_truncated";
|
|
726
|
-
timeout: "timeout";
|
|
727
725
|
cancelled: "cancelled";
|
|
726
|
+
timeout: "timeout";
|
|
727
|
+
output_truncated: "output_truncated";
|
|
728
728
|
artifact_unavailable: "artifact_unavailable";
|
|
729
729
|
}>;
|
|
730
730
|
level: z.ZodEnum<{
|
|
@@ -745,14 +745,14 @@ declare const PortalListResultSchema: z.ZodObject<{
|
|
|
745
745
|
}, z.core.$strict>>>;
|
|
746
746
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
747
747
|
code: z.ZodEnum<{
|
|
748
|
-
provider_unavailable: "provider_unavailable";
|
|
749
|
-
capability_denied: "capability_denied";
|
|
750
748
|
approval_required: "approval_required";
|
|
749
|
+
capability_denied: "capability_denied";
|
|
751
750
|
validation_failed: "validation_failed";
|
|
751
|
+
provider_unavailable: "provider_unavailable";
|
|
752
752
|
execution_failed: "execution_failed";
|
|
753
|
-
output_truncated: "output_truncated";
|
|
754
|
-
timeout: "timeout";
|
|
755
753
|
cancelled: "cancelled";
|
|
754
|
+
timeout: "timeout";
|
|
755
|
+
output_truncated: "output_truncated";
|
|
756
756
|
artifact_unavailable: "artifact_unavailable";
|
|
757
757
|
}>;
|
|
758
758
|
level: z.ZodEnum<{
|
|
@@ -807,14 +807,14 @@ declare const PortalListResultSchema: z.ZodObject<{
|
|
|
807
807
|
}, z.core.$strict>, z.ZodObject<{
|
|
808
808
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
809
809
|
code: z.ZodEnum<{
|
|
810
|
-
provider_unavailable: "provider_unavailable";
|
|
811
|
-
capability_denied: "capability_denied";
|
|
812
810
|
approval_required: "approval_required";
|
|
811
|
+
capability_denied: "capability_denied";
|
|
813
812
|
validation_failed: "validation_failed";
|
|
813
|
+
provider_unavailable: "provider_unavailable";
|
|
814
814
|
execution_failed: "execution_failed";
|
|
815
|
-
output_truncated: "output_truncated";
|
|
816
|
-
timeout: "timeout";
|
|
817
815
|
cancelled: "cancelled";
|
|
816
|
+
timeout: "timeout";
|
|
817
|
+
output_truncated: "output_truncated";
|
|
818
818
|
artifact_unavailable: "artifact_unavailable";
|
|
819
819
|
}>;
|
|
820
820
|
level: z.ZodEnum<{
|
|
@@ -828,29 +828,29 @@ declare const PortalListResultSchema: z.ZodObject<{
|
|
|
828
828
|
}, z.core.$strict>>>;
|
|
829
829
|
error: z.ZodObject<{
|
|
830
830
|
code: z.ZodEnum<{
|
|
831
|
-
|
|
832
|
-
|
|
831
|
+
invalid_request: "invalid_request";
|
|
832
|
+
not_found: "not_found";
|
|
833
|
+
not_authorized: "not_authorized";
|
|
833
834
|
approval_required: "approval_required";
|
|
835
|
+
capability_denied: "capability_denied";
|
|
834
836
|
validation_failed: "validation_failed";
|
|
837
|
+
provider_unavailable: "provider_unavailable";
|
|
835
838
|
execution_failed: "execution_failed";
|
|
836
|
-
timeout: "timeout";
|
|
837
839
|
cancelled: "cancelled";
|
|
838
|
-
|
|
839
|
-
not_found: "not_found";
|
|
840
|
-
not_authorized: "not_authorized";
|
|
840
|
+
timeout: "timeout";
|
|
841
841
|
}>;
|
|
842
842
|
message: z.ZodString;
|
|
843
843
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
844
844
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
845
845
|
code: z.ZodEnum<{
|
|
846
|
-
provider_unavailable: "provider_unavailable";
|
|
847
|
-
capability_denied: "capability_denied";
|
|
848
846
|
approval_required: "approval_required";
|
|
847
|
+
capability_denied: "capability_denied";
|
|
849
848
|
validation_failed: "validation_failed";
|
|
849
|
+
provider_unavailable: "provider_unavailable";
|
|
850
850
|
execution_failed: "execution_failed";
|
|
851
|
-
output_truncated: "output_truncated";
|
|
852
|
-
timeout: "timeout";
|
|
853
851
|
cancelled: "cancelled";
|
|
852
|
+
timeout: "timeout";
|
|
853
|
+
output_truncated: "output_truncated";
|
|
854
854
|
artifact_unavailable: "artifact_unavailable";
|
|
855
855
|
}>;
|
|
856
856
|
level: z.ZodEnum<{
|
|
@@ -873,14 +873,14 @@ declare const PortalSearchResultSchema: z.ZodObject<{
|
|
|
873
873
|
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
874
874
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
875
875
|
code: z.ZodEnum<{
|
|
876
|
-
provider_unavailable: "provider_unavailable";
|
|
877
|
-
capability_denied: "capability_denied";
|
|
878
876
|
approval_required: "approval_required";
|
|
877
|
+
capability_denied: "capability_denied";
|
|
879
878
|
validation_failed: "validation_failed";
|
|
879
|
+
provider_unavailable: "provider_unavailable";
|
|
880
880
|
execution_failed: "execution_failed";
|
|
881
|
-
output_truncated: "output_truncated";
|
|
882
|
-
timeout: "timeout";
|
|
883
881
|
cancelled: "cancelled";
|
|
882
|
+
timeout: "timeout";
|
|
883
|
+
output_truncated: "output_truncated";
|
|
884
884
|
artifact_unavailable: "artifact_unavailable";
|
|
885
885
|
}>;
|
|
886
886
|
level: z.ZodEnum<{
|
|
@@ -901,14 +901,14 @@ declare const PortalSearchResultSchema: z.ZodObject<{
|
|
|
901
901
|
}, z.core.$strict>>>;
|
|
902
902
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
903
903
|
code: z.ZodEnum<{
|
|
904
|
-
provider_unavailable: "provider_unavailable";
|
|
905
|
-
capability_denied: "capability_denied";
|
|
906
904
|
approval_required: "approval_required";
|
|
905
|
+
capability_denied: "capability_denied";
|
|
907
906
|
validation_failed: "validation_failed";
|
|
907
|
+
provider_unavailable: "provider_unavailable";
|
|
908
908
|
execution_failed: "execution_failed";
|
|
909
|
-
output_truncated: "output_truncated";
|
|
910
|
-
timeout: "timeout";
|
|
911
909
|
cancelled: "cancelled";
|
|
910
|
+
timeout: "timeout";
|
|
911
|
+
output_truncated: "output_truncated";
|
|
912
912
|
artifact_unavailable: "artifact_unavailable";
|
|
913
913
|
}>;
|
|
914
914
|
level: z.ZodEnum<{
|
|
@@ -965,14 +965,14 @@ declare const PortalSearchResultSchema: z.ZodObject<{
|
|
|
965
965
|
}, z.core.$strict>, z.ZodObject<{
|
|
966
966
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
967
967
|
code: z.ZodEnum<{
|
|
968
|
-
provider_unavailable: "provider_unavailable";
|
|
969
|
-
capability_denied: "capability_denied";
|
|
970
968
|
approval_required: "approval_required";
|
|
969
|
+
capability_denied: "capability_denied";
|
|
971
970
|
validation_failed: "validation_failed";
|
|
971
|
+
provider_unavailable: "provider_unavailable";
|
|
972
972
|
execution_failed: "execution_failed";
|
|
973
|
-
output_truncated: "output_truncated";
|
|
974
|
-
timeout: "timeout";
|
|
975
973
|
cancelled: "cancelled";
|
|
974
|
+
timeout: "timeout";
|
|
975
|
+
output_truncated: "output_truncated";
|
|
976
976
|
artifact_unavailable: "artifact_unavailable";
|
|
977
977
|
}>;
|
|
978
978
|
level: z.ZodEnum<{
|
|
@@ -986,29 +986,29 @@ declare const PortalSearchResultSchema: z.ZodObject<{
|
|
|
986
986
|
}, z.core.$strict>>>;
|
|
987
987
|
error: z.ZodObject<{
|
|
988
988
|
code: z.ZodEnum<{
|
|
989
|
-
|
|
990
|
-
|
|
989
|
+
invalid_request: "invalid_request";
|
|
990
|
+
not_found: "not_found";
|
|
991
|
+
not_authorized: "not_authorized";
|
|
991
992
|
approval_required: "approval_required";
|
|
993
|
+
capability_denied: "capability_denied";
|
|
992
994
|
validation_failed: "validation_failed";
|
|
995
|
+
provider_unavailable: "provider_unavailable";
|
|
993
996
|
execution_failed: "execution_failed";
|
|
994
|
-
timeout: "timeout";
|
|
995
997
|
cancelled: "cancelled";
|
|
996
|
-
|
|
997
|
-
not_found: "not_found";
|
|
998
|
-
not_authorized: "not_authorized";
|
|
998
|
+
timeout: "timeout";
|
|
999
999
|
}>;
|
|
1000
1000
|
message: z.ZodString;
|
|
1001
1001
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1002
1002
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
1003
1003
|
code: z.ZodEnum<{
|
|
1004
|
-
provider_unavailable: "provider_unavailable";
|
|
1005
|
-
capability_denied: "capability_denied";
|
|
1006
1004
|
approval_required: "approval_required";
|
|
1005
|
+
capability_denied: "capability_denied";
|
|
1007
1006
|
validation_failed: "validation_failed";
|
|
1007
|
+
provider_unavailable: "provider_unavailable";
|
|
1008
1008
|
execution_failed: "execution_failed";
|
|
1009
|
-
output_truncated: "output_truncated";
|
|
1010
|
-
timeout: "timeout";
|
|
1011
1009
|
cancelled: "cancelled";
|
|
1010
|
+
timeout: "timeout";
|
|
1011
|
+
output_truncated: "output_truncated";
|
|
1012
1012
|
artifact_unavailable: "artifact_unavailable";
|
|
1013
1013
|
}>;
|
|
1014
1014
|
level: z.ZodEnum<{
|
|
@@ -1031,14 +1031,14 @@ declare const PortalDescribeResultSchema: z.ZodObject<{
|
|
|
1031
1031
|
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
1032
1032
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1033
1033
|
code: z.ZodEnum<{
|
|
1034
|
-
provider_unavailable: "provider_unavailable";
|
|
1035
|
-
capability_denied: "capability_denied";
|
|
1036
1034
|
approval_required: "approval_required";
|
|
1035
|
+
capability_denied: "capability_denied";
|
|
1037
1036
|
validation_failed: "validation_failed";
|
|
1037
|
+
provider_unavailable: "provider_unavailable";
|
|
1038
1038
|
execution_failed: "execution_failed";
|
|
1039
|
-
output_truncated: "output_truncated";
|
|
1040
|
-
timeout: "timeout";
|
|
1041
1039
|
cancelled: "cancelled";
|
|
1040
|
+
timeout: "timeout";
|
|
1041
|
+
output_truncated: "output_truncated";
|
|
1042
1042
|
artifact_unavailable: "artifact_unavailable";
|
|
1043
1043
|
}>;
|
|
1044
1044
|
level: z.ZodEnum<{
|
|
@@ -1059,14 +1059,14 @@ declare const PortalDescribeResultSchema: z.ZodObject<{
|
|
|
1059
1059
|
}, z.core.$strict>>>;
|
|
1060
1060
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1061
1061
|
code: z.ZodEnum<{
|
|
1062
|
-
provider_unavailable: "provider_unavailable";
|
|
1063
|
-
capability_denied: "capability_denied";
|
|
1064
1062
|
approval_required: "approval_required";
|
|
1063
|
+
capability_denied: "capability_denied";
|
|
1065
1064
|
validation_failed: "validation_failed";
|
|
1065
|
+
provider_unavailable: "provider_unavailable";
|
|
1066
1066
|
execution_failed: "execution_failed";
|
|
1067
|
-
output_truncated: "output_truncated";
|
|
1068
|
-
timeout: "timeout";
|
|
1069
1067
|
cancelled: "cancelled";
|
|
1068
|
+
timeout: "timeout";
|
|
1069
|
+
output_truncated: "output_truncated";
|
|
1070
1070
|
artifact_unavailable: "artifact_unavailable";
|
|
1071
1071
|
}>;
|
|
1072
1072
|
level: z.ZodEnum<{
|
|
@@ -1107,14 +1107,14 @@ declare const PortalDescribeResultSchema: z.ZodObject<{
|
|
|
1107
1107
|
}, z.core.$strict>, z.ZodObject<{
|
|
1108
1108
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1109
1109
|
code: z.ZodEnum<{
|
|
1110
|
-
provider_unavailable: "provider_unavailable";
|
|
1111
|
-
capability_denied: "capability_denied";
|
|
1112
1110
|
approval_required: "approval_required";
|
|
1111
|
+
capability_denied: "capability_denied";
|
|
1113
1112
|
validation_failed: "validation_failed";
|
|
1113
|
+
provider_unavailable: "provider_unavailable";
|
|
1114
1114
|
execution_failed: "execution_failed";
|
|
1115
|
-
output_truncated: "output_truncated";
|
|
1116
|
-
timeout: "timeout";
|
|
1117
1115
|
cancelled: "cancelled";
|
|
1116
|
+
timeout: "timeout";
|
|
1117
|
+
output_truncated: "output_truncated";
|
|
1118
1118
|
artifact_unavailable: "artifact_unavailable";
|
|
1119
1119
|
}>;
|
|
1120
1120
|
level: z.ZodEnum<{
|
|
@@ -1128,29 +1128,29 @@ declare const PortalDescribeResultSchema: z.ZodObject<{
|
|
|
1128
1128
|
}, z.core.$strict>>>;
|
|
1129
1129
|
error: z.ZodObject<{
|
|
1130
1130
|
code: z.ZodEnum<{
|
|
1131
|
-
|
|
1132
|
-
|
|
1131
|
+
invalid_request: "invalid_request";
|
|
1132
|
+
not_found: "not_found";
|
|
1133
|
+
not_authorized: "not_authorized";
|
|
1133
1134
|
approval_required: "approval_required";
|
|
1135
|
+
capability_denied: "capability_denied";
|
|
1134
1136
|
validation_failed: "validation_failed";
|
|
1137
|
+
provider_unavailable: "provider_unavailable";
|
|
1135
1138
|
execution_failed: "execution_failed";
|
|
1136
|
-
timeout: "timeout";
|
|
1137
1139
|
cancelled: "cancelled";
|
|
1138
|
-
|
|
1139
|
-
not_found: "not_found";
|
|
1140
|
-
not_authorized: "not_authorized";
|
|
1140
|
+
timeout: "timeout";
|
|
1141
1141
|
}>;
|
|
1142
1142
|
message: z.ZodString;
|
|
1143
1143
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1144
1144
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
1145
1145
|
code: z.ZodEnum<{
|
|
1146
|
-
provider_unavailable: "provider_unavailable";
|
|
1147
|
-
capability_denied: "capability_denied";
|
|
1148
1146
|
approval_required: "approval_required";
|
|
1147
|
+
capability_denied: "capability_denied";
|
|
1149
1148
|
validation_failed: "validation_failed";
|
|
1149
|
+
provider_unavailable: "provider_unavailable";
|
|
1150
1150
|
execution_failed: "execution_failed";
|
|
1151
|
-
output_truncated: "output_truncated";
|
|
1152
|
-
timeout: "timeout";
|
|
1153
1151
|
cancelled: "cancelled";
|
|
1152
|
+
timeout: "timeout";
|
|
1153
|
+
output_truncated: "output_truncated";
|
|
1154
1154
|
artifact_unavailable: "artifact_unavailable";
|
|
1155
1155
|
}>;
|
|
1156
1156
|
level: z.ZodEnum<{
|
|
@@ -1178,14 +1178,14 @@ declare const PortalGenericItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1178
1178
|
}, z.core.$strict>>>;
|
|
1179
1179
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1180
1180
|
code: z.ZodEnum<{
|
|
1181
|
-
provider_unavailable: "provider_unavailable";
|
|
1182
|
-
capability_denied: "capability_denied";
|
|
1183
1181
|
approval_required: "approval_required";
|
|
1182
|
+
capability_denied: "capability_denied";
|
|
1184
1183
|
validation_failed: "validation_failed";
|
|
1184
|
+
provider_unavailable: "provider_unavailable";
|
|
1185
1185
|
execution_failed: "execution_failed";
|
|
1186
|
-
output_truncated: "output_truncated";
|
|
1187
|
-
timeout: "timeout";
|
|
1188
1186
|
cancelled: "cancelled";
|
|
1187
|
+
timeout: "timeout";
|
|
1188
|
+
output_truncated: "output_truncated";
|
|
1189
1189
|
artifact_unavailable: "artifact_unavailable";
|
|
1190
1190
|
}>;
|
|
1191
1191
|
level: z.ZodEnum<{
|
|
@@ -1207,14 +1207,14 @@ declare const PortalGenericItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1207
1207
|
}, z.core.$strict>, z.ZodObject<{
|
|
1208
1208
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1209
1209
|
code: z.ZodEnum<{
|
|
1210
|
-
provider_unavailable: "provider_unavailable";
|
|
1211
|
-
capability_denied: "capability_denied";
|
|
1212
1210
|
approval_required: "approval_required";
|
|
1211
|
+
capability_denied: "capability_denied";
|
|
1213
1212
|
validation_failed: "validation_failed";
|
|
1213
|
+
provider_unavailable: "provider_unavailable";
|
|
1214
1214
|
execution_failed: "execution_failed";
|
|
1215
|
-
output_truncated: "output_truncated";
|
|
1216
|
-
timeout: "timeout";
|
|
1217
1215
|
cancelled: "cancelled";
|
|
1216
|
+
timeout: "timeout";
|
|
1217
|
+
output_truncated: "output_truncated";
|
|
1218
1218
|
artifact_unavailable: "artifact_unavailable";
|
|
1219
1219
|
}>;
|
|
1220
1220
|
level: z.ZodEnum<{
|
|
@@ -1228,29 +1228,29 @@ declare const PortalGenericItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1228
1228
|
}, z.core.$strict>>>;
|
|
1229
1229
|
error: z.ZodObject<{
|
|
1230
1230
|
code: z.ZodEnum<{
|
|
1231
|
-
|
|
1232
|
-
|
|
1231
|
+
invalid_request: "invalid_request";
|
|
1232
|
+
not_found: "not_found";
|
|
1233
|
+
not_authorized: "not_authorized";
|
|
1233
1234
|
approval_required: "approval_required";
|
|
1235
|
+
capability_denied: "capability_denied";
|
|
1234
1236
|
validation_failed: "validation_failed";
|
|
1237
|
+
provider_unavailable: "provider_unavailable";
|
|
1235
1238
|
execution_failed: "execution_failed";
|
|
1236
|
-
timeout: "timeout";
|
|
1237
1239
|
cancelled: "cancelled";
|
|
1238
|
-
|
|
1239
|
-
not_found: "not_found";
|
|
1240
|
-
not_authorized: "not_authorized";
|
|
1240
|
+
timeout: "timeout";
|
|
1241
1241
|
}>;
|
|
1242
1242
|
message: z.ZodString;
|
|
1243
1243
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1244
1244
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
1245
1245
|
code: z.ZodEnum<{
|
|
1246
|
-
provider_unavailable: "provider_unavailable";
|
|
1247
|
-
capability_denied: "capability_denied";
|
|
1248
1246
|
approval_required: "approval_required";
|
|
1247
|
+
capability_denied: "capability_denied";
|
|
1249
1248
|
validation_failed: "validation_failed";
|
|
1249
|
+
provider_unavailable: "provider_unavailable";
|
|
1250
1250
|
execution_failed: "execution_failed";
|
|
1251
|
-
output_truncated: "output_truncated";
|
|
1252
|
-
timeout: "timeout";
|
|
1253
1251
|
cancelled: "cancelled";
|
|
1252
|
+
timeout: "timeout";
|
|
1253
|
+
output_truncated: "output_truncated";
|
|
1254
1254
|
artifact_unavailable: "artifact_unavailable";
|
|
1255
1255
|
}>;
|
|
1256
1256
|
level: z.ZodEnum<{
|
|
@@ -1268,4 +1268,4 @@ declare const PortalGenericItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1268
1268
|
}, z.core.$strict>], "status">;
|
|
1269
1269
|
//#endregion
|
|
1270
1270
|
export { TruncationMetadataSchema as _, PortalDescribeItemValueSchema as a, PortalCallRequest as b, PortalGenericItemResultSchema as c, PortalListResult as d, PortalListResultSchema as f, PortalSearchResultSchema as g, PortalSearchResult as h, PortalDescribeItemResultSchema as i, PortalListItemResultSchema as l, PortalSearchItemValueSchema as m, PortalCallResult as n, PortalDescribeResult as o, PortalSearchItemResultSchema as p, PortalCallResultSchema as r, PortalDescribeResultSchema as s, PortalCallItemResultSchema as t, PortalListItemValueSchema as u, PortalBatchMaxItems as v, PortalCallRequestSchema as x, PortalCallItemRequestSchema as y };
|
|
1271
|
-
//# sourceMappingURL=portal-call-result-schema-
|
|
1271
|
+
//# sourceMappingURL=portal-call-result-schema-DjpKPcE_.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"portal-call-result-schema-
|
|
1
|
+
{"version":3,"file":"portal-call-result-schema-DjpKPcE_.d.ts","names":[],"sources":["../src/portal-call-surface/models/portal-call-request-schema.ts","../src/portal-call-surface/models/portal-call-result-schema.ts"],"mappings":";;;;cAMa,mBAAA;AAAA,cAEA,2BAAA,EAA2B,CAAA,CAAA,SAAA;uBAO9B,UAAA;;;;;cAEG,uBAAA,EAAuB,CAAA,CAAA,SAAA;;yBAQjC,UAAA;;;;;;;KAES,iBAAA,GAAoB,CAAA,CAAE,KAAA,QAAa,uBAAA;;;cCdlC,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAuDxB,0BAAA,EAA0B,CAAA,CAAA,qBAAA,EAAA,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAE1B,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQzB,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM3B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAM7B,0BAAA,EAA0B,CAAA,CAAA,qBAAA,EAAA,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAC1B,4BAAA,EAA4B,CAAA,CAAA,qBAAA,EAAA,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAG5B,8BAAA,EAA8B,CAAA,CAAA,qBAAA,EAAA,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI9B,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEvB,gBAAA,GAAmB,CAAA,CAAE,KAAA,QAAa,sBAAA;AAAA,cAEjC,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KACvB,gBAAA,GAAmB,CAAA,CAAE,KAAA,QAAa,sBAAA;AAAA,cAEjC,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KACzB,kBAAA,GAAqB,CAAA,CAAE,KAAA,QAAa,wBAAA;AAAA,cAEnC,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAC3B,oBAAA,GAAuB,CAAA,CAAE,KAAA,QAAa,0BAAA;AAAA,cAErC,6BAAA,EAA6B,CAAA,CAAA,qBAAA,EAAA,CAAA,CAAA,SAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as TruncationMetadataSchema, a as PortalDescribeItemValueSchema, b as PortalCallRequest, c as PortalGenericItemResultSchema, d as PortalListResult, f as PortalListResultSchema, g as PortalSearchResultSchema, h as PortalSearchResult, i as PortalDescribeItemResultSchema, l as PortalListItemResultSchema, m as PortalSearchItemValueSchema, n as PortalCallResult, o as PortalDescribeResult, p as PortalSearchItemResultSchema, r as PortalCallResultSchema, s as PortalDescribeResultSchema, t as PortalCallItemResultSchema, u as PortalListItemValueSchema, v as PortalBatchMaxItems, x as PortalCallRequestSchema, y as PortalCallItemRequestSchema } from "../portal-call-result-schema-
|
|
1
|
+
import { _ as TruncationMetadataSchema, a as PortalDescribeItemValueSchema, b as PortalCallRequest, c as PortalGenericItemResultSchema, d as PortalListResult, f as PortalListResultSchema, g as PortalSearchResultSchema, h as PortalSearchResult, i as PortalDescribeItemResultSchema, l as PortalListItemResultSchema, m as PortalSearchItemValueSchema, n as PortalCallResult, o as PortalDescribeResult, p as PortalSearchItemResultSchema, r as PortalCallResultSchema, s as PortalDescribeResultSchema, t as PortalCallItemResultSchema, u as PortalListItemValueSchema, v as PortalBatchMaxItems, x as PortalCallRequestSchema, y as PortalCallItemRequestSchema } from "../portal-call-result-schema-DjpKPcE_.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/portal-call-surface/models/portal-describe-request-schema.d.ts
|
|
@@ -33,43 +33,43 @@ type PortalDescribeRequest = z.infer<typeof PortalDescribeRequestSchema>;
|
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/portal-call-surface/models/portal-error-schema.d.ts
|
|
35
35
|
declare const PortalErrorCodeSchema: z.ZodEnum<{
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
invalid_request: "invalid_request";
|
|
37
|
+
not_found: "not_found";
|
|
38
|
+
not_authorized: "not_authorized";
|
|
38
39
|
approval_required: "approval_required";
|
|
40
|
+
capability_denied: "capability_denied";
|
|
39
41
|
validation_failed: "validation_failed";
|
|
42
|
+
provider_unavailable: "provider_unavailable";
|
|
40
43
|
execution_failed: "execution_failed";
|
|
41
|
-
timeout: "timeout";
|
|
42
44
|
cancelled: "cancelled";
|
|
43
|
-
|
|
44
|
-
not_found: "not_found";
|
|
45
|
-
not_authorized: "not_authorized";
|
|
45
|
+
timeout: "timeout";
|
|
46
46
|
}>;
|
|
47
47
|
type PortalErrorCode = z.infer<typeof PortalErrorCodeSchema>;
|
|
48
48
|
declare const PortalErrorSchema: z.ZodObject<{
|
|
49
49
|
code: z.ZodEnum<{
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
invalid_request: "invalid_request";
|
|
51
|
+
not_found: "not_found";
|
|
52
|
+
not_authorized: "not_authorized";
|
|
52
53
|
approval_required: "approval_required";
|
|
54
|
+
capability_denied: "capability_denied";
|
|
53
55
|
validation_failed: "validation_failed";
|
|
56
|
+
provider_unavailable: "provider_unavailable";
|
|
54
57
|
execution_failed: "execution_failed";
|
|
55
|
-
timeout: "timeout";
|
|
56
58
|
cancelled: "cancelled";
|
|
57
|
-
|
|
58
|
-
not_found: "not_found";
|
|
59
|
-
not_authorized: "not_authorized";
|
|
59
|
+
timeout: "timeout";
|
|
60
60
|
}>;
|
|
61
61
|
message: z.ZodString;
|
|
62
62
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
63
63
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
64
64
|
code: z.ZodEnum<{
|
|
65
|
-
provider_unavailable: "provider_unavailable";
|
|
66
|
-
capability_denied: "capability_denied";
|
|
67
65
|
approval_required: "approval_required";
|
|
66
|
+
capability_denied: "capability_denied";
|
|
68
67
|
validation_failed: "validation_failed";
|
|
68
|
+
provider_unavailable: "provider_unavailable";
|
|
69
69
|
execution_failed: "execution_failed";
|
|
70
|
-
output_truncated: "output_truncated";
|
|
71
|
-
timeout: "timeout";
|
|
72
70
|
cancelled: "cancelled";
|
|
71
|
+
timeout: "timeout";
|
|
72
|
+
output_truncated: "output_truncated";
|
|
73
73
|
artifact_unavailable: "artifact_unavailable";
|
|
74
74
|
}>;
|
|
75
75
|
level: z.ZodEnum<{
|
|
@@ -23,14 +23,14 @@ type PortalPartialOutputEvent = z.infer<typeof PortalPartialOutputEventSchema>;
|
|
|
23
23
|
declare const PortalDiagnosticEventSchema: z.ZodObject<{
|
|
24
24
|
diagnostic: z.ZodObject<{
|
|
25
25
|
code: z.ZodEnum<{
|
|
26
|
-
provider_unavailable: "provider_unavailable";
|
|
27
|
-
capability_denied: "capability_denied";
|
|
28
26
|
approval_required: "approval_required";
|
|
27
|
+
capability_denied: "capability_denied";
|
|
29
28
|
validation_failed: "validation_failed";
|
|
29
|
+
provider_unavailable: "provider_unavailable";
|
|
30
30
|
execution_failed: "execution_failed";
|
|
31
|
-
output_truncated: "output_truncated";
|
|
32
|
-
timeout: "timeout";
|
|
33
31
|
cancelled: "cancelled";
|
|
32
|
+
timeout: "timeout";
|
|
33
|
+
output_truncated: "output_truncated";
|
|
34
34
|
artifact_unavailable: "artifact_unavailable";
|
|
35
35
|
}>;
|
|
36
36
|
level: z.ZodEnum<{
|
|
@@ -55,29 +55,29 @@ type PortalCancellationRequestEvent = z.infer<typeof PortalCancellationRequestEv
|
|
|
55
55
|
declare const PortalCancellationResultEventSchema: z.ZodObject<{
|
|
56
56
|
error: z.ZodOptional<z.ZodObject<{
|
|
57
57
|
code: z.ZodEnum<{
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
invalid_request: "invalid_request";
|
|
59
|
+
not_found: "not_found";
|
|
60
|
+
not_authorized: "not_authorized";
|
|
60
61
|
approval_required: "approval_required";
|
|
62
|
+
capability_denied: "capability_denied";
|
|
61
63
|
validation_failed: "validation_failed";
|
|
64
|
+
provider_unavailable: "provider_unavailable";
|
|
62
65
|
execution_failed: "execution_failed";
|
|
63
|
-
timeout: "timeout";
|
|
64
66
|
cancelled: "cancelled";
|
|
65
|
-
|
|
66
|
-
not_found: "not_found";
|
|
67
|
-
not_authorized: "not_authorized";
|
|
67
|
+
timeout: "timeout";
|
|
68
68
|
}>;
|
|
69
69
|
message: z.ZodString;
|
|
70
70
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
71
71
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
72
72
|
code: z.ZodEnum<{
|
|
73
|
-
provider_unavailable: "provider_unavailable";
|
|
74
|
-
capability_denied: "capability_denied";
|
|
75
73
|
approval_required: "approval_required";
|
|
74
|
+
capability_denied: "capability_denied";
|
|
76
75
|
validation_failed: "validation_failed";
|
|
76
|
+
provider_unavailable: "provider_unavailable";
|
|
77
77
|
execution_failed: "execution_failed";
|
|
78
|
-
output_truncated: "output_truncated";
|
|
79
|
-
timeout: "timeout";
|
|
80
78
|
cancelled: "cancelled";
|
|
79
|
+
timeout: "timeout";
|
|
80
|
+
output_truncated: "output_truncated";
|
|
81
81
|
artifact_unavailable: "artifact_unavailable";
|
|
82
82
|
}>;
|
|
83
83
|
level: z.ZodEnum<{
|
|
@@ -93,8 +93,8 @@ declare const PortalCancellationResultEventSchema: z.ZodObject<{
|
|
|
93
93
|
id: z.ZodString;
|
|
94
94
|
kind: z.ZodLiteral<"cancellation_result">;
|
|
95
95
|
status: z.ZodEnum<{
|
|
96
|
-
cancelled: "cancelled";
|
|
97
96
|
not_found: "not_found";
|
|
97
|
+
cancelled: "cancelled";
|
|
98
98
|
already_finished: "already_finished";
|
|
99
99
|
}>;
|
|
100
100
|
}, z.core.$strict>;
|
|
@@ -117,14 +117,14 @@ declare const PortalEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
117
117
|
}, z.core.$strict>, z.ZodObject<{
|
|
118
118
|
diagnostic: z.ZodObject<{
|
|
119
119
|
code: z.ZodEnum<{
|
|
120
|
-
provider_unavailable: "provider_unavailable";
|
|
121
|
-
capability_denied: "capability_denied";
|
|
122
120
|
approval_required: "approval_required";
|
|
121
|
+
capability_denied: "capability_denied";
|
|
123
122
|
validation_failed: "validation_failed";
|
|
123
|
+
provider_unavailable: "provider_unavailable";
|
|
124
124
|
execution_failed: "execution_failed";
|
|
125
|
-
output_truncated: "output_truncated";
|
|
126
|
-
timeout: "timeout";
|
|
127
125
|
cancelled: "cancelled";
|
|
126
|
+
timeout: "timeout";
|
|
127
|
+
output_truncated: "output_truncated";
|
|
128
128
|
artifact_unavailable: "artifact_unavailable";
|
|
129
129
|
}>;
|
|
130
130
|
level: z.ZodEnum<{
|
|
@@ -145,29 +145,29 @@ declare const PortalEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
145
145
|
}, z.core.$strict>, z.ZodObject<{
|
|
146
146
|
error: z.ZodOptional<z.ZodObject<{
|
|
147
147
|
code: z.ZodEnum<{
|
|
148
|
-
|
|
149
|
-
|
|
148
|
+
invalid_request: "invalid_request";
|
|
149
|
+
not_found: "not_found";
|
|
150
|
+
not_authorized: "not_authorized";
|
|
150
151
|
approval_required: "approval_required";
|
|
152
|
+
capability_denied: "capability_denied";
|
|
151
153
|
validation_failed: "validation_failed";
|
|
154
|
+
provider_unavailable: "provider_unavailable";
|
|
152
155
|
execution_failed: "execution_failed";
|
|
153
|
-
timeout: "timeout";
|
|
154
156
|
cancelled: "cancelled";
|
|
155
|
-
|
|
156
|
-
not_found: "not_found";
|
|
157
|
-
not_authorized: "not_authorized";
|
|
157
|
+
timeout: "timeout";
|
|
158
158
|
}>;
|
|
159
159
|
message: z.ZodString;
|
|
160
160
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
161
161
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
162
162
|
code: z.ZodEnum<{
|
|
163
|
-
provider_unavailable: "provider_unavailable";
|
|
164
|
-
capability_denied: "capability_denied";
|
|
165
163
|
approval_required: "approval_required";
|
|
164
|
+
capability_denied: "capability_denied";
|
|
166
165
|
validation_failed: "validation_failed";
|
|
166
|
+
provider_unavailable: "provider_unavailable";
|
|
167
167
|
execution_failed: "execution_failed";
|
|
168
|
-
output_truncated: "output_truncated";
|
|
169
|
-
timeout: "timeout";
|
|
170
168
|
cancelled: "cancelled";
|
|
169
|
+
timeout: "timeout";
|
|
170
|
+
output_truncated: "output_truncated";
|
|
171
171
|
artifact_unavailable: "artifact_unavailable";
|
|
172
172
|
}>;
|
|
173
173
|
level: z.ZodEnum<{
|
|
@@ -183,8 +183,8 @@ declare const PortalEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
183
183
|
id: z.ZodString;
|
|
184
184
|
kind: z.ZodLiteral<"cancellation_result">;
|
|
185
185
|
status: z.ZodEnum<{
|
|
186
|
-
cancelled: "cancelled";
|
|
187
186
|
not_found: "not_found";
|
|
187
|
+
cancelled: "cancelled";
|
|
188
188
|
already_finished: "already_finished";
|
|
189
189
|
}>;
|
|
190
190
|
}, z.core.$strict>], "kind">;
|
|
@@ -192,26 +192,26 @@ type PortalEvent = z.infer<typeof PortalEventSchema>;
|
|
|
192
192
|
//#endregion
|
|
193
193
|
//#region src/portal-event-surface/models/safe-diagnostic-schema.d.ts
|
|
194
194
|
declare const SafeDiagnosticCodeSchema: z.ZodEnum<{
|
|
195
|
-
provider_unavailable: "provider_unavailable";
|
|
196
|
-
capability_denied: "capability_denied";
|
|
197
195
|
approval_required: "approval_required";
|
|
196
|
+
capability_denied: "capability_denied";
|
|
198
197
|
validation_failed: "validation_failed";
|
|
198
|
+
provider_unavailable: "provider_unavailable";
|
|
199
199
|
execution_failed: "execution_failed";
|
|
200
|
-
output_truncated: "output_truncated";
|
|
201
|
-
timeout: "timeout";
|
|
202
200
|
cancelled: "cancelled";
|
|
201
|
+
timeout: "timeout";
|
|
202
|
+
output_truncated: "output_truncated";
|
|
203
203
|
artifact_unavailable: "artifact_unavailable";
|
|
204
204
|
}>;
|
|
205
205
|
declare const SafeDiagnosticSchema: z.ZodObject<{
|
|
206
206
|
code: z.ZodEnum<{
|
|
207
|
-
provider_unavailable: "provider_unavailable";
|
|
208
|
-
capability_denied: "capability_denied";
|
|
209
207
|
approval_required: "approval_required";
|
|
208
|
+
capability_denied: "capability_denied";
|
|
210
209
|
validation_failed: "validation_failed";
|
|
210
|
+
provider_unavailable: "provider_unavailable";
|
|
211
211
|
execution_failed: "execution_failed";
|
|
212
|
-
output_truncated: "output_truncated";
|
|
213
|
-
timeout: "timeout";
|
|
214
212
|
cancelled: "cancelled";
|
|
213
|
+
timeout: "timeout";
|
|
214
|
+
output_truncated: "output_truncated";
|
|
215
215
|
artifact_unavailable: "artifact_unavailable";
|
|
216
216
|
}>;
|
|
217
217
|
level: z.ZodEnum<{
|
package/dist/testing/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as JsonValue, r as JsonObject } from "../json-value-schema-Bj42URkc.js";
|
|
2
|
-
import { b as PortalCallRequest, n as PortalCallResult } from "../portal-call-result-schema-
|
|
2
|
+
import { b as PortalCallRequest, n as PortalCallResult } from "../portal-call-result-schema-DjpKPcE_.js";
|
|
3
3
|
|
|
4
4
|
//#region src/testing/index.d.ts
|
|
5
5
|
interface CreatePortalCallRequestFixtureProps {
|
package/package.json
CHANGED