@work-shape/catalyst-api-contract 0.8.0-rc.6 → 0.8.0-rc.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as zod from 'zod';
2
2
  import { z } from 'zod';
3
- import { OperationScope, PlatformAction, OperationEffect } from '@work-shape/catalyst-asset-schemas';
3
+ import { OperationScope, PlatformAction, OperationEffect, FOLLOW_UP_MODES } from '@work-shape/catalyst-asset-schemas';
4
4
  export { MAIL_SEND_ERROR_CODES, MAIL_SEND_OPERATION, WORKFLOW_STEP_SOURCE_KINDS, knowledgeFieldValueSchema, knowledgeWriteContracts, mailSendContract, mailSendInputSchema, mailSendOutputSchema, mailSendRefusalDetailsSchema, mailSendSimulatedOutputSchema, workflowMailSenderFactSchema } from '@work-shape/catalyst-asset-schemas';
5
5
  import * as zod_v4_core from 'zod/v4/core';
6
6
 
@@ -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;
@@ -1124,11 +1142,23 @@ declare const connectionDetailSchema: z.ZodObject<{
1124
1142
  * kept nowhere. `providerHost` is the host the browser goes to and `scopes` what is asked for.
1125
1143
  */
1126
1144
  declare const connectionOAuthStartSchema: z.ZodObject<{
1145
+ signInId: z.ZodString;
1127
1146
  authorizationUrl: z.ZodString;
1128
1147
  providerHost: z.ZodString;
1129
1148
  scopes: z.ZodArray<z.ZodString>;
1130
1149
  expiresAt: z.ZodISODateTime;
1131
1150
  }, z.core.$strip>;
1151
+ /**
1152
+ * Whether a sign-in the caller started still waits for its callback. `ended` once a browser
1153
+ * came back with it, whatever the outcome, once it expired, and for a sign-in of someone else:
1154
+ * a sign-in that ended without connecting cannot be completed any more.
1155
+ */
1156
+ declare const connectionOAuthSignInSchema: z.ZodObject<{
1157
+ state: z.ZodEnum<{
1158
+ waiting: "waiting";
1159
+ ended: "ended";
1160
+ }>;
1161
+ }, z.core.$strip>;
1132
1162
  /**
1133
1163
  * What Disconnect answers: the sign-in ended on the instance, and what the provider said to
1134
1164
  * the revocation of its grant.
@@ -1178,6 +1208,127 @@ declare const connectionToolsSchema: z.ZodObject<{
1178
1208
  }, z.core.$strip>>;
1179
1209
  }, z.core.$strip>>;
1180
1210
  }, z.core.$strip>;
1211
+ /**
1212
+ * The Connector types the New connection dialog offers beside an MCP server and a REST API,
1213
+ * each with its card and its form. A field fills a setting by its dotted path, or the secret.
1214
+ * `documentSource` says that a Knowledge Base can sync documents through such a Connection.
1215
+ */
1216
+ declare const connectorTypeOffersSchema: z.ZodObject<{
1217
+ types: z.ZodArray<z.ZodObject<{
1218
+ type: z.ZodString;
1219
+ title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1220
+ en: z.ZodOptional<z.ZodString>;
1221
+ de: z.ZodOptional<z.ZodString>;
1222
+ }, z.core.$strict>]>;
1223
+ description: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1224
+ en: z.ZodOptional<z.ZodString>;
1225
+ de: z.ZodOptional<z.ZodString>;
1226
+ }, z.core.$strict>]>;
1227
+ service: z.ZodOptional<z.ZodString>;
1228
+ documentSource: z.ZodBoolean;
1229
+ authScheme: z.ZodString;
1230
+ settings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1231
+ fields: z.ZodArray<z.ZodObject<{
1232
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1233
+ en: z.ZodOptional<z.ZodString>;
1234
+ de: z.ZodOptional<z.ZodString>;
1235
+ }, z.core.$strict>]>;
1236
+ help: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1237
+ en: z.ZodOptional<z.ZodString>;
1238
+ de: z.ZodOptional<z.ZodString>;
1239
+ }, z.core.$strict>]>>;
1240
+ optional: z.ZodBoolean;
1241
+ setting: z.ZodOptional<z.ZodString>;
1242
+ secret: z.ZodBoolean;
1243
+ }, z.core.$strip>>;
1244
+ }, z.core.$strip>>;
1245
+ entries: z.ZodDefault<z.ZodArray<z.ZodObject<{
1246
+ id: z.ZodString;
1247
+ version: z.ZodNumber;
1248
+ service: z.ZodString;
1249
+ title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1250
+ en: z.ZodOptional<z.ZodString>;
1251
+ de: z.ZodOptional<z.ZodString>;
1252
+ }, z.core.$strict>]>;
1253
+ description: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1254
+ en: z.ZodOptional<z.ZodString>;
1255
+ de: z.ZodOptional<z.ZodString>;
1256
+ }, z.core.$strict>]>;
1257
+ category: z.ZodEnum<{
1258
+ mail: "mail";
1259
+ files: "files";
1260
+ accounting: "accounting";
1261
+ databases: "databases";
1262
+ other: "other";
1263
+ }>;
1264
+ examplePrompts: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1265
+ en: z.ZodOptional<z.ZodString>;
1266
+ de: z.ZodOptional<z.ZodString>;
1267
+ }, z.core.$strict>]>>;
1268
+ mark: z.ZodObject<{
1269
+ color: z.ZodOptional<z.ZodString>;
1270
+ logo: z.ZodOptional<z.ZodString>;
1271
+ }, z.core.$strip>;
1272
+ offered: z.ZodBoolean;
1273
+ parts: z.ZodArray<z.ZodObject<{
1274
+ part: z.ZodEnum<{
1275
+ tools: "tools";
1276
+ source: "source";
1277
+ }>;
1278
+ connectorType: z.ZodString;
1279
+ name: z.ZodString;
1280
+ title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1281
+ en: z.ZodOptional<z.ZodString>;
1282
+ de: z.ZodOptional<z.ZodString>;
1283
+ }, z.core.$strict>]>>;
1284
+ description: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1285
+ en: z.ZodOptional<z.ZodString>;
1286
+ de: z.ZodOptional<z.ZodString>;
1287
+ }, z.core.$strict>]>;
1288
+ authScheme: z.ZodString;
1289
+ settings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1290
+ fields: z.ZodArray<z.ZodObject<{
1291
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1292
+ en: z.ZodOptional<z.ZodString>;
1293
+ de: z.ZodOptional<z.ZodString>;
1294
+ }, z.core.$strict>]>;
1295
+ help: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1296
+ en: z.ZodOptional<z.ZodString>;
1297
+ de: z.ZodOptional<z.ZodString>;
1298
+ }, z.core.$strict>]>>;
1299
+ optional: z.ZodBoolean;
1300
+ setting: z.ZodOptional<z.ZodString>;
1301
+ secret: z.ZodBoolean;
1302
+ default: z.ZodOptional<z.ZodString>;
1303
+ }, z.core.$strip>>;
1304
+ prerequisites: z.ZodArray<z.ZodObject<{
1305
+ text: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1306
+ en: z.ZodOptional<z.ZodString>;
1307
+ de: z.ZodOptional<z.ZodString>;
1308
+ }, z.core.$strict>]>;
1309
+ value: z.ZodOptional<z.ZodString>;
1310
+ }, z.core.$strip>>;
1311
+ hosts: z.ZodArray<z.ZodString>;
1312
+ operations: z.ZodArray<z.ZodObject<{
1313
+ name: z.ZodString;
1314
+ title: z.ZodOptional<z.ZodString>;
1315
+ description: z.ZodOptional<z.ZodString>;
1316
+ effect: z.ZodEnum<{
1317
+ reading: "reading";
1318
+ changing: "changing";
1319
+ }>;
1320
+ recommended: z.ZodBoolean;
1321
+ declaration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1322
+ }, z.core.$strip>>;
1323
+ sharedAccountNote: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1324
+ en: z.ZodOptional<z.ZodString>;
1325
+ de: z.ZodOptional<z.ZodString>;
1326
+ }, z.core.$strict>]>;
1327
+ documentSource: z.ZodBoolean;
1328
+ }, z.core.$strip>>;
1329
+ }, z.core.$strip>>>;
1330
+ }, z.core.$strip>;
1331
+ type ConnectorTypeOffers = z.infer<typeof connectorTypeOffersSchema>;
1181
1332
  declare const connectionPersonContextSchema: z.ZodObject<{
1182
1333
  subjectKind: z.ZodEnum<{
1183
1334
  user: "user";
@@ -1195,6 +1346,7 @@ type ConnectionOperationDetail = z.infer<typeof connectionOperationDetailSchema>
1195
1346
  type ConnectionTestResult = z.infer<typeof connectionTestResultSchema>;
1196
1347
  type ConnectionTools = z.infer<typeof connectionToolsSchema>;
1197
1348
  type ConnectionOAuthStart = z.infer<typeof connectionOAuthStartSchema>;
1349
+ type ConnectionOAuthSignIn = z.infer<typeof connectionOAuthSignInSchema>;
1198
1350
  /** The one field these operations take: the Connection's name, from the path. */
1199
1351
  declare const connectionNameParamsSchema: z.ZodObject<{
1200
1352
  name: z.ZodString;
@@ -1583,6 +1735,7 @@ declare const connectionOperations: {
1583
1735
  readonly body: z.ZodObject<{
1584
1736
  value: z.ZodString;
1585
1737
  expectedVersion: z.ZodNullable<z.ZodNumber>;
1738
+ expectedRevision: z.ZodNumber;
1586
1739
  }, z.core.$strip>;
1587
1740
  readonly response: {
1588
1741
  readonly kind: "json";
@@ -1771,6 +1924,7 @@ declare const connectionOperations: {
1771
1924
  readonly response: {
1772
1925
  readonly kind: "json";
1773
1926
  readonly schema: z.ZodObject<{
1927
+ signInId: z.ZodString;
1774
1928
  authorizationUrl: z.ZodString;
1775
1929
  providerHost: z.ZodString;
1776
1930
  scopes: z.ZodArray<z.ZodString>;
@@ -1785,6 +1939,32 @@ declare const connectionOperations: {
1785
1939
  readonly response: readonly ["Operation-Run-Id", "Idempotent-Replayed"];
1786
1940
  };
1787
1941
  }>;
1942
+ readonly "connections.oauth_sign_in": Operation<{
1943
+ readonly id: "connections.oauth_sign_in";
1944
+ readonly method: "GET";
1945
+ readonly path: "/api/v1/connections/:name/oauth/sign-ins/:signInId";
1946
+ readonly summary: "Read whether a shared OAuth sign-in the caller started still waits for the browser to come back";
1947
+ readonly tag: "Connections";
1948
+ readonly auth: "user";
1949
+ readonly scope: "config_assets:read";
1950
+ readonly requires: readonly [];
1951
+ readonly effect: "reading";
1952
+ readonly response: {
1953
+ readonly kind: "json";
1954
+ readonly schema: z.ZodObject<{
1955
+ state: z.ZodEnum<{
1956
+ waiting: "waiting";
1957
+ ended: "ended";
1958
+ }>;
1959
+ }, z.core.$strip>;
1960
+ };
1961
+ readonly errors: readonly ["NOT_FOUND"];
1962
+ readonly rateClass: "read";
1963
+ } & {
1964
+ readonly headers: {
1965
+ readonly response: readonly ["Operation-Run-Id"];
1966
+ };
1967
+ }>;
1788
1968
  readonly "connections.oauth_complete": Operation<{
1789
1969
  readonly id: "connections.oauth_complete";
1790
1970
  readonly method: "GET";
@@ -1977,6 +2157,141 @@ declare const connectionOperations: {
1977
2157
  readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
1978
2158
  };
1979
2159
  }>;
2160
+ readonly "connections.connector_types": Operation<{
2161
+ readonly id: "connections.connector_types";
2162
+ readonly method: "GET";
2163
+ readonly path: "/api/v1/connector-types";
2164
+ readonly summary: "List the Connector types a person who may make a Connection can connect from a form";
2165
+ readonly tag: "Connections";
2166
+ readonly auth: "principal";
2167
+ readonly scope: "config_assets:read";
2168
+ readonly requires: readonly [];
2169
+ readonly effect: "reading";
2170
+ readonly response: {
2171
+ readonly kind: "json";
2172
+ readonly schema: z.ZodObject<{
2173
+ types: z.ZodArray<z.ZodObject<{
2174
+ type: z.ZodString;
2175
+ title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2176
+ en: z.ZodOptional<z.ZodString>;
2177
+ de: z.ZodOptional<z.ZodString>;
2178
+ }, z.core.$strict>]>;
2179
+ description: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2180
+ en: z.ZodOptional<z.ZodString>;
2181
+ de: z.ZodOptional<z.ZodString>;
2182
+ }, z.core.$strict>]>;
2183
+ service: z.ZodOptional<z.ZodString>;
2184
+ documentSource: z.ZodBoolean;
2185
+ authScheme: z.ZodString;
2186
+ settings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2187
+ fields: z.ZodArray<z.ZodObject<{
2188
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2189
+ en: z.ZodOptional<z.ZodString>;
2190
+ de: z.ZodOptional<z.ZodString>;
2191
+ }, z.core.$strict>]>;
2192
+ help: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2193
+ en: z.ZodOptional<z.ZodString>;
2194
+ de: z.ZodOptional<z.ZodString>;
2195
+ }, z.core.$strict>]>>;
2196
+ optional: z.ZodBoolean;
2197
+ setting: z.ZodOptional<z.ZodString>;
2198
+ secret: z.ZodBoolean;
2199
+ }, z.core.$strip>>;
2200
+ }, z.core.$strip>>;
2201
+ entries: z.ZodDefault<z.ZodArray<z.ZodObject<{
2202
+ id: z.ZodString;
2203
+ version: z.ZodNumber;
2204
+ service: z.ZodString;
2205
+ title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2206
+ en: z.ZodOptional<z.ZodString>;
2207
+ de: z.ZodOptional<z.ZodString>;
2208
+ }, z.core.$strict>]>;
2209
+ description: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2210
+ en: z.ZodOptional<z.ZodString>;
2211
+ de: z.ZodOptional<z.ZodString>;
2212
+ }, z.core.$strict>]>;
2213
+ category: z.ZodEnum<{
2214
+ mail: "mail";
2215
+ files: "files";
2216
+ accounting: "accounting";
2217
+ databases: "databases";
2218
+ other: "other";
2219
+ }>;
2220
+ examplePrompts: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2221
+ en: z.ZodOptional<z.ZodString>;
2222
+ de: z.ZodOptional<z.ZodString>;
2223
+ }, z.core.$strict>]>>;
2224
+ mark: z.ZodObject<{
2225
+ color: z.ZodOptional<z.ZodString>;
2226
+ logo: z.ZodOptional<z.ZodString>;
2227
+ }, z.core.$strip>;
2228
+ offered: z.ZodBoolean;
2229
+ parts: z.ZodArray<z.ZodObject<{
2230
+ part: z.ZodEnum<{
2231
+ tools: "tools";
2232
+ source: "source";
2233
+ }>;
2234
+ connectorType: z.ZodString;
2235
+ name: z.ZodString;
2236
+ title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2237
+ en: z.ZodOptional<z.ZodString>;
2238
+ de: z.ZodOptional<z.ZodString>;
2239
+ }, z.core.$strict>]>>;
2240
+ description: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2241
+ en: z.ZodOptional<z.ZodString>;
2242
+ de: z.ZodOptional<z.ZodString>;
2243
+ }, z.core.$strict>]>;
2244
+ authScheme: z.ZodString;
2245
+ settings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2246
+ fields: z.ZodArray<z.ZodObject<{
2247
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2248
+ en: z.ZodOptional<z.ZodString>;
2249
+ de: z.ZodOptional<z.ZodString>;
2250
+ }, z.core.$strict>]>;
2251
+ help: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2252
+ en: z.ZodOptional<z.ZodString>;
2253
+ de: z.ZodOptional<z.ZodString>;
2254
+ }, z.core.$strict>]>>;
2255
+ optional: z.ZodBoolean;
2256
+ setting: z.ZodOptional<z.ZodString>;
2257
+ secret: z.ZodBoolean;
2258
+ default: z.ZodOptional<z.ZodString>;
2259
+ }, z.core.$strip>>;
2260
+ prerequisites: z.ZodArray<z.ZodObject<{
2261
+ text: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2262
+ en: z.ZodOptional<z.ZodString>;
2263
+ de: z.ZodOptional<z.ZodString>;
2264
+ }, z.core.$strict>]>;
2265
+ value: z.ZodOptional<z.ZodString>;
2266
+ }, z.core.$strip>>;
2267
+ hosts: z.ZodArray<z.ZodString>;
2268
+ operations: z.ZodArray<z.ZodObject<{
2269
+ name: z.ZodString;
2270
+ title: z.ZodOptional<z.ZodString>;
2271
+ description: z.ZodOptional<z.ZodString>;
2272
+ effect: z.ZodEnum<{
2273
+ reading: "reading";
2274
+ changing: "changing";
2275
+ }>;
2276
+ recommended: z.ZodBoolean;
2277
+ declaration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2278
+ }, z.core.$strip>>;
2279
+ sharedAccountNote: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2280
+ en: z.ZodOptional<z.ZodString>;
2281
+ de: z.ZodOptional<z.ZodString>;
2282
+ }, z.core.$strict>]>;
2283
+ documentSource: z.ZodBoolean;
2284
+ }, z.core.$strip>>;
2285
+ }, z.core.$strip>>>;
2286
+ }, z.core.$strip>;
2287
+ };
2288
+ readonly errors: readonly [];
2289
+ readonly rateClass: "read";
2290
+ } & {
2291
+ readonly headers: {
2292
+ readonly response: readonly ["Operation-Run-Id"];
2293
+ };
2294
+ }>;
1980
2295
  readonly "connections.list_tools": Operation<{
1981
2296
  readonly id: "connections.list_tools";
1982
2297
  readonly method: "GET";
@@ -2744,6 +3059,16 @@ declare const workflowRunSchema: z.ZodObject<{
2744
3059
  number: z.ZodNumber;
2745
3060
  }, z.core.$strip>>;
2746
3061
  operationRunId: z.ZodOptional<z.ZodString>;
3062
+ startedFrom: z.ZodOptional<z.ZodObject<{
3063
+ kind: z.ZodLiteral<"app">;
3064
+ app: z.ZodString;
3065
+ appRevisionId: z.ZodString;
3066
+ action: z.ZodString;
3067
+ workflowRevision: z.ZodEnum<{
3068
+ draft: "draft";
3069
+ published: "published";
3070
+ }>;
3071
+ }, z.core.$strip>>;
2747
3072
  parentRunId: z.ZodOptional<z.ZodString>;
2748
3073
  parentStepRunId: z.ZodOptional<z.ZodString>;
2749
3074
  rootRunId: z.ZodString;
@@ -2982,6 +3307,7 @@ declare const workflowSummarySchema: z.ZodObject<{
2982
3307
  name: z.ZodString;
2983
3308
  description: z.ZodOptional<z.ZodString>;
2984
3309
  definitionRevisionId: z.ZodString;
3310
+ workspaceId: z.ZodOptional<z.ZodString>;
2985
3311
  runnable: z.ZodBoolean;
2986
3312
  reasons: z.ZodArray<z.ZodObject<{
2987
3313
  principalDisplayLabel: z.ZodOptional<z.ZodString>;
@@ -2990,6 +3316,7 @@ declare const workflowSummarySchema: z.ZodObject<{
2990
3316
  path: z.ZodOptional<z.ZodString>;
2991
3317
  }, z.core.$strip>>;
2992
3318
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3319
+ triggers: z.ZodOptional<z.ZodArray<z.ZodString>>;
2993
3320
  runsAs: z.ZodOptional<z.ZodString>;
2994
3321
  actions: z.ZodArray<z.ZodString>;
2995
3322
  lastRun: z.ZodOptional<z.ZodObject<{
@@ -3030,6 +3357,10 @@ declare const workflowOperations: {
3030
3357
  readonly schema: z.ZodObject<{
3031
3358
  draftRevision: z.ZodNumber;
3032
3359
  unpublishedRevision: z.ZodNumber;
3360
+ warnings: z.ZodArray<z.ZodObject<{
3361
+ code: z.ZodString;
3362
+ message: z.ZodString;
3363
+ }, z.core.$strip>>;
3033
3364
  }, z.core.$strip>;
3034
3365
  };
3035
3366
  readonly errors: readonly ["NOT_FOUND", "VALIDATION_FAILED"];
@@ -3223,6 +3554,7 @@ declare const workflowOperations: {
3223
3554
  name: z.ZodString;
3224
3555
  description: z.ZodOptional<z.ZodString>;
3225
3556
  definitionRevisionId: z.ZodString;
3557
+ workspaceId: z.ZodOptional<z.ZodString>;
3226
3558
  runnable: z.ZodBoolean;
3227
3559
  reasons: z.ZodArray<z.ZodObject<{
3228
3560
  principalDisplayLabel: z.ZodOptional<z.ZodString>;
@@ -3231,6 +3563,7 @@ declare const workflowOperations: {
3231
3563
  path: z.ZodOptional<z.ZodString>;
3232
3564
  }, z.core.$strip>>;
3233
3565
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3566
+ triggers: z.ZodOptional<z.ZodArray<z.ZodString>>;
3234
3567
  runsAs: z.ZodOptional<z.ZodString>;
3235
3568
  actions: z.ZodArray<z.ZodString>;
3236
3569
  lastRun: z.ZodOptional<z.ZodObject<{
@@ -3326,6 +3659,16 @@ declare const workflowOperations: {
3326
3659
  number: z.ZodNumber;
3327
3660
  }, z.core.$strip>>;
3328
3661
  operationRunId: z.ZodOptional<z.ZodString>;
3662
+ startedFrom: z.ZodOptional<z.ZodObject<{
3663
+ kind: z.ZodLiteral<"app">;
3664
+ app: z.ZodString;
3665
+ appRevisionId: z.ZodString;
3666
+ action: z.ZodString;
3667
+ workflowRevision: z.ZodEnum<{
3668
+ draft: "draft";
3669
+ published: "published";
3670
+ }>;
3671
+ }, z.core.$strip>>;
3329
3672
  parentRunId: z.ZodOptional<z.ZodString>;
3330
3673
  parentStepRunId: z.ZodOptional<z.ZodString>;
3331
3674
  rootRunId: z.ZodString;
@@ -3569,6 +3912,16 @@ declare const workflowOperations: {
3569
3912
  number: z.ZodNumber;
3570
3913
  }, z.core.$strip>>;
3571
3914
  operationRunId: z.ZodOptional<z.ZodString>;
3915
+ startedFrom: z.ZodOptional<z.ZodObject<{
3916
+ kind: z.ZodLiteral<"app">;
3917
+ app: z.ZodString;
3918
+ appRevisionId: z.ZodString;
3919
+ action: z.ZodString;
3920
+ workflowRevision: z.ZodEnum<{
3921
+ draft: "draft";
3922
+ published: "published";
3923
+ }>;
3924
+ }, z.core.$strip>>;
3572
3925
  parentRunId: z.ZodOptional<z.ZodString>;
3573
3926
  parentStepRunId: z.ZodOptional<z.ZodString>;
3574
3927
  rootRunId: z.ZodString;
@@ -3815,6 +4168,16 @@ declare const workflowOperations: {
3815
4168
  number: z.ZodNumber;
3816
4169
  }, z.core.$strip>>;
3817
4170
  operationRunId: z.ZodOptional<z.ZodString>;
4171
+ startedFrom: z.ZodOptional<z.ZodObject<{
4172
+ kind: z.ZodLiteral<"app">;
4173
+ app: z.ZodString;
4174
+ appRevisionId: z.ZodString;
4175
+ action: z.ZodString;
4176
+ workflowRevision: z.ZodEnum<{
4177
+ draft: "draft";
4178
+ published: "published";
4179
+ }>;
4180
+ }, z.core.$strip>>;
3818
4181
  parentRunId: z.ZodOptional<z.ZodString>;
3819
4182
  parentStepRunId: z.ZodOptional<z.ZodString>;
3820
4183
  rootRunId: z.ZodString;
@@ -3927,6 +4290,16 @@ declare const workflowOperations: {
3927
4290
  number: z.ZodNumber;
3928
4291
  }, z.core.$strip>>;
3929
4292
  operationRunId: z.ZodOptional<z.ZodString>;
4293
+ startedFrom: z.ZodOptional<z.ZodObject<{
4294
+ kind: z.ZodLiteral<"app">;
4295
+ app: z.ZodString;
4296
+ appRevisionId: z.ZodString;
4297
+ action: z.ZodString;
4298
+ workflowRevision: z.ZodEnum<{
4299
+ draft: "draft";
4300
+ published: "published";
4301
+ }>;
4302
+ }, z.core.$strip>>;
3930
4303
  parentRunId: z.ZodOptional<z.ZodString>;
3931
4304
  parentStepRunId: z.ZodOptional<z.ZodString>;
3932
4305
  rootRunId: z.ZodString;
@@ -4230,6 +4603,16 @@ declare const workflowOperations: {
4230
4603
  number: z.ZodNumber;
4231
4604
  }, z.core.$strip>>;
4232
4605
  operationRunId: z.ZodOptional<z.ZodString>;
4606
+ startedFrom: z.ZodOptional<z.ZodObject<{
4607
+ kind: z.ZodLiteral<"app">;
4608
+ app: z.ZodString;
4609
+ appRevisionId: z.ZodString;
4610
+ action: z.ZodString;
4611
+ workflowRevision: z.ZodEnum<{
4612
+ draft: "draft";
4613
+ published: "published";
4614
+ }>;
4615
+ }, z.core.$strip>>;
4233
4616
  parentRunId: z.ZodOptional<z.ZodString>;
4234
4617
  parentStepRunId: z.ZodOptional<z.ZodString>;
4235
4618
  rootRunId: z.ZodString;
@@ -4588,6 +4971,12 @@ declare const workflowPrincipalRightsOperations: {
4588
4971
  }>;
4589
4972
  };
4590
4973
 
4974
+ /**
4975
+ * The operations of each area, keyed by the file that declares them. The path inventory pins one
4976
+ * file per area, so two changes to different areas do not edit the same pin. Typed loosely on
4977
+ * purpose: its inferred type would repeat every operation's type in the published declarations.
4978
+ */
4979
+ declare const operationAreas: Readonly<Record<string, Readonly<Record<string, unknown>>>>;
4591
4980
  /** Every product operation of the HTTP API, one file per area. */
4592
4981
  declare const apiOperations: {
4593
4982
  readonly "health.get": Operation<{
@@ -4902,8 +5291,8 @@ declare const apiOperations: {
4902
5291
  draft_published: "draft_published";
4903
5292
  }>;
4904
5293
  representation: zod.ZodEnum<{
4905
- config: "config";
4906
5294
  files: "files";
5295
+ config: "config";
4907
5296
  }>;
4908
5297
  owners: zod.ZodArray<zod.ZodEnum<{
4909
5298
  instance: "instance";
@@ -5196,6 +5585,48 @@ declare const apiOperations: {
5196
5585
  readonly errors: readonly ["NOT_FOUND"];
5197
5586
  readonly rateClass: "read";
5198
5587
  }>;
5588
+ readonly "scope_assignments.overview": Operation<{
5589
+ readonly id: "scope_assignments.overview";
5590
+ readonly method: "GET";
5591
+ readonly path: "/api/v1/instance/access/scope-assignments/overview";
5592
+ readonly summary: "Read the declared data scope, every assignment the reader may see, and each active person's groups and effective values";
5593
+ readonly tag: "Access";
5594
+ readonly auth: "user";
5595
+ readonly scope: "user_admin:read";
5596
+ readonly requires: readonly ["users.manage"];
5597
+ readonly effect: "reading";
5598
+ readonly response: {
5599
+ readonly kind: "json";
5600
+ readonly schema: zod.ZodObject<{
5601
+ dimensions: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
5602
+ label: zod.ZodString;
5603
+ valueType: zod.ZodLiteral<"text">;
5604
+ }, zod_v4_core.$strict>>;
5605
+ assignments: zod.ZodArray<zod.ZodObject<{
5606
+ dimension: zod.ZodString;
5607
+ holderKind: zod.ZodEnum<{
5608
+ user: "user";
5609
+ service_principal: "service_principal";
5610
+ group: "group";
5611
+ }>;
5612
+ holderId: zod.ZodString;
5613
+ effect: zod.ZodEnum<{
5614
+ allow: "allow";
5615
+ deny: "deny";
5616
+ }>;
5617
+ values: zod.ZodUnion<readonly [zod.ZodLiteral<"all">, zod.ZodArray<zod.ZodString>]>;
5618
+ }, zod_v4_core.$strict>>;
5619
+ people: zod.ZodArray<zod.ZodObject<{
5620
+ id: zod.ZodString;
5621
+ displayLabel: zod.ZodString;
5622
+ groups: zod.ZodArray<zod.ZodString>;
5623
+ effective: zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodLiteral<"all">, zod.ZodArray<zod.ZodString>]>>;
5624
+ }, zod_v4_core.$strip>>;
5625
+ }, zod_v4_core.$strip>;
5626
+ };
5627
+ readonly errors: readonly [];
5628
+ readonly rateClass: "read";
5629
+ }>;
5199
5630
  readonly "scope_assignments.set": Operation<{
5200
5631
  readonly id: "scope_assignments.set";
5201
5632
  readonly method: "PUT";
@@ -5866,6 +6297,221 @@ declare const apiOperations: {
5866
6297
  readonly errors: readonly ["NOT_FOUND"];
5867
6298
  readonly rateClass: "read";
5868
6299
  }>;
6300
+ readonly "permissions.rights": Operation<{
6301
+ readonly id: "permissions.rights";
6302
+ readonly method: "GET";
6303
+ readonly path: "/api/v1/instance/access/rights";
6304
+ readonly summary: "List what one holder holds and is refused, each right decided with where it comes from";
6305
+ readonly tag: "Access";
6306
+ readonly auth: "user";
6307
+ readonly scope: "user_admin:read";
6308
+ readonly requires: readonly [];
6309
+ readonly effect: "reading";
6310
+ readonly query: zod.ZodObject<{
6311
+ holderKind: zod.ZodEnum<{
6312
+ user: "user";
6313
+ service_principal: "service_principal";
6314
+ }>;
6315
+ holderId: zod.ZodString;
6316
+ }, zod_v4_core.$strip>;
6317
+ readonly response: {
6318
+ readonly kind: "json";
6319
+ readonly schema: zod.ZodObject<{
6320
+ holderActive: zod.ZodBoolean;
6321
+ roles: zod.ZodArray<zod.ZodObject<{
6322
+ id: zod.ZodString;
6323
+ name: zod.ZodString;
6324
+ builtIn: zod.ZodBoolean;
6325
+ }, zod_v4_core.$strip>>;
6326
+ rights: zod.ZodArray<zod.ZodObject<{
6327
+ action: zod.ZodString;
6328
+ scopeKind: zod.ZodEnum<{
6329
+ instance: "instance";
6330
+ workspace: "workspace";
6331
+ asset: "asset";
6332
+ }>;
6333
+ scopeId: zod.ZodOptional<zod.ZodString>;
6334
+ allowed: zod.ZodBoolean;
6335
+ reason: zod.ZodOptional<zod.ZodEnum<{
6336
+ denied: "denied";
6337
+ no_grant: "no_grant";
6338
+ holder_inactive: "holder_inactive";
6339
+ }>>;
6340
+ grantedBy: zod.ZodArray<zod.ZodObject<{
6341
+ source: zod.ZodEnum<{
6342
+ role: "role";
6343
+ legacy_ref: "legacy_ref";
6344
+ grant: "grant";
6345
+ membership: "membership";
6346
+ }>;
6347
+ effect: zod.ZodEnum<{
6348
+ allow: "allow";
6349
+ deny: "deny";
6350
+ }>;
6351
+ scopeKind: zod.ZodEnum<{
6352
+ instance: "instance";
6353
+ workspace: "workspace";
6354
+ asset: "asset";
6355
+ }>;
6356
+ scopeId: zod.ZodOptional<zod.ZodString>;
6357
+ roleId: zod.ZodOptional<zod.ZodString>;
6358
+ scopeAsset: zod.ZodOptional<zod.ZodObject<{
6359
+ kind: zod.ZodString;
6360
+ name: zod.ZodOptional<zod.ZodString>;
6361
+ title: zod.ZodOptional<zod.ZodString>;
6362
+ active: zod.ZodBoolean;
6363
+ }, zod_v4_core.$strip>>;
6364
+ scopeWorkspace: zod.ZodOptional<zod.ZodObject<{
6365
+ personal: zod.ZodBoolean;
6366
+ name: zod.ZodOptional<zod.ZodString>;
6367
+ }, zod_v4_core.$strip>>;
6368
+ }, zod_v4_core.$strip>>;
6369
+ deniedBy: zod.ZodOptional<zod.ZodObject<{
6370
+ source: zod.ZodEnum<{
6371
+ role: "role";
6372
+ legacy_ref: "legacy_ref";
6373
+ grant: "grant";
6374
+ membership: "membership";
6375
+ }>;
6376
+ effect: zod.ZodEnum<{
6377
+ allow: "allow";
6378
+ deny: "deny";
6379
+ }>;
6380
+ scopeKind: zod.ZodEnum<{
6381
+ instance: "instance";
6382
+ workspace: "workspace";
6383
+ asset: "asset";
6384
+ }>;
6385
+ scopeId: zod.ZodOptional<zod.ZodString>;
6386
+ roleId: zod.ZodOptional<zod.ZodString>;
6387
+ scopeAsset: zod.ZodOptional<zod.ZodObject<{
6388
+ kind: zod.ZodString;
6389
+ name: zod.ZodOptional<zod.ZodString>;
6390
+ title: zod.ZodOptional<zod.ZodString>;
6391
+ active: zod.ZodBoolean;
6392
+ }, zod_v4_core.$strip>>;
6393
+ scopeWorkspace: zod.ZodOptional<zod.ZodObject<{
6394
+ personal: zod.ZodBoolean;
6395
+ name: zod.ZodOptional<zod.ZodString>;
6396
+ }, zod_v4_core.$strip>>;
6397
+ }, zod_v4_core.$strip>>;
6398
+ scopeAsset: zod.ZodOptional<zod.ZodObject<{
6399
+ kind: zod.ZodString;
6400
+ name: zod.ZodOptional<zod.ZodString>;
6401
+ title: zod.ZodOptional<zod.ZodString>;
6402
+ active: zod.ZodBoolean;
6403
+ }, zod_v4_core.$strip>>;
6404
+ scopeWorkspace: zod.ZodOptional<zod.ZodObject<{
6405
+ personal: zod.ZodBoolean;
6406
+ name: zod.ZodOptional<zod.ZodString>;
6407
+ }, zod_v4_core.$strip>>;
6408
+ availability: zod.ZodOptional<zod.ZodEnum<{
6409
+ instance: "instance";
6410
+ self: "self";
6411
+ workspace: "workspace";
6412
+ }>>;
6413
+ onlyInWorkspaces: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
6414
+ personal: zod.ZodBoolean;
6415
+ name: zod.ZodOptional<zod.ZodString>;
6416
+ }, zod_v4_core.$strip>>>;
6417
+ }, zod_v4_core.$strip>>;
6418
+ }, zod_v4_core.$strip>;
6419
+ };
6420
+ readonly errors: readonly ["NOT_FOUND"];
6421
+ readonly rateClass: "read";
6422
+ }>;
6423
+ readonly "permissions.check": Operation<{
6424
+ readonly id: "permissions.check";
6425
+ readonly method: "GET";
6426
+ readonly path: "/api/v1/instance/access/check";
6427
+ readonly summary: "Decide what one holder may do with one asset, with the entry that decides each right";
6428
+ readonly tag: "Access";
6429
+ readonly auth: "user";
6430
+ readonly scope: "user_admin:read";
6431
+ readonly requires: readonly [];
6432
+ readonly effect: "reading";
6433
+ readonly query: zod.ZodObject<{
6434
+ holderKind: zod.ZodEnum<{
6435
+ user: "user";
6436
+ service_principal: "service_principal";
6437
+ }>;
6438
+ holderId: zod.ZodString;
6439
+ kind: zod.ZodString;
6440
+ assetId: zod.ZodOptional<zod.ZodString>;
6441
+ }, zod_v4_core.$strip>;
6442
+ readonly response: {
6443
+ readonly kind: "json";
6444
+ readonly schema: zod.ZodObject<{
6445
+ holderActive: zod.ZodBoolean;
6446
+ roles: zod.ZodArray<zod.ZodObject<{
6447
+ id: zod.ZodString;
6448
+ name: zod.ZodString;
6449
+ builtIn: zod.ZodBoolean;
6450
+ }, zod_v4_core.$strip>>;
6451
+ actions: zod.ZodArray<zod.ZodObject<{
6452
+ availability: zod.ZodOptional<zod.ZodEnum<{
6453
+ instance: "instance";
6454
+ self: "self";
6455
+ workspace: "workspace";
6456
+ }>>;
6457
+ onlyInWorkspaces: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
6458
+ personal: zod.ZodBoolean;
6459
+ name: zod.ZodOptional<zod.ZodString>;
6460
+ }, zod_v4_core.$strip>>>;
6461
+ verb: zod.ZodEnum<{
6462
+ read: "read";
6463
+ write: "write";
6464
+ delete: "delete";
6465
+ use: "use";
6466
+ }>;
6467
+ action: zod.ZodString;
6468
+ allowed: zod.ZodBoolean;
6469
+ reason: zod.ZodOptional<zod.ZodEnum<{
6470
+ denied: "denied";
6471
+ no_grant: "no_grant";
6472
+ holder_inactive: "holder_inactive";
6473
+ }>>;
6474
+ decidedBy: zod.ZodOptional<zod.ZodObject<{
6475
+ source: zod.ZodEnum<{
6476
+ role: "role";
6477
+ legacy_ref: "legacy_ref";
6478
+ grant: "grant";
6479
+ membership: "membership";
6480
+ }>;
6481
+ effect: zod.ZodEnum<{
6482
+ allow: "allow";
6483
+ deny: "deny";
6484
+ }>;
6485
+ scopeKind: zod.ZodEnum<{
6486
+ instance: "instance";
6487
+ workspace: "workspace";
6488
+ asset: "asset";
6489
+ }>;
6490
+ scopeId: zod.ZodOptional<zod.ZodString>;
6491
+ roleId: zod.ZodOptional<zod.ZodString>;
6492
+ scopeAsset: zod.ZodOptional<zod.ZodObject<{
6493
+ kind: zod.ZodString;
6494
+ name: zod.ZodOptional<zod.ZodString>;
6495
+ title: zod.ZodOptional<zod.ZodString>;
6496
+ active: zod.ZodBoolean;
6497
+ }, zod_v4_core.$strip>>;
6498
+ scopeWorkspace: zod.ZodOptional<zod.ZodObject<{
6499
+ personal: zod.ZodBoolean;
6500
+ name: zod.ZodOptional<zod.ZodString>;
6501
+ }, zod_v4_core.$strip>>;
6502
+ }, zod_v4_core.$strip>>;
6503
+ deniedThrough: zod.ZodOptional<zod.ZodEnum<{
6504
+ read: "read";
6505
+ write: "write";
6506
+ delete: "delete";
6507
+ use: "use";
6508
+ }>>;
6509
+ }, zod_v4_core.$strip>>;
6510
+ }, zod_v4_core.$strip>;
6511
+ };
6512
+ readonly errors: readonly ["NOT_FOUND"];
6513
+ readonly rateClass: "read";
6514
+ }>;
5869
6515
  readonly "workspaces.limits.list": Operation<{
5870
6516
  readonly id: "workspaces.limits.list";
5871
6517
  readonly method: "GET";
@@ -12433,6 +13079,10 @@ declare const apiOperations: {
12433
13079
  readonly schema: zod.ZodObject<{
12434
13080
  draftRevision: zod.ZodNumber;
12435
13081
  unpublishedRevision: zod.ZodNumber;
13082
+ warnings: zod.ZodArray<zod.ZodObject<{
13083
+ code: zod.ZodString;
13084
+ message: zod.ZodString;
13085
+ }, zod_v4_core.$strip>>;
12436
13086
  }, zod_v4_core.$strip>;
12437
13087
  };
12438
13088
  readonly errors: readonly ["NOT_FOUND", "VALIDATION_FAILED"];
@@ -12626,6 +13276,7 @@ declare const apiOperations: {
12626
13276
  name: zod.ZodString;
12627
13277
  description: zod.ZodOptional<zod.ZodString>;
12628
13278
  definitionRevisionId: zod.ZodString;
13279
+ workspaceId: zod.ZodOptional<zod.ZodString>;
12629
13280
  runnable: zod.ZodBoolean;
12630
13281
  reasons: zod.ZodArray<zod.ZodObject<{
12631
13282
  principalDisplayLabel: zod.ZodOptional<zod.ZodString>;
@@ -12634,6 +13285,7 @@ declare const apiOperations: {
12634
13285
  path: zod.ZodOptional<zod.ZodString>;
12635
13286
  }, zod_v4_core.$strip>>;
12636
13287
  inputs: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
13288
+ triggers: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
12637
13289
  runsAs: zod.ZodOptional<zod.ZodString>;
12638
13290
  actions: zod.ZodArray<zod.ZodString>;
12639
13291
  lastRun: zod.ZodOptional<zod.ZodObject<{
@@ -12729,6 +13381,16 @@ declare const apiOperations: {
12729
13381
  number: zod.ZodNumber;
12730
13382
  }, zod_v4_core.$strip>>;
12731
13383
  operationRunId: zod.ZodOptional<zod.ZodString>;
13384
+ startedFrom: zod.ZodOptional<zod.ZodObject<{
13385
+ kind: zod.ZodLiteral<"app">;
13386
+ app: zod.ZodString;
13387
+ appRevisionId: zod.ZodString;
13388
+ action: zod.ZodString;
13389
+ workflowRevision: zod.ZodEnum<{
13390
+ draft: "draft";
13391
+ published: "published";
13392
+ }>;
13393
+ }, zod_v4_core.$strip>>;
12732
13394
  parentRunId: zod.ZodOptional<zod.ZodString>;
12733
13395
  parentStepRunId: zod.ZodOptional<zod.ZodString>;
12734
13396
  rootRunId: zod.ZodString;
@@ -12972,6 +13634,16 @@ declare const apiOperations: {
12972
13634
  number: zod.ZodNumber;
12973
13635
  }, zod_v4_core.$strip>>;
12974
13636
  operationRunId: zod.ZodOptional<zod.ZodString>;
13637
+ startedFrom: zod.ZodOptional<zod.ZodObject<{
13638
+ kind: zod.ZodLiteral<"app">;
13639
+ app: zod.ZodString;
13640
+ appRevisionId: zod.ZodString;
13641
+ action: zod.ZodString;
13642
+ workflowRevision: zod.ZodEnum<{
13643
+ draft: "draft";
13644
+ published: "published";
13645
+ }>;
13646
+ }, zod_v4_core.$strip>>;
12975
13647
  parentRunId: zod.ZodOptional<zod.ZodString>;
12976
13648
  parentStepRunId: zod.ZodOptional<zod.ZodString>;
12977
13649
  rootRunId: zod.ZodString;
@@ -13218,6 +13890,16 @@ declare const apiOperations: {
13218
13890
  number: zod.ZodNumber;
13219
13891
  }, zod_v4_core.$strip>>;
13220
13892
  operationRunId: zod.ZodOptional<zod.ZodString>;
13893
+ startedFrom: zod.ZodOptional<zod.ZodObject<{
13894
+ kind: zod.ZodLiteral<"app">;
13895
+ app: zod.ZodString;
13896
+ appRevisionId: zod.ZodString;
13897
+ action: zod.ZodString;
13898
+ workflowRevision: zod.ZodEnum<{
13899
+ draft: "draft";
13900
+ published: "published";
13901
+ }>;
13902
+ }, zod_v4_core.$strip>>;
13221
13903
  parentRunId: zod.ZodOptional<zod.ZodString>;
13222
13904
  parentStepRunId: zod.ZodOptional<zod.ZodString>;
13223
13905
  rootRunId: zod.ZodString;
@@ -13330,6 +14012,16 @@ declare const apiOperations: {
13330
14012
  number: zod.ZodNumber;
13331
14013
  }, zod_v4_core.$strip>>;
13332
14014
  operationRunId: zod.ZodOptional<zod.ZodString>;
14015
+ startedFrom: zod.ZodOptional<zod.ZodObject<{
14016
+ kind: zod.ZodLiteral<"app">;
14017
+ app: zod.ZodString;
14018
+ appRevisionId: zod.ZodString;
14019
+ action: zod.ZodString;
14020
+ workflowRevision: zod.ZodEnum<{
14021
+ draft: "draft";
14022
+ published: "published";
14023
+ }>;
14024
+ }, zod_v4_core.$strip>>;
13333
14025
  parentRunId: zod.ZodOptional<zod.ZodString>;
13334
14026
  parentStepRunId: zod.ZodOptional<zod.ZodString>;
13335
14027
  rootRunId: zod.ZodString;
@@ -13633,6 +14325,16 @@ declare const apiOperations: {
13633
14325
  number: zod.ZodNumber;
13634
14326
  }, zod_v4_core.$strip>>;
13635
14327
  operationRunId: zod.ZodOptional<zod.ZodString>;
14328
+ startedFrom: zod.ZodOptional<zod.ZodObject<{
14329
+ kind: zod.ZodLiteral<"app">;
14330
+ app: zod.ZodString;
14331
+ appRevisionId: zod.ZodString;
14332
+ action: zod.ZodString;
14333
+ workflowRevision: zod.ZodEnum<{
14334
+ draft: "draft";
14335
+ published: "published";
14336
+ }>;
14337
+ }, zod_v4_core.$strip>>;
13636
14338
  parentRunId: zod.ZodOptional<zod.ZodString>;
13637
14339
  parentStepRunId: zod.ZodOptional<zod.ZodString>;
13638
14340
  rootRunId: zod.ZodString;
@@ -14699,6 +15401,7 @@ declare const apiOperations: {
14699
15401
  readonly body: zod.ZodObject<{
14700
15402
  value: zod.ZodString;
14701
15403
  expectedVersion: zod.ZodNullable<zod.ZodNumber>;
15404
+ expectedRevision: zod.ZodNumber;
14702
15405
  }, zod_v4_core.$strip>;
14703
15406
  readonly response: {
14704
15407
  readonly kind: "json";
@@ -14887,6 +15590,7 @@ declare const apiOperations: {
14887
15590
  readonly response: {
14888
15591
  readonly kind: "json";
14889
15592
  readonly schema: zod.ZodObject<{
15593
+ signInId: zod.ZodString;
14890
15594
  authorizationUrl: zod.ZodString;
14891
15595
  providerHost: zod.ZodString;
14892
15596
  scopes: zod.ZodArray<zod.ZodString>;
@@ -14901,6 +15605,32 @@ declare const apiOperations: {
14901
15605
  readonly response: readonly ["Operation-Run-Id", "Idempotent-Replayed"];
14902
15606
  };
14903
15607
  }>;
15608
+ readonly "connections.oauth_sign_in": Operation<{
15609
+ readonly id: "connections.oauth_sign_in";
15610
+ readonly method: "GET";
15611
+ readonly path: "/api/v1/connections/:name/oauth/sign-ins/:signInId";
15612
+ readonly summary: "Read whether a shared OAuth sign-in the caller started still waits for the browser to come back";
15613
+ readonly tag: "Connections";
15614
+ readonly auth: "user";
15615
+ readonly scope: "config_assets:read";
15616
+ readonly requires: readonly [];
15617
+ readonly effect: "reading";
15618
+ readonly response: {
15619
+ readonly kind: "json";
15620
+ readonly schema: zod.ZodObject<{
15621
+ state: zod.ZodEnum<{
15622
+ waiting: "waiting";
15623
+ ended: "ended";
15624
+ }>;
15625
+ }, zod_v4_core.$strip>;
15626
+ };
15627
+ readonly errors: readonly ["NOT_FOUND"];
15628
+ readonly rateClass: "read";
15629
+ } & {
15630
+ readonly headers: {
15631
+ readonly response: readonly ["Operation-Run-Id"];
15632
+ };
15633
+ }>;
14904
15634
  readonly "connections.oauth_complete": Operation<{
14905
15635
  readonly id: "connections.oauth_complete";
14906
15636
  readonly method: "GET";
@@ -15093,6 +15823,141 @@ declare const apiOperations: {
15093
15823
  readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
15094
15824
  };
15095
15825
  }>;
15826
+ readonly "connections.connector_types": Operation<{
15827
+ readonly id: "connections.connector_types";
15828
+ readonly method: "GET";
15829
+ readonly path: "/api/v1/connector-types";
15830
+ readonly summary: "List the Connector types a person who may make a Connection can connect from a form";
15831
+ readonly tag: "Connections";
15832
+ readonly auth: "principal";
15833
+ readonly scope: "config_assets:read";
15834
+ readonly requires: readonly [];
15835
+ readonly effect: "reading";
15836
+ readonly response: {
15837
+ readonly kind: "json";
15838
+ readonly schema: zod.ZodObject<{
15839
+ types: zod.ZodArray<zod.ZodObject<{
15840
+ type: zod.ZodString;
15841
+ title: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
15842
+ en: zod.ZodOptional<zod.ZodString>;
15843
+ de: zod.ZodOptional<zod.ZodString>;
15844
+ }, zod_v4_core.$strict>]>;
15845
+ description: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
15846
+ en: zod.ZodOptional<zod.ZodString>;
15847
+ de: zod.ZodOptional<zod.ZodString>;
15848
+ }, zod_v4_core.$strict>]>;
15849
+ service: zod.ZodOptional<zod.ZodString>;
15850
+ documentSource: zod.ZodBoolean;
15851
+ authScheme: zod.ZodString;
15852
+ settings: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
15853
+ fields: zod.ZodArray<zod.ZodObject<{
15854
+ label: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
15855
+ en: zod.ZodOptional<zod.ZodString>;
15856
+ de: zod.ZodOptional<zod.ZodString>;
15857
+ }, zod_v4_core.$strict>]>;
15858
+ help: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
15859
+ en: zod.ZodOptional<zod.ZodString>;
15860
+ de: zod.ZodOptional<zod.ZodString>;
15861
+ }, zod_v4_core.$strict>]>>;
15862
+ optional: zod.ZodBoolean;
15863
+ setting: zod.ZodOptional<zod.ZodString>;
15864
+ secret: zod.ZodBoolean;
15865
+ }, zod_v4_core.$strip>>;
15866
+ }, zod_v4_core.$strip>>;
15867
+ entries: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
15868
+ id: zod.ZodString;
15869
+ version: zod.ZodNumber;
15870
+ service: zod.ZodString;
15871
+ title: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
15872
+ en: zod.ZodOptional<zod.ZodString>;
15873
+ de: zod.ZodOptional<zod.ZodString>;
15874
+ }, zod_v4_core.$strict>]>;
15875
+ description: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
15876
+ en: zod.ZodOptional<zod.ZodString>;
15877
+ de: zod.ZodOptional<zod.ZodString>;
15878
+ }, zod_v4_core.$strict>]>;
15879
+ category: zod.ZodEnum<{
15880
+ mail: "mail";
15881
+ files: "files";
15882
+ accounting: "accounting";
15883
+ databases: "databases";
15884
+ other: "other";
15885
+ }>;
15886
+ examplePrompts: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
15887
+ en: zod.ZodOptional<zod.ZodString>;
15888
+ de: zod.ZodOptional<zod.ZodString>;
15889
+ }, zod_v4_core.$strict>]>>;
15890
+ mark: zod.ZodObject<{
15891
+ color: zod.ZodOptional<zod.ZodString>;
15892
+ logo: zod.ZodOptional<zod.ZodString>;
15893
+ }, zod_v4_core.$strip>;
15894
+ offered: zod.ZodBoolean;
15895
+ parts: zod.ZodArray<zod.ZodObject<{
15896
+ part: zod.ZodEnum<{
15897
+ tools: "tools";
15898
+ source: "source";
15899
+ }>;
15900
+ connectorType: zod.ZodString;
15901
+ name: zod.ZodString;
15902
+ title: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
15903
+ en: zod.ZodOptional<zod.ZodString>;
15904
+ de: zod.ZodOptional<zod.ZodString>;
15905
+ }, zod_v4_core.$strict>]>>;
15906
+ description: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
15907
+ en: zod.ZodOptional<zod.ZodString>;
15908
+ de: zod.ZodOptional<zod.ZodString>;
15909
+ }, zod_v4_core.$strict>]>;
15910
+ authScheme: zod.ZodString;
15911
+ settings: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
15912
+ fields: zod.ZodArray<zod.ZodObject<{
15913
+ label: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
15914
+ en: zod.ZodOptional<zod.ZodString>;
15915
+ de: zod.ZodOptional<zod.ZodString>;
15916
+ }, zod_v4_core.$strict>]>;
15917
+ help: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
15918
+ en: zod.ZodOptional<zod.ZodString>;
15919
+ de: zod.ZodOptional<zod.ZodString>;
15920
+ }, zod_v4_core.$strict>]>>;
15921
+ optional: zod.ZodBoolean;
15922
+ setting: zod.ZodOptional<zod.ZodString>;
15923
+ secret: zod.ZodBoolean;
15924
+ default: zod.ZodOptional<zod.ZodString>;
15925
+ }, zod_v4_core.$strip>>;
15926
+ prerequisites: zod.ZodArray<zod.ZodObject<{
15927
+ text: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
15928
+ en: zod.ZodOptional<zod.ZodString>;
15929
+ de: zod.ZodOptional<zod.ZodString>;
15930
+ }, zod_v4_core.$strict>]>;
15931
+ value: zod.ZodOptional<zod.ZodString>;
15932
+ }, zod_v4_core.$strip>>;
15933
+ hosts: zod.ZodArray<zod.ZodString>;
15934
+ operations: zod.ZodArray<zod.ZodObject<{
15935
+ name: zod.ZodString;
15936
+ title: zod.ZodOptional<zod.ZodString>;
15937
+ description: zod.ZodOptional<zod.ZodString>;
15938
+ effect: zod.ZodEnum<{
15939
+ reading: "reading";
15940
+ changing: "changing";
15941
+ }>;
15942
+ recommended: zod.ZodBoolean;
15943
+ declaration: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
15944
+ }, zod_v4_core.$strip>>;
15945
+ sharedAccountNote: zod.ZodUnion<readonly [zod.ZodString, zod.ZodObject<{
15946
+ en: zod.ZodOptional<zod.ZodString>;
15947
+ de: zod.ZodOptional<zod.ZodString>;
15948
+ }, zod_v4_core.$strict>]>;
15949
+ documentSource: zod.ZodBoolean;
15950
+ }, zod_v4_core.$strip>>;
15951
+ }, zod_v4_core.$strip>>>;
15952
+ }, zod_v4_core.$strip>;
15953
+ };
15954
+ readonly errors: readonly [];
15955
+ readonly rateClass: "read";
15956
+ } & {
15957
+ readonly headers: {
15958
+ readonly response: readonly ["Operation-Run-Id"];
15959
+ };
15960
+ }>;
15096
15961
  readonly "connections.list_tools": Operation<{
15097
15962
  readonly id: "connections.list_tools";
15098
15963
  readonly method: "GET";
@@ -15353,6 +16218,170 @@ declare const apiOperations: {
15353
16218
  readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
15354
16219
  };
15355
16220
  }>;
