@burdenoff/microfe-timecampus 2026.1031.3 → 2026.1031.5

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 (28) hide show
  1. package/dist/generated/wspace-operations.d.ts +66 -0
  2. package/dist/generated/wspace-operations.d.ts.map +1 -1
  3. package/dist/generated/wspace-operations.js +58 -1
  4. package/dist/generated/wspace-operations.js.map +1 -1
  5. package/dist/generated/wspace-types.d.ts +2455 -45
  6. package/dist/generated/wspace-types.d.ts.map +1 -1
  7. package/dist/generated/wspace-types.js.map +1 -1
  8. package/dist/index.js +7 -7
  9. package/dist/timecampus/index.js +7 -7
  10. package/dist/timecampus/pages/channels/ChannelsPage.d.ts.map +1 -1
  11. package/dist/timecampus/pages/channels/ChannelsPage.js +25 -18
  12. package/dist/timecampus/pages/channels/ChannelsPage.js.map +1 -1
  13. package/dist/timecampus/pages/channels/channelCatalog.d.ts +9 -3
  14. package/dist/timecampus/pages/channels/channelCatalog.d.ts.map +1 -1
  15. package/dist/timecampus/pages/channels/channelCatalog.js +19 -15
  16. package/dist/timecampus/pages/channels/channelCatalog.js.map +1 -1
  17. package/dist/timecampus/pages/work-patterns/SustainedLoadCard.d.ts +10 -0
  18. package/dist/timecampus/pages/work-patterns/SustainedLoadCard.d.ts.map +1 -0
  19. package/dist/timecampus/pages/work-patterns/SustainedLoadCard.js +180 -0
  20. package/dist/timecampus/pages/work-patterns/SustainedLoadCard.js.map +1 -0
  21. package/dist/timecampus/pages/work-patterns/WorkPatternsPage.d.ts.map +1 -1
  22. package/dist/timecampus/pages/work-patterns/WorkPatternsPage.js +94 -130
  23. package/dist/timecampus/pages/work-patterns/WorkPatternsPage.js.map +1 -1
  24. package/dist/timecampus/pages/work-patterns/sustainedLoad.d.ts +30 -0
  25. package/dist/timecampus/pages/work-patterns/sustainedLoad.d.ts.map +1 -0
  26. package/dist/timecampus/pages/work-patterns/sustainedLoad.js +59 -0
  27. package/dist/timecampus/pages/work-patterns/sustainedLoad.js.map +1 -0
  28. package/package.json +1 -1
@@ -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;
@@ -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. */
@@ -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. */
@@ -57294,7 +58580,11 @@ export type Mutation = {
57294
58580
  registerNode: NodeEndpointConfig;
57295
58581
  /** 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
58582
  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. */
58583
+ /**
58584
+ * Register a resource with custom RBAC configurations.
58585
+ * Called automatically when the first override or visibility rule is created for a resource.
58586
+ * Can also be called manually for explicit registration.
58587
+ */
57298
58588
  registerResource: Resource;
57299
58589
  /** Register an uploaded part */
57300
58590
  registerUploadedPart: UploadPartResponse;
@@ -57302,6 +58592,8 @@ export type Mutation = {
57302
58592
  registerVibecontrolsAgent: VibecontrolsAgent;
57303
58593
  /** 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
58594
  registerWidgetType: BigConsoleWidgetTypeRegistration;
58595
+ /** 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. */
58596
+ reindexCrewSkillsGraph: CrewSkillsGraphReindexReport;
57305
58597
  /** Reject a pending request with a reason. Refused for your own request. */
57306
58598
  rejectBotmanorAgentActivation: BotmanorAgentApprovalRequest;
57307
58599
  rejectChangeRequest: ChangeRequest;
@@ -57357,6 +58649,8 @@ export type Mutation = {
57357
58649
  removeCrewEnrollment: Scalars['Boolean']['output'];
57358
58650
  removeCrewInterview: Scalars['Boolean']['output'];
57359
58651
  removeCrewJobPosting: Scalars['Boolean']['output'];
58652
+ /** Stop asking for a skill on a job posting (also removes it from the legacy `requirements` strings). */
58653
+ removeCrewJobPostingSkill: Scalars['Boolean']['output'];
57360
58654
  removeCrewLeaveRequest: Scalars['Boolean']['output'];
57361
58655
  removeCrewOnboarding: Scalars['Boolean']['output'];
57362
58656
  removeCrewOnboardingTask: Scalars['Boolean']['output'];
@@ -57365,6 +58659,8 @@ export type Mutation = {
57365
58659
  removeCrewProject: Scalars['Boolean']['output'];
57366
58660
  /** Remove a skill nobody holds (CONFLICT while employees or candidates hold it). Its relations go with it. */
57367
58661
  removeCrewSkill: Scalars['Boolean']['output'];
58662
+ /** Remove one relation edge from the skills graph. */
58663
+ removeCrewSkillRelation: Scalars['Boolean']['output'];
57368
58664
  removeCrewTeam: Scalars['Boolean']['output'];
57369
58665
  removeCrewTimeEntry: Scalars['Boolean']['output'];
57370
58666
  removeCrewTrainingCourse: Scalars['Boolean']['output'];
@@ -57860,8 +59156,12 @@ export type Mutation = {
57860
59156
  semPublishQuery: SemQuery;
57861
59157
  /** Record a connection health probe for a data source and reconcile its status. */
57862
59158
  semRecordConnection: SemConnection;
59159
+ /** Remove every demo record created by semSeedWorkspaceDemoData from the calling workspace. The user's own records are never touched. */
59160
+ semRemoveWorkspaceDemoData: SemRemoveWorkspaceDemoDataResult;
57863
59161
  /** 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
59162
  semRunQuery: SemQueryRun;
59163
+ /** 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. */
59164
+ semSeedWorkspaceDemoData: SemSeedWorkspaceDemoDataResult;
57865
59165
  semSetAccessPolicyActive: SemAccessPolicy;
57866
59166
  /** Move a data source through its connectivity lifecycle (validated transitions). */
57867
59167
  semTransitionDataSource: SemDataSource;
@@ -57896,6 +59196,8 @@ export type Mutation = {
57896
59196
  setBigConsoleExternalEmbedsEnabled: Workspace;
57897
59197
  /** Set configuration */
57898
59198
  setConfiguration: Configuration;
59199
+ /** Ask for a skill on a job posting (required or nice-to-have, optional minimum proficiency). */
59200
+ setCrewJobPostingSkill: CrewJobPostingSkill;
57899
59201
  /** Assign (or clear, with rlsPolicyId: null) a dashboard's RLS policy. The policy must already exist in the same workspace as the dashboard. */
57900
59202
  setDashboardRlsPolicy: BigConsoleDashboard;
57901
59203
  /** Set the lifecycle status (AVAILABLE | DEPRECATED | DISABLED) of a registered version. Operator control; applies to every workspace. */
@@ -58001,6 +59303,12 @@ export type Mutation = {
58001
59303
  /** Share collection with users */
58002
59304
  shareCollection: CollectionShare;
58003
59305
  shareComponent: ShareGrant;
59306
+ /**
59307
+ * Set who can reach a connection: its visibility and the complete set of people, groups and
59308
+ * projects it is shared with, and optionally its owner. Allowed for the owner, editors it is
59309
+ * shared with, and workspace administrators; only administrators can change the owner.
59310
+ */
59311
+ shareConnection: IntegrationConnection;
58004
59312
  /** Share a dashboard with a user or group */
58005
59313
  shareDashboard: BigConsoleDashboardShare;
58006
59314
  shareDocs: ShareGrant;
@@ -58102,9 +59410,13 @@ export type Mutation = {
58102
59410
  subActivateWorkflow: SubWorkflow;
58103
59411
  /** 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
59412
  subAdminPurgeWorkspace: SubAdminPurgeResult;
59413
+ /** Apply a PROPOSED decision through the relationship mutation it maps to. */
59414
+ subApplyDecision: SubDecisionResult;
58105
59415
  subApproveAdapter: SubAdapterSubmission;
58106
59416
  subArchiveProvider: Scalars['Boolean']['output'];
58107
59417
  subCancelRelationship: SubRelationship;
59418
+ /** Merge overlapping subscriptions onto one: optionally move the kept one to the bundled plan, then cancel the others. Destructive; confirm with the user first. */
59419
+ subConsolidateRelationships: SubConsolidationResult;
58108
59420
  subCreateAgent: SubAiAgent;
58109
59421
  subCreateAsset: SubAsset;
58110
59422
  /** 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 +59432,27 @@ export type Mutation = {
58120
59432
  subCreateWorkflow: SubWorkflow;
58121
59433
  /** 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
59434
  subDisconnectChannel: SubCommunicationChannel;
59435
+ /** Hide a bundle suggestion (a SubOverlap id from subSavingsOverview) until its set of subscriptions changes. */
59436
+ subDismissBundle: Scalars['Boolean']['output'];
59437
+ subDismissDecision: SubDecision;
58123
59438
  subIngestMessage: SubInboxMessage;
58124
59439
  subMarkInvoicePaid: SubInvoice;
58125
59440
  subMarkMessageRead: SubInboxMessage;
58126
59441
  subModerateListing: SubMarketplaceReport;
59442
+ /** 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. */
59443
+ subRecomputeHealthScores: SubHealthRecomputeResult;
59444
+ /** Register or repair the scheduled sweep of every workspace that has an enabled renewal, trial, cost or plan agent. */
59445
+ subReconcileAgentSchedules: SubAgentScheduleReconcileResult;
58127
59446
  subRejectAdapter: SubAdapterSubmission;
58128
59447
  subRemovePaymentInstrument: Scalars['Boolean']['output'];
59448
+ /** 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. */
59449
+ subRunAgent: SubAgentRunResult;
59450
+ /** 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. */
59451
+ subRunScheduledAgentSweep: SubAgentSweep;
58129
59452
  /** Change an agent's operating posture (DISABLED / SUGGEST_ONLY / AUTONOMOUS). */
58130
59453
  subSetAgentStatus: SubAiAgent;
59454
+ /** Create, update or remove (null / zero amount) a monthly spend budget. Returns null when the budget was removed. */
59455
+ subSetSpendBudget?: Maybe<SubSpendBudget>;
58131
59456
  /** Advance a relationship through its lifecycle (validated transitions). */
58132
59457
  subTransitionRelationship: SubRelationship;
58133
59458
  subUpdateProvider: SubProvider;
@@ -58157,7 +59482,7 @@ export type Mutation = {
58157
59482
  * restricted to super_admin.
58158
59483
  */
58159
59484
  syncContainers: ContainerActionResponse;
58160
- /** Seed the starter taxonomy and normalize every legacy employee/candidate skill string into canonical skills. Idempotent: safe to re-run. */
59485
+ /** 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
59486
  syncCrewSkills: CrewSkillSyncReport;
58162
59487
  /** 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
59488
  syncFromGlobal: SyncFromGlobalResult;
@@ -58204,6 +59529,8 @@ export type Mutation = {
58204
59529
  /** Take a workflow's edit lease from whoever holds it. */
58205
59530
  takeOverWorkflowEditLease: WorkflowEditLease;
58206
59531
  tcpAddCitation: TcpCitation;
59532
+ /** Append a claim to a story's evidence trail. */
59533
+ tcpAddStoryClaim: TcpStoryClaim;
58207
59534
  tcpArchiveArchiveItem: Scalars['Boolean']['output'];
58208
59535
  tcpArchiveTopic: Scalars['Boolean']['output'];
58209
59536
  tcpCreateArchiveItem: TcpArchiveItem;
@@ -58212,12 +59539,17 @@ export type Mutation = {
58212
59539
  tcpCreateTopic: TcpTopic;
58213
59540
  /** 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
59541
  tcpGenerateAiContext: TcpAgentRun;
59542
+ /** Link a citation to a claim on the same story, or unlink it (claimId: null). */
59543
+ tcpLinkCitationToClaim: TcpCitation;
58215
59544
  tcpLockDiscussion: TcpDiscussion;
58216
59545
  /** Moderate a reply (approve / flag / remove) — respectful-by-design controls. */
58217
- tcpModerateReply: TcpReply;
59546
+ tcpModerateReply: EntityComment;
58218
59547
  tcpOpenDiscussion: TcpDiscussion;
58219
- tcpPostReply: TcpReply;
59548
+ /** 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. */
59549
+ tcpPostReply: EntityComment;
58220
59550
  tcpRecordOralHistory: TcpOralHistory;
59551
+ /** Remove a claim from the evidence trail. Its citations stay on the story as general sources (unlinked, never deleted) and the trail is renumbered. */
59552
+ tcpRemoveStoryClaim: Scalars['Boolean']['output'];
58221
59553
  /** 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
59554
  tcpReviewAiContext: TcpAgentRun;
58223
59555
  /** 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 +59559,8 @@ export type Mutation = {
58227
59559
  tcpUpdateArchiveItem: TcpArchiveItem;
58228
59560
  tcpUpdateOralHistory: TcpOralHistory;
58229
59561
  tcpUpdateStory: TcpStory;
59562
+ /** Edit a claim's text/anchor or move it within the evidence trail. */
59563
+ tcpUpdateStoryClaim: TcpStoryClaim;
58230
59564
  tcpUpdateTopic: TcpTopic;
58231
59565
  tcpVerifyCitation: TcpCitation;
58232
59566
  /** 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 +59740,11 @@ export type Mutation = {
58406
59740
  trackShareDownload: Scalars['Boolean']['output'];
58407
59741
  /** Track usage consumption Called by gateway after successful operations */
58408
59742
  trackUsage: Scalars['Boolean']['output'];
59743
+ /**
59744
+ * Hand a connection to another person, for example when its owner leaves. Workspace
59745
+ * administrators only.
59746
+ */
59747
+ transferConnectionOwnership: IntegrationConnection;
58409
59748
  transferGroupOwnership: Group;
58410
59749
  transferInventoryStock: MtwInventoryTransferResult;
58411
59750
  /** Transfer control to another collaborator */
@@ -58597,6 +59936,8 @@ export type Mutation = {
58597
59936
  updateCrewOnboardingTask: CrewOnboardingTask;
58598
59937
  updateCrewPayrollRecord: CrewPayrollRecord;
58599
59938
  updateCrewProject: CrewProject;
59939
+ /** Rename, recategorise or re-alias a skill. Editing a BACKFILL skill marks it reviewed (CUSTOM). */
59940
+ updateCrewSkill: CrewSkill;
58600
59941
  updateCrewTeam: CrewTeam;
58601
59942
  updateCrewTimeEntry: CrewTimeEntry;
58602
59943
  updateCrewTrainingCourse: CrewTrainingCourse;
@@ -59356,6 +60697,11 @@ export type MutationAcknowledgeHealthyBowlStressedZoneArgs = {
59356
60697
  id: Scalars['ID']['input'];
59357
60698
  };
59358
60699
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
60700
+ export type MutationAcknowledgeMtwTrackingAlertArgs = {
60701
+ alertType: MtwTrackingAlertType;
60702
+ shipmentId: Scalars['ID']['input'];
60703
+ };
60704
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
59359
60705
  export type MutationAcquireFileLockArgs = {
59360
60706
  input: AcquireLockInput;
59361
60707
  };
@@ -60698,6 +62044,11 @@ export type MutationBuiRecordMyLessonProgressArgs = {
60698
62044
  input: BuiRecordLessonProgressInput;
60699
62045
  };
60700
62046
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62047
+ export type MutationBuiRecordProctoringSignalsArgs = {
62048
+ id: Scalars['ID']['input'];
62049
+ signals: Array<BuiProctoringSignalInput>;
62050
+ };
62051
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
60701
62052
  export type MutationBuiRegisterLtiPlatformArgs = {
60702
62053
  input: BuiRegisterLtiPlatformInput;
60703
62054
  };
@@ -60784,6 +62135,18 @@ export type MutationBuiSuggestNextLessonArgs = {
60784
62135
  enrollmentId: Scalars['ID']['input'];
60785
62136
  };
60786
62137
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62138
+ export type MutationBuiSyncExternalCertificateArgs = {
62139
+ input: BuiSyncExternalCertificateInput;
62140
+ };
62141
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62142
+ export type MutationBuiSyncExternalCourseArgs = {
62143
+ input: BuiSyncExternalCourseInput;
62144
+ };
62145
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62146
+ export type MutationBuiSyncExternalEnrollmentArgs = {
62147
+ input: BuiSyncExternalEnrollmentInput;
62148
+ };
62149
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
60787
62150
  export type MutationBuiSyncLtiGradeArgs = {
60788
62151
  resourceLinkId: Scalars['ID']['input'];
60789
62152
  submissionId: Scalars['ID']['input'];
@@ -61392,11 +62755,21 @@ export type MutationColUntagStoryArgs = {
61392
62755
  input: ColUntagStoryInput;
61393
62756
  };
61394
62757
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62758
+ export type MutationColUpdateEventArgs = {
62759
+ id: Scalars['ID']['input'];
62760
+ input: ColUpdateEventInput;
62761
+ };
62762
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
61395
62763
  export type MutationColUpdateFamilyTreeArgs = {
61396
62764
  id: Scalars['ID']['input'];
61397
62765
  input: ColUpdateFamilyTreeInput;
61398
62766
  };
61399
62767
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62768
+ export type MutationColUpdateMembershipArgs = {
62769
+ id: Scalars['ID']['input'];
62770
+ input: ColUpdateMembershipInput;
62771
+ };
62772
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
61400
62773
  export type MutationColUpdateMemoryArgs = {
61401
62774
  id: Scalars['ID']['input'];
61402
62775
  input: ColUpdateMemoryInput;
@@ -61407,6 +62780,16 @@ export type MutationColUpdatePersonArgs = {
61407
62780
  input: ColUpdatePersonInput;
61408
62781
  };
61409
62782
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62783
+ export type MutationColUpdateRelationshipArgs = {
62784
+ id: Scalars['ID']['input'];
62785
+ input: ColUpdateRelationshipInput;
62786
+ };
62787
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62788
+ export type MutationColUpdateStoryArgs = {
62789
+ id: Scalars['ID']['input'];
62790
+ input: ColUpdateStoryInput;
62791
+ };
62792
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
61410
62793
  export type MutationCollectHealthyBowlCsaPickupBoxArgs = {
61411
62794
  input: CollectHealthyBowlCsaPickupBoxInput;
61412
62795
  };
@@ -61921,6 +63304,11 @@ export type MutationCooCreateWardrobeItemArgs = {
61921
63304
  input: CooCreateWardrobeItemInput;
61922
63305
  };
61923
63306
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
63307
+ export type MutationCooCurateCollectionArgs = {
63308
+ brandId: Scalars['ID']['input'];
63309
+ season: CooSeason;
63310
+ };
63311
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
61924
63312
  export type MutationCooDeclineReturnRequestArgs = {
61925
63313
  input: CooDeclineReturnRequestInput;
61926
63314
  };
@@ -62015,6 +63403,15 @@ export type MutationCooSetStyleItemInventoryArgs = {
62015
63403
  input: CooSetStyleItemInventoryInput;
62016
63404
  };
62017
63405
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
63406
+ export type MutationCooSuggestCollaborationMatchArgs = {
63407
+ brandId: Scalars['ID']['input'];
63408
+ limit?: InputMaybe<Scalars['Int']['input']>;
63409
+ };
63410
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
63411
+ export type MutationCooSuggestOutfitArgs = {
63412
+ input: CooSuggestOutfitInput;
63413
+ };
63414
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62018
63415
  export type MutationCooSyncCollaborationPaymentArgs = {
62019
63416
  id: Scalars['ID']['input'];
62020
63417
  };
@@ -62129,6 +63526,19 @@ export type MutationCosAddSchemaFieldArgs = {
62129
63526
  input: CosAddSchemaFieldInput;
62130
63527
  };
62131
63528
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
63529
+ export type MutationCosAiDraftReleaseArgs = {
63530
+ notebookId: Scalars['ID']['input'];
63531
+ };
63532
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
63533
+ export type MutationCosAiProposeSchemaFieldsArgs = {
63534
+ datasetId: Scalars['ID']['input'];
63535
+ sample?: InputMaybe<CosSchemaSampleInput>;
63536
+ };
63537
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
63538
+ export type MutationCosAiTriageRunArgs = {
63539
+ runId: Scalars['ID']['input'];
63540
+ };
63541
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62132
63542
  export type MutationCosArchiveCollectionArgs = {
62133
63543
  id: Scalars['ID']['input'];
62134
63544
  };
@@ -62156,6 +63566,12 @@ export type MutationCosCompleteAnalysisArgs = {
62156
63566
  status: CosAnalysisStatus;
62157
63567
  };
62158
63568
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
63569
+ export type MutationCosCompleteRunStepArgs = {
63570
+ input: CosCompleteRunStepInput;
63571
+ runId: Scalars['ID']['input'];
63572
+ stepId: Scalars['ID']['input'];
63573
+ };
63574
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62159
63575
  export type MutationCosCreateCollectionArgs = {
62160
63576
  input: CosCreateCollectionInput;
62161
63577
  };
@@ -62207,6 +63623,11 @@ export type MutationCosPublishReleaseArgs = {
62207
63623
  id: Scalars['ID']['input'];
62208
63624
  };
62209
63625
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
63626
+ export type MutationCosRecordRunTelemetryArgs = {
63627
+ input: CosRunTelemetryInput;
63628
+ runId: Scalars['ID']['input'];
63629
+ };
63630
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
62210
63631
  export type MutationCosRevokeAccessArgs = {
62211
63632
  id: Scalars['ID']['input'];
62212
63633
  };
@@ -65778,6 +67199,11 @@ export type MutationEscalateIncidentArgs = {
65778
67199
  id: Scalars['ID']['input'];
65779
67200
  };
65780
67201
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
67202
+ export type MutationEventfullyManagedApplyAgendaFixArgs = {
67203
+ eventId: Scalars['ID']['input'];
67204
+ input: EventfullyManagedApplyAgendaFixInput;
67205
+ };
67206
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
65781
67207
  export type MutationEventfullyManagedCreateAttendeeArgs = {
65782
67208
  input: EventfullyManagedAttendeeInput;
65783
67209
  };
@@ -65946,6 +67372,11 @@ export type MutationEventfullyManagedEraseSpeakerPersonalDataArgs = {
65946
67372
  id: Scalars['ID']['input'];
65947
67373
  };
65948
67374
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
67375
+ export type MutationEventfullyManagedForecastAttendanceArgs = {
67376
+ eventId: Scalars['ID']['input'];
67377
+ input?: InputMaybe<EventfullyManagedForecastInput>;
67378
+ };
67379
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
65949
67380
  export type MutationEventfullyManagedGenerateBadgeArgs = {
65950
67381
  registrationId: Scalars['ID']['input'];
65951
67382
  templateId?: InputMaybe<Scalars['ID']['input']>;
@@ -65970,6 +67401,11 @@ export type MutationEventfullyManagedLeaveVirtualSessionArgs = {
65970
67401
  sessionId: Scalars['ID']['input'];
65971
67402
  };
65972
67403
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
67404
+ export type MutationEventfullyManagedPredictNoShowsArgs = {
67405
+ eventId: Scalars['ID']['input'];
67406
+ input?: InputMaybe<EventfullyManagedForecastInput>;
67407
+ };
67408
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
65973
67409
  export type MutationEventfullyManagedPromoteVirtualPresenterArgs = {
65974
67410
  actorId: Scalars['ID']['input'];
65975
67411
  sessionId: Scalars['ID']['input'];
@@ -65979,6 +67415,16 @@ export type MutationEventfullyManagedPublishAnnouncementArgs = {
65979
67415
  id: Scalars['ID']['input'];
65980
67416
  };
65981
67417
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
67418
+ export type MutationEventfullyManagedResolveAgendaConflictsArgs = {
67419
+ eventId: Scalars['ID']['input'];
67420
+ input?: InputMaybe<EventfullyManagedForecastInput>;
67421
+ };
67422
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
67423
+ export type MutationEventfullyManagedRightSizeSessionsArgs = {
67424
+ eventId: Scalars['ID']['input'];
67425
+ input?: InputMaybe<EventfullyManagedForecastInput>;
67426
+ };
67427
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
65982
67428
  export type MutationEventfullyManagedScanCheckInArgs = {
65983
67429
  input: EventfullyManagedScanCheckInInput;
65984
67430
  };
@@ -68621,6 +70067,11 @@ export type MutationMatchHealthyBowlStatementLineArgs = {
68621
70067
  input: MatchHealthyBowlStatementLineInput;
68622
70068
  };
68623
70069
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
70070
+ export type MutationMergeCrewSkillsArgs = {
70071
+ sourceId: Scalars['ID']['input'];
70072
+ targetId: Scalars['ID']['input'];
70073
+ };
70074
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
68624
70075
  export type MutationMergeTagArgs = {
68625
70076
  sourceId: Scalars['ID']['input'];
68626
70077
  targetId: Scalars['ID']['input'];
@@ -71263,6 +72714,11 @@ export type MutationRemoveCrewJobPostingArgs = {
71263
72714
  id: Scalars['ID']['input'];
71264
72715
  };
71265
72716
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
72717
+ export type MutationRemoveCrewJobPostingSkillArgs = {
72718
+ jobPostingId: Scalars['ID']['input'];
72719
+ skillId: Scalars['ID']['input'];
72720
+ };
72721
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
71266
72722
  export type MutationRemoveCrewLeaveRequestArgs = {
71267
72723
  id: Scalars['ID']['input'];
71268
72724
  };
@@ -71291,6 +72747,10 @@ export type MutationRemoveCrewSkillArgs = {
71291
72747
  id: Scalars['ID']['input'];
71292
72748
  };
71293
72749
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
72750
+ export type MutationRemoveCrewSkillRelationArgs = {
72751
+ id: Scalars['ID']['input'];
72752
+ };
72753
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
71294
72754
  export type MutationRemoveCrewTeamArgs = {
71295
72755
  id: Scalars['ID']['input'];
71296
72756
  };
@@ -72674,6 +74134,10 @@ export type MutationSetConfigurationArgs = {
72674
74134
  value: Scalars['JSON']['input'];
72675
74135
  };
72676
74136
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74137
+ export type MutationSetCrewJobPostingSkillArgs = {
74138
+ input: SetCrewJobPostingSkillInput;
74139
+ };
74140
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
72677
74141
  export type MutationSetDashboardRlsPolicyArgs = {
72678
74142
  dashboardId: Scalars['ID']['input'];
72679
74143
  rlsPolicyId?: InputMaybe<Scalars['ID']['input']>;
@@ -72916,6 +74380,10 @@ export type MutationShareComponentArgs = {
72916
74380
  input: ShareEntityInput;
72917
74381
  };
72918
74382
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74383
+ export type MutationShareConnectionArgs = {
74384
+ input: ShareConnectionInput;
74385
+ };
74386
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
72919
74387
  export type MutationShareDashboardArgs = {
72920
74388
  input: BigConsoleShareDashboardInput;
72921
74389
  };
@@ -73167,6 +74635,10 @@ export type MutationSubAdminPurgeWorkspaceArgs = {
73167
74635
  workspaceId: Scalars['ID']['input'];
73168
74636
  };
73169
74637
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74638
+ export type MutationSubApplyDecisionArgs = {
74639
+ id: Scalars['ID']['input'];
74640
+ };
74641
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73170
74642
  export type MutationSubApproveAdapterArgs = {
73171
74643
  id: Scalars['ID']['input'];
73172
74644
  notes?: InputMaybe<Scalars['String']['input']>;
@@ -73180,6 +74652,10 @@ export type MutationSubCancelRelationshipArgs = {
73180
74652
  id: Scalars['ID']['input'];
73181
74653
  };
73182
74654
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74655
+ export type MutationSubConsolidateRelationshipsArgs = {
74656
+ input: SubConsolidateRelationshipsInput;
74657
+ };
74658
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73183
74659
  export type MutationSubCreateAgentArgs = {
73184
74660
  input: SubCreateAgentInput;
73185
74661
  };
@@ -73232,6 +74708,16 @@ export type MutationSubDisconnectChannelArgs = {
73232
74708
  id: Scalars['ID']['input'];
73233
74709
  };
73234
74710
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74711
+ export type MutationSubDismissBundleArgs = {
74712
+ id: Scalars['ID']['input'];
74713
+ reason?: InputMaybe<Scalars['String']['input']>;
74714
+ };
74715
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74716
+ export type MutationSubDismissDecisionArgs = {
74717
+ id: Scalars['ID']['input'];
74718
+ reason?: InputMaybe<Scalars['String']['input']>;
74719
+ };
74720
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73235
74721
  export type MutationSubIngestMessageArgs = {
73236
74722
  input: SubIngestMessageInput;
73237
74723
  };
@@ -73259,11 +74745,24 @@ export type MutationSubRemovePaymentInstrumentArgs = {
73259
74745
  id: Scalars['ID']['input'];
73260
74746
  };
73261
74747
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74748
+ export type MutationSubRunAgentArgs = {
74749
+ dryRun?: InputMaybe<Scalars['Boolean']['input']>;
74750
+ id: Scalars['ID']['input'];
74751
+ };
74752
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74753
+ export type MutationSubRunScheduledAgentSweepArgs = {
74754
+ input?: InputMaybe<SubRunAgentSweepInput>;
74755
+ };
74756
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73262
74757
  export type MutationSubSetAgentStatusArgs = {
73263
74758
  id: Scalars['ID']['input'];
73264
74759
  status: SubAgentStatus;
73265
74760
  };
73266
74761
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74762
+ export type MutationSubSetSpendBudgetArgs = {
74763
+ input: SubSetSpendBudgetInput;
74764
+ };
74765
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73267
74766
  export type MutationSubTransitionRelationshipArgs = {
73268
74767
  id: Scalars['ID']['input'];
73269
74768
  status: SubRelationshipStatus;
@@ -73450,6 +74949,10 @@ export type MutationTcpAddCitationArgs = {
73450
74949
  input: TcpCreateCitationInput;
73451
74950
  };
73452
74951
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74952
+ export type MutationTcpAddStoryClaimArgs = {
74953
+ input: TcpCreateStoryClaimInput;
74954
+ };
74955
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73453
74956
  export type MutationTcpArchiveArchiveItemArgs = {
73454
74957
  id: Scalars['ID']['input'];
73455
74958
  };
@@ -73478,6 +74981,11 @@ export type MutationTcpGenerateAiContextArgs = {
73478
74981
  input: TcpGenerateAiContextInput;
73479
74982
  };
73480
74983
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74984
+ export type MutationTcpLinkCitationToClaimArgs = {
74985
+ citationId: Scalars['ID']['input'];
74986
+ claimId?: InputMaybe<Scalars['ID']['input']>;
74987
+ };
74988
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73481
74989
  export type MutationTcpLockDiscussionArgs = {
73482
74990
  id: Scalars['ID']['input'];
73483
74991
  };
@@ -73499,6 +75007,10 @@ export type MutationTcpRecordOralHistoryArgs = {
73499
75007
  input: TcpCreateOralHistoryInput;
73500
75008
  };
73501
75009
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
75010
+ export type MutationTcpRemoveStoryClaimArgs = {
75011
+ id: Scalars['ID']['input'];
75012
+ };
75013
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73502
75014
  export type MutationTcpReviewAiContextArgs = {
73503
75015
  approved: Scalars['Boolean']['input'];
73504
75016
  id: Scalars['ID']['input'];
@@ -73529,6 +75041,11 @@ export type MutationTcpUpdateStoryArgs = {
73529
75041
  input: TcpUpdateStoryInput;
73530
75042
  };
73531
75043
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
75044
+ export type MutationTcpUpdateStoryClaimArgs = {
75045
+ id: Scalars['ID']['input'];
75046
+ input: TcpUpdateStoryClaimInput;
75047
+ };
75048
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73532
75049
  export type MutationTcpUpdateTopicArgs = {
73533
75050
  id: Scalars['ID']['input'];
73534
75051
  input: TcpUpdateTopicInput;
@@ -74003,6 +75520,11 @@ export type MutationTrackUsageArgs = {
74003
75520
  input: TrackUsageInput;
74004
75521
  };
74005
75522
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
75523
+ export type MutationTransferConnectionOwnershipArgs = {
75524
+ connectionId: Scalars['ID']['input'];
75525
+ ownerId: Scalars['ID']['input'];
75526
+ };
75527
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74006
75528
  export type MutationTransferGroupOwnershipArgs = {
74007
75529
  groupId: Scalars['ID']['input'];
74008
75530
  newOwnerId: Scalars['ID']['input'];
@@ -74619,6 +76141,11 @@ export type MutationUpdateCrewProjectArgs = {
74619
76141
  input: UpdateCrewProjectInput;
74620
76142
  };
74621
76143
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
76144
+ export type MutationUpdateCrewSkillArgs = {
76145
+ id: Scalars['ID']['input'];
76146
+ input: UpdateCrewSkillInput;
76147
+ };
76148
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74622
76149
  export type MutationUpdateCrewTeamArgs = {
74623
76150
  id: Scalars['ID']['input'];
74624
76151
  input: UpdateCrewTeamInput;
@@ -87469,7 +88996,11 @@ export type Query = {
87469
88996
  _planmagnetService?: Maybe<Scalars['String']['output']>;
87470
88997
  _planmagnetVersion?: Maybe<Scalars['String']['output']>;
87471
88998
  _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 */
88999
+ /**
89000
+ * Who a person is reached through when a service shares its own resources with chosen people,
89001
+ * groups or projects (service-only): the groups and projects they belong to in the calling
89002
+ * service's workspace, and whether they administer the resource type there
89003
+ */
87473
89004
  accessPrincipals: AccessPrincipals;
87474
89005
  /** Anonymously reveal the credential(s) behind a signed share link. */
87475
89006
  accessSharedSecret: SharedSecretView;
@@ -87841,7 +89372,13 @@ export type Query = {
87841
89372
  buiMyTutorSession?: Maybe<BuiTutorSession>;
87842
89373
  /** 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
89374
  buiMyTutorSessions: BuiTutorSessionConnection;
89375
+ /** The workspace's getting-started checklist. */
89376
+ buiOnboardingStatus: BuiOnboardingStatus;
87844
89377
  buiPendingCourseKnowledgeChange?: Maybe<BuiCourseKnowledgeChange>;
89378
+ /** 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. */
89379
+ buiProctoringIdentityFile?: Maybe<BuiProctoringIdentityFile>;
89380
+ /** 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`. */
89381
+ buiProctoringSessionSignals: BuiProctoringSignalConnection;
87845
89382
  buiSubmission?: Maybe<BuiSubmission>;
87846
89383
  buiSuggestCertifications: Array<BuiCertificationSuggestion>;
87847
89384
  buiSuggestSkillMappings: Array<BuiSkillMappingSuggestion>;
@@ -87876,7 +89413,10 @@ export type Query = {
87876
89413
  checkPermission: PermissionCheckResult;
87877
89414
  /** Check multiple permissions at once (max 50) */
87878
89415
  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) */
89416
+ /**
89417
+ * Whether a requester may grant roles workspace-wide — the checks setActorRoles applies to added
89418
+ * roles, with no target actor and no write (service-only)
89419
+ */
87880
89420
  checkRoleGrant: RoleGrantCheckResult;
87881
89421
  /** Check if an actor can see a resource */
87882
89422
  checkVisibility: VisibilityCheckResult;
@@ -88018,6 +89558,13 @@ export type Query = {
88018
89558
  * gateway (BOFF-3698). Service actors only; returns metadata, never a token.
88019
89559
  */
88020
89560
  connectionsExpiringSoon: Array<ExpiringConnection>;
89561
+ /**
89562
+ * Of connectionIds (at most 200), the live connections in the caller's workspace that principalId
89563
+ * cannot use: RESTRICTED and not shared with them. Unknown and deleted ids are not listed; they fail
89564
+ * when a run asks for them. Service-only; wspace-workflow-svc checks a workflow's connections against
89565
+ * its owner before saving it (BOFF-9726).
89566
+ */
89567
+ connectionsNotUsableBy: Array<Scalars['ID']['output']>;
88021
89568
  conversation?: Maybe<Conversation>;
88022
89569
  conversationCapabilities: ConversationFeatures;
88023
89570
  conversations: ConversationConnection;
@@ -88099,6 +89646,8 @@ export type Query = {
88099
89646
  cosNotebook?: Maybe<CosNotebook>;
88100
89647
  cosPipeline?: Maybe<CosPipeline>;
88101
89648
  cosRun?: Maybe<CosPipelineRun>;
89649
+ /** 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. */
89650
+ cosSemanticSearch: CosSearchResults;
88102
89651
  cosSource?: Maybe<CosSource>;
88103
89652
  courseAssistantCandidates: Array<CourseAssistantCandidate>;
88104
89653
  courseAssistantConfiguration: CourseAssistantConfiguration;
@@ -88149,6 +89698,8 @@ export type Query = {
88149
89698
  crewServiceListing?: Maybe<CrewServiceListing>;
88150
89699
  crewServiceListings: Array<CrewServiceListing>;
88151
89700
  crewSkill?: Maybe<CrewSkill>;
89701
+ /** Category keys accepted by createCrewSkill / updateCrewSkill. */
89702
+ crewSkillCategories: Array<Scalars['String']['output']>;
88152
89703
  /** Implied, implied-by and related skills around a skill, up to `depth` hops (max 4). */
88153
89704
  crewSkillGraph?: Maybe<CrewSkillGraph>;
88154
89705
  /** Workspace skills taxonomy. Seeds the starter taxonomy on first use. */
@@ -88248,7 +89799,7 @@ export type Query = {
88248
89799
  ecoAiCreditUsage: EcoAiCreditUsage;
88249
89800
  /** 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
89801
  ecoAiDetectAnomalies: EcoAnomalyDetectionResult;
88251
- /** Total CO2e (kg) recorded in the workspace, optionally narrowed by scope. */
89802
+ /** 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
89803
  ecoCarbonTotalKg: Scalars['Float']['output'];
88253
89804
  ecoDataSource?: Maybe<EcoDataSource>;
88254
89805
  ecoHabitatProject?: Maybe<EcoHabitatProject>;
@@ -88318,6 +89869,8 @@ export type Query = {
88318
89869
  eventRegistrations: Array<EventRegistration>;
88319
89870
  eventSchema?: Maybe<EventSchema>;
88320
89871
  eventSchemas: Array<EventSchema>;
89872
+ /** The most recent persisted decision of one kind for an event, or null when none has been generated. */
89873
+ eventfullyManagedAiDecision?: Maybe<EventfullyManagedAiDecisionRecord>;
88321
89874
  eventfullyManagedAnalyticsSnapshots: EventfullyManagedSimpleEntityList;
88322
89875
  eventfullyManagedAnnouncements: EventfullyManagedSimpleEntityList;
88323
89876
  eventfullyManagedAttendees: EventfullyManagedAttendeeList;
@@ -88347,6 +89900,8 @@ export type Query = {
88347
89900
  eventfullyManagedNetworkingMatches: EventfullyManagedNetworkingMatchList;
88348
89901
  eventfullyManagedNetworkingProfiles: EventfullyManagedNetworkingProfileList;
88349
89902
  eventfullyManagedPromoCodes: EventfullyManagedPromoCodeList;
89903
+ /** 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. */
89904
+ eventfullyManagedRecommendSessions: EventfullyManagedSessionRecommendationList;
88350
89905
  eventfullyManagedRegistrations: EventfullyManagedRegistrationList;
88351
89906
  eventfullyManagedSessionConflicts: Array<EventfullyManagedSessionConflict>;
88352
89907
  eventfullyManagedSpeakers: EventfullyManagedSpeakerList;
@@ -89518,6 +91073,8 @@ export type Query = {
89518
91073
  healthyBowlSuppliers: Array<Supplier>;
89519
91074
  /** List watering runs for the workspace. Pass scheduleId or fieldId to filter. */
89520
91075
  healthyBowlWateringRuns: Array<WateringRun>;
91076
+ /** Workspace activation dashboard: real counts for each HookMovies activation event. */
91077
+ hokActivationFunnel: HokActivationFunnel;
89521
91078
  /** Schedule blocks for a channel overlapping the [from, to] window (defaults to an open-ended window when omitted), ordered by start time. */
89522
91079
  hokChannelSchedule: HokScheduleBlockConnection;
89523
91080
  /** 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 +91135,8 @@ export type Query = {
89578
91135
  hokMyWatchProgress: HokWatchProgressConnection;
89579
91136
  /** The block currently airing on a channel (startAt <= now < endAt), or null. */
89580
91137
  hokNowPlaying?: Maybe<HokScheduleBlock>;
91138
+ /** Getting-started checklist progress for the calling user in this workspace. */
91139
+ hokOnboardingStatus: HokOnboardingStatus;
89581
91140
  hokProduction?: Maybe<HokProduction>;
89582
91141
  /** Two-sided reputation for a talent (PERSON) or a studio (STUDIO). */
89583
91142
  hokReputation: HokReputation;
@@ -90073,7 +91632,10 @@ export type Query = {
90073
91632
  myPendingInvitations: Array<Invitation>;
90074
91633
  /** 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
91634
  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. */
91635
+ /**
91636
+ * Get current user's permissions in a workspace (self-service).
91637
+ * Returns full permission details including roles, permission strings, and cache TTL.
91638
+ */
90077
91639
  myPermissions: EffectivePermissions;
90078
91640
  myPersonalDataSummary: TimeCampusPersonalDataSummary;
90079
91641
  /** 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 +91644,10 @@ export type Query = {
90082
91644
  myRecommendations: Array<TimeCampusRecommendation>;
90083
91645
  /** Get resources created by the current authenticated user. Self-scoped: the resolver filters by ctx.actorId (createdBy). */
90084
91646
  myResources: WorkspaceResourceList;
90085
- /** Get current user's roles in a workspace (lightweight, self-service). Use this for quick role checks without fetching full permissions. */
91647
+ /**
91648
+ * Get current user's roles in a workspace (lightweight, self-service).
91649
+ * Use this for quick role checks without fetching full permissions.
91650
+ */
90086
91651
  myRoles: MyRolesResult;
90087
91652
  /** 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
91653
  mySandboxLlmUsage: SandboxLlmUsage;
@@ -90094,6 +91659,8 @@ export type Query = {
90094
91659
  /** Credentials shared with the calling actor (across all workspaces). */
90095
91660
  mySharedCredentials: SecretShareList;
90096
91661
  mySourceConsents: Array<TimeCampusSourceConsent>;
91662
+ /** 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. */
91663
+ mySustainedLoad: TimeCampusSustainedLoadSignal;
90097
91664
  /** One of the calling user's capture channels. */
90098
91665
  myTimeCampusCaptureChannel: TimeCampusCaptureChannel;
90099
91666
  /** The calling user's capture channels, newest first. Disconnected channels are included unless excluded. */
@@ -90668,11 +92235,24 @@ export type Query = {
90668
92235
  resourceTree: Array<Resource>;
90669
92236
  /** Get root resources for a tree view with bounded offset metadata. */
90670
92237
  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). */
92238
+ /**
92239
+ * Get all resource types. Optionally filter by product (PlatformProduct.slug):
92240
+ * returns resource types mapped to that product, plus cross-product types (those
92241
+ * with no product mapping) unless includeUnmapped is false. With no product arg,
92242
+ * returns every resource type (backward compatible).
92243
+ */
90672
92244
  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"). */
92245
+ /**
92246
+ * Get all resource types together with the product slugs each is mapped to.
92247
+ * Drives the permission-management UI (badges, product assignment). A resource
92248
+ * type with an empty products list is cross-product ("All").
92249
+ */
90674
92250
  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`. */
92251
+ /**
92252
+ * List registered resources in a scope, optionally filtered by type, owner,
92253
+ * active state, or a free-text search against `identifier`/`name`.
92254
+ * Returns only resources registered via `registerResource`.
92255
+ */
90676
92256
  resources: Array<Resource>;
90677
92257
  /** Get resources by type across all workspaces (admin only) */
90678
92258
  resourcesByType: WorkspaceResourceList;
@@ -90800,6 +92380,8 @@ export type Query = {
90800
92380
  semListQueryRuns: SemQueryRunConnection;
90801
92381
  semListRelationships: Array<SemRelationship>;
90802
92382
  semModel?: Maybe<SemSemanticModel>;
92383
+ /** Getting-started checklist progress for the calling workspace, derived from the records the workspace actually holds (so it persists across sessions and devices). */
92384
+ semOnboardingProgress: SemOnboardingProgress;
90803
92385
  semQuery?: Maybe<SemQuery>;
90804
92386
  /** A single query run by id (workspace-scoped). Poll this after semRunQuery: runs execute asynchronously and move QUEUED -> PLANNING -> RUNNING -> SUCCEEDED/FAILED. */
90805
92387
  semQueryRun?: Maybe<SemQueryRun>;
@@ -90847,17 +92429,28 @@ export type Query = {
90847
92429
  siemDestinations: Array<SiemDestination>;
90848
92430
  softwareAssets: Array<SoftwareAsset>;
90849
92431
  subAgent?: Maybe<SubAiAgent>;
92432
+ /** The workspace's scheduled-sweep registration, if any. */
92433
+ subAgentSchedule?: Maybe<SubAgentSchedule>;
90850
92434
  /** 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
92435
  subBenchmarkSummary?: Maybe<SubBenchmarkSummary>;
92436
+ subDecision?: Maybe<SubDecision>;
92437
+ /** Duplicate and overlapping relationships in the current workspace, largest annual saving first. Paginate with `pagination.offset`. */
92438
+ subDetectOverlaps: SubOverlapConnection;
92439
+ /** 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. */
92440
+ subEnterpriseSpendDashboard: SubEnterpriseSpendDashboard;
90852
92441
  /** Liveness/identity probe for the Subscriber Bot subgraph. */
90853
92442
  subHealth: Scalars['String']['output'];
90854
92443
  subListAdapterSubmissions: SubAdapterSubmissionConnection;
92444
+ /** Recent sweeps of the workspace, newest first. */
92445
+ subListAgentSweeps: SubAgentSweepConnection;
90855
92446
  subListAgents: SubAiAgentConnection;
90856
92447
  /** List assets. Pass `relationshipId` to scope to one subscription, or omit it to list every asset in the workspace (the Digital Asset Vault). */
90857
92448
  subListAssets: SubAssetConnection;
90858
92449
  /** 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
92450
  subListBenchmarkDataPoints: SubBenchmarkDataPointConnection;
90860
92451
  subListChannels: SubCommunicationChannelConnection;
92452
+ /** The agent decision queue, newest first. */
92453
+ subListDecisions: SubDecisionConnection;
90861
92454
  subListEntitlements: SubEntitlementConnection;
90862
92455
  /** The Universal Inbox — every merged subscription communication. */
90863
92456
  subListInboxMessages: SubInboxMessageConnection;
@@ -90870,9 +92463,12 @@ export type Query = {
90870
92463
  subListProviders: SubProviderConnection;
90871
92464
  subListRelationships: SubRelationshipConnection;
90872
92465
  subListRenewalEvents: SubRenewalEventConnection;
92466
+ subListSpendBudgets: Array<SubSpendBudget>;
90873
92467
  subListWorkflows: SubWorkflowConnection;
90874
92468
  subProvider?: Maybe<SubProvider>;
90875
92469
  subRelationship?: Maybe<SubRelationship>;
92470
+ /** The cost-optimization dashboard: headline yearly savings, open decisions by recommendation and bundle suggestions. */
92471
+ subSavingsOverview: SubSavingsOverview;
90876
92472
  /** Get a single subscribed product by ID */
90877
92473
  subscribedProduct?: Maybe<SubscribedProduct>;
90878
92474
  /** Get all subscribed products for the current workspace. Workspace ID is read from gateway context (x-workspace-id header). */
@@ -90904,12 +92500,15 @@ export type Query = {
90904
92500
  tcpListDiscussions: TcpDiscussionConnection;
90905
92501
  /** 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
92502
  tcpListOralHistories: TcpOralHistoryConnection;
92503
+ /** Replies to a discussion, oldest first. Items are EntityComment references; the gateway resolves their content from wspace-conversations-svc. */
90907
92504
  tcpListReplies: TcpReplyConnection;
90908
92505
  /** 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
92506
  tcpListRestrictedArchiveItems: TcpArchiveItemConnection;
90910
92507
  /** 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
92508
  tcpListRestrictedOralHistories: TcpOralHistoryConnection;
90912
92509
  tcpListStories: TcpStoryConnection;
92510
+ /** 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. */
92511
+ tcpListStoryClaims: Array<TcpStoryClaim>;
90913
92512
  tcpListTopics: TcpTopicConnection;
90914
92513
  /** 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
92514
  tcpMySavedStories: TcpStoryConnection;
@@ -92587,6 +94186,16 @@ export type QueryBuiMyTutorSessionsArgs = {
92587
94186
  pagination?: InputMaybe<PaginationInput>;
92588
94187
  };
92589
94188
  /** Base Query type with placeholder field. Extended by individual query files. */
94189
+ export type QueryBuiProctoringIdentityFileArgs = {
94190
+ sessionId: Scalars['ID']['input'];
94191
+ };
94192
+ /** Base Query type with placeholder field. Extended by individual query files. */
94193
+ export type QueryBuiProctoringSessionSignalsArgs = {
94194
+ after?: InputMaybe<Scalars['ID']['input']>;
94195
+ limit?: InputMaybe<Scalars['Int']['input']>;
94196
+ sessionId: Scalars['ID']['input'];
94197
+ };
94198
+ /** Base Query type with placeholder field. Extended by individual query files. */
92590
94199
  export type QueryBuiSubmissionArgs = {
92591
94200
  id: Scalars['ID']['input'];
92592
94201
  };
@@ -93113,6 +94722,11 @@ export type QueryConnectionsExpiringSoonArgs = {
93113
94722
  withinDays?: InputMaybe<Scalars['Int']['input']>;
93114
94723
  };
93115
94724
  /** Base Query type with placeholder field. Extended by individual query files. */
94725
+ export type QueryConnectionsNotUsableByArgs = {
94726
+ connectionIds: Array<Scalars['ID']['input']>;
94727
+ principalId: Scalars['ID']['input'];
94728
+ };
94729
+ /** Base Query type with placeholder field. Extended by individual query files. */
93116
94730
  export type QueryConversationArgs = {
93117
94731
  id: Scalars['ID']['input'];
93118
94732
  };
@@ -93376,6 +94990,10 @@ export type QueryCosRunArgs = {
93376
94990
  id: Scalars['ID']['input'];
93377
94991
  };
93378
94992
  /** Base Query type with placeholder field. Extended by individual query files. */
94993
+ export type QueryCosSemanticSearchArgs = {
94994
+ input: CosSemanticSearchInput;
94995
+ };
94996
+ /** Base Query type with placeholder field. Extended by individual query files. */
93379
94997
  export type QueryCosSourceArgs = {
93380
94998
  id: Scalars['ID']['input'];
93381
94999
  };
@@ -94074,6 +95692,11 @@ export type QueryEventSchemasArgs = {
94074
95692
  offset?: InputMaybe<Scalars['Int']['input']>;
94075
95693
  };
94076
95694
  /** Base Query type with placeholder field. Extended by individual query files. */
95695
+ export type QueryEventfullyManagedAiDecisionArgs = {
95696
+ eventId: Scalars['ID']['input'];
95697
+ kind: EventfullyManagedAiDecisionKind;
95698
+ };
95699
+ /** Base Query type with placeholder field. Extended by individual query files. */
94077
95700
  export type QueryEventfullyManagedAnalyticsSnapshotsArgs = {
94078
95701
  eventId?: InputMaybe<Scalars['ID']['input']>;
94079
95702
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -94242,6 +95865,12 @@ export type QueryEventfullyManagedPromoCodesArgs = {
94242
95865
  workspaceId?: InputMaybe<Scalars['ID']['input']>;
94243
95866
  };
94244
95867
  /** Base Query type with placeholder field. Extended by individual query files. */
95868
+ export type QueryEventfullyManagedRecommendSessionsArgs = {
95869
+ attendeeId: Scalars['ID']['input'];
95870
+ eventId: Scalars['ID']['input'];
95871
+ limit?: InputMaybe<Scalars['Int']['input']>;
95872
+ };
95873
+ /** Base Query type with placeholder field. Extended by individual query files. */
94245
95874
  export type QueryEventfullyManagedRegistrationsArgs = {
94246
95875
  eventId?: InputMaybe<Scalars['ID']['input']>;
94247
95876
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -94725,6 +96354,7 @@ export type QueryGetConnectionTagsArgs = {
94725
96354
  /** Base Query type with placeholder field. Extended by individual query files. */
94726
96355
  export type QueryGetConnectionTokenArgs = {
94727
96356
  connectionId: Scalars['ID']['input'];
96357
+ principalId?: InputMaybe<Scalars['ID']['input']>;
94728
96358
  workspaceId: Scalars['ID']['input'];
94729
96359
  };
94730
96360
  /** Base Query type with placeholder field. Extended by individual query files. */
@@ -97822,6 +99452,10 @@ export type QueryHealthyBowlWateringRunsArgs = {
97822
99452
  scheduleId?: InputMaybe<Scalars['ID']['input']>;
97823
99453
  };
97824
99454
  /** Base Query type with placeholder field. Extended by individual query files. */
99455
+ export type QueryHokActivationFunnelArgs = {
99456
+ period?: InputMaybe<Scalars['String']['input']>;
99457
+ };
99458
+ /** Base Query type with placeholder field. Extended by individual query files. */
97825
99459
  export type QueryHokChannelScheduleArgs = {
97826
99460
  channelId: Scalars['ID']['input'];
97827
99461
  from?: InputMaybe<Scalars['DateTime']['input']>;
@@ -99838,6 +101472,10 @@ export type QueryMySourceConsentsArgs = {
99838
101472
  pagination?: InputMaybe<PaginationInput>;
99839
101473
  };
99840
101474
  /** Base Query type with placeholder field. Extended by individual query files. */
101475
+ export type QueryMySustainedLoadArgs = {
101476
+ weeks?: InputMaybe<Scalars['Int']['input']>;
101477
+ };
101478
+ /** Base Query type with placeholder field. Extended by individual query files. */
99841
101479
  export type QueryMyTimeCampusCaptureChannelArgs = {
99842
101480
  id: Scalars['ID']['input'];
99843
101481
  };
@@ -102112,11 +103750,28 @@ export type QuerySubBenchmarkSummaryArgs = {
102112
103750
  region?: InputMaybe<Scalars['String']['input']>;
102113
103751
  };
102114
103752
  /** Base Query type with placeholder field. Extended by individual query files. */
103753
+ export type QuerySubDecisionArgs = {
103754
+ id: Scalars['ID']['input'];
103755
+ };
103756
+ /** Base Query type with placeholder field. Extended by individual query files. */
103757
+ export type QuerySubDetectOverlapsArgs = {
103758
+ pagination?: InputMaybe<PaginationInput>;
103759
+ };
103760
+ /** Base Query type with placeholder field. Extended by individual query files. */
103761
+ export type QuerySubEnterpriseSpendDashboardArgs = {
103762
+ currency?: InputMaybe<Scalars['String']['input']>;
103763
+ highCostThreshold?: InputMaybe<Scalars['Float']['input']>;
103764
+ };
103765
+ /** Base Query type with placeholder field. Extended by individual query files. */
102115
103766
  export type QuerySubListAdapterSubmissionsArgs = {
102116
103767
  pagination?: InputMaybe<PaginationInput>;
102117
103768
  status?: InputMaybe<SubSubmissionStatus>;
102118
103769
  };
102119
103770
  /** Base Query type with placeholder field. Extended by individual query files. */
103771
+ export type QuerySubListAgentSweepsArgs = {
103772
+ pagination?: InputMaybe<PaginationInput>;
103773
+ };
103774
+ /** Base Query type with placeholder field. Extended by individual query files. */
102120
103775
  export type QuerySubListAgentsArgs = {
102121
103776
  kind?: InputMaybe<SubAgentKind>;
102122
103777
  ownerId?: InputMaybe<Scalars['ID']['input']>;
@@ -102139,6 +103794,11 @@ export type QuerySubListChannelsArgs = {
102139
103794
  pagination?: InputMaybe<PaginationInput>;
102140
103795
  };
102141
103796
  /** Base Query type with placeholder field. Extended by individual query files. */
103797
+ export type QuerySubListDecisionsArgs = {
103798
+ filter?: InputMaybe<SubDecisionFilter>;
103799
+ pagination?: InputMaybe<PaginationInput>;
103800
+ };
103801
+ /** Base Query type with placeholder field. Extended by individual query files. */
102142
103802
  export type QuerySubListEntitlementsArgs = {
102143
103803
  pagination?: InputMaybe<PaginationInput>;
102144
103804
  relationshipId: Scalars['ID']['input'];
@@ -102315,6 +103975,10 @@ export type QueryTcpListStoriesArgs = {
102315
103975
  topicId?: InputMaybe<Scalars['ID']['input']>;
102316
103976
  };
102317
103977
  /** Base Query type with placeholder field. Extended by individual query files. */
103978
+ export type QueryTcpListStoryClaimsArgs = {
103979
+ storyId: Scalars['ID']['input'];
103980
+ };
103981
+ /** Base Query type with placeholder field. Extended by individual query files. */
102318
103982
  export type QueryTcpListTopicsArgs = {
102319
103983
  category?: InputMaybe<TcpTopicCategory>;
102320
103984
  pagination?: InputMaybe<PaginationInput>;
@@ -105017,7 +106681,11 @@ export type ResolvedSecret = {
105017
106681
  value: Scalars['String']['output'];
105018
106682
  vaultId: Scalars['String']['output'];
105019
106683
  };
105020
- /** Registered resource with custom permission configurations. Resources are only registered when they have non-default permissions (overrides, visibility rules, or scoped assignments). */
106684
+ /**
106685
+ * Registered resource with custom permission configurations.
106686
+ * Resources are only registered when they have non-default permissions
106687
+ * (overrides, visibility rules, or scoped assignments).
106688
+ */
105021
106689
  export type Resource = {
105022
106690
  __typename?: 'Resource';
105023
106691
  children: Array<Resource>;
@@ -105067,11 +106735,22 @@ export declare enum ResourceBookingStatus {
105067
106735
  }
105068
106736
  /** Filter for querying resources */
105069
106737
  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. */
106738
+ /**
106739
+ * Defaults to `true` — only active resources are returned. Omit the field
106740
+ * or pass `null` to use the default; pass `false` to find deactivated
106741
+ * resources. To list both, issue two separate queries (`true` then
106742
+ * `false`) and merge client-side; tracked in BOFF-2419.
106743
+ */
105071
106744
  isActive?: InputMaybe<Scalars['Boolean']['input']>;
105072
106745
  ownerId?: InputMaybe<Scalars['String']['input']>;
105073
106746
  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. */
106747
+ /**
106748
+ * Case-insensitive substring match against resource `identifier` and `name`.
106749
+ * Blank or whitespace-only values are ignored. Input is capped at 200
106750
+ * characters server-side (truncation happens before LIKE-escaping, so the
106751
+ * cap applies to user content). PostgreSQL LIKE wildcards (`%`, `_`) and
106752
+ * the escape character (`\\`) match literally, not as wildcards.
106753
+ */
105075
106754
  search?: InputMaybe<Scalars['String']['input']>;
105076
106755
  };
105077
106756
  /** Resource limits snapshot for a specific point in time */
@@ -105137,7 +106816,10 @@ export type ResourcePlanListResponse = {
105137
106816
  items: Array<ResourcePlan>;
105138
106817
  total: Scalars['Int']['output'];
105139
106818
  };
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"). */
106819
+ /**
106820
+ * A resource type (permission group) together with the products it is mapped to.
106821
+ * An empty products list means the resource type is cross-product ("All").
106822
+ */
105141
106823
  export type ResourceTypeProductInfo = {
105142
106824
  __typename?: 'ResourceTypeProductInfo';
105143
106825
  /** Product slugs (PlatformProduct.slug) this resource type is relevant to. */
@@ -105627,7 +107309,10 @@ export type Role = {
105627
107309
  /** Role-level permission overrides */
105628
107310
  permissionOverrides: Array<RolePermissionOverride>;
105629
107311
  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. */
107312
+ /**
107313
+ * Product this role belongs to (PlatformProduct.slug). Null = cross-product /
107314
+ * platform role (e.g. Workspace Owner, Editor, Viewer) shown under every product.
107315
+ */
105631
107316
  productSlug?: Maybe<Scalars['String']['output']>;
105632
107317
  scopeId: Scalars['String']['output'];
105633
107318
  scopeType: Scalars['String']['output'];
@@ -105656,14 +107341,27 @@ export type RoleDefaultPermission = {
105656
107341
  resourceType: Scalars['String']['output'];
105657
107342
  roleId: Scalars['String']['output'];
105658
107343
  };
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. */
107344
+ /**
107345
+ * Filter for querying roles.
107346
+ *
107347
+ * Note: scopeId is intentionally not part of this filter — the workspace scope
107348
+ * is derived from the request context (x-workspace-id) and cannot be overridden
107349
+ * by the client. This prevents cross-workspace reads.
107350
+ */
105660
107351
  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. */
107352
+ /**
107353
+ * Whether to include cross-product/platform roles (productSlug = null) when a
107354
+ * product filter is applied. Defaults to true. Ignored when product is unset.
107355
+ */
105662
107356
  includePlatformRoles?: InputMaybe<Scalars['Boolean']['input']>;
105663
107357
  includeSystem?: InputMaybe<Scalars['Boolean']['input']>;
105664
107358
  isSystem?: InputMaybe<Scalars['Boolean']['input']>;
105665
107359
  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. */
107360
+ /**
107361
+ * Filter roles by product (PlatformProduct.slug). When set, returns roles for
107362
+ * that product. Cross-product/platform roles (productSlug = null) are included
107363
+ * unless includePlatformRoles is explicitly false.
107364
+ */
105667
107365
  product?: InputMaybe<Scalars['String']['input']>;
105668
107366
  };
105669
107367
  /** Input for checkRoleGrant: may the requester grant these roles in scopeId? */
@@ -105679,9 +107377,17 @@ export type RoleGrantCheckResult = {
105679
107377
  __typename?: 'RoleGrantCheckResult';
105680
107378
  /** True when setActorRoles would let the requester add every requested role */
105681
107379
  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 */
107380
+ /**
107381
+ * Null when allowed; otherwise ROLE_NOT_FOUND | ROLE_SCOPE_MISMATCH | MAX_ROLES_EXCEEDED |
107382
+ * ASSIGNMENT_CREATE_REQUIRED | PROTECTED_ROLE_OWNER_ONLY | ROLE_ESCALATION
107383
+ */
105683
107384
  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. */
107385
+ /**
107386
+ * The roles refused for reasonCode: the missing or out-of-scope roles, every requested role
107387
+ * (ASSIGNMENT_CREATE_REQUIRED), the Owner/Admin roles (PROTECTED_ROLE_OWNER_ONLY), or the first
107388
+ * role found above the requester's own authority (ROLE_ESCALATION). Empty when allowed or for
107389
+ * MAX_ROLES_EXCEEDED.
107390
+ */
105685
107391
  refusedRoleIds: Array<Scalars['ID']['output']>;
105686
107392
  };
105687
107393
  /** Basic role information */
@@ -108425,6 +110131,33 @@ export declare enum SemModelStatus {
108425
110131
  Draft = "DRAFT",
108426
110132
  Published = "PUBLISHED"
108427
110133
  }
110134
+ export type SemOnboardingProgress = {
110135
+ __typename?: 'SemOnboardingProgress';
110136
+ completedCount: Scalars['Int']['output'];
110137
+ /** True while the workspace still holds the getting-started demo data. */
110138
+ demoDataPresent: Scalars['Boolean']['output'];
110139
+ isComplete: Scalars['Boolean']['output'];
110140
+ steps: Array<SemOnboardingStep>;
110141
+ totalCount: Scalars['Int']['output'];
110142
+ workspaceId: Scalars['ID']['output'];
110143
+ };
110144
+ /** 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. */
110145
+ export type SemOnboardingStep = {
110146
+ __typename?: 'SemOnboardingStep';
110147
+ completed: Scalars['Boolean']['output'];
110148
+ /** How many of the user's own records satisfy this step. */
110149
+ count: Scalars['Int']['output'];
110150
+ key: SemOnboardingStepKey;
110151
+ };
110152
+ /** The getting-started steps a new SemanticFed workspace works through, in order. */
110153
+ export declare enum SemOnboardingStepKey {
110154
+ AddDataSource = "ADD_DATA_SOURCE",
110155
+ AddPolicy = "ADD_POLICY",
110156
+ CreateModel = "CREATE_MODEL",
110157
+ DefineMetric = "DEFINE_METRIC",
110158
+ RegisterConnector = "REGISTER_CONNECTOR",
110159
+ RunQuery = "RUN_QUERY"
110160
+ }
108428
110161
  export type SemPageInfo = {
108429
110162
  __typename?: 'SemPageInfo';
108430
110163
  cursor?: Maybe<Scalars['String']['output']>;
@@ -108565,6 +110298,24 @@ export declare enum SemRelationshipKind {
108565
110298
  OneToMany = "ONE_TO_MANY",
108566
110299
  OneToOne = "ONE_TO_ONE"
108567
110300
  }
110301
+ export type SemRemoveWorkspaceDemoDataResult = {
110302
+ __typename?: 'SemRemoveWorkspaceDemoDataResult';
110303
+ removedConnectors: Scalars['Int']['output'];
110304
+ removedDataSources: Scalars['Int']['output'];
110305
+ removedModels: Scalars['Int']['output'];
110306
+ removedQueries: Scalars['Int']['output'];
110307
+ };
110308
+ /** Identifiers of the demo records. `created` is false when the workspace already held the demo data and the call returned the existing records unchanged. */
110309
+ export type SemSeedWorkspaceDemoDataResult = {
110310
+ __typename?: 'SemSeedWorkspaceDemoDataResult';
110311
+ connectorId: Scalars['ID']['output'];
110312
+ created: Scalars['Boolean']['output'];
110313
+ dataSourceId: Scalars['ID']['output'];
110314
+ entityIds: Array<Scalars['ID']['output']>;
110315
+ metricIds: Array<Scalars['ID']['output']>;
110316
+ modelId: Scalars['ID']['output'];
110317
+ queryId: Scalars['ID']['output'];
110318
+ };
108568
110319
  export type SemSemanticModel = {
108569
110320
  __typename?: 'SemSemanticModel';
108570
110321
  createdAt: Scalars['DateTime']['output'];
@@ -109185,6 +110936,14 @@ export type SetAgentVisibilityInput = {
109185
110936
  /** `PRIVATE` = owner only. `WORKSPACE` = every member with the matching `@rbac` permission. */
109186
110937
  visibility: VibecontrolsAgentVisibility;
109187
110938
  };
110939
+ /** 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. */
110940
+ export type SetCrewJobPostingSkillInput = {
110941
+ jobPostingId: Scalars['ID']['input'];
110942
+ minProficiency?: InputMaybe<Scalars['Int']['input']>;
110943
+ required?: InputMaybe<Scalars['Boolean']['input']>;
110944
+ skillId?: InputMaybe<Scalars['ID']['input']>;
110945
+ skillName?: InputMaybe<Scalars['String']['input']>;
110946
+ };
109188
110947
  /** 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
110948
  export type SetGgnomadPropertyAvailabilityInput = {
109190
110949
  endDate: Scalars['String']['input'];
@@ -109388,6 +111147,18 @@ export type ShareCollectionInput = {
109388
111147
  message?: InputMaybe<Scalars['String']['input']>;
109389
111148
  userId?: InputMaybe<Scalars['ID']['input']>;
109390
111149
  };
111150
+ /** The complete sharing of a connection: replaces its visibility and every current grant. */
111151
+ export type ShareConnectionInput = {
111152
+ connectionId: Scalars['ID']['input'];
111153
+ /**
111154
+ * Hand the connection to this person in the same change, so the new owner and the new sharing
111155
+ * apply together or not at all. Workspace administrators only; omit to keep the owner.
111156
+ */
111157
+ ownerId?: InputMaybe<Scalars['ID']['input']>;
111158
+ /** At most 100 grants; the owner never needs one */
111159
+ shares: Array<ConnectionShareInput>;
111160
+ visibility: ConnectionVisibility;
111161
+ };
109391
111162
  /** Input for sharing an entity with a specific person by email. */
109392
111163
  export type ShareEntityInput = {
109393
111164
  email: Scalars['String']['input'];
@@ -110244,11 +112015,111 @@ export declare enum SubAgentKind {
110244
112015
  Renewal = "RENEWAL",
110245
112016
  Vendor = "VENDOR"
110246
112017
  }
112018
+ export type SubAgentRunResult = {
112019
+ __typename?: 'SubAgentRunResult';
112020
+ agentId: Scalars['ID']['output'];
112021
+ applied: Scalars['Int']['output'];
112022
+ decisions: Array<SubDecision>;
112023
+ dryRun: Scalars['Boolean']['output'];
112024
+ /** Relationships evaluated (ACTIVE and TRIAL only). */
112025
+ evaluated: Scalars['Int']['output'];
112026
+ flagged: Scalars['Int']['output'];
112027
+ invocationRef?: Maybe<Scalars['String']['output']>;
112028
+ kind: SubAgentKind;
112029
+ proposed: Scalars['Int']['output'];
112030
+ ranAt: Scalars['DateTime']['output'];
112031
+ runId: Scalars['ID']['output'];
112032
+ /** True when the workspace has more relationships than one run evaluates. */
112033
+ truncated: Scalars['Boolean']['output'];
112034
+ };
112035
+ /** 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. */
112036
+ export type SubAgentSchedule = {
112037
+ __typename?: 'SubAgentSchedule';
112038
+ cronExpression: Scalars['String']['output'];
112039
+ id: Scalars['ID']['output'];
112040
+ lastError?: Maybe<Scalars['String']['output']>;
112041
+ lastSweepAt?: Maybe<Scalars['DateTime']['output']>;
112042
+ schedulerJobId?: Maybe<Scalars['ID']['output']>;
112043
+ status: SubAgentScheduleStatus;
112044
+ timezone: Scalars['String']['output'];
112045
+ updatedAt: Scalars['DateTime']['output'];
112046
+ workspaceId: Scalars['ID']['output'];
112047
+ };
112048
+ export type SubAgentScheduleReconcileResult = {
112049
+ __typename?: 'SubAgentScheduleReconcileResult';
112050
+ ensured: Scalars['Int']['output'];
112051
+ failed: Scalars['Int']['output'];
112052
+ schedules: Array<SubAgentSchedule>;
112053
+ /** Workspaces with an enabled, schedulable agent. */
112054
+ workspaces: Scalars['Int']['output'];
112055
+ };
112056
+ export declare enum SubAgentScheduleStatus {
112057
+ Active = "ACTIVE",
112058
+ Failed = "FAILED",
112059
+ Pending = "PENDING"
112060
+ }
110247
112061
  export declare enum SubAgentStatus {
110248
112062
  Autonomous = "AUTONOMOUS",
110249
112063
  Disabled = "DISABLED",
110250
112064
  SuggestOnly = "SUGGEST_ONLY"
110251
112065
  }
112066
+ export type SubAgentSweep = {
112067
+ __typename?: 'SubAgentSweep';
112068
+ agents: Array<SubAgentSweepAgentOutcome>;
112069
+ agentsConsidered: Scalars['Int']['output'];
112070
+ agentsRun: Scalars['Int']['output'];
112071
+ agentsSkipped: Scalars['Int']['output'];
112072
+ decisionsCreated: Scalars['Int']['output'];
112073
+ decisionsRefreshed: Scalars['Int']['output'];
112074
+ /** 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. */
112075
+ duplicate: Scalars['Boolean']['output'];
112076
+ durationMs?: Maybe<Scalars['Int']['output']>;
112077
+ error?: Maybe<Scalars['String']['output']>;
112078
+ finishedAt?: Maybe<Scalars['DateTime']['output']>;
112079
+ id: Scalars['ID']['output'];
112080
+ notificationsSent: Scalars['Int']['output'];
112081
+ scheduledFor?: Maybe<Scalars['DateTime']['output']>;
112082
+ /** KILL_SWITCH, AGENTS_MODULE_DISABLED, NO_DUE_AGENTS, DAILY_DECISION_CAP, AI_QUOTA_EXHAUSTED or AI_QUOTA_NOT_PROVISIONED when the sweep was skipped. */
112083
+ skippedReason?: Maybe<Scalars['String']['output']>;
112084
+ startedAt: Scalars['DateTime']['output'];
112085
+ status: SubAgentSweepStatus;
112086
+ trigger: SubAgentSweepTrigger;
112087
+ workspaceId: Scalars['ID']['output'];
112088
+ };
112089
+ /** What one sweep did with one agent. */
112090
+ export type SubAgentSweepAgentOutcome = {
112091
+ __typename?: 'SubAgentSweepAgentOutcome';
112092
+ agentId: Scalars['ID']['output'];
112093
+ applied: Scalars['Int']['output'];
112094
+ created: Scalars['Int']['output'];
112095
+ dryRun: Scalars['Boolean']['output'];
112096
+ durationMs: Scalars['Int']['output'];
112097
+ error?: Maybe<Scalars['String']['output']>;
112098
+ kind: SubAgentKind;
112099
+ /** RAN, FAILED, NOT_DUE (ran too recently for its cadence) or CAPPED (over the per-sweep agent cap or the AI-action quota). */
112100
+ outcome: Scalars['String']['output'];
112101
+ refreshed: Scalars['Int']['output'];
112102
+ runId?: Maybe<Scalars['ID']['output']>;
112103
+ /** New advice held back by a recent dismissal or the daily decision cap. */
112104
+ suppressed: Scalars['Int']['output'];
112105
+ };
112106
+ export type SubAgentSweepConnection = {
112107
+ __typename?: 'SubAgentSweepConnection';
112108
+ items: Array<SubAgentSweep>;
112109
+ pageInfo: SubPageInfo;
112110
+ };
112111
+ export declare enum SubAgentSweepStatus {
112112
+ Completed = "COMPLETED",
112113
+ Failed = "FAILED",
112114
+ Running = "RUNNING",
112115
+ Skipped = "SKIPPED"
112116
+ }
112117
+ export declare enum SubAgentSweepTrigger {
112118
+ /** Run on demand by a super admin. */
112119
+ Manual = "MANUAL",
112120
+ /** Fired by wspace-scheduler-svc. */
112121
+ Scheduled = "SCHEDULED"
112122
+ }
110252
112123
  export type SubAiAgent = {
110253
112124
  __typename?: 'SubAiAgent';
110254
112125
  config?: Maybe<Scalars['JSON']['output']>;
@@ -110356,6 +112227,15 @@ export declare enum SubBillingInterval {
110356
112227
  Weekly = "WEEKLY",
110357
112228
  Yearly = "YEARLY"
110358
112229
  }
112230
+ export type SubBudgetStatus = {
112231
+ __typename?: 'SubBudgetStatus';
112232
+ monthlyBudget: Scalars['Float']['output'];
112233
+ monthlySpend: Scalars['Float']['output'];
112234
+ overBudget: Scalars['Boolean']['output'];
112235
+ utilizationPct: Scalars['Float']['output'];
112236
+ /** Budget minus spend; negative when over budget. */
112237
+ variance: Scalars['Float']['output'];
112238
+ };
110359
112239
  export declare enum SubChannelStatus {
110360
112240
  Disabled = "DISABLED",
110361
112241
  Pending = "PENDING",
@@ -110389,6 +112269,29 @@ export type SubCommunicationChannelConnection = {
110389
112269
  items: Array<SubCommunicationChannel>;
110390
112270
  pageInfo: SubPageInfo;
110391
112271
  };
112272
+ export type SubConsolidateRelationshipsInput = {
112273
+ amount?: InputMaybe<Scalars['Float']['input']>;
112274
+ /** Subscriptions to cancel (1 to 9, without the kept one). */
112275
+ cancelRelationshipIds: Array<Scalars['ID']['input']>;
112276
+ interval?: InputMaybe<SubBillingInterval>;
112277
+ keepRelationshipId: Scalars['ID']['input'];
112278
+ /** Optional bundled plan for the kept subscription. */
112279
+ planId?: InputMaybe<Scalars['ID']['input']>;
112280
+ };
112281
+ export type SubConsolidationFailure = {
112282
+ __typename?: 'SubConsolidationFailure';
112283
+ message: Scalars['String']['output'];
112284
+ relationshipId: Scalars['ID']['output'];
112285
+ };
112286
+ export type SubConsolidationResult = {
112287
+ __typename?: 'SubConsolidationResult';
112288
+ cancelled: Array<SubRelationship>;
112289
+ currency: Scalars['String']['output'];
112290
+ /** Yearly saving of the subscriptions actually cancelled, after any plan change. */
112291
+ estimatedSavings: Scalars['Float']['output'];
112292
+ failed: Array<SubConsolidationFailure>;
112293
+ kept: SubRelationship;
112294
+ };
110392
112295
  export type SubCreateAgentInput = {
110393
112296
  config?: InputMaybe<Scalars['JSON']['input']>;
110394
112297
  description?: InputMaybe<Scalars['String']['input']>;
@@ -110493,6 +112396,7 @@ export type SubCreateRelationshipInput = {
110493
112396
  amount?: InputMaybe<Scalars['Float']['input']>;
110494
112397
  autoRenew?: InputMaybe<Scalars['Boolean']['input']>;
110495
112398
  currency?: InputMaybe<Scalars['String']['input']>;
112399
+ department?: InputMaybe<Scalars['String']['input']>;
110496
112400
  discoverySource?: InputMaybe<SubDiscoverySource>;
110497
112401
  interval?: InputMaybe<SubBillingInterval>;
110498
112402
  kind?: InputMaybe<SubRelationshipKind>;
@@ -110513,6 +112417,98 @@ export type SubCreateWorkflowInput = {
110513
112417
  steps?: InputMaybe<Scalars['JSON']['input']>;
110514
112418
  triggerEvent: Scalars['String']['input'];
110515
112419
  };
112420
+ export type SubCurrencySpend = {
112421
+ __typename?: 'SubCurrencySpend';
112422
+ currency: Scalars['String']['output'];
112423
+ monthlySpend: Scalars['Float']['output'];
112424
+ relationshipCount: Scalars['Int']['output'];
112425
+ };
112426
+ /** 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`). */
112427
+ export type SubDecision = {
112428
+ __typename?: 'SubDecision';
112429
+ agent?: Maybe<SubAiAgent>;
112430
+ agentId: Scalars['ID']['output'];
112431
+ appliedAt?: Maybe<Scalars['DateTime']['output']>;
112432
+ appliedBy?: Maybe<Scalars['ID']['output']>;
112433
+ applyInvocationRef?: Maybe<Scalars['String']['output']>;
112434
+ /** 0..1 */
112435
+ confidence: Scalars['Float']['output'];
112436
+ createdAt: Scalars['DateTime']['output'];
112437
+ currency: Scalars['String']['output'];
112438
+ dismissedAt?: Maybe<Scalars['DateTime']['output']>;
112439
+ dismissedReason?: Maybe<Scalars['String']['output']>;
112440
+ /** Annualised saving if applied, in `currency`. */
112441
+ estimatedSavings: Scalars['Float']['output'];
112442
+ evidence: Scalars['JSON']['output'];
112443
+ id: Scalars['ID']['output'];
112444
+ invocationRef?: Maybe<Scalars['String']['output']>;
112445
+ kind: SubDecisionKind;
112446
+ proposedChange: Scalars['JSON']['output'];
112447
+ rationale: Scalars['String']['output'];
112448
+ recommendation: SubDecisionRecommendation;
112449
+ relationship?: Maybe<SubRelationship>;
112450
+ relationshipId: Scalars['ID']['output'];
112451
+ runId: Scalars['ID']['output'];
112452
+ status: SubDecisionStatus;
112453
+ updatedAt: Scalars['DateTime']['output'];
112454
+ validationErrors: Array<Scalars['String']['output']>;
112455
+ workspaceId: Scalars['ID']['output'];
112456
+ };
112457
+ export type SubDecisionConnection = {
112458
+ __typename?: 'SubDecisionConnection';
112459
+ items: Array<SubDecision>;
112460
+ pageInfo: SubPageInfo;
112461
+ };
112462
+ export type SubDecisionFilter = {
112463
+ agentId?: InputMaybe<Scalars['ID']['input']>;
112464
+ kind?: InputMaybe<SubDecisionKind>;
112465
+ recommendation?: InputMaybe<SubDecisionRecommendation>;
112466
+ relationshipId?: InputMaybe<Scalars['ID']['input']>;
112467
+ status?: InputMaybe<SubDecisionStatus>;
112468
+ };
112469
+ /** 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. */
112470
+ export declare enum SubDecisionKind {
112471
+ CancelCandidate = "CANCEL_CANDIDATE",
112472
+ /** Cancel a relationship that another one in the portfolio already covers (duplicate provider, shared capability or subsumed entitlements). */
112473
+ ConsolidateOverlap = "CONSOLIDATE_OVERLAP",
112474
+ PlanRightSize = "PLAN_RIGHT_SIZE",
112475
+ RenewalTriage = "RENEWAL_TRIAGE",
112476
+ TrialExpiry = "TRIAL_EXPIRY"
112477
+ }
112478
+ /** 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. */
112479
+ export declare enum SubDecisionRecommendation {
112480
+ Cancel = "CANCEL",
112481
+ ConvertTrial = "CONVERT_TRIAL",
112482
+ Downgrade = "DOWNGRADE",
112483
+ Pause = "PAUSE",
112484
+ Renew = "RENEW",
112485
+ SwitchToAnnual = "SWITCH_TO_ANNUAL"
112486
+ }
112487
+ export type SubDecisionResult = {
112488
+ __typename?: 'SubDecisionResult';
112489
+ decision: SubDecision;
112490
+ /** The relationship after the applied change. */
112491
+ relationship?: Maybe<SubRelationship>;
112492
+ };
112493
+ /** 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. */
112494
+ export declare enum SubDecisionStatus {
112495
+ Applied = "APPLIED",
112496
+ Applying = "APPLYING",
112497
+ Dismissed = "DISMISSED",
112498
+ Flagged = "FLAGGED",
112499
+ Proposed = "PROPOSED",
112500
+ Stale = "STALE"
112501
+ }
112502
+ export type SubDepartmentSpend = {
112503
+ __typename?: 'SubDepartmentSpend';
112504
+ annualSpend: Scalars['Float']['output'];
112505
+ budget?: Maybe<SubBudgetStatus>;
112506
+ /** Department / team / cost centre; null for spend not yet allocated. */
112507
+ department?: Maybe<Scalars['String']['output']>;
112508
+ monthlySpend: Scalars['Float']['output'];
112509
+ relationshipCount: Scalars['Int']['output'];
112510
+ sharePct: Scalars['Float']['output'];
112511
+ };
110516
112512
  export declare enum SubDiscoverySource {
110517
112513
  AiAgent = "AI_AGENT",
110518
112514
  EmailScan = "EMAIL_SCAN",
@@ -110521,6 +112517,68 @@ export declare enum SubDiscoverySource {
110521
112517
  PaymentScan = "PAYMENT_SCAN",
110522
112518
  ProviderConnect = "PROVIDER_CONNECT"
110523
112519
  }
112520
+ /** A duplicate-tool warning: one BOFF-3703 overlap group (see subDetectOverlaps) in the dashboard currency, with the departments that pay for its members. */
112521
+ export type SubDuplicateToolGroup = {
112522
+ __typename?: 'SubDuplicateToolGroup';
112523
+ departments: Array<Scalars['String']['output']>;
112524
+ keepRelationshipId: Scalars['ID']['output'];
112525
+ /** The overlap group id (stable across runs). */
112526
+ key: Scalars['String']['output'];
112527
+ monthlySpend: Scalars['Float']['output'];
112528
+ name: Scalars['String']['output'];
112529
+ /** Monthly spend of the members the kept relationship fully covers. */
112530
+ potentialMonthlySavings: Scalars['Float']['output'];
112531
+ /** The shared provider for an EXACT_DUPLICATE group; null otherwise. */
112532
+ providerId?: Maybe<Scalars['ID']['output']>;
112533
+ rationale: Scalars['String']['output'];
112534
+ relationshipCount: Scalars['Int']['output'];
112535
+ relationships: Array<SubDuplicateToolMember>;
112536
+ type: SubOverlapType;
112537
+ };
112538
+ export type SubDuplicateToolMember = {
112539
+ __typename?: 'SubDuplicateToolMember';
112540
+ department?: Maybe<Scalars['String']['output']>;
112541
+ /** The member the overlap detector recommends keeping. */
112542
+ keep: Scalars['Boolean']['output'];
112543
+ label: Scalars['String']['output'];
112544
+ monthlySpend: Scalars['Float']['output'];
112545
+ relationshipId: Scalars['ID']['output'];
112546
+ };
112547
+ export type SubEnterpriseSpendDashboard = {
112548
+ __typename?: 'SubEnterpriseSpendDashboard';
112549
+ activeRelationshipCount: Scalars['Int']['output'];
112550
+ annualSpend: Scalars['Float']['output'];
112551
+ /** Company-wide budget status; null when no company budget is set for this currency. */
112552
+ budget?: Maybe<SubBudgetStatus>;
112553
+ currency: Scalars['String']['output'];
112554
+ departments: Array<SubDepartmentSpend>;
112555
+ /** Monthly saving if every recommended consolidation is made (each relationship counted once). */
112556
+ duplicatePotentialMonthlySavings: Scalars['Float']['output'];
112557
+ duplicateTools: Array<SubDuplicateToolGroup>;
112558
+ generatedAt: Scalars['DateTime']['output'];
112559
+ /** Relationships billing now, most expensive first (top 50). */
112560
+ licenses: Array<SubLicenseRow>;
112561
+ monthlySpend: Scalars['Float']['output'];
112562
+ monthlySpendChangePct?: Maybe<Scalars['Float']['output']>;
112563
+ /** Spend billed in other currencies, which this dashboard does not include. */
112564
+ otherCurrencies: Array<SubCurrencySpend>;
112565
+ /** Monthly run-rate 30 days ago. */
112566
+ previousMonthlySpend: Scalars['Float']['output'];
112567
+ renewalPipeline: Array<SubRenewalQuarter>;
112568
+ riskFlagCount: Scalars['Int']['output'];
112569
+ riskFlags: Array<SubSpendRiskFlag>;
112570
+ /** Seats used as a percentage of seats assigned; null when no seats are tracked. */
112571
+ seatUtilizationPct?: Maybe<Scalars['Float']['output']>;
112572
+ /** Seats across relationships billing now that track SEAT entitlements. */
112573
+ seatsAssigned: Scalars['Int']['output'];
112574
+ seatsUsed: Scalars['Int']['output'];
112575
+ shadowIt: Array<SubShadowItItem>;
112576
+ shadowItCount: Scalars['Int']['output'];
112577
+ shadowItMonthlySpend: Scalars['Float']['output'];
112578
+ trend: Array<SubSpendTrendPoint>;
112579
+ /** True when the workspace has more relationships than one dashboard aggregates. */
112580
+ truncated: Scalars['Boolean']['output'];
112581
+ };
110524
112582
  export type SubEntitlement = {
110525
112583
  __typename?: 'SubEntitlement';
110526
112584
  createdAt: Scalars['DateTime']['output'];
@@ -110549,6 +112607,12 @@ export declare enum SubEntitlementType {
110549
112607
  SupportTier = "SUPPORT_TIER",
110550
112608
  UsageQuota = "USAGE_QUOTA"
110551
112609
  }
112610
+ export type SubHealthRecomputeResult = {
112611
+ __typename?: 'SubHealthRecomputeResult';
112612
+ evaluated: Scalars['Int']['output'];
112613
+ truncated: Scalars['Boolean']['output'];
112614
+ updated: Scalars['Int']['output'];
112615
+ };
110552
112616
  export type SubInboxMessage = {
110553
112617
  __typename?: 'SubInboxMessage';
110554
112618
  actionRequired: Scalars['Boolean']['output'];
@@ -110617,6 +112681,20 @@ export declare enum SubInvoiceStatus {
110617
112681
  Paid = "PAID",
110618
112682
  Refunded = "REFUNDED"
110619
112683
  }
112684
+ export type SubLicenseRow = {
112685
+ __typename?: 'SubLicenseRow';
112686
+ annualCost: Scalars['Float']['output'];
112687
+ department?: Maybe<Scalars['String']['output']>;
112688
+ label: Scalars['String']['output'];
112689
+ monthlySpend: Scalars['Float']['output'];
112690
+ providerName?: Maybe<Scalars['String']['output']>;
112691
+ relationshipId: Scalars['ID']['output'];
112692
+ renewsAt?: Maybe<Scalars['DateTime']['output']>;
112693
+ /** Seats purchased (sum of active SEAT entitlement quotas); null when seats are not tracked. */
112694
+ seatsAssigned?: Maybe<Scalars['Int']['output']>;
112695
+ seatsUsed?: Maybe<Scalars['Int']['output']>;
112696
+ utilizationPct?: Maybe<Scalars['Float']['output']>;
112697
+ };
110620
112698
  export type SubMarketplaceReport = {
110621
112699
  __typename?: 'SubMarketplaceReport';
110622
112700
  createdAt: Scalars['DateTime']['output'];
@@ -110647,6 +112725,64 @@ export declare enum SubModerationAction {
110647
112725
  Dismiss = "DISMISS",
110648
112726
  RemoveListing = "REMOVE_LISTING"
110649
112727
  }
112728
+ export type SubMoneyAmount = {
112729
+ __typename?: 'SubMoneyAmount';
112730
+ amount: Scalars['Float']['output'];
112731
+ currency: Scalars['String']['output'];
112732
+ };
112733
+ export type SubOverlap = {
112734
+ __typename?: 'SubOverlap';
112735
+ annualSavings: Scalars['Float']['output'];
112736
+ annualSpend: Scalars['Float']['output'];
112737
+ confidence: Scalars['Float']['output'];
112738
+ currency: Scalars['String']['output'];
112739
+ /** Members the kept relationship fully covers; consolidating cancels these. */
112740
+ dropRelationshipIds: Array<Scalars['ID']['output']>;
112741
+ /** Stable across runs for the same overlap. */
112742
+ id: Scalars['ID']['output'];
112743
+ keepRelationshipId: Scalars['ID']['output'];
112744
+ /** Provider id, capability name or the subsuming relationship id. */
112745
+ key: Scalars['String']['output'];
112746
+ members: Array<SubOverlapMember>;
112747
+ rationale: Scalars['String']['output'];
112748
+ title: Scalars['String']['output'];
112749
+ type: SubOverlapType;
112750
+ };
112751
+ export type SubOverlapConnection = {
112752
+ __typename?: 'SubOverlapConnection';
112753
+ items: Array<SubOverlap>;
112754
+ pageInfo: SubPageInfo;
112755
+ /** Annualised savings if every recommended consolidation is made, per currency. Each relationship is counted once. */
112756
+ totalAnnualSavings: Array<SubMoneyAmount>;
112757
+ totalCount: Scalars['Int']['output'];
112758
+ /** True when the workspace has more ACTIVE relationships than one detection reads. */
112759
+ truncated: Scalars['Boolean']['output'];
112760
+ };
112761
+ export type SubOverlapMember = {
112762
+ __typename?: 'SubOverlapMember';
112763
+ amount: Scalars['Float']['output'];
112764
+ /** `amount` normalised to a year (0 for non-recurring intervals). */
112765
+ annualCost: Scalars['Float']['output'];
112766
+ capabilities: Array<Scalars['String']['output']>;
112767
+ currency: Scalars['String']['output'];
112768
+ entitlementNames: Array<Scalars['String']['output']>;
112769
+ interval: SubBillingInterval;
112770
+ label: Scalars['String']['output'];
112771
+ providerId?: Maybe<Scalars['ID']['output']>;
112772
+ providerName?: Maybe<Scalars['String']['output']>;
112773
+ relationship?: Maybe<SubRelationship>;
112774
+ relationshipId: Scalars['ID']['output'];
112775
+ /** Total recorded usage across the relationship's active entitlements. */
112776
+ usage: Scalars['Int']['output'];
112777
+ };
112778
+ export declare enum SubOverlapType {
112779
+ /** Different providers that share a `capability:` tag (e.g. `capability:cloud-storage`). */
112780
+ Capability = "CAPABILITY",
112781
+ /** A relationship whose entitlements are substantially included in another provider's. */
112782
+ Entitlement = "ENTITLEMENT",
112783
+ /** Two or more ACTIVE relationships with the same provider. */
112784
+ ExactDuplicate = "EXACT_DUPLICATE"
112785
+ }
110650
112786
  export type SubPageInfo = {
110651
112787
  __typename?: 'SubPageInfo';
110652
112788
  cursor?: Maybe<Scalars['String']['output']>;
@@ -110795,8 +112931,11 @@ export type SubRelationship = {
110795
112931
  cancelledAt?: Maybe<Scalars['DateTime']['output']>;
110796
112932
  createdAt: Scalars['DateTime']['output'];
110797
112933
  currency: Scalars['String']['output'];
112934
+ /** Department / team / cost centre the spend is allocated to (null = unallocated). */
112935
+ department?: Maybe<Scalars['String']['output']>;
110798
112936
  discoverySource: SubDiscoverySource;
110799
112937
  entitlements: Array<SubEntitlement>;
112938
+ /** 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
112939
  healthScore?: Maybe<Scalars['Int']['output']>;
110801
112940
  id: Scalars['ID']['output'];
110802
112941
  interval: SubBillingInterval;
@@ -110860,16 +112999,139 @@ export type SubRenewalEventConnection = {
110860
112999
  items: Array<SubRenewalEvent>;
110861
113000
  pageInfo: SubPageInfo;
110862
113001
  };
113002
+ export type SubRenewalQuarter = {
113003
+ __typename?: 'SubRenewalQuarter';
113004
+ amount: Scalars['Float']['output'];
113005
+ endsAt: Scalars['DateTime']['output'];
113006
+ label: Scalars['String']['output'];
113007
+ quarter: Scalars['Int']['output'];
113008
+ relationshipCount: Scalars['Int']['output'];
113009
+ renewalCount: Scalars['Int']['output'];
113010
+ startsAt: Scalars['DateTime']['output'];
113011
+ topRenewals: Array<SubUpcomingRenewal>;
113012
+ year: Scalars['Int']['output'];
113013
+ };
110863
113014
  export declare enum SubReportStatus {
110864
113015
  Dismissed = "DISMISSED",
110865
113016
  Pending = "PENDING",
110866
113017
  Resolved = "RESOLVED"
110867
113018
  }
113019
+ /** Set by wspace-scheduler-svc at fire time: idempotencyKey is "<scheduleId>:<scheduledTime>" and triggerData carries scheduledTime, firedAt, timezone, scheduleId and eventId. */
113020
+ export type SubRunAgentSweepInput = {
113021
+ /** Run every enabled agent even if it ran recently. Status gating, the kill switch, the decision cap and the quota pre-flight still apply. */
113022
+ force?: InputMaybe<Scalars['Boolean']['input']>;
113023
+ idempotencyKey?: InputMaybe<Scalars['String']['input']>;
113024
+ triggerData?: InputMaybe<Scalars['JSON']['input']>;
113025
+ };
113026
+ /** Open (PROPOSED) decisions of one recommendation in one currency. */
113027
+ export type SubSavingsGroup = {
113028
+ __typename?: 'SubSavingsGroup';
113029
+ annualSavings: Scalars['Float']['output'];
113030
+ count: Scalars['Int']['output'];
113031
+ currency: Scalars['String']['output'];
113032
+ recommendation: SubDecisionRecommendation;
113033
+ };
113034
+ export type SubSavingsOverview = {
113035
+ __typename?: 'SubSavingsOverview';
113036
+ /** Bundle suggestions: the duplicate and overlap groups (subDetectOverlaps) that recommend cancelling something and were not dismissed. Consolidating one keeps `keepRelationshipId` and cancels `dropRelationshipIds`. */
113037
+ bundles: Array<SubOverlap>;
113038
+ generatedAt: Scalars['DateTime']['output'];
113039
+ groups: Array<SubSavingsGroup>;
113040
+ /** Open (PROPOSED) decisions counted. */
113041
+ openDecisions: Scalars['Int']['output'];
113042
+ totals: Array<SubSavingsTotal>;
113043
+ /** True when the workspace has more open decisions or live subscriptions than one overview scans. */
113044
+ truncated: Scalars['Boolean']['output'];
113045
+ };
113046
+ /** Headline yearly saving in one currency, counting every subscription once (the largest saving among its open recommendations and bundle suggestions). */
113047
+ export type SubSavingsTotal = {
113048
+ __typename?: 'SubSavingsTotal';
113049
+ annualSavings: Scalars['Float']['output'];
113050
+ currency: Scalars['String']['output'];
113051
+ /** Part of `annualSavings` that comes from bundle suggestions. */
113052
+ fromBundles: Scalars['Float']['output'];
113053
+ /** Part of `annualSavings` that comes from open decisions. */
113054
+ fromDecisions: Scalars['Float']['output'];
113055
+ };
113056
+ export type SubSetSpendBudgetInput = {
113057
+ currency: Scalars['String']['input'];
113058
+ /** Department to budget; omit or leave empty for the company-wide budget. */
113059
+ department?: InputMaybe<Scalars['String']['input']>;
113060
+ /** Monthly budget. Null, zero or a negative amount removes the budget. */
113061
+ monthlyAmount?: InputMaybe<Scalars['Float']['input']>;
113062
+ };
113063
+ export type SubShadowItItem = {
113064
+ __typename?: 'SubShadowItItem';
113065
+ department?: Maybe<Scalars['String']['output']>;
113066
+ detectedAt: Scalars['DateTime']['output'];
113067
+ discoverySource: SubDiscoverySource;
113068
+ label: Scalars['String']['output'];
113069
+ monthlySpend: Scalars['Float']['output'];
113070
+ providerId?: Maybe<Scalars['ID']['output']>;
113071
+ providerName?: Maybe<Scalars['String']['output']>;
113072
+ reason: SubShadowItReason;
113073
+ relationshipId: Scalars['ID']['output'];
113074
+ };
113075
+ export declare enum SubShadowItReason {
113076
+ /** Linked to a provider that has been deprecated (removed from the catalogue). */
113077
+ DeprecatedProvider = "DEPRECATED_PROVIDER",
113078
+ /** Discovered automatically and not linked to any provider in the catalogue. */
113079
+ Uncatalogued = "UNCATALOGUED",
113080
+ /** Discovered automatically and linked to a provider nobody has verified. */
113081
+ UnverifiedProvider = "UNVERIFIED_PROVIDER"
113082
+ }
113083
+ export type SubSpendBudget = {
113084
+ __typename?: 'SubSpendBudget';
113085
+ currency: Scalars['String']['output'];
113086
+ /** Department the budget applies to; null for the company-wide budget. */
113087
+ department?: Maybe<Scalars['String']['output']>;
113088
+ id: Scalars['ID']['output'];
113089
+ monthlyAmount: Scalars['Float']['output'];
113090
+ updatedAt: Scalars['DateTime']['output'];
113091
+ };
113092
+ export type SubSpendRiskFlag = {
113093
+ __typename?: 'SubSpendRiskFlag';
113094
+ department?: Maybe<Scalars['String']['output']>;
113095
+ detail: Scalars['String']['output'];
113096
+ kind: SubSpendRiskKind;
113097
+ label: Scalars['String']['output'];
113098
+ monthlySpend: Scalars['Float']['output'];
113099
+ relationshipId: Scalars['ID']['output'];
113100
+ severity: SubSpendRiskSeverity;
113101
+ };
113102
+ export declare enum SubSpendRiskKind {
113103
+ HighCostAi = "HIGH_COST_AI",
113104
+ MissingInvoice = "MISSING_INVOICE",
113105
+ PastDue = "PAST_DUE",
113106
+ UntrackedTrial = "UNTRACKED_TRIAL"
113107
+ }
113108
+ export declare enum SubSpendRiskSeverity {
113109
+ High = "HIGH",
113110
+ Low = "LOW",
113111
+ Medium = "MEDIUM"
113112
+ }
113113
+ export type SubSpendTrendPoint = {
113114
+ __typename?: 'SubSpendTrendPoint';
113115
+ at: Scalars['DateTime']['output'];
113116
+ /** Monthly run-rate of recurring spend at this instant. */
113117
+ monthlySpend: Scalars['Float']['output'];
113118
+ };
110868
113119
  export declare enum SubSubmissionStatus {
110869
113120
  Approved = "APPROVED",
110870
113121
  Pending = "PENDING",
110871
113122
  Rejected = "REJECTED"
110872
113123
  }
113124
+ export type SubUpcomingRenewal = {
113125
+ __typename?: 'SubUpcomingRenewal';
113126
+ /** Total renewal charges of this relationship in the quarter. */
113127
+ amount: Scalars['Float']['output'];
113128
+ autoRenew: Scalars['Boolean']['output'];
113129
+ department?: Maybe<Scalars['String']['output']>;
113130
+ label: Scalars['String']['output'];
113131
+ relationshipId: Scalars['ID']['output'];
113132
+ /** First renewal of this relationship in the quarter. */
113133
+ renewsAt: Scalars['DateTime']['output'];
113134
+ };
110873
113135
  export type SubUpdateProviderInput = {
110874
113136
  category?: InputMaybe<SubProviderCategory>;
110875
113137
  churnRiskScore?: InputMaybe<Scalars['Int']['input']>;
@@ -110889,6 +113151,9 @@ export type SubUpdateRelationshipInput = {
110889
113151
  amount?: InputMaybe<Scalars['Float']['input']>;
110890
113152
  autoRenew?: InputMaybe<Scalars['Boolean']['input']>;
110891
113153
  currency?: InputMaybe<Scalars['String']['input']>;
113154
+ /** Department / team / cost centre; an empty string clears it. */
113155
+ department?: InputMaybe<Scalars['String']['input']>;
113156
+ /** @deprecated healthScore is computed from recorded signals; a supplied value is ignored. Use subRecomputeHealthScores. */
110892
113157
  healthScore?: InputMaybe<Scalars['Int']['input']>;
110893
113158
  interval?: InputMaybe<SubBillingInterval>;
110894
113159
  kind?: InputMaybe<SubRelationshipKind>;
@@ -112487,6 +114752,9 @@ export declare enum TcpArchiveItemKind {
112487
114752
  export type TcpCitation = {
112488
114753
  __typename?: 'TcpCitation';
112489
114754
  author?: Maybe<Scalars['String']['output']>;
114755
+ claim?: Maybe<TcpStoryClaim>;
114756
+ /** 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). */
114757
+ claimId?: Maybe<Scalars['ID']['output']>;
112490
114758
  createdAt: Scalars['DateTime']['output'];
112491
114759
  excerpt?: Maybe<Scalars['String']['output']>;
112492
114760
  id: Scalars['ID']['output'];
@@ -112551,6 +114819,8 @@ export type TcpCreateArchiveItemInput = {
112551
114819
  };
112552
114820
  export type TcpCreateCitationInput = {
112553
114821
  author?: InputMaybe<Scalars['String']['input']>;
114822
+ /** Optional claim (on the same story) this citation supports. */
114823
+ claimId?: InputMaybe<Scalars['ID']['input']>;
112554
114824
  excerpt?: InputMaybe<Scalars['String']['input']>;
112555
114825
  provenance?: InputMaybe<Scalars['String']['input']>;
112556
114826
  publishedOn?: InputMaybe<Scalars['DateTime']['input']>;
@@ -112596,6 +114866,13 @@ export type TcpCreateReplyInput = {
112596
114866
  discussionId: Scalars['ID']['input'];
112597
114867
  perspective?: InputMaybe<Scalars['String']['input']>;
112598
114868
  };
114869
+ export type TcpCreateStoryClaimInput = {
114870
+ bodyEnd?: InputMaybe<Scalars['Int']['input']>;
114871
+ /** 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). */
114872
+ bodyStart?: InputMaybe<Scalars['Int']['input']>;
114873
+ storyId: Scalars['ID']['input'];
114874
+ text: Scalars['String']['input'];
114875
+ };
112599
114876
  export type TcpCreateStoryInput = {
112600
114877
  authorId?: InputMaybe<Scalars['ID']['input']>;
112601
114878
  body?: InputMaybe<Scalars['String']['input']>;
@@ -112696,21 +114973,9 @@ export type TcpPageInfo = {
112696
114973
  cursor?: Maybe<Scalars['String']['output']>;
112697
114974
  hasMore: Scalars['Boolean']['output'];
112698
114975
  };
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
114976
  export type TcpReplyConnection = {
112712
114977
  __typename?: 'TcpReplyConnection';
112713
- items: Array<TcpReply>;
114978
+ items: Array<EntityComment>;
112714
114979
  pageInfo: TcpPageInfo;
112715
114980
  };
112716
114981
  export declare enum TcpSourceType {
@@ -112728,6 +114993,8 @@ export type TcpStory = {
112728
114993
  authorId?: Maybe<Scalars['ID']['output']>;
112729
114994
  body?: Maybe<Scalars['String']['output']>;
112730
114995
  citations: TcpCitationConnection;
114996
+ /** The story's evidence trail: numbered claims made in the body, in display order, each linked to the citations that support it. */
114997
+ claims: Array<TcpStoryClaim>;
112731
114998
  /** Hero/cover image — references a wspace-files-svc File (blobs live there). */
112732
114999
  cover?: Maybe<File>;
112733
115000
  createdAt: Scalars['DateTime']['output'];
@@ -112754,6 +115021,23 @@ export type TcpStory = {
112754
115021
  export type TcpStoryCitationsArgs = {
112755
115022
  pagination?: InputMaybe<PaginationInput>;
112756
115023
  };
115024
+ /** 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). */
115025
+ export type TcpStoryClaim = {
115026
+ __typename?: 'TcpStoryClaim';
115027
+ bodyEnd?: Maybe<Scalars['Int']['output']>;
115028
+ bodyStart?: Maybe<Scalars['Int']['output']>;
115029
+ /** Citations supporting this claim, oldest first. */
115030
+ citations: Array<TcpCitation>;
115031
+ createdAt: Scalars['DateTime']['output'];
115032
+ id: Scalars['ID']['output'];
115033
+ /** 1-based position in the evidence trail. */
115034
+ position: Scalars['Int']['output'];
115035
+ story?: Maybe<TcpStory>;
115036
+ storyId: Scalars['ID']['output'];
115037
+ text: Scalars['String']['output'];
115038
+ updatedAt: Scalars['DateTime']['output'];
115039
+ workspaceId: Scalars['ID']['output'];
115040
+ };
112757
115041
  export type TcpStoryConnection = {
112758
115042
  __typename?: 'TcpStoryConnection';
112759
115043
  items: Array<TcpStory>;
@@ -112835,6 +115119,15 @@ export type TcpUpdateOralHistoryInput = {
112835
115119
  title?: InputMaybe<Scalars['String']['input']>;
112836
115120
  transcript?: InputMaybe<Scalars['String']['input']>;
112837
115121
  };
115122
+ export type TcpUpdateStoryClaimInput = {
115123
+ bodyEnd?: InputMaybe<Scalars['Int']['input']>;
115124
+ bodyStart?: InputMaybe<Scalars['Int']['input']>;
115125
+ /** Drop the body anchor and keep the claim as an unanchored paraphrase. */
115126
+ clearAnchor?: InputMaybe<Scalars['Boolean']['input']>;
115127
+ /** Move the claim to this 1-based position; the trail is renumbered 1..n. */
115128
+ position?: InputMaybe<Scalars['Int']['input']>;
115129
+ text?: InputMaybe<Scalars['String']['input']>;
115130
+ };
112838
115131
  export type TcpUpdateStoryInput = {
112839
115132
  authorId?: InputMaybe<Scalars['ID']['input']>;
112840
115133
  body?: InputMaybe<Scalars['String']['input']>;
@@ -112918,6 +115211,10 @@ export type TecBookSessionInput = {
112918
115211
  };
112919
115212
  export type TecCertificate = {
112920
115213
  __typename?: 'TecCertificate';
115214
+ /** BOFF-3134: id of the canonical certificate in Buildmyiq; null until mirrored. */
115215
+ buiCertificateId?: Maybe<Scalars['ID']['output']>;
115216
+ /** BOFF-3134: the canonical Buildmyiq certificate this certificate is mirrored to. */
115217
+ canonicalCertificate?: Maybe<BuiCertificate>;
112921
115218
  course?: Maybe<TecCourse>;
112922
115219
  courseId: Scalars['ID']['output'];
112923
115220
  createdAt: Scalars['DateTime']['output'];
@@ -112938,6 +115235,10 @@ export declare enum TecCertificateStatus {
112938
115235
  }
112939
115236
  export type TecCourse = {
112940
115237
  __typename?: 'TecCourse';
115238
+ /** 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). */
115239
+ buiCourseId?: Maybe<Scalars['ID']['output']>;
115240
+ /** BOFF-3134: the canonical Buildmyiq course this course is mirrored to. */
115241
+ canonicalCourse?: Maybe<BuiCourse>;
112941
115242
  /** Reference to a wspace-files-svc File for the cover image (blobs live there). */
112942
115243
  cover?: Maybe<File>;
112943
115244
  createdAt: Scalars['DateTime']['output'];
@@ -113057,6 +115358,10 @@ export type TecEnrollInput = {
113057
115358
  };
113058
115359
  export type TecEnrollment = {
113059
115360
  __typename?: 'TecEnrollment';
115361
+ /** BOFF-3134: id of the canonical enrollment in Buildmyiq; null until mirrored. */
115362
+ buiEnrollmentId?: Maybe<Scalars['ID']['output']>;
115363
+ /** BOFF-3134: the canonical Buildmyiq enrollment this enrollment is mirrored to. */
115364
+ canonicalEnrollment?: Maybe<BuiEnrollment>;
113060
115365
  completedAt?: Maybe<Scalars['DateTime']['output']>;
113061
115366
  /** Lessons finished in this enrollment (BOFF-4107), oldest first. */
113062
115367
  completions: Array<TecLessonCompletion>;
@@ -115458,6 +117763,80 @@ export type TimeCampusLifeValueUpdateInput = {
115458
117763
  name?: InputMaybe<Scalars['String']['input']>;
115459
117764
  weight?: InputMaybe<Scalars['Float']['input']>;
115460
117765
  };
117766
+ /** One fact behind the signal, tied to a week and to the rows it came from. */
117767
+ export type TimeCampusLoadEvidence = {
117768
+ __typename?: 'TimeCampusLoadEvidence';
117769
+ kind: TimeCampusLoadEvidenceKind;
117770
+ observation: Scalars['String']['output'];
117771
+ /** How many rows are behind this fact in total. */
117772
+ refCount: Scalars['Int']['output'];
117773
+ /** Up to 20 of the rows behind this fact. */
117774
+ refs: Array<TimeCampusLoadEvidenceRef>;
117775
+ /** The rules threshold the value is compared against. */
117776
+ threshold?: Maybe<Scalars['Float']['output']>;
117777
+ /** The measured value (hours, share, days or rate, by kind). */
117778
+ value?: Maybe<Scalars['Float']['output']>;
117779
+ /** Last local day (YYYY-MM-DD) of that week. */
117780
+ weekEnd: Scalars['String']['output'];
117781
+ /** First local day (YYYY-MM-DD) of the week the fact is about. */
117782
+ weekStart: Scalars['String']['output'];
117783
+ };
117784
+ export declare enum TimeCampusLoadEvidenceKind {
117785
+ AfterHours = "AFTER_HOURS",
117786
+ Fragmentation = "FRAGMENTATION",
117787
+ LongHours = "LONG_HOURS",
117788
+ NoRecovery = "NO_RECOVERY",
117789
+ WithinRange = "WITHIN_RANGE"
117790
+ }
117791
+ /** A row the signal read: one of the caller's own time entries, work-pattern rows or app-usage rows. */
117792
+ export type TimeCampusLoadEvidenceRef = {
117793
+ __typename?: 'TimeCampusLoadEvidenceRef';
117794
+ id: Scalars['ID']['output'];
117795
+ type: TimeCampusLoadEvidenceRefType;
117796
+ };
117797
+ export declare enum TimeCampusLoadEvidenceRefType {
117798
+ AppUsage = "APP_USAGE",
117799
+ TimeEntry = "TIME_ENTRY",
117800
+ WorkPattern = "WORK_PATTERN"
117801
+ }
117802
+ export declare enum TimeCampusLoadFallbackReason {
117803
+ AiNotEnabled = "AI_NOT_ENABLED",
117804
+ InsufficientData = "INSUFFICIENT_DATA",
117805
+ InvalidReply = "INVALID_REPLY",
117806
+ LowConfidence = "LOW_CONFIDENCE",
117807
+ ProviderFailed = "PROVIDER_FAILED",
117808
+ ProviderNotConfigured = "PROVIDER_NOT_CONFIGURED"
117809
+ }
117810
+ export declare enum TimeCampusLoadLevel {
117811
+ Elevated = "ELEVATED",
117812
+ High = "HIGH",
117813
+ InsufficientData = "INSUFFICIENT_DATA",
117814
+ Low = "LOW"
117815
+ }
117816
+ export declare enum TimeCampusLoadSignalMethod {
117817
+ Model = "MODEL",
117818
+ Rules = "RULES"
117819
+ }
117820
+ /** Load facts for one week of local days. */
117821
+ export type TimeCampusLoadWeek = {
117822
+ __typename?: 'TimeCampusLoadWeek';
117823
+ activeDays: Scalars['Int']['output'];
117824
+ afterHoursHours?: Maybe<Scalars['Float']['output']>;
117825
+ /** Share (0..1) of time-entry time outside the workday window or on a weekend. */
117826
+ afterHoursShare?: Maybe<Scalars['Float']['output']>;
117827
+ contextSwitchesPerHour?: Maybe<Scalars['Float']['output']>;
117828
+ interruptionsPerDay?: Maybe<Scalars['Float']['output']>;
117829
+ /** Days with over ten hours of tracked work. */
117830
+ longDays: Scalars['Int']['output'];
117831
+ meetingHours?: Maybe<Scalars['Float']['output']>;
117832
+ /** Days with under one hour of tracked work. */
117833
+ recoveryDays: Scalars['Int']['output'];
117834
+ /** True when the week crossed two or more load thresholds. */
117835
+ strained: Scalars['Boolean']['output'];
117836
+ trackedHours: Scalars['Float']['output'];
117837
+ weekEnd: Scalars['String']['output'];
117838
+ weekStart: Scalars['String']['output'];
117839
+ };
115461
117840
  export declare enum TimeCampusOwnershipContext {
115462
117841
  Corporate = "CORPORATE",
115463
117842
  Personal = "PERSONAL"
@@ -115584,6 +117963,26 @@ export type TimeCampusSourceConsent = {
115584
117963
  userId: Scalars['ID']['output'];
115585
117964
  workspaceId: Scalars['ID']['output'];
115586
117965
  };
117966
+ /** 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. */
117967
+ export type TimeCampusSustainedLoadSignal = {
117968
+ __typename?: 'TimeCampusSustainedLoadSignal';
117969
+ confidence?: Maybe<Scalars['Float']['output']>;
117970
+ evidence: Array<TimeCampusLoadEvidence>;
117971
+ fallbackReason?: Maybe<TimeCampusLoadFallbackReason>;
117972
+ generatedAt: Scalars['DateTime']['output'];
117973
+ level: TimeCampusLoadLevel;
117974
+ method: TimeCampusLoadSignalMethod;
117975
+ /** provider:model that produced the level when method is MODEL. */
117976
+ model?: Maybe<Scalars['String']['output']>;
117977
+ rationale: Scalars['String']['output'];
117978
+ /** The rules engine's level, shown next to a model level for comparison. */
117979
+ rulesLevel: TimeCampusLoadLevel;
117980
+ timezone: Scalars['String']['output'];
117981
+ /** The weeks read, oldest first. */
117982
+ weeks: Array<TimeCampusLoadWeek>;
117983
+ windowEnd: Scalars['String']['output'];
117984
+ windowStart: Scalars['String']['output'];
117985
+ };
115587
117986
  export type TimeCampusTemplateApplication = {
115588
117987
  __typename?: 'TimeCampusTemplateApplication';
115589
117988
  appliedBy: Scalars['ID']['output'];
@@ -117716,6 +120115,14 @@ export type UpdateCrewServiceListingInput = {
117716
120115
  status?: InputMaybe<Scalars['String']['input']>;
117717
120116
  title?: InputMaybe<Scalars['String']['input']>;
117718
120117
  };
120118
+ /** 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). */
120119
+ export type UpdateCrewSkillInput = {
120120
+ aliases?: InputMaybe<Array<Scalars['String']['input']>>;
120121
+ category?: InputMaybe<Scalars['String']['input']>;
120122
+ /** Empty string clears it. */
120123
+ description?: InputMaybe<Scalars['String']['input']>;
120124
+ name?: InputMaybe<Scalars['String']['input']>;
120125
+ };
117719
120126
  export type UpdateCrewTeamInput = {
117720
120127
  department?: InputMaybe<Scalars['String']['input']>;
117721
120128
  description?: InputMaybe<Scalars['String']['input']>;
@@ -119672,7 +122079,10 @@ export type UpdateRoleInput = {
119672
122079
  name?: InputMaybe<Scalars['String']['input']>;
119673
122080
  parentId?: InputMaybe<Scalars['ID']['input']>;
119674
122081
  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. */
122082
+ /**
122083
+ * Product this role belongs to (PlatformProduct.slug). Set to null only from
122084
+ * admin-app flows that intentionally manage cross-product platform roles.
122085
+ */
119676
122086
  productSlug?: InputMaybe<Scalars['String']['input']>;
119677
122087
  };
119678
122088
  export type UpdateRouteInput = {