@burdenoff/microfe-timecampus 2026.1031.4 → 2026.1031.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/generated/global-types.d.ts +128 -7
  2. package/dist/generated/global-types.d.ts.map +1 -1
  3. package/dist/generated/wspace-operations.d.ts +204 -0
  4. package/dist/generated/wspace-operations.d.ts.map +1 -1
  5. package/dist/generated/wspace-operations.js +1211 -1091
  6. package/dist/generated/wspace-operations.js.map +1 -1
  7. package/dist/generated/wspace-types.d.ts +2616 -47
  8. package/dist/generated/wspace-types.d.ts.map +1 -1
  9. package/dist/generated/wspace-types.js +11 -9
  10. package/dist/generated/wspace-types.js.map +1 -1
  11. package/dist/index.js +7 -7
  12. package/dist/timecampus/index.js +7 -7
  13. package/dist/timecampus/pages/channels/ChannelsPage.d.ts.map +1 -1
  14. package/dist/timecampus/pages/channels/ChannelsPage.js +394 -210
  15. package/dist/timecampus/pages/channels/ChannelsPage.js.map +1 -1
  16. package/dist/timecampus/pages/channels/channelCatalog.d.ts +18 -1
  17. package/dist/timecampus/pages/channels/channelCatalog.d.ts.map +1 -1
  18. package/dist/timecampus/pages/channels/channelCatalog.js +38 -27
  19. package/dist/timecampus/pages/channels/channelCatalog.js.map +1 -1
  20. package/dist/timecampus/pages/work-patterns/SustainedLoadCard.d.ts +10 -0
  21. package/dist/timecampus/pages/work-patterns/SustainedLoadCard.d.ts.map +1 -0
  22. package/dist/timecampus/pages/work-patterns/SustainedLoadCard.js +180 -0
  23. package/dist/timecampus/pages/work-patterns/SustainedLoadCard.js.map +1 -0
  24. package/dist/timecampus/pages/work-patterns/WorkPatternsPage.d.ts.map +1 -1
  25. package/dist/timecampus/pages/work-patterns/WorkPatternsPage.js +94 -130
  26. package/dist/timecampus/pages/work-patterns/WorkPatternsPage.js.map +1 -1
  27. package/dist/timecampus/pages/work-patterns/sustainedLoad.d.ts +30 -0
  28. package/dist/timecampus/pages/work-patterns/sustainedLoad.d.ts.map +1 -0
  29. package/dist/timecampus/pages/work-patterns/sustainedLoad.js +59 -0
  30. package/dist/timecampus/pages/work-patterns/sustainedLoad.js.map +1 -0
  31. package/package.json +2 -2
@@ -210,7 +210,10 @@ export type AcceptMtwReuseReservationInput = {
210
210
  idempotencyKey: Scalars['String']['input'];
211
211
  proposalId: Scalars['ID']['input'];
212
212
  };