16221
+ readonly "agents.use.set": Operation<{
16222
+ readonly id: "agents.use.set";
16223
+ readonly method: "PUT";
16224
+ readonly path: "/api/v1/agents/:name/use";
16225
+ readonly summary: "Set who uses one agent where it is available: everyone, or holders of agent.use";
16226
+ readonly tag: "Agents";
16227
+ readonly auth: "user";
16228
+ readonly scope: "config_assets:write";
16229
+ readonly requires: readonly [];
16230
+ readonly effect: "changing";
16231
+ readonly body: zod.ZodObject<{
16232
+ use: zod.ZodEnum<{
16233
+ everyone: "everyone";
16234
+ granted: "granted";
16235
+ }>;
16236
+ expectedAssetId: zod.ZodOptional<zod.ZodString>;
16237
+ }, zod_v4_core.$strip>;
16238
+ readonly response: {
16239
+ readonly kind: "json";
16240
+ readonly schema: zod.ZodObject<{
16241
+ use: zod.ZodEnum<{
16242
+ everyone: "everyone";
16243
+ granted: "granted";
16244
+ }>;
16245
+ }, zod_v4_core.$strip>;
16246
+ };
16247
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT"];
16248
+ readonly rateClass: "write";
16249
+ } & {
16250
+ readonly accepted: zod.ZodObject<{
16251
+ id: zod.ZodString;
16252
+ operation: zod.ZodString;
16253
+ effect: zod.ZodEnum<{
16254
+ reading: "reading";
16255
+ changing: "changing";
16256
+ }>;
16257
+ status: zod.ZodEnum<{
16258
+ failed: "failed";
16259
+ running: "running";
16260
+ pending_confirmation: "pending_confirmation";
16261
+ pending_approval: "pending_approval";
16262
+ done: "done";
16263
+ denied: "denied";
16264
+ expired: "expired";
16265
+ }>;
16266
+ actor: zod.ZodObject<{
16267
+ kind: zod.ZodEnum<{
16268
+ user: "user";
16269
+ service_principal: "service_principal";
16270
+ }>;
16271
+ id: zod.ZodString;
16272
+ label: zod.ZodString;
16273
+ }, zod_v4_core.$strip>;
16274
+ origin: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
16275
+ kind: zod.ZodLiteral<"agent">;
16276
+ agentRunId: zod.ZodString;
16277
+ conversationId: zod.ZodString;
16278
+ agentName: zod.ZodString;
16279
+ toolCallId: zod.ZodString;
16280
+ toolName: zod.ZodString;
16281
+ toolRevisionId: zod.ZodOptional<zod.ZodString>;
16282
+ boundBy: zod.ZodOptional<zod.ZodObject<{
16283
+ id: zod.ZodString;
16284
+ label: zod.ZodString;
16285
+ }, zod_v4_core.$strip>>;
16286
+ draft: zod.ZodOptional<zod.ZodObject<{
16287
+ kind: zod.ZodLiteral<"agent_preview">;
16288
+ asset: zod.ZodObject<{
16289
+ kind: zod.ZodString;
16290
+ id: zod.ZodString;
16291
+ name: zod.ZodString;
16292
+ }, zod_v4_core.$strip>;
16293
+ revisionId: zod.ZodString;
16294
+ part: zod.ZodString;
16295
+ }, zod_v4_core.$strip>>;
16296
+ }, zod_v4_core.$strip>, zod.ZodObject<{
16297
+ kind: zod.ZodLiteral<"user">;
16298
+ }, zod_v4_core.$strip>, zod.ZodObject<{
16299
+ kind: zod.ZodLiteral<"cli">;
16300
+ unattended: zod.ZodOptional<zod.ZodLiteral<true>>;
16301
+ }, zod_v4_core.$strip>, zod.ZodObject<{
16302
+ kind: zod.ZodLiteral<"mcp">;
16303
+ clientName: zod.ZodOptional<zod.ZodString>;
16304
+ }, zod_v4_core.$strip>, zod.ZodObject<{
16305
+ kind: zod.ZodLiteral<"app">;
16306
+ appName: zod.ZodOptional<zod.ZodString>;
16307
+ appRevisionId: zod.ZodString;
16308
+ actionName: zod.ZodString;
16309
+ pageSessionId: zod.ZodString;
16310
+ conversationId: zod.ZodOptional<zod.ZodString>;
16311
+ target: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
16312
+ connection: zod.ZodString;
16313
+ operation: zod.ZodString;
16314
+ }, zod_v4_core.$strip>, zod.ZodObject<{
16315
+ dataStore: zod.ZodString;
16316
+ }, zod_v4_core.$strip>, zod.ZodObject<{
16317
+ workflow: zod.ZodString;
16318
+ }, zod_v4_core.$strip>]>>;
16319
+ }, zod_v4_core.$strip>, zod.ZodObject<{
16320
+ kind: zod.ZodLiteral<"workflow">;
16321
+ workflowRunId: zod.ZodString;
16322
+ stepRunId: zod.ZodString;
16323
+ boundBy: zod.ZodOptional<zod.ZodObject<{
16324
+ id: zod.ZodString;
16325
+ label: zod.ZodString;
16326
+ }, zod_v4_core.$strip>>;
16327
+ }, zod_v4_core.$strip>, zod.ZodObject<{
16328
+ kind: zod.ZodLiteral<"schedule">;
16329
+ scheduleId: zod.ZodString;
16330
+ }, zod_v4_core.$strip>], "kind">;
16331
+ target: zod.ZodEnum<{
16332
+ live: "live";
16333
+ test: "test";
16334
+ dry_run: "dry_run";
16335
+ }>;
16336
+ app: zod.ZodOptional<zod.ZodObject<{
16337
+ title: zod.ZodOptional<zod.ZodString>;
16338
+ revision: zod.ZodOptional<zod.ZodNumber>;
16339
+ deleted: zod.ZodBoolean;
16340
+ }, zod_v4_core.$strip>>;
16341
+ workspaceId: zod.ZodOptional<zod.ZodString>;
16342
+ approvalRequestId: zod.ZodOptional<zod.ZodString>;
16343
+ inputHash: zod.ZodString;
16344
+ attempt: zod.ZodNumber;
16345
+ decision: zod.ZodOptional<zod.ZodObject<{
16346
+ mode: zod.ZodEnum<{
16347
+ direct: "direct";
16348
+ confirmed: "confirmed";
16349
+ approved: "approved";
16350
+ declined: "declined";
16351
+ }>;
16352
+ reason: zod.ZodOptional<zod.ZodEnum<{
16353
+ inherited_approval_not_applied: "inherited_approval_not_applied";
16354
+ workflow_publish: "workflow_publish";
16355
+ approved_by_caller: "approved_by_caller";
16356
+ }>>;
16357
+ by: zod.ZodString;
16358
+ byLabel: zod.ZodOptional<zod.ZodString>;
16359
+ at: zod.ZodISODateTime;
16360
+ comment: zod.ZodOptional<zod.ZodString>;
16361
+ }, zod_v4_core.$strip>>;
16362
+ error: zod.ZodOptional<zod.ZodObject<{
16363
+ code: zod.ZodString;
16364
+ message: zod.ZodString;
16365
+ reason: zod.ZodOptional<zod.ZodString>;
16366
+ }, zod_v4_core.$strip>>;
16367
+ usage: zod.ZodOptional<zod.ZodObject<{
16368
+ modelCalls: zod.ZodNumber;
16369
+ inputTokens: zod.ZodNumber;
16370
+ outputTokens: zod.ZodNumber;
16371
+ totalTokens: zod.ZodNumber;
16372
+ }, zod_v4_core.$strip>>;
16373
+ correlationId: zod.ZodString;
16374
+ createdAt: zod.ZodISODateTime;
16375
+ startedAt: zod.ZodOptional<zod.ZodISODateTime>;
16376
+ finishedAt: zod.ZodOptional<zod.ZodISODateTime>;
16377
+ expiresAt: zod.ZodOptional<zod.ZodISODateTime>;
16378
+ href: zod.ZodString;
16379
+ }, zod_v4_core.$strip>;
16380
+ readonly headers: {
16381
+ readonly request: readonly ["Idempotency-Key", "Catalyst-Unattended"];
16382
+ readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
16383
+ };
16384
+ }>;
15356
16385
  readonly "agents.try.open": Operation<{
15357
16386
  readonly id: "agents.try.open";
15358
16387
  readonly method: "POST";
@@ -16146,10 +17175,10 @@ declare const apiOperations: {
16146
17175
  source: zod.ZodOptional<zod.ZodObject<{
16147
17176
  kind: zod.ZodEnum<{
16148
17177
  workflow: "workflow";
17178
+ other: "other";
16149
17179
  connection: "connection";
16150
17180
  data_store: "data_store";
16151
17181
  knowledge_base: "knowledge_base";
16152
- other: "other";
16153
17182
  }>;
16154
17183
  title: zod.ZodOptional<zod.ZodString>;
16155
17184
  service: zod.ZodOptional<zod.ZodString>;
@@ -16171,10 +17200,10 @@ declare const apiOperations: {
16171
17200
  source: zod.ZodObject<{
16172
17201
  kind: zod.ZodEnum<{
16173
17202
  workflow: "workflow";
17203
+ other: "other";
16174
17204
  connection: "connection";
16175
17205
  data_store: "data_store";
16176
17206
  knowledge_base: "knowledge_base";
16177
- other: "other";
16178
17207
  }>;
16179
17208
  title: zod.ZodOptional<zod.ZodString>;
16180
17209
  service: zod.ZodOptional<zod.ZodString>;
@@ -16261,6 +17290,10 @@ declare const apiOperations: {
16261
17290
  administrators: zod.ZodArray<zod.ZodString>;
16262
17291
  }, zod_v4_core.$strip>>;
16263
17292
  canSetAvailability: zod.ZodOptional<zod.ZodBoolean>;
17293
+ agentUse: zod.ZodOptional<zod.ZodEnum<{
17294
+ everyone: "everyone";
17295
+ granted: "granted";
17296
+ }>>;
16264
17297
  unavailableTools: zod.ZodOptional<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
16265
17298
  name: zod.ZodString;
16266
17299
  reason: zod.ZodLiteral<"module_off">;
@@ -16549,6 +17582,10 @@ declare const apiOperations: {
16549
17582
  confirmProcessing: zod.ZodOptional<zod.ZodString>;
16550
17583
  revision: zod.ZodNumber;
16551
17584
  workspaceId: zod.ZodOptional<zod.ZodString>;
17585
+ workflows: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
17586
+ name: zod.ZodString;
17587
+ revision: zod.ZodNumber;
17588
+ }, zod_v4_core.$strict>>>;
16552
17589
  }, zod_v4_core.$strip>;
16553
17590
  readonly response: {
16554
17591
  readonly kind: "json";
@@ -16556,6 +17593,12 @@ declare const apiOperations: {
16556
17593
  draftRevision: zod.ZodNumber;
16557
17594
  publishedRevision: zod.ZodNumber;
16558
17595
  replacedRevision: zod.ZodOptional<zod.ZodNumber>;
17596
+ publishedWith: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
17597
+ kind: zod.ZodLiteral<"workflow">;
17598
+ name: zod.ZodString;
17599
+ publishedRevision: zod.ZodNumber;
17600
+ replacedRevision: zod.ZodOptional<zod.ZodNumber>;
17601
+ }, zod_v4_core.$strip>>>;
16559
17602
  }, zod_v4_core.$strip>;
16560
17603
  };
16561
17604
  readonly errors: readonly ["NOT_FOUND", "VALIDATION_FAILED", "CONFLICT", "PRECONDITION_REQUIRED"];
@@ -16716,6 +17759,12 @@ declare const apiOperations: {
16716
17759
  draftRevision: zod.ZodNumber;
16717
17760
  publishedRevision: zod.ZodNumber;
16718
17761
  replacedRevision: zod.ZodOptional<zod.ZodNumber>;
17762
+ publishedWith: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
17763
+ kind: zod.ZodLiteral<"workflow">;
17764
+ name: zod.ZodString;
17765
+ publishedRevision: zod.ZodNumber;
17766
+ replacedRevision: zod.ZodOptional<zod.ZodNumber>;
17767
+ }, zod_v4_core.$strip>>>;
16719
17768
  }, zod_v4_core.$strip>;
16720
17769
  };
16721
17770
  readonly errors: readonly ["NOT_FOUND", "REVISION_CONFLICT", "PRECONDITION_REQUIRED"];
@@ -18109,6 +19158,165 @@ declare const apiOperations: {
18109
19158
  readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
18110
19159
  };
18111
19160
  }>;
