@burdenoff/microfe-timecampus 2026.1030.3 → 2026.1030.4

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.
@@ -53247,6 +53247,8 @@ export type Mutation = {
53247
53247
  applyHeadshotmarketingAdBudgetRecommendation: HeadshotmarketingAdBudgetRecommendation;
53248
53248
  applyHealthyBowlCertificationStandard: CertificationDetail;
53249
53249
  applyHealthyBowlCompostBatch: CompostBatch;
53250
+ /** Apply a workspace template: create its projects and tasks and install its applets. */
53251
+ applyTimeCampusWorkspaceTemplate: TimeCampusTemplateApplication;
53250
53252
  /** Apply a template's metrics to an entity, creating its scorecard if needed. Existing metrics with the same name are left untouched. */
53251
53253
  applyVibecontrolsScorecardTemplate?: Maybe<VibecontrolsScorecard>;
53252
53254
  /**
@@ -55986,6 +55988,8 @@ export type Mutation = {
55986
55988
  installProviderPlugin: IntegrationProvider;
55987
55989
  /** Install a plugin on an agent sourced from the Burdenoff store. Bridges store-svc ↔ vibecontrols-agent: the backend validates the caller's entitlement via store-svc, reads the product manifest for the npm package name + version, then calls the agent's /api/plugins/install endpoint. Records an AppInstallation in store-svc on success. */
55988
55990
  installStorePluginOnAgent: AgentPluginActionResult;
55991
+ /** Install an applet for the whole workspace. Idempotent. */
55992
+ installTimeCampusApplet: TimeCampusApplet;
55989
55993
  /** Install (enable) a registered widget type for a workspace, so it appears in that workspace's builder palette. */
55990
55994
  installWidgetType: BigConsoleWidgetTypeRegistration;
55991
55995
  /** Install an app in one or more workspaces Pass single workspaceId in array for single workspace installation */
@@ -57519,6 +57523,8 @@ export type Mutation = {
57519
57523
  /** Reset settings for a category back to defaults. For user-scoped categories, deletes the user's overrides. For workspace-scoped categories, deletes the workspace overrides. */
57520
57524
  resetSettings: Scalars['Boolean']['output'];
57521
57525
  resetTimeCampusDemoData: TimeCampusAdminMutationResult;
57526
+ /** Self-scoped: drop the caller's saved layout and return to the default. */
57527
+ resetTimeCampusMyWidgetLayout: TimeCampusWidgetLayout;
57522
57528
  /** Wipe the agent's local state via POST /api/agent/reset on the agent. Deletes config.json, the encrypted Skalex DB, logs, and the plugins manifest, then transitions the agent back to 'awaiting-config' WITHOUT exiting the process — HTTP server + tunnel stay alive so the platform can re-onboard via addVibecontrolsAgentFromTunnel. Returns the new agent API key generated during reset; the platform must rotate its stored credentials to the returned value before re-onboarding, otherwise subsequent calls will get 401. */
57523
57529
  resetVibecontrolsAgent: ResetAgentResult;
57524
57530
  /** Reset webhook failure count */
@@ -58231,6 +58237,7 @@ export type Mutation = {
58231
58237
  tecAddPortfolioItem: TecPortfolioItem;
58232
58238
  /** Approve a pending mentor profile (PENDING -> ACTIVE). */
58233
58239
  tecApproveMentor: TecMentor;
58240
+ /** DESTRUCTIVE: archives the course, removing it from the learner catalog. An agent or UI must get explicit user confirmation before calling this. */
58234
58241
  tecArchiveCourse: Scalars['Boolean']['output'];
58235
58242
  /** Archive (soft-delete) a plan the calling learner owns. */
58236
58243
  tecArchiveStudyPlan: Scalars['Boolean']['output'];
@@ -58238,9 +58245,12 @@ export type Mutation = {
58238
58245
  tecBecomeMentor: TecMentor;
58239
58246
  /** Book a 1:1 session with a mentor as the calling mentee. */
58240
58247
  tecBookSession: TecMentorSession;
58248
+ /** DESTRUCTIVE: cancels a booked mentoring session for both the mentor and the mentee; a cancelled session cannot be reinstated. An agent or UI must get explicit user confirmation before calling this. */
58241
58249
  tecCancelSession: TecMentorSession;
58242
- /** Complete a hackathon after judging (JUDGING -> COMPLETED). */
58250
+ /** DESTRUCTIVE: completes a hackathon after judging (JUDGING -> COMPLETED), locking judging and final results. An agent or UI must get explicit user confirmation before calling this. */
58243
58251
  tecCompleteHackathon: TecHackathon;
58252
+ /** Mark one lesson complete for the calling learner (BOFF-4107) and recompute their enrollment progress from completed lessons. Self-scoped (Type B): the enrollment is looked up by the authenticated actor, and a learner who is not enrolled gets NOT_FOUND. QUIZ lessons and INTERACTIVE lessons with an expected output cannot be completed manually; they are completed by tecSubmitLessonQuiz / tecRunLessonCode. Idempotent. */
58253
+ tecCompleteLesson: TecEnrollment;
58244
58254
  tecCompleteSession: TecMentorSession;
58245
58255
  tecConfirmSession: TecMentorSession;
58246
58256
  tecCreateCourse: TecCourse;
@@ -58249,6 +58259,7 @@ export type Mutation = {
58249
58259
  tecCreateProblem: TecProblem;
58250
58260
  /** Add a test-case fixture to a problem. Authoring permission on the problem. */
58251
58261
  tecCreateProblemTestCase: TecProblemTestCase;
58262
+ /** DESTRUCTIVE: deletes a test-case fixture from a problem, changing how every future submission is graded. An agent or UI must get explicit user confirmation before calling this. */
58252
58263
  tecDeleteProblemTestCase: Scalars['Boolean']['output'];
58253
58264
  tecEnroll: TecEnrollment;
58254
58265
  /** Generate a new, deterministic study plan for the calling learner (see the module honesty note above -- this is rule-based, not AI-personalized). */
@@ -58274,13 +58285,20 @@ export type Mutation = {
58274
58285
  tecRemovePortfolioItem: Scalars['Boolean']['output'];
58275
58286
  /** Reorder the calling learner's portfolio items. */
58276
58287
  tecReorderPortfolioItems: TecPortfolio;
58288
+ /** Explain one of the calling learner's own graded submissions: what failed, why, which concepts to revisit and which problems to practise next. Self-scoped (Type B): the submission is read with the authenticated actor as owner in the same query, so another learner's submission is NOT_FOUND. Returns the stored review when one exists for the current verdict; otherwise writes a new one (rate limited per learner). PENDING submissions are rejected with BAD_USER_INPUT. */
58289
+ tecReviewSubmission: TecSubmissionReview;
58290
+ /** DESTRUCTIVE: rescinds a learner's issued certificate, their proof of completed work. An agent or UI must get explicit user confirmation before calling this. */
58277
58291
  tecRevokeCertificate: TecCertificate;
58278
- /** Record a judge score for a team and optionally mark it WINNER. */
58292
+ /** Run the calling learner's code for an INTERACTIVE lesson in the isolated code sandbox (BOFF-4107). Never executes in this service. When the lesson has an expected output and stdout matches it, the lesson is completed for the learner. Rate limited per actor. */
58293
+ tecRunLessonCode: TecLessonCodeRun;
58294
+ /** DESTRUCTIVE: records a judge score for a team and optionally marks it WINNER, overwriting any previous score. An agent or UI must get explicit user confirmation before calling this. */
58279
58295
  tecScoreTeam: TecHackathonTeam;
58280
58296
  /** Move a hackathon into its running window (REGISTRATION_OPEN -> IN_PROGRESS). */
58281
58297
  tecStartHackathon: TecHackathon;
58282
58298
  /** Move a hackathon into judging (IN_PROGRESS -> JUDGING). */
58283
58299
  tecStartJudging: TecHackathon;
58300
+ /** Grade a QUIZ lesson attempt server-side (BOFF-4107). A passing attempt completes the lesson for the calling learner when they are enrolled. */
58301
+ tecSubmitLessonQuiz: TecQuizResult;
58284
58302
  /** Submit a team's project for judging (sets status SUBMITTED). */
58285
58303
  tecSubmitProject: TecHackathonTeam;
58286
58304
  /** Submit a solution to a problem; the grader runs it against the problem's test cases and the returned row already carries the verdict. If the problem has no test cases yet, the language isn't supported by the grader, or the sandbox call fails, the submission is returned PENDING and can be retried with tecRegradeSubmission. */
@@ -58430,6 +58448,8 @@ export type Mutation = {
58430
58448
  uninstallParserType: Scalars['Boolean']['output'];
58431
58449
  uninstallProviderPlugin: Scalars['Boolean']['output'];
58432
58450
  uninstallRemoteAgent: Scalars['Boolean']['output'];
58451
+ /** Uninstall an applet from the workspace. Idempotent; its widgets leave every layout. */
58452
+ uninstallTimeCampusApplet: TimeCampusApplet;
58433
58453
  /** Uninstall (disable) a widget type for a workspace, removing it from the palette. */
58434
58454
  uninstallWidgetType: Scalars['Boolean']['output'];
58435
58455
  /** Uninstall a workspace app by ID */
@@ -58931,6 +58951,8 @@ export type Mutation = {
58931
58951
  updateTimeCampusFocusPreferences: TimeCampusFocusPreferences;
58932
58952
  /** Moves an invoice forward through DRAFT -> SENT -> PAID. Backward transitions are rejected. */
58933
58953
  updateTimeCampusInvoiceStatus: TimeCampusInvoice;
58954
+ /** Self-scoped: save the caller's widget layout (ordered widget keys). */
58955
+ updateTimeCampusMyWidgetLayout: TimeCampusWidgetLayout;
58934
58956
  updateTimeCampusProject: TimeCampusProject;
58935
58957
  updateTimeEntry: TimeEntry;
58936
58958
  /** Update an existing tunnel (metadata, target host/port, basic auth, etc.). */
@@ -59730,6 +59752,11 @@ export type MutationApplyHealthyBowlCompostBatchArgs = {
59730
59752
  input: ApplyCompostBatchInput;
59731
59753
  };
59732
59754
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
59755
+ export type MutationApplyTimeCampusWorkspaceTemplateArgs = {
59756
+ input?: InputMaybe<TimeCampusApplyTemplateInput>;
59757
+ key: Scalars['ID']['input'];
59758
+ };
59759
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
59733
59760
  export type MutationApplyVibecontrolsScorecardTemplateArgs = {
59734
59761
  ownerId: Scalars['ID']['input'];
59735
59762
  ownerType: ScorecardOwnerType;
@@ -67570,6 +67597,10 @@ export type MutationInstallStorePluginOnAgentArgs = {
67570
67597
  productId: Scalars['ID']['input'];
67571
67598
  };
67572
67599
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
67600
+ export type MutationInstallTimeCampusAppletArgs = {
67601
+ key: Scalars['ID']['input'];
67602
+ };
67603
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
67573
67604
  export type MutationInstallWidgetTypeArgs = {
67574
67605
  input: BigConsoleInstallWidgetTypeInput;
67575
67606
  };
@@ -73548,6 +73579,10 @@ export type MutationTecCompleteHackathonArgs = {
73548
73579
  id: Scalars['ID']['input'];
73549
73580
  };
73550
73581
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73582
+ export type MutationTecCompleteLessonArgs = {
73583
+ lessonId: Scalars['ID']['input'];
73584
+ };
73585
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73551
73586
  export type MutationTecCompleteSessionArgs = {
73552
73587
  feedback?: InputMaybe<Scalars['String']['input']>;
73553
73588
  id: Scalars['ID']['input'];
@@ -73635,11 +73670,19 @@ export type MutationTecReorderPortfolioItemsArgs = {
73635
73670
  input: TecReorderPortfolioItemsInput;
73636
73671
  };
73637
73672
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73673
+ export type MutationTecReviewSubmissionArgs = {
73674
+ submissionId: Scalars['ID']['input'];
73675
+ };
73676
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73638
73677
  export type MutationTecRevokeCertificateArgs = {
73639
73678
  id: Scalars['ID']['input'];
73640
73679
  reason?: InputMaybe<Scalars['String']['input']>;
73641
73680
  };
73642
73681
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73682
+ export type MutationTecRunLessonCodeArgs = {
73683
+ input: TecRunLessonCodeInput;
73684
+ };
73685
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73643
73686
  export type MutationTecScoreTeamArgs = {
73644
73687
  id: Scalars['ID']['input'];
73645
73688
  score: Scalars['Int']['input'];
@@ -73654,6 +73697,11 @@ export type MutationTecStartJudgingArgs = {
73654
73697
  id: Scalars['ID']['input'];
73655
73698
  };
73656
73699
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73700
+ export type MutationTecSubmitLessonQuizArgs = {
73701
+ answers: Array<Scalars['Int']['input']>;
73702
+ lessonId: Scalars['ID']['input'];
73703
+ };
73704
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73657
73705
  export type MutationTecSubmitProjectArgs = {
73658
73706
  input: TecSubmitProjectInput;
73659
73707
  };
@@ -74064,6 +74112,10 @@ export type MutationUninstallRemoteAgentArgs = {
74064
74112
  sshTargetId: Scalars['ID']['input'];
74065
74113
  };
74066
74114
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74115
+ export type MutationUninstallTimeCampusAppletArgs = {
74116
+ key: Scalars['ID']['input'];
74117
+ };
74118
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74067
74119
  export type MutationUninstallWidgetTypeArgs = {
74068
74120
  input: BigConsoleUninstallWidgetTypeInput;
74069
74121
  };
@@ -75858,6 +75910,10 @@ export type MutationUpdateTimeCampusInvoiceStatusArgs = {
75858
75910
  input: UpdateTimeCampusInvoiceStatusInput;
75859
75911
  };
75860
75912
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
75913
+ export type MutationUpdateTimeCampusMyWidgetLayoutArgs = {
75914
+ widgetKeys: Array<Scalars['String']['input']>;
75915
+ };
75916
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
75861
75917
  export type MutationUpdateTimeCampusProjectArgs = {
75862
75918
  id: Scalars['ID']['input'];
75863
75919
  input: UpdateTimeCampusProjectInput;
@@ -90881,10 +90937,18 @@ export type Query = {
90881
90937
  teamWorkPatterns: Array<TeamWorkPatternEntry>;
90882
90938
  /** Preview the cost of a session with a mentor before booking it -- does not create anything. Read access mirrors tecMentor (reading the mentor's rate). */
90883
90939
  tecCalculateSessionCost: TecSessionCostEstimate;
90940
+ /** A single certificate by id, for the instructor/admin view (BOFF-3863). Same "list-all" gating as tecListCertificates. A learner reading their own certificate must use tecMyCertificate instead. */
90941
+ tecCertificate?: Maybe<TecCertificate>;
90884
90942
  tecCourse?: Maybe<TecCourse>;
90943
+ /** A single enrollment by id, for the instructor/admin view (BOFF-3863). Gated behind "list-all" like tecListEnrollments, because it can return any learner's enrollment. A learner reading their own enrollment must use tecMyEnrollment instead. Returns null for an id outside the workspace. */
90944
+ tecEnrollment?: Maybe<TecEnrollment>;
90885
90945
  tecHackathon?: Maybe<TecHackathon>;
90886
90946
  /** Liveness/identity probe for the Technospam subgraph. */
90887
90947
  tecHealth: Scalars['String']['output'];
90948
+ /** A single lesson by id (BOFF-3863). Same read gate as tecListLessons; premium-gated lesson content is still locked by the TecLesson field resolvers. Returns null for an id outside the caller's workspace. */
90949
+ tecLesson?: Maybe<TecLesson>;
90950
+ /** Lesson-author view of a QUIZ lesson including the answer key (BOFF-4107). Gated on technospam-lesson update, the same permission that edits it, so a learner can never read the key. Empty for a lesson without a quiz. */
90951
+ tecLessonQuizKey: Array<TecQuizQuestionKey>;
90888
90952
  /** Cross-learner, instructor/admin view of certificates — same "list-all" gating as tecListEnrollments. A learner viewing their own certificates must use tecMyCertificates instead. */
90889
90953
  tecListCertificates: Array<TecCertificate>;
90890
90954
  tecListCourses: TecCourseConnection;
@@ -90906,8 +90970,12 @@ export type Query = {
90906
90970
  tecListSubmissions: TecSubmissionConnection;
90907
90971
  tecListTeams: TecHackathonTeamConnection;
90908
90972
  tecMentor?: Maybe<TecMentor>;
90973
+ /** One of the calling learner's own certificates (BOFF-3863). Self-scoped (Type B): owner-filtered by the authenticated actor; null otherwise. */
90974
+ tecMyCertificate?: Maybe<TecCertificate>;
90909
90975
  /** The calling learner's own certificates. Self-scoped (Type C): identity comes from the authenticated actor, never from a client-supplied argument — the resolver forces learnerId = ctx.actor.id server-side. */
90910
90976
  tecMyCertificates: Array<TecCertificate>;
90977
+ /** One of the calling learner's own enrollments (BOFF-3863). Self-scoped (Type B): the id is a client argument, but the resolver owner-filters by the authenticated actor and returns null for an enrollment that does not exist or belongs to someone else, so existence is never leaked. */
90978
+ tecMyEnrollment?: Maybe<TecEnrollment>;
90911
90979
  /** The calling learner's own enrollments. Self-scoped (Type C): identity comes from the authenticated actor, never from a client-supplied argument — the resolver forces learnerId = ctx.actor.id server-side. */
90912
90980
  tecMyEnrollments: TecEnrollmentConnection;
90913
90981
  /** Return the most recent acceptance of each type for the calling actor in the current workspace. Self-scoped: result is always filtered by ctx.actorId. */
@@ -90916,17 +90984,29 @@ export type Query = {
90916
90984
  tecMyPayouts: TecMentorPayoutConnection;
90917
90985
  /** The calling learner's own portfolio. Self-scoped (Type C). Get-or-create: auto-provisions an (unpublished) portfolio the first time a learner touches this surface, so the client never has to branch on "no portfolio yet". */
90918
90986
  tecMyPortfolio: TecPortfolio;
90987
+ /** A session the calling actor takes part in (BOFF-3863), as mentee directly or as mentor via their TecMentor profile, mirroring tecMySessions. Self-scoped (Type B): returns null for any other session. */
90988
+ tecMySession?: Maybe<TecMentorSession>;
90919
90989
  /** The calling actor's own sessions — as mentee directly, or as mentor via their TecMentor profile. Self-scoped (Type C): identity comes from the authenticated actor, never from a client-supplied mentorId/menteeId — the resolver filters server-side. */
90920
90990
  tecMySessions: TecMentorSessionConnection;
90921
90991
  /** A single plan owned by the calling learner. Self-scoped (Type B): the id is a client argument, but the resolver owner-filters by `learnerId = ctx.actor.id` and throws NOT_FOUND (never FORBIDDEN) for a plan belonging to someone else -- never leaking whether it exists. */
90922
90992
  tecMyStudyPlan?: Maybe<TecStudyPlan>;
90923
90993
  /** The calling learner's own study plans. Self-scoped (Type C): identity comes from the authenticated actor, never from a client-supplied argument. */
90924
90994
  tecMyStudyPlans: TecStudyPlanConnection;
90995
+ /** One of the calling learner's own submissions (BOFF-3863). Self-scoped (Type B): the id is a client argument, but the resolver owner-filters by the authenticated actor and returns null for a submission that does not exist or belongs to someone else. */
90996
+ tecMySubmission?: Maybe<TecSubmission>;
90997
+ /** The stored review of one of the calling learner's own submissions, or null when none has been requested yet. Self-scoped (Type B): owner-filtered by the authenticated actor; another learner's submission resolves to null. */
90998
+ tecMySubmissionReview?: Maybe<TecSubmissionReview>;
90925
90999
  /** The calling learner's own submissions. Self-scoped (Type C — RBAC guide §"scopeType: self"): identity comes from the authenticated actor, never from a client-supplied argument. The resolver forces learnerId = ctx.actor.id server-side. Available to every authenticated workspace member, including a plain Viewer — no elevated permission required. */
90926
91000
  tecMySubmissions: TecSubmissionConnection;
90927
91001
  tecProblem?: Maybe<TecProblem>;
90928
91002
  /** Public, unauthenticated read of a published portfolio by its shareable slug. Returns null for an unknown slug or an unpublished portfolio -- never distinguishes the two, so a guessed slug cannot be used to probe for the existence of an unpublished portfolio. */
90929
91003
  tecPublicPortfolio?: Maybe<TecPublicPortfolio>;
91004
+ /** A single mentoring session by id, for the instructor/admin view (BOFF-3863). Same "list-all" gating as tecListSessions. A mentor or mentee reading their own session must use tecMySession instead. */
91005
+ tecSession?: Maybe<TecMentorSession>;
91006
+ /** A single submission by id, for the instructor/admin view (BOFF-3863). Same "list-all" gating as tecListSubmissions, because it can return any learner's submission. A learner reading their own submission (for example an assistant explaining "why was this rejected?") must use tecMySubmission instead. Returns null for an id outside the workspace. */
91007
+ tecSubmission?: Maybe<TecSubmission>;
91008
+ /** A single hackathon team by id (BOFF-3863). Same read gate as tecListTeams. Returns null for an id outside the caller's workspace. */
91009
+ tecTeam?: Maybe<TecHackathonTeam>;
90930
91010
  testParserExpression: ParserTestResult;
90931
91011
  theAsset?: Maybe<TheAsset>;
90932
91012
  theComplianceCert?: Maybe<TheComplianceCert>;
@@ -90953,6 +91033,9 @@ export type Query = {
90953
91033
  /** The caller's currently ACTIVE focus session, if any. Self-scoped, no arg. */
90954
91034
  timeCampusActiveFocusSession?: Maybe<TimeCampusFocusSession>;
90955
91035
  timeCampusAdminWorkspaceState: TimeCampusAdminWorkspaceState;
91036
+ timeCampusApplet: TimeCampusApplet;
91037
+ /** The applet store with this workspace's install state. */
91038
+ timeCampusApplets: Array<TimeCampusApplet>;
90956
91039
  timeCampusCaptureEvent?: Maybe<TimeCampusCaptureEvent>;
90957
91040
  timeCampusCaptureEvents: TimeCampusCaptureEventListResponse;
90958
91041
  timeCampusDataErasureRequests: Array<TimeCampusDataErasureRequest>;
@@ -90983,12 +91066,20 @@ export type Query = {
90983
91066
  timeCampusInvoices: TimeCampusInvoiceListResponse;
90984
91067
  timeCampusLakeDatasets: Array<TimeCampusLakeDataset>;
90985
91068
  timeCampusLakeRows?: Maybe<TimeCampusLakePage>;
91069
+ /** Self-scoped: the caller's own widget layout (the default until they save one). */
91070
+ timeCampusMyWidgetLayout: TimeCampusWidgetLayout;
90986
91071
  timeCampusProject?: Maybe<TimeCampusProject>;
90987
91072
  timeCampusProjectStats: ProjectStats;
90988
91073
  timeCampusProjects: TimeCampusProjectListResponse;
91074
+ /** Templates applied to this workspace, newest first. */
91075
+ timeCampusTemplateApplications: Array<TimeCampusTemplateApplication>;
90989
91076
  /** The self-assembling timeline: capture events, time entries, meetings, pomodoro sessions, email activity and (on your own timeline) focus sessions and planned focus blocks merged into one chronological, categorized view with an honest summary (focus ratio, context switches). Planned blocks are shown but never counted in the summary. */
90990
91077
  timeCampusTimeline: TimeCampusTimeline;
91078
+ /** The widget catalogue, with which widgets can be placed in this workspace. */
91079
+ timeCampusWidgets: Array<TimeCampusWidget>;
90991
91080
  timeCampusWorkspaceQuotaOverview: TimeCampusWorkspaceQuotaOverview;
91081
+ timeCampusWorkspaceTemplate: TimeCampusWorkspaceTemplate;
91082
+ timeCampusWorkspaceTemplates: Array<TimeCampusWorkspaceTemplate>;
90992
91083
  timeEntries: TimeEntryListResponse;
90993
91084
  timeEntriesByDate: Array<TimeEntry>;
90994
91085
  timeEntry?: Maybe<TimeEntry>;
@@ -102302,14 +102393,30 @@ export type QueryTecCalculateSessionCostArgs = {
102302
102393
  mentorId: Scalars['ID']['input'];
102303
102394
  };
102304
102395
  /** Base Query type with placeholder field. Extended by individual query files. */
102396
+ export type QueryTecCertificateArgs = {
102397
+ id: Scalars['ID']['input'];
102398
+ };
102399
+ /** Base Query type with placeholder field. Extended by individual query files. */
102305
102400
  export type QueryTecCourseArgs = {
102306
102401
  id: Scalars['ID']['input'];
102307
102402
  };
102308
102403
  /** Base Query type with placeholder field. Extended by individual query files. */
102404
+ export type QueryTecEnrollmentArgs = {
102405
+ id: Scalars['ID']['input'];
102406
+ };
102407
+ /** Base Query type with placeholder field. Extended by individual query files. */
102309
102408
  export type QueryTecHackathonArgs = {
102310
102409
  id: Scalars['ID']['input'];
102311
102410
  };
102312
102411
  /** Base Query type with placeholder field. Extended by individual query files. */
102412
+ export type QueryTecLessonArgs = {
102413
+ id: Scalars['ID']['input'];
102414
+ };
102415
+ /** Base Query type with placeholder field. Extended by individual query files. */
102416
+ export type QueryTecLessonQuizKeyArgs = {
102417
+ lessonId: Scalars['ID']['input'];
102418
+ };
102419
+ /** Base Query type with placeholder field. Extended by individual query files. */
102313
102420
  export type QueryTecListCertificatesArgs = {
102314
102421
  courseId?: InputMaybe<Scalars['ID']['input']>;
102315
102422
  learnerId?: InputMaybe<Scalars['ID']['input']>;
@@ -102393,11 +102500,19 @@ export type QueryTecMentorArgs = {
102393
102500
  id: Scalars['ID']['input'];
102394
102501
  };
102395
102502
  /** Base Query type with placeholder field. Extended by individual query files. */
102503
+ export type QueryTecMyCertificateArgs = {
102504
+ id: Scalars['ID']['input'];
102505
+ };
102506
+ /** Base Query type with placeholder field. Extended by individual query files. */
102396
102507
  export type QueryTecMyCertificatesArgs = {
102397
102508
  courseId?: InputMaybe<Scalars['ID']['input']>;
102398
102509
  pagination?: InputMaybe<PaginationInput>;
102399
102510
  };
102400
102511
  /** Base Query type with placeholder field. Extended by individual query files. */
102512
+ export type QueryTecMyEnrollmentArgs = {
102513
+ id: Scalars['ID']['input'];
102514
+ };
102515
+ /** Base Query type with placeholder field. Extended by individual query files. */
102401
102516
  export type QueryTecMyEnrollmentsArgs = {
102402
102517
  courseId?: InputMaybe<Scalars['ID']['input']>;
102403
102518
  endDate?: InputMaybe<Scalars['DateTime']['input']>;
@@ -102410,6 +102525,10 @@ export type QueryTecMyPayoutsArgs = {
102410
102525
  status?: InputMaybe<TecPayoutStatus>;
102411
102526
  };
102412
102527
  /** Base Query type with placeholder field. Extended by individual query files. */
102528
+ export type QueryTecMySessionArgs = {
102529
+ id: Scalars['ID']['input'];
102530
+ };
102531
+ /** Base Query type with placeholder field. Extended by individual query files. */
102413
102532
  export type QueryTecMySessionsArgs = {
102414
102533
  pagination?: InputMaybe<PaginationInput>;
102415
102534
  status?: InputMaybe<TecSessionStatus>;
@@ -102423,6 +102542,14 @@ export type QueryTecMyStudyPlansArgs = {
102423
102542
  pagination?: InputMaybe<PaginationInput>;
102424
102543
  };
102425
102544
  /** Base Query type with placeholder field. Extended by individual query files. */
102545
+ export type QueryTecMySubmissionArgs = {
102546
+ id: Scalars['ID']['input'];
102547
+ };
102548
+ /** Base Query type with placeholder field. Extended by individual query files. */
102549
+ export type QueryTecMySubmissionReviewArgs = {
102550
+ submissionId: Scalars['ID']['input'];
102551
+ };
102552
+ /** Base Query type with placeholder field. Extended by individual query files. */
102426
102553
  export type QueryTecMySubmissionsArgs = {
102427
102554
  endDate?: InputMaybe<Scalars['DateTime']['input']>;
102428
102555
  pagination?: InputMaybe<PaginationInput>;
@@ -102438,6 +102565,18 @@ export type QueryTecPublicPortfolioArgs = {
102438
102565
  slug: Scalars['String']['input'];
102439
102566
  };
102440
102567
  /** Base Query type with placeholder field. Extended by individual query files. */
102568
+ export type QueryTecSessionArgs = {
102569
+ id: Scalars['ID']['input'];
102570
+ };
102571
+ /** Base Query type with placeholder field. Extended by individual query files. */
102572
+ export type QueryTecSubmissionArgs = {
102573
+ id: Scalars['ID']['input'];
102574
+ };
102575
+ /** Base Query type with placeholder field. Extended by individual query files. */
102576
+ export type QueryTecTeamArgs = {
102577
+ id: Scalars['ID']['input'];
102578
+ };
102579
+ /** Base Query type with placeholder field. Extended by individual query files. */
102441
102580
  export type QueryTestParserExpressionArgs = {
102442
102581
  input: TestParserInput;
102443
102582
  };
@@ -102546,6 +102685,14 @@ export type QueryTimeCampusAdminWorkspaceStateArgs = {
102546
102685
  workspaceId: Scalars['ID']['input'];
102547
102686
  };
102548
102687
  /** Base Query type with placeholder field. Extended by individual query files. */
102688
+ export type QueryTimeCampusAppletArgs = {
102689
+ key: Scalars['ID']['input'];
102690
+ };
102691
+ /** Base Query type with placeholder field. Extended by individual query files. */
102692
+ export type QueryTimeCampusAppletsArgs = {
102693
+ filter?: InputMaybe<TimeCampusAppletFilterInput>;
102694
+ };
102695
+ /** Base Query type with placeholder field. Extended by individual query files. */
102549
102696
  export type QueryTimeCampusCaptureEventArgs = {
102550
102697
  id: Scalars['ID']['input'];
102551
102698
  };
@@ -102641,6 +102788,10 @@ export type QueryTimeCampusProjectsArgs = {
102641
102788
  pagination?: InputMaybe<PaginationInput>;
102642
102789
  };
102643
102790
  /** Base Query type with placeholder field. Extended by individual query files. */
102791
+ export type QueryTimeCampusTemplateApplicationsArgs = {
102792
+ pagination?: InputMaybe<PaginationInput>;
102793
+ };
102794
+ /** Base Query type with placeholder field. Extended by individual query files. */
102644
102795
  export type QueryTimeCampusTimelineArgs = {
102645
102796
  from: Scalars['DateTime']['input'];
102646
102797
  to: Scalars['DateTime']['input'];
@@ -102651,6 +102802,14 @@ export type QueryTimeCampusWorkspaceQuotaOverviewArgs = {
102651
102802
  workspaceId: Scalars['ID']['input'];
102652
102803
  };
102653
102804
  /** Base Query type with placeholder field. Extended by individual query files. */
102805
+ export type QueryTimeCampusWorkspaceTemplateArgs = {
102806
+ key: Scalars['ID']['input'];
102807
+ };
102808
+ /** Base Query type with placeholder field. Extended by individual query files. */
102809
+ export type QueryTimeCampusWorkspaceTemplatesArgs = {
102810
+ category?: InputMaybe<TimeCampusTemplateCategory>;
102811
+ };
102812
+ /** Base Query type with placeholder field. Extended by individual query files. */
102654
102813
  export type QueryTimeEntriesArgs = {
102655
102814
  filter?: InputMaybe<TimeEntryFilterInput>;
102656
102815
  orderBy?: InputMaybe<TimeEntryOrderByInput>;
@@ -112848,10 +113007,15 @@ export type TecCreateLessonInput = {
112848
113007
  content?: InputMaybe<Scalars['String']['input']>;
112849
113008
  courseId: Scalars['ID']['input'];
112850
113009
  estimatedMinutes?: InputMaybe<Scalars['Int']['input']>;
113010
+ expectedOutput?: InputMaybe<Scalars['String']['input']>;
112851
113011
  fileId?: InputMaybe<Scalars['ID']['input']>;
112852
113012
  isPreview?: InputMaybe<Scalars['Boolean']['input']>;
112853
113013
  kind?: InputMaybe<TecLessonKind>;
113014
+ language?: InputMaybe<Scalars['String']['input']>;
112854
113015
  position?: InputMaybe<Scalars['Int']['input']>;
113016
+ quizQuestions?: InputMaybe<Array<TecQuizQuestionInput>>;
113017
+ sampleInput?: InputMaybe<Scalars['String']['input']>;
113018
+ starterCode?: InputMaybe<Scalars['String']['input']>;
112855
113019
  title: Scalars['String']['input'];
112856
113020
  };
112857
113021
  export type TecCreateMentorInput = {
@@ -112894,6 +113058,8 @@ export type TecEnrollInput = {
112894
113058
  export type TecEnrollment = {
112895
113059
  __typename?: 'TecEnrollment';
112896
113060
  completedAt?: Maybe<Scalars['DateTime']['output']>;
113061
+ /** Lessons finished in this enrollment (BOFF-4107), oldest first. */
113062
+ completions: Array<TecLessonCompletion>;
112897
113063
  course?: Maybe<TecCourse>;
112898
113064
  courseId: Scalars['ID']['output'];
112899
113065
  createdAt: Scalars['DateTime']['output'];
@@ -112901,6 +113067,8 @@ export type TecEnrollment = {
112901
113067
  lastActiveAt?: Maybe<Scalars['DateTime']['output']>;
112902
113068
  learnerId: Scalars['ID']['output'];
112903
113069
  lessonsCompleted: Scalars['Int']['output'];
113070
+ /** The first lesson (by position) not yet completed; null when every lesson is done. "Resume" / "Continue learning" deep-link here. */
113071
+ nextLessonId?: Maybe<Scalars['ID']['output']>;
112904
113072
  progressPct: Scalars['Int']['output'];
112905
113073
  startedAt: Scalars['DateTime']['output'];
112906
113074
  status: TecEnrollmentStatus;
@@ -113015,12 +113183,16 @@ export declare enum TecLegalAcceptanceType {
113015
113183
  }
113016
113184
  export type TecLesson = {
113017
113185
  __typename?: 'TecLesson';
113186
+ /** True when the calling learner has completed this lesson. */
113187
+ completedByMe: Scalars['Boolean']['output'];
113018
113188
  /** Null when `isLocked` is true (BOFF-4416 free-tier gating) -- the gate is enforced here at the API layer, not left to the client to respect. */
113019
113189
  content?: Maybe<Scalars['String']['output']>;
113020
113190
  course?: Maybe<TecCourse>;
113021
113191
  courseId: Scalars['ID']['output'];
113022
113192
  createdAt: Scalars['DateTime']['output'];
113023
113193
  estimatedMinutes: Scalars['Int']['output'];
113194
+ /** INTERACTIVE lessons: the output a correct program prints. When set, a matching run completes the lesson automatically. Null when `isLocked`. */
113195
+ expectedOutput?: Maybe<Scalars['String']['output']>;
113024
113196
  /** Reference to a wspace-files-svc File (video / attachment). Null when `isLocked` is true. */
113025
113197
  file?: Maybe<File>;
113026
113198
  id: Scalars['ID']['output'];
@@ -113028,11 +113200,58 @@ export type TecLesson = {
113028
113200
  isLocked: Scalars['Boolean']['output'];
113029
113201
  isPreview: Scalars['Boolean']['output'];
113030
113202
  kind: TecLessonKind;
113203
+ /** INTERACTIVE lessons (BOFF-4107): language slug the runnable workspace executes, e.g. "python". Null for other kinds. */
113204
+ language?: Maybe<Scalars['String']['output']>;
113031
113205
  position: Scalars['Int']['output'];
113206
+ /** QUIZ lessons: the questions, without the answer key (grading happens server-side in tecSubmitLessonQuiz). Empty when `isLocked`. */
113207
+ quizQuestions: Array<TecQuizQuestion>;
113208
+ /** INTERACTIVE lessons: default stdin for a run. Null when `isLocked`. */
113209
+ sampleInput?: Maybe<Scalars['String']['output']>;
113210
+ /** INTERACTIVE lessons: code pre-filled in the editor. Null when `isLocked`. */
113211
+ starterCode?: Maybe<Scalars['String']['output']>;
113032
113212
  title: Scalars['String']['output'];
113033
113213
  updatedAt: Scalars['DateTime']['output'];
113034
113214
  workspaceId: Scalars['ID']['output'];
113035
113215
  };
113216
+ /** Result of tecRunLessonCode. */
113217
+ export type TecLessonCodeRun = {
113218
+ __typename?: 'TecLessonCodeRun';
113219
+ compileFailed: Scalars['Boolean']['output'];
113220
+ durationMs: Scalars['Int']['output'];
113221
+ /** The learner's enrollment after the run. Null when not enrolled. */
113222
+ enrollment?: Maybe<TecEnrollment>;
113223
+ exitCode: Scalars['Int']['output'];
113224
+ language: Scalars['String']['output'];
113225
+ /** True when this run completed the lesson (first matching run). */
113226
+ lessonCompleted: Scalars['Boolean']['output'];
113227
+ lessonId: Scalars['ID']['output'];
113228
+ /** Null when the lesson has no expected output or nothing ran; otherwise whether stdout matched it. */
113229
+ matchedExpected?: Maybe<Scalars['Boolean']['output']>;
113230
+ memoryLimitExceeded: Scalars['Boolean']['output'];
113231
+ status: TecLessonRunStatus;
113232
+ stderr: Scalars['String']['output'];
113233
+ stdout: Scalars['String']['output'];
113234
+ timedOut: Scalars['Boolean']['output'];
113235
+ };
113236
+ /** A lesson the learner finished inside an enrollment (BOFF-4107). */
113237
+ export type TecLessonCompletion = {
113238
+ __typename?: 'TecLessonCompletion';
113239
+ completedAt: Scalars['DateTime']['output'];
113240
+ enrollmentId: Scalars['ID']['output'];
113241
+ id: Scalars['ID']['output'];
113242
+ lessonId: Scalars['ID']['output'];
113243
+ method: TecLessonCompletionMethod;
113244
+ score?: Maybe<Scalars['Int']['output']>;
113245
+ };
113246
+ /** How a lesson was completed (BOFF-4107). */
113247
+ export declare enum TecLessonCompletionMethod {
113248
+ /** The learner's code produced the lesson's expected output (tecRunLessonCode). */
113249
+ CodePassed = "CODE_PASSED",
113250
+ /** The learner marked an ARTICLE / VIDEO / PROJECT lesson (or an INTERACTIVE lesson with no expected output) as done. */
113251
+ Manual = "MANUAL",
113252
+ /** The learner passed the lesson's quiz (tecSubmitLessonQuiz). */
113253
+ QuizPassed = "QUIZ_PASSED"
113254
+ }
113036
113255
  export type TecLessonConnection = {
113037
113256
  __typename?: 'TecLessonConnection';
113038
113257
  items: Array<TecLesson>;
@@ -113045,6 +113264,15 @@ export declare enum TecLessonKind {
113045
113264
  Quiz = "QUIZ",
113046
113265
  Video = "VIDEO"
113047
113266
  }
113267
+ /** Outcome of one tecRunLessonCode call (BOFF-4107). */
113268
+ export declare enum TecLessonRunStatus {
113269
+ /** The code ran in the sandbox; see stdout/stderr/exitCode. */
113270
+ Completed = "COMPLETED",
113271
+ /** The sandbox could not be reached or failed. Nothing ran; retry later. */
113272
+ Unavailable = "UNAVAILABLE",
113273
+ /** The code sandbox was cold and is starting. Nothing ran; call tecRunLessonCode again in a few seconds. */
113274
+ Warming = "WARMING"
113275
+ }
113048
113276
  export type TecMentor = {
113049
113277
  __typename?: 'TecMentor';
113050
113278
  bio?: Maybe<Scalars['String']['output']>;
@@ -113266,6 +113494,52 @@ export type TecPublicPortfolioItem = {
113266
113494
  order: Scalars['Int']['output'];
113267
113495
  title: Scalars['String']['output'];
113268
113496
  };
113497
+ /** One multiple-choice question of a QUIZ lesson, as a learner sees it. */
113498
+ export type TecQuizQuestion = {
113499
+ __typename?: 'TecQuizQuestion';
113500
+ options: Array<Scalars['String']['output']>;
113501
+ prompt: Scalars['String']['output'];
113502
+ };
113503
+ /** One quiz question with its answer key, as a lesson author writes it. */
113504
+ export type TecQuizQuestionInput = {
113505
+ /** Zero-based index into `options` of the correct answer. */
113506
+ correctOption: Scalars['Int']['input'];
113507
+ explanation?: InputMaybe<Scalars['String']['input']>;
113508
+ /** Two to eight answer options. */
113509
+ options: Array<Scalars['String']['input']>;
113510
+ prompt: Scalars['String']['input'];
113511
+ };
113512
+ /** One quiz question with its answer key (lesson-author view). */
113513
+ export type TecQuizQuestionKey = {
113514
+ __typename?: 'TecQuizQuestionKey';
113515
+ correctOption: Scalars['Int']['output'];
113516
+ explanation?: Maybe<Scalars['String']['output']>;
113517
+ options: Array<Scalars['String']['output']>;
113518
+ prompt: Scalars['String']['output'];
113519
+ };
113520
+ /** Per-question feedback returned after a quiz attempt. */
113521
+ export type TecQuizQuestionResult = {
113522
+ __typename?: 'TecQuizQuestionResult';
113523
+ correct: Scalars['Boolean']['output'];
113524
+ correctOption: Scalars['Int']['output'];
113525
+ explanation?: Maybe<Scalars['String']['output']>;
113526
+ index: Scalars['Int']['output'];
113527
+ selectedOption?: Maybe<Scalars['Int']['output']>;
113528
+ };
113529
+ /** Result of tecSubmitLessonQuiz. */
113530
+ export type TecQuizResult = {
113531
+ __typename?: 'TecQuizResult';
113532
+ correctCount: Scalars['Int']['output'];
113533
+ /** The learner's enrollment after the attempt (progress updated when passed). Null when the learner is not enrolled (preview lessons). */
113534
+ enrollment?: Maybe<TecEnrollment>;
113535
+ lessonId: Scalars['ID']['output'];
113536
+ passed: Scalars['Boolean']['output'];
113537
+ /** Minimum score (percent) needed to pass. */
113538
+ passingScore: Scalars['Int']['output'];
113539
+ results: Array<TecQuizQuestionResult>;
113540
+ score: Scalars['Int']['output'];
113541
+ totalCount: Scalars['Int']['output'];
113542
+ };
113269
113543
  export type TecRecordLegalAcceptanceInput = {
113270
113544
  acceptanceType: TecLegalAcceptanceType;
113271
113545
  acceptedAt?: InputMaybe<Scalars['DateTime']['input']>;
@@ -113285,6 +113559,19 @@ export type TecReorderPortfolioItemsInput = {
113285
113559
  /** Every existing item id for the calling learner's portfolio, in the desired display order. Must be a permutation of the current item set. */
113286
113560
  itemIds: Array<Scalars['ID']['input']>;
113287
113561
  };
113562
+ /** Who wrote a review: AI when a language model wrote the explanation, RULES when the service built it from the grader output alone (no model provider configured, or every provider failed). */
113563
+ export declare enum TecReviewSource {
113564
+ Ai = "AI",
113565
+ Rules = "RULES"
113566
+ }
113567
+ export type TecRunLessonCodeInput = {
113568
+ code: Scalars['String']['input'];
113569
+ /** Defaults to the lesson's language. */
113570
+ language?: InputMaybe<Scalars['String']['input']>;
113571
+ lessonId: Scalars['ID']['input'];
113572
+ /** Defaults to the lesson's sampleInput. */
113573
+ stdin?: InputMaybe<Scalars['String']['input']>;
113574
+ };
113288
113575
  /** Read-only preview of what a session with a given mentor and duration would cost, computed from the mentor's real current hourlyRate -- lets the booking UI show the learner the price (and the platform-fee breakdown) before they commit to tecBookSession. Never persists anything. */
113289
113576
  export type TecSessionCostEstimate = {
113290
113577
  __typename?: 'TecSessionCostEstimate';
@@ -113395,6 +113682,30 @@ export type TecSubmissionConnection = {
113395
113682
  items: Array<TecSubmission>;
113396
113683
  pageInfo: TecPracticePageInfo;
113397
113684
  };
113685
+ export type TecSubmissionReview = {
113686
+ __typename?: 'TecSubmissionReview';
113687
+ /** Up to five short concept names to revisit. */
113688
+ conceptsToRevisit: Array<Scalars['String']['output']>;
113689
+ createdAt: Scalars['DateTime']['output'];
113690
+ /** What failed and what to look at, grounded in the failing test case and grader diagnostics. Never contains a complete solution. */
113691
+ failureExplanation: Scalars['String']['output'];
113692
+ id: Scalars['ID']['output'];
113693
+ /** Model that wrote the explanation; null for a RULES review. */
113694
+ model?: Maybe<Scalars['String']['output']>;
113695
+ problemId: Scalars['ID']['output'];
113696
+ source: TecReviewSource;
113697
+ submissionId: Scalars['ID']['output'];
113698
+ /** Ids of real, published problems in this workspace to practise next, chosen from the catalog by the service (never by the model). */
113699
+ suggestedProblemIds: Array<Scalars['ID']['output']>;
113700
+ /** The suggested problems that are still published. */
113701
+ suggestedProblems: Array<TecProblem>;
113702
+ /** One or two sentences on the outcome. */
113703
+ summary: Scalars['String']['output'];
113704
+ updatedAt: Scalars['DateTime']['output'];
113705
+ /** The submission's verdict when this review was written. */
113706
+ verdict: TecSubmissionVerdict;
113707
+ workspaceId: Scalars['ID']['output'];
113708
+ };
113398
113709
  export declare enum TecSubmissionVerdict {
113399
113710
  Accepted = "ACCEPTED",
113400
113711
  CompileError = "COMPILE_ERROR",
@@ -113474,10 +113785,15 @@ export type TecUpdateHackathonInput = {
113474
113785
  export type TecUpdateLessonInput = {
113475
113786
  content?: InputMaybe<Scalars['String']['input']>;
113476
113787
  estimatedMinutes?: InputMaybe<Scalars['Int']['input']>;
113788
+ expectedOutput?: InputMaybe<Scalars['String']['input']>;
113477
113789
  fileId?: InputMaybe<Scalars['ID']['input']>;
113478
113790
  isPreview?: InputMaybe<Scalars['Boolean']['input']>;
113479
113791
  kind?: InputMaybe<TecLessonKind>;
113792
+ language?: InputMaybe<Scalars['String']['input']>;
113480
113793
  position?: InputMaybe<Scalars['Int']['input']>;
113794
+ quizQuestions?: InputMaybe<Array<TecQuizQuestionInput>>;
113795
+ sampleInput?: InputMaybe<Scalars['String']['input']>;
113796
+ starterCode?: InputMaybe<Scalars['String']['input']>;
113481
113797
  title?: InputMaybe<Scalars['String']['input']>;
113482
113798
  };
113483
113799
  export type TecUpdateMentorInput = {
@@ -114355,6 +114671,50 @@ export type TimeCampusAiRevertResult = {
114355
114671
  reverted: Scalars['Int']['output'];
114356
114672
  to: Scalars['DateTime']['output'];
114357
114673
  };
114674
+ /** A first-party applet and whether this workspace has it installed. */
114675
+ export type TimeCampusApplet = {
114676
+ __typename?: 'TimeCampusApplet';
114677
+ category: TimeCampusAppletCategory;
114678
+ description: Scalars['String']['output'];
114679
+ /** lucide icon name. */
114680
+ icon: Scalars['String']['output'];
114681
+ installSource?: Maybe<TimeCampusAppletInstallSource>;
114682
+ installed: Scalars['Boolean']['output'];
114683
+ installedAt?: Maybe<Scalars['DateTime']['output']>;
114684
+ key: Scalars['ID']['output'];
114685
+ name: Scalars['String']['output'];
114686
+ /** App-shell path that opens the applet (/timecampus/... or a platform module). */
114687
+ route: Scalars['String']['output'];
114688
+ /** Template that installed the applet, when installSource is TEMPLATE. */
114689
+ templateKey?: Maybe<Scalars['String']['output']>;
114690
+ /** Widgets this applet adds to the widget catalogue. */
114691
+ widgetKeys: Array<Scalars['String']['output']>;
114692
+ };
114693
+ export declare enum TimeCampusAppletCategory {
114694
+ Analytics = "ANALYTICS",
114695
+ Automation = "AUTOMATION",
114696
+ Clients = "CLIENTS",
114697
+ Finance = "FINANCE",
114698
+ Focus = "FOCUS",
114699
+ Location = "LOCATION",
114700
+ Meetings = "MEETINGS",
114701
+ Team = "TEAM"
114702
+ }
114703
+ export type TimeCampusAppletFilterInput = {
114704
+ category?: InputMaybe<TimeCampusAppletCategory>;
114705
+ installedOnly?: InputMaybe<Scalars['Boolean']['input']>;
114706
+ search?: InputMaybe<Scalars['String']['input']>;
114707
+ };
114708
+ export declare enum TimeCampusAppletInstallSource {
114709
+ Manual = "MANUAL",
114710
+ Template = "TEMPLATE"
114711
+ }
114712
+ export type TimeCampusApplyTemplateInput = {
114713
+ /** ISO 4217 currency for the created projects (default USD). */
114714
+ currency?: InputMaybe<Scalars['String']['input']>;
114715
+ /** Hourly rate for the template's billable projects; omitted leaves them without a rate. */
114716
+ hourlyRate?: InputMaybe<Scalars['Float']['input']>;
114717
+ };
114358
114718
  export type TimeCampusBalanceTarget = {
114359
114719
  __typename?: 'TimeCampusBalanceTarget';
114360
114720
  createdAt: Scalars['DateTime']['output'];
@@ -115224,6 +115584,37 @@ export type TimeCampusSourceConsent = {
115224
115584
  userId: Scalars['ID']['output'];
115225
115585
  workspaceId: Scalars['ID']['output'];
115226
115586
  };
115587
+ export type TimeCampusTemplateApplication = {
115588
+ __typename?: 'TimeCampusTemplateApplication';
115589
+ appliedBy: Scalars['ID']['output'];
115590
+ createdAt: Scalars['DateTime']['output'];
115591
+ createdProjectIds: Array<Scalars['ID']['output']>;
115592
+ createdTaskCount: Scalars['Int']['output'];
115593
+ id: Scalars['ID']['output'];
115594
+ /** Applets this application newly installed (already-installed ones are not listed). */
115595
+ installedAppletKeys: Array<Scalars['String']['output']>;
115596
+ /** Template projects left alone because a project with that name already existed. */
115597
+ skippedProjectNames: Array<Scalars['String']['output']>;
115598
+ templateKey: Scalars['String']['output'];
115599
+ templateName: Scalars['String']['output'];
115600
+ };
115601
+ export declare enum TimeCampusTemplateCategory {
115602
+ Creative = "CREATIVE",
115603
+ Independent = "INDEPENDENT",
115604
+ ProfessionalServices = "PROFESSIONAL_SERVICES",
115605
+ Research = "RESEARCH",
115606
+ Technology = "TECHNOLOGY"
115607
+ }
115608
+ export type TimeCampusTemplateProject = {
115609
+ __typename?: 'TimeCampusTemplateProject';
115610
+ /** Billable projects receive the hourly rate given when the template is applied. */
115611
+ billable: Scalars['Boolean']['output'];
115612
+ /** Accent token name (blue, indigo, purple, teal). */
115613
+ color: Scalars['String']['output'];
115614
+ description: Scalars['String']['output'];
115615
+ name: Scalars['String']['output'];
115616
+ tasks: Array<Scalars['String']['output']>;
115617
+ };
115227
115618
  export type TimeCampusTimeWellSpent = {
115228
115619
  __typename?: 'TimeCampusTimeWellSpent';
115229
115620
  byDomain: Array<TimeCampusDomainAlignment>;
@@ -115272,6 +115663,10 @@ export type TimeCampusTimelineSegment = {
115272
115663
  __typename?: 'TimeCampusTimelineSegment';
115273
115664
  app?: Maybe<Scalars['String']['output']>;
115274
115665
  category: TimeCampusTimelineCategory;
115666
+ /** Model confidence (0..1) for `category`. Set only when `categorySource` is "ai"; null for channel, user and rule-based categories and for every non-capture segment. */
115667
+ categoryConfidence?: Maybe<Scalars['Float']['output']>;
115668
+ /** The "provider:model" that decided `category` when `categorySource` is "ai". */
115669
+ categoryModel?: Maybe<Scalars['String']['output']>;
115275
115670
  categorySource?: Maybe<Scalars['String']['output']>;
115276
115671
  channelId?: Maybe<Scalars['ID']['output']>;
115277
115672
  durationSeconds: Scalars['Int']['output'];
@@ -115322,6 +115717,25 @@ export type TimeCampusUpdateCaptureChannelInput = {
115322
115717
  status?: InputMaybe<TimeCampusCaptureChannelStatus>;
115323
115718
  syncIntervalMinutes?: InputMaybe<Scalars['Int']['input']>;
115324
115719
  };
115720
+ export type TimeCampusWidget = {
115721
+ __typename?: 'TimeCampusWidget';
115722
+ /** Applet that must be installed to place the widget; null for core widgets. */
115723
+ appletKey?: Maybe<Scalars['String']['output']>;
115724
+ /** Whether the widget can be placed now (core, or its applet is installed). */
115725
+ available: Scalars['Boolean']['output'];
115726
+ description: Scalars['String']['output'];
115727
+ key: Scalars['ID']['output'];
115728
+ name: Scalars['String']['output'];
115729
+ };
115730
+ /** The caller's own dashboard widget layout. */
115731
+ export type TimeCampusWidgetLayout = {
115732
+ __typename?: 'TimeCampusWidgetLayout';
115733
+ /** True until the caller saves a layout of their own. */
115734
+ isDefault: Scalars['Boolean']['output'];
115735
+ updatedAt?: Maybe<Scalars['DateTime']['output']>;
115736
+ /** Widget keys in display order. */
115737
+ widgetKeys: Array<Scalars['String']['output']>;
115738
+ };
115325
115739
  export type TimeCampusWorkspaceQuotaAssignment = {
115326
115740
  __typename?: 'TimeCampusWorkspaceQuotaAssignment';
115327
115741
  id: Scalars['ID']['output'];
@@ -115340,6 +115754,21 @@ export type TimeCampusWorkspaceQuotaOverview = {
115340
115754
  assignments: Array<TimeCampusWorkspaceQuotaAssignment>;
115341
115755
  workspaceId: Scalars['ID']['output'];
115342
115756
  };
115757
+ export type TimeCampusWorkspaceTemplate = {
115758
+ __typename?: 'TimeCampusWorkspaceTemplate';
115759
+ appletKeys: Array<Scalars['String']['output']>;
115760
+ category: TimeCampusTemplateCategory;
115761
+ description: Scalars['String']['output'];
115762
+ highlights: Array<Scalars['String']['output']>;
115763
+ icon: Scalars['String']['output'];
115764
+ key: Scalars['ID']['output'];
115765
+ /** When this workspace last applied the template. */
115766
+ lastAppliedAt?: Maybe<Scalars['DateTime']['output']>;
115767
+ name: Scalars['String']['output'];
115768
+ projects: Array<TimeCampusTemplateProject>;
115769
+ taskCount: Scalars['Int']['output'];
115770
+ widgetKeys: Array<Scalars['String']['output']>;
115771
+ };
115343
115772
  export type TimeEntry = {
115344
115773
  __typename?: 'TimeEntry';
115345
115774
  billable: Scalars['Boolean']['output'];