@omnara/sdk 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -0
- package/dist/auth-CnOxLjlL.d.ts +6 -0
- package/dist/browser.d.ts +32 -0
- package/dist/browser.js +121 -0
- package/dist/browser.js.map +1 -0
- package/dist/chunk-CT4AUW4R.js +3657 -0
- package/dist/chunk-CT4AUW4R.js.map +1 -0
- package/dist/chunk-DGGYBF7D.js +3642 -0
- package/dist/chunk-DGGYBF7D.js.map +1 -0
- package/dist/chunk-PZ5AY32C.js +10 -0
- package/dist/chunk-PZ5AY32C.js.map +1 -0
- package/dist/chunk-TMPF6DRL.js +35 -0
- package/dist/chunk-TMPF6DRL.js.map +1 -0
- package/dist/index.d.ts +86 -0
- package/dist/index.js +254 -0
- package/dist/index.js.map +1 -0
- package/dist/sdk.gen-j-xlf6lr.d.ts +12953 -0
- package/dist/tanstack.d.ts +2786 -0
- package/dist/tanstack.js +2954 -0
- package/dist/tanstack.js.map +1 -0
- package/dist/zod.d.ts +12526 -0
- package/dist/zod.js +1428 -0
- package/dist/zod.js.map +1 -0
- package/package.json +64 -0
|
@@ -0,0 +1,3657 @@
|
|
|
1
|
+
// src/generated/zod.gen.ts
|
|
2
|
+
import * as z from "zod";
|
|
3
|
+
var zResourceListSort = z.enum([
|
|
4
|
+
"name",
|
|
5
|
+
"-name",
|
|
6
|
+
"-updated_at",
|
|
7
|
+
"updated_at",
|
|
8
|
+
"-created_at",
|
|
9
|
+
"created_at"
|
|
10
|
+
]).default("-created_at");
|
|
11
|
+
var zCreatedResourceListSort = z.enum([
|
|
12
|
+
"name",
|
|
13
|
+
"-name",
|
|
14
|
+
"-created_at",
|
|
15
|
+
"created_at"
|
|
16
|
+
]).default("-created_at");
|
|
17
|
+
var zError = z.object({
|
|
18
|
+
error: z.string(),
|
|
19
|
+
code: z.enum([
|
|
20
|
+
"invalid_request",
|
|
21
|
+
"unauthorized",
|
|
22
|
+
"forbidden",
|
|
23
|
+
"not_found",
|
|
24
|
+
"conflict",
|
|
25
|
+
"gone",
|
|
26
|
+
"request_too_large",
|
|
27
|
+
"unsupported_media_type",
|
|
28
|
+
"unprocessable",
|
|
29
|
+
"rate_limited",
|
|
30
|
+
"internal_error",
|
|
31
|
+
"upstream_error",
|
|
32
|
+
"service_unavailable",
|
|
33
|
+
"idempotency_key_conflict",
|
|
34
|
+
"state_transition_conflict",
|
|
35
|
+
"managed_work_admission_denied",
|
|
36
|
+
"pending_work",
|
|
37
|
+
"not_wake_capable",
|
|
38
|
+
"daemon_runtime_unregistered",
|
|
39
|
+
"validation_failed",
|
|
40
|
+
"csrf_check_failed",
|
|
41
|
+
"authentication_unavailable"
|
|
42
|
+
])
|
|
43
|
+
});
|
|
44
|
+
var zWarning = z.object({
|
|
45
|
+
message: z.string(),
|
|
46
|
+
code: z.enum(["missing_recommended_machine_tools"])
|
|
47
|
+
});
|
|
48
|
+
var zClientErrorCode = z.enum([
|
|
49
|
+
"invalid_request",
|
|
50
|
+
"validation_failed",
|
|
51
|
+
"unauthorized",
|
|
52
|
+
"forbidden",
|
|
53
|
+
"csrf_check_failed",
|
|
54
|
+
"not_found",
|
|
55
|
+
"conflict",
|
|
56
|
+
"idempotency_key_conflict",
|
|
57
|
+
"state_transition_conflict",
|
|
58
|
+
"pending_work",
|
|
59
|
+
"not_wake_capable",
|
|
60
|
+
"gone",
|
|
61
|
+
"daemon_runtime_unregistered",
|
|
62
|
+
"request_too_large",
|
|
63
|
+
"unsupported_media_type",
|
|
64
|
+
"unprocessable",
|
|
65
|
+
"rate_limited"
|
|
66
|
+
]);
|
|
67
|
+
var zServerErrorCode = z.enum([
|
|
68
|
+
"internal_error",
|
|
69
|
+
"upstream_error",
|
|
70
|
+
"service_unavailable",
|
|
71
|
+
"authentication_unavailable"
|
|
72
|
+
]);
|
|
73
|
+
var zManagementKind = z.enum(["tenant", "cluster"]);
|
|
74
|
+
var zOrganizationId = z.string().regex(/^org_[a-z2-7]{26}$/);
|
|
75
|
+
var zOrgInvitationId = z.string().regex(/^oinv_[a-z2-7]{26}$/);
|
|
76
|
+
var zPersonalAccessTokenId = z.string().regex(/^pat_[a-z2-7]{26}$/);
|
|
77
|
+
var zOrgApiKeyId = z.string().regex(/^oak_[a-z2-7]{26}$/);
|
|
78
|
+
var zProjectId = z.string().regex(/^proj_[a-z2-7]{26}$/);
|
|
79
|
+
var zMcpoAuthFlowId = z.string().regex(/^moaf_[a-z2-7]{26}$/);
|
|
80
|
+
var zIntegrationOAuthFlowId = z.string().regex(/^ioaf_[a-z2-7]{26}$/);
|
|
81
|
+
var zActorId = z.string().regex(/^actr_[a-z2-7]{26}$/);
|
|
82
|
+
var zAgentId = z.string().regex(/^agt_[a-z2-7]{26}$/);
|
|
83
|
+
var zAgentConfigId = z.string().regex(/^acfg_[a-z2-7]{26}$/);
|
|
84
|
+
var zAgentProfileId = z.string().regex(/^aprf_[a-z2-7]{26}$/);
|
|
85
|
+
var zCronTriggerId = z.string().regex(/^cron_[a-z2-7]{26}$/);
|
|
86
|
+
var zIntegrationInstallId = z.string().regex(/^iin_[a-z2-7]{26}$/);
|
|
87
|
+
var zAgentEventId = z.string().regex(/^evt_[a-z2-7]{26}$/);
|
|
88
|
+
var zModelCallContextId = z.string().regex(/^mcc_[a-z2-7]{26}$/);
|
|
89
|
+
var zAgentInputId = z.string().regex(/^ain_[a-z2-7]{26}$/);
|
|
90
|
+
var zAgentMachineBindingId = z.string().regex(/^amb_[a-z2-7]{26}$/);
|
|
91
|
+
var zAgentTurnId = z.string().regex(/^trn_[a-z2-7]{26}$/);
|
|
92
|
+
var zAgentInteractionId = z.string().regex(/^int_[a-z2-7]{26}$/);
|
|
93
|
+
var zToolCallId = z.string().regex(/^tcl_[a-z2-7]{26}$/);
|
|
94
|
+
var zContextCheckpointId = z.string().regex(/^ccp_[a-z2-7]{26}$/);
|
|
95
|
+
var zArtifactId = z.string().regex(/^art_[a-z2-7]{26}$/);
|
|
96
|
+
var zModelProviderConfigId = z.string().regex(/^mpc_[a-z2-7]{26}$/);
|
|
97
|
+
var zConfiguredModelId = z.string().regex(/^mdl_[a-z2-7]{26}$/);
|
|
98
|
+
var zConfiguredModelRevisionId = z.string().regex(/^mrev_[a-z2-7]{26}$/);
|
|
99
|
+
var zProjectModelGrantId = z.string().regex(/^pmog_[a-z2-7]{26}$/);
|
|
100
|
+
var zModelApiFormat = z.enum([
|
|
101
|
+
"openai-responses",
|
|
102
|
+
"openai-chat-completions",
|
|
103
|
+
"anthropic-messages"
|
|
104
|
+
]);
|
|
105
|
+
var zModelProviderAuthKind = z.enum(["bearer_token", "api_key_header"]);
|
|
106
|
+
var zModelProviderApiVariant = z.enum([
|
|
107
|
+
"default",
|
|
108
|
+
"openrouter",
|
|
109
|
+
"bedrock"
|
|
110
|
+
]);
|
|
111
|
+
var zModelProviderApiVariantResponse = z.string();
|
|
112
|
+
var zModelApiVariantOptions = z.record(z.string(), z.unknown());
|
|
113
|
+
var zModelCacheRetention = z.enum([
|
|
114
|
+
"none",
|
|
115
|
+
"short",
|
|
116
|
+
"long"
|
|
117
|
+
]);
|
|
118
|
+
var zDiscoveredProviderModel = z.object({
|
|
119
|
+
slug: z.string(),
|
|
120
|
+
display_name: z.string().optional(),
|
|
121
|
+
context_window_tokens: z.int().gte(2).lte(2147483647).optional(),
|
|
122
|
+
max_output_tokens: z.int().gte(1).lte(2147483647).optional()
|
|
123
|
+
});
|
|
124
|
+
var zModelCatalog = z.object({
|
|
125
|
+
status: z.enum(["ok", "failed"]),
|
|
126
|
+
models: z.array(zDiscoveredProviderModel).optional(),
|
|
127
|
+
error: z.string().optional()
|
|
128
|
+
});
|
|
129
|
+
var zCreateConfiguredModelRequest = z.object({
|
|
130
|
+
name: z.string().min(1),
|
|
131
|
+
provider_model_slug: z.string().min(1),
|
|
132
|
+
context_window_tokens: z.int().gte(2).lte(2147483647),
|
|
133
|
+
max_output_tokens: z.int().gte(1).lte(2147483647).optional(),
|
|
134
|
+
default_max_output_tokens: z.int().gte(1).lte(2147483647).optional(),
|
|
135
|
+
default_cache_retention: zModelCacheRetention.optional(),
|
|
136
|
+
supports_tools: z.boolean().optional().default(true),
|
|
137
|
+
supports_reasoning: z.boolean().optional().default(false),
|
|
138
|
+
default_reasoning_effort: z.string().optional(),
|
|
139
|
+
supported_reasoning_efforts: z.array(z.string()).optional(),
|
|
140
|
+
input_modalities: z.array(z.string()).optional(),
|
|
141
|
+
output_modalities: z.array(z.string()).optional(),
|
|
142
|
+
api_variant_options: zModelApiVariantOptions.optional()
|
|
143
|
+
});
|
|
144
|
+
var zUpdateConfiguredModelRequest = z.object({
|
|
145
|
+
name: z.string().min(1).optional(),
|
|
146
|
+
provider_model_slug: z.string().min(1).optional(),
|
|
147
|
+
context_window_tokens: z.int().gte(2).lte(2147483647).optional(),
|
|
148
|
+
max_output_tokens: z.int().gte(1).lte(2147483647).optional(),
|
|
149
|
+
default_max_output_tokens: z.int().gte(1).lte(2147483647).nullish(),
|
|
150
|
+
default_cache_retention: zModelCacheRetention.optional(),
|
|
151
|
+
supports_tools: z.boolean().optional(),
|
|
152
|
+
supports_reasoning: z.boolean().optional(),
|
|
153
|
+
default_reasoning_effort: z.string().optional(),
|
|
154
|
+
supported_reasoning_efforts: z.array(z.string()).optional(),
|
|
155
|
+
input_modalities: z.array(z.string()).optional(),
|
|
156
|
+
output_modalities: z.array(z.string()).optional(),
|
|
157
|
+
api_variant_options: zModelApiVariantOptions.optional()
|
|
158
|
+
});
|
|
159
|
+
var zCreateProjectModelGrantRequest = z.object({
|
|
160
|
+
configured_model_id: zConfiguredModelId,
|
|
161
|
+
context_window_tokens: z.int().gte(2).lte(2147483647).optional(),
|
|
162
|
+
max_output_tokens: z.int().gte(1).lte(2147483647).optional(),
|
|
163
|
+
default_max_output_tokens: z.int().gte(1).lte(2147483647).optional(),
|
|
164
|
+
default_cache_retention: zModelCacheRetention.optional(),
|
|
165
|
+
supports_tools: z.boolean().optional(),
|
|
166
|
+
supports_reasoning: z.boolean().optional(),
|
|
167
|
+
default_reasoning_effort: z.string().optional(),
|
|
168
|
+
supported_reasoning_efforts: z.array(z.string()).optional(),
|
|
169
|
+
input_modalities: z.array(z.string()).optional(),
|
|
170
|
+
output_modalities: z.array(z.string()).optional()
|
|
171
|
+
});
|
|
172
|
+
var zUpdateProjectModelGrantRequest = z.object({
|
|
173
|
+
context_window_tokens: z.int().gte(1).nullish(),
|
|
174
|
+
max_output_tokens: z.int().gte(1).nullish(),
|
|
175
|
+
default_max_output_tokens: z.int().gte(1).nullish(),
|
|
176
|
+
default_cache_retention: zModelCacheRetention.nullish(),
|
|
177
|
+
supports_tools: z.boolean().nullish(),
|
|
178
|
+
supports_reasoning: z.boolean().nullish(),
|
|
179
|
+
default_reasoning_effort: z.string().nullish(),
|
|
180
|
+
supported_reasoning_efforts: z.array(z.string()).optional(),
|
|
181
|
+
input_modalities: z.array(z.string()).optional(),
|
|
182
|
+
output_modalities: z.array(z.string()).optional()
|
|
183
|
+
});
|
|
184
|
+
var zMachinePoolId = z.string().regex(/^mpo_[a-z2-7]{26}$/);
|
|
185
|
+
var zMachineId = z.string().regex(/^mch_[a-z2-7]{26}$/);
|
|
186
|
+
var zProjectMachineGrantId = z.string().regex(/^pmg_[a-z2-7]{26}$/);
|
|
187
|
+
var zProjectMachinePoolGrantId = z.string().regex(/^pmpg_[a-z2-7]{26}$/);
|
|
188
|
+
var zMachineDaemonTokenId = z.string().regex(/^mdt_[a-z2-7]{26}$/);
|
|
189
|
+
var zSkillId = z.string().regex(/^skl_[a-z2-7]{26}$/);
|
|
190
|
+
var zSkillRevisionId = z.string().regex(/^skr_[a-z2-7]{26}$/);
|
|
191
|
+
var zSkillGrantId = z.string().regex(/^skg_[a-z2-7]{26}$/);
|
|
192
|
+
var zSecretId = z.string().regex(/^sec_[a-z2-7]{26}$/);
|
|
193
|
+
var zCreateModelProviderConfigRequest = z.object({
|
|
194
|
+
name: z.string().min(1),
|
|
195
|
+
preset: z.enum([
|
|
196
|
+
"openai",
|
|
197
|
+
"openrouter",
|
|
198
|
+
"anthropic"
|
|
199
|
+
]).optional(),
|
|
200
|
+
api_format: zModelApiFormat.optional(),
|
|
201
|
+
api_variant: zModelProviderApiVariant.optional(),
|
|
202
|
+
base_url: z.string().min(1).optional(),
|
|
203
|
+
endpoint_path: z.string().min(1).regex(/^\//).optional(),
|
|
204
|
+
request_timeout_ms: z.int().gte(1).lte(2147483647).optional(),
|
|
205
|
+
auth_kind: zModelProviderAuthKind.optional(),
|
|
206
|
+
auth_options: z.object({
|
|
207
|
+
header_name: z.string().min(1).optional()
|
|
208
|
+
}).optional(),
|
|
209
|
+
credential_secret_id: zSecretId
|
|
210
|
+
});
|
|
211
|
+
var zUpdateModelProviderConfigRequest = z.object({
|
|
212
|
+
base_url: z.string().min(1).optional(),
|
|
213
|
+
endpoint_path: z.string().min(1).regex(/^\//).optional(),
|
|
214
|
+
request_timeout_ms: z.int().gte(1).lte(2147483647).optional(),
|
|
215
|
+
auth_kind: zModelProviderAuthKind.optional(),
|
|
216
|
+
auth_options: z.object({
|
|
217
|
+
header_name: z.string().min(1).optional()
|
|
218
|
+
}).optional(),
|
|
219
|
+
credential_secret_id: zSecretId.optional()
|
|
220
|
+
});
|
|
221
|
+
var zSecretGrantId = z.string().regex(/^sgr_[a-z2-7]{26}$/);
|
|
222
|
+
var zDaemonRuntimeId = z.string().regex(/^drt_[a-z2-7]{26}$/);
|
|
223
|
+
var zProcessId = z.string().regex(/^prc_[a-z2-7]{26}$/);
|
|
224
|
+
var zProcessActionId = z.string().regex(/^pac_[a-z2-7]{26}$/);
|
|
225
|
+
var zInstallationId = z.string().regex(/^inst_[a-z2-7]{26}$/);
|
|
226
|
+
var zUserId = z.string().regex(/^usr_[a-z2-7]{26}$/);
|
|
227
|
+
var zTimestamp = z.iso.datetime({ offset: true });
|
|
228
|
+
var zModelProviderConfig = z.object({
|
|
229
|
+
id: zModelProviderConfigId,
|
|
230
|
+
org_id: zOrganizationId,
|
|
231
|
+
management_kind: zManagementKind,
|
|
232
|
+
name: z.string(),
|
|
233
|
+
api_format: zModelApiFormat,
|
|
234
|
+
api_variant: zModelProviderApiVariantResponse,
|
|
235
|
+
base_url: z.string(),
|
|
236
|
+
endpoint_path: z.string(),
|
|
237
|
+
request_timeout_ms: z.int(),
|
|
238
|
+
auth_kind: zModelProviderAuthKind,
|
|
239
|
+
auth_options: z.object({
|
|
240
|
+
header_name: z.string().min(1).optional()
|
|
241
|
+
}),
|
|
242
|
+
credential_secret_id: zSecretId,
|
|
243
|
+
created_at: zTimestamp,
|
|
244
|
+
updated_at: zTimestamp
|
|
245
|
+
});
|
|
246
|
+
var zCreateModelProviderConfigResponse = z.object({
|
|
247
|
+
config: zModelProviderConfig,
|
|
248
|
+
model_catalog: zModelCatalog
|
|
249
|
+
});
|
|
250
|
+
var zModelProviderConfigList = z.object({
|
|
251
|
+
data: z.array(zModelProviderConfig),
|
|
252
|
+
next_cursor: z.string().nullable()
|
|
253
|
+
});
|
|
254
|
+
var zConfiguredModel = z.object({
|
|
255
|
+
id: zConfiguredModelId,
|
|
256
|
+
org_id: zOrganizationId,
|
|
257
|
+
model_provider_config_id: zModelProviderConfigId,
|
|
258
|
+
management_kind: zManagementKind,
|
|
259
|
+
name: z.string(),
|
|
260
|
+
current_revision_id: zConfiguredModelRevisionId,
|
|
261
|
+
provider_model_slug: z.string(),
|
|
262
|
+
context_window_tokens: z.int(),
|
|
263
|
+
max_output_tokens: z.int(),
|
|
264
|
+
default_max_output_tokens: z.int().nullish(),
|
|
265
|
+
default_cache_retention: zModelCacheRetention,
|
|
266
|
+
supports_tools: z.boolean(),
|
|
267
|
+
supports_reasoning: z.boolean(),
|
|
268
|
+
default_reasoning_effort: z.string(),
|
|
269
|
+
supported_reasoning_efforts: z.array(z.string()),
|
|
270
|
+
input_modalities: z.array(z.string()),
|
|
271
|
+
output_modalities: z.array(z.string()),
|
|
272
|
+
api_variant_options: zModelApiVariantOptions,
|
|
273
|
+
created_at: zTimestamp,
|
|
274
|
+
updated_at: zTimestamp,
|
|
275
|
+
revision_created_at: zTimestamp
|
|
276
|
+
});
|
|
277
|
+
var zConfiguredModelList = z.object({
|
|
278
|
+
data: z.array(zConfiguredModel),
|
|
279
|
+
next_cursor: z.string().nullable()
|
|
280
|
+
});
|
|
281
|
+
var zProjectModelGrant = z.object({
|
|
282
|
+
id: zProjectModelGrantId,
|
|
283
|
+
org_id: zOrganizationId,
|
|
284
|
+
project_id: zProjectId,
|
|
285
|
+
configured_model_id: zConfiguredModelId,
|
|
286
|
+
context_window_tokens: z.int().nullish(),
|
|
287
|
+
max_output_tokens: z.int().nullish(),
|
|
288
|
+
default_max_output_tokens: z.int().nullish(),
|
|
289
|
+
default_cache_retention: zModelCacheRetention.optional(),
|
|
290
|
+
supports_tools: z.boolean().nullish(),
|
|
291
|
+
supports_reasoning: z.boolean().nullish(),
|
|
292
|
+
default_reasoning_effort: z.string().optional(),
|
|
293
|
+
supported_reasoning_efforts: z.array(z.string()),
|
|
294
|
+
input_modalities: z.array(z.string()),
|
|
295
|
+
output_modalities: z.array(z.string()),
|
|
296
|
+
created_at: zTimestamp,
|
|
297
|
+
updated_at: zTimestamp
|
|
298
|
+
});
|
|
299
|
+
var zProjectModelGrantEnvelope = z.object({
|
|
300
|
+
grant: zProjectModelGrant
|
|
301
|
+
});
|
|
302
|
+
var zConfiguredModelSummary = z.object({
|
|
303
|
+
id: zConfiguredModelId,
|
|
304
|
+
org_id: zOrganizationId,
|
|
305
|
+
model_provider_config_id: zModelProviderConfigId,
|
|
306
|
+
name: z.string(),
|
|
307
|
+
provider_config: z.string(),
|
|
308
|
+
created_at: zTimestamp,
|
|
309
|
+
updated_at: zTimestamp
|
|
310
|
+
});
|
|
311
|
+
var zProjectModelGrantListItem = z.object({
|
|
312
|
+
grant: zProjectModelGrant,
|
|
313
|
+
model: zConfiguredModelSummary
|
|
314
|
+
});
|
|
315
|
+
var zListProjectModelGrantsResponse = z.object({
|
|
316
|
+
data: z.array(zProjectModelGrantListItem),
|
|
317
|
+
next_cursor: z.string().nullable()
|
|
318
|
+
});
|
|
319
|
+
var zOrgSkillOwnerInput = z.object({
|
|
320
|
+
kind: z.enum(["org"])
|
|
321
|
+
});
|
|
322
|
+
var zProjectSkillOwnerInput = z.object({
|
|
323
|
+
kind: z.enum(["project"]),
|
|
324
|
+
project_id: zProjectId
|
|
325
|
+
});
|
|
326
|
+
var zUserSkillOwnerInput = z.object({
|
|
327
|
+
kind: z.enum(["user"])
|
|
328
|
+
});
|
|
329
|
+
var zSkillOwnerInput = z.discriminatedUnion("kind", [
|
|
330
|
+
zOrgSkillOwnerInput.extend({ kind: z.literal("org") }),
|
|
331
|
+
zProjectSkillOwnerInput.extend({ kind: z.literal("project") }),
|
|
332
|
+
zUserSkillOwnerInput.extend({ kind: z.literal("user") })
|
|
333
|
+
]);
|
|
334
|
+
var zOrgSkillOwner = z.object({
|
|
335
|
+
kind: z.enum(["org"])
|
|
336
|
+
});
|
|
337
|
+
var zProjectSkillOwner = z.object({
|
|
338
|
+
kind: z.enum(["project"]),
|
|
339
|
+
project_id: zProjectId
|
|
340
|
+
});
|
|
341
|
+
var zUserSkillOwner = z.object({
|
|
342
|
+
kind: z.enum(["user"]),
|
|
343
|
+
user_id: zUserId
|
|
344
|
+
});
|
|
345
|
+
var zSkillOwner = z.discriminatedUnion("kind", [
|
|
346
|
+
zOrgSkillOwner.extend({ kind: z.literal("org") }),
|
|
347
|
+
zProjectSkillOwner.extend({ kind: z.literal("project") }),
|
|
348
|
+
zUserSkillOwner.extend({ kind: z.literal("user") })
|
|
349
|
+
]);
|
|
350
|
+
var zCreateSkillRequest = z.object({
|
|
351
|
+
owner: zSkillOwnerInput,
|
|
352
|
+
archive: z.string()
|
|
353
|
+
});
|
|
354
|
+
var zSkill = z.object({
|
|
355
|
+
id: zSkillId,
|
|
356
|
+
org_id: zOrganizationId,
|
|
357
|
+
owner: zSkillOwner,
|
|
358
|
+
name: z.string(),
|
|
359
|
+
revision_id: zSkillRevisionId,
|
|
360
|
+
revision: z.int().gte(1).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
361
|
+
description: z.string(),
|
|
362
|
+
skill_md: z.string().optional(),
|
|
363
|
+
created_at: zTimestamp,
|
|
364
|
+
updated_at: zTimestamp
|
|
365
|
+
});
|
|
366
|
+
var zListSkillsResponse = z.object({
|
|
367
|
+
data: z.array(zSkill),
|
|
368
|
+
next_cursor: z.string().nullable()
|
|
369
|
+
});
|
|
370
|
+
var zDirectSkillAvailability = z.object({
|
|
371
|
+
source: z.enum(["direct"])
|
|
372
|
+
});
|
|
373
|
+
var zGrantedSkillAvailability = z.object({
|
|
374
|
+
source: z.enum(["grant"]),
|
|
375
|
+
grant_id: zSkillGrantId
|
|
376
|
+
});
|
|
377
|
+
var zSkillAvailability = z.discriminatedUnion("source", [
|
|
378
|
+
zDirectSkillAvailability.extend({ source: z.literal("direct") }),
|
|
379
|
+
zGrantedSkillAvailability.extend({ source: z.literal("grant") })
|
|
380
|
+
]);
|
|
381
|
+
var zProjectSkillAccess = z.object({
|
|
382
|
+
skill: zSkill,
|
|
383
|
+
project_id: zProjectId,
|
|
384
|
+
availability: zSkillAvailability
|
|
385
|
+
});
|
|
386
|
+
var zListProjectSkillAccessesResponse = z.object({
|
|
387
|
+
data: z.array(zProjectSkillAccess),
|
|
388
|
+
next_cursor: z.string().nullable()
|
|
389
|
+
});
|
|
390
|
+
var zSkillGrantCreateRequest = z.object({
|
|
391
|
+
target_project_id: zProjectId
|
|
392
|
+
});
|
|
393
|
+
var zSkillGrant = z.object({
|
|
394
|
+
id: zSkillGrantId,
|
|
395
|
+
org_id: zOrganizationId,
|
|
396
|
+
skill_id: zSkillId,
|
|
397
|
+
target_project_id: zProjectId,
|
|
398
|
+
created_at: zTimestamp
|
|
399
|
+
});
|
|
400
|
+
var zMcpoAuthStartMetadata = z.record(z.string(), z.string().max(512));
|
|
401
|
+
var zMcpoAuthStartResponse = z.object({
|
|
402
|
+
flow_id: zMcpoAuthFlowId,
|
|
403
|
+
authorization_url: z.url(),
|
|
404
|
+
expires_at: zTimestamp
|
|
405
|
+
});
|
|
406
|
+
var zCreateIntegrationOAuthSetupRequest = z.object({
|
|
407
|
+
provider: z.string().optional().default("slack"),
|
|
408
|
+
client_id: z.string().min(1),
|
|
409
|
+
client_secret: z.string().min(1),
|
|
410
|
+
signing_secret: z.string().min(1),
|
|
411
|
+
return_to: z.string().optional()
|
|
412
|
+
});
|
|
413
|
+
var zIntegrationInstall = z.object({
|
|
414
|
+
id: zIntegrationInstallId,
|
|
415
|
+
org_id: zOrganizationId,
|
|
416
|
+
project_id: zProjectId,
|
|
417
|
+
agent_profile_id: zAgentProfileId.optional(),
|
|
418
|
+
agent_id: zAgentId.optional(),
|
|
419
|
+
provider: z.string(),
|
|
420
|
+
integration_kind: z.string(),
|
|
421
|
+
connection_mode: z.string(),
|
|
422
|
+
state: z.enum(["active", "disabled"]),
|
|
423
|
+
provider_tenant_id: z.string(),
|
|
424
|
+
provider_account_ref: z.string(),
|
|
425
|
+
provider_agent_display_name: z.string(),
|
|
426
|
+
created_at: zTimestamp,
|
|
427
|
+
updated_at: zTimestamp
|
|
428
|
+
});
|
|
429
|
+
var zListIntegrationInstallsResponse = z.object({
|
|
430
|
+
data: z.array(zIntegrationInstall),
|
|
431
|
+
next_cursor: z.string().nullable()
|
|
432
|
+
});
|
|
433
|
+
var zIntegrationOAuthSetup = z.object({
|
|
434
|
+
provider: z.string(),
|
|
435
|
+
flow_id: zIntegrationOAuthFlowId,
|
|
436
|
+
oauth_url: z.url(),
|
|
437
|
+
redirect_uri: z.url(),
|
|
438
|
+
events_url: z.url(),
|
|
439
|
+
actions_url: z.url(),
|
|
440
|
+
expires_at: zTimestamp
|
|
441
|
+
});
|
|
442
|
+
var zSlackSetupIcon = z.object({
|
|
443
|
+
filename: z.string().optional(),
|
|
444
|
+
data_base64: z.string().min(1)
|
|
445
|
+
});
|
|
446
|
+
var zCreateSlackSetupRequest = z.object({
|
|
447
|
+
app_name: z.string().min(1).max(35),
|
|
448
|
+
app_configuration_token: z.string().min(1),
|
|
449
|
+
icon: zSlackSetupIcon.optional(),
|
|
450
|
+
return_to: z.string().optional()
|
|
451
|
+
});
|
|
452
|
+
var zSlackSetup = z.object({
|
|
453
|
+
provider: z.string(),
|
|
454
|
+
flow_id: zIntegrationOAuthFlowId,
|
|
455
|
+
slack_app_id: z.string(),
|
|
456
|
+
oauth_url: z.url(),
|
|
457
|
+
redirect_uri: z.url(),
|
|
458
|
+
events_url: z.url(),
|
|
459
|
+
actions_url: z.url(),
|
|
460
|
+
expires_at: zTimestamp
|
|
461
|
+
});
|
|
462
|
+
var zCreateAgentConfigRequest = z.object({
|
|
463
|
+
source: z.string().min(1),
|
|
464
|
+
source_format: z.enum(["yaml", "json"])
|
|
465
|
+
});
|
|
466
|
+
var zUpdateAgentConfigRequest = z.object({
|
|
467
|
+
source: z.string().min(1),
|
|
468
|
+
source_format: z.enum(["yaml", "json"]),
|
|
469
|
+
expected_current_config_id: zAgentConfigId.optional()
|
|
470
|
+
});
|
|
471
|
+
var zToolPermissionSelection = z.object({
|
|
472
|
+
mode: z.string(),
|
|
473
|
+
parameters: z.record(z.string(), z.unknown())
|
|
474
|
+
});
|
|
475
|
+
var zToolPermissionMode = z.object({
|
|
476
|
+
name: z.string(),
|
|
477
|
+
label: z.string(),
|
|
478
|
+
description: z.string(),
|
|
479
|
+
parameters_schema: z.record(z.string(), z.unknown())
|
|
480
|
+
});
|
|
481
|
+
var zToolPermissionProfile = z.object({
|
|
482
|
+
default_permission: zToolPermissionSelection,
|
|
483
|
+
permission_modes: z.array(zToolPermissionMode)
|
|
484
|
+
});
|
|
485
|
+
var zToolCatalogEntry = z.object({
|
|
486
|
+
name: z.string(),
|
|
487
|
+
description: z.string(),
|
|
488
|
+
default_permission: zToolPermissionSelection,
|
|
489
|
+
permission_modes: z.array(zToolPermissionMode)
|
|
490
|
+
});
|
|
491
|
+
var zToolCatalog = z.object({
|
|
492
|
+
built_in_tools: z.array(zToolCatalogEntry),
|
|
493
|
+
custom_tool_permissions: zToolPermissionProfile,
|
|
494
|
+
mcp_tool_permissions: zToolPermissionProfile
|
|
495
|
+
});
|
|
496
|
+
var zAgentConfigModel = z.object({
|
|
497
|
+
provider_config: z.string(),
|
|
498
|
+
name: z.string(),
|
|
499
|
+
provider_model_slug: z.string(),
|
|
500
|
+
configured_model_id: zConfiguredModelId,
|
|
501
|
+
current_revision_id: zConfiguredModelRevisionId,
|
|
502
|
+
api_format: zModelApiFormat,
|
|
503
|
+
api_variant: zModelProviderApiVariantResponse,
|
|
504
|
+
context_window_tokens: z.int(),
|
|
505
|
+
max_output_tokens: z.int(),
|
|
506
|
+
default_max_output_tokens: z.int().nullish(),
|
|
507
|
+
default_cache_retention: zModelCacheRetention,
|
|
508
|
+
supports_tools: z.boolean(),
|
|
509
|
+
supports_reasoning: z.boolean(),
|
|
510
|
+
default_reasoning_effort: z.string(),
|
|
511
|
+
supported_reasoning_efforts: z.array(z.string()),
|
|
512
|
+
input_modalities: z.array(z.string()),
|
|
513
|
+
output_modalities: z.array(z.string())
|
|
514
|
+
});
|
|
515
|
+
var zAgentConfig = z.object({
|
|
516
|
+
id: zAgentConfigId,
|
|
517
|
+
org_id: zOrganizationId,
|
|
518
|
+
project_id: zProjectId,
|
|
519
|
+
source: z.string().optional(),
|
|
520
|
+
source_format: z.enum(["yaml", "json"]).optional(),
|
|
521
|
+
compiler_version: z.string().optional(),
|
|
522
|
+
effective_definition_hash: z.string(),
|
|
523
|
+
model: zAgentConfigModel,
|
|
524
|
+
instruction_hash: z.string().optional(),
|
|
525
|
+
warnings: z.array(zWarning).min(1).optional(),
|
|
526
|
+
created_at: zTimestamp
|
|
527
|
+
});
|
|
528
|
+
var zCreateAgentProfileRequest = z.object({
|
|
529
|
+
name: z.string(),
|
|
530
|
+
config: zAgentConfigId
|
|
531
|
+
});
|
|
532
|
+
var zUpdateAgentProfileRequest = z.object({
|
|
533
|
+
config: zAgentConfigId,
|
|
534
|
+
expected_current_config_id: zAgentConfigId
|
|
535
|
+
});
|
|
536
|
+
var zRenameAgentProfileRequest = z.object({
|
|
537
|
+
name: z.string()
|
|
538
|
+
});
|
|
539
|
+
var zAgentProfile = z.object({
|
|
540
|
+
id: zAgentProfileId,
|
|
541
|
+
org_id: zOrganizationId,
|
|
542
|
+
project_id: zProjectId,
|
|
543
|
+
name: z.string(),
|
|
544
|
+
current_config_id: zAgentConfigId,
|
|
545
|
+
current_generation: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
546
|
+
current_config: zAgentConfig,
|
|
547
|
+
created_at: zTimestamp,
|
|
548
|
+
updated_at: zTimestamp
|
|
549
|
+
});
|
|
550
|
+
var zListAgentProfilesResponse = z.object({
|
|
551
|
+
data: z.array(zAgentProfile),
|
|
552
|
+
next_cursor: z.string().nullable()
|
|
553
|
+
});
|
|
554
|
+
var zAgentCronTriggerTarget = z.object({
|
|
555
|
+
type: z.enum(["agent"]),
|
|
556
|
+
agent_id: zAgentId
|
|
557
|
+
});
|
|
558
|
+
var zAgentProfileCronTriggerTarget = z.object({
|
|
559
|
+
type: z.enum(["profile"]),
|
|
560
|
+
agent_profile_id: zAgentProfileId
|
|
561
|
+
});
|
|
562
|
+
var zCronTriggerTarget = z.discriminatedUnion("type", [
|
|
563
|
+
zAgentCronTriggerTarget.extend({ type: z.literal("agent") }),
|
|
564
|
+
zAgentProfileCronTriggerTarget.extend({ type: z.literal("profile") })
|
|
565
|
+
]);
|
|
566
|
+
var zCronExpression = z.string().min(9).max(256);
|
|
567
|
+
var zCronTimezone = z.string().max(64).default("UTC");
|
|
568
|
+
var zCronMessageTemplate = z.string().max(65536);
|
|
569
|
+
var zCronTriggerFailureReport = z.object({
|
|
570
|
+
message: z.string(),
|
|
571
|
+
will_retry: z.boolean(),
|
|
572
|
+
failed_at: zTimestamp
|
|
573
|
+
});
|
|
574
|
+
var zCreateCronTriggerRequest = z.object({
|
|
575
|
+
name: z.string(),
|
|
576
|
+
target: zCronTriggerTarget,
|
|
577
|
+
cron: zCronExpression,
|
|
578
|
+
timezone: zCronTimezone.optional(),
|
|
579
|
+
message_template: zCronMessageTemplate,
|
|
580
|
+
enabled: z.boolean().optional().default(true)
|
|
581
|
+
});
|
|
582
|
+
var zUpdateCronTriggerRequest = z.object({
|
|
583
|
+
name: z.string().optional(),
|
|
584
|
+
cron: zCronExpression.optional(),
|
|
585
|
+
timezone: zCronTimezone.optional(),
|
|
586
|
+
message_template: zCronMessageTemplate.optional(),
|
|
587
|
+
enabled: z.boolean().optional()
|
|
588
|
+
});
|
|
589
|
+
var zCronTrigger = z.object({
|
|
590
|
+
id: zCronTriggerId,
|
|
591
|
+
org_id: zOrganizationId,
|
|
592
|
+
project_id: zProjectId,
|
|
593
|
+
name: z.string(),
|
|
594
|
+
target: zCronTriggerTarget,
|
|
595
|
+
cron: zCronExpression,
|
|
596
|
+
timezone: zCronTimezone,
|
|
597
|
+
message_template: zCronMessageTemplate,
|
|
598
|
+
enabled: z.boolean(),
|
|
599
|
+
last_fired_at: zTimestamp.nullable(),
|
|
600
|
+
next_fire_at: zTimestamp.nullable(),
|
|
601
|
+
failure_report: zCronTriggerFailureReport.nullable(),
|
|
602
|
+
created_at: zTimestamp,
|
|
603
|
+
updated_at: zTimestamp
|
|
604
|
+
});
|
|
605
|
+
var zListCronTriggersResponse = z.object({
|
|
606
|
+
data: z.array(zCronTrigger),
|
|
607
|
+
next_cursor: z.string().nullable()
|
|
608
|
+
});
|
|
609
|
+
var zCreateAgentRequest = z.object({
|
|
610
|
+
profile: zAgentProfileId.optional(),
|
|
611
|
+
config: zAgentConfigId,
|
|
612
|
+
name: z.string().optional(),
|
|
613
|
+
message: z.string().optional()
|
|
614
|
+
});
|
|
615
|
+
var zAgentModel = z.object({
|
|
616
|
+
provider_config: z.string(),
|
|
617
|
+
name: z.string()
|
|
618
|
+
});
|
|
619
|
+
var zIntegrationTarget = z.object({
|
|
620
|
+
provider: z.string(),
|
|
621
|
+
provider_ref: z.string(),
|
|
622
|
+
provider_ref_kind: z.string(),
|
|
623
|
+
display_name: z.string(),
|
|
624
|
+
provider_uri: z.url().optional()
|
|
625
|
+
});
|
|
626
|
+
var zAgent = z.object({
|
|
627
|
+
id: zAgentId,
|
|
628
|
+
org_id: zOrganizationId,
|
|
629
|
+
project_id: zProjectId,
|
|
630
|
+
agent_profile_id: zAgentProfileId.optional(),
|
|
631
|
+
state: z.enum(["active", "archived"]),
|
|
632
|
+
name: z.string(),
|
|
633
|
+
integration_target: zIntegrationTarget.optional(),
|
|
634
|
+
current_config_id: zAgentConfigId.optional(),
|
|
635
|
+
model: zAgentModel.optional(),
|
|
636
|
+
created_at: zTimestamp,
|
|
637
|
+
updated_at: zTimestamp,
|
|
638
|
+
archived_at: zTimestamp.optional()
|
|
639
|
+
});
|
|
640
|
+
var zAgentMcpConnection = z.object({
|
|
641
|
+
server_key: z.string(),
|
|
642
|
+
endpoint_url: z.string(),
|
|
643
|
+
state: z.enum([
|
|
644
|
+
"initializing",
|
|
645
|
+
"ready",
|
|
646
|
+
"failed",
|
|
647
|
+
"expired"
|
|
648
|
+
]),
|
|
649
|
+
protocol_version: z.string().optional(),
|
|
650
|
+
initialize_error: z.string(),
|
|
651
|
+
created_at: zTimestamp,
|
|
652
|
+
updated_at: zTimestamp
|
|
653
|
+
});
|
|
654
|
+
var zCurrentAgentResponse = z.object({
|
|
655
|
+
agent: zAgent
|
|
656
|
+
});
|
|
657
|
+
var zGetAgentResponse = z.object({
|
|
658
|
+
agent: zAgent,
|
|
659
|
+
machine_ids: z.array(zMachineId),
|
|
660
|
+
mcp_connections: z.array(zAgentMcpConnection)
|
|
661
|
+
});
|
|
662
|
+
var zListAgentsResponse = z.object({
|
|
663
|
+
data: z.array(zAgent),
|
|
664
|
+
next_cursor: z.string().nullable()
|
|
665
|
+
});
|
|
666
|
+
var zAgentInputKind = z.enum([
|
|
667
|
+
"content",
|
|
668
|
+
"control",
|
|
669
|
+
"interaction_response",
|
|
670
|
+
"config_change"
|
|
671
|
+
]);
|
|
672
|
+
var zAgentControlType = z.enum(["cancel_current"]);
|
|
673
|
+
var zAgentSequence = z.int().gte(1).lte(9007199254740991);
|
|
674
|
+
var zAgentSequenceCursor = z.int().gte(0).lte(9007199254740991);
|
|
675
|
+
var zAgentCount = z.int().gte(1).lte(9007199254740991);
|
|
676
|
+
var zModelStopReason = z.enum([
|
|
677
|
+
"end_turn",
|
|
678
|
+
"tool_use",
|
|
679
|
+
"max_tokens",
|
|
680
|
+
"refusal",
|
|
681
|
+
"content_filter",
|
|
682
|
+
"pause",
|
|
683
|
+
"context_window",
|
|
684
|
+
"unknown"
|
|
685
|
+
]);
|
|
686
|
+
var zModelOutputStopReason = z.enum([
|
|
687
|
+
"end_turn",
|
|
688
|
+
"tool_use",
|
|
689
|
+
"max_tokens",
|
|
690
|
+
"refusal",
|
|
691
|
+
"content_filter",
|
|
692
|
+
"error"
|
|
693
|
+
]);
|
|
694
|
+
var zAgentInputDeliveryMode = z.enum([
|
|
695
|
+
"queued",
|
|
696
|
+
"steering",
|
|
697
|
+
"immediate"
|
|
698
|
+
]);
|
|
699
|
+
var zCreateAgentInputDeliveryMode = z.enum(["queued", "steering"]);
|
|
700
|
+
var zAgentMachineBindingState = z.enum(["attached", "released"]);
|
|
701
|
+
var zAgentMachineBindingKind = z.enum(["explicit", "pool"]);
|
|
702
|
+
var zAgentMachineBinding = z.object({
|
|
703
|
+
id: zAgentMachineBindingId,
|
|
704
|
+
project_id: zProjectId,
|
|
705
|
+
agent_id: zAgentId,
|
|
706
|
+
machine_id: zMachineId,
|
|
707
|
+
machine_ref: z.string(),
|
|
708
|
+
binding_kind: zAgentMachineBindingKind,
|
|
709
|
+
state: zAgentMachineBindingState,
|
|
710
|
+
description: z.string(),
|
|
711
|
+
cwd: z.string(),
|
|
712
|
+
env_overlay: z.record(z.string(), z.string().nullable()),
|
|
713
|
+
secret_env_overlay: z.record(z.string(), zSecretId.nullable()),
|
|
714
|
+
created_at: zTimestamp,
|
|
715
|
+
updated_at: zTimestamp
|
|
716
|
+
});
|
|
717
|
+
var zMachineFailureReport = z.object({
|
|
718
|
+
stage: z.enum([
|
|
719
|
+
"startup_script",
|
|
720
|
+
"daemon_install",
|
|
721
|
+
"daemon_update",
|
|
722
|
+
"daemon_uninstall",
|
|
723
|
+
"daemon_uninstalled"
|
|
724
|
+
]),
|
|
725
|
+
exit_status: z.int().optional(),
|
|
726
|
+
output_tail: z.string(),
|
|
727
|
+
output_truncated: z.boolean(),
|
|
728
|
+
daemon_version: z.string().optional(),
|
|
729
|
+
target_version: z.string().optional(),
|
|
730
|
+
reported_at: zTimestamp
|
|
731
|
+
});
|
|
732
|
+
var zJsonBlob = z.unknown();
|
|
733
|
+
var zToolInput = z.record(z.string(), z.unknown());
|
|
734
|
+
var zMetadata = z.record(z.string(), z.string().max(512));
|
|
735
|
+
var zContentBlockMetadata = zMetadata;
|
|
736
|
+
var zTextContentBlock = z.object({
|
|
737
|
+
type: z.enum(["text"]),
|
|
738
|
+
text: z.string(),
|
|
739
|
+
metadata: zContentBlockMetadata.optional()
|
|
740
|
+
});
|
|
741
|
+
var zInlineMediaContentBlock = z.object({
|
|
742
|
+
type: z.enum(["media"]),
|
|
743
|
+
media_type: z.enum([
|
|
744
|
+
"image/png",
|
|
745
|
+
"image/jpeg",
|
|
746
|
+
"image/gif",
|
|
747
|
+
"image/webp",
|
|
748
|
+
"application/pdf",
|
|
749
|
+
"text/plain",
|
|
750
|
+
"text/markdown",
|
|
751
|
+
"text/csv",
|
|
752
|
+
"text/tab-separated-values",
|
|
753
|
+
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
754
|
+
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
|
|
755
|
+
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
|
756
|
+
]),
|
|
757
|
+
filename: z.string().max(255).optional(),
|
|
758
|
+
data: z.string().min(1),
|
|
759
|
+
metadata: zContentBlockMetadata.optional()
|
|
760
|
+
});
|
|
761
|
+
var zMediaRefContentBlock = z.object({
|
|
762
|
+
type: z.enum(["media_ref"]),
|
|
763
|
+
artifact_id: zArtifactId,
|
|
764
|
+
metadata: zContentBlockMetadata.optional()
|
|
765
|
+
});
|
|
766
|
+
var zReasoningContentBlock = z.object({
|
|
767
|
+
type: z.enum(["reasoning"]),
|
|
768
|
+
text: z.string(),
|
|
769
|
+
metadata: zContentBlockMetadata.optional()
|
|
770
|
+
});
|
|
771
|
+
var zErrorContentBlock = z.object({
|
|
772
|
+
type: z.enum(["error"]),
|
|
773
|
+
text: z.string(),
|
|
774
|
+
metadata: zContentBlockMetadata.optional()
|
|
775
|
+
});
|
|
776
|
+
var zStructuredDataContentBlock = z.object({
|
|
777
|
+
type: z.enum(["structured_data"]),
|
|
778
|
+
value: zJsonBlob,
|
|
779
|
+
metadata: zContentBlockMetadata.optional()
|
|
780
|
+
});
|
|
781
|
+
var zCreateAgentInputContentBlock = z.discriminatedUnion("type", [
|
|
782
|
+
zTextContentBlock.extend({ type: z.literal("text") }),
|
|
783
|
+
zInlineMediaContentBlock.extend({ type: z.literal("media") })
|
|
784
|
+
]);
|
|
785
|
+
var zAgentInputContentBlock = z.discriminatedUnion("type", [
|
|
786
|
+
zTextContentBlock.extend({ type: z.literal("text") }),
|
|
787
|
+
zMediaRefContentBlock.extend({ type: z.literal("media_ref") })
|
|
788
|
+
]);
|
|
789
|
+
var zToolResultContentBlock = z.discriminatedUnion("type", [
|
|
790
|
+
zTextContentBlock.extend({ type: z.literal("text") }),
|
|
791
|
+
zMediaRefContentBlock.extend({ type: z.literal("media_ref") }),
|
|
792
|
+
zStructuredDataContentBlock.extend({ type: z.literal("structured_data") })
|
|
793
|
+
]);
|
|
794
|
+
var zSubmitToolResultContentBlock = z.discriminatedUnion("type", [
|
|
795
|
+
zTextContentBlock.extend({ type: z.literal("text") }),
|
|
796
|
+
zInlineMediaContentBlock.extend({ type: z.literal("media") }),
|
|
797
|
+
zStructuredDataContentBlock.extend({ type: z.literal("structured_data") })
|
|
798
|
+
]);
|
|
799
|
+
var zAgentInput = z.object({
|
|
800
|
+
id: zAgentInputId,
|
|
801
|
+
agent_id: zAgentId,
|
|
802
|
+
state: z.string(),
|
|
803
|
+
delivery_mode: zAgentInputDeliveryMode,
|
|
804
|
+
input_kind: zAgentInputKind,
|
|
805
|
+
actor_id: zActorId.optional(),
|
|
806
|
+
content_blocks: z.array(zAgentInputContentBlock).optional(),
|
|
807
|
+
queued_at: zTimestamp
|
|
808
|
+
});
|
|
809
|
+
var zLaunchAgentResponse = z.object({
|
|
810
|
+
agent: zAgent,
|
|
811
|
+
agent_config: zAgentConfig,
|
|
812
|
+
machine_bindings: z.array(zAgentMachineBinding),
|
|
813
|
+
agent_input: zAgentInput.optional()
|
|
814
|
+
});
|
|
815
|
+
var zUpdateAgentConfigResponse = z.object({
|
|
816
|
+
agent_config: zAgentConfig,
|
|
817
|
+
agent_input: zAgentInput,
|
|
818
|
+
event_id: zAgentEventId
|
|
819
|
+
});
|
|
820
|
+
var zMachineMetadata = z.record(z.string(), z.string().max(512));
|
|
821
|
+
var zAgentInputEnvelope = z.object({
|
|
822
|
+
agent_input: zAgentInput
|
|
823
|
+
});
|
|
824
|
+
var zToolCallType = z.enum([
|
|
825
|
+
"built_in",
|
|
826
|
+
"custom",
|
|
827
|
+
"mcp"
|
|
828
|
+
]);
|
|
829
|
+
var zModelToolCallContentBlock = z.object({
|
|
830
|
+
type: z.enum(["tool_call"]),
|
|
831
|
+
tool_call_id: zToolCallId,
|
|
832
|
+
tool_type: zToolCallType,
|
|
833
|
+
name: z.string(),
|
|
834
|
+
input: zToolInput,
|
|
835
|
+
metadata: zContentBlockMetadata.optional()
|
|
836
|
+
});
|
|
837
|
+
var zModelOutputContentBlock = z.discriminatedUnion("type", [
|
|
838
|
+
zTextContentBlock.extend({ type: z.literal("text") }),
|
|
839
|
+
zMediaRefContentBlock.extend({ type: z.literal("media_ref") }),
|
|
840
|
+
zReasoningContentBlock.extend({ type: z.literal("reasoning") }),
|
|
841
|
+
zModelToolCallContentBlock.extend({ type: z.literal("tool_call") }),
|
|
842
|
+
zErrorContentBlock.extend({ type: z.literal("error") })
|
|
843
|
+
]);
|
|
844
|
+
var zToolCallState = z.enum([
|
|
845
|
+
"awaiting_authorization",
|
|
846
|
+
"awaiting_permission",
|
|
847
|
+
"ready",
|
|
848
|
+
"running",
|
|
849
|
+
"waiting",
|
|
850
|
+
"completed"
|
|
851
|
+
]);
|
|
852
|
+
var zToolCallOutcome = z.enum([
|
|
853
|
+
"succeeded",
|
|
854
|
+
"failed",
|
|
855
|
+
"denied",
|
|
856
|
+
"canceled"
|
|
857
|
+
]);
|
|
858
|
+
var zToolCall = z.object({
|
|
859
|
+
id: zToolCallId,
|
|
860
|
+
turn_id: zAgentTurnId,
|
|
861
|
+
provider_call_id: z.string(),
|
|
862
|
+
name: z.string(),
|
|
863
|
+
input: zToolInput,
|
|
864
|
+
type: zToolCallType,
|
|
865
|
+
state: zToolCallState,
|
|
866
|
+
outcome: zToolCallOutcome.optional(),
|
|
867
|
+
completed_at: zTimestamp.optional(),
|
|
868
|
+
created_at: zTimestamp
|
|
869
|
+
});
|
|
870
|
+
var zToolCallUpdate = z.object({
|
|
871
|
+
tool_call_id: zToolCallId,
|
|
872
|
+
state: zToolCallState
|
|
873
|
+
});
|
|
874
|
+
var zListToolCallsResponse = z.object({
|
|
875
|
+
data: z.array(zToolCall),
|
|
876
|
+
next_cursor: z.string().nullable()
|
|
877
|
+
});
|
|
878
|
+
var zSubmitToolCallResultRequest = z.object({
|
|
879
|
+
outcome: z.enum(["succeeded", "failed"]),
|
|
880
|
+
content_blocks: z.array(zSubmitToolResultContentBlock)
|
|
881
|
+
});
|
|
882
|
+
var zToolResult = z.object({
|
|
883
|
+
event_id: zAgentEventId,
|
|
884
|
+
agent_id: zAgentId,
|
|
885
|
+
tool_call_id: zToolCallId,
|
|
886
|
+
outcome: zToolCallOutcome,
|
|
887
|
+
content_blocks: z.array(zToolResultContentBlock),
|
|
888
|
+
created_at: zTimestamp
|
|
889
|
+
});
|
|
890
|
+
var zSubmitToolCallResultResponse = z.object({
|
|
891
|
+
tool_call: zToolCall,
|
|
892
|
+
tool_result: zToolResult
|
|
893
|
+
});
|
|
894
|
+
var zAgentInputEvent = z.object({
|
|
895
|
+
id: zAgentEventId,
|
|
896
|
+
org_id: zOrganizationId,
|
|
897
|
+
project_id: zProjectId,
|
|
898
|
+
agent_id: zAgentId,
|
|
899
|
+
turn_id: zAgentTurnId,
|
|
900
|
+
turn_sequence: zAgentSequence,
|
|
901
|
+
is_opening_event: z.boolean(),
|
|
902
|
+
sequence: zAgentSequence,
|
|
903
|
+
event_kind: z.enum(["agent_input"]),
|
|
904
|
+
agent_input_id: zAgentInputId,
|
|
905
|
+
input_kind: zAgentInputKind,
|
|
906
|
+
actor_id: zActorId.optional(),
|
|
907
|
+
input_idempotency_key: z.string().optional(),
|
|
908
|
+
control_type: zAgentControlType.optional(),
|
|
909
|
+
interaction_id: zAgentInteractionId.optional(),
|
|
910
|
+
agent_config_id: zAgentConfigId.optional(),
|
|
911
|
+
content_blocks: z.array(zAgentInputContentBlock),
|
|
912
|
+
created_at: zTimestamp
|
|
913
|
+
});
|
|
914
|
+
var zModelOutputEvent = z.object({
|
|
915
|
+
id: zAgentEventId,
|
|
916
|
+
org_id: zOrganizationId,
|
|
917
|
+
project_id: zProjectId,
|
|
918
|
+
agent_id: zAgentId,
|
|
919
|
+
turn_id: zAgentTurnId,
|
|
920
|
+
turn_sequence: zAgentSequence,
|
|
921
|
+
is_opening_event: z.literal(false),
|
|
922
|
+
sequence: zAgentSequence,
|
|
923
|
+
event_kind: z.enum(["model_output"]),
|
|
924
|
+
model_call_context_id: zModelCallContextId,
|
|
925
|
+
stop_reason: zModelOutputStopReason,
|
|
926
|
+
content_blocks: z.array(zModelOutputContentBlock),
|
|
927
|
+
created_at: zTimestamp
|
|
928
|
+
});
|
|
929
|
+
var zToolResultEvent = z.object({
|
|
930
|
+
id: zAgentEventId,
|
|
931
|
+
org_id: zOrganizationId,
|
|
932
|
+
project_id: zProjectId,
|
|
933
|
+
agent_id: zAgentId,
|
|
934
|
+
turn_id: zAgentTurnId,
|
|
935
|
+
turn_sequence: zAgentSequence,
|
|
936
|
+
is_opening_event: z.literal(false),
|
|
937
|
+
sequence: zAgentSequence,
|
|
938
|
+
event_kind: z.enum(["tool_result"]),
|
|
939
|
+
tool_call_id: zToolCallId,
|
|
940
|
+
outcome: zToolCallOutcome,
|
|
941
|
+
content_blocks: z.array(zToolResultContentBlock),
|
|
942
|
+
created_at: zTimestamp
|
|
943
|
+
});
|
|
944
|
+
var zContextCheckpointEvent = z.object({
|
|
945
|
+
id: zAgentEventId,
|
|
946
|
+
org_id: zOrganizationId,
|
|
947
|
+
project_id: zProjectId,
|
|
948
|
+
agent_id: zAgentId,
|
|
949
|
+
turn_id: zAgentTurnId,
|
|
950
|
+
turn_sequence: zAgentSequence,
|
|
951
|
+
is_opening_event: z.literal(false),
|
|
952
|
+
sequence: zAgentSequence,
|
|
953
|
+
event_kind: z.enum(["context_checkpoint"]),
|
|
954
|
+
context_checkpoint_id: zContextCheckpointId,
|
|
955
|
+
summarized_through_event_sequence: zAgentSequence,
|
|
956
|
+
summary: z.string(),
|
|
957
|
+
created_at: zTimestamp
|
|
958
|
+
});
|
|
959
|
+
var zAgentEvent = z.discriminatedUnion("event_kind", [
|
|
960
|
+
zAgentInputEvent.extend({ event_kind: z.literal("agent_input") }),
|
|
961
|
+
zModelOutputEvent.extend({ event_kind: z.literal("model_output") }),
|
|
962
|
+
zToolResultEvent.extend({ event_kind: z.literal("tool_result") }),
|
|
963
|
+
zContextCheckpointEvent.extend({ event_kind: z.literal("context_checkpoint") })
|
|
964
|
+
]);
|
|
965
|
+
var zModelOutputTextStreamBlock = z.object({
|
|
966
|
+
kind: z.enum(["text"])
|
|
967
|
+
});
|
|
968
|
+
var zModelOutputThinkingStreamBlock = z.object({
|
|
969
|
+
kind: z.enum(["thinking"])
|
|
970
|
+
});
|
|
971
|
+
var zModelOutputToolUseStreamBlock = z.object({
|
|
972
|
+
kind: z.enum(["tool_use"]),
|
|
973
|
+
tool_call_id: zToolCallId,
|
|
974
|
+
tool_name: z.string()
|
|
975
|
+
});
|
|
976
|
+
var zModelOutputStreamBlock = z.discriminatedUnion("kind", [
|
|
977
|
+
zModelOutputTextStreamBlock.extend({ kind: z.literal("text") }),
|
|
978
|
+
zModelOutputThinkingStreamBlock.extend({ kind: z.literal("thinking") }),
|
|
979
|
+
zModelOutputToolUseStreamBlock.extend({ kind: z.literal("tool_use") })
|
|
980
|
+
]);
|
|
981
|
+
var zModelOutputBlockStartDelta = z.object({
|
|
982
|
+
kind: z.enum(["block_start"]),
|
|
983
|
+
block_index: z.int().gte(0),
|
|
984
|
+
block: zModelOutputStreamBlock
|
|
985
|
+
});
|
|
986
|
+
var zModelOutputTextDelta = z.object({
|
|
987
|
+
kind: z.enum(["text_delta"]),
|
|
988
|
+
block_index: z.int().gte(0),
|
|
989
|
+
delta: z.string()
|
|
990
|
+
});
|
|
991
|
+
var zModelOutputThinkingDelta = z.object({
|
|
992
|
+
kind: z.enum(["thinking_delta"]),
|
|
993
|
+
block_index: z.int().gte(0),
|
|
994
|
+
delta: z.string()
|
|
995
|
+
});
|
|
996
|
+
var zModelOutputToolArgumentsDelta = z.object({
|
|
997
|
+
kind: z.enum(["tool_arguments_delta"]),
|
|
998
|
+
block_index: z.int().gte(0),
|
|
999
|
+
delta: z.string()
|
|
1000
|
+
});
|
|
1001
|
+
var zModelOutputBlockStopDelta = z.object({
|
|
1002
|
+
kind: z.enum(["block_stop"]),
|
|
1003
|
+
block_index: z.int().gte(0)
|
|
1004
|
+
});
|
|
1005
|
+
var zModelUsage = z.object({
|
|
1006
|
+
input_tokens_total: z.int().gte(0).optional(),
|
|
1007
|
+
uncached_input_tokens: z.int().gte(0).optional(),
|
|
1008
|
+
output_tokens_total: z.int().gte(0).optional(),
|
|
1009
|
+
reasoning_output_tokens: z.int().gte(0).optional(),
|
|
1010
|
+
cache_read_input_tokens: z.int().gte(0).optional(),
|
|
1011
|
+
cache_write_input_tokens: z.int().gte(0).optional()
|
|
1012
|
+
});
|
|
1013
|
+
var zModelOutputMessageStopDelta = z.object({
|
|
1014
|
+
kind: z.enum(["message_stop"]),
|
|
1015
|
+
stop: z.object({
|
|
1016
|
+
reason: zModelStopReason,
|
|
1017
|
+
usage: zModelUsage
|
|
1018
|
+
})
|
|
1019
|
+
});
|
|
1020
|
+
var zModelOutputErrorDelta = z.object({
|
|
1021
|
+
kind: z.enum(["error"]),
|
|
1022
|
+
error: z.object({
|
|
1023
|
+
message: z.string()
|
|
1024
|
+
})
|
|
1025
|
+
});
|
|
1026
|
+
var zModelOutputStreamDelta = z.discriminatedUnion("kind", [
|
|
1027
|
+
zModelOutputBlockStartDelta.extend({ kind: z.literal("block_start") }),
|
|
1028
|
+
zModelOutputTextDelta.extend({ kind: z.literal("text_delta") }),
|
|
1029
|
+
zModelOutputThinkingDelta.extend({ kind: z.literal("thinking_delta") }),
|
|
1030
|
+
zModelOutputToolArgumentsDelta.extend({ kind: z.literal("tool_arguments_delta") }),
|
|
1031
|
+
zModelOutputBlockStopDelta.extend({ kind: z.literal("block_stop") }),
|
|
1032
|
+
zModelOutputMessageStopDelta.extend({ kind: z.literal("message_stop") }),
|
|
1033
|
+
zModelOutputErrorDelta.extend({ kind: z.literal("error") })
|
|
1034
|
+
]);
|
|
1035
|
+
var zModelOutputDelta = z.object({
|
|
1036
|
+
turn_id: zAgentTurnId,
|
|
1037
|
+
model_call_context_id: zModelCallContextId,
|
|
1038
|
+
seq: zAgentSequence,
|
|
1039
|
+
source_seq_start: zAgentSequence,
|
|
1040
|
+
source_seq_end: zAgentSequence,
|
|
1041
|
+
coalesced_count: zAgentCount,
|
|
1042
|
+
event: zModelOutputStreamDelta
|
|
1043
|
+
});
|
|
1044
|
+
var zAgentEventStreamData = z.union([
|
|
1045
|
+
zAgentEvent,
|
|
1046
|
+
zToolCallUpdate,
|
|
1047
|
+
zModelOutputDelta,
|
|
1048
|
+
zError
|
|
1049
|
+
]);
|
|
1050
|
+
var zListAgentEventsResponse = z.object({
|
|
1051
|
+
data: z.array(zAgentEvent),
|
|
1052
|
+
next_after_sequence: zAgentSequenceCursor,
|
|
1053
|
+
next_before_sequence: zAgentSequenceCursor.nullish(),
|
|
1054
|
+
has_more: z.boolean()
|
|
1055
|
+
});
|
|
1056
|
+
var zListTurnEventsResponse = z.object({
|
|
1057
|
+
data: z.array(zAgentEvent),
|
|
1058
|
+
next_before_sequence: zAgentSequenceCursor.nullable()
|
|
1059
|
+
});
|
|
1060
|
+
var zAgentTurn = z.object({
|
|
1061
|
+
id: zAgentTurnId,
|
|
1062
|
+
agent_id: zAgentId,
|
|
1063
|
+
turn_sequence: zAgentSequence,
|
|
1064
|
+
event_count: zAgentCount,
|
|
1065
|
+
opening_events: z.array(zAgentEvent),
|
|
1066
|
+
latest_event: zAgentEvent.optional(),
|
|
1067
|
+
latest_semantic_event: zAgentEvent.optional(),
|
|
1068
|
+
started_at: zTimestamp,
|
|
1069
|
+
updated_at: zTimestamp
|
|
1070
|
+
});
|
|
1071
|
+
var zListAgentTurnsResponse = z.object({
|
|
1072
|
+
data: z.array(zAgentTurn),
|
|
1073
|
+
next_before_turn_sequence: zAgentSequenceCursor.nullable()
|
|
1074
|
+
});
|
|
1075
|
+
var zCancelAgentResponse = z.object({
|
|
1076
|
+
event: zAgentEvent.nullable(),
|
|
1077
|
+
runtime_cancel_requested: z.boolean(),
|
|
1078
|
+
affected: z.boolean(),
|
|
1079
|
+
actor_id: zActorId.optional()
|
|
1080
|
+
});
|
|
1081
|
+
var zOkResponse = z.object({
|
|
1082
|
+
ok: z.boolean()
|
|
1083
|
+
});
|
|
1084
|
+
var zMoveQueuedBacklogInputRequest = z.object({
|
|
1085
|
+
position: z.enum([
|
|
1086
|
+
"front",
|
|
1087
|
+
"back",
|
|
1088
|
+
"before",
|
|
1089
|
+
"after"
|
|
1090
|
+
]),
|
|
1091
|
+
anchor_input_id: zAgentInputId.optional()
|
|
1092
|
+
});
|
|
1093
|
+
var zPromoteQueuedInputToSteeringRequest = z.object({
|
|
1094
|
+
cancel_open_interactions: z.boolean().optional()
|
|
1095
|
+
});
|
|
1096
|
+
var zListAgentInputsResponse = z.object({
|
|
1097
|
+
data: z.array(zAgentInput),
|
|
1098
|
+
next_cursor: z.string().nullable()
|
|
1099
|
+
});
|
|
1100
|
+
var zInteractionFormContextItem = z.object({
|
|
1101
|
+
label: z.string().min(1),
|
|
1102
|
+
value: z.string().min(1)
|
|
1103
|
+
});
|
|
1104
|
+
var zInteractionFormOption = z.object({
|
|
1105
|
+
label: z.string().min(1),
|
|
1106
|
+
allows_text: z.boolean().optional().default(false)
|
|
1107
|
+
});
|
|
1108
|
+
var zInteractionFormQuestion = z.object({
|
|
1109
|
+
prompt: z.string().min(1),
|
|
1110
|
+
multiple: z.boolean().optional().default(false),
|
|
1111
|
+
options: z.array(zInteractionFormOption).min(1)
|
|
1112
|
+
});
|
|
1113
|
+
var zInteractionForm = z.object({
|
|
1114
|
+
title: z.string().min(1),
|
|
1115
|
+
context: z.array(zInteractionFormContextItem).optional(),
|
|
1116
|
+
questions: z.array(zInteractionFormQuestion).min(1)
|
|
1117
|
+
});
|
|
1118
|
+
var zInteractionAnswer = z.object({
|
|
1119
|
+
option_indices: z.array(z.int().gte(0)).min(1),
|
|
1120
|
+
text: z.string().optional()
|
|
1121
|
+
});
|
|
1122
|
+
var zInteractionResolution = z.object({
|
|
1123
|
+
answers: z.array(zInteractionAnswer).min(1)
|
|
1124
|
+
});
|
|
1125
|
+
var zAgentInteractionKind = z.enum(["permission", "question"]);
|
|
1126
|
+
var zAgentInteractionState = z.enum([
|
|
1127
|
+
"open",
|
|
1128
|
+
"resolved",
|
|
1129
|
+
"canceled"
|
|
1130
|
+
]);
|
|
1131
|
+
var zAgentInteraction = z.object({
|
|
1132
|
+
id: zAgentInteractionId,
|
|
1133
|
+
org_id: zOrganizationId,
|
|
1134
|
+
project_id: zProjectId,
|
|
1135
|
+
agent_id: zAgentId,
|
|
1136
|
+
interaction_kind: zAgentInteractionKind,
|
|
1137
|
+
state: zAgentInteractionState,
|
|
1138
|
+
request: zInteractionForm,
|
|
1139
|
+
resolution: zInteractionResolution.optional(),
|
|
1140
|
+
resolved_by_input_id: zAgentInputId.optional(),
|
|
1141
|
+
created_at: zTimestamp,
|
|
1142
|
+
resolved_at: zTimestamp.optional()
|
|
1143
|
+
});
|
|
1144
|
+
var zActorProvider = z.enum([
|
|
1145
|
+
"omnara",
|
|
1146
|
+
"slack",
|
|
1147
|
+
"external"
|
|
1148
|
+
]);
|
|
1149
|
+
var zActor = z.object({
|
|
1150
|
+
id: zActorId,
|
|
1151
|
+
org_id: zOrganizationId,
|
|
1152
|
+
project_id: zProjectId,
|
|
1153
|
+
provider: zActorProvider,
|
|
1154
|
+
provider_tenant_id: z.string().optional(),
|
|
1155
|
+
provider_user_id: z.string(),
|
|
1156
|
+
display_name: z.string().optional(),
|
|
1157
|
+
metadata: zMetadata,
|
|
1158
|
+
created_at: zTimestamp,
|
|
1159
|
+
updated_at: zTimestamp
|
|
1160
|
+
});
|
|
1161
|
+
var zExternalActorParams = z.object({
|
|
1162
|
+
provider_tenant_id: z.string().min(1).max(128).optional(),
|
|
1163
|
+
provider_user_id: z.string().min(1).max(128),
|
|
1164
|
+
display_name: z.string().max(256).optional(),
|
|
1165
|
+
metadata: zMetadata.optional()
|
|
1166
|
+
});
|
|
1167
|
+
var zCreateAgentInputRequest = z.object({
|
|
1168
|
+
content_blocks: z.array(zCreateAgentInputContentBlock),
|
|
1169
|
+
delivery_mode: zCreateAgentInputDeliveryMode.optional(),
|
|
1170
|
+
cancel_open_interactions: z.boolean().optional(),
|
|
1171
|
+
actor: zExternalActorParams.optional()
|
|
1172
|
+
});
|
|
1173
|
+
var zCancelAgentRequest = z.object({
|
|
1174
|
+
actor: zExternalActorParams.optional()
|
|
1175
|
+
});
|
|
1176
|
+
var zResolveAgentInteractionRequest = z.object({
|
|
1177
|
+
answers: z.array(zInteractionAnswer).min(1),
|
|
1178
|
+
actor: zExternalActorParams.optional()
|
|
1179
|
+
});
|
|
1180
|
+
var zListActorsResponse = z.object({
|
|
1181
|
+
data: z.array(zActor),
|
|
1182
|
+
next_cursor: z.string().nullable()
|
|
1183
|
+
});
|
|
1184
|
+
var zListAgentInteractionsResponse = z.object({
|
|
1185
|
+
data: z.array(zAgentInteraction),
|
|
1186
|
+
next_cursor: z.string().nullable()
|
|
1187
|
+
});
|
|
1188
|
+
var zOrgSecretOwnerInput = z.object({
|
|
1189
|
+
kind: z.enum(["org"])
|
|
1190
|
+
});
|
|
1191
|
+
var zProjectSecretOwnerInput = z.object({
|
|
1192
|
+
kind: z.enum(["project"]),
|
|
1193
|
+
project_id: zProjectId
|
|
1194
|
+
});
|
|
1195
|
+
var zUserSecretOwnerInput = z.object({
|
|
1196
|
+
kind: z.enum(["user"])
|
|
1197
|
+
});
|
|
1198
|
+
var zSecretOwnerInput = z.discriminatedUnion("kind", [
|
|
1199
|
+
zOrgSecretOwnerInput.extend({ kind: z.literal("org") }),
|
|
1200
|
+
zProjectSecretOwnerInput.extend({ kind: z.literal("project") }),
|
|
1201
|
+
zUserSecretOwnerInput.extend({ kind: z.literal("user") })
|
|
1202
|
+
]);
|
|
1203
|
+
var zMcpoAuthStartRequest = z.object({
|
|
1204
|
+
owner: zSecretOwnerInput,
|
|
1205
|
+
mcp_url: z.string().min(1),
|
|
1206
|
+
name: z.string().min(1),
|
|
1207
|
+
return_to: z.string().optional(),
|
|
1208
|
+
client_id: z.string().optional(),
|
|
1209
|
+
client_secret: z.string().optional(),
|
|
1210
|
+
scopes: z.array(z.string()).optional(),
|
|
1211
|
+
metadata: zMcpoAuthStartMetadata.optional()
|
|
1212
|
+
});
|
|
1213
|
+
var zOrgSecretOwner = z.object({
|
|
1214
|
+
kind: z.enum(["org"])
|
|
1215
|
+
});
|
|
1216
|
+
var zProjectSecretOwner = z.object({
|
|
1217
|
+
kind: z.enum(["project"]),
|
|
1218
|
+
project_id: zProjectId
|
|
1219
|
+
});
|
|
1220
|
+
var zUserSecretOwner = z.object({
|
|
1221
|
+
kind: z.enum(["user"]),
|
|
1222
|
+
user_id: zUserId
|
|
1223
|
+
});
|
|
1224
|
+
var zSecretOwner = z.discriminatedUnion("kind", [
|
|
1225
|
+
zOrgSecretOwner.extend({ kind: z.literal("org") }),
|
|
1226
|
+
zProjectSecretOwner.extend({ kind: z.literal("project") }),
|
|
1227
|
+
zUserSecretOwner.extend({ kind: z.literal("user") })
|
|
1228
|
+
]);
|
|
1229
|
+
var zGenericSecretMaterial = z.object({
|
|
1230
|
+
kind: z.enum(["generic"]),
|
|
1231
|
+
value: z.string().min(1)
|
|
1232
|
+
});
|
|
1233
|
+
var zOAuthRefreshSecretMaterial = z.object({
|
|
1234
|
+
refresh_token: z.string().min(1),
|
|
1235
|
+
token_endpoint: z.url().min(1),
|
|
1236
|
+
client_id: z.string().min(1),
|
|
1237
|
+
client_secret: z.string().min(1).optional(),
|
|
1238
|
+
resource: z.string().min(1)
|
|
1239
|
+
});
|
|
1240
|
+
var zOAuthTokenSetSecretMaterial = z.object({
|
|
1241
|
+
kind: z.enum(["oauth_token_set"]),
|
|
1242
|
+
access_token: z.string().min(1),
|
|
1243
|
+
access_token_expires_in_seconds: z.int().gte(1).lte(2147483647).optional(),
|
|
1244
|
+
refresh: zOAuthRefreshSecretMaterial.optional(),
|
|
1245
|
+
id_token: z.string().min(1).optional(),
|
|
1246
|
+
mcp_url: z.string().min(1).optional(),
|
|
1247
|
+
scopes: z.string().min(1).optional(),
|
|
1248
|
+
token_type: z.string().min(1).optional()
|
|
1249
|
+
});
|
|
1250
|
+
var zAwsCredentialsSecretMaterial = z.object({
|
|
1251
|
+
kind: z.enum(["aws_credentials"]),
|
|
1252
|
+
access_key_id: z.string().min(1),
|
|
1253
|
+
secret_access_key: z.string().min(1),
|
|
1254
|
+
session_token: z.string().min(1).optional(),
|
|
1255
|
+
role_arn: z.string().min(1).optional(),
|
|
1256
|
+
external_id: z.string().min(1).optional()
|
|
1257
|
+
});
|
|
1258
|
+
var zSecretMaterial = z.discriminatedUnion("kind", [
|
|
1259
|
+
zGenericSecretMaterial.extend({ kind: z.literal("generic") }),
|
|
1260
|
+
zOAuthTokenSetSecretMaterial.extend({ kind: z.literal("oauth_token_set") }),
|
|
1261
|
+
zAwsCredentialsSecretMaterial.extend({ kind: z.literal("aws_credentials") })
|
|
1262
|
+
]);
|
|
1263
|
+
var zCreateSecretRequest = z.object({
|
|
1264
|
+
owner: zSecretOwnerInput,
|
|
1265
|
+
name: z.string().min(1),
|
|
1266
|
+
metadata: zMetadata.optional(),
|
|
1267
|
+
material: zSecretMaterial
|
|
1268
|
+
});
|
|
1269
|
+
var zUpdateSecretRequest = z.object({
|
|
1270
|
+
name: z.string().min(1).optional(),
|
|
1271
|
+
metadata: zMetadata.optional()
|
|
1272
|
+
});
|
|
1273
|
+
var zSecretVersionRequest = z.object({
|
|
1274
|
+
material: zSecretMaterial
|
|
1275
|
+
});
|
|
1276
|
+
var zSecretGrantCreateRequest = z.object({
|
|
1277
|
+
target_project_id: zProjectId
|
|
1278
|
+
});
|
|
1279
|
+
var zSecretKind = z.enum([
|
|
1280
|
+
"generic",
|
|
1281
|
+
"oauth_token_set",
|
|
1282
|
+
"slack_app_credentials",
|
|
1283
|
+
"aws_credentials"
|
|
1284
|
+
]);
|
|
1285
|
+
var zSecret = z.object({
|
|
1286
|
+
id: zSecretId,
|
|
1287
|
+
org_id: zOrganizationId,
|
|
1288
|
+
management_kind: zManagementKind,
|
|
1289
|
+
owner: zSecretOwner,
|
|
1290
|
+
name: z.string(),
|
|
1291
|
+
kind: zSecretKind,
|
|
1292
|
+
metadata: zMetadata,
|
|
1293
|
+
current_version_number: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1294
|
+
payload_keys: z.array(z.string()),
|
|
1295
|
+
created_at: zTimestamp,
|
|
1296
|
+
updated_at: zTimestamp
|
|
1297
|
+
});
|
|
1298
|
+
var zListSecretsResponse = z.object({
|
|
1299
|
+
data: z.array(zSecret),
|
|
1300
|
+
next_cursor: z.string().nullable()
|
|
1301
|
+
});
|
|
1302
|
+
var zDirectSecretAvailability = z.object({
|
|
1303
|
+
source: z.enum(["direct"]),
|
|
1304
|
+
project_id: zProjectId
|
|
1305
|
+
});
|
|
1306
|
+
var zGrantedSecretAvailability = z.object({
|
|
1307
|
+
source: z.enum(["grant"]),
|
|
1308
|
+
project_id: zProjectId,
|
|
1309
|
+
grant_id: zSecretGrantId
|
|
1310
|
+
});
|
|
1311
|
+
var zSecretAvailability = z.discriminatedUnion("source", [
|
|
1312
|
+
zDirectSecretAvailability.extend({ source: z.literal("direct") }),
|
|
1313
|
+
zGrantedSecretAvailability.extend({ source: z.literal("grant") })
|
|
1314
|
+
]);
|
|
1315
|
+
var zProjectSecretAccess = z.object({
|
|
1316
|
+
secret: zSecret,
|
|
1317
|
+
availability: zSecretAvailability
|
|
1318
|
+
});
|
|
1319
|
+
var zListProjectSecretAccessesResponse = z.object({
|
|
1320
|
+
data: z.array(zProjectSecretAccess),
|
|
1321
|
+
next_cursor: z.string().nullable()
|
|
1322
|
+
});
|
|
1323
|
+
var zSecretGrant = z.object({
|
|
1324
|
+
id: zSecretGrantId,
|
|
1325
|
+
org_id: zOrganizationId,
|
|
1326
|
+
secret_id: zSecretId,
|
|
1327
|
+
target_project_id: zProjectId,
|
|
1328
|
+
created_at: zTimestamp
|
|
1329
|
+
});
|
|
1330
|
+
var zCreateOrganizationRequest = z.object({
|
|
1331
|
+
name: z.string().min(1)
|
|
1332
|
+
});
|
|
1333
|
+
var zOrganization = z.object({
|
|
1334
|
+
id: zOrganizationId,
|
|
1335
|
+
name: z.string(),
|
|
1336
|
+
created_at: zTimestamp,
|
|
1337
|
+
updated_at: zTimestamp
|
|
1338
|
+
});
|
|
1339
|
+
var zOrganizationMembership = z.object({
|
|
1340
|
+
org_id: zOrganizationId,
|
|
1341
|
+
user_id: zUserId,
|
|
1342
|
+
role: z.string(),
|
|
1343
|
+
created_at: zTimestamp
|
|
1344
|
+
});
|
|
1345
|
+
var zOrgInvitation = z.object({
|
|
1346
|
+
id: zOrgInvitationId,
|
|
1347
|
+
org_id: zOrganizationId,
|
|
1348
|
+
org_name: z.string(),
|
|
1349
|
+
email: z.email(),
|
|
1350
|
+
org_role: z.string(),
|
|
1351
|
+
created_at: zTimestamp
|
|
1352
|
+
});
|
|
1353
|
+
var zListOrgInvitationsResponse = z.object({
|
|
1354
|
+
data: z.array(zOrgInvitation),
|
|
1355
|
+
next_cursor: z.string().nullable()
|
|
1356
|
+
});
|
|
1357
|
+
var zCreateOrgInvitationRequest = z.object({
|
|
1358
|
+
email: z.email(),
|
|
1359
|
+
role: z.string()
|
|
1360
|
+
});
|
|
1361
|
+
var zCreatePersonalAccessTokenRequest = z.object({
|
|
1362
|
+
name: z.string().min(1)
|
|
1363
|
+
});
|
|
1364
|
+
var zPersonalAccessToken = z.object({
|
|
1365
|
+
id: zPersonalAccessTokenId,
|
|
1366
|
+
user_id: zUserId,
|
|
1367
|
+
name: z.string(),
|
|
1368
|
+
token_id: z.string(),
|
|
1369
|
+
created_at: zTimestamp,
|
|
1370
|
+
last_used_at: zTimestamp.nullable(),
|
|
1371
|
+
revoked_at: zTimestamp.nullable()
|
|
1372
|
+
});
|
|
1373
|
+
var zCreatePersonalAccessTokenResponse = z.object({
|
|
1374
|
+
token: z.string().min(1),
|
|
1375
|
+
token_record: zPersonalAccessToken
|
|
1376
|
+
});
|
|
1377
|
+
var zOrgApiKeyRole = z.enum(["admin", "member"]);
|
|
1378
|
+
var zOrgApiKey = z.object({
|
|
1379
|
+
id: zOrgApiKeyId,
|
|
1380
|
+
org_id: zOrganizationId,
|
|
1381
|
+
name: z.string(),
|
|
1382
|
+
token_id: z.string(),
|
|
1383
|
+
org_role: z.string(),
|
|
1384
|
+
created_by_user_id: zUserId,
|
|
1385
|
+
created_at: zTimestamp,
|
|
1386
|
+
updated_at: zTimestamp,
|
|
1387
|
+
last_used_at: zTimestamp.nullable(),
|
|
1388
|
+
revoked_at: zTimestamp.nullable()
|
|
1389
|
+
});
|
|
1390
|
+
var zCreateOrgApiKeyRequest = z.object({
|
|
1391
|
+
name: z.string().min(1),
|
|
1392
|
+
org_role: zOrgApiKeyRole
|
|
1393
|
+
});
|
|
1394
|
+
var zCreateOrgApiKeyResponse = z.object({
|
|
1395
|
+
token: z.string().min(1),
|
|
1396
|
+
api_key: zOrgApiKey
|
|
1397
|
+
});
|
|
1398
|
+
var zUpdateOrgApiKeyRequest = z.object({
|
|
1399
|
+
name: z.string().min(1).optional(),
|
|
1400
|
+
org_role: zOrgApiKeyRole.optional()
|
|
1401
|
+
});
|
|
1402
|
+
var zListOrgApiKeysResponse = z.object({
|
|
1403
|
+
data: z.array(zOrgApiKey),
|
|
1404
|
+
next_cursor: z.string().nullable()
|
|
1405
|
+
});
|
|
1406
|
+
var zArtifact = z.object({
|
|
1407
|
+
id: zArtifactId,
|
|
1408
|
+
org_id: zOrganizationId,
|
|
1409
|
+
project_id: zProjectId,
|
|
1410
|
+
agent_id: zAgentId,
|
|
1411
|
+
content_type: z.string().optional(),
|
|
1412
|
+
filename: z.string().optional(),
|
|
1413
|
+
digest: z.string().optional(),
|
|
1414
|
+
size_bytes: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional(),
|
|
1415
|
+
created_at: zTimestamp
|
|
1416
|
+
});
|
|
1417
|
+
var zCreateMachinePoolRequestBase = z.object({
|
|
1418
|
+
name: z.string().min(1),
|
|
1419
|
+
description: z.string().optional(),
|
|
1420
|
+
provider: z.string().min(1),
|
|
1421
|
+
default_machine_cpu: z.int().gte(1).lte(2147483647).optional(),
|
|
1422
|
+
default_machine_memory_mb: z.int().gte(1).lte(2147483647).optional(),
|
|
1423
|
+
default_machine_env: z.record(z.string(), z.string()).optional(),
|
|
1424
|
+
default_machine_secret_env: z.record(z.string(), zSecretId).optional(),
|
|
1425
|
+
default_machine_provider_options: z.record(z.string(), z.unknown()),
|
|
1426
|
+
default_cwd: z.string().optional(),
|
|
1427
|
+
provider_config: z.record(z.string(), z.unknown()).optional(),
|
|
1428
|
+
provider_auth_secret_id: zSecretId,
|
|
1429
|
+
runtime_protection_enabled: z.boolean().optional().default(false),
|
|
1430
|
+
max_total_machines: z.int().gte(0).lte(2147483647),
|
|
1431
|
+
max_total_cpu: z.int().gte(0).lte(2147483647).optional(),
|
|
1432
|
+
max_total_memory_mb: z.int().gte(0).lte(2147483647).optional(),
|
|
1433
|
+
min_machine_cpu: z.int().gte(0).lte(2147483647).optional(),
|
|
1434
|
+
min_machine_memory_mb: z.int().gte(0).lte(2147483647).optional(),
|
|
1435
|
+
max_machine_cpu: z.int().gte(1).lte(2147483647).optional(),
|
|
1436
|
+
max_machine_memory_mb: z.int().gte(1).lte(2147483647).optional(),
|
|
1437
|
+
metadata: zMachineMetadata.optional()
|
|
1438
|
+
});
|
|
1439
|
+
var zCreateMachinePoolRequest = zCreateMachinePoolRequestBase.and(z.union([
|
|
1440
|
+
z.object({
|
|
1441
|
+
provider: z.enum(["unikraft"]),
|
|
1442
|
+
default_machine_cpu: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1443
|
+
default_machine_memory_mb: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1444
|
+
max_total_cpu: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1445
|
+
max_total_memory_mb: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1446
|
+
max_machine_cpu: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1447
|
+
max_machine_memory_mb: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
|
|
1448
|
+
}),
|
|
1449
|
+
z.object({
|
|
1450
|
+
provider: z.enum(["daytona"]),
|
|
1451
|
+
max_total_cpu: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1452
|
+
max_total_memory_mb: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1453
|
+
max_machine_cpu: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1454
|
+
max_machine_memory_mb: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
|
|
1455
|
+
}),
|
|
1456
|
+
z.object({
|
|
1457
|
+
provider: z.enum(["blaxel"]),
|
|
1458
|
+
default_machine_memory_mb: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1459
|
+
max_total_memory_mb: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1460
|
+
max_machine_memory_mb: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
|
|
1461
|
+
})
|
|
1462
|
+
]));
|
|
1463
|
+
var zUpdateMachinePoolRequest = z.object({
|
|
1464
|
+
name: z.string().min(1).optional(),
|
|
1465
|
+
description: z.string().optional(),
|
|
1466
|
+
default_machine_cpu: z.int().gte(1).lte(2147483647).nullish(),
|
|
1467
|
+
default_machine_memory_mb: z.int().gte(1).lte(2147483647).nullish(),
|
|
1468
|
+
default_machine_env: z.record(z.string(), z.string()).optional(),
|
|
1469
|
+
default_machine_secret_env: z.record(z.string(), zSecretId).optional(),
|
|
1470
|
+
default_machine_provider_options: z.record(z.string(), z.unknown()).optional(),
|
|
1471
|
+
default_cwd: z.string().optional(),
|
|
1472
|
+
provider_config: z.record(z.string(), z.unknown()).optional(),
|
|
1473
|
+
provider_auth_secret_id: zSecretId.optional(),
|
|
1474
|
+
runtime_protection_enabled: z.boolean().optional(),
|
|
1475
|
+
max_total_machines: z.int().gte(0).lte(2147483647).optional(),
|
|
1476
|
+
max_total_cpu: z.int().gte(0).lte(2147483647).nullish(),
|
|
1477
|
+
max_total_memory_mb: z.int().gte(0).lte(2147483647).nullish(),
|
|
1478
|
+
min_machine_cpu: z.int().gte(0).lte(2147483647).nullish(),
|
|
1479
|
+
min_machine_memory_mb: z.int().gte(0).lte(2147483647).nullish(),
|
|
1480
|
+
max_machine_cpu: z.int().gte(1).lte(2147483647).nullish(),
|
|
1481
|
+
max_machine_memory_mb: z.int().gte(1).lte(2147483647).nullish(),
|
|
1482
|
+
metadata: zMachineMetadata.optional()
|
|
1483
|
+
});
|
|
1484
|
+
var zMachinePool = z.object({
|
|
1485
|
+
id: zMachinePoolId,
|
|
1486
|
+
org_id: zOrganizationId,
|
|
1487
|
+
name: z.string(),
|
|
1488
|
+
management_kind: zManagementKind,
|
|
1489
|
+
description: z.string(),
|
|
1490
|
+
provider: z.string(),
|
|
1491
|
+
default_machine_cpu: z.int().gte(1).lte(2147483647).nullable(),
|
|
1492
|
+
default_machine_memory_mb: z.int().gte(1).lte(2147483647).nullable(),
|
|
1493
|
+
default_machine_env: z.record(z.string(), z.string()),
|
|
1494
|
+
default_machine_secret_env: z.record(z.string(), zSecretId),
|
|
1495
|
+
default_machine_provider_options: z.record(z.string(), z.unknown()),
|
|
1496
|
+
default_cwd: z.string(),
|
|
1497
|
+
provider_auth_secret_id: zSecretId.optional(),
|
|
1498
|
+
provider_config: z.record(z.string(), z.unknown()),
|
|
1499
|
+
runtime_protection_enabled: z.boolean(),
|
|
1500
|
+
max_total_machines: z.int().gte(0).lte(2147483647),
|
|
1501
|
+
max_total_cpu: z.int().gte(0).lte(2147483647).nullable(),
|
|
1502
|
+
max_total_memory_mb: z.int().gte(0).lte(2147483647).nullable(),
|
|
1503
|
+
min_machine_cpu: z.int().gte(0).lte(2147483647).nullable(),
|
|
1504
|
+
min_machine_memory_mb: z.int().gte(0).lte(2147483647).nullable(),
|
|
1505
|
+
max_machine_cpu: z.int().gte(1).lte(2147483647).nullable(),
|
|
1506
|
+
max_machine_memory_mb: z.int().gte(1).lte(2147483647).nullable(),
|
|
1507
|
+
metadata: zMetadata,
|
|
1508
|
+
created_at: zTimestamp,
|
|
1509
|
+
updated_at: zTimestamp
|
|
1510
|
+
});
|
|
1511
|
+
var zListMachinePoolsResponse = z.object({
|
|
1512
|
+
data: z.array(zMachinePool),
|
|
1513
|
+
next_cursor: z.string().nullable()
|
|
1514
|
+
});
|
|
1515
|
+
var zMachineSourceKind = z.enum(["byo", "pool"]);
|
|
1516
|
+
var zMachineLifecycleState = z.enum([
|
|
1517
|
+
"provisioning",
|
|
1518
|
+
"provision_failed",
|
|
1519
|
+
"active",
|
|
1520
|
+
"deleting",
|
|
1521
|
+
"delete_failed",
|
|
1522
|
+
"deleted"
|
|
1523
|
+
]);
|
|
1524
|
+
var zMachineConnectionState = z.enum([
|
|
1525
|
+
"online",
|
|
1526
|
+
"asleep",
|
|
1527
|
+
"offline"
|
|
1528
|
+
]);
|
|
1529
|
+
var zMachineAccessSourceKind = z.enum(["org_role", "project_machine_grant"]);
|
|
1530
|
+
var zProjectMachineGrantSourceKind = z.enum(["explicit", "pool"]);
|
|
1531
|
+
var zMachine = z.object({
|
|
1532
|
+
id: zMachineId,
|
|
1533
|
+
org_id: zOrganizationId,
|
|
1534
|
+
source_kind: zMachineSourceKind,
|
|
1535
|
+
machine_pool_id: zMachinePoolId.nullish(),
|
|
1536
|
+
display_name: z.string(),
|
|
1537
|
+
description: z.string(),
|
|
1538
|
+
provider: z.string(),
|
|
1539
|
+
lifecycle_state: zMachineLifecycleState,
|
|
1540
|
+
connection_state: zMachineConnectionState,
|
|
1541
|
+
connection_state_reason: z.string().optional(),
|
|
1542
|
+
last_observed_at: zTimestamp.nullable(),
|
|
1543
|
+
cwd: z.string(),
|
|
1544
|
+
env: z.record(z.string(), z.string()),
|
|
1545
|
+
secret_env: z.record(z.string(), zSecretId),
|
|
1546
|
+
lifecycle_reason_code: z.string(),
|
|
1547
|
+
lifecycle_reason_message: z.string(),
|
|
1548
|
+
failure_report: zMachineFailureReport.optional(),
|
|
1549
|
+
next_reconcile_after: zTimestamp.nullable(),
|
|
1550
|
+
provision_attempts: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1551
|
+
delete_attempts: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1552
|
+
metadata: zMetadata,
|
|
1553
|
+
deleted_at: zTimestamp.nullable(),
|
|
1554
|
+
created_at: zTimestamp,
|
|
1555
|
+
updated_at: zTimestamp
|
|
1556
|
+
});
|
|
1557
|
+
var zCreateMachineRequest = z.object({
|
|
1558
|
+
display_name: z.string().min(1),
|
|
1559
|
+
description: z.string().optional(),
|
|
1560
|
+
cwd: z.string().optional(),
|
|
1561
|
+
env: z.record(z.string(), z.string()).optional(),
|
|
1562
|
+
secret_env: z.record(z.string(), zSecretId).optional(),
|
|
1563
|
+
metadata: zMachineMetadata.optional()
|
|
1564
|
+
});
|
|
1565
|
+
var zConnectByoMachineRequest = z.object({
|
|
1566
|
+
display_name: z.string().min(1),
|
|
1567
|
+
project_ids: z.array(zProjectId).max(100)
|
|
1568
|
+
});
|
|
1569
|
+
var zUpdateMachineRequest = z.object({
|
|
1570
|
+
cwd: z.string().optional(),
|
|
1571
|
+
env: z.record(z.string(), z.string()).optional(),
|
|
1572
|
+
secret_env: z.record(z.string(), zSecretId).optional()
|
|
1573
|
+
});
|
|
1574
|
+
var zMachineSummaryFields = z.object({
|
|
1575
|
+
id: zMachineId,
|
|
1576
|
+
org_id: zOrganizationId,
|
|
1577
|
+
source_kind: zMachineSourceKind,
|
|
1578
|
+
display_name: z.string(),
|
|
1579
|
+
description: z.string(),
|
|
1580
|
+
provider: z.string(),
|
|
1581
|
+
lifecycle_state: zMachineLifecycleState,
|
|
1582
|
+
connection_state: zMachineConnectionState,
|
|
1583
|
+
last_observed_at: zTimestamp.nullable(),
|
|
1584
|
+
deleted_at: zTimestamp.nullable(),
|
|
1585
|
+
created_at: zTimestamp,
|
|
1586
|
+
updated_at: zTimestamp
|
|
1587
|
+
});
|
|
1588
|
+
var zMachineSummary = zMachineSummaryFields;
|
|
1589
|
+
var zMachineAccessSource = z.object({
|
|
1590
|
+
kind: zMachineAccessSourceKind,
|
|
1591
|
+
project_id: zProjectId.optional(),
|
|
1592
|
+
grant_id: zProjectMachineGrantId.optional(),
|
|
1593
|
+
grant_source_kind: zProjectMachineGrantSourceKind.optional()
|
|
1594
|
+
});
|
|
1595
|
+
var zMachineAccess = z.object({
|
|
1596
|
+
can_manage: z.boolean(),
|
|
1597
|
+
sources: z.array(zMachineAccessSource)
|
|
1598
|
+
});
|
|
1599
|
+
var zVisibleMachine = zMachineSummaryFields.and(z.object({
|
|
1600
|
+
access: zMachineAccess
|
|
1601
|
+
}));
|
|
1602
|
+
var zListVisibleMachinesResponse = z.object({
|
|
1603
|
+
data: z.array(zVisibleMachine),
|
|
1604
|
+
next_cursor: z.string().nullable()
|
|
1605
|
+
});
|
|
1606
|
+
var zProjectMachineGrant = z.object({
|
|
1607
|
+
id: zProjectMachineGrantId,
|
|
1608
|
+
org_id: zOrganizationId,
|
|
1609
|
+
project_id: zProjectId,
|
|
1610
|
+
machine_id: zMachineId,
|
|
1611
|
+
source_kind: zProjectMachineGrantSourceKind,
|
|
1612
|
+
project_machine_pool_grant_id: zProjectMachinePoolGrantId.nullish(),
|
|
1613
|
+
description: z.string(),
|
|
1614
|
+
metadata: zMetadata,
|
|
1615
|
+
created_at: zTimestamp,
|
|
1616
|
+
updated_at: zTimestamp
|
|
1617
|
+
});
|
|
1618
|
+
var zCreateProjectMachineGrantRequest = z.object({
|
|
1619
|
+
machine_id: zMachineId,
|
|
1620
|
+
description: z.string().optional(),
|
|
1621
|
+
metadata: zMetadata.optional()
|
|
1622
|
+
});
|
|
1623
|
+
var zCreateProjectMachineGrantResponse = z.object({
|
|
1624
|
+
grant: zProjectMachineGrant,
|
|
1625
|
+
machine: zMachine
|
|
1626
|
+
});
|
|
1627
|
+
var zProjectMachineGrantListItem = z.object({
|
|
1628
|
+
grant: zProjectMachineGrant,
|
|
1629
|
+
machine: zMachineSummary
|
|
1630
|
+
});
|
|
1631
|
+
var zListProjectMachineGrantsResponse = z.object({
|
|
1632
|
+
data: z.array(zProjectMachineGrantListItem),
|
|
1633
|
+
next_cursor: z.string().nullable()
|
|
1634
|
+
});
|
|
1635
|
+
var zProjectMachinePoolGrant = z.object({
|
|
1636
|
+
id: zProjectMachinePoolGrantId,
|
|
1637
|
+
org_id: zOrganizationId,
|
|
1638
|
+
project_id: zProjectId,
|
|
1639
|
+
machine_pool_id: zMachinePoolId,
|
|
1640
|
+
description: z.string(),
|
|
1641
|
+
default_machine_cpu: z.int().gte(1).lte(2147483647).nullable(),
|
|
1642
|
+
default_machine_memory_mb: z.int().gte(1).lte(2147483647).nullable(),
|
|
1643
|
+
default_machine_env_overlay: z.record(z.string(), z.string().nullable()),
|
|
1644
|
+
default_machine_secret_env_overlay: z.record(z.string(), z.string().regex(/^sec_[a-z2-7]{26}$/).nullable()),
|
|
1645
|
+
default_machine_provider_options_overlay: z.record(z.string(), z.unknown()),
|
|
1646
|
+
default_cwd: z.string(),
|
|
1647
|
+
max_total_machines: z.int().gte(0).lte(2147483647).nullable(),
|
|
1648
|
+
max_total_cpu: z.int().gte(0).lte(2147483647).nullable(),
|
|
1649
|
+
max_total_memory_mb: z.int().gte(0).lte(2147483647).nullable(),
|
|
1650
|
+
min_machine_cpu: z.int().gte(0).lte(2147483647).nullable(),
|
|
1651
|
+
min_machine_memory_mb: z.int().gte(0).lte(2147483647).nullable(),
|
|
1652
|
+
max_machine_cpu: z.int().gte(1).lte(2147483647).nullable(),
|
|
1653
|
+
max_machine_memory_mb: z.int().gte(1).lte(2147483647).nullable(),
|
|
1654
|
+
metadata: zMetadata,
|
|
1655
|
+
created_at: zTimestamp,
|
|
1656
|
+
updated_at: zTimestamp
|
|
1657
|
+
});
|
|
1658
|
+
var zCreateProjectMachinePoolGrantRequest = z.object({
|
|
1659
|
+
machine_pool_id: zMachinePoolId,
|
|
1660
|
+
description: z.string().optional(),
|
|
1661
|
+
default_machine_cpu: z.int().gte(1).lte(2147483647).optional(),
|
|
1662
|
+
default_machine_memory_mb: z.int().gte(1).lte(2147483647).optional(),
|
|
1663
|
+
default_machine_env_overlay: z.record(z.string(), z.string().nullable()).optional(),
|
|
1664
|
+
default_machine_secret_env_overlay: z.record(z.string(), z.string().regex(/^sec_[a-z2-7]{26}$/).nullable()).optional(),
|
|
1665
|
+
default_machine_provider_options_overlay: z.record(z.string(), z.unknown()).optional(),
|
|
1666
|
+
default_cwd: z.string().optional(),
|
|
1667
|
+
max_total_machines: z.int().gte(0).lte(2147483647).optional(),
|
|
1668
|
+
max_total_cpu: z.int().gte(0).lte(2147483647).optional(),
|
|
1669
|
+
max_total_memory_mb: z.int().gte(0).lte(2147483647).optional(),
|
|
1670
|
+
min_machine_cpu: z.int().gte(0).lte(2147483647).optional(),
|
|
1671
|
+
min_machine_memory_mb: z.int().gte(0).lte(2147483647).optional(),
|
|
1672
|
+
max_machine_cpu: z.int().gte(1).lte(2147483647).optional(),
|
|
1673
|
+
max_machine_memory_mb: z.int().gte(1).lte(2147483647).optional(),
|
|
1674
|
+
metadata: zMetadata.optional()
|
|
1675
|
+
});
|
|
1676
|
+
var zUpdateProjectMachinePoolGrantRequest = z.object({
|
|
1677
|
+
description: z.string().optional(),
|
|
1678
|
+
default_machine_cpu: z.int().gte(1).lte(2147483647).nullish(),
|
|
1679
|
+
default_machine_memory_mb: z.int().gte(1).lte(2147483647).nullish(),
|
|
1680
|
+
default_machine_env_overlay: z.record(z.string(), z.string().nullable()).optional(),
|
|
1681
|
+
default_machine_secret_env_overlay: z.record(z.string(), z.string().regex(/^sec_[a-z2-7]{26}$/).nullable()).optional(),
|
|
1682
|
+
default_machine_provider_options_overlay: z.record(z.string(), z.unknown()).optional(),
|
|
1683
|
+
default_cwd: z.string().optional(),
|
|
1684
|
+
max_total_machines: z.int().gte(0).lte(2147483647).nullish(),
|
|
1685
|
+
max_total_cpu: z.int().gte(0).lte(2147483647).nullish(),
|
|
1686
|
+
max_total_memory_mb: z.int().gte(0).lte(2147483647).nullish(),
|
|
1687
|
+
min_machine_cpu: z.int().gte(0).lte(2147483647).nullish(),
|
|
1688
|
+
min_machine_memory_mb: z.int().gte(0).lte(2147483647).nullish(),
|
|
1689
|
+
max_machine_cpu: z.int().gte(1).lte(2147483647).nullish(),
|
|
1690
|
+
max_machine_memory_mb: z.int().gte(1).lte(2147483647).nullish(),
|
|
1691
|
+
metadata: zMetadata.optional()
|
|
1692
|
+
});
|
|
1693
|
+
var zMachinePoolSummary = z.object({
|
|
1694
|
+
id: zMachinePoolId,
|
|
1695
|
+
org_id: zOrganizationId,
|
|
1696
|
+
name: z.string(),
|
|
1697
|
+
management_kind: zManagementKind,
|
|
1698
|
+
description: z.string(),
|
|
1699
|
+
provider: z.string(),
|
|
1700
|
+
created_at: zTimestamp,
|
|
1701
|
+
updated_at: zTimestamp
|
|
1702
|
+
});
|
|
1703
|
+
var zProjectMachinePoolGrantListItem = z.object({
|
|
1704
|
+
grant: zProjectMachinePoolGrant,
|
|
1705
|
+
machine_pool: zMachinePoolSummary
|
|
1706
|
+
});
|
|
1707
|
+
var zListProjectMachinePoolGrantsResponse = z.object({
|
|
1708
|
+
data: z.array(zProjectMachinePoolGrantListItem),
|
|
1709
|
+
next_cursor: z.string().nullable()
|
|
1710
|
+
});
|
|
1711
|
+
var zCreateMachineDaemonTokenRequest = z.object({
|
|
1712
|
+
name: z.string().optional(),
|
|
1713
|
+
metadata: zMetadata.optional()
|
|
1714
|
+
});
|
|
1715
|
+
var zMachineDaemonToken = z.object({
|
|
1716
|
+
id: zMachineDaemonTokenId,
|
|
1717
|
+
org_id: zOrganizationId,
|
|
1718
|
+
machine_id: zMachineId,
|
|
1719
|
+
name: z.string(),
|
|
1720
|
+
metadata: zMetadata,
|
|
1721
|
+
created_at: zTimestamp,
|
|
1722
|
+
last_used_at: zTimestamp.nullable(),
|
|
1723
|
+
revoked_at: zTimestamp.nullable(),
|
|
1724
|
+
revoke_reason: z.string()
|
|
1725
|
+
});
|
|
1726
|
+
var zConnectByoMachineResponse = z.object({
|
|
1727
|
+
machine: zMachine,
|
|
1728
|
+
token: z.string().min(1),
|
|
1729
|
+
token_record: zMachineDaemonToken,
|
|
1730
|
+
project_grants: z.array(zProjectMachineGrant)
|
|
1731
|
+
});
|
|
1732
|
+
var zCreateMachineDaemonTokenResponse = z.object({
|
|
1733
|
+
token: z.string().min(1),
|
|
1734
|
+
token_record: zMachineDaemonToken
|
|
1735
|
+
});
|
|
1736
|
+
var zListMachineDaemonTokensResponse = z.object({
|
|
1737
|
+
data: z.array(zMachineDaemonToken),
|
|
1738
|
+
next_cursor: z.string().nullable()
|
|
1739
|
+
});
|
|
1740
|
+
var zProcessActionReconciliationClaim = z.object({
|
|
1741
|
+
process_action_id: zProcessActionId,
|
|
1742
|
+
seq: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
1743
|
+
action_kind: z.enum([
|
|
1744
|
+
"write",
|
|
1745
|
+
"interrupt",
|
|
1746
|
+
"terminate"
|
|
1747
|
+
]),
|
|
1748
|
+
position: z.enum(["effect_committed", "terminal"])
|
|
1749
|
+
});
|
|
1750
|
+
var zProcessReconciliationClaim = z.object({
|
|
1751
|
+
process_id: zProcessId,
|
|
1752
|
+
supervisor_instance_id: z.string().min(1),
|
|
1753
|
+
phase: z.enum([
|
|
1754
|
+
"preparing",
|
|
1755
|
+
"prepared",
|
|
1756
|
+
"accepted",
|
|
1757
|
+
"terminal"
|
|
1758
|
+
]),
|
|
1759
|
+
supervisor_live: z.boolean(),
|
|
1760
|
+
execution_committed: z.boolean(),
|
|
1761
|
+
action_admission_closed: z.boolean(),
|
|
1762
|
+
resolved_action_seq: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
1763
|
+
actions: z.array(zProcessActionReconciliationClaim)
|
|
1764
|
+
});
|
|
1765
|
+
var zProcessActionReconciliationDirective = z.object({
|
|
1766
|
+
process_action_id: zProcessActionId,
|
|
1767
|
+
seq: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
1768
|
+
action_kind: z.enum([
|
|
1769
|
+
"write",
|
|
1770
|
+
"read",
|
|
1771
|
+
"interrupt",
|
|
1772
|
+
"terminate"
|
|
1773
|
+
]),
|
|
1774
|
+
disposition: z.enum([
|
|
1775
|
+
"apply",
|
|
1776
|
+
"retain",
|
|
1777
|
+
"settle",
|
|
1778
|
+
"release"
|
|
1779
|
+
]),
|
|
1780
|
+
payload: z.unknown().optional()
|
|
1781
|
+
});
|
|
1782
|
+
var zProcessReconciliationDirective = z.object({
|
|
1783
|
+
process_id: zProcessId,
|
|
1784
|
+
supervisor_instance_id: z.string().min(1),
|
|
1785
|
+
disposition: z.enum([
|
|
1786
|
+
"close_preparation",
|
|
1787
|
+
"start",
|
|
1788
|
+
"retain",
|
|
1789
|
+
"release"
|
|
1790
|
+
]),
|
|
1791
|
+
actions: z.array(zProcessActionReconciliationDirective)
|
|
1792
|
+
});
|
|
1793
|
+
var zRegisterDaemonRuntimeRequest = z.object({
|
|
1794
|
+
daemon_instance_id: z.uuid(),
|
|
1795
|
+
daemon_version: z.string().min(1),
|
|
1796
|
+
capacity: z.record(z.string(), z.unknown()).optional(),
|
|
1797
|
+
observed_platform: z.record(z.string(), z.unknown()).optional(),
|
|
1798
|
+
processes: z.array(zProcessReconciliationClaim)
|
|
1799
|
+
});
|
|
1800
|
+
var zDaemonRuntimeState = z.enum(["active", "ended"]);
|
|
1801
|
+
var zDaemonRuntime = z.object({
|
|
1802
|
+
id: zDaemonRuntimeId,
|
|
1803
|
+
org_id: zOrganizationId,
|
|
1804
|
+
machine_id: zMachineId,
|
|
1805
|
+
daemon_instance_id: z.uuid(),
|
|
1806
|
+
daemon_version: z.string(),
|
|
1807
|
+
state: zDaemonRuntimeState,
|
|
1808
|
+
state_reason_code: z.string(),
|
|
1809
|
+
state_reason_message: z.string(),
|
|
1810
|
+
created_at: zTimestamp,
|
|
1811
|
+
last_seen_at: zTimestamp,
|
|
1812
|
+
lease_expires_at: zTimestamp,
|
|
1813
|
+
next_heartbeat_after_ms: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
1814
|
+
ended_at: zTimestamp.nullable(),
|
|
1815
|
+
capacity: z.record(z.string(), z.unknown())
|
|
1816
|
+
});
|
|
1817
|
+
var zDaemonRuntimeReconciliation = z.object({
|
|
1818
|
+
processes: z.array(zProcessReconciliationDirective)
|
|
1819
|
+
});
|
|
1820
|
+
var zRegisterDaemonRuntimeResponse = z.object({
|
|
1821
|
+
runtime: zDaemonRuntime,
|
|
1822
|
+
reconciliation: zDaemonRuntimeReconciliation
|
|
1823
|
+
});
|
|
1824
|
+
var zBootstrapDaemonResponse = z.object({
|
|
1825
|
+
installation_id: zInstallationId,
|
|
1826
|
+
machine_id: zMachineId
|
|
1827
|
+
});
|
|
1828
|
+
var zCreateProjectRequest = z.object({
|
|
1829
|
+
name: z.string().min(1)
|
|
1830
|
+
});
|
|
1831
|
+
var zProjectFields = z.object({
|
|
1832
|
+
id: zProjectId,
|
|
1833
|
+
org_id: zOrganizationId,
|
|
1834
|
+
name: z.string(),
|
|
1835
|
+
created_at: zTimestamp,
|
|
1836
|
+
updated_at: zTimestamp
|
|
1837
|
+
});
|
|
1838
|
+
var zProject = zProjectFields;
|
|
1839
|
+
var zSkillGrantListItem = z.object({
|
|
1840
|
+
grant: zSkillGrant,
|
|
1841
|
+
target_project: zProject
|
|
1842
|
+
});
|
|
1843
|
+
var zListSkillGrantsResponse = z.object({
|
|
1844
|
+
data: z.array(zSkillGrantListItem),
|
|
1845
|
+
next_cursor: z.string().nullable()
|
|
1846
|
+
});
|
|
1847
|
+
var zSecretGrantListItem = z.object({
|
|
1848
|
+
grant: zSecretGrant,
|
|
1849
|
+
target_project: zProject
|
|
1850
|
+
});
|
|
1851
|
+
var zListSecretGrantsResponse = z.object({
|
|
1852
|
+
data: z.array(zSecretGrantListItem),
|
|
1853
|
+
next_cursor: z.string().nullable()
|
|
1854
|
+
});
|
|
1855
|
+
var zCreateOrganizationResponse = z.object({
|
|
1856
|
+
org: zOrganization,
|
|
1857
|
+
project: zProject,
|
|
1858
|
+
membership: zOrganizationMembership
|
|
1859
|
+
});
|
|
1860
|
+
var zProjectAccess = z.object({
|
|
1861
|
+
can_read: z.boolean(),
|
|
1862
|
+
can_manage: z.boolean(),
|
|
1863
|
+
can_manage_access: z.boolean(),
|
|
1864
|
+
can_operate: z.boolean()
|
|
1865
|
+
});
|
|
1866
|
+
var zVisibleProject = zProjectFields.and(z.object({
|
|
1867
|
+
access: zProjectAccess
|
|
1868
|
+
}));
|
|
1869
|
+
var zListProjectsResponse = z.object({
|
|
1870
|
+
data: z.array(zVisibleProject),
|
|
1871
|
+
next_cursor: z.string().nullable()
|
|
1872
|
+
});
|
|
1873
|
+
var zOrgOverviewResponse = z.object({
|
|
1874
|
+
projects: z.array(zVisibleProject),
|
|
1875
|
+
recent_agents: z.array(zAgent),
|
|
1876
|
+
recent_agent_profiles: z.array(zAgentProfile)
|
|
1877
|
+
});
|
|
1878
|
+
var zCurrentUserIdentity = z.object({
|
|
1879
|
+
id: zUserId,
|
|
1880
|
+
email: z.string(),
|
|
1881
|
+
display_name: z.string()
|
|
1882
|
+
});
|
|
1883
|
+
var zCurrentUserOrg = z.object({
|
|
1884
|
+
id: zOrganizationId,
|
|
1885
|
+
name: z.string(),
|
|
1886
|
+
role: z.string(),
|
|
1887
|
+
created_at: zTimestamp
|
|
1888
|
+
});
|
|
1889
|
+
var zCurrentUser = z.object({
|
|
1890
|
+
user: zCurrentUserIdentity,
|
|
1891
|
+
orgs: z.array(zCurrentUserOrg)
|
|
1892
|
+
});
|
|
1893
|
+
var zListPersonalAccessTokensResponse = z.object({
|
|
1894
|
+
data: z.array(zPersonalAccessToken),
|
|
1895
|
+
next_cursor: z.string().nullable()
|
|
1896
|
+
});
|
|
1897
|
+
var zOrgMember = z.object({
|
|
1898
|
+
user_id: zUserId,
|
|
1899
|
+
email: z.string(),
|
|
1900
|
+
display_name: z.string(),
|
|
1901
|
+
role: z.string(),
|
|
1902
|
+
created_at: zTimestamp
|
|
1903
|
+
});
|
|
1904
|
+
var zListOrgMembersResponse = z.object({
|
|
1905
|
+
data: z.array(zOrgMember),
|
|
1906
|
+
next_cursor: z.string().nullable()
|
|
1907
|
+
});
|
|
1908
|
+
var zUpdateOrgMemberRequest = z.object({
|
|
1909
|
+
role: z.string()
|
|
1910
|
+
});
|
|
1911
|
+
var zSetProjectMembershipRequest = z.object({
|
|
1912
|
+
role: z.string()
|
|
1913
|
+
});
|
|
1914
|
+
var zProjectMembershipGrant = z.object({
|
|
1915
|
+
project_id: zProjectId,
|
|
1916
|
+
project_name: z.string(),
|
|
1917
|
+
role: z.string(),
|
|
1918
|
+
created_at: zTimestamp
|
|
1919
|
+
});
|
|
1920
|
+
var zListProjectMembershipGrantsResponse = z.object({
|
|
1921
|
+
data: z.array(zProjectMembershipGrant)
|
|
1922
|
+
});
|
|
1923
|
+
var zIdempotencyKey = z.string().min(1).max(255);
|
|
1924
|
+
var zPageLimit = z.int().gte(1).lte(100).default(50);
|
|
1925
|
+
var zPageCursor = z.string().max(1024);
|
|
1926
|
+
var zResourceNameFilter = z.string().min(1).max(200);
|
|
1927
|
+
var zMachineSourceKindFilter = zMachineSourceKind;
|
|
1928
|
+
var zSecretMetadataFilter = z.record(z.string(), z.string());
|
|
1929
|
+
var zSecretKindFilter = zSecretKind;
|
|
1930
|
+
var zSkillOwnerKindFilter = z.enum([
|
|
1931
|
+
"org",
|
|
1932
|
+
"project",
|
|
1933
|
+
"user"
|
|
1934
|
+
]);
|
|
1935
|
+
var zSkillOwnerProjectIdFilter = zProjectId;
|
|
1936
|
+
var zSkillAvailabilitySourceFilter = z.enum(["direct", "grant"]);
|
|
1937
|
+
var zSecretOwnerKindFilter = z.enum([
|
|
1938
|
+
"org",
|
|
1939
|
+
"project",
|
|
1940
|
+
"user"
|
|
1941
|
+
]);
|
|
1942
|
+
var zSecretOwnerProjectIdFilter = zProjectId;
|
|
1943
|
+
var zSecretMcpoAuthFlowIdFilter = zMcpoAuthFlowId;
|
|
1944
|
+
var zIntegrationInstallAgentProfileFilter = zAgentProfileId;
|
|
1945
|
+
var zIntegrationInstallOAuthFlowIdFilter = zIntegrationOAuthFlowId;
|
|
1946
|
+
var zSecretAvailabilitySourceFilter = z.enum(["direct", "grant"]);
|
|
1947
|
+
var zListPersonalAccessTokensQuery = z.object({
|
|
1948
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
1949
|
+
cursor: z.string().max(1024).optional()
|
|
1950
|
+
});
|
|
1951
|
+
var zListPersonalAccessTokensResponse2 = zListPersonalAccessTokensResponse;
|
|
1952
|
+
var zCreatePersonalAccessTokenBody = zCreatePersonalAccessTokenRequest;
|
|
1953
|
+
var zCreatePersonalAccessTokenResponse2 = zCreatePersonalAccessTokenResponse;
|
|
1954
|
+
var zRevokePersonalAccessTokenPath = z.object({
|
|
1955
|
+
tokenID: z.string().regex(/^pat_[a-z2-7]{26}$/)
|
|
1956
|
+
});
|
|
1957
|
+
var zRevokePersonalAccessTokenResponse = zPersonalAccessToken;
|
|
1958
|
+
var zBootstrapDaemonResponse2 = zBootstrapDaemonResponse;
|
|
1959
|
+
var zRecordMachineFailureBody = z.string().max(4097);
|
|
1960
|
+
var zRecordMachineFailureQuery = z.object({
|
|
1961
|
+
stage: z.enum([
|
|
1962
|
+
"startup_script",
|
|
1963
|
+
"daemon_install",
|
|
1964
|
+
"daemon_update",
|
|
1965
|
+
"daemon_uninstall",
|
|
1966
|
+
"daemon_uninstalled"
|
|
1967
|
+
]),
|
|
1968
|
+
exit_status: z.int().gte(1).lte(255).optional(),
|
|
1969
|
+
capture_status: z.int().gte(0).lte(255).optional(),
|
|
1970
|
+
daemon_version: z.string().max(100).optional(),
|
|
1971
|
+
target_version: z.string().max(100).optional()
|
|
1972
|
+
});
|
|
1973
|
+
var zRecordMachineFailureResponse = z.void();
|
|
1974
|
+
var zCreateOrganizationBody = zCreateOrganizationRequest;
|
|
1975
|
+
var zCreateOrganizationHeaders = z.object({
|
|
1976
|
+
"Idempotency-Key": z.string().min(1).max(255).optional()
|
|
1977
|
+
});
|
|
1978
|
+
var zCreateOrganizationResponse2 = zCreateOrganizationResponse;
|
|
1979
|
+
var zDeleteOrganizationPath = z.object({
|
|
1980
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/)
|
|
1981
|
+
});
|
|
1982
|
+
var zDeleteOrganizationResponse = z.void();
|
|
1983
|
+
var zDeleteCurrentUserResponse = z.void();
|
|
1984
|
+
var zGetCurrentUserResponse = zCurrentUser;
|
|
1985
|
+
var zListPendingInvitationsQuery = z.object({
|
|
1986
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
1987
|
+
cursor: z.string().max(1024).optional()
|
|
1988
|
+
});
|
|
1989
|
+
var zListPendingInvitationsResponse = zListOrgInvitationsResponse;
|
|
1990
|
+
var zAcceptInvitationPath = z.object({
|
|
1991
|
+
invitationID: z.string().regex(/^oinv_[a-z2-7]{26}$/)
|
|
1992
|
+
});
|
|
1993
|
+
var zAcceptInvitationResponse = zOrgInvitation;
|
|
1994
|
+
var zDeclineInvitationPath = z.object({
|
|
1995
|
+
invitationID: z.string().regex(/^oinv_[a-z2-7]{26}$/)
|
|
1996
|
+
});
|
|
1997
|
+
var zDeclineInvitationResponse = zOrgInvitation;
|
|
1998
|
+
var zGetOrgOverviewPath = z.object({
|
|
1999
|
+
orgID: zOrganizationId
|
|
2000
|
+
});
|
|
2001
|
+
var zGetOrgOverviewResponse = zOrgOverviewResponse;
|
|
2002
|
+
var zListVisibleProjectsPath = z.object({
|
|
2003
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/)
|
|
2004
|
+
});
|
|
2005
|
+
var zListVisibleProjectsQuery = z.object({
|
|
2006
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2007
|
+
cursor: z.string().max(1024).optional()
|
|
2008
|
+
});
|
|
2009
|
+
var zListVisibleProjectsResponse = zListProjectsResponse;
|
|
2010
|
+
var zCreateProjectBody = zCreateProjectRequest;
|
|
2011
|
+
var zCreateProjectHeaders = z.object({
|
|
2012
|
+
"Idempotency-Key": z.string().min(1).max(255).optional()
|
|
2013
|
+
});
|
|
2014
|
+
var zCreateProjectPath = z.object({
|
|
2015
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/)
|
|
2016
|
+
});
|
|
2017
|
+
var zCreateProjectResponse = zProject;
|
|
2018
|
+
var zDeleteProjectPath = z.object({
|
|
2019
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2020
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
2021
|
+
});
|
|
2022
|
+
var zDeleteProjectResponse = z.void();
|
|
2023
|
+
var zListOrgMembersPath = z.object({
|
|
2024
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/)
|
|
2025
|
+
});
|
|
2026
|
+
var zListOrgMembersQuery = z.object({
|
|
2027
|
+
name: z.string().min(1).max(200).optional(),
|
|
2028
|
+
sort: zCreatedResourceListSort.optional(),
|
|
2029
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2030
|
+
cursor: z.string().max(1024).optional()
|
|
2031
|
+
});
|
|
2032
|
+
var zListOrgMembersResponse2 = zListOrgMembersResponse;
|
|
2033
|
+
var zRemoveOrgMemberPath = z.object({
|
|
2034
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2035
|
+
userID: z.string().regex(/^usr_[a-z2-7]{26}$/)
|
|
2036
|
+
});
|
|
2037
|
+
var zRemoveOrgMemberResponse = z.void();
|
|
2038
|
+
var zUpdateOrgMemberBody = zUpdateOrgMemberRequest;
|
|
2039
|
+
var zUpdateOrgMemberPath = z.object({
|
|
2040
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2041
|
+
userID: z.string().regex(/^usr_[a-z2-7]{26}$/)
|
|
2042
|
+
});
|
|
2043
|
+
var zUpdateOrgMemberResponse = zOrganizationMembership;
|
|
2044
|
+
var zListMemberProjectAccessPath = z.object({
|
|
2045
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2046
|
+
userID: z.string().regex(/^usr_[a-z2-7]{26}$/)
|
|
2047
|
+
});
|
|
2048
|
+
var zListMemberProjectAccessResponse = zListProjectMembershipGrantsResponse;
|
|
2049
|
+
var zRemoveMemberProjectAccessPath = z.object({
|
|
2050
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2051
|
+
userID: z.string().regex(/^usr_[a-z2-7]{26}$/),
|
|
2052
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
2053
|
+
});
|
|
2054
|
+
var zRemoveMemberProjectAccessResponse = z.void();
|
|
2055
|
+
var zSetMemberProjectAccessBody = zSetProjectMembershipRequest;
|
|
2056
|
+
var zSetMemberProjectAccessPath = z.object({
|
|
2057
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2058
|
+
userID: z.string().regex(/^usr_[a-z2-7]{26}$/),
|
|
2059
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
2060
|
+
});
|
|
2061
|
+
var zSetMemberProjectAccessResponse = zProjectMembershipGrant;
|
|
2062
|
+
var zListOrgApiKeysPath = z.object({
|
|
2063
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/)
|
|
2064
|
+
});
|
|
2065
|
+
var zListOrgApiKeysQuery = z.object({
|
|
2066
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2067
|
+
cursor: z.string().max(1024).optional()
|
|
2068
|
+
});
|
|
2069
|
+
var zListOrgApiKeysResponse2 = zListOrgApiKeysResponse;
|
|
2070
|
+
var zCreateOrgApiKeyBody = zCreateOrgApiKeyRequest;
|
|
2071
|
+
var zCreateOrgApiKeyPath = z.object({
|
|
2072
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/)
|
|
2073
|
+
});
|
|
2074
|
+
var zCreateOrgApiKeyResponse2 = zCreateOrgApiKeyResponse;
|
|
2075
|
+
var zGetOrgApiKeyPath = z.object({
|
|
2076
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2077
|
+
keyID: z.string().regex(/^oak_[a-z2-7]{26}$/)
|
|
2078
|
+
});
|
|
2079
|
+
var zGetOrgApiKeyResponse = zOrgApiKey;
|
|
2080
|
+
var zUpdateOrgApiKeyBody = zUpdateOrgApiKeyRequest;
|
|
2081
|
+
var zUpdateOrgApiKeyPath = z.object({
|
|
2082
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2083
|
+
keyID: z.string().regex(/^oak_[a-z2-7]{26}$/)
|
|
2084
|
+
});
|
|
2085
|
+
var zUpdateOrgApiKeyResponse = zOrgApiKey;
|
|
2086
|
+
var zRevokeOrgApiKeyPath = z.object({
|
|
2087
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2088
|
+
keyID: z.string().regex(/^oak_[a-z2-7]{26}$/)
|
|
2089
|
+
});
|
|
2090
|
+
var zRevokeOrgApiKeyResponse = zOrgApiKey;
|
|
2091
|
+
var zListOrgApiKeyProjectAccessPath = z.object({
|
|
2092
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2093
|
+
keyID: z.string().regex(/^oak_[a-z2-7]{26}$/)
|
|
2094
|
+
});
|
|
2095
|
+
var zListOrgApiKeyProjectAccessResponse = zListProjectMembershipGrantsResponse;
|
|
2096
|
+
var zRemoveOrgApiKeyProjectRolePath = z.object({
|
|
2097
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2098
|
+
keyID: z.string().regex(/^oak_[a-z2-7]{26}$/),
|
|
2099
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
2100
|
+
});
|
|
2101
|
+
var zRemoveOrgApiKeyProjectRoleResponse = z.void();
|
|
2102
|
+
var zSetOrgApiKeyProjectRoleBody = zSetProjectMembershipRequest;
|
|
2103
|
+
var zSetOrgApiKeyProjectRolePath = z.object({
|
|
2104
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2105
|
+
keyID: z.string().regex(/^oak_[a-z2-7]{26}$/),
|
|
2106
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
2107
|
+
});
|
|
2108
|
+
var zSetOrgApiKeyProjectRoleResponse = zProjectMembershipGrant;
|
|
2109
|
+
var zListOrgInvitationsPath = z.object({
|
|
2110
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/)
|
|
2111
|
+
});
|
|
2112
|
+
var zListOrgInvitationsQuery = z.object({
|
|
2113
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2114
|
+
cursor: z.string().max(1024).optional()
|
|
2115
|
+
});
|
|
2116
|
+
var zListOrgInvitationsResponse2 = zListOrgInvitationsResponse;
|
|
2117
|
+
var zCreateOrgInvitationBody = zCreateOrgInvitationRequest;
|
|
2118
|
+
var zCreateOrgInvitationPath = z.object({
|
|
2119
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/)
|
|
2120
|
+
});
|
|
2121
|
+
var zCreateOrgInvitationResponse = zOrgInvitation;
|
|
2122
|
+
var zDeleteOrgInvitationPath = z.object({
|
|
2123
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2124
|
+
invitationID: z.string().regex(/^oinv_[a-z2-7]{26}$/)
|
|
2125
|
+
});
|
|
2126
|
+
var zDeleteOrgInvitationResponse = z.void();
|
|
2127
|
+
var zListSkillsPath = z.object({
|
|
2128
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/)
|
|
2129
|
+
});
|
|
2130
|
+
var zListSkillsQuery = z.object({
|
|
2131
|
+
name: z.string().min(1).max(200).optional(),
|
|
2132
|
+
owner_kind: z.enum([
|
|
2133
|
+
"org",
|
|
2134
|
+
"project",
|
|
2135
|
+
"user"
|
|
2136
|
+
]).optional(),
|
|
2137
|
+
owner_project_id: zProjectId.optional(),
|
|
2138
|
+
sort: zResourceListSort.optional(),
|
|
2139
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2140
|
+
cursor: z.string().max(1024).optional()
|
|
2141
|
+
});
|
|
2142
|
+
var zListSkillsResponse2 = zListSkillsResponse;
|
|
2143
|
+
var zCreateSkillBody = zCreateSkillRequest;
|
|
2144
|
+
var zCreateSkillPath = z.object({
|
|
2145
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/)
|
|
2146
|
+
});
|
|
2147
|
+
var zCreateSkillResponse = zSkill;
|
|
2148
|
+
var zDeleteSkillPath = z.object({
|
|
2149
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2150
|
+
skillID: z.string().regex(/^skl_[a-z2-7]{26}$/)
|
|
2151
|
+
});
|
|
2152
|
+
var zDeleteSkillResponse = z.void();
|
|
2153
|
+
var zGetSkillPath = z.object({
|
|
2154
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2155
|
+
skillID: z.string().regex(/^skl_[a-z2-7]{26}$/)
|
|
2156
|
+
});
|
|
2157
|
+
var zGetSkillResponse = zSkill;
|
|
2158
|
+
var zListSkillGrantsPath = z.object({
|
|
2159
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2160
|
+
skillID: zSkillId
|
|
2161
|
+
});
|
|
2162
|
+
var zListSkillGrantsQuery = z.object({
|
|
2163
|
+
name: z.string().min(1).max(200).optional(),
|
|
2164
|
+
sort: zCreatedResourceListSort.optional(),
|
|
2165
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2166
|
+
cursor: z.string().max(1024).optional()
|
|
2167
|
+
});
|
|
2168
|
+
var zListSkillGrantsResponse2 = zListSkillGrantsResponse;
|
|
2169
|
+
var zCreateSkillGrantBody = zSkillGrantCreateRequest;
|
|
2170
|
+
var zCreateSkillGrantPath = z.object({
|
|
2171
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2172
|
+
skillID: zSkillId
|
|
2173
|
+
});
|
|
2174
|
+
var zCreateSkillGrantResponse = zSkillGrant;
|
|
2175
|
+
var zDeleteSkillGrantPath = z.object({
|
|
2176
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2177
|
+
skillID: zSkillId,
|
|
2178
|
+
grantID: zSkillGrantId
|
|
2179
|
+
});
|
|
2180
|
+
var zDeleteSkillGrantResponse = z.void();
|
|
2181
|
+
var zListProjectAvailableSkillsPath = z.object({
|
|
2182
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2183
|
+
projectID: zProjectId
|
|
2184
|
+
});
|
|
2185
|
+
var zListProjectAvailableSkillsQuery = z.object({
|
|
2186
|
+
name: z.string().min(1).max(200).optional(),
|
|
2187
|
+
owner_kind: z.enum([
|
|
2188
|
+
"org",
|
|
2189
|
+
"project",
|
|
2190
|
+
"user"
|
|
2191
|
+
]).optional(),
|
|
2192
|
+
availability_source: z.enum(["direct", "grant"]).optional(),
|
|
2193
|
+
sort: zResourceListSort.optional(),
|
|
2194
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2195
|
+
cursor: z.string().max(1024).optional()
|
|
2196
|
+
});
|
|
2197
|
+
var zListProjectAvailableSkillsResponse = zListProjectSkillAccessesResponse;
|
|
2198
|
+
var zListSecretsPath = z.object({
|
|
2199
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/)
|
|
2200
|
+
});
|
|
2201
|
+
var zListSecretsQuery = z.object({
|
|
2202
|
+
name: z.string().min(1).max(200).optional(),
|
|
2203
|
+
kind: zSecretKind.optional(),
|
|
2204
|
+
owner_kind: z.enum([
|
|
2205
|
+
"org",
|
|
2206
|
+
"project",
|
|
2207
|
+
"user"
|
|
2208
|
+
]).optional(),
|
|
2209
|
+
owner_project_id: zProjectId.optional(),
|
|
2210
|
+
mcp_oauth_flow_id: zMcpoAuthFlowId.optional(),
|
|
2211
|
+
metadata: z.record(z.string(), z.string()).optional(),
|
|
2212
|
+
sort: zResourceListSort.optional(),
|
|
2213
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2214
|
+
cursor: z.string().max(1024).optional()
|
|
2215
|
+
});
|
|
2216
|
+
var zListSecretsResponse2 = zListSecretsResponse;
|
|
2217
|
+
var zCreateSecretBody = zCreateSecretRequest;
|
|
2218
|
+
var zCreateSecretPath = z.object({
|
|
2219
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/)
|
|
2220
|
+
});
|
|
2221
|
+
var zCreateSecretResponse = zSecret;
|
|
2222
|
+
var zStartSecretMcpoAuthBody = zMcpoAuthStartRequest;
|
|
2223
|
+
var zStartSecretMcpoAuthPath = z.object({
|
|
2224
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/)
|
|
2225
|
+
});
|
|
2226
|
+
var zStartSecretMcpoAuthResponse = zMcpoAuthStartResponse;
|
|
2227
|
+
var zDeleteSecretPath = z.object({
|
|
2228
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2229
|
+
secretID: z.string().regex(/^sec_[a-z2-7]{26}$/)
|
|
2230
|
+
});
|
|
2231
|
+
var zDeleteSecretResponse = z.void();
|
|
2232
|
+
var zGetSecretPath = z.object({
|
|
2233
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2234
|
+
secretID: z.string().regex(/^sec_[a-z2-7]{26}$/)
|
|
2235
|
+
});
|
|
2236
|
+
var zGetSecretResponse = zSecret;
|
|
2237
|
+
var zUpdateSecretBody = zUpdateSecretRequest;
|
|
2238
|
+
var zUpdateSecretPath = z.object({
|
|
2239
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2240
|
+
secretID: z.string().regex(/^sec_[a-z2-7]{26}$/)
|
|
2241
|
+
});
|
|
2242
|
+
var zUpdateSecretResponse = zSecret;
|
|
2243
|
+
var zCreateSecretVersionBody = zSecretVersionRequest;
|
|
2244
|
+
var zCreateSecretVersionPath = z.object({
|
|
2245
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2246
|
+
secretID: z.string().regex(/^sec_[a-z2-7]{26}$/)
|
|
2247
|
+
});
|
|
2248
|
+
var zCreateSecretVersionResponse = zSecret;
|
|
2249
|
+
var zListSecretGrantsPath = z.object({
|
|
2250
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2251
|
+
secretID: z.string().regex(/^sec_[a-z2-7]{26}$/)
|
|
2252
|
+
});
|
|
2253
|
+
var zListSecretGrantsQuery = z.object({
|
|
2254
|
+
name: z.string().min(1).max(200).optional(),
|
|
2255
|
+
sort: zCreatedResourceListSort.optional(),
|
|
2256
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2257
|
+
cursor: z.string().max(1024).optional()
|
|
2258
|
+
});
|
|
2259
|
+
var zListSecretGrantsResponse2 = zListSecretGrantsResponse;
|
|
2260
|
+
var zCreateSecretGrantBody = zSecretGrantCreateRequest;
|
|
2261
|
+
var zCreateSecretGrantPath = z.object({
|
|
2262
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2263
|
+
secretID: z.string().regex(/^sec_[a-z2-7]{26}$/)
|
|
2264
|
+
});
|
|
2265
|
+
var zCreateSecretGrantResponse = zSecretGrant;
|
|
2266
|
+
var zDeleteSecretGrantPath = z.object({
|
|
2267
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2268
|
+
secretID: z.string().regex(/^sec_[a-z2-7]{26}$/),
|
|
2269
|
+
grantID: z.string().regex(/^sgr_[a-z2-7]{26}$/)
|
|
2270
|
+
});
|
|
2271
|
+
var zDeleteSecretGrantResponse = z.void();
|
|
2272
|
+
var zListIntegrationInstallsPath = z.object({
|
|
2273
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2274
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
2275
|
+
});
|
|
2276
|
+
var zListIntegrationInstallsQuery = z.object({
|
|
2277
|
+
name: z.string().min(1).max(200).optional(),
|
|
2278
|
+
agent_profile_id: zAgentProfileId.optional(),
|
|
2279
|
+
oauth_flow_id: zIntegrationOAuthFlowId.optional(),
|
|
2280
|
+
sort: zResourceListSort.optional(),
|
|
2281
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2282
|
+
cursor: z.string().max(1024).optional()
|
|
2283
|
+
});
|
|
2284
|
+
var zListIntegrationInstallsResponse2 = zListIntegrationInstallsResponse;
|
|
2285
|
+
var zDeleteIntegrationInstallPath = z.object({
|
|
2286
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2287
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2288
|
+
integrationInstallID: z.string().regex(/^iin_[a-z2-7]{26}$/)
|
|
2289
|
+
});
|
|
2290
|
+
var zDeleteIntegrationInstallResponse = z.void();
|
|
2291
|
+
var zCreateAgentConfigBody = zCreateAgentConfigRequest;
|
|
2292
|
+
var zCreateAgentConfigPath = z.object({
|
|
2293
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2294
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
2295
|
+
});
|
|
2296
|
+
var zCreateAgentConfigResponse = zAgentConfig;
|
|
2297
|
+
var zGetToolCatalogResponse = zToolCatalog;
|
|
2298
|
+
var zGetAgentConfigPath = z.object({
|
|
2299
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2300
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2301
|
+
agentConfigID: z.string().regex(/^acfg_[a-z2-7]{26}$/)
|
|
2302
|
+
});
|
|
2303
|
+
var zGetAgentConfigResponse = zAgentConfig;
|
|
2304
|
+
var zListAgentProfilesPath = z.object({
|
|
2305
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2306
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
2307
|
+
});
|
|
2308
|
+
var zListAgentProfilesQuery = z.object({
|
|
2309
|
+
name: z.string().min(1).max(200).optional(),
|
|
2310
|
+
sort: zResourceListSort.optional(),
|
|
2311
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2312
|
+
cursor: z.string().max(1024).optional()
|
|
2313
|
+
});
|
|
2314
|
+
var zListAgentProfilesResponse2 = zListAgentProfilesResponse;
|
|
2315
|
+
var zCreateAgentProfileBody = zCreateAgentProfileRequest;
|
|
2316
|
+
var zCreateAgentProfileHeaders = z.object({
|
|
2317
|
+
"Idempotency-Key": z.string().min(1).max(255).optional()
|
|
2318
|
+
});
|
|
2319
|
+
var zCreateAgentProfilePath = z.object({
|
|
2320
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2321
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
2322
|
+
});
|
|
2323
|
+
var zCreateAgentProfileResponse = zAgentProfile;
|
|
2324
|
+
var zDeleteAgentProfilePath = z.object({
|
|
2325
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2326
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2327
|
+
agentProfileID: z.string().regex(/^aprf_[a-z2-7]{26}$/)
|
|
2328
|
+
});
|
|
2329
|
+
var zDeleteAgentProfileResponse = z.void();
|
|
2330
|
+
var zGetAgentProfilePath = z.object({
|
|
2331
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2332
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2333
|
+
agentProfileID: z.string().regex(/^aprf_[a-z2-7]{26}$/)
|
|
2334
|
+
});
|
|
2335
|
+
var zGetAgentProfileResponse = zAgentProfile;
|
|
2336
|
+
var zRenameAgentProfileBody = zRenameAgentProfileRequest;
|
|
2337
|
+
var zRenameAgentProfilePath = z.object({
|
|
2338
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2339
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2340
|
+
agentProfileID: z.string().regex(/^aprf_[a-z2-7]{26}$/)
|
|
2341
|
+
});
|
|
2342
|
+
var zRenameAgentProfileResponse = zAgentProfile;
|
|
2343
|
+
var zUpdateAgentProfileBody = zUpdateAgentProfileRequest;
|
|
2344
|
+
var zUpdateAgentProfileHeaders = z.object({
|
|
2345
|
+
"Idempotency-Key": z.string().min(1).max(255).optional()
|
|
2346
|
+
});
|
|
2347
|
+
var zUpdateAgentProfilePath = z.object({
|
|
2348
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2349
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2350
|
+
agentProfileID: z.string().regex(/^aprf_[a-z2-7]{26}$/)
|
|
2351
|
+
});
|
|
2352
|
+
var zUpdateAgentProfileResponse = zAgentProfile;
|
|
2353
|
+
var zCreateIntegrationOAuthSetupBody = zCreateIntegrationOAuthSetupRequest;
|
|
2354
|
+
var zCreateIntegrationOAuthSetupPath = z.object({
|
|
2355
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2356
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2357
|
+
agentProfileID: z.string().regex(/^aprf_[a-z2-7]{26}$/)
|
|
2358
|
+
});
|
|
2359
|
+
var zCreateIntegrationOAuthSetupResponse = zIntegrationOAuthSetup;
|
|
2360
|
+
var zCreateSlackSetupBody = zCreateSlackSetupRequest;
|
|
2361
|
+
var zCreateSlackSetupPath = z.object({
|
|
2362
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2363
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2364
|
+
agentProfileID: z.string().regex(/^aprf_[a-z2-7]{26}$/)
|
|
2365
|
+
});
|
|
2366
|
+
var zCreateSlackSetupResponse = zSlackSetup;
|
|
2367
|
+
var zListCronTriggersPath = z.object({
|
|
2368
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2369
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
2370
|
+
});
|
|
2371
|
+
var zListCronTriggersQuery = z.object({
|
|
2372
|
+
name: z.string().min(1).max(200).optional(),
|
|
2373
|
+
agent_id: zAgentId.optional(),
|
|
2374
|
+
agent_profile_id: zAgentProfileId.optional(),
|
|
2375
|
+
sort: zResourceListSort.optional(),
|
|
2376
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2377
|
+
cursor: z.string().max(1024).optional()
|
|
2378
|
+
});
|
|
2379
|
+
var zListCronTriggersResponse2 = zListCronTriggersResponse;
|
|
2380
|
+
var zCreateCronTriggerBody = zCreateCronTriggerRequest;
|
|
2381
|
+
var zCreateCronTriggerHeaders = z.object({
|
|
2382
|
+
"Idempotency-Key": z.string().min(1).max(255).optional()
|
|
2383
|
+
});
|
|
2384
|
+
var zCreateCronTriggerPath = z.object({
|
|
2385
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2386
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
2387
|
+
});
|
|
2388
|
+
var zCreateCronTriggerResponse = zCronTrigger;
|
|
2389
|
+
var zDeleteCronTriggerPath = z.object({
|
|
2390
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2391
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2392
|
+
cronTriggerID: zCronTriggerId
|
|
2393
|
+
});
|
|
2394
|
+
var zDeleteCronTriggerResponse = z.void();
|
|
2395
|
+
var zGetCronTriggerPath = z.object({
|
|
2396
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2397
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2398
|
+
cronTriggerID: zCronTriggerId
|
|
2399
|
+
});
|
|
2400
|
+
var zGetCronTriggerResponse = zCronTrigger;
|
|
2401
|
+
var zUpdateCronTriggerBody = zUpdateCronTriggerRequest;
|
|
2402
|
+
var zUpdateCronTriggerPath = z.object({
|
|
2403
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2404
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2405
|
+
cronTriggerID: zCronTriggerId
|
|
2406
|
+
});
|
|
2407
|
+
var zUpdateCronTriggerResponse = zCronTrigger;
|
|
2408
|
+
var zListAgentsPath = z.object({
|
|
2409
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2410
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
2411
|
+
});
|
|
2412
|
+
var zListAgentsQuery = z.object({
|
|
2413
|
+
name: z.string().min(1).max(200).optional(),
|
|
2414
|
+
agent_profile_id: zAgentProfileId.optional(),
|
|
2415
|
+
sort: zResourceListSort.optional(),
|
|
2416
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2417
|
+
cursor: z.string().max(1024).optional()
|
|
2418
|
+
});
|
|
2419
|
+
var zListAgentsResponse2 = zListAgentsResponse;
|
|
2420
|
+
var zCreateAgentBody = zCreateAgentRequest;
|
|
2421
|
+
var zCreateAgentHeaders = z.object({
|
|
2422
|
+
"Idempotency-Key": z.string().min(1).max(255).optional()
|
|
2423
|
+
});
|
|
2424
|
+
var zCreateAgentPath = z.object({
|
|
2425
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2426
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
2427
|
+
});
|
|
2428
|
+
var zCreateAgentResponse = z.union([
|
|
2429
|
+
zCurrentAgentResponse,
|
|
2430
|
+
zLaunchAgentResponse
|
|
2431
|
+
]);
|
|
2432
|
+
var zGetAgentPath = z.object({
|
|
2433
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2434
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2435
|
+
agentID: z.string().regex(/^agt_[a-z2-7]{26}$/)
|
|
2436
|
+
});
|
|
2437
|
+
var zGetAgentResponse2 = zGetAgentResponse;
|
|
2438
|
+
var zArchiveAgentPath = z.object({
|
|
2439
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2440
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2441
|
+
agentID: z.string().regex(/^agt_[a-z2-7]{26}$/)
|
|
2442
|
+
});
|
|
2443
|
+
var zArchiveAgentResponse = zCurrentAgentResponse;
|
|
2444
|
+
var zUpdateAgentConfigBody = zUpdateAgentConfigRequest;
|
|
2445
|
+
var zUpdateAgentConfigHeaders = z.object({
|
|
2446
|
+
"Idempotency-Key": z.string().min(1).max(255).optional()
|
|
2447
|
+
});
|
|
2448
|
+
var zUpdateAgentConfigPath = z.object({
|
|
2449
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2450
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2451
|
+
agentID: z.string().regex(/^agt_[a-z2-7]{26}$/)
|
|
2452
|
+
});
|
|
2453
|
+
var zUpdateAgentConfigResponse2 = zUpdateAgentConfigResponse;
|
|
2454
|
+
var zCreateAgentInputBody = zCreateAgentInputRequest;
|
|
2455
|
+
var zCreateAgentInputHeaders = z.object({
|
|
2456
|
+
"Idempotency-Key": z.string().min(1).max(255).optional()
|
|
2457
|
+
});
|
|
2458
|
+
var zCreateAgentInputPath = z.object({
|
|
2459
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2460
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2461
|
+
agentID: z.string().regex(/^agt_[a-z2-7]{26}$/)
|
|
2462
|
+
});
|
|
2463
|
+
var zCreateAgentInputResponse = zAgentInputEnvelope;
|
|
2464
|
+
var zListToolCallsPath = z.object({
|
|
2465
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2466
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2467
|
+
agentID: z.string().regex(/^agt_[a-z2-7]{26}$/)
|
|
2468
|
+
});
|
|
2469
|
+
var zListToolCallsQuery = z.object({
|
|
2470
|
+
state: zToolCallState.optional(),
|
|
2471
|
+
type: zToolCallType.optional(),
|
|
2472
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2473
|
+
cursor: z.string().max(1024).optional()
|
|
2474
|
+
});
|
|
2475
|
+
var zListToolCallsResponse2 = zListToolCallsResponse;
|
|
2476
|
+
var zSubmitToolCallResultBody = zSubmitToolCallResultRequest;
|
|
2477
|
+
var zSubmitToolCallResultPath = z.object({
|
|
2478
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2479
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2480
|
+
agentID: z.string().regex(/^agt_[a-z2-7]{26}$/),
|
|
2481
|
+
toolCallID: zToolCallId
|
|
2482
|
+
});
|
|
2483
|
+
var zSubmitToolCallResultResponse2 = zSubmitToolCallResultResponse;
|
|
2484
|
+
var zListTurnsPath = z.object({
|
|
2485
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2486
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2487
|
+
agentID: z.string().regex(/^agt_[a-z2-7]{26}$/)
|
|
2488
|
+
});
|
|
2489
|
+
var zListTurnsQuery = z.object({
|
|
2490
|
+
before_turn_sequence: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional(),
|
|
2491
|
+
limit: z.int().gte(1).lte(100).optional().default(25)
|
|
2492
|
+
});
|
|
2493
|
+
var zListTurnsResponse = zListAgentTurnsResponse;
|
|
2494
|
+
var zListTurnEventsPath = z.object({
|
|
2495
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2496
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2497
|
+
agentID: z.string().regex(/^agt_[a-z2-7]{26}$/),
|
|
2498
|
+
turnID: z.string().regex(/^trn_[a-z2-7]{26}$/)
|
|
2499
|
+
});
|
|
2500
|
+
var zListTurnEventsQuery = z.object({
|
|
2501
|
+
before_sequence: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional(),
|
|
2502
|
+
limit: z.int().gte(1).lte(500).optional().default(100)
|
|
2503
|
+
});
|
|
2504
|
+
var zListTurnEventsResponse2 = zListTurnEventsResponse;
|
|
2505
|
+
var zListEventsPath = z.object({
|
|
2506
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2507
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2508
|
+
agentID: z.string().regex(/^agt_[a-z2-7]{26}$/)
|
|
2509
|
+
});
|
|
2510
|
+
var zListEventsQuery = z.object({
|
|
2511
|
+
before_sequence: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional(),
|
|
2512
|
+
after_sequence: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional(),
|
|
2513
|
+
limit: z.int().gte(1).lte(500).optional().default(100)
|
|
2514
|
+
});
|
|
2515
|
+
var zListEventsResponse = zListAgentEventsResponse;
|
|
2516
|
+
var zStreamEventsHeaders = z.object({
|
|
2517
|
+
"Last-Event-ID": z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional()
|
|
2518
|
+
});
|
|
2519
|
+
var zStreamEventsPath = z.object({
|
|
2520
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2521
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2522
|
+
agentID: z.string().regex(/^agt_[a-z2-7]{26}$/)
|
|
2523
|
+
});
|
|
2524
|
+
var zStreamEventsQuery = z.object({
|
|
2525
|
+
after_sequence: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional(),
|
|
2526
|
+
stream_deltas: z.boolean().optional()
|
|
2527
|
+
});
|
|
2528
|
+
var zStreamEventsResponse = zAgentEventStreamData;
|
|
2529
|
+
var zCancelAgentBody = zCancelAgentRequest;
|
|
2530
|
+
var zCancelAgentPath = z.object({
|
|
2531
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2532
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2533
|
+
agentID: z.string().regex(/^agt_[a-z2-7]{26}$/)
|
|
2534
|
+
});
|
|
2535
|
+
var zCancelAgentResponse2 = zCancelAgentResponse;
|
|
2536
|
+
var zListAgentInteractionsPath = z.object({
|
|
2537
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2538
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2539
|
+
agentID: z.string().regex(/^agt_[a-z2-7]{26}$/)
|
|
2540
|
+
});
|
|
2541
|
+
var zListAgentInteractionsQuery = z.object({
|
|
2542
|
+
state: zAgentInteractionState.optional(),
|
|
2543
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2544
|
+
cursor: z.string().max(1024).optional()
|
|
2545
|
+
});
|
|
2546
|
+
var zListAgentInteractionsResponse2 = zListAgentInteractionsResponse;
|
|
2547
|
+
var zResolveAgentInteractionBody = zResolveAgentInteractionRequest;
|
|
2548
|
+
var zResolveAgentInteractionPath = z.object({
|
|
2549
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2550
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2551
|
+
agentID: z.string().regex(/^agt_[a-z2-7]{26}$/),
|
|
2552
|
+
interactionID: z.string().regex(/^int_[a-z2-7]{26}$/)
|
|
2553
|
+
});
|
|
2554
|
+
var zResolveAgentInteractionResponse = zAgentInteraction;
|
|
2555
|
+
var zListQueuedBacklogInputsPath = z.object({
|
|
2556
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2557
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2558
|
+
agentID: z.string().regex(/^agt_[a-z2-7]{26}$/)
|
|
2559
|
+
});
|
|
2560
|
+
var zListQueuedBacklogInputsQuery = z.object({
|
|
2561
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2562
|
+
cursor: z.string().max(1024).optional()
|
|
2563
|
+
});
|
|
2564
|
+
var zListQueuedBacklogInputsResponse = zListAgentInputsResponse;
|
|
2565
|
+
var zCancelQueuedBacklogInputPath = z.object({
|
|
2566
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2567
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2568
|
+
agentID: z.string().regex(/^agt_[a-z2-7]{26}$/),
|
|
2569
|
+
inputID: z.string().regex(/^ain_[a-z2-7]{26}$/)
|
|
2570
|
+
});
|
|
2571
|
+
var zCancelQueuedBacklogInputResponse = zOkResponse;
|
|
2572
|
+
var zMoveQueuedBacklogInputBody = zMoveQueuedBacklogInputRequest;
|
|
2573
|
+
var zMoveQueuedBacklogInputPath = z.object({
|
|
2574
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2575
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2576
|
+
agentID: z.string().regex(/^agt_[a-z2-7]{26}$/),
|
|
2577
|
+
inputID: z.string().regex(/^ain_[a-z2-7]{26}$/)
|
|
2578
|
+
});
|
|
2579
|
+
var zMoveQueuedBacklogInputResponse = zOkResponse;
|
|
2580
|
+
var zPromoteQueuedInputToSteeringBody = zPromoteQueuedInputToSteeringRequest;
|
|
2581
|
+
var zPromoteQueuedInputToSteeringPath = z.object({
|
|
2582
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2583
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2584
|
+
agentID: z.string().regex(/^agt_[a-z2-7]{26}$/),
|
|
2585
|
+
inputID: z.string().regex(/^ain_[a-z2-7]{26}$/)
|
|
2586
|
+
});
|
|
2587
|
+
var zPromoteQueuedInputToSteeringResponse = zOkResponse;
|
|
2588
|
+
var zDemoteSteeringInputToQueuedPath = z.object({
|
|
2589
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2590
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2591
|
+
agentID: z.string().regex(/^agt_[a-z2-7]{26}$/),
|
|
2592
|
+
inputID: z.string().regex(/^ain_[a-z2-7]{26}$/)
|
|
2593
|
+
});
|
|
2594
|
+
var zDemoteSteeringInputToQueuedResponse = zOkResponse;
|
|
2595
|
+
var zGetArtifactPath = z.object({
|
|
2596
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2597
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2598
|
+
agentID: z.string().regex(/^agt_[a-z2-7]{26}$/),
|
|
2599
|
+
artifactID: z.string().regex(/^art_[a-z2-7]{26}$/)
|
|
2600
|
+
});
|
|
2601
|
+
var zGetArtifactResponse = zArtifact;
|
|
2602
|
+
var zGetArtifactContentPath = z.object({
|
|
2603
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2604
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2605
|
+
agentID: z.string().regex(/^agt_[a-z2-7]{26}$/),
|
|
2606
|
+
artifactID: z.string().regex(/^art_[a-z2-7]{26}$/)
|
|
2607
|
+
});
|
|
2608
|
+
var zGetArtifactContentResponse = z.string();
|
|
2609
|
+
var zListVisibleProjectMachinesPath = z.object({
|
|
2610
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2611
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
2612
|
+
});
|
|
2613
|
+
var zListVisibleProjectMachinesQuery = z.object({
|
|
2614
|
+
name: z.string().min(1).max(200).optional(),
|
|
2615
|
+
source_kind: zMachineSourceKind.optional(),
|
|
2616
|
+
sort: zResourceListSort.optional(),
|
|
2617
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2618
|
+
cursor: z.string().max(1024).optional()
|
|
2619
|
+
});
|
|
2620
|
+
var zListVisibleProjectMachinesResponse = zListVisibleMachinesResponse;
|
|
2621
|
+
var zListProjectMachineGrantsPath = z.object({
|
|
2622
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2623
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
2624
|
+
});
|
|
2625
|
+
var zListProjectMachineGrantsQuery = z.object({
|
|
2626
|
+
name: z.string().min(1).max(200).optional(),
|
|
2627
|
+
sort: zResourceListSort.optional(),
|
|
2628
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2629
|
+
cursor: z.string().max(1024).optional()
|
|
2630
|
+
});
|
|
2631
|
+
var zListProjectMachineGrantsResponse2 = zListProjectMachineGrantsResponse;
|
|
2632
|
+
var zCreateProjectMachineGrantBody = zCreateProjectMachineGrantRequest;
|
|
2633
|
+
var zCreateProjectMachineGrantHeaders = z.object({
|
|
2634
|
+
"Idempotency-Key": z.string().min(1).max(255).optional()
|
|
2635
|
+
});
|
|
2636
|
+
var zCreateProjectMachineGrantPath = z.object({
|
|
2637
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2638
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
2639
|
+
});
|
|
2640
|
+
var zCreateProjectMachineGrantResponse2 = zCreateProjectMachineGrantResponse;
|
|
2641
|
+
var zDeleteProjectMachineGrantPath = z.object({
|
|
2642
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2643
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2644
|
+
grantID: z.string().regex(/^pmg_[a-z2-7]{26}$/)
|
|
2645
|
+
});
|
|
2646
|
+
var zDeleteProjectMachineGrantResponse = z.void();
|
|
2647
|
+
var zListProjectAvailableSecretsPath = z.object({
|
|
2648
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2649
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
2650
|
+
});
|
|
2651
|
+
var zListProjectAvailableSecretsQuery = z.object({
|
|
2652
|
+
name: z.string().min(1).max(200).optional(),
|
|
2653
|
+
kind: zSecretKind.optional(),
|
|
2654
|
+
owner_kind: z.enum([
|
|
2655
|
+
"org",
|
|
2656
|
+
"project",
|
|
2657
|
+
"user"
|
|
2658
|
+
]).optional(),
|
|
2659
|
+
availability_source: z.enum(["direct", "grant"]).optional(),
|
|
2660
|
+
metadata: z.record(z.string(), z.string()).optional(),
|
|
2661
|
+
sort: zResourceListSort.optional(),
|
|
2662
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2663
|
+
cursor: z.string().max(1024).optional()
|
|
2664
|
+
});
|
|
2665
|
+
var zListProjectAvailableSecretsResponse = zListProjectSecretAccessesResponse;
|
|
2666
|
+
var zGetProjectAvailableSecretPath = z.object({
|
|
2667
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2668
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2669
|
+
secretID: z.string().regex(/^sec_[a-z2-7]{26}$/)
|
|
2670
|
+
});
|
|
2671
|
+
var zGetProjectAvailableSecretResponse = zProjectSecretAccess;
|
|
2672
|
+
var zListActorsPath = z.object({
|
|
2673
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2674
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
2675
|
+
});
|
|
2676
|
+
var zListActorsQuery = z.object({
|
|
2677
|
+
provider: zActorProvider.optional(),
|
|
2678
|
+
provider_tenant_id: z.string().optional(),
|
|
2679
|
+
provider_user_id: z.string().optional(),
|
|
2680
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2681
|
+
cursor: z.string().max(1024).optional()
|
|
2682
|
+
});
|
|
2683
|
+
var zListActorsResponse2 = zListActorsResponse;
|
|
2684
|
+
var zPutActorBody = zExternalActorParams;
|
|
2685
|
+
var zPutActorPath = z.object({
|
|
2686
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2687
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
2688
|
+
});
|
|
2689
|
+
var zPutActorResponse = zActor;
|
|
2690
|
+
var zGetActorPath = z.object({
|
|
2691
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2692
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2693
|
+
actorID: z.string().regex(/^actr_[a-z2-7]{26}$/)
|
|
2694
|
+
});
|
|
2695
|
+
var zGetActorResponse = zActor;
|
|
2696
|
+
var zListVisibleMachinesPath = z.object({
|
|
2697
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/)
|
|
2698
|
+
});
|
|
2699
|
+
var zListVisibleMachinesQuery = z.object({
|
|
2700
|
+
name: z.string().min(1).max(200).optional(),
|
|
2701
|
+
source_kind: zMachineSourceKind.optional(),
|
|
2702
|
+
sort: zResourceListSort.optional(),
|
|
2703
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2704
|
+
cursor: z.string().max(1024).optional()
|
|
2705
|
+
});
|
|
2706
|
+
var zListVisibleMachinesResponse2 = zListVisibleMachinesResponse;
|
|
2707
|
+
var zCreateMachineBody = zCreateMachineRequest;
|
|
2708
|
+
var zCreateMachineHeaders = z.object({
|
|
2709
|
+
"Idempotency-Key": z.string().min(1).max(255).optional()
|
|
2710
|
+
});
|
|
2711
|
+
var zCreateMachinePath = z.object({
|
|
2712
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/)
|
|
2713
|
+
});
|
|
2714
|
+
var zCreateMachineResponse = zMachine;
|
|
2715
|
+
var zConnectByoMachineBody = zConnectByoMachineRequest;
|
|
2716
|
+
var zConnectByoMachinePath = z.object({
|
|
2717
|
+
orgID: zOrganizationId
|
|
2718
|
+
});
|
|
2719
|
+
var zConnectByoMachineResponse2 = zConnectByoMachineResponse;
|
|
2720
|
+
var zDeleteMachinePath = z.object({
|
|
2721
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2722
|
+
machineID: z.string().regex(/^mch_[a-z2-7]{26}$/)
|
|
2723
|
+
});
|
|
2724
|
+
var zDeleteMachineResponse = z.void();
|
|
2725
|
+
var zGetMachinePath = z.object({
|
|
2726
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2727
|
+
machineID: z.string().regex(/^mch_[a-z2-7]{26}$/)
|
|
2728
|
+
});
|
|
2729
|
+
var zGetMachineResponse = zMachine;
|
|
2730
|
+
var zUpdateMachineBody = zUpdateMachineRequest;
|
|
2731
|
+
var zUpdateMachinePath = z.object({
|
|
2732
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2733
|
+
machineID: z.string().regex(/^mch_[a-z2-7]{26}$/)
|
|
2734
|
+
});
|
|
2735
|
+
var zUpdateMachineResponse = zMachine;
|
|
2736
|
+
var zListModelProviderConfigsPath = z.object({
|
|
2737
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/)
|
|
2738
|
+
});
|
|
2739
|
+
var zListModelProviderConfigsQuery = z.object({
|
|
2740
|
+
name: z.string().min(1).max(200).optional(),
|
|
2741
|
+
sort: zResourceListSort.optional(),
|
|
2742
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2743
|
+
cursor: z.string().max(1024).optional()
|
|
2744
|
+
});
|
|
2745
|
+
var zListModelProviderConfigsResponse = zModelProviderConfigList;
|
|
2746
|
+
var zCreateModelProviderConfigBody = zCreateModelProviderConfigRequest;
|
|
2747
|
+
var zCreateModelProviderConfigPath = z.object({
|
|
2748
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/)
|
|
2749
|
+
});
|
|
2750
|
+
var zCreateModelProviderConfigResponse2 = zCreateModelProviderConfigResponse;
|
|
2751
|
+
var zDeleteModelProviderConfigPath = z.object({
|
|
2752
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2753
|
+
modelProviderConfigID: z.string().regex(/^mpc_[a-z2-7]{26}$/)
|
|
2754
|
+
});
|
|
2755
|
+
var zDeleteModelProviderConfigResponse = z.void();
|
|
2756
|
+
var zGetModelProviderConfigPath = z.object({
|
|
2757
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2758
|
+
modelProviderConfigID: z.string().regex(/^mpc_[a-z2-7]{26}$/)
|
|
2759
|
+
});
|
|
2760
|
+
var zGetModelProviderConfigResponse = zModelProviderConfig;
|
|
2761
|
+
var zUpdateModelProviderConfigBody = zUpdateModelProviderConfigRequest;
|
|
2762
|
+
var zUpdateModelProviderConfigPath = z.object({
|
|
2763
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2764
|
+
modelProviderConfigID: z.string().regex(/^mpc_[a-z2-7]{26}$/)
|
|
2765
|
+
});
|
|
2766
|
+
var zUpdateModelProviderConfigResponse = zModelProviderConfig;
|
|
2767
|
+
var zGetModelCatalogPath = z.object({
|
|
2768
|
+
orgID: zOrganizationId,
|
|
2769
|
+
modelProviderConfigID: zModelProviderConfigId
|
|
2770
|
+
});
|
|
2771
|
+
var zGetModelCatalogResponse = zModelCatalog;
|
|
2772
|
+
var zListConfiguredModelsPath = z.object({
|
|
2773
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2774
|
+
modelProviderConfigID: z.string().regex(/^mpc_[a-z2-7]{26}$/)
|
|
2775
|
+
});
|
|
2776
|
+
var zListConfiguredModelsQuery = z.object({
|
|
2777
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2778
|
+
cursor: z.string().max(1024).optional()
|
|
2779
|
+
});
|
|
2780
|
+
var zListConfiguredModelsResponse = zConfiguredModelList;
|
|
2781
|
+
var zCreateConfiguredModelBody = zCreateConfiguredModelRequest;
|
|
2782
|
+
var zCreateConfiguredModelPath = z.object({
|
|
2783
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2784
|
+
modelProviderConfigID: z.string().regex(/^mpc_[a-z2-7]{26}$/)
|
|
2785
|
+
});
|
|
2786
|
+
var zCreateConfiguredModelResponse = zConfiguredModel;
|
|
2787
|
+
var zDeleteConfiguredModelPath = z.object({
|
|
2788
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2789
|
+
modelProviderConfigID: z.string().regex(/^mpc_[a-z2-7]{26}$/),
|
|
2790
|
+
configuredModelID: z.string().regex(/^mdl_[a-z2-7]{26}$/)
|
|
2791
|
+
});
|
|
2792
|
+
var zDeleteConfiguredModelResponse = z.void();
|
|
2793
|
+
var zUpdateConfiguredModelBody = zUpdateConfiguredModelRequest;
|
|
2794
|
+
var zUpdateConfiguredModelPath = z.object({
|
|
2795
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2796
|
+
modelProviderConfigID: z.string().regex(/^mpc_[a-z2-7]{26}$/),
|
|
2797
|
+
configuredModelID: z.string().regex(/^mdl_[a-z2-7]{26}$/)
|
|
2798
|
+
});
|
|
2799
|
+
var zUpdateConfiguredModelResponse = zConfiguredModel;
|
|
2800
|
+
var zListProjectModelGrantsPath = z.object({
|
|
2801
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2802
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
2803
|
+
});
|
|
2804
|
+
var zListProjectModelGrantsQuery = z.object({
|
|
2805
|
+
name: z.string().min(1).max(200).optional(),
|
|
2806
|
+
sort: zResourceListSort.optional(),
|
|
2807
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2808
|
+
cursor: z.string().max(1024).optional()
|
|
2809
|
+
});
|
|
2810
|
+
var zListProjectModelGrantsResponse2 = zListProjectModelGrantsResponse;
|
|
2811
|
+
var zCreateProjectModelGrantBody = zCreateProjectModelGrantRequest;
|
|
2812
|
+
var zCreateProjectModelGrantPath = z.object({
|
|
2813
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2814
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
2815
|
+
});
|
|
2816
|
+
var zCreateProjectModelGrantResponse = zProjectModelGrantEnvelope;
|
|
2817
|
+
var zDeleteProjectModelGrantPath = z.object({
|
|
2818
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2819
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2820
|
+
modelGrantID: z.string().regex(/^pmog_[a-z2-7]{26}$/)
|
|
2821
|
+
});
|
|
2822
|
+
var zDeleteProjectModelGrantResponse = z.void();
|
|
2823
|
+
var zUpdateProjectModelGrantBody = zUpdateProjectModelGrantRequest;
|
|
2824
|
+
var zUpdateProjectModelGrantPath = z.object({
|
|
2825
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2826
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2827
|
+
modelGrantID: z.string().regex(/^pmog_[a-z2-7]{26}$/)
|
|
2828
|
+
});
|
|
2829
|
+
var zUpdateProjectModelGrantResponse = zProjectModelGrantEnvelope;
|
|
2830
|
+
var zListMachinePoolsPath = z.object({
|
|
2831
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/)
|
|
2832
|
+
});
|
|
2833
|
+
var zListMachinePoolsQuery = z.object({
|
|
2834
|
+
name: z.string().min(1).max(200).optional(),
|
|
2835
|
+
sort: zResourceListSort.optional(),
|
|
2836
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2837
|
+
cursor: z.string().max(1024).optional()
|
|
2838
|
+
});
|
|
2839
|
+
var zListMachinePoolsResponse2 = zListMachinePoolsResponse;
|
|
2840
|
+
var zCreateMachinePoolBody = zCreateMachinePoolRequest;
|
|
2841
|
+
var zCreateMachinePoolPath = z.object({
|
|
2842
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/)
|
|
2843
|
+
});
|
|
2844
|
+
var zCreateMachinePoolResponse = zMachinePool;
|
|
2845
|
+
var zDeleteMachinePoolPath = z.object({
|
|
2846
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2847
|
+
poolID: z.string().regex(/^mpo_[a-z2-7]{26}$/)
|
|
2848
|
+
});
|
|
2849
|
+
var zDeleteMachinePoolResponse = z.void();
|
|
2850
|
+
var zGetMachinePoolPath = z.object({
|
|
2851
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2852
|
+
poolID: z.string().regex(/^mpo_[a-z2-7]{26}$/)
|
|
2853
|
+
});
|
|
2854
|
+
var zGetMachinePoolResponse = zMachinePool;
|
|
2855
|
+
var zUpdateMachinePoolBody = zUpdateMachinePoolRequest;
|
|
2856
|
+
var zUpdateMachinePoolPath = z.object({
|
|
2857
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2858
|
+
poolID: z.string().regex(/^mpo_[a-z2-7]{26}$/)
|
|
2859
|
+
});
|
|
2860
|
+
var zUpdateMachinePoolResponse = zMachinePool;
|
|
2861
|
+
var zListProjectMachinePoolGrantsPath = z.object({
|
|
2862
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2863
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
2864
|
+
});
|
|
2865
|
+
var zListProjectMachinePoolGrantsQuery = z.object({
|
|
2866
|
+
name: z.string().min(1).max(200).optional(),
|
|
2867
|
+
sort: zResourceListSort.optional(),
|
|
2868
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2869
|
+
cursor: z.string().max(1024).optional()
|
|
2870
|
+
});
|
|
2871
|
+
var zListProjectMachinePoolGrantsResponse2 = zListProjectMachinePoolGrantsResponse;
|
|
2872
|
+
var zCreateProjectMachinePoolGrantBody = zCreateProjectMachinePoolGrantRequest;
|
|
2873
|
+
var zCreateProjectMachinePoolGrantHeaders = z.object({
|
|
2874
|
+
"Idempotency-Key": z.string().min(1).max(255).optional()
|
|
2875
|
+
});
|
|
2876
|
+
var zCreateProjectMachinePoolGrantPath = z.object({
|
|
2877
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2878
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
2879
|
+
});
|
|
2880
|
+
var zCreateProjectMachinePoolGrantResponse = zProjectMachinePoolGrant;
|
|
2881
|
+
var zDeleteProjectMachinePoolGrantPath = z.object({
|
|
2882
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2883
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2884
|
+
poolGrantID: z.string().regex(/^pmpg_[a-z2-7]{26}$/)
|
|
2885
|
+
});
|
|
2886
|
+
var zDeleteProjectMachinePoolGrantResponse = z.void();
|
|
2887
|
+
var zGetProjectMachinePoolGrantPath = z.object({
|
|
2888
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2889
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2890
|
+
poolGrantID: z.string().regex(/^pmpg_[a-z2-7]{26}$/)
|
|
2891
|
+
});
|
|
2892
|
+
var zGetProjectMachinePoolGrantResponse = zProjectMachinePoolGrant;
|
|
2893
|
+
var zUpdateProjectMachinePoolGrantBody = zUpdateProjectMachinePoolGrantRequest;
|
|
2894
|
+
var zUpdateProjectMachinePoolGrantPath = z.object({
|
|
2895
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2896
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
2897
|
+
poolGrantID: z.string().regex(/^pmpg_[a-z2-7]{26}$/)
|
|
2898
|
+
});
|
|
2899
|
+
var zUpdateProjectMachinePoolGrantResponse = zProjectMachinePoolGrant;
|
|
2900
|
+
var zListByoMachineDaemonTokensPath = z.object({
|
|
2901
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2902
|
+
machineID: z.string().regex(/^mch_[a-z2-7]{26}$/)
|
|
2903
|
+
});
|
|
2904
|
+
var zListByoMachineDaemonTokensQuery = z.object({
|
|
2905
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
2906
|
+
cursor: z.string().max(1024).optional()
|
|
2907
|
+
});
|
|
2908
|
+
var zListByoMachineDaemonTokensResponse = zListMachineDaemonTokensResponse;
|
|
2909
|
+
var zCreateByoMachineDaemonTokenBody = zCreateMachineDaemonTokenRequest;
|
|
2910
|
+
var zCreateByoMachineDaemonTokenPath = z.object({
|
|
2911
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2912
|
+
machineID: z.string().regex(/^mch_[a-z2-7]{26}$/)
|
|
2913
|
+
});
|
|
2914
|
+
var zCreateByoMachineDaemonTokenResponse = zCreateMachineDaemonTokenResponse;
|
|
2915
|
+
var zRevokeMachineDaemonTokenPath = z.object({
|
|
2916
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
2917
|
+
machineID: z.string().regex(/^mch_[a-z2-7]{26}$/),
|
|
2918
|
+
tokenID: z.string().regex(/^mdt_[a-z2-7]{26}$/)
|
|
2919
|
+
});
|
|
2920
|
+
var zRevokeMachineDaemonTokenResponse = zMachineDaemonToken;
|
|
2921
|
+
var zRegisterMachineDaemonRuntimeBody = zRegisterDaemonRuntimeRequest;
|
|
2922
|
+
var zRegisterMachineDaemonRuntimeResponse = zRegisterDaemonRuntimeResponse;
|
|
2923
|
+
var zSocketMachineDaemonRuntimePath = z.object({
|
|
2924
|
+
runtimeID: z.string().regex(/^drt_[a-z2-7]{26}$/)
|
|
2925
|
+
});
|
|
2926
|
+
var zEndMachineDaemonRuntimePath = z.object({
|
|
2927
|
+
runtimeID: z.string().regex(/^drt_[a-z2-7]{26}$/)
|
|
2928
|
+
});
|
|
2929
|
+
var zEndMachineDaemonRuntimeResponse = zDaemonRuntime;
|
|
2930
|
+
var zSleepMachineDaemonRuntimePath = z.object({
|
|
2931
|
+
runtimeID: z.string().regex(/^drt_[a-z2-7]{26}$/)
|
|
2932
|
+
});
|
|
2933
|
+
var zSleepMachineDaemonRuntimeResponse = zDaemonRuntime;
|
|
2934
|
+
var zGetDaemonSkillArchivePath = z.object({
|
|
2935
|
+
skillID: z.string().regex(/^skl_[a-z2-7]{26}$/)
|
|
2936
|
+
});
|
|
2937
|
+
var zGetDaemonSkillArchiveQuery = z.object({
|
|
2938
|
+
revision_id: z.string().regex(/^skr_[a-z2-7]{26}$/),
|
|
2939
|
+
expires_at: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
2940
|
+
download_token: z.string().length(64)
|
|
2941
|
+
});
|
|
2942
|
+
var zGetDaemonSkillArchiveResponse = z.string();
|
|
2943
|
+
|
|
2944
|
+
export {
|
|
2945
|
+
zResourceListSort,
|
|
2946
|
+
zCreatedResourceListSort,
|
|
2947
|
+
zError,
|
|
2948
|
+
zWarning,
|
|
2949
|
+
zClientErrorCode,
|
|
2950
|
+
zServerErrorCode,
|
|
2951
|
+
zManagementKind,
|
|
2952
|
+
zOrganizationId,
|
|
2953
|
+
zOrgInvitationId,
|
|
2954
|
+
zPersonalAccessTokenId,
|
|
2955
|
+
zOrgApiKeyId,
|
|
2956
|
+
zProjectId,
|
|
2957
|
+
zMcpoAuthFlowId,
|
|
2958
|
+
zIntegrationOAuthFlowId,
|
|
2959
|
+
zActorId,
|
|
2960
|
+
zAgentId,
|
|
2961
|
+
zAgentConfigId,
|
|
2962
|
+
zAgentProfileId,
|
|
2963
|
+
zCronTriggerId,
|
|
2964
|
+
zIntegrationInstallId,
|
|
2965
|
+
zAgentEventId,
|
|
2966
|
+
zModelCallContextId,
|
|
2967
|
+
zAgentInputId,
|
|
2968
|
+
zAgentMachineBindingId,
|
|
2969
|
+
zAgentTurnId,
|
|
2970
|
+
zAgentInteractionId,
|
|
2971
|
+
zToolCallId,
|
|
2972
|
+
zContextCheckpointId,
|
|
2973
|
+
zArtifactId,
|
|
2974
|
+
zModelProviderConfigId,
|
|
2975
|
+
zConfiguredModelId,
|
|
2976
|
+
zConfiguredModelRevisionId,
|
|
2977
|
+
zProjectModelGrantId,
|
|
2978
|
+
zModelApiFormat,
|
|
2979
|
+
zModelProviderAuthKind,
|
|
2980
|
+
zModelProviderApiVariant,
|
|
2981
|
+
zModelProviderApiVariantResponse,
|
|
2982
|
+
zModelApiVariantOptions,
|
|
2983
|
+
zModelCacheRetention,
|
|
2984
|
+
zDiscoveredProviderModel,
|
|
2985
|
+
zModelCatalog,
|
|
2986
|
+
zCreateConfiguredModelRequest,
|
|
2987
|
+
zUpdateConfiguredModelRequest,
|
|
2988
|
+
zCreateProjectModelGrantRequest,
|
|
2989
|
+
zUpdateProjectModelGrantRequest,
|
|
2990
|
+
zMachinePoolId,
|
|
2991
|
+
zMachineId,
|
|
2992
|
+
zProjectMachineGrantId,
|
|
2993
|
+
zProjectMachinePoolGrantId,
|
|
2994
|
+
zMachineDaemonTokenId,
|
|
2995
|
+
zSkillId,
|
|
2996
|
+
zSkillRevisionId,
|
|
2997
|
+
zSkillGrantId,
|
|
2998
|
+
zSecretId,
|
|
2999
|
+
zCreateModelProviderConfigRequest,
|
|
3000
|
+
zUpdateModelProviderConfigRequest,
|
|
3001
|
+
zSecretGrantId,
|
|
3002
|
+
zDaemonRuntimeId,
|
|
3003
|
+
zProcessId,
|
|
3004
|
+
zProcessActionId,
|
|
3005
|
+
zInstallationId,
|
|
3006
|
+
zUserId,
|
|
3007
|
+
zTimestamp,
|
|
3008
|
+
zModelProviderConfig,
|
|
3009
|
+
zCreateModelProviderConfigResponse,
|
|
3010
|
+
zModelProviderConfigList,
|
|
3011
|
+
zConfiguredModel,
|
|
3012
|
+
zConfiguredModelList,
|
|
3013
|
+
zProjectModelGrant,
|
|
3014
|
+
zProjectModelGrantEnvelope,
|
|
3015
|
+
zConfiguredModelSummary,
|
|
3016
|
+
zProjectModelGrantListItem,
|
|
3017
|
+
zListProjectModelGrantsResponse,
|
|
3018
|
+
zOrgSkillOwnerInput,
|
|
3019
|
+
zProjectSkillOwnerInput,
|
|
3020
|
+
zUserSkillOwnerInput,
|
|
3021
|
+
zSkillOwnerInput,
|
|
3022
|
+
zOrgSkillOwner,
|
|
3023
|
+
zProjectSkillOwner,
|
|
3024
|
+
zUserSkillOwner,
|
|
3025
|
+
zSkillOwner,
|
|
3026
|
+
zCreateSkillRequest,
|
|
3027
|
+
zSkill,
|
|
3028
|
+
zListSkillsResponse,
|
|
3029
|
+
zDirectSkillAvailability,
|
|
3030
|
+
zGrantedSkillAvailability,
|
|
3031
|
+
zSkillAvailability,
|
|
3032
|
+
zProjectSkillAccess,
|
|
3033
|
+
zListProjectSkillAccessesResponse,
|
|
3034
|
+
zSkillGrantCreateRequest,
|
|
3035
|
+
zSkillGrant,
|
|
3036
|
+
zMcpoAuthStartMetadata,
|
|
3037
|
+
zMcpoAuthStartResponse,
|
|
3038
|
+
zCreateIntegrationOAuthSetupRequest,
|
|
3039
|
+
zIntegrationInstall,
|
|
3040
|
+
zListIntegrationInstallsResponse,
|
|
3041
|
+
zIntegrationOAuthSetup,
|
|
3042
|
+
zSlackSetupIcon,
|
|
3043
|
+
zCreateSlackSetupRequest,
|
|
3044
|
+
zSlackSetup,
|
|
3045
|
+
zCreateAgentConfigRequest,
|
|
3046
|
+
zUpdateAgentConfigRequest,
|
|
3047
|
+
zToolPermissionSelection,
|
|
3048
|
+
zToolPermissionMode,
|
|
3049
|
+
zToolPermissionProfile,
|
|
3050
|
+
zToolCatalogEntry,
|
|
3051
|
+
zToolCatalog,
|
|
3052
|
+
zAgentConfigModel,
|
|
3053
|
+
zAgentConfig,
|
|
3054
|
+
zCreateAgentProfileRequest,
|
|
3055
|
+
zUpdateAgentProfileRequest,
|
|
3056
|
+
zRenameAgentProfileRequest,
|
|
3057
|
+
zAgentProfile,
|
|
3058
|
+
zListAgentProfilesResponse,
|
|
3059
|
+
zAgentCronTriggerTarget,
|
|
3060
|
+
zAgentProfileCronTriggerTarget,
|
|
3061
|
+
zCronTriggerTarget,
|
|
3062
|
+
zCronExpression,
|
|
3063
|
+
zCronTimezone,
|
|
3064
|
+
zCronMessageTemplate,
|
|
3065
|
+
zCronTriggerFailureReport,
|
|
3066
|
+
zCreateCronTriggerRequest,
|
|
3067
|
+
zUpdateCronTriggerRequest,
|
|
3068
|
+
zCronTrigger,
|
|
3069
|
+
zListCronTriggersResponse,
|
|
3070
|
+
zCreateAgentRequest,
|
|
3071
|
+
zAgentModel,
|
|
3072
|
+
zIntegrationTarget,
|
|
3073
|
+
zAgent,
|
|
3074
|
+
zAgentMcpConnection,
|
|
3075
|
+
zCurrentAgentResponse,
|
|
3076
|
+
zGetAgentResponse,
|
|
3077
|
+
zListAgentsResponse,
|
|
3078
|
+
zAgentInputKind,
|
|
3079
|
+
zAgentControlType,
|
|
3080
|
+
zAgentSequence,
|
|
3081
|
+
zAgentSequenceCursor,
|
|
3082
|
+
zAgentCount,
|
|
3083
|
+
zModelStopReason,
|
|
3084
|
+
zModelOutputStopReason,
|
|
3085
|
+
zAgentInputDeliveryMode,
|
|
3086
|
+
zCreateAgentInputDeliveryMode,
|
|
3087
|
+
zAgentMachineBindingState,
|
|
3088
|
+
zAgentMachineBindingKind,
|
|
3089
|
+
zAgentMachineBinding,
|
|
3090
|
+
zMachineFailureReport,
|
|
3091
|
+
zJsonBlob,
|
|
3092
|
+
zToolInput,
|
|
3093
|
+
zMetadata,
|
|
3094
|
+
zContentBlockMetadata,
|
|
3095
|
+
zTextContentBlock,
|
|
3096
|
+
zInlineMediaContentBlock,
|
|
3097
|
+
zMediaRefContentBlock,
|
|
3098
|
+
zReasoningContentBlock,
|
|
3099
|
+
zErrorContentBlock,
|
|
3100
|
+
zStructuredDataContentBlock,
|
|
3101
|
+
zCreateAgentInputContentBlock,
|
|
3102
|
+
zAgentInputContentBlock,
|
|
3103
|
+
zToolResultContentBlock,
|
|
3104
|
+
zSubmitToolResultContentBlock,
|
|
3105
|
+
zAgentInput,
|
|
3106
|
+
zLaunchAgentResponse,
|
|
3107
|
+
zUpdateAgentConfigResponse,
|
|
3108
|
+
zMachineMetadata,
|
|
3109
|
+
zAgentInputEnvelope,
|
|
3110
|
+
zToolCallType,
|
|
3111
|
+
zModelToolCallContentBlock,
|
|
3112
|
+
zModelOutputContentBlock,
|
|
3113
|
+
zToolCallState,
|
|
3114
|
+
zToolCallOutcome,
|
|
3115
|
+
zToolCall,
|
|
3116
|
+
zToolCallUpdate,
|
|
3117
|
+
zListToolCallsResponse,
|
|
3118
|
+
zSubmitToolCallResultRequest,
|
|
3119
|
+
zToolResult,
|
|
3120
|
+
zSubmitToolCallResultResponse,
|
|
3121
|
+
zAgentInputEvent,
|
|
3122
|
+
zModelOutputEvent,
|
|
3123
|
+
zToolResultEvent,
|
|
3124
|
+
zContextCheckpointEvent,
|
|
3125
|
+
zAgentEvent,
|
|
3126
|
+
zModelOutputTextStreamBlock,
|
|
3127
|
+
zModelOutputThinkingStreamBlock,
|
|
3128
|
+
zModelOutputToolUseStreamBlock,
|
|
3129
|
+
zModelOutputStreamBlock,
|
|
3130
|
+
zModelOutputBlockStartDelta,
|
|
3131
|
+
zModelOutputTextDelta,
|
|
3132
|
+
zModelOutputThinkingDelta,
|
|
3133
|
+
zModelOutputToolArgumentsDelta,
|
|
3134
|
+
zModelOutputBlockStopDelta,
|
|
3135
|
+
zModelUsage,
|
|
3136
|
+
zModelOutputMessageStopDelta,
|
|
3137
|
+
zModelOutputErrorDelta,
|
|
3138
|
+
zModelOutputStreamDelta,
|
|
3139
|
+
zModelOutputDelta,
|
|
3140
|
+
zAgentEventStreamData,
|
|
3141
|
+
zListAgentEventsResponse,
|
|
3142
|
+
zListTurnEventsResponse,
|
|
3143
|
+
zAgentTurn,
|
|
3144
|
+
zListAgentTurnsResponse,
|
|
3145
|
+
zCancelAgentResponse,
|
|
3146
|
+
zOkResponse,
|
|
3147
|
+
zMoveQueuedBacklogInputRequest,
|
|
3148
|
+
zPromoteQueuedInputToSteeringRequest,
|
|
3149
|
+
zListAgentInputsResponse,
|
|
3150
|
+
zInteractionFormContextItem,
|
|
3151
|
+
zInteractionFormOption,
|
|
3152
|
+
zInteractionFormQuestion,
|
|
3153
|
+
zInteractionForm,
|
|
3154
|
+
zInteractionAnswer,
|
|
3155
|
+
zInteractionResolution,
|
|
3156
|
+
zAgentInteractionKind,
|
|
3157
|
+
zAgentInteractionState,
|
|
3158
|
+
zAgentInteraction,
|
|
3159
|
+
zActorProvider,
|
|
3160
|
+
zActor,
|
|
3161
|
+
zExternalActorParams,
|
|
3162
|
+
zCreateAgentInputRequest,
|
|
3163
|
+
zCancelAgentRequest,
|
|
3164
|
+
zResolveAgentInteractionRequest,
|
|
3165
|
+
zListActorsResponse,
|
|
3166
|
+
zListAgentInteractionsResponse,
|
|
3167
|
+
zOrgSecretOwnerInput,
|
|
3168
|
+
zProjectSecretOwnerInput,
|
|
3169
|
+
zUserSecretOwnerInput,
|
|
3170
|
+
zSecretOwnerInput,
|
|
3171
|
+
zMcpoAuthStartRequest,
|
|
3172
|
+
zOrgSecretOwner,
|
|
3173
|
+
zProjectSecretOwner,
|
|
3174
|
+
zUserSecretOwner,
|
|
3175
|
+
zSecretOwner,
|
|
3176
|
+
zGenericSecretMaterial,
|
|
3177
|
+
zOAuthRefreshSecretMaterial,
|
|
3178
|
+
zOAuthTokenSetSecretMaterial,
|
|
3179
|
+
zAwsCredentialsSecretMaterial,
|
|
3180
|
+
zSecretMaterial,
|
|
3181
|
+
zCreateSecretRequest,
|
|
3182
|
+
zUpdateSecretRequest,
|
|
3183
|
+
zSecretVersionRequest,
|
|
3184
|
+
zSecretGrantCreateRequest,
|
|
3185
|
+
zSecretKind,
|
|
3186
|
+
zSecret,
|
|
3187
|
+
zListSecretsResponse,
|
|
3188
|
+
zDirectSecretAvailability,
|
|
3189
|
+
zGrantedSecretAvailability,
|
|
3190
|
+
zSecretAvailability,
|
|
3191
|
+
zProjectSecretAccess,
|
|
3192
|
+
zListProjectSecretAccessesResponse,
|
|
3193
|
+
zSecretGrant,
|
|
3194
|
+
zCreateOrganizationRequest,
|
|
3195
|
+
zOrganization,
|
|
3196
|
+
zOrganizationMembership,
|
|
3197
|
+
zOrgInvitation,
|
|
3198
|
+
zListOrgInvitationsResponse,
|
|
3199
|
+
zCreateOrgInvitationRequest,
|
|
3200
|
+
zCreatePersonalAccessTokenRequest,
|
|
3201
|
+
zPersonalAccessToken,
|
|
3202
|
+
zCreatePersonalAccessTokenResponse,
|
|
3203
|
+
zOrgApiKeyRole,
|
|
3204
|
+
zOrgApiKey,
|
|
3205
|
+
zCreateOrgApiKeyRequest,
|
|
3206
|
+
zCreateOrgApiKeyResponse,
|
|
3207
|
+
zUpdateOrgApiKeyRequest,
|
|
3208
|
+
zListOrgApiKeysResponse,
|
|
3209
|
+
zArtifact,
|
|
3210
|
+
zCreateMachinePoolRequestBase,
|
|
3211
|
+
zCreateMachinePoolRequest,
|
|
3212
|
+
zUpdateMachinePoolRequest,
|
|
3213
|
+
zMachinePool,
|
|
3214
|
+
zListMachinePoolsResponse,
|
|
3215
|
+
zMachineSourceKind,
|
|
3216
|
+
zMachineLifecycleState,
|
|
3217
|
+
zMachineConnectionState,
|
|
3218
|
+
zMachineAccessSourceKind,
|
|
3219
|
+
zProjectMachineGrantSourceKind,
|
|
3220
|
+
zMachine,
|
|
3221
|
+
zCreateMachineRequest,
|
|
3222
|
+
zConnectByoMachineRequest,
|
|
3223
|
+
zUpdateMachineRequest,
|
|
3224
|
+
zMachineSummaryFields,
|
|
3225
|
+
zMachineSummary,
|
|
3226
|
+
zMachineAccessSource,
|
|
3227
|
+
zMachineAccess,
|
|
3228
|
+
zVisibleMachine,
|
|
3229
|
+
zListVisibleMachinesResponse,
|
|
3230
|
+
zProjectMachineGrant,
|
|
3231
|
+
zCreateProjectMachineGrantRequest,
|
|
3232
|
+
zCreateProjectMachineGrantResponse,
|
|
3233
|
+
zProjectMachineGrantListItem,
|
|
3234
|
+
zListProjectMachineGrantsResponse,
|
|
3235
|
+
zProjectMachinePoolGrant,
|
|
3236
|
+
zCreateProjectMachinePoolGrantRequest,
|
|
3237
|
+
zUpdateProjectMachinePoolGrantRequest,
|
|
3238
|
+
zMachinePoolSummary,
|
|
3239
|
+
zProjectMachinePoolGrantListItem,
|
|
3240
|
+
zListProjectMachinePoolGrantsResponse,
|
|
3241
|
+
zCreateMachineDaemonTokenRequest,
|
|
3242
|
+
zMachineDaemonToken,
|
|
3243
|
+
zConnectByoMachineResponse,
|
|
3244
|
+
zCreateMachineDaemonTokenResponse,
|
|
3245
|
+
zListMachineDaemonTokensResponse,
|
|
3246
|
+
zProcessActionReconciliationClaim,
|
|
3247
|
+
zProcessReconciliationClaim,
|
|
3248
|
+
zProcessActionReconciliationDirective,
|
|
3249
|
+
zProcessReconciliationDirective,
|
|
3250
|
+
zRegisterDaemonRuntimeRequest,
|
|
3251
|
+
zDaemonRuntimeState,
|
|
3252
|
+
zDaemonRuntime,
|
|
3253
|
+
zDaemonRuntimeReconciliation,
|
|
3254
|
+
zRegisterDaemonRuntimeResponse,
|
|
3255
|
+
zBootstrapDaemonResponse,
|
|
3256
|
+
zCreateProjectRequest,
|
|
3257
|
+
zProjectFields,
|
|
3258
|
+
zProject,
|
|
3259
|
+
zSkillGrantListItem,
|
|
3260
|
+
zListSkillGrantsResponse,
|
|
3261
|
+
zSecretGrantListItem,
|
|
3262
|
+
zListSecretGrantsResponse,
|
|
3263
|
+
zCreateOrganizationResponse,
|
|
3264
|
+
zProjectAccess,
|
|
3265
|
+
zVisibleProject,
|
|
3266
|
+
zListProjectsResponse,
|
|
3267
|
+
zOrgOverviewResponse,
|
|
3268
|
+
zCurrentUserIdentity,
|
|
3269
|
+
zCurrentUserOrg,
|
|
3270
|
+
zCurrentUser,
|
|
3271
|
+
zListPersonalAccessTokensResponse,
|
|
3272
|
+
zOrgMember,
|
|
3273
|
+
zListOrgMembersResponse,
|
|
3274
|
+
zUpdateOrgMemberRequest,
|
|
3275
|
+
zSetProjectMembershipRequest,
|
|
3276
|
+
zProjectMembershipGrant,
|
|
3277
|
+
zListProjectMembershipGrantsResponse,
|
|
3278
|
+
zIdempotencyKey,
|
|
3279
|
+
zPageLimit,
|
|
3280
|
+
zPageCursor,
|
|
3281
|
+
zResourceNameFilter,
|
|
3282
|
+
zMachineSourceKindFilter,
|
|
3283
|
+
zSecretMetadataFilter,
|
|
3284
|
+
zSecretKindFilter,
|
|
3285
|
+
zSkillOwnerKindFilter,
|
|
3286
|
+
zSkillOwnerProjectIdFilter,
|
|
3287
|
+
zSkillAvailabilitySourceFilter,
|
|
3288
|
+
zSecretOwnerKindFilter,
|
|
3289
|
+
zSecretOwnerProjectIdFilter,
|
|
3290
|
+
zSecretMcpoAuthFlowIdFilter,
|
|
3291
|
+
zIntegrationInstallAgentProfileFilter,
|
|
3292
|
+
zIntegrationInstallOAuthFlowIdFilter,
|
|
3293
|
+
zSecretAvailabilitySourceFilter,
|
|
3294
|
+
zListPersonalAccessTokensQuery,
|
|
3295
|
+
zListPersonalAccessTokensResponse2,
|
|
3296
|
+
zCreatePersonalAccessTokenBody,
|
|
3297
|
+
zCreatePersonalAccessTokenResponse2,
|
|
3298
|
+
zRevokePersonalAccessTokenPath,
|
|
3299
|
+
zRevokePersonalAccessTokenResponse,
|
|
3300
|
+
zBootstrapDaemonResponse2,
|
|
3301
|
+
zRecordMachineFailureBody,
|
|
3302
|
+
zRecordMachineFailureQuery,
|
|
3303
|
+
zRecordMachineFailureResponse,
|
|
3304
|
+
zCreateOrganizationBody,
|
|
3305
|
+
zCreateOrganizationHeaders,
|
|
3306
|
+
zCreateOrganizationResponse2,
|
|
3307
|
+
zDeleteOrganizationPath,
|
|
3308
|
+
zDeleteOrganizationResponse,
|
|
3309
|
+
zDeleteCurrentUserResponse,
|
|
3310
|
+
zGetCurrentUserResponse,
|
|
3311
|
+
zListPendingInvitationsQuery,
|
|
3312
|
+
zListPendingInvitationsResponse,
|
|
3313
|
+
zAcceptInvitationPath,
|
|
3314
|
+
zAcceptInvitationResponse,
|
|
3315
|
+
zDeclineInvitationPath,
|
|
3316
|
+
zDeclineInvitationResponse,
|
|
3317
|
+
zGetOrgOverviewPath,
|
|
3318
|
+
zGetOrgOverviewResponse,
|
|
3319
|
+
zListVisibleProjectsPath,
|
|
3320
|
+
zListVisibleProjectsQuery,
|
|
3321
|
+
zListVisibleProjectsResponse,
|
|
3322
|
+
zCreateProjectBody,
|
|
3323
|
+
zCreateProjectHeaders,
|
|
3324
|
+
zCreateProjectPath,
|
|
3325
|
+
zCreateProjectResponse,
|
|
3326
|
+
zDeleteProjectPath,
|
|
3327
|
+
zDeleteProjectResponse,
|
|
3328
|
+
zListOrgMembersPath,
|
|
3329
|
+
zListOrgMembersQuery,
|
|
3330
|
+
zListOrgMembersResponse2,
|
|
3331
|
+
zRemoveOrgMemberPath,
|
|
3332
|
+
zRemoveOrgMemberResponse,
|
|
3333
|
+
zUpdateOrgMemberBody,
|
|
3334
|
+
zUpdateOrgMemberPath,
|
|
3335
|
+
zUpdateOrgMemberResponse,
|
|
3336
|
+
zListMemberProjectAccessPath,
|
|
3337
|
+
zListMemberProjectAccessResponse,
|
|
3338
|
+
zRemoveMemberProjectAccessPath,
|
|
3339
|
+
zRemoveMemberProjectAccessResponse,
|
|
3340
|
+
zSetMemberProjectAccessBody,
|
|
3341
|
+
zSetMemberProjectAccessPath,
|
|
3342
|
+
zSetMemberProjectAccessResponse,
|
|
3343
|
+
zListOrgApiKeysPath,
|
|
3344
|
+
zListOrgApiKeysQuery,
|
|
3345
|
+
zListOrgApiKeysResponse2,
|
|
3346
|
+
zCreateOrgApiKeyBody,
|
|
3347
|
+
zCreateOrgApiKeyPath,
|
|
3348
|
+
zCreateOrgApiKeyResponse2,
|
|
3349
|
+
zGetOrgApiKeyPath,
|
|
3350
|
+
zGetOrgApiKeyResponse,
|
|
3351
|
+
zUpdateOrgApiKeyBody,
|
|
3352
|
+
zUpdateOrgApiKeyPath,
|
|
3353
|
+
zUpdateOrgApiKeyResponse,
|
|
3354
|
+
zRevokeOrgApiKeyPath,
|
|
3355
|
+
zRevokeOrgApiKeyResponse,
|
|
3356
|
+
zListOrgApiKeyProjectAccessPath,
|
|
3357
|
+
zListOrgApiKeyProjectAccessResponse,
|
|
3358
|
+
zRemoveOrgApiKeyProjectRolePath,
|
|
3359
|
+
zRemoveOrgApiKeyProjectRoleResponse,
|
|
3360
|
+
zSetOrgApiKeyProjectRoleBody,
|
|
3361
|
+
zSetOrgApiKeyProjectRolePath,
|
|
3362
|
+
zSetOrgApiKeyProjectRoleResponse,
|
|
3363
|
+
zListOrgInvitationsPath,
|
|
3364
|
+
zListOrgInvitationsQuery,
|
|
3365
|
+
zListOrgInvitationsResponse2,
|
|
3366
|
+
zCreateOrgInvitationBody,
|
|
3367
|
+
zCreateOrgInvitationPath,
|
|
3368
|
+
zCreateOrgInvitationResponse,
|
|
3369
|
+
zDeleteOrgInvitationPath,
|
|
3370
|
+
zDeleteOrgInvitationResponse,
|
|
3371
|
+
zListSkillsPath,
|
|
3372
|
+
zListSkillsQuery,
|
|
3373
|
+
zListSkillsResponse2,
|
|
3374
|
+
zCreateSkillBody,
|
|
3375
|
+
zCreateSkillPath,
|
|
3376
|
+
zCreateSkillResponse,
|
|
3377
|
+
zDeleteSkillPath,
|
|
3378
|
+
zDeleteSkillResponse,
|
|
3379
|
+
zGetSkillPath,
|
|
3380
|
+
zGetSkillResponse,
|
|
3381
|
+
zListSkillGrantsPath,
|
|
3382
|
+
zListSkillGrantsQuery,
|
|
3383
|
+
zListSkillGrantsResponse2,
|
|
3384
|
+
zCreateSkillGrantBody,
|
|
3385
|
+
zCreateSkillGrantPath,
|
|
3386
|
+
zCreateSkillGrantResponse,
|
|
3387
|
+
zDeleteSkillGrantPath,
|
|
3388
|
+
zDeleteSkillGrantResponse,
|
|
3389
|
+
zListProjectAvailableSkillsPath,
|
|
3390
|
+
zListProjectAvailableSkillsQuery,
|
|
3391
|
+
zListProjectAvailableSkillsResponse,
|
|
3392
|
+
zListSecretsPath,
|
|
3393
|
+
zListSecretsQuery,
|
|
3394
|
+
zListSecretsResponse2,
|
|
3395
|
+
zCreateSecretBody,
|
|
3396
|
+
zCreateSecretPath,
|
|
3397
|
+
zCreateSecretResponse,
|
|
3398
|
+
zStartSecretMcpoAuthBody,
|
|
3399
|
+
zStartSecretMcpoAuthPath,
|
|
3400
|
+
zStartSecretMcpoAuthResponse,
|
|
3401
|
+
zDeleteSecretPath,
|
|
3402
|
+
zDeleteSecretResponse,
|
|
3403
|
+
zGetSecretPath,
|
|
3404
|
+
zGetSecretResponse,
|
|
3405
|
+
zUpdateSecretBody,
|
|
3406
|
+
zUpdateSecretPath,
|
|
3407
|
+
zUpdateSecretResponse,
|
|
3408
|
+
zCreateSecretVersionBody,
|
|
3409
|
+
zCreateSecretVersionPath,
|
|
3410
|
+
zCreateSecretVersionResponse,
|
|
3411
|
+
zListSecretGrantsPath,
|
|
3412
|
+
zListSecretGrantsQuery,
|
|
3413
|
+
zListSecretGrantsResponse2,
|
|
3414
|
+
zCreateSecretGrantBody,
|
|
3415
|
+
zCreateSecretGrantPath,
|
|
3416
|
+
zCreateSecretGrantResponse,
|
|
3417
|
+
zDeleteSecretGrantPath,
|
|
3418
|
+
zDeleteSecretGrantResponse,
|
|
3419
|
+
zListIntegrationInstallsPath,
|
|
3420
|
+
zListIntegrationInstallsQuery,
|
|
3421
|
+
zListIntegrationInstallsResponse2,
|
|
3422
|
+
zDeleteIntegrationInstallPath,
|
|
3423
|
+
zDeleteIntegrationInstallResponse,
|
|
3424
|
+
zCreateAgentConfigBody,
|
|
3425
|
+
zCreateAgentConfigPath,
|
|
3426
|
+
zCreateAgentConfigResponse,
|
|
3427
|
+
zGetToolCatalogResponse,
|
|
3428
|
+
zGetAgentConfigPath,
|
|
3429
|
+
zGetAgentConfigResponse,
|
|
3430
|
+
zListAgentProfilesPath,
|
|
3431
|
+
zListAgentProfilesQuery,
|
|
3432
|
+
zListAgentProfilesResponse2,
|
|
3433
|
+
zCreateAgentProfileBody,
|
|
3434
|
+
zCreateAgentProfileHeaders,
|
|
3435
|
+
zCreateAgentProfilePath,
|
|
3436
|
+
zCreateAgentProfileResponse,
|
|
3437
|
+
zDeleteAgentProfilePath,
|
|
3438
|
+
zDeleteAgentProfileResponse,
|
|
3439
|
+
zGetAgentProfilePath,
|
|
3440
|
+
zGetAgentProfileResponse,
|
|
3441
|
+
zRenameAgentProfileBody,
|
|
3442
|
+
zRenameAgentProfilePath,
|
|
3443
|
+
zRenameAgentProfileResponse,
|
|
3444
|
+
zUpdateAgentProfileBody,
|
|
3445
|
+
zUpdateAgentProfileHeaders,
|
|
3446
|
+
zUpdateAgentProfilePath,
|
|
3447
|
+
zUpdateAgentProfileResponse,
|
|
3448
|
+
zCreateIntegrationOAuthSetupBody,
|
|
3449
|
+
zCreateIntegrationOAuthSetupPath,
|
|
3450
|
+
zCreateIntegrationOAuthSetupResponse,
|
|
3451
|
+
zCreateSlackSetupBody,
|
|
3452
|
+
zCreateSlackSetupPath,
|
|
3453
|
+
zCreateSlackSetupResponse,
|
|
3454
|
+
zListCronTriggersPath,
|
|
3455
|
+
zListCronTriggersQuery,
|
|
3456
|
+
zListCronTriggersResponse2,
|
|
3457
|
+
zCreateCronTriggerBody,
|
|
3458
|
+
zCreateCronTriggerHeaders,
|
|
3459
|
+
zCreateCronTriggerPath,
|
|
3460
|
+
zCreateCronTriggerResponse,
|
|
3461
|
+
zDeleteCronTriggerPath,
|
|
3462
|
+
zDeleteCronTriggerResponse,
|
|
3463
|
+
zGetCronTriggerPath,
|
|
3464
|
+
zGetCronTriggerResponse,
|
|
3465
|
+
zUpdateCronTriggerBody,
|
|
3466
|
+
zUpdateCronTriggerPath,
|
|
3467
|
+
zUpdateCronTriggerResponse,
|
|
3468
|
+
zListAgentsPath,
|
|
3469
|
+
zListAgentsQuery,
|
|
3470
|
+
zListAgentsResponse2,
|
|
3471
|
+
zCreateAgentBody,
|
|
3472
|
+
zCreateAgentHeaders,
|
|
3473
|
+
zCreateAgentPath,
|
|
3474
|
+
zCreateAgentResponse,
|
|
3475
|
+
zGetAgentPath,
|
|
3476
|
+
zGetAgentResponse2,
|
|
3477
|
+
zArchiveAgentPath,
|
|
3478
|
+
zArchiveAgentResponse,
|
|
3479
|
+
zUpdateAgentConfigBody,
|
|
3480
|
+
zUpdateAgentConfigHeaders,
|
|
3481
|
+
zUpdateAgentConfigPath,
|
|
3482
|
+
zUpdateAgentConfigResponse2,
|
|
3483
|
+
zCreateAgentInputBody,
|
|
3484
|
+
zCreateAgentInputHeaders,
|
|
3485
|
+
zCreateAgentInputPath,
|
|
3486
|
+
zCreateAgentInputResponse,
|
|
3487
|
+
zListToolCallsPath,
|
|
3488
|
+
zListToolCallsQuery,
|
|
3489
|
+
zListToolCallsResponse2,
|
|
3490
|
+
zSubmitToolCallResultBody,
|
|
3491
|
+
zSubmitToolCallResultPath,
|
|
3492
|
+
zSubmitToolCallResultResponse2,
|
|
3493
|
+
zListTurnsPath,
|
|
3494
|
+
zListTurnsQuery,
|
|
3495
|
+
zListTurnsResponse,
|
|
3496
|
+
zListTurnEventsPath,
|
|
3497
|
+
zListTurnEventsQuery,
|
|
3498
|
+
zListTurnEventsResponse2,
|
|
3499
|
+
zListEventsPath,
|
|
3500
|
+
zListEventsQuery,
|
|
3501
|
+
zListEventsResponse,
|
|
3502
|
+
zStreamEventsHeaders,
|
|
3503
|
+
zStreamEventsPath,
|
|
3504
|
+
zStreamEventsQuery,
|
|
3505
|
+
zStreamEventsResponse,
|
|
3506
|
+
zCancelAgentBody,
|
|
3507
|
+
zCancelAgentPath,
|
|
3508
|
+
zCancelAgentResponse2,
|
|
3509
|
+
zListAgentInteractionsPath,
|
|
3510
|
+
zListAgentInteractionsQuery,
|
|
3511
|
+
zListAgentInteractionsResponse2,
|
|
3512
|
+
zResolveAgentInteractionBody,
|
|
3513
|
+
zResolveAgentInteractionPath,
|
|
3514
|
+
zResolveAgentInteractionResponse,
|
|
3515
|
+
zListQueuedBacklogInputsPath,
|
|
3516
|
+
zListQueuedBacklogInputsQuery,
|
|
3517
|
+
zListQueuedBacklogInputsResponse,
|
|
3518
|
+
zCancelQueuedBacklogInputPath,
|
|
3519
|
+
zCancelQueuedBacklogInputResponse,
|
|
3520
|
+
zMoveQueuedBacklogInputBody,
|
|
3521
|
+
zMoveQueuedBacklogInputPath,
|
|
3522
|
+
zMoveQueuedBacklogInputResponse,
|
|
3523
|
+
zPromoteQueuedInputToSteeringBody,
|
|
3524
|
+
zPromoteQueuedInputToSteeringPath,
|
|
3525
|
+
zPromoteQueuedInputToSteeringResponse,
|
|
3526
|
+
zDemoteSteeringInputToQueuedPath,
|
|
3527
|
+
zDemoteSteeringInputToQueuedResponse,
|
|
3528
|
+
zGetArtifactPath,
|
|
3529
|
+
zGetArtifactResponse,
|
|
3530
|
+
zGetArtifactContentPath,
|
|
3531
|
+
zGetArtifactContentResponse,
|
|
3532
|
+
zListVisibleProjectMachinesPath,
|
|
3533
|
+
zListVisibleProjectMachinesQuery,
|
|
3534
|
+
zListVisibleProjectMachinesResponse,
|
|
3535
|
+
zListProjectMachineGrantsPath,
|
|
3536
|
+
zListProjectMachineGrantsQuery,
|
|
3537
|
+
zListProjectMachineGrantsResponse2,
|
|
3538
|
+
zCreateProjectMachineGrantBody,
|
|
3539
|
+
zCreateProjectMachineGrantHeaders,
|
|
3540
|
+
zCreateProjectMachineGrantPath,
|
|
3541
|
+
zCreateProjectMachineGrantResponse2,
|
|
3542
|
+
zDeleteProjectMachineGrantPath,
|
|
3543
|
+
zDeleteProjectMachineGrantResponse,
|
|
3544
|
+
zListProjectAvailableSecretsPath,
|
|
3545
|
+
zListProjectAvailableSecretsQuery,
|
|
3546
|
+
zListProjectAvailableSecretsResponse,
|
|
3547
|
+
zGetProjectAvailableSecretPath,
|
|
3548
|
+
zGetProjectAvailableSecretResponse,
|
|
3549
|
+
zListActorsPath,
|
|
3550
|
+
zListActorsQuery,
|
|
3551
|
+
zListActorsResponse2,
|
|
3552
|
+
zPutActorBody,
|
|
3553
|
+
zPutActorPath,
|
|
3554
|
+
zPutActorResponse,
|
|
3555
|
+
zGetActorPath,
|
|
3556
|
+
zGetActorResponse,
|
|
3557
|
+
zListVisibleMachinesPath,
|
|
3558
|
+
zListVisibleMachinesQuery,
|
|
3559
|
+
zListVisibleMachinesResponse2,
|
|
3560
|
+
zCreateMachineBody,
|
|
3561
|
+
zCreateMachineHeaders,
|
|
3562
|
+
zCreateMachinePath,
|
|
3563
|
+
zCreateMachineResponse,
|
|
3564
|
+
zConnectByoMachineBody,
|
|
3565
|
+
zConnectByoMachinePath,
|
|
3566
|
+
zConnectByoMachineResponse2,
|
|
3567
|
+
zDeleteMachinePath,
|
|
3568
|
+
zDeleteMachineResponse,
|
|
3569
|
+
zGetMachinePath,
|
|
3570
|
+
zGetMachineResponse,
|
|
3571
|
+
zUpdateMachineBody,
|
|
3572
|
+
zUpdateMachinePath,
|
|
3573
|
+
zUpdateMachineResponse,
|
|
3574
|
+
zListModelProviderConfigsPath,
|
|
3575
|
+
zListModelProviderConfigsQuery,
|
|
3576
|
+
zListModelProviderConfigsResponse,
|
|
3577
|
+
zCreateModelProviderConfigBody,
|
|
3578
|
+
zCreateModelProviderConfigPath,
|
|
3579
|
+
zCreateModelProviderConfigResponse2,
|
|
3580
|
+
zDeleteModelProviderConfigPath,
|
|
3581
|
+
zDeleteModelProviderConfigResponse,
|
|
3582
|
+
zGetModelProviderConfigPath,
|
|
3583
|
+
zGetModelProviderConfigResponse,
|
|
3584
|
+
zUpdateModelProviderConfigBody,
|
|
3585
|
+
zUpdateModelProviderConfigPath,
|
|
3586
|
+
zUpdateModelProviderConfigResponse,
|
|
3587
|
+
zGetModelCatalogPath,
|
|
3588
|
+
zGetModelCatalogResponse,
|
|
3589
|
+
zListConfiguredModelsPath,
|
|
3590
|
+
zListConfiguredModelsQuery,
|
|
3591
|
+
zListConfiguredModelsResponse,
|
|
3592
|
+
zCreateConfiguredModelBody,
|
|
3593
|
+
zCreateConfiguredModelPath,
|
|
3594
|
+
zCreateConfiguredModelResponse,
|
|
3595
|
+
zDeleteConfiguredModelPath,
|
|
3596
|
+
zDeleteConfiguredModelResponse,
|
|
3597
|
+
zUpdateConfiguredModelBody,
|
|
3598
|
+
zUpdateConfiguredModelPath,
|
|
3599
|
+
zUpdateConfiguredModelResponse,
|
|
3600
|
+
zListProjectModelGrantsPath,
|
|
3601
|
+
zListProjectModelGrantsQuery,
|
|
3602
|
+
zListProjectModelGrantsResponse2,
|
|
3603
|
+
zCreateProjectModelGrantBody,
|
|
3604
|
+
zCreateProjectModelGrantPath,
|
|
3605
|
+
zCreateProjectModelGrantResponse,
|
|
3606
|
+
zDeleteProjectModelGrantPath,
|
|
3607
|
+
zDeleteProjectModelGrantResponse,
|
|
3608
|
+
zUpdateProjectModelGrantBody,
|
|
3609
|
+
zUpdateProjectModelGrantPath,
|
|
3610
|
+
zUpdateProjectModelGrantResponse,
|
|
3611
|
+
zListMachinePoolsPath,
|
|
3612
|
+
zListMachinePoolsQuery,
|
|
3613
|
+
zListMachinePoolsResponse2,
|
|
3614
|
+
zCreateMachinePoolBody,
|
|
3615
|
+
zCreateMachinePoolPath,
|
|
3616
|
+
zCreateMachinePoolResponse,
|
|
3617
|
+
zDeleteMachinePoolPath,
|
|
3618
|
+
zDeleteMachinePoolResponse,
|
|
3619
|
+
zGetMachinePoolPath,
|
|
3620
|
+
zGetMachinePoolResponse,
|
|
3621
|
+
zUpdateMachinePoolBody,
|
|
3622
|
+
zUpdateMachinePoolPath,
|
|
3623
|
+
zUpdateMachinePoolResponse,
|
|
3624
|
+
zListProjectMachinePoolGrantsPath,
|
|
3625
|
+
zListProjectMachinePoolGrantsQuery,
|
|
3626
|
+
zListProjectMachinePoolGrantsResponse2,
|
|
3627
|
+
zCreateProjectMachinePoolGrantBody,
|
|
3628
|
+
zCreateProjectMachinePoolGrantHeaders,
|
|
3629
|
+
zCreateProjectMachinePoolGrantPath,
|
|
3630
|
+
zCreateProjectMachinePoolGrantResponse,
|
|
3631
|
+
zDeleteProjectMachinePoolGrantPath,
|
|
3632
|
+
zDeleteProjectMachinePoolGrantResponse,
|
|
3633
|
+
zGetProjectMachinePoolGrantPath,
|
|
3634
|
+
zGetProjectMachinePoolGrantResponse,
|
|
3635
|
+
zUpdateProjectMachinePoolGrantBody,
|
|
3636
|
+
zUpdateProjectMachinePoolGrantPath,
|
|
3637
|
+
zUpdateProjectMachinePoolGrantResponse,
|
|
3638
|
+
zListByoMachineDaemonTokensPath,
|
|
3639
|
+
zListByoMachineDaemonTokensQuery,
|
|
3640
|
+
zListByoMachineDaemonTokensResponse,
|
|
3641
|
+
zCreateByoMachineDaemonTokenBody,
|
|
3642
|
+
zCreateByoMachineDaemonTokenPath,
|
|
3643
|
+
zCreateByoMachineDaemonTokenResponse,
|
|
3644
|
+
zRevokeMachineDaemonTokenPath,
|
|
3645
|
+
zRevokeMachineDaemonTokenResponse,
|
|
3646
|
+
zRegisterMachineDaemonRuntimeBody,
|
|
3647
|
+
zRegisterMachineDaemonRuntimeResponse,
|
|
3648
|
+
zSocketMachineDaemonRuntimePath,
|
|
3649
|
+
zEndMachineDaemonRuntimePath,
|
|
3650
|
+
zEndMachineDaemonRuntimeResponse,
|
|
3651
|
+
zSleepMachineDaemonRuntimePath,
|
|
3652
|
+
zSleepMachineDaemonRuntimeResponse,
|
|
3653
|
+
zGetDaemonSkillArchivePath,
|
|
3654
|
+
zGetDaemonSkillArchiveQuery,
|
|
3655
|
+
zGetDaemonSkillArchiveResponse
|
|
3656
|
+
};
|
|
3657
|
+
//# sourceMappingURL=chunk-CT4AUW4R.js.map
|