19161
+ readonly "apps.allow_draft_host": Operation<{
19162
+ readonly id: "apps.allow_draft_host";
19163
+ readonly method: "POST";
19164
+ readonly path: "/api/v1/apps/draft-hosts";
19165
+ readonly summary: "Allow an outside host a draft lists for the caller's own view of that draft, before it is published";
19166
+ readonly tag: "Apps";
19167
+ readonly auth: "user";
19168
+ readonly scope: "config_assets:write";
19169
+ readonly requires: readonly [];
19170
+ readonly effect: "changing";
19171
+ readonly body: zod.ZodObject<{
19172
+ fileSetId: zod.ZodString;
19173
+ host: zod.ZodString;
19174
+ }, zod_v4_core.$strict>;
19175
+ readonly response: {
19176
+ readonly kind: "json";
19177
+ readonly schema: zod.ZodObject<{
19178
+ host: zod.ZodString;
19179
+ allowed: zod.ZodLiteral<true>;
19180
+ }, zod_v4_core.$strip>;
19181
+ };
19182
+ readonly errors: readonly ["NOT_FOUND", "FORBIDDEN", "VALIDATION_FAILED"];
19183
+ readonly rateClass: "write";
19184
+ } & {
19185
+ readonly accepted: zod.ZodObject<{
19186
+ id: zod.ZodString;
19187
+ operation: zod.ZodString;
19188
+ effect: zod.ZodEnum<{
19189
+ reading: "reading";
19190
+ changing: "changing";
19191
+ }>;
19192
+ status: zod.ZodEnum<{
19193
+ failed: "failed";
19194
+ running: "running";
19195
+ pending_confirmation: "pending_confirmation";
19196
+ pending_approval: "pending_approval";
19197
+ done: "done";
19198
+ denied: "denied";
19199
+ expired: "expired";
19200
+ }>;
19201
+ actor: zod.ZodObject<{
19202
+ kind: zod.ZodEnum<{
19203
+ user: "user";
19204
+ service_principal: "service_principal";
19205
+ }>;
19206
+ id: zod.ZodString;
19207
+ label: zod.ZodString;
19208
+ }, zod_v4_core.$strip>;
19209
+ origin: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
19210
+ kind: zod.ZodLiteral<"agent">;
19211
+ agentRunId: zod.ZodString;
19212
+ conversationId: zod.ZodString;
19213
+ agentName: zod.ZodString;
19214
+ toolCallId: zod.ZodString;
19215
+ toolName: zod.ZodString;
19216
+ toolRevisionId: zod.ZodOptional<zod.ZodString>;
19217
+ boundBy: zod.ZodOptional<zod.ZodObject<{
19218
+ id: zod.ZodString;
19219
+ label: zod.ZodString;
19220
+ }, zod_v4_core.$strip>>;
19221
+ draft: zod.ZodOptional<zod.ZodObject<{
19222
+ kind: zod.ZodLiteral<"agent_preview">;
19223
+ asset: zod.ZodObject<{
19224
+ kind: zod.ZodString;
19225
+ id: zod.ZodString;
19226
+ name: zod.ZodString;
19227
+ }, zod_v4_core.$strip>;
19228
+ revisionId: zod.ZodString;
19229
+ part: zod.ZodString;
19230
+ }, zod_v4_core.$strip>>;
19231
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19232
+ kind: zod.ZodLiteral<"user">;
19233
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19234
+ kind: zod.ZodLiteral<"cli">;
19235
+ unattended: zod.ZodOptional<zod.ZodLiteral<true>>;
19236
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19237
+ kind: zod.ZodLiteral<"mcp">;
19238
+ clientName: zod.ZodOptional<zod.ZodString>;
19239
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19240
+ kind: zod.ZodLiteral<"app">;
19241
+ appName: zod.ZodOptional<zod.ZodString>;
19242
+ appRevisionId: zod.ZodString;
19243
+ actionName: zod.ZodString;
19244
+ pageSessionId: zod.ZodString;
19245
+ conversationId: zod.ZodOptional<zod.ZodString>;
19246
+ target: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
19247
+ connection: zod.ZodString;
19248
+ operation: zod.ZodString;
19249
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19250
+ dataStore: zod.ZodString;
19251
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19252
+ workflow: zod.ZodString;
19253
+ }, zod_v4_core.$strip>]>>;
19254
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19255
+ kind: zod.ZodLiteral<"workflow">;
19256
+ workflowRunId: zod.ZodString;
19257
+ stepRunId: zod.ZodString;
19258
+ boundBy: zod.ZodOptional<zod.ZodObject<{
19259
+ id: zod.ZodString;
19260
+ label: zod.ZodString;
19261
+ }, zod_v4_core.$strip>>;
19262
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19263
+ kind: zod.ZodLiteral<"schedule">;
19264
+ scheduleId: zod.ZodString;
19265
+ }, zod_v4_core.$strip>], "kind">;
19266
+ target: zod.ZodEnum<{
19267
+ live: "live";
19268
+ test: "test";
19269
+ dry_run: "dry_run";
19270
+ }>;
19271
+ app: zod.ZodOptional<zod.ZodObject<{
19272
+ title: zod.ZodOptional<zod.ZodString>;
19273
+ revision: zod.ZodOptional<zod.ZodNumber>;
19274
+ deleted: zod.ZodBoolean;
19275
+ }, zod_v4_core.$strip>>;
19276
+ workspaceId: zod.ZodOptional<zod.ZodString>;
19277
+ approvalRequestId: zod.ZodOptional<zod.ZodString>;
19278
+ inputHash: zod.ZodString;
19279
+ attempt: zod.ZodNumber;
19280
+ decision: zod.ZodOptional<zod.ZodObject<{
19281
+ mode: zod.ZodEnum<{
19282
+ direct: "direct";
19283
+ confirmed: "confirmed";
19284
+ approved: "approved";
19285
+ declined: "declined";
19286
+ }>;
19287
+ reason: zod.ZodOptional<zod.ZodEnum<{
19288
+ inherited_approval_not_applied: "inherited_approval_not_applied";
19289
+ workflow_publish: "workflow_publish";
19290
+ approved_by_caller: "approved_by_caller";
19291
+ }>>;
19292
+ by: zod.ZodString;
19293
+ byLabel: zod.ZodOptional<zod.ZodString>;
19294
+ at: zod.ZodISODateTime;
19295
+ comment: zod.ZodOptional<zod.ZodString>;
19296
+ }, zod_v4_core.$strip>>;
19297
+ error: zod.ZodOptional<zod.ZodObject<{
19298
+ code: zod.ZodString;
19299
+ message: zod.ZodString;
19300
+ reason: zod.ZodOptional<zod.ZodString>;
19301
+ }, zod_v4_core.$strip>>;
19302
+ usage: zod.ZodOptional<zod.ZodObject<{
19303
+ modelCalls: zod.ZodNumber;
19304
+ inputTokens: zod.ZodNumber;
19305
+ outputTokens: zod.ZodNumber;
19306
+ totalTokens: zod.ZodNumber;
19307
+ }, zod_v4_core.$strip>>;
19308
+ correlationId: zod.ZodString;
19309
+ createdAt: zod.ZodISODateTime;
19310
+ startedAt: zod.ZodOptional<zod.ZodISODateTime>;
19311
+ finishedAt: zod.ZodOptional<zod.ZodISODateTime>;
19312
+ expiresAt: zod.ZodOptional<zod.ZodISODateTime>;
19313
+ href: zod.ZodString;
19314
+ }, zod_v4_core.$strip>;
19315
+ readonly headers: {
19316
+ readonly request: readonly ["Idempotency-Key", "Catalyst-Unattended"];
19317
+ readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
19318
+ };
19319
+ }>;
18112
19320
  readonly "apps.get_from_page": Operation<{
18113
19321
  readonly id: "apps.get_from_page";
18114
19322
  readonly method: "GET";
@@ -18173,6 +19381,10 @@ declare const apiOperations: {
18173
19381
  fileSetId: zod.ZodString;
18174
19382
  number: zod.ZodNumber;
18175
19383
  pageSessionId: zod.ZodString;
19384
+ draftHosts: zod.ZodOptional<zod.ZodObject<{
19385
+ allowable: zod.ZodArray<zod.ZodString>;
19386
+ readsData: zod.ZodBoolean;
19387
+ }, zod_v4_core.$strip>>;
18176
19388
  unassignedScopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18177
19389
  revision: zod.ZodNumber;
18178
19390
  interfacePath: zod.ZodString;
@@ -18182,6 +19394,269 @@ declare const apiOperations: {
18182
19394
  readonly errors: readonly ["NOT_FOUND"];
18183
19395
  readonly rateClass: "read";
18184
19396
  }>;
19397
+ readonly "apps.try_action": Operation<{
19398
+ readonly id: "apps.try_action";
19399
+ readonly method: "POST";
19400
+ readonly path: "/api/v1/apps/:app/draft-actions/:action/tries";
19401
+ 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";
19402
+ readonly tag: "Apps";
19403
+ readonly auth: "user";
19404
+ readonly scope: "config_assets:write";
19405
+ readonly requires: readonly [];
19406
+ readonly effect: "changing";
19407
+ readonly body: zod.ZodObject<{
19408
+ input: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
19409
+ }, zod_v4_core.$strict>;
19410
+ readonly response: {
19411
+ readonly kind: "json";
19412
+ readonly schema: zod.ZodObject<{
19413
+ operationRunId: zod.ZodOptional<zod.ZodString>;
19414
+ status: zod.ZodEnum<{
19415
+ dry_run: "dry_run";
19416
+ pending_approval: "pending_approval";
19417
+ done: "done";
19418
+ }>;
19419
+ target: zod.ZodOptional<zod.ZodEnum<{
19420
+ live: "live";
19421
+ test: "test";
19422
+ dry_run: "dry_run";
19423
+ }>>;
19424
+ result: zod.ZodOptional<zod.ZodUnknown>;
19425
+ message: zod.ZodOptional<zod.ZodString>;
19426
+ workflowRun: zod.ZodOptional<zod.ZodObject<{
19427
+ runId: zod.ZodString;
19428
+ workflow: zod.ZodString;
19429
+ status: zod.ZodEnum<{
19430
+ failed: "failed";
19431
+ running: "running";
19432
+ done: "done";
19433
+ queued: "queued";
19434
+ cancelled: "cancelled";
19435
+ continued: "continued";
19436
+ waiting: "waiting";
19437
+ limit_reached: "limit_reached";
19438
+ }>;
19439
+ revision: zod.ZodObject<{
19440
+ kind: zod.ZodEnum<{
19441
+ draft: "draft";
19442
+ published: "published";
19443
+ }>;
19444
+ number: zod.ZodOptional<zod.ZodNumber>;
19445
+ }, zod_v4_core.$strip>;
19446
+ }, zod_v4_core.$strip>>;
19447
+ }, zod_v4_core.$strip>;
19448
+ };
19449
+ readonly errors: readonly ["NOT_FOUND", "FORBIDDEN", "CONFLICT", "TIMEOUT", "VALIDATION_FAILED"];
19450
+ readonly rateClass: "write";
19451
+ } & {
19452
+ readonly accepted: zod.ZodObject<{
19453
+ id: zod.ZodString;
19454
+ operation: zod.ZodString;
19455
+ effect: zod.ZodEnum<{
19456
+ reading: "reading";
19457
+ changing: "changing";
19458
+ }>;
19459
+ status: zod.ZodEnum<{
19460
+ failed: "failed";
19461
+ running: "running";
19462
+ pending_confirmation: "pending_confirmation";
19463
+ pending_approval: "pending_approval";
19464
+ done: "done";
19465
+ denied: "denied";
19466
+ expired: "expired";
19467
+ }>;
19468
+ actor: zod.ZodObject<{
19469
+ kind: zod.ZodEnum<{
19470
+ user: "user";
19471
+ service_principal: "service_principal";
19472
+ }>;
19473
+ id: zod.ZodString;
19474
+ label: zod.ZodString;
19475
+ }, zod_v4_core.$strip>;
19476
+ origin: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
19477
+ kind: zod.ZodLiteral<"agent">;
19478
+ agentRunId: zod.ZodString;
19479
+ conversationId: zod.ZodString;
19480
+ agentName: zod.ZodString;
19481
+ toolCallId: zod.ZodString;
19482
+ toolName: zod.ZodString;
19483
+ toolRevisionId: zod.ZodOptional<zod.ZodString>;
19484
+ boundBy: zod.ZodOptional<zod.ZodObject<{
19485
+ id: zod.ZodString;
19486
+ label: zod.ZodString;
19487
+ }, zod_v4_core.$strip>>;
19488
+ draft: zod.ZodOptional<zod.ZodObject<{
19489
+ kind: zod.ZodLiteral<"agent_preview">;
19490
+ asset: zod.ZodObject<{
19491
+ kind: zod.ZodString;
19492
+ id: zod.ZodString;
19493
+ name: zod.ZodString;
19494
+ }, zod_v4_core.$strip>;
19495
+ revisionId: zod.ZodString;
19496
+ part: zod.ZodString;
19497
+ }, zod_v4_core.$strip>>;
19498
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19499
+ kind: zod.ZodLiteral<"user">;
19500
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19501
+ kind: zod.ZodLiteral<"cli">;
19502
+ unattended: zod.ZodOptional<zod.ZodLiteral<true>>;
19503
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19504
+ kind: zod.ZodLiteral<"mcp">;
19505
+ clientName: zod.ZodOptional<zod.ZodString>;
19506
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19507
+ kind: zod.ZodLiteral<"app">;
19508
+ appName: zod.ZodOptional<zod.ZodString>;
19509
+ appRevisionId: zod.ZodString;
19510
+ actionName: zod.ZodString;
19511
+ pageSessionId: zod.ZodString;
19512
+ conversationId: zod.ZodOptional<zod.ZodString>;
19513
+ target: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
19514
+ connection: zod.ZodString;
19515
+ operation: zod.ZodString;
19516
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19517
+ dataStore: zod.ZodString;
19518
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19519
+ workflow: zod.ZodString;
19520
+ }, zod_v4_core.$strip>]>>;
19521
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19522
+ kind: zod.ZodLiteral<"workflow">;
19523
+ workflowRunId: zod.ZodString;
19524
+ stepRunId: zod.ZodString;
19525
+ boundBy: zod.ZodOptional<zod.ZodObject<{
19526
+ id: zod.ZodString;
19527
+ label: zod.ZodString;
19528
+ }, zod_v4_core.$strip>>;
19529
+ }, zod_v4_core.$strip>, zod.ZodObject<{
19530
+ kind: zod.ZodLiteral<"schedule">;
19531
+ scheduleId: zod.ZodString;
19532
+ }, zod_v4_core.$strip>], "kind">;
19533
+ target: zod.ZodEnum<{
19534
+ live: "live";
19535
+ test: "test";
19536
+ dry_run: "dry_run";
19537
+ }>;
19538
+ app: zod.ZodOptional<zod.ZodObject<{
19539
+ title: zod.ZodOptional<zod.ZodString>;
19540
+ revision: zod.ZodOptional<zod.ZodNumber>;
19541
+ deleted: zod.ZodBoolean;
19542
+ }, zod_v4_core.$strip>>;
19543
+ workspaceId: zod.ZodOptional<zod.ZodString>;
19544
+ approvalRequestId: zod.ZodOptional<zod.ZodString>;
19545
+ inputHash: zod.ZodString;
19546
+ attempt: zod.ZodNumber;
19547
+ decision: zod.ZodOptional<zod.ZodObject<{
19548
+ mode: zod.ZodEnum<{
19549
+ direct: "direct";
19550
+ confirmed: "confirmed";
19551
+ approved: "approved";
19552
+ declined: "declined";
19553
+ }>;
19554
+ reason: zod.ZodOptional<zod.ZodEnum<{
19555
+ inherited_approval_not_applied: "inherited_approval_not_applied";
19556
+ workflow_publish: "workflow_publish";
19557
+ approved_by_caller: "approved_by_caller";
19558
+ }>>;
19559
+ by: zod.ZodString;
19560
+ byLabel: zod.ZodOptional<zod.ZodString>;
19561
+ at: zod.ZodISODateTime;
19562
+ comment: zod.ZodOptional<zod.ZodString>;
19563
+ }, zod_v4_core.$strip>>;
19564
+ error: zod.ZodOptional<zod.ZodObject<{
19565
+ code: zod.ZodString;
19566
+ message: zod.ZodString;
19567
+ reason: zod.ZodOptional<zod.ZodString>;
19568
+ }, zod_v4_core.$strip>>;
19569
+ usage: zod.ZodOptional<zod.ZodObject<{
19570
+ modelCalls: zod.ZodNumber;
19571
+ inputTokens: zod.ZodNumber;
19572
+ outputTokens: zod.ZodNumber;
19573
+ totalTokens: zod.ZodNumber;
19574
+ }, zod_v4_core.$strip>>;
19575
+ correlationId: zod.ZodString;
19576
+ createdAt: zod.ZodISODateTime;
19577
+ startedAt: zod.ZodOptional<zod.ZodISODateTime>;
19578
+ finishedAt: zod.ZodOptional<zod.ZodISODateTime>;
19579
+ expiresAt: zod.ZodOptional<zod.ZodISODateTime>;
19580
+ href: zod.ZodString;
19581
+ }, zod_v4_core.$strip>;
19582
+ readonly headers: {
19583
+ readonly request: readonly ["Idempotency-Key", "Catalyst-Unattended"];
19584
+ readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
19585
+ };
19586
+ }>;
19587
+ readonly "apps.publish_review": Operation<{
19588
+ readonly id: "apps.publish_review";
19589
+ readonly method: "GET";
19590
+ readonly path: "/api/v1/apps/:app/publish-review";
19591
+ 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";
19592
+ readonly tag: "Apps";
19593
+ readonly auth: "user";
19594
+ readonly scope: "config_assets:read";
19595
+ readonly requires: readonly [];
19596
+ readonly effect: "reading";
19597
+ readonly response: {
19598
+ readonly kind: "json";
19599
+ readonly schema: zod.ZodObject<{
19600
+ app: zod.ZodObject<{
19601
+ name: zod.ZodString;
19602
+ title: zod.ZodString;
19603
+ draftRevision: zod.ZodNumber;
19604
+ publishedRevision: zod.ZodOptional<zod.ZodNumber>;
19605
+ pending: zod.ZodBoolean;
19606
+ narrative: zod.ZodOptional<zod.ZodObject<{
19607
+ summary: zod.ZodString;
19608
+ warnings: zod.ZodArray<zod.ZodString>;
19609
+ }, zod_v4_core.$strip>>;
19610
+ lastChangedBy: zod.ZodOptional<zod.ZodString>;
19611
+ refusals: zod.ZodArray<zod.ZodObject<{
19612
+ reason: zod.ZodString;
19613
+ message: zod.ZodString;
19614
+ right: zod.ZodOptional<zod.ZodString>;
19615
+ }, zod_v4_core.$strip>>;
19616
+ }, zod_v4_core.$strip>;
19617
+ workflows: zod.ZodArray<zod.ZodObject<{
19618
+ name: zod.ZodString;
19619
+ title: zod.ZodString;
19620
+ draftRevision: zod.ZodNumber;
19621
+ publishedRevision: zod.ZodOptional<zod.ZodNumber>;
19622
+ pending: zod.ZodBoolean;
19623
+ narrative: zod.ZodOptional<zod.ZodObject<{
19624
+ summary: zod.ZodString;
19625
+ warnings: zod.ZodArray<zod.ZodString>;
19626
+ }, zod_v4_core.$strip>>;
19627
+ lastChangedBy: zod.ZodOptional<zod.ZodString>;
19628
+ refusals: zod.ZodArray<zod.ZodObject<{
19629
+ reason: zod.ZodString;
19630
+ message: zod.ZodString;
19631
+ right: zod.ZodOptional<zod.ZodString>;
19632
+ }, zod_v4_core.$strip>>;
19633
+ actions: zod.ZodArray<zod.ZodString>;
19634
+ lastTestRun: zod.ZodOptional<zod.ZodObject<{
19635
+ runId: zod.ZodString;
19636
+ status: zod.ZodEnum<{
19637
+ failed: "failed";
19638
+ running: "running";
19639
+ done: "done";
19640
+ queued: "queued";
19641
+ cancelled: "cancelled";
19642
+ continued: "continued";
19643
+ waiting: "waiting";
19644
+ limit_reached: "limit_reached";
19645
+ }>;
19646
+ at: zod.ZodString;
19647
+ }, zod_v4_core.$strip>>;
19648
+ }, zod_v4_core.$strip>>;
19649
+ publishesTogether: zod.ZodBoolean;
19650
+ ready: zod.ZodBoolean;
19651
+ }, zod_v4_core.$strip>;
19652
+ };
19653
+ readonly errors: readonly ["NOT_FOUND", "FORBIDDEN"];
19654
+ readonly rateClass: "read";
19655
+ } & {
19656
+ readonly headers: {
19657
+ readonly response: readonly ["Operation-Run-Id"];
19658
+ };
19659
+ }>;
18185
19660
  readonly "apps.sessions.context": Operation<{
18186
19661
  readonly id: "apps.sessions.context";
18187
19662
  readonly method: "POST";
@@ -18599,6 +20074,15 @@ declare const apiOperations: {
18599
20074
  }, zod_v4_core.$strict>>;
18600
20075
  startedAt: zod.ZodOptional<zod.ZodString>;
18601
20076
  finishedAt: zod.ZodOptional<zod.ZodString>;
20077
+ mode: zod.ZodOptional<zod.ZodLiteral<"test">>;
20078
+ workflowRevision: zod.ZodOptional<zod.ZodObject<{
20079
+ kind: zod.ZodEnum<{
20080
+ draft: "draft";
20081
+ published: "published";
20082
+ }>;
20083
+ number: zod.ZodOptional<zod.ZodNumber>;
20084
+ }, zod_v4_core.$strict>>;
20085
+ simulatedSteps: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
18602
20086
  }, zod_v4_core.$strict>;
