@work-shape/catalyst-api-contract 0.8.0-rc.7 → 0.8.0-rc.9

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.
Files changed (4) hide show
  1. package/dist/index.d.ts +2812 -319
  2. package/dist/index.js +2490 -1953
  3. package/openapi.json +2681 -82
  4. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -161,9 +161,9 @@ declare const appBridgeContextSchema: z.ZodObject<{
161
161
  type AppBridgeContext = z.infer<typeof appBridgeContextSchema>;
162
162
  /**
163
163
  * A Workflow Run that a `workflow` action of the shown manifest started, as the frame follows
164
- * it: its state and, once it is done, its result. The result is the run's own where it is at
165
- * most `WORKFLOW_RUN_OUTPUT_PREVIEW_MAX_CHARS` long as JSON; a longer one is not answered and
166
- * `outputTruncated` says so.
164
+ * it: its state and, once it is done, its result. The result is the run's whole output where
165
+ * it is at most `APP_WORKFLOW_RUN_OUTPUT_MAX_BYTES` (256 KiB) as JSON; a larger one is not
166
+ * answered and `outputTruncated` says so.
167
167
  */
168
168
  declare const appWorkflowRunSchema: z.ZodObject<{
169
169
  id: z.ZodString;
@@ -186,6 +186,15 @@ declare const appWorkflowRunSchema: z.ZodObject<{
186
186
  }, z.core.$strict>>;
187
187
  startedAt: z.ZodOptional<z.ZodString>;
188
188
  finishedAt: z.ZodOptional<z.ZodString>;
189
+ mode: z.ZodOptional<z.ZodLiteral<"test">>;
190
+ workflowRevision: z.ZodOptional<z.ZodObject<{
191
+ kind: z.ZodEnum<{
192
+ draft: "draft";
193
+ published: "published";
194
+ }>;
195
+ number: z.ZodOptional<z.ZodNumber>;
196
+ }, z.core.$strict>>;
197
+ simulatedSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
189
198
  }, z.core.$strict>;
190
199
  type AppWorkflowRun = z.infer<typeof appWorkflowRunSchema>;
191
200
  /** What the interface posts into the frame of a Page. */
@@ -300,6 +309,15 @@ declare const appBridgeHostMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
300
309
  }, z.core.$strict>>;
301
310
  startedAt: z.ZodOptional<z.ZodString>;
302
311
  finishedAt: z.ZodOptional<z.ZodString>;
312
+ mode: z.ZodOptional<z.ZodLiteral<"test">>;
313
+ workflowRevision: z.ZodOptional<z.ZodObject<{
314
+ kind: z.ZodEnum<{
315
+ draft: "draft";
316
+ published: "published";
317
+ }>;
318
+ number: z.ZodOptional<z.ZodNumber>;
319
+ }, z.core.$strict>>;
320
+ simulatedSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
303
321
  }, z.core.$strict>>;
304
322
  error: z.ZodOptional<z.ZodObject<{
305
323
  code: z.ZodString;
@@ -1179,6 +1197,7 @@ declare const connectionToolsSchema: z.ZodObject<{
1179
1197
  title: z.ZodString;
1180
1198
  service: z.ZodOptional<z.ZodString>;
1181
1199
  connectorType: z.ZodOptional<z.ZodString>;
1200
+ personal: z.ZodOptional<z.ZodLiteral<true>>;
1182
1201
  tools: z.ZodArray<z.ZodObject<{
1183
1202
  toolName: z.ZodString;
1184
1203
  operation: z.ZodString;
@@ -1224,6 +1243,109 @@ declare const connectorTypeOffersSchema: z.ZodObject<{
1224
1243
  secret: z.ZodBoolean;
1225
1244
  }, z.core.$strip>>;
1226
1245
  }, z.core.$strip>>;
1246
+ entries: z.ZodDefault<z.ZodArray<z.ZodObject<{
1247
+ id: z.ZodString;
1248
+ version: z.ZodNumber;
1249
+ service: z.ZodString;
1250
+ title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1251
+ en: z.ZodOptional<z.ZodString>;
1252
+ de: z.ZodOptional<z.ZodString>;
1253
+ }, z.core.$strict>]>;
1254
+ description: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1255
+ en: z.ZodOptional<z.ZodString>;
1256
+ de: z.ZodOptional<z.ZodString>;
1257
+ }, z.core.$strict>]>;
1258
+ category: z.ZodEnum<{
1259
+ mail: "mail";
1260
+ files: "files";
1261
+ accounting: "accounting";
1262
+ databases: "databases";
1263
+ other: "other";
1264
+ }>;
1265
+ examplePrompts: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1266
+ en: z.ZodOptional<z.ZodString>;
1267
+ de: z.ZodOptional<z.ZodString>;
1268
+ }, z.core.$strict>]>>;
1269
+ mark: z.ZodObject<{
1270
+ color: z.ZodOptional<z.ZodString>;
1271
+ logo: z.ZodOptional<z.ZodString>;
1272
+ }, z.core.$strip>;
1273
+ offered: z.ZodBoolean;
1274
+ parts: z.ZodArray<z.ZodObject<{
1275
+ part: z.ZodEnum<{
1276
+ tools: "tools";
1277
+ source: "source";
1278
+ }>;
1279
+ connectorType: z.ZodString;
1280
+ name: z.ZodString;
1281
+ title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1282
+ en: z.ZodOptional<z.ZodString>;
1283
+ de: z.ZodOptional<z.ZodString>;
1284
+ }, z.core.$strict>]>>;
1285
+ description: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1286
+ en: z.ZodOptional<z.ZodString>;
1287
+ de: z.ZodOptional<z.ZodString>;
1288
+ }, z.core.$strict>]>;
1289
+ authScheme: z.ZodString;
1290
+ credentialModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1291
+ user: "user";
1292
+ shared: "shared";
1293
+ }>>>;
1294
+ defaultCredentialMode: z.ZodOptional<z.ZodEnum<{
1295
+ user: "user";
1296
+ shared: "shared";
1297
+ }>>;
1298
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
1299
+ id: z.ZodString;
1300
+ title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1301
+ en: z.ZodOptional<z.ZodString>;
1302
+ de: z.ZodOptional<z.ZodString>;
1303
+ }, z.core.$strict>]>;
1304
+ scopes: z.ZodArray<z.ZodString>;
1305
+ }, z.core.$strip>>>;
1306
+ settings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1307
+ fields: z.ZodArray<z.ZodObject<{
1308
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1309
+ en: z.ZodOptional<z.ZodString>;
1310
+ de: z.ZodOptional<z.ZodString>;
1311
+ }, z.core.$strict>]>;
1312
+ help: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1313
+ en: z.ZodOptional<z.ZodString>;
1314
+ de: z.ZodOptional<z.ZodString>;
1315
+ }, z.core.$strict>]>>;
1316
+ optional: z.ZodBoolean;
1317
+ setting: z.ZodOptional<z.ZodString>;
1318
+ secret: z.ZodBoolean;
1319
+ default: z.ZodOptional<z.ZodString>;
1320
+ }, z.core.$strip>>;
1321
+ prerequisites: z.ZodArray<z.ZodObject<{
1322
+ text: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1323
+ en: z.ZodOptional<z.ZodString>;
1324
+ de: z.ZodOptional<z.ZodString>;
1325
+ }, z.core.$strict>]>;
1326
+ value: z.ZodOptional<z.ZodString>;
1327
+ }, z.core.$strip>>;
1328
+ hosts: z.ZodArray<z.ZodString>;
1329
+ redirectUri: z.ZodOptional<z.ZodString>;
1330
+ operations: z.ZodArray<z.ZodObject<{
1331
+ name: z.ZodString;
1332
+ group: z.ZodOptional<z.ZodString>;
1333
+ title: z.ZodOptional<z.ZodString>;
1334
+ description: z.ZodOptional<z.ZodString>;
1335
+ effect: z.ZodEnum<{
1336
+ reading: "reading";
1337
+ changing: "changing";
1338
+ }>;
1339
+ recommended: z.ZodBoolean;
1340
+ declaration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1341
+ }, z.core.$strip>>;
1342
+ sharedAccountNote: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1343
+ en: z.ZodOptional<z.ZodString>;
1344
+ de: z.ZodOptional<z.ZodString>;
1345
+ }, z.core.$strict>]>;
1346
+ documentSource: z.ZodBoolean;
1347
+ }, z.core.$strip>>;
1348
+ }, z.core.$strip>>>;
1227
1349
  }, z.core.$strip>;
1228
1350
  type ConnectorTypeOffers = z.infer<typeof connectorTypeOffersSchema>;
1229
1351
  declare const connectionPersonContextSchema: z.ZodObject<{
@@ -1248,236 +1370,514 @@ type ConnectionOAuthSignIn = z.infer<typeof connectionOAuthSignInSchema>;
1248
1370
  declare const connectionNameParamsSchema: z.ZodObject<{
1249
1371
  name: z.ZodString;
1250
1372
  }, z.core.$strip>;
1373
+ declare const personalConnectionsSchema: z.ZodObject<{
1374
+ connections: z.ZodArray<z.ZodObject<{
1375
+ state: z.ZodEnum<{
1376
+ connected: "connected";
1377
+ needs_reconnect: "needs_reconnect";
1378
+ revoked: "revoked";
1379
+ not_connected: "not_connected";
1380
+ }>;
1381
+ account: z.ZodOptional<z.ZodString>;
1382
+ connectedAt: z.ZodOptional<z.ZodISODateTime>;
1383
+ lastUsedOn: z.ZodOptional<z.ZodString>;
1384
+ reason: z.ZodOptional<z.ZodString>;
1385
+ name: z.ZodString;
1386
+ title: z.ZodString;
1387
+ service: z.ZodOptional<z.ZodString>;
1388
+ catalogue: z.ZodOptional<z.ZodObject<{
1389
+ entry: z.ZodString;
1390
+ part: z.ZodEnum<{
1391
+ tools: "tools";
1392
+ source: "source";
1393
+ }>;
1394
+ version: z.ZodNumber;
1395
+ }, z.core.$strip>>;
1396
+ }, z.core.$strip>>;
1397
+ }, z.core.$strip>;
1398
+ declare const connectionPeopleSchema: z.ZodObject<{
1399
+ people: z.ZodArray<z.ZodObject<{
1400
+ state: z.ZodEnum<{
1401
+ connected: "connected";
1402
+ needs_reconnect: "needs_reconnect";
1403
+ revoked: "revoked";
1404
+ not_connected: "not_connected";
1405
+ }>;
1406
+ account: z.ZodOptional<z.ZodString>;
1407
+ connectedAt: z.ZodOptional<z.ZodISODateTime>;
1408
+ lastUsedOn: z.ZodOptional<z.ZodString>;
1409
+ reason: z.ZodOptional<z.ZodString>;
1410
+ userId: z.ZodString;
1411
+ displayLabel: z.ZodOptional<z.ZodString>;
1412
+ }, z.core.$strip>>;
1413
+ }, z.core.$strip>;
1414
+ type PersonalConnections = z.infer<typeof personalConnectionsSchema>;
1415
+ type ConnectionPeople = z.infer<typeof connectionPeopleSchema>;
1251
1416
  declare const connectionOperations: {
1252
- readonly "connections.person_context": Operation<{
1253
- readonly id: "connections.person_context";
1417
+ readonly "connections.mine": Operation<{
1418
+ readonly id: "connections.mine";
1254
1419
  readonly method: "GET";
1255
- readonly path: "/api/v1/connections/:name/person-context";
1256
- readonly summary: "Read one person's or service principal's context mapping; requires Connection write access";
1420
+ readonly path: "/api/v1/me/connections";
1421
+ readonly summary: "List usable personal Connections with only the caller's binding";
1257
1422
  readonly tag: "Connections";
1258
- readonly auth: "principal";
1259
- readonly scope: "config_assets:write";
1423
+ readonly auth: "user";
1424
+ readonly scope: "me:read";
1260
1425
  readonly requires: readonly [];
1261
1426
  readonly effect: "reading";
1262
- readonly query: z.ZodObject<{
1263
- subjectKind: z.ZodEnum<{
1264
- user: "user";
1265
- service_principal: "service_principal";
1266
- }>;
1267
- subjectId: z.ZodString;
1268
- }, z.core.$strip>;
1269
1427
  readonly response: {
1270
1428
  readonly kind: "json";
1271
1429
  readonly schema: z.ZodObject<{
1272
- subjectKind: z.ZodEnum<{
1273
- user: "user";
1274
- service_principal: "service_principal";
1275
- }>;
1276
- subjectId: z.ZodString;
1277
- value: z.ZodOptional<z.ZodString>;
1278
- rowVersion: z.ZodNullable<z.ZodNumber>;
1430
+ connections: z.ZodArray<z.ZodObject<{
1431
+ state: z.ZodEnum<{
1432
+ connected: "connected";
1433
+ needs_reconnect: "needs_reconnect";
1434
+ revoked: "revoked";
1435
+ not_connected: "not_connected";
1436
+ }>;
1437
+ account: z.ZodOptional<z.ZodString>;
1438
+ connectedAt: z.ZodOptional<z.ZodISODateTime>;
1439
+ lastUsedOn: z.ZodOptional<z.ZodString>;
1440
+ reason: z.ZodOptional<z.ZodString>;
1441
+ name: z.ZodString;
1442
+ title: z.ZodString;
1443
+ service: z.ZodOptional<z.ZodString>;
1444
+ catalogue: z.ZodOptional<z.ZodObject<{
1445
+ entry: z.ZodString;
1446
+ part: z.ZodEnum<{
1447
+ tools: "tools";
1448
+ source: "source";
1449
+ }>;
1450
+ version: z.ZodNumber;
1451
+ }, z.core.$strip>>;
1452
+ }, z.core.$strip>>;
1279
1453
  }, z.core.$strip>;
1280
1454
  };
1281
- readonly errors: readonly ["NOT_FOUND", "CONFLICT"];
1455
+ readonly errors: readonly [];
1282
1456
  readonly rateClass: "read";
1283
1457
  } & {
1284
1458
  readonly headers: {
1285
1459
  readonly response: readonly ["Operation-Run-Id"];
1286
1460
  };
1287
1461
  }>;
1288
- readonly "connections.set_person_context": Operation<{
1289
- readonly id: "connections.set_person_context";
1290
- readonly method: "PUT";
1291
- readonly path: "/api/v1/connections/:name/person-context";
1292
- readonly summary: "Map a person or service principal to the outside context value, or clear their mapping";
1293
- readonly tag: "Connections";
1294
- readonly auth: "principal";
1295
- readonly scope: "config_assets:write";
1296
- readonly requires: readonly [];
1297
- readonly effect: "changing";
1298
- readonly secret: true;
1299
- readonly body: z.ZodObject<{
1300
- subjectKind: z.ZodEnum<{
1301
- user: "user";
1302
- service_principal: "service_principal";
1303
- }>;
1304
- subjectId: z.ZodString;
1305
- value: z.ZodNullable<z.ZodString>;
1306
- expectedRowVersion: z.ZodNullable<z.ZodNumber>;
1307
- }, z.core.$strip>;
1308
- readonly response: {
1309
- readonly kind: "json";
1310
- readonly schema: z.ZodObject<{
1311
- subjectKind: z.ZodEnum<{
1312
- user: "user";
1313
- service_principal: "service_principal";
1314
- }>;
1315
- subjectId: z.ZodString;
1316
- value: z.ZodOptional<z.ZodString>;
1317
- rowVersion: z.ZodNullable<z.ZodNumber>;
1318
- }, z.core.$strip>;
1319
- };
1320
- readonly errors: readonly ["NOT_FOUND", "CONFLICT"];
1321
- readonly rateClass: "write";
1322
- } & {
1323
- readonly headers: {
1324
- readonly request: readonly ["Idempotency-Key"];
1325
- readonly response: readonly ["Operation-Run-Id", "Idempotent-Replayed"];
1326
- };
1327
- }>;
1328
- readonly "connections.get": Operation<{
1329
- readonly id: "connections.get";
1462
+ readonly "connections.people": Operation<{
1463
+ readonly id: "connections.people";
1330
1464
  readonly method: "GET";
1331
- readonly path: "/api/v1/connections/:name";
1332
- readonly summary: "Read the health, the secret state, the operations and the users of one Connection";
1465
+ readonly path: "/api/v1/connections/:name/people";
1466
+ readonly summary: "List personal sign-ins; requires Connection write access";
1333
1467
  readonly tag: "Connections";
1334
- readonly auth: "principal";
1335
- readonly scope: "config_assets:read";
1468
+ readonly auth: "user";
1469
+ readonly scope: "config_assets:write";
1336
1470
  readonly requires: readonly [];
1337
1471
  readonly effect: "reading";
1338
1472
  readonly response: {
1339
1473
  readonly kind: "json";
1340
1474
  readonly schema: z.ZodObject<{
1341
- name: z.ZodString;
1342
- health: z.ZodEnum<{
1343
- failed: "failed";
1344
- unknown: "unknown";
1345
- ok: "ok";
1346
- needs_configuration: "needs_configuration";
1347
- secret_unreadable: "secret_unreadable";
1348
- }>;
1349
- lastTestedAt: z.ZodOptional<z.ZodISODateTime>;
1350
- lastErrorCode: z.ZodOptional<z.ZodString>;
1351
- secret: z.ZodObject<{
1352
- state: z.ZodEnum<{
1353
- set: "set";
1354
- not_set: "not_set";
1355
- unreadable: "unreadable";
1356
- }>;
1357
- version: z.ZodOptional<z.ZodNumber>;
1358
- }, z.core.$strip>;
1359
- sharedCredential: z.ZodBoolean;
1360
- operations: z.ZodArray<z.ZodObject<{
1361
- paging: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1362
- by: z.ZodEnum<{
1363
- page: "page";
1364
- offset: "offset";
1365
- }>;
1366
- param: z.ZodString;
1367
- sizeParam: z.ZodString;
1368
- size: z.ZodNumber;
1369
- start: z.ZodOptional<z.ZodNumber>;
1370
- }, z.core.$strict>, z.ZodObject<{
1371
- by: z.ZodEnum<{
1372
- cursor: "cursor";
1373
- next_link: "next_link";
1374
- }>;
1375
- param: z.ZodString;
1376
- cursor: z.ZodString;
1377
- }, z.core.$strict>], "by">>;
1378
- name: z.ZodString;
1379
- toolName: z.ZodString;
1380
- effect: z.ZodEnum<{
1381
- reading: "reading";
1382
- changing: "changing";
1383
- }>;
1384
- exposure: z.ZodArray<z.ZodEnum<{
1385
- agent: "agent";
1386
- bridge: "bridge";
1387
- workflow: "workflow";
1388
- outside: "outside";
1389
- }>>;
1390
- enabled: z.ZodBoolean;
1391
- status: z.ZodEnum<{
1392
- unknown: "unknown";
1393
- disabled: "disabled";
1394
- ready: "ready";
1395
- awaiting_discovery: "awaiting_discovery";
1396
- needs_review: "needs_review";
1397
- }>;
1398
- description: z.ZodOptional<z.ZodString>;
1399
- inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1400
- discoveredFingerprint: z.ZodOptional<z.ZodString>;
1401
- schemaRefusal: z.ZodOptional<z.ZodString>;
1402
- }, z.core.$strip>>;
1403
- discovered: z.ZodArray<z.ZodObject<{
1404
- name: z.ZodString;
1405
- description: z.ZodOptional<z.ZodString>;
1406
- proposedEffect: z.ZodEnum<{
1407
- reading: "reading";
1408
- changing: "changing";
1409
- }>;
1410
- fingerprint: z.ZodString;
1411
- }, z.core.$strip>>;
1412
- usedBy: z.ZodArray<z.ZodObject<{
1413
- agentName: z.ZodString;
1414
- title: z.ZodString;
1415
- toolNames: z.ZodArray<z.ZodString>;
1416
- }, z.core.$strip>>;
1417
- usedByAssets: z.ZodOptional<z.ZodArray<z.ZodObject<{
1418
- kind: z.ZodEnum<{
1419
- workflow: "workflow";
1420
- app: "app";
1421
- knowledge_base: "knowledge_base";
1422
- }>;
1423
- workspaceId: z.ZodOptional<z.ZodString>;
1424
- name: z.ZodString;
1425
- title: z.ZodString;
1426
- }, z.core.$strip>>>;
1427
- usedByAssetsTruncated: z.ZodOptional<z.ZodBoolean>;
1428
- discoveredAt: z.ZodOptional<z.ZodISODateTime>;
1429
- binding: z.ZodOptional<z.ZodObject<{
1475
+ people: z.ZodArray<z.ZodObject<{
1430
1476
  state: z.ZodEnum<{
1431
1477
  connected: "connected";
1432
1478
  needs_reconnect: "needs_reconnect";
1433
1479
  revoked: "revoked";
1480
+ not_connected: "not_connected";
1434
1481
  }>;
1435
1482
  account: z.ZodOptional<z.ZodString>;
1436
- scopes: z.ZodArray<z.ZodString>;
1437
- connectedAt: z.ZodISODateTime;
1438
- connectedBy: z.ZodOptional<z.ZodString>;
1483
+ connectedAt: z.ZodOptional<z.ZodISODateTime>;
1439
1484
  lastUsedOn: z.ZodOptional<z.ZodString>;
1440
- accessExpiresAt: z.ZodOptional<z.ZodISODateTime>;
1441
1485
  reason: z.ZodOptional<z.ZodString>;
1442
- }, z.core.$strip>>;
1443
- oauth: z.ZodOptional<z.ZodObject<{
1444
- registration: z.ZodEnum<{
1445
- dcr: "dcr";
1446
- preregistered: "preregistered";
1447
- }>;
1448
- redirectUri: z.ZodOptional<z.ZodString>;
1449
- providerHost: z.ZodOptional<z.ZodString>;
1486
+ userId: z.ZodString;
1487
+ displayLabel: z.ZodOptional<z.ZodString>;
1450
1488
  }, z.core.$strip>>;
1451
1489
  }, z.core.$strip>;
1452
1490
  };
1453
- readonly errors: readonly ["NOT_FOUND"];
1491
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT"];
1454
1492
  readonly rateClass: "read";
1455
1493
  } & {
1456
1494
  readonly headers: {
1457
1495
  readonly response: readonly ["Operation-Run-Id"];
1458
1496
  };
1459
1497
  }>;
1460
- readonly "connections.test": Operation<{
1461
- readonly id: "connections.test";
1462
- readonly method: "POST";
1463
- readonly path: "/api/v1/connections/:name/test";
1464
- readonly summary: "Check that one Connection reaches its system and is let in";
1498
+ readonly "connections.revoke_person": Operation<{
1499
+ readonly id: "connections.revoke_person";
1500
+ readonly method: "DELETE";
1501
+ readonly path: "/api/v1/connections/:name/people/:userId";
1502
+ readonly summary: "Revoke a personal sign-in locally without contacting the provider";
1465
1503
  readonly tag: "Connections";
1466
- readonly auth: "principal";
1504
+ readonly auth: "user";
1467
1505
  readonly scope: "config_assets:write";
1468
1506
  readonly requires: readonly [];
1469
1507
  readonly effect: "changing";
1470
1508
  readonly response: {
1471
1509
  readonly kind: "json";
1472
1510
  readonly schema: z.ZodObject<{
1473
- status: z.ZodEnum<{
1474
- ready: "ready";
1475
- unauthorized: "unauthorized";
1476
- network_denied: "network_denied";
1477
- unavailable: "unavailable";
1478
- oauth_required: "oauth_required";
1479
- }>;
1480
- testedAt: z.ZodISODateTime;
1511
+ state: z.ZodLiteral<"revoked">;
1512
+ }, z.core.$strip>;
1513
+ };
1514
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT"];
1515
+ readonly rateClass: "write";
1516
+ } & {
1517
+ readonly accepted: z.ZodObject<{
1518
+ id: z.ZodString;
1519
+ operation: z.ZodString;
1520
+ effect: z.ZodEnum<{
1521
+ reading: "reading";
1522
+ changing: "changing";
1523
+ }>;
1524
+ status: z.ZodEnum<{
1525
+ failed: "failed";
1526
+ running: "running";
1527
+ pending_confirmation: "pending_confirmation";
1528
+ pending_approval: "pending_approval";
1529
+ done: "done";
1530
+ denied: "denied";
1531
+ expired: "expired";
1532
+ }>;
1533
+ actor: z.ZodObject<{
1534
+ kind: z.ZodEnum<{
1535
+ user: "user";
1536
+ service_principal: "service_principal";
1537
+ }>;
1538
+ id: z.ZodString;
1539
+ label: z.ZodString;
1540
+ }, z.core.$strip>;
1541
+ origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
1542
+ kind: z.ZodLiteral<"agent">;
1543
+ agentRunId: z.ZodString;
1544
+ conversationId: z.ZodString;
1545
+ agentName: z.ZodString;
1546
+ toolCallId: z.ZodString;
1547
+ toolName: z.ZodString;
1548
+ toolRevisionId: z.ZodOptional<z.ZodString>;
1549
+ boundBy: z.ZodOptional<z.ZodObject<{
1550
+ id: z.ZodString;
1551
+ label: z.ZodString;
1552
+ }, z.core.$strip>>;
1553
+ draft: z.ZodOptional<z.ZodObject<{
1554
+ kind: z.ZodLiteral<"agent_preview">;
1555
+ asset: z.ZodObject<{
1556
+ kind: z.ZodString;
1557
+ id: z.ZodString;
1558
+ name: z.ZodString;
1559
+ }, z.core.$strip>;
1560
+ revisionId: z.ZodString;
1561
+ part: z.ZodString;
1562
+ }, z.core.$strip>>;
1563
+ }, z.core.$strip>, z.ZodObject<{
1564
+ kind: z.ZodLiteral<"user">;
1565
+ }, z.core.$strip>, z.ZodObject<{
1566
+ kind: z.ZodLiteral<"cli">;
1567
+ unattended: z.ZodOptional<z.ZodLiteral<true>>;
1568
+ }, z.core.$strip>, z.ZodObject<{
1569
+ kind: z.ZodLiteral<"mcp">;
1570
+ clientName: z.ZodOptional<z.ZodString>;
1571
+ }, z.core.$strip>, z.ZodObject<{
1572
+ kind: z.ZodLiteral<"app">;
1573
+ appName: z.ZodOptional<z.ZodString>;
1574
+ appRevisionId: z.ZodString;
1575
+ actionName: z.ZodString;
1576
+ pageSessionId: z.ZodString;
1577
+ conversationId: z.ZodOptional<z.ZodString>;
1578
+ target: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1579
+ connection: z.ZodString;
1580
+ operation: z.ZodString;
1581
+ }, z.core.$strip>, z.ZodObject<{
1582
+ dataStore: z.ZodString;
1583
+ }, z.core.$strip>, z.ZodObject<{
1584
+ workflow: z.ZodString;
1585
+ }, z.core.$strip>]>>;
1586
+ }, z.core.$strip>, z.ZodObject<{
1587
+ kind: z.ZodLiteral<"workflow">;
1588
+ workflowRunId: z.ZodString;
1589
+ stepRunId: z.ZodString;
1590
+ boundBy: z.ZodOptional<z.ZodObject<{
1591
+ id: z.ZodString;
1592
+ label: z.ZodString;
1593
+ }, z.core.$strip>>;
1594
+ }, z.core.$strip>, z.ZodObject<{
1595
+ kind: z.ZodLiteral<"schedule">;
1596
+ scheduleId: z.ZodString;
1597
+ }, z.core.$strip>], "kind">;
1598
+ target: z.ZodEnum<{
1599
+ live: "live";
1600
+ test: "test";
1601
+ dry_run: "dry_run";
1602
+ }>;
1603
+ app: z.ZodOptional<z.ZodObject<{
1604
+ title: z.ZodOptional<z.ZodString>;
1605
+ revision: z.ZodOptional<z.ZodNumber>;
1606
+ deleted: z.ZodBoolean;
1607
+ }, z.core.$strip>>;
1608
+ workspaceId: z.ZodOptional<z.ZodString>;
1609
+ approvalRequestId: z.ZodOptional<z.ZodString>;
1610
+ inputHash: z.ZodString;
1611
+ attempt: z.ZodNumber;
1612
+ decision: z.ZodOptional<z.ZodObject<{
1613
+ mode: z.ZodEnum<{
1614
+ direct: "direct";
1615
+ confirmed: "confirmed";
1616
+ approved: "approved";
1617
+ declined: "declined";
1618
+ }>;
1619
+ reason: z.ZodOptional<z.ZodEnum<{
1620
+ inherited_approval_not_applied: "inherited_approval_not_applied";
1621
+ workflow_publish: "workflow_publish";
1622
+ approved_by_caller: "approved_by_caller";
1623
+ }>>;
1624
+ by: z.ZodString;
1625
+ byLabel: z.ZodOptional<z.ZodString>;
1626
+ at: z.ZodISODateTime;
1627
+ comment: z.ZodOptional<z.ZodString>;
1628
+ }, z.core.$strip>>;
1629
+ error: z.ZodOptional<z.ZodObject<{
1630
+ code: z.ZodString;
1631
+ message: z.ZodString;
1632
+ reason: z.ZodOptional<z.ZodString>;
1633
+ }, z.core.$strip>>;
1634
+ usage: z.ZodOptional<z.ZodObject<{
1635
+ modelCalls: z.ZodNumber;
1636
+ inputTokens: z.ZodNumber;
1637
+ outputTokens: z.ZodNumber;
1638
+ totalTokens: z.ZodNumber;
1639
+ }, z.core.$strip>>;
1640
+ correlationId: z.ZodString;
1641
+ createdAt: z.ZodISODateTime;
1642
+ startedAt: z.ZodOptional<z.ZodISODateTime>;
1643
+ finishedAt: z.ZodOptional<z.ZodISODateTime>;
1644
+ expiresAt: z.ZodOptional<z.ZodISODateTime>;
1645
+ href: z.ZodString;
1646
+ }, z.core.$strip>;
1647
+ readonly headers: {
1648
+ readonly request: readonly ["Idempotency-Key", "Catalyst-Unattended"];
1649
+ readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
1650
+ };
1651
+ }>;
1652
+ readonly "connections.person_context": Operation<{
1653
+ readonly id: "connections.person_context";
1654
+ readonly method: "GET";
1655
+ readonly path: "/api/v1/connections/:name/person-context";
1656
+ readonly summary: "Read one person's or service principal's context mapping; requires Connection write access";
1657
+ readonly tag: "Connections";
1658
+ readonly auth: "principal";
1659
+ readonly scope: "config_assets:write";
1660
+ readonly requires: readonly [];
1661
+ readonly effect: "reading";
1662
+ readonly query: z.ZodObject<{
1663
+ subjectKind: z.ZodEnum<{
1664
+ user: "user";
1665
+ service_principal: "service_principal";
1666
+ }>;
1667
+ subjectId: z.ZodString;
1668
+ }, z.core.$strip>;
1669
+ readonly response: {
1670
+ readonly kind: "json";
1671
+ readonly schema: z.ZodObject<{
1672
+ subjectKind: z.ZodEnum<{
1673
+ user: "user";
1674
+ service_principal: "service_principal";
1675
+ }>;
1676
+ subjectId: z.ZodString;
1677
+ value: z.ZodOptional<z.ZodString>;
1678
+ rowVersion: z.ZodNullable<z.ZodNumber>;
1679
+ }, z.core.$strip>;
1680
+ };
1681
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT"];
1682
+ readonly rateClass: "read";
1683
+ } & {
1684
+ readonly headers: {
1685
+ readonly response: readonly ["Operation-Run-Id"];
1686
+ };
1687
+ }>;
1688
+ readonly "connections.set_person_context": Operation<{
1689
+ readonly id: "connections.set_person_context";
1690
+ readonly method: "PUT";
1691
+ readonly path: "/api/v1/connections/:name/person-context";
1692
+ readonly summary: "Map a person or service principal to the outside context value, or clear their mapping";
1693
+ readonly tag: "Connections";
1694
+ readonly auth: "principal";
1695
+ readonly scope: "config_assets:write";
1696
+ readonly requires: readonly [];
1697
+ readonly effect: "changing";
1698
+ readonly secret: true;
1699
+ readonly body: z.ZodObject<{
1700
+ subjectKind: z.ZodEnum<{
1701
+ user: "user";
1702
+ service_principal: "service_principal";
1703
+ }>;
1704
+ subjectId: z.ZodString;
1705
+ value: z.ZodNullable<z.ZodString>;
1706
+ expectedRowVersion: z.ZodNullable<z.ZodNumber>;
1707
+ }, z.core.$strip>;
1708
+ readonly response: {
1709
+ readonly kind: "json";
1710
+ readonly schema: z.ZodObject<{
1711
+ subjectKind: z.ZodEnum<{
1712
+ user: "user";
1713
+ service_principal: "service_principal";
1714
+ }>;
1715
+ subjectId: z.ZodString;
1716
+ value: z.ZodOptional<z.ZodString>;
1717
+ rowVersion: z.ZodNullable<z.ZodNumber>;
1718
+ }, z.core.$strip>;
1719
+ };
1720
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT"];
1721
+ readonly rateClass: "write";
1722
+ } & {
1723
+ readonly headers: {
1724
+ readonly request: readonly ["Idempotency-Key"];
1725
+ readonly response: readonly ["Operation-Run-Id", "Idempotent-Replayed"];
1726
+ };
1727
+ }>;
1728
+ readonly "connections.get": Operation<{
1729
+ readonly id: "connections.get";
1730
+ readonly method: "GET";
1731
+ readonly path: "/api/v1/connections/:name";
1732
+ readonly summary: "Read the health, the secret state, the operations and the users of one Connection";
1733
+ readonly tag: "Connections";
1734
+ readonly auth: "principal";
1735
+ readonly scope: "config_assets:read";
1736
+ readonly requires: readonly [];
1737
+ readonly effect: "reading";
1738
+ readonly response: {
1739
+ readonly kind: "json";
1740
+ readonly schema: z.ZodObject<{
1741
+ name: z.ZodString;
1742
+ health: z.ZodEnum<{
1743
+ failed: "failed";
1744
+ unknown: "unknown";
1745
+ ok: "ok";
1746
+ needs_configuration: "needs_configuration";
1747
+ secret_unreadable: "secret_unreadable";
1748
+ }>;
1749
+ lastTestedAt: z.ZodOptional<z.ZodISODateTime>;
1750
+ lastErrorCode: z.ZodOptional<z.ZodString>;
1751
+ secret: z.ZodObject<{
1752
+ state: z.ZodEnum<{
1753
+ set: "set";
1754
+ not_set: "not_set";
1755
+ unreadable: "unreadable";
1756
+ }>;
1757
+ version: z.ZodOptional<z.ZodNumber>;
1758
+ }, z.core.$strip>;
1759
+ sharedCredential: z.ZodBoolean;
1760
+ operations: z.ZodArray<z.ZodObject<{
1761
+ paging: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1762
+ by: z.ZodEnum<{
1763
+ page: "page";
1764
+ offset: "offset";
1765
+ }>;
1766
+ param: z.ZodString;
1767
+ sizeParam: z.ZodString;
1768
+ size: z.ZodNumber;
1769
+ start: z.ZodOptional<z.ZodNumber>;
1770
+ }, z.core.$strict>, z.ZodObject<{
1771
+ by: z.ZodEnum<{
1772
+ cursor: "cursor";
1773
+ next_link: "next_link";
1774
+ }>;
1775
+ param: z.ZodString;
1776
+ cursor: z.ZodString;
1777
+ }, z.core.$strict>], "by">>;
1778
+ name: z.ZodString;
1779
+ toolName: z.ZodString;
1780
+ effect: z.ZodEnum<{
1781
+ reading: "reading";
1782
+ changing: "changing";
1783
+ }>;
1784
+ exposure: z.ZodArray<z.ZodEnum<{
1785
+ agent: "agent";
1786
+ bridge: "bridge";
1787
+ workflow: "workflow";
1788
+ outside: "outside";
1789
+ }>>;
1790
+ enabled: z.ZodBoolean;
1791
+ status: z.ZodEnum<{
1792
+ unknown: "unknown";
1793
+ disabled: "disabled";
1794
+ ready: "ready";
1795
+ awaiting_discovery: "awaiting_discovery";
1796
+ needs_review: "needs_review";
1797
+ }>;
1798
+ description: z.ZodOptional<z.ZodString>;
1799
+ inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1800
+ discoveredFingerprint: z.ZodOptional<z.ZodString>;
1801
+ schemaRefusal: z.ZodOptional<z.ZodString>;
1802
+ }, z.core.$strip>>;
1803
+ discovered: z.ZodArray<z.ZodObject<{
1804
+ name: z.ZodString;
1805
+ description: z.ZodOptional<z.ZodString>;
1806
+ proposedEffect: z.ZodEnum<{
1807
+ reading: "reading";
1808
+ changing: "changing";
1809
+ }>;
1810
+ fingerprint: z.ZodString;
1811
+ }, z.core.$strip>>;
1812
+ usedBy: z.ZodArray<z.ZodObject<{
1813
+ agentName: z.ZodString;
1814
+ title: z.ZodString;
1815
+ toolNames: z.ZodArray<z.ZodString>;
1816
+ }, z.core.$strip>>;
1817
+ usedByAssets: z.ZodOptional<z.ZodArray<z.ZodObject<{
1818
+ kind: z.ZodEnum<{
1819
+ workflow: "workflow";
1820
+ app: "app";
1821
+ knowledge_base: "knowledge_base";
1822
+ }>;
1823
+ workspaceId: z.ZodOptional<z.ZodString>;
1824
+ name: z.ZodString;
1825
+ title: z.ZodString;
1826
+ }, z.core.$strip>>>;
1827
+ usedByAssetsTruncated: z.ZodOptional<z.ZodBoolean>;
1828
+ discoveredAt: z.ZodOptional<z.ZodISODateTime>;
1829
+ binding: z.ZodOptional<z.ZodObject<{
1830
+ state: z.ZodEnum<{
1831
+ connected: "connected";
1832
+ needs_reconnect: "needs_reconnect";
1833
+ revoked: "revoked";
1834
+ }>;
1835
+ account: z.ZodOptional<z.ZodString>;
1836
+ scopes: z.ZodArray<z.ZodString>;
1837
+ connectedAt: z.ZodISODateTime;
1838
+ connectedBy: z.ZodOptional<z.ZodString>;
1839
+ lastUsedOn: z.ZodOptional<z.ZodString>;
1840
+ accessExpiresAt: z.ZodOptional<z.ZodISODateTime>;
1841
+ reason: z.ZodOptional<z.ZodString>;
1842
+ }, z.core.$strip>>;
1843
+ oauth: z.ZodOptional<z.ZodObject<{
1844
+ registration: z.ZodEnum<{
1845
+ dcr: "dcr";
1846
+ preregistered: "preregistered";
1847
+ }>;
1848
+ redirectUri: z.ZodOptional<z.ZodString>;
1849
+ providerHost: z.ZodOptional<z.ZodString>;
1850
+ }, z.core.$strip>>;
1851
+ }, z.core.$strip>;
1852
+ };
1853
+ readonly errors: readonly ["NOT_FOUND"];
1854
+ readonly rateClass: "read";
1855
+ } & {
1856
+ readonly headers: {
1857
+ readonly response: readonly ["Operation-Run-Id"];
1858
+ };
1859
+ }>;
1860
+ readonly "connections.test": Operation<{
1861
+ readonly id: "connections.test";
1862
+ readonly method: "POST";
1863
+ readonly path: "/api/v1/connections/:name/test";
1864
+ readonly summary: "Check that one Connection reaches its system and is let in";
1865
+ readonly tag: "Connections";
1866
+ readonly auth: "principal";
1867
+ readonly scope: "config_assets:write";
1868
+ readonly requires: readonly [];
1869
+ readonly effect: "changing";
1870
+ readonly response: {
1871
+ readonly kind: "json";
1872
+ readonly schema: z.ZodObject<{
1873
+ status: z.ZodEnum<{
1874
+ ready: "ready";
1875
+ unauthorized: "unauthorized";
1876
+ network_denied: "network_denied";
1877
+ unavailable: "unavailable";
1878
+ oauth_required: "oauth_required";
1879
+ }>;
1880
+ testedAt: z.ZodISODateTime;
1481
1881
  }, z.core.$strip>;
1482
1882
  };
1483
1883
  readonly errors: readonly ["NOT_FOUND", "CONFLICT"];
@@ -1632,6 +2032,7 @@ declare const connectionOperations: {
1632
2032
  readonly body: z.ZodObject<{
1633
2033
  value: z.ZodString;
1634
2034
  expectedVersion: z.ZodNullable<z.ZodNumber>;
2035
+ expectedRevision: z.ZodNumber;
1635
2036
  }, z.core.$strip>;
1636
2037
  readonly response: {
1637
2038
  readonly kind: "json";
@@ -1810,7 +2211,7 @@ declare const connectionOperations: {
1810
2211
  readonly id: "connections.oauth_start";
1811
2212
  readonly method: "POST";
1812
2213
  readonly path: "/api/v1/connections/:name/oauth/start";
1813
- readonly summary: "Start the shared OAuth sign-in of one Connection. The answer is the address to open in the person's browser";
2214
+ readonly summary: "Start the OAuth sign-in of one Connection. The answer is the address to open in the person's browser";
1814
2215
  readonly tag: "Connections";
1815
2216
  readonly auth: "user";
1816
2217
  readonly scope: "config_assets:write";
@@ -1839,7 +2240,7 @@ declare const connectionOperations: {
1839
2240
  readonly id: "connections.oauth_sign_in";
1840
2241
  readonly method: "GET";
1841
2242
  readonly path: "/api/v1/connections/:name/oauth/sign-ins/:signInId";
1842
- readonly summary: "Read whether a shared OAuth sign-in the caller started still waits for the browser to come back";
2243
+ readonly summary: "Read whether an OAuth sign-in the caller started still waits for the browser to come back";
1843
2244
  readonly tag: "Connections";
1844
2245
  readonly auth: "user";
1845
2246
  readonly scope: "config_assets:read";
@@ -1898,7 +2299,7 @@ declare const connectionOperations: {
1898
2299
  readonly id: "connections.disconnect";
1899
2300
  readonly method: "POST";
1900
2301
  readonly path: "/api/v1/connections/:name/disconnect";
1901
- readonly summary: "End the shared OAuth sign-in of one Connection. Its tokens are deleted, then the provider is asked to revoke the grant";
2302
+ readonly summary: "End the OAuth sign-in of one Connection. Its tokens are deleted, then the provider is asked to revoke the grant";
1902
2303
  readonly tag: "Connections";
1903
2304
  readonly auth: "principal";
1904
2305
  readonly scope: "config_assets:write";
@@ -2094,6 +2495,109 @@ declare const connectionOperations: {
2094
2495
  secret: z.ZodBoolean;
2095
2496
  }, z.core.$strip>>;
2096
2497
  }, z.core.$strip>>;
2498
+ entries: z.ZodDefault<z.ZodArray<z.ZodObject<{
2499
+ id: z.ZodString;
2500
+ version: z.ZodNumber;
2501
+ service: z.ZodString;
2502
+ title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2503
+ en: z.ZodOptional<z.ZodString>;
2504
+ de: z.ZodOptional<z.ZodString>;
2505
+ }, z.core.$strict>]>;
2506
+ description: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2507
+ en: z.ZodOptional<z.ZodString>;
2508
+ de: z.ZodOptional<z.ZodString>;
2509
+ }, z.core.$strict>]>;
2510
+ category: z.ZodEnum<{
2511
+ mail: "mail";
2512
+ files: "files";
2513
+ accounting: "accounting";
2514
+ databases: "databases";
2515
+ other: "other";
2516
+ }>;
2517
+ examplePrompts: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2518
+ en: z.ZodOptional<z.ZodString>;
2519
+ de: z.ZodOptional<z.ZodString>;
2520
+ }, z.core.$strict>]>>;
2521
+ mark: z.ZodObject<{
2522
+ color: z.ZodOptional<z.ZodString>;
2523
+ logo: z.ZodOptional<z.ZodString>;
2524
+ }, z.core.$strip>;
2525
+ offered: z.ZodBoolean;
2526
+ parts: z.ZodArray<z.ZodObject<{
2527
+ part: z.ZodEnum<{
2528
+ tools: "tools";
2529
+ source: "source";
2530
+ }>;
2531
+ connectorType: z.ZodString;
2532
+ name: z.ZodString;
2533
+ title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2534
+ en: z.ZodOptional<z.ZodString>;
2535
+ de: z.ZodOptional<z.ZodString>;
2536
+ }, z.core.$strict>]>>;
2537
+ description: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2538
+ en: z.ZodOptional<z.ZodString>;
2539
+ de: z.ZodOptional<z.ZodString>;
2540
+ }, z.core.$strict>]>;
2541
+ authScheme: z.ZodString;
2542
+ credentialModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2543
+ user: "user";
2544
+ shared: "shared";
2545
+ }>>>;
2546
+ defaultCredentialMode: z.ZodOptional<z.ZodEnum<{
2547
+ user: "user";
2548
+ shared: "shared";
2549
+ }>>;
2550
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
2551
+ id: z.ZodString;
2552
+ title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2553
+ en: z.ZodOptional<z.ZodString>;
2554
+ de: z.ZodOptional<z.ZodString>;
2555
+ }, z.core.$strict>]>;
2556
+ scopes: z.ZodArray<z.ZodString>;
2557
+ }, z.core.$strip>>>;
2558
+ settings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2559
+ fields: z.ZodArray<z.ZodObject<{
2560
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2561
+ en: z.ZodOptional<z.ZodString>;
2562
+ de: z.ZodOptional<z.ZodString>;
2563
+ }, z.core.$strict>]>;
2564
+ help: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2565
+ en: z.ZodOptional<z.ZodString>;
2566
+ de: z.ZodOptional<z.ZodString>;
2567
+ }, z.core.$strict>]>>;
2568
+ optional: z.ZodBoolean;
2569
+ setting: z.ZodOptional<z.ZodString>;
2570
+ secret: z.ZodBoolean;
2571
+ default: z.ZodOptional<z.ZodString>;
2572
+ }, z.core.$strip>>;
2573
+ prerequisites: z.ZodArray<z.ZodObject<{
2574
+ text: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2575
+ en: z.ZodOptional<z.ZodString>;
2576
+ de: z.ZodOptional<z.ZodString>;
2577
+ }, z.core.$strict>]>;
2578
+ value: z.ZodOptional<z.ZodString>;
2579
+ }, z.core.$strip>>;
2580
+ hosts: z.ZodArray<z.ZodString>;
2581
+ redirectUri: z.ZodOptional<z.ZodString>;
2582
+ operations: z.ZodArray<z.ZodObject<{
2583
+ name: z.ZodString;
2584
+ group: z.ZodOptional<z.ZodString>;
2585
+ title: z.ZodOptional<z.ZodString>;
2586
+ description: z.ZodOptional<z.ZodString>;
2587
+ effect: z.ZodEnum<{
2588
+ reading: "reading";
2589
+ changing: "changing";
2590
+ }>;
2591
+ recommended: z.ZodBoolean;
2592
+ declaration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2593
+ }, z.core.$strip>>;
2594
+ sharedAccountNote: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2595
+ en: z.ZodOptional<z.ZodString>;
2596
+ de: z.ZodOptional<z.ZodString>;
2597
+ }, z.core.$strict>]>;
2598
+ documentSource: z.ZodBoolean;
2599
+ }, z.core.$strip>>;
2600
+ }, z.core.$strip>>>;
2097
2601
  }, z.core.$strip>;
