@burdenoff/microfe-bigconsole 2026.1119.7 → 2026.1119.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.
Files changed (25) hide show
  1. package/dist/bigconsole/components/embed/widgets/ChartEmbed.js +70 -66
  2. package/dist/bigconsole/components/insights/GeneratedFormattingReview.d.ts +21 -0
  3. package/dist/bigconsole/components/insights/GeneratedFormattingReview.js +90 -44
  4. package/dist/bigconsole/components/widgets/chart/ChartWidget.js +1 -0
  5. package/dist/bigconsole/components/widgets/chart/ReferenceLinesEditor.js +5 -1
  6. package/dist/bigconsole/components/widgets/chart/charts/AreaChart.js +4 -1
  7. package/dist/bigconsole/components/widgets/chart/charts/BarChart.js +53 -45
  8. package/dist/bigconsole/components/widgets/chart/charts/ComboChart.js +5 -1
  9. package/dist/bigconsole/components/widgets/chart/charts/LineChart.js +4 -1
  10. package/dist/bigconsole/components/widgets/chart/charts/referenceElements.d.ts +13 -11
  11. package/dist/bigconsole/components/widgets/chart/charts/referenceElements.js +58 -29
  12. package/dist/bigconsole/components/widgets/chart/charts/types.d.ts +8 -1
  13. package/dist/bigconsole/components/widgets/chart/referenceLineDraft.js +26 -23
  14. package/dist/bigconsole/components/widgets/utils/conditionalFormat.d.ts +41 -0
  15. package/dist/bigconsole/components/widgets/utils/conditionalFormat.js +80 -44
  16. package/dist/bigconsole/pages/InsightsPage.js +458 -451
  17. package/dist/bigconsole/types/index.d.ts +8 -0
  18. package/dist/bigconsole/utils/pipelineExecutionTimeline.d.ts +13 -1
  19. package/dist/bigconsole/utils/pipelineExecutionTimeline.js +26 -3
  20. package/dist/generated/global-operations.d.ts +45 -6
  21. package/dist/generated/global-types.d.ts +5839 -804
  22. package/dist/generated/wspace-operations.d.ts +30 -0
  23. package/dist/generated/wspace-operations.js +28 -0
  24. package/dist/generated/wspace-types.d.ts +1339 -6
  25. package/package.json +1 -1
@@ -1955,6 +1955,18 @@ export type AgentAnalytics = {
1955
1955
  staleHeartbeatCount: Scalars['Int']['output'];
1956
1956
  total: Scalars['Int']['output'];
1957
1957
  };
1958
+ export type AgentBindings = {
1959
+ __typename?: 'AgentBindings';
1960
+ agentId: Scalars['ID']['output'];
1961
+ /**
1962
+ * The system prompt a run starts from: the rendered template, the agent's own
1963
+ * prompt and the skills section (workspace policies are applied on top at run time).
1964
+ */
1965
+ effectiveSystemPrompt: Scalars['String']['output'];
1966
+ promptTemplate?: Maybe<AgentPromptTemplateBinding>;
1967
+ retrievalProfile?: Maybe<AgentRetrievalProfileBinding>;
1968
+ skills: Array<AgentSkillBinding>;
1969
+ };
1958
1970
  /**
1959
1971
  * Short-lived signed token + its absolute expiry. Returned by
1960
1972
  * `mintAgentCapability`. The token is opaque to clients and is meant to be
@@ -2359,6 +2371,15 @@ export type AgentProbeResult = {
2359
2371
  /** Agent uptime in seconds from /health */
2360
2372
  uptime?: Maybe<Scalars['Float']['output']>;
2361
2373
  };
2374
+ export type AgentPromptTemplateBinding = {
2375
+ __typename?: 'AgentPromptTemplateBinding';
2376
+ name: Scalars['String']['output'];
2377
+ promptTemplateId: Scalars['ID']['output'];
2378
+ status: EntityStatus;
2379
+ /** Values the template is rendered with, keyed by variable name. */
2380
+ variables: Scalars['JSON']['output'];
2381
+ version: Scalars['String']['output'];
2382
+ };
2362
2383
  /** Generic proxied agent response used for AI/backend mediated requests. */
2363
2384
  export type AgentProxyResponse = {
2364
2385
  __typename?: 'AgentProxyResponse';
@@ -2368,6 +2389,16 @@ export type AgentProxyResponse = {
2368
2389
  status: Scalars['Int']['output'];
2369
2390
  text?: Maybe<Scalars['String']['output']>;
2370
2391
  };
2392
+ export type AgentRetrievalProfileBinding = {
2393
+ __typename?: 'AgentRetrievalProfileBinding';
2394
+ minRelevanceScore?: Maybe<Scalars['Float']['output']>;
2395
+ name: Scalars['String']['output'];
2396
+ noAnswerIfBelowThreshold: Scalars['Boolean']['output'];
2397
+ retrievalProfileId: Scalars['ID']['output'];
2398
+ status: EntityStatus;
2399
+ strategyMode: RetrievalMode;
2400
+ topK: Scalars['Int']['output'];
2401
+ };
2371
2402
  /** The decision on one agent tool call, and its delegated token when allowed. */
2372
2403
  export type AgentRunToken = {
2373
2404
  __typename?: 'AgentRunToken';
@@ -2406,6 +2437,14 @@ export type AgentSessionOrphan = {
2406
2437
  /** Number of windows / panes / tabs. */
2407
2438
  windows: Scalars['Int']['output'];
2408
2439
  };
2440
+ export type AgentSkillBinding = {
2441
+ __typename?: 'AgentSkillBinding';
2442
+ description?: Maybe<Scalars['String']['output']>;
2443
+ name: Scalars['String']['output'];
2444
+ position: Scalars['Int']['output'];
2445
+ skillId: Scalars['ID']['output'];
2446
+ status: EntityStatus;
2447
+ };
2409
2448
  export type AgentStats = {
2410
2449
  __typename?: 'AgentStats';
2411
2450
  agentId: Scalars['ID']['output'];
@@ -3577,6 +3616,26 @@ export type ApplyHealthyBowlPmfbyInput = {
3577
3616
  sowingDate?: InputMaybe<Scalars['String']['input']>;
3578
3617
  sumInsured: Scalars['Float']['input'];
3579
3618
  };
3619
+ /** A batch of changes a builder page made to a draft. */
3620
+ export type ApplyWorkflowChangesInput = {
3621
+ /** An id for this batch, unique within the session; a resent batch is not applied twice. */
3622
+ batchId: Scalars['String']['input'];
3623
+ /** The changes, in order (see WorkflowSessionEvent.changes). At most 200. */
3624
+ changes: Scalars['JSON']['input'];
3625
+ /** The page's session id: 8 to 64 letters, digits, '-' or '_'. */
3626
+ sessionId: Scalars['String']['input'];
3627
+ /** The stored version (WorkflowDefinition.id). */
3628
+ workflowId: Scalars['ID']['input'];
3629
+ };
3630
+ export type ApplyWorkflowChangesResult = {
3631
+ __typename?: 'ApplyWorkflowChangesResult';
3632
+ /** False when this batch was already applied (a resend); nothing changed. */
3633
+ applied: Scalars['Boolean']['output'];
3634
+ /** Edges removed because a node they connected is gone. */
3635
+ droppedEdgeIds: Array<Scalars['String']['output']>;
3636
+ /** The version's revision after the batch. */
3637
+ revision: Scalars['Int']['output'];
3638
+ };
3580
3639
  export type ApprovalRequestFilterInput = {
3581
3640
  approverId?: InputMaybe<Scalars['ID']['input']>;
3582
3641
  endDate?: InputMaybe<Scalars['DateTime']['input']>;
@@ -11991,6 +12050,8 @@ export declare enum BotAppVisibility {
11991
12050
  /** Deprecated: use BotmanorAgent. Scheduled for removal no earlier than 2027-02-05 (BOFF-9561). */
11992
12051
  export type BotlitAgent = {
11993
12052
  __typename?: 'BotlitAgent';
12053
+ /** Emoji shown for the agent. Stored in `metadata.avatar`; null means the default. */
12054
+ avatar?: Maybe<Scalars['String']['output']>;
11994
12055
  bucketId?: Maybe<Scalars['ID']['output']>;
11995
12056
  capabilities: Array<BotlitAgentCapability>;
11996
12057
  createdAt: Scalars['DateTime']['output'];
@@ -12134,6 +12195,8 @@ export type BotlitWorkflowRun = {
12134
12195
  };
12135
12196
  export type BotmanorAgent = {
12136
12197
  __typename?: 'BotmanorAgent';
12198
+ /** Emoji shown for the agent. Stored in `metadata.avatar`; null means the default. */
12199
+ avatar?: Maybe<Scalars['String']['output']>;
12137
12200
  bucketId?: Maybe<Scalars['ID']['output']>;
12138
12201
  capabilities: Array<BotmanorAgentCapability>;
12139
12202
  createdAt: Scalars['DateTime']['output'];
@@ -12261,6 +12324,25 @@ export declare enum BotmanorAgentType {
12261
12324
  Automation = "AUTOMATION",
12262
12325
  Specialist = "SPECIALIST"
12263
12326
  }
12327
+ /** What still uses an agent, shown before it is deleted. */
12328
+ export type BotmanorAgentUsage = {
12329
+ __typename?: 'BotmanorAgentUsage';
12330
+ a2aConnections: Array<BotmanorAgentUsageConnection>;
12331
+ bots: Array<BotmanorAgentUsageBot>;
12332
+ workflowIds: Array<Scalars['ID']['output']>;
12333
+ };
12334
+ export type BotmanorAgentUsageBot = {
12335
+ __typename?: 'BotmanorAgentUsageBot';
12336
+ id: Scalars['ID']['output'];
12337
+ /** True when the agent is this bot's default agent (rather than only one of its routed agents). */
12338
+ isDefault: Scalars['Boolean']['output'];
12339
+ name: Scalars['String']['output'];
12340
+ };
12341
+ export type BotmanorAgentUsageConnection = {
12342
+ __typename?: 'BotmanorAgentUsageConnection';
12343
+ id: Scalars['ID']['output'];
12344
+ name: Scalars['String']['output'];
12345
+ };
12264
12346
  /** One handoff of a live conversation from an agent to a human operator. */
12265
12347
  export type BotmanorConversationHandoff = {
12266
12348
  __typename?: 'BotmanorConversationHandoff';
@@ -19041,6 +19123,10 @@ export declare enum ChannelPlatform {
19041
19123
  Sms = "SMS",
19042
19124
  /** Microsoft Teams */
19043
19125
  Teams = "TEAMS",
19126
+ /** Custom webchat widget */
19127
+ Webchat = "WEBCHAT",
19128
+ /** Generic HTTP webhook */
19129
+ Webhook = "WEBHOOK",
19044
19130
  /** WhatsApp Business */
19045
19131
  Whatsapp = "WHATSAPP"
19046
19132
  }
@@ -27438,6 +27524,8 @@ export type CreateBotAppInput = {
27438
27524
  };
27439
27525
  /** Deprecated: use CreateBotmanorAgentInput. Scheduled for removal no earlier than 2027-02-05 (BOFF-9561). */
27440
27526
  export type CreateBotlitAgentInput = {
27527
+ /** Emoji shown for the agent (up to 32 characters). An empty string clears it. */
27528
+ avatar?: InputMaybe<Scalars['String']['input']>;
27441
27529
  bucketId?: InputMaybe<Scalars['ID']['input']>;
27442
27530
  capabilities?: InputMaybe<Array<BotlitAgentCapability>>;
27443
27531
  context?: InputMaybe<ContextInput>;
@@ -27491,6 +27579,8 @@ export type CreateBotlitLlmProviderInput = {
27491
27579
  workspaceId: Scalars['ID']['input'];
27492
27580
  };
27493
27581
  export type CreateBotmanorAgentInput = {
27582
+ /** Emoji shown for the agent (up to 32 characters). An empty string clears it. */
27583
+ avatar?: InputMaybe<Scalars['String']['input']>;
27494
27584
  bucketId?: InputMaybe<Scalars['ID']['input']>;
27495
27585
  capabilities?: InputMaybe<Array<BotmanorAgentCapability>>;
27496
27586
  context?: InputMaybe<ContextInput>;
@@ -30443,6 +30533,16 @@ export type CreatePromptTemplateInput = {
30443
30533
  visibility?: InputMaybe<Visibility>;
30444
30534
  workspaceId: Scalars['ID']['input'];
30445
30535
  };
30536
+ export type CreateQueueTopicInput = {
30537
+ /** 0 to 86,400 (default 300; 0 turns deduplication off). */
30538
+ dedupeWindowSeconds?: InputMaybe<Scalars['Int']['input']>;
30539
+ description?: InputMaybe<Scalars['String']['input']>;
30540
+ messageSchema?: InputMaybe<Scalars['JSON']['input']>;
30541
+ name: Scalars['String']['input'];
30542
+ /** 3,600 to 2,592,000 (1 hour to 30 days; default 7 days). */
30543
+ retentionSeconds?: InputMaybe<Scalars['Int']['input']>;
30544
+ test?: InputMaybe<Scalars['Boolean']['input']>;
30545
+ };
30446
30546
  export type CreateRagConfigInput = {
30447
30547
  knowledgeBaseId: Scalars['ID']['input'];
30448
30548
  metadata?: InputMaybe<Scalars['JSON']['input']>;
@@ -34362,6 +34462,14 @@ export type DataTableRowResponse = MutationResponse & {
34362
34462
  row?: Maybe<DataTableRow>;
34363
34463
  success: Scalars['Boolean']['output'];
34364
34464
  };
34465
+ /**
34466
+ * Order rows by one declared column (STRING, NUMBER, BOOLEAN or DATE). Empty cells sort last;
34467
+ * ties fall back to newest first, so pages never repeat or skip a row.
34468
+ */
34469
+ export type DataTableRowSortInput = {
34470
+ column: Scalars['String']['input'];
34471
+ direction?: InputMaybe<DataTableSortDirection>;
34472
+ };
34365
34473
  export type DataTableRowsMutationResponse = MutationResponse & {
34366
34474
  __typename?: 'DataTableRowsMutationResponse';
34367
34475
  affected: Scalars['Int']['output'];
@@ -34372,6 +34480,13 @@ export type DataTableRowsQueryInput = {
34372
34480
  filters?: InputMaybe<Array<DataTableRowFilterInput>>;
34373
34481
  limit?: InputMaybe<Scalars['Int']['input']>;
34374
34482
  offset?: InputMaybe<Scalars['Int']['input']>;
34483
+ /**
34484
+ * Case-insensitive "contains" match across the table's text (STRING) cells. `total` counts
34485
+ * only the matching rows. Combined with `filters` it narrows the filtered rows.
34486
+ */
34487
+ search?: InputMaybe<Scalars['String']['input']>;
34488
+ /** Order of the rows; omitted, newest first. */
34489
+ sort?: InputMaybe<DataTableRowSortInput>;
34375
34490
  tableId: Scalars['ID']['input'];
34376
34491
  };
34377
34492
  export type DataTableRowsResponse = {
@@ -34379,6 +34494,10 @@ export type DataTableRowsResponse = {
34379
34494
  rows: Array<DataTableRow>;
34380
34495
  total: Scalars['Int']['output'];
34381
34496
  };
34497
+ export declare enum DataTableSortDirection {
34498
+ Asc = "ASC",
34499
+ Desc = "DESC"
34500
+ }
34382
34501
  /** Standard date range output */
34383
34502
  export type DateRange = {
34384
34503
  __typename?: 'DateRange';
@@ -38019,6 +38138,152 @@ export type ErrorTypeBreakdown = {
38019
38138
  count: Scalars['Int']['output'];
38020
38139
  errorType: ErrorType;
38021
38140
  };
38141
+ export declare enum EvalComparisonWinner {
38142
+ Base = "BASE",
38143
+ Head = "HEAD"
38144
+ }
38145
+ /** A saved set of evaluation rows for one workflow. */
38146
+ export type EvalDataset = {
38147
+ __typename?: 'EvalDataset';
38148
+ createdAt: Scalars['DateTime']['output'];
38149
+ createdBy: Scalars['String']['output'];
38150
+ description?: Maybe<Scalars['String']['output']>;
38151
+ id: Scalars['ID']['output'];
38152
+ name: Scalars['String']['output'];
38153
+ rowCount: Scalars['Int']['output'];
38154
+ updatedAt: Scalars['DateTime']['output'];
38155
+ workflowKey: Scalars['String']['output'];
38156
+ };
38157
+ export type EvalDatasetList = {
38158
+ __typename?: 'EvalDatasetList';
38159
+ items: Array<EvalDataset>;
38160
+ total: Scalars['Int']['output'];
38161
+ };
38162
+ export type EvalDatasetRow = {
38163
+ __typename?: 'EvalDatasetRow';
38164
+ createdAt: Scalars['DateTime']['output'];
38165
+ datasetId: Scalars['ID']['output'];
38166
+ /** What the Evaluate node compares the result with. */
38167
+ expectedOutput?: Maybe<Scalars['JSON']['output']>;
38168
+ id: Scalars['ID']['output'];
38169
+ /** Handed to the workflow's trigger node (a JSON object). */
38170
+ input: Scalars['JSON']['output'];
38171
+ position: Scalars['Int']['output'];
38172
+ /** What an LLM judge scores the result against. */
38173
+ rubric?: Maybe<Scalars['String']['output']>;
38174
+ /** The run this row was saved from, when it came from run detail. */
38175
+ sourceRunId?: Maybe<Scalars['ID']['output']>;
38176
+ tags: Array<Scalars['String']['output']>;
38177
+ };
38178
+ export type EvalDatasetRowList = {
38179
+ __typename?: 'EvalDatasetRowList';
38180
+ items: Array<EvalDatasetRow>;
38181
+ total: Scalars['Int']['output'];
38182
+ };
38183
+ export declare enum EvalImportFormat {
38184
+ /** A header row names the columns: expectedOutput, rubric and tags (separated by ;) are reserved; input holds a JSON object; every other column becomes a field of the row's input. */
38185
+ Csv = "CSV",
38186
+ /** A list of { input, expectedOutput, rubric, tags }. */
38187
+ Json = "JSON"
38188
+ }
38189
+ export type EvalRowComparison = {
38190
+ __typename?: 'EvalRowComparison';
38191
+ baseScore?: Maybe<Scalars['Float']['output']>;
38192
+ baseStatus?: Maybe<EvalRowStatus>;
38193
+ /** head minus base; null unless both runs scored the row. */
38194
+ delta?: Maybe<Scalars['Float']['output']>;
38195
+ headScore?: Maybe<Scalars['Float']['output']>;
38196
+ headStatus?: Maybe<EvalRowStatus>;
38197
+ rowId: Scalars['ID']['output'];
38198
+ };
38199
+ export type EvalRowInput = {
38200
+ expectedOutput?: InputMaybe<Scalars['JSON']['input']>;
38201
+ /** A JSON object, handed to the workflow's trigger node. */
38202
+ input: Scalars['JSON']['input'];
38203
+ rubric?: InputMaybe<Scalars['String']['input']>;
38204
+ tags?: InputMaybe<Array<Scalars['String']['input']>>;
38205
+ };
38206
+ /** One row of an evaluation run. */
38207
+ export type EvalRowResult = {
38208
+ __typename?: 'EvalRowResult';
38209
+ /** Model spend of the row's run in micro-USD (from the AI ledger); null when nothing was priced. */
38210
+ costMicroUsd?: Maybe<Scalars['Float']['output']>;
38211
+ errorCode?: Maybe<Scalars['String']['output']>;
38212
+ errorMessage?: Maybe<Scalars['String']['output']>;
38213
+ expectedPreview?: Maybe<Scalars['String']['output']>;
38214
+ /** The first characters of the row's input, as it was when the run started. */
38215
+ inputPreview: Scalars['String']['output'];
38216
+ position: Scalars['Int']['output'];
38217
+ /** Why the row scored what it did: the judge's reasoning or the rules that failed. */
38218
+ rationale?: Maybe<Scalars['String']['output']>;
38219
+ rowId: Scalars['ID']['output'];
38220
+ /** The TEST run that executed the row; null when it could not be started. */
38221
+ runId?: Maybe<Scalars['ID']['output']>;
38222
+ /** 0 to 1; null while the row is open. */
38223
+ score?: Maybe<Scalars['Float']['output']>;
38224
+ status: EvalRowStatus;
38225
+ };
38226
+ export declare enum EvalRowStatus {
38227
+ /** The row's run did not complete or no Evaluate node produced a score. Scores 0. */
38228
+ Error = "ERROR",
38229
+ Failed = "FAILED",
38230
+ Passed = "PASSED",
38231
+ Pending = "PENDING",
38232
+ Running = "RUNNING"
38233
+ }
38234
+ /** One evaluation of one workflow version against one dataset. */
38235
+ export type EvalRun = {
38236
+ __typename?: 'EvalRun';
38237
+ datasetId: Scalars['ID']['output'];
38238
+ datasetName: Scalars['String']['output'];
38239
+ erroredRows: Scalars['Int']['output'];
38240
+ failedRows: Scalars['Int']['output'];
38241
+ finishedAt?: Maybe<Scalars['DateTime']['output']>;
38242
+ id: Scalars['ID']['output'];
38243
+ passThreshold: Scalars['Float']['output'];
38244
+ /** Whether the score reached passThreshold. Null until finished. */
38245
+ passed?: Maybe<Scalars['Boolean']['output']>;
38246
+ passedRows: Scalars['Int']['output'];
38247
+ rows: Array<EvalRowResult>;
38248
+ /** The aggregate score, 0 to 1: the mean row score, an errored row counting 0. Null until finished. */
38249
+ score?: Maybe<Scalars['Float']['output']>;
38250
+ startedAt: Scalars['DateTime']['output'];
38251
+ status: EvalRunStatus;
38252
+ /** Model spend of the rows' runs in micro-USD; null when nothing was priced. */
38253
+ totalCostMicroUsd?: Maybe<Scalars['Float']['output']>;
38254
+ totalRows: Scalars['Int']['output'];
38255
+ triggeredBy: Scalars['String']['output'];
38256
+ workflowKey: Scalars['String']['output'];
38257
+ /** The version evaluated, and the exact definition row. */
38258
+ workflowVersion: Scalars['String']['output'];
38259
+ workflowVersionId: Scalars['ID']['output'];
38260
+ };
38261
+ export type EvalRunComparison = {
38262
+ __typename?: 'EvalRunComparison';
38263
+ base: EvalRun;
38264
+ /** The run with the higher score; null on a tie. */
38265
+ better?: Maybe<EvalComparisonWinner>;
38266
+ /** head minus base cost in micro-USD; null when either was not priced. */
38267
+ costDeltaMicroUsd?: Maybe<Scalars['Float']['output']>;
38268
+ head: EvalRun;
38269
+ rows: Array<EvalRowComparison>;
38270
+ /** head minus base score; null when either has none. */
38271
+ scoreDelta?: Maybe<Scalars['Float']['output']>;
38272
+ };
38273
+ export type EvalRunList = {
38274
+ __typename?: 'EvalRunList';
38275
+ items: Array<EvalRun>;
38276
+ total: Scalars['Int']['output'];
38277
+ };
38278
+ export declare enum EvalRunStatus {
38279
+ Cancelled = "CANCELLED",
38280
+ /** Every row was scored, whatever the scores. */
38281
+ Completed = "COMPLETED",
38282
+ /** No row could be scored. */
38283
+ Failed = "FAILED",
38284
+ Pending = "PENDING",
38285
+ Running = "RUNNING"
38286
+ }
38022
38287
  export type Event = {
38023
38288
  __typename?: 'Event';
38024
38289
  anonymousId?: Maybe<Scalars['String']['output']>;
@@ -38118,6 +38383,8 @@ export type EventQueryResult = {
38118
38383
  export type EventRegistration = {
38119
38384
  __typename?: 'EventRegistration';
38120
38385
  apiKeyHeader?: Maybe<Scalars['String']['output']>;
38386
+ /** Hosted public chat page of a Chat Trigger set to public (BOFF-9735). Null unless the workflow is active. */
38387
+ chatUrl?: Maybe<Scalars['String']['output']>;
38121
38388
  config?: Maybe<Scalars['JSON']['output']>;
38122
38389
  createdAt: Scalars['DateTime']['output'];
38123
38390
  createdById: Scalars['String']['output'];
@@ -48704,6 +48971,11 @@ export type HandleChannelMessageInput = {
48704
48971
  conversationId?: InputMaybe<Scalars['ID']['input']>;
48705
48972
  /** Platform event type (e.g. MESSAGE_CREATE, app_mention) */
48706
48973
  eventType: Scalars['String']['input'];
48974
+ /**
48975
+ * The platform's own id for this message (Slack: the message `ts`). A reply to
48976
+ * a top-level channel message is threaded under it.
48977
+ */
48978
+ externalMessageId?: InputMaybe<Scalars['String']['input']>;
48707
48979
  /** True when this message is a direct message to the bot */
48708
48980
  isDm?: InputMaybe<Scalars['Boolean']['input']>;
48709
48981
  /** Message ID already created by conversations-svc */
@@ -65119,6 +65391,8 @@ export type JobExecution = {
65119
65391
  nextRetryAt?: Maybe<Scalars['DateTime']['output']>;
65120
65392
  output?: Maybe<Scalars['JSON']['output']>;
65121
65393
  retryAttempt: Scalars['Int']['output'];
65394
+ /** Name of the schedule that produced this execution. */
65395
+ scheduleName?: Maybe<Scalars['String']['output']>;
65122
65396
  scheduleVersion?: Maybe<ScheduleVersion>;
65123
65397
  scheduledJobId: Scalars['String']['output'];
65124
65398
  scheduledTime?: Maybe<Scalars['DateTime']['output']>;
@@ -65133,6 +65407,10 @@ export type JobExecution = {
65133
65407
  willRetry: Scalars['Boolean']['output'];
65134
65408
  workerId?: Maybe<Scalars['String']['output']>;
65135
65409
  workerPod?: Maybe<Scalars['String']['output']>;
65410
+ /** Workflow key when the schedule belongs to a workflow Schedule Trigger. */
65411
+ workflowKey?: Maybe<Scalars['String']['output']>;
65412
+ /** Display name of that workflow (falls back to the workflow key). */
65413
+ workflowName?: Maybe<Scalars['String']['output']>;
65136
65414
  };
65137
65415
  export type JobExecutionConnection = {
65138
65416
  __typename?: 'JobExecutionConnection';
@@ -66093,6 +66371,17 @@ export type KnowledgeBaseFilterInput = {
66093
66371
  search?: InputMaybe<Scalars['String']['input']>;
66094
66372
  workspaceId?: InputMaybe<Scalars['ID']['input']>;
66095
66373
  };
66374
+ /** What still uses a knowledge base, shown before it is deleted. */
66375
+ export type KnowledgeBaseUsage = {
66376
+ __typename?: 'KnowledgeBaseUsage';
66377
+ agents: Array<KnowledgeBaseUsageAgent>;
66378
+ };
66379
+ export type KnowledgeBaseUsageAgent = {
66380
+ __typename?: 'KnowledgeBaseUsageAgent';
66381
+ id: Scalars['ID']['output'];
66382
+ name: Scalars['String']['output'];
66383
+ status: Scalars['String']['output'];
66384
+ };
66096
66385
  export type KnowledgeChunk = {
66097
66386
  __typename?: 'KnowledgeChunk';
66098
66387
  content: Scalars['String']['output'];
@@ -67315,14 +67604,34 @@ export type ListWorkflowDefinitionsInput = {
67315
67604
  * must be in it; otherwise every version is matched on its own.
67316
67605
  */
67317
67606
  executionMode?: InputMaybe<WorkflowExecutionMode>;
67607
+ /**
67608
+ * Only workflows placed in this folder (BOFF-12648), not its subfolders; the same rule as
67609
+ * `WorkflowFolder.workflowCount`, so a folder lists as many workflows as its count says.
67610
+ */
67611
+ folderId?: InputMaybe<Scalars['ID']['input']>;
67318
67612
  /** Return only the latest version per workflowKey (default: false) */
67319
67613
  latestOnly?: InputMaybe<Scalars['Boolean']['input']>;
67320
67614
  /** Limit results (default: 10) */
67321
67615
  limit?: InputMaybe<Scalars['Int']['input']>;
67322
67616
  /** Offset for pagination (default: 0) */
67323
67617
  offset?: InputMaybe<Scalars['Int']['input']>;
67618
+ /** Only workflows placed in this project (BOFF-12648); the same rule as `WorkflowProject.workflowCount`. */
67619
+ projectId?: InputMaybe<Scalars['ID']['input']>;
67620
+ /**
67621
+ * Case-insensitive text search over the name, description and alias (BOFF-12648). With
67622
+ * latestOnly, the latest version of each workflow is the one searched. Blank is no search.
67623
+ */
67624
+ search?: InputMaybe<Scalars['String']['input']>;
67324
67625
  /** Filter by workflow status */
67325
67626
  status?: InputMaybe<WorkflowStatus>;
67627
+ /**
67628
+ * Only workflows carrying these tags from wspace-tags-svc (`tagAssignments[].tagId`, BOFF-12648).
67629
+ * Any of them by default; every one of them with `tagMatchAll: true`. Empty or omitted is no tag
67630
+ * filter. The legacy `tags` strings are a different, deprecated vocabulary.
67631
+ */
67632
+ tagIds?: InputMaybe<Array<Scalars['ID']['input']>>;
67633
+ /** With `tagIds`: true = a workflow must carry every tag; false (default) = any of them. */
67634
+ tagMatchAll?: InputMaybe<Scalars['Boolean']['input']>;
67326
67635
  /** Filter by tags */
67327
67636
  tags?: InputMaybe<Array<Scalars['String']['input']>>;
67328
67637
  };
@@ -67619,6 +67928,13 @@ export declare enum LogStreamEventType {
67619
67928
  ActivityPaused = "ACTIVITY_PAUSED",
67620
67929
  /** A durable activity attempt failed and will be retried after a backoff (BOFF-9905). */
67621
67930
  ActivityRetried = "ACTIVITY_RETRIED",
67931
+ /**
67932
+ * An audit event: someone created, saved, activated, deactivated, deleted, shared, unshared,
67933
+ * imported or exported a workflow, or deleted runs (BOFF-9739). `data.action` names the change
67934
+ * (for example `fluidgrids.workflow.activated`); `data.actorId`, `data.resourceType` and
67935
+ * `data.resourceId` say who changed what. Never carries a definition or a secret.
67936
+ */
67937
+ Audit = "AUDIT",
67622
67938
  /** A durable-function run's workflow task hit a determinism violation; fired once per run (BOFF-9905). */
67623
67939
  DeterminismViolation = "DETERMINISM_VIOLATION",
67624
67940
  LogError = "LOG_ERROR",
@@ -76163,6 +76479,9 @@ export type Mutation = {
76163
76479
  addComponentToVibecontrolsCatalog: VibecontrolsCatalogComponent;
76164
76480
  /** Add a reaction to a comment */
76165
76481
  addEntityCommentReaction: EntityCommentReaction;
76482
+ addEvalRow: EvalDatasetRow;
76483
+ /** Add a run's trigger data (redacted as the workflow's privacy settings say) as a row, with the expected output or rubric given. */
76484
+ addEvalRowFromRun: EvalDatasetRow;
76166
76485
  /** Adds an item to the calling actor's open cart (creating one if none exists). Validates itemId exists in the workspace, same as createGgnomadBooking. */
76167
76486
  addGgnomadCartItem: GgnomadCart;
76168
76487
  /** Creator-only. NOT_FOUND if the caller isn't the group trip's creator. */
@@ -76373,6 +76692,11 @@ export type Mutation = {
76373
76692
  * Existing metrics with the same name are left untouched.
76374
76693
  */
76375
76694
  applyVibecontrolsScorecardTemplate?: Maybe<VibecontrolsScorecard>;
76695
+ /**
76696
+ * Apply a batch of changes to a draft that is edited together, in the order batches arrive,
76697
+ * and send it to everyone in the room. Gets the same checks as saving the draft.
76698
+ */
76699
+ applyWorkflowChanges: ApplyWorkflowChangesResult;
76376
76700
  /**
76377
76701
  * Apply a PROPOSED proposal as a new DRAFT version of its workflow (or a new
76378
76702
  * DRAFT workflow). Never activates a workflow and never edits a stored
@@ -77730,6 +78054,8 @@ export type Mutation = {
77730
78054
  cancelCrewEscrowRecord: CrewEscrowRecord;
77731
78055
  cancelCrewOpenShift: CrewOpenShift;
77732
78056
  cancelCrewShift: CrewShift;
78057
+ /** Close an open evaluation run. Rows already running are not stopped. */
78058
+ cancelEvalRun: EvalRun;
77733
78059
  cancelEventOccurrence: CalendarEvent;
77734
78060
  cancelExportJob: ExportJob;
77735
78061
  /** BOFF-10194 — the traveler who made the booking or the host of its listing may cancel; anyone else gets NOT_FOUND. Operators use operateGgnomadBooking(CANCEL). */
@@ -79081,6 +79407,7 @@ export type Mutation = {
79081
79407
  * This is the only ESG lifecycle operation that consumes monthly allocation.
79082
79408
  */
79083
79409
  createEsgMetric: EcoMetric;
79410
+ createEvalDataset: EvalDataset;
79084
79411
  createEvent: CalendarEvent;
79085
79412
  createEventFilter: EventFilter;
79086
79413
  createEventRegistration: EventRegistration;
@@ -79402,6 +79729,8 @@ export type Mutation = {
79402
79729
  createProject: Project;
79403
79730
  createPromptEvent: CalendarEvent;
79404
79731
  createPromptTemplate: PromptTemplate;
79732
+ /** Create a queue topic (topics are also created by the first publish). */
79733
+ createQueueTopic: QueueTopic;
79405
79734
  createRAGConfig: RagConfiguration;
79406
79735
  createReminder: EventReminder;
79407
79736
  createReport: Report;
@@ -79772,6 +80101,8 @@ export type Mutation = {
79772
80101
  deleteEmailTimeEntry: EmailTimeEntry;
79773
80102
  /** Delete a comment (soft delete by default) */
79774
80103
  deleteEntityComment: Scalars['Boolean']['output'];
80104
+ deleteEvalDataset: Scalars['Boolean']['output'];
80105
+ deleteEvalRow: Scalars['Boolean']['output'];
79775
80106
  deleteEvent: Scalars['Boolean']['output'];
79776
80107
  deleteEventFilter: Scalars['Boolean']['output'];
79777
80108
  deleteEventRegistration: Scalars['Boolean']['output'];
@@ -80036,6 +80367,10 @@ export type Mutation = {
80036
80367
  * or one that active connections are still using.
80037
80368
  */
80038
80369
  deleteProviderAuthMethod: IntegrationProvider;
80370
+ /** Delete a subscription and everything it still owes. */
80371
+ deleteQueueSubscription: QueueOperationResponse;
80372
+ /** Delete a topic with its messages. Refused while it has subscriptions, unless `force`. */
80373
+ deleteQueueTopic: QueueOperationResponse;
80039
80374
  /** Remove an RBAC configuration setting from a scope. The setting's built-in default applies again. */
80040
80375
  deleteRbacConfig: Scalars['Boolean']['output'];
80041
80376
  deleteReminder: Scalars['Boolean']['output'];
@@ -82082,6 +82417,8 @@ export type Mutation = {
82082
82417
  importDashboard: BigConsoleDashboard;
82083
82418
  /** Create a dashboard in the caller's workspace from a store template. */
82084
82419
  importDashboardTemplate: BigConsoleImportDashboardTemplateResult;
82420
+ /** Add rows from CSV or JSON text (up to 500 rows in a dataset). */
82421
+ importEvalRows: Array<EvalDatasetRow>;
82085
82422
  /**
82086
82423
  * Import a bank statement. RUN WITH `dryRun: true` FIRST — a half-applied import across 300 rows
82087
82424
  * leaves a bookkeeper unable to tell what landed. Re-importing an overlapping statement is safe:
@@ -82458,6 +82795,8 @@ export type Mutation = {
82458
82795
  /** Join a shared session (starts collaboration) */
82459
82796
  joinSharedSession: SessionCollaborator;
82460
82797
  joinViaInviteLink: ConversationMembership;
82798
+ /** Join a stored version's live editing room. `canEdit` is false for a page that only views it. */
82799
+ joinWorkflowSession: WorkflowSessionJoin;
82461
82800
  kadaikodiAddAddress: KadaikodiCustomerAddress;
82462
82801
  kadaikodiAddPaymentMethod: KadaikodiCustomerPaymentMethod;
82463
82802
  kadaikodiAwardLoyaltyPoints: KadaikodiLoyaltyAccount;
@@ -82949,6 +83288,8 @@ export type Mutation = {
82949
83288
  leaveDashboardPresence: Scalars['Boolean']['output'];
82950
83289
  /** Leave a shared session */
82951
83290
  leaveSharedSession: Scalars['Boolean']['output'];
83291
+ /** Leave a stored version's live editing room. */
83292
+ leaveWorkflowSession: Scalars['Boolean']['output'];
82952
83293
  /** Link (or with userId null, unlink) an employee's platform user. */
82953
83294
  linkCrewEmployeeUser: CrewEmployee;
82954
83295
  /** Link a DataSink to a Workflow (many-to-many) */
@@ -84878,6 +85219,11 @@ export type Mutation = {
84878
85219
  /** Publish the enabled tools as the next tool set version. An unchanged list returns the latest. */
84879
85220
  publishMcpToolSet: McpPublishResult;
84880
85221
  publishMtwProcedureVersion: MtwProcedureVersion;
85222
+ /**
85223
+ * Publish one message to the topic's test scope ("Send test message"); production consumers never
85224
+ * see it.
85225
+ */
85226
+ publishQueueTestMessage: QueuePublishResponse;
84881
85227
  /** Publish a template (make active) */
84882
85228
  publishTemplate: BigConsoleDashboardTemplate;
84883
85229
  /** Publish a component as a reusable template (snapshots the component) */
@@ -84889,6 +85235,8 @@ export type Mutation = {
84889
85235
  * preview named by expectedHeadSha / expectedLatestVersion.
84890
85236
  */
84891
85237
  pullWorkflowFromGit: PullWorkflowFromGitResponse;
85238
+ /** Delete every message of a topic (audited). */
85239
+ purgeQueueTopic: QueueOperationResponse;
84892
85240
  /**
84893
85241
  * Permanently delete events captured by this channel, all of them or only those
84894
85242
  * older than `olderThanDays`. Requires `confirm: true` (BOFF-3894).
@@ -85061,6 +85409,8 @@ export type Mutation = {
85061
85409
  redeemGgnomadTicket: GgnomadTicket;
85062
85410
  /** BOFF-10194 — operator-only (ggnomad:manage): redeems a presented QR token for any listing in the workspace. */
85063
85411
  redeemGgnomadTicketAsOperator: GgnomadTicket;
85412
+ /** Offer a subscription's dead-lettered messages again. */
85413
+ redriveQueueDeadLetters: QueueOperationResponse;
85064
85414
  /**
85065
85415
  * Refine a generated dashboard specification before creating it.
85066
85416
  * Allows iterative improvements to the AI-generated spec.
@@ -86062,6 +86412,11 @@ export type Mutation = {
86062
86412
  saveMyGgnomadAffiliatePayoutProfile: GgnomadAffiliatePayoutProfile;
86063
86413
  /** Upsert the calling user's active view + per-view overrides. */
86064
86414
  saveMyNavPreferences: NavPreferences;
86415
+ /**
86416
+ * Prompt Studio: save a draft as the template's next version, keeping the
86417
+ * replaced version in `versionHistory`.
86418
+ */
86419
+ savePromptTemplateVersion: PromptTemplate;
86065
86420
  /**
86066
86421
  * Save an AI-assistant sandbox artifact directly into Files without round-
86067
86422
  * tripping bytes through the browser. Calls `wspace-sandbox-svc` over the
@@ -86121,6 +86476,8 @@ export type Mutation = {
86121
86476
  * deleteWorkflowRunLoadFixture.
86122
86477
  */
86123
86478
  seedWorkflowRunLoadFixture: WorkflowRunLoadFixtureResult;
86479
+ /** Move a subscription's cursor. Pending and dead-lettered messages are dropped; in-flight ones finish. */
86480
+ seekQueueSubscription: QueueSeekResponse;
86124
86481
  /**
86125
86482
  * Deactivate and soft-archive one policy in the authorized workspace. Returns
86126
86483
  * false for a missing, foreign-workspace or already archived policy. Historical
@@ -86266,6 +86623,7 @@ export type Mutation = {
86266
86623
  * /api/agent/update/config.
86267
86624
  */
86268
86625
  setAgentAutoUpdate: AgentProxyResponse;
86626
+ setAgentBindings: AgentBindings;
86269
86627
  /**
86270
86628
  * F4 Wave C — narrow svc-side proxy for playground (GraphiQL) config writes.
86271
86629
  * PUTs `/api/profiles/<profile>/graphiql/config/<vibeId>` with
@@ -86619,6 +86977,8 @@ export type Mutation = {
86619
86977
  startCallRecording: CallRecording;
86620
86978
  startCourseKnowledgeImport: CourseKnowledgeImportReceipt;
86621
86979
  startDiscoveryJob: DiscoveryJob;
86980
+ /** Run every row of a dataset through a version of its workflow as a TEST run. The version needs an Evaluate node. */
86981
+ startEvalRun: EvalRun;
86622
86982
  /** Operator-only: moves a SUBMITTED claim to UNDER_REVIEW. */
86623
86983
  startGgnomadDamageClaimReview: GgnomadDamageClaim;
86624
86984
  /** Start a DRAFT A/B creative test */
@@ -87483,6 +87843,8 @@ export type Mutation = {
87483
87843
  testLogStreamDestination: TestLogStreamDestinationResponse;
87484
87844
  testMCPConnection: Scalars['Boolean']['output'];
87485
87845
  testPipeline: PipelineExecution;
87846
+ /** Prompt Studio: run the template (or a draft of it) against a live model. */
87847
+ testPromptTemplate: PromptTemplateTestResult;
87486
87848
  /**
87487
87849
  * Evaluate a rule set against one input and return the decision with its trace.
87488
87850
  * Has no side effects; a mutation so clients never cache a test result.
@@ -88137,6 +88499,8 @@ export type Mutation = {
88137
88499
  */
88138
88500
  updateEntityVisibility: VibeLinkedEntity;
88139
88501
  updateEsgMetric: EcoMetric;
88502
+ updateEvalDataset: EvalDataset;
88503
+ updateEvalRow: EvalDatasetRow;
88140
88504
  updateEvent: CalendarEvent;
88141
88505
  updateEventRegistration: EventRegistration;
88142
88506
  updateEventSchema: EventSchema;
@@ -88482,6 +88846,8 @@ export type Mutation = {
88482
88846
  updatePromptConfig: PromptConfig;
88483
88847
  updatePromptTemplate: PromptTemplate;
88484
88848
  updateProviderPlugin: IntegrationProvider;
88849
+ /** Change a topic's retention, deduplication window, schema or description. */
88850
+ updateQueueTopic: QueueTopic;
88485
88851
  /** Update RBAC configuration for a scope */
88486
88852
  updateRbacConfig: RbacConfig;
88487
88853
  updateReport: Report;
@@ -88626,6 +88992,8 @@ export type Mutation = {
88626
88992
  updateWorkflowExecutionSettings: WorkflowExecutionSettings;
88627
88993
  /** Change the notification preferences of a workflow. */
88628
88994
  updateWorkflowNotificationSettings: WorkflowNotificationSettings;
88995
+ /** Move this page's pointer, selection or open node; also the page's heartbeat, answered with the room's state. */
88996
+ updateWorkflowPresence: WorkflowPresenceAck;
88629
88997
  /**
88630
88998
  * Send an update to a durable-function run and wait (at most timeoutMs, capped at 15 s) until it
88631
88999
  * reaches `waitFor`. The updateId is its idempotency key. A rejected update leaves no history. Needs
@@ -88748,6 +89116,8 @@ export type Mutation = {
88748
89116
  withdrawTimeCampusAppletFromMarketplace: TimeCampusMarketplaceListing;
88749
89117
  /** Take a version back out of review, to DRAFT. */
88750
89118
  withdrawTimeCampusThirdPartyAppletVersion: TimeCampusThirdPartyApplet;
89119
+ /** WORKER-INTERNAL: acknowledge messages taken with manual acknowledgement. */
89120
+ workerAckQueueMessages: QueueAckResponse;
88751
89121
  /**
88752
89122
  * Append a batch of execution log lines for a run.
88753
89123
  *
@@ -88786,6 +89156,8 @@ export type Mutation = {
88786
89156
  * INTERNAL: Requires actorType SERVICE
88787
89157
  */
88788
89158
  workerCompleteWorkflowTask: CompleteWorkflowTaskResult;
89159
+ /** WORKER-INTERNAL: take messages for a run's Queue Consume step. Restricted to the `service` actor type. */
89160
+ workerConsumeQueueMessages: QueueConsumeResponse;
88789
89161
  /**
88790
89162
  * Start the child run for a Sub-workflow node (BOFF-7648).
88791
89163
  *
@@ -88918,6 +89290,11 @@ export type Mutation = {
88918
89290
  * INTERNAL: Requires actorType SERVICE
88919
89291
  */
88920
89292
  workerPollTasks: WorkerPollTasksResult;
89293
+ /**
89294
+ * WORKER-INTERNAL: publish messages from a run's Queue Publish step. Restricted to the `service`
89295
+ * actor type.
89296
+ */
89297
+ workerPublishQueueMessages: QueuePublishResponse;
88921
89298
  /**
88922
89299
  * Record an activity heartbeat (never written to history). The acknowledgement carries a pending
88923
89300
  * cancellation.
@@ -88954,6 +89331,11 @@ export type Mutation = {
88954
89331
  * INTERNAL: Requires actorType SERVICE
88955
89332
  */
88956
89333
  workerRecordWorkflowTaskHeartbeat: WorkflowTaskHeartbeatAck;
89334
+ /**
89335
+ * WORKER-INTERNAL: hand messages back so they are offered again (or dead-lettered after their last
89336
+ * delivery).
89337
+ */
89338
+ workerReleaseQueueMessages: QueueAckResponse;
88957
89339
  /**
88958
89340
  * Release the tasks a lost or closed worker session held (CWD11): its started activity attempts
88959
89341
  * fail with the retryable WorkerLost, its workflow tasks time out and are retried. Returns how
@@ -89522,6 +89904,25 @@ export type MutationAddComponentToVibecontrolsCatalogArgs = {
89522
89904
  export type MutationAddEntityCommentReactionArgs = {
89523
89905
  input: AddReactionInput;
89524
89906
  };
89907
+ /**
89908
+ * Base Mutation type with placeholder field.
89909
+ * Extended by individual mutation files.
89910
+ */
89911
+ export type MutationAddEvalRowArgs = {
89912
+ datasetId: Scalars['ID']['input'];
89913
+ row: EvalRowInput;
89914
+ };
89915
+ /**
89916
+ * Base Mutation type with placeholder field.
89917
+ * Extended by individual mutation files.
89918
+ */
89919
+ export type MutationAddEvalRowFromRunArgs = {
89920
+ datasetId: Scalars['ID']['input'];
89921
+ expectedOutput?: InputMaybe<Scalars['JSON']['input']>;
89922
+ rubric?: InputMaybe<Scalars['String']['input']>;
89923
+ runId: Scalars['ID']['input'];
89924
+ tags?: InputMaybe<Array<Scalars['String']['input']>>;
89925
+ };
89525
89926
  /**
89526
89927
  * Base Mutation type with placeholder field.
89527
89928
  * Extended by individual mutation files.
@@ -89933,6 +90334,13 @@ export type MutationApplyVibecontrolsScorecardTemplateArgs = {
89933
90334
  ownerType: ScorecardOwnerType;
89934
90335
  templateId: Scalars['ID']['input'];
89935
90336
  };
90337
+ /**
90338
+ * Base Mutation type with placeholder field.
90339
+ * Extended by individual mutation files.
90340
+ */
90341
+ export type MutationApplyWorkflowChangesArgs = {
90342
+ input: ApplyWorkflowChangesInput;
90343
+ };
89936
90344
  /**
89937
90345
  * Base Mutation type with placeholder field.
89938
90346
  * Extended by individual mutation files.
@@ -93529,6 +93937,13 @@ export type MutationCancelCrewShiftArgs = {
93529
93937
  id: Scalars['ID']['input'];
93530
93938
  reason?: InputMaybe<Scalars['String']['input']>;
93531
93939
  };
93940
+ /**
93941
+ * Base Mutation type with placeholder field.
93942
+ * Extended by individual mutation files.
93943
+ */
93944
+ export type MutationCancelEvalRunArgs = {
93945
+ id: Scalars['ID']['input'];
93946
+ };
93532
93947
  /**
93533
93948
  * Base Mutation type with placeholder field.
93534
93949
  * Extended by individual mutation files.
@@ -97088,6 +97503,15 @@ export type MutationCreateEntityCommentArgs = {
97088
97503
  export type MutationCreateEsgMetricArgs = {
97089
97504
  input: CreateEsgMetricInput;
97090
97505
  };
97506
+ /**
97507
+ * Base Mutation type with placeholder field.
97508
+ * Extended by individual mutation files.
97509
+ */
97510
+ export type MutationCreateEvalDatasetArgs = {
97511
+ description?: InputMaybe<Scalars['String']['input']>;
97512
+ name: Scalars['String']['input'];
97513
+ workflowKey: Scalars['String']['input'];
97514
+ };
97091
97515
  /**
97092
97516
  * Base Mutation type with placeholder field.
97093
97517
  * Extended by individual mutation files.
@@ -98542,6 +98966,13 @@ export type MutationCreatePromptEventArgs = {
98542
98966
  export type MutationCreatePromptTemplateArgs = {
98543
98967
  input: CreatePromptTemplateInput;
98544
98968
  };
98969
+ /**
98970
+ * Base Mutation type with placeholder field.
98971
+ * Extended by individual mutation files.
98972
+ */
98973
+ export type MutationCreateQueueTopicArgs = {
98974
+ input: CreateQueueTopicInput;
98975
+ };
98545
98976
  /**
98546
98977
  * Base Mutation type with placeholder field.
98547
98978
  * Extended by individual mutation files.
@@ -99868,6 +100299,20 @@ export type MutationDeleteEmailTimeEntryArgs = {
99868
100299
  export type MutationDeleteEntityCommentArgs = {
99869
100300
  input: DeleteCommentInput;
99870
100301
  };
100302
+ /**
100303
+ * Base Mutation type with placeholder field.
100304
+ * Extended by individual mutation files.
100305
+ */
100306
+ export type MutationDeleteEvalDatasetArgs = {
100307
+ id: Scalars['ID']['input'];
100308
+ };
100309
+ /**
100310
+ * Base Mutation type with placeholder field.
100311
+ * Extended by individual mutation files.
100312
+ */
100313
+ export type MutationDeleteEvalRowArgs = {
100314
+ id: Scalars['ID']['input'];
100315
+ };
99871
100316
  /**
99872
100317
  * Base Mutation type with placeholder field.
99873
100318
  * Extended by individual mutation files.
@@ -101227,6 +101672,24 @@ export type MutationDeleteProviderAuthMethodArgs = {
101227
101672
  key: Scalars['String']['input'];
101228
101673
  providerId: Scalars['ID']['input'];
101229
101674
  };
101675
+ /**
101676
+ * Base Mutation type with placeholder field.
101677
+ * Extended by individual mutation files.
101678
+ */
101679
+ export type MutationDeleteQueueSubscriptionArgs = {
101680
+ subscriptionName: Scalars['String']['input'];
101681
+ test?: InputMaybe<Scalars['Boolean']['input']>;
101682
+ topic: Scalars['String']['input'];
101683
+ };
101684
+ /**
101685
+ * Base Mutation type with placeholder field.
101686
+ * Extended by individual mutation files.
101687
+ */
101688
+ export type MutationDeleteQueueTopicArgs = {
101689
+ force?: InputMaybe<Scalars['Boolean']['input']>;
101690
+ name: Scalars['String']['input'];
101691
+ test?: InputMaybe<Scalars['Boolean']['input']>;
101692
+ };
101230
101693
  /**
101231
101694
  * Base Mutation type with placeholder field.
101232
101695
  * Extended by individual mutation files.
@@ -106914,6 +107377,15 @@ export type MutationImportDashboardArgs = {
106914
107377
  export type MutationImportDashboardTemplateArgs = {
106915
107378
  input: BigConsoleImportDashboardTemplateInput;
106916
107379
  };
107380
+ /**
107381
+ * Base Mutation type with placeholder field.
107382
+ * Extended by individual mutation files.
107383
+ */
107384
+ export type MutationImportEvalRowsArgs = {
107385
+ content: Scalars['String']['input'];
107386
+ datasetId: Scalars['ID']['input'];
107387
+ format: EvalImportFormat;
107388
+ };
106917
107389
  /**
106918
107390
  * Base Mutation type with placeholder field.
106919
107391
  * Extended by individual mutation files.
@@ -107776,6 +108248,15 @@ export type MutationJoinSharedSessionArgs = {
107776
108248
  export type MutationJoinViaInviteLinkArgs = {
107777
108249
  code: Scalars['String']['input'];
107778
108250
  };
108251
+ /**
108252
+ * Base Mutation type with placeholder field.
108253
+ * Extended by individual mutation files.
108254
+ */
108255
+ export type MutationJoinWorkflowSessionArgs = {
108256
+ canEdit: Scalars['Boolean']['input'];
108257
+ sessionId: Scalars['String']['input'];
108258
+ workflowId: Scalars['ID']['input'];
108259
+ };
107779
108260
  /**
107780
108261
  * Base Mutation type with placeholder field.
107781
108262
  * Extended by individual mutation files.
@@ -108387,6 +108868,14 @@ export type MutationLeaveDashboardPresenceArgs = {
108387
108868
  export type MutationLeaveSharedSessionArgs = {
108388
108869
  sessionId: Scalars['ID']['input'];
108389
108870
  };
108871
+ /**
108872
+ * Base Mutation type with placeholder field.
108873
+ * Extended by individual mutation files.
108874
+ */
108875
+ export type MutationLeaveWorkflowSessionArgs = {
108876
+ sessionId: Scalars['String']['input'];
108877
+ workflowId: Scalars['ID']['input'];
108878
+ };
108390
108879
  /**
108391
108880
  * Base Mutation type with placeholder field.
108392
108881
  * Extended by individual mutation files.
@@ -112955,6 +113444,13 @@ export type MutationPublishMcpToolSetArgs = {
112955
113444
  export type MutationPublishMtwProcedureVersionArgs = {
112956
113445
  input: PublishMtwProcedureVersionInput;
112957
113446
  };
113447
+ /**
113448
+ * Base Mutation type with placeholder field.
113449
+ * Extended by individual mutation files.
113450
+ */
113451
+ export type MutationPublishQueueTestMessageArgs = {
113452
+ input: PublishQueueTestMessageInput;
113453
+ };
112958
113454
  /**
112959
113455
  * Base Mutation type with placeholder field.
112960
113456
  * Extended by individual mutation files.
@@ -112984,6 +113480,14 @@ export type MutationPublishWorkflowArgs = {
112984
113480
  export type MutationPullWorkflowFromGitArgs = {
112985
113481
  input: PullWorkflowFromGitInput;
112986
113482
  };
113483
+ /**
113484
+ * Base Mutation type with placeholder field.
113485
+ * Extended by individual mutation files.
113486
+ */
113487
+ export type MutationPurgeQueueTopicArgs = {
113488
+ name: Scalars['String']['input'];
113489
+ test?: InputMaybe<Scalars['Boolean']['input']>;
113490
+ };
112987
113491
  /**
112988
113492
  * Base Mutation type with placeholder field.
112989
113493
  * Extended by individual mutation files.
@@ -113448,6 +113952,15 @@ export type MutationRedeemGgnomadTicketArgs = {
113448
113952
  export type MutationRedeemGgnomadTicketAsOperatorArgs = {
113449
113953
  token: Scalars['String']['input'];
113450
113954
  };
113955
+ /**
113956
+ * Base Mutation type with placeholder field.
113957
+ * Extended by individual mutation files.
113958
+ */
113959
+ export type MutationRedriveQueueDeadLettersArgs = {
113960
+ subscriptionName: Scalars['String']['input'];
113961
+ test?: InputMaybe<Scalars['Boolean']['input']>;
113962
+ topic: Scalars['String']['input'];
113963
+ };
113451
113964
  /**
113452
113965
  * Base Mutation type with placeholder field.
113453
113966
  * Extended by individual mutation files.
@@ -116300,6 +116813,14 @@ export type MutationSaveMyGgnomadAffiliatePayoutProfileArgs = {
116300
116813
  export type MutationSaveMyNavPreferencesArgs = {
116301
116814
  input: SaveNavPreferencesInput;
116302
116815
  };
116816
+ /**
116817
+ * Base Mutation type with placeholder field.
116818
+ * Extended by individual mutation files.
116819
+ */
116820
+ export type MutationSavePromptTemplateVersionArgs = {
116821
+ id: Scalars['ID']['input'];
116822
+ input: SavePromptTemplateVersionInput;
116823
+ };
116303
116824
  /**
116304
116825
  * Base Mutation type with placeholder field.
116305
116826
  * Extended by individual mutation files.
@@ -116400,6 +116921,13 @@ export type MutationSeedHealthyBowlDemoWorkspaceArgs = {
116400
116921
  export type MutationSeedWorkflowRunLoadFixtureArgs = {
116401
116922
  input: SeedWorkflowRunLoadFixtureInput;
116402
116923
  };
116924
+ /**
116925
+ * Base Mutation type with placeholder field.
116926
+ * Extended by individual mutation files.
116927
+ */
116928
+ export type MutationSeekQueueSubscriptionArgs = {
116929
+ input: SeekQueueSubscriptionInput;
116930
+ };
116403
116931
  /**
116404
116932
  * Base Mutation type with placeholder field.
116405
116933
  * Extended by individual mutation files.
@@ -116726,6 +117254,14 @@ export type MutationSetAgentAutoUpdateArgs = {
116726
117254
  agentId: Scalars['ID']['input'];
116727
117255
  enabled: Scalars['Boolean']['input'];
116728
117256
  };
117257
+ /**
117258
+ * Base Mutation type with placeholder field.
117259
+ * Extended by individual mutation files.
117260
+ */
117261
+ export type MutationSetAgentBindingsArgs = {
117262
+ agentId: Scalars['ID']['input'];
117263
+ input: SetAgentBindingsInput;
117264
+ };
116729
117265
  /**
116730
117266
  * Base Mutation type with placeholder field.
116731
117267
  * Extended by individual mutation files.
@@ -117522,6 +118058,13 @@ export type MutationStartCourseKnowledgeImportArgs = {
117522
118058
  export type MutationStartDiscoveryJobArgs = {
117523
118059
  input: StartDiscoveryJobInput;
117524
118060
  };
118061
+ /**
118062
+ * Base Mutation type with placeholder field.
118063
+ * Extended by individual mutation files.
118064
+ */
118065
+ export type MutationStartEvalRunArgs = {
118066
+ input: StartEvalRunInput;
118067
+ };
117525
118068
  /**
117526
118069
  * Base Mutation type with placeholder field.
117527
118070
  * Extended by individual mutation files.
@@ -119483,6 +120026,14 @@ export type MutationTestMcpConnectionArgs = {
119483
120026
  export type MutationTestPipelineArgs = {
119484
120027
  input: TestPipelineInput;
119485
120028
  };
120029
+ /**
120030
+ * Base Mutation type with placeholder field.
120031
+ * Extended by individual mutation files.
120032
+ */
120033
+ export type MutationTestPromptTemplateArgs = {
120034
+ id: Scalars['ID']['input'];
120035
+ input: TestPromptTemplateInput;
120036
+ };
119486
120037
  /**
119487
120038
  * Base Mutation type with placeholder field.
119488
120039
  * Extended by individual mutation files.
@@ -121834,6 +122385,23 @@ export type MutationUpdateEsgMetricArgs = {
121834
122385
  id: Scalars['ID']['input'];
121835
122386
  input: UpdateEsgMetricInput;
121836
122387
  };
122388
+ /**
122389
+ * Base Mutation type with placeholder field.
122390
+ * Extended by individual mutation files.
122391
+ */
122392
+ export type MutationUpdateEvalDatasetArgs = {
122393
+ description?: InputMaybe<Scalars['String']['input']>;
122394
+ id: Scalars['ID']['input'];
122395
+ name?: InputMaybe<Scalars['String']['input']>;
122396
+ };
122397
+ /**
122398
+ * Base Mutation type with placeholder field.
122399
+ * Extended by individual mutation files.
122400
+ */
122401
+ export type MutationUpdateEvalRowArgs = {
122402
+ id: Scalars['ID']['input'];
122403
+ row: EvalRowInput;
122404
+ };
121837
122405
  /**
121838
122406
  * Base Mutation type with placeholder field.
121839
122407
  * Extended by individual mutation files.
@@ -123458,6 +124026,13 @@ export type MutationUpdateProviderPluginArgs = {
123458
124026
  id: Scalars['ID']['input'];
123459
124027
  input: UpdateProviderPluginInput;
123460
124028
  };
124029
+ /**
124030
+ * Base Mutation type with placeholder field.
124031
+ * Extended by individual mutation files.
124032
+ */
124033
+ export type MutationUpdateQueueTopicArgs = {
124034
+ input: UpdateQueueTopicInput;
124035
+ };
123461
124036
  /**
123462
124037
  * Base Mutation type with placeholder field.
123463
124038
  * Extended by individual mutation files.
@@ -124209,6 +124784,13 @@ export type MutationUpdateWorkflowExecutionSettingsArgs = {
124209
124784
  export type MutationUpdateWorkflowNotificationSettingsArgs = {
124210
124785
  input: UpdateWorkflowNotificationSettingsInput;
124211
124786
  };
124787
+ /**
124788
+ * Base Mutation type with placeholder field.
124789
+ * Extended by individual mutation files.
124790
+ */
124791
+ export type MutationUpdateWorkflowPresenceArgs = {
124792
+ input: WorkflowPresenceInput;
124793
+ };
124212
124794
  /**
124213
124795
  * Base Mutation type with placeholder field.
124214
124796
  * Extended by individual mutation files.
@@ -124562,6 +125144,13 @@ export type MutationWithdrawTimeCampusAppletFromMarketplaceArgs = {
124562
125144
  export type MutationWithdrawTimeCampusThirdPartyAppletVersionArgs = {
124563
125145
  versionId: Scalars['ID']['input'];
124564
125146
  };
125147
+ /**
125148
+ * Base Mutation type with placeholder field.
125149
+ * Extended by individual mutation files.
125150
+ */
125151
+ export type MutationWorkerAckQueueMessagesArgs = {
125152
+ input: WorkerSettleQueueMessagesInput;
125153
+ };
124565
125154
  /**
124566
125155
  * Base Mutation type with placeholder field.
124567
125156
  * Extended by individual mutation files.
@@ -124611,6 +125200,13 @@ export type MutationWorkerCompleteRunArgs = {
124611
125200
  export type MutationWorkerCompleteWorkflowTaskArgs = {
124612
125201
  input: WorkerCompleteWorkflowTaskInput;
124613
125202
  };
125203
+ /**
125204
+ * Base Mutation type with placeholder field.
125205
+ * Extended by individual mutation files.
125206
+ */
125207
+ export type MutationWorkerConsumeQueueMessagesArgs = {
125208
+ input: WorkerConsumeQueueMessagesInput;
125209
+ };
124614
125210
  /**
124615
125211
  * Base Mutation type with placeholder field.
124616
125212
  * Extended by individual mutation files.
@@ -124765,6 +125361,13 @@ export type MutationWorkerPollQueryTasksArgs = {
124765
125361
  export type MutationWorkerPollTasksArgs = {
124766
125362
  input: WorkerPollTasksInput;
124767
125363
  };
125364
+ /**
125365
+ * Base Mutation type with placeholder field.
125366
+ * Extended by individual mutation files.
125367
+ */
125368
+ export type MutationWorkerPublishQueueMessagesArgs = {
125369
+ input: WorkerPublishQueueMessagesInput;
125370
+ };
124768
125371
  /**
124769
125372
  * Base Mutation type with placeholder field.
124770
125373
  * Extended by individual mutation files.
@@ -124805,6 +125408,13 @@ export type MutationWorkerRecordWorkflowTaskHeartbeatArgs = {
124805
125408
  runId: Scalars['ID']['input'];
124806
125409
  taskId: Scalars['ID']['input'];
124807
125410
  };
125411
+ /**
125412
+ * Base Mutation type with placeholder field.
125413
+ * Extended by individual mutation files.
125414
+ */
125415
+ export type MutationWorkerReleaseQueueMessagesArgs = {
125416
+ input: WorkerSettleQueueMessagesInput;
125417
+ };
124808
125418
  /**
124809
125419
  * Base Mutation type with placeholder field.
124810
125420
  * Extended by individual mutation files.
@@ -136218,6 +136828,17 @@ export type PromptResultConnection = {
136218
136828
  results: Array<PromptResult>;
136219
136829
  total: Scalars['Int']['output'];
136220
136830
  };
136831
+ /** A version of a prompt template saved over by Prompt Studio (BOFF-15360). */
136832
+ export type PromptStudioVersion = {
136833
+ __typename?: 'PromptStudioVersion';
136834
+ changelog?: Maybe<Scalars['String']['output']>;
136835
+ revision: Scalars['Int']['output'];
136836
+ savedAt: Scalars['DateTime']['output'];
136837
+ savedById: Scalars['ID']['output'];
136838
+ templateText: Scalars['String']['output'];
136839
+ variables: Scalars['JSON']['output'];
136840
+ version: Scalars['String']['output'];
136841
+ };
136221
136842
  /** Example prompt suggestion */
136222
136843
  export type PromptSuggestion = {
136223
136844
  __typename?: 'PromptSuggestion';
@@ -136253,6 +136874,8 @@ export type PromptTemplate = {
136253
136874
  updatedById: Scalars['ID']['output'];
136254
136875
  variables: Scalars['JSON']['output'];
136255
136876
  version: Scalars['String']['output'];
136877
+ /** Earlier versions replaced by `savePromptTemplateVersion`, newest first. */
136878
+ versionHistory: Array<PromptStudioVersion>;
136256
136879
  visibility: Visibility;
136257
136880
  workspaceId: Scalars['ID']['output'];
136258
136881
  };
@@ -136315,6 +136938,16 @@ export type PromptTemplateFilterInput = {
136315
136938
  visibility?: InputMaybe<Visibility>;
136316
136939
  workspaceId?: InputMaybe<Scalars['ID']['input']>;
136317
136940
  };
136941
+ export type PromptTemplateTestResult = {
136942
+ __typename?: 'PromptTemplateTestResult';
136943
+ inputTokens?: Maybe<Scalars['Int']['output']>;
136944
+ latencyMs: Scalars['Int']['output'];
136945
+ model: Scalars['String']['output'];
136946
+ output: Scalars['String']['output'];
136947
+ outputTokens?: Maybe<Scalars['Int']['output']>;
136948
+ renderedPrompt: Scalars['String']['output'];
136949
+ tokensUsed: Scalars['Int']['output'];
136950
+ };
136318
136951
  /** One immutable revision of a template. */
136319
136952
  export type PromptTemplateVersion = {
136320
136953
  __typename?: 'PromptTemplateVersion';
@@ -136470,6 +137103,11 @@ export type PromptVariable = {
136470
137103
  required: Scalars['Boolean']['output'];
136471
137104
  type: Scalars['String']['output'];
136472
137105
  };
137106
+ export declare enum PromptVersionBump {
137107
+ Major = "MAJOR",
137108
+ Minor = "MINOR",
137109
+ Patch = "PATCH"
137110
+ }
136473
137111
  export type PropertyFilterInput = {
136474
137112
  operator: ComparisonOperator;
136475
137113
  property: Scalars['String']['input'];
@@ -138473,6 +139111,13 @@ export type PublishMtwProcedureVersionInput = {
138473
139111
  title: Scalars['String']['input'];
138474
139112
  validUntil?: InputMaybe<Scalars['DateTime']['input']>;
138475
139113
  };
139114
+ export type PublishQueueTestMessageInput = {
139115
+ attributes?: InputMaybe<Scalars['JSONObject']['input']>;
139116
+ body?: InputMaybe<Scalars['JSON']['input']>;
139117
+ deduplicationId?: InputMaybe<Scalars['String']['input']>;
139118
+ groupKey?: InputMaybe<Scalars['String']['input']>;
139119
+ topic: Scalars['String']['input'];
139120
+ };
138476
139121
  export declare enum PublishType {
138477
139122
  Builtin = "BUILTIN",
138478
139123
  Custom = "CUSTOM",
@@ -139882,6 +140527,8 @@ export type Query = {
139882
140527
  comVoiceSession?: Maybe<ComVoiceSession>;
139883
140528
  /** Leaderboard across every non-secret circle with gamification on. */
139884
140529
  comWorkspaceLeaderboard: ComLeaderboard;
140530
+ /** Compare two evaluation runs of one workflow row by row and in aggregate. */
140531
+ compareEvalRuns: EvalRunComparison;
139885
140532
  /** Compare two versions of the same file */
139886
140533
  compareFileVersions: FileVersionComparison;
139887
140534
  /** All deployment records for a single component (one per environment it has reached). */
@@ -140556,6 +141203,15 @@ export type Query = {
140556
141203
  * page shows the same estate-scoped view it did before the migration.
140557
141204
  */
140558
141205
  esgMetrics: Array<EcoMetric>;
141206
+ evalDataset?: Maybe<EvalDataset>;
141207
+ /** A dataset's rows in order. */
141208
+ evalDatasetRows: EvalDatasetRowList;
141209
+ /** The datasets saved for a workflow. */
141210
+ evalDatasets: EvalDatasetList;
141211
+ /** One evaluation run. An open run is reconciled with its rows' runs on every read. */
141212
+ evalRun?: Maybe<EvalRun>;
141213
+ /** A workflow's evaluation runs, newest first; optionally for one dataset. */
141214
+ evalRuns: EvalRunList;
140559
141215
  event?: Maybe<CalendarEvent>;
140560
141216
  eventFilters: Array<EventFilter>;
140561
141217
  eventRegistration?: Maybe<EventRegistration>;
@@ -140776,6 +141432,7 @@ export type Query = {
140776
141432
  getActiveSandboxes: Array<Sandbox>;
140777
141433
  /** Get activity logs with filtering and pagination */
140778
141434
  getActivities: Array<ActivityLog>;
141435
+ getAgentBindings: AgentBindings;
140779
141436
  getAgentStats?: Maybe<AgentStats>;
140780
141437
  /** Get logs for a task executed on an agent */
140781
141438
  getAgentTaskLogs?: Maybe<AgentTaskExecution>;
@@ -140836,6 +141493,11 @@ export type Query = {
140836
141493
  * real totals.
140837
141494
  */
140838
141495
  getBotmanorAgentCounts: BotmanorAgentCounts;
141496
+ /**
141497
+ * The bots, agent connections and workflows that still use this agent. Read it
141498
+ * before `deleteBotmanorAgent`: deleting detaches all of them.
141499
+ */
141500
+ getBotmanorAgentUsage: BotmanorAgentUsage;
140839
141501
  getBotmanorLLMModel?: Maybe<BotmanorLlmModel>;
140840
141502
  getBotmanorLLMProvider?: Maybe<BotmanorLlmProvider>;
140841
141503
  getBroaderTags: Array<UniversalTag>;
@@ -141349,6 +142011,11 @@ export type Query = {
141349
142011
  getInstalledPackage?: Maybe<InstalledPackage>;
141350
142012
  getIntegrationLogs: LogList;
141351
142013
  getKnowledgeBase?: Maybe<KnowledgeBase>;
142014
+ /**
142015
+ * The live agents that have this knowledge base attached. Read it before
142016
+ * `deleteKnowledgeBase`: deleting detaches the knowledge base from all of them.
142017
+ */
142018
+ getKnowledgeBaseUsage: KnowledgeBaseUsage;
141352
142019
  getKnowledgeDocument?: Maybe<KnowledgeDocument>;
141353
142020
  /** @deprecated use getBotmanorLLMModel */
141354
142021
  getLLMModel?: Maybe<BotlitLlmModel>;
@@ -144656,6 +145323,10 @@ export type Query = {
144656
145323
  * fluidgrids.run-control.
144657
145324
  */
144658
145325
  queryWorkflowRun: WorkflowQueryResult;
145326
+ /** One queue topic by name; null when it does not exist. */
145327
+ queueTopic?: Maybe<QueueTopic>;
145328
+ /** The workspace's queue topics with message counts and the lag of each subscription. */
145329
+ queueTopics: Array<QueueTopic>;
144659
145330
  /** Get RBAC analytics for a scope within a date range */
144660
145331
  rbacAnalytics: RbacAnalytics;
144661
145332
  /** Get RBAC configuration change history */
@@ -144788,7 +145459,16 @@ export type Query = {
144788
145459
  * INTERNAL: requires actor type service.
144789
145460
  */
144790
145461
  sandboxCodeRun: SandboxCodeRun;
144791
- /** Runners registered in the workspace. */
145462
+ /**
145463
+ * How many runners `sandboxRunners` can return: the total behind its paging (the list is bounded
145464
+ * to 1000 runners, and so is this count).
145465
+ */
145466
+ sandboxRunnerCount: Scalars['Int']['output'];
145467
+ /**
145468
+ * Runners registered in the workspace, oldest first. Omit `limit` and `offset` to receive every
145469
+ * runner (as before); with them, `limit` is 1 to 100 (default 100) and `offset` is zero-based.
145470
+ * Read `sandboxRunnerCount` for the total.
145471
+ */
144792
145472
  sandboxRunners: Array<SandboxRunner>;
144793
145473
  /** Fetch a single script run by id. */
144794
145474
  sandboxScriptRun?: Maybe<SandboxScriptRun>;
@@ -145130,6 +145810,8 @@ export type Query = {
145130
145810
  task?: Maybe<Task>;
145131
145811
  /** Worker availability of every queue of the workspace: managed first (Insights, gap G21). */
145132
145812
  taskQueueAvailability: Array<TaskQueueWorkerAvailability>;
145813
+ /** How many task queues the workspace has, counting the managed one: the total behind `taskQueues` paging. */
145814
+ taskQueueCount: Scalars['Int']['output'];
145133
145815
  /** Backlog, age, rates and pollers of one queue (spec code-first 11 §2.31). */
145134
145816
  taskQueueStats: TaskQueueStats;
145135
145817
  /**
@@ -145137,7 +145819,11 @@ export type Query = {
145137
145819
  * `name@dev|staging|prod` (that environment).
145138
145820
  */
145139
145821
  taskQueueWorkers: Array<SandboxWorkflowWorker>;
145140
- /** The workspace's task queues: managed first, then the queues it created. */
145822
+ /**
145823
+ * The workspace's task queues: managed first, then the queues it created. Omit `limit` and `offset`
145824
+ * to receive every queue (as before); with them, `offset` counts the managed queue as row 0 and
145825
+ * `limit` is 1 to 100. Read `taskQueueCount` for the total.
145826
+ */
145141
145827
  taskQueues: Array<TaskQueue>;
145142
145828
  tasks: TaskListResponse;
145143
145829
  /** A single AI context run by id, scoped to the caller's workspace. */
@@ -146259,7 +146945,16 @@ export type Query = {
146259
146945
  * INTERNAL: Requires actorType SERVICE
146260
146946
  */
146261
146947
  workerRunStatuses: Array<WorkerRunStatusEntry>;
146262
- /** Worker tokens of the workspace. */
146948
+ /**
146949
+ * How many worker tokens `workerTokens` can return: the total behind its paging (the list is
146950
+ * bounded to 1000 tokens, and so is this count).
146951
+ */
146952
+ workerTokenCount: Scalars['Int']['output'];
146953
+ /**
146954
+ * Worker tokens of the workspace, oldest first. Omit `limit` and `offset` to receive every token
146955
+ * (as before); with them, `limit` is 1 to 100 (default 100) and `offset` is zero-based. Read
146956
+ * `workerTokenCount` for the total.
146957
+ */
146263
146958
  workerTokens: Array<SandboxWorkerToken>;
146264
146959
  /** Internal admission check; the workspace must match the verified caller context. */
146265
146960
  workerWorkflowWorkspaceAiPolicy: WorkflowWorkspaceAiPolicy;
@@ -146491,7 +147186,16 @@ export type Query = {
146491
147186
  workflowVersionDrainage: DrainageInfo;
146492
147187
  /** Get all versions of a workflow */
146493
147188
  workflowVersions: Array<WorkflowDefinition>;
146494
- /** Self-hosted workers of the workspace. */
147189
+ /**
147190
+ * How many workers `workflowWorkers` can return for `filter`: the total behind its paging. The list
147191
+ * is bounded to the 500 most recently started workers, and so is this count.
147192
+ */
147193
+ workflowWorkerCount: Scalars['Int']['output'];
147194
+ /**
147195
+ * Self-hosted workers of the workspace, most recently started first. Omit `limit` and `offset` to
147196
+ * receive every worker (as before); with them, `limit` is 1 to 100 (default 100) and `offset` is
147197
+ * zero-based. Read `workflowWorkerCount` (same `filter`) for the total.
147198
+ */
146495
147199
  workflowWorkers: Array<SandboxWorkflowWorker>;
146496
147200
  /** Read workspace approval metadata and whether managed execution currently enforces it. */
146497
147201
  workflowWorkspaceAiPolicy: WorkflowWorkspaceAiPolicy;
@@ -146612,7 +147316,8 @@ export type Query = {
146612
147316
  workspaceScheduleQuotas: WorkspaceScheduleQuotas;
146613
147317
  /**
146614
147318
  * The workspace security report: active workflows' public triggers, code execution, HTTP calls to
146615
- * private addresses, SQL built from expressions and outdated Node Store nodes. Workspace admins only.
147319
+ * private addresses, SQL built from expressions, outdated Node Store nodes and connections no
147320
+ * workflow uses. Workspace admins only.
146616
147321
  */
146617
147322
  workspaceSecurityReport: WorkspaceSecurityReport;
146618
147323
  /**
@@ -150095,6 +150800,14 @@ export type QueryComWorkspaceLeaderboardArgs = {
150095
150800
  limit?: InputMaybe<Scalars['Int']['input']>;
150096
150801
  period?: InputMaybe<ComLeaderboardPeriod>;
150097
150802
  };
150803
+ /**
150804
+ * Base Query type with placeholder field.
150805
+ * Extended by individual query files.
150806
+ */
150807
+ export type QueryCompareEvalRunsArgs = {
150808
+ baseRunId: Scalars['ID']['input'];
150809
+ headRunId: Scalars['ID']['input'];
150810
+ };
150098
150811
  /**
150099
150812
  * Base Query type with placeholder field.
150100
150813
  * Extended by individual query files.
@@ -152465,6 +153178,48 @@ export type QueryEsgMetricsArgs = {
152465
153178
  category?: InputMaybe<Scalars['String']['input']>;
152466
153179
  pagination?: InputMaybe<AssetHandlerPaginationInput>;
152467
153180
  };
153181
+ /**
153182
+ * Base Query type with placeholder field.
153183
+ * Extended by individual query files.
153184
+ */
153185
+ export type QueryEvalDatasetArgs = {
153186
+ id: Scalars['ID']['input'];
153187
+ };
153188
+ /**
153189
+ * Base Query type with placeholder field.
153190
+ * Extended by individual query files.
153191
+ */
153192
+ export type QueryEvalDatasetRowsArgs = {
153193
+ datasetId: Scalars['ID']['input'];
153194
+ limit?: InputMaybe<Scalars['Int']['input']>;
153195
+ offset?: InputMaybe<Scalars['Int']['input']>;
153196
+ };
153197
+ /**
153198
+ * Base Query type with placeholder field.
153199
+ * Extended by individual query files.
153200
+ */
153201
+ export type QueryEvalDatasetsArgs = {
153202
+ limit?: InputMaybe<Scalars['Int']['input']>;
153203
+ offset?: InputMaybe<Scalars['Int']['input']>;
153204
+ workflowKey: Scalars['String']['input'];
153205
+ };
153206
+ /**
153207
+ * Base Query type with placeholder field.
153208
+ * Extended by individual query files.
153209
+ */
153210
+ export type QueryEvalRunArgs = {
153211
+ id: Scalars['ID']['input'];
153212
+ };
153213
+ /**
153214
+ * Base Query type with placeholder field.
153215
+ * Extended by individual query files.
153216
+ */
153217
+ export type QueryEvalRunsArgs = {
153218
+ datasetId?: InputMaybe<Scalars['ID']['input']>;
153219
+ limit?: InputMaybe<Scalars['Int']['input']>;
153220
+ offset?: InputMaybe<Scalars['Int']['input']>;
153221
+ workflowKey: Scalars['String']['input'];
153222
+ };
152468
153223
  /**
152469
153224
  * Base Query type with placeholder field.
152470
153225
  * Extended by individual query files.
@@ -153362,6 +154117,13 @@ export type QueryGetActiveSandboxesArgs = {
153362
154117
  export type QueryGetActivitiesArgs = {
153363
154118
  filter?: InputMaybe<ActivityLogFilter>;
153364
154119
  };
154120
+ /**
154121
+ * Base Query type with placeholder field.
154122
+ * Extended by individual query files.
154123
+ */
154124
+ export type QueryGetAgentBindingsArgs = {
154125
+ agentId: Scalars['ID']['input'];
154126
+ };
153365
154127
  /**
153366
154128
  * Base Query type with placeholder field.
153367
154129
  * Extended by individual query files.
@@ -153590,6 +154352,13 @@ export type QueryGetBotmanorAgentArgs = {
153590
154352
  export type QueryGetBotmanorAgentApprovalRequestArgs = {
153591
154353
  id: Scalars['ID']['input'];
153592
154354
  };
154355
+ /**
154356
+ * Base Query type with placeholder field.
154357
+ * Extended by individual query files.
154358
+ */
154359
+ export type QueryGetBotmanorAgentUsageArgs = {
154360
+ id: Scalars['ID']['input'];
154361
+ };
153593
154362
  /**
153594
154363
  * Base Query type with placeholder field.
153595
154364
  * Extended by individual query files.
@@ -155686,6 +156455,13 @@ export type QueryGetIntegrationLogsArgs = {
155686
156455
  export type QueryGetKnowledgeBaseArgs = {
155687
156456
  id: Scalars['ID']['input'];
155688
156457
  };
156458
+ /**
156459
+ * Base Query type with placeholder field.
156460
+ * Extended by individual query files.
156461
+ */
156462
+ export type QueryGetKnowledgeBaseUsageArgs = {
156463
+ id: Scalars['ID']['input'];
156464
+ };
155689
156465
  /**
155690
156466
  * Base Query type with placeholder field.
155691
156467
  * Extended by individual query files.
@@ -165937,6 +166713,21 @@ export type QueryQueryWorkflowRunArgs = {
165937
166713
  runId?: InputMaybe<Scalars['ID']['input']>;
165938
166714
  target?: InputMaybe<RunTargetInput>;
165939
166715
  };
166716
+ /**
166717
+ * Base Query type with placeholder field.
166718
+ * Extended by individual query files.
166719
+ */
166720
+ export type QueryQueueTopicArgs = {
166721
+ name: Scalars['String']['input'];
166722
+ test?: InputMaybe<Scalars['Boolean']['input']>;
166723
+ };
166724
+ /**
166725
+ * Base Query type with placeholder field.
166726
+ * Extended by individual query files.
166727
+ */
166728
+ export type QueryQueueTopicsArgs = {
166729
+ test?: InputMaybe<Scalars['Boolean']['input']>;
166730
+ };
165940
166731
  /**
165941
166732
  * Base Query type with placeholder field.
165942
166733
  * Extended by individual query files.
@@ -166309,12 +167100,21 @@ export type QuerySandboxCodeRunArgs = {
166309
167100
  context: ContextInput;
166310
167101
  id: Scalars['ID']['input'];
166311
167102
  };
167103
+ /**
167104
+ * Base Query type with placeholder field.
167105
+ * Extended by individual query files.
167106
+ */
167107
+ export type QuerySandboxRunnerCountArgs = {
167108
+ context: ContextInput;
167109
+ };
166312
167110
  /**
166313
167111
  * Base Query type with placeholder field.
166314
167112
  * Extended by individual query files.
166315
167113
  */
166316
167114
  export type QuerySandboxRunnersArgs = {
166317
167115
  context: ContextInput;
167116
+ limit?: InputMaybe<Scalars['Int']['input']>;
167117
+ offset?: InputMaybe<Scalars['Int']['input']>;
166318
167118
  };
166319
167119
  /**
166320
167120
  * Base Query type with placeholder field.
@@ -167503,6 +168303,14 @@ export type QueryTaskQueueWorkersArgs = {
167503
168303
  context: ContextInput;
167504
168304
  name: Scalars['String']['input'];
167505
168305
  };
168306
+ /**
168307
+ * Base Query type with placeholder field.
168308
+ * Extended by individual query files.
168309
+ */
168310
+ export type QueryTaskQueuesArgs = {
168311
+ limit?: InputMaybe<Scalars['Int']['input']>;
168312
+ offset?: InputMaybe<Scalars['Int']['input']>;
168313
+ };
167506
168314
  /**
167507
168315
  * Base Query type with placeholder field.
167508
168316
  * Extended by individual query files.
@@ -170090,12 +170898,21 @@ export type QueryWorkerRunAiCostArgs = {
170090
170898
  export type QueryWorkerRunStatusesArgs = {
170091
170899
  runIds: Array<Scalars['ID']['input']>;
170092
170900
  };
170901
+ /**
170902
+ * Base Query type with placeholder field.
170903
+ * Extended by individual query files.
170904
+ */
170905
+ export type QueryWorkerTokenCountArgs = {
170906
+ context: ContextInput;
170907
+ };
170093
170908
  /**
170094
170909
  * Base Query type with placeholder field.
170095
170910
  * Extended by individual query files.
170096
170911
  */
170097
170912
  export type QueryWorkerTokensArgs = {
170098
170913
  context: ContextInput;
170914
+ limit?: InputMaybe<Scalars['Int']['input']>;
170915
+ offset?: InputMaybe<Scalars['Int']['input']>;
170099
170916
  };
170100
170917
  /**
170101
170918
  * Base Query type with placeholder field.
@@ -170572,6 +171389,8 @@ export type QueryWorkflowVariableArgs = {
170572
171389
  * Extended by individual query files.
170573
171390
  */
170574
171391
  export type QueryWorkflowVariablesArgs = {
171392
+ limit?: InputMaybe<Scalars['Int']['input']>;
171393
+ offset?: InputMaybe<Scalars['Int']['input']>;
170575
171394
  projectId?: InputMaybe<Scalars['ID']['input']>;
170576
171395
  scope?: InputMaybe<VariableScope>;
170577
171396
  };
@@ -170599,6 +171418,14 @@ export type QueryWorkflowVersionDrainageArgs = {
170599
171418
  export type QueryWorkflowVersionsArgs = {
170600
171419
  workflowKey: Scalars['String']['input'];
170601
171420
  };
171421
+ /**
171422
+ * Base Query type with placeholder field.
171423
+ * Extended by individual query files.
171424
+ */
171425
+ export type QueryWorkflowWorkerCountArgs = {
171426
+ context: ContextInput;
171427
+ filter?: InputMaybe<SandboxWorkflowWorkersFilter>;
171428
+ };
170602
171429
  /**
170603
171430
  * Base Query type with placeholder field.
170604
171431
  * Extended by individual query files.
@@ -170606,6 +171433,8 @@ export type QueryWorkflowVersionsArgs = {
170606
171433
  export type QueryWorkflowWorkersArgs = {
170607
171434
  context: ContextInput;
170608
171435
  filter?: InputMaybe<SandboxWorkflowWorkersFilter>;
171436
+ limit?: InputMaybe<Scalars['Int']['input']>;
171437
+ offset?: InputMaybe<Scalars['Int']['input']>;
170609
171438
  };
170610
171439
  /**
170611
171440
  * Base Query type with placeholder field.
@@ -170806,6 +171635,51 @@ export type QueryWorkspacesArgs = {
170806
171635
  filter?: InputMaybe<WorkspaceFilterInput>;
170807
171636
  pagination?: InputMaybe<PaginationInput>;
170808
171637
  };
171638
+ export declare enum QueueAckMode {
171639
+ /** Messages are acknowledged as they are taken. */
171640
+ Auto = "AUTO",
171641
+ /**
171642
+ * Messages are handed out with ack tokens and come back after the visibility timeout unless
171643
+ * acknowledged.
171644
+ */
171645
+ Manual = "MANUAL"
171646
+ }
171647
+ export type QueueAckResponse = {
171648
+ __typename?: 'QueueAckResponse';
171649
+ acknowledged: Scalars['Int']['output'];
171650
+ deadLettered: Scalars['Int']['output'];
171651
+ error?: Maybe<Scalars['String']['output']>;
171652
+ errorCode?: Maybe<Scalars['String']['output']>;
171653
+ released: Scalars['Int']['output'];
171654
+ /** Tokens that no longer name an in-flight message (the lease ran out, or it was already settled). */
171655
+ stale: Scalars['Int']['output'];
171656
+ success: Scalars['Boolean']['output'];
171657
+ };
171658
+ export type QueueConsumeResponse = {
171659
+ __typename?: 'QueueConsumeResponse';
171660
+ error?: Maybe<Scalars['String']['output']>;
171661
+ errorCode?: Maybe<Scalars['String']['output']>;
171662
+ messages: Array<QueueConsumedMessage>;
171663
+ subscription?: Maybe<Scalars['String']['output']>;
171664
+ success: Scalars['Boolean']['output'];
171665
+ test: Scalars['Boolean']['output'];
171666
+ topic?: Maybe<Scalars['String']['output']>;
171667
+ };
171668
+ export type QueueConsumedMessage = {
171669
+ __typename?: 'QueueConsumedMessage';
171670
+ /** With manual acknowledgement: the token to acknowledge or release the message with. */
171671
+ ackToken?: Maybe<Scalars['String']['output']>;
171672
+ attributes: Scalars['JSONObject']['output'];
171673
+ body?: Maybe<Scalars['JSON']['output']>;
171674
+ deliveryAttempt: Scalars['Int']['output'];
171675
+ groupKey?: Maybe<Scalars['String']['output']>;
171676
+ messageId: Scalars['ID']['output'];
171677
+ publishedAt: Scalars['DateTime']['output'];
171678
+ publisherRunId?: Maybe<Scalars['String']['output']>;
171679
+ publisherWorkflowKey?: Maybe<Scalars['String']['output']>;
171680
+ sequence: Scalars['Float']['output'];
171681
+ topic: Scalars['String']['output'];
171682
+ };
170809
171683
  export type QueueKnowledgeSourceInput = {
170810
171684
  clientRequestId: Scalars['ID']['input'];
170811
171685
  /** UTF-8 source text, at most 256 KiB. Supply content or sourceUrl. */
@@ -170815,6 +171689,114 @@ export type QueueKnowledgeSourceInput = {
170815
171689
  sourceUrl?: InputMaybe<Scalars['String']['input']>;
170816
171690
  title: Scalars['String']['input'];
170817
171691
  };
171692
+ export type QueueMessageInput = {
171693
+ /** String attributes, up to 32. */
171694
+ attributes?: InputMaybe<Scalars['JSONObject']['input']>;
171695
+ /** Any JSON value, up to 1 MB together with the attributes. */
171696
+ body?: InputMaybe<Scalars['JSON']['input']>;
171697
+ /** A repeat inside the topic's deduplication window is accepted but not stored again. */
171698
+ deduplicationId?: InputMaybe<Scalars['String']['input']>;
171699
+ /** 0 to 604,800 (7 days). */
171700
+ deliverAfterSeconds?: InputMaybe<Scalars['Int']['input']>;
171701
+ /**
171702
+ * Messages with the same group key are delivered in publish order to subscriptions that keep
171703
+ * group order.
171704
+ */
171705
+ groupKey?: InputMaybe<Scalars['String']['input']>;
171706
+ };
171707
+ export type QueueOperationResponse = {
171708
+ __typename?: 'QueueOperationResponse';
171709
+ /** Messages or deliveries the operation affected. */
171710
+ count: Scalars['Int']['output'];
171711
+ message?: Maybe<Scalars['String']['output']>;
171712
+ success: Scalars['Boolean']['output'];
171713
+ };
171714
+ export type QueuePublishResponse = {
171715
+ __typename?: 'QueuePublishResponse';
171716
+ error?: Maybe<Scalars['String']['output']>;
171717
+ /**
171718
+ * QUEUE_TOPIC_NOT_FOUND, QUEUE_SCHEMA_VIOLATION, QUEUE_MESSAGE_TOO_LARGE, QUEUE_QUOTA_EXCEEDED,
171719
+ * QUEUE_INVALID_INPUT or QUEUE_RUN_MISMATCH; null on success or for an internal error.
171720
+ */
171721
+ errorCode?: Maybe<Scalars['String']['output']>;
171722
+ messages: Array<QueuePublishedMessage>;
171723
+ success: Scalars['Boolean']['output'];
171724
+ test: Scalars['Boolean']['output'];
171725
+ topic?: Maybe<Scalars['String']['output']>;
171726
+ };
171727
+ export type QueuePublishedMessage = {
171728
+ __typename?: 'QueuePublishedMessage';
171729
+ /**
171730
+ * True when the message repeated a deduplication id inside the topic's window and was not stored
171731
+ * again; `messageId` is then the first message's.
171732
+ */
171733
+ deduplicated: Scalars['Boolean']['output'];
171734
+ messageId: Scalars['ID']['output'];
171735
+ publishedAt: Scalars['DateTime']['output'];
171736
+ sequence: Scalars['Float']['output'];
171737
+ };
171738
+ export type QueueSeekResponse = {
171739
+ __typename?: 'QueueSeekResponse';
171740
+ cursorSequence: Scalars['Float']['output'];
171741
+ droppedDeliveries: Scalars['Int']['output'];
171742
+ success: Scalars['Boolean']['output'];
171743
+ };
171744
+ export declare enum QueueSeekTarget {
171745
+ /** Re-read every retained message. */
171746
+ Earliest = "EARLIEST",
171747
+ /** Skip everything published so far. */
171748
+ Latest = "LATEST",
171749
+ /** Read the messages published at or after `timestamp`. */
171750
+ Timestamp = "TIMESTAMP"
171751
+ }
171752
+ export declare enum QueueStartFrom {
171753
+ /** A new subscription reads only messages published after it was created. */
171754
+ New = "NEW",
171755
+ /** A new subscription reads every retained message once. */
171756
+ Retained = "RETAINED"
171757
+ }
171758
+ export type QueueSubscription = {
171759
+ __typename?: 'QueueSubscription';
171760
+ /** Pending, in-flight and unread messages together. */
171761
+ backlog: Scalars['Int']['output'];
171762
+ createdAt: Scalars['DateTime']['output'];
171763
+ deadLetterCount: Scalars['Int']['output'];
171764
+ id: Scalars['ID']['output'];
171765
+ inflightCount: Scalars['Int']['output'];
171766
+ /** `PULL` (Queue Consume). */
171767
+ kind: Scalars['String']['output'];
171768
+ lastConsumedAt?: Maybe<Scalars['DateTime']['output']>;
171769
+ maxDeliveries: Scalars['Int']['output'];
171770
+ name: Scalars['String']['output'];
171771
+ /** Publish time of the oldest message the subscription still owes. */
171772
+ oldestUnackedAt?: Maybe<Scalars['DateTime']['output']>;
171773
+ /** Strict publish order per group key, one message of a key in flight at a time. */
171774
+ orderedGroups: Scalars['Boolean']['output'];
171775
+ pendingCount: Scalars['Int']['output'];
171776
+ /** Retained messages the subscription has not taken yet. */
171777
+ unreadCount: Scalars['Int']['output'];
171778
+ };
171779
+ export type QueueTopic = {
171780
+ __typename?: 'QueueTopic';
171781
+ createdAt: Scalars['DateTime']['output'];
171782
+ dedupeWindowSeconds: Scalars['Int']['output'];
171783
+ description?: Maybe<Scalars['String']['output']>;
171784
+ id: Scalars['ID']['output'];
171785
+ lastPublishedAt?: Maybe<Scalars['DateTime']['output']>;
171786
+ /** Sequence of the latest published message (0 before the first). */
171787
+ lastSequence: Scalars['Float']['output'];
171788
+ /** Retained (unexpired) messages. */
171789
+ messageCount: Scalars['Int']['output'];
171790
+ /** JSON Schema (a documented subset) every message body must match; null when unset. */
171791
+ messageSchema?: Maybe<Scalars['JSON']['output']>;
171792
+ name: Scalars['String']['output'];
171793
+ oldestMessageAt?: Maybe<Scalars['DateTime']['output']>;
171794
+ retentionSeconds: Scalars['Int']['output'];
171795
+ subscriptions: Array<QueueSubscription>;
171796
+ /** True for the separate topic TEST runs use. */
171797
+ test: Scalars['Boolean']['output'];
171798
+ updatedAt: Scalars['DateTime']['output'];
171799
+ };
170818
171800
  export type QuotaWarningEvent = {
170819
171801
  __typename?: 'QuotaWarningEvent';
170820
171802
  limit: Scalars['Float']['output'];
@@ -174886,6 +175868,14 @@ export type SaveNavPreferencesInput = {
174886
175868
  productSlug: Scalars['String']['input'];
174887
175869
  workspaceId: Scalars['String']['input'];
174888
175870
  };
175871
+ export type SavePromptTemplateVersionInput = {
175872
+ bump?: InputMaybe<PromptVersionBump>;
175873
+ changelog?: InputMaybe<Scalars['String']['input']>;
175874
+ templateText: Scalars['String']['input'];
175875
+ variables?: InputMaybe<Scalars['JSON']['input']>;
175876
+ /** Explicit MAJOR.MINOR.PATCH version; otherwise the current version is bumped. */
175877
+ version?: InputMaybe<Scalars['String']['input']>;
175878
+ };
174889
175879
  export type SaveSandboxArtifactInput = {
174890
175880
  /**
174891
175881
  * Override the filename the sandbox suggests. Useful when the caller already
@@ -175268,6 +176258,11 @@ export type SchedulerMetricsUpdate = {
175268
176258
  export type SchedulerPaginationInput = {
175269
176259
  after?: InputMaybe<Scalars['String']['input']>;
175270
176260
  first?: InputMaybe<Scalars['Int']['input']>;
176261
+ /**
176262
+ * Zero-based row offset for numbered pages. When set it takes precedence over
176263
+ * `after`; `first` is the page size (max 100). Out-of-range values are clamped.
176264
+ */
176265
+ offset?: InputMaybe<Scalars['Int']['input']>;
175271
176266
  };
175272
176267
  export type SchemeApplication = {
175273
176268
  __typename?: 'SchemeApplication';
@@ -176349,6 +177344,13 @@ export type SeedWorkflowRunLoadFixtureInput = {
176349
177344
  /** An existing workflow of the workspace (its newest version) that the runs belong to. */
176350
177345
  workflowKey: Scalars['String']['input'];
176351
177346
  };
177347
+ export type SeekQueueSubscriptionInput = {
177348
+ subscriptionName: Scalars['String']['input'];
177349
+ test?: InputMaybe<Scalars['Boolean']['input']>;
177350
+ timestamp?: InputMaybe<Scalars['DateTime']['input']>;
177351
+ to: QueueSeekTarget;
177352
+ topic: Scalars['String']['input'];
177353
+ };
176352
177354
  export declare enum SegmentVisibility {
176353
177355
  Private = "PRIVATE",
176354
177356
  Public = "PUBLIC",
@@ -177990,6 +178992,15 @@ export type SetActorRolesResult = {
177990
178992
  /** Distinct role IDs of the actor's active, unexpired, workspace-wide assignments after commit. */
177991
178993
  roleIds: Array<Scalars['ID']['output']>;
177992
178994
  };
178995
+ /** Omit a field to leave that binding unchanged; pass null to detach it. */
178996
+ export type SetAgentBindingsInput = {
178997
+ promptTemplateId?: InputMaybe<Scalars['ID']['input']>;
178998
+ /** Values for the template's declared variables, keyed by name. */
178999
+ promptVariables?: InputMaybe<Scalars['JSON']['input']>;
179000
+ retrievalProfileId?: InputMaybe<Scalars['ID']['input']>;
179001
+ /** The complete, ordered skill list. An empty list detaches every skill. */
179002
+ skillIds?: InputMaybe<Array<Scalars['ID']['input']>>;
179003
+ };
177993
179004
  /** Input for `setAgentVisibility`. */
177994
179005
  export type SetAgentVisibilityInput = {
177995
179006
  /** Agent to update. */
@@ -178980,6 +179991,17 @@ export type StartDiscoveryJobInput = {
178980
179991
  name: Scalars['String']['input'];
178981
179992
  source: Scalars['String']['input'];
178982
179993
  };
179994
+ export type StartEvalRunInput = {
179995
+ datasetId: Scalars['ID']['input'];
179996
+ /** The aggregate score the run needs to pass, 0 to 1 (default 0.8). */
179997
+ passThreshold?: InputMaybe<Scalars['Float']['input']>;
179998
+ /** The node the rows start on; the workflow's only entry node when left out. */
179999
+ triggerNodeId?: InputMaybe<Scalars['String']['input']>;
180000
+ /** A version or alias; the ACTIVE version when left out. */
180001
+ version?: InputMaybe<Scalars['String']['input']>;
180002
+ /** The exact version row; takes precedence over version. */
180003
+ workflowVersionId?: InputMaybe<Scalars['ID']['input']>;
180004
+ };
178983
180005
  export type StartHrisSyncInput = {
178984
180006
  /**
178985
180007
  * APPLY only: proceed even if the sync would deactivate more than a quarter of
@@ -182094,8 +183116,31 @@ export type Subscription = {
182094
183116
  workflowCompleted: WorkflowRun;
182095
183117
  /** Subscribe to workflow errors */
182096
183118
  workflowError: WorkflowRun;
183119
+ /**
183120
+ * BOFF-9742: a run's live updates: its status changes and its nodes starting and ending, for the run
183121
+ * page. Starts with HEARTBEAT, then RUN_FINISHED at once for a run that has already ended. It stays
183122
+ * open after the run ends (a retried run reopens) until the client closes it. Carries no history:
183123
+ * read the run after the first event. An event with refetch true can be older than one already
183124
+ * received: refetch instead of applying it. NOT_FOUND for a run the caller cannot read; a run whose
183125
+ * workflow the caller can no longer see stops sending events.
183126
+ */
183127
+ workflowRunLive: WorkflowRunLiveEvent;
182097
183128
  /** Subscribe to workflow run updates */
182098
183129
  workflowRunUpdated: WorkflowRun;
183130
+ /**
183131
+ * BOFF-9742: the live updates of the workspace's runs the caller can read (the workflowRuns rule),
183132
+ * for the Runs list: runs created, changing status and ending, optionally of one workflow only.
183133
+ * includeNodeEvents adds the nodes starting and ending. Starts with HEARTBEAT and carries no
183134
+ * history: read the list after the first event. RESOURCE_EXHAUSTED when the workspace already has
183135
+ * too many live streams open; UNAVAILABLE when live updates cannot be served (keep polling).
183136
+ */
183137
+ workflowRunsLive: WorkflowRunLiveEvent;
183138
+ /**
183139
+ * Everything that happens in a stored version's live editing room: joins, leaves, presence,
183140
+ * applied changes, and writes from outside the room. Delivers only what happens after it opens:
183141
+ * join the room (which returns the revision to start from), then subscribe.
183142
+ */
183143
+ workflowSessionEvents: WorkflowSessionEvent;
182099
183144
  /**
182100
183145
  * Subscribe to workspace activity events.
182101
183146
  * Returns events for all activity actions performed in the workspace.
@@ -182984,6 +184029,14 @@ export type SubscriptionWorkflowCompletedArgs = {
182984
184029
  export type SubscriptionWorkflowErrorArgs = {
182985
184030
  runId: Scalars['String']['input'];
182986
184031
  };
184032
+ /**
184033
+ * Root subscription type for this subgraph. Defined here (not extended from the
184034
+ * base module) because the base module declares only Query and Mutation — this
184035
+ * is the first and only module in wspace-collabkin-svc with subscription fields.
184036
+ */
184037
+ export type SubscriptionWorkflowRunLiveArgs = {
184038
+ runId: Scalars['ID']['input'];
184039
+ };
182987
184040
  /**
182988
184041
  * Root subscription type for this subgraph. Defined here (not extended from the
182989
184042
  * base module) because the base module declares only Query and Mutation — this
@@ -182992,6 +184045,23 @@ export type SubscriptionWorkflowErrorArgs = {
182992
184045
  export type SubscriptionWorkflowRunUpdatedArgs = {
182993
184046
  runId: Scalars['String']['input'];
182994
184047
  };
184048
+ /**
184049
+ * Root subscription type for this subgraph. Defined here (not extended from the
184050
+ * base module) because the base module declares only Query and Mutation — this
184051
+ * is the first and only module in wspace-collabkin-svc with subscription fields.
184052
+ */
184053
+ export type SubscriptionWorkflowRunsLiveArgs = {
184054
+ includeNodeEvents?: InputMaybe<Scalars['Boolean']['input']>;
184055
+ workflowKey?: InputMaybe<Scalars['String']['input']>;
184056
+ };
184057
+ /**
184058
+ * Root subscription type for this subgraph. Defined here (not extended from the
184059
+ * base module) because the base module declares only Query and Mutation — this
184060
+ * is the first and only module in wspace-collabkin-svc with subscription fields.
184061
+ */
184062
+ export type SubscriptionWorkflowSessionEventsArgs = {
184063
+ workflowId: Scalars['ID']['input'];
184064
+ };
182995
184065
  /**
182996
184066
  * Root subscription type for this subgraph. Defined here (not extended from the
182997
184067
  * base module) because the base module declares only Query and Mutation — this
@@ -186484,6 +187554,21 @@ export type TestPipelineInput = {
186484
187554
  inputData: Scalars['JSON']['input'];
186485
187555
  pipelineId: Scalars['ID']['input'];
186486
187556
  };
187557
+ /** Prompt Studio run of a template against a live model (BOFF-15360). */
187558
+ export type TestPromptTemplateInput = {
187559
+ /** An active model registered in this workspace. */
187560
+ llmModelId: Scalars['ID']['input'];
187561
+ maxTokens?: InputMaybe<Scalars['Int']['input']>;
187562
+ temperature?: InputMaybe<Scalars['Float']['input']>;
187563
+ /** Draft text to run; the saved text when omitted. */
187564
+ templateText?: InputMaybe<Scalars['String']['input']>;
187565
+ /** The user message the rendered prompt answers. */
187566
+ userMessage: Scalars['String']['input'];
187567
+ /** Draft variable contract; the saved contract when omitted. */
187568
+ variableDefinitions?: InputMaybe<Scalars['JSON']['input']>;
187569
+ /** Values for the template variables, keyed by name. */
187570
+ variables?: InputMaybe<Scalars['JSON']['input']>;
187571
+ };
186487
187572
  export type TestRuleSetInput = {
186488
187573
  /** An unsaved definition (the canvas as it is now). Overrides the saved one when both are given. */
186489
187574
  definition?: InputMaybe<Scalars['JSON']['input']>;
@@ -193945,6 +195030,8 @@ export type UpdateBotAppInput = {
193945
195030
  };
193946
195031
  /** Deprecated: use UpdateBotmanorAgentInput. Scheduled for removal no earlier than 2027-02-05 (BOFF-9561). */
193947
195032
  export type UpdateBotlitAgentInput = {
195033
+ /** Emoji shown for the agent (up to 32 characters). An empty string clears it. */
195034
+ avatar?: InputMaybe<Scalars['String']['input']>;
193948
195035
  bucketId?: InputMaybe<Scalars['ID']['input']>;
193949
195036
  capabilities?: InputMaybe<Array<BotlitAgentCapability>>;
193950
195037
  context?: InputMaybe<ContextInput>;
@@ -193995,6 +195082,8 @@ export type UpdateBotlitLlmProviderInput = {
193995
195082
  name?: InputMaybe<Scalars['String']['input']>;
193996
195083
  };
193997
195084
  export type UpdateBotmanorAgentInput = {
195085
+ /** Emoji shown for the agent (up to 32 characters). An empty string clears it. */
195086
+ avatar?: InputMaybe<Scalars['String']['input']>;
193998
195087
  bucketId?: InputMaybe<Scalars['ID']['input']>;
193999
195088
  capabilities?: InputMaybe<Array<BotmanorAgentCapability>>;
194000
195089
  context?: InputMaybe<ContextInput>;
@@ -196600,6 +197689,16 @@ export type UpdateProviderPluginInput = {
196600
197689
  supportedFeatures?: InputMaybe<Array<Scalars['String']['input']>>;
196601
197690
  website?: InputMaybe<Scalars['String']['input']>;
196602
197691
  };
197692
+ export type UpdateQueueTopicInput = {
197693
+ clearMessageSchema?: InputMaybe<Scalars['Boolean']['input']>;
197694
+ dedupeWindowSeconds?: InputMaybe<Scalars['Int']['input']>;
197695
+ description?: InputMaybe<Scalars['String']['input']>;
197696
+ messageSchema?: InputMaybe<Scalars['JSON']['input']>;
197697
+ name: Scalars['String']['input'];
197698
+ /** Applies to messages published from now on. */
197699
+ retentionSeconds?: InputMaybe<Scalars['Int']['input']>;
197700
+ test?: InputMaybe<Scalars['Boolean']['input']>;
197701
+ };
196603
197702
  /** Input for updating RBAC configuration */
196604
197703
  export type UpdateRbacConfigInput = {
196605
197704
  description?: InputMaybe<Scalars['String']['input']>;
@@ -198247,10 +199346,13 @@ export declare enum ValidationMethod {
198247
199346
  BasicAuth = "BASIC_AUTH",
198248
199347
  BearerToken = "BEARER_TOKEN",
198249
199348
  BodyHmacSha1 = "BODY_HMAC_SHA1",
199349
+ BodyHmacSha256 = "BODY_HMAC_SHA256",
198250
199350
  CloseHmacSha256 = "CLOSE_HMAC_SHA256",
199351
+ Ed25519 = "ED25519",
198251
199352
  HmacSha256 = "HMAC_SHA256",
198252
199353
  Jwt = "JWT",
198253
199354
  None = "NONE",
199355
+ Sha256Concat = "SHA256_CONCAT",
198254
199356
  Signature = "SIGNATURE",
198255
199357
  StandardWebhooks = "STANDARD_WEBHOOKS",
198256
199358
  TimestampedHmacSha256 = "TIMESTAMPED_HMAC_SHA256"
@@ -201892,6 +202994,25 @@ export type WorkerCompleteWorkflowTaskInput = {
201892
202994
  runId: Scalars['ID']['input'];
201893
202995
  taskId: Scalars['ID']['input'];
201894
202996
  };
202997
+ export type WorkerConsumeQueueMessagesInput = {
202998
+ ackMode?: InputMaybe<QueueAckMode>;
202999
+ /** Deliveries (1 to 20, default 5) before a message moves to the dead letters. */
203000
+ maxDeliveries?: InputMaybe<Scalars['Int']['input']>;
203001
+ /** 1 to 500 (default 50). */
203002
+ maxMessages?: InputMaybe<Scalars['Int']['input']>;
203003
+ orderedGroups?: InputMaybe<Scalars['Boolean']['input']>;
203004
+ run: WorkerQueueRunInput;
203005
+ startFrom?: InputMaybe<QueueStartFrom>;
203006
+ subscriptionName: Scalars['String']['input'];
203007
+ topic: Scalars['String']['input'];
203008
+ /**
203009
+ * Manual acknowledgement: seconds (10 to 43,200, default 300) before an unacknowledged message is
203010
+ * offered again.
203011
+ */
203012
+ visibilityTimeoutSeconds?: InputMaybe<Scalars['Int']['input']>;
203013
+ /** Long poll: wait up to this many seconds (0 to 20) for a first message. */
203014
+ waitSeconds?: InputMaybe<Scalars['Int']['input']>;
203015
+ };
201895
203016
  /** Input for starting a Sub-workflow node's child run. */
201896
203017
  export type WorkerCreateChildRunInput = {
201897
203018
  /**
@@ -202327,6 +203448,17 @@ export type WorkerPolledTask = {
202327
203448
  /** Workflow tasks. */
202328
203449
  taskId?: Maybe<Scalars['ID']['output']>;
202329
203450
  };
203451
+ export type WorkerPublishQueueMessagesInput = {
203452
+ createTopicIfMissing?: InputMaybe<Scalars['Boolean']['input']>;
203453
+ messages: Array<QueueMessageInput>;
203454
+ /**
203455
+ * Idempotency key of the step attempt: a replay with the same key publishes nothing new and gets
203456
+ * the stored messages back.
203457
+ */
203458
+ publishKey?: InputMaybe<Scalars['String']['input']>;
203459
+ run: WorkerQueueRunInput;
203460
+ topic: Scalars['String']['input'];
203461
+ };
202330
203462
  /** A query task of a self-hosted `worker`-determinism run (CX8). */
202331
203463
  export type WorkerQueryTask = {
202332
203464
  __typename?: 'WorkerQueryTask';
@@ -202339,6 +203471,15 @@ export type WorkerQueryTask = {
202339
203471
  runId: Scalars['ID']['output'];
202340
203472
  workflowFn: Scalars['String']['output'];
202341
203473
  };
203474
+ export type WorkerQueueRunInput = {
203475
+ /**
203476
+ * The run calling. Re-read server-side: its workspace and workflow key must match, and its mode
203477
+ * decides whether the test scope is used.
203478
+ */
203479
+ runId: Scalars['ID']['input'];
203480
+ workflowKey: Scalars['String']['input'];
203481
+ workspaceId: Scalars['ID']['input'];
203482
+ };
202342
203483
  /** Input for recording the steps of one AI Agent node execution (BOFF-9936), usually one loop iteration */
202343
203484
  export type WorkerRecordAgentStepsInput = {
202344
203485
  nodeId: Scalars['String']['input'];
@@ -202591,6 +203732,14 @@ export type WorkerRunStatusResponse = {
202591
203732
  run?: Maybe<WorkerRunData>;
202592
203733
  success: Scalars['Boolean']['output'];
202593
203734
  };
203735
+ export type WorkerSettleQueueMessagesInput = {
203736
+ ackTokens: Array<Scalars['String']['input']>;
203737
+ /** Release only: seconds (0 to 3,600) before the messages are offered again. */
203738
+ delaySeconds?: InputMaybe<Scalars['Int']['input']>;
203739
+ run: WorkerQueueRunInput;
203740
+ subscriptionName: Scalars['String']['input'];
203741
+ topic: Scalars['String']['input'];
203742
+ };
202594
203743
  /** The signal an `internal:signal-run` node sends (Phase C, C-H6). */
202595
203744
  export type WorkerSignalRunInput = {
202596
203745
  attempt: Scalars['Int']['input'];
@@ -203355,6 +204504,17 @@ export type WorkflowCodeUploadTicket = {
203355
204504
  source?: Maybe<WorkflowCodePresignedPut>;
203356
204505
  uploadId: Scalars['ID']['output'];
203357
204506
  };
204507
+ /** A point on the workflow canvas, in canvas coordinates (the same at every zoom). */
204508
+ export type WorkflowCursor = {
204509
+ __typename?: 'WorkflowCursor';
204510
+ x: Scalars['Float']['output'];
204511
+ y: Scalars['Float']['output'];
204512
+ };
204513
+ /** A point on the workflow canvas, in canvas coordinates. */
204514
+ export type WorkflowCursorInput = {
204515
+ x: Scalars['Float']['input'];
204516
+ y: Scalars['Float']['input'];
204517
+ };
203358
204518
  /**
203359
204519
  * WorkflowDefinition: Reusable workflow template with versioning
203360
204520
  * Federated entity identified by id
@@ -204381,6 +205541,46 @@ export type WorkflowPaginationInput = {
204381
205541
  offset?: InputMaybe<Scalars['Int']['input']>;
204382
205542
  page?: InputMaybe<Scalars['Int']['input']>;
204383
205543
  };
205544
+ /**
205545
+ * One builder page in a version's live editing room: who it is, the color it is
205546
+ * drawn in, and where it is on the canvas.
205547
+ */
205548
+ export type WorkflowPresence = {
205549
+ __typename?: 'WorkflowPresence';
205550
+ actorId: Scalars['String']['output'];
205551
+ /** False for someone who can only view the workflow. */
205552
+ canEdit: Scalars['Boolean']['output'];
205553
+ /** A color index from 0 to 7; pages in one room get different colors while they can. */
205554
+ color: Scalars['Int']['output'];
205555
+ /** Where the pointer is on the canvas; null when it is off the canvas. */
205556
+ cursor?: Maybe<WorkflowCursor>;
205557
+ /** The node whose settings this page has open. */
205558
+ editingNodeId?: Maybe<Scalars['String']['output']>;
205559
+ lastSeenAt: Scalars['DateTime']['output'];
205560
+ /** The ids of the nodes this page has selected. */
205561
+ selection: Array<Scalars['String']['output']>;
205562
+ /** The page's session id. */
205563
+ sessionId: Scalars['String']['output'];
205564
+ };
205565
+ export type WorkflowPresenceAck = {
205566
+ __typename?: 'WorkflowPresenceAck';
205567
+ /** Whether the version is still edited together (a draft that runs no code bundle). */
205568
+ coEditable: Scalars['Boolean']['output'];
205569
+ /** False when the room no longer holds this page: it joins again. */
205570
+ inRoom: Scalars['Boolean']['output'];
205571
+ /** The version's revision now. A page that applied less missed a change and reloads. */
205572
+ revision: Scalars['Int']['output'];
205573
+ };
205574
+ export type WorkflowPresenceInput = {
205575
+ /** Where the pointer is on the canvas; null when it left the canvas. Omit to keep it. */
205576
+ cursor?: InputMaybe<WorkflowCursorInput>;
205577
+ /** The node whose settings are open; null when none. Omit to keep it. */
205578
+ editingNodeId?: InputMaybe<Scalars['String']['input']>;
205579
+ /** The selected node ids. Omit to keep them. */
205580
+ selection?: InputMaybe<Array<Scalars['String']['input']>>;
205581
+ sessionId: Scalars['String']['input'];
205582
+ workflowId: Scalars['ID']['input'];
205583
+ };
204384
205584
  /**
204385
205585
  * A first-class project grouping. Supersedes the legacy free-form `context.projectId`
204386
205586
  * JSON key on WorkflowDefinition — see that field's own resolver for the fallback.
@@ -205018,6 +206218,63 @@ export type WorkflowRunListResponse = {
205018
206218
  /** More runs match than `total` counts (only with a searchAttributes filter; BOFF-14192). */
205019
206219
  totalCapped: Scalars['Boolean']['output'];
205020
206220
  };
206221
+ /**
206222
+ * BOFF-9742: one live update of a run or one of its nodes. It carries ids and statuses only, never
206223
+ * node inputs, outputs or error text. HEARTBEAT and RESYNC name no run.
206224
+ */
206225
+ export type WorkflowRunLiveEvent = {
206226
+ __typename?: 'WorkflowRunLiveEvent';
206227
+ /** When the change was recorded, or when the signal was sent. */
206228
+ at: Scalars['DateTime']['output'];
206229
+ attemptCount?: Maybe<Scalars['Int']['output']>;
206230
+ kind: WorkflowRunLiveEventKind;
206231
+ mode?: Maybe<RunMode>;
206232
+ /** Null on a node event about several nodes of the run at once (refetch is then true). */
206233
+ nodeId?: Maybe<Scalars['String']['output']>;
206234
+ nodeStateId?: Maybe<Scalars['ID']['output']>;
206235
+ nodeStatus?: Maybe<NodeStatus>;
206236
+ nodeType?: Maybe<Scalars['String']['output']>;
206237
+ /** The parent run of a sub-workflow run. */
206238
+ parentRunId?: Maybe<Scalars['ID']['output']>;
206239
+ /**
206240
+ * True when the change was reported after it was written (a bulk or transactional write), so the
206241
+ * event can arrive after a later change of the same run: refetch the run instead of applying it.
206242
+ */
206243
+ refetch: Scalars['Boolean']['output'];
206244
+ runId?: Maybe<Scalars['ID']['output']>;
206245
+ /** The run's status after a run event; null on node events. */
206246
+ runStatus?: Maybe<RunStatus>;
206247
+ /** The workflow definition (version) the run executes. */
206248
+ workflowId?: Maybe<Scalars['ID']['output']>;
206249
+ workflowKey?: Maybe<Scalars['String']['output']>;
206250
+ };
206251
+ /**
206252
+ * BOFF-9742: what a live run update reports. A reader updates what it shows from the event, or
206253
+ * refetches the run (or the list) when it needs more than the event carries.
206254
+ */
206255
+ export declare enum WorkflowRunLiveEventKind {
206256
+ /**
206257
+ * The stream is open and listening (always the first event: refetch once after it and nothing is
206258
+ * missed), and again after every heartbeat interval without another event.
206259
+ */
206260
+ Heartbeat = "HEARTBEAT",
206261
+ /** A node execution ended: COMPLETED, FAILED, SKIPPED, CANCELLED or TIMEOUT. */
206262
+ NodeFinished = "NODE_FINISHED",
206263
+ /** A node execution started (nodeStatus RUNNING). */
206264
+ NodeStarted = "NODE_STARTED",
206265
+ /** A node execution changed status without starting or ending (for example WAITING or DELAYED). */
206266
+ NodeStatusChanged = "NODE_STATUS_CHANGED",
206267
+ /** Events were dropped because they were read too slowly: refetch, then keep reading. */
206268
+ Resync = "RESYNC",
206269
+ /** A run was created (runStatus is its first status, usually PENDING). */
206270
+ RunCreated = "RUN_CREATED",
206271
+ /** A run was deleted (by a person or by retention): drop it. */
206272
+ RunDeleted = "RUN_DELETED",
206273
+ /** A run ended: COMPLETED, FAILED, CANCELLED or TERMINATED. */
206274
+ RunFinished = "RUN_FINISHED",
206275
+ /** A run changed status without ending (for example PENDING to RUNNING, or RUNNING to WAITING). */
206276
+ RunStatusChanged = "RUN_STATUS_CHANGED"
206277
+ }
205021
206278
  /**
205022
206279
  * The search attributes a load fixture writes on run number n (BOFF-14192). Each attribute is optional
205023
206280
  * and must be defined in the workspace with the stated type.
@@ -205354,7 +206611,9 @@ export declare enum WorkflowSecurityCheck {
205354
206611
  /** An active workflow's production webhook or form that anyone can call: validation NONE, or a public form. */
205355
206612
  PublicTriggerWithoutAuth = "PUBLIC_TRIGGER_WITHOUT_AUTH",
205356
206613
  /** A SQL node (or the Database Poll trigger) whose query text embeds expressions (injection risk). */
205357
- SqlWithExpressions = "SQL_WITH_EXPRESSIONS"
206614
+ SqlWithExpressions = "SQL_WITH_EXPRESSIONS",
206615
+ /** A connection of the workspace that no stored workflow version uses; listed in unusedConnections (BOFF-14135). */
206616
+ UnusedConnection = "UNUSED_CONNECTION"
205358
206617
  }
205359
206618
  /** How many findings one check produced, before the findings list is cut. */
205360
206619
  export type WorkflowSecurityCheckCount = {
@@ -205389,6 +206648,78 @@ export declare enum WorkflowSecuritySeverity {
205389
206648
  Low = "LOW",
205390
206649
  Medium = "MEDIUM"
205391
206650
  }
206651
+ /**
206652
+ * A connection of the workspace that no stored workflow version refers to (BOFF-14135), like the
206653
+ * unused credentials of n8n's audit. Metadata only; never a token.
206654
+ */
206655
+ export type WorkflowSecurityUnusedConnection = {
206656
+ __typename?: 'WorkflowSecurityUnusedConnection';
206657
+ /** Always UNUSED_CONNECTION. */
206658
+ check: WorkflowSecurityCheck;
206659
+ connectionId: Scalars['String']['output'];
206660
+ connectionName: Scalars['String']['output'];
206661
+ createdAt: Scalars['DateTime']['output'];
206662
+ lastUsedAt?: Maybe<Scalars['DateTime']['output']>;
206663
+ /** What is unused and what to do about it, in English; clients can localise by check. */
206664
+ message: Scalars['String']['output'];
206665
+ providerKey?: Maybe<Scalars['String']['output']>;
206666
+ providerName?: Maybe<Scalars['String']['output']>;
206667
+ severity: WorkflowSecuritySeverity;
206668
+ /** The connection's status in the integrations service, such as ACTIVE or EXPIRED. */
206669
+ status: Scalars['String']['output'];
206670
+ };
206671
+ /** Something that happened in a version's live editing room. */
206672
+ export type WorkflowSessionEvent = {
206673
+ __typename?: 'WorkflowSessionEvent';
206674
+ actorId?: Maybe<Scalars['String']['output']>;
206675
+ at: Scalars['DateTime']['output'];
206676
+ /** CHANGES: the id the page gave the batch. */
206677
+ batchId?: Maybe<Scalars['String']['output']>;
206678
+ /**
206679
+ * CHANGES: the applied changes, as stored (literal secrets masked). Each is one of
206680
+ * { op: "put", in, id, value }, { op: "remove", in, id }, { op: "set", in, id, path, value },
206681
+ * { op: "unset", in, id, path } with `in` one of nodes, edges, stickyNotes; or
206682
+ * { op: "field", name, value } with `name` one of name, description, alias.
206683
+ */
206684
+ changes?: Maybe<Scalars['JSON']['output']>;
206685
+ kind: WorkflowSessionEventKind;
206686
+ /** JOINED and PRESENCE: the page's presence. */
206687
+ presence?: Maybe<WorkflowPresence>;
206688
+ /** CHANGES and REPLACED: the version's revision after this event. */
206689
+ revision?: Maybe<Scalars['Int']['output']>;
206690
+ /** The page the event came from. */
206691
+ sessionId?: Maybe<Scalars['String']['output']>;
206692
+ /** The stored version (WorkflowDefinition.id). */
206693
+ workflowId: Scalars['ID']['output'];
206694
+ };
206695
+ export declare enum WorkflowSessionEventKind {
206696
+ /** Someone's changes were applied; `revision` is the version's revision after them. */
206697
+ Changes = "CHANGES",
206698
+ /** Someone opened the version. */
206699
+ Joined = "JOINED",
206700
+ /** Someone closed the version. */
206701
+ Left = "LEFT",
206702
+ /** Someone moved their pointer, selection or open node. */
206703
+ Presence = "PRESENCE",
206704
+ /**
206705
+ * The version was written outside the room (a full save, the API), or the stream just opened:
206706
+ * the version is at revision `revision`; a page behind it loads the version again.
206707
+ */
206708
+ Replaced = "REPLACED"
206709
+ }
206710
+ /** What joining a version's room returns. */
206711
+ export type WorkflowSessionJoin = {
206712
+ __typename?: 'WorkflowSessionJoin';
206713
+ /** True for a draft no code bundle runs: everyone with edit rights edits it together. */
206714
+ coEditable: Scalars['Boolean']['output'];
206715
+ /** This page's color. */
206716
+ color: Scalars['Int']['output'];
206717
+ /** Everyone in the room, this page included. */
206718
+ participants: Array<WorkflowPresence>;
206719
+ /** The version's revision when the page joined; changes after it arrive on workflowSessionEvents. */
206720
+ revision: Scalars['Int']['output'];
206721
+ sessionId: Scalars['String']['output'];
206722
+ };
205392
206723
  /** One grant on a workflow. */
205393
206724
  export type WorkflowShare = {
205394
206725
  __typename?: 'WorkflowShare';
@@ -206942,6 +208273,8 @@ export type WorkspaceSecurityReport = {
206942
208273
  notes: Array<Scalars['String']['output']>;
206943
208274
  /** True when workflows or findings were left out because the report is bounded. */
206944
208275
  truncated: Scalars['Boolean']['output'];
208276
+ /** UNUSED_CONNECTION: connections no stored workflow version uses, by name. Empty when that check did not run. */
208277
+ unusedConnections: Array<WorkflowSecurityUnusedConnection>;
206945
208278
  workflowsScanned: Scalars['Int']['output'];
206946
208279
  };
206947
208280
  /** Which checks to run; every check when omitted or empty. */