@burdenoff/microfe-movethewheels 2026.1107.4 → 2026.1107.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -222,7 +222,10 @@ export type AccessShareResult = {
222
222
  export type AcquireLockInput = {
223
223
  /** Auto-release lock when it expires (default: true) */
224
224
  autoRelease?: InputMaybe<Scalars['Boolean']['input']>;
225
- /** Lock duration in seconds (default: 3600 = 1 hour) Max: 86400 (24 hours) */
225
+ /**
226
+ * Lock duration in seconds (default: 3600 = 1 hour)
227
+ * Max: 86400 (24 hours)
228
+ */
226
229
  durationSeconds?: InputMaybe<Scalars['Int']['input']>;
227
230
  /** File ID to lock */
228
231
  fileId: Scalars['ID']['input'];
@@ -19752,13 +19755,20 @@ export type CompleteOAuthInput = {
19752
19755
  export type CompleteUploadInput = {
19753
19756
  /** Optional file description */
19754
19757
  description?: InputMaybe<Scalars['String']['input']>;
19755
- /** Size of the uploaded file in bytes — required for quota tracking. Must match the fileSize passed to initiateUpload. */
19758
+ /**
19759
+ * Size of the uploaded file in bytes — required for quota tracking.
19760
+ * Must match the fileSize passed to initiateUpload.
19761
+ */
19756
19762
  fileSize: Scalars['BigInt']['input'];
19757
19763
  /** Optional folder ID where file will be stored */
19758
19764
  folderId?: InputMaybe<Scalars['ID']['input']>;
19759
19765
  /** Upload session ID */
19760
19766
  sessionId: Scalars['ID']['input'];
19761
- /** Optional client-declared SHA256 of the uploaded bytes (64 lowercase hex characters). Must match a declaration supplied at initiation. Storage verification, when available, is authoritative; a declaration alone is not proof of storage integrity. */
19767
+ /**
19768
+ * Optional client-declared SHA256 of the uploaded bytes (64 lowercase hex characters).
19769
+ * Must match a declaration supplied at initiation. Storage verification, when available,
19770
+ * is authoritative; a declaration alone is not proof of storage integrity.
19771
+ */
19762
19772
  sha256Hash?: InputMaybe<Scalars['String']['input']>;
19763
19773
  };
19764
19774
 
@@ -25760,7 +25770,10 @@ export type CreateFolderInput = {
25760
25770
  icon?: InputMaybe<Scalars['String']['input']>;
25761
25771
  name: Scalars['String']['input'];
25762
25772
  parentFolderId?: InputMaybe<Scalars['ID']['input']>;
25763
- /** Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}` records. Backed by the canonical `Folder.tags` Json column. */
25773
+ /**
25774
+ * Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}`
25775
+ * records. Backed by the canonical `Folder.tags` Json column.
25776
+ */
25764
25777
  tags?: InputMaybe<Scalars['JSON']['input']>;
25765
25778
  visibility?: InputMaybe<FileVisibility>;
25766
25779
  };
@@ -36154,7 +36167,12 @@ export type File = {
36154
36167
  marketingWidth?: Maybe<Scalars['Int']['output']>;
36155
36168
  mimeType: Scalars['String']['output'];
36156
36169
  name: Scalars['String']['output'];
36157
- /** Permanent, non-expiring CDN URL — only set when visibility is PUBLIC. Unlike downloadUrl (a fresh presigned URL on every query, ~1 hour TTL), this is safe to persist and embed permanently (e.g. a product catalog image), since it never expires and needs no re-signing. */
36170
+ /**
36171
+ * Permanent, non-expiring CDN URL — only set when visibility is PUBLIC.
36172
+ * Unlike downloadUrl (a fresh presigned URL on every query, ~1 hour TTL),
36173
+ * this is safe to persist and embed permanently (e.g. a product catalog
36174
+ * image), since it never expires and needs no re-signing.
36175
+ */
36158
36176
  publicUrl?: Maybe<Scalars['String']['output']>;
36159
36177
  s3Bucket: Scalars['String']['output'];
36160
36178
  s3Key: Scalars['String']['output'];
@@ -36165,7 +36183,11 @@ export type File = {
36165
36183
  starred: Scalars['Boolean']['output'];
36166
36184
  status: FileStatus;
36167
36185
  tagAssignments: Array<FileTagAssignment>;
36168
- /** Universal entity-owned tags (marqueue §251). JSON array of `{key, value, ...}` records mirroring `wspace-workspace-svc` Project.tags shape. Lives alongside `tagAssignments` (the wspace-tags-svc-backed structured view). */
36186
+ /**
36187
+ * Universal entity-owned tags (marqueue §251). JSON array of `{key, value, ...}`
36188
+ * records mirroring `wspace-workspace-svc` Project.tags shape. Lives alongside
36189
+ * `tagAssignments` (the wspace-tags-svc-backed structured view).
36190
+ */
36169
36191
  tags: Scalars['JSON']['output'];
36170
36192
  updatedAt: Scalars['DateTime']['output'];
36171
36193
  uploadedById: Scalars['ID']['output'];
@@ -36468,7 +36490,10 @@ export type FilePermissionCheckResult = {
36468
36490
  reason?: Maybe<Scalars['String']['output']>;
36469
36491
  };
36470
36492
 
36471
- /** How the stored SHA256 was established. STORAGE_VERIFIED describes a full-object checksum at upload completion, not permanent object immutability. */
36493
+ /**
36494
+ * How the stored SHA256 was established. STORAGE_VERIFIED describes a full-object
36495
+ * checksum at upload completion, not permanent object immutability.
36496
+ */
36472
36497
  export enum FileSha256Provenance {
36473
36498
  CLIENT_DECLARED = 'CLIENT_DECLARED',
36474
36499
  NONE = 'NONE',
@@ -36966,7 +36991,11 @@ export type Folder = {
36966
36991
  subFolders?: Maybe<Array<Folder>>;
36967
36992
  subfoldersCount?: Maybe<Scalars['Int']['output']>;
36968
36993
  tagAssignments: Array<FolderTagAssignment>;
36969
- /** Universal entity-owned tags (marqueue §251). JSON array of `{key, value, ...}` records mirroring `wspace-workspace-svc` Project.tags shape. Lives alongside `tagAssignments` (the wspace-tags-svc-backed structured view). */
36994
+ /**
36995
+ * Universal entity-owned tags (marqueue §251). JSON array of `{key, value, ...}`
36996
+ * records mirroring `wspace-workspace-svc` Project.tags shape. Lives alongside
36997
+ * `tagAssignments` (the wspace-tags-svc-backed structured view).
36998
+ */
36970
36999
  tags: Scalars['JSON']['output'];
36971
37000
  updatedAt: Scalars['DateTime']['output'];
36972
37001
  visibility: FileVisibility;
@@ -47078,6 +47107,36 @@ export enum HeadshotmarketingReportDateRange {
47078
47107
  LAST_90_DAYS = 'LAST_90_DAYS'
47079
47108
  }
47080
47109
 
47110
+ /** Outcome of one delivery attempt. */
47111
+ export enum HeadshotmarketingReportDeliveryStatus {
47112
+ /** No recipient was sent the report. */
47113
+ FAILED = 'FAILED',
47114
+ /** Some recipients were sent the report; others failed. */
47115
+ PARTIAL = 'PARTIAL',
47116
+ /** The delivery is in progress. */
47117
+ RUNNING = 'RUNNING',
47118
+ /** Every recipient was sent the report. */
47119
+ SENT = 'SENT',
47120
+ /** Nothing was sent because no recipient is still a workspace member with an email address. */
47121
+ SKIPPED = 'SKIPPED'
47122
+ }
47123
+
47124
+ /** What started a delivery attempt. */
47125
+ export enum HeadshotmarketingReportDeliveryTrigger {
47126
+ /** A workspace member chose Send now. */
47127
+ MANUAL = 'MANUAL',
47128
+ /** The schedule came due. */
47129
+ SCHEDULED = 'SCHEDULED'
47130
+ }
47131
+
47132
+ /** How often a scheduled report is delivered. */
47133
+ export enum HeadshotmarketingReportScheduleCadence {
47134
+ /** Once a month, on dayOfMonth. */
47135
+ MONTHLY = 'MONTHLY',
47136
+ /** Once a week, on dayOfWeek. */
47137
+ WEEKLY = 'WEEKLY'
47138
+ }
47139
+
47081
47140
  /** A widget a saved report can show. */
47082
47141
  export enum HeadshotmarketingReportWidget {
47083
47142
  /** First-touch against last-touch attributed revenue per channel. */
@@ -47305,6 +47364,8 @@ export type HeadshotmarketingSavedReport = {
47305
47364
  description?: Maybe<Scalars['String']['output']>;
47306
47365
  id: Scalars['ID']['output'];
47307
47366
  name: Scalars['String']['output'];
47367
+ /** The report's delivery schedule, or null when it is not scheduled. */
47368
+ schedule?: Maybe<HeadshotmarketingSavedReportSchedule>;
47308
47369
  updatedAt: Scalars['DateTime']['output'];
47309
47370
  updatedBy?: Maybe<Scalars['String']['output']>;
47310
47371
  /** Widgets in display order. */
@@ -47312,6 +47373,33 @@ export type HeadshotmarketingSavedReport = {
47312
47373
  workspaceId: Scalars['ID']['output'];
47313
47374
  };
47314
47375
 
47376
+ export type HeadshotmarketingSavedReportDeliveryRun = {
47377
+ __typename?: 'HeadshotmarketingSavedReportDeliveryRun';
47378
+ completedAt?: Maybe<Scalars['DateTime']['output']>;
47379
+ deliveredCount: Scalars['Int']['output'];
47380
+ error?: Maybe<Scalars['String']['output']>;
47381
+ id: Scalars['ID']['output'];
47382
+ recipientCount: Scalars['Int']['output'];
47383
+ reportId: Scalars['ID']['output'];
47384
+ scheduleId?: Maybe<Scalars['ID']['output']>;
47385
+ /** The due time of a scheduled delivery; null for a manual send. */
47386
+ scheduledFor?: Maybe<Scalars['DateTime']['output']>;
47387
+ startedAt: Scalars['DateTime']['output'];
47388
+ status: HeadshotmarketingReportDeliveryStatus;
47389
+ trigger: HeadshotmarketingReportDeliveryTrigger;
47390
+ /** End of the reporting window the delivery covered. */
47391
+ windowEnd: Scalars['DateTime']['output'];
47392
+ /** Start of the reporting window the delivery covered. */
47393
+ windowStart: Scalars['DateTime']['output'];
47394
+ };
47395
+
47396
+ export type HeadshotmarketingSavedReportDeliveryRunList = {
47397
+ __typename?: 'HeadshotmarketingSavedReportDeliveryRunList';
47398
+ hasMore: Scalars['Boolean']['output'];
47399
+ items: Array<HeadshotmarketingSavedReportDeliveryRun>;
47400
+ total: Scalars['Int']['output'];
47401
+ };
47402
+
47315
47403
  export type HeadshotmarketingSavedReportList = {
47316
47404
  __typename?: 'HeadshotmarketingSavedReportList';
47317
47405
  hasMore: Scalars['Boolean']['output'];
@@ -47319,6 +47407,34 @@ export type HeadshotmarketingSavedReportList = {
47319
47407
  total: Scalars['Int']['output'];
47320
47408
  };
47321
47409
 
47410
+ export type HeadshotmarketingSavedReportSchedule = {
47411
+ __typename?: 'HeadshotmarketingSavedReportSchedule';
47412
+ cadence: HeadshotmarketingReportScheduleCadence;
47413
+ createdAt: Scalars['DateTime']['output'];
47414
+ createdBy?: Maybe<Scalars['String']['output']>;
47415
+ /** 1 to 28. Set for MONTHLY schedules. */
47416
+ dayOfMonth?: Maybe<Scalars['Int']['output']>;
47417
+ /** 0 = Sunday .. 6 = Saturday. Set for WEEKLY schedules. */
47418
+ dayOfWeek?: Maybe<Scalars['Int']['output']>;
47419
+ /** False pauses deliveries without deleting the schedule. */
47420
+ enabled: Scalars['Boolean']['output'];
47421
+ /** Local hour of delivery, 0 to 23, in timezone. */
47422
+ hour: Scalars['Int']['output'];
47423
+ id: Scalars['ID']['output'];
47424
+ lastRunAt?: Maybe<Scalars['DateTime']['output']>;
47425
+ lastRunError?: Maybe<Scalars['String']['output']>;
47426
+ lastRunStatus?: Maybe<HeadshotmarketingReportDeliveryStatus>;
47427
+ /** When the next delivery is due (UTC); null while paused. */
47428
+ nextRunAt?: Maybe<Scalars['DateTime']['output']>;
47429
+ /** Workspace member user ids that receive the report. */
47430
+ recipientUserIds: Array<Scalars['ID']['output']>;
47431
+ reportId: Scalars['ID']['output'];
47432
+ /** IANA timezone name, e.g. Asia/Kolkata. */
47433
+ timezone: Scalars['String']['output'];
47434
+ updatedAt: Scalars['DateTime']['output'];
47435
+ updatedBy?: Maybe<Scalars['String']['output']>;
47436
+ };
47437
+
47322
47438
  export type HeadshotmarketingScoreLeadInput = {
47323
47439
  /** Return the score without writing it to the lead */
47324
47440
  dryRun?: InputMaybe<Scalars['Boolean']['input']>;
@@ -47367,6 +47483,22 @@ export type HeadshotmarketingSetMonthlyGoalInput = {
47367
47483
  trafficTarget?: InputMaybe<Scalars['Int']['input']>;
47368
47484
  };
47369
47485
 
47486
+ export type HeadshotmarketingSetSavedReportScheduleInput = {
47487
+ cadence: HeadshotmarketingReportScheduleCadence;
47488
+ /** Required for MONTHLY: 1 to 28. */
47489
+ dayOfMonth?: InputMaybe<Scalars['Int']['input']>;
47490
+ /** Required for WEEKLY: 0 = Sunday .. 6 = Saturday. */
47491
+ dayOfWeek?: InputMaybe<Scalars['Int']['input']>;
47492
+ /** Defaults to true. */
47493
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
47494
+ /** Local hour of delivery, 0 to 23. */
47495
+ hour: Scalars['Int']['input'];
47496
+ /** 1 to 50 workspace member user ids; each must have an email address. */
47497
+ recipientUserIds: Array<Scalars['ID']['input']>;
47498
+ /** IANA timezone name. */
47499
+ timezone: Scalars['String']['input'];
47500
+ };
47501
+
47370
47502
  /** A connected social media account used for publishing posts and tracking engagement. */
47371
47503
  export type HeadshotmarketingSocialAccount = {
47372
47504
  __typename?: 'HeadshotmarketingSocialAccount';
@@ -51458,6 +51590,23 @@ export type HokAdTracking = {
51458
51590
  thirdQuartile: Array<Scalars['String']['output']>;
51459
51591
  };
51460
51592
 
51593
+ export type HokAddHlsPackageInput = {
51594
+ /** RFC 6381 codecs advertised in the master playlist (taken from the slate). */
51595
+ codecs?: InputMaybe<Scalars['String']['input']>;
51596
+ /** Set to package one episode of the title; omit for the title's feature. */
51597
+ episodeId?: InputMaybe<Scalars['ID']['input']>;
51598
+ /** wspace-files File holding the single media file the playlist describes. */
51599
+ fileId: Scalars['ID']['input'];
51600
+ kind: HokHlsPackageKind;
51601
+ label?: InputMaybe<Scalars['String']['input']>;
51602
+ /** The encoder's VOD media playlist (text) for that file: every segment an EXT-X-BYTERANGE of the one file, constant segment duration (2-10 s), EXT-X-ENDLIST present, no encryption. */
51603
+ playlist: Scalars['String']['input'];
51604
+ /** WIDTHxHEIGHT advertised in the master playlist (taken from the slate). */
51605
+ resolution?: InputMaybe<Scalars['String']['input']>;
51606
+ /** Required for PROGRAMME; omit for SLATE. */
51607
+ titleId?: InputMaybe<Scalars['ID']['input']>;
51608
+ };
51609
+
51461
51610
  export type HokAddMediaRenditionInput = {
51462
51611
  bitrateKbps?: InputMaybe<Scalars['Int']['input']>;
51463
51612
  /** Set to attach the rendition to one episode; omit for the title's feature video. */
@@ -51905,6 +52054,29 @@ export type HokChannelConnection = {
51905
52054
  totalCount: Scalars['Int']['output'];
51906
52055
  };
51907
52056
 
52057
+ /** A channel's HLS distribution feed for third-party FAST platforms. */
52058
+ export type HokChannelHlsFeed = {
52059
+ __typename?: 'HokChannelHlsFeed';
52060
+ channelId: Scalars['ID']['output'];
52061
+ /** Container of the feed (from the slate); packages must match it. */
52062
+ container: HokHlsContainer;
52063
+ createdAt: Scalars['DateTime']['output'];
52064
+ id: Scalars['ID']['output'];
52065
+ /** Last time a player or platform fetched the live playlist (updated about once a minute). */
52066
+ lastPolledAt?: Maybe<Scalars['DateTime']['output']>;
52067
+ /** The URL to give a FAST platform: a single-variant master playlist. */
52068
+ masterPlaylistUrl: Scalars['String']['output'];
52069
+ /** The live media playlist the master points at. */
52070
+ mediaPlaylistUrl: Scalars['String']['output'];
52071
+ /** Schedule blocks in the next 24 hours and whether each airs its programme or the slate. */
52072
+ readiness: Array<HokHlsFeedBlockReadiness>;
52073
+ /** Segment duration of the feed's slot grid (from the slate); packages must match it. */
52074
+ segmentDurationSeconds: Scalars['Int']['output'];
52075
+ slate?: Maybe<HokHlsPackage>;
52076
+ status: HokHlsFeedStatus;
52077
+ updatedAt: Scalars['DateTime']['output'];
52078
+ };
52079
+
51908
52080
  export enum HokChannelStatus {
51909
52081
  DRAFT = 'DRAFT',
51910
52082
  LIVE = 'LIVE',
@@ -52659,6 +52831,60 @@ export type HokGuardianTargetContext = {
52659
52831
  workspaceId: Scalars['ID']['output'];
52660
52832
  };
52661
52833
 
52834
+ export enum HokHlsContainer {
52835
+ FMP4 = 'FMP4',
52836
+ TS = 'TS'
52837
+ }
52838
+
52839
+ /** Whether an upcoming schedule block will air its programme on the feed. */
52840
+ export type HokHlsFeedBlockReadiness = {
52841
+ __typename?: 'HokHlsFeedBlockReadiness';
52842
+ endAt: Scalars['DateTime']['output'];
52843
+ episodeId?: Maybe<Scalars['ID']['output']>;
52844
+ ready: Scalars['Boolean']['output'];
52845
+ /** Why the block airs the slate: NO_PROGRAMME, NOT_PUBLISHED, NO_PACKAGE or PROFILE_MISMATCH. */
52846
+ reason?: Maybe<Scalars['String']['output']>;
52847
+ scheduleBlockId: Scalars['ID']['output'];
52848
+ startAt: Scalars['DateTime']['output'];
52849
+ titleId?: Maybe<Scalars['ID']['output']>;
52850
+ };
52851
+
52852
+ export enum HokHlsFeedStatus {
52853
+ ACTIVE = 'ACTIVE',
52854
+ DISABLED = 'DISABLED'
52855
+ }
52856
+
52857
+ /** A single-file, byte-range HLS VOD encode registered for HLS distribution. */
52858
+ export type HokHlsPackage = {
52859
+ __typename?: 'HokHlsPackage';
52860
+ /** Peak segment bit rate in bits per second. */
52861
+ bandwidth: Scalars['Int']['output'];
52862
+ codecs?: Maybe<Scalars['String']['output']>;
52863
+ container: HokHlsContainer;
52864
+ createdAt: Scalars['DateTime']['output'];
52865
+ durationSeconds: Scalars['Float']['output'];
52866
+ episodeId?: Maybe<Scalars['ID']['output']>;
52867
+ /** wspace-files File holding the media; every segment is a byte range of it. */
52868
+ fileId: Scalars['ID']['output'];
52869
+ id: Scalars['ID']['output'];
52870
+ kind: HokHlsPackageKind;
52871
+ label?: Maybe<Scalars['String']['output']>;
52872
+ resolution?: Maybe<Scalars['String']['output']>;
52873
+ segmentCount: Scalars['Int']['output'];
52874
+ /** Nominal segment duration in whole seconds. */
52875
+ segmentDurationSeconds: Scalars['Int']['output'];
52876
+ titleId?: Maybe<Scalars['ID']['output']>;
52877
+ updatedAt: Scalars['DateTime']['output'];
52878
+ workspaceId: Scalars['ID']['output'];
52879
+ };
52880
+
52881
+ export enum HokHlsPackageKind {
52882
+ /** Encode of a title's feature or one episode. */
52883
+ PROGRAMME = 'PROGRAMME',
52884
+ /** Filler that loops during ad breaks, after a programme ends and off air. */
52885
+ SLATE = 'SLATE'
52886
+ }
52887
+
52662
52888
  /** A casting trust & safety identity-verification record (BOFF-4245). Backs the "verified" badge on talent applications and studio/production postings, and gates guardian consent on minor-role auditions (a guardian must have a VERIFIED PERSON record here before their consent is accepted). No date of birth is ever exposed — only the derived `isAdultVerified` signal. */
52663
52889
  export type HokIdentityVerification = {
52664
52890
  __typename?: 'HokIdentityVerification';
@@ -52693,10 +52919,12 @@ export type HokIdentityVerificationConnection = {
52693
52919
  export type HokImportScriptInput = {
52694
52920
  /** Store the suggested breakdown elements on the created scenes (default true). */
52695
52921
  applySuggestedElements?: InputMaybe<Scalars['Boolean']['input']>;
52696
- /** The script text (FDX: the XML document). At most 1,500,000 characters. */
52697
- content: Scalars['String']['input'];
52922
+ /** The script text (FDX: the XML document). At most 1,500,000 characters. Required for FOUNTAIN, FDX and PLAIN_TEXT; must be omitted for PDF. */
52923
+ content?: InputMaybe<Scalars['String']['input']>;
52698
52924
  /** Preview only: parse and match, write nothing. */
52699
52925
  dryRun?: InputMaybe<Scalars['Boolean']['input']>;
52926
+ /** The wspace-files file id of an uploaded screenplay PDF. Required for PDF and only allowed with it; the calling actor must be able to read the file. */
52927
+ fileId?: InputMaybe<Scalars['ID']['input']>;
52700
52928
  format: HokScriptFormat;
52701
52929
  productionId: Scalars['ID']['input'];
52702
52930
  };
@@ -54352,6 +54580,8 @@ export enum HokScriptFormat {
54352
54580
  FDX = 'FDX',
54353
54581
  /** Fountain plain-text screenplay markup (https://fountain.io). */
54354
54582
  FOUNTAIN = 'FOUNTAIN',
54583
+ /** A screenplay PDF uploaded to wspace-files (pass its fileId). Its text is extracted on the server and read like PLAIN_TEXT. At most 10 MB and 400 pages; a scanned PDF without a text layer cannot be read. */
54584
+ PDF = 'PDF',
54355
54585
  /** Screenplay text without Fountain markup, e.g. copied out of a PDF. */
54356
54586
  PLAIN_TEXT = 'PLAIN_TEXT'
54357
54587
  }
@@ -56877,6 +57107,105 @@ export enum HousingVistaViewingType {
56877
57107
  virtual = 'virtual'
56878
57108
  }
56879
57109
 
57110
+ export type HrisDirectorySyncSchedule = {
57111
+ __typename?: 'HrisDirectorySyncSchedule';
57112
+ connectionId: Scalars['ID']['output'];
57113
+ intervalHours: Scalars['Int']['output'];
57114
+ nextRunAt?: Maybe<Scalars['DateTime']['output']>;
57115
+ scheduleEnabled: Scalars['Boolean']['output'];
57116
+ };
57117
+
57118
+ export type HrisDirectorySyncStatus = {
57119
+ __typename?: 'HrisDirectorySyncStatus';
57120
+ /**
57121
+ * True once a preview succeeded with the current credentials; a sync (and the
57122
+ * schedule) can run only then.
57123
+ */
57124
+ canApply: Scalars['Boolean']['output'];
57125
+ connectionId: Scalars['ID']['output'];
57126
+ connectionStatus: ConnectionStatus;
57127
+ credentialsUpdatedAt?: Maybe<Scalars['DateTime']['output']>;
57128
+ intervalHours: Scalars['Int']['output'];
57129
+ lastApply?: Maybe<HrisSyncRun>;
57130
+ lastPreview?: Maybe<HrisSyncRun>;
57131
+ nextRunAt?: Maybe<Scalars['DateTime']['output']>;
57132
+ /** workday or sap-successfactors */
57133
+ providerKey: Scalars['String']['output'];
57134
+ running?: Maybe<HrisSyncRun>;
57135
+ scheduleEnabled: Scalars['Boolean']['output'];
57136
+ };
57137
+
57138
+ /** What a sync did (or, in a preview, would do) for one worker. */
57139
+ export type HrisSyncItem = {
57140
+ __typename?: 'HrisSyncItem';
57141
+ action: HrisSyncItemAction;
57142
+ detail?: Maybe<Scalars['String']['output']>;
57143
+ email?: Maybe<Scalars['String']['output']>;
57144
+ externalId: Scalars['String']['output'];
57145
+ userId?: Maybe<Scalars['ID']['output']>;
57146
+ };
57147
+
57148
+ export enum HrisSyncItemAction {
57149
+ CONFLICT = 'CONFLICT',
57150
+ CREATE = 'CREATE',
57151
+ DEACTIVATE = 'DEACTIVATE',
57152
+ ERROR = 'ERROR',
57153
+ REACTIVATE = 'REACTIVATE',
57154
+ SKIP = 'SKIP',
57155
+ UNCHANGED = 'UNCHANGED',
57156
+ UPDATE = 'UPDATE'
57157
+ }
57158
+
57159
+ /**
57160
+ * HR-system directory sync (BOFF-10564): a Workday or SAP SuccessFactors
57161
+ * connection pulls the workspace's workers and provisions them with the same
57162
+ * outcomes as SCIM provisioning (create, update name and email, deactivate).
57163
+ */
57164
+ export enum HrisSyncMode {
57165
+ /** Pull and apply. */
57166
+ APPLY = 'APPLY',
57167
+ /** Pull and plan only; nothing in the workspace changes. */
57168
+ PREVIEW = 'PREVIEW'
57169
+ }
57170
+
57171
+ export type HrisSyncRun = {
57172
+ __typename?: 'HrisSyncRun';
57173
+ conflicts: Scalars['Int']['output'];
57174
+ connectionId: Scalars['ID']['output'];
57175
+ created: Scalars['Int']['output'];
57176
+ deactivated: Scalars['Int']['output'];
57177
+ errorCode?: Maybe<Scalars['String']['output']>;
57178
+ errorMessage?: Maybe<Scalars['String']['output']>;
57179
+ errors: Scalars['Int']['output'];
57180
+ finishedAt?: Maybe<Scalars['DateTime']['output']>;
57181
+ id: Scalars['ID']['output'];
57182
+ /** Workers whose outcome is not UNCHANGED (at most 500). */
57183
+ items: Array<HrisSyncItem>;
57184
+ mode: HrisSyncMode;
57185
+ reactivated: Scalars['Int']['output'];
57186
+ skipped: Scalars['Int']['output'];
57187
+ startedAt: Scalars['DateTime']['output'];
57188
+ startedBy: Scalars['String']['output'];
57189
+ status: HrisSyncStatus;
57190
+ trigger: HrisSyncTrigger;
57191
+ unchanged: Scalars['Int']['output'];
57192
+ updated: Scalars['Int']['output'];
57193
+ workersFetched: Scalars['Int']['output'];
57194
+ };
57195
+
57196
+ export enum HrisSyncStatus {
57197
+ FAILED = 'FAILED',
57198
+ /** Finished, but some workers ended in CONFLICT or ERROR. */
57199
+ PARTIAL = 'PARTIAL',
57200
+ RUNNING = 'RUNNING',
57201
+ SUCCEEDED = 'SUCCEEDED'
57202
+ }
57203
+
57204
+ export enum HrisSyncTrigger {
57205
+ MANUAL = 'MANUAL',
57206
+ SCHEDULED = 'SCHEDULED'
57207
+ }
57208
+
56880
57209
  export enum HttpMethod {
56881
57210
  DELETE = 'DELETE',
56882
57211
  GET = 'GET',
@@ -61577,11 +61906,20 @@ export type LockCheckResult = {
61577
61906
  };
61578
61907
 
61579
61908
  export enum LockType {
61580
- /** Optimistic locking - last-write-wins with version check Allows multiple users to work, validates on save */
61909
+ /**
61910
+ * Optimistic locking - last-write-wins with version check
61911
+ * Allows multiple users to work, validates on save
61912
+ */
61581
61913
  OPTIMISTIC = 'OPTIMISTIC',
61582
- /** Pessimistic locking - exclusive lock Only one user can edit at a time */
61914
+ /**
61915
+ * Pessimistic locking - exclusive lock
61916
+ * Only one user can edit at a time
61917
+ */
61583
61918
  PESSIMISTIC = 'PESSIMISTIC',
61584
- /** Shared read lock - multiple readers allowed Prevents writes while reads are ongoing */
61919
+ /**
61920
+ * Shared read lock - multiple readers allowed
61921
+ * Prevents writes while reads are ongoing
61922
+ */
61585
61923
  SHARED = 'SHARED'
61586
61924
  }
61587
61925
 
@@ -61850,6 +62188,29 @@ export type MailboxAddress = {
61850
62188
  name?: Maybe<Scalars['String']['output']>;
61851
62189
  };
61852
62190
 
62191
+ export type MailboxAttachment = {
62192
+ __typename?: 'MailboxAttachment';
62193
+ /** Content-ID for cid: references in bodyHtml, when known. */
62194
+ contentId?: Maybe<Scalars['String']['output']>;
62195
+ filename: Scalars['String']['output'];
62196
+ /** Stable within the message; pass to mailboxAttachment. */
62197
+ id: Scalars['ID']['output'];
62198
+ /** Embedded in the body (for example an inline image) rather than attached as a file. */
62199
+ isInline: Scalars['Boolean']['output'];
62200
+ mimeType: Scalars['String']['output'];
62201
+ /** Bytes, as the provider reports them. */
62202
+ size: Scalars['Int']['output'];
62203
+ };
62204
+
62205
+ export type MailboxAttachmentContent = {
62206
+ __typename?: 'MailboxAttachmentContent';
62207
+ /** The file's bytes, base64 encoded. Files over 15 MB are refused. */
62208
+ contentBase64: Scalars['String']['output'];
62209
+ filename: Scalars['String']['output'];
62210
+ mimeType: Scalars['String']['output'];
62211
+ size: Scalars['Int']['output'];
62212
+ };
62213
+
61853
62214
  export enum MailboxFolder {
61854
62215
  ALL = 'ALL',
61855
62216
  INBOX = 'INBOX',
@@ -61861,8 +62222,36 @@ export enum MailboxKind {
61861
62222
  OUTLOOK = 'OUTLOOK'
61862
62223
  }
61863
62224
 
62225
+ export type MailboxLabel = {
62226
+ __typename?: 'MailboxLabel';
62227
+ /** Pass as MailboxMessagesInput.folderId to list its messages. */
62228
+ id: Scalars['ID']['output'];
62229
+ kind: MailboxLabelKind;
62230
+ name: Scalars['String']['output'];
62231
+ /** All messages, when the provider reports it (Outlook). */
62232
+ totalCount?: Maybe<Scalars['Int']['output']>;
62233
+ /** Unread messages, when the provider reports it (Outlook). */
62234
+ unreadCount?: Maybe<Scalars['Int']['output']>;
62235
+ };
62236
+
62237
+ export enum MailboxLabelKind {
62238
+ /** An Outlook mail folder. */
62239
+ FOLDER = 'FOLDER',
62240
+ /** A Gmail system label such as Inbox, Starred or Trash. */
62241
+ SYSTEM = 'SYSTEM',
62242
+ /** A label the person created in Gmail. */
62243
+ USER = 'USER'
62244
+ }
62245
+
61864
62246
  export type MailboxMessage = {
61865
62247
  __typename?: 'MailboxMessage';
62248
+ attachments: Array<MailboxAttachment>;
62249
+ /**
62250
+ * The HTML body exactly as the provider stores it, or null for text-only mail.
62251
+ * It is untrusted: sanitise it and render it in a sandboxed frame with scripts
62252
+ * disabled and remote content blocked, falling back to bodyText.
62253
+ */
62254
+ bodyHtml?: Maybe<Scalars['String']['output']>;
61866
62255
  /** Plain-text body. HTML-only mail is converted to text. */
61867
62256
  bodyText: Scalars['String']['output'];
61868
62257
  cc: Array<MailboxAddress>;
@@ -61900,6 +62289,8 @@ export type MailboxMessageSummary = {
61900
62289
  export type MailboxMessagesInput = {
61901
62290
  connectionId: Scalars['ID']['input'];
61902
62291
  folder?: InputMaybe<MailboxFolder>;
62292
+ /** A label or folder id from mailboxLabels. When set it replaces folder. */
62293
+ folderId?: InputMaybe<Scalars['ID']['input']>;
61903
62294
  /** 1-50, default 25. */
61904
62295
  limit?: InputMaybe<Scalars['Int']['input']>;
61905
62296
  pageToken?: InputMaybe<Scalars['String']['input']>;
@@ -64744,6 +65135,30 @@ export type MtwAssignmentSuggestions = {
64744
65135
  vehicles: Array<MtwVehicleSuggestion>;
64745
65136
  };
64746
65137
 
65138
+ export type MtwCapacityBasis = {
65139
+ __typename?: 'MtwCapacityBasis';
65140
+ /** Vehicles with status ACTIVE or IN_TRANSIT. */
65141
+ activeVehicles: Scalars['Int']['output'];
65142
+ /** Null when the capacity is unknown. */
65143
+ jobsPerVehiclePerWeek?: Maybe<Scalars['Float']['output']>;
65144
+ laneShareBasis: MtwLaneShareBasis;
65145
+ /** Vehicles whose job history the observed throughput rests on. */
65146
+ observedVehicles: Scalars['Int']['output'];
65147
+ source: MtwCapacitySource;
65148
+ /** activeVehicles x jobsPerVehiclePerWeek, before any scenario capacity change. Null when unknown. */
65149
+ weeklyFleetCapacity?: Maybe<Scalars['Float']['output']>;
65150
+ };
65151
+
65152
+ /** Where the jobs-per-vehicle-per-week figure behind the fleet capacity comes from. */
65153
+ export enum MtwCapacitySource {
65154
+ /** Observed: the median across vehicles of each vehicle's busiest closed week in the last 12 weeks. */
65155
+ OBSERVED = 'OBSERVED',
65156
+ /** Supplied by the caller in jobsPerVehiclePerWeek. */
65157
+ OVERRIDE = 'OVERRIDE',
65158
+ /** No vehicle-assigned jobs in the history and no override: capacity is unknown. */
65159
+ UNKNOWN = 'UNKNOWN'
65160
+ }
65161
+
64747
65162
  /**
64748
65163
  * MoveTheWheels-owned cargo/item master used for warehouse inventory and shipment payloads.
64749
65164
  * This is not a sellable storefront product; commerce SKUs must live in global-store-svc
@@ -65544,6 +65959,21 @@ export type MtwDashboardMetrics = {
65544
65959
  totalRevenue: Scalars['Float']['output'];
65545
65960
  };
65546
65961
 
65962
+ export enum MtwDecisionRationaleStatus {
65963
+ /** AI is switched off for this environment; the planner's own rationale is shown. */
65964
+ AI_DISABLED = 'AI_DISABLED',
65965
+ /** A model-written summary and rationale are attached. */
65966
+ AVAILABLE = 'AVAILABLE',
65967
+ /** The workspace has spent its MoveTheWheels AI credits; no model call was made. */
65968
+ CREDITS_EXHAUSTED = 'CREDITS_EXHAUSTED',
65969
+ /** The workspace reached its daily AI cap; no model call was made. */
65970
+ DAILY_CAP_REACHED = 'DAILY_CAP_REACHED',
65971
+ /** There was nothing to explain (no assignments). */
65972
+ NOT_NEEDED = 'NOT_NEEDED',
65973
+ /** The model could not produce a rationale this time; the plan is unchanged. */
65974
+ UNAVAILABLE = 'UNAVAILABLE'
65975
+ }
65976
+
65547
65977
  /**
65548
65978
  * MoveTheWheels-owned operational dispatch unit. It is intentionally not a cart/order
65549
65979
  * system; checkout and order of record remain in global-store-svc StoreOrder.
@@ -65673,6 +66103,126 @@ export type MtwDemandForecastVariance = {
65673
66103
  volumeVariance: Scalars['Int']['output'];
65674
66104
  };
65675
66105
 
66106
+ export type MtwDemandScenarioComparison = {
66107
+ __typename?: 'MtwDemandScenarioComparison';
66108
+ /** The forecast with no changes, compared against current capacity. */
66109
+ baseline: MtwScenarioResult;
66110
+ capacity: MtwCapacityBasis;
66111
+ generatedAt: Scalars['DateTime']['output'];
66112
+ /** One result per input scenario, in input order. */
66113
+ scenarios: Array<MtwScenarioResult>;
66114
+ weeks: Scalars['Int']['output'];
66115
+ };
66116
+
66117
+ export type MtwDemandScenarioComparisonInput = {
66118
+ /** Jobs one available vehicle handles per week. When omitted the throughput observed over the last 12 closed weeks is used. */
66119
+ jobsPerVehiclePerWeek?: InputMaybe<Scalars['Float']['input']>;
66120
+ /** Up to 4 scenarios to compare side by side with the baseline. An empty list gives the baseline capacity-vs-demand view. */
66121
+ scenarios?: InputMaybe<Array<MtwDemandScenarioInput>>;
66122
+ /** Forecast weeks to compare, starting this ISO week. Clamped to 1..12, like the forecast queries. */
66123
+ weeks?: InputMaybe<Scalars['Int']['input']>;
66124
+ };
66125
+
66126
+ export type MtwDemandScenarioInput = {
66127
+ /** Fleet capacity change in percent, from -100 to 500 (for example +20 for two extra trucks on a fleet of ten). */
66128
+ capacityChangePct?: InputMaybe<Scalars['Float']['input']>;
66129
+ /** Lane keys to close (at most 200). A closed lane carries no demand; what it would have carried is reported as lost. */
66130
+ closedLanes?: InputMaybe<Array<Scalars['String']['input']>>;
66131
+ /** Demand change on every lane in percent, from -100 to 500. */
66132
+ demandChangePct?: InputMaybe<Scalars['Float']['input']>;
66133
+ /** Per-lane demand changes (at most 200). */
66134
+ laneAdjustments?: InputMaybe<Array<MtwDemandScenarioLaneAdjustmentInput>>;
66135
+ /** Unique within the comparison, 1 to 80 characters; "Baseline" is reserved for the unchanged forecast. */
66136
+ name: Scalars['String']['input'];
66137
+ };
66138
+
66139
+ export type MtwDemandScenarioLaneAdjustmentInput = {
66140
+ /** Demand change on this lane in percent, from -100 to 500, applied on top of the scenario-wide change. */
66141
+ demandChangePct: Scalars['Float']['input'];
66142
+ /** Lane key as returned in MtwDemandForecastPoint.scopeKey (Origin->Destination). */
66143
+ laneKey: Scalars['String']['input'];
66144
+ };
66145
+
66146
+ /** One proposed shipment -> vehicle + driver pairing. */
66147
+ export type MtwDispatchAssignment = {
66148
+ __typename?: 'MtwDispatchAssignment';
66149
+ /** Model-written rationale, when AI produced one. */
66150
+ aiRationale?: Maybe<Scalars['String']['output']>;
66151
+ /** Planner confidence from 0 to 1, from how much of what the pairing depends on is recorded and favourable. Not a probability of on-time delivery. */
66152
+ confidence: Scalars['Float']['output'];
66153
+ decidedAt?: Maybe<Scalars['DateTime']['output']>;
66154
+ decision: MtwDispatchAssignmentDecision;
66155
+ decisionReason?: Maybe<Scalars['String']['output']>;
66156
+ driverId: Scalars['ID']['output'];
66157
+ driverName?: Maybe<Scalars['String']['output']>;
66158
+ estimatedDelivery?: Maybe<Scalars['DateTime']['output']>;
66159
+ estimatedDistanceKm?: Maybe<Scalars['Float']['output']>;
66160
+ estimatedDurationMinutes?: Maybe<Scalars['Float']['output']>;
66161
+ id: Scalars['ID']['output'];
66162
+ planId: Scalars['ID']['output'];
66163
+ /** The planner's own factual rationale. */
66164
+ rationale: Scalars['String']['output'];
66165
+ /** Reason codes behind the pairing, e.g. MAINTENANCE_OK, CAPACITY_FITS, LINKED_PAIR. */
66166
+ reasons: Array<Scalars['String']['output']>;
66167
+ routeId?: Maybe<Scalars['ID']['output']>;
66168
+ sequence: Scalars['Int']['output'];
66169
+ shipmentId: Scalars['ID']['output'];
66170
+ shipmentNumber?: Maybe<Scalars['String']['output']>;
66171
+ vehicleId: Scalars['ID']['output'];
66172
+ vehicleNumber?: Maybe<Scalars['String']['output']>;
66173
+ vehicleType?: Maybe<Scalars['String']['output']>;
66174
+ waypoints: Scalars['JSON']['output'];
66175
+ };
66176
+
66177
+ export enum MtwDispatchAssignmentDecision {
66178
+ /** Accepted; routeId is the route that was created. */
66179
+ ACCEPTED = 'ACCEPTED',
66180
+ PENDING = 'PENDING',
66181
+ REJECTED = 'REJECTED',
66182
+ /** Accepted, but the shipment, vehicle or driver changed since the proposal; decisionReason says how. No route was created. */
66183
+ STALE = 'STALE'
66184
+ }
66185
+
66186
+ export type MtwDispatchPlan = {
66187
+ __typename?: 'MtwDispatchPlan';
66188
+ acceptedCount: Scalars['Int']['output'];
66189
+ /** Provider-qualified model that wrote the rationale, when one did. */
66190
+ aiModel?: Maybe<Scalars['String']['output']>;
66191
+ aiStatus: MtwDecisionRationaleStatus;
66192
+ aiSummary?: Maybe<Scalars['String']['output']>;
66193
+ assignments: Array<MtwDispatchAssignment>;
66194
+ createdAt: Scalars['DateTime']['output'];
66195
+ createdBy: Scalars['String']['output'];
66196
+ decidedAt?: Maybe<Scalars['DateTime']['output']>;
66197
+ decidedBy?: Maybe<Scalars['String']['output']>;
66198
+ expiresAt: Scalars['DateTime']['output'];
66199
+ id: Scalars['ID']['output'];
66200
+ /** The deterministic planner that produced the assignments. */
66201
+ method: Scalars['String']['output'];
66202
+ pendingCount: Scalars['Int']['output'];
66203
+ rejectedCount: Scalars['Int']['output'];
66204
+ staleCount: Scalars['Int']['output'];
66205
+ status: MtwDispatchPlanStatus;
66206
+ unassigned: Array<MtwUnassignedShipment>;
66207
+ windowEnd?: Maybe<Scalars['DateTime']['output']>;
66208
+ windowStart?: Maybe<Scalars['DateTime']['output']>;
66209
+ };
66210
+
66211
+ export enum MtwDispatchPlanStatus {
66212
+ /** Every assignment was accepted and has a route. */
66213
+ APPLIED = 'APPLIED',
66214
+ /** A decision is being applied right now. */
66215
+ APPLYING = 'APPLYING',
66216
+ /** The plan was superseded by a newer one or passed its expiry without a decision. */
66217
+ EXPIRED = 'EXPIRED',
66218
+ /** Some assignments were accepted; the rest were rejected or had gone stale. */
66219
+ PARTIALLY_APPLIED = 'PARTIALLY_APPLIED',
66220
+ /** Waiting for a decision. */
66221
+ PROPOSED = 'PROPOSED',
66222
+ /** No assignment was accepted; nothing was written. */
66223
+ REJECTED = 'REJECTED'
66224
+ }
66225
+
65676
66226
  /** Unit MoveTheWheels shows distances in. */
65677
66227
  export enum MtwDistanceUnit {
65678
66228
  /** Kilometres */
@@ -67237,6 +67787,7 @@ export enum MtwIntegrationProvider {
67237
67787
  FOURKITES = 'FOURKITES',
67238
67788
  GENERIC_WEBHOOK = 'GENERIC_WEBHOOK',
67239
67789
  PROJECT44 = 'PROJECT44',
67790
+ SAMSARA = 'SAMSARA',
67240
67791
  SHIPROCKET = 'SHIPROCKET'
67241
67792
  }
67242
67793
 
@@ -67306,6 +67857,16 @@ export type MtwInventoryTransferResult = {
67306
67857
  source: MtwInventoryItem;
67307
67858
  };
67308
67859
 
67860
+ /** How the fleet capacity is divided between lanes. */
67861
+ export enum MtwLaneShareBasis {
67862
+ /** No vehicle-assigned history: capacity follows each lane's share of the baseline forecast. */
67863
+ DEMAND_SHARE = 'DEMAND_SHARE',
67864
+ /** Capacity is unknown, or there is no demand to divide it by. */
67865
+ NONE = 'NONE',
67866
+ /** Each lane's share of the vehicle-assigned jobs in the last 12 closed weeks. */
67867
+ VEHICLE_HISTORY = 'VEHICLE_HISTORY'
67868
+ }
67869
+
67309
67870
  export type MtwMarketplaceStats = {
67310
67871
  __typename?: 'MtwMarketplaceStats';
67311
67872
  activeProviders: Scalars['Int']['output'];
@@ -67708,6 +68269,17 @@ export enum MtwPickTaskWorkflow {
67708
68269
  PICK_TO_STAGING = 'PICK_TO_STAGING'
67709
68270
  }
67710
68271
 
68272
+ export type MtwPlanDispatchInput = {
68273
+ /** Only shipments due at or after this time (shipments with no due date are always considered). */
68274
+ from?: InputMaybe<Scalars['DateTime']['input']>;
68275
+ /** At most this many assignments, 1 to 50. Default 25. */
68276
+ maxAssignments?: InputMaybe<Scalars['Int']['input']>;
68277
+ /** Plan only these shipments (at most 100). */
68278
+ shipmentIds?: InputMaybe<Array<Scalars['ID']['input']>>;
68279
+ /** Only shipments due at or before this time. */
68280
+ to?: InputMaybe<Scalars['DateTime']['input']>;
68281
+ };
68282
+
67711
68283
  export type MtwProcedureApplicability = {
67712
68284
  __typename?: 'MtwProcedureApplicability';
67713
68285
  enforcement: MtwProcedureRecordingBoundary;
@@ -68554,6 +69126,71 @@ export type MtwRunScheduledReportsInput = {
68554
69126
  triggerData?: InputMaybe<Scalars['JSON']['input']>;
68555
69127
  };
68556
69128
 
69129
+ export type MtwScenarioLaneResult = {
69130
+ __typename?: 'MtwScenarioLaneResult';
69131
+ baselineRevenue: Scalars['Float']['output'];
69132
+ /** Totals over the compared weeks. */
69133
+ baselineVolume: Scalars['Int']['output'];
69134
+ /** Own-fleet capacity for this lane over the compared weeks. Null when unknown or when no fleet share is observed on the lane. */
69135
+ capacity?: Maybe<Scalars['Float']['output']>;
69136
+ closed: Scalars['Boolean']['output'];
69137
+ /** The lane-specific demand change applied in this scenario. */
69138
+ demandChangePct: Scalars['Float']['output'];
69139
+ /** Demand exceeds the lane's capacity in at least one week. */
69140
+ flagged: Scalars['Boolean']['output'];
69141
+ laneKey: Scalars['String']['output'];
69142
+ laneLabel: Scalars['String']['output'];
69143
+ lostRevenue: Scalars['Float']['output'];
69144
+ lostVolume: Scalars['Int']['output'];
69145
+ scenarioRevenue: Scalars['Float']['output'];
69146
+ scenarioVolume: Scalars['Int']['output'];
69147
+ /** Scenario volume above the lane's capacity, summed week by week. */
69148
+ shortfall: Scalars['Float']['output'];
69149
+ };
69150
+
69151
+ export type MtwScenarioResult = {
69152
+ __typename?: 'MtwScenarioResult';
69153
+ capacityChangePct: Scalars['Float']['output'];
69154
+ /** Closed lanes the forecast knows. */
69155
+ closedLanes: Array<Scalars['String']['output']>;
69156
+ demandChangePct: Scalars['Float']['output'];
69157
+ /** Lanes ordered by shortfall, then scenario volume. */
69158
+ lanes: Array<MtwScenarioLaneResult>;
69159
+ lostRevenue: Scalars['Float']['output'];
69160
+ lostVolume: Scalars['Int']['output'];
69161
+ name: Scalars['String']['output'];
69162
+ revenueDelta: Scalars['Float']['output'];
69163
+ /** Lanes flagged for a shortfall. */
69164
+ shortfallLanes: Scalars['Int']['output'];
69165
+ /** Fleet capacity over the compared weeks. Null when unknown. */
69166
+ totalCapacity?: Maybe<Scalars['Float']['output']>;
69167
+ totalRevenue: Scalars['Float']['output'];
69168
+ /** Weekly fleet shortfalls summed over the compared weeks. */
69169
+ totalShortfall: Scalars['Float']['output'];
69170
+ totalVolume: Scalars['Int']['output'];
69171
+ /** Lane keys named in the scenario that have no forecast; they change nothing. */
69172
+ unknownLanes: Array<Scalars['String']['output']>;
69173
+ /** totalVolume / totalCapacity. Null without a positive capacity. */
69174
+ utilization?: Maybe<Scalars['Float']['output']>;
69175
+ /** totalVolume minus the baseline's. */
69176
+ volumeDelta: Scalars['Int']['output'];
69177
+ weeks: Array<MtwScenarioWeekResult>;
69178
+ };
69179
+
69180
+ export type MtwScenarioWeekResult = {
69181
+ __typename?: 'MtwScenarioWeekResult';
69182
+ baselineRevenue: Scalars['Float']['output'];
69183
+ baselineVolume: Scalars['Int']['output'];
69184
+ /** Fleet capacity for the week after the scenario's capacity change. Null when unknown. */
69185
+ capacity?: Maybe<Scalars['Float']['output']>;
69186
+ periodEnd: Scalars['DateTime']['output'];
69187
+ periodStart: Scalars['DateTime']['output'];
69188
+ scenarioRevenue: Scalars['Float']['output'];
69189
+ scenarioVolume: Scalars['Int']['output'];
69190
+ /** Scenario volume above capacity; 0 when capacity is unknown. */
69191
+ shortfall: Scalars['Float']['output'];
69192
+ };
69193
+
68557
69194
  /** Outcome of one scheduled-reports fire. */
68558
69195
  export type MtwScheduledReportsRun = {
68559
69196
  __typename?: 'MtwScheduledReportsRun';
@@ -69359,6 +69996,14 @@ export type MtwTripUtilizationSummary = {
69359
69996
  unknownFactsSegmentCount: Scalars['Int']['output'];
69360
69997
  };
69361
69998
 
69999
+ export type MtwUnassignedShipment = {
70000
+ __typename?: 'MtwUnassignedShipment';
70001
+ /** NO_ELIGIBLE_PAIR, FLEET_FULLY_ASSIGNED, OVER_CAPACITY, PLAN_LIMIT_REACHED or NOT_PLANNABLE. */
70002
+ reason: Scalars['String']['output'];
70003
+ shipmentId: Scalars['ID']['output'];
70004
+ shipmentNumber?: Maybe<Scalars['String']['output']>;
70005
+ };
70006
+
69362
70007
  export type MtwUpdateReportInput = {
69363
70008
  description?: InputMaybe<Scalars['String']['input']>;
69364
70009
  frequency?: InputMaybe<MtwReportFrequency>;
@@ -69828,6 +70473,11 @@ export type Mutation = {
69828
70473
  archiveGroup: Group;
69829
70474
  /** Archive a location: it stops being offered without losing the boxes that went there. Refused while ANY membership is still assigned — PAUSED as well as ACTIVE, because pausing does not release the place and the member resumes against whatever the stand has become. They would otherwise silently fall back to a home address that may be years stale, or to none at all. Move them first. A soft delete, so past deliveries keep resolving their location. This is the ONLY way to archive. `updateHealthyBowlCsaPickupLocation` refuses `status: "ARCHIVED"` precisely so that this guard, and this permission, cannot be stepped around. */
69830
70475
  archiveHealthyBowlCsaPickupLocation: HealthyBowlPickupLocation;
70476
+ /**
70477
+ * Take a conversation out of the Inbox without deleting it (Gmail: remove the
70478
+ * Inbox label; Outlook: move it to Archive).
70479
+ */
70480
+ archiveMailboxThread: Scalars['Boolean']['output'];
69831
70481
  /** Archive a project */
69832
70482
  archiveProject: Project;
69833
70483
  archiveSchedule: ScheduledJob;
@@ -70239,7 +70889,11 @@ export type Mutation = {
70239
70889
  braUpdatePortfolio: BraPortfolio;
70240
70890
  braUpdateTaxLot: BraTaxLot;
70241
70891
  braUpsertMyAdvisorBranding: BraAdvisorBranding;
70242
- /** Download a pinned document version under a currently valid BrainyRich vault grant. Requires the dedicated vault-recipient permission, not ordinary file access. Existing file permissions are unchanged; URLs expire within 60 seconds. */
70892
+ /**
70893
+ * Download a pinned document version under a currently valid BrainyRich vault
70894
+ * grant. Requires the dedicated vault-recipient permission, not ordinary file
70895
+ * access. Existing file permissions are unchanged; URLs expire within 60 seconds.
70896
+ */
70243
70897
  brainyrichVaultDocumentDownloadUrl: Scalars['String']['output'];
70244
70898
  buiAcknowledgeCourseKnowledgeChange: Scalars['Boolean']['output'];
70245
70899
  /** Admin Q&A grounded in real workspace course/enrollment stats. Never executes anything; may return `proposedActions` for the admin to confirm (BOFF-9687). Restricted to EDITOR+ (same viewerDefault:false shape as `buildmyiq-tutor:list`) — this is an operator surface, not a learner one. */
@@ -71117,7 +71771,10 @@ export type Mutation = {
71117
71771
  createAsset: Asset;
71118
71772
  createAssetTag: AssetAvailableTag;
71119
71773
  createAvailabilityRule: AvailabilityRule;
71120
- /** Create a new batch download Initiates ZIP archive creation */
71774
+ /**
71775
+ * Create a new batch download
71776
+ * Initiates ZIP archive creation
71777
+ */
71121
71778
  createBatchDownload: CreateBatchDownloadResponse;
71122
71779
  /** Create a new BigConsole dashboard */
71123
71780
  createBigConsoleDashboard: BigConsoleDashboard;
@@ -71247,7 +71904,12 @@ export type Mutation = {
71247
71904
  createFileShareLink: ShareGrant;
71248
71905
  /** Create a new version from current file state */
71249
71906
  createFileVersion: FileVersion;
71250
- /** Create an export job for workspace files. The export service will asynchronously build a ZIP archive containing all files metadata (and optionally media) in the requested format. Poll the export service for job completion and download URL. */
71907
+ /**
71908
+ * Create an export job for workspace files.
71909
+ * The export service will asynchronously build a ZIP archive containing
71910
+ * all files metadata (and optionally media) in the requested format.
71911
+ * Poll the export service for job completion and download URL.
71912
+ */
71251
71913
  createFilesExportJob: ExportJobResponse;
71252
71914
  /** Create a filter preset for the caller on a dashboard they may read in the request workspace. Fails with DASHBOARD_NOT_FOUND otherwise. */
71253
71915
  createFilterPreset: BigConsoleFilterPreset;
@@ -72343,7 +73005,16 @@ export type Mutation = {
72343
73005
  * stored secret; the connection mints a per-workspace token on demand.
72344
73006
  */
72345
73007
  ensureAppConnection: IntegrationConnection;
72346
- /** Idempotently ensure a folder exists at the given absolute path, creating missing ancestors along the way. Path is `/`-separated, e.g. `/Vibecontrols/AI Assistant/Artifacts`. Returns the leaf folder. Safe to call concurrently with the same path — the underlying unique constraint on `(workspaceId, parentFolderId, name)` collapses races. Used by SaveToFilesButton (fe-libs/storage) to pre-create per-module default folders on first save. */
73008
+ /**
73009
+ * Idempotently ensure a folder exists at the given absolute path, creating
73010
+ * missing ancestors along the way. Path is `/`-separated, e.g.
73011
+ * `/Vibecontrols/AI Assistant/Artifacts`. Returns the leaf folder. Safe to
73012
+ * call concurrently with the same path — the underlying unique constraint
73013
+ * on `(workspaceId, parentFolderId, name)` collapses races.
73014
+ *
73015
+ * Used by SaveToFilesButton (fe-libs/storage) to pre-create per-module
73016
+ * default folders on first save.
73017
+ */
72347
73018
  ensureFolderByPath: Folder;
72348
73019
  /** Seed the workspace's default chart of accounts the first time accounting is opened (idempotent). */
72349
73020
  ensureHealthyBowlChartOfAccounts: Array<HealthyBowlLedgerAccount>;
@@ -72353,7 +73024,12 @@ export type Mutation = {
72353
73024
  eraseBotmanorWorkspaceData: BotmanorWorkspaceErasure;
72354
73025
  /** Erase every PlanMagnet record of the request's workspace, immediately (admin; DPA §7). The confirmation argument must restate the workspace id. Irreversible — the erasure row with per-model counts is kept. */
72355
73026
  erasePlanmagnetWorkspaceData?: Maybe<PlanmagnetWorkspaceErasure>;
72356
- /** Erase the subject's files-layer data. With dryRun=true, returns counts without mutating. Files owned by the subject are tombstoned (soft-deleted) and their S3 objects scheduled for purge. File rows that have legal-hold flags are retained and reported in `retainedForLegalReason`. */
73027
+ /**
73028
+ * Erase the subject's files-layer data. With dryRun=true, returns counts
73029
+ * without mutating. Files owned by the subject are tombstoned (soft-deleted)
73030
+ * and their S3 objects scheduled for purge. File rows that have legal-hold
73031
+ * flags are retained and reported in `retainedForLegalReason`.
73032
+ */
72357
73033
  eraseSubject: FilesEraseResult;
72358
73034
  /** Escalate a stressed zone into an existing HealthyBowl Pest issue or a field activity (task). */
72359
73035
  escalateHealthyBowlStressedZone: HbStressedZoneEscalation;
@@ -72509,7 +73185,12 @@ export type Mutation = {
72509
73185
  exportMtwEntities: MtwExportJob;
72510
73186
  /** Export sessions to CSV or JSON */
72511
73187
  exportSessions: SessionExport;
72512
- /** Export the subject's files-layer data: owned files (with metadata, versions, tags), folders, file-shares granted by the subject. Object storage payloads are listed by S3 key but not inlined; the privacy-svc orchestrator includes them via signed URLs in the final DSAR bundle. */
73188
+ /**
73189
+ * Export the subject's files-layer data: owned files (with metadata,
73190
+ * versions, tags), folders, file-shares granted by the subject. Object
73191
+ * storage payloads are listed by S3 key but not inlined; the privacy-svc
73192
+ * orchestrator includes them via signed URLs in the final DSAR bundle.
73193
+ */
72513
73194
  exportSubject: Scalars['JSON']['output'];
72514
73195
  /** Start a server-side export of TimeCampus data. The job runs asynchronously in wspace-export-svc; poll `timeCampusExportJob(id)` until it reaches a terminal status, then download the archive from `downloadUrl`. */
72515
73196
  exportTimeCampusEntities: TimeCampusExportJob;
@@ -72545,7 +73226,11 @@ export type Mutation = {
72545
73226
  fileGgnomadDamageClaim: GgnomadDamageClaim;
72546
73227
  /** File a damage claim against a policy; seeds the FILED timeline event. */
72547
73228
  fileHealthyBowlInsuranceClaim: HealthyBowlInsuranceClaim;
72548
- /** Called by wspace-activity-svc quota reconciler to set or clear the Valkey enforcement flag when a workspace crosses a file quota limit. action: "enforce" | "terminate" | "clear" */
73229
+ /**
73230
+ * Called by wspace-activity-svc quota reconciler to set or clear the Valkey
73231
+ * enforcement flag when a workspace crosses a file quota limit.
73232
+ * action: "enforce" | "terminate" | "clear"
73233
+ */
72549
73234
  filesEnforceQuota: Scalars['Boolean']['output'];
72550
73235
  /** Force release a lock (admin only) */
72551
73236
  forceReleaseFileLock: ReleaseLockResponse;
@@ -72778,6 +73463,8 @@ export type Mutation = {
72778
73463
  headshotmarketingDeleteSEOKeyword: Scalars['Boolean']['output'];
72779
73464
  /** Soft-deletes the report. Returns true when a report was deleted. */
72780
73465
  headshotmarketingDeleteSavedReport: Scalars['Boolean']['output'];
73466
+ /** Remove a saved report's delivery schedule. Returns true when one was removed. */
73467
+ headshotmarketingDeleteSavedReportSchedule: Scalars['Boolean']['output'];
72781
73468
  /** Dismiss a proposed audience segment without applying it */
72782
73469
  headshotmarketingDismissAudienceSuggestion: HeadshotmarketingAudienceSuggestion;
72783
73470
  /** Execute an AI tool and return the execution record */
@@ -72812,10 +73499,14 @@ export type Mutation = {
72812
73499
  headshotmarketingScoreLeadsBatch: HeadshotmarketingLeadScoreBatchResult;
72813
73500
  /** Send a message to the marketing agent. Persists the user message, calls the configured LLM provider, persists the assistant's reply, and records any proposed actions as PROPOSED -- never executes them. */
72814
73501
  headshotmarketingSendAgentMessage: HeadshotmarketingAgentTurn;
73502
+ /** Email the report to its schedule's recipients now, without moving the next scheduled delivery. Limited to one send per report per minute. */
73503
+ headshotmarketingSendSavedReportNow: HeadshotmarketingSavedReportDeliveryRun;
72815
73504
  /** Attach (or update) marketing-specific metadata on a canonical files-svc File. The binary + core file fields stay owned by wspace-files-svc; this only sets the thin marketing layer (alt text, dimensions, thumbnail, asset category). */
72816
73505
  headshotmarketingSetFileMarketingMeta: Scalars['Boolean']['output'];
72817
73506
  /** Create or replace the workspace's goal for a month. */
72818
73507
  headshotmarketingSetMonthlyGoal: HeadshotmarketingMonthlyGoal;
73508
+ /** Create or replace the delivery schedule of a saved report. */
73509
+ headshotmarketingSetSavedReportSchedule: HeadshotmarketingSavedReportSchedule;
72819
73510
  /** Propose an audience segment for a campaign goal. Never creates or changes an Audience. */
72820
73511
  headshotmarketingSuggestAudienceSegment: HeadshotmarketingAudienceSuggestion;
72821
73512
  /** Start tracking a keyword (alias for create with TRACKING status) */
@@ -72859,6 +73550,8 @@ export type Mutation = {
72859
73550
  /** Guardian: accept an invite, recording the guardian link. */
72860
73551
  hokAcceptGuardianInvite: HokGuardianLink;
72861
73552
  hokAddCredit: HokCredit;
73553
+ /** Register an HLS package from its media file and VOD playlist. */
73554
+ hokAddHlsPackage: HokHlsPackage;
72862
73555
  /** Attach an alternate encode (resolution + bitrate) to a title's feature video or an episode. */
72863
73556
  hokAddMediaRendition: HokMediaRendition;
72864
73557
  hokAddProductionMember: HokProductionMember;
@@ -72932,6 +73625,10 @@ export type Mutation = {
72932
73625
  hokDeleteStoryboardFrame: Scalars['Boolean']['output'];
72933
73626
  /** Delete a studio (soft delete). Blocked with CONFLICT while any live title still references the studio — remove or reassign those titles first. */
72934
73627
  hokDeleteStudio: Scalars['Boolean']['output'];
73628
+ /** Stop the feed; its URL answers 404 until it is enabled again. Idempotent. */
73629
+ hokDisableChannelHlsFeed: HokChannelHlsFeed;
73630
+ /** Turn the channel's HLS feed on, or switch its slate. The URL is kept across re-enables. */
73631
+ hokEnableChannelHlsFeed: HokChannelHlsFeed;
72935
73632
  /** Tune out of a linear session (self-scoped). Idempotent. */
72936
73633
  hokEndChannelStream: Scalars['Boolean']['output'];
72937
73634
  /** Follow a person as the calling viewer (idempotent). */
@@ -72983,6 +73680,8 @@ export type Mutation = {
72983
73680
  hokRemoveCredit: Scalars['Boolean']['output'];
72984
73681
  /** Soft-delete the onboarding sample data. Content the workspace created itself is never touched. */
72985
73682
  hokRemoveDemoData: HokDemoDataRemoval;
73683
+ /** Withdraw an HLS package. The file itself stays in wspace-files. */
73684
+ hokRemoveHlsPackage: Scalars['Boolean']['output'];
72986
73685
  /** Detach a rendition. The file itself stays in wspace-files. */
72987
73686
  hokRemoveMediaRendition: Scalars['Boolean']['output'];
72988
73687
  hokRemoveProductionMember: Scalars['Boolean']['output'];
@@ -73015,6 +73714,8 @@ export type Mutation = {
73015
73714
  hokRevokeGuardianLink: HokGuardianLink;
73016
73715
  /** Stop serving the catalog to a partner. Removes its permission immediately. Idempotent. */
73017
73716
  hokRevokePartnerAccess: HokPartnerAccess;
73717
+ /** Issue a new feed URL; the old one stops working at once. */
73718
+ hokRotateChannelHlsFeedToken: HokChannelHlsFeed;
73018
73719
  /** Create or update the daily production report of a shoot day. */
73019
73720
  hokSaveDailyReport: HokDailyReport;
73020
73721
  /** Program a block on a channel. Rejects a block that overlaps an existing block on the same channel. */
@@ -73168,7 +73869,10 @@ export type Mutation = {
73168
73869
  */
73169
73870
  initializeWorkspaceRoles: InitializeWorkspaceRolesResult;
73170
73871
  initiateOAuth: OAuthInitiationResult;
73171
- /** Initiate a new upload session Returns session details and initial presigned URLs */
73872
+ /**
73873
+ * Initiate a new upload session
73874
+ * Returns session details and initial presigned URLs
73875
+ */
73172
73876
  initiateUpload: UploadSessionWithUrls;
73173
73877
  insertDataTableRow: DataTableRowResponse;
73174
73878
  /** Install an action from the store (creates a local instance) */
@@ -73596,6 +74300,12 @@ export type Mutation = {
73596
74300
  moveWorkflowFolder: WorkflowFolder;
73597
74301
  /** Move a resource to a different workspace */
73598
74302
  moveWorkspaceResource: ResourceOperationResult;
74303
+ /**
74304
+ * Accept the listed assignments of an open plan and reject the rest. One PLANNED
74305
+ * route is created per accepted assignment, through the normal route checks.
74306
+ * An empty list rejects the whole plan.
74307
+ */
74308
+ mtwApplyDispatchPlan: MtwDispatchPlan;
73599
74309
  /** Register, verify or repair the workspace's scheduled-reports job. Idempotent. */
73600
74310
  mtwEnsureReportSchedule?: Maybe<MtwReportSchedule>;
73601
74311
  /**
@@ -73610,6 +74320,14 @@ export type Mutation = {
73610
74320
  * makes no model call; `narrationStatus` says why.
73611
74321
  */
73612
74322
  mtwNarrateShipmentRiskForecast: MtwRiskForecast;
74323
+ /**
74324
+ * Propose vehicle + driver assignments for PLANNED shipments that have no live
74325
+ * route. Proposal only: no route or delivery job is written. A new proposal
74326
+ * expires any older open one.
74327
+ */
74328
+ mtwPlanDispatch: MtwDispatchPlan;
74329
+ /** Reject every assignment of an open plan. Writes no route or delivery job. */
74330
+ mtwRejectDispatchPlan: MtwDispatchPlan;
73613
74331
  /**
73614
74332
  * Re-forecast every in-flight shipment of the workspace and notify for any that
73615
74333
  * started slipping. Fired by wspace-scheduler-svc as this service's own service
@@ -73768,7 +74486,11 @@ export type Mutation = {
73768
74486
  planmagnetCheckoutDoc: PlanmagnetDoc;
73769
74487
  /** Clear a previously-set CrewFoundry identity override, so the member falls back to the default best-effort e-mail match. A no-op — not an error — when no override exists. */
73770
74488
  planmagnetClearMemberIdentityOverride: Scalars['Boolean']['output'];
73771
- /** Issue a non-cacheable URL for a PlanMagnet comment attachment under a short-lived, reader-scoped intent signed by PlanMagnet. This does not change ordinary file permissions. */
74489
+ /**
74490
+ * Issue a non-cacheable URL for a PlanMagnet comment attachment under a
74491
+ * short-lived, reader-scoped intent signed by PlanMagnet. This does not change
74492
+ * ordinary file permissions.
74493
+ */
73772
74494
  planmagnetCommentFileDownloadUrl: Scalars['String']['output'];
73773
74495
  /** Complete a sprint (transition to COMPLETED). What happens to its unfinished work items (any status but DONE or CANCELLED) is the caller's explicit choice: carry them into another sprint, return them to the backlog, or keep them recorded in the completed sprint — KEEP_IN_SPRINT, the behaviour when no choice is sent (unchanged for existing clients). */
73774
74496
  planmagnetCompleteSprint: Sprint;
@@ -75179,7 +75901,15 @@ export type Mutation = {
75179
75901
  saveMyGgnomadAffiliatePayoutProfile: GgnomadAffiliatePayoutProfile;
75180
75902
  /** Upsert the calling user's active view + per-view overrides. */
75181
75903
  saveMyNavPreferences: NavPreferences;
75182
- /** Save an AI-assistant sandbox artifact directly into Files without round- tripping bytes through the browser. Calls `wspace-sandbox-svc` over the internal gateway, decodes the artifact, uploads to S3, and creates a File row in the target folder. Returns the freshly created File. Larger artifacts (decoded > 50 MB) return `SANDBOX_ARTIFACT_TOO_LARGE` and the caller falls back to the client-side download path. */
75904
+ /**
75905
+ * Save an AI-assistant sandbox artifact directly into Files without round-
75906
+ * tripping bytes through the browser. Calls `wspace-sandbox-svc` over the
75907
+ * internal gateway, decodes the artifact, uploads to S3, and creates a File
75908
+ * row in the target folder. Returns the freshly created File.
75909
+ *
75910
+ * Larger artifacts (decoded > 50 MB) return `SANDBOX_ARTIFACT_TOO_LARGE` and
75911
+ * the caller falls back to the client-side download path.
75912
+ */
75183
75913
  saveSandboxArtifactToFiles: File;
75184
75914
  saveSecretsProviderConfig: SecretsProviderConfigResponse;
75185
75915
  /** Save UI session */
@@ -75313,6 +76043,11 @@ export type Mutation = {
75313
76043
  /** Replace a product's whole quantity ladder in one transaction (BOFF-6091). Refuses duplicate thresholds. */
75314
76044
  setHealthyBowlWholesalePriceTiers: Array<WholesalePriceTier>;
75315
76045
  setHousingvistaInvestmentEligibility: HousingVistaInvestmentComplianceSetting;
76046
+ /**
76047
+ * Turn the scheduled sync on or off. Turning it on needs a successful preview
76048
+ * with the current credentials.
76049
+ */
76050
+ setHrisSyncSchedule: HrisDirectorySyncSchedule;
75316
76051
  /** Mark a message read or unread in a mailbox the caller owns. */
75317
76052
  setMailboxMessageRead: Scalars['Boolean']['output'];
75318
76053
  setMaintenanceChecklistItem: MaintenanceRecord;
@@ -75447,6 +76182,11 @@ export type Mutation = {
75447
76182
  /** Start a DRAFT A/B creative test */
75448
76183
  startHeadshotmarketingAdCreativeTest: HeadshotmarketingAdCreativeTest;
75449
76184
  startHealthyBowlCertificationRenewal: Certification;
76185
+ /**
76186
+ * Start a preview or a sync in the background and return its RUNNING record.
76187
+ * A sync (APPLY) needs a successful preview with the current credentials.
76188
+ */
76189
+ startHrisSync: HrisSyncRun;
75450
76190
  /** Streaming bridge: mesh-forward a session/terminal create to a (possibly multi-hop) destination agent, minting a short-lived capability token on it. Returns the destination agent's tunnel URL + capability token so the browser can stream DIRECTLY to it (control plane via mesh, data plane direct). */
75451
76191
  startMeshAgentSession: MeshSessionDescriptor;
75452
76192
  startMtwProcedureExecution: MtwProcedureExecution;
@@ -75909,30 +76649,59 @@ export type Mutation = {
75909
76649
  testWebhookMapping: BigConsoleWidgetWebhookTestResult;
75910
76650
  /** Approve (lock) a DRAFT allocation so it counts toward net positions. */
75911
76651
  theApproveProductionAllocation: TheProductionAllocation;
76652
+ /** Attribute (or, with null, detach) a finished work order's downtime to a production record of the same asset, after the fact. */
76653
+ theAttributeWorkOrderDowntime: TheWorkOrder;
76654
+ /** Apply one set of PRO_RATA factors to every unallocated record of a measurement asset in a window. */
76655
+ theBulkAllocateProduction: TheBulkAllocationResult;
76656
+ /** Close a reporting period so its allocations cannot be created, approved or reversed until it is reopened. */
76657
+ theCloseAllocationPeriod: TheAllocationPeriodClose;
76658
+ /** Record a prior-period correction (signed volume deltas) against an APPROVED allocation (creates a DRAFT). */
76659
+ theCreateAllocationCorrection: TheProductionAllocation;
75912
76660
  theCreateAsset: TheAsset;
75913
76661
  theCreateComplianceCert: TheComplianceCert;
75914
76662
  theCreateContract: TheOfftakeContract;
76663
+ /** Assign net volume from an approved allocation entry to a sell contract. */
76664
+ theCreateContractEntitlement: TheContractEntitlement;
75915
76665
  theCreateCorrectiveAction: TheCorrectiveAction;
76666
+ theCreateEquipment: TheEquipment;
76667
+ /** Record the ownership of an asset for an effective period. */
76668
+ theCreateInterestDeck: TheInterestDeck;
75916
76669
  theCreateInventoryLot: TheInventoryLot;
76670
+ theCreateMaintenanceSchedule: TheMaintenanceSchedule;
75917
76671
  /** Allocate a measured production record across its contributing assets (creates a DRAFT). */
75918
76672
  theCreateProductionAllocation: TheProductionAllocation;
75919
76673
  theCreateReserveEstimate: TheReserveEstimate;
76674
+ theCreateWorkOrder: TheWorkOrder;
76675
+ /** Delete an interest deck that no live allocation uses. */
76676
+ theDeleteInterestDeck: TheInterestDeck;
75920
76677
  /** Mark a shipment delivered and roll its volume into the contract's delivered total. */
75921
76678
  theDeliverShipment: TheShipment;
75922
76679
  /** Finalize a draft ESG disclosure (locks it as the reported-on-record snapshot). */
75923
76680
  theFinalizeEsgDisclosure: TheEsgDisclosure;
75924
76681
  /** Generate an ESG disclosure snapshot for the given framework and reporting period, computed from this workspace's own emission and compliance records (not manually entered) — see EsgReportingService. No @usage/quota directive: not yet registered in quota-catalog.yaml or the billing seed, so wiring enforcement here would repeat the exact unenforced/undefined-quota anti-pattern this batch just removed for `theglobalfuel.settlements.monthly` (see quota-catalog.yaml BOFF-5106/5108 note). Add a real quota + billing-seed entry first if/when this needs metering. */
75925
76682
  theGenerateEsgDisclosure: TheEsgDisclosure;
76683
+ /** Raise a PLANNED work order for every active schedule due within the horizon that does not already have an unfinished work order. Idempotent. */
76684
+ theGenerateScheduledWorkOrders: TheGenerateWorkOrdersResult;
75926
76685
  theRecordEmission: TheEmissionRecord;
75927
76686
  /** Record that the CALLING actor accepted a legal document/version at an in-product checkpoint. Self-scoped (Type A): no identity arg. Idempotent — re-accepting the same (checkpointType, documentVersion) updates the timestamp/audit fields rather than duplicating the row. */
75928
76687
  theRecordLegalAcceptance: TheLegalAcceptance;
75929
76688
  theRecordProduction: TheProductionRecord;
76689
+ /** Remove an entitlement, returning its volume to the allocation entry. */
76690
+ theRemoveContractEntitlement: TheContractEntitlement;
76691
+ /** Reopen a closed period (a reason is required). The close row is kept for the audit trail. */
76692
+ theReopenAllocationPeriod: TheAllocationPeriodClose;
75930
76693
  theReportSafetyIncident: TheSafetyIncident;
76694
+ /** Remove this workspace's override for a unit pair, restoring the built-in default. Returns false if there was none. */
76695
+ theResetUnitConversion: Scalars['Boolean']['output'];
75931
76696
  theRetireAsset: Scalars['Boolean']['output'];
75932
76697
  /** Void a DRAFT or APPROVED allocation, freeing its production record for re-allocation. */
75933
76698
  theReverseProductionAllocation: TheProductionAllocation;
75934
76699
  theScheduleShipment: TheShipment;
76700
+ /** Attach, replace or remove (photoFileId: null) the asset's photo. The id is a wspace-files-svc File id from the platform upload flow (BOFF-10630). */
76701
+ theSetAssetPhoto: TheAsset;
75935
76702
  theSetInventoryLotStatus: TheInventoryLot;
76703
+ /** Set this workspace's conversion factor for a commodity and unit pair. */
76704
+ theSetUnitConversion: TheUnitConversion;
75936
76705
  /** Advance an asset through its lifecycle (validated transitions). */
75937
76706
  theTransitionAsset: TheAsset;
75938
76707
  /** Advance a compliance certification through its lifecycle (validated transitions). */
@@ -75945,11 +76714,16 @@ export type Mutation = {
75945
76714
  theTransitionSafetyIncident: TheSafetyIncident;
75946
76715
  /** Advance a shipment through its lifecycle (validated transitions): SCHEDULED → LOADING → IN_TRANSIT → DELIVERED, and any non-terminal state → CANCELLED. Transitioning to DELIVERED rolls the shipment volume into the contract's delivered total exactly once (same path as theDeliverShipment). */
75947
76716
  theTransitionShipment: TheShipment;
76717
+ /** Advance a work order through its lifecycle (validated transitions). Completing a work order raised from a schedule rolls the schedule's next due date forward. */
76718
+ theTransitionWorkOrder: TheWorkOrder;
75948
76719
  theUpdateAsset: TheAsset;
75949
76720
  theUpdateContract: TheOfftakeContract;
76721
+ theUpdateEquipment: TheEquipment;
75950
76722
  theUpdateIncidentInvestigation: TheSafetyIncident;
76723
+ theUpdateMaintenanceSchedule: TheMaintenanceSchedule;
75951
76724
  /** Update the logistics metadata of an existing shipment (carrier, tracking number, route, schedule, document reference, notes). Status and volume are deliberately not updatable here — see TheUpdateShipmentInput. */
75952
76725
  theUpdateShipment: TheShipment;
76726
+ theUpdateWorkOrder: TheWorkOrder;
75953
76727
  /** Mark an emission figure third-party verified. */
75954
76728
  theVerifyEmission: TheEmissionRecord;
75955
76729
  toggleClientPortal: ClientPortalConfig;
@@ -75998,6 +76772,11 @@ export type Mutation = {
75998
76772
  transitionHealthyBowlCarbonCredit: HbCarbonCredit;
75999
76773
  /** Mark a nursery batch transplanted and link it to the destination field + crop. */
76000
76774
  transplantHealthyBowlNurseryBatch: NurseryBatch;
76775
+ /**
76776
+ * Move a conversation to Trash (Gmail) or Deleted Items (Outlook). It can be
76777
+ * restored from there; nothing is deleted permanently.
76778
+ */
76779
+ trashMailboxThread: Scalars['Boolean']['output'];
76001
76780
  /** Twin of the deprecated `triggerBoundWorkflow` returning `BotmanorWorkflowRun` (BOFF-9561). Same resolver, same `@rbac`, and the same `botmanor.runs.count` meter: a call through either spelling is one run. */
76002
76781
  triggerBotmanorBoundWorkflow: BotmanorWorkflowRun;
76003
76782
  /**
@@ -77903,6 +78682,13 @@ export type MutationArchiveHealthyBowlCsaPickupLocationArgs = {
77903
78682
  };
77904
78683
 
77905
78684
 
78685
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
78686
+ export type MutationArchiveMailboxThreadArgs = {
78687
+ connectionId: Scalars['ID']['input'];
78688
+ threadId: Scalars['ID']['input'];
78689
+ };
78690
+
78691
+
77906
78692
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
77907
78693
  export type MutationArchiveProjectArgs = {
77908
78694
  id: Scalars['ID']['input'];
@@ -89876,6 +90662,12 @@ export type MutationHeadshotmarketingDeleteSavedReportArgs = {
89876
90662
  };
89877
90663
 
89878
90664
 
90665
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
90666
+ export type MutationHeadshotmarketingDeleteSavedReportScheduleArgs = {
90667
+ reportId: Scalars['ID']['input'];
90668
+ };
90669
+
90670
+
89879
90671
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
89880
90672
  export type MutationHeadshotmarketingDismissAudienceSuggestionArgs = {
89881
90673
  id: Scalars['ID']['input'];
@@ -89982,6 +90774,12 @@ export type MutationHeadshotmarketingSendAgentMessageArgs = {
89982
90774
  };
89983
90775
 
89984
90776
 
90777
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
90778
+ export type MutationHeadshotmarketingSendSavedReportNowArgs = {
90779
+ reportId: Scalars['ID']['input'];
90780
+ };
90781
+
90782
+
89985
90783
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
89986
90784
  export type MutationHeadshotmarketingSetFileMarketingMetaArgs = {
89987
90785
  input: HeadshotmarketingSetFileMarketingMetaInput;
@@ -89994,6 +90792,13 @@ export type MutationHeadshotmarketingSetMonthlyGoalArgs = {
89994
90792
  };
89995
90793
 
89996
90794
 
90795
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
90796
+ export type MutationHeadshotmarketingSetSavedReportScheduleArgs = {
90797
+ input: HeadshotmarketingSetSavedReportScheduleInput;
90798
+ reportId: Scalars['ID']['input'];
90799
+ };
90800
+
90801
+
89997
90802
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
89998
90803
  export type MutationHeadshotmarketingSuggestAudienceSegmentArgs = {
89999
90804
  input: HeadshotmarketingSuggestAudienceSegmentInput;
@@ -90146,6 +90951,12 @@ export type MutationHokAddCreditArgs = {
90146
90951
  };
90147
90952
 
90148
90953
 
90954
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
90955
+ export type MutationHokAddHlsPackageArgs = {
90956
+ input: HokAddHlsPackageInput;
90957
+ };
90958
+
90959
+
90149
90960
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
90150
90961
  export type MutationHokAddMediaRenditionArgs = {
90151
90962
  input: HokAddMediaRenditionInput;
@@ -90480,6 +91291,19 @@ export type MutationHokDeleteStudioArgs = {
90480
91291
  };
90481
91292
 
90482
91293
 
91294
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
91295
+ export type MutationHokDisableChannelHlsFeedArgs = {
91296
+ channelId: Scalars['ID']['input'];
91297
+ };
91298
+
91299
+
91300
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
91301
+ export type MutationHokEnableChannelHlsFeedArgs = {
91302
+ channelId: Scalars['ID']['input'];
91303
+ slatePackageId: Scalars['ID']['input'];
91304
+ };
91305
+
91306
+
90483
91307
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
90484
91308
  export type MutationHokEndChannelStreamArgs = {
90485
91309
  sessionId: Scalars['ID']['input'];
@@ -90634,6 +91458,12 @@ export type MutationHokRemoveCreditArgs = {
90634
91458
  };
90635
91459
 
90636
91460
 
91461
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
91462
+ export type MutationHokRemoveHlsPackageArgs = {
91463
+ id: Scalars['ID']['input'];
91464
+ };
91465
+
91466
+
90637
91467
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
90638
91468
  export type MutationHokRemoveMediaRenditionArgs = {
90639
91469
  id: Scalars['ID']['input'];
@@ -90755,6 +91585,12 @@ export type MutationHokRevokePartnerAccessArgs = {
90755
91585
  };
90756
91586
 
90757
91587
 
91588
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
91589
+ export type MutationHokRotateChannelHlsFeedTokenArgs = {
91590
+ channelId: Scalars['ID']['input'];
91591
+ };
91592
+
91593
+
90758
91594
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
90759
91595
  export type MutationHokSaveDailyReportArgs = {
90760
91596
  input: HokSaveDailyReportInput;
@@ -92997,12 +93833,31 @@ export type MutationMoveWorkspaceResourceArgs = {
92997
93833
  };
92998
93834
 
92999
93835
 
93836
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
93837
+ export type MutationMtwApplyDispatchPlanArgs = {
93838
+ accept: Array<Scalars['ID']['input']>;
93839
+ planId: Scalars['ID']['input'];
93840
+ };
93841
+
93842
+
93000
93843
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
93001
93844
  export type MutationMtwNarrateShipmentRiskForecastArgs = {
93002
93845
  shipmentId: Scalars['ID']['input'];
93003
93846
  };
93004
93847
 
93005
93848
 
93849
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
93850
+ export type MutationMtwPlanDispatchArgs = {
93851
+ input?: InputMaybe<MtwPlanDispatchInput>;
93852
+ };
93853
+
93854
+
93855
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
93856
+ export type MutationMtwRejectDispatchPlanArgs = {
93857
+ planId: Scalars['ID']['input'];
93858
+ };
93859
+
93860
+
93006
93861
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
93007
93862
  export type MutationMtwRunRiskSweepArgs = {
93008
93863
  input?: InputMaybe<MtwRunRiskSweepInput>;
@@ -99252,6 +100107,12 @@ export type MutationSetHousingvistaInvestmentEligibilityArgs = {
99252
100107
  };
99253
100108
 
99254
100109
 
100110
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
100111
+ export type MutationSetHrisSyncScheduleArgs = {
100112
+ input: SetHrisSyncScheduleInput;
100113
+ };
100114
+
100115
+
99255
100116
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
99256
100117
  export type MutationSetMailboxMessageReadArgs = {
99257
100118
  connectionId: Scalars['ID']['input'];
@@ -99704,6 +100565,12 @@ export type MutationStartHealthyBowlCertificationRenewalArgs = {
99704
100565
  };
99705
100566
 
99706
100567
 
100568
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
100569
+ export type MutationStartHrisSyncArgs = {
100570
+ input: StartHrisSyncInput;
100571
+ };
100572
+
100573
+
99707
100574
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
99708
100575
  export type MutationStartMeshAgentSessionArgs = {
99709
100576
  destinationAgentId: Scalars['ID']['input'];
@@ -101341,6 +102208,32 @@ export type MutationTheApproveProductionAllocationArgs = {
101341
102208
  };
101342
102209
 
101343
102210
 
102211
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102212
+ export type MutationTheAttributeWorkOrderDowntimeArgs = {
102213
+ downtimeHours?: InputMaybe<Scalars['Float']['input']>;
102214
+ id: Scalars['ID']['input'];
102215
+ productionRecordId?: InputMaybe<Scalars['ID']['input']>;
102216
+ };
102217
+
102218
+
102219
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102220
+ export type MutationTheBulkAllocateProductionArgs = {
102221
+ input: TheBulkAllocateProductionInput;
102222
+ };
102223
+
102224
+
102225
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102226
+ export type MutationTheCloseAllocationPeriodArgs = {
102227
+ input: TheCloseAllocationPeriodInput;
102228
+ };
102229
+
102230
+
102231
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102232
+ export type MutationTheCreateAllocationCorrectionArgs = {
102233
+ input: TheCreateAllocationCorrectionInput;
102234
+ };
102235
+
102236
+
101344
102237
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101345
102238
  export type MutationTheCreateAssetArgs = {
101346
102239
  input: TheCreateAssetInput;
@@ -101359,18 +102252,42 @@ export type MutationTheCreateContractArgs = {
101359
102252
  };
101360
102253
 
101361
102254
 
102255
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102256
+ export type MutationTheCreateContractEntitlementArgs = {
102257
+ input: TheCreateContractEntitlementInput;
102258
+ };
102259
+
102260
+
101362
102261
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101363
102262
  export type MutationTheCreateCorrectiveActionArgs = {
101364
102263
  input: TheCreateCorrectiveActionInput;
101365
102264
  };
101366
102265
 
101367
102266
 
102267
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102268
+ export type MutationTheCreateEquipmentArgs = {
102269
+ input: TheCreateEquipmentInput;
102270
+ };
102271
+
102272
+
102273
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102274
+ export type MutationTheCreateInterestDeckArgs = {
102275
+ input: TheCreateInterestDeckInput;
102276
+ };
102277
+
102278
+
101368
102279
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101369
102280
  export type MutationTheCreateInventoryLotArgs = {
101370
102281
  input: TheCreateInventoryLotInput;
101371
102282
  };
101372
102283
 
101373
102284
 
102285
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102286
+ export type MutationTheCreateMaintenanceScheduleArgs = {
102287
+ input: TheCreateMaintenanceScheduleInput;
102288
+ };
102289
+
102290
+
101374
102291
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101375
102292
  export type MutationTheCreateProductionAllocationArgs = {
101376
102293
  input: TheCreateProductionAllocationInput;
@@ -101383,6 +102300,18 @@ export type MutationTheCreateReserveEstimateArgs = {
101383
102300
  };
101384
102301
 
101385
102302
 
102303
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102304
+ export type MutationTheCreateWorkOrderArgs = {
102305
+ input: TheCreateWorkOrderInput;
102306
+ };
102307
+
102308
+
102309
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102310
+ export type MutationTheDeleteInterestDeckArgs = {
102311
+ id: Scalars['ID']['input'];
102312
+ };
102313
+
102314
+
101386
102315
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101387
102316
  export type MutationTheDeliverShipmentArgs = {
101388
102317
  id: Scalars['ID']['input'];
@@ -101401,6 +102330,12 @@ export type MutationTheGenerateEsgDisclosureArgs = {
101401
102330
  };
101402
102331
 
101403
102332
 
102333
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102334
+ export type MutationTheGenerateScheduledWorkOrdersArgs = {
102335
+ horizonDays?: InputMaybe<Scalars['Int']['input']>;
102336
+ };
102337
+
102338
+
101404
102339
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101405
102340
  export type MutationTheRecordEmissionArgs = {
101406
102341
  input: TheRecordEmissionInput;
@@ -101420,12 +102355,31 @@ export type MutationTheRecordProductionArgs = {
101420
102355
  };
101421
102356
 
101422
102357
 
102358
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102359
+ export type MutationTheRemoveContractEntitlementArgs = {
102360
+ id: Scalars['ID']['input'];
102361
+ };
102362
+
102363
+
102364
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102365
+ export type MutationTheReopenAllocationPeriodArgs = {
102366
+ id: Scalars['ID']['input'];
102367
+ reason: Scalars['String']['input'];
102368
+ };
102369
+
102370
+
101423
102371
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101424
102372
  export type MutationTheReportSafetyIncidentArgs = {
101425
102373
  input: TheReportSafetyIncidentInput;
101426
102374
  };
101427
102375
 
101428
102376
 
102377
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102378
+ export type MutationTheResetUnitConversionArgs = {
102379
+ input: TheResetUnitConversionInput;
102380
+ };
102381
+
102382
+
101429
102383
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101430
102384
  export type MutationTheRetireAssetArgs = {
101431
102385
  id: Scalars['ID']['input'];
@@ -101445,6 +102399,13 @@ export type MutationTheScheduleShipmentArgs = {
101445
102399
  };
101446
102400
 
101447
102401
 
102402
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102403
+ export type MutationTheSetAssetPhotoArgs = {
102404
+ id: Scalars['ID']['input'];
102405
+ photoFileId?: InputMaybe<Scalars['ID']['input']>;
102406
+ };
102407
+
102408
+
101448
102409
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101449
102410
  export type MutationTheSetInventoryLotStatusArgs = {
101450
102411
  id: Scalars['ID']['input'];
@@ -101452,6 +102413,12 @@ export type MutationTheSetInventoryLotStatusArgs = {
101452
102413
  };
101453
102414
 
101454
102415
 
102416
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102417
+ export type MutationTheSetUnitConversionArgs = {
102418
+ input: TheSetUnitConversionInput;
102419
+ };
102420
+
102421
+
101455
102422
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101456
102423
  export type MutationTheTransitionAssetArgs = {
101457
102424
  id: Scalars['ID']['input'];
@@ -101494,6 +102461,14 @@ export type MutationTheTransitionShipmentArgs = {
101494
102461
  };
101495
102462
 
101496
102463
 
102464
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102465
+ export type MutationTheTransitionWorkOrderArgs = {
102466
+ details?: InputMaybe<TheWorkOrderTransitionInput>;
102467
+ id: Scalars['ID']['input'];
102468
+ status: TheWorkOrderStatus;
102469
+ };
102470
+
102471
+
101497
102472
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101498
102473
  export type MutationTheUpdateAssetArgs = {
101499
102474
  id: Scalars['ID']['input'];
@@ -101508,6 +102483,13 @@ export type MutationTheUpdateContractArgs = {
101508
102483
  };
101509
102484
 
101510
102485
 
102486
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102487
+ export type MutationTheUpdateEquipmentArgs = {
102488
+ id: Scalars['ID']['input'];
102489
+ input: TheUpdateEquipmentInput;
102490
+ };
102491
+
102492
+
101511
102493
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101512
102494
  export type MutationTheUpdateIncidentInvestigationArgs = {
101513
102495
  id: Scalars['ID']['input'];
@@ -101515,6 +102497,13 @@ export type MutationTheUpdateIncidentInvestigationArgs = {
101515
102497
  };
101516
102498
 
101517
102499
 
102500
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102501
+ export type MutationTheUpdateMaintenanceScheduleArgs = {
102502
+ id: Scalars['ID']['input'];
102503
+ input: TheUpdateMaintenanceScheduleInput;
102504
+ };
102505
+
102506
+
101518
102507
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101519
102508
  export type MutationTheUpdateShipmentArgs = {
101520
102509
  id: Scalars['ID']['input'];
@@ -101522,6 +102511,13 @@ export type MutationTheUpdateShipmentArgs = {
101522
102511
  };
101523
102512
 
101524
102513
 
102514
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102515
+ export type MutationTheUpdateWorkOrderArgs = {
102516
+ id: Scalars['ID']['input'];
102517
+ input: TheUpdateWorkOrderInput;
102518
+ };
102519
+
102520
+
101525
102521
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101526
102522
  export type MutationTheVerifyEmissionArgs = {
101527
102523
  id: Scalars['ID']['input'];
@@ -101694,6 +102690,13 @@ export type MutationTransplantHealthyBowlNurseryBatchArgs = {
101694
102690
  };
101695
102691
 
101696
102692
 
102693
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102694
+ export type MutationTrashMailboxThreadArgs = {
102695
+ connectionId: Scalars['ID']['input'];
102696
+ threadId: Scalars['ID']['input'];
102697
+ };
102698
+
102699
+
101697
102700
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101698
102701
  export type MutationTriggerBotmanorBoundWorkflowArgs = {
101699
102702
  input: TriggerBoundWorkflowInput;
@@ -118748,6 +119751,8 @@ export type Query = {
118748
119751
  /** Null until the workspace's forecast has been calculated once. */
118749
119752
  demandForecastRunStatus?: Maybe<MtwDemandForecastRunStatus>;
118750
119753
  demandForecastVariance: Array<MtwDemandForecastVariance>;
119754
+ /** Compare what-if scenarios on the lane forecast side by side, each against fleet capacity. */
119755
+ demandScenarioComparison: MtwDemandScenarioComparison;
118751
119756
  /** Check the health status of all system dependencies */
118752
119757
  dependenciesHealth: HealthCheckResponse;
118753
119758
  /**
@@ -118962,7 +119967,14 @@ export type Query = {
118962
119967
  fileShareGrantByToken?: Maybe<ShareGrantPreview>;
118963
119968
  /** File/folder grants where the current user is the accepted grantee. */
118964
119969
  fileSharesSharedWithMe: ShareGrantList;
118965
- /** Returns ground-truth per-workspace counts for all count-based file quotas (storage_bytes, folders). Values come directly from DB aggregates so they are always accurate — including after file/folder deletions. Used exclusively by wspace-activity-svc count reconciler to keep WorkspaceQuotaAssignment.used in sync with actual state. */
119970
+ /**
119971
+ * Returns ground-truth per-workspace counts for all count-based file quotas
119972
+ * (storage_bytes, folders). Values come directly from DB aggregates so they
119973
+ * are always accurate — including after file/folder deletions.
119974
+ *
119975
+ * Used exclusively by wspace-activity-svc count reconciler to keep
119976
+ * WorkspaceQuotaAssignment.used in sync with actual state.
119977
+ */
118966
119978
  filesCountMetrics: Array<WorkspaceCountMetric>;
118967
119979
  financeMetrics: MtwFinanceMetrics;
118968
119980
  financialSummary: AssetHandlerFinancialSummary;
@@ -119618,7 +120630,10 @@ export type Query = {
119618
120630
  * @deprecated Consolidated onto the ShareGrant stack (BOFF-5302). Use the generic sharing operations: shareFile / createFileShareLink / fileSharesSharedWithMe / acceptFileShare.
119619
120631
  */
119620
120632
  getUserShares: FileShareList;
119621
- /** Get the calling user's cumulative storage usage and plan-driven cap. Used by the file UI to render "X of Y" indicators and pre-flight upload gating. */
120633
+ /**
120634
+ * Get the calling user's cumulative storage usage and plan-driven cap. Used by
120635
+ * the file UI to render "X of Y" indicators and pre-flight upload gating.
120636
+ */
119622
120637
  getUserStorageUsage: UserStorageUsage;
119623
120638
  getVault?: Maybe<Vault>;
119624
120639
  getVaultAccessLogs: VaultAccessLogList;
@@ -120068,6 +121083,8 @@ export type Query = {
120068
121083
  headshotmarketingSEOProviderStatus: HeadshotmarketingSeoProviderStatus;
120069
121084
  /** One saved report, or null when it does not exist in this workspace. */
120070
121085
  headshotmarketingSavedReport?: Maybe<HeadshotmarketingSavedReport>;
121086
+ /** Delivery attempts of a saved report, most recent first. */
121087
+ headshotmarketingSavedReportDeliveryRuns: HeadshotmarketingSavedReportDeliveryRunList;
120071
121088
  /** The workspace's saved reports, most recently updated first. */
120072
121089
  headshotmarketingSavedReports: HeadshotmarketingSavedReportList;
120073
121090
  /** Get a specific social account by ID */
@@ -120190,6 +121207,8 @@ export type Query = {
120190
121207
  hokCallSheetPdfUrl?: Maybe<Scalars['String']['output']>;
120191
121208
  /** Planned ad breaks on a FAST channel's timeline inside the [from, to] window. */
120192
121209
  hokChannelAdBreaks: Array<HokChannelAdBreakSlot>;
121210
+ /** The channel's HLS feed, or null when it has none. */
121211
+ hokChannelHlsFeed?: Maybe<HokChannelHlsFeed>;
120193
121212
  /** Schedule blocks for a channel overlapping the [from, to] window (defaults to an open-ended window when omitted), ordered by start time. */
120194
121213
  hokChannelSchedule: HokScheduleBlockConnection;
120195
121214
  /** 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). */
@@ -120220,6 +121239,8 @@ export type Query = {
120220
121239
  /** Embeds in this workspace, newest first, optionally narrowed to one title. */
120221
121240
  hokListEmbeds: HokEmbedConnection;
120222
121241
  hokListEpisodes: HokEpisodeConnection;
121242
+ /** HLS packages in this workspace, newest first. */
121243
+ hokListHlsPackages: Array<HokHlsPackage>;
120223
121244
  hokListIdentityVerifications: HokIdentityVerificationConnection;
120224
121245
  hokListLocalizations: HokLocalizationConnection;
120225
121246
  hokListLocations: Array<HokLocation>;
@@ -120390,6 +121411,15 @@ export type Query = {
120390
121411
  /** Slots of a property, soonest first. By default only open future slots; includeBooked also lists the taken ones. */
120391
121412
  housingvistaViewingSlots: Array<HousingVistaViewingSlot>;
120392
121413
  housingvistaViewings: Array<HousingVistaViewing>;
121414
+ /**
121415
+ * Directory-sync state of a Workday or SAP SuccessFactors connection.
121416
+ * Workspace administrators only: it exposes employee names and emails.
121417
+ */
121418
+ hrisDirectorySync: HrisDirectorySyncStatus;
121419
+ /** One preview or sync, for polling while it runs. */
121420
+ hrisSyncRun?: Maybe<HrisSyncRun>;
121421
+ /** Recent previews and syncs of a connection, newest first (at most 50). */
121422
+ hrisSyncRuns: Array<HrisSyncRun>;
120393
121423
  incident?: Maybe<Incident>;
120394
121424
  incidents: Array<Incident>;
120395
121425
  installAgentJobStatus: InstallJobStatus;
@@ -120648,6 +121678,13 @@ export type Query = {
120648
121678
  lookupUserActorByEmail?: Maybe<UserActorLookupResult>;
120649
121679
  /** The caller's own Gmail and Outlook connections in this workspace. */
120650
121680
  mailboxAccounts: Array<MailboxAccount>;
121681
+ /**
121682
+ * One attachment of a message in a mailbox the caller owns, fetched by the
121683
+ * service with the owner's token. Never returns a provider URL.
121684
+ */
121685
+ mailboxAttachment: MailboxAttachmentContent;
121686
+ /** Gmail labels or Outlook mail folders of a mailbox the caller owns. */
121687
+ mailboxLabels: Array<MailboxLabel>;
120651
121688
  /** One page of messages from a mailbox the caller owns, newest first. */
120652
121689
  mailboxMessages: MailboxMessagePage;
120653
121690
  /** A conversation with full plain-text bodies, from a mailbox the caller owns. */
@@ -120767,6 +121804,8 @@ export type Query = {
120767
121804
  mtwCustomerNotificationSettings: MtwCustomerNotificationSettings;
120768
121805
  /** Customer notifications sent or attempted in this workspace, newest first. */
120769
121806
  mtwCustomerNotifications: MtwCustomerNotificationPage;
121807
+ mtwDispatchPlan?: Maybe<MtwDispatchPlan>;
121808
+ mtwDispatchPlans: Array<MtwDispatchPlan>;
120770
121809
  /** Exact immutable instruction, including a proposal's historical owner; not a current-eligibility claim. */
120771
121810
  mtwEmptyReturnInstruction: MtwEmptyReturnInstruction;
120772
121811
  mtwEmptyReturnInstructionPage: MtwEmptyReturnInstructionPage;
@@ -120792,6 +121831,8 @@ export type Query = {
120792
121831
  * entity create permission.
120793
121832
  */
120794
121833
  mtwImportSpec: Array<MtwImportEntitySpec>;
121834
+ /** The workspace's most recent dispatch plan, whatever its status. */
121835
+ mtwLatestDispatchPlan?: Maybe<MtwDispatchPlan>;
120795
121836
  /** The workspace's MoveTheWheels operational defaults; platform defaults when none were saved. */
120796
121837
  mtwModuleSettings: MtwModuleSettings;
120797
121838
  mtwPalletGeometryPreview: MtwPalletGeometryPreview;
@@ -122041,24 +123082,47 @@ export type Query = {
122041
123082
  /** The workspace's scheduled xAPI push (BOFF-10575), or null when no LRS is connected. */
122042
123083
  tecXapiLrsSync?: Maybe<TecXapiLrsSync>;
122043
123084
  testParserExpression: ParserTestResult;
123085
+ /** Production records inside a closed period that have no APPROVED allocation (offset paging). */
123086
+ theAllocationExceptions: TheAllocationExceptionConnection;
123087
+ theAllocationPeriodClose?: Maybe<TheAllocationPeriodClose>;
123088
+ /** Allocation statement for [periodStart, periodEnd]: net position, per-asset allocation detail and CSV. */
123089
+ theAllocationStatement: TheAllocationStatement;
122044
123090
  theAsset?: Maybe<TheAsset>;
122045
123091
  theComplianceCert?: Maybe<TheComplianceCert>;
122046
123092
  theContract?: Maybe<TheOfftakeContract>;
123093
+ /** Over/under-lift position per contract. With contractId, that contract only; otherwise every contract with active entitlements. */
123094
+ theContractLiftingPositions: Array<TheContractLiftingPosition>;
123095
+ theEquipment?: Maybe<TheEquipment>;
122047
123096
  theEsgDisclosure?: Maybe<TheEsgDisclosure>;
122048
123097
  /** Liveness/identity probe for the Theglobalfuel subgraph. */
122049
123098
  theHealth: Scalars['String']['output'];
123099
+ theInterestDeck?: Maybe<TheInterestDeck>;
123100
+ /** The interest deck in force for an asset at an instant, if any. */
123101
+ theInterestDeckInForce?: Maybe<TheInterestDeck>;
123102
+ /** Period closes, newest period first. Includes REOPENED rows: this is the close / reopen audit trail. */
123103
+ theListAllocationPeriodCloses: TheAllocationPeriodCloseConnection;
122050
123104
  theListAssets: TheAssetConnection;
122051
123105
  theListComplianceCerts: TheComplianceCertConnection;
123106
+ /** Active entitlements (their allocation is APPROVED), newest period first. */
123107
+ theListContractEntitlements: TheContractEntitlementConnection;
122052
123108
  theListContracts: TheOfftakeContractConnection;
122053
123109
  theListCorrectiveActions: TheCorrectiveActionConnection;
122054
123110
  theListEmissionRecords: TheEmissionRecordConnection;
123111
+ theListEquipment: TheEquipmentConnection;
122055
123112
  theListEsgDisclosures: TheEsgDisclosureConnection;
123113
+ theListInterestDecks: TheInterestDeckConnection;
122056
123114
  theListInventoryLots: TheInventoryLotConnection;
123115
+ theListMaintenanceSchedules: TheMaintenanceScheduleConnection;
122057
123116
  theListProductionAllocations: TheProductionAllocationConnection;
122058
123117
  theListProductionRecords: TheProductionRecordConnection;
122059
123118
  theListReserveEstimates: TheReserveEstimateConnection;
122060
123119
  theListSafetyIncidents: TheSafetyIncidentConnection;
122061
123120
  theListShipments: TheShipmentConnection;
123121
+ /** Effective unit conversion factors for a commodity (built-in defaults merged with this workspace's overrides). */
123122
+ theListUnitConversions: Array<TheUnitConversion>;
123123
+ theListWorkOrders: TheWorkOrderConnection;
123124
+ theMaintenanceDashboard: TheMaintenanceDashboard;
123125
+ theMaintenanceHistory: TheMaintenanceHistory;
122062
123126
  /** Legal-acceptance checkpoints recorded by the CALLING actor for a specific checkpoint type. Self-scoped (Type C): the ctx.actorId filter IS the access control, no identity arg. Used by the app shell to decide whether to show the acceptance gate before letting the actor into core flows. */
122063
123127
  theMyLegalAcceptances: TheLegalAcceptanceConnection;
122064
123128
  /** Net production position per asset over [periodStart, periodEnd], from APPROVED allocations only. */
@@ -122066,6 +123130,7 @@ export type Query = {
122066
123130
  theProductionAllocation?: Maybe<TheProductionAllocation>;
122067
123131
  theSafetyDashboard: TheSafetyDashboard;
122068
123132
  theSafetyIncident?: Maybe<TheSafetyIncident>;
123133
+ theWorkOrder?: Maybe<TheWorkOrder>;
122069
123134
  thread: MessageConnection;
122070
123135
  /** Activation milestones for the calling workspace (BOFF-3450). */
122071
123136
  timeCampusActivation: TimeCampusActivation;
@@ -126572,6 +127637,12 @@ export type QueryDemandForecastVarianceArgs = {
126572
127637
  };
126573
127638
 
126574
127639
 
127640
+ /** Base Query type with placeholder field. Extended by individual query files. */
127641
+ export type QueryDemandScenarioComparisonArgs = {
127642
+ input?: InputMaybe<MtwDemandScenarioComparisonInput>;
127643
+ };
127644
+
127645
+
126575
127646
  /** Base Query type with placeholder field. Extended by individual query files. */
126576
127647
  export type QueryDetailedNodeUsageArgs = {
126577
127648
  input: DetailedNodeUsageInput;
@@ -132101,6 +133172,13 @@ export type QueryHeadshotmarketingSavedReportArgs = {
132101
133172
  };
132102
133173
 
132103
133174
 
133175
+ /** Base Query type with placeholder field. Extended by individual query files. */
133176
+ export type QueryHeadshotmarketingSavedReportDeliveryRunsArgs = {
133177
+ pagination?: InputMaybe<PaginationInput>;
133178
+ reportId: Scalars['ID']['input'];
133179
+ };
133180
+
133181
+
132104
133182
  /** Base Query type with placeholder field. Extended by individual query files. */
132105
133183
  export type QueryHeadshotmarketingSavedReportsArgs = {
132106
133184
  pagination?: InputMaybe<PaginationInput>;
@@ -132544,6 +133622,12 @@ export type QueryHokChannelAdBreaksArgs = {
132544
133622
  };
132545
133623
 
132546
133624
 
133625
+ /** Base Query type with placeholder field. Extended by individual query files. */
133626
+ export type QueryHokChannelHlsFeedArgs = {
133627
+ channelId: Scalars['ID']['input'];
133628
+ };
133629
+
133630
+
132547
133631
  /** Base Query type with placeholder field. Extended by individual query files. */
132548
133632
  export type QueryHokChannelScheduleArgs = {
132549
133633
  channelId: Scalars['ID']['input'];
@@ -132670,6 +133754,14 @@ export type QueryHokListEpisodesArgs = {
132670
133754
  };
132671
133755
 
132672
133756
 
133757
+ /** Base Query type with placeholder field. Extended by individual query files. */
133758
+ export type QueryHokListHlsPackagesArgs = {
133759
+ episodeId?: InputMaybe<Scalars['ID']['input']>;
133760
+ kind?: InputMaybe<HokHlsPackageKind>;
133761
+ titleId?: InputMaybe<Scalars['ID']['input']>;
133762
+ };
133763
+
133764
+
132673
133765
  /** Base Query type with placeholder field. Extended by individual query files. */
132674
133766
  export type QueryHokListIdentityVerificationsArgs = {
132675
133767
  pagination?: InputMaybe<PaginationInput>;
@@ -133404,6 +134496,25 @@ export type QueryHousingvistaViewingsArgs = {
133404
134496
  };
133405
134497
 
133406
134498
 
134499
+ /** Base Query type with placeholder field. Extended by individual query files. */
134500
+ export type QueryHrisDirectorySyncArgs = {
134501
+ connectionId: Scalars['ID']['input'];
134502
+ };
134503
+
134504
+
134505
+ /** Base Query type with placeholder field. Extended by individual query files. */
134506
+ export type QueryHrisSyncRunArgs = {
134507
+ id: Scalars['ID']['input'];
134508
+ };
134509
+
134510
+
134511
+ /** Base Query type with placeholder field. Extended by individual query files. */
134512
+ export type QueryHrisSyncRunsArgs = {
134513
+ connectionId: Scalars['ID']['input'];
134514
+ limit?: InputMaybe<Scalars['Int']['input']>;
134515
+ };
134516
+
134517
+
133407
134518
  /** Base Query type with placeholder field. Extended by individual query files. */
133408
134519
  export type QueryIncidentArgs = {
133409
134520
  id: Scalars['ID']['input'];
@@ -134706,6 +135817,20 @@ export type QueryLookupUserActorByEmailArgs = {
134706
135817
  };
134707
135818
 
134708
135819
 
135820
+ /** Base Query type with placeholder field. Extended by individual query files. */
135821
+ export type QueryMailboxAttachmentArgs = {
135822
+ attachmentId: Scalars['ID']['input'];
135823
+ connectionId: Scalars['ID']['input'];
135824
+ messageId: Scalars['ID']['input'];
135825
+ };
135826
+
135827
+
135828
+ /** Base Query type with placeholder field. Extended by individual query files. */
135829
+ export type QueryMailboxLabelsArgs = {
135830
+ connectionId: Scalars['ID']['input'];
135831
+ };
135832
+
135833
+
134709
135834
  /** Base Query type with placeholder field. Extended by individual query files. */
134710
135835
  export type QueryMailboxMessagesArgs = {
134711
135836
  input: MailboxMessagesInput;
@@ -135255,6 +136380,19 @@ export type QueryMtwCustomerNotificationsArgs = {
135255
136380
  };
135256
136381
 
135257
136382
 
136383
+ /** Base Query type with placeholder field. Extended by individual query files. */
136384
+ export type QueryMtwDispatchPlanArgs = {
136385
+ id: Scalars['ID']['input'];
136386
+ };
136387
+
136388
+
136389
+ /** Base Query type with placeholder field. Extended by individual query files. */
136390
+ export type QueryMtwDispatchPlansArgs = {
136391
+ pagination?: InputMaybe<PaginationInput>;
136392
+ status?: InputMaybe<MtwDispatchPlanStatus>;
136393
+ };
136394
+
136395
+
135258
136396
  /** Base Query type with placeholder field. Extended by individual query files. */
135259
136397
  export type QueryMtwEmptyReturnInstructionArgs = {
135260
136398
  id: Scalars['ID']['input'];
@@ -140076,6 +141214,27 @@ export type QueryTestParserExpressionArgs = {
140076
141214
  };
140077
141215
 
140078
141216
 
141217
+ /** Base Query type with placeholder field. Extended by individual query files. */
141218
+ export type QueryTheAllocationExceptionsArgs = {
141219
+ measurementAssetId?: InputMaybe<Scalars['ID']['input']>;
141220
+ pagination?: InputMaybe<PaginationInput>;
141221
+ };
141222
+
141223
+
141224
+ /** Base Query type with placeholder field. Extended by individual query files. */
141225
+ export type QueryTheAllocationPeriodCloseArgs = {
141226
+ id: Scalars['ID']['input'];
141227
+ };
141228
+
141229
+
141230
+ /** Base Query type with placeholder field. Extended by individual query files. */
141231
+ export type QueryTheAllocationStatementArgs = {
141232
+ measurementAssetId?: InputMaybe<Scalars['ID']['input']>;
141233
+ periodEnd: Scalars['DateTime']['input'];
141234
+ periodStart: Scalars['DateTime']['input'];
141235
+ };
141236
+
141237
+
140079
141238
  /** Base Query type with placeholder field. Extended by individual query files. */
140080
141239
  export type QueryTheAssetArgs = {
140081
141240
  id: Scalars['ID']['input'];
@@ -140094,12 +141253,45 @@ export type QueryTheContractArgs = {
140094
141253
  };
140095
141254
 
140096
141255
 
141256
+ /** Base Query type with placeholder field. Extended by individual query files. */
141257
+ export type QueryTheContractLiftingPositionsArgs = {
141258
+ contractId?: InputMaybe<Scalars['ID']['input']>;
141259
+ };
141260
+
141261
+
141262
+ /** Base Query type with placeholder field. Extended by individual query files. */
141263
+ export type QueryTheEquipmentArgs = {
141264
+ id: Scalars['ID']['input'];
141265
+ };
141266
+
141267
+
140097
141268
  /** Base Query type with placeholder field. Extended by individual query files. */
140098
141269
  export type QueryTheEsgDisclosureArgs = {
140099
141270
  id: Scalars['ID']['input'];
140100
141271
  };
140101
141272
 
140102
141273
 
141274
+ /** Base Query type with placeholder field. Extended by individual query files. */
141275
+ export type QueryTheInterestDeckArgs = {
141276
+ id: Scalars['ID']['input'];
141277
+ };
141278
+
141279
+
141280
+ /** Base Query type with placeholder field. Extended by individual query files. */
141281
+ export type QueryTheInterestDeckInForceArgs = {
141282
+ assetId: Scalars['ID']['input'];
141283
+ at: Scalars['DateTime']['input'];
141284
+ };
141285
+
141286
+
141287
+ /** Base Query type with placeholder field. Extended by individual query files. */
141288
+ export type QueryTheListAllocationPeriodClosesArgs = {
141289
+ assetId?: InputMaybe<Scalars['ID']['input']>;
141290
+ pagination?: InputMaybe<PaginationInput>;
141291
+ status?: InputMaybe<TheAllocationPeriodStatus>;
141292
+ };
141293
+
141294
+
140103
141295
  /** Base Query type with placeholder field. Extended by individual query files. */
140104
141296
  export type QueryTheListAssetsArgs = {
140105
141297
  commodity?: InputMaybe<TheCommodityType>;
@@ -140118,6 +141310,14 @@ export type QueryTheListComplianceCertsArgs = {
140118
141310
  };
140119
141311
 
140120
141312
 
141313
+ /** Base Query type with placeholder field. Extended by individual query files. */
141314
+ export type QueryTheListContractEntitlementsArgs = {
141315
+ allocationId?: InputMaybe<Scalars['ID']['input']>;
141316
+ contractId?: InputMaybe<Scalars['ID']['input']>;
141317
+ pagination?: InputMaybe<PaginationInput>;
141318
+ };
141319
+
141320
+
140121
141321
  /** Base Query type with placeholder field. Extended by individual query files. */
140122
141322
  export type QueryTheListContractsArgs = {
140123
141323
  commodity?: InputMaybe<TheCommodityType>;
@@ -140143,6 +141343,15 @@ export type QueryTheListEmissionRecordsArgs = {
140143
141343
  };
140144
141344
 
140145
141345
 
141346
+ /** Base Query type with placeholder field. Extended by individual query files. */
141347
+ export type QueryTheListEquipmentArgs = {
141348
+ assetId?: InputMaybe<Scalars['ID']['input']>;
141349
+ category?: InputMaybe<TheEquipmentCategory>;
141350
+ pagination?: InputMaybe<PaginationInput>;
141351
+ status?: InputMaybe<TheEquipmentStatus>;
141352
+ };
141353
+
141354
+
140146
141355
  /** Base Query type with placeholder field. Extended by individual query files. */
140147
141356
  export type QueryTheListEsgDisclosuresArgs = {
140148
141357
  framework?: InputMaybe<TheEsgFramework>;
@@ -140150,6 +141359,13 @@ export type QueryTheListEsgDisclosuresArgs = {
140150
141359
  };
140151
141360
 
140152
141361
 
141362
+ /** Base Query type with placeholder field. Extended by individual query files. */
141363
+ export type QueryTheListInterestDecksArgs = {
141364
+ assetId?: InputMaybe<Scalars['ID']['input']>;
141365
+ pagination?: InputMaybe<PaginationInput>;
141366
+ };
141367
+
141368
+
140153
141369
  /** Base Query type with placeholder field. Extended by individual query files. */
140154
141370
  export type QueryTheListInventoryLotsArgs = {
140155
141371
  commodity?: InputMaybe<TheCommodityType>;
@@ -140158,8 +141374,18 @@ export type QueryTheListInventoryLotsArgs = {
140158
141374
  };
140159
141375
 
140160
141376
 
141377
+ /** Base Query type with placeholder field. Extended by individual query files. */
141378
+ export type QueryTheListMaintenanceSchedulesArgs = {
141379
+ active?: InputMaybe<Scalars['Boolean']['input']>;
141380
+ dueBefore?: InputMaybe<Scalars['DateTime']['input']>;
141381
+ equipmentId?: InputMaybe<Scalars['ID']['input']>;
141382
+ pagination?: InputMaybe<PaginationInput>;
141383
+ };
141384
+
141385
+
140161
141386
  /** Base Query type with placeholder field. Extended by individual query files. */
140162
141387
  export type QueryTheListProductionAllocationsArgs = {
141388
+ correctsAllocationId?: InputMaybe<Scalars['ID']['input']>;
140163
141389
  measurementAssetId?: InputMaybe<Scalars['ID']['input']>;
140164
141390
  pagination?: InputMaybe<PaginationInput>;
140165
141391
  productionRecordId?: InputMaybe<Scalars['ID']['input']>;
@@ -140200,6 +141426,33 @@ export type QueryTheListShipmentsArgs = {
140200
141426
  };
140201
141427
 
140202
141428
 
141429
+ /** Base Query type with placeholder field. Extended by individual query files. */
141430
+ export type QueryTheListUnitConversionsArgs = {
141431
+ commodity: TheCommodityType;
141432
+ };
141433
+
141434
+
141435
+ /** Base Query type with placeholder field. Extended by individual query files. */
141436
+ export type QueryTheListWorkOrdersArgs = {
141437
+ assetId?: InputMaybe<Scalars['ID']['input']>;
141438
+ assigneeId?: InputMaybe<Scalars['ID']['input']>;
141439
+ equipmentId?: InputMaybe<Scalars['ID']['input']>;
141440
+ overdueOnly?: InputMaybe<Scalars['Boolean']['input']>;
141441
+ pagination?: InputMaybe<PaginationInput>;
141442
+ priority?: InputMaybe<TheMaintenancePriority>;
141443
+ status?: InputMaybe<TheWorkOrderStatus>;
141444
+ type?: InputMaybe<TheWorkOrderType>;
141445
+ };
141446
+
141447
+
141448
+ /** Base Query type with placeholder field. Extended by individual query files. */
141449
+ export type QueryTheMaintenanceHistoryArgs = {
141450
+ assetId: Scalars['ID']['input'];
141451
+ equipmentId?: InputMaybe<Scalars['ID']['input']>;
141452
+ pagination?: InputMaybe<PaginationInput>;
141453
+ };
141454
+
141455
+
140203
141456
  /** Base Query type with placeholder field. Extended by individual query files. */
140204
141457
  export type QueryTheMyLegalAcceptancesArgs = {
140205
141458
  checkpointType: TheLegalCheckpointType;
@@ -140212,6 +141465,7 @@ export type QueryTheNetProductionPositionArgs = {
140212
141465
  assetId?: InputMaybe<Scalars['ID']['input']>;
140213
141466
  periodEnd: Scalars['DateTime']['input'];
140214
141467
  periodStart: Scalars['DateTime']['input'];
141468
+ reportingUnit?: InputMaybe<TheUnit>;
140215
141469
  };
140216
141470
 
140217
141471
 
@@ -140227,6 +141481,12 @@ export type QueryTheSafetyIncidentArgs = {
140227
141481
  };
140228
141482
 
140229
141483
 
141484
+ /** Base Query type with placeholder field. Extended by individual query files. */
141485
+ export type QueryTheWorkOrderArgs = {
141486
+ id: Scalars['ID']['input'];
141487
+ };
141488
+
141489
+
140230
141490
  /** Base Query type with placeholder field. Extended by individual query files. */
140231
141491
  export type QueryThreadArgs = {
140232
141492
  after?: InputMaybe<Scalars['String']['input']>;
@@ -145408,9 +146668,15 @@ export type SaveNavPreferencesInput = {
145408
146668
  };
145409
146669
 
145410
146670
  export type SaveSandboxArtifactInput = {
145411
- /** Override the filename the sandbox suggests. Useful when the caller already has user-facing context (e.g. session title) the sandbox doesn't. */
146671
+ /**
146672
+ * Override the filename the sandbox suggests. Useful when the caller already
146673
+ * has user-facing context (e.g. session title) the sandbox doesn't.
146674
+ */
145412
146675
  filename?: InputMaybe<Scalars['String']['input']>;
145413
- /** Destination folder. Resolve via `ensureFolderByPath` first if you want to drop the artifact into a per-module default folder. */
146676
+ /**
146677
+ * Destination folder. Resolve via `ensureFolderByPath` first if you want to
146678
+ * drop the artifact into a per-module default folder.
146679
+ */
145414
146680
  folderId: Scalars['ID']['input'];
145415
146681
  /** Artifact path inside the session (e.g. `/output/report.pdf`). */
145416
146682
  path: Scalars['String']['input'];
@@ -147875,6 +149141,11 @@ export type SendHealthyBowlSupplierMessageInput = {
147875
149141
  };
147876
149142
 
147877
149143
  export type SendMailboxMessageInput = {
149144
+ /**
149145
+ * wspace-files-svc file ids to attach, uploaded by the caller first. At most 10;
149146
+ * together at most 17 MB for Gmail and 2.5 MB for Outlook.
149147
+ */
149148
+ attachmentFileIds?: InputMaybe<Array<Scalars['ID']['input']>>;
147878
149149
  bcc?: InputMaybe<Array<Scalars['String']['input']>>;
147879
149150
  bodyText: Scalars['String']['input'];
147880
149151
  cc?: InputMaybe<Array<Scalars['String']['input']>>;
@@ -148502,6 +149773,13 @@ export type SetHealthyBowlWholesalePriceTiersInput = {
148502
149773
  tiers: Array<WholesalePriceTierInput>;
148503
149774
  };
148504
149775
 
149776
+ export type SetHrisSyncScheduleInput = {
149777
+ connectionId: Scalars['ID']['input'];
149778
+ enabled: Scalars['Boolean']['input'];
149779
+ /** One of 6, 12, 24, 48 or 168. Defaults to 24. */
149780
+ intervalHours?: InputMaybe<Scalars['Int']['input']>;
149781
+ };
149782
+
148505
149783
  export type SetMetadataInput = {
148506
149784
  fileId: Scalars['ID']['input'];
148507
149785
  isPublic?: InputMaybe<Scalars['Boolean']['input']>;
@@ -149346,6 +150624,16 @@ export type StartDiscoveryJobInput = {
149346
150624
  source: Scalars['String']['input'];
149347
150625
  };
149348
150626
 
150627
+ export type StartHrisSyncInput = {
150628
+ /**
150629
+ * APPLY only: proceed even if the sync would deactivate more than a quarter of
150630
+ * the matched people. Scheduled syncs never set it.
150631
+ */
150632
+ allowMassDeactivation?: InputMaybe<Scalars['Boolean']['input']>;
150633
+ connectionId: Scalars['ID']['input'];
150634
+ mode: HrisSyncMode;
150635
+ };
150636
+
149349
150637
  export type StartMtwProcedureExecutionInput = {
149350
150638
  expectedCycleVersion: Scalars['Int']['input'];
149351
150639
  expectedProposalRevision: Scalars['Int']['input'];
@@ -152097,7 +153385,10 @@ export type Subscription = {
152097
153385
  exportJobProgress: ExportJob;
152098
153386
  /** Subscribe to file deletion events */
152099
153387
  fileDeleted: FileDeletedEvent;
152100
- /** Subscribe to all file events in a workspace Real-time updates for file uploads, updates, deletions, etc. */
153388
+ /**
153389
+ * Subscribe to all file events in a workspace
153390
+ * Real-time updates for file uploads, updates, deletions, etc.
153391
+ */
152101
153392
  fileEvents: FileEventUnion;
152102
153393
  /** Subscribe to lock events for a specific file */
152103
153394
  fileLockChanged: FileLock;
@@ -152231,7 +153522,10 @@ export type Subscription = {
152231
153522
  userActivityUpdates: ActivityLog;
152232
153523
  /** Subscribe to when user is mentioned in comments */
152233
153524
  userMentioned: UserMentionedEvent;
152234
- /** Subscribe to real-time user presence on a file Useful for showing who's currently viewing/editing a file */
153525
+ /**
153526
+ * Subscribe to real-time user presence on a file
153527
+ * Useful for showing who's currently viewing/editing a file
153528
+ */
152235
153529
  userPresence: UserPresenceEvent;
152236
153530
  /** Real-time audit events for the workspace */
152237
153531
  vibeAuditLogCreated: VibeAuditLog;
@@ -155978,8 +157272,19 @@ export type TestSecretsProviderConnectionResponse = MutationResponse & {
155978
157272
  success: Scalars['Boolean']['output'];
155979
157273
  };
155980
157274
 
157275
+ export type TheAllocationCorrectionEntryInput = {
157276
+ assetId: Scalars['ID']['input'];
157277
+ /** Defaults to the original entry's royalty (0 for an asset not in the original). */
157278
+ royaltyPct?: InputMaybe<Scalars['Float']['input']>;
157279
+ /** Signed change to the asset's allocated volume (negative reduces it). */
157280
+ volumeDelta: Scalars['Float']['input'];
157281
+ /** Defaults to the original entry's working interest (or the asset's, for an asset not in the original). */
157282
+ workingInterestPct?: InputMaybe<Scalars['Float']['input']>;
157283
+ };
157284
+
155981
157285
  export type TheAllocationEntry = {
155982
157286
  __typename?: 'TheAllocationEntry';
157287
+ /** Sales-point share of the measured volume. Signed on a correction. */
155983
157288
  allocatedVolume: Scalars['Float']['output'];
155984
157289
  allocationId: Scalars['ID']['output'];
155985
157290
  asset?: Maybe<TheAsset>;
@@ -155987,36 +157292,136 @@ export type TheAllocationEntry = {
155987
157292
  /** PRO_RATA input weight (well-test rate, theoretical volume, metered share); null for MANUAL. */
155988
157293
  factor?: Maybe<Scalars['Float']['output']>;
155989
157294
  id: Scalars['ID']['output'];
157295
+ /** The interest deck in force for the allocation period, when it supplied a term. */
157296
+ interestDeckId?: Maybe<Scalars['ID']['output']>;
157297
+ /** Where the ownership terms came from. */
157298
+ interestSource: TheInterestSource;
155990
157299
  /** netWorkingInterestVolume - royaltyVolume (net revenue interest volume). */
155991
157300
  netRevenueVolume: Scalars['Float']['output'];
155992
157301
  /** allocatedVolume x workingInterestPct / 100. */
155993
157302
  netWorkingInterestVolume: Scalars['Float']['output'];
157303
+ /** Overriding royalty burden on the working-interest share, 0-100. */
157304
+ overridingRoyaltyPct: Scalars['Float']['output'];
155994
157305
  royaltyPct: Scalars['Float']['output'];
155995
- /** netWorkingInterestVolume x royaltyPct / 100. */
157306
+ /** netWorkingInterestVolume x (royaltyPct + overridingRoyaltyPct) / 100. */
155996
157307
  royaltyVolume: Scalars['Float']['output'];
155997
- /** allocatedVolume as a percentage of the measured volume (0-100). */
157308
+ /** allocatedVolume as a percentage of the measured volume (0-100). On a correction, the signed delta as a percentage of the original's measured volume. */
155998
157309
  sharePct: Scalars['Float']['output'];
157310
+ /** The asset's share of the allocation's shrinkage. */
157311
+ shrinkageVolume: Scalars['Float']['output'];
157312
+ /** The asset's theoretical (well-test / metered) volume, when supplied. */
157313
+ theoreticalVolume?: Maybe<Scalars['Float']['output']>;
155999
157314
  unit: TheUnit;
157315
+ /** allocatedVolume + shrinkageVolume. */
157316
+ wellheadVolume: Scalars['Float']['output'];
156000
157317
  workingInterestPct: Scalars['Float']['output'];
156001
157318
  };
156002
157319
 
156003
157320
  export type TheAllocationEntryInput = {
156004
157321
  assetId: Scalars['ID']['input'];
156005
- /** PRO_RATA: required, the asset's allocation weight (>= 0). */
157322
+ /** PRO_RATA: the asset's allocation weight (>= 0). Defaults to theoreticalVolume when omitted. */
156006
157323
  factor?: InputMaybe<Scalars['Float']['input']>;
156007
- /** Royalty burden on the working-interest share, 0-100. Defaults to 0. */
157324
+ /** Overriding royalty burden on the working-interest share, 0-100. Defaults to the deck's overridingRoyaltyPct, else 0. */
157325
+ overridingRoyaltyPct?: InputMaybe<Scalars['Float']['input']>;
157326
+ /** Royalty burden on the working-interest share, 0-100. Defaults to the deck's royaltyPct, else 0. */
156008
157327
  royaltyPct?: InputMaybe<Scalars['Float']['input']>;
157328
+ /** The asset's theoretical volume for the period (>= 0). Give it for every entry or none; it drives the reconciliation factor. */
157329
+ theoreticalVolume?: InputMaybe<Scalars['Float']['input']>;
156009
157330
  /** MANUAL: required, the asset's allocated volume (>= 0). */
156010
157331
  volume?: InputMaybe<Scalars['Float']['input']>;
156011
- /** Working interest held in this asset, 0-100. Defaults to the asset's workingInterestPct. */
157332
+ /** Working interest held in this asset, 0-100. Defaults to the workspace party of the interest deck in force for the period, else the asset's workingInterestPct. */
156012
157333
  workingInterestPct?: InputMaybe<Scalars['Float']['input']>;
156013
157334
  };
156014
157335
 
157336
+ /** A production record inside a closed period that has no APPROVED allocation. */
157337
+ export type TheAllocationException = {
157338
+ __typename?: 'TheAllocationException';
157339
+ id: Scalars['ID']['output'];
157340
+ periodClose: TheAllocationPeriodClose;
157341
+ productionRecord: TheProductionRecord;
157342
+ reason: TheAllocationExceptionReason;
157343
+ };
157344
+
157345
+ export type TheAllocationExceptionConnection = {
157346
+ __typename?: 'TheAllocationExceptionConnection';
157347
+ items: Array<TheAllocationException>;
157348
+ pageInfo: ThePageInfo;
157349
+ totalCount: Scalars['Int']['output'];
157350
+ };
157351
+
157352
+ export enum TheAllocationExceptionReason {
157353
+ /** The record only has a DRAFT allocation. */
157354
+ DRAFT_PENDING = 'DRAFT_PENDING',
157355
+ /** The record has no live allocation. */
157356
+ UNALLOCATED = 'UNALLOCATED'
157357
+ }
157358
+
156015
157359
  export enum TheAllocationMethod {
156016
157360
  MANUAL = 'MANUAL',
156017
157361
  PRO_RATA = 'PRO_RATA'
156018
157362
  }
156019
157363
 
157364
+ export type TheAllocationPeriodClose = {
157365
+ __typename?: 'TheAllocationPeriodClose';
157366
+ asset?: Maybe<TheAsset>;
157367
+ /** Measurement asset (field / facility) the close applies to; null when it applies to every asset. */
157368
+ assetId?: Maybe<Scalars['ID']['output']>;
157369
+ closeNotes?: Maybe<Scalars['String']['output']>;
157370
+ closedAt: Scalars['DateTime']['output'];
157371
+ closedBy: Scalars['ID']['output'];
157372
+ createdAt: Scalars['DateTime']['output'];
157373
+ id: Scalars['ID']['output'];
157374
+ periodEnd: Scalars['DateTime']['output'];
157375
+ periodStart: Scalars['DateTime']['output'];
157376
+ reopenReason?: Maybe<Scalars['String']['output']>;
157377
+ reopenedAt?: Maybe<Scalars['DateTime']['output']>;
157378
+ reopenedBy?: Maybe<Scalars['ID']['output']>;
157379
+ status: TheAllocationPeriodStatus;
157380
+ updatedAt: Scalars['DateTime']['output'];
157381
+ workspaceId: Scalars['ID']['output'];
157382
+ };
157383
+
157384
+ export type TheAllocationPeriodCloseConnection = {
157385
+ __typename?: 'TheAllocationPeriodCloseConnection';
157386
+ items: Array<TheAllocationPeriodClose>;
157387
+ pageInfo: ThePageInfo;
157388
+ };
157389
+
157390
+ export enum TheAllocationPeriodStatus {
157391
+ CLOSED = 'CLOSED',
157392
+ REOPENED = 'REOPENED'
157393
+ }
157394
+
157395
+ export type TheAllocationShrinkage = {
157396
+ __typename?: 'TheAllocationShrinkage';
157397
+ category: TheShrinkageCategory;
157398
+ volume: Scalars['Float']['output'];
157399
+ };
157400
+
157401
+ export type TheAllocationShrinkageInput = {
157402
+ category: TheShrinkageCategory;
157403
+ /** Volume in the allocation unit (>= 0). */
157404
+ volume: Scalars['Float']['input'];
157405
+ };
157406
+
157407
+ export type TheAllocationStatement = {
157408
+ __typename?: 'TheAllocationStatement';
157409
+ /** APPROVED allocations in the window with their per-asset entries (at most 500). */
157410
+ allocations: Array<TheProductionAllocation>;
157411
+ /** The statement as a CSV document (RFC 4180, formula-safe). */
157412
+ csv: Scalars['String']['output'];
157413
+ generatedAt: Scalars['DateTime']['output'];
157414
+ measurementAssetId?: Maybe<Scalars['ID']['output']>;
157415
+ netPosition: TheNetProductionPosition;
157416
+ /** CLOSED periods overlapping the window. */
157417
+ periodCloses: Array<TheAllocationPeriodClose>;
157418
+ periodEnd: Scalars['DateTime']['output'];
157419
+ periodStart: Scalars['DateTime']['output'];
157420
+ truncated: Scalars['Boolean']['output'];
157421
+ /** Production records in the window with no APPROVED allocation. */
157422
+ unapprovedRecordCount: Scalars['Int']['output'];
157423
+ };
157424
+
156020
157425
  export enum TheAllocationStatus {
156021
157426
  APPROVED = 'APPROVED',
156022
157427
  DRAFT = 'DRAFT',
@@ -156043,6 +157448,10 @@ export type TheAsset = {
156043
157448
  longitude?: Maybe<Scalars['Float']['output']>;
156044
157449
  name: Scalars['String']['output'];
156045
157450
  operatorLeadId?: Maybe<Scalars['ID']['output']>;
157451
+ /** Federated reference to the asset's photo File (key-only, owned by wspace-files-svc). */
157452
+ photo?: Maybe<File>;
157453
+ /** wspace-files-svc File id of the asset's photo, if one was uploaded (BOFF-10630). Resolve the image through the Files graph root fields (getFile / getFileDownloadUrl). */
157454
+ photoFileId?: Maybe<Scalars['ID']['output']>;
156046
157455
  productionRecords: TheProductionRecordConnection;
156047
157456
  reserveEstimates: TheReserveEstimateConnection;
156048
157457
  /** Reservoir / deposit lithology or type (e.g. Carbonate, Sandstone, Porphyry). */
@@ -156096,6 +157505,71 @@ export enum TheAssetStatus {
156096
157505
  SUSPENDED = 'SUSPENDED'
156097
157506
  }
156098
157507
 
157508
+ export type TheBulkAllocateProductionInput = {
157509
+ /** Also approve each allocation it creates. */
157510
+ approve?: InputMaybe<Scalars['Boolean']['input']>;
157511
+ /** Validate every record without writing anything. */
157512
+ dryRun?: InputMaybe<Scalars['Boolean']['input']>;
157513
+ /** PRO_RATA factors (e.g. the latest well-test rates), with optional working-interest / royalty overrides. */
157514
+ entries: Array<TheAllocationEntryInput>;
157515
+ /** Asset the production records were measured at (field / facility / meter). */
157516
+ measurementAssetId: Scalars['ID']['input'];
157517
+ notes?: InputMaybe<Scalars['String']['input']>;
157518
+ periodEnd: Scalars['DateTime']['input'];
157519
+ periodStart: Scalars['DateTime']['input'];
157520
+ };
157521
+
157522
+ export enum TheBulkAllocationOutcome {
157523
+ /** A DRAFT allocation was created. */
157524
+ ALLOCATED = 'ALLOCATED',
157525
+ /** An allocation was created and approved. */
157526
+ APPROVED = 'APPROVED',
157527
+ /** The record could not be allocated (see errorCode / message). */
157528
+ FAILED = 'FAILED',
157529
+ /** The record already had a live allocation and was left alone. */
157530
+ SKIPPED = 'SKIPPED',
157531
+ /** Dry run: the record would be allocated. */
157532
+ VALIDATED = 'VALIDATED'
157533
+ }
157534
+
157535
+ export type TheBulkAllocationRecordResult = {
157536
+ __typename?: 'TheBulkAllocationRecordResult';
157537
+ allocation?: Maybe<TheProductionAllocation>;
157538
+ errorCode?: Maybe<Scalars['String']['output']>;
157539
+ measuredVolume: Scalars['Float']['output'];
157540
+ message?: Maybe<Scalars['String']['output']>;
157541
+ outcome: TheBulkAllocationOutcome;
157542
+ periodEnd: Scalars['DateTime']['output'];
157543
+ periodStart: Scalars['DateTime']['output'];
157544
+ productionRecordId: Scalars['ID']['output'];
157545
+ unit: TheUnit;
157546
+ };
157547
+
157548
+ export type TheBulkAllocationResult = {
157549
+ __typename?: 'TheBulkAllocationResult';
157550
+ /** Allocations created (including those also approved). */
157551
+ allocatedCount: Scalars['Int']['output'];
157552
+ approve: Scalars['Boolean']['output'];
157553
+ approvedCount: Scalars['Int']['output'];
157554
+ dryRun: Scalars['Boolean']['output'];
157555
+ failedCount: Scalars['Int']['output'];
157556
+ /** Production records in the window that were considered (at most 200). */
157557
+ recordCount: Scalars['Int']['output'];
157558
+ results: Array<TheBulkAllocationRecordResult>;
157559
+ skippedCount: Scalars['Int']['output'];
157560
+ /** True when the window held more records than one run processes; run again for the rest. */
157561
+ truncated: Scalars['Boolean']['output'];
157562
+ validatedCount: Scalars['Int']['output'];
157563
+ };
157564
+
157565
+ export type TheCloseAllocationPeriodInput = {
157566
+ /** Close the period for one measurement asset only; omit to close it for every asset. */
157567
+ assetId?: InputMaybe<Scalars['ID']['input']>;
157568
+ notes?: InputMaybe<Scalars['String']['input']>;
157569
+ periodEnd: Scalars['DateTime']['input'];
157570
+ periodStart: Scalars['DateTime']['input'];
157571
+ };
157572
+
156099
157573
  export enum TheCommodityType {
156100
157574
  BAUXITE = 'BAUXITE',
156101
157575
  BIOFUEL = 'BIOFUEL',
@@ -156157,6 +157631,46 @@ export enum TheComplianceStatus {
156157
157631
  SUBMITTED = 'SUBMITTED'
156158
157632
  }
156159
157633
 
157634
+ export type TheContractEntitlement = {
157635
+ __typename?: 'TheContractEntitlement';
157636
+ allocationEntryId: Scalars['ID']['output'];
157637
+ allocationId: Scalars['ID']['output'];
157638
+ asset?: Maybe<TheAsset>;
157639
+ assetId: Scalars['ID']['output'];
157640
+ contract?: Maybe<TheOfftakeContract>;
157641
+ contractId: Scalars['ID']['output'];
157642
+ createdAt: Scalars['DateTime']['output'];
157643
+ createdBy: Scalars['ID']['output'];
157644
+ id: Scalars['ID']['output'];
157645
+ notes?: Maybe<Scalars['String']['output']>;
157646
+ /** Start of the allocation period the volume was produced in. */
157647
+ periodStart: Scalars['DateTime']['output'];
157648
+ unit: TheUnit;
157649
+ volume: Scalars['Float']['output'];
157650
+ workspaceId: Scalars['ID']['output'];
157651
+ };
157652
+
157653
+ export type TheContractEntitlementConnection = {
157654
+ __typename?: 'TheContractEntitlementConnection';
157655
+ items: Array<TheContractEntitlement>;
157656
+ pageInfo: ThePageInfo;
157657
+ };
157658
+
157659
+ /** A contract's entitlement from approved allocations against its lifted (delivered) volume, in the contract's unit. */
157660
+ export type TheContractLiftingPosition = {
157661
+ __typename?: 'TheContractLiftingPosition';
157662
+ /** liftedVolume - entitledVolume: positive is over-lifted, negative under-lifted. */
157663
+ balanceVolume: Scalars['Float']['output'];
157664
+ contract?: Maybe<TheOfftakeContract>;
157665
+ contractId: Scalars['ID']['output'];
157666
+ contractedVolume: Scalars['Float']['output'];
157667
+ entitledVolume: Scalars['Float']['output'];
157668
+ entitlementCount: Scalars['Int']['output'];
157669
+ liftedVolume: Scalars['Float']['output'];
157670
+ position: TheLiftingPositionKind;
157671
+ unit: TheUnit;
157672
+ };
157673
+
156160
157674
  export enum TheContractSide {
156161
157675
  BUY = 'BUY',
156162
157676
  SELL = 'SELL'
@@ -156200,6 +157714,17 @@ export enum TheCorrectiveActionStatus {
156200
157714
  VERIFIED = 'VERIFIED'
156201
157715
  }
156202
157716
 
157717
+ export type TheCreateAllocationCorrectionInput = {
157718
+ /** The APPROVED original allocation to correct. */
157719
+ allocationId: Scalars['ID']['input'];
157720
+ entries: Array<TheAllocationCorrectionEntryInput>;
157721
+ notes?: InputMaybe<Scalars['String']['input']>;
157722
+ periodEnd?: InputMaybe<Scalars['DateTime']['input']>;
157723
+ /** Period the correction is booked in (both or neither). Defaults to the original's period; a correction of a closed period is booked in a later, open period. It may not start before the original's period. */
157724
+ periodStart?: InputMaybe<Scalars['DateTime']['input']>;
157725
+ reason: Scalars['String']['input'];
157726
+ };
157727
+
156203
157728
  export type TheCreateAssetInput = {
156204
157729
  area?: InputMaybe<Scalars['Float']['input']>;
156205
157730
  capacityPerDay?: InputMaybe<Scalars['Float']['input']>;
@@ -156214,6 +157739,8 @@ export type TheCreateAssetInput = {
156214
157739
  longitude?: InputMaybe<Scalars['Float']['input']>;
156215
157740
  name: Scalars['String']['input'];
156216
157741
  operatorLeadId?: InputMaybe<Scalars['ID']['input']>;
157742
+ /** Optional wspace-files-svc File id of the asset's photo (BOFF-10630). */
157743
+ photoFileId?: InputMaybe<Scalars['ID']['input']>;
156217
157744
  reservoirType?: InputMaybe<Scalars['String']['input']>;
156218
157745
  status?: InputMaybe<TheAssetStatus>;
156219
157746
  waterDepth?: InputMaybe<Scalars['Float']['input']>;
@@ -156233,6 +157760,15 @@ export type TheCreateComplianceCertInput = {
156233
157760
  title: Scalars['String']['input'];
156234
157761
  };
156235
157762
 
157763
+ export type TheCreateContractEntitlementInput = {
157764
+ /** An entry of an APPROVED allocation, in the contract's unit and commodity. */
157765
+ allocationEntryId: Scalars['ID']['input'];
157766
+ contractId: Scalars['ID']['input'];
157767
+ notes?: InputMaybe<Scalars['String']['input']>;
157768
+ /** Volume to assign (> 0). Defaults to the entry's whole remaining net revenue volume. */
157769
+ volume?: InputMaybe<Scalars['Float']['input']>;
157770
+ };
157771
+
156236
157772
  export type TheCreateCorrectiveActionInput = {
156237
157773
  description: Scalars['String']['input'];
156238
157774
  dueDate?: InputMaybe<Scalars['DateTime']['input']>;
@@ -156241,6 +157777,31 @@ export type TheCreateCorrectiveActionInput = {
156241
157777
  ownerId?: InputMaybe<Scalars['ID']['input']>;
156242
157778
  };
156243
157779
 
157780
+ export type TheCreateEquipmentInput = {
157781
+ assetId: Scalars['ID']['input'];
157782
+ category?: InputMaybe<TheEquipmentCategory>;
157783
+ criticality?: InputMaybe<TheMaintenancePriority>;
157784
+ installedAt?: InputMaybe<Scalars['DateTime']['input']>;
157785
+ manufacturer?: InputMaybe<Scalars['String']['input']>;
157786
+ model?: InputMaybe<Scalars['String']['input']>;
157787
+ name: Scalars['String']['input'];
157788
+ notes?: InputMaybe<Scalars['String']['input']>;
157789
+ serialNumber?: InputMaybe<Scalars['String']['input']>;
157790
+ tag?: InputMaybe<Scalars['String']['input']>;
157791
+ };
157792
+
157793
+ export type TheCreateInterestDeckInput = {
157794
+ assetId: Scalars['ID']['input'];
157795
+ effectiveFrom: Scalars['DateTime']['input'];
157796
+ /** Exclusive end. Omit for open-ended. A deck starting after the asset's open-ended deck closes that deck at this deck's effectiveFrom. */
157797
+ effectiveTo?: InputMaybe<Scalars['DateTime']['input']>;
157798
+ notes?: InputMaybe<Scalars['String']['input']>;
157799
+ overridingRoyaltyPct?: InputMaybe<Scalars['Float']['input']>;
157800
+ /** 1-50 parties; exactly one with isWorkspaceInterest = true. */
157801
+ parties: Array<TheInterestDeckPartyInput>;
157802
+ royaltyPct?: InputMaybe<Scalars['Float']['input']>;
157803
+ };
157804
+
156244
157805
  export type TheCreateInventoryLotInput = {
156245
157806
  assetId?: InputMaybe<Scalars['ID']['input']>;
156246
157807
  commodity: TheCommodityType;
@@ -156255,6 +157816,17 @@ export type TheCreateInventoryLotInput = {
156255
157816
  unitValue?: InputMaybe<Scalars['Float']['input']>;
156256
157817
  };
156257
157818
 
157819
+ export type TheCreateMaintenanceScheduleInput = {
157820
+ description?: InputMaybe<Scalars['String']['input']>;
157821
+ equipmentId: Scalars['ID']['input'];
157822
+ estimatedHours?: InputMaybe<Scalars['Float']['input']>;
157823
+ intervalDays: Scalars['Int']['input'];
157824
+ /** First due date; defaults to now + intervalDays. */
157825
+ nextDueAt?: InputMaybe<Scalars['DateTime']['input']>;
157826
+ priority?: InputMaybe<TheMaintenancePriority>;
157827
+ title: Scalars['String']['input'];
157828
+ };
157829
+
156258
157830
  export type TheCreateOfftakeContractInput = {
156259
157831
  commodity: TheCommodityType;
156260
157832
  contractedVolume?: InputMaybe<Scalars['Float']['input']>;
@@ -156277,6 +157849,8 @@ export type TheCreateProductionAllocationInput = {
156277
157849
  method?: InputMaybe<TheAllocationMethod>;
156278
157850
  notes?: InputMaybe<Scalars['String']['input']>;
156279
157851
  productionRecordId: Scalars['ID']['input'];
157852
+ /** Shrinkage between the contributing assets and the measurement point, at most one line per category. */
157853
+ shrinkage?: InputMaybe<Array<TheAllocationShrinkageInput>>;
156280
157854
  };
156281
157855
 
156282
157856
  export type TheCreateReserveEstimateInput = {
@@ -156305,6 +157879,21 @@ export type TheCreateShipmentInput = {
156305
157879
  volume: Scalars['Float']['input'];
156306
157880
  };
156307
157881
 
157882
+ export type TheCreateWorkOrderInput = {
157883
+ /** Required unless equipmentId is given (the asset is then taken from the equipment). */
157884
+ assetId?: InputMaybe<Scalars['ID']['input']>;
157885
+ assigneeId?: InputMaybe<Scalars['ID']['input']>;
157886
+ conditionTrigger?: InputMaybe<Scalars['String']['input']>;
157887
+ description?: InputMaybe<Scalars['String']['input']>;
157888
+ equipmentId?: InputMaybe<Scalars['ID']['input']>;
157889
+ notes?: InputMaybe<Scalars['String']['input']>;
157890
+ priority?: InputMaybe<TheMaintenancePriority>;
157891
+ scheduledEnd?: InputMaybe<Scalars['DateTime']['input']>;
157892
+ scheduledStart?: InputMaybe<Scalars['DateTime']['input']>;
157893
+ title: Scalars['String']['input'];
157894
+ type?: InputMaybe<TheWorkOrderType>;
157895
+ };
157896
+
156308
157897
  export type TheEmissionRecord = {
156309
157898
  __typename?: 'TheEmissionRecord';
156310
157899
  assetId?: Maybe<Scalars['ID']['output']>;
@@ -156335,6 +157924,53 @@ export enum TheEmissionScope {
156335
157924
  SCOPE_3 = 'SCOPE_3'
156336
157925
  }
156337
157926
 
157927
+ export type TheEquipment = {
157928
+ __typename?: 'TheEquipment';
157929
+ assetId: Scalars['ID']['output'];
157930
+ category: TheEquipmentCategory;
157931
+ createdAt: Scalars['DateTime']['output'];
157932
+ criticality: TheMaintenancePriority;
157933
+ id: Scalars['ID']['output'];
157934
+ installedAt?: Maybe<Scalars['DateTime']['output']>;
157935
+ manufacturer?: Maybe<Scalars['String']['output']>;
157936
+ model?: Maybe<Scalars['String']['output']>;
157937
+ name: Scalars['String']['output'];
157938
+ notes?: Maybe<Scalars['String']['output']>;
157939
+ retiredAt?: Maybe<Scalars['DateTime']['output']>;
157940
+ serialNumber?: Maybe<Scalars['String']['output']>;
157941
+ status: TheEquipmentStatus;
157942
+ /** Plant / equipment tag number as stencilled in the field (e.g. P-101A). */
157943
+ tag?: Maybe<Scalars['String']['output']>;
157944
+ updatedAt: Scalars['DateTime']['output'];
157945
+ workspaceId: Scalars['ID']['output'];
157946
+ };
157947
+
157948
+ export enum TheEquipmentCategory {
157949
+ COMPRESSOR = 'COMPRESSOR',
157950
+ GENERATOR = 'GENERATOR',
157951
+ INSTRUMENT = 'INSTRUMENT',
157952
+ OTHER = 'OTHER',
157953
+ PIPELINE = 'PIPELINE',
157954
+ PUMP = 'PUMP',
157955
+ TANK = 'TANK',
157956
+ TURBINE = 'TURBINE',
157957
+ VALVE = 'VALVE',
157958
+ VEHICLE = 'VEHICLE'
157959
+ }
157960
+
157961
+ export type TheEquipmentConnection = {
157962
+ __typename?: 'TheEquipmentConnection';
157963
+ items: Array<TheEquipment>;
157964
+ pageInfo: ThePageInfo;
157965
+ };
157966
+
157967
+ export enum TheEquipmentStatus {
157968
+ DEGRADED = 'DEGRADED',
157969
+ DOWN = 'DOWN',
157970
+ OPERATIONAL = 'OPERATIONAL',
157971
+ RETIRED = 'RETIRED'
157972
+ }
157973
+
156338
157974
  /** A generated, reporting-period snapshot of ESG datapoints aligned to a named disclosure framework (GRI/SASB/CSRD/SEC/CDP), computed from this workspace's own emission and compliance records at generation time — see EsgReportingService. `datapoints` is returned as a JSON string. */
156339
157975
  export type TheEsgDisclosure = {
156340
157976
  __typename?: 'TheEsgDisclosure';
@@ -156379,6 +158015,70 @@ export type TheGenerateEsgDisclosureInput = {
156379
158015
  periodStart: Scalars['DateTime']['input'];
156380
158016
  };
156381
158017
 
158018
+ /** Result of raising planned work orders from due preventive-maintenance schedules. */
158019
+ export type TheGenerateWorkOrdersResult = {
158020
+ __typename?: 'TheGenerateWorkOrdersResult';
158021
+ created: Scalars['Int']['output'];
158022
+ workOrders: Array<TheWorkOrder>;
158023
+ };
158024
+
158025
+ export type TheInterestDeck = {
158026
+ __typename?: 'TheInterestDeck';
158027
+ asset?: Maybe<TheAsset>;
158028
+ assetId: Scalars['ID']['output'];
158029
+ createdAt: Scalars['DateTime']['output'];
158030
+ createdBy: Scalars['ID']['output'];
158031
+ /** Inclusive start of the period the deck is in force. */
158032
+ effectiveFrom: Scalars['DateTime']['output'];
158033
+ /** Exclusive end of the period; null until the deck is superseded. */
158034
+ effectiveTo?: Maybe<Scalars['DateTime']['output']>;
158035
+ id: Scalars['ID']['output'];
158036
+ notes?: Maybe<Scalars['String']['output']>;
158037
+ /** Overriding royalty interest, 0-100, borne by the working interest. */
158038
+ overridingRoyaltyPct: Scalars['Float']['output'];
158039
+ parties: Array<TheInterestDeckParty>;
158040
+ /** Landowner / lessor royalty, 0-100, borne by the working interest. */
158041
+ royaltyPct: Scalars['Float']['output'];
158042
+ updatedAt: Scalars['DateTime']['output'];
158043
+ workspaceId: Scalars['ID']['output'];
158044
+ /** The workspace's own party (always present). */
158045
+ workspaceParty?: Maybe<TheInterestDeckParty>;
158046
+ };
158047
+
158048
+ export type TheInterestDeckConnection = {
158049
+ __typename?: 'TheInterestDeckConnection';
158050
+ items: Array<TheInterestDeck>;
158051
+ pageInfo: ThePageInfo;
158052
+ };
158053
+
158054
+ export type TheInterestDeckParty = {
158055
+ __typename?: 'TheInterestDeckParty';
158056
+ id: Scalars['ID']['output'];
158057
+ /** True for the single party that is this workspace's own interest. */
158058
+ isWorkspaceInterest: Scalars['Boolean']['output'];
158059
+ /** workingInterestPct x (1 - (royaltyPct + overridingRoyaltyPct) / 100). */
158060
+ netRevenueInterestPct: Scalars['Float']['output'];
158061
+ partyName: Scalars['String']['output'];
158062
+ workingInterestPct: Scalars['Float']['output'];
158063
+ };
158064
+
158065
+ export type TheInterestDeckPartyInput = {
158066
+ isWorkspaceInterest?: InputMaybe<Scalars['Boolean']['input']>;
158067
+ partyName: Scalars['String']['input'];
158068
+ /** 0-100. The parties of a deck must sum to exactly 100. */
158069
+ workingInterestPct: Scalars['Float']['input'];
158070
+ };
158071
+
158072
+ /** Where an allocation entry's ownership terms came from. */
158073
+ export enum TheInterestSource {
158074
+ /** No deck was in force: the asset's own working interest and no royalty. */
158075
+ ASSET_DEFAULT = 'ASSET_DEFAULT',
158076
+ /** The interest deck in force for the whole allocation period. */
158077
+ INTEREST_DECK = 'INTEREST_DECK',
158078
+ /** At least one term was entered on the allocation entry. */
158079
+ OVERRIDE = 'OVERRIDE'
158080
+ }
158081
+
156382
158082
  export type TheInventoryLot = {
156383
158083
  __typename?: 'TheInventoryLot';
156384
158084
  assetId?: Maybe<Scalars['ID']['output']>;
@@ -156445,15 +158145,87 @@ export enum TheLegalCheckpointType {
156445
158145
  VERIFICATION_FIRST_USE = 'VERIFICATION_FIRST_USE'
156446
158146
  }
156447
158147
 
158148
+ export enum TheLiftingPositionKind {
158149
+ BALANCED = 'BALANCED',
158150
+ /** More has been lifted (delivered) than the contract is entitled to. */
158151
+ OVER_LIFTED = 'OVER_LIFTED',
158152
+ /** Less has been lifted than the contract is entitled to. */
158153
+ UNDER_LIFTED = 'UNDER_LIFTED'
158154
+ }
158155
+
158156
+ /** Live counts for the maintenance dashboard. */
158157
+ export type TheMaintenanceDashboard = {
158158
+ __typename?: 'TheMaintenanceDashboard';
158159
+ byStatus: Array<TheWorkOrderStatusCount>;
158160
+ byType: Array<TheWorkOrderTypeCount>;
158161
+ /** Downtime recorded on work orders completed in the last 30 days, in hours. */
158162
+ downtimeHoursLast30Days: Scalars['Float']['output'];
158163
+ equipmentDegraded: Scalars['Int']['output'];
158164
+ equipmentDown: Scalars['Int']['output'];
158165
+ openWorkOrders: Scalars['Int']['output'];
158166
+ overdueWorkOrders: Scalars['Int']['output'];
158167
+ schedulesDue: Scalars['Int']['output'];
158168
+ };
158169
+
158170
+ /** Maintenance history for an asset (optionally narrowed to one piece of equipment): finished work orders newest first, plus downtime totals. */
158171
+ export type TheMaintenanceHistory = {
158172
+ __typename?: 'TheMaintenanceHistory';
158173
+ assetId: Scalars['ID']['output'];
158174
+ /** Downtime hours that are attributed to a production record. */
158175
+ attributedDowntimeHours: Scalars['Float']['output'];
158176
+ completedWorkOrders: Scalars['Int']['output'];
158177
+ equipmentId?: Maybe<Scalars['ID']['output']>;
158178
+ items: Array<TheWorkOrder>;
158179
+ lastCompletedAt?: Maybe<Scalars['DateTime']['output']>;
158180
+ pageInfo: ThePageInfo;
158181
+ totalDowntimeHours: Scalars['Float']['output'];
158182
+ };
158183
+
158184
+ export enum TheMaintenancePriority {
158185
+ HIGH = 'HIGH',
158186
+ LOW = 'LOW',
158187
+ MEDIUM = 'MEDIUM',
158188
+ URGENT = 'URGENT'
158189
+ }
158190
+
158191
+ export type TheMaintenanceSchedule = {
158192
+ __typename?: 'TheMaintenanceSchedule';
158193
+ active: Scalars['Boolean']['output'];
158194
+ createdAt: Scalars['DateTime']['output'];
158195
+ description?: Maybe<Scalars['String']['output']>;
158196
+ equipmentId: Scalars['ID']['output'];
158197
+ estimatedHours?: Maybe<Scalars['Float']['output']>;
158198
+ id: Scalars['ID']['output'];
158199
+ intervalDays: Scalars['Int']['output'];
158200
+ lastCompletedAt?: Maybe<Scalars['DateTime']['output']>;
158201
+ nextDueAt: Scalars['DateTime']['output'];
158202
+ priority: TheMaintenancePriority;
158203
+ title: Scalars['String']['output'];
158204
+ updatedAt: Scalars['DateTime']['output'];
158205
+ workspaceId: Scalars['ID']['output'];
158206
+ };
158207
+
158208
+ export type TheMaintenanceScheduleConnection = {
158209
+ __typename?: 'TheMaintenanceScheduleConnection';
158210
+ items: Array<TheMaintenanceSchedule>;
158211
+ pageInfo: ThePageInfo;
158212
+ };
158213
+
156448
158214
  /** Net position for one asset and unit over a period, from APPROVED allocations only. */
156449
158215
  export type TheNetPositionLine = {
156450
158216
  __typename?: 'TheNetPositionLine';
156451
158217
  allocationCount: Scalars['Int']['output'];
156452
158218
  asset?: Maybe<TheAsset>;
156453
158219
  assetId: Scalars['ID']['output'];
158220
+ /** The asset's commodity; set when a reporting unit was requested. */
158221
+ commodity?: Maybe<TheCommodityType>;
158222
+ /** Factor converting this line's unit into the reporting unit; null when none was requested or no conversion exists. */
158223
+ conversionFactor?: Maybe<Scalars['Float']['output']>;
156454
158224
  grossAllocatedVolume: Scalars['Float']['output'];
156455
158225
  netRevenueVolume: Scalars['Float']['output'];
156456
158226
  netWorkingInterestVolume: Scalars['Float']['output'];
158227
+ /** This line's volumes in the reporting unit; null when none was requested or no conversion exists. */
158228
+ reported?: Maybe<TheNetPositionTotal>;
156457
158229
  royaltyVolume: Scalars['Float']['output'];
156458
158230
  unit: TheUnit;
156459
158231
  };
@@ -156475,7 +158247,13 @@ export type TheNetProductionPosition = {
156475
158247
  lines: Array<TheNetPositionLine>;
156476
158248
  periodEnd: Scalars['DateTime']['output'];
156477
158249
  periodStart: Scalars['DateTime']['output'];
158250
+ /** All convertible lines totalled in the reporting unit; null when no reporting unit was requested or no line could be converted. */
158251
+ reportingTotal?: Maybe<TheNetPositionTotal>;
158252
+ /** The requested reporting unit, if any. */
158253
+ reportingUnit?: Maybe<TheUnit>;
156478
158254
  totals: Array<TheNetPositionTotal>;
158255
+ /** Lines left out of reportingTotal because no conversion exists for their commodity and unit. */
158256
+ unconvertibleCount: Scalars['Int']['output'];
156479
158257
  };
156480
158258
 
156481
158259
  export type TheOfftakeContract = {
@@ -156534,10 +158312,18 @@ export type TheProductionAllocation = {
156534
158312
  allocatedTotal: Scalars['Float']['output'];
156535
158313
  approvedAt?: Maybe<Scalars['DateTime']['output']>;
156536
158314
  approvedBy?: Maybe<Scalars['ID']['output']>;
158315
+ correctionReason?: Maybe<Scalars['String']['output']>;
158316
+ /** Corrections recorded against this allocation, oldest first. */
158317
+ corrections: Array<TheProductionAllocation>;
158318
+ correctsAllocation?: Maybe<TheProductionAllocation>;
158319
+ /** The APPROVED original allocation this correction adjusts. */
158320
+ correctsAllocationId?: Maybe<Scalars['ID']['output']>;
156537
158321
  createdAt: Scalars['DateTime']['output'];
156538
158322
  createdBy: Scalars['ID']['output'];
156539
158323
  entries: Array<TheAllocationEntry>;
156540
158324
  id: Scalars['ID']['output'];
158325
+ /** True for a prior-period correction of another allocation. */
158326
+ isCorrection: Scalars['Boolean']['output'];
156541
158327
  /** Measured (gross) volume being allocated, snapshotted from the production record. */
156542
158328
  measuredVolume: Scalars['Float']['output'];
156543
158329
  measurementAsset?: Maybe<TheAsset>;
@@ -156551,13 +158337,23 @@ export type TheProductionAllocation = {
156551
158337
  periodStart: Scalars['DateTime']['output'];
156552
158338
  productionRecord?: Maybe<TheProductionRecord>;
156553
158339
  productionRecordId: Scalars['ID']['output'];
158340
+ /** wellheadVolume / theoreticalTotal; null without theoretical volumes. */
158341
+ reconciliationFactor?: Maybe<Scalars['Float']['output']>;
156554
158342
  reversalReason?: Maybe<Scalars['String']['output']>;
156555
158343
  reversedAt?: Maybe<Scalars['DateTime']['output']>;
156556
158344
  reversedBy?: Maybe<Scalars['ID']['output']>;
156557
158345
  royaltyTotal: Scalars['Float']['output'];
158346
+ /** Shrinkage by category (all four categories, zero when not recorded). */
158347
+ shrinkage: Array<TheAllocationShrinkage>;
158348
+ /** Sum of the shrinkage categories. */
158349
+ shrinkageTotal: Scalars['Float']['output'];
156558
158350
  status: TheAllocationStatus;
158351
+ /** Sum of the entries' theoretical volumes; null unless every entry supplied one. */
158352
+ theoreticalTotal?: Maybe<Scalars['Float']['output']>;
156559
158353
  unit: TheUnit;
156560
158354
  updatedAt: Scalars['DateTime']['output'];
158355
+ /** measuredVolume + shrinkageTotal: the volume produced at the contributing assets. */
158356
+ wellheadVolume: Scalars['Float']['output'];
156561
158357
  workspaceId: Scalars['ID']['output'];
156562
158358
  };
156563
158359
 
@@ -156662,6 +158458,12 @@ export type TheReserveEstimateConnection = {
156662
158458
  pageInfo: ThePageInfo;
156663
158459
  };
156664
158460
 
158461
+ export type TheResetUnitConversionInput = {
158462
+ commodity: TheCommodityType;
158463
+ fromUnit: TheUnit;
158464
+ toUnit: TheUnit;
158465
+ };
158466
+
156665
158467
  export type TheSafetyCategoryCount = {
156666
158468
  __typename?: 'TheSafetyCategoryCount';
156667
158469
  category: TheSafetyIncidentCategory;
@@ -156738,6 +158540,15 @@ export type TheSafetySeverityCount = {
156738
158540
  severity: TheSafetyIncidentSeverity;
156739
158541
  };
156740
158542
 
158543
+ export type TheSetUnitConversionInput = {
158544
+ commodity: TheCommodityType;
158545
+ /** One fromUnit equals this many toUnit (> 0). */
158546
+ factor: Scalars['Float']['input'];
158547
+ fromUnit: TheUnit;
158548
+ notes?: InputMaybe<Scalars['String']['input']>;
158549
+ toUnit: TheUnit;
158550
+ };
158551
+
156741
158552
  export type TheShipment = {
156742
158553
  __typename?: 'TheShipment';
156743
158554
  carrier?: Maybe<Scalars['String']['output']>;
@@ -156778,6 +158589,18 @@ export enum TheShipmentStatus {
156778
158589
  SCHEDULED = 'SCHEDULED'
156779
158590
  }
156780
158591
 
158592
+ /** Volumes produced at the contributing assets that never reach the measurement point (BOFF-10789). */
158593
+ export enum TheShrinkageCategory {
158594
+ /** Gas flared or vented. */
158595
+ FLARE = 'FLARE',
158596
+ /** Fuel and own use on site. */
158597
+ FUEL = 'FUEL',
158598
+ /** Volumes re-injected into the reservoir. */
158599
+ INJECTION = 'INJECTION',
158600
+ /** Evaporation, metering and handling losses. */
158601
+ LOSS = 'LOSS'
158602
+ }
158603
+
156781
158604
  export enum TheTransportMode {
156782
158605
  GRID = 'GRID',
156783
158606
  PIPELINE = 'PIPELINE',
@@ -156797,6 +158620,22 @@ export enum TheUnit {
156797
158620
  TONNES = 'TONNES'
156798
158621
  }
156799
158622
 
158623
+ /** An effective unit conversion factor for a commodity: a built-in default or this workspace's override. */
158624
+ export type TheUnitConversion = {
158625
+ __typename?: 'TheUnitConversion';
158626
+ commodity: TheCommodityType;
158627
+ /** The built-in factor for the same pair and direction, if any. */
158628
+ defaultFactor?: Maybe<Scalars['Float']['output']>;
158629
+ /** One fromUnit equals this many toUnit. */
158630
+ factor: Scalars['Float']['output'];
158631
+ fromUnit: TheUnit;
158632
+ /** Override id; null for a built-in default. */
158633
+ id?: Maybe<Scalars['ID']['output']>;
158634
+ isDefault: Scalars['Boolean']['output'];
158635
+ notes?: Maybe<Scalars['String']['output']>;
158636
+ toUnit: TheUnit;
158637
+ };
158638
+
156800
158639
  export type TheUpdateAssetInput = {
156801
158640
  area?: InputMaybe<Scalars['Float']['input']>;
156802
158641
  capacityPerDay?: InputMaybe<Scalars['Float']['input']>;
@@ -156812,11 +158651,36 @@ export type TheUpdateAssetInput = {
156812
158651
  longitude?: InputMaybe<Scalars['Float']['input']>;
156813
158652
  name?: InputMaybe<Scalars['String']['input']>;
156814
158653
  operatorLeadId?: InputMaybe<Scalars['ID']['input']>;
158654
+ /** Replace the asset's photo with this wspace-files-svc File id. A null value is ignored here; use theSetAssetPhoto to remove a photo. */
158655
+ photoFileId?: InputMaybe<Scalars['ID']['input']>;
156815
158656
  reservoirType?: InputMaybe<Scalars['String']['input']>;
156816
158657
  waterDepth?: InputMaybe<Scalars['Float']['input']>;
156817
158658
  workingInterestPct?: InputMaybe<Scalars['Float']['input']>;
156818
158659
  };
156819
158660
 
158661
+ export type TheUpdateEquipmentInput = {
158662
+ category?: InputMaybe<TheEquipmentCategory>;
158663
+ criticality?: InputMaybe<TheMaintenancePriority>;
158664
+ installedAt?: InputMaybe<Scalars['DateTime']['input']>;
158665
+ manufacturer?: InputMaybe<Scalars['String']['input']>;
158666
+ model?: InputMaybe<Scalars['String']['input']>;
158667
+ name?: InputMaybe<Scalars['String']['input']>;
158668
+ notes?: InputMaybe<Scalars['String']['input']>;
158669
+ serialNumber?: InputMaybe<Scalars['String']['input']>;
158670
+ status?: InputMaybe<TheEquipmentStatus>;
158671
+ tag?: InputMaybe<Scalars['String']['input']>;
158672
+ };
158673
+
158674
+ export type TheUpdateMaintenanceScheduleInput = {
158675
+ active?: InputMaybe<Scalars['Boolean']['input']>;
158676
+ description?: InputMaybe<Scalars['String']['input']>;
158677
+ estimatedHours?: InputMaybe<Scalars['Float']['input']>;
158678
+ intervalDays?: InputMaybe<Scalars['Int']['input']>;
158679
+ nextDueAt?: InputMaybe<Scalars['DateTime']['input']>;
158680
+ priority?: InputMaybe<TheMaintenancePriority>;
158681
+ title?: InputMaybe<Scalars['String']['input']>;
158682
+ };
158683
+
156820
158684
  export type TheUpdateOfftakeContractInput = {
156821
158685
  contractedVolume?: InputMaybe<Scalars['Float']['input']>;
156822
158686
  counterparty?: InputMaybe<Scalars['String']['input']>;
@@ -156843,6 +158707,95 @@ export type TheUpdateShipmentInput = {
156843
158707
  trackingId?: InputMaybe<Scalars['String']['input']>;
156844
158708
  };
156845
158709
 
158710
+ export type TheUpdateWorkOrderInput = {
158711
+ assigneeId?: InputMaybe<Scalars['ID']['input']>;
158712
+ conditionTrigger?: InputMaybe<Scalars['String']['input']>;
158713
+ description?: InputMaybe<Scalars['String']['input']>;
158714
+ notes?: InputMaybe<Scalars['String']['input']>;
158715
+ priority?: InputMaybe<TheMaintenancePriority>;
158716
+ scheduledEnd?: InputMaybe<Scalars['DateTime']['input']>;
158717
+ scheduledStart?: InputMaybe<Scalars['DateTime']['input']>;
158718
+ title?: InputMaybe<Scalars['String']['input']>;
158719
+ };
158720
+
158721
+ export type TheWorkOrder = {
158722
+ __typename?: 'TheWorkOrder';
158723
+ assetId: Scalars['ID']['output'];
158724
+ assigneeId?: Maybe<Scalars['ID']['output']>;
158725
+ cancelledAt?: Maybe<Scalars['DateTime']['output']>;
158726
+ closedAt?: Maybe<Scalars['DateTime']['output']>;
158727
+ completedAt?: Maybe<Scalars['DateTime']['output']>;
158728
+ completionNotes?: Maybe<Scalars['String']['output']>;
158729
+ /** For condition-based work: the monitored condition that triggered it. */
158730
+ conditionTrigger?: Maybe<Scalars['String']['output']>;
158731
+ createdAt: Scalars['DateTime']['output'];
158732
+ description?: Maybe<Scalars['String']['output']>;
158733
+ /** Equipment / asset downtime caused by this work, in hours. */
158734
+ downtimeHours?: Maybe<Scalars['Float']['output']>;
158735
+ equipment?: Maybe<TheEquipment>;
158736
+ equipmentId?: Maybe<Scalars['ID']['output']>;
158737
+ id: Scalars['ID']['output'];
158738
+ /** The production record whose downtime this work order explains, if attributed. */
158739
+ linkedProductionRecordId?: Maybe<Scalars['ID']['output']>;
158740
+ notes?: Maybe<Scalars['String']['output']>;
158741
+ /** True when the work is not finished and its scheduled end has passed. */
158742
+ overdue: Scalars['Boolean']['output'];
158743
+ priority: TheMaintenancePriority;
158744
+ /** The preventive-maintenance schedule this work order was raised from, if any. */
158745
+ scheduleId?: Maybe<Scalars['ID']['output']>;
158746
+ scheduledEnd?: Maybe<Scalars['DateTime']['output']>;
158747
+ scheduledStart?: Maybe<Scalars['DateTime']['output']>;
158748
+ startedAt?: Maybe<Scalars['DateTime']['output']>;
158749
+ status: TheWorkOrderStatus;
158750
+ title: Scalars['String']['output'];
158751
+ type: TheWorkOrderType;
158752
+ updatedAt: Scalars['DateTime']['output'];
158753
+ workspaceId: Scalars['ID']['output'];
158754
+ };
158755
+
158756
+ export type TheWorkOrderConnection = {
158757
+ __typename?: 'TheWorkOrderConnection';
158758
+ items: Array<TheWorkOrder>;
158759
+ pageInfo: ThePageInfo;
158760
+ };
158761
+
158762
+ export enum TheWorkOrderStatus {
158763
+ CANCELLED = 'CANCELLED',
158764
+ CLOSED = 'CLOSED',
158765
+ COMPLETED = 'COMPLETED',
158766
+ IN_PROGRESS = 'IN_PROGRESS',
158767
+ OPEN = 'OPEN',
158768
+ SCHEDULED = 'SCHEDULED'
158769
+ }
158770
+
158771
+ export type TheWorkOrderStatusCount = {
158772
+ __typename?: 'TheWorkOrderStatusCount';
158773
+ count: Scalars['Int']['output'];
158774
+ status: TheWorkOrderStatus;
158775
+ };
158776
+
158777
+ /** Optional details captured with a lifecycle transition. Scheduling fields apply to SCHEDULED; completion fields apply to COMPLETED. */
158778
+ export type TheWorkOrderTransitionInput = {
158779
+ completionNotes?: InputMaybe<Scalars['String']['input']>;
158780
+ downtimeHours?: InputMaybe<Scalars['Float']['input']>;
158781
+ linkedProductionRecordId?: InputMaybe<Scalars['ID']['input']>;
158782
+ scheduledEnd?: InputMaybe<Scalars['DateTime']['input']>;
158783
+ scheduledStart?: InputMaybe<Scalars['DateTime']['input']>;
158784
+ };
158785
+
158786
+ /** How a work order originated: a recurring schedule (PLANNED), a monitored condition crossing a threshold (CONDITION_BASED), or a breakdown (REACTIVE). */
158787
+ export enum TheWorkOrderType {
158788
+ CONDITION_BASED = 'CONDITION_BASED',
158789
+ PLANNED = 'PLANNED',
158790
+ REACTIVE = 'REACTIVE'
158791
+ }
158792
+
158793
+ export type TheWorkOrderTypeCount = {
158794
+ __typename?: 'TheWorkOrderTypeCount';
158795
+ count: Scalars['Int']['output'];
158796
+ type: TheWorkOrderType;
158797
+ };
158798
+
156846
158799
  export type TimeApprovalRequest = {
156847
158800
  __typename?: 'TimeApprovalRequest';
156848
158801
  approverId?: Maybe<Scalars['ID']['output']>;
@@ -159697,7 +161650,10 @@ export type UninstallParserTypeInput = {
159697
161650
  workspaceId: Scalars['ID']['input'];
159698
161651
  };
159699
161652
 
159700
- /** UniversalTag type stub - exists in wspace-tags-svc Federation stub for referencing tags from other services */
161653
+ /**
161654
+ * UniversalTag type stub - exists in wspace-tags-svc
161655
+ * Federation stub for referencing tags from other services
161656
+ */
159701
161657
  export type UniversalTag = {
159702
161658
  __typename?: 'UniversalTag';
159703
161659
  ancestors: Array<UniversalTag>;
@@ -161307,7 +163263,10 @@ export type UpdateFileInput = {
161307
163263
  description?: InputMaybe<Scalars['String']['input']>;
161308
163264
  folderId?: InputMaybe<Scalars['ID']['input']>;
161309
163265
  name?: InputMaybe<Scalars['String']['input']>;
161310
- /** Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}` records. Replaces the row's `File.tags` Json column on update. */
163266
+ /**
163267
+ * Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}`
163268
+ * records. Replaces the row's `File.tags` Json column on update.
163269
+ */
161311
163270
  tags?: InputMaybe<Scalars['JSON']['input']>;
161312
163271
  visibility?: InputMaybe<FileVisibility>;
161313
163272
  };
@@ -161328,7 +163287,10 @@ export type UpdateFolderInput = {
161328
163287
  description?: InputMaybe<Scalars['String']['input']>;
161329
163288
  icon?: InputMaybe<Scalars['String']['input']>;
161330
163289
  name?: InputMaybe<Scalars['String']['input']>;
161331
- /** Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}` records. Replaces the row's `Folder.tags` Json column on update. */
163290
+ /**
163291
+ * Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}`
163292
+ * records. Replaces the row's `Folder.tags` Json column on update.
163293
+ */
161332
163294
  tags?: InputMaybe<Scalars['JSON']['input']>;
161333
163295
  visibility?: InputMaybe<FileVisibility>;
161334
163296
  };
@@ -164125,7 +166087,10 @@ export type UploadFileInput = {
164125
166087
  s3Bucket: Scalars['String']['input'];
164126
166088
  s3Key: Scalars['String']['input'];
164127
166089
  size: Scalars['BigInt']['input'];
164128
- /** Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}` records. Backed by the canonical `File.tags` Json column. */
166090
+ /**
166091
+ * Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}`
166092
+ * records. Backed by the canonical `File.tags` Json column.
166093
+ */
164129
166094
  tags?: InputMaybe<Scalars['JSON']['input']>;
164130
166095
  visibility?: InputMaybe<FileVisibility>;
164131
166096
  };
@@ -164646,7 +166611,12 @@ export type UserProfile = {
164646
166611
  timezone?: Maybe<Scalars['String']['output']>;
164647
166612
  };
164648
166613
 
164649
- /** Per-user storage consumption + the plan-driven cap, used by the UI to render "X of Y GB used" and to gate upload affordances client-side. Source of truth for enforcement is the server's `uploadFile` mutation, which throws `STORAGE_QUOTA_EXCEEDED` with the same fields in `extensions`. */
166614
+ /**
166615
+ * Per-user storage consumption + the plan-driven cap, used by the UI to render
166616
+ * "X of Y GB used" and to gate upload affordances client-side. Source of truth for
166617
+ * enforcement is the server's `uploadFile` mutation, which throws
166618
+ * `STORAGE_QUOTA_EXCEEDED` with the same fields in `extensions`.
166619
+ */
164650
166620
  export type UserStorageUsage = {
164651
166621
  __typename?: 'UserStorageUsage';
164652
166622
  /** Bytes currently consumed across all workspaces known to this svc. BigInt as String. */