2098
2602
  };
2099
2603
  readonly errors: readonly [];
@@ -2121,6 +2625,7 @@ declare const connectionOperations: {
2121
2625
  title: z.ZodString;
2122
2626
  service: z.ZodOptional<z.ZodString>;
2123
2627
  connectorType: z.ZodOptional<z.ZodString>;
2628
+ personal: z.ZodOptional<z.ZodLiteral<true>>;
2124
2629
  tools: z.ZodArray<z.ZodObject<{
2125
2630
  toolName: z.ZodString;
2126
2631
  operation: z.ZodString;
@@ -2870,6 +3375,16 @@ declare const workflowRunSchema: z.ZodObject<{
2870
3375
  number: z.ZodNumber;
2871
3376
  }, z.core.$strip>>;
2872
3377
  operationRunId: z.ZodOptional<z.ZodString>;
3378
+ startedFrom: z.ZodOptional<z.ZodObject<{
3379
+ kind: z.ZodLiteral<"app">;
3380
+ app: z.ZodString;
3381
+ appRevisionId: z.ZodString;
3382
+ action: z.ZodString;
3383
+ workflowRevision: z.ZodEnum<{
3384
+ draft: "draft";
3385
+ published: "published";
3386
+ }>;
3387
+ }, z.core.$strip>>;
2873
3388
  parentRunId: z.ZodOptional<z.ZodString>;
2874
3389
  parentStepRunId: z.ZodOptional<z.ZodString>;
2875
3390
  rootRunId: z.ZodString;
@@ -3108,6 +3623,7 @@ declare const workflowSummarySchema: z.ZodObject<{
3108
3623
  name: z.ZodString;
3109
3624
  description: z.ZodOptional<z.ZodString>;
3110
3625
  definitionRevisionId: z.ZodString;
3626
+ workspaceId: z.ZodOptional<z.ZodString>;
3111
3627
  runnable: z.ZodBoolean;
3112
3628
  reasons: z.ZodArray<z.ZodObject<{
3113
3629
  principalDisplayLabel: z.ZodOptional<z.ZodString>;
@@ -3116,6 +3632,7 @@ declare const workflowSummarySchema: z.ZodObject<{
3116
3632
  path: z.ZodOptional<z.ZodString>;
3117
3633
  }, z.core.$strip>>;
3118
3634
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3635
+ triggers: z.ZodOptional<z.ZodArray<z.ZodString>>;
3119
3636
  runsAs: z.ZodOptional<z.ZodString>;
3120
3637
  actions: z.ZodArray<z.ZodString>;
3121
3638
  lastRun: z.ZodOptional<z.ZodObject<{
@@ -3353,6 +3870,7 @@ declare const workflowOperations: {
3353
3870
  name: z.ZodString;
3354
3871
  description: z.ZodOptional<z.ZodString>;
3355
3872
  definitionRevisionId: z.ZodString;
3873
+ workspaceId: z.ZodOptional<z.ZodString>;
3356
3874
  runnable: z.ZodBoolean;
3357
3875
  reasons: z.ZodArray<z.ZodObject<{
3358
3876
  principalDisplayLabel: z.ZodOptional<z.ZodString>;
@@ -3361,6 +3879,7 @@ declare const workflowOperations: {
3361
3879
  path: z.ZodOptional<z.ZodString>;
3362
3880
  }, z.core.$strip>>;
3363
3881
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3882
+ triggers: z.ZodOptional<z.ZodArray<z.ZodString>>;
3364
3883
  runsAs: z.ZodOptional<z.ZodString>;
3365
3884
  actions: z.ZodArray<z.ZodString>;
3366
3885
  lastRun: z.ZodOptional<z.ZodObject<{
@@ -3456,6 +3975,16 @@ declare const workflowOperations: {
3456
3975
  number: z.ZodNumber;
3457
3976
  }, z.core.$strip>>;
3458
3977
  operationRunId: z.ZodOptional<z.ZodString>;
3978
+ startedFrom: z.ZodOptional<z.ZodObject<{
3979
+ kind: z.ZodLiteral<"app">;
3980
+ app: z.ZodString;
3981
+ appRevisionId: z.ZodString;
3982
+ action: z.ZodString;
3983
+ workflowRevision: z.ZodEnum<{
3984
+ draft: "draft";
3985
+ published: "published";
3986
+ }>;
3987
+ }, z.core.$strip>>;
3459
3988
  parentRunId: z.ZodOptional<z.ZodString>;
3460
3989
  parentStepRunId: z.ZodOptional<z.ZodString>;
3461
3990
  rootRunId: z.ZodString;
@@ -3699,6 +4228,16 @@ declare const workflowOperations: {
3699
4228
  number: z.ZodNumber;
3700
4229
  }, z.core.$strip>>;
3701
4230
  operationRunId: z.ZodOptional<z.ZodString>;
4231
+ startedFrom: z.ZodOptional<z.ZodObject<{
4232
+ kind: z.ZodLiteral<"app">;
4233
+ app: z.ZodString;
4234
+ appRevisionId: z.ZodString;
4235
+ action: z.ZodString;
4236
+ workflowRevision: z.ZodEnum<{
4237
+ draft: "draft";
4238
+ published: "published";
4239
+ }>;
4240
+ }, z.core.$strip>>;
3702
4241
  parentRunId: z.ZodOptional<z.ZodString>;
3703
4242
  parentStepRunId: z.ZodOptional<z.ZodString>;
3704
4243
  rootRunId: z.ZodString;
@@ -3945,6 +4484,16 @@ declare const workflowOperations: {
3945
4484
  number: z.ZodNumber;
3946
4485
  }, z.core.$strip>>;
3947
4486
  operationRunId: z.ZodOptional<z.ZodString>;
4487
+ startedFrom: z.ZodOptional<z.ZodObject<{
4488
+ kind: z.ZodLiteral<"app">;
4489
+ app: z.ZodString;
4490
+ appRevisionId: z.ZodString;
4491
+ action: z.ZodString;
4492
+ workflowRevision: z.ZodEnum<{
4493
+ draft: "draft";
4494
+ published: "published";
4495
+ }>;
4496
+ }, z.core.$strip>>;
3948
4497
  parentRunId: z.ZodOptional<z.ZodString>;
3949
4498
  parentStepRunId: z.ZodOptional<z.ZodString>;
3950
4499
  rootRunId: z.ZodString;
@@ -4057,6 +4606,16 @@ declare const workflowOperations: {
4057
4606
  number: z.ZodNumber;
4058
4607
  }, z.core.$strip>>;
4059
4608
  operationRunId: z.ZodOptional<z.ZodString>;
4609
+ startedFrom: z.ZodOptional<z.ZodObject<{
4610
+ kind: z.ZodLiteral<"app">;
4611
+ app: z.ZodString;
4612
+ appRevisionId: z.ZodString;
4613
+ action: z.ZodString;
4614
+ workflowRevision: z.ZodEnum<{
4615
+ draft: "draft";
4616
+ published: "published";
4617
+ }>;
4618
+ }, z.core.$strip>>;
4060
4619
  parentRunId: z.ZodOptional<z.ZodString>;
4061
4620
  parentStepRunId: z.ZodOptional<z.ZodString>;
4062
4621
  rootRunId: z.ZodString;
@@ -4360,6 +4919,16 @@ declare const workflowOperations: {
4360
4919
  number: z.ZodNumber;
4361
4920
  }, z.core.$strip>>;
4362
4921
  operationRunId: z.ZodOptional<z.ZodString>;
4922
+ startedFrom: z.ZodOptional<z.ZodObject<{
4923
+ kind: z.ZodLiteral<"app">;
4924
+ app: z.ZodString;
4925
+ appRevisionId: z.ZodString;
4926
+ action: z.ZodString;
4927
+ workflowRevision: z.ZodEnum<{
4928
+ draft: "draft";
4929
+ published: "published";
4930
+ }>;
4931
+ }, z.core.$strip>>;
4363
4932
  parentRunId: z.ZodOptional<z.ZodString>;
4364
4933
  parentStepRunId: z.ZodOptional<z.ZodString>;
4365
4934
  rootRunId: z.ZodString;
@@ -5038,8 +5607,8 @@ declare const apiOperations: {
5038
5607
  draft_published: "draft_published";
5039
5608
  }>;
5040
5609
  representation: zod.ZodEnum<{
5041
- config: "config";
5042
5610
  files: "files";
5611
+ config: "config";
5043
5612
  }>;
5044
5613
  owners: zod.ZodArray<zod.ZodEnum<{
5045
5614
  instance: "instance";
@@ -5332,6 +5901,48 @@ declare const apiOperations: {
5332
5901
  readonly errors: readonly ["NOT_FOUND"];
5333
5902
  readonly rateClass: "read";
5334
5903
  }>;
5904
+ readonly "scope_assignments.overview": Operation<{
5905
+ readonly id: "scope_assignments.overview";
5906
+ readonly method: "GET";
5907
+ readonly path: "/api/v1/instance/access/scope-assignments/overview";
5908
+ readonly summary: "Read the declared data scope, every assignment the reader may see, and each active person's groups and effective values";
5909
+ readonly tag: "Access";
5910
+ readonly auth: "user";
5911
+ readonly scope: "user_admin:read";
5912
+ readonly requires: readonly ["users.manage"];
5913
+ readonly effect: "reading";
5914
+ readonly response: {
5915
+ readonly kind: "json";
5916
+ readonly schema: zod.ZodObject<{
5917
+ dimensions: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
5918
+ label: zod.ZodString;
5919
+ valueType: zod.ZodLiteral<"text">;
5920
+ }, zod_v4_core.$strict>>;
5921
+ assignments: zod.ZodArray<zod.ZodObject<{
5922
+ dimension: zod.ZodString;
5923
+ holderKind: zod.ZodEnum<{
5924
+ user: "user";
5925
+ service_principal: "service_principal";
5926
+ group: "group";
5927
+ }>;
5928
+ holderId: zod.ZodString;
5929
+ effect: zod.ZodEnum<{
5930
+ allow: "allow";
5931
+ deny: "deny";
5932
+ }>;
5933
+ values: zod.ZodUnion<readonly [zod.ZodLiteral<"all">, zod.ZodArray<zod.ZodString>]>;
5934
+ }, zod_v4_core.$strict>>;
5935
+ people: zod.ZodArray<zod.ZodObject<{
5936
+ id: zod.ZodString;
5937
+ displayLabel: zod.ZodString;
5938
+ groups: zod.ZodArray<zod.ZodString>;
5939
+ effective: zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodLiteral<"all">, zod.ZodArray<zod.ZodString>]>>;
5940
+ }, zod_v4_core.$strip>>;
5941
+ }, zod_v4_core.$strip>;
5942
+ };
5943
+ readonly errors: readonly [];
5944
+ readonly rateClass: "read";
5945
+ }>;
5335
5946
  readonly "scope_assignments.set": Operation<{
5336
5947
  readonly id: "scope_assignments.set";
5337
5948
  readonly method: "PUT";
@@ -12981,6 +13592,7 @@ declare const apiOperations: {
12981
13592
  name: zod.ZodString;
12982
13593
  description: zod.ZodOptional<zod.ZodString>;
12983
13594
  definitionRevisionId: zod.ZodString;
13595
+ workspaceId: zod.ZodOptional<zod.ZodString>;
12984
13596
  runnable: zod.ZodBoolean;
12985
13597
  reasons: zod.ZodArray<zod.ZodObject<{
12986
13598
  principalDisplayLabel: zod.ZodOptional<zod.ZodString>;
@@ -12989,6 +13601,7 @@ declare const apiOperations: {
12989
13601
  path: zod.ZodOptional<zod.ZodString>;
12990
13602
  }, zod_v4_core.$strip>>;
12991
13603
  inputs: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
13604
+ triggers: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12992
13605
  runsAs: zod.ZodOptional<zod.ZodString>;
12993
13606
  actions: zod.ZodArray<zod.ZodString>;
12994
13607
  lastRun: zod.ZodOptional<zod.ZodObject<{
@@ -13084,6 +13697,16 @@ declare const apiOperations: {
13084
13697
  number: zod.ZodNumber;
13085
13698
  }, zod_v4_core.$strip>>;
13086
13699
  operationRunId: zod.ZodOptional<zod.ZodString>;
13700
+ startedFrom: zod.ZodOptional<zod.ZodObject<{
13701
+ kind: zod.ZodLiteral<"app">;
13702
+ app: zod.ZodString;
13703
+ appRevisionId: zod.ZodString;
13704
+ action: zod.ZodString;
13705
+ workflowRevision: zod.ZodEnum<{
13706
+ draft: "draft";
13707
+ published: "published";
13708
+ }>;
13709
+ }, zod_v4_core.$strip>>;
13087
13710
  parentRunId: zod.ZodOptional<zod.ZodString>;
13088
13711
  parentStepRunId: zod.ZodOptional<zod.ZodString>;
13089
13712
  rootRunId: zod.ZodString;
@@ -13327,6 +13950,16 @@ declare const apiOperations: {
13327
13950
  number: zod.ZodNumber;
13328
13951
  }, zod_v4_core.$strip>>;
13329
13952
  operationRunId: zod.ZodOptional<zod.ZodString>;
13953
+ startedFrom: zod.ZodOptional<zod.ZodObject<{
13954
+ kind: zod.ZodLiteral<"app">;
13955
+ app: zod.ZodString;
13956
+ appRevisionId: zod.ZodString;
13957
+ action: zod.ZodString;
13958
+ workflowRevision: zod.ZodEnum<{
13959
+ draft: "draft";
13960
+ published: "published";
13961
+ }>;
13962
+ }, zod_v4_core.$strip>>;
13330
13963
  parentRunId: zod.ZodOptional<zod.ZodString>;
13331
13964
  parentStepRunId: zod.ZodOptional<zod.ZodString>;
13332
13965
  rootRunId: zod.ZodString;
@@ -13573,6 +14206,16 @@ declare const apiOperations: {
13573
14206
  number: zod.ZodNumber;
13574
14207
  }, zod_v4_core.$strip>>;
13575
14208
  operationRunId: zod.ZodOptional<zod.ZodString>;
14209
+ startedFrom: zod.ZodOptional<zod.ZodObject<{
14210
+ kind: zod.ZodLiteral<"app">;
14211
+ app: zod.ZodString;
14212
+ appRevisionId: zod.ZodString;
14213
+ action: zod.ZodString;
14214
+ workflowRevision: zod.ZodEnum<{
14215
+ draft: "draft";
14216
+ published: "published";
14217
+ }>;
14218
+ }, zod_v4_core.$strip>>;
13576
14219
  parentRunId: zod.ZodOptional<zod.ZodString>;
13577
14220
  parentStepRunId: zod.ZodOptional<zod.ZodString>;
13578
14221
  rootRunId: zod.ZodString;
@@ -13685,6 +14328,16 @@ declare const apiOperations: {
13685
14328
  number: zod.ZodNumber;
13686
14329
  }, zod_v4_core.$strip>>;
13687
14330
  operationRunId: zod.ZodOptional<zod.ZodString>;
14331
+ startedFrom: zod.ZodOptional<zod.ZodObject<{
14332
+ kind: zod.ZodLiteral<"app">;
14333
+ app: zod.ZodString;
14334
+ appRevisionId: zod.ZodString;
14335
+ action: zod.ZodString;
14336
+ workflowRevision: zod.ZodEnum<{
14337
+ draft: "draft";
14338
+ published: "published";
14339
+ }>;
14340
+ }, zod_v4_core.$strip>>;
13688
14341
  parentRunId: zod.ZodOptional<zod.ZodString>;
13689
14342
  parentStepRunId: zod.ZodOptional<zod.ZodString>;
13690
14343
  rootRunId: zod.ZodString;
@@ -13988,6 +14641,16 @@ declare const apiOperations: {
13988
14641
  number: zod.ZodNumber;
13989
14642
  }, zod_v4_core.$strip>>;
13990
14643
  operationRunId: zod.ZodOptional<zod.ZodString>;
14644
+ startedFrom: zod.ZodOptional<zod.ZodObject<{
14645
+ kind: zod.ZodLiteral<"app">;
14646
+ app: zod.ZodString;
14647
+ appRevisionId: zod.ZodString;
14648
+ action: zod.ZodString;
14649
+ workflowRevision: zod.ZodEnum<{
14650
+ draft: "draft";
14651
+ published: "published";
14652
+ }>;
14653
+ }, zod_v4_core.$strip>>;
13991
14654
  parentRunId: zod.ZodOptional<zod.ZodString>;
13992
14655
  parentStepRunId: zod.ZodOptional<zod.ZodString>;
13993
14656
  rootRunId: zod.ZodString;
@@ -14671,6 +15334,241 @@ declare const apiOperations: {
14671
15334
  readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
14672
15335
  };
14673
15336
  }>;
15337
+ readonly "connections.mine": Operation<{
15338
+ readonly id: "connections.mine";
15339
+ readonly method: "GET";
15340
+ readonly path: "/api/v1/me/connections";
15341
+ readonly summary: "List usable personal Connections with only the caller's binding";
15342
+ readonly tag: "Connections";
15343
+ readonly auth: "user";
15344
+ readonly scope: "me:read";
15345
+ readonly requires: readonly [];
15346
+ readonly effect: "reading";
15347
+ readonly response: {
15348
+ readonly kind: "json";
15349
+ readonly schema: zod.ZodObject<{
15350
+ connections: zod.ZodArray<zod.ZodObject<{
15351
+ state: zod.ZodEnum<{
15352
+ connected: "connected";
15353
+ needs_reconnect: "needs_reconnect";
15354
+ revoked: "revoked";
15355
+ not_connected: "not_connected";
15356
+ }>;
15357
+ account: zod.ZodOptional<zod.ZodString>;
15358
+ connectedAt: zod.ZodOptional<zod.ZodISODateTime>;
15359
+ lastUsedOn: zod.ZodOptional<zod.ZodString>;
15360
+ reason: zod.ZodOptional<zod.ZodString>;
15361
+ name: zod.ZodString;
15362
+ title: zod.ZodString;
15363
+ service: zod.ZodOptional<zod.ZodString>;
15364
+ catalogue: zod.ZodOptional<zod.ZodObject<{
15365
+ entry: zod.ZodString;
15366
+ part: zod.ZodEnum<{
15367
+ tools: "tools";
15368
+ source: "source";
15369
+ }>;
15370
+ version: zod.ZodNumber;
15371
+ }, zod_v4_core.$strip>>;
15372
+ }, zod_v4_core.$strip>>;
15373
+ }, zod_v4_core.$strip>;
15374
+ };
15375
+ readonly errors: readonly [];
15376
+ readonly rateClass: "read";
15377
+ } & {
15378
+ readonly headers: {
15379
+ readonly response: readonly ["Operation-Run-Id"];
15380
+ };
15381
+ }>;
15382
+ readonly "connections.people": Operation<{
15383
+ readonly id: "connections.people";
15384
+ readonly method: "GET";
15385
+ readonly path: "/api/v1/connections/:name/people";
15386
+ readonly summary: "List personal sign-ins; requires Connection write access";
15387
+ readonly tag: "Connections";
15388
+ readonly auth: "user";
15389
+ readonly scope: "config_assets:write";
15390
+ readonly requires: readonly [];
15391
+ readonly effect: "reading";
15392
+ readonly response: {
15393
+ readonly kind: "json";
15394
+ readonly schema: zod.ZodObject<{
15395
+ people: zod.ZodArray<zod.ZodObject<{
15396
+ state: zod.ZodEnum<{
15397
+ connected: "connected";
15398
+ needs_reconnect: "needs_reconnect";
15399
+ revoked: "revoked";
15400
+ not_connected: "not_connected";
15401
+ }>;
15402
+ account: zod.ZodOptional<zod.ZodString>;
15403
+ connectedAt: zod.ZodOptional<zod.ZodISODateTime>;
15404
+ lastUsedOn: zod.ZodOptional<zod.ZodString>;
15405
+ reason: zod.ZodOptional<zod.ZodString>;
15406
+ userId: zod.ZodString;
15407
+ displayLabel: zod.ZodOptional<zod.ZodString>;
15408
+ }, zod_v4_core.$strip>>;
15409
+ }, zod_v4_core.$strip>;
15410
+ };
15411
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT"];
15412
+ readonly rateClass: "read";
15413
+ } & {
15414
+ readonly headers: {
15415
+ readonly response: readonly ["Operation-Run-Id"];
15416
+ };
15417
+ }>;
15418
+ readonly "connections.revoke_person": Operation<{
15419
+ readonly id: "connections.revoke_person";
15420
+ readonly method: "DELETE";
15421
+ readonly path: "/api/v1/connections/:name/people/:userId";
15422
+ readonly summary: "Revoke a personal sign-in locally without contacting the provider";
15423
+ readonly tag: "Connections";
15424
+ readonly auth: "user";
15425
+ readonly scope: "config_assets:write";
15426
+ readonly requires: readonly [];
15427
+ readonly effect: "changing";
15428
+ readonly response: {
15429
+ readonly kind: "json";
15430
+ readonly schema: zod.ZodObject<{
15431
+ state: zod.ZodLiteral<"revoked">;
15432
+ }, zod_v4_core.$strip>;
15433
+ };
15434
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT"];
15435
+ readonly rateClass: "write";
15436
+ } & {
15437
+ readonly accepted: zod.ZodObject<{
15438
+ id: zod.ZodString;
15439
+ operation: zod.ZodString;
15440
+ effect: zod.ZodEnum<{
15441
+ reading: "reading";
15442
+ changing: "changing";
15443
+ }>;
15444
+ status: zod.ZodEnum<{
15445
+ failed: "failed";
15446
+ running: "running";
15447
+ pending_confirmation: "pending_confirmation";
15448
+ pending_approval: "pending_approval";
15449
+ done: "done";
15450
+ denied: "denied";
15451
+ expired: "expired";
15452
+ }>;
15453
+ actor: zod.ZodObject<{
15454
+ kind: zod.ZodEnum<{
15455
+ user: "user";
15456
+ service_principal: "service_principal";
15457
+ }>;
15458
+ id: zod.ZodString;
15459
+ label: zod.ZodString;
15460
+ }, zod_v4_core.$strip>;
15461
+ origin: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
15462
+ kind: zod.ZodLiteral<"agent">;
15463
+ agentRunId: zod.ZodString;
15464
+ conversationId: zod.ZodString;
15465
+ agentName: zod.ZodString;
15466
+ toolCallId: zod.ZodString;
15467
+ toolName: zod.ZodString;
15468
+ toolRevisionId: zod.ZodOptional<zod.ZodString>;
15469
+ boundBy: zod.ZodOptional<zod.ZodObject<{
15470
+ id: zod.ZodString;
15471
+ label: zod.ZodString;
15472
+ }, zod_v4_core.$strip>>;
15473
+ draft: zod.ZodOptional<zod.ZodObject<{
15474
+ kind: zod.ZodLiteral<"agent_preview">;
15475
+ asset: zod.ZodObject<{
15476
+ kind: zod.ZodString;
15477
+ id: zod.ZodString;
15478
+ name: zod.ZodString;
15479
+ }, zod_v4_core.$strip>;
15480
+ revisionId: zod.ZodString;
15481
+ part: zod.ZodString;
15482
+ }, zod_v4_core.$strip>>;
15483
+ }, zod_v4_core.$strip>, zod.ZodObject<{
15484
+ kind: zod.ZodLiteral<"user">;
15485
+ }, zod_v4_core.$strip>, zod.ZodObject<{
15486
+ kind: zod.ZodLiteral<"cli">;
15487
+ unattended: zod.ZodOptional<zod.ZodLiteral<true>>;
15488
+ }, zod_v4_core.$strip>, zod.ZodObject<{
15489
+ kind: zod.ZodLiteral<"mcp">;
15490
+ clientName: zod.ZodOptional<zod.ZodString>;
15491
+ }, zod_v4_core.$strip>, zod.ZodObject<{
15492
+ kind: zod.ZodLiteral<"app">;
15493
+ appName: zod.ZodOptional<zod.ZodString>;
15494
+ appRevisionId: zod.ZodString;
15495
+ actionName: zod.ZodString;
15496
+ pageSessionId: zod.ZodString;
15497
+ conversationId: zod.ZodOptional<zod.ZodString>;
15498
+ target: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
15499
+ connection: zod.ZodString;
15500
+ operation: zod.ZodString;
15501
+ }, zod_v4_core.$strip>, zod.ZodObject<{
15502
+ dataStore: zod.ZodString;
15503
+ }, zod_v4_core.$strip>, zod.ZodObject<{
15504
+ workflow: zod.ZodString;
15505
+ }, zod_v4_core.$strip>]>>;
15506
+ }, zod_v4_core.$strip>, zod.ZodObject<{
15507
+ kind: zod.ZodLiteral<"workflow">;
15508
+ workflowRunId: zod.ZodString;
15509
+ stepRunId: zod.ZodString;
15510
+ boundBy: zod.ZodOptional<zod.ZodObject<{
15511
+ id: zod.ZodString;
15512
+ label: zod.ZodString;
15513
+ }, zod_v4_core.$strip>>;
15514
+ }, zod_v4_core.$strip>, zod.ZodObject<{
15515
+ kind: zod.ZodLiteral<"schedule">;
15516
+ scheduleId: zod.ZodString;
15517
+ }, zod_v4_core.$strip>], "kind">;
15518
+ target: zod.ZodEnum<{
15519
+ live: "live";
15520
+ test: "test";
15521
+ dry_run: "dry_run";
15522
+ }>;
15523
+ app: zod.ZodOptional<zod.ZodObject<{
15524
+ title: zod.ZodOptional<zod.ZodString>;
15525
+ revision: zod.ZodOptional<zod.ZodNumber>;
15526
+ deleted: zod.ZodBoolean;
15527
+ }, zod_v4_core.$strip>>;
15528
+ workspaceId: zod.ZodOptional<zod.ZodString>;
15529
+ approvalRequestId: zod.ZodOptional<zod.ZodString>;
15530
+ inputHash: zod.ZodString;
15531
+ attempt: zod.ZodNumber;
15532
+ decision: zod.ZodOptional<zod.ZodObject<{
15533
+ mode: zod.ZodEnum<{
15534
+ direct: "direct";
15535
+ confirmed: "confirmed";
15536
+ approved: "approved";
15537
+ declined: "declined";
15538
+ }>;
15539
+ reason: zod.ZodOptional<zod.ZodEnum<{
15540
+ inherited_approval_not_applied: "inherited_approval_not_applied";
15541
+ workflow_publish: "workflow_publish";
15542
+ approved_by_caller: "approved_by_caller";
15543
+ }>>;
15544
+ by: zod.ZodString;
15545
+ byLabel: zod.ZodOptional<zod.ZodString>;
15546
+ at: zod.ZodISODateTime;
15547
+ comment: zod.ZodOptional<zod.ZodString>;
15548
+ }, zod_v4_core.$strip>>;
15549
+ error: zod.ZodOptional<zod.ZodObject<{
15550
+ code: zod.ZodString;
15551
+ message: zod.ZodString;
15552
+ reason: zod.ZodOptional<zod.ZodString>;
15553
+ }, zod_v4_core.$strip>>;
15554
+ usage: zod.ZodOptional<zod.ZodObject<{
15555
+ modelCalls: zod.ZodNumber;
15556
+ inputTokens: zod.ZodNumber;
15557
+ outputTokens: zod.ZodNumber;
15558
+ totalTokens: zod.ZodNumber;
15559
+ }, zod_v4_core.$strip>>;
15560
+ correlationId: zod.ZodString;
15561
+ createdAt: zod.ZodISODateTime;
15562
+ startedAt: zod.ZodOptional<zod.ZodISODateTime>;
15563
+ finishedAt: zod.ZodOptional<zod.ZodISODateTime>;
15564
+ expiresAt: zod.ZodOptional<zod.ZodISODateTime>;
15565
+ href: zod.ZodString;
15566
+ }, zod_v4_core.$strip>;
15567
+ readonly headers: {
15568
+ readonly request: readonly ["Idempotency-Key", "Catalyst-Unattended"];
15569
+ readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
15570
+ };
15571
+ }>;
14674
15572
  readonly "connections.person_context": Operation<{
14675
15573
  readonly id: "connections.person_context";
14676
15574
  readonly method: "GET";
@@ -15054,6 +15952,7 @@ declare const apiOperations: {
15054
15952
  readonly body: zod.ZodObject<{
15055
15953
  value: zod.ZodString;
15056
15954
  expectedVersion: zod.ZodNullable<zod.ZodNumber>;
15955
+ expectedRevision: zod.ZodNumber;
15057
15956
  }, zod_v4_core.$strip>;
15058
15957
  readonly response: {
15059
15958
  readonly kind: "json";
@@ -15232,7 +16131,7 @@ declare const apiOperations: {
15232
16131
  readonly id: "connections.oauth_start";
15233
16132
  readonly method: "POST";
15234
16133
  readonly path: "/api/v1/connections/:name/oauth/start";
15235
- readonly summary: "Start the shared OAuth sign-in of one Connection. The answer is the address to open in the person's browser";
16134
+ readonly summary: "Start the OAuth sign-in of one Connection. The answer is the address to open in the person's browser";
15236
16135
  readonly tag: "Connections";
15237
16136
  readonly auth: "user";
15238
16137
  readonly scope: "config_assets:write";
@@ -15261,7 +16160,7 @@ declare const apiOperations: {
15261
16160
  readonly id: "connections.oauth_sign_in";
15262
16161
  readonly method: "GET";
15263
16162
  readonly path: "/api/v1/connections/:name/oauth/sign-ins/:signInId";
15264
- readonly summary: "Read whether a shared OAuth sign-in the caller started still waits for the browser to come back";
16163
+ readonly summary: "Read whether an OAuth sign-in the caller started still waits for the browser to come back";
15265
16164
  readonly tag: "Connections";
15266
16165
  readonly auth: "user";
15267
16166
  readonly scope: "config_assets:read";
@@ -15320,7 +16219,7 @@ declare const apiOperations: {
15320
16219
  readonly id: "connections.disconnect";
15321
16220
  readonly method: "POST";
15322
16221
  readonly path: "/api/v1/connections/:name/disconnect";
15323
- readonly summary: "End the shared OAuth sign-in of one Connection. Its tokens are deleted, then the provider is asked to revoke the grant";
16222
+ readonly summary: "End the OAuth sign-in of one Connection. Its tokens are deleted, then the provider is asked to revoke the grant";
15324
16223
  readonly tag: "Connections";
15325
16224
  readonly auth: "principal";
15326
16225
  readonly scope: "config_assets:write";
@@ -15516,6 +16415,109 @@ declare const apiOperations: {
15516
16415
  secret: zod.ZodBoolean;
15517
16416
  }, zod_v4_core.$strip>>;
15518
16417
  }, zod_v4_core.$strip>>;
16418
+ entries: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
16419
+ id: zod.ZodString;
16420
+ version: zod.ZodNumber;
16421
+ service: zod.ZodString;
16422
+ title: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
16423
+ en: zod.ZodOptional<zod.ZodString>;
16424
+ de: zod.ZodOptional<zod.ZodString>;
16425
+ }, zod_v4_core.$strict>]>;
16426
+ description: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
16427
+ en: zod.ZodOptional<zod.ZodString>;
16428
+ de: zod.ZodOptional<zod.ZodString>;
16429
+ }, zod_v4_core.$strict>]>;
16430
+ category: zod.ZodEnum<{
16431
+ mail: "mail";
16432
+ files: "files";
16433
+ accounting: "accounting";
16434
+ databases: "databases";
16435
+ other: "other";
16436
+ }>;
16437
+ examplePrompts: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
16438
+ en: zod.ZodOptional<zod.ZodString>;
16439
+ de: zod.ZodOptional<zod.ZodString>;
16440
+ }, zod_v4_core.$strict>]>>;
16441
+ mark: zod.ZodObject<{
16442
+ color: zod.ZodOptional<zod.ZodString>;
16443
+ logo: zod.ZodOptional<zod.ZodString>;
16444
+ }, zod_v4_core.$strip>;
16445
+ offered: zod.ZodBoolean;
16446
+ parts: zod.ZodArray<zod.ZodObject<{
16447
+ part: zod.ZodEnum<{
16448
+ tools: "tools";
16449
+ source: "source";
16450
+ }>;
16451
+ connectorType: zod.ZodString;
16452
+ name: zod.ZodString;
16453
+ title: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
16454
+ en: zod.ZodOptional<zod.ZodString>;
16455
+ de: zod.ZodOptional<zod.ZodString>;
16456
+ }, zod_v4_core.$strict>]>>;
16457
+ description: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
16458
+ en: zod.ZodOptional<zod.ZodString>;
16459
+ de: zod.ZodOptional<zod.ZodString>;
16460
+ }, zod_v4_core.$strict>]>;
16461
+ authScheme: zod.ZodString;
16462
+ credentialModes: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
16463
+ user: "user";
16464
+ shared: "shared";
16465
+ }>>>;
16466
+ defaultCredentialMode: zod.ZodOptional<zod.ZodEnum<{
16467
+ user: "user";
16468
+ shared: "shared";
16469
+ }>>;
16470
+ groups: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
16471
+ id: zod.ZodString;
16472
+ title: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
16473
+ en: zod.ZodOptional<zod.ZodString>;
16474
+ de: zod.ZodOptional<zod.ZodString>;
16475
+ }, zod_v4_core.$strict>]>;
16476
+ scopes: zod.ZodArray<zod.ZodString>;
16477
+ }, zod_v4_core.$strip>>>;
16478
+ settings: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
16479
+ fields: zod.ZodArray<zod.ZodObject<{
16480
+ label: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
16481
+ en: zod.ZodOptional<zod.ZodString>;
16482
+ de: zod.ZodOptional<zod.ZodString>;
16483
+ }, zod_v4_core.$strict>]>;
16484
+ help: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
16485
+ en: zod.ZodOptional<zod.ZodString>;
16486
+ de: zod.ZodOptional<zod.ZodString>;
16487
+ }, zod_v4_core.$strict>]>>;
16488
+ optional: zod.ZodBoolean;
16489
+ setting: zod.ZodOptional<zod.ZodString>;
16490
+ secret: zod.ZodBoolean;
16491
+ default: zod.ZodOptional<zod.ZodString>;
16492
+ }, zod_v4_core.$strip>>;
16493
+ prerequisites: zod.ZodArray<zod.ZodObject<{
16494
+ text: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
16495
+ en: zod.ZodOptional<zod.ZodString>;
16496
+ de: zod.ZodOptional<zod.ZodString>;
16497
+ }, zod_v4_core.$strict>]>;
16498
+ value: zod.ZodOptional<zod.ZodString>;
16499
+ }, zod_v4_core.$strip>>;
16500
+ hosts: zod.ZodArray<zod.ZodString>;
16501
+ redirectUri: zod.ZodOptional<zod.ZodString>;
16502
+ operations: zod.ZodArray<zod.ZodObject<{
16503
+ name: zod.ZodString;
16504
+ group: zod.ZodOptional<zod.ZodString>;
16505
+ title: zod.ZodOptional<zod.ZodString>;
16506
+ description: zod.ZodOptional<zod.ZodString>;
16507
+ effect: zod.ZodEnum<{
16508
+ reading: "reading";
16509
+ changing: "changing";
16510
+ }>;
16511
+ recommended: zod.ZodBoolean;
16512
+ declaration: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
16513
+ }, zod_v4_core.$strip>>;
16514
+ sharedAccountNote: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
16515
+ en: zod.ZodOptional<zod.ZodString>;
16516
+ de: zod.ZodOptional<zod.ZodString>;
16517
+ }, zod_v4_core.$strict>]>;
16518
+ documentSource: zod.ZodBoolean;
16519
+ }, zod_v4_core.$strip>>;
16520
+ }, zod_v4_core.$strip>>>;
15519
16521
  }, zod_v4_core.$strip>;