213
- /** The ids a resource shared with people, groups or projects can be granted to, for one person in one workspace. */
213
+ /**
214
+ * The ids a resource shared with people, groups or projects can be granted to, for one person in one
215
+ * workspace.
216
+ */
214
217
  export type AccessPrincipals = {
215
218
  __typename?: 'AccessPrincipals';
216
219
  actorId: Scalars['String']['output'];
@@ -226,7 +229,10 @@ export type AccessPrincipalsInput = {
226
229
  /** Opaque actor ID of the person, never the calling service */
227
230
  actorId: Scalars['String']['input'];
228
231
  actorType: ActorType;
229
- /** Resource type the calling service shares (e.g. "integration-connection", "workflow"); decides administersResourceType */
232
+ /**
233
+ * Resource type the calling service shares (e.g. "integration-connection", "workflow"); decides
234
+ * administersResourceType
235
+ */
230
236
  resourceType: Scalars['String']['input'];
231
237
  };
232
238
  export type AccessShareInput = {
@@ -9729,6 +9735,8 @@ export type BuiApplyCourseOutlineInput = {
9729
9735
  };
9730
9736
  export type BuiAssessment = {
9731
9737
  __typename?: 'BuiAssessment';
9738
+ /** 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. */
9739
+ aiProctoringEnabled: Scalars['Boolean']['output'];
9732
9740
  courseId: Scalars['ID']['output'];
9733
9741
  createdAt: Scalars['DateTime']['output'];
9734
9742
  description?: Maybe<Scalars['String']['output']>;
@@ -9901,6 +9909,10 @@ export type BuiCertificate = {
9901
9909
  recipientNameSnapshot?: Maybe<Scalars['String']['output']>;
9902
9910
  revokedAt?: Maybe<Scalars['DateTime']['output']>;
9903
9911
  serial: Scalars['String']['output'];
9912
+ /** BOFF-3134: the product this certificate was mirrored from. Null for certificates issued natively in Buildmyiq. */
9913
+ source?: Maybe<BuiExternalSource>;
9914
+ /** BOFF-3134: the source product's own id for this certificate (opaque). */
9915
+ sourceId?: Maybe<Scalars['ID']['output']>;
9904
9916
  status: BuiCertificateStatus;
9905
9917
  updatedAt: Scalars['DateTime']['output'];
9906
9918
  /** 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. */
@@ -10031,6 +10043,10 @@ export type BuiCourse = {
10031
10043
  skill?: Maybe<BuiSkill>;
10032
10044
  skillId?: Maybe<Scalars['ID']['output']>;
10033
10045
  slug: Scalars['String']['output'];
10046
+ /** BOFF-3134: the product this course was mirrored from. Null for courses authored natively in Buildmyiq. */
10047
+ source?: Maybe<BuiExternalSource>;
10048
+ /** BOFF-3134: the source product's own id for this course (opaque). */
10049
+ sourceId?: Maybe<Scalars['ID']['output']>;
10034
10050
  status: BuiCourseStatus;
10035
10051
  summary?: Maybe<Scalars['String']['output']>;
10036
10052
  tags: Array<Scalars['String']['output']>;
@@ -10279,6 +10295,8 @@ export declare enum BuiCourseStatus {
10279
10295
  Published = "PUBLISHED"
10280
10296
  }
10281
10297
  export type BuiCreateAssessmentInput = {
10298
+ /** BOFF-9690: opt into in-browser AI monitoring; requires `requiresProctoring`. */
10299
+ aiProctoringEnabled?: InputMaybe<Scalars['Boolean']['input']>;
10282
10300
  courseId: Scalars['ID']['input'];
10283
10301
  description?: InputMaybe<Scalars['String']['input']>;
10284
10302
  isGraded?: InputMaybe<Scalars['Boolean']['input']>;
@@ -10360,6 +10378,19 @@ export type BuiCriterionScore = {
10360
10378
  /** Criterion title copied from the rubric row at suggestion time. */
10361
10379
  title: Scalars['String']['output'];
10362
10380
  };
10381
+ export type BuiDemoContentResult = {
10382
+ __typename?: 'BuiDemoContentResult';
10383
+ assessmentId?: Maybe<Scalars['ID']['output']>;
10384
+ cohortId?: Maybe<Scalars['ID']['output']>;
10385
+ courseId: Scalars['ID']['output'];
10386
+ /** False when the demo content was already loaded and the existing content is returned. */
10387
+ created: Scalars['Boolean']['output'];
10388
+ enrollmentId?: Maybe<Scalars['ID']['output']>;
10389
+ lessonCount: Scalars['Int']['output'];
10390
+ moduleCount: Scalars['Int']['output'];
10391
+ questionCount: Scalars['Int']['output'];
10392
+ skillId?: Maybe<Scalars['ID']['output']>;
10393
+ };
10363
10394
  export type BuiEnrollInput = {
10364
10395
  cohortId?: InputMaybe<Scalars['ID']['input']>;
10365
10396
  courseId: Scalars['ID']['input'];
@@ -10388,6 +10419,10 @@ export type BuiEnrollment = {
10388
10419
  /** Last time the overdue-reminder automation reminded the learner. */
10389
10420
  overdueRemindedAt?: Maybe<Scalars['DateTime']['output']>;
10390
10421
  progressPct: Scalars['Int']['output'];
10422
+ /** BOFF-3134: the product this enrollment was mirrored from. Null for native Buildmyiq enrollments. */
10423
+ source?: Maybe<BuiExternalSource>;
10424
+ /** BOFF-3134: the source product's own id for this enrollment (opaque). */
10425
+ sourceId?: Maybe<Scalars['ID']['output']>;
10391
10426
  startedAt?: Maybe<Scalars['DateTime']['output']>;
10392
10427
  status: BuiEnrollmentStatus;
10393
10428
  updatedAt: Scalars['DateTime']['output'];
@@ -10408,6 +10443,10 @@ export declare enum BuiEnrollmentStatus {
10408
10443
  Expired = "EXPIRED",
10409
10444
  InProgress = "IN_PROGRESS"
10410
10445
  }
10446
+ /** 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. */
10447
+ export declare enum BuiExternalSource {
10448
+ Technospam = "TECHNOSPAM"
10449
+ }
10411
10450
  export type BuiGradeSubmissionInput = {
10412
10451
  feedback?: InputMaybe<Scalars['String']['input']>;
10413
10452
  passed?: InputMaybe<Scalars['Boolean']['input']>;
@@ -10624,6 +10663,33 @@ export type BuiNextLessonSuggestion = {
10624
10663
  pacingHint: BuiPacingHint;
10625
10664
  rationale: Scalars['String']['output'];
10626
10665
  };
10666
+ export type BuiOnboardingStatus = {
10667
+ __typename?: 'BuiOnboardingStatus';
10668
+ completedCount: Scalars['Int']['output'];
10669
+ demoContentLoaded: Scalars['Boolean']['output'];
10670
+ demoCourseId?: Maybe<Scalars['ID']['output']>;
10671
+ /** The caller's enrollment in the demo course, used to continue the demo as a learner. */
10672
+ demoEnrollmentId?: Maybe<Scalars['ID']['output']>;
10673
+ isComplete: Scalars['Boolean']['output'];
10674
+ steps: Array<BuiOnboardingStep>;
10675
+ totalCount: Scalars['Int']['output'];
10676
+ };
10677
+ export type BuiOnboardingStep = {
10678
+ __typename?: 'BuiOnboardingStep';
10679
+ /** When the workspace first reached this step, if it was reached after activation tracking started. */
10680
+ achievedAt?: Maybe<Scalars['DateTime']['output']>;
10681
+ completed: Scalars['Boolean']['output'];
10682
+ /** How many of the workspace's own courses / enrollments / certificates satisfy the step. */
10683
+ count: Scalars['Int']['output'];
10684
+ key: BuiOnboardingStepKey;
10685
+ };
10686
+ /** A step of the four-step getting-started checklist, in checklist order. */
10687
+ export declare enum BuiOnboardingStepKey {
10688
+ CreateCourse = "CREATE_COURSE",
10689
+ EnrollLearner = "ENROLL_LEARNER",
10690
+ IssueCertificate = "ISSUE_CERTIFICATE",
10691
+ PublishCourse = "PUBLISH_COURSE"
10692
+ }
10627
10693
  export declare enum BuiPacingHint {
10628
10694
  Accelerate = "ACCELERATE",
10629
10695
  SlowDown = "SLOW_DOWN",
@@ -10638,8 +10704,22 @@ export declare enum BuiProctoringDecision {
10638
10704
  Approved = "APPROVED",
10639
10705
  Rejected = "REJECTED"
10640
10706
  }
10707
+ /** 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. */
10708
+ export type BuiProctoringIdentityFile = {
10709
+ __typename?: 'BuiProctoringIdentityFile';
10710
+ /** Short-lived presigned URL (about five minutes). */
10711
+ downloadUrl: Scalars['String']['output'];
10712
+ expiresAt: Scalars['DateTime']['output'];
10713
+ fileId: Scalars['ID']['output'];
10714
+ mimeType: Scalars['String']['output'];
10715
+ name: Scalars['String']['output'];
10716
+ /** Size in bytes, as a string (BigInt-safe). */
10717
+ size?: Maybe<Scalars['String']['output']>;
10718
+ };
10641
10719
  export type BuiProctoringSession = {
10642
10720
  __typename?: 'BuiProctoringSession';
10721
+ /** BOFF-9690: when the learner consented to in-browser AI monitoring. Null when the assessment does not use AI monitoring. */
10722
+ aiMonitoringConsentAt?: Maybe<Scalars['DateTime']['output']>;
10643
10723
  assessmentId: Scalars['ID']['output'];
10644
10724
  createdAt: Scalars['DateTime']['output'];
10645
10725
  expiresAt: Scalars['DateTime']['output'];
@@ -10651,6 +10731,10 @@ export type BuiProctoringSession = {
10651
10731
  reviewNotes?: Maybe<Scalars['String']['output']>;
10652
10732
  reviewedAt?: Maybe<Scalars['DateTime']['output']>;
10653
10733
  reviewedById?: Maybe<Scalars['ID']['output']>;
10734
+ /** Number of proctoring signals recorded on this session (lockdown + AI), including any already deleted by the retention period. */
10735
+ signalCount: Scalars['Int']['output'];
10736
+ /** Per-type counts of this session's signals still inside the retention period. */
10737
+ signalSummary: Array<BuiProctoringSignalSummary>;
10654
10738
  status: BuiProctoringStatus;
10655
10739
  updatedAt: Scalars['DateTime']['output'];
10656
10740
  violationCount: Scalars['Int']['output'];
@@ -10661,6 +10745,56 @@ export type BuiProctoringSessionConnection = {
10661
10745
  items: Array<BuiProctoringSession>;
10662
10746
  pageInfo: BuiPageInfo;
10663
10747
  };
10748
+ /** 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). */
10749
+ export type BuiProctoringSignal = {
10750
+ __typename?: 'BuiProctoringSignal';
10751
+ /** Detector confidence 0..1 (AI signals only). */
10752
+ confidence?: Maybe<Scalars['Float']['output']>;
10753
+ createdAt: Scalars['DateTime']['output'];
10754
+ durationMs: Scalars['Int']['output'];
10755
+ /** Highest number of faces seen during the episode (face signals only). */
10756
+ faceCount?: Maybe<Scalars['Int']['output']>;
10757
+ id: Scalars['ID']['output'];
10758
+ /** Peak speech-band level in dBFS (audio signals only). */
10759
+ peakLevelDb?: Maybe<Scalars['Float']['output']>;
10760
+ sessionId: Scalars['ID']['output'];
10761
+ startedAt: Scalars['DateTime']['output'];
10762
+ type: BuiProctoringSignalType;
10763
+ workspaceId: Scalars['ID']['output'];
10764
+ };
10765
+ export type BuiProctoringSignalConnection = {
10766
+ __typename?: 'BuiProctoringSignalConnection';
10767
+ items: Array<BuiProctoringSignal>;
10768
+ pageInfo: BuiPageInfo;
10769
+ };
10770
+ /** BOFF-9690: one signal episode reported by the learner's browser. */
10771
+ export type BuiProctoringSignalInput = {
10772
+ confidence?: InputMaybe<Scalars['Float']['input']>;
10773
+ durationMs?: InputMaybe<Scalars['Int']['input']>;
10774
+ faceCount?: InputMaybe<Scalars['Int']['input']>;
10775
+ peakLevelDb?: InputMaybe<Scalars['Float']['input']>;
10776
+ startedAt: Scalars['DateTime']['input'];
10777
+ type: BuiProctoringSignalType;
10778
+ };
10779
+ export type BuiProctoringSignalSummary = {
10780
+ __typename?: 'BuiProctoringSignalSummary';
10781
+ count: Scalars['Int']['output'];
10782
+ totalDurationMs: Scalars['Int']['output'];
10783
+ type: BuiProctoringSignalType;
10784
+ };
10785
+ /** 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. */
10786
+ export declare enum BuiProctoringSignalType {
10787
+ CameraUnavailable = "CAMERA_UNAVAILABLE",
10788
+ Clipboard = "CLIPBOARD",
10789
+ FaceAbsent = "FACE_ABSENT",
10790
+ FullscreenExit = "FULLSCREEN_EXIT",
10791
+ GazeAway = "GAZE_AWAY",
10792
+ MicrophoneUnavailable = "MICROPHONE_UNAVAILABLE",
10793
+ MultipleFaces = "MULTIPLE_FACES",
10794
+ TabHidden = "TAB_HIDDEN",
10795
+ VoiceDetected = "VOICE_DETECTED",
10796
+ WindowBlur = "WINDOW_BLUR"
10797
+ }
10664
10798
  export declare enum BuiProctoringStatus {
10665
10799
  Approved = "APPROVED",
10666
10800
  Expired = "EXPIRED",
@@ -10859,6 +10993,8 @@ export type BuiSubmitAssessmentInput = {
10859
10993
  enrollmentId?: InputMaybe<Scalars['ID']['input']>;
10860
10994
  };
10861
10995
  export type BuiSubmitProctoringIdentityInput = {
10996
+ /** BOFF-9690: explicit consent to in-browser AI monitoring. Required (true) when the assessment has `aiProctoringEnabled`; ignored otherwise. */
10997
+ aiMonitoringConsent?: InputMaybe<Scalars['Boolean']['input']>;
10862
10998
  identityFileId?: InputMaybe<Scalars['ID']['input']>;
10863
10999
  lockdownAcknowledged: Scalars['Boolean']['input'];
10864
11000
  };
@@ -10876,6 +11012,58 @@ export type BuiSuggestAssessmentDraftInput = {
10876
11012
  /** Allowed question types; default SINGLE_CHOICE and SHORT_ANSWER. */
10877
11013
  questionTypes?: InputMaybe<Array<BuiQuestionType>>;
10878
11014
  };
11015
+ export type BuiSyncExternalCertificateInput = {
11016
+ /** The source product's id of the certificate's course (synced first). */
11017
+ courseSourceId: Scalars['ID']['input'];
11018
+ deletedAt?: InputMaybe<Scalars['DateTime']['input']>;
11019
+ finalScore?: InputMaybe<Scalars['Float']['input']>;
11020
+ issuedAt: Scalars['DateTime']['input'];
11021
+ learnerId: Scalars['ID']['input'];
11022
+ onBehalfOf: Scalars['ID']['input'];
11023
+ revokedAt?: InputMaybe<Scalars['DateTime']['input']>;
11024
+ /** The source's serial. Kept verbatim so a shared credential still matches. */
11025
+ serial: Scalars['String']['input'];
11026
+ source: BuiExternalSource;
11027
+ /** The source product's own certificate id. */
11028
+ sourceId: Scalars['ID']['input'];
11029
+ status: BuiCertificateStatus;
11030
+ };
11031
+ export type BuiSyncExternalCourseInput = {
11032
+ coverFileId?: InputMaybe<Scalars['ID']['input']>;
11033
+ /** Set when the source soft-deleted (archived) the course. */
11034
+ deletedAt?: InputMaybe<Scalars['DateTime']['input']>;
11035
+ /** Source estimate in minutes; stored rounded up to whole hours. */
11036
+ estimatedMinutes?: InputMaybe<Scalars['Int']['input']>;
11037
+ instructorId?: InputMaybe<Scalars['ID']['input']>;
11038
+ level: BuiCourseLevel;
11039
+ /** The end user the source product acted for; recorded as onBehalfOf. */
11040
+ onBehalfOf: Scalars['ID']['input'];
11041
+ publishedAt?: InputMaybe<Scalars['DateTime']['input']>;
11042
+ /** Preferred slug. Suffixed with a fragment of sourceId if the workspace already uses it. */
11043
+ slug: Scalars['String']['input'];
11044
+ source: BuiExternalSource;
11045
+ /** The source product's own course id. */
11046
+ sourceId: Scalars['ID']['input'];
11047
+ status: BuiCourseStatus;
11048
+ summary?: InputMaybe<Scalars['String']['input']>;
11049
+ tags?: InputMaybe<Array<Scalars['String']['input']>>;
11050
+ title: Scalars['String']['input'];
11051
+ };
11052
+ export type BuiSyncExternalEnrollmentInput = {
11053
+ completedAt?: InputMaybe<Scalars['DateTime']['input']>;
11054
+ /** The source product's id of the enrollment's course (synced first). */
11055
+ courseSourceId: Scalars['ID']['input'];
11056
+ deletedAt?: InputMaybe<Scalars['DateTime']['input']>;
11057
+ lastActiveAt?: InputMaybe<Scalars['DateTime']['input']>;
11058
+ learnerId: Scalars['ID']['input'];
11059
+ onBehalfOf: Scalars['ID']['input'];
11060
+ progressPct: Scalars['Int']['input'];
11061
+ source: BuiExternalSource;
11062
+ /** The source product's own enrollment id. */
11063
+ sourceId: Scalars['ID']['input'];
11064
+ startedAt?: InputMaybe<Scalars['DateTime']['input']>;
11065
+ status: BuiEnrollmentStatus;
11066
+ };
10879
11067
  export declare enum BuiTutorAdaptiveLevel {
10880
11068
  Advanced = "ADVANCED",
10881
11069
  OnTrack = "ON_TRACK",
@@ -12755,6 +12943,16 @@ export type ColUntagStoryInput = {
12755
12943
  entityId: Scalars['ID']['input'];
12756
12944
  tagId: Scalars['ID']['input'];
12757
12945
  };
12946
+ /** Partial edit of a timeline event (BOFF-3972). Omitted fields are left unchanged; an explicit null clears personId, description or place. */
12947
+ export type ColUpdateEventInput = {
12948
+ date?: InputMaybe<Scalars['DateTime']['input']>;
12949
+ description?: InputMaybe<Scalars['String']['input']>;
12950
+ isApproximate?: InputMaybe<Scalars['Boolean']['input']>;
12951
+ personId?: InputMaybe<Scalars['ID']['input']>;
12952
+ place?: InputMaybe<Scalars['String']['input']>;
12953
+ title?: InputMaybe<Scalars['String']['input']>;
12954
+ type?: InputMaybe<ColEventType>;
12955
+ };
12758
12956
  export type ColUpdateFamilyTreeInput = {
12759
12957
  coverFileId?: InputMaybe<Scalars['ID']['input']>;
12760
12958
  description?: InputMaybe<Scalars['String']['input']>;
@@ -12762,6 +12960,11 @@ export type ColUpdateFamilyTreeInput = {
12762
12960
  surname?: InputMaybe<Scalars['String']['input']>;
12763
12961
  tags?: InputMaybe<Array<Scalars['String']['input']>>;
12764
12962
  };
12963
+ /** Change a family-circle member's tree role and/or linked Person (BOFF-3972). Omitted fields are left unchanged; an explicit null personId unlinks the member from their Person record. */
12964
+ export type ColUpdateMembershipInput = {
12965
+ personId?: InputMaybe<Scalars['ID']['input']>;
12966
+ role?: InputMaybe<ColMemberRole>;
12967
+ };
12765
12968
  export type ColUpdateMemoryInput = {
12766
12969
  description?: InputMaybe<Scalars['String']['input']>;
12767
12970
  fileId?: InputMaybe<Scalars['ID']['input']>;
@@ -12788,6 +12991,25 @@ export type ColUpdatePersonInput = {
12788
12991
  photoFileId?: InputMaybe<Scalars['ID']['input']>;
12789
12992
  tags?: InputMaybe<Array<Scalars['String']['input']>>;
12790
12993
  };
12994
+ /** Partial edit of a relationship (BOFF-3972). The two endpoints are immutable — re-pointing an edge at different people is a new relationship (delete + create). Omitted fields are left unchanged; an explicit null clears startDate, endDate or notes. */
12995
+ export type ColUpdateRelationshipInput = {
12996
+ certainty?: InputMaybe<ColCertainty>;
12997
+ endDate?: InputMaybe<Scalars['DateTime']['input']>;
12998
+ notes?: InputMaybe<Scalars['String']['input']>;
12999
+ startDate?: InputMaybe<Scalars['DateTime']['input']>;
13000
+ type?: InputMaybe<ColRelationshipType>;
13001
+ };
13002
+ /** Partial edit of a story (BOFF-3972). Omitted fields are left unchanged; an explicit null clears personId, body, recordingFileId or narrator. Re-linking `personId` to a LIVING relative without an explicit `visibility` tightens the stored visibility (never loosens it). */
13003
+ export type ColUpdateStoryInput = {
13004
+ body?: InputMaybe<Scalars['String']['input']>;
13005
+ format?: InputMaybe<ColStoryFormat>;
13006
+ narrator?: InputMaybe<Scalars['String']['input']>;
13007
+ personId?: InputMaybe<Scalars['ID']['input']>;
13008
+ recordingFileId?: InputMaybe<Scalars['ID']['input']>;
13009
+ tags?: InputMaybe<Array<Scalars['String']['input']>>;
13010
+ title?: InputMaybe<Scalars['String']['input']>;
13011
+ visibility?: InputMaybe<ColVisibility>;
13012
+ };
12791
13013
  export declare enum ColVisibility {
12792
13014
  Private = "PRIVATE",
12793
13015
  Stewards = "STEWARDS",
@@ -13375,6 +13597,8 @@ export type ComLiveStreamConnection = {
13375
13597
  };
13376
13598
  export type ComLiveStreamRecording = {
13377
13599
  __typename?: 'ComLiveStreamRecording';
13600
+ /** BROWSER when the host's browser records and uploads, SERVER when the media server records the stage. A SERVER recording is UPLOADING while the service saves the media server's file. */
13601
+ captureMode: ComLiveStreamRecordingCaptureMode;
13378
13602
  circleId: Scalars['ID']['output'];
13379
13603
  createdAt: Scalars['DateTime']['output'];
13380
13604
  durationSeconds?: Maybe<Scalars['Int']['output']>;
@@ -13399,6 +13623,13 @@ export type ComLiveStreamRecording = {
13399
13623
  updatedAt: Scalars['DateTime']['output'];
13400
13624
  workspaceId: Scalars['ID']['output'];
13401
13625
  };
13626
+ /** Who captures a recording's media. */
13627
+ export declare enum ComLiveStreamRecordingCaptureMode {
13628
+ /** The host's browser records and uploads the media. */
13629
+ Browser = "BROWSER",
13630
+ /** The media server records the stage (SFU stages only); no browser upload. */
13631
+ Server = "SERVER"
13632
+ }
13402
13633
  export type ComLiveStreamRecordingConnection = {
13403
13634
  __typename?: 'ComLiveStreamRecordingConnection';
13404
13635
  items: Array<ComLiveStreamRecording>;
@@ -13421,6 +13652,8 @@ export type ComLiveStreamRecordingSettings = {
13421
13652
  minutesLimit?: Maybe<Scalars['Int']['output']>;
13422
13653
  minutesUsedThisMonth: Scalars['Int']['output'];
13423
13654
  retentionDays: Scalars['Int']['output'];
13655
+ /** True when stages in SFU mode are recorded by the media server in this environment (they otherwise fall back to the host's browser). */
13656
+ serverRecordingAvailable: Scalars['Boolean']['output'];
13424
13657
  };
13425
13658
  export declare enum ComLiveStreamRecordingStatus {
13426
13659
  Deleted = "DELETED",
@@ -14465,6 +14698,25 @@ export type ConnectHealthyBowlAccountingIntegrationInput = {
14465
14698
  /** TALLY | ZOHO_BOOKS | QUICKBOOKS */
14466
14699
  provider: Scalars['String']['input'];
14467
14700
  };
14701
+ /** How the caller reaches a connection. */
14702
+ export declare enum ConnectionAccess {
14703
+ /** A workspace administrator who can see and manage the connection but not use it */
14704
+ Administrator = "ADMINISTRATOR",
14705
+ /** Shared with the caller (directly, or through a group or project) as an editor */
14706
+ Editor = "EDITOR",
14707
+ Owner = "OWNER",
14708
+ /** Shared with the caller (directly, or through a group or project) for use */
14709
+ Use = "USE",
14710
+ /** Not shared with the caller, but visible to everyone in the workspace */
14711
+ Workspace = "WORKSPACE"
14712
+ }
14713
+ /** Narrows getConnections to how the caller reaches a connection. */
14714
+ export declare enum ConnectionAccessFilter {
14715
+ /** Connections the caller owns */
14716
+ OwnedByMe = "OWNED_BY_ME",
14717
+ /** Connections someone else owns and shared with the caller, directly or through a group or project */
14718
+ SharedWithMe = "SHARED_WITH_ME"
14719
+ }
14468
14720
  export declare enum ConnectionCredentialSource {
14469
14721
  LegacyLocal = "LEGACY_LOCAL",
14470
14722
  VaultManaged = "VAULT_MANAGED",
@@ -14480,6 +14732,8 @@ export declare enum ConnectionExpiryReason {
14480
14732
  TokenExpiring = "TOKEN_EXPIRING"
14481
14733
  }
14482
14734
  export type ConnectionFilterInput = {
14735
+ /** Only connections the caller owns, or only those shared with them */
14736
+ access?: InputMaybe<ConnectionAccessFilter>;
14483
14737
  context?: InputMaybe<ContextFilterInput>;
14484
14738
  providerCategory?: InputMaybe<ProviderCategory>;
14485
14739
  providerId?: InputMaybe<Scalars['ID']['input']>;
@@ -14498,6 +14752,36 @@ export declare enum ConnectionQuality {
14498
14752
  Good = "GOOD",
14499
14753
  Poor = "POOR"
14500
14754
  }
14755
+ /** One grant of a connection to a person, a group or a project. */
14756
+ export type ConnectionShare = {
14757
+ __typename?: 'ConnectionShare';
14758
+ createdAt: Scalars['DateTime']['output'];
14759
+ createdBy: Scalars['String']['output'];
14760
+ /** User, group or project id */
14761
+ principalId: Scalars['String']['output'];
14762
+ principalType: ConnectionSharePrincipalType;
14763
+ role: ConnectionShareRole;
14764
+ };
14765
+ /** One grant in shareConnection. */
14766
+ export type ConnectionShareInput = {
14767
+ /** User, group or project id in the caller's workspace */
14768
+ principalId: Scalars['String']['input'];
14769
+ principalType: ConnectionSharePrincipalType;
14770
+ role?: InputMaybe<ConnectionShareRole>;
14771
+ };
14772
+ /** What a connection share is granted to. */
14773
+ export declare enum ConnectionSharePrincipalType {
14774
+ Group = "GROUP",
14775
+ Project = "PROJECT",
14776
+ User = "USER"
14777
+ }
14778
+ /** What a connection share allows. */
14779
+ export declare enum ConnectionShareRole {
14780
+ /** Also change it, re-authenticate it and change who it is shared with */
14781
+ Editor = "EDITOR",
14782
+ /** See the connection and run workflows the grantee owns with it */
14783
+ Use = "USE"
14784
+ }
14501
14785
  export declare enum ConnectionStatus {
14502
14786
  Active = "ACTIVE",
14503
14787
  Error = "ERROR",
@@ -14578,6 +14862,16 @@ export type ConnectionTokenResult = {
14578
14862
  /** Whether the token was refreshed during this request */
14579
14863
  wasRefreshed: Scalars['Boolean']['output'];
14580
14864
  };
14865
+ /** Who can reach a connection beyond its owner (BOFF-9726). */
14866
+ export declare enum ConnectionVisibility {
14867
+ /**
14868
+ * Only the owner, the people, groups and projects it is shared with, and workspace administrators,
14869
+ * who can see and manage it but not use it
14870
+ */
14871
+ Restricted = "RESTRICTED",
14872
+ /** Everyone in the workspace whose role allows it: how every connection behaved before sharing */
14873
+ Workspace = "WORKSPACE"
14874
+ }
14581
14875
  /** A bookable appointment window (BOFF-6030). */
14582
14876
  export type ConsultSlot = {
14583
14877
  __typename?: 'ConsultSlot';
@@ -15299,6 +15593,26 @@ export type CooCollaborationConnection = {
15299
15593
  items: Array<CooCollaboration>;
15300
15594
  pageInfo: CooPageInfo;
15301
15595
  };
15596
+ /** A collaboration brief drafted for human review. It is not saved; create it with cooCreateCollaboration. */
15597
+ export type CooCollaborationDraft = {
15598
+ __typename?: 'CooCollaborationDraft';
15599
+ brandId: Scalars['ID']['output'];
15600
+ brief: Scalars['String']['output'];
15601
+ creatorId: Scalars['ID']['output'];
15602
+ role: CooCollaboratorRole;
15603
+ status: CooCollaborationStatus;
15604
+ title: Scalars['String']['output'];
15605
+ };
15606
+ export type CooCollaborationMatchResult = {
15607
+ __typename?: 'CooCollaborationMatchResult';
15608
+ brandId: Scalars['ID']['output'];
15609
+ /** The brand's published style items the brand profile is built from. */
15610
+ brandStyleItemIds: Array<Scalars['ID']['output']>;
15611
+ /** Creators skipped because they already have an open collaboration with the brand. */
15612
+ excludedCreatorIds: Array<Scalars['ID']['output']>;
15613
+ matches: Array<CooCreatorMatch>;
15614
+ provenance: CooDecisionProvenance;
15615
+ };
15302
15616
  /** Everything the browser needs to open the payment provider's checkout for a collaboration fee. */
15303
15617
  export type CooCollaborationPaymentCheckout = {
15304
15618
  __typename?: 'CooCollaborationPaymentCheckout';
@@ -15387,6 +15701,19 @@ export type CooCollectionConnection = {
15387
15701
  items: Array<CooCollection>;
15388
15702
  pageInfo: CooPageInfo;
15389
15703
  };
15704
+ /** An advisory proposal. Nothing is written; apply it with cooUpdateCollection / cooPublishCollection. */
15705
+ export type CooCollectionCuration = {
15706
+ __typename?: 'CooCollectionCuration';
15707
+ /** Number of proposed pieces that still have at least one publish blocker. */
15708
+ blockedCount: Scalars['Int']['output'];
15709
+ brandId: Scalars['ID']['output'];
15710
+ outliers: Array<CooCurationItem>;
15711
+ proposed: Array<CooCurationItem>;
15712
+ provenance: CooDecisionProvenance;
15713
+ season: CooSeason;
15714
+ storyMaterials: Array<Scalars['String']['output']>;
15715
+ storyPalette: Array<Scalars['String']['output']>;
15716
+ };
15390
15717
  export declare enum CooCollectionStatus {
15391
15718
  Archived = "ARCHIVED",
15392
15719
  Draft = "DRAFT",
@@ -15529,6 +15856,21 @@ export type CooCreatorEarningsSummary = {
15529
15856
  /** Commissions recorded locally but not yet confirmed on the billing ledger. */
15530
15857
  unsyncedCount: Scalars['Int']['output'];
15531
15858
  };
15859
+ export type CooCreatorMatch = {
15860
+ __typename?: 'CooCreatorMatch';
15861
+ creatorId: Scalars['ID']['output'];
15862
+ draft: CooCollaborationDraft;
15863
+ /** The creator's published looks the match is built from. */
15864
+ evidenceLookIds: Array<Scalars['ID']['output']>;
15865
+ /** The brand's style items those looks already feature, if any. */
15866
+ featuredBrandItemIds: Array<Scalars['ID']['output']>;
15867
+ /** 0..1 aesthetic fit between the brand's published catalog and the creator's published looks. */
15868
+ fitScore: Scalars['Float']['output'];
15869
+ reasons: Array<CooDecisionReason>;
15870
+ sharedCategories: Array<CooStyleCategory>;
15871
+ sharedColours: Array<Scalars['String']['output']>;
15872
+ sharedMaterials: Array<Scalars['String']['output']>;
15873
+ };
15532
15874
  export type CooCreatorPayout = {
15533
15875
  __typename?: 'CooCreatorPayout';
15534
15876
  createdAt: Scalars['DateTime']['output'];
@@ -15537,6 +15879,41 @@ export type CooCreatorPayout = {
15537
15879
  requestedAmount: Scalars['Float']['output'];
15538
15880
  status: Scalars['String']['output'];
15539
15881
  };
15882
+ export type CooCurationItem = {
15883
+ __typename?: 'CooCurationItem';
15884
+ blockers: Array<CooPublishBlocker>;
15885
+ /** 0..1 — how well the piece fits the story's palette, materials and season. */
15886
+ coherence: Scalars['Float']['output'];
15887
+ /** Suggested position in the drop, starting at 0. Null for outliers. */
15888
+ position?: Maybe<Scalars['Int']['output']>;
15889
+ reasons: Array<CooDecisionReason>;
15890
+ styleItem: CooStyleItem;
15891
+ styleItemId: Scalars['ID']['output'];
15892
+ /** For an outlier, the season it appears to belong to instead. */
15893
+ suggestedSeason?: Maybe<CooSeason>;
15894
+ };
15895
+ /** Where a decision came from. Every decision response carries one. */
15896
+ export type CooDecisionProvenance = {
15897
+ __typename?: 'CooDecisionProvenance';
15898
+ /** Number of real rows the engine considered. */
15899
+ candidateCount: Scalars['Int']['output'];
15900
+ /** Decision key, e.g. `coolandlovely.suggest_outfit`. */
15901
+ decision: Scalars['String']['output'];
15902
+ /** Unique id of this invocation; also the id of the emitted decision event. */
15903
+ decisionId: Scalars['ID']['output'];
15904
+ /** Engine that produced the decision, e.g. `coolandlovely-rules-v1`. */
15905
+ engine: Scalars['String']['output'];
15906
+ generatedAt: Scalars['DateTime']['output'];
15907
+ /** True only when a language model contributed to the decision. */
15908
+ modelBacked: Scalars['Boolean']['output'];
15909
+ };
15910
+ /** One reason behind a recommendation, with the entity ids that support it. */
15911
+ export type CooDecisionReason = {
15912
+ __typename?: 'CooDecisionReason';
15913
+ code: Scalars['String']['output'];
15914
+ evidenceIds: Array<Scalars['ID']['output']>;
15915
+ message: Scalars['String']['output'];
15916
+ };
15540
15917
  export type CooDeclineReturnRequestInput = {
15541
15918
  brandId: Scalars['ID']['input'];
15542
15919
  /** Why the return is declined (3 to 1000 characters). Shown to the shopper. */
@@ -15828,11 +16205,72 @@ export declare enum CooOrderStatus {
15828
16205
  /** Paid, and every brand in the order refunded its pieces. */
15829
16206
  Refunded = "REFUNDED"
15830
16207
  }
16208
+ /** A catalog piece that would fill a slot the shopper's wardrobe cannot. */
16209
+ export type CooOutfitGapPiece = {
16210
+ __typename?: 'CooOutfitGapPiece';
16211
+ reasons: Array<CooDecisionReason>;
16212
+ score: Scalars['Float']['output'];
16213
+ slot: CooOutfitSlot;
16214
+ styleItem: CooStyleItem;
16215
+ styleItemId: Scalars['ID']['output'];
16216
+ };
16217
+ export type CooOutfitPiece = {
16218
+ __typename?: 'CooOutfitPiece';
16219
+ reasons: Array<CooDecisionReason>;
16220
+ score: Scalars['Float']['output'];
16221
+ slot: CooOutfitSlot;
16222
+ wardrobeItem: CooWardrobeItem;
16223
+ wardrobeItemId: Scalars['ID']['output'];
16224
+ };
16225
+ /** A position in a composed outfit. */
16226
+ export declare enum CooOutfitSlot {
16227
+ Accessory = "ACCESSORY",
16228
+ Bag = "BAG",
16229
+ Bottom = "BOTTOM",
16230
+ Dress = "DRESS",
16231
+ Footwear = "FOOTWEAR",
16232
+ Outerwear = "OUTERWEAR",
16233
+ Top = "TOP"
16234
+ }
16235
+ /** A draft outfit. It is never saved or published by the engine. */
16236
+ export type CooOutfitSuggestion = {
16237
+ __typename?: 'CooOutfitSuggestion';
16238
+ /** 0..1 — share of required slots filled from the wardrobe, weighted by score. */
16239
+ confidence: Scalars['Float']['output'];
16240
+ date?: Maybe<Scalars['DateTime']['output']>;
16241
+ draftTitle: Scalars['String']['output'];
16242
+ /** Wardrobe pieces left out because their size does not match the style profile's size record for that garment type. */
16243
+ excludedForSizeIds: Array<Scalars['ID']['output']>;
16244
+ gapPieces: Array<CooOutfitGapPiece>;
16245
+ /** Slots the outfit needs that neither the wardrobe nor the catalog could fill. */
16246
+ missingSlots: Array<CooOutfitSlot>;
16247
+ occasion: CooLookOccasion;
16248
+ pieces: Array<CooOutfitPiece>;
16249
+ provenance: CooDecisionProvenance;
16250
+ summary: Scalars['String']['output'];
16251
+ /** Published looks whose item pairings supported this outfit. */
16252
+ supportingLookIds: Array<Scalars['ID']['output']>;
16253
+ weatherHint?: Maybe<CooWeatherHint>;
16254
+ };
15831
16255
  export type CooPageInfo = {
15832
16256
  __typename?: 'CooPageInfo';
15833
16257
  cursor?: Maybe<Scalars['String']['output']>;
15834
16258
  hasMore: Scalars['Boolean']['output'];
15835
16259
  };
16260
+ export type CooPublishBlocker = {
16261
+ __typename?: 'CooPublishBlocker';
16262
+ code: CooPublishBlockerCode;
16263
+ message: Scalars['String']['output'];
16264
+ };
16265
+ export declare enum CooPublishBlockerCode {
16266
+ MissingPrimaryImage = "MISSING_PRIMARY_IMAGE",
16267
+ NoColourways = "NO_COLOURWAYS",
16268
+ NoMaterials = "NO_MATERIALS",
16269
+ NoSizes = "NO_SIZES",
16270
+ NoSku = "NO_SKU",
16271
+ PriceOutlier = "PRICE_OUTLIER",
16272
+ ZeroPrice = "ZERO_PRICE"
16273
+ }
15836
16274
  export type CooRecordLegalAcceptanceInput = {
15837
16275
  checkpointType: CooLegalCheckpointType;
15838
16276
  documentVersion: Scalars['String']['input'];
@@ -16103,6 +16541,13 @@ export type CooStyleProfileConnection = {
16103
16541
  items: Array<CooStyleProfile>;
16104
16542
  pageInfo: CooPageInfo;
16105
16543
  };
16544
+ export type CooSuggestOutfitInput = {
16545
+ date?: InputMaybe<Scalars['DateTime']['input']>;
16546
+ /** Suggest catalog pieces for slots the wardrobe cannot fill. */
16547
+ includeCatalogGapPieces?: InputMaybe<Scalars['Boolean']['input']>;
16548
+ occasion: CooLookOccasion;
16549
+ weatherHint?: InputMaybe<CooWeatherHint>;
16550
+ };
16106
16551
  export type CooUpdateBrandInput = {
16107
16552
  aesthetics?: InputMaybe<Array<Scalars['String']['input']>>;
16108
16553
  bio?: InputMaybe<Scalars['String']['input']>;
@@ -16207,6 +16652,41 @@ export declare enum CooVisibility {
16207
16652
  Private = "PRIVATE",
16208
16653
  Public = "PUBLIC"
16209
16654
  }
16655
+ export type CooWardrobeFinding = {
16656
+ __typename?: 'CooWardrobeFinding';
16657
+ category?: Maybe<CooStyleCategory>;
16658
+ colour?: Maybe<Scalars['String']['output']>;
16659
+ detail: Scalars['String']['output'];
16660
+ kind: CooWardrobeFindingKind;
16661
+ missingSlots: Array<CooOutfitSlot>;
16662
+ occasion?: Maybe<CooLookOccasion>;
16663
+ /** 0..1 — findings are returned highest severity first. */
16664
+ severity: Scalars['Float']['output'];
16665
+ /** Active catalog pieces that would close this gap. */
16666
+ suggestedStyleItemIds: Array<Scalars['ID']['output']>;
16667
+ title: Scalars['String']['output'];
16668
+ wardrobeItemIds: Array<Scalars['ID']['output']>;
16669
+ };
16670
+ export declare enum CooWardrobeFindingKind {
16671
+ /** A core garment category has no owned piece at all. */
16672
+ CategoryGap = "CATEGORY_GAP",
16673
+ /** A piece whose cost per wear is far above the rest of the wardrobe. */
16674
+ CostPerWearOutlier = "COST_PER_WEAR_OUTLIER",
16675
+ /** A piece that was worn before but not for a long time. */
16676
+ DormantPiece = "DORMANT_PIECE",
16677
+ /** A piece that has been owned for a while and never logged as worn. */
16678
+ NeverWorn = "NEVER_WORN",
16679
+ /** The wardrobe cannot compose a complete outfit for an occasion. */
16680
+ OccasionGap = "OCCASION_GAP",
16681
+ /** A colour from the style profile palette is missing from the wardrobe. */
16682
+ PaletteGap = "PALETTE_GAP"
16683
+ }
16684
+ export type CooWardrobeGapAnalysis = {
16685
+ __typename?: 'CooWardrobeGapAnalysis';
16686
+ findings: Array<CooWardrobeFinding>;
16687
+ provenance: CooDecisionProvenance;
16688
+ wardrobeItemCount: Scalars['Int']['output'];
16689
+ };
16210
16690
  export type CooWardrobeItem = {
16211
16691
  __typename?: 'CooWardrobeItem';
16212
16692
  brandName?: Maybe<Scalars['String']['output']>;
@@ -16244,6 +16724,14 @@ export declare enum CooWardrobeSource {
16244
16724
  PurchasedOnPlatform = "PURCHASED_ON_PLATFORM",
16245
16725
  Wishlist = "WISHLIST"
16246
16726
  }
16727
+ /** Weather the shopper expects for the outfit. Drives whether outerwear is required (COLD, RAINY) or left out (HOT). */
16728
+ export declare enum CooWeatherHint {
16729
+ Cold = "COLD",
16730
+ Hot = "HOT",
16731
+ Mild = "MILD",
16732
+ Rainy = "RAINY",
16733
+ Warm = "WARM"
16734
+ }
16247
16735
  export declare enum CosAccessLevel {
16248
16736
  Embargoed = "EMBARGOED",
16249
16737
  Public = "PUBLIC",
@@ -16305,6 +16793,15 @@ export type CosCollection = {
16305
16793
  updatedAt: Scalars['DateTime']['output'];
16306
16794
  workspaceId: Scalars['ID']['output'];
16307
16795
  };
16796
+ /** Finish a step with its telemetry (BOFF-3781). `status` must be SUCCEEDED, FAILED or CANCELLED. `outputs` may carry rowsIn / rowsOut / anomaliesFlagged / warnings, which cosAiTriageRun reads when the run has no metrics of its own. */
16797
+ export type CosCompleteRunStepInput = {
16798
+ errorMessage?: InputMaybe<Scalars['String']['input']>;
16799
+ logsRef?: InputMaybe<Scalars['String']['input']>;
16800
+ outputs?: InputMaybe<Scalars['JSON']['input']>;
16801
+ /** Datasets this step wrote (BOFF-10383), at most 100. Each id must be a live dataset in this workspace that the caller can read, otherwise the call fails with NOT_FOUND and nothing is changed. The ids are stored as `outputs.producedDatasetIds` (so `outputs`, when sent, must be a JSON object), the datasets are marked `lineageCaptured`, and search lineage then shows this run as PRODUCED_BY. */
16802
+ producedDatasetIds?: InputMaybe<Array<Scalars['ID']['input']>>;
16803
+ status: CosRunStatus;
16804
+ };
16308
16805
  export type CosCreateCollectionInput = {
16309
16806
  description?: InputMaybe<Scalars['String']['input']>;
16310
16807
  isPublic?: InputMaybe<Scalars['Boolean']['input']>;
@@ -16578,6 +17075,8 @@ export type CosPipelineStep = {
16578
17075
  name: Scalars['String']['output'];
16579
17076
  outputs?: Maybe<Scalars['JSON']['output']>;
16580
17077
  position: Scalars['Int']['output'];
17078
+ /** Datasets this step recorded as produced (BOFF-10383), read from `outputs.producedDatasetIds`. Search lineage shows the step's run as PRODUCED_BY on each of them. Empty when nothing was recorded. */
17079
+ producedDatasetIds: Array<Scalars['ID']['output']>;
16581
17080
  runId: Scalars['ID']['output'];
16582
17081
  startedAt?: Maybe<Scalars['DateTime']['output']>;
16583
17082
  status: CosRunStatus;
@@ -16609,11 +17108,37 @@ export type CosRelease = {
16609
17108
  workspaceId: Scalars['ID']['output'];
16610
17109
  zenodoMirrors: Array<CosZenodoMirror>;
16611
17110
  };
17111
+ export type CosReleaseAuthorSuggestion = {
17112
+ __typename?: 'CosReleaseAuthorSuggestion';
17113
+ actorId: Scalars['ID']['output'];
17114
+ contributions: Scalars['Int']['output'];
17115
+ roles: Array<Scalars['String']['output']>;
17116
+ };
16612
17117
  export type CosReleaseConnection = {
16613
17118
  __typename?: 'CosReleaseConnection';
16614
17119
  items: Array<CosRelease>;
16615
17120
  pageInfo: CosPageInfo;
16616
17121
  };
17122
+ /** A drafted release. Create it with cosCreateRelease (title, abstract, version, authors, datasetIds, license); publishing remains a human action. */
17123
+ export type CosReleaseDraft = {
17124
+ __typename?: 'CosReleaseDraft';
17125
+ abstract: Scalars['String']['output'];
17126
+ agentRunId: Scalars['ID']['output'];
17127
+ analysisIds: Array<Scalars['ID']['output']>;
17128
+ authorSuggestions: Array<CosReleaseAuthorSuggestion>;
17129
+ authors: Array<Scalars['String']['output']>;
17130
+ datasetIds: Array<Scalars['ID']['output']>;
17131
+ engineVersion: Scalars['String']['output'];
17132
+ generatedAt: Scalars['DateTime']['output'];
17133
+ license: Scalars['String']['output'];
17134
+ licenseRationale: Scalars['String']['output'];
17135
+ method: Scalars['String']['output'];
17136
+ notebookId: Scalars['ID']['output'];
17137
+ notes: Array<Scalars['String']['output']>;
17138
+ title: Scalars['String']['output'];
17139
+ version: Scalars['String']['output'];
17140
+ warnings: Array<Scalars['String']['output']>;
17141
+ };
16617
17142
  export declare enum CosReleaseStatus {
16618
17143
  Draft = "DRAFT",
16619
17144
  Published = "PUBLISHED",
@@ -16643,6 +17168,50 @@ export declare enum CosRunStatus {
16643
17168
  Running = "RUNNING",
16644
17169
  Succeeded = "SUCCEEDED"
16645
17170
  }
17171
+ /** Run-level telemetry (BOFF-3781). Counts are whole numbers >= 0, sent as Float so survey-scale row counts above 2^31 fit. Only the fields sent are changed; the rest of `metrics` is kept. Read by cosAiTriageRun. */
17172
+ export type CosRunTelemetryInput = {
17173
+ anomaliesFlagged?: InputMaybe<Scalars['Float']['input']>;
17174
+ errorMessage?: InputMaybe<Scalars['String']['input']>;
17175
+ rowsIn?: InputMaybe<Scalars['Float']['input']>;
17176
+ rowsOut?: InputMaybe<Scalars['Float']['input']>;
17177
+ warnings?: InputMaybe<Scalars['Float']['input']>;
17178
+ };
17179
+ export type CosRunTriage = {
17180
+ __typename?: 'CosRunTriage';
17181
+ action: CosTriageAction;
17182
+ agentRunId: Scalars['ID']['output'];
17183
+ confidence: Scalars['Float']['output'];
17184
+ engineVersion: Scalars['String']['output'];
17185
+ evidence: Array<CosTriageEvidence>;
17186
+ generatedAt: Scalars['DateTime']['output'];
17187
+ method: Scalars['String']['output'];
17188
+ metrics: CosRunTriageMetrics;
17189
+ proposedAction?: Maybe<CosTriageProposedAction>;
17190
+ rationale: Scalars['String']['output'];
17191
+ runId: Scalars['ID']['output'];
17192
+ signals: Array<CosTriageSignal>;
17193
+ suggestedParams?: Maybe<Scalars['JSON']['output']>;
17194
+ thresholds: CosRunTriageThresholds;
17195
+ };
17196
+ export type CosRunTriageMetrics = {
17197
+ __typename?: 'CosRunTriageMetrics';
17198
+ anomaliesFlagged?: Maybe<Scalars['Float']['output']>;
17199
+ anomalyRate?: Maybe<Scalars['Float']['output']>;
17200
+ /** Median anomaly rate of the pipeline's earlier successful runs. */
17201
+ baselineAnomalyRate?: Maybe<Scalars['Float']['output']>;
17202
+ rowLossRate?: Maybe<Scalars['Float']['output']>;
17203
+ rowsIn?: Maybe<Scalars['Float']['output']>;
17204
+ rowsOut?: Maybe<Scalars['Float']['output']>;
17205
+ warnings?: Maybe<Scalars['Float']['output']>;
17206
+ };
17207
+ export type CosRunTriageThresholds = {
17208
+ __typename?: 'CosRunTriageThresholds';
17209
+ maxWarnings: Scalars['Float']['output'];
17210
+ quarantineAnomalyRate: Scalars['Float']['output'];
17211
+ quarantineRowLossRate: Scalars['Float']['output'];
17212
+ reviewAnomalyRate: Scalars['Float']['output'];
17213
+ reviewRowLossRate: Scalars['Float']['output'];
17214
+ };
16646
17215
  export type CosSchemaField = {
16647
17216
  __typename?: 'CosSchemaField';
16648
17217
  createdAt: Scalars['DateTime']['output'];
@@ -16658,6 +17227,155 @@ export type CosSchemaField = {
16658
17227
  updatedAt: Scalars['DateTime']['output'];
16659
17228
  workspaceId: Scalars['ID']['output'];
16660
17229
  };
17230
+ export type CosSchemaFieldProposal = {
17231
+ __typename?: 'CosSchemaFieldProposal';
17232
+ /** Id of this run in the shared AI invocation ledger. */
17233
+ agentRunId: Scalars['ID']['output'];
17234
+ datasetId: Scalars['ID']['output'];
17235
+ engineVersion: Scalars['String']['output'];
17236
+ fields: Array<CosSchemaFieldSuggestion>;
17237
+ generatedAt: Scalars['DateTime']['output'];
17238
+ method: Scalars['String']['output'];
17239
+ notes: Array<Scalars['String']['output']>;
17240
+ sampleOrigin: CosSchemaSampleOrigin;
17241
+ sampledRows: Scalars['Int']['output'];
17242
+ };
17243
+ /** One proposed schema field. Accept it with cosAddSchemaField (name, fieldType, unit, nullable, position, provenance = provenanceNote). */
17244
+ export type CosSchemaFieldSuggestion = {
17245
+ __typename?: 'CosSchemaFieldSuggestion';
17246
+ /** True when the dataset already has a schema field with this name; it is never overwritten, and any disagreement is listed in `conflicts`. */
17247
+ alreadyDefined: Scalars['Boolean']['output'];
17248
+ /** 0 to 1. Lower for small samples and for columns with no sampled values. */
17249
+ confidence: Scalars['Float']['output'];
17250
+ conflicts: Array<Scalars['String']['output']>;
17251
+ description?: Maybe<Scalars['String']['output']>;
17252
+ emptyValues: Scalars['Int']['output'];
17253
+ existingFieldId?: Maybe<Scalars['ID']['output']>;
17254
+ fieldType: CosFieldType;
17255
+ name: Scalars['String']['output'];
17256
+ nullable: Scalars['Boolean']['output'];
17257
+ position: Scalars['Int']['output'];
17258
+ /** Drafted provenance note: where the column came from and why it was typed so. */
17259
+ provenanceNote: Scalars['String']['output'];
17260
+ reasons: Array<Scalars['String']['output']>;
17261
+ sampledValues: Scalars['Int']['output'];
17262
+ unit?: Maybe<Scalars['String']['output']>;
17263
+ };
17264
+ /** A row sample to infer a schema from. `rows` is a JSON array of rows: arrays aligned with `columns`, or objects keyed by column name (then `columns` is optional and only fixes the order). At most 500 rows and 1,000 columns are analysed. */
17265
+ export type CosSchemaSampleInput = {
17266
+ columns?: InputMaybe<Array<Scalars['String']['input']>>;
17267
+ rows: Scalars['JSON']['input'];
17268
+ };
17269
+ /** Where the rows the schema proposal was inferred from came from. */
17270
+ export declare enum CosSchemaSampleOrigin {
17271
+ /** `schemaSample` ({ columns, rows }) stored on the dataset's `context`. */
17272
+ DatasetContext = "DATASET_CONTEXT",
17273
+ /** The `sample` argument of the request. */
17274
+ Request = "REQUEST",
17275
+ /** Columns declared in the source connector config; no row values. */
17276
+ SourceConfig = "SOURCE_CONFIG"
17277
+ }
17278
+ export declare enum CosSearchEntityType {
17279
+ Collection = "COLLECTION",
17280
+ Dataset = "DATASET",
17281
+ Notebook = "NOTEBOOK",
17282
+ Release = "RELEASE"
17283
+ }
17284
+ /** One piece of evidence explaining why a hit matched. */
17285
+ export type CosSearchEvidence = {
17286
+ __typename?: 'CosSearchEvidence';
17287
+ /** Id of the entity the evidence comes from (schema field, source, release, ...). */
17288
+ entityId?: Maybe<Scalars['ID']['output']>;
17289
+ kind: CosSearchEvidenceKind;
17290
+ /** Short label for that entity, e.g. the schema field name. */
17291
+ label?: Maybe<Scalars['String']['output']>;
17292
+ /** The matched text (truncated), e.g. the provenance note. */
17293
+ text: Scalars['String']['output'];
17294
+ };
17295
+ export declare enum CosSearchEvidenceKind {
17296
+ /** An analysis title or method run against this dataset matched. */
17297
+ AnalysisMethod = "ANALYSIS_METHOD",
17298
+ /** The collection (mission, survey, project) matched. */
17299
+ Collection = "COLLECTION",
17300
+ /** The dataset's coverage metadata matched a term. */
17301
+ Coverage = "COVERAGE",
17302
+ /** The dataset's coverage years overlap the window named in the query. */
17303
+ CoverageWindow = "COVERAGE_WINDOW",
17304
+ /** The dataset's own name, description, tags or format matched. */
17305
+ DatasetText = "DATASET_TEXT",
17306
+ /** A notebook title or description matched. */
17307
+ Notebook = "NOTEBOOK",
17308
+ /** A release title or abstract matched. */
17309
+ ReleaseAbstract = "RELEASE_ABSTRACT",
17310
+ /** A schema field's name, unit or description matched. */
17311
+ SchemaField = "SCHEMA_FIELD",
17312
+ /** A schema field's provenance note matched. */
17313
+ SchemaProvenance = "SCHEMA_PROVENANCE",
17314
+ /** The upstream source (instrument, telescope, archive) matched. */
17315
+ Source = "SOURCE"
17316
+ }
17317
+ export type CosSearchHit = {
17318
+ __typename?: 'CosSearchHit';
17319
+ collection?: Maybe<CosCollection>;
17320
+ dataset?: Maybe<CosDataset>;
17321
+ entityType: CosSearchEntityType;
17322
+ evidence: Array<CosSearchEvidence>;
17323
+ id: Scalars['ID']['output'];
17324
+ /** Lineage chain for DATASET hits (empty for other entity types or when includeLineage is false). */
17325
+ lineage: Array<CosSearchLineageNode>;
17326
+ notebook?: Maybe<CosNotebook>;
17327
+ release?: Maybe<CosRelease>;
17328
+ /** Relative relevance; only meaningful for ordering hits of one response. */
17329
+ score: Scalars['Float']['output'];
17330
+ snippet?: Maybe<Scalars['String']['output']>;
17331
+ title: Scalars['String']['output'];
17332
+ };
17333
+ export declare enum CosSearchLineageKind {
17334
+ Analysis = "ANALYSIS",
17335
+ PipelineRun = "PIPELINE_RUN",
17336
+ PipelineStep = "PIPELINE_STEP",
17337
+ Release = "RELEASE",
17338
+ Source = "SOURCE"
17339
+ }
17340
+ /** One node of a dataset's lineage. `relation` describes how the node relates to the dataset: INGESTED_FROM (source), PRODUCED_BY (a run whose step outputs reference the dataset), PROCESSED_BY (a run that took the dataset as input), STEP_OF (a step of the run named by parentId), ANALYZED_BY, PUBLISHED_IN. */
17341
+ export type CosSearchLineageNode = {
17342
+ __typename?: 'CosSearchLineageNode';
17343
+ detail?: Maybe<Scalars['String']['output']>;
17344
+ id: Scalars['ID']['output'];
17345
+ kind: CosSearchLineageKind;
17346
+ label: Scalars['String']['output'];
17347
+ occurredAt?: Maybe<Scalars['DateTime']['output']>;
17348
+ parentId?: Maybe<Scalars['ID']['output']>;
17349
+ relation: Scalars['String']['output'];
17350
+ status?: Maybe<Scalars['String']['output']>;
17351
+ };
17352
+ export type CosSearchResults = {
17353
+ __typename?: 'CosSearchResults';
17354
+ /** Domain aliases added to the search (e.g. m31 -> andromeda). */
17355
+ expandedTerms: Array<Scalars['String']['output']>;
17356
+ hits: Array<CosSearchHit>;
17357
+ /** Content terms taken from the query after removing request phrasing. */
17358
+ interpretedTerms: Array<Scalars['String']['output']>;
17359
+ query: Scalars['String']['output'];
17360
+ /** Observation window extracted from the query, if any. */
17361
+ timeWindow?: Maybe<CosSearchTimeWindow>;
17362
+ total: Scalars['Int']['output'];
17363
+ };
17364
+ export type CosSearchTimeWindow = {
17365
+ __typename?: 'CosSearchTimeWindow';
17366
+ fromYear: Scalars['Int']['output'];
17367
+ toYear: Scalars['Int']['output'];
17368
+ };
17369
+ export type CosSemanticSearchInput = {
17370
+ /** Restrict to these entity types (default: all). */
17371
+ entityTypes?: InputMaybe<Array<CosSearchEntityType>>;
17372
+ /** Attach lineage to DATASET hits (default true). */
17373
+ includeLineage?: InputMaybe<Scalars['Boolean']['input']>;
17374
+ /** Maximum hits returned (1-50, default 20). */
17375
+ limit?: InputMaybe<Scalars['Int']['input']>;
17376
+ /** Plain-language question, e.g. 'calibrated flux columns covering M31 between 2019 and 2021'. Input beyond 500 characters is ignored. */
17377
+ query: Scalars['String']['input'];
17378
+ };
16661
17379
  export type CosSource = {
16662
17380
  __typename?: 'CosSource';
16663
17381
  config?: Maybe<Scalars['JSON']['output']>;
@@ -16714,6 +17432,48 @@ export declare enum CosStepKind {
16714
17432
  Transform = "TRANSFORM",
16715
17433
  ZonalStats = "ZONAL_STATS"
16716
17434
  }
17435
+ export declare enum CosTriageAction {
17436
+ FlagSourceDegraded = "FLAG_SOURCE_DEGRADED",
17437
+ /** The run recorded no telemetry, so there is nothing to judge it by. */
17438
+ InsufficientTelemetry = "INSUFFICIENT_TELEMETRY",
17439
+ Promote = "PROMOTE",
17440
+ QuarantineDataset = "QUARANTINE_DATASET",
17441
+ RerunWithParams = "RERUN_WITH_PARAMS"
17442
+ }
17443
+ /** A piece of telemetry the recommendation read, with the id of the run, step, source or pipeline it came from. */
17444
+ export type CosTriageEvidence = {
17445
+ __typename?: 'CosTriageEvidence';
17446
+ field: Scalars['String']['output'];
17447
+ kind: CosTriageEvidenceKind;
17448
+ refId: Scalars['ID']['output'];
17449
+ value: Scalars['String']['output'];
17450
+ };
17451
+ export declare enum CosTriageEvidenceKind {
17452
+ Baseline = "BASELINE",
17453
+ Run = "RUN",
17454
+ RunMetric = "RUN_METRIC",
17455
+ Source = "SOURCE",
17456
+ Step = "STEP"
17457
+ }
17458
+ /** The existing mutation a person would run to apply the recommendation. Triage never runs it. */
17459
+ export type CosTriageProposedAction = {
17460
+ __typename?: 'CosTriageProposedAction';
17461
+ arguments: Scalars['JSON']['output'];
17462
+ description: Scalars['String']['output'];
17463
+ mutation: Scalars['String']['output'];
17464
+ targetId: Scalars['ID']['output'];
17465
+ };
17466
+ export type CosTriageSignal = {
17467
+ __typename?: 'CosTriageSignal';
17468
+ code: Scalars['String']['output'];
17469
+ message: Scalars['String']['output'];
17470
+ severity: CosTriageSignalSeverity;
17471
+ };
17472
+ export declare enum CosTriageSignalSeverity {
17473
+ Critical = "CRITICAL",
17474
+ Info = "INFO",
17475
+ Warning = "WARNING"
17476
+ }
16717
17477
  export type CosUpdateCollectionInput = {
16718
17478
  description?: InputMaybe<Scalars['String']['input']>;
16719
17479
  isPublic?: InputMaybe<Scalars['Boolean']['input']>;
@@ -17593,6 +18353,11 @@ export type CreateConnectionInput = {
17593
18353
  name: Scalars['String']['input'];
17594
18354
  providerId: Scalars['ID']['input'];
17595
18355
  vaultId?: InputMaybe<Scalars['ID']['input']>;
18356
+ /**
18357
+ * Who can reach the new connection. Defaults to WORKSPACE; RESTRICTED keeps it to its owner until
18358
+ * it is shared.
18359
+ */
18360
+ visibility?: InputMaybe<ConnectionVisibility>;
17596
18361
  };
17597
18362
  export type CreateConsultationInput = {
17598
18363
  consultantId: Scalars['String']['input'];
@@ -20002,12 +20767,24 @@ export type CreateRoleInput = {
20002
20767
  name: Scalars['String']['input'];
20003
20768
  parentId?: InputMaybe<Scalars['ID']['input']>;
20004
20769
  priority?: InputMaybe<Scalars['Int']['input']>;
20005
- /** Product this role belongs to (PlatformProduct.slug). Product shells must pass their product slug when creating custom roles. Omit/null is reserved for cross-product platform roles created from the admin app. */
20770
+ /**
20771
+ * Product this role belongs to (PlatformProduct.slug). Product shells must pass
20772
+ * their product slug when creating custom roles. Omit/null is reserved for
20773
+ * cross-product platform roles created from the admin app.
20774
+ */
20006
20775
  productSlug?: InputMaybe<Scalars['String']['input']>;
20007
20776
  scopeId: Scalars['String']['input'];
20008
20777
  scopeType?: InputMaybe<Scalars['String']['input']>;
20009
20778
  };
20010
- /** Input for creating a role permission override. The override's scope is inherited from the role's own scope (role.scopeId); clients no longer pass scopeId. This prevents creating cross-scope overrides where the override and the role live in different workspaces. Overrides cannot be created on system templates (role.scopeId='system'). */
20779
+ /**
20780
+ * Input for creating a role permission override.
20781
+ *
20782
+ * The override's scope is inherited from the role's own scope (role.scopeId);
20783
+ * clients no longer pass scopeId. This prevents creating cross-scope overrides
20784
+ * where the override and the role live in different workspaces.
20785
+ *
20786
+ * Overrides cannot be created on system templates (role.scopeId='system').
20787
+ */
20011
20788
  export type CreateRolePermissionOverrideInput = {
20012
20789
  action: Scalars['String']['input'];
20013
20790
  expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
@@ -21174,10 +21951,14 @@ export type CrewCandidateMatch = {
21174
21951
  candidateId: Scalars['ID']['output'];
21175
21952
  experienceScore: Scalars['Float']['output'];
21176
21953
  jobPostingId: Scalars['ID']['output'];
21954
+ /** Canonical names of the requirements (required and nice-to-have) the candidate meets. */
21177
21955
  matchedSkills: Array<Scalars['String']['output']>;
21956
+ /** Canonical names of the required skills the candidate does not meet. */
21178
21957
  missingSkills: Array<Scalars['String']['output']>;
21179
21958
  rationale: Scalars['String']['output'];
21180
21959
  score: Scalars['Float']['output'];
21960
+ /** Per-requirement breakdown: how each required / nice-to-have skill was (or was not) met. */
21961
+ skillMatches: Array<CrewCandidateSkillMatch>;
21181
21962
  skillScore: Scalars['Float']['output'];
21182
21963
  };
21183
21964
  /** Filter for `crewJobPostingMatches`. `status`, when set, restricts the candidate pool to a single CrewCandidateStatus value (case-insensitive) instead of the default pool (every candidate in the workspace not already HIRED or REJECTED). `minScore` drops any candidate whose overall score falls below the threshold (0-100). */
@@ -21199,6 +21980,31 @@ export type CrewCandidateSkill = {
21199
21980
  source: Scalars['String']['output'];
21200
21981
  updatedAt: Scalars['DateTime']['output'];
21201
21982
  };
21983
+ /** How one skill a job posting asks for is met by a candidate (BOFF-10360). */
21984
+ export type CrewCandidateSkillMatch = {
21985
+ __typename?: 'CrewCandidateSkillMatch';
21986
+ /** Skill names from the held skill to the requirement through the skills graph (empty for exact matches). */
21987
+ chain: Array<Scalars['String']['output']>;
21988
+ /** EXACT, SUPERSEDED or IMPLIED when the candidate holds a satisfying skill; null when they hold none. */
21989
+ matchType?: Maybe<Scalars['String']['output']>;
21990
+ matched: Scalars['Boolean']['output'];
21991
+ /** Minimum proficiency the posting asks for, if any. */
21992
+ minProficiency?: Maybe<Scalars['Int']['output']>;
21993
+ /** Candidate's proficiency in the held skill (null when not assessed). */
21994
+ proficiency?: Maybe<Scalars['Int']['output']>;
21995
+ /** Why it was not met (not held, proficiency not assessed, proficiency below N); null when met. */
21996
+ reason?: Maybe<Scalars['String']['output']>;
21997
+ /** True for a must-have skill, false for a nice-to-have. */
21998
+ required: Scalars['Boolean']['output'];
21999
+ /** Canonical skill name. */
22000
+ requirement: Scalars['String']['output'];
22001
+ /** 0-100 strength of the match; 0 when not met. */
22002
+ score: Scalars['Float']['output'];
22003
+ /** The posting's canonical skill. */
22004
+ skillId: Scalars['ID']['output'];
22005
+ /** Name of the held skill that satisfied the requirement. */
22006
+ viaSkill?: Maybe<Scalars['String']['output']>;
22007
+ };
21202
22008
  export type CrewClient = {
21203
22009
  __typename?: 'CrewClient';
21204
22010
  contactPerson?: Maybe<Scalars['String']['output']>;
@@ -21438,11 +22244,28 @@ export type CrewJobPosting = {
21438
22244
  requirements: Array<Scalars['String']['output']>;
21439
22245
  salaryMax: Scalars['Float']['output'];
21440
22246
  salaryMin: Scalars['Float']['output'];
22247
+ /** Canonical skills the posting asks for, required first (replaces the legacy `requirements` strings for matching). */
22248
+ skillRequirements: Array<CrewJobPostingSkill>;
21441
22249
  status: Scalars['String']['output'];
21442
22250
  title: Scalars['String']['output'];
21443
22251
  type: Scalars['String']['output'];
21444
22252
  workspaceId: Scalars['ID']['output'];
21445
22253
  };
22254
+ /** A canonical skill a job posting asks for (BOFF-10360). Required skills mirror the posting's legacy `requirements` strings; nice-to-have skills (`required: false`) are set with `setCrewJobPostingSkill`. */
22255
+ export type CrewJobPostingSkill = {
22256
+ __typename?: 'CrewJobPostingSkill';
22257
+ createdAt: Scalars['DateTime']['output'];
22258
+ id: Scalars['ID']['output'];
22259
+ jobPostingId: Scalars['ID']['output'];
22260
+ /** 0-100 minimum candidate proficiency; null when any level is acceptable. */
22261
+ minProficiency?: Maybe<Scalars['Int']['output']>;
22262
+ required: Scalars['Boolean']['output'];
22263
+ skill: CrewSkill;
22264
+ skillId: Scalars['ID']['output'];
22265
+ /** REQUIREMENT (mirrored from requirements), RECRUITER (set directly) or LEGACY (backfilled). */
22266
+ source: Scalars['String']['output'];
22267
+ updatedAt: Scalars['DateTime']['output'];
22268
+ };
21446
22269
  export type CrewLeaveRequest = {
21447
22270
  __typename?: 'CrewLeaveRequest';
21448
22271
  approverName?: Maybe<Scalars['String']['output']>;
@@ -21819,6 +22642,16 @@ export type CrewSkillHolderMatch = {
21819
22642
  proficiency?: Maybe<Scalars['Int']['output']>;
21820
22643
  verifiedFrom: Scalars['String']['output'];
21821
22644
  };
22645
+ /** Result of merging one skill into another (BOFF-10361). */
22646
+ export type CrewSkillMergeResult = {
22647
+ __typename?: 'CrewSkillMergeResult';
22648
+ candidatesMoved: Scalars['Int']['output'];
22649
+ employeesMoved: Scalars['Int']['output'];
22650
+ jobPostingsMoved: Scalars['Int']['output'];
22651
+ relationsMoved: Scalars['Int']['output'];
22652
+ /** The surviving skill, with the merged skill's name and aliases added as aliases. */
22653
+ target: CrewSkill;
22654
+ };
21822
22655
  /** A typed edge between two skills. IMPLIES: holding `fromSkill` means you can do `toSkill`. SUPERSEDES: `fromSkill` replaces `toSkill` (and satisfies it). RELATED_TO: adjacent, informative only. */
21823
22656
  export type CrewSkillRelation = {
21824
22657
  __typename?: 'CrewSkillRelation';
@@ -21838,6 +22671,8 @@ export type CrewSkillSyncReport = {
21838
22671
  candidatesProcessed: Scalars['Int']['output'];
21839
22672
  employeeLinksCreated: Scalars['Int']['output'];
21840
22673
  employeesProcessed: Scalars['Int']['output'];
22674
+ jobPostingLinksCreated: Scalars['Int']['output'];
22675
+ jobPostingsProcessed: Scalars['Int']['output'];
21841
22676
  relationsCreated: Scalars['Int']['output'];
21842
22677
  taxonomySkillsCreated: Scalars['Int']['output'];
21843
22678
  unmatched: Array<CrewSkillUnmatched>;
@@ -21856,6 +22691,28 @@ export type CrewSkillsGap = {
21856
22691
  shortage: Scalars['Int']['output'];
21857
22692
  skill: Scalars['String']['output'];
21858
22693
  };
22694
+ /** Result of rebuilding a workspace's projection in the platform knowledge graph and search index: the skills graph (BOFF-10362) and the directory records (BOFF-10432). Counts are events published. */
22695
+ export type CrewSkillsGraphReindexReport = {
22696
+ __typename?: 'CrewSkillsGraphReindexReport';
22697
+ /** Live announcements published (title, category, priority, tags). */
22698
+ announcements: Scalars['Int']['output'];
22699
+ /** Live departments published (name, location, status). */
22700
+ departments: Scalars['Int']['output'];
22701
+ employeeSkills: Scalars['Int']['output'];
22702
+ employees: Scalars['Int']['output'];
22703
+ /** False when platform graph sync is disabled in this environment; nothing was published. */
22704
+ enabled: Scalars['Boolean']['output'];
22705
+ /** Events the platform graph emitter rejected; re-run the reindex to repair them. */
22706
+ failed: Scalars['Int']['output'];
22707
+ /** Live job postings published (title, department, location, type, experience level, status). */
22708
+ jobPostings: Scalars['Int']['output'];
22709
+ /** Live projects published (name, description, status, priority, team and manager names). */
22710
+ projects: Scalars['Int']['output'];
22711
+ relations: Scalars['Int']['output'];
22712
+ skills: Scalars['Int']['output'];
22713
+ /** Live teams published (name, description, department, lead name). */
22714
+ teams: Scalars['Int']['output'];
22715
+ };
21859
22716
  export type CrewStaffingNeed = {
21860
22717
  __typename?: 'CrewStaffingNeed';
21861
22718
  alternates: Array<CrewStaffingPick>;
@@ -24116,6 +24973,8 @@ export type EcoMetricConnection = {
24116
24973
  };
24117
24974
  export type EcoObservation = {
24118
24975
  __typename?: 'EcoObservation';
24976
+ /** Client-generated idempotency key supplied when the observation was recorded (offline field capture). Null for observations recorded without one. */
24977
+ clientRef?: Maybe<Scalars['String']['output']>;
24119
24978
  count: Scalars['Int']['output'];
24120
24979
  createdAt: Scalars['DateTime']['output'];
24121
24980
  /** Reference to a wspace-files-svc File (photo / audio evidence). */
@@ -24175,6 +25034,8 @@ export type EcoRecordMeasurementInput = {
24175
25034
  value: Scalars['Float']['input'];
24176
25035
  };
24177
25036
  export type EcoRecordObservationInput = {
25037
+ /** Optional client-generated idempotency key (1-128 chars of letters, digits, '-', '_', ':' or '.'). The offline field app mints one per queued observation and may replay the mutation after a dropped connection: recording again with the same clientRef in the same workspace returns the observation the first attempt created instead of creating a duplicate. */
25038
+ clientRef?: InputMaybe<Scalars['String']['input']>;
24178
25039
  count?: InputMaybe<Scalars['Int']['input']>;
24179
25040
  evidenceFileId?: InputMaybe<Scalars['ID']['input']>;
24180
25041
  latitude?: InputMaybe<Scalars['Float']['input']>;
@@ -24554,9 +25415,16 @@ export type EffectivePermissions = {
24554
25415
  actorId: Scalars['String']['output'];
24555
25416
  /** Cache key for debugging and invalidation */
24556
25417
  cacheKey?: Maybe<Scalars['String']['output']>;
24557
- /** When this permission set should be considered stale. Frontend should refresh after this time. */
25418
+ /**
25419
+ * When this permission set should be considered stale.
25420
+ * Frontend should refresh after this time.
25421
+ */
24558
25422
  expiresAt: Scalars['DateTime']['output'];
24559
- /** Flat permission strings for easy frontend matching. Format: "{resourceType}:{action}" e.g., ["project:read", "project:write", "task:*"] Includes wildcards for ADMIN level (e.g., "project:*") */
25423
+ /**
25424
+ * Flat permission strings for easy frontend matching.
25425
+ * Format: "{resourceType}:{action}" e.g., ["project:read", "project:write", "task:*"]
25426
+ * Includes wildcards for ADMIN level (e.g., "project:*")
25427
+ */
24560
25428
  permissionStrings: Array<Scalars['String']['output']>;
24561
25429
  /** Resource types and their effective levels */
24562
25430
  permissions: Array<EffectiveResourcePermission>;
@@ -24733,6 +25601,14 @@ export type EntityComment = {
24733
25601
  resolvedById?: Maybe<Scalars['ID']['output']>;
24734
25602
  status: CommentStatus;
24735
25603
  tags: Array<CommentTagAssignment>;
25604
+ /** The TheCulturePost discussion this reply belongs to. */
25605
+ tcpDiscussionId?: Maybe<Scalars['ID']['output']>;
25606
+ /** When the reply's moderation state last changed. */
25607
+ tcpModeratedAt?: Maybe<Scalars['DateTime']['output']>;
25608
+ /** Respectful-by-design moderation state of this reply. */
25609
+ tcpModerationStatus?: Maybe<TcpModerationStatus>;
25610
+ /** Self-disclosed perspective/tradition the author writes from, when shared. */
25611
+ tcpPerspective?: Maybe<Scalars['String']['output']>;
24736
25612
  threadLevel: Scalars['Int']['output'];
24737
25613
  threadRootId?: Maybe<Scalars['ID']['output']>;
24738
25614
  updatedAt: Scalars['DateTime']['output'];
@@ -25147,6 +26023,104 @@ export declare enum EventVisibility {
25147
26023
  Private = "PRIVATE",
25148
26024
  Public = "PUBLIC"
25149
26025
  }
26026
+ export type EventfullyManagedAgendaConflict = {
26027
+ __typename?: 'EventfullyManagedAgendaConflict';
26028
+ message: Scalars['String']['output'];
26029
+ sessionAId: Scalars['ID']['output'];
26030
+ sessionATitle: Scalars['String']['output'];
26031
+ sessionBId?: Maybe<Scalars['ID']['output']>;
26032
+ sessionBTitle?: Maybe<Scalars['String']['output']>;
26033
+ speakerId?: Maybe<Scalars['ID']['output']>;
26034
+ suggestedFix: EventfullyManagedAgendaFix;
26035
+ /** VENUE_CLASH, SPEAKER_DOUBLE_BOOKED or OVER_CAPACITY. */
26036
+ type: Scalars['String']['output'];
26037
+ venueId?: Maybe<Scalars['ID']['output']>;
26038
+ };
26039
+ export type EventfullyManagedAgendaConflictResolution = {
26040
+ __typename?: 'EventfullyManagedAgendaConflictResolution';
26041
+ conflicts: Array<EventfullyManagedAgendaConflict>;
26042
+ engine: EventfullyManagedAiDecisionEngine;
26043
+ eventId: Scalars['ID']['output'];
26044
+ };
26045
+ export type EventfullyManagedAgendaFix = {
26046
+ __typename?: 'EventfullyManagedAgendaFix';
26047
+ /** MOVE_SESSION, RESCHEDULE_SESSION, MOVE_ROOM, RAISE_CAPACITY, ADD_REPEAT, OPEN_WAITLIST, REASSIGN_SPEAKER or MANUAL_REVIEW. */
26048
+ action: Scalars['String']['output'];
26049
+ applyable: Scalars['Boolean']['output'];
26050
+ rationale: Scalars['String']['output'];
26051
+ sessionId: Scalars['ID']['output'];
26052
+ targetCapacity?: Maybe<Scalars['Int']['output']>;
26053
+ targetEndsAt?: Maybe<Scalars['DateTime']['output']>;
26054
+ targetStartsAt?: Maybe<Scalars['DateTime']['output']>;
26055
+ targetVenueId?: Maybe<Scalars['ID']['output']>;
26056
+ targetVenueName?: Maybe<Scalars['String']['output']>;
26057
+ };
26058
+ /** Which engine produced a decision, and when it was persisted. */
26059
+ export type EventfullyManagedAiDecisionEngine = {
26060
+ __typename?: 'EventfullyManagedAiDecisionEngine';
26061
+ generatedAt: Scalars['DateTime']['output'];
26062
+ latencyMs: Scalars['Int']['output'];
26063
+ model: Scalars['String']['output'];
26064
+ provider: Scalars['String']['output'];
26065
+ /** AnalyticsSnapshot row the decision was persisted to; null when persist was false. */
26066
+ snapshotId?: Maybe<Scalars['ID']['output']>;
26067
+ version: Scalars['String']['output'];
26068
+ };
26069
+ /** The four decisions the engine produces. */
26070
+ export declare enum EventfullyManagedAiDecisionKind {
26071
+ AgendaConflicts = "AGENDA_CONFLICTS",
26072
+ AttendanceForecast = "ATTENDANCE_FORECAST",
26073
+ CapacityRightSizing = "CAPACITY_RIGHT_SIZING",
26074
+ NoShowPrediction = "NO_SHOW_PREDICTION"
26075
+ }
26076
+ /** A persisted decision, re-read without re-running the engine. */
26077
+ export type EventfullyManagedAiDecisionRecord = {
26078
+ __typename?: 'EventfullyManagedAiDecisionRecord';
26079
+ /** The full decision payload, in the same shape the generating mutation returned. */
26080
+ data: Scalars['JSON']['output'];
26081
+ eventId: Scalars['ID']['output'];
26082
+ generatedAt: Scalars['DateTime']['output'];
26083
+ id: Scalars['ID']['output'];
26084
+ kind: EventfullyManagedAiDecisionKind;
26085
+ model: Scalars['String']['output'];
26086
+ provider: Scalars['String']['output'];
26087
+ version: Scalars['String']['output'];
26088
+ };
26089
+ export type EventfullyManagedApplyAgendaFixInput = {
26090
+ capacity?: InputMaybe<Scalars['Int']['input']>;
26091
+ /** Must be true. The engine never changes a session without this explicit confirmation. */
26092
+ confirm: Scalars['Boolean']['input'];
26093
+ endsAt?: InputMaybe<Scalars['DateTime']['input']>;
26094
+ sessionId: Scalars['ID']['input'];
26095
+ startsAt?: InputMaybe<Scalars['DateTime']['input']>;
26096
+ venueId?: InputMaybe<Scalars['ID']['input']>;
26097
+ };
26098
+ export type EventfullyManagedAttendanceForecast = {
26099
+ __typename?: 'EventfullyManagedAttendanceForecast';
26100
+ basis: EventfullyManagedForecastBasis;
26101
+ cells: Array<EventfullyManagedShowRateCell>;
26102
+ /** Registrations (by quantity) already checked in; counted in full, not predicted. */
26103
+ checkedInSoFar: Scalars['Int']['output'];
26104
+ /** True when there is too little history for a reliable number. */
26105
+ coldStart: Scalars['Boolean']['output'];
26106
+ /** Plain-language explanation of a cold-start forecast; null otherwise. */
26107
+ coldStartReason?: Maybe<Scalars['String']['output']>;
26108
+ confidence: EventfullyManagedForecastConfidence;
26109
+ engine: EventfullyManagedAiDecisionEngine;
26110
+ eventId: Scalars['ID']['output'];
26111
+ /** Upper bound of the 90% range. */
26112
+ high: Scalars['Int']['output'];
26113
+ historicalEvents: Scalars['Int']['output'];
26114
+ historicalRegistrations: Scalars['Int']['output'];
26115
+ /** Lower bound of the 90% range. */
26116
+ low: Scalars['Int']['output'];
26117
+ predictedAttendance: Scalars['Int']['output'];
26118
+ /** Live registrations (by ticket quantity), excluding cancelled and waitlisted. */
26119
+ registered: Scalars['Int']['output'];
26120
+ sessions: Array<EventfullyManagedSessionForecast>;
26121
+ showRate: Scalars['Float']['output'];
26122
+ signals: Array<EventfullyManagedForecastSignal>;
26123
+ };
25150
26124
  export type EventfullyManagedAttendee = {
25151
26125
  __typename?: 'EventfullyManagedAttendee';
25152
26126
  company?: Maybe<Scalars['String']['output']>;
@@ -25235,6 +26209,33 @@ export type EventfullyManagedBadgeTemplateList = {
25235
26209
  items: Array<EventfullyManagedBadgeTemplate>;
25236
26210
  total: Scalars['Int']['output'];
25237
26211
  };
26212
+ export type EventfullyManagedCapacityRecommendation = {
26213
+ __typename?: 'EventfullyManagedCapacityRecommendation';
26214
+ /** KEEP, MOVE_ROOM, DOWNSIZE_ROOM, RAISE_CAPACITY, ADD_REPEAT, OPEN_WAITLIST or SET_CAPACITY. */
26215
+ action: Scalars['String']['output'];
26216
+ /** True when eventfullyManagedApplyAgendaFix can apply this recommendation. */
26217
+ applyable: Scalars['Boolean']['output'];
26218
+ effectiveCapacity?: Maybe<Scalars['Int']['output']>;
26219
+ high: Scalars['Int']['output'];
26220
+ predictedAttendance: Scalars['Int']['output'];
26221
+ rationale: Scalars['String']['output'];
26222
+ roomCapacity?: Maybe<Scalars['Int']['output']>;
26223
+ sessionCapacity?: Maybe<Scalars['Int']['output']>;
26224
+ sessionId: Scalars['ID']['output'];
26225
+ targetCapacity?: Maybe<Scalars['Int']['output']>;
26226
+ targetVenueId?: Maybe<Scalars['ID']['output']>;
26227
+ targetVenueName?: Maybe<Scalars['String']['output']>;
26228
+ title: Scalars['String']['output'];
26229
+ utilization?: Maybe<Scalars['Float']['output']>;
26230
+ };
26231
+ export type EventfullyManagedCapacityRightSizing = {
26232
+ __typename?: 'EventfullyManagedCapacityRightSizing';
26233
+ coldStart: Scalars['Boolean']['output'];
26234
+ confidence: EventfullyManagedForecastConfidence;
26235
+ engine: EventfullyManagedAiDecisionEngine;
26236
+ eventId: Scalars['ID']['output'];
26237
+ recommendations: Array<EventfullyManagedCapacityRecommendation>;
26238
+ };
25238
26239
  export type EventfullyManagedCheckInRecord = {
25239
26240
  __typename?: 'EventfullyManagedCheckInRecord';
25240
26241
  attendeeId?: Maybe<Scalars['ID']['output']>;
@@ -25481,6 +26482,34 @@ export type EventfullyManagedFloorPlanList = {
25481
26482
  items: Array<EventfullyManagedFloorPlan>;
25482
26483
  total: Scalars['Int']['output'];
25483
26484
  };
26485
+ /** Where a forecast's show rate comes from. PRIOR_ONLY means the workspace has no past event with check-in data, so the number is a baseline assumption. */
26486
+ export declare enum EventfullyManagedForecastBasis {
26487
+ Blended = "BLENDED",
26488
+ History = "HISTORY",
26489
+ PriorOnly = "PRIOR_ONLY"
26490
+ }
26491
+ /** How much history backs a forecast. */
26492
+ export declare enum EventfullyManagedForecastConfidence {
26493
+ High = "HIGH",
26494
+ Low = "LOW",
26495
+ Medium = "MEDIUM"
26496
+ }
26497
+ export type EventfullyManagedForecastInput = {
26498
+ /** Organiser's own baseline show rate (0 to 1), used in place of the default priors (0.8 paid, 0.55 free) wherever history is thin. */
26499
+ baselineShowRate?: InputMaybe<Scalars['Float']['input']>;
26500
+ /** How many recent past events to learn from (1 to 50, default 20). */
26501
+ lookbackEvents?: InputMaybe<Scalars['Int']['input']>;
26502
+ /** Persist the decision to AnalyticsSnapshot.data (default true). */
26503
+ persist?: InputMaybe<Scalars['Boolean']['input']>;
26504
+ };
26505
+ /** One input the engine used, so the organiser can see why it decided. */
26506
+ export type EventfullyManagedForecastSignal = {
26507
+ __typename?: 'EventfullyManagedForecastSignal';
26508
+ detail?: Maybe<Scalars['String']['output']>;
26509
+ key: Scalars['String']['output'];
26510
+ label: Scalars['String']['output'];
26511
+ value: Scalars['Float']['output'];
26512
+ };
25484
26513
  export type EventfullyManagedGetEntityTagsInput = {
25485
26514
  entityId: Scalars['ID']['input'];
25486
26515
  entityType: Scalars['String']['input'];
@@ -25654,6 +26683,16 @@ export type EventfullyManagedNetworkingProfileList = {
25654
26683
  items: Array<EventfullyManagedNetworkingProfile>;
25655
26684
  total: Scalars['Int']['output'];
25656
26685
  };
26686
+ export type EventfullyManagedNoShowPrediction = {
26687
+ __typename?: 'EventfullyManagedNoShowPrediction';
26688
+ coldStart: Scalars['Boolean']['output'];
26689
+ coldStartReason?: Maybe<Scalars['String']['output']>;
26690
+ confidence: EventfullyManagedForecastConfidence;
26691
+ engine: EventfullyManagedAiDecisionEngine;
26692
+ eventId: Scalars['ID']['output'];
26693
+ eventNoShowRate: Scalars['Float']['output'];
26694
+ sessions: Array<EventfullyManagedSessionNoShow>;
26695
+ };
25657
26696
  export type EventfullyManagedPromoCode = {
25658
26697
  __typename?: 'EventfullyManagedPromoCode';
25659
26698
  code: Scalars['String']['output'];
@@ -25750,6 +26789,75 @@ export type EventfullyManagedSessionConflict = {
25750
26789
  type: Scalars['String']['output'];
25751
26790
  venueId?: Maybe<Scalars['ID']['output']>;
25752
26791
  };
26792
+ export type EventfullyManagedSessionForecast = {
26793
+ __typename?: 'EventfullyManagedSessionForecast';
26794
+ /** Learned draw of this session type relative to an equal split (1 = equal share). */
26795
+ captureFactor: Scalars['Float']['output'];
26796
+ checkedInSoFar: Scalars['Int']['output'];
26797
+ /** Sessions running at the same time, this one included. */
26798
+ concurrency: Scalars['Int']['output'];
26799
+ endsAt: Scalars['DateTime']['output'];
26800
+ high: Scalars['Int']['output'];
26801
+ low: Scalars['Int']['output'];
26802
+ predictedAttendance: Scalars['Int']['output'];
26803
+ sessionId: Scalars['ID']['output'];
26804
+ sessionType: Scalars['String']['output'];
26805
+ startsAt: Scalars['DateTime']['output'];
26806
+ title: Scalars['String']['output'];
26807
+ };
26808
+ export type EventfullyManagedSessionNoShow = {
26809
+ __typename?: 'EventfullyManagedSessionNoShow';
26810
+ drivers: Array<Scalars['String']['output']>;
26811
+ /** The session's equal split of registrants, if everyone came. */
26812
+ expectedDemand: Scalars['Int']['output'];
26813
+ predictedAttendance: Scalars['Int']['output'];
26814
+ predictedNoShowRate: Scalars['Float']['output'];
26815
+ sessionId: Scalars['ID']['output'];
26816
+ sessionType: Scalars['String']['output'];
26817
+ title: Scalars['String']['output'];
26818
+ };
26819
+ /** BOFF-3764 — one ranked session for one attendee, with the explanation. */
26820
+ export type EventfullyManagedSessionRecommendation = {
26821
+ __typename?: 'EventfullyManagedSessionRecommendation';
26822
+ /** The attendee interests, asks or industry the session matched. */
26823
+ matchedTopics: Array<Scalars['String']['output']>;
26824
+ /** Human-readable explanation of why the session was recommended. Never empty. */
26825
+ reason: Scalars['String']['output'];
26826
+ /** 0-100 overlap score; never 0 (zero-signal sessions are not recommended). */
26827
+ score: Scalars['Int']['output'];
26828
+ /** capacity minus current session check-ins; null when the session has no capacity. */
26829
+ seatsRemaining?: Maybe<Scalars['Int']['output']>;
26830
+ session: EventfullyManagedEventSession;
26831
+ };
26832
+ /** BOFF-3764 — why a session recommendation list is empty. Null whenever items is non-empty. */
26833
+ export declare enum EventfullyManagedSessionRecommendationEmptyReason {
26834
+ /** The attendee's profile lists no interests, asks or industry. */
26835
+ NoInterests = "NO_INTERESTS",
26836
+ /** The attendee has no networking profile to read interests from. */
26837
+ NoProfile = "NO_PROFILE",
26838
+ /** No upcoming session overlaps the attendee's interests. */
26839
+ NoSignal = "NO_SIGNAL",
26840
+ /** The event has no upcoming, open sessions the attendee has not already attended. */
26841
+ NoUpcomingSessions = "NO_UPCOMING_SESSIONS"
26842
+ }
26843
+ export type EventfullyManagedSessionRecommendationList = {
26844
+ __typename?: 'EventfullyManagedSessionRecommendationList';
26845
+ emptyReason?: Maybe<EventfullyManagedSessionRecommendationEmptyReason>;
26846
+ items: Array<EventfullyManagedSessionRecommendation>;
26847
+ total: Scalars['Int']['output'];
26848
+ };
26849
+ /** Show rate for one ticket-tier x registration-lead-time cell. */
26850
+ export type EventfullyManagedShowRateCell = {
26851
+ __typename?: 'EventfullyManagedShowRateCell';
26852
+ currentRegistered: Scalars['Int']['output'];
26853
+ historicalAttended: Scalars['Int']['output'];
26854
+ historicalRegistered: Scalars['Int']['output'];
26855
+ /** LATE (7 days or less before the event), MID (8 to 30), EARLY (over 30) or UNKNOWN. */
26856
+ leadBucket: Scalars['String']['output'];
26857
+ showRate: Scalars['Float']['output'];
26858
+ /** PAID or FREE. */
26859
+ tier: Scalars['String']['output'];
26860
+ };
25753
26861
  export type EventfullyManagedSimpleEntity = {
25754
26862
  __typename?: 'EventfullyManagedSimpleEntity';
25755
26863
  createdAt: Scalars['DateTime']['output'];
@@ -39742,6 +40850,35 @@ export type HealthyBowlWorker = {
39742
40850
  piecePrice?: Maybe<Scalars['Float']['output']>;
39743
40851
  skills: Array<Scalars['String']['output']>;
39744
40852
  };
40853
+ /** Which side of the marketplace an activation step measures. */
40854
+ export declare enum HokActivationAudience {
40855
+ Creator = "CREATOR",
40856
+ Talent = "TALENT",
40857
+ Viewer = "VIEWER"
40858
+ }
40859
+ export type HokActivationFunnel = {
40860
+ __typename?: 'HokActivationFunnel';
40861
+ /** Steps that have happened at least once. */
40862
+ completedSteps: Scalars['Int']['output'];
40863
+ /** Calendar-month bucket ("YYYY-MM") the numbers are scoped to, or null for all-time. */
40864
+ period?: Maybe<Scalars['String']['output']>;
40865
+ /** Steps in the canonical funnel order: viewer first, then creator, then talent. */
40866
+ steps: Array<HokActivationStep>;
40867
+ totalSteps: Scalars['Int']['output'];
40868
+ };
40869
+ /** One activation event, aggregated over the workspace. */
40870
+ export type HokActivationStep = {
40871
+ __typename?: 'HokActivationStep';
40872
+ audience: HokActivationAudience;
40873
+ /** How many times the event happened. */
40874
+ count: Scalars['Int']['output'];
40875
+ /** Analytics dictionary event name, e.g. hookmovies.title.created. */
40876
+ event: Scalars['String']['output'];
40877
+ firstOccurredAt?: Maybe<Scalars['DateTime']['output']>;
40878
+ lastOccurredAt?: Maybe<Scalars['DateTime']['output']>;
40879
+ /** How many distinct users performed (or, for entitlement.granted, received) the event. */
40880
+ uniqueActors: Scalars['Int']['output'];
40881
+ };
39745
40882
  /** A single (bucket-key -> aggregate) row for a device/territory/language breakdown. */
39746
40883
  export type HokAnalyticsBucket = {
39747
40884
  __typename?: 'HokAnalyticsBucket';
@@ -40139,6 +41276,22 @@ export type HokDataExport = {
40139
41276
  /** All user-linked HookMovies data as a structured JSON object. */
40140
41277
  payload: Scalars['JSON']['output'];
40141
41278
  };
41279
+ /** The onboarding sample data loaded into a workspace. */
41280
+ export type HokDemoData = {
41281
+ __typename?: 'HokDemoData';
41282
+ auditionId?: Maybe<Scalars['ID']['output']>;
41283
+ /** False when the sample data was already loaded and is returned unchanged. */
41284
+ created: Scalars['Boolean']['output'];
41285
+ productionId?: Maybe<Scalars['ID']['output']>;
41286
+ studioId: Scalars['ID']['output'];
41287
+ /** The sample feature film first, then the sample series. */
41288
+ titleIds: Array<Scalars['ID']['output']>;
41289
+ };
41290
+ export type HokDemoDataRemoval = {
41291
+ __typename?: 'HokDemoDataRemoval';
41292
+ /** Rows soft-deleted across the sample studio, people, titles, production and audition. */
41293
+ removed: Scalars['Int']['output'];
41294
+ };
40142
41295
  export type HokDispute = {
40143
41296
  __typename?: 'HokDispute';
40144
41297
  applicantId: Scalars['ID']['output'];
@@ -40541,6 +41694,32 @@ export declare enum HokOfferStatus {
40541
41694
  Sent = "SENT",
40542
41695
  Withdrawn = "WITHDRAWN"
40543
41696
  }
41697
+ export type HokOnboardingStatus = {
41698
+ __typename?: 'HokOnboardingStatus';
41699
+ completedSteps: Scalars['Int']['output'];
41700
+ /** Whether the onboarding sample data is currently loaded in this workspace. */
41701
+ demoDataLoaded: Scalars['Boolean']['output'];
41702
+ steps: Array<HokOnboardingStep>;
41703
+ totalSteps: Scalars['Int']['output'];
41704
+ };
41705
+ export type HokOnboardingStep = {
41706
+ __typename?: 'HokOnboardingStep';
41707
+ completed: Scalars['Boolean']['output'];
41708
+ key: HokOnboardingStepKey;
41709
+ };
41710
+ /** A getting-started checklist step, in the order the checklist shows them. */
41711
+ export declare enum HokOnboardingStepKey {
41712
+ /** The workspace created its first title. */
41713
+ CreateTitle = "CREATE_TITLE",
41714
+ /** The workspace opened a casting audition. */
41715
+ OpenAudition = "OPEN_AUDITION",
41716
+ /** The workspace published a title. */
41717
+ PublishTitle = "PUBLISH_TITLE",
41718
+ /** The caller saved their language and content preferences. */
41719
+ SetPreferences = "SET_PREFERENCES",
41720
+ /** The workspace started a production. */
41721
+ StartProduction = "START_PRODUCTION"
41722
+ }
40544
41723
  export type HokPageInfo = {
40545
41724
  __typename?: 'HokPageInfo';
40546
41725
  cursor?: Maybe<Scalars['String']['output']>;
@@ -43597,6 +44776,8 @@ export type IntFeed = {
43597
44776
  format?: Maybe<Scalars['String']['output']>;
43598
44777
  id: Scalars['ID']['output'];
43599
44778
  ingestCount: Scalars['Int']['output'];
44779
+ /** Hourly ingest counts for the last 24 hours, oldest first. Always 24 buckets, zero-filled for hours with no ingest ticks. */
44780
+ ingestHistory: Array<IntFeedIngestBucket>;
43600
44781
  lastIngestAt?: Maybe<Scalars['DateTime']['output']>;
43601
44782
  name: Scalars['String']['output'];
43602
44783
  pausedAt?: Maybe<Scalars['DateTime']['output']>;
@@ -43613,6 +44794,12 @@ export type IntFeedConnection = {
43613
44794
  items: Array<IntFeed>;
43614
44795
  pageInfo: IntPageInfo;
43615
44796
  };
44797
+ /** One hourly bucket of a feed's ingest activity, for the health-dashboard sparkline. */
44798
+ export type IntFeedIngestBucket = {
44799
+ __typename?: 'IntFeedIngestBucket';
44800
+ bucketStart: Scalars['DateTime']['output'];
44801
+ count: Scalars['Int']['output'];
44802
+ };
43616
44803
  export declare enum IntFeedStatus {
43617
44804
  Connected = "CONNECTED",
43618
44805
  Disconnected = "DISCONNECTED",
@@ -43957,6 +45144,11 @@ export type IntegrationConnection = {
43957
45144
  * provider's default method (every connection created before multi-auth).
43958
45145
  */
43959
45146
  authMethodKey?: Maybe<Scalars['String']['output']>;
45147
+ /**
45148
+ * Whether the caller could run this connection in a workflow they own. False for a private
45149
+ * connection an administrator only sees by administering it. Null for services and apps.
45150
+ */
45151
+ canUse?: Maybe<Scalars['Boolean']['output']>;
43960
45152
  /**
43961
45153
  * Opaque cross-service reference to the bot channel in global-channel-svc
43962
45154
  * that this personal connection is linked to. Null until the user links
@@ -43980,16 +45172,26 @@ export type IntegrationConnection = {
43980
45172
  lastHealthCheck?: Maybe<Scalars['DateTime']['output']>;
43981
45173
  lastUsedAt?: Maybe<Scalars['DateTime']['output']>;
43982
45174
  metadata?: Maybe<Scalars['JSON']['output']>;
45175
+ /** How the caller reaches this connection. Null for service callers. */
45176
+ myAccess?: Maybe<ConnectionAccess>;
43983
45177
  name: Scalars['String']['output'];
43984
45178
  /** Opaque reference to the organization that owns the linked channel. */
43985
45179
  organizationId?: Maybe<Scalars['String']['output']>;
45180
+ /**
45181
+ * The person the connection belongs to. Starts as createdBy; a workspace administrator can hand it
45182
+ * to someone else.
45183
+ */
45184
+ ownerId: Scalars['String']['output'];
43986
45185
  provider: IntegrationProvider;
43987
45186
  providerId: Scalars['ID']['output'];
45187
+ /** The people, groups and projects the connection is shared with */
45188
+ shares: Array<ConnectionShare>;
43988
45189
  status: ConnectionStatus;
43989
45190
  /** Structured tag assignments via wspace-tags-svc */
43990
45191
  tagAssignments: Array<IntegrationConnectionTagAssignment>;
43991
45192
  updatedAt: Scalars['DateTime']['output'];
43992
45193
  vaultId?: Maybe<Scalars['String']['output']>;
45194
+ visibility: ConnectionVisibility;
43993
45195
  /**
43994
45196
  * Workspace ID that owns this connection. Set at connection-creation time
43995
45197
  * from context.workspace.id. Used by global-channel-svc to forward the
@@ -52780,14 +53982,43 @@ export declare enum MtwStockObservationStatus {
52780
53982
  */
52781
53983
  export type MtwTrackingAlert = {
52782
53984
  __typename?: 'MtwTrackingAlert';
53985
+ /** True when an operator acknowledged this alert against the current promise. */
53986
+ acknowledged: Scalars['Boolean']['output'];
53987
+ acknowledgedAt?: Maybe<Scalars['DateTime']['output']>;
53988
+ acknowledgedBy?: Maybe<Scalars['ID']['output']>;
52783
53989
  alertType: Scalars['String']['output'];
53990
+ /** Stable alert id, `<shipmentId>:<alertType>`. */
53991
+ id: Scalars['ID']['output'];
52784
53992
  message: Scalars['String']['output'];
52785
53993
  predictedDelivery?: Maybe<Scalars['DateTime']['output']>;
53994
+ /** The shipment's promised delivery (estimatedDelivery) the alert was raised against. */
53995
+ promisedDelivery?: Maybe<Scalars['DateTime']['output']>;
52786
53996
  riskScore?: Maybe<Scalars['Int']['output']>;
52787
53997
  shipmentId: Scalars['ID']['output'];
52788
53998
  shipmentNumber: Scalars['String']['output'];
52789
53999
  signals?: Maybe<Array<MtwRiskSignalCode>>;
52790
54000
  };
54001
+ /**
54002
+ * A persisted acknowledgement of a tracking alert. It holds while the shipment
54003
+ * keeps the promised delivery it was recorded against; re-promising the shipment
54004
+ * re-raises the alert.
54005
+ */
54006
+ export type MtwTrackingAlertAcknowledgement = {
54007
+ __typename?: 'MtwTrackingAlertAcknowledgement';
54008
+ acknowledged: Scalars['Boolean']['output'];
54009
+ acknowledgedAt: Scalars['DateTime']['output'];
54010
+ acknowledgedBy: Scalars['ID']['output'];
54011
+ alertType: MtwTrackingAlertType;
54012
+ /** Same id as the acknowledged `MtwTrackingAlert`. */
54013
+ id: Scalars['ID']['output'];
54014
+ promisedDelivery?: Maybe<Scalars['DateTime']['output']>;
54015
+ shipmentId: Scalars['ID']['output'];
54016
+ };
54017
+ /** Alert types `trackingAlerts` raises; used to acknowledge one. */
54018
+ export declare enum MtwTrackingAlertType {
54019
+ AtRisk = "AT_RISK",
54020
+ Delayed = "DELAYED"
54021
+ }
52791
54022
  export type MtwTrackingEvent = {
52792
54023
  __typename?: 'MtwTrackingEvent';
52793
54024
  context?: Maybe<OperationContext>;
@@ -53106,6 +54337,7 @@ export type Mutation = {
53106
54337
  acknowledgeHealthyBowlSensorAlert: SensorAlert;
53107
54338
  /** Acknowledge (mark read) a stressed zone. */
53108
54339
  acknowledgeHealthyBowlStressedZone: HbStressedZone;
54340
+ acknowledgeMtwTrackingAlert: MtwTrackingAlertAcknowledgement;
53109
54341
  /** Acquire a lock on a file */
53110
54342
  acquireFileLock: AcquireLockResponse;
53111
54343
  /** Take a workflow's edit lease when it is free, or renew it when this session holds it. Otherwise report the holder. */
@@ -53580,6 +54812,8 @@ export type Mutation = {
53580
54812
  buiFailCourseKnowledgeChange: Scalars['Boolean']['output'];
53581
54813
  buiGradeSubmission: BuiSubmission;
53582
54814
  buiIssueCertificate: BuiCertificate;
54815
+ /** 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. */
54816
+ buiLoadDemoContent: BuiDemoContentResult;
53583
54817
  buiPublishAssessment: BuiAssessment;
53584
54818
  /** Publish a course through its authoring lifecycle (validated transitions). */
53585
54819
  buiPublishCourse: BuiCourse;
@@ -53587,8 +54821,12 @@ export type Mutation = {
53587
54821
  buiRecordLessonProgress: BuiLessonProgress;
53588
54822
  /** Record progress only for the caller's active enrollment and a lesson in that course. */
53589
54823
  buiRecordMyLessonProgress: BuiLessonProgress;
54824
+ /** 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`. */
54825
+ buiRecordProctoringSignals: BuiProctoringSession;
53590
54826
  /** Workspace admin registers a new LMS platform to launch into this tool. */
53591
54827
  buiRegisterLtiPlatform: BuiLtiPlatform;
54828
+ /** Remove the onboarding demo content. Returns false when none is loaded. */
54829
+ buiRemoveDemoContent: Scalars['Boolean']['output'];
53592
54830
  /** 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. */
53593
54831
  buiReportProctoringViolation: BuiProctoringSession;
53594
54832
  buiRetryCourseAssistantDelivery?: Maybe<BuiCourseAssistantTurn>;
@@ -53596,7 +54834,7 @@ export type Mutation = {
53596
54834
  buiReviewGradeSuggestion: BuiGradeSuggestion;
53597
54835
  /** Learner marks a previously generated next-lesson suggestion ACCEPTED or REJECTED. Type-B self-scoped, mirrors `buiSuggestNextLesson`. */
53598
54836
  buiReviewNextLessonSuggestion: BuiNextLessonSuggestion;
53599
- /** 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`. */
54837
+ /** 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. */
53600
54838
  buiReviewProctoringSession: BuiProctoringSession;
53601
54839
  /** 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. */
53602
54840
  buiReviewTutorAnswer: BuiTutorMessage;
@@ -53621,6 +54859,12 @@ export type Mutation = {
53621
54859
  buiSuggestGrade: BuiGradeSuggestion;
53622
54860
  /** 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`. */
53623
54861
  buiSuggestNextLesson: BuiNextLessonSuggestion;
54862
+ /** Service-only (BOFF-3134): upsert the canonical certificate mirroring a source product's certificate. The course must have been synced first. */
54863
+ buiSyncExternalCertificate: BuiCertificate;
54864
+ /** Service-only (BOFF-3134): upsert the canonical course mirroring a source product's course. Returns the canonical BuiCourse. */
54865
+ buiSyncExternalCourse: BuiCourse;
54866
+ /** Service-only (BOFF-3134): upsert the canonical enrollment mirroring a source product's enrollment. The course must have been synced first. */
54867
+ buiSyncExternalEnrollment: BuiEnrollment;
53624
54868
  /** 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`). */
53625
54869
  buiSyncLtiGrade: BuiLtiGradeSync;
53626
54870
  /** Names and Role Provisioning Services roster sync: fetches the LMS course roster for this LTI placement and upserts `BuiLtiContextMembership` rows. */
@@ -53853,9 +55097,14 @@ export type Mutation = {
53853
55097
  colUntagMemory: Scalars['Boolean']['output'];
53854
55098
  colUntagPerson: Scalars['Boolean']['output'];
53855
55099
  colUntagStory: Scalars['Boolean']['output'];
55100
+ colUpdateEvent: ColEvent;
53856
55101
  colUpdateFamilyTree: ColFamilyTree;
55102
+ /** Change a member's tree role and/or linked Person (BOFF-3972). Beyond the workspace-level directive below, the service layer requires the caller to be an ACTIVE OWNER/STEWARD of the tree, forbids changing one's own role, and reserves granting or changing OWNER for tree OWNERs. */
55103
+ colUpdateMembership: ColMembership;
53857
55104
  colUpdateMemory: ColMemory;
53858
55105
  colUpdatePerson: ColPerson;
55106
+ colUpdateRelationship: ColRelationship;
55107
+ colUpdateStory: ColStory;
53859
55108
  /** Hand a box to the member who came for it. The ONLY thing that records a collection. Dropping the load at a stand is the box ARRIVING, not being collected — that marks every box `AWAITING_COLLECTION`. This is the second event, one member at a time, and it is what writes `DELIVERED` and `collectedAt` for a collected box. Refused unless the box is `AWAITING_COLLECTION`: collecting a box still on the farm would record a handover that did not happen, and collecting one twice would quietly move its collection time. The error names the state the box is actually in, because "cannot collect" alone says nothing about what to do next. A HOME_DELIVERY box is refused too — it is handed over at the door, and its route stop already records that. */
53860
55109
  collectHealthyBowlCsaPickupBox: CsaDelivery;
53861
55110
  comAddComment: ComComment;
@@ -54015,6 +55264,8 @@ export type Mutation = {
54015
55264
  cooAddLookbookEntry: CooLookbookEntry;
54016
55265
  /** Add a piece to the calling shopper's cart (merges into an existing line for the same variant). */
54017
55266
  cooAddToCart: CooCart;
55267
+ /** Ranked, cited findings about the calling shopper's wardrobe: occasions and categories it cannot cover, palette colours it lacks, and re-wear signals (dormant pieces, never-worn pieces, cost-per-wear outliers). */
55268
+ cooAnalyzeWardrobeGaps: CooWardrobeGapAnalysis;
54018
55269
  /** Approve a brand storefront that is pending review (PENDING_REVIEW -> PUBLISHED). */
54019
55270
  cooApproveBrand: CooBrand;
54020
55271
  /** Approve a shopper's return: refunds the brand's pieces of the order to the shopper (reversing the creator commissions on them) and marks the request APPROVED. Returns the order as the brand now sees it. */
@@ -54039,6 +55290,8 @@ export type Mutation = {
54039
55290
  cooCreateLookbook: CooLookbook;
54040
55291
  cooCreateStyleItem: CooStyleItem;
54041
55292
  cooCreateWardrobeItem: CooWardrobeItem;
55293
+ /** Propose which of a brand's DRAFT style items form a coherent story for a season, flag publish blockers and suggest an order. Advisory only. */
55294
+ cooCurateCollection: CooCollectionCuration;
54042
55295
  /** Decline a shopper's return with a note. The shopper is notified. Returns the order as the brand now sees it. */
54043
55296
  cooDeclineReturnRequest: CooBrandOrder;
54044
55297
  /** Soft-delete a collaboration that is still PROPOSED (sets deletedAt; excluded from list/read queries thereafter). Once a collaboration has moved past PROPOSED, use cooTransitionCollaboration(CANCELLED) instead — deleting a collaboration the other party has already acted on would erase real history. */
@@ -54079,6 +55332,10 @@ export type Mutation = {
54079
55332
  cooSaveLook: CooLook;
54080
55333
  /** Turn per-variant stock tracking on or off for a style item and set the stock of its variants (BOFF-9637). With tracking on, checkout reserves stock and the piece's ACTIVE / OUT_OF_STOCK status follows it. */
54081
55334
  cooSetStyleItemInventory: CooStyleItem;
55335
+ /** Rank creators by aesthetic fit with a brand's published catalog and draft a PROPOSED collaboration brief for each. Advisory only: nothing is created and no collaboration changes state. */
55336
+ cooSuggestCollaborationMatch: CooCollaborationMatchResult;
55337
+ /** Compose a draft outfit for an occasion from the calling shopper's own wardrobe (size-respecting, palette-aware, backed by real look pairings), plus optional catalog pieces for any slot the wardrobe cannot fill. Never saves or publishes anything. */
55338
+ cooSuggestOutfit: CooOutfitSuggestion;
54082
55339
  /** Settle a collaboration fee against global-billing: marks it PAID only when billing reports the brand's payment SUCCEEDED, then books the creator's earning. Safe to call at any time. */
54083
55340
  cooSyncCollaborationPayment: CooCollaborationPayout;
54084
55341
  /** Settle one of the caller's orders against global-billing: re-reads the authoritative payment and marks the order PAID only when billing reports it SUCCEEDED. Safe to call at any time. */
@@ -54116,6 +55373,12 @@ export type Mutation = {
54116
55373
  copyFile: File;
54117
55374
  cosAddRunStep: CosPipelineStep;
54118
55375
  cosAddSchemaField: CosSchemaField;
55376
+ /** Draft a release (title, abstract, authors, licence, version, datasets) from a notebook, its completed analyses and the datasets in its lineage. Writes nothing; cosCreateRelease and cosPublishRelease stay human actions. */
55377
+ cosAiDraftRelease: CosReleaseDraft;
55378
+ /** Propose a schema field per column of a dataset: logical type, unit, nullability, position and a drafted provenance note. Reads `sample` when given, else `context.schemaSample` on the dataset, else the columns declared in the source connector config. Writes nothing. */
55379
+ cosAiProposeSchemaFields: CosSchemaFieldProposal;
55380
+ /** Recommend what to do with a finished pipeline run (PROMOTE, RERUN_WITH_PARAMS, QUARANTINE_DATASET or FLAG_SOURCE_DEGRADED) from its metrics and ordered step telemetry, with the rationale and evidence. A run that is still QUEUED or RUNNING returns CONFLICT. Writes nothing. */
55381
+ cosAiTriageRun: CosRunTriage;
54119
55382
  /** Soft-delete a collection (sets deletedAt). Datasets keep their collectionId but the archived collection no longer lists or resolves. */
54120
55383
  cosArchiveCollection: Scalars['Boolean']['output'];
54121
55384
  cosArchiveDataset: Scalars['Boolean']['output'];
@@ -54124,6 +55387,8 @@ export type Mutation = {
54124
55387
  cosArchiveSource: Scalars['Boolean']['output'];
54125
55388
  /** Record the terminal outcome of an analysis run (COMPLETED / FAILED). */
54126
55389
  cosCompleteAnalysis: CosAnalysis;
55390
+ /** Finish one step of a run with its status, outputs, error and the datasets it produced (`producedDatasetIds`). A step that has already finished returns CONFLICT. */
55391
+ cosCompleteRunStep: CosPipelineStep;
54127
55392
  cosCreateCollection: CosCollection;
54128
55393
  cosCreateDataset: CosDataset;
54129
55394
  cosCreateNotebook: CosNotebook;
@@ -54141,6 +55406,8 @@ export type Mutation = {
54141
55406
  cosPublishDataset: CosDataset;
54142
55407
  /** Publish a citable release and stamp it with a DOI. */
54143
55408
  cosPublishRelease: CosRelease;
55409
+ /** Record run-level telemetry (rows in/out, anomalies flagged, warnings, error message). Merges into `metrics`; fields not sent are kept. */
55410
+ cosRecordRunTelemetry: CosPipelineRun;
54144
55411
  cosRevokeAccess: CosDataAccessGrant;
54145
55412
  cosRunAnalysis: CosAnalysis;
54146
55413
  /** Executes a RASTER_CALC (NDVI band-math) step synchronously against two co-registered single-band GeoTIFF rasters (NIR + RED), base64-encoded. Computes per-pixel NDVI = (NIR-RED)/(NIR+RED) via real GeoTIFF parsing, persisting summary statistics and a bounded preview grid as step lineage (`outputs`). Only NDVI band math is implemented today — REPROJECT, TILE, and ZONAL_STATS are recognized CosStepKind values with no execution backend yet (see BOFF-4355). */
@@ -54660,7 +55927,10 @@ export type Mutation = {
54660
55927
  createVibecontrolsScorecardTemplate: VibecontrolsScorecardTemplate;
54661
55928
  /** Create a new assignable tag (inline creation from a picker) */
54662
55929
  createVibecontrolsTag: AvailableTag;
54663
- /** Create a visibility rule for a resource. Auto-registers the resource if not already registered. */
55930
+ /**
55931
+ * Create a visibility rule for a resource.
55932
+ * Auto-registers the resource if not already registered.
55933
+ */
54664
55934
  createVisibilityRule: VisibilityRule;
54665
55935
  createVocabulary: TagVocabulary;
54666
55936
  createWarehouse: MtwWarehouse;
@@ -55206,7 +56476,7 @@ export type Mutation = {
55206
56476
  /** Disconnect a social media account (revoke tokens and mark disconnected) */
55207
56477
  disconnectHeadshotmarketingSocialAccount: HeadshotmarketingSocialAccount;
55208
56478
  disconnectHealthyBowlAccountingIntegration: HealthyBowlAccountingIntegration;
55209
- /** Disconnect a channel: further events from it are refused. Already captured events are kept. */
56479
+ /** Disconnect a channel: further events from it are refused. Already captured events are kept. For an OAuth-backed channel the integration connection is revoked as well. */
55210
56480
  disconnectTimeCampusCaptureChannel: TimeCampusCaptureChannel;
55211
56481
  dismissHealthyBowlComplianceFlag: ComplianceFlag;
55212
56482
  dismissRecommendation: TimeCampusRecommendation;
@@ -55351,6 +56621,8 @@ export type Mutation = {
55351
56621
  /** Escalate a stressed zone into an existing HealthyBowl Pest issue or a field activity (task). */
55352
56622
  escalateHealthyBowlStressedZone: HbStressedZoneEscalation;
55353
56623
  escalateIncident: Incident;
56624
+ /** Apply one suggested agenda fix (room, time or capacity) to a session. Refused unless confirm is true, and refused when the change would create a new room or speaker clash. */
56625
+ eventfullyManagedApplyAgendaFix: EventfullyManagedEventSession;
55354
56626
  eventfullyManagedCreateAttendee: EventfullyManagedAttendee;
55355
56627
  eventfullyManagedCreateBadgeTemplate: EventfullyManagedBadgeTemplate;
55356
56628
  eventfullyManagedCreateCheckInRecord: EventfullyManagedCheckInRecord;
@@ -55396,6 +56668,7 @@ export type Mutation = {
55396
56668
  eventfullyManagedEraseAttendeePersonalData: Scalars['Boolean']['output'];
55397
56669
  eventfullyManagedEraseLeadPersonalData: Scalars['Boolean']['output'];
55398
56670
  eventfullyManagedEraseSpeakerPersonalData: Scalars['Boolean']['output'];
56671
+ eventfullyManagedForecastAttendance: EventfullyManagedAttendanceForecast;
55399
56672
  /** Creates (or updates the template binding of) the tracking `Badge` row for a registration. Idempotent — re-calling for the same registration updates `templateId` rather than creating a duplicate (Badge.registrationId is unique) and never resets `generatedAt`/`printCount`. Falls back to the event's default `BadgeTemplate` (`isDefault: true`) when `templateId` is omitted; throws if neither is available. */
55400
56673
  eventfullyManagedGenerateBadge: EventfullyManagedBadge;
55401
56674
  /** BOFF-4321 — deterministic matchmaking engine (v1: interest/lookingFor overlap scoring — see NetworkingMatchingService doc comment for the exact formula and why this ships instead of an LLM call). Scores every pair of opted-in (non-private) NetworkingProfiles at the event, upserts a NetworkingMatch row per pair that clears the minimum-signal threshold (score > 0), and returns the full generated/updated set ordered by score desc. Never creates a Meeting — matches stay suggestions until an attendee books one explicitly. Returns an empty list (not fabricated pairings) when the event has fewer than 5 opted-in profiles. */
@@ -55406,9 +56679,12 @@ export type Mutation = {
55406
56679
  eventfullyManagedJoinVirtualSession: EventfullyManagedVirtualSession;
55407
56680
  /** Leave the calling actor's own active participation in a virtual session. Ends the session once the last participant leaves. */
55408
56681
  eventfullyManagedLeaveVirtualSession: Scalars['Boolean']['output'];
56682
+ eventfullyManagedPredictNoShows: EventfullyManagedNoShowPrediction;
55409
56683
  /** Promote another active participant to PRESENTER (WEBINAR mode). Only the session's HOST may promote; enforced in the resolver, not just the gateway's workspace-membership check. */
55410
56684
  eventfullyManagedPromoteVirtualPresenter: EventfullyManagedVirtualParticipant;
55411
56685
  eventfullyManagedPublishAnnouncement: EventfullyManagedSimpleEntity;
56686
+ eventfullyManagedResolveAgendaConflicts: EventfullyManagedAgendaConflictResolution;
56687
+ eventfullyManagedRightSizeSessions: EventfullyManagedCapacityRightSizing;
55412
56688
  eventfullyManagedScanCheckIn: EventfullyManagedCheckInRecord;
55413
56689
  eventfullyManagedSendCommunicationCampaign: EventfullyManagedSimpleEntity;
55414
56690
  /** Relay a WebRTC signaling message (SDP offer/answer or ICE candidate) from the calling actor to another active participant in the same session. Both parties must be active participants — enforced in the resolver, not just at the gateway. Fire-and-forget: delivered via `eventfullyManagedVirtualSignal` subscription. */
@@ -55542,7 +56818,7 @@ export type Mutation = {
55542
56818
  generateHealthyBowlDeliveryRoute: DeliveryRoute;
55543
56819
  /** One-click MRV report: assembles emissions + sequestration + credits + EUDR into a PDF/CSV via wspace-files-svc. */
55544
56820
  generateHealthyBowlMrvReport: HbMrvReport;
55545
- /** Run the deterministic recommendation rules over the caller's real data (idempotent per rule + ISO-week). */
56821
+ /** Run the deterministic recommendation rules over the caller's real data (idempotent per rule + ISO-week). When the workspace opted in to model recommendations, up to three AI candidates follow, generated at most once per ISO week and validated against the caller's preferences. */
55546
56822
  generateMyRecommendations: Array<TimeCampusRecommendation>;
55547
56823
  generateReport: ReportRun;
55548
56824
  /** Aggregates every billable, un-invoiced TimeEntry in the workspace (scoped to `projectIds` and the given period) by project + task, applying each entry's own hourly rate, and creates a DRAFT invoice with one line item per project/task group. The matched time entries are atomically marked as invoiced so they can never be billed twice. */
@@ -55838,6 +57114,8 @@ export type Mutation = {
55838
57114
  hokInviteGuardian: HokGuardianInviteResult;
55839
57115
  /** Join a watch party as the calling user (self-scoped, idempotent). */
55840
57116
  hokJoinWatchParty: HokWatchParty;
57117
+ /** Load the onboarding sample data (a studio, three people, a published film, a draft series, a production and an open audition). Idempotent: returns the existing sample data when it is already loaded. */
57118
+ hokLoadDemoData: HokDemoData;
55841
57119
  /** Record that the production paid the talent off-platform (non-custodial). */
55842
57120
  hokMarkOfferPaid: HokOffer;
55843
57121
  /** Mark alerts read; omit ids to mark every unread alert read. Returns the count updated. */
@@ -55856,6 +57134,8 @@ export type Mutation = {
55856
57134
  hokRecordPlaybackEvent: HokPlaybackEvent;
55857
57135
  /** Upsert the calling user's watch progress for a title/episode (self-scoped). */
55858
57136
  hokRecordProgress: HokWatchProgress;
57137
+ /** Soft-delete the onboarding sample data. Content the workspace created itself is never touched. */
57138
+ hokRemoveDemoData: HokDemoDataRemoval;
55859
57139
  hokRemoveScheduleBlock: Scalars['Boolean']['output'];
55860
57140
  /** File a moderation report against any catalog/engagement entity (self-scoped — any authenticated viewer may report). */
55861
57141
  hokReportContent: HokModerationFlag;
@@ -55964,7 +57244,11 @@ export type Mutation = {
55964
57244
  initializeNewWorkspace: InitializeNewWorkspaceResult;
55965
57245
  /** Initialize a newly created workspace with default configuration */
55966
57246
  initializeWorkspace: Workspace;
55967
- /** Service-internal workspace bootstrap: initializes default roles for a workspace by cloning system roles. Called by wspace-workspace-svc during cross-layer workspace sync, and safe to retry because it is idempotent. */
57247
+ /**
57248
+ * Service-internal workspace bootstrap: initializes default roles for a workspace
57249
+ * by cloning system roles. Called by wspace-workspace-svc during cross-layer
57250
+ * workspace sync, and safe to retry because it is idempotent.
57251
+ */
55968
57252
  initializeWorkspaceRoles: InitializeWorkspaceRolesResult;
55969
57253
  initiateOAuth: OAuthInitiationResult;
55970
57254
  /** Initiate a new upload session Returns session details and initial presigned URLs */
@@ -56360,6 +57644,8 @@ export type Mutation = {
56360
57644
  markNoShow: Booking;
56361
57645
  /** Pair a statement line with a farm Transaction. Neither row's own figures are altered. */
56362
57646
  matchHealthyBowlStatementLine: HealthyBowlBankStatementLine;
57647
+ /** Merge a custom or backfill skill into another skill: holders, job postings and relations move to the target, the source's names become target aliases, and the source is removed. Starter-taxonomy skills cannot be the source. */
57648
+ mergeCrewSkills: CrewSkillMergeResult;
56363
57649
  mergeTag: UniversalTag;
56364
57650
  mergeTags: UniversalTag;
56365
57651
  /** Mint a short-lived capability token bound to a single agent + scope. Replaces the long-lived agent API key for browser-bound iframe / terminal embeds. The svc proxies to the agent's `POST /api/agent/iframe-token` over the internal x-agent-api-key channel and returns the resulting HMAC-signed token + expiry. The token is bound to a path prefix derived from `scope` + `resourceId`: - TERMINAL_SESSION + resourceId=sessionId → `/terminal/<sessionId>` - IFRAME_PLUGIN + resourceId=pluginName → `/ui/<pluginName>` - PLAN_SESSION + resourceId=sessionId → `/plan/<sessionId>` - CODE_SERVER + resourceId=instance (optional, currently ignored) → `/code-server` - SCHEDULED_JOB + resourceId=sessionId → server-side only (rejected from public mint; see ScheduledPromptService which routes via the trusted back-channel) The final prefix is validated against the agent's published allow-list (`vibecontrols-agent` `iframe-tokens.ts::isValidIframePathPrefix`). Mints whose computed prefix is banned (`/api`, `/api/ai`, `/api/profiles`, …) are rejected with `BAD_USER_INPUT` so callers see a clear error instead of a downstream upstream-rejected 400. `ttlSeconds` is clamped to [1, 600], default 60. Caller is auth'd by RBAC (action: invoke, resource: agent, scope: wspace) and the agent must belong to the caller's workspace — cross-workspace mint attempts return FORBIDDEN. */
@@ -57194,6 +58480,8 @@ export type Mutation = {
57194
58480
  reconcileCourseKnowledgeImports: CourseKnowledgeImportRecovery;
57195
58481
  reconcileKnowledgeArtifactCleanup: KnowledgeVectorCleanupReceipt;
57196
58482
  reconcileKnowledgeVectorCleanup: KnowledgeVectorCleanupReceipt;
58483
+ /** Super admin: register or repair the sweep of every workspace with an opted-in member and remove unused ones. */
58484
+ reconcileTimeCampusTimeIntelligenceSchedules: TimeCampusTimeIntelligenceReconcileResult;
57197
58485
  recordAIPromptUsage: AiPrompt;
57198
58486
  /** Record multiple activities in batch */
57199
58487
  recordActivities: Array<ActivityLog>;
@@ -57294,7 +58582,11 @@ export type Mutation = {
57294
58582
  registerNode: NodeEndpointConfig;
57295
58583
  /** Register (upsert) a parser type in the GLOBAL ParserTypeConfig registry and, with autoInstall, make it the workspace's active version. Re-registering the same (parserTypeKey, parserVersion) refreshes its definition but preserves the operator-set status. TRUST BOUNDARY (same as registerWidgetType): the catalog write is global while RBAC is scoped to input.workspaceId. This is the store service path — restricted to service/super_admin actors at the public gateway. */
57296
58584
  registerParserType: ParserTypeRegistration;
57297
- /** Register a resource with custom RBAC configurations. Called automatically when the first override or visibility rule is created for a resource. Can also be called manually for explicit registration. */
58585
+ /**
58586
+ * Register a resource with custom RBAC configurations.
58587
+ * Called automatically when the first override or visibility rule is created for a resource.
58588
+ * Can also be called manually for explicit registration.
58589
+ */
57298
58590
  registerResource: Resource;
57299
58591
  /** Register an uploaded part */
57300
58592
  registerUploadedPart: UploadPartResponse;
@@ -57302,6 +58594,8 @@ export type Mutation = {
57302
58594
  registerVibecontrolsAgent: VibecontrolsAgent;
57303
58595
  /** Register (upsert) a widget type in the global WidgetTypeConfig registry. Refreshes definition fields; preserves operator-set status/isLatest on update (BOFF-2810 rule). TRUST BOUNDARY (BOFF-2858): this writes the GLOBAL WidgetTypeConfig table (no workspace partition), but RBAC is scoped to `input.workspaceId`. This is a DELIBERATE mirror of the FluidGrids node-registry contract: the registry is a shared catalog written by the trusted global-store-svc service actor on product install, not per-workspace author content. `workspaceId` scopes only the optional autoInstall side effect, not the catalog write. A caller with workspace-scoped create can therefore upsert a shared type definition; keep this mutation restricted to the store service path and do not surface it as a general end-user capability. Install-gating (WorkspaceWidgetInstallation) is what actually controls per-workspace visibility. */
57304
58596
  registerWidgetType: BigConsoleWidgetTypeRegistration;
58597
+ /** Re-publish this workspace's skills graph (skills, employees' directory cards, holdings and typed skill relations) and its directory records (departments, teams, projects, job postings, announcements) to the platform knowledge graph and global search. Idempotent: use it to backfill or repair the projection. */
58598
+ reindexCrewSkillsGraph: CrewSkillsGraphReindexReport;
57305
58599
  /** Reject a pending request with a reason. Refused for your own request. */
57306
58600
  rejectBotmanorAgentActivation: BotmanorAgentApprovalRequest;
57307
58601
  rejectChangeRequest: ChangeRequest;
@@ -57357,6 +58651,8 @@ export type Mutation = {
57357
58651
  removeCrewEnrollment: Scalars['Boolean']['output'];
57358
58652
  removeCrewInterview: Scalars['Boolean']['output'];
57359
58653
  removeCrewJobPosting: Scalars['Boolean']['output'];
58654
+ /** Stop asking for a skill on a job posting (also removes it from the legacy `requirements` strings). */
58655
+ removeCrewJobPostingSkill: Scalars['Boolean']['output'];
57360
58656
  removeCrewLeaveRequest: Scalars['Boolean']['output'];
57361
58657
  removeCrewOnboarding: Scalars['Boolean']['output'];
57362
58658
  removeCrewOnboardingTask: Scalars['Boolean']['output'];
@@ -57365,6 +58661,8 @@ export type Mutation = {
57365
58661
  removeCrewProject: Scalars['Boolean']['output'];
57366
58662
  /** Remove a skill nobody holds (CONFLICT while employees or candidates hold it). Its relations go with it. */
57367
58663
  removeCrewSkill: Scalars['Boolean']['output'];
58664
+ /** Remove one relation edge from the skills graph. */
58665
+ removeCrewSkillRelation: Scalars['Boolean']['output'];
57368
58666
  removeCrewTeam: Scalars['Boolean']['output'];
57369
58667
  removeCrewTimeEntry: Scalars['Boolean']['output'];
57370
58668
  removeCrewTrainingCourse: Scalars['Boolean']['output'];
@@ -57795,6 +59093,8 @@ export type Mutation = {
57795
59093
  /** Run a script inside the sandbox and capture its output. The sandbox must be running. The run is recorded (even on failure) so it can be reviewed before any real-target execution. */
57796
59094
  runSandboxScript: SandboxScriptRun;
57797
59095
  runSecurityScan: SecurityScanRun;
59096
+ /** Run the workspace's time-intelligence sweep. Called by wspace-scheduler-svc as this service's own service actor; a super admin may run it on demand. Any other caller is refused. */
59097
+ runTimeCampusTimeIntelligenceSweep: TimeCampusTimeIntelligenceSweep;
57798
59098
  /**
57799
59099
  * Append one completed turn (prompt + reply), creating the conversation on the first turn. NOT idempotent: a retried call appends a duplicate turn. This resolver writes both prompt and reply rows internally, so it performs manual quota checks/tracking instead of using a fixed-amount @usage directive.
57800
59100
  * @deprecated Use the my* assistant-history fields (BOFF-7335).
@@ -57860,8 +59160,12 @@ export type Mutation = {
57860
59160
  semPublishQuery: SemQuery;
57861
59161
  /** Record a connection health probe for a data source and reconcile its status. */
57862
59162
  semRecordConnection: SemConnection;
59163
+ /** Remove every demo record created by semSeedWorkspaceDemoData from the calling workspace. The user's own records are never touched. */
59164
+ semRemoveWorkspaceDemoData: SemRemoveWorkspaceDemoDataResult;
57863
59165
  /** Enqueue a federated execution of a saved query; returns the new run record in QUEUED status immediately. An async worker plans and executes it — poll semQueryRun(id) for the final status, plan summary and metrics. */
57864
59166
  semRunQuery: SemQueryRun;
59167
+ /** Seed the calling workspace with a labelled demo set: a sample Postgres connector and data source, a published semantic model (customers and orders, with dimensions, metrics and a relationship) and a saved query. Idempotent: a second call returns the existing demo records. */
59168
+ semSeedWorkspaceDemoData: SemSeedWorkspaceDemoDataResult;
57865
59169
  semSetAccessPolicyActive: SemAccessPolicy;
57866
59170
  /** Move a data source through its connectivity lifecycle (validated transitions). */
57867
59171
  semTransitionDataSource: SemDataSource;
@@ -57896,6 +59200,8 @@ export type Mutation = {
57896
59200
  setBigConsoleExternalEmbedsEnabled: Workspace;
57897
59201
  /** Set configuration */
57898
59202
  setConfiguration: Configuration;
59203
+ /** Ask for a skill on a job posting (required or nice-to-have, optional minimum proficiency). */
59204
+ setCrewJobPostingSkill: CrewJobPostingSkill;
57899
59205
  /** Assign (or clear, with rlsPolicyId: null) a dashboard's RLS policy. The policy must already exist in the same workspace as the dashboard. */
57900
59206
  setDashboardRlsPolicy: BigConsoleDashboard;
57901
59207
  /** Set the lifecycle status (AVAILABLE | DEPRECATED | DISABLED) of a registered version. Operator control; applies to every workspace. */
@@ -58001,6 +59307,12 @@ export type Mutation = {
58001
59307
  /** Share collection with users */
58002
59308
  shareCollection: CollectionShare;
58003
59309
  shareComponent: ShareGrant;
59310
+ /**
59311
+ * Set who can reach a connection: its visibility and the complete set of people, groups and
59312
+ * projects it is shared with, and optionally its owner. Allowed for the owner, editors it is
59313
+ * shared with, and workspace administrators; only administrators can change the owner.
59314
+ */
59315
+ shareConnection: IntegrationConnection;
58004
59316
  /** Share a dashboard with a user or group */
58005
59317
  shareDashboard: BigConsoleDashboardShare;
58006
59318
  shareDocs: ShareGrant;
@@ -58102,9 +59414,13 @@ export type Mutation = {
58102
59414
  subActivateWorkflow: SubWorkflow;
58103
59415
  /** Permanently purge all Subscriber Bot data for a workspace. Restricted to super_admin actors for GDPR right-to-erasure / offboarding workflows. Soft-deleted rows are removed when `includeSoftDeleted` is true. */
58104
59416
  subAdminPurgeWorkspace: SubAdminPurgeResult;
59417
+ /** Apply a PROPOSED decision through the relationship mutation it maps to. */
59418
+ subApplyDecision: SubDecisionResult;
58105
59419
  subApproveAdapter: SubAdapterSubmission;
58106
59420
  subArchiveProvider: Scalars['Boolean']['output'];
58107
59421
  subCancelRelationship: SubRelationship;
59422
+ /** Merge overlapping subscriptions onto one: optionally move the kept one to the bundled plan, then cancel the others. Destructive; confirm with the user first. */
59423
+ subConsolidateRelationships: SubConsolidationResult;
58108
59424
  subCreateAgent: SubAiAgent;
58109
59425
  subCreateAsset: SubAsset;
58110
59426
  /** Benchmark dataset: ingest a new observed price point. Tenant-scoped so each workspace owns its own contributions; the public read query UNIONs across workspaces (Phase 4). Available now so internal data seeding (Phase 1) and future Phase 2 ingestion pipelines have a stable write API. */
@@ -58120,14 +59436,27 @@ export type Mutation = {
58120
59436
  subCreateWorkflow: SubWorkflow;
58121
59437
  /** Disconnect a channel: ingestion stops and its discovery-source slot is released. The channel and its inbox history are kept; connecting the same address again with subCreateChannel reuses it. */
58122
59438
  subDisconnectChannel: SubCommunicationChannel;
59439
+ /** Hide a bundle suggestion (a SubOverlap id from subSavingsOverview) until its set of subscriptions changes. */
59440
+ subDismissBundle: Scalars['Boolean']['output'];
59441
+ subDismissDecision: SubDecision;
58123
59442
  subIngestMessage: SubInboxMessage;
58124
59443
  subMarkInvoicePaid: SubInvoice;
58125
59444
  subMarkMessageRead: SubInboxMessage;
58126
59445
  subModerateListing: SubMarketplaceReport;
59446
+ /** Recompute the health score of every ACTIVE and TRIAL relationship in the workspace from recorded usage, billing, pricing and overlap signals. Agent runs do this automatically before they evaluate. */
59447
+ subRecomputeHealthScores: SubHealthRecomputeResult;
59448
+ /** Register or repair the scheduled sweep of every workspace that has an enabled renewal, trial, cost or plan agent. */
59449
+ subReconcileAgentSchedules: SubAgentScheduleReconcileResult;
58127
59450
  subRejectAdapter: SubAdapterSubmission;
58128
59451
  subRemovePaymentInstrument: Scalars['Boolean']['output'];
59452
+ /** Run one agent's decision strategies over the workspace's ACTIVE and TRIAL relationships and queue the decisions. With dryRun: true (the default) no relationship is changed. dryRun: false also applies high-confidence decisions, and only an AUTONOMOUS agent in an enrolled workspace may do that. Writes the agent's lastRunAt. Each run (dry or live) is one AI action against the workspace's subscriberbot.ai.actions.monthly allowance; a workspace that has used it up gets QUOTA_EXHAUSTED from the gateway and nothing runs. */
59453
+ subRunAgent: SubAgentRunResult;
59454
+ /** Run the workspace's scheduled agent sweep. Called by wspace-scheduler-svc as this service's own service actor; a super admin may run it on demand. */
59455
+ subRunScheduledAgentSweep: SubAgentSweep;
58129
59456
  /** Change an agent's operating posture (DISABLED / SUGGEST_ONLY / AUTONOMOUS). */
58130
59457
  subSetAgentStatus: SubAiAgent;
59458
+ /** Create, update or remove (null / zero amount) a monthly spend budget. Returns null when the budget was removed. */
59459
+ subSetSpendBudget?: Maybe<SubSpendBudget>;
58131
59460
  /** Advance a relationship through its lifecycle (validated transitions). */
58132
59461
  subTransitionRelationship: SubRelationship;
58133
59462
  subUpdateProvider: SubProvider;
@@ -58157,7 +59486,7 @@ export type Mutation = {
58157
59486
  * restricted to super_admin.
58158
59487
  */
58159
59488
  syncContainers: ContainerActionResponse;
58160
- /** Seed the starter taxonomy and normalize every legacy employee/candidate skill string into canonical skills. Idempotent: safe to re-run. */
59489
+ /** Seed the starter taxonomy and normalize every legacy employee/candidate skill string and job-posting requirement into canonical skills. Idempotent: safe to re-run. */
58161
59490
  syncCrewSkills: CrewSkillSyncReport;
58162
59491
  /** Cross-layer sync endpoint for global-tenant-svc. Handles workspace creation, member addition, and member removal. **Access Control:** - Restricted to `service` actor type only (M2M calls) - Called by global-tenant-svc via wspace-int-gateway - Public gateway rejects any non-service actor - Internal gateway relies on network isolation (K8s NetworkPolicy + Istio mTLS) **Why actorTypes instead of action/resource RBAC:** - SYNC_WORKSPACE creates new workspaces - can't check permissions on non-existent resource - Internal gateway (wspace-int-gateway) has no RBAC middleware - directives aren't enforced - actorTypes clearly documents M2M-only intent and IS enforced by public gateway */
58163
59492
  syncFromGlobal: SyncFromGlobalResult;
@@ -58176,6 +59505,8 @@ export type Mutation = {
58176
59505
  syncHealthyBowlOrderPayment: Order;
58177
59506
  /** Backfill/refresh the farm's real multi-year daily + monthly weather history from the Open-Meteo ERA5 archive (the "Re-sync history" action). Replaces any prior history for the workspace and returns the refreshed series. */
58178
59507
  syncHealthyBowlWeatherHistory: WeatherHistorySeries;
59508
+ /** Pull an OAuth-backed channel from its provider now instead of waiting for the next scheduled sync. */
59509
+ syncTimeCampusCaptureChannel: TimeCampusCaptureChannelSyncResult;
58179
59510
  tagAnalyticsDashboard: AnalyticsDashboardTagAssignment;
58180
59511
  tagAnalyticsMetric: AnalyticsMetricTagAssignment;
58181
59512
  tagAnalyticsReport: AnalyticsReportTagAssignment;
@@ -58204,6 +59535,8 @@ export type Mutation = {
58204
59535
  /** Take a workflow's edit lease from whoever holds it. */
58205
59536
  takeOverWorkflowEditLease: WorkflowEditLease;
58206
59537
  tcpAddCitation: TcpCitation;
59538
+ /** Append a claim to a story's evidence trail. */
59539
+ tcpAddStoryClaim: TcpStoryClaim;
58207
59540
  tcpArchiveArchiveItem: Scalars['Boolean']['output'];
58208
59541
  tcpArchiveTopic: Scalars['Boolean']['output'];
58209
59542
  tcpCreateArchiveItem: TcpArchiveItem;
@@ -58212,12 +59545,17 @@ export type Mutation = {
58212
59545
  tcpCreateTopic: TcpTopic;
58213
59546
  /** Generates a citation-grounded AI response: fetches the requested story's citations, or collection's archive items + oral histories, or oral history's transcript — always filtered to content the caller can read (PUBLIC/COMMUNITY access level only) — builds a prompt instructing the model to answer ONLY from those sources, and persists the run (`groundingRefs`, `content`, `uncertainty`) as `PENDING` review. Gated by the `theculturepost.ai-context` feature flag (defaults to enabled). */
58214
59547
  tcpGenerateAiContext: TcpAgentRun;
59548
+ /** Link a citation to a claim on the same story, or unlink it (claimId: null). */
59549
+ tcpLinkCitationToClaim: TcpCitation;
58215
59550
  tcpLockDiscussion: TcpDiscussion;
58216
59551
  /** Moderate a reply (approve / flag / remove) — respectful-by-design controls. */
58217
- tcpModerateReply: TcpReply;
59552
+ tcpModerateReply: EntityComment;
58218
59553
  tcpOpenDiscussion: TcpDiscussion;
58219
- tcpPostReply: TcpReply;
59554
+ /** Post a reply to an open discussion. The reply is stored as an EntityComment in wspace-conversations-svc, authored by the caller, and starts PENDING. */
59555
+ tcpPostReply: EntityComment;
58220
59556
  tcpRecordOralHistory: TcpOralHistory;
59557
+ /** Remove a claim from the evidence trail. Its citations stay on the story as general sources (unlinked, never deleted) and the trail is renumbered. */
59558
+ tcpRemoveStoryClaim: Scalars['Boolean']['output'];
58221
59559
  /** Editor human-in-the-loop review of a generated AI context run — approves or rejects it and records who/when/why. Only a `PENDING` run can be reviewed; reviewing an already-reviewed run is rejected (no silent overwrite of a prior editorial decision). */
58222
59560
  tcpReviewAiContext: TcpAgentRun;
58223
59561
  /** Toggle whether the calling actor has the given story on their personal reading list. Returns the new bookmarked state. Self-scoped: the story id is a target to act on, but the row created/removed is always owned by the caller (`ctx.actorId`) — never another actor's. */
@@ -58227,6 +59565,8 @@ export type Mutation = {
58227
59565
  tcpUpdateArchiveItem: TcpArchiveItem;
58228
59566
  tcpUpdateOralHistory: TcpOralHistory;
58229
59567
  tcpUpdateStory: TcpStory;
59568
+ /** Edit a claim's text/anchor or move it within the evidence trail. */
59569
+ tcpUpdateStoryClaim: TcpStoryClaim;
58230
59570
  tcpUpdateTopic: TcpTopic;
58231
59571
  tcpVerifyCitation: TcpCitation;
58232
59572
  /** Soft-deletes (withdraws) a recorded oral history via the existing `deletedAt` column — the only API path for a narrator's consent-withdrawal request once testimony has been recorded. */
@@ -58406,6 +59746,11 @@ export type Mutation = {
58406
59746
  trackShareDownload: Scalars['Boolean']['output'];
58407
59747
  /** Track usage consumption Called by gateway after successful operations */
58408
59748
  trackUsage: Scalars['Boolean']['output'];
59749
+ /**
59750
+ * Hand a connection to another person, for example when its owner leaves. Workspace
59751
+ * administrators only.
59752
+ */
59753
+ transferConnectionOwnership: IntegrationConnection;
58409
59754
  transferGroupOwnership: Group;
58410
59755
  transferInventoryStock: MtwInventoryTransferResult;
58411
59756
  /** Transfer control to another collaborator */
@@ -58597,6 +59942,8 @@ export type Mutation = {
58597
59942
  updateCrewOnboardingTask: CrewOnboardingTask;
58598
59943
  updateCrewPayrollRecord: CrewPayrollRecord;
58599
59944
  updateCrewProject: CrewProject;
59945
+ /** Rename, recategorise or re-alias a skill. Editing a BACKFILL skill marks it reviewed (CUSTOM). */
59946
+ updateCrewSkill: CrewSkill;
58600
59947
  updateCrewTeam: CrewTeam;
58601
59948
  updateCrewTimeEntry: CrewTimeEntry;
58602
59949
  updateCrewTrainingCourse: CrewTrainingCourse;
@@ -59356,6 +60703,11 @@ export type MutationAcknowledgeHealthyBowlStressedZoneArgs = {
59356
60703
  id: Scalars['ID']['input'];
59357
60704
  };
59358
60705
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
60706
+ export type MutationAcknowledgeMtwTrackingAlertArgs = {
60707
+ alertType: MtwTrackingAlertType;
60708
+ shipmentId: Scalars['ID']['input'];
60709
+ };
60710
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
59359
60711
  export type MutationAcquireFileLockArgs = {
59360
60712
  input: AcquireLockInput;
59361
60713
  };
@@ -60698,6 +62050,11 @@ export type MutationBuiRecordMyLessonProgressArgs = {
60698
62050
  input: BuiRecordLessonProgressInput;
60699
62051
  };
60700
62052
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62053
+ export type MutationBuiRecordProctoringSignalsArgs = {
62054
+ id: Scalars['ID']['input'];
62055
+ signals: Array<BuiProctoringSignalInput>;
62056
+ };
62057
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
60701
62058
  export type MutationBuiRegisterLtiPlatformArgs = {
60702
62059
  input: BuiRegisterLtiPlatformInput;
60703
62060
  };
@@ -60784,6 +62141,18 @@ export type MutationBuiSuggestNextLessonArgs = {
60784
62141
  enrollmentId: Scalars['ID']['input'];
60785
62142
  };
60786
62143
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62144
+ export type MutationBuiSyncExternalCertificateArgs = {
62145
+ input: BuiSyncExternalCertificateInput;
62146
+ };
62147
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62148
+ export type MutationBuiSyncExternalCourseArgs = {
62149
+ input: BuiSyncExternalCourseInput;
62150
+ };
62151
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62152
+ export type MutationBuiSyncExternalEnrollmentArgs = {
62153
+ input: BuiSyncExternalEnrollmentInput;
62154
+ };
62155
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
60787
62156
  export type MutationBuiSyncLtiGradeArgs = {
60788
62157
  resourceLinkId: Scalars['ID']['input'];
60789
62158
  submissionId: Scalars['ID']['input'];
@@ -61392,11 +62761,21 @@ export type MutationColUntagStoryArgs = {
61392
62761
  input: ColUntagStoryInput;
61393
62762
  };
61394
62763
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62764
+ export type MutationColUpdateEventArgs = {
62765
+ id: Scalars['ID']['input'];
62766
+ input: ColUpdateEventInput;
62767
+ };
62768
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
61395
62769
  export type MutationColUpdateFamilyTreeArgs = {
61396
62770
  id: Scalars['ID']['input'];
61397
62771
  input: ColUpdateFamilyTreeInput;
61398
62772
  };
61399
62773
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62774
+ export type MutationColUpdateMembershipArgs = {
62775
+ id: Scalars['ID']['input'];
62776
+ input: ColUpdateMembershipInput;
62777
+ };
62778
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
61400
62779
  export type MutationColUpdateMemoryArgs = {
61401
62780
  id: Scalars['ID']['input'];
61402
62781
  input: ColUpdateMemoryInput;
@@ -61407,6 +62786,16 @@ export type MutationColUpdatePersonArgs = {
61407
62786
  input: ColUpdatePersonInput;
61408
62787
  };
61409
62788
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62789
+ export type MutationColUpdateRelationshipArgs = {
62790
+ id: Scalars['ID']['input'];
62791
+ input: ColUpdateRelationshipInput;
62792
+ };
62793
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62794
+ export type MutationColUpdateStoryArgs = {
62795
+ id: Scalars['ID']['input'];
62796
+ input: ColUpdateStoryInput;
62797
+ };
62798
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
61410
62799
  export type MutationCollectHealthyBowlCsaPickupBoxArgs = {
61411
62800
  input: CollectHealthyBowlCsaPickupBoxInput;
61412
62801
  };
@@ -61921,6 +63310,11 @@ export type MutationCooCreateWardrobeItemArgs = {
61921
63310
  input: CooCreateWardrobeItemInput;
61922
63311
  };
61923
63312
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
63313
+ export type MutationCooCurateCollectionArgs = {
63314
+ brandId: Scalars['ID']['input'];
63315
+ season: CooSeason;
63316
+ };
63317
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
61924
63318
  export type MutationCooDeclineReturnRequestArgs = {
61925
63319
  input: CooDeclineReturnRequestInput;
61926
63320
  };
@@ -62015,6 +63409,15 @@ export type MutationCooSetStyleItemInventoryArgs = {
62015
63409
  input: CooSetStyleItemInventoryInput;
62016
63410
  };
62017
63411
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
63412
+ export type MutationCooSuggestCollaborationMatchArgs = {
63413
+ brandId: Scalars['ID']['input'];
63414
+ limit?: InputMaybe<Scalars['Int']['input']>;
63415
+ };
63416
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
63417
+ export type MutationCooSuggestOutfitArgs = {
63418
+ input: CooSuggestOutfitInput;
63419
+ };
63420
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62018
63421
  export type MutationCooSyncCollaborationPaymentArgs = {
62019
63422
  id: Scalars['ID']['input'];
62020
63423
  };
@@ -62129,6 +63532,19 @@ export type MutationCosAddSchemaFieldArgs = {
62129
63532
  input: CosAddSchemaFieldInput;
62130
63533
  };
62131
63534
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
63535
+ export type MutationCosAiDraftReleaseArgs = {
63536
+ notebookId: Scalars['ID']['input'];
63537
+ };
63538
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
63539
+ export type MutationCosAiProposeSchemaFieldsArgs = {
63540
+ datasetId: Scalars['ID']['input'];
63541
+ sample?: InputMaybe<CosSchemaSampleInput>;
63542
+ };
63543
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
63544
+ export type MutationCosAiTriageRunArgs = {
63545
+ runId: Scalars['ID']['input'];
63546
+ };
63547
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62132
63548
  export type MutationCosArchiveCollectionArgs = {
62133
63549
  id: Scalars['ID']['input'];
62134
63550
  };
@@ -62156,6 +63572,12 @@ export type MutationCosCompleteAnalysisArgs = {
62156
63572
  status: CosAnalysisStatus;
62157
63573
  };
62158
63574
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
63575
+ export type MutationCosCompleteRunStepArgs = {
63576
+ input: CosCompleteRunStepInput;
63577
+ runId: Scalars['ID']['input'];
63578
+ stepId: Scalars['ID']['input'];
63579
+ };
63580
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62159
63581
  export type MutationCosCreateCollectionArgs = {
62160
63582
  input: CosCreateCollectionInput;
62161
63583
  };
@@ -62207,6 +63629,11 @@ export type MutationCosPublishReleaseArgs = {
62207
63629
  id: Scalars['ID']['input'];
62208
63630
  };
62209
63631
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
63632
+ export type MutationCosRecordRunTelemetryArgs = {
63633
+ input: CosRunTelemetryInput;
63634
+ runId: Scalars['ID']['input'];
63635
+ };
63636
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62210
63637
  export type MutationCosRevokeAccessArgs = {
62211
63638
  id: Scalars['ID']['input'];
62212
63639
  };
@@ -65778,6 +67205,11 @@ export type MutationEscalateIncidentArgs = {
65778
67205
  id: Scalars['ID']['input'];
65779
67206
  };
65780
67207
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
67208
+ export type MutationEventfullyManagedApplyAgendaFixArgs = {
67209
+ eventId: Scalars['ID']['input'];
67210
+ input: EventfullyManagedApplyAgendaFixInput;
67211
+ };
67212
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
65781
67213
  export type MutationEventfullyManagedCreateAttendeeArgs = {
65782
67214
  input: EventfullyManagedAttendeeInput;
65783
67215
  };
@@ -65946,6 +67378,11 @@ export type MutationEventfullyManagedEraseSpeakerPersonalDataArgs = {
65946
67378
  id: Scalars['ID']['input'];
65947
67379
  };
65948
67380
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
67381
+ export type MutationEventfullyManagedForecastAttendanceArgs = {
67382
+ eventId: Scalars['ID']['input'];
67383
+ input?: InputMaybe<EventfullyManagedForecastInput>;
67384
+ };
67385
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
65949
67386
  export type MutationEventfullyManagedGenerateBadgeArgs = {
65950
67387
  registrationId: Scalars['ID']['input'];
65951
67388
  templateId?: InputMaybe<Scalars['ID']['input']>;
@@ -65970,6 +67407,11 @@ export type MutationEventfullyManagedLeaveVirtualSessionArgs = {
65970
67407
  sessionId: Scalars['ID']['input'];
65971
67408
  };
65972
67409
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
67410
+ export type MutationEventfullyManagedPredictNoShowsArgs = {
67411
+ eventId: Scalars['ID']['input'];
67412
+ input?: InputMaybe<EventfullyManagedForecastInput>;
67413
+ };
67414
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
65973
67415
  export type MutationEventfullyManagedPromoteVirtualPresenterArgs = {
65974
67416
  actorId: Scalars['ID']['input'];
65975
67417
  sessionId: Scalars['ID']['input'];
@@ -65979,6 +67421,16 @@ export type MutationEventfullyManagedPublishAnnouncementArgs = {
65979
67421
  id: Scalars['ID']['input'];
65980
67422
  };
65981
67423
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
67424
+ export type MutationEventfullyManagedResolveAgendaConflictsArgs = {
67425
+ eventId: Scalars['ID']['input'];
67426
+ input?: InputMaybe<EventfullyManagedForecastInput>;
67427
+ };
67428
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
67429
+ export type MutationEventfullyManagedRightSizeSessionsArgs = {
67430
+ eventId: Scalars['ID']['input'];
67431
+ input?: InputMaybe<EventfullyManagedForecastInput>;
67432
+ };
67433
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
65982
67434
  export type MutationEventfullyManagedScanCheckInArgs = {
65983
67435
  input: EventfullyManagedScanCheckInInput;
65984
67436
  };
@@ -68621,6 +70073,11 @@ export type MutationMatchHealthyBowlStatementLineArgs = {
68621
70073
  input: MatchHealthyBowlStatementLineInput;
68622
70074
  };
68623
70075
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
70076
+ export type MutationMergeCrewSkillsArgs = {
70077
+ sourceId: Scalars['ID']['input'];
70078
+ targetId: Scalars['ID']['input'];
70079
+ };
70080
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
68624
70081
  export type MutationMergeTagArgs = {
68625
70082
  sourceId: Scalars['ID']['input'];
68626
70083
  targetId: Scalars['ID']['input'];
@@ -71263,6 +72720,11 @@ export type MutationRemoveCrewJobPostingArgs = {
71263
72720
  id: Scalars['ID']['input'];
71264
72721
  };
71265
72722
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
72723
+ export type MutationRemoveCrewJobPostingSkillArgs = {
72724
+ jobPostingId: Scalars['ID']['input'];
72725
+ skillId: Scalars['ID']['input'];
72726
+ };
72727
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
71266
72728
  export type MutationRemoveCrewLeaveRequestArgs = {
71267
72729
  id: Scalars['ID']['input'];
71268
72730
  };
@@ -71291,6 +72753,10 @@ export type MutationRemoveCrewSkillArgs = {
71291
72753
  id: Scalars['ID']['input'];
71292
72754
  };
71293
72755
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
72756
+ export type MutationRemoveCrewSkillRelationArgs = {
72757
+ id: Scalars['ID']['input'];
72758
+ };
72759
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
71294
72760
  export type MutationRemoveCrewTeamArgs = {
71295
72761
  id: Scalars['ID']['input'];
71296
72762
  };
@@ -72380,6 +73846,10 @@ export type MutationRunSecurityScanArgs = {
72380
73846
  vibeId: Scalars['ID']['input'];
72381
73847
  };
72382
73848
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73849
+ export type MutationRunTimeCampusTimeIntelligenceSweepArgs = {
73850
+ input?: InputMaybe<TimeCampusTimeIntelligenceSweepInput>;
73851
+ };
73852
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
72383
73853
  export type MutationSaveAssistantTurnArgs = {
72384
73854
  input: SaveAssistantTurnInput;
72385
73855
  };
@@ -72674,6 +74144,10 @@ export type MutationSetConfigurationArgs = {
72674
74144
  value: Scalars['JSON']['input'];
72675
74145
  };
72676
74146
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74147
+ export type MutationSetCrewJobPostingSkillArgs = {
74148
+ input: SetCrewJobPostingSkillInput;
74149
+ };
74150
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
72677
74151
  export type MutationSetDashboardRlsPolicyArgs = {
72678
74152
  dashboardId: Scalars['ID']['input'];
72679
74153
  rlsPolicyId?: InputMaybe<Scalars['ID']['input']>;
@@ -72916,6 +74390,10 @@ export type MutationShareComponentArgs = {
72916
74390
  input: ShareEntityInput;
72917
74391
  };
72918
74392
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74393
+ export type MutationShareConnectionArgs = {
74394
+ input: ShareConnectionInput;
74395
+ };
74396
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
72919
74397
  export type MutationShareDashboardArgs = {
72920
74398
  input: BigConsoleShareDashboardInput;
72921
74399
  };
@@ -73167,6 +74645,10 @@ export type MutationSubAdminPurgeWorkspaceArgs = {
73167
74645
  workspaceId: Scalars['ID']['input'];
73168
74646
  };
73169
74647
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74648
+ export type MutationSubApplyDecisionArgs = {
74649
+ id: Scalars['ID']['input'];
74650
+ };
74651
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73170
74652
  export type MutationSubApproveAdapterArgs = {
73171
74653
  id: Scalars['ID']['input'];
73172
74654
  notes?: InputMaybe<Scalars['String']['input']>;
@@ -73180,6 +74662,10 @@ export type MutationSubCancelRelationshipArgs = {
73180
74662
  id: Scalars['ID']['input'];
73181
74663
  };
73182
74664
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74665
+ export type MutationSubConsolidateRelationshipsArgs = {
74666
+ input: SubConsolidateRelationshipsInput;
74667
+ };
74668
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73183
74669
  export type MutationSubCreateAgentArgs = {
73184
74670
  input: SubCreateAgentInput;
73185
74671
  };
@@ -73232,6 +74718,16 @@ export type MutationSubDisconnectChannelArgs = {
73232
74718
  id: Scalars['ID']['input'];
73233
74719
  };
73234
74720
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74721
+ export type MutationSubDismissBundleArgs = {
74722
+ id: Scalars['ID']['input'];
74723
+ reason?: InputMaybe<Scalars['String']['input']>;
74724
+ };
74725
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74726
+ export type MutationSubDismissDecisionArgs = {
74727
+ id: Scalars['ID']['input'];
74728
+ reason?: InputMaybe<Scalars['String']['input']>;
74729
+ };
74730
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73235
74731
  export type MutationSubIngestMessageArgs = {
73236
74732
  input: SubIngestMessageInput;
73237
74733
  };
@@ -73259,11 +74755,24 @@ export type MutationSubRemovePaymentInstrumentArgs = {
73259
74755
  id: Scalars['ID']['input'];
73260
74756
  };
73261
74757
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74758
+ export type MutationSubRunAgentArgs = {
74759
+ dryRun?: InputMaybe<Scalars['Boolean']['input']>;
74760
+ id: Scalars['ID']['input'];
74761
+ };
74762
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74763
+ export type MutationSubRunScheduledAgentSweepArgs = {
74764
+ input?: InputMaybe<SubRunAgentSweepInput>;
74765
+ };
74766
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73262
74767
  export type MutationSubSetAgentStatusArgs = {
73263
74768
  id: Scalars['ID']['input'];
73264
74769
  status: SubAgentStatus;
73265
74770
  };
73266
74771
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74772
+ export type MutationSubSetSpendBudgetArgs = {
74773
+ input: SubSetSpendBudgetInput;
74774
+ };
74775
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73267
74776
  export type MutationSubTransitionRelationshipArgs = {
73268
74777
  id: Scalars['ID']['input'];
73269
74778
  status: SubRelationshipStatus;
@@ -73362,6 +74871,10 @@ export type MutationSyncHealthyBowlWeatherHistoryArgs = {
73362
74871
  context: ContextInput;
73363
74872
  };
73364
74873
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74874
+ export type MutationSyncTimeCampusCaptureChannelArgs = {
74875
+ id: Scalars['ID']['input'];
74876
+ };
74877
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73365
74878
  export type MutationTagAnalyticsDashboardArgs = {
73366
74879
  input: TagAnalyticsDashboardInput;
73367
74880
  };
@@ -73450,6 +74963,10 @@ export type MutationTcpAddCitationArgs = {
73450
74963
  input: TcpCreateCitationInput;
73451
74964
  };
73452
74965
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74966
+ export type MutationTcpAddStoryClaimArgs = {
74967
+ input: TcpCreateStoryClaimInput;
74968
+ };
74969
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73453
74970
  export type MutationTcpArchiveArchiveItemArgs = {
73454
74971
  id: Scalars['ID']['input'];
73455
74972
  };
@@ -73478,6 +74995,11 @@ export type MutationTcpGenerateAiContextArgs = {
73478
74995
  input: TcpGenerateAiContextInput;
73479
74996
  };
73480
74997
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74998
+ export type MutationTcpLinkCitationToClaimArgs = {
74999
+ citationId: Scalars['ID']['input'];
75000
+ claimId?: InputMaybe<Scalars['ID']['input']>;
75001
+ };
75002
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73481
75003
  export type MutationTcpLockDiscussionArgs = {
73482
75004
  id: Scalars['ID']['input'];
73483
75005
  };
@@ -73499,6 +75021,10 @@ export type MutationTcpRecordOralHistoryArgs = {
73499
75021
  input: TcpCreateOralHistoryInput;
73500
75022
  };
73501
75023
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
75024
+ export type MutationTcpRemoveStoryClaimArgs = {
75025
+ id: Scalars['ID']['input'];
75026
+ };
75027
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73502
75028
  export type MutationTcpReviewAiContextArgs = {
73503
75029
  approved: Scalars['Boolean']['input'];
73504
75030
  id: Scalars['ID']['input'];
@@ -73529,6 +75055,11 @@ export type MutationTcpUpdateStoryArgs = {
73529
75055
  input: TcpUpdateStoryInput;
73530
75056
  };
73531
75057
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
75058
+ export type MutationTcpUpdateStoryClaimArgs = {
75059
+ id: Scalars['ID']['input'];
75060
+ input: TcpUpdateStoryClaimInput;
75061
+ };
75062
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73532
75063
  export type MutationTcpUpdateTopicArgs = {
73533
75064
  id: Scalars['ID']['input'];
73534
75065
  input: TcpUpdateTopicInput;
@@ -74003,6 +75534,11 @@ export type MutationTrackUsageArgs = {
74003
75534
  input: TrackUsageInput;
74004
75535
  };
74005
75536
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
75537
+ export type MutationTransferConnectionOwnershipArgs = {
75538
+ connectionId: Scalars['ID']['input'];
75539
+ ownerId: Scalars['ID']['input'];
75540
+ };
75541
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74006
75542
  export type MutationTransferGroupOwnershipArgs = {
74007
75543
  groupId: Scalars['ID']['input'];
74008
75544
  newOwnerId: Scalars['ID']['input'];
@@ -74619,6 +76155,11 @@ export type MutationUpdateCrewProjectArgs = {
74619
76155
  input: UpdateCrewProjectInput;
74620
76156
  };
74621
76157
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
76158
+ export type MutationUpdateCrewSkillArgs = {
76159
+ id: Scalars['ID']['input'];
76160
+ input: UpdateCrewSkillInput;
76161
+ };
76162
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74622
76163
  export type MutationUpdateCrewTeamArgs = {
74623
76164
  id: Scalars['ID']['input'];
74624
76165
  input: UpdateCrewTeamInput;
@@ -87469,7 +89010,11 @@ export type Query = {
87469
89010
  _planmagnetService?: Maybe<Scalars['String']['output']>;
87470
89011
  _planmagnetVersion?: Maybe<Scalars['String']['output']>;
87471
89012
  _serviceHealth: Scalars['String']['output'];
87472
- /** Who a person is reached through when a service shares its own resources with chosen people, groups or projects (service-only): the groups and projects they belong to in the calling service's workspace, and whether they administer the resource type there */
89013
+ /**
89014
+ * Who a person is reached through when a service shares its own resources with chosen people,
89015
+ * groups or projects (service-only): the groups and projects they belong to in the calling
89016
+ * service's workspace, and whether they administer the resource type there
89017
+ */
87473
89018
  accessPrincipals: AccessPrincipals;
87474
89019
  /** Anonymously reveal the credential(s) behind a signed share link. */
87475
89020
  accessSharedSecret: SharedSecretView;
@@ -87841,7 +89386,13 @@ export type Query = {
87841
89386
  buiMyTutorSession?: Maybe<BuiTutorSession>;
87842
89387
  /** 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). */
87843
89388
  buiMyTutorSessions: BuiTutorSessionConnection;
89389
+ /** The workspace's getting-started checklist. */
89390
+ buiOnboardingStatus: BuiOnboardingStatus;
87844
89391
  buiPendingCourseKnowledgeChange?: Maybe<BuiCourseKnowledgeChange>;
89392
+ /** 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. */
89393
+ buiProctoringIdentityFile?: Maybe<BuiProctoringIdentityFile>;
89394
+ /** 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`. */
89395
+ buiProctoringSessionSignals: BuiProctoringSignalConnection;
87845
89396
  buiSubmission?: Maybe<BuiSubmission>;
87846
89397
  buiSuggestCertifications: Array<BuiCertificationSuggestion>;
87847
89398
  buiSuggestSkillMappings: Array<BuiSkillMappingSuggestion>;
@@ -87876,7 +89427,10 @@ export type Query = {
87876
89427
  checkPermission: PermissionCheckResult;
87877
89428
  /** Check multiple permissions at once (max 50) */
87878
89429
  checkPermissions: Array<PermissionCheckResult>;
87879
- /** Whether a requester may grant roles workspace-wide — the checks setActorRoles applies to added roles, with no target actor and no write (service-only) */
89430
+ /**
89431
+ * Whether a requester may grant roles workspace-wide — the checks setActorRoles applies to added
89432
+ * roles, with no target actor and no write (service-only)
89433
+ */
87880
89434
  checkRoleGrant: RoleGrantCheckResult;
87881
89435
  /** Check if an actor can see a resource */
87882
89436
  checkVisibility: VisibilityCheckResult;
@@ -88018,6 +89572,13 @@ export type Query = {
88018
89572
  * gateway (BOFF-3698). Service actors only; returns metadata, never a token.
88019
89573
  */
88020
89574
  connectionsExpiringSoon: Array<ExpiringConnection>;
89575
+ /**
89576
+ * Of connectionIds (at most 200), the live connections in the caller's workspace that principalId
89577
+ * cannot use: RESTRICTED and not shared with them. Unknown and deleted ids are not listed; they fail
89578
+ * when a run asks for them. Service-only; wspace-workflow-svc checks a workflow's connections against
89579
+ * its owner before saving it (BOFF-9726).
89580
+ */
89581
+ connectionsNotUsableBy: Array<Scalars['ID']['output']>;
88021
89582
  conversation?: Maybe<Conversation>;
88022
89583
  conversationCapabilities: ConversationFeatures;
88023
89584
  conversations: ConversationConnection;
@@ -88099,6 +89660,8 @@ export type Query = {
88099
89660
  cosNotebook?: Maybe<CosNotebook>;
88100
89661
  cosPipeline?: Maybe<CosPipeline>;
88101
89662
  cosRun?: Maybe<CosPipelineRun>;
89663
+ /** Natural-language search across the catalog: datasets (name, description, coverage, instrument metadata), schema fields (name, unit, provenance note), sources, collections, analyses, releases and notebooks. Returns ranked hits with the evidence that matched and, for datasets, the lineage that produced them. Embargoed / restricted datasets never appear without an active grant. */
89664
+ cosSemanticSearch: CosSearchResults;
88102
89665
  cosSource?: Maybe<CosSource>;
88103
89666
  courseAssistantCandidates: Array<CourseAssistantCandidate>;
88104
89667
  courseAssistantConfiguration: CourseAssistantConfiguration;
@@ -88149,6 +89712,8 @@ export type Query = {
88149
89712
  crewServiceListing?: Maybe<CrewServiceListing>;
88150
89713
  crewServiceListings: Array<CrewServiceListing>;
88151
89714
  crewSkill?: Maybe<CrewSkill>;
89715
+ /** Category keys accepted by createCrewSkill / updateCrewSkill. */
89716
+ crewSkillCategories: Array<Scalars['String']['output']>;
88152
89717
  /** Implied, implied-by and related skills around a skill, up to `depth` hops (max 4). */
88153
89718
  crewSkillGraph?: Maybe<CrewSkillGraph>;
88154
89719
  /** Workspace skills taxonomy. Seeds the starter taxonomy on first use. */
@@ -88248,7 +89813,7 @@ export type Query = {
88248
89813
  ecoAiCreditUsage: EcoAiCreditUsage;
88249
89814
  /** Detect anomalies (spikes, drops, stuck-sensor flatlines) in one parameter's readings at a site over a period. Every anomaly cites the measurement ids behind it; fewer than 12 readings returns INSUFFICIENT_DATA. */
88250
89815
  ecoAiDetectAnomalies: EcoAnomalyDetectionResult;
88251
- /** Total CO2e (kg) recorded in the workspace, optionally narrowed by scope. */
89816
+ /** Total CO2e (kg) recorded in the workspace, optionally narrowed by scope or site. Unaccepted AI drafts (status DRAFT) are excluded until a reviewer accepts them. */
88252
89817
  ecoCarbonTotalKg: Scalars['Float']['output'];
88253
89818
  ecoDataSource?: Maybe<EcoDataSource>;
88254
89819
  ecoHabitatProject?: Maybe<EcoHabitatProject>;
@@ -88318,6 +89883,8 @@ export type Query = {
88318
89883
  eventRegistrations: Array<EventRegistration>;
88319
89884
  eventSchema?: Maybe<EventSchema>;
88320
89885
  eventSchemas: Array<EventSchema>;
89886
+ /** The most recent persisted decision of one kind for an event, or null when none has been generated. */
89887
+ eventfullyManagedAiDecision?: Maybe<EventfullyManagedAiDecisionRecord>;
88321
89888
  eventfullyManagedAnalyticsSnapshots: EventfullyManagedSimpleEntityList;
88322
89889
  eventfullyManagedAnnouncements: EventfullyManagedSimpleEntityList;
88323
89890
  eventfullyManagedAttendees: EventfullyManagedAttendeeList;
@@ -88347,6 +89914,8 @@ export type Query = {
88347
89914
  eventfullyManagedNetworkingMatches: EventfullyManagedNetworkingMatchList;
88348
89915
  eventfullyManagedNetworkingProfiles: EventfullyManagedNetworkingProfileList;
88349
89916
  eventfullyManagedPromoCodes: EventfullyManagedPromoCodeList;
89917
+ /** BOFF-3764 — personalized session recommendations for one attendee at an event. Deterministic and explainable (see SessionRecommendationService): ranks upcoming sessions by overlap between the attendee's networking-profile interests/asks/industry and each session's track, title, description and speakers, boosted by tracks the attendee has checked into before. Read-only. */
89918
+ eventfullyManagedRecommendSessions: EventfullyManagedSessionRecommendationList;
88350
89919
  eventfullyManagedRegistrations: EventfullyManagedRegistrationList;
88351
89920
  eventfullyManagedSessionConflicts: Array<EventfullyManagedSessionConflict>;
88352
89921
  eventfullyManagedSpeakers: EventfullyManagedSpeakerList;
@@ -89518,6 +91087,8 @@ export type Query = {
89518
91087
  healthyBowlSuppliers: Array<Supplier>;
89519
91088
  /** List watering runs for the workspace. Pass scheduleId or fieldId to filter. */
89520
91089
  healthyBowlWateringRuns: Array<WateringRun>;
91090
+ /** Workspace activation dashboard: real counts for each HookMovies activation event. */
91091
+ hokActivationFunnel: HokActivationFunnel;
89521
91092
  /** Schedule blocks for a channel overlapping the [from, to] window (defaults to an open-ended window when omitted), ordered by start time. */
89522
91093
  hokChannelSchedule: HokScheduleBlockConnection;
89523
91094
  /** Check whether the calling user can watch a title now (self-scoped). When `viewerTerritory` is supplied (ISO 3166-1 alpha-2, e.g. "IN", "US"), the check additionally enforces territory restrictions: the entitlement's territory (if set) must match, and at least one active rights window for the title must cover the viewer's territory (empty territories = worldwide). */
@@ -89578,6 +91149,8 @@ export type Query = {
89578
91149
  hokMyWatchProgress: HokWatchProgressConnection;
89579
91150
  /** The block currently airing on a channel (startAt <= now < endAt), or null. */
89580
91151
  hokNowPlaying?: Maybe<HokScheduleBlock>;
91152
+ /** Getting-started checklist progress for the calling user in this workspace. */
91153
+ hokOnboardingStatus: HokOnboardingStatus;
89581
91154
  hokProduction?: Maybe<HokProduction>;
89582
91155
  /** Two-sided reputation for a talent (PERSON) or a studio (STUDIO). */
89583
91156
  hokReputation: HokReputation;
@@ -90073,7 +91646,10 @@ export type Query = {
90073
91646
  myPendingInvitations: Array<Invitation>;
90074
91647
  /** Invitee-side: list pending invites whose `inviteeEmail` matches the caller's email (resolved from the tenant backend). `scopeType: "self"` because access is the user's own email — membership in any workspace is irrelevant. */
90075
91648
  myPendingInvites: Array<WorkspaceInvite>;
90076
- /** Get current user's permissions in a workspace (self-service). Returns full permission details including roles, permission strings, and cache TTL. */
91649
+ /**
91650
+ * Get current user's permissions in a workspace (self-service).
91651
+ * Returns full permission details including roles, permission strings, and cache TTL.
91652
+ */
90077
91653
  myPermissions: EffectivePermissions;
90078
91654
  myPersonalDataSummary: TimeCampusPersonalDataSummary;
90079
91655
  /** Get projects for the current authenticated user Self-list (Type C): resolver filters by ctx.userId, so the returned set IS the access list. Any authenticated user may call this; no RBAC permission is checked. (BOFF-2655) */
@@ -90082,7 +91658,10 @@ export type Query = {
90082
91658
  myRecommendations: Array<TimeCampusRecommendation>;
90083
91659
  /** Get resources created by the current authenticated user. Self-scoped: the resolver filters by ctx.actorId (createdBy). */
90084
91660
  myResources: WorkspaceResourceList;
90085
- /** Get current user's roles in a workspace (lightweight, self-service). Use this for quick role checks without fetching full permissions. */
91661
+ /**
91662
+ * Get current user's roles in a workspace (lightweight, self-service).
91663
+ * Use this for quick role checks without fetching full permissions.
91664
+ */
90086
91665
  myRoles: MyRolesResult;
90087
91666
  /** Usage the assistant LLM proxy recorded for the caller's OWN Ask or Take-action sandbox. Another user's sandbox, or one that is not an assistant sandbox, is NOT_FOUND. */
90088
91667
  mySandboxLlmUsage: SandboxLlmUsage;
@@ -90094,10 +91673,14 @@ export type Query = {
90094
91673
  /** Credentials shared with the calling actor (across all workspaces). */
90095
91674
  mySharedCredentials: SecretShareList;
90096
91675
  mySourceConsents: Array<TimeCampusSourceConsent>;
91676
+ /** The calling actor's own sustained-load signal over the last `weeks` full weeks (default 4, clamped to 2..12). Self-scoped: takes no user argument and only ever reads the caller's rows. */
91677
+ mySustainedLoad: TimeCampusSustainedLoadSignal;
90097
91678
  /** One of the calling user's capture channels. */
90098
91679
  myTimeCampusCaptureChannel: TimeCampusCaptureChannel;
90099
91680
  /** The calling user's capture channels, newest first. Disconnected channels are included unless excluded. */
90100
91681
  myTimeCampusCaptureChannels: Array<TimeCampusCaptureChannel>;
91682
+ /** The caller's own recent day summaries and weekly digests, newest first. */
91683
+ myTimeIntelligenceDeliveries: Array<TimeCampusTimeIntelligenceDelivery>;
90101
91684
  myTimeWellSpent: TimeCampusTimeWellSpent;
90102
91685
  myVibeLlmContextPreview: VibeLlmContextPreview;
90103
91686
  myVibeLlmContextSettings: VibeLlmContextSettings;
@@ -90668,11 +92251,24 @@ export type Query = {
90668
92251
  resourceTree: Array<Resource>;
90669
92252
  /** Get root resources for a tree view with bounded offset metadata. */
90670
92253
  resourceTreePage: ResourcePage;
90671
- /** Get all resource types. Optionally filter by product (PlatformProduct.slug): returns resource types mapped to that product, plus cross-product types (those with no product mapping) unless includeUnmapped is false. With no product arg, returns every resource type (backward compatible). */
92254
+ /**
92255
+ * Get all resource types. Optionally filter by product (PlatformProduct.slug):
92256
+ * returns resource types mapped to that product, plus cross-product types (those
92257
+ * with no product mapping) unless includeUnmapped is false. With no product arg,
92258
+ * returns every resource type (backward compatible).
92259
+ */
90672
92260
  resourceTypes: Array<Scalars['String']['output']>;
90673
- /** Get all resource types together with the product slugs each is mapped to. Drives the permission-management UI (badges, product assignment). A resource type with an empty products list is cross-product ("All"). */
92261
+ /**
92262
+ * Get all resource types together with the product slugs each is mapped to.
92263
+ * Drives the permission-management UI (badges, product assignment). A resource
92264
+ * type with an empty products list is cross-product ("All").
92265
+ */
90674
92266
  resourceTypesWithProducts: Array<ResourceTypeProductInfo>;
90675
- /** List registered resources in a scope, optionally filtered by type, owner, active state, or a free-text search against `identifier`/`name`. Returns only resources registered via `registerResource`. */
92267
+ /**
92268
+ * List registered resources in a scope, optionally filtered by type, owner,
92269
+ * active state, or a free-text search against `identifier`/`name`.
92270
+ * Returns only resources registered via `registerResource`.
92271
+ */
90676
92272
  resources: Array<Resource>;
90677
92273
  /** Get resources by type across all workspaces (admin only) */
90678
92274
  resourcesByType: WorkspaceResourceList;
@@ -90800,6 +92396,8 @@ export type Query = {
90800
92396
  semListQueryRuns: SemQueryRunConnection;
90801
92397
  semListRelationships: Array<SemRelationship>;
90802
92398
  semModel?: Maybe<SemSemanticModel>;
92399
+ /** Getting-started checklist progress for the calling workspace, derived from the records the workspace actually holds (so it persists across sessions and devices). */
92400
+ semOnboardingProgress: SemOnboardingProgress;
90803
92401
  semQuery?: Maybe<SemQuery>;
90804
92402
  /** A single query run by id (workspace-scoped). Poll this after semRunQuery: runs execute asynchronously and move QUEUED -> PLANNING -> RUNNING -> SUCCEEDED/FAILED. */
90805
92403
  semQueryRun?: Maybe<SemQueryRun>;
@@ -90847,17 +92445,28 @@ export type Query = {
90847
92445
  siemDestinations: Array<SiemDestination>;
90848
92446
  softwareAssets: Array<SoftwareAsset>;
90849
92447
  subAgent?: Maybe<SubAiAgent>;
92448
+ /** The workspace's scheduled-sweep registration, if any. */
92449
+ subAgentSchedule?: Maybe<SubAgentSchedule>;
90850
92450
  /** Benchmark dataset: aggregated min/median/max for one (provider, plan) tuple. Used by the /vs pages and the renewal assistant to surface "what others pay for <X>" in a single network round-trip. */
90851
92451
  subBenchmarkSummary?: Maybe<SubBenchmarkSummary>;
92452
+ subDecision?: Maybe<SubDecision>;
92453
+ /** Duplicate and overlapping relationships in the current workspace, largest annual saving first. Paginate with `pagination.offset`. */
92454
+ subDetectOverlaps: SubOverlapConnection;
92455
+ /** Enterprise SaaS spend dashboard. `currency` defaults to the currency most relationships are billed in; `highCostThreshold` (monthly, default 500) sets when an AI service is flagged as high cost. */
92456
+ subEnterpriseSpendDashboard: SubEnterpriseSpendDashboard;
90852
92457
  /** Liveness/identity probe for the Subscriber Bot subgraph. */
90853
92458
  subHealth: Scalars['String']['output'];
90854
92459
  subListAdapterSubmissions: SubAdapterSubmissionConnection;
92460
+ /** Recent sweeps of the workspace, newest first. */
92461
+ subListAgentSweeps: SubAgentSweepConnection;
90855
92462
  subListAgents: SubAiAgentConnection;
90856
92463
  /** List assets. Pass `relationshipId` to scope to one subscription, or omit it to list every asset in the workspace (the Digital Asset Vault). */
90857
92464
  subListAssets: SubAssetConnection;
90858
92465
  /** Benchmark dataset: list observed price points (Phase 1 BOFF-4156). Public read so the marketing /vs pages can show "what others pay" without a workspace context; filtered to a single (provider, region, currency) combination when those inputs are supplied. */
90859
92466
  subListBenchmarkDataPoints: SubBenchmarkDataPointConnection;
90860
92467
  subListChannels: SubCommunicationChannelConnection;
92468
+ /** The agent decision queue, newest first. */
92469
+ subListDecisions: SubDecisionConnection;
90861
92470
  subListEntitlements: SubEntitlementConnection;
90862
92471
  /** The Universal Inbox — every merged subscription communication. */
90863
92472
  subListInboxMessages: SubInboxMessageConnection;
@@ -90870,9 +92479,12 @@ export type Query = {
90870
92479
  subListProviders: SubProviderConnection;
90871
92480
  subListRelationships: SubRelationshipConnection;
90872
92481
  subListRenewalEvents: SubRenewalEventConnection;
92482
+ subListSpendBudgets: Array<SubSpendBudget>;
90873
92483
  subListWorkflows: SubWorkflowConnection;
90874
92484
  subProvider?: Maybe<SubProvider>;
90875
92485
  subRelationship?: Maybe<SubRelationship>;
92486
+ /** The cost-optimization dashboard: headline yearly savings, open decisions by recommendation and bundle suggestions. */
92487
+ subSavingsOverview: SubSavingsOverview;
90876
92488
  /** Get a single subscribed product by ID */
90877
92489
  subscribedProduct?: Maybe<SubscribedProduct>;
90878
92490
  /** Get all subscribed products for the current workspace. Workspace ID is read from gateway context (x-workspace-id header). */
@@ -90904,12 +92516,15 @@ export type Query = {
90904
92516
  tcpListDiscussions: TcpDiscussionConnection;
90905
92517
  /** Oral histories at PUBLIC/COMMUNITY access level only. RESTRICTED and EMBARGOED testimonies (narrator identity + full transcript) are never returned here — use `tcpListRestrictedOralHistories` for those. */
90906
92518
  tcpListOralHistories: TcpOralHistoryConnection;
92519
+ /** Replies to a discussion, oldest first. Items are EntityComment references; the gateway resolves their content from wspace-conversations-svc. */
90907
92520
  tcpListReplies: TcpReplyConnection;
90908
92521
  /** Elevated-access archive items: RESTRICTED and EMBARGOED only. Requires the separate `theculturepost-archive-item-restricted` permission — holding generic `theculturepost-archive-item:read` is NOT sufficient. */
90909
92522
  tcpListRestrictedArchiveItems: TcpArchiveItemConnection;
90910
92523
  /** Elevated-access oral histories: RESTRICTED and EMBARGOED only — narrator identities and full testimony transcripts of named third parties. Requires the separate `theculturepost-oral-history-restricted` permission — holding generic `theculturepost-oral-history:read` is NOT sufficient. */
90911
92524
  tcpListRestrictedOralHistories: TcpOralHistoryConnection;
90912
92525
  tcpListStories: TcpStoryConnection;
92526
+ /** A story's evidence trail — its numbered claims in display order. Claims are part of the citation/fact-checking surface, so they share the citation permission resource. */
92527
+ tcpListStoryClaims: Array<TcpStoryClaim>;
90913
92528
  tcpListTopics: TcpTopicConnection;
90914
92529
  /** The calling actor's own bookmarked stories (personal reading list). Self-scoped: the resolver filters by the caller's actor id — that filter IS the access control, no other actor's list is ever reachable. */
90915
92530
  tcpMySavedStories: TcpStoryConnection;
@@ -91038,6 +92653,8 @@ export type Query = {
91038
92653
  timeCampusApplets: Array<TimeCampusApplet>;
91039
92654
  timeCampusCaptureEvent?: Maybe<TimeCampusCaptureEvent>;
91040
92655
  timeCampusCaptureEvents: TimeCampusCaptureEventListResponse;
92656
+ /** The OAuth-backed sources a capture channel can pull from. */
92657
+ timeCampusCapturePullProviders: Array<TimeCampusCapturePullProvider>;
91041
92658
  timeCampusDataErasureRequests: Array<TimeCampusDataErasureRequest>;
91042
92659
  timeCampusFeatureFlags: TimeCampusFeatureFlagList;
91043
92660
  /** Adaptive focus-block suggestions for one local day. `dayStart` is the instant of the caller's local midnight for that day (yesterday up to 14 days ahead). Ranked from the caller's own work patterns, meetings and past focus sessions; slots already accepted, snoozed or dismissed are excluded. */
@@ -91085,6 +92702,10 @@ export type Query = {
91085
92702
  timeEntry?: Maybe<TimeEntry>;
91086
92703
  timeEntryCount: Scalars['Int']['output'];
91087
92704
  timeEntryStats: TimeEntryStats;
92705
+ /** The workspace's scheduler registration, if any member has opted in. */
92706
+ timeIntelligenceSchedule?: Maybe<TimeCampusTimeIntelligenceSchedule>;
92707
+ /** Recent sweeps of the workspace, newest first. */
92708
+ timeIntelligenceSweeps: Array<TimeCampusTimeIntelligenceSweep>;
91088
92709
  todayFocusScore?: Maybe<FocusScore>;
91089
92710
  todayWorkPattern?: Maybe<WorkPattern>;
91090
92711
  toolApprovalRequest?: Maybe<ToolApprovalRequest>;
@@ -92587,6 +94208,16 @@ export type QueryBuiMyTutorSessionsArgs = {
92587
94208
  pagination?: InputMaybe<PaginationInput>;
92588
94209
  };
92589
94210
  /** Base Query type with placeholder field. Extended by individual query files. */
94211
+ export type QueryBuiProctoringIdentityFileArgs = {
94212
+ sessionId: Scalars['ID']['input'];
94213
+ };
94214
+ /** Base Query type with placeholder field. Extended by individual query files. */
94215
+ export type QueryBuiProctoringSessionSignalsArgs = {
94216
+ after?: InputMaybe<Scalars['ID']['input']>;
94217
+ limit?: InputMaybe<Scalars['Int']['input']>;
94218
+ sessionId: Scalars['ID']['input'];
94219
+ };
94220
+ /** Base Query type with placeholder field. Extended by individual query files. */
92590
94221
  export type QueryBuiSubmissionArgs = {
92591
94222
  id: Scalars['ID']['input'];
92592
94223
  };
@@ -93113,6 +94744,11 @@ export type QueryConnectionsExpiringSoonArgs = {
93113
94744
  withinDays?: InputMaybe<Scalars['Int']['input']>;
93114
94745
  };
93115
94746
  /** Base Query type with placeholder field. Extended by individual query files. */
94747
+ export type QueryConnectionsNotUsableByArgs = {
94748
+ connectionIds: Array<Scalars['ID']['input']>;
94749
+ principalId: Scalars['ID']['input'];
94750
+ };
94751
+ /** Base Query type with placeholder field. Extended by individual query files. */
93116
94752
  export type QueryConversationArgs = {
93117
94753
  id: Scalars['ID']['input'];
93118
94754
  };
@@ -93376,6 +95012,10 @@ export type QueryCosRunArgs = {
93376
95012
  id: Scalars['ID']['input'];
93377
95013
  };
93378
95014
  /** Base Query type with placeholder field. Extended by individual query files. */
95015
+ export type QueryCosSemanticSearchArgs = {
95016
+ input: CosSemanticSearchInput;
95017
+ };
95018
+ /** Base Query type with placeholder field. Extended by individual query files. */
93379
95019
  export type QueryCosSourceArgs = {
93380
95020
  id: Scalars['ID']['input'];
93381
95021
  };
@@ -94074,6 +95714,11 @@ export type QueryEventSchemasArgs = {
94074
95714
  offset?: InputMaybe<Scalars['Int']['input']>;
94075
95715
  };
94076
95716
  /** Base Query type with placeholder field. Extended by individual query files. */
95717
+ export type QueryEventfullyManagedAiDecisionArgs = {
95718
+ eventId: Scalars['ID']['input'];
95719
+ kind: EventfullyManagedAiDecisionKind;
95720
+ };
95721
+ /** Base Query type with placeholder field. Extended by individual query files. */
94077
95722
  export type QueryEventfullyManagedAnalyticsSnapshotsArgs = {
94078
95723
  eventId?: InputMaybe<Scalars['ID']['input']>;
94079
95724
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -94242,6 +95887,12 @@ export type QueryEventfullyManagedPromoCodesArgs = {
94242
95887
  workspaceId?: InputMaybe<Scalars['ID']['input']>;
94243
95888
  };
94244
95889
  /** Base Query type with placeholder field. Extended by individual query files. */
95890
+ export type QueryEventfullyManagedRecommendSessionsArgs = {
95891
+ attendeeId: Scalars['ID']['input'];
95892
+ eventId: Scalars['ID']['input'];
95893
+ limit?: InputMaybe<Scalars['Int']['input']>;
95894
+ };
95895
+ /** Base Query type with placeholder field. Extended by individual query files. */
94245
95896
  export type QueryEventfullyManagedRegistrationsArgs = {
94246
95897
  eventId?: InputMaybe<Scalars['ID']['input']>;
94247
95898
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -94725,6 +96376,7 @@ export type QueryGetConnectionTagsArgs = {
94725
96376
  /** Base Query type with placeholder field. Extended by individual query files. */
94726
96377
  export type QueryGetConnectionTokenArgs = {
94727
96378
  connectionId: Scalars['ID']['input'];
96379
+ principalId?: InputMaybe<Scalars['ID']['input']>;
94728
96380
  workspaceId: Scalars['ID']['input'];
94729
96381
  };
94730
96382
  /** Base Query type with placeholder field. Extended by individual query files. */
@@ -97822,6 +99474,10 @@ export type QueryHealthyBowlWateringRunsArgs = {
97822
99474
  scheduleId?: InputMaybe<Scalars['ID']['input']>;
97823
99475
  };
97824
99476
  /** Base Query type with placeholder field. Extended by individual query files. */
99477
+ export type QueryHokActivationFunnelArgs = {
99478
+ period?: InputMaybe<Scalars['String']['input']>;
99479
+ };
99480
+ /** Base Query type with placeholder field. Extended by individual query files. */
97825
99481
  export type QueryHokChannelScheduleArgs = {
97826
99482
  channelId: Scalars['ID']['input'];
97827
99483
  from?: InputMaybe<Scalars['DateTime']['input']>;
@@ -99838,6 +101494,10 @@ export type QueryMySourceConsentsArgs = {
99838
101494
  pagination?: InputMaybe<PaginationInput>;
99839
101495
  };
99840
101496
  /** Base Query type with placeholder field. Extended by individual query files. */
101497
+ export type QueryMySustainedLoadArgs = {
101498
+ weeks?: InputMaybe<Scalars['Int']['input']>;
101499
+ };
101500
+ /** Base Query type with placeholder field. Extended by individual query files. */
99841
101501
  export type QueryMyTimeCampusCaptureChannelArgs = {
99842
101502
  id: Scalars['ID']['input'];
99843
101503
  };
@@ -99846,6 +101506,10 @@ export type QueryMyTimeCampusCaptureChannelsArgs = {
99846
101506
  includeDisconnected?: InputMaybe<Scalars['Boolean']['input']>;
99847
101507
  };
99848
101508
  /** Base Query type with placeholder field. Extended by individual query files. */
101509
+ export type QueryMyTimeIntelligenceDeliveriesArgs = {
101510
+ limit?: InputMaybe<Scalars['Int']['input']>;
101511
+ };
101512
+ /** Base Query type with placeholder field. Extended by individual query files. */
99849
101513
  export type QueryMyTimeWellSpentArgs = {
99850
101514
  from: Scalars['DateTime']['input'];
99851
101515
  to: Scalars['DateTime']['input'];
@@ -102112,11 +103776,28 @@ export type QuerySubBenchmarkSummaryArgs = {
102112
103776
  region?: InputMaybe<Scalars['String']['input']>;
102113
103777
  };
102114
103778
  /** Base Query type with placeholder field. Extended by individual query files. */
103779
+ export type QuerySubDecisionArgs = {
103780
+ id: Scalars['ID']['input'];
103781
+ };
103782
+ /** Base Query type with placeholder field. Extended by individual query files. */
103783
+ export type QuerySubDetectOverlapsArgs = {
103784
+ pagination?: InputMaybe<PaginationInput>;
103785
+ };
103786
+ /** Base Query type with placeholder field. Extended by individual query files. */
103787
+ export type QuerySubEnterpriseSpendDashboardArgs = {
103788
+ currency?: InputMaybe<Scalars['String']['input']>;
103789
+ highCostThreshold?: InputMaybe<Scalars['Float']['input']>;
103790
+ };
103791
+ /** Base Query type with placeholder field. Extended by individual query files. */
102115
103792
  export type QuerySubListAdapterSubmissionsArgs = {
102116
103793
  pagination?: InputMaybe<PaginationInput>;
102117
103794
  status?: InputMaybe<SubSubmissionStatus>;
102118
103795
  };
102119
103796
  /** Base Query type with placeholder field. Extended by individual query files. */
103797
+ export type QuerySubListAgentSweepsArgs = {
103798
+ pagination?: InputMaybe<PaginationInput>;
103799
+ };
103800
+ /** Base Query type with placeholder field. Extended by individual query files. */
102120
103801
  export type QuerySubListAgentsArgs = {
102121
103802
  kind?: InputMaybe<SubAgentKind>;
102122
103803
  ownerId?: InputMaybe<Scalars['ID']['input']>;
@@ -102139,6 +103820,11 @@ export type QuerySubListChannelsArgs = {
102139
103820
  pagination?: InputMaybe<PaginationInput>;
102140
103821
  };
102141
103822
  /** Base Query type with placeholder field. Extended by individual query files. */
103823
+ export type QuerySubListDecisionsArgs = {
103824
+ filter?: InputMaybe<SubDecisionFilter>;
103825
+ pagination?: InputMaybe<PaginationInput>;
103826
+ };
103827
+ /** Base Query type with placeholder field. Extended by individual query files. */
102142
103828
  export type QuerySubListEntitlementsArgs = {
102143
103829
  pagination?: InputMaybe<PaginationInput>;
102144
103830
  relationshipId: Scalars['ID']['input'];
@@ -102315,6 +104001,10 @@ export type QueryTcpListStoriesArgs = {
102315
104001
  topicId?: InputMaybe<Scalars['ID']['input']>;
102316
104002
  };
102317
104003
  /** Base Query type with placeholder field. Extended by individual query files. */
104004
+ export type QueryTcpListStoryClaimsArgs = {
104005
+ storyId: Scalars['ID']['input'];
104006
+ };
104007
+ /** Base Query type with placeholder field. Extended by individual query files. */
102318
104008
  export type QueryTcpListTopicsArgs = {
102319
104009
  category?: InputMaybe<TcpTopicCategory>;
102320
104010
  pagination?: InputMaybe<PaginationInput>;
@@ -102834,6 +104524,10 @@ export type QueryTimeEntryStatsArgs = {
102834
104524
  startDate?: InputMaybe<Scalars['DateTime']['input']>;
102835
104525
  };
102836
104526
  /** Base Query type with placeholder field. Extended by individual query files. */
104527
+ export type QueryTimeIntelligenceSweepsArgs = {
104528
+ limit?: InputMaybe<Scalars['Int']['input']>;
104529
+ };
104530
+ /** Base Query type with placeholder field. Extended by individual query files. */
102837
104531
  export type QueryToolApprovalRequestArgs = {
102838
104532
  id: Scalars['ID']['input'];
102839
104533
  };
@@ -105017,7 +106711,11 @@ export type ResolvedSecret = {
105017
106711
  value: Scalars['String']['output'];
105018
106712
  vaultId: Scalars['String']['output'];
105019
106713
  };
105020
- /** Registered resource with custom permission configurations. Resources are only registered when they have non-default permissions (overrides, visibility rules, or scoped assignments). */
106714
+ /**
106715
+ * Registered resource with custom permission configurations.
106716
+ * Resources are only registered when they have non-default permissions
106717
+ * (overrides, visibility rules, or scoped assignments).
106718
+ */
105021
106719
  export type Resource = {
105022
106720
  __typename?: 'Resource';
105023
106721
  children: Array<Resource>;
@@ -105067,11 +106765,22 @@ export declare enum ResourceBookingStatus {
105067
106765
  }
105068
106766
  /** Filter for querying resources */
105069
106767
  export type ResourceFilterInput = {
105070
- /** Defaults to `true` — only active resources are returned. Omit the field or pass `null` to use the default; pass `false` to find deactivated resources. To list both, issue two separate queries (`true` then `false`) and merge client-side; tracked in BOFF-2419. */
106768
+ /**
106769
+ * Defaults to `true` — only active resources are returned. Omit the field
106770
+ * or pass `null` to use the default; pass `false` to find deactivated
106771
+ * resources. To list both, issue two separate queries (`true` then
106772
+ * `false`) and merge client-side; tracked in BOFF-2419.
106773
+ */
105071
106774
  isActive?: InputMaybe<Scalars['Boolean']['input']>;
105072
106775
  ownerId?: InputMaybe<Scalars['String']['input']>;
105073
106776
  resourceType?: InputMaybe<Scalars['String']['input']>;
105074
- /** Case-insensitive substring match against resource `identifier` and `name`. Blank or whitespace-only values are ignored. Input is capped at 200 characters server-side (truncation happens before LIKE-escaping, so the cap applies to user content). PostgreSQL LIKE wildcards (`%`, `_`) and the escape character (`\\`) match literally, not as wildcards. */
106777
+ /**
106778
+ * Case-insensitive substring match against resource `identifier` and `name`.
106779
+ * Blank or whitespace-only values are ignored. Input is capped at 200
106780
+ * characters server-side (truncation happens before LIKE-escaping, so the
106781
+ * cap applies to user content). PostgreSQL LIKE wildcards (`%`, `_`) and
106782
+ * the escape character (`\\`) match literally, not as wildcards.
106783
+ */
105075
106784
  search?: InputMaybe<Scalars['String']['input']>;
105076
106785
  };
105077
106786
  /** Resource limits snapshot for a specific point in time */
@@ -105137,7 +106846,10 @@ export type ResourcePlanListResponse = {
105137
106846
  items: Array<ResourcePlan>;
105138
106847
  total: Scalars['Int']['output'];
105139
106848
  };
105140
- /** A resource type (permission group) together with the products it is mapped to. An empty products list means the resource type is cross-product ("All"). */
106849
+ /**
106850
+ * A resource type (permission group) together with the products it is mapped to.
106851
+ * An empty products list means the resource type is cross-product ("All").
106852
+ */
105141
106853
  export type ResourceTypeProductInfo = {
105142
106854
  __typename?: 'ResourceTypeProductInfo';
105143
106855
  /** Product slugs (PlatformProduct.slug) this resource type is relevant to. */
@@ -105627,7 +107339,10 @@ export type Role = {
105627
107339
  /** Role-level permission overrides */
105628
107340
  permissionOverrides: Array<RolePermissionOverride>;
105629
107341
  priority: Scalars['Int']['output'];
105630
- /** Product this role belongs to (PlatformProduct.slug). Null = cross-product / platform role (e.g. Workspace Owner, Editor, Viewer) shown under every product. */
107342
+ /**
107343
+ * Product this role belongs to (PlatformProduct.slug). Null = cross-product /
107344
+ * platform role (e.g. Workspace Owner, Editor, Viewer) shown under every product.
107345
+ */
105631
107346
  productSlug?: Maybe<Scalars['String']['output']>;
105632
107347
  scopeId: Scalars['String']['output'];
105633
107348
  scopeType: Scalars['String']['output'];
@@ -105656,14 +107371,27 @@ export type RoleDefaultPermission = {
105656
107371
  resourceType: Scalars['String']['output'];
105657
107372
  roleId: Scalars['String']['output'];
105658
107373
  };
105659
- /** Filter for querying roles. Note: scopeId is intentionally not part of this filter — the workspace scope is derived from the request context (x-workspace-id) and cannot be overridden by the client. This prevents cross-workspace reads. */
107374
+ /**
107375
+ * Filter for querying roles.
107376
+ *
107377
+ * Note: scopeId is intentionally not part of this filter — the workspace scope
107378
+ * is derived from the request context (x-workspace-id) and cannot be overridden
107379
+ * by the client. This prevents cross-workspace reads.
107380
+ */
105660
107381
  export type RoleFilterInput = {
105661
- /** Whether to include cross-product/platform roles (productSlug = null) when a product filter is applied. Defaults to true. Ignored when product is unset. */
107382
+ /**
107383
+ * Whether to include cross-product/platform roles (productSlug = null) when a
107384
+ * product filter is applied. Defaults to true. Ignored when product is unset.
107385
+ */
105662
107386
  includePlatformRoles?: InputMaybe<Scalars['Boolean']['input']>;
105663
107387
  includeSystem?: InputMaybe<Scalars['Boolean']['input']>;
105664
107388
  isSystem?: InputMaybe<Scalars['Boolean']['input']>;
105665
107389
  parentId?: InputMaybe<Scalars['ID']['input']>;
105666
- /** Filter roles by product (PlatformProduct.slug). When set, returns roles for that product. Cross-product/platform roles (productSlug = null) are included unless includePlatformRoles is explicitly false. */
107390
+ /**
107391
+ * Filter roles by product (PlatformProduct.slug). When set, returns roles for
107392
+ * that product. Cross-product/platform roles (productSlug = null) are included
107393
+ * unless includePlatformRoles is explicitly false.
107394
+ */
105667
107395
  product?: InputMaybe<Scalars['String']['input']>;
105668
107396
  };
105669
107397
  /** Input for checkRoleGrant: may the requester grant these roles in scopeId? */
@@ -105679,9 +107407,17 @@ export type RoleGrantCheckResult = {
105679
107407
  __typename?: 'RoleGrantCheckResult';
105680
107408
  /** True when setActorRoles would let the requester add every requested role */
105681
107409
  allowed: Scalars['Boolean']['output'];
105682
- /** Null when allowed; otherwise ROLE_NOT_FOUND | ROLE_SCOPE_MISMATCH | MAX_ROLES_EXCEEDED | ASSIGNMENT_CREATE_REQUIRED | PROTECTED_ROLE_OWNER_ONLY | ROLE_ESCALATION */
107410
+ /**
107411
+ * Null when allowed; otherwise ROLE_NOT_FOUND | ROLE_SCOPE_MISMATCH | MAX_ROLES_EXCEEDED |
107412
+ * ASSIGNMENT_CREATE_REQUIRED | PROTECTED_ROLE_OWNER_ONLY | ROLE_ESCALATION
107413
+ */
105683
107414
  reasonCode?: Maybe<Scalars['String']['output']>;
105684
- /** The roles refused for reasonCode: the missing or out-of-scope roles, every requested role (ASSIGNMENT_CREATE_REQUIRED), the Owner/Admin roles (PROTECTED_ROLE_OWNER_ONLY), or the first role found above the requester's own authority (ROLE_ESCALATION). Empty when allowed or for MAX_ROLES_EXCEEDED. */
107415
+ /**
107416
+ * The roles refused for reasonCode: the missing or out-of-scope roles, every requested role
107417
+ * (ASSIGNMENT_CREATE_REQUIRED), the Owner/Admin roles (PROTECTED_ROLE_OWNER_ONLY), or the first
107418
+ * role found above the requester's own authority (ROLE_ESCALATION). Empty when allowed or for
107419
+ * MAX_ROLES_EXCEEDED.
107420
+ */
105685
107421
  refusedRoleIds: Array<Scalars['ID']['output']>;
105686
107422
  };
105687
107423
  /** Basic role information */
@@ -108425,6 +110161,33 @@ export declare enum SemModelStatus {
108425
110161
  Draft = "DRAFT",
108426
110162
  Published = "PUBLISHED"
108427
110163
  }
110164
+ export type SemOnboardingProgress = {
110165
+ __typename?: 'SemOnboardingProgress';
110166
+ completedCount: Scalars['Int']['output'];
110167
+ /** True while the workspace still holds the getting-started demo data. */
110168
+ demoDataPresent: Scalars['Boolean']['output'];
110169
+ isComplete: Scalars['Boolean']['output'];
110170
+ steps: Array<SemOnboardingStep>;
110171
+ totalCount: Scalars['Int']['output'];
110172
+ workspaceId: Scalars['ID']['output'];
110173
+ };
110174
+ /** One getting-started step. A step is complete once the workspace holds at least one record of the matching kind that the user created themselves; records added by the demo-data seed are never counted. */
110175
+ export type SemOnboardingStep = {
110176
+ __typename?: 'SemOnboardingStep';
110177
+ completed: Scalars['Boolean']['output'];
110178
+ /** How many of the user's own records satisfy this step. */
110179
+ count: Scalars['Int']['output'];
110180
+ key: SemOnboardingStepKey;
110181
+ };
110182
+ /** The getting-started steps a new SemanticFed workspace works through, in order. */
110183
+ export declare enum SemOnboardingStepKey {
110184
+ AddDataSource = "ADD_DATA_SOURCE",
110185
+ AddPolicy = "ADD_POLICY",
110186
+ CreateModel = "CREATE_MODEL",
110187
+ DefineMetric = "DEFINE_METRIC",
110188
+ RegisterConnector = "REGISTER_CONNECTOR",
110189
+ RunQuery = "RUN_QUERY"
110190
+ }
108428
110191
  export type SemPageInfo = {
108429
110192
  __typename?: 'SemPageInfo';
108430
110193
  cursor?: Maybe<Scalars['String']['output']>;
@@ -108565,6 +110328,24 @@ export declare enum SemRelationshipKind {
108565
110328
  OneToMany = "ONE_TO_MANY",
108566
110329
  OneToOne = "ONE_TO_ONE"
108567
110330
  }
110331
+ export type SemRemoveWorkspaceDemoDataResult = {
110332
+ __typename?: 'SemRemoveWorkspaceDemoDataResult';
110333
+ removedConnectors: Scalars['Int']['output'];
110334
+ removedDataSources: Scalars['Int']['output'];
110335
+ removedModels: Scalars['Int']['output'];
110336
+ removedQueries: Scalars['Int']['output'];
110337
+ };
110338
+ /** Identifiers of the demo records. `created` is false when the workspace already held the demo data and the call returned the existing records unchanged. */
110339
+ export type SemSeedWorkspaceDemoDataResult = {
110340
+ __typename?: 'SemSeedWorkspaceDemoDataResult';
110341
+ connectorId: Scalars['ID']['output'];
110342
+ created: Scalars['Boolean']['output'];
110343
+ dataSourceId: Scalars['ID']['output'];
110344
+ entityIds: Array<Scalars['ID']['output']>;
110345
+ metricIds: Array<Scalars['ID']['output']>;
110346
+ modelId: Scalars['ID']['output'];
110347
+ queryId: Scalars['ID']['output'];
110348
+ };
108568
110349
  export type SemSemanticModel = {
108569
110350
  __typename?: 'SemSemanticModel';
108570
110351
  createdAt: Scalars['DateTime']['output'];
@@ -109185,6 +110966,14 @@ export type SetAgentVisibilityInput = {
109185
110966
  /** `PRIVATE` = owner only. `WORKSPACE` = every member with the matching `@rbac` permission. */
109186
110967
  visibility: VibecontrolsAgentVisibility;
109187
110968
  };
110969
+ /** Ask for a skill on a job posting by `skillId`, or by `skillName` (resolved through the taxonomy aliases; an unknown name becomes a custom workspace skill). Setting an already-listed skill updates it. `required` defaults to true; a nice-to-have skill is removed from the legacy `requirements` strings. */
110970
+ export type SetCrewJobPostingSkillInput = {
110971
+ jobPostingId: Scalars['ID']['input'];
110972
+ minProficiency?: InputMaybe<Scalars['Int']['input']>;
110973
+ required?: InputMaybe<Scalars['Boolean']['input']>;
110974
+ skillId?: InputMaybe<Scalars['ID']['input']>;
110975
+ skillName?: InputMaybe<Scalars['String']['input']>;
110976
+ };
109188
110977
  /** BOFF-3938 — sets every date from startDate to endDate (inclusive, YYYY-MM-DD, at most 366 days) to exactly these values, replacing what those dates had. AVAILABLE with no price, minStay or note returns the dates to the property's normal rules. */
109189
110978
  export type SetGgnomadPropertyAvailabilityInput = {
109190
110979
  endDate: Scalars['String']['input'];
@@ -109388,6 +111177,18 @@ export type ShareCollectionInput = {
109388
111177
  message?: InputMaybe<Scalars['String']['input']>;
109389
111178
  userId?: InputMaybe<Scalars['ID']['input']>;
109390
111179
  };
111180
+ /** The complete sharing of a connection: replaces its visibility and every current grant. */
111181
+ export type ShareConnectionInput = {
111182
+ connectionId: Scalars['ID']['input'];
111183
+ /**
111184
+ * Hand the connection to this person in the same change, so the new owner and the new sharing
111185
+ * apply together or not at all. Workspace administrators only; omit to keep the owner.
111186
+ */
111187
+ ownerId?: InputMaybe<Scalars['ID']['input']>;
111188
+ /** At most 100 grants; the owner never needs one */
111189
+ shares: Array<ConnectionShareInput>;
111190
+ visibility: ConnectionVisibility;
111191
+ };
109391
111192
  /** Input for sharing an entity with a specific person by email. */
109392
111193
  export type ShareEntityInput = {
109393
111194
  email: Scalars['String']['input'];
@@ -110244,11 +112045,111 @@ export declare enum SubAgentKind {
110244
112045
  Renewal = "RENEWAL",
110245
112046
  Vendor = "VENDOR"
110246
112047
  }
112048
+ export type SubAgentRunResult = {
112049
+ __typename?: 'SubAgentRunResult';
112050
+ agentId: Scalars['ID']['output'];
112051
+ applied: Scalars['Int']['output'];
112052
+ decisions: Array<SubDecision>;
112053
+ dryRun: Scalars['Boolean']['output'];
112054
+ /** Relationships evaluated (ACTIVE and TRIAL only). */
112055
+ evaluated: Scalars['Int']['output'];
112056
+ flagged: Scalars['Int']['output'];
112057
+ invocationRef?: Maybe<Scalars['String']['output']>;
112058
+ kind: SubAgentKind;
112059
+ proposed: Scalars['Int']['output'];
112060
+ ranAt: Scalars['DateTime']['output'];
112061
+ runId: Scalars['ID']['output'];
112062
+ /** True when the workspace has more relationships than one run evaluates. */
112063
+ truncated: Scalars['Boolean']['output'];
112064
+ };
112065
+ /** The workspace's registration with wspace-scheduler-svc. A workspace admin can pause the job on the shared Schedules screen; the loop leaves it paused. */
112066
+ export type SubAgentSchedule = {
112067
+ __typename?: 'SubAgentSchedule';
112068
+ cronExpression: Scalars['String']['output'];
112069
+ id: Scalars['ID']['output'];
112070
+ lastError?: Maybe<Scalars['String']['output']>;
112071
+ lastSweepAt?: Maybe<Scalars['DateTime']['output']>;
112072
+ schedulerJobId?: Maybe<Scalars['ID']['output']>;
112073
+ status: SubAgentScheduleStatus;
112074
+ timezone: Scalars['String']['output'];
112075
+ updatedAt: Scalars['DateTime']['output'];
112076
+ workspaceId: Scalars['ID']['output'];
112077
+ };
112078
+ export type SubAgentScheduleReconcileResult = {
112079
+ __typename?: 'SubAgentScheduleReconcileResult';
112080
+ ensured: Scalars['Int']['output'];
112081
+ failed: Scalars['Int']['output'];
112082
+ schedules: Array<SubAgentSchedule>;
112083
+ /** Workspaces with an enabled, schedulable agent. */
112084
+ workspaces: Scalars['Int']['output'];
112085
+ };
112086
+ export declare enum SubAgentScheduleStatus {
112087
+ Active = "ACTIVE",
112088
+ Failed = "FAILED",
112089
+ Pending = "PENDING"
112090
+ }
110247
112091
  export declare enum SubAgentStatus {
110248
112092
  Autonomous = "AUTONOMOUS",
110249
112093
  Disabled = "DISABLED",
110250
112094
  SuggestOnly = "SUGGEST_ONLY"
110251
112095
  }
112096
+ export type SubAgentSweep = {
112097
+ __typename?: 'SubAgentSweep';
112098
+ agents: Array<SubAgentSweepAgentOutcome>;
112099
+ agentsConsidered: Scalars['Int']['output'];
112100
+ agentsRun: Scalars['Int']['output'];
112101
+ agentsSkipped: Scalars['Int']['output'];
112102
+ decisionsCreated: Scalars['Int']['output'];
112103
+ decisionsRefreshed: Scalars['Int']['output'];
112104
+ /** True when this call was a redelivery of an earlier fire with the same idempotency key; the original sweep is returned and nothing ran again. */
112105
+ duplicate: Scalars['Boolean']['output'];
112106
+ durationMs?: Maybe<Scalars['Int']['output']>;
112107
+ error?: Maybe<Scalars['String']['output']>;
112108
+ finishedAt?: Maybe<Scalars['DateTime']['output']>;
112109
+ id: Scalars['ID']['output'];
112110
+ notificationsSent: Scalars['Int']['output'];
112111
+ scheduledFor?: Maybe<Scalars['DateTime']['output']>;
112112
+ /** KILL_SWITCH, AGENTS_MODULE_DISABLED, NO_DUE_AGENTS, DAILY_DECISION_CAP, AI_QUOTA_EXHAUSTED or AI_QUOTA_NOT_PROVISIONED when the sweep was skipped. */
112113
+ skippedReason?: Maybe<Scalars['String']['output']>;
112114
+ startedAt: Scalars['DateTime']['output'];
112115
+ status: SubAgentSweepStatus;
112116
+ trigger: SubAgentSweepTrigger;
112117
+ workspaceId: Scalars['ID']['output'];
112118
+ };
112119
+ /** What one sweep did with one agent. */
112120
+ export type SubAgentSweepAgentOutcome = {
112121
+ __typename?: 'SubAgentSweepAgentOutcome';
112122
+ agentId: Scalars['ID']['output'];
112123
+ applied: Scalars['Int']['output'];
112124
+ created: Scalars['Int']['output'];
112125
+ dryRun: Scalars['Boolean']['output'];
112126
+ durationMs: Scalars['Int']['output'];
112127
+ error?: Maybe<Scalars['String']['output']>;
112128
+ kind: SubAgentKind;
112129
+ /** RAN, FAILED, NOT_DUE (ran too recently for its cadence) or CAPPED (over the per-sweep agent cap or the AI-action quota). */
112130
+ outcome: Scalars['String']['output'];
112131
+ refreshed: Scalars['Int']['output'];
112132
+ runId?: Maybe<Scalars['ID']['output']>;
112133
+ /** New advice held back by a recent dismissal or the daily decision cap. */
112134
+ suppressed: Scalars['Int']['output'];
112135
+ };
112136
+ export type SubAgentSweepConnection = {
112137
+ __typename?: 'SubAgentSweepConnection';
112138
+ items: Array<SubAgentSweep>;
112139
+ pageInfo: SubPageInfo;
112140
+ };
112141
+ export declare enum SubAgentSweepStatus {
112142
+ Completed = "COMPLETED",
112143
+ Failed = "FAILED",
112144
+ Running = "RUNNING",
112145
+ Skipped = "SKIPPED"
112146
+ }
112147
+ export declare enum SubAgentSweepTrigger {
112148
+ /** Run on demand by a super admin. */
112149
+ Manual = "MANUAL",
112150
+ /** Fired by wspace-scheduler-svc. */
112151
+ Scheduled = "SCHEDULED"
112152
+ }
110252
112153
  export type SubAiAgent = {
110253
112154
  __typename?: 'SubAiAgent';
110254
112155
  config?: Maybe<Scalars['JSON']['output']>;
@@ -110356,6 +112257,15 @@ export declare enum SubBillingInterval {
110356
112257
  Weekly = "WEEKLY",
110357
112258
  Yearly = "YEARLY"
110358
112259
  }
112260
+ export type SubBudgetStatus = {
112261
+ __typename?: 'SubBudgetStatus';
112262
+ monthlyBudget: Scalars['Float']['output'];
112263
+ monthlySpend: Scalars['Float']['output'];
112264
+ overBudget: Scalars['Boolean']['output'];
112265
+ utilizationPct: Scalars['Float']['output'];
112266
+ /** Budget minus spend; negative when over budget. */
112267
+ variance: Scalars['Float']['output'];
112268
+ };
110359
112269
  export declare enum SubChannelStatus {
110360
112270
  Disabled = "DISABLED",
110361
112271
  Pending = "PENDING",
@@ -110389,6 +112299,29 @@ export type SubCommunicationChannelConnection = {
110389
112299
  items: Array<SubCommunicationChannel>;
110390
112300
  pageInfo: SubPageInfo;
110391
112301
  };
112302
+ export type SubConsolidateRelationshipsInput = {
112303
+ amount?: InputMaybe<Scalars['Float']['input']>;
112304
+ /** Subscriptions to cancel (1 to 9, without the kept one). */
112305
+ cancelRelationshipIds: Array<Scalars['ID']['input']>;
112306
+ interval?: InputMaybe<SubBillingInterval>;
112307
+ keepRelationshipId: Scalars['ID']['input'];
112308
+ /** Optional bundled plan for the kept subscription. */
112309
+ planId?: InputMaybe<Scalars['ID']['input']>;
112310
+ };
112311
+ export type SubConsolidationFailure = {
112312
+ __typename?: 'SubConsolidationFailure';
112313
+ message: Scalars['String']['output'];
112314
+ relationshipId: Scalars['ID']['output'];
112315
+ };
112316
+ export type SubConsolidationResult = {
112317
+ __typename?: 'SubConsolidationResult';
112318
+ cancelled: Array<SubRelationship>;
112319
+ currency: Scalars['String']['output'];
112320
+ /** Yearly saving of the subscriptions actually cancelled, after any plan change. */
112321
+ estimatedSavings: Scalars['Float']['output'];
112322
+ failed: Array<SubConsolidationFailure>;
112323
+ kept: SubRelationship;
112324
+ };
110392
112325
  export type SubCreateAgentInput = {
110393
112326
  config?: InputMaybe<Scalars['JSON']['input']>;
110394
112327
  description?: InputMaybe<Scalars['String']['input']>;
@@ -110493,6 +112426,7 @@ export type SubCreateRelationshipInput = {
110493
112426
  amount?: InputMaybe<Scalars['Float']['input']>;
110494
112427
  autoRenew?: InputMaybe<Scalars['Boolean']['input']>;
110495
112428
  currency?: InputMaybe<Scalars['String']['input']>;
112429
+ department?: InputMaybe<Scalars['String']['input']>;
110496
112430
  discoverySource?: InputMaybe<SubDiscoverySource>;
110497
112431
  interval?: InputMaybe<SubBillingInterval>;
110498
112432
  kind?: InputMaybe<SubRelationshipKind>;
@@ -110513,6 +112447,98 @@ export type SubCreateWorkflowInput = {
110513
112447
  steps?: InputMaybe<Scalars['JSON']['input']>;
110514
112448
  triggerEvent: Scalars['String']['input'];
110515
112449
  };
112450
+ export type SubCurrencySpend = {
112451
+ __typename?: 'SubCurrencySpend';
112452
+ currency: Scalars['String']['output'];
112453
+ monthlySpend: Scalars['Float']['output'];
112454
+ relationshipCount: Scalars['Int']['output'];
112455
+ };
112456
+ /** One recommendation an agent run made about one relationship. `evidence` holds the rows the strategy reasoned over; `proposedChange` the relationship change applying it makes. `invocationRef` is the run's entry in the shared AI invocation ledger (wspace-prompts-svc `PromptInvocation.id`). */
112457
+ export type SubDecision = {
112458
+ __typename?: 'SubDecision';
112459
+ agent?: Maybe<SubAiAgent>;
112460
+ agentId: Scalars['ID']['output'];
112461
+ appliedAt?: Maybe<Scalars['DateTime']['output']>;
112462
+ appliedBy?: Maybe<Scalars['ID']['output']>;
112463
+ applyInvocationRef?: Maybe<Scalars['String']['output']>;
112464
+ /** 0..1 */
112465
+ confidence: Scalars['Float']['output'];
112466
+ createdAt: Scalars['DateTime']['output'];
112467
+ currency: Scalars['String']['output'];
112468
+ dismissedAt?: Maybe<Scalars['DateTime']['output']>;
112469
+ dismissedReason?: Maybe<Scalars['String']['output']>;
112470
+ /** Annualised saving if applied, in `currency`. */
112471
+ estimatedSavings: Scalars['Float']['output'];
112472
+ evidence: Scalars['JSON']['output'];
112473
+ id: Scalars['ID']['output'];
112474
+ invocationRef?: Maybe<Scalars['String']['output']>;
112475
+ kind: SubDecisionKind;
112476
+ proposedChange: Scalars['JSON']['output'];
112477
+ rationale: Scalars['String']['output'];
112478
+ recommendation: SubDecisionRecommendation;
112479
+ relationship?: Maybe<SubRelationship>;
112480
+ relationshipId: Scalars['ID']['output'];
112481
+ runId: Scalars['ID']['output'];
112482
+ status: SubDecisionStatus;
112483
+ updatedAt: Scalars['DateTime']['output'];
112484
+ validationErrors: Array<Scalars['String']['output']>;
112485
+ workspaceId: Scalars['ID']['output'];
112486
+ };
112487
+ export type SubDecisionConnection = {
112488
+ __typename?: 'SubDecisionConnection';
112489
+ items: Array<SubDecision>;
112490
+ pageInfo: SubPageInfo;
112491
+ };
112492
+ export type SubDecisionFilter = {
112493
+ agentId?: InputMaybe<Scalars['ID']['input']>;
112494
+ kind?: InputMaybe<SubDecisionKind>;
112495
+ recommendation?: InputMaybe<SubDecisionRecommendation>;
112496
+ relationshipId?: InputMaybe<Scalars['ID']['input']>;
112497
+ status?: InputMaybe<SubDecisionStatus>;
112498
+ };
112499
+ /** The portfolio decision an agent strategy made (BOFF-3634). COST agents find CANCEL_CANDIDATE, RENEWAL agents RENEWAL_TRIAGE, VENDOR agents PLAN_RIGHT_SIZE and CONSOLIDATE_OVERLAP (BOFF-3703), and DISCOVERY agents TRIAL_EXPIRY. */
112500
+ export declare enum SubDecisionKind {
112501
+ CancelCandidate = "CANCEL_CANDIDATE",
112502
+ /** Cancel a relationship that another one in the portfolio already covers (duplicate provider, shared capability or subsumed entitlements). */
112503
+ ConsolidateOverlap = "CONSOLIDATE_OVERLAP",
112504
+ PlanRightSize = "PLAN_RIGHT_SIZE",
112505
+ RenewalTriage = "RENEWAL_TRIAGE",
112506
+ TrialExpiry = "TRIAL_EXPIRY"
112507
+ }
112508
+ /** What a decision recommends. Applying it runs the matching relationship mutation: CANCEL -> subCancelRelationship, PAUSE / CONVERT_TRIAL -> subTransitionRelationship, DOWNGRADE / SWITCH_TO_ANNUAL -> subUpdateRelationship. RENEW keeps the auto-renewal and writes nothing. */
112509
+ export declare enum SubDecisionRecommendation {
112510
+ Cancel = "CANCEL",
112511
+ ConvertTrial = "CONVERT_TRIAL",
112512
+ Downgrade = "DOWNGRADE",
112513
+ Pause = "PAUSE",
112514
+ Renew = "RENEW",
112515
+ SwitchToAnnual = "SWITCH_TO_ANNUAL"
112516
+ }
112517
+ export type SubDecisionResult = {
112518
+ __typename?: 'SubDecisionResult';
112519
+ decision: SubDecision;
112520
+ /** The relationship after the applied change. */
112521
+ relationship?: Maybe<SubRelationship>;
112522
+ };
112523
+ /** PROPOSED decisions wait for review. FLAGGED decisions failed output validation and can never be applied. STALE decisions were superseded, or their relationship changed after they were made. */
112524
+ export declare enum SubDecisionStatus {
112525
+ Applied = "APPLIED",
112526
+ Applying = "APPLYING",
112527
+ Dismissed = "DISMISSED",
112528
+ Flagged = "FLAGGED",
112529
+ Proposed = "PROPOSED",
112530
+ Stale = "STALE"
112531
+ }
112532
+ export type SubDepartmentSpend = {
112533
+ __typename?: 'SubDepartmentSpend';
112534
+ annualSpend: Scalars['Float']['output'];
112535
+ budget?: Maybe<SubBudgetStatus>;
112536
+ /** Department / team / cost centre; null for spend not yet allocated. */
112537
+ department?: Maybe<Scalars['String']['output']>;
112538
+ monthlySpend: Scalars['Float']['output'];
112539
+ relationshipCount: Scalars['Int']['output'];
112540
+ sharePct: Scalars['Float']['output'];
112541
+ };
110516
112542
  export declare enum SubDiscoverySource {
110517
112543
  AiAgent = "AI_AGENT",
110518
112544
  EmailScan = "EMAIL_SCAN",
@@ -110521,6 +112547,68 @@ export declare enum SubDiscoverySource {
110521
112547
  PaymentScan = "PAYMENT_SCAN",
110522
112548
  ProviderConnect = "PROVIDER_CONNECT"
110523
112549
  }
112550
+ /** A duplicate-tool warning: one BOFF-3703 overlap group (see subDetectOverlaps) in the dashboard currency, with the departments that pay for its members. */
112551
+ export type SubDuplicateToolGroup = {
112552
+ __typename?: 'SubDuplicateToolGroup';
112553
+ departments: Array<Scalars['String']['output']>;
112554
+ keepRelationshipId: Scalars['ID']['output'];
112555
+ /** The overlap group id (stable across runs). */
112556
+ key: Scalars['String']['output'];
112557
+ monthlySpend: Scalars['Float']['output'];
112558
+ name: Scalars['String']['output'];
112559
+ /** Monthly spend of the members the kept relationship fully covers. */
112560
+ potentialMonthlySavings: Scalars['Float']['output'];
112561
+ /** The shared provider for an EXACT_DUPLICATE group; null otherwise. */
112562
+ providerId?: Maybe<Scalars['ID']['output']>;
112563
+ rationale: Scalars['String']['output'];
112564
+ relationshipCount: Scalars['Int']['output'];
112565
+ relationships: Array<SubDuplicateToolMember>;
112566
+ type: SubOverlapType;
112567
+ };
112568
+ export type SubDuplicateToolMember = {
112569
+ __typename?: 'SubDuplicateToolMember';
112570
+ department?: Maybe<Scalars['String']['output']>;
112571
+ /** The member the overlap detector recommends keeping. */
112572
+ keep: Scalars['Boolean']['output'];
112573
+ label: Scalars['String']['output'];
112574
+ monthlySpend: Scalars['Float']['output'];
112575
+ relationshipId: Scalars['ID']['output'];
112576
+ };
112577
+ export type SubEnterpriseSpendDashboard = {
112578
+ __typename?: 'SubEnterpriseSpendDashboard';
112579
+ activeRelationshipCount: Scalars['Int']['output'];
112580
+ annualSpend: Scalars['Float']['output'];
112581
+ /** Company-wide budget status; null when no company budget is set for this currency. */
112582
+ budget?: Maybe<SubBudgetStatus>;
112583
+ currency: Scalars['String']['output'];
112584
+ departments: Array<SubDepartmentSpend>;
112585
+ /** Monthly saving if every recommended consolidation is made (each relationship counted once). */
112586
+ duplicatePotentialMonthlySavings: Scalars['Float']['output'];
112587
+ duplicateTools: Array<SubDuplicateToolGroup>;
112588
+ generatedAt: Scalars['DateTime']['output'];
112589
+ /** Relationships billing now, most expensive first (top 50). */
112590
+ licenses: Array<SubLicenseRow>;
112591
+ monthlySpend: Scalars['Float']['output'];
112592
+ monthlySpendChangePct?: Maybe<Scalars['Float']['output']>;
112593
+ /** Spend billed in other currencies, which this dashboard does not include. */
112594
+ otherCurrencies: Array<SubCurrencySpend>;
112595
+ /** Monthly run-rate 30 days ago. */
112596
+ previousMonthlySpend: Scalars['Float']['output'];
112597
+ renewalPipeline: Array<SubRenewalQuarter>;
112598
+ riskFlagCount: Scalars['Int']['output'];
112599
+ riskFlags: Array<SubSpendRiskFlag>;
112600
+ /** Seats used as a percentage of seats assigned; null when no seats are tracked. */
112601
+ seatUtilizationPct?: Maybe<Scalars['Float']['output']>;
112602
+ /** Seats across relationships billing now that track SEAT entitlements. */
112603
+ seatsAssigned: Scalars['Int']['output'];
112604
+ seatsUsed: Scalars['Int']['output'];
112605
+ shadowIt: Array<SubShadowItItem>;
112606
+ shadowItCount: Scalars['Int']['output'];
112607
+ shadowItMonthlySpend: Scalars['Float']['output'];
112608
+ trend: Array<SubSpendTrendPoint>;
112609
+ /** True when the workspace has more relationships than one dashboard aggregates. */
112610
+ truncated: Scalars['Boolean']['output'];
112611
+ };
110524
112612
  export type SubEntitlement = {
110525
112613
  __typename?: 'SubEntitlement';
110526
112614
  createdAt: Scalars['DateTime']['output'];
@@ -110549,6 +112637,12 @@ export declare enum SubEntitlementType {
110549
112637
  SupportTier = "SUPPORT_TIER",
110550
112638
  UsageQuota = "USAGE_QUOTA"
110551
112639
  }
112640
+ export type SubHealthRecomputeResult = {
112641
+ __typename?: 'SubHealthRecomputeResult';
112642
+ evaluated: Scalars['Int']['output'];
112643
+ truncated: Scalars['Boolean']['output'];
112644
+ updated: Scalars['Int']['output'];
112645
+ };
110552
112646
  export type SubInboxMessage = {
110553
112647
  __typename?: 'SubInboxMessage';
110554
112648
  actionRequired: Scalars['Boolean']['output'];
@@ -110617,6 +112711,20 @@ export declare enum SubInvoiceStatus {
110617
112711
  Paid = "PAID",
110618
112712
  Refunded = "REFUNDED"
110619
112713
  }
112714
+ export type SubLicenseRow = {
112715
+ __typename?: 'SubLicenseRow';
112716
+ annualCost: Scalars['Float']['output'];
112717
+ department?: Maybe<Scalars['String']['output']>;
112718
+ label: Scalars['String']['output'];
112719
+ monthlySpend: Scalars['Float']['output'];
112720
+ providerName?: Maybe<Scalars['String']['output']>;
112721
+ relationshipId: Scalars['ID']['output'];
112722
+ renewsAt?: Maybe<Scalars['DateTime']['output']>;
112723
+ /** Seats purchased (sum of active SEAT entitlement quotas); null when seats are not tracked. */
112724
+ seatsAssigned?: Maybe<Scalars['Int']['output']>;
112725
+ seatsUsed?: Maybe<Scalars['Int']['output']>;
112726
+ utilizationPct?: Maybe<Scalars['Float']['output']>;
112727
+ };
110620
112728
  export type SubMarketplaceReport = {
110621
112729
  __typename?: 'SubMarketplaceReport';
110622
112730
  createdAt: Scalars['DateTime']['output'];
@@ -110647,6 +112755,64 @@ export declare enum SubModerationAction {
110647
112755
  Dismiss = "DISMISS",
110648
112756
  RemoveListing = "REMOVE_LISTING"
110649
112757
  }
112758
+ export type SubMoneyAmount = {
112759
+ __typename?: 'SubMoneyAmount';
112760
+ amount: Scalars['Float']['output'];
112761
+ currency: Scalars['String']['output'];
112762
+ };
112763
+ export type SubOverlap = {
112764
+ __typename?: 'SubOverlap';
112765
+ annualSavings: Scalars['Float']['output'];
112766
+ annualSpend: Scalars['Float']['output'];
112767
+ confidence: Scalars['Float']['output'];
112768
+ currency: Scalars['String']['output'];
112769
+ /** Members the kept relationship fully covers; consolidating cancels these. */
112770
+ dropRelationshipIds: Array<Scalars['ID']['output']>;
112771
+ /** Stable across runs for the same overlap. */
112772
+ id: Scalars['ID']['output'];
112773
+ keepRelationshipId: Scalars['ID']['output'];
112774
+ /** Provider id, capability name or the subsuming relationship id. */
112775
+ key: Scalars['String']['output'];
112776
+ members: Array<SubOverlapMember>;
112777
+ rationale: Scalars['String']['output'];
112778
+ title: Scalars['String']['output'];
112779
+ type: SubOverlapType;
112780
+ };
112781
+ export type SubOverlapConnection = {
112782
+ __typename?: 'SubOverlapConnection';
112783
+ items: Array<SubOverlap>;
112784
+ pageInfo: SubPageInfo;
112785
+ /** Annualised savings if every recommended consolidation is made, per currency. Each relationship is counted once. */
112786
+ totalAnnualSavings: Array<SubMoneyAmount>;
112787
+ totalCount: Scalars['Int']['output'];
112788
+ /** True when the workspace has more ACTIVE relationships than one detection reads. */
112789
+ truncated: Scalars['Boolean']['output'];
112790
+ };
112791
+ export type SubOverlapMember = {
112792
+ __typename?: 'SubOverlapMember';
112793
+ amount: Scalars['Float']['output'];
112794
+ /** `amount` normalised to a year (0 for non-recurring intervals). */
112795
+ annualCost: Scalars['Float']['output'];
112796
+ capabilities: Array<Scalars['String']['output']>;
112797
+ currency: Scalars['String']['output'];
112798
+ entitlementNames: Array<Scalars['String']['output']>;
112799
+ interval: SubBillingInterval;
112800
+ label: Scalars['String']['output'];
112801
+ providerId?: Maybe<Scalars['ID']['output']>;
112802
+ providerName?: Maybe<Scalars['String']['output']>;
112803
+ relationship?: Maybe<SubRelationship>;
112804
+ relationshipId: Scalars['ID']['output'];
112805
+ /** Total recorded usage across the relationship's active entitlements. */
112806
+ usage: Scalars['Int']['output'];
112807
+ };
112808
+ export declare enum SubOverlapType {
112809
+ /** Different providers that share a `capability:` tag (e.g. `capability:cloud-storage`). */
112810
+ Capability = "CAPABILITY",
112811
+ /** A relationship whose entitlements are substantially included in another provider's. */
112812
+ Entitlement = "ENTITLEMENT",
112813
+ /** Two or more ACTIVE relationships with the same provider. */
112814
+ ExactDuplicate = "EXACT_DUPLICATE"
112815
+ }
110650
112816
  export type SubPageInfo = {
110651
112817
  __typename?: 'SubPageInfo';
110652
112818
  cursor?: Maybe<Scalars['String']['output']>;
@@ -110795,8 +112961,11 @@ export type SubRelationship = {
110795
112961
  cancelledAt?: Maybe<Scalars['DateTime']['output']>;
110796
112962
  createdAt: Scalars['DateTime']['output'];
110797
112963
  currency: Scalars['String']['output'];
112964
+ /** Department / team / cost centre the spend is allocated to (null = unallocated). */
112965
+ department?: Maybe<Scalars['String']['output']>;
110798
112966
  discoverySource: SubDiscoverySource;
110799
112967
  entitlements: Array<SubEntitlement>;
112968
+ /** Computed Subscription Health Score, 0-100: entitlement usage (40%), paid invoice share (25%), renewal price stability (20%) and portfolio overlap (15%). Refreshed by every agent run and by `subRecomputeHealthScores`; null until first computed. */
110800
112969
  healthScore?: Maybe<Scalars['Int']['output']>;
110801
112970
  id: Scalars['ID']['output'];
110802
112971
  interval: SubBillingInterval;
@@ -110860,16 +113029,139 @@ export type SubRenewalEventConnection = {
110860
113029
  items: Array<SubRenewalEvent>;
110861
113030
  pageInfo: SubPageInfo;
110862
113031
  };
113032
+ export type SubRenewalQuarter = {
113033
+ __typename?: 'SubRenewalQuarter';
113034
+ amount: Scalars['Float']['output'];
113035
+ endsAt: Scalars['DateTime']['output'];
113036
+ label: Scalars['String']['output'];
113037
+ quarter: Scalars['Int']['output'];
113038
+ relationshipCount: Scalars['Int']['output'];
113039
+ renewalCount: Scalars['Int']['output'];
113040
+ startsAt: Scalars['DateTime']['output'];
113041
+ topRenewals: Array<SubUpcomingRenewal>;
113042
+ year: Scalars['Int']['output'];
113043
+ };
110863
113044
  export declare enum SubReportStatus {
110864
113045
  Dismissed = "DISMISSED",
110865
113046
  Pending = "PENDING",
110866
113047
  Resolved = "RESOLVED"
110867
113048
  }
113049
+ /** Set by wspace-scheduler-svc at fire time: idempotencyKey is "<scheduleId>:<scheduledTime>" and triggerData carries scheduledTime, firedAt, timezone, scheduleId and eventId. */
113050
+ export type SubRunAgentSweepInput = {
113051
+ /** Run every enabled agent even if it ran recently. Status gating, the kill switch, the decision cap and the quota pre-flight still apply. */
113052
+ force?: InputMaybe<Scalars['Boolean']['input']>;
113053
+ idempotencyKey?: InputMaybe<Scalars['String']['input']>;
113054
+ triggerData?: InputMaybe<Scalars['JSON']['input']>;
113055
+ };
113056
+ /** Open (PROPOSED) decisions of one recommendation in one currency. */
113057
+ export type SubSavingsGroup = {
113058
+ __typename?: 'SubSavingsGroup';
113059
+ annualSavings: Scalars['Float']['output'];
113060
+ count: Scalars['Int']['output'];
113061
+ currency: Scalars['String']['output'];
113062
+ recommendation: SubDecisionRecommendation;
113063
+ };
113064
+ export type SubSavingsOverview = {
113065
+ __typename?: 'SubSavingsOverview';
113066
+ /** Bundle suggestions: the duplicate and overlap groups (subDetectOverlaps) that recommend cancelling something and were not dismissed. Consolidating one keeps `keepRelationshipId` and cancels `dropRelationshipIds`. */
113067
+ bundles: Array<SubOverlap>;
113068
+ generatedAt: Scalars['DateTime']['output'];
113069
+ groups: Array<SubSavingsGroup>;
113070
+ /** Open (PROPOSED) decisions counted. */
113071
+ openDecisions: Scalars['Int']['output'];
113072
+ totals: Array<SubSavingsTotal>;
113073
+ /** True when the workspace has more open decisions or live subscriptions than one overview scans. */
113074
+ truncated: Scalars['Boolean']['output'];
113075
+ };
113076
+ /** Headline yearly saving in one currency, counting every subscription once (the largest saving among its open recommendations and bundle suggestions). */
113077
+ export type SubSavingsTotal = {
113078
+ __typename?: 'SubSavingsTotal';
113079
+ annualSavings: Scalars['Float']['output'];
113080
+ currency: Scalars['String']['output'];
113081
+ /** Part of `annualSavings` that comes from bundle suggestions. */
113082
+ fromBundles: Scalars['Float']['output'];
113083
+ /** Part of `annualSavings` that comes from open decisions. */
113084
+ fromDecisions: Scalars['Float']['output'];
113085
+ };
113086
+ export type SubSetSpendBudgetInput = {
113087
+ currency: Scalars['String']['input'];
113088
+ /** Department to budget; omit or leave empty for the company-wide budget. */
113089
+ department?: InputMaybe<Scalars['String']['input']>;
113090
+ /** Monthly budget. Null, zero or a negative amount removes the budget. */
113091
+ monthlyAmount?: InputMaybe<Scalars['Float']['input']>;
113092
+ };
113093
+ export type SubShadowItItem = {
113094
+ __typename?: 'SubShadowItItem';
113095
+ department?: Maybe<Scalars['String']['output']>;
113096
+ detectedAt: Scalars['DateTime']['output'];
113097
+ discoverySource: SubDiscoverySource;
113098
+ label: Scalars['String']['output'];
113099
+ monthlySpend: Scalars['Float']['output'];
113100
+ providerId?: Maybe<Scalars['ID']['output']>;
113101
+ providerName?: Maybe<Scalars['String']['output']>;
113102
+ reason: SubShadowItReason;
113103
+ relationshipId: Scalars['ID']['output'];
113104
+ };
113105
+ export declare enum SubShadowItReason {
113106
+ /** Linked to a provider that has been deprecated (removed from the catalogue). */
113107
+ DeprecatedProvider = "DEPRECATED_PROVIDER",
113108
+ /** Discovered automatically and not linked to any provider in the catalogue. */
113109
+ Uncatalogued = "UNCATALOGUED",
113110
+ /** Discovered automatically and linked to a provider nobody has verified. */
113111
+ UnverifiedProvider = "UNVERIFIED_PROVIDER"
113112
+ }
113113
+ export type SubSpendBudget = {
113114
+ __typename?: 'SubSpendBudget';
113115
+ currency: Scalars['String']['output'];
113116
+ /** Department the budget applies to; null for the company-wide budget. */
113117
+ department?: Maybe<Scalars['String']['output']>;
113118
+ id: Scalars['ID']['output'];
113119
+ monthlyAmount: Scalars['Float']['output'];
113120
+ updatedAt: Scalars['DateTime']['output'];
113121
+ };
113122
+ export type SubSpendRiskFlag = {
113123
+ __typename?: 'SubSpendRiskFlag';
113124
+ department?: Maybe<Scalars['String']['output']>;
113125
+ detail: Scalars['String']['output'];
113126
+ kind: SubSpendRiskKind;
113127
+ label: Scalars['String']['output'];
113128
+ monthlySpend: Scalars['Float']['output'];
113129
+ relationshipId: Scalars['ID']['output'];
113130
+ severity: SubSpendRiskSeverity;
113131
+ };
113132
+ export declare enum SubSpendRiskKind {
113133
+ HighCostAi = "HIGH_COST_AI",
113134
+ MissingInvoice = "MISSING_INVOICE",
113135
+ PastDue = "PAST_DUE",
113136
+ UntrackedTrial = "UNTRACKED_TRIAL"
113137
+ }
113138
+ export declare enum SubSpendRiskSeverity {
113139
+ High = "HIGH",
113140
+ Low = "LOW",
113141
+ Medium = "MEDIUM"
113142
+ }
113143
+ export type SubSpendTrendPoint = {
113144
+ __typename?: 'SubSpendTrendPoint';
113145
+ at: Scalars['DateTime']['output'];
113146
+ /** Monthly run-rate of recurring spend at this instant. */
113147
+ monthlySpend: Scalars['Float']['output'];
113148
+ };
110868
113149
  export declare enum SubSubmissionStatus {
110869
113150
  Approved = "APPROVED",
110870
113151
  Pending = "PENDING",
110871
113152
  Rejected = "REJECTED"
110872
113153
  }
113154
+ export type SubUpcomingRenewal = {
113155
+ __typename?: 'SubUpcomingRenewal';
113156
+ /** Total renewal charges of this relationship in the quarter. */
113157
+ amount: Scalars['Float']['output'];
113158
+ autoRenew: Scalars['Boolean']['output'];
113159
+ department?: Maybe<Scalars['String']['output']>;
113160
+ label: Scalars['String']['output'];
113161
+ relationshipId: Scalars['ID']['output'];
113162
+ /** First renewal of this relationship in the quarter. */
113163
+ renewsAt: Scalars['DateTime']['output'];
113164
+ };
110873
113165
  export type SubUpdateProviderInput = {
110874
113166
  category?: InputMaybe<SubProviderCategory>;
110875
113167
  churnRiskScore?: InputMaybe<Scalars['Int']['input']>;
@@ -110889,6 +113181,9 @@ export type SubUpdateRelationshipInput = {
110889
113181
  amount?: InputMaybe<Scalars['Float']['input']>;
110890
113182
  autoRenew?: InputMaybe<Scalars['Boolean']['input']>;
110891
113183
  currency?: InputMaybe<Scalars['String']['input']>;
113184
+ /** Department / team / cost centre; an empty string clears it. */
113185
+ department?: InputMaybe<Scalars['String']['input']>;
113186
+ /** @deprecated healthScore is computed from recorded signals; a supplied value is ignored. Use subRecomputeHealthScores. */
110892
113187
  healthScore?: InputMaybe<Scalars['Int']['input']>;
110893
113188
  interval?: InputMaybe<SubBillingInterval>;
110894
113189
  kind?: InputMaybe<SubRelationshipKind>;
@@ -112487,6 +114782,9 @@ export declare enum TcpArchiveItemKind {
112487
114782
  export type TcpCitation = {
112488
114783
  __typename?: 'TcpCitation';
112489
114784
  author?: Maybe<Scalars['String']['output']>;
114785
+ claim?: Maybe<TcpStoryClaim>;
114786
+ /** The claim in the story's evidence trail this citation supports (null when the citation is a general source not yet tied to a specific claim). */
114787
+ claimId?: Maybe<Scalars['ID']['output']>;
112490
114788
  createdAt: Scalars['DateTime']['output'];
112491
114789
  excerpt?: Maybe<Scalars['String']['output']>;
112492
114790
  id: Scalars['ID']['output'];
@@ -112551,6 +114849,8 @@ export type TcpCreateArchiveItemInput = {
112551
114849
  };
112552
114850
  export type TcpCreateCitationInput = {
112553
114851
  author?: InputMaybe<Scalars['String']['input']>;
114852
+ /** Optional claim (on the same story) this citation supports. */
114853
+ claimId?: InputMaybe<Scalars['ID']['input']>;
112554
114854
  excerpt?: InputMaybe<Scalars['String']['input']>;
112555
114855
  provenance?: InputMaybe<Scalars['String']['input']>;
112556
114856
  publishedOn?: InputMaybe<Scalars['DateTime']['input']>;
@@ -112596,6 +114896,13 @@ export type TcpCreateReplyInput = {
112596
114896
  discussionId: Scalars['ID']['input'];
112597
114897
  perspective?: InputMaybe<Scalars['String']['input']>;
112598
114898
  };
114899
+ export type TcpCreateStoryClaimInput = {
114900
+ bodyEnd?: InputMaybe<Scalars['Int']['input']>;
114901
+ /** Explicit anchor offsets into the story body. Omit both to have the service locate `text` in the body (the claim stays unanchored if it is not found). */
114902
+ bodyStart?: InputMaybe<Scalars['Int']['input']>;
114903
+ storyId: Scalars['ID']['input'];
114904
+ text: Scalars['String']['input'];
114905
+ };
112599
114906
  export type TcpCreateStoryInput = {
112600
114907
  authorId?: InputMaybe<Scalars['ID']['input']>;
112601
114908
  body?: InputMaybe<Scalars['String']['input']>;
@@ -112696,21 +115003,9 @@ export type TcpPageInfo = {
112696
115003
  cursor?: Maybe<Scalars['String']['output']>;
112697
115004
  hasMore: Scalars['Boolean']['output'];
112698
115005
  };
112699
- export type TcpReply = {
112700
- __typename?: 'TcpReply';
112701
- authorId?: Maybe<Scalars['ID']['output']>;
112702
- body: Scalars['String']['output'];
112703
- createdAt: Scalars['DateTime']['output'];
112704
- discussionId: Scalars['ID']['output'];
112705
- id: Scalars['ID']['output'];
112706
- perspective?: Maybe<Scalars['String']['output']>;
112707
- status: TcpModerationStatus;
112708
- updatedAt: Scalars['DateTime']['output'];
112709
- workspaceId: Scalars['ID']['output'];
112710
- };
112711
115006
  export type TcpReplyConnection = {
112712
115007
  __typename?: 'TcpReplyConnection';
112713
- items: Array<TcpReply>;
115008
+ items: Array<EntityComment>;
112714
115009
  pageInfo: TcpPageInfo;
112715
115010
  };
112716
115011
  export declare enum TcpSourceType {
@@ -112728,6 +115023,8 @@ export type TcpStory = {
112728
115023
  authorId?: Maybe<Scalars['ID']['output']>;
112729
115024
  body?: Maybe<Scalars['String']['output']>;
112730
115025
  citations: TcpCitationConnection;
115026
+ /** The story's evidence trail: numbered claims made in the body, in display order, each linked to the citations that support it. */
115027
+ claims: Array<TcpStoryClaim>;
112731
115028
  /** Hero/cover image — references a wspace-files-svc File (blobs live there). */
112732
115029
  cover?: Maybe<File>;
112733
115030
  createdAt: Scalars['DateTime']['output'];
@@ -112754,6 +115051,23 @@ export type TcpStory = {
112754
115051
  export type TcpStoryCitationsArgs = {
112755
115052
  pagination?: InputMaybe<PaginationInput>;
112756
115053
  };
115054
+ /** A factual claim made in a story's body, numbered in the story's evidence trail and backed by one or more citations. `bodyStart`/`bodyEnd` are character offsets into `TcpStory.body` (null when the claim paraphrases the body and is not anchored to an exact passage). */
115055
+ export type TcpStoryClaim = {
115056
+ __typename?: 'TcpStoryClaim';
115057
+ bodyEnd?: Maybe<Scalars['Int']['output']>;
115058
+ bodyStart?: Maybe<Scalars['Int']['output']>;
115059
+ /** Citations supporting this claim, oldest first. */
115060
+ citations: Array<TcpCitation>;
115061
+ createdAt: Scalars['DateTime']['output'];
115062
+ id: Scalars['ID']['output'];
115063
+ /** 1-based position in the evidence trail. */
115064
+ position: Scalars['Int']['output'];
115065
+ story?: Maybe<TcpStory>;
115066
+ storyId: Scalars['ID']['output'];
115067
+ text: Scalars['String']['output'];
115068
+ updatedAt: Scalars['DateTime']['output'];
115069
+ workspaceId: Scalars['ID']['output'];
115070
+ };
112757
115071
  export type TcpStoryConnection = {
112758
115072
  __typename?: 'TcpStoryConnection';
112759
115073
  items: Array<TcpStory>;
@@ -112835,6 +115149,15 @@ export type TcpUpdateOralHistoryInput = {
112835
115149
  title?: InputMaybe<Scalars['String']['input']>;
112836
115150
  transcript?: InputMaybe<Scalars['String']['input']>;
112837
115151
  };
115152
+ export type TcpUpdateStoryClaimInput = {
115153
+ bodyEnd?: InputMaybe<Scalars['Int']['input']>;
115154
+ bodyStart?: InputMaybe<Scalars['Int']['input']>;
115155
+ /** Drop the body anchor and keep the claim as an unanchored paraphrase. */
115156
+ clearAnchor?: InputMaybe<Scalars['Boolean']['input']>;
115157
+ /** Move the claim to this 1-based position; the trail is renumbered 1..n. */
115158
+ position?: InputMaybe<Scalars['Int']['input']>;
115159
+ text?: InputMaybe<Scalars['String']['input']>;
115160
+ };
112838
115161
  export type TcpUpdateStoryInput = {
112839
115162
  authorId?: InputMaybe<Scalars['ID']['input']>;
112840
115163
  body?: InputMaybe<Scalars['String']['input']>;
@@ -112918,6 +115241,10 @@ export type TecBookSessionInput = {
112918
115241
  };
112919
115242
  export type TecCertificate = {
112920
115243
  __typename?: 'TecCertificate';
115244
+ /** BOFF-3134: id of the canonical certificate in Buildmyiq; null until mirrored. */
115245
+ buiCertificateId?: Maybe<Scalars['ID']['output']>;
115246
+ /** BOFF-3134: the canonical Buildmyiq certificate this certificate is mirrored to. */
115247
+ canonicalCertificate?: Maybe<BuiCertificate>;
112921
115248
  course?: Maybe<TecCourse>;
112922
115249
  courseId: Scalars['ID']['output'];
112923
115250
  createdAt: Scalars['DateTime']['output'];
@@ -112938,6 +115265,10 @@ export declare enum TecCertificateStatus {
112938
115265
  }
112939
115266
  export type TecCourse = {
112940
115267
  __typename?: 'TecCourse';
115268
+ /** BOFF-3134: id of the canonical course in Buildmyiq, the platform's LMS system of record. Null until the course has been mirrored there (normally within seconds of a write; the reconcile sweep catches up any backlog). */
115269
+ buiCourseId?: Maybe<Scalars['ID']['output']>;
115270
+ /** BOFF-3134: the canonical Buildmyiq course this course is mirrored to. */
115271
+ canonicalCourse?: Maybe<BuiCourse>;
112941
115272
  /** Reference to a wspace-files-svc File for the cover image (blobs live there). */
112942
115273
  cover?: Maybe<File>;
112943
115274
  createdAt: Scalars['DateTime']['output'];
@@ -113057,6 +115388,10 @@ export type TecEnrollInput = {
113057
115388
  };
113058
115389
  export type TecEnrollment = {
113059
115390
  __typename?: 'TecEnrollment';
115391
+ /** BOFF-3134: id of the canonical enrollment in Buildmyiq; null until mirrored. */
115392
+ buiEnrollmentId?: Maybe<Scalars['ID']['output']>;
115393
+ /** BOFF-3134: the canonical Buildmyiq enrollment this enrollment is mirrored to. */
115394
+ canonicalEnrollment?: Maybe<BuiEnrollment>;
113060
115395
  completedAt?: Maybe<Scalars['DateTime']['output']>;
113061
115396
  /** Lessons finished in this enrollment (BOFF-4107), oldest first. */
113062
115397
  completions: Array<TecLessonCompletion>;
@@ -114733,11 +117068,21 @@ export type TimeCampusCaptureChannel = {
114733
117068
  id: Scalars['ID']['output'];
114734
117069
  /** Opaque reference to a wspace-integrations-svc connection for OAuth-backed connectors. */
114735
117070
  integrationConnectionId?: Maybe<Scalars['String']['output']>;
117071
+ /** When the integration connection was revoked. A revoked channel needs a new connection to resume. */
117072
+ integrationRevokedAt?: Maybe<Scalars['DateTime']['output']>;
114736
117073
  lastEventAt?: Maybe<Scalars['DateTime']['output']>;
114737
117074
  lastSyncAt?: Maybe<Scalars['DateTime']['output']>;
117075
+ /** When a sync of this pull channel last started. */
117076
+ lastSyncAttemptAt?: Maybe<Scalars['DateTime']['output']>;
117077
+ /** Why the last sync (or the integration revoke) failed; null after a successful sync. */
117078
+ lastSyncError?: Maybe<Scalars['String']['output']>;
117079
+ /** How the last sync of this pull channel ended; null before the first sync. */
117080
+ lastSyncStatus?: Maybe<TimeCampusCaptureChannelSyncStatus>;
114738
117081
  name: Scalars['String']['output'];
114739
117082
  privacyMode: TimeCampusCaptureChannelPrivacyMode;
114740
117083
  provider?: Maybe<Scalars['String']['output']>;
117084
+ /** True when TimeCampus pulls this channel from its provider on a schedule (OAuth-backed connectors). */
117085
+ pullSync: Scalars['Boolean']['output'];
114741
117086
  /** Captured events from this channel older than this many days are purged. Null keeps them. */
114742
117087
  retentionDays?: Maybe<Scalars['Int']['output']>;
114743
117088
  status: TimeCampusCaptureChannelStatus;
@@ -114771,6 +117116,24 @@ export declare enum TimeCampusCaptureChannelStatus {
114771
117116
  /** Temporarily paused: events sent while paused are refused and never stored. */
114772
117117
  Paused = "PAUSED"
114773
117118
  }
117119
+ export type TimeCampusCaptureChannelSyncResult = {
117120
+ __typename?: 'TimeCampusCaptureChannelSyncResult';
117121
+ channel: TimeCampusCaptureChannel;
117122
+ duplicates: Scalars['Int']['output'];
117123
+ error?: Maybe<Scalars['String']['output']>;
117124
+ ingested: Scalars['Int']['output'];
117125
+ status: TimeCampusCaptureChannelSyncStatus;
117126
+ };
117127
+ export declare enum TimeCampusCaptureChannelSyncStatus {
117128
+ /** The provider or the integrations service failed; the next scheduled sync retries. */
117129
+ Failed = "FAILED",
117130
+ /** The integration connection is revoked, expired or rejected by the provider: connect the account again. */
117131
+ ReconnectRequired = "RECONNECT_REQUIRED",
117132
+ /** Nothing was pulled (the channel stopped accepting events, or capture is turned off for the source). */
117133
+ Skipped = "SKIPPED",
117134
+ /** Pulled and ingested. */
117135
+ Synced = "SYNCED"
117136
+ }
114774
117137
  export declare enum TimeCampusCaptureChannelType {
114775
117138
  Api = "API",
114776
117139
  Browser = "BROWSER",
@@ -114779,6 +117142,8 @@ export declare enum TimeCampusCaptureChannelType {
114779
117142
  Custom = "CUSTOM",
114780
117143
  Desktop = "DESKTOP",
114781
117144
  Ide = "IDE",
117145
+ /** Activity pulled from a connected third-party app through wspace-integrations-svc, e.g. GitHub. */
117146
+ Integration = "INTEGRATION",
114782
117147
  Mobile = "MOBILE"
114783
117148
  }
114784
117149
  export type TimeCampusCaptureEvent = {
@@ -114841,6 +117206,17 @@ export type TimeCampusCaptureEventListResponse = {
114841
117206
  items: Array<TimeCampusCaptureEvent>;
114842
117207
  total: Scalars['Int']['output'];
114843
117208
  };
117209
+ /** An OAuth-backed source TimeCampus can pull from (BOFF-10441). Connect it by creating a wspace-integrations-svc connection for `integrationProviderKey`, then `connectTimeCampusCaptureChannel` with `type: channelType`, `provider: key` and the connection id. */
117210
+ export type TimeCampusCapturePullProvider = {
117211
+ __typename?: 'TimeCampusCapturePullProvider';
117212
+ channelType: TimeCampusCaptureChannelType;
117213
+ defaultSyncIntervalMinutes: Scalars['Int']['output'];
117214
+ description: Scalars['String']['output'];
117215
+ integrationProviderKey: Scalars['String']['output'];
117216
+ key: Scalars['String']['output'];
117217
+ label: Scalars['String']['output'];
117218
+ minSyncIntervalMinutes: Scalars['Int']['output'];
117219
+ };
114844
117220
  /** Result of computing (and persisting) a project suggestion for a capture event — see `suggestTimeCampusCaptureEventCategory`. */
114845
117221
  export type TimeCampusCategorySuggestion = {
114846
117222
  __typename?: 'TimeCampusCategorySuggestion';
@@ -115458,6 +117834,80 @@ export type TimeCampusLifeValueUpdateInput = {
115458
117834
  name?: InputMaybe<Scalars['String']['input']>;
115459
117835
  weight?: InputMaybe<Scalars['Float']['input']>;
115460
117836
  };
117837
+ /** One fact behind the signal, tied to a week and to the rows it came from. */
117838
+ export type TimeCampusLoadEvidence = {
117839
+ __typename?: 'TimeCampusLoadEvidence';
117840
+ kind: TimeCampusLoadEvidenceKind;
117841
+ observation: Scalars['String']['output'];
117842
+ /** How many rows are behind this fact in total. */
117843
+ refCount: Scalars['Int']['output'];
117844
+ /** Up to 20 of the rows behind this fact. */
117845
+ refs: Array<TimeCampusLoadEvidenceRef>;
117846
+ /** The rules threshold the value is compared against. */
117847
+ threshold?: Maybe<Scalars['Float']['output']>;
117848
+ /** The measured value (hours, share, days or rate, by kind). */
117849
+ value?: Maybe<Scalars['Float']['output']>;
117850
+ /** Last local day (YYYY-MM-DD) of that week. */
117851
+ weekEnd: Scalars['String']['output'];
117852
+ /** First local day (YYYY-MM-DD) of the week the fact is about. */
117853
+ weekStart: Scalars['String']['output'];
117854
+ };
117855
+ export declare enum TimeCampusLoadEvidenceKind {
117856
+ AfterHours = "AFTER_HOURS",
117857
+ Fragmentation = "FRAGMENTATION",
117858
+ LongHours = "LONG_HOURS",
117859
+ NoRecovery = "NO_RECOVERY",
117860
+ WithinRange = "WITHIN_RANGE"
117861
+ }
117862
+ /** A row the signal read: one of the caller's own time entries, work-pattern rows or app-usage rows. */
117863
+ export type TimeCampusLoadEvidenceRef = {
117864
+ __typename?: 'TimeCampusLoadEvidenceRef';
117865
+ id: Scalars['ID']['output'];
117866
+ type: TimeCampusLoadEvidenceRefType;
117867
+ };
117868
+ export declare enum TimeCampusLoadEvidenceRefType {
117869
+ AppUsage = "APP_USAGE",
117870
+ TimeEntry = "TIME_ENTRY",
117871
+ WorkPattern = "WORK_PATTERN"
117872
+ }
117873
+ export declare enum TimeCampusLoadFallbackReason {
117874
+ AiNotEnabled = "AI_NOT_ENABLED",
117875
+ InsufficientData = "INSUFFICIENT_DATA",
117876
+ InvalidReply = "INVALID_REPLY",
117877
+ LowConfidence = "LOW_CONFIDENCE",
117878
+ ProviderFailed = "PROVIDER_FAILED",
117879
+ ProviderNotConfigured = "PROVIDER_NOT_CONFIGURED"
117880
+ }
117881
+ export declare enum TimeCampusLoadLevel {
117882
+ Elevated = "ELEVATED",
117883
+ High = "HIGH",
117884
+ InsufficientData = "INSUFFICIENT_DATA",
117885
+ Low = "LOW"
117886
+ }
117887
+ export declare enum TimeCampusLoadSignalMethod {
117888
+ Model = "MODEL",
117889
+ Rules = "RULES"
117890
+ }
117891
+ /** Load facts for one week of local days. */
117892
+ export type TimeCampusLoadWeek = {
117893
+ __typename?: 'TimeCampusLoadWeek';
117894
+ activeDays: Scalars['Int']['output'];
117895
+ afterHoursHours?: Maybe<Scalars['Float']['output']>;
117896
+ /** Share (0..1) of time-entry time outside the workday window or on a weekend. */
117897
+ afterHoursShare?: Maybe<Scalars['Float']['output']>;
117898
+ contextSwitchesPerHour?: Maybe<Scalars['Float']['output']>;
117899
+ interruptionsPerDay?: Maybe<Scalars['Float']['output']>;
117900
+ /** Days with over ten hours of tracked work. */
117901
+ longDays: Scalars['Int']['output'];
117902
+ meetingHours?: Maybe<Scalars['Float']['output']>;
117903
+ /** Days with under one hour of tracked work. */
117904
+ recoveryDays: Scalars['Int']['output'];
117905
+ /** True when the week crossed two or more load thresholds. */
117906
+ strained: Scalars['Boolean']['output'];
117907
+ trackedHours: Scalars['Float']['output'];
117908
+ weekEnd: Scalars['String']['output'];
117909
+ weekStart: Scalars['String']['output'];
117910
+ };
115461
117911
  export declare enum TimeCampusOwnershipContext {
115462
117912
  Corporate = "CORPORATE",
115463
117913
  Personal = "PERSONAL"
@@ -115526,6 +117976,8 @@ export declare enum TimeCampusProjectStatus {
115526
117976
  }
115527
117977
  export type TimeCampusRecommendation = {
115528
117978
  __typename?: 'TimeCampusRecommendation';
117979
+ /** The provider:model that proposed an AI recommendation; null for rule-based ones. */
117980
+ aiModel?: Maybe<Scalars['String']['output']>;
115529
117981
  confidence?: Maybe<Scalars['Float']['output']>;
115530
117982
  createdAt: Scalars['DateTime']['output'];
115531
117983
  dismissReason?: Maybe<Scalars['String']['output']>;
@@ -115537,6 +117989,8 @@ export type TimeCampusRecommendation = {
115537
117989
  kind: Scalars['String']['output'];
115538
117990
  rationale: Scalars['String']['output'];
115539
117991
  snoozeUntil?: Maybe<Scalars['DateTime']['output']>;
117992
+ /** Who proposed it: RULES (the deterministic weekly rules) or AI (the opt-in model step). */
117993
+ source: TimeCampusRecommendationSource;
115540
117994
  state: Scalars['String']['output'];
115541
117995
  suggestedAction?: Maybe<Scalars['JSON']['output']>;
115542
117996
  title: Scalars['String']['output'];
@@ -115547,8 +118001,13 @@ export type TimeCampusRecommendation = {
115547
118001
  };
115548
118002
  export type TimeCampusRecommendationPreference = {
115549
118003
  __typename?: 'TimeCampusRecommendationPreference';
118004
+ /** Whether the autonomous loop may send this user a day summary and weekly digest unprompted. Off by default. */
118005
+ autonomousEnabled: Scalars['Boolean']['output'];
118006
+ autonomousEnabledAt?: Maybe<Scalars['DateTime']['output']>;
115550
118007
  cadence: Scalars['String']['output'];
115551
118008
  createdAt: Scalars['DateTime']['output'];
118009
+ /** Hour of the day (0-23, UTC) from which digests may be sent. */
118010
+ digestHourUtc: Scalars['Int']['output'];
115552
118011
  id: Scalars['ID']['output'];
115553
118012
  mutedKinds: Array<Scalars['String']['output']>;
115554
118013
  neverOptimiseForOutput: Scalars['Boolean']['output'];
@@ -115557,16 +118016,27 @@ export type TimeCampusRecommendationPreference = {
115557
118016
  quietHoursStart?: Maybe<Scalars['Int']['output']>;
115558
118017
  updatedAt: Scalars['DateTime']['output'];
115559
118018
  userId: Scalars['ID']['output'];
118019
+ /** ISO weekday (1 = Monday .. 7 = Sunday) of the weekly digest. */
118020
+ weeklyDigestDay: Scalars['Int']['output'];
115560
118021
  workspaceId: Scalars['ID']['output'];
115561
118022
  };
115562
118023
  export type TimeCampusRecommendationPreferenceInput = {
118024
+ /** Opt in to (true) or out of (false) the autonomous day summary and weekly digest. */
118025
+ autonomousEnabled?: InputMaybe<Scalars['Boolean']['input']>;
118026
+ /** DAILY (day summary and weekly digest) or WEEKLY (weekly digest only). */
115563
118027
  cadence?: InputMaybe<Scalars['String']['input']>;
118028
+ digestHourUtc?: InputMaybe<Scalars['Int']['input']>;
115564
118029
  mutedKinds?: InputMaybe<Array<Scalars['String']['input']>>;
115565
118030
  neverOptimiseForOutput?: InputMaybe<Scalars['Boolean']['input']>;
115566
118031
  optedInDomains?: InputMaybe<Array<TimeCampusLifeDomain>>;
115567
118032
  quietHoursEnd?: InputMaybe<Scalars['Int']['input']>;
115568
118033
  quietHoursStart?: InputMaybe<Scalars['Int']['input']>;
118034
+ weeklyDigestDay?: InputMaybe<Scalars['Int']['input']>;
115569
118035
  };
118036
+ export declare enum TimeCampusRecommendationSource {
118037
+ Ai = "AI",
118038
+ Rules = "RULES"
118039
+ }
115570
118040
  export declare enum TimeCampusSortDirection {
115571
118041
  Asc = "asc",
115572
118042
  Desc = "desc"
@@ -115584,6 +118054,26 @@ export type TimeCampusSourceConsent = {
115584
118054
  userId: Scalars['ID']['output'];
115585
118055
  workspaceId: Scalars['ID']['output'];
115586
118056
  };
118057
+ /** Whether the caller's own work load has been heavy for several weeks running, with a plain-language rationale and the evidence behind it. Never a productivity score. `method` says whether the rules or a model (workspace opt-in `timecampus.ai.sustained-load`) produced the level; `fallbackReason` says why the rules were used. */
118058
+ export type TimeCampusSustainedLoadSignal = {
118059
+ __typename?: 'TimeCampusSustainedLoadSignal';
118060
+ confidence?: Maybe<Scalars['Float']['output']>;
118061
+ evidence: Array<TimeCampusLoadEvidence>;
118062
+ fallbackReason?: Maybe<TimeCampusLoadFallbackReason>;
118063
+ generatedAt: Scalars['DateTime']['output'];
118064
+ level: TimeCampusLoadLevel;
118065
+ method: TimeCampusLoadSignalMethod;
118066
+ /** provider:model that produced the level when method is MODEL. */
118067
+ model?: Maybe<Scalars['String']['output']>;
118068
+ rationale: Scalars['String']['output'];
118069
+ /** The rules engine's level, shown next to a model level for comparison. */
118070
+ rulesLevel: TimeCampusLoadLevel;
118071
+ timezone: Scalars['String']['output'];
118072
+ /** The weeks read, oldest first. */
118073
+ weeks: Array<TimeCampusLoadWeek>;
118074
+ windowEnd: Scalars['String']['output'];
118075
+ windowStart: Scalars['String']['output'];
118076
+ };
115587
118077
  export type TimeCampusTemplateApplication = {
115588
118078
  __typename?: 'TimeCampusTemplateApplication';
115589
118079
  appliedBy: Scalars['ID']['output'];
@@ -115615,6 +118105,74 @@ export type TimeCampusTemplateProject = {
115615
118105
  name: Scalars['String']['output'];
115616
118106
  tasks: Array<Scalars['String']['output']>;
115617
118107
  };
118108
+ /** A day summary or weekly digest the loop handled for the calling user. */
118109
+ export type TimeCampusTimeIntelligenceDelivery = {
118110
+ __typename?: 'TimeCampusTimeIntelligenceDelivery';
118111
+ createdAt: Scalars['DateTime']['output'];
118112
+ id: Scalars['ID']['output'];
118113
+ notified: Scalars['Boolean']['output'];
118114
+ /** DAILY or WEEKLY. */
118115
+ period: Scalars['String']['output'];
118116
+ /** YYYY-MM-DD (UTC day) or YYYY-Www (ISO week). */
118117
+ periodKey: Scalars['String']['output'];
118118
+ recommendationIds: Array<Scalars['ID']['output']>;
118119
+ /** SENT, EMPTY (nothing to report, so nothing was sent) or FAILED (the notification was not accepted). */
118120
+ status: Scalars['String']['output'];
118121
+ /** Aggregate figures only (seconds, ratios, counts). */
118122
+ summary?: Maybe<Scalars['JSON']['output']>;
118123
+ /** SCHEDULED or MANUAL. */
118124
+ trigger: Scalars['String']['output'];
118125
+ };
118126
+ export type TimeCampusTimeIntelligenceReconcileResult = {
118127
+ __typename?: 'TimeCampusTimeIntelligenceReconcileResult';
118128
+ ensured: Scalars['Int']['output'];
118129
+ failed: Scalars['Int']['output'];
118130
+ workspaces: Scalars['Int']['output'];
118131
+ };
118132
+ /** The workspace's registration with wspace-scheduler-svc. */
118133
+ export type TimeCampusTimeIntelligenceSchedule = {
118134
+ __typename?: 'TimeCampusTimeIntelligenceSchedule';
118135
+ cronExpression: Scalars['String']['output'];
118136
+ id: Scalars['ID']['output'];
118137
+ lastError?: Maybe<Scalars['String']['output']>;
118138
+ lastSweepAt?: Maybe<Scalars['DateTime']['output']>;
118139
+ /** Id of the job on the shared Schedules screen. */
118140
+ schedulerJobId?: Maybe<Scalars['ID']['output']>;
118141
+ /** PENDING, ACTIVE or FAILED. */
118142
+ status: Scalars['String']['output'];
118143
+ timezone: Scalars['String']['output'];
118144
+ updatedAt: Scalars['DateTime']['output'];
118145
+ workspaceId: Scalars['ID']['output'];
118146
+ };
118147
+ /** One execution of the loop for a workspace. */
118148
+ export type TimeCampusTimeIntelligenceSweep = {
118149
+ __typename?: 'TimeCampusTimeIntelligenceSweep';
118150
+ /** AI credits the sweep consumed. The loop makes no model call today, so this is 0. */
118151
+ aiCreditsUsed: Scalars['Int']['output'];
118152
+ dailySummariesSent: Scalars['Int']['output'];
118153
+ /** True when this fire repeated an idempotency key and returned the original sweep. */
118154
+ duplicate: Scalars['Boolean']['output'];
118155
+ error?: Maybe<Scalars['String']['output']>;
118156
+ finishedAt?: Maybe<Scalars['DateTime']['output']>;
118157
+ id: Scalars['ID']['output'];
118158
+ recommendationsCreated: Scalars['Int']['output'];
118159
+ scheduledFor?: Maybe<Scalars['DateTime']['output']>;
118160
+ /** RATE_LIMITED, KILL_SWITCH or NO_OPTED_IN_USERS when status is SKIPPED. */
118161
+ skippedReason?: Maybe<Scalars['String']['output']>;
118162
+ startedAt: Scalars['DateTime']['output'];
118163
+ /** RUNNING, COMPLETED, SKIPPED or FAILED. */
118164
+ status: Scalars['String']['output'];
118165
+ /** SCHEDULED (fired by wspace-scheduler-svc) or MANUAL (run by a super admin). */
118166
+ trigger: Scalars['String']['output'];
118167
+ usersConsidered: Scalars['Int']['output'];
118168
+ weeklyDigestsSent: Scalars['Int']['output'];
118169
+ workspaceId: Scalars['ID']['output'];
118170
+ };
118171
+ /** Execution context the scheduler adds at fire time. idempotencyKey is "<scheduleId>:<scheduledTime>" and triggerData carries scheduledTime, firedAt, timezone, scheduleId and eventId. */
118172
+ export type TimeCampusTimeIntelligenceSweepInput = {
118173
+ idempotencyKey?: InputMaybe<Scalars['String']['input']>;
118174
+ triggerData?: InputMaybe<Scalars['JSON']['input']>;
118175
+ };
115618
118176
  export type TimeCampusTimeWellSpent = {
115619
118177
  __typename?: 'TimeCampusTimeWellSpent';
115620
118178
  byDomain: Array<TimeCampusDomainAlignment>;
@@ -117716,6 +120274,14 @@ export type UpdateCrewServiceListingInput = {
117716
120274
  status?: InputMaybe<Scalars['String']['input']>;
117717
120275
  title?: InputMaybe<Scalars['String']['input']>;
117718
120276
  };
120277
+ /** Edit a skill. Omitted fields are left unchanged; `aliases` replaces the list. A rename keeps the old name as an alias. Editing a BACKFILL skill marks it reviewed (source becomes CUSTOM). */
120278
+ export type UpdateCrewSkillInput = {
120279
+ aliases?: InputMaybe<Array<Scalars['String']['input']>>;
120280
+ category?: InputMaybe<Scalars['String']['input']>;
120281
+ /** Empty string clears it. */
120282
+ description?: InputMaybe<Scalars['String']['input']>;
120283
+ name?: InputMaybe<Scalars['String']['input']>;
120284
+ };
117719
120285
  export type UpdateCrewTeamInput = {
117720
120286
  department?: InputMaybe<Scalars['String']['input']>;
117721
120287
  description?: InputMaybe<Scalars['String']['input']>;
@@ -119672,7 +122238,10 @@ export type UpdateRoleInput = {
119672
122238
  name?: InputMaybe<Scalars['String']['input']>;
119673
122239
  parentId?: InputMaybe<Scalars['ID']['input']>;
119674
122240
  priority?: InputMaybe<Scalars['Int']['input']>;
119675
- /** Product this role belongs to (PlatformProduct.slug). Set to null only from admin-app flows that intentionally manage cross-product platform roles. */
122241
+ /**
122242
+ * Product this role belongs to (PlatformProduct.slug). Set to null only from
122243
+ * admin-app flows that intentionally manage cross-product platform roles.
122244
+ */
119676
122245
  productSlug?: InputMaybe<Scalars['String']['input']>;
119677
122246
  };
119678
122247
  export type UpdateRouteInput = {