@agent-vm/agent-portal-sdk 0.0.148 → 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-phfnKUSF.js → approval-surface-CfbAG-81.js} +4 -4
- package/dist/{approval-surface-phfnKUSF.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 +1 -1
- package/dist/capability-description-surface/index.js +2 -2
- package/dist/capability-description-surface-DKZLjpG4.js +2 -0
- package/dist/{capability-descriptor-schema-B_0vLQ3E.js → capability-descriptor-schema-5evBt6Hl.js} +2 -2
- package/dist/{capability-descriptor-schema-B_0vLQ3E.js.map → capability-descriptor-schema-5evBt6Hl.js.map} +1 -1
- 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-C2axvEYg.d.ts → index-BSG2bf1j.d.ts} +3 -3
- package/dist/{index-C2axvEYg.d.ts.map → index-BSG2bf1j.d.ts.map} +1 -1
- package/dist/{index-DZJH4Rau.d.ts → index-Ba_G25p_.d.ts} +11 -11
- package/dist/{index-DZJH4Rau.d.ts.map → index-Ba_G25p_.d.ts.map} +1 -1
- package/dist/{index-uDfElZ9U.d.ts → index-ByBEiqZp.d.ts} +177 -93
- package/dist/index-ByBEiqZp.d.ts.map +1 -0
- package/dist/{index-ex2lEawY.d.ts → index-C5NsqQls.d.ts} +28 -6
- package/dist/index-C5NsqQls.d.ts.map +1 -0
- package/dist/{index-DTTEu7ZT.d.ts → index-C8gs_YWX.d.ts} +121 -5
- package/dist/{index-DTTEu7ZT.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-CWLiYrVU.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-Mv2Dv1HJ.d.ts → portal-call-result-schema-CjfCOa84.d.ts} +1071 -495
- package/dist/portal-call-result-schema-CjfCOa84.d.ts.map +1 -0
- package/dist/{portal-call-result-schema-DM77S9CA.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-DsDi2iJc.js → tool-portal-mcp-client-DSDLoZ5e.js} +5 -5
- package/dist/{tool-portal-mcp-client-DsDi2iJc.js.map → tool-portal-mcp-client-DSDLoZ5e.js.map} +1 -1
- package/package.json +2 -2
- package/portable-contract-schema-manifest.json +1614 -366
- package/dist/capability-description-surface-YqGm-nS_.js +0 -2
- package/dist/index-C-QFWaH5.d.ts.map +0 -1
- package/dist/index-ex2lEawY.d.ts.map +0 -1
- package/dist/index-uDfElZ9U.d.ts.map +0 -1
- package/dist/portable-contracts-CWLiYrVU.js.map +0 -1
- package/dist/portable-refinement-authoring-C1Q92x2G.js.map +0 -1
- package/dist/portal-call-result-schema-DM77S9CA.js.map +0 -1
- package/dist/portal-call-result-schema-Mv2Dv1HJ.d.ts.map +0 -1
- package/dist/portal-call-surface-B952nh-H.js +0 -84
- package/dist/portal-call-surface-B952nh-H.js.map +0 -1
package/dist/{portal-call-result-schema-Mv2Dv1HJ.d.ts → portal-call-result-schema-CjfCOa84.d.ts}
RENAMED
|
@@ -25,26 +25,48 @@ 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<{
|
|
64
|
+
cancelled: "cancelled";
|
|
42
65
|
approval_required: "approval_required";
|
|
43
66
|
capability_denied: "capability_denied";
|
|
44
67
|
validation_failed: "validation_failed";
|
|
45
68
|
provider_unavailable: "provider_unavailable";
|
|
46
69
|
execution_failed: "execution_failed";
|
|
47
|
-
cancelled: "cancelled";
|
|
48
70
|
timeout: "timeout";
|
|
49
71
|
output_truncated: "output_truncated";
|
|
50
72
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -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,12 +102,12 @@ 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<{
|
|
105
|
+
cancelled: "cancelled";
|
|
83
106
|
approval_required: "approval_required";
|
|
84
107
|
capability_denied: "capability_denied";
|
|
85
108
|
validation_failed: "validation_failed";
|
|
86
109
|
provider_unavailable: "provider_unavailable";
|
|
87
110
|
execution_failed: "execution_failed";
|
|
88
|
-
cancelled: "cancelled";
|
|
89
111
|
timeout: "timeout";
|
|
90
112
|
output_truncated: "output_truncated";
|
|
91
113
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -115,14 +137,21 @@ 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<{
|
|
149
|
+
cancelled: "cancelled";
|
|
120
150
|
approval_required: "approval_required";
|
|
121
151
|
capability_denied: "capability_denied";
|
|
122
152
|
validation_failed: "validation_failed";
|
|
123
153
|
provider_unavailable: "provider_unavailable";
|
|
124
154
|
execution_failed: "execution_failed";
|
|
125
|
-
cancelled: "cancelled";
|
|
126
155
|
timeout: "timeout";
|
|
127
156
|
output_truncated: "output_truncated";
|
|
128
157
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -138,6 +167,7 @@ declare const PortalCallItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
138
167
|
}, z.core.$strict>>>;
|
|
139
168
|
error: z.ZodObject<{
|
|
140
169
|
code: z.ZodEnum<{
|
|
170
|
+
cancelled: "cancelled";
|
|
141
171
|
invalid_request: "invalid_request";
|
|
142
172
|
not_found: "not_found";
|
|
143
173
|
not_authorized: "not_authorized";
|
|
@@ -146,19 +176,88 @@ declare const PortalCallItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
146
176
|
validation_failed: "validation_failed";
|
|
147
177
|
provider_unavailable: "provider_unavailable";
|
|
148
178
|
execution_failed: "execution_failed";
|
|
149
|
-
cancelled: "cancelled";
|
|
150
179
|
timeout: "timeout";
|
|
151
180
|
}>;
|
|
152
181
|
message: z.ZodString;
|
|
153
182
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
154
183
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
155
184
|
code: z.ZodEnum<{
|
|
185
|
+
cancelled: "cancelled";
|
|
156
186
|
approval_required: "approval_required";
|
|
157
187
|
capability_denied: "capability_denied";
|
|
158
188
|
validation_failed: "validation_failed";
|
|
159
189
|
provider_unavailable: "provider_unavailable";
|
|
160
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";
|
|
220
|
+
approval_required: "approval_required";
|
|
221
|
+
capability_denied: "capability_denied";
|
|
222
|
+
validation_failed: "validation_failed";
|
|
223
|
+
provider_unavailable: "provider_unavailable";
|
|
224
|
+
execution_failed: "execution_failed";
|
|
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<{
|
|
240
|
+
cancelled: "cancelled";
|
|
241
|
+
invalid_request: "invalid_request";
|
|
242
|
+
not_found: "not_found";
|
|
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";
|
|
250
|
+
}>;
|
|
251
|
+
message: z.ZodString;
|
|
252
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
253
|
+
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
254
|
+
code: z.ZodEnum<{
|
|
161
255
|
cancelled: "cancelled";
|
|
256
|
+
approval_required: "approval_required";
|
|
257
|
+
capability_denied: "capability_denied";
|
|
258
|
+
validation_failed: "validation_failed";
|
|
259
|
+
provider_unavailable: "provider_unavailable";
|
|
260
|
+
execution_failed: "execution_failed";
|
|
162
261
|
timeout: "timeout";
|
|
163
262
|
output_truncated: "output_truncated";
|
|
164
263
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -208,21 +307,32 @@ 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<{
|
|
330
|
+
cancelled: "cancelled";
|
|
220
331
|
approval_required: "approval_required";
|
|
221
332
|
capability_denied: "capability_denied";
|
|
222
333
|
validation_failed: "validation_failed";
|
|
223
334
|
provider_unavailable: "provider_unavailable";
|
|
224
335
|
execution_failed: "execution_failed";
|
|
225
|
-
cancelled: "cancelled";
|
|
226
336
|
timeout: "timeout";
|
|
227
337
|
output_truncated: "output_truncated";
|
|
228
338
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -247,7 +357,7 @@ 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>;
|
|
@@ -289,33 +399,54 @@ declare const PortalBackendListItemValueSchema: z.ZodObject<{
|
|
|
289
399
|
title: z.ZodOptional<z.ZodString>;
|
|
290
400
|
name: z.ZodString;
|
|
291
401
|
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
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">;
|
|
295
437
|
}, z.core.$strict>>>;
|
|
296
|
-
kind: z.ZodLiteral<"ready">;
|
|
297
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
298
|
-
kind: z.ZodLiteral<"authorization-required">;
|
|
299
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
300
|
-
kind: z.ZodLiteral<"reauthorization-required">;
|
|
301
438
|
}, z.core.$strict>, z.ZodObject<{
|
|
302
|
-
kind: z.ZodLiteral<"
|
|
303
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
304
|
-
kind: z.ZodLiteral<"authorization-status-unavailable">;
|
|
439
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
305
440
|
}, z.core.$strict>], "kind">>;
|
|
306
|
-
oauthRequirement: z.ZodOptional<z.
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
minimumPermission: z.ZodEnum<{
|
|
310
|
-
read: "read";
|
|
311
|
-
write: "write";
|
|
312
|
-
}>;
|
|
313
|
-
serviceId: z.core.$ZodBranded<z.ZodString, "OAuthServiceId", "out">;
|
|
314
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
315
|
-
accountProfileArgument: z.ZodLiteral<"accountProfile">;
|
|
441
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
442
|
+
kind: z.ZodLiteral<"google-account">;
|
|
443
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
316
444
|
describeBeforeCall: z.ZodLiteral<true>;
|
|
317
|
-
|
|
318
|
-
|
|
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>>;
|
|
319
450
|
toolRef: z.ZodString;
|
|
320
451
|
}, z.core.$strict>>;
|
|
321
452
|
}, z.core.$strict>;
|
|
@@ -358,33 +489,54 @@ declare const PortalBackendSearchItemValueSchema: z.ZodObject<{
|
|
|
358
489
|
title: z.ZodOptional<z.ZodString>;
|
|
359
490
|
name: z.ZodString;
|
|
360
491
|
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
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">;
|
|
364
527
|
}, z.core.$strict>>>;
|
|
365
|
-
kind: z.ZodLiteral<"ready">;
|
|
366
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
367
|
-
kind: z.ZodLiteral<"authorization-required">;
|
|
368
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
369
|
-
kind: z.ZodLiteral<"reauthorization-required">;
|
|
370
528
|
}, z.core.$strict>, z.ZodObject<{
|
|
371
|
-
kind: z.ZodLiteral<"
|
|
372
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
373
|
-
kind: z.ZodLiteral<"authorization-status-unavailable">;
|
|
529
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
374
530
|
}, z.core.$strict>], "kind">>;
|
|
375
|
-
oauthRequirement: z.ZodOptional<z.
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
minimumPermission: z.ZodEnum<{
|
|
379
|
-
read: "read";
|
|
380
|
-
write: "write";
|
|
381
|
-
}>;
|
|
382
|
-
serviceId: z.core.$ZodBranded<z.ZodString, "OAuthServiceId", "out">;
|
|
383
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
384
|
-
accountProfileArgument: z.ZodLiteral<"accountProfile">;
|
|
531
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
532
|
+
kind: z.ZodLiteral<"google-account">;
|
|
533
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
385
534
|
describeBeforeCall: z.ZodLiteral<true>;
|
|
386
|
-
|
|
387
|
-
|
|
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>>;
|
|
388
540
|
toolRef: z.ZodString;
|
|
389
541
|
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
390
542
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -418,33 +570,54 @@ declare const PortalBackendDescribeItemValueSchema: z.ZodObject<{
|
|
|
418
570
|
title: z.ZodOptional<z.ZodString>;
|
|
419
571
|
name: z.ZodString;
|
|
420
572
|
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
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">;
|
|
424
608
|
}, z.core.$strict>>>;
|
|
425
|
-
kind: z.ZodLiteral<"ready">;
|
|
426
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
427
|
-
kind: z.ZodLiteral<"authorization-required">;
|
|
428
609
|
}, z.core.$strict>, z.ZodObject<{
|
|
429
|
-
kind: z.ZodLiteral<"
|
|
430
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
431
|
-
kind: z.ZodLiteral<"scope-insufficient">;
|
|
432
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
433
|
-
kind: z.ZodLiteral<"authorization-status-unavailable">;
|
|
610
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
434
611
|
}, z.core.$strict>], "kind">>;
|
|
435
|
-
oauthRequirement: z.ZodOptional<z.
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
minimumPermission: z.ZodEnum<{
|
|
439
|
-
read: "read";
|
|
440
|
-
write: "write";
|
|
441
|
-
}>;
|
|
442
|
-
serviceId: z.core.$ZodBranded<z.ZodString, "OAuthServiceId", "out">;
|
|
443
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
444
|
-
accountProfileArgument: z.ZodLiteral<"accountProfile">;
|
|
612
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
613
|
+
kind: z.ZodLiteral<"google-account">;
|
|
614
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
445
615
|
describeBeforeCall: z.ZodLiteral<true>;
|
|
446
|
-
|
|
447
|
-
|
|
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>>;
|
|
448
621
|
toolRef: z.ZodString;
|
|
449
622
|
typescriptHelper: z.ZodOptional<z.ZodString>;
|
|
450
623
|
zod: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -491,33 +664,54 @@ declare const PortalListItemValueSchema: z.ZodObject<{
|
|
|
491
664
|
title: z.ZodOptional<z.ZodString>;
|
|
492
665
|
name: z.ZodString;
|
|
493
666
|
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
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">;
|
|
497
702
|
}, z.core.$strict>>>;
|
|
498
|
-
kind: z.ZodLiteral<"ready">;
|
|
499
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
500
|
-
kind: z.ZodLiteral<"authorization-required">;
|
|
501
703
|
}, z.core.$strict>, z.ZodObject<{
|
|
502
|
-
kind: z.ZodLiteral<"
|
|
503
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
504
|
-
kind: z.ZodLiteral<"scope-insufficient">;
|
|
505
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
506
|
-
kind: z.ZodLiteral<"authorization-status-unavailable">;
|
|
704
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
507
705
|
}, z.core.$strict>], "kind">>;
|
|
508
|
-
oauthRequirement: z.ZodOptional<z.
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
minimumPermission: z.ZodEnum<{
|
|
512
|
-
read: "read";
|
|
513
|
-
write: "write";
|
|
514
|
-
}>;
|
|
515
|
-
serviceId: z.core.$ZodBranded<z.ZodString, "OAuthServiceId", "out">;
|
|
516
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
517
|
-
accountProfileArgument: z.ZodLiteral<"accountProfile">;
|
|
706
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
707
|
+
kind: z.ZodLiteral<"google-account">;
|
|
708
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
518
709
|
describeBeforeCall: z.ZodLiteral<true>;
|
|
519
|
-
|
|
520
|
-
|
|
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>>;
|
|
521
715
|
toolRef: z.ZodString;
|
|
522
716
|
}, z.core.$strict>>;
|
|
523
717
|
namespaceDiscovery: z.ZodArray<z.ZodObject<{
|
|
@@ -564,33 +758,54 @@ declare const PortalSearchItemValueSchema: z.ZodObject<{
|
|
|
564
758
|
title: z.ZodOptional<z.ZodString>;
|
|
565
759
|
name: z.ZodString;
|
|
566
760
|
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
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">;
|
|
570
796
|
}, z.core.$strict>>>;
|
|
571
|
-
kind: z.ZodLiteral<"ready">;
|
|
572
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
573
|
-
kind: z.ZodLiteral<"authorization-required">;
|
|
574
797
|
}, z.core.$strict>, z.ZodObject<{
|
|
575
|
-
kind: z.ZodLiteral<"
|
|
576
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
577
|
-
kind: z.ZodLiteral<"scope-insufficient">;
|
|
578
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
579
|
-
kind: z.ZodLiteral<"authorization-status-unavailable">;
|
|
798
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
580
799
|
}, z.core.$strict>], "kind">>;
|
|
581
|
-
oauthRequirement: z.ZodOptional<z.
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
minimumPermission: z.ZodEnum<{
|
|
585
|
-
read: "read";
|
|
586
|
-
write: "write";
|
|
587
|
-
}>;
|
|
588
|
-
serviceId: z.core.$ZodBranded<z.ZodString, "OAuthServiceId", "out">;
|
|
589
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
590
|
-
accountProfileArgument: z.ZodLiteral<"accountProfile">;
|
|
800
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
801
|
+
kind: z.ZodLiteral<"google-account">;
|
|
802
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
591
803
|
describeBeforeCall: z.ZodLiteral<true>;
|
|
592
|
-
|
|
593
|
-
|
|
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>>;
|
|
594
809
|
toolRef: z.ZodString;
|
|
595
810
|
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
596
811
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -628,33 +843,54 @@ declare const PortalDescribeItemValueSchema: z.ZodObject<{
|
|
|
628
843
|
title: z.ZodOptional<z.ZodString>;
|
|
629
844
|
name: z.ZodString;
|
|
630
845
|
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
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">;
|
|
634
881
|
}, z.core.$strict>>>;
|
|
635
|
-
kind: z.ZodLiteral<"ready">;
|
|
636
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
637
|
-
kind: z.ZodLiteral<"authorization-required">;
|
|
638
882
|
}, z.core.$strict>, z.ZodObject<{
|
|
639
|
-
kind: z.ZodLiteral<"
|
|
640
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
641
|
-
kind: z.ZodLiteral<"scope-insufficient">;
|
|
642
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
643
|
-
kind: z.ZodLiteral<"authorization-status-unavailable">;
|
|
883
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
644
884
|
}, z.core.$strict>], "kind">>;
|
|
645
|
-
oauthRequirement: z.ZodOptional<z.
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
minimumPermission: z.ZodEnum<{
|
|
649
|
-
read: "read";
|
|
650
|
-
write: "write";
|
|
651
|
-
}>;
|
|
652
|
-
serviceId: z.core.$ZodBranded<z.ZodString, "OAuthServiceId", "out">;
|
|
653
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
654
|
-
accountProfileArgument: z.ZodLiteral<"accountProfile">;
|
|
885
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
886
|
+
kind: z.ZodLiteral<"google-account">;
|
|
887
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
655
888
|
describeBeforeCall: z.ZodLiteral<true>;
|
|
656
|
-
|
|
657
|
-
|
|
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>>;
|
|
658
894
|
toolRef: z.ZodString;
|
|
659
895
|
typescriptHelper: z.ZodOptional<z.ZodString>;
|
|
660
896
|
zod: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -674,12 +910,12 @@ declare const PortalBackendListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
674
910
|
}, z.core.$strict>>>;
|
|
675
911
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
676
912
|
code: z.ZodEnum<{
|
|
913
|
+
cancelled: "cancelled";
|
|
677
914
|
approval_required: "approval_required";
|
|
678
915
|
capability_denied: "capability_denied";
|
|
679
916
|
validation_failed: "validation_failed";
|
|
680
917
|
provider_unavailable: "provider_unavailable";
|
|
681
918
|
execution_failed: "execution_failed";
|
|
682
|
-
cancelled: "cancelled";
|
|
683
919
|
timeout: "timeout";
|
|
684
920
|
output_truncated: "output_truncated";
|
|
685
921
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -740,45 +976,66 @@ declare const PortalBackendListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
740
976
|
title: z.ZodOptional<z.ZodString>;
|
|
741
977
|
name: z.ZodString;
|
|
742
978
|
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
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">;
|
|
746
1014
|
}, z.core.$strict>>>;
|
|
747
|
-
kind: z.ZodLiteral<"ready">;
|
|
748
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
749
|
-
kind: z.ZodLiteral<"authorization-required">;
|
|
750
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
751
|
-
kind: z.ZodLiteral<"reauthorization-required">;
|
|
752
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
753
|
-
kind: z.ZodLiteral<"scope-insufficient">;
|
|
754
1015
|
}, z.core.$strict>, z.ZodObject<{
|
|
755
|
-
kind: z.ZodLiteral<"
|
|
1016
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
756
1017
|
}, z.core.$strict>], "kind">>;
|
|
757
|
-
oauthRequirement: z.ZodOptional<z.
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
minimumPermission: z.ZodEnum<{
|
|
761
|
-
read: "read";
|
|
762
|
-
write: "write";
|
|
763
|
-
}>;
|
|
764
|
-
serviceId: z.core.$ZodBranded<z.ZodString, "OAuthServiceId", "out">;
|
|
765
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
766
|
-
accountProfileArgument: z.ZodLiteral<"accountProfile">;
|
|
1018
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
1019
|
+
kind: z.ZodLiteral<"google-account">;
|
|
1020
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
767
1021
|
describeBeforeCall: z.ZodLiteral<true>;
|
|
768
|
-
|
|
769
|
-
|
|
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>>;
|
|
770
1027
|
toolRef: z.ZodString;
|
|
771
1028
|
}, z.core.$strict>>;
|
|
772
1029
|
}, z.core.$strict>;
|
|
773
1030
|
}, z.core.$strict>, z.ZodObject<{
|
|
774
1031
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
775
1032
|
code: z.ZodEnum<{
|
|
1033
|
+
cancelled: "cancelled";
|
|
776
1034
|
approval_required: "approval_required";
|
|
777
1035
|
capability_denied: "capability_denied";
|
|
778
1036
|
validation_failed: "validation_failed";
|
|
779
1037
|
provider_unavailable: "provider_unavailable";
|
|
780
1038
|
execution_failed: "execution_failed";
|
|
781
|
-
cancelled: "cancelled";
|
|
782
1039
|
timeout: "timeout";
|
|
783
1040
|
output_truncated: "output_truncated";
|
|
784
1041
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -794,6 +1051,7 @@ declare const PortalBackendListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
794
1051
|
}, z.core.$strict>>>;
|
|
795
1052
|
error: z.ZodObject<{
|
|
796
1053
|
code: z.ZodEnum<{
|
|
1054
|
+
cancelled: "cancelled";
|
|
797
1055
|
invalid_request: "invalid_request";
|
|
798
1056
|
not_found: "not_found";
|
|
799
1057
|
not_authorized: "not_authorized";
|
|
@@ -802,19 +1060,18 @@ declare const PortalBackendListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
802
1060
|
validation_failed: "validation_failed";
|
|
803
1061
|
provider_unavailable: "provider_unavailable";
|
|
804
1062
|
execution_failed: "execution_failed";
|
|
805
|
-
cancelled: "cancelled";
|
|
806
1063
|
timeout: "timeout";
|
|
807
1064
|
}>;
|
|
808
1065
|
message: z.ZodString;
|
|
809
1066
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
810
1067
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
811
1068
|
code: z.ZodEnum<{
|
|
1069
|
+
cancelled: "cancelled";
|
|
812
1070
|
approval_required: "approval_required";
|
|
813
1071
|
capability_denied: "capability_denied";
|
|
814
1072
|
validation_failed: "validation_failed";
|
|
815
1073
|
provider_unavailable: "provider_unavailable";
|
|
816
1074
|
execution_failed: "execution_failed";
|
|
817
|
-
cancelled: "cancelled";
|
|
818
1075
|
timeout: "timeout";
|
|
819
1076
|
output_truncated: "output_truncated";
|
|
820
1077
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -842,12 +1099,12 @@ declare const PortalBackendSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
842
1099
|
}, z.core.$strict>>>;
|
|
843
1100
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
844
1101
|
code: z.ZodEnum<{
|
|
1102
|
+
cancelled: "cancelled";
|
|
845
1103
|
approval_required: "approval_required";
|
|
846
1104
|
capability_denied: "capability_denied";
|
|
847
1105
|
validation_failed: "validation_failed";
|
|
848
1106
|
provider_unavailable: "provider_unavailable";
|
|
849
1107
|
execution_failed: "execution_failed";
|
|
850
|
-
cancelled: "cancelled";
|
|
851
1108
|
timeout: "timeout";
|
|
852
1109
|
output_truncated: "output_truncated";
|
|
853
1110
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -906,33 +1163,54 @@ declare const PortalBackendSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
906
1163
|
title: z.ZodOptional<z.ZodString>;
|
|
907
1164
|
name: z.ZodString;
|
|
908
1165
|
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
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">;
|
|
912
1201
|
}, z.core.$strict>>>;
|
|
913
|
-
kind: z.ZodLiteral<"ready">;
|
|
914
1202
|
}, z.core.$strict>, z.ZodObject<{
|
|
915
|
-
kind: z.ZodLiteral<"
|
|
916
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
917
|
-
kind: z.ZodLiteral<"reauthorization-required">;
|
|
918
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
919
|
-
kind: z.ZodLiteral<"scope-insufficient">;
|
|
920
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
921
|
-
kind: z.ZodLiteral<"authorization-status-unavailable">;
|
|
1203
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
922
1204
|
}, z.core.$strict>], "kind">>;
|
|
923
|
-
oauthRequirement: z.ZodOptional<z.
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
minimumPermission: z.ZodEnum<{
|
|
927
|
-
read: "read";
|
|
928
|
-
write: "write";
|
|
929
|
-
}>;
|
|
930
|
-
serviceId: z.core.$ZodBranded<z.ZodString, "OAuthServiceId", "out">;
|
|
931
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
932
|
-
accountProfileArgument: z.ZodLiteral<"accountProfile">;
|
|
1205
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
1206
|
+
kind: z.ZodLiteral<"google-account">;
|
|
1207
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
933
1208
|
describeBeforeCall: z.ZodLiteral<true>;
|
|
934
|
-
|
|
935
|
-
|
|
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>>;
|
|
936
1214
|
toolRef: z.ZodString;
|
|
937
1215
|
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
938
1216
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -943,12 +1221,12 @@ declare const PortalBackendSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
943
1221
|
}, z.core.$strict>, z.ZodObject<{
|
|
944
1222
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
945
1223
|
code: z.ZodEnum<{
|
|
1224
|
+
cancelled: "cancelled";
|
|
946
1225
|
approval_required: "approval_required";
|
|
947
1226
|
capability_denied: "capability_denied";
|
|
948
1227
|
validation_failed: "validation_failed";
|
|
949
1228
|
provider_unavailable: "provider_unavailable";
|
|
950
1229
|
execution_failed: "execution_failed";
|
|
951
|
-
cancelled: "cancelled";
|
|
952
1230
|
timeout: "timeout";
|
|
953
1231
|
output_truncated: "output_truncated";
|
|
954
1232
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -964,6 +1242,7 @@ declare const PortalBackendSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
964
1242
|
}, z.core.$strict>>>;
|
|
965
1243
|
error: z.ZodObject<{
|
|
966
1244
|
code: z.ZodEnum<{
|
|
1245
|
+
cancelled: "cancelled";
|
|
967
1246
|
invalid_request: "invalid_request";
|
|
968
1247
|
not_found: "not_found";
|
|
969
1248
|
not_authorized: "not_authorized";
|
|
@@ -972,19 +1251,18 @@ declare const PortalBackendSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
972
1251
|
validation_failed: "validation_failed";
|
|
973
1252
|
provider_unavailable: "provider_unavailable";
|
|
974
1253
|
execution_failed: "execution_failed";
|
|
975
|
-
cancelled: "cancelled";
|
|
976
1254
|
timeout: "timeout";
|
|
977
1255
|
}>;
|
|
978
1256
|
message: z.ZodString;
|
|
979
1257
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
980
1258
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
981
1259
|
code: z.ZodEnum<{
|
|
1260
|
+
cancelled: "cancelled";
|
|
982
1261
|
approval_required: "approval_required";
|
|
983
1262
|
capability_denied: "capability_denied";
|
|
984
1263
|
validation_failed: "validation_failed";
|
|
985
1264
|
provider_unavailable: "provider_unavailable";
|
|
986
1265
|
execution_failed: "execution_failed";
|
|
987
|
-
cancelled: "cancelled";
|
|
988
1266
|
timeout: "timeout";
|
|
989
1267
|
output_truncated: "output_truncated";
|
|
990
1268
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -1012,12 +1290,12 @@ declare const PortalBackendDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
1012
1290
|
}, z.core.$strict>>>;
|
|
1013
1291
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1014
1292
|
code: z.ZodEnum<{
|
|
1293
|
+
cancelled: "cancelled";
|
|
1015
1294
|
approval_required: "approval_required";
|
|
1016
1295
|
capability_denied: "capability_denied";
|
|
1017
1296
|
validation_failed: "validation_failed";
|
|
1018
1297
|
provider_unavailable: "provider_unavailable";
|
|
1019
1298
|
execution_failed: "execution_failed";
|
|
1020
|
-
cancelled: "cancelled";
|
|
1021
1299
|
timeout: "timeout";
|
|
1022
1300
|
output_truncated: "output_truncated";
|
|
1023
1301
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -1063,33 +1341,54 @@ declare const PortalBackendDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
1063
1341
|
title: z.ZodOptional<z.ZodString>;
|
|
1064
1342
|
name: z.ZodString;
|
|
1065
1343
|
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
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">;
|
|
1069
1379
|
}, z.core.$strict>>>;
|
|
1070
|
-
kind: z.ZodLiteral<"ready">;
|
|
1071
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1072
|
-
kind: z.ZodLiteral<"authorization-required">;
|
|
1073
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1074
|
-
kind: z.ZodLiteral<"reauthorization-required">;
|
|
1075
1380
|
}, z.core.$strict>, z.ZodObject<{
|
|
1076
|
-
kind: z.ZodLiteral<"
|
|
1077
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1078
|
-
kind: z.ZodLiteral<"authorization-status-unavailable">;
|
|
1381
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1079
1382
|
}, z.core.$strict>], "kind">>;
|
|
1080
|
-
oauthRequirement: z.ZodOptional<z.
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
minimumPermission: z.ZodEnum<{
|
|
1084
|
-
read: "read";
|
|
1085
|
-
write: "write";
|
|
1086
|
-
}>;
|
|
1087
|
-
serviceId: z.core.$ZodBranded<z.ZodString, "OAuthServiceId", "out">;
|
|
1088
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1089
|
-
accountProfileArgument: z.ZodLiteral<"accountProfile">;
|
|
1383
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
1384
|
+
kind: z.ZodLiteral<"google-account">;
|
|
1385
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
1090
1386
|
describeBeforeCall: z.ZodLiteral<true>;
|
|
1091
|
-
|
|
1092
|
-
|
|
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>>;
|
|
1093
1392
|
toolRef: z.ZodString;
|
|
1094
1393
|
typescriptHelper: z.ZodOptional<z.ZodString>;
|
|
1095
1394
|
zod: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -1098,12 +1397,12 @@ declare const PortalBackendDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
1098
1397
|
}, z.core.$strict>, z.ZodObject<{
|
|
1099
1398
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1100
1399
|
code: z.ZodEnum<{
|
|
1400
|
+
cancelled: "cancelled";
|
|
1101
1401
|
approval_required: "approval_required";
|
|
1102
1402
|
capability_denied: "capability_denied";
|
|
1103
1403
|
validation_failed: "validation_failed";
|
|
1104
1404
|
provider_unavailable: "provider_unavailable";
|
|
1105
1405
|
execution_failed: "execution_failed";
|
|
1106
|
-
cancelled: "cancelled";
|
|
1107
1406
|
timeout: "timeout";
|
|
1108
1407
|
output_truncated: "output_truncated";
|
|
1109
1408
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -1119,6 +1418,7 @@ declare const PortalBackendDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
1119
1418
|
}, z.core.$strict>>>;
|
|
1120
1419
|
error: z.ZodObject<{
|
|
1121
1420
|
code: z.ZodEnum<{
|
|
1421
|
+
cancelled: "cancelled";
|
|
1122
1422
|
invalid_request: "invalid_request";
|
|
1123
1423
|
not_found: "not_found";
|
|
1124
1424
|
not_authorized: "not_authorized";
|
|
@@ -1127,19 +1427,18 @@ declare const PortalBackendDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
1127
1427
|
validation_failed: "validation_failed";
|
|
1128
1428
|
provider_unavailable: "provider_unavailable";
|
|
1129
1429
|
execution_failed: "execution_failed";
|
|
1130
|
-
cancelled: "cancelled";
|
|
1131
1430
|
timeout: "timeout";
|
|
1132
1431
|
}>;
|
|
1133
1432
|
message: z.ZodString;
|
|
1134
1433
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1135
1434
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
1136
1435
|
code: z.ZodEnum<{
|
|
1436
|
+
cancelled: "cancelled";
|
|
1137
1437
|
approval_required: "approval_required";
|
|
1138
1438
|
capability_denied: "capability_denied";
|
|
1139
1439
|
validation_failed: "validation_failed";
|
|
1140
1440
|
provider_unavailable: "provider_unavailable";
|
|
1141
1441
|
execution_failed: "execution_failed";
|
|
1142
|
-
cancelled: "cancelled";
|
|
1143
1442
|
timeout: "timeout";
|
|
1144
1443
|
output_truncated: "output_truncated";
|
|
1145
1444
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -1161,12 +1460,12 @@ declare const PortalBackendListResultSchema: z.ZodObject<{
|
|
|
1161
1460
|
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
1162
1461
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1163
1462
|
code: z.ZodEnum<{
|
|
1463
|
+
cancelled: "cancelled";
|
|
1164
1464
|
approval_required: "approval_required";
|
|
1165
1465
|
capability_denied: "capability_denied";
|
|
1166
1466
|
validation_failed: "validation_failed";
|
|
1167
1467
|
provider_unavailable: "provider_unavailable";
|
|
1168
1468
|
execution_failed: "execution_failed";
|
|
1169
|
-
cancelled: "cancelled";
|
|
1170
1469
|
timeout: "timeout";
|
|
1171
1470
|
output_truncated: "output_truncated";
|
|
1172
1471
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -1190,12 +1489,12 @@ declare const PortalBackendListResultSchema: z.ZodObject<{
|
|
|
1190
1489
|
}, z.core.$strict>>>;
|
|
1191
1490
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1192
1491
|
code: z.ZodEnum<{
|
|
1492
|
+
cancelled: "cancelled";
|
|
1193
1493
|
approval_required: "approval_required";
|
|
1194
1494
|
capability_denied: "capability_denied";
|
|
1195
1495
|
validation_failed: "validation_failed";
|
|
1196
1496
|
provider_unavailable: "provider_unavailable";
|
|
1197
1497
|
execution_failed: "execution_failed";
|
|
1198
|
-
cancelled: "cancelled";
|
|
1199
1498
|
timeout: "timeout";
|
|
1200
1499
|
output_truncated: "output_truncated";
|
|
1201
1500
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -1256,45 +1555,66 @@ declare const PortalBackendListResultSchema: z.ZodObject<{
|
|
|
1256
1555
|
title: z.ZodOptional<z.ZodString>;
|
|
1257
1556
|
name: z.ZodString;
|
|
1258
1557
|
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
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">;
|
|
1262
1593
|
}, z.core.$strict>>>;
|
|
1263
|
-
kind: z.ZodLiteral<"ready">;
|
|
1264
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1265
|
-
kind: z.ZodLiteral<"authorization-required">;
|
|
1266
1594
|
}, z.core.$strict>, z.ZodObject<{
|
|
1267
|
-
kind: z.ZodLiteral<"
|
|
1268
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1269
|
-
kind: z.ZodLiteral<"scope-insufficient">;
|
|
1270
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1271
|
-
kind: z.ZodLiteral<"authorization-status-unavailable">;
|
|
1595
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1272
1596
|
}, z.core.$strict>], "kind">>;
|
|
1273
|
-
oauthRequirement: z.ZodOptional<z.
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
minimumPermission: z.ZodEnum<{
|
|
1277
|
-
read: "read";
|
|
1278
|
-
write: "write";
|
|
1279
|
-
}>;
|
|
1280
|
-
serviceId: z.core.$ZodBranded<z.ZodString, "OAuthServiceId", "out">;
|
|
1281
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1282
|
-
accountProfileArgument: z.ZodLiteral<"accountProfile">;
|
|
1597
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
1598
|
+
kind: z.ZodLiteral<"google-account">;
|
|
1599
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
1283
1600
|
describeBeforeCall: z.ZodLiteral<true>;
|
|
1284
|
-
|
|
1285
|
-
|
|
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>>;
|
|
1286
1606
|
toolRef: z.ZodString;
|
|
1287
1607
|
}, z.core.$strict>>;
|
|
1288
1608
|
}, z.core.$strict>;
|
|
1289
1609
|
}, z.core.$strict>, z.ZodObject<{
|
|
1290
1610
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1291
1611
|
code: z.ZodEnum<{
|
|
1612
|
+
cancelled: "cancelled";
|
|
1292
1613
|
approval_required: "approval_required";
|
|
1293
1614
|
capability_denied: "capability_denied";
|
|
1294
1615
|
validation_failed: "validation_failed";
|
|
1295
1616
|
provider_unavailable: "provider_unavailable";
|
|
1296
1617
|
execution_failed: "execution_failed";
|
|
1297
|
-
cancelled: "cancelled";
|
|
1298
1618
|
timeout: "timeout";
|
|
1299
1619
|
output_truncated: "output_truncated";
|
|
1300
1620
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -1310,6 +1630,7 @@ declare const PortalBackendListResultSchema: z.ZodObject<{
|
|
|
1310
1630
|
}, z.core.$strict>>>;
|
|
1311
1631
|
error: z.ZodObject<{
|
|
1312
1632
|
code: z.ZodEnum<{
|
|
1633
|
+
cancelled: "cancelled";
|
|
1313
1634
|
invalid_request: "invalid_request";
|
|
1314
1635
|
not_found: "not_found";
|
|
1315
1636
|
not_authorized: "not_authorized";
|
|
@@ -1318,19 +1639,18 @@ declare const PortalBackendListResultSchema: z.ZodObject<{
|
|
|
1318
1639
|
validation_failed: "validation_failed";
|
|
1319
1640
|
provider_unavailable: "provider_unavailable";
|
|
1320
1641
|
execution_failed: "execution_failed";
|
|
1321
|
-
cancelled: "cancelled";
|
|
1322
1642
|
timeout: "timeout";
|
|
1323
1643
|
}>;
|
|
1324
1644
|
message: z.ZodString;
|
|
1325
1645
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1326
1646
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
1327
1647
|
code: z.ZodEnum<{
|
|
1648
|
+
cancelled: "cancelled";
|
|
1328
1649
|
approval_required: "approval_required";
|
|
1329
1650
|
capability_denied: "capability_denied";
|
|
1330
1651
|
validation_failed: "validation_failed";
|
|
1331
1652
|
provider_unavailable: "provider_unavailable";
|
|
1332
1653
|
execution_failed: "execution_failed";
|
|
1333
|
-
cancelled: "cancelled";
|
|
1334
1654
|
timeout: "timeout";
|
|
1335
1655
|
output_truncated: "output_truncated";
|
|
1336
1656
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -1355,12 +1675,12 @@ declare const PortalBackendSearchResultSchema: z.ZodObject<{
|
|
|
1355
1675
|
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
1356
1676
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1357
1677
|
code: z.ZodEnum<{
|
|
1678
|
+
cancelled: "cancelled";
|
|
1358
1679
|
approval_required: "approval_required";
|
|
1359
1680
|
capability_denied: "capability_denied";
|
|
1360
1681
|
validation_failed: "validation_failed";
|
|
1361
1682
|
provider_unavailable: "provider_unavailable";
|
|
1362
1683
|
execution_failed: "execution_failed";
|
|
1363
|
-
cancelled: "cancelled";
|
|
1364
1684
|
timeout: "timeout";
|
|
1365
1685
|
output_truncated: "output_truncated";
|
|
1366
1686
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -1384,12 +1704,12 @@ declare const PortalBackendSearchResultSchema: z.ZodObject<{
|
|
|
1384
1704
|
}, z.core.$strict>>>;
|
|
1385
1705
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1386
1706
|
code: z.ZodEnum<{
|
|
1707
|
+
cancelled: "cancelled";
|
|
1387
1708
|
approval_required: "approval_required";
|
|
1388
1709
|
capability_denied: "capability_denied";
|
|
1389
1710
|
validation_failed: "validation_failed";
|
|
1390
1711
|
provider_unavailable: "provider_unavailable";
|
|
1391
1712
|
execution_failed: "execution_failed";
|
|
1392
|
-
cancelled: "cancelled";
|
|
1393
1713
|
timeout: "timeout";
|
|
1394
1714
|
output_truncated: "output_truncated";
|
|
1395
1715
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -1448,33 +1768,54 @@ declare const PortalBackendSearchResultSchema: z.ZodObject<{
|
|
|
1448
1768
|
title: z.ZodOptional<z.ZodString>;
|
|
1449
1769
|
name: z.ZodString;
|
|
1450
1770
|
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
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">;
|
|
1454
1806
|
}, z.core.$strict>>>;
|
|
1455
|
-
kind: z.ZodLiteral<"ready">;
|
|
1456
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1457
|
-
kind: z.ZodLiteral<"authorization-required">;
|
|
1458
1807
|
}, z.core.$strict>, z.ZodObject<{
|
|
1459
|
-
kind: z.ZodLiteral<"
|
|
1460
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1461
|
-
kind: z.ZodLiteral<"scope-insufficient">;
|
|
1462
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1463
|
-
kind: z.ZodLiteral<"authorization-status-unavailable">;
|
|
1808
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1464
1809
|
}, z.core.$strict>], "kind">>;
|
|
1465
|
-
oauthRequirement: z.ZodOptional<z.
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
minimumPermission: z.ZodEnum<{
|
|
1469
|
-
read: "read";
|
|
1470
|
-
write: "write";
|
|
1471
|
-
}>;
|
|
1472
|
-
serviceId: z.core.$ZodBranded<z.ZodString, "OAuthServiceId", "out">;
|
|
1473
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1474
|
-
accountProfileArgument: z.ZodLiteral<"accountProfile">;
|
|
1810
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
1811
|
+
kind: z.ZodLiteral<"google-account">;
|
|
1812
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
1475
1813
|
describeBeforeCall: z.ZodLiteral<true>;
|
|
1476
|
-
|
|
1477
|
-
|
|
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>>;
|
|
1478
1819
|
toolRef: z.ZodString;
|
|
1479
1820
|
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1480
1821
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -1485,12 +1826,12 @@ declare const PortalBackendSearchResultSchema: z.ZodObject<{
|
|
|
1485
1826
|
}, z.core.$strict>, z.ZodObject<{
|
|
1486
1827
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1487
1828
|
code: z.ZodEnum<{
|
|
1829
|
+
cancelled: "cancelled";
|
|
1488
1830
|
approval_required: "approval_required";
|
|
1489
1831
|
capability_denied: "capability_denied";
|
|
1490
1832
|
validation_failed: "validation_failed";
|
|
1491
1833
|
provider_unavailable: "provider_unavailable";
|
|
1492
1834
|
execution_failed: "execution_failed";
|
|
1493
|
-
cancelled: "cancelled";
|
|
1494
1835
|
timeout: "timeout";
|
|
1495
1836
|
output_truncated: "output_truncated";
|
|
1496
1837
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -1506,6 +1847,7 @@ declare const PortalBackendSearchResultSchema: z.ZodObject<{
|
|
|
1506
1847
|
}, z.core.$strict>>>;
|
|
1507
1848
|
error: z.ZodObject<{
|
|
1508
1849
|
code: z.ZodEnum<{
|
|
1850
|
+
cancelled: "cancelled";
|
|
1509
1851
|
invalid_request: "invalid_request";
|
|
1510
1852
|
not_found: "not_found";
|
|
1511
1853
|
not_authorized: "not_authorized";
|
|
@@ -1514,19 +1856,18 @@ declare const PortalBackendSearchResultSchema: z.ZodObject<{
|
|
|
1514
1856
|
validation_failed: "validation_failed";
|
|
1515
1857
|
provider_unavailable: "provider_unavailable";
|
|
1516
1858
|
execution_failed: "execution_failed";
|
|
1517
|
-
cancelled: "cancelled";
|
|
1518
1859
|
timeout: "timeout";
|
|
1519
1860
|
}>;
|
|
1520
1861
|
message: z.ZodString;
|
|
1521
1862
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1522
1863
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
1523
1864
|
code: z.ZodEnum<{
|
|
1865
|
+
cancelled: "cancelled";
|
|
1524
1866
|
approval_required: "approval_required";
|
|
1525
1867
|
capability_denied: "capability_denied";
|
|
1526
1868
|
validation_failed: "validation_failed";
|
|
1527
1869
|
provider_unavailable: "provider_unavailable";
|
|
1528
1870
|
execution_failed: "execution_failed";
|
|
1529
|
-
cancelled: "cancelled";
|
|
1530
1871
|
timeout: "timeout";
|
|
1531
1872
|
output_truncated: "output_truncated";
|
|
1532
1873
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -1551,12 +1892,12 @@ declare const PortalBackendDescribeResultSchema: z.ZodObject<{
|
|
|
1551
1892
|
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
1552
1893
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1553
1894
|
code: z.ZodEnum<{
|
|
1895
|
+
cancelled: "cancelled";
|
|
1554
1896
|
approval_required: "approval_required";
|
|
1555
1897
|
capability_denied: "capability_denied";
|
|
1556
1898
|
validation_failed: "validation_failed";
|
|
1557
1899
|
provider_unavailable: "provider_unavailable";
|
|
1558
1900
|
execution_failed: "execution_failed";
|
|
1559
|
-
cancelled: "cancelled";
|
|
1560
1901
|
timeout: "timeout";
|
|
1561
1902
|
output_truncated: "output_truncated";
|
|
1562
1903
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -1580,12 +1921,12 @@ declare const PortalBackendDescribeResultSchema: z.ZodObject<{
|
|
|
1580
1921
|
}, z.core.$strict>>>;
|
|
1581
1922
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1582
1923
|
code: z.ZodEnum<{
|
|
1924
|
+
cancelled: "cancelled";
|
|
1583
1925
|
approval_required: "approval_required";
|
|
1584
1926
|
capability_denied: "capability_denied";
|
|
1585
1927
|
validation_failed: "validation_failed";
|
|
1586
1928
|
provider_unavailable: "provider_unavailable";
|
|
1587
1929
|
execution_failed: "execution_failed";
|
|
1588
|
-
cancelled: "cancelled";
|
|
1589
1930
|
timeout: "timeout";
|
|
1590
1931
|
output_truncated: "output_truncated";
|
|
1591
1932
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -1631,33 +1972,54 @@ declare const PortalBackendDescribeResultSchema: z.ZodObject<{
|
|
|
1631
1972
|
title: z.ZodOptional<z.ZodString>;
|
|
1632
1973
|
name: z.ZodString;
|
|
1633
1974
|
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
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">;
|
|
1637
2010
|
}, z.core.$strict>>>;
|
|
1638
|
-
kind: z.ZodLiteral<"ready">;
|
|
1639
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1640
|
-
kind: z.ZodLiteral<"authorization-required">;
|
|
1641
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1642
|
-
kind: z.ZodLiteral<"reauthorization-required">;
|
|
1643
2011
|
}, z.core.$strict>, z.ZodObject<{
|
|
1644
|
-
kind: z.ZodLiteral<"
|
|
1645
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1646
|
-
kind: z.ZodLiteral<"authorization-status-unavailable">;
|
|
2012
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1647
2013
|
}, z.core.$strict>], "kind">>;
|
|
1648
|
-
oauthRequirement: z.ZodOptional<z.
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
minimumPermission: z.ZodEnum<{
|
|
1652
|
-
read: "read";
|
|
1653
|
-
write: "write";
|
|
1654
|
-
}>;
|
|
1655
|
-
serviceId: z.core.$ZodBranded<z.ZodString, "OAuthServiceId", "out">;
|
|
1656
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1657
|
-
accountProfileArgument: z.ZodLiteral<"accountProfile">;
|
|
2014
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
2015
|
+
kind: z.ZodLiteral<"google-account">;
|
|
2016
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
1658
2017
|
describeBeforeCall: z.ZodLiteral<true>;
|
|
1659
|
-
|
|
1660
|
-
|
|
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>>;
|
|
1661
2023
|
toolRef: z.ZodString;
|
|
1662
2024
|
typescriptHelper: z.ZodOptional<z.ZodString>;
|
|
1663
2025
|
zod: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -1666,12 +2028,12 @@ declare const PortalBackendDescribeResultSchema: z.ZodObject<{
|
|
|
1666
2028
|
}, z.core.$strict>, z.ZodObject<{
|
|
1667
2029
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1668
2030
|
code: z.ZodEnum<{
|
|
2031
|
+
cancelled: "cancelled";
|
|
1669
2032
|
approval_required: "approval_required";
|
|
1670
2033
|
capability_denied: "capability_denied";
|
|
1671
2034
|
validation_failed: "validation_failed";
|
|
1672
2035
|
provider_unavailable: "provider_unavailable";
|
|
1673
2036
|
execution_failed: "execution_failed";
|
|
1674
|
-
cancelled: "cancelled";
|
|
1675
2037
|
timeout: "timeout";
|
|
1676
2038
|
output_truncated: "output_truncated";
|
|
1677
2039
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -1687,6 +2049,7 @@ declare const PortalBackendDescribeResultSchema: z.ZodObject<{
|
|
|
1687
2049
|
}, z.core.$strict>>>;
|
|
1688
2050
|
error: z.ZodObject<{
|
|
1689
2051
|
code: z.ZodEnum<{
|
|
2052
|
+
cancelled: "cancelled";
|
|
1690
2053
|
invalid_request: "invalid_request";
|
|
1691
2054
|
not_found: "not_found";
|
|
1692
2055
|
not_authorized: "not_authorized";
|
|
@@ -1695,19 +2058,18 @@ declare const PortalBackendDescribeResultSchema: z.ZodObject<{
|
|
|
1695
2058
|
validation_failed: "validation_failed";
|
|
1696
2059
|
provider_unavailable: "provider_unavailable";
|
|
1697
2060
|
execution_failed: "execution_failed";
|
|
1698
|
-
cancelled: "cancelled";
|
|
1699
2061
|
timeout: "timeout";
|
|
1700
2062
|
}>;
|
|
1701
2063
|
message: z.ZodString;
|
|
1702
2064
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1703
2065
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
1704
2066
|
code: z.ZodEnum<{
|
|
2067
|
+
cancelled: "cancelled";
|
|
1705
2068
|
approval_required: "approval_required";
|
|
1706
2069
|
capability_denied: "capability_denied";
|
|
1707
2070
|
validation_failed: "validation_failed";
|
|
1708
2071
|
provider_unavailable: "provider_unavailable";
|
|
1709
2072
|
execution_failed: "execution_failed";
|
|
1710
|
-
cancelled: "cancelled";
|
|
1711
2073
|
timeout: "timeout";
|
|
1712
2074
|
output_truncated: "output_truncated";
|
|
1713
2075
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -1738,12 +2100,12 @@ declare const PortalListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1738
2100
|
}, z.core.$strict>>>;
|
|
1739
2101
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1740
2102
|
code: z.ZodEnum<{
|
|
2103
|
+
cancelled: "cancelled";
|
|
1741
2104
|
approval_required: "approval_required";
|
|
1742
2105
|
capability_denied: "capability_denied";
|
|
1743
2106
|
validation_failed: "validation_failed";
|
|
1744
2107
|
provider_unavailable: "provider_unavailable";
|
|
1745
2108
|
execution_failed: "execution_failed";
|
|
1746
|
-
cancelled: "cancelled";
|
|
1747
2109
|
timeout: "timeout";
|
|
1748
2110
|
output_truncated: "output_truncated";
|
|
1749
2111
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -1804,33 +2166,54 @@ declare const PortalListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1804
2166
|
title: z.ZodOptional<z.ZodString>;
|
|
1805
2167
|
name: z.ZodString;
|
|
1806
2168
|
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
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">;
|
|
1810
2204
|
}, z.core.$strict>>>;
|
|
1811
|
-
kind: z.ZodLiteral<"ready">;
|
|
1812
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1813
|
-
kind: z.ZodLiteral<"authorization-required">;
|
|
1814
2205
|
}, z.core.$strict>, z.ZodObject<{
|
|
1815
|
-
kind: z.ZodLiteral<"
|
|
1816
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1817
|
-
kind: z.ZodLiteral<"scope-insufficient">;
|
|
1818
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1819
|
-
kind: z.ZodLiteral<"authorization-status-unavailable">;
|
|
2206
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1820
2207
|
}, z.core.$strict>], "kind">>;
|
|
1821
|
-
oauthRequirement: z.ZodOptional<z.
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
minimumPermission: z.ZodEnum<{
|
|
1825
|
-
read: "read";
|
|
1826
|
-
write: "write";
|
|
1827
|
-
}>;
|
|
1828
|
-
serviceId: z.core.$ZodBranded<z.ZodString, "OAuthServiceId", "out">;
|
|
1829
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1830
|
-
accountProfileArgument: z.ZodLiteral<"accountProfile">;
|
|
2208
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
2209
|
+
kind: z.ZodLiteral<"google-account">;
|
|
2210
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
1831
2211
|
describeBeforeCall: z.ZodLiteral<true>;
|
|
1832
|
-
|
|
1833
|
-
|
|
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>>;
|
|
1834
2217
|
toolRef: z.ZodString;
|
|
1835
2218
|
}, z.core.$strict>>;
|
|
1836
2219
|
namespaceDiscovery: z.ZodArray<z.ZodObject<{
|
|
@@ -1841,12 +2224,12 @@ declare const PortalListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1841
2224
|
}, z.core.$strict>, z.ZodObject<{
|
|
1842
2225
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1843
2226
|
code: z.ZodEnum<{
|
|
2227
|
+
cancelled: "cancelled";
|
|
1844
2228
|
approval_required: "approval_required";
|
|
1845
2229
|
capability_denied: "capability_denied";
|
|
1846
2230
|
validation_failed: "validation_failed";
|
|
1847
2231
|
provider_unavailable: "provider_unavailable";
|
|
1848
2232
|
execution_failed: "execution_failed";
|
|
1849
|
-
cancelled: "cancelled";
|
|
1850
2233
|
timeout: "timeout";
|
|
1851
2234
|
output_truncated: "output_truncated";
|
|
1852
2235
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -1862,6 +2245,7 @@ declare const PortalListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1862
2245
|
}, z.core.$strict>>>;
|
|
1863
2246
|
error: z.ZodObject<{
|
|
1864
2247
|
code: z.ZodEnum<{
|
|
2248
|
+
cancelled: "cancelled";
|
|
1865
2249
|
invalid_request: "invalid_request";
|
|
1866
2250
|
not_found: "not_found";
|
|
1867
2251
|
not_authorized: "not_authorized";
|
|
@@ -1870,19 +2254,18 @@ declare const PortalListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1870
2254
|
validation_failed: "validation_failed";
|
|
1871
2255
|
provider_unavailable: "provider_unavailable";
|
|
1872
2256
|
execution_failed: "execution_failed";
|
|
1873
|
-
cancelled: "cancelled";
|
|
1874
2257
|
timeout: "timeout";
|
|
1875
2258
|
}>;
|
|
1876
2259
|
message: z.ZodString;
|
|
1877
2260
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1878
2261
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
1879
2262
|
code: z.ZodEnum<{
|
|
2263
|
+
cancelled: "cancelled";
|
|
1880
2264
|
approval_required: "approval_required";
|
|
1881
2265
|
capability_denied: "capability_denied";
|
|
1882
2266
|
validation_failed: "validation_failed";
|
|
1883
2267
|
provider_unavailable: "provider_unavailable";
|
|
1884
2268
|
execution_failed: "execution_failed";
|
|
1885
|
-
cancelled: "cancelled";
|
|
1886
2269
|
timeout: "timeout";
|
|
1887
2270
|
output_truncated: "output_truncated";
|
|
1888
2271
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -1910,12 +2293,12 @@ declare const PortalSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1910
2293
|
}, z.core.$strict>>>;
|
|
1911
2294
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1912
2295
|
code: z.ZodEnum<{
|
|
2296
|
+
cancelled: "cancelled";
|
|
1913
2297
|
approval_required: "approval_required";
|
|
1914
2298
|
capability_denied: "capability_denied";
|
|
1915
2299
|
validation_failed: "validation_failed";
|
|
1916
2300
|
provider_unavailable: "provider_unavailable";
|
|
1917
2301
|
execution_failed: "execution_failed";
|
|
1918
|
-
cancelled: "cancelled";
|
|
1919
2302
|
timeout: "timeout";
|
|
1920
2303
|
output_truncated: "output_truncated";
|
|
1921
2304
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -1974,33 +2357,54 @@ declare const PortalSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1974
2357
|
title: z.ZodOptional<z.ZodString>;
|
|
1975
2358
|
name: z.ZodString;
|
|
1976
2359
|
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
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">;
|
|
1980
2395
|
}, z.core.$strict>>>;
|
|
1981
|
-
kind: z.ZodLiteral<"ready">;
|
|
1982
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1983
|
-
kind: z.ZodLiteral<"authorization-required">;
|
|
1984
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1985
|
-
kind: z.ZodLiteral<"reauthorization-required">;
|
|
1986
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1987
|
-
kind: z.ZodLiteral<"scope-insufficient">;
|
|
1988
2396
|
}, z.core.$strict>, z.ZodObject<{
|
|
1989
|
-
kind: z.ZodLiteral<"
|
|
2397
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1990
2398
|
}, z.core.$strict>], "kind">>;
|
|
1991
|
-
oauthRequirement: z.ZodOptional<z.
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
minimumPermission: z.ZodEnum<{
|
|
1995
|
-
read: "read";
|
|
1996
|
-
write: "write";
|
|
1997
|
-
}>;
|
|
1998
|
-
serviceId: z.core.$ZodBranded<z.ZodString, "OAuthServiceId", "out">;
|
|
1999
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2000
|
-
accountProfileArgument: z.ZodLiteral<"accountProfile">;
|
|
2399
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
2400
|
+
kind: z.ZodLiteral<"google-account">;
|
|
2401
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
2001
2402
|
describeBeforeCall: z.ZodLiteral<true>;
|
|
2002
|
-
|
|
2003
|
-
|
|
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>>;
|
|
2004
2408
|
toolRef: z.ZodString;
|
|
2005
2409
|
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
2006
2410
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -2015,12 +2419,12 @@ declare const PortalSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2015
2419
|
}, z.core.$strict>, z.ZodObject<{
|
|
2016
2420
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2017
2421
|
code: z.ZodEnum<{
|
|
2422
|
+
cancelled: "cancelled";
|
|
2018
2423
|
approval_required: "approval_required";
|
|
2019
2424
|
capability_denied: "capability_denied";
|
|
2020
2425
|
validation_failed: "validation_failed";
|
|
2021
2426
|
provider_unavailable: "provider_unavailable";
|
|
2022
2427
|
execution_failed: "execution_failed";
|
|
2023
|
-
cancelled: "cancelled";
|
|
2024
2428
|
timeout: "timeout";
|
|
2025
2429
|
output_truncated: "output_truncated";
|
|
2026
2430
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -2036,6 +2440,7 @@ declare const PortalSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2036
2440
|
}, z.core.$strict>>>;
|
|
2037
2441
|
error: z.ZodObject<{
|
|
2038
2442
|
code: z.ZodEnum<{
|
|
2443
|
+
cancelled: "cancelled";
|
|
2039
2444
|
invalid_request: "invalid_request";
|
|
2040
2445
|
not_found: "not_found";
|
|
2041
2446
|
not_authorized: "not_authorized";
|
|
@@ -2044,19 +2449,18 @@ declare const PortalSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2044
2449
|
validation_failed: "validation_failed";
|
|
2045
2450
|
provider_unavailable: "provider_unavailable";
|
|
2046
2451
|
execution_failed: "execution_failed";
|
|
2047
|
-
cancelled: "cancelled";
|
|
2048
2452
|
timeout: "timeout";
|
|
2049
2453
|
}>;
|
|
2050
2454
|
message: z.ZodString;
|
|
2051
2455
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2052
2456
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
2053
2457
|
code: z.ZodEnum<{
|
|
2458
|
+
cancelled: "cancelled";
|
|
2054
2459
|
approval_required: "approval_required";
|
|
2055
2460
|
capability_denied: "capability_denied";
|
|
2056
2461
|
validation_failed: "validation_failed";
|
|
2057
2462
|
provider_unavailable: "provider_unavailable";
|
|
2058
2463
|
execution_failed: "execution_failed";
|
|
2059
|
-
cancelled: "cancelled";
|
|
2060
2464
|
timeout: "timeout";
|
|
2061
2465
|
output_truncated: "output_truncated";
|
|
2062
2466
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -2084,12 +2488,12 @@ declare const PortalDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
2084
2488
|
}, z.core.$strict>>>;
|
|
2085
2489
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2086
2490
|
code: z.ZodEnum<{
|
|
2491
|
+
cancelled: "cancelled";
|
|
2087
2492
|
approval_required: "approval_required";
|
|
2088
2493
|
capability_denied: "capability_denied";
|
|
2089
2494
|
validation_failed: "validation_failed";
|
|
2090
2495
|
provider_unavailable: "provider_unavailable";
|
|
2091
2496
|
execution_failed: "execution_failed";
|
|
2092
|
-
cancelled: "cancelled";
|
|
2093
2497
|
timeout: "timeout";
|
|
2094
2498
|
output_truncated: "output_truncated";
|
|
2095
2499
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -2135,33 +2539,54 @@ declare const PortalDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
2135
2539
|
title: z.ZodOptional<z.ZodString>;
|
|
2136
2540
|
name: z.ZodString;
|
|
2137
2541
|
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
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">;
|
|
2141
2577
|
}, z.core.$strict>>>;
|
|
2142
|
-
kind: z.ZodLiteral<"ready">;
|
|
2143
2578
|
}, z.core.$strict>, z.ZodObject<{
|
|
2144
|
-
kind: z.ZodLiteral<"
|
|
2145
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2146
|
-
kind: z.ZodLiteral<"reauthorization-required">;
|
|
2147
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2148
|
-
kind: z.ZodLiteral<"scope-insufficient">;
|
|
2149
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2150
|
-
kind: z.ZodLiteral<"authorization-status-unavailable">;
|
|
2579
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2151
2580
|
}, z.core.$strict>], "kind">>;
|
|
2152
|
-
oauthRequirement: z.ZodOptional<z.
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
minimumPermission: z.ZodEnum<{
|
|
2156
|
-
read: "read";
|
|
2157
|
-
write: "write";
|
|
2158
|
-
}>;
|
|
2159
|
-
serviceId: z.core.$ZodBranded<z.ZodString, "OAuthServiceId", "out">;
|
|
2160
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2161
|
-
accountProfileArgument: z.ZodLiteral<"accountProfile">;
|
|
2581
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
2582
|
+
kind: z.ZodLiteral<"google-account">;
|
|
2583
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
2162
2584
|
describeBeforeCall: z.ZodLiteral<true>;
|
|
2163
|
-
|
|
2164
|
-
|
|
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>>;
|
|
2165
2590
|
toolRef: z.ZodString;
|
|
2166
2591
|
typescriptHelper: z.ZodOptional<z.ZodString>;
|
|
2167
2592
|
zod: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -2174,12 +2599,12 @@ declare const PortalDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
2174
2599
|
}, z.core.$strict>, z.ZodObject<{
|
|
2175
2600
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2176
2601
|
code: z.ZodEnum<{
|
|
2602
|
+
cancelled: "cancelled";
|
|
2177
2603
|
approval_required: "approval_required";
|
|
2178
2604
|
capability_denied: "capability_denied";
|
|
2179
2605
|
validation_failed: "validation_failed";
|
|
2180
2606
|
provider_unavailable: "provider_unavailable";
|
|
2181
2607
|
execution_failed: "execution_failed";
|
|
2182
|
-
cancelled: "cancelled";
|
|
2183
2608
|
timeout: "timeout";
|
|
2184
2609
|
output_truncated: "output_truncated";
|
|
2185
2610
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -2195,6 +2620,7 @@ declare const PortalDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
2195
2620
|
}, z.core.$strict>>>;
|
|
2196
2621
|
error: z.ZodObject<{
|
|
2197
2622
|
code: z.ZodEnum<{
|
|
2623
|
+
cancelled: "cancelled";
|
|
2198
2624
|
invalid_request: "invalid_request";
|
|
2199
2625
|
not_found: "not_found";
|
|
2200
2626
|
not_authorized: "not_authorized";
|
|
@@ -2203,19 +2629,18 @@ declare const PortalDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
2203
2629
|
validation_failed: "validation_failed";
|
|
2204
2630
|
provider_unavailable: "provider_unavailable";
|
|
2205
2631
|
execution_failed: "execution_failed";
|
|
2206
|
-
cancelled: "cancelled";
|
|
2207
2632
|
timeout: "timeout";
|
|
2208
2633
|
}>;
|
|
2209
2634
|
message: z.ZodString;
|
|
2210
2635
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2211
2636
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
2212
2637
|
code: z.ZodEnum<{
|
|
2638
|
+
cancelled: "cancelled";
|
|
2213
2639
|
approval_required: "approval_required";
|
|
2214
2640
|
capability_denied: "capability_denied";
|
|
2215
2641
|
validation_failed: "validation_failed";
|
|
2216
2642
|
provider_unavailable: "provider_unavailable";
|
|
2217
2643
|
execution_failed: "execution_failed";
|
|
2218
|
-
cancelled: "cancelled";
|
|
2219
2644
|
timeout: "timeout";
|
|
2220
2645
|
output_truncated: "output_truncated";
|
|
2221
2646
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -2237,12 +2662,12 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
2237
2662
|
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
2238
2663
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2239
2664
|
code: z.ZodEnum<{
|
|
2665
|
+
cancelled: "cancelled";
|
|
2240
2666
|
approval_required: "approval_required";
|
|
2241
2667
|
capability_denied: "capability_denied";
|
|
2242
2668
|
validation_failed: "validation_failed";
|
|
2243
2669
|
provider_unavailable: "provider_unavailable";
|
|
2244
2670
|
execution_failed: "execution_failed";
|
|
2245
|
-
cancelled: "cancelled";
|
|
2246
2671
|
timeout: "timeout";
|
|
2247
2672
|
output_truncated: "output_truncated";
|
|
2248
2673
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -2256,7 +2681,7 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
2256
2681
|
safeMessage: z.ZodString;
|
|
2257
2682
|
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2258
2683
|
}, z.core.$strict>>>;
|
|
2259
|
-
items: z.ZodArray<z.
|
|
2684
|
+
items: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
2260
2685
|
artifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2261
2686
|
byteLength: z.ZodNumber;
|
|
2262
2687
|
expiresAt: z.ZodString;
|
|
@@ -2266,12 +2691,12 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
2266
2691
|
}, z.core.$strict>>>;
|
|
2267
2692
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2268
2693
|
code: z.ZodEnum<{
|
|
2694
|
+
cancelled: "cancelled";
|
|
2269
2695
|
approval_required: "approval_required";
|
|
2270
2696
|
capability_denied: "capability_denied";
|
|
2271
2697
|
validation_failed: "validation_failed";
|
|
2272
2698
|
provider_unavailable: "provider_unavailable";
|
|
2273
2699
|
execution_failed: "execution_failed";
|
|
2274
|
-
cancelled: "cancelled";
|
|
2275
2700
|
timeout: "timeout";
|
|
2276
2701
|
output_truncated: "output_truncated";
|
|
2277
2702
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -2301,14 +2726,21 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
2301
2726
|
}, z.core.$strict>>;
|
|
2302
2727
|
value: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
|
|
2303
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>>>;
|
|
2304
2736
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2305
2737
|
code: z.ZodEnum<{
|
|
2738
|
+
cancelled: "cancelled";
|
|
2306
2739
|
approval_required: "approval_required";
|
|
2307
2740
|
capability_denied: "capability_denied";
|
|
2308
2741
|
validation_failed: "validation_failed";
|
|
2309
2742
|
provider_unavailable: "provider_unavailable";
|
|
2310
2743
|
execution_failed: "execution_failed";
|
|
2311
|
-
cancelled: "cancelled";
|
|
2312
2744
|
timeout: "timeout";
|
|
2313
2745
|
output_truncated: "output_truncated";
|
|
2314
2746
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -2324,6 +2756,7 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
2324
2756
|
}, z.core.$strict>>>;
|
|
2325
2757
|
error: z.ZodObject<{
|
|
2326
2758
|
code: z.ZodEnum<{
|
|
2759
|
+
cancelled: "cancelled";
|
|
2327
2760
|
invalid_request: "invalid_request";
|
|
2328
2761
|
not_found: "not_found";
|
|
2329
2762
|
not_authorized: "not_authorized";
|
|
@@ -2332,19 +2765,88 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
2332
2765
|
validation_failed: "validation_failed";
|
|
2333
2766
|
provider_unavailable: "provider_unavailable";
|
|
2334
2767
|
execution_failed: "execution_failed";
|
|
2335
|
-
cancelled: "cancelled";
|
|
2336
2768
|
timeout: "timeout";
|
|
2337
2769
|
}>;
|
|
2338
2770
|
message: z.ZodString;
|
|
2339
2771
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2340
2772
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
2341
2773
|
code: z.ZodEnum<{
|
|
2774
|
+
cancelled: "cancelled";
|
|
2342
2775
|
approval_required: "approval_required";
|
|
2343
2776
|
capability_denied: "capability_denied";
|
|
2344
2777
|
validation_failed: "validation_failed";
|
|
2345
2778
|
provider_unavailable: "provider_unavailable";
|
|
2346
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";
|
|
2809
|
+
approval_required: "approval_required";
|
|
2810
|
+
capability_denied: "capability_denied";
|
|
2811
|
+
validation_failed: "validation_failed";
|
|
2812
|
+
provider_unavailable: "provider_unavailable";
|
|
2813
|
+
execution_failed: "execution_failed";
|
|
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<{
|
|
2829
|
+
cancelled: "cancelled";
|
|
2830
|
+
invalid_request: "invalid_request";
|
|
2831
|
+
not_found: "not_found";
|
|
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";
|
|
2839
|
+
}>;
|
|
2840
|
+
message: z.ZodString;
|
|
2841
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2842
|
+
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
2843
|
+
code: z.ZodEnum<{
|
|
2347
2844
|
cancelled: "cancelled";
|
|
2845
|
+
approval_required: "approval_required";
|
|
2846
|
+
capability_denied: "capability_denied";
|
|
2847
|
+
validation_failed: "validation_failed";
|
|
2848
|
+
provider_unavailable: "provider_unavailable";
|
|
2849
|
+
execution_failed: "execution_failed";
|
|
2348
2850
|
timeout: "timeout";
|
|
2349
2851
|
output_truncated: "output_truncated";
|
|
2350
2852
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -2394,21 +2896,32 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
2394
2896
|
owningGeneration: z.ZodString;
|
|
2395
2897
|
status: z.ZodLiteral<"error">;
|
|
2396
2898
|
}, z.core.$strict>, z.ZodObject<{
|
|
2397
|
-
approvalChallenge: z.ZodObject<{
|
|
2899
|
+
approvalChallenge: z.ZodUnion<readonly [z.ZodObject<{
|
|
2398
2900
|
challengeId: z.ZodString;
|
|
2399
2901
|
expiresAt: z.ZodString;
|
|
2400
|
-
}, 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>]>;
|
|
2401
2914
|
error: z.ZodObject<{
|
|
2402
2915
|
message: z.ZodString;
|
|
2403
2916
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2404
2917
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
2405
2918
|
code: z.ZodEnum<{
|
|
2919
|
+
cancelled: "cancelled";
|
|
2406
2920
|
approval_required: "approval_required";
|
|
2407
2921
|
capability_denied: "capability_denied";
|
|
2408
2922
|
validation_failed: "validation_failed";
|
|
2409
2923
|
provider_unavailable: "provider_unavailable";
|
|
2410
2924
|
execution_failed: "execution_failed";
|
|
2411
|
-
cancelled: "cancelled";
|
|
2412
2925
|
timeout: "timeout";
|
|
2413
2926
|
output_truncated: "output_truncated";
|
|
2414
2927
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -2433,7 +2946,7 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
2433
2946
|
}, z.core.$strict>;
|
|
2434
2947
|
owningGeneration: z.ZodString;
|
|
2435
2948
|
status: z.ZodLiteral<"approval_required">;
|
|
2436
|
-
}, z.core.$strict>]
|
|
2949
|
+
}, z.core.$strict>]>>;
|
|
2437
2950
|
ok: z.ZodBoolean;
|
|
2438
2951
|
}, z.core.$strict>;
|
|
2439
2952
|
type PortalCallResult = z.infer<typeof PortalCallResultSchema>;
|
|
@@ -2441,12 +2954,12 @@ declare const PortalListResultSchema: z.ZodObject<{
|
|
|
2441
2954
|
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
2442
2955
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2443
2956
|
code: z.ZodEnum<{
|
|
2957
|
+
cancelled: "cancelled";
|
|
2444
2958
|
approval_required: "approval_required";
|
|
2445
2959
|
capability_denied: "capability_denied";
|
|
2446
2960
|
validation_failed: "validation_failed";
|
|
2447
2961
|
provider_unavailable: "provider_unavailable";
|
|
2448
2962
|
execution_failed: "execution_failed";
|
|
2449
|
-
cancelled: "cancelled";
|
|
2450
2963
|
timeout: "timeout";
|
|
2451
2964
|
output_truncated: "output_truncated";
|
|
2452
2965
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -2470,12 +2983,12 @@ declare const PortalListResultSchema: z.ZodObject<{
|
|
|
2470
2983
|
}, z.core.$strict>>>;
|
|
2471
2984
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2472
2985
|
code: z.ZodEnum<{
|
|
2986
|
+
cancelled: "cancelled";
|
|
2473
2987
|
approval_required: "approval_required";
|
|
2474
2988
|
capability_denied: "capability_denied";
|
|
2475
2989
|
validation_failed: "validation_failed";
|
|
2476
2990
|
provider_unavailable: "provider_unavailable";
|
|
2477
2991
|
execution_failed: "execution_failed";
|
|
2478
|
-
cancelled: "cancelled";
|
|
2479
2992
|
timeout: "timeout";
|
|
2480
2993
|
output_truncated: "output_truncated";
|
|
2481
2994
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -2536,33 +3049,54 @@ declare const PortalListResultSchema: z.ZodObject<{
|
|
|
2536
3049
|
title: z.ZodOptional<z.ZodString>;
|
|
2537
3050
|
name: z.ZodString;
|
|
2538
3051
|
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
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">;
|
|
2542
3087
|
}, z.core.$strict>>>;
|
|
2543
|
-
kind: z.ZodLiteral<"ready">;
|
|
2544
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2545
|
-
kind: z.ZodLiteral<"authorization-required">;
|
|
2546
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2547
|
-
kind: z.ZodLiteral<"reauthorization-required">;
|
|
2548
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2549
|
-
kind: z.ZodLiteral<"scope-insufficient">;
|
|
2550
3088
|
}, z.core.$strict>, z.ZodObject<{
|
|
2551
|
-
kind: z.ZodLiteral<"
|
|
3089
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2552
3090
|
}, z.core.$strict>], "kind">>;
|
|
2553
|
-
oauthRequirement: z.ZodOptional<z.
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
minimumPermission: z.ZodEnum<{
|
|
2557
|
-
read: "read";
|
|
2558
|
-
write: "write";
|
|
2559
|
-
}>;
|
|
2560
|
-
serviceId: z.core.$ZodBranded<z.ZodString, "OAuthServiceId", "out">;
|
|
2561
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2562
|
-
accountProfileArgument: z.ZodLiteral<"accountProfile">;
|
|
3091
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
3092
|
+
kind: z.ZodLiteral<"google-account">;
|
|
3093
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
2563
3094
|
describeBeforeCall: z.ZodLiteral<true>;
|
|
2564
|
-
|
|
2565
|
-
|
|
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>>;
|
|
2566
3100
|
toolRef: z.ZodString;
|
|
2567
3101
|
}, z.core.$strict>>;
|
|
2568
3102
|
namespaceDiscovery: z.ZodArray<z.ZodObject<{
|
|
@@ -2573,12 +3107,12 @@ declare const PortalListResultSchema: z.ZodObject<{
|
|
|
2573
3107
|
}, z.core.$strict>, z.ZodObject<{
|
|
2574
3108
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2575
3109
|
code: z.ZodEnum<{
|
|
3110
|
+
cancelled: "cancelled";
|
|
2576
3111
|
approval_required: "approval_required";
|
|
2577
3112
|
capability_denied: "capability_denied";
|
|
2578
3113
|
validation_failed: "validation_failed";
|
|
2579
3114
|
provider_unavailable: "provider_unavailable";
|
|
2580
3115
|
execution_failed: "execution_failed";
|
|
2581
|
-
cancelled: "cancelled";
|
|
2582
3116
|
timeout: "timeout";
|
|
2583
3117
|
output_truncated: "output_truncated";
|
|
2584
3118
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -2594,6 +3128,7 @@ declare const PortalListResultSchema: z.ZodObject<{
|
|
|
2594
3128
|
}, z.core.$strict>>>;
|
|
2595
3129
|
error: z.ZodObject<{
|
|
2596
3130
|
code: z.ZodEnum<{
|
|
3131
|
+
cancelled: "cancelled";
|
|
2597
3132
|
invalid_request: "invalid_request";
|
|
2598
3133
|
not_found: "not_found";
|
|
2599
3134
|
not_authorized: "not_authorized";
|
|
@@ -2602,19 +3137,18 @@ declare const PortalListResultSchema: z.ZodObject<{
|
|
|
2602
3137
|
validation_failed: "validation_failed";
|
|
2603
3138
|
provider_unavailable: "provider_unavailable";
|
|
2604
3139
|
execution_failed: "execution_failed";
|
|
2605
|
-
cancelled: "cancelled";
|
|
2606
3140
|
timeout: "timeout";
|
|
2607
3141
|
}>;
|
|
2608
3142
|
message: z.ZodString;
|
|
2609
3143
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2610
3144
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
2611
3145
|
code: z.ZodEnum<{
|
|
3146
|
+
cancelled: "cancelled";
|
|
2612
3147
|
approval_required: "approval_required";
|
|
2613
3148
|
capability_denied: "capability_denied";
|
|
2614
3149
|
validation_failed: "validation_failed";
|
|
2615
3150
|
provider_unavailable: "provider_unavailable";
|
|
2616
3151
|
execution_failed: "execution_failed";
|
|
2617
|
-
cancelled: "cancelled";
|
|
2618
3152
|
timeout: "timeout";
|
|
2619
3153
|
output_truncated: "output_truncated";
|
|
2620
3154
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -2639,12 +3173,12 @@ declare const PortalSearchResultSchema: z.ZodObject<{
|
|
|
2639
3173
|
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
2640
3174
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2641
3175
|
code: z.ZodEnum<{
|
|
3176
|
+
cancelled: "cancelled";
|
|
2642
3177
|
approval_required: "approval_required";
|
|
2643
3178
|
capability_denied: "capability_denied";
|
|
2644
3179
|
validation_failed: "validation_failed";
|
|
2645
3180
|
provider_unavailable: "provider_unavailable";
|
|
2646
3181
|
execution_failed: "execution_failed";
|
|
2647
|
-
cancelled: "cancelled";
|
|
2648
3182
|
timeout: "timeout";
|
|
2649
3183
|
output_truncated: "output_truncated";
|
|
2650
3184
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -2668,12 +3202,12 @@ declare const PortalSearchResultSchema: z.ZodObject<{
|
|
|
2668
3202
|
}, z.core.$strict>>>;
|
|
2669
3203
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2670
3204
|
code: z.ZodEnum<{
|
|
3205
|
+
cancelled: "cancelled";
|
|
2671
3206
|
approval_required: "approval_required";
|
|
2672
3207
|
capability_denied: "capability_denied";
|
|
2673
3208
|
validation_failed: "validation_failed";
|
|
2674
3209
|
provider_unavailable: "provider_unavailable";
|
|
2675
3210
|
execution_failed: "execution_failed";
|
|
2676
|
-
cancelled: "cancelled";
|
|
2677
3211
|
timeout: "timeout";
|
|
2678
3212
|
output_truncated: "output_truncated";
|
|
2679
3213
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -2732,33 +3266,54 @@ declare const PortalSearchResultSchema: z.ZodObject<{
|
|
|
2732
3266
|
title: z.ZodOptional<z.ZodString>;
|
|
2733
3267
|
name: z.ZodString;
|
|
2734
3268
|
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
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">;
|
|
2738
3304
|
}, z.core.$strict>>>;
|
|
2739
|
-
kind: z.ZodLiteral<"ready">;
|
|
2740
3305
|
}, z.core.$strict>, z.ZodObject<{
|
|
2741
|
-
kind: z.ZodLiteral<"
|
|
2742
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2743
|
-
kind: z.ZodLiteral<"reauthorization-required">;
|
|
2744
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2745
|
-
kind: z.ZodLiteral<"scope-insufficient">;
|
|
2746
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2747
|
-
kind: z.ZodLiteral<"authorization-status-unavailable">;
|
|
3306
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2748
3307
|
}, z.core.$strict>], "kind">>;
|
|
2749
|
-
oauthRequirement: z.ZodOptional<z.
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
minimumPermission: z.ZodEnum<{
|
|
2753
|
-
read: "read";
|
|
2754
|
-
write: "write";
|
|
2755
|
-
}>;
|
|
2756
|
-
serviceId: z.core.$ZodBranded<z.ZodString, "OAuthServiceId", "out">;
|
|
2757
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2758
|
-
accountProfileArgument: z.ZodLiteral<"accountProfile">;
|
|
3308
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
3309
|
+
kind: z.ZodLiteral<"google-account">;
|
|
3310
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
2759
3311
|
describeBeforeCall: z.ZodLiteral<true>;
|
|
2760
|
-
|
|
2761
|
-
|
|
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>>;
|
|
2762
3317
|
toolRef: z.ZodString;
|
|
2763
3318
|
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
2764
3319
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -2773,12 +3328,12 @@ declare const PortalSearchResultSchema: z.ZodObject<{
|
|
|
2773
3328
|
}, z.core.$strict>, z.ZodObject<{
|
|
2774
3329
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2775
3330
|
code: z.ZodEnum<{
|
|
3331
|
+
cancelled: "cancelled";
|
|
2776
3332
|
approval_required: "approval_required";
|
|
2777
3333
|
capability_denied: "capability_denied";
|
|
2778
3334
|
validation_failed: "validation_failed";
|
|
2779
3335
|
provider_unavailable: "provider_unavailable";
|
|
2780
3336
|
execution_failed: "execution_failed";
|
|
2781
|
-
cancelled: "cancelled";
|
|
2782
3337
|
timeout: "timeout";
|
|
2783
3338
|
output_truncated: "output_truncated";
|
|
2784
3339
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -2794,6 +3349,7 @@ declare const PortalSearchResultSchema: z.ZodObject<{
|
|
|
2794
3349
|
}, z.core.$strict>>>;
|
|
2795
3350
|
error: z.ZodObject<{
|
|
2796
3351
|
code: z.ZodEnum<{
|
|
3352
|
+
cancelled: "cancelled";
|
|
2797
3353
|
invalid_request: "invalid_request";
|
|
2798
3354
|
not_found: "not_found";
|
|
2799
3355
|
not_authorized: "not_authorized";
|
|
@@ -2802,19 +3358,18 @@ declare const PortalSearchResultSchema: z.ZodObject<{
|
|
|
2802
3358
|
validation_failed: "validation_failed";
|
|
2803
3359
|
provider_unavailable: "provider_unavailable";
|
|
2804
3360
|
execution_failed: "execution_failed";
|
|
2805
|
-
cancelled: "cancelled";
|
|
2806
3361
|
timeout: "timeout";
|
|
2807
3362
|
}>;
|
|
2808
3363
|
message: z.ZodString;
|
|
2809
3364
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2810
3365
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
2811
3366
|
code: z.ZodEnum<{
|
|
3367
|
+
cancelled: "cancelled";
|
|
2812
3368
|
approval_required: "approval_required";
|
|
2813
3369
|
capability_denied: "capability_denied";
|
|
2814
3370
|
validation_failed: "validation_failed";
|
|
2815
3371
|
provider_unavailable: "provider_unavailable";
|
|
2816
3372
|
execution_failed: "execution_failed";
|
|
2817
|
-
cancelled: "cancelled";
|
|
2818
3373
|
timeout: "timeout";
|
|
2819
3374
|
output_truncated: "output_truncated";
|
|
2820
3375
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -2839,12 +3394,12 @@ declare const PortalDescribeResultSchema: z.ZodObject<{
|
|
|
2839
3394
|
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
2840
3395
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2841
3396
|
code: z.ZodEnum<{
|
|
3397
|
+
cancelled: "cancelled";
|
|
2842
3398
|
approval_required: "approval_required";
|
|
2843
3399
|
capability_denied: "capability_denied";
|
|
2844
3400
|
validation_failed: "validation_failed";
|
|
2845
3401
|
provider_unavailable: "provider_unavailable";
|
|
2846
3402
|
execution_failed: "execution_failed";
|
|
2847
|
-
cancelled: "cancelled";
|
|
2848
3403
|
timeout: "timeout";
|
|
2849
3404
|
output_truncated: "output_truncated";
|
|
2850
3405
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -2868,12 +3423,12 @@ declare const PortalDescribeResultSchema: z.ZodObject<{
|
|
|
2868
3423
|
}, z.core.$strict>>>;
|
|
2869
3424
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2870
3425
|
code: z.ZodEnum<{
|
|
3426
|
+
cancelled: "cancelled";
|
|
2871
3427
|
approval_required: "approval_required";
|
|
2872
3428
|
capability_denied: "capability_denied";
|
|
2873
3429
|
validation_failed: "validation_failed";
|
|
2874
3430
|
provider_unavailable: "provider_unavailable";
|
|
2875
3431
|
execution_failed: "execution_failed";
|
|
2876
|
-
cancelled: "cancelled";
|
|
2877
3432
|
timeout: "timeout";
|
|
2878
3433
|
output_truncated: "output_truncated";
|
|
2879
3434
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -2919,33 +3474,54 @@ declare const PortalDescribeResultSchema: z.ZodObject<{
|
|
|
2919
3474
|
title: z.ZodOptional<z.ZodString>;
|
|
2920
3475
|
name: z.ZodString;
|
|
2921
3476
|
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
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">;
|
|
2925
3512
|
}, z.core.$strict>>>;
|
|
2926
|
-
kind: z.ZodLiteral<"ready">;
|
|
2927
3513
|
}, z.core.$strict>, z.ZodObject<{
|
|
2928
|
-
kind: z.ZodLiteral<"
|
|
2929
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2930
|
-
kind: z.ZodLiteral<"reauthorization-required">;
|
|
2931
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2932
|
-
kind: z.ZodLiteral<"scope-insufficient">;
|
|
2933
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2934
|
-
kind: z.ZodLiteral<"authorization-status-unavailable">;
|
|
3514
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2935
3515
|
}, z.core.$strict>], "kind">>;
|
|
2936
|
-
oauthRequirement: z.ZodOptional<z.
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
minimumPermission: z.ZodEnum<{
|
|
2940
|
-
read: "read";
|
|
2941
|
-
write: "write";
|
|
2942
|
-
}>;
|
|
2943
|
-
serviceId: z.core.$ZodBranded<z.ZodString, "OAuthServiceId", "out">;
|
|
2944
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2945
|
-
accountProfileArgument: z.ZodLiteral<"accountProfile">;
|
|
3516
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
3517
|
+
kind: z.ZodLiteral<"google-account">;
|
|
3518
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
2946
3519
|
describeBeforeCall: z.ZodLiteral<true>;
|
|
2947
|
-
|
|
2948
|
-
|
|
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>>;
|
|
2949
3525
|
toolRef: z.ZodString;
|
|
2950
3526
|
typescriptHelper: z.ZodOptional<z.ZodString>;
|
|
2951
3527
|
zod: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -2958,12 +3534,12 @@ declare const PortalDescribeResultSchema: z.ZodObject<{
|
|
|
2958
3534
|
}, z.core.$strict>, z.ZodObject<{
|
|
2959
3535
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2960
3536
|
code: z.ZodEnum<{
|
|
3537
|
+
cancelled: "cancelled";
|
|
2961
3538
|
approval_required: "approval_required";
|
|
2962
3539
|
capability_denied: "capability_denied";
|
|
2963
3540
|
validation_failed: "validation_failed";
|
|
2964
3541
|
provider_unavailable: "provider_unavailable";
|
|
2965
3542
|
execution_failed: "execution_failed";
|
|
2966
|
-
cancelled: "cancelled";
|
|
2967
3543
|
timeout: "timeout";
|
|
2968
3544
|
output_truncated: "output_truncated";
|
|
2969
3545
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -2979,6 +3555,7 @@ declare const PortalDescribeResultSchema: z.ZodObject<{
|
|
|
2979
3555
|
}, z.core.$strict>>>;
|
|
2980
3556
|
error: z.ZodObject<{
|
|
2981
3557
|
code: z.ZodEnum<{
|
|
3558
|
+
cancelled: "cancelled";
|
|
2982
3559
|
invalid_request: "invalid_request";
|
|
2983
3560
|
not_found: "not_found";
|
|
2984
3561
|
not_authorized: "not_authorized";
|
|
@@ -2987,19 +3564,18 @@ declare const PortalDescribeResultSchema: z.ZodObject<{
|
|
|
2987
3564
|
validation_failed: "validation_failed";
|
|
2988
3565
|
provider_unavailable: "provider_unavailable";
|
|
2989
3566
|
execution_failed: "execution_failed";
|
|
2990
|
-
cancelled: "cancelled";
|
|
2991
3567
|
timeout: "timeout";
|
|
2992
3568
|
}>;
|
|
2993
3569
|
message: z.ZodString;
|
|
2994
3570
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2995
3571
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
2996
3572
|
code: z.ZodEnum<{
|
|
3573
|
+
cancelled: "cancelled";
|
|
2997
3574
|
approval_required: "approval_required";
|
|
2998
3575
|
capability_denied: "capability_denied";
|
|
2999
3576
|
validation_failed: "validation_failed";
|
|
3000
3577
|
provider_unavailable: "provider_unavailable";
|
|
3001
3578
|
execution_failed: "execution_failed";
|
|
3002
|
-
cancelled: "cancelled";
|
|
3003
3579
|
timeout: "timeout";
|
|
3004
3580
|
output_truncated: "output_truncated";
|
|
3005
3581
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -3030,12 +3606,12 @@ declare const PortalGenericItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
3030
3606
|
}, z.core.$strict>>>;
|
|
3031
3607
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3032
3608
|
code: z.ZodEnum<{
|
|
3609
|
+
cancelled: "cancelled";
|
|
3033
3610
|
approval_required: "approval_required";
|
|
3034
3611
|
capability_denied: "capability_denied";
|
|
3035
3612
|
validation_failed: "validation_failed";
|
|
3036
3613
|
provider_unavailable: "provider_unavailable";
|
|
3037
3614
|
execution_failed: "execution_failed";
|
|
3038
|
-
cancelled: "cancelled";
|
|
3039
3615
|
timeout: "timeout";
|
|
3040
3616
|
output_truncated: "output_truncated";
|
|
3041
3617
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -3059,12 +3635,12 @@ declare const PortalGenericItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
3059
3635
|
}, z.core.$strict>, z.ZodObject<{
|
|
3060
3636
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3061
3637
|
code: z.ZodEnum<{
|
|
3638
|
+
cancelled: "cancelled";
|
|
3062
3639
|
approval_required: "approval_required";
|
|
3063
3640
|
capability_denied: "capability_denied";
|
|
3064
3641
|
validation_failed: "validation_failed";
|
|
3065
3642
|
provider_unavailable: "provider_unavailable";
|
|
3066
3643
|
execution_failed: "execution_failed";
|
|
3067
|
-
cancelled: "cancelled";
|
|
3068
3644
|
timeout: "timeout";
|
|
3069
3645
|
output_truncated: "output_truncated";
|
|
3070
3646
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -3080,6 +3656,7 @@ declare const PortalGenericItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
3080
3656
|
}, z.core.$strict>>>;
|
|
3081
3657
|
error: z.ZodObject<{
|
|
3082
3658
|
code: z.ZodEnum<{
|
|
3659
|
+
cancelled: "cancelled";
|
|
3083
3660
|
invalid_request: "invalid_request";
|
|
3084
3661
|
not_found: "not_found";
|
|
3085
3662
|
not_authorized: "not_authorized";
|
|
@@ -3088,19 +3665,18 @@ declare const PortalGenericItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
3088
3665
|
validation_failed: "validation_failed";
|
|
3089
3666
|
provider_unavailable: "provider_unavailable";
|
|
3090
3667
|
execution_failed: "execution_failed";
|
|
3091
|
-
cancelled: "cancelled";
|
|
3092
3668
|
timeout: "timeout";
|
|
3093
3669
|
}>;
|
|
3094
3670
|
message: z.ZodString;
|
|
3095
3671
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
3096
3672
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
3097
3673
|
code: z.ZodEnum<{
|
|
3674
|
+
cancelled: "cancelled";
|
|
3098
3675
|
approval_required: "approval_required";
|
|
3099
3676
|
capability_denied: "capability_denied";
|
|
3100
3677
|
validation_failed: "validation_failed";
|
|
3101
3678
|
provider_unavailable: "provider_unavailable";
|
|
3102
3679
|
execution_failed: "execution_failed";
|
|
3103
|
-
cancelled: "cancelled";
|
|
3104
3680
|
timeout: "timeout";
|
|
3105
3681
|
output_truncated: "output_truncated";
|
|
3106
3682
|
artifact_unavailable: "artifact_unavailable";
|
|
@@ -3120,4 +3696,4 @@ declare const PortalGenericItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
3120
3696
|
}, z.core.$strict>], "status">;
|
|
3121
3697
|
//#endregion
|
|
3122
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 };
|
|
3123
|
-
//# sourceMappingURL=portal-call-result-schema-
|
|
3699
|
+
//# sourceMappingURL=portal-call-result-schema-CjfCOa84.d.ts.map
|