@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.
@@ -12171,7 +12171,11 @@ export declare enum BuiAccessibilityTargetType {
12171
12171
  QUESTION = "QUESTION"
12172
12172
  }
12173
12173
  export declare enum BuiAdminCopilotActionKind {
12174
- /** 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). */
12174
+ /**
12175
+ * Turn on, adjust or turn off one of the ready-made L&D automations
12176
+ * (`buiAutomations`): overdue reminders, the onboarding path or
12177
+ * failed-assessment remediation (BOFF-9888).
12178
+ */
12175
12179
  CONFIGURE_AUTOMATION = "CONFIGURE_AUTOMATION",
12176
12180
  /** Enroll the learners of a course or cohort into another published course. */
12177
12181
  ENROLL_LEARNERS = "ENROLL_LEARNERS",
@@ -12209,7 +12213,12 @@ export type BuiAdminCopilotAnswer = {
12209
12213
  /** Proposals the model returned that failed validation and were dropped. */
12210
12214
  discardedActionCount: Scalars['Int']['output'];
12211
12215
  generatedAt: Scalars['DateTime']['output'];
12212
- /** 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. */
12216
+ /**
12217
+ * Actions the copilot proposed for this question (BOFF-9687), already
12218
+ * validated against the workspace and persisted as PROPOSED. Nothing has run:
12219
+ * each one waits for the admin to confirm it with the matching
12220
+ * `buiAdminCopilotExecute*Action` mutation or dismiss it.
12221
+ */
12213
12222
  proposedActions: Array<BuiAdminCopilotProposedAction>;
12214
12223
  };
12215
12224
  export type BuiAdminCopilotExecution = {
@@ -12244,7 +12253,11 @@ export type BuiAdminCopilotProposedAction = {
12244
12253
  createdBy: Scalars['ID']['output'];
12245
12254
  dismissedAt?: Maybe<Scalars['DateTime']['output']>;
12246
12255
  errorMessage?: Maybe<Scalars['String']['output']>;
12247
- /** The live workspace figure the proposal is grounded in, for example how many enrollments are overdue. CONFIGURE_AUTOMATION only; `affectedCount` holds the same number. */
12256
+ /**
12257
+ * The live workspace figure the proposal is grounded in, for example how many
12258
+ * enrollments are overdue. CONFIGURE_AUTOMATION only; `affectedCount` holds
12259
+ * the same number.
12260
+ */
12248
12261
  evidence?: Maybe<Scalars['String']['output']>;
12249
12262
  executedAt?: Maybe<Scalars['DateTime']['output']>;
12250
12263
  expiresAt: Scalars['DateTime']['output'];
@@ -12310,7 +12323,11 @@ export type BuiApplyAssessmentDraftInput = {
12310
12323
  type?: InputMaybe<BuiAssessmentType>;
12311
12324
  };
12312
12325
  export type BuiApplyCourseOutlineInput = {
12313
- /** 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. */
12326
+ /**
12327
+ * Optional block-list re-checked at apply time, merged with the workspace's
12328
+ * saved block-list: the course is not created if any title or description
12329
+ * still mentions one of these terms.
12330
+ */
12314
12331
  blockedTerms?: InputMaybe<Array<Scalars['String']['input']>>;
12315
12332
  level?: InputMaybe<BuiCourseLevel>;
12316
12333
  modules: Array<BuiCourseOutlineModuleInput>;
@@ -12320,7 +12337,11 @@ export type BuiApplyCourseOutlineInput = {
12320
12337
  };
12321
12338
  export type BuiAssessment = {
12322
12339
  __typename?: 'BuiAssessment';
12323
- /** 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. */
12340
+ /**
12341
+ * BOFF-9690: opt-in in-browser AI monitoring (camera face presence, multiple
12342
+ * faces, looking away, sustained speech) on top of the human-reviewed
12343
+ * proctoring gate. Only ever true when `requiresProctoring` is true.
12344
+ */
12324
12345
  aiProctoringEnabled: Scalars['Boolean']['output'];
12325
12346
  courseId: Scalars['ID']['output'];
12326
12347
  createdAt: Scalars['DateTime']['output'];
@@ -12332,7 +12353,11 @@ export type BuiAssessment = {
12332
12353
  questions: BuiQuestionConnection;
12333
12354
  /** BOFF-10563: repository provenance, including whether a newer version exists. */
12334
12355
  repositorySource?: Maybe<BuiRepositorySource>;
12335
- /** 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. */
12356
+ /**
12357
+ * BOFF-4431: when true, `buiSubmitAssessment` requires the submitting
12358
+ * learner to hold an APPROVED, unexpired `BuiProctoringSession` for this
12359
+ * assessment — set by an instructor for high-stakes exams.
12360
+ */
12336
12361
  requiresProctoring: Scalars['Boolean']['output'];
12337
12362
  /** BOFF-10563: Learning Object Repository object this assessment was cloned from or saved as. */
12338
12363
  sourceObjectId?: Maybe<Scalars['ID']['output']>;
@@ -12408,12 +12433,35 @@ export declare enum BuiAssessmentType {
12408
12433
  QUIZ = "QUIZ",
12409
12434
  SURVEY = "SURVEY"
12410
12435
  }
12411
- /** 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. */
12436
+ /**
12437
+ * The content controls the BotManor-hosted course assistant must apply to its
12438
+ * answers (BOFF-10027). BotManor reads this as a machine actor before each turn
12439
+ * runs and masks every term in streamed partials, the stored answer and the
12440
+ * canonical conversation history. Learners never read the list itself.
12441
+ */
12412
12442
  export type BuiAssistantContentControls = {
12413
12443
  __typename?: 'BuiAssistantContentControls';
12414
12444
  /** Normalised terms to mask in course assistant answers; empty when `applyToTutor` is off. */
12415
12445
  blockedTerms: Array<Scalars['String']['output']>;
12416
12446
  };
12447
+ /** One ACTIVE enrollment scored at or above the workspace's risk threshold. */
12448
+ export type BuiAtRiskEnrollment = {
12449
+ __typename?: 'BuiAtRiskEnrollment';
12450
+ enrollment: BuiEnrollment;
12451
+ /** Human-readable evidence sentence built from the signals. */
12452
+ rationale: Scalars['String']['output'];
12453
+ /** Weighted 0-100 score across the fired signals. */
12454
+ riskScore: Scalars['Int']['output'];
12455
+ /** The specific signals that produced the score. */
12456
+ signals: Array<BuiRiskSignal>;
12457
+ /** The decision engine's remediation recommendation, when one applies. */
12458
+ suggestedIntervention?: Maybe<BuiSuggestedIntervention>;
12459
+ };
12460
+ export type BuiAtRiskEnrollmentConnection = {
12461
+ __typename?: 'BuiAtRiskEnrollmentConnection';
12462
+ items: Array<BuiAtRiskEnrollment>;
12463
+ pageInfo: BuiPageInfo;
12464
+ };
12417
12465
  export type BuiAttachInteractivePackageInput = {
12418
12466
  /** wspace-files-svc id of the .h5p file, uploaded by the caller. */
12419
12467
  fileId: Scalars['ID']['input'];
@@ -12421,11 +12469,23 @@ export type BuiAttachInteractivePackageInput = {
12421
12469
  /** Pass mark (1-100). Defaults to the package's own pass mark, else 70. */
12422
12470
  passPct?: InputMaybe<Scalars['Int']['input']>;
12423
12471
  };
12424
- /** 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). */
12472
+ export type BuiAttachScormPackageInput = {
12473
+ /** wspace-files-svc id of the SCORM ZIP, uploaded by the caller. */
12474
+ fileId: Scalars['ID']['input'];
12475
+ lessonId: Scalars['ID']['input'];
12476
+ };
12477
+ /**
12478
+ * One automation template and its state in this workspace. Every template is
12479
+ * listed whether or not it has been configured (`id` is null until it has).
12480
+ */
12425
12481
  export type BuiAutomation = {
12426
12482
  __typename?: 'BuiAutomation';
12427
12483
  actionDescription: Scalars['String']['output'];
12428
- /** Template settings. OVERDUE_REMINDER: { cronExpression, timezone, graceDays, escalateAfterDays }. ONBOARDING_PATH: { courseIds, dueInDays }. ASSESSMENT_REMEDIATION: { remediationCourseId, assessmentIds, dueInDays }. */
12484
+ /**
12485
+ * Template settings. OVERDUE_REMINDER: { cronExpression, timezone, graceDays,
12486
+ * escalateAfterDays }. ONBOARDING_PATH: { courseIds, dueInDays }.
12487
+ * ASSESSMENT_REMEDIATION: { remediationCourseId, assessmentIds, dueInDays }.
12488
+ */
12429
12489
  config: Scalars['JSON']['output'];
12430
12490
  defaultConfig: Scalars['JSON']['output'];
12431
12491
  description: Scalars['String']['output'];
@@ -12615,11 +12675,17 @@ export type BuiCertificate = {
12615
12675
  id: Scalars['ID']['output'];
12616
12676
  issuedAt: Scalars['DateTime']['output'];
12617
12677
  learnerId: Scalars['ID']['output'];
12618
- /** Optional display name shown on the public verification page — only populated when the issuer explicitly opted in at issuance time. */
12678
+ /**
12679
+ * Optional display name shown on the public verification page — only
12680
+ * populated when the issuer explicitly opted in at issuance time.
12681
+ */
12619
12682
  recipientNameSnapshot?: Maybe<Scalars['String']['output']>;
12620
12683
  revokedAt?: Maybe<Scalars['DateTime']['output']>;
12621
12684
  serial: Scalars['String']['output'];
12622
- /** BOFF-3134: the product this certificate was mirrored from. Null for certificates issued natively in Buildmyiq. */
12685
+ /**
12686
+ * BOFF-3134: the product this certificate was mirrored from. Null for
12687
+ * certificates issued natively in Buildmyiq.
12688
+ */
12623
12689
  source?: Maybe<BuiExternalSource>;
12624
12690
  /** BOFF-3134: the source product's own id for this certificate (opaque). */
12625
12691
  sourceId?: Maybe<Scalars['ID']['output']>;
@@ -12629,7 +12695,11 @@ export type BuiCertificate = {
12629
12695
  /** Why Technospam revoked the certificate, when it did. */
12630
12696
  technospamRevokeReason?: Maybe<Scalars['String']['output']>;
12631
12697
  updatedAt: Scalars['DateTime']['output'];
12632
- /** 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. */
12698
+ /**
12699
+ * BOFF-4431: opaque code for the PUBLIC, unauthenticated verification page
12700
+ * (`/verify/buildmyiq/{verificationCode}`) — share this, not the internal id.
12701
+ * Null for certificates issued before this field existed.
12702
+ */
12633
12703
  verificationCode?: Maybe<Scalars['String']['output']>;
12634
12704
  workspaceId: Scalars['ID']['output'];
12635
12705
  };
@@ -12653,7 +12723,10 @@ export type BuiCertificateVerification = {
12653
12723
  issuedAt?: Maybe<Scalars['DateTime']['output']>;
12654
12724
  recipientNameSnapshot?: Maybe<Scalars['String']['output']>;
12655
12725
  serial?: Maybe<Scalars['String']['output']>;
12656
- /** True when the stored HMAC signature matches the certificate's core facts — i.e. the record has not been tampered with since issuance. */
12726
+ /**
12727
+ * True when the stored HMAC signature matches the certificate's core facts
12728
+ * — i.e. the record has not been tampered with since issuance.
12729
+ */
12657
12730
  signatureValid?: Maybe<Scalars['Boolean']['output']>;
12658
12731
  status?: Maybe<BuiCertificateStatus>;
12659
12732
  };
@@ -12733,12 +12806,47 @@ export declare enum BuiCohortStatus {
12733
12806
  ENROLLING = "ENROLLING",
12734
12807
  SCHEDULED = "SCHEDULED"
12735
12808
  }
12809
+ export type BuiCommitScormRuntimeInput = {
12810
+ enrollmentId: Scalars['ID']['input'];
12811
+ /** Identifier of the item (SCO) the values belong to. */
12812
+ itemIdentifier: Scalars['ID']['input'];
12813
+ lessonId: Scalars['ID']['input'];
12814
+ /** Player-generated id of this launch session (8-64 letters, digits or dashes). */
12815
+ sessionId: Scalars['ID']['input'];
12816
+ /** True for the commit made when the SCO terminates (LMSFinish / Terminate). */
12817
+ terminate?: InputMaybe<Scalars['Boolean']['input']>;
12818
+ /** Data model values the SCO set since the last commit. */
12819
+ values: Array<BuiScormValueInput>;
12820
+ };
12736
12821
  export type BuiConfigureAutomationInput = {
12737
12822
  /** Template settings; omitted keeps the saved settings (or the defaults). */
12738
12823
  config?: InputMaybe<Scalars['JSON']['input']>;
12739
12824
  enabled: Scalars['Boolean']['input'];
12740
12825
  template: BuiAutomationTemplate;
12741
12826
  };
12827
+ export type BuiConfigureEarlyWarningInput = {
12828
+ /** Five-field cron for the nightly sweep (default 06:30 UTC). */
12829
+ cronExpression?: InputMaybe<Scalars['String']['input']>;
12830
+ /** Send the educator digest when a sweep flags at least one learner (default true). */
12831
+ digestEnabled?: InputMaybe<Scalars['Boolean']['input']>;
12832
+ enabled: Scalars['Boolean']['input'];
12833
+ /** Upper bound on flagged events/notifications one sweep may raise (default 50). */
12834
+ maxFlagsPerSweep?: InputMaybe<Scalars['Int']['input']>;
12835
+ /** Flag enrollments at or above this score (0-100, default 60). */
12836
+ riskThreshold?: InputMaybe<Scalars['Int']['input']>;
12837
+ /** IANA timezone the cron expression is read in. */
12838
+ timezone?: InputMaybe<Scalars['String']['input']>;
12839
+ };
12840
+ export type BuiConfigureXapiLrsInput = {
12841
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
12842
+ /** xAPI base endpoint (https). */
12843
+ endpoint: Scalars['String']['input'];
12844
+ /** Required the first time; leave empty to keep the saved password. */
12845
+ password?: InputMaybe<Scalars['String']['input']>;
12846
+ /** Also queue statements recorded while no LRS was enabled. */
12847
+ queueStoredStatements?: InputMaybe<Scalars['Boolean']['input']>;
12848
+ username: Scalars['String']['input'];
12849
+ };
12742
12850
  export type BuiCourse = {
12743
12851
  __typename?: 'BuiCourse';
12744
12852
  /** Reference to a wspace-files-svc File for the cover image (blobs live there). */
@@ -12757,7 +12865,10 @@ export type BuiCourse = {
12757
12865
  skill?: Maybe<BuiSkill>;
12758
12866
  skillId?: Maybe<Scalars['ID']['output']>;
12759
12867
  slug: Scalars['String']['output'];
12760
- /** BOFF-3134: the product this course was mirrored from. Null for courses authored natively in Buildmyiq. */
12868
+ /**
12869
+ * BOFF-3134: the product this course was mirrored from. Null for courses
12870
+ * authored natively in Buildmyiq.
12871
+ */
12761
12872
  source?: Maybe<BuiExternalSource>;
12762
12873
  /** BOFF-3134: the source product's own id for this course (opaque). */
12763
12874
  sourceId?: Maybe<Scalars['ID']['output']>;
@@ -12913,7 +13024,9 @@ export type BuiCourseConnection = {
12913
13024
  /** Formats a course can be exported in. */
12914
13025
  export declare enum BuiCourseExportFormat {
12915
13026
  BUILDMYIQ_JSON = "BUILDMYIQ_JSON",
12916
- COMMON_CARTRIDGE = "COMMON_CARTRIDGE"
13027
+ COMMON_CARTRIDGE = "COMMON_CARTRIDGE",
13028
+ /** SCORM 1.2 package: lesson pages and self-scored quizzes for any SCORM LMS. */
13029
+ SCORM_12 = "SCORM_12"
12917
13030
  }
12918
13031
  /** What an import would create, computed without writing anything. */
12919
13032
  export type BuiCourseImportPreview = {
@@ -13143,7 +13256,12 @@ export type BuiCreateSkillInput = {
13143
13256
  socCodes?: InputMaybe<Array<Scalars['String']['input']>>;
13144
13257
  taxonomyMetadata?: InputMaybe<Scalars['JSON']['input']>;
13145
13258
  };
13146
- /** 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. */
13259
+ /**
13260
+ * One AI-proposed score for a single rubric criterion on a question
13261
+ * (BOFF-4429). Only present for questions whose instructor attached a
13262
+ * `BuiRubricCriterion` rubric — a suggestion the educator reviews
13263
+ * criterion-by-criterion, never auto-applied.
13264
+ */
13147
13265
  export type BuiCriterionScore = {
13148
13266
  __typename?: 'BuiCriterionScore';
13149
13267
  /** Optional one-sentence rationale for this criterion's score. */
@@ -13168,6 +13286,69 @@ export type BuiDemoContentResult = {
13168
13286
  questionCount: Scalars['Int']['output'];
13169
13287
  skillId?: Maybe<Scalars['ID']['output']>;
13170
13288
  };
13289
+ /** The workspace's early-warning opt-in and settings. OFF until an admin enables it. */
13290
+ export type BuiEarlyWarning = {
13291
+ __typename?: 'BuiEarlyWarning';
13292
+ cronExpression: Scalars['String']['output'];
13293
+ /** Send the educator digest when a sweep flags at least one learner. */
13294
+ digestEnabled: Scalars['Boolean']['output'];
13295
+ enabled: Scalars['Boolean']['output'];
13296
+ lastError?: Maybe<Scalars['String']['output']>;
13297
+ lastRunAt?: Maybe<Scalars['DateTime']['output']>;
13298
+ lastRunStatus?: Maybe<BuiEarlyWarningRunStatus>;
13299
+ /** Upper bound on flagged events/notifications one sweep may raise. */
13300
+ maxFlagsPerSweep: Scalars['Int']['output'];
13301
+ /** Flag enrollments at or above this score (0-100). */
13302
+ riskThreshold: Scalars['Int']['output'];
13303
+ timezone: Scalars['String']['output'];
13304
+ updatedAt?: Maybe<Scalars['DateTime']['output']>;
13305
+ workflowDefinitionId?: Maybe<Scalars['ID']['output']>;
13306
+ /** FluidGrids workflow holding the schedule; open it in the builder at /workflows/workflow/{workflowKey}/{workflowVersion}. */
13307
+ workflowKey?: Maybe<Scalars['String']['output']>;
13308
+ workflowVersion?: Maybe<Scalars['String']['output']>;
13309
+ };
13310
+ /** One early-warning invocation (INTERIM product-local run ledger — swapped for the shared BOFF-3601 AgentRun ledger when it ships). */
13311
+ export type BuiEarlyWarningRun = {
13312
+ __typename?: 'BuiEarlyWarningRun';
13313
+ cohortsExamined: Scalars['Int']['output'];
13314
+ completedAt?: Maybe<Scalars['DateTime']['output']>;
13315
+ /** Model spend for the invocation; the deterministic sweep costs 0 until it routes inference through the shared gateway. */
13316
+ costUsd: Scalars['Float']['output'];
13317
+ createdAt: Scalars['DateTime']['output'];
13318
+ enrollmentsExamined: Scalars['Int']['output'];
13319
+ /** SKIPPED reason or failure message. */
13320
+ error?: Maybe<Scalars['String']['output']>;
13321
+ flagsRaised: Scalars['Int']['output'];
13322
+ id: Scalars['ID']['output'];
13323
+ startedAt: Scalars['DateTime']['output'];
13324
+ status: BuiEarlyWarningRunStatus;
13325
+ /** Free-form counts/diagnostics (flag histogram, skips). */
13326
+ summary?: Maybe<Scalars['JSON']['output']>;
13327
+ trigger: BuiEarlyWarningTrigger;
13328
+ };
13329
+ export type BuiEarlyWarningRunConnection = {
13330
+ __typename?: 'BuiEarlyWarningRunConnection';
13331
+ items: Array<BuiEarlyWarningRun>;
13332
+ pageInfo: BuiPageInfo;
13333
+ };
13334
+ export declare enum BuiEarlyWarningRunStatus {
13335
+ /** The sweep threw. */
13336
+ FAILED = "FAILED",
13337
+ /** The sweep is executing. */
13338
+ RUNNING = "RUNNING",
13339
+ /** The workspace was skipped (quota exhausted) with a logged reason. */
13340
+ SKIPPED = "SKIPPED",
13341
+ /** The sweep finished; the run row carries the counts. */
13342
+ SUCCEEDED = "SUCCEEDED"
13343
+ }
13344
+ export declare enum BuiEarlyWarningTrigger {
13345
+ /** Reserved for future event-driven rescoring. */
13346
+ EVENT = "EVENT",
13347
+ /** An admin pressed Run now (buiRunEarlyWarningSweep). */
13348
+ MANUAL = "MANUAL",
13349
+ /** The FluidGrids schedule fired the workspace's workflow. */
13350
+ SCHEDULED = "SCHEDULED"
13351
+ }
13171
13352
  export type BuiEnrollInput = {
13172
13353
  cohortId?: InputMaybe<Scalars['ID']['input']>;
13173
13354
  courseId: Scalars['ID']['input'];
@@ -13183,7 +13364,11 @@ export type BuiEnrollment = {
13183
13364
  completedAt?: Maybe<Scalars['DateTime']['output']>;
13184
13365
  courseId: Scalars['ID']['output'];
13185
13366
  createdAt: Scalars['DateTime']['output'];
13186
- /** 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. */
13367
+ /**
13368
+ * BOFF-9688: when the learner is expected to finish. Unlike `expiresAt` (end
13369
+ * of access) a passed due date keeps the course open and makes the enrollment
13370
+ * overdue for the overdue-reminder automation.
13371
+ */
13187
13372
  dueAt?: Maybe<Scalars['DateTime']['output']>;
13188
13373
  enrolledAt: Scalars['DateTime']['output'];
13189
13374
  expiresAt?: Maybe<Scalars['DateTime']['output']>;
@@ -13196,7 +13381,10 @@ export type BuiEnrollment = {
13196
13381
  /** Last time the overdue-reminder automation reminded the learner. */
13197
13382
  overdueRemindedAt?: Maybe<Scalars['DateTime']['output']>;
13198
13383
  progressPct: Scalars['Int']['output'];
13199
- /** BOFF-3134: the product this enrollment was mirrored from. Null for native Buildmyiq enrollments. */
13384
+ /**
13385
+ * BOFF-3134: the product this enrollment was mirrored from. Null for native
13386
+ * Buildmyiq enrollments.
13387
+ */
13200
13388
  source?: Maybe<BuiExternalSource>;
13201
13389
  /** BOFF-3134: the source product's own id for this enrollment (opaque). */
13202
13390
  sourceId?: Maybe<Scalars['ID']['output']>;
@@ -13248,7 +13436,12 @@ export type BuiExternalCatalogItem = {
13248
13436
  thumbnailUrl?: Maybe<Scalars['String']['output']>;
13249
13437
  title: Scalars['String']['output'];
13250
13438
  };
13251
- /** 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. */
13439
+ /**
13440
+ * BOFF-3134: a product that mirrors its learning records into the canonical
13441
+ * Buildmyiq LMS. Buildmyiq is the system of record for courses, enrollments and
13442
+ * certificates; a product that still authors them locally syncs each record here
13443
+ * through the service-only buiSyncExternal* mutations, keyed by its own id.
13444
+ */
13252
13445
  export declare enum BuiExternalSource {
13253
13446
  TECHNOSPAM = "TECHNOSPAM"
13254
13447
  }
@@ -13260,7 +13453,12 @@ export declare enum BuiExternalSyncKind {
13260
13453
  LESSON = "LESSON",
13261
13454
  LESSON_PROGRESS = "LESSON_PROGRESS"
13262
13455
  }
13263
- /** 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. */
13456
+ /**
13457
+ * BOFF-10480: the comparable canonical state of one mirrored record, returned
13458
+ * to the source product so it can report (and re-sync) any record whose
13459
+ * canonical copy drifted. Fields that do not apply to the requested kind are
13460
+ * null. `status` carries the kind's own enum value as text.
13461
+ */
13264
13462
  export type BuiExternalSyncRecord = {
13265
13463
  __typename?: 'BuiExternalSyncRecord';
13266
13464
  /** The canonical row's id in Buildmyiq. */
@@ -13283,7 +13481,10 @@ export type BuiExternalSyncRecord = {
13283
13481
  /** Course level (COURSE) or lesson type (LESSON). */
13284
13482
  variant?: Maybe<Scalars['String']['output']>;
13285
13483
  };
13286
- /** BOFF-10480: one source product's batch of record ids to compare against the canonical LMS. At most 200 ids per call. */
13484
+ /**
13485
+ * BOFF-10480: one source product's batch of record ids to compare against the
13486
+ * canonical LMS. At most 200 ids per call.
13487
+ */
13287
13488
  export type BuiExternalSyncRecordsInput = {
13288
13489
  kind: BuiExternalSyncKind;
13289
13490
  source: BuiExternalSource;
@@ -13301,14 +13502,99 @@ export type BuiGradeSuggestion = {
13301
13502
  id: Scalars['ID']['output'];
13302
13503
  inputRefs: Array<Scalars['ID']['output']>;
13303
13504
  outcome: BuiAiSuggestionOutcome;
13304
- /** 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`. */
13505
+ /**
13506
+ * Per-question rationale, one entry per OPEN-ENDED (SHORT_ANSWER / ESSAY /
13507
+ * CODE) question on the assessment — objective questions are not included
13508
+ * here since their correctness is already fully explained by
13509
+ * `buiAutoScoreSubmission`.
13510
+ */
13305
13511
  perQuestionFeedback: Array<BuiQuestionFeedback>;
13306
- /** 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`. */
13512
+ /**
13513
+ * Proposed overall score (0-100) across the WHOLE submission — objective
13514
+ * questions scored deterministically (answerKey comparison, same logic as
13515
+ * `buiAutoScoreSubmission`), open-ended questions scored per the AI's
13516
+ * proposal in `perQuestionFeedback`.
13517
+ */
13307
13518
  proposedScore: Scalars['Float']['output'];
13308
- /** Ids of the open-ended questions whose server-side `explanation` field (rubric guidance) grounded this suggestion. */
13519
+ /**
13520
+ * Ids of the open-ended questions whose server-side `explanation` field
13521
+ * (rubric guidance) grounded this suggestion.
13522
+ */
13309
13523
  rubricRefs: Array<Scalars['ID']['output']>;
13310
13524
  submissionId: Scalars['ID']['output'];
13311
13525
  };
13526
+ /** How a gradebook column maps to an assessment of the course. */
13527
+ export type BuiGradebookColumn = {
13528
+ __typename?: 'BuiGradebookColumn';
13529
+ assessmentId?: Maybe<Scalars['ID']['output']>;
13530
+ assessmentTitle?: Maybe<Scalars['String']['output']>;
13531
+ /** Header as written in the file (the key for column mappings). */
13532
+ column: Scalars['String']['output'];
13533
+ /** Grades in this column that are imported. */
13534
+ gradeCount: Scalars['Int']['output'];
13535
+ /** MAPPING (chosen) or TITLE; null when the column is not imported. */
13536
+ matchedBy?: Maybe<Scalars['String']['output']>;
13537
+ /** Maximum points used to convert points to a percentage. */
13538
+ pointsPossible?: Maybe<Scalars['Float']['output']>;
13539
+ /** POINTS or PERCENT. */
13540
+ scale: Scalars['String']['output'];
13541
+ title: Scalars['String']['output'];
13542
+ };
13543
+ export type BuiGradebookColumnMappingInput = {
13544
+ /** Assessment of the course to import the column into; null skips the column. */
13545
+ assessmentId?: InputMaybe<Scalars['ID']['input']>;
13546
+ /** Column header as written in the file. */
13547
+ column: Scalars['String']['input'];
13548
+ /** Maximum points, when the file does not say (e.g. Moodle 'Real' columns). */
13549
+ pointsPossible?: InputMaybe<Scalars['Float']['input']>;
13550
+ };
13551
+ export type BuiGradebookImportInput = {
13552
+ /** Overrides the automatic title matching of columns to assessments. */
13553
+ columnMappings?: InputMaybe<Array<BuiGradebookColumnMappingInput>>;
13554
+ /** Course whose assessments receive the grades. */
13555
+ courseId: Scalars['ID']['input'];
13556
+ /** wspace-files-svc id of the uploaded gradebook CSV. */
13557
+ fileId: Scalars['ID']['input'];
13558
+ /** Detected from the header when omitted. */
13559
+ sourceSystem?: InputMaybe<BuiLmsSystem>;
13560
+ };
13561
+ /** What a gradebook import would do, computed without writing anything. */
13562
+ export type BuiGradebookImportPreview = {
13563
+ __typename?: 'BuiGradebookImportPreview';
13564
+ canImport: Scalars['Boolean']['output'];
13565
+ columns: Array<BuiGradebookColumn>;
13566
+ courseId: Scalars['ID']['output'];
13567
+ courseTitle: Scalars['String']['output'];
13568
+ fileName: Scalars['String']['output'];
13569
+ /** Grades in mapped columns for resolved, enrolled learners. */
13570
+ gradeCount: Scalars['Int']['output'];
13571
+ issues: Array<BuiMigrationIssue>;
13572
+ missingLearnerEmails: Array<Scalars['String']['output']>;
13573
+ newGradeCount: Scalars['Int']['output'];
13574
+ /** Learner rows with at least one grade to import. */
13575
+ readyCount: Scalars['Int']['output'];
13576
+ /** The first 500 rows. */
13577
+ rows: Array<BuiImportRow>;
13578
+ rowsTruncated: Scalars['Boolean']['output'];
13579
+ sourceSystem: BuiLmsSystem;
13580
+ statusCounts: Array<BuiImportRowCount>;
13581
+ totalRows: Scalars['Int']['output'];
13582
+ unchangedGradeCount: Scalars['Int']['output'];
13583
+ /** Grades a previous import wrote that change. */
13584
+ updatedGradeCount: Scalars['Int']['output'];
13585
+ };
13586
+ export type BuiGradebookImportResult = {
13587
+ __typename?: 'BuiGradebookImportResult';
13588
+ createdCount: Scalars['Int']['output'];
13589
+ job: BuiMigrationJob;
13590
+ missingLearnerEmails: Array<Scalars['String']['output']>;
13591
+ /** The first 500 rows that were not imported, with the reason. */
13592
+ rows: Array<BuiImportRow>;
13593
+ rowsTruncated: Scalars['Boolean']['output'];
13594
+ statusCounts: Array<BuiImportRowCount>;
13595
+ unchangedCount: Scalars['Int']['output'];
13596
+ updatedCount: Scalars['Int']['output'];
13597
+ };
13312
13598
  export type BuiImportCourseInput = {
13313
13599
  /** wspace-files-svc id of the uploaded package (uploaded by the caller). */
13314
13600
  fileId: Scalars['ID']['input'];
@@ -13316,6 +13602,48 @@ export type BuiImportCourseInput = {
13316
13602
  /** Course title; defaults to the title in the package. */
13317
13603
  title?: InputMaybe<Scalars['String']['input']>;
13318
13604
  };
13605
+ export type BuiImportRow = {
13606
+ __typename?: 'BuiImportRow';
13607
+ courseId?: Maybe<Scalars['ID']['output']>;
13608
+ /** Grades in the row that are imported (gradebook). */
13609
+ gradeCount: Scalars['Int']['output'];
13610
+ /** How the file names the learner (e-mail, login or SIS id). */
13611
+ learner: Scalars['String']['output'];
13612
+ /** Workspace member the row resolved to. */
13613
+ learnerId?: Maybe<Scalars['ID']['output']>;
13614
+ /** Line of the row in the file. */
13615
+ line: Scalars['Int']['output'];
13616
+ message?: Maybe<Scalars['String']['output']>;
13617
+ /** LMS course identifier (roster). */
13618
+ sourceCourse?: Maybe<Scalars['String']['output']>;
13619
+ status: BuiImportRowStatus;
13620
+ };
13621
+ export type BuiImportRowCount = {
13622
+ __typename?: 'BuiImportRowCount';
13623
+ count: Scalars['Int']['output'];
13624
+ status: BuiImportRowStatus;
13625
+ };
13626
+ /** What an import does with one row of the file. */
13627
+ export declare enum BuiImportRowStatus {
13628
+ ALREADY_ENROLLED = "ALREADY_ENROLLED",
13629
+ /** The row's LMS course is not mapped to a BuildMyIQ course. */
13630
+ COURSE_NOT_MAPPED = "COURSE_NOT_MAPPED",
13631
+ DUPLICATE = "DUPLICATE",
13632
+ /** Deleted, inactive or suspended in the source LMS. */
13633
+ INACTIVE = "INACTIVE",
13634
+ /** The row could not be read. */
13635
+ INVALID = "INVALID",
13636
+ /** Not a member of this workspace (invite them, then re-run). */
13637
+ LEARNER_NOT_FOUND = "LEARNER_NOT_FOUND",
13638
+ /** An instructor, TA or other non-learner role. */
13639
+ NOT_A_LEARNER = "NOT_A_LEARNER",
13640
+ /** A member who is not enrolled in the course (gradebook). */
13641
+ NOT_ENROLLED = "NOT_ENROLLED",
13642
+ /** No grade in any imported column (gradebook). */
13643
+ NO_GRADES = "NO_GRADES",
13644
+ /** Will be (or was) enrolled or graded. */
13645
+ READY = "READY"
13646
+ }
13319
13647
  export type BuiInsertLearningObjectInput = {
13320
13648
  courseId: Scalars['ID']['input'];
13321
13649
  learningObjectId: Scalars['ID']['input'];
@@ -13339,6 +13667,8 @@ export type BuiInsertLearningObjectResult = {
13339
13667
  /** The activity of a lesson as the editor loads it. Contains the answer key, so it is for authors only. */
13340
13668
  export type BuiInteractiveActivityDraft = {
13341
13669
  __typename?: 'BuiInteractiveActivityDraft';
13670
+ /** 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. */
13671
+ editable: Scalars['Boolean']['output'];
13342
13672
  editedAt?: Maybe<Scalars['DateTime']['output']>;
13343
13673
  items: Array<BuiInteractiveDraftItem>;
13344
13674
  lessonId: Scalars['ID']['output'];
@@ -13390,6 +13720,25 @@ export type BuiInteractiveBlankTip = {
13390
13720
  blankId: Scalars['ID']['output'];
13391
13721
  tip: Scalars['String']['output'];
13392
13722
  };
13723
+ /** Part of a slide or a video interaction. */
13724
+ export type BuiInteractiveBlock = {
13725
+ __typename?: 'BuiInteractiveBlock';
13726
+ /** IMAGE: alternative text. */
13727
+ alt?: Maybe<Scalars['String']['output']>;
13728
+ /** IMAGE: short-lived signed URL (null when the image is unavailable). */
13729
+ imageUrl?: Maybe<Scalars['String']['output']>;
13730
+ /** ITEM: id of the item in the player's items. */
13731
+ itemId?: Maybe<Scalars['ID']['output']>;
13732
+ /** TEXT: plain text. */
13733
+ text?: Maybe<Scalars['String']['output']>;
13734
+ type: BuiInteractiveBlockType;
13735
+ };
13736
+ export declare enum BuiInteractiveBlockType {
13737
+ IMAGE = "IMAGE",
13738
+ /** A reference to one of the player's items by id. */
13739
+ ITEM = "ITEM",
13740
+ TEXT = "TEXT"
13741
+ }
13393
13742
  export type BuiInteractiveChoice = {
13394
13743
  __typename?: 'BuiInteractiveChoice';
13395
13744
  id: Scalars['ID']['output'];
@@ -13420,6 +13769,21 @@ export type BuiInteractiveDraftItem = {
13420
13769
  /** Fill in the blanks: lines with blanks written *answer*, alternatives split by / and a tip after :. */
13421
13770
  text: Scalars['String']['output'];
13422
13771
  };
13772
+ /** An element to place in a drag and drop item. */
13773
+ export type BuiInteractiveDraggable = {
13774
+ __typename?: 'BuiInteractiveDraggable';
13775
+ id: Scalars['ID']['output'];
13776
+ /** Short-lived signed URL of the draggable's image; null for a text draggable. */
13777
+ imageUrl?: Maybe<Scalars['String']['output']>;
13778
+ /** Text of a text draggable, or the alternative text of an image draggable. */
13779
+ text: Scalars['String']['output'];
13780
+ };
13781
+ /** A zone draggables can be dropped in. Which draggables belong where is never sent. */
13782
+ export type BuiInteractiveDropZone = {
13783
+ __typename?: 'BuiInteractiveDropZone';
13784
+ id: Scalars['ID']['output'];
13785
+ label: Scalars['String']['output'];
13786
+ };
13423
13787
  /** An activity exported as a portable .h5p package (h5p.json + content/content.json). */
13424
13788
  export type BuiInteractiveExport = {
13425
13789
  __typename?: 'BuiInteractiveExport';
@@ -13431,8 +13795,14 @@ export type BuiInteractiveExport = {
13431
13795
  /** One question as the player shows it. Never includes the answer key. */
13432
13796
  export type BuiInteractiveItem = {
13433
13797
  __typename?: 'BuiInteractiveItem';
13798
+ /** Drag and drop: short-lived signed URL of the background image, if any. */
13799
+ backgroundUrl?: Maybe<Scalars['String']['output']>;
13434
13800
  blankTips: Array<BuiInteractiveBlankTip>;
13435
13801
  choices: Array<BuiInteractiveChoice>;
13802
+ /** Drag and drop: the elements to place. */
13803
+ draggables: Array<BuiInteractiveDraggable>;
13804
+ /** Drag and drop: the zones to place them in. */
13805
+ dropZones: Array<BuiInteractiveDropZone>;
13436
13806
  id: Scalars['ID']['output'];
13437
13807
  kind: BuiInteractiveItemKind;
13438
13808
  maxScore: Scalars['Int']['output'];
@@ -13461,6 +13831,8 @@ export type BuiInteractiveItemDraftInput = {
13461
13831
  text?: InputMaybe<Scalars['String']['input']>;
13462
13832
  };
13463
13833
  export declare enum BuiInteractiveItemKind {
13834
+ /** Drag and Drop (H5P.DragQuestion): place draggables in drop zones. Import-only; the editor does not build it. */
13835
+ DRAG_AND_DROP = "DRAG_AND_DROP",
13464
13836
  FILL_IN_BLANKS = "FILL_IN_BLANKS",
13465
13837
  MULTIPLE_CHOICE = "MULTIPLE_CHOICE",
13466
13838
  TRUE_FALSE = "TRUE_FALSE"
@@ -13471,8 +13843,24 @@ export type BuiInteractiveItemResult = {
13471
13843
  correct: Scalars['Boolean']['output'];
13472
13844
  itemId: Scalars['ID']['output'];
13473
13845
  maxScore: Scalars['Int']['output'];
13846
+ /** Drag and drop: whether each placed draggable is in a correct zone. */
13847
+ placements: Array<BuiInteractivePlacementResult>;
13474
13848
  score: Scalars['Int']['output'];
13475
13849
  };
13850
+ /** Slides of a Course Presentation or the video of an Interactive Video. Questions are referenced by item id. */
13851
+ export type BuiInteractiveLayout = {
13852
+ __typename?: 'BuiInteractiveLayout';
13853
+ kind: BuiInteractiveLayoutKind;
13854
+ slides: Array<BuiInteractiveSlide>;
13855
+ title: Scalars['String']['output'];
13856
+ video?: Maybe<BuiInteractiveVideo>;
13857
+ };
13858
+ export declare enum BuiInteractiveLayoutKind {
13859
+ /** Course Presentation: a sequence of slides. */
13860
+ SLIDES = "SLIDES",
13861
+ /** Interactive Video: a video with timed interactions. */
13862
+ VIDEO = "VIDEO"
13863
+ }
13476
13864
  /** An H5P-compatible activity attached to an INTERACTIVE lesson (authoring view). */
13477
13865
  export type BuiInteractivePackage = {
13478
13866
  __typename?: 'BuiInteractivePackage';
@@ -13484,6 +13872,8 @@ export type BuiInteractivePackage = {
13484
13872
  /** Main library version, e.g. 1.16. */
13485
13873
  contentTypeVersion: Scalars['String']['output'];
13486
13874
  createdAt: Scalars['DateTime']['output'];
13875
+ /** False for Drag and Drop, Course Presentation and Interactive Video activities: the in-browser editor and .h5p export do not cover them. */
13876
+ editable: Scalars['Boolean']['output'];
13487
13877
  /** Last in-browser edit of the questions. Null for an unedited package. */
13488
13878
  editedAt?: Maybe<Scalars['DateTime']['output']>;
13489
13879
  /**
@@ -13502,6 +13892,8 @@ export type BuiInteractivePackage = {
13502
13892
  /** Declared library dependencies, e.g. H5P.Question 1.5. They are recorded, never loaded. */
13503
13893
  libraries: Array<Scalars['String']['output']>;
13504
13894
  maxScore: Scalars['Int']['output'];
13895
+ /** Packaged images and videos copied to wspace-files-svc for the player. */
13896
+ mediaCount: Scalars['Int']['output'];
13505
13897
  /** Percentage an attempt needs to pass and complete the lesson. */
13506
13898
  passPct: Scalars['Int']['output'];
13507
13899
  /** Where the activity came from: an uploaded package or the in-browser editor. */
@@ -13516,11 +13908,22 @@ export type BuiInteractivePackage = {
13516
13908
  validationStatus: BuiInteractiveValidationStatus;
13517
13909
  warnings: Array<BuiInteractiveWarning>;
13518
13910
  };
13911
+ export type BuiInteractivePlacementInput = {
13912
+ draggableId: Scalars['ID']['input'];
13913
+ zoneId: Scalars['ID']['input'];
13914
+ };
13915
+ export type BuiInteractivePlacementResult = {
13916
+ __typename?: 'BuiInteractivePlacementResult';
13917
+ correct: Scalars['Boolean']['output'];
13918
+ draggableId: Scalars['ID']['output'];
13919
+ };
13519
13920
  export type BuiInteractivePlayerConfig = {
13520
13921
  __typename?: 'BuiInteractivePlayerConfig';
13521
13922
  contentType: Scalars['String']['output'];
13522
13923
  contentTypeLabel: Scalars['String']['output'];
13523
13924
  items: Array<BuiInteractiveItem>;
13925
+ /** Slides or video timeline; null for a plain quiz. A layout without items is completed by submitting an empty attempt at the end. */
13926
+ layout?: Maybe<BuiInteractiveLayout>;
13524
13927
  lessonId: Scalars['ID']['output'];
13525
13928
  maxScore: Scalars['Int']['output'];
13526
13929
  packageId: Scalars['ID']['output'];
@@ -13535,6 +13938,8 @@ export type BuiInteractiveResponseInput = {
13535
13938
  /** Multiple choice: the chosen choice ids. */
13536
13939
  choiceIds?: InputMaybe<Array<Scalars['ID']['input']>>;
13537
13940
  itemId: Scalars['ID']['input'];
13941
+ /** Drag and drop: the zone each placed draggable was dropped in (each draggable at most once). */
13942
+ placements?: InputMaybe<Array<BuiInteractivePlacementInput>>;
13538
13943
  };
13539
13944
  /** Part of a fill-in-the-blanks text: either literal text or a blank to fill. */
13540
13945
  export type BuiInteractiveSegment = {
@@ -13542,6 +13947,12 @@ export type BuiInteractiveSegment = {
13542
13947
  blankId?: Maybe<Scalars['ID']['output']>;
13543
13948
  text?: Maybe<Scalars['String']['output']>;
13544
13949
  };
13950
+ export type BuiInteractiveSlide = {
13951
+ __typename?: 'BuiInteractiveSlide';
13952
+ blocks: Array<BuiInteractiveBlock>;
13953
+ id: Scalars['ID']['output'];
13954
+ title: Scalars['String']['output'];
13955
+ };
13545
13956
  export declare enum BuiInteractiveSource {
13546
13957
  /** Authored in the BuildMyIQ editor without a package. */
13547
13958
  AUTHORED = "AUTHORED",
@@ -13552,12 +13963,40 @@ export declare enum BuiInteractiveValidationStatus {
13552
13963
  REJECTED = "REJECTED",
13553
13964
  VALID = "VALID"
13554
13965
  }
13966
+ export type BuiInteractiveVideo = {
13967
+ __typename?: 'BuiInteractiveVideo';
13968
+ interactions: Array<BuiInteractiveVideoInteraction>;
13969
+ mimeType?: Maybe<Scalars['String']['output']>;
13970
+ source: BuiInteractiveVideoSource;
13971
+ /** FILE: short-lived signed URL of the video. YOUTUBE / VIMEO: the privacy-friendly embed address. */
13972
+ url?: Maybe<Scalars['String']['output']>;
13973
+ };
13974
+ export type BuiInteractiveVideoInteraction = {
13975
+ __typename?: 'BuiInteractiveVideoInteraction';
13976
+ /** Seconds into the video at which the interaction appears. */
13977
+ at: Scalars['Float']['output'];
13978
+ block: BuiInteractiveBlock;
13979
+ id: Scalars['ID']['output'];
13980
+ label: Scalars['String']['output'];
13981
+ /** Pause the video when the interaction appears. */
13982
+ pause: Scalars['Boolean']['output'];
13983
+ };
13984
+ export declare enum BuiInteractiveVideoSource {
13985
+ /** A video packaged in the .h5p file, served from wspace-files-svc. */
13986
+ FILE = "FILE",
13987
+ VIMEO = "VIMEO",
13988
+ YOUTUBE = "YOUTUBE"
13989
+ }
13555
13990
  /** A non-fatal note from package validation, e.g. media the player skips. */
13556
13991
  export type BuiInteractiveWarning = {
13557
13992
  __typename?: 'BuiInteractiveWarning';
13558
13993
  code: Scalars['String']['output'];
13559
13994
  message: Scalars['String']['output'];
13560
13995
  };
13996
+ export declare enum BuiInterventionKind {
13997
+ /** Resume the learner at the next lesson in course sequence (the decision engine's recommendation). */
13998
+ NEXT_LESSON = "NEXT_LESSON"
13999
+ }
13561
14000
  export type BuiIssueCertificateInput = {
13562
14001
  courseId: Scalars['ID']['input'];
13563
14002
  enrollmentId?: InputMaybe<Scalars['ID']['input']>;
@@ -13565,7 +14004,10 @@ export type BuiIssueCertificateInput = {
13565
14004
  fileId?: InputMaybe<Scalars['ID']['input']>;
13566
14005
  finalScore?: InputMaybe<Scalars['Float']['input']>;
13567
14006
  learnerId: Scalars['ID']['input'];
13568
- /** Opt-in display name for the PUBLIC verification page — omit to keep the credential PII-free when shared outside the workspace. */
14007
+ /**
14008
+ * Opt-in display name for the PUBLIC verification page — omit to keep the
14009
+ * credential PII-free when shared outside the workspace.
14010
+ */
13569
14011
  recipientNameSnapshot?: InputMaybe<Scalars['String']['input']>;
13570
14012
  serial: Scalars['String']['input'];
13571
14013
  };
@@ -13651,7 +14093,10 @@ export declare enum BuiLearningObjectLicense {
13651
14093
  /** Internal use within the workspace (default). */
13652
14094
  INTERNAL = "INTERNAL"
13653
14095
  }
13654
- /** A summary of a repository version for browsing. Never includes answer keys or the full lesson body. */
14096
+ /**
14097
+ * A summary of a repository version for browsing. Never includes answer keys
14098
+ * or the full lesson body.
14099
+ */
13655
14100
  export type BuiLearningObjectPreview = {
13656
14101
  __typename?: 'BuiLearningObjectPreview';
13657
14102
  assessmentType?: Maybe<BuiAssessmentType>;
@@ -13699,7 +14144,10 @@ export type BuiLesson = {
13699
14144
  position: Scalars['Int']['output'];
13700
14145
  /** BOFF-10563: repository provenance, including whether a newer version exists. */
13701
14146
  repositorySource?: Maybe<BuiRepositorySource>;
13702
- /** BOFF-10464: the product this lesson was mirrored from. Null for lessons authored natively in Buildmyiq. */
14147
+ /**
14148
+ * BOFF-10464: the product this lesson was mirrored from. Null for lessons
14149
+ * authored natively in Buildmyiq.
14150
+ */
13703
14151
  source?: Maybe<BuiExternalSource>;
13704
14152
  /** BOFF-10464: the source product's own id for this lesson (opaque). */
13705
14153
  sourceId?: Maybe<Scalars['ID']['output']>;
@@ -13743,7 +14191,10 @@ export type BuiLessonProgress = {
13743
14191
  id: Scalars['ID']['output'];
13744
14192
  lessonId: Scalars['ID']['output'];
13745
14193
  secondsSpent: Scalars['Int']['output'];
13746
- /** BOFF-10464: the product this progress row was mirrored from. Null for progress recorded natively in Buildmyiq. */
14194
+ /**
14195
+ * BOFF-10464: the product this progress row was mirrored from. Null for
14196
+ * progress recorded natively in Buildmyiq.
14197
+ */
13747
14198
  source?: Maybe<BuiExternalSource>;
13748
14199
  /** BOFF-10464: the source product's own id for this progress row (opaque). */
13749
14200
  sourceId?: Maybe<Scalars['ID']['output']>;
@@ -13764,6 +14215,14 @@ export declare enum BuiLessonType {
13764
14215
  QUIZ = "QUIZ",
13765
14216
  VIDEO = "VIDEO"
13766
14217
  }
14218
+ /** The LMS a roster or gradebook file was exported from. */
14219
+ export declare enum BuiLmsSystem {
14220
+ BLACKBOARD = "BLACKBOARD",
14221
+ CANVAS = "CANVAS",
14222
+ /** email,course_slug,role (roster) or email plus one column per assessment (gradebook). */
14223
+ GENERIC = "GENERIC",
14224
+ MOODLE = "MOODLE"
14225
+ }
13767
14226
  export type BuiLtiDeepLinkResult = {
13768
14227
  __typename?: 'BuiLtiDeepLinkResult';
13769
14228
  /** The signed `LtiDeepLinkingResponse` JWT — the FE auto-posts this to `returnUrl`. */
@@ -13790,7 +14249,11 @@ export declare enum BuiLtiGradeSyncStatus {
13790
14249
  PENDING = "PENDING",
13791
14250
  SUCCESS = "SUCCESS"
13792
14251
  }
13793
- /** 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. */
14252
+ /**
14253
+ * The validated, not-yet-consumed context of a REST-layer LTI launch —
14254
+ * handed to the authenticated app shell via the opaque ticket id the
14255
+ * `/lti/buildmyiq/launch` REST endpoint redirects to.
14256
+ */
13794
14257
  export type BuiLtiLaunchContext = {
13795
14258
  __typename?: 'BuiLtiLaunchContext';
13796
14259
  /** Populated only for RESOURCE_LINK tickets whose placement is already mapped. */
@@ -13876,10 +14339,16 @@ export declare enum BuiMigrationFormat {
13876
14339
  BUILDMYIQ_JSON = "BUILDMYIQ_JSON",
13877
14340
  /** IMS Common Cartridge (.imscc) — import and export. */
13878
14341
  COMMON_CARTRIDGE = "COMMON_CARTRIDGE",
13879
- /** Gradebook CSV — export. */
14342
+ /** Gradebook CSV — export and import. */
13880
14343
  GRADEBOOK_CSV = "GRADEBOOK_CSV",
13881
14344
  /** Moodle course backup (.mbz) — import. */
13882
- MOODLE_BACKUP = "MOODLE_BACKUP"
14345
+ MOODLE_BACKUP = "MOODLE_BACKUP",
14346
+ /** Roster (enrollment) CSV — import. */
14347
+ ROSTER_CSV = "ROSTER_CSV",
14348
+ /** SCORM 1.2 / 2004 package (.zip) — import as an interactive lesson (BOFF-10579). */
14349
+ SCORM = "SCORM",
14350
+ /** SCORM 1.2 package (.zip) — export (BOFF-10579). */
14351
+ SCORM_12 = "SCORM_12"
13883
14352
  }
13884
14353
  /** Something in a package that was skipped, converted or needs attention. */
13885
14354
  export type BuiMigrationIssue = {
@@ -13926,7 +14395,11 @@ export type BuiMigrationJobConnection = {
13926
14395
  export declare enum BuiMigrationJobKind {
13927
14396
  COURSE_EXPORT = "COURSE_EXPORT",
13928
14397
  COURSE_IMPORT = "COURSE_IMPORT",
13929
- GRADEBOOK_EXPORT = "GRADEBOOK_EXPORT"
14398
+ GRADEBOOK_EXPORT = "GRADEBOOK_EXPORT",
14399
+ /** Gradebook CSV import: graded submissions from Canvas, Blackboard, Moodle or a generic CSV (BOFF-10578). */
14400
+ GRADEBOOK_IMPORT = "GRADEBOOK_IMPORT",
14401
+ /** Roster CSV import: enrollments from Canvas, Blackboard, Moodle or a generic CSV (BOFF-10578). */
14402
+ ROSTER_IMPORT = "ROSTER_IMPORT"
13930
14403
  }
13931
14404
  export declare enum BuiMigrationJobStatus {
13932
14405
  COMPLETED = "COMPLETED",
@@ -13978,6 +14451,12 @@ export type BuiMigrationStats = {
13978
14451
  assessmentCount: Scalars['Int']['output'];
13979
14452
  /** Size of the package or export in bytes. */
13980
14453
  byteSize: Scalars['Int']['output'];
14454
+ /** Rows written: enrollments (roster import) or grades (gradebook import). */
14455
+ createdCount: Scalars['Int']['output'];
14456
+ /** LMS SIS ids or logins linked to workspace members (roster import). */
14457
+ identifierCount: Scalars['Int']['output'];
14458
+ /** Distinct learners enrolled or graded. */
14459
+ learnerCount: Scalars['Int']['output'];
13981
14460
  lessonCount: Scalars['Int']['output'];
13982
14461
  /** Media files an import uploads to Files after writing the course. */
13983
14462
  mediaFileCount: Scalars['Int']['output'];
@@ -13987,6 +14466,8 @@ export type BuiMigrationStats = {
13987
14466
  rowCount: Scalars['Int']['output'];
13988
14467
  /** Package items that were not imported. */
13989
14468
  skippedCount: Scalars['Int']['output'];
14469
+ /** Imported grades updated in place by a gradebook re-import. */
14470
+ updatedCount: Scalars['Int']['output'];
13990
14471
  };
13991
14472
  export type BuiModule = {
13992
14473
  __typename?: 'BuiModule';
@@ -14014,7 +14495,11 @@ export type BuiNextLessonSuggestion = {
14014
14495
  createdAt: Scalars['DateTime']['output'];
14015
14496
  enrollmentId: Scalars['ID']['output'];
14016
14497
  id: Scalars['ID']['output'];
14017
- /** 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. */
14498
+ /**
14499
+ * Ids of the records this decision actually read (the enrollment, its
14500
+ * lesson-progress rows, and any graded submissions used to derive the
14501
+ * pacing signal) — the explainability trail for a DPO/compliance review.
14502
+ */
14018
14503
  inputRefs: Array<Scalars['ID']['output']>;
14019
14504
  lessonId: Scalars['ID']['output'];
14020
14505
  lessonTitle: Scalars['String']['output'];
@@ -14093,7 +14578,11 @@ export declare enum BuiProctoringDecision {
14093
14578
  APPROVED = "APPROVED",
14094
14579
  REJECTED = "REJECTED"
14095
14580
  }
14096
- /** 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. */
14581
+ /**
14582
+ * BOFF-9691: a reviewer's view of a learner's identity photo/ID. The file stays
14583
+ * PRIVATE to the learner in the platform file store; this carries only what a
14584
+ * reviewer needs to look at it once.
14585
+ */
14097
14586
  export type BuiProctoringIdentityFile = {
14098
14587
  __typename?: 'BuiProctoringIdentityFile';
14099
14588
  /** Short-lived presigned URL (about five minutes). */
@@ -14107,7 +14596,10 @@ export type BuiProctoringIdentityFile = {
14107
14596
  };
14108
14597
  export type BuiProctoringSession = {
14109
14598
  __typename?: 'BuiProctoringSession';
14110
- /** BOFF-9690: when the learner consented to in-browser AI monitoring. Null when the assessment does not use AI monitoring. */
14599
+ /**
14600
+ * BOFF-9690: when the learner consented to in-browser AI monitoring. Null
14601
+ * when the assessment does not use AI monitoring.
14602
+ */
14111
14603
  aiMonitoringConsentAt?: Maybe<Scalars['DateTime']['output']>;
14112
14604
  assessmentId: Scalars['ID']['output'];
14113
14605
  createdAt: Scalars['DateTime']['output'];
@@ -14120,7 +14612,10 @@ export type BuiProctoringSession = {
14120
14612
  reviewNotes?: Maybe<Scalars['String']['output']>;
14121
14613
  reviewedAt?: Maybe<Scalars['DateTime']['output']>;
14122
14614
  reviewedById?: Maybe<Scalars['ID']['output']>;
14123
- /** Number of proctoring signals recorded on this session (lockdown + AI), including any already deleted by the retention period. */
14615
+ /**
14616
+ * Number of proctoring signals recorded on this session (lockdown + AI),
14617
+ * including any already deleted by the retention period.
14618
+ */
14124
14619
  signalCount: Scalars['Int']['output'];
14125
14620
  /** Per-type counts of this session's signals still inside the retention period. */
14126
14621
  signalSummary: Array<BuiProctoringSignalSummary>;
@@ -14134,7 +14629,11 @@ export type BuiProctoringSessionConnection = {
14134
14629
  items: Array<BuiProctoringSession>;
14135
14630
  pageInfo: BuiPageInfo;
14136
14631
  };
14137
- /** 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). */
14632
+ /**
14633
+ * BOFF-9690: one signal episode on a proctoring session. Only the kind, timing
14634
+ * and a few numbers are stored — never images, audio or face templates — and
14635
+ * rows are deleted after the published retention period (60 days).
14636
+ */
14138
14637
  export type BuiProctoringSignal = {
14139
14638
  __typename?: 'BuiProctoringSignal';
14140
14639
  /** Detector confidence 0..1 (AI signals only). */
@@ -14171,7 +14670,14 @@ export type BuiProctoringSignalSummary = {
14171
14670
  totalDurationMs: Scalars['Int']['output'];
14172
14671
  type: BuiProctoringSignalType;
14173
14672
  };
14174
- /** 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. */
14673
+ /**
14674
+ * BOFF-9690: a proctoring signal episode observed by the learner's browser.
14675
+ * Lockdown signals: TAB_HIDDEN, WINDOW_BLUR, FULLSCREEN_EXIT, CLIPBOARD.
14676
+ * AI signals (opt-in per assessment, analysed on the learner's device only):
14677
+ * FACE_ABSENT, MULTIPLE_FACES, GAZE_AWAY (head turned away from the screen),
14678
+ * VOICE_DETECTED (sustained speech-band audio), CAMERA_UNAVAILABLE,
14679
+ * MICROPHONE_UNAVAILABLE.
14680
+ */
14175
14681
  export declare enum BuiProctoringSignalType {
14176
14682
  CAMERA_UNAVAILABLE = "CAMERA_UNAVAILABLE",
14177
14683
  CLIPBOARD = "CLIPBOARD",
@@ -14219,7 +14725,10 @@ export type BuiQuestion = {
14219
14725
  points: Scalars['Float']['output'];
14220
14726
  position: Scalars['Int']['output'];
14221
14727
  prompt: Scalars['String']['output'];
14222
- /** BOFF-4429: per-criterion grading rubric for this (typically open-ended) question. Empty for questions graded holistically off `explanation`. */
14728
+ /**
14729
+ * BOFF-4429: per-criterion grading rubric for this (typically open-ended)
14730
+ * question. Empty for questions graded holistically off `explanation`.
14731
+ */
14223
14732
  rubricCriteria: Array<BuiRubricCriterion>;
14224
14733
  type: BuiQuestionType;
14225
14734
  updatedAt: Scalars['DateTime']['output'];
@@ -14232,11 +14741,18 @@ export type BuiQuestionConnection = {
14232
14741
  };
14233
14742
  export type BuiQuestionFeedback = {
14234
14743
  __typename?: 'BuiQuestionFeedback';
14235
- /** Per-criterion AI proposals for this question (BOFF-4429). Empty when the question has no rubric criteria and was scored holistically. */
14744
+ /**
14745
+ * Per-criterion AI proposals for this question (BOFF-4429). Empty when the
14746
+ * question has no rubric criteria and was scored holistically.
14747
+ */
14236
14748
  criterionScores: Array<BuiCriterionScore>;
14237
14749
  feedback: Scalars['String']['output'];
14238
14750
  questionId: Scalars['ID']['output'];
14239
- /** 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. */
14751
+ /**
14752
+ * Points this question contributed to `proposedScore`. Deterministic
14753
+ * (answerKey comparison) for objective questions; the AI's proposal for
14754
+ * open-ended ones — always educator-reviewable, never auto-applied.
14755
+ */
14240
14756
  suggestedPoints?: Maybe<Scalars['Float']['output']>;
14241
14757
  };
14242
14758
  export declare enum BuiQuestionType {
@@ -14304,7 +14820,94 @@ export type BuiReviewTutorAnswerInput = {
14304
14820
  /** Required for ANNOTATE, optional for CORRECT and REDACT, rejected for CLEAR. Max 2000 characters. */
14305
14821
  note?: InputMaybe<Scalars['String']['input']>;
14306
14822
  };
14307
- /** 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. */
14823
+ export declare enum BuiRiskSeverity {
14824
+ HIGH = "HIGH",
14825
+ LOW = "LOW",
14826
+ MEDIUM = "MEDIUM"
14827
+ }
14828
+ /** One named signal behind an at-risk flag — evidence, never a bare score. */
14829
+ export type BuiRiskSignal = {
14830
+ __typename?: 'BuiRiskSignal';
14831
+ /** Plain sentence an educator can read aloud: what was observed, with numbers. */
14832
+ detail: Scalars['String']['output'];
14833
+ kind: BuiRiskSignalKind;
14834
+ severity: BuiRiskSeverity;
14835
+ };
14836
+ export declare enum BuiRiskSignalKind {
14837
+ /** Progress is well under the cohort median. */
14838
+ BEHIND_PEERS = "BEHIND_PEERS",
14839
+ /** No lesson progress for at least a week. */
14840
+ DORMANCY = "DORMANCY",
14841
+ /** Running assessment average is below 60. */
14842
+ LOW_ASSESSMENT_AVERAGE = "LOW_ASSESSMENT_AVERAGE",
14843
+ /** Completed-lesson pace is behind the cohort's scheduled window. */
14844
+ PROGRESS_VELOCITY = "PROGRESS_VELOCITY",
14845
+ /** Latest graded score dropped well under the earlier average. */
14846
+ SCORE_TREND_DECLINING = "SCORE_TREND_DECLINING"
14847
+ }
14848
+ export type BuiRosterCourseMappingInput = {
14849
+ /** BuildMyIQ course to enroll into; null skips the LMS course. */
14850
+ courseId?: InputMaybe<Scalars['ID']['input']>;
14851
+ /** LMS course identifier as it appears in the file. */
14852
+ sourceCourse: Scalars['String']['input'];
14853
+ };
14854
+ /** How an LMS course in a roster maps to a BuildMyIQ course. */
14855
+ export type BuiRosterCourseMatch = {
14856
+ __typename?: 'BuiRosterCourseMatch';
14857
+ courseId?: Maybe<Scalars['ID']['output']>;
14858
+ courseTitle?: Maybe<Scalars['String']['output']>;
14859
+ /** MAPPING (chosen), ID, SLUG or TITLE; null when unmapped. */
14860
+ matchedBy?: Maybe<Scalars['String']['output']>;
14861
+ rowCount: Scalars['Int']['output'];
14862
+ sourceCourse: Scalars['String']['output'];
14863
+ };
14864
+ export type BuiRosterImportInput = {
14865
+ /** Overrides the automatic id / slug / title course matching. */
14866
+ courseMappings?: InputMaybe<Array<BuiRosterCourseMappingInput>>;
14867
+ /** wspace-files-svc id of the uploaded roster CSV. */
14868
+ fileId: Scalars['ID']['input'];
14869
+ /** Detected from the header when omitted. */
14870
+ sourceSystem?: InputMaybe<BuiLmsSystem>;
14871
+ /** Optional users file (Canvas users.csv, Blackboard person feed) that maps SIS ids to e-mails. */
14872
+ usersFileId?: InputMaybe<Scalars['ID']['input']>;
14873
+ };
14874
+ /** What a roster import would do, computed without writing anything. */
14875
+ export type BuiRosterImportPreview = {
14876
+ __typename?: 'BuiRosterImportPreview';
14877
+ canImport: Scalars['Boolean']['output'];
14878
+ courses: Array<BuiRosterCourseMatch>;
14879
+ fileName: Scalars['String']['output'];
14880
+ /** SIS ids / logins the import would link to members. */
14881
+ identifierCount: Scalars['Int']['output'];
14882
+ issues: Array<BuiMigrationIssue>;
14883
+ /** E-mails in the file that are not workspace members (invite them, then re-run). */
14884
+ missingLearnerEmails: Array<Scalars['String']['output']>;
14885
+ /** Enrollments the import would create. */
14886
+ readyCount: Scalars['Int']['output'];
14887
+ /** The first 500 rows. */
14888
+ rows: Array<BuiImportRow>;
14889
+ rowsTruncated: Scalars['Boolean']['output'];
14890
+ sourceSystem: BuiLmsSystem;
14891
+ statusCounts: Array<BuiImportRowCount>;
14892
+ totalRows: Scalars['Int']['output'];
14893
+ usersFileName?: Maybe<Scalars['String']['output']>;
14894
+ };
14895
+ export type BuiRosterImportResult = {
14896
+ __typename?: 'BuiRosterImportResult';
14897
+ enrolledCount: Scalars['Int']['output'];
14898
+ job: BuiMigrationJob;
14899
+ missingLearnerEmails: Array<Scalars['String']['output']>;
14900
+ /** The first 500 rows that were not enrolled, with the reason. */
14901
+ rows: Array<BuiImportRow>;
14902
+ rowsTruncated: Scalars['Boolean']['output'];
14903
+ statusCounts: Array<BuiImportRowCount>;
14904
+ };
14905
+ /**
14906
+ * One scored dimension of a question's grading rubric (BOFF-4429) — e.g.
14907
+ * "Thesis clarity" (max 5 pts), "Evidence & citations" (max 10 pts). Set as a
14908
+ * whole via `buiSetRubricCriteria`; `IntelligenceService.suggestGrade` scores
14909
+ * each criterion independently when a question has any.
14910
+ */
14308
14911
  export type BuiRubricCriterion = {
14309
14912
  __typename?: 'BuiRubricCriterion';
14310
14913
  createdAt: Scalars['DateTime']['output'];
@@ -14362,6 +14965,123 @@ export type BuiSavedCourseConnection = {
14362
14965
  items: Array<BuiSavedCourse>;
14363
14966
  pageInfo: BuiPageInfo;
14364
14967
  };
14968
+ export type BuiScormCommitResult = {
14969
+ __typename?: 'BuiScormCommitResult';
14970
+ item: BuiScormItemState;
14971
+ /** True when the lesson is complete (now or already). */
14972
+ lessonCompleted: Scalars['Boolean']['output'];
14973
+ };
14974
+ /** A launchable item of a SCORM package, in organization order. */
14975
+ export type BuiScormItem = {
14976
+ __typename?: 'BuiScormItem';
14977
+ /** SCORM 2004 completion threshold (0 to 1). */
14978
+ completionThreshold?: Maybe<Scalars['Float']['output']>;
14979
+ /** Launch file path inside the stored archive. */
14980
+ href: Scalars['String']['output'];
14981
+ /** Organization item identifier. */
14982
+ identifier: Scalars['ID']['output'];
14983
+ /** Value of cmi.launch_data. */
14984
+ launchData: Scalars['String']['output'];
14985
+ /** SCORM 1.2 mastery score (0-100). */
14986
+ masteryScore?: Maybe<Scalars['Float']['output']>;
14987
+ maxTimeAllowed: Scalars['String']['output'];
14988
+ /** Query string appended to the launch file, without the leading ?. */
14989
+ parameters: Scalars['String']['output'];
14990
+ /** SCORM 2004 scaled passing score (-1 to 1). */
14991
+ scaledPassingScore?: Maybe<Scalars['Float']['output']>;
14992
+ /** sco (talks to the SCORM API) or asset (a plain page). */
14993
+ scormType: Scalars['String']['output'];
14994
+ timeLimitAction: Scalars['String']['output'];
14995
+ title: Scalars['String']['output'];
14996
+ };
14997
+ /** A learner's run-time state for one item. */
14998
+ export type BuiScormItemState = {
14999
+ __typename?: 'BuiScormItemState';
15000
+ attemptNumber: Scalars['Int']['output'];
15001
+ /** SCORM 2004 completion_status, or the SCORM 1.2 lesson_status. */
15002
+ completionStatus: Scalars['String']['output'];
15003
+ /** Value of cmi.entry / cmi.core.entry for this launch (ab-initio, resume or empty). */
15004
+ entry: Scalars['String']['output'];
15005
+ identifier: Scalars['ID']['output'];
15006
+ /** True once the item was completed or passed. */
15007
+ satisfied: Scalars['Boolean']['output'];
15008
+ scoreMax?: Maybe<Scalars['Float']['output']>;
15009
+ scoreMin?: Maybe<Scalars['Float']['output']>;
15010
+ scoreRaw?: Maybe<Scalars['Float']['output']>;
15011
+ scoreScaled?: Maybe<Scalars['Float']['output']>;
15012
+ /** SCORM 2004 success_status (passed, failed or unknown). */
15013
+ successStatus: Scalars['String']['output'];
15014
+ /** Total time in the version's format (HHHH:MM:SS or an ISO 8601 duration). */
15015
+ totalTime: Scalars['String']['output'];
15016
+ totalTimeSeconds: Scalars['Int']['output'];
15017
+ /** Stored data model values the item resumes from. */
15018
+ values: Array<BuiScormValue>;
15019
+ };
15020
+ /** Everything the sandboxed player needs to launch a SCORM lesson. */
15021
+ export type BuiScormLaunch = {
15022
+ __typename?: 'BuiScormLaunch';
15023
+ enrollmentId?: Maybe<Scalars['ID']['output']>;
15024
+ items: Array<BuiScormItemState>;
15025
+ /** Value of cmi.learner_id / cmi.core.student_id. */
15026
+ learnerId: Scalars['ID']['output'];
15027
+ lessonCompleted: Scalars['Boolean']['output'];
15028
+ mode: BuiScormLaunchMode;
15029
+ package: BuiScormPackage;
15030
+ /** Short-lived signed URL of the stored ZIP. Fetch it before packageUrlExpiresAt. */
15031
+ packageUrl: Scalars['String']['output'];
15032
+ packageUrlExpiresAt: Scalars['DateTime']['output'];
15033
+ };
15034
+ export declare enum BuiScormLaunchMode {
15035
+ /** An author's preview: nothing is stored. */
15036
+ BROWSE = "BROWSE",
15037
+ /** A learner's launch: run-time data is committed and kept. */
15038
+ NORMAL = "NORMAL"
15039
+ }
15040
+ /** A SCORM package attached to an INTERACTIVE lesson. */
15041
+ export type BuiScormPackage = {
15042
+ __typename?: 'BuiScormPackage';
15043
+ byteSize: Scalars['Int']['output'];
15044
+ createdAt: Scalars['DateTime']['output'];
15045
+ /** Path of the SCORM ZIP inside the stored file when it is nested in a cartridge. */
15046
+ entryPath?: Maybe<Scalars['String']['output']>;
15047
+ /** wspace-files-svc id of the stored ZIP. */
15048
+ fileId: Scalars['ID']['output'];
15049
+ fileName: Scalars['String']['output'];
15050
+ id: Scalars['ID']['output'];
15051
+ identifier: Scalars['String']['output'];
15052
+ itemCount: Scalars['Int']['output'];
15053
+ items: Array<BuiScormItem>;
15054
+ lessonId: Scalars['ID']['output'];
15055
+ /** Folder inside the archive that holds imsmanifest.xml (empty for the root). */
15056
+ rootPath: Scalars['String']['output'];
15057
+ /** Schema version declared by the manifest, e.g. 1.2 or 2004 4th Edition. */
15058
+ schemaVersion: Scalars['String']['output'];
15059
+ title: Scalars['String']['output'];
15060
+ updatedAt: Scalars['DateTime']['output'];
15061
+ validatedAt: Scalars['DateTime']['output'];
15062
+ version: BuiScormVersion;
15063
+ warnings: Array<BuiScormWarning>;
15064
+ };
15065
+ /** One stored data model element. */
15066
+ export type BuiScormValue = {
15067
+ __typename?: 'BuiScormValue';
15068
+ element: Scalars['String']['output'];
15069
+ value: Scalars['String']['output'];
15070
+ };
15071
+ export type BuiScormValueInput = {
15072
+ element: Scalars['String']['input'];
15073
+ value: Scalars['String']['input'];
15074
+ };
15075
+ export declare enum BuiScormVersion {
15076
+ SCORM_12 = "SCORM_12",
15077
+ SCORM_2004 = "SCORM_2004"
15078
+ }
15079
+ /** A non-fatal note from manifest validation, e.g. sequencing rules the player simplifies. */
15080
+ export type BuiScormWarning = {
15081
+ __typename?: 'BuiScormWarning';
15082
+ code: Scalars['String']['output'];
15083
+ message: Scalars['String']['output'];
15084
+ };
14365
15085
  export type BuiSkill = {
14366
15086
  __typename?: 'BuiSkill';
14367
15087
  category: BuiSkillCategory;
@@ -14435,6 +15155,8 @@ export type BuiSubmission = {
14435
15155
  gradedAt?: Maybe<Scalars['DateTime']['output']>;
14436
15156
  gradedById?: Maybe<Scalars['ID']['output']>;
14437
15157
  id: Scalars['ID']['output'];
15158
+ /** LMS a gradebook import brought this grade from (CANVAS, BLACKBOARD, MOODLE, GENERIC); null for grades given in BuildMyIQ (BOFF-10578). */
15159
+ importSource?: Maybe<Scalars['String']['output']>;
14438
15160
  learnerId: Scalars['ID']['output'];
14439
15161
  passed?: Maybe<Scalars['Boolean']['output']>;
14440
15162
  score?: Maybe<Scalars['Float']['output']>;
@@ -14467,7 +15189,10 @@ export type BuiSubmitInteractiveAttemptInput = {
14467
15189
  responses: Array<BuiInteractiveResponseInput>;
14468
15190
  };
14469
15191
  export type BuiSubmitProctoringIdentityInput = {
14470
- /** BOFF-9690: explicit consent to in-browser AI monitoring. Required (true) when the assessment has `aiProctoringEnabled`; ignored otherwise. */
15192
+ /**
15193
+ * BOFF-9690: explicit consent to in-browser AI monitoring. Required (true)
15194
+ * when the assessment has `aiProctoringEnabled`; ignored otherwise.
15195
+ */
14471
15196
  aiMonitoringConsent?: InputMaybe<Scalars['Boolean']['input']>;
14472
15197
  identityFileId?: InputMaybe<Scalars['ID']['input']>;
14473
15198
  lockdownAcknowledged: Scalars['Boolean']['input'];
@@ -14486,6 +15211,16 @@ export type BuiSuggestAssessmentDraftInput = {
14486
15211
  /** Allowed question types; default SINGLE_CHOICE and SHORT_ANSWER. */
14487
15212
  questionTypes?: InputMaybe<Array<BuiQuestionType>>;
14488
15213
  };
15214
+ /** The decision engine's recommended remediation for a flagged enrollment. */
15215
+ export type BuiSuggestedIntervention = {
15216
+ __typename?: 'BuiSuggestedIntervention';
15217
+ kind: BuiInterventionKind;
15218
+ lessonId?: Maybe<Scalars['ID']['output']>;
15219
+ lessonTitle?: Maybe<Scalars['String']['output']>;
15220
+ moduleTitle?: Maybe<Scalars['String']['output']>;
15221
+ pacingHint?: Maybe<BuiPacingHint>;
15222
+ rationale: Scalars['String']['output'];
15223
+ };
14489
15224
  export type BuiSyncExternalCertificateInput = {
14490
15225
  /** The source product's id of the certificate's course (synced first). */
14491
15226
  courseSourceId: Scalars['ID']['input'];
@@ -14538,9 +15273,16 @@ export type BuiSyncExternalEnrollmentInput = {
14538
15273
  startedAt?: InputMaybe<Scalars['DateTime']['input']>;
14539
15274
  status: BuiEnrollmentStatus;
14540
15275
  };
14541
- /** 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. */
15276
+ /**
15277
+ * BOFF-10464: a source product's lesson. Only the canonical lesson fields are
15278
+ * mirrored; product-specific lesson data (runnable-code metadata, quiz answer
15279
+ * keys, entitlement lock state) stays with the source product.
15280
+ */
14542
15281
  export type BuiSyncExternalLessonInput = {
14543
- /** Lesson body. The source sends null when it must not be exposed outside the source product (for example a premium-only lesson body). */
15282
+ /**
15283
+ * Lesson body. The source sends null when it must not be exposed outside the
15284
+ * source product (for example a premium-only lesson body).
15285
+ */
14544
15286
  content?: InputMaybe<Scalars['String']['input']>;
14545
15287
  /** The source product's id of the lesson's course (synced first). */
14546
15288
  courseSourceId: Scalars['ID']['input'];
@@ -14604,7 +15346,10 @@ export type BuiTutorAnswerReviewEntry = {
14604
15346
  export type BuiTutorAskInput = {
14605
15347
  lessonId: Scalars['ID']['input'];
14606
15348
  question: Scalars['String']['input'];
14607
- /** Continue an existing session (must belong to the calling learner — see `buiTutorAsk` resolver). Omit to start a new session for this lesson. */
15349
+ /**
15350
+ * Continue an existing session (must belong to the calling learner — see
15351
+ * `buiTutorAsk` resolver). Omit to start a new session for this lesson.
15352
+ */
14608
15353
  sessionId?: InputMaybe<Scalars['ID']['input']>;
14609
15354
  };
14610
15355
  export type BuiTutorAskPayload = {
@@ -14615,17 +15360,33 @@ export type BuiTutorAskPayload = {
14615
15360
  export type BuiTutorMessage = {
14616
15361
  __typename?: 'BuiTutorMessage';
14617
15362
  adaptiveLevel?: Maybe<BuiTutorAdaptiveLevel>;
14618
- /** 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. */
15363
+ /**
15364
+ * The text the learner sees. For a CORRECTED answer this is the instructor's
15365
+ * corrected version; for a REDACTED answer it is a localized removal notice.
15366
+ */
14619
15367
  content: Scalars['String']['output'];
14620
15368
  createdAt: Scalars['DateTime']['output'];
14621
- /** Lesson ids whose content grounded this turn's answer. Always empty for USER messages. */
15369
+ /**
15370
+ * Lesson ids whose content grounded this turn's answer. Always empty for
15371
+ * USER messages.
15372
+ */
14622
15373
  groundingLessonIds: Array<Scalars['ID']['output']>;
14623
15374
  id: Scalars['ID']['output'];
14624
- /** 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. */
15375
+ /**
15376
+ * The model's original answer, kept for audit. Only resolved on the educator
15377
+ * review surfaces (`buiListTutorSessions`, `buiReviewTutorAnswer`); always null
15378
+ * on the learner's own queries so a redacted answer never reaches the learner.
15379
+ */
14625
15380
  originalContent?: Maybe<Scalars['String']['output']>;
14626
- /** Current educator review (ASSISTANT messages only); null while unreviewed. Learners use it to show a "reviewed by your instructor" marker. */
15381
+ /**
15382
+ * Current educator review (ASSISTANT messages only); null while unreviewed.
15383
+ * Learners use it to show a "reviewed by your instructor" marker.
15384
+ */
14627
15385
  review?: Maybe<BuiTutorAnswerReview>;
14628
- /** Append-only history of educator actions on this answer, oldest first. Only resolved on the educator review surfaces; empty for learners. */
15386
+ /**
15387
+ * Append-only history of educator actions on this answer, oldest first. Only
15388
+ * resolved on the educator review surfaces; empty for learners.
15389
+ */
14629
15390
  reviewHistory: Array<BuiTutorAnswerReviewEntry>;
14630
15391
  role: BuiTutorMessageRole;
14631
15392
  sessionId: Scalars['ID']['output'];
@@ -14674,7 +15435,10 @@ export type BuiTutorSessionConnection = {
14674
15435
  export type BuiUpdateAiSettingsInput = {
14675
15436
  /** Omit to keep the current value. */
14676
15437
  applyToTutor?: InputMaybe<Scalars['Boolean']['input']>;
14677
- /** Replaces the saved block-list (max 200 terms, 80 characters each); an empty list clears it. Omit to keep the current list. */
15438
+ /**
15439
+ * Replaces the saved block-list (max 200 terms, 80 characters each); an empty
15440
+ * list clears it. Omit to keep the current list.
15441
+ */
14678
15442
  blockedTerms?: InputMaybe<Array<Scalars['String']['input']>>;
14679
15443
  };
14680
15444
  export type BuiUpdateBadgeInput = {
@@ -14719,6 +15483,106 @@ export type BuiUpdateLearningObjectInput = {
14719
15483
  tags?: InputMaybe<Array<Scalars['String']['input']>>;
14720
15484
  title?: InputMaybe<Scalars['String']['input']>;
14721
15485
  };
15486
+ /** Result of checking the saved LRS settings against the LRS. */
15487
+ export type BuiXapiConnectionCheck = {
15488
+ __typename?: 'BuiXapiConnectionCheck';
15489
+ /** An authenticated statements request was accepted. */
15490
+ authenticated: Scalars['Boolean']['output'];
15491
+ httpStatus?: Maybe<Scalars['Int']['output']>;
15492
+ message: Scalars['String']['output'];
15493
+ /** The endpoint answered GET /about as an xAPI LRS. */
15494
+ reachable: Scalars['Boolean']['output'];
15495
+ /** xAPI versions the LRS declares. */
15496
+ versions: Array<Scalars['String']['output']>;
15497
+ };
15498
+ export type BuiXapiDeliveryCounts = {
15499
+ __typename?: 'BuiXapiDeliveryCounts';
15500
+ delivered: Scalars['Int']['output'];
15501
+ failed: Scalars['Int']['output'];
15502
+ pending: Scalars['Int']['output'];
15503
+ stored: Scalars['Int']['output'];
15504
+ };
15505
+ /** Result of one delivery pass. */
15506
+ export type BuiXapiDeliveryRun = {
15507
+ __typename?: 'BuiXapiDeliveryRun';
15508
+ attempted: Scalars['Int']['output'];
15509
+ delivered: Scalars['Int']['output'];
15510
+ failed: Scalars['Int']['output'];
15511
+ message?: Maybe<Scalars['String']['output']>;
15512
+ retrying: Scalars['Int']['output'];
15513
+ /** NOT_CONFIGURED, DISABLED, IDLE, OK, PARTIAL or FAILED. */
15514
+ status: Scalars['String']['output'];
15515
+ };
15516
+ /** Delivery state of a recorded statement. */
15517
+ export declare enum BuiXapiDeliveryStatus {
15518
+ /** Accepted by the LRS. */
15519
+ DELIVERED = "DELIVERED",
15520
+ /** Rejected by the LRS, or every retry failed. */
15521
+ FAILED = "FAILED",
15522
+ /** Queued for the LRS. */
15523
+ PENDING = "PENDING",
15524
+ /** Recorded while no LRS was enabled; kept for export and later delivery. */
15525
+ STORED = "STORED"
15526
+ }
15527
+ /** A course's statements as an xAPI StatementResult JSON document. Decode `contentBase64` and save it as `fileName`. */
15528
+ export type BuiXapiExport = {
15529
+ __typename?: 'BuiXapiExport';
15530
+ byteSize: Scalars['Int']['output'];
15531
+ contentBase64: Scalars['String']['output'];
15532
+ fileName: Scalars['String']['output'];
15533
+ mimeType: Scalars['String']['output'];
15534
+ statementCount: Scalars['Int']['output'];
15535
+ };
15536
+ /** A workspace's LRS settings. The password is never returned. */
15537
+ export type BuiXapiLrsConfig = {
15538
+ __typename?: 'BuiXapiLrsConfig';
15539
+ consecutiveFailures: Scalars['Int']['output'];
15540
+ counts: BuiXapiDeliveryCounts;
15541
+ createdAt: Scalars['DateTime']['output'];
15542
+ enabled: Scalars['Boolean']['output'];
15543
+ /** xAPI base endpoint, e.g. https://lrs.example.com/xapi. */
15544
+ endpoint: Scalars['String']['output'];
15545
+ hasPassword: Scalars['Boolean']['output'];
15546
+ id: Scalars['ID']['output'];
15547
+ lastDeliveryAt?: Maybe<Scalars['DateTime']['output']>;
15548
+ /** OK or FAILED: the outcome of the last delivery attempt. */
15549
+ lastDeliveryStatus?: Maybe<Scalars['String']['output']>;
15550
+ /** Why the last delivery attempt failed, when it did. */
15551
+ lastError?: Maybe<Scalars['String']['output']>;
15552
+ updatedAt: Scalars['DateTime']['output'];
15553
+ updatedBy?: Maybe<Scalars['String']['output']>;
15554
+ /** HTTP Basic username (the LRS key). */
15555
+ username: Scalars['String']['output'];
15556
+ };
15557
+ export type BuiXapiStatement = {
15558
+ __typename?: 'BuiXapiStatement';
15559
+ attempts: Scalars['Int']['output'];
15560
+ courseId?: Maybe<Scalars['ID']['output']>;
15561
+ deliveredAt?: Maybe<Scalars['DateTime']['output']>;
15562
+ deliveryStatus: BuiXapiDeliveryStatus;
15563
+ /** The xAPI statement id. */
15564
+ id: Scalars['ID']['output'];
15565
+ lastError?: Maybe<Scalars['String']['output']>;
15566
+ learnerId: Scalars['ID']['output'];
15567
+ objectId: Scalars['ID']['output'];
15568
+ /** COURSE, LESSON or ASSESSMENT. */
15569
+ objectType: Scalars['String']['output'];
15570
+ /** The full xAPI statement as it is sent to the LRS. */
15571
+ statement: Scalars['JSON']['output'];
15572
+ timestamp: Scalars['DateTime']['output'];
15573
+ /** registered, launched, progressed, completed, scored, passed or failed. */
15574
+ verb: Scalars['String']['output'];
15575
+ };
15576
+ export type BuiXapiStatementConnection = {
15577
+ __typename?: 'BuiXapiStatementConnection';
15578
+ items: Array<BuiXapiStatement>;
15579
+ pageInfo: BuiPageInfo;
15580
+ };
15581
+ export type BuiXapiStatementFilter = {
15582
+ courseId?: InputMaybe<Scalars['ID']['input']>;
15583
+ deliveryStatus?: InputMaybe<BuiXapiDeliveryStatus>;
15584
+ learnerId?: InputMaybe<Scalars['ID']['input']>;
15585
+ };
14722
15586
  export type BuildWorkflowCodeInput = {
14723
15587
  /** The version whose source archive the files are laid over. */
14724
15588
  baseVersion: Scalars['String']['input'];
@@ -47265,6 +48129,25 @@ export type HokActivationStep = {
47265
48129
  /** How many distinct users performed (or, for entitlement.granted, received) the event. */
47266
48130
  uniqueActors: Scalars['Int']['output'];
47267
48131
  };
48132
+ export declare enum HokAdBeaconEvent {
48133
+ /** The programmatic billing notice (OpenRTB burl). */
48134
+ billing = "billing",
48135
+ complete = "complete",
48136
+ firstQuartile = "firstQuartile",
48137
+ impression = "impression",
48138
+ midpoint = "midpoint",
48139
+ start = "start",
48140
+ thirdQuartile = "thirdQuartile"
48141
+ }
48142
+ /** Outcome of one tracking event of a server-side beacon delivery. */
48143
+ export type HokAdBeaconEventResult = {
48144
+ __typename?: 'HokAdBeaconEventResult';
48145
+ attempted: Scalars['Int']['output'];
48146
+ delivered: Scalars['Int']['output'];
48147
+ event: HokAdBeaconEvent;
48148
+ /** Hosts whose beacon failed (full URLs are never kept: they carry privacy macros). */
48149
+ failedHosts: Array<Scalars['String']['output']>;
48150
+ };
47268
48151
  /** 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)`. */
47269
48152
  export type HokAdBreak = {
47270
48153
  __typename?: 'HokAdBreak';
@@ -47532,6 +48415,32 @@ export type HokAdTitleRevenue = {
47532
48415
  title?: Maybe<HokTitle>;
47533
48416
  titleId: Scalars['ID']['output'];
47534
48417
  };
48418
+ /** 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. */
48419
+ export type HokAdTrackerDelivery = {
48420
+ __typename?: 'HokAdTrackerDelivery';
48421
+ attemptedCount: Scalars['Int']['output'];
48422
+ billingDelivered: Scalars['Boolean']['output'];
48423
+ billingDue: Scalars['Boolean']['output'];
48424
+ completedAt?: Maybe<Scalars['DateTime']['output']>;
48425
+ createdAt: Scalars['DateTime']['output'];
48426
+ decisionId: Scalars['ID']['output'];
48427
+ deliveredCount: Scalars['Int']['output'];
48428
+ events: Array<HokAdBeaconEventResult>;
48429
+ id: Scalars['ID']['output'];
48430
+ sessionId?: Maybe<Scalars['ID']['output']>;
48431
+ /** The confirmed slot: campaign id (DIRECT) or programmatic fill id (PROGRAMMATIC). */
48432
+ slotId: Scalars['ID']['output'];
48433
+ source: HokAdDemandSource;
48434
+ status: HokAdTrackerDeliveryStatus;
48435
+ };
48436
+ export declare enum HokAdTrackerDeliveryStatus {
48437
+ /** Every tracker (and the billing notice, when due) was answered without an error. */
48438
+ DELIVERED = "DELIVERED",
48439
+ FAILED = "FAILED",
48440
+ PARTIAL = "PARTIAL",
48441
+ /** Claimed; beacons still in flight. */
48442
+ PENDING = "PENDING"
48443
+ }
47535
48444
  /** 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. */
47536
48445
  export type HokAdTracking = {
47537
48446
  __typename?: 'HokAdTracking';
@@ -47558,6 +48467,8 @@ export type HokAddHlsPackageInput = {
47558
48467
  label?: InputMaybe<Scalars['String']['input']>;
47559
48468
  /** 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. */
47560
48469
  playlist: Scalars['String']['input'];
48470
+ /** 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. */
48471
+ rendition?: InputMaybe<Scalars['String']['input']>;
47561
48472
  /** WIDTHxHEIGHT advertised in the master playlist (taken from the slate). */
47562
48473
  resolution?: InputMaybe<Scalars['String']['input']>;
47563
48474
  /** Required for PROGRAMME; omit for SLATE. */
@@ -47980,17 +48891,22 @@ export type HokChannelHlsFeed = {
47980
48891
  id: Scalars['ID']['output'];
47981
48892
  /** Last time a player or platform fetched the live playlist (updated about once a minute). */
47982
48893
  lastPolledAt?: Maybe<Scalars['DateTime']['output']>;
47983
- /** The URL to give a FAST platform: a single-variant master playlist. */
48894
+ /** The URL to give a FAST platform: the master playlist with one entry per variant. */
47984
48895
  masterPlaylistUrl: Scalars['String']['output'];
47985
- /** The live media playlist the master points at. */
48896
+ /** The primary variant's live media playlist. */
47986
48897
  mediaPlaylistUrl: Scalars['String']['output'];
47987
48898
  /** Schedule blocks in the next 24 hours and whether each airs its programme or the slate. */
47988
48899
  readiness: Array<HokHlsFeedBlockReadiness>;
48900
+ /** Whether breaks are also signalled with SCTE-35 EXT-X-DATERANGE tags. */
48901
+ scte35Enabled: Scalars['Boolean']['output'];
47989
48902
  /** Segment duration of the feed's slot grid (from the slate); packages must match it. */
47990
48903
  segmentDurationSeconds: Scalars['Int']['output'];
48904
+ /** The primary variant's slate. */
47991
48905
  slate?: Maybe<HokHlsPackage>;
47992
48906
  status: HokHlsFeedStatus;
47993
48907
  updatedAt: Scalars['DateTime']['output'];
48908
+ /** Every variant in ladder order, the primary first. */
48909
+ variants: Array<HokHlsFeedVariant>;
47994
48910
  };
47995
48911
  export declare enum HokChannelStatus {
47996
48912
  DRAFT = "DRAFT",
@@ -48209,10 +49125,16 @@ export type HokCreateReviewInput = {
48209
49125
  export type HokCreateRightsWindowInput = {
48210
49126
  contractFileId?: InputMaybe<Scalars['ID']['input']>;
48211
49127
  currency?: InputMaybe<Scalars['String']['input']>;
49128
+ /** Allow offline downloads under this window (default false). */
49129
+ downloadable?: InputMaybe<Scalars['Boolean']['input']>;
48212
49130
  endsAt?: InputMaybe<Scalars['DateTime']['input']>;
48213
49131
  exclusive?: InputMaybe<Scalars['Boolean']['input']>;
48214
49132
  licenseeId?: InputMaybe<Scalars['ID']['input']>;
49133
+ /** Per-viewer download cap for the title (1-1000); omit or null for no cap. */
49134
+ maxDownloadsPerUser?: InputMaybe<Scalars['Int']['input']>;
48215
49135
  modes: Array<HokMonetizationMode>;
49136
+ /** Hours a downloaded copy stays playable (1-720, default 48). */
49137
+ offlineExpiryHours?: InputMaybe<Scalars['Int']['input']>;
48216
49138
  priceMinorUnits?: InputMaybe<Scalars['JSON']['input']>;
48217
49139
  startsAt?: InputMaybe<Scalars['DateTime']['input']>;
48218
49140
  territories?: InputMaybe<Array<Scalars['String']['input']>>;
@@ -48685,8 +49607,10 @@ export type HokHlsFeedBlockReadiness = {
48685
49607
  __typename?: 'HokHlsFeedBlockReadiness';
48686
49608
  endAt: Scalars['DateTime']['output'];
48687
49609
  episodeId?: Maybe<Scalars['ID']['output']>;
49610
+ /** Feed renditions the programme has no package on the feed's profile for. */
49611
+ missingRenditions: Array<Scalars['String']['output']>;
48688
49612
  ready: Scalars['Boolean']['output'];
48689
- /** Why the block airs the slate: NO_PROGRAMME, NOT_PUBLISHED, NO_PACKAGE or PROFILE_MISMATCH. */
49613
+ /** Why the block airs the slate: NO_PROGRAMME, NOT_PUBLISHED, NO_PACKAGE, PROFILE_MISMATCH or INCOMPLETE_LADDER. */
48690
49614
  reason?: Maybe<Scalars['String']['output']>;
48691
49615
  scheduleBlockId: Scalars['ID']['output'];
48692
49616
  startAt: Scalars['DateTime']['output'];
@@ -48696,6 +49620,14 @@ export declare enum HokHlsFeedStatus {
48696
49620
  ACTIVE = "ACTIVE",
48697
49621
  DISABLED = "DISABLED"
48698
49622
  }
49623
+ /** One variant (rendition) of a channel HLS feed. */
49624
+ export type HokHlsFeedVariant = {
49625
+ __typename?: 'HokHlsFeedVariant';
49626
+ /** The variant's live media playlist. */
49627
+ mediaPlaylistUrl: Scalars['String']['output'];
49628
+ rendition: Scalars['String']['output'];
49629
+ slate: HokHlsPackage;
49630
+ };
48699
49631
  /** A single-file, byte-range HLS VOD encode registered for HLS distribution. */
48700
49632
  export type HokHlsPackage = {
48701
49633
  __typename?: 'HokHlsPackage';
@@ -48711,6 +49643,8 @@ export type HokHlsPackage = {
48711
49643
  id: Scalars['ID']['output'];
48712
49644
  kind: HokHlsPackageKind;
48713
49645
  label?: Maybe<Scalars['String']['output']>;
49646
+ /** Rendition key of the encode, such as 1080p; main when none was given. */
49647
+ rendition: Scalars['String']['output'];
48714
49648
  resolution?: Maybe<Scalars['String']['output']>;
48715
49649
  segmentCount: Scalars['Int']['output'];
48716
49650
  /** Nominal segment duration in whole seconds. */
@@ -48822,9 +49756,15 @@ export type HokLinearItem = {
48822
49756
  adPodSize?: Maybe<Scalars['Int']['output']>;
48823
49757
  /** AD: 1-based position in the pod. */
48824
49758
  adSequence?: Maybe<Scalars['Int']['output']>;
49759
+ /** AD: DIRECT (direct-sold campaign) or PROGRAMMATIC (OpenRTB fill). */
49760
+ adSource?: Maybe<HokAdDemandSource>;
49761
+ /** AD: ad system that served a third-party creative (null for first-party creatives). */
49762
+ adSystem?: Maybe<Scalars['String']['output']>;
48825
49763
  advertiserName?: Maybe<Scalars['String']['output']>;
48826
49764
  campaignId?: Maybe<Scalars['ID']['output']>;
48827
49765
  clickThroughUrl?: Maybe<Scalars['String']['output']>;
49766
+ /** 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. */
49767
+ clickTracking: Array<Scalars['String']['output']>;
48828
49768
  /** AD: the server-side ad decision this ad belongs to. */
48829
49769
  decisionId?: Maybe<Scalars['ID']['output']>;
48830
49770
  durationSeconds: Scalars['Int']['output'];
@@ -48839,7 +49779,7 @@ export type HokLinearItem = {
48839
49779
  mediaMimeType?: Maybe<Scalars['String']['output']>;
48840
49780
  /** PROGRAMME: seconds into the media file this item starts at (0 for other kinds). */
48841
49781
  mediaOffsetSeconds: Scalars['Float']['output'];
48842
- /** AD: https URL of the hosted creative. */
49782
+ /** AD: https URL of the creative. */
48843
49783
  mediaUrl?: Maybe<Scalars['String']['output']>;
48844
49784
  posterFileId?: Maybe<Scalars['ID']['output']>;
48845
49785
  scheduleBlockId?: Maybe<Scalars['ID']['output']>;
@@ -49080,6 +50020,106 @@ export declare enum HokOfferStatus {
49080
50020
  SENT = "SENT",
49081
50021
  WITHDRAWN = "WITHDRAWN"
49082
50022
  }
50023
+ export type HokOfflineDownload = {
50024
+ __typename?: 'HokOfflineDownload';
50025
+ /** Short-lived URL the device downloads the video from. */
50026
+ downloadUrl: Scalars['String']['output'];
50027
+ downloadUrlExpiresAt: Scalars['DateTime']['output'];
50028
+ downloadsUsed: Scalars['Int']['output'];
50029
+ license: HokOfflineLicense;
50030
+ maxDownloads?: Maybe<Scalars['Int']['output']>;
50031
+ mimeType?: Maybe<Scalars['String']['output']>;
50032
+ /** True when this device already held the license and only got a fresh URL. */
50033
+ renewed: Scalars['Boolean']['output'];
50034
+ };
50035
+ export type HokOfflineDownloadInput = {
50036
+ /** Opaque identifier the device generates once and keeps (8-128 letters, digits, '-' or '_'). */
50037
+ deviceId: Scalars['String']['input'];
50038
+ /** Set to download one episode of a series. */
50039
+ episodeId?: InputMaybe<Scalars['ID']['input']>;
50040
+ titleId: Scalars['ID']['input'];
50041
+ /** ISO 3166-1 alpha-2 territory of the viewer, when known. */
50042
+ viewerTerritory?: InputMaybe<Scalars['String']['input']>;
50043
+ };
50044
+ export type HokOfflineEligibility = {
50045
+ __typename?: 'HokOfflineEligibility';
50046
+ /** The ACTIVE license this device already holds for the title (episode), if any. */
50047
+ activeLicense?: Maybe<HokOfflineLicense>;
50048
+ downloadable: Scalars['Boolean']['output'];
50049
+ /** Downloads already issued to the viewer for this title (episode) under the window. */
50050
+ downloadsUsed: Scalars['Int']['output'];
50051
+ /** The applicable window's per-viewer cap; null means no cap (or no window). */
50052
+ maxDownloads?: Maybe<Scalars['Int']['output']>;
50053
+ offlineExpiryHours?: Maybe<Scalars['Int']['output']>;
50054
+ /** Set when downloadable is false. */
50055
+ reason?: Maybe<HokOfflineIneligibleReason>;
50056
+ };
50057
+ /** Why a title cannot be downloaded right now. */
50058
+ export declare enum HokOfflineIneligibleReason {
50059
+ /** The viewer has used every download the window allows for this title. */
50060
+ LIMIT_REACHED = "LIMIT_REACHED",
50061
+ /** No active paid (subscription, rental, purchase, PPV) entitlement. The free, ad-supported tier cannot be downloaded. */
50062
+ NOT_ENTITLED = "NOT_ENTITLED",
50063
+ /** No active rights window covering the viewer allows downloads. */
50064
+ NO_DOWNLOADABLE_WINDOW = "NO_DOWNLOADABLE_WINDOW",
50065
+ /** The title (or episode) has no video attached. */
50066
+ NO_SOURCE = "NO_SOURCE"
50067
+ }
50068
+ export type HokOfflineLicense = {
50069
+ __typename?: 'HokOfflineLicense';
50070
+ createdAt: Scalars['DateTime']['output'];
50071
+ deviceId: Scalars['String']['output'];
50072
+ episodeId?: Maybe<Scalars['ID']['output']>;
50073
+ /** The copy stops playing at this time. */
50074
+ expiresAt: Scalars['DateTime']['output'];
50075
+ id: Scalars['ID']['output'];
50076
+ issuedAt: Scalars['DateTime']['output'];
50077
+ mimeType?: Maybe<Scalars['String']['output']>;
50078
+ revokedAt?: Maybe<Scalars['DateTime']['output']>;
50079
+ rightsWindowId: Scalars['ID']['output'];
50080
+ status: HokOfflineLicenseStatus;
50081
+ statusReason?: Maybe<Scalars['String']['output']>;
50082
+ territory?: Maybe<Scalars['String']['output']>;
50083
+ title?: Maybe<HokTitle>;
50084
+ titleId: Scalars['ID']['output'];
50085
+ updatedAt: Scalars['DateTime']['output'];
50086
+ userId: Scalars['ID']['output'];
50087
+ workspaceId: Scalars['ID']['output'];
50088
+ };
50089
+ export type HokOfflineLicenseCheck = {
50090
+ __typename?: 'HokOfflineLicenseCheck';
50091
+ expiresAt?: Maybe<Scalars['DateTime']['output']>;
50092
+ licenseId: Scalars['ID']['output'];
50093
+ reason: HokOfflineLicenseCheckReason;
50094
+ status?: Maybe<HokOfflineLicenseStatus>;
50095
+ valid: Scalars['Boolean']['output'];
50096
+ };
50097
+ /** Outcome of re-validating one offline license. */
50098
+ export declare enum HokOfflineLicenseCheckReason {
50099
+ /** The viewer no longer holds a paid entitlement for the title. */
50100
+ ENTITLEMENT_ENDED = "ENTITLEMENT_ENDED",
50101
+ EXPIRED = "EXPIRED",
50102
+ /** No such license for the caller. */
50103
+ NOT_FOUND = "NOT_FOUND",
50104
+ RELEASED = "RELEASED",
50105
+ REVOKED = "REVOKED",
50106
+ VALID = "VALID",
50107
+ /** The rights window closed, was revoked or stopped allowing downloads. */
50108
+ WINDOW_ENDED = "WINDOW_ENDED"
50109
+ }
50110
+ export type HokOfflineLicenseConnection = {
50111
+ __typename?: 'HokOfflineLicenseConnection';
50112
+ items: Array<HokOfflineLicense>;
50113
+ pageInfo: HokPageInfo;
50114
+ /** Total number of rows matching the current filters, across all pages. */
50115
+ totalCount: Scalars['Int']['output'];
50116
+ };
50117
+ export declare enum HokOfflineLicenseStatus {
50118
+ ACTIVE = "ACTIVE",
50119
+ EXPIRED = "EXPIRED",
50120
+ RELEASED = "RELEASED",
50121
+ REVOKED = "REVOKED"
50122
+ }
49083
50123
  export type HokOnboardingStatus = {
49084
50124
  __typename?: 'HokOnboardingStatus';
49085
50125
  completedSteps: Scalars['Int']['output'];
@@ -49933,11 +50973,17 @@ export type HokRightsWindow = {
49933
50973
  contractFileId?: Maybe<Scalars['ID']['output']>;
49934
50974
  createdAt: Scalars['DateTime']['output'];
49935
50975
  currency: Scalars['String']['output'];
50976
+ /** Whether viewers entitled under this window may download the title for offline viewing (BOFF-10605). Off unless the studio opts in. */
50977
+ downloadable: Scalars['Boolean']['output'];
49936
50978
  endsAt?: Maybe<Scalars['DateTime']['output']>;
49937
50979
  exclusive: Scalars['Boolean']['output'];
49938
50980
  id: Scalars['ID']['output'];
49939
50981
  licenseeId?: Maybe<Scalars['ID']['output']>;
50982
+ /** How many offline downloads one viewer may be issued for the title (per episode for a series) under this window; null means no cap. */
50983
+ maxDownloadsPerUser?: Maybe<Scalars['Int']['output']>;
49940
50984
  modes: Array<HokMonetizationMode>;
50985
+ /** Hours a downloaded copy stays playable once issued. A download never outlives the window itself or the viewer's entitlement. */
50986
+ offlineExpiryHours: Scalars['Int']['output'];
49941
50987
  priceMinorUnits?: Maybe<Scalars['JSON']['output']>;
49942
50988
  startsAt?: Maybe<Scalars['DateTime']['output']>;
49943
50989
  status: HokRightsWindowStatus;
@@ -49954,6 +51000,13 @@ export type HokRightsWindowConnection = {
49954
51000
  /** Total number of rows matching the current filters, across all pages. */
49955
51001
  totalCount: Scalars['Int']['output'];
49956
51002
  };
51003
+ export type HokRightsWindowOfflinePolicyInput = {
51004
+ downloadable: Scalars['Boolean']['input'];
51005
+ /** 1-1000; null for no cap; omit to keep the current cap. */
51006
+ maxDownloadsPerUser?: InputMaybe<Scalars['Int']['input']>;
51007
+ /** 1-720; omit to keep the current expiry. */
51008
+ offlineExpiryHours?: InputMaybe<Scalars['Int']['input']>;
51009
+ };
49957
51010
  export declare enum HokRightsWindowStatus {
49958
51011
  ACTIVE = "ACTIVE",
49959
51012
  DRAFT = "DRAFT",
@@ -60736,11 +61789,52 @@ export type MtwDeliveryJobStatusHistory = {
60736
61789
  updatedBy?: Maybe<Scalars['String']['output']>;
60737
61790
  workspaceId: Scalars['ID']['output'];
60738
61791
  };
61792
+ /** The model that produced a forecast row. */
61793
+ export declare enum MtwDemandForecastModel {
61794
+ /** Reserved; never produced. Read as the moving-average heuristic. */
61795
+ HEURISTIC_GROWTH_RATE = "HEURISTIC_GROWTH_RATE",
61796
+ /** Blend of 4- and 12-week moving averages with a clamped growth term. */
61797
+ HEURISTIC_MOVING_AVG = "HEURISTIC_MOVING_AVG",
61798
+ /** Holt's linear trend exponential smoothing with a damped trend. */
61799
+ HOLT_LINEAR = "HOLT_LINEAR",
61800
+ /** Additive Holt-Winters exponential smoothing with a damped trend and a seasonal cycle in weeks. */
61801
+ HOLT_WINTERS = "HOLT_WINTERS"
61802
+ }
61803
+ /** Which model forecasts a lane or customer, and why. */
61804
+ export type MtwDemandForecastModelChoice = {
61805
+ __typename?: 'MtwDemandForecastModelChoice';
61806
+ candidates: Array<MtwDemandForecastModelScore>;
61807
+ evaluatedAt: Scalars['DateTime']['output'];
61808
+ /** Closed weeks of history the forecast rests on. */
61809
+ historyWeeks: Scalars['Int']['output'];
61810
+ /** Plain-language reason for the choice, quoting the back-test errors. */
61811
+ reason: Scalars['String']['output'];
61812
+ scopeKey: Scalars['String']['output'];
61813
+ /** Display name: the customer's name for CUSTOMER rows, `Origin → Destination` for LANE rows. */
61814
+ scopeLabel: Scalars['String']['output'];
61815
+ scopeType: DemandForecastScope;
61816
+ selectedModel: MtwDemandForecastModel;
61817
+ };
61818
+ /** One candidate model's back-test result for a lane or customer. */
61819
+ export type MtwDemandForecastModelScore = {
61820
+ __typename?: 'MtwDemandForecastModelScore';
61821
+ /** Closed weeks the model was scored on, predicting each one week ahead. */
61822
+ holdoutWeeks: Scalars['Int']['output'];
61823
+ /** Mean absolute percentage error on weekly volume over the back-test weeks (0.25 = 25%). Null when no back-test week had demand. */
61824
+ mape?: Maybe<Scalars['Float']['output']>;
61825
+ model: MtwDemandForecastModel;
61826
+ /** Holt-Winters only: weeks in the seasonal cycle that scored best. */
61827
+ seasonLengthWeeks?: Maybe<Scalars['Int']['output']>;
61828
+ /** This model produces the lane's or customer's forecast. */
61829
+ selected: Scalars['Boolean']['output'];
61830
+ };
60739
61831
  export type MtwDemandForecastPoint = {
60740
61832
  __typename?: 'MtwDemandForecastPoint';
60741
61833
  actualRevenue?: Maybe<Scalars['Float']['output']>;
60742
61834
  actualVolume?: Maybe<Scalars['Int']['output']>;
60743
61835
  confidence: Scalars['Float']['output'];
61836
+ /** The model this row was forecast with. */
61837
+ model: MtwDemandForecastModel;
60744
61838
  periodEnd: Scalars['DateTime']['output'];
60745
61839
  periodStart: Scalars['DateTime']['output'];
60746
61840
  predictedRevenue: Scalars['Float']['output'];
@@ -65422,48 +66516,131 @@ export type Mutation = {
65422
66516
  */
65423
66517
  brainyrichVaultDocumentDownloadUrl: Scalars['String']['output'];
65424
66518
  buiAcknowledgeCourseKnowledgeChange: Scalars['Boolean']['output'];
65425
- /** 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. */
66519
+ /**
66520
+ * Admin Q&A grounded in real workspace course/enrollment stats. Never
66521
+ * executes anything; may return `proposedActions` for the admin to confirm
66522
+ * (BOFF-9687). Restricted to EDITOR+ (same viewerDefault:false shape as
66523
+ * `buildmyiq-tutor:list`) — this is an operator surface, not a learner one.
66524
+ */
65426
66525
  buiAdminCopilotAsk: BuiAdminCopilotAnswer;
65427
66526
  /** Dismiss a proposal without running it. Only its proposer can dismiss it. */
65428
66527
  buiAdminCopilotDismissAction: BuiAdminCopilotProposedAction;
65429
- /** 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). */
66528
+ /**
66529
+ * Confirm and run a CONFIGURE_AUTOMATION proposal (BOFF-9888): saves the
66530
+ * proposed settings and turns the automation on or off through the same path
66531
+ * as `buiConfigureAutomation`, which it is gated like. The settings are
66532
+ * re-validated when confirmed (courses must still be published).
66533
+ */
65430
66534
  buiAdminCopilotExecuteAutomationAction: BuiAdminCopilotExecution;
65431
- /** 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. */
66535
+ /**
66536
+ * Confirm and run an ENROLL_LEARNERS proposal. Gated like `buiEnroll`.
66537
+ * Enrolls only learners from the confirmed snapshot who are still eligible;
66538
+ * each enrollment is recorded against `buildmyiq.enrollments.monthly`.
66539
+ * Only the admin whose question produced the proposal can confirm it.
66540
+ */
65432
66541
  buiAdminCopilotExecuteEnrollAction: BuiAdminCopilotExecution;
65433
- /** 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). */
66542
+ /**
66543
+ * Confirm and run a SEND_REMINDER proposal: one in-app notification per
66544
+ * learner with an unfinished enrollment from the confirmed snapshot. Gated
66545
+ * like `buiTransitionEnrollment` (acting on learners' enrollments).
66546
+ */
65434
66547
  buiAdminCopilotExecuteReminderAction: BuiAdminCopilotExecution;
65435
- /** Confirm and run an EXPORT_REPORT proposal; the CSV is returned in `reportCsv`. Gated like `buiListEnrollments`. */
66548
+ /**
66549
+ * Confirm and run an EXPORT_REPORT proposal; the CSV is returned in
66550
+ * `reportCsv`. Gated like `buiListEnrollments`.
66551
+ */
65436
66552
  buiAdminCopilotExecuteReportAction: BuiAdminCopilotExecution;
65437
66553
  buiAdvanceCatalogSync: BuiCatalogSyncRun;
65438
66554
  buiAdvanceCourseKnowledgeCapture: BuiCourseKnowledgeCaptureStep;
65439
- /** 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`. */
66555
+ /**
66556
+ * Creates a DRAFT assessment plus its questions from an educator-reviewed
66557
+ * draft. All questions are validated first, so an invalid draft writes
66558
+ * nothing. Publishing still requires `buiPublishAssessment`.
66559
+ */
65440
66560
  buiApplyAssessmentDraft: BuiAssessment;
65441
- /** 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. */
66561
+ /**
66562
+ * Creates a real DRAFT `BuiCourse` + its modules/lessons from a
66563
+ * (possibly-instructor-edited) outline. The course is left in DRAFT status —
66564
+ * publishing still requires the existing `buiPublishCourse` — so this can
66565
+ * never surface unreviewed AI content to learners.
66566
+ */
65442
66567
  buiApplyCourseOutline: BuiCourse;
65443
- /** 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. */
66568
+ /**
66569
+ * Archive an assessment (soft-delete) and release its reusable
66570
+ * `buildmyiq.assessments.count` quota slot so the workspace can create a
66571
+ * replacement without hitting the plan limit.
66572
+ */
65444
66573
  buiArchiveAssessment: Scalars['Boolean']['output'];
65445
66574
  /** Stop awarding a badge. Existing awards stay valid. */
65446
66575
  buiArchiveBadge: BuiBadge;
65447
66576
  buiArchiveCourse: Scalars['Boolean']['output'];
65448
66577
  /** Hide an object from insertion. Existing course copies are unaffected. */
65449
66578
  buiArchiveLearningObject: BuiLearningObject;
65450
- /** 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. */
66579
+ /**
66580
+ * Validate an uploaded .h5p package and attach it to an INTERACTIVE lesson,
66581
+ * replacing any package already attached. Rejected packages return
66582
+ * BAD_USER_INPUT with the reason and extensions.validationCode.
66583
+ */
65451
66584
  buiAttachInteractivePackage: BuiInteractivePackage;
65452
- /** 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. */
66585
+ /**
66586
+ * Validate an uploaded SCORM 1.2 or 2004 ZIP and attach it to an INTERACTIVE
66587
+ * lesson, replacing any SCORM package already attached. Rejected packages
66588
+ * return BAD_USER_INPUT with the reason and extensions.validationCode.
66589
+ */
66590
+ buiAttachScormPackage: BuiScormPackage;
66591
+ /**
66592
+ * Deterministically grades a submission whose assessment is entirely
66593
+ * objective questions (SINGLE_CHOICE / MULTIPLE_CHOICE / TRUE_FALSE) by
66594
+ * comparing learner answers to each question's answerKey — no LLM, no human
66595
+ * judgement. Throws if the assessment contains any SHORT_ANSWER/ESSAY/CODE
66596
+ * question; use `buiGradeSubmission` for those instead.
66597
+ */
65453
66598
  buiAutoScoreSubmission: BuiSubmission;
65454
- /** 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. */
66599
+ /**
66600
+ * Award a badge to a learner. Idempotent: awarding a badge the learner
66601
+ * already holds returns the existing award, and awarding a revoked one
66602
+ * reinstates it.
66603
+ */
65455
66604
  buiAwardBadge: BuiBadgeAward;
65456
66605
  buiCancelCatalogSync: BuiCatalogSyncRun;
65457
66606
  buiCaptureCourseKnowledgeSnapshot: BuiCourseKnowledgeSnapshot;
65458
- /** 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. */
66607
+ /**
66608
+ * Commit data model values from the SCORM player for one item of the caller's
66609
+ * own enrollment. Values are validated against the package's SCORM version;
66610
+ * the lesson completes when every item is completed or passed.
66611
+ */
66612
+ buiCommitMyScormRuntime: BuiScormCommitResult;
66613
+ /**
66614
+ * Deep Linking 2.0 handoff: an instructor picks a BuiAssessment to embed as
66615
+ * a graded activity in the platform course. Only committed on the platform
66616
+ * side once the FE auto-posts the returned JWT — this call itself never
66617
+ * writes any BuildMyIQ course content.
66618
+ */
65459
66619
  buiCompleteLtiDeepLink: BuiLtiDeepLinkResult;
65460
- /** 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. */
66620
+ /**
66621
+ * Resource-link launch handoff: links the authenticated actor to the LTI
66622
+ * subject from the ticket and upserts the resource-link<->assessment mapping.
66623
+ * Type-B self-scoped — identity always comes from the authenticated actor.
66624
+ */
65461
66625
  buiCompleteLtiLink: BuiLtiLaunchLinkResult;
65462
66626
  /** Finish the caller's enrollment after all course lessons are complete. */
65463
66627
  buiCompleteMyEnrollment: BuiEnrollment;
65464
- /** 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. */
66628
+ /**
66629
+ * Save an automation's settings and turn it on or off. Turning it on creates
66630
+ * (or updates) and activates its FluidGrids workflow; turning it off
66631
+ * deactivates the workflow, which also pauses its schedule.
66632
+ */
65465
66633
  buiConfigureAutomation: BuiAutomation;
65466
66634
  buiConfigureCourseAssistant: BuiCourseAssistantBinding;
66635
+ /**
66636
+ * Opt the workspace in or out of the autonomous early-warning loop and save
66637
+ * its settings. Enabling provisions (or updates) and activates the FluidGrids
66638
+ * workflow that owns the nightly schedule; disabling deactivates it. Off by
66639
+ * default — no workspace runs autonomous AI without this opt-in.
66640
+ */
66641
+ buiConfigureEarlyWarning: BuiEarlyWarning;
66642
+ /** Save the workspace's LRS endpoint and HTTP Basic credentials (the password is stored encrypted). */
66643
+ buiConfigureXapiLrs: BuiXapiLrsConfig;
65467
66644
  buiCreateAssessment: BuiAssessment;
65468
66645
  buiCreateBadge: BuiBadge;
65469
66646
  buiCreateCatalogConnector: BuiCatalogConnector;
@@ -65477,112 +66654,291 @@ export type Mutation = {
65477
66654
  buiDeactivateLtiPlatform: Scalars['Boolean']['output'];
65478
66655
  buiDeferCourseKnowledgeChange: Scalars['Boolean']['output'];
65479
66656
  buiDeleteCatalogConnector: Scalars['Boolean']['output'];
66657
+ /** Send queued statements to the LRS now instead of waiting for the background delivery. */
66658
+ buiDeliverXapiStatements: BuiXapiDeliveryRun;
65480
66659
  /** Detach the interactive package from a lesson. Past attempts are kept. */
65481
66660
  buiDetachInteractivePackage: Scalars['Boolean']['output'];
66661
+ /** Detach the SCORM package from a lesson. Learner run-time data is kept. */
66662
+ buiDetachScormPackage: Scalars['Boolean']['output'];
65482
66663
  buiDisableCourseAssistant: Scalars['Boolean']['output'];
65483
66664
  buiEnroll: BuiEnrollment;
65484
- /** Export a course with its modules, lessons and quizzes (including answer keys, so it needs course authoring permission). */
66665
+ /**
66666
+ * Export a course with its modules, lessons and quizzes (including answer
66667
+ * keys, so it needs course authoring permission).
66668
+ */
65485
66669
  buiExportCourse: BuiMigrationExport;
65486
66670
  /** Export a course's gradebook (enrollments, progress and quiz scores) as CSV. */
65487
66671
  buiExportCourseGradebook: BuiMigrationExport;
66672
+ /** Export every statement recorded for a course as xAPI JSON. */
66673
+ buiExportCourseXapiStatements: BuiXapiExport;
65488
66674
  /** Export the lesson's activity as a portable .h5p package. It contains the answer key. */
65489
66675
  buiExportInteractiveActivity: BuiInteractiveExport;
65490
66676
  buiFailCourseKnowledgeChange: Scalars['Boolean']['output'];
65491
66677
  buiGradeSubmission: BuiSubmission;
65492
- /** 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`). */
66678
+ /**
66679
+ * Import an uploaded Common Cartridge package or Moodle backup as a new DRAFT course with its
66680
+ * modules, lessons and quizzes. Counts against the course and assessment
66681
+ * plan quotas. Records a migration job either way. Media files the lessons
66682
+ * use are then uploaded to Files in the background (see the job's `media`).
66683
+ */
65493
66684
  buiImportCourse: BuiCourseImportResult;
65494
- /** 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. */
66685
+ /**
66686
+ * Write the grades of an uploaded gradebook CSV as graded submissions of the
66687
+ * course's assessments. A re-import updates the grades it wrote earlier.
66688
+ * Records a migration job either way.
66689
+ */
66690
+ buiImportGradebook: BuiGradebookImportResult;
66691
+ /**
66692
+ * Enroll the learners of an uploaded roster CSV in the mapped courses and
66693
+ * link their SIS ids / logins for later imports. Counts against the monthly
66694
+ * enrollment quota. Records a migration job either way.
66695
+ */
66696
+ buiImportRoster: BuiRosterImportResult;
66697
+ /**
66698
+ * Copy a repository version into a course: a lesson (optionally into a
66699
+ * module) or an assessment with its questions and rubrics, in one
66700
+ * transaction. Inserting an assessment uses an assessment quota slot.
66701
+ */
65495
66702
  buiInsertLearningObject: BuiInsertLearningObjectResult;
65496
66703
  buiIssueCertificate: BuiCertificate;
65497
- /** 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. */
66704
+ /**
66705
+ * Load the onboarding demo content (sample course with modules, lessons, a graded
66706
+ * assessment, a skill and a cohort) and enroll the caller in it. Idempotent.
66707
+ */
65498
66708
  buiLoadDemoContent: BuiDemoContentResult;
65499
66709
  /** Score an author's preview of an interactive lesson. Nothing is recorded. */
65500
66710
  buiPreviewInteractiveAttempt: BuiInteractiveAttemptResult;
65501
66711
  buiPublishAssessment: BuiAssessment;
65502
66712
  /** Publish a course through its authoring lifecycle (validated transitions). */
65503
66713
  buiPublishCourse: BuiCourse;
65504
- /** 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. */
66714
+ /**
66715
+ * Publish the current content of a lesson or assessment as the object's next
66716
+ * version. Existing course copies keep the version they were made from.
66717
+ */
65505
66718
  buiPublishLearningObjectVersion: BuiLearningObject;
65506
66719
  buiReconcileCourseSourceChanges: BuiCourseSourceCheckReceipt;
65507
66720
  buiRecordLessonProgress: BuiLessonProgress;
65508
66721
  /** Record progress only for the caller's active enrollment and a lesson in that course. */
65509
66722
  buiRecordMyLessonProgress: BuiLessonProgress;
65510
- /** 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`. */
66723
+ /**
66724
+ * BOFF-9690: records a batch (max 50) of signal episodes the learner's
66725
+ * browser observed during an APPROVED, unexpired proctored attempt.
66726
+ * Owner-scoped like `buiReportProctoringViolation` (a learner can only write
66727
+ * to their OWN session). Lockdown signals also increment `violationCount`; AI
66728
+ * signals require the assessment's `aiProctoringEnabled` and the learner's
66729
+ * recorded consent. Never changes `status`.
66730
+ */
65511
66731
  buiRecordProctoringSignals: BuiProctoringSession;
65512
66732
  /** Workspace admin registers a new LMS platform to launch into this tool. */
65513
66733
  buiRegisterLtiPlatform: BuiLtiPlatform;
65514
66734
  /** Remove the onboarding demo content. Returns false when none is loaded. */
65515
66735
  buiRemoveDemoContent: Scalars['Boolean']['output'];
65516
- /** 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. */
66736
+ /** Remove the LRS settings and credentials. Queued statements are kept as STORED. */
66737
+ buiRemoveXapiLrs: Scalars['Boolean']['output'];
66738
+ /**
66739
+ * Records a best-effort browser-lockdown violation (tab-hidden/blur) the
66740
+ * client observed during a proctored attempt. Owner-scoped, same as
66741
+ * `buiSubmitProctoringIdentity` — never changes `status` on its own.
66742
+ */
65517
66743
  buiReportProctoringViolation: BuiProctoringSession;
65518
66744
  /** Re-open an archived badge for awarding. */
65519
66745
  buiRestoreBadge: BuiBadge;
65520
66746
  buiRestoreLearningObject: BuiLearningObject;
65521
66747
  buiRetryCourseAssistantDelivery?: Maybe<BuiCourseAssistantTurn>;
65522
- /** 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`. */
66748
+ /** Queue FAILED statements (optionally one course's) for delivery again. Returns how many were queued. */
66749
+ buiRetryFailedXapiStatements: Scalars['Int']['output'];
66750
+ /**
66751
+ * Educator marks a previously generated grading suggestion ACCEPTED or
66752
+ * REJECTED (never PENDING — rejected as invalid input) so the
66753
+ * suggestion->acceptance rate is measurable. Gated identically to
66754
+ * `buiSuggestGrade`/`buiGradeSubmission`.
66755
+ */
65523
66756
  buiReviewGradeSuggestion: BuiGradeSuggestion;
65524
- /** Learner marks a previously generated next-lesson suggestion ACCEPTED or REJECTED. Type-B self-scoped, mirrors `buiSuggestNextLesson`. */
66757
+ /**
66758
+ * Learner marks a previously generated next-lesson suggestion ACCEPTED or
66759
+ * REJECTED. Type-B self-scoped, mirrors `buiSuggestNextLesson`.
66760
+ */
65525
66761
  buiReviewNextLessonSuggestion: BuiNextLessonSuggestion;
65526
- /** 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. */
66762
+ /**
66763
+ * BOFF-4431 (3/3): instructor/admin reviews an UNDER_REVIEW session and
66764
+ * approves or rejects it. Only an APPROVED, unexpired session satisfies the
66765
+ * `requiresProctoring` gate on `buiSubmitAssessment`. Gated on the review-queue
66766
+ * permission (`list`), not `update`: every learner holds `update` so they can
66767
+ * submit their own identity, and must not be able to approve someone else's.
66768
+ */
65527
66769
  buiReviewProctoringSession: BuiProctoringSession;
65528
- /** 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. */
66770
+ /**
66771
+ * Educator override of one AI tutor answer (BOFF-9663): annotate, correct,
66772
+ * redact, or clear a previous review. The original answer is never
66773
+ * overwritten; each action is appended to the answer's review history.
66774
+ * Restricted to EDITOR+ via wspace-rbac-svc action-catalog
66775
+ * `buildmyiq-tutor:update` (viewerDefault: false), so learners cannot alter
66776
+ * answers. Later tutor turns in the same session see the reviewed version.
66777
+ */
65529
66778
  buiReviewTutorAnswer: BuiTutorMessage;
65530
66779
  buiRevokeBadgeAward: BuiBadgeAward;
65531
66780
  buiRevokeCertificate: BuiCertificate;
65532
66781
  /** Run a scheduled automation now (the overdue sweep) instead of waiting for its schedule. */
65533
66782
  buiRunAutomationNow: BuiAutomationRun;
65534
- /** Save a published course for later on the caller's own list. Idempotent: saving a course that is already saved returns the existing entry. */
66783
+ /** Run the early-warning sweep now instead of waiting for the nightly schedule. */
66784
+ buiRunEarlyWarningSweep: BuiEarlyWarningRun;
66785
+ /**
66786
+ * Save a published course for later on the caller's own list. Idempotent:
66787
+ * saving a course that is already saved returns the existing entry.
66788
+ */
65535
66789
  buiSaveCourse: BuiSavedCourse;
65536
- /** 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. */
66790
+ /**
66791
+ * Create or edit the activity of an INTERACTIVE lesson in the browser. The
66792
+ * draft is validated with the same rules and limits as an uploaded package.
66793
+ * Editing an imported package keeps its original file id. Rejected drafts
66794
+ * return BAD_USER_INPUT with the reason and extensions.validationCode.
66795
+ */
65537
66796
  buiSaveInteractiveActivity: BuiInteractivePackage;
65538
66797
  /** Save a lesson or assessment to the repository as version 1 of a new object. */
65539
66798
  buiSaveToRepository: BuiLearningObject;
65540
66799
  buiSetCatalogItemSkills: BuiExternalCatalogItem;
65541
66800
  buiSetCatalogPublication: BuiExternalCatalogItem;
65542
- /** 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. */
66801
+ /**
66802
+ * Set or clear an enrollment's due date (BOFF-9688). A due date in the past
66803
+ * makes the enrollment overdue; changing it re-arms the overdue reminder.
66804
+ */
65543
66805
  buiSetEnrollmentDueDate: BuiEnrollment;
65544
66806
  /** Change the pass mark of a lesson's interactive package. */
65545
66807
  buiSetInteractivePassMark: BuiInteractivePackage;
65546
- /** 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. */
66808
+ /**
66809
+ * BOFF-4429: replaces the FULL set of grading-rubric criteria for a
66810
+ * question (delete-then-recreate semantics — simplest correct CRUD for an
66811
+ * ordered, small list an instructor edits as a whole in the authoring UI).
66812
+ * Pass an empty array to clear the rubric back to holistic grading.
66813
+ */
65547
66814
  buiSetRubricCriteria: Array<BuiRubricCriterion>;
65548
66815
  buiStartCatalogSync: BuiCatalogSyncRun;
65549
66816
  buiStartCourseAssistantTurn: BuiCourseAssistantHandle;
65550
- /** 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. */
66817
+ /**
66818
+ * BOFF-4431 (1/3): a learner begins a proctored attempt at a
66819
+ * `requiresProctoring` assessment. Creates a PENDING session scoped to the
66820
+ * calling actor (never a client-suppliable learnerId) with a 4-hour
66821
+ * expiry — `buiSubmitAssessment` will refuse to accept an attempt on this
66822
+ * assessment until the session reaches APPROVED.
66823
+ */
65551
66824
  buiStartProctoringSession: BuiProctoringSession;
65552
66825
  buiSubmitAssessment: BuiSubmission;
65553
- /** 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. */
66826
+ /**
66827
+ * Submit the caller's responses to an interactive lesson in their own
66828
+ * enrollment. The attempt is scored on the server and recorded with an xAPI
66829
+ * statement; a passing attempt completes the lesson.
66830
+ */
65554
66831
  buiSubmitMyInteractiveAttempt: BuiInteractiveAttemptResult;
65555
- /** 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. */
66832
+ /**
66833
+ * Type-A self write: record the caller's path-finder answers on their learner
66834
+ * profile and stamp `pathFinderCompletedAt`. Read `buiRecommendPaths`
66835
+ * afterwards for the resulting recommendations.
66836
+ */
65556
66837
  buiSubmitPathFinder: BuiLearnerProfile;
65557
- /** 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). */
66838
+ /**
66839
+ * BOFF-4431 (2/3): the learner submits their identity photo/ID and
66840
+ * acknowledges the browser-lockdown terms, moving the session to
66841
+ * UNDER_REVIEW for an instructor to decide. Owner-scoped — a learner can
66842
+ * only submit to their OWN session (see resolver).
66843
+ */
65558
66844
  buiSubmitProctoringIdentity: BuiProctoringSession;
65559
- /** AI-drafted assessment questions grounded in the course (or one lesson's) real content. Ephemeral suggestion: nothing is written until the educator calls `buiApplyAssessmentDraft`. */
66845
+ /**
66846
+ * AI-drafted assessment questions grounded in the course (or one lesson's)
66847
+ * real content. Ephemeral suggestion: nothing is written until the educator
66848
+ * calls `buiApplyAssessmentDraft`.
66849
+ */
65560
66850
  buiSuggestAssessmentDraft: BuiAssessmentDraftSuggestion;
65561
- /** 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`). */
66851
+ /**
66852
+ * AI-drafted course outline from a topic description — an ephemeral
66853
+ * suggestion (not persisted), reviewed/edited by the instructor before
66854
+ * `buiApplyCourseOutline` creates anything real. Honest fail-clear with no
66855
+ * LLM key configured (mirrors `buiSuggestGrade`).
66856
+ */
65562
66857
  buiSuggestCourseOutline: BuiCourseOutlineSuggestion;
65563
- /** 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. */
66858
+ /**
66859
+ * Grading assistance: proposes a score + rubric-anchored per-question
66860
+ * feedback for a submission's open-ended questions, via the same LLM
66861
+ * provider chain the AI tutor uses. Reads each open-ended question's
66862
+ * server-side-only `answerKey`/`explanation` as grading context — never
66863
+ * exposed to learners.
66864
+ *
66865
+ * NEVER writes `BuiSubmission.score`/`passed`/`feedback` — the proposal is
66866
+ * persisted as a `BuiAiSuggestion` (kind: GRADE, outcome: PENDING) for
66867
+ * educator review; committing a grade still requires the existing
66868
+ * `buiGradeSubmission`. Gated identically to that mutation — an actor who
66869
+ * can AI-draft a grade must also be allowed to actually grade.
66870
+ */
65564
66871
  buiSuggestGrade: BuiGradeSuggestion;
65565
- /** 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`. */
66872
+ /**
66873
+ * Adaptive sequencing: decides the calling learner's next lesson from their
66874
+ * own `BuiLessonProgress` trail across the enrolled course's lesson
66875
+ * sequence, plus a pacing hint derived from recent graded `BuiSubmission`
66876
+ * scores in that course (same 3-bucket mastery signal the AI tutor uses,
66877
+ * see `IntelligenceService.computeMasteryBucket`). Deterministic — a
66878
+ * curriculum-order "resume where you left off" walk, not an LLM call (see
66879
+ * `IntelligenceService` doc comment for why this pass scoped it that way).
66880
+ *
66881
+ * Persists a `BuiAiSuggestion` (kind: NEXT_LESSON) so the decision is
66882
+ * auditable; never writes `BuiLessonProgress`/`BuiEnrollment` itself.
66883
+ *
66884
+ * Type-B self-scoped: `enrollmentId` is a client arg, but the resolver
66885
+ * owner-filters by the authenticated actor — mirrors `buiMyEnrollment`.
66886
+ */
65566
66887
  buiSuggestNextLesson: BuiNextLessonSuggestion;
65567
- /** Service-only (BOFF-3134): upsert the canonical certificate mirroring a source product's certificate. The course must have been synced first. */
66888
+ /**
66889
+ * Service-only (BOFF-3134): upsert the canonical certificate mirroring a
66890
+ * source product's certificate. The course must have been synced first.
66891
+ */
65568
66892
  buiSyncExternalCertificate: BuiCertificate;
65569
- /** Service-only (BOFF-3134): upsert the canonical course mirroring a source product's course. Returns the canonical BuiCourse. */
66893
+ /**
66894
+ * Service-only (BOFF-3134): upsert the canonical course mirroring a source
66895
+ * product's course. Returns the canonical BuiCourse.
66896
+ */
65570
66897
  buiSyncExternalCourse: BuiCourse;
65571
- /** Service-only (BOFF-3134): upsert the canonical enrollment mirroring a source product's enrollment. The course must have been synced first. */
66898
+ /**
66899
+ * Service-only (BOFF-3134): upsert the canonical enrollment mirroring a source
66900
+ * product's enrollment. The course must have been synced first.
66901
+ */
65572
66902
  buiSyncExternalEnrollment: BuiEnrollment;
65573
- /** Service-only (BOFF-10464): upsert the canonical lesson mirroring a source product's lesson. The course must have been synced first. */
66903
+ /**
66904
+ * Service-only (BOFF-10464): upsert the canonical lesson mirroring a source
66905
+ * product's lesson. The course must have been synced first.
66906
+ */
65574
66907
  buiSyncExternalLesson: BuiLesson;
65575
- /** 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. */
66908
+ /**
66909
+ * Service-only (BOFF-10464): upsert the canonical lesson progress mirroring a
66910
+ * source product's lesson completion. The enrollment and the lesson must have
66911
+ * been synced first.
66912
+ */
65576
66913
  buiSyncExternalLessonProgress: BuiLessonProgress;
65577
- /** 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`). */
66914
+ /**
66915
+ * Real AGS score-publish for one graded submission to the LMS gradebook via
66916
+ * the given resource link's line item. Never re-grades — the submission
66917
+ * must already be graded (`buiGradeSubmission`/`buiAutoScoreSubmission`).
66918
+ */
65578
66919
  buiSyncLtiGrade: BuiLtiGradeSync;
65579
- /** Names and Role Provisioning Services roster sync: fetches the LMS course roster for this LTI placement and upserts `BuiLtiContextMembership` rows. */
66920
+ /**
66921
+ * Names and Role Provisioning Services roster sync: fetches the LMS course
66922
+ * roster for this LTI placement and upserts `BuiLtiContextMembership` rows.
66923
+ */
65580
66924
  buiSyncLtiRoster: Array<BuiLtiRosterMember>;
66925
+ /** Check the saved LRS settings: GET /about, then an authenticated statements request. */
66926
+ buiTestXapiLrs: BuiXapiConnectionCheck;
65581
66927
  /** Advance an enrollment through its lifecycle (validated transitions). */
65582
66928
  buiTransitionEnrollment: BuiEnrollment;
65583
- /** 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. */
66929
+ /**
66930
+ * Ask the AI tutor a question about a lesson. The answer is grounded in the
66931
+ * lesson's actual content (plus term-overlap-matched sibling lessons in the
66932
+ * same course — see TutorService.retrieveGrounding) — never an ungrounded
66933
+ * chat completion. Identity is always the authenticated actor; a client
66934
+ * cannot ask on another learner's behalf and cannot continue a session it
66935
+ * does not own.
66936
+ */
65584
66937
  buiTutorAsk: BuiTutorAskPayload;
65585
- /** Remove a course from the caller's own saved list. Idempotent: returns false when the course was not saved. */
66938
+ /**
66939
+ * Remove a course from the caller's own saved list. Idempotent: returns false
66940
+ * when the course was not saved.
66941
+ */
65586
66942
  buiUnsaveCourse: Scalars['Boolean']['output'];
65587
66943
  /** Save the workspace's AI content controls. Admin only. */
65588
66944
  buiUpdateAiSettings: BuiAiSettings;
@@ -68101,8 +69457,10 @@ export type Mutation = {
68101
69457
  hokCancelCallback: HokCallback;
68102
69458
  /** Engage the talent of an ACCEPTED (or COMPLETED) casting offer as a cast member of the offer's production — auditions → cast → call sheets. */
68103
69459
  hokCastFromOffer: HokProductionMember;
68104
- /** 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. */
69460
+ /** 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). */
68105
69461
  hokChannelStreamHeartbeat: HokChannelStream;
69462
+ /** 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. */
69463
+ hokCheckOfflineLicenses: Array<HokOfflineLicenseCheck>;
68106
69464
  hokCloseAudition: HokAudition;
68107
69465
  hokCompleteCallback: HokCallback;
68108
69466
  /** Mark an accepted engagement as finished; unlocks ratings for both sides. */
@@ -68159,7 +69517,7 @@ export type Mutation = {
68159
69517
  hokDeleteStudio: Scalars['Boolean']['output'];
68160
69518
  /** Stop the feed; its URL answers 404 until it is enabled again. Idempotent. */
68161
69519
  hokDisableChannelHlsFeed: HokChannelHlsFeed;
68162
- /** Turn the channel's HLS feed on, or switch its slate. The URL is kept across re-enables. */
69520
+ /** 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. */
68163
69521
  hokEnableChannelHlsFeed: HokChannelHlsFeed;
68164
69522
  /** Tune out of a linear session (self-scoped). Idempotent. */
68165
69523
  hokEndChannelStream: Scalars['Boolean']['output'];
@@ -68208,6 +69566,8 @@ export type Mutation = {
68208
69566
  hokRecordProgress: HokWatchProgress;
68209
69567
  /** Record recommendation impressions/clicks for the calling viewer (max 50 per call). Returns the number of events stored. */
68210
69568
  hokRecordRecommendationEvents: Scalars['Int']['output'];
69569
+ /** Record that the caller deleted a downloaded copy (self-scoped, idempotent). */
69570
+ hokReleaseOfflineLicense: Scalars['Boolean']['output'];
68211
69571
  /** Remove a credit (soft delete). Credits carry no mutable metadata — correct a mistake by removing and re-adding. */
68212
69572
  hokRemoveCredit: Scalars['Boolean']['output'];
68213
69573
  /** Soft-delete the onboarding sample data. Content the workspace created itself is never touched. */
@@ -68232,6 +69592,8 @@ export type Mutation = {
68232
69592
  hokRequestAdBreak: HokAdBreak;
68233
69593
  /** 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. */
68234
69594
  hokRequestAdSchedule: HokAdSchedule;
69595
+ /** 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. */
69596
+ hokRequestOfflineDownload: HokOfflineDownload;
68235
69597
  hokResolveDispute: HokDispute;
68236
69598
  hokResolveModerationFlag: HokModerationFlag;
68237
69599
  hokRespondToCallback: HokCallback;
@@ -68268,6 +69630,8 @@ export type Mutation = {
68268
69630
  hokSetPreferences: HokPreferences;
68269
69631
  /** 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). */
68270
69632
  hokSetProductionResultingTitle: HokProduction;
69633
+ /** Set a rights window's offline download policy. */
69634
+ hokSetRightsWindowOfflinePolicy: HokRightsWindow;
68271
69635
  /** 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. */
68272
69636
  hokSetRoyaltyRevenuePool: HokRoyaltyRevenuePool;
68273
69637
  /** Replace a scene's cast requirements with the given cast members. */
@@ -68276,7 +69640,7 @@ export type Mutation = {
68276
69640
  hokSetTasteFeedback: HokTasteFeedback;
68277
69641
  /** 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. */
68278
69642
  hokSetTitleRoyaltySplits: Array<HokRoyaltySplit>;
68279
- /** 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. */
69643
+ /** 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. */
68280
69644
  hokStartChannelStream: HokChannelStream;
68281
69645
  hokStartDisputeReview: HokDispute;
68282
69646
  hokSubmitDisputeStatement: HokDispute;
@@ -69724,6 +71088,7 @@ export type Mutation = {
69724
71088
  /** Reactivate an archived workspace (sets status to ACTIVE) */
69725
71089
  reactivateWorkspace: Workspace;
69726
71090
  rebuildKnowledgeBaseIndex: Scalars['Boolean']['output'];
71091
+ /** Recalculate now. `weeksOfHistory` is clamped to 4-104 closed weeks. */
69727
71092
  recalculateDemandForecasts: Scalars['Int']['output'];
69728
71093
  /** 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. */
69729
71094
  recallHealthyBowlTraceBatch: TraceBatch;
@@ -74202,6 +75567,10 @@ export type MutationBuiAttachInteractivePackageArgs = {
74202
75567
  input: BuiAttachInteractivePackageInput;
74203
75568
  };
74204
75569
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
75570
+ export type MutationBuiAttachScormPackageArgs = {
75571
+ input: BuiAttachScormPackageInput;
75572
+ };
75573
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74205
75574
  export type MutationBuiAutoScoreSubmissionArgs = {
74206
75575
  id: Scalars['ID']['input'];
74207
75576
  };
@@ -74218,6 +75587,10 @@ export type MutationBuiCaptureCourseKnowledgeSnapshotArgs = {
74218
75587
  courseId: Scalars['ID']['input'];
74219
75588
  };
74220
75589
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
75590
+ export type MutationBuiCommitMyScormRuntimeArgs = {
75591
+ input: BuiCommitScormRuntimeInput;
75592
+ };
75593
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74221
75594
  export type MutationBuiCompleteLtiDeepLinkArgs = {
74222
75595
  assessmentId: Scalars['ID']['input'];
74223
75596
  ticketId: Scalars['ID']['input'];
@@ -74240,6 +75613,14 @@ export type MutationBuiConfigureCourseAssistantArgs = {
74240
75613
  courseId: Scalars['ID']['input'];
74241
75614
  };
74242
75615
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
75616
+ export type MutationBuiConfigureEarlyWarningArgs = {
75617
+ input: BuiConfigureEarlyWarningInput;
75618
+ };
75619
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
75620
+ export type MutationBuiConfigureXapiLrsArgs = {
75621
+ input: BuiConfigureXapiLrsInput;
75622
+ };
75623
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74243
75624
  export type MutationBuiCreateAssessmentArgs = {
74244
75625
  input: BuiCreateAssessmentInput;
74245
75626
  };
@@ -74295,6 +75676,10 @@ export type MutationBuiDetachInteractivePackageArgs = {
74295
75676
  lessonId: Scalars['ID']['input'];
74296
75677
  };
74297
75678
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
75679
+ export type MutationBuiDetachScormPackageArgs = {
75680
+ lessonId: Scalars['ID']['input'];
75681
+ };
75682
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74298
75683
  export type MutationBuiDisableCourseAssistantArgs = {
74299
75684
  courseId: Scalars['ID']['input'];
74300
75685
  };
@@ -74312,6 +75697,10 @@ export type MutationBuiExportCourseGradebookArgs = {
74312
75697
  courseId: Scalars['ID']['input'];
74313
75698
  };
74314
75699
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
75700
+ export type MutationBuiExportCourseXapiStatementsArgs = {
75701
+ courseId: Scalars['ID']['input'];
75702
+ };
75703
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74315
75704
  export type MutationBuiExportInteractiveActivityArgs = {
74316
75705
  lessonId: Scalars['ID']['input'];
74317
75706
  };
@@ -74330,6 +75719,14 @@ export type MutationBuiImportCourseArgs = {
74330
75719
  input: BuiImportCourseInput;
74331
75720
  };
74332
75721
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
75722
+ export type MutationBuiImportGradebookArgs = {
75723
+ input: BuiGradebookImportInput;
75724
+ };
75725
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
75726
+ export type MutationBuiImportRosterArgs = {
75727
+ input: BuiRosterImportInput;
75728
+ };
75729
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74333
75730
  export type MutationBuiInsertLearningObjectArgs = {
74334
75731
  input: BuiInsertLearningObjectInput;
74335
75732
  };
@@ -74389,6 +75786,10 @@ export type MutationBuiRetryCourseAssistantDeliveryArgs = {
74389
75786
  courseId: Scalars['ID']['input'];
74390
75787
  };
74391
75788
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
75789
+ export type MutationBuiRetryFailedXapiStatementsArgs = {
75790
+ courseId?: InputMaybe<Scalars['ID']['input']>;
75791
+ };
75792
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74392
75793
  export type MutationBuiReviewGradeSuggestionArgs = {
74393
75794
  id: Scalars['ID']['input'];
74394
75795
  outcome: BuiAiSuggestionOutcome;
@@ -81480,9 +82881,15 @@ export type MutationHokCastFromOfferArgs = {
81480
82881
  };
81481
82882
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
81482
82883
  export type MutationHokChannelStreamHeartbeatArgs = {
82884
+ consent?: InputMaybe<HokAdConsentInput>;
82885
+ pageUrl?: InputMaybe<Scalars['String']['input']>;
81483
82886
  sessionId: Scalars['ID']['input'];
81484
82887
  };
81485
82888
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
82889
+ export type MutationHokCheckOfflineLicensesArgs = {
82890
+ ids: Array<Scalars['ID']['input']>;
82891
+ };
82892
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
81486
82893
  export type MutationHokCloseAuditionArgs = {
81487
82894
  id: Scalars['ID']['input'];
81488
82895
  };
@@ -81666,6 +83073,8 @@ export type MutationHokDisableChannelHlsFeedArgs = {
81666
83073
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
81667
83074
  export type MutationHokEnableChannelHlsFeedArgs = {
81668
83075
  channelId: Scalars['ID']['input'];
83076
+ ladderSlatePackageIds?: InputMaybe<Array<Scalars['ID']['input']>>;
83077
+ scte35?: InputMaybe<Scalars['Boolean']['input']>;
81669
83078
  slatePackageId: Scalars['ID']['input'];
81670
83079
  };
81671
83080
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
@@ -81769,6 +83178,10 @@ export type MutationHokRecordRecommendationEventsArgs = {
81769
83178
  events: Array<HokRecommendationEventInput>;
81770
83179
  };
81771
83180
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
83181
+ export type MutationHokReleaseOfflineLicenseArgs = {
83182
+ id: Scalars['ID']['input'];
83183
+ };
83184
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
81772
83185
  export type MutationHokRemoveCreditArgs = {
81773
83186
  id: Scalars['ID']['input'];
81774
83187
  };
@@ -81820,6 +83233,10 @@ export type MutationHokRequestAdScheduleArgs = {
81820
83233
  input: HokAdScheduleInput;
81821
83234
  };
81822
83235
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
83236
+ export type MutationHokRequestOfflineDownloadArgs = {
83237
+ input: HokOfflineDownloadInput;
83238
+ };
83239
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
81823
83240
  export type MutationHokResolveDisputeArgs = {
81824
83241
  input: HokResolveDisputeInput;
81825
83242
  };
@@ -81913,6 +83330,11 @@ export type MutationHokSetProductionResultingTitleArgs = {
81913
83330
  titleId?: InputMaybe<Scalars['ID']['input']>;
81914
83331
  };
81915
83332
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
83333
+ export type MutationHokSetRightsWindowOfflinePolicyArgs = {
83334
+ id: Scalars['ID']['input'];
83335
+ input: HokRightsWindowOfflinePolicyInput;
83336
+ };
83337
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
81916
83338
  export type MutationHokSetRoyaltyRevenuePoolArgs = {
81917
83339
  input: HokSetRoyaltyRevenuePoolInput;
81918
83340
  };
@@ -81934,7 +83356,9 @@ export type MutationHokSetTitleRoyaltySplitsArgs = {
81934
83356
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
81935
83357
  export type MutationHokStartChannelStreamArgs = {
81936
83358
  channelId: Scalars['ID']['input'];
83359
+ consent?: InputMaybe<HokAdConsentInput>;
81937
83360
  device?: InputMaybe<Scalars['String']['input']>;
83361
+ pageUrl?: InputMaybe<Scalars['String']['input']>;
81938
83362
  profileId?: InputMaybe<Scalars['ID']['input']>;
81939
83363
  territory?: InputMaybe<Scalars['String']['input']>;
81940
83364
  };
@@ -103945,7 +105369,11 @@ export type Query = {
103945
105369
  braVaultGrantedDocuments: Array<BraVaultGrantedDocument>;
103946
105370
  budget?: Maybe<AssetBudget>;
103947
105371
  budgets: Array<AssetBudget>;
103948
- /** 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`. */
105372
+ /**
105373
+ * The workspace's admin copilot proposals and their outcomes, newest first —
105374
+ * the audit trail of what was proposed, who confirmed or dismissed it, and
105375
+ * what ran. Same gate as `buiAdminCopilotAsk`.
105376
+ */
103949
105377
  buiAdminCopilotActions: Array<BuiAdminCopilotProposedAction>;
103950
105378
  /** The workspace's AI content controls (block-list applied to every AI authoring and tutor call). */
103951
105379
  buiAiSettings: BuiAiSettings;
@@ -103960,19 +105388,48 @@ export type Query = {
103960
105388
  /** The workspace badge catalog. */
103961
105389
  buiBadges: BuiBadgeConnection;
103962
105390
  buiCatalogPublicationConsentVersion: Scalars['String']['output'];
103963
- /** Checks draft content an author is writing (before it is saved) against the WCAG 2.1 source rules. Stateless: reads and writes nothing. */
105391
+ /**
105392
+ * Checks draft content an author is writing (before it is saved) against the
105393
+ * WCAG 2.1 source rules. Stateless: reads and writes nothing.
105394
+ */
103964
105395
  buiCheckContentAccessibility: BuiAccessibilityReport;
103965
105396
  buiCourse?: Maybe<BuiCourse>;
103966
- /** Checks every saved piece of authored content in one course: its summary and description, lesson bodies, assessment descriptions, and question prompts, options and explanations. */
105397
+ /**
105398
+ * Checks every saved piece of authored content in one course: its summary and
105399
+ * description, lesson bodies, assessment descriptions, and question prompts,
105400
+ * options and explanations.
105401
+ */
103967
105402
  buiCourseAccessibilityReport: BuiCourseAccessibilityReport;
103968
105403
  buiCourseAssistantSettings: BuiCourseAssistantSettings;
103969
- /** 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). */
105404
+ /**
105405
+ * M2M system-of-record point read (OVL-24): resolve a single learner's
105406
+ * canonical enrollment in a specific BuildMyIQ course — returns the learner's
105407
+ * most recent non-deleted enrollment, or null if they have never enrolled in
105408
+ * that course.
105409
+ *
105410
+ * This is the composition primitive a consuming subgraph
105411
+ * (e.g. wspace-technospam-svc) uses once it references a `BuiCourse` via
105412
+ * `@key`: it needs the learner's canonical enrollment / progress / completion
105413
+ * state (BuildMyIQ is the system of record) without enumerating every
105414
+ * enrollment in the workspace and filtering client-side (cf.
105415
+ * `buiListEnrollments`, which is the cross-learner instructor/admin list).
105416
+ * Gated on the same `buildmyiq-enrollment` read action as `buiEnrollment`, so
105417
+ * it reuses the existing RBAC grants (no new seed).
105418
+ */
103970
105419
  buiCourseEnrollment?: Maybe<BuiEnrollment>;
103971
105420
  buiCourseKnowledgeSnapshotSources: BuiCourseKnowledgeSnapshotSourcePage;
103972
105421
  /** Machine-only published course source export; not a learner access grant. */
103973
105422
  buiCourseKnowledgeSources: BuiCourseKnowledgeSourcePage;
105423
+ /** The workspace's early-warning opt-in and settings. */
105424
+ buiEarlyWarning: BuiEarlyWarning;
105425
+ /** Recent early-warning runs, newest first — the per-invocation ledger an admin audits. */
105426
+ buiEarlyWarningRuns: BuiEarlyWarningRunConnection;
103974
105427
  buiEnrollment?: Maybe<BuiEnrollment>;
103975
- /** 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. */
105428
+ /**
105429
+ * Service-only (BOFF-10480): the canonical state of the given source records,
105430
+ * for the source product's parity check. Ids with no canonical row are simply
105431
+ * absent from the result.
105432
+ */
103976
105433
  buiExternalSyncRecords: Array<BuiExternalSyncRecord>;
103977
105434
  /** Liveness/identity probe for the Buildmyiq subgraph. */
103978
105435
  buiHealth: Scalars['String']['output'];
@@ -103983,38 +105440,119 @@ export type Query = {
103983
105440
  buiLearningObject?: Maybe<BuiLearningObject>;
103984
105441
  /** One version of a repository object, or null when it does not exist. */
103985
105442
  buiLearningObjectVersion?: Maybe<BuiLearningObjectVersion>;
103986
- /** Browse the workspace repository, most recently updated first. `search` matches the title and description; `tag` and `skillId` filter exactly. */
105443
+ /**
105444
+ * Browse the workspace repository, most recently updated first. `search`
105445
+ * matches the title and description; `tag` and `skillId` filter exactly.
105446
+ */
103987
105447
  buiLearningObjects: BuiLearningObjectConnection;
103988
105448
  /** The H5P package attached to a lesson, with validation details (authoring view). */
103989
105449
  buiLessonInteractivePackage?: Maybe<BuiInteractivePackage>;
105450
+ /** The SCORM package attached to a lesson, with its items and validation notes (authoring view). */
105451
+ buiLessonScormPackage?: Maybe<BuiScormPackage>;
103990
105452
  buiListAssessments: BuiAssessmentConnection;
103991
- /** Workspace-wide badge awards (credential issuers only, like `buiListCertificates`). Learners read their own awards through `buiMyBadgeAwards`. */
105453
+ /**
105454
+ * Live-scored at-risk enrollments in one cohort: ACTIVE enrollments whose
105455
+ * deterministic risk score is at or above the workspace threshold, each with
105456
+ * the signals and the decision engine's suggested intervention.
105457
+ */
105458
+ buiListAtRiskEnrollments: BuiAtRiskEnrollmentConnection;
105459
+ /**
105460
+ * Workspace-wide badge awards (credential issuers only, like
105461
+ * `buiListCertificates`). Learners read their own awards through
105462
+ * `buiMyBadgeAwards`.
105463
+ */
103992
105464
  buiListBadgeAwards: BuiBadgeAwardConnection;
103993
- /** 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. */
105465
+ /**
105466
+ * Workspace-wide certificate list (instructors/facilitators/admins only —
105467
+ * see `buildmyiq-certificate` action defaults, `viewerDefault: false` on
105468
+ * `list`/`read`). Learners viewing their own credentials MUST use
105469
+ * `buiMyCertificates` instead.
105470
+ *
105471
+ * No `learnerId` arg (BOFF FERPA/IDOR hardening): the elevated instructor/admin
105472
+ * list shows the whole workspace; a learner's own credentials come from the
105473
+ * self-scoped `buiMyCertificates`.
105474
+ *
105475
+ * `source` (BOFF-10481) narrows the list to the certificates mirrored from one
105476
+ * product; omit it to list native and mirrored certificates alike.
105477
+ */
103994
105478
  buiListCertificates: BuiCertificateConnection;
103995
105479
  buiListCertifications: BuiCertificationConnection;
103996
105480
  buiListCohorts: BuiCohortConnection;
103997
- /** 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. */
105481
+ /**
105482
+ * Courses in the workspace. `source` (BOFF-10481) narrows the list to the
105483
+ * courses mirrored from one product, so a product's own catalog (for example
105484
+ * TechnoSpam's) never lists the workspace's native BuildMyIQ courses. Omit it
105485
+ * to list every course, native and mirrored alike.
105486
+ */
103998
105487
  buiListCourses: BuiCourseConnection;
103999
- /** 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. */
105488
+ /**
105489
+ * Workspace-wide enrollment list (instructors/facilitators/admins only — see
105490
+ * `buildmyiq-enrollment` action defaults in wspace-rbac-svc's seed, which set
105491
+ * `viewerDefault: false` on `list`/`read` so a plain workspace Viewer cannot
105492
+ * enumerate every learner's enrollments). Learners viewing their own
105493
+ * enrollments MUST use `buiMyEnrollments`/`buiMyEnrollment` instead.
105494
+ *
105495
+ * No `learnerId` arg (BOFF FERPA/IDOR hardening): the elevated instructor/admin
105496
+ * list shows the whole workspace and is filtered client-side; a learner's own
105497
+ * enrollments come from the self-scoped `buiMyEnrollments`. The single-learner
105498
+ * M2M point read remains available via `buiCourseEnrollment` for consuming
105499
+ * subgraphs.
105500
+ *
105501
+ * `source` (BOFF-10481) narrows the list to the enrollments mirrored from one
105502
+ * product; omit it to list native and mirrored enrollments alike.
105503
+ */
104000
105504
  buiListEnrollments: BuiEnrollmentConnection;
104001
105505
  buiListLessons: BuiLessonConnection;
104002
105506
  buiListModules: BuiModuleConnection;
104003
- /** 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. */
105507
+ /**
105508
+ * BOFF-4431: workspace-wide proctoring review queue (instructor/admin only —
105509
+ * same FERPA-style shape as `buildmyiq-submission`). Learners checking their
105510
+ * own session status MUST use `buiMyProctoringSession` instead.
105511
+ */
104004
105512
  buiListProctoringSessions: BuiProctoringSessionConnection;
104005
105513
  buiListSkillStandards: BuiSkillStandardConnection;
104006
105514
  buiListSkills: BuiSkillConnection;
104007
- /** 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. */
105515
+ /**
105516
+ * Workspace-wide submission list (instructors/graders/admins only — see
105517
+ * `buildmyiq-submission` action defaults in wspace-rbac-svc's seed, which set
105518
+ * `viewerDefault: false` on `list`/`read` so a plain workspace Viewer cannot
105519
+ * enumerate every learner's answers/scores/feedback). Learners viewing their
105520
+ * own results MUST use `buiMySubmissions` instead.
105521
+ *
105522
+ * No `learnerId` arg (BOFF FERPA/IDOR hardening): a caller who holds the
105523
+ * elevated instructor/admin `list` grant sees the whole workspace queue and
105524
+ * filters client-side; a learner who needs their own results uses the
105525
+ * self-scoped `buiMySubmissions`, whose identity comes from the authenticated
105526
+ * actor. Removing the per-learner filter here closes the targeted
105527
+ * "give me learner X's answers" enumeration vector at the schema boundary.
105528
+ */
104008
105529
  buiListSubmissions: BuiSubmissionConnection;
104009
- /** 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`. */
105530
+ /**
105531
+ * Workspace-wide tutor session list for instructors/admins reviewing AI
105532
+ * tutor conversations (educator-review checklist item). Restricted to
105533
+ * EDITOR+ roles — see wspace-rbac-svc action-catalog `buildmyiq-tutor:list`
105534
+ * (viewerDefault: false), same restriction shape as `buiListSubmissions`.
105535
+ *
105536
+ * No `learnerId` arg (BOFF FERPA/IDOR hardening): the elevated reviewer list
105537
+ * shows the whole workspace; a learner's own sessions come from the
105538
+ * self-scoped `buiMyTutorSessions`/`buiMyTutorSession`.
105539
+ */
104010
105540
  buiListTutorSessions: BuiTutorSessionConnection;
104011
105541
  /** AGS grade-sync attempt history for one placement — instructor-facing diagnostics. */
104012
105542
  buiLtiGradeSyncs: Array<BuiLtiGradeSync>;
104013
- /** 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. */
105543
+ /**
105544
+ * Type-B self-scoped read of a pending launch ticket — any authenticated
105545
+ * workspace member who was just redirected here from an LMS may read it
105546
+ * (there is no "owner" yet; the ticket itself is the capability), but it is
105547
+ * always scoped to the CALLER's own workspace, never any other.
105548
+ */
104014
105549
  buiLtiLaunchContext?: Maybe<BuiLtiLaunchContext>;
104015
105550
  /** Workspace admin: every registered LTI platform (active or not). */
104016
105551
  buiLtiPlatforms: Array<BuiLtiPlatform>;
104017
- /** Workspace admin: the LMS placements (resource links) recorded by launches, newest first, optionally for one platform. Feeds grade and roster sync. */
105552
+ /**
105553
+ * Workspace admin: the LMS placements (resource links) recorded by launches,
105554
+ * newest first, optionally for one platform. Feeds grade and roster sync.
105555
+ */
104018
105556
  buiLtiResourceLinks: Array<BuiLtiResourceLink>;
104019
105557
  /** Last-synced NRPS roster for one LTI placement's course context. */
104020
105558
  buiLtiRoster: Array<BuiLtiRosterMember>;
@@ -104022,14 +105560,29 @@ export type Query = {
104022
105560
  buiMigrationJob?: Maybe<BuiMigrationJob>;
104023
105561
  /** The workspace's migration audit trail, newest first. */
104024
105562
  buiMigrationJobs: BuiMigrationJobConnection;
104025
- /** Type-C self-scoped list: the calling learner's own badge awards. No `learnerId` arg; identity comes from the authenticated actor. */
105563
+ /**
105564
+ * Type-C self-scoped list: the calling learner's own badge awards. No
105565
+ * `learnerId` arg; identity comes from the authenticated actor.
105566
+ */
104026
105567
  buiMyBadgeAwards: BuiBadgeAwardConnection;
104027
105568
  buiMyCatalogConnectors: Array<BuiCatalogConnector>;
104028
105569
  buiMyCatalogItems: Array<BuiExternalCatalogItem>;
104029
105570
  buiMyCatalogSyncRun: BuiCatalogSyncRun;
104030
- /** 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. */
105571
+ /**
105572
+ * Type-B self-scoped single lookup (BOFF-10481): `id` identifies the
105573
+ * certificate, but the resolver owner-filters by `ctx.actor.id` (`learnerId`)
105574
+ * and returns null (never FORBIDDEN) when it does not exist or belongs to
105575
+ * someone else, so existence is never leaked.
105576
+ */
104031
105577
  buiMyCertificate?: Maybe<BuiCertificate>;
104032
- /** 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. */
105578
+ /**
105579
+ * Type-C self-scoped list: the calling learner's own certificates. No
105580
+ * `learnerId` arg — see `buiListCertificates` for the workspace-wide/
105581
+ * instructor equivalent.
105582
+ *
105583
+ * `source` (BOFF-10481) narrows the list to the certificates mirrored from one
105584
+ * product.
105585
+ */
104033
105586
  buiMyCertificates: BuiCertificateConnection;
104034
105587
  /** Live course access for the authenticated learner; unavailable courses return false. */
104035
105588
  buiMyCourseAccess: BuiLearnerCourseAccess;
@@ -104038,39 +105591,111 @@ export type Query = {
104038
105591
  buiMyCourseAssistantMessages: BuiCourseAssistantMessagePage;
104039
105592
  buiMyCourseAssistantTarget: BuiCourseAssistantTarget;
104040
105593
  buiMyCourseAssistantTurn?: Maybe<BuiCourseAssistantTurn>;
104041
- /** 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. */
105594
+ /**
105595
+ * Type-B self-scoped single lookup: `id` identifies the enrollment, but the
105596
+ * resolver owner-filters by `ctx.actor.id` (`learnerId`) and returns null
105597
+ * (never leaks FORBIDDEN) if the caller doesn't own it.
105598
+ */
104042
105599
  buiMyEnrollment?: Maybe<BuiEnrollment>;
104043
- /** 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). */
105600
+ /**
105601
+ * Type-C self-scoped list: the calling learner's own enrollments. No
105602
+ * `learnerId` arg — identity comes from the authenticated actor
105603
+ * (`ctx.actor.id`), never from client input (BOFF FERPA/IDOR fix — see
105604
+ * `buiListEnrollments` for the workspace-wide/instructor equivalent).
105605
+ *
105606
+ * `source` (BOFF-10481) narrows the list to the enrollments mirrored from one
105607
+ * product (for example the learner's TechnoSpam enrollments).
105608
+ */
104044
105609
  buiMyEnrollments: BuiEnrollmentConnection;
104045
105610
  /** The caller's recent attempts on an interactive lesson in their own enrollment, newest first. */
104046
105611
  buiMyInteractiveAttempts: Array<BuiInteractiveAttemptSummary>;
104047
105612
  /** Type-A self read: the caller's own learner profile, or null before they set one. */
104048
105613
  buiMyLearnerProfile?: Maybe<BuiLearnerProfile>;
104049
- /** 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. */
105614
+ /**
105615
+ * Type-C self-scoped lookup: the calling learner's own current (most recent,
105616
+ * unexpired) proctoring session for an assessment. No `learnerId` arg —
105617
+ * identity comes from the authenticated actor, never client input.
105618
+ */
104050
105619
  buiMyProctoringSession?: Maybe<BuiProctoringSession>;
104051
- /** 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). */
105620
+ /**
105621
+ * Type-C self-scoped list: the calling learner's saved courses, newest first.
105622
+ * No `learnerId` arg — identity comes from the authenticated actor.
105623
+ * `courseId` narrows the list to one course, which is how a course page asks
105624
+ * "has the caller saved this course?" (an empty list means no).
105625
+ */
104052
105626
  buiMySavedCourses: BuiSavedCourseConnection;
104053
- /** 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). */
105627
+ /**
105628
+ * Launch a SCORM lesson in the caller's own enrollment: the package link and
105629
+ * the stored run-time state of every item. Null when the lesson has no SCORM
105630
+ * package.
105631
+ */
105632
+ buiMyScormLaunch?: Maybe<BuiScormLaunch>;
105633
+ /**
105634
+ * Type-C self-scoped list: the calling learner's own submissions across
105635
+ * assessments. No `learnerId` arg — identity comes from the authenticated
105636
+ * actor (`ctx.actor.id`), never from client input (BOFF FERPA/IDOR fix —
105637
+ * see `buiListSubmissions` for the workspace-wide/instructor equivalent).
105638
+ */
104054
105639
  buiMySubmissions: BuiSubmissionConnection;
104055
- /** 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. */
105640
+ /**
105641
+ * Type-B self-scoped read: owner-filters by the authenticated actor in the
105642
+ * primary query and returns null (never FORBIDDEN) when the session is not
105643
+ * owned by the caller or does not exist.
105644
+ */
104056
105645
  buiMyTutorSession?: Maybe<BuiTutorSession>;
104057
- /** 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). */
105646
+ /**
105647
+ * Type-C self-scoped list: the calling learner's own tutor sessions. No
105648
+ * `learnerId` arg — identity comes exclusively from the authenticated actor,
105649
+ * mirroring `buiMySubmissions` (BOFF FERPA/IDOR pattern).
105650
+ */
104058
105651
  buiMyTutorSessions: BuiTutorSessionConnection;
104059
105652
  /** The workspace's getting-started checklist. */
104060
105653
  buiOnboardingStatus: BuiOnboardingStatus;
104061
105654
  buiPendingCourseKnowledgeChange?: Maybe<BuiCourseKnowledgeChange>;
104062
- /** 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. */
105655
+ /**
105656
+ * Read an uploaded package (IMS Common Cartridge or Moodle backup, detected
105657
+ * from the file) and describe the course an import
105658
+ * would create, with every skipped or converted item. Writes nothing.
105659
+ */
104063
105660
  buiPreviewCourseImport: BuiCourseImportPreview;
104064
- /** 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. */
105661
+ /** Read an uploaded gradebook CSV and describe the grades an import would write. Writes nothing. */
105662
+ buiPreviewGradebookImport: BuiGradebookImportPreview;
105663
+ /** Read an uploaded roster CSV and describe the enrollments an import would create. Writes nothing. */
105664
+ buiPreviewRosterImport: BuiRosterImportPreview;
105665
+ /**
105666
+ * BOFF-9691: open the learner's identity photo/ID for a session in the review
105667
+ * queue (instructor/admin only — the same permission as the queue itself).
105668
+ * Null when the session has no identity file, or the file is gone or is not
105669
+ * the learner's own upload.
105670
+ */
104065
105671
  buiProctoringIdentityFile?: Maybe<BuiProctoringIdentityFile>;
104066
- /** 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`. */
105672
+ /**
105673
+ * BOFF-9690: reviewer timeline of one proctoring session's signals, oldest
105674
+ * first. Instructor/admin only (same directive as the review queue); signals
105675
+ * past the retention period are never returned. Paginated with explicit
105676
+ * `limit` (default 50, max 100) and `after` (the previous page's
105677
+ * `pageInfo.cursor`) rather than `PaginationInput`, whose composed
105678
+ * supergraph shape carries only `limit`.
105679
+ */
104067
105680
  buiProctoringSessionSignals: BuiProctoringSignalConnection;
104068
105681
  buiPublishedCatalogItems: Array<BuiPublishedCatalogItem>;
104069
- /** 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). */
105682
+ /**
105683
+ * Skill journeys the caller has not started, best match first, computed from
105684
+ * the caller's learner profile, their enrollments and the published catalog.
105685
+ * `limit` defaults to 3 (maximum 10).
105686
+ */
104070
105687
  buiRecommendPaths: BuiPathRecommendations;
105688
+ /** An author's preview launch of a lesson's SCORM package. Nothing is stored. */
105689
+ buiScormPreviewLaunch: BuiScormLaunch;
104071
105690
  buiSubmission?: Maybe<BuiSubmission>;
104072
105691
  buiSuggestCertifications: Array<BuiCertificationSuggestion>;
104073
105692
  buiSuggestSkillMappings: Array<BuiSkillMappingSuggestion>;
105693
+ /** Statement counts by delivery state. */
105694
+ buiXapiDeliveryCounts: BuiXapiDeliveryCounts;
105695
+ /** The workspace's LRS settings, or null when none are saved. */
105696
+ buiXapiLrsConfig?: Maybe<BuiXapiLrsConfig>;
105697
+ /** Recorded learning statements, newest first. They hold learners' scores, so this needs submission access. */
105698
+ buiXapiStatements: BuiXapiStatementConnection;
104074
105699
  /** Turn a live dashboard into a portable template document for the store. */
104075
105700
  buildDashboardTemplateContent: BigConsoleBuildDashboardTemplateContentResult;
104076
105701
  calculateFreightRate: MtwFreightRateQuote;
@@ -104531,6 +106156,8 @@ export type Query = {
104531
106156
  deliveryJobsCount: Scalars['Int']['output'];
104532
106157
  demandForecastByCustomer: Array<MtwDemandForecastPoint>;
104533
106158
  demandForecastByLane: Array<MtwDemandForecastPoint>;
106159
+ /** Model choice and back-test errors per lane or customer, most history first. `limit` caps lanes / customers (1-200). */
106160
+ demandForecastModelChoices: Array<MtwDemandForecastModelChoice>;
104534
106161
  /** Null until the workspace's forecast has been calculated once. */
104535
106162
  demandForecastRunStatus?: Maybe<MtwDemandForecastRunStatus>;
104536
106163
  demandForecastVariance: Array<MtwDemandForecastVariance>;
@@ -105988,6 +107615,8 @@ export type Query = {
105988
107615
  /** Real ad revenue for a period, from confirmed impressions only. */
105989
107616
  hokAdRevenueReport: HokAdRevenueReport;
105990
107617
  hokAdSettings: HokAdSettings;
107618
+ /** Operator audit: the server-side tracker deliveries of one ad decision (linear streams). */
107619
+ hokAdTrackerDeliveries: Array<HokAdTrackerDelivery>;
105991
107620
  /** A live draft call sheet generated from the schedule and the cast/crew roster. */
105992
107621
  hokCallSheet?: Maybe<HokCallSheet>;
105993
107622
  /** A fresh short-lived download URL for the PDF of one published call-sheet version; null when the version has no stored PDF. */
@@ -106072,6 +107701,8 @@ export type Query = {
106072
107701
  hokMyLists: HokListConnection;
106073
107702
  /** Talent/guardian: offers addressed to the caller. */
106074
107703
  hokMyOffers: HokOfferConnection;
107704
+ /** The caller's own offline licenses, newest first (self-scoped). */
107705
+ hokMyOfflineLicenses: HokOfflineLicenseConnection;
106075
107706
  /** The calling user's own preferences (self-scoped: filtered by ctx.actorId). */
106076
107707
  hokMyPreferences?: Maybe<HokPreferences>;
106077
107708
  /** 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. */
@@ -106085,6 +107716,8 @@ export type Query = {
106085
107716
  hokMyWatchProgress: HokWatchProgressConnection;
106086
107717
  /** The block currently airing on a channel (startAt <= now < endAt), or null. */
106087
107718
  hokNowPlaying?: Maybe<HokScheduleBlock>;
107719
+ /** Whether the caller can download the title (episode) on this device now (self-scoped). */
107720
+ hokOfflineEligibility: HokOfflineEligibility;
106088
107721
  /** Getting-started checklist progress for the calling user in this workspace. */
106089
107722
  hokOnboardingStatus: HokOnboardingStatus;
106090
107723
  /** Propose an optimised shooting schedule from the script breakdown. Read-only; hokApplyShootingSchedule writes a confirmed schedule. */
@@ -109706,6 +111339,10 @@ export type QueryBuiCourseKnowledgeSourcesArgs = {
109706
111339
  limit?: InputMaybe<Scalars['Int']['input']>;
109707
111340
  };
109708
111341
  /** Base Query type with placeholder field. Extended by individual query files. */
111342
+ export type QueryBuiEarlyWarningRunsArgs = {
111343
+ pagination?: InputMaybe<PaginationInput>;
111344
+ };
111345
+ /** Base Query type with placeholder field. Extended by individual query files. */
109709
111346
  export type QueryBuiEnrollmentArgs = {
109710
111347
  id: Scalars['ID']['input'];
109711
111348
  };
@@ -109744,12 +111381,21 @@ export type QueryBuiLessonInteractivePackageArgs = {
109744
111381
  lessonId: Scalars['ID']['input'];
109745
111382
  };
109746
111383
  /** Base Query type with placeholder field. Extended by individual query files. */
111384
+ export type QueryBuiLessonScormPackageArgs = {
111385
+ lessonId: Scalars['ID']['input'];
111386
+ };
111387
+ /** Base Query type with placeholder field. Extended by individual query files. */
109747
111388
  export type QueryBuiListAssessmentsArgs = {
109748
111389
  courseId: Scalars['ID']['input'];
109749
111390
  pagination?: InputMaybe<PaginationInput>;
109750
111391
  status?: InputMaybe<BuiAssessmentStatus>;
109751
111392
  };
109752
111393
  /** Base Query type with placeholder field. Extended by individual query files. */
111394
+ export type QueryBuiListAtRiskEnrollmentsArgs = {
111395
+ cohortId: Scalars['ID']['input'];
111396
+ pagination?: InputMaybe<PaginationInput>;
111397
+ };
111398
+ /** Base Query type with placeholder field. Extended by individual query files. */
109753
111399
  export type QueryBuiListBadgeAwardsArgs = {
109754
111400
  badgeId?: InputMaybe<Scalars['ID']['input']>;
109755
111401
  pagination?: InputMaybe<PaginationInput>;
@@ -109931,6 +111577,11 @@ export type QueryBuiMySavedCoursesArgs = {
109931
111577
  pagination?: InputMaybe<PaginationInput>;
109932
111578
  };
109933
111579
  /** Base Query type with placeholder field. Extended by individual query files. */
111580
+ export type QueryBuiMyScormLaunchArgs = {
111581
+ enrollmentId: Scalars['ID']['input'];
111582
+ lessonId: Scalars['ID']['input'];
111583
+ };
111584
+ /** Base Query type with placeholder field. Extended by individual query files. */
109934
111585
  export type QueryBuiMySubmissionsArgs = {
109935
111586
  assessmentId?: InputMaybe<Scalars['ID']['input']>;
109936
111587
  pagination?: InputMaybe<PaginationInput>;
@@ -109951,6 +111602,14 @@ export type QueryBuiPreviewCourseImportArgs = {
109951
111602
  fileId: Scalars['ID']['input'];
109952
111603
  };
109953
111604
  /** Base Query type with placeholder field. Extended by individual query files. */
111605
+ export type QueryBuiPreviewGradebookImportArgs = {
111606
+ input: BuiGradebookImportInput;
111607
+ };
111608
+ /** Base Query type with placeholder field. Extended by individual query files. */
111609
+ export type QueryBuiPreviewRosterImportArgs = {
111610
+ input: BuiRosterImportInput;
111611
+ };
111612
+ /** Base Query type with placeholder field. Extended by individual query files. */
109954
111613
  export type QueryBuiProctoringIdentityFileArgs = {
109955
111614
  sessionId: Scalars['ID']['input'];
109956
111615
  };
@@ -109970,6 +111629,10 @@ export type QueryBuiRecommendPathsArgs = {
109970
111629
  limit?: InputMaybe<Scalars['Int']['input']>;
109971
111630
  };
109972
111631
  /** Base Query type with placeholder field. Extended by individual query files. */
111632
+ export type QueryBuiScormPreviewLaunchArgs = {
111633
+ lessonId: Scalars['ID']['input'];
111634
+ };
111635
+ /** Base Query type with placeholder field. Extended by individual query files. */
109973
111636
  export type QueryBuiSubmissionArgs = {
109974
111637
  id: Scalars['ID']['input'];
109975
111638
  };
@@ -109985,6 +111648,11 @@ export type QueryBuiSuggestSkillMappingsArgs = {
109985
111648
  name: Scalars['String']['input'];
109986
111649
  };
109987
111650
  /** Base Query type with placeholder field. Extended by individual query files. */
111651
+ export type QueryBuiXapiStatementsArgs = {
111652
+ filter?: InputMaybe<BuiXapiStatementFilter>;
111653
+ pagination?: InputMaybe<PaginationInput>;
111654
+ };
111655
+ /** Base Query type with placeholder field. Extended by individual query files. */
109988
111656
  export type QueryBuildDashboardTemplateContentArgs = {
109989
111657
  dashboardId: Scalars['ID']['input'];
109990
111658
  defaultCategory?: InputMaybe<Scalars['String']['input']>;
@@ -111313,6 +112981,11 @@ export type QueryDemandForecastByLaneArgs = {
111313
112981
  weeks?: InputMaybe<Scalars['Int']['input']>;
111314
112982
  };
111315
112983
  /** Base Query type with placeholder field. Extended by individual query files. */
112984
+ export type QueryDemandForecastModelChoicesArgs = {
112985
+ limit?: InputMaybe<Scalars['Int']['input']>;
112986
+ scopeType: DemandForecastScope;
112987
+ };
112988
+ /** Base Query type with placeholder field. Extended by individual query files. */
111316
112989
  export type QueryDemandForecastVarianceArgs = {
111317
112990
  limit?: InputMaybe<Scalars['Int']['input']>;
111318
112991
  scopeType: DemandForecastScope;
@@ -115597,6 +117270,10 @@ export type QueryHokAdRevenueReportArgs = {
115597
117270
  period: Scalars['String']['input'];
115598
117271
  };
115599
117272
  /** Base Query type with placeholder field. Extended by individual query files. */
117273
+ export type QueryHokAdTrackerDeliveriesArgs = {
117274
+ decisionId: Scalars['ID']['input'];
117275
+ };
117276
+ /** Base Query type with placeholder field. Extended by individual query files. */
115600
117277
  export type QueryHokCallSheetArgs = {
115601
117278
  shootDayId: Scalars['ID']['input'];
115602
117279
  };
@@ -115708,6 +117385,7 @@ export type QueryHokListEpisodesArgs = {
115708
117385
  export type QueryHokListHlsPackagesArgs = {
115709
117386
  episodeId?: InputMaybe<Scalars['ID']['input']>;
115710
117387
  kind?: InputMaybe<HokHlsPackageKind>;
117388
+ rendition?: InputMaybe<Scalars['String']['input']>;
115711
117389
  titleId?: InputMaybe<Scalars['ID']['input']>;
115712
117390
  };
115713
117391
  /** Base Query type with placeholder field. Extended by individual query files. */
@@ -115862,6 +117540,12 @@ export type QueryHokMyOffersArgs = {
115862
117540
  status?: InputMaybe<HokOfferStatus>;
115863
117541
  };
115864
117542
  /** Base Query type with placeholder field. Extended by individual query files. */
117543
+ export type QueryHokMyOfflineLicensesArgs = {
117544
+ pagination?: InputMaybe<PaginationInput>;
117545
+ status?: InputMaybe<HokOfflineLicenseStatus>;
117546
+ titleId?: InputMaybe<Scalars['ID']['input']>;
117547
+ };
117548
+ /** Base Query type with placeholder field. Extended by individual query files. */
115865
117549
  export type QueryHokMyProfilesArgs = {
115866
117550
  pagination?: InputMaybe<PaginationInput>;
115867
117551
  };
@@ -115880,6 +117564,10 @@ export type QueryHokNowPlayingArgs = {
115880
117564
  channelId: Scalars['ID']['input'];
115881
117565
  };
115882
117566
  /** Base Query type with placeholder field. Extended by individual query files. */
117567
+ export type QueryHokOfflineEligibilityArgs = {
117568
+ input: HokOfflineDownloadInput;
117569
+ };
117570
+ /** Base Query type with placeholder field. Extended by individual query files. */
115883
117571
  export type QueryHokOptimizeShootingScheduleArgs = {
115884
117572
  constraints?: InputMaybe<HokScheduleConstraints>;
115885
117573
  productionId: Scalars['ID']['input'];