@agent-vm/agent-portal-sdk 0.0.147 → 0.0.149
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/contract-fixtures/portable-contracts/approval/managed-google-challenge.fixture.json +66 -0
- package/contract-fixtures/portable-contracts/discovery/describe-result.fixture.json +5 -1
- package/contract-fixtures/portable-contracts/discovery/google-describe-duplicate-availability.fixture.json +103 -0
- package/contract-fixtures/portable-contracts/discovery/google-describe-duplicate-requirements.fixture.json +83 -0
- package/contract-fixtures/portable-contracts/discovery/google-describe-unverified-ready.fixture.json +78 -0
- package/contract-fixtures/portable-contracts/discovery/google-describe-valid.fixture.json +144 -0
- package/contract-fixtures/portable-contracts/discovery/google-list-duplicate-availability.fixture.json +109 -0
- package/contract-fixtures/portable-contracts/discovery/google-list-duplicate-requirements.fixture.json +89 -0
- package/contract-fixtures/portable-contracts/discovery/google-list-unverified-ready.fixture.json +84 -0
- package/contract-fixtures/portable-contracts/discovery/google-list-valid.fixture.json +156 -0
- package/contract-fixtures/portable-contracts/discovery/google-search-duplicate-availability.fixture.json +108 -0
- package/contract-fixtures/portable-contracts/discovery/google-search-duplicate-requirements.fixture.json +88 -0
- package/contract-fixtures/portable-contracts/discovery/google-search-unverified-ready.fixture.json +83 -0
- package/contract-fixtures/portable-contracts/discovery/google-search-valid.fixture.json +154 -0
- package/contract-fixtures/portable-contracts/discovery/list-result.fixture.json +5 -1
- package/contract-fixtures/portable-contracts/discovery/search-result.fixture.json +5 -1
- package/contract-fixtures/portable-contracts/files/attachment-cleaned-result.fixture.json +16 -0
- package/contract-fixtures/portable-contracts/files/attachment-parent-path-rejected.fixture.json +17 -0
- package/contract-fixtures/portable-contracts/files/attachment-public-request.fixture.json +26 -0
- package/contract-fixtures/portable-contracts/files/attachment-public-result.fixture.json +26 -0
- package/contract-fixtures/portable-contracts/files/attachment-recipient-rejected.fixture.json +19 -0
- package/contract-fixtures/portable-contracts/files/attachment-settle-request.fixture.json +20 -0
- package/contract-fixtures/portable-contracts/files/attachment-stage-request.fixture.json +26 -0
- package/contract-fixtures/portable-contracts/files/attachment-staged-result.fixture.json +24 -0
- package/contract-fixtures/portable-contracts/files/file-list-request.fixture.json +14 -0
- package/contract-fixtures/portable-contracts/files/file-listed-result.fixture.json +21 -0
- package/contract-fixtures/portable-contracts/files/file-materialized-result.fixture.json +17 -0
- package/contract-fixtures/portable-contracts/files/file-request-root-rejected.fixture.json +15 -0
- package/contract-fixtures/portable-contracts/files/file-result-payload-rejected.fixture.json +18 -0
- package/contract-fixtures/portable-contracts/outcomes/completed-file-delivery-partial.fixture.json +84 -0
- package/contract-fixtures/portable-contracts/outcomes/invalid-retryable-file-delivery.fixture.json +40 -0
- package/dist/approval-surface/index.d.ts +1 -1
- package/dist/approval-surface/index.js +1 -1
- package/dist/{approval-surface-Cqk_hAtN.js → approval-surface-CfbAG-81.js} +4 -4
- package/dist/{approval-surface-Cqk_hAtN.js.map → approval-surface-CfbAG-81.js.map} +1 -1
- package/dist/artifact-surface/index.js +1 -1
- package/dist/{artifact-surface-CHEu4tDd.js → artifact-surface-Db5KQOA0.js} +2 -2
- package/dist/{artifact-surface-CHEu4tDd.js.map → artifact-surface-Db5KQOA0.js.map} +1 -1
- package/dist/capability-description-surface/index.d.ts +2 -2
- package/dist/capability-description-surface/index.js +3 -3
- package/dist/capability-description-surface-DKZLjpG4.js +2 -0
- package/dist/{capability-descriptor-schema-v9tj7yKr.js → capability-descriptor-schema-5evBt6Hl.js} +39 -3
- package/dist/capability-descriptor-schema-5evBt6Hl.js.map +1 -0
- package/dist/cli/tool-portal.js +5 -5
- package/dist/contracts/index.js +1 -1
- package/dist/{contracts-X9wWs2lP.js → contracts-K6l783Yb.js} +5 -5
- package/dist/{contracts-X9wWs2lP.js.map → contracts-K6l783Yb.js.map} +1 -1
- package/dist/gateway-runtime-client/index.d.ts +5 -3
- package/dist/gateway-runtime-client/index.d.ts.map +1 -1
- package/dist/gateway-runtime-client/index.js +13 -6
- package/dist/gateway-runtime-client/index.js.map +1 -1
- package/dist/{index-DV6xiWeS.d.ts → index-BSG2bf1j.d.ts} +3 -3
- package/dist/{index-DV6xiWeS.d.ts.map → index-BSG2bf1j.d.ts.map} +1 -1
- package/dist/{index-ciLRJYVb.d.ts → index-Ba_G25p_.d.ts} +37 -37
- package/dist/{index-ciLRJYVb.d.ts.map → index-Ba_G25p_.d.ts.map} +1 -1
- package/dist/index-ByBEiqZp.d.ts +388 -0
- package/dist/index-ByBEiqZp.d.ts.map +1 -0
- package/dist/{index-D4UDHMft.d.ts → index-C5NsqQls.d.ts} +31 -9
- package/dist/index-C5NsqQls.d.ts.map +1 -0
- package/dist/{index-3aVlpTwE.d.ts → index-C8gs_YWX.d.ts} +134 -18
- package/dist/{index-3aVlpTwE.d.ts.map → index-C8gs_YWX.d.ts.map} +1 -1
- package/dist/{index-C-QFWaH5.d.ts → index-E3B9TETl.d.ts} +11 -1
- package/dist/index-E3B9TETl.d.ts.map +1 -0
- package/dist/index.d.ts +7 -7
- package/dist/index.js +15 -15
- package/dist/{json-value-schema-Br5M7d7X.js → json-value-schema-rxMrw9uZ.js} +2 -2
- package/dist/{json-value-schema-Br5M7d7X.js.map → json-value-schema-rxMrw9uZ.js.map} +1 -1
- package/dist/{namespace-discovery-schema-DwbJHVLu.js → namespace-discovery-schema-BBWRZZnD.js} +2 -2
- package/dist/{namespace-discovery-schema-DwbJHVLu.js.map → namespace-discovery-schema-BBWRZZnD.js.map} +1 -1
- package/dist/portable-contracts/index.d.ts +1 -1
- package/dist/portable-contracts/index.js +2 -2
- package/dist/{portable-contracts-BJEMMNwI.js → portable-contracts-D7axGgu1.js} +75 -15
- package/dist/portable-contracts-D7axGgu1.js.map +1 -0
- package/dist/{portable-refinement-authoring-C1Q92x2G.js → portable-refinement-authoring-oFICWLOo.js} +16 -2
- package/dist/portable-refinement-authoring-oFICWLOo.js.map +1 -0
- package/dist/{portal-call-request-schema-Cl0kTLaX.js → portal-call-request-schema-B1dbBjmW.js} +4 -4
- package/dist/{portal-call-request-schema-Cl0kTLaX.js.map → portal-call-request-schema-B1dbBjmW.js.map} +1 -1
- package/dist/{portal-call-result-schema-CFnKfcvZ.d.ts → portal-call-result-schema-CjfCOa84.d.ts} +1561 -313
- package/dist/portal-call-result-schema-CjfCOa84.d.ts.map +1 -0
- package/dist/{portal-call-result-schema-B25_rzZZ.js → portal-call-result-schema-DVJ6FyTz.js} +24 -8
- package/dist/portal-call-result-schema-DVJ6FyTz.js.map +1 -0
- package/dist/portal-call-surface/index.d.ts +3 -3
- package/dist/portal-call-surface/index.js +4 -4
- package/dist/portal-call-surface-BPVX-rjw.js +175 -0
- package/dist/portal-call-surface-BPVX-rjw.js.map +1 -0
- package/dist/portal-event-surface/index.d.ts +1 -1
- package/dist/portal-event-surface/index.js +1 -1
- package/dist/{portal-event-surface-Bp3rXsBz.js → portal-event-surface-Z76kra2a.js} +2 -2
- package/dist/{portal-event-surface-Bp3rXsBz.js.map → portal-event-surface-Z76kra2a.js.map} +1 -1
- package/dist/{request-id-schema-Hq_6lSFV.js → request-id-schema-DQ84TX-D.js} +2 -2
- package/dist/{request-id-schema-Hq_6lSFV.js.map → request-id-schema-DQ84TX-D.js.map} +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/index.js +2 -2
- package/dist/tool-portal-mcp-client/index.d.ts +1 -1
- package/dist/tool-portal-mcp-client/index.js +1 -1
- package/dist/tool-portal-mcp-client/node-tool-portal-mcp-transport.d.ts +1 -1
- package/dist/{tool-portal-mcp-client-DZoloMod.js → tool-portal-mcp-client-DSDLoZ5e.js} +5 -5
- package/dist/{tool-portal-mcp-client-DZoloMod.js.map → tool-portal-mcp-client-DSDLoZ5e.js.map} +1 -1
- package/package.json +3 -2
- package/portable-contract-schema-manifest.json +1868 -79
- package/dist/capability-description-surface-CplIb93y.js +0 -2
- package/dist/capability-descriptor-schema-v9tj7yKr.js.map +0 -1
- package/dist/index-C-QFWaH5.d.ts.map +0 -1
- package/dist/index-D4UDHMft.d.ts.map +0 -1
- package/dist/index-m4Mlc5zK.d.ts +0 -142
- package/dist/index-m4Mlc5zK.d.ts.map +0 -1
- package/dist/portable-contracts-BJEMMNwI.js.map +0 -1
- package/dist/portable-refinement-authoring-C1Q92x2G.js.map +0 -1
- package/dist/portal-call-result-schema-B25_rzZZ.js.map +0 -1
- package/dist/portal-call-result-schema-CFnKfcvZ.d.ts.map +0 -1
- package/dist/portal-call-surface-qykVz_8k.js +0 -84
- package/dist/portal-call-surface-qykVz_8k.js.map +0 -1
package/dist/{portal-call-result-schema-CFnKfcvZ.d.ts → portal-call-result-schema-CjfCOa84.d.ts}
RENAMED
|
@@ -25,28 +25,50 @@ declare const TruncationMetadataSchema: z.ZodObject<{
|
|
|
25
25
|
omittedBytes: z.ZodOptional<z.ZodNumber>;
|
|
26
26
|
truncated: z.ZodBoolean;
|
|
27
27
|
}, z.core.$strict>;
|
|
28
|
-
declare const PortalApprovalChallengeSchema: z.ZodObject<{
|
|
28
|
+
declare const PortalApprovalChallengeSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
29
29
|
challengeId: z.ZodString;
|
|
30
30
|
expiresAt: z.ZodString;
|
|
31
|
-
}, z.core.$strict
|
|
31
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
32
|
+
challengeId: z.ZodString;
|
|
33
|
+
expiresAt: z.ZodString;
|
|
34
|
+
kind: z.ZodLiteral<"managed_google">;
|
|
35
|
+
managedGoogleDisplay: z.ZodObject<{
|
|
36
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
37
|
+
authorizationId: z.core.$ZodBranded<z.ZodUUID, "OAuthAuthorizationId", "out">;
|
|
38
|
+
accountAlias: z.ZodString;
|
|
39
|
+
applicationLabel: z.ZodString;
|
|
40
|
+
authorizationMetadataRevision: z.ZodNumber;
|
|
41
|
+
}, z.core.$strict>;
|
|
42
|
+
}, z.core.$strict>]>;
|
|
32
43
|
declare const PortalApprovalRequiredCallItemResultSchema: z.ZodObject<{
|
|
33
|
-
approvalChallenge: z.ZodObject<{
|
|
44
|
+
approvalChallenge: z.ZodUnion<readonly [z.ZodObject<{
|
|
34
45
|
challengeId: z.ZodString;
|
|
35
46
|
expiresAt: z.ZodString;
|
|
36
|
-
}, z.core.$strict
|
|
47
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
48
|
+
challengeId: z.ZodString;
|
|
49
|
+
expiresAt: z.ZodString;
|
|
50
|
+
kind: z.ZodLiteral<"managed_google">;
|
|
51
|
+
managedGoogleDisplay: z.ZodObject<{
|
|
52
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
53
|
+
authorizationId: z.core.$ZodBranded<z.ZodUUID, "OAuthAuthorizationId", "out">;
|
|
54
|
+
accountAlias: z.ZodString;
|
|
55
|
+
applicationLabel: z.ZodString;
|
|
56
|
+
authorizationMetadataRevision: z.ZodNumber;
|
|
57
|
+
}, z.core.$strict>;
|
|
58
|
+
}, z.core.$strict>]>;
|
|
37
59
|
error: z.ZodObject<{
|
|
38
60
|
message: z.ZodString;
|
|
39
61
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
40
62
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
41
63
|
code: z.ZodEnum<{
|
|
42
|
-
|
|
43
|
-
capability_denied: "capability_denied";
|
|
64
|
+
cancelled: "cancelled";
|
|
44
65
|
approval_required: "approval_required";
|
|
66
|
+
capability_denied: "capability_denied";
|
|
45
67
|
validation_failed: "validation_failed";
|
|
68
|
+
provider_unavailable: "provider_unavailable";
|
|
46
69
|
execution_failed: "execution_failed";
|
|
47
|
-
output_truncated: "output_truncated";
|
|
48
70
|
timeout: "timeout";
|
|
49
|
-
|
|
71
|
+
output_truncated: "output_truncated";
|
|
50
72
|
artifact_unavailable: "artifact_unavailable";
|
|
51
73
|
}>;
|
|
52
74
|
level: z.ZodEnum<{
|
|
@@ -70,7 +92,7 @@ declare const PortalApprovalRequiredCallItemResultSchema: z.ZodObject<{
|
|
|
70
92
|
owningGeneration: z.ZodString;
|
|
71
93
|
status: z.ZodLiteral<"approval_required">;
|
|
72
94
|
}, z.core.$strict>;
|
|
73
|
-
declare const PortalCallItemResultSchema: z.
|
|
95
|
+
declare const PortalCallItemResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
74
96
|
artifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
75
97
|
byteLength: z.ZodNumber;
|
|
76
98
|
expiresAt: z.ZodString;
|
|
@@ -80,14 +102,14 @@ declare const PortalCallItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
80
102
|
}, z.core.$strict>>>;
|
|
81
103
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
82
104
|
code: z.ZodEnum<{
|
|
83
|
-
|
|
84
|
-
capability_denied: "capability_denied";
|
|
105
|
+
cancelled: "cancelled";
|
|
85
106
|
approval_required: "approval_required";
|
|
107
|
+
capability_denied: "capability_denied";
|
|
86
108
|
validation_failed: "validation_failed";
|
|
109
|
+
provider_unavailable: "provider_unavailable";
|
|
87
110
|
execution_failed: "execution_failed";
|
|
88
|
-
output_truncated: "output_truncated";
|
|
89
111
|
timeout: "timeout";
|
|
90
|
-
|
|
112
|
+
output_truncated: "output_truncated";
|
|
91
113
|
artifact_unavailable: "artifact_unavailable";
|
|
92
114
|
}>;
|
|
93
115
|
level: z.ZodEnum<{
|
|
@@ -115,16 +137,23 @@ declare const PortalCallItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
115
137
|
}, z.core.$strict>>;
|
|
116
138
|
value: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
117
139
|
}, z.core.$strict>, z.ZodObject<{
|
|
140
|
+
artifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
141
|
+
byteLength: z.ZodNumber;
|
|
142
|
+
expiresAt: z.ZodString;
|
|
143
|
+
fingerprint: z.ZodString;
|
|
144
|
+
id: z.ZodString;
|
|
145
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
146
|
+
}, z.core.$strict>>>;
|
|
118
147
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
119
148
|
code: z.ZodEnum<{
|
|
120
|
-
|
|
121
|
-
capability_denied: "capability_denied";
|
|
149
|
+
cancelled: "cancelled";
|
|
122
150
|
approval_required: "approval_required";
|
|
151
|
+
capability_denied: "capability_denied";
|
|
123
152
|
validation_failed: "validation_failed";
|
|
153
|
+
provider_unavailable: "provider_unavailable";
|
|
124
154
|
execution_failed: "execution_failed";
|
|
125
|
-
output_truncated: "output_truncated";
|
|
126
155
|
timeout: "timeout";
|
|
127
|
-
|
|
156
|
+
output_truncated: "output_truncated";
|
|
128
157
|
artifact_unavailable: "artifact_unavailable";
|
|
129
158
|
}>;
|
|
130
159
|
level: z.ZodEnum<{
|
|
@@ -138,29 +167,99 @@ declare const PortalCallItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
138
167
|
}, z.core.$strict>>>;
|
|
139
168
|
error: z.ZodObject<{
|
|
140
169
|
code: z.ZodEnum<{
|
|
141
|
-
|
|
170
|
+
cancelled: "cancelled";
|
|
171
|
+
invalid_request: "invalid_request";
|
|
172
|
+
not_found: "not_found";
|
|
173
|
+
not_authorized: "not_authorized";
|
|
174
|
+
approval_required: "approval_required";
|
|
142
175
|
capability_denied: "capability_denied";
|
|
176
|
+
validation_failed: "validation_failed";
|
|
177
|
+
provider_unavailable: "provider_unavailable";
|
|
178
|
+
execution_failed: "execution_failed";
|
|
179
|
+
timeout: "timeout";
|
|
180
|
+
}>;
|
|
181
|
+
message: z.ZodString;
|
|
182
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
183
|
+
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
184
|
+
code: z.ZodEnum<{
|
|
185
|
+
cancelled: "cancelled";
|
|
186
|
+
approval_required: "approval_required";
|
|
187
|
+
capability_denied: "capability_denied";
|
|
188
|
+
validation_failed: "validation_failed";
|
|
189
|
+
provider_unavailable: "provider_unavailable";
|
|
190
|
+
execution_failed: "execution_failed";
|
|
191
|
+
timeout: "timeout";
|
|
192
|
+
output_truncated: "output_truncated";
|
|
193
|
+
artifact_unavailable: "artifact_unavailable";
|
|
194
|
+
}>;
|
|
195
|
+
level: z.ZodEnum<{
|
|
196
|
+
error: "error";
|
|
197
|
+
debug: "debug";
|
|
198
|
+
info: "info";
|
|
199
|
+
warn: "warn";
|
|
200
|
+
}>;
|
|
201
|
+
safeMessage: z.ZodString;
|
|
202
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
203
|
+
}, z.core.$strict>>;
|
|
204
|
+
}, z.core.$strict>;
|
|
205
|
+
id: z.ZodString;
|
|
206
|
+
operationId: z.ZodString;
|
|
207
|
+
outcome: z.ZodObject<{
|
|
208
|
+
certainty: z.ZodLiteral<"proven">;
|
|
209
|
+
completion: z.ZodLiteral<"failed">;
|
|
210
|
+
kind: z.ZodLiteral<"completed">;
|
|
211
|
+
retryClass: z.ZodLiteral<"forbidden">;
|
|
212
|
+
}, z.core.$strict>;
|
|
213
|
+
owningGeneration: z.ZodString;
|
|
214
|
+
status: z.ZodLiteral<"error">;
|
|
215
|
+
value: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
216
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
217
|
+
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
218
|
+
code: z.ZodEnum<{
|
|
219
|
+
cancelled: "cancelled";
|
|
143
220
|
approval_required: "approval_required";
|
|
221
|
+
capability_denied: "capability_denied";
|
|
144
222
|
validation_failed: "validation_failed";
|
|
223
|
+
provider_unavailable: "provider_unavailable";
|
|
145
224
|
execution_failed: "execution_failed";
|
|
146
225
|
timeout: "timeout";
|
|
226
|
+
output_truncated: "output_truncated";
|
|
227
|
+
artifact_unavailable: "artifact_unavailable";
|
|
228
|
+
}>;
|
|
229
|
+
level: z.ZodEnum<{
|
|
230
|
+
error: "error";
|
|
231
|
+
debug: "debug";
|
|
232
|
+
info: "info";
|
|
233
|
+
warn: "warn";
|
|
234
|
+
}>;
|
|
235
|
+
safeMessage: z.ZodString;
|
|
236
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
237
|
+
}, z.core.$strict>>>;
|
|
238
|
+
error: z.ZodObject<{
|
|
239
|
+
code: z.ZodEnum<{
|
|
147
240
|
cancelled: "cancelled";
|
|
148
241
|
invalid_request: "invalid_request";
|
|
149
242
|
not_found: "not_found";
|
|
150
243
|
not_authorized: "not_authorized";
|
|
244
|
+
approval_required: "approval_required";
|
|
245
|
+
capability_denied: "capability_denied";
|
|
246
|
+
validation_failed: "validation_failed";
|
|
247
|
+
provider_unavailable: "provider_unavailable";
|
|
248
|
+
execution_failed: "execution_failed";
|
|
249
|
+
timeout: "timeout";
|
|
151
250
|
}>;
|
|
152
251
|
message: z.ZodString;
|
|
153
252
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
154
253
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
155
254
|
code: z.ZodEnum<{
|
|
156
|
-
|
|
157
|
-
capability_denied: "capability_denied";
|
|
255
|
+
cancelled: "cancelled";
|
|
158
256
|
approval_required: "approval_required";
|
|
257
|
+
capability_denied: "capability_denied";
|
|
159
258
|
validation_failed: "validation_failed";
|
|
259
|
+
provider_unavailable: "provider_unavailable";
|
|
160
260
|
execution_failed: "execution_failed";
|
|
161
|
-
output_truncated: "output_truncated";
|
|
162
261
|
timeout: "timeout";
|
|
163
|
-
|
|
262
|
+
output_truncated: "output_truncated";
|
|
164
263
|
artifact_unavailable: "artifact_unavailable";
|
|
165
264
|
}>;
|
|
166
265
|
level: z.ZodEnum<{
|
|
@@ -208,23 +307,34 @@ declare const PortalCallItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
208
307
|
owningGeneration: z.ZodString;
|
|
209
308
|
status: z.ZodLiteral<"error">;
|
|
210
309
|
}, z.core.$strict>, z.ZodObject<{
|
|
211
|
-
approvalChallenge: z.ZodObject<{
|
|
310
|
+
approvalChallenge: z.ZodUnion<readonly [z.ZodObject<{
|
|
212
311
|
challengeId: z.ZodString;
|
|
213
312
|
expiresAt: z.ZodString;
|
|
214
|
-
}, z.core.$strict
|
|
313
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
314
|
+
challengeId: z.ZodString;
|
|
315
|
+
expiresAt: z.ZodString;
|
|
316
|
+
kind: z.ZodLiteral<"managed_google">;
|
|
317
|
+
managedGoogleDisplay: z.ZodObject<{
|
|
318
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
319
|
+
authorizationId: z.core.$ZodBranded<z.ZodUUID, "OAuthAuthorizationId", "out">;
|
|
320
|
+
accountAlias: z.ZodString;
|
|
321
|
+
applicationLabel: z.ZodString;
|
|
322
|
+
authorizationMetadataRevision: z.ZodNumber;
|
|
323
|
+
}, z.core.$strict>;
|
|
324
|
+
}, z.core.$strict>]>;
|
|
215
325
|
error: z.ZodObject<{
|
|
216
326
|
message: z.ZodString;
|
|
217
327
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
218
328
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
219
329
|
code: z.ZodEnum<{
|
|
220
|
-
|
|
221
|
-
capability_denied: "capability_denied";
|
|
330
|
+
cancelled: "cancelled";
|
|
222
331
|
approval_required: "approval_required";
|
|
332
|
+
capability_denied: "capability_denied";
|
|
223
333
|
validation_failed: "validation_failed";
|
|
334
|
+
provider_unavailable: "provider_unavailable";
|
|
224
335
|
execution_failed: "execution_failed";
|
|
225
|
-
output_truncated: "output_truncated";
|
|
226
336
|
timeout: "timeout";
|
|
227
|
-
|
|
337
|
+
output_truncated: "output_truncated";
|
|
228
338
|
artifact_unavailable: "artifact_unavailable";
|
|
229
339
|
}>;
|
|
230
340
|
level: z.ZodEnum<{
|
|
@@ -247,12 +357,21 @@ declare const PortalCallItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
247
357
|
}, z.core.$strict>;
|
|
248
358
|
owningGeneration: z.ZodString;
|
|
249
359
|
status: z.ZodLiteral<"approval_required">;
|
|
250
|
-
}, z.core.$strict>]
|
|
360
|
+
}, z.core.$strict>]>;
|
|
251
361
|
declare const PortalBackendListItemValueSchema: z.ZodObject<{
|
|
252
362
|
namespaces: z.ZodArray<z.ZodString>;
|
|
253
363
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
254
364
|
tools: z.ZodArray<z.ZodObject<{
|
|
365
|
+
callDisposition: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
366
|
+
kind: z.ZodLiteral<"without-approval">;
|
|
367
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
368
|
+
kind: z.ZodLiteral<"requires-approval">;
|
|
369
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
370
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
371
|
+
kind: z.ZodLiteral<"invocation-dependent">;
|
|
372
|
+
}, z.core.$strict>], "kind">>;
|
|
255
373
|
description: z.ZodOptional<z.ZodString>;
|
|
374
|
+
descriptionTruncated: z.ZodOptional<z.ZodBoolean>;
|
|
256
375
|
input: z.ZodObject<{
|
|
257
376
|
optional: z.ZodArray<z.ZodString>;
|
|
258
377
|
propertyCount: z.ZodNumber;
|
|
@@ -279,12 +398,70 @@ declare const PortalBackendListItemValueSchema: z.ZodObject<{
|
|
|
279
398
|
}, z.core.$strict>>;
|
|
280
399
|
title: z.ZodOptional<z.ZodString>;
|
|
281
400
|
name: z.ZodString;
|
|
401
|
+
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
402
|
+
kind: z.ZodLiteral<"operation-options">;
|
|
403
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
404
|
+
requirement: z.ZodObject<{
|
|
405
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
406
|
+
operationId: z.ZodString;
|
|
407
|
+
}, z.core.$strict>;
|
|
408
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
409
|
+
kind: z.ZodLiteral<"accounts">;
|
|
410
|
+
accounts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
411
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
412
|
+
metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
413
|
+
kind: z.ZodLiteral<"verified">;
|
|
414
|
+
accountAlias: z.ZodString;
|
|
415
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
416
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
417
|
+
}, z.core.$strict>], "kind">;
|
|
418
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
419
|
+
kind: z.ZodLiteral<"ready">;
|
|
420
|
+
disposition: z.ZodEnum<{
|
|
421
|
+
ask: "ask";
|
|
422
|
+
allow: "allow";
|
|
423
|
+
}>;
|
|
424
|
+
overrideRevision: z.ZodNumber;
|
|
425
|
+
defaultsRevision: z.ZodString;
|
|
426
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
427
|
+
kind: z.ZodLiteral<"consent-required">;
|
|
428
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
429
|
+
kind: z.ZodLiteral<"denied">;
|
|
430
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
431
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
432
|
+
}, z.core.$strict>], "kind">;
|
|
433
|
+
}, z.core.$strict>>>;
|
|
434
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
435
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
436
|
+
}, z.core.$strict>], "kind">;
|
|
437
|
+
}, z.core.$strict>>>;
|
|
438
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
439
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
440
|
+
}, z.core.$strict>], "kind">>;
|
|
441
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
442
|
+
kind: z.ZodLiteral<"google-account">;
|
|
443
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
444
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
445
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
446
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
447
|
+
operationId: z.ZodString;
|
|
448
|
+
}, z.core.$strict>>>;
|
|
449
|
+
}, z.core.$strict>>;
|
|
282
450
|
toolRef: z.ZodString;
|
|
283
451
|
}, z.core.$strict>>;
|
|
284
452
|
}, z.core.$strict>;
|
|
285
453
|
declare const PortalBackendSearchItemValueSchema: z.ZodObject<{
|
|
286
454
|
tools: z.ZodArray<z.ZodObject<{
|
|
455
|
+
callDisposition: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
456
|
+
kind: z.ZodLiteral<"without-approval">;
|
|
457
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
458
|
+
kind: z.ZodLiteral<"requires-approval">;
|
|
459
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
460
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
461
|
+
kind: z.ZodLiteral<"invocation-dependent">;
|
|
462
|
+
}, z.core.$strict>], "kind">>;
|
|
287
463
|
description: z.ZodOptional<z.ZodString>;
|
|
464
|
+
descriptionTruncated: z.ZodOptional<z.ZodBoolean>;
|
|
288
465
|
input: z.ZodObject<{
|
|
289
466
|
optional: z.ZodArray<z.ZodString>;
|
|
290
467
|
propertyCount: z.ZodNumber;
|
|
@@ -311,6 +488,55 @@ declare const PortalBackendSearchItemValueSchema: z.ZodObject<{
|
|
|
311
488
|
}, z.core.$strict>>;
|
|
312
489
|
title: z.ZodOptional<z.ZodString>;
|
|
313
490
|
name: z.ZodString;
|
|
491
|
+
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
492
|
+
kind: z.ZodLiteral<"operation-options">;
|
|
493
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
494
|
+
requirement: z.ZodObject<{
|
|
495
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
496
|
+
operationId: z.ZodString;
|
|
497
|
+
}, z.core.$strict>;
|
|
498
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
499
|
+
kind: z.ZodLiteral<"accounts">;
|
|
500
|
+
accounts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
501
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
502
|
+
metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
503
|
+
kind: z.ZodLiteral<"verified">;
|
|
504
|
+
accountAlias: z.ZodString;
|
|
505
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
506
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
507
|
+
}, z.core.$strict>], "kind">;
|
|
508
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
509
|
+
kind: z.ZodLiteral<"ready">;
|
|
510
|
+
disposition: z.ZodEnum<{
|
|
511
|
+
ask: "ask";
|
|
512
|
+
allow: "allow";
|
|
513
|
+
}>;
|
|
514
|
+
overrideRevision: z.ZodNumber;
|
|
515
|
+
defaultsRevision: z.ZodString;
|
|
516
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
517
|
+
kind: z.ZodLiteral<"consent-required">;
|
|
518
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
519
|
+
kind: z.ZodLiteral<"denied">;
|
|
520
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
521
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
522
|
+
}, z.core.$strict>], "kind">;
|
|
523
|
+
}, z.core.$strict>>>;
|
|
524
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
525
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
526
|
+
}, z.core.$strict>], "kind">;
|
|
527
|
+
}, z.core.$strict>>>;
|
|
528
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
529
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
530
|
+
}, z.core.$strict>], "kind">>;
|
|
531
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
532
|
+
kind: z.ZodLiteral<"google-account">;
|
|
533
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
534
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
535
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
536
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
537
|
+
operationId: z.ZodString;
|
|
538
|
+
}, z.core.$strict>>>;
|
|
539
|
+
}, z.core.$strict>>;
|
|
314
540
|
toolRef: z.ZodString;
|
|
315
541
|
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
316
542
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -321,6 +547,15 @@ declare const PortalBackendSearchItemValueSchema: z.ZodObject<{
|
|
|
321
547
|
declare const PortalBackendDescribeItemValueSchema: z.ZodObject<{
|
|
322
548
|
tools: z.ZodArray<z.ZodObject<{
|
|
323
549
|
annotations: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
550
|
+
callDisposition: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
551
|
+
kind: z.ZodLiteral<"without-approval">;
|
|
552
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
553
|
+
kind: z.ZodLiteral<"requires-approval">;
|
|
554
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
555
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
556
|
+
kind: z.ZodLiteral<"invocation-dependent">;
|
|
557
|
+
}, z.core.$strict>], "kind">>;
|
|
558
|
+
description: z.ZodOptional<z.ZodString>;
|
|
324
559
|
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
325
560
|
namespace: z.ZodString;
|
|
326
561
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -332,7 +567,57 @@ declare const PortalBackendDescribeItemValueSchema: z.ZodObject<{
|
|
|
332
567
|
describe_before_call: "describe_before_call";
|
|
333
568
|
}>;
|
|
334
569
|
}, z.core.$strict>>;
|
|
570
|
+
title: z.ZodOptional<z.ZodString>;
|
|
335
571
|
name: z.ZodString;
|
|
572
|
+
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
573
|
+
kind: z.ZodLiteral<"operation-options">;
|
|
574
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
575
|
+
requirement: z.ZodObject<{
|
|
576
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
577
|
+
operationId: z.ZodString;
|
|
578
|
+
}, z.core.$strict>;
|
|
579
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
580
|
+
kind: z.ZodLiteral<"accounts">;
|
|
581
|
+
accounts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
582
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
583
|
+
metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
584
|
+
kind: z.ZodLiteral<"verified">;
|
|
585
|
+
accountAlias: z.ZodString;
|
|
586
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
587
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
588
|
+
}, z.core.$strict>], "kind">;
|
|
589
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
590
|
+
kind: z.ZodLiteral<"ready">;
|
|
591
|
+
disposition: z.ZodEnum<{
|
|
592
|
+
ask: "ask";
|
|
593
|
+
allow: "allow";
|
|
594
|
+
}>;
|
|
595
|
+
overrideRevision: z.ZodNumber;
|
|
596
|
+
defaultsRevision: z.ZodString;
|
|
597
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
598
|
+
kind: z.ZodLiteral<"consent-required">;
|
|
599
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
600
|
+
kind: z.ZodLiteral<"denied">;
|
|
601
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
602
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
603
|
+
}, z.core.$strict>], "kind">;
|
|
604
|
+
}, z.core.$strict>>>;
|
|
605
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
606
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
607
|
+
}, z.core.$strict>], "kind">;
|
|
608
|
+
}, z.core.$strict>>>;
|
|
609
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
610
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
611
|
+
}, z.core.$strict>], "kind">>;
|
|
612
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
613
|
+
kind: z.ZodLiteral<"google-account">;
|
|
614
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
615
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
616
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
617
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
618
|
+
operationId: z.ZodString;
|
|
619
|
+
}, z.core.$strict>>>;
|
|
620
|
+
}, z.core.$strict>>;
|
|
336
621
|
toolRef: z.ZodString;
|
|
337
622
|
typescriptHelper: z.ZodOptional<z.ZodString>;
|
|
338
623
|
zod: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -342,7 +627,16 @@ declare const PortalListItemValueSchema: z.ZodObject<{
|
|
|
342
627
|
namespaces: z.ZodArray<z.ZodString>;
|
|
343
628
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
344
629
|
tools: z.ZodArray<z.ZodObject<{
|
|
630
|
+
callDisposition: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
631
|
+
kind: z.ZodLiteral<"without-approval">;
|
|
632
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
633
|
+
kind: z.ZodLiteral<"requires-approval">;
|
|
634
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
635
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
636
|
+
kind: z.ZodLiteral<"invocation-dependent">;
|
|
637
|
+
}, z.core.$strict>], "kind">>;
|
|
345
638
|
description: z.ZodOptional<z.ZodString>;
|
|
639
|
+
descriptionTruncated: z.ZodOptional<z.ZodBoolean>;
|
|
346
640
|
input: z.ZodObject<{
|
|
347
641
|
optional: z.ZodArray<z.ZodString>;
|
|
348
642
|
propertyCount: z.ZodNumber;
|
|
@@ -369,6 +663,55 @@ declare const PortalListItemValueSchema: z.ZodObject<{
|
|
|
369
663
|
}, z.core.$strict>>;
|
|
370
664
|
title: z.ZodOptional<z.ZodString>;
|
|
371
665
|
name: z.ZodString;
|
|
666
|
+
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
667
|
+
kind: z.ZodLiteral<"operation-options">;
|
|
668
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
669
|
+
requirement: z.ZodObject<{
|
|
670
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
671
|
+
operationId: z.ZodString;
|
|
672
|
+
}, z.core.$strict>;
|
|
673
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
674
|
+
kind: z.ZodLiteral<"accounts">;
|
|
675
|
+
accounts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
676
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
677
|
+
metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
678
|
+
kind: z.ZodLiteral<"verified">;
|
|
679
|
+
accountAlias: z.ZodString;
|
|
680
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
681
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
682
|
+
}, z.core.$strict>], "kind">;
|
|
683
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
684
|
+
kind: z.ZodLiteral<"ready">;
|
|
685
|
+
disposition: z.ZodEnum<{
|
|
686
|
+
ask: "ask";
|
|
687
|
+
allow: "allow";
|
|
688
|
+
}>;
|
|
689
|
+
overrideRevision: z.ZodNumber;
|
|
690
|
+
defaultsRevision: z.ZodString;
|
|
691
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
692
|
+
kind: z.ZodLiteral<"consent-required">;
|
|
693
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
694
|
+
kind: z.ZodLiteral<"denied">;
|
|
695
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
696
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
697
|
+
}, z.core.$strict>], "kind">;
|
|
698
|
+
}, z.core.$strict>>>;
|
|
699
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
700
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
701
|
+
}, z.core.$strict>], "kind">;
|
|
702
|
+
}, z.core.$strict>>>;
|
|
703
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
704
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
705
|
+
}, z.core.$strict>], "kind">>;
|
|
706
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
707
|
+
kind: z.ZodLiteral<"google-account">;
|
|
708
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
709
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
710
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
711
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
712
|
+
operationId: z.ZodString;
|
|
713
|
+
}, z.core.$strict>>>;
|
|
714
|
+
}, z.core.$strict>>;
|
|
372
715
|
toolRef: z.ZodString;
|
|
373
716
|
}, z.core.$strict>>;
|
|
374
717
|
namespaceDiscovery: z.ZodArray<z.ZodObject<{
|
|
@@ -378,7 +721,16 @@ declare const PortalListItemValueSchema: z.ZodObject<{
|
|
|
378
721
|
}, z.core.$strict>;
|
|
379
722
|
declare const PortalSearchItemValueSchema: z.ZodObject<{
|
|
380
723
|
tools: z.ZodArray<z.ZodObject<{
|
|
724
|
+
callDisposition: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
725
|
+
kind: z.ZodLiteral<"without-approval">;
|
|
726
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
727
|
+
kind: z.ZodLiteral<"requires-approval">;
|
|
728
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
729
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
730
|
+
kind: z.ZodLiteral<"invocation-dependent">;
|
|
731
|
+
}, z.core.$strict>], "kind">>;
|
|
381
732
|
description: z.ZodOptional<z.ZodString>;
|
|
733
|
+
descriptionTruncated: z.ZodOptional<z.ZodBoolean>;
|
|
382
734
|
input: z.ZodObject<{
|
|
383
735
|
optional: z.ZodArray<z.ZodString>;
|
|
384
736
|
propertyCount: z.ZodNumber;
|
|
@@ -405,6 +757,55 @@ declare const PortalSearchItemValueSchema: z.ZodObject<{
|
|
|
405
757
|
}, z.core.$strict>>;
|
|
406
758
|
title: z.ZodOptional<z.ZodString>;
|
|
407
759
|
name: z.ZodString;
|
|
760
|
+
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
761
|
+
kind: z.ZodLiteral<"operation-options">;
|
|
762
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
763
|
+
requirement: z.ZodObject<{
|
|
764
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
765
|
+
operationId: z.ZodString;
|
|
766
|
+
}, z.core.$strict>;
|
|
767
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
768
|
+
kind: z.ZodLiteral<"accounts">;
|
|
769
|
+
accounts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
770
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
771
|
+
metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
772
|
+
kind: z.ZodLiteral<"verified">;
|
|
773
|
+
accountAlias: z.ZodString;
|
|
774
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
775
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
776
|
+
}, z.core.$strict>], "kind">;
|
|
777
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
778
|
+
kind: z.ZodLiteral<"ready">;
|
|
779
|
+
disposition: z.ZodEnum<{
|
|
780
|
+
ask: "ask";
|
|
781
|
+
allow: "allow";
|
|
782
|
+
}>;
|
|
783
|
+
overrideRevision: z.ZodNumber;
|
|
784
|
+
defaultsRevision: z.ZodString;
|
|
785
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
786
|
+
kind: z.ZodLiteral<"consent-required">;
|
|
787
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
788
|
+
kind: z.ZodLiteral<"denied">;
|
|
789
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
790
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
791
|
+
}, z.core.$strict>], "kind">;
|
|
792
|
+
}, z.core.$strict>>>;
|
|
793
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
794
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
795
|
+
}, z.core.$strict>], "kind">;
|
|
796
|
+
}, z.core.$strict>>>;
|
|
797
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
798
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
799
|
+
}, z.core.$strict>], "kind">>;
|
|
800
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
801
|
+
kind: z.ZodLiteral<"google-account">;
|
|
802
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
803
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
804
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
805
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
806
|
+
operationId: z.ZodString;
|
|
807
|
+
}, z.core.$strict>>>;
|
|
808
|
+
}, z.core.$strict>>;
|
|
408
809
|
toolRef: z.ZodString;
|
|
409
810
|
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
410
811
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -419,6 +820,15 @@ declare const PortalSearchItemValueSchema: z.ZodObject<{
|
|
|
419
820
|
declare const PortalDescribeItemValueSchema: z.ZodObject<{
|
|
420
821
|
tools: z.ZodArray<z.ZodObject<{
|
|
421
822
|
annotations: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
823
|
+
callDisposition: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
824
|
+
kind: z.ZodLiteral<"without-approval">;
|
|
825
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
826
|
+
kind: z.ZodLiteral<"requires-approval">;
|
|
827
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
828
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
829
|
+
kind: z.ZodLiteral<"invocation-dependent">;
|
|
830
|
+
}, z.core.$strict>], "kind">>;
|
|
831
|
+
description: z.ZodOptional<z.ZodString>;
|
|
422
832
|
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
423
833
|
namespace: z.ZodString;
|
|
424
834
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -430,7 +840,57 @@ declare const PortalDescribeItemValueSchema: z.ZodObject<{
|
|
|
430
840
|
describe_before_call: "describe_before_call";
|
|
431
841
|
}>;
|
|
432
842
|
}, z.core.$strict>>;
|
|
843
|
+
title: z.ZodOptional<z.ZodString>;
|
|
433
844
|
name: z.ZodString;
|
|
845
|
+
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
846
|
+
kind: z.ZodLiteral<"operation-options">;
|
|
847
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
848
|
+
requirement: z.ZodObject<{
|
|
849
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
850
|
+
operationId: z.ZodString;
|
|
851
|
+
}, z.core.$strict>;
|
|
852
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
853
|
+
kind: z.ZodLiteral<"accounts">;
|
|
854
|
+
accounts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
855
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
856
|
+
metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
857
|
+
kind: z.ZodLiteral<"verified">;
|
|
858
|
+
accountAlias: z.ZodString;
|
|
859
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
860
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
861
|
+
}, z.core.$strict>], "kind">;
|
|
862
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
863
|
+
kind: z.ZodLiteral<"ready">;
|
|
864
|
+
disposition: z.ZodEnum<{
|
|
865
|
+
ask: "ask";
|
|
866
|
+
allow: "allow";
|
|
867
|
+
}>;
|
|
868
|
+
overrideRevision: z.ZodNumber;
|
|
869
|
+
defaultsRevision: z.ZodString;
|
|
870
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
871
|
+
kind: z.ZodLiteral<"consent-required">;
|
|
872
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
873
|
+
kind: z.ZodLiteral<"denied">;
|
|
874
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
875
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
876
|
+
}, z.core.$strict>], "kind">;
|
|
877
|
+
}, z.core.$strict>>>;
|
|
878
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
879
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
880
|
+
}, z.core.$strict>], "kind">;
|
|
881
|
+
}, z.core.$strict>>>;
|
|
882
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
883
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
884
|
+
}, z.core.$strict>], "kind">>;
|
|
885
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
886
|
+
kind: z.ZodLiteral<"google-account">;
|
|
887
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
888
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
889
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
890
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
891
|
+
operationId: z.ZodString;
|
|
892
|
+
}, z.core.$strict>>>;
|
|
893
|
+
}, z.core.$strict>>;
|
|
434
894
|
toolRef: z.ZodString;
|
|
435
895
|
typescriptHelper: z.ZodOptional<z.ZodString>;
|
|
436
896
|
zod: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -450,14 +910,14 @@ declare const PortalBackendListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
450
910
|
}, z.core.$strict>>>;
|
|
451
911
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
452
912
|
code: z.ZodEnum<{
|
|
453
|
-
|
|
454
|
-
capability_denied: "capability_denied";
|
|
913
|
+
cancelled: "cancelled";
|
|
455
914
|
approval_required: "approval_required";
|
|
915
|
+
capability_denied: "capability_denied";
|
|
456
916
|
validation_failed: "validation_failed";
|
|
917
|
+
provider_unavailable: "provider_unavailable";
|
|
457
918
|
execution_failed: "execution_failed";
|
|
458
|
-
output_truncated: "output_truncated";
|
|
459
919
|
timeout: "timeout";
|
|
460
|
-
|
|
920
|
+
output_truncated: "output_truncated";
|
|
461
921
|
artifact_unavailable: "artifact_unavailable";
|
|
462
922
|
}>;
|
|
463
923
|
level: z.ZodEnum<{
|
|
@@ -479,7 +939,16 @@ declare const PortalBackendListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
479
939
|
namespaces: z.ZodArray<z.ZodString>;
|
|
480
940
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
481
941
|
tools: z.ZodArray<z.ZodObject<{
|
|
942
|
+
callDisposition: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
943
|
+
kind: z.ZodLiteral<"without-approval">;
|
|
944
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
945
|
+
kind: z.ZodLiteral<"requires-approval">;
|
|
946
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
947
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
948
|
+
kind: z.ZodLiteral<"invocation-dependent">;
|
|
949
|
+
}, z.core.$strict>], "kind">>;
|
|
482
950
|
description: z.ZodOptional<z.ZodString>;
|
|
951
|
+
descriptionTruncated: z.ZodOptional<z.ZodBoolean>;
|
|
483
952
|
input: z.ZodObject<{
|
|
484
953
|
optional: z.ZodArray<z.ZodString>;
|
|
485
954
|
propertyCount: z.ZodNumber;
|
|
@@ -506,20 +975,69 @@ declare const PortalBackendListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
506
975
|
}, z.core.$strict>>;
|
|
507
976
|
title: z.ZodOptional<z.ZodString>;
|
|
508
977
|
name: z.ZodString;
|
|
978
|
+
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
979
|
+
kind: z.ZodLiteral<"operation-options">;
|
|
980
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
981
|
+
requirement: z.ZodObject<{
|
|
982
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
983
|
+
operationId: z.ZodString;
|
|
984
|
+
}, z.core.$strict>;
|
|
985
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
986
|
+
kind: z.ZodLiteral<"accounts">;
|
|
987
|
+
accounts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
988
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
989
|
+
metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
990
|
+
kind: z.ZodLiteral<"verified">;
|
|
991
|
+
accountAlias: z.ZodString;
|
|
992
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
993
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
994
|
+
}, z.core.$strict>], "kind">;
|
|
995
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
996
|
+
kind: z.ZodLiteral<"ready">;
|
|
997
|
+
disposition: z.ZodEnum<{
|
|
998
|
+
ask: "ask";
|
|
999
|
+
allow: "allow";
|
|
1000
|
+
}>;
|
|
1001
|
+
overrideRevision: z.ZodNumber;
|
|
1002
|
+
defaultsRevision: z.ZodString;
|
|
1003
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1004
|
+
kind: z.ZodLiteral<"consent-required">;
|
|
1005
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1006
|
+
kind: z.ZodLiteral<"denied">;
|
|
1007
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1008
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1009
|
+
}, z.core.$strict>], "kind">;
|
|
1010
|
+
}, z.core.$strict>>>;
|
|
1011
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1012
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1013
|
+
}, z.core.$strict>], "kind">;
|
|
1014
|
+
}, z.core.$strict>>>;
|
|
1015
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1016
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1017
|
+
}, z.core.$strict>], "kind">>;
|
|
1018
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
1019
|
+
kind: z.ZodLiteral<"google-account">;
|
|
1020
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
1021
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
1022
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1023
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
1024
|
+
operationId: z.ZodString;
|
|
1025
|
+
}, z.core.$strict>>>;
|
|
1026
|
+
}, z.core.$strict>>;
|
|
509
1027
|
toolRef: z.ZodString;
|
|
510
1028
|
}, z.core.$strict>>;
|
|
511
1029
|
}, z.core.$strict>;
|
|
512
1030
|
}, z.core.$strict>, z.ZodObject<{
|
|
513
1031
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
514
1032
|
code: z.ZodEnum<{
|
|
515
|
-
|
|
516
|
-
capability_denied: "capability_denied";
|
|
1033
|
+
cancelled: "cancelled";
|
|
517
1034
|
approval_required: "approval_required";
|
|
1035
|
+
capability_denied: "capability_denied";
|
|
518
1036
|
validation_failed: "validation_failed";
|
|
1037
|
+
provider_unavailable: "provider_unavailable";
|
|
519
1038
|
execution_failed: "execution_failed";
|
|
520
|
-
output_truncated: "output_truncated";
|
|
521
1039
|
timeout: "timeout";
|
|
522
|
-
|
|
1040
|
+
output_truncated: "output_truncated";
|
|
523
1041
|
artifact_unavailable: "artifact_unavailable";
|
|
524
1042
|
}>;
|
|
525
1043
|
level: z.ZodEnum<{
|
|
@@ -533,29 +1051,29 @@ declare const PortalBackendListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
533
1051
|
}, z.core.$strict>>>;
|
|
534
1052
|
error: z.ZodObject<{
|
|
535
1053
|
code: z.ZodEnum<{
|
|
536
|
-
provider_unavailable: "provider_unavailable";
|
|
537
|
-
capability_denied: "capability_denied";
|
|
538
|
-
approval_required: "approval_required";
|
|
539
|
-
validation_failed: "validation_failed";
|
|
540
|
-
execution_failed: "execution_failed";
|
|
541
|
-
timeout: "timeout";
|
|
542
1054
|
cancelled: "cancelled";
|
|
543
1055
|
invalid_request: "invalid_request";
|
|
544
1056
|
not_found: "not_found";
|
|
545
1057
|
not_authorized: "not_authorized";
|
|
1058
|
+
approval_required: "approval_required";
|
|
1059
|
+
capability_denied: "capability_denied";
|
|
1060
|
+
validation_failed: "validation_failed";
|
|
1061
|
+
provider_unavailable: "provider_unavailable";
|
|
1062
|
+
execution_failed: "execution_failed";
|
|
1063
|
+
timeout: "timeout";
|
|
546
1064
|
}>;
|
|
547
1065
|
message: z.ZodString;
|
|
548
1066
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
549
1067
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
550
1068
|
code: z.ZodEnum<{
|
|
551
|
-
|
|
552
|
-
capability_denied: "capability_denied";
|
|
1069
|
+
cancelled: "cancelled";
|
|
553
1070
|
approval_required: "approval_required";
|
|
1071
|
+
capability_denied: "capability_denied";
|
|
554
1072
|
validation_failed: "validation_failed";
|
|
1073
|
+
provider_unavailable: "provider_unavailable";
|
|
555
1074
|
execution_failed: "execution_failed";
|
|
556
|
-
output_truncated: "output_truncated";
|
|
557
1075
|
timeout: "timeout";
|
|
558
|
-
|
|
1076
|
+
output_truncated: "output_truncated";
|
|
559
1077
|
artifact_unavailable: "artifact_unavailable";
|
|
560
1078
|
}>;
|
|
561
1079
|
level: z.ZodEnum<{
|
|
@@ -581,14 +1099,14 @@ declare const PortalBackendSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
581
1099
|
}, z.core.$strict>>>;
|
|
582
1100
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
583
1101
|
code: z.ZodEnum<{
|
|
584
|
-
|
|
585
|
-
capability_denied: "capability_denied";
|
|
1102
|
+
cancelled: "cancelled";
|
|
586
1103
|
approval_required: "approval_required";
|
|
1104
|
+
capability_denied: "capability_denied";
|
|
587
1105
|
validation_failed: "validation_failed";
|
|
1106
|
+
provider_unavailable: "provider_unavailable";
|
|
588
1107
|
execution_failed: "execution_failed";
|
|
589
|
-
output_truncated: "output_truncated";
|
|
590
1108
|
timeout: "timeout";
|
|
591
|
-
|
|
1109
|
+
output_truncated: "output_truncated";
|
|
592
1110
|
artifact_unavailable: "artifact_unavailable";
|
|
593
1111
|
}>;
|
|
594
1112
|
level: z.ZodEnum<{
|
|
@@ -608,7 +1126,16 @@ declare const PortalBackendSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
608
1126
|
}, z.core.$strict>>;
|
|
609
1127
|
value: z.ZodObject<{
|
|
610
1128
|
tools: z.ZodArray<z.ZodObject<{
|
|
1129
|
+
callDisposition: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1130
|
+
kind: z.ZodLiteral<"without-approval">;
|
|
1131
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1132
|
+
kind: z.ZodLiteral<"requires-approval">;
|
|
1133
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1134
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
1135
|
+
kind: z.ZodLiteral<"invocation-dependent">;
|
|
1136
|
+
}, z.core.$strict>], "kind">>;
|
|
611
1137
|
description: z.ZodOptional<z.ZodString>;
|
|
1138
|
+
descriptionTruncated: z.ZodOptional<z.ZodBoolean>;
|
|
612
1139
|
input: z.ZodObject<{
|
|
613
1140
|
optional: z.ZodArray<z.ZodString>;
|
|
614
1141
|
propertyCount: z.ZodNumber;
|
|
@@ -635,6 +1162,55 @@ declare const PortalBackendSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
635
1162
|
}, z.core.$strict>>;
|
|
636
1163
|
title: z.ZodOptional<z.ZodString>;
|
|
637
1164
|
name: z.ZodString;
|
|
1165
|
+
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1166
|
+
kind: z.ZodLiteral<"operation-options">;
|
|
1167
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1168
|
+
requirement: z.ZodObject<{
|
|
1169
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
1170
|
+
operationId: z.ZodString;
|
|
1171
|
+
}, z.core.$strict>;
|
|
1172
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1173
|
+
kind: z.ZodLiteral<"accounts">;
|
|
1174
|
+
accounts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1175
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
1176
|
+
metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1177
|
+
kind: z.ZodLiteral<"verified">;
|
|
1178
|
+
accountAlias: z.ZodString;
|
|
1179
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1180
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1181
|
+
}, z.core.$strict>], "kind">;
|
|
1182
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1183
|
+
kind: z.ZodLiteral<"ready">;
|
|
1184
|
+
disposition: z.ZodEnum<{
|
|
1185
|
+
ask: "ask";
|
|
1186
|
+
allow: "allow";
|
|
1187
|
+
}>;
|
|
1188
|
+
overrideRevision: z.ZodNumber;
|
|
1189
|
+
defaultsRevision: z.ZodString;
|
|
1190
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1191
|
+
kind: z.ZodLiteral<"consent-required">;
|
|
1192
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1193
|
+
kind: z.ZodLiteral<"denied">;
|
|
1194
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1195
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1196
|
+
}, z.core.$strict>], "kind">;
|
|
1197
|
+
}, z.core.$strict>>>;
|
|
1198
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1199
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1200
|
+
}, z.core.$strict>], "kind">;
|
|
1201
|
+
}, z.core.$strict>>>;
|
|
1202
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1203
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1204
|
+
}, z.core.$strict>], "kind">>;
|
|
1205
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
1206
|
+
kind: z.ZodLiteral<"google-account">;
|
|
1207
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
1208
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
1209
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1210
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
1211
|
+
operationId: z.ZodString;
|
|
1212
|
+
}, z.core.$strict>>>;
|
|
1213
|
+
}, z.core.$strict>>;
|
|
638
1214
|
toolRef: z.ZodString;
|
|
639
1215
|
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
640
1216
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -645,14 +1221,14 @@ declare const PortalBackendSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
645
1221
|
}, z.core.$strict>, z.ZodObject<{
|
|
646
1222
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
647
1223
|
code: z.ZodEnum<{
|
|
648
|
-
|
|
649
|
-
capability_denied: "capability_denied";
|
|
1224
|
+
cancelled: "cancelled";
|
|
650
1225
|
approval_required: "approval_required";
|
|
1226
|
+
capability_denied: "capability_denied";
|
|
651
1227
|
validation_failed: "validation_failed";
|
|
1228
|
+
provider_unavailable: "provider_unavailable";
|
|
652
1229
|
execution_failed: "execution_failed";
|
|
653
|
-
output_truncated: "output_truncated";
|
|
654
1230
|
timeout: "timeout";
|
|
655
|
-
|
|
1231
|
+
output_truncated: "output_truncated";
|
|
656
1232
|
artifact_unavailable: "artifact_unavailable";
|
|
657
1233
|
}>;
|
|
658
1234
|
level: z.ZodEnum<{
|
|
@@ -666,29 +1242,29 @@ declare const PortalBackendSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
666
1242
|
}, z.core.$strict>>>;
|
|
667
1243
|
error: z.ZodObject<{
|
|
668
1244
|
code: z.ZodEnum<{
|
|
669
|
-
provider_unavailable: "provider_unavailable";
|
|
670
|
-
capability_denied: "capability_denied";
|
|
671
|
-
approval_required: "approval_required";
|
|
672
|
-
validation_failed: "validation_failed";
|
|
673
|
-
execution_failed: "execution_failed";
|
|
674
|
-
timeout: "timeout";
|
|
675
1245
|
cancelled: "cancelled";
|
|
676
1246
|
invalid_request: "invalid_request";
|
|
677
1247
|
not_found: "not_found";
|
|
678
1248
|
not_authorized: "not_authorized";
|
|
1249
|
+
approval_required: "approval_required";
|
|
1250
|
+
capability_denied: "capability_denied";
|
|
1251
|
+
validation_failed: "validation_failed";
|
|
1252
|
+
provider_unavailable: "provider_unavailable";
|
|
1253
|
+
execution_failed: "execution_failed";
|
|
1254
|
+
timeout: "timeout";
|
|
679
1255
|
}>;
|
|
680
1256
|
message: z.ZodString;
|
|
681
1257
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
682
1258
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
683
1259
|
code: z.ZodEnum<{
|
|
684
|
-
|
|
685
|
-
capability_denied: "capability_denied";
|
|
1260
|
+
cancelled: "cancelled";
|
|
686
1261
|
approval_required: "approval_required";
|
|
1262
|
+
capability_denied: "capability_denied";
|
|
687
1263
|
validation_failed: "validation_failed";
|
|
1264
|
+
provider_unavailable: "provider_unavailable";
|
|
688
1265
|
execution_failed: "execution_failed";
|
|
689
|
-
output_truncated: "output_truncated";
|
|
690
1266
|
timeout: "timeout";
|
|
691
|
-
|
|
1267
|
+
output_truncated: "output_truncated";
|
|
692
1268
|
artifact_unavailable: "artifact_unavailable";
|
|
693
1269
|
}>;
|
|
694
1270
|
level: z.ZodEnum<{
|
|
@@ -714,14 +1290,14 @@ declare const PortalBackendDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
714
1290
|
}, z.core.$strict>>>;
|
|
715
1291
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
716
1292
|
code: z.ZodEnum<{
|
|
717
|
-
|
|
718
|
-
capability_denied: "capability_denied";
|
|
1293
|
+
cancelled: "cancelled";
|
|
719
1294
|
approval_required: "approval_required";
|
|
1295
|
+
capability_denied: "capability_denied";
|
|
720
1296
|
validation_failed: "validation_failed";
|
|
1297
|
+
provider_unavailable: "provider_unavailable";
|
|
721
1298
|
execution_failed: "execution_failed";
|
|
722
|
-
output_truncated: "output_truncated";
|
|
723
1299
|
timeout: "timeout";
|
|
724
|
-
|
|
1300
|
+
output_truncated: "output_truncated";
|
|
725
1301
|
artifact_unavailable: "artifact_unavailable";
|
|
726
1302
|
}>;
|
|
727
1303
|
level: z.ZodEnum<{
|
|
@@ -742,6 +1318,15 @@ declare const PortalBackendDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
742
1318
|
value: z.ZodObject<{
|
|
743
1319
|
tools: z.ZodArray<z.ZodObject<{
|
|
744
1320
|
annotations: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1321
|
+
callDisposition: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1322
|
+
kind: z.ZodLiteral<"without-approval">;
|
|
1323
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1324
|
+
kind: z.ZodLiteral<"requires-approval">;
|
|
1325
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1326
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
1327
|
+
kind: z.ZodLiteral<"invocation-dependent">;
|
|
1328
|
+
}, z.core.$strict>], "kind">>;
|
|
1329
|
+
description: z.ZodOptional<z.ZodString>;
|
|
745
1330
|
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
746
1331
|
namespace: z.ZodString;
|
|
747
1332
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -753,7 +1338,57 @@ declare const PortalBackendDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
753
1338
|
describe_before_call: "describe_before_call";
|
|
754
1339
|
}>;
|
|
755
1340
|
}, z.core.$strict>>;
|
|
1341
|
+
title: z.ZodOptional<z.ZodString>;
|
|
756
1342
|
name: z.ZodString;
|
|
1343
|
+
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1344
|
+
kind: z.ZodLiteral<"operation-options">;
|
|
1345
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1346
|
+
requirement: z.ZodObject<{
|
|
1347
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
1348
|
+
operationId: z.ZodString;
|
|
1349
|
+
}, z.core.$strict>;
|
|
1350
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1351
|
+
kind: z.ZodLiteral<"accounts">;
|
|
1352
|
+
accounts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1353
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
1354
|
+
metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1355
|
+
kind: z.ZodLiteral<"verified">;
|
|
1356
|
+
accountAlias: z.ZodString;
|
|
1357
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1358
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1359
|
+
}, z.core.$strict>], "kind">;
|
|
1360
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1361
|
+
kind: z.ZodLiteral<"ready">;
|
|
1362
|
+
disposition: z.ZodEnum<{
|
|
1363
|
+
ask: "ask";
|
|
1364
|
+
allow: "allow";
|
|
1365
|
+
}>;
|
|
1366
|
+
overrideRevision: z.ZodNumber;
|
|
1367
|
+
defaultsRevision: z.ZodString;
|
|
1368
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1369
|
+
kind: z.ZodLiteral<"consent-required">;
|
|
1370
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1371
|
+
kind: z.ZodLiteral<"denied">;
|
|
1372
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1373
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1374
|
+
}, z.core.$strict>], "kind">;
|
|
1375
|
+
}, z.core.$strict>>>;
|
|
1376
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1377
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1378
|
+
}, z.core.$strict>], "kind">;
|
|
1379
|
+
}, z.core.$strict>>>;
|
|
1380
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1381
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1382
|
+
}, z.core.$strict>], "kind">>;
|
|
1383
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
1384
|
+
kind: z.ZodLiteral<"google-account">;
|
|
1385
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
1386
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
1387
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1388
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
1389
|
+
operationId: z.ZodString;
|
|
1390
|
+
}, z.core.$strict>>>;
|
|
1391
|
+
}, z.core.$strict>>;
|
|
757
1392
|
toolRef: z.ZodString;
|
|
758
1393
|
typescriptHelper: z.ZodOptional<z.ZodString>;
|
|
759
1394
|
zod: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -762,14 +1397,14 @@ declare const PortalBackendDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
762
1397
|
}, z.core.$strict>, z.ZodObject<{
|
|
763
1398
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
764
1399
|
code: z.ZodEnum<{
|
|
765
|
-
|
|
766
|
-
capability_denied: "capability_denied";
|
|
1400
|
+
cancelled: "cancelled";
|
|
767
1401
|
approval_required: "approval_required";
|
|
1402
|
+
capability_denied: "capability_denied";
|
|
768
1403
|
validation_failed: "validation_failed";
|
|
1404
|
+
provider_unavailable: "provider_unavailable";
|
|
769
1405
|
execution_failed: "execution_failed";
|
|
770
|
-
output_truncated: "output_truncated";
|
|
771
1406
|
timeout: "timeout";
|
|
772
|
-
|
|
1407
|
+
output_truncated: "output_truncated";
|
|
773
1408
|
artifact_unavailable: "artifact_unavailable";
|
|
774
1409
|
}>;
|
|
775
1410
|
level: z.ZodEnum<{
|
|
@@ -783,29 +1418,29 @@ declare const PortalBackendDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
783
1418
|
}, z.core.$strict>>>;
|
|
784
1419
|
error: z.ZodObject<{
|
|
785
1420
|
code: z.ZodEnum<{
|
|
786
|
-
provider_unavailable: "provider_unavailable";
|
|
787
|
-
capability_denied: "capability_denied";
|
|
788
|
-
approval_required: "approval_required";
|
|
789
|
-
validation_failed: "validation_failed";
|
|
790
|
-
execution_failed: "execution_failed";
|
|
791
|
-
timeout: "timeout";
|
|
792
1421
|
cancelled: "cancelled";
|
|
793
1422
|
invalid_request: "invalid_request";
|
|
794
1423
|
not_found: "not_found";
|
|
795
1424
|
not_authorized: "not_authorized";
|
|
1425
|
+
approval_required: "approval_required";
|
|
1426
|
+
capability_denied: "capability_denied";
|
|
1427
|
+
validation_failed: "validation_failed";
|
|
1428
|
+
provider_unavailable: "provider_unavailable";
|
|
1429
|
+
execution_failed: "execution_failed";
|
|
1430
|
+
timeout: "timeout";
|
|
796
1431
|
}>;
|
|
797
1432
|
message: z.ZodString;
|
|
798
1433
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
799
1434
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
800
1435
|
code: z.ZodEnum<{
|
|
801
|
-
|
|
802
|
-
capability_denied: "capability_denied";
|
|
1436
|
+
cancelled: "cancelled";
|
|
803
1437
|
approval_required: "approval_required";
|
|
1438
|
+
capability_denied: "capability_denied";
|
|
804
1439
|
validation_failed: "validation_failed";
|
|
1440
|
+
provider_unavailable: "provider_unavailable";
|
|
805
1441
|
execution_failed: "execution_failed";
|
|
806
|
-
output_truncated: "output_truncated";
|
|
807
1442
|
timeout: "timeout";
|
|
808
|
-
|
|
1443
|
+
output_truncated: "output_truncated";
|
|
809
1444
|
artifact_unavailable: "artifact_unavailable";
|
|
810
1445
|
}>;
|
|
811
1446
|
level: z.ZodEnum<{
|
|
@@ -825,14 +1460,14 @@ declare const PortalBackendListResultSchema: z.ZodObject<{
|
|
|
825
1460
|
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
826
1461
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
827
1462
|
code: z.ZodEnum<{
|
|
828
|
-
|
|
829
|
-
capability_denied: "capability_denied";
|
|
1463
|
+
cancelled: "cancelled";
|
|
830
1464
|
approval_required: "approval_required";
|
|
1465
|
+
capability_denied: "capability_denied";
|
|
831
1466
|
validation_failed: "validation_failed";
|
|
1467
|
+
provider_unavailable: "provider_unavailable";
|
|
832
1468
|
execution_failed: "execution_failed";
|
|
833
|
-
output_truncated: "output_truncated";
|
|
834
1469
|
timeout: "timeout";
|
|
835
|
-
|
|
1470
|
+
output_truncated: "output_truncated";
|
|
836
1471
|
artifact_unavailable: "artifact_unavailable";
|
|
837
1472
|
}>;
|
|
838
1473
|
level: z.ZodEnum<{
|
|
@@ -854,14 +1489,14 @@ declare const PortalBackendListResultSchema: z.ZodObject<{
|
|
|
854
1489
|
}, z.core.$strict>>>;
|
|
855
1490
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
856
1491
|
code: z.ZodEnum<{
|
|
857
|
-
|
|
858
|
-
capability_denied: "capability_denied";
|
|
1492
|
+
cancelled: "cancelled";
|
|
859
1493
|
approval_required: "approval_required";
|
|
1494
|
+
capability_denied: "capability_denied";
|
|
860
1495
|
validation_failed: "validation_failed";
|
|
1496
|
+
provider_unavailable: "provider_unavailable";
|
|
861
1497
|
execution_failed: "execution_failed";
|
|
862
|
-
output_truncated: "output_truncated";
|
|
863
1498
|
timeout: "timeout";
|
|
864
|
-
|
|
1499
|
+
output_truncated: "output_truncated";
|
|
865
1500
|
artifact_unavailable: "artifact_unavailable";
|
|
866
1501
|
}>;
|
|
867
1502
|
level: z.ZodEnum<{
|
|
@@ -883,7 +1518,16 @@ declare const PortalBackendListResultSchema: z.ZodObject<{
|
|
|
883
1518
|
namespaces: z.ZodArray<z.ZodString>;
|
|
884
1519
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
885
1520
|
tools: z.ZodArray<z.ZodObject<{
|
|
1521
|
+
callDisposition: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1522
|
+
kind: z.ZodLiteral<"without-approval">;
|
|
1523
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1524
|
+
kind: z.ZodLiteral<"requires-approval">;
|
|
1525
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1526
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
1527
|
+
kind: z.ZodLiteral<"invocation-dependent">;
|
|
1528
|
+
}, z.core.$strict>], "kind">>;
|
|
886
1529
|
description: z.ZodOptional<z.ZodString>;
|
|
1530
|
+
descriptionTruncated: z.ZodOptional<z.ZodBoolean>;
|
|
887
1531
|
input: z.ZodObject<{
|
|
888
1532
|
optional: z.ZodArray<z.ZodString>;
|
|
889
1533
|
propertyCount: z.ZodNumber;
|
|
@@ -910,20 +1554,69 @@ declare const PortalBackendListResultSchema: z.ZodObject<{
|
|
|
910
1554
|
}, z.core.$strict>>;
|
|
911
1555
|
title: z.ZodOptional<z.ZodString>;
|
|
912
1556
|
name: z.ZodString;
|
|
1557
|
+
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1558
|
+
kind: z.ZodLiteral<"operation-options">;
|
|
1559
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1560
|
+
requirement: z.ZodObject<{
|
|
1561
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
1562
|
+
operationId: z.ZodString;
|
|
1563
|
+
}, z.core.$strict>;
|
|
1564
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1565
|
+
kind: z.ZodLiteral<"accounts">;
|
|
1566
|
+
accounts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1567
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
1568
|
+
metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1569
|
+
kind: z.ZodLiteral<"verified">;
|
|
1570
|
+
accountAlias: z.ZodString;
|
|
1571
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1572
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1573
|
+
}, z.core.$strict>], "kind">;
|
|
1574
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1575
|
+
kind: z.ZodLiteral<"ready">;
|
|
1576
|
+
disposition: z.ZodEnum<{
|
|
1577
|
+
ask: "ask";
|
|
1578
|
+
allow: "allow";
|
|
1579
|
+
}>;
|
|
1580
|
+
overrideRevision: z.ZodNumber;
|
|
1581
|
+
defaultsRevision: z.ZodString;
|
|
1582
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1583
|
+
kind: z.ZodLiteral<"consent-required">;
|
|
1584
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1585
|
+
kind: z.ZodLiteral<"denied">;
|
|
1586
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1587
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1588
|
+
}, z.core.$strict>], "kind">;
|
|
1589
|
+
}, z.core.$strict>>>;
|
|
1590
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1591
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1592
|
+
}, z.core.$strict>], "kind">;
|
|
1593
|
+
}, z.core.$strict>>>;
|
|
1594
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1595
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1596
|
+
}, z.core.$strict>], "kind">>;
|
|
1597
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
1598
|
+
kind: z.ZodLiteral<"google-account">;
|
|
1599
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
1600
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
1601
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1602
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
1603
|
+
operationId: z.ZodString;
|
|
1604
|
+
}, z.core.$strict>>>;
|
|
1605
|
+
}, z.core.$strict>>;
|
|
913
1606
|
toolRef: z.ZodString;
|
|
914
1607
|
}, z.core.$strict>>;
|
|
915
1608
|
}, z.core.$strict>;
|
|
916
1609
|
}, z.core.$strict>, z.ZodObject<{
|
|
917
1610
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
918
1611
|
code: z.ZodEnum<{
|
|
919
|
-
|
|
920
|
-
capability_denied: "capability_denied";
|
|
1612
|
+
cancelled: "cancelled";
|
|
921
1613
|
approval_required: "approval_required";
|
|
1614
|
+
capability_denied: "capability_denied";
|
|
922
1615
|
validation_failed: "validation_failed";
|
|
1616
|
+
provider_unavailable: "provider_unavailable";
|
|
923
1617
|
execution_failed: "execution_failed";
|
|
924
|
-
output_truncated: "output_truncated";
|
|
925
1618
|
timeout: "timeout";
|
|
926
|
-
|
|
1619
|
+
output_truncated: "output_truncated";
|
|
927
1620
|
artifact_unavailable: "artifact_unavailable";
|
|
928
1621
|
}>;
|
|
929
1622
|
level: z.ZodEnum<{
|
|
@@ -937,29 +1630,29 @@ declare const PortalBackendListResultSchema: z.ZodObject<{
|
|
|
937
1630
|
}, z.core.$strict>>>;
|
|
938
1631
|
error: z.ZodObject<{
|
|
939
1632
|
code: z.ZodEnum<{
|
|
940
|
-
provider_unavailable: "provider_unavailable";
|
|
941
|
-
capability_denied: "capability_denied";
|
|
942
|
-
approval_required: "approval_required";
|
|
943
|
-
validation_failed: "validation_failed";
|
|
944
|
-
execution_failed: "execution_failed";
|
|
945
|
-
timeout: "timeout";
|
|
946
1633
|
cancelled: "cancelled";
|
|
947
1634
|
invalid_request: "invalid_request";
|
|
948
1635
|
not_found: "not_found";
|
|
949
1636
|
not_authorized: "not_authorized";
|
|
1637
|
+
approval_required: "approval_required";
|
|
1638
|
+
capability_denied: "capability_denied";
|
|
1639
|
+
validation_failed: "validation_failed";
|
|
1640
|
+
provider_unavailable: "provider_unavailable";
|
|
1641
|
+
execution_failed: "execution_failed";
|
|
1642
|
+
timeout: "timeout";
|
|
950
1643
|
}>;
|
|
951
1644
|
message: z.ZodString;
|
|
952
1645
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
953
1646
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
954
1647
|
code: z.ZodEnum<{
|
|
955
|
-
|
|
956
|
-
capability_denied: "capability_denied";
|
|
1648
|
+
cancelled: "cancelled";
|
|
957
1649
|
approval_required: "approval_required";
|
|
1650
|
+
capability_denied: "capability_denied";
|
|
958
1651
|
validation_failed: "validation_failed";
|
|
1652
|
+
provider_unavailable: "provider_unavailable";
|
|
959
1653
|
execution_failed: "execution_failed";
|
|
960
|
-
output_truncated: "output_truncated";
|
|
961
1654
|
timeout: "timeout";
|
|
962
|
-
|
|
1655
|
+
output_truncated: "output_truncated";
|
|
963
1656
|
artifact_unavailable: "artifact_unavailable";
|
|
964
1657
|
}>;
|
|
965
1658
|
level: z.ZodEnum<{
|
|
@@ -982,14 +1675,14 @@ declare const PortalBackendSearchResultSchema: z.ZodObject<{
|
|
|
982
1675
|
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
983
1676
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
984
1677
|
code: z.ZodEnum<{
|
|
985
|
-
|
|
986
|
-
capability_denied: "capability_denied";
|
|
1678
|
+
cancelled: "cancelled";
|
|
987
1679
|
approval_required: "approval_required";
|
|
1680
|
+
capability_denied: "capability_denied";
|
|
988
1681
|
validation_failed: "validation_failed";
|
|
1682
|
+
provider_unavailable: "provider_unavailable";
|
|
989
1683
|
execution_failed: "execution_failed";
|
|
990
|
-
output_truncated: "output_truncated";
|
|
991
1684
|
timeout: "timeout";
|
|
992
|
-
|
|
1685
|
+
output_truncated: "output_truncated";
|
|
993
1686
|
artifact_unavailable: "artifact_unavailable";
|
|
994
1687
|
}>;
|
|
995
1688
|
level: z.ZodEnum<{
|
|
@@ -1011,14 +1704,14 @@ declare const PortalBackendSearchResultSchema: z.ZodObject<{
|
|
|
1011
1704
|
}, z.core.$strict>>>;
|
|
1012
1705
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1013
1706
|
code: z.ZodEnum<{
|
|
1014
|
-
|
|
1015
|
-
capability_denied: "capability_denied";
|
|
1707
|
+
cancelled: "cancelled";
|
|
1016
1708
|
approval_required: "approval_required";
|
|
1709
|
+
capability_denied: "capability_denied";
|
|
1017
1710
|
validation_failed: "validation_failed";
|
|
1711
|
+
provider_unavailable: "provider_unavailable";
|
|
1018
1712
|
execution_failed: "execution_failed";
|
|
1019
|
-
output_truncated: "output_truncated";
|
|
1020
1713
|
timeout: "timeout";
|
|
1021
|
-
|
|
1714
|
+
output_truncated: "output_truncated";
|
|
1022
1715
|
artifact_unavailable: "artifact_unavailable";
|
|
1023
1716
|
}>;
|
|
1024
1717
|
level: z.ZodEnum<{
|
|
@@ -1038,7 +1731,16 @@ declare const PortalBackendSearchResultSchema: z.ZodObject<{
|
|
|
1038
1731
|
}, z.core.$strict>>;
|
|
1039
1732
|
value: z.ZodObject<{
|
|
1040
1733
|
tools: z.ZodArray<z.ZodObject<{
|
|
1734
|
+
callDisposition: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1735
|
+
kind: z.ZodLiteral<"without-approval">;
|
|
1736
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1737
|
+
kind: z.ZodLiteral<"requires-approval">;
|
|
1738
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1739
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
1740
|
+
kind: z.ZodLiteral<"invocation-dependent">;
|
|
1741
|
+
}, z.core.$strict>], "kind">>;
|
|
1041
1742
|
description: z.ZodOptional<z.ZodString>;
|
|
1743
|
+
descriptionTruncated: z.ZodOptional<z.ZodBoolean>;
|
|
1042
1744
|
input: z.ZodObject<{
|
|
1043
1745
|
optional: z.ZodArray<z.ZodString>;
|
|
1044
1746
|
propertyCount: z.ZodNumber;
|
|
@@ -1065,6 +1767,55 @@ declare const PortalBackendSearchResultSchema: z.ZodObject<{
|
|
|
1065
1767
|
}, z.core.$strict>>;
|
|
1066
1768
|
title: z.ZodOptional<z.ZodString>;
|
|
1067
1769
|
name: z.ZodString;
|
|
1770
|
+
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1771
|
+
kind: z.ZodLiteral<"operation-options">;
|
|
1772
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1773
|
+
requirement: z.ZodObject<{
|
|
1774
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
1775
|
+
operationId: z.ZodString;
|
|
1776
|
+
}, z.core.$strict>;
|
|
1777
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1778
|
+
kind: z.ZodLiteral<"accounts">;
|
|
1779
|
+
accounts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1780
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
1781
|
+
metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1782
|
+
kind: z.ZodLiteral<"verified">;
|
|
1783
|
+
accountAlias: z.ZodString;
|
|
1784
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1785
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1786
|
+
}, z.core.$strict>], "kind">;
|
|
1787
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1788
|
+
kind: z.ZodLiteral<"ready">;
|
|
1789
|
+
disposition: z.ZodEnum<{
|
|
1790
|
+
ask: "ask";
|
|
1791
|
+
allow: "allow";
|
|
1792
|
+
}>;
|
|
1793
|
+
overrideRevision: z.ZodNumber;
|
|
1794
|
+
defaultsRevision: z.ZodString;
|
|
1795
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1796
|
+
kind: z.ZodLiteral<"consent-required">;
|
|
1797
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1798
|
+
kind: z.ZodLiteral<"denied">;
|
|
1799
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1800
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1801
|
+
}, z.core.$strict>], "kind">;
|
|
1802
|
+
}, z.core.$strict>>>;
|
|
1803
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1804
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1805
|
+
}, z.core.$strict>], "kind">;
|
|
1806
|
+
}, z.core.$strict>>>;
|
|
1807
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1808
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1809
|
+
}, z.core.$strict>], "kind">>;
|
|
1810
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
1811
|
+
kind: z.ZodLiteral<"google-account">;
|
|
1812
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
1813
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
1814
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1815
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
1816
|
+
operationId: z.ZodString;
|
|
1817
|
+
}, z.core.$strict>>>;
|
|
1818
|
+
}, z.core.$strict>>;
|
|
1068
1819
|
toolRef: z.ZodString;
|
|
1069
1820
|
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1070
1821
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -1075,14 +1826,14 @@ declare const PortalBackendSearchResultSchema: z.ZodObject<{
|
|
|
1075
1826
|
}, z.core.$strict>, z.ZodObject<{
|
|
1076
1827
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1077
1828
|
code: z.ZodEnum<{
|
|
1078
|
-
|
|
1079
|
-
capability_denied: "capability_denied";
|
|
1829
|
+
cancelled: "cancelled";
|
|
1080
1830
|
approval_required: "approval_required";
|
|
1831
|
+
capability_denied: "capability_denied";
|
|
1081
1832
|
validation_failed: "validation_failed";
|
|
1833
|
+
provider_unavailable: "provider_unavailable";
|
|
1082
1834
|
execution_failed: "execution_failed";
|
|
1083
|
-
output_truncated: "output_truncated";
|
|
1084
1835
|
timeout: "timeout";
|
|
1085
|
-
|
|
1836
|
+
output_truncated: "output_truncated";
|
|
1086
1837
|
artifact_unavailable: "artifact_unavailable";
|
|
1087
1838
|
}>;
|
|
1088
1839
|
level: z.ZodEnum<{
|
|
@@ -1096,29 +1847,29 @@ declare const PortalBackendSearchResultSchema: z.ZodObject<{
|
|
|
1096
1847
|
}, z.core.$strict>>>;
|
|
1097
1848
|
error: z.ZodObject<{
|
|
1098
1849
|
code: z.ZodEnum<{
|
|
1099
|
-
provider_unavailable: "provider_unavailable";
|
|
1100
|
-
capability_denied: "capability_denied";
|
|
1101
|
-
approval_required: "approval_required";
|
|
1102
|
-
validation_failed: "validation_failed";
|
|
1103
|
-
execution_failed: "execution_failed";
|
|
1104
|
-
timeout: "timeout";
|
|
1105
1850
|
cancelled: "cancelled";
|
|
1106
1851
|
invalid_request: "invalid_request";
|
|
1107
1852
|
not_found: "not_found";
|
|
1108
1853
|
not_authorized: "not_authorized";
|
|
1854
|
+
approval_required: "approval_required";
|
|
1855
|
+
capability_denied: "capability_denied";
|
|
1856
|
+
validation_failed: "validation_failed";
|
|
1857
|
+
provider_unavailable: "provider_unavailable";
|
|
1858
|
+
execution_failed: "execution_failed";
|
|
1859
|
+
timeout: "timeout";
|
|
1109
1860
|
}>;
|
|
1110
1861
|
message: z.ZodString;
|
|
1111
1862
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1112
1863
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
1113
1864
|
code: z.ZodEnum<{
|
|
1114
|
-
|
|
1115
|
-
capability_denied: "capability_denied";
|
|
1865
|
+
cancelled: "cancelled";
|
|
1116
1866
|
approval_required: "approval_required";
|
|
1867
|
+
capability_denied: "capability_denied";
|
|
1117
1868
|
validation_failed: "validation_failed";
|
|
1869
|
+
provider_unavailable: "provider_unavailable";
|
|
1118
1870
|
execution_failed: "execution_failed";
|
|
1119
|
-
output_truncated: "output_truncated";
|
|
1120
1871
|
timeout: "timeout";
|
|
1121
|
-
|
|
1872
|
+
output_truncated: "output_truncated";
|
|
1122
1873
|
artifact_unavailable: "artifact_unavailable";
|
|
1123
1874
|
}>;
|
|
1124
1875
|
level: z.ZodEnum<{
|
|
@@ -1141,14 +1892,14 @@ declare const PortalBackendDescribeResultSchema: z.ZodObject<{
|
|
|
1141
1892
|
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
1142
1893
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1143
1894
|
code: z.ZodEnum<{
|
|
1144
|
-
|
|
1145
|
-
capability_denied: "capability_denied";
|
|
1895
|
+
cancelled: "cancelled";
|
|
1146
1896
|
approval_required: "approval_required";
|
|
1897
|
+
capability_denied: "capability_denied";
|
|
1147
1898
|
validation_failed: "validation_failed";
|
|
1899
|
+
provider_unavailable: "provider_unavailable";
|
|
1148
1900
|
execution_failed: "execution_failed";
|
|
1149
|
-
output_truncated: "output_truncated";
|
|
1150
1901
|
timeout: "timeout";
|
|
1151
|
-
|
|
1902
|
+
output_truncated: "output_truncated";
|
|
1152
1903
|
artifact_unavailable: "artifact_unavailable";
|
|
1153
1904
|
}>;
|
|
1154
1905
|
level: z.ZodEnum<{
|
|
@@ -1170,14 +1921,14 @@ declare const PortalBackendDescribeResultSchema: z.ZodObject<{
|
|
|
1170
1921
|
}, z.core.$strict>>>;
|
|
1171
1922
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1172
1923
|
code: z.ZodEnum<{
|
|
1173
|
-
|
|
1174
|
-
capability_denied: "capability_denied";
|
|
1924
|
+
cancelled: "cancelled";
|
|
1175
1925
|
approval_required: "approval_required";
|
|
1926
|
+
capability_denied: "capability_denied";
|
|
1176
1927
|
validation_failed: "validation_failed";
|
|
1928
|
+
provider_unavailable: "provider_unavailable";
|
|
1177
1929
|
execution_failed: "execution_failed";
|
|
1178
|
-
output_truncated: "output_truncated";
|
|
1179
1930
|
timeout: "timeout";
|
|
1180
|
-
|
|
1931
|
+
output_truncated: "output_truncated";
|
|
1181
1932
|
artifact_unavailable: "artifact_unavailable";
|
|
1182
1933
|
}>;
|
|
1183
1934
|
level: z.ZodEnum<{
|
|
@@ -1198,6 +1949,15 @@ declare const PortalBackendDescribeResultSchema: z.ZodObject<{
|
|
|
1198
1949
|
value: z.ZodObject<{
|
|
1199
1950
|
tools: z.ZodArray<z.ZodObject<{
|
|
1200
1951
|
annotations: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1952
|
+
callDisposition: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1953
|
+
kind: z.ZodLiteral<"without-approval">;
|
|
1954
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1955
|
+
kind: z.ZodLiteral<"requires-approval">;
|
|
1956
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1957
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
1958
|
+
kind: z.ZodLiteral<"invocation-dependent">;
|
|
1959
|
+
}, z.core.$strict>], "kind">>;
|
|
1960
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1201
1961
|
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1202
1962
|
namespace: z.ZodString;
|
|
1203
1963
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -1209,7 +1969,57 @@ declare const PortalBackendDescribeResultSchema: z.ZodObject<{
|
|
|
1209
1969
|
describe_before_call: "describe_before_call";
|
|
1210
1970
|
}>;
|
|
1211
1971
|
}, z.core.$strict>>;
|
|
1972
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1212
1973
|
name: z.ZodString;
|
|
1974
|
+
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1975
|
+
kind: z.ZodLiteral<"operation-options">;
|
|
1976
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1977
|
+
requirement: z.ZodObject<{
|
|
1978
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
1979
|
+
operationId: z.ZodString;
|
|
1980
|
+
}, z.core.$strict>;
|
|
1981
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1982
|
+
kind: z.ZodLiteral<"accounts">;
|
|
1983
|
+
accounts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1984
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
1985
|
+
metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1986
|
+
kind: z.ZodLiteral<"verified">;
|
|
1987
|
+
accountAlias: z.ZodString;
|
|
1988
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1989
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1990
|
+
}, z.core.$strict>], "kind">;
|
|
1991
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1992
|
+
kind: z.ZodLiteral<"ready">;
|
|
1993
|
+
disposition: z.ZodEnum<{
|
|
1994
|
+
ask: "ask";
|
|
1995
|
+
allow: "allow";
|
|
1996
|
+
}>;
|
|
1997
|
+
overrideRevision: z.ZodNumber;
|
|
1998
|
+
defaultsRevision: z.ZodString;
|
|
1999
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2000
|
+
kind: z.ZodLiteral<"consent-required">;
|
|
2001
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2002
|
+
kind: z.ZodLiteral<"denied">;
|
|
2003
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2004
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2005
|
+
}, z.core.$strict>], "kind">;
|
|
2006
|
+
}, z.core.$strict>>>;
|
|
2007
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2008
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2009
|
+
}, z.core.$strict>], "kind">;
|
|
2010
|
+
}, z.core.$strict>>>;
|
|
2011
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2012
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2013
|
+
}, z.core.$strict>], "kind">>;
|
|
2014
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
2015
|
+
kind: z.ZodLiteral<"google-account">;
|
|
2016
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
2017
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
2018
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2019
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
2020
|
+
operationId: z.ZodString;
|
|
2021
|
+
}, z.core.$strict>>>;
|
|
2022
|
+
}, z.core.$strict>>;
|
|
1213
2023
|
toolRef: z.ZodString;
|
|
1214
2024
|
typescriptHelper: z.ZodOptional<z.ZodString>;
|
|
1215
2025
|
zod: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -1218,14 +2028,14 @@ declare const PortalBackendDescribeResultSchema: z.ZodObject<{
|
|
|
1218
2028
|
}, z.core.$strict>, z.ZodObject<{
|
|
1219
2029
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1220
2030
|
code: z.ZodEnum<{
|
|
1221
|
-
|
|
1222
|
-
capability_denied: "capability_denied";
|
|
2031
|
+
cancelled: "cancelled";
|
|
1223
2032
|
approval_required: "approval_required";
|
|
2033
|
+
capability_denied: "capability_denied";
|
|
1224
2034
|
validation_failed: "validation_failed";
|
|
2035
|
+
provider_unavailable: "provider_unavailable";
|
|
1225
2036
|
execution_failed: "execution_failed";
|
|
1226
|
-
output_truncated: "output_truncated";
|
|
1227
2037
|
timeout: "timeout";
|
|
1228
|
-
|
|
2038
|
+
output_truncated: "output_truncated";
|
|
1229
2039
|
artifact_unavailable: "artifact_unavailable";
|
|
1230
2040
|
}>;
|
|
1231
2041
|
level: z.ZodEnum<{
|
|
@@ -1239,29 +2049,29 @@ declare const PortalBackendDescribeResultSchema: z.ZodObject<{
|
|
|
1239
2049
|
}, z.core.$strict>>>;
|
|
1240
2050
|
error: z.ZodObject<{
|
|
1241
2051
|
code: z.ZodEnum<{
|
|
1242
|
-
provider_unavailable: "provider_unavailable";
|
|
1243
|
-
capability_denied: "capability_denied";
|
|
1244
|
-
approval_required: "approval_required";
|
|
1245
|
-
validation_failed: "validation_failed";
|
|
1246
|
-
execution_failed: "execution_failed";
|
|
1247
|
-
timeout: "timeout";
|
|
1248
2052
|
cancelled: "cancelled";
|
|
1249
2053
|
invalid_request: "invalid_request";
|
|
1250
2054
|
not_found: "not_found";
|
|
1251
2055
|
not_authorized: "not_authorized";
|
|
2056
|
+
approval_required: "approval_required";
|
|
2057
|
+
capability_denied: "capability_denied";
|
|
2058
|
+
validation_failed: "validation_failed";
|
|
2059
|
+
provider_unavailable: "provider_unavailable";
|
|
2060
|
+
execution_failed: "execution_failed";
|
|
2061
|
+
timeout: "timeout";
|
|
1252
2062
|
}>;
|
|
1253
2063
|
message: z.ZodString;
|
|
1254
2064
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1255
2065
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
1256
2066
|
code: z.ZodEnum<{
|
|
1257
|
-
|
|
1258
|
-
capability_denied: "capability_denied";
|
|
2067
|
+
cancelled: "cancelled";
|
|
1259
2068
|
approval_required: "approval_required";
|
|
2069
|
+
capability_denied: "capability_denied";
|
|
1260
2070
|
validation_failed: "validation_failed";
|
|
2071
|
+
provider_unavailable: "provider_unavailable";
|
|
1261
2072
|
execution_failed: "execution_failed";
|
|
1262
|
-
output_truncated: "output_truncated";
|
|
1263
2073
|
timeout: "timeout";
|
|
1264
|
-
|
|
2074
|
+
output_truncated: "output_truncated";
|
|
1265
2075
|
artifact_unavailable: "artifact_unavailable";
|
|
1266
2076
|
}>;
|
|
1267
2077
|
level: z.ZodEnum<{
|
|
@@ -1290,14 +2100,14 @@ declare const PortalListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1290
2100
|
}, z.core.$strict>>>;
|
|
1291
2101
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1292
2102
|
code: z.ZodEnum<{
|
|
1293
|
-
|
|
1294
|
-
capability_denied: "capability_denied";
|
|
2103
|
+
cancelled: "cancelled";
|
|
1295
2104
|
approval_required: "approval_required";
|
|
2105
|
+
capability_denied: "capability_denied";
|
|
1296
2106
|
validation_failed: "validation_failed";
|
|
2107
|
+
provider_unavailable: "provider_unavailable";
|
|
1297
2108
|
execution_failed: "execution_failed";
|
|
1298
|
-
output_truncated: "output_truncated";
|
|
1299
2109
|
timeout: "timeout";
|
|
1300
|
-
|
|
2110
|
+
output_truncated: "output_truncated";
|
|
1301
2111
|
artifact_unavailable: "artifact_unavailable";
|
|
1302
2112
|
}>;
|
|
1303
2113
|
level: z.ZodEnum<{
|
|
@@ -1319,7 +2129,16 @@ declare const PortalListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1319
2129
|
namespaces: z.ZodArray<z.ZodString>;
|
|
1320
2130
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
1321
2131
|
tools: z.ZodArray<z.ZodObject<{
|
|
2132
|
+
callDisposition: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2133
|
+
kind: z.ZodLiteral<"without-approval">;
|
|
2134
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2135
|
+
kind: z.ZodLiteral<"requires-approval">;
|
|
2136
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2137
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
2138
|
+
kind: z.ZodLiteral<"invocation-dependent">;
|
|
2139
|
+
}, z.core.$strict>], "kind">>;
|
|
1322
2140
|
description: z.ZodOptional<z.ZodString>;
|
|
2141
|
+
descriptionTruncated: z.ZodOptional<z.ZodBoolean>;
|
|
1323
2142
|
input: z.ZodObject<{
|
|
1324
2143
|
optional: z.ZodArray<z.ZodString>;
|
|
1325
2144
|
propertyCount: z.ZodNumber;
|
|
@@ -1346,6 +2165,55 @@ declare const PortalListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1346
2165
|
}, z.core.$strict>>;
|
|
1347
2166
|
title: z.ZodOptional<z.ZodString>;
|
|
1348
2167
|
name: z.ZodString;
|
|
2168
|
+
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2169
|
+
kind: z.ZodLiteral<"operation-options">;
|
|
2170
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2171
|
+
requirement: z.ZodObject<{
|
|
2172
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
2173
|
+
operationId: z.ZodString;
|
|
2174
|
+
}, z.core.$strict>;
|
|
2175
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2176
|
+
kind: z.ZodLiteral<"accounts">;
|
|
2177
|
+
accounts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2178
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
2179
|
+
metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2180
|
+
kind: z.ZodLiteral<"verified">;
|
|
2181
|
+
accountAlias: z.ZodString;
|
|
2182
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2183
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2184
|
+
}, z.core.$strict>], "kind">;
|
|
2185
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2186
|
+
kind: z.ZodLiteral<"ready">;
|
|
2187
|
+
disposition: z.ZodEnum<{
|
|
2188
|
+
ask: "ask";
|
|
2189
|
+
allow: "allow";
|
|
2190
|
+
}>;
|
|
2191
|
+
overrideRevision: z.ZodNumber;
|
|
2192
|
+
defaultsRevision: z.ZodString;
|
|
2193
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2194
|
+
kind: z.ZodLiteral<"consent-required">;
|
|
2195
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2196
|
+
kind: z.ZodLiteral<"denied">;
|
|
2197
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2198
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2199
|
+
}, z.core.$strict>], "kind">;
|
|
2200
|
+
}, z.core.$strict>>>;
|
|
2201
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2202
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2203
|
+
}, z.core.$strict>], "kind">;
|
|
2204
|
+
}, z.core.$strict>>>;
|
|
2205
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2206
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2207
|
+
}, z.core.$strict>], "kind">>;
|
|
2208
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
2209
|
+
kind: z.ZodLiteral<"google-account">;
|
|
2210
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
2211
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
2212
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2213
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
2214
|
+
operationId: z.ZodString;
|
|
2215
|
+
}, z.core.$strict>>>;
|
|
2216
|
+
}, z.core.$strict>>;
|
|
1349
2217
|
toolRef: z.ZodString;
|
|
1350
2218
|
}, z.core.$strict>>;
|
|
1351
2219
|
namespaceDiscovery: z.ZodArray<z.ZodObject<{
|
|
@@ -1356,14 +2224,14 @@ declare const PortalListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1356
2224
|
}, z.core.$strict>, z.ZodObject<{
|
|
1357
2225
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1358
2226
|
code: z.ZodEnum<{
|
|
1359
|
-
|
|
1360
|
-
capability_denied: "capability_denied";
|
|
2227
|
+
cancelled: "cancelled";
|
|
1361
2228
|
approval_required: "approval_required";
|
|
2229
|
+
capability_denied: "capability_denied";
|
|
1362
2230
|
validation_failed: "validation_failed";
|
|
2231
|
+
provider_unavailable: "provider_unavailable";
|
|
1363
2232
|
execution_failed: "execution_failed";
|
|
1364
|
-
output_truncated: "output_truncated";
|
|
1365
2233
|
timeout: "timeout";
|
|
1366
|
-
|
|
2234
|
+
output_truncated: "output_truncated";
|
|
1367
2235
|
artifact_unavailable: "artifact_unavailable";
|
|
1368
2236
|
}>;
|
|
1369
2237
|
level: z.ZodEnum<{
|
|
@@ -1377,29 +2245,29 @@ declare const PortalListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1377
2245
|
}, z.core.$strict>>>;
|
|
1378
2246
|
error: z.ZodObject<{
|
|
1379
2247
|
code: z.ZodEnum<{
|
|
1380
|
-
provider_unavailable: "provider_unavailable";
|
|
1381
|
-
capability_denied: "capability_denied";
|
|
1382
|
-
approval_required: "approval_required";
|
|
1383
|
-
validation_failed: "validation_failed";
|
|
1384
|
-
execution_failed: "execution_failed";
|
|
1385
|
-
timeout: "timeout";
|
|
1386
2248
|
cancelled: "cancelled";
|
|
1387
2249
|
invalid_request: "invalid_request";
|
|
1388
2250
|
not_found: "not_found";
|
|
1389
2251
|
not_authorized: "not_authorized";
|
|
2252
|
+
approval_required: "approval_required";
|
|
2253
|
+
capability_denied: "capability_denied";
|
|
2254
|
+
validation_failed: "validation_failed";
|
|
2255
|
+
provider_unavailable: "provider_unavailable";
|
|
2256
|
+
execution_failed: "execution_failed";
|
|
2257
|
+
timeout: "timeout";
|
|
1390
2258
|
}>;
|
|
1391
2259
|
message: z.ZodString;
|
|
1392
2260
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1393
2261
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
1394
2262
|
code: z.ZodEnum<{
|
|
1395
|
-
|
|
1396
|
-
capability_denied: "capability_denied";
|
|
2263
|
+
cancelled: "cancelled";
|
|
1397
2264
|
approval_required: "approval_required";
|
|
2265
|
+
capability_denied: "capability_denied";
|
|
1398
2266
|
validation_failed: "validation_failed";
|
|
2267
|
+
provider_unavailable: "provider_unavailable";
|
|
1399
2268
|
execution_failed: "execution_failed";
|
|
1400
|
-
output_truncated: "output_truncated";
|
|
1401
2269
|
timeout: "timeout";
|
|
1402
|
-
|
|
2270
|
+
output_truncated: "output_truncated";
|
|
1403
2271
|
artifact_unavailable: "artifact_unavailable";
|
|
1404
2272
|
}>;
|
|
1405
2273
|
level: z.ZodEnum<{
|
|
@@ -1425,14 +2293,14 @@ declare const PortalSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1425
2293
|
}, z.core.$strict>>>;
|
|
1426
2294
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1427
2295
|
code: z.ZodEnum<{
|
|
1428
|
-
|
|
1429
|
-
capability_denied: "capability_denied";
|
|
2296
|
+
cancelled: "cancelled";
|
|
1430
2297
|
approval_required: "approval_required";
|
|
2298
|
+
capability_denied: "capability_denied";
|
|
1431
2299
|
validation_failed: "validation_failed";
|
|
2300
|
+
provider_unavailable: "provider_unavailable";
|
|
1432
2301
|
execution_failed: "execution_failed";
|
|
1433
|
-
output_truncated: "output_truncated";
|
|
1434
2302
|
timeout: "timeout";
|
|
1435
|
-
|
|
2303
|
+
output_truncated: "output_truncated";
|
|
1436
2304
|
artifact_unavailable: "artifact_unavailable";
|
|
1437
2305
|
}>;
|
|
1438
2306
|
level: z.ZodEnum<{
|
|
@@ -1452,7 +2320,16 @@ declare const PortalSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1452
2320
|
}, z.core.$strict>>;
|
|
1453
2321
|
value: z.ZodObject<{
|
|
1454
2322
|
tools: z.ZodArray<z.ZodObject<{
|
|
2323
|
+
callDisposition: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2324
|
+
kind: z.ZodLiteral<"without-approval">;
|
|
2325
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2326
|
+
kind: z.ZodLiteral<"requires-approval">;
|
|
2327
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2328
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
2329
|
+
kind: z.ZodLiteral<"invocation-dependent">;
|
|
2330
|
+
}, z.core.$strict>], "kind">>;
|
|
1455
2331
|
description: z.ZodOptional<z.ZodString>;
|
|
2332
|
+
descriptionTruncated: z.ZodOptional<z.ZodBoolean>;
|
|
1456
2333
|
input: z.ZodObject<{
|
|
1457
2334
|
optional: z.ZodArray<z.ZodString>;
|
|
1458
2335
|
propertyCount: z.ZodNumber;
|
|
@@ -1479,6 +2356,55 @@ declare const PortalSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1479
2356
|
}, z.core.$strict>>;
|
|
1480
2357
|
title: z.ZodOptional<z.ZodString>;
|
|
1481
2358
|
name: z.ZodString;
|
|
2359
|
+
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2360
|
+
kind: z.ZodLiteral<"operation-options">;
|
|
2361
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2362
|
+
requirement: z.ZodObject<{
|
|
2363
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
2364
|
+
operationId: z.ZodString;
|
|
2365
|
+
}, z.core.$strict>;
|
|
2366
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2367
|
+
kind: z.ZodLiteral<"accounts">;
|
|
2368
|
+
accounts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2369
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
2370
|
+
metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2371
|
+
kind: z.ZodLiteral<"verified">;
|
|
2372
|
+
accountAlias: z.ZodString;
|
|
2373
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2374
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2375
|
+
}, z.core.$strict>], "kind">;
|
|
2376
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2377
|
+
kind: z.ZodLiteral<"ready">;
|
|
2378
|
+
disposition: z.ZodEnum<{
|
|
2379
|
+
ask: "ask";
|
|
2380
|
+
allow: "allow";
|
|
2381
|
+
}>;
|
|
2382
|
+
overrideRevision: z.ZodNumber;
|
|
2383
|
+
defaultsRevision: z.ZodString;
|
|
2384
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2385
|
+
kind: z.ZodLiteral<"consent-required">;
|
|
2386
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2387
|
+
kind: z.ZodLiteral<"denied">;
|
|
2388
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2389
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2390
|
+
}, z.core.$strict>], "kind">;
|
|
2391
|
+
}, z.core.$strict>>>;
|
|
2392
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2393
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2394
|
+
}, z.core.$strict>], "kind">;
|
|
2395
|
+
}, z.core.$strict>>>;
|
|
2396
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2397
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2398
|
+
}, z.core.$strict>], "kind">>;
|
|
2399
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
2400
|
+
kind: z.ZodLiteral<"google-account">;
|
|
2401
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
2402
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
2403
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2404
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
2405
|
+
operationId: z.ZodString;
|
|
2406
|
+
}, z.core.$strict>>>;
|
|
2407
|
+
}, z.core.$strict>>;
|
|
1482
2408
|
toolRef: z.ZodString;
|
|
1483
2409
|
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1484
2410
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -1493,14 +2419,14 @@ declare const PortalSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1493
2419
|
}, z.core.$strict>, z.ZodObject<{
|
|
1494
2420
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1495
2421
|
code: z.ZodEnum<{
|
|
1496
|
-
|
|
1497
|
-
capability_denied: "capability_denied";
|
|
2422
|
+
cancelled: "cancelled";
|
|
1498
2423
|
approval_required: "approval_required";
|
|
2424
|
+
capability_denied: "capability_denied";
|
|
1499
2425
|
validation_failed: "validation_failed";
|
|
2426
|
+
provider_unavailable: "provider_unavailable";
|
|
1500
2427
|
execution_failed: "execution_failed";
|
|
1501
|
-
output_truncated: "output_truncated";
|
|
1502
2428
|
timeout: "timeout";
|
|
1503
|
-
|
|
2429
|
+
output_truncated: "output_truncated";
|
|
1504
2430
|
artifact_unavailable: "artifact_unavailable";
|
|
1505
2431
|
}>;
|
|
1506
2432
|
level: z.ZodEnum<{
|
|
@@ -1514,29 +2440,29 @@ declare const PortalSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1514
2440
|
}, z.core.$strict>>>;
|
|
1515
2441
|
error: z.ZodObject<{
|
|
1516
2442
|
code: z.ZodEnum<{
|
|
1517
|
-
provider_unavailable: "provider_unavailable";
|
|
1518
|
-
capability_denied: "capability_denied";
|
|
1519
|
-
approval_required: "approval_required";
|
|
1520
|
-
validation_failed: "validation_failed";
|
|
1521
|
-
execution_failed: "execution_failed";
|
|
1522
|
-
timeout: "timeout";
|
|
1523
2443
|
cancelled: "cancelled";
|
|
1524
2444
|
invalid_request: "invalid_request";
|
|
1525
2445
|
not_found: "not_found";
|
|
1526
2446
|
not_authorized: "not_authorized";
|
|
2447
|
+
approval_required: "approval_required";
|
|
2448
|
+
capability_denied: "capability_denied";
|
|
2449
|
+
validation_failed: "validation_failed";
|
|
2450
|
+
provider_unavailable: "provider_unavailable";
|
|
2451
|
+
execution_failed: "execution_failed";
|
|
2452
|
+
timeout: "timeout";
|
|
1527
2453
|
}>;
|
|
1528
2454
|
message: z.ZodString;
|
|
1529
2455
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1530
2456
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
1531
2457
|
code: z.ZodEnum<{
|
|
1532
|
-
|
|
1533
|
-
capability_denied: "capability_denied";
|
|
2458
|
+
cancelled: "cancelled";
|
|
1534
2459
|
approval_required: "approval_required";
|
|
2460
|
+
capability_denied: "capability_denied";
|
|
1535
2461
|
validation_failed: "validation_failed";
|
|
2462
|
+
provider_unavailable: "provider_unavailable";
|
|
1536
2463
|
execution_failed: "execution_failed";
|
|
1537
|
-
output_truncated: "output_truncated";
|
|
1538
2464
|
timeout: "timeout";
|
|
1539
|
-
|
|
2465
|
+
output_truncated: "output_truncated";
|
|
1540
2466
|
artifact_unavailable: "artifact_unavailable";
|
|
1541
2467
|
}>;
|
|
1542
2468
|
level: z.ZodEnum<{
|
|
@@ -1562,14 +2488,14 @@ declare const PortalDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
1562
2488
|
}, z.core.$strict>>>;
|
|
1563
2489
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1564
2490
|
code: z.ZodEnum<{
|
|
1565
|
-
|
|
1566
|
-
capability_denied: "capability_denied";
|
|
2491
|
+
cancelled: "cancelled";
|
|
1567
2492
|
approval_required: "approval_required";
|
|
2493
|
+
capability_denied: "capability_denied";
|
|
1568
2494
|
validation_failed: "validation_failed";
|
|
2495
|
+
provider_unavailable: "provider_unavailable";
|
|
1569
2496
|
execution_failed: "execution_failed";
|
|
1570
|
-
output_truncated: "output_truncated";
|
|
1571
2497
|
timeout: "timeout";
|
|
1572
|
-
|
|
2498
|
+
output_truncated: "output_truncated";
|
|
1573
2499
|
artifact_unavailable: "artifact_unavailable";
|
|
1574
2500
|
}>;
|
|
1575
2501
|
level: z.ZodEnum<{
|
|
@@ -1590,6 +2516,15 @@ declare const PortalDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
1590
2516
|
value: z.ZodObject<{
|
|
1591
2517
|
tools: z.ZodArray<z.ZodObject<{
|
|
1592
2518
|
annotations: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
2519
|
+
callDisposition: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2520
|
+
kind: z.ZodLiteral<"without-approval">;
|
|
2521
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2522
|
+
kind: z.ZodLiteral<"requires-approval">;
|
|
2523
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2524
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
2525
|
+
kind: z.ZodLiteral<"invocation-dependent">;
|
|
2526
|
+
}, z.core.$strict>], "kind">>;
|
|
2527
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1593
2528
|
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1594
2529
|
namespace: z.ZodString;
|
|
1595
2530
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -1601,7 +2536,57 @@ declare const PortalDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
1601
2536
|
describe_before_call: "describe_before_call";
|
|
1602
2537
|
}>;
|
|
1603
2538
|
}, z.core.$strict>>;
|
|
2539
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1604
2540
|
name: z.ZodString;
|
|
2541
|
+
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2542
|
+
kind: z.ZodLiteral<"operation-options">;
|
|
2543
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2544
|
+
requirement: z.ZodObject<{
|
|
2545
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
2546
|
+
operationId: z.ZodString;
|
|
2547
|
+
}, z.core.$strict>;
|
|
2548
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2549
|
+
kind: z.ZodLiteral<"accounts">;
|
|
2550
|
+
accounts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2551
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
2552
|
+
metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2553
|
+
kind: z.ZodLiteral<"verified">;
|
|
2554
|
+
accountAlias: z.ZodString;
|
|
2555
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2556
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2557
|
+
}, z.core.$strict>], "kind">;
|
|
2558
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2559
|
+
kind: z.ZodLiteral<"ready">;
|
|
2560
|
+
disposition: z.ZodEnum<{
|
|
2561
|
+
ask: "ask";
|
|
2562
|
+
allow: "allow";
|
|
2563
|
+
}>;
|
|
2564
|
+
overrideRevision: z.ZodNumber;
|
|
2565
|
+
defaultsRevision: z.ZodString;
|
|
2566
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2567
|
+
kind: z.ZodLiteral<"consent-required">;
|
|
2568
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2569
|
+
kind: z.ZodLiteral<"denied">;
|
|
2570
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2571
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2572
|
+
}, z.core.$strict>], "kind">;
|
|
2573
|
+
}, z.core.$strict>>>;
|
|
2574
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2575
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2576
|
+
}, z.core.$strict>], "kind">;
|
|
2577
|
+
}, z.core.$strict>>>;
|
|
2578
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2579
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2580
|
+
}, z.core.$strict>], "kind">>;
|
|
2581
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
2582
|
+
kind: z.ZodLiteral<"google-account">;
|
|
2583
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
2584
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
2585
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2586
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
2587
|
+
operationId: z.ZodString;
|
|
2588
|
+
}, z.core.$strict>>>;
|
|
2589
|
+
}, z.core.$strict>>;
|
|
1605
2590
|
toolRef: z.ZodString;
|
|
1606
2591
|
typescriptHelper: z.ZodOptional<z.ZodString>;
|
|
1607
2592
|
zod: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -1614,14 +2599,14 @@ declare const PortalDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
1614
2599
|
}, z.core.$strict>, z.ZodObject<{
|
|
1615
2600
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1616
2601
|
code: z.ZodEnum<{
|
|
1617
|
-
|
|
1618
|
-
capability_denied: "capability_denied";
|
|
2602
|
+
cancelled: "cancelled";
|
|
1619
2603
|
approval_required: "approval_required";
|
|
2604
|
+
capability_denied: "capability_denied";
|
|
1620
2605
|
validation_failed: "validation_failed";
|
|
2606
|
+
provider_unavailable: "provider_unavailable";
|
|
1621
2607
|
execution_failed: "execution_failed";
|
|
1622
|
-
output_truncated: "output_truncated";
|
|
1623
2608
|
timeout: "timeout";
|
|
1624
|
-
|
|
2609
|
+
output_truncated: "output_truncated";
|
|
1625
2610
|
artifact_unavailable: "artifact_unavailable";
|
|
1626
2611
|
}>;
|
|
1627
2612
|
level: z.ZodEnum<{
|
|
@@ -1635,29 +2620,29 @@ declare const PortalDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
1635
2620
|
}, z.core.$strict>>>;
|
|
1636
2621
|
error: z.ZodObject<{
|
|
1637
2622
|
code: z.ZodEnum<{
|
|
1638
|
-
provider_unavailable: "provider_unavailable";
|
|
1639
|
-
capability_denied: "capability_denied";
|
|
1640
|
-
approval_required: "approval_required";
|
|
1641
|
-
validation_failed: "validation_failed";
|
|
1642
|
-
execution_failed: "execution_failed";
|
|
1643
|
-
timeout: "timeout";
|
|
1644
2623
|
cancelled: "cancelled";
|
|
1645
2624
|
invalid_request: "invalid_request";
|
|
1646
2625
|
not_found: "not_found";
|
|
1647
2626
|
not_authorized: "not_authorized";
|
|
2627
|
+
approval_required: "approval_required";
|
|
2628
|
+
capability_denied: "capability_denied";
|
|
2629
|
+
validation_failed: "validation_failed";
|
|
2630
|
+
provider_unavailable: "provider_unavailable";
|
|
2631
|
+
execution_failed: "execution_failed";
|
|
2632
|
+
timeout: "timeout";
|
|
1648
2633
|
}>;
|
|
1649
2634
|
message: z.ZodString;
|
|
1650
2635
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1651
2636
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
1652
2637
|
code: z.ZodEnum<{
|
|
1653
|
-
|
|
1654
|
-
capability_denied: "capability_denied";
|
|
2638
|
+
cancelled: "cancelled";
|
|
1655
2639
|
approval_required: "approval_required";
|
|
2640
|
+
capability_denied: "capability_denied";
|
|
1656
2641
|
validation_failed: "validation_failed";
|
|
2642
|
+
provider_unavailable: "provider_unavailable";
|
|
1657
2643
|
execution_failed: "execution_failed";
|
|
1658
|
-
output_truncated: "output_truncated";
|
|
1659
2644
|
timeout: "timeout";
|
|
1660
|
-
|
|
2645
|
+
output_truncated: "output_truncated";
|
|
1661
2646
|
artifact_unavailable: "artifact_unavailable";
|
|
1662
2647
|
}>;
|
|
1663
2648
|
level: z.ZodEnum<{
|
|
@@ -1677,14 +2662,14 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
1677
2662
|
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
1678
2663
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1679
2664
|
code: z.ZodEnum<{
|
|
1680
|
-
|
|
1681
|
-
capability_denied: "capability_denied";
|
|
2665
|
+
cancelled: "cancelled";
|
|
1682
2666
|
approval_required: "approval_required";
|
|
2667
|
+
capability_denied: "capability_denied";
|
|
1683
2668
|
validation_failed: "validation_failed";
|
|
2669
|
+
provider_unavailable: "provider_unavailable";
|
|
1684
2670
|
execution_failed: "execution_failed";
|
|
1685
|
-
output_truncated: "output_truncated";
|
|
1686
2671
|
timeout: "timeout";
|
|
1687
|
-
|
|
2672
|
+
output_truncated: "output_truncated";
|
|
1688
2673
|
artifact_unavailable: "artifact_unavailable";
|
|
1689
2674
|
}>;
|
|
1690
2675
|
level: z.ZodEnum<{
|
|
@@ -1696,7 +2681,7 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
1696
2681
|
safeMessage: z.ZodString;
|
|
1697
2682
|
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1698
2683
|
}, z.core.$strict>>>;
|
|
1699
|
-
items: z.ZodArray<z.
|
|
2684
|
+
items: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1700
2685
|
artifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1701
2686
|
byteLength: z.ZodNumber;
|
|
1702
2687
|
expiresAt: z.ZodString;
|
|
@@ -1706,14 +2691,14 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
1706
2691
|
}, z.core.$strict>>>;
|
|
1707
2692
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1708
2693
|
code: z.ZodEnum<{
|
|
1709
|
-
|
|
1710
|
-
capability_denied: "capability_denied";
|
|
2694
|
+
cancelled: "cancelled";
|
|
1711
2695
|
approval_required: "approval_required";
|
|
2696
|
+
capability_denied: "capability_denied";
|
|
1712
2697
|
validation_failed: "validation_failed";
|
|
2698
|
+
provider_unavailable: "provider_unavailable";
|
|
1713
2699
|
execution_failed: "execution_failed";
|
|
1714
|
-
output_truncated: "output_truncated";
|
|
1715
2700
|
timeout: "timeout";
|
|
1716
|
-
|
|
2701
|
+
output_truncated: "output_truncated";
|
|
1717
2702
|
artifact_unavailable: "artifact_unavailable";
|
|
1718
2703
|
}>;
|
|
1719
2704
|
level: z.ZodEnum<{
|
|
@@ -1741,16 +2726,23 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
1741
2726
|
}, z.core.$strict>>;
|
|
1742
2727
|
value: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
1743
2728
|
}, z.core.$strict>, z.ZodObject<{
|
|
2729
|
+
artifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2730
|
+
byteLength: z.ZodNumber;
|
|
2731
|
+
expiresAt: z.ZodString;
|
|
2732
|
+
fingerprint: z.ZodString;
|
|
2733
|
+
id: z.ZodString;
|
|
2734
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2735
|
+
}, z.core.$strict>>>;
|
|
1744
2736
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1745
2737
|
code: z.ZodEnum<{
|
|
1746
|
-
|
|
1747
|
-
capability_denied: "capability_denied";
|
|
2738
|
+
cancelled: "cancelled";
|
|
1748
2739
|
approval_required: "approval_required";
|
|
2740
|
+
capability_denied: "capability_denied";
|
|
1749
2741
|
validation_failed: "validation_failed";
|
|
2742
|
+
provider_unavailable: "provider_unavailable";
|
|
1750
2743
|
execution_failed: "execution_failed";
|
|
1751
|
-
output_truncated: "output_truncated";
|
|
1752
2744
|
timeout: "timeout";
|
|
1753
|
-
|
|
2745
|
+
output_truncated: "output_truncated";
|
|
1754
2746
|
artifact_unavailable: "artifact_unavailable";
|
|
1755
2747
|
}>;
|
|
1756
2748
|
level: z.ZodEnum<{
|
|
@@ -1764,29 +2756,99 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
1764
2756
|
}, z.core.$strict>>>;
|
|
1765
2757
|
error: z.ZodObject<{
|
|
1766
2758
|
code: z.ZodEnum<{
|
|
1767
|
-
|
|
2759
|
+
cancelled: "cancelled";
|
|
2760
|
+
invalid_request: "invalid_request";
|
|
2761
|
+
not_found: "not_found";
|
|
2762
|
+
not_authorized: "not_authorized";
|
|
2763
|
+
approval_required: "approval_required";
|
|
1768
2764
|
capability_denied: "capability_denied";
|
|
2765
|
+
validation_failed: "validation_failed";
|
|
2766
|
+
provider_unavailable: "provider_unavailable";
|
|
2767
|
+
execution_failed: "execution_failed";
|
|
2768
|
+
timeout: "timeout";
|
|
2769
|
+
}>;
|
|
2770
|
+
message: z.ZodString;
|
|
2771
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2772
|
+
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
2773
|
+
code: z.ZodEnum<{
|
|
2774
|
+
cancelled: "cancelled";
|
|
2775
|
+
approval_required: "approval_required";
|
|
2776
|
+
capability_denied: "capability_denied";
|
|
2777
|
+
validation_failed: "validation_failed";
|
|
2778
|
+
provider_unavailable: "provider_unavailable";
|
|
2779
|
+
execution_failed: "execution_failed";
|
|
2780
|
+
timeout: "timeout";
|
|
2781
|
+
output_truncated: "output_truncated";
|
|
2782
|
+
artifact_unavailable: "artifact_unavailable";
|
|
2783
|
+
}>;
|
|
2784
|
+
level: z.ZodEnum<{
|
|
2785
|
+
error: "error";
|
|
2786
|
+
debug: "debug";
|
|
2787
|
+
info: "info";
|
|
2788
|
+
warn: "warn";
|
|
2789
|
+
}>;
|
|
2790
|
+
safeMessage: z.ZodString;
|
|
2791
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2792
|
+
}, z.core.$strict>>;
|
|
2793
|
+
}, z.core.$strict>;
|
|
2794
|
+
id: z.ZodString;
|
|
2795
|
+
operationId: z.ZodString;
|
|
2796
|
+
outcome: z.ZodObject<{
|
|
2797
|
+
certainty: z.ZodLiteral<"proven">;
|
|
2798
|
+
completion: z.ZodLiteral<"failed">;
|
|
2799
|
+
kind: z.ZodLiteral<"completed">;
|
|
2800
|
+
retryClass: z.ZodLiteral<"forbidden">;
|
|
2801
|
+
}, z.core.$strict>;
|
|
2802
|
+
owningGeneration: z.ZodString;
|
|
2803
|
+
status: z.ZodLiteral<"error">;
|
|
2804
|
+
value: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
2805
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2806
|
+
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2807
|
+
code: z.ZodEnum<{
|
|
2808
|
+
cancelled: "cancelled";
|
|
1769
2809
|
approval_required: "approval_required";
|
|
2810
|
+
capability_denied: "capability_denied";
|
|
1770
2811
|
validation_failed: "validation_failed";
|
|
2812
|
+
provider_unavailable: "provider_unavailable";
|
|
1771
2813
|
execution_failed: "execution_failed";
|
|
1772
2814
|
timeout: "timeout";
|
|
2815
|
+
output_truncated: "output_truncated";
|
|
2816
|
+
artifact_unavailable: "artifact_unavailable";
|
|
2817
|
+
}>;
|
|
2818
|
+
level: z.ZodEnum<{
|
|
2819
|
+
error: "error";
|
|
2820
|
+
debug: "debug";
|
|
2821
|
+
info: "info";
|
|
2822
|
+
warn: "warn";
|
|
2823
|
+
}>;
|
|
2824
|
+
safeMessage: z.ZodString;
|
|
2825
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2826
|
+
}, z.core.$strict>>>;
|
|
2827
|
+
error: z.ZodObject<{
|
|
2828
|
+
code: z.ZodEnum<{
|
|
1773
2829
|
cancelled: "cancelled";
|
|
1774
2830
|
invalid_request: "invalid_request";
|
|
1775
2831
|
not_found: "not_found";
|
|
1776
2832
|
not_authorized: "not_authorized";
|
|
2833
|
+
approval_required: "approval_required";
|
|
2834
|
+
capability_denied: "capability_denied";
|
|
2835
|
+
validation_failed: "validation_failed";
|
|
2836
|
+
provider_unavailable: "provider_unavailable";
|
|
2837
|
+
execution_failed: "execution_failed";
|
|
2838
|
+
timeout: "timeout";
|
|
1777
2839
|
}>;
|
|
1778
2840
|
message: z.ZodString;
|
|
1779
2841
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1780
2842
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
1781
2843
|
code: z.ZodEnum<{
|
|
1782
|
-
|
|
1783
|
-
capability_denied: "capability_denied";
|
|
2844
|
+
cancelled: "cancelled";
|
|
1784
2845
|
approval_required: "approval_required";
|
|
2846
|
+
capability_denied: "capability_denied";
|
|
1785
2847
|
validation_failed: "validation_failed";
|
|
2848
|
+
provider_unavailable: "provider_unavailable";
|
|
1786
2849
|
execution_failed: "execution_failed";
|
|
1787
|
-
output_truncated: "output_truncated";
|
|
1788
2850
|
timeout: "timeout";
|
|
1789
|
-
|
|
2851
|
+
output_truncated: "output_truncated";
|
|
1790
2852
|
artifact_unavailable: "artifact_unavailable";
|
|
1791
2853
|
}>;
|
|
1792
2854
|
level: z.ZodEnum<{
|
|
@@ -1834,23 +2896,34 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
1834
2896
|
owningGeneration: z.ZodString;
|
|
1835
2897
|
status: z.ZodLiteral<"error">;
|
|
1836
2898
|
}, z.core.$strict>, z.ZodObject<{
|
|
1837
|
-
approvalChallenge: z.ZodObject<{
|
|
2899
|
+
approvalChallenge: z.ZodUnion<readonly [z.ZodObject<{
|
|
1838
2900
|
challengeId: z.ZodString;
|
|
1839
2901
|
expiresAt: z.ZodString;
|
|
1840
|
-
}, z.core.$strict
|
|
2902
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2903
|
+
challengeId: z.ZodString;
|
|
2904
|
+
expiresAt: z.ZodString;
|
|
2905
|
+
kind: z.ZodLiteral<"managed_google">;
|
|
2906
|
+
managedGoogleDisplay: z.ZodObject<{
|
|
2907
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
2908
|
+
authorizationId: z.core.$ZodBranded<z.ZodUUID, "OAuthAuthorizationId", "out">;
|
|
2909
|
+
accountAlias: z.ZodString;
|
|
2910
|
+
applicationLabel: z.ZodString;
|
|
2911
|
+
authorizationMetadataRevision: z.ZodNumber;
|
|
2912
|
+
}, z.core.$strict>;
|
|
2913
|
+
}, z.core.$strict>]>;
|
|
1841
2914
|
error: z.ZodObject<{
|
|
1842
2915
|
message: z.ZodString;
|
|
1843
2916
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1844
2917
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
1845
2918
|
code: z.ZodEnum<{
|
|
1846
|
-
|
|
1847
|
-
capability_denied: "capability_denied";
|
|
2919
|
+
cancelled: "cancelled";
|
|
1848
2920
|
approval_required: "approval_required";
|
|
2921
|
+
capability_denied: "capability_denied";
|
|
1849
2922
|
validation_failed: "validation_failed";
|
|
2923
|
+
provider_unavailable: "provider_unavailable";
|
|
1850
2924
|
execution_failed: "execution_failed";
|
|
1851
|
-
output_truncated: "output_truncated";
|
|
1852
2925
|
timeout: "timeout";
|
|
1853
|
-
|
|
2926
|
+
output_truncated: "output_truncated";
|
|
1854
2927
|
artifact_unavailable: "artifact_unavailable";
|
|
1855
2928
|
}>;
|
|
1856
2929
|
level: z.ZodEnum<{
|
|
@@ -1873,7 +2946,7 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
1873
2946
|
}, z.core.$strict>;
|
|
1874
2947
|
owningGeneration: z.ZodString;
|
|
1875
2948
|
status: z.ZodLiteral<"approval_required">;
|
|
1876
|
-
}, z.core.$strict>]
|
|
2949
|
+
}, z.core.$strict>]>>;
|
|
1877
2950
|
ok: z.ZodBoolean;
|
|
1878
2951
|
}, z.core.$strict>;
|
|
1879
2952
|
type PortalCallResult = z.infer<typeof PortalCallResultSchema>;
|
|
@@ -1881,14 +2954,14 @@ declare const PortalListResultSchema: z.ZodObject<{
|
|
|
1881
2954
|
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
1882
2955
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1883
2956
|
code: z.ZodEnum<{
|
|
1884
|
-
|
|
1885
|
-
capability_denied: "capability_denied";
|
|
2957
|
+
cancelled: "cancelled";
|
|
1886
2958
|
approval_required: "approval_required";
|
|
2959
|
+
capability_denied: "capability_denied";
|
|
1887
2960
|
validation_failed: "validation_failed";
|
|
2961
|
+
provider_unavailable: "provider_unavailable";
|
|
1888
2962
|
execution_failed: "execution_failed";
|
|
1889
|
-
output_truncated: "output_truncated";
|
|
1890
2963
|
timeout: "timeout";
|
|
1891
|
-
|
|
2964
|
+
output_truncated: "output_truncated";
|
|
1892
2965
|
artifact_unavailable: "artifact_unavailable";
|
|
1893
2966
|
}>;
|
|
1894
2967
|
level: z.ZodEnum<{
|
|
@@ -1910,14 +2983,14 @@ declare const PortalListResultSchema: z.ZodObject<{
|
|
|
1910
2983
|
}, z.core.$strict>>>;
|
|
1911
2984
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1912
2985
|
code: z.ZodEnum<{
|
|
1913
|
-
|
|
1914
|
-
capability_denied: "capability_denied";
|
|
2986
|
+
cancelled: "cancelled";
|
|
1915
2987
|
approval_required: "approval_required";
|
|
2988
|
+
capability_denied: "capability_denied";
|
|
1916
2989
|
validation_failed: "validation_failed";
|
|
2990
|
+
provider_unavailable: "provider_unavailable";
|
|
1917
2991
|
execution_failed: "execution_failed";
|
|
1918
|
-
output_truncated: "output_truncated";
|
|
1919
2992
|
timeout: "timeout";
|
|
1920
|
-
|
|
2993
|
+
output_truncated: "output_truncated";
|
|
1921
2994
|
artifact_unavailable: "artifact_unavailable";
|
|
1922
2995
|
}>;
|
|
1923
2996
|
level: z.ZodEnum<{
|
|
@@ -1939,7 +3012,16 @@ declare const PortalListResultSchema: z.ZodObject<{
|
|
|
1939
3012
|
namespaces: z.ZodArray<z.ZodString>;
|
|
1940
3013
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
1941
3014
|
tools: z.ZodArray<z.ZodObject<{
|
|
3015
|
+
callDisposition: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3016
|
+
kind: z.ZodLiteral<"without-approval">;
|
|
3017
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3018
|
+
kind: z.ZodLiteral<"requires-approval">;
|
|
3019
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3020
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
3021
|
+
kind: z.ZodLiteral<"invocation-dependent">;
|
|
3022
|
+
}, z.core.$strict>], "kind">>;
|
|
1942
3023
|
description: z.ZodOptional<z.ZodString>;
|
|
3024
|
+
descriptionTruncated: z.ZodOptional<z.ZodBoolean>;
|
|
1943
3025
|
input: z.ZodObject<{
|
|
1944
3026
|
optional: z.ZodArray<z.ZodString>;
|
|
1945
3027
|
propertyCount: z.ZodNumber;
|
|
@@ -1966,6 +3048,55 @@ declare const PortalListResultSchema: z.ZodObject<{
|
|
|
1966
3048
|
}, z.core.$strict>>;
|
|
1967
3049
|
title: z.ZodOptional<z.ZodString>;
|
|
1968
3050
|
name: z.ZodString;
|
|
3051
|
+
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3052
|
+
kind: z.ZodLiteral<"operation-options">;
|
|
3053
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3054
|
+
requirement: z.ZodObject<{
|
|
3055
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
3056
|
+
operationId: z.ZodString;
|
|
3057
|
+
}, z.core.$strict>;
|
|
3058
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3059
|
+
kind: z.ZodLiteral<"accounts">;
|
|
3060
|
+
accounts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3061
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
3062
|
+
metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3063
|
+
kind: z.ZodLiteral<"verified">;
|
|
3064
|
+
accountAlias: z.ZodString;
|
|
3065
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3066
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
3067
|
+
}, z.core.$strict>], "kind">;
|
|
3068
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3069
|
+
kind: z.ZodLiteral<"ready">;
|
|
3070
|
+
disposition: z.ZodEnum<{
|
|
3071
|
+
ask: "ask";
|
|
3072
|
+
allow: "allow";
|
|
3073
|
+
}>;
|
|
3074
|
+
overrideRevision: z.ZodNumber;
|
|
3075
|
+
defaultsRevision: z.ZodString;
|
|
3076
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3077
|
+
kind: z.ZodLiteral<"consent-required">;
|
|
3078
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3079
|
+
kind: z.ZodLiteral<"denied">;
|
|
3080
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3081
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
3082
|
+
}, z.core.$strict>], "kind">;
|
|
3083
|
+
}, z.core.$strict>>>;
|
|
3084
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3085
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
3086
|
+
}, z.core.$strict>], "kind">;
|
|
3087
|
+
}, z.core.$strict>>>;
|
|
3088
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3089
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
3090
|
+
}, z.core.$strict>], "kind">>;
|
|
3091
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
3092
|
+
kind: z.ZodLiteral<"google-account">;
|
|
3093
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
3094
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
3095
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3096
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
3097
|
+
operationId: z.ZodString;
|
|
3098
|
+
}, z.core.$strict>>>;
|
|
3099
|
+
}, z.core.$strict>>;
|
|
1969
3100
|
toolRef: z.ZodString;
|
|
1970
3101
|
}, z.core.$strict>>;
|
|
1971
3102
|
namespaceDiscovery: z.ZodArray<z.ZodObject<{
|
|
@@ -1976,14 +3107,14 @@ declare const PortalListResultSchema: z.ZodObject<{
|
|
|
1976
3107
|
}, z.core.$strict>, z.ZodObject<{
|
|
1977
3108
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1978
3109
|
code: z.ZodEnum<{
|
|
1979
|
-
|
|
1980
|
-
capability_denied: "capability_denied";
|
|
3110
|
+
cancelled: "cancelled";
|
|
1981
3111
|
approval_required: "approval_required";
|
|
3112
|
+
capability_denied: "capability_denied";
|
|
1982
3113
|
validation_failed: "validation_failed";
|
|
3114
|
+
provider_unavailable: "provider_unavailable";
|
|
1983
3115
|
execution_failed: "execution_failed";
|
|
1984
|
-
output_truncated: "output_truncated";
|
|
1985
3116
|
timeout: "timeout";
|
|
1986
|
-
|
|
3117
|
+
output_truncated: "output_truncated";
|
|
1987
3118
|
artifact_unavailable: "artifact_unavailable";
|
|
1988
3119
|
}>;
|
|
1989
3120
|
level: z.ZodEnum<{
|
|
@@ -1997,29 +3128,29 @@ declare const PortalListResultSchema: z.ZodObject<{
|
|
|
1997
3128
|
}, z.core.$strict>>>;
|
|
1998
3129
|
error: z.ZodObject<{
|
|
1999
3130
|
code: z.ZodEnum<{
|
|
2000
|
-
provider_unavailable: "provider_unavailable";
|
|
2001
|
-
capability_denied: "capability_denied";
|
|
2002
|
-
approval_required: "approval_required";
|
|
2003
|
-
validation_failed: "validation_failed";
|
|
2004
|
-
execution_failed: "execution_failed";
|
|
2005
|
-
timeout: "timeout";
|
|
2006
3131
|
cancelled: "cancelled";
|
|
2007
3132
|
invalid_request: "invalid_request";
|
|
2008
3133
|
not_found: "not_found";
|
|
2009
3134
|
not_authorized: "not_authorized";
|
|
3135
|
+
approval_required: "approval_required";
|
|
3136
|
+
capability_denied: "capability_denied";
|
|
3137
|
+
validation_failed: "validation_failed";
|
|
3138
|
+
provider_unavailable: "provider_unavailable";
|
|
3139
|
+
execution_failed: "execution_failed";
|
|
3140
|
+
timeout: "timeout";
|
|
2010
3141
|
}>;
|
|
2011
3142
|
message: z.ZodString;
|
|
2012
3143
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2013
3144
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
2014
3145
|
code: z.ZodEnum<{
|
|
2015
|
-
|
|
2016
|
-
capability_denied: "capability_denied";
|
|
3146
|
+
cancelled: "cancelled";
|
|
2017
3147
|
approval_required: "approval_required";
|
|
3148
|
+
capability_denied: "capability_denied";
|
|
2018
3149
|
validation_failed: "validation_failed";
|
|
3150
|
+
provider_unavailable: "provider_unavailable";
|
|
2019
3151
|
execution_failed: "execution_failed";
|
|
2020
|
-
output_truncated: "output_truncated";
|
|
2021
3152
|
timeout: "timeout";
|
|
2022
|
-
|
|
3153
|
+
output_truncated: "output_truncated";
|
|
2023
3154
|
artifact_unavailable: "artifact_unavailable";
|
|
2024
3155
|
}>;
|
|
2025
3156
|
level: z.ZodEnum<{
|
|
@@ -2042,14 +3173,14 @@ declare const PortalSearchResultSchema: z.ZodObject<{
|
|
|
2042
3173
|
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
2043
3174
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2044
3175
|
code: z.ZodEnum<{
|
|
2045
|
-
|
|
2046
|
-
capability_denied: "capability_denied";
|
|
3176
|
+
cancelled: "cancelled";
|
|
2047
3177
|
approval_required: "approval_required";
|
|
3178
|
+
capability_denied: "capability_denied";
|
|
2048
3179
|
validation_failed: "validation_failed";
|
|
3180
|
+
provider_unavailable: "provider_unavailable";
|
|
2049
3181
|
execution_failed: "execution_failed";
|
|
2050
|
-
output_truncated: "output_truncated";
|
|
2051
3182
|
timeout: "timeout";
|
|
2052
|
-
|
|
3183
|
+
output_truncated: "output_truncated";
|
|
2053
3184
|
artifact_unavailable: "artifact_unavailable";
|
|
2054
3185
|
}>;
|
|
2055
3186
|
level: z.ZodEnum<{
|
|
@@ -2071,14 +3202,14 @@ declare const PortalSearchResultSchema: z.ZodObject<{
|
|
|
2071
3202
|
}, z.core.$strict>>>;
|
|
2072
3203
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2073
3204
|
code: z.ZodEnum<{
|
|
2074
|
-
|
|
2075
|
-
capability_denied: "capability_denied";
|
|
3205
|
+
cancelled: "cancelled";
|
|
2076
3206
|
approval_required: "approval_required";
|
|
3207
|
+
capability_denied: "capability_denied";
|
|
2077
3208
|
validation_failed: "validation_failed";
|
|
3209
|
+
provider_unavailable: "provider_unavailable";
|
|
2078
3210
|
execution_failed: "execution_failed";
|
|
2079
|
-
output_truncated: "output_truncated";
|
|
2080
3211
|
timeout: "timeout";
|
|
2081
|
-
|
|
3212
|
+
output_truncated: "output_truncated";
|
|
2082
3213
|
artifact_unavailable: "artifact_unavailable";
|
|
2083
3214
|
}>;
|
|
2084
3215
|
level: z.ZodEnum<{
|
|
@@ -2098,7 +3229,16 @@ declare const PortalSearchResultSchema: z.ZodObject<{
|
|
|
2098
3229
|
}, z.core.$strict>>;
|
|
2099
3230
|
value: z.ZodObject<{
|
|
2100
3231
|
tools: z.ZodArray<z.ZodObject<{
|
|
3232
|
+
callDisposition: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3233
|
+
kind: z.ZodLiteral<"without-approval">;
|
|
3234
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3235
|
+
kind: z.ZodLiteral<"requires-approval">;
|
|
3236
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3237
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
3238
|
+
kind: z.ZodLiteral<"invocation-dependent">;
|
|
3239
|
+
}, z.core.$strict>], "kind">>;
|
|
2101
3240
|
description: z.ZodOptional<z.ZodString>;
|
|
3241
|
+
descriptionTruncated: z.ZodOptional<z.ZodBoolean>;
|
|
2102
3242
|
input: z.ZodObject<{
|
|
2103
3243
|
optional: z.ZodArray<z.ZodString>;
|
|
2104
3244
|
propertyCount: z.ZodNumber;
|
|
@@ -2125,6 +3265,55 @@ declare const PortalSearchResultSchema: z.ZodObject<{
|
|
|
2125
3265
|
}, z.core.$strict>>;
|
|
2126
3266
|
title: z.ZodOptional<z.ZodString>;
|
|
2127
3267
|
name: z.ZodString;
|
|
3268
|
+
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3269
|
+
kind: z.ZodLiteral<"operation-options">;
|
|
3270
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3271
|
+
requirement: z.ZodObject<{
|
|
3272
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
3273
|
+
operationId: z.ZodString;
|
|
3274
|
+
}, z.core.$strict>;
|
|
3275
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3276
|
+
kind: z.ZodLiteral<"accounts">;
|
|
3277
|
+
accounts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3278
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
3279
|
+
metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3280
|
+
kind: z.ZodLiteral<"verified">;
|
|
3281
|
+
accountAlias: z.ZodString;
|
|
3282
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3283
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
3284
|
+
}, z.core.$strict>], "kind">;
|
|
3285
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3286
|
+
kind: z.ZodLiteral<"ready">;
|
|
3287
|
+
disposition: z.ZodEnum<{
|
|
3288
|
+
ask: "ask";
|
|
3289
|
+
allow: "allow";
|
|
3290
|
+
}>;
|
|
3291
|
+
overrideRevision: z.ZodNumber;
|
|
3292
|
+
defaultsRevision: z.ZodString;
|
|
3293
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3294
|
+
kind: z.ZodLiteral<"consent-required">;
|
|
3295
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3296
|
+
kind: z.ZodLiteral<"denied">;
|
|
3297
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3298
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
3299
|
+
}, z.core.$strict>], "kind">;
|
|
3300
|
+
}, z.core.$strict>>>;
|
|
3301
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3302
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
3303
|
+
}, z.core.$strict>], "kind">;
|
|
3304
|
+
}, z.core.$strict>>>;
|
|
3305
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3306
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
3307
|
+
}, z.core.$strict>], "kind">>;
|
|
3308
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
3309
|
+
kind: z.ZodLiteral<"google-account">;
|
|
3310
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
3311
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
3312
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3313
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
3314
|
+
operationId: z.ZodString;
|
|
3315
|
+
}, z.core.$strict>>>;
|
|
3316
|
+
}, z.core.$strict>>;
|
|
2128
3317
|
toolRef: z.ZodString;
|
|
2129
3318
|
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
2130
3319
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -2139,14 +3328,14 @@ declare const PortalSearchResultSchema: z.ZodObject<{
|
|
|
2139
3328
|
}, z.core.$strict>, z.ZodObject<{
|
|
2140
3329
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2141
3330
|
code: z.ZodEnum<{
|
|
2142
|
-
|
|
2143
|
-
capability_denied: "capability_denied";
|
|
3331
|
+
cancelled: "cancelled";
|
|
2144
3332
|
approval_required: "approval_required";
|
|
3333
|
+
capability_denied: "capability_denied";
|
|
2145
3334
|
validation_failed: "validation_failed";
|
|
3335
|
+
provider_unavailable: "provider_unavailable";
|
|
2146
3336
|
execution_failed: "execution_failed";
|
|
2147
|
-
output_truncated: "output_truncated";
|
|
2148
3337
|
timeout: "timeout";
|
|
2149
|
-
|
|
3338
|
+
output_truncated: "output_truncated";
|
|
2150
3339
|
artifact_unavailable: "artifact_unavailable";
|
|
2151
3340
|
}>;
|
|
2152
3341
|
level: z.ZodEnum<{
|
|
@@ -2160,29 +3349,29 @@ declare const PortalSearchResultSchema: z.ZodObject<{
|
|
|
2160
3349
|
}, z.core.$strict>>>;
|
|
2161
3350
|
error: z.ZodObject<{
|
|
2162
3351
|
code: z.ZodEnum<{
|
|
2163
|
-
provider_unavailable: "provider_unavailable";
|
|
2164
|
-
capability_denied: "capability_denied";
|
|
2165
|
-
approval_required: "approval_required";
|
|
2166
|
-
validation_failed: "validation_failed";
|
|
2167
|
-
execution_failed: "execution_failed";
|
|
2168
|
-
timeout: "timeout";
|
|
2169
3352
|
cancelled: "cancelled";
|
|
2170
3353
|
invalid_request: "invalid_request";
|
|
2171
3354
|
not_found: "not_found";
|
|
2172
3355
|
not_authorized: "not_authorized";
|
|
3356
|
+
approval_required: "approval_required";
|
|
3357
|
+
capability_denied: "capability_denied";
|
|
3358
|
+
validation_failed: "validation_failed";
|
|
3359
|
+
provider_unavailable: "provider_unavailable";
|
|
3360
|
+
execution_failed: "execution_failed";
|
|
3361
|
+
timeout: "timeout";
|
|
2173
3362
|
}>;
|
|
2174
3363
|
message: z.ZodString;
|
|
2175
3364
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2176
3365
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
2177
3366
|
code: z.ZodEnum<{
|
|
2178
|
-
|
|
2179
|
-
capability_denied: "capability_denied";
|
|
3367
|
+
cancelled: "cancelled";
|
|
2180
3368
|
approval_required: "approval_required";
|
|
3369
|
+
capability_denied: "capability_denied";
|
|
2181
3370
|
validation_failed: "validation_failed";
|
|
3371
|
+
provider_unavailable: "provider_unavailable";
|
|
2182
3372
|
execution_failed: "execution_failed";
|
|
2183
|
-
output_truncated: "output_truncated";
|
|
2184
3373
|
timeout: "timeout";
|
|
2185
|
-
|
|
3374
|
+
output_truncated: "output_truncated";
|
|
2186
3375
|
artifact_unavailable: "artifact_unavailable";
|
|
2187
3376
|
}>;
|
|
2188
3377
|
level: z.ZodEnum<{
|
|
@@ -2205,14 +3394,14 @@ declare const PortalDescribeResultSchema: z.ZodObject<{
|
|
|
2205
3394
|
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
2206
3395
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2207
3396
|
code: z.ZodEnum<{
|
|
2208
|
-
|
|
2209
|
-
capability_denied: "capability_denied";
|
|
3397
|
+
cancelled: "cancelled";
|
|
2210
3398
|
approval_required: "approval_required";
|
|
3399
|
+
capability_denied: "capability_denied";
|
|
2211
3400
|
validation_failed: "validation_failed";
|
|
3401
|
+
provider_unavailable: "provider_unavailable";
|
|
2212
3402
|
execution_failed: "execution_failed";
|
|
2213
|
-
output_truncated: "output_truncated";
|
|
2214
3403
|
timeout: "timeout";
|
|
2215
|
-
|
|
3404
|
+
output_truncated: "output_truncated";
|
|
2216
3405
|
artifact_unavailable: "artifact_unavailable";
|
|
2217
3406
|
}>;
|
|
2218
3407
|
level: z.ZodEnum<{
|
|
@@ -2234,14 +3423,14 @@ declare const PortalDescribeResultSchema: z.ZodObject<{
|
|
|
2234
3423
|
}, z.core.$strict>>>;
|
|
2235
3424
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2236
3425
|
code: z.ZodEnum<{
|
|
2237
|
-
|
|
2238
|
-
capability_denied: "capability_denied";
|
|
3426
|
+
cancelled: "cancelled";
|
|
2239
3427
|
approval_required: "approval_required";
|
|
3428
|
+
capability_denied: "capability_denied";
|
|
2240
3429
|
validation_failed: "validation_failed";
|
|
3430
|
+
provider_unavailable: "provider_unavailable";
|
|
2241
3431
|
execution_failed: "execution_failed";
|
|
2242
|
-
output_truncated: "output_truncated";
|
|
2243
3432
|
timeout: "timeout";
|
|
2244
|
-
|
|
3433
|
+
output_truncated: "output_truncated";
|
|
2245
3434
|
artifact_unavailable: "artifact_unavailable";
|
|
2246
3435
|
}>;
|
|
2247
3436
|
level: z.ZodEnum<{
|
|
@@ -2262,6 +3451,15 @@ declare const PortalDescribeResultSchema: z.ZodObject<{
|
|
|
2262
3451
|
value: z.ZodObject<{
|
|
2263
3452
|
tools: z.ZodArray<z.ZodObject<{
|
|
2264
3453
|
annotations: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
3454
|
+
callDisposition: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3455
|
+
kind: z.ZodLiteral<"without-approval">;
|
|
3456
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3457
|
+
kind: z.ZodLiteral<"requires-approval">;
|
|
3458
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3459
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
3460
|
+
kind: z.ZodLiteral<"invocation-dependent">;
|
|
3461
|
+
}, z.core.$strict>], "kind">>;
|
|
3462
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2265
3463
|
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
2266
3464
|
namespace: z.ZodString;
|
|
2267
3465
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -2273,7 +3471,57 @@ declare const PortalDescribeResultSchema: z.ZodObject<{
|
|
|
2273
3471
|
describe_before_call: "describe_before_call";
|
|
2274
3472
|
}>;
|
|
2275
3473
|
}, z.core.$strict>>;
|
|
3474
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2276
3475
|
name: z.ZodString;
|
|
3476
|
+
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3477
|
+
kind: z.ZodLiteral<"operation-options">;
|
|
3478
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3479
|
+
requirement: z.ZodObject<{
|
|
3480
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
3481
|
+
operationId: z.ZodString;
|
|
3482
|
+
}, z.core.$strict>;
|
|
3483
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3484
|
+
kind: z.ZodLiteral<"accounts">;
|
|
3485
|
+
accounts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3486
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
3487
|
+
metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3488
|
+
kind: z.ZodLiteral<"verified">;
|
|
3489
|
+
accountAlias: z.ZodString;
|
|
3490
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3491
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
3492
|
+
}, z.core.$strict>], "kind">;
|
|
3493
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3494
|
+
kind: z.ZodLiteral<"ready">;
|
|
3495
|
+
disposition: z.ZodEnum<{
|
|
3496
|
+
ask: "ask";
|
|
3497
|
+
allow: "allow";
|
|
3498
|
+
}>;
|
|
3499
|
+
overrideRevision: z.ZodNumber;
|
|
3500
|
+
defaultsRevision: z.ZodString;
|
|
3501
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3502
|
+
kind: z.ZodLiteral<"consent-required">;
|
|
3503
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3504
|
+
kind: z.ZodLiteral<"denied">;
|
|
3505
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3506
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
3507
|
+
}, z.core.$strict>], "kind">;
|
|
3508
|
+
}, z.core.$strict>>>;
|
|
3509
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3510
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
3511
|
+
}, z.core.$strict>], "kind">;
|
|
3512
|
+
}, z.core.$strict>>>;
|
|
3513
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3514
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
3515
|
+
}, z.core.$strict>], "kind">>;
|
|
3516
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
3517
|
+
kind: z.ZodLiteral<"google-account">;
|
|
3518
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
3519
|
+
describeBeforeCall: z.ZodLiteral<true>;
|
|
3520
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3521
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
3522
|
+
operationId: z.ZodString;
|
|
3523
|
+
}, z.core.$strict>>>;
|
|
3524
|
+
}, z.core.$strict>>;
|
|
2277
3525
|
toolRef: z.ZodString;
|
|
2278
3526
|
typescriptHelper: z.ZodOptional<z.ZodString>;
|
|
2279
3527
|
zod: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -2286,14 +3534,14 @@ declare const PortalDescribeResultSchema: z.ZodObject<{
|
|
|
2286
3534
|
}, z.core.$strict>, z.ZodObject<{
|
|
2287
3535
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2288
3536
|
code: z.ZodEnum<{
|
|
2289
|
-
|
|
2290
|
-
capability_denied: "capability_denied";
|
|
3537
|
+
cancelled: "cancelled";
|
|
2291
3538
|
approval_required: "approval_required";
|
|
3539
|
+
capability_denied: "capability_denied";
|
|
2292
3540
|
validation_failed: "validation_failed";
|
|
3541
|
+
provider_unavailable: "provider_unavailable";
|
|
2293
3542
|
execution_failed: "execution_failed";
|
|
2294
|
-
output_truncated: "output_truncated";
|
|
2295
3543
|
timeout: "timeout";
|
|
2296
|
-
|
|
3544
|
+
output_truncated: "output_truncated";
|
|
2297
3545
|
artifact_unavailable: "artifact_unavailable";
|
|
2298
3546
|
}>;
|
|
2299
3547
|
level: z.ZodEnum<{
|
|
@@ -2307,29 +3555,29 @@ declare const PortalDescribeResultSchema: z.ZodObject<{
|
|
|
2307
3555
|
}, z.core.$strict>>>;
|
|
2308
3556
|
error: z.ZodObject<{
|
|
2309
3557
|
code: z.ZodEnum<{
|
|
2310
|
-
provider_unavailable: "provider_unavailable";
|
|
2311
|
-
capability_denied: "capability_denied";
|
|
2312
|
-
approval_required: "approval_required";
|
|
2313
|
-
validation_failed: "validation_failed";
|
|
2314
|
-
execution_failed: "execution_failed";
|
|
2315
|
-
timeout: "timeout";
|
|
2316
3558
|
cancelled: "cancelled";
|
|
2317
3559
|
invalid_request: "invalid_request";
|
|
2318
3560
|
not_found: "not_found";
|
|
2319
3561
|
not_authorized: "not_authorized";
|
|
3562
|
+
approval_required: "approval_required";
|
|
3563
|
+
capability_denied: "capability_denied";
|
|
3564
|
+
validation_failed: "validation_failed";
|
|
3565
|
+
provider_unavailable: "provider_unavailable";
|
|
3566
|
+
execution_failed: "execution_failed";
|
|
3567
|
+
timeout: "timeout";
|
|
2320
3568
|
}>;
|
|
2321
3569
|
message: z.ZodString;
|
|
2322
3570
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2323
3571
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
2324
3572
|
code: z.ZodEnum<{
|
|
2325
|
-
|
|
2326
|
-
capability_denied: "capability_denied";
|
|
3573
|
+
cancelled: "cancelled";
|
|
2327
3574
|
approval_required: "approval_required";
|
|
3575
|
+
capability_denied: "capability_denied";
|
|
2328
3576
|
validation_failed: "validation_failed";
|
|
3577
|
+
provider_unavailable: "provider_unavailable";
|
|
2329
3578
|
execution_failed: "execution_failed";
|
|
2330
|
-
output_truncated: "output_truncated";
|
|
2331
3579
|
timeout: "timeout";
|
|
2332
|
-
|
|
3580
|
+
output_truncated: "output_truncated";
|
|
2333
3581
|
artifact_unavailable: "artifact_unavailable";
|
|
2334
3582
|
}>;
|
|
2335
3583
|
level: z.ZodEnum<{
|
|
@@ -2358,14 +3606,14 @@ declare const PortalGenericItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2358
3606
|
}, z.core.$strict>>>;
|
|
2359
3607
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2360
3608
|
code: z.ZodEnum<{
|
|
2361
|
-
|
|
2362
|
-
capability_denied: "capability_denied";
|
|
3609
|
+
cancelled: "cancelled";
|
|
2363
3610
|
approval_required: "approval_required";
|
|
3611
|
+
capability_denied: "capability_denied";
|
|
2364
3612
|
validation_failed: "validation_failed";
|
|
3613
|
+
provider_unavailable: "provider_unavailable";
|
|
2365
3614
|
execution_failed: "execution_failed";
|
|
2366
|
-
output_truncated: "output_truncated";
|
|
2367
3615
|
timeout: "timeout";
|
|
2368
|
-
|
|
3616
|
+
output_truncated: "output_truncated";
|
|
2369
3617
|
artifact_unavailable: "artifact_unavailable";
|
|
2370
3618
|
}>;
|
|
2371
3619
|
level: z.ZodEnum<{
|
|
@@ -2387,14 +3635,14 @@ declare const PortalGenericItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2387
3635
|
}, z.core.$strict>, z.ZodObject<{
|
|
2388
3636
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2389
3637
|
code: z.ZodEnum<{
|
|
2390
|
-
|
|
2391
|
-
capability_denied: "capability_denied";
|
|
3638
|
+
cancelled: "cancelled";
|
|
2392
3639
|
approval_required: "approval_required";
|
|
3640
|
+
capability_denied: "capability_denied";
|
|
2393
3641
|
validation_failed: "validation_failed";
|
|
3642
|
+
provider_unavailable: "provider_unavailable";
|
|
2394
3643
|
execution_failed: "execution_failed";
|
|
2395
|
-
output_truncated: "output_truncated";
|
|
2396
3644
|
timeout: "timeout";
|
|
2397
|
-
|
|
3645
|
+
output_truncated: "output_truncated";
|
|
2398
3646
|
artifact_unavailable: "artifact_unavailable";
|
|
2399
3647
|
}>;
|
|
2400
3648
|
level: z.ZodEnum<{
|
|
@@ -2408,29 +3656,29 @@ declare const PortalGenericItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2408
3656
|
}, z.core.$strict>>>;
|
|
2409
3657
|
error: z.ZodObject<{
|
|
2410
3658
|
code: z.ZodEnum<{
|
|
2411
|
-
provider_unavailable: "provider_unavailable";
|
|
2412
|
-
capability_denied: "capability_denied";
|
|
2413
|
-
approval_required: "approval_required";
|
|
2414
|
-
validation_failed: "validation_failed";
|
|
2415
|
-
execution_failed: "execution_failed";
|
|
2416
|
-
timeout: "timeout";
|
|
2417
3659
|
cancelled: "cancelled";
|
|
2418
3660
|
invalid_request: "invalid_request";
|
|
2419
3661
|
not_found: "not_found";
|
|
2420
3662
|
not_authorized: "not_authorized";
|
|
3663
|
+
approval_required: "approval_required";
|
|
3664
|
+
capability_denied: "capability_denied";
|
|
3665
|
+
validation_failed: "validation_failed";
|
|
3666
|
+
provider_unavailable: "provider_unavailable";
|
|
3667
|
+
execution_failed: "execution_failed";
|
|
3668
|
+
timeout: "timeout";
|
|
2421
3669
|
}>;
|
|
2422
3670
|
message: z.ZodString;
|
|
2423
3671
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2424
3672
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
2425
3673
|
code: z.ZodEnum<{
|
|
2426
|
-
|
|
2427
|
-
capability_denied: "capability_denied";
|
|
3674
|
+
cancelled: "cancelled";
|
|
2428
3675
|
approval_required: "approval_required";
|
|
3676
|
+
capability_denied: "capability_denied";
|
|
2429
3677
|
validation_failed: "validation_failed";
|
|
3678
|
+
provider_unavailable: "provider_unavailable";
|
|
2430
3679
|
execution_failed: "execution_failed";
|
|
2431
|
-
output_truncated: "output_truncated";
|
|
2432
3680
|
timeout: "timeout";
|
|
2433
|
-
|
|
3681
|
+
output_truncated: "output_truncated";
|
|
2434
3682
|
artifact_unavailable: "artifact_unavailable";
|
|
2435
3683
|
}>;
|
|
2436
3684
|
level: z.ZodEnum<{
|
|
@@ -2448,4 +3696,4 @@ declare const PortalGenericItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2448
3696
|
}, z.core.$strict>], "status">;
|
|
2449
3697
|
//#endregion
|
|
2450
3698
|
export { PortalSearchResultSchema as A, PortalListItemResultSchema as C, PortalSearchItemResultSchema as D, PortalListResultSchema as E, PortalCallRequestSchema as F, PortalBatchMaxItems as M, PortalCallItemRequestSchema as N, PortalSearchItemValueSchema as O, PortalCallRequest as P, PortalGenericItemResultSchema as S, PortalListResult as T, PortalCallResultSchema as _, PortalBackendDescribeResult as a, PortalDescribeResult as b, PortalBackendListItemValueSchema as c, PortalBackendSearchItemResultSchema as d, PortalBackendSearchItemValueSchema as f, PortalCallResult as g, PortalCallItemResultSchema as h, PortalBackendDescribeItemValueSchema as i, TruncationMetadataSchema as j, PortalSearchResult as k, PortalBackendListResult as l, PortalBackendSearchResultSchema as m, PortalApprovalRequiredCallItemResultSchema as n, PortalBackendDescribeResultSchema as o, PortalBackendSearchResult as p, PortalBackendDescribeItemResultSchema as r, PortalBackendListItemResultSchema as s, PortalApprovalChallengeSchema as t, PortalBackendListResultSchema as u, PortalDescribeItemResultSchema as v, PortalListItemValueSchema as w, PortalDescribeResultSchema as x, PortalDescribeItemValueSchema as y };
|
|
2451
|
-
//# sourceMappingURL=portal-call-result-schema-
|
|
3699
|
+
//# sourceMappingURL=portal-call-result-schema-CjfCOa84.d.ts.map
|