15520
16522
  };
15521
16523
  readonly errors: readonly [];
@@ -15543,6 +16545,7 @@ declare const apiOperations: {
15543
16545
  title: zod.ZodString;
15544
16546
  service: zod.ZodOptional<zod.ZodString>;
15545
16547
  connectorType: zod.ZodOptional<zod.ZodString>;
16548
+ personal: zod.ZodOptional<zod.ZodLiteral<true>>;
15546
16549
  tools: zod.ZodArray<zod.ZodObject<{
15547
16550
  toolName: zod.ZodString;
15548
16551
  operation: zod.ZodString;
@@ -15785,6 +16788,170 @@ declare const apiOperations: {
15785
16788
  readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
15786
16789
  };
15787
16790
  }>;
16791
+ readonly "agents.use.set": Operation<{
16792
+ readonly id: "agents.use.set";
16793
+ readonly method: "PUT";
16794
+ readonly path: "/api/v1/agents/:name/use";
16795
+ readonly summary: "Set who uses one agent where it is available: everyone, or holders of agent.use";
16796
+ readonly tag: "Agents";
16797
+ readonly auth: "user";
16798
+ readonly scope: "config_assets:write";
16799
+ readonly requires: readonly [];
16800
+ readonly effect: "changing";
16801
+ readonly body: zod.ZodObject<{
16802
+ use: zod.ZodEnum<{
16803
+ everyone: "everyone";
16804
+ granted: "granted";
16805
+ }>;
16806
+ expectedAssetId: zod.ZodOptional<zod.ZodString>;
16807
+ }, zod_v4_core.$strip>;
16808
+ readonly response: {
16809
+ readonly kind: "json";
16810
+ readonly schema: zod.ZodObject<{
16811
+ use: zod.ZodEnum<{
16812
+ everyone: "everyone";
16813
+ granted: "granted";
16814
+ }>;
16815
+ }, zod_v4_core.$strip>;
16816
+ };
16817
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT"];
16818
+ readonly rateClass: "write";
16819
+ } & {
16820
+ readonly accepted: zod.ZodObject<{
16821
+ id: zod.ZodString;
16822
+ operation: zod.ZodString;
16823
+ effect: zod.ZodEnum<{
16824
+ reading: "reading";
16825
+ changing: "changing";
16826
+ }>;
16827
+ status: zod.ZodEnum<{
16828
+ failed: "failed";
16829
+ running: "running";
16830
+ pending_confirmation: "pending_confirmation";
16831
+ pending_approval: "pending_approval";
16832
+ done: "done";
16833
+ denied: "denied";
16834
+ expired: "expired";
16835
+ }>;
16836
+ actor: zod.ZodObject<{
16837
+ kind: zod.ZodEnum<{
16838
+ user: "user";
16839
+ service_principal: "service_principal";
16840
+ }>;
16841
+ id: zod.ZodString;
16842
+ label: zod.ZodString;
16843
+ }, zod_v4_core.$strip>;
16844
+ origin: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
16845
+ kind: zod.ZodLiteral<"agent">;
16846
+ agentRunId: zod.ZodString;
16847
+ conversationId: zod.ZodString;
16848
+ agentName: zod.ZodString;
16849
+ toolCallId: zod.ZodString;
16850
+ toolName: zod.ZodString;
16851
+ toolRevisionId: zod.ZodOptional<zod.ZodString>;
16852
+ boundBy: zod.ZodOptional<zod.ZodObject<{
16853
+ id: zod.ZodString;
16854
+ label: zod.ZodString;
16855
+ }, zod_v4_core.$strip>>;
16856
+ draft: zod.ZodOptional<zod.ZodObject<{
16857
+ kind: zod.ZodLiteral<"agent_preview">;
16858
+ asset: zod.ZodObject<{
16859
+ kind: zod.ZodString;
16860
+ id: zod.ZodString;
16861
+ name: zod.ZodString;
16862
+ }, zod_v4_core.$strip>;
16863
+ revisionId: zod.ZodString;
16864
+ part: zod.ZodString;
16865
+ }, zod_v4_core.$strip>>;
16866
+ }, zod_v4_core.$strip>, zod.ZodObject<{
16867
+ kind: zod.ZodLiteral<"user">;
16868
+ }, zod_v4_core.$strip>, zod.ZodObject<{
16869
+ kind: zod.ZodLiteral<"cli">;
16870
+ unattended: zod.ZodOptional<zod.ZodLiteral<true>>;
16871
+ }, zod_v4_core.$strip>, zod.ZodObject<{
16872
+ kind: zod.ZodLiteral<"mcp">;
16873
+ clientName: zod.ZodOptional<zod.ZodString>;
16874
+ }, zod_v4_core.$strip>, zod.ZodObject<{
16875
+ kind: zod.ZodLiteral<"app">;
16876
+ appName: zod.ZodOptional<zod.ZodString>;
16877
+ appRevisionId: zod.ZodString;
16878
+ actionName: zod.ZodString;
16879
+ pageSessionId: zod.ZodString;
16880
+ conversationId: zod.ZodOptional<zod.ZodString>;
16881
+ target: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
16882
+ connection: zod.ZodString;
16883
+ operation: zod.ZodString;
16884
+ }, zod_v4_core.$strip>, zod.ZodObject<{
16885
+ dataStore: zod.ZodString;
16886
+ }, zod_v4_core.$strip>, zod.ZodObject<{
16887
+ workflow: zod.ZodString;
16888
+ }, zod_v4_core.$strip>]>>;
16889
+ }, zod_v4_core.$strip>, zod.ZodObject<{
16890
+ kind: zod.ZodLiteral<"workflow">;
16891
+ workflowRunId: zod.ZodString;
16892
+ stepRunId: zod.ZodString;
16893
+ boundBy: zod.ZodOptional<zod.ZodObject<{
16894
+ id: zod.ZodString;
16895
+ label: zod.ZodString;
16896
+ }, zod_v4_core.$strip>>;
16897
+ }, zod_v4_core.$strip>, zod.ZodObject<{
16898
+ kind: zod.ZodLiteral<"schedule">;
16899
+ scheduleId: zod.ZodString;
16900
+ }, zod_v4_core.$strip>], "kind">;
16901
+ target: zod.ZodEnum<{
16902
+ live: "live";
16903
+ test: "test";
16904
+ dry_run: "dry_run";
16905
+ }>;
16906
+ app: zod.ZodOptional<zod.ZodObject<{
16907
+ title: zod.ZodOptional<zod.ZodString>;
16908
+ revision: zod.ZodOptional<zod.ZodNumber>;
16909
+ deleted: zod.ZodBoolean;
16910
+ }, zod_v4_core.$strip>>;
16911
+ workspaceId: zod.ZodOptional<zod.ZodString>;
16912
+ approvalRequestId: zod.ZodOptional<zod.ZodString>;
16913
+ inputHash: zod.ZodString;
16914
+ attempt: zod.ZodNumber;
16915
+ decision: zod.ZodOptional<zod.ZodObject<{
16916
+ mode: zod.ZodEnum<{
16917
+ direct: "direct";
16918
+ confirmed: "confirmed";
16919
+ approved: "approved";
16920
+ declined: "declined";
16921
+ }>;
16922
+ reason: zod.ZodOptional<zod.ZodEnum<{
16923
+ inherited_approval_not_applied: "inherited_approval_not_applied";
16924
+ workflow_publish: "workflow_publish";
16925
+ approved_by_caller: "approved_by_caller";
16926
+ }>>;
16927
+ by: zod.ZodString;
16928
+ byLabel: zod.ZodOptional<zod.ZodString>;
16929
+ at: zod.ZodISODateTime;
16930
+ comment: zod.ZodOptional<zod.ZodString>;
16931
+ }, zod_v4_core.$strip>>;
16932
+ error: zod.ZodOptional<zod.ZodObject<{
16933
+ code: zod.ZodString;
16934
+ message: zod.ZodString;
16935
+ reason: zod.ZodOptional<zod.ZodString>;
16936
+ }, zod_v4_core.$strip>>;
16937
+ usage: zod.ZodOptional<zod.ZodObject<{
16938
+ modelCalls: zod.ZodNumber;
16939
+ inputTokens: zod.ZodNumber;
16940
+ outputTokens: zod.ZodNumber;
16941
+ totalTokens: zod.ZodNumber;
16942
+ }, zod_v4_core.$strip>>;
16943
+ correlationId: zod.ZodString;
16944
+ createdAt: zod.ZodISODateTime;
16945
+ startedAt: zod.ZodOptional<zod.ZodISODateTime>;
16946
+ finishedAt: zod.ZodOptional<zod.ZodISODateTime>;
16947
+ expiresAt: zod.ZodOptional<zod.ZodISODateTime>;
16948
+ href: zod.ZodString;
16949
+ }, zod_v4_core.$strip>;
16950
+ readonly headers: {
16951
+ readonly request: readonly ["Idempotency-Key", "Catalyst-Unattended"];
16952
+ readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
16953
+ };
16954
+ }>;
15788
16955
  readonly "agents.try.open": Operation<{
15789
16956
  readonly id: "agents.try.open";
15790
16957
  readonly method: "POST";
@@ -15821,6 +16988,7 @@ declare const apiOperations: {
15821
16988
  kind: zod.ZodString;
15822
16989
  name: zod.ZodString;
15823
16990
  }, zod_v4_core.$strip>>;
16991
+ creationTarget: zod.ZodOptional<zod.ZodLiteral<"instance">>;
15824
16992
  }, zod_v4_core.$strip>;
15825
16993
  preview: zod.ZodLiteral<true>;
15826
16994
  }, zod_v4_core.$strip>;
@@ -16443,6 +17611,13 @@ declare const apiOperations: {
16443
17611
  readonly requires: readonly [];
16444
17612
  readonly effect: "reading";
16445
17613
  readonly body: zod.ZodObject<{
17614
+ files: zod.ZodOptional<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
17615
+ path: zod.ZodString;
17616
+ text: zod.ZodString;
17617
+ }, zod_v4_core.$strict>, zod.ZodObject<{
17618
+ path: zod.ZodString;
17619
+ base64: zod.ZodBase64;
17620
+ }, zod_v4_core.$strict>]>>>;
16446
17621
  availability: zod.ZodOptional<zod.ZodObject<{
16447
17622
  mode: zod.ZodEnum<{
16448
17623
  all: "all";
@@ -16576,16 +17751,24 @@ declare const apiOperations: {
16576
17751
  runsAs: zod.ZodOptional<zod.ZodString>;
16577
17752
  stepFacts: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
16578
17753
  source: zod.ZodOptional<zod.ZodObject<{
17754
+ title: zod.ZodOptional<zod.ZodString>;
17755
+ service: zod.ZodOptional<zod.ZodString>;
16579
17756
  kind: zod.ZodEnum<{
16580
17757
  workflow: "workflow";
17758
+ other: "other";
16581
17759
  connection: "connection";
16582
17760
  data_store: "data_store";
16583
17761
  knowledge_base: "knowledge_base";
16584
- other: "other";
17762
+ mail_sender: "mail_sender";
16585
17763
  }>;
16586
- title: zod.ZodOptional<zod.ZodString>;
16587
- service: zod.ZodOptional<zod.ZodString>;
16588
17764
  }, zod_v4_core.$strip>>;
17765
+ mailSender: zod.ZodOptional<zod.ZodOptional<zod.ZodObject<{
17766
+ sender: zod.ZodString;
17767
+ title: zod.ZodString;
17768
+ icon: zod.ZodString;
17769
+ address: zod.ZodEmail;
17770
+ recipientDomains: zod.ZodArray<zod.ZodString>;
17771
+ }, zod_v4_core.$strict>>>;
16589
17772
  title: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
16590
17773
  effect: zod.ZodOptional<zod.ZodOptional<zod.ZodEnum<{
16591
17774
  reading: "reading";
@@ -16601,16 +17784,24 @@ declare const apiOperations: {
16601
17784
  nextDueAt: zod.ZodOptional<zod.ZodISODateTime>;
16602
17785
  tools: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
16603
17786
  source: zod.ZodObject<{
17787
+ title: zod.ZodOptional<zod.ZodString>;
17788
+ service: zod.ZodOptional<zod.ZodString>;
16604
17789
  kind: zod.ZodEnum<{
16605
17790
  workflow: "workflow";
17791
+ other: "other";
16606
17792
  connection: "connection";
16607
17793
  data_store: "data_store";
16608
17794
  knowledge_base: "knowledge_base";
16609
- other: "other";
17795
+ mail_sender: "mail_sender";
16610
17796
  }>;
16611
- title: zod.ZodOptional<zod.ZodString>;
16612
- service: zod.ZodOptional<zod.ZodString>;
16613
17797
  }, zod_v4_core.$strip>;
17798
+ mailSender: zod.ZodOptional<zod.ZodObject<{
17799
+ sender: zod.ZodString;
17800
+ title: zod.ZodString;
17801
+ icon: zod.ZodString;
17802
+ address: zod.ZodEmail;
17803
+ recipientDomains: zod.ZodArray<zod.ZodString>;
17804
+ }, zod_v4_core.$strict>>;
16614
17805
  title: zod.ZodOptional<zod.ZodString>;
16615
17806
  effect: zod.ZodOptional<zod.ZodEnum<{
16616
17807
  reading: "reading";
@@ -16623,6 +17814,16 @@ declare const apiOperations: {
16623
17814
  name: zod.ZodString;
16624
17815
  }, zod_v4_core.$strip>>>;
16625
17816
  }, zod_v4_core.$strip>>>;
17817
+ workflowCallers: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
17818
+ name: zod.ZodString;
17819
+ title: zod.ZodString;
17820
+ scope: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
17821
+ kind: zod.ZodLiteral<"instance">;
17822
+ }, zod_v4_core.$strip>, zod.ZodObject<{
17823
+ kind: zod.ZodLiteral<"workspace">;
17824
+ workspaceId: zod.ZodString;
17825
+ }, zod_v4_core.$strip>], "kind">;
17826
+ }, zod_v4_core.$strip>>>;
16626
17827
  publishQuestion: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
16627
17828
  publishNarrative: zod.ZodOptional<zod.ZodObject<{
16628
17829
  summary: zod.ZodString;
@@ -16693,6 +17894,10 @@ declare const apiOperations: {
16693
17894
  administrators: zod.ZodArray<zod.ZodString>;
16694
17895
  }, zod_v4_core.$strip>>;
16695
17896
  canSetAvailability: zod.ZodOptional<zod.ZodBoolean>;
17897
+ agentUse: zod.ZodOptional<zod.ZodEnum<{
17898
+ everyone: "everyone";
17899
+ granted: "granted";
17900
+ }>>;
16696
17901
  unavailableTools: zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
16697
17902
  name: zod.ZodString;
16698
17903
  reason: zod.ZodLiteral<"module_off">;
@@ -16981,6 +18186,10 @@ declare const apiOperations: {
16981
18186
  confirmProcessing: zod.ZodOptional<zod.ZodString>;
16982
18187
  revision: zod.ZodNumber;
16983
18188
  workspaceId: zod.ZodOptional<zod.ZodString>;
18189
+ workflows: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
18190
+ name: zod.ZodString;
18191
+ revision: zod.ZodNumber;
18192
+ }, zod_v4_core.$strict>>>;
16984
18193
  }, zod_v4_core.$strip>;
16985
18194
  readonly response: {
16986
18195
  readonly kind: "json";
@@ -16988,6 +18197,12 @@ declare const apiOperations: {
16988
18197
  draftRevision: zod.ZodNumber;
16989
18198
  publishedRevision: zod.ZodNumber;
16990
18199
  replacedRevision: zod.ZodOptional<zod.ZodNumber>;
18200
+ publishedWith: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
18201
+ kind: zod.ZodLiteral<"workflow">;
18202
+ name: zod.ZodString;
18203
+ publishedRevision: zod.ZodNumber;
18204
+ replacedRevision: zod.ZodOptional<zod.ZodNumber>;
18205
+ }, zod_v4_core.$strip>>>;
16991
18206
  }, zod_v4_core.$strip>;
16992
18207
  };
16993
18208
  readonly errors: readonly ["NOT_FOUND", "VALIDATION_FAILED", "CONFLICT", "PRECONDITION_REQUIRED"];
@@ -17148,6 +18363,12 @@ declare const apiOperations: {
17148
18363
  draftRevision: zod.ZodNumber;
17149
18364
  publishedRevision: zod.ZodNumber;
17150
18365
  replacedRevision: zod.ZodOptional<zod.ZodNumber>;
18366
+ publishedWith: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
18367
+ kind: zod.ZodLiteral<"workflow">;
18368
+ name: zod.ZodString;
18369
+ publishedRevision: zod.ZodNumber;
18370
+ replacedRevision: zod.ZodOptional<zod.ZodNumber>;
18371
+ }, zod_v4_core.$strip>>>;
17151
18372
  }, zod_v4_core.$strip>;
17152
18373
  };
17153
18374
  readonly errors: readonly ["NOT_FOUND", "REVISION_CONFLICT", "PRECONDITION_REQUIRED"];
@@ -18541,28 +19762,295 @@ declare const apiOperations: {
18541
19762
  readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
18542
19763
  };
18543
19764
  }>;
