@burdenoff/microfe-timecampus 2026.1031.13 → 2026.1102.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.
Files changed (62) hide show
  1. package/dist/generated/wspace-operations.d.ts +181 -0
  2. package/dist/generated/wspace-operations.d.ts.map +1 -1
  3. package/dist/generated/wspace-operations.js +1373 -1273
  4. package/dist/generated/wspace-operations.js.map +1 -1
  5. package/dist/generated/wspace-types.d.ts +574 -13
  6. package/dist/generated/wspace-types.d.ts.map +1 -1
  7. package/dist/generated/wspace-types.js +10 -8
  8. package/dist/generated/wspace-types.js.map +1 -1
  9. package/dist/index.js +7 -7
  10. package/dist/timecampus/TimeCampusRoot.d.ts.map +1 -1
  11. package/dist/timecampus/TimeCampusRoot.js +116 -96
  12. package/dist/timecampus/TimeCampusRoot.js.map +1 -1
  13. package/dist/timecampus/TimeCampusRoutes.d.ts.map +1 -1
  14. package/dist/timecampus/TimeCampusRoutes.js +26 -14
  15. package/dist/timecampus/TimeCampusRoutes.js.map +1 -1
  16. package/dist/timecampus/components/ToggleSwitch.d.ts +12 -0
  17. package/dist/timecampus/components/ToggleSwitch.d.ts.map +1 -0
  18. package/dist/timecampus/components/ToggleSwitch.js +19 -0
  19. package/dist/timecampus/components/ToggleSwitch.js.map +1 -0
  20. package/dist/timecampus/components/index.d.ts +1 -0
  21. package/dist/timecampus/components/index.d.ts.map +1 -1
  22. package/dist/timecampus/components/index.js +11 -10
  23. package/dist/timecampus/index.js +7 -7
  24. package/dist/timecampus/pages/dashboard/ReportsPage.d.ts.map +1 -1
  25. package/dist/timecampus/pages/dashboard/ReportsPage.js +143 -129
  26. package/dist/timecampus/pages/dashboard/ReportsPage.js.map +1 -1
  27. package/dist/timecampus/pages/dashboard/ServerReportExports.d.ts +6 -0
  28. package/dist/timecampus/pages/dashboard/ServerReportExports.d.ts.map +1 -0
  29. package/dist/timecampus/pages/dashboard/ServerReportExports.js +257 -0
  30. package/dist/timecampus/pages/dashboard/ServerReportExports.js.map +1 -0
  31. package/dist/timecampus/pages/dashboard/reportTemplates.d.ts +33 -0
  32. package/dist/timecampus/pages/dashboard/reportTemplates.d.ts.map +1 -0
  33. package/dist/timecampus/pages/dashboard/reportTemplates.js +129 -0
  34. package/dist/timecampus/pages/dashboard/reportTemplates.js.map +1 -0
  35. package/dist/timecampus/pages/lifetime/PersonalCorporatePage.d.ts.map +1 -1
  36. package/dist/timecampus/pages/lifetime/PersonalCorporatePage.js +147 -162
  37. package/dist/timecampus/pages/lifetime/PersonalCorporatePage.js.map +1 -1
  38. package/dist/timecampus/pages/settings/PrivacySettingsPage.d.ts +2 -0
  39. package/dist/timecampus/pages/settings/PrivacySettingsPage.d.ts.map +1 -0
  40. package/dist/timecampus/pages/settings/PrivacySettingsPage.js +268 -0
  41. package/dist/timecampus/pages/settings/PrivacySettingsPage.js.map +1 -0
  42. package/dist/timecampus/pages/settings/SettingsPage.d.ts +2 -0
  43. package/dist/timecampus/pages/settings/SettingsPage.d.ts.map +1 -0
  44. package/dist/timecampus/pages/settings/SettingsPage.js +175 -0
  45. package/dist/timecampus/pages/settings/SettingsPage.js.map +1 -0
  46. package/dist/timecampus/pages/settings/ThemePreferenceSync.d.ts +15 -0
  47. package/dist/timecampus/pages/settings/ThemePreferenceSync.d.ts.map +1 -0
  48. package/dist/timecampus/pages/settings/ThemePreferenceSync.js +80 -0
  49. package/dist/timecampus/pages/settings/ThemePreferenceSync.js.map +1 -0
  50. package/dist/timecampus/pages/settings/retention.d.ts +25 -0
  51. package/dist/timecampus/pages/settings/retention.d.ts.map +1 -0
  52. package/dist/timecampus/pages/settings/retention.js +34 -0
  53. package/dist/timecampus/pages/settings/retention.js.map +1 -0
  54. package/dist/timecampus/pages/settings/themePreference.d.ts +45 -0
  55. package/dist/timecampus/pages/settings/themePreference.d.ts.map +1 -0
  56. package/dist/timecampus/pages/settings/themePreference.js +49 -0
  57. package/dist/timecampus/pages/settings/themePreference.js.map +1 -0
  58. package/dist/timecampus/utils/helpers.d.ts +2 -0
  59. package/dist/timecampus/utils/helpers.d.ts.map +1 -1
  60. package/dist/timecampus/utils/helpers.js +5 -1
  61. package/dist/timecampus/utils/helpers.js.map +1 -1
  62. package/package.json +1 -1
@@ -6874,6 +6874,30 @@ export type BigConsoleSetWidgetTypeStatusInput = {
6874
6874
  /** Workspace used for RBAC scope resolution. */
6875
6875
  workspaceId: Scalars['ID']['input'];
6876
6876
  };
6877
+ /** The calling profile's BigConsole preferences in the request workspace. Settings are personal: they belong to the calling actor inside the workspace of the request, are never shared with the team, and follow the user across devices and browsers. When nothing has been saved yet the defaults are returned with `persisted: false`. */
6878
+ export type BigConsoleSettings = {
6879
+ __typename?: 'BigConsoleSettings';
6880
+ /** Whether transition animations and effects are enabled */
6881
+ animationsEnabled: Scalars['Boolean']['output'];
6882
+ /** Whether new data sinks enable caching by default */
6883
+ cacheEnabled: Scalars['Boolean']['output'];
6884
+ /** Default cache TTL for new data sinks, in seconds (0-86400) */
6885
+ cacheTTLSeconds: Scalars['Int']['output'];
6886
+ /** Whether dashboards use reduced padding and spacing */
6887
+ compactMode: Scalars['Boolean']['output'];
6888
+ /** Default number of grid columns for new dashboard pages (4-24) */
6889
+ defaultGridColumns: Scalars['Int']['output'];
6890
+ /** Default auto-refresh interval for new widgets, in seconds (0 disables it, max 86400) */
6891
+ defaultRefreshInterval: Scalars['Int']['output'];
6892
+ /** Default height, in grid units, for new widgets (1-12) */
6893
+ defaultWidgetHeight: Scalars['Int']['output'];
6894
+ /** Whether these values were saved by the caller. False means the caller has never saved settings in this workspace and these are the defaults. */
6895
+ persisted: Scalars['Boolean']['output'];
6896
+ /** Whether widgets are drawn with borders */
6897
+ showWidgetBorders: Scalars['Boolean']['output'];
6898
+ /** When the caller last saved their settings; null when never saved */
6899
+ updatedAt?: Maybe<Scalars['DateTime']['output']>;
6900
+ };
6877
6901
  /** Input for sharing a dashboard */
