@burdenoff/microfe-movethewheels 2026.1108.1 → 2026.1108.2

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.
@@ -13234,7 +13234,11 @@ export enum BuiAccessibilityTargetType {
13234
13234
  }
13235
13235
 
13236
13236
  export enum BuiAdminCopilotActionKind {
13237
- /** Turn on, adjust or turn off one of the ready-made L&D automations (`buiAutomations`): overdue reminders, the onboarding path or failed-assessment remediation (BOFF-9888). */
13237
+ /**
13238
+ * Turn on, adjust or turn off one of the ready-made L&D automations
13239
+ * (`buiAutomations`): overdue reminders, the onboarding path or
13240
+ * failed-assessment remediation (BOFF-9888).
13241
+ */
13238
13242
  CONFIGURE_AUTOMATION = 'CONFIGURE_AUTOMATION',
13239
13243
  /** Enroll the learners of a course or cohort into another published course. */
13240
13244
  ENROLL_LEARNERS = 'ENROLL_LEARNERS',
@@ -13275,7 +13279,12 @@ export type BuiAdminCopilotAnswer = {
13275
13279
  /** Proposals the model returned that failed validation and were dropped. */
13276
13280
  discardedActionCount: Scalars['Int']['output'];
13277
13281
  generatedAt: Scalars['DateTime']['output'];
13278
- /** Actions the copilot proposed for this question (BOFF-9687), already validated against the workspace and persisted as PROPOSED. Nothing has run: each one waits for the admin to confirm it with the matching `buiAdminCopilotExecute*Action` mutation or dismiss it. */
13282
+ /**
13283
+ * Actions the copilot proposed for this question (BOFF-9687), already
13284
+ * validated against the workspace and persisted as PROPOSED. Nothing has run:
13285
+ * each one waits for the admin to confirm it with the matching
13286
+ * `buiAdminCopilotExecute*Action` mutation or dismiss it.
13287
+ */
13279
13288
  proposedActions: Array<BuiAdminCopilotProposedAction>;
13280
13289
  };
13281
13290
 
@@ -13312,7 +13321,11 @@ export type BuiAdminCopilotProposedAction = {
13312
13321
  createdBy: Scalars['ID']['output'];
13313
13322
  dismissedAt?: Maybe<Scalars['DateTime']['output']>;
13314
13323
  errorMessage?: Maybe<Scalars['String']['output']>;
13315
- /** The live workspace figure the proposal is grounded in, for example how many enrollments are overdue. CONFIGURE_AUTOMATION only; `affectedCount` holds the same number. */
13324
+ /**
13325
+ * The live workspace figure the proposal is grounded in, for example how many
13326
+ * enrollments are overdue. CONFIGURE_AUTOMATION only; `affectedCount` holds
13327
+ * the same number.
13328
+ */
13316
13329
  evidence?: Maybe<Scalars['String']['output']>;
13317
13330
  executedAt?: Maybe<Scalars['DateTime']['output']>;
13318
13331
  expiresAt: Scalars['DateTime']['output'];
@@ -13384,7 +13397,11 @@ export type BuiApplyAssessmentDraftInput = {
13384
13397
  };
13385
13398
 
13386
13399
  export type BuiApplyCourseOutlineInput = {
13387
- /** Optional block-list re-checked at apply time, merged with the workspace's saved block-list: the course is not created if any title or description still mentions one of these terms. */
13400
+ /**
13401
+ * Optional block-list re-checked at apply time, merged with the workspace's
13402
+ * saved block-list: the course is not created if any title or description
13403
+ * still mentions one of these terms.
13404
+ */
13388
13405
  blockedTerms?: InputMaybe<Array<Scalars['String']['input']>>;
13389
13406
  level?: InputMaybe<BuiCourseLevel>;
13390
13407
  modules: Array<BuiCourseOutlineModuleInput>;
@@ -13395,7 +13412,11 @@ export type BuiApplyCourseOutlineInput = {
13395
13412
 
13396
13413
  export type BuiAssessment = {
13397
13414
  __typename?: 'BuiAssessment';
13398
- /** BOFF-9690: opt-in in-browser AI monitoring (camera face presence, multiple faces, looking away, sustained speech) on top of the human-reviewed proctoring gate. Only ever true when `requiresProctoring` is true. */
13415
+ /**
13416
+ * BOFF-9690: opt-in in-browser AI monitoring (camera face presence, multiple
13417
+ * faces, looking away, sustained speech) on top of the human-reviewed
13418
+ * proctoring gate. Only ever true when `requiresProctoring` is true.
13419
+ */
13399
13420
  aiProctoringEnabled: Scalars['Boolean']['output'];
13400
13421
  courseId: Scalars['ID']['output'];
13401
13422
  createdAt: Scalars['DateTime']['output'];
@@ -13407,7 +13428,11 @@ export type BuiAssessment = {
13407
13428
  questions: BuiQuestionConnection;
13408
13429
  /** BOFF-10563: repository provenance, including whether a newer version exists. */
13409
13430
  repositorySource?: Maybe<BuiRepositorySource>;
13410
- /** BOFF-4431: when true, `buiSubmitAssessment` requires the submitting learner to hold an APPROVED, unexpired `BuiProctoringSession` for this assessment — set by an instructor for high-stakes exams. */
13431
+ /**
13432
+ * BOFF-4431: when true, `buiSubmitAssessment` requires the submitting
13433
+ * learner to hold an APPROVED, unexpired `BuiProctoringSession` for this
13434
+ * assessment — set by an instructor for high-stakes exams.
13435
+ */
13411
13436
  requiresProctoring: Scalars['Boolean']['output'];
13412
13437
  /** BOFF-10563: Learning Object Repository object this assessment was cloned from or saved as. */
13413
13438
  sourceObjectId?: Maybe<Scalars['ID']['output']>;
@@ -13492,13 +13517,38 @@ export enum BuiAssessmentType {
13492
13517
  SURVEY = 'SURVEY'
13493
13518
  }
13494
13519
 
13495
- /** The content controls the BotManor-hosted course assistant must apply to its answers (BOFF-10027). BotManor reads this as a machine actor before each turn runs and masks every term in streamed partials, the stored answer and the canonical conversation history. Learners never read the list itself. */
13520
+ /**
13521
+ * The content controls the BotManor-hosted course assistant must apply to its
13522
+ * answers (BOFF-10027). BotManor reads this as a machine actor before each turn
13523
+ * runs and masks every term in streamed partials, the stored answer and the
13524
+ * canonical conversation history. Learners never read the list itself.
13525
+ */
13496
13526
  export type BuiAssistantContentControls = {
13497
13527
  __typename?: 'BuiAssistantContentControls';
13498
13528
  /** Normalised terms to mask in course assistant answers; empty when `applyToTutor` is off. */
13499
13529
  blockedTerms: Array<Scalars['String']['output']>;
13500
13530
  };
13501
13531
 
13532
+ /** One ACTIVE enrollment scored at or above the workspace's risk threshold. */
13533
+ export type BuiAtRiskEnrollment = {
13534
+ __typename?: 'BuiAtRiskEnrollment';
13535
+ enrollment: BuiEnrollment;
13536
+ /** Human-readable evidence sentence built from the signals. */
13537
+ rationale: Scalars['String']['output'];
13538
+ /** Weighted 0-100 score across the fired signals. */
13539
+ riskScore: Scalars['Int']['output'];
13540
+ /** The specific signals that produced the score. */
13541
+ signals: Array<BuiRiskSignal>;
13542
+ /** The decision engine's remediation recommendation, when one applies. */
13543
+ suggestedIntervention?: Maybe<BuiSuggestedIntervention>;
13544
+ };
13545
+
13546
+ export type BuiAtRiskEnrollmentConnection = {
13547
+ __typename?: 'BuiAtRiskEnrollmentConnection';
13548
+ items: Array<BuiAtRiskEnrollment>;
13549
+ pageInfo: BuiPageInfo;
13550
+ };
13551
+
13502
13552
  export type BuiAttachInteractivePackageInput = {
13503
13553
  /** wspace-files-svc id of the .h5p file, uploaded by the caller. */
13504
13554
  fileId: Scalars['ID']['input'];
@@ -13507,11 +13557,24 @@ export type BuiAttachInteractivePackageInput = {
13507
13557
  passPct?: InputMaybe<Scalars['Int']['input']>;
13508
13558
  };
13509
13559
 
13510
- /** One automation template and its state in this workspace. Every template is listed whether or not it has been configured (`id` is null until it has). */
13560
+ export type BuiAttachScormPackageInput = {
13561
+ /** wspace-files-svc id of the SCORM ZIP, uploaded by the caller. */
13562
+ fileId: Scalars['ID']['input'];
13563
+ lessonId: Scalars['ID']['input'];
13564
+ };
13565
+
13566
+ /**
13567
+ * One automation template and its state in this workspace. Every template is
13568
+ * listed whether or not it has been configured (`id` is null until it has).
13569
+ */
13511
13570
  export type BuiAutomation = {
13512
13571
  __typename?: 'BuiAutomation';
13513
13572
  actionDescription: Scalars['String']['output'];
13514
- /** Template settings. OVERDUE_REMINDER: { cronExpression, timezone, graceDays, escalateAfterDays }. ONBOARDING_PATH: { courseIds, dueInDays }. ASSESSMENT_REMEDIATION: { remediationCourseId, assessmentIds, dueInDays }. */
13573
+ /**
13574
+ * Template settings. OVERDUE_REMINDER: { cronExpression, timezone, graceDays,
13575
+ * escalateAfterDays }. ONBOARDING_PATH: { courseIds, dueInDays }.
13576
+ * ASSESSMENT_REMEDIATION: { remediationCourseId, assessmentIds, dueInDays }.
13577
+ */
13515
13578
  config: Scalars['JSON']['output'];
13516
13579
  defaultConfig: Scalars['JSON']['output'];
13517
13580
  description: Scalars['String']['output'];
@@ -13721,11 +13784,17 @@ export type BuiCertificate = {
13721
13784
  id: Scalars['ID']['output'];
13722
13785
  issuedAt: Scalars['DateTime']['output'];
13723
13786
  learnerId: Scalars['ID']['output'];
13724
- /** Optional display name shown on the public verification page — only populated when the issuer explicitly opted in at issuance time. */
13787
+ /**
13788
+ * Optional display name shown on the public verification page — only
13789
+ * populated when the issuer explicitly opted in at issuance time.
13790
+ */
13725
13791
  recipientNameSnapshot?: Maybe<Scalars['String']['output']>;
13726
13792
  revokedAt?: Maybe<Scalars['DateTime']['output']>;
13727
13793
  serial: Scalars['String']['output'];
13728
- /** BOFF-3134: the product this certificate was mirrored from. Null for certificates issued natively in Buildmyiq. */
13794
+ /**
13795
+ * BOFF-3134: the product this certificate was mirrored from. Null for
13796
+ * certificates issued natively in Buildmyiq.
13797
+ */
13729
13798
  source?: Maybe<BuiExternalSource>;
13730
13799
  /** BOFF-3134: the source product's own id for this certificate (opaque). */
13731
13800
  sourceId?: Maybe<Scalars['ID']['output']>;
@@ -13735,7 +13804,11 @@ export type BuiCertificate = {
13735
13804
  /** Why Technospam revoked the certificate, when it did. */
13736
13805
  technospamRevokeReason?: Maybe<Scalars['String']['output']>;
13737
13806
  updatedAt: Scalars['DateTime']['output'];
13738
- /** BOFF-4431: opaque code for the PUBLIC, unauthenticated verification page (`/verify/buildmyiq/{verificationCode}`) — share this, not the internal id. Null for certificates issued before this field existed. */
13807
+ /**
13808
+ * BOFF-4431: opaque code for the PUBLIC, unauthenticated verification page
13809
+ * (`/verify/buildmyiq/{verificationCode}`) — share this, not the internal id.
13810
+ * Null for certificates issued before this field existed.
13811
+ */
13739
13812
  verificationCode?: Maybe<Scalars['String']['output']>;
13740
13813
  workspaceId: Scalars['ID']['output'];
13741
13814
  };
@@ -13762,7 +13835,10 @@ export type BuiCertificateVerification = {
13762
13835
  issuedAt?: Maybe<Scalars['DateTime']['output']>;
13763
13836
  recipientNameSnapshot?: Maybe<Scalars['String']['output']>;
13764
13837
  serial?: Maybe<Scalars['String']['output']>;
13765
- /** True when the stored HMAC signature matches the certificate's core facts — i.e. the record has not been tampered with since issuance. */
13838
+ /**
13839
+ * True when the stored HMAC signature matches the certificate's core facts
13840
+ * — i.e. the record has not been tampered with since issuance.
13841
+ */
13766
13842
  signatureValid?: Maybe<Scalars['Boolean']['output']>;
13767
13843
  status?: Maybe<BuiCertificateStatus>;
13768
13844
  };
@@ -13851,6 +13927,19 @@ export enum BuiCohortStatus {
13851
13927
  SCHEDULED = 'SCHEDULED'
13852
13928
  }
13853
13929
 
13930
+ export type BuiCommitScormRuntimeInput = {
13931
+ enrollmentId: Scalars['ID']['input'];
13932
+ /** Identifier of the item (SCO) the values belong to. */
13933
+ itemIdentifier: Scalars['ID']['input'];
13934
+ lessonId: Scalars['ID']['input'];
13935
+ /** Player-generated id of this launch session (8-64 letters, digits or dashes). */
13936
+ sessionId: Scalars['ID']['input'];
13937
+ /** True for the commit made when the SCO terminates (LMSFinish / Terminate). */
13938
+ terminate?: InputMaybe<Scalars['Boolean']['input']>;
13939
+ /** Data model values the SCO set since the last commit. */
13940
+ values: Array<BuiScormValueInput>;
13941
+ };
13942
+
13854
13943
  export type BuiConfigureAutomationInput = {
13855
13944
  /** Template settings; omitted keeps the saved settings (or the defaults). */
13856
13945
  config?: InputMaybe<Scalars['JSON']['input']>;
@@ -13858,6 +13947,31 @@ export type BuiConfigureAutomationInput = {
13858
13947
  template: BuiAutomationTemplate;
13859
13948
  };
13860
13949
 
13950
+ export type BuiConfigureEarlyWarningInput = {
13951
+ /** Five-field cron for the nightly sweep (default 06:30 UTC). */
13952
+ cronExpression?: InputMaybe<Scalars['String']['input']>;
13953
+ /** Send the educator digest when a sweep flags at least one learner (default true). */
13954
+ digestEnabled?: InputMaybe<Scalars['Boolean']['input']>;
13955
+ enabled: Scalars['Boolean']['input'];
13956
+ /** Upper bound on flagged events/notifications one sweep may raise (default 50). */
13957
+ maxFlagsPerSweep?: InputMaybe<Scalars['Int']['input']>;
13958
+ /** Flag enrollments at or above this score (0-100, default 60). */
13959
+ riskThreshold?: InputMaybe<Scalars['Int']['input']>;
13960
+ /** IANA timezone the cron expression is read in. */
13961
+ timezone?: InputMaybe<Scalars['String']['input']>;
13962
+ };
13963
+
13964
+ export type BuiConfigureXapiLrsInput = {
13965
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
13966
+ /** xAPI base endpoint (https). */
13967
+ endpoint: Scalars['String']['input'];
13968
+ /** Required the first time; leave empty to keep the saved password. */
13969
+ password?: InputMaybe<Scalars['String']['input']>;
13970
+ /** Also queue statements recorded while no LRS was enabled. */
13971
+ queueStoredStatements?: InputMaybe<Scalars['Boolean']['input']>;
13972
+ username: Scalars['String']['input'];
13973
+ };
13974
+
13861
13975
  export type BuiCourse = {
13862
13976
  __typename?: 'BuiCourse';
13863
13977
  /** Reference to a wspace-files-svc File for the cover image (blobs live there). */
@@ -13876,7 +13990,10 @@ export type BuiCourse = {
13876
13990
  skill?: Maybe<BuiSkill>;
13877
13991
  skillId?: Maybe<Scalars['ID']['output']>;
13878
13992
  slug: Scalars['String']['output'];
13879
- /** BOFF-3134: the product this course was mirrored from. Null for courses authored natively in Buildmyiq. */
13993
+ /**
13994
+ * BOFF-3134: the product this course was mirrored from. Null for courses
13995
+ * authored natively in Buildmyiq.
13996
+ */
13880
13997
  source?: Maybe<BuiExternalSource>;
13881
13998
  /** BOFF-3134: the source product's own id for this course (opaque). */
13882
13999
  sourceId?: Maybe<Scalars['ID']['output']>;
@@ -14055,7 +14172,9 @@ export type BuiCourseConnection = {
14055
14172
  /** Formats a course can be exported in. */
14056
14173
  export enum BuiCourseExportFormat {
14057
14174
  BUILDMYIQ_JSON = 'BUILDMYIQ_JSON',
14058
- COMMON_CARTRIDGE = 'COMMON_CARTRIDGE'
14175
+ COMMON_CARTRIDGE = 'COMMON_CARTRIDGE',
14176
+ /** SCORM 1.2 package: lesson pages and self-scored quizzes for any SCORM LMS. */
14177
+ SCORM_12 = 'SCORM_12'
14059
14178
  }
14060
14179
 
14061
14180
  /** What an import would create, computed without writing anything. */
@@ -14313,7 +14432,12 @@ export type BuiCreateSkillInput = {
14313
14432
  taxonomyMetadata?: InputMaybe<Scalars['JSON']['input']>;
14314
14433
  };
14315
14434
 
14316
- /** One AI-proposed score for a single rubric criterion on a question (BOFF-4429). Only present for questions whose instructor attached a `BuiRubricCriterion` rubric — a suggestion the educator reviews criterion-by-criterion, never auto-applied. */
14435
+ /**
14436
+ * One AI-proposed score for a single rubric criterion on a question
14437
+ * (BOFF-4429). Only present for questions whose instructor attached a
14438
+ * `BuiRubricCriterion` rubric — a suggestion the educator reviews
14439
+ * criterion-by-criterion, never auto-applied.
14440
+ */
14317
14441
  export type BuiCriterionScore = {
14318
14442
  __typename?: 'BuiCriterionScore';
14319
14443
  /** Optional one-sentence rationale for this criterion's score. */
@@ -14340,6 +14464,74 @@ export type BuiDemoContentResult = {
14340
14464
  skillId?: Maybe<Scalars['ID']['output']>;
14341
14465
  };
14342
14466
 
14467
+ /** The workspace's early-warning opt-in and settings. OFF until an admin enables it. */
14468
+ export type BuiEarlyWarning = {
14469
+ __typename?: 'BuiEarlyWarning';
14470
+ cronExpression: Scalars['String']['output'];
14471
+ /** Send the educator digest when a sweep flags at least one learner. */
14472
+ digestEnabled: Scalars['Boolean']['output'];
14473
+ enabled: Scalars['Boolean']['output'];
14474
+ lastError?: Maybe<Scalars['String']['output']>;
14475
+ lastRunAt?: Maybe<Scalars['DateTime']['output']>;
14476
+ lastRunStatus?: Maybe<BuiEarlyWarningRunStatus>;
14477
+ /** Upper bound on flagged events/notifications one sweep may raise. */
14478
+ maxFlagsPerSweep: Scalars['Int']['output'];
14479
+ /** Flag enrollments at or above this score (0-100). */
14480
+ riskThreshold: Scalars['Int']['output'];
14481
+ timezone: Scalars['String']['output'];
14482
+ updatedAt?: Maybe<Scalars['DateTime']['output']>;
14483
+ workflowDefinitionId?: Maybe<Scalars['ID']['output']>;
14484
+ /** FluidGrids workflow holding the schedule; open it in the builder at /workflows/workflow/{workflowKey}/{workflowVersion}. */
14485
+ workflowKey?: Maybe<Scalars['String']['output']>;
14486
+ workflowVersion?: Maybe<Scalars['String']['output']>;
14487
+ };
14488
+
14489
+ /** One early-warning invocation (INTERIM product-local run ledger — swapped for the shared BOFF-3601 AgentRun ledger when it ships). */
14490
+ export type BuiEarlyWarningRun = {
14491
+ __typename?: 'BuiEarlyWarningRun';
14492
+ cohortsExamined: Scalars['Int']['output'];
14493
+ completedAt?: Maybe<Scalars['DateTime']['output']>;
14494
+ /** Model spend for the invocation; the deterministic sweep costs 0 until it routes inference through the shared gateway. */
14495
+ costUsd: Scalars['Float']['output'];
14496
+ createdAt: Scalars['DateTime']['output'];
14497
+ enrollmentsExamined: Scalars['Int']['output'];
14498
+ /** SKIPPED reason or failure message. */
14499
+ error?: Maybe<Scalars['String']['output']>;
14500
+ flagsRaised: Scalars['Int']['output'];
14501
+ id: Scalars['ID']['output'];
14502
+ startedAt: Scalars['DateTime']['output'];
14503
+ status: BuiEarlyWarningRunStatus;
14504
+ /** Free-form counts/diagnostics (flag histogram, skips). */
14505
+ summary?: Maybe<Scalars['JSON']['output']>;
14506
+ trigger: BuiEarlyWarningTrigger;
14507
+ };
14508
+
14509
+ export type BuiEarlyWarningRunConnection = {
14510
+ __typename?: 'BuiEarlyWarningRunConnection';
14511
+ items: Array<BuiEarlyWarningRun>;
14512
+ pageInfo: BuiPageInfo;
14513
+ };
14514
+
14515
+ export enum BuiEarlyWarningRunStatus {
14516
+ /** The sweep threw. */
14517
+ FAILED = 'FAILED',
14518
+ /** The sweep is executing. */
14519
+ RUNNING = 'RUNNING',
14520
+ /** The workspace was skipped (quota exhausted) with a logged reason. */
14521
+ SKIPPED = 'SKIPPED',
14522
+ /** The sweep finished; the run row carries the counts. */
14523
+ SUCCEEDED = 'SUCCEEDED'
14524
+ }
14525
+
14526
+ export enum BuiEarlyWarningTrigger {
14527
+ /** Reserved for future event-driven rescoring. */
14528
+ EVENT = 'EVENT',
14529
+ /** An admin pressed Run now (buiRunEarlyWarningSweep). */
14530
+ MANUAL = 'MANUAL',
14531
+ /** The FluidGrids schedule fired the workspace's workflow. */
14532
+ SCHEDULED = 'SCHEDULED'
14533
+ }
14534
+
14343
14535
  export type BuiEnrollInput = {
14344
14536
  cohortId?: InputMaybe<Scalars['ID']['input']>;
14345
14537
  courseId: Scalars['ID']['input'];
@@ -14356,7 +14548,11 @@ export type BuiEnrollment = {
14356
14548
  completedAt?: Maybe<Scalars['DateTime']['output']>;
14357
14549
  courseId: Scalars['ID']['output'];
14358
14550
  createdAt: Scalars['DateTime']['output'];
14359
- /** BOFF-9688: when the learner is expected to finish. Unlike `expiresAt` (end of access) a passed due date keeps the course open and makes the enrollment overdue for the overdue-reminder automation. */
14551
+ /**
14552
+ * BOFF-9688: when the learner is expected to finish. Unlike `expiresAt` (end
14553
+ * of access) a passed due date keeps the course open and makes the enrollment
14554
+ * overdue for the overdue-reminder automation.
14555
+ */
14360
14556
  dueAt?: Maybe<Scalars['DateTime']['output']>;
14361
14557
  enrolledAt: Scalars['DateTime']['output'];
14362
14558
  expiresAt?: Maybe<Scalars['DateTime']['output']>;
@@ -14369,7 +14565,10 @@ export type BuiEnrollment = {
14369
14565
  /** Last time the overdue-reminder automation reminded the learner. */
14370
14566
  overdueRemindedAt?: Maybe<Scalars['DateTime']['output']>;
14371
14567
  progressPct: Scalars['Int']['output'];
14372
- /** BOFF-3134: the product this enrollment was mirrored from. Null for native Buildmyiq enrollments. */
14568
+ /**
14569
+ * BOFF-3134: the product this enrollment was mirrored from. Null for native
14570
+ * Buildmyiq enrollments.
14571
+ */
14373
14572
  source?: Maybe<BuiExternalSource>;
14374
14573
  /** BOFF-3134: the source product's own id for this enrollment (opaque). */
14375
14574
  sourceId?: Maybe<Scalars['ID']['output']>;
@@ -14427,7 +14626,12 @@ export type BuiExternalCatalogItem = {
14427
14626
  title: Scalars['String']['output'];
14428
14627
  };
14429
14628
 
14430
- /** BOFF-3134: a product that mirrors its learning records into the canonical Buildmyiq LMS. Buildmyiq is the system of record for courses, enrollments and certificates; a product that still authors them locally syncs each record here through the service-only buiSyncExternal* mutations, keyed by its own id. */
14629
+ /**
14630
+ * BOFF-3134: a product that mirrors its learning records into the canonical
14631
+ * Buildmyiq LMS. Buildmyiq is the system of record for courses, enrollments and
14632
+ * certificates; a product that still authors them locally syncs each record here
14633
+ * through the service-only buiSyncExternal* mutations, keyed by its own id.
14634
+ */
14431
14635
  export enum BuiExternalSource {
14432
14636
  TECHNOSPAM = 'TECHNOSPAM'
14433
14637
  }
@@ -14441,7 +14645,12 @@ export enum BuiExternalSyncKind {
14441
14645
  LESSON_PROGRESS = 'LESSON_PROGRESS'
14442
14646
  }
14443
14647
 
14444
- /** 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. */
14648
+ /**
14649
+ * BOFF-10480: the comparable canonical state of one mirrored record, returned
14650
+ * to the source product so it can report (and re-sync) any record whose
14651
+ * canonical copy drifted. Fields that do not apply to the requested kind are
14652
+ * null. `status` carries the kind's own enum value as text.
14653
+ */
14445
14654
  export type BuiExternalSyncRecord = {
14446
14655
  __typename?: 'BuiExternalSyncRecord';
14447
14656
  /** The canonical row's id in Buildmyiq. */
@@ -14465,7 +14674,10 @@ export type BuiExternalSyncRecord = {
14465
14674
  variant?: Maybe<Scalars['String']['output']>;
14466
14675
  };
14467
14676
 
14468
- /** BOFF-10480: one source product's batch of record ids to compare against the canonical LMS. At most 200 ids per call. */
14677
+ /**
14678
+ * BOFF-10480: one source product's batch of record ids to compare against the
14679
+ * canonical LMS. At most 200 ids per call.
14680
+ */
14469
14681
  export type BuiExternalSyncRecordsInput = {
14470
14682
  kind: BuiExternalSyncKind;
14471
14683
  source: BuiExternalSource;
@@ -14485,15 +14697,105 @@ export type BuiGradeSuggestion = {
14485
14697
  id: Scalars['ID']['output'];
14486
14698
  inputRefs: Array<Scalars['ID']['output']>;
14487
14699
  outcome: BuiAiSuggestionOutcome;
14488
- /** Per-question rationale, one entry per OPEN-ENDED (SHORT_ANSWER / ESSAY / CODE) question on the assessment — objective questions are not included here since their correctness is already fully explained by `buiAutoScoreSubmission`. */
14700
+ /**
14701
+ * Per-question rationale, one entry per OPEN-ENDED (SHORT_ANSWER / ESSAY /
14702
+ * CODE) question on the assessment — objective questions are not included
14703
+ * here since their correctness is already fully explained by
14704
+ * `buiAutoScoreSubmission`.
14705
+ */
14489
14706
  perQuestionFeedback: Array<BuiQuestionFeedback>;
14490
- /** Proposed overall score (0-100) across the WHOLE submission — objective questions scored deterministically (answerKey comparison, same logic as `buiAutoScoreSubmission`), open-ended questions scored per the AI's proposal in `perQuestionFeedback`. */
14707
+ /**
14708
+ * Proposed overall score (0-100) across the WHOLE submission — objective
14709
+ * questions scored deterministically (answerKey comparison, same logic as
14710
+ * `buiAutoScoreSubmission`), open-ended questions scored per the AI's
14711
+ * proposal in `perQuestionFeedback`.
14712
+ */
14491
14713
  proposedScore: Scalars['Float']['output'];
14492
- /** Ids of the open-ended questions whose server-side `explanation` field (rubric guidance) grounded this suggestion. */
14714
+ /**
14715
+ * Ids of the open-ended questions whose server-side `explanation` field
14716
+ * (rubric guidance) grounded this suggestion.
14717
+ */
14493
14718
  rubricRefs: Array<Scalars['ID']['output']>;
14494
14719
  submissionId: Scalars['ID']['output'];
14495
14720
  };
14496
14721
 
14722
+ /** How a gradebook column maps to an assessment of the course. */
14723
+ export type BuiGradebookColumn = {
14724
+ __typename?: 'BuiGradebookColumn';
14725
+ assessmentId?: Maybe<Scalars['ID']['output']>;
14726
+ assessmentTitle?: Maybe<Scalars['String']['output']>;
14727
+ /** Header as written in the file (the key for column mappings). */
14728
+ column: Scalars['String']['output'];
14729
+ /** Grades in this column that are imported. */
14730
+ gradeCount: Scalars['Int']['output'];
14731
+ /** MAPPING (chosen) or TITLE; null when the column is not imported. */
14732
+ matchedBy?: Maybe<Scalars['String']['output']>;
14733
+ /** Maximum points used to convert points to a percentage. */
14734
+ pointsPossible?: Maybe<Scalars['Float']['output']>;
14735
+ /** POINTS or PERCENT. */
14736
+ scale: Scalars['String']['output'];
14737
+ title: Scalars['String']['output'];
14738
+ };
14739
+
14740
+ export type BuiGradebookColumnMappingInput = {
14741
+ /** Assessment of the course to import the column into; null skips the column. */
14742
+ assessmentId?: InputMaybe<Scalars['ID']['input']>;
14743
+ /** Column header as written in the file. */
14744
+ column: Scalars['String']['input'];
14745
+ /** Maximum points, when the file does not say (e.g. Moodle 'Real' columns). */
14746
+ pointsPossible?: InputMaybe<Scalars['Float']['input']>;
14747
+ };
14748
+
14749
+ export type BuiGradebookImportInput = {
14750
+ /** Overrides the automatic title matching of columns to assessments. */
14751
+ columnMappings?: InputMaybe<Array<BuiGradebookColumnMappingInput>>;
14752
+ /** Course whose assessments receive the grades. */
14753
+ courseId: Scalars['ID']['input'];
14754
+ /** wspace-files-svc id of the uploaded gradebook CSV. */
14755
+ fileId: Scalars['ID']['input'];
14756
+ /** Detected from the header when omitted. */
14757
+ sourceSystem?: InputMaybe<BuiLmsSystem>;
14758
+ };
14759
+
14760
+ /** What a gradebook import would do, computed without writing anything. */
14761
+ export type BuiGradebookImportPreview = {
14762
+ __typename?: 'BuiGradebookImportPreview';
14763
+ canImport: Scalars['Boolean']['output'];
14764
+ columns: Array<BuiGradebookColumn>;
14765
+ courseId: Scalars['ID']['output'];
14766
+ courseTitle: Scalars['String']['output'];
14767
+ fileName: Scalars['String']['output'];
14768
+ /** Grades in mapped columns for resolved, enrolled learners. */
14769
+ gradeCount: Scalars['Int']['output'];
14770
+ issues: Array<BuiMigrationIssue>;
14771
+ missingLearnerEmails: Array<Scalars['String']['output']>;
14772
+ newGradeCount: Scalars['Int']['output'];
14773
+ /** Learner rows with at least one grade to import. */
14774
+ readyCount: Scalars['Int']['output'];
14775
+ /** The first 500 rows. */
14776
+ rows: Array<BuiImportRow>;
14777
+ rowsTruncated: Scalars['Boolean']['output'];
14778
+ sourceSystem: BuiLmsSystem;
14779
+ statusCounts: Array<BuiImportRowCount>;
14780
+ totalRows: Scalars['Int']['output'];
14781
+ unchangedGradeCount: Scalars['Int']['output'];
14782
+ /** Grades a previous import wrote that change. */
14783
+ updatedGradeCount: Scalars['Int']['output'];
14784
+ };
14785
+
14786
+ export type BuiGradebookImportResult = {
14787
+ __typename?: 'BuiGradebookImportResult';
14788
+ createdCount: Scalars['Int']['output'];
14789
+ job: BuiMigrationJob;
14790
+ missingLearnerEmails: Array<Scalars['String']['output']>;
14791
+ /** The first 500 rows that were not imported, with the reason. */
14792
+ rows: Array<BuiImportRow>;
14793
+ rowsTruncated: Scalars['Boolean']['output'];
14794
+ statusCounts: Array<BuiImportRowCount>;
14795
+ unchangedCount: Scalars['Int']['output'];
14796
+ updatedCount: Scalars['Int']['output'];
14797
+ };
14798
+
14497
14799
  export type BuiImportCourseInput = {
14498
14800
  /** wspace-files-svc id of the uploaded package (uploaded by the caller). */
14499
14801
  fileId: Scalars['ID']['input'];
@@ -14502,6 +14804,51 @@ export type BuiImportCourseInput = {
14502
14804
  title?: InputMaybe<Scalars['String']['input']>;
14503
14805
  };
14504
14806
 
14807
+ export type BuiImportRow = {
14808
+ __typename?: 'BuiImportRow';
14809
+ courseId?: Maybe<Scalars['ID']['output']>;
14810
+ /** Grades in the row that are imported (gradebook). */
14811
+ gradeCount: Scalars['Int']['output'];
14812
+ /** How the file names the learner (e-mail, login or SIS id). */
14813
+ learner: Scalars['String']['output'];
14814
+ /** Workspace member the row resolved to. */
14815
+ learnerId?: Maybe<Scalars['ID']['output']>;
14816
+ /** Line of the row in the file. */
14817
+ line: Scalars['Int']['output'];
14818
+ message?: Maybe<Scalars['String']['output']>;
14819
+ /** LMS course identifier (roster). */
14820
+ sourceCourse?: Maybe<Scalars['String']['output']>;
14821
+ status: BuiImportRowStatus;
14822
+ };
14823
+
14824
+ export type BuiImportRowCount = {
14825
+ __typename?: 'BuiImportRowCount';
14826
+ count: Scalars['Int']['output'];
14827
+ status: BuiImportRowStatus;
14828
+ };
14829
+
14830
+ /** What an import does with one row of the file. */
14831
+ export enum BuiImportRowStatus {
14832
+ ALREADY_ENROLLED = 'ALREADY_ENROLLED',
14833
+ /** The row's LMS course is not mapped to a BuildMyIQ course. */
14834
+ COURSE_NOT_MAPPED = 'COURSE_NOT_MAPPED',
14835
+ DUPLICATE = 'DUPLICATE',
14836
+ /** Deleted, inactive or suspended in the source LMS. */
14837
+ INACTIVE = 'INACTIVE',
14838
+ /** The row could not be read. */
14839
+ INVALID = 'INVALID',
14840
+ /** Not a member of this workspace (invite them, then re-run). */
14841
+ LEARNER_NOT_FOUND = 'LEARNER_NOT_FOUND',
14842
+ /** An instructor, TA or other non-learner role. */
14843
+ NOT_A_LEARNER = 'NOT_A_LEARNER',
14844
+ /** A member who is not enrolled in the course (gradebook). */
14845
+ NOT_ENROLLED = 'NOT_ENROLLED',
14846
+ /** No grade in any imported column (gradebook). */
14847
+ NO_GRADES = 'NO_GRADES',
14848
+ /** Will be (or was) enrolled or graded. */
14849
+ READY = 'READY'
14850
+ }
14851
+
14505
14852
  export type BuiInsertLearningObjectInput = {
14506
14853
  courseId: Scalars['ID']['input'];
14507
14854
  learningObjectId: Scalars['ID']['input'];
@@ -14527,6 +14874,8 @@ export type BuiInsertLearningObjectResult = {
14527
14874
  /** The activity of a lesson as the editor loads it. Contains the answer key, so it is for authors only. */
14528
14875
  export type BuiInteractiveActivityDraft = {
14529
14876
  __typename?: 'BuiInteractiveActivityDraft';
14877
+ /** False for Drag and Drop, Course Presentation and Interactive Video activities, which are edited in an H5P tool and re-imported. items then lists only the questions the editor can show. */
14878
+ editable: Scalars['Boolean']['output'];
14530
14879
  editedAt?: Maybe<Scalars['DateTime']['output']>;
14531
14880
  items: Array<BuiInteractiveDraftItem>;
14532
14881
  lessonId: Scalars['ID']['output'];
@@ -14584,6 +14933,27 @@ export type BuiInteractiveBlankTip = {
14584
14933
  tip: Scalars['String']['output'];
14585
14934
  };
14586
14935
 
14936
+ /** Part of a slide or a video interaction. */
14937
+ export type BuiInteractiveBlock = {
14938
+ __typename?: 'BuiInteractiveBlock';
14939
+ /** IMAGE: alternative text. */
14940
+ alt?: Maybe<Scalars['String']['output']>;
14941
+ /** IMAGE: short-lived signed URL (null when the image is unavailable). */
14942
+ imageUrl?: Maybe<Scalars['String']['output']>;
14943
+ /** ITEM: id of the item in the player's items. */
14944
+ itemId?: Maybe<Scalars['ID']['output']>;
14945
+ /** TEXT: plain text. */
14946
+ text?: Maybe<Scalars['String']['output']>;
14947
+ type: BuiInteractiveBlockType;
14948
+ };
14949
+
14950
+ export enum BuiInteractiveBlockType {
14951
+ IMAGE = 'IMAGE',
14952
+ /** A reference to one of the player's items by id. */
14953
+ ITEM = 'ITEM',
14954
+ TEXT = 'TEXT'
14955
+ }
14956
+
14587
14957
  export type BuiInteractiveChoice = {
14588
14958
  __typename?: 'BuiInteractiveChoice';
14589
14959
  id: Scalars['ID']['output'];
@@ -14618,6 +14988,23 @@ export type BuiInteractiveDraftItem = {
14618
14988
  text: Scalars['String']['output'];
14619
14989
  };
14620
14990
 
14991
+ /** An element to place in a drag and drop item. */
14992
+ export type BuiInteractiveDraggable = {
14993
+ __typename?: 'BuiInteractiveDraggable';
14994
+ id: Scalars['ID']['output'];
14995
+ /** Short-lived signed URL of the draggable's image; null for a text draggable. */
14996
+ imageUrl?: Maybe<Scalars['String']['output']>;
14997
+ /** Text of a text draggable, or the alternative text of an image draggable. */
14998
+ text: Scalars['String']['output'];
14999
+ };
15000
+
15001
+ /** A zone draggables can be dropped in. Which draggables belong where is never sent. */
15002
+ export type BuiInteractiveDropZone = {
15003
+ __typename?: 'BuiInteractiveDropZone';
15004
+ id: Scalars['ID']['output'];
15005
+ label: Scalars['String']['output'];
15006
+ };
15007
+
14621
15008
  /** An activity exported as a portable .h5p package (h5p.json + content/content.json). */
14622
15009
  export type BuiInteractiveExport = {
14623
15010
  __typename?: 'BuiInteractiveExport';
@@ -14630,8 +15017,14 @@ export type BuiInteractiveExport = {
14630
15017
  /** One question as the player shows it. Never includes the answer key. */
14631
15018
  export type BuiInteractiveItem = {
14632
15019
  __typename?: 'BuiInteractiveItem';
15020
+ /** Drag and drop: short-lived signed URL of the background image, if any. */
15021
+ backgroundUrl?: Maybe<Scalars['String']['output']>;
14633
15022
  blankTips: Array<BuiInteractiveBlankTip>;
14634
15023
  choices: Array<BuiInteractiveChoice>;
15024
+ /** Drag and drop: the elements to place. */
15025
+ draggables: Array<BuiInteractiveDraggable>;
15026
+ /** Drag and drop: the zones to place them in. */
15027
+ dropZones: Array<BuiInteractiveDropZone>;
14635
15028
  id: Scalars['ID']['output'];
14636
15029
  kind: BuiInteractiveItemKind;
14637
15030
  maxScore: Scalars['Int']['output'];
@@ -14662,6 +15055,8 @@ export type BuiInteractiveItemDraftInput = {
14662
15055
  };
14663
15056
 
14664
15057
  export enum BuiInteractiveItemKind {
15058
+ /** Drag and Drop (H5P.DragQuestion): place draggables in drop zones. Import-only; the editor does not build it. */
15059
+ DRAG_AND_DROP = 'DRAG_AND_DROP',
14665
15060
  FILL_IN_BLANKS = 'FILL_IN_BLANKS',
14666
15061
  MULTIPLE_CHOICE = 'MULTIPLE_CHOICE',
14667
15062
  TRUE_FALSE = 'TRUE_FALSE'
@@ -14673,9 +15068,27 @@ export type BuiInteractiveItemResult = {
14673
15068
  correct: Scalars['Boolean']['output'];
14674
15069
  itemId: Scalars['ID']['output'];
14675
15070
  maxScore: Scalars['Int']['output'];
15071
+ /** Drag and drop: whether each placed draggable is in a correct zone. */
15072
+ placements: Array<BuiInteractivePlacementResult>;
14676
15073
  score: Scalars['Int']['output'];
14677
15074
  };
14678
15075
 
15076
+ /** Slides of a Course Presentation or the video of an Interactive Video. Questions are referenced by item id. */
15077
+ export type BuiInteractiveLayout = {
15078
+ __typename?: 'BuiInteractiveLayout';
15079
+ kind: BuiInteractiveLayoutKind;
15080
+ slides: Array<BuiInteractiveSlide>;
15081
+ title: Scalars['String']['output'];
15082
+ video?: Maybe<BuiInteractiveVideo>;
15083
+ };
15084
+
15085
+ export enum BuiInteractiveLayoutKind {
15086
+ /** Course Presentation: a sequence of slides. */
15087
+ SLIDES = 'SLIDES',
15088
+ /** Interactive Video: a video with timed interactions. */
15089
+ VIDEO = 'VIDEO'
15090
+ }
15091
+
14679
15092
  /** An H5P-compatible activity attached to an INTERACTIVE lesson (authoring view). */
14680
15093
  export type BuiInteractivePackage = {
14681
15094
  __typename?: 'BuiInteractivePackage';
@@ -14687,6 +15100,8 @@ export type BuiInteractivePackage = {
14687
15100
  /** Main library version, e.g. 1.16. */
14688
15101
  contentTypeVersion: Scalars['String']['output'];
14689
15102
  createdAt: Scalars['DateTime']['output'];
15103
+ /** False for Drag and Drop, Course Presentation and Interactive Video activities: the in-browser editor and .h5p export do not cover them. */
15104
+ editable: Scalars['Boolean']['output'];
14690
15105
  /** Last in-browser edit of the questions. Null for an unedited package. */
14691
15106
  editedAt?: Maybe<Scalars['DateTime']['output']>;
14692
15107
  /**
@@ -14705,6 +15120,8 @@ export type BuiInteractivePackage = {
14705
15120
  /** Declared library dependencies, e.g. H5P.Question 1.5. They are recorded, never loaded. */
14706
15121
  libraries: Array<Scalars['String']['output']>;
14707
15122
  maxScore: Scalars['Int']['output'];
15123
+ /** Packaged images and videos copied to wspace-files-svc for the player. */
15124
+ mediaCount: Scalars['Int']['output'];
14708
15125
  /** Percentage an attempt needs to pass and complete the lesson. */
14709
15126
  passPct: Scalars['Int']['output'];
14710
15127
  /** Where the activity came from: an uploaded package or the in-browser editor. */
@@ -14720,11 +15137,24 @@ export type BuiInteractivePackage = {
14720
15137
  warnings: Array<BuiInteractiveWarning>;
14721
15138
  };
14722
15139
 
15140
+ export type BuiInteractivePlacementInput = {
15141
+ draggableId: Scalars['ID']['input'];
15142
+ zoneId: Scalars['ID']['input'];
15143
+ };
15144
+
15145
+ export type BuiInteractivePlacementResult = {
15146
+ __typename?: 'BuiInteractivePlacementResult';
15147
+ correct: Scalars['Boolean']['output'];
15148
+ draggableId: Scalars['ID']['output'];
15149
+ };
15150
+
14723
15151
  export type BuiInteractivePlayerConfig = {
14724
15152
  __typename?: 'BuiInteractivePlayerConfig';
14725
15153
  contentType: Scalars['String']['output'];
14726
15154
  contentTypeLabel: Scalars['String']['output'];
14727
15155
  items: Array<BuiInteractiveItem>;
15156
+ /** Slides or video timeline; null for a plain quiz. A layout without items is completed by submitting an empty attempt at the end. */
15157
+ layout?: Maybe<BuiInteractiveLayout>;
14728
15158
  lessonId: Scalars['ID']['output'];
14729
15159
  maxScore: Scalars['Int']['output'];
14730
15160
  packageId: Scalars['ID']['output'];
@@ -14740,6 +15170,8 @@ export type BuiInteractiveResponseInput = {
14740
15170
  /** Multiple choice: the chosen choice ids. */
14741
15171
  choiceIds?: InputMaybe<Array<Scalars['ID']['input']>>;
14742
15172
  itemId: Scalars['ID']['input'];
15173
+ /** Drag and drop: the zone each placed draggable was dropped in (each draggable at most once). */
15174
+ placements?: InputMaybe<Array<BuiInteractivePlacementInput>>;
14743
15175
  };
14744
15176
 
14745
15177
  /** Part of a fill-in-the-blanks text: either literal text or a blank to fill. */
@@ -14749,6 +15181,13 @@ export type BuiInteractiveSegment = {
14749
15181
  text?: Maybe<Scalars['String']['output']>;
14750
15182
  };
14751
15183
 
15184
+ export type BuiInteractiveSlide = {
15185
+ __typename?: 'BuiInteractiveSlide';
15186
+ blocks: Array<BuiInteractiveBlock>;
15187
+ id: Scalars['ID']['output'];
15188
+ title: Scalars['String']['output'];
15189
+ };
15190
+
14752
15191
  export enum BuiInteractiveSource {
14753
15192
  /** Authored in the BuildMyIQ editor without a package. */
14754
15193
  AUTHORED = 'AUTHORED',
@@ -14761,6 +15200,33 @@ export enum BuiInteractiveValidationStatus {
14761
15200
  VALID = 'VALID'
14762
15201
  }
14763
15202
 
15203
+ export type BuiInteractiveVideo = {
15204
+ __typename?: 'BuiInteractiveVideo';
15205
+ interactions: Array<BuiInteractiveVideoInteraction>;
15206
+ mimeType?: Maybe<Scalars['String']['output']>;
15207
+ source: BuiInteractiveVideoSource;
15208
+ /** FILE: short-lived signed URL of the video. YOUTUBE / VIMEO: the privacy-friendly embed address. */
15209
+ url?: Maybe<Scalars['String']['output']>;
15210
+ };
15211
+
15212
+ export type BuiInteractiveVideoInteraction = {
15213
+ __typename?: 'BuiInteractiveVideoInteraction';
15214
+ /** Seconds into the video at which the interaction appears. */
15215
+ at: Scalars['Float']['output'];
15216
+ block: BuiInteractiveBlock;
15217
+ id: Scalars['ID']['output'];
15218
+ label: Scalars['String']['output'];
15219
+ /** Pause the video when the interaction appears. */
15220
+ pause: Scalars['Boolean']['output'];
15221
+ };
15222
+
15223
+ export enum BuiInteractiveVideoSource {
15224
+ /** A video packaged in the .h5p file, served from wspace-files-svc. */
15225
+ FILE = 'FILE',
15226
+ VIMEO = 'VIMEO',
15227
+ YOUTUBE = 'YOUTUBE'
15228
+ }
15229
+
14764
15230
  /** A non-fatal note from package validation, e.g. media the player skips. */
14765
15231
  export type BuiInteractiveWarning = {
14766
15232
  __typename?: 'BuiInteractiveWarning';
@@ -14768,6 +15234,11 @@ export type BuiInteractiveWarning = {
14768
15234
  message: Scalars['String']['output'];
14769
15235
  };
14770
15236
 
15237
+ export enum BuiInterventionKind {
15238
+ /** Resume the learner at the next lesson in course sequence (the decision engine's recommendation). */
15239
+ NEXT_LESSON = 'NEXT_LESSON'
15240
+ }
15241
+
14771
15242
  export type BuiIssueCertificateInput = {
14772
15243
  courseId: Scalars['ID']['input'];
14773
15244
  enrollmentId?: InputMaybe<Scalars['ID']['input']>;
@@ -14775,7 +15246,10 @@ export type BuiIssueCertificateInput = {
14775
15246
  fileId?: InputMaybe<Scalars['ID']['input']>;
14776
15247
  finalScore?: InputMaybe<Scalars['Float']['input']>;
14777
15248
  learnerId: Scalars['ID']['input'];
14778
- /** Opt-in display name for the PUBLIC verification page — omit to keep the credential PII-free when shared outside the workspace. */
15249
+ /**
15250
+ * Opt-in display name for the PUBLIC verification page — omit to keep the
15251
+ * credential PII-free when shared outside the workspace.
15252
+ */
14779
15253
  recipientNameSnapshot?: InputMaybe<Scalars['String']['input']>;
14780
15254
  serial: Scalars['String']['input'];
14781
15255
  };
@@ -14869,7 +15343,10 @@ export enum BuiLearningObjectLicense {
14869
15343
  INTERNAL = 'INTERNAL'
14870
15344
  }
14871
15345
 
14872
- /** A summary of a repository version for browsing. Never includes answer keys or the full lesson body. */
15346
+ /**
15347
+ * A summary of a repository version for browsing. Never includes answer keys
15348
+ * or the full lesson body.
15349
+ */
14873
15350
  export type BuiLearningObjectPreview = {
14874
15351
  __typename?: 'BuiLearningObjectPreview';
14875
15352
  assessmentType?: Maybe<BuiAssessmentType>;
@@ -14920,7 +15397,10 @@ export type BuiLesson = {
14920
15397
  position: Scalars['Int']['output'];
14921
15398
  /** BOFF-10563: repository provenance, including whether a newer version exists. */
14922
15399
  repositorySource?: Maybe<BuiRepositorySource>;
14923
- /** BOFF-10464: the product this lesson was mirrored from. Null for lessons authored natively in Buildmyiq. */
15400
+ /**
15401
+ * BOFF-10464: the product this lesson was mirrored from. Null for lessons
15402
+ * authored natively in Buildmyiq.
15403
+ */
14924
15404
  source?: Maybe<BuiExternalSource>;
14925
15405
  /** BOFF-10464: the source product's own id for this lesson (opaque). */
14926
15406
  sourceId?: Maybe<Scalars['ID']['output']>;
@@ -14966,7 +15446,10 @@ export type BuiLessonProgress = {
14966
15446
  id: Scalars['ID']['output'];
14967
15447
  lessonId: Scalars['ID']['output'];
14968
15448
  secondsSpent: Scalars['Int']['output'];
14969
- /** BOFF-10464: the product this progress row was mirrored from. Null for progress recorded natively in Buildmyiq. */
15449
+ /**
15450
+ * BOFF-10464: the product this progress row was mirrored from. Null for
15451
+ * progress recorded natively in Buildmyiq.
15452
+ */
14970
15453
  source?: Maybe<BuiExternalSource>;
14971
15454
  /** BOFF-10464: the source product's own id for this progress row (opaque). */
14972
15455
  sourceId?: Maybe<Scalars['ID']['output']>;
@@ -14990,6 +15473,15 @@ export enum BuiLessonType {
14990
15473
  VIDEO = 'VIDEO'
14991
15474
  }
14992
15475
 
15476
+ /** The LMS a roster or gradebook file was exported from. */
15477
+ export enum BuiLmsSystem {
15478
+ BLACKBOARD = 'BLACKBOARD',
15479
+ CANVAS = 'CANVAS',
15480
+ /** email,course_slug,role (roster) or email plus one column per assessment (gradebook). */
15481
+ GENERIC = 'GENERIC',
15482
+ MOODLE = 'MOODLE'
15483
+ }
15484
+
14993
15485
  export type BuiLtiDeepLinkResult = {
14994
15486
  __typename?: 'BuiLtiDeepLinkResult';
14995
15487
  /** The signed `LtiDeepLinkingResponse` JWT — the FE auto-posts this to `returnUrl`. */
@@ -15019,7 +15511,11 @@ export enum BuiLtiGradeSyncStatus {
15019
15511
  SUCCESS = 'SUCCESS'
15020
15512
  }
15021
15513
 
15022
- /** The validated, not-yet-consumed context of a REST-layer LTI launch — handed to the authenticated app shell via the opaque ticket id the `/lti/buildmyiq/launch` REST endpoint redirects to. */
15514
+ /**
15515
+ * The validated, not-yet-consumed context of a REST-layer LTI launch —
15516
+ * handed to the authenticated app shell via the opaque ticket id the
15517
+ * `/lti/buildmyiq/launch` REST endpoint redirects to.
15518
+ */
15023
15519
  export type BuiLtiLaunchContext = {
15024
15520
  __typename?: 'BuiLtiLaunchContext';
15025
15521
  /** Populated only for RESOURCE_LINK tickets whose placement is already mapped. */
@@ -15113,10 +15609,16 @@ export enum BuiMigrationFormat {
15113
15609
  BUILDMYIQ_JSON = 'BUILDMYIQ_JSON',
15114
15610
  /** IMS Common Cartridge (.imscc) — import and export. */
15115
15611
  COMMON_CARTRIDGE = 'COMMON_CARTRIDGE',
15116
- /** Gradebook CSV — export. */
15612
+ /** Gradebook CSV — export and import. */
15117
15613
  GRADEBOOK_CSV = 'GRADEBOOK_CSV',
15118
15614
  /** Moodle course backup (.mbz) — import. */
15119
- MOODLE_BACKUP = 'MOODLE_BACKUP'
15615
+ MOODLE_BACKUP = 'MOODLE_BACKUP',
15616
+ /** Roster (enrollment) CSV — import. */
15617
+ ROSTER_CSV = 'ROSTER_CSV',
15618
+ /** SCORM 1.2 / 2004 package (.zip) — import as an interactive lesson (BOFF-10579). */
15619
+ SCORM = 'SCORM',
15620
+ /** SCORM 1.2 package (.zip) — export (BOFF-10579). */
15621
+ SCORM_12 = 'SCORM_12'
15120
15622
  }
15121
15623
 
15122
15624
  /** Something in a package that was skipped, converted or needs attention. */
@@ -15168,7 +15670,11 @@ export type BuiMigrationJobConnection = {
15168
15670
  export enum BuiMigrationJobKind {
15169
15671
  COURSE_EXPORT = 'COURSE_EXPORT',
15170
15672
  COURSE_IMPORT = 'COURSE_IMPORT',
15171
- GRADEBOOK_EXPORT = 'GRADEBOOK_EXPORT'
15673
+ GRADEBOOK_EXPORT = 'GRADEBOOK_EXPORT',
15674
+ /** Gradebook CSV import: graded submissions from Canvas, Blackboard, Moodle or a generic CSV (BOFF-10578). */
15675
+ GRADEBOOK_IMPORT = 'GRADEBOOK_IMPORT',
15676
+ /** Roster CSV import: enrollments from Canvas, Blackboard, Moodle or a generic CSV (BOFF-10578). */
15677
+ ROSTER_IMPORT = 'ROSTER_IMPORT'
15172
15678
  }
15173
15679
 
15174
15680
  export enum BuiMigrationJobStatus {
@@ -15226,6 +15732,12 @@ export type BuiMigrationStats = {
15226
15732
  assessmentCount: Scalars['Int']['output'];
15227
15733
  /** Size of the package or export in bytes. */
15228
15734
  byteSize: Scalars['Int']['output'];
15735
+ /** Rows written: enrollments (roster import) or grades (gradebook import). */
15736
+ createdCount: Scalars['Int']['output'];
15737
+ /** LMS SIS ids or logins linked to workspace members (roster import). */
15738
+ identifierCount: Scalars['Int']['output'];
15739
+ /** Distinct learners enrolled or graded. */
15740
+ learnerCount: Scalars['Int']['output'];
15229
15741
  lessonCount: Scalars['Int']['output'];
15230
15742
  /** Media files an import uploads to Files after writing the course. */
15231
15743
  mediaFileCount: Scalars['Int']['output'];
@@ -15235,6 +15747,8 @@ export type BuiMigrationStats = {
15235
15747
  rowCount: Scalars['Int']['output'];
15236
15748
  /** Package items that were not imported. */
15237
15749
  skippedCount: Scalars['Int']['output'];
15750
+ /** Imported grades updated in place by a gradebook re-import. */
15751
+ updatedCount: Scalars['Int']['output'];
15238
15752
  };
15239
15753
 
15240
15754
  export type BuiModule = {
@@ -15267,7 +15781,11 @@ export type BuiNextLessonSuggestion = {
15267
15781
  createdAt: Scalars['DateTime']['output'];
15268
15782
  enrollmentId: Scalars['ID']['output'];
15269
15783
  id: Scalars['ID']['output'];
15270
- /** Ids of the records this decision actually read (the enrollment, its lesson-progress rows, and any graded submissions used to derive the pacing signal) — the explainability trail for a DPO/compliance review. */
15784
+ /**
15785
+ * Ids of the records this decision actually read (the enrollment, its
15786
+ * lesson-progress rows, and any graded submissions used to derive the
15787
+ * pacing signal) — the explainability trail for a DPO/compliance review.
15788
+ */
15271
15789
  inputRefs: Array<Scalars['ID']['output']>;
15272
15790
  lessonId: Scalars['ID']['output'];
15273
15791
  lessonTitle: Scalars['String']['output'];
@@ -15356,7 +15874,11 @@ export enum BuiProctoringDecision {
15356
15874
  REJECTED = 'REJECTED'
15357
15875
  }
15358
15876
 
15359
- /** BOFF-9691: a reviewer's view of a learner's identity photo/ID. The file stays PRIVATE to the learner in the platform file store; this carries only what a reviewer needs to look at it once. */
15877
+ /**
15878
+ * BOFF-9691: a reviewer's view of a learner's identity photo/ID. The file stays
15879
+ * PRIVATE to the learner in the platform file store; this carries only what a
15880
+ * reviewer needs to look at it once.
15881
+ */
15360
15882
  export type BuiProctoringIdentityFile = {
15361
15883
  __typename?: 'BuiProctoringIdentityFile';
15362
15884
  /** Short-lived presigned URL (about five minutes). */
@@ -15371,7 +15893,10 @@ export type BuiProctoringIdentityFile = {
15371
15893
 
15372
15894
  export type BuiProctoringSession = {
15373
15895
  __typename?: 'BuiProctoringSession';
15374
- /** BOFF-9690: when the learner consented to in-browser AI monitoring. Null when the assessment does not use AI monitoring. */
15896
+ /**
15897
+ * BOFF-9690: when the learner consented to in-browser AI monitoring. Null
15898
+ * when the assessment does not use AI monitoring.
15899
+ */
15375
15900
  aiMonitoringConsentAt?: Maybe<Scalars['DateTime']['output']>;
15376
15901
  assessmentId: Scalars['ID']['output'];
15377
15902
  createdAt: Scalars['DateTime']['output'];
@@ -15384,7 +15909,10 @@ export type BuiProctoringSession = {
15384
15909
  reviewNotes?: Maybe<Scalars['String']['output']>;
15385
15910
  reviewedAt?: Maybe<Scalars['DateTime']['output']>;
15386
15911
  reviewedById?: Maybe<Scalars['ID']['output']>;
15387
- /** Number of proctoring signals recorded on this session (lockdown + AI), including any already deleted by the retention period. */
15912
+ /**
15913
+ * Number of proctoring signals recorded on this session (lockdown + AI),
15914
+ * including any already deleted by the retention period.
15915
+ */
15388
15916
  signalCount: Scalars['Int']['output'];
15389
15917
  /** Per-type counts of this session's signals still inside the retention period. */
15390
15918
  signalSummary: Array<BuiProctoringSignalSummary>;
@@ -15400,7 +15928,11 @@ export type BuiProctoringSessionConnection = {
15400
15928
  pageInfo: BuiPageInfo;
15401
15929
  };
15402
15930
 
15403
- /** BOFF-9690: one signal episode on a proctoring session. Only the kind, timing and a few numbers are stored — never images, audio or face templates — and rows are deleted after the published retention period (60 days). */
15931
+ /**
15932
+ * BOFF-9690: one signal episode on a proctoring session. Only the kind, timing
15933
+ * and a few numbers are stored — never images, audio or face templates — and
15934
+ * rows are deleted after the published retention period (60 days).
15935
+ */
15404
15936
  export type BuiProctoringSignal = {
15405
15937
  __typename?: 'BuiProctoringSignal';
15406
15938
  /** Detector confidence 0..1 (AI signals only). */
@@ -15441,7 +15973,14 @@ export type BuiProctoringSignalSummary = {
15441
15973
  type: BuiProctoringSignalType;
15442
15974
  };
15443
15975
 
15444
- /** BOFF-9690: a proctoring signal episode observed by the learner's browser. Lockdown signals: TAB_HIDDEN, WINDOW_BLUR, FULLSCREEN_EXIT, CLIPBOARD. AI signals (opt-in per assessment, analysed on the learner's device only): FACE_ABSENT, MULTIPLE_FACES, GAZE_AWAY (head turned away from the screen), VOICE_DETECTED (sustained speech-band audio), CAMERA_UNAVAILABLE, MICROPHONE_UNAVAILABLE. */
15976
+ /**
15977
+ * BOFF-9690: a proctoring signal episode observed by the learner's browser.
15978
+ * Lockdown signals: TAB_HIDDEN, WINDOW_BLUR, FULLSCREEN_EXIT, CLIPBOARD.
15979
+ * AI signals (opt-in per assessment, analysed on the learner's device only):
15980
+ * FACE_ABSENT, MULTIPLE_FACES, GAZE_AWAY (head turned away from the screen),
15981
+ * VOICE_DETECTED (sustained speech-band audio), CAMERA_UNAVAILABLE,
15982
+ * MICROPHONE_UNAVAILABLE.
15983
+ */
15445
15984
  export enum BuiProctoringSignalType {
15446
15985
  CAMERA_UNAVAILABLE = 'CAMERA_UNAVAILABLE',
15447
15986
  CLIPBOARD = 'CLIPBOARD',
@@ -15494,7 +16033,10 @@ export type BuiQuestion = {
15494
16033
  points: Scalars['Float']['output'];
15495
16034
  position: Scalars['Int']['output'];
15496
16035
  prompt: Scalars['String']['output'];
15497
- /** BOFF-4429: per-criterion grading rubric for this (typically open-ended) question. Empty for questions graded holistically off `explanation`. */
16036
+ /**
16037
+ * BOFF-4429: per-criterion grading rubric for this (typically open-ended)
16038
+ * question. Empty for questions graded holistically off `explanation`.
16039
+ */
15498
16040
  rubricCriteria: Array<BuiRubricCriterion>;
15499
16041
  type: BuiQuestionType;
15500
16042
  updatedAt: Scalars['DateTime']['output'];
@@ -15509,11 +16051,18 @@ export type BuiQuestionConnection = {
15509
16051
 
15510
16052
  export type BuiQuestionFeedback = {
15511
16053
  __typename?: 'BuiQuestionFeedback';
15512
- /** Per-criterion AI proposals for this question (BOFF-4429). Empty when the question has no rubric criteria and was scored holistically. */
16054
+ /**
16055
+ * Per-criterion AI proposals for this question (BOFF-4429). Empty when the
16056
+ * question has no rubric criteria and was scored holistically.
16057
+ */
15513
16058
  criterionScores: Array<BuiCriterionScore>;
15514
16059
  feedback: Scalars['String']['output'];
15515
16060
  questionId: Scalars['ID']['output'];
15516
- /** Points this question contributed to `proposedScore`. Deterministic (answerKey comparison) for objective questions; the AI's proposal for open-ended ones — always educator-reviewable, never auto-applied. */
16061
+ /**
16062
+ * Points this question contributed to `proposedScore`. Deterministic
16063
+ * (answerKey comparison) for objective questions; the AI's proposal for
16064
+ * open-ended ones — always educator-reviewable, never auto-applied.
16065
+ */
15517
16066
  suggestedPoints?: Maybe<Scalars['Float']['output']>;
15518
16067
  };
15519
16068
 
@@ -15589,7 +16138,102 @@ export type BuiReviewTutorAnswerInput = {
15589
16138
  note?: InputMaybe<Scalars['String']['input']>;
15590
16139
  };
15591
16140
 
15592
- /** One scored dimension of a question's grading rubric (BOFF-4429) — e.g. "Thesis clarity" (max 5 pts), "Evidence & citations" (max 10 pts). Set as a whole via `buiSetRubricCriteria`; `IntelligenceService.suggestGrade` scores each criterion independently when a question has any. */
16141
+ export enum BuiRiskSeverity {
16142
+ HIGH = 'HIGH',
16143
+ LOW = 'LOW',
16144
+ MEDIUM = 'MEDIUM'
16145
+ }
16146
+
16147
+ /** One named signal behind an at-risk flag — evidence, never a bare score. */
16148
+ export type BuiRiskSignal = {
16149
+ __typename?: 'BuiRiskSignal';
16150
+ /** Plain sentence an educator can read aloud: what was observed, with numbers. */
16151
+ detail: Scalars['String']['output'];
16152
+ kind: BuiRiskSignalKind;
16153
+ severity: BuiRiskSeverity;
16154
+ };
16155
+
16156
+ export enum BuiRiskSignalKind {
16157
+ /** Progress is well under the cohort median. */
16158
+ BEHIND_PEERS = 'BEHIND_PEERS',
16159
+ /** No lesson progress for at least a week. */
16160
+ DORMANCY = 'DORMANCY',
16161
+ /** Running assessment average is below 60. */
16162
+ LOW_ASSESSMENT_AVERAGE = 'LOW_ASSESSMENT_AVERAGE',
16163
+ /** Completed-lesson pace is behind the cohort's scheduled window. */
16164
+ PROGRESS_VELOCITY = 'PROGRESS_VELOCITY',
16165
+ /** Latest graded score dropped well under the earlier average. */
16166
+ SCORE_TREND_DECLINING = 'SCORE_TREND_DECLINING'
16167
+ }
16168
+
16169
+ export type BuiRosterCourseMappingInput = {
16170
+ /** BuildMyIQ course to enroll into; null skips the LMS course. */
16171
+ courseId?: InputMaybe<Scalars['ID']['input']>;
16172
+ /** LMS course identifier as it appears in the file. */
16173
+ sourceCourse: Scalars['String']['input'];
16174
+ };
16175
+
16176
+ /** How an LMS course in a roster maps to a BuildMyIQ course. */
16177
+ export type BuiRosterCourseMatch = {
16178
+ __typename?: 'BuiRosterCourseMatch';
16179
+ courseId?: Maybe<Scalars['ID']['output']>;
16180
+ courseTitle?: Maybe<Scalars['String']['output']>;
16181
+ /** MAPPING (chosen), ID, SLUG or TITLE; null when unmapped. */
16182
+ matchedBy?: Maybe<Scalars['String']['output']>;
16183
+ rowCount: Scalars['Int']['output'];
16184
+ sourceCourse: Scalars['String']['output'];
16185
+ };
16186
+
16187
+ export type BuiRosterImportInput = {
16188
+ /** Overrides the automatic id / slug / title course matching. */
16189
+ courseMappings?: InputMaybe<Array<BuiRosterCourseMappingInput>>;
16190
+ /** wspace-files-svc id of the uploaded roster CSV. */
16191
+ fileId: Scalars['ID']['input'];
16192
+ /** Detected from the header when omitted. */
16193
+ sourceSystem?: InputMaybe<BuiLmsSystem>;
16194
+ /** Optional users file (Canvas users.csv, Blackboard person feed) that maps SIS ids to e-mails. */
16195
+ usersFileId?: InputMaybe<Scalars['ID']['input']>;
16196
+ };
16197
+
16198
+ /** What a roster import would do, computed without writing anything. */
16199
+ export type BuiRosterImportPreview = {
16200
+ __typename?: 'BuiRosterImportPreview';
16201
+ canImport: Scalars['Boolean']['output'];
16202
+ courses: Array<BuiRosterCourseMatch>;
16203
+ fileName: Scalars['String']['output'];
16204
+ /** SIS ids / logins the import would link to members. */
16205
+ identifierCount: Scalars['Int']['output'];
16206
+ issues: Array<BuiMigrationIssue>;
16207
+ /** E-mails in the file that are not workspace members (invite them, then re-run). */
16208
+ missingLearnerEmails: Array<Scalars['String']['output']>;
16209
+ /** Enrollments the import would create. */
16210
+ readyCount: Scalars['Int']['output'];
16211
+ /** The first 500 rows. */
16212
+ rows: Array<BuiImportRow>;
16213
+ rowsTruncated: Scalars['Boolean']['output'];
16214
+ sourceSystem: BuiLmsSystem;
16215
+ statusCounts: Array<BuiImportRowCount>;
16216
+ totalRows: Scalars['Int']['output'];
16217
+ usersFileName?: Maybe<Scalars['String']['output']>;
16218
+ };
16219
+
16220
+ export type BuiRosterImportResult = {
16221
+ __typename?: 'BuiRosterImportResult';
16222
+ enrolledCount: Scalars['Int']['output'];
16223
+ job: BuiMigrationJob;
16224
+ missingLearnerEmails: Array<Scalars['String']['output']>;
16225
+ /** The first 500 rows that were not enrolled, with the reason. */
16226
+ rows: Array<BuiImportRow>;
16227
+ rowsTruncated: Scalars['Boolean']['output'];
16228
+ statusCounts: Array<BuiImportRowCount>;
16229
+ };
16230
+
16231
+ /**
16232
+ * One scored dimension of a question's grading rubric (BOFF-4429) — e.g.
16233
+ * "Thesis clarity" (max 5 pts), "Evidence & citations" (max 10 pts). Set as a
16234
+ * whole via `buiSetRubricCriteria`; `IntelligenceService.suggestGrade` scores
16235
+ * each criterion independently when a question has any.
16236
+ */
15593
16237
  export type BuiRubricCriterion = {
15594
16238
  __typename?: 'BuiRubricCriterion';
15595
16239
  createdAt: Scalars['DateTime']['output'];
@@ -15653,6 +16297,133 @@ export type BuiSavedCourseConnection = {
15653
16297
  pageInfo: BuiPageInfo;
15654
16298
  };
15655
16299
 
16300
+ export type BuiScormCommitResult = {
16301
+ __typename?: 'BuiScormCommitResult';
16302
+ item: BuiScormItemState;
16303
+ /** True when the lesson is complete (now or already). */
16304
+ lessonCompleted: Scalars['Boolean']['output'];
16305
+ };
16306
+
16307
+ /** A launchable item of a SCORM package, in organization order. */
16308
+ export type BuiScormItem = {
16309
+ __typename?: 'BuiScormItem';
16310
+ /** SCORM 2004 completion threshold (0 to 1). */
16311
+ completionThreshold?: Maybe<Scalars['Float']['output']>;
16312
+ /** Launch file path inside the stored archive. */
16313
+ href: Scalars['String']['output'];
16314
+ /** Organization item identifier. */
16315
+ identifier: Scalars['ID']['output'];
16316
+ /** Value of cmi.launch_data. */
16317
+ launchData: Scalars['String']['output'];
16318
+ /** SCORM 1.2 mastery score (0-100). */
16319
+ masteryScore?: Maybe<Scalars['Float']['output']>;
16320
+ maxTimeAllowed: Scalars['String']['output'];
16321
+ /** Query string appended to the launch file, without the leading ?. */
16322
+ parameters: Scalars['String']['output'];
16323
+ /** SCORM 2004 scaled passing score (-1 to 1). */
16324
+ scaledPassingScore?: Maybe<Scalars['Float']['output']>;
16325
+ /** sco (talks to the SCORM API) or asset (a plain page). */
16326
+ scormType: Scalars['String']['output'];
16327
+ timeLimitAction: Scalars['String']['output'];
16328
+ title: Scalars['String']['output'];
16329
+ };
16330
+
16331
+ /** A learner's run-time state for one item. */
16332
+ export type BuiScormItemState = {
16333
+ __typename?: 'BuiScormItemState';
16334
+ attemptNumber: Scalars['Int']['output'];
16335
+ /** SCORM 2004 completion_status, or the SCORM 1.2 lesson_status. */
16336
+ completionStatus: Scalars['String']['output'];
16337
+ /** Value of cmi.entry / cmi.core.entry for this launch (ab-initio, resume or empty). */
16338
+ entry: Scalars['String']['output'];
16339
+ identifier: Scalars['ID']['output'];
16340
+ /** True once the item was completed or passed. */
16341
+ satisfied: Scalars['Boolean']['output'];
16342
+ scoreMax?: Maybe<Scalars['Float']['output']>;
16343
+ scoreMin?: Maybe<Scalars['Float']['output']>;
16344
+ scoreRaw?: Maybe<Scalars['Float']['output']>;
16345
+ scoreScaled?: Maybe<Scalars['Float']['output']>;
16346
+ /** SCORM 2004 success_status (passed, failed or unknown). */
16347
+ successStatus: Scalars['String']['output'];
16348
+ /** Total time in the version's format (HHHH:MM:SS or an ISO 8601 duration). */
16349
+ totalTime: Scalars['String']['output'];
16350
+ totalTimeSeconds: Scalars['Int']['output'];
16351
+ /** Stored data model values the item resumes from. */
16352
+ values: Array<BuiScormValue>;
16353
+ };
16354
+
16355
+ /** Everything the sandboxed player needs to launch a SCORM lesson. */
16356
+ export type BuiScormLaunch = {
16357
+ __typename?: 'BuiScormLaunch';
16358
+ enrollmentId?: Maybe<Scalars['ID']['output']>;
16359
+ items: Array<BuiScormItemState>;
16360
+ /** Value of cmi.learner_id / cmi.core.student_id. */
16361
+ learnerId: Scalars['ID']['output'];
16362
+ lessonCompleted: Scalars['Boolean']['output'];
16363
+ mode: BuiScormLaunchMode;
16364
+ package: BuiScormPackage;
16365
+ /** Short-lived signed URL of the stored ZIP. Fetch it before packageUrlExpiresAt. */
16366
+ packageUrl: Scalars['String']['output'];
16367
+ packageUrlExpiresAt: Scalars['DateTime']['output'];
16368
+ };
16369
+
16370
+ export enum BuiScormLaunchMode {
16371
+ /** An author's preview: nothing is stored. */
16372
+ BROWSE = 'BROWSE',
16373
+ /** A learner's launch: run-time data is committed and kept. */
16374
+ NORMAL = 'NORMAL'
16375
+ }
16376
+
16377
+ /** A SCORM package attached to an INTERACTIVE lesson. */
16378
+ export type BuiScormPackage = {
16379
+ __typename?: 'BuiScormPackage';
16380
+ byteSize: Scalars['Int']['output'];
16381
+ createdAt: Scalars['DateTime']['output'];
16382
+ /** Path of the SCORM ZIP inside the stored file when it is nested in a cartridge. */
16383
+ entryPath?: Maybe<Scalars['String']['output']>;
16384
+ /** wspace-files-svc id of the stored ZIP. */
16385
+ fileId: Scalars['ID']['output'];
16386
+ fileName: Scalars['String']['output'];
16387
+ id: Scalars['ID']['output'];
16388
+ identifier: Scalars['String']['output'];
16389
+ itemCount: Scalars['Int']['output'];
16390
+ items: Array<BuiScormItem>;
16391
+ lessonId: Scalars['ID']['output'];
16392
+ /** Folder inside the archive that holds imsmanifest.xml (empty for the root). */
16393
+ rootPath: Scalars['String']['output'];
16394
+ /** Schema version declared by the manifest, e.g. 1.2 or 2004 4th Edition. */
16395
+ schemaVersion: Scalars['String']['output'];
16396
+ title: Scalars['String']['output'];
16397
+ updatedAt: Scalars['DateTime']['output'];
16398
+ validatedAt: Scalars['DateTime']['output'];
16399
+ version: BuiScormVersion;
16400
+ warnings: Array<BuiScormWarning>;
16401
+ };
16402
+
16403
+ /** One stored data model element. */
16404
+ export type BuiScormValue = {
16405
+ __typename?: 'BuiScormValue';
16406
+ element: Scalars['String']['output'];
16407
+ value: Scalars['String']['output'];
16408
+ };
16409
+
16410
+ export type BuiScormValueInput = {
16411
+ element: Scalars['String']['input'];
16412
+ value: Scalars['String']['input'];
16413
+ };
16414
+
16415
+ export enum BuiScormVersion {
16416
+ SCORM_12 = 'SCORM_12',
16417
+ SCORM_2004 = 'SCORM_2004'
16418
+ }
16419
+
16420
+ /** A non-fatal note from manifest validation, e.g. sequencing rules the player simplifies. */
16421
+ export type BuiScormWarning = {
16422
+ __typename?: 'BuiScormWarning';
16423
+ code: Scalars['String']['output'];
16424
+ message: Scalars['String']['output'];
16425
+ };
16426
+
15656
16427
  export type BuiSkill = {
15657
16428
  __typename?: 'BuiSkill';
15658
16429
  category: BuiSkillCategory;
@@ -15733,6 +16504,8 @@ export type BuiSubmission = {
15733
16504
  gradedAt?: Maybe<Scalars['DateTime']['output']>;
15734
16505
  gradedById?: Maybe<Scalars['ID']['output']>;
15735
16506
  id: Scalars['ID']['output'];
16507
+ /** LMS a gradebook import brought this grade from (CANVAS, BLACKBOARD, MOODLE, GENERIC); null for grades given in BuildMyIQ (BOFF-10578). */
16508
+ importSource?: Maybe<Scalars['String']['output']>;
15736
16509
  learnerId: Scalars['ID']['output'];
15737
16510
  passed?: Maybe<Scalars['Boolean']['output']>;
15738
16511
  score?: Maybe<Scalars['Float']['output']>;
@@ -15770,7 +16543,10 @@ export type BuiSubmitInteractiveAttemptInput = {
15770
16543
  };
15771
16544
 
15772
16545
  export type BuiSubmitProctoringIdentityInput = {
15773
- /** BOFF-9690: explicit consent to in-browser AI monitoring. Required (true) when the assessment has `aiProctoringEnabled`; ignored otherwise. */
16546
+ /**
16547
+ * BOFF-9690: explicit consent to in-browser AI monitoring. Required (true)
16548
+ * when the assessment has `aiProctoringEnabled`; ignored otherwise.
16549
+ */
15774
16550
  aiMonitoringConsent?: InputMaybe<Scalars['Boolean']['input']>;
15775
16551
  identityFileId?: InputMaybe<Scalars['ID']['input']>;
15776
16552
  lockdownAcknowledged: Scalars['Boolean']['input'];
@@ -15791,6 +16567,17 @@ export type BuiSuggestAssessmentDraftInput = {
15791
16567
  questionTypes?: InputMaybe<Array<BuiQuestionType>>;
15792
16568
  };
15793
16569
 
16570
+ /** The decision engine's recommended remediation for a flagged enrollment. */
16571
+ export type BuiSuggestedIntervention = {
16572
+ __typename?: 'BuiSuggestedIntervention';
16573
+ kind: BuiInterventionKind;
16574
+ lessonId?: Maybe<Scalars['ID']['output']>;
16575
+ lessonTitle?: Maybe<Scalars['String']['output']>;
16576
+ moduleTitle?: Maybe<Scalars['String']['output']>;
16577
+ pacingHint?: Maybe<BuiPacingHint>;
16578
+ rationale: Scalars['String']['output'];
16579
+ };
16580
+
15794
16581
  export type BuiSyncExternalCertificateInput = {
15795
16582
  /** The source product's id of the certificate's course (synced first). */
15796
16583
  courseSourceId: Scalars['ID']['input'];
@@ -15846,9 +16633,16 @@ export type BuiSyncExternalEnrollmentInput = {
15846
16633
  status: BuiEnrollmentStatus;
15847
16634
  };
15848
16635
 
15849
- /** 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. */
16636
+ /**
16637
+ * BOFF-10464: a source product's lesson. Only the canonical lesson fields are
16638
+ * mirrored; product-specific lesson data (runnable-code metadata, quiz answer
16639
+ * keys, entitlement lock state) stays with the source product.
16640
+ */
15850
16641
  export type BuiSyncExternalLessonInput = {
15851
- /** Lesson body. The source sends null when it must not be exposed outside the source product (for example a premium-only lesson body). */
16642
+ /**
16643
+ * Lesson body. The source sends null when it must not be exposed outside the
16644
+ * source product (for example a premium-only lesson body).
16645
+ */
15852
16646
  content?: InputMaybe<Scalars['String']['input']>;
15853
16647
  /** The source product's id of the lesson's course (synced first). */
15854
16648
  courseSourceId: Scalars['ID']['input'];
@@ -15917,7 +16711,10 @@ export type BuiTutorAnswerReviewEntry = {
15917
16711
  export type BuiTutorAskInput = {
15918
16712
  lessonId: Scalars['ID']['input'];
15919
16713
  question: Scalars['String']['input'];
15920
- /** Continue an existing session (must belong to the calling learner — see `buiTutorAsk` resolver). Omit to start a new session for this lesson. */
16714
+ /**
16715
+ * Continue an existing session (must belong to the calling learner — see
16716
+ * `buiTutorAsk` resolver). Omit to start a new session for this lesson.
16717
+ */
15921
16718
  sessionId?: InputMaybe<Scalars['ID']['input']>;
15922
16719
  };
15923
16720
 
@@ -15930,17 +16727,33 @@ export type BuiTutorAskPayload = {
15930
16727
  export type BuiTutorMessage = {
15931
16728
  __typename?: 'BuiTutorMessage';
15932
16729
  adaptiveLevel?: Maybe<BuiTutorAdaptiveLevel>;
15933
- /** The text the learner sees. For a CORRECTED answer this is the instructor's corrected version; for a REDACTED answer it is a localized removal notice. */
16730
+ /**
16731
+ * The text the learner sees. For a CORRECTED answer this is the instructor's
16732
+ * corrected version; for a REDACTED answer it is a localized removal notice.
16733
+ */
15934
16734
  content: Scalars['String']['output'];
15935
16735
  createdAt: Scalars['DateTime']['output'];
15936
- /** Lesson ids whose content grounded this turn's answer. Always empty for USER messages. */
16736
+ /**
16737
+ * Lesson ids whose content grounded this turn's answer. Always empty for
16738
+ * USER messages.
16739
+ */
15937
16740
  groundingLessonIds: Array<Scalars['ID']['output']>;
15938
16741
  id: Scalars['ID']['output'];
15939
- /** The model's original answer, kept for audit. Only resolved on the educator review surfaces (`buiListTutorSessions`, `buiReviewTutorAnswer`); always null on the learner's own queries so a redacted answer never reaches the learner. */
16742
+ /**
16743
+ * The model's original answer, kept for audit. Only resolved on the educator
16744
+ * review surfaces (`buiListTutorSessions`, `buiReviewTutorAnswer`); always null
16745
+ * on the learner's own queries so a redacted answer never reaches the learner.
16746
+ */
15940
16747
  originalContent?: Maybe<Scalars['String']['output']>;
15941
- /** Current educator review (ASSISTANT messages only); null while unreviewed. Learners use it to show a "reviewed by your instructor" marker. */
16748
+ /**
16749
+ * Current educator review (ASSISTANT messages only); null while unreviewed.
16750
+ * Learners use it to show a "reviewed by your instructor" marker.
16751
+ */
15942
16752
  review?: Maybe<BuiTutorAnswerReview>;
15943
- /** Append-only history of educator actions on this answer, oldest first. Only resolved on the educator review surfaces; empty for learners. */
16753
+ /**
16754
+ * Append-only history of educator actions on this answer, oldest first. Only
16755
+ * resolved on the educator review surfaces; empty for learners.
16756
+ */
15944
16757
  reviewHistory: Array<BuiTutorAnswerReviewEntry>;
15945
16758
  role: BuiTutorMessageRole;
15946
16759
  sessionId: Scalars['ID']['output'];
@@ -15995,7 +16808,10 @@ export type BuiTutorSessionConnection = {
15995
16808
  export type BuiUpdateAiSettingsInput = {
15996
16809
  /** Omit to keep the current value. */
15997
16810
  applyToTutor?: InputMaybe<Scalars['Boolean']['input']>;
15998
- /** Replaces the saved block-list (max 200 terms, 80 characters each); an empty list clears it. Omit to keep the current list. */
16811
+ /**
16812
+ * Replaces the saved block-list (max 200 terms, 80 characters each); an empty
16813
+ * list clears it. Omit to keep the current list.
16814
+ */
15999
16815
  blockedTerms?: InputMaybe<Array<Scalars['String']['input']>>;
16000
16816
  };
16001
16817
 
@@ -16045,6 +16861,115 @@ export type BuiUpdateLearningObjectInput = {
16045
16861
  title?: InputMaybe<Scalars['String']['input']>;
16046
16862
  };
16047
16863
 
16864
+ /** Result of checking the saved LRS settings against the LRS. */
16865
+ export type BuiXapiConnectionCheck = {
16866
+ __typename?: 'BuiXapiConnectionCheck';
16867
+ /** An authenticated statements request was accepted. */
16868
+ authenticated: Scalars['Boolean']['output'];
16869
+ httpStatus?: Maybe<Scalars['Int']['output']>;
16870
+ message: Scalars['String']['output'];
16871
+ /** The endpoint answered GET /about as an xAPI LRS. */
16872
+ reachable: Scalars['Boolean']['output'];
16873
+ /** xAPI versions the LRS declares. */
16874
+ versions: Array<Scalars['String']['output']>;
16875
+ };
16876
+
16877
+ export type BuiXapiDeliveryCounts = {
16878
+ __typename?: 'BuiXapiDeliveryCounts';
16879
+ delivered: Scalars['Int']['output'];
16880
+ failed: Scalars['Int']['output'];
16881
+ pending: Scalars['Int']['output'];
16882
+ stored: Scalars['Int']['output'];
16883
+ };
16884
+
16885
+ /** Result of one delivery pass. */
16886
+ export type BuiXapiDeliveryRun = {
16887
+ __typename?: 'BuiXapiDeliveryRun';
16888
+ attempted: Scalars['Int']['output'];
16889
+ delivered: Scalars['Int']['output'];
16890
+ failed: Scalars['Int']['output'];
16891
+ message?: Maybe<Scalars['String']['output']>;
16892
+ retrying: Scalars['Int']['output'];
16893
+ /** NOT_CONFIGURED, DISABLED, IDLE, OK, PARTIAL or FAILED. */
16894
+ status: Scalars['String']['output'];
16895
+ };
16896
+
16897
+ /** Delivery state of a recorded statement. */
16898
+ export enum BuiXapiDeliveryStatus {
16899
+ /** Accepted by the LRS. */
16900
+ DELIVERED = 'DELIVERED',
16901
+ /** Rejected by the LRS, or every retry failed. */
16902
+ FAILED = 'FAILED',
16903
+ /** Queued for the LRS. */
16904
+ PENDING = 'PENDING',
16905
+ /** Recorded while no LRS was enabled; kept for export and later delivery. */
16906
+ STORED = 'STORED'
16907
+ }
16908
+
16909
+ /** A course's statements as an xAPI StatementResult JSON document. Decode `contentBase64` and save it as `fileName`. */
16910
+ export type BuiXapiExport = {
16911
+ __typename?: 'BuiXapiExport';
16912
+ byteSize: Scalars['Int']['output'];
16913
+ contentBase64: Scalars['String']['output'];
16914
+ fileName: Scalars['String']['output'];
16915
+ mimeType: Scalars['String']['output'];
16916
+ statementCount: Scalars['Int']['output'];
16917
+ };
16918
+
16919
+ /** A workspace's LRS settings. The password is never returned. */
16920
+ export type BuiXapiLrsConfig = {
16921
+ __typename?: 'BuiXapiLrsConfig';
16922
+ consecutiveFailures: Scalars['Int']['output'];
16923
+ counts: BuiXapiDeliveryCounts;
16924
+ createdAt: Scalars['DateTime']['output'];
16925
+ enabled: Scalars['Boolean']['output'];
16926
+ /** xAPI base endpoint, e.g. https://lrs.example.com/xapi. */
16927
+ endpoint: Scalars['String']['output'];
16928
+ hasPassword: Scalars['Boolean']['output'];
16929
+ id: Scalars['ID']['output'];
16930
+ lastDeliveryAt?: Maybe<Scalars['DateTime']['output']>;
16931
+ /** OK or FAILED: the outcome of the last delivery attempt. */
16932
+ lastDeliveryStatus?: Maybe<Scalars['String']['output']>;
16933
+ /** Why the last delivery attempt failed, when it did. */
16934
+ lastError?: Maybe<Scalars['String']['output']>;
16935
+ updatedAt: Scalars['DateTime']['output'];
16936
+ updatedBy?: Maybe<Scalars['String']['output']>;
16937
+ /** HTTP Basic username (the LRS key). */
16938
+ username: Scalars['String']['output'];
16939
+ };
16940
+
16941
+ export type BuiXapiStatement = {
16942
+ __typename?: 'BuiXapiStatement';
16943
+ attempts: Scalars['Int']['output'];
16944
+ courseId?: Maybe<Scalars['ID']['output']>;
16945
+ deliveredAt?: Maybe<Scalars['DateTime']['output']>;
16946
+ deliveryStatus: BuiXapiDeliveryStatus;
16947
+ /** The xAPI statement id. */
16948
+ id: Scalars['ID']['output'];
16949
+ lastError?: Maybe<Scalars['String']['output']>;
16950
+ learnerId: Scalars['ID']['output'];
16951
+ objectId: Scalars['ID']['output'];
16952
+ /** COURSE, LESSON or ASSESSMENT. */
16953
+ objectType: Scalars['String']['output'];
16954
+ /** The full xAPI statement as it is sent to the LRS. */
16955
+ statement: Scalars['JSON']['output'];
16956
+ timestamp: Scalars['DateTime']['output'];
16957
+ /** registered, launched, progressed, completed, scored, passed or failed. */
16958
+ verb: Scalars['String']['output'];
16959
+ };
16960
+
16961
+ export type BuiXapiStatementConnection = {
16962
+ __typename?: 'BuiXapiStatementConnection';
16963
+ items: Array<BuiXapiStatement>;
16964
+ pageInfo: BuiPageInfo;
16965
+ };
16966
+
16967
+ export type BuiXapiStatementFilter = {
16968
+ courseId?: InputMaybe<Scalars['ID']['input']>;
16969
+ deliveryStatus?: InputMaybe<BuiXapiDeliveryStatus>;
16970
+ learnerId?: InputMaybe<Scalars['ID']['input']>;
16971
+ };
16972
+
16048
16973
  export type BuildWorkflowCodeInput = {
16049
16974
  /** The version whose source archive the files are laid over. */
16050
16975
  baseVersion: Scalars['String']['input'];
@@ -51484,6 +52409,27 @@ export type HokActivationStep = {
51484
52409
  uniqueActors: Scalars['Int']['output'];
51485
52410
  };
51486
52411
 
52412
+ export enum HokAdBeaconEvent {
52413
+ /** The programmatic billing notice (OpenRTB burl). */
52414
+ billing = 'billing',
52415
+ complete = 'complete',
52416
+ firstQuartile = 'firstQuartile',
52417
+ impression = 'impression',
52418
+ midpoint = 'midpoint',
52419
+ start = 'start',
52420
+ thirdQuartile = 'thirdQuartile'
52421
+ }
52422
+
52423
+ /** Outcome of one tracking event of a server-side beacon delivery. */
52424
+ export type HokAdBeaconEventResult = {
52425
+ __typename?: 'HokAdBeaconEventResult';
52426
+ attempted: Scalars['Int']['output'];
52427
+ delivered: Scalars['Int']['output'];
52428
+ event: HokAdBeaconEvent;
52429
+ /** Hosts whose beacon failed (full URLs are never kept: they carry privacy macros). */
52430
+ failedHosts: Array<Scalars['String']['output']>;
52431
+ };
52432
+
51487
52433
  /** An ad break decided for the calling viewer. `decisionId` is null when nothing was eligible (no fill); every ad that plays must be confirmed with `hokRecordAdImpression(decisionId, campaignId)`. */
51488
52434
  export type HokAdBreak = {
51489
52435
  __typename?: 'HokAdBreak';
@@ -51772,6 +52718,34 @@ export type HokAdTitleRevenue = {
51772
52718
  titleId: Scalars['ID']['output'];
51773
52719
  };
51774
52720
 
52721
+ /** Server-side delivery of one third-party ad's tracking beacons, fired by the FAST linear stream originator once the ad aired (BOFF-10594). At most one per decision and slot. */
52722
+ export type HokAdTrackerDelivery = {
52723
+ __typename?: 'HokAdTrackerDelivery';
52724
+ attemptedCount: Scalars['Int']['output'];
52725
+ billingDelivered: Scalars['Boolean']['output'];
52726
+ billingDue: Scalars['Boolean']['output'];
52727
+ completedAt?: Maybe<Scalars['DateTime']['output']>;
52728
+ createdAt: Scalars['DateTime']['output'];
52729
+ decisionId: Scalars['ID']['output'];
52730
+ deliveredCount: Scalars['Int']['output'];
52731
+ events: Array<HokAdBeaconEventResult>;
52732
+ id: Scalars['ID']['output'];
52733
+ sessionId?: Maybe<Scalars['ID']['output']>;
52734
+ /** The confirmed slot: campaign id (DIRECT) or programmatic fill id (PROGRAMMATIC). */
52735
+ slotId: Scalars['ID']['output'];
52736
+ source: HokAdDemandSource;
52737
+ status: HokAdTrackerDeliveryStatus;
52738
+ };
52739
+
52740
+ export enum HokAdTrackerDeliveryStatus {
52741
+ /** Every tracker (and the billing notice, when due) was answered without an error. */
52742
+ DELIVERED = 'DELIVERED',
52743
+ FAILED = 'FAILED',
52744
+ PARTIAL = 'PARTIAL',
52745
+ /** Claimed; beacons still in flight. */
52746
+ PENDING = 'PENDING'
52747
+ }
52748
+
51775
52749
  /** Tracking beacons the player fires from the viewer's browser for a third-party ad (the union of every VAST wrapper hop and the InLine ad). Empty for hosted first-party creatives, which are tracked by hokRecordAdImpression alone. */
51776
52750
  export type HokAdTracking = {
51777
52751
  __typename?: 'HokAdTracking';
@@ -51799,6 +52773,8 @@ export type HokAddHlsPackageInput = {
51799
52773
  label?: InputMaybe<Scalars['String']['input']>;
51800
52774
  /** The encoder's VOD media playlist (text) for that file: every segment an EXT-X-BYTERANGE of the one file, constant segment duration (2-10 s), EXT-X-ENDLIST present, no encryption. */
51801
52775
  playlist: Scalars['String']['input'];
52776
+ /** Rendition key (1-40 lowercase letters, digits, hyphens or underscores, such as 1080p); defaults to main. A video has one active package per rendition, and a feed variant airs the packages of its slate's rendition. */
52777
+ rendition?: InputMaybe<Scalars['String']['input']>;
51802
52778
  /** WIDTHxHEIGHT advertised in the master playlist (taken from the slate). */
51803
52779
  resolution?: InputMaybe<Scalars['String']['input']>;
51804
52780
  /** Required for PROGRAMME; omit for SLATE. */
@@ -52262,17 +53238,22 @@ export type HokChannelHlsFeed = {
52262
53238
  id: Scalars['ID']['output'];
52263
53239
  /** Last time a player or platform fetched the live playlist (updated about once a minute). */
52264
53240
  lastPolledAt?: Maybe<Scalars['DateTime']['output']>;
52265
- /** The URL to give a FAST platform: a single-variant master playlist. */
53241
+ /** The URL to give a FAST platform: the master playlist with one entry per variant. */
52266
53242
  masterPlaylistUrl: Scalars['String']['output'];
52267
- /** The live media playlist the master points at. */
53243
+ /** The primary variant's live media playlist. */
52268
53244
  mediaPlaylistUrl: Scalars['String']['output'];
52269
53245
  /** Schedule blocks in the next 24 hours and whether each airs its programme or the slate. */
52270
53246
  readiness: Array<HokHlsFeedBlockReadiness>;
53247
+ /** Whether breaks are also signalled with SCTE-35 EXT-X-DATERANGE tags. */
53248
+ scte35Enabled: Scalars['Boolean']['output'];
52271
53249
  /** Segment duration of the feed's slot grid (from the slate); packages must match it. */
52272
53250
  segmentDurationSeconds: Scalars['Int']['output'];
53251
+ /** The primary variant's slate. */
52273
53252
  slate?: Maybe<HokHlsPackage>;
52274
53253
  status: HokHlsFeedStatus;
52275
53254
  updatedAt: Scalars['DateTime']['output'];
53255
+ /** Every variant in ladder order, the primary first. */
53256
+ variants: Array<HokHlsFeedVariant>;
52276
53257
  };
52277
53258
 
52278
53259
  export enum HokChannelStatus {
@@ -52515,10 +53496,16 @@ export type HokCreateReviewInput = {
52515
53496
  export type HokCreateRightsWindowInput = {
52516
53497
  contractFileId?: InputMaybe<Scalars['ID']['input']>;
52517
53498
  currency?: InputMaybe<Scalars['String']['input']>;
53499
+ /** Allow offline downloads under this window (default false). */
53500
+ downloadable?: InputMaybe<Scalars['Boolean']['input']>;
52518
53501
  endsAt?: InputMaybe<Scalars['DateTime']['input']>;
52519
53502
  exclusive?: InputMaybe<Scalars['Boolean']['input']>;
52520
53503
  licenseeId?: InputMaybe<Scalars['ID']['input']>;
53504
+ /** Per-viewer download cap for the title (1-1000); omit or null for no cap. */
53505
+ maxDownloadsPerUser?: InputMaybe<Scalars['Int']['input']>;
52521
53506
  modes: Array<HokMonetizationMode>;
53507
+ /** Hours a downloaded copy stays playable (1-720, default 48). */
53508
+ offlineExpiryHours?: InputMaybe<Scalars['Int']['input']>;
52522
53509
  priceMinorUnits?: InputMaybe<Scalars['JSON']['input']>;
52523
53510
  startsAt?: InputMaybe<Scalars['DateTime']['input']>;
52524
53511
  territories?: InputMaybe<Array<Scalars['String']['input']>>;
@@ -53039,8 +54026,10 @@ export type HokHlsFeedBlockReadiness = {
53039
54026
  __typename?: 'HokHlsFeedBlockReadiness';
53040
54027
  endAt: Scalars['DateTime']['output'];
53041
54028
  episodeId?: Maybe<Scalars['ID']['output']>;
54029
+ /** Feed renditions the programme has no package on the feed's profile for. */
54030
+ missingRenditions: Array<Scalars['String']['output']>;
53042
54031
  ready: Scalars['Boolean']['output'];
53043
- /** Why the block airs the slate: NO_PROGRAMME, NOT_PUBLISHED, NO_PACKAGE or PROFILE_MISMATCH. */
54032
+ /** Why the block airs the slate: NO_PROGRAMME, NOT_PUBLISHED, NO_PACKAGE, PROFILE_MISMATCH or INCOMPLETE_LADDER. */
53044
54033
  reason?: Maybe<Scalars['String']['output']>;
53045
54034
  scheduleBlockId: Scalars['ID']['output'];
53046
54035
  startAt: Scalars['DateTime']['output'];
@@ -53052,6 +54041,15 @@ export enum HokHlsFeedStatus {
53052
54041
  DISABLED = 'DISABLED'
53053
54042
  }
53054
54043
 
54044
+ /** One variant (rendition) of a channel HLS feed. */
54045
+ export type HokHlsFeedVariant = {
54046
+ __typename?: 'HokHlsFeedVariant';
54047
+ /** The variant's live media playlist. */
54048
+ mediaPlaylistUrl: Scalars['String']['output'];
54049
+ rendition: Scalars['String']['output'];
54050
+ slate: HokHlsPackage;
54051
+ };
54052
+
53055
54053
  /** A single-file, byte-range HLS VOD encode registered for HLS distribution. */
53056
54054
  export type HokHlsPackage = {
53057
54055
  __typename?: 'HokHlsPackage';
@@ -53067,6 +54065,8 @@ export type HokHlsPackage = {
53067
54065
  id: Scalars['ID']['output'];
53068
54066
  kind: HokHlsPackageKind;
53069
54067
  label?: Maybe<Scalars['String']['output']>;
54068
+ /** Rendition key of the encode, such as 1080p; main when none was given. */
54069
+ rendition: Scalars['String']['output'];
53070
54070
  resolution?: Maybe<Scalars['String']['output']>;
53071
54071
  segmentCount: Scalars['Int']['output'];
53072
54072
  /** Nominal segment duration in whole seconds. */
@@ -53189,9 +54189,15 @@ export type HokLinearItem = {
53189
54189
  adPodSize?: Maybe<Scalars['Int']['output']>;
53190
54190
  /** AD: 1-based position in the pod. */
53191
54191
  adSequence?: Maybe<Scalars['Int']['output']>;
54192
+ /** AD: DIRECT (direct-sold campaign) or PROGRAMMATIC (OpenRTB fill). */
54193
+ adSource?: Maybe<HokAdDemandSource>;
54194
+ /** AD: ad system that served a third-party creative (null for first-party creatives). */
54195
+ adSystem?: Maybe<Scalars['String']['output']>;
53192
54196
  advertiserName?: Maybe<Scalars['String']['output']>;
53193
54197
  campaignId?: Maybe<Scalars['ID']['output']>;
53194
54198
  clickThroughUrl?: Maybe<Scalars['String']['output']>;
54199
+ /** AD: third-party click-tracking URLs the player fires when the viewer clicks through. Every other tracker of a linear ad is fired by the server. */
54200
+ clickTracking: Array<Scalars['String']['output']>;
53195
54201
  /** AD: the server-side ad decision this ad belongs to. */
53196
54202
  decisionId?: Maybe<Scalars['ID']['output']>;
53197
54203
  durationSeconds: Scalars['Int']['output'];
@@ -53206,7 +54212,7 @@ export type HokLinearItem = {
53206
54212
  mediaMimeType?: Maybe<Scalars['String']['output']>;
53207
54213
  /** PROGRAMME: seconds into the media file this item starts at (0 for other kinds). */
53208
54214
  mediaOffsetSeconds: Scalars['Float']['output'];
53209
- /** AD: https URL of the hosted creative. */
54215
+ /** AD: https URL of the creative. */
53210
54216
  mediaUrl?: Maybe<Scalars['String']['output']>;
53211
54217
  posterFileId?: Maybe<Scalars['ID']['output']>;
53212
54218
  scheduleBlockId?: Maybe<Scalars['ID']['output']>;
@@ -53473,6 +54479,115 @@ export enum HokOfferStatus {
53473
54479
  WITHDRAWN = 'WITHDRAWN'
53474
54480
  }
53475
54481
 
54482
+ export type HokOfflineDownload = {
54483
+ __typename?: 'HokOfflineDownload';
54484
+ /** Short-lived URL the device downloads the video from. */
54485
+ downloadUrl: Scalars['String']['output'];
54486
+ downloadUrlExpiresAt: Scalars['DateTime']['output'];
54487
+ downloadsUsed: Scalars['Int']['output'];
54488
+ license: HokOfflineLicense;
54489
+ maxDownloads?: Maybe<Scalars['Int']['output']>;
54490
+ mimeType?: Maybe<Scalars['String']['output']>;
54491
+ /** True when this device already held the license and only got a fresh URL. */
54492
+ renewed: Scalars['Boolean']['output'];
54493
+ };
54494
+
54495
+ export type HokOfflineDownloadInput = {
54496
+ /** Opaque identifier the device generates once and keeps (8-128 letters, digits, '-' or '_'). */
54497
+ deviceId: Scalars['String']['input'];
54498
+ /** Set to download one episode of a series. */
54499
+ episodeId?: InputMaybe<Scalars['ID']['input']>;
54500
+ titleId: Scalars['ID']['input'];
54501
+ /** ISO 3166-1 alpha-2 territory of the viewer, when known. */
54502
+ viewerTerritory?: InputMaybe<Scalars['String']['input']>;
54503
+ };
54504
+
54505
+ export type HokOfflineEligibility = {
54506
+ __typename?: 'HokOfflineEligibility';
54507
+ /** The ACTIVE license this device already holds for the title (episode), if any. */
54508
+ activeLicense?: Maybe<HokOfflineLicense>;
54509
+ downloadable: Scalars['Boolean']['output'];
54510
+ /** Downloads already issued to the viewer for this title (episode) under the window. */
54511
+ downloadsUsed: Scalars['Int']['output'];
54512
+ /** The applicable window's per-viewer cap; null means no cap (or no window). */
54513
+ maxDownloads?: Maybe<Scalars['Int']['output']>;
54514
+ offlineExpiryHours?: Maybe<Scalars['Int']['output']>;
54515
+ /** Set when downloadable is false. */
54516
+ reason?: Maybe<HokOfflineIneligibleReason>;
54517
+ };
54518
+
54519
+ /** Why a title cannot be downloaded right now. */
54520
+ export enum HokOfflineIneligibleReason {
54521
+ /** The viewer has used every download the window allows for this title. */
54522
+ LIMIT_REACHED = 'LIMIT_REACHED',
54523
+ /** No active paid (subscription, rental, purchase, PPV) entitlement. The free, ad-supported tier cannot be downloaded. */
54524
+ NOT_ENTITLED = 'NOT_ENTITLED',
54525
+ /** No active rights window covering the viewer allows downloads. */
54526
+ NO_DOWNLOADABLE_WINDOW = 'NO_DOWNLOADABLE_WINDOW',
54527
+ /** The title (or episode) has no video attached. */
54528
+ NO_SOURCE = 'NO_SOURCE'
54529
+ }
54530
+
54531
+ export type HokOfflineLicense = {
54532
+ __typename?: 'HokOfflineLicense';
54533
+ createdAt: Scalars['DateTime']['output'];
54534
+ deviceId: Scalars['String']['output'];
54535
+ episodeId?: Maybe<Scalars['ID']['output']>;
54536
+ /** The copy stops playing at this time. */
54537
+ expiresAt: Scalars['DateTime']['output'];
54538
+ id: Scalars['ID']['output'];
54539
+ issuedAt: Scalars['DateTime']['output'];
54540
+ mimeType?: Maybe<Scalars['String']['output']>;
54541
+ revokedAt?: Maybe<Scalars['DateTime']['output']>;
54542
+ rightsWindowId: Scalars['ID']['output'];
54543
+ status: HokOfflineLicenseStatus;
54544
+ statusReason?: Maybe<Scalars['String']['output']>;
54545
+ territory?: Maybe<Scalars['String']['output']>;
54546
+ title?: Maybe<HokTitle>;
54547
+ titleId: Scalars['ID']['output'];
54548
+ updatedAt: Scalars['DateTime']['output'];
54549
+ userId: Scalars['ID']['output'];
54550
+ workspaceId: Scalars['ID']['output'];
54551
+ };
54552
+
54553
+ export type HokOfflineLicenseCheck = {
54554
+ __typename?: 'HokOfflineLicenseCheck';
54555
+ expiresAt?: Maybe<Scalars['DateTime']['output']>;
54556
+ licenseId: Scalars['ID']['output'];
54557
+ reason: HokOfflineLicenseCheckReason;
54558
+ status?: Maybe<HokOfflineLicenseStatus>;
54559
+ valid: Scalars['Boolean']['output'];
54560
+ };
54561
+
54562
+ /** Outcome of re-validating one offline license. */
54563
+ export enum HokOfflineLicenseCheckReason {
54564
+ /** The viewer no longer holds a paid entitlement for the title. */
54565
+ ENTITLEMENT_ENDED = 'ENTITLEMENT_ENDED',
54566
+ EXPIRED = 'EXPIRED',
54567
+ /** No such license for the caller. */
54568
+ NOT_FOUND = 'NOT_FOUND',
54569
+ RELEASED = 'RELEASED',
54570
+ REVOKED = 'REVOKED',
54571
+ VALID = 'VALID',
54572
+ /** The rights window closed, was revoked or stopped allowing downloads. */
54573
+ WINDOW_ENDED = 'WINDOW_ENDED'
54574
+ }
54575
+
54576
+ export type HokOfflineLicenseConnection = {
54577
+ __typename?: 'HokOfflineLicenseConnection';
54578
+ items: Array<HokOfflineLicense>;
54579
+ pageInfo: HokPageInfo;
54580
+ /** Total number of rows matching the current filters, across all pages. */
54581
+ totalCount: Scalars['Int']['output'];
54582
+ };
54583
+
54584
+ export enum HokOfflineLicenseStatus {
54585
+ ACTIVE = 'ACTIVE',
54586
+ EXPIRED = 'EXPIRED',
54587
+ RELEASED = 'RELEASED',
54588
+ REVOKED = 'REVOKED'
54589
+ }
54590
+
53476
54591
  export type HokOnboardingStatus = {
53477
54592
  __typename?: 'HokOnboardingStatus';
53478
54593
  completedSteps: Scalars['Int']['output'];
@@ -54408,11 +55523,17 @@ export type HokRightsWindow = {
54408
55523
  contractFileId?: Maybe<Scalars['ID']['output']>;
54409
55524
  createdAt: Scalars['DateTime']['output'];
54410
55525
  currency: Scalars['String']['output'];
55526
+ /** Whether viewers entitled under this window may download the title for offline viewing (BOFF-10605). Off unless the studio opts in. */
55527
+ downloadable: Scalars['Boolean']['output'];
54411
55528
  endsAt?: Maybe<Scalars['DateTime']['output']>;
54412
55529
  exclusive: Scalars['Boolean']['output'];
54413
55530
  id: Scalars['ID']['output'];
54414
55531
  licenseeId?: Maybe<Scalars['ID']['output']>;
55532
+ /** How many offline downloads one viewer may be issued for the title (per episode for a series) under this window; null means no cap. */
55533
+ maxDownloadsPerUser?: Maybe<Scalars['Int']['output']>;
54415
55534
  modes: Array<HokMonetizationMode>;
55535
+ /** Hours a downloaded copy stays playable once issued. A download never outlives the window itself or the viewer's entitlement. */
55536
+ offlineExpiryHours: Scalars['Int']['output'];
54416
55537
  priceMinorUnits?: Maybe<Scalars['JSON']['output']>;
54417
55538
  startsAt?: Maybe<Scalars['DateTime']['output']>;
54418
55539
  status: HokRightsWindowStatus;
@@ -54431,6 +55552,14 @@ export type HokRightsWindowConnection = {
54431
55552
  totalCount: Scalars['Int']['output'];
54432
55553
  };
54433
55554
 
55555
+ export type HokRightsWindowOfflinePolicyInput = {
55556
+ downloadable: Scalars['Boolean']['input'];
55557
+ /** 1-1000; null for no cap; omit to keep the current cap. */
55558
+ maxDownloadsPerUser?: InputMaybe<Scalars['Int']['input']>;
55559
+ /** 1-720; omit to keep the current expiry. */
55560
+ offlineExpiryHours?: InputMaybe<Scalars['Int']['input']>;
55561
+ };
55562
+
54434
55563
  export enum HokRightsWindowStatus {
54435
55564
  ACTIVE = 'ACTIVE',
54436
55565
  DRAFT = 'DRAFT',
@@ -66268,11 +67397,55 @@ export type MtwDeliveryJobStatusHistory = {
66268
67397
  workspaceId: Scalars['ID']['output'];
66269
67398
  };
66270
67399
 
67400
+ /** The model that produced a forecast row. */
67401
+ export enum MtwDemandForecastModel {
67402
+ /** Reserved; never produced. Read as the moving-average heuristic. */
67403
+ HEURISTIC_GROWTH_RATE = 'HEURISTIC_GROWTH_RATE',
67404
+ /** Blend of 4- and 12-week moving averages with a clamped growth term. */
67405
+ HEURISTIC_MOVING_AVG = 'HEURISTIC_MOVING_AVG',
67406
+ /** Holt's linear trend exponential smoothing with a damped trend. */
67407
+ HOLT_LINEAR = 'HOLT_LINEAR',
67408
+ /** Additive Holt-Winters exponential smoothing with a damped trend and a seasonal cycle in weeks. */
67409
+ HOLT_WINTERS = 'HOLT_WINTERS'
67410
+ }
67411
+
67412
+ /** Which model forecasts a lane or customer, and why. */
67413
+ export type MtwDemandForecastModelChoice = {
67414
+ __typename?: 'MtwDemandForecastModelChoice';
67415
+ candidates: Array<MtwDemandForecastModelScore>;
67416
+ evaluatedAt: Scalars['DateTime']['output'];
67417
+ /** Closed weeks of history the forecast rests on. */
67418
+ historyWeeks: Scalars['Int']['output'];
67419
+ /** Plain-language reason for the choice, quoting the back-test errors. */
67420
+ reason: Scalars['String']['output'];
67421
+ scopeKey: Scalars['String']['output'];
67422
+ /** Display name: the customer's name for CUSTOMER rows, `Origin → Destination` for LANE rows. */
67423
+ scopeLabel: Scalars['String']['output'];
67424
+ scopeType: DemandForecastScope;
67425
+ selectedModel: MtwDemandForecastModel;
67426
+ };
67427
+
67428
+ /** One candidate model's back-test result for a lane or customer. */
67429
+ export type MtwDemandForecastModelScore = {
67430
+ __typename?: 'MtwDemandForecastModelScore';
67431
+ /** Closed weeks the model was scored on, predicting each one week ahead. */
67432
+ holdoutWeeks: Scalars['Int']['output'];
67433
+ /** Mean absolute percentage error on weekly volume over the back-test weeks (0.25 = 25%). Null when no back-test week had demand. */
67434
+ mape?: Maybe<Scalars['Float']['output']>;
67435
+ model: MtwDemandForecastModel;
67436
+ /** Holt-Winters only: weeks in the seasonal cycle that scored best. */
67437
+ seasonLengthWeeks?: Maybe<Scalars['Int']['output']>;
67438
+ /** This model produces the lane's or customer's forecast. */
67439
+ selected: Scalars['Boolean']['output'];
67440
+ };
67441
+
66271
67442
  export type MtwDemandForecastPoint = {
66272
67443
  __typename?: 'MtwDemandForecastPoint';
66273
67444
  actualRevenue?: Maybe<Scalars['Float']['output']>;
66274
67445
  actualVolume?: Maybe<Scalars['Int']['output']>;
66275
67446
  confidence: Scalars['Float']['output'];
67447
+ /** The model this row was forecast with. */
67448
+ model: MtwDemandForecastModel;
66276
67449
  periodEnd: Scalars['DateTime']['output'];
66277
67450
  periodStart: Scalars['DateTime']['output'];
66278
67451
  predictedRevenue: Scalars['Float']['output'];
@@ -71345,48 +72518,131 @@ export type Mutation = {
71345
72518
  */
71346
72519
  brainyrichVaultDocumentDownloadUrl: Scalars['String']['output'];
71347
72520
  buiAcknowledgeCourseKnowledgeChange: Scalars['Boolean']['output'];
71348
- /** Admin Q&A grounded in real workspace course/enrollment stats. Never executes anything; may return `proposedActions` for the admin to confirm (BOFF-9687). Restricted to EDITOR+ (same viewerDefault:false shape as `buildmyiq-tutor:list`) — this is an operator surface, not a learner one. */
72521
+ /**
72522
+ * Admin Q&A grounded in real workspace course/enrollment stats. Never
72523
+ * executes anything; may return `proposedActions` for the admin to confirm
72524
+ * (BOFF-9687). Restricted to EDITOR+ (same viewerDefault:false shape as
72525
+ * `buildmyiq-tutor:list`) — this is an operator surface, not a learner one.
72526
+ */
71349
72527
  buiAdminCopilotAsk: BuiAdminCopilotAnswer;
71350
72528
  /** Dismiss a proposal without running it. Only its proposer can dismiss it. */
71351
72529
  buiAdminCopilotDismissAction: BuiAdminCopilotProposedAction;
71352
- /** Confirm and run a CONFIGURE_AUTOMATION proposal (BOFF-9888): saves the proposed settings and turns the automation on or off through the same path as `buiConfigureAutomation`, which it is gated like. The settings are re-validated when confirmed (courses must still be published). */
72530
+ /**
72531
+ * Confirm and run a CONFIGURE_AUTOMATION proposal (BOFF-9888): saves the
72532
+ * proposed settings and turns the automation on or off through the same path
72533
+ * as `buiConfigureAutomation`, which it is gated like. The settings are
72534
+ * re-validated when confirmed (courses must still be published).
72535
+ */
71353
72536
  buiAdminCopilotExecuteAutomationAction: BuiAdminCopilotExecution;
71354
- /** Confirm and run an ENROLL_LEARNERS proposal. Gated like `buiEnroll`. Enrolls only learners from the confirmed snapshot who are still eligible; each enrollment is recorded against `buildmyiq.enrollments.monthly`. Only the admin whose question produced the proposal can confirm it. */
72537
+ /**
72538
+ * Confirm and run an ENROLL_LEARNERS proposal. Gated like `buiEnroll`.
72539
+ * Enrolls only learners from the confirmed snapshot who are still eligible;
72540
+ * each enrollment is recorded against `buildmyiq.enrollments.monthly`.
72541
+ * Only the admin whose question produced the proposal can confirm it.
72542
+ */
71355
72543
  buiAdminCopilotExecuteEnrollAction: BuiAdminCopilotExecution;
71356
- /** Confirm and run a SEND_REMINDER proposal: one in-app notification per learner with an unfinished enrollment from the confirmed snapshot. Gated like `buiTransitionEnrollment` (acting on learners' enrollments). */
72544
+ /**
72545
+ * Confirm and run a SEND_REMINDER proposal: one in-app notification per
72546
+ * learner with an unfinished enrollment from the confirmed snapshot. Gated
72547
+ * like `buiTransitionEnrollment` (acting on learners' enrollments).
72548
+ */
71357
72549
  buiAdminCopilotExecuteReminderAction: BuiAdminCopilotExecution;
71358
- /** Confirm and run an EXPORT_REPORT proposal; the CSV is returned in `reportCsv`. Gated like `buiListEnrollments`. */
72550
+ /**
72551
+ * Confirm and run an EXPORT_REPORT proposal; the CSV is returned in
72552
+ * `reportCsv`. Gated like `buiListEnrollments`.
72553
+ */
71359
72554
  buiAdminCopilotExecuteReportAction: BuiAdminCopilotExecution;
71360
72555
  buiAdvanceCatalogSync: BuiCatalogSyncRun;
71361
72556
  buiAdvanceCourseKnowledgeCapture: BuiCourseKnowledgeCaptureStep;
71362
- /** Creates a DRAFT assessment plus its questions from an educator-reviewed draft. All questions are validated first, so an invalid draft writes nothing. Publishing still requires `buiPublishAssessment`. */
72557
+ /**
72558
+ * Creates a DRAFT assessment plus its questions from an educator-reviewed
72559
+ * draft. All questions are validated first, so an invalid draft writes
72560
+ * nothing. Publishing still requires `buiPublishAssessment`.
72561
+ */
71363
72562
  buiApplyAssessmentDraft: BuiAssessment;
71364
- /** Creates a real DRAFT `BuiCourse` + its modules/lessons from a (possibly-instructor-edited) outline. The course is left in DRAFT status — publishing still requires the existing `buiPublishCourse` — so this can never surface unreviewed AI content to learners. */
72563
+ /**
72564
+ * Creates a real DRAFT `BuiCourse` + its modules/lessons from a
72565
+ * (possibly-instructor-edited) outline. The course is left in DRAFT status —
72566
+ * publishing still requires the existing `buiPublishCourse` — so this can
72567
+ * never surface unreviewed AI content to learners.
72568
+ */
71365
72569
  buiApplyCourseOutline: BuiCourse;
71366
- /** Archive an assessment (soft-delete) and release its reusable `buildmyiq.assessments.count` quota slot so the workspace can create a replacement without hitting the plan limit. */
72570
+ /**
72571
+ * Archive an assessment (soft-delete) and release its reusable
72572
+ * `buildmyiq.assessments.count` quota slot so the workspace can create a
72573
+ * replacement without hitting the plan limit.
72574
+ */
71367
72575
  buiArchiveAssessment: Scalars['Boolean']['output'];
71368
72576
  /** Stop awarding a badge. Existing awards stay valid. */
71369
72577
  buiArchiveBadge: BuiBadge;
71370
72578
  buiArchiveCourse: Scalars['Boolean']['output'];
71371
72579
  /** Hide an object from insertion. Existing course copies are unaffected. */
71372
72580
  buiArchiveLearningObject: BuiLearningObject;
71373
- /** Validate an uploaded .h5p package and attach it to an INTERACTIVE lesson, replacing any package already attached. Rejected packages return BAD_USER_INPUT with the reason and extensions.validationCode. */
72581
+ /**
72582
+ * Validate an uploaded .h5p package and attach it to an INTERACTIVE lesson,
72583
+ * replacing any package already attached. Rejected packages return
72584
+ * BAD_USER_INPUT with the reason and extensions.validationCode.
72585
+ */
71374
72586
  buiAttachInteractivePackage: BuiInteractivePackage;
71375
- /** Deterministically grades a submission whose assessment is entirely objective questions (SINGLE_CHOICE / MULTIPLE_CHOICE / TRUE_FALSE) by comparing learner answers to each question's answerKey — no LLM, no human judgement. Throws if the assessment contains any SHORT_ANSWER/ESSAY/CODE question; use `buiGradeSubmission` for those instead. */
72587
+ /**
72588
+ * Validate an uploaded SCORM 1.2 or 2004 ZIP and attach it to an INTERACTIVE
72589
+ * lesson, replacing any SCORM package already attached. Rejected packages
72590
+ * return BAD_USER_INPUT with the reason and extensions.validationCode.
72591
+ */
72592
+ buiAttachScormPackage: BuiScormPackage;
72593
+ /**
72594
+ * Deterministically grades a submission whose assessment is entirely
72595
+ * objective questions (SINGLE_CHOICE / MULTIPLE_CHOICE / TRUE_FALSE) by
72596
+ * comparing learner answers to each question's answerKey — no LLM, no human
72597
+ * judgement. Throws if the assessment contains any SHORT_ANSWER/ESSAY/CODE
72598
+ * question; use `buiGradeSubmission` for those instead.
72599
+ */
71376
72600
  buiAutoScoreSubmission: BuiSubmission;
71377
- /** Award a badge to a learner. Idempotent: awarding a badge the learner already holds returns the existing award, and awarding a revoked one reinstates it. */
72601
+ /**
72602
+ * Award a badge to a learner. Idempotent: awarding a badge the learner
72603
+ * already holds returns the existing award, and awarding a revoked one
72604
+ * reinstates it.
72605
+ */
71378
72606
  buiAwardBadge: BuiBadgeAward;
71379
72607
  buiCancelCatalogSync: BuiCatalogSyncRun;
71380
72608
  buiCaptureCourseKnowledgeSnapshot: BuiCourseKnowledgeSnapshot;
71381
- /** Deep Linking 2.0 handoff: an instructor picks a BuiAssessment to embed as a graded activity in the platform course. Only committed on the platform side once the FE auto-posts the returned JWT — this call itself never writes any BuildMyIQ course content. */
72609
+ /**
72610
+ * Commit data model values from the SCORM player for one item of the caller's
72611
+ * own enrollment. Values are validated against the package's SCORM version;
72612
+ * the lesson completes when every item is completed or passed.
72613
+ */
72614
+ buiCommitMyScormRuntime: BuiScormCommitResult;
72615
+ /**
72616
+ * Deep Linking 2.0 handoff: an instructor picks a BuiAssessment to embed as
72617
+ * a graded activity in the platform course. Only committed on the platform
72618
+ * side once the FE auto-posts the returned JWT — this call itself never
72619
+ * writes any BuildMyIQ course content.
72620
+ */
71382
72621
  buiCompleteLtiDeepLink: BuiLtiDeepLinkResult;
71383
- /** Resource-link launch handoff: links the authenticated actor to the LTI subject from the ticket and upserts the resource-link<->assessment mapping. Type-B self-scoped — identity always comes from the authenticated actor. */
72622
+ /**
72623
+ * Resource-link launch handoff: links the authenticated actor to the LTI
72624
+ * subject from the ticket and upserts the resource-link<->assessment mapping.
72625
+ * Type-B self-scoped — identity always comes from the authenticated actor.
72626
+ */
71384
72627
  buiCompleteLtiLink: BuiLtiLaunchLinkResult;
71385
72628
  /** Finish the caller's enrollment after all course lessons are complete. */
71386
72629
  buiCompleteMyEnrollment: BuiEnrollment;
71387
- /** Save an automation's settings and turn it on or off. Turning it on creates (or updates) and activates its FluidGrids workflow; turning it off deactivates the workflow, which also pauses its schedule. */
72630
+ /**
72631
+ * Save an automation's settings and turn it on or off. Turning it on creates
72632
+ * (or updates) and activates its FluidGrids workflow; turning it off
72633
+ * deactivates the workflow, which also pauses its schedule.
72634
+ */
71388
72635
  buiConfigureAutomation: BuiAutomation;
71389
72636
  buiConfigureCourseAssistant: BuiCourseAssistantBinding;
72637
+ /**
72638
+ * Opt the workspace in or out of the autonomous early-warning loop and save
72639
+ * its settings. Enabling provisions (or updates) and activates the FluidGrids
72640
+ * workflow that owns the nightly schedule; disabling deactivates it. Off by
72641
+ * default — no workspace runs autonomous AI without this opt-in.
72642
+ */
72643
+ buiConfigureEarlyWarning: BuiEarlyWarning;
72644
+ /** Save the workspace's LRS endpoint and HTTP Basic credentials (the password is stored encrypted). */
72645
+ buiConfigureXapiLrs: BuiXapiLrsConfig;
71390
72646
  buiCreateAssessment: BuiAssessment;
71391
72647
  buiCreateBadge: BuiBadge;
71392
72648
  buiCreateCatalogConnector: BuiCatalogConnector;
@@ -71400,112 +72656,291 @@ export type Mutation = {
71400
72656
  buiDeactivateLtiPlatform: Scalars['Boolean']['output'];
71401
72657
  buiDeferCourseKnowledgeChange: Scalars['Boolean']['output'];
71402
72658
  buiDeleteCatalogConnector: Scalars['Boolean']['output'];
72659
+ /** Send queued statements to the LRS now instead of waiting for the background delivery. */
72660
+ buiDeliverXapiStatements: BuiXapiDeliveryRun;
71403
72661
  /** Detach the interactive package from a lesson. Past attempts are kept. */
71404
72662
  buiDetachInteractivePackage: Scalars['Boolean']['output'];
72663
+ /** Detach the SCORM package from a lesson. Learner run-time data is kept. */
72664
+ buiDetachScormPackage: Scalars['Boolean']['output'];
71405
72665
  buiDisableCourseAssistant: Scalars['Boolean']['output'];
71406
72666
  buiEnroll: BuiEnrollment;
71407
- /** Export a course with its modules, lessons and quizzes (including answer keys, so it needs course authoring permission). */
72667
+ /**
72668
+ * Export a course with its modules, lessons and quizzes (including answer
72669
+ * keys, so it needs course authoring permission).
72670
+ */
71408
72671
  buiExportCourse: BuiMigrationExport;
71409
72672
  /** Export a course's gradebook (enrollments, progress and quiz scores) as CSV. */
71410
72673
  buiExportCourseGradebook: BuiMigrationExport;
72674
+ /** Export every statement recorded for a course as xAPI JSON. */
72675
+ buiExportCourseXapiStatements: BuiXapiExport;
71411
72676
  /** Export the lesson's activity as a portable .h5p package. It contains the answer key. */
71412
72677
  buiExportInteractiveActivity: BuiInteractiveExport;
71413
72678
  buiFailCourseKnowledgeChange: Scalars['Boolean']['output'];
71414
72679
  buiGradeSubmission: BuiSubmission;
71415
- /** Import an uploaded Common Cartridge package or Moodle backup as a new DRAFT course with its modules, lessons and quizzes. Counts against the course and assessment plan quotas. Records a migration job either way. Media files the lessons use are then uploaded to Files in the background (see the job's `media`). */
72680
+ /**
72681
+ * Import an uploaded Common Cartridge package or Moodle backup as a new DRAFT course with its
72682
+ * modules, lessons and quizzes. Counts against the course and assessment
72683
+ * plan quotas. Records a migration job either way. Media files the lessons
72684
+ * use are then uploaded to Files in the background (see the job's `media`).
72685
+ */
71416
72686
  buiImportCourse: BuiCourseImportResult;
71417
- /** Copy a repository version into a course: a lesson (optionally into a module) or an assessment with its questions and rubrics, in one transaction. Inserting an assessment uses an assessment quota slot. */
72687
+ /**
72688
+ * Write the grades of an uploaded gradebook CSV as graded submissions of the
72689
+ * course's assessments. A re-import updates the grades it wrote earlier.
72690
+ * Records a migration job either way.
72691
+ */
72692
+ buiImportGradebook: BuiGradebookImportResult;
72693
+ /**
72694
+ * Enroll the learners of an uploaded roster CSV in the mapped courses and
72695
+ * link their SIS ids / logins for later imports. Counts against the monthly
72696
+ * enrollment quota. Records a migration job either way.
72697
+ */
72698
+ buiImportRoster: BuiRosterImportResult;
72699
+ /**
72700
+ * Copy a repository version into a course: a lesson (optionally into a
72701
+ * module) or an assessment with its questions and rubrics, in one
72702
+ * transaction. Inserting an assessment uses an assessment quota slot.
72703
+ */
71418
72704
  buiInsertLearningObject: BuiInsertLearningObjectResult;
71419
72705
  buiIssueCertificate: BuiCertificate;
71420
- /** Load the onboarding demo content (sample course with modules, lessons, a graded assessment, a skill and a cohort) and enroll the caller in it. Idempotent. */
72706
+ /**
72707
+ * Load the onboarding demo content (sample course with modules, lessons, a graded
72708
+ * assessment, a skill and a cohort) and enroll the caller in it. Idempotent.
72709
+ */
71421
72710
  buiLoadDemoContent: BuiDemoContentResult;
71422
72711
  /** Score an author's preview of an interactive lesson. Nothing is recorded. */
71423
72712
  buiPreviewInteractiveAttempt: BuiInteractiveAttemptResult;
71424
72713
  buiPublishAssessment: BuiAssessment;
71425
72714
  /** Publish a course through its authoring lifecycle (validated transitions). */
71426
72715
  buiPublishCourse: BuiCourse;
71427
- /** Publish the current content of a lesson or assessment as the object's next version. Existing course copies keep the version they were made from. */
72716
+ /**
72717
+ * Publish the current content of a lesson or assessment as the object's next
72718
+ * version. Existing course copies keep the version they were made from.
72719
+ */
71428
72720
  buiPublishLearningObjectVersion: BuiLearningObject;
71429
72721
  buiReconcileCourseSourceChanges: BuiCourseSourceCheckReceipt;
71430
72722
  buiRecordLessonProgress: BuiLessonProgress;
71431
72723
  /** Record progress only for the caller's active enrollment and a lesson in that course. */
71432
72724
  buiRecordMyLessonProgress: BuiLessonProgress;
71433
- /** BOFF-9690: records a batch (max 50) of signal episodes the learner's browser observed during an APPROVED, unexpired proctored attempt. Owner-scoped like `buiReportProctoringViolation` (a learner can only write to their OWN session). Lockdown signals also increment `violationCount`; AI signals require the assessment's `aiProctoringEnabled` and the learner's recorded consent. Never changes `status`. */
72725
+ /**
72726
+ * BOFF-9690: records a batch (max 50) of signal episodes the learner's
72727
+ * browser observed during an APPROVED, unexpired proctored attempt.
72728
+ * Owner-scoped like `buiReportProctoringViolation` (a learner can only write
72729
+ * to their OWN session). Lockdown signals also increment `violationCount`; AI
72730
+ * signals require the assessment's `aiProctoringEnabled` and the learner's
72731
+ * recorded consent. Never changes `status`.
72732
+ */
71434
72733
  buiRecordProctoringSignals: BuiProctoringSession;
71435
72734
  /** Workspace admin registers a new LMS platform to launch into this tool. */
71436
72735
  buiRegisterLtiPlatform: BuiLtiPlatform;
71437
72736
  /** Remove the onboarding demo content. Returns false when none is loaded. */
71438
72737
  buiRemoveDemoContent: Scalars['Boolean']['output'];
71439
- /** Records a best-effort browser-lockdown violation (tab-hidden/blur) the client observed during a proctored attempt. Owner-scoped, same as `buiSubmitProctoringIdentity` — never changes `status` on its own. */
72738
+ /** Remove the LRS settings and credentials. Queued statements are kept as STORED. */
72739
+ buiRemoveXapiLrs: Scalars['Boolean']['output'];
72740
+ /**
72741
+ * Records a best-effort browser-lockdown violation (tab-hidden/blur) the
72742
+ * client observed during a proctored attempt. Owner-scoped, same as
72743
+ * `buiSubmitProctoringIdentity` — never changes `status` on its own.
72744
+ */
71440
72745
  buiReportProctoringViolation: BuiProctoringSession;
71441
72746
  /** Re-open an archived badge for awarding. */
71442
72747
  buiRestoreBadge: BuiBadge;
71443
72748
  buiRestoreLearningObject: BuiLearningObject;
71444
72749
  buiRetryCourseAssistantDelivery?: Maybe<BuiCourseAssistantTurn>;
71445
- /** Educator marks a previously generated grading suggestion ACCEPTED or REJECTED (never PENDING — rejected as invalid input) so the suggestion->acceptance rate is measurable. Gated identically to `buiSuggestGrade`/`buiGradeSubmission`. */
72750
+ /** Queue FAILED statements (optionally one course's) for delivery again. Returns how many were queued. */
72751
+ buiRetryFailedXapiStatements: Scalars['Int']['output'];
72752
+ /**
72753
+ * Educator marks a previously generated grading suggestion ACCEPTED or
72754
+ * REJECTED (never PENDING — rejected as invalid input) so the
72755
+ * suggestion->acceptance rate is measurable. Gated identically to
72756
+ * `buiSuggestGrade`/`buiGradeSubmission`.
72757
+ */
71446
72758
  buiReviewGradeSuggestion: BuiGradeSuggestion;
71447
- /** Learner marks a previously generated next-lesson suggestion ACCEPTED or REJECTED. Type-B self-scoped, mirrors `buiSuggestNextLesson`. */
72759
+ /**
72760
+ * Learner marks a previously generated next-lesson suggestion ACCEPTED or
72761
+ * REJECTED. Type-B self-scoped, mirrors `buiSuggestNextLesson`.
72762
+ */
71448
72763
  buiReviewNextLessonSuggestion: BuiNextLessonSuggestion;
71449
- /** BOFF-4431 (3/3): instructor/admin reviews an UNDER_REVIEW session and approves or rejects it. Only an APPROVED, unexpired session satisfies the `requiresProctoring` gate on `buiSubmitAssessment`. Gated on the review-queue permission (`list`), not `update`: every learner holds `update` so they can submit their own identity, and must not be able to approve someone else's. */
72764
+ /**
72765
+ * BOFF-4431 (3/3): instructor/admin reviews an UNDER_REVIEW session and
72766
+ * approves or rejects it. Only an APPROVED, unexpired session satisfies the
72767
+ * `requiresProctoring` gate on `buiSubmitAssessment`. Gated on the review-queue
72768
+ * permission (`list`), not `update`: every learner holds `update` so they can
72769
+ * submit their own identity, and must not be able to approve someone else's.
72770
+ */
71450
72771
  buiReviewProctoringSession: BuiProctoringSession;
71451
- /** Educator override of one AI tutor answer (BOFF-9663): annotate, correct, redact, or clear a previous review. The original answer is never overwritten; each action is appended to the answer's review history. Restricted to EDITOR+ via wspace-rbac-svc action-catalog `buildmyiq-tutor:update` (viewerDefault: false), so learners cannot alter answers. Later tutor turns in the same session see the reviewed version. */
72772
+ /**
72773
+ * Educator override of one AI tutor answer (BOFF-9663): annotate, correct,
72774
+ * redact, or clear a previous review. The original answer is never
72775
+ * overwritten; each action is appended to the answer's review history.
72776
+ * Restricted to EDITOR+ via wspace-rbac-svc action-catalog
72777
+ * `buildmyiq-tutor:update` (viewerDefault: false), so learners cannot alter
72778
+ * answers. Later tutor turns in the same session see the reviewed version.
72779
+ */
71452
72780
  buiReviewTutorAnswer: BuiTutorMessage;
71453
72781
  buiRevokeBadgeAward: BuiBadgeAward;
71454
72782
  buiRevokeCertificate: BuiCertificate;
71455
72783
  /** Run a scheduled automation now (the overdue sweep) instead of waiting for its schedule. */
71456
72784
  buiRunAutomationNow: BuiAutomationRun;
71457
- /** Save a published course for later on the caller's own list. Idempotent: saving a course that is already saved returns the existing entry. */
72785
+ /** Run the early-warning sweep now instead of waiting for the nightly schedule. */
72786
+ buiRunEarlyWarningSweep: BuiEarlyWarningRun;
72787
+ /**
72788
+ * Save a published course for later on the caller's own list. Idempotent:
72789
+ * saving a course that is already saved returns the existing entry.
72790
+ */
71458
72791
  buiSaveCourse: BuiSavedCourse;
71459
- /** Create or edit the activity of an INTERACTIVE lesson in the browser. The draft is validated with the same rules and limits as an uploaded package. Editing an imported package keeps its original file id. Rejected drafts return BAD_USER_INPUT with the reason and extensions.validationCode. */
72792
+ /**
72793
+ * Create or edit the activity of an INTERACTIVE lesson in the browser. The
72794
+ * draft is validated with the same rules and limits as an uploaded package.
72795
+ * Editing an imported package keeps its original file id. Rejected drafts
72796
+ * return BAD_USER_INPUT with the reason and extensions.validationCode.
72797
+ */
71460
72798
  buiSaveInteractiveActivity: BuiInteractivePackage;
71461
72799
  /** Save a lesson or assessment to the repository as version 1 of a new object. */
71462
72800
  buiSaveToRepository: BuiLearningObject;
71463
72801
  buiSetCatalogItemSkills: BuiExternalCatalogItem;
71464
72802
  buiSetCatalogPublication: BuiExternalCatalogItem;
71465
- /** Set or clear an enrollment's due date (BOFF-9688). A due date in the past makes the enrollment overdue; changing it re-arms the overdue reminder. */
72803
+ /**
72804
+ * Set or clear an enrollment's due date (BOFF-9688). A due date in the past
72805
+ * makes the enrollment overdue; changing it re-arms the overdue reminder.
72806
+ */
71466
72807
  buiSetEnrollmentDueDate: BuiEnrollment;
71467
72808
  /** Change the pass mark of a lesson's interactive package. */
71468
72809
  buiSetInteractivePassMark: BuiInteractivePackage;
71469
- /** BOFF-4429: replaces the FULL set of grading-rubric criteria for a question (delete-then-recreate semantics — simplest correct CRUD for an ordered, small list an instructor edits as a whole in the authoring UI). Pass an empty array to clear the rubric back to holistic grading. */
72810
+ /**
72811
+ * BOFF-4429: replaces the FULL set of grading-rubric criteria for a
72812
+ * question (delete-then-recreate semantics — simplest correct CRUD for an
72813
+ * ordered, small list an instructor edits as a whole in the authoring UI).
72814
+ * Pass an empty array to clear the rubric back to holistic grading.
72815
+ */
71470
72816
  buiSetRubricCriteria: Array<BuiRubricCriterion>;
71471
72817
  buiStartCatalogSync: BuiCatalogSyncRun;
71472
72818
  buiStartCourseAssistantTurn: BuiCourseAssistantHandle;
71473
- /** BOFF-4431 (1/3): a learner begins a proctored attempt at a `requiresProctoring` assessment. Creates a PENDING session scoped to the calling actor (never a client-suppliable learnerId) with a 4-hour expiry — `buiSubmitAssessment` will refuse to accept an attempt on this assessment until the session reaches APPROVED. */
72819
+ /**
72820
+ * BOFF-4431 (1/3): a learner begins a proctored attempt at a
72821
+ * `requiresProctoring` assessment. Creates a PENDING session scoped to the
72822
+ * calling actor (never a client-suppliable learnerId) with a 4-hour
72823
+ * expiry — `buiSubmitAssessment` will refuse to accept an attempt on this
72824
+ * assessment until the session reaches APPROVED.
72825
+ */
71474
72826
  buiStartProctoringSession: BuiProctoringSession;
71475
72827
  buiSubmitAssessment: BuiSubmission;
71476
- /** Submit the caller's responses to an interactive lesson in their own enrollment. The attempt is scored on the server and recorded with an xAPI statement; a passing attempt completes the lesson. */
72828
+ /**
72829
+ * Submit the caller's responses to an interactive lesson in their own
72830
+ * enrollment. The attempt is scored on the server and recorded with an xAPI
72831
+ * statement; a passing attempt completes the lesson.
72832
+ */
71477
72833
  buiSubmitMyInteractiveAttempt: BuiInteractiveAttemptResult;
71478
- /** Type-A self write: record the caller's path-finder answers on their learner profile and stamp `pathFinderCompletedAt`. Read `buiRecommendPaths` afterwards for the resulting recommendations. */
72834
+ /**
72835
+ * Type-A self write: record the caller's path-finder answers on their learner
72836
+ * profile and stamp `pathFinderCompletedAt`. Read `buiRecommendPaths`
72837
+ * afterwards for the resulting recommendations.
72838
+ */
71479
72839
  buiSubmitPathFinder: BuiLearnerProfile;
71480
- /** BOFF-4431 (2/3): the learner submits their identity photo/ID and acknowledges the browser-lockdown terms, moving the session to UNDER_REVIEW for an instructor to decide. Owner-scoped — a learner can only submit to their OWN session (see resolver). */
72840
+ /**
72841
+ * BOFF-4431 (2/3): the learner submits their identity photo/ID and
72842
+ * acknowledges the browser-lockdown terms, moving the session to
72843
+ * UNDER_REVIEW for an instructor to decide. Owner-scoped — a learner can
72844
+ * only submit to their OWN session (see resolver).
72845
+ */
71481
72846
  buiSubmitProctoringIdentity: BuiProctoringSession;
71482
- /** AI-drafted assessment questions grounded in the course (or one lesson's) real content. Ephemeral suggestion: nothing is written until the educator calls `buiApplyAssessmentDraft`. */
72847
+ /**
72848
+ * AI-drafted assessment questions grounded in the course (or one lesson's)
72849
+ * real content. Ephemeral suggestion: nothing is written until the educator
72850
+ * calls `buiApplyAssessmentDraft`.
72851
+ */
71483
72852
  buiSuggestAssessmentDraft: BuiAssessmentDraftSuggestion;
71484
- /** AI-drafted course outline from a topic description — an ephemeral suggestion (not persisted), reviewed/edited by the instructor before `buiApplyCourseOutline` creates anything real. Honest fail-clear with no LLM key configured (mirrors `buiSuggestGrade`). */
72853
+ /**
72854
+ * AI-drafted course outline from a topic description — an ephemeral
72855
+ * suggestion (not persisted), reviewed/edited by the instructor before
72856
+ * `buiApplyCourseOutline` creates anything real. Honest fail-clear with no
72857
+ * LLM key configured (mirrors `buiSuggestGrade`).
72858
+ */
71485
72859
  buiSuggestCourseOutline: BuiCourseOutlineSuggestion;
71486
- /** Grading assistance: proposes a score + rubric-anchored per-question feedback for a submission's open-ended questions, via the same LLM provider chain the AI tutor uses. Reads each open-ended question's server-side-only `answerKey`/`explanation` as grading context — never exposed to learners. NEVER writes `BuiSubmission.score`/`passed`/`feedback` — the proposal is persisted as a `BuiAiSuggestion` (kind: GRADE, outcome: PENDING) for educator review; committing a grade still requires the existing `buiGradeSubmission`. Gated identically to that mutation — an actor who can AI-draft a grade must also be allowed to actually grade. */
72860
+ /**
72861
+ * Grading assistance: proposes a score + rubric-anchored per-question
72862
+ * feedback for a submission's open-ended questions, via the same LLM
72863
+ * provider chain the AI tutor uses. Reads each open-ended question's
72864
+ * server-side-only `answerKey`/`explanation` as grading context — never
72865
+ * exposed to learners.
72866
+ *
72867
+ * NEVER writes `BuiSubmission.score`/`passed`/`feedback` — the proposal is
72868
+ * persisted as a `BuiAiSuggestion` (kind: GRADE, outcome: PENDING) for
72869
+ * educator review; committing a grade still requires the existing
72870
+ * `buiGradeSubmission`. Gated identically to that mutation — an actor who
72871
+ * can AI-draft a grade must also be allowed to actually grade.
72872
+ */
71487
72873
  buiSuggestGrade: BuiGradeSuggestion;
71488
- /** Adaptive sequencing: decides the calling learner's next lesson from their own `BuiLessonProgress` trail across the enrolled course's lesson sequence, plus a pacing hint derived from recent graded `BuiSubmission` scores in that course (same 3-bucket mastery signal the AI tutor uses, see `IntelligenceService.computeMasteryBucket`). Deterministic — a curriculum-order "resume where you left off" walk, not an LLM call (see `IntelligenceService` doc comment for why this pass scoped it that way). Persists a `BuiAiSuggestion` (kind: NEXT_LESSON) so the decision is auditable; never writes `BuiLessonProgress`/`BuiEnrollment` itself. Type-B self-scoped: `enrollmentId` is a client arg, but the resolver owner-filters by the authenticated actor — mirrors `buiMyEnrollment`. */
72874
+ /**
72875
+ * Adaptive sequencing: decides the calling learner's next lesson from their
72876
+ * own `BuiLessonProgress` trail across the enrolled course's lesson
72877
+ * sequence, plus a pacing hint derived from recent graded `BuiSubmission`
72878
+ * scores in that course (same 3-bucket mastery signal the AI tutor uses,
72879
+ * see `IntelligenceService.computeMasteryBucket`). Deterministic — a
72880
+ * curriculum-order "resume where you left off" walk, not an LLM call (see
72881
+ * `IntelligenceService` doc comment for why this pass scoped it that way).
72882
+ *
72883
+ * Persists a `BuiAiSuggestion` (kind: NEXT_LESSON) so the decision is
72884
+ * auditable; never writes `BuiLessonProgress`/`BuiEnrollment` itself.
72885
+ *
72886
+ * Type-B self-scoped: `enrollmentId` is a client arg, but the resolver
72887
+ * owner-filters by the authenticated actor — mirrors `buiMyEnrollment`.
72888
+ */
71489
72889
  buiSuggestNextLesson: BuiNextLessonSuggestion;
71490
- /** Service-only (BOFF-3134): upsert the canonical certificate mirroring a source product's certificate. The course must have been synced first. */
72890
+ /**
72891
+ * Service-only (BOFF-3134): upsert the canonical certificate mirroring a
72892
+ * source product's certificate. The course must have been synced first.
72893
+ */
71491
72894
  buiSyncExternalCertificate: BuiCertificate;
71492
- /** Service-only (BOFF-3134): upsert the canonical course mirroring a source product's course. Returns the canonical BuiCourse. */
72895
+ /**
72896
+ * Service-only (BOFF-3134): upsert the canonical course mirroring a source
72897
+ * product's course. Returns the canonical BuiCourse.
72898
+ */
71493
72899
  buiSyncExternalCourse: BuiCourse;
71494
- /** Service-only (BOFF-3134): upsert the canonical enrollment mirroring a source product's enrollment. The course must have been synced first. */
72900
+ /**
72901
+ * Service-only (BOFF-3134): upsert the canonical enrollment mirroring a source
72902
+ * product's enrollment. The course must have been synced first.
72903
+ */
71495
72904
  buiSyncExternalEnrollment: BuiEnrollment;
71496
- /** Service-only (BOFF-10464): upsert the canonical lesson mirroring a source product's lesson. The course must have been synced first. */
72905
+ /**
72906
+ * Service-only (BOFF-10464): upsert the canonical lesson mirroring a source
72907
+ * product's lesson. The course must have been synced first.
72908
+ */
71497
72909
  buiSyncExternalLesson: BuiLesson;
71498
- /** 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. */
72910
+ /**
72911
+ * Service-only (BOFF-10464): upsert the canonical lesson progress mirroring a
72912
+ * source product's lesson completion. The enrollment and the lesson must have
72913
+ * been synced first.
72914
+ */
71499
72915
  buiSyncExternalLessonProgress: BuiLessonProgress;
71500
- /** 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`). */
72916
+ /**
72917
+ * Real AGS score-publish for one graded submission to the LMS gradebook via
72918
+ * the given resource link's line item. Never re-grades — the submission
72919
+ * must already be graded (`buiGradeSubmission`/`buiAutoScoreSubmission`).
72920
+ */
71501
72921
  buiSyncLtiGrade: BuiLtiGradeSync;
71502
- /** Names and Role Provisioning Services roster sync: fetches the LMS course roster for this LTI placement and upserts `BuiLtiContextMembership` rows. */
72922
+ /**
72923
+ * Names and Role Provisioning Services roster sync: fetches the LMS course
72924
+ * roster for this LTI placement and upserts `BuiLtiContextMembership` rows.
72925
+ */
71503
72926
  buiSyncLtiRoster: Array<BuiLtiRosterMember>;
72927
+ /** Check the saved LRS settings: GET /about, then an authenticated statements request. */
72928
+ buiTestXapiLrs: BuiXapiConnectionCheck;
71504
72929
  /** Advance an enrollment through its lifecycle (validated transitions). */
71505
72930
  buiTransitionEnrollment: BuiEnrollment;
71506
- /** Ask the AI tutor a question about a lesson. The answer is grounded in the lesson's actual content (plus term-overlap-matched sibling lessons in the same course — see TutorService.retrieveGrounding) — never an ungrounded chat completion. Identity is always the authenticated actor; a client cannot ask on another learner's behalf and cannot continue a session it does not own. */
72931
+ /**
72932
+ * Ask the AI tutor a question about a lesson. The answer is grounded in the
72933
+ * lesson's actual content (plus term-overlap-matched sibling lessons in the
72934
+ * same course — see TutorService.retrieveGrounding) — never an ungrounded
72935
+ * chat completion. Identity is always the authenticated actor; a client
72936
+ * cannot ask on another learner's behalf and cannot continue a session it
72937
+ * does not own.
72938
+ */
71507
72939
  buiTutorAsk: BuiTutorAskPayload;
71508
- /** Remove a course from the caller's own saved list. Idempotent: returns false when the course was not saved. */
72940
+ /**
72941
+ * Remove a course from the caller's own saved list. Idempotent: returns false
72942
+ * when the course was not saved.
72943
+ */
71509
72944
  buiUnsaveCourse: Scalars['Boolean']['output'];
71510
72945
  /** Save the workspace's AI content controls. Admin only. */
71511
72946
  buiUpdateAiSettings: BuiAiSettings;
@@ -74024,8 +75459,10 @@ export type Mutation = {
74024
75459
  hokCancelCallback: HokCallback;
74025
75460
  /** Engage the talent of an ACCEPTED (or COMPLETED) casting offer as a cast member of the offer's production — auditions → cast → call sheets. */
74026
75461
  hokCastFromOffer: HokProductionMember;
74027
- /** Heartbeat of a playing linear session (self-scoped, owner-filtered on the session): confirms the ads the viewer fully watched and returns the refreshed stream. A heartbeat more than 75 seconds after the previous one restarts the tuned-in stretch, so ads aired during the gap are never booked. */
75462
+ /** Heartbeat of a playing linear session (self-scoped, owner-filtered on the session): confirms the ads the viewer fully watched and returns the refreshed stream. A heartbeat more than 75 seconds after the previous one restarts the tuned-in stretch, so ads aired during the gap are never booked. Send `consent` only when the viewer changed their choice: it applies to every break not yet on air (withdrawing it drops pods already decided for upcoming breaks). */
74028
75463
  hokChannelStreamHeartbeat: HokChannelStream;
75464
+ /** Re-validate licenses a device holds, typically on reconnect (self-scoped, at most 100 ids). Invalid licenses are recorded as EXPIRED or REVOKED; the device must delete their copies. */
75465
+ hokCheckOfflineLicenses: Array<HokOfflineLicenseCheck>;
74029
75466
  hokCloseAudition: HokAudition;
74030
75467
  hokCompleteCallback: HokCallback;
74031
75468
  /** Mark an accepted engagement as finished; unlocks ratings for both sides. */
@@ -74082,7 +75519,7 @@ export type Mutation = {
74082
75519
  hokDeleteStudio: Scalars['Boolean']['output'];
74083
75520
  /** Stop the feed; its URL answers 404 until it is enabled again. Idempotent. */
74084
75521
  hokDisableChannelHlsFeed: HokChannelHlsFeed;
74085
- /** Turn the channel's HLS feed on, or switch its slate. The URL is kept across re-enables. */
75522
+ /** Turn the channel's HLS feed on, or switch its slates. The URL is kept across re-enables. slatePackageId is the primary variant's slate and fixes the feed's profile; ladderSlatePackageIds adds one variant per further slate (each another rendition with the same profile and segment count; [] makes the feed single-variant); scte35 adds SCTE-35 EXT-X-DATERANGE signalling. An omitted ladderSlatePackageIds or scte35 keeps the feed's current value. */
74086
75523
  hokEnableChannelHlsFeed: HokChannelHlsFeed;
74087
75524
  /** Tune out of a linear session (self-scoped). Idempotent. */
74088
75525
  hokEndChannelStream: Scalars['Boolean']['output'];
@@ -74131,6 +75568,8 @@ export type Mutation = {
74131
75568
  hokRecordProgress: HokWatchProgress;
74132
75569
  /** Record recommendation impressions/clicks for the calling viewer (max 50 per call). Returns the number of events stored. */
74133
75570
  hokRecordRecommendationEvents: Scalars['Int']['output'];
75571
+ /** Record that the caller deleted a downloaded copy (self-scoped, idempotent). */
75572
+ hokReleaseOfflineLicense: Scalars['Boolean']['output'];
74134
75573
  /** Remove a credit (soft delete). Credits carry no mutable metadata — correct a mistake by removing and re-adding. */
74135
75574
  hokRemoveCredit: Scalars['Boolean']['output'];
74136
75575
  /** Soft-delete the onboarding sample data. Content the workspace created itself is never touched. */
@@ -74155,6 +75594,8 @@ export type Mutation = {
74155
75594
  hokRequestAdBreak: HokAdBreak;
74156
75595
  /** The calling viewer's full ad schedule for a VOD title (pre-roll, mid-rolls, post-roll), with every break decided and returned as VMAP 1.0. */
74157
75596
  hokRequestAdSchedule: HokAdSchedule;
75597
+ /** Request an offline download (self-scoped). Checks the caller's paid entitlement, territory, the rights window's download allowance and the per-viewer cap, then returns a short-lived download URL and records the offline license. */
75598
+ hokRequestOfflineDownload: HokOfflineDownload;
74158
75599
  hokResolveDispute: HokDispute;
74159
75600
  hokResolveModerationFlag: HokModerationFlag;
74160
75601
  hokRespondToCallback: HokCallback;
@@ -74191,6 +75632,8 @@ export type Mutation = {
74191
75632
  hokSetPreferences: HokPreferences;
74192
75633
  /** Link a RELEASED production to the catalog title it produced (or clear the link with titleId: null). The production-to-catalog promote step (BOFF-8898). */
74193
75634
  hokSetProductionResultingTitle: HokProduction;
75635
+ /** Set a rights window's offline download policy. */
75636
+ hokSetRightsWindowOfflinePolicy: HokRightsWindow;
74194
75637
  /** Record the real total revenue finance collected for a mode+period+territory bucket. Required before pooled-mode (SVOD/AVOD/FAST) ledger rows can carry a dollar amount. */
74195
75638
  hokSetRoyaltyRevenuePool: HokRoyaltyRevenuePool;
74196
75639
  /** Replace a scene's cast requirements with the given cast members. */
@@ -74199,7 +75642,7 @@ export type Mutation = {
74199
75642
  hokSetTasteFeedback: HokTasteFeedback;
74200
75643
  /** Replace all royalty splits for a title. Pass an empty list to fall back to the default (100% to the owning studio). A non-empty list must sum to 100. */
74201
75644
  hokSetTitleRoyaltySplits: Array<HokRoyaltySplit>;
74202
- /** Tune the calling viewer in to a FAST channel: opens a linear viewing session (replacing the viewer's open session on the same channel) and returns the channel's linear stream with the viewer's ad pods stitched in. */
75645
+ /** Tune the calling viewer in to a FAST channel: opens a linear viewing session (replacing the viewer's open session on the same channel) and returns the channel's linear stream with the viewer's ad pods stitched in. `consent` (from the platform consent prompt) allows third-party demand in the session's breaks; without it, or on a kids profile, they are first-party only. `pageUrl` (origin and path only) fills the partners' [PAGEURL] macro. */
74203
75646
  hokStartChannelStream: HokChannelStream;
74204
75647
  hokStartDisputeReview: HokDispute;
74205
75648
  hokSubmitDisputeStatement: HokDispute;
@@ -75647,6 +77090,7 @@ export type Mutation = {
75647
77090
  /** Reactivate an archived workspace (sets status to ACTIVE) */
75648
77091
  reactivateWorkspace: Workspace;
75649
77092
  rebuildKnowledgeBaseIndex: Scalars['Boolean']['output'];
77093
+ /** Recalculate now. `weeksOfHistory` is clamped to 4-104 closed weeks. */
75650
77094
  recalculateDemandForecasts: Scalars['Int']['output'];
75651
77095
  /** Recall a batch (BOFF-6044). Sets status to RECALLED, removes it from the public portal (retaining its slug so the printed QR resolves to a recall notice), stamps the recall, and fires an in-app alert to the batch owner. A recalled batch cannot be republished. */
75652
77096
  recallHealthyBowlTraceBatch: TraceBatch;
@@ -80948,6 +82392,12 @@ export type MutationBuiAttachInteractivePackageArgs = {
80948
82392
  };
80949
82393
 
80950
82394
 
82395
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
82396
+ export type MutationBuiAttachScormPackageArgs = {
82397
+ input: BuiAttachScormPackageInput;
82398
+ };
82399
+
82400
+
80951
82401
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
80952
82402
  export type MutationBuiAutoScoreSubmissionArgs = {
80953
82403
  id: Scalars['ID']['input'];
@@ -80972,6 +82422,12 @@ export type MutationBuiCaptureCourseKnowledgeSnapshotArgs = {
80972
82422
  };
80973
82423
 
80974
82424
 
82425
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
82426
+ export type MutationBuiCommitMyScormRuntimeArgs = {
82427
+ input: BuiCommitScormRuntimeInput;
82428
+ };
82429
+
82430
+
80975
82431
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
80976
82432
  export type MutationBuiCompleteLtiDeepLinkArgs = {
80977
82433
  assessmentId: Scalars['ID']['input'];
@@ -81004,6 +82460,18 @@ export type MutationBuiConfigureCourseAssistantArgs = {
81004
82460
  };
81005
82461
 
81006
82462
 
82463
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
82464
+ export type MutationBuiConfigureEarlyWarningArgs = {
82465
+ input: BuiConfigureEarlyWarningInput;
82466
+ };
82467
+
82468
+
82469
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
82470
+ export type MutationBuiConfigureXapiLrsArgs = {
82471
+ input: BuiConfigureXapiLrsInput;
82472
+ };
82473
+
82474
+
81007
82475
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
81008
82476
  export type MutationBuiCreateAssessmentArgs = {
81009
82477
  input: BuiCreateAssessmentInput;
@@ -81085,6 +82553,12 @@ export type MutationBuiDetachInteractivePackageArgs = {
81085
82553
  };
81086
82554
 
81087
82555
 
82556
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
82557
+ export type MutationBuiDetachScormPackageArgs = {
82558
+ lessonId: Scalars['ID']['input'];
82559
+ };
82560
+
82561
+
81088
82562
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
81089
82563
  export type MutationBuiDisableCourseAssistantArgs = {
81090
82564
  courseId: Scalars['ID']['input'];
@@ -81110,6 +82584,12 @@ export type MutationBuiExportCourseGradebookArgs = {
81110
82584
  };
81111
82585
 
81112
82586
 
82587
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
82588
+ export type MutationBuiExportCourseXapiStatementsArgs = {
82589
+ courseId: Scalars['ID']['input'];
82590
+ };
82591
+
82592
+
81113
82593
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
81114
82594
  export type MutationBuiExportInteractiveActivityArgs = {
81115
82595
  lessonId: Scalars['ID']['input'];
@@ -81136,6 +82616,18 @@ export type MutationBuiImportCourseArgs = {
81136
82616
  };
81137
82617
 
81138
82618
 
82619
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
82620
+ export type MutationBuiImportGradebookArgs = {
82621
+ input: BuiGradebookImportInput;
82622
+ };
82623
+
82624
+
82625
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
82626
+ export type MutationBuiImportRosterArgs = {
82627
+ input: BuiRosterImportInput;
82628
+ };
82629
+
82630
+
81139
82631
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
81140
82632
  export type MutationBuiInsertLearningObjectArgs = {
81141
82633
  input: BuiInsertLearningObjectInput;
@@ -81223,6 +82715,12 @@ export type MutationBuiRetryCourseAssistantDeliveryArgs = {
81223
82715
  };
81224
82716
 
81225
82717
 
82718
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
82719
+ export type MutationBuiRetryFailedXapiStatementsArgs = {
82720
+ courseId?: InputMaybe<Scalars['ID']['input']>;
82721
+ };
82722
+
82723
+
81226
82724
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
81227
82725
  export type MutationBuiReviewGradeSuggestionArgs = {
81228
82726
  id: Scalars['ID']['input'];
@@ -91567,10 +93065,18 @@ export type MutationHokCastFromOfferArgs = {
91567
93065
 
91568
93066
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
91569
93067
  export type MutationHokChannelStreamHeartbeatArgs = {
93068
+ consent?: InputMaybe<HokAdConsentInput>;
93069
+ pageUrl?: InputMaybe<Scalars['String']['input']>;
91570
93070
  sessionId: Scalars['ID']['input'];
91571
93071
  };
91572
93072
 
91573
93073
 
93074
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
93075
+ export type MutationHokCheckOfflineLicensesArgs = {
93076
+ ids: Array<Scalars['ID']['input']>;
93077
+ };
93078
+
93079
+
91574
93080
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
91575
93081
  export type MutationHokCloseAuditionArgs = {
91576
93082
  id: Scalars['ID']['input'];
@@ -91845,6 +93351,8 @@ export type MutationHokDisableChannelHlsFeedArgs = {
91845
93351
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
91846
93352
  export type MutationHokEnableChannelHlsFeedArgs = {
91847
93353
  channelId: Scalars['ID']['input'];
93354
+ ladderSlatePackageIds?: InputMaybe<Array<Scalars['ID']['input']>>;
93355
+ scte35?: InputMaybe<Scalars['Boolean']['input']>;
91848
93356
  slatePackageId: Scalars['ID']['input'];
91849
93357
  };
91850
93358
 
@@ -91997,6 +93505,12 @@ export type MutationHokRecordRecommendationEventsArgs = {
91997
93505
  };
91998
93506
 
91999
93507
 
93508
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
93509
+ export type MutationHokReleaseOfflineLicenseArgs = {
93510
+ id: Scalars['ID']['input'];
93511
+ };
93512
+
93513
+
92000
93514
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
92001
93515
  export type MutationHokRemoveCreditArgs = {
92002
93516
  id: Scalars['ID']['input'];
@@ -92072,6 +93586,12 @@ export type MutationHokRequestAdScheduleArgs = {
92072
93586
  };
92073
93587
 
92074
93588
 
93589
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
93590
+ export type MutationHokRequestOfflineDownloadArgs = {
93591
+ input: HokOfflineDownloadInput;
93592
+ };
93593
+
93594
+
92075
93595
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
92076
93596
  export type MutationHokResolveDisputeArgs = {
92077
93597
  input: HokResolveDisputeInput;
@@ -92207,6 +93727,13 @@ export type MutationHokSetProductionResultingTitleArgs = {
92207
93727
  };
92208
93728
 
92209
93729
 
93730
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
93731
+ export type MutationHokSetRightsWindowOfflinePolicyArgs = {
93732
+ id: Scalars['ID']['input'];
93733
+ input: HokRightsWindowOfflinePolicyInput;
93734
+ };
93735
+
93736
+
92210
93737
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
92211
93738
  export type MutationHokSetRoyaltyRevenuePoolArgs = {
92212
93739
  input: HokSetRoyaltyRevenuePoolInput;
@@ -92237,7 +93764,9 @@ export type MutationHokSetTitleRoyaltySplitsArgs = {
92237
93764
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
92238
93765
  export type MutationHokStartChannelStreamArgs = {
92239
93766
  channelId: Scalars['ID']['input'];
93767
+ consent?: InputMaybe<HokAdConsentInput>;
92240
93768
  device?: InputMaybe<Scalars['String']['input']>;
93769
+ pageUrl?: InputMaybe<Scalars['String']['input']>;
92241
93770
  profileId?: InputMaybe<Scalars['ID']['input']>;
92242
93771
  territory?: InputMaybe<Scalars['String']['input']>;
92243
93772
  };
@@ -119871,7 +121400,11 @@ export type Query = {
119871
121400
  braVaultGrantedDocuments: Array<BraVaultGrantedDocument>;
119872
121401
  budget?: Maybe<AssetBudget>;
119873
121402
  budgets: Array<AssetBudget>;
119874
- /** The workspace's admin copilot proposals and their outcomes, newest first — the audit trail of what was proposed, who confirmed or dismissed it, and what ran. Same gate as `buiAdminCopilotAsk`. */
121403
+ /**
121404
+ * The workspace's admin copilot proposals and their outcomes, newest first —
121405
+ * the audit trail of what was proposed, who confirmed or dismissed it, and
121406
+ * what ran. Same gate as `buiAdminCopilotAsk`.
121407
+ */
119875
121408
  buiAdminCopilotActions: Array<BuiAdminCopilotProposedAction>;
119876
121409
  /** The workspace's AI content controls (block-list applied to every AI authoring and tutor call). */
119877
121410
  buiAiSettings: BuiAiSettings;
@@ -119886,19 +121419,48 @@ export type Query = {
119886
121419
  /** The workspace badge catalog. */
119887
121420
  buiBadges: BuiBadgeConnection;
119888
121421
  buiCatalogPublicationConsentVersion: Scalars['String']['output'];
119889
- /** Checks draft content an author is writing (before it is saved) against the WCAG 2.1 source rules. Stateless: reads and writes nothing. */
121422
+ /**
121423
+ * Checks draft content an author is writing (before it is saved) against the
121424
+ * WCAG 2.1 source rules. Stateless: reads and writes nothing.
121425
+ */
119890
121426
  buiCheckContentAccessibility: BuiAccessibilityReport;
119891
121427
  buiCourse?: Maybe<BuiCourse>;
119892
- /** Checks every saved piece of authored content in one course: its summary and description, lesson bodies, assessment descriptions, and question prompts, options and explanations. */
121428
+ /**
121429
+ * Checks every saved piece of authored content in one course: its summary and
121430
+ * description, lesson bodies, assessment descriptions, and question prompts,
121431
+ * options and explanations.
121432
+ */
119893
121433
  buiCourseAccessibilityReport: BuiCourseAccessibilityReport;
119894
121434
  buiCourseAssistantSettings: BuiCourseAssistantSettings;
119895
- /** M2M system-of-record point read (OVL-24): resolve a single learner's canonical enrollment in a specific BuildMyIQ course — returns the learner's most recent non-deleted enrollment, or null if they have never enrolled in that course. This is the composition primitive a consuming subgraph (e.g. wspace-technospam-svc) uses once it references a `BuiCourse` via `@key`: it needs the learner's canonical enrollment / progress / completion state (BuildMyIQ is the system of record) without enumerating every enrollment in the workspace and filtering client-side (cf. `buiListEnrollments`, which is the cross-learner instructor/admin list). Gated on the same `buildmyiq-enrollment` read action as `buiEnrollment`, so it reuses the existing RBAC grants (no new seed). */
121435
+ /**
121436
+ * M2M system-of-record point read (OVL-24): resolve a single learner's
121437
+ * canonical enrollment in a specific BuildMyIQ course — returns the learner's
121438
+ * most recent non-deleted enrollment, or null if they have never enrolled in
121439
+ * that course.
121440
+ *
121441
+ * This is the composition primitive a consuming subgraph
121442
+ * (e.g. wspace-technospam-svc) uses once it references a `BuiCourse` via
121443
+ * `@key`: it needs the learner's canonical enrollment / progress / completion
121444
+ * state (BuildMyIQ is the system of record) without enumerating every
121445
+ * enrollment in the workspace and filtering client-side (cf.
121446
+ * `buiListEnrollments`, which is the cross-learner instructor/admin list).
121447
+ * Gated on the same `buildmyiq-enrollment` read action as `buiEnrollment`, so
121448
+ * it reuses the existing RBAC grants (no new seed).
121449
+ */
119896
121450
  buiCourseEnrollment?: Maybe<BuiEnrollment>;
119897
121451
  buiCourseKnowledgeSnapshotSources: BuiCourseKnowledgeSnapshotSourcePage;
119898
121452
  /** Machine-only published course source export; not a learner access grant. */
119899
121453
  buiCourseKnowledgeSources: BuiCourseKnowledgeSourcePage;
121454
+ /** The workspace's early-warning opt-in and settings. */
121455
+ buiEarlyWarning: BuiEarlyWarning;
121456
+ /** Recent early-warning runs, newest first — the per-invocation ledger an admin audits. */
121457
+ buiEarlyWarningRuns: BuiEarlyWarningRunConnection;
119900
121458
  buiEnrollment?: Maybe<BuiEnrollment>;
119901
- /** 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. */
121459
+ /**
121460
+ * Service-only (BOFF-10480): the canonical state of the given source records,
121461
+ * for the source product's parity check. Ids with no canonical row are simply
121462
+ * absent from the result.
121463
+ */
119902
121464
  buiExternalSyncRecords: Array<BuiExternalSyncRecord>;
119903
121465
  /** Liveness/identity probe for the Buildmyiq subgraph. */
119904
121466
  buiHealth: Scalars['String']['output'];
@@ -119909,38 +121471,119 @@ export type Query = {
119909
121471
  buiLearningObject?: Maybe<BuiLearningObject>;
119910
121472
  /** One version of a repository object, or null when it does not exist. */
119911
121473
  buiLearningObjectVersion?: Maybe<BuiLearningObjectVersion>;
119912
- /** Browse the workspace repository, most recently updated first. `search` matches the title and description; `tag` and `skillId` filter exactly. */
121474
+ /**
121475
+ * Browse the workspace repository, most recently updated first. `search`
121476
+ * matches the title and description; `tag` and `skillId` filter exactly.
121477
+ */
119913
121478
  buiLearningObjects: BuiLearningObjectConnection;
119914
121479
  /** The H5P package attached to a lesson, with validation details (authoring view). */
119915
121480
  buiLessonInteractivePackage?: Maybe<BuiInteractivePackage>;
121481
+ /** The SCORM package attached to a lesson, with its items and validation notes (authoring view). */
121482
+ buiLessonScormPackage?: Maybe<BuiScormPackage>;
119916
121483
  buiListAssessments: BuiAssessmentConnection;
119917
- /** Workspace-wide badge awards (credential issuers only, like `buiListCertificates`). Learners read their own awards through `buiMyBadgeAwards`. */
121484
+ /**
121485
+ * Live-scored at-risk enrollments in one cohort: ACTIVE enrollments whose
121486
+ * deterministic risk score is at or above the workspace threshold, each with
121487
+ * the signals and the decision engine's suggested intervention.
121488
+ */
121489
+ buiListAtRiskEnrollments: BuiAtRiskEnrollmentConnection;
121490
+ /**
121491
+ * Workspace-wide badge awards (credential issuers only, like
121492
+ * `buiListCertificates`). Learners read their own awards through
121493
+ * `buiMyBadgeAwards`.
121494
+ */
119918
121495
  buiListBadgeAwards: BuiBadgeAwardConnection;
119919
- /** 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. */
121496
+ /**
121497
+ * Workspace-wide certificate list (instructors/facilitators/admins only —
121498
+ * see `buildmyiq-certificate` action defaults, `viewerDefault: false` on
121499
+ * `list`/`read`). Learners viewing their own credentials MUST use
121500
+ * `buiMyCertificates` instead.
121501
+ *
121502
+ * No `learnerId` arg (BOFF FERPA/IDOR hardening): the elevated instructor/admin
121503
+ * list shows the whole workspace; a learner's own credentials come from the
121504
+ * self-scoped `buiMyCertificates`.
121505
+ *
121506
+ * `source` (BOFF-10481) narrows the list to the certificates mirrored from one
121507
+ * product; omit it to list native and mirrored certificates alike.
121508
+ */
119920
121509
  buiListCertificates: BuiCertificateConnection;
119921
121510
  buiListCertifications: BuiCertificationConnection;
119922
121511
  buiListCohorts: BuiCohortConnection;
119923
- /** 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. */
121512
+ /**
121513
+ * Courses in the workspace. `source` (BOFF-10481) narrows the list to the
121514
+ * courses mirrored from one product, so a product's own catalog (for example
121515
+ * TechnoSpam's) never lists the workspace's native BuildMyIQ courses. Omit it
121516
+ * to list every course, native and mirrored alike.
121517
+ */
119924
121518
  buiListCourses: BuiCourseConnection;
119925
- /** 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. */
121519
+ /**
121520
+ * Workspace-wide enrollment list (instructors/facilitators/admins only — see
121521
+ * `buildmyiq-enrollment` action defaults in wspace-rbac-svc's seed, which set
121522
+ * `viewerDefault: false` on `list`/`read` so a plain workspace Viewer cannot
121523
+ * enumerate every learner's enrollments). Learners viewing their own
121524
+ * enrollments MUST use `buiMyEnrollments`/`buiMyEnrollment` instead.
121525
+ *
121526
+ * No `learnerId` arg (BOFF FERPA/IDOR hardening): the elevated instructor/admin
121527
+ * list shows the whole workspace and is filtered client-side; a learner's own
121528
+ * enrollments come from the self-scoped `buiMyEnrollments`. The single-learner
121529
+ * M2M point read remains available via `buiCourseEnrollment` for consuming
121530
+ * subgraphs.
121531
+ *
121532
+ * `source` (BOFF-10481) narrows the list to the enrollments mirrored from one
121533
+ * product; omit it to list native and mirrored enrollments alike.
121534
+ */
119926
121535
  buiListEnrollments: BuiEnrollmentConnection;
119927
121536
  buiListLessons: BuiLessonConnection;
119928
121537
  buiListModules: BuiModuleConnection;
119929
- /** BOFF-4431: workspace-wide proctoring review queue (instructor/admin only — same FERPA-style shape as `buildmyiq-submission`). Learners checking their own session status MUST use `buiMyProctoringSession` instead. */
121538
+ /**
121539
+ * BOFF-4431: workspace-wide proctoring review queue (instructor/admin only —
121540
+ * same FERPA-style shape as `buildmyiq-submission`). Learners checking their
121541
+ * own session status MUST use `buiMyProctoringSession` instead.
121542
+ */
119930
121543
  buiListProctoringSessions: BuiProctoringSessionConnection;
119931
121544
  buiListSkillStandards: BuiSkillStandardConnection;
119932
121545
  buiListSkills: BuiSkillConnection;
119933
- /** Workspace-wide submission list (instructors/graders/admins only — see `buildmyiq-submission` 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 answers/scores/feedback). Learners viewing their own results MUST use `buiMySubmissions` instead. No `learnerId` arg (BOFF FERPA/IDOR hardening): a caller who holds the elevated instructor/admin `list` grant sees the whole workspace queue and filters client-side; a learner who needs their own results uses the self-scoped `buiMySubmissions`, whose identity comes from the authenticated actor. Removing the per-learner filter here closes the targeted "give me learner X's answers" enumeration vector at the schema boundary. */
121546
+ /**
121547
+ * Workspace-wide submission list (instructors/graders/admins only — see
121548
+ * `buildmyiq-submission` action defaults in wspace-rbac-svc's seed, which set
121549
+ * `viewerDefault: false` on `list`/`read` so a plain workspace Viewer cannot
121550
+ * enumerate every learner's answers/scores/feedback). Learners viewing their
121551
+ * own results MUST use `buiMySubmissions` instead.
121552
+ *
121553
+ * No `learnerId` arg (BOFF FERPA/IDOR hardening): a caller who holds the
121554
+ * elevated instructor/admin `list` grant sees the whole workspace queue and
121555
+ * filters client-side; a learner who needs their own results uses the
121556
+ * self-scoped `buiMySubmissions`, whose identity comes from the authenticated
121557
+ * actor. Removing the per-learner filter here closes the targeted
121558
+ * "give me learner X's answers" enumeration vector at the schema boundary.
121559
+ */
119934
121560
  buiListSubmissions: BuiSubmissionConnection;
119935
- /** Workspace-wide tutor session list for instructors/admins reviewing AI tutor conversations (educator-review checklist item). Restricted to EDITOR+ roles — see wspace-rbac-svc action-catalog `buildmyiq-tutor:list` (viewerDefault: false), same restriction shape as `buiListSubmissions`. No `learnerId` arg (BOFF FERPA/IDOR hardening): the elevated reviewer list shows the whole workspace; a learner's own sessions come from the self-scoped `buiMyTutorSessions`/`buiMyTutorSession`. */
121561
+ /**
121562
+ * Workspace-wide tutor session list for instructors/admins reviewing AI
121563
+ * tutor conversations (educator-review checklist item). Restricted to
121564
+ * EDITOR+ roles — see wspace-rbac-svc action-catalog `buildmyiq-tutor:list`
121565
+ * (viewerDefault: false), same restriction shape as `buiListSubmissions`.
121566
+ *
121567
+ * No `learnerId` arg (BOFF FERPA/IDOR hardening): the elevated reviewer list
121568
+ * shows the whole workspace; a learner's own sessions come from the
121569
+ * self-scoped `buiMyTutorSessions`/`buiMyTutorSession`.
121570
+ */
119936
121571
  buiListTutorSessions: BuiTutorSessionConnection;
119937
121572
  /** AGS grade-sync attempt history for one placement — instructor-facing diagnostics. */
119938
121573
  buiLtiGradeSyncs: Array<BuiLtiGradeSync>;
119939
- /** Type-B self-scoped read of a pending launch ticket — any authenticated workspace member who was just redirected here from an LMS may read it (there is no "owner" yet; the ticket itself is the capability), but it is always scoped to the CALLER's own workspace, never any other. */
121574
+ /**
121575
+ * Type-B self-scoped read of a pending launch ticket — any authenticated
121576
+ * workspace member who was just redirected here from an LMS may read it
121577
+ * (there is no "owner" yet; the ticket itself is the capability), but it is
121578
+ * always scoped to the CALLER's own workspace, never any other.
121579
+ */
119940
121580
  buiLtiLaunchContext?: Maybe<BuiLtiLaunchContext>;
119941
121581
  /** Workspace admin: every registered LTI platform (active or not). */
119942
121582
  buiLtiPlatforms: Array<BuiLtiPlatform>;
119943
- /** Workspace admin: the LMS placements (resource links) recorded by launches, newest first, optionally for one platform. Feeds grade and roster sync. */
121583
+ /**
121584
+ * Workspace admin: the LMS placements (resource links) recorded by launches,
121585
+ * newest first, optionally for one platform. Feeds grade and roster sync.
121586
+ */
119944
121587
  buiLtiResourceLinks: Array<BuiLtiResourceLink>;
119945
121588
  /** Last-synced NRPS roster for one LTI placement's course context. */
119946
121589
  buiLtiRoster: Array<BuiLtiRosterMember>;
@@ -119948,14 +121591,29 @@ export type Query = {
119948
121591
  buiMigrationJob?: Maybe<BuiMigrationJob>;
119949
121592
  /** The workspace's migration audit trail, newest first. */
119950
121593
  buiMigrationJobs: BuiMigrationJobConnection;
119951
- /** Type-C self-scoped list: the calling learner's own badge awards. No `learnerId` arg; identity comes from the authenticated actor. */
121594
+ /**
121595
+ * Type-C self-scoped list: the calling learner's own badge awards. No
121596
+ * `learnerId` arg; identity comes from the authenticated actor.
121597
+ */
119952
121598
  buiMyBadgeAwards: BuiBadgeAwardConnection;
119953
121599
  buiMyCatalogConnectors: Array<BuiCatalogConnector>;
119954
121600
  buiMyCatalogItems: Array<BuiExternalCatalogItem>;
119955
121601
  buiMyCatalogSyncRun: BuiCatalogSyncRun;
119956
- /** 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. */
121602
+ /**
121603
+ * Type-B self-scoped single lookup (BOFF-10481): `id` identifies the
121604
+ * certificate, but the resolver owner-filters by `ctx.actor.id` (`learnerId`)
121605
+ * and returns null (never FORBIDDEN) when it does not exist or belongs to
121606
+ * someone else, so existence is never leaked.
121607
+ */
119957
121608
  buiMyCertificate?: Maybe<BuiCertificate>;
119958
- /** 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. */
121609
+ /**
121610
+ * Type-C self-scoped list: the calling learner's own certificates. No
121611
+ * `learnerId` arg — see `buiListCertificates` for the workspace-wide/
121612
+ * instructor equivalent.
121613
+ *
121614
+ * `source` (BOFF-10481) narrows the list to the certificates mirrored from one
121615
+ * product.
121616
+ */
119959
121617
  buiMyCertificates: BuiCertificateConnection;
119960
121618
  /** Live course access for the authenticated learner; unavailable courses return false. */
119961
121619
  buiMyCourseAccess: BuiLearnerCourseAccess;
@@ -119964,39 +121622,111 @@ export type Query = {
119964
121622
  buiMyCourseAssistantMessages: BuiCourseAssistantMessagePage;
119965
121623
  buiMyCourseAssistantTarget: BuiCourseAssistantTarget;
119966
121624
  buiMyCourseAssistantTurn?: Maybe<BuiCourseAssistantTurn>;
119967
- /** 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. */
121625
+ /**
121626
+ * Type-B self-scoped single lookup: `id` identifies the enrollment, but the
121627
+ * resolver owner-filters by `ctx.actor.id` (`learnerId`) and returns null
121628
+ * (never leaks FORBIDDEN) if the caller doesn't own it.
121629
+ */
119968
121630
  buiMyEnrollment?: Maybe<BuiEnrollment>;
119969
- /** 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). */
121631
+ /**
121632
+ * Type-C self-scoped list: the calling learner's own enrollments. No
121633
+ * `learnerId` arg — identity comes from the authenticated actor
121634
+ * (`ctx.actor.id`), never from client input (BOFF FERPA/IDOR fix — see
121635
+ * `buiListEnrollments` for the workspace-wide/instructor equivalent).
121636
+ *
121637
+ * `source` (BOFF-10481) narrows the list to the enrollments mirrored from one
121638
+ * product (for example the learner's TechnoSpam enrollments).
121639
+ */
119970
121640
  buiMyEnrollments: BuiEnrollmentConnection;
119971
121641
  /** The caller's recent attempts on an interactive lesson in their own enrollment, newest first. */
119972
121642
  buiMyInteractiveAttempts: Array<BuiInteractiveAttemptSummary>;
119973
121643
  /** Type-A self read: the caller's own learner profile, or null before they set one. */
119974
121644
  buiMyLearnerProfile?: Maybe<BuiLearnerProfile>;
119975
- /** 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. */
121645
+ /**
121646
+ * Type-C self-scoped lookup: the calling learner's own current (most recent,
121647
+ * unexpired) proctoring session for an assessment. No `learnerId` arg —
121648
+ * identity comes from the authenticated actor, never client input.
121649
+ */
119976
121650
  buiMyProctoringSession?: Maybe<BuiProctoringSession>;
119977
- /** Type-C self-scoped list: the calling learner's saved courses, newest first. No `learnerId` arg — identity comes from the authenticated actor. `courseId` narrows the list to one course, which is how a course page asks "has the caller saved this course?" (an empty list means no). */
121651
+ /**
121652
+ * Type-C self-scoped list: the calling learner's saved courses, newest first.
121653
+ * No `learnerId` arg — identity comes from the authenticated actor.
121654
+ * `courseId` narrows the list to one course, which is how a course page asks
121655
+ * "has the caller saved this course?" (an empty list means no).
121656
+ */
119978
121657
  buiMySavedCourses: BuiSavedCourseConnection;
119979
- /** Type-C self-scoped list: the calling learner's own submissions across assessments. No `learnerId` arg — identity comes from the authenticated actor (`ctx.actor.id`), never from client input (BOFF FERPA/IDOR fix — see `buiListSubmissions` for the workspace-wide/instructor equivalent). */
121658
+ /**
121659
+ * Launch a SCORM lesson in the caller's own enrollment: the package link and
121660
+ * the stored run-time state of every item. Null when the lesson has no SCORM
121661
+ * package.
121662
+ */
121663
+ buiMyScormLaunch?: Maybe<BuiScormLaunch>;
121664
+ /**
121665
+ * Type-C self-scoped list: the calling learner's own submissions across
121666
+ * assessments. No `learnerId` arg — identity comes from the authenticated
121667
+ * actor (`ctx.actor.id`), never from client input (BOFF FERPA/IDOR fix —
121668
+ * see `buiListSubmissions` for the workspace-wide/instructor equivalent).
121669
+ */
119980
121670
  buiMySubmissions: BuiSubmissionConnection;
119981
- /** Type-B self-scoped read: owner-filters by the authenticated actor in the primary query and returns null (never FORBIDDEN) when the session is not owned by the caller or does not exist. */
121671
+ /**
121672
+ * Type-B self-scoped read: owner-filters by the authenticated actor in the
121673
+ * primary query and returns null (never FORBIDDEN) when the session is not
121674
+ * owned by the caller or does not exist.
121675
+ */
119982
121676
  buiMyTutorSession?: Maybe<BuiTutorSession>;
119983
- /** Type-C self-scoped list: the calling learner's own tutor sessions. No `learnerId` arg — identity comes exclusively from the authenticated actor, mirroring `buiMySubmissions` (BOFF FERPA/IDOR pattern). */
121677
+ /**
121678
+ * Type-C self-scoped list: the calling learner's own tutor sessions. No
121679
+ * `learnerId` arg — identity comes exclusively from the authenticated actor,
121680
+ * mirroring `buiMySubmissions` (BOFF FERPA/IDOR pattern).
121681
+ */
119984
121682
  buiMyTutorSessions: BuiTutorSessionConnection;
119985
121683
  /** The workspace's getting-started checklist. */
119986
121684
  buiOnboardingStatus: BuiOnboardingStatus;
119987
121685
  buiPendingCourseKnowledgeChange?: Maybe<BuiCourseKnowledgeChange>;
119988
- /** Read an uploaded package (IMS Common Cartridge or Moodle backup, detected from the file) and describe the course an import would create, with every skipped or converted item. Writes nothing. */
121686
+ /**
121687
+ * Read an uploaded package (IMS Common Cartridge or Moodle backup, detected
121688
+ * from the file) and describe the course an import
121689
+ * would create, with every skipped or converted item. Writes nothing.
121690
+ */
119989
121691
  buiPreviewCourseImport: BuiCourseImportPreview;
119990
- /** BOFF-9691: open the learner's identity photo/ID for a session in the review queue (instructor/admin only — the same permission as the queue itself). Null when the session has no identity file, or the file is gone or is not the learner's own upload. */
121692
+ /** Read an uploaded gradebook CSV and describe the grades an import would write. Writes nothing. */
121693
+ buiPreviewGradebookImport: BuiGradebookImportPreview;
121694
+ /** Read an uploaded roster CSV and describe the enrollments an import would create. Writes nothing. */
121695
+ buiPreviewRosterImport: BuiRosterImportPreview;
121696
+ /**
121697
+ * BOFF-9691: open the learner's identity photo/ID for a session in the review
121698
+ * queue (instructor/admin only — the same permission as the queue itself).
121699
+ * Null when the session has no identity file, or the file is gone or is not
121700
+ * the learner's own upload.
121701
+ */
119991
121702
  buiProctoringIdentityFile?: Maybe<BuiProctoringIdentityFile>;
119992
- /** BOFF-9690: reviewer timeline of one proctoring session's signals, oldest first. Instructor/admin only (same directive as the review queue); signals past the retention period are never returned. Paginated with explicit `limit` (default 50, max 100) and `after` (the previous page's `pageInfo.cursor`) rather than `PaginationInput`, whose composed supergraph shape carries only `limit`. */
121703
+ /**
121704
+ * BOFF-9690: reviewer timeline of one proctoring session's signals, oldest
121705
+ * first. Instructor/admin only (same directive as the review queue); signals
121706
+ * past the retention period are never returned. Paginated with explicit
121707
+ * `limit` (default 50, max 100) and `after` (the previous page's
121708
+ * `pageInfo.cursor`) rather than `PaginationInput`, whose composed
121709
+ * supergraph shape carries only `limit`.
121710
+ */
119993
121711
  buiProctoringSessionSignals: BuiProctoringSignalConnection;
119994
121712
  buiPublishedCatalogItems: Array<BuiPublishedCatalogItem>;
119995
- /** Skill journeys the caller has not started, best match first, computed from the caller's learner profile, their enrollments and the published catalog. `limit` defaults to 3 (maximum 10). */
121713
+ /**
121714
+ * Skill journeys the caller has not started, best match first, computed from
121715
+ * the caller's learner profile, their enrollments and the published catalog.
121716
+ * `limit` defaults to 3 (maximum 10).
121717
+ */
119996
121718
  buiRecommendPaths: BuiPathRecommendations;
121719
+ /** An author's preview launch of a lesson's SCORM package. Nothing is stored. */
121720
+ buiScormPreviewLaunch: BuiScormLaunch;
119997
121721
  buiSubmission?: Maybe<BuiSubmission>;
119998
121722
  buiSuggestCertifications: Array<BuiCertificationSuggestion>;
119999
121723
  buiSuggestSkillMappings: Array<BuiSkillMappingSuggestion>;
121724
+ /** Statement counts by delivery state. */
121725
+ buiXapiDeliveryCounts: BuiXapiDeliveryCounts;
121726
+ /** The workspace's LRS settings, or null when none are saved. */
121727
+ buiXapiLrsConfig?: Maybe<BuiXapiLrsConfig>;
121728
+ /** Recorded learning statements, newest first. They hold learners' scores, so this needs submission access. */
121729
+ buiXapiStatements: BuiXapiStatementConnection;
120000
121730
  /** Turn a live dashboard into a portable template document for the store. */
120001
121731
  buildDashboardTemplateContent: BigConsoleBuildDashboardTemplateContentResult;
120002
121732
  calculateFreightRate: MtwFreightRateQuote;
@@ -120457,6 +122187,8 @@ export type Query = {
120457
122187
  deliveryJobsCount: Scalars['Int']['output'];
120458
122188
  demandForecastByCustomer: Array<MtwDemandForecastPoint>;
120459
122189
  demandForecastByLane: Array<MtwDemandForecastPoint>;
122190
+ /** Model choice and back-test errors per lane or customer, most history first. `limit` caps lanes / customers (1-200). */
122191
+ demandForecastModelChoices: Array<MtwDemandForecastModelChoice>;
120460
122192
  /** Null until the workspace's forecast has been calculated once. */
120461
122193
  demandForecastRunStatus?: Maybe<MtwDemandForecastRunStatus>;
120462
122194
  demandForecastVariance: Array<MtwDemandForecastVariance>;
@@ -121914,6 +123646,8 @@ export type Query = {
121914
123646
  /** Real ad revenue for a period, from confirmed impressions only. */
121915
123647
  hokAdRevenueReport: HokAdRevenueReport;
121916
123648
  hokAdSettings: HokAdSettings;
123649
+ /** Operator audit: the server-side tracker deliveries of one ad decision (linear streams). */
123650
+ hokAdTrackerDeliveries: Array<HokAdTrackerDelivery>;
121917
123651
  /** A live draft call sheet generated from the schedule and the cast/crew roster. */
121918
123652
  hokCallSheet?: Maybe<HokCallSheet>;
121919
123653
  /** A fresh short-lived download URL for the PDF of one published call-sheet version; null when the version has no stored PDF. */
@@ -121998,6 +123732,8 @@ export type Query = {
121998
123732
  hokMyLists: HokListConnection;
121999
123733
  /** Talent/guardian: offers addressed to the caller. */
122000
123734
  hokMyOffers: HokOfferConnection;
123735
+ /** The caller's own offline licenses, newest first (self-scoped). */
123736
+ hokMyOfflineLicenses: HokOfflineLicenseConnection;
122001
123737
  /** The calling user's own preferences (self-scoped: filtered by ctx.actorId). */
122002
123738
  hokMyPreferences?: Maybe<HokPreferences>;
122003
123739
  /** The calling account's own viewing profiles (self-scoped to ctx.actorId). Paginated; defaults to 50 profiles per page with a server-enforced max of 100. */
@@ -122011,6 +123747,8 @@ export type Query = {
122011
123747
  hokMyWatchProgress: HokWatchProgressConnection;
122012
123748
  /** The block currently airing on a channel (startAt <= now < endAt), or null. */
122013
123749
  hokNowPlaying?: Maybe<HokScheduleBlock>;
123750
+ /** Whether the caller can download the title (episode) on this device now (self-scoped). */
123751
+ hokOfflineEligibility: HokOfflineEligibility;
122014
123752
  /** Getting-started checklist progress for the calling user in this workspace. */
122015
123753
  hokOnboardingStatus: HokOnboardingStatus;
122016
123754
  /** Propose an optimised shooting schedule from the script breakdown. Read-only; hokApplyShootingSchedule writes a confirmed schedule. */
@@ -126109,6 +127847,12 @@ export type QueryBuiCourseKnowledgeSourcesArgs = {
126109
127847
  };
126110
127848
 
126111
127849
 
127850
+ /** Base Query type with placeholder field. Extended by individual query files. */
127851
+ export type QueryBuiEarlyWarningRunsArgs = {
127852
+ pagination?: InputMaybe<PaginationInput>;
127853
+ };
127854
+
127855
+
126112
127856
  /** Base Query type with placeholder field. Extended by individual query files. */
126113
127857
  export type QueryBuiEnrollmentArgs = {
126114
127858
  id: Scalars['ID']['input'];
@@ -126163,6 +127907,12 @@ export type QueryBuiLessonInteractivePackageArgs = {
126163
127907
  };
126164
127908
 
126165
127909
 
127910
+ /** Base Query type with placeholder field. Extended by individual query files. */
127911
+ export type QueryBuiLessonScormPackageArgs = {
127912
+ lessonId: Scalars['ID']['input'];
127913
+ };
127914
+
127915
+
126166
127916
  /** Base Query type with placeholder field. Extended by individual query files. */
126167
127917
  export type QueryBuiListAssessmentsArgs = {
126168
127918
  courseId: Scalars['ID']['input'];
@@ -126171,6 +127921,13 @@ export type QueryBuiListAssessmentsArgs = {
126171
127921
  };
126172
127922
 
126173
127923
 
127924
+ /** Base Query type with placeholder field. Extended by individual query files. */
127925
+ export type QueryBuiListAtRiskEnrollmentsArgs = {
127926
+ cohortId: Scalars['ID']['input'];
127927
+ pagination?: InputMaybe<PaginationInput>;
127928
+ };
127929
+
127930
+
126174
127931
  /** Base Query type with placeholder field. Extended by individual query files. */
126175
127932
  export type QueryBuiListBadgeAwardsArgs = {
126176
127933
  badgeId?: InputMaybe<Scalars['ID']['input']>;
@@ -126422,6 +128179,13 @@ export type QueryBuiMySavedCoursesArgs = {
126422
128179
  };
126423
128180
 
126424
128181
 
128182
+ /** Base Query type with placeholder field. Extended by individual query files. */
128183
+ export type QueryBuiMyScormLaunchArgs = {
128184
+ enrollmentId: Scalars['ID']['input'];
128185
+ lessonId: Scalars['ID']['input'];
128186
+ };
128187
+
128188
+
126425
128189
  /** Base Query type with placeholder field. Extended by individual query files. */
126426
128190
  export type QueryBuiMySubmissionsArgs = {
126427
128191
  assessmentId?: InputMaybe<Scalars['ID']['input']>;
@@ -126450,6 +128214,18 @@ export type QueryBuiPreviewCourseImportArgs = {
126450
128214
  };
126451
128215
 
126452
128216
 
128217
+ /** Base Query type with placeholder field. Extended by individual query files. */
128218
+ export type QueryBuiPreviewGradebookImportArgs = {
128219
+ input: BuiGradebookImportInput;
128220
+ };
128221
+
128222
+
128223
+ /** Base Query type with placeholder field. Extended by individual query files. */
128224
+ export type QueryBuiPreviewRosterImportArgs = {
128225
+ input: BuiRosterImportInput;
128226
+ };
128227
+
128228
+
126453
128229
  /** Base Query type with placeholder field. Extended by individual query files. */
126454
128230
  export type QueryBuiProctoringIdentityFileArgs = {
126455
128231
  sessionId: Scalars['ID']['input'];
@@ -126477,6 +128253,12 @@ export type QueryBuiRecommendPathsArgs = {
126477
128253
  };
126478
128254
 
126479
128255
 
128256
+ /** Base Query type with placeholder field. Extended by individual query files. */
128257
+ export type QueryBuiScormPreviewLaunchArgs = {
128258
+ lessonId: Scalars['ID']['input'];
128259
+ };
128260
+
128261
+
126480
128262
  /** Base Query type with placeholder field. Extended by individual query files. */
126481
128263
  export type QueryBuiSubmissionArgs = {
126482
128264
  id: Scalars['ID']['input'];
@@ -126498,6 +128280,13 @@ export type QueryBuiSuggestSkillMappingsArgs = {
126498
128280
  };
126499
128281
 
126500
128282
 
128283
+ /** Base Query type with placeholder field. Extended by individual query files. */
128284
+ export type QueryBuiXapiStatementsArgs = {
128285
+ filter?: InputMaybe<BuiXapiStatementFilter>;
128286
+ pagination?: InputMaybe<PaginationInput>;
128287
+ };
128288
+
128289
+
126501
128290
  /** Base Query type with placeholder field. Extended by individual query files. */
126502
128291
  export type QueryBuildDashboardTemplateContentArgs = {
126503
128292
  dashboardId: Scalars['ID']['input'];
@@ -128390,6 +130179,13 @@ export type QueryDemandForecastByLaneArgs = {
128390
130179
  };
128391
130180
 
128392
130181
 
130182
+ /** Base Query type with placeholder field. Extended by individual query files. */
130183
+ export type QueryDemandForecastModelChoicesArgs = {
130184
+ limit?: InputMaybe<Scalars['Int']['input']>;
130185
+ scopeType: DemandForecastScope;
130186
+ };
130187
+
130188
+
128393
130189
  /** Base Query type with placeholder field. Extended by individual query files. */
128394
130190
  export type QueryDemandForecastVarianceArgs = {
128395
130191
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -134374,6 +136170,12 @@ export type QueryHokAdRevenueReportArgs = {
134374
136170
  };
134375
136171
 
134376
136172
 
136173
+ /** Base Query type with placeholder field. Extended by individual query files. */
136174
+ export type QueryHokAdTrackerDeliveriesArgs = {
136175
+ decisionId: Scalars['ID']['input'];
136176
+ };
136177
+
136178
+
134377
136179
  /** Base Query type with placeholder field. Extended by individual query files. */
134378
136180
  export type QueryHokCallSheetArgs = {
134379
136181
  shootDayId: Scalars['ID']['input'];
@@ -134530,6 +136332,7 @@ export type QueryHokListEpisodesArgs = {
134530
136332
  export type QueryHokListHlsPackagesArgs = {
134531
136333
  episodeId?: InputMaybe<Scalars['ID']['input']>;
134532
136334
  kind?: InputMaybe<HokHlsPackageKind>;
136335
+ rendition?: InputMaybe<Scalars['String']['input']>;
134533
136336
  titleId?: InputMaybe<Scalars['ID']['input']>;
134534
136337
  };
134535
136338
 
@@ -134739,6 +136542,14 @@ export type QueryHokMyOffersArgs = {
134739
136542
  };
134740
136543
 
134741
136544
 
136545
+ /** Base Query type with placeholder field. Extended by individual query files. */
136546
+ export type QueryHokMyOfflineLicensesArgs = {
136547
+ pagination?: InputMaybe<PaginationInput>;
136548
+ status?: InputMaybe<HokOfflineLicenseStatus>;
136549
+ titleId?: InputMaybe<Scalars['ID']['input']>;
136550
+ };
136551
+
136552
+
134742
136553
  /** Base Query type with placeholder field. Extended by individual query files. */
134743
136554
  export type QueryHokMyProfilesArgs = {
134744
136555
  pagination?: InputMaybe<PaginationInput>;
@@ -134765,6 +136576,12 @@ export type QueryHokNowPlayingArgs = {
134765
136576
  };
134766
136577
 
134767
136578
 
136579
+ /** Base Query type with placeholder field. Extended by individual query files. */
136580
+ export type QueryHokOfflineEligibilityArgs = {
136581
+ input: HokOfflineDownloadInput;
136582
+ };
136583
+
136584
+
134768
136585
  /** Base Query type with placeholder field. Extended by individual query files. */
134769
136586
  export type QueryHokOptimizeShootingScheduleArgs = {
134770
136587
  constraints?: InputMaybe<HokScheduleConstraints>;