18544
- readonly "apps.allow_draft_host": Operation<{
18545
- readonly id: "apps.allow_draft_host";
19765
+ readonly "apps.allow_draft_host": Operation<{
19766
+ readonly id: "apps.allow_draft_host";
19767
+ readonly method: "POST";
19768
+ readonly path: "/api/v1/apps/draft-hosts";
19769
+ readonly summary: "Allow an outside host a draft lists for the caller's own view of that draft, before it is published";
19770
+ readonly tag: "Apps";
19771
+ readonly auth: "user";
19772
+ readonly scope: "config_assets:write";
19773
+ readonly requires: readonly [];
19774
+ readonly effect: "changing";
19775
+ readonly body: zod.ZodObject<{
19776
+ fileSetId: zod.ZodString;
19777
+ host: zod.ZodString;
19778
+ }, zod_v4_core.$strict>;
19779
+ readonly response: {
19780
+ readonly kind: "json";
19781
+ readonly schema: zod.ZodObject<{
19782
+ host: zod.ZodString;
19783
+ allowed: zod.ZodLiteral<true>;
19784
+ }, zod_v4_core.$strip>;
19785
+ };
19786
+ readonly errors: readonly ["NOT_FOUND", "FORBIDDEN", "VALIDATION_FAILED"];
19787
+ readonly rateClass: "write";
19788
+ } & {
19789
+ readonly accepted: zod.ZodObject<{
19790
+ id: zod.ZodString;
19791
+ operation: zod.ZodString;
19792
+ effect: zod.ZodEnum<{
19793
+ reading: "reading";
19794
+ changing: "changing";
19795
+ }>;
19796
+ status: zod.ZodEnum<{
19797
+ failed: "failed";
19798
+ running: "running";
19799
+ pending_confirmation: "pending_confirmation";
19800
+ pending_approval: "pending_approval";
19801
+ done: "done";
19802
+ denied: "denied";
19803
+ expired: "expired";
19804
+ }>;
19805
+ actor: zod.ZodObject<{
19806
+ kind: zod.ZodEnum<{
19807
+ user: "user";
19808
+ service_principal: "service_principal";
19809
+ }>;
19810
+ id: zod.ZodString;
19811
+ label: zod.ZodString;
19812
+ }, zod_v4_core.$strip>;
19813
+ origin: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
19814
+ kind: zod.ZodLiteral<"agent">;
19815
+ agentRunId: zod.ZodString;
19816
+ conversationId: zod.ZodString;
19817
+ agentName: zod.ZodString;
19818
+ toolCallId: zod.ZodString;
19819
+ toolName: zod.ZodString;
19820
+ toolRevisionId: zod.ZodOptional<zod.ZodString>;
19821
+ boundBy: zod.ZodOptional<zod.ZodObject<{
19822
+ id: zod.ZodString;
19823
+ label: zod.ZodString;
19824
+ }, zod_v4_core.$strip>>;
19825
+ draft: zod.ZodOptional<zod.ZodObject<{
19826
+ kind: zod.ZodLiteral<"agent_preview">;
19827
+ asset: zod.ZodObject<{
19828
+ kind: zod.ZodString;
19829
+ id: zod.ZodString;
19830
+ name: zod.ZodString;
19831
+ }, zod_v4_core.$strip>;
19832
+ revisionId: zod.ZodString;
19833
+ part: zod.ZodString;
19834
+ }, zod_v4_core.$strip>>;
19835
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19836
+ kind: zod.ZodLiteral<"user">;
19837
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19838
+ kind: zod.ZodLiteral<"cli">;
19839
+ unattended: zod.ZodOptional<zod.ZodLiteral<true>>;
19840
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19841
+ kind: zod.ZodLiteral<"mcp">;
19842
+ clientName: zod.ZodOptional<zod.ZodString>;
19843
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19844
+ kind: zod.ZodLiteral<"app">;
19845
+ appName: zod.ZodOptional<zod.ZodString>;
19846
+ appRevisionId: zod.ZodString;
19847
+ actionName: zod.ZodString;
19848
+ pageSessionId: zod.ZodString;
19849
+ conversationId: zod.ZodOptional<zod.ZodString>;
19850
+ target: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
19851
+ connection: zod.ZodString;
19852
+ operation: zod.ZodString;
19853
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19854
+ dataStore: zod.ZodString;
19855
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19856
+ workflow: zod.ZodString;
19857
+ }, zod_v4_core.$strip>]>>;
19858
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19859
+ kind: zod.ZodLiteral<"workflow">;
19860
+ workflowRunId: zod.ZodString;
19861
+ stepRunId: zod.ZodString;
19862
+ boundBy: zod.ZodOptional<zod.ZodObject<{
19863
+ id: zod.ZodString;
19864
+ label: zod.ZodString;
19865
+ }, zod_v4_core.$strip>>;
19866
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19867
+ kind: zod.ZodLiteral<"schedule">;
19868
+ scheduleId: zod.ZodString;
19869
+ }, zod_v4_core.$strip>], "kind">;
19870
+ target: zod.ZodEnum<{
19871
+ live: "live";
19872
+ test: "test";
19873
+ dry_run: "dry_run";
19874
+ }>;
19875
+ app: zod.ZodOptional<zod.ZodObject<{
19876
+ title: zod.ZodOptional<zod.ZodString>;
19877
+ revision: zod.ZodOptional<zod.ZodNumber>;
19878
+ deleted: zod.ZodBoolean;
19879
+ }, zod_v4_core.$strip>>;
19880
+ workspaceId: zod.ZodOptional<zod.ZodString>;
19881
+ approvalRequestId: zod.ZodOptional<zod.ZodString>;
19882
+ inputHash: zod.ZodString;
19883
+ attempt: zod.ZodNumber;
19884
+ decision: zod.ZodOptional<zod.ZodObject<{
19885
+ mode: zod.ZodEnum<{
19886
+ direct: "direct";
19887
+ confirmed: "confirmed";
19888
+ approved: "approved";
19889
+ declined: "declined";
19890
+ }>;
19891
+ reason: zod.ZodOptional<zod.ZodEnum<{
19892
+ inherited_approval_not_applied: "inherited_approval_not_applied";
19893
+ workflow_publish: "workflow_publish";
19894
+ approved_by_caller: "approved_by_caller";
19895
+ }>>;
19896
+ by: zod.ZodString;
19897
+ byLabel: zod.ZodOptional<zod.ZodString>;
19898
+ at: zod.ZodISODateTime;
19899
+ comment: zod.ZodOptional<zod.ZodString>;
19900
+ }, zod_v4_core.$strip>>;
19901
+ error: zod.ZodOptional<zod.ZodObject<{
19902
+ code: zod.ZodString;
19903
+ message: zod.ZodString;
19904
+ reason: zod.ZodOptional<zod.ZodString>;
19905
+ }, zod_v4_core.$strip>>;
19906
+ usage: zod.ZodOptional<zod.ZodObject<{
19907
+ modelCalls: zod.ZodNumber;
19908
+ inputTokens: zod.ZodNumber;
19909
+ outputTokens: zod.ZodNumber;
19910
+ totalTokens: zod.ZodNumber;
19911
+ }, zod_v4_core.$strip>>;
19912
+ correlationId: zod.ZodString;
19913
+ createdAt: zod.ZodISODateTime;
19914
+ startedAt: zod.ZodOptional<zod.ZodISODateTime>;
19915
+ finishedAt: zod.ZodOptional<zod.ZodISODateTime>;
19916
+ expiresAt: zod.ZodOptional<zod.ZodISODateTime>;
19917
+ href: zod.ZodString;
19918
+ }, zod_v4_core.$strip>;
19919
+ readonly headers: {
19920
+ readonly request: readonly ["Idempotency-Key", "Catalyst-Unattended"];
19921
+ readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
19922
+ };
19923
+ }>;
19924
+ readonly "apps.get_from_page": Operation<{
19925
+ readonly id: "apps.get_from_page";
19926
+ readonly method: "GET";
19927
+ readonly path: "/api/v1/conversations/:conversationId/pages/:pageId/app";
19928
+ readonly summary: "Read the App a Page is updated into, where the caller may write it";
19929
+ readonly tag: "Apps";
19930
+ readonly auth: "user";
19931
+ readonly scope: "conversation:read";
19932
+ readonly requires: readonly [];
19933
+ readonly effect: "reading";
19934
+ readonly query: zod.ZodObject<{
19935
+ app: zod.ZodOptional<zod.ZodString>;
19936
+ }, zod_v4_core.$strip>;
19937
+ readonly response: {
19938
+ readonly kind: "json";
19939
+ readonly schema: zod.ZodObject<{
19940
+ app: zod.ZodNullable<zod.ZodObject<{
19941
+ name: zod.ZodString;
19942
+ title: zod.ZodString;
19943
+ workspaceId: zod.ZodString;
19944
+ draftRevision: zod.ZodNumber;
19945
+ draftFromPage: zod.ZodBoolean;
19946
+ }, zod_v4_core.$strip>>;
19947
+ candidate: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
19948
+ name: zod.ZodString;
19949
+ title: zod.ZodString;
19950
+ workspaceId: zod.ZodString;
19951
+ draftRevision: zod.ZodNumber;
19952
+ page: zod.ZodEnum<{
19953
+ none: "none";
19954
+ this: "this";
19955
+ other_page: "other_page";
19956
+ other_conversation: "other_conversation";
19957
+ }>;
19958
+ }, zod_v4_core.$strip>>>;
19959
+ }, zod_v4_core.$strip>;
19960
+ };
19961
+ readonly errors: readonly ["NOT_FOUND"];
19962
+ readonly rateClass: "read";
19963
+ }>;
19964
+ readonly "apps.preview": Operation<{
19965
+ readonly id: "apps.preview";
18546
19966
  readonly method: "POST";
18547
- readonly path: "/api/v1/apps/draft-hosts";
18548
- readonly summary: "Allow an outside host a draft lists for the caller's own view of that draft, before it is published";
19967
+ readonly path: "/api/v1/apps/:app/preview";
19968
+ readonly summary: "Get the address a frame loads the published or the draft revision of an App from";
19969
+ readonly tag: "Apps";
19970
+ readonly auth: "user";
19971
+ readonly scope: "conversation:read";
19972
+ readonly requires: readonly [];
19973
+ readonly effect: "reading";
19974
+ readonly body: zod.ZodObject<{
19975
+ mode: zod.ZodEnum<{
19976
+ draft: "draft";
19977
+ published: "published";
19978
+ }>;
19979
+ }, zod_v4_core.$strict>;
19980
+ readonly response: {
19981
+ readonly kind: "json";
19982
+ readonly schema: zod.ZodObject<{
19983
+ url: zod.ZodString;
19984
+ expiresAt: zod.ZodISODateTime;
19985
+ fileSetId: zod.ZodString;
19986
+ number: zod.ZodNumber;
19987
+ pageSessionId: zod.ZodString;
19988
+ draftHosts: zod.ZodOptional<zod.ZodObject<{
19989
+ allowable: zod.ZodArray<zod.ZodString>;
19990
+ readsData: zod.ZodBoolean;
19991
+ }, zod_v4_core.$strip>>;
19992
+ unassignedScopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
19993
+ revision: zod.ZodNumber;
19994
+ interfacePath: zod.ZodString;
19995
+ heldBackHosts: zod.ZodArray<zod.ZodString>;
19996
+ }, zod_v4_core.$strip>;
19997
+ };
19998
+ readonly errors: readonly ["NOT_FOUND"];
19999
+ readonly rateClass: "read";
20000
+ }>;
20001
+ readonly "apps.try_action": Operation<{
20002
+ readonly id: "apps.try_action";
20003
+ readonly method: "POST";
20004
+ readonly path: "/api/v1/apps/:app/draft-actions/:action/tries";
20005
+ readonly summary: "Try one action of an App's draft as its button does: reads read, changes are simulated, and a workflow action starts a test run";
18549
20006
  readonly tag: "Apps";
18550
20007
  readonly auth: "user";
18551
20008
  readonly scope: "config_assets:write";
18552
20009
  readonly requires: readonly [];
18553
20010
  readonly effect: "changing";
18554
20011
  readonly body: zod.ZodObject<{
18555
- fileSetId: zod.ZodString;
18556
- host: zod.ZodString;
20012
+ input: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
18557
20013
  }, zod_v4_core.$strict>;
18558
20014
  readonly response: {
18559
20015
  readonly kind: "json";
18560
20016
  readonly schema: zod.ZodObject<{
18561
- host: zod.ZodString;
18562
- allowed: zod.ZodLiteral<true>;
20017
+ operationRunId: zod.ZodOptional<zod.ZodString>;
20018
+ status: zod.ZodEnum<{
20019
+ dry_run: "dry_run";
20020
+ pending_approval: "pending_approval";
20021
+ done: "done";
20022
+ }>;
20023
+ target: zod.ZodOptional<zod.ZodEnum<{
20024
+ live: "live";
20025
+ test: "test";
20026
+ dry_run: "dry_run";
20027
+ }>>;
20028
+ result: zod.ZodOptional<zod.ZodUnknown>;
20029
+ message: zod.ZodOptional<zod.ZodString>;
20030
+ workflowRun: zod.ZodOptional<zod.ZodObject<{
20031
+ runId: zod.ZodString;
20032
+ workflow: zod.ZodString;
20033
+ status: zod.ZodEnum<{
20034
+ failed: "failed";
20035
+ running: "running";
20036
+ done: "done";
20037
+ queued: "queued";
20038
+ cancelled: "cancelled";
20039
+ continued: "continued";
20040
+ waiting: "waiting";
20041
+ limit_reached: "limit_reached";
20042
+ }>;
20043
+ revision: zod.ZodObject<{
20044
+ kind: zod.ZodEnum<{
20045
+ draft: "draft";
20046
+ published: "published";
20047
+ }>;
20048
+ number: zod.ZodOptional<zod.ZodNumber>;
20049
+ }, zod_v4_core.$strip>;
20050
+ }, zod_v4_core.$strip>>;
18563
20051
  }, zod_v4_core.$strip>;
18564
20052
  };
18565
- readonly errors: readonly ["NOT_FOUND", "FORBIDDEN", "VALIDATION_FAILED"];
20053
+ readonly errors: readonly ["NOT_FOUND", "FORBIDDEN", "CONFLICT", "TIMEOUT", "VALIDATION_FAILED"];
18566
20054
  readonly rateClass: "write";
18567
20055
  } & {
18568
20056
  readonly accepted: zod.ZodObject<{
@@ -18700,82 +20188,78 @@ declare const apiOperations: {
18700
20188
  readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
18701
20189
  };
18702
20190
  }>;
18703
- readonly "apps.get_from_page": Operation<{
18704
- readonly id: "apps.get_from_page";
20191
+ readonly "apps.publish_review": Operation<{
20192
+ readonly id: "apps.publish_review";
18705
20193
  readonly method: "GET";
18706
- readonly path: "/api/v1/conversations/:conversationId/pages/:pageId/app";
18707
- readonly summary: "Read the App a Page is updated into, where the caller may write it";
20194
+ readonly path: "/api/v1/apps/:app/publish-review";
20195
+ readonly summary: "Read what publishing an App's draft comes to: the App and the Workflows it calls, their pending drafts, publish questions and what would refuse them";
18708
20196
  readonly tag: "Apps";
18709
20197
  readonly auth: "user";
18710
- readonly scope: "conversation:read";
20198
+ readonly scope: "config_assets:read";
18711
20199
  readonly requires: readonly [];
18712
20200
  readonly effect: "reading";
18713
- readonly query: zod.ZodObject<{
18714
- app: zod.ZodOptional<zod.ZodString>;
18715
- }, zod_v4_core.$strip>;
18716
20201
  readonly response: {
18717
20202
  readonly kind: "json";
18718
20203
  readonly schema: zod.ZodObject<{
18719
- app: zod.ZodNullable<zod.ZodObject<{
20204
+ app: zod.ZodObject<{
18720
20205
  name: zod.ZodString;
18721
20206
  title: zod.ZodString;
18722
- workspaceId: zod.ZodString;
18723
20207
  draftRevision: zod.ZodNumber;
18724
- draftFromPage: zod.ZodBoolean;
18725
- }, zod_v4_core.$strip>>;
18726
- candidate: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
20208
+ publishedRevision: zod.ZodOptional<zod.ZodNumber>;
20209
+ pending: zod.ZodBoolean;
20210
+ narrative: zod.ZodOptional<zod.ZodObject<{
20211
+ summary: zod.ZodString;
20212
+ warnings: zod.ZodArray<zod.ZodString>;
20213
+ }, zod_v4_core.$strip>>;
20214
+ lastChangedBy: zod.ZodOptional<zod.ZodString>;
20215
+ refusals: zod.ZodArray<zod.ZodObject<{
20216
+ reason: zod.ZodString;
20217
+ message: zod.ZodString;
20218
+ right: zod.ZodOptional<zod.ZodString>;
20219
+ }, zod_v4_core.$strip>>;
20220
+ }, zod_v4_core.$strip>;
20221
+ workflows: zod.ZodArray<zod.ZodObject<{
18727
20222
  name: zod.ZodString;
18728
20223
  title: zod.ZodString;
18729
- workspaceId: zod.ZodString;
18730
20224
  draftRevision: zod.ZodNumber;
18731
- page: zod.ZodEnum<{
18732
- none: "none";
18733
- this: "this";
18734
- other_page: "other_page";
18735
- other_conversation: "other_conversation";
18736
- }>;
18737
- }, zod_v4_core.$strip>>>;
18738
- }, zod_v4_core.$strip>;
18739
- };
18740
- readonly errors: readonly ["NOT_FOUND"];
18741
- readonly rateClass: "read";
18742
- }>;
18743
- readonly "apps.preview": Operation<{
18744
- readonly id: "apps.preview";
18745
- readonly method: "POST";
18746
- readonly path: "/api/v1/apps/:app/preview";
18747
- readonly summary: "Get the address a frame loads the published or the draft revision of an App from";
18748
- readonly tag: "Apps";
18749
- readonly auth: "user";
18750
- readonly scope: "conversation:read";
18751
- readonly requires: readonly [];
18752
- readonly effect: "reading";
18753
- readonly body: zod.ZodObject<{
18754
- mode: zod.ZodEnum<{
18755
- draft: "draft";
18756
- published: "published";
18757
- }>;
18758
- }, zod_v4_core.$strict>;
18759
- readonly response: {
18760
- readonly kind: "json";
18761
- readonly schema: zod.ZodObject<{
18762
- url: zod.ZodString;
18763
- expiresAt: zod.ZodISODateTime;
18764
- fileSetId: zod.ZodString;
18765
- number: zod.ZodNumber;
18766
- pageSessionId: zod.ZodString;
18767
- draftHosts: zod.ZodOptional<zod.ZodObject<{
18768
- allowable: zod.ZodArray<zod.ZodString>;
18769
- readsData: zod.ZodBoolean;
20225
+ publishedRevision: zod.ZodOptional<zod.ZodNumber>;
20226
+ pending: zod.ZodBoolean;
20227
+ narrative: zod.ZodOptional<zod.ZodObject<{
20228
+ summary: zod.ZodString;
20229
+ warnings: zod.ZodArray<zod.ZodString>;
20230
+ }, zod_v4_core.$strip>>;
20231
+ lastChangedBy: zod.ZodOptional<zod.ZodString>;
20232
+ refusals: zod.ZodArray<zod.ZodObject<{
20233
+ reason: zod.ZodString;
20234
+ message: zod.ZodString;
20235
+ right: zod.ZodOptional<zod.ZodString>;
20236
+ }, zod_v4_core.$strip>>;
20237
+ actions: zod.ZodArray<zod.ZodString>;
20238
+ lastTestRun: zod.ZodOptional<zod.ZodObject<{
20239
+ runId: zod.ZodString;
20240
+ status: zod.ZodEnum<{
20241
+ failed: "failed";
20242
+ running: "running";
20243
+ done: "done";
20244
+ queued: "queued";
20245
+ cancelled: "cancelled";
20246
+ continued: "continued";
20247
+ waiting: "waiting";
20248
+ limit_reached: "limit_reached";
20249
+ }>;
20250
+ at: zod.ZodString;
20251
+ }, zod_v4_core.$strip>>;
18770
20252
  }, zod_v4_core.$strip>>;
18771
- unassignedScopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18772
- revision: zod.ZodNumber;
18773
- interfacePath: zod.ZodString;
18774
- heldBackHosts: zod.ZodArray<zod.ZodString>;
20253
+ publishesTogether: zod.ZodBoolean;
20254
+ ready: zod.ZodBoolean;
18775
20255
  }, zod_v4_core.$strip>;
18776
20256
  };
18777
- readonly errors: readonly ["NOT_FOUND"];
20257
+ readonly errors: readonly ["NOT_FOUND", "FORBIDDEN"];
18778
20258
  readonly rateClass: "read";
20259
+ } & {
20260
+ readonly headers: {
20261
+ readonly response: readonly ["Operation-Run-Id"];
20262
+ };
18779
20263
  }>;
18780
20264
  readonly "apps.sessions.context": Operation<{
18781
20265
  readonly id: "apps.sessions.context";
@@ -19194,6 +20678,15 @@ declare const apiOperations: {
19194
20678
  }, zod_v4_core.$strict>>;
19195
20679
  startedAt: zod.ZodOptional<zod.ZodString>;
19196
20680
  finishedAt: zod.ZodOptional<zod.ZodString>;
20681
+ mode: zod.ZodOptional<zod.ZodLiteral<"test">>;
20682
+ workflowRevision: zod.ZodOptional<zod.ZodObject<{
20683
+ kind: zod.ZodEnum<{
20684
+ draft: "draft";
20685
+ published: "published";
20686
+ }>;
20687
+ number: zod.ZodOptional<zod.ZodNumber>;
20688
+ }, zod_v4_core.$strict>>;
20689
+ simulatedSteps: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
19197
20690
  }, zod_v4_core.$strict>;
19198
20691
  };
19199
20692
  readonly errors: readonly ["NOT_FOUND"];
@@ -19670,6 +21163,61 @@ declare const apiOperations: {
19670
21163
  readonly errors: readonly [];
19671
21164
  readonly rateClass: "read";
19672
21165
  }>;
21166
+ readonly "operations.list_callable": Operation<{
21167
+ readonly id: "operations.list_callable";
21168
+ readonly method: "GET";
21169
+ readonly path: "/api/v1/operations/callable";
21170
+ readonly summary: "List a page of the operations a step of a Workflow may call, as far as the caller may call them";
21171
+ readonly tag: "Operations";
21172
+ readonly auth: "principal";
21173
+ readonly scope: "config_assets:read";
21174
+ readonly requires: readonly [];
21175
+ readonly effect: "reading";
21176
+ readonly query: zod.ZodObject<{
21177
+ for: zod.ZodDefault<zod.ZodEnum<{
21178
+ workflow: "workflow";
21179
+ }>>;
21180
+ cursor: zod.ZodOptional<zod.ZodString>;
21181
+ name: zod.ZodOptional<zod.ZodString>;
21182
+ prefix: zod.ZodOptional<zod.ZodString>;
21183
+ }, zod_v4_core.$strip>;
21184
+ readonly response: {
21185
+ readonly kind: "json";
21186
+ readonly schema: zod.ZodObject<{
21187
+ operations: zod.ZodArray<zod.ZodObject<{
21188
+ name: zod.ZodString;
21189
+ effect: zod.ZodEnum<{
21190
+ reading: "reading";
21191
+ changing: "changing";
21192
+ }>;
21193
+ title: zod.ZodString;
21194
+ description: zod.ZodOptional<zod.ZodString>;
21195
+ source: zod.ZodObject<{
21196
+ kind: zod.ZodEnum<{
21197
+ workflow: "workflow";
21198
+ other: "other";
21199
+ connection: "connection";
21200
+ data_store: "data_store";
21201
+ knowledge_base: "knowledge_base";
21202
+ }>;
21203
+ title: zod.ZodOptional<zod.ZodString>;
21204
+ service: zod.ZodOptional<zod.ZodString>;
21205
+ }, zod_v4_core.$strip>;
21206
+ available: zod.ZodBoolean;
21207
+ inputSchema: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
21208
+ outputSchema: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
21209
+ }, zod_v4_core.$strip>>;
21210
+ nextCursor: zod.ZodOptional<zod.ZodString>;
21211
+ truncated: zod.ZodBoolean;
21212
+ }, zod_v4_core.$strip>;
21213
+ };
21214
+ readonly errors: readonly [];
21215
+ readonly rateClass: "read";
21216
+ } & {
21217
+ readonly headers: {
21218
+ readonly response: readonly ["Operation-Run-Id"];
21219
+ };
21220
+ }>;
19673
21221
  readonly "operations.decide": Operation<{
19674
21222
  readonly id: "operations.decide";
19675
21223
  readonly method: "POST";
@@ -19691,6 +21239,7 @@ declare const apiOperations: {
19691
21239
  workspace: "workspace";
19692
21240
  }>>;
19693
21241
  reason: zod.ZodOptional<zod.ZodString>;
21242
+ alwaysAllow: zod.ZodOptional<zod.ZodLiteral<true>>;
19694
21243
  }, zod_v4_core.$strip>;
19695
21244
  readonly response: {
19696
21245
  readonly kind: "json";
@@ -20277,6 +21826,11 @@ declare const apiOperations: {
20277
21826
  correlationId: zod.ZodString;
20278
21827
  createdAt: zod.ZodISODateTime;
20279
21828
  metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
21829
+ about: zod.ZodOptional<zod.ZodObject<{
21830
+ kind: zod.ZodString;
21831
+ title: zod.ZodOptional<zod.ZodString>;
21832
+ builtInRole: zod.ZodOptional<zod.ZodString>;
21833
+ }, zod_v4_core.$strip>>;
20280
21834
  }, zod_v4_core.$strip>>;
20281
21835
  nextCursor: zod.ZodOptional<zod.ZodString>;
20282
21836
  }, zod_v4_core.$strip>;
@@ -20302,7 +21856,8 @@ declare const apiOperations: {
20302
21856
  items: zod.ZodArray<zod.ZodObject<{
20303
21857
  correlationId: zod.ZodString;
20304
21858
  at: zod.ZodISODateTime;
20305
- label: zod.ZodString;
21859
+ type: zod.ZodString;
21860
+ action: zod.ZodOptional<zod.ZodString>;
20306
21861
  tier: zod.ZodEnum<{
20307
21862
  workflow: "workflow";
20308
21863
  governance: "governance";
@@ -20369,6 +21924,11 @@ declare const apiOperations: {
20369
21924
  correlationId: zod.ZodString;
20370
21925
  createdAt: zod.ZodISODateTime;
20371
21926
  metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
21927
+ about: zod.ZodOptional<zod.ZodObject<{
21928
+ kind: zod.ZodString;
21929
+ title: zod.ZodOptional<zod.ZodString>;
21930
+ builtInRole: zod.ZodOptional<zod.ZodString>;
21931
+ }, zod_v4_core.$strip>>;
20372
21932
  }, zod_v4_core.$strip>>;
20373
21933
  }, zod_v4_core.$strip>>;
20374
21934
  }, zod_v4_core.$strip>;
@@ -21225,6 +22785,7 @@ declare const apiOperations: {
21225
22785
  kind: zod.ZodString;
21226
22786
  name: zod.ZodString;
21227
22787
  }, zod_v4_core.$strip>>;
22788
+ creationTarget: zod.ZodOptional<zod.ZodLiteral<"instance">>;
21228
22789
  latestMessageAt: zod.ZodOptional<zod.ZodISODateTime>;
21229
22790
  activeRun: zod.ZodOptional<zod.ZodObject<{
21230
22791
  id: zod.ZodString;
@@ -21279,6 +22840,7 @@ declare const apiOperations: {
21279
22840
  kind: zod.ZodString;
21280
22841
  name: zod.ZodString;
21281
22842
  }, zod_v4_core.$strip>>;
22843
+ creationTarget: zod.ZodOptional<zod.ZodLiteral<"instance">>;
21282
22844
  }, zod_v4_core.$strip>;
21283
22845
  readonly response: {
21284
22846
  readonly kind: "json";
@@ -21302,6 +22864,7 @@ declare const apiOperations: {
21302
22864
  kind: zod.ZodString;
21303
22865
  name: zod.ZodString;
21304
22866
  }, zod_v4_core.$strip>>;
22867
+ creationTarget: zod.ZodOptional<zod.ZodLiteral<"instance">>;
21305
22868
  }, zod_v4_core.$strip>;
21306
22869
  };
21307
22870
  readonly errors: readonly ["NOT_FOUND"];
@@ -21342,6 +22905,7 @@ declare const apiOperations: {
21342
22905
  kind: zod.ZodString;
21343
22906
  name: zod.ZodString;
21344
22907
  }, zod_v4_core.$strip>>;
22908
+ creationTarget: zod.ZodOptional<zod.ZodLiteral<"instance">>;
21345
22909
  }, zod_v4_core.$strip>;
21346
22910
  };
21347
22911
  readonly errors: readonly ["NOT_FOUND"];
@@ -21384,6 +22948,7 @@ declare const apiOperations: {
21384
22948
  kind: zod.ZodString;
21385
22949
  name: zod.ZodString;
21386
22950
  }, zod_v4_core.$strip>>;
22951
+ creationTarget: zod.ZodOptional<zod.ZodLiteral<"instance">>;
21387
22952
  }, zod_v4_core.$strip>;
21388
22953
  };
21389
22954
  readonly errors: readonly ["NOT_FOUND", "CONFLICT"];
@@ -21563,6 +23128,7 @@ declare const apiOperations: {
21563
23128
  kind: zod.ZodString;
21564
23129
  name: zod.ZodString;
21565
23130
  }, zod_v4_core.$strip>>;
23131
+ creationTarget: zod.ZodOptional<zod.ZodLiteral<"instance">>;
21566
23132
  }, zod_v4_core.$strip>;
21567
23133
  };
21568
23134
  readonly errors: readonly ["NOT_FOUND", "CONFLICT"];