6878
6902
  export type BigConsoleShareDashboardInput = {
6879
6903
  /** Dashboard ID to share */
@@ -7103,6 +7127,25 @@ export type BigConsoleUpdateGlobalFilterInput = {
7103
7127
  /** Display order */
7104
7128
  order?: InputMaybe<Scalars['Int']['input']>;
7105
7129
  };
7130
+ /** Changes to the caller's BigConsole settings. Omitted or null fields keep their current value (or the default when nothing was saved yet). Out-of-range values are rejected with BAD_USER_INPUT and nothing is written. */
7131
+ export type BigConsoleUpdateSettingsInput = {
7132
+ /** Whether transition animations and effects are enabled */
7133
+ animationsEnabled?: InputMaybe<Scalars['Boolean']['input']>;
7134
+ /** Whether new data sinks enable caching by default */
7135
+ cacheEnabled?: InputMaybe<Scalars['Boolean']['input']>;
7136
+ /** Default cache TTL for new data sinks, in seconds (0-86400) */
7137
+ cacheTTLSeconds?: InputMaybe<Scalars['Int']['input']>;
7138
+ /** Whether dashboards use reduced padding and spacing */
7139
+ compactMode?: InputMaybe<Scalars['Boolean']['input']>;
7140
+ /** Default number of grid columns for new dashboard pages (4-24) */
7141
+ defaultGridColumns?: InputMaybe<Scalars['Int']['input']>;
7142
+ /** Default auto-refresh interval for new widgets, in seconds (0-86400) */
7143
+ defaultRefreshInterval?: InputMaybe<Scalars['Int']['input']>;
7144
+ /** Default height, in grid units, for new widgets (1-12) */
7145
+ defaultWidgetHeight?: InputMaybe<Scalars['Int']['input']>;
7146
+ /** Whether widgets are drawn with borders */
7147
+ showWidgetBorders?: InputMaybe<Scalars['Boolean']['input']>;
7148
+ };
7106
7149
  /** Input for updating a widget action */
7107
7150
  export type BigConsoleUpdateWidgetActionInput = {
7108
7151
  /** Confirmation dialog configuration */
@@ -10457,6 +10500,43 @@ export declare enum BuiEnrollmentStatus {
10457
10500
  export declare enum BuiExternalSource {
10458
10501
  Technospam = "TECHNOSPAM"
10459
10502
  }
10503
+ /** BOFF-10480: which kind of mirrored record a parity read asks for. */
10504
+ export declare enum BuiExternalSyncKind {
10505
+ Certificate = "CERTIFICATE",
10506
+ Course = "COURSE",
10507
+ Enrollment = "ENROLLMENT",
10508
+ Lesson = "LESSON",
10509
+ LessonProgress = "LESSON_PROGRESS"
10510
+ }
10511
+ /** BOFF-10480: the comparable canonical state of one mirrored record, returned to the source product so it can report (and re-sync) any record whose canonical copy drifted. Fields that do not apply to the requested kind are null. `status` carries the kind's own enum value as text. */
10512
+ export type BuiExternalSyncRecord = {
10513
+ __typename?: 'BuiExternalSyncRecord';
10514
+ /** The canonical row's id in Buildmyiq. */
10515
+ canonicalId: Scalars['ID']['output'];
10516
+ /** SHA-256 (hex) of the canonical lesson body; null when no body is held. */
10517
+ contentSha256?: Maybe<Scalars['String']['output']>;
10518
+ /** True when the canonical row is soft-deleted (archived). */
10519
+ deleted: Scalars['Boolean']['output'];
10520
+ isPreview?: Maybe<Scalars['Boolean']['output']>;
10521
+ learnerId?: Maybe<Scalars['ID']['output']>;
10522
+ mediaFileId?: Maybe<Scalars['ID']['output']>;
10523
+ position?: Maybe<Scalars['Int']['output']>;
10524
+ progressPct?: Maybe<Scalars['Int']['output']>;
10525
+ serial?: Maybe<Scalars['String']['output']>;
10526
+ /** The source product's own id of the record. */
10527
+ sourceId: Scalars['ID']['output'];
10528
+ status?: Maybe<Scalars['String']['output']>;
10529
+ title?: Maybe<Scalars['String']['output']>;
10530
+ updatedAt: Scalars['DateTime']['output'];
10531
+ /** Course level (COURSE) or lesson type (LESSON). */
10532
+ variant?: Maybe<Scalars['String']['output']>;
10533
+ };
10534
+ /** BOFF-10480: one source product's batch of record ids to compare against the canonical LMS. At most 200 ids per call. */
10535
+ export type BuiExternalSyncRecordsInput = {
10536
+ kind: BuiExternalSyncKind;
10537
+ source: BuiExternalSource;
10538
+ sourceIds: Array<Scalars['ID']['input']>;
10539
+ };
10460
10540
  export type BuiGradeSubmissionInput = {
10461
10541
  feedback?: InputMaybe<Scalars['String']['input']>;
10462
10542
  passed?: InputMaybe<Scalars['Boolean']['input']>;
@@ -10504,6 +10584,10 @@ export type BuiLesson = {
10504
10584
  media?: Maybe<File>;
10505
10585
  moduleId?: Maybe<Scalars['ID']['output']>;
10506
10586
  position: Scalars['Int']['output'];
10587
+ /** BOFF-10464: the product this lesson was mirrored from. Null for lessons authored natively in Buildmyiq. */
10588
+ source?: Maybe<BuiExternalSource>;
10589
+ /** BOFF-10464: the source product's own id for this lesson (opaque). */
10590
+ sourceId?: Maybe<Scalars['ID']['output']>;
10507
10591
  /** True when the calling learner has completed this lesson in Technospam. */
10508
10592
  technospamCompletedByMe?: Maybe<Scalars['Boolean']['output']>;
10509
10593
  /** The lesson body as Technospam holds it, gated by the TechnoSpam plan. Use this for premium-only lessons: their body is not stored in Buildmyiq until Buildmyiq has a product-entitlement-aware content gate. Null when locked. */
@@ -10540,6 +10624,10 @@ export type BuiLessonProgress = {
10540
10624
  id: Scalars['ID']['output'];
10541
10625
  lessonId: Scalars['ID']['output'];
10542
10626
  secondsSpent: Scalars['Int']['output'];
10627
+ /** BOFF-10464: the product this progress row was mirrored from. Null for progress recorded natively in Buildmyiq. */
10628
+ source?: Maybe<BuiExternalSource>;
10629
+ /** BOFF-10464: the source product's own id for this progress row (opaque). */
10630
+ sourceId?: Maybe<Scalars['ID']['output']>;
10543
10631
  status: BuiProgressStatus;
10544
10632
  updatedAt: Scalars['DateTime']['output'];
10545
10633
  workspaceId: Scalars['ID']['output'];
@@ -11092,6 +11180,41 @@ export type BuiSyncExternalEnrollmentInput = {
11092
11180
  startedAt?: InputMaybe<Scalars['DateTime']['input']>;
11093
11181
  status: BuiEnrollmentStatus;
11094
11182
  };
11183
+ /** BOFF-10464: a source product's lesson. Only the canonical lesson fields are mirrored; product-specific lesson data (runnable-code metadata, quiz answer keys, entitlement lock state) stays with the source product. */
11184
+ export type BuiSyncExternalLessonInput = {
11185
+ /** Lesson body. The source sends null when it must not be exposed outside the source product (for example a premium-only lesson body). */
11186
+ content?: InputMaybe<Scalars['String']['input']>;
11187
+ /** The source product's id of the lesson's course (synced first). */
11188
+ courseSourceId: Scalars['ID']['input'];
11189
+ /** Set when the source soft-deleted the lesson. */
11190
+ deletedAt?: InputMaybe<Scalars['DateTime']['input']>;
11191
+ durationMin?: InputMaybe<Scalars['Int']['input']>;
11192
+ /** Free trailer lesson: readable without an enrollment in a published course. */
11193
+ isPreview: Scalars['Boolean']['input'];
11194
+ /** wspace-files-svc File id of the lesson's primary media asset. */
11195
+ mediaFileId?: InputMaybe<Scalars['ID']['input']>;
11196
+ onBehalfOf: Scalars['ID']['input'];
11197
+ position: Scalars['Int']['input'];
11198
+ source: BuiExternalSource;
11199
+ /** The source product's own lesson id. */
11200
+ sourceId: Scalars['ID']['input'];
11201
+ title: Scalars['String']['input'];
11202
+ type: BuiLessonType;
11203
+ };
11204
+ /** BOFF-10464: one lesson a learner finished inside an enrollment at the source. */
11205
+ export type BuiSyncExternalLessonProgressInput = {
11206
+ completedAt?: InputMaybe<Scalars['DateTime']['input']>;
11207
+ /** The source product's id of the enrollment (synced first). */
11208
+ enrollmentSourceId: Scalars['ID']['input'];
11209
+ /** The source product's id of the lesson (synced first). */
11210
+ lessonSourceId: Scalars['ID']['input'];
11211
+ onBehalfOf: Scalars['ID']['input'];
11212
+ secondsSpent?: InputMaybe<Scalars['Int']['input']>;
11213
+ source: BuiExternalSource;
11214
+ /** The source product's own progress (lesson completion) id. */
11215
+ sourceId: Scalars['ID']['input'];
11216
+ status: BuiProgressStatus;
11217
+ };
11095
11218
  export declare enum BuiTutorAdaptiveLevel {
11096
11219
  Advanced = "ADVANCED",
11097
11220
  OnTrack = "ON_TRACK",
@@ -15119,6 +15242,21 @@ export type ContextMessageAttachmentInput = {
15119
15242
  thumbnail?: InputMaybe<Scalars['String']['input']>;
15120
15243
  width?: InputMaybe<Scalars['Int']['input']>;
15121
15244
  };
15245
+ export type ContinuousOptimisationSettings = {
15246
+ __typename?: 'ContinuousOptimisationSettings';
15247
+ /** Optimisation is opt-in per workspace and off by default. */
15248
+ enabled: Scalars['Boolean']['output'];
15249
+ enabledAt?: Maybe<Scalars['DateTime']['output']>;
15250
+ enabledBy?: Maybe<Scalars['String']['output']>;
15251
+ /** True while the fluidgrids.continuous-optimisation flag is on for the workspace (named like runFailureTriageSettings.killSwitchOn). False means the kill switch has stopped optimisation: nothing scans and the suggestions are hidden. */
15252
+ killSwitchOn: Scalars['Boolean']['output'];
15253
+ lastDigestAt?: Maybe<Scalars['DateTime']['output']>;
15254
+ lastScanAt?: Maybe<Scalars['DateTime']['output']>;
15255
+ /** Counts from the last scan: workflowsScanned, created, updated, reopened, resolved, deferred, openSuggestions. */
15256
+ lastScanSummary?: Maybe<Scalars['JSON']['output']>;
15257
+ /** The nightly scan and the weekly digest system workflows, once seeded. */
15258
+ systemWorkflows: Array<SystemWorkflowInstallation>;
15259
+ };
15122
15260
  export type ContributorStats = {
15123
15261
  __typename?: 'ContributorStats';
15124
15262
  itemsAdded: Scalars['Int']['output'];
@@ -27618,10 +27756,18 @@ export type ExportTemplateEdge = {
27618
27756
  node: ExportTemplate;
27619
27757
  };
27620
27758
  export type ExportTimeCampusEntitiesInput = {
27759
+ /** Inclusive upper bound on the record date, for entity types that support it. */
27760
+ dateRangeEnd?: InputMaybe<Scalars['DateTime']['input']>;
27761
+ /** Inclusive lower bound on the record date, for entity types that support it. */
27762
+ dateRangeStart?: InputMaybe<Scalars['DateTime']['input']>;
27763
+ /** TimeCampus entity types to export, e.g. `timecampus_time_entries`. */
27621
27764
  entityTypes: Array<Scalars['String']['input']>;
27622
27765
  format?: TimeCampusExportFormat;
27623
27766
  includeMetadata?: InputMaybe<Scalars['Boolean']['input']>;
27624
- workspaceId: Scalars['ID']['input'];
27767
+ /** Human-readable job name shown in export history (max 120 characters). */
27768
+ name?: InputMaybe<Scalars['String']['input']>;
27769
+ /** Ignored. The workspace always comes from the verified request context; the field stays only so existing callers keep validating. */
27770
+ workspaceId?: InputMaybe<Scalars['ID']['input']>;
27625
27771
  };
27626
27772
  export type ExportTimeCampusUserDataInput = {
27627
27773
  entityTypes: Array<Scalars['String']['input']>;
@@ -54874,6 +55020,10 @@ export type Mutation = {
54874
55020
  buiSyncExternalCourse: BuiCourse;
54875
55021
  /** Service-only (BOFF-3134): upsert the canonical enrollment mirroring a source product's enrollment. The course must have been synced first. */
54876
55022
  buiSyncExternalEnrollment: BuiEnrollment;
55023
+ /** Service-only (BOFF-10464): upsert the canonical lesson mirroring a source product's lesson. The course must have been synced first. */
55024
+ buiSyncExternalLesson: BuiLesson;
55025
+ /** Service-only (BOFF-10464): upsert the canonical lesson progress mirroring a source product's lesson completion. The enrollment and the lesson must have been synced first. */
55026
+ buiSyncExternalLessonProgress: BuiLessonProgress;
54877
55027
  /** Real AGS score-publish for one graded submission to the LMS gradebook via the given resource link's line item. Never re-grades — the submission must already be graded (`buiGradeSubmission`/`buiAutoScoreSubmission`). */
54878
55028
  buiSyncLtiGrade: BuiLtiGradeSync;
54879
55029
  /** Names and Role Provisioning Services roster sync: fetches the LMS course roster for this LTI placement and upserts `BuiLtiContextMembership` rows. */
@@ -56503,6 +56653,8 @@ export type Mutation = {
56503
56653
  /** Disconnect a channel: further events from it are refused. Already captured events are kept. For an OAuth-backed channel the integration connection is revoked as well. */
56504
56654
  disconnectTimeCampusCaptureChannel: TimeCampusCaptureChannel;
56505
56655
  dismissHealthyBowlComplianceFlag: ComplianceFlag;
56656
+ /** Dismiss an open or snoozed suggestion with a reason (and an optional note of up to 500 characters). */
56657
+ dismissOptimisationSuggestion: OptimisationSuggestion;
56506
56658
  dismissRecommendation: TimeCampusRecommendation;
56507
56659
  /**
56508
56660
  * Dismiss one of the caller's failure clusters. Later failures with the same
@@ -56790,6 +56942,7 @@ export type Mutation = {
56790
56942
  exportSessions: SessionExport;
56791
56943
  /** Export the subject's files-layer data: owned files (with metadata, versions, tags), folders, file-shares granted by the subject. Object storage payloads are listed by S3 key but not inlined; the privacy-svc orchestrator includes them via signed URLs in the final DSAR bundle. */
56792
56944
  exportSubject: Scalars['JSON']['output'];
56945
+ /** Start a server-side export of TimeCampus data. The job runs asynchronously in wspace-export-svc; poll `timeCampusExportJob(id)` until it reaches a terminal status, then download the archive from `downloadUrl`. */
56793
56946
  exportTimeCampusEntities: TimeCampusExportJob;
56794
56947
  exportTimeCampusUserData: TimeCampusExportJob;
56795
56948
  /** Export audit logs matching the filter as CSV or JSON */
@@ -56809,6 +56962,11 @@ export type Mutation = {
56809
56962
  failActivityAsync: Scalars['Boolean']['output'];
56810
56963
  /** Fail, by its id, an activity that waits for an asynchronous completion. */
56811
56964
  failActivityById: Scalars['Boolean']['output'];
56965
+ /**
56966
+ * Run one scan now (the nightly workflow runs the same scan). Returns skipped with reason
56967
+ * not_enabled when optimisation is off for the workspace.
56968
+ */
56969
+ fgRunOptimisationScan: OptimisationScanResult;
56812
56970
  /**
56813
56971
  * Run one triage pass now (the hourly workflow runs the same pass). Returns
56814
56972
  * skipped with reason not_enabled or flag_off when triage is off.
@@ -58347,6 +58505,13 @@ export type Mutation = {
58347
58505
  propagateTagToChildren: Array<UniversalTagAssignment>;
58348
58506
  /** Run an agronomic sweep and return the proposals it wrote. A second sweep over unchanged data updates the open proposal rather than adding another — otherwise the inbox becomes a pile of identical cards, which is how a farmer learns to ignore it. Returns BLOCKED rows too: a treatment the compliance rail refused is recorded so the farmer can see it was considered and why it was refused. Dropping it silently looks identical to the engine never having noticed. */
58349
58507
  proposeHealthyBowlAgronomyDecisions: AgronomyDecisionSweepResult;
58508
+ /**
58509
+ * Apply a suggestion: build its change on the workflow's latest version as an OPTIMISE workflow
58510
+ * proposal owned by the caller, without a model call. Returns the suggestion with proposalId set;
58511
+ * preview the proposal with workflowProposal(id) and apply it with applyWorkflowProposal, which
58512
+ * creates a new DRAFT version. Nothing is applied by this call.
58513
+ */
58514
+ proposeOptimisation: OptimisationSuggestion;
58350
58515
  /**
58351
58516
  * Propose a fix for a failed run against the version that ran. Returns
58352
58517
  * PROCESSING; poll `workflowProposal(id)`.
@@ -58451,6 +58616,7 @@ export type Mutation = {
58451
58616
  pswUpdateDeliverable: PswDeliverable;
58452
58617
  pswUpdateDocument: PswDocument;
58453
58618
  pswUpdateEngagement: PswEngagement;
58619
+ pswUpdateInvoice: PswInvoice;
58454
58620
  pswUpdateMatter: PswMatter;
58455
58621
  pswUpdateMilestone: PswMilestone;
58456
58622
  pswUpdatePracticeArea: PswPracticeArea;
@@ -58856,6 +59022,8 @@ export type Mutation = {
58856
59022
  reserveTunnelSubdomain: TunnelDomain;
58857
59023
  /** Restart the attempt count of activities waiting for their next attempt, and dispatch them now. */
58858
59024
  resetActivity: WorkflowRun;
59025
+ /** Restore the caller's BigConsole settings in the request workspace to the defaults, and keep them saved so every device picks the reset up. */
59026
+ resetBigConsoleSettings: BigConsoleSettings;
58859
59027
  resetCircuitBreaker: CircuitBreakerState;
58860
59028
  /** Reset monthly usage counters for the current workspace. Workspace ID is read from gateway context (x-workspace-id header). */
58861
59029
  resetMonthlyUsage: WorkspaceResourceUsage;
@@ -59251,6 +59419,12 @@ export type Mutation = {
59251
59419
  setBigConsoleExternalEmbedsEnabled: Workspace;
59252
59420
  /** Set configuration */
59253
59421
  setConfiguration: Configuration;
59422
+ /**
59423
+ * Turn continuous optimisation on or off for this workspace. On (needs the flag) seeds and
59424
+ * activates the nightly scan system workflow, running as the caller, and the weekly digest; off
59425
+ * deactivates the scan, and the digest unless failure triage still uses it. It only ever suggests.
59426
+ */
59427
+ setContinuousOptimisationEnabled: ContinuousOptimisationSettings;
59254
59428
  /** Ask for a skill on a job posting (required or nice-to-have, optional minimum proficiency). */
59255
59429
  setCrewJobPostingSkill: CrewJobPostingSkill;
59256
59430
  /** Assign (or clear, with rlsPolicyId: null) a dashboard's RLS policy. The policy must already exist in the same workspace as the dashboard. */
@@ -59391,6 +59565,8 @@ export type Mutation = {
59391
59565
  signalWorkflowRun: WorkflowSignalResult;
59392
59566
  /** Snooze a fired weather alert until an ISO timestamp. */
59393
59567
  snoozeHealthyBowlWeatherAlert: WeatherAlertEvent;
59568
+ /** Snooze an open suggestion until a time within 90 days (30 days when until is left out). */
59569
+ snoozeOptimisationSuggestion: OptimisationSuggestion;
59394
59570
  snoozeRecommendation: TimeCampusRecommendation;
59395
59571
  /** Start a durable Fluidgrids turn. The handle is acceptance, not a completed answer. */
59396
59572
  startAssistantTurn: AssistantTurnHandle;
@@ -59952,6 +60128,8 @@ export type Mutation = {
59952
60128
  updateAvailabilityRule: AvailabilityRule;
59953
60129
  /** Update an existing dashboard */
59954
60130
  updateBigConsoleDashboard: BigConsoleDashboard;
60131
+ /** Save changes to the caller's BigConsole settings in the request workspace, creating the record on first save. Self-scoped like bigConsoleSettings. */
60132
+ updateBigConsoleSettings: BigConsoleSettings;
59955
60133
  /** Update a BigConsole widget */
59956
60134
  updateBigConsoleWidget: BigConsoleWidget;
59957
60135
  updateBookingPage: BookingPage;
@@ -60662,6 +60840,11 @@ export type Mutation = {
60662
60840
  * INTERNAL: Requires actorType SERVICE
60663
60841
  */
60664
60842
  workerRunFailureTriage: WorkerRunFailureTriageResponse;
60843
+ /**
60844
+ * The step of the seeded continuous-optimisation workflow (the internal:optimisation node).
60845
+ * INTERNAL: Requires actorType SERVICE
60846
+ */
60847
+ workerRunOptimisation: WorkerRunOptimisationResponse;
60665
60848
  /**
60666
60849
  * Lease an activity attempt.
60667
60850
  * INTERNAL: Requires actorType SERVICE
@@ -62223,6 +62406,14 @@ export type MutationBuiSyncExternalEnrollmentArgs = {
62223
62406
  input: BuiSyncExternalEnrollmentInput;
62224
62407
  };
62225
62408
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62409
+ export type MutationBuiSyncExternalLessonArgs = {
62410
+ input: BuiSyncExternalLessonInput;
62411
+ };
62412
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62413
+ export type MutationBuiSyncExternalLessonProgressArgs = {
62414
+ input: BuiSyncExternalLessonProgressInput;
62415
+ };
62416
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62226
62417
  export type MutationBuiSyncLtiGradeArgs = {
62227
62418
  resourceLinkId: Scalars['ID']['input'];
62228
62419
  submissionId: Scalars['ID']['input'];
@@ -66949,6 +67140,12 @@ export type MutationDismissHealthyBowlComplianceFlagArgs = {
66949
67140
  input: DismissComplianceFlagInput;
66950
67141
  };
66951
67142
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
67143
+ export type MutationDismissOptimisationSuggestionArgs = {
67144
+ id: Scalars['ID']['input'];
67145
+ note?: InputMaybe<Scalars['String']['input']>;
67146
+ reason: OptimisationDismissReason;
67147
+ };
67148
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
66952
67149
  export type MutationDismissRecommendationArgs = {
66953
67150
  id: Scalars['ID']['input'];
66954
67151
  reason?: InputMaybe<Scalars['String']['input']>;
@@ -71893,6 +72090,10 @@ export type MutationProposeHealthyBowlAgronomyDecisionsArgs = {
71893
72090
  input: ProposeAgronomyDecisionsInput;
71894
72091
  };
71895
72092
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
72093
+ export type MutationProposeOptimisationArgs = {
72094
+ suggestionId: Scalars['ID']['input'];
72095
+ };
72096
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
71896
72097
  export type MutationProposeRunFixArgs = {
71897
72098
  input: ProposeRunFixInput;
71898
72099
  };
@@ -72235,6 +72436,11 @@ export type MutationPswUpdateEngagementArgs = {
72235
72436
  input: PswUpdateEngagementInput;
72236
72437
  };
72237
72438
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
72439
+ export type MutationPswUpdateInvoiceArgs = {
72440
+ id: Scalars['ID']['input'];
72441
+ input: PswUpdateInvoiceInput;
72442
+ };
72443
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
72238
72444
  export type MutationPswUpdateMatterArgs = {
72239
72445
  id: Scalars['ID']['input'];
72240
72446
  input: PswUpdateMatterInput;
@@ -74312,6 +74518,10 @@ export type MutationSetConfigurationArgs = {
74312
74518
  value: Scalars['JSON']['input'];
74313
74519
  };
74314
74520
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74521
+ export type MutationSetContinuousOptimisationEnabledArgs = {
74522
+ enabled: Scalars['Boolean']['input'];
74523
+ };
74524
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74315
74525
  export type MutationSetCrewJobPostingSkillArgs = {
74316
74526
  input: SetCrewJobPostingSkillInput;
74317
74527
  };
@@ -74636,6 +74846,11 @@ export type MutationSnoozeHealthyBowlWeatherAlertArgs = {
74636
74846
  until: Scalars['String']['input'];
74637
74847
  };
74638
74848
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74849
+ export type MutationSnoozeOptimisationSuggestionArgs = {
74850
+ id: Scalars['ID']['input'];
74851
+ until?: InputMaybe<Scalars['DateTime']['input']>;
74852
+ };
74853
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74639
74854
  export type MutationSnoozeRecommendationArgs = {
74640
74855
  id: Scalars['ID']['input'];
74641
74856
  until: Scalars['DateTime']['input'];
@@ -76149,6 +76364,10 @@ export type MutationUpdateBigConsoleDashboardArgs = {
76149
76364
  input: BigConsoleUpdateDashboardInput;
76150
76365
  };
76151
76366
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
76367
+ export type MutationUpdateBigConsoleSettingsArgs = {
76368
+ input: BigConsoleUpdateSettingsInput;
76369
+ };
76370
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
76152
76371
  export type MutationUpdateBigConsoleWidgetArgs = {
76153
76372
  input: BigConsoleUpdateWidgetInput;
76154
76373
  };
@@ -78148,6 +78367,10 @@ export type MutationWorkerRunFailureTriageArgs = {
78148
78367
  input: WorkerRunFailureTriageInput;
78149
78368
  };
78150
78369
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
78370
+ export type MutationWorkerRunOptimisationArgs = {
78371
+ input: WorkerRunOptimisationInput;
78372
+ };
78373
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
78151
78374
  export type MutationWorkerStartActivityArgs = {
78152
78375
  activityId: Scalars['ID']['input'];
78153
78376
  attempt: Scalars['Int']['input'];
@@ -79419,6 +79642,114 @@ export type OperationContext = {
79419
79642
  /** Workspace ID for workspace-level scoping */
79420
79643
  workspaceId?: Maybe<Scalars['ID']['output']>;
79421
79644
  };
79645
+ /** Why a suggestion was dismissed. NOT_APPLICABLE lowers the ranking of the same kind in this workspace. */
79646
+ export declare enum OptimisationDismissReason {
79647
+ AcceptedCost = "ACCEPTED_COST",
79648
+ NotApplicable = "NOT_APPLICABLE",
79649
+ Other = "OTHER",
79650
+ WillFixLater = "WILL_FIX_LATER"
79651
+ }
79652
+ /** What a suggestion proposes. */
79653
+ export declare enum OptimisationKind {
79654
+ /** A node fails on temporary errors (TRANSIENT, DEPENDENCY, TIMEOUT) and never retries. */
79655
+ AddRetry = "ADD_RETRY",
79656
+ /** A cheaper model class scores as well on the workflow's evaluation set. Not detected yet. */
79657
+ CheaperModel = "CHEAPER_MODEL",
79658
+ /** Most of a model node's calls repeat an earlier input. Evidence only until model nodes can cache responses. */
79659
+ EnableCache = "ENABLE_CACHE",
79660
+ /** A production agent node has no guardrail policy. Not detected yet. */
79661
+ MissingGuardrail = "MISSING_GUARDRAIL",
79662
+ /** A node fails on its own configured timeout often enough that a longer one would let it finish. */
79663
+ RaiseTimeout = "RAISE_TIMEOUT",
79664
+ /** A node of the active version never ran across many completed production runs. */
79665
+ UnusedNode = "UNUSED_NODE"
79666
+ }
79667
+ export type OptimisationScanResult = {
79668
+ __typename?: 'OptimisationScanResult';
79669
+ created: Scalars['Int']['output'];
79670
+ /** New suggestions held back by the per-scan cap of 50; a later scan stores them. */
79671
+ deferred: Scalars['Int']['output'];
79672
+ openSuggestions: Scalars['Int']['output'];
79673
+ /** not_enabled or flag_off when skipped. */
79674
+ reason?: Maybe<Scalars['String']['output']>;
79675
+ reopened: Scalars['Int']['output'];
79676
+ resolved: Scalars['Int']['output'];
79677
+ skipped: Scalars['Boolean']['output'];
79678
+ updated: Scalars['Int']['output'];
79679
+ workflowsScanned: Scalars['Int']['output'];
79680
+ };
79681
+ /** One suggestion for one node of one workflow, shared by the workspace's members. */
79682
+ export type OptimisationSuggestion = {
79683
+ __typename?: 'OptimisationSuggestion';
79684
+ /** What was seen and what the change does, in one sentence. */
79685
+ advice: Scalars['String']['output'];
79686
+ /** Whether Apply can build a canvas proposal for this kind now. */
79687
+ applicable: Scalars['Boolean']['output'];
79688
+ appliedAt?: Maybe<Scalars['DateTime']['output']>;
79689
+ appliedVersion?: Maybe<Scalars['String']['output']>;
79690
+ /** Why Apply is unavailable, when applicable is false. */
79691
+ applyBlockedReason?: Maybe<Scalars['String']['output']>;
79692
+ dismissNote?: Maybe<Scalars['String']['output']>;
79693
+ dismissReason?: Maybe<OptimisationDismissReason>;
79694
+ dismissedAt?: Maybe<Scalars['DateTime']['output']>;
79695
+ /** Estimated saving over a month in micro-USD; null when the change saves no model spend or the calls were unpriced. */
79696
+ estimatedMonthlySavingMicroUsd?: Maybe<Scalars['Float']['output']>;
79697
+ /**
79698
+ * The numbers behind the suggestion over the window (windowDays): for example executions, timeouts,
79699
+ * timeoutRate, currentTimeoutMs, p95CompletedMs and suggestedTimeoutMs (RAISE_TIMEOUT);
79700
+ * transientFailures, failuresByType and proposedRetry (ADD_RETRY); completedRuns and removedNodeIds
79701
+ * (UNUSED_NODE); calls, distinctInputs, repeatShare and costMicroUsd (ENABLE_CACHE). Never run data.
79702
+ */
79703
+ evidence: Scalars['JSON']['output'];
79704
+ firstSeenAt: Scalars['DateTime']['output'];
79705
+ id: Scalars['ID']['output'];
79706
+ /** Impact before this workspace's dismiss feedback: 1 point per cent saved a month, 5 per failed run avoided, 2 per node removed. */
79707
+ impact: Scalars['Float']['output'];
79708
+ kind: OptimisationKind;
79709
+ lastSeenAt: Scalars['DateTime']['output'];
79710
+ /** The node the suggestion is about (for UNUSED_NODE, the first node of the unused part). */
79711
+ nodeId: Scalars['String']['output'];
79712
+ nodeType?: Maybe<Scalars['String']['output']>;
79713
+ productId: Scalars['String']['output'];
79714
+ /** The latest OPTIMISE proposal made for it. Read it with workflowProposal(id); only the member who asked can. */
79715
+ proposalId?: Maybe<Scalars['ID']['output']>;
79716
+ proposedAt?: Maybe<Scalars['DateTime']['output']>;
79717
+ resolvedAt?: Maybe<Scalars['DateTime']['output']>;
79718
+ /** The newest runs behind the evidence, at most ten. */
79719
+ sampleRunIds: Array<Scalars['ID']['output']>;
79720
+ /** Ranking: impact lowered for kinds this workspace recently dismissed as not applicable. */
79721
+ score: Scalars['Float']['output'];
79722
+ snoozedUntil?: Maybe<Scalars['DateTime']['output']>;
79723
+ status: OptimisationSuggestionStatus;
79724
+ /** A short title for the kind. */
79725
+ title: Scalars['String']['output'];
79726
+ workflowKey: Scalars['String']['output'];
79727
+ workflowName?: Maybe<Scalars['String']['output']>;
79728
+ /** The ACTIVE version the evidence was read from. */
79729
+ workflowVersion: Scalars['String']['output'];
79730
+ };
79731
+ export type OptimisationSuggestionFilter = {
79732
+ kind?: InputMaybe<Array<OptimisationKind>>;
79733
+ /** Defaults to every status. */
79734
+ status?: InputMaybe<Array<OptimisationSuggestionStatus>>;
79735
+ workflowKey?: InputMaybe<Scalars['String']['input']>;
79736
+ };
79737
+ export type OptimisationSuggestionList = {
79738
+ __typename?: 'OptimisationSuggestionList';
79739
+ items: Array<OptimisationSuggestion>;
79740
+ total: Scalars['Int']['output'];
79741
+ };
79742
+ export declare enum OptimisationSuggestionStatus {
79743
+ /** Its proposal was applied as a new DRAFT version. */
79744
+ Applied = "APPLIED",
79745
+ /** Dismissed with a reason. A scan reopens it only when the evidence at least doubles. */
79746
+ Dismissed = "DISMISSED",
79747
+ Open = "OPEN",
79748
+ /** The last scan no longer saw the condition. */
79749
+ Resolved = "RESOLVED",
79750
+ /** Hidden until snoozedUntil. */
79751
+ Snoozed = "SNOOZED"
79752
+ }
79422
79753
  export type Order = {
79423
79754
  __typename?: 'Order';
79424
79755
  /** Sales channel: CSA_SUBSCRIPTION | WHOLESALE | FARMERS_MARKET | DIRECT */
@@ -87622,6 +87953,16 @@ export type PswAgedReceivables = {
87622
87953
  sixty: PswAgedReceivableBucket;
87623
87954
  thirty: PswAgedReceivableBucket;
87624
87955
  };
87956
+ /** One slice of a revenue distribution (practice area, client or engagement). id is null for the unassigned bucket (invoices with no engagement/practice area). */
87957
+ export type PswAnalyticsDistributionRow = {
87958
+ __typename?: 'PswAnalyticsDistributionRow';
87959
+ amount: Scalars['Float']['output'];
87960
+ id?: Maybe<Scalars['ID']['output']>;
87961
+ invoiceCount: Scalars['Int']['output'];
87962
+ label: Scalars['String']['output'];
87963
+ /** Share of totalInvoiced in the window, 0-100. */
87964
+ sharePct: Scalars['Float']['output'];
87965
+ };
87625
87966
  export type PswClient = {
87626
87967
  __typename?: 'PswClient';
87627
87968
  address?: Maybe<Scalars['String']['output']>;
@@ -87693,6 +88034,14 @@ export declare enum PswClientType {
87693
88034
  Individual = "INDIVIDUAL",
87694
88035
  Organization = "ORGANIZATION"
87695
88036
  }
88037
+ export type PswCollectionMonth = {
88038
+ __typename?: 'PswCollectionMonth';
88039
+ collected: Scalars['Float']['output'];
88040
+ collectionRate: Scalars['Float']['output'];
88041
+ invoiced: Scalars['Float']['output'];
88042
+ /** YYYY-MM */
88043
+ month: Scalars['String']['output'];
88044
+ };
87696
88045
  export type PswComplianceCheck = {
87697
88046
  __typename?: 'PswComplianceCheck';
87698
88047
  createdAt: Scalars['DateTime']['output'];
@@ -87861,6 +88210,7 @@ export type PswCreateInvoiceInput = {
87861
88210
  dueDate?: InputMaybe<Scalars['DateTime']['input']>;
87862
88211
  engagementId?: InputMaybe<Scalars['ID']['input']>;
87863
88212
  issueDate?: InputMaybe<Scalars['DateTime']['input']>;
88213
+ /** Manually entered lines: [{ description, quantity, rate, amount? }]. When supplied, subtotal and total are derived from the lines (a supplied subtotal or total must match). Cannot be combined with timeEntryIds or milestoneIds. */
87864
88214
  lineItems?: InputMaybe<Scalars['JSON']['input']>;
87865
88215
  milestoneIds?: InputMaybe<Array<Scalars['ID']['input']>>;
87866
88216
  notes?: InputMaybe<Scalars['String']['input']>;
@@ -88503,6 +88853,40 @@ export type PswPageInfo = {
88503
88853
  cursor?: Maybe<Scalars['String']['output']>;
88504
88854
  hasMore: Scalars['Boolean']['output'];
88505
88855
  };
88856
+ export type PswPracticeAnalytics = {
88857
+ __typename?: 'PswPracticeAnalytics';
88858
+ activePractitioners: Scalars['Int']['output'];
88859
+ agedReceivables: PswAgedReceivables;
88860
+ billableHours: Scalars['Float']['output'];
88861
+ /** billableHours / totalHours, 0-100. */
88862
+ billableMixPct: Scalars['Float']['output'];
88863
+ /** activePractitioners x weeks in window x capacityHoursPerWeek. */
88864
+ capacityHours: Scalars['Float']['output'];
88865
+ capacityHoursPerWeek: Scalars['Float']['output'];
88866
+ collectionByMonth: Array<PswCollectionMonth>;
88867
+ /** totalCollected / totalInvoiced, 0-100. */
88868
+ collectionRate: Scalars['Float']['output'];
88869
+ /** Currency of every monetary figure; rows in other currencies are excluded (no FX conversion). */
88870
+ currency: Scalars['String']['output'];
88871
+ invoiceCount: Scalars['Int']['output'];
88872
+ months: Scalars['Int']['output'];
88873
+ nonBillableHours: Scalars['Float']['output'];
88874
+ outstandingInWindow: Scalars['Float']['output'];
88875
+ /** Top 10 clients by billed amount. */
88876
+ revenueByClient: Array<PswAnalyticsDistributionRow>;
88877
+ /** Top 10 engagements by billed amount. */
88878
+ revenueByEngagement: Array<PswAnalyticsDistributionRow>;
88879
+ revenueByPracticeArea: Array<PswAnalyticsDistributionRow>;
88880
+ timeToPayment: PswTimeToPayment;
88881
+ totalCollected: Scalars['Float']['output'];
88882
+ totalHours: Scalars['Float']['output'];
88883
+ /** Total of SENT, OVERDUE and PAID invoices issued in the window. */
88884
+ totalInvoiced: Scalars['Float']['output'];
88885
+ /** billableHours / capacityHours, 0-100. */
88886
+ utilizationRate: Scalars['Float']['output'];
88887
+ windowStart: Scalars['DateTime']['output'];
88888
+ workInProgress: PswWorkInProgress;
88889
+ };
88506
88890
  export type PswPracticeArea = {
88507
88891
  __typename?: 'PswPracticeArea';
88508
88892
  code?: Maybe<Scalars['String']['output']>;
@@ -88815,6 +89199,13 @@ export declare enum PswTimeEntryStatus {
88815
89199
  Rejected = "REJECTED",
88816
89200
  Submitted = "SUBMITTED"
88817
89201
  }
89202
+ export type PswTimeToPayment = {
89203
+ __typename?: 'PswTimeToPayment';
89204
+ /** Average days from sending (or issue) to payment; null when nothing was paid in the window. */
89205
+ averageDays?: Maybe<Scalars['Float']['output']>;
89206
+ medianDays?: Maybe<Scalars['Float']['output']>;
89207
+ paidInvoiceCount: Scalars['Int']['output'];
89208
+ };
88818
89209
  export type PswTrustAccount = {
88819
89210
  __typename?: 'PswTrustAccount';
88820
89211
  accountNumberLast4?: Maybe<Scalars['String']['output']>;
@@ -88956,6 +89347,11 @@ export type PswUpdateEngagementInput = {
88956
89347
  startDate?: InputMaybe<Scalars['DateTime']['input']>;
88957
89348
  tags?: InputMaybe<Array<Scalars['String']['input']>>;
88958
89349
  };
89350
+ /** Replaces the manually entered line items of a DRAFT invoice. Each line is { description, quantity, rate } (an optional amount must equal quantity x rate rounded to cents); subtotal and total are recomputed server-side. Omit taxAmount to keep the current tax. */
89351
+ export type PswUpdateInvoiceInput = {
89352
+ lineItems: Scalars['JSON']['input'];
89353
+ taxAmount?: InputMaybe<Scalars['Float']['input']>;
89354
+ };
88959
89355
  export type PswUpdateMatterInput = {
88960
89356
  description?: InputMaybe<Scalars['String']['input']>;
88961
89357
  dueDate?: InputMaybe<Scalars['DateTime']['input']>;
@@ -88995,6 +89391,14 @@ export type PswUpdateTimeEntryInput = {
88995
89391
  narrative?: InputMaybe<Scalars['String']['input']>;
88996
89392
  rate?: InputMaybe<Scalars['Float']['input']>;
88997
89393
  };
89394
+ /** Billable, unbilled, non-rejected time not yet attached to an invoice (current balance). */
89395
+ export type PswWorkInProgress = {
89396
+ __typename?: 'PswWorkInProgress';
89397
+ entryCount: Scalars['Int']['output'];
89398
+ hours: Scalars['Float']['output'];
89399
+ oldestEntryDate?: Maybe<Scalars['DateTime']['output']>;
89400
+ value: Scalars['Float']['output'];
89401
+ };
88998
89402
  export type PswWriteOff = {
88999
89403
  __typename?: 'PswWriteOff';
89000
89404
  actorId: Scalars['ID']['output'];
@@ -89447,6 +89851,8 @@ export type Query = {
89447
89851
  availableSandboxTags: Array<SandboxAvailableTag>;
89448
89852
  /** List assignable tags in the workspace */
89449
89853
  availableVibecontrolsTags: Array<AvailableTag>;
89854
+ /** The caller's BigConsole settings in the request workspace. Self-scoped: the owner is always the calling actor and the workspace is always the request workspace, so the field takes no identity arguments. */
89855
+ bigConsoleSettings: BigConsoleSettings;
89450
89856
  bigconsoleEntityTags: Array<BigConsoleTagAssignment>;
89451
89857
  /**
89452
89858
  * Get billing summary with cost estimation
@@ -89538,15 +89944,18 @@ export type Query = {
89538
89944
  /** Machine-only published course source export; not a learner access grant. */
89539
89945
  buiCourseKnowledgeSources: BuiCourseKnowledgeSourcePage;
89540
89946
  buiEnrollment?: Maybe<BuiEnrollment>;
89947
+ /** Service-only (BOFF-10480): the canonical state of the given source records, for the source product's parity check. Ids with no canonical row are simply absent from the result. */
89948
+ buiExternalSyncRecords: Array<BuiExternalSyncRecord>;
89541
89949
  /** Liveness/identity probe for the Buildmyiq subgraph. */
89542
89950
  buiHealth: Scalars['String']['output'];
89543
89951
  buiListAssessments: BuiAssessmentConnection;
89544
- /** Workspace-wide certificate list (instructors/facilitators/admins only — see `buildmyiq-certificate` action defaults, `viewerDefault: false` on `list`/`read`). Learners viewing their own credentials MUST use `buiMyCertificates` instead. No `learnerId` arg (BOFF FERPA/IDOR hardening): the elevated instructor/admin list shows the whole workspace; a learner's own credentials come from the self-scoped `buiMyCertificates`. */
89952
+ /** Workspace-wide certificate list (instructors/facilitators/admins only — see `buildmyiq-certificate` action defaults, `viewerDefault: false` on `list`/`read`). Learners viewing their own credentials MUST use `buiMyCertificates` instead. No `learnerId` arg (BOFF FERPA/IDOR hardening): the elevated instructor/admin list shows the whole workspace; a learner's own credentials come from the self-scoped `buiMyCertificates`. `source` (BOFF-10481) narrows the list to the certificates mirrored from one product; omit it to list native and mirrored certificates alike. */
89545
89953
  buiListCertificates: BuiCertificateConnection;
89546
89954
  buiListCertifications: BuiCertificationConnection;
89547
89955
  buiListCohorts: BuiCohortConnection;
89956
+ /** Courses in the workspace. `source` (BOFF-10481) narrows the list to the courses mirrored from one product, so a product's own catalog (for example TechnoSpam's) never lists the workspace's native BuildMyIQ courses. Omit it to list every course, native and mirrored alike. */
89548
89957
  buiListCourses: BuiCourseConnection;
89549
- /** Workspace-wide enrollment list (instructors/facilitators/admins only — see `buildmyiq-enrollment` action defaults in wspace-rbac-svc's seed, which set `viewerDefault: false` on `list`/`read` so a plain workspace Viewer cannot enumerate every learner's enrollments). Learners viewing their own enrollments MUST use `buiMyEnrollments`/`buiMyEnrollment` instead. No `learnerId` arg (BOFF FERPA/IDOR hardening): the elevated instructor/admin list shows the whole workspace and is filtered client-side; a learner's own enrollments come from the self-scoped `buiMyEnrollments`. The single-learner M2M point read remains available via `buiCourseEnrollment` for consuming subgraphs. */
89958
+ /** Workspace-wide enrollment list (instructors/facilitators/admins only — see `buildmyiq-enrollment` action defaults in wspace-rbac-svc's seed, which set `viewerDefault: false` on `list`/`read` so a plain workspace Viewer cannot enumerate every learner's enrollments). Learners viewing their own enrollments MUST use `buiMyEnrollments`/`buiMyEnrollment` instead. No `learnerId` arg (BOFF FERPA/IDOR hardening): the elevated instructor/admin list shows the whole workspace and is filtered client-side; a learner's own enrollments come from the self-scoped `buiMyEnrollments`. The single-learner M2M point read remains available via `buiCourseEnrollment` for consuming subgraphs. `source` (BOFF-10481) narrows the list to the enrollments mirrored from one product; omit it to list native and mirrored enrollments alike. */
89550
89959
  buiListEnrollments: BuiEnrollmentConnection;
89551
89960
  buiListLessons: BuiLessonConnection;
89552
89961
  buiListModules: BuiModuleConnection;
@@ -89568,7 +89977,9 @@ export type Query = {
89568
89977
  buiLtiResourceLinks: Array<BuiLtiResourceLink>;
89569
89978
  /** Last-synced NRPS roster for one LTI placement's course context. */
89570
89979
  buiLtiRoster: Array<BuiLtiRosterMember>;
89571
- /** Type-C self-scoped list: the calling learner's own certificates. No `learnerId` arg — see `buiListCertificates` for the workspace-wide/ instructor equivalent. */
89980
+ /** Type-B self-scoped single lookup (BOFF-10481): `id` identifies the certificate, but the resolver owner-filters by `ctx.actor.id` (`learnerId`) and returns null (never FORBIDDEN) when it does not exist or belongs to someone else, so existence is never leaked. */
89981
+ buiMyCertificate?: Maybe<BuiCertificate>;
89982
+ /** Type-C self-scoped list: the calling learner's own certificates. No `learnerId` arg — see `buiListCertificates` for the workspace-wide/ instructor equivalent. `source` (BOFF-10481) narrows the list to the certificates mirrored from one product. */
89572
89983
  buiMyCertificates: BuiCertificateConnection;
89573
89984
  /** Live course access for the authenticated learner; unavailable courses return false. */
89574
89985
  buiMyCourseAccess: BuiLearnerCourseAccess;
@@ -89579,7 +89990,7 @@ export type Query = {
89579
89990
  buiMyCourseAssistantTurn?: Maybe<BuiCourseAssistantTurn>;
89580
89991
  /** Type-B self-scoped single lookup: `id` identifies the enrollment, but the resolver owner-filters by `ctx.actor.id` (`learnerId`) and returns null (never leaks FORBIDDEN) if the caller doesn't own it. */
89581
89992
  buiMyEnrollment?: Maybe<BuiEnrollment>;
89582
- /** Type-C self-scoped list: the calling learner's own enrollments. No `learnerId` arg — identity comes from the authenticated actor (`ctx.actor.id`), never from client input (BOFF FERPA/IDOR fix — see `buiListEnrollments` for the workspace-wide/instructor equivalent). */
89993
+ /** Type-C self-scoped list: the calling learner's own enrollments. No `learnerId` arg — identity comes from the authenticated actor (`ctx.actor.id`), never from client input (BOFF FERPA/IDOR fix — see `buiListEnrollments` for the workspace-wide/instructor equivalent). `source` (BOFF-10481) narrows the list to the enrollments mirrored from one product (for example the learner's TechnoSpam enrollments). */
89583
89994
  buiMyEnrollments: BuiEnrollmentConnection;
89584
89995
  /** Type-C self-scoped lookup: the calling learner's own current (most recent, unexpired) proctoring session for an assessment. No `learnerId` arg — identity comes from the authenticated actor, never client input. */
89585
89996
  buiMyProctoringSession?: Maybe<BuiProctoringSession>;
@@ -89779,6 +90190,8 @@ export type Query = {
89779
90190
  * its owner before saving it (BOFF-9726).
89780
90191
  */
89781
90192
  connectionsNotUsableBy: Array<Scalars['ID']['output']>;
90193
+ /** Whether continuous optimisation is on for this workspace, and the system workflows it seeded. */
90194
+ continuousOptimisationSettings: ContinuousOptimisationSettings;
89782
90195
  conversation?: Maybe<Conversation>;
89783
90196
  conversationCapabilities: ConversationFeatures;
89784
90197
  conversations: ConversationConnection;
@@ -91954,6 +92367,10 @@ export type Query = {
91954
92367
  operationConfig?: Maybe<OperationConfig>;
91955
92368
  /** Get list of operation configurations */
91956
92369
  operationConfigs: OperationConfigsListResponse;
92370
+ /** One optimisation suggestion of this workspace. Any other id is NOT_FOUND. */
92371
+ optimisationSuggestion: OptimisationSuggestion;
92372
+ /** The workspace's optimisation suggestions, best first. */
92373
+ optimisationSuggestions: OptimisationSuggestionList;
91957
92374
  /** Get total count of organizations (for analytics) */
91958
92375
  organizationCount: Scalars['Int']['output'];
91959
92376
  parser?: Maybe<Parser>;
@@ -92400,6 +92817,8 @@ export type Query = {
92400
92817
  /** Signature requests awaiting THIS actor's signature — self-scoped (Type C): the ctx.actorId filter IS the access control. */
92401
92818
  pswMyPendingSignatureRequests: PswSignatureSignerConnection;
92402
92819
  pswObligationReminder?: Maybe<PswObligationReminder>;
92820
+ /** Practice KPIs for the current workspace: collection rate, utilization, revenue by practice area/client/engagement, time to payment, WIP and aged receivables. Monetary figures cover one currency (USD by default); months is clamped to 1-36 and capacityHoursPerWeek to 1-80. */
92821
+ pswPracticeAnalytics: PswPracticeAnalytics;
92403
92822
  pswPracticeArea?: Maybe<PswPracticeArea>;
92404
92823
  pswPractitioner?: Maybe<PswPractitioner>;
92405
92824
  pswPractitionerCredential?: Maybe<PswPractitionerCredential>;
@@ -92750,11 +93169,13 @@ export type Query = {
92750
93169
  tecCalculateSessionCost: TecSessionCostEstimate;
92751
93170
  /** BOFF-10480: compare up to `limit` (default 200, max 200) records of each kind in the calling workspace with their canonical Buildmyiq records. Read-only; the background parity check repairs drift on its own schedule. */
92752
93171
  tecCanonicalLmsParity: TecCanonicalParityReport;
92753
- /** A single certificate by id, for the instructor/admin view (BOFF-3863). Same "list-all" gating as tecListCertificates. A learner reading their own certificate must use tecMyCertificate instead. */
93172
+ /** A single certificate by id, for the instructor/admin view (BOFF-3863). Same "list-all" gating as tecListCertificates. A learner reading their own certificate must use buiMyCertificate instead. */
92754
93173
  tecCertificate?: Maybe<TecCertificate>;
92755
93174
  tecCourse?: Maybe<TecCourse>;
92756
- /** A single enrollment by id, for the instructor/admin view (BOFF-3863). Gated behind "list-all" like tecListEnrollments, because it can return any learner's enrollment. A learner reading their own enrollment must use tecMyEnrollment instead. Returns null for an id outside the workspace. */
93175
+ /** A single enrollment by id, for the instructor/admin view (BOFF-3863). Gated behind "list-all" like tecListEnrollments, because it can return any learner's enrollment. A learner reading their own enrollment must use buiMyEnrollment instead. Returns null for an id outside the workspace. */
92757
93176
  tecEnrollment?: Maybe<TecEnrollment>;
93177
+ /** Export the workspace's learner activity as xAPI statements (BOFF-4430): enrollments (registered), lesson completions (completed), course completions (completed), certificates (passed) and certificate revocations (voided). `since` is inclusive, `until` exclusive; `limit` defaults to 200 and is capped at 1000. Same "list-all" gate as tecListEnrollments, because it covers every learner in the workspace. */
93178
+ tecExportXapiStatements: TecXapiStatementPage;
92758
93179
  tecHackathon?: Maybe<TecHackathon>;
92759
93180
  /** Liveness/identity probe for the Technospam subgraph. */
92760
93181
  tecHealth: Scalars['String']['output'];
@@ -92762,10 +93183,10 @@ export type Query = {
92762
93183
  tecLesson?: Maybe<TecLesson>;
92763
93184
  /** Lesson-author view of a QUIZ lesson including the answer key (BOFF-4107). Gated on technospam-lesson update, the same permission that edits it, so a learner can never read the key. Empty for a lesson without a quiz. */
92764
93185
  tecLessonQuizKey: Array<TecQuizQuestionKey>;
92765
- /** Cross-learner, instructor/admin view of certificates — same "list-all" gating as tecListEnrollments. A learner viewing their own certificates must use tecMyCertificates instead. */
93186
+ /** Cross-learner, instructor/admin view of certificates — same "list-all" gating as tecListEnrollments. A learner viewing their own certificates must use buiMyCertificates(source: TECHNOSPAM) instead. */
92766
93187
  tecListCertificates: Array<TecCertificate>;
92767
93188
  tecListCourses: TecCourseConnection;
92768
- /** startDate/endDate filter enrollments by createdAt (inclusive), used to power the analytics page's date-range picker. This is the cross-learner, instructor/admin view — it returns every learner's enrollments in the workspace (optionally filtered to one learnerId). Gated behind the "list-all" action, which is NOT granted to the plain Viewer role by default. A learner viewing their own enrollments must use tecMyEnrollments instead. */
93189
+ /** startDate/endDate filter enrollments by createdAt (inclusive), used to power the analytics page's date-range picker. This is the cross-learner, instructor/admin view — it returns every learner's enrollments in the workspace (optionally filtered to one learnerId). Gated behind the "list-all" action, which is NOT granted to the plain Viewer role by default. A learner viewing their own enrollments must use buiMyEnrollments(source: TECHNOSPAM) instead. */
92769
93190
  tecListEnrollments: TecEnrollmentConnection;
92770
93191
  tecListHackathons: TecHackathonConnection;
92771
93192
  tecListLessons: TecLessonConnection;
@@ -92783,13 +93204,25 @@ export type Query = {
92783
93204
  tecListSubmissions: TecSubmissionConnection;
92784
93205
  tecListTeams: TecHackathonTeamConnection;
92785
93206
  tecMentor?: Maybe<TecMentor>;
92786
- /** One of the calling learner's own certificates (BOFF-3863). Self-scoped (Type B): owner-filtered by the authenticated actor; null otherwise. */
93207
+ /**
93208
+ * One of the calling learner's own certificates (BOFF-3863). Self-scoped (Type B): owner-filtered by the authenticated actor; null otherwise.
93209
+ * @deprecated Use buiMyCertificate(id: <TecCertificate.buiCertificateId>). Deprecated 2026-10-31 (BOFF-10481, OVL-24); removal no earlier than 2027-01-29.
93210
+ */
92787
93211
  tecMyCertificate?: Maybe<TecCertificate>;
92788
- /** The calling learner's own certificates. Self-scoped (Type C): identity comes from the authenticated actor, never from a client-supplied argument — the resolver forces learnerId = ctx.actor.id server-side. */
93212
+ /**
93213
+ * The calling learner's own certificates. Self-scoped (Type C): identity comes from the authenticated actor, never from a client-supplied argument — the resolver forces learnerId = ctx.actor.id server-side.
93214
+ * @deprecated Use buiMyCertificates(source: TECHNOSPAM); the Technospam view is on BuiCertificate.technospamCertificate and technospamRevokeReason. Deprecated 2026-10-31 (BOFF-10481, OVL-24); removal no earlier than 2027-01-29.
93215
+ */
92789
93216
  tecMyCertificates: Array<TecCertificate>;
92790
- /** One of the calling learner's own enrollments (BOFF-3863). Self-scoped (Type B): the id is a client argument, but the resolver owner-filters by the authenticated actor and returns null for an enrollment that does not exist or belongs to someone else, so existence is never leaked. */
93217
+ /**
93218
+ * One of the calling learner's own enrollments (BOFF-3863). Self-scoped (Type B): the id is a client argument, but the resolver owner-filters by the authenticated actor and returns null for an enrollment that does not exist or belongs to someone else, so existence is never leaked.
93219
+ * @deprecated Use buiMyEnrollment(id: <TecEnrollment.buiEnrollmentId>). Deprecated 2026-10-31 (BOFF-10481, OVL-24); removal no earlier than 2027-01-29.
93220
+ */
92791
93221
  tecMyEnrollment?: Maybe<TecEnrollment>;
92792
- /** The calling learner's own enrollments. Self-scoped (Type C): identity comes from the authenticated actor, never from a client-supplied argument — the resolver forces learnerId = ctx.actor.id server-side. */
93222
+ /**
93223
+ * The calling learner's own enrollments. Self-scoped (Type C): identity comes from the authenticated actor, never from a client-supplied argument — the resolver forces learnerId = ctx.actor.id server-side.
93224
+ * @deprecated Use buiMyEnrollments(source: TECHNOSPAM); the Technospam view is on BuiEnrollment.technospamEnrollment, technospamNextLessonId and technospamCompletions. Deprecated 2026-10-31 (BOFF-10481, OVL-24); removal no earlier than 2027-01-29.
93225
+ */
92793
93226
  tecMyEnrollments: TecEnrollmentConnection;
92794
93227
  /** Return the most recent acceptance of each type for the calling actor in the current workspace. Self-scoped: result is always filtered by ctx.actorId. */
92795
93228
  tecMyLegalAcceptances: Array<TecLegalAcceptance>;
@@ -92820,6 +93253,10 @@ export type Query = {
92820
93253
  tecSubmission?: Maybe<TecSubmission>;
92821
93254
  /** A single hackathon team by id (BOFF-3863). Same read gate as tecListTeams. Returns null for an id outside the caller's workspace. */
92822
93255
  tecTeam?: Maybe<TecHackathonTeam>;
93256
+ /** Public certificate verification for ATS partners and recruiters (BOFF-4430). Returns NOT_FOUND for an unknown serial. */
93257
+ tecVerifyCertificate: TecCertificateVerification;
93258
+ /** Batch variant of tecVerifyCertificate for ATS integrations that verify a whole candidate pipeline at once. At most 25 serials per call; duplicates are collapsed and results keep the request order. */
93259
+ tecVerifyCertificates: Array<TecCertificateVerification>;
92823
93260
  testParserExpression: ParserTestResult;
92824
93261
  theAsset?: Maybe<TheAsset>;
92825
93262
  theComplianceCert?: Maybe<TheComplianceCert>;
@@ -92856,6 +93293,8 @@ export type Query = {
92856
93293
  /** The OAuth-backed sources a capture channel can pull from. */
92857
93294
  timeCampusCapturePullProviders: Array<TimeCampusCapturePullProvider>;
92858
93295
  timeCampusDataErasureRequests: Array<TimeCampusDataErasureRequest>;
93296
+ /** Current state of a TimeCampus export job started in the caller's workspace. Returns null when the job does not exist, belongs to another workspace, or is not a TimeCampus export. */
93297
+ timeCampusExportJob?: Maybe<TimeCampusExportJob>;
92859
93298
  timeCampusFeatureFlags: TimeCampusFeatureFlagList;
92860
93299
  /** Adaptive focus-block suggestions for one local day. `dayStart` is the instant of the caller's local midnight for that day (yesterday up to 14 days ahead). Ranked from the caller's own work patterns, meetings and past focus sessions; slots already accepted, snoozed or dismissed are excluded. */
92861
93300
  timeCampusFocusBlockSuggestions: Array<TimeCampusFocusBlockSuggestion>;
@@ -94272,6 +94711,10 @@ export type QueryBuiEnrollmentArgs = {
94272
94711
  id: Scalars['ID']['input'];
94273
94712
  };
94274
94713
  /** Base Query type with placeholder field. Extended by individual query files. */
94714
+ export type QueryBuiExternalSyncRecordsArgs = {
94715
+ input: BuiExternalSyncRecordsInput;
94716
+ };
94717
+ /** Base Query type with placeholder field. Extended by individual query files. */
94275
94718
  export type QueryBuiListAssessmentsArgs = {
94276
94719
  courseId: Scalars['ID']['input'];
94277
94720
  pagination?: InputMaybe<PaginationInput>;
@@ -94281,6 +94724,7 @@ export type QueryBuiListAssessmentsArgs = {
94281
94724
  export type QueryBuiListCertificatesArgs = {
94282
94725
  courseId?: InputMaybe<Scalars['ID']['input']>;
94283
94726
  pagination?: InputMaybe<PaginationInput>;
94727
+ source?: InputMaybe<BuiExternalSource>;
94284
94728
  };
94285
94729
  /** Base Query type with placeholder field. Extended by individual query files. */
94286
94730
  export type QueryBuiListCertificationsArgs = {
@@ -94297,12 +94741,14 @@ export type QueryBuiListCohortsArgs = {
94297
94741
  export type QueryBuiListCoursesArgs = {
94298
94742
  level?: InputMaybe<BuiCourseLevel>;
94299
94743
  pagination?: InputMaybe<PaginationInput>;
94744
+ source?: InputMaybe<BuiExternalSource>;
94300
94745
  status?: InputMaybe<BuiCourseStatus>;
94301
94746
  };
94302
94747
  /** Base Query type with placeholder field. Extended by individual query files. */
94303
94748
  export type QueryBuiListEnrollmentsArgs = {
94304
94749
  courseId?: InputMaybe<Scalars['ID']['input']>;
94305
94750
  pagination?: InputMaybe<PaginationInput>;
94751
+ source?: InputMaybe<BuiExternalSource>;
94306
94752
  status?: InputMaybe<BuiEnrollmentStatus>;
94307
94753
  };
94308
94754
  /** Base Query type with placeholder field. Extended by individual query files. */
@@ -94362,9 +94808,14 @@ export type QueryBuiLtiRosterArgs = {
94362
94808
  resourceLinkId: Scalars['ID']['input'];
94363
94809
  };
94364
94810
  /** Base Query type with placeholder field. Extended by individual query files. */
94811
+ export type QueryBuiMyCertificateArgs = {
94812
+ id: Scalars['ID']['input'];
94813
+ };
94814
+ /** Base Query type with placeholder field. Extended by individual query files. */
94365
94815
  export type QueryBuiMyCertificatesArgs = {
94366
94816
  courseId?: InputMaybe<Scalars['ID']['input']>;
94367
94817
  pagination?: InputMaybe<PaginationInput>;
94818
+ source?: InputMaybe<BuiExternalSource>;
94368
94819
  };
94369
94820
  /** Base Query type with placeholder field. Extended by individual query files. */
94370
94821
  export type QueryBuiMyCourseAccessArgs = {
@@ -94403,6 +94854,7 @@ export type QueryBuiMyEnrollmentArgs = {
94403
94854
  export type QueryBuiMyEnrollmentsArgs = {
94404
94855
  courseId?: InputMaybe<Scalars['ID']['input']>;
94405
94856
  pagination?: InputMaybe<PaginationInput>;
94857
+ source?: InputMaybe<BuiExternalSource>;
94406
94858
  status?: InputMaybe<BuiEnrollmentStatus>;
94407
94859
  };
94408
94860
  /** Base Query type with placeholder field. Extended by individual query files. */
@@ -101968,6 +102420,16 @@ export type QueryOperationConfigsArgs = {
101968
102420
  pagination?: InputMaybe<WorkflowPaginationInput>;
101969
102421
  };
101970
102422
  /** Base Query type with placeholder field. Extended by individual query files. */
102423
+ export type QueryOptimisationSuggestionArgs = {
102424
+ id: Scalars['ID']['input'];
102425
+ };
102426
+ /** Base Query type with placeholder field. Extended by individual query files. */
102427
+ export type QueryOptimisationSuggestionsArgs = {
102428
+ filter?: InputMaybe<OptimisationSuggestionFilter>;
102429
+ limit?: InputMaybe<Scalars['Int']['input']>;
102430
+ offset?: InputMaybe<Scalars['Int']['input']>;
102431
+ };
102432
+ /** Base Query type with placeholder field. Extended by individual query files. */
101971
102433
  export type QueryParserArgs = {
101972
102434
  id: Scalars['ID']['input'];
101973
102435
  };
@@ -103268,6 +103730,12 @@ export type QueryPswObligationReminderArgs = {
103268
103730
  id: Scalars['ID']['input'];
103269
103731
  };
103270
103732
  /** Base Query type with placeholder field. Extended by individual query files. */
103733
+ export type QueryPswPracticeAnalyticsArgs = {
103734
+ capacityHoursPerWeek?: InputMaybe<Scalars['Float']['input']>;
103735
+ currency?: InputMaybe<Scalars['String']['input']>;
103736
+ months?: InputMaybe<Scalars['Int']['input']>;
103737
+ };
103738
+ /** Base Query type with placeholder field. Extended by individual query files. */
103271
103739
  export type QueryPswPracticeAreaArgs = {
103272
103740
  id: Scalars['ID']['input'];
103273
103741
  };
@@ -104342,6 +104810,13 @@ export type QueryTecEnrollmentArgs = {
104342
104810
  id: Scalars['ID']['input'];
104343
104811
  };
104344
104812
  /** Base Query type with placeholder field. Extended by individual query files. */
104813
+ export type QueryTecExportXapiStatementsArgs = {
104814
+ courseId?: InputMaybe<Scalars['ID']['input']>;
104815
+ limit?: InputMaybe<Scalars['Int']['input']>;
104816
+ since?: InputMaybe<Scalars['DateTime']['input']>;
104817
+ until?: InputMaybe<Scalars['DateTime']['input']>;
104818
+ };
104819
+ /** Base Query type with placeholder field. Extended by individual query files. */
104345
104820
  export type QueryTecHackathonArgs = {
104346
104821
  id: Scalars['ID']['input'];
104347
104822
  };
@@ -104514,6 +104989,14 @@ export type QueryTecTeamArgs = {
104514
104989
  id: Scalars['ID']['input'];
104515
104990
  };
104516
104991
  /** Base Query type with placeholder field. Extended by individual query files. */
104992
+ export type QueryTecVerifyCertificateArgs = {
104993
+ serial: Scalars['String']['input'];
104994
+ };
104995
+ /** Base Query type with placeholder field. Extended by individual query files. */
104996
+ export type QueryTecVerifyCertificatesArgs = {
104997
+ serials: Array<Scalars['String']['input']>;
104998
+ };
104999
+ /** Base Query type with placeholder field. Extended by individual query files. */
104517
105000
  export type QueryTestParserExpressionArgs = {
104518
105001
  input: TestParserInput;
104519
105002
  };
@@ -104647,6 +105130,10 @@ export type QueryTimeCampusDataErasureRequestsArgs = {
104647
105130
  workspaceId: Scalars['ID']['input'];
104648
105131
  };
104649
105132
  /** Base Query type with placeholder field. Extended by individual query files. */
105133
+ export type QueryTimeCampusExportJobArgs = {
105134
+ id: Scalars['ID']['input'];
105135
+ };
105136
+ /** Base Query type with placeholder field. Extended by individual query files. */
104650
105137
  export type QueryTimeCampusFeatureFlagsArgs = {
104651
105138
  workspaceId: Scalars['ID']['input'];
104652
105139
  };
@@ -115544,6 +116031,35 @@ export declare enum TecCertificateStatus {
115544
116031
  Issued = "ISSUED",
115545
116032
  Revoked = "REVOKED"
115546
116033
  }
116034
+ /** The public verification result for one certificate serial. Never includes the learner's identity or the revoke reason. */
116035
+ export type TecCertificateVerification = {
116036
+ __typename?: 'TecCertificateVerification';
116037
+ /** Course level (BEGINNER / INTERMEDIATE / ADVANCED); null when NOT_FOUND. */
116038
+ courseLevel?: Maybe<Scalars['String']['output']>;
116039
+ /** Title of the course the certificate was earned on; null when NOT_FOUND. */
116040
+ courseTitle?: Maybe<Scalars['String']['output']>;
116041
+ issuedAt?: Maybe<Scalars['DateTime']['output']>;
116042
+ /** Always "TechnoSpam" — the issuing product. */
116043
+ issuer: Scalars['String']['output'];
116044
+ revokedAt?: Maybe<Scalars['DateTime']['output']>;
116045
+ /** Final assessment score (0-100); null when NOT_FOUND. */
116046
+ score?: Maybe<Scalars['Int']['output']>;
116047
+ /** The serial that was checked, normalized (trimmed, upper-cased). */
116048
+ serial: Scalars['String']['output'];
116049
+ status: TecCertificateVerificationStatus;
116050
+ /** True only when status is VALID. */
116051
+ valid: Scalars['Boolean']['output'];
116052
+ /** When this verification was performed (server time). */
116053
+ verifiedAt: Scalars['DateTime']['output'];
116054
+ };
116055
+ export declare enum TecCertificateVerificationStatus {
116056
+ /** No certificate carries this serial. */
116057
+ NotFound = "NOT_FOUND",
116058
+ /** The serial belongs to a certificate that was revoked after issue. */
116059
+ Revoked = "REVOKED",
116060
+ /** The serial belongs to an issued certificate that has not been revoked. */
116061
+ Valid = "VALID"
116062
+ }
115547
116063
  export type TecCourse = {
115548
116064
  __typename?: 'TecCourse';
115549
116065
  /** BOFF-3134: id of the canonical course in Buildmyiq, the platform's LMS system of record. Null until the course has been mirrored there (normally within seconds of a write; the reconcile sweep catches up any backlog). */
@@ -116461,6 +116977,16 @@ export type TecUpdateStudyPlanStepStatusInput = {
116461
116977
  status: TecStudyPlanStepStatus;
116462
116978
  stepId: Scalars['ID']['input'];
116463
116979
  };
116980
+ /** One page of xAPI 1.0.3 statements. `statements` is an array of standard xAPI Statement objects ready to POST to an LRS `/statements` endpoint. When `hasMore` is true, request the next page with `since: nextSince` (statement ids are deterministic, so the one overlapping timestamp is de-duplicated by the LRS). */
116981
+ export type TecXapiStatementPage = {
116982
+ __typename?: 'TecXapiStatementPage';
116983
+ count: Scalars['Int']['output'];
116984
+ hasMore: Scalars['Boolean']['output'];
116985
+ nextSince?: Maybe<Scalars['DateTime']['output']>;
116986
+ statements: Array<Scalars['JSON']['output']>;
116987
+ /** xAPI version the statements conform to. */
116988
+ version: Scalars['String']['output'];
116989
+ };
116464
116990
  export declare enum TemplateCategory {
116465
116991
  CodeAssistant = "CODE_ASSISTANT",
116466
116992
  ContentCreation = "CONTENT_CREATION",
@@ -117636,11 +118162,18 @@ export declare enum TimeCampusExportFormat {
117636
118162
  }
117637
118163
  export type TimeCampusExportJob = {
117638
118164
  __typename?: 'TimeCampusExportJob';
118165
+ completedAt?: Maybe<Scalars['DateTime']['output']>;
117639
118166
  createdAt: Scalars['DateTime']['output'];
118167
+ downloadExpiresAt?: Maybe<Scalars['DateTime']['output']>;
118168
+ /** Pre-signed archive URL, present once the job is COMPLETED. */
117640
118169
  downloadUrl?: Maybe<Scalars['String']['output']>;
117641
118170
  entityTypes: Array<Scalars['String']['output']>;
118171
+ errorMessage?: Maybe<Scalars['String']['output']>;
117642
118172
  format: TimeCampusExportFormat;
117643
118173
  id: Scalars['ID']['output'];
118174
+ /** Completion percentage, 0-100. */
118175
+ progress?: Maybe<Scalars['Int']['output']>;
118176
+ /** CREATED, QUEUED, RUNNING, COMPLETED, FAILED, CANCELLED, EXPIRED or DELETED. */
117644
118177
  status: Scalars['String']['output'];
117645
118178
  workspaceId: Scalars['ID']['output'];
117646
118179
  };
@@ -118099,6 +118632,8 @@ export type TimeCampusLifeProfile = {
118099
118632
  hideRemainingWeeks: Scalars['Boolean']['output'];
118100
118633
  id: Scalars['ID']['output'];
118101
118634
  lifeExpectancyYears?: Maybe<Scalars['Int']['output']>;
118635
+ /** In-app theme picked on the settings page: light, dark, system, forest, ocean, sunset or high-contrast. Null until the user chooses one. */
118636
+ themePreference?: Maybe<Scalars['String']['output']>;
118102
118637
  timezone: Scalars['String']['output'];
118103
118638
  treatBreakAsSelfCare: Scalars['Boolean']['output'];
118104
118639
  updatedAt: Scalars['DateTime']['output'];
@@ -118114,6 +118649,8 @@ export type TimeCampusLifeProfileInput = {
118114
118649
  gridUnit?: InputMaybe<Scalars['String']['input']>;
118115
118650
  hideRemainingWeeks?: InputMaybe<Scalars['Boolean']['input']>;
118116
118651
  lifeExpectancyYears?: InputMaybe<Scalars['Int']['input']>;
118652
+ /** One of light, dark, system, forest, ocean, sunset or high-contrast; null clears the stored choice. */
118653
+ themePreference?: InputMaybe<Scalars['String']['input']>;
118117
118654
  timezone?: InputMaybe<Scalars['String']['input']>;
118118
118655
  treatBreakAsSelfCare?: InputMaybe<Scalars['Boolean']['input']>;
118119
118656
  weekStartsOn?: InputMaybe<Scalars['Int']['input']>;
@@ -127616,6 +128153,12 @@ export type WorkerRunAiInvocationInput = {
127616
128153
  /** "platform" for a platform-managed key, "byo" for the workspace's own provider key. */
127617
128154
  credentialSource: Scalars['String']['input'];
127618
128155
  finishedAt: Scalars['DateTime']['input'];
128156
+ /**
128157
+ * BOFF-9969: SHA-256 (64 lowercase hex) of the call's canonical model input, as defined in
128158
+ * wspace-workflow-svc src/modules/optimisation/core/input-fingerprint.ts. Never the input itself.
128159
+ * Equal fingerprints mark a repeated input (a response-cache candidate). Anything else is dropped.
128160
+ */
128161
+ inputFingerprint?: InputMaybe<Scalars['String']['input']>;
127619
128162
  /** Input tokens, including cached input. */
127620
128163
  inputTokens?: InputMaybe<Scalars['Float']['input']>;
127621
128164
  latencyMs?: InputMaybe<Scalars['Int']['input']>;
@@ -127694,6 +128237,22 @@ export type WorkerRunLogLineInput = {
127694
128237
  timestamp: Scalars['DateTime']['input'];
127695
128238
  truncated?: InputMaybe<Scalars['Boolean']['input']>;
127696
128239
  };
128240
+ export type WorkerRunOptimisationInput = {
128241
+ nodeId: Scalars['String']['input'];
128242
+ /** scan */
128243
+ operation: Scalars['String']['input'];
128244
+ /** The system workflow run executing the node. */
128245
+ runId: Scalars['ID']['input'];
128246
+ workspaceId: Scalars['ID']['input'];
128247
+ };
128248
+ export type WorkerRunOptimisationResponse = {
128249
+ __typename?: 'WorkerRunOptimisationResponse';
128250
+ error?: Maybe<Scalars['String']['output']>;
128251
+ errorCode?: Maybe<Scalars['String']['output']>;
128252
+ /** The step's output for the node (JSON object). */
128253
+ output?: Maybe<Scalars['JSON']['output']>;
128254
+ success: Scalars['Boolean']['output'];
128255
+ };
127697
128256
  export type WorkerRunStatusEntry = {
127698
128257
  __typename?: 'WorkerRunStatusEntry';
127699
128258
  /** How the run executes. The worker drops a graph job that reaches a DURABLE_FN run. */
@@ -128807,6 +129366,8 @@ export declare enum WorkflowProposalKind {
128807
129366
  Author = "AUTHOR",
128808
129367
  /** One more node after a chosen node */
128809
129368
  NextNode = "NEXT_NODE",
129369
+ /** The change behind a continuous-optimisation suggestion, built without a model call (proposeOptimisation) */
129370
+ Optimise = "OPTIMISE",
128810
129371
  /** A fix for a failed run */
128811
129372
  Repair = "REPAIR"
128812
129373
  }