18603
20087
  };
18604
20088
  readonly errors: readonly ["NOT_FOUND"];
@@ -18732,6 +20216,11 @@ declare const apiOperations: {
18732
20216
  fileSetId: zod.ZodString;
18733
20217
  number: zod.ZodNumber;
18734
20218
  pageSessionId: zod.ZodString;
20219
+ heldBackHosts: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20220
+ draftHosts: zod.ZodOptional<zod.ZodObject<{
20221
+ allowable: zod.ZodArray<zod.ZodString>;
20222
+ readsData: zod.ZodBoolean;
20223
+ }, zod_v4_core.$strip>>;
18735
20224
  }, zod_v4_core.$strip>;
18736
20225
  };
18737
20226
  readonly errors: readonly ["NOT_FOUND"];
@@ -19070,6 +20559,61 @@ declare const apiOperations: {
19070
20559
  readonly errors: readonly [];
19071
20560
  readonly rateClass: "read";
19072
20561
  }>;
20562
+ readonly "operations.list_callable": Operation<{
20563
+ readonly id: "operations.list_callable";
20564
+ readonly method: "GET";
20565
+ readonly path: "/api/v1/operations/callable";
20566
+ readonly summary: "List a page of the operations a step of a Workflow may call, as far as the caller may call them";
20567
+ readonly tag: "Operations";
20568
+ readonly auth: "principal";
20569
+ readonly scope: "config_assets:read";
20570
+ readonly requires: readonly [];
20571
+ readonly effect: "reading";
20572
+ readonly query: zod.ZodObject<{
20573
+ for: zod.ZodDefault<zod.ZodEnum<{
20574
+ workflow: "workflow";
20575
+ }>>;
20576
+ cursor: zod.ZodOptional<zod.ZodString>;
20577
+ name: zod.ZodOptional<zod.ZodString>;
20578
+ prefix: zod.ZodOptional<zod.ZodString>;
20579
+ }, zod_v4_core.$strip>;
20580
+ readonly response: {
20581
+ readonly kind: "json";
20582
+ readonly schema: zod.ZodObject<{
20583
+ operations: zod.ZodArray<zod.ZodObject<{
20584
+ name: zod.ZodString;
20585
+ effect: zod.ZodEnum<{
20586
+ reading: "reading";
20587
+ changing: "changing";
20588
+ }>;
20589
+ title: zod.ZodString;
20590
+ description: zod.ZodOptional<zod.ZodString>;
20591
+ source: zod.ZodObject<{
20592
+ kind: zod.ZodEnum<{
20593
+ workflow: "workflow";
20594
+ other: "other";
20595
+ connection: "connection";
20596
+ data_store: "data_store";
20597
+ knowledge_base: "knowledge_base";
20598
+ }>;
20599
+ title: zod.ZodOptional<zod.ZodString>;
20600
+ service: zod.ZodOptional<zod.ZodString>;
20601
+ }, zod_v4_core.$strip>;
20602
+ available: zod.ZodBoolean;
20603
+ inputSchema: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
20604
+ outputSchema: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
20605
+ }, zod_v4_core.$strip>>;
20606
+ nextCursor: zod.ZodOptional<zod.ZodString>;
20607
+ truncated: zod.ZodBoolean;
20608
+ }, zod_v4_core.$strip>;
20609
+ };
20610
+ readonly errors: readonly [];
20611
+ readonly rateClass: "read";
20612
+ } & {
20613
+ readonly headers: {
20614
+ readonly response: readonly ["Operation-Run-Id"];
20615
+ };
20616
+ }>;
19073
20617
  readonly "operations.decide": Operation<{
19074
20618
  readonly id: "operations.decide";
19075
20619
  readonly method: "POST";
@@ -19702,7 +21246,8 @@ declare const apiOperations: {
19702
21246
  items: zod.ZodArray<zod.ZodObject<{
19703
21247
  correlationId: zod.ZodString;
19704
21248
  at: zod.ZodISODateTime;
19705
- label: zod.ZodString;
21249
+ type: zod.ZodString;
21250
+ action: zod.ZodOptional<zod.ZodString>;
19706
21251
  tier: zod.ZodEnum<{
19707
21252
  workflow: "workflow";
19708
21253
  governance: "governance";
@@ -20990,10 +22535,12 @@ declare const apiOperations: {
20990
22535
  text: zod.ZodString;
20991
22536
  mode: zod.ZodEnum<{
20992
22537
  queue: "queue";
22538
+ steer: "steer";
20993
22539
  }>;
20994
22540
  status: zod.ZodEnum<{
20995
22541
  pending: "pending";
20996
22542
  dispatched: "dispatched";
22543
+ consumed: "consumed";
20997
22544
  cancelled: "cancelled";
20998
22545
  }>;
20999
22546
  position: zod.ZodNumber;
@@ -21085,6 +22632,12 @@ declare const apiOperations: {
21085
22632
  }>;
21086
22633
  }, zod_v4_core.$strip>>;
21087
22634
  attachmentManifest: zod.ZodUnknown;
22635
+ steered: zod.ZodOptional<zod.ZodObject<{
22636
+ runId: zod.ZodString;
22637
+ followUpId: zod.ZodString;
22638
+ authorUserId: zod.ZodString;
22639
+ typedAt: zod.ZodISODateTime;
22640
+ }, zod_v4_core.$strip>>;
21088
22641
  }, zod_v4_core.$strip>, zod.ZodObject<{
21089
22642
  version: zod.ZodLiteral<1>;
21090
22643
  kind: zod.ZodLiteral<"assistant_tool_calls">;
@@ -21195,6 +22748,11 @@ declare const apiOperations: {
21195
22748
  id: zod.ZodString;
21196
22749
  text: zod.ZodString;
21197
22750
  open: zod.ZodBoolean;
22751
+ }, zod_v4_core.$strip>, zod.ZodObject<{
22752
+ type: zod.ZodLiteral<"user_message">;
22753
+ messageId: zod.ZodString;
22754
+ text: zod.ZodString;
22755
+ createdAt: zod.ZodISODateTime;
21198
22756
  }, zod_v4_core.$strip>, zod.ZodObject<{
21199
22757
  type: zod.ZodLiteral<"tool_call">;
21200
22758
  toolCallId: zod.ZodString;
@@ -21344,6 +22902,11 @@ declare const apiOperations: {
21344
22902
  id: zod.ZodString;
21345
22903
  text: zod.ZodString;
21346
22904
  open: zod.ZodBoolean;
22905
+ }, zod_v4_core.$strip>, zod.ZodObject<{
22906
+ type: zod.ZodLiteral<"user_message">;
22907
+ messageId: zod.ZodString;
22908
+ text: zod.ZodString;
22909
+ createdAt: zod.ZodISODateTime;
21347
22910
  }, zod_v4_core.$strip>, zod.ZodObject<{
21348
22911
  type: zod.ZodLiteral<"tool_call">;
21349
22912
  toolCallId: zod.ZodString;
@@ -21545,6 +23108,12 @@ declare const apiOperations: {
21545
23108
  }>;
21546
23109
  }, zod_v4_core.$strip>>;
21547
23110
  attachmentManifest: zod.ZodUnknown;
23111
+ steered: zod.ZodOptional<zod.ZodObject<{
23112
+ runId: zod.ZodString;
23113
+ followUpId: zod.ZodString;
23114
+ authorUserId: zod.ZodString;
23115
+ typedAt: zod.ZodISODateTime;
23116
+ }, zod_v4_core.$strip>>;
21548
23117
  }, zod_v4_core.$strip>, zod.ZodObject<{
21549
23118
  version: zod.ZodLiteral<1>;
21550
23119
  kind: zod.ZodLiteral<"assistant_tool_calls">;
@@ -21924,10 +23493,64 @@ declare const apiOperations: {
21924
23493
  text: zod.ZodString;
21925
23494
  mode: zod.ZodEnum<{
21926
23495
  queue: "queue";
23496
+ steer: "steer";
23497
+ }>;
23498
+ status: zod.ZodEnum<{
23499
+ pending: "pending";
23500
+ dispatched: "dispatched";
23501
+ consumed: "consumed";
23502
+ cancelled: "cancelled";
23503
+ }>;
23504
+ position: zod.ZodNumber;
23505
+ agentName: zod.ZodString;
23506
+ modelBindingId: zod.ZodOptional<zod.ZodString>;
23507
+ reasoningEffort: zod.ZodOptional<zod.ZodEnum<{
23508
+ none: "none";
23509
+ low: "low";
23510
+ medium: "medium";
23511
+ high: "high";
23512
+ xhigh: "xhigh";
23513
+ max: "max";
23514
+ }>>;
23515
+ idempotencyKey: zod.ZodOptional<zod.ZodString>;
23516
+ createdAt: zod.ZodISODateTime;
23517
+ updatedAt: zod.ZodISODateTime;
23518
+ dispatchedRunId: zod.ZodOptional<zod.ZodString>;
23519
+ }, zod_v4_core.$strip>;
23520
+ }, zod_v4_core.$strip>;
23521
+ };
23522
+ readonly errors: readonly ["NOT_FOUND", "FORBIDDEN", "CONFLICT"];
23523
+ readonly rateClass: "write";
23524
+ }>;
23525
+ readonly "conversations.follow_ups.steer": Operation<{
23526
+ readonly id: "conversations.follow_ups.steer";
23527
+ readonly method: "POST";
23528
+ readonly path: "/api/v1/conversations/:conversationId/follow-ups/:followUpId/steer";
23529
+ readonly summary: "Hand your pending follow-up message to your running turn after its current step";
23530
+ readonly tag: "Conversations";
23531
+ readonly auth: "user";
23532
+ readonly scope: "conversation:write";
23533
+ readonly requires: readonly [];
23534
+ readonly effect: "changing";
23535
+ readonly body: zod.ZodObject<{}, zod_v4_core.$strip>;
23536
+ readonly response: {
23537
+ readonly kind: "json";
23538
+ readonly schema: zod.ZodObject<{
23539
+ followUp: zod.ZodObject<{
23540
+ id: zod.ZodString;
23541
+ clientInstanceId: zod.ZodString;
23542
+ conversationId: zod.ZodString;
23543
+ authorUserId: zod.ZodString;
23544
+ authorDisplayLabel: zod.ZodOptional<zod.ZodString>;
23545
+ text: zod.ZodString;
23546
+ mode: zod.ZodEnum<{
23547
+ queue: "queue";
23548
+ steer: "steer";
21927
23549
  }>;
21928
23550
  status: zod.ZodEnum<{
21929
23551
  pending: "pending";
21930
23552
  dispatched: "dispatched";
23553
+ consumed: "consumed";
21931
23554
  cancelled: "cancelled";
21932
23555
  }>;
21933
23556
  position: zod.ZodNumber;
@@ -21980,7 +23603,10 @@ declare const apiOperations: {
21980
23603
  readonly requires: readonly [];
21981
23604
  readonly effect: "changing";
21982
23605
  readonly body: zod.ZodObject<{
21983
- followUp: zod.ZodOptional<zod.ZodLiteral<"queue">>;
23606
+ followUp: zod.ZodOptional<zod.ZodEnum<{
23607
+ queue: "queue";
23608
+ steer: "steer";
23609
+ }>>;
21984
23610
  idempotencyKey: zod.ZodString;
21985
23611
  agentName: zod.ZodOptional<zod.ZodString>;
21986
23612
  modelBindingId: zod.ZodOptional<zod.ZodString>;
@@ -22076,6 +23702,12 @@ declare const apiOperations: {
22076
23702
  }>;
22077
23703
  }, zod_v4_core.$strip>>;
22078
23704
  attachmentManifest: zod.ZodUnknown;
23705
+ steered: zod.ZodOptional<zod.ZodObject<{
23706
+ runId: zod.ZodString;
23707
+ followUpId: zod.ZodString;
23708
+ authorUserId: zod.ZodString;
23709
+ typedAt: zod.ZodISODateTime;
23710
+ }, zod_v4_core.$strip>>;
22079
23711
  }, zod_v4_core.$strip>, zod.ZodObject<{
22080
23712
  version: zod.ZodLiteral<1>;
22081
23713
  kind: zod.ZodLiteral<"assistant_tool_calls">;
@@ -22229,10 +23861,12 @@ declare const apiOperations: {
22229
23861
  text: zod.ZodString;
22230
23862
  mode: zod.ZodEnum<{
22231
23863
  queue: "queue";
23864
+ steer: "steer";
22232
23865
  }>;
22233
23866
  status: zod.ZodEnum<{
22234
23867
  pending: "pending";
22235
23868
  dispatched: "dispatched";
23869
+ consumed: "consumed";
22236
23870
  cancelled: "cancelled";
22237
23871
  }>;
22238
23872
  position: zod.ZodNumber;
@@ -22324,6 +23958,12 @@ declare const apiOperations: {
22324
23958
  }>;
22325
23959
  }, zod_v4_core.$strip>>;
22326
23960
  attachmentManifest: zod.ZodUnknown;
23961
+ steered: zod.ZodOptional<zod.ZodObject<{
23962
+ runId: zod.ZodString;
23963
+ followUpId: zod.ZodString;
23964
+ authorUserId: zod.ZodString;
23965
+ typedAt: zod.ZodISODateTime;
23966
+ }, zod_v4_core.$strip>>;
22327
23967
  }, zod_v4_core.$strip>, zod.ZodObject<{
22328
23968
  version: zod.ZodLiteral<1>;
22329
23969
  kind: zod.ZodLiteral<"assistant_tool_calls">;
@@ -22434,6 +24074,11 @@ declare const apiOperations: {
22434
24074
  id: zod.ZodString;
22435
24075
  text: zod.ZodString;
22436
24076
  open: zod.ZodBoolean;
24077
+ }, zod_v4_core.$strip>, zod.ZodObject<{
24078
+ type: zod.ZodLiteral<"user_message">;
24079
+ messageId: zod.ZodString;
24080
+ text: zod.ZodString;
24081
+ createdAt: zod.ZodISODateTime;
22437
24082
  }, zod_v4_core.$strip>, zod.ZodObject<{
22438
24083
  type: zod.ZodLiteral<"tool_call">;
22439
24084
  toolCallId: zod.ZodString;
@@ -22583,6 +24228,11 @@ declare const apiOperations: {
22583
24228
  id: zod.ZodString;
22584
24229
  text: zod.ZodString;
22585
24230
  open: zod.ZodBoolean;
24231
+ }, zod_v4_core.$strip>, zod.ZodObject<{
24232
+ type: zod.ZodLiteral<"user_message">;
24233
+ messageId: zod.ZodString;
24234
+ text: zod.ZodString;
24235
+ createdAt: zod.ZodISODateTime;
22586
24236
  }, zod_v4_core.$strip>, zod.ZodObject<{
22587
24237
  type: zod.ZodLiteral<"tool_call">;
22588
24238
  toolCallId: zod.ZodString;
@@ -22722,10 +24372,12 @@ declare const apiOperations: {
22722
24372
  text: zod.ZodString;
22723
24373
  mode: zod.ZodEnum<{
22724
24374
  queue: "queue";
24375
+ steer: "steer";
22725
24376
  }>;
22726
24377
  status: zod.ZodEnum<{
22727
24378
  pending: "pending";
22728
24379
  dispatched: "dispatched";
24380
+ consumed: "consumed";
22729
24381
  cancelled: "cancelled";
22730
24382
  }>;
22731
24383
  position: zod.ZodNumber;
@@ -22760,7 +24412,10 @@ declare const apiOperations: {
22760
24412
  readonly requires: readonly [];
22761
24413
  readonly effect: "changing";
22762
24414
  readonly body: zod.ZodObject<{
22763
- followUp: zod.ZodOptional<zod.ZodLiteral<"queue">>;
24415
+ followUp: zod.ZodOptional<zod.ZodEnum<{
24416
+ queue: "queue";
24417
+ steer: "steer";
24418
+ }>>;
22764
24419
  idempotencyKey: zod.ZodString;
22765
24420
  agentName: zod.ZodOptional<zod.ZodString>;
22766
24421
  modelBindingId: zod.ZodOptional<zod.ZodString>;
@@ -22869,6 +24524,12 @@ declare const apiOperations: {
22869
24524
  }>;
22870
24525
  }, zod_v4_core.$strip>>;
22871
24526
  attachmentManifest: zod.ZodUnknown;
24527
+ steered: zod.ZodOptional<zod.ZodObject<{
24528
+ runId: zod.ZodString;
24529
+ followUpId: zod.ZodString;
24530
+ authorUserId: zod.ZodString;
24531
+ typedAt: zod.ZodISODateTime;
24532
+ }, zod_v4_core.$strip>>;
22872
24533
  }, zod_v4_core.$strip>, zod.ZodObject<{
22873
24534
  version: zod.ZodLiteral<1>;
22874
24535
  kind: zod.ZodLiteral<"assistant_tool_calls">;
@@ -23022,10 +24683,12 @@ declare const apiOperations: {
23022
24683
  text: zod.ZodString;
23023
24684
  mode: zod.ZodEnum<{
23024
24685
  queue: "queue";
24686
+ steer: "steer";
23025
24687
  }>;
23026
24688
  status: zod.ZodEnum<{
23027
24689
  pending: "pending";
23028
24690
  dispatched: "dispatched";
24691
+ consumed: "consumed";
23029
24692
  cancelled: "cancelled";
23030
24693
  }>;
23031
24694
  position: zod.ZodNumber;
@@ -23117,6 +24780,12 @@ declare const apiOperations: {
23117
24780
  }>;
23118
24781
  }, zod_v4_core.$strip>>;
23119
24782
  attachmentManifest: zod.ZodUnknown;
24783
+ steered: zod.ZodOptional<zod.ZodObject<{
24784
+ runId: zod.ZodString;
24785
+ followUpId: zod.ZodString;
24786
+ authorUserId: zod.ZodString;
24787
+ typedAt: zod.ZodISODateTime;
24788
+ }, zod_v4_core.$strip>>;
23120
24789
  }, zod_v4_core.$strip>, zod.ZodObject<{
23121
24790
  version: zod.ZodLiteral<1>;
23122
24791
  kind: zod.ZodLiteral<"assistant_tool_calls">;
@@ -23227,6 +24896,11 @@ declare const apiOperations: {
23227
24896
  id: zod.ZodString;
23228
24897
  text: zod.ZodString;
23229
24898
  open: zod.ZodBoolean;
24899
+ }, zod_v4_core.$strip>, zod.ZodObject<{
24900
+ type: zod.ZodLiteral<"user_message">;
24901
+ messageId: zod.ZodString;
24902
+ text: zod.ZodString;
24903
+ createdAt: zod.ZodISODateTime;
23230
24904
  }, zod_v4_core.$strip>, zod.ZodObject<{
23231
24905
  type: zod.ZodLiteral<"tool_call">;
23232
24906
  toolCallId: zod.ZodString;
@@ -23376,6 +25050,11 @@ declare const apiOperations: {
23376
25050
  id: zod.ZodString;
23377
25051
  text: zod.ZodString;
23378
25052
  open: zod.ZodBoolean;
25053
+ }, zod_v4_core.$strip>, zod.ZodObject<{
25054
+ type: zod.ZodLiteral<"user_message">;
25055
+ messageId: zod.ZodString;
25056
+ text: zod.ZodString;
25057
+ createdAt: zod.ZodISODateTime;
23379
25058
  }, zod_v4_core.$strip>, zod.ZodObject<{
23380
25059
  type: zod.ZodLiteral<"tool_call">;
23381
25060
  toolCallId: zod.ZodString;
@@ -23546,10 +25225,12 @@ declare const apiOperations: {
23546
25225
  text: zod.ZodString;
23547
25226
  mode: zod.ZodEnum<{
23548
25227
  queue: "queue";
25228
+ steer: "steer";
23549
25229
  }>;
23550
25230
  status: zod.ZodEnum<{
23551
25231
  pending: "pending";
23552
25232
  dispatched: "dispatched";
25233
+ consumed: "consumed";
23553
25234
  cancelled: "cancelled";
23554
25235
  }>;
23555
25236
  position: zod.ZodNumber;
@@ -23592,6 +25273,19 @@ declare const apiOperations: {
23592
25273
  text: zod.ZodString;
23593
25274
  metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
23594
25275
  }, zod_v4_core.$strip>;
25276
+ }, zod_v4_core.$strip>, zod.ZodObject<{
25277
+ type: zod.ZodLiteral<"user_message_steered">;
25278
+ runId: zod.ZodString;
25279
+ sequence: zod.ZodNumber;
25280
+ createdAt: zod.ZodISODateTime;
25281
+ followUpId: zod.ZodString;
25282
+ message: zod.ZodObject<{
25283
+ id: zod.ZodString;
25284
+ role: zod.ZodLiteral<"user">;
25285
+ text: zod.ZodString;
25286
+ createdAt: zod.ZodISODateTime;
25287
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
25288
+ }, zod_v4_core.$strip>;
23595
25289
  }, zod_v4_core.$strip>, zod.ZodObject<{
23596
25290
  type: zod.ZodLiteral<"tool_call_preparing">;
23597
25291
  runId: zod.ZodString;
@@ -26498,7 +28192,7 @@ declare const apiOperations: {
26498
28192
  readonly id: "roles.update";
26499
28193
  readonly method: "PATCH";
26500
28194
  readonly path: "/api/v1/instance/access/roles/:roleId";
26501
- readonly summary: "Change a role's name, description or grants. Only a superadmin edits `user` and `admin`; `superadmin` is never edited.";
28195
+ readonly summary: "Change a role's name, description or grants. Editing `user` and `admin` also needs `roles.edit_built_in`; `superadmin` is never edited.";
26502
28196
  readonly tag: "Access";
26503
28197
  readonly auth: "user";
26504
28198
  readonly scope: "user_admin:write";
@@ -26899,7 +28593,7 @@ declare const apiOperations: {
26899
28593
  readonly id: "roles.reset";
26900
28594
  readonly method: "POST";
26901
28595
  readonly path: "/api/v1/instance/access/roles/:roleId/reset";
26902
- readonly summary: "Reset `user` or `admin` to the release's default, which also settles every pending action. Only a superadmin resets.";
28596
+ readonly summary: "Reset `user` or `admin` to the release's default, which also settles every pending action. Needs `users.manage` and `roles.edit_built_in`.";
26903
28597
  readonly tag: "Access";
26904
28598
  readonly auth: "user";
26905
28599
  readonly scope: "user_admin:write";
@@ -27091,7 +28785,7 @@ declare const apiOperations: {
27091
28785
  readonly id: "roles.pending.decide";
27092
28786
  readonly method: "POST";
27093
28787
  readonly path: "/api/v1/instance/access/roles/:roleId/pending";
27094
- readonly summary: "Decide one action a release changed in the default of an edited `user` or `admin`: apply it or dismiss it. Only a superadmin decides.";
28788
+ readonly summary: "Decide one action a release changed in the default of an edited `user` or `admin`: apply it or dismiss it. Needs `users.manage` and `roles.edit_built_in`.";
27095
28789
  readonly tag: "Access";
27096
28790
  readonly auth: "user";
27097
28791
  readonly scope: "user_admin:write";
@@ -27795,6 +29489,10 @@ declare const apiOperations: {
27795
29489
  en: "en";
27796
29490
  de: "de";
27797
29491
  }>>;
29492
+ followUpMode: zod.ZodOptional<zod.ZodEnum<{
29493
+ queue: "queue";
29494
+ steer: "steer";
29495
+ }>>;
27798
29496
  instanceAdminName: zod.ZodOptional<zod.ZodString>;
27799
29497
  roles: zod.ZodArray<zod.ZodString>;
27800
29498
  permissionRefs: zod.ZodArray<zod.ZodString>;
@@ -27872,6 +29570,10 @@ declare const apiOperations: {
27872
29570
  en: "en";
27873
29571
  de: "de";
27874
29572
  }>>>;
29573
+ followUpMode: zod.ZodOptional<zod.ZodEnum<{
29574
+ queue: "queue";
29575
+ steer: "steer";
29576
+ }>>;
27875
29577
  }, zod_v4_core.$strip>;
27876
29578
  readonly response: {
27877
29579
  readonly kind: "json";
@@ -27885,6 +29587,10 @@ declare const apiOperations: {
27885
29587
  en: "en";
27886
29588
  de: "de";
27887
29589
  }>>;
29590
+ followUpMode: zod.ZodOptional<zod.ZodEnum<{
29591
+ queue: "queue";
29592
+ steer: "steer";
29593
+ }>>;
27888
29594
  instanceAdminName: zod.ZodOptional<zod.ZodString>;
27889
29595
  roles: zod.ZodArray<zod.ZodString>;
27890
29596
  permissionRefs: zod.ZodArray<zod.ZodString>;
@@ -29867,6 +31573,238 @@ declare const effectivePermissionsSchema: z.ZodObject<{
29867
31573
  roleId: z.ZodOptional<z.ZodString>;
29868
31574
  }, z.core.$strip>>;
29869
31575
  }, z.core.$strip>;
31576
+ /** Where a right comes from: one entry that gives or refuses it, with its place named. */
31577
+ declare const accessOriginSchema: z.ZodObject<{
31578
+ source: z.ZodEnum<{
31579
+ role: "role";
31580
+ legacy_ref: "legacy_ref";
31581
+ grant: "grant";
31582
+ membership: "membership";
31583
+ }>;
31584
+ effect: z.ZodEnum<{
31585
+ allow: "allow";
31586
+ deny: "deny";
31587
+ }>;
31588
+ scopeKind: z.ZodEnum<{
31589
+ instance: "instance";
31590
+ workspace: "workspace";
31591
+ asset: "asset";
31592
+ }>;
31593
+ scopeId: z.ZodOptional<z.ZodString>;
31594
+ roleId: z.ZodOptional<z.ZodString>;
31595
+ scopeAsset: z.ZodOptional<z.ZodObject<{
31596
+ kind: z.ZodString;
31597
+ name: z.ZodOptional<z.ZodString>;
31598
+ title: z.ZodOptional<z.ZodString>;
31599
+ active: z.ZodBoolean;
31600
+ }, z.core.$strip>>;
31601
+ scopeWorkspace: z.ZodOptional<z.ZodObject<{
31602
+ personal: z.ZodBoolean;
31603
+ name: z.ZodOptional<z.ZodString>;
31604
+ }, z.core.$strip>>;
31605
+ }, z.core.$strip>;
31606
+ /** A role an origin names. A built-in role's name is its id; the interface has words for it. */
31607
+ declare const accessOriginRoleSchema: z.ZodObject<{
31608
+ id: z.ZodString;
31609
+ name: z.ZodString;
31610
+ builtIn: z.ZodBoolean;
31611
+ }, z.core.$strip>;
31612
+ /**
31613
+ * Why a right is refused: a covering deny, nothing that grants it, or a holder that is not
31614
+ * active and so holds nothing.
31615
+ */
31616
+ declare const REFUSAL_REASONS: readonly ["denied", "no_grant", "holder_inactive"];
31617
+ type RefusalReason = (typeof REFUSAL_REASONS)[number];
31618
+ /** The verbs a check on one asset answers for, in the order a screen lists them. */
31619
+ declare const ASSET_CHECK_VERBS: readonly ["read", "use", "write", "delete"];
31620
+ /**
31621
+ * What one holder holds and is refused, each right at the place an entry names it, decided by
31622
+ * the server's evaluator with where it comes from. A right a role, a grant or a membership
31623
+ * gives is listed with every entry that gives it there (`grantedBy`). A deny that refuses it
31624
+ * there is `deniedBy`, which can lie at a wider place. A deny with nothing it takes away is
31625
+ * listed on its own place, refused, with no `grantedBy`.
31626
+ */
31627
+ declare const holderRightsSchema: z.ZodObject<{
31628
+ holderActive: z.ZodBoolean;
31629
+ roles: z.ZodArray<z.ZodObject<{
31630
+ id: z.ZodString;
31631
+ name: z.ZodString;
31632
+ builtIn: z.ZodBoolean;
31633
+ }, z.core.$strip>>;
31634
+ rights: z.ZodArray<z.ZodObject<{
31635
+ action: z.ZodString;
31636
+ scopeKind: z.ZodEnum<{
31637
+ instance: "instance";
31638
+ workspace: "workspace";
31639
+ asset: "asset";
31640
+ }>;
31641
+ scopeId: z.ZodOptional<z.ZodString>;
31642
+ allowed: z.ZodBoolean;
31643
+ reason: z.ZodOptional<z.ZodEnum<{
31644
+ denied: "denied";
31645
+ no_grant: "no_grant";
31646
+ holder_inactive: "holder_inactive";
31647
+ }>>;
31648
+ grantedBy: z.ZodArray<z.ZodObject<{
31649
+ source: z.ZodEnum<{
31650
+ role: "role";
31651
+ legacy_ref: "legacy_ref";
31652
+ grant: "grant";
31653
+ membership: "membership";
31654
+ }>;
31655
+ effect: z.ZodEnum<{
31656
+ allow: "allow";
31657
+ deny: "deny";
31658
+ }>;
31659
+ scopeKind: z.ZodEnum<{
31660
+ instance: "instance";
31661
+ workspace: "workspace";
31662
+ asset: "asset";
31663
+ }>;
31664
+ scopeId: z.ZodOptional<z.ZodString>;
31665
+ roleId: z.ZodOptional<z.ZodString>;
31666
+ scopeAsset: z.ZodOptional<z.ZodObject<{
31667
+ kind: z.ZodString;
31668
+ name: z.ZodOptional<z.ZodString>;
31669
+ title: z.ZodOptional<z.ZodString>;
31670
+ active: z.ZodBoolean;
31671
+ }, z.core.$strip>>;
31672
+ scopeWorkspace: z.ZodOptional<z.ZodObject<{
31673
+ personal: z.ZodBoolean;
31674
+ name: z.ZodOptional<z.ZodString>;
31675
+ }, z.core.$strip>>;
31676
+ }, z.core.$strip>>;
31677
+ deniedBy: z.ZodOptional<z.ZodObject<{
31678
+ source: z.ZodEnum<{
31679
+ role: "role";
31680
+ legacy_ref: "legacy_ref";
31681
+ grant: "grant";
31682
+ membership: "membership";
31683
+ }>;
31684
+ effect: z.ZodEnum<{
31685
+ allow: "allow";
31686
+ deny: "deny";
31687
+ }>;
31688
+ scopeKind: z.ZodEnum<{
31689
+ instance: "instance";
31690
+ workspace: "workspace";
31691
+ asset: "asset";
31692
+ }>;
31693
+ scopeId: z.ZodOptional<z.ZodString>;
31694
+ roleId: z.ZodOptional<z.ZodString>;
31695
+ scopeAsset: z.ZodOptional<z.ZodObject<{
31696
+ kind: z.ZodString;
31697
+ name: z.ZodOptional<z.ZodString>;
31698
+ title: z.ZodOptional<z.ZodString>;
31699
+ active: z.ZodBoolean;
31700
+ }, z.core.$strip>>;
31701
+ scopeWorkspace: z.ZodOptional<z.ZodObject<{
31702
+ personal: z.ZodBoolean;
31703
+ name: z.ZodOptional<z.ZodString>;
31704
+ }, z.core.$strip>>;
31705
+ }, z.core.$strip>>;
31706
+ scopeAsset: z.ZodOptional<z.ZodObject<{
31707
+ kind: z.ZodString;
31708
+ name: z.ZodOptional<z.ZodString>;
31709
+ title: z.ZodOptional<z.ZodString>;
31710
+ active: z.ZodBoolean;
31711
+ }, z.core.$strip>>;
31712
+ scopeWorkspace: z.ZodOptional<z.ZodObject<{
31713
+ personal: z.ZodBoolean;
31714
+ name: z.ZodOptional<z.ZodString>;
31715
+ }, z.core.$strip>>;
31716
+ availability: z.ZodOptional<z.ZodEnum<{
31717
+ instance: "instance";
31718
+ self: "self";
31719
+ workspace: "workspace";
31720
+ }>>;
31721
+ onlyInWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
31722
+ personal: z.ZodBoolean;
31723
+ name: z.ZodOptional<z.ZodString>;
31724
+ }, z.core.$strip>>>;
31725
+ }, z.core.$strip>>;
31726
+ }, z.core.$strip>;
31727
+ declare const assetRightsCheckQuerySchema: z.ZodObject<{
31728
+ holderKind: z.ZodEnum<{
31729
+ user: "user";
31730
+ service_principal: "service_principal";
31731
+ }>;
31732
+ holderId: z.ZodString;
31733
+ kind: z.ZodString;
31734
+ assetId: z.ZodOptional<z.ZodString>;
31735
+ }, z.core.$strip>;
31736
+ /**
31737
+ * What one holder may do with one asset, per right of its kind, decided by the server's
31738
+ * evaluator with the entry that decides it. A delete is refused, too, where reading or
31739
+ * writing the asset is denied: `deniedThrough` names that verb.
31740
+ */
31741
+ declare const assetRightsCheckSchema: z.ZodObject<{
31742
+ holderActive: z.ZodBoolean;
31743
+ roles: z.ZodArray<z.ZodObject<{
31744
+ id: z.ZodString;
31745
+ name: z.ZodString;
31746
+ builtIn: z.ZodBoolean;
31747
+ }, z.core.$strip>>;
31748
+ actions: z.ZodArray<z.ZodObject<{
31749
+ availability: z.ZodOptional<z.ZodEnum<{
31750
+ instance: "instance";
31751
+ self: "self";
31752
+ workspace: "workspace";
31753
+ }>>;
31754
+ onlyInWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
31755
+ personal: z.ZodBoolean;
31756
+ name: z.ZodOptional<z.ZodString>;
31757
+ }, z.core.$strip>>>;
31758
+ verb: z.ZodEnum<{
31759
+ read: "read";
31760
+ write: "write";
31761
+ delete: "delete";
31762
+ use: "use";
31763
+ }>;
31764
+ action: z.ZodString;
31765
+ allowed: z.ZodBoolean;
31766
+ reason: z.ZodOptional<z.ZodEnum<{
31767
+ denied: "denied";
31768
+ no_grant: "no_grant";
31769
+ holder_inactive: "holder_inactive";
31770
+ }>>;
31771
+ decidedBy: z.ZodOptional<z.ZodObject<{
31772
+ source: z.ZodEnum<{
31773
+ role: "role";
31774
+ legacy_ref: "legacy_ref";
31775
+ grant: "grant";
31776
+ membership: "membership";
31777
+ }>;
31778
+ effect: z.ZodEnum<{
31779
+ allow: "allow";
31780
+ deny: "deny";
31781
+ }>;
31782
+ scopeKind: z.ZodEnum<{
31783
+ instance: "instance";
31784
+ workspace: "workspace";
31785
+ asset: "asset";
31786
+ }>;
31787
+ scopeId: z.ZodOptional<z.ZodString>;
31788
+ roleId: z.ZodOptional<z.ZodString>;
31789
+ scopeAsset: z.ZodOptional<z.ZodObject<{
31790
+ kind: z.ZodString;
31791
+ name: z.ZodOptional<z.ZodString>;
31792
+ title: z.ZodOptional<z.ZodString>;
31793
+ active: z.ZodBoolean;
31794
+ }, z.core.$strip>>;
31795
+ scopeWorkspace: z.ZodOptional<z.ZodObject<{
31796
+ personal: z.ZodBoolean;
31797
+ name: z.ZodOptional<z.ZodString>;
31798
+ }, z.core.$strip>>;
31799
+ }, z.core.$strip>>;
31800
+ deniedThrough: z.ZodOptional<z.ZodEnum<{
31801
+ read: "read";
31802
+ write: "write";
31803
+ delete: "delete";
31804
+ use: "use";
31805
+ }>>;
31806
+ }, z.core.$strip>>;
31807
+ }, z.core.$strip>;
29870
31808
  /**
29871
31809
  * Keeps one role small. The default of `admin` has about fifty grants and a custom role is a
29872
31810
  * short list; a longer one is refused as a validation error that names this limit.
@@ -29888,7 +31826,7 @@ declare const roleGrantSchema: z.ZodObject<{
29888
31826
  }, z.core.$strip>;
29889
31827
  /**
29890
31828
  * An action a release added to (`added`) or took out of (`removed`) the default of a built-in
29891
- * role that a superadmin had edited. It waits for a superadmin's decision.
31829
+ * role that somebody had edited. It waits for the decision of a holder of `roles.edit_built_in`.
29892
31830
  */
29893
31831
  declare const rolePendingActionSchema: z.ZodObject<{
29894
31832
  action: z.ZodString;
@@ -29898,8 +31836,8 @@ declare const rolePendingActionSchema: z.ZodObject<{
29898
31836
  }>;
29899
31837
  }, z.core.$strip>;
29900
31838
  /**
29901
- * A role of the instance. `user` and `admin` are built in: a superadmin edits and resets them,
29902
- * and nobody renames or deletes them. `superadmin` is built in and read-only: it holds every
31839
+ * A role of the instance. `user` and `admin` are built in: a holder of `roles.edit_built_in`
31840
+ * edits and resets them, and nobody renames or deletes them. `superadmin` is built in and read-only: it holds every
29903
31841
  * action of the release except `assets.release`. A custom role is written by a holder of
29904
31842
  * `users.manage`.
29905
31843
  */
@@ -30019,8 +31957,42 @@ type Role = z.infer<typeof roleSchema>;
30019
31957
  type RoleGrantInput = z.input<typeof roleGrantSchema>;
30020
31958
  type CreatePermissionGrantRequest = z.input<typeof createPermissionGrantRequestSchema>;
30021
31959
  type EffectivePermissions = z.infer<typeof effectivePermissionsSchema>;
31960
+ type HolderRights = z.infer<typeof holderRightsSchema>;
31961
+ type AssetRightsCheck = z.infer<typeof assetRightsCheckSchema>;
31962
+ type AccessOrigin = z.infer<typeof accessOriginSchema>;
30022
31963
  type WorkspaceBuildLimits = z.infer<typeof workspaceBuildLimitsSchema>;
30023
31964
  type UpdateWorkspaceBuildLimitsRequest = z.input<typeof updateWorkspaceBuildLimitsRequestSchema>;
31965
+ /**
31966
+ * Instance > Access > Data access: the declared dimensions, every assignment the reader may
31967
+ * see, and each active person the reader may manage with their groups and what they see.
31968
+ */
31969
+ declare const scopeAssignmentsOverviewSchema: z.ZodObject<{
31970
+ dimensions: z.ZodRecord<z.ZodString, z.ZodObject<{
31971
+ label: z.ZodString;
31972
+ valueType: z.ZodLiteral<"text">;
31973
+ }, z.core.$strict>>;
31974
+ assignments: z.ZodArray<z.ZodObject<{
31975
+ dimension: z.ZodString;
31976
+ holderKind: z.ZodEnum<{
31977
+ user: "user";
31978
+ service_principal: "service_principal";
31979
+ group: "group";
31980
+ }>;
31981
+ holderId: z.ZodString;
31982
+ effect: z.ZodEnum<{
31983
+ allow: "allow";
31984
+ deny: "deny";
31985
+ }>;
31986
+ values: z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>;
31987
+ }, z.core.$strict>>;
31988
+ people: z.ZodArray<z.ZodObject<{
31989
+ id: z.ZodString;
31990
+ displayLabel: z.ZodString;
31991
+ groups: z.ZodArray<z.ZodString>;
31992
+ effective: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
31993
+ }, z.core.$strip>>;
31994
+ }, z.core.$strip>;
31995
+ type ScopeAssignmentsOverview = z.infer<typeof scopeAssignmentsOverviewSchema>;
30024
31996
 
30025
31997
  declare const agentDraftSchema: z.ZodObject<{
30026
31998
  agent: z.ZodString;
@@ -30113,6 +32085,19 @@ declare const discardAgentDraftRequestSchema: z.ZodObject<{
30113
32085
  declare const discardAgentDraftResponseSchema: z.ZodObject<{
30114
32086
  discarded: z.ZodLiteral<true>;
30115
32087
  }, z.core.$strip>;
32088
+ declare const setAgentUseRequestSchema: z.ZodObject<{
32089
+ use: z.ZodEnum<{
32090
+ everyone: "everyone";
32091
+ granted: "granted";
32092
+ }>;
32093
+ expectedAssetId: z.ZodOptional<z.ZodString>;
32094
+ }, z.core.$strip>;
32095
+ declare const setAgentUseResponseSchema: z.ZodObject<{
32096
+ use: z.ZodEnum<{
32097
+ everyone: "everyone";
32098
+ granted: "granted";
32099
+ }>;
32100
+ }, z.core.$strip>;
30116
32101
  declare const agentTryConversationResponseSchema: z.ZodObject<{
30117
32102
  conversation: z.ZodObject<{
30118
32103
  id: z.ZodString;
@@ -30393,12 +32378,29 @@ declare const appPreviewSchema: z.ZodObject<{
30393
32378
  fileSetId: z.ZodString;
30394
32379
  number: z.ZodNumber;
30395
32380
  pageSessionId: z.ZodString;
32381
+ draftHosts: z.ZodOptional<z.ZodObject<{
32382
+ allowable: z.ZodArray<z.ZodString>;
32383
+ readsData: z.ZodBoolean;
32384
+ }, z.core.$strip>>;
30396
32385
  unassignedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
30397
32386
  revision: z.ZodNumber;
30398
32387
  interfacePath: z.ZodString;
30399
32388
  heldBackHosts: z.ZodArray<z.ZodString>;
30400
32389
  }, z.core.$strip>;
30401
32390
  type AppPreviewResponse = z.infer<typeof appPreviewSchema>;
32391
+ /**
32392
+ * A person allows an outside host for their own view of a draft (DRAFT-HOSTS-1): the draft of
32393
+ * an App, or a Page of a conversation that is no App yet. `fileSetId` is the revision their
32394
+ * preview shows; the host must be one its manifest lists and the frame holds back.
32395
+ */
32396
+ declare const allowDraftHostRequestSchema: z.ZodObject<{
32397
+ fileSetId: z.ZodString;
32398
+ host: z.ZodString;
32399
+ }, z.core.$strict>;
32400
+ declare const allowDraftHostResponseSchema: z.ZodObject<{
32401
+ host: z.ZodString;
32402
+ allowed: z.ZodLiteral<true>;
32403
+ }, z.core.$strip>;
30402
32404
  declare const appStorageWriteResponseSchema: z.ZodObject<{
30403
32405
  saved: z.ZodLiteral<true>;
30404
32406
  }, z.core.$strict>;
@@ -30459,6 +32461,118 @@ declare const appActionCallResultSchema: z.ZodUnion<readonly [z.ZodObject<{
30459
32461
  result: z.ZodUnknown;
30460
32462
  }, z.core.$strip>]>;
30461
32463
  type AppSessionContextResponse = z.infer<typeof appSessionContextSchema>;
32464
+ /** What an agent tries one action of an App's draft with: the action's parameters, by name. */
32465
+ declare const appTryActionRequestSchema: z.ZodObject<{
32466
+ input: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
32467
+ }, z.core.$strict>;
32468
+ /**
32469
+ * How a try of one action of an App's draft went (DP-2): the answer the button of the draft
32470
+ * gets, with the run it left and where the call went. A `workflow` action names the test run
32471
+ * it started and which revision of the Workflow runs in it; the run goes on after the answer
32472
+ * and is followed with `workflows.get_run` and `workflows.list_step_runs`.
32473
+ */
32474
+ declare const appTryActionResultSchema: z.ZodObject<{
32475
+ operationRunId: z.ZodOptional<z.ZodString>;
32476
+ status: z.ZodEnum<{
32477
+ dry_run: "dry_run";
32478
+ pending_approval: "pending_approval";
32479
+ done: "done";
32480
+ }>;
32481
+ target: z.ZodOptional<z.ZodEnum<{
32482
+ live: "live";
32483
+ test: "test";
32484
+ dry_run: "dry_run";
32485
+ }>>;
32486
+ result: z.ZodOptional<z.ZodUnknown>;
32487
+ message: z.ZodOptional<z.ZodString>;
32488
+ workflowRun: z.ZodOptional<z.ZodObject<{
32489
+ runId: z.ZodString;
32490
+ workflow: z.ZodString;
32491
+ status: z.ZodEnum<{
32492
+ failed: "failed";
32493
+ running: "running";
32494
+ done: "done";
32495
+ queued: "queued";
32496
+ cancelled: "cancelled";
32497
+ continued: "continued";
32498
+ waiting: "waiting";
32499
+ limit_reached: "limit_reached";
32500
+ }>;
32501
+ revision: z.ZodObject<{
32502
+ kind: z.ZodEnum<{
32503
+ draft: "draft";
32504
+ published: "published";
32505
+ }>;
32506
+ number: z.ZodOptional<z.ZodNumber>;
32507
+ }, z.core.$strip>;
32508
+ }, z.core.$strip>>;
32509
+ }, z.core.$strip>;
32510
+ type AppTryActionResult = z.infer<typeof appTryActionResultSchema>;
32511
+ /** Why one asset of a publish would be refused now: a missing right or a check of the publish. */
32512
+ declare const appPublishRefusalSchema: z.ZodObject<{
32513
+ reason: z.ZodString;
32514
+ message: z.ZodString;
32515
+ right: z.ZodOptional<z.ZodString>;
32516
+ }, z.core.$strip>;
32517
+ /**
32518
+ * What publishing an App's draft comes to, read before the person is asked (DP-2): the App and
32519
+ * the Workflows it reaches, children before the Workflows that start them, each with its
32520
+ * pending draft, what its publish question says, and what would refuse it. It changes nothing.
32521
+ */
32522
+ declare const appPublishReviewSchema: z.ZodObject<{
32523
+ app: z.ZodObject<{
32524
+ name: z.ZodString;
32525
+ title: z.ZodString;
32526
+ draftRevision: z.ZodNumber;
32527
+ publishedRevision: z.ZodOptional<z.ZodNumber>;
32528
+ pending: z.ZodBoolean;
32529
+ narrative: z.ZodOptional<z.ZodObject<{
32530
+ summary: z.ZodString;
32531
+ warnings: z.ZodArray<z.ZodString>;
32532
+ }, z.core.$strip>>;
32533
+ lastChangedBy: z.ZodOptional<z.ZodString>;
32534
+ refusals: z.ZodArray<z.ZodObject<{
32535
+ reason: z.ZodString;
32536
+ message: z.ZodString;
32537
+ right: z.ZodOptional<z.ZodString>;
32538
+ }, z.core.$strip>>;
32539
+ }, z.core.$strip>;
32540
+ workflows: z.ZodArray<z.ZodObject<{
32541
+ name: z.ZodString;
32542
+ title: z.ZodString;
32543
+ draftRevision: z.ZodNumber;
32544
+ publishedRevision: z.ZodOptional<z.ZodNumber>;
32545
+ pending: z.ZodBoolean;
32546
+ narrative: z.ZodOptional<z.ZodObject<{
32547
+ summary: z.ZodString;
32548
+ warnings: z.ZodArray<z.ZodString>;
32549
+ }, z.core.$strip>>;
32550
+ lastChangedBy: z.ZodOptional<z.ZodString>;
32551
+ refusals: z.ZodArray<z.ZodObject<{
32552
+ reason: z.ZodString;
32553
+ message: z.ZodString;
32554
+ right: z.ZodOptional<z.ZodString>;
32555
+ }, z.core.$strip>>;
32556
+ actions: z.ZodArray<z.ZodString>;
32557
+ lastTestRun: z.ZodOptional<z.ZodObject<{
32558
+ runId: z.ZodString;
32559
+ status: z.ZodEnum<{
32560
+ failed: "failed";
32561
+ running: "running";
32562
+ done: "done";
32563
+ queued: "queued";
32564
+ cancelled: "cancelled";
32565
+ continued: "continued";
32566
+ waiting: "waiting";
32567
+ limit_reached: "limit_reached";
32568
+ }>;
32569
+ at: z.ZodString;
32570
+ }, z.core.$strip>>;
32571
+ }, z.core.$strip>>;
32572
+ publishesTogether: z.ZodBoolean;
32573
+ ready: z.ZodBoolean;
32574
+ }, z.core.$strip>;
32575
+ type AppPublishReview = z.infer<typeof appPublishReviewSchema>;
30462
32576
  type AppActionCallResult = z.infer<typeof appActionCallResultSchema>;
30463
32577
  declare const appActionsListQuerySchema: z.ZodObject<{
30464
32578
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -30733,6 +32847,8 @@ declare const assetScopeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
30733
32847
  kind: z.ZodLiteral<"workspace">;
30734
32848
  workspaceId: z.ZodString;
30735
32849
  }, z.core.$strip>], "kind">;
32850
+ /** How many Workflow drafts one publish of an App makes live with it at most. */
32851
+ declare const APP_PUBLISH_WORKFLOWS_MAX = 20;
30736
32852
  /**
30737
32853
  * The two pointers of an asset whose kind has the lifecycle `draft_published`, as revision
30738
32854
  * numbers. Both are left out on every other kind. `revision` beside them equals
@@ -30742,6 +32858,15 @@ declare const assetScopeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
30742
32858
  * `publishedRevision` both name the published revision, and `draftRevision` is left out.
30743
32859
  */
30744
32860
  /** Dependencies whose use is missing in one or more of the agent's workspaces. */
32861
+ /**
32862
+ * Who uses an agent where it is available (AGENT-USE-1): `everyone` who may work there, or only
32863
+ * those `agent.use` allows on it (`granted`).
32864
+ */
32865
+ declare const agentUseSchema: z.ZodEnum<{
32866
+ everyone: "everyone";
32867
+ granted: "granted";
32868
+ }>;
32869
+ type AgentUse = z.infer<typeof agentUseSchema>;
30745
32870
  declare const dependencyAvailabilitySchema: z.ZodObject<{
30746
32871
  availability: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30747
32872
  mode: z.ZodEnum<{
@@ -30857,10 +32982,10 @@ declare const workflowStepFactSchema: z.ZodObject<{
30857
32982
  source: z.ZodOptional<z.ZodObject<{
30858
32983
  kind: z.ZodEnum<{
30859
32984
  workflow: "workflow";
32985
+ other: "other";
30860
32986
  connection: "connection";
30861
32987
  data_store: "data_store";
30862
32988
  knowledge_base: "knowledge_base";
30863
- other: "other";
30864
32989
  }>;
30865
32990
  title: z.ZodOptional<z.ZodString>;
30866
32991
  service: z.ZodOptional<z.ZodString>;
@@ -30882,10 +33007,10 @@ declare const workflowStepFactSchema: z.ZodObject<{
30882
33007
  source: z.ZodObject<{
30883
33008
  kind: z.ZodEnum<{
30884
33009
  workflow: "workflow";
33010
+ other: "other";
30885
33011
  connection: "connection";
30886
33012
  data_store: "data_store";
30887
33013
  knowledge_base: "knowledge_base";
30888
- other: "other";
30889
33014
  }>;
30890
33015
  title: z.ZodOptional<z.ZodString>;
30891
33016
  service: z.ZodOptional<z.ZodString>;
@@ -30909,10 +33034,10 @@ declare const assetSchema: z.ZodObject<{
30909
33034
  source: z.ZodOptional<z.ZodObject<{
30910
33035
  kind: z.ZodEnum<{
30911
33036
  workflow: "workflow";
33037
+ other: "other";
30912
33038
  connection: "connection";
30913
33039
  data_store: "data_store";
30914
33040
  knowledge_base: "knowledge_base";
30915
- other: "other";
30916
33041
  }>;
30917
33042
  title: z.ZodOptional<z.ZodString>;
30918
33043
  service: z.ZodOptional<z.ZodString>;
@@ -30934,10 +33059,10 @@ declare const assetSchema: z.ZodObject<{
30934
33059
  source: z.ZodObject<{
30935
33060
  kind: z.ZodEnum<{
30936
33061
  workflow: "workflow";
33062
+ other: "other";
30937
33063
  connection: "connection";
30938
33064
  data_store: "data_store";
30939
33065
  knowledge_base: "knowledge_base";
30940
- other: "other";
30941
33066
  }>;
30942
33067
  title: z.ZodOptional<z.ZodString>;
30943
33068
  service: z.ZodOptional<z.ZodString>;
@@ -31024,6 +33149,10 @@ declare const assetSchema: z.ZodObject<{
31024
33149
  administrators: z.ZodArray<z.ZodString>;
31025
33150
  }, z.core.$strip>>;
31026
33151
  canSetAvailability: z.ZodOptional<z.ZodBoolean>;
33152
+ agentUse: z.ZodOptional<z.ZodEnum<{
33153
+ everyone: "everyone";
33154
+ granted: "granted";
33155
+ }>>;
31027
33156
  unavailableTools: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
31028
33157
  name: z.ZodString;
31029
33158
  reason: z.ZodLiteral<"module_off">;
@@ -31203,6 +33332,10 @@ declare const publishAssetRequestSchema: z.ZodObject<{
31203
33332
  confirmProcessing: z.ZodOptional<z.ZodString>;
31204
33333
  revision: z.ZodNumber;
31205
33334
  workspaceId: z.ZodOptional<z.ZodString>;
33335
+ workflows: z.ZodOptional<z.ZodArray<z.ZodObject<{
33336
+ name: z.ZodString;
33337
+ revision: z.ZodNumber;
33338
+ }, z.core.$strict>>>;
31206
33339
  }, z.core.$strip>;
31207
33340
  declare const discardAssetDraftRequestSchema: z.ZodObject<{
31208
33341
  expectedRevision: z.ZodOptional<z.ZodNumber>;
@@ -31213,6 +33346,12 @@ declare const assetPointersResponseSchema: z.ZodObject<{
31213
33346
  draftRevision: z.ZodNumber;
31214
33347
  publishedRevision: z.ZodNumber;
31215
33348
  replacedRevision: z.ZodOptional<z.ZodNumber>;
33349
+ publishedWith: z.ZodOptional<z.ZodArray<z.ZodObject<{
33350
+ kind: z.ZodLiteral<"workflow">;
33351
+ name: z.ZodString;
33352
+ publishedRevision: z.ZodNumber;
33353
+ replacedRevision: z.ZodOptional<z.ZodNumber>;
33354
+ }, z.core.$strip>>>;
31216
33355
  }, z.core.$strip>;
31217
33356
  /** The bound of the name of an App action or a Workflow step that "Run live once" names. */
31218
33357
  declare const LIVE_ONCE_PART_MAX_LENGTH = 200;
@@ -32640,6 +34779,12 @@ declare const userMessageMetadataSchema: z.ZodObject<{
32640
34779
  }>;
32641
34780
  }, z.core.$strip>>;
32642
34781
  attachmentManifest: z.ZodUnknown;
34782
+ steered: z.ZodOptional<z.ZodObject<{
34783
+ runId: z.ZodString;
34784
+ followUpId: z.ZodString;
34785
+ authorUserId: z.ZodString;
34786
+ typedAt: z.ZodISODateTime;
34787
+ }, z.core.$strip>>;
32643
34788
  }, z.core.$strip>;
32644
34789
  declare const assistantToolCallsMessageMetadataSchema: z.ZodObject<{
32645
34790
  version: z.ZodLiteral<1>;
@@ -32793,6 +34938,12 @@ declare const agentRuntimeMessageMetadataSchema: z.ZodDiscriminatedUnion<[z.ZodO
32793
34938
  }>;
32794
34939
  }, z.core.$strip>>;
32795
34940
  attachmentManifest: z.ZodUnknown;
34941
+ steered: z.ZodOptional<z.ZodObject<{
34942
+ runId: z.ZodString;
34943
+ followUpId: z.ZodString;
34944
+ authorUserId: z.ZodString;
34945
+ typedAt: z.ZodISODateTime;
34946
+ }, z.core.$strip>>;
32796
34947
  }, z.core.$strip>, z.ZodObject<{
32797
34948
  version: z.ZodLiteral<1>;
32798
34949
  kind: z.ZodLiteral<"assistant_tool_calls">;
@@ -32916,6 +35067,12 @@ declare const messageMetadataSchema: z.ZodObject<{
32916
35067
  }>;
32917
35068
  }, z.core.$strip>>;
32918
35069
  attachmentManifest: z.ZodUnknown;
35070
+ steered: z.ZodOptional<z.ZodObject<{
35071
+ runId: z.ZodString;
35072
+ followUpId: z.ZodString;
35073
+ authorUserId: z.ZodString;
35074
+ typedAt: z.ZodISODateTime;
35075
+ }, z.core.$strip>>;
32919
35076
  }, z.core.$strip>, z.ZodObject<{
32920
35077
  version: z.ZodLiteral<1>;
32921
35078
  kind: z.ZodLiteral<"assistant_tool_calls">;
@@ -33053,6 +35210,12 @@ declare const messageSchema: z.ZodObject<{
33053
35210
  }>;
33054
35211
  }, z.core.$strip>>;
33055
35212
  attachmentManifest: z.ZodUnknown;
35213
+ steered: z.ZodOptional<z.ZodObject<{
35214
+ runId: z.ZodString;
35215
+ followUpId: z.ZodString;
35216
+ authorUserId: z.ZodString;
35217
+ typedAt: z.ZodISODateTime;
35218
+ }, z.core.$strip>>;
33056
35219
  }, z.core.$strip>, z.ZodObject<{
33057
35220
  version: z.ZodLiteral<1>;
33058
35221
  kind: z.ZodLiteral<"assistant_tool_calls">;
@@ -33601,10 +35764,12 @@ declare const agentRuntimeEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
33601
35764
  text: z.ZodString;
33602
35765
  mode: z.ZodEnum<{
33603
35766
  queue: "queue";
35767
+ steer: "steer";
33604
35768
  }>;
33605
35769
  status: z.ZodEnum<{
33606
35770
  pending: "pending";
33607
35771
  dispatched: "dispatched";
35772
+ consumed: "consumed";
33608
35773
  cancelled: "cancelled";
33609
35774
  }>;
33610
35775
  position: z.ZodNumber;
@@ -33647,6 +35812,19 @@ declare const agentRuntimeEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
33647
35812
  text: z.ZodString;
33648
35813
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
33649
35814
  }, z.core.$strip>;
35815
+ }, z.core.$strip>, z.ZodObject<{
35816
+ type: z.ZodLiteral<"user_message_steered">;
35817
+ runId: z.ZodString;
35818
+ sequence: z.ZodNumber;
35819
+ createdAt: z.ZodISODateTime;
35820
+ followUpId: z.ZodString;
35821
+ message: z.ZodObject<{
35822
+ id: z.ZodString;
35823
+ role: z.ZodLiteral<"user">;
35824
+ text: z.ZodString;
35825
+ createdAt: z.ZodISODateTime;
35826
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
35827
+ }, z.core.$strip>;
33650
35828
  }, z.core.$strip>, z.ZodObject<{
33651
35829
  type: z.ZodLiteral<"tool_call_preparing">;
33652
35830
  runId: z.ZodString;
@@ -33860,6 +36038,11 @@ declare const agentRunProjectionPartSchema: z.ZodDiscriminatedUnion<[z.ZodObject
33860
36038
  id: z.ZodString;
33861
36039
  text: z.ZodString;
33862
36040
  open: z.ZodBoolean;
36041
+ }, z.core.$strip>, z.ZodObject<{
36042
+ type: z.ZodLiteral<"user_message">;
36043
+ messageId: z.ZodString;
36044
+ text: z.ZodString;
36045
+ createdAt: z.ZodISODateTime;
33863
36046
  }, z.core.$strip>, z.ZodObject<{
33864
36047
  type: z.ZodLiteral<"tool_call">;
33865
36048
  toolCallId: z.ZodString;
@@ -33917,6 +36100,11 @@ declare const agentRunProjectionSchema: z.ZodObject<{
33917
36100
  id: z.ZodString;
33918
36101
  text: z.ZodString;
33919
36102
  open: z.ZodBoolean;
36103
+ }, z.core.$strip>, z.ZodObject<{
36104
+ type: z.ZodLiteral<"user_message">;
36105
+ messageId: z.ZodString;
36106
+ text: z.ZodString;
36107
+ createdAt: z.ZodISODateTime;
33920
36108
  }, z.core.$strip>, z.ZodObject<{
33921
36109
  type: z.ZodLiteral<"tool_call">;
33922
36110
  toolCallId: z.ZodString;
@@ -34042,10 +36230,12 @@ declare const runObservationSchema: z.ZodObject<{
34042
36230
  text: z.ZodString;
34043
36231
  mode: z.ZodEnum<{
34044
36232
  queue: "queue";
36233
+ steer: "steer";
34045
36234
  }>;
34046
36235
  status: z.ZodEnum<{
34047
36236
  pending: "pending";
34048
36237
  dispatched: "dispatched";
36238
+ consumed: "consumed";
34049
36239
  cancelled: "cancelled";
34050
36240
  }>;
34051
36241
  position: z.ZodNumber;
@@ -34088,6 +36278,19 @@ declare const runObservationSchema: z.ZodObject<{
34088
36278
  text: z.ZodString;
34089
36279
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
34090
36280
  }, z.core.$strip>;
36281
+ }, z.core.$strip>, z.ZodObject<{
36282
+ type: z.ZodLiteral<"user_message_steered">;
36283
+ runId: z.ZodString;
36284
+ sequence: z.ZodNumber;
36285
+ createdAt: z.ZodISODateTime;
36286
+ followUpId: z.ZodString;
36287
+ message: z.ZodObject<{
36288
+ id: z.ZodString;
36289
+ role: z.ZodLiteral<"user">;
36290
+ text: z.ZodString;
36291
+ createdAt: z.ZodISODateTime;
36292
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
36293
+ }, z.core.$strip>;
34091
36294
  }, z.core.$strip>, z.ZodObject<{
34092
36295
  type: z.ZodLiteral<"tool_call_preparing">;
34093
36296
  runId: z.ZodString;
@@ -34282,10 +36485,12 @@ declare const conversationFollowUpSchema: z.ZodObject<{
34282
36485
  text: z.ZodString;
34283
36486
  mode: z.ZodEnum<{
34284
36487
  queue: "queue";
36488
+ steer: "steer";
34285
36489
  }>;
34286
36490
  status: z.ZodEnum<{
34287
36491
  pending: "pending";
34288
36492
  dispatched: "dispatched";
36493
+ consumed: "consumed";
34289
36494
  cancelled: "cancelled";
34290
36495
  }>;
34291
36496
  position: z.ZodNumber;
@@ -34314,10 +36519,12 @@ declare const queuedConversationRunResponseSchema: z.ZodObject<{
34314
36519
  text: z.ZodString;
34315
36520
  mode: z.ZodEnum<{
34316
36521
  queue: "queue";
36522
+ steer: "steer";
34317
36523
  }>;
34318
36524
  status: z.ZodEnum<{
34319
36525
  pending: "pending";
34320
36526
  dispatched: "dispatched";
36527
+ consumed: "consumed";
34321
36528
  cancelled: "cancelled";
34322
36529
  }>;
34323
36530
  position: z.ZodNumber;
@@ -34338,7 +36545,10 @@ declare const queuedConversationRunResponseSchema: z.ZodObject<{
34338
36545
  }, z.core.$strip>;
34339
36546
  }, z.core.$strip>;
34340
36547
  declare const startConversationRunRequestSchema: z.ZodObject<{
34341
- followUp: z.ZodOptional<z.ZodLiteral<"queue">>;
36548
+ followUp: z.ZodOptional<z.ZodEnum<{
36549
+ queue: "queue";
36550
+ steer: "steer";
36551
+ }>>;
34342
36552
  idempotencyKey: z.ZodString;
34343
36553
  agentName: z.ZodOptional<z.ZodString>;
34344
36554
  modelBindingId: z.ZodOptional<z.ZodString>;
@@ -34432,6 +36642,12 @@ declare const startConversationRunResponseSchema: z.ZodObject<{
34432
36642
  }>;
34433
36643
  }, z.core.$strip>>;
34434
36644
  attachmentManifest: z.ZodUnknown;
36645
+ steered: z.ZodOptional<z.ZodObject<{
36646
+ runId: z.ZodString;
36647
+ followUpId: z.ZodString;
36648
+ authorUserId: z.ZodString;
36649
+ typedAt: z.ZodISODateTime;
36650
+ }, z.core.$strip>>;
34435
36651
  }, z.core.$strip>, z.ZodObject<{
34436
36652
  version: z.ZodLiteral<1>;
34437
36653
  kind: z.ZodLiteral<"assistant_tool_calls">;
@@ -34585,10 +36801,12 @@ declare const startConversationRunResponseSchema: z.ZodObject<{
34585
36801
  text: z.ZodString;
34586
36802
  mode: z.ZodEnum<{
34587
36803
  queue: "queue";
36804
+ steer: "steer";
34588
36805
  }>;
34589
36806
  status: z.ZodEnum<{
34590
36807
  pending: "pending";
34591
36808
  dispatched: "dispatched";
36809
+ consumed: "consumed";
34592
36810
  cancelled: "cancelled";
34593
36811
  }>;
34594
36812
  position: z.ZodNumber;
@@ -34680,6 +36898,12 @@ declare const startConversationRunResponseSchema: z.ZodObject<{
34680
36898
  }>;
34681
36899
  }, z.core.$strip>>;
34682
36900
  attachmentManifest: z.ZodUnknown;
36901
+ steered: z.ZodOptional<z.ZodObject<{
36902
+ runId: z.ZodString;
36903
+ followUpId: z.ZodString;
36904
+ authorUserId: z.ZodString;
36905
+ typedAt: z.ZodISODateTime;
36906
+ }, z.core.$strip>>;
34683
36907
  }, z.core.$strip>, z.ZodObject<{
34684
36908
  version: z.ZodLiteral<1>;
34685
36909
  kind: z.ZodLiteral<"assistant_tool_calls">;
@@ -34790,6 +37014,11 @@ declare const startConversationRunResponseSchema: z.ZodObject<{
34790
37014
  id: z.ZodString;
34791
37015
  text: z.ZodString;
34792
37016
  open: z.ZodBoolean;
37017
+ }, z.core.$strip>, z.ZodObject<{
37018
+ type: z.ZodLiteral<"user_message">;
37019
+ messageId: z.ZodString;
37020
+ text: z.ZodString;
37021
+ createdAt: z.ZodISODateTime;
34793
37022
  }, z.core.$strip>, z.ZodObject<{
34794
37023
  type: z.ZodLiteral<"tool_call">;
34795
37024
  toolCallId: z.ZodString;
@@ -34939,6 +37168,11 @@ declare const startConversationRunResponseSchema: z.ZodObject<{
34939
37168
  id: z.ZodString;
34940
37169
  text: z.ZodString;
34941
37170
  open: z.ZodBoolean;
37171
+ }, z.core.$strip>, z.ZodObject<{
37172
+ type: z.ZodLiteral<"user_message">;
37173
+ messageId: z.ZodString;
37174
+ text: z.ZodString;
37175
+ createdAt: z.ZodISODateTime;
34942
37176
  }, z.core.$strip>, z.ZodObject<{
34943
37177
  type: z.ZodLiteral<"tool_call">;
34944
37178
  toolCallId: z.ZodString;
@@ -35070,7 +37304,10 @@ declare const startConversationRunResponseSchema: z.ZodObject<{
35070
37304
  eventsUrl: z.ZodString;
35071
37305
  }, z.core.$strip>;
35072
37306
  declare const createConversationRunRequestSchema: z.ZodObject<{
35073
- followUp: z.ZodOptional<z.ZodLiteral<"queue">>;
37307
+ followUp: z.ZodOptional<z.ZodEnum<{
37308
+ queue: "queue";
37309
+ steer: "steer";
37310
+ }>>;
35074
37311
  idempotencyKey: z.ZodString;
35075
37312
  agentName: z.ZodOptional<z.ZodString>;
35076
37313
  modelBindingId: z.ZodOptional<z.ZodString>;
@@ -35234,10 +37471,12 @@ declare const conversationThreadSnapshotSchema: z.ZodObject<{
35234
37471
  text: z.ZodString;
35235
37472
  mode: z.ZodEnum<{
35236
37473
  queue: "queue";
37474
+ steer: "steer";
35237
37475
  }>;
35238
37476
  status: z.ZodEnum<{
35239
37477
  pending: "pending";
35240
37478
  dispatched: "dispatched";
37479
+ consumed: "consumed";
35241
37480
  cancelled: "cancelled";
35242
37481
  }>;
35243
37482
  position: z.ZodNumber;
@@ -35329,6 +37568,12 @@ declare const conversationThreadSnapshotSchema: z.ZodObject<{
35329
37568
  }>;
35330
37569
  }, z.core.$strip>>;
35331
37570
  attachmentManifest: z.ZodUnknown;
37571
+ steered: z.ZodOptional<z.ZodObject<{
37572
+ runId: z.ZodString;
37573
+ followUpId: z.ZodString;
37574
+ authorUserId: z.ZodString;
37575
+ typedAt: z.ZodISODateTime;
37576
+ }, z.core.$strip>>;
35332
37577
  }, z.core.$strip>, z.ZodObject<{
35333
37578
  version: z.ZodLiteral<1>;
35334
37579
  kind: z.ZodLiteral<"assistant_tool_calls">;
@@ -35439,6 +37684,11 @@ declare const conversationThreadSnapshotSchema: z.ZodObject<{
35439
37684
  id: z.ZodString;
35440
37685
  text: z.ZodString;
35441
37686
  open: z.ZodBoolean;
37687
+ }, z.core.$strip>, z.ZodObject<{
37688
+ type: z.ZodLiteral<"user_message">;
37689
+ messageId: z.ZodString;
37690
+ text: z.ZodString;
37691
+ createdAt: z.ZodISODateTime;
35442
37692
  }, z.core.$strip>, z.ZodObject<{
35443
37693
  type: z.ZodLiteral<"tool_call">;
35444
37694
  toolCallId: z.ZodString;
@@ -35588,6 +37838,11 @@ declare const conversationThreadSnapshotSchema: z.ZodObject<{
35588
37838
  id: z.ZodString;
35589
37839
  text: z.ZodString;
35590
37840
  open: z.ZodBoolean;
37841
+ }, z.core.$strip>, z.ZodObject<{
37842
+ type: z.ZodLiteral<"user_message">;
37843
+ messageId: z.ZodString;
37844
+ text: z.ZodString;
37845
+ createdAt: z.ZodISODateTime;
35591
37846
  }, z.core.$strip>, z.ZodObject<{
35592
37847
  type: z.ZodLiteral<"tool_call">;
35593
37848
  toolCallId: z.ZodString;
@@ -35806,6 +38061,8 @@ type RunCommandRequest = z.infer<typeof runCommandRequestSchema>;
35806
38061
  type RunCommandResponse = z.infer<typeof runCommandResponseSchema>;
35807
38062
  type ConversationUserState = z.infer<typeof conversationUserStateSchema>;
35808
38063
  type ConversationFollowUp = z.infer<typeof conversationFollowUpSchema>;
38064
+ /** What a message sent while a run goes does: wait as the next turn, or steer the run. */
38065
+ type FollowUpMode = (typeof FOLLOW_UP_MODES)[number];
35809
38066
  type SubagentSummary = z.infer<typeof subagentSummarySchema>;
35810
38067
  type ConversationThreadSnapshot = z.infer<typeof conversationThreadSnapshotSchema>;
35811
38068
  type CancelRunRequest = z.infer<typeof cancelRunRequestSchema>;
@@ -35866,7 +38123,8 @@ declare const auditActivityTargetSchema: z.ZodObject<{
35866
38123
  declare const auditActivitySchema: z.ZodObject<{
35867
38124
  correlationId: z.ZodString;
35868
38125
  at: z.ZodISODateTime;
35869
- label: z.ZodString;
38126
+ type: z.ZodString;
38127
+ action: z.ZodOptional<z.ZodString>;
35870
38128
  tier: z.ZodEnum<{
35871
38129
  workflow: "workflow";
35872
38130
  governance: "governance";
@@ -36520,6 +38778,10 @@ declare const apiUserSchema: z.ZodObject<{
36520
38778
  en: "en";
36521
38779
  de: "de";
36522
38780
  }>>;
38781
+ followUpMode: z.ZodOptional<z.ZodEnum<{
38782
+ queue: "queue";
38783
+ steer: "steer";
38784
+ }>>;
36523
38785
  instanceAdminName: z.ZodOptional<z.ZodString>;
36524
38786
  roles: z.ZodArray<z.ZodString>;
36525
38787
  permissionRefs: z.ZodArray<z.ZodString>;
@@ -36724,6 +38986,10 @@ declare const updateCurrentUserRequestSchema: z.ZodObject<{
36724
38986
  en: "en";
36725
38987
  de: "de";
36726
38988
  }>>>;
38989
+ followUpMode: z.ZodOptional<z.ZodEnum<{
38990
+ queue: "queue";
38991
+ steer: "steer";
38992
+ }>>;
36727
38993
  }, z.core.$strip>;
36728
38994
  declare const changeCurrentUserPasswordRequestSchema: z.ZodObject<{
36729
38995
  currentPassword: z.ZodString;
@@ -37462,6 +39728,14 @@ declare const pageSourceFileSchema: z.ZodObject<{
37462
39728
  declare const pagePreviewRequestSchema: z.ZodObject<{
37463
39729
  fileSetId: z.ZodOptional<z.ZodString>;
37464
39730
  }, z.core.$strict>;
39731
+ /**
39732
+ * What a person may do about the outside hosts their preview of a draft holds back
39733
+ * (DRAFT-HOSTS-1). Present where the release lets a draft reach a host after a click.
39734
+ */
39735
+ declare const draftHostsSchema: z.ZodObject<{
39736
+ allowable: z.ZodArray<z.ZodString>;
39737
+ readsData: z.ZodBoolean;
39738
+ }, z.core.$strip>;
37465
39739
  /**
37466
39740
  * Where a frame loads one revision of a Page. The address holds a token that is valid for the
37467
39741
  * caller and this revision until `expiresAt`. It is a credential: put it in the frame and
@@ -37473,6 +39747,11 @@ declare const pagePreviewSchema: z.ZodObject<{
37473
39747
  fileSetId: z.ZodString;
37474
39748
  number: z.ZodNumber;
37475
39749
  pageSessionId: z.ZodString;
39750
+ heldBackHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
39751
+ draftHosts: z.ZodOptional<z.ZodObject<{
39752
+ allowable: z.ZodArray<z.ZodString>;
39753
+ readsData: z.ZodBoolean;
39754
+ }, z.core.$strip>>;
37476
39755
  }, z.core.$strip>;
37477
39756
  type PageResponse = z.infer<typeof pageSchema>;
37478
39757
  type PageFileSetResponse = z.infer<typeof pageFileSetSchema>;
@@ -37667,8 +39946,8 @@ declare const platformAssetKindSchema: z.ZodObject<{
37667
39946
  draft_published: "draft_published";
37668
39947
  }>;
37669
39948
  representation: z.ZodEnum<{
37670
- config: "config";
37671
39949
  files: "files";
39950
+ config: "config";
37672
39951
  }>;
37673
39952
  owners: z.ZodArray<z.ZodEnum<{
37674
39953
  instance: "instance";
@@ -37723,8 +40002,8 @@ declare const platformContextSchema: z.ZodObject<{
37723
40002
  draft_published: "draft_published";
37724
40003
  }>;
37725
40004
  representation: z.ZodEnum<{
37726
- config: "config";
37727
40005
  files: "files";
40006
+ config: "config";
37728
40007
  }>;
37729
40008
  owners: z.ZodArray<z.ZodEnum<{
37730
40009
  instance: "instance";
@@ -37977,4 +40256,4 @@ declare const scheduledStartRunSchema: z.ZodObject<{
37977
40256
  createdAt: z.ZodISODateTime;
37978
40257
  }, z.core.$strip>;
37979
40258
 
37980
- 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_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 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 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 ConnectionOAuthStart, type ConnectionOperationDetail, type ConnectionPersonContext, type ConnectionSecretState, type ConnectionTestResult, type ConnectionTools, 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, GUARDRAIL_DRY_RUN_DAYS, GUARDRAIL_DRY_RUN_JUDGE_MAX, GUARDRAIL_DRY_RUN_PATTERN_MAX, GUARDRAIL_HITS_LIMIT, type GuardrailHitView, type GuardrailHits, type Health, 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, RELEASE_VERSION, ROLE_GRANTS_MAX, type Readiness, type RedeemConnectCodeResponse, 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, activeRunSummarySchema, addWorkspaceMemberRequestSchema, administeredCollaborationWorkspaceSchema, administeredUserIdentitySchema, administeredUserPasswordSignInRequestSchema, administeredUserSchema, administeredUserStatusSchema, agentAvailabilitySchema, agentDraftResponseSchema, agentDraftSchema, agentDraftSummarySchema, agentEditableFieldSchema, agentRunErrorSchema, agentRunProjectionPartSchema, agentRunProjectionSchema, agentRunSchema, agentRunStatusSchema, agentRuntimeEventSchema, agentRuntimeMessageMetadataSchema, agentToolReferenceSchema, agentTryConversationResponseSchema, 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, 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, connectionOAuthStartSchema, connectionOperationDetailSchema, connectionOperationStatusSchema, connectionOperations, connectionPersonContextSchema, connectionSecretStateSchema, connectionTestResultSchema, connectionToolSchema, connectionToolsSchema, 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, dryRunGuardrailRequestSchema, dryRunGuardrailResponseSchema, effectivePermissionsQuerySchema, effectivePermissionsSchema, exchangeApiKeyResponseSchema, feedbackSchema, findBreakingChanges, getAssetQuerySchema, grantEffectSchema, grantHolderKindSchema, grantScopeKindSchema, guardrailHitCountsSchema, guardrailHitSchema, guardrailHitsSchema, guardrailOperations, healthSchema, 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, 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 };
40259
+ 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 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 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, 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, scopeAssignmentsOverviewSchema, selectContractBaseline, sendAdministeredUserInvitationResponseSchema, sendFeedbackRequestSchema, servicePrincipalDetailSchema, servicePrincipalPermissionSchema, servicePrincipalSchema, servicePrincipalStatusSchema, sessionTokenDelegatedActorSchema, setAgentUseRequestSchema, setAgentUseResponseSchema, 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 };