@@ -21581,6 +23147,7 @@ declare const apiOperations: {
21581
23147
  readonly response: {
21582
23148
  readonly kind: "json";
21583
23149
  readonly schema: zod.ZodObject<{
23150
+ personalData: zod.ZodOptional<zod.ZodBoolean>;
21584
23151
  followUps: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
21585
23152
  id: zod.ZodString;
21586
23153
  clientInstanceId: zod.ZodString;
@@ -21634,6 +23201,7 @@ declare const apiOperations: {
21634
23201
  kind: zod.ZodString;
21635
23202
  name: zod.ZodString;
21636
23203
  }, zod_v4_core.$strip>>;
23204
+ creationTarget: zod.ZodOptional<zod.ZodLiteral<"instance">>;
21637
23205
  }, zod_v4_core.$strip>;
21638
23206
  messages: zod.ZodArray<zod.ZodObject<{
21639
23207
  id: zod.ZodString;
@@ -21822,6 +23390,22 @@ declare const apiOperations: {
21822
23390
  output: zod.ZodOptional<zod.ZodUnknown>;
21823
23391
  errorText: zod.ZodOptional<zod.ZodString>;
21824
23392
  errorReason: zod.ZodOptional<zod.ZodLiteral<"subject_conversation_shared">>;
23393
+ connect: zod.ZodOptional<zod.ZodObject<{
23394
+ connection: zod.ZodObject<{
23395
+ name: zod.ZodString;
23396
+ title: zod.ZodString;
23397
+ service: zod.ZodOptional<zod.ZodString>;
23398
+ catalogue: zod.ZodOptional<zod.ZodObject<{
23399
+ entry: zod.ZodString;
23400
+ part: zod.ZodString;
23401
+ }, zod_v4_core.$strip>>;
23402
+ }, zod_v4_core.$strip>;
23403
+ state: zod.ZodEnum<{
23404
+ needs_reconnect: "needs_reconnect";
23405
+ not_connected: "not_connected";
23406
+ }>;
23407
+ agentName: zod.ZodOptional<zod.ZodString>;
23408
+ }, zod_v4_core.$strip>>;
21825
23409
  decision: zod.ZodOptional<zod.ZodObject<{
21826
23410
  operationRunId: zod.ZodString;
21827
23411
  operationId: zod.ZodString;
@@ -21832,6 +23416,7 @@ declare const apiOperations: {
21832
23416
  targetTitle: zod.ZodOptional<zod.ZodString>;
21833
23417
  inputPreview: zod.ZodUnknown;
21834
23418
  simulation: zod.ZodOptional<zod.ZodUnknown>;
23419
+ alwaysAllow: zod.ZodOptional<zod.ZodLiteral<true>>;
21835
23420
  expiresAt: zod.ZodISODateTime;
21836
23421
  }, zod_v4_core.$strip>>;
21837
23422
  subagent: zod.ZodOptional<zod.ZodObject<{
@@ -21864,6 +23449,22 @@ declare const apiOperations: {
21864
23449
  output: zod.ZodOptional<zod.ZodUnknown>;
21865
23450
  errorText: zod.ZodOptional<zod.ZodString>;
21866
23451
  errorReason: zod.ZodOptional<zod.ZodLiteral<"subject_conversation_shared">>;
23452
+ connect: zod.ZodOptional<zod.ZodObject<{
23453
+ connection: zod.ZodObject<{
23454
+ name: zod.ZodString;
23455
+ title: zod.ZodString;
23456
+ service: zod.ZodOptional<zod.ZodString>;
23457
+ catalogue: zod.ZodOptional<zod.ZodObject<{
23458
+ entry: zod.ZodString;
23459
+ part: zod.ZodString;
23460
+ }, zod_v4_core.$strip>>;
23461
+ }, zod_v4_core.$strip>;
23462
+ state: zod.ZodEnum<{
23463
+ needs_reconnect: "needs_reconnect";
23464
+ not_connected: "not_connected";
23465
+ }>;
23466
+ agentName: zod.ZodOptional<zod.ZodString>;
23467
+ }, zod_v4_core.$strip>>;
21867
23468
  decision: zod.ZodOptional<zod.ZodObject<{
21868
23469
  operationRunId: zod.ZodString;
21869
23470
  operationId: zod.ZodString;
@@ -21874,6 +23475,7 @@ declare const apiOperations: {
21874
23475
  targetTitle: zod.ZodOptional<zod.ZodString>;
21875
23476
  inputPreview: zod.ZodUnknown;
21876
23477
  simulation: zod.ZodOptional<zod.ZodUnknown>;
23478
+ alwaysAllow: zod.ZodOptional<zod.ZodLiteral<true>>;
21877
23479
  expiresAt: zod.ZodISODateTime;
21878
23480
  }, zod_v4_core.$strip>>;
21879
23481
  subagent: zod.ZodOptional<zod.ZodObject<{
@@ -21976,6 +23578,22 @@ declare const apiOperations: {
21976
23578
  output: zod.ZodOptional<zod.ZodUnknown>;
21977
23579
  errorText: zod.ZodOptional<zod.ZodString>;
21978
23580
  errorReason: zod.ZodOptional<zod.ZodLiteral<"subject_conversation_shared">>;
23581
+ connect: zod.ZodOptional<zod.ZodObject<{
23582
+ connection: zod.ZodObject<{
23583
+ name: zod.ZodString;
23584
+ title: zod.ZodString;
23585
+ service: zod.ZodOptional<zod.ZodString>;
23586
+ catalogue: zod.ZodOptional<zod.ZodObject<{
23587
+ entry: zod.ZodString;
23588
+ part: zod.ZodString;
23589
+ }, zod_v4_core.$strip>>;
23590
+ }, zod_v4_core.$strip>;
23591
+ state: zod.ZodEnum<{
23592
+ needs_reconnect: "needs_reconnect";
23593
+ not_connected: "not_connected";
23594
+ }>;
23595
+ agentName: zod.ZodOptional<zod.ZodString>;
23596
+ }, zod_v4_core.$strip>>;
21979
23597
  decision: zod.ZodOptional<zod.ZodObject<{
21980
23598
  operationRunId: zod.ZodString;
21981
23599
  operationId: zod.ZodString;
@@ -21986,6 +23604,7 @@ declare const apiOperations: {
21986
23604
  targetTitle: zod.ZodOptional<zod.ZodString>;
21987
23605
  inputPreview: zod.ZodUnknown;
21988
23606
  simulation: zod.ZodOptional<zod.ZodUnknown>;
23607
+ alwaysAllow: zod.ZodOptional<zod.ZodLiteral<true>>;
21989
23608
  expiresAt: zod.ZodISODateTime;
21990
23609
  }, zod_v4_core.$strip>>;
21991
23610
  subagent: zod.ZodOptional<zod.ZodObject<{
@@ -22018,6 +23637,22 @@ declare const apiOperations: {
22018
23637
  output: zod.ZodOptional<zod.ZodUnknown>;
22019
23638
  errorText: zod.ZodOptional<zod.ZodString>;
22020
23639
  errorReason: zod.ZodOptional<zod.ZodLiteral<"subject_conversation_shared">>;
23640
+ connect: zod.ZodOptional<zod.ZodObject<{
23641
+ connection: zod.ZodObject<{
23642
+ name: zod.ZodString;
23643
+ title: zod.ZodString;
23644
+ service: zod.ZodOptional<zod.ZodString>;
23645
+ catalogue: zod.ZodOptional<zod.ZodObject<{
23646
+ entry: zod.ZodString;
23647
+ part: zod.ZodString;
23648
+ }, zod_v4_core.$strip>>;
23649
+ }, zod_v4_core.$strip>;
23650
+ state: zod.ZodEnum<{
23651
+ needs_reconnect: "needs_reconnect";
23652
+ not_connected: "not_connected";
23653
+ }>;
23654
+ agentName: zod.ZodOptional<zod.ZodString>;
23655
+ }, zod_v4_core.$strip>>;
22021
23656
  decision: zod.ZodOptional<zod.ZodObject<{
22022
23657
  operationRunId: zod.ZodString;
22023
23658
  operationId: zod.ZodString;
@@ -22028,6 +23663,7 @@ declare const apiOperations: {
22028
23663
  targetTitle: zod.ZodOptional<zod.ZodString>;
22029
23664
  inputPreview: zod.ZodUnknown;
22030
23665
  simulation: zod.ZodOptional<zod.ZodUnknown>;
23666
+ alwaysAllow: zod.ZodOptional<zod.ZodLiteral<true>>;
22031
23667
  expiresAt: zod.ZodISODateTime;
22032
23668
  }, zod_v4_core.$strip>>;
22033
23669
  subagent: zod.ZodOptional<zod.ZodObject<{
@@ -22704,6 +24340,7 @@ declare const apiOperations: {
22704
24340
  kind: zod.ZodString;
22705
24341
  name: zod.ZodString;
22706
24342
  }, zod_v4_core.$strip>>;
24343
+ creationTarget: zod.ZodOptional<zod.ZodLiteral<"instance">>;
22707
24344
  }, zod_v4_core.$strip>;
22708
24345
  userMessage: zod.ZodObject<{
22709
24346
  id: zod.ZodString;
@@ -22907,6 +24544,7 @@ declare const apiOperations: {
22907
24544
  heartbeatAt: zod.ZodOptional<zod.ZodISODateTime>;
22908
24545
  }, zod_v4_core.$strip>;
22909
24546
  thread: zod.ZodLazy<zod.ZodObject<{
24547
+ personalData: zod.ZodOptional<zod.ZodBoolean>;
22910
24548
  followUps: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
22911
24549
  id: zod.ZodString;
22912
24550
  clientInstanceId: zod.ZodString;
@@ -22960,6 +24598,7 @@ declare const apiOperations: {
22960
24598
  kind: zod.ZodString;
22961
24599
  name: zod.ZodString;
22962
24600
  }, zod_v4_core.$strip>>;
24601
+ creationTarget: zod.ZodOptional<zod.ZodLiteral<"instance">>;
22963
24602
  }, zod_v4_core.$strip>;
22964
24603
  messages: zod.ZodArray<zod.ZodObject<{
22965
24604
  id: zod.ZodString;
@@ -23148,6 +24787,22 @@ declare const apiOperations: {
23148
24787
  output: zod.ZodOptional<zod.ZodUnknown>;
23149
24788
  errorText: zod.ZodOptional<zod.ZodString>;
23150
24789
  errorReason: zod.ZodOptional<zod.ZodLiteral<"subject_conversation_shared">>;
24790
+ connect: zod.ZodOptional<zod.ZodObject<{
24791
+ connection: zod.ZodObject<{
24792
+ name: zod.ZodString;
24793
+ title: zod.ZodString;
24794
+ service: zod.ZodOptional<zod.ZodString>;
24795
+ catalogue: zod.ZodOptional<zod.ZodObject<{
24796
+ entry: zod.ZodString;
24797
+ part: zod.ZodString;
24798
+ }, zod_v4_core.$strip>>;
24799
+ }, zod_v4_core.$strip>;
24800
+ state: zod.ZodEnum<{
24801
+ needs_reconnect: "needs_reconnect";
24802
+ not_connected: "not_connected";
24803
+ }>;
24804
+ agentName: zod.ZodOptional<zod.ZodString>;
24805
+ }, zod_v4_core.$strip>>;
23151
24806
  decision: zod.ZodOptional<zod.ZodObject<{
23152
24807
  operationRunId: zod.ZodString;
23153
24808
  operationId: zod.ZodString;
@@ -23158,6 +24813,7 @@ declare const apiOperations: {
23158
24813
  targetTitle: zod.ZodOptional<zod.ZodString>;
23159
24814
  inputPreview: zod.ZodUnknown;
23160
24815
  simulation: zod.ZodOptional<zod.ZodUnknown>;
24816
+ alwaysAllow: zod.ZodOptional<zod.ZodLiteral<true>>;
23161
24817
  expiresAt: zod.ZodISODateTime;
23162
24818
  }, zod_v4_core.$strip>>;
23163
24819
  subagent: zod.ZodOptional<zod.ZodObject<{
@@ -23190,6 +24846,22 @@ declare const apiOperations: {
23190
24846
  output: zod.ZodOptional<zod.ZodUnknown>;
23191
24847
  errorText: zod.ZodOptional<zod.ZodString>;
23192
24848
  errorReason: zod.ZodOptional<zod.ZodLiteral<"subject_conversation_shared">>;
24849
+ connect: zod.ZodOptional<zod.ZodObject<{
24850
+ connection: zod.ZodObject<{
24851
+ name: zod.ZodString;
24852
+ title: zod.ZodString;
24853
+ service: zod.ZodOptional<zod.ZodString>;
24854
+ catalogue: zod.ZodOptional<zod.ZodObject<{
24855
+ entry: zod.ZodString;
24856
+ part: zod.ZodString;
24857
+ }, zod_v4_core.$strip>>;
24858
+ }, zod_v4_core.$strip>;
24859
+ state: zod.ZodEnum<{
24860
+ needs_reconnect: "needs_reconnect";
24861
+ not_connected: "not_connected";
24862
+ }>;
24863
+ agentName: zod.ZodOptional<zod.ZodString>;
24864
+ }, zod_v4_core.$strip>>;
23193
24865
  decision: zod.ZodOptional<zod.ZodObject<{
23194
24866
  operationRunId: zod.ZodString;
23195
24867
  operationId: zod.ZodString;
@@ -23200,6 +24872,7 @@ declare const apiOperations: {
23200
24872
  targetTitle: zod.ZodOptional<zod.ZodString>;
23201
24873
  inputPreview: zod.ZodUnknown;
23202
24874
  simulation: zod.ZodOptional<zod.ZodUnknown>;
24875
+ alwaysAllow: zod.ZodOptional<zod.ZodLiteral<true>>;
23203
24876
  expiresAt: zod.ZodISODateTime;
23204
24877
  }, zod_v4_core.$strip>>;
23205
24878
  subagent: zod.ZodOptional<zod.ZodObject<{
@@ -23302,6 +24975,22 @@ declare const apiOperations: {
23302
24975
  output: zod.ZodOptional<zod.ZodUnknown>;
23303
24976
  errorText: zod.ZodOptional<zod.ZodString>;
23304
24977
  errorReason: zod.ZodOptional<zod.ZodLiteral<"subject_conversation_shared">>;
24978
+ connect: zod.ZodOptional<zod.ZodObject<{
24979
+ connection: zod.ZodObject<{
24980
+ name: zod.ZodString;
24981
+ title: zod.ZodString;
24982
+ service: zod.ZodOptional<zod.ZodString>;
24983
+ catalogue: zod.ZodOptional<zod.ZodObject<{
24984
+ entry: zod.ZodString;
24985
+ part: zod.ZodString;
24986
+ }, zod_v4_core.$strip>>;
24987
+ }, zod_v4_core.$strip>;
24988
+ state: zod.ZodEnum<{
24989
+ needs_reconnect: "needs_reconnect";
24990
+ not_connected: "not_connected";
24991
+ }>;
24992
+ agentName: zod.ZodOptional<zod.ZodString>;
24993
+ }, zod_v4_core.$strip>>;
23305
24994
  decision: zod.ZodOptional<zod.ZodObject<{
23306
24995
  operationRunId: zod.ZodString;
23307
24996
  operationId: zod.ZodString;
@@ -23312,6 +25001,7 @@ declare const apiOperations: {
23312
25001
  targetTitle: zod.ZodOptional<zod.ZodString>;
23313
25002
  inputPreview: zod.ZodUnknown;
23314
25003
  simulation: zod.ZodOptional<zod.ZodUnknown>;
25004
+ alwaysAllow: zod.ZodOptional<zod.ZodLiteral<true>>;
23315
25005
  expiresAt: zod.ZodISODateTime;
23316
25006
  }, zod_v4_core.$strip>>;
23317
25007
  subagent: zod.ZodOptional<zod.ZodObject<{
@@ -23344,6 +25034,22 @@ declare const apiOperations: {
23344
25034
  output: zod.ZodOptional<zod.ZodUnknown>;
23345
25035
  errorText: zod.ZodOptional<zod.ZodString>;
23346
25036
  errorReason: zod.ZodOptional<zod.ZodLiteral<"subject_conversation_shared">>;
25037
+ connect: zod.ZodOptional<zod.ZodObject<{
25038
+ connection: zod.ZodObject<{
25039
+ name: zod.ZodString;
25040
+ title: zod.ZodString;
25041
+ service: zod.ZodOptional<zod.ZodString>;
25042
+ catalogue: zod.ZodOptional<zod.ZodObject<{
25043
+ entry: zod.ZodString;
25044
+ part: zod.ZodString;
25045
+ }, zod_v4_core.$strip>>;
25046
+ }, zod_v4_core.$strip>;
25047
+ state: zod.ZodEnum<{
25048
+ needs_reconnect: "needs_reconnect";
25049
+ not_connected: "not_connected";
25050
+ }>;
25051
+ agentName: zod.ZodOptional<zod.ZodString>;
25052
+ }, zod_v4_core.$strip>>;
23347
25053
  decision: zod.ZodOptional<zod.ZodObject<{
23348
25054
  operationRunId: zod.ZodString;
23349
25055
  operationId: zod.ZodString;
@@ -23354,6 +25060,7 @@ declare const apiOperations: {
23354
25060
  targetTitle: zod.ZodOptional<zod.ZodString>;
23355
25061
  inputPreview: zod.ZodUnknown;
23356
25062
  simulation: zod.ZodOptional<zod.ZodUnknown>;
25063
+ alwaysAllow: zod.ZodOptional<zod.ZodLiteral<true>>;
23357
25064
  expiresAt: zod.ZodISODateTime;
23358
25065
  }, zod_v4_core.$strip>>;
23359
25066
  subagent: zod.ZodOptional<zod.ZodObject<{
@@ -23501,6 +25208,7 @@ declare const apiOperations: {
23501
25208
  kind: zod.ZodString;
23502
25209
  name: zod.ZodString;
23503
25210
  }, zod_v4_core.$strip>>;
25211
+ creationTarget: zod.ZodOptional<zod.ZodLiteral<"instance">>;
23504
25212
  }, zod_v4_core.$strip>>;
23505
25213
  }, zod_v4_core.$strip>;
23506
25214
  readonly response: {
@@ -23526,6 +25234,7 @@ declare const apiOperations: {
23526
25234
  kind: zod.ZodString;
23527
25235
  name: zod.ZodString;
23528
25236
  }, zod_v4_core.$strip>>;
25237
+ creationTarget: zod.ZodOptional<zod.ZodLiteral<"instance">>;
23529
25238
  }, zod_v4_core.$strip>;
23530
25239
  userMessage: zod.ZodObject<{
23531
25240
  id: zod.ZodString;
@@ -23729,6 +25438,7 @@ declare const apiOperations: {
23729
25438
  heartbeatAt: zod.ZodOptional<zod.ZodISODateTime>;
23730
25439
  }, zod_v4_core.$strip>;
23731
25440
  thread: zod.ZodLazy<zod.ZodObject<{
25441
+ personalData: zod.ZodOptional<zod.ZodBoolean>;
23732
25442
  followUps: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
23733
25443
  id: zod.ZodString;
23734
25444
  clientInstanceId: zod.ZodString;
@@ -23782,6 +25492,7 @@ declare const apiOperations: {
23782
25492
  kind: zod.ZodString;
23783
25493
  name: zod.ZodString;
23784
25494
  }, zod_v4_core.$strip>>;
25495
+ creationTarget: zod.ZodOptional<zod.ZodLiteral<"instance">>;
23785
25496
  }, zod_v4_core.$strip>;
23786
25497
  messages: zod.ZodArray<zod.ZodObject<{
23787
25498
  id: zod.ZodString;
@@ -23970,6 +25681,22 @@ declare const apiOperations: {
23970
25681
  output: zod.ZodOptional<zod.ZodUnknown>;
23971
25682
  errorText: zod.ZodOptional<zod.ZodString>;
23972
25683
  errorReason: zod.ZodOptional<zod.ZodLiteral<"subject_conversation_shared">>;
25684
+ connect: zod.ZodOptional<zod.ZodObject<{
25685
+ connection: zod.ZodObject<{
25686
+ name: zod.ZodString;
25687
+ title: zod.ZodString;
25688
+ service: zod.ZodOptional<zod.ZodString>;
25689
+ catalogue: zod.ZodOptional<zod.ZodObject<{
25690
+ entry: zod.ZodString;
25691
+ part: zod.ZodString;
25692
+ }, zod_v4_core.$strip>>;
25693
+ }, zod_v4_core.$strip>;
25694
+ state: zod.ZodEnum<{
25695
+ needs_reconnect: "needs_reconnect";
25696
+ not_connected: "not_connected";
25697
+ }>;
25698
+ agentName: zod.ZodOptional<zod.ZodString>;
25699
+ }, zod_v4_core.$strip>>;
23973
25700
  decision: zod.ZodOptional<zod.ZodObject<{
23974
25701
  operationRunId: zod.ZodString;
23975
25702
  operationId: zod.ZodString;
@@ -23980,6 +25707,7 @@ declare const apiOperations: {
23980
25707
  targetTitle: zod.ZodOptional<zod.ZodString>;
23981
25708
  inputPreview: zod.ZodUnknown;
23982
25709
  simulation: zod.ZodOptional<zod.ZodUnknown>;
25710
+ alwaysAllow: zod.ZodOptional<zod.ZodLiteral<true>>;
23983
25711
  expiresAt: zod.ZodISODateTime;
23984
25712
  }, zod_v4_core.$strip>>;
23985
25713
  subagent: zod.ZodOptional<zod.ZodObject<{
@@ -24012,6 +25740,22 @@ declare const apiOperations: {
24012
25740
  output: zod.ZodOptional<zod.ZodUnknown>;
24013
25741
  errorText: zod.ZodOptional<zod.ZodString>;
24014
25742
  errorReason: zod.ZodOptional<zod.ZodLiteral<"subject_conversation_shared">>;
25743
+ connect: zod.ZodOptional<zod.ZodObject<{
25744
+ connection: zod.ZodObject<{
25745
+ name: zod.ZodString;
25746
+ title: zod.ZodString;
25747
+ service: zod.ZodOptional<zod.ZodString>;
25748
+ catalogue: zod.ZodOptional<zod.ZodObject<{
25749
+ entry: zod.ZodString;
25750
+ part: zod.ZodString;
25751
+ }, zod_v4_core.$strip>>;
25752
+ }, zod_v4_core.$strip>;
25753
+ state: zod.ZodEnum<{
25754
+ needs_reconnect: "needs_reconnect";
25755
+ not_connected: "not_connected";
25756
+ }>;
25757
+ agentName: zod.ZodOptional<zod.ZodString>;
25758
+ }, zod_v4_core.$strip>>;
24015
25759
  decision: zod.ZodOptional<zod.ZodObject<{
24016
25760
  operationRunId: zod.ZodString;
24017
25761
  operationId: zod.ZodString;
@@ -24022,6 +25766,7 @@ declare const apiOperations: {
24022
25766
  targetTitle: zod.ZodOptional<zod.ZodString>;
24023
25767
  inputPreview: zod.ZodUnknown;
24024
25768
  simulation: zod.ZodOptional<zod.ZodUnknown>;
25769
+ alwaysAllow: zod.ZodOptional<zod.ZodLiteral<true>>;
24025
25770
  expiresAt: zod.ZodISODateTime;
24026
25771
  }, zod_v4_core.$strip>>;
24027
25772
  subagent: zod.ZodOptional<zod.ZodObject<{
@@ -24124,6 +25869,22 @@ declare const apiOperations: {
24124
25869
  output: zod.ZodOptional<zod.ZodUnknown>;
24125
25870
  errorText: zod.ZodOptional<zod.ZodString>;
24126
25871
  errorReason: zod.ZodOptional<zod.ZodLiteral<"subject_conversation_shared">>;
25872
+ connect: zod.ZodOptional<zod.ZodObject<{
25873
+ connection: zod.ZodObject<{
25874
+ name: zod.ZodString;
25875
+ title: zod.ZodString;
25876
+ service: zod.ZodOptional<zod.ZodString>;
25877
+ catalogue: zod.ZodOptional<zod.ZodObject<{
25878
+ entry: zod.ZodString;
25879
+ part: zod.ZodString;
25880
+ }, zod_v4_core.$strip>>;
25881
+ }, zod_v4_core.$strip>;
25882
+ state: zod.ZodEnum<{
25883
+ needs_reconnect: "needs_reconnect";
25884
+ not_connected: "not_connected";
25885
+ }>;
25886
+ agentName: zod.ZodOptional<zod.ZodString>;
25887
+ }, zod_v4_core.$strip>>;
24127
25888
  decision: zod.ZodOptional<zod.ZodObject<{
24128
25889
  operationRunId: zod.ZodString;
24129
25890
  operationId: zod.ZodString;
@@ -24134,6 +25895,7 @@ declare const apiOperations: {
24134
25895
  targetTitle: zod.ZodOptional<zod.ZodString>;
24135
25896
  inputPreview: zod.ZodUnknown;
24136
25897
  simulation: zod.ZodOptional<zod.ZodUnknown>;
25898
+ alwaysAllow: zod.ZodOptional<zod.ZodLiteral<true>>;
24137
25899
  expiresAt: zod.ZodISODateTime;
24138
25900
  }, zod_v4_core.$strip>>;
24139
25901
  subagent: zod.ZodOptional<zod.ZodObject<{
@@ -24166,6 +25928,22 @@ declare const apiOperations: {
24166
25928
  output: zod.ZodOptional<zod.ZodUnknown>;
24167
25929
  errorText: zod.ZodOptional<zod.ZodString>;
24168
25930
  errorReason: zod.ZodOptional<zod.ZodLiteral<"subject_conversation_shared">>;
25931
+ connect: zod.ZodOptional<zod.ZodObject<{
25932
+ connection: zod.ZodObject<{
25933
+ name: zod.ZodString;
25934
+ title: zod.ZodString;
25935
+ service: zod.ZodOptional<zod.ZodString>;
25936
+ catalogue: zod.ZodOptional<zod.ZodObject<{
25937
+ entry: zod.ZodString;
25938
+ part: zod.ZodString;
25939
+ }, zod_v4_core.$strip>>;
25940
+ }, zod_v4_core.$strip>;
25941
+ state: zod.ZodEnum<{
25942
+ needs_reconnect: "needs_reconnect";
25943
+ not_connected: "not_connected";
25944
+ }>;
25945
+ agentName: zod.ZodOptional<zod.ZodString>;
25946
+ }, zod_v4_core.$strip>>;
24169
25947
  decision: zod.ZodOptional<zod.ZodObject<{
24170
25948
  operationRunId: zod.ZodString;
24171
25949
  operationId: zod.ZodString;
@@ -24176,6 +25954,7 @@ declare const apiOperations: {
24176
25954
  targetTitle: zod.ZodOptional<zod.ZodString>;
24177
25955
  inputPreview: zod.ZodUnknown;
24178
25956
  simulation: zod.ZodOptional<zod.ZodUnknown>;
25957
+ alwaysAllow: zod.ZodOptional<zod.ZodLiteral<true>>;
24179
25958
  expiresAt: zod.ZodISODateTime;
24180
25959
  }, zod_v4_core.$strip>>;
24181
25960
  subagent: zod.ZodOptional<zod.ZodObject<{
@@ -24378,6 +26157,7 @@ declare const apiOperations: {
24378
26157
  targetTitle: zod.ZodOptional<zod.ZodString>;
24379
26158
  inputPreview: zod.ZodUnknown;
24380
26159
  simulation: zod.ZodOptional<zod.ZodUnknown>;
26160
+ alwaysAllow: zod.ZodOptional<zod.ZodLiteral<true>>;
24381
26161
  expiresAt: zod.ZodISODateTime;
24382
26162
  }, zod_v4_core.$strip>, zod.ZodObject<{
24383
26163
  type: zod.ZodLiteral<"tool_decision_recorded">;
@@ -24598,6 +26378,7 @@ declare const apiOperations: {
24598
26378
  kind: zod.ZodString;
24599
26379
  name: zod.ZodString;
24600
26380
  }, zod_v4_core.$strip>>;
26381
+ creationTarget: zod.ZodOptional<zod.ZodLiteral<"instance">>;
24601
26382
  }, zod_v4_core.$strip>;
24602
26383
  };
24603
26384
  readonly errors: readonly ["NOT_FOUND", "CONFLICT"];
@@ -25148,10 +26929,7 @@ declare const apiOperations: {
25148
26929
  label: zod.ZodOptional<zod.ZodString>;
25149
26930
  vendor: zod.ZodOptional<zod.ZodString>;
25150
26931
  description: zod.ZodOptional<zod.ZodString>;
25151
- region: zod.ZodOptional<zod.ZodEnum<{
25152
- eu: "eu";
25153
- global: "global";
25154
- }>>;
26932
+ region: zod.ZodOptional<zod.ZodString>;
25155
26933
  usageTier: zod.ZodOptional<zod.ZodEnum<{
25156
26934
  low: "low";
25157
26935
  high: "high";
@@ -28216,10 +29994,7 @@ declare const apiOperations: {
28216
29994
  label: zod.ZodOptional<zod.ZodString>;
28217
29995
  vendor: zod.ZodOptional<zod.ZodString>;
28218
29996
  description: zod.ZodOptional<zod.ZodString>;
28219
- region: zod.ZodOptional<zod.ZodEnum<{
28220
- eu: "eu";
28221
- global: "global";
28222
- }>>;
29997
+ region: zod.ZodOptional<zod.ZodString>;
28223
29998
  usageTier: zod.ZodOptional<zod.ZodEnum<{
28224
29999
  low: "low";
28225
30000
  high: "high";
@@ -28389,10 +30164,7 @@ declare const apiOperations: {
28389
30164
  operator: "operator";
28390
30165
  }>;
28391
30166
  external: zod.ZodBoolean;
28392
- region: zod.ZodOptional<zod.ZodEnum<{
28393
- eu: "eu";
28394
- global: "global";
28395
- }>>;
30167
+ region: zod.ZodOptional<zod.ZodString>;
28396
30168
  endpointHost: zod.ZodOptional<zod.ZodString>;
28397
30169
  bucket: zod.ZodOptional<zod.ZodString>;
28398
30170
  withheld: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
@@ -28471,10 +30243,7 @@ declare const apiOperations: {
28471
30243
  operator: "operator";
28472
30244
  }>;
28473
30245
  external: zod.ZodBoolean;
28474
- region: zod.ZodOptional<zod.ZodEnum<{
28475
- eu: "eu";
28476
- global: "global";
28477
- }>>;
30246
+ region: zod.ZodOptional<zod.ZodString>;
28478
30247
  endpointHost: zod.ZodOptional<zod.ZodString>;
28479
30248
  bucket: zod.ZodOptional<zod.ZodString>;
28480
30249
  withheld: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
@@ -28707,6 +30476,225 @@ declare const apiOperations: {
28707
30476
  readonly errors: readonly [];
28708
30477
  readonly rateClass: "write";
28709
30478
  }>;
30479
+ readonly "me.operation_settings.list": Operation<{
30480
+ readonly id: "me.operation_settings.list";
30481
+ readonly method: "GET";
30482
+ readonly path: "/api/v1/me/operation-settings";
30483
+ readonly summary: "List the signed-in user's own confirmation settings and the operations their agents called lately";
30484
+ readonly tag: "Account";
30485
+ readonly auth: "user";
30486
+ readonly scope: "me:read";
30487
+ readonly requires: readonly [];
30488
+ readonly effect: "reading";
30489
+ readonly response: {
30490
+ readonly kind: "json";
30491
+ readonly schema: zod.ZodObject<{
30492
+ items: zod.ZodArray<zod.ZodObject<{
30493
+ operation: zod.ZodString;
30494
+ title: zod.ZodOptional<zod.ZodString>;
30495
+ effect: zod.ZodEnum<{
30496
+ reading: "reading";
30497
+ changing: "changing";
30498
+ }>;
30499
+ changeClass: zod.ZodOptional<zod.ZodEnum<{
30500
+ reversible: "reversible";
30501
+ irreversible: "irreversible";
30502
+ outward: "outward";
30503
+ }>>;
30504
+ value: zod.ZodOptional<zod.ZodEnum<{
30505
+ always_allow: "always_allow";
30506
+ ask: "ask";
30507
+ never: "never";
30508
+ }>>;
30509
+ mayAlwaysAllow: zod.ZodBoolean;
30510
+ alwaysAllowLocked: zod.ZodOptional<zod.ZodLiteral<true>>;
30511
+ updatedAt: zod.ZodOptional<zod.ZodISODateTime>;
30512
+ }, zod_v4_core.$strip>>;
30513
+ }, zod_v4_core.$strip>;
30514
+ };
30515
+ readonly errors: readonly [];
30516
+ readonly rateClass: "read";
30517
+ }>;
30518
+ readonly "me.operation_settings.set": Operation<{
30519
+ readonly id: "me.operation_settings.set";
30520
+ readonly method: "PUT";
30521
+ readonly path: "/api/v1/me/operation-settings";
30522
+ readonly summary: "Set the signed-in user's own value for an operation: Always allow, Ask me or Never, or none";
30523
+ readonly tag: "Account";
30524
+ readonly auth: "user";
30525
+ readonly scope: "me:write";
30526
+ readonly requires: readonly [];
30527
+ readonly effect: "changing";
30528
+ readonly body: zod.ZodObject<{
30529
+ operation: zod.ZodString;
30530
+ value: zod.ZodNullable<zod.ZodEnum<{
30531
+ always_allow: "always_allow";
30532
+ ask: "ask";
30533
+ never: "never";
30534
+ }>>;
30535
+ }, zod_v4_core.$strip>;
30536
+ readonly response: {
30537
+ readonly kind: "json";
30538
+ readonly schema: zod.ZodObject<{
30539
+ operation: zod.ZodString;
30540
+ title: zod.ZodOptional<zod.ZodString>;
30541
+ effect: zod.ZodEnum<{
30542
+ reading: "reading";
30543
+ changing: "changing";
30544
+ }>;
30545
+ changeClass: zod.ZodOptional<zod.ZodEnum<{
30546
+ reversible: "reversible";
30547
+ irreversible: "irreversible";
30548
+ outward: "outward";
30549
+ }>>;
30550
+ value: zod.ZodOptional<zod.ZodEnum<{
30551
+ always_allow: "always_allow";
30552
+ ask: "ask";
30553
+ never: "never";
30554
+ }>>;
30555
+ mayAlwaysAllow: zod.ZodBoolean;
30556
+ alwaysAllowLocked: zod.ZodOptional<zod.ZodLiteral<true>>;
30557
+ updatedAt: zod.ZodOptional<zod.ZodISODateTime>;
30558
+ }, zod_v4_core.$strip>;
30559
+ };
30560
+ readonly errors: readonly [];
30561
+ readonly rateClass: "write";
30562
+ } & {
30563
+ readonly accepted: zod.ZodObject<{
30564
+ id: zod.ZodString;
30565
+ operation: zod.ZodString;
30566
+ effect: zod.ZodEnum<{
30567
+ reading: "reading";
30568
+ changing: "changing";
30569
+ }>;
30570
+ status: zod.ZodEnum<{
30571
+ failed: "failed";
30572
+ running: "running";
30573
+ pending_confirmation: "pending_confirmation";
30574
+ pending_approval: "pending_approval";
30575
+ done: "done";
30576
+ denied: "denied";
30577
+ expired: "expired";
30578
+ }>;
30579
+ actor: zod.ZodObject<{
30580
+ kind: zod.ZodEnum<{
30581
+ user: "user";
30582
+ service_principal: "service_principal";
30583
+ }>;
30584
+ id: zod.ZodString;
30585
+ label: zod.ZodString;
30586
+ }, zod_v4_core.$strip>;
30587
+ origin: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
30588
+ kind: zod.ZodLiteral<"agent">;
30589
+ agentRunId: zod.ZodString;
30590
+ conversationId: zod.ZodString;
30591
+ agentName: zod.ZodString;
30592
+ toolCallId: zod.ZodString;
30593
+ toolName: zod.ZodString;
30594
+ toolRevisionId: zod.ZodOptional<zod.ZodString>;
30595
+ boundBy: zod.ZodOptional<zod.ZodObject<{
30596
+ id: zod.ZodString;
30597
+ label: zod.ZodString;
30598
+ }, zod_v4_core.$strip>>;
30599
+ draft: zod.ZodOptional<zod.ZodObject<{
30600
+ kind: zod.ZodLiteral<"agent_preview">;
30601
+ asset: zod.ZodObject<{
30602
+ kind: zod.ZodString;
30603
+ id: zod.ZodString;
30604
+ name: zod.ZodString;
30605
+ }, zod_v4_core.$strip>;
30606
+ revisionId: zod.ZodString;
30607
+ part: zod.ZodString;
30608
+ }, zod_v4_core.$strip>>;
30609
+ }, zod_v4_core.$strip>, zod.ZodObject<{
30610
+ kind: zod.ZodLiteral<"user">;
30611
+ }, zod_v4_core.$strip>, zod.ZodObject<{
30612
+ kind: zod.ZodLiteral<"cli">;
30613
+ unattended: zod.ZodOptional<zod.ZodLiteral<true>>;
30614
+ }, zod_v4_core.$strip>, zod.ZodObject<{
30615
+ kind: zod.ZodLiteral<"mcp">;
30616
+ clientName: zod.ZodOptional<zod.ZodString>;
30617
+ }, zod_v4_core.$strip>, zod.ZodObject<{
30618
+ kind: zod.ZodLiteral<"app">;
30619
+ appName: zod.ZodOptional<zod.ZodString>;
30620
+ appRevisionId: zod.ZodString;
30621
+ actionName: zod.ZodString;
30622
+ pageSessionId: zod.ZodString;
30623
+ conversationId: zod.ZodOptional<zod.ZodString>;
30624
+ target: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
30625
+ connection: zod.ZodString;
30626
+ operation: zod.ZodString;
30627
+ }, zod_v4_core.$strip>, zod.ZodObject<{
30628
+ dataStore: zod.ZodString;
30629
+ }, zod_v4_core.$strip>, zod.ZodObject<{
30630
+ workflow: zod.ZodString;
30631
+ }, zod_v4_core.$strip>]>>;
30632
+ }, zod_v4_core.$strip>, zod.ZodObject<{
30633
+ kind: zod.ZodLiteral<"workflow">;
30634
+ workflowRunId: zod.ZodString;
30635
+ stepRunId: zod.ZodString;
30636
+ boundBy: zod.ZodOptional<zod.ZodObject<{
30637
+ id: zod.ZodString;
30638
+ label: zod.ZodString;
30639
+ }, zod_v4_core.$strip>>;
30640
+ }, zod_v4_core.$strip>, zod.ZodObject<{
30641
+ kind: zod.ZodLiteral<"schedule">;
30642
+ scheduleId: zod.ZodString;
30643
+ }, zod_v4_core.$strip>], "kind">;
30644
+ target: zod.ZodEnum<{
30645
+ live: "live";
30646
+ test: "test";
30647
+ dry_run: "dry_run";
30648
+ }>;
30649
+ app: zod.ZodOptional<zod.ZodObject<{
30650
+ title: zod.ZodOptional<zod.ZodString>;
30651
+ revision: zod.ZodOptional<zod.ZodNumber>;
30652
+ deleted: zod.ZodBoolean;
30653
+ }, zod_v4_core.$strip>>;
30654
+ workspaceId: zod.ZodOptional<zod.ZodString>;
30655
+ approvalRequestId: zod.ZodOptional<zod.ZodString>;
30656
+ inputHash: zod.ZodString;
30657
+ attempt: zod.ZodNumber;
30658
+ decision: zod.ZodOptional<zod.ZodObject<{
30659
+ mode: zod.ZodEnum<{
30660
+ direct: "direct";
30661
+ confirmed: "confirmed";
30662
+ approved: "approved";
30663
+ declined: "declined";
30664
+ }>;
30665
+ reason: zod.ZodOptional<zod.ZodEnum<{
30666
+ inherited_approval_not_applied: "inherited_approval_not_applied";
30667
+ workflow_publish: "workflow_publish";
30668
+ approved_by_caller: "approved_by_caller";
30669
+ }>>;
30670
+ by: zod.ZodString;
30671
+ byLabel: zod.ZodOptional<zod.ZodString>;
30672
+ at: zod.ZodISODateTime;
30673
+ comment: zod.ZodOptional<zod.ZodString>;
30674
+ }, zod_v4_core.$strip>>;
30675
+ error: zod.ZodOptional<zod.ZodObject<{
30676
+ code: zod.ZodString;
30677
+ message: zod.ZodString;
30678
+ reason: zod.ZodOptional<zod.ZodString>;
30679
+ }, zod_v4_core.$strip>>;
30680
+ usage: zod.ZodOptional<zod.ZodObject<{
30681
+ modelCalls: zod.ZodNumber;
30682
+ inputTokens: zod.ZodNumber;
30683
+ outputTokens: zod.ZodNumber;
30684
+ totalTokens: zod.ZodNumber;
30685
+ }, zod_v4_core.$strip>>;
30686
+ correlationId: zod.ZodString;
30687
+ createdAt: zod.ZodISODateTime;
30688
+ startedAt: zod.ZodOptional<zod.ZodISODateTime>;
30689
+ finishedAt: zod.ZodOptional<zod.ZodISODateTime>;
30690
+ expiresAt: zod.ZodOptional<zod.ZodISODateTime>;
30691
+ href: zod.ZodString;
30692
+ }, zod_v4_core.$strip>;
30693
+ readonly headers: {
30694
+ readonly request: readonly ["Idempotency-Key", "Catalyst-Unattended"];
30695
+ readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
30696
+ };
30697
+ }>;
28710
30698
  readonly "me.model_preference.get": Operation<{
28711
30699
  readonly id: "me.model_preference.get";
28712
30700
  readonly method: "GET";
@@ -29145,6 +31133,7 @@ declare const apiOperations: {
29145
31133
  readonly body: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
29146
31134
  decision: zod.ZodLiteral<"approve">;
29147
31135
  comment: zod.ZodOptional<zod.ZodString>;
31136
+ alwaysAllow: zod.ZodOptional<zod.ZodLiteral<true>>;
29148
31137
  }, zod_v4_core.$strip>, zod.ZodObject<{
29149
31138
  decision: zod.ZodLiteral<"reject">;
29150
31139
  comment: zod.ZodOptional<zod.ZodString>;
@@ -31017,6 +33006,37 @@ type AssetRightsCheck = z.infer<typeof assetRightsCheckSchema>;
31017
33006
  type AccessOrigin = z.infer<typeof accessOriginSchema>;
31018
33007
  type WorkspaceBuildLimits = z.infer<typeof workspaceBuildLimitsSchema>;
31019
33008
  type UpdateWorkspaceBuildLimitsRequest = z.input<typeof updateWorkspaceBuildLimitsRequestSchema>;
33009
+ /**
33010
+ * Instance > Access > Data access: the declared dimensions, every assignment the reader may
33011
+ * see, and each active person the reader may manage with their groups and what they see.
33012
+ */
33013
+ declare const scopeAssignmentsOverviewSchema: z.ZodObject<{
33014
+ dimensions: z.ZodRecord<z.ZodString, z.ZodObject<{
33015
+ label: z.ZodString;
33016
+ valueType: z.ZodLiteral<"text">;
33017
+ }, z.core.$strict>>;
33018
+ assignments: z.ZodArray<z.ZodObject<{
33019
+ dimension: z.ZodString;
33020
+ holderKind: z.ZodEnum<{
33021
+ user: "user";
33022
+ service_principal: "service_principal";
33023
+ group: "group";
33024
+ }>;
33025
+ holderId: z.ZodString;
33026
+ effect: z.ZodEnum<{
33027
+ allow: "allow";
33028
+ deny: "deny";
33029
+ }>;
33030
+ values: z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>;
33031
+ }, z.core.$strict>>;
33032
+ people: z.ZodArray<z.ZodObject<{
33033
+ id: z.ZodString;
33034
+ displayLabel: z.ZodString;
33035
+ groups: z.ZodArray<z.ZodString>;
33036
+ effective: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
33037
+ }, z.core.$strip>>;
33038
+ }, z.core.$strip>;
33039
+ type ScopeAssignmentsOverview = z.infer<typeof scopeAssignmentsOverviewSchema>;
31020
33040
 
31021
33041
  declare const agentDraftSchema: z.ZodObject<{
31022
33042
  agent: z.ZodString;
@@ -31109,6 +33129,19 @@ declare const discardAgentDraftRequestSchema: z.ZodObject<{
31109
33129
  declare const discardAgentDraftResponseSchema: z.ZodObject<{
31110
33130
  discarded: z.ZodLiteral<true>;
31111
33131
  }, z.core.$strip>;
33132
+ declare const setAgentUseRequestSchema: z.ZodObject<{
33133
+ use: z.ZodEnum<{
33134
+ everyone: "everyone";
33135
+ granted: "granted";
33136
+ }>;
33137
+ expectedAssetId: z.ZodOptional<z.ZodString>;
33138
+ }, z.core.$strip>;
33139
+ declare const setAgentUseResponseSchema: z.ZodObject<{
33140
+ use: z.ZodEnum<{
33141
+ everyone: "everyone";
33142
+ granted: "granted";
33143
+ }>;
33144
+ }, z.core.$strip>;
31112
33145
  declare const agentTryConversationResponseSchema: z.ZodObject<{
31113
33146
  conversation: z.ZodObject<{
31114
33147
  id: z.ZodString;
@@ -31130,6 +33163,7 @@ declare const agentTryConversationResponseSchema: z.ZodObject<{
31130
33163
  kind: z.ZodString;
31131
33164
  name: z.ZodString;
31132
33165
  }, z.core.$strip>>;
33166
+ creationTarget: z.ZodOptional<z.ZodLiteral<"instance">>;
31133
33167
  }, z.core.$strip>;
31134
33168
  preview: z.ZodLiteral<true>;
31135
33169
  }, z.core.$strip>;
@@ -31286,6 +33320,7 @@ declare const pendingApprovalRequestCountSchema: z.ZodObject<{
31286
33320
  declare const decideApprovalRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
31287
33321
  decision: z.ZodLiteral<"approve">;
31288
33322
  comment: z.ZodOptional<z.ZodString>;
33323
+ alwaysAllow: z.ZodOptional<z.ZodLiteral<true>>;
31289
33324
  }, z.core.$strip>, z.ZodObject<{
31290
33325
  decision: z.ZodLiteral<"reject">;
31291
33326
  comment: z.ZodOptional<z.ZodString>;
@@ -31472,6 +33507,118 @@ declare const appActionCallResultSchema: z.ZodUnion<readonly [z.ZodObject<{
31472
33507
  result: z.ZodUnknown;
31473
33508
  }, z.core.$strip>]>;
31474
33509
  type AppSessionContextResponse = z.infer<typeof appSessionContextSchema>;
33510
+ /** What an agent tries one action of an App's draft with: the action's parameters, by name. */
33511
+ declare const appTryActionRequestSchema: z.ZodObject<{
33512
+ input: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
33513
+ }, z.core.$strict>;
33514
+ /**
33515
+ * How a try of one action of an App's draft went (DP-2): the answer the button of the draft
33516
+ * gets, with the run it left and where the call went. A `workflow` action names the test run
33517
+ * it started and which revision of the Workflow runs in it; the run goes on after the answer
33518
+ * and is followed with `workflows.get_run` and `workflows.list_step_runs`.
33519
+ */
33520
+ declare const appTryActionResultSchema: z.ZodObject<{
33521
+ operationRunId: z.ZodOptional<z.ZodString>;
33522
+ status: z.ZodEnum<{
33523
+ dry_run: "dry_run";
33524
+ pending_approval: "pending_approval";
33525
+ done: "done";
33526
+ }>;
33527
+ target: z.ZodOptional<z.ZodEnum<{
33528
+ live: "live";
33529
+ test: "test";
33530
+ dry_run: "dry_run";
33531
+ }>>;
33532
+ result: z.ZodOptional<z.ZodUnknown>;
33533
+ message: z.ZodOptional<z.ZodString>;
33534
+ workflowRun: z.ZodOptional<z.ZodObject<{
33535
+ runId: z.ZodString;
33536
+ workflow: z.ZodString;
33537
+ status: z.ZodEnum<{
33538
+ failed: "failed";
33539
+ running: "running";
33540
+ done: "done";
33541
+ queued: "queued";
33542
+ cancelled: "cancelled";
33543
+ continued: "continued";
33544
+ waiting: "waiting";
33545
+ limit_reached: "limit_reached";
33546
+ }>;
33547
+ revision: z.ZodObject<{
33548
+ kind: z.ZodEnum<{
33549
+ draft: "draft";
33550
+ published: "published";
33551
+ }>;
33552
+ number: z.ZodOptional<z.ZodNumber>;
33553
+ }, z.core.$strip>;
33554
+ }, z.core.$strip>>;
33555
+ }, z.core.$strip>;
33556
+ type AppTryActionResult = z.infer<typeof appTryActionResultSchema>;
33557
+ /** Why one asset of a publish would be refused now: a missing right or a check of the publish. */
33558
+ declare const appPublishRefusalSchema: z.ZodObject<{
33559
+ reason: z.ZodString;
33560
+ message: z.ZodString;
33561
+ right: z.ZodOptional<z.ZodString>;
33562
+ }, z.core.$strip>;
33563
+ /**
33564
+ * What publishing an App's draft comes to, read before the person is asked (DP-2): the App and
33565
+ * the Workflows it reaches, children before the Workflows that start them, each with its
33566
+ * pending draft, what its publish question says, and what would refuse it. It changes nothing.
33567
+ */
33568
+ declare const appPublishReviewSchema: z.ZodObject<{
33569
+ app: z.ZodObject<{
33570
+ name: z.ZodString;
33571
+ title: z.ZodString;
33572
+ draftRevision: z.ZodNumber;
33573
+ publishedRevision: z.ZodOptional<z.ZodNumber>;
33574
+ pending: z.ZodBoolean;
33575
+ narrative: z.ZodOptional<z.ZodObject<{
33576
+ summary: z.ZodString;
33577
+ warnings: z.ZodArray<z.ZodString>;
33578
+ }, z.core.$strip>>;
33579
+ lastChangedBy: z.ZodOptional<z.ZodString>;
33580
+ refusals: z.ZodArray<z.ZodObject<{
33581
+ reason: z.ZodString;
33582
+ message: z.ZodString;
33583
+ right: z.ZodOptional<z.ZodString>;
33584
+ }, z.core.$strip>>;
33585
+ }, z.core.$strip>;
33586
+ workflows: z.ZodArray<z.ZodObject<{
33587
+ name: z.ZodString;
33588
+ title: z.ZodString;
33589
+ draftRevision: z.ZodNumber;
33590
+ publishedRevision: z.ZodOptional<z.ZodNumber>;
33591
+ pending: z.ZodBoolean;
33592
+ narrative: z.ZodOptional<z.ZodObject<{
33593
+ summary: z.ZodString;
33594
+ warnings: z.ZodArray<z.ZodString>;
33595
+ }, z.core.$strip>>;
33596
+ lastChangedBy: z.ZodOptional<z.ZodString>;
33597
+ refusals: z.ZodArray<z.ZodObject<{
33598
+ reason: z.ZodString;
33599
+ message: z.ZodString;
33600
+ right: z.ZodOptional<z.ZodString>;
33601
+ }, z.core.$strip>>;
33602
+ actions: z.ZodArray<z.ZodString>;
33603
+ lastTestRun: z.ZodOptional<z.ZodObject<{
33604
+ runId: z.ZodString;
33605
+ status: z.ZodEnum<{
33606
+ failed: "failed";
33607
+ running: "running";
33608
+ done: "done";
33609
+ queued: "queued";
33610
+ cancelled: "cancelled";
33611
+ continued: "continued";
33612
+ waiting: "waiting";
33613
+ limit_reached: "limit_reached";
33614
+ }>;
33615
+ at: z.ZodString;
33616
+ }, z.core.$strip>>;
33617
+ }, z.core.$strip>>;
33618
+ publishesTogether: z.ZodBoolean;
33619
+ ready: z.ZodBoolean;
33620
+ }, z.core.$strip>;
33621
+ type AppPublishReview = z.infer<typeof appPublishReviewSchema>;
31475
33622
  type AppActionCallResult = z.infer<typeof appActionCallResultSchema>;
31476
33623
  declare const appActionsListQuerySchema: z.ZodObject<{
31477
33624
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -31746,6 +33893,8 @@ declare const assetScopeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
31746
33893
  kind: z.ZodLiteral<"workspace">;
31747
33894
  workspaceId: z.ZodString;
31748
33895
  }, z.core.$strip>], "kind">;
33896
+ /** How many Workflow drafts one publish of an App makes live with it at most. */
33897
+ declare const APP_PUBLISH_WORKFLOWS_MAX = 20;
31749
33898
  /**
31750
33899
  * The two pointers of an asset whose kind has the lifecycle `draft_published`, as revision
31751
33900
  * numbers. Both are left out on every other kind. `revision` beside them equals
@@ -31755,6 +33904,15 @@ declare const assetScopeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
31755
33904
  * `publishedRevision` both name the published revision, and `draftRevision` is left out.
31756
33905
  */
31757
33906
  /** Dependencies whose use is missing in one or more of the agent's workspaces. */
33907
+ /**
33908
+ * Who uses an agent where it is available (AGENT-USE-1): `everyone` who may work there, or only
33909
+ * those `agent.use` allows on it (`granted`).
33910
+ */
33911
+ declare const agentUseSchema: z.ZodEnum<{
33912
+ everyone: "everyone";
33913
+ granted: "granted";
33914
+ }>;
33915
+ type AgentUse = z.infer<typeof agentUseSchema>;
31758
33916
  declare const dependencyAvailabilitySchema: z.ZodObject<{
31759
33917
  availability: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31760
33918
  mode: z.ZodEnum<{
@@ -31868,16 +34026,24 @@ declare const saveApprovalSchema: z.ZodObject<{
31868
34026
  }, z.core.$strip>;
31869
34027
  declare const workflowStepFactSchema: z.ZodObject<{
31870
34028
  source: z.ZodOptional<z.ZodObject<{
34029
+ title: z.ZodOptional<z.ZodString>;
34030
+ service: z.ZodOptional<z.ZodString>;
31871
34031
  kind: z.ZodEnum<{
31872
34032
  workflow: "workflow";
34033
+ other: "other";
31873
34034
  connection: "connection";
31874
34035
  data_store: "data_store";
31875
34036
  knowledge_base: "knowledge_base";
31876
- other: "other";
34037
+ mail_sender: "mail_sender";
31877
34038
  }>;
31878
- title: z.ZodOptional<z.ZodString>;
31879
- service: z.ZodOptional<z.ZodString>;
31880
34039
  }, z.core.$strip>>;
34040
+ mailSender: z.ZodOptional<z.ZodOptional<z.ZodObject<{
34041
+ sender: z.ZodString;
34042
+ title: z.ZodString;
34043
+ icon: z.ZodString;
34044
+ address: z.ZodEmail;
34045
+ recipientDomains: z.ZodArray<z.ZodString>;
34046
+ }, z.core.$strict>>>;
31881
34047
  title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
31882
34048
  effect: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
31883
34049
  reading: "reading";
@@ -31893,16 +34059,24 @@ declare const workflowStepFactSchema: z.ZodObject<{
31893
34059
  nextDueAt: z.ZodOptional<z.ZodISODateTime>;
31894
34060
  tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
31895
34061
  source: z.ZodObject<{
34062
+ title: z.ZodOptional<z.ZodString>;
34063
+ service: z.ZodOptional<z.ZodString>;
31896
34064
  kind: z.ZodEnum<{
31897
34065
  workflow: "workflow";
34066
+ other: "other";
31898
34067
  connection: "connection";
31899
34068
  data_store: "data_store";
31900
34069
  knowledge_base: "knowledge_base";
31901
- other: "other";
34070
+ mail_sender: "mail_sender";
31902
34071
  }>;
31903
- title: z.ZodOptional<z.ZodString>;
31904
- service: z.ZodOptional<z.ZodString>;
31905
34072
  }, z.core.$strip>;
34073
+ mailSender: z.ZodOptional<z.ZodObject<{
34074
+ sender: z.ZodString;
34075
+ title: z.ZodString;
34076
+ icon: z.ZodString;
34077
+ address: z.ZodEmail;
34078
+ recipientDomains: z.ZodArray<z.ZodString>;
34079
+ }, z.core.$strict>>;
31906
34080
  title: z.ZodOptional<z.ZodString>;
31907
34081
  effect: z.ZodOptional<z.ZodEnum<{
31908
34082
  reading: "reading";
@@ -31920,16 +34094,24 @@ declare const assetSchema: z.ZodObject<{
31920
34094
  runsAs: z.ZodOptional<z.ZodString>;
31921
34095
  stepFacts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31922
34096
  source: z.ZodOptional<z.ZodObject<{
34097
+ title: z.ZodOptional<z.ZodString>;
34098
+ service: z.ZodOptional<z.ZodString>;
31923
34099
  kind: z.ZodEnum<{
31924
34100
  workflow: "workflow";
34101
+ other: "other";
31925
34102
  connection: "connection";
31926
34103
  data_store: "data_store";
31927
34104
  knowledge_base: "knowledge_base";
31928
- other: "other";
34105
+ mail_sender: "mail_sender";
31929
34106
  }>;
31930
- title: z.ZodOptional<z.ZodString>;
31931
- service: z.ZodOptional<z.ZodString>;
31932
34107
  }, z.core.$strip>>;
34108
+ mailSender: z.ZodOptional<z.ZodOptional<z.ZodObject<{
34109
+ sender: z.ZodString;
34110
+ title: z.ZodString;
34111
+ icon: z.ZodString;
34112
+ address: z.ZodEmail;
34113
+ recipientDomains: z.ZodArray<z.ZodString>;
34114
+ }, z.core.$strict>>>;
31933
34115
  title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
31934
34116
  effect: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
31935
34117
  reading: "reading";
@@ -31945,16 +34127,24 @@ declare const assetSchema: z.ZodObject<{
31945
34127
  nextDueAt: z.ZodOptional<z.ZodISODateTime>;
31946
34128
  tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
31947
34129
  source: z.ZodObject<{
34130
+ title: z.ZodOptional<z.ZodString>;
34131
+ service: z.ZodOptional<z.ZodString>;
31948
34132
  kind: z.ZodEnum<{
31949
34133
  workflow: "workflow";
34134
+ other: "other";
31950
34135
  connection: "connection";
31951
34136
  data_store: "data_store";
31952
34137
  knowledge_base: "knowledge_base";
31953
- other: "other";
34138
+ mail_sender: "mail_sender";
31954
34139
  }>;
31955
- title: z.ZodOptional<z.ZodString>;
31956
- service: z.ZodOptional<z.ZodString>;
31957
34140
  }, z.core.$strip>;
34141
+ mailSender: z.ZodOptional<z.ZodObject<{
34142
+ sender: z.ZodString;
34143
+ title: z.ZodString;
34144
+ icon: z.ZodString;
34145
+ address: z.ZodEmail;
34146
+ recipientDomains: z.ZodArray<z.ZodString>;
34147
+ }, z.core.$strict>>;
31958
34148
  title: z.ZodOptional<z.ZodString>;
31959
34149
  effect: z.ZodOptional<z.ZodEnum<{
31960
34150
  reading: "reading";
@@ -31967,6 +34157,16 @@ declare const assetSchema: z.ZodObject<{
31967
34157
  name: z.ZodString;
31968
34158
  }, z.core.$strip>>>;
31969
34159
  }, z.core.$strip>>>;
34160
+ workflowCallers: z.ZodOptional<z.ZodArray<z.ZodObject<{
34161
+ name: z.ZodString;
34162
+ title: z.ZodString;
34163
+ scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
34164
+ kind: z.ZodLiteral<"instance">;
34165
+ }, z.core.$strip>, z.ZodObject<{
34166
+ kind: z.ZodLiteral<"workspace">;
34167
+ workspaceId: z.ZodString;
34168
+ }, z.core.$strip>], "kind">;
34169
+ }, z.core.$strip>>>;
31970
34170
  publishQuestion: z.ZodOptional<z.ZodArray<z.ZodString>>;
31971
34171
  publishNarrative: z.ZodOptional<z.ZodObject<{
31972
34172
  summary: z.ZodString;
@@ -32037,6 +34237,10 @@ declare const assetSchema: z.ZodObject<{
32037
34237
  administrators: z.ZodArray<z.ZodString>;
32038
34238
  }, z.core.$strip>>;
32039
34239
  canSetAvailability: z.ZodOptional<z.ZodBoolean>;
34240
+ agentUse: z.ZodOptional<z.ZodEnum<{
34241
+ everyone: "everyone";
34242
+ granted: "granted";
34243
+ }>>;
32040
34244
  unavailableTools: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
32041
34245
  name: z.ZodString;
32042
34246
  reason: z.ZodLiteral<"module_off">;
@@ -32216,6 +34420,10 @@ declare const publishAssetRequestSchema: z.ZodObject<{
32216
34420
  confirmProcessing: z.ZodOptional<z.ZodString>;
32217
34421
  revision: z.ZodNumber;
32218
34422
  workspaceId: z.ZodOptional<z.ZodString>;
34423
+ workflows: z.ZodOptional<z.ZodArray<z.ZodObject<{
34424
+ name: z.ZodString;
34425
+ revision: z.ZodNumber;
34426
+ }, z.core.$strict>>>;
32219
34427
  }, z.core.$strip>;
32220
34428
  declare const discardAssetDraftRequestSchema: z.ZodObject<{
32221
34429
  expectedRevision: z.ZodOptional<z.ZodNumber>;
@@ -32226,6 +34434,12 @@ declare const assetPointersResponseSchema: z.ZodObject<{
32226
34434
  draftRevision: z.ZodNumber;
32227
34435
  publishedRevision: z.ZodNumber;
32228
34436
  replacedRevision: z.ZodOptional<z.ZodNumber>;
34437
+ publishedWith: z.ZodOptional<z.ZodArray<z.ZodObject<{
34438
+ kind: z.ZodLiteral<"workflow">;
34439
+ name: z.ZodString;
34440
+ publishedRevision: z.ZodNumber;
34441
+ replacedRevision: z.ZodOptional<z.ZodNumber>;
34442
+ }, z.core.$strip>>>;
32229
34443
  }, z.core.$strip>;
32230
34444
  /** The bound of the name of an App action or a Workflow step that "Run live once" names. */
32231
34445
  declare const LIVE_ONCE_PART_MAX_LENGTH = 200;
@@ -32291,6 +34505,13 @@ declare const setAssetAvailabilityRequestSchema: z.ZodObject<{
32291
34505
  }, z.core.$strip>>>;
32292
34506
  }, z.core.$strip>;
32293
34507
  declare const validateAssetRequestSchema: z.ZodObject<{
34508
+ files: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
34509
+ path: z.ZodString;
34510
+ text: z.ZodString;
34511
+ }, z.core.$strict>, z.ZodObject<{
34512
+ path: z.ZodString;
34513
+ base64: z.ZodBase64;
34514
+ }, z.core.$strict>]>>>;
32294
34515
  availability: z.ZodOptional<z.ZodObject<{
32295
34516
  mode: z.ZodEnum<{
32296
34517
  all: "all";
@@ -32878,10 +35099,7 @@ declare const modelUsageTierSchema: z.ZodEnum<{
32878
35099
  very_high: "very_high";
32879
35100
  }>;
32880
35101
  /** Where a model's provider processes data. Absent for a provider inside the instance. */
32881
- declare const modelRegionSchema: z.ZodEnum<{
32882
- eu: "eu";
32883
- global: "global";
32884
- }>;
35102
+ declare const modelRegionSchema: z.ZodString;
32885
35103
  declare const agentEditableFieldSchema: z.ZodEnum<{
32886
35104
  displayName: "displayName";
32887
35105
  description: "description";
@@ -33045,10 +35263,7 @@ declare const safeConfigSchema: z.ZodObject<{
33045
35263
  label: z.ZodOptional<z.ZodString>;
33046
35264
  vendor: z.ZodOptional<z.ZodString>;
33047
35265
  description: z.ZodOptional<z.ZodString>;
33048
- region: z.ZodOptional<z.ZodEnum<{
33049
- eu: "eu";
33050
- global: "global";
33051
- }>>;
35266
+ region: z.ZodOptional<z.ZodString>;
33052
35267
  usageTier: z.ZodOptional<z.ZodEnum<{
33053
35268
  low: "low";
33054
35269
  high: "high";
@@ -33172,10 +35387,7 @@ declare const collaborationWorkspaceAgentsSchema: z.ZodObject<{
33172
35387
  label: z.ZodOptional<z.ZodString>;
33173
35388
  vendor: z.ZodOptional<z.ZodString>;
33174
35389
  description: z.ZodOptional<z.ZodString>;
33175
- region: z.ZodOptional<z.ZodEnum<{
33176
- eu: "eu";
33177
- global: "global";
33178
- }>>;
35390
+ region: z.ZodOptional<z.ZodString>;
33179
35391
  usageTier: z.ZodOptional<z.ZodEnum<{
33180
35392
  low: "low";
33181
35393
  high: "high";
@@ -33571,6 +35783,11 @@ declare const conversationSubjectSchema: z.ZodObject<{
33571
35783
  kind: z.ZodString;
33572
35784
  name: z.ZodString;
33573
35785
  }, z.core.$strip>;
35786
+ /**
35787
+ * Where a conversation's first saves create an agent, skill or guardrail: `instance` for one
35788
+ * started under Studio's scope "Instance". Set when the conversation is created, never changed.
35789
+ */
35790
+ declare const conversationCreationTargetSchema: z.ZodLiteral<"instance">;
33574
35791
  declare const conversationSchema: z.ZodObject<{
33575
35792
  id: z.ZodString;
33576
35793
  clientInstanceId: z.ZodString;
@@ -33591,6 +35808,7 @@ declare const conversationSchema: z.ZodObject<{
33591
35808
  kind: z.ZodString;
33592
35809
  name: z.ZodString;
33593
35810
  }, z.core.$strip>>;
35811
+ creationTarget: z.ZodOptional<z.ZodLiteral<"instance">>;
33594
35812
  }, z.core.$strip>;
33595
35813
  declare const moveConversationRequestSchema: z.ZodObject<{
33596
35814
  collaborationWorkspaceId: z.ZodString;
@@ -34567,6 +36785,7 @@ declare const createConversationRequestSchema: z.ZodObject<{
34567
36785
  kind: z.ZodString;
34568
36786
  name: z.ZodString;
34569
36787
  }, z.core.$strip>>;
36788
+ creationTarget: z.ZodOptional<z.ZodLiteral<"instance">>;
34570
36789
  }, z.core.$strip>;
34571
36790
  /**
34572
36791
  * The person makes an asset what their conversation is about, as going to the asset's page
@@ -34736,6 +36955,7 @@ declare const agentRuntimeEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
34736
36955
  targetTitle: z.ZodOptional<z.ZodString>;
34737
36956
  inputPreview: z.ZodUnknown;
34738
36957
  simulation: z.ZodOptional<z.ZodUnknown>;
36958
+ alwaysAllow: z.ZodOptional<z.ZodLiteral<true>>;
34739
36959
  expiresAt: z.ZodISODateTime;
34740
36960
  }, z.core.$strip>, z.ZodObject<{
34741
36961
  type: z.ZodLiteral<"tool_decision_recorded">;
@@ -34931,6 +37151,22 @@ declare const agentRunProjectionPartSchema: z.ZodDiscriminatedUnion<[z.ZodObject
34931
37151
  output: z.ZodOptional<z.ZodUnknown>;
34932
37152
  errorText: z.ZodOptional<z.ZodString>;
34933
37153
  errorReason: z.ZodOptional<z.ZodLiteral<"subject_conversation_shared">>;
37154
+ connect: z.ZodOptional<z.ZodObject<{
37155
+ connection: z.ZodObject<{
37156
+ name: z.ZodString;
37157
+ title: z.ZodString;
37158
+ service: z.ZodOptional<z.ZodString>;
37159
+ catalogue: z.ZodOptional<z.ZodObject<{
37160
+ entry: z.ZodString;
37161
+ part: z.ZodString;
37162
+ }, z.core.$strip>>;
37163
+ }, z.core.$strip>;
37164
+ state: z.ZodEnum<{
37165
+ needs_reconnect: "needs_reconnect";
37166
+ not_connected: "not_connected";
37167
+ }>;
37168
+ agentName: z.ZodOptional<z.ZodString>;
37169
+ }, z.core.$strip>>;
34934
37170
  decision: z.ZodOptional<z.ZodObject<{
34935
37171
  operationRunId: z.ZodString;
34936
37172
  operationId: z.ZodString;
@@ -34941,6 +37177,7 @@ declare const agentRunProjectionPartSchema: z.ZodDiscriminatedUnion<[z.ZodObject
34941
37177
  targetTitle: z.ZodOptional<z.ZodString>;
34942
37178
  inputPreview: z.ZodUnknown;
34943
37179
  simulation: z.ZodOptional<z.ZodUnknown>;
37180
+ alwaysAllow: z.ZodOptional<z.ZodLiteral<true>>;
34944
37181
  expiresAt: z.ZodISODateTime;
34945
37182
  }, z.core.$strip>>;
34946
37183
  subagent: z.ZodOptional<z.ZodObject<{
@@ -34993,6 +37230,22 @@ declare const agentRunProjectionSchema: z.ZodObject<{
34993
37230
  output: z.ZodOptional<z.ZodUnknown>;
34994
37231
  errorText: z.ZodOptional<z.ZodString>;
34995
37232
  errorReason: z.ZodOptional<z.ZodLiteral<"subject_conversation_shared">>;
37233
+ connect: z.ZodOptional<z.ZodObject<{
37234
+ connection: z.ZodObject<{
37235
+ name: z.ZodString;
37236
+ title: z.ZodString;
37237
+ service: z.ZodOptional<z.ZodString>;
37238
+ catalogue: z.ZodOptional<z.ZodObject<{
37239
+ entry: z.ZodString;
37240
+ part: z.ZodString;
37241
+ }, z.core.$strip>>;
37242
+ }, z.core.$strip>;
37243
+ state: z.ZodEnum<{
37244
+ needs_reconnect: "needs_reconnect";
37245
+ not_connected: "not_connected";
37246
+ }>;
37247
+ agentName: z.ZodOptional<z.ZodString>;
37248
+ }, z.core.$strip>>;
34996
37249
  decision: z.ZodOptional<z.ZodObject<{
34997
37250
  operationRunId: z.ZodString;
34998
37251
  operationId: z.ZodString;
@@ -35003,6 +37256,7 @@ declare const agentRunProjectionSchema: z.ZodObject<{
35003
37256
  targetTitle: z.ZodOptional<z.ZodString>;
35004
37257
  inputPreview: z.ZodUnknown;
35005
37258
  simulation: z.ZodOptional<z.ZodUnknown>;
37259
+ alwaysAllow: z.ZodOptional<z.ZodLiteral<true>>;
35006
37260
  expiresAt: z.ZodISODateTime;
35007
37261
  }, z.core.$strip>>;
35008
37262
  subagent: z.ZodOptional<z.ZodObject<{
@@ -35035,6 +37289,22 @@ declare const agentRunProjectionSchema: z.ZodObject<{
35035
37289
  output: z.ZodOptional<z.ZodUnknown>;
35036
37290
  errorText: z.ZodOptional<z.ZodString>;
35037
37291
  errorReason: z.ZodOptional<z.ZodLiteral<"subject_conversation_shared">>;
37292
+ connect: z.ZodOptional<z.ZodObject<{
37293
+ connection: z.ZodObject<{
37294
+ name: z.ZodString;
37295
+ title: z.ZodString;
37296
+ service: z.ZodOptional<z.ZodString>;
37297
+ catalogue: z.ZodOptional<z.ZodObject<{
37298
+ entry: z.ZodString;
37299
+ part: z.ZodString;
37300
+ }, z.core.$strip>>;
37301
+ }, z.core.$strip>;
37302
+ state: z.ZodEnum<{
37303
+ needs_reconnect: "needs_reconnect";
37304
+ not_connected: "not_connected";
37305
+ }>;
37306
+ agentName: z.ZodOptional<z.ZodString>;
37307
+ }, z.core.$strip>>;
35038
37308
  decision: z.ZodOptional<z.ZodObject<{
35039
37309
  operationRunId: z.ZodString;
35040
37310
  operationId: z.ZodString;
@@ -35045,6 +37315,7 @@ declare const agentRunProjectionSchema: z.ZodObject<{
35045
37315
  targetTitle: z.ZodOptional<z.ZodString>;
35046
37316
  inputPreview: z.ZodUnknown;
35047
37317
  simulation: z.ZodOptional<z.ZodUnknown>;
37318
+ alwaysAllow: z.ZodOptional<z.ZodLiteral<true>>;
35048
37319
  expiresAt: z.ZodISODateTime;
35049
37320
  }, z.core.$strip>>;
35050
37321
  subagent: z.ZodOptional<z.ZodObject<{
@@ -35202,6 +37473,7 @@ declare const runObservationSchema: z.ZodObject<{
35202
37473
  targetTitle: z.ZodOptional<z.ZodString>;
35203
37474
  inputPreview: z.ZodUnknown;
35204
37475
  simulation: z.ZodOptional<z.ZodUnknown>;
37476
+ alwaysAllow: z.ZodOptional<z.ZodLiteral<true>>;
35205
37477
  expiresAt: z.ZodISODateTime;
35206
37478
  }, z.core.$strip>, z.ZodObject<{
35207
37479
  type: z.ZodLiteral<"tool_decision_recorded">;
@@ -35463,6 +37735,7 @@ declare const startConversationRunResponseSchema: z.ZodObject<{
35463
37735
  kind: z.ZodString;
35464
37736
  name: z.ZodString;
35465
37737
  }, z.core.$strip>>;
37738
+ creationTarget: z.ZodOptional<z.ZodLiteral<"instance">>;
35466
37739
  }, z.core.$strip>;
35467
37740
  userMessage: z.ZodObject<{
35468
37741
  id: z.ZodString;
@@ -35666,6 +37939,7 @@ declare const startConversationRunResponseSchema: z.ZodObject<{
35666
37939
  heartbeatAt: z.ZodOptional<z.ZodISODateTime>;
35667
37940
  }, z.core.$strip>;
35668
37941
  thread: z.ZodLazy<z.ZodObject<{
37942
+ personalData: z.ZodOptional<z.ZodBoolean>;
35669
37943
  followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
35670
37944
  id: z.ZodString;
35671
37945
  clientInstanceId: z.ZodString;
@@ -35719,6 +37993,7 @@ declare const startConversationRunResponseSchema: z.ZodObject<{
35719
37993
  kind: z.ZodString;
35720
37994
  name: z.ZodString;
35721
37995
  }, z.core.$strip>>;
37996
+ creationTarget: z.ZodOptional<z.ZodLiteral<"instance">>;
35722
37997
  }, z.core.$strip>;
35723
37998
  messages: z.ZodArray<z.ZodObject<{
35724
37999
  id: z.ZodString;
@@ -35907,6 +38182,22 @@ declare const startConversationRunResponseSchema: z.ZodObject<{
35907
38182
  output: z.ZodOptional<z.ZodUnknown>;
35908
38183
  errorText: z.ZodOptional<z.ZodString>;
35909
38184
  errorReason: z.ZodOptional<z.ZodLiteral<"subject_conversation_shared">>;
38185
+ connect: z.ZodOptional<z.ZodObject<{
38186
+ connection: z.ZodObject<{
38187
+ name: z.ZodString;
38188
+ title: z.ZodString;
38189
+ service: z.ZodOptional<z.ZodString>;
38190
+ catalogue: z.ZodOptional<z.ZodObject<{
38191
+ entry: z.ZodString;
38192
+ part: z.ZodString;
38193
+ }, z.core.$strip>>;
38194
+ }, z.core.$strip>;
38195
+ state: z.ZodEnum<{
38196
+ needs_reconnect: "needs_reconnect";
38197
+ not_connected: "not_connected";
38198
+ }>;
38199
+ agentName: z.ZodOptional<z.ZodString>;
38200
+ }, z.core.$strip>>;
35910
38201
  decision: z.ZodOptional<z.ZodObject<{
35911
38202
  operationRunId: z.ZodString;
35912
38203
  operationId: z.ZodString;
@@ -35917,6 +38208,7 @@ declare const startConversationRunResponseSchema: z.ZodObject<{
35917
38208
  targetTitle: z.ZodOptional<z.ZodString>;
35918
38209
  inputPreview: z.ZodUnknown;
35919
38210
  simulation: z.ZodOptional<z.ZodUnknown>;
38211
+ alwaysAllow: z.ZodOptional<z.ZodLiteral<true>>;
35920
38212
  expiresAt: z.ZodISODateTime;
35921
38213
  }, z.core.$strip>>;
35922
38214
  subagent: z.ZodOptional<z.ZodObject<{
@@ -35949,6 +38241,22 @@ declare const startConversationRunResponseSchema: z.ZodObject<{
35949
38241
  output: z.ZodOptional<z.ZodUnknown>;
35950
38242
  errorText: z.ZodOptional<z.ZodString>;
35951
38243
  errorReason: z.ZodOptional<z.ZodLiteral<"subject_conversation_shared">>;
38244
+ connect: z.ZodOptional<z.ZodObject<{
38245
+ connection: z.ZodObject<{
38246
+ name: z.ZodString;
38247
+ title: z.ZodString;
38248
+ service: z.ZodOptional<z.ZodString>;
38249
+ catalogue: z.ZodOptional<z.ZodObject<{
38250
+ entry: z.ZodString;
38251
+ part: z.ZodString;
38252
+ }, z.core.$strip>>;
38253
+ }, z.core.$strip>;
38254
+ state: z.ZodEnum<{
38255
+ needs_reconnect: "needs_reconnect";
38256
+ not_connected: "not_connected";
38257
+ }>;
38258
+ agentName: z.ZodOptional<z.ZodString>;
38259
+ }, z.core.$strip>>;
35952
38260
  decision: z.ZodOptional<z.ZodObject<{
35953
38261
  operationRunId: z.ZodString;
35954
38262
  operationId: z.ZodString;
@@ -35959,6 +38267,7 @@ declare const startConversationRunResponseSchema: z.ZodObject<{
35959
38267
  targetTitle: z.ZodOptional<z.ZodString>;
35960
38268
  inputPreview: z.ZodUnknown;
35961
38269
  simulation: z.ZodOptional<z.ZodUnknown>;
38270
+ alwaysAllow: z.ZodOptional<z.ZodLiteral<true>>;
35962
38271
  expiresAt: z.ZodISODateTime;
35963
38272
  }, z.core.$strip>>;
35964
38273
  subagent: z.ZodOptional<z.ZodObject<{
@@ -36061,6 +38370,22 @@ declare const startConversationRunResponseSchema: z.ZodObject<{
36061
38370
  output: z.ZodOptional<z.ZodUnknown>;
36062
38371
  errorText: z.ZodOptional<z.ZodString>;
36063
38372
  errorReason: z.ZodOptional<z.ZodLiteral<"subject_conversation_shared">>;
38373
+ connect: z.ZodOptional<z.ZodObject<{
38374
+ connection: z.ZodObject<{
38375
+ name: z.ZodString;
38376
+ title: z.ZodString;
38377
+ service: z.ZodOptional<z.ZodString>;
38378
+ catalogue: z.ZodOptional<z.ZodObject<{
38379
+ entry: z.ZodString;
38380
+ part: z.ZodString;
38381
+ }, z.core.$strip>>;
38382
+ }, z.core.$strip>;
38383
+ state: z.ZodEnum<{
38384
+ needs_reconnect: "needs_reconnect";
38385
+ not_connected: "not_connected";
38386
+ }>;
38387
+ agentName: z.ZodOptional<z.ZodString>;
38388
+ }, z.core.$strip>>;
36064
38389
  decision: z.ZodOptional<z.ZodObject<{
36065
38390
  operationRunId: z.ZodString;
36066
38391
  operationId: z.ZodString;
@@ -36071,6 +38396,7 @@ declare const startConversationRunResponseSchema: z.ZodObject<{
36071
38396
  targetTitle: z.ZodOptional<z.ZodString>;
36072
38397
  inputPreview: z.ZodUnknown;
36073
38398
  simulation: z.ZodOptional<z.ZodUnknown>;
38399
+ alwaysAllow: z.ZodOptional<z.ZodLiteral<true>>;
36074
38400
  expiresAt: z.ZodISODateTime;
36075
38401
  }, z.core.$strip>>;
36076
38402
  subagent: z.ZodOptional<z.ZodObject<{
@@ -36103,6 +38429,22 @@ declare const startConversationRunResponseSchema: z.ZodObject<{
36103
38429
  output: z.ZodOptional<z.ZodUnknown>;
36104
38430
  errorText: z.ZodOptional<z.ZodString>;
36105
38431
  errorReason: z.ZodOptional<z.ZodLiteral<"subject_conversation_shared">>;
38432
+ connect: z.ZodOptional<z.ZodObject<{
38433
+ connection: z.ZodObject<{
38434
+ name: z.ZodString;
38435
+ title: z.ZodString;
38436
+ service: z.ZodOptional<z.ZodString>;
38437
+ catalogue: z.ZodOptional<z.ZodObject<{
38438
+ entry: z.ZodString;
38439
+ part: z.ZodString;
38440
+ }, z.core.$strip>>;
38441
+ }, z.core.$strip>;
38442
+ state: z.ZodEnum<{
38443
+ needs_reconnect: "needs_reconnect";
38444
+ not_connected: "not_connected";
38445
+ }>;
38446
+ agentName: z.ZodOptional<z.ZodString>;
38447
+ }, z.core.$strip>>;
36106
38448
  decision: z.ZodOptional<z.ZodObject<{
36107
38449
  operationRunId: z.ZodString;
36108
38450
  operationId: z.ZodString;
@@ -36113,6 +38455,7 @@ declare const startConversationRunResponseSchema: z.ZodObject<{
36113
38455
  targetTitle: z.ZodOptional<z.ZodString>;
36114
38456
  inputPreview: z.ZodUnknown;
36115
38457
  simulation: z.ZodOptional<z.ZodUnknown>;
38458
+ alwaysAllow: z.ZodOptional<z.ZodLiteral<true>>;
36116
38459
  expiresAt: z.ZodISODateTime;
36117
38460
  }, z.core.$strip>>;
36118
38461
  subagent: z.ZodOptional<z.ZodObject<{
@@ -36212,6 +38555,7 @@ declare const createConversationRunRequestSchema: z.ZodObject<{
36212
38555
  kind: z.ZodString;
36213
38556
  name: z.ZodString;
36214
38557
  }, z.core.$strip>>;
38558
+ creationTarget: z.ZodOptional<z.ZodLiteral<"instance">>;
36215
38559
  }, z.core.$strip>>;
36216
38560
  }, z.core.$strip>;
36217
38561
  declare const runCommandSchema: z.ZodObject<{
@@ -36301,6 +38645,7 @@ declare const conversationListItemSchema: z.ZodObject<{
36301
38645
  kind: z.ZodString;
36302
38646
  name: z.ZodString;
36303
38647
  }, z.core.$strip>>;
38648
+ creationTarget: z.ZodOptional<z.ZodLiteral<"instance">>;
36304
38649
  latestMessageAt: z.ZodOptional<z.ZodISODateTime>;
36305
38650
  activeRun: z.ZodOptional<z.ZodObject<{
36306
38651
  id: z.ZodString;
@@ -36336,6 +38681,7 @@ declare const conversationUserStateSchema: z.ZodObject<{
36336
38681
  updatedAt: z.ZodISODateTime;
36337
38682
  }, z.core.$strip>;
36338
38683
  declare const conversationThreadSnapshotSchema: z.ZodObject<{
38684
+ personalData: z.ZodOptional<z.ZodBoolean>;
36339
38685
  followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
36340
38686
  id: z.ZodString;
36341
38687
  clientInstanceId: z.ZodString;
@@ -36389,6 +38735,7 @@ declare const conversationThreadSnapshotSchema: z.ZodObject<{
36389
38735
  kind: z.ZodString;
36390
38736
  name: z.ZodString;
36391
38737
  }, z.core.$strip>>;
38738
+ creationTarget: z.ZodOptional<z.ZodLiteral<"instance">>;
36392
38739
  }, z.core.$strip>;
36393
38740
  messages: z.ZodArray<z.ZodObject<{
36394
38741
  id: z.ZodString;
@@ -36577,6 +38924,22 @@ declare const conversationThreadSnapshotSchema: z.ZodObject<{
36577
38924
  output: z.ZodOptional<z.ZodUnknown>;
36578
38925
  errorText: z.ZodOptional<z.ZodString>;
36579
38926
  errorReason: z.ZodOptional<z.ZodLiteral<"subject_conversation_shared">>;
38927
+ connect: z.ZodOptional<z.ZodObject<{
38928
+ connection: z.ZodObject<{
38929
+ name: z.ZodString;
38930
+ title: z.ZodString;
38931
+ service: z.ZodOptional<z.ZodString>;
38932
+ catalogue: z.ZodOptional<z.ZodObject<{
38933
+ entry: z.ZodString;
38934
+ part: z.ZodString;
38935
+ }, z.core.$strip>>;
38936
+ }, z.core.$strip>;
38937
+ state: z.ZodEnum<{
38938
+ needs_reconnect: "needs_reconnect";
38939
+ not_connected: "not_connected";
38940
+ }>;
38941
+ agentName: z.ZodOptional<z.ZodString>;
38942
+ }, z.core.$strip>>;
36580
38943
  decision: z.ZodOptional<z.ZodObject<{
36581
38944
  operationRunId: z.ZodString;
36582
38945
  operationId: z.ZodString;
@@ -36587,6 +38950,7 @@ declare const conversationThreadSnapshotSchema: z.ZodObject<{
36587
38950
  targetTitle: z.ZodOptional<z.ZodString>;
36588
38951
  inputPreview: z.ZodUnknown;
36589
38952
  simulation: z.ZodOptional<z.ZodUnknown>;
38953
+ alwaysAllow: z.ZodOptional<z.ZodLiteral<true>>;
36590
38954
  expiresAt: z.ZodISODateTime;
36591
38955
  }, z.core.$strip>>;
36592
38956
  subagent: z.ZodOptional<z.ZodObject<{
@@ -36619,6 +38983,22 @@ declare const conversationThreadSnapshotSchema: z.ZodObject<{
36619
38983
  output: z.ZodOptional<z.ZodUnknown>;
36620
38984
  errorText: z.ZodOptional<z.ZodString>;
36621
38985
  errorReason: z.ZodOptional<z.ZodLiteral<"subject_conversation_shared">>;
38986
+ connect: z.ZodOptional<z.ZodObject<{
38987
+ connection: z.ZodObject<{
38988
+ name: z.ZodString;
38989
+ title: z.ZodString;
38990
+ service: z.ZodOptional<z.ZodString>;
38991
+ catalogue: z.ZodOptional<z.ZodObject<{
38992
+ entry: z.ZodString;
38993
+ part: z.ZodString;
38994
+ }, z.core.$strip>>;
38995
+ }, z.core.$strip>;
38996
+ state: z.ZodEnum<{
38997
+ needs_reconnect: "needs_reconnect";
38998
+ not_connected: "not_connected";
38999
+ }>;
39000
+ agentName: z.ZodOptional<z.ZodString>;
39001
+ }, z.core.$strip>>;
36622
39002
  decision: z.ZodOptional<z.ZodObject<{
36623
39003
  operationRunId: z.ZodString;
36624
39004
  operationId: z.ZodString;
@@ -36629,6 +39009,7 @@ declare const conversationThreadSnapshotSchema: z.ZodObject<{
36629
39009
  targetTitle: z.ZodOptional<z.ZodString>;
36630
39010
  inputPreview: z.ZodUnknown;
36631
39011
  simulation: z.ZodOptional<z.ZodUnknown>;
39012
+ alwaysAllow: z.ZodOptional<z.ZodLiteral<true>>;
36632
39013
  expiresAt: z.ZodISODateTime;
36633
39014
  }, z.core.$strip>>;
36634
39015
  subagent: z.ZodOptional<z.ZodObject<{
@@ -36731,6 +39112,22 @@ declare const conversationThreadSnapshotSchema: z.ZodObject<{
36731
39112
  output: z.ZodOptional<z.ZodUnknown>;
36732
39113
  errorText: z.ZodOptional<z.ZodString>;
36733
39114
  errorReason: z.ZodOptional<z.ZodLiteral<"subject_conversation_shared">>;
39115
+ connect: z.ZodOptional<z.ZodObject<{
39116
+ connection: z.ZodObject<{
39117
+ name: z.ZodString;
39118
+ title: z.ZodString;
39119
+ service: z.ZodOptional<z.ZodString>;
39120
+ catalogue: z.ZodOptional<z.ZodObject<{
39121
+ entry: z.ZodString;
39122
+ part: z.ZodString;
39123
+ }, z.core.$strip>>;
39124
+ }, z.core.$strip>;
39125
+ state: z.ZodEnum<{
39126
+ needs_reconnect: "needs_reconnect";
39127
+ not_connected: "not_connected";
39128
+ }>;
39129
+ agentName: z.ZodOptional<z.ZodString>;
39130
+ }, z.core.$strip>>;
36734
39131
  decision: z.ZodOptional<z.ZodObject<{
36735
39132
  operationRunId: z.ZodString;
36736
39133
  operationId: z.ZodString;
@@ -36741,6 +39138,7 @@ declare const conversationThreadSnapshotSchema: z.ZodObject<{
36741
39138
  targetTitle: z.ZodOptional<z.ZodString>;
36742
39139
  inputPreview: z.ZodUnknown;
36743
39140
  simulation: z.ZodOptional<z.ZodUnknown>;
39141
+ alwaysAllow: z.ZodOptional<z.ZodLiteral<true>>;
36744
39142
  expiresAt: z.ZodISODateTime;
36745
39143
  }, z.core.$strip>>;
36746
39144
  subagent: z.ZodOptional<z.ZodObject<{
@@ -36773,6 +39171,22 @@ declare const conversationThreadSnapshotSchema: z.ZodObject<{
36773
39171
  output: z.ZodOptional<z.ZodUnknown>;
36774
39172
  errorText: z.ZodOptional<z.ZodString>;
36775
39173
  errorReason: z.ZodOptional<z.ZodLiteral<"subject_conversation_shared">>;
39174
+ connect: z.ZodOptional<z.ZodObject<{
39175
+ connection: z.ZodObject<{
39176
+ name: z.ZodString;
39177
+ title: z.ZodString;
39178
+ service: z.ZodOptional<z.ZodString>;
39179
+ catalogue: z.ZodOptional<z.ZodObject<{
39180
+ entry: z.ZodString;
39181
+ part: z.ZodString;
39182
+ }, z.core.$strip>>;
39183
+ }, z.core.$strip>;
39184
+ state: z.ZodEnum<{
39185
+ needs_reconnect: "needs_reconnect";
39186
+ not_connected: "not_connected";
39187
+ }>;
39188
+ agentName: z.ZodOptional<z.ZodString>;
39189
+ }, z.core.$strip>>;
36776
39190
  decision: z.ZodOptional<z.ZodObject<{
36777
39191
  operationRunId: z.ZodString;
36778
39192
  operationId: z.ZodString;
@@ -36783,6 +39197,7 @@ declare const conversationThreadSnapshotSchema: z.ZodObject<{
36783
39197
  targetTitle: z.ZodOptional<z.ZodString>;
36784
39198
  inputPreview: z.ZodUnknown;
36785
39199
  simulation: z.ZodOptional<z.ZodUnknown>;
39200
+ alwaysAllow: z.ZodOptional<z.ZodLiteral<true>>;
36786
39201
  expiresAt: z.ZodISODateTime;
36787
39202
  }, z.core.$strip>>;
36788
39203
  subagent: z.ZodOptional<z.ZodObject<{
@@ -36942,6 +39357,16 @@ type ConversationThreadSnapshot = z.infer<typeof conversationThreadSnapshotSchem
36942
39357
  type CancelRunRequest = z.infer<typeof cancelRunRequestSchema>;
36943
39358
  type CancelRunResponse = z.infer<typeof cancelRunResponseSchema>;
36944
39359
 
39360
+ /**
39361
+ * What an audit event or activity is about, as its reader may read it (UXA-1b3): the kind, and
39362
+ * the asset's title or the person's, workspace's or role's name where the reader may read it.
39363
+ * Without `title` the interface says the kind alone; it never shows the subject's id.
39364
+ */
39365
+ declare const auditSubjectSchema: z.ZodObject<{
39366
+ kind: z.ZodString;
39367
+ title: z.ZodOptional<z.ZodString>;
39368
+ builtInRole: z.ZodOptional<z.ZodString>;
39369
+ }, z.core.$strip>;
36945
39370
  declare const auditEventSchema: z.ZodObject<{
36946
39371
  id: z.ZodString;
36947
39372
  clientInstanceId: z.ZodString;
@@ -36977,6 +39402,11 @@ declare const auditEventSchema: z.ZodObject<{
36977
39402
  correlationId: z.ZodString;
36978
39403
  createdAt: z.ZodISODateTime;
36979
39404
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
39405
+ about: z.ZodOptional<z.ZodObject<{
39406
+ kind: z.ZodString;
39407
+ title: z.ZodOptional<z.ZodString>;
39408
+ builtInRole: z.ZodOptional<z.ZodString>;
39409
+ }, z.core.$strip>>;
36980
39410
  }, z.core.$strip>;
36981
39411
  declare const auditActivityActorSchema: z.ZodObject<{
36982
39412
  kind: z.ZodEnum<{
@@ -36997,7 +39427,8 @@ declare const auditActivityTargetSchema: z.ZodObject<{
36997
39427
  declare const auditActivitySchema: z.ZodObject<{
36998
39428
  correlationId: z.ZodString;
36999
39429
  at: z.ZodISODateTime;
37000
- label: z.ZodString;
39430
+ type: z.ZodString;
39431
+ action: z.ZodOptional<z.ZodString>;
37001
39432
  tier: z.ZodEnum<{
37002
39433
  workflow: "workflow";
37003
39434
  governance: "governance";
@@ -37064,6 +39495,11 @@ declare const auditActivitySchema: z.ZodObject<{
37064
39495
  correlationId: z.ZodString;
37065
39496
  createdAt: z.ZodISODateTime;
37066
39497
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
39498
+ about: z.ZodOptional<z.ZodObject<{
39499
+ kind: z.ZodString;
39500
+ title: z.ZodOptional<z.ZodString>;
39501
+ builtInRole: z.ZodOptional<z.ZodString>;
39502
+ }, z.core.$strip>>;
37067
39503
  }, z.core.$strip>>;
37068
39504
  }, z.core.$strip>;
37069
39505
  declare const modelUsageVolumeEventSchema: z.ZodObject<{
@@ -37563,6 +39999,7 @@ type AuditEvent = z.infer<typeof auditEventSchema>;
37563
39999
  type AuditActivity = z.infer<typeof auditActivitySchema>;
37564
40000
  type AuditActivityActor = z.infer<typeof auditActivityActorSchema>;
37565
40001
  type AuditActivityTarget = z.infer<typeof auditActivityTargetSchema>;
40002
+ type AuditSubject = z.infer<typeof auditSubjectSchema>;
37566
40003
  type ModelUsageVolumeEvent = z.infer<typeof modelUsageVolumeEventSchema>;
37567
40004
  type ModelUsageBillableCost = z.infer<typeof modelUsageBillableCostSchema>;
37568
40005
  type ModelUsageBillableCostSummary = z.infer<typeof modelUsageBillableCostSummarySchema>;
@@ -38173,10 +40610,7 @@ declare const infrastructureProviderSchema: z.ZodObject<{
38173
40610
  operator: "operator";
38174
40611
  }>;
38175
40612
  external: z.ZodBoolean;
38176
- region: z.ZodOptional<z.ZodEnum<{
38177
- eu: "eu";
38178
- global: "global";
38179
- }>>;
40613
+ region: z.ZodOptional<z.ZodString>;
38180
40614
  endpointHost: z.ZodOptional<z.ZodString>;
38181
40615
  bucket: z.ZodOptional<z.ZodString>;
38182
40616
  withheld: z.ZodOptional<z.ZodArray<z.ZodEnum<{
@@ -38233,10 +40667,7 @@ declare const infrastructureSchema: z.ZodObject<{
38233
40667
  operator: "operator";
38234
40668
  }>;
38235
40669
  external: z.ZodBoolean;
38236
- region: z.ZodOptional<z.ZodEnum<{
38237
- eu: "eu";
38238
- global: "global";
38239
- }>>;
40670
+ region: z.ZodOptional<z.ZodString>;
38240
40671
  endpointHost: z.ZodOptional<z.ZodString>;
38241
40672
  bucket: z.ZodOptional<z.ZodString>;
38242
40673
  withheld: z.ZodOptional<z.ZodArray<z.ZodEnum<{
@@ -38332,6 +40763,68 @@ type JobStatus = z.infer<typeof jobStatusSchema>;
38332
40763
  type Job = z.infer<typeof jobSchema>;
38333
40764
  type JobKindSummary = z.infer<typeof jobKindSummarySchema>;
38334
40765
 
40766
+ declare const personPolicySettingSchema: z.ZodEnum<{
40767
+ always_allow: "always_allow";
40768
+ ask: "ask";
40769
+ never: "never";
40770
+ }>;
40771
+ /** One operation as You > Confirmations lists it, with the person's value where they set one. */
40772
+ declare const operationSettingSchema: z.ZodObject<{
40773
+ operation: z.ZodString;
40774
+ title: z.ZodOptional<z.ZodString>;
40775
+ effect: z.ZodEnum<{
40776
+ reading: "reading";
40777
+ changing: "changing";
40778
+ }>;
40779
+ changeClass: z.ZodOptional<z.ZodEnum<{
40780
+ reversible: "reversible";
40781
+ irreversible: "irreversible";
40782
+ outward: "outward";
40783
+ }>>;
40784
+ value: z.ZodOptional<z.ZodEnum<{
40785
+ always_allow: "always_allow";
40786
+ ask: "ask";
40787
+ never: "never";
40788
+ }>>;
40789
+ mayAlwaysAllow: z.ZodBoolean;
40790
+ alwaysAllowLocked: z.ZodOptional<z.ZodLiteral<true>>;
40791
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
40792
+ }, z.core.$strip>;
40793
+ /** The person's settings, and the operations their agents called lately, by name. */
40794
+ declare const operationSettingsSchema: z.ZodObject<{
40795
+ items: z.ZodArray<z.ZodObject<{
40796
+ operation: z.ZodString;
40797
+ title: z.ZodOptional<z.ZodString>;
40798
+ effect: z.ZodEnum<{
40799
+ reading: "reading";
40800
+ changing: "changing";
40801
+ }>;
40802
+ changeClass: z.ZodOptional<z.ZodEnum<{
40803
+ reversible: "reversible";
40804
+ irreversible: "irreversible";
40805
+ outward: "outward";
40806
+ }>>;
40807
+ value: z.ZodOptional<z.ZodEnum<{
40808
+ always_allow: "always_allow";
40809
+ ask: "ask";
40810
+ never: "never";
40811
+ }>>;
40812
+ mayAlwaysAllow: z.ZodBoolean;
40813
+ alwaysAllowLocked: z.ZodOptional<z.ZodLiteral<true>>;
40814
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
40815
+ }, z.core.$strip>>;
40816
+ }, z.core.$strip>;
40817
+ declare const setOperationSettingRequestSchema: z.ZodObject<{
40818
+ operation: z.ZodString;
40819
+ value: z.ZodNullable<z.ZodEnum<{
40820
+ always_allow: "always_allow";
40821
+ ask: "ask";
40822
+ never: "never";
40823
+ }>>;
40824
+ }, z.core.$strip>;
40825
+ type OperationSetting = z.infer<typeof operationSettingSchema>;
40826
+ type PersonPolicySettingValue = z.infer<typeof personPolicySettingSchema>;
40827
+
38335
40828
  /** Where a call goes or went (ADR-0031): the called asset, its test target, or nowhere. */
38336
40829
  declare const operationTargetSchema: z.ZodEnum<{
38337
40830
  live: "live";
@@ -38819,8 +41312,8 @@ declare const platformAssetKindSchema: z.ZodObject<{
38819
41312
  draft_published: "draft_published";
38820
41313
  }>;
38821
41314
  representation: z.ZodEnum<{
38822
- config: "config";
38823
41315
  files: "files";
41316
+ config: "config";
38824
41317
  }>;
38825
41318
  owners: z.ZodArray<z.ZodEnum<{
38826
41319
  instance: "instance";
@@ -38875,8 +41368,8 @@ declare const platformContextSchema: z.ZodObject<{
38875
41368
  draft_published: "draft_published";
38876
41369
  }>;
38877
41370
  representation: z.ZodEnum<{
38878
- config: "config";
38879
41371
  files: "files";
41372
+ config: "config";
38880
41373
  }>;
38881
41374
  owners: z.ZodArray<z.ZodEnum<{
38882
41375
  instance: "instance";
@@ -39129,4 +41622,4 @@ declare const scheduledStartRunSchema: z.ZodObject<{
39129
41622
  createdAt: z.ZodISODateTime;
39130
41623
  }, z.core.$strip>;
39131
41624
 
39132
- export { API_ERROR_MEANINGS, API_VERSION_PREFIX, APP_ASSET_KIND, APP_BRIDGE_CONNECTION_CALL_REMOVED, APP_BRIDGE_MARK, APP_BRIDGE_MAX_HEIGHT_PX, APP_BRIDGE_MAX_PATH_CHARS, APP_BRIDGE_NAME_MAX_CHARS, APP_BRIDGE_REQUEST_ID_MAX_CHARS, APP_BRIDGE_VERSION, ASSET_CHECK_VERBS, ASSET_GET_FILES_MAX_BYTES, ASSET_PUT_FILES_MAX_BYTES, ASSET_RELEASE_SYNC_MAX_ITEMS, ASSET_SYNC_BODY_MAX_BYTES, ASSET_SYNC_ITEM_MAX_BYTES, ASSET_SYNC_MAX_ITEMS, type AccessOrigin, type ActiveRunSummary, type AdministeredCollaborationWorkspace, type AdministeredUser, type AdministeredUserIdentity, type AgentAvailability, type AgentDraft, type AgentRun, type AgentRunProjection, type AgentRuntimeEvent, type AgentRuntimeMessageMetadata, type AgentToolReference, type ApiCredential, type ApiCredentialScope, type ApiErrorCode, type ApiErrorResponse, type ApiOperationCatalog, type ApiOperationName, type ApiReference, type ApiReferenceColors, type ApiReferenceOptions, type ApiReferencePageOptions, type ApiUser, type AppAction, type AppActionCallResult, type AppActionPermission, type AppActionUnavailable, type AppActions, type AppBridgeContext, type AppBridgeHostMessage, type AppBridgePageMessage, type AppFromPageResponse, type AppMode, type AppPreviewResponse, type AppSessionContextResponse, type AppWorkflowRun, type ApprovalRequest, type ApprovalRequestStatus, type ApprovalRequestView, type ArtifactPreviewResponse, type Asset, type AssetRevisionConflict, type AssetRightsCheck, type AssetScope, type AssetSummary, type AssetSyncItem, type AssetSyncRefusedItem, type AssistantFinalMessageMetadata, type AssistantToolCallsMessageMetadata, type AuditActivity, type AuditActivityActor, type AuditActivityTarget, type AuditActor, type AuditEvent, type AuthPrincipal, type AuthScope, BODY_TOO_LARGE_REASON, BUILD_LIMIT_LIST_MAX_ENTRIES, type BuildApiPathOptions, COMMON_OPERATION_ERRORS, CONNECTION_OPERATION_DESCRIPTION_MAX_CHARS, type CancelRunRequest, type CancelRunResponse, type CapturedMail, type ChangeCurrentUserPasswordRequest, type ChatSessionAuthScope, type ClientBranding, type CollaborationWorkspace, type CollaborationWorkspaceAgents, type CollaborationWorkspaceDeletionImpact, type CollaborationWorkspaceDirectoryItem, type CollaborationWorkspaceWithRole, type ConfigAssetKind, type ConfigAssetReferences, type ConfigAssetRevision, type ConfigAssetSummary, type ConfigAssetsOverview, type ConfirmConnectCodeRequest, type ConnectCode, type ConnectionDetail, type ConnectionDiscoveredTool, type ConnectionOAuthSignIn, type ConnectionOAuthStart, type ConnectionOperationDetail, type ConnectionPersonContext, type ConnectionSecretState, type ConnectionTestResult, type ConnectionTools, type ConnectorTypeOffers, type Conversation, type ConversationFollowUp, type ConversationListItem, type ConversationResourceBase, type ConversationResourceListItem, type ConversationResourceListResponse, type ConversationThreadSnapshot, type ConversationUserState, type ConversationVisibility, type CreateAdministeredUserRequest, type CreateApiCredentialRequest, type CreateApiCredentialResponse, type CreateConversationRunRequest, type CreatePermissionGrantRequest, type CreatePersonalApiKeyRequest, type CreatePersonalApiKeyResponse, type CreateServicePrincipalRequest, DEFAULT_LIST_LIMIT, type DelegatedActor, type DraftAttachment, type DraftAttachmentUploadResponse, type DryRunGuardrailResponse, type EffectivePermissions, FILE_SET_MAX_FILES, type FeedbackView, type FollowUpMode, GUARDRAIL_DRY_RUN_DAYS, GUARDRAIL_DRY_RUN_JUDGE_MAX, GUARDRAIL_DRY_RUN_PATTERN_MAX, GUARDRAIL_HITS_LIMIT, type GuardrailHitView, type GuardrailHits, type Health, type HolderRights, INFRASTRUCTURE_CHECK_ERROR_CLASSES, INVALID_JSON_BODY_REASON, type Infrastructure, type InfrastructureCheck, type InfrastructureClass, type InfrastructureOrigin, type InfrastructureProvider, type InfrastructureSecret, type InstanceModule, type Job, type JobKindSummary, type JobStatus, LIVE_ONCE_PART_MAX_LENGTH, type LocaleCode, MAX_LIST_LIMIT, type Message, type MessageMetadata, type ModelUsageBillableCost, type ModelUsageBillableCostSummary, type ModelUsageDailyBucket, type ModelUsageEvent, type ModelUsageMonthlyBucket, type ModelUsageVolumeEvent, OPERATION_HEADERS, type OpenApiDocument, type OpenApiJsonSchema, type OpenApiOperation, type OpenApiResponse, type OpenConversationSubjectRequest, type Operation, type OperationAuth, type OperationConfig, type OperationMethod, type OperationPathParamName, type OperationQuerySchema, type OperationRateClass, type OperationRequestHeader, type OperationResponse, type OperationResponseHeader, type OperationRunResource, type OwnFeedback, PUBLISHED_CLI_VERSION, type PageDetailResponse, type PageFileSetResponse, type PagePreviewResponse, type PageResponse, type PageSourceFileEntryResponse, type PageSourceFileListResponse, type PageSourceFileResponse, type PermissionGrantRow, type PersonalApiKey, type PlatformContext, type PlatformDocs, type PublishNarrative, REFUSAL_REASONS, RELEASE_VERSION, ROLE_GRANTS_MAX, type Readiness, type RedeemConnectCodeResponse, type RefusalReason, type ReleasedDocument, type RenameConversationRequest, type ResetAdministeredUserPasswordRequest, type Role, type RoleGrantInput, type RunCommand, type RunCommandRequest, type RunCommandResponse, type RunObservation, type SafeConfig, type SendFeedbackRequest, type ServicePrincipal, type ServicePrincipalDetail, type ServicePrincipalPermission, type ShippedGuardrailView, type StartConnectCodeResponse, type StartConversationRunRequest, type StartConversationRunResponse, type StartWorkflowRunRequest, type StructuredDataResourceResponse, type SubagentSummary, type TestGuardrailRequest, type TestGuardrailResponse, type ToolGroupName, type ToolResultMessageMetadata, UNKNOWN_OPERATION_REASON, type UpdateAdministeredUserRequest, type UpdateCurrentUserRequest, type UpdateFeedbackRequest, type UpdateServicePrincipalRequest, type UpdateWorkspaceBuildLimitsRequest, type UpsertAdministeredUserIdentityRequest, type UsageSummary, type UserDeletionState, type UserMessageMetadata, type UserModelPreference, VIEW_RUNTIME, VIEW_SHELL, VIEW_SHELL_MESSAGES, WORKFLOW_RUN_KEY_MAX_CHARS, WORKFLOW_RUN_OUTPUT_PREVIEW_MAX_CHARS, type WorkflowPrincipalRights, type WorkflowRunResource, type WorkflowStepRunResource, type WorkflowSummaryResource, type WorkspaceAccessRequestItem, type WorkspaceBuildLimits, type WorkspaceMember, type WorkspaceMemberCandidate, type WorkspaceMembershipRole, accessOriginRoleSchema, accessOriginSchema, activeRunSummarySchema, addWorkspaceMemberRequestSchema, administeredCollaborationWorkspaceSchema, administeredUserIdentitySchema, administeredUserPasswordSignInRequestSchema, administeredUserSchema, administeredUserStatusSchema, agentAvailabilitySchema, agentDraftResponseSchema, agentDraftSchema, agentDraftSummarySchema, agentEditableFieldSchema, agentRunErrorSchema, agentRunProjectionPartSchema, agentRunProjectionSchema, agentRunSchema, agentRunStatusSchema, agentRuntimeEventSchema, agentRuntimeMessageMetadataSchema, agentToolReferenceSchema, agentTryConversationResponseSchema, allowDraftHostRequestSchema, allowDraftHostResponseSchema, annotateFeedbackRequestSchema, apiCredentialSchema, apiCredentialScopeSchema, apiErrorResponseSchema, apiOperations, apiUserSchema, appActionCallRequestSchema, appActionCallResultSchema, appActionPermissionSchema, appActionSchema, appActionUnavailableSchema, appActionsListQuerySchema, appActionsSchema, appAudienceSchema, appBridgeContextSchema, appBridgeHostMessageSchema, appBridgeModeSchema, appBridgePageMessageSchema, appBridgeThemeSchema, appErrorCodeSchema, appFromPageQuerySchema, appFromPageSchema, appInterfacePath, appModeSchema, appPreviewRequestSchema, appPreviewSchema, appSessionContextRequestSchema, appSessionContextSchema, appSqlActionUnavailableSchema, appStorageMutationSchema, appStorageWriteRequestSchema, appStorageWriteResponseSchema, appWorkflowActionUnavailableSchema, appWorkflowRunSchema, approvalCheckResultSchema, approvalDecisionMessageMetadataSchema, approvalRequestSchema, approvalRequestStatusSchema, approvalRequestViewSchema, artifactPreviewFailedResponseSchema, artifactPreviewImagePageSchema, artifactPreviewPendingResponseSchema, artifactPreviewReadyResponseSchema, artifactPreviewResponseSchema, artifactPreviewUnsupportedResponseSchema, assetFileEntrySchema, assetFileInputSchema, assetFileSchema, assetPointersResponseSchema, assetPreconditionRequiredDetailsSchema, assetRevisionConflictDetailsSchema, assetRevisionConflictSchema, assetRevisionSelectorSchema, assetRightsCheckQuerySchema, assetRightsCheckSchema, assetSchema, assetScopeQuerySchema, assetScopeSchema, assetSummarySchema, assetSyncAppliedItemSchema, assetSyncItemSchema, assetSyncRefusedItemSchema, assetValidationIssueSchema, assetVerbSchema, assetWarningSchema, assetWriteResponseSchema, assistantFinalMessageMetadataSchema, assistantToolCallsMessageMetadataSchema, auditActivityActorSchema, auditActivitySchema, auditActivityTargetSchema, auditActorSchema, auditEventSchema, authPrincipalSchema, authScopeSchema, blob, buildApiPath, cancelRunRequestSchema, cancelRunResponseSchema, capturedMailSchema, changeCurrentUserPasswordRequestSchema, changeCurrentUserPasswordResponseSchema, chatSessionAuthScopeSchema, checkAssetNameRequestSchema, checkAssetNameResponseSchema, checkAssetSyncResponseSchema, clientBrandingSchema, collaborationWorkspaceAgentsSchema, collaborationWorkspaceDeletionImpactSchema, collaborationWorkspaceDeletionStateSchema, collaborationWorkspaceDirectoryItemSchema, collaborationWorkspaceSchema, collaborationWorkspaceWithRoleSchema, completePasswordSetupRequestSchema, completePasswordSetupResponseSchema, configAssetConfigSchema, configAssetKindSchema, configAssetReferencesSchema, configAssetRevisionSchema, configAssetSummarySchema, configAssetsOverviewSchema, confirmConnectCodeRequestSchema, connectCodeSchema, connectionDetailSchema, connectionDisconnectSchema, connectionNameParamsSchema, connectionOAuthSignInSchema, connectionOAuthStartSchema, connectionOperationDetailSchema, connectionOperationStatusSchema, connectionOperations, connectionPersonContextSchema, connectionSecretStateSchema, connectionTestResultSchema, connectionToolSchema, connectionToolsSchema, connectorTypeOffersSchema, conversationFollowUpSchema, conversationListItemSchema, conversationResourceBaseSchema, conversationResourceListItemSchema, conversationResourceListResponseSchema, conversationSchema, conversationSubjectSchema, conversationThreadSnapshotSchema, conversationUserStateSchema, conversationVisibilitySchema, createAdministeredUserRequestSchema, createApiCredentialRequestSchema, createApiCredentialResponseSchema, createAppFromPageRequestSchema, createAppFromPageResponseSchema, createCollaborationWorkspaceRequestSchema, createConversationRequestSchema, createConversationRunRequestSchema, createOpenApiDocument, createOpenApiDocumentFromOperations, createPermissionGrantRequestSchema, createPersonalApiKeyRequestSchema, createPersonalApiKeyResponseSchema, createRoleRequestSchema, createScheduledStartSchema, createServicePrincipalRequestSchema, decideApprovalRequestSchema, decideRolePendingActionRequestSchema, defineOperation, defineRegisteredOperation, delegatedActorSchema, deleteAssetRequestSchema, deleteCollaborationWorkspaceRequestSchema, deleteCurrentUserResponseSchema, dependencyAvailabilitySchema, describeApiReference, discardAgentDraftRequestSchema, discardAgentDraftResponseSchema, discardAssetDraftRequestSchema, draftAttachmentSchema, draftAttachmentStatusSchema, draftAttachmentUploadResponseSchema, draftHostsSchema, dryRunGuardrailRequestSchema, dryRunGuardrailResponseSchema, effectivePermissionsQuerySchema, effectivePermissionsSchema, exchangeApiKeyResponseSchema, feedbackSchema, findBreakingChanges, getAssetQuerySchema, grantEffectSchema, grantHolderKindSchema, grantScopeKindSchema, guardrailHitCountsSchema, guardrailHitSchema, guardrailHitsSchema, guardrailOperations, healthSchema, holderRightsSchema, infrastructureCheckSchema, infrastructureClassSchema, infrastructureOriginSchema, infrastructureProviderSchema, infrastructureSchema, infrastructureSecretSchema, instanceModuleSchema, isRegisteredOperation, isUnknownOperationResponse, issueSessionTokenRequestSchema, issueSessionTokenResponseSchema, jobKindSummarySchema, jobSchema, jobStatusListSchema, jobStatusSchema, json, listApprovalRequestsQuerySchema, listAssetsQuerySchema, listEnvelopeSchema, listFeedbackQuerySchema, listLiveOnceQuerySchema, listPermissionGrantsQuerySchema, listQuerySchema, listWorkflowRunsQuerySchema, listWorkflowStepRunsQuerySchema, listWorkspaceFilesQuerySchema, liveOnceListSchema, localeCodeSchema, localizationSchema, markFeedbackHandledRequestSchema, messageCitationSchema, messageMetadataSchema, messageMetadataVersionSchema, messageSchema, modelRegionSchema, modelUsageAttributionGroupSchema, modelUsageBillableCostSchema, modelUsageBillableCostSummarySchema, modelUsageDailyBucketSchema, modelUsageEventSchema, modelUsageMonthlyBucketSchema, modelUsageTierSchema, modelUsageVolumeEventSchema, modelUsageVolumeWindowSummarySchema, modelUsageWindowSummarySchema, moveConversationRequestSchema, notReadySchema, openApiDocumentSchema, openConversationSubjectRequestSchema, operationAreas, operationPathParamNames, operationRunOriginSchema, operationRunSchema, operationRunStatusSchema, operationTargetSchema, ownFeedbackSchema, page, pageDetailSchema, pageFileSetSchema, pagePreviewRequestSchema, pagePreviewSchema, pageSchema, pageSourceFileEntrySchema, pageSourceFileListSchema, pageSourceFileQuerySchema, pageSourceFileSchema, parseJobStatusList, pendingApprovalRequestCountSchema, permissionGrantSchema, personalApiKeySchema, personalApiKeyScopeSchema, platformAssetKindSchema, platformContextSchema, platformContextWorkspaceSchema, platformDocsQuerySchema, platformDocsSchema, probe, publishAssetRequestSchema, publishNarrativeSchema, putAssetRequestSchema, queuedConversationRunResponseSchema, rateLimitedDetailsSchema, readinessSchema, readySchema, reasoningEffortSchema, redeemConnectCodeRequestSchema, redeemConnectCodeResponseSchema, redirect, redirectAnswerSchema, renameConversationRequestSchema, renderApiReferencePage, requestPasswordResetRequestSchema, requestPasswordResetResponseSchema, resetAdministeredUserPasswordRequestSchema, resetAdministeredUserPasswordResponseSchema, revertAssetRequestSchema, roleGrantSchema, rolePendingActionSchema, roleSchema, runCommandRequestSchema, runCommandResponseSchema, runCommandSchema, runLiveOnceRequestSchema, runLiveOnceResponseSchema, runObservationSchema, safeConfigSchema, saveApprovalSchema, scheduledStartFieldsSchema, scheduledStartRunSchema, scheduledStartSchema, selectContractBaseline, sendAdministeredUserInvitationResponseSchema, sendFeedbackRequestSchema, servicePrincipalDetailSchema, servicePrincipalPermissionSchema, servicePrincipalSchema, servicePrincipalStatusSchema, sessionTokenDelegatedActorSchema, setAssetAvailabilityRequestSchema, setAssetDefaultRequestSchema, setAssetDefaultResponseSchema, shippedGuardrailSchema, shippedGuardrailsSchema, sse, startConnectCodeRequestSchema, startConnectCodeResponseSchema, startConversationRunRequestSchema, startConversationRunResponseSchema, startWorkflowRunRequestSchema, storedModelContextSnapshotSchema, storedReasoningSummarySchema, storedToolCallSchema, structuredDataResourceResponseSchema, subagentListSchema, subagentSummarySchema, switchShippedGuardrailRequestSchema, syncAssetsRequestSchema, syncAssetsResponseSchema, testGuardrailRequestSchema, testGuardrailResponseSchema, timestampSchema, toolDecisionModeSchema, toolGroupSchema, toolResultMessageMetadataSchema, unavailableModelSchema, unavailableSkillSchema, unavailableToolSchema, unknownRunObservationSchema, unpublishGuardrailResponseSchema, updateAdministeredUserRequestSchema, updateAppFromPageRequestSchema, updateCollaborationWorkspaceRequestSchema, updateCurrentUserRequestSchema, updateFeedbackRequestSchema, updateRoleRequestSchema, updateServicePrincipalRequestSchema, updateWorkspaceBuildLimitsRequestSchema, updateWorkspaceMemberRoleRequestSchema, upsertAdministeredUserIdentityRequestSchema, usageSafeguardsSchema, usageSpendBudgetSchema, usageSummarySchema, userDeletionStateSchema, userMessageMetadataSchema, userModelPreferenceSchema, userStatusSchema, validateAssetRequestSchema, validateAssetResponseSchema, webSourceSchema, workflowAccountRightsSchema, workflowNeededRightSchema, workflowOperations, workflowPrincipalRightsOperations, workflowPrincipalRightsSchema, workflowRunSchema, workflowStartIssueSchema, workflowStepFactSchema, workflowStepRunSchema, workflowStepTranscriptSchema, workflowSummarySchema, workspaceAccentColorSchema, workspaceAccessRequestItemSchema, workspaceAccessRequestSchema, workspaceBuildLimitsSchema, workspaceFileSchema, workspaceMemberCandidateSchema, workspaceMemberSchema, workspaceMembershipRoleSchema, workspaceMembershipSchema, workspaceVisibilitySchema };
41625
+ export { API_ERROR_MEANINGS, API_VERSION_PREFIX, APP_ASSET_KIND, APP_BRIDGE_CONNECTION_CALL_REMOVED, APP_BRIDGE_MARK, APP_BRIDGE_MAX_HEIGHT_PX, APP_BRIDGE_MAX_PATH_CHARS, APP_BRIDGE_NAME_MAX_CHARS, APP_BRIDGE_REQUEST_ID_MAX_CHARS, APP_BRIDGE_VERSION, APP_PUBLISH_WORKFLOWS_MAX, ASSET_CHECK_VERBS, ASSET_GET_FILES_MAX_BYTES, ASSET_PUT_FILES_MAX_BYTES, ASSET_RELEASE_SYNC_MAX_ITEMS, ASSET_SYNC_BODY_MAX_BYTES, ASSET_SYNC_ITEM_MAX_BYTES, ASSET_SYNC_MAX_ITEMS, type AccessOrigin, type ActiveRunSummary, type AdministeredCollaborationWorkspace, type AdministeredUser, type AdministeredUserIdentity, type AgentAvailability, type AgentDraft, type AgentRun, type AgentRunProjection, type AgentRuntimeEvent, type AgentRuntimeMessageMetadata, type AgentToolReference, type AgentUse, type ApiCredential, type ApiCredentialScope, type ApiErrorCode, type ApiErrorResponse, type ApiOperationCatalog, type ApiOperationName, type ApiReference, type ApiReferenceColors, type ApiReferenceOptions, type ApiReferencePageOptions, type ApiUser, type AppAction, type AppActionCallResult, type AppActionPermission, type AppActionUnavailable, type AppActions, type AppBridgeContext, type AppBridgeHostMessage, type AppBridgePageMessage, type AppFromPageResponse, type AppMode, type AppPreviewResponse, type AppPublishReview, type AppSessionContextResponse, type AppTryActionResult, type AppWorkflowRun, type ApprovalRequest, type ApprovalRequestStatus, type ApprovalRequestView, type ArtifactPreviewResponse, type Asset, type AssetRevisionConflict, type AssetRightsCheck, type AssetScope, type AssetSummary, type AssetSyncItem, type AssetSyncRefusedItem, type AssistantFinalMessageMetadata, type AssistantToolCallsMessageMetadata, type AuditActivity, type AuditActivityActor, type AuditActivityTarget, type AuditActor, type AuditEvent, type AuditSubject, type AuthPrincipal, type AuthScope, BODY_TOO_LARGE_REASON, BUILD_LIMIT_LIST_MAX_ENTRIES, type BuildApiPathOptions, COMMON_OPERATION_ERRORS, CONNECTION_OPERATION_DESCRIPTION_MAX_CHARS, type CancelRunRequest, type CancelRunResponse, type CapturedMail, type ChangeCurrentUserPasswordRequest, type ChatSessionAuthScope, type ClientBranding, type CollaborationWorkspace, type CollaborationWorkspaceAgents, type CollaborationWorkspaceDeletionImpact, type CollaborationWorkspaceDirectoryItem, type CollaborationWorkspaceWithRole, type ConfigAssetKind, type ConfigAssetReferences, type ConfigAssetRevision, type ConfigAssetSummary, type ConfigAssetsOverview, type ConfirmConnectCodeRequest, type ConnectCode, type ConnectionDetail, type ConnectionDiscoveredTool, type ConnectionOAuthSignIn, type ConnectionOAuthStart, type ConnectionOperationDetail, type ConnectionPeople, type ConnectionPersonContext, type ConnectionSecretState, type ConnectionTestResult, type ConnectionTools, type ConnectorTypeOffers, type Conversation, type ConversationFollowUp, type ConversationListItem, type ConversationResourceBase, type ConversationResourceListItem, type ConversationResourceListResponse, type ConversationThreadSnapshot, type ConversationUserState, type ConversationVisibility, type CreateAdministeredUserRequest, type CreateApiCredentialRequest, type CreateApiCredentialResponse, type CreateConversationRunRequest, type CreatePermissionGrantRequest, type CreatePersonalApiKeyRequest, type CreatePersonalApiKeyResponse, type CreateServicePrincipalRequest, DEFAULT_LIST_LIMIT, type DelegatedActor, type DraftAttachment, type DraftAttachmentUploadResponse, type DryRunGuardrailResponse, type EffectivePermissions, FILE_SET_MAX_FILES, type FeedbackView, type FollowUpMode, GUARDRAIL_DRY_RUN_DAYS, GUARDRAIL_DRY_RUN_JUDGE_MAX, GUARDRAIL_DRY_RUN_PATTERN_MAX, GUARDRAIL_HITS_LIMIT, type GuardrailHitView, type GuardrailHits, type Health, type HolderRights, INFRASTRUCTURE_CHECK_ERROR_CLASSES, INVALID_JSON_BODY_REASON, type Infrastructure, type InfrastructureCheck, type InfrastructureClass, type InfrastructureOrigin, type InfrastructureProvider, type InfrastructureSecret, type InstanceModule, type Job, type JobKindSummary, type JobStatus, LIVE_ONCE_PART_MAX_LENGTH, type LocaleCode, MAX_LIST_LIMIT, type Message, type MessageMetadata, type ModelUsageBillableCost, type ModelUsageBillableCostSummary, type ModelUsageDailyBucket, type ModelUsageEvent, type ModelUsageMonthlyBucket, type ModelUsageVolumeEvent, OPERATION_HEADERS, type OpenApiDocument, type OpenApiJsonSchema, type OpenApiOperation, type OpenApiResponse, type OpenConversationSubjectRequest, type Operation, type OperationAuth, type OperationConfig, type OperationMethod, type OperationPathParamName, type OperationQuerySchema, type OperationRateClass, type OperationRequestHeader, type OperationResponse, type OperationResponseHeader, type OperationRunResource, type OperationSetting, type OwnFeedback, PUBLISHED_CLI_VERSION, type PageDetailResponse, type PageFileSetResponse, type PagePreviewResponse, type PageResponse, type PageSourceFileEntryResponse, type PageSourceFileListResponse, type PageSourceFileResponse, type PermissionGrantRow, type PersonPolicySettingValue, type PersonalApiKey, type PersonalConnections, type PlatformContext, type PlatformDocs, type PublishNarrative, REFUSAL_REASONS, RELEASE_VERSION, ROLE_GRANTS_MAX, type Readiness, type RedeemConnectCodeResponse, type RefusalReason, type ReleasedDocument, type RenameConversationRequest, type ResetAdministeredUserPasswordRequest, type Role, type RoleGrantInput, type RunCommand, type RunCommandRequest, type RunCommandResponse, type RunObservation, type SafeConfig, type ScopeAssignmentsOverview, type SendFeedbackRequest, type ServicePrincipal, type ServicePrincipalDetail, type ServicePrincipalPermission, type ShippedGuardrailView, type StartConnectCodeResponse, type StartConversationRunRequest, type StartConversationRunResponse, type StartWorkflowRunRequest, type StructuredDataResourceResponse, type SubagentSummary, type TestGuardrailRequest, type TestGuardrailResponse, type ToolGroupName, type ToolResultMessageMetadata, UNKNOWN_OPERATION_REASON, type UpdateAdministeredUserRequest, type UpdateCurrentUserRequest, type UpdateFeedbackRequest, type UpdateServicePrincipalRequest, type UpdateWorkspaceBuildLimitsRequest, type UpsertAdministeredUserIdentityRequest, type UsageSummary, type UserDeletionState, type UserMessageMetadata, type UserModelPreference, VIEW_RUNTIME, VIEW_SHELL, VIEW_SHELL_MESSAGES, WORKFLOW_RUN_KEY_MAX_CHARS, WORKFLOW_RUN_OUTPUT_PREVIEW_MAX_CHARS, type WorkflowPrincipalRights, type WorkflowRunResource, type WorkflowStepRunResource, type WorkflowSummaryResource, type WorkspaceAccessRequestItem, type WorkspaceBuildLimits, type WorkspaceMember, type WorkspaceMemberCandidate, type WorkspaceMembershipRole, accessOriginRoleSchema, accessOriginSchema, activeRunSummarySchema, addWorkspaceMemberRequestSchema, administeredCollaborationWorkspaceSchema, administeredUserIdentitySchema, administeredUserPasswordSignInRequestSchema, administeredUserSchema, administeredUserStatusSchema, agentAvailabilitySchema, agentDraftResponseSchema, agentDraftSchema, agentDraftSummarySchema, agentEditableFieldSchema, agentRunErrorSchema, agentRunProjectionPartSchema, agentRunProjectionSchema, agentRunSchema, agentRunStatusSchema, agentRuntimeEventSchema, agentRuntimeMessageMetadataSchema, agentToolReferenceSchema, agentTryConversationResponseSchema, agentUseSchema, allowDraftHostRequestSchema, allowDraftHostResponseSchema, annotateFeedbackRequestSchema, apiCredentialSchema, apiCredentialScopeSchema, apiErrorResponseSchema, apiOperations, apiUserSchema, appActionCallRequestSchema, appActionCallResultSchema, appActionPermissionSchema, appActionSchema, appActionUnavailableSchema, appActionsListQuerySchema, appActionsSchema, appAudienceSchema, appBridgeContextSchema, appBridgeHostMessageSchema, appBridgeModeSchema, appBridgePageMessageSchema, appBridgeThemeSchema, appErrorCodeSchema, appFromPageQuerySchema, appFromPageSchema, appInterfacePath, appModeSchema, appPreviewRequestSchema, appPreviewSchema, appPublishRefusalSchema, appPublishReviewSchema, appSessionContextRequestSchema, appSessionContextSchema, appSqlActionUnavailableSchema, appStorageMutationSchema, appStorageWriteRequestSchema, appStorageWriteResponseSchema, appTryActionRequestSchema, appTryActionResultSchema, appWorkflowActionUnavailableSchema, appWorkflowRunSchema, approvalCheckResultSchema, approvalDecisionMessageMetadataSchema, approvalRequestSchema, approvalRequestStatusSchema, approvalRequestViewSchema, artifactPreviewFailedResponseSchema, artifactPreviewImagePageSchema, artifactPreviewPendingResponseSchema, artifactPreviewReadyResponseSchema, artifactPreviewResponseSchema, artifactPreviewUnsupportedResponseSchema, assetFileEntrySchema, assetFileInputSchema, assetFileSchema, assetPointersResponseSchema, assetPreconditionRequiredDetailsSchema, assetRevisionConflictDetailsSchema, assetRevisionConflictSchema, assetRevisionSelectorSchema, assetRightsCheckQuerySchema, assetRightsCheckSchema, assetSchema, assetScopeQuerySchema, assetScopeSchema, assetSummarySchema, assetSyncAppliedItemSchema, assetSyncItemSchema, assetSyncRefusedItemSchema, assetValidationIssueSchema, assetVerbSchema, assetWarningSchema, assetWriteResponseSchema, assistantFinalMessageMetadataSchema, assistantToolCallsMessageMetadataSchema, auditActivityActorSchema, auditActivitySchema, auditActivityTargetSchema, auditActorSchema, auditEventSchema, auditSubjectSchema, authPrincipalSchema, authScopeSchema, blob, buildApiPath, cancelRunRequestSchema, cancelRunResponseSchema, capturedMailSchema, changeCurrentUserPasswordRequestSchema, changeCurrentUserPasswordResponseSchema, chatSessionAuthScopeSchema, checkAssetNameRequestSchema, checkAssetNameResponseSchema, checkAssetSyncResponseSchema, clientBrandingSchema, collaborationWorkspaceAgentsSchema, collaborationWorkspaceDeletionImpactSchema, collaborationWorkspaceDeletionStateSchema, collaborationWorkspaceDirectoryItemSchema, collaborationWorkspaceSchema, collaborationWorkspaceWithRoleSchema, completePasswordSetupRequestSchema, completePasswordSetupResponseSchema, configAssetConfigSchema, configAssetKindSchema, configAssetReferencesSchema, configAssetRevisionSchema, configAssetSummarySchema, configAssetsOverviewSchema, confirmConnectCodeRequestSchema, connectCodeSchema, connectionDetailSchema, connectionDisconnectSchema, connectionNameParamsSchema, connectionOAuthSignInSchema, connectionOAuthStartSchema, connectionOperationDetailSchema, connectionOperationStatusSchema, connectionOperations, connectionPeopleSchema, connectionPersonContextSchema, connectionSecretStateSchema, connectionTestResultSchema, connectionToolSchema, connectionToolsSchema, connectorTypeOffersSchema, conversationCreationTargetSchema, conversationFollowUpSchema, conversationListItemSchema, conversationResourceBaseSchema, conversationResourceListItemSchema, conversationResourceListResponseSchema, conversationSchema, conversationSubjectSchema, conversationThreadSnapshotSchema, conversationUserStateSchema, conversationVisibilitySchema, createAdministeredUserRequestSchema, createApiCredentialRequestSchema, createApiCredentialResponseSchema, createAppFromPageRequestSchema, createAppFromPageResponseSchema, createCollaborationWorkspaceRequestSchema, createConversationRequestSchema, createConversationRunRequestSchema, createOpenApiDocument, createOpenApiDocumentFromOperations, createPermissionGrantRequestSchema, createPersonalApiKeyRequestSchema, createPersonalApiKeyResponseSchema, createRoleRequestSchema, createScheduledStartSchema, createServicePrincipalRequestSchema, decideApprovalRequestSchema, decideRolePendingActionRequestSchema, defineOperation, defineRegisteredOperation, delegatedActorSchema, deleteAssetRequestSchema, deleteCollaborationWorkspaceRequestSchema, deleteCurrentUserResponseSchema, dependencyAvailabilitySchema, describeApiReference, discardAgentDraftRequestSchema, discardAgentDraftResponseSchema, discardAssetDraftRequestSchema, draftAttachmentSchema, draftAttachmentStatusSchema, draftAttachmentUploadResponseSchema, draftHostsSchema, dryRunGuardrailRequestSchema, dryRunGuardrailResponseSchema, effectivePermissionsQuerySchema, effectivePermissionsSchema, exchangeApiKeyResponseSchema, feedbackSchema, findBreakingChanges, getAssetQuerySchema, grantEffectSchema, grantHolderKindSchema, grantScopeKindSchema, guardrailHitCountsSchema, guardrailHitSchema, guardrailHitsSchema, guardrailOperations, healthSchema, holderRightsSchema, infrastructureCheckSchema, infrastructureClassSchema, infrastructureOriginSchema, infrastructureProviderSchema, infrastructureSchema, infrastructureSecretSchema, instanceModuleSchema, isRegisteredOperation, isUnknownOperationResponse, issueSessionTokenRequestSchema, issueSessionTokenResponseSchema, jobKindSummarySchema, jobSchema, jobStatusListSchema, jobStatusSchema, json, listApprovalRequestsQuerySchema, listAssetsQuerySchema, listEnvelopeSchema, listFeedbackQuerySchema, listLiveOnceQuerySchema, listPermissionGrantsQuerySchema, listQuerySchema, listWorkflowRunsQuerySchema, listWorkflowStepRunsQuerySchema, listWorkspaceFilesQuerySchema, liveOnceListSchema, localeCodeSchema, localizationSchema, markFeedbackHandledRequestSchema, messageCitationSchema, messageMetadataSchema, messageMetadataVersionSchema, messageSchema, modelRegionSchema, modelUsageAttributionGroupSchema, modelUsageBillableCostSchema, modelUsageBillableCostSummarySchema, modelUsageDailyBucketSchema, modelUsageEventSchema, modelUsageMonthlyBucketSchema, modelUsageTierSchema, modelUsageVolumeEventSchema, modelUsageVolumeWindowSummarySchema, modelUsageWindowSummarySchema, moveConversationRequestSchema, notReadySchema, openApiDocumentSchema, openConversationSubjectRequestSchema, operationAreas, operationPathParamNames, operationRunOriginSchema, operationRunSchema, operationRunStatusSchema, operationSettingSchema, operationSettingsSchema, operationTargetSchema, ownFeedbackSchema, page, pageDetailSchema, pageFileSetSchema, pagePreviewRequestSchema, pagePreviewSchema, pageSchema, pageSourceFileEntrySchema, pageSourceFileListSchema, pageSourceFileQuerySchema, pageSourceFileSchema, parseJobStatusList, pendingApprovalRequestCountSchema, permissionGrantSchema, personPolicySettingSchema, personalApiKeySchema, personalApiKeyScopeSchema, personalConnectionsSchema, platformAssetKindSchema, platformContextSchema, platformContextWorkspaceSchema, platformDocsQuerySchema, platformDocsSchema, probe, publishAssetRequestSchema, publishNarrativeSchema, putAssetRequestSchema, queuedConversationRunResponseSchema, rateLimitedDetailsSchema, readinessSchema, readySchema, reasoningEffortSchema, redeemConnectCodeRequestSchema, redeemConnectCodeResponseSchema, redirect, redirectAnswerSchema, renameConversationRequestSchema, renderApiReferencePage, requestPasswordResetRequestSchema, requestPasswordResetResponseSchema, resetAdministeredUserPasswordRequestSchema, resetAdministeredUserPasswordResponseSchema, revertAssetRequestSchema, roleGrantSchema, rolePendingActionSchema, roleSchema, runCommandRequestSchema, runCommandResponseSchema, runCommandSchema, runLiveOnceRequestSchema, runLiveOnceResponseSchema, runObservationSchema, safeConfigSchema, saveApprovalSchema, scheduledStartFieldsSchema, scheduledStartRunSchema, scheduledStartSchema, scopeAssignmentsOverviewSchema, selectContractBaseline, sendAdministeredUserInvitationResponseSchema, sendFeedbackRequestSchema, servicePrincipalDetailSchema, servicePrincipalPermissionSchema, servicePrincipalSchema, servicePrincipalStatusSchema, sessionTokenDelegatedActorSchema, setAgentUseRequestSchema, setAgentUseResponseSchema, setAssetAvailabilityRequestSchema, setAssetDefaultRequestSchema, setAssetDefaultResponseSchema, setOperationSettingRequestSchema, shippedGuardrailSchema, shippedGuardrailsSchema, sse, startConnectCodeRequestSchema, startConnectCodeResponseSchema, startConversationRunRequestSchema, startConversationRunResponseSchema, startWorkflowRunRequestSchema, storedModelContextSnapshotSchema, storedReasoningSummarySchema, storedToolCallSchema, structuredDataResourceResponseSchema, subagentListSchema, subagentSummarySchema, switchShippedGuardrailRequestSchema, syncAssetsRequestSchema, syncAssetsResponseSchema, testGuardrailRequestSchema, testGuardrailResponseSchema, timestampSchema, toolDecisionModeSchema, toolGroupSchema, toolResultMessageMetadataSchema, unavailableModelSchema, unavailableSkillSchema, unavailableToolSchema, unknownRunObservationSchema, unpublishGuardrailResponseSchema, updateAdministeredUserRequestSchema, updateAppFromPageRequestSchema, updateCollaborationWorkspaceRequestSchema, updateCurrentUserRequestSchema, updateFeedbackRequestSchema, updateRoleRequestSchema, updateServicePrincipalRequestSchema, updateWorkspaceBuildLimitsRequestSchema, updateWorkspaceMemberRoleRequestSchema, upsertAdministeredUserIdentityRequestSchema, usageSafeguardsSchema, usageSpendBudgetSchema, usageSummarySchema, userDeletionStateSchema, userMessageMetadataSchema, userModelPreferenceSchema, userStatusSchema, validateAssetRequestSchema, validateAssetResponseSchema, webSourceSchema, workflowAccountRightsSchema, workflowNeededRightSchema, workflowOperations, workflowPrincipalRightsOperations, workflowPrincipalRightsSchema, workflowRunSchema, workflowStartIssueSchema, workflowStepFactSchema, workflowStepRunSchema, workflowStepTranscriptSchema, workflowSummarySchema, workspaceAccentColorSchema, workspaceAccessRequestItemSchema, workspaceAccessRequestSchema, workspaceBuildLimitsSchema, workspaceFileSchema, workspaceMemberCandidateSchema, workspaceMemberSchema, workspaceMembershipRoleSchema, workspaceMembershipSchema, workspaceVisibilitySchema };