@burdenoff/microfe-bigconsole 2026.1119.9 → 2026.1120.1

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.
@@ -65,6 +65,11 @@ export type Scalars = {
65
65
  output: unknown;
66
66
  };
67
67
  };
68
+ export declare enum A2ACardVerificationStatus {
69
+ Failed = "FAILED",
70
+ Unverified = "UNVERIFIED",
71
+ Verified = "VERIFIED"
72
+ }
68
73
  export type A2AConnection = {
69
74
  __typename?: 'A2AConnection';
70
75
  config?: Maybe<Scalars['JSON']['output']>;
@@ -88,7 +93,11 @@ export type A2AConnectionFilterInput = {
88
93
  export type A2ADelegationResult = {
89
94
  __typename?: 'A2ADelegationResult';
90
95
  a2aMessageId: Scalars['ID']['output'];
96
+ /** BOFF-15360 — when a queued delegation times out */
97
+ deadlineAt?: Maybe<Scalars['DateTime']['output']>;
91
98
  message: Scalars['String']['output'];
99
+ /** BOFF-15360 — DELIVERED for a synchronous delegation; PENDING when queued asynchronously */
100
+ status: A2AMessageStatus;
92
101
  targetAgentId: Scalars['ID']['output'];
93
102
  targetExecutionId?: Maybe<Scalars['ID']['output']>;
94
103
  tokensUsed: Scalars['Int']['output'];
@@ -96,18 +105,34 @@ export type A2ADelegationResult = {
96
105
  export type A2AMessage = {
97
106
  __typename?: 'A2AMessage';
98
107
  acknowledgedAt?: Maybe<Scalars['DateTime']['output']>;
108
+ /** Delivery attempts started */
109
+ attempts: Scalars['Int']['output'];
110
+ /** When the answer or failure was delivered back to the originating run and conversation */
111
+ callbackAt?: Maybe<Scalars['DateTime']['output']>;
99
112
  connectionId?: Maybe<Scalars['ID']['output']>;
100
113
  content: Scalars['String']['output'];
101
114
  /** Set when a RETENTION policy erased this message's content */
102
115
  contentPurgedAt?: Maybe<Scalars['DateTime']['output']>;
116
+ /** The message fails as timed out after this */
117
+ deadlineAt?: Maybe<Scalars['DateTime']['output']>;
103
118
  deliveredAt?: Maybe<Scalars['DateTime']['output']>;
119
+ /** Why delivery failed (timeout, policy, provider error) */
120
+ error?: Maybe<Scalars['String']['output']>;
104
121
  id: Scalars['ID']['output'];
122
+ /** Queued for the delivery worker instead of run inside the caller's request */
123
+ isAsync: Scalars['Boolean']['output'];
105
124
  metadata?: Maybe<Scalars['JSON']['output']>;
125
+ /** The run whose turn queued this delegation */
126
+ originExecutionId?: Maybe<Scalars['ID']['output']>;
106
127
  priority: A2AMessagePriority;
128
+ /** The target agent's answer */
129
+ result?: Maybe<Scalars['String']['output']>;
107
130
  senderAgentId: Scalars['ID']['output'];
108
131
  sentAt: Scalars['DateTime']['output'];
109
132
  status: A2AMessageStatus;
110
133
  targetAgentId: Scalars['ID']['output'];
134
+ /** The execution the target agent's run was recorded as */
135
+ targetExecutionId?: Maybe<Scalars['ID']['output']>;
111
136
  workspaceId: Scalars['ID']['output'];
112
137
  };
113
138
  export type A2AMessageFilterInput = {
@@ -127,12 +152,16 @@ export declare enum A2AMessageStatus {
127
152
  Acknowledged = "ACKNOWLEDGED",
128
153
  Delivered = "DELIVERED",
129
154
  Failed = "FAILED",
130
- Pending = "PENDING"
155
+ Pending = "PENDING",
156
+ /** Claimed by a delivery worker or the synchronous runtime and running */
157
+ Working = "WORKING"
131
158
  }
132
159
  export type A2ARegistryEntry = {
133
160
  __typename?: 'A2ARegistryEntry';
134
161
  agentCard: Scalars['JSON']['output'];
135
162
  bucketId?: Maybe<Scalars['ID']['output']>;
163
+ /** True when the card's JWS signature verified against the publisher's keys */
164
+ cardSigned: Scalars['Boolean']['output'];
136
165
  createdAt: Scalars['DateTime']['output'];
137
166
  createdById: Scalars['ID']['output'];
138
167
  description?: Maybe<Scalars['String']['output']>;
@@ -140,16 +169,31 @@ export type A2ARegistryEntry = {
140
169
  id: Scalars['ID']['output'];
141
170
  metadata?: Maybe<Scalars['JSON']['output']>;
142
171
  name: Scalars['String']['output'];
172
+ /** The trust level the registrant asked for */
173
+ requestedTrustLevel: A2ATrustLevel;
143
174
  revision: Scalars['Int']['output'];
144
175
  status: EntityStatus;
145
176
  tags: Array<Scalars['String']['output']>;
177
+ /** Effective trust level: capped at UNVERIFIED until the well-known card verifies */
146
178
  trustLevel: A2ATrustLevel;
147
179
  updatedAt: Scalars['DateTime']['output'];
148
180
  updatedById: Scalars['ID']['output'];
181
+ verificationError?: Maybe<Scalars['String']['output']>;
182
+ verificationStatus: A2ACardVerificationStatus;
183
+ verifiedAt?: Maybe<Scalars['DateTime']['output']>;
149
184
  visibility: Visibility;
150
185
  wellKnownUrl?: Maybe<Scalars['String']['output']>;
151
186
  workspaceId: Scalars['ID']['output'];
152
187
  };
188
+ export type A2ARegistryEntryConnectionUsage = {
189
+ __typename?: 'A2ARegistryEntryConnectionUsage';
190
+ id: Scalars['ID']['output'];
191
+ isActive: Scalars['Boolean']['output'];
192
+ name: Scalars['String']['output'];
193
+ senderAgentId: Scalars['ID']['output'];
194
+ /** Null when the sender agent no longer exists */
195
+ senderAgentName?: Maybe<Scalars['String']['output']>;
196
+ };
153
197
  export type A2ARegistryEntryFilterInput = {
154
198
  bucketId?: InputMaybe<Scalars['ID']['input']>;
155
199
  status?: InputMaybe<EntityStatus>;
@@ -158,6 +202,13 @@ export type A2ARegistryEntryFilterInput = {
158
202
  visibility?: InputMaybe<Visibility>;
159
203
  workspaceId?: InputMaybe<Scalars['ID']['input']>;
160
204
  };
205
+ export type A2ARegistryEntryUsage = {
206
+ __typename?: 'A2ARegistryEntryUsage';
207
+ /** Every live connection that targets the entry */
208
+ connectionCount: Scalars['Int']['output'];
209
+ /** The most recent connections (at most 50) */
210
+ connections: Array<A2ARegistryEntryConnectionUsage>;
211
+ };
161
212
  export declare enum A2ATrustLevel {
162
213
  Internal = "INTERNAL",
163
214
  Unverified = "UNVERIFIED",
@@ -2450,11 +2501,23 @@ export type AgentStats = {
2450
2501
  agentId: Scalars['ID']['output'];
2451
2502
  avgDurationMs?: Maybe<Scalars['Float']['output']>;
2452
2503
  failedExecutions: Scalars['Int']['output'];
2504
+ /** Runs still PENDING or RUNNING */
2505
+ inProgressExecutions: Scalars['Int']['output'];
2453
2506
  lastExecutedAt?: Maybe<Scalars['DateTime']['output']>;
2507
+ /** Runs that recorded a cost */
2508
+ pricedExecutions: Scalars['Int']['output'];
2509
+ /** Successful share of the finished (COMPLETED, FAILED or TIMEOUT) runs, 0 to 1; null when none finished */
2510
+ successRate?: Maybe<Scalars['Float']['output']>;
2454
2511
  successfulExecutions: Scalars['Int']['output'];
2455
2512
  totalCost: Scalars['Float']['output'];
2456
2513
  totalExecutions: Scalars['Int']['output'];
2514
+ /** Sum of the recorded token totals */
2515
+ totalTokens: Scalars['Float']['output'];
2457
2516
  updatedAt: Scalars['DateTime']['output'];
2517
+ /** End (exclusive) of the window the totals cover; null for the whole history */
2518
+ windowEnd?: Maybe<Scalars['DateTime']['output']>;
2519
+ /** Start of the window the totals cover; null for the whole history */
2520
+ windowStart?: Maybe<Scalars['DateTime']['output']>;
2458
2521
  };
2459
2522
  /** One step of an AI Agent loop. */
2460
2523
  export type AgentStep = {
@@ -2507,6 +2570,76 @@ export declare enum AgentStepKind {
2507
2570
  /** What a tool returned, redacted and capped, or why it did not run (output). */
2508
2571
  ToolResult = "TOOL_RESULT"
2509
2572
  }
2573
+ export type AgentSuggestion = {
2574
+ __typename?: 'AgentSuggestion';
2575
+ agentId: Scalars['ID']['output'];
2576
+ appliedAt?: Maybe<Scalars['DateTime']['output']>;
2577
+ appliedBy?: Maybe<Scalars['ID']['output']>;
2578
+ /** Null for review cards: accepting records the decision without changing the agent. */
2579
+ change?: Maybe<AgentSuggestionChange>;
2580
+ confidence: Scalars['Float']['output'];
2581
+ draftedBy: AgentSuggestionDraftSource;
2582
+ /** Run counts and execution ids the suggestion is drawn from. */
2583
+ evidence: Scalars['JSON']['output'];
2584
+ generatedAt: Scalars['DateTime']['output'];
2585
+ id: Scalars['ID']['output'];
2586
+ kind: AgentSuggestionKind;
2587
+ modelVersion: Scalars['String']['output'];
2588
+ recommendation: Scalars['String']['output'];
2589
+ score: Scalars['Float']['output'];
2590
+ severity: Scalars['String']['output'];
2591
+ status: AiPredictionStatus;
2592
+ title: Scalars['String']['output'];
2593
+ /** Topics the unanswered questions share (KNOWLEDGE_GAP, model-drafted only). */
2594
+ topics: Array<Scalars['String']['output']>;
2595
+ };
2596
+ export type AgentSuggestionAcceptResult = {
2597
+ __typename?: 'AgentSuggestionAcceptResult';
2598
+ /** Whether the agent's draft changed (false for review cards). */
2599
+ draftChanged: Scalars['Boolean']['output'];
2600
+ suggestion: AgentSuggestion;
2601
+ };
2602
+ /** What accepting a suggestion changes. */
2603
+ export type AgentSuggestionChange = {
2604
+ __typename?: 'AgentSuggestionChange';
2605
+ /** The value accepting writes to the draft. */
2606
+ after?: Maybe<Scalars['String']['output']>;
2607
+ /** The draft value the suggestion was made against (prompt text or model id). */
2608
+ before?: Maybe<Scalars['String']['output']>;
2609
+ fallbackAfter?: Maybe<Array<Scalars['String']['output']>>;
2610
+ /** MODEL only: fallback model ids before and after. */
2611
+ fallbackBefore?: Maybe<Array<Scalars['String']['output']>>;
2612
+ /** KNOWLEDGE_REVIEW only: the knowledge base accepting marks reviewed. */
2613
+ knowledgeBaseId?: Maybe<Scalars['ID']['output']>;
2614
+ /** SYSTEM_PROMPT, MODEL or KNOWLEDGE_REVIEW. */
2615
+ type: Scalars['String']['output'];
2616
+ };
2617
+ export declare enum AgentSuggestionDraftSource {
2618
+ /** The agent's own model drafted the text from the evidence. */
2619
+ Model = "MODEL",
2620
+ /** Deterministic rules drafted the text (no usable model, or the model call failed). */
2621
+ Rules = "RULES"
2622
+ }
2623
+ export declare enum AgentSuggestionKind {
2624
+ KnowledgeConflict = "KNOWLEDGE_CONFLICT",
2625
+ KnowledgeGap = "KNOWLEDGE_GAP",
2626
+ KnowledgeOverdue = "KNOWLEDGE_OVERDUE",
2627
+ ModelChange = "MODEL_CHANGE",
2628
+ PromptEdit = "PROMPT_EDIT"
2629
+ }
2630
+ export type AgentSuggestionRun = {
2631
+ __typename?: 'AgentSuggestionRun';
2632
+ agentId: Scalars['ID']['output'];
2633
+ /** Whether the agent's model drafted text in this pass (and one message was metered). */
2634
+ modelDrafted: Scalars['Boolean']['output'];
2635
+ /** Runs in the evidence window. */
2636
+ runsAnalyzed: Scalars['Int']['output'];
2637
+ /** Suggestions open after this pass (new ones replace the agent's earlier open ones). */
2638
+ suggestions: Array<AgentSuggestion>;
2639
+ /** Candidates not shown again because the same suggestion was dismissed or accepted recently. */
2640
+ suppressed: Scalars['Int']['output'];
2641
+ windowDays: Scalars['Int']['output'];
2642
+ };
2510
2643
  export type AgentTaskExecution = {
2511
2644
  __typename?: 'AgentTaskExecution';
2512
2645
  /** Agent-side task ID (from SQLite) */
@@ -8369,6 +8502,38 @@ export declare enum BigConsoleBoardMigrationStatus {
8369
8502
  /** Has no BigConsole equivalent. A text placeholder keeps its place on the board. */
8370
8503
  Unsupported = "UNSUPPORTED"
8371
8504
  }
8505
+ /**
8506
+ * What restoring a board to its original version did. The board's own widgets are
8507
+ * never touched.
8508
+ */
8509
+ export type BigConsoleBoardRestore = {
8510
+ __typename?: 'BigConsoleBoardRestore';
8511
+ dashboardId: Scalars['ID']['output'];
8512
+ /** The board's own widgets, left as they are */
8513
+ localWidgetsKept: Scalars['Int']['output'];
8514
+ masterDashboardId: Scalars['ID']['output'];
8515
+ /** What could not be carried over exactly. Empty when everything was. */
8516
+ notices: Array<BigConsoleRestoreNotice>;
8517
+ /** Widgets the board had removed that were added back */
8518
+ widgetsBroughtBack: Scalars['Int']['output'];
8519
+ /** Inherited widgets that had been edited and are back to the master's version */
8520
+ widgetsRestored: Scalars['Int']['output'];
8521
+ };
8522
+ /**
8523
+ * What restoring a board to its original version would do. It has the same counts as the
8524
+ * restore itself, but not the notices: those are known only once the restore has run.
8525
+ */
8526
+ export type BigConsoleBoardRestorePreview = {
8527
+ __typename?: 'BigConsoleBoardRestorePreview';
8528
+ dashboardId: Scalars['ID']['output'];
8529
+ /** The board's own widgets, which would be left as they are */
8530
+ localWidgetsKept: Scalars['Int']['output'];
8531
+ masterDashboardId: Scalars['ID']['output'];
8532
+ /** Widgets the board had removed that would be added back */
8533
+ widgetsBroughtBack: Scalars['Int']['output'];
8534
+ /** Inherited widgets that had been edited and would go back to the master's version */
8535
+ widgetsRestored: Scalars['Int']['output'];
8536
+ };
8372
8537
  export type BigConsoleBuildDashboardTemplateContentResult = {
8373
8538
  __typename?: 'BigConsoleBuildDashboardTemplateContentResult';
8374
8539
  /**
@@ -8618,6 +8783,13 @@ export type BigConsoleCreateGlobalFilterInput = {
8618
8783
  /** Filter type */
8619
8784
  type: BigConsoleFilterType;
8620
8785
  };
8786
+ /** Input for creating a new board that follows a master */
8787
+ export type BigConsoleCreateLinkedCopyInput = {
8788
+ /** The master board to copy and follow */
8789
+ masterDashboardId: Scalars['ID']['input'];
8790
+ /** Name of the new board */
8791
+ name: Scalars['String']['input'];
8792
+ };
8621
8793
  /** Input for creating a widget action inline (during widget creation) */
8622
8794
  export type BigConsoleCreateWidgetActionInlineInput = {
8623
8795
  /** Confirmation dialog configuration */
@@ -8766,6 +8938,11 @@ export type BigConsoleDashboard = {
8766
8938
  id: Scalars['ID']['output'];
8767
8939
  /** Archived status (soft delete) */
8768
8940
  isArchived: Scalars['Boolean']['output'];
8941
+ /**
8942
+ * Whether other boards may follow this one as linked copies (fleet boards).
8943
+ * Set by "Set as master" or automatically when a board is linked under it.
8944
+ */
8945
+ isMaster: Scalars['Boolean']['output'];
8769
8946
  /** Whether dashboard is public */
8770
8947
  isPublic?: Maybe<Scalars['Boolean']['output']>;
8771
8948
  /** Whether dashboard is a template */
@@ -9018,6 +9195,16 @@ export declare enum BigConsoleDashboardLayout {
9018
9195
  Grid = "GRID",
9019
9196
  Tabs = "TABS"
9020
9197
  }
9198
+ /** Where a board's link to its master stands */
9199
+ export declare enum BigConsoleDashboardLinkStatus {
9200
+ /** The board follows its master */
9201
+ Active = "ACTIVE",
9202
+ /**
9203
+ * Someone other than the board's owner asked for the link, and the owner has not
9204
+ * accepted yet
9205
+ */
9206
+ Pending = "PENDING"
9207
+ }
9021
9208
  /** Dashboard page type stub (owned by dashboard module) */
9022
9209
  export type BigConsoleDashboardPage = {
9023
9210
  __typename?: 'BigConsoleDashboardPage';
@@ -9709,6 +9896,56 @@ export declare enum BigConsoleFilterType {
9709
9896
  NumericRange = "NUMERIC_RANGE",
9710
9897
  TextSearch = "TEXT_SEARCH"
9711
9898
  }
9899
+ /**
9900
+ * A board after a fleet-board change. It is deliberately small: the dashboard type
9901
+ * carries heavy fields that trip the gateway cost limit when a mutation selects
9902
+ * them (BOFF-13768).
9903
+ */
9904
+ export type BigConsoleFleetBoard = {
9905
+ __typename?: 'BigConsoleFleetBoard';
9906
+ /** Dashboard ID */
9907
+ id: Scalars['ID']['output'];
9908
+ /** Whether other boards may follow this one as linked copies */
9909
+ isMaster: Scalars['Boolean']['output'];
9910
+ /**
9911
+ * Where the board's own link to a master stands after this change: ACTIVE when it
9912
+ * follows one, PENDING until its owner accepts a request, and null when it follows
9913
+ * none. Every fleet-board mutation reports it.
9914
+ */
9915
+ linkStatus?: Maybe<BigConsoleDashboardLinkStatus>;
9916
+ /** Dashboard name */
9917
+ name: Scalars['String']['output'];
9918
+ };
9919
+ /** One copy of a master, as the Children tab shows it */
9920
+ export type BigConsoleFleetChild = {
9921
+ __typename?: 'BigConsoleFleetChild';
9922
+ /** True when an active copy lacks at least one widget the master has */
9923
+ behindMaster: Scalars['Boolean']['output'];
9924
+ dashboardId: Scalars['ID']['output'];
9925
+ /** Whether the copy is itself a master of further copies */
9926
+ isMaster: Scalars['Boolean']['output'];
9927
+ /** ACTIVE, or PENDING while its owner has not accepted the request */
9928
+ linkStatus: BigConsoleDashboardLinkStatus;
9929
+ /** Master widgets the copy does not have yet. Null for a request that is still pending. */
9930
+ missingWidgetCount?: Maybe<Scalars['Int']['output']>;
9931
+ name: Scalars['String']['output'];
9932
+ ownerId: Scalars['ID']['output'];
9933
+ };
9934
+ /** The copies of a master with their rollup */
9935
+ export type BigConsoleFleetChildren = {
9936
+ __typename?: 'BigConsoleFleetChildren';
9937
+ active: Scalars['Int']['output'];
9938
+ /** Active copies that lack at least one widget the master has */
9939
+ behind: Scalars['Int']['output'];
9940
+ /** The copies the caller can read */
9941
+ children: Array<BigConsoleFleetChild>;
9942
+ /** Copies left out of the list because the caller cannot read them */
9943
+ hiddenCount: Scalars['Int']['output'];
9944
+ masterDashboardId: Scalars['ID']['output'];
9945
+ pending: Scalars['Int']['output'];
9946
+ /** All copies, including ones the caller cannot read */
9947
+ total: Scalars['Int']['output'];
9948
+ };
9712
9949
  /** Input for generating a dashboard from a natural language prompt */
9713
9950
  export type BigConsoleGenerateDashboardFromPromptInput = {
9714
9951
  /** Additional context or specific instructions */
@@ -10053,6 +10290,202 @@ export type BigConsoleInstantiateDashboardTemplateInput = {
10053
10290
  /** Dashboard visibility */
10054
10291
  visibility?: InputMaybe<BigConsoleDashboardVisibility>;
10055
10292
  };
10293
+ /** How strongly the evidence supports a finding as an explanation of the movement. */
10294
+ export declare enum BigConsoleKpiChangeConfidence {
10295
+ /** The evidence establishes the cause of the movement. */
10296
+ Confirmed = "CONFIRMED",
10297
+ /** The event happened in the comparison window; the evidence does not establish that it caused the movement. */
10298
+ Correlation = "CORRELATION",
10299
+ /** There is not enough evidence to say anything about this lane. */
10300
+ InsufficientEvidence = "INSUFFICIENT_EVIDENCE",
10301
+ /** The evidence strongly suggests the finding contributed, but its share is not quantified. */
10302
+ Likely = "LIKELY"
10303
+ }
10304
+ /** One quantified part of the movement. */
10305
+ export type BigConsoleKpiChangeContribution = {
10306
+ __typename?: 'BigConsoleKpiChangeContribution';
10307
+ /** The signed contribution in the metric's own units. */
10308
+ absolute?: Maybe<Scalars['Float']['output']>;
10309
+ /** How the contribution was derived. */
10310
+ kind: BigConsoleKpiChangeContributionKind;
10311
+ /** What the contribution belongs to, e.g. a dimension member or "Mix effect". */
10312
+ label: Scalars['String']['output'];
10313
+ /** The share of the total movement, in percent. Null when the movement is zero or the share cannot be computed. */
10314
+ percentOfMovement?: Maybe<Scalars['Float']['output']>;
10315
+ };
10316
+ /** How a contribution to the movement was derived. */
10317
+ export declare enum BigConsoleKpiChangeContributionKind {
10318
+ /** The additive change of one dimension member (or of the metric itself). */
10319
+ Additive = "ADDITIVE",
10320
+ /** The part of the movement caused by the mix between dimension members. */
10321
+ Mix = "MIX",
10322
+ /** The part of the movement caused by the level change inside dimension members. */
10323
+ Rate = "RATE"
10324
+ }
10325
+ /** Which way the metric moved. */
10326
+ export declare enum BigConsoleKpiChangeDirection {
10327
+ Down = "DOWN",
10328
+ Flat = "FLAT",
10329
+ Up = "UP"
10330
+ }
10331
+ /** One resolvable piece of evidence behind a finding. */
10332
+ export type BigConsoleKpiChangeEvidence = {
10333
+ __typename?: 'BigConsoleKpiChangeEvidence';
10334
+ /** The evidence itself, in words. */
10335
+ detail?: Maybe<Scalars['String']['output']>;
10336
+ /** What kind of record this is. */
10337
+ kind: BigConsoleKpiChangeEvidenceKind;
10338
+ /** A short human-readable label, e.g. "Batch sales-2026-11-14". */
10339
+ label: Scalars['String']['output'];
10340
+ /** When the evidence happened. */
10341
+ occurredAt?: Maybe<Scalars['DateTime']['output']>;
10342
+ /** The id of the record, when it has one. */
10343
+ referenceId?: Maybe<Scalars['String']['output']>;
10344
+ /** A route the evidence can be opened at. */
10345
+ route?: Maybe<Scalars['String']['output']>;
10346
+ };
10347
+ /** What kind of record backs a finding. */
10348
+ export declare enum BigConsoleKpiChangeEvidenceKind {
10349
+ /** The DataSink the card reads from. */
10350
+ DataSource = "DATA_SOURCE",
10351
+ /** A definition change: a parser edit, a pipeline rewrite or a saved dashboard version. */
10352
+ DefinitionChange = "DEFINITION_CHANGE",
10353
+ /** One member of the dimension the change was broken down by. */
10354
+ DimensionMember = "DIMENSION_MEMBER",
10355
+ /** An ingestion batch of the DataSink behind the card. */
10356
+ IngestBatch = "INGEST_BATCH",
10357
+ /** A pipeline execution that feeds the DataSink behind the card. */
10358
+ PipelineExecution = "PIPELINE_EXECUTION"
10359
+ }
10360
+ /** The full explanation of one KPI movement. */
10361
+ export type BigConsoleKpiChangeExplanation = {
10362
+ __typename?: 'BigConsoleKpiChangeExplanation';
10363
+ /** Findings about a real change in the business. */
10364
+ businessFindings: Array<BigConsoleKpiChangeFinding>;
10365
+ /** When the analysis ran. */
10366
+ computedAt: Scalars['DateTime']['output'];
10367
+ /** How strongly the whole explanation is supported. */
10368
+ confidence: BigConsoleKpiChangeConfidence;
10369
+ /** Findings about ingestion problems in the comparison window. */
10370
+ dataIncidentFindings: Array<BigConsoleKpiChangeFinding>;
10371
+ /** The DataSink the card reads from. */
10372
+ dataSinkId?: Maybe<Scalars['ID']['output']>;
10373
+ /** Why the analysis declined, when it declined. */
10374
+ declineReason?: Maybe<Scalars['String']['output']>;
10375
+ /** Findings about definition edits in the comparison window. */
10376
+ definitionFindings: Array<BigConsoleKpiChangeFinding>;
10377
+ /**
10378
+ * The share of the movement that quantified findings account for, in percent.
10379
+ * Null when the evidence cannot be turned into a share.
10380
+ */
10381
+ explainedPercent?: Maybe<Scalars['Float']['output']>;
10382
+ /** Every finding, most important first. */
10383
+ findings: Array<BigConsoleKpiChangeFinding>;
10384
+ /** What the analysis could not establish. */
10385
+ limitations: Array<Scalars['String']['output']>;
10386
+ /** The name of the metric that moved. */
10387
+ metricName: Scalars['String']['output'];
10388
+ /** How much it moved, when it could be measured. */
10389
+ movement?: Maybe<BigConsoleKpiChangeMovement>;
10390
+ /** How the explanation ended. */
10391
+ status: BigConsoleKpiChangeStatus;
10392
+ /** The human-readable explanation. */
10393
+ summary: Scalars['String']['output'];
10394
+ /** Whether the summary was written by the model or assembled deterministically. */
10395
+ summarySource: BigConsoleKpiChangeSummarySource;
10396
+ /** The card that was explained. */
10397
+ widgetId: Scalars['ID']['output'];
10398
+ /** The card's title. */
10399
+ widgetTitle: Scalars['String']['output'];
10400
+ };
10401
+ /** One reason the metric may have moved, with its evidence and its confidence. */
10402
+ export type BigConsoleKpiChangeFinding = {
10403
+ __typename?: 'BigConsoleKpiChangeFinding';
10404
+ /** How strongly the evidence supports this finding as an explanation of the movement. */
10405
+ confidence: BigConsoleKpiChangeConfidence;
10406
+ /** Why the confidence is what it is. */
10407
+ confidenceReason: Scalars['String']['output'];
10408
+ /** The quantified parts of the movement this finding accounts for, when they could be computed. */
10409
+ contributions: Array<BigConsoleKpiChangeContribution>;
10410
+ /** The finding in words. */
10411
+ detail: Scalars['String']['output'];
10412
+ /** The records behind the finding. */
10413
+ evidence: Array<BigConsoleKpiChangeEvidence>;
10414
+ /** A stable id for the finding. */
10415
+ id: Scalars['ID']['output'];
10416
+ /** Which lane the finding belongs to. */
10417
+ lane: BigConsoleKpiChangeLane;
10418
+ /** A short headline for the finding. */
10419
+ title: Scalars['String']['output'];
10420
+ };
10421
+ /** Optional overrides for the analysis. Everything is detected when omitted. */
10422
+ export type BigConsoleKpiChangeInput = {
10423
+ /** The dimension to break the change down by, e.g. "region". Detected automatically when omitted. */
10424
+ dimension?: InputMaybe<Scalars['String']['input']>;
10425
+ };
10426
+ /** Which kind of cause a finding belongs to. */
10427
+ export declare enum BigConsoleKpiChangeLane {
10428
+ /** A real change in the business: the data changed for operational reasons. */
10429
+ Business = "BUSINESS",
10430
+ /** Something went wrong with the data: ingestion failed, was late, was duplicated or was backfilled. */
10431
+ DataIncident = "DATA_INCIDENT",
10432
+ /** The definition behind the number changed: a parser, a pipeline or a saved dashboard version. */
10433
+ Definition = "DEFINITION"
10434
+ }
10435
+ /** How much the metric moved, and between which two windows. */
10436
+ export type BigConsoleKpiChangeMovement = {
10437
+ __typename?: 'BigConsoleKpiChangeMovement';
10438
+ /** The signed difference between the two values. */
10439
+ absoluteChange?: Maybe<Scalars['Float']['output']>;
10440
+ /** What the two windows are, in words. Never claim a calendar period that was not measured. */
10441
+ comparisonBasis: Scalars['String']['output'];
10442
+ /** The value in the later window. */
10443
+ currentValue?: Maybe<Scalars['Float']['output']>;
10444
+ /** The later window. */
10445
+ currentWindow: BigConsoleKpiChangeWindow;
10446
+ /** Which way it moved. */
10447
+ direction: BigConsoleKpiChangeDirection;
10448
+ /** The name of the metric that moved. */
10449
+ metricName: Scalars['String']['output'];
10450
+ /** The difference in percent. Null when the earlier value was zero. */
10451
+ percentChange?: Maybe<Scalars['Float']['output']>;
10452
+ /** The value in the earlier window. */
10453
+ previousValue?: Maybe<Scalars['Float']['output']>;
10454
+ /** The earlier window. */
10455
+ previousWindow: BigConsoleKpiChangeWindow;
10456
+ /** The unit the metric is shown in, when the card declares one. */
10457
+ unit?: Maybe<Scalars['String']['output']>;
10458
+ };
10459
+ /** How the explanation ended. */
10460
+ export declare enum BigConsoleKpiChangeStatus {
10461
+ /** The analysis could not run (no bound DataSink, stale or errored source, missing history). */
10462
+ Declined = "DECLINED",
10463
+ /** The movement was measured and at least one lane produced a finding. */
10464
+ Explained = "EXPLAINED",
10465
+ /** The movement was measured, but the available evidence cannot establish a cause. */
10466
+ Inconclusive = "INCONCLUSIVE",
10467
+ /** The movement was measured, but the evidence only covers part of it. */
10468
+ Partial = "PARTIAL",
10469
+ /** The metric did not meaningfully move between the two windows. */
10470
+ Unchanged = "UNCHANGED"
10471
+ }
10472
+ /** Whether the human-readable explanation was written by the model or assembled deterministically. */
10473
+ export declare enum BigConsoleKpiChangeSummarySource {
10474
+ /** Assembled from the verified findings without calling the model. */
10475
+ Deterministic = "DETERMINISTIC",
10476
+ /** Written by the model from the verified findings only. */
10477
+ Model = "MODEL"
10478
+ }
10479
+ /** One of the two data snapshots the movement was measured between. */
10480
+ export type BigConsoleKpiChangeWindow = {
10481
+ __typename?: 'BigConsoleKpiChangeWindow';
10482
+ /** When that version was committed. */
10483
+ committedAt?: Maybe<Scalars['DateTime']['output']>;
10484
+ /** A human-readable label for the window, e.g. "Snapshot #12 (3 Nov 2026)". */
10485
+ label: Scalars['String']['output'];
10486
+ /** The ingested version the snapshot came from. */
10487
+ version?: Maybe<Scalars['Int']['output']>;
10488
+ };
10056
10489
  export type BigConsoleKpiReconcilableCard = {
10057
10490
  __typename?: 'BigConsoleKpiReconcilableCard';
10058
10491
  dashboardId: Scalars['ID']['output'];
@@ -10310,6 +10743,16 @@ export declare enum BigConsoleKpiReconciliationTieScope {
10310
10743
  /** The card value equals the records' total for the period. */
10311
10744
  Period = "PERIOD"
10312
10745
  }
10746
+ /** Input for linking an existing board under a master */
10747
+ export type BigConsoleLinkDashboardInput = {
10748
+ /**
10749
+ * The board that will follow the master. If the caller owns it, the link takes
10750
+ * effect at once. If someone else owns it, the link waits for that owner to accept.
10751
+ */
10752
+ childDashboardId: Scalars['ID']['input'];
10753
+ /** The master board to follow */
10754
+ masterDashboardId: Scalars['ID']['input'];
10755
+ };
10313
10756
  /** A persisted narrative: the console explaining itself, with citations. */
10314
10757
  export type BigConsoleNarrative = {
10315
10758
  __typename?: 'BigConsoleNarrative';
@@ -10406,6 +10849,182 @@ export declare enum BigConsoleNarrativeTrigger {
10406
10849
  /** A FluidGrids scheduled workflow invoked the console digest. */
10407
10850
  Scheduled = "SCHEDULED"
10408
10851
  }
10852
+ /** A request to link a board under a master, waiting for the board's owner to answer */
10853
+ export type BigConsolePendingDashboardLink = {
10854
+ __typename?: 'BigConsolePendingDashboardLink';
10855
+ /** The board that would follow the master. The caller owns it. */
10856
+ childDashboardId: Scalars['ID']['output'];
10857
+ /** Name of that board */
10858
+ childName: Scalars['String']['output'];
10859
+ /** The master it would follow */
10860
+ masterDashboardId: Scalars['ID']['output'];
10861
+ /** Name of the master */
10862
+ masterName: Scalars['String']['output'];
10863
+ /** When it was asked for */
10864
+ requestedAt: Scalars['DateTime']['output'];
10865
+ /** Who asked for the link */
10866
+ requestedBy: Scalars['ID']['output'];
10867
+ };
10868
+ /** One copy in a push result */
10869
+ export type BigConsolePushCopyResult = {
10870
+ __typename?: 'BigConsolePushCopyResult';
10871
+ /** For BLOCKED: the board above that did not take the push */
10872
+ blockedByDashboardId?: Maybe<Scalars['ID']['output']>;
10873
+ /** For BLOCKED: its name. Null when the caller cannot read that board. */
10874
+ blockedByName?: Maybe<Scalars['String']['output']>;
10875
+ /** The copy */
10876
+ dashboardId: Scalars['ID']['output'];
10877
+ /** 1 for a direct copy of the master, 2 for a copy of that copy */
10878
+ level: Scalars['Int']['output'];
10879
+ /** Its name. Null when the caller cannot read that board. */
10880
+ name?: Maybe<Scalars['String']['output']>;
10881
+ /** For INCOMPATIBLE: the reason */
10882
+ reason?: Maybe<Scalars['String']['output']>;
10883
+ /** For INCOMPATIBLE: a short code for the reason */
10884
+ reasonCode?: Maybe<Scalars['String']['output']>;
10885
+ /** Where the copy stands */
10886
+ state: BigConsolePushCopyState;
10887
+ /** Widgets the copy received, or would receive in a preview */
10888
+ widgetCount: Scalars['Int']['output'];
10889
+ };
10890
+ /** Where one copy stands after a push, or in a preview of one */
10891
+ export declare enum BigConsolePushCopyState {
10892
+ /** The copy received the widgets it lacked, or already had them all */
10893
+ Applied = "APPLIED",
10894
+ /** Never reached: a board above it did not take the push. The result names that board. */
10895
+ Blocked = "BLOCKED",
10896
+ /**
10897
+ * A widget the copy would receive cannot work, so the copy received nothing. The
10898
+ * reason says why.
10899
+ */
10900
+ Incompatible = "INCOMPATIBLE",
10901
+ /** Not one of the copies chosen for the push */
10902
+ NotSelected = "NOT_SELECTED"
10903
+ }
10904
+ /** The result of a push, or of a preview of one */
10905
+ export type BigConsolePushResult = {
10906
+ __typename?: 'BigConsolePushResult';
10907
+ /** Copies that received widgets, or would in a preview */
10908
+ appliedCount: Scalars['Int']['output'];
10909
+ /** Every copy the push reached or skipped, level by level */
10910
+ copies: Array<BigConsolePushCopyResult>;
10911
+ masterDashboardId: Scalars['ID']['output'];
10912
+ /** True when nothing was written */
10913
+ preview: Scalars['Boolean']['output'];
10914
+ scope: BigConsolePushScope;
10915
+ /** Widgets added across all copies, or that would be in a preview */
10916
+ widgetsAdded: Scalars['Int']['output'];
10917
+ };
10918
+ /** How far a push of a master's widgets reaches */
10919
+ export declare enum BigConsolePushScope {
10920
+ /** The direct copies, and the copies of those copies, level by level */
10921
+ AllUnder = "ALL_UNDER",
10922
+ /** Only the master's direct copies */
10923
+ DirectCopies = "DIRECT_COPIES"
10924
+ }
10925
+ /** Input for pushing a master's widgets to its copies */
10926
+ export type BigConsolePushToCopiesInput = {
10927
+ /**
10928
+ * Direct copies to push to. Leave out to push to all of them. With ALL_UNDER, the
10929
+ * copies of a chosen copy follow it.
10930
+ */
10931
+ copyIds?: InputMaybe<Array<Scalars['ID']['input']>>;
10932
+ /** The master whose widgets are pushed. The caller must be able to write to it. */
10933
+ masterDashboardId: Scalars['ID']['input'];
10934
+ /** How far the push reaches. Defaults to the direct copies only. */
10935
+ scope?: InputMaybe<BigConsolePushScope>;
10936
+ };
10937
+ /**
10938
+ * Access a query grant gives to one declared field. A field the grant does not list
10939
+ * stays outside the viewer's schema (omitted).
10940
+ */
10941
+ export declare enum BigConsoleQueryFieldAccess {
10942
+ /** Readable, subject to the sink's own field masking rules and the viewer's role exemptions. */
10943
+ Read = "READ",
10944
+ /** Visible as a column whose every non-null value reads as [redacted]. */
10945
+ Redact = "REDACT"
10946
+ }
10947
+ export type BigConsoleQueryFieldGrant = {
10948
+ __typename?: 'BigConsoleQueryFieldGrant';
10949
+ access: BigConsoleQueryFieldAccess;
10950
+ fieldId: Scalars['ID']['output'];
10951
+ };
10952
+ export type BigConsoleQueryFieldGrantInput = {
10953
+ access: BigConsoleQueryFieldAccess;
10954
+ fieldId: Scalars['ID']['input'];
10955
+ };
10956
+ export type BigConsoleQueryFieldInput = {
10957
+ id: Scalars['ID']['input'];
10958
+ name: Scalars['String']['input'];
10959
+ nullable: Scalars['Boolean']['input'];
10960
+ path: Array<Scalars['String']['input']>;
10961
+ type: Scalars['String']['input'];
10962
+ };
10963
+ /** One actor's access to a query relation. */
10964
+ export type BigConsoleQueryGrant = {
10965
+ __typename?: 'BigConsoleQueryGrant';
10966
+ actorId: Scalars['ID']['output'];
10967
+ actorType: Scalars['String']['output'];
10968
+ /** True when the grant admits every row. */
10969
+ allRows: Scalars['Boolean']['output'];
10970
+ createdBy?: Maybe<Scalars['String']['output']>;
10971
+ dataSinkId: Scalars['ID']['output'];
10972
+ fields: Array<BigConsoleQueryFieldGrant>;
10973
+ /** The row restriction, when the grant does not admit every row. */
10974
+ rowFilter?: Maybe<BigConsoleQueryRowFilter>;
10975
+ updatedBy?: Maybe<Scalars['String']['output']>;
10976
+ /** False when the stored policy would be rejected by the query reader. Set the grant again to repair it. */
10977
+ valid: Scalars['Boolean']['output'];
10978
+ };
10979
+ export type BigConsoleQueryGrantInput = {
10980
+ /** User ID of an active member of the request workspace. */
10981
+ actorId: Scalars['ID']['input'];
10982
+ fields: Array<BigConsoleQueryFieldGrantInput>;
10983
+ /** Omit for access to every row. */
10984
+ rowFilter?: InputMaybe<BigConsoleQueryRowFilterInput>;
10985
+ };
10986
+ /** A data sink registered for governed SQL and Explore under a workspace-unique SQL name. */
10987
+ export type BigConsoleQueryRelation = {
10988
+ __typename?: 'BigConsoleQueryRelation';
10989
+ createdBy?: Maybe<Scalars['String']['output']>;
10990
+ dataSinkId: Scalars['ID']['output'];
10991
+ fields: Array<BigConsoleQueryRelationField>;
10992
+ grantCount: Scalars['Int']['output'];
10993
+ name: Scalars['String']['output'];
10994
+ updatedBy?: Maybe<Scalars['String']['output']>;
10995
+ /** False when the stored declaration would be rejected by the query reader. Register the relation again to repair it. */
10996
+ valid: Scalars['Boolean']['output'];
10997
+ };
10998
+ /**
10999
+ * A field declared on a query relation: a stable ID, a lowercase SQL name, an exact
11000
+ * path inside one record, a logical type and nullability.
11001
+ */
11002
+ export type BigConsoleQueryRelationField = {
11003
+ __typename?: 'BigConsoleQueryRelationField';
11004
+ id: Scalars['ID']['output'];
11005
+ name: Scalars['String']['output'];
11006
+ nullable: Scalars['Boolean']['output'];
11007
+ path: Array<Scalars['String']['output']>;
11008
+ /** BOOLEAN, VARCHAR, BIGINT, TIMESTAMPTZ or DECIMAL(p,s). */
11009
+ type: Scalars['String']['output'];
11010
+ };
11011
+ export type BigConsoleQueryRelationInput = {
11012
+ fields: Array<BigConsoleQueryFieldInput>;
11013
+ /** Lowercase SQL identifier, unique in the workspace. */
11014
+ name: Scalars['String']['input'];
11015
+ };
11016
+ export type BigConsoleQueryRowFilter = {
11017
+ __typename?: 'BigConsoleQueryRowFilter';
11018
+ fieldId: Scalars['ID']['output'];
11019
+ /** Admitted values, in their canonical text form. */
11020
+ values: Array<Scalars['String']['output']>;
11021
+ };
11022
+ export type BigConsoleQueryRowFilterInput = {
11023
+ /** A declared field. It does not have to be granted for reading. */
11024
+ fieldId: Scalars['ID']['input'];
11025
+ /** Admitted values as text. BOOLEAN fields take true or false. An empty list admits no rows. */
11026
+ values: Array<Scalars['String']['input']>;
11027
+ };
10409
11028
  /** Input for rating a template */
10410
11029
  export type BigConsoleRateDashboardTemplateInput = {
10411
11030
  /** Rating value (1-5) */
@@ -10508,6 +11127,26 @@ export type BigConsoleRegisterWidgetTypeInput = {
10508
11127
  /** Workspace the install is scoped to (used for RBAC + auto-install). */
10509
11128
  workspaceId: Scalars['ID']['input'];
10510
11129
  };
11130
+ /**
11131
+ * One thing a restore or a promote could not carry over exactly. The client words it for
11132
+ * the person: the code says what happened, the other fields say where.
11133
+ */
11134
+ export type BigConsoleRestoreNotice = {
11135
+ __typename?: 'BigConsoleRestoreNotice';
11136
+ code: BigConsoleRestoreNoticeCode;
11137
+ /** The page the drilldown led to, by name */
11138
+ pageName: Scalars['String']['output'];
11139
+ /** The widget on the board the change was made on */
11140
+ widgetId: Scalars['ID']['output'];
11141
+ };
11142
+ /** Something a restore or a promote could not carry over exactly. */
11143
+ export declare enum BigConsoleRestoreNoticeCode {
11144
+ /**
11145
+ * The widget's drilldown led to a page the other board does not have, so it now opens
11146
+ * that board's default page
11147
+ */
11148
+ DrilldownPageMissing = "DRILLDOWN_PAGE_MISSING"
11149
+ }
10511
11150
  export type BigConsoleSavedQuery = {
10512
11151
  __typename?: 'BigConsoleSavedQuery';
10513
11152
  id: Scalars['ID']['output'];
@@ -10959,6 +11598,15 @@ export type BigConsoleWidget = {
10959
11598
  drilldown?: Maybe<BigConsoleWidgetDrilldown>;
10960
11599
  /** Unique identifier */
10961
11600
  id: Scalars['ID']['output'];
11601
+ /**
11602
+ * True when this widget came from a master and its copy differs from the master's
11603
+ * version. While a board follows a master, editing the widget marks it. When a board is
11604
+ * linked, each of its widgets is compared with its original, so a widget the master
11605
+ * changed while the board was detached or not yet linked also shows as overridden.
11606
+ * Restoring the widget to its original version clears it. A widget that did not come
11607
+ * from a master is never overridden.
11608
+ */
11609
+ isOverridden: Scalars['Boolean']['output'];
10962
11610
  /** Last data refresh timestamp */
10963
11611
  lastRefreshedAt?: Maybe<Scalars['DateTime']['output']>;
10964
11612
  /** Custom metadata */
@@ -11377,6 +12025,18 @@ export type BigConsoleWidgetPositionUpdateInput = {
11377
12025
  /** New position */
11378
12026
  position: BigConsoleWidgetPositionInput;
11379
12027
  };
12028
+ /**
12029
+ * Where a widget went when it was promoted: the master's new widget. The copy's own
12030
+ * widget now follows it.
12031
+ */
12032
+ export type BigConsoleWidgetPromotion = {
12033
+ __typename?: 'BigConsoleWidgetPromotion';
12034
+ masterDashboardId: Scalars['ID']['output'];
12035
+ masterWidgetId: Scalars['ID']['output'];
12036
+ /** What could not be carried over exactly. Empty when everything was. */
12037
+ notices: Array<BigConsoleRestoreNotice>;
12038
+ widgetId: Scalars['ID']['output'];
12039
+ };
11380
12040
  /** Input for refining a specific widget */
11381
12041
  export type BigConsoleWidgetRefinementInput = {
11382
12042
  /** Config overrides */
@@ -11451,6 +12111,15 @@ export type BigConsoleWidgetResponsivePositionInput = {
11451
12111
  /** Column span at xs breakpoint (0-640px), default: 12 (full width) */
11452
12112
  xs?: Scalars['Int']['input'];
11453
12113
  };
12114
+ /** A widget put back to the master's version. */
12115
+ export type BigConsoleWidgetRestore = {
12116
+ __typename?: 'BigConsoleWidgetRestore';
12117
+ dashboardId: Scalars['ID']['output'];
12118
+ masterDashboardId: Scalars['ID']['output'];
12119
+ /** What could not be carried over exactly. Empty when everything was. */
12120
+ notices: Array<BigConsoleRestoreNotice>;
12121
+ widgetId: Scalars['ID']['output'];
12122
+ };
11454
12123
  /** Retry policy for webhook delivery */
11455
12124
  export type BigConsoleWidgetRetryPolicy = {
11456
12125
  __typename?: 'BigConsoleWidgetRetryPolicy';
@@ -12010,11 +12679,23 @@ export type BotAppStats = {
12010
12679
  avgDurationMs?: Maybe<Scalars['Float']['output']>;
12011
12680
  botAppId: Scalars['ID']['output'];
12012
12681
  failedExecutions: Scalars['Int']['output'];
12682
+ /** Runs still PENDING or RUNNING */
12683
+ inProgressExecutions: Scalars['Int']['output'];
12013
12684
  lastExecutedAt?: Maybe<Scalars['DateTime']['output']>;
12685
+ /** Runs that recorded a cost */
12686
+ pricedExecutions: Scalars['Int']['output'];
12687
+ /** Successful share of the finished (COMPLETED, FAILED or TIMEOUT) runs, 0 to 1; null when none finished */
12688
+ successRate?: Maybe<Scalars['Float']['output']>;
12014
12689
  successfulExecutions: Scalars['Int']['output'];
12015
12690
  totalCost: Scalars['Float']['output'];
12016
12691
  totalExecutions: Scalars['Int']['output'];
12692
+ /** Sum of the recorded token totals */
12693
+ totalTokens: Scalars['Float']['output'];
12017
12694
  updatedAt: Scalars['DateTime']['output'];
12695
+ /** End (exclusive) of the window the totals cover; null for the whole history */
12696
+ windowEnd?: Maybe<Scalars['DateTime']['output']>;
12697
+ /** Start of the window the totals cover; null for the whole history */
12698
+ windowStart?: Maybe<Scalars['DateTime']['output']>;
12018
12699
  };
12019
12700
  export declare enum BotAppStatus {
12020
12701
  Active = "ACTIVE",
@@ -12047,6 +12728,114 @@ export declare enum BotAppVisibility {
12047
12728
  Public = "PUBLIC",
12048
12729
  Workspace = "WORKSPACE"
12049
12730
  }
12731
+ /** A reviewable draft. Nothing in it exists yet. */
12732
+ export type BotDraft = {
12733
+ __typename?: 'BotDraft';
12734
+ agents: Array<BotDraftAgent>;
12735
+ /** AI credits recorded for this draft; null when metering was skipped. */
12736
+ aiCredits?: Maybe<Scalars['Int']['output']>;
12737
+ /** Null for an agents-only draft. */
12738
+ app?: Maybe<BotDraftApp>;
12739
+ description: Scalars['String']['output'];
12740
+ draftId: Scalars['ID']['output'];
12741
+ /** True when the picked (or first-ranked) model failed and another model drafted. */
12742
+ fellBack: Scalars['Boolean']['output'];
12743
+ inputTokens: Scalars['Int']['output'];
12744
+ knowledgeBases: Array<BotDraftKnowledgeBaseSuggestion>;
12745
+ links: Array<BotDraftLink>;
12746
+ llmModelId: Scalars['ID']['output'];
12747
+ /** The provider model that produced the draft. */
12748
+ model: Scalars['String']['output'];
12749
+ /** Assumptions and what to check, for the reviewer. */
12750
+ notes?: Maybe<Scalars['String']['output']>;
12751
+ outputTokens: Scalars['Int']['output'];
12752
+ scope: BotDraftScope;
12753
+ template?: Maybe<BotDraftTemplate>;
12754
+ };
12755
+ export type BotDraftAgent = {
12756
+ __typename?: 'BotDraftAgent';
12757
+ description?: Maybe<Scalars['String']['output']>;
12758
+ /** Draft-local key that links and knowledge-base suggestions refer to. */
12759
+ key: Scalars['String']['output'];
12760
+ knowledgeBaseIds: Array<Scalars['ID']['output']>;
12761
+ name: Scalars['String']['output'];
12762
+ systemPrompt: Scalars['String']['output'];
12763
+ temperature?: Maybe<Scalars['Float']['output']>;
12764
+ templateId?: Maybe<Scalars['ID']['output']>;
12765
+ type: BotmanorAgentType;
12766
+ };
12767
+ export type BotDraftAgentInput = {
12768
+ description?: InputMaybe<Scalars['String']['input']>;
12769
+ key: Scalars['String']['input'];
12770
+ /** Accepted knowledge-base suggestions. */
12771
+ knowledgeBaseIds?: InputMaybe<Array<Scalars['ID']['input']>>;
12772
+ name: Scalars['String']['input'];
12773
+ systemPrompt: Scalars['String']['input'];
12774
+ temperature?: InputMaybe<Scalars['Float']['input']>;
12775
+ templateId?: InputMaybe<Scalars['ID']['input']>;
12776
+ type: BotmanorAgentType;
12777
+ };
12778
+ export type BotDraftApp = {
12779
+ __typename?: 'BotDraftApp';
12780
+ description?: Maybe<Scalars['String']['output']>;
12781
+ fallbackMessage?: Maybe<Scalars['String']['output']>;
12782
+ name: Scalars['String']['output'];
12783
+ routingStrategy: RoutingStrategy;
12784
+ type: BotAppType;
12785
+ welcomeMessage?: Maybe<Scalars['String']['output']>;
12786
+ };
12787
+ export type BotDraftAppInput = {
12788
+ description?: InputMaybe<Scalars['String']['input']>;
12789
+ fallbackMessage?: InputMaybe<Scalars['String']['input']>;
12790
+ name: Scalars['String']['input'];
12791
+ routingStrategy?: InputMaybe<RoutingStrategy>;
12792
+ type: BotAppType;
12793
+ welcomeMessage?: InputMaybe<Scalars['String']['input']>;
12794
+ };
12795
+ /** An existing workspace knowledge base suggested for one or more drafted agents. */
12796
+ export type BotDraftKnowledgeBaseSuggestion = {
12797
+ __typename?: 'BotDraftKnowledgeBaseSuggestion';
12798
+ agentKeys: Array<Scalars['String']['output']>;
12799
+ knowledgeBaseId: Scalars['ID']['output'];
12800
+ name: Scalars['String']['output'];
12801
+ reason: Scalars['String']['output'];
12802
+ };
12803
+ export type BotDraftLink = {
12804
+ __typename?: 'BotDraftLink';
12805
+ agentKey: Scalars['String']['output'];
12806
+ fallbackAgentKey?: Maybe<Scalars['String']['output']>;
12807
+ intentPatterns: Array<Scalars['String']['output']>;
12808
+ isDefault: Scalars['Boolean']['output'];
12809
+ priority: Scalars['Int']['output'];
12810
+ triggerKeywords: Array<Scalars['String']['output']>;
12811
+ };
12812
+ export type BotDraftLinkInput = {
12813
+ agentKey: Scalars['String']['input'];
12814
+ fallbackAgentKey?: InputMaybe<Scalars['String']['input']>;
12815
+ intentPatterns?: InputMaybe<Array<Scalars['String']['input']>>;
12816
+ isDefault?: InputMaybe<Scalars['Boolean']['input']>;
12817
+ priority?: InputMaybe<Scalars['Int']['input']>;
12818
+ triggerKeywords?: InputMaybe<Array<Scalars['String']['input']>>;
12819
+ };
12820
+ /** What a reviewed draft created. Every entity is DRAFT; publish each one to take it live. */
12821
+ export type BotDraftResult = {
12822
+ __typename?: 'BotDraftResult';
12823
+ agents: Array<BotmanorAgent>;
12824
+ app?: Maybe<BotApp>;
12825
+ };
12826
+ /** What a draft covers: a bot app with its agents and routing links, or agents only. */
12827
+ export declare enum BotDraftScope {
12828
+ Agents = "AGENTS",
12829
+ Bot = "BOT"
12830
+ }
12831
+ /** The workspace template a draft started from. */
12832
+ export type BotDraftTemplate = {
12833
+ __typename?: 'BotDraftTemplate';
12834
+ id: Scalars['ID']['output'];
12835
+ /** APP or AGENT */
12836
+ kind: Scalars['String']['output'];
12837
+ name: Scalars['String']['output'];
12838
+ };
12050
12839
  /** Deprecated: use BotmanorAgent. Scheduled for removal no earlier than 2027-02-05 (BOFF-9561). */
12051
12840
  export type BotlitAgent = {
12052
12841
  __typename?: 'BotlitAgent';
@@ -12061,6 +12850,12 @@ export type BotlitAgent = {
12061
12850
  description?: Maybe<Scalars['String']['output']>;
12062
12851
  draftVersionId?: Maybe<Scalars['ID']['output']>;
12063
12852
  executionCount: Scalars['Int']['output'];
12853
+ /**
12854
+ * Ordered fallback models (LLMModel ids, any provider) the turn retries on when
12855
+ * the primary model's provider fails: an error, timeout, rate limit or 5xx.
12856
+ * Each must pass the model allowlist and DATA sharing/region rules (BOFF-15360).
12857
+ */
12858
+ fallbackModelIds: Array<Scalars['ID']['output']>;
12064
12859
  id: Scalars['ID']['output'];
12065
12860
  knowledgeBaseIds: Array<Scalars['ID']['output']>;
12066
12861
  lastExecutedAt?: Maybe<Scalars['DateTime']['output']>;
@@ -12147,8 +12942,12 @@ export type BotlitLlmProvider = {
12147
12942
  createdById: Scalars['ID']['output'];
12148
12943
  credentialsHash?: Maybe<Scalars['String']['output']>;
12149
12944
  deletedAt?: Maybe<Scalars['DateTime']['output']>;
12945
+ hasStoredCredentials: Scalars['Boolean']['output'];
12150
12946
  id: Scalars['ID']['output'];
12151
12947
  isActive: Scalars['Boolean']['output'];
12948
+ lastTestError?: Maybe<Scalars['String']['output']>;
12949
+ lastTestStatus?: Maybe<BotmanorLlmConnectionTestStatus>;
12950
+ lastTestedAt?: Maybe<Scalars['DateTime']['output']>;
12152
12951
  metadata?: Maybe<Scalars['JSON']['output']>;
12153
12952
  name: Scalars['String']['output'];
12154
12953
  type: BotlitLlmProviderType;
@@ -12206,6 +13005,12 @@ export type BotmanorAgent = {
12206
13005
  description?: Maybe<Scalars['String']['output']>;
12207
13006
  draftVersionId?: Maybe<Scalars['ID']['output']>;
12208
13007
  executionCount: Scalars['Int']['output'];
13008
+ /**
13009
+ * Ordered fallback models (LLMModel ids, any provider) the turn retries on when
13010
+ * the primary model's provider fails: an error, timeout, rate limit or 5xx.
13011
+ * Each must pass the model allowlist and DATA sharing/region rules (BOFF-15360).
13012
+ */
13013
+ fallbackModelIds: Array<Scalars['ID']['output']>;
12209
13014
  id: Scalars['ID']['output'];
12210
13015
  knowledgeBaseIds: Array<Scalars['ID']['output']>;
12211
13016
  lastExecutedAt?: Maybe<Scalars['DateTime']['output']>;
@@ -12356,16 +13161,31 @@ export type BotmanorConversationHandoff = {
12356
13161
  createdAt: Scalars['DateTime']['output'];
12357
13162
  events: Array<BotmanorHandoffEvent>;
12358
13163
  executionId?: Maybe<Scalars['ID']['output']>;
13164
+ /** When an operator first replied to the customer. */
13165
+ firstResponseAt?: Maybe<Scalars['DateTime']['output']>;
12359
13166
  id: Scalars['ID']['output'];
12360
13167
  /** Human-readable reason, including the confidence signals when applicable. */
12361
13168
  reason: Scalars['String']['output'];
12362
13169
  releasedAt?: Maybe<Scalars['DateTime']['output']>;
13170
+ /** Platform the customer writes from (SLACK, WEBHOOK, ...); null for web chat. */
13171
+ replyChannel?: Maybe<Scalars['String']['output']>;
12363
13172
  resolvedAt?: Maybe<Scalars['DateTime']['output']>;
13173
+ /** True when the first human reply came late, or is overdue and still missing. */
13174
+ slaBreached: Scalars['Boolean']['output'];
13175
+ /** When the first human reply is due (the SLA). */
13176
+ slaDueAt?: Maybe<Scalars['DateTime']['output']>;
12364
13177
  status: BotmanorHandoffStatus;
12365
13178
  trigger: BotmanorHandoffTrigger;
12366
13179
  updatedAt: Scalars['DateTime']['output'];
12367
13180
  userMessage?: Maybe<Scalars['String']['output']>;
12368
13181
  };
13182
+ export type BotmanorEntityUsage = {
13183
+ __typename?: 'BotmanorEntityUsage';
13184
+ /** Live agents bound to the entity. */
13185
+ agents: Array<BotmanorUsageRef>;
13186
+ /** Skills that reference the entity (always empty for a skill). */
13187
+ skills: Array<BotmanorUsageRef>;
13188
+ };
12369
13189
  /** Per-agent escalation configuration. Returned with safe defaults when never saved. */
12370
13190
  export type BotmanorHandoffConfig = {
12371
13191
  __typename?: 'BotmanorHandoffConfig';
@@ -12384,6 +13204,8 @@ export type BotmanorHandoffConfig = {
12384
13204
  policyRefusal: Scalars['Boolean']['output'];
12385
13205
  repeatedFailures: Scalars['Boolean']['output'];
12386
13206
  repeatedFailuresConsecutive: Scalars['Int']['output'];
13207
+ /** Minutes a human has to send the first reply on a new handoff (its SLA). */
13208
+ slaMinutes: Scalars['Int']['output'];
12387
13209
  targetRole?: Maybe<Scalars['String']['output']>;
12388
13210
  targetUserIds: Array<Scalars['ID']['output']>;
12389
13211
  updatedAt?: Maybe<Scalars['DateTime']['output']>;
@@ -12402,6 +13224,8 @@ export type BotmanorHandoffConfigInput = {
12402
13224
  policyRefusal: Scalars['Boolean']['input'];
12403
13225
  repeatedFailures: Scalars['Boolean']['input'];
12404
13226
  repeatedFailuresConsecutive: Scalars['Int']['input'];
13227
+ /** Minutes to the first human reply (1-10080). Omitted keeps the saved value, else 15. */
13228
+ slaMinutes?: InputMaybe<Scalars['Int']['input']>;
12405
13229
  targetRole?: InputMaybe<Scalars['String']['input']>;
12406
13230
  targetUserIds: Array<Scalars['ID']['input']>;
12407
13231
  };
@@ -12438,6 +13262,21 @@ export type BotmanorHandoffList = {
12438
13262
  items: Array<BotmanorConversationHandoff>;
12439
13263
  total: Scalars['Int']['output'];
12440
13264
  };
13265
+ /** One message of a handoff's thread, as the operator sees it in the team inbox. */
13266
+ export type BotmanorHandoffMessage = {
13267
+ __typename?: 'BotmanorHandoffMessage';
13268
+ /** The customer's platform user id, the agent id, or the operator's user id. */
13269
+ authorId: Scalars['String']['output'];
13270
+ createdAt: Scalars['DateTime']['output'];
13271
+ id: Scalars['ID']['output'];
13272
+ role: BotmanorHandoffMessageRole;
13273
+ text: Scalars['String']['output'];
13274
+ };
13275
+ export declare enum BotmanorHandoffMessageRole {
13276
+ Bot = "BOT",
13277
+ Customer = "CUSTOMER",
13278
+ Operator = "OPERATOR"
13279
+ }
12441
13280
  export declare enum BotmanorHandoffStatus {
12442
13281
  Accepted = "ACCEPTED",
12443
13282
  Assigned = "ASSIGNED",
@@ -12461,6 +13300,16 @@ export declare enum BotmanorHealthStatus {
12461
13300
  Unhealthy = "UNHEALTHY",
12462
13301
  Unknown = "UNKNOWN"
12463
13302
  }
13303
+ export declare enum BotmanorLlmConnectionTestStatus {
13304
+ Failed = "FAILED",
13305
+ Passed = "PASSED"
13306
+ }
13307
+ /** An agent or knowledge base that uses an LLM model (BOFF-12709). */
13308
+ export type BotmanorLlmDependent = {
13309
+ __typename?: 'BotmanorLLMDependent';
13310
+ id: Scalars['ID']['output'];
13311
+ name: Scalars['String']['output'];
13312
+ };
12464
13313
  export type BotmanorLlmModel = {
12465
13314
  __typename?: 'BotmanorLLMModel';
12466
13315
  contextWindow: Scalars['Int']['output'];
@@ -12488,8 +13337,16 @@ export type BotmanorLlmProvider = {
12488
13337
  createdById: Scalars['ID']['output'];
12489
13338
  credentialsHash?: Maybe<Scalars['String']['output']>;
12490
13339
  deletedAt?: Maybe<Scalars['DateTime']['output']>;
13340
+ /** Whether an encrypted API key is stored for this provider. The key itself is never returned (BOFF-12705). */
13341
+ hasStoredCredentials: Scalars['Boolean']['output'];
12491
13342
  id: Scalars['ID']['output'];
12492
13343
  isActive: Scalars['Boolean']['output'];
13344
+ /** Reason the most recent connection test failed, with secrets redacted (BOFF-12707). */
13345
+ lastTestError?: Maybe<Scalars['String']['output']>;
13346
+ /** Outcome of the most recent connection test (BOFF-12707). */
13347
+ lastTestStatus?: Maybe<BotmanorLlmConnectionTestStatus>;
13348
+ /** When the provider's connection was last tested (BOFF-12707). */
13349
+ lastTestedAt?: Maybe<Scalars['DateTime']['output']>;
12493
13350
  metadata?: Maybe<Scalars['JSON']['output']>;
12494
13351
  name: Scalars['String']['output'];
12495
13352
  type: BotmanorLlmProviderType;
@@ -12519,6 +13376,37 @@ export declare enum BotmanorLlmProviderType {
12519
13376
  Openai = "OPENAI",
12520
13377
  Together = "TOGETHER"
12521
13378
  }
13379
+ export type BotmanorLlmReassignFailure = {
13380
+ __typename?: 'BotmanorLLMReassignFailure';
13381
+ agentId: Scalars['ID']['output'];
13382
+ agentName: Scalars['String']['output'];
13383
+ message: Scalars['String']['output'];
13384
+ };
13385
+ /** Result of moving agents from one model to another (BOFF-12709). */
13386
+ export type BotmanorLlmReassignResult = {
13387
+ __typename?: 'BotmanorLLMReassignResult';
13388
+ failures: Array<BotmanorLlmReassignFailure>;
13389
+ moved: Scalars['Int']['output'];
13390
+ };
13391
+ /**
13392
+ * What depends on an LLM model or provider (BOFF-12709). A model or provider
13393
+ * with dependents cannot be deleted or turned off until they are moved.
13394
+ */
13395
+ export type BotmanorLlmUsage = {
13396
+ __typename?: 'BotmanorLLMUsage';
13397
+ /** Agents whose model is this model (or a model of this provider). */
13398
+ agents: Array<BotmanorLlmDependent>;
13399
+ /** Knowledge bases that embed with this model (or a model of this provider). */
13400
+ knowledgeBases: Array<BotmanorLlmDependent>;
13401
+ };
13402
+ /** One count-reconciler sample (BOFF-15360): the live value of a slot quota. */
13403
+ export type BotmanorQuotaCountMetric = {
13404
+ __typename?: 'BotmanorQuotaCountMetric';
13405
+ currentValue: Scalars['Int']['output'];
13406
+ productId: Scalars['String']['output'];
13407
+ quotaName: Scalars['String']['output'];
13408
+ workspaceId: Scalars['ID']['output'];
13409
+ };
12522
13410
  /** One retention pass over a workspace. Counts only; never content. */
12523
13411
  export type BotmanorRetentionRun = {
12524
13412
  __typename?: 'BotmanorRetentionRun';
@@ -12554,6 +13442,61 @@ export type BotmanorRetentionStatus = {
12554
13442
  /** Most recent retention passes, newest first */
12555
13443
  recentRuns: Array<BotmanorRetentionRun>;
12556
13444
  };
13445
+ export declare enum BotmanorToolApprovalDecision {
13446
+ Approve = "APPROVE",
13447
+ Deny = "DENY"
13448
+ }
13449
+ export type BotmanorToolApprovalFilterInput = {
13450
+ agentId?: InputMaybe<Scalars['ID']['input']>;
13451
+ status?: InputMaybe<BotmanorToolApprovalStatus>;
13452
+ };
13453
+ export type BotmanorToolApprovalRequest = {
13454
+ __typename?: 'BotmanorToolApprovalRequest';
13455
+ agentId: Scalars['ID']['output'];
13456
+ /** Name of the agent that wanted the call (null when the agent was deleted). */
13457
+ agentName?: Maybe<Scalars['String']['output']>;
13458
+ approverRoles: Array<Scalars['String']['output']>;
13459
+ approverUserIds: Array<Scalars['ID']['output']>;
13460
+ /** The call's arguments as the model produced them. */
13461
+ arguments: Scalars['JSON']['output'];
13462
+ connectionId: Scalars['ID']['output'];
13463
+ connectionName: Scalars['String']['output'];
13464
+ createdAt: Scalars['DateTime']['output'];
13465
+ decidedAt?: Maybe<Scalars['DateTime']['output']>;
13466
+ deciderId?: Maybe<Scalars['ID']['output']>;
13467
+ decisionNote?: Maybe<Scalars['String']['output']>;
13468
+ expiresAt: Scalars['DateTime']['output'];
13469
+ id: Scalars['ID']['output'];
13470
+ /** APPROVER (an approver decides) or REQUESTER (the person who asked confirms). */
13471
+ mode: Scalars['String']['output'];
13472
+ originExecutionId?: Maybe<Scalars['ID']['output']>;
13473
+ /** Why approval was required, e.g. risk:HIGH, tool:delete_*, server:Billing. */
13474
+ reasons: Array<Scalars['String']['output']>;
13475
+ requestedById: Scalars['ID']['output'];
13476
+ resultPreview?: Maybe<Scalars['String']['output']>;
13477
+ resumeError?: Maybe<Scalars['String']['output']>;
13478
+ resumeExecutionId?: Maybe<Scalars['ID']['output']>;
13479
+ /** RUNNING, COMPLETED or FAILED once approved. */
13480
+ resumeStatus?: Maybe<Scalars['String']['output']>;
13481
+ riskLevel: Scalars['String']['output'];
13482
+ status: BotmanorToolApprovalStatus;
13483
+ toolName: Scalars['String']['output'];
13484
+ /** The user's message that led to the call (DATA-masked). */
13485
+ userMessage?: Maybe<Scalars['String']['output']>;
13486
+ workspaceId: Scalars['ID']['output'];
13487
+ };
13488
+ export declare enum BotmanorToolApprovalStatus {
13489
+ Approved = "APPROVED",
13490
+ Cancelled = "CANCELLED",
13491
+ Denied = "DENIED",
13492
+ Expired = "EXPIRED",
13493
+ Pending = "PENDING"
13494
+ }
13495
+ export type BotmanorUsageRef = {
13496
+ __typename?: 'BotmanorUsageRef';
13497
+ id: Scalars['ID']['output'];
13498
+ name: Scalars['String']['output'];
13499
+ };
12557
13500
  /**
12558
13501
  * A FluidGrids workflow run started from BotManor, paired with the BotManor
12559
13502
  * `Execution` row (type `WORKFLOW`) that tracks it.
@@ -14709,7 +15652,9 @@ export declare enum BrowserTaskStatus {
14709
15652
  }
14710
15653
  export type Bucket = {
14711
15654
  __typename?: 'Bucket';
15655
+ ancestors: Array<Bucket>;
14712
15656
  color?: Maybe<Scalars['String']['output']>;
15657
+ contents: BucketContents;
14713
15658
  createdAt: Scalars['DateTime']['output'];
14714
15659
  createdById: Scalars['ID']['output'];
14715
15660
  deletedAt?: Maybe<Scalars['DateTime']['output']>;
@@ -14725,6 +15670,19 @@ export type Bucket = {
14725
15670
  updatedById: Scalars['ID']['output'];
14726
15671
  workspaceId: Scalars['ID']['output'];
14727
15672
  };
15673
+ export type BucketContents = {
15674
+ __typename?: 'BucketContents';
15675
+ a2aRegistryEntries: Scalars['Int']['output'];
15676
+ agents: Scalars['Int']['output'];
15677
+ bots: Scalars['Int']['output'];
15678
+ channelConnectors: Scalars['Int']['output'];
15679
+ childBuckets: Scalars['Int']['output'];
15680
+ items: Scalars['Int']['output'];
15681
+ policies: Scalars['Int']['output'];
15682
+ promptTemplates: Scalars['Int']['output'];
15683
+ retrievalProfiles: Scalars['Int']['output'];
15684
+ skills: Scalars['Int']['output'];
15685
+ };
14728
15686
  export type BucketFilterInput = {
14729
15687
  context?: InputMaybe<ContextFilterInput>;
14730
15688
  parentBucketId?: InputMaybe<Scalars['ID']['input']>;
@@ -19084,12 +20042,19 @@ export type ChannelConnector = {
19084
20042
  defaultPolicyBindings?: Maybe<Scalars['JSON']['output']>;
19085
20043
  description?: Maybe<Scalars['String']['output']>;
19086
20044
  id: Scalars['ID']['output'];
20045
+ /** When the last unanswered inbound message arrived. */
20046
+ lastUnroutedAt?: Maybe<Scalars['DateTime']['output']>;
19087
20047
  metadata?: Maybe<Scalars['JSON']['output']>;
19088
20048
  name: Scalars['String']['output'];
19089
20049
  revision: Scalars['Int']['output'];
19090
20050
  status: EntityStatus;
19091
20051
  tags: Array<Scalars['String']['output']>;
19092
20052
  type: ChannelType;
20053
+ /**
20054
+ * Inbound messages this connector received that no live route answered: no
20055
+ * route for the location, the route is turned off, or its bot is not live.
20056
+ */
20057
+ unroutedMessageCount: Scalars['Int']['output'];
19093
20058
  updatedAt: Scalars['DateTime']['output'];
19094
20059
  updatedById: Scalars['ID']['output'];
19095
20060
  visibility: Visibility;
@@ -19111,6 +20076,20 @@ export declare enum ChannelMessageStatus {
19111
20076
  /** Processing error occurred */
19112
20077
  Error = "ERROR"
19113
20078
  }
20079
+ /**
20080
+ * Workspace-wide channel totals (BOFF-12569): the real counts, not the length of
20081
+ * a loaded page.
20082
+ */
20083
+ export type ChannelOverview = {
20084
+ __typename?: 'ChannelOverview';
20085
+ activeConnectorCount: Scalars['Int']['output'];
20086
+ /** Routes that are turned on (inactive routes are ignored by routing). */
20087
+ activeRouteCount: Scalars['Int']['output'];
20088
+ connectorCount: Scalars['Int']['output'];
20089
+ routeCount: Scalars['Int']['output'];
20090
+ /** Inbound messages no live route answered, across all connectors. */
20091
+ unroutedMessageCount: Scalars['Int']['output'];
20092
+ };
19114
20093
  /** Supported channel platforms */
19115
20094
  export declare enum ChannelPlatform {
19116
20095
  /** Discord server */
@@ -19135,12 +20114,17 @@ export type ChannelRoute = {
19135
20114
  appId: Scalars['ID']['output'];
19136
20115
  connectorId: Scalars['ID']['output'];
19137
20116
  createdAt: Scalars['DateTime']['output'];
20117
+ /** @deprecated Not applied by channel routing. Values other than null are rejected (BOFF-12567). */
19138
20118
  formatPolicyId?: Maybe<Scalars['ID']['output']>;
19139
20119
  id: Scalars['ID']['output'];
20120
+ /** An inactive route is ignored by inbound routing, as if it did not exist. */
20121
+ isActive: Scalars['Boolean']['output'];
19140
20122
  locationId: Scalars['String']['output'];
19141
20123
  metadata?: Maybe<Scalars['JSON']['output']>;
20124
+ /** @deprecated Not applied by channel routing. Values other than null are rejected (BOFF-12567). */
19142
20125
  policyBindings?: Maybe<Scalars['JSON']['output']>;
19143
20126
  revision: Scalars['Int']['output'];
20127
+ /** @deprecated Not applied by channel routing. Values other than null are rejected (BOFF-12567). */
19144
20128
  routingOverrides?: Maybe<Scalars['JSON']['output']>;
19145
20129
  updatedAt: Scalars['DateTime']['output'];
19146
20130
  workspaceId: Scalars['ID']['output'];
@@ -19148,6 +20132,7 @@ export type ChannelRoute = {
19148
20132
  export type ChannelRouteFilterInput = {
19149
20133
  appId?: InputMaybe<Scalars['ID']['input']>;
19150
20134
  connectorId?: InputMaybe<Scalars['ID']['input']>;
20135
+ isActive?: InputMaybe<Scalars['Boolean']['input']>;
19151
20136
  workspaceId?: InputMaybe<Scalars['ID']['input']>;
19152
20137
  };
19153
20138
  /** Sender information from external channel platform */
@@ -19181,6 +20166,13 @@ export type ChatResponse = {
19181
20166
  };
19182
20167
  export type ChatWithAgentInput = {
19183
20168
  agentId: Scalars['ID']['input'];
20169
+ /**
20170
+ * The bot this chat is with (BOFF-15360). When set, the bot's routing strategy
20171
+ * picks the agent that answers (within its queue limit and timeout, with
20172
+ * fallback), and the run records the routing decision. `agentId` must then be
20173
+ * an agent of this bot.
20174
+ */
20175
+ appId?: InputMaybe<Scalars['ID']['input']>;
19184
20176
  conversationId?: InputMaybe<Scalars['String']['input']>;
19185
20177
  /**
19186
20178
  * Optional LLM API key injected by workflow credential adapters.
@@ -27123,6 +28115,13 @@ export type CourseKnowledgeImportReceipt = {
27123
28115
  __typename?: 'CourseKnowledgeImportReceipt';
27124
28116
  agentId: Scalars['ID']['output'];
27125
28117
  courseId: Scalars['ID']['output'];
28118
+ /**
28119
+ * Why the import is not advancing, when it is not. Besides the stored failure codes, a ready
28120
+ * import nothing has advanced for 10 minutes reports INGESTION_RUNTIME_MISSING (the agent has no
28121
+ * course import workflows: configure the assistant again) or INGESTION_STALLED (the workspace's
28122
+ * course import recovery schedule is not running). These two are reported, not stored, and clear
28123
+ * once the import advances.
28124
+ */
27126
28125
  errorCode?: Maybe<Scalars['String']['output']>;
27127
28126
  id: Scalars['ID']['output'];
27128
28127
  knowledgeBaseId: Scalars['ID']['output'];
@@ -27258,6 +28257,14 @@ export type CreateAgentTemplateInput = {
27258
28257
  tagIds?: InputMaybe<Array<Scalars['ID']['input']>>;
27259
28258
  visibility?: InputMaybe<TemplateVisibility>;
27260
28259
  };
28260
+ export type CreateAgentsFromDraftInput = {
28261
+ agents: Array<BotDraftAgentInput>;
28262
+ description: Scalars['String']['input'];
28263
+ draftId: Scalars['ID']['input'];
28264
+ llmModelId: Scalars['ID']['input'];
28265
+ templateId?: InputMaybe<Scalars['ID']['input']>;
28266
+ workspaceId: Scalars['ID']['input'];
28267
+ };
27261
28268
  export type CreateAiContextInput = {
27262
28269
  content: Scalars['String']['input'];
27263
28270
  context?: InputMaybe<ContextInput>;
@@ -27276,7 +28283,13 @@ export type CreateAiPredictionInput = {
27276
28283
  metadata?: InputMaybe<Scalars['JSON']['input']>;
27277
28284
  modelVersion: Scalars['String']['input'];
27278
28285
  predictionType: Scalars['String']['input'];
27279
- recommendation: Scalars['String']['input'];
28286
+ /**
28287
+ * Ignored. The service computes the recommendation from the score and
28288
+ * confidence (BOFF-15360), so a stored recommendation always agrees with its
28289
+ * score. Kept optional so existing callers that still send it keep working.
28290
+ * @deprecated Computed by the service from score and confidence; a value sent here is ignored.
28291
+ */
28292
+ recommendation?: InputMaybe<Scalars['String']['input']>;
27280
28293
  score: Scalars['Float']['input'];
27281
28294
  sourceProduct?: InputMaybe<Scalars['String']['input']>;
27282
28295
  sourceRefId?: InputMaybe<Scalars['String']['input']>;
@@ -27522,6 +28535,16 @@ export type CreateBotAppInput = {
27522
28535
  workflowId?: InputMaybe<Scalars['ID']['input']>;
27523
28536
  workspaceId: Scalars['ID']['input'];
27524
28537
  };
28538
+ export type CreateBotFromDraftInput = {
28539
+ agents: Array<BotDraftAgentInput>;
28540
+ app: BotDraftAppInput;
28541
+ description: Scalars['String']['input'];
28542
+ draftId: Scalars['ID']['input'];
28543
+ links: Array<BotDraftLinkInput>;
28544
+ llmModelId: Scalars['ID']['input'];
28545
+ templateId?: InputMaybe<Scalars['ID']['input']>;
28546
+ workspaceId: Scalars['ID']['input'];
28547
+ };
27525
28548
  /** Deprecated: use CreateBotmanorAgentInput. Scheduled for removal no earlier than 2027-02-05 (BOFF-9561). */
27526
28549
  export type CreateBotlitAgentInput = {
27527
28550
  /** Emoji shown for the agent (up to 32 characters). An empty string clears it. */
@@ -27530,6 +28553,8 @@ export type CreateBotlitAgentInput = {
27530
28553
  capabilities?: InputMaybe<Array<BotlitAgentCapability>>;
27531
28554
  context?: InputMaybe<ContextInput>;
27532
28555
  description?: InputMaybe<Scalars['String']['input']>;
28556
+ /** Ordered fallback models (at most 3, never the primary model). Empty clears them. */
28557
+ fallbackModelIds?: InputMaybe<Array<Scalars['ID']['input']>>;
27533
28558
  knowledgeBaseIds?: InputMaybe<Array<Scalars['ID']['input']>>;
27534
28559
  llmModelId?: InputMaybe<Scalars['ID']['input']>;
27535
28560
  maxConcurrentExecutions?: InputMaybe<Scalars['Int']['input']>;
@@ -27585,6 +28610,8 @@ export type CreateBotmanorAgentInput = {
27585
28610
  capabilities?: InputMaybe<Array<BotmanorAgentCapability>>;
27586
28611
  context?: InputMaybe<ContextInput>;
27587
28612
  description?: InputMaybe<Scalars['String']['input']>;
28613
+ /** Ordered fallback models (at most 3, never the primary model). Empty clears them. */
28614
+ fallbackModelIds?: InputMaybe<Array<Scalars['ID']['input']>>;
27588
28615
  knowledgeBaseIds?: InputMaybe<Array<Scalars['ID']['input']>>;
27589
28616
  llmModelId?: InputMaybe<Scalars['ID']['input']>;
27590
28617
  maxConcurrentExecutions?: InputMaybe<Scalars['Int']['input']>;
@@ -27809,10 +28836,14 @@ export type CreateChannelConnectorInput = {
27809
28836
  export type CreateChannelRouteInput = {
27810
28837
  appId: Scalars['ID']['input'];
27811
28838
  connectorId: Scalars['ID']['input'];
28839
+ /** @deprecated Not applied by channel routing. Values other than null are rejected (BOFF-12567). */
27812
28840
  formatPolicyId?: InputMaybe<Scalars['ID']['input']>;
28841
+ isActive?: InputMaybe<Scalars['Boolean']['input']>;
27813
28842
  locationId: Scalars['String']['input'];
27814
28843
  metadata?: InputMaybe<Scalars['JSON']['input']>;
28844
+ /** @deprecated Not applied by channel routing. Values other than null are rejected (BOFF-12567). */
27815
28845
  policyBindings?: InputMaybe<Scalars['JSON']['input']>;
28846
+ /** @deprecated Not applied by channel routing. Values other than null are rejected (BOFF-12567). */
27816
28847
  routingOverrides?: InputMaybe<Scalars['JSON']['input']>;
27817
28848
  workspaceId: Scalars['ID']['input'];
27818
28849
  };
@@ -30144,6 +31175,8 @@ export type CreateLogStreamDestinationInput = {
30144
31175
  };
30145
31176
  export type CreateMcpConnectionInput = {
30146
31177
  config: Scalars['JSON']['input'];
31178
+ credential?: InputMaybe<McpCredentialInput>;
31179
+ /** @deprecated Use credential. A bare token string or { token } is stored as a bearer token. */
30147
31180
  credentials?: InputMaybe<Scalars['JSON']['input']>;
30148
31181
  metadata?: InputMaybe<Scalars['JSON']['input']>;
30149
31182
  name: Scalars['String']['input'];
@@ -30435,6 +31468,15 @@ export type CreatePlantingPlanInput = {
30435
31468
  transplantDate?: InputMaybe<Scalars['String']['input']>;
30436
31469
  weatherRisk?: InputMaybe<Scalars['String']['input']>;
30437
31470
  };
31471
+ export type CreatePolicyBundleDraftInput = {
31472
+ description?: InputMaybe<Scalars['String']['input']>;
31473
+ name: Scalars['String']['input'];
31474
+ policyIds: Array<Scalars['ID']['input']>;
31475
+ readme?: InputMaybe<Scalars['String']['input']>;
31476
+ slug: Scalars['String']['input'];
31477
+ version: Scalars['String']['input'];
31478
+ workspaceId: Scalars['ID']['input'];
31479
+ };
30438
31480
  export type CreatePolicyInput = {
30439
31481
  bucketId?: InputMaybe<Scalars['ID']['input']>;
30440
31482
  config?: InputMaybe<Scalars['JSON']['input']>;
@@ -33934,6 +34976,74 @@ export declare enum DlqStatus {
33934
34976
  Pending = "PENDING",
33935
34977
  Resolved = "RESOLVED"
33936
34978
  }
34979
+ /** Breakdown of a daily usage query */
34980
+ export declare enum DailyUsageDimension {
34981
+ /** One row per day per agent (runs without an agent are left out) */
34982
+ Agent = "AGENT",
34983
+ /** One row per day per bot (runs without a bot are left out) */
34984
+ App = "APP",
34985
+ /** One row per day for the whole workspace */
34986
+ Workspace = "WORKSPACE"
34987
+ }
34988
+ /** Time bucketing of a daily usage query */
34989
+ export declare enum DailyUsageInterval {
34990
+ /** One row per UTC day */
34991
+ Day = "DAY",
34992
+ /** One row per breakdown key over the whole window */
34993
+ Window = "WINDOW"
34994
+ }
34995
+ /**
34996
+ * Runs, outcomes, tokens, cost and latency for one UTC day (or one window), for
34997
+ * the whole workspace or for one agent or bot (BOFF-15360). Counted from the
34998
+ * execution ledger in the database.
34999
+ */
35000
+ export type DailyUsageStats = {
35001
+ __typename?: 'DailyUsageStats';
35002
+ /** Agent the row covers (AGENT breakdown only) */
35003
+ agentId?: Maybe<Scalars['ID']['output']>;
35004
+ /** Name of that agent, when it still exists */
35005
+ agentName?: Maybe<Scalars['String']['output']>;
35006
+ /** Bot the row covers (APP breakdown only) */
35007
+ appId?: Maybe<Scalars['ID']['output']>;
35008
+ /** Name of that bot, when it still exists */
35009
+ appName?: Maybe<Scalars['String']['output']>;
35010
+ /** Mean duration of the runs that recorded one, in milliseconds */
35011
+ avgDurationMs?: Maybe<Scalars['Float']['output']>;
35012
+ /** UTC day as YYYY-MM-DD; for WINDOW rows, the day the window starts */
35013
+ date: Scalars['String']['output'];
35014
+ /** Runs started */
35015
+ executionCount: Scalars['Int']['output'];
35016
+ /** Runs that finished FAILED or TIMEOUT */
35017
+ failureCount: Scalars['Int']['output'];
35018
+ /** Runs still PENDING or RUNNING */
35019
+ inProgressCount: Scalars['Int']['output'];
35020
+ /** Latest run start in the row */
35021
+ lastExecutedAt?: Maybe<Scalars['DateTime']['output']>;
35022
+ /** Runs that recorded a cost */
35023
+ pricedRuns: Scalars['Int']['output'];
35024
+ /** Runs that finished COMPLETED */
35025
+ successCount: Scalars['Int']['output'];
35026
+ /** successCount / (successCount + failureCount); null when no run finished */
35027
+ successRate?: Maybe<Scalars['Float']['output']>;
35028
+ /** Sum of the recorded costs; null when no run recorded one */
35029
+ totalCost?: Maybe<Scalars['Float']['output']>;
35030
+ /** Sum of the recorded token totals */
35031
+ totalTokens: Scalars['Float']['output'];
35032
+ };
35033
+ export type DailyUsageStatsFilterInput = {
35034
+ /** Only runs of this agent */
35035
+ agentId?: InputMaybe<Scalars['ID']['input']>;
35036
+ /** Only runs of this bot */
35037
+ appId?: InputMaybe<Scalars['ID']['input']>;
35038
+ /** Breakdown; WORKSPACE when omitted */
35039
+ dimension?: InputMaybe<DailyUsageDimension>;
35040
+ /** Window end (exclusive). Defaults to now. A window may span at most 366 days. */
35041
+ endDate?: InputMaybe<Scalars['DateTime']['input']>;
35042
+ /** Bucketing; DAY when omitted */
35043
+ interval?: InputMaybe<DailyUsageInterval>;
35044
+ /** Window start (inclusive). Defaults to 30 days before endDate. */
35045
+ startDate?: InputMaybe<Scalars['DateTime']['input']>;
35046
+ };
33937
35047
  export type DashboardOverview = {
33938
35048
  __typename?: 'DashboardOverview';
33939
35049
  openIncidents: Scalars['Int']['output'];
@@ -34612,9 +35722,15 @@ export declare enum DelayQueueScope {
34612
35722
  Workspace = "WORKSPACE"
34613
35723
  }
34614
35724
  export type DelegateA2ATaskInput = {
35725
+ /** BOFF-15360 — queue the delegation for the delivery worker and return at once */
35726
+ async?: InputMaybe<Scalars['Boolean']['input']>;
35727
+ /** BOFF-15360 — a repeated request with the same key returns the first delegation */
35728
+ idempotencyKey?: InputMaybe<Scalars['String']['input']>;
34615
35729
  senderAgentId: Scalars['ID']['input'];
34616
35730
  targetAgentId: Scalars['ID']['input'];
34617
35731
  task: Scalars['String']['input'];
35732
+ /** BOFF-15360 — seconds before a queued delegation fails as timed out (30-3600, default 600) */
35733
+ timeoutSeconds?: InputMaybe<Scalars['Int']['input']>;
34618
35734
  workspaceId: Scalars['ID']['input'];
34619
35735
  };
34620
35736
  /** Input for deleting a comment */
@@ -34770,6 +35886,18 @@ export declare enum DemandForecastScope {
34770
35886
  Customer = "CUSTOMER",
34771
35887
  Lane = "LANE"
34772
35888
  }
35889
+ /** How often one actor was denied one action in the analytics period */
35890
+ export type DenialCount = {
35891
+ __typename?: 'DenialCount';
35892
+ action: Scalars['String']['output'];
35893
+ actorId: Scalars['String']['output'];
35894
+ actorType: ActorType;
35895
+ /** Denied checks in the period (exact) */
35896
+ count: Scalars['Int']['output'];
35897
+ /** When the latest of these denials happened */
35898
+ lastDeniedAt: Scalars['DateTime']['output'];
35899
+ resourceType: Scalars['String']['output'];
35900
+ };
34773
35901
  export type DependencyHealth = {
34774
35902
  __typename?: 'DependencyHealth';
34775
35903
  message: Scalars['String']['output'];
@@ -35149,6 +36277,18 @@ export type DownloadFolderShareFileInput = {
35149
36277
  /** The folder link's token. */
35150
36278
  token: Scalars['String']['input'];
35151
36279
  };
36280
+ export type DraftBotFromDescriptionInput = {
36281
+ /** One sentence describing the bot (10–1000 characters). */
36282
+ description: Scalars['String']['input'];
36283
+ /**
36284
+ * A model registered in this workspace; it drafts, and the drafted agents use
36285
+ * the model that drafted. Omitted, the best working model of the workspace
36286
+ * drafts. If the model fails, the next working model drafts instead.
36287
+ */
36288
+ llmModelId?: InputMaybe<Scalars['ID']['input']>;
36289
+ scope: BotDraftScope;
36290
+ workspaceId: Scalars['ID']['input'];
36291
+ };
35152
36292
  export type DraftMessage = {
35153
36293
  __typename?: 'DraftMessage';
35154
36294
  content: Scalars['JSON']['output'];
@@ -39948,7 +41088,11 @@ export type ExecuteTransformInput = {
39948
41088
  export type Execution = {
39949
41089
  __typename?: 'Execution';
39950
41090
  agentId?: Maybe<Scalars['ID']['output']>;
41091
+ /** Name of the agent that ran, when it still exists */
41092
+ agentName?: Maybe<Scalars['String']['output']>;
39951
41093
  appId?: Maybe<Scalars['ID']['output']>;
41094
+ /** Name of the bot (app) that ran, when the run belongs to one and it still exists */
41095
+ appName?: Maybe<Scalars['String']['output']>;
39952
41096
  completedAt?: Maybe<Scalars['DateTime']['output']>;
39953
41097
  /** Set when a RETENTION policy erased this run's input, output and error payloads */
39954
41098
  contentPurgedAt?: Maybe<Scalars['DateTime']['output']>;
@@ -39959,21 +41103,46 @@ export type Execution = {
39959
41103
  errorCode?: Maybe<Scalars['String']['output']>;
39960
41104
  errorDetails?: Maybe<Scalars['JSON']['output']>;
39961
41105
  errorMessage?: Maybe<Scalars['String']['output']>;
41106
+ feedbackAt?: Maybe<Scalars['DateTime']['output']>;
41107
+ feedbackBy?: Maybe<Scalars['ID']['output']>;
41108
+ /** Reviewer rating of the answer: 1 good, -1 poor, null unrated (BOFF-15360). */
41109
+ feedbackRating?: Maybe<Scalars['Int']['output']>;
39962
41110
  id: Scalars['ID']['output'];
39963
41111
  input: Scalars['String']['output'];
39964
41112
  metadata?: Maybe<Scalars['JSON']['output']>;
41113
+ /** Token split, cost and counters recorded when the run finished */
41114
+ metrics?: Maybe<ExecutionMetrics>;
39965
41115
  output?: Maybe<Scalars['String']['output']>;
41116
+ /** How a multi-agent bot picked the agent for this run (BOFF-15360). Null for runs not routed through a bot. */
41117
+ routing?: Maybe<ExecutionRouting>;
39966
41118
  status: ExecutionStatus;
39967
41119
  tokensUsed?: Maybe<Scalars['Int']['output']>;
39968
41120
  toolCalls?: Maybe<Scalars['Int']['output']>;
39969
41121
  type: ExecutionType;
39970
41122
  workspaceId: Scalars['ID']['output'];
39971
41123
  };
41124
+ export declare enum ExecutionFeedbackRating {
41125
+ Clear = "CLEAR",
41126
+ Good = "GOOD",
41127
+ Poor = "POOR"
41128
+ }
39972
41129
  export type ExecutionFilterInput = {
39973
41130
  agentId?: InputMaybe<Scalars['ID']['input']>;
39974
41131
  appId?: InputMaybe<Scalars['ID']['input']>;
39975
41132
  conversationId?: InputMaybe<Scalars['ID']['input']>;
41133
+ /** Runs created at or before this time */
41134
+ endDate?: InputMaybe<Scalars['DateTime']['input']>;
41135
+ /**
41136
+ * Case-insensitive text matched against the run id, the input, and the
41137
+ * agent and bot names (BOFF-12618). At most 200 characters are used.
41138
+ */
41139
+ search?: InputMaybe<Scalars['String']['input']>;
41140
+ /** Runs created at or after this time */
41141
+ startDate?: InputMaybe<Scalars['DateTime']['input']>;
41142
+ /** Single status. Combined with `statuses` when both are given. */
39976
41143
  status?: InputMaybe<ExecutionStatus>;
41144
+ /** Any of these statuses (BOFF-12618) */
41145
+ statuses?: InputMaybe<Array<ExecutionStatus>>;
39977
41146
  type?: InputMaybe<ExecutionType>;
39978
41147
  workspaceId?: InputMaybe<Scalars['ID']['input']>;
39979
41148
  };
@@ -40001,6 +41170,82 @@ export type ExecutionMetricsFilterInput = {
40001
41170
  startDate?: InputMaybe<Scalars['DateTime']['input']>;
40002
41171
  workspaceId?: InputMaybe<Scalars['ID']['input']>;
40003
41172
  };
41173
+ /** How a bot routed one run to an agent (BOFF-15360). */
41174
+ export type ExecutionRouting = {
41175
+ __typename?: 'ExecutionRouting';
41176
+ /** Each dispatch attempt, in order: the routed agent, then any fallback. */
41177
+ attempts: Array<ExecutionRoutingAttempt>;
41178
+ /** Every linked agent routing considered, with its score and matches. */
41179
+ candidates: Array<ExecutionRoutingCandidate>;
41180
+ /** The agent that answered (or was tried last when none could). */
41181
+ chosenAgentId: Scalars['ID']['output'];
41182
+ /** The bot-agent link used, when the agent is linked to the bot. */
41183
+ chosenAppAgentId?: Maybe<Scalars['ID']['output']>;
41184
+ decidedAt: Scalars['DateTime']['output'];
41185
+ /** Why the fallback was used: NO_MATCH, QUEUE_FULL, TIMEOUT or WORKFLOW_FAILED. */
41186
+ fallbackReason?: Maybe<Scalars['String']['output']>;
41187
+ /** True when a fallback agent or the bot's default answered instead of a match. */
41188
+ fallbackUsed: Scalars['Boolean']['output'];
41189
+ /** The agent routing chose before any queue-limit or timeout fallback. */
41190
+ initialAgentId: Scalars['ID']['output'];
41191
+ /** How the agent was chosen: DEFAULT, ROTATION, SCORING, CLASSIFIER, RULES, WORKFLOW or FALLBACK. */
41192
+ method: Scalars['String']['output'];
41193
+ /** Why this agent was chosen, in plain words. */
41194
+ reason: Scalars['String']['output'];
41195
+ /** Time spent deciding, in milliseconds. */
41196
+ routingMs: Scalars['Int']['output'];
41197
+ /** Keyword/pattern score or classifier confidence, when the strategy produced one. */
41198
+ score?: Maybe<Scalars['Float']['output']>;
41199
+ /** The bot's routing strategy when the run was routed. */
41200
+ strategy: RoutingStrategy;
41201
+ /** The CUSTOM routing workflow's outcome, when the bot has one bound. */
41202
+ workflow?: Maybe<ExecutionRoutingWorkflow>;
41203
+ };
41204
+ /** One attempt to dispatch a routed run to an agent (BOFF-15360). */
41205
+ export type ExecutionRoutingAttempt = {
41206
+ __typename?: 'ExecutionRoutingAttempt';
41207
+ agentId: Scalars['ID']['output'];
41208
+ appAgentId?: Maybe<Scalars['ID']['output']>;
41209
+ durationMs: Scalars['Int']['output'];
41210
+ maxQueueSize?: Maybe<Scalars['Int']['output']>;
41211
+ /** ANSWERED, QUEUE_FULL, TIMED_OUT or FAILED. */
41212
+ outcome: Scalars['String']['output'];
41213
+ /** In-flight runs on the link when this attempt asked for a slot. */
41214
+ queueDepth?: Maybe<Scalars['Int']['output']>;
41215
+ timeoutSeconds?: Maybe<Scalars['Int']['output']>;
41216
+ };
41217
+ /** One linked agent as routing evaluated it (BOFF-15360). */
41218
+ export type ExecutionRoutingCandidate = {
41219
+ __typename?: 'ExecutionRoutingCandidate';
41220
+ agentId: Scalars['ID']['output'];
41221
+ /** The agent's name when the run was routed. */
41222
+ agentName?: Maybe<Scalars['String']['output']>;
41223
+ appAgentId: Scalars['ID']['output'];
41224
+ fallbackAgentId?: Maybe<Scalars['ID']['output']>;
41225
+ /** Intent patterns that matched the message. */
41226
+ matchedIntents: Array<Scalars['String']['output']>;
41227
+ /** Trigger keywords found in the message. */
41228
+ matchedKeywords: Array<Scalars['String']['output']>;
41229
+ /** CUSTOM: whether the link's rule matched; null when it has no rule. */
41230
+ matchedRule?: Maybe<Scalars['Boolean']['output']>;
41231
+ maxQueueSize: Scalars['Int']['output'];
41232
+ priority: Scalars['Int']['output'];
41233
+ /** INTELLIGENT keyword/pattern score. */
41234
+ score?: Maybe<Scalars['Float']['output']>;
41235
+ timeoutSeconds: Scalars['Int']['output'];
41236
+ };
41237
+ /** The CUSTOM routing workflow run behind a routing decision (BOFF-15360). */
41238
+ export type ExecutionRoutingWorkflow = {
41239
+ __typename?: 'ExecutionRoutingWorkflow';
41240
+ /** The agent the workflow chose, when it named a valid one. */
41241
+ agentId?: Maybe<Scalars['ID']['output']>;
41242
+ durationMs: Scalars['Int']['output'];
41243
+ error?: Maybe<Scalars['String']['output']>;
41244
+ runId?: Maybe<Scalars['ID']['output']>;
41245
+ /** The run status, or TIMED_OUT, TRIGGER_FAILED, READ_FAILED or INVALID_OUTPUT. */
41246
+ status: Scalars['String']['output'];
41247
+ workflowId: Scalars['ID']['output'];
41248
+ };
40004
41249
  export declare enum ExecutionStatus {
40005
41250
  Cancelled = "CANCELLED",
40006
41251
  Completed = "COMPLETED",
@@ -40009,6 +41254,34 @@ export declare enum ExecutionStatus {
40009
41254
  Running = "RUNNING",
40010
41255
  Timeout = "TIMEOUT"
40011
41256
  }
41257
+ /**
41258
+ * Headline numbers for every execution matching a filter (BOFF-12614,
41259
+ * BOFF-12618). Computed on the server over the whole history, not over the rows
41260
+ * a client has loaded.
41261
+ */
41262
+ export type ExecutionSummary = {
41263
+ __typename?: 'ExecutionSummary';
41264
+ /** Mean duration of the runs that recorded one, in milliseconds; null when none did */
41265
+ avgDurationMs?: Maybe<Scalars['Float']['output']>;
41266
+ /** Runs that finished FAILED or TIMEOUT */
41267
+ failed: Scalars['Int']['output'];
41268
+ /** Runs still PENDING or RUNNING */
41269
+ inProgress: Scalars['Int']['output'];
41270
+ /** Runs that recorded a cost */
41271
+ pricedRuns: Scalars['Int']['output'];
41272
+ /** Runs that finished COMPLETED */
41273
+ succeeded: Scalars['Int']['output'];
41274
+ /** Runs that recorded a duration */
41275
+ timedRuns: Scalars['Int']['output'];
41276
+ /** Runs matching the filter */
41277
+ total: Scalars['Int']['output'];
41278
+ /** Sum of the recorded costs; null when no matching run has a known cost */
41279
+ totalCost?: Maybe<Scalars['Float']['output']>;
41280
+ /** Sum of the recorded token totals */
41281
+ totalTokens: Scalars['Int']['output'];
41282
+ /** Finished runs with no recorded cost (the model price was unknown) */
41283
+ unpricedRuns: Scalars['Int']['output'];
41284
+ };
40012
41285
  export declare enum ExecutionType {
40013
41286
  Agent = "AGENT",
40014
41287
  App = "APP",
@@ -63552,8 +64825,12 @@ export type InstalledPackage = {
63552
64825
  workspaceId: Scalars['ID']['output'];
63553
64826
  };
63554
64827
  export type InstalledPackageFilterInput = {
64828
+ kinds?: InputMaybe<Array<PackageKind>>;
63555
64829
  mode?: InputMaybe<InstallMode>;
63556
64830
  packageId?: InputMaybe<Scalars['ID']['input']>;
64831
+ packageIds?: InputMaybe<Array<Scalars['ID']['input']>>;
64832
+ search?: InputMaybe<Scalars['String']['input']>;
64833
+ updateAvailable?: InputMaybe<Scalars['Boolean']['input']>;
63557
64834
  workspaceId: Scalars['ID']['input'];
63558
64835
  };
63559
64836
  /**
@@ -66331,6 +67608,7 @@ export type KnowledgeBackendMigration = {
66331
67608
  __typename?: 'KnowledgeBackendMigration';
66332
67609
  copiedDocuments: Scalars['Int']['output'];
66333
67610
  copiedVectors: Scalars['Int']['output'];
67611
+ createdAt: Scalars['DateTime']['output'];
66334
67612
  errorCode?: Maybe<Scalars['String']['output']>;
66335
67613
  expectedDocuments: Scalars['Int']['output'];
66336
67614
  expectedVectors: Scalars['Int']['output'];
@@ -66355,8 +67633,12 @@ export type KnowledgeBase = {
66355
67633
  id: Scalars['ID']['output'];
66356
67634
  indexStatus: IndexStatus;
66357
67635
  lastIndexedAt?: Maybe<Scalars['DateTime']['output']>;
67636
+ /** When a person last confirmed the sources are current. */
67637
+ lastReviewedAt?: Maybe<Scalars['DateTime']['output']>;
66358
67638
  metadata?: Maybe<Scalars['JSON']['output']>;
66359
67639
  name: Scalars['String']['output'];
67640
+ /** Days after which the sources are due for review; null = no review schedule (BOFF-15360). */
67641
+ refreshIntervalDays?: Maybe<Scalars['Int']['output']>;
66360
67642
  totalChunks: Scalars['Int']['output'];
66361
67643
  totalDocuments: Scalars['Int']['output'];
66362
67644
  updatedAt: Scalars['DateTime']['output'];
@@ -66389,6 +67671,8 @@ export type KnowledgeChunk = {
66389
67671
  documentId: Scalars['ID']['output'];
66390
67672
  id: Scalars['ID']['output'];
66391
67673
  metadata?: Maybe<Scalars['JSON']['output']>;
67674
+ /** Search hits only: the score the hit was ranked by (hybrid scores scaled to 0..1). Null outside a search. */
67675
+ score?: Maybe<Scalars['Float']['output']>;
66392
67676
  sequence: Scalars['Int']['output'];
66393
67677
  tokenCount: Scalars['Int']['output'];
66394
67678
  vectorId: Scalars['String']['output'];
@@ -67967,28 +69251,61 @@ export type McpConnection = {
67967
69251
  credentialsHash?: Maybe<Scalars['String']['output']>;
67968
69252
  deletedAt?: Maybe<Scalars['DateTime']['output']>;
67969
69253
  errorMessage?: Maybe<Scalars['String']['output']>;
69254
+ hasCredentials: Scalars['Boolean']['output'];
67970
69255
  id: Scalars['ID']['output'];
67971
69256
  lastConnectedAt?: Maybe<Scalars['DateTime']['output']>;
67972
69257
  lastErrorAt?: Maybe<Scalars['DateTime']['output']>;
67973
69258
  metadata?: Maybe<Scalars['JSON']['output']>;
67974
69259
  name: Scalars['String']['output'];
67975
69260
  status: McpConnectionStatus;
69261
+ toolCount: Scalars['Int']['output'];
69262
+ toolsRefreshedAt?: Maybe<Scalars['DateTime']['output']>;
69263
+ transportSupported: Scalars['Boolean']['output'];
67976
69264
  type: Scalars['String']['output'];
67977
69265
  updatedAt: Scalars['DateTime']['output'];
67978
69266
  updatedById: Scalars['ID']['output'];
67979
69267
  workspaceId: Scalars['ID']['output'];
67980
69268
  };
67981
69269
  export type McpConnectionFilterInput = {
69270
+ search?: InputMaybe<Scalars['String']['input']>;
69271
+ sort?: InputMaybe<McpConnectionSort>;
67982
69272
  status?: InputMaybe<McpConnectionStatus>;
67983
69273
  type?: InputMaybe<Scalars['String']['input']>;
67984
69274
  workspaceId?: InputMaybe<Scalars['ID']['input']>;
67985
69275
  };
69276
+ export declare enum McpConnectionSort {
69277
+ NameAsc = "NAME_ASC",
69278
+ NameDesc = "NAME_DESC",
69279
+ Newest = "NEWEST",
69280
+ Oldest = "OLDEST"
69281
+ }
67986
69282
  export declare enum McpConnectionStatus {
67987
69283
  Connected = "CONNECTED",
67988
69284
  Connecting = "CONNECTING",
67989
69285
  Disconnected = "DISCONNECTED",
67990
69286
  Error = "ERROR"
67991
69287
  }
69288
+ export type McpConnectionUsage = {
69289
+ __typename?: 'MCPConnectionUsage';
69290
+ agentCount: Scalars['Int']['output'];
69291
+ agents: Array<McpConnectionUsageAgent>;
69292
+ connectionId: Scalars['ID']['output'];
69293
+ };
69294
+ export type McpConnectionUsageAgent = {
69295
+ __typename?: 'MCPConnectionUsageAgent';
69296
+ id: Scalars['ID']['output'];
69297
+ name: Scalars['String']['output'];
69298
+ status: Scalars['String']['output'];
69299
+ };
69300
+ export type McpCredentialInput = {
69301
+ headerName?: InputMaybe<Scalars['String']['input']>;
69302
+ scheme: McpCredentialScheme;
69303
+ secret: Scalars['String']['input'];
69304
+ };
69305
+ export declare enum McpCredentialScheme {
69306
+ ApiKeyHeader = "API_KEY_HEADER",
69307
+ Bearer = "BEARER"
69308
+ }
67992
69309
  export type McpResource = {
67993
69310
  __typename?: 'MCPResource';
67994
69311
  connectionId: Scalars['ID']['output'];
@@ -68014,6 +69331,7 @@ export type McpTool = {
68014
69331
  connectionId: Scalars['ID']['output'];
68015
69332
  createdAt: Scalars['DateTime']['output'];
68016
69333
  description: Scalars['String']['output'];
69334
+ enabled: Scalars['Boolean']['output'];
68017
69335
  id: Scalars['ID']['output'];
68018
69336
  inputSchema: Scalars['JSON']['output'];
68019
69337
  metadata?: Maybe<Scalars['JSON']['output']>;
@@ -76329,6 +77647,8 @@ export type Mutation = {
76329
77647
  _serviceNoop: Scalars['Boolean']['output'];
76330
77648
  /** Abort an upload session */
76331
77649
  abortUpload: Scalars['Boolean']['output'];
77650
+ /** Accept a suggestion: apply its change to the agent's draft (or mark the knowledge base reviewed). */
77651
+ acceptAgentSuggestion: AgentSuggestionAcceptResult;
76332
77652
  /** Accept a file/folder share invitation. scopeType:self so the gateway forwards the authenticated recipient's actor id (public:true would not inject x-actor-id). */
76333
77653
  acceptFileShare: ShareGrant;
76334
77654
  acceptGroupInvitation: GroupMembership;
@@ -77009,6 +78329,8 @@ export type Mutation = {
77009
78329
  assignDriverVehicle: MtwDriver;
77010
78330
  /** Creator-only. Pass memberId: null to unassign (the item's cost reverts to the shared/even split). */
77011
78331
  assignGgnomadGroupTripItem: Scalars['Boolean']['output'];
78332
+ /** Assign an open handoff to a workspace member (reassigns an accepted one). */
78333
+ assignHandoff: BotmanorConversationHandoff;
77012
78334
  assignHealthyBowlConsultant: HealthyBowlConsultantAssignment;
77013
78335
  /**
77014
78336
  * Point a membership at a pickup location, or back at home delivery.
@@ -77316,9 +78638,20 @@ export type Mutation = {
77316
78638
  bigconsoleAskAddToDashboard: Scalars['ID']['output'];
77317
78639
  bigconsoleCancelExplore: Scalars['Boolean']['output'];
77318
78640
  bigconsoleCreateExploreWidget: Scalars['ID']['output'];
78641
+ /**
78642
+ * Register a data sink in the request workspace for governed SQL and Explore, or replace the declaration of an
78643
+ * already registered sink. A change that would break an existing grant is refused. Registration grants nobody access.
78644
+ */
78645
+ bigconsoleRegisterQueryRelation: BigConsoleQueryRelation;
78646
+ /** Remove a query relation and every grant on it. */
78647
+ bigconsoleRemoveQueryRelation: Scalars['Boolean']['output'];
78648
+ /** Revoke one user's grant on a query relation. */
78649
+ bigconsoleRevokeQueryGrant: Scalars['Boolean']['output'];
77319
78650
  /** Run exactly one of SQL, a private saved query, or a viewer-readable widget. */
77320
78651
  bigconsoleRunExplore: BigConsoleExploreResult;
77321
78652
  bigconsoleSaveExplore: BigConsoleSavedQuery;
78653
+ /** Create or replace one workspace member's grant on a query relation. */
78654
+ bigconsoleSetQueryGrant: BigConsoleQueryGrant;
77322
78655
  bookCalendarResource: CalendarResourceBooking;
77323
78656
  /**
77324
78657
  * Books a specific slot: a guarded capacity check-and-increment (rejects with
@@ -79225,6 +80558,11 @@ export type Mutation = {
79225
80558
  createAgentMessageBookmark: AgentMessageBookmark;
79226
80559
  /** @deprecated use createBotmanorAgentTemplate */
79227
80560
  createAgentTemplate: AgentTemplate;
80561
+ /**
80562
+ * Create reviewed agent drafts as DRAFT agents in one transaction. Unmetered, like
80563
+ * `createBotmanorAgent`.
80564
+ */
80565
+ createAgentsFromDraft: BotDraftResult;
79228
80566
  createAiContext: AiContext;
79229
80567
  createAiContextShareLink: ShareGrant;
79230
80568
  createAiPrediction: AiPrediction;
@@ -79252,6 +80590,12 @@ export type Mutation = {
79252
80590
  createBooking: Booking;
79253
80591
  createBookingPage: BookingPage;
79254
80592
  createBotApp: BotApp;
80593
+ /**
80594
+ * Create a reviewed bot draft — a DRAFT app, its DRAFT agents and routing links — in
80595
+ * one transaction. Mints one bot, so it is metered like `createBotApp`. The agents are
80596
+ * unmetered, like `createBotmanorAgent` (agents are internal workers, see BOFF-4400).
80597
+ */
80598
+ createBotFromDraft: BotDraftResult;
79255
80599
  /**
79256
80600
  * BOFF-4400 — deliberately unmetered by design, not an oversight: Agents are
79257
80601
  * internal workers, reusable across many Apps within a workspace, and are not
@@ -79685,6 +81029,11 @@ export type Mutation = {
79685
81029
  createKnowledgeBase: KnowledgeBase;
79686
81030
  createLegalHold: LegalHold;
79687
81031
  createLifeGoal: TimeCampusLifeGoal;
81032
+ /**
81033
+ * Create a new board as a linked copy of a master, with the master's widgets.
81034
+ * The master is marked as a master if it was not one.
81035
+ */
81036
+ createLinkedCopy: BigConsoleFleetBoard;
79688
81037
  createLocationEntry: LocationEntry;
79689
81038
  createLogStreamDestination: LogStreamDestinationResponse;
79690
81039
  createMCPConnection: McpConnection;
@@ -79718,6 +81067,7 @@ export type Mutation = {
79718
81067
  createPhysicalAudit: PhysicalAudit;
79719
81068
  createPipeline: Pipeline;
79720
81069
  createPolicy: Policy;
81070
+ createPolicyBundleDraft: StorePackageSubmission;
79721
81071
  /** Create an OPA policy reference */
79722
81072
  createPolicyReference: PolicyReference;
79723
81073
  createPomodoroGoal: PomodoroGoal;
@@ -79793,6 +81143,7 @@ export type Mutation = {
79793
81143
  createSiemDestination: SiemDestinationSecretResult;
79794
81144
  createSkill: Skill;
79795
81145
  createSnapshot: AnalyticsSnapshot;
81146
+ createStorePackageDraft: StorePackageSubmission;
79796
81147
  createTag: UniversalTag;
79797
81148
  createTagRelation: UniversalTagRelation;
79798
81149
  createTagRule: UniversalTagRule;
@@ -79976,6 +81327,13 @@ export type Mutation = {
79976
81327
  * that was held: if the action changes before it runs, it needs a new approval.
79977
81328
  */
79978
81329
  decideActionPolicyApproval: ActionPolicyApproval;
81330
+ /**
81331
+ * Approve or deny a pending tool call. Approving runs the call and resumes the
81332
+ * agent; denying needs a note. Refused for your own call (APPROVER mode), for a
81333
+ * caller who is not one of the request's approvers, and once it is decided or
81334
+ * expired.
81335
+ */
81336
+ decideBotmanorToolApproval: BotmanorToolApprovalRequest;
79979
81337
  /** Accept or reject a proposal. A BLOCKED proposal cannot be decided at all. */
79980
81338
  decideHealthyBowlAgronomyDecision: AgronomyDecision;
79981
81339
  /**
@@ -80401,6 +81759,7 @@ export type Mutation = {
80401
81759
  deleteSiemDestination: Scalars['Boolean']['output'];
80402
81760
  deleteSkill: Scalars['Boolean']['output'];
80403
81761
  deleteSoftwareAsset: Scalars['Boolean']['output'];
81762
+ deleteStorePackageDraft: Scalars['Boolean']['output'];
80404
81763
  deleteTag: Scalars['Boolean']['output'];
80405
81764
  deleteTagRelation: Scalars['Boolean']['output'];
80406
81765
  deleteTagRule: Scalars['Boolean']['output'];
@@ -80580,6 +81939,11 @@ export type Mutation = {
80580
81939
  detachAgentFromVibe: Scalars['Boolean']['output'];
80581
81940
  detachCrewCandidateSkill: Scalars['Boolean']['output'];
80582
81941
  detachCrewSkill: Scalars['Boolean']['output'];
81942
+ /**
81943
+ * Stop following the master. The board keeps a plain copy of everything and the
81944
+ * master stays a master.
81945
+ */
81946
+ detachDashboard: BigConsoleFleetBoard;
80583
81947
  detachEmployeeDocument: Scalars['Boolean']['output'];
80584
81948
  /** Detach a domain from its tunnel. The domain record remains for re-use. */
80585
81949
  detachTunnelDomain: Tunnel;
@@ -80609,6 +81973,8 @@ export type Mutation = {
80609
81973
  * revoked as well.
80610
81974
  */
80611
81975
  disconnectTimeCampusCaptureChannel: TimeCampusCaptureChannel;
81976
+ /** Dismiss a suggestion. The same suggestion is not made again for 14 days. */
81977
+ dismissAgentSuggestion: AgentSuggestion;
80612
81978
  dismissHealthyBowlComplianceFlag: ComplianceFlag;
80613
81979
  /** Dismiss an open or snoozed suggestion with a reason (and an optional note of up to 500 characters). */
80614
81980
  dismissOptimisationSuggestion: OptimisationSuggestion;
@@ -80691,9 +82057,36 @@ export type Mutation = {
80691
82057
  disposeAsset: Asset;
80692
82058
  /** Download one file through a folder share link that allows downloads; counts against the link's download cap. */
80693
82059
  downloadFolderShareFile: FolderShareFileDownload;
82060
+ /**
82061
+ * Draft a bot (or agents) from one sentence. Writes nothing. Runs BotManor-initiated
82062
+ * inference on the chosen workspace model, so it is metered as AI credits: refused
82063
+ * by the gateway once the workspace's monthly `botmanor.ai.credits` are spent (Free
82064
+ * includes none), then charged by real token cost.
82065
+ */
82066
+ draftBotFromDescription: BotDraft;
80694
82067
  duplicateAIPrompt: AiPrompt;
80695
82068
  /** Duplicate an action with a new name */
80696
82069
  duplicateAction: Action;
82070
+ /**
82071
+ * Copy a bot into a new DRAFT bot in the same workspace (BOFF-15485).
82072
+ *
82073
+ * The copy carries the bot's configuration and its agent routing. Channel
82074
+ * routes, published versions, run counts and statistics stay with the
82075
+ * original. Without `name` the copy is "<name> (Copy)" (then "(Copy 2)", ...);
82076
+ * a `name` that is taken returns CONFLICT. A copy is a new bot, so it uses one
82077
+ * `botmanor.bots.count` slot, like `createBotApp`.
82078
+ */
82079
+ duplicateBotApp: BotApp;
82080
+ /**
82081
+ * Copy an agent into a new DRAFT agent in the same workspace (BOFF-15485).
82082
+ *
82083
+ * The copy carries the agent's configuration (model, prompt, knowledge bases,
82084
+ * tools, workflow bindings) and its skills, prompt template and retrieval
82085
+ * profile. Version history, run counts and statistics stay with the original.
82086
+ * Without `name` the copy is "<name> (Copy)" (then "(Copy 2)", ...); a `name`
82087
+ * that is taken returns CONFLICT. Unmetered, like `createBotmanorAgent`.
82088
+ */
82089
+ duplicateBotmanorAgent: BotmanorAgent;
80697
82090
  /** Duplicate an existing collection */
80698
82091
  duplicateCollection: Collection;
80699
82092
  /**
@@ -83292,6 +84685,15 @@ export type Mutation = {
83292
84685
  leaveWorkflowSession: Scalars['Boolean']['output'];
83293
84686
  /** Link (or with userId null, unlink) an employee's platform user. */
83294
84687
  linkCrewEmployeeUser: CrewEmployee;
84688
+ /**
84689
+ * Link an existing board under a master. When the caller owns the board, the
84690
+ * master is marked as a master if it was not one, and the master's widgets that
84691
+ * the board does not already have are added; the board's own widgets stay as local
84692
+ * widgets. When someone else owns the board, the link is only requested: it stays
84693
+ * PENDING, and nothing changes, until that owner accepts it with
84694
+ * respondToDashboardLink. Returns the board and where its link stands.
84695
+ */
84696
+ linkDashboardToMaster: BigConsoleFleetBoard;
83295
84697
  /** Link a DataSink to a Workflow (many-to-many) */
83296
84698
  linkDataSinkToWorkflow: DataSinkWorkflowLink;
83297
84699
  /**
@@ -83639,6 +85041,8 @@ export type Mutation = {
83639
85041
  markHealthyBowlGovernmentNotificationRead: HealthyBowlGovernmentNotificationReadPayload;
83640
85042
  /** Mark a fired weather alert as handled. */
83641
85043
  markHealthyBowlWeatherAlertHandled: WeatherAlertEvent;
85044
+ /** Record that a person reviewed the knowledge base's sources and they are current. */
85045
+ markKnowledgeBaseReviewed: KnowledgeBase;
83642
85046
  markNoShow: Booking;
83643
85047
  /** Pair a statement line with a farm Transaction. Neither row's own figures are altered. */
83644
85048
  matchHealthyBowlStatementLine: HealthyBowlBankStatementLine;
@@ -84885,6 +86289,14 @@ export type Mutation = {
84885
86289
  * onto the same record. Only a run that succeeded in the sandbox can be promoted.
84886
86290
  */
84887
86291
  promoteSandboxScriptRun: SandboxScriptRun;
86292
+ /**
86293
+ * Promote a widget this board added itself up to the master it follows. The master
86294
+ * gets the widget, and the board's widget now follows it, so ownership moves up and
86295
+ * the board stays linked. The master's other copies receive it with the next push.
86296
+ * A widget that came from a master cannot be promoted. The caller must be able to
86297
+ * write to both boards.
86298
+ */
86299
+ promoteWidgetToMaster: BigConsoleWidgetPromotion;
84888
86300
  promptBeginInvocationAttemptV2: PromptInvocationAttemptV2;
84889
86301
  promptCreateGuardrailPolicy: PromptGuardrailPolicy;
84890
86302
  promptCreateMcpServer: PromptMcpServer;
@@ -85224,6 +86636,7 @@ export type Mutation = {
85224
86636
  * see it.
85225
86637
  */
85226
86638
  publishQueueTestMessage: QueuePublishResponse;
86639
+ publishStorePackage: StorePackage;
85227
86640
  /** Publish a template (make active) */
85228
86641
  publishTemplate: BigConsoleDashboardTemplate;
85229
86642
  /** Publish a component as a reusable template (snapshots the component) */
@@ -85256,14 +86669,31 @@ export type Mutation = {
85256
86669
  /** Project an invoice/AR journal entry to global-billing-svc (reuse — no local payments store). */
85257
86670
  pushHealthyBowlJournalEntryToBilling: HealthyBowlJournalEntry;
85258
86671
  pushSecurityScanRun: SecurityScanRun;
86672
+ /**
86673
+ * Push a master's widgets to its copies. Each copy receives the widgets it lacks
86674
+ * and nothing it already has is touched. A copy is all or nothing: if a widget it
86675
+ * would receive cannot work, it is marked INCOMPATIBLE and receives nothing. With
86676
+ * ALL_UNDER the push moves down level by level, and a copy that does not take it
86677
+ * blocks the copies under it. The caller must be able to write to the master.
86678
+ */
86679
+ pushToCopies: BigConsolePushResult;
85259
86680
  /** Commit a version (the latest when version is omitted) to the linked repository. */
85260
86681
  pushWorkflowToGit: WorkflowGitPush;
85261
86682
  queueKnowledgeSource: KnowledgeSourceImport;
86683
+ /** Rate a completed run's answer; poor ratings are tuning evidence. */
86684
+ rateExecution: Execution;
85262
86685
  rateMeeting: MeetingMeta;
85263
86686
  /** Rate a template */
85264
86687
  rateTemplate: BigConsoleDashboardTemplate;
85265
86688
  /** Reactivate an archived workspace (sets status to ACTIVE) */
85266
86689
  reactivateWorkspace: Workspace;
86690
+ /**
86691
+ * Move every agent that uses `fromModelId` to `toModelId` (BOFF-12709), so the
86692
+ * old model can then be turned off or deleted. Each agent goes through the
86693
+ * normal agent update rules; agents that cannot move are listed as failures.
86694
+ * Knowledge bases cannot be moved: their vectors were built with the old model.
86695
+ */
86696
+ reassignBotmanorLLMModelAgents: BotmanorLlmReassignResult;
85267
86697
  rebuildKnowledgeBaseIndex: Scalars['Boolean']['output'];
85268
86698
  /** Recalculate now. `weeksOfHistory` is clamped to 4-104 closed weeks. */
85269
86699
  recalculateDemandForecasts: Scalars['Int']['output'];
@@ -85775,6 +87205,8 @@ export type Mutation = {
85775
87205
  * a replay still executes real nodes.
85776
87206
  */
85777
87207
  replayWorkflowRun: TriggerResponse;
87208
+ /** Reply to the customer as the operator who took the conversation over; sent in the same thread as the bot. */
87209
+ replyToHandoff: BotmanorConversationHandoff;
85778
87210
  /**
85779
87211
  * Record an agent → agent mesh edge. Called by the SOURCE agent after a
85780
87212
  * successful mesh-deploy/connect (or by an operator). Authorization: the caller
@@ -85874,6 +87306,19 @@ export type Mutation = {
85874
87306
  */
85875
87307
  requestWorkflowPromotion: WorkflowPromotionRequest;
85876
87308
  requeueFromDLQ: JobExecution;
87309
+ /**
87310
+ * Run an AGENT or APP execution again with the same input, agent and bot.
87311
+ *
87312
+ * Creates a new PENDING execution whose metadata carries `sourceExecutionId`,
87313
+ * returns it, and runs it in the background. Poll `getExecution` or subscribe to
87314
+ * `agentExecutionUpdated` for the outcome. Other execution types return
87315
+ * BAD_USER_INPUT.
87316
+ *
87317
+ * The gateway checks the `botmanor.runs.count` quota but does not record usage
87318
+ * here: the background run records one unit when it resolves, as `runExecution`
87319
+ * does, so a re-run is charged once.
87320
+ */
87321
+ rerunExecution: Execution;
85877
87322
  rescheduleBooking: Booking;
85878
87323
  /** I-6 — reschedule an existing succession series onto a new interval; only un-started children move (BOFF-6093). */
85879
87324
  rescheduleHealthyBowlSuccessionPlan: Array<PlantingPlan>;
@@ -85977,6 +87422,12 @@ export type Mutation = {
85977
87422
  respondHousingvistaOffer: HousingVistaOffer;
85978
87423
  /** Accept or decline a swap you were asked to take (Type B self, owner-filtered). */
85979
87424
  respondToCrewShiftSwap: CrewShiftSwapRequest;
87425
+ /**
87426
+ * Accept or decline a request to link a board you own under a master. Declining
87427
+ * deletes the request. Accepting checks the rules again, then does what an active
87428
+ * link does. Only the board's owner can answer.
87429
+ */
87430
+ respondToDashboardLink: BigConsoleFleetBoard;
85980
87431
  respondToEvent: EventAttendee;
85981
87432
  /**
85982
87433
  * Accept, snooze or dismiss a suggested focus block (or schedule a manual one
@@ -86007,6 +87458,13 @@ export type Mutation = {
86007
87458
  * rejected at capacity before the resolver observes that it is a no-op.
86008
87459
  */
86009
87460
  restoreDashboard: BigConsoleDashboard;
87461
+ /**
87462
+ * Put a whole board back to its original version. Every inherited widget returns to the
87463
+ * master's version, and the widgets the board removed come back. The board's own
87464
+ * widgets are left as they are. The caller must be able to write to the copy and read
87465
+ * the master.
87466
+ */
87467
+ restoreDashboardToOriginal: BigConsoleBoardRestore;
86010
87468
  /** Restore a dashboard's core fields from a stored version. */
86011
87469
  restoreDashboardVersion: BigConsoleDashboard;
86012
87470
  /** Restore deleted file */
@@ -86026,6 +87484,12 @@ export type Mutation = {
86026
87484
  restoreVaultBackup: SecretImportResult;
86027
87485
  /** Restore an archived vibe */
86028
87486
  restoreVibe: Vibe;
87487
+ /**
87488
+ * Put an inherited widget back to the master's version: its settings, data
87489
+ * bindings, actions, translations and drilldown. Where it sits on the board is kept.
87490
+ * The caller must be able to write to the copy and read the master.
87491
+ */
87492
+ restoreWidgetToOriginal: BigConsoleWidgetRestore;
86029
87493
  /** Restore the workflow file at a commit as a new DRAFT version of the same workflow. */
86030
87494
  restoreWorkflowFromGit: ImportWorkflowResponse;
86031
87495
  /** Restore a previous workflow version by creating a new DRAFT with its definitionJson */
@@ -86115,6 +87579,7 @@ export type Mutation = {
86115
87579
  /** BOFF-10614 — operator-only: verifies or rejects a PENDING payout profile. Operators cannot review their own partner profile. */
86116
87580
  reviewGgnomadAffiliatePayoutKyc: GgnomadAffiliatePayoutProfile;
86117
87581
  reviewHousingvistaRentalApplication: HousingVistaRentalApplication;
87582
+ reviewStorePackageSubmission: StorePackageSubmission;
86118
87583
  /** Certify (APPROVE) or reject a submission (super-admins only). Rejecting needs notes. */
86119
87584
  reviewTimeCampusMarketplaceSubmission: TimeCampusMarketplaceListing;
86120
87585
  /** Publish (APPROVE) or reject a version in review. Rejecting needs notes. */
@@ -86670,6 +88135,8 @@ export type Mutation = {
86670
88135
  setContinuousOptimisationEnabled: ContinuousOptimisationSettings;
86671
88136
  /** Ask for a skill on a job posting (required or nice-to-have, optional minimum proficiency). */
86672
88137
  setCrewJobPostingSkill: CrewJobPostingSkill;
88138
+ /** Mark a board as a master. It can have no linked copies yet. */
88139
+ setDashboardAsMaster: BigConsoleFleetBoard;
86673
88140
  /**
86674
88141
  * Assign (or clear, with rlsPolicyId: null) a dashboard's RLS policy. The
86675
88142
  * policy must already exist in the same workspace as the dashboard.
@@ -86738,6 +88205,8 @@ export type Mutation = {
86738
88205
  * with the current credentials.
86739
88206
  */
86740
88207
  setHrisSyncSchedule: HrisDirectorySyncSchedule;
88208
+ /** Set (or clear with null) how often a knowledge base's sources are due for review. */
88209
+ setKnowledgeBaseRefreshInterval: KnowledgeBase;
86741
88210
  /** Mark a message read or unread in a mailbox the caller owns. */
86742
88211
  setMailboxMessageRead: Scalars['Boolean']['output'];
86743
88212
  setMaintenanceChecklistItem: MaintenanceRecord;
@@ -87303,6 +88772,7 @@ export type Mutation = {
87303
88772
  submitHousingvistaOffer: HousingVistaOffer;
87304
88773
  submitHousingvistaRentalApplication: HousingVistaRentalApplication;
87305
88774
  submitMtwInspectorQualification: MtwInspectorQualification;
88775
+ submitStorePackageForReview: StorePackageSubmission;
87306
88776
  /**
87307
88777
  * Offer one of your applets to every workspace: its live, workspace-published
87308
88778
  * version goes to platform certification.
@@ -87315,6 +88785,14 @@ export type Mutation = {
87315
88785
  * Workspace ID is read from gateway context (x-workspace-id header).
87316
88786
  */
87317
88787
  subscribeProduct: SubscribedProduct;
88788
+ /**
88789
+ * Analyse the agent's recent runs and knowledge and replace its open
88790
+ * suggestions. At most one model call (the agent's own model). BotManor-initiated
88791
+ * inference: refused by the gateway once the workspace's monthly
88792
+ * `botmanor.ai.credits` are spent, then charged by real token cost when the
88793
+ * model answers. A rules-only pass is not charged.
88794
+ */
88795
+ suggestAgentImprovements: AgentSuggestionRun;
87318
88796
  /**
87319
88797
  * Propose one more node after a chosen node. Returns PROCESSING; poll
87320
88798
  * `workflowProposal(id)`.
@@ -88151,7 +89629,9 @@ export type Mutation = {
88151
89629
  /**
88152
89630
  * Twin of the deprecated `triggerBoundWorkflow` returning `BotmanorWorkflowRun`
88153
89631
  * (BOFF-9561). Same resolver, same `@rbac`, and the same `botmanor.runs.count`
88154
- * meter: a call through either spelling is one run.
89632
+ * meter: a call through either spelling is one run. The gateway checks the
89633
+ * quota; the service records one unit when a run is confirmed started, so a
89634
+ * retry with the same `idempotencyKey` is not charged twice (BOFF-15461).
88155
89635
  */
88156
89636
  triggerBotmanorBoundWorkflow: BotmanorWorkflowRun;
88157
89637
  /**
@@ -88164,6 +89644,13 @@ export type Mutation = {
88164
89644
  * Authorised as a `create` on `botlit-execution` — the mutation's own effect in
88165
89645
  * this service is exactly that row; the workflow service separately enforces
88166
89646
  * `execute` on `workflow-run` for the same actor.
89647
+ *
89648
+ * Every trigger is sent to the workflow service with an idempotency key, so a
89649
+ * trigger whose answer was lost (a timeout, a dropped connection) is never
89650
+ * recorded as FAILED: the execution stays RUNNING, the call returns
89651
+ * WORKFLOW_TRIGGER_UNCONFIRMED with `extensions.executionId`, and the
89652
+ * reconciler resolves it by the same key. Only a definite rejection fails the
89653
+ * execution. The quota is recorded once, when the run is confirmed started.
88167
89654
  * @deprecated use triggerBotmanorBoundWorkflow
88168
89655
  */
88169
89656
  triggerBoundWorkflow: BotlitWorkflowRun;
@@ -88281,8 +89768,11 @@ export type Mutation = {
88281
89768
  unpublishHealthyBowlSeedLot: SeedLot;
88282
89769
  /** Remove the batch from the public portal. The slug is retained for later republishing. */
88283
89770
  unpublishHealthyBowlTraceBatch: TraceBatch;
89771
+ unpublishStorePackage: StorePackage;
88284
89772
  /** BOFF-4375 — Type B self-on-owned-resource: owner-filtered by the calling actor; NOT_FOUND (never FORBIDDEN) if it isn't this actor's token. */
88285
89773
  unregisterGgnomadPushDevice: Scalars['Boolean']['output'];
89774
+ /** Stop treating a board as a master. Refused while it still has linked copies. */
89775
+ unsetDashboardAsMaster: BigConsoleFleetBoard;
88286
89776
  unshareVault: Scalars['Boolean']['output'];
88287
89777
  /** Unsubscribe a workspace from a product */
88288
89778
  unsubscribeProduct: Scalars['Boolean']['output'];
@@ -88513,6 +90003,10 @@ export type Mutation = {
88513
90003
  * Only `COMPLETED`, `FAILED`, `CANCELLED` and `TIMEOUT` are accepted; use
88514
90004
  * `runExecution` to transition `PENDING` → `RUNNING`. This is the billing
88515
90005
  * boundary for `botlit.runs.count` — quota is charged when the run resolves.
90006
+ *
90007
+ * Only a `PENDING` or `RUNNING` execution can be resolved. Updating one that
90008
+ * already finished returns CONFLICT (with `extensions.currentStatus`) and leaves
90009
+ * the row, its counters and the quota unchanged.
88516
90010
  */
88517
90011
  updateExecutionStatus: Execution;
88518
90012
  updateExpense: ExpenseEntry;
@@ -88889,6 +90383,7 @@ export type Mutation = {
88889
90383
  updateShipment: MtwShipment;
88890
90384
  updateSiemDestination: SiemDestinationSecretResult;
88891
90385
  updateSkill: Skill;
90386
+ updateStorePackageDraft: StorePackageSubmission;
88892
90387
  /** Update a product subscription */
88893
90388
  updateSubscribedProduct: SubscribedProduct;
88894
90389
  updateSyncSettings: ExternalCalendarSync;
@@ -89071,6 +90566,7 @@ export type Mutation = {
89071
90566
  */
89072
90567
  upsertWorkflowRunSearchAttributes: WorkflowRun;
89073
90568
  validateDocsBuildImage: VibecontrolsDocsBuildImage;
90569
+ verifyA2ARegistryEntry: A2ARegistryEntry;
89074
90570
  /** BOFF-3953 — operator-only: marks a provider verified (a PENDING provider becomes ACTIVE). Idempotent. Requires ggnomad:manage. */
89075
90571
  verifyGgnomadProvider: GgnomadProvider;
89076
90572
  /** Check the `_ggnomad-challenge` TXT record now and record the outcome. Domains are also re-checked in the background, so a removed TXT record moves the domain back to PENDING and stops serving it. */
@@ -89112,6 +90608,7 @@ export type Mutation = {
89112
90608
  withdrawGgnomadTripPlanItemIntent: GgnomadTripPlanItemIntent;
89113
90609
  withdrawHousingvistaOffer: HousingVistaOffer;
89114
90610
  withdrawRequest: TimeApprovalRequest;
90611
+ withdrawStorePackageSubmission: StorePackageSubmission;
89115
90612
  /** Take your marketplace submission back out of certification. */
89116
90613
  withdrawTimeCampusAppletFromMarketplace: TimeCampusMarketplaceListing;
89117
90614
  /** Take a version back out of review, to DRAFT. */
@@ -89433,6 +90930,13 @@ export type Mutation = {
89433
90930
  export type MutationAbortUploadArgs = {
89434
90931
  sessionId: Scalars['ID']['input'];
89435
90932
  };
90933
+ /**
90934
+ * Base Mutation type with placeholder field.
90935
+ * Extended by individual mutation files.
90936
+ */
90937
+ export type MutationAcceptAgentSuggestionArgs = {
90938
+ id: Scalars['ID']['input'];
90939
+ };
89436
90940
  /**
89437
90941
  * Base Mutation type with placeholder field.
89438
90942
  * Extended by individual mutation files.
@@ -91368,6 +92872,14 @@ export type MutationAssignGgnomadGroupTripItemArgs = {
91368
92872
  memberId?: InputMaybe<Scalars['ID']['input']>;
91369
92873
  tripPlanItemId: Scalars['ID']['input'];
91370
92874
  };
92875
+ /**
92876
+ * Base Mutation type with placeholder field.
92877
+ * Extended by individual mutation files.
92878
+ */
92879
+ export type MutationAssignHandoffArgs = {
92880
+ assigneeId: Scalars['ID']['input'];
92881
+ id: Scalars['ID']['input'];
92882
+ };
91371
92883
  /**
91372
92884
  * Base Mutation type with placeholder field.
91373
92885
  * Extended by individual mutation files.
@@ -92017,6 +93529,29 @@ export type MutationBigconsoleCreateExploreWidgetArgs = {
92017
93529
  savedQueryId: Scalars['ID']['input'];
92018
93530
  title: Scalars['String']['input'];
92019
93531
  };
93532
+ /**
93533
+ * Base Mutation type with placeholder field.
93534
+ * Extended by individual mutation files.
93535
+ */
93536
+ export type MutationBigconsoleRegisterQueryRelationArgs = {
93537
+ dataSinkId: Scalars['ID']['input'];
93538
+ input: BigConsoleQueryRelationInput;
93539
+ };
93540
+ /**
93541
+ * Base Mutation type with placeholder field.
93542
+ * Extended by individual mutation files.
93543
+ */
93544
+ export type MutationBigconsoleRemoveQueryRelationArgs = {
93545
+ dataSinkId: Scalars['ID']['input'];
93546
+ };
93547
+ /**
93548
+ * Base Mutation type with placeholder field.
93549
+ * Extended by individual mutation files.
93550
+ */
93551
+ export type MutationBigconsoleRevokeQueryGrantArgs = {
93552
+ actorId: Scalars['ID']['input'];
93553
+ dataSinkId: Scalars['ID']['input'];
93554
+ };
92020
93555
  /**
92021
93556
  * Base Mutation type with placeholder field.
92022
93557
  * Extended by individual mutation files.
@@ -92035,6 +93570,14 @@ export type MutationBigconsoleSaveExploreArgs = {
92035
93570
  name: Scalars['String']['input'];
92036
93571
  sql: Scalars['String']['input'];
92037
93572
  };
93573
+ /**
93574
+ * Base Mutation type with placeholder field.
93575
+ * Extended by individual mutation files.
93576
+ */
93577
+ export type MutationBigconsoleSetQueryGrantArgs = {
93578
+ dataSinkId: Scalars['ID']['input'];
93579
+ input: BigConsoleQueryGrantInput;
93580
+ };
92038
93581
  /**
92039
93582
  * Base Mutation type with placeholder field.
92040
93583
  * Extended by individual mutation files.
@@ -96824,6 +98367,13 @@ export type MutationCreateAgentMessageBookmarkArgs = {
96824
98367
  export type MutationCreateAgentTemplateArgs = {
96825
98368
  input: CreateAgentTemplateInput;
96826
98369
  };
98370
+ /**
98371
+ * Base Mutation type with placeholder field.
98372
+ * Extended by individual mutation files.
98373
+ */
98374
+ export type MutationCreateAgentsFromDraftArgs = {
98375
+ input: CreateAgentsFromDraftInput;
98376
+ };
96827
98377
  /**
96828
98378
  * Base Mutation type with placeholder field.
96829
98379
  * Extended by individual mutation files.
@@ -96966,6 +98516,13 @@ export type MutationCreateBookingPageArgs = {
96966
98516
  export type MutationCreateBotAppArgs = {
96967
98517
  input: CreateBotAppInput;
96968
98518
  };
98519
+ /**
98520
+ * Base Mutation type with placeholder field.
98521
+ * Extended by individual mutation files.
98522
+ */
98523
+ export type MutationCreateBotFromDraftArgs = {
98524
+ input: CreateBotFromDraftInput;
98525
+ };
96969
98526
  /**
96970
98527
  * Base Mutation type with placeholder field.
96971
98528
  * Extended by individual mutation files.
@@ -98771,6 +100328,13 @@ export type MutationCreateLegalHoldArgs = {
98771
100328
  export type MutationCreateLifeGoalArgs = {
98772
100329
  input: TimeCampusLifeGoalInput;
98773
100330
  };
100331
+ /**
100332
+ * Base Mutation type with placeholder field.
100333
+ * Extended by individual mutation files.
100334
+ */
100335
+ export type MutationCreateLinkedCopyArgs = {
100336
+ input: BigConsoleCreateLinkedCopyInput;
100337
+ };
98774
100338
  /**
98775
100339
  * Base Mutation type with placeholder field.
98776
100340
  * Extended by individual mutation files.
@@ -98918,6 +100482,13 @@ export type MutationCreatePipelineArgs = {
98918
100482
  export type MutationCreatePolicyArgs = {
98919
100483
  input: CreatePolicyInput;
98920
100484
  };
100485
+ /**
100486
+ * Base Mutation type with placeholder field.
100487
+ * Extended by individual mutation files.
100488
+ */
100489
+ export type MutationCreatePolicyBundleDraftArgs = {
100490
+ input: CreatePolicyBundleDraftInput;
100491
+ };
98921
100492
  /**
98922
100493
  * Base Mutation type with placeholder field.
98923
100494
  * Extended by individual mutation files.
@@ -99215,6 +100786,13 @@ export type MutationCreateSkillArgs = {
99215
100786
  export type MutationCreateSnapshotArgs = {
99216
100787
  input: CreateSnapshotInput;
99217
100788
  };
100789
+ /**
100790
+ * Base Mutation type with placeholder field.
100791
+ * Extended by individual mutation files.
100792
+ */
100793
+ export type MutationCreateStorePackageDraftArgs = {
100794
+ input: StorePackageDraftInput;
100795
+ };
99218
100796
  /**
99219
100797
  * Base Mutation type with placeholder field.
99220
100798
  * Extended by individual mutation files.
@@ -99783,6 +101361,15 @@ export type MutationDecideActionPolicyApprovalArgs = {
99783
101361
  approve: Scalars['Boolean']['input'];
99784
101362
  id: Scalars['ID']['input'];
99785
101363
  };
101364
+ /**
101365
+ * Base Mutation type with placeholder field.
101366
+ * Extended by individual mutation files.
101367
+ */
101368
+ export type MutationDecideBotmanorToolApprovalArgs = {
101369
+ decision: BotmanorToolApprovalDecision;
101370
+ id: Scalars['ID']['input'];
101371
+ note?: InputMaybe<Scalars['String']['input']>;
101372
+ };
99786
101373
  /**
99787
101374
  * Base Mutation type with placeholder field.
99788
101375
  * Extended by individual mutation files.
@@ -101870,6 +103457,13 @@ export type MutationDeleteSkillArgs = {
101870
103457
  export type MutationDeleteSoftwareAssetArgs = {
101871
103458
  id: Scalars['ID']['input'];
101872
103459
  };
103460
+ /**
103461
+ * Base Mutation type with placeholder field.
103462
+ * Extended by individual mutation files.
103463
+ */
103464
+ export type MutationDeleteStorePackageDraftArgs = {
103465
+ id: Scalars['ID']['input'];
103466
+ };
101873
103467
  /**
101874
103468
  * Base Mutation type with placeholder field.
101875
103469
  * Extended by individual mutation files.
@@ -102334,6 +103928,13 @@ export type MutationDetachCrewSkillArgs = {
102334
103928
  employeeId: Scalars['ID']['input'];
102335
103929
  skillId: Scalars['ID']['input'];
102336
103930
  };
103931
+ /**
103932
+ * Base Mutation type with placeholder field.
103933
+ * Extended by individual mutation files.
103934
+ */
103935
+ export type MutationDetachDashboardArgs = {
103936
+ id: Scalars['ID']['input'];
103937
+ };
102337
103938
  /**
102338
103939
  * Base Mutation type with placeholder field.
102339
103940
  * Extended by individual mutation files.
@@ -102450,6 +104051,13 @@ export type MutationDisconnectHealthyBowlAccountingIntegrationArgs = {
102450
104051
  export type MutationDisconnectTimeCampusCaptureChannelArgs = {
102451
104052
  id: Scalars['ID']['input'];
102452
104053
  };
104054
+ /**
104055
+ * Base Mutation type with placeholder field.
104056
+ * Extended by individual mutation files.
104057
+ */
104058
+ export type MutationDismissAgentSuggestionArgs = {
104059
+ id: Scalars['ID']['input'];
104060
+ };
102453
104061
  /**
102454
104062
  * Base Mutation type with placeholder field.
102455
104063
  * Extended by individual mutation files.
@@ -102567,6 +104175,13 @@ export type MutationDisposeAssetArgs = {
102567
104175
  export type MutationDownloadFolderShareFileArgs = {
102568
104176
  input: DownloadFolderShareFileInput;
102569
104177
  };
104178
+ /**
104179
+ * Base Mutation type with placeholder field.
104180
+ * Extended by individual mutation files.
104181
+ */
104182
+ export type MutationDraftBotFromDescriptionArgs = {
104183
+ input: DraftBotFromDescriptionInput;
104184
+ };
102570
104185
  /**
102571
104186
  * Base Mutation type with placeholder field.
102572
104187
  * Extended by individual mutation files.
@@ -102583,6 +104198,22 @@ export type MutationDuplicateActionArgs = {
102583
104198
  id: Scalars['ID']['input'];
102584
104199
  name: Scalars['String']['input'];
102585
104200
  };
104201
+ /**
104202
+ * Base Mutation type with placeholder field.
104203
+ * Extended by individual mutation files.
104204
+ */
104205
+ export type MutationDuplicateBotAppArgs = {
104206
+ id: Scalars['ID']['input'];
104207
+ name?: InputMaybe<Scalars['String']['input']>;
104208
+ };
104209
+ /**
104210
+ * Base Mutation type with placeholder field.
104211
+ * Extended by individual mutation files.
104212
+ */
104213
+ export type MutationDuplicateBotmanorAgentArgs = {
104214
+ id: Scalars['ID']['input'];
104215
+ name?: InputMaybe<Scalars['String']['input']>;
104216
+ };
102586
104217
  /**
102587
104218
  * Base Mutation type with placeholder field.
102588
104219
  * Extended by individual mutation files.
@@ -108884,6 +110515,13 @@ export type MutationLinkCrewEmployeeUserArgs = {
108884
110515
  employeeId: Scalars['ID']['input'];
108885
110516
  userId?: InputMaybe<Scalars['ID']['input']>;
108886
110517
  };
110518
+ /**
110519
+ * Base Mutation type with placeholder field.
110520
+ * Extended by individual mutation files.
110521
+ */
110522
+ export type MutationLinkDashboardToMasterArgs = {
110523
+ input: BigConsoleLinkDashboardInput;
110524
+ };
108887
110525
  /**
108888
110526
  * Base Mutation type with placeholder field.
108889
110527
  * Extended by individual mutation files.
@@ -109564,6 +111202,13 @@ export type MutationMarkHealthyBowlWeatherAlertHandledArgs = {
109564
111202
  context: ContextInput;
109565
111203
  id: Scalars['ID']['input'];
109566
111204
  };
111205
+ /**
111206
+ * Base Mutation type with placeholder field.
111207
+ * Extended by individual mutation files.
111208
+ */
111209
+ export type MutationMarkKnowledgeBaseReviewedArgs = {
111210
+ id: Scalars['ID']['input'];
111211
+ };
109567
111212
  /**
109568
111213
  * Base Mutation type with placeholder field.
109569
111214
  * Extended by individual mutation files.
@@ -112408,6 +114053,13 @@ export type MutationPromoteSandboxScriptRunArgs = {
112408
114053
  id: Scalars['ID']['input'];
112409
114054
  note?: InputMaybe<Scalars['String']['input']>;
112410
114055
  };
114056
+ /**
114057
+ * Base Mutation type with placeholder field.
114058
+ * Extended by individual mutation files.
114059
+ */
114060
+ export type MutationPromoteWidgetToMasterArgs = {
114061
+ widgetId: Scalars['ID']['input'];
114062
+ };
112411
114063
  /**
112412
114064
  * Base Mutation type with placeholder field.
112413
114065
  * Extended by individual mutation files.
@@ -113451,6 +115103,13 @@ export type MutationPublishMtwProcedureVersionArgs = {
113451
115103
  export type MutationPublishQueueTestMessageArgs = {
113452
115104
  input: PublishQueueTestMessageInput;
113453
115105
  };
115106
+ /**
115107
+ * Base Mutation type with placeholder field.
115108
+ * Extended by individual mutation files.
115109
+ */
115110
+ export type MutationPublishStorePackageArgs = {
115111
+ input: PublishStorePackageInput;
115112
+ };
113454
115113
  /**
113455
115114
  * Base Mutation type with placeholder field.
113456
115115
  * Extended by individual mutation files.
@@ -113526,6 +115185,13 @@ export type MutationPushHealthyBowlJournalEntryToBillingArgs = {
113526
115185
  export type MutationPushSecurityScanRunArgs = {
113527
115186
  input: PushSecurityScanRunInput;
113528
115187
  };
115188
+ /**
115189
+ * Base Mutation type with placeholder field.
115190
+ * Extended by individual mutation files.
115191
+ */
115192
+ export type MutationPushToCopiesArgs = {
115193
+ input: BigConsolePushToCopiesInput;
115194
+ };
113529
115195
  /**
113530
115196
  * Base Mutation type with placeholder field.
113531
115197
  * Extended by individual mutation files.
@@ -113541,6 +115207,14 @@ export type MutationPushWorkflowToGitArgs = {
113541
115207
  export type MutationQueueKnowledgeSourceArgs = {
113542
115208
  input: QueueKnowledgeSourceInput;
113543
115209
  };
115210
+ /**
115211
+ * Base Mutation type with placeholder field.
115212
+ * Extended by individual mutation files.
115213
+ */
115214
+ export type MutationRateExecutionArgs = {
115215
+ id: Scalars['ID']['input'];
115216
+ rating: ExecutionFeedbackRating;
115217
+ };
113544
115218
  /**
113545
115219
  * Base Mutation type with placeholder field.
113546
115220
  * Extended by individual mutation files.
@@ -113564,6 +115238,14 @@ export type MutationRateTemplateArgs = {
113564
115238
  export type MutationReactivateWorkspaceArgs = {
113565
115239
  id: Scalars['ID']['input'];
113566
115240
  };
115241
+ /**
115242
+ * Base Mutation type with placeholder field.
115243
+ * Extended by individual mutation files.
115244
+ */
115245
+ export type MutationReassignBotmanorLlmModelAgentsArgs = {
115246
+ fromModelId: Scalars['ID']['input'];
115247
+ toModelId: Scalars['ID']['input'];
115248
+ };
113567
115249
  /**
113568
115250
  * Base Mutation type with placeholder field.
113569
115251
  * Extended by individual mutation files.
@@ -115169,6 +116851,14 @@ export type MutationReplaceWorkspaceTagsArgs = {
115169
116851
  export type MutationReplayWorkflowRunArgs = {
115170
116852
  runId: Scalars['ID']['input'];
115171
116853
  };
116854
+ /**
116855
+ * Base Mutation type with placeholder field.
116856
+ * Extended by individual mutation files.
116857
+ */
116858
+ export type MutationReplyToHandoffArgs = {
116859
+ id: Scalars['ID']['input'];
116860
+ message: Scalars['String']['input'];
116861
+ };
115172
116862
  /**
115173
116863
  * Base Mutation type with placeholder field.
115174
116864
  * Extended by individual mutation files.
@@ -115315,6 +117005,13 @@ export type MutationRequestWorkflowPromotionArgs = {
115315
117005
  export type MutationRequeueFromDlqArgs = {
115316
117006
  id: Scalars['ID']['input'];
115317
117007
  };
117008
+ /**
117009
+ * Base Mutation type with placeholder field.
117010
+ * Extended by individual mutation files.
117011
+ */
117012
+ export type MutationRerunExecutionArgs = {
117013
+ id: Scalars['ID']['input'];
117014
+ };
115318
117015
  /**
115319
117016
  * Base Mutation type with placeholder field.
115320
117017
  * Extended by individual mutation files.
@@ -115578,6 +117275,14 @@ export type MutationRespondToCrewShiftSwapArgs = {
115578
117275
  accept: Scalars['Boolean']['input'];
115579
117276
  id: Scalars['ID']['input'];
115580
117277
  };
117278
+ /**
117279
+ * Base Mutation type with placeholder field.
117280
+ * Extended by individual mutation files.
117281
+ */
117282
+ export type MutationRespondToDashboardLinkArgs = {
117283
+ accept: Scalars['Boolean']['input'];
117284
+ childDashboardId: Scalars['ID']['input'];
117285
+ };
115581
117286
  /**
115582
117287
  * Base Mutation type with placeholder field.
115583
117288
  * Extended by individual mutation files.
@@ -115628,6 +117333,13 @@ export type MutationRestartWorkspaceResourceArgs = {
115628
117333
  export type MutationRestoreDashboardArgs = {
115629
117334
  id: Scalars['ID']['input'];
115630
117335
  };
117336
+ /**
117337
+ * Base Mutation type with placeholder field.
117338
+ * Extended by individual mutation files.
117339
+ */
117340
+ export type MutationRestoreDashboardToOriginalArgs = {
117341
+ dashboardId: Scalars['ID']['input'];
117342
+ };
115631
117343
  /**
115632
117344
  * Base Mutation type with placeholder field.
115633
117345
  * Extended by individual mutation files.
@@ -115716,6 +117428,13 @@ export type MutationRestoreVaultBackupArgs = {
115716
117428
  export type MutationRestoreVibeArgs = {
115717
117429
  id: Scalars['ID']['input'];
115718
117430
  };
117431
+ /**
117432
+ * Base Mutation type with placeholder field.
117433
+ * Extended by individual mutation files.
117434
+ */
117435
+ export type MutationRestoreWidgetToOriginalArgs = {
117436
+ widgetId: Scalars['ID']['input'];
117437
+ };
115719
117438
  /**
115720
117439
  * Base Mutation type with placeholder field.
115721
117440
  * Extended by individual mutation files.
@@ -115912,6 +117631,13 @@ export type MutationReviewHousingvistaRentalApplicationArgs = {
115912
117631
  id: Scalars['ID']['input'];
115913
117632
  input: HousingVistaReviewRentalApplicationInput;
115914
117633
  };
117634
+ /**
117635
+ * Base Mutation type with placeholder field.
117636
+ * Extended by individual mutation files.
117637
+ */
117638
+ export type MutationReviewStorePackageSubmissionArgs = {
117639
+ input: ReviewStorePackageSubmissionInput;
117640
+ };
115915
117641
  /**
115916
117642
  * Base Mutation type with placeholder field.
115917
117643
  * Extended by individual mutation files.
@@ -117352,6 +119078,13 @@ export type MutationSetContinuousOptimisationEnabledArgs = {
117352
119078
  export type MutationSetCrewJobPostingSkillArgs = {
117353
119079
  input: SetCrewJobPostingSkillInput;
117354
119080
  };
119081
+ /**
119082
+ * Base Mutation type with placeholder field.
119083
+ * Extended by individual mutation files.
119084
+ */
119085
+ export type MutationSetDashboardAsMasterArgs = {
119086
+ id: Scalars['ID']['input'];
119087
+ };
117355
119088
  /**
117356
119089
  * Base Mutation type with placeholder field.
117357
119090
  * Extended by individual mutation files.
@@ -117500,6 +119233,14 @@ export type MutationSetHousingvistaInvestmentEligibilityArgs = {
117500
119233
  export type MutationSetHrisSyncScheduleArgs = {
117501
119234
  input: SetHrisSyncScheduleInput;
117502
119235
  };
119236
+ /**
119237
+ * Base Mutation type with placeholder field.
119238
+ * Extended by individual mutation files.
119239
+ */
119240
+ export type MutationSetKnowledgeBaseRefreshIntervalArgs = {
119241
+ days?: InputMaybe<Scalars['Int']['input']>;
119242
+ id: Scalars['ID']['input'];
119243
+ };
117503
119244
  /**
117504
119245
  * Base Mutation type with placeholder field.
117505
119246
  * Extended by individual mutation files.
@@ -118958,6 +120699,13 @@ export type MutationSubmitHousingvistaRentalApplicationArgs = {
118958
120699
  export type MutationSubmitMtwInspectorQualificationArgs = {
118959
120700
  input: SubmitMtwInspectorQualificationInput;
118960
120701
  };
120702
+ /**
120703
+ * Base Mutation type with placeholder field.
120704
+ * Extended by individual mutation files.
120705
+ */
120706
+ export type MutationSubmitStorePackageForReviewArgs = {
120707
+ id: Scalars['ID']['input'];
120708
+ };
118961
120709
  /**
118962
120710
  * Base Mutation type with placeholder field.
118963
120711
  * Extended by individual mutation files.
@@ -118979,6 +120727,13 @@ export type MutationSubmitTimeCampusThirdPartyAppletVersionArgs = {
118979
120727
  export type MutationSubscribeProductArgs = {
118980
120728
  input: SubscribeProductInput;
118981
120729
  };
120730
+ /**
120731
+ * Base Mutation type with placeholder field.
120732
+ * Extended by individual mutation files.
120733
+ */
120734
+ export type MutationSuggestAgentImprovementsArgs = {
120735
+ agentId: Scalars['ID']['input'];
120736
+ };
118982
120737
  /**
118983
120738
  * Base Mutation type with placeholder field.
118984
120739
  * Extended by individual mutation files.
@@ -121386,6 +123141,14 @@ export type MutationUnpublishHealthyBowlTraceBatchArgs = {
121386
123141
  context: ContextInput;
121387
123142
  id: Scalars['ID']['input'];
121388
123143
  };
123144
+ /**
123145
+ * Base Mutation type with placeholder field.
123146
+ * Extended by individual mutation files.
123147
+ */
123148
+ export type MutationUnpublishStorePackageArgs = {
123149
+ id: Scalars['ID']['input'];
123150
+ reason?: InputMaybe<Scalars['String']['input']>;
123151
+ };
121389
123152
  /**
121390
123153
  * Base Mutation type with placeholder field.
121391
123154
  * Extended by individual mutation files.
@@ -121393,6 +123156,13 @@ export type MutationUnpublishHealthyBowlTraceBatchArgs = {
121393
123156
  export type MutationUnregisterGgnomadPushDeviceArgs = {
121394
123157
  deviceToken: Scalars['String']['input'];
121395
123158
  };
123159
+ /**
123160
+ * Base Mutation type with placeholder field.
123161
+ * Extended by individual mutation files.
123162
+ */
123163
+ export type MutationUnsetDashboardAsMasterArgs = {
123164
+ id: Scalars['ID']['input'];
123165
+ };
121396
123166
  /**
121397
123167
  * Base Mutation type with placeholder field.
121398
123168
  * Extended by individual mutation files.
@@ -124267,6 +126037,14 @@ export type MutationUpdateSkillArgs = {
124267
126037
  id: Scalars['ID']['input'];
124268
126038
  input: UpdateSkillInput;
124269
126039
  };
126040
+ /**
126041
+ * Base Mutation type with placeholder field.
126042
+ * Extended by individual mutation files.
126043
+ */
126044
+ export type MutationUpdateStorePackageDraftArgs = {
126045
+ id: Scalars['ID']['input'];
126046
+ input: UpdateStorePackageDraftInput;
126047
+ };
124270
126048
  /**
124271
126049
  * Base Mutation type with placeholder field.
124272
126050
  * Extended by individual mutation files.
@@ -125012,6 +126790,13 @@ export type MutationUpsertWorkflowRunSearchAttributesArgs = {
125012
126790
  export type MutationValidateDocsBuildImageArgs = {
125013
126791
  id: Scalars['ID']['input'];
125014
126792
  };
126793
+ /**
126794
+ * Base Mutation type with placeholder field.
126795
+ * Extended by individual mutation files.
126796
+ */
126797
+ export type MutationVerifyA2ARegistryEntryArgs = {
126798
+ id: Scalars['ID']['input'];
126799
+ };
125015
126800
  /**
125016
126801
  * Base Mutation type with placeholder field.
125017
126802
  * Extended by individual mutation files.
@@ -125130,6 +126915,13 @@ export type MutationWithdrawHousingvistaOfferArgs = {
125130
126915
  export type MutationWithdrawRequestArgs = {
125131
126916
  id: Scalars['ID']['input'];
125132
126917
  };
126918
+ /**
126919
+ * Base Mutation type with placeholder field.
126920
+ * Extended by individual mutation files.
126921
+ */
126922
+ export type MutationWithdrawStorePackageSubmissionArgs = {
126923
+ id: Scalars['ID']['input'];
126924
+ };
125133
126925
  /**
125134
126926
  * Base Mutation type with placeholder field.
125135
126927
  * Extended by individual mutation files.
@@ -125539,6 +127331,12 @@ export type MutationResponse = {
125539
127331
  message: Scalars['String']['output'];
125540
127332
  success: Scalars['Boolean']['output'];
125541
127333
  };
127334
+ /** How long the caller's saved assistant conversations are kept in this workspace. */
127335
+ export type MyAssistantConversationRetention = {
127336
+ __typename?: 'MyAssistantConversationRetention';
127337
+ /** Days after which a saved conversation is retired; null when no retention period applies */
127338
+ conversationRetentionDays?: Maybe<Scalars['Int']['output']>;
127339
+ };
125542
127340
  export type MyCrewShiftFilterInput = {
125543
127341
  from?: InputMaybe<Scalars['DateTime']['input']>;
125544
127342
  status?: InputMaybe<CrewShiftStatus>;
@@ -139118,6 +140916,15 @@ export type PublishQueueTestMessageInput = {
139118
140916
  groupKey?: InputMaybe<Scalars['String']['input']>;
139119
140917
  topic: Scalars['String']['input'];
139120
140918
  };
140919
+ export type PublishStorePackageInput = {
140920
+ kind: PackageKind;
140921
+ manifest: Scalars['JSON']['input'];
140922
+ metadata?: InputMaybe<Scalars['JSON']['input']>;
140923
+ readme?: InputMaybe<Scalars['String']['input']>;
140924
+ slug: Scalars['String']['input'];
140925
+ version: Scalars['String']['input'];
140926
+ workspaceId: Scalars['ID']['input'];
140927
+ };
139121
140928
  export declare enum PublishType {
139122
140929
  Builtin = "BUILTIN",
139123
140930
  Custom = "CUSTOM",
@@ -139480,6 +141287,8 @@ export type Query = {
139480
141287
  * reconnected via `adoptAgentSession`.
139481
141288
  */
139482
141289
  agentSessionOrphans: Array<AgentSessionOrphan>;
141290
+ /** Suggestions for an agent. Open ones only unless includeClosed. */
141291
+ agentSuggestions: Array<AgentSuggestion>;
139483
141292
  /**
139484
141293
  * The step-by-step trace of a run's AI Agent loops (BOFF-9936). Null when the run is not visible to
139485
141294
  * the caller.
@@ -139782,10 +141591,37 @@ export type Query = {
139782
141591
  bigconsoleEntityTags: Array<BigConsoleTagAssignment>;
139783
141592
  bigconsoleExploreHistory: Array<BigConsoleExploreRun>;
139784
141593
  bigconsoleExploreSources: Array<BigConsoleExploreSource>;
141594
+ /** Grants on one query relation. BigConsole administrators only. */
141595
+ bigconsoleQueryGrants: Array<BigConsoleQueryGrant>;
141596
+ /** Query relations registered in the request workspace. BigConsole administrators only. */
141597
+ bigconsoleQueryRelations: Array<BigConsoleQueryRelation>;
139785
141598
  bigconsoleSavedQueries: Array<BigConsoleSavedQuerySummary>;
139786
141599
  bigconsoleSavedQuery: BigConsoleSavedQuery;
139787
141600
  blockedKnowledgeCleanupJobs: Array<KnowledgeCleanupJob>;
139788
141601
  botmanorAgentApprovalSettings: BotmanorAgentApprovalSettings;
141602
+ /**
141603
+ * BOFF-15360 — ground-truth live counts for wspace-activity-svc's count
141604
+ * reconciler: one sample per reusable slot quota this service meters, with the
141605
+ * value the workspace counter should hold. Today that is
141606
+ * botmanor.mcp_servers.count (live MCP servers whose slot the gateway metered).
141607
+ * The create (+1, gateway @usage) and delete (-1, service publish) events on
141608
+ * wspace.usage.track are fire-and-forget and can be dropped, so the counter
141609
+ * drifts; the reconciler overwrites it with this value. Service and
141610
+ * super_admin actors only. The request carries no x-workspace-id, so the
141611
+ * workspace is bound from the argument.
141612
+ */
141613
+ botmanorCountMetrics: Array<BotmanorQuotaCountMetric>;
141614
+ /**
141615
+ * Constant 'botmanor:ok' when the BotManor subgraph is composed and answering.
141616
+ * Public and anonymous; carries no tenant or workspace data.
141617
+ */
141618
+ botmanorHealth: Scalars['String']['output'];
141619
+ /** Agents and knowledge bases that use this model (BOFF-12709). */
141620
+ botmanorLLMModelUsage: BotmanorLlmUsage;
141621
+ /** Agents and knowledge bases that use any model of this provider (BOFF-12709). */
141622
+ botmanorLLMProviderUsage: BotmanorLlmUsage;
141623
+ /** Number of tool calls waiting for a decision in this workspace. */
141624
+ botmanorPendingToolApprovalCount: Scalars['Int']['output'];
139789
141625
  /** Retention settings in force for the calling workspace and its last 20 passes. */
139790
141626
  botmanorRetentionStatus: BotmanorRetentionStatus;
139791
141627
  /** The calling workspace's end-of-term erasure record, if one exists. */
@@ -140242,6 +142078,7 @@ export type Query = {
140242
142078
  cargoItemsCount: Scalars['Int']['output'];
140243
142079
  changeRequest?: Maybe<ChangeRequest>;
140244
142080
  changeRequests: Array<ChangeRequest>;
142081
+ channelOverview: ChannelOverview;
140245
142082
  checkAvailability: Scalars['Boolean']['output'];
140246
142083
  /** Check if file is locked and if current user can acquire lock */
140247
142084
  checkFileLock: LockCheckResult;
@@ -140777,6 +142614,11 @@ export type Query = {
140777
142614
  */
140778
142615
  cosSemanticSearch: CosSearchResults;
140779
142616
  cosSource?: Maybe<CosSource>;
142617
+ countBuckets: Scalars['Int']['output'];
142618
+ countInstalledPackages: Scalars['Int']['output'];
142619
+ countStorePackageReviewQueue: Scalars['Int']['output'];
142620
+ countStorePackageSubmissions: Scalars['Int']['output'];
142621
+ countStorePackages: Scalars['Int']['output'];
140780
142622
  courseAssistantCandidates: Array<CourseAssistantCandidate>;
140781
142623
  courseAssistantConfiguration: CourseAssistantConfiguration;
140782
142624
  courseAssistantIngestionProgress?: Maybe<CourseAssistantIngestionProgress>;
@@ -140893,6 +142735,11 @@ export type Query = {
140893
142735
  customers: Array<MtwCustomer>;
140894
142736
  customersCount: Scalars['Int']['output'];
140895
142737
  dashboard?: Maybe<AnalyticsDashboard>;
142738
+ /**
142739
+ * The copies of a master for the Children tab, with how many are active, pending
142740
+ * and behind. Copies the caller cannot read are counted but not listed.
142741
+ */
142742
+ dashboardChildren: BigConsoleFleetChildren;
140896
142743
  dashboardMetrics: MtwDashboardMetrics;
140897
142744
  dashboardOverview: DashboardOverview;
140898
142745
  /** Active viewer roster for a dashboard the caller can read */
@@ -141330,6 +143177,18 @@ export type Query = {
141330
143177
  expenses: Array<ExpenseEntry>;
141331
143178
  /** Explain a whole dashboard: one narrative spanning every widget's bound sinks. */
141332
143179
  explainDashboard: BigConsoleNarrative;
143180
+ /**
143181
+ * Explain why a KPI card's number moved: measure the change between the two most
143182
+ * recent ingested snapshots of its DataSink, then report what the system's own
143183
+ * records say about it — business drivers (quantified when the rows allow it),
143184
+ * data incidents (failed, late, duplicated or backfilled ingestion) and definition
143185
+ * changes (parser edits, pipeline rewrites and saved dashboard versions).
143186
+ *
143187
+ * Both snapshots are read with the caller's own masking and row-level security,
143188
+ * and the same definition is applied to both, so the movement is not an artefact
143189
+ * of a definition change. Every finding carries its evidence and its confidence.
143190
+ */
143191
+ explainKpiChange: BigConsoleKpiChangeExplanation;
141333
143192
  /**
141334
143193
  * Explain why a run failed: the failing node, the cause, evidence log lines
141335
143194
  * and suggested fixes. Read-only; no model call.
@@ -141429,10 +143288,16 @@ export type Query = {
141429
143288
  getA2AConnection?: Maybe<A2AConnection>;
141430
143289
  getA2AMessage?: Maybe<A2AMessage>;
141431
143290
  getA2ARegistryEntry?: Maybe<A2ARegistryEntry>;
143291
+ getA2ARegistryEntryUsage: A2ARegistryEntryUsage;
141432
143292
  getActiveSandboxes: Array<Sandbox>;
141433
143293
  /** Get activity logs with filtering and pagination */
141434
143294
  getActivities: Array<ActivityLog>;
141435
143295
  getAgentBindings: AgentBindings;
143296
+ /**
143297
+ * Run totals for one agent, counted in the database. `startDate` (inclusive)
143298
+ * and `endDate` (exclusive) bound the runs by creation time; without them the
143299
+ * totals cover the whole history. A window may span at most 366 days.
143300
+ */
141436
143301
  getAgentStats?: Maybe<AgentStats>;
141437
143302
  /** Get logs for a task executed on an agent */
141438
143303
  getAgentTaskLogs?: Maybe<AgentTaskExecution>;
@@ -141481,6 +143346,11 @@ export type Query = {
141481
143346
  * this is not capped by pagination, so a dashboard can show real totals.
141482
143347
  */
141483
143348
  getBotAppCounts: BotAppCounts;
143349
+ /**
143350
+ * Run totals for one bot, counted in the database. `startDate` (inclusive) and
143351
+ * `endDate` (exclusive) bound the runs by creation time; without them the
143352
+ * totals cover the whole history. A window may span at most 366 days.
143353
+ */
141484
143354
  getBotAppStats?: Maybe<BotAppStats>;
141485
143355
  getBotAppVersion?: Maybe<BotAppVersion>;
141486
143356
  /** @deprecated use getBotmanorAgent */
@@ -141500,6 +143370,7 @@ export type Query = {
141500
143370
  getBotmanorAgentUsage: BotmanorAgentUsage;
141501
143371
  getBotmanorLLMModel?: Maybe<BotmanorLlmModel>;
141502
143372
  getBotmanorLLMProvider?: Maybe<BotmanorLlmProvider>;
143373
+ getBotmanorToolApproval?: Maybe<BotmanorToolApprovalRequest>;
141503
143374
  getBroaderTags: Array<UniversalTag>;
141504
143375
  getBucket?: Maybe<Bucket>;
141505
143376
  getCalendarResource?: Maybe<CalendarResource>;
@@ -141549,6 +143420,8 @@ export type Query = {
141549
143420
  getContentIndexStats: ContentIndexStats;
141550
143421
  /** Get all content indexes for a workspace */
141551
143422
  getContentIndexes: FileContentIndexList;
143423
+ /** Daily (or per-window) run statistics for the workspace, per agent or per bot. At most 5000 rows. */
143424
+ getDailyUsageStats: Array<DailyUsageStats>;
141552
143425
  /** Get a dashboard by ID */
141553
143426
  getDashboard?: Maybe<BigConsoleDashboard>;
141554
143427
  /** Get one embed policy the caller owns (owner-checked in the resolver). */
@@ -141599,6 +143472,8 @@ export type Query = {
141599
143472
  getExcludedTags: Array<UniversalTag>;
141600
143473
  getExecution?: Maybe<Execution>;
141601
143474
  getExecutionMetrics?: Maybe<ExecutionMetrics>;
143475
+ /** Totals over every execution that matches the filter (same filter as listExecutions) */
143476
+ getExecutionSummary: ExecutionSummary;
141602
143477
  getExportJob?: Maybe<ExportJob>;
141603
143478
  getExportPart?: Maybe<ExportPart>;
141604
143479
  getExportTemplate?: Maybe<ExportTemplate>;
@@ -142022,6 +143897,7 @@ export type Query = {
142022
143897
  /** @deprecated use getBotmanorLLMProvider */
142023
143898
  getLLMProvider?: Maybe<BotlitLlmProvider>;
142024
143899
  getMCPConnection?: Maybe<McpConnection>;
143900
+ getMCPConnectionUsage: McpConnectionUsage;
142025
143901
  /** Get a single metadata entry by ID */
142026
143902
  getMetadata?: Maybe<FileMetadata>;
142027
143903
  /** Get metadata by key for a specific file */
@@ -142068,6 +143944,11 @@ export type Query = {
142068
143944
  getPromptSuggestions: Array<PromptSuggestion>;
142069
143945
  getPromptTemplate?: Maybe<PromptTemplate>;
142070
143946
  getPromptTemplateBySlug?: Maybe<PromptTemplate>;
143947
+ /**
143948
+ * The agents and skills that use a template. Deleting the template detaches it
143949
+ * from all of them.
143950
+ */
143951
+ getPromptTemplateUsage: BotmanorEntityUsage;
142071
143952
  getProvider?: Maybe<IntegrationProvider>;
142072
143953
  getProviderByKey?: Maybe<IntegrationProvider>;
142073
143954
  getProviderCatalog: ProviderList;
@@ -142083,6 +143964,11 @@ export type Query = {
142083
143964
  getRelatedNoteTags: Array<UniversalTag>;
142084
143965
  getRelatedTags: Array<RelatedTagInfo>;
142085
143966
  getRetrievalProfile?: Maybe<RetrievalProfile>;
143967
+ /**
143968
+ * The agents and skills that use a profile. Deleting the profile detaches it
143969
+ * from all of them.
143970
+ */
143971
+ getRetrievalProfileUsage: BotmanorEntityUsage;
142086
143972
  getSandbox?: Maybe<Sandbox>;
142087
143973
  /**
142088
143974
  * Fetch raw artifact bytes for a sandbox session. Service-to-service entry
@@ -142151,6 +144037,8 @@ export type Query = {
142151
144037
  */
142152
144038
  getSharesForFolder: FolderShareList;
142153
144039
  getSkill?: Maybe<Skill>;
144040
+ /** The agents that use a skill. Deleting the skill detaches it from all of them. */
144041
+ getSkillUsage: BotmanorEntityUsage;
142154
144042
  /** Get starred files */
142155
144043
  getStarredFiles: FileList;
142156
144044
  /** Get starred folders */
@@ -142159,6 +144047,7 @@ export type Query = {
142159
144047
  getStorageUsage?: Maybe<StorageUsage>;
142160
144048
  getStorePackage?: Maybe<StorePackage>;
142161
144049
  getStorePackageBySlug?: Maybe<StorePackage>;
144050
+ getStorePackageSubmission?: Maybe<StorePackageSubmission>;
142162
144051
  getSyncStatus?: Maybe<ExternalCalendarSync>;
142163
144052
  getTag?: Maybe<UniversalTag>;
142164
144053
  getTagAnalytics: Array<UniversalTagAnalytics>;
@@ -142651,6 +144540,8 @@ export type Query = {
142651
144540
  handoffConfig: BotmanorHandoffConfig;
142652
144541
  /** The shared team inbox: handoffs for the calling workspace, newest first. */
142653
144542
  handoffQueue: BotmanorHandoffList;
144543
+ /** The thread of one handoff, oldest first: the customer's messages, the bot's acknowledgement and the operator's replies. */
144544
+ handoffTranscript: Array<BotmanorHandoffMessage>;
142654
144545
  /** Get an AI tool by ID */
142655
144546
  headshotmarketingAITool?: Maybe<HeadshotmarketingAiTool>;
142656
144547
  /** Get an AI tool execution by ID */
@@ -143607,6 +145498,10 @@ export type Query = {
143607
145498
  knowledgeArticle?: Maybe<KnowledgeArticle>;
143608
145499
  knowledgeArticles: Array<KnowledgeArticle>;
143609
145500
  knowledgeBackendMigration: KnowledgeBackendMigration;
145501
+ /** The vector backends this environment allows a knowledge base to migrate to. Empty when none are enabled. */
145502
+ knowledgeBackendMigrationTargets: Array<Scalars['String']['output']>;
145503
+ /** A knowledge base's backend migrations, newest first (at most 10). */
145504
+ knowledgeBackendMigrations: Array<KnowledgeBackendMigration>;
143610
145505
  knowledgeSourceImports: Array<KnowledgeSourceImport>;
143611
145506
  /** Metric cards the caller can read, across dashboards, to pick a second card. */
143612
145507
  kpiReconcilableCards: Array<BigConsoleKpiReconcilableCard>;
@@ -143739,6 +145634,7 @@ export type Query = {
143739
145634
  listBotmanorAgents: Array<BotmanorAgent>;
143740
145635
  listBotmanorLLMModels: Array<BotmanorLlmModel>;
143741
145636
  listBotmanorLLMProviders: Array<BotmanorLlmProvider>;
145637
+ listBotmanorToolApprovals: Array<BotmanorToolApprovalRequest>;
143742
145638
  listBuckets: Array<Bucket>;
143743
145639
  listChannelConnectors: Array<ChannelConnector>;
143744
145640
  listChannelRoutes: Array<ChannelRoute>;
@@ -143829,6 +145725,7 @@ export type Query = {
143829
145725
  */
143830
145726
  listSharedWithMe: BigConsoleDashboardShareConnection;
143831
145727
  listSkills: Array<Skill>;
145728
+ listStorePackageSubmissions: Array<StorePackageSubmission>;
143832
145729
  listStorePackages: Array<StorePackage>;
143833
145730
  /** List templates with filters */
143834
145731
  listTemplates: BigConsoleDashboardTemplateConnection;
@@ -144129,6 +146026,8 @@ export type Query = {
144129
146026
  myApprovalRequests: Array<TimeApprovalRequest>;
144130
146027
  /** One of my conversations. Exactly one of clientConversationId / conversationId. Default: the newest 50. */
144131
146028
  myAssistantConversationEntries: AssistantHistoryEntryConnection;
146029
+ /** The retention period that applies to the caller's saved assistant conversations. */
146030
+ myAssistantConversationRetention: MyAssistantConversationRetention;
144132
146031
  /**
144133
146032
  * My live conversations, most recently changed first. filter omitted = every live conversation, archived included (older
144134
146033
  * clients unchanged). filter given = its fields apply, and archived defaults to EXCLUDE. filter.query searches them
@@ -144515,6 +146414,11 @@ export type Query = {
144515
146414
  /** Actions waiting for an admin's approval, newest first (default 50, max 200). */
144516
146415
  pendingActionPolicyApprovals: Array<ActionPolicyApproval>;
144517
146416
  pendingApprovals: Array<TimeApprovalRequest>;
146417
+ /**
146418
+ * Link requests waiting for you to answer, newest first: boards you own that
146419
+ * someone asked to link under a master.
146420
+ */
146421
+ pendingDashboardLinks: Array<BigConsolePendingDashboardLink>;
144518
146422
  /**
144519
146423
  * Pending tool-approval requests for the caller's workspace — the approval
144520
146424
  * inbox. Ordered newest-first.
@@ -145090,6 +146994,19 @@ export type Query = {
145090
146994
  previewN8nImport: WorkflowN8nImportPreview;
145091
146995
  /** Preview what a prompt might generate. This performs AI analysis and consumes one command quota unit. */
145092
146996
  previewPromptAnalysis: PromptAnalysisPreview;
146997
+ /**
146998
+ * What a push would do, copy by copy, without writing anything. It is the same walk
146999
+ * a push does. The caller must be able to write to the master.
147000
+ */
147001
+ previewPushToCopies: BigConsolePushResult;
147002
+ /**
147003
+ * What restoring a board to its original version would do, without changing anything:
147004
+ * how many edited widgets would go back to the master's version, how many master
147005
+ * widgets would be added back, and how many of the board's own widgets would stay.
147006
+ * The counts are the ones restoreDashboardToOriginal reports. The caller must be able
147007
+ * to write to the copy and read the master.
147008
+ */
147009
+ previewRestoreDashboardToOriginal: BigConsoleBoardRestorePreview;
145093
147010
  previewSchedule: SchedulePreview;
145094
147011
  /** Preview smart collection results without creating */
145095
147012
  previewSmartCollection: CollectionItemList;
@@ -145513,6 +147430,11 @@ export type Query = {
145513
147430
  searchGroups: Array<Group>;
145514
147431
  searchGroupsConnection: GroupConnection;
145515
147432
  searchIntelwatchtowerTags: Array<IntAvailableTag>;
147433
+ /**
147434
+ * Ranked passages for a query, for curators to validate retrieval. With
147435
+ * `retrievalProfileId`, the profile's strategy, top-K and relevance threshold
147436
+ * apply, exactly as for an agent bound to it.
147437
+ */
145516
147438
  searchKnowledge: Array<KnowledgeChunk>;
145517
147439
  searchMessages: MessageConnection;
145518
147440
  /** Search metadata across workspace */
@@ -145673,6 +147595,7 @@ export type Query = {
145673
147595
  shippingQuotes: MtwShippingQuoteResult;
145674
147596
  siemDestinations: Array<SiemDestination>;
145675
147597
  softwareAssets: Array<SoftwareAsset>;
147598
+ storePackageReviewQueue: Array<StorePackageSubmission>;
145676
147599
  /** Negotiation desk queue: managed requests across all workspaces. Super admin only. */
145677
147600
  subAdminListNegotiations: SubNegotiationConnection;
145678
147601
  /** Procurement expert roster with current load. Super admin only. */
@@ -146629,6 +148552,7 @@ export type Query = {
146629
148552
  validateInviteLink: InviteLinkInfo;
146630
148553
  /** Validate a share link (public - for join page, requires login) */
146631
148554
  validateShareLink: ShareLinkValidation;
148555
+ validateStorePackage: StorePackageValidation;
146632
148556
  validateTagAssignment: TagAssignmentValidation;
146633
148557
  /** Validate a manifest without saving it. */
146634
148558
  validateTimeCampusAppletManifest: TimeCampusAppletManifestValidation;
@@ -146805,6 +148729,11 @@ export type Query = {
146805
148729
  vibes: VibeList;
146806
148730
  /** Get visibility rules for a resource */
146807
148731
  visibilityRules: Array<VisibilityRule>;
148732
+ /**
148733
+ * List the active visibility rules of a scope's active resources with bounded offset metadata, highest priority
148734
+ * first, each with the resource it applies to. Use it for a "who can see it" view across resources.
148735
+ */
148736
+ visibilityRulesPage: VisibilityRulePage;
146808
148737
  waitForAssistantReady: AssistantReadiness;
146809
148738
  waitForSandboxRunning?: Maybe<Sandbox>;
146810
148739
  warehouse?: Maybe<MtwWarehouse>;
@@ -147847,6 +149776,14 @@ export type QueryAgentSecurityScanProxyArgs = {
147847
149776
  export type QueryAgentSessionOrphansArgs = {
147848
149777
  agentId: Scalars['ID']['input'];
147849
149778
  };
149779
+ /**
149780
+ * Base Query type with placeholder field.
149781
+ * Extended by individual query files.
149782
+ */
149783
+ export type QueryAgentSuggestionsArgs = {
149784
+ agentId: Scalars['ID']['input'];
149785
+ includeClosed?: InputMaybe<Scalars['Boolean']['input']>;
149786
+ };
147850
149787
  /**
147851
149788
  * Base Query type with placeholder field.
147852
149789
  * Extended by individual query files.
@@ -148884,6 +150821,13 @@ export type QueryBigconsoleAskArgs = {
148884
150821
  export type QueryBigconsoleEntityTagsArgs = {
148885
150822
  input: GetBigConsoleEntityTagsInput;
148886
150823
  };
150824
+ /**
150825
+ * Base Query type with placeholder field.
150826
+ * Extended by individual query files.
150827
+ */
150828
+ export type QueryBigconsoleQueryGrantsArgs = {
150829
+ dataSinkId: Scalars['ID']['input'];
150830
+ };
148887
150831
  /**
148888
150832
  * Base Query type with placeholder field.
148889
150833
  * Extended by individual query files.
@@ -148899,6 +150843,27 @@ export type QueryBlockedKnowledgeCleanupJobsArgs = {
148899
150843
  kind: KnowledgeCleanupKind;
148900
150844
  limit?: InputMaybe<Scalars['Int']['input']>;
148901
150845
  };
150846
+ /**
150847
+ * Base Query type with placeholder field.
150848
+ * Extended by individual query files.
150849
+ */
150850
+ export type QueryBotmanorCountMetricsArgs = {
150851
+ workspaceId: Scalars['ID']['input'];
150852
+ };
150853
+ /**
150854
+ * Base Query type with placeholder field.
150855
+ * Extended by individual query files.
150856
+ */
150857
+ export type QueryBotmanorLlmModelUsageArgs = {
150858
+ id: Scalars['ID']['input'];
150859
+ };
150860
+ /**
150861
+ * Base Query type with placeholder field.
150862
+ * Extended by individual query files.
150863
+ */
150864
+ export type QueryBotmanorLlmProviderUsageArgs = {
150865
+ id: Scalars['ID']['input'];
150866
+ };
148902
150867
  /**
148903
150868
  * Base Query type with placeholder field.
148904
150869
  * Extended by individual query files.
@@ -151602,6 +153567,34 @@ export type QueryCosSemanticSearchArgs = {
151602
153567
  export type QueryCosSourceArgs = {
151603
153568
  id: Scalars['ID']['input'];
151604
153569
  };
153570
+ /**
153571
+ * Base Query type with placeholder field.
153572
+ * Extended by individual query files.
153573
+ */
153574
+ export type QueryCountBucketsArgs = {
153575
+ filters?: InputMaybe<BucketFilterInput>;
153576
+ };
153577
+ /**
153578
+ * Base Query type with placeholder field.
153579
+ * Extended by individual query files.
153580
+ */
153581
+ export type QueryCountInstalledPackagesArgs = {
153582
+ filters: InstalledPackageFilterInput;
153583
+ };
153584
+ /**
153585
+ * Base Query type with placeholder field.
153586
+ * Extended by individual query files.
153587
+ */
153588
+ export type QueryCountStorePackageSubmissionsArgs = {
153589
+ filters: StorePackageSubmissionFilterInput;
153590
+ };
153591
+ /**
153592
+ * Base Query type with placeholder field.
153593
+ * Extended by individual query files.
153594
+ */
153595
+ export type QueryCountStorePackagesArgs = {
153596
+ filters?: InputMaybe<StorePackageFilterInput>;
153597
+ };
151605
153598
  /**
151606
153599
  * Base Query type with placeholder field.
151607
153600
  * Extended by individual query files.
@@ -152138,6 +154131,13 @@ export type QueryCustomersCountArgs = {
152138
154131
  export type QueryDashboardArgs = {
152139
154132
  id: Scalars['ID']['input'];
152140
154133
  };
154134
+ /**
154135
+ * Base Query type with placeholder field.
154136
+ * Extended by individual query files.
154137
+ */
154138
+ export type QueryDashboardChildrenArgs = {
154139
+ masterDashboardId: Scalars['ID']['input'];
154140
+ };
152141
154141
  /**
152142
154142
  * Base Query type with placeholder field.
152143
154143
  * Extended by individual query files.
@@ -153867,6 +155867,14 @@ export type QueryExpensesArgs = {
153867
155867
  export type QueryExplainDashboardArgs = {
153868
155868
  dashboardId: Scalars['ID']['input'];
153869
155869
  };
155870
+ /**
155871
+ * Base Query type with placeholder field.
155872
+ * Extended by individual query files.
155873
+ */
155874
+ export type QueryExplainKpiChangeArgs = {
155875
+ input?: InputMaybe<BigConsoleKpiChangeInput>;
155876
+ widgetId: Scalars['ID']['input'];
155877
+ };
153870
155878
  /**
153871
155879
  * Base Query type with placeholder field.
153872
155880
  * Extended by individual query files.
@@ -154103,6 +156111,13 @@ export type QueryGetA2AMessageArgs = {
154103
156111
  export type QueryGetA2ARegistryEntryArgs = {
154104
156112
  id: Scalars['ID']['input'];
154105
156113
  };
156114
+ /**
156115
+ * Base Query type with placeholder field.
156116
+ * Extended by individual query files.
156117
+ */
156118
+ export type QueryGetA2ARegistryEntryUsageArgs = {
156119
+ id: Scalars['ID']['input'];
156120
+ };
154106
156121
  /**
154107
156122
  * Base Query type with placeholder field.
154108
156123
  * Extended by individual query files.
@@ -154130,6 +156145,8 @@ export type QueryGetAgentBindingsArgs = {
154130
156145
  */
154131
156146
  export type QueryGetAgentStatsArgs = {
154132
156147
  agentId: Scalars['ID']['input'];
156148
+ endDate?: InputMaybe<Scalars['DateTime']['input']>;
156149
+ startDate?: InputMaybe<Scalars['DateTime']['input']>;
154133
156150
  };
154134
156151
  /**
154135
156152
  * Base Query type with placeholder field.
@@ -154323,6 +156340,8 @@ export type QueryGetBotAppArgs = {
154323
156340
  */
154324
156341
  export type QueryGetBotAppStatsArgs = {
154325
156342
  botAppId: Scalars['ID']['input'];
156343
+ endDate?: InputMaybe<Scalars['DateTime']['input']>;
156344
+ startDate?: InputMaybe<Scalars['DateTime']['input']>;
154326
156345
  };
154327
156346
  /**
154328
156347
  * Base Query type with placeholder field.
@@ -154373,6 +156392,13 @@ export type QueryGetBotmanorLlmModelArgs = {
154373
156392
  export type QueryGetBotmanorLlmProviderArgs = {
154374
156393
  id: Scalars['ID']['input'];
154375
156394
  };
156395
+ /**
156396
+ * Base Query type with placeholder field.
156397
+ * Extended by individual query files.
156398
+ */
156399
+ export type QueryGetBotmanorToolApprovalArgs = {
156400
+ id: Scalars['ID']['input'];
156401
+ };
154376
156402
  /**
154377
156403
  * Base Query type with placeholder field.
154378
156404
  * Extended by individual query files.
@@ -154550,6 +156576,13 @@ export type QueryGetContentIndexesArgs = {
154550
156576
  filter?: InputMaybe<ContentIndexFilterInput>;
154551
156577
  pagination?: InputMaybe<PaginationInput>;
154552
156578
  };
156579
+ /**
156580
+ * Base Query type with placeholder field.
156581
+ * Extended by individual query files.
156582
+ */
156583
+ export type QueryGetDailyUsageStatsArgs = {
156584
+ filter?: InputMaybe<DailyUsageStatsFilterInput>;
156585
+ };
154553
156586
  /**
154554
156587
  * Base Query type with placeholder field.
154555
156588
  * Extended by individual query files.
@@ -154763,6 +156796,13 @@ export type QueryGetExecutionArgs = {
154763
156796
  export type QueryGetExecutionMetricsArgs = {
154764
156797
  filter: ExecutionMetricsFilterInput;
154765
156798
  };
156799
+ /**
156800
+ * Base Query type with placeholder field.
156801
+ * Extended by individual query files.
156802
+ */
156803
+ export type QueryGetExecutionSummaryArgs = {
156804
+ filters?: InputMaybe<ExecutionFilterInput>;
156805
+ };
154766
156806
  /**
154767
156807
  * Base Query type with placeholder field.
154768
156808
  * Extended by individual query files.
@@ -156490,6 +158530,13 @@ export type QueryGetLlmProviderArgs = {
156490
158530
  export type QueryGetMcpConnectionArgs = {
156491
158531
  id: Scalars['ID']['input'];
156492
158532
  };
158533
+ /**
158534
+ * Base Query type with placeholder field.
158535
+ * Extended by individual query files.
158536
+ */
158537
+ export type QueryGetMcpConnectionUsageArgs = {
158538
+ id: Scalars['ID']['input'];
158539
+ };
156493
158540
  /**
156494
158541
  * Base Query type with placeholder field.
156495
158542
  * Extended by individual query files.
@@ -156663,6 +158710,13 @@ export type QueryGetPromptTemplateBySlugArgs = {
156663
158710
  slug: Scalars['String']['input'];
156664
158711
  workspaceId: Scalars['ID']['input'];
156665
158712
  };
158713
+ /**
158714
+ * Base Query type with placeholder field.
158715
+ * Extended by individual query files.
158716
+ */
158717
+ export type QueryGetPromptTemplateUsageArgs = {
158718
+ id: Scalars['ID']['input'];
158719
+ };
156666
158720
  /**
156667
158721
  * Base Query type with placeholder field.
156668
158722
  * Extended by individual query files.
@@ -156758,6 +158812,13 @@ export type QueryGetRelatedTagsArgs = {
156758
158812
  export type QueryGetRetrievalProfileArgs = {
156759
158813
  id: Scalars['ID']['input'];
156760
158814
  };
158815
+ /**
158816
+ * Base Query type with placeholder field.
158817
+ * Extended by individual query files.
158818
+ */
158819
+ export type QueryGetRetrievalProfileUsageArgs = {
158820
+ id: Scalars['ID']['input'];
158821
+ };
156761
158822
  /**
156762
158823
  * Base Query type with placeholder field.
156763
158824
  * Extended by individual query files.
@@ -156966,6 +159027,13 @@ export type QueryGetSharesForFolderArgs = {
156966
159027
  export type QueryGetSkillArgs = {
156967
159028
  id: Scalars['ID']['input'];
156968
159029
  };
159030
+ /**
159031
+ * Base Query type with placeholder field.
159032
+ * Extended by individual query files.
159033
+ */
159034
+ export type QueryGetSkillUsageArgs = {
159035
+ id: Scalars['ID']['input'];
159036
+ };
156969
159037
  /**
156970
159038
  * Base Query type with placeholder field.
156971
159039
  * Extended by individual query files.
@@ -156994,6 +159062,13 @@ export type QueryGetStorePackageArgs = {
156994
159062
  export type QueryGetStorePackageBySlugArgs = {
156995
159063
  slug: Scalars['String']['input'];
156996
159064
  };
159065
+ /**
159066
+ * Base Query type with placeholder field.
159067
+ * Extended by individual query files.
159068
+ */
159069
+ export type QueryGetStorePackageSubmissionArgs = {
159070
+ id: Scalars['ID']['input'];
159071
+ };
156997
159072
  /**
156998
159073
  * Base Query type with placeholder field.
156999
159074
  * Extended by individual query files.
@@ -158696,6 +160771,13 @@ export type QueryHandoffQueueArgs = {
158696
160771
  pagination?: InputMaybe<PaginationInput>;
158697
160772
  statuses?: InputMaybe<Array<BotmanorHandoffStatus>>;
158698
160773
  };
160774
+ /**
160775
+ * Base Query type with placeholder field.
160776
+ * Extended by individual query files.
160777
+ */
160778
+ export type QueryHandoffTranscriptArgs = {
160779
+ id: Scalars['ID']['input'];
160780
+ };
158699
160781
  /**
158700
160782
  * Base Query type with placeholder field.
158701
160783
  * Extended by individual query files.
@@ -161552,6 +163634,13 @@ export type QueryKnowledgeArticlesArgs = {
161552
163634
  export type QueryKnowledgeBackendMigrationArgs = {
161553
163635
  id: Scalars['ID']['input'];
161554
163636
  };
163637
+ /**
163638
+ * Base Query type with placeholder field.
163639
+ * Extended by individual query files.
163640
+ */
163641
+ export type QueryKnowledgeBackendMigrationsArgs = {
163642
+ knowledgeBaseId: Scalars['ID']['input'];
163643
+ };
161555
163644
  /**
161556
163645
  * Base Query type with placeholder field.
161557
163646
  * Extended by individual query files.
@@ -161917,6 +164006,14 @@ export type QueryListBotmanorLlmProvidersArgs = {
161917
164006
  filters?: InputMaybe<BotmanorLlmProviderFilterInput>;
161918
164007
  pagination?: InputMaybe<PaginationInput>;
161919
164008
  };
164009
+ /**
164010
+ * Base Query type with placeholder field.
164011
+ * Extended by individual query files.
164012
+ */
164013
+ export type QueryListBotmanorToolApprovalsArgs = {
164014
+ filter?: InputMaybe<BotmanorToolApprovalFilterInput>;
164015
+ pagination?: InputMaybe<PaginationInput>;
164016
+ };
161920
164017
  /**
161921
164018
  * Base Query type with placeholder field.
161922
164019
  * Extended by individual query files.
@@ -162313,6 +164410,14 @@ export type QueryListSkillsArgs = {
162313
164410
  filters?: InputMaybe<SkillFilterInput>;
162314
164411
  pagination?: InputMaybe<PaginationInput>;
162315
164412
  };
164413
+ /**
164414
+ * Base Query type with placeholder field.
164415
+ * Extended by individual query files.
164416
+ */
164417
+ export type QueryListStorePackageSubmissionsArgs = {
164418
+ filters: StorePackageSubmissionFilterInput;
164419
+ pagination?: InputMaybe<PaginationInput>;
164420
+ };
162316
164421
  /**
162317
164422
  * Base Query type with placeholder field.
162318
164423
  * Extended by individual query files.
@@ -162320,6 +164425,7 @@ export type QueryListSkillsArgs = {
162320
164425
  export type QueryListStorePackagesArgs = {
162321
164426
  filters?: InputMaybe<StorePackageFilterInput>;
162322
164427
  pagination?: InputMaybe<PaginationInput>;
164428
+ sort?: InputMaybe<StorePackageSort>;
162323
164429
  };
162324
164430
  /**
162325
164431
  * Base Query type with placeholder field.
@@ -165858,6 +167964,20 @@ export type QueryPreviewN8nImportArgs = {
165858
167964
  export type QueryPreviewPromptAnalysisArgs = {
165859
167965
  prompt: Scalars['String']['input'];
165860
167966
  };
167967
+ /**
167968
+ * Base Query type with placeholder field.
167969
+ * Extended by individual query files.
167970
+ */
167971
+ export type QueryPreviewPushToCopiesArgs = {
167972
+ input: BigConsolePushToCopiesInput;
167973
+ };
167974
+ /**
167975
+ * Base Query type with placeholder field.
167976
+ * Extended by individual query files.
167977
+ */
167978
+ export type QueryPreviewRestoreDashboardToOriginalArgs = {
167979
+ dashboardId: Scalars['ID']['input'];
167980
+ };
165861
167981
  /**
165862
167982
  * Base Query type with placeholder field.
165863
167983
  * Extended by individual query files.
@@ -167348,6 +169468,7 @@ export type QuerySearchIntelwatchtowerTagsArgs = {
167348
169468
  export type QuerySearchKnowledgeArgs = {
167349
169469
  knowledgeBaseId: Scalars['ID']['input'];
167350
169470
  query: Scalars['String']['input'];
169471
+ retrievalProfileId?: InputMaybe<Scalars['ID']['input']>;
167351
169472
  topK?: InputMaybe<Scalars['Int']['input']>;
167352
169473
  };
167353
169474
  /**
@@ -167897,6 +170018,13 @@ export type QuerySiemDestinationsArgs = {
167897
170018
  export type QuerySoftwareAssetsArgs = {
167898
170019
  pagination?: InputMaybe<AssetHandlerPaginationInput>;
167899
170020
  };
170021
+ /**
170022
+ * Base Query type with placeholder field.
170023
+ * Extended by individual query files.
170024
+ */
170025
+ export type QueryStorePackageReviewQueueArgs = {
170026
+ pagination?: InputMaybe<PaginationInput>;
170027
+ };
167900
170028
  /**
167901
170029
  * Base Query type with placeholder field.
167902
170030
  * Extended by individual query files.
@@ -170253,6 +172381,13 @@ export type QueryValidateInviteLinkArgs = {
170253
172381
  export type QueryValidateShareLinkArgs = {
170254
172382
  token: Scalars['String']['input'];
170255
172383
  };
172384
+ /**
172385
+ * Base Query type with placeholder field.
172386
+ * Extended by individual query files.
172387
+ */
172388
+ export type QueryValidateStorePackageArgs = {
172389
+ input: StorePackageDraftInput;
172390
+ };
170256
172391
  /**
170257
172392
  * Base Query type with placeholder field.
170258
172393
  * Extended by individual query files.
@@ -170645,6 +172780,15 @@ export type QueryVisibilityRulesArgs = {
170645
172780
  resourceType: Scalars['String']['input'];
170646
172781
  scopeId: Scalars['String']['input'];
170647
172782
  };
172783
+ /**
172784
+ * Base Query type with placeholder field.
172785
+ * Extended by individual query files.
172786
+ */
172787
+ export type QueryVisibilityRulesPageArgs = {
172788
+ filter?: InputMaybe<VisibilityRuleFilterInput>;
172789
+ pagination?: InputMaybe<PaginationInput>;
172790
+ scopeId: Scalars['String']['input'];
172791
+ };
170648
172792
  /**
170649
172793
  * Base Query type with placeholder field.
170650
172794
  * Extended by individual query files.
@@ -171828,29 +173972,62 @@ export declare enum RsvpStatus {
171828
173972
  NoResponse = "NO_RESPONSE",
171829
173973
  Tentative = "TENTATIVE"
171830
173974
  }
171831
- /** RBAC analytics summary */
173975
+ /**
173976
+ * RBAC analytics summary.
173977
+ *
173978
+ * Every denied permission check is recorded, but only a sample of allowed checks is
173979
+ * (see allowSampleRate). Counts that involve allowed checks are therefore
173980
+ * estimates: each recorded allow counts as 1 / allowSampleRate checks.
173981
+ * allowedChecksEstimated says when that applies. Denied counts are always exact.
173982
+ *
173983
+ * Limitation: audit records do not store the rate they were recorded at, so the
173984
+ * whole period is weighted with the current rate. If the rate is ever changed, a
173985
+ * period recorded under the old rate is weighted wrongly.
173986
+ */
171832
173987
  export type RbacAnalytics = {
171833
173988
  __typename?: 'RbacAnalytics';
171834
- /** Permission checks that were allowed */
173989
+ /** Roles with at least one holder: an active, unexpired assignment, workspace-wide or for one resource */
173990
+ activeRoles: Scalars['Int']['output'];
173991
+ /**
173992
+ * Share of allowed checks this service records (0-1): the setting the sampler itself reads. Each recorded allow counts as
173993
+ * 1 / allowSampleRate checks, applied to the whole period. 0 means allowed checks are not recorded at all, so
173994
+ * allowedChecks only reflects older records, weighted at the 0.05 default. Denied checks are always recorded.
173995
+ */
173996
+ allowSampleRate: Scalars['Float']['output'];
173997
+ /** Allowed permission checks in the period, estimated from the recorded sample when allowedChecksEstimated is true */
171835
173998
  allowedChecks: Scalars['Int']['output'];
171836
- /** Approval rate (0-100) */
173999
+ /**
174000
+ * True while allowed checks are sampled (allowSampleRate below 1): totalChecks, allowedChecks, approvalRate, topActions
174001
+ * and topActors are then estimated from the sample. deniedChecks, topDeniedActions and topDenials are always exact.
174002
+ */
174003
+ allowedChecksEstimated: Scalars['Boolean']['output'];
174004
+ /** Share of checks that were allowed (0-100), allowedChecks / totalChecks */
171837
174005
  approvalRate: Scalars['Float']['output'];
171838
- /** Permission checks that were denied */
174006
+ /** Denied permission checks in the period. Exact: every denied check is recorded. */
171839
174007
  deniedChecks: Scalars['Int']['output'];
174008
+ /** Allowed checks actually recorded in the audit log in the period: the sample allowedChecks is estimated from */
174009
+ recordedAllowedChecks: Scalars['Int']['output'];
171840
174010
  scopeId: Scalars['String']['output'];
171841
- /** Most checked permission actions */
174011
+ /** Most checked permission actions, by estimated check count (allowed and denied) */
171842
174012
  topActions: Array<ActionCount>;
171843
- /** Most active actors */
174013
+ /** Most active actors, by estimated check count (allowed and denied) */
171844
174014
  topActors: Array<ActorCount>;
171845
- /** Total role assignments in scope */
174015
+ /**
174016
+ * The actor and action pairs denied most often in the period, by exact count. A denial that repeats usually means
174017
+ * someone needs access.
174018
+ */
174019
+ topDenials: Array<DenialCount>;
174020
+ /** Most denied permission actions, by exact denied count */
174021
+ topDeniedActions: Array<ActionCount>;
174022
+ /** Role assignments in force: active and not expired */
171846
174023
  totalAssignments: Scalars['Int']['output'];
171847
- /** Total permission checks in the period */
174024
+ /** Permission checks in the period: allowedChecks + deniedChecks. An estimate when allowedChecksEstimated is true. */
171848
174025
  totalChecks: Scalars['Int']['output'];
171849
- /** Total permission overrides in scope */
174026
+ /** Permission overrides in force: not expired and inside their valid-from / valid-until window */
171850
174027
  totalOverrides: Scalars['Int']['output'];
171851
174028
  /** Total registered resources in scope */
171852
174029
  totalResources: Scalars['Int']['output'];
171853
- /** Total roles in scope */
174030
+ /** Every role in the scope, whether or not anyone holds it */
171854
174031
  totalRoles: Scalars['Int']['output'];
171855
174032
  /** Total visibility rules in scope */
171856
174033
  totalVisibilityRules: Scalars['Int']['output'];
@@ -173800,6 +175977,11 @@ export type ReverseHealthyBowlSettlementTransactionInput = {
173800
175977
  /** Why it is reversed (required, at most 500 characters). Kept on the reversal entry. */
173801
175978
  reason: Scalars['String']['input'];
173802
175979
  };
175980
+ export type ReviewStorePackageSubmissionInput = {
175981
+ decision: StoreReviewDecision;
175982
+ note?: InputMaybe<Scalars['String']['input']>;
175983
+ submissionId: Scalars['ID']['input'];
175984
+ };
173803
175985
  export type RevokeMtwInspectorQualificationInput = {
173804
175986
  expectedVersion: Scalars['Int']['input'];
173805
175987
  idempotencyKey: Scalars['String']['input'];
@@ -178386,10 +180568,14 @@ export type SemUpdateQueryInput = {
178386
180568
  export type SendA2AMessageInput = {
178387
180569
  connectionId?: InputMaybe<Scalars['ID']['input']>;
178388
180570
  content: Scalars['String']['input'];
180571
+ /** BOFF-15360 — a repeated send with the same key returns the first message */
180572
+ idempotencyKey?: InputMaybe<Scalars['String']['input']>;
178389
180573
  metadata?: InputMaybe<Scalars['JSON']['input']>;
178390
180574
  priority?: InputMaybe<A2AMessagePriority>;
178391
180575
  senderAgentId: Scalars['ID']['input'];
178392
180576
  targetAgentId: Scalars['ID']['input'];
180577
+ /** BOFF-15360 — seconds before the message fails as timed out (30-3600, default 600) */
180578
+ timeoutSeconds?: InputMaybe<Scalars['Int']['input']>;
178393
180579
  workspaceId: Scalars['ID']['input'];
178394
180580
  };
178395
180581
  /** Input for sending a message to an external channel */
@@ -180287,22 +182473,95 @@ export type StoreOrder = {
180287
182473
  export type StorePackage = {
180288
182474
  __typename?: 'StorePackage';
180289
182475
  createdAt: Scalars['DateTime']['output'];
182476
+ displayName: Scalars['String']['output'];
180290
182477
  id: Scalars['ID']['output'];
180291
182478
  kind: PackageKind;
182479
+ listingStatus: StorePackageListingStatus;
180292
182480
  manifest: Scalars['JSON']['output'];
180293
182481
  metadata?: Maybe<Scalars['JSON']['output']>;
182482
+ ownedByCurrentWorkspace: Scalars['Boolean']['output'];
180294
182483
  publishedAt?: Maybe<Scalars['DateTime']['output']>;
180295
182484
  publishedBy?: Maybe<Scalars['ID']['output']>;
180296
182485
  readme?: Maybe<Scalars['String']['output']>;
180297
182486
  slug: Scalars['String']['output'];
182487
+ unpublishReason?: Maybe<Scalars['String']['output']>;
182488
+ unpublishedAt?: Maybe<Scalars['DateTime']['output']>;
180298
182489
  updatedAt: Scalars['DateTime']['output'];
180299
182490
  version: Scalars['String']['output'];
180300
182491
  };
182492
+ export type StorePackageDraftInput = {
182493
+ kind: PackageKind;
182494
+ manifest: Scalars['JSON']['input'];
182495
+ metadata?: InputMaybe<Scalars['JSON']['input']>;
182496
+ readme?: InputMaybe<Scalars['String']['input']>;
182497
+ slug: Scalars['String']['input'];
182498
+ version: Scalars['String']['input'];
182499
+ workspaceId: Scalars['ID']['input'];
182500
+ };
180301
182501
  export type StorePackageFilterInput = {
180302
182502
  kind?: InputMaybe<PackageKind>;
182503
+ kinds?: InputMaybe<Array<PackageKind>>;
182504
+ mine?: InputMaybe<Scalars['Boolean']['input']>;
180303
182505
  publishedBy?: InputMaybe<Scalars['ID']['input']>;
180304
182506
  search?: InputMaybe<Scalars['String']['input']>;
180305
182507
  };
182508
+ export declare enum StorePackageListingStatus {
182509
+ Published = "PUBLISHED",
182510
+ Unpublished = "UNPUBLISHED"
182511
+ }
182512
+ export declare enum StorePackageSort {
182513
+ Name = "NAME",
182514
+ Recent = "RECENT"
182515
+ }
182516
+ export type StorePackageSubmission = {
182517
+ __typename?: 'StorePackageSubmission';
182518
+ createdAt: Scalars['DateTime']['output'];
182519
+ createdBy: Scalars['ID']['output'];
182520
+ id: Scalars['ID']['output'];
182521
+ kind: PackageKind;
182522
+ manifest: Scalars['JSON']['output'];
182523
+ metadata?: Maybe<Scalars['JSON']['output']>;
182524
+ package?: Maybe<StorePackage>;
182525
+ packageId?: Maybe<Scalars['ID']['output']>;
182526
+ publishedAt?: Maybe<Scalars['DateTime']['output']>;
182527
+ readme?: Maybe<Scalars['String']['output']>;
182528
+ reviewNote?: Maybe<Scalars['String']['output']>;
182529
+ reviewedAt?: Maybe<Scalars['DateTime']['output']>;
182530
+ reviewedBy?: Maybe<Scalars['ID']['output']>;
182531
+ slug: Scalars['String']['output'];
182532
+ status: StorePackageSubmissionStatus;
182533
+ submittedAt?: Maybe<Scalars['DateTime']['output']>;
182534
+ submittedBy?: Maybe<Scalars['ID']['output']>;
182535
+ updatedAt: Scalars['DateTime']['output'];
182536
+ validation?: Maybe<StorePackageValidation>;
182537
+ version: Scalars['String']['output'];
182538
+ workspaceId: Scalars['ID']['output'];
182539
+ };
182540
+ export type StorePackageSubmissionFilterInput = {
182541
+ kind?: InputMaybe<PackageKind>;
182542
+ search?: InputMaybe<Scalars['String']['input']>;
182543
+ status?: InputMaybe<StorePackageSubmissionStatus>;
182544
+ workspaceId: Scalars['ID']['input'];
182545
+ };
182546
+ export declare enum StorePackageSubmissionStatus {
182547
+ Draft = "DRAFT",
182548
+ InReview = "IN_REVIEW",
182549
+ Published = "PUBLISHED",
182550
+ Rejected = "REJECTED",
182551
+ Withdrawn = "WITHDRAWN"
182552
+ }
182553
+ export type StorePackageValidation = {
182554
+ __typename?: 'StorePackageValidation';
182555
+ errors: Array<StorePackageValidationIssue>;
182556
+ valid: Scalars['Boolean']['output'];
182557
+ warnings: Array<StorePackageValidationIssue>;
182558
+ };
182559
+ export type StorePackageValidationIssue = {
182560
+ __typename?: 'StorePackageValidationIssue';
182561
+ code: Scalars['String']['output'];
182562
+ field: Scalars['String']['output'];
182563
+ message: Scalars['String']['output'];
182564
+ };
180306
182565
  /**
180307
182566
  * Canonical global store product owned by global-store-svc. GGNomad keeps only
180308
182567
  * travel-specific inventory metadata and links sellable listings to StoreProduct
@@ -180312,6 +182571,10 @@ export type StoreProduct = {
180312
182571
  __typename?: 'StoreProduct';
180313
182572
  id: Scalars['ID']['output'];
180314
182573
  };
182574
+ export declare enum StoreReviewDecision {
182575
+ Approve = "APPROVE",
182576
+ Reject = "REJECT"
182577
+ }
180315
182578
  export declare enum StrategicAlignment {
180316
182579
  Compliance = "COMPLIANCE",
180317
182580
  CostReduction = "COST_REDUCTION",
@@ -182758,6 +185021,11 @@ export type Subscription = {
182758
185021
  agentTokenDelta: Array<AgentTokenDelta>;
182759
185022
  /** Subscribe to batch download progress updates */
182760
185023
  batchDownloadProgress: BatchDownload;
185024
+ /**
185025
+ * Every execution status change in the caller's workspace (created, running,
185026
+ * finished). Lets the executions list update live without one stream per run.
185027
+ */
185028
+ botmanorExecutionUpdated: Execution;
182761
185029
  callParticipantChanged: CallParticipantChangedPayload;
182762
185030
  callStateChanged: CallSession;
182763
185031
  /** Subscribe to cleanup execution events */
@@ -193940,6 +196208,14 @@ export type TriggerBoundWorkflowInput = {
193940
196208
  appId?: InputMaybe<Scalars['ID']['input']>;
193941
196209
  /** Opaque conversation reference recorded on the resulting Execution */
193942
196210
  conversationId?: InputMaybe<Scalars['ID']['input']>;
196211
+ /**
196212
+ * Client-chosen key that makes the trigger safe to retry (BOFF-15461), 1-255
196213
+ * characters. A retry with the same key returns the execution and workflow run
196214
+ * the first call created, and is not charged again. Reusing a key for a
196215
+ * different bot, agent, workflow or payload returns CONFLICT. Keys are scoped
196216
+ * to the calling actor in the request workspace.
196217
+ */
196218
+ idempotencyKey?: InputMaybe<Scalars['String']['input']>;
193943
196219
  /** Payload handed to the workflow trigger node */
193944
196220
  triggerData?: InputMaybe<Scalars['JSON']['input']>;
193945
196221
  /** Trigger node to start from; inferred when the workflow declares exactly one */
@@ -195036,6 +197312,8 @@ export type UpdateBotlitAgentInput = {
195036
197312
  capabilities?: InputMaybe<Array<BotlitAgentCapability>>;
195037
197313
  context?: InputMaybe<ContextInput>;
195038
197314
  description?: InputMaybe<Scalars['String']['input']>;
197315
+ /** Ordered fallback models (at most 3, never the primary model). Empty clears them. */
197316
+ fallbackModelIds?: InputMaybe<Array<Scalars['ID']['input']>>;
195039
197317
  knowledgeBaseIds?: InputMaybe<Array<Scalars['ID']['input']>>;
195040
197318
  llmModelId?: InputMaybe<Scalars['ID']['input']>;
195041
197319
  maxConcurrentExecutions?: InputMaybe<Scalars['Int']['input']>;
@@ -195075,6 +197353,8 @@ export type UpdateBotlitLlmModelInput = {
195075
197353
  /** Deprecated: use UpdateBotmanorLLMProviderInput. Scheduled for removal no earlier than 2027-02-05 (BOFF-9561). */
195076
197354
  export type UpdateBotlitLlmProviderInput = {
195077
197355
  apiEndpoint?: InputMaybe<Scalars['String']['input']>;
197356
+ /** Remove the stored encrypted API key (BOFF-12706). */
197357
+ clearCredentials?: InputMaybe<Scalars['Boolean']['input']>;
195078
197358
  connectionId?: InputMaybe<Scalars['String']['input']>;
195079
197359
  credentials?: InputMaybe<Scalars['JSON']['input']>;
195080
197360
  isActive?: InputMaybe<Scalars['Boolean']['input']>;
@@ -195088,6 +197368,8 @@ export type UpdateBotmanorAgentInput = {
195088
197368
  capabilities?: InputMaybe<Array<BotmanorAgentCapability>>;
195089
197369
  context?: InputMaybe<ContextInput>;
195090
197370
  description?: InputMaybe<Scalars['String']['input']>;
197371
+ /** Ordered fallback models (at most 3, never the primary model). Empty clears them. */
197372
+ fallbackModelIds?: InputMaybe<Array<Scalars['ID']['input']>>;
195091
197373
  knowledgeBaseIds?: InputMaybe<Array<Scalars['ID']['input']>>;
195092
197374
  llmModelId?: InputMaybe<Scalars['ID']['input']>;
195093
197375
  maxConcurrentExecutions?: InputMaybe<Scalars['Int']['input']>;
@@ -195125,6 +197407,8 @@ export type UpdateBotmanorLlmModelInput = {
195125
197407
  };
195126
197408
  export type UpdateBotmanorLlmProviderInput = {
195127
197409
  apiEndpoint?: InputMaybe<Scalars['String']['input']>;
197410
+ /** Remove the stored encrypted API key (BOFF-12706). */
197411
+ clearCredentials?: InputMaybe<Scalars['Boolean']['input']>;
195128
197412
  connectionId?: InputMaybe<Scalars['String']['input']>;
195129
197413
  credentials?: InputMaybe<Scalars['JSON']['input']>;
195130
197414
  isActive?: InputMaybe<Scalars['Boolean']['input']>;
@@ -195273,10 +197557,14 @@ export type UpdateChannelConnectorInput = {
195273
197557
  };
195274
197558
  export type UpdateChannelRouteInput = {
195275
197559
  appId?: InputMaybe<Scalars['ID']['input']>;
197560
+ /** @deprecated Not applied by channel routing. Values other than null are rejected (BOFF-12567). */
195276
197561
  formatPolicyId?: InputMaybe<Scalars['ID']['input']>;
197562
+ isActive?: InputMaybe<Scalars['Boolean']['input']>;
195277
197563
  locationId?: InputMaybe<Scalars['String']['input']>;
195278
197564
  metadata?: InputMaybe<Scalars['JSON']['input']>;
197565
+ /** @deprecated Not applied by channel routing. Values other than null are rejected (BOFF-12567). */
195279
197566
  policyBindings?: InputMaybe<Scalars['JSON']['input']>;
197567
+ /** @deprecated Not applied by channel routing. Values other than null are rejected (BOFF-12567). */
195280
197568
  routingOverrides?: InputMaybe<Scalars['JSON']['input']>;
195281
197569
  };
195282
197570
  export type UpdateChecklistItemInput = {
@@ -197262,12 +199550,17 @@ export type UpdateLogStreamDestinationInput = {
197262
199550
  secret?: InputMaybe<Scalars['String']['input']>;
197263
199551
  };
197264
199552
  export type UpdateMcpConnectionInput = {
199553
+ clearCredential?: InputMaybe<Scalars['Boolean']['input']>;
197265
199554
  config?: InputMaybe<Scalars['JSON']['input']>;
199555
+ credential?: InputMaybe<McpCredentialInput>;
199556
+ /** @deprecated Use credential. A bare token string or { token } is stored as a bearer token. */
197266
199557
  credentials?: InputMaybe<Scalars['JSON']['input']>;
197267
199558
  metadata?: InputMaybe<Scalars['JSON']['input']>;
197268
199559
  name?: InputMaybe<Scalars['String']['input']>;
199560
+ type?: InputMaybe<Scalars['String']['input']>;
197269
199561
  };
197270
199562
  export type UpdateMcpToolInput = {
199563
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
197271
199564
  riskLevel?: InputMaybe<McpToolRiskLevel>;
197272
199565
  };
197273
199566
  export type UpdateMaintenanceContractInput = {
@@ -198077,6 +200370,14 @@ export type UpdateSoilTestInput = {
198077
200370
  status?: InputMaybe<Scalars['String']['input']>;
198078
200371
  testDate?: InputMaybe<Scalars['String']['input']>;
198079
200372
  };
200373
+ export type UpdateStorePackageDraftInput = {
200374
+ kind?: InputMaybe<PackageKind>;
200375
+ manifest?: InputMaybe<Scalars['JSON']['input']>;
200376
+ metadata?: InputMaybe<Scalars['JSON']['input']>;
200377
+ readme?: InputMaybe<Scalars['String']['input']>;
200378
+ slug?: InputMaybe<Scalars['String']['input']>;
200379
+ version?: InputMaybe<Scalars['String']['input']>;
200380
+ };
198080
200381
  /** Input for updating a product subscription */
198081
200382
  export type UpdateSubscribedProductInput = {
198082
200383
  /** Updated product configuration */
@@ -201879,6 +204180,8 @@ export type VisibilityRule = {
201879
204180
  id: Scalars['ID']['output'];
201880
204181
  isActive: Scalars['Boolean']['output'];
201881
204182
  priority: Scalars['Int']['output'];
204183
+ /** The registered resource this rule applies to. Null only if that resource is not in the rule's scope. */
204184
+ resource?: Maybe<VisibilityRuleResource>;
201882
204185
  resourceId: Scalars['String']['output'];
201883
204186
  resourceType: Scalars['String']['output'];
201884
204187
  scopeId: Scalars['String']['output'];
@@ -201887,6 +204190,36 @@ export type VisibilityRule = {
201887
204190
  updatedAt: Scalars['DateTime']['output'];
201888
204191
  visibilityType: VisibilityType;
201889
204192
  };
204193
+ /** Filter for listing the visibility rules in a scope. Every field narrows the list; omit a field to keep every value. */
204194
+ export type VisibilityRuleFilterInput = {
204195
+ /** Only the rules of this registered resource (internal RBAC resource ID, as in VisibilityRule.resourceId) */
204196
+ resourceId?: InputMaybe<Scalars['ID']['input']>;
204197
+ /** Only rules on resources of this type */
204198
+ resourceType?: InputMaybe<Scalars['String']['input']>;
204199
+ /** Only rules that target this group or role ID */
204200
+ targetId?: InputMaybe<Scalars['String']['input']>;
204201
+ /** Only rules whose target is of this type ("group" or "role") */
204202
+ targetType?: InputMaybe<Scalars['String']['input']>;
204203
+ /** Only rules of this visibility type, e.g. PUBLIC for everything every member can see */
204204
+ visibilityType?: InputMaybe<VisibilityType>;
204205
+ };
204206
+ export type VisibilityRulePage = {
204207
+ __typename?: 'VisibilityRulePage';
204208
+ items: Array<VisibilityRule>;
204209
+ pageInfo: OffsetPageInfo;
204210
+ };
204211
+ /** The registered resource a visibility rule applies to (its identity, not its rules) */
204212
+ export type VisibilityRuleResource = {
204213
+ __typename?: 'VisibilityRuleResource';
204214
+ /** Internal RBAC resource ID (VisibilityRule.resourceId) */
204215
+ id: Scalars['ID']['output'];
204216
+ /** External identifier the owning service registered (e.g. a workflow ID) */
204217
+ identifier: Scalars['String']['output'];
204218
+ name?: Maybe<Scalars['String']['output']>;
204219
+ ownerId?: Maybe<Scalars['String']['output']>;
204220
+ ownerType?: Maybe<ActorType>;
204221
+ resourceType: Scalars['String']['output'];
204222
+ };
201890
204223
  /** Visibility statistics */
201891
204224
  export type VisibilityStats = {
201892
204225
  __typename?: 'VisibilityStats';