@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.
@@ -241,7 +241,10 @@ export type AccessShareResult = {
241
241
  export type AcquireLockInput = {
242
242
  /** Auto-release lock when it expires (default: true) */
243
243
  autoRelease?: InputMaybe<Scalars['Boolean']['input']>;
244
- /** Lock duration in seconds (default: 3600 = 1 hour) Max: 86400 (24 hours) */
244
+ /**
245
+ * Lock duration in seconds (default: 3600 = 1 hour)
246
+ * Max: 86400 (24 hours)
247
+ */
245
248
  durationSeconds?: InputMaybe<Scalars['Int']['input']>;
246
249
  /** File ID to lock */
247
250
  fileId: Scalars['ID']['input'];
@@ -18040,13 +18043,20 @@ export type CompleteOAuthInput = {
18040
18043
  export type CompleteUploadInput = {
18041
18044
  /** Optional file description */
18042
18045
  description?: InputMaybe<Scalars['String']['input']>;
18043
- /** Size of the uploaded file in bytes — required for quota tracking. Must match the fileSize passed to initiateUpload. */
18046
+ /**
18047
+ * Size of the uploaded file in bytes — required for quota tracking.
18048
+ * Must match the fileSize passed to initiateUpload.
18049
+ */
18044
18050
  fileSize: Scalars['BigInt']['input'];
18045
18051
  /** Optional folder ID where file will be stored */
18046
18052
  folderId?: InputMaybe<Scalars['ID']['input']>;
18047
18053
  /** Upload session ID */
18048
18054
  sessionId: Scalars['ID']['input'];
18049
- /** 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. */
18055
+ /**
18056
+ * Optional client-declared SHA256 of the uploaded bytes (64 lowercase hex characters).
18057
+ * Must match a declaration supplied at initiation. Storage verification, when available,
18058
+ * is authoritative; a declaration alone is not proof of storage integrity.
18059
+ */
18050
18060
  sha256Hash?: InputMaybe<Scalars['String']['input']>;
18051
18061
  };
18052
18062
  export type CompleteUploadResponse = {
@@ -23528,7 +23538,10 @@ export type CreateFolderInput = {
23528
23538
  icon?: InputMaybe<Scalars['String']['input']>;
23529
23539
  name: Scalars['String']['input'];
23530
23540
  parentFolderId?: InputMaybe<Scalars['ID']['input']>;
23531
- /** Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}` records. Backed by the canonical `Folder.tags` Json column. */
23541
+ /**
23542
+ * Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}`
23543
+ * records. Backed by the canonical `Folder.tags` Json column.
23544
+ */
23532
23545
  tags?: InputMaybe<Scalars['JSON']['input']>;
23533
23546
  visibility?: InputMaybe<FileVisibility>;
23534
23547
  };
@@ -33098,7 +33111,12 @@ export type File = {
33098
33111
  marketingWidth?: Maybe<Scalars['Int']['output']>;
33099
33112
  mimeType: Scalars['String']['output'];
33100
33113
  name: Scalars['String']['output'];
33101
- /** 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. */
33114
+ /**
33115
+ * Permanent, non-expiring CDN URL — only set when visibility is PUBLIC.
33116
+ * Unlike downloadUrl (a fresh presigned URL on every query, ~1 hour TTL),
33117
+ * this is safe to persist and embed permanently (e.g. a product catalog
33118
+ * image), since it never expires and needs no re-signing.
33119
+ */
33102
33120
  publicUrl?: Maybe<Scalars['String']['output']>;
33103
33121
  s3Bucket: Scalars['String']['output'];
33104
33122
  s3Key: Scalars['String']['output'];
@@ -33109,7 +33127,11 @@ export type File = {
33109
33127
  starred: Scalars['Boolean']['output'];
33110
33128
  status: FileStatus;
33111
33129
  tagAssignments: Array<FileTagAssignment>;
33112
- /** 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). */
33130
+ /**
33131
+ * Universal entity-owned tags (marqueue §251). JSON array of `{key, value, ...}`
33132
+ * records mirroring `wspace-workspace-svc` Project.tags shape. Lives alongside
33133
+ * `tagAssignments` (the wspace-tags-svc-backed structured view).
33134
+ */
33113
33135
  tags: Scalars['JSON']['output'];
33114
33136
  updatedAt: Scalars['DateTime']['output'];
33115
33137
  uploadedById: Scalars['ID']['output'];
@@ -33387,7 +33409,10 @@ export type FilePermissionCheckResult = {
33387
33409
  /** Reason if permission is denied */
33388
33410
  reason?: Maybe<Scalars['String']['output']>;
33389
33411
  };
33390
- /** How the stored SHA256 was established. STORAGE_VERIFIED describes a full-object checksum at upload completion, not permanent object immutability. */
33412
+ /**
33413
+ * How the stored SHA256 was established. STORAGE_VERIFIED describes a full-object
33414
+ * checksum at upload completion, not permanent object immutability.
33415
+ */
33391
33416
  export declare enum FileSha256Provenance {
33392
33417
  CLIENT_DECLARED = "CLIENT_DECLARED",
33393
33418
  NONE = "NONE",
@@ -33844,7 +33869,11 @@ export type Folder = {
33844
33869
  subFolders?: Maybe<Array<Folder>>;
33845
33870
  subfoldersCount?: Maybe<Scalars['Int']['output']>;
33846
33871
  tagAssignments: Array<FolderTagAssignment>;
33847
- /** 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). */
33872
+ /**
33873
+ * Universal entity-owned tags (marqueue §251). JSON array of `{key, value, ...}`
33874
+ * records mirroring `wspace-workspace-svc` Project.tags shape. Lives alongside
33875
+ * `tagAssignments` (the wspace-tags-svc-backed structured view).
33876
+ */
33848
33877
  tags: Scalars['JSON']['output'];
33849
33878
  updatedAt: Scalars['DateTime']['output'];
33850
33879
  visibility: FileVisibility;
@@ -43174,6 +43203,33 @@ export declare enum HeadshotmarketingReportDateRange {
43174
43203
  LAST_30_DAYS = "LAST_30_DAYS",
43175
43204
  LAST_90_DAYS = "LAST_90_DAYS"
43176
43205
  }
43206
+ /** Outcome of one delivery attempt. */
43207
+ export declare enum HeadshotmarketingReportDeliveryStatus {
43208
+ /** No recipient was sent the report. */
43209
+ FAILED = "FAILED",
43210
+ /** Some recipients were sent the report; others failed. */
43211
+ PARTIAL = "PARTIAL",
43212
+ /** The delivery is in progress. */
43213
+ RUNNING = "RUNNING",
43214
+ /** Every recipient was sent the report. */
43215
+ SENT = "SENT",
43216
+ /** Nothing was sent because no recipient is still a workspace member with an email address. */
43217
+ SKIPPED = "SKIPPED"
43218
+ }
43219
+ /** What started a delivery attempt. */
43220
+ export declare enum HeadshotmarketingReportDeliveryTrigger {
43221
+ /** A workspace member chose Send now. */
43222
+ MANUAL = "MANUAL",
43223
+ /** The schedule came due. */
43224
+ SCHEDULED = "SCHEDULED"
43225
+ }
43226
+ /** How often a scheduled report is delivered. */
43227
+ export declare enum HeadshotmarketingReportScheduleCadence {
43228
+ /** Once a month, on dayOfMonth. */
43229
+ MONTHLY = "MONTHLY",
43230
+ /** Once a week, on dayOfWeek. */
43231
+ WEEKLY = "WEEKLY"
43232
+ }
43177
43233
  /** A widget a saved report can show. */
43178
43234
  export declare enum HeadshotmarketingReportWidget {
43179
43235
  /** First-touch against last-touch attributed revenue per channel. */
@@ -43384,18 +43440,72 @@ export type HeadshotmarketingSavedReport = {
43384
43440
  description?: Maybe<Scalars['String']['output']>;
43385
43441
  id: Scalars['ID']['output'];
43386
43442
  name: Scalars['String']['output'];
43443
+ /** The report's delivery schedule, or null when it is not scheduled. */
43444
+ schedule?: Maybe<HeadshotmarketingSavedReportSchedule>;
43387
43445
  updatedAt: Scalars['DateTime']['output'];
43388
43446
  updatedBy?: Maybe<Scalars['String']['output']>;
43389
43447
  /** Widgets in display order. */
43390
43448
  widgets: Array<HeadshotmarketingReportWidget>;
43391
43449
  workspaceId: Scalars['ID']['output'];
43392
43450
  };
43451
+ export type HeadshotmarketingSavedReportDeliveryRun = {
43452
+ __typename?: 'HeadshotmarketingSavedReportDeliveryRun';
43453
+ completedAt?: Maybe<Scalars['DateTime']['output']>;
43454
+ deliveredCount: Scalars['Int']['output'];
43455
+ error?: Maybe<Scalars['String']['output']>;
43456
+ id: Scalars['ID']['output'];
43457
+ recipientCount: Scalars['Int']['output'];
43458
+ reportId: Scalars['ID']['output'];
43459
+ scheduleId?: Maybe<Scalars['ID']['output']>;
43460
+ /** The due time of a scheduled delivery; null for a manual send. */
43461
+ scheduledFor?: Maybe<Scalars['DateTime']['output']>;
43462
+ startedAt: Scalars['DateTime']['output'];
43463
+ status: HeadshotmarketingReportDeliveryStatus;
43464
+ trigger: HeadshotmarketingReportDeliveryTrigger;
43465
+ /** End of the reporting window the delivery covered. */
43466
+ windowEnd: Scalars['DateTime']['output'];
43467
+ /** Start of the reporting window the delivery covered. */
43468
+ windowStart: Scalars['DateTime']['output'];
43469
+ };
43470
+ export type HeadshotmarketingSavedReportDeliveryRunList = {
43471
+ __typename?: 'HeadshotmarketingSavedReportDeliveryRunList';
43472
+ hasMore: Scalars['Boolean']['output'];
43473
+ items: Array<HeadshotmarketingSavedReportDeliveryRun>;
43474
+ total: Scalars['Int']['output'];
43475
+ };
43393
43476
  export type HeadshotmarketingSavedReportList = {
43394
43477
  __typename?: 'HeadshotmarketingSavedReportList';
43395
43478
  hasMore: Scalars['Boolean']['output'];
43396
43479
  items: Array<HeadshotmarketingSavedReport>;
43397
43480
  total: Scalars['Int']['output'];
43398
43481
  };
43482
+ export type HeadshotmarketingSavedReportSchedule = {
43483
+ __typename?: 'HeadshotmarketingSavedReportSchedule';
43484
+ cadence: HeadshotmarketingReportScheduleCadence;
43485
+ createdAt: Scalars['DateTime']['output'];
43486
+ createdBy?: Maybe<Scalars['String']['output']>;
43487
+ /** 1 to 28. Set for MONTHLY schedules. */
43488
+ dayOfMonth?: Maybe<Scalars['Int']['output']>;
43489
+ /** 0 = Sunday .. 6 = Saturday. Set for WEEKLY schedules. */
43490
+ dayOfWeek?: Maybe<Scalars['Int']['output']>;
43491
+ /** False pauses deliveries without deleting the schedule. */
43492
+ enabled: Scalars['Boolean']['output'];
43493
+ /** Local hour of delivery, 0 to 23, in timezone. */
43494
+ hour: Scalars['Int']['output'];
43495
+ id: Scalars['ID']['output'];
43496
+ lastRunAt?: Maybe<Scalars['DateTime']['output']>;
43497
+ lastRunError?: Maybe<Scalars['String']['output']>;
43498
+ lastRunStatus?: Maybe<HeadshotmarketingReportDeliveryStatus>;
43499
+ /** When the next delivery is due (UTC); null while paused. */
43500
+ nextRunAt?: Maybe<Scalars['DateTime']['output']>;
43501
+ /** Workspace member user ids that receive the report. */
43502
+ recipientUserIds: Array<Scalars['ID']['output']>;
43503
+ reportId: Scalars['ID']['output'];
43504
+ /** IANA timezone name, e.g. Asia/Kolkata. */
43505
+ timezone: Scalars['String']['output'];
43506
+ updatedAt: Scalars['DateTime']['output'];
43507
+ updatedBy?: Maybe<Scalars['String']['output']>;
43508
+ };
43399
43509
  export type HeadshotmarketingScoreLeadInput = {
43400
43510
  /** Return the score without writing it to the lead */
43401
43511
  dryRun?: InputMaybe<Scalars['Boolean']['input']>;
@@ -43439,6 +43549,21 @@ export type HeadshotmarketingSetMonthlyGoalInput = {
43439
43549
  /** Visitor target, a whole number 0 or more. */
43440
43550
  trafficTarget?: InputMaybe<Scalars['Int']['input']>;
43441
43551
  };
43552
+ export type HeadshotmarketingSetSavedReportScheduleInput = {
43553
+ cadence: HeadshotmarketingReportScheduleCadence;
43554
+ /** Required for MONTHLY: 1 to 28. */
43555
+ dayOfMonth?: InputMaybe<Scalars['Int']['input']>;
43556
+ /** Required for WEEKLY: 0 = Sunday .. 6 = Saturday. */
43557
+ dayOfWeek?: InputMaybe<Scalars['Int']['input']>;
43558
+ /** Defaults to true. */
43559
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
43560
+ /** Local hour of delivery, 0 to 23. */
43561
+ hour: Scalars['Int']['input'];
43562
+ /** 1 to 50 workspace member user ids; each must have an email address. */
43563
+ recipientUserIds: Array<Scalars['ID']['input']>;
43564
+ /** IANA timezone name. */
43565
+ timezone: Scalars['String']['input'];
43566
+ };
43442
43567
  /** A connected social media account used for publishing posts and tracking engagement. */
43443
43568
  export type HeadshotmarketingSocialAccount = {
43444
43569
  __typename?: 'HeadshotmarketingSocialAccount';
@@ -47240,6 +47365,22 @@ export type HokAdTracking = {
47240
47365
  start: Array<Scalars['String']['output']>;
47241
47366
  thirdQuartile: Array<Scalars['String']['output']>;
47242
47367
  };
47368
+ export type HokAddHlsPackageInput = {
47369
+ /** RFC 6381 codecs advertised in the master playlist (taken from the slate). */
47370
+ codecs?: InputMaybe<Scalars['String']['input']>;
47371
+ /** Set to package one episode of the title; omit for the title's feature. */
47372
+ episodeId?: InputMaybe<Scalars['ID']['input']>;
47373
+ /** wspace-files File holding the single media file the playlist describes. */
47374
+ fileId: Scalars['ID']['input'];
47375
+ kind: HokHlsPackageKind;
47376
+ label?: InputMaybe<Scalars['String']['input']>;
47377
+ /** 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. */
47378
+ playlist: Scalars['String']['input'];
47379
+ /** WIDTHxHEIGHT advertised in the master playlist (taken from the slate). */
47380
+ resolution?: InputMaybe<Scalars['String']['input']>;
47381
+ /** Required for PROGRAMME; omit for SLATE. */
47382
+ titleId?: InputMaybe<Scalars['ID']['input']>;
47383
+ };
47243
47384
  export type HokAddMediaRenditionInput = {
47244
47385
  bitrateKbps?: InputMaybe<Scalars['Int']['input']>;
47245
47386
  /** Set to attach the rendition to one episode; omit for the title's feature video. */
@@ -47647,6 +47788,28 @@ export type HokChannelConnection = {
47647
47788
  /** Total number of rows matching the current filters, across all pages. */
47648
47789
  totalCount: Scalars['Int']['output'];
47649
47790
  };
47791
+ /** A channel's HLS distribution feed for third-party FAST platforms. */
47792
+ export type HokChannelHlsFeed = {
47793
+ __typename?: 'HokChannelHlsFeed';
47794
+ channelId: Scalars['ID']['output'];
47795
+ /** Container of the feed (from the slate); packages must match it. */
47796
+ container: HokHlsContainer;
47797
+ createdAt: Scalars['DateTime']['output'];
47798
+ id: Scalars['ID']['output'];
47799
+ /** Last time a player or platform fetched the live playlist (updated about once a minute). */
47800
+ lastPolledAt?: Maybe<Scalars['DateTime']['output']>;
47801
+ /** The URL to give a FAST platform: a single-variant master playlist. */
47802
+ masterPlaylistUrl: Scalars['String']['output'];
47803
+ /** The live media playlist the master points at. */
47804
+ mediaPlaylistUrl: Scalars['String']['output'];
47805
+ /** Schedule blocks in the next 24 hours and whether each airs its programme or the slate. */
47806
+ readiness: Array<HokHlsFeedBlockReadiness>;
47807
+ /** Segment duration of the feed's slot grid (from the slate); packages must match it. */
47808
+ segmentDurationSeconds: Scalars['Int']['output'];
47809
+ slate?: Maybe<HokHlsPackage>;
47810
+ status: HokHlsFeedStatus;
47811
+ updatedAt: Scalars['DateTime']['output'];
47812
+ };
47650
47813
  export declare enum HokChannelStatus {
47651
47814
  DRAFT = "DRAFT",
47652
47815
  LIVE = "LIVE",
@@ -48331,6 +48494,55 @@ export type HokGuardianTargetContext = {
48331
48494
  tenantId: Scalars['ID']['output'];
48332
48495
  workspaceId: Scalars['ID']['output'];
48333
48496
  };
48497
+ export declare enum HokHlsContainer {
48498
+ FMP4 = "FMP4",
48499
+ TS = "TS"
48500
+ }
48501
+ /** Whether an upcoming schedule block will air its programme on the feed. */
48502
+ export type HokHlsFeedBlockReadiness = {
48503
+ __typename?: 'HokHlsFeedBlockReadiness';
48504
+ endAt: Scalars['DateTime']['output'];
48505
+ episodeId?: Maybe<Scalars['ID']['output']>;
48506
+ ready: Scalars['Boolean']['output'];
48507
+ /** Why the block airs the slate: NO_PROGRAMME, NOT_PUBLISHED, NO_PACKAGE or PROFILE_MISMATCH. */
48508
+ reason?: Maybe<Scalars['String']['output']>;
48509
+ scheduleBlockId: Scalars['ID']['output'];
48510
+ startAt: Scalars['DateTime']['output'];
48511
+ titleId?: Maybe<Scalars['ID']['output']>;
48512
+ };
48513
+ export declare enum HokHlsFeedStatus {
48514
+ ACTIVE = "ACTIVE",
48515
+ DISABLED = "DISABLED"
48516
+ }
48517
+ /** A single-file, byte-range HLS VOD encode registered for HLS distribution. */
48518
+ export type HokHlsPackage = {
48519
+ __typename?: 'HokHlsPackage';
48520
+ /** Peak segment bit rate in bits per second. */
48521
+ bandwidth: Scalars['Int']['output'];
48522
+ codecs?: Maybe<Scalars['String']['output']>;
48523
+ container: HokHlsContainer;
48524
+ createdAt: Scalars['DateTime']['output'];
48525
+ durationSeconds: Scalars['Float']['output'];
48526
+ episodeId?: Maybe<Scalars['ID']['output']>;
48527
+ /** wspace-files File holding the media; every segment is a byte range of it. */
48528
+ fileId: Scalars['ID']['output'];
48529
+ id: Scalars['ID']['output'];
48530
+ kind: HokHlsPackageKind;
48531
+ label?: Maybe<Scalars['String']['output']>;
48532
+ resolution?: Maybe<Scalars['String']['output']>;
48533
+ segmentCount: Scalars['Int']['output'];
48534
+ /** Nominal segment duration in whole seconds. */
48535
+ segmentDurationSeconds: Scalars['Int']['output'];
48536
+ titleId?: Maybe<Scalars['ID']['output']>;
48537
+ updatedAt: Scalars['DateTime']['output'];
48538
+ workspaceId: Scalars['ID']['output'];
48539
+ };
48540
+ export declare enum HokHlsPackageKind {
48541
+ /** Encode of a title's feature or one episode. */
48542
+ PROGRAMME = "PROGRAMME",
48543
+ /** Filler that loops during ad breaks, after a programme ends and off air. */
48544
+ SLATE = "SLATE"
48545
+ }
48334
48546
  /** 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. */
48335
48547
  export type HokIdentityVerification = {
48336
48548
  __typename?: 'HokIdentityVerification';
@@ -48363,10 +48575,12 @@ export type HokIdentityVerificationConnection = {
48363
48575
  export type HokImportScriptInput = {
48364
48576
  /** Store the suggested breakdown elements on the created scenes (default true). */
48365
48577
  applySuggestedElements?: InputMaybe<Scalars['Boolean']['input']>;
48366
- /** The script text (FDX: the XML document). At most 1,500,000 characters. */
48367
- content: Scalars['String']['input'];
48578
+ /** 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. */
48579
+ content?: InputMaybe<Scalars['String']['input']>;
48368
48580
  /** Preview only: parse and match, write nothing. */
48369
48581
  dryRun?: InputMaybe<Scalars['Boolean']['input']>;
48582
+ /** 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. */
48583
+ fileId?: InputMaybe<Scalars['ID']['input']>;
48370
48584
  format: HokScriptFormat;
48371
48585
  productionId: Scalars['ID']['input'];
48372
48586
  };
@@ -49875,6 +50089,8 @@ export declare enum HokScriptFormat {
49875
50089
  FDX = "FDX",
49876
50090
  /** Fountain plain-text screenplay markup (https://fountain.io). */
49877
50091
  FOUNTAIN = "FOUNTAIN",
50092
+ /** 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. */
50093
+ PDF = "PDF",
49878
50094
  /** Screenplay text without Fountain markup, e.g. copied out of a PDF. */
49879
50095
  PLAIN_TEXT = "PLAIN_TEXT"
49880
50096
  }
@@ -52183,6 +52399,97 @@ export declare enum HousingVistaViewingType {
52183
52399
  in_person = "in_person",
52184
52400
  virtual = "virtual"
52185
52401
  }
52402
+ export type HrisDirectorySyncSchedule = {
52403
+ __typename?: 'HrisDirectorySyncSchedule';
52404
+ connectionId: Scalars['ID']['output'];
52405
+ intervalHours: Scalars['Int']['output'];
52406
+ nextRunAt?: Maybe<Scalars['DateTime']['output']>;
52407
+ scheduleEnabled: Scalars['Boolean']['output'];
52408
+ };
52409
+ export type HrisDirectorySyncStatus = {
52410
+ __typename?: 'HrisDirectorySyncStatus';
52411
+ /**
52412
+ * True once a preview succeeded with the current credentials; a sync (and the
52413
+ * schedule) can run only then.
52414
+ */
52415
+ canApply: Scalars['Boolean']['output'];
52416
+ connectionId: Scalars['ID']['output'];
52417
+ connectionStatus: ConnectionStatus;
52418
+ credentialsUpdatedAt?: Maybe<Scalars['DateTime']['output']>;
52419
+ intervalHours: Scalars['Int']['output'];
52420
+ lastApply?: Maybe<HrisSyncRun>;
52421
+ lastPreview?: Maybe<HrisSyncRun>;
52422
+ nextRunAt?: Maybe<Scalars['DateTime']['output']>;
52423
+ /** workday or sap-successfactors */
52424
+ providerKey: Scalars['String']['output'];
52425
+ running?: Maybe<HrisSyncRun>;
52426
+ scheduleEnabled: Scalars['Boolean']['output'];
52427
+ };
52428
+ /** What a sync did (or, in a preview, would do) for one worker. */
52429
+ export type HrisSyncItem = {
52430
+ __typename?: 'HrisSyncItem';
52431
+ action: HrisSyncItemAction;
52432
+ detail?: Maybe<Scalars['String']['output']>;
52433
+ email?: Maybe<Scalars['String']['output']>;
52434
+ externalId: Scalars['String']['output'];
52435
+ userId?: Maybe<Scalars['ID']['output']>;
52436
+ };
52437
+ export declare enum HrisSyncItemAction {
52438
+ CONFLICT = "CONFLICT",
52439
+ CREATE = "CREATE",
52440
+ DEACTIVATE = "DEACTIVATE",
52441
+ ERROR = "ERROR",
52442
+ REACTIVATE = "REACTIVATE",
52443
+ SKIP = "SKIP",
52444
+ UNCHANGED = "UNCHANGED",
52445
+ UPDATE = "UPDATE"
52446
+ }
52447
+ /**
52448
+ * HR-system directory sync (BOFF-10564): a Workday or SAP SuccessFactors
52449
+ * connection pulls the workspace's workers and provisions them with the same
52450
+ * outcomes as SCIM provisioning (create, update name and email, deactivate).
52451
+ */
52452
+ export declare enum HrisSyncMode {
52453
+ /** Pull and apply. */
52454
+ APPLY = "APPLY",
52455
+ /** Pull and plan only; nothing in the workspace changes. */
52456
+ PREVIEW = "PREVIEW"
52457
+ }
52458
+ export type HrisSyncRun = {
52459
+ __typename?: 'HrisSyncRun';
52460
+ conflicts: Scalars['Int']['output'];
52461
+ connectionId: Scalars['ID']['output'];
52462
+ created: Scalars['Int']['output'];
52463
+ deactivated: Scalars['Int']['output'];
52464
+ errorCode?: Maybe<Scalars['String']['output']>;
52465
+ errorMessage?: Maybe<Scalars['String']['output']>;
52466
+ errors: Scalars['Int']['output'];
52467
+ finishedAt?: Maybe<Scalars['DateTime']['output']>;
52468
+ id: Scalars['ID']['output'];
52469
+ /** Workers whose outcome is not UNCHANGED (at most 500). */
52470
+ items: Array<HrisSyncItem>;
52471
+ mode: HrisSyncMode;
52472
+ reactivated: Scalars['Int']['output'];
52473
+ skipped: Scalars['Int']['output'];
52474
+ startedAt: Scalars['DateTime']['output'];
52475
+ startedBy: Scalars['String']['output'];
52476
+ status: HrisSyncStatus;
52477
+ trigger: HrisSyncTrigger;
52478
+ unchanged: Scalars['Int']['output'];
52479
+ updated: Scalars['Int']['output'];
52480
+ workersFetched: Scalars['Int']['output'];
52481
+ };
52482
+ export declare enum HrisSyncStatus {
52483
+ FAILED = "FAILED",
52484
+ /** Finished, but some workers ended in CONFLICT or ERROR. */
52485
+ PARTIAL = "PARTIAL",
52486
+ RUNNING = "RUNNING",
52487
+ SUCCEEDED = "SUCCEEDED"
52488
+ }
52489
+ export declare enum HrisSyncTrigger {
52490
+ MANUAL = "MANUAL",
52491
+ SCHEDULED = "SCHEDULED"
52492
+ }
52186
52493
  export declare enum HttpMethod {
52187
52494
  DELETE = "DELETE",
52188
52495
  GET = "GET",
@@ -56463,11 +56770,20 @@ export type LockCheckResult = {
56463
56770
  message?: Maybe<Scalars['String']['output']>;
56464
56771
  };
56465
56772
  export declare enum LockType {
56466
- /** Optimistic locking - last-write-wins with version check Allows multiple users to work, validates on save */
56773
+ /**
56774
+ * Optimistic locking - last-write-wins with version check
56775
+ * Allows multiple users to work, validates on save
56776
+ */
56467
56777
  OPTIMISTIC = "OPTIMISTIC",
56468
- /** Pessimistic locking - exclusive lock Only one user can edit at a time */
56778
+ /**
56779
+ * Pessimistic locking - exclusive lock
56780
+ * Only one user can edit at a time
56781
+ */
56469
56782
  PESSIMISTIC = "PESSIMISTIC",
56470
- /** Shared read lock - multiple readers allowed Prevents writes while reads are ongoing */
56783
+ /**
56784
+ * Shared read lock - multiple readers allowed
56785
+ * Prevents writes while reads are ongoing
56786
+ */
56471
56787
  SHARED = "SHARED"
56472
56788
  }
56473
56789
  export declare enum LogAction {
@@ -56713,6 +57029,27 @@ export type MailboxAddress = {
56713
57029
  email: Scalars['String']['output'];
56714
57030
  name?: Maybe<Scalars['String']['output']>;
56715
57031
  };
57032
+ export type MailboxAttachment = {
57033
+ __typename?: 'MailboxAttachment';
57034
+ /** Content-ID for cid: references in bodyHtml, when known. */
57035
+ contentId?: Maybe<Scalars['String']['output']>;
57036
+ filename: Scalars['String']['output'];
57037
+ /** Stable within the message; pass to mailboxAttachment. */
57038
+ id: Scalars['ID']['output'];
57039
+ /** Embedded in the body (for example an inline image) rather than attached as a file. */
57040
+ isInline: Scalars['Boolean']['output'];
57041
+ mimeType: Scalars['String']['output'];
57042
+ /** Bytes, as the provider reports them. */
57043
+ size: Scalars['Int']['output'];
57044
+ };
57045
+ export type MailboxAttachmentContent = {
57046
+ __typename?: 'MailboxAttachmentContent';
57047
+ /** The file's bytes, base64 encoded. Files over 15 MB are refused. */
57048
+ contentBase64: Scalars['String']['output'];
57049
+ filename: Scalars['String']['output'];
57050
+ mimeType: Scalars['String']['output'];
57051
+ size: Scalars['Int']['output'];
57052
+ };
56716
57053
  export declare enum MailboxFolder {
56717
57054
  ALL = "ALL",
56718
57055
  INBOX = "INBOX",
@@ -56722,8 +57059,34 @@ export declare enum MailboxKind {
56722
57059
  GMAIL = "GMAIL",
56723
57060
  OUTLOOK = "OUTLOOK"
56724
57061
  }
57062
+ export type MailboxLabel = {
57063
+ __typename?: 'MailboxLabel';
57064
+ /** Pass as MailboxMessagesInput.folderId to list its messages. */
57065
+ id: Scalars['ID']['output'];
57066
+ kind: MailboxLabelKind;
57067
+ name: Scalars['String']['output'];
57068
+ /** All messages, when the provider reports it (Outlook). */
57069
+ totalCount?: Maybe<Scalars['Int']['output']>;
57070
+ /** Unread messages, when the provider reports it (Outlook). */
57071
+ unreadCount?: Maybe<Scalars['Int']['output']>;
57072
+ };
57073
+ export declare enum MailboxLabelKind {
57074
+ /** An Outlook mail folder. */
57075
+ FOLDER = "FOLDER",
57076
+ /** A Gmail system label such as Inbox, Starred or Trash. */
57077
+ SYSTEM = "SYSTEM",
57078
+ /** A label the person created in Gmail. */
57079
+ USER = "USER"
57080
+ }
56725
57081
  export type MailboxMessage = {
56726
57082
  __typename?: 'MailboxMessage';
57083
+ attachments: Array<MailboxAttachment>;
57084
+ /**
57085
+ * The HTML body exactly as the provider stores it, or null for text-only mail.
57086
+ * It is untrusted: sanitise it and render it in a sandboxed frame with scripts
57087
+ * disabled and remote content blocked, falling back to bodyText.
57088
+ */
57089
+ bodyHtml?: Maybe<Scalars['String']['output']>;
56727
57090
  /** Plain-text body. HTML-only mail is converted to text. */
56728
57091
  bodyText: Scalars['String']['output'];
56729
57092
  cc: Array<MailboxAddress>;
@@ -56758,6 +57121,8 @@ export type MailboxMessageSummary = {
56758
57121
  export type MailboxMessagesInput = {
56759
57122
  connectionId: Scalars['ID']['input'];
56760
57123
  folder?: InputMaybe<MailboxFolder>;
57124
+ /** A label or folder id from mailboxLabels. When set it replaces folder. */
57125
+ folderId?: InputMaybe<Scalars['ID']['input']>;
56761
57126
  /** 1-50, default 25. */
56762
57127
  limit?: InputMaybe<Scalars['Int']['input']>;
56763
57128
  pageToken?: InputMaybe<Scalars['String']['input']>;
@@ -59334,6 +59699,28 @@ export type MtwAssignmentSuggestions = {
59334
59699
  routeId: Scalars['ID']['output'];
59335
59700
  vehicles: Array<MtwVehicleSuggestion>;
59336
59701
  };
59702
+ export type MtwCapacityBasis = {
59703
+ __typename?: 'MtwCapacityBasis';
59704
+ /** Vehicles with status ACTIVE or IN_TRANSIT. */
59705
+ activeVehicles: Scalars['Int']['output'];
59706
+ /** Null when the capacity is unknown. */
59707
+ jobsPerVehiclePerWeek?: Maybe<Scalars['Float']['output']>;
59708
+ laneShareBasis: MtwLaneShareBasis;
59709
+ /** Vehicles whose job history the observed throughput rests on. */
59710
+ observedVehicles: Scalars['Int']['output'];
59711
+ source: MtwCapacitySource;
59712
+ /** activeVehicles x jobsPerVehiclePerWeek, before any scenario capacity change. Null when unknown. */
59713
+ weeklyFleetCapacity?: Maybe<Scalars['Float']['output']>;
59714
+ };
59715
+ /** Where the jobs-per-vehicle-per-week figure behind the fleet capacity comes from. */
59716
+ export declare enum MtwCapacitySource {
59717
+ /** Observed: the median across vehicles of each vehicle's busiest closed week in the last 12 weeks. */
59718
+ OBSERVED = "OBSERVED",
59719
+ /** Supplied by the caller in jobsPerVehiclePerWeek. */
59720
+ OVERRIDE = "OVERRIDE",
59721
+ /** No vehicle-assigned jobs in the history and no override: capacity is unknown. */
59722
+ UNKNOWN = "UNKNOWN"
59723
+ }
59337
59724
  /**
59338
59725
  * MoveTheWheels-owned cargo/item master used for warehouse inventory and shipment payloads.
59339
59726
  * This is not a sellable storefront product; commerce SKUs must live in global-store-svc
@@ -60063,6 +60450,20 @@ export type MtwDashboardMetrics = {
60063
60450
  totalDeliveryJobs: Scalars['Int']['output'];
60064
60451
  totalRevenue: Scalars['Float']['output'];
60065
60452
  };
60453
+ export declare enum MtwDecisionRationaleStatus {
60454
+ /** AI is switched off for this environment; the planner's own rationale is shown. */
60455
+ AI_DISABLED = "AI_DISABLED",
60456
+ /** A model-written summary and rationale are attached. */
60457
+ AVAILABLE = "AVAILABLE",
60458
+ /** The workspace has spent its MoveTheWheels AI credits; no model call was made. */
60459
+ CREDITS_EXHAUSTED = "CREDITS_EXHAUSTED",
60460
+ /** The workspace reached its daily AI cap; no model call was made. */
60461
+ DAILY_CAP_REACHED = "DAILY_CAP_REACHED",
60462
+ /** There was nothing to explain (no assignments). */
60463
+ NOT_NEEDED = "NOT_NEEDED",
60464
+ /** The model could not produce a rationale this time; the plan is unchanged. */
60465
+ UNAVAILABLE = "UNAVAILABLE"
60466
+ }
60066
60467
  /**
60067
60468
  * MoveTheWheels-owned operational dispatch unit. It is intentionally not a cart/order
60068
60469
  * system; checkout and order of record remain in global-store-svc StoreOrder.
@@ -60184,6 +60585,118 @@ export type MtwDemandForecastVariance = {
60184
60585
  scopeType: DemandForecastScope;
60185
60586
  volumeVariance: Scalars['Int']['output'];
60186
60587
  };
60588
+ export type MtwDemandScenarioComparison = {
60589
+ __typename?: 'MtwDemandScenarioComparison';
60590
+ /** The forecast with no changes, compared against current capacity. */
60591
+ baseline: MtwScenarioResult;
60592
+ capacity: MtwCapacityBasis;
60593
+ generatedAt: Scalars['DateTime']['output'];
60594
+ /** One result per input scenario, in input order. */
60595
+ scenarios: Array<MtwScenarioResult>;
60596
+ weeks: Scalars['Int']['output'];
60597
+ };
60598
+ export type MtwDemandScenarioComparisonInput = {
60599
+ /** Jobs one available vehicle handles per week. When omitted the throughput observed over the last 12 closed weeks is used. */
60600
+ jobsPerVehiclePerWeek?: InputMaybe<Scalars['Float']['input']>;
60601
+ /** Up to 4 scenarios to compare side by side with the baseline. An empty list gives the baseline capacity-vs-demand view. */
60602
+ scenarios?: InputMaybe<Array<MtwDemandScenarioInput>>;
60603
+ /** Forecast weeks to compare, starting this ISO week. Clamped to 1..12, like the forecast queries. */
60604
+ weeks?: InputMaybe<Scalars['Int']['input']>;
60605
+ };
60606
+ export type MtwDemandScenarioInput = {
60607
+ /** Fleet capacity change in percent, from -100 to 500 (for example +20 for two extra trucks on a fleet of ten). */
60608
+ capacityChangePct?: InputMaybe<Scalars['Float']['input']>;
60609
+ /** Lane keys to close (at most 200). A closed lane carries no demand; what it would have carried is reported as lost. */
60610
+ closedLanes?: InputMaybe<Array<Scalars['String']['input']>>;
60611
+ /** Demand change on every lane in percent, from -100 to 500. */
60612
+ demandChangePct?: InputMaybe<Scalars['Float']['input']>;
60613
+ /** Per-lane demand changes (at most 200). */
60614
+ laneAdjustments?: InputMaybe<Array<MtwDemandScenarioLaneAdjustmentInput>>;
60615
+ /** Unique within the comparison, 1 to 80 characters; "Baseline" is reserved for the unchanged forecast. */
60616
+ name: Scalars['String']['input'];
60617
+ };
60618
+ export type MtwDemandScenarioLaneAdjustmentInput = {
60619
+ /** Demand change on this lane in percent, from -100 to 500, applied on top of the scenario-wide change. */
60620
+ demandChangePct: Scalars['Float']['input'];
60621
+ /** Lane key as returned in MtwDemandForecastPoint.scopeKey (Origin->Destination). */
60622
+ laneKey: Scalars['String']['input'];
60623
+ };
60624
+ /** One proposed shipment -> vehicle + driver pairing. */
60625
+ export type MtwDispatchAssignment = {
60626
+ __typename?: 'MtwDispatchAssignment';
60627
+ /** Model-written rationale, when AI produced one. */
60628
+ aiRationale?: Maybe<Scalars['String']['output']>;
60629
+ /** 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. */
60630
+ confidence: Scalars['Float']['output'];
60631
+ decidedAt?: Maybe<Scalars['DateTime']['output']>;
60632
+ decision: MtwDispatchAssignmentDecision;
60633
+ decisionReason?: Maybe<Scalars['String']['output']>;
60634
+ driverId: Scalars['ID']['output'];
60635
+ driverName?: Maybe<Scalars['String']['output']>;
60636
+ estimatedDelivery?: Maybe<Scalars['DateTime']['output']>;
60637
+ estimatedDistanceKm?: Maybe<Scalars['Float']['output']>;
60638
+ estimatedDurationMinutes?: Maybe<Scalars['Float']['output']>;
60639
+ id: Scalars['ID']['output'];
60640
+ planId: Scalars['ID']['output'];
60641
+ /** The planner's own factual rationale. */
60642
+ rationale: Scalars['String']['output'];
60643
+ /** Reason codes behind the pairing, e.g. MAINTENANCE_OK, CAPACITY_FITS, LINKED_PAIR. */
60644
+ reasons: Array<Scalars['String']['output']>;
60645
+ routeId?: Maybe<Scalars['ID']['output']>;
60646
+ sequence: Scalars['Int']['output'];
60647
+ shipmentId: Scalars['ID']['output'];
60648
+ shipmentNumber?: Maybe<Scalars['String']['output']>;
60649
+ vehicleId: Scalars['ID']['output'];
60650
+ vehicleNumber?: Maybe<Scalars['String']['output']>;
60651
+ vehicleType?: Maybe<Scalars['String']['output']>;
60652
+ waypoints: Scalars['JSON']['output'];
60653
+ };
60654
+ export declare enum MtwDispatchAssignmentDecision {
60655
+ /** Accepted; routeId is the route that was created. */
60656
+ ACCEPTED = "ACCEPTED",
60657
+ PENDING = "PENDING",
60658
+ REJECTED = "REJECTED",
60659
+ /** Accepted, but the shipment, vehicle or driver changed since the proposal; decisionReason says how. No route was created. */
60660
+ STALE = "STALE"
60661
+ }
60662
+ export type MtwDispatchPlan = {
60663
+ __typename?: 'MtwDispatchPlan';
60664
+ acceptedCount: Scalars['Int']['output'];
60665
+ /** Provider-qualified model that wrote the rationale, when one did. */
60666
+ aiModel?: Maybe<Scalars['String']['output']>;
60667
+ aiStatus: MtwDecisionRationaleStatus;
60668
+ aiSummary?: Maybe<Scalars['String']['output']>;
60669
+ assignments: Array<MtwDispatchAssignment>;
60670
+ createdAt: Scalars['DateTime']['output'];
60671
+ createdBy: Scalars['String']['output'];
60672
+ decidedAt?: Maybe<Scalars['DateTime']['output']>;
60673
+ decidedBy?: Maybe<Scalars['String']['output']>;
60674
+ expiresAt: Scalars['DateTime']['output'];
60675
+ id: Scalars['ID']['output'];
60676
+ /** The deterministic planner that produced the assignments. */
60677
+ method: Scalars['String']['output'];
60678
+ pendingCount: Scalars['Int']['output'];
60679
+ rejectedCount: Scalars['Int']['output'];
60680
+ staleCount: Scalars['Int']['output'];
60681
+ status: MtwDispatchPlanStatus;
60682
+ unassigned: Array<MtwUnassignedShipment>;
60683
+ windowEnd?: Maybe<Scalars['DateTime']['output']>;
60684
+ windowStart?: Maybe<Scalars['DateTime']['output']>;
60685
+ };
60686
+ export declare enum MtwDispatchPlanStatus {
60687
+ /** Every assignment was accepted and has a route. */
60688
+ APPLIED = "APPLIED",
60689
+ /** A decision is being applied right now. */
60690
+ APPLYING = "APPLYING",
60691
+ /** The plan was superseded by a newer one or passed its expiry without a decision. */
60692
+ EXPIRED = "EXPIRED",
60693
+ /** Some assignments were accepted; the rest were rejected or had gone stale. */
60694
+ PARTIALLY_APPLIED = "PARTIALLY_APPLIED",
60695
+ /** Waiting for a decision. */
60696
+ PROPOSED = "PROPOSED",
60697
+ /** No assignment was accepted; nothing was written. */
60698
+ REJECTED = "REJECTED"
60699
+ }
60187
60700
  /** Unit MoveTheWheels shows distances in. */
60188
60701
  export declare enum MtwDistanceUnit {
60189
60702
  /** Kilometres */
@@ -61595,6 +62108,7 @@ export declare enum MtwIntegrationProvider {
61595
62108
  FOURKITES = "FOURKITES",
61596
62109
  GENERIC_WEBHOOK = "GENERIC_WEBHOOK",
61597
62110
  PROJECT44 = "PROJECT44",
62111
+ SAMSARA = "SAMSARA",
61598
62112
  SHIPROCKET = "SHIPROCKET"
61599
62113
  }
61600
62114
  export type MtwInventoryItem = {
@@ -61659,6 +62173,15 @@ export type MtwInventoryTransferResult = {
61659
62173
  destination: MtwInventoryItem;
61660
62174
  source: MtwInventoryItem;
61661
62175
  };
62176
+ /** How the fleet capacity is divided between lanes. */
62177
+ export declare enum MtwLaneShareBasis {
62178
+ /** No vehicle-assigned history: capacity follows each lane's share of the baseline forecast. */
62179
+ DEMAND_SHARE = "DEMAND_SHARE",
62180
+ /** Capacity is unknown, or there is no demand to divide it by. */
62181
+ NONE = "NONE",
62182
+ /** Each lane's share of the vehicle-assigned jobs in the last 12 closed weeks. */
62183
+ VEHICLE_HISTORY = "VEHICLE_HISTORY"
62184
+ }
61662
62185
  export type MtwMarketplaceStats = {
61663
62186
  __typename?: 'MtwMarketplaceStats';
61664
62187
  activeProviders: Scalars['Int']['output'];
@@ -62018,6 +62541,16 @@ export declare enum MtwPickTaskStatus {
62018
62541
  export declare enum MtwPickTaskWorkflow {
62019
62542
  PICK_TO_STAGING = "PICK_TO_STAGING"
62020
62543
  }
62544
+ export type MtwPlanDispatchInput = {
62545
+ /** Only shipments due at or after this time (shipments with no due date are always considered). */
62546
+ from?: InputMaybe<Scalars['DateTime']['input']>;
62547
+ /** At most this many assignments, 1 to 50. Default 25. */
62548
+ maxAssignments?: InputMaybe<Scalars['Int']['input']>;
62549
+ /** Plan only these shipments (at most 100). */
62550
+ shipmentIds?: InputMaybe<Array<Scalars['ID']['input']>>;
62551
+ /** Only shipments due at or before this time. */
62552
+ to?: InputMaybe<Scalars['DateTime']['input']>;
62553
+ };
62021
62554
  export type MtwProcedureApplicability = {
62022
62555
  __typename?: 'MtwProcedureApplicability';
62023
62556
  enforcement: MtwProcedureRecordingBoundary;
@@ -62791,6 +63324,68 @@ export type MtwRunScheduledReportsInput = {
62791
63324
  idempotencyKey?: InputMaybe<Scalars['String']['input']>;
62792
63325
  triggerData?: InputMaybe<Scalars['JSON']['input']>;
62793
63326
  };
63327
+ export type MtwScenarioLaneResult = {
63328
+ __typename?: 'MtwScenarioLaneResult';
63329
+ baselineRevenue: Scalars['Float']['output'];
63330
+ /** Totals over the compared weeks. */
63331
+ baselineVolume: Scalars['Int']['output'];
63332
+ /** Own-fleet capacity for this lane over the compared weeks. Null when unknown or when no fleet share is observed on the lane. */
63333
+ capacity?: Maybe<Scalars['Float']['output']>;
63334
+ closed: Scalars['Boolean']['output'];
63335
+ /** The lane-specific demand change applied in this scenario. */
63336
+ demandChangePct: Scalars['Float']['output'];
63337
+ /** Demand exceeds the lane's capacity in at least one week. */
63338
+ flagged: Scalars['Boolean']['output'];
63339
+ laneKey: Scalars['String']['output'];
63340
+ laneLabel: Scalars['String']['output'];
63341
+ lostRevenue: Scalars['Float']['output'];
63342
+ lostVolume: Scalars['Int']['output'];
63343
+ scenarioRevenue: Scalars['Float']['output'];
63344
+ scenarioVolume: Scalars['Int']['output'];
63345
+ /** Scenario volume above the lane's capacity, summed week by week. */
63346
+ shortfall: Scalars['Float']['output'];
63347
+ };
63348
+ export type MtwScenarioResult = {
63349
+ __typename?: 'MtwScenarioResult';
63350
+ capacityChangePct: Scalars['Float']['output'];
63351
+ /** Closed lanes the forecast knows. */
63352
+ closedLanes: Array<Scalars['String']['output']>;
63353
+ demandChangePct: Scalars['Float']['output'];
63354
+ /** Lanes ordered by shortfall, then scenario volume. */
63355
+ lanes: Array<MtwScenarioLaneResult>;
63356
+ lostRevenue: Scalars['Float']['output'];
63357
+ lostVolume: Scalars['Int']['output'];
63358
+ name: Scalars['String']['output'];
63359
+ revenueDelta: Scalars['Float']['output'];
63360
+ /** Lanes flagged for a shortfall. */
63361
+ shortfallLanes: Scalars['Int']['output'];
63362
+ /** Fleet capacity over the compared weeks. Null when unknown. */
63363
+ totalCapacity?: Maybe<Scalars['Float']['output']>;
63364
+ totalRevenue: Scalars['Float']['output'];
63365
+ /** Weekly fleet shortfalls summed over the compared weeks. */
63366
+ totalShortfall: Scalars['Float']['output'];
63367
+ totalVolume: Scalars['Int']['output'];
63368
+ /** Lane keys named in the scenario that have no forecast; they change nothing. */
63369
+ unknownLanes: Array<Scalars['String']['output']>;
63370
+ /** totalVolume / totalCapacity. Null without a positive capacity. */
63371
+ utilization?: Maybe<Scalars['Float']['output']>;
63372
+ /** totalVolume minus the baseline's. */
63373
+ volumeDelta: Scalars['Int']['output'];
63374
+ weeks: Array<MtwScenarioWeekResult>;
63375
+ };
63376
+ export type MtwScenarioWeekResult = {
63377
+ __typename?: 'MtwScenarioWeekResult';
63378
+ baselineRevenue: Scalars['Float']['output'];
63379
+ baselineVolume: Scalars['Int']['output'];
63380
+ /** Fleet capacity for the week after the scenario's capacity change. Null when unknown. */
63381
+ capacity?: Maybe<Scalars['Float']['output']>;
63382
+ periodEnd: Scalars['DateTime']['output'];
63383
+ periodStart: Scalars['DateTime']['output'];
63384
+ scenarioRevenue: Scalars['Float']['output'];
63385
+ scenarioVolume: Scalars['Int']['output'];
63386
+ /** Scenario volume above capacity; 0 when capacity is unknown. */
63387
+ shortfall: Scalars['Float']['output'];
63388
+ };
62794
63389
  /** Outcome of one scheduled-reports fire. */
62795
63390
  export type MtwScheduledReportsRun = {
62796
63391
  __typename?: 'MtwScheduledReportsRun';
@@ -63530,6 +64125,13 @@ export type MtwTripUtilizationSummary = {
63530
64125
  tripId: Scalars['ID']['output'];
63531
64126
  unknownFactsSegmentCount: Scalars['Int']['output'];
63532
64127
  };
64128
+ export type MtwUnassignedShipment = {
64129
+ __typename?: 'MtwUnassignedShipment';
64130
+ /** NO_ELIGIBLE_PAIR, FLEET_FULLY_ASSIGNED, OVER_CAPACITY, PLAN_LIMIT_REACHED or NOT_PLANNABLE. */
64131
+ reason: Scalars['String']['output'];
64132
+ shipmentId: Scalars['ID']['output'];
64133
+ shipmentNumber?: Maybe<Scalars['String']['output']>;
64134
+ };
63533
64135
  export type MtwUpdateReportInput = {
63534
64136
  description?: InputMaybe<Scalars['String']['input']>;
63535
64137
  frequency?: InputMaybe<MtwReportFrequency>;
@@ -63977,6 +64579,11 @@ export type Mutation = {
63977
64579
  archiveGroup: Group;
63978
64580
  /** 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. */
63979
64581
  archiveHealthyBowlCsaPickupLocation: HealthyBowlPickupLocation;
64582
+ /**
64583
+ * Take a conversation out of the Inbox without deleting it (Gmail: remove the
64584
+ * Inbox label; Outlook: move it to Archive).
64585
+ */
64586
+ archiveMailboxThread: Scalars['Boolean']['output'];
63980
64587
  /** Archive a project */
63981
64588
  archiveProject: Project;
63982
64589
  archiveSchedule: ScheduledJob;
@@ -64388,7 +64995,11 @@ export type Mutation = {
64388
64995
  braUpdatePortfolio: BraPortfolio;
64389
64996
  braUpdateTaxLot: BraTaxLot;
64390
64997
  braUpsertMyAdvisorBranding: BraAdvisorBranding;
64391
- /** 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. */
64998
+ /**
64999
+ * Download a pinned document version under a currently valid BrainyRich vault
65000
+ * grant. Requires the dedicated vault-recipient permission, not ordinary file
65001
+ * access. Existing file permissions are unchanged; URLs expire within 60 seconds.
65002
+ */
64392
65003
  brainyrichVaultDocumentDownloadUrl: Scalars['String']['output'];
64393
65004
  buiAcknowledgeCourseKnowledgeChange: Scalars['Boolean']['output'];
64394
65005
  /** 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. */
@@ -65266,7 +65877,10 @@ export type Mutation = {
65266
65877
  createAsset: Asset;
65267
65878
  createAssetTag: AssetAvailableTag;
65268
65879
  createAvailabilityRule: AvailabilityRule;
65269
- /** Create a new batch download Initiates ZIP archive creation */
65880
+ /**
65881
+ * Create a new batch download
65882
+ * Initiates ZIP archive creation
65883
+ */
65270
65884
  createBatchDownload: CreateBatchDownloadResponse;
65271
65885
  /** Create a new BigConsole dashboard */
65272
65886
  createBigConsoleDashboard: BigConsoleDashboard;
@@ -65396,7 +66010,12 @@ export type Mutation = {
65396
66010
  createFileShareLink: ShareGrant;
65397
66011
  /** Create a new version from current file state */
65398
66012
  createFileVersion: FileVersion;
65399
- /** 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. */
66013
+ /**
66014
+ * Create an export job for workspace files.
66015
+ * The export service will asynchronously build a ZIP archive containing
66016
+ * all files metadata (and optionally media) in the requested format.
66017
+ * Poll the export service for job completion and download URL.
66018
+ */
65400
66019
  createFilesExportJob: ExportJobResponse;
65401
66020
  /** Create a filter preset for the caller on a dashboard they may read in the request workspace. Fails with DASHBOARD_NOT_FOUND otherwise. */
65402
66021
  createFilterPreset: BigConsoleFilterPreset;
@@ -66492,7 +67111,16 @@ export type Mutation = {
66492
67111
  * stored secret; the connection mints a per-workspace token on demand.
66493
67112
  */
66494
67113
  ensureAppConnection: IntegrationConnection;
66495
- /** 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. */
67114
+ /**
67115
+ * Idempotently ensure a folder exists at the given absolute path, creating
67116
+ * missing ancestors along the way. Path is `/`-separated, e.g.
67117
+ * `/Vibecontrols/AI Assistant/Artifacts`. Returns the leaf folder. Safe to
67118
+ * call concurrently with the same path — the underlying unique constraint
67119
+ * on `(workspaceId, parentFolderId, name)` collapses races.
67120
+ *
67121
+ * Used by SaveToFilesButton (fe-libs/storage) to pre-create per-module
67122
+ * default folders on first save.
67123
+ */
66496
67124
  ensureFolderByPath: Folder;
66497
67125
  /** Seed the workspace's default chart of accounts the first time accounting is opened (idempotent). */
66498
67126
  ensureHealthyBowlChartOfAccounts: Array<HealthyBowlLedgerAccount>;
@@ -66502,7 +67130,12 @@ export type Mutation = {
66502
67130
  eraseBotmanorWorkspaceData: BotmanorWorkspaceErasure;
66503
67131
  /** 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. */
66504
67132
  erasePlanmagnetWorkspaceData?: Maybe<PlanmagnetWorkspaceErasure>;
66505
- /** 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`. */
67133
+ /**
67134
+ * Erase the subject's files-layer data. With dryRun=true, returns counts
67135
+ * without mutating. Files owned by the subject are tombstoned (soft-deleted)
67136
+ * and their S3 objects scheduled for purge. File rows that have legal-hold
67137
+ * flags are retained and reported in `retainedForLegalReason`.
67138
+ */
66506
67139
  eraseSubject: FilesEraseResult;
66507
67140
  /** Escalate a stressed zone into an existing HealthyBowl Pest issue or a field activity (task). */
66508
67141
  escalateHealthyBowlStressedZone: HbStressedZoneEscalation;
@@ -66658,7 +67291,12 @@ export type Mutation = {
66658
67291
  exportMtwEntities: MtwExportJob;
66659
67292
  /** Export sessions to CSV or JSON */
66660
67293
  exportSessions: SessionExport;
66661
- /** 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. */
67294
+ /**
67295
+ * Export the subject's files-layer data: owned files (with metadata,
67296
+ * versions, tags), folders, file-shares granted by the subject. Object
67297
+ * storage payloads are listed by S3 key but not inlined; the privacy-svc
67298
+ * orchestrator includes them via signed URLs in the final DSAR bundle.
67299
+ */
66662
67300
  exportSubject: Scalars['JSON']['output'];
66663
67301
  /** 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`. */
66664
67302
  exportTimeCampusEntities: TimeCampusExportJob;
@@ -66694,7 +67332,11 @@ export type Mutation = {
66694
67332
  fileGgnomadDamageClaim: GgnomadDamageClaim;
66695
67333
  /** File a damage claim against a policy; seeds the FILED timeline event. */
66696
67334
  fileHealthyBowlInsuranceClaim: HealthyBowlInsuranceClaim;
66697
- /** 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" */
67335
+ /**
67336
+ * Called by wspace-activity-svc quota reconciler to set or clear the Valkey
67337
+ * enforcement flag when a workspace crosses a file quota limit.
67338
+ * action: "enforce" | "terminate" | "clear"
67339
+ */
66698
67340
  filesEnforceQuota: Scalars['Boolean']['output'];
66699
67341
  /** Force release a lock (admin only) */
66700
67342
  forceReleaseFileLock: ReleaseLockResponse;
@@ -66927,6 +67569,8 @@ export type Mutation = {
66927
67569
  headshotmarketingDeleteSEOKeyword: Scalars['Boolean']['output'];
66928
67570
  /** Soft-deletes the report. Returns true when a report was deleted. */
66929
67571
  headshotmarketingDeleteSavedReport: Scalars['Boolean']['output'];
67572
+ /** Remove a saved report's delivery schedule. Returns true when one was removed. */
67573
+ headshotmarketingDeleteSavedReportSchedule: Scalars['Boolean']['output'];
66930
67574
  /** Dismiss a proposed audience segment without applying it */
66931
67575
  headshotmarketingDismissAudienceSuggestion: HeadshotmarketingAudienceSuggestion;
66932
67576
  /** Execute an AI tool and return the execution record */
@@ -66961,10 +67605,14 @@ export type Mutation = {
66961
67605
  headshotmarketingScoreLeadsBatch: HeadshotmarketingLeadScoreBatchResult;
66962
67606
  /** 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. */
66963
67607
  headshotmarketingSendAgentMessage: HeadshotmarketingAgentTurn;
67608
+ /** Email the report to its schedule's recipients now, without moving the next scheduled delivery. Limited to one send per report per minute. */
67609
+ headshotmarketingSendSavedReportNow: HeadshotmarketingSavedReportDeliveryRun;
66964
67610
  /** 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). */
66965
67611
  headshotmarketingSetFileMarketingMeta: Scalars['Boolean']['output'];
66966
67612
  /** Create or replace the workspace's goal for a month. */
66967
67613
  headshotmarketingSetMonthlyGoal: HeadshotmarketingMonthlyGoal;
67614
+ /** Create or replace the delivery schedule of a saved report. */
67615
+ headshotmarketingSetSavedReportSchedule: HeadshotmarketingSavedReportSchedule;
66968
67616
  /** Propose an audience segment for a campaign goal. Never creates or changes an Audience. */
66969
67617
  headshotmarketingSuggestAudienceSegment: HeadshotmarketingAudienceSuggestion;
66970
67618
  /** Start tracking a keyword (alias for create with TRACKING status) */
@@ -67008,6 +67656,8 @@ export type Mutation = {
67008
67656
  /** Guardian: accept an invite, recording the guardian link. */
67009
67657
  hokAcceptGuardianInvite: HokGuardianLink;
67010
67658
  hokAddCredit: HokCredit;
67659
+ /** Register an HLS package from its media file and VOD playlist. */
67660
+ hokAddHlsPackage: HokHlsPackage;
67011
67661
  /** Attach an alternate encode (resolution + bitrate) to a title's feature video or an episode. */
67012
67662
  hokAddMediaRendition: HokMediaRendition;
67013
67663
  hokAddProductionMember: HokProductionMember;
@@ -67081,6 +67731,10 @@ export type Mutation = {
67081
67731
  hokDeleteStoryboardFrame: Scalars['Boolean']['output'];
67082
67732
  /** Delete a studio (soft delete). Blocked with CONFLICT while any live title still references the studio — remove or reassign those titles first. */
67083
67733
  hokDeleteStudio: Scalars['Boolean']['output'];
67734
+ /** Stop the feed; its URL answers 404 until it is enabled again. Idempotent. */
67735
+ hokDisableChannelHlsFeed: HokChannelHlsFeed;
67736
+ /** Turn the channel's HLS feed on, or switch its slate. The URL is kept across re-enables. */
67737
+ hokEnableChannelHlsFeed: HokChannelHlsFeed;
67084
67738
  /** Tune out of a linear session (self-scoped). Idempotent. */
67085
67739
  hokEndChannelStream: Scalars['Boolean']['output'];
67086
67740
  /** Follow a person as the calling viewer (idempotent). */
@@ -67132,6 +67786,8 @@ export type Mutation = {
67132
67786
  hokRemoveCredit: Scalars['Boolean']['output'];
67133
67787
  /** Soft-delete the onboarding sample data. Content the workspace created itself is never touched. */
67134
67788
  hokRemoveDemoData: HokDemoDataRemoval;
67789
+ /** Withdraw an HLS package. The file itself stays in wspace-files. */
67790
+ hokRemoveHlsPackage: Scalars['Boolean']['output'];
67135
67791
  /** Detach a rendition. The file itself stays in wspace-files. */
67136
67792
  hokRemoveMediaRendition: Scalars['Boolean']['output'];
67137
67793
  hokRemoveProductionMember: Scalars['Boolean']['output'];
@@ -67164,6 +67820,8 @@ export type Mutation = {
67164
67820
  hokRevokeGuardianLink: HokGuardianLink;
67165
67821
  /** Stop serving the catalog to a partner. Removes its permission immediately. Idempotent. */
67166
67822
  hokRevokePartnerAccess: HokPartnerAccess;
67823
+ /** Issue a new feed URL; the old one stops working at once. */
67824
+ hokRotateChannelHlsFeedToken: HokChannelHlsFeed;
67167
67825
  /** Create or update the daily production report of a shoot day. */
67168
67826
  hokSaveDailyReport: HokDailyReport;
67169
67827
  /** Program a block on a channel. Rejects a block that overlaps an existing block on the same channel. */
@@ -67317,7 +67975,10 @@ export type Mutation = {
67317
67975
  */
67318
67976
  initializeWorkspaceRoles: InitializeWorkspaceRolesResult;
67319
67977
  initiateOAuth: OAuthInitiationResult;
67320
- /** Initiate a new upload session Returns session details and initial presigned URLs */
67978
+ /**
67979
+ * Initiate a new upload session
67980
+ * Returns session details and initial presigned URLs
67981
+ */
67321
67982
  initiateUpload: UploadSessionWithUrls;
67322
67983
  insertDataTableRow: DataTableRowResponse;
67323
67984
  /** Install an action from the store (creates a local instance) */
@@ -67745,6 +68406,12 @@ export type Mutation = {
67745
68406
  moveWorkflowFolder: WorkflowFolder;
67746
68407
  /** Move a resource to a different workspace */
67747
68408
  moveWorkspaceResource: ResourceOperationResult;
68409
+ /**
68410
+ * Accept the listed assignments of an open plan and reject the rest. One PLANNED
68411
+ * route is created per accepted assignment, through the normal route checks.
68412
+ * An empty list rejects the whole plan.
68413
+ */
68414
+ mtwApplyDispatchPlan: MtwDispatchPlan;
67748
68415
  /** Register, verify or repair the workspace's scheduled-reports job. Idempotent. */
67749
68416
  mtwEnsureReportSchedule?: Maybe<MtwReportSchedule>;
67750
68417
  /**
@@ -67759,6 +68426,14 @@ export type Mutation = {
67759
68426
  * makes no model call; `narrationStatus` says why.
67760
68427
  */
67761
68428
  mtwNarrateShipmentRiskForecast: MtwRiskForecast;
68429
+ /**
68430
+ * Propose vehicle + driver assignments for PLANNED shipments that have no live
68431
+ * route. Proposal only: no route or delivery job is written. A new proposal
68432
+ * expires any older open one.
68433
+ */
68434
+ mtwPlanDispatch: MtwDispatchPlan;
68435
+ /** Reject every assignment of an open plan. Writes no route or delivery job. */
68436
+ mtwRejectDispatchPlan: MtwDispatchPlan;
67762
68437
  /**
67763
68438
  * Re-forecast every in-flight shipment of the workspace and notify for any that
67764
68439
  * started slipping. Fired by wspace-scheduler-svc as this service's own service
@@ -67917,7 +68592,11 @@ export type Mutation = {
67917
68592
  planmagnetCheckoutDoc: PlanmagnetDoc;
67918
68593
  /** 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. */
67919
68594
  planmagnetClearMemberIdentityOverride: Scalars['Boolean']['output'];
67920
- /** 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. */
68595
+ /**
68596
+ * Issue a non-cacheable URL for a PlanMagnet comment attachment under a
68597
+ * short-lived, reader-scoped intent signed by PlanMagnet. This does not change
68598
+ * ordinary file permissions.
68599
+ */
67921
68600
  planmagnetCommentFileDownloadUrl: Scalars['String']['output'];
67922
68601
  /** 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). */
67923
68602
  planmagnetCompleteSprint: Sprint;
@@ -69328,7 +70007,15 @@ export type Mutation = {
69328
70007
  saveMyGgnomadAffiliatePayoutProfile: GgnomadAffiliatePayoutProfile;
69329
70008
  /** Upsert the calling user's active view + per-view overrides. */
69330
70009
  saveMyNavPreferences: NavPreferences;
69331
- /** 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. */
70010
+ /**
70011
+ * Save an AI-assistant sandbox artifact directly into Files without round-
70012
+ * tripping bytes through the browser. Calls `wspace-sandbox-svc` over the
70013
+ * internal gateway, decodes the artifact, uploads to S3, and creates a File
70014
+ * row in the target folder. Returns the freshly created File.
70015
+ *
70016
+ * Larger artifacts (decoded > 50 MB) return `SANDBOX_ARTIFACT_TOO_LARGE` and
70017
+ * the caller falls back to the client-side download path.
70018
+ */
69332
70019
  saveSandboxArtifactToFiles: File;
69333
70020
  saveSecretsProviderConfig: SecretsProviderConfigResponse;
69334
70021
  /** Save UI session */
@@ -69462,6 +70149,11 @@ export type Mutation = {
69462
70149
  /** Replace a product's whole quantity ladder in one transaction (BOFF-6091). Refuses duplicate thresholds. */
69463
70150
  setHealthyBowlWholesalePriceTiers: Array<WholesalePriceTier>;
69464
70151
  setHousingvistaInvestmentEligibility: HousingVistaInvestmentComplianceSetting;
70152
+ /**
70153
+ * Turn the scheduled sync on or off. Turning it on needs a successful preview
70154
+ * with the current credentials.
70155
+ */
70156
+ setHrisSyncSchedule: HrisDirectorySyncSchedule;
69465
70157
  /** Mark a message read or unread in a mailbox the caller owns. */
69466
70158
  setMailboxMessageRead: Scalars['Boolean']['output'];
69467
70159
  setMaintenanceChecklistItem: MaintenanceRecord;
@@ -69596,6 +70288,11 @@ export type Mutation = {
69596
70288
  /** Start a DRAFT A/B creative test */
69597
70289
  startHeadshotmarketingAdCreativeTest: HeadshotmarketingAdCreativeTest;
69598
70290
  startHealthyBowlCertificationRenewal: Certification;
70291
+ /**
70292
+ * Start a preview or a sync in the background and return its RUNNING record.
70293
+ * A sync (APPLY) needs a successful preview with the current credentials.
70294
+ */
70295
+ startHrisSync: HrisSyncRun;
69599
70296
  /** 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). */
69600
70297
  startMeshAgentSession: MeshSessionDescriptor;
69601
70298
  startMtwProcedureExecution: MtwProcedureExecution;
@@ -70058,30 +70755,59 @@ export type Mutation = {
70058
70755
  testWebhookMapping: BigConsoleWidgetWebhookTestResult;
70059
70756
  /** Approve (lock) a DRAFT allocation so it counts toward net positions. */
70060
70757
  theApproveProductionAllocation: TheProductionAllocation;
70758
+ /** Attribute (or, with null, detach) a finished work order's downtime to a production record of the same asset, after the fact. */
70759
+ theAttributeWorkOrderDowntime: TheWorkOrder;
70760
+ /** Apply one set of PRO_RATA factors to every unallocated record of a measurement asset in a window. */
70761
+ theBulkAllocateProduction: TheBulkAllocationResult;
70762
+ /** Close a reporting period so its allocations cannot be created, approved or reversed until it is reopened. */
70763
+ theCloseAllocationPeriod: TheAllocationPeriodClose;
70764
+ /** Record a prior-period correction (signed volume deltas) against an APPROVED allocation (creates a DRAFT). */
70765
+ theCreateAllocationCorrection: TheProductionAllocation;
70061
70766
  theCreateAsset: TheAsset;
70062
70767
  theCreateComplianceCert: TheComplianceCert;
70063
70768
  theCreateContract: TheOfftakeContract;
70769
+ /** Assign net volume from an approved allocation entry to a sell contract. */
70770
+ theCreateContractEntitlement: TheContractEntitlement;
70064
70771
  theCreateCorrectiveAction: TheCorrectiveAction;
70772
+ theCreateEquipment: TheEquipment;
70773
+ /** Record the ownership of an asset for an effective period. */
70774
+ theCreateInterestDeck: TheInterestDeck;
70065
70775
  theCreateInventoryLot: TheInventoryLot;
70776
+ theCreateMaintenanceSchedule: TheMaintenanceSchedule;
70066
70777
  /** Allocate a measured production record across its contributing assets (creates a DRAFT). */
70067
70778
  theCreateProductionAllocation: TheProductionAllocation;
70068
70779
  theCreateReserveEstimate: TheReserveEstimate;
70780
+ theCreateWorkOrder: TheWorkOrder;
70781
+ /** Delete an interest deck that no live allocation uses. */
70782
+ theDeleteInterestDeck: TheInterestDeck;
70069
70783
  /** Mark a shipment delivered and roll its volume into the contract's delivered total. */
70070
70784
  theDeliverShipment: TheShipment;
70071
70785
  /** Finalize a draft ESG disclosure (locks it as the reported-on-record snapshot). */
70072
70786
  theFinalizeEsgDisclosure: TheEsgDisclosure;
70073
70787
  /** 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. */
70074
70788
  theGenerateEsgDisclosure: TheEsgDisclosure;
70789
+ /** Raise a PLANNED work order for every active schedule due within the horizon that does not already have an unfinished work order. Idempotent. */
70790
+ theGenerateScheduledWorkOrders: TheGenerateWorkOrdersResult;
70075
70791
  theRecordEmission: TheEmissionRecord;
70076
70792
  /** 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. */
70077
70793
  theRecordLegalAcceptance: TheLegalAcceptance;
70078
70794
  theRecordProduction: TheProductionRecord;
70795
+ /** Remove an entitlement, returning its volume to the allocation entry. */
70796
+ theRemoveContractEntitlement: TheContractEntitlement;
70797
+ /** Reopen a closed period (a reason is required). The close row is kept for the audit trail. */
70798
+ theReopenAllocationPeriod: TheAllocationPeriodClose;
70079
70799
  theReportSafetyIncident: TheSafetyIncident;
70800
+ /** Remove this workspace's override for a unit pair, restoring the built-in default. Returns false if there was none. */
70801
+ theResetUnitConversion: Scalars['Boolean']['output'];
70080
70802
  theRetireAsset: Scalars['Boolean']['output'];
70081
70803
  /** Void a DRAFT or APPROVED allocation, freeing its production record for re-allocation. */
70082
70804
  theReverseProductionAllocation: TheProductionAllocation;
70083
70805
  theScheduleShipment: TheShipment;
70806
+ /** 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). */
70807
+ theSetAssetPhoto: TheAsset;
70084
70808
  theSetInventoryLotStatus: TheInventoryLot;
70809
+ /** Set this workspace's conversion factor for a commodity and unit pair. */
70810
+ theSetUnitConversion: TheUnitConversion;
70085
70811
  /** Advance an asset through its lifecycle (validated transitions). */
70086
70812
  theTransitionAsset: TheAsset;
70087
70813
  /** Advance a compliance certification through its lifecycle (validated transitions). */
@@ -70094,11 +70820,16 @@ export type Mutation = {
70094
70820
  theTransitionSafetyIncident: TheSafetyIncident;
70095
70821
  /** 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). */
70096
70822
  theTransitionShipment: TheShipment;
70823
+ /** 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. */
70824
+ theTransitionWorkOrder: TheWorkOrder;
70097
70825
  theUpdateAsset: TheAsset;
70098
70826
  theUpdateContract: TheOfftakeContract;
70827
+ theUpdateEquipment: TheEquipment;
70099
70828
  theUpdateIncidentInvestigation: TheSafetyIncident;
70829
+ theUpdateMaintenanceSchedule: TheMaintenanceSchedule;
70100
70830
  /** 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. */
70101
70831
  theUpdateShipment: TheShipment;
70832
+ theUpdateWorkOrder: TheWorkOrder;
70102
70833
  /** Mark an emission figure third-party verified. */
70103
70834
  theVerifyEmission: TheEmissionRecord;
70104
70835
  toggleClientPortal: ClientPortalConfig;
@@ -70147,6 +70878,11 @@ export type Mutation = {
70147
70878
  transitionHealthyBowlCarbonCredit: HbCarbonCredit;
70148
70879
  /** Mark a nursery batch transplanted and link it to the destination field + crop. */
70149
70880
  transplantHealthyBowlNurseryBatch: NurseryBatch;
70881
+ /**
70882
+ * Move a conversation to Trash (Gmail) or Deleted Items (Outlook). It can be
70883
+ * restored from there; nothing is deleted permanently.
70884
+ */
70885
+ trashMailboxThread: Scalars['Boolean']['output'];
70150
70886
  /** 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. */
70151
70887
  triggerBotmanorBoundWorkflow: BotmanorWorkflowRun;
70152
70888
  /**
@@ -71779,6 +72515,11 @@ export type MutationArchiveHealthyBowlCsaPickupLocationArgs = {
71779
72515
  id: Scalars['ID']['input'];
71780
72516
  };
71781
72517
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
72518
+ export type MutationArchiveMailboxThreadArgs = {
72519
+ connectionId: Scalars['ID']['input'];
72520
+ threadId: Scalars['ID']['input'];
72521
+ };
72522
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
71782
72523
  export type MutationArchiveProjectArgs = {
71783
72524
  id: Scalars['ID']['input'];
71784
72525
  };
@@ -79986,6 +80727,10 @@ export type MutationHeadshotmarketingDeleteSavedReportArgs = {
79986
80727
  id: Scalars['ID']['input'];
79987
80728
  };
79988
80729
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
80730
+ export type MutationHeadshotmarketingDeleteSavedReportScheduleArgs = {
80731
+ reportId: Scalars['ID']['input'];
80732
+ };
80733
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
79989
80734
  export type MutationHeadshotmarketingDismissAudienceSuggestionArgs = {
79990
80735
  id: Scalars['ID']['input'];
79991
80736
  };
@@ -80058,6 +80803,10 @@ export type MutationHeadshotmarketingSendAgentMessageArgs = {
80058
80803
  input: HeadshotmarketingSendAgentMessageInput;
80059
80804
  };
80060
80805
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
80806
+ export type MutationHeadshotmarketingSendSavedReportNowArgs = {
80807
+ reportId: Scalars['ID']['input'];
80808
+ };
80809
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
80061
80810
  export type MutationHeadshotmarketingSetFileMarketingMetaArgs = {
80062
80811
  input: HeadshotmarketingSetFileMarketingMetaInput;
80063
80812
  };
@@ -80066,6 +80815,11 @@ export type MutationHeadshotmarketingSetMonthlyGoalArgs = {
80066
80815
  input: HeadshotmarketingSetMonthlyGoalInput;
80067
80816
  };
80068
80817
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
80818
+ export type MutationHeadshotmarketingSetSavedReportScheduleArgs = {
80819
+ input: HeadshotmarketingSetSavedReportScheduleInput;
80820
+ reportId: Scalars['ID']['input'];
80821
+ };
80822
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
80069
80823
  export type MutationHeadshotmarketingSuggestAudienceSegmentArgs = {
80070
80824
  input: HeadshotmarketingSuggestAudienceSegmentInput;
80071
80825
  };
@@ -80174,6 +80928,10 @@ export type MutationHokAddCreditArgs = {
80174
80928
  input: HokCreateCreditInput;
80175
80929
  };
80176
80930
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
80931
+ export type MutationHokAddHlsPackageArgs = {
80932
+ input: HokAddHlsPackageInput;
80933
+ };
80934
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
80177
80935
  export type MutationHokAddMediaRenditionArgs = {
80178
80936
  input: HokAddMediaRenditionInput;
80179
80937
  };
@@ -80398,6 +81156,15 @@ export type MutationHokDeleteStudioArgs = {
80398
81156
  id: Scalars['ID']['input'];
80399
81157
  };
80400
81158
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
81159
+ export type MutationHokDisableChannelHlsFeedArgs = {
81160
+ channelId: Scalars['ID']['input'];
81161
+ };
81162
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
81163
+ export type MutationHokEnableChannelHlsFeedArgs = {
81164
+ channelId: Scalars['ID']['input'];
81165
+ slatePackageId: Scalars['ID']['input'];
81166
+ };
81167
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
80401
81168
  export type MutationHokEndChannelStreamArgs = {
80402
81169
  sessionId: Scalars['ID']['input'];
80403
81170
  };
@@ -80502,6 +81269,10 @@ export type MutationHokRemoveCreditArgs = {
80502
81269
  id: Scalars['ID']['input'];
80503
81270
  };
80504
81271
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
81272
+ export type MutationHokRemoveHlsPackageArgs = {
81273
+ id: Scalars['ID']['input'];
81274
+ };
81275
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
80505
81276
  export type MutationHokRemoveMediaRenditionArgs = {
80506
81277
  id: Scalars['ID']['input'];
80507
81278
  };
@@ -80585,6 +81356,10 @@ export type MutationHokRevokePartnerAccessArgs = {
80585
81356
  id: Scalars['ID']['input'];
80586
81357
  };
80587
81358
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
81359
+ export type MutationHokRotateChannelHlsFeedTokenArgs = {
81360
+ channelId: Scalars['ID']['input'];
81361
+ };
81362
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
80588
81363
  export type MutationHokSaveDailyReportArgs = {
80589
81364
  input: HokSaveDailyReportInput;
80590
81365
  };
@@ -82139,10 +82914,23 @@ export type MutationMoveWorkspaceResourceArgs = {
82139
82914
  targetWorkspaceId: Scalars['ID']['input'];
82140
82915
  };
82141
82916
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
82917
+ export type MutationMtwApplyDispatchPlanArgs = {
82918
+ accept: Array<Scalars['ID']['input']>;
82919
+ planId: Scalars['ID']['input'];
82920
+ };
82921
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
82142
82922
  export type MutationMtwNarrateShipmentRiskForecastArgs = {
82143
82923
  shipmentId: Scalars['ID']['input'];
82144
82924
  };
82145
82925
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
82926
+ export type MutationMtwPlanDispatchArgs = {
82927
+ input?: InputMaybe<MtwPlanDispatchInput>;
82928
+ };
82929
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
82930
+ export type MutationMtwRejectDispatchPlanArgs = {
82931
+ planId: Scalars['ID']['input'];
82932
+ };
82933
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
82146
82934
  export type MutationMtwRunRiskSweepArgs = {
82147
82935
  input?: InputMaybe<MtwRunRiskSweepInput>;
82148
82936
  };
@@ -86450,6 +87238,10 @@ export type MutationSetHousingvistaInvestmentEligibilityArgs = {
86450
87238
  notes?: InputMaybe<Scalars['String']['input']>;
86451
87239
  };
86452
87240
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
87241
+ export type MutationSetHrisSyncScheduleArgs = {
87242
+ input: SetHrisSyncScheduleInput;
87243
+ };
87244
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
86453
87245
  export type MutationSetMailboxMessageReadArgs = {
86454
87246
  connectionId: Scalars['ID']['input'];
86455
87247
  messageId: Scalars['ID']['input'];
@@ -86766,6 +87558,10 @@ export type MutationStartHealthyBowlCertificationRenewalArgs = {
86766
87558
  id: Scalars['ID']['input'];
86767
87559
  };
86768
87560
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
87561
+ export type MutationStartHrisSyncArgs = {
87562
+ input: StartHrisSyncInput;
87563
+ };
87564
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
86769
87565
  export type MutationStartMeshAgentSessionArgs = {
86770
87566
  destinationAgentId: Scalars['ID']['input'];
86771
87567
  input: MeshSessionInput;
@@ -87891,6 +88687,24 @@ export type MutationTheApproveProductionAllocationArgs = {
87891
88687
  id: Scalars['ID']['input'];
87892
88688
  };
87893
88689
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88690
+ export type MutationTheAttributeWorkOrderDowntimeArgs = {
88691
+ downtimeHours?: InputMaybe<Scalars['Float']['input']>;
88692
+ id: Scalars['ID']['input'];
88693
+ productionRecordId?: InputMaybe<Scalars['ID']['input']>;
88694
+ };
88695
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88696
+ export type MutationTheBulkAllocateProductionArgs = {
88697
+ input: TheBulkAllocateProductionInput;
88698
+ };
88699
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88700
+ export type MutationTheCloseAllocationPeriodArgs = {
88701
+ input: TheCloseAllocationPeriodInput;
88702
+ };
88703
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88704
+ export type MutationTheCreateAllocationCorrectionArgs = {
88705
+ input: TheCreateAllocationCorrectionInput;
88706
+ };
88707
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
87894
88708
  export type MutationTheCreateAssetArgs = {
87895
88709
  input: TheCreateAssetInput;
87896
88710
  };
@@ -87903,14 +88717,30 @@ export type MutationTheCreateContractArgs = {
87903
88717
  input: TheCreateOfftakeContractInput;
87904
88718
  };
87905
88719
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88720
+ export type MutationTheCreateContractEntitlementArgs = {
88721
+ input: TheCreateContractEntitlementInput;
88722
+ };
88723
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
87906
88724
  export type MutationTheCreateCorrectiveActionArgs = {
87907
88725
  input: TheCreateCorrectiveActionInput;
87908
88726
  };
87909
88727
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88728
+ export type MutationTheCreateEquipmentArgs = {
88729
+ input: TheCreateEquipmentInput;
88730
+ };
88731
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88732
+ export type MutationTheCreateInterestDeckArgs = {
88733
+ input: TheCreateInterestDeckInput;
88734
+ };
88735
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
87910
88736
  export type MutationTheCreateInventoryLotArgs = {
87911
88737
  input: TheCreateInventoryLotInput;
87912
88738
  };
87913
88739
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88740
+ export type MutationTheCreateMaintenanceScheduleArgs = {
88741
+ input: TheCreateMaintenanceScheduleInput;
88742
+ };
88743
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
87914
88744
  export type MutationTheCreateProductionAllocationArgs = {
87915
88745
  input: TheCreateProductionAllocationInput;
87916
88746
  };
@@ -87919,6 +88749,14 @@ export type MutationTheCreateReserveEstimateArgs = {
87919
88749
  input: TheCreateReserveEstimateInput;
87920
88750
  };
87921
88751
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88752
+ export type MutationTheCreateWorkOrderArgs = {
88753
+ input: TheCreateWorkOrderInput;
88754
+ };
88755
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88756
+ export type MutationTheDeleteInterestDeckArgs = {
88757
+ id: Scalars['ID']['input'];
88758
+ };
88759
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
87922
88760
  export type MutationTheDeliverShipmentArgs = {
87923
88761
  id: Scalars['ID']['input'];
87924
88762
  };
@@ -87931,6 +88769,10 @@ export type MutationTheGenerateEsgDisclosureArgs = {
87931
88769
  input: TheGenerateEsgDisclosureInput;
87932
88770
  };
87933
88771
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88772
+ export type MutationTheGenerateScheduledWorkOrdersArgs = {
88773
+ horizonDays?: InputMaybe<Scalars['Int']['input']>;
88774
+ };
88775
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
87934
88776
  export type MutationTheRecordEmissionArgs = {
87935
88777
  input: TheRecordEmissionInput;
87936
88778
  };
@@ -87944,10 +88786,23 @@ export type MutationTheRecordProductionArgs = {
87944
88786
  input: TheRecordProductionInput;
87945
88787
  };
87946
88788
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88789
+ export type MutationTheRemoveContractEntitlementArgs = {
88790
+ id: Scalars['ID']['input'];
88791
+ };
88792
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88793
+ export type MutationTheReopenAllocationPeriodArgs = {
88794
+ id: Scalars['ID']['input'];
88795
+ reason: Scalars['String']['input'];
88796
+ };
88797
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
87947
88798
  export type MutationTheReportSafetyIncidentArgs = {
87948
88799
  input: TheReportSafetyIncidentInput;
87949
88800
  };
87950
88801
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88802
+ export type MutationTheResetUnitConversionArgs = {
88803
+ input: TheResetUnitConversionInput;
88804
+ };
88805
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
87951
88806
  export type MutationTheRetireAssetArgs = {
87952
88807
  id: Scalars['ID']['input'];
87953
88808
  };
@@ -87961,11 +88816,20 @@ export type MutationTheScheduleShipmentArgs = {
87961
88816
  input: TheCreateShipmentInput;
87962
88817
  };
87963
88818
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88819
+ export type MutationTheSetAssetPhotoArgs = {
88820
+ id: Scalars['ID']['input'];
88821
+ photoFileId?: InputMaybe<Scalars['ID']['input']>;
88822
+ };
88823
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
87964
88824
  export type MutationTheSetInventoryLotStatusArgs = {
87965
88825
  id: Scalars['ID']['input'];
87966
88826
  status: TheInventoryStatus;
87967
88827
  };
87968
88828
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88829
+ export type MutationTheSetUnitConversionArgs = {
88830
+ input: TheSetUnitConversionInput;
88831
+ };
88832
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
87969
88833
  export type MutationTheTransitionAssetArgs = {
87970
88834
  id: Scalars['ID']['input'];
87971
88835
  status: TheAssetStatus;
@@ -87996,6 +88860,12 @@ export type MutationTheTransitionShipmentArgs = {
87996
88860
  status: TheShipmentStatus;
87997
88861
  };
87998
88862
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88863
+ export type MutationTheTransitionWorkOrderArgs = {
88864
+ details?: InputMaybe<TheWorkOrderTransitionInput>;
88865
+ id: Scalars['ID']['input'];
88866
+ status: TheWorkOrderStatus;
88867
+ };
88868
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
87999
88869
  export type MutationTheUpdateAssetArgs = {
88000
88870
  id: Scalars['ID']['input'];
88001
88871
  input: TheUpdateAssetInput;
@@ -88006,16 +88876,31 @@ export type MutationTheUpdateContractArgs = {
88006
88876
  input: TheUpdateOfftakeContractInput;
88007
88877
  };
88008
88878
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88879
+ export type MutationTheUpdateEquipmentArgs = {
88880
+ id: Scalars['ID']['input'];
88881
+ input: TheUpdateEquipmentInput;
88882
+ };
88883
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88009
88884
  export type MutationTheUpdateIncidentInvestigationArgs = {
88010
88885
  id: Scalars['ID']['input'];
88011
88886
  investigationNotes: Scalars['String']['input'];
88012
88887
  };
88013
88888
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88889
+ export type MutationTheUpdateMaintenanceScheduleArgs = {
88890
+ id: Scalars['ID']['input'];
88891
+ input: TheUpdateMaintenanceScheduleInput;
88892
+ };
88893
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88014
88894
  export type MutationTheUpdateShipmentArgs = {
88015
88895
  id: Scalars['ID']['input'];
88016
88896
  input: TheUpdateShipmentInput;
88017
88897
  };
88018
88898
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88899
+ export type MutationTheUpdateWorkOrderArgs = {
88900
+ id: Scalars['ID']['input'];
88901
+ input: TheUpdateWorkOrderInput;
88902
+ };
88903
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88019
88904
  export type MutationTheVerifyEmissionArgs = {
88020
88905
  id: Scalars['ID']['input'];
88021
88906
  };
@@ -88136,6 +89021,11 @@ export type MutationTransplantHealthyBowlNurseryBatchArgs = {
88136
89021
  id: Scalars['ID']['input'];
88137
89022
  };
88138
89023
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
89024
+ export type MutationTrashMailboxThreadArgs = {
89025
+ connectionId: Scalars['ID']['input'];
89026
+ threadId: Scalars['ID']['input'];
89027
+ };
89028
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88139
89029
  export type MutationTriggerBotmanorBoundWorkflowArgs = {
88140
89030
  input: TriggerBoundWorkflowInput;
88141
89031
  };
@@ -103026,6 +103916,8 @@ export type Query = {
103026
103916
  /** Null until the workspace's forecast has been calculated once. */
103027
103917
  demandForecastRunStatus?: Maybe<MtwDemandForecastRunStatus>;
103028
103918
  demandForecastVariance: Array<MtwDemandForecastVariance>;
103919
+ /** Compare what-if scenarios on the lane forecast side by side, each against fleet capacity. */
103920
+ demandScenarioComparison: MtwDemandScenarioComparison;
103029
103921
  /** Check the health status of all system dependencies */
103030
103922
  dependenciesHealth: HealthCheckResponse;
103031
103923
  /**
@@ -103240,7 +104132,14 @@ export type Query = {
103240
104132
  fileShareGrantByToken?: Maybe<ShareGrantPreview>;
103241
104133
  /** File/folder grants where the current user is the accepted grantee. */
103242
104134
  fileSharesSharedWithMe: ShareGrantList;
103243
- /** 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. */
104135
+ /**
104136
+ * Returns ground-truth per-workspace counts for all count-based file quotas
104137
+ * (storage_bytes, folders). Values come directly from DB aggregates so they
104138
+ * are always accurate — including after file/folder deletions.
104139
+ *
104140
+ * Used exclusively by wspace-activity-svc count reconciler to keep
104141
+ * WorkspaceQuotaAssignment.used in sync with actual state.
104142
+ */
103244
104143
  filesCountMetrics: Array<WorkspaceCountMetric>;
103245
104144
  financeMetrics: MtwFinanceMetrics;
103246
104145
  financialSummary: AssetHandlerFinancialSummary;
@@ -103896,7 +104795,10 @@ export type Query = {
103896
104795
  * @deprecated Consolidated onto the ShareGrant stack (BOFF-5302). Use the generic sharing operations: shareFile / createFileShareLink / fileSharesSharedWithMe / acceptFileShare.
103897
104796
  */
103898
104797
  getUserShares: FileShareList;
103899
- /** 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. */
104798
+ /**
104799
+ * Get the calling user's cumulative storage usage and plan-driven cap. Used by
104800
+ * the file UI to render "X of Y" indicators and pre-flight upload gating.
104801
+ */
103900
104802
  getUserStorageUsage: UserStorageUsage;
103901
104803
  getVault?: Maybe<Vault>;
103902
104804
  getVaultAccessLogs: VaultAccessLogList;
@@ -104346,6 +105248,8 @@ export type Query = {
104346
105248
  headshotmarketingSEOProviderStatus: HeadshotmarketingSeoProviderStatus;
104347
105249
  /** One saved report, or null when it does not exist in this workspace. */
104348
105250
  headshotmarketingSavedReport?: Maybe<HeadshotmarketingSavedReport>;
105251
+ /** Delivery attempts of a saved report, most recent first. */
105252
+ headshotmarketingSavedReportDeliveryRuns: HeadshotmarketingSavedReportDeliveryRunList;
104349
105253
  /** The workspace's saved reports, most recently updated first. */
104350
105254
  headshotmarketingSavedReports: HeadshotmarketingSavedReportList;
104351
105255
  /** Get a specific social account by ID */
@@ -104468,6 +105372,8 @@ export type Query = {
104468
105372
  hokCallSheetPdfUrl?: Maybe<Scalars['String']['output']>;
104469
105373
  /** Planned ad breaks on a FAST channel's timeline inside the [from, to] window. */
104470
105374
  hokChannelAdBreaks: Array<HokChannelAdBreakSlot>;
105375
+ /** The channel's HLS feed, or null when it has none. */
105376
+ hokChannelHlsFeed?: Maybe<HokChannelHlsFeed>;
104471
105377
  /** Schedule blocks for a channel overlapping the [from, to] window (defaults to an open-ended window when omitted), ordered by start time. */
104472
105378
  hokChannelSchedule: HokScheduleBlockConnection;
104473
105379
  /** 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). */
@@ -104498,6 +105404,8 @@ export type Query = {
104498
105404
  /** Embeds in this workspace, newest first, optionally narrowed to one title. */
104499
105405
  hokListEmbeds: HokEmbedConnection;
104500
105406
  hokListEpisodes: HokEpisodeConnection;
105407
+ /** HLS packages in this workspace, newest first. */
105408
+ hokListHlsPackages: Array<HokHlsPackage>;
104501
105409
  hokListIdentityVerifications: HokIdentityVerificationConnection;
104502
105410
  hokListLocalizations: HokLocalizationConnection;
104503
105411
  hokListLocations: Array<HokLocation>;
@@ -104668,6 +105576,15 @@ export type Query = {
104668
105576
  /** Slots of a property, soonest first. By default only open future slots; includeBooked also lists the taken ones. */
104669
105577
  housingvistaViewingSlots: Array<HousingVistaViewingSlot>;
104670
105578
  housingvistaViewings: Array<HousingVistaViewing>;
105579
+ /**
105580
+ * Directory-sync state of a Workday or SAP SuccessFactors connection.
105581
+ * Workspace administrators only: it exposes employee names and emails.
105582
+ */
105583
+ hrisDirectorySync: HrisDirectorySyncStatus;
105584
+ /** One preview or sync, for polling while it runs. */
105585
+ hrisSyncRun?: Maybe<HrisSyncRun>;
105586
+ /** Recent previews and syncs of a connection, newest first (at most 50). */
105587
+ hrisSyncRuns: Array<HrisSyncRun>;
104671
105588
  incident?: Maybe<Incident>;
104672
105589
  incidents: Array<Incident>;
104673
105590
  installAgentJobStatus: InstallJobStatus;
@@ -104926,6 +105843,13 @@ export type Query = {
104926
105843
  lookupUserActorByEmail?: Maybe<UserActorLookupResult>;
104927
105844
  /** The caller's own Gmail and Outlook connections in this workspace. */
104928
105845
  mailboxAccounts: Array<MailboxAccount>;
105846
+ /**
105847
+ * One attachment of a message in a mailbox the caller owns, fetched by the
105848
+ * service with the owner's token. Never returns a provider URL.
105849
+ */
105850
+ mailboxAttachment: MailboxAttachmentContent;
105851
+ /** Gmail labels or Outlook mail folders of a mailbox the caller owns. */
105852
+ mailboxLabels: Array<MailboxLabel>;
104929
105853
  /** One page of messages from a mailbox the caller owns, newest first. */
104930
105854
  mailboxMessages: MailboxMessagePage;
104931
105855
  /** A conversation with full plain-text bodies, from a mailbox the caller owns. */
@@ -105045,6 +105969,8 @@ export type Query = {
105045
105969
  mtwCustomerNotificationSettings: MtwCustomerNotificationSettings;
105046
105970
  /** Customer notifications sent or attempted in this workspace, newest first. */
105047
105971
  mtwCustomerNotifications: MtwCustomerNotificationPage;
105972
+ mtwDispatchPlan?: Maybe<MtwDispatchPlan>;
105973
+ mtwDispatchPlans: Array<MtwDispatchPlan>;
105048
105974
  /** Exact immutable instruction, including a proposal's historical owner; not a current-eligibility claim. */
105049
105975
  mtwEmptyReturnInstruction: MtwEmptyReturnInstruction;
105050
105976
  mtwEmptyReturnInstructionPage: MtwEmptyReturnInstructionPage;
@@ -105070,6 +105996,8 @@ export type Query = {
105070
105996
  * entity create permission.
105071
105997
  */
105072
105998
  mtwImportSpec: Array<MtwImportEntitySpec>;
105999
+ /** The workspace's most recent dispatch plan, whatever its status. */
106000
+ mtwLatestDispatchPlan?: Maybe<MtwDispatchPlan>;
105073
106001
  /** The workspace's MoveTheWheels operational defaults; platform defaults when none were saved. */
105074
106002
  mtwModuleSettings: MtwModuleSettings;
105075
106003
  mtwPalletGeometryPreview: MtwPalletGeometryPreview;
@@ -106319,24 +107247,47 @@ export type Query = {
106319
107247
  /** The workspace's scheduled xAPI push (BOFF-10575), or null when no LRS is connected. */
106320
107248
  tecXapiLrsSync?: Maybe<TecXapiLrsSync>;
106321
107249
  testParserExpression: ParserTestResult;
107250
+ /** Production records inside a closed period that have no APPROVED allocation (offset paging). */
107251
+ theAllocationExceptions: TheAllocationExceptionConnection;
107252
+ theAllocationPeriodClose?: Maybe<TheAllocationPeriodClose>;
107253
+ /** Allocation statement for [periodStart, periodEnd]: net position, per-asset allocation detail and CSV. */
107254
+ theAllocationStatement: TheAllocationStatement;
106322
107255
  theAsset?: Maybe<TheAsset>;
106323
107256
  theComplianceCert?: Maybe<TheComplianceCert>;
106324
107257
  theContract?: Maybe<TheOfftakeContract>;
107258
+ /** Over/under-lift position per contract. With contractId, that contract only; otherwise every contract with active entitlements. */
107259
+ theContractLiftingPositions: Array<TheContractLiftingPosition>;
107260
+ theEquipment?: Maybe<TheEquipment>;
106325
107261
  theEsgDisclosure?: Maybe<TheEsgDisclosure>;
106326
107262
  /** Liveness/identity probe for the Theglobalfuel subgraph. */
106327
107263
  theHealth: Scalars['String']['output'];
107264
+ theInterestDeck?: Maybe<TheInterestDeck>;
107265
+ /** The interest deck in force for an asset at an instant, if any. */
107266
+ theInterestDeckInForce?: Maybe<TheInterestDeck>;
107267
+ /** Period closes, newest period first. Includes REOPENED rows: this is the close / reopen audit trail. */
107268
+ theListAllocationPeriodCloses: TheAllocationPeriodCloseConnection;
106328
107269
  theListAssets: TheAssetConnection;
106329
107270
  theListComplianceCerts: TheComplianceCertConnection;
107271
+ /** Active entitlements (their allocation is APPROVED), newest period first. */
107272
+ theListContractEntitlements: TheContractEntitlementConnection;
106330
107273
  theListContracts: TheOfftakeContractConnection;
106331
107274
  theListCorrectiveActions: TheCorrectiveActionConnection;
106332
107275
  theListEmissionRecords: TheEmissionRecordConnection;
107276
+ theListEquipment: TheEquipmentConnection;
106333
107277
  theListEsgDisclosures: TheEsgDisclosureConnection;
107278
+ theListInterestDecks: TheInterestDeckConnection;
106334
107279
  theListInventoryLots: TheInventoryLotConnection;
107280
+ theListMaintenanceSchedules: TheMaintenanceScheduleConnection;
106335
107281
  theListProductionAllocations: TheProductionAllocationConnection;
106336
107282
  theListProductionRecords: TheProductionRecordConnection;
106337
107283
  theListReserveEstimates: TheReserveEstimateConnection;
106338
107284
  theListSafetyIncidents: TheSafetyIncidentConnection;
106339
107285
  theListShipments: TheShipmentConnection;
107286
+ /** Effective unit conversion factors for a commodity (built-in defaults merged with this workspace's overrides). */
107287
+ theListUnitConversions: Array<TheUnitConversion>;
107288
+ theListWorkOrders: TheWorkOrderConnection;
107289
+ theMaintenanceDashboard: TheMaintenanceDashboard;
107290
+ theMaintenanceHistory: TheMaintenanceHistory;
106340
107291
  /** 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. */
106341
107292
  theMyLegalAcceptances: TheLegalAcceptanceConnection;
106342
107293
  /** Net production position per asset over [periodStart, periodEnd], from APPROVED allocations only. */
@@ -106344,6 +107295,7 @@ export type Query = {
106344
107295
  theProductionAllocation?: Maybe<TheProductionAllocation>;
106345
107296
  theSafetyDashboard: TheSafetyDashboard;
106346
107297
  theSafetyIncident?: Maybe<TheSafetyIncident>;
107298
+ theWorkOrder?: Maybe<TheWorkOrder>;
106347
107299
  thread: MessageConnection;
106348
107300
  /** Activation milestones for the calling workspace (BOFF-3450). */
106349
107301
  timeCampusActivation: TimeCampusActivation;
@@ -109697,6 +110649,10 @@ export type QueryDemandForecastVarianceArgs = {
109697
110649
  scopeType: DemandForecastScope;
109698
110650
  };
109699
110651
  /** Base Query type with placeholder field. Extended by individual query files. */
110652
+ export type QueryDemandScenarioComparisonArgs = {
110653
+ input?: InputMaybe<MtwDemandScenarioComparisonInput>;
110654
+ };
110655
+ /** Base Query type with placeholder field. Extended by individual query files. */
109700
110656
  export type QueryDetailedNodeUsageArgs = {
109701
110657
  input: DetailedNodeUsageInput;
109702
110658
  };
@@ -113646,6 +114602,11 @@ export type QueryHeadshotmarketingSavedReportArgs = {
113646
114602
  id: Scalars['ID']['input'];
113647
114603
  };
113648
114604
  /** Base Query type with placeholder field. Extended by individual query files. */
114605
+ export type QueryHeadshotmarketingSavedReportDeliveryRunsArgs = {
114606
+ pagination?: InputMaybe<PaginationInput>;
114607
+ reportId: Scalars['ID']['input'];
114608
+ };
114609
+ /** Base Query type with placeholder field. Extended by individual query files. */
113649
114610
  export type QueryHeadshotmarketingSavedReportsArgs = {
113650
114611
  pagination?: InputMaybe<PaginationInput>;
113651
114612
  };
@@ -113973,6 +114934,10 @@ export type QueryHokChannelAdBreaksArgs = {
113973
114934
  to: Scalars['DateTime']['input'];
113974
114935
  };
113975
114936
  /** Base Query type with placeholder field. Extended by individual query files. */
114937
+ export type QueryHokChannelHlsFeedArgs = {
114938
+ channelId: Scalars['ID']['input'];
114939
+ };
114940
+ /** Base Query type with placeholder field. Extended by individual query files. */
113976
114941
  export type QueryHokChannelScheduleArgs = {
113977
114942
  channelId: Scalars['ID']['input'];
113978
114943
  from?: InputMaybe<Scalars['DateTime']['input']>;
@@ -114063,6 +115028,12 @@ export type QueryHokListEpisodesArgs = {
114063
115028
  titleId: Scalars['ID']['input'];
114064
115029
  };
114065
115030
  /** Base Query type with placeholder field. Extended by individual query files. */
115031
+ export type QueryHokListHlsPackagesArgs = {
115032
+ episodeId?: InputMaybe<Scalars['ID']['input']>;
115033
+ kind?: InputMaybe<HokHlsPackageKind>;
115034
+ titleId?: InputMaybe<Scalars['ID']['input']>;
115035
+ };
115036
+ /** Base Query type with placeholder field. Extended by individual query files. */
114066
115037
  export type QueryHokListIdentityVerificationsArgs = {
114067
115038
  pagination?: InputMaybe<PaginationInput>;
114068
115039
  status?: InputMaybe<HokVerificationStatus>;
@@ -114587,6 +115558,19 @@ export type QueryHousingvistaViewingsArgs = {
114587
115558
  pagination?: InputMaybe<HousingVistaPaginationInput>;
114588
115559
  };
114589
115560
  /** Base Query type with placeholder field. Extended by individual query files. */
115561
+ export type QueryHrisDirectorySyncArgs = {
115562
+ connectionId: Scalars['ID']['input'];
115563
+ };
115564
+ /** Base Query type with placeholder field. Extended by individual query files. */
115565
+ export type QueryHrisSyncRunArgs = {
115566
+ id: Scalars['ID']['input'];
115567
+ };
115568
+ /** Base Query type with placeholder field. Extended by individual query files. */
115569
+ export type QueryHrisSyncRunsArgs = {
115570
+ connectionId: Scalars['ID']['input'];
115571
+ limit?: InputMaybe<Scalars['Int']['input']>;
115572
+ };
115573
+ /** Base Query type with placeholder field. Extended by individual query files. */
114590
115574
  export type QueryIncidentArgs = {
114591
115575
  id: Scalars['ID']['input'];
114592
115576
  };
@@ -115531,6 +116515,16 @@ export type QueryLookupUserActorByEmailArgs = {
115531
116515
  scopeId: Scalars['String']['input'];
115532
116516
  };
115533
116517
  /** Base Query type with placeholder field. Extended by individual query files. */
116518
+ export type QueryMailboxAttachmentArgs = {
116519
+ attachmentId: Scalars['ID']['input'];
116520
+ connectionId: Scalars['ID']['input'];
116521
+ messageId: Scalars['ID']['input'];
116522
+ };
116523
+ /** Base Query type with placeholder field. Extended by individual query files. */
116524
+ export type QueryMailboxLabelsArgs = {
116525
+ connectionId: Scalars['ID']['input'];
116526
+ };
116527
+ /** Base Query type with placeholder field. Extended by individual query files. */
115534
116528
  export type QueryMailboxMessagesArgs = {
115535
116529
  input: MailboxMessagesInput;
115536
116530
  };
@@ -115922,6 +116916,15 @@ export type QueryMtwCustomerNotificationsArgs = {
115922
116916
  pagination?: InputMaybe<PaginationInput>;
115923
116917
  };
115924
116918
  /** Base Query type with placeholder field. Extended by individual query files. */
116919
+ export type QueryMtwDispatchPlanArgs = {
116920
+ id: Scalars['ID']['input'];
116921
+ };
116922
+ /** Base Query type with placeholder field. Extended by individual query files. */
116923
+ export type QueryMtwDispatchPlansArgs = {
116924
+ pagination?: InputMaybe<PaginationInput>;
116925
+ status?: InputMaybe<MtwDispatchPlanStatus>;
116926
+ };
116927
+ /** Base Query type with placeholder field. Extended by individual query files. */
115925
116928
  export type QueryMtwEmptyReturnInstructionArgs = {
115926
116929
  id: Scalars['ID']['input'];
115927
116930
  };
@@ -119371,6 +120374,21 @@ export type QueryTestParserExpressionArgs = {
119371
120374
  input: TestParserInput;
119372
120375
  };
119373
120376
  /** Base Query type with placeholder field. Extended by individual query files. */
120377
+ export type QueryTheAllocationExceptionsArgs = {
120378
+ measurementAssetId?: InputMaybe<Scalars['ID']['input']>;
120379
+ pagination?: InputMaybe<PaginationInput>;
120380
+ };
120381
+ /** Base Query type with placeholder field. Extended by individual query files. */
120382
+ export type QueryTheAllocationPeriodCloseArgs = {
120383
+ id: Scalars['ID']['input'];
120384
+ };
120385
+ /** Base Query type with placeholder field. Extended by individual query files. */
120386
+ export type QueryTheAllocationStatementArgs = {
120387
+ measurementAssetId?: InputMaybe<Scalars['ID']['input']>;
120388
+ periodEnd: Scalars['DateTime']['input'];
120389
+ periodStart: Scalars['DateTime']['input'];
120390
+ };
120391
+ /** Base Query type with placeholder field. Extended by individual query files. */
119374
120392
  export type QueryTheAssetArgs = {
119375
120393
  id: Scalars['ID']['input'];
119376
120394
  };
@@ -119383,10 +120401,33 @@ export type QueryTheContractArgs = {
119383
120401
  id: Scalars['ID']['input'];
119384
120402
  };
119385
120403
  /** Base Query type with placeholder field. Extended by individual query files. */
120404
+ export type QueryTheContractLiftingPositionsArgs = {
120405
+ contractId?: InputMaybe<Scalars['ID']['input']>;
120406
+ };
120407
+ /** Base Query type with placeholder field. Extended by individual query files. */
120408
+ export type QueryTheEquipmentArgs = {
120409
+ id: Scalars['ID']['input'];
120410
+ };
120411
+ /** Base Query type with placeholder field. Extended by individual query files. */
119386
120412
  export type QueryTheEsgDisclosureArgs = {
119387
120413
  id: Scalars['ID']['input'];
119388
120414
  };
119389
120415
  /** Base Query type with placeholder field. Extended by individual query files. */
120416
+ export type QueryTheInterestDeckArgs = {
120417
+ id: Scalars['ID']['input'];
120418
+ };
120419
+ /** Base Query type with placeholder field. Extended by individual query files. */
120420
+ export type QueryTheInterestDeckInForceArgs = {
120421
+ assetId: Scalars['ID']['input'];
120422
+ at: Scalars['DateTime']['input'];
120423
+ };
120424
+ /** Base Query type with placeholder field. Extended by individual query files. */
120425
+ export type QueryTheListAllocationPeriodClosesArgs = {
120426
+ assetId?: InputMaybe<Scalars['ID']['input']>;
120427
+ pagination?: InputMaybe<PaginationInput>;
120428
+ status?: InputMaybe<TheAllocationPeriodStatus>;
120429
+ };
120430
+ /** Base Query type with placeholder field. Extended by individual query files. */
119390
120431
  export type QueryTheListAssetsArgs = {
119391
120432
  commodity?: InputMaybe<TheCommodityType>;
119392
120433
  kind?: InputMaybe<TheAssetKind>;
@@ -119401,6 +120442,12 @@ export type QueryTheListComplianceCertsArgs = {
119401
120442
  status?: InputMaybe<TheComplianceStatus>;
119402
120443
  };
119403
120444
  /** Base Query type with placeholder field. Extended by individual query files. */
120445
+ export type QueryTheListContractEntitlementsArgs = {
120446
+ allocationId?: InputMaybe<Scalars['ID']['input']>;
120447
+ contractId?: InputMaybe<Scalars['ID']['input']>;
120448
+ pagination?: InputMaybe<PaginationInput>;
120449
+ };
120450
+ /** Base Query type with placeholder field. Extended by individual query files. */
119404
120451
  export type QueryTheListContractsArgs = {
119405
120452
  commodity?: InputMaybe<TheCommodityType>;
119406
120453
  pagination?: InputMaybe<PaginationInput>;
@@ -119420,18 +120467,38 @@ export type QueryTheListEmissionRecordsArgs = {
119420
120467
  scope?: InputMaybe<TheEmissionScope>;
119421
120468
  };
119422
120469
  /** Base Query type with placeholder field. Extended by individual query files. */
120470
+ export type QueryTheListEquipmentArgs = {
120471
+ assetId?: InputMaybe<Scalars['ID']['input']>;
120472
+ category?: InputMaybe<TheEquipmentCategory>;
120473
+ pagination?: InputMaybe<PaginationInput>;
120474
+ status?: InputMaybe<TheEquipmentStatus>;
120475
+ };
120476
+ /** Base Query type with placeholder field. Extended by individual query files. */
119423
120477
  export type QueryTheListEsgDisclosuresArgs = {
119424
120478
  framework?: InputMaybe<TheEsgFramework>;
119425
120479
  pagination?: InputMaybe<PaginationInput>;
119426
120480
  };
119427
120481
  /** Base Query type with placeholder field. Extended by individual query files. */
120482
+ export type QueryTheListInterestDecksArgs = {
120483
+ assetId?: InputMaybe<Scalars['ID']['input']>;
120484
+ pagination?: InputMaybe<PaginationInput>;
120485
+ };
120486
+ /** Base Query type with placeholder field. Extended by individual query files. */
119428
120487
  export type QueryTheListInventoryLotsArgs = {
119429
120488
  commodity?: InputMaybe<TheCommodityType>;
119430
120489
  pagination?: InputMaybe<PaginationInput>;
119431
120490
  status?: InputMaybe<TheInventoryStatus>;
119432
120491
  };
119433
120492
  /** Base Query type with placeholder field. Extended by individual query files. */
120493
+ export type QueryTheListMaintenanceSchedulesArgs = {
120494
+ active?: InputMaybe<Scalars['Boolean']['input']>;
120495
+ dueBefore?: InputMaybe<Scalars['DateTime']['input']>;
120496
+ equipmentId?: InputMaybe<Scalars['ID']['input']>;
120497
+ pagination?: InputMaybe<PaginationInput>;
120498
+ };
120499
+ /** Base Query type with placeholder field. Extended by individual query files. */
119434
120500
  export type QueryTheListProductionAllocationsArgs = {
120501
+ correctsAllocationId?: InputMaybe<Scalars['ID']['input']>;
119435
120502
  measurementAssetId?: InputMaybe<Scalars['ID']['input']>;
119436
120503
  pagination?: InputMaybe<PaginationInput>;
119437
120504
  productionRecordId?: InputMaybe<Scalars['ID']['input']>;
@@ -119463,6 +120530,27 @@ export type QueryTheListShipmentsArgs = {
119463
120530
  status?: InputMaybe<TheShipmentStatus>;
119464
120531
  };
119465
120532
  /** Base Query type with placeholder field. Extended by individual query files. */
120533
+ export type QueryTheListUnitConversionsArgs = {
120534
+ commodity: TheCommodityType;
120535
+ };
120536
+ /** Base Query type with placeholder field. Extended by individual query files. */
120537
+ export type QueryTheListWorkOrdersArgs = {
120538
+ assetId?: InputMaybe<Scalars['ID']['input']>;
120539
+ assigneeId?: InputMaybe<Scalars['ID']['input']>;
120540
+ equipmentId?: InputMaybe<Scalars['ID']['input']>;
120541
+ overdueOnly?: InputMaybe<Scalars['Boolean']['input']>;
120542
+ pagination?: InputMaybe<PaginationInput>;
120543
+ priority?: InputMaybe<TheMaintenancePriority>;
120544
+ status?: InputMaybe<TheWorkOrderStatus>;
120545
+ type?: InputMaybe<TheWorkOrderType>;
120546
+ };
120547
+ /** Base Query type with placeholder field. Extended by individual query files. */
120548
+ export type QueryTheMaintenanceHistoryArgs = {
120549
+ assetId: Scalars['ID']['input'];
120550
+ equipmentId?: InputMaybe<Scalars['ID']['input']>;
120551
+ pagination?: InputMaybe<PaginationInput>;
120552
+ };
120553
+ /** Base Query type with placeholder field. Extended by individual query files. */
119466
120554
  export type QueryTheMyLegalAcceptancesArgs = {
119467
120555
  checkpointType: TheLegalCheckpointType;
119468
120556
  pagination?: InputMaybe<PaginationInput>;
@@ -119472,6 +120560,7 @@ export type QueryTheNetProductionPositionArgs = {
119472
120560
  assetId?: InputMaybe<Scalars['ID']['input']>;
119473
120561
  periodEnd: Scalars['DateTime']['input'];
119474
120562
  periodStart: Scalars['DateTime']['input'];
120563
+ reportingUnit?: InputMaybe<TheUnit>;
119475
120564
  };
119476
120565
  /** Base Query type with placeholder field. Extended by individual query files. */
119477
120566
  export type QueryTheProductionAllocationArgs = {
@@ -119482,6 +120571,10 @@ export type QueryTheSafetyIncidentArgs = {
119482
120571
  id: Scalars['ID']['input'];
119483
120572
  };
119484
120573
  /** Base Query type with placeholder field. Extended by individual query files. */
120574
+ export type QueryTheWorkOrderArgs = {
120575
+ id: Scalars['ID']['input'];
120576
+ };
120577
+ /** Base Query type with placeholder field. Extended by individual query files. */
119485
120578
  export type QueryThreadArgs = {
119486
120579
  after?: InputMaybe<Scalars['String']['input']>;
119487
120580
  first?: InputMaybe<Scalars['Int']['input']>;
@@ -123902,9 +124995,15 @@ export type SaveNavPreferencesInput = {
123902
124995
  workspaceId: Scalars['String']['input'];
123903
124996
  };
123904
124997
  export type SaveSandboxArtifactInput = {
123905
- /** Override the filename the sandbox suggests. Useful when the caller already has user-facing context (e.g. session title) the sandbox doesn't. */
124998
+ /**
124999
+ * Override the filename the sandbox suggests. Useful when the caller already
125000
+ * has user-facing context (e.g. session title) the sandbox doesn't.
125001
+ */
123906
125002
  filename?: InputMaybe<Scalars['String']['input']>;
123907
- /** Destination folder. Resolve via `ensureFolderByPath` first if you want to drop the artifact into a per-module default folder. */
125003
+ /**
125004
+ * Destination folder. Resolve via `ensureFolderByPath` first if you want to
125005
+ * drop the artifact into a per-module default folder.
125006
+ */
123908
125007
  folderId: Scalars['ID']['input'];
123909
125008
  /** Artifact path inside the session (e.g. `/output/report.pdf`). */
123910
125009
  path: Scalars['String']['input'];
@@ -126154,6 +127253,11 @@ export type SendHealthyBowlSupplierMessageInput = {
126154
127253
  supplierId: Scalars['ID']['input'];
126155
127254
  };
126156
127255
  export type SendMailboxMessageInput = {
127256
+ /**
127257
+ * wspace-files-svc file ids to attach, uploaded by the caller first. At most 10;
127258
+ * together at most 17 MB for Gmail and 2.5 MB for Outlook.
127259
+ */
127260
+ attachmentFileIds?: InputMaybe<Array<Scalars['ID']['input']>>;
126157
127261
  bcc?: InputMaybe<Array<Scalars['String']['input']>>;
126158
127262
  bodyText: Scalars['String']['input'];
126159
127263
  cc?: InputMaybe<Array<Scalars['String']['input']>>;
@@ -126733,6 +127837,12 @@ export type SetHealthyBowlWholesalePriceTiersInput = {
126733
127837
  productName: Scalars['String']['input'];
126734
127838
  tiers: Array<WholesalePriceTierInput>;
126735
127839
  };
127840
+ export type SetHrisSyncScheduleInput = {
127841
+ connectionId: Scalars['ID']['input'];
127842
+ enabled: Scalars['Boolean']['input'];
127843
+ /** One of 6, 12, 24, 48 or 168. Defaults to 24. */
127844
+ intervalHours?: InputMaybe<Scalars['Int']['input']>;
127845
+ };
126736
127846
  export type SetMetadataInput = {
126737
127847
  fileId: Scalars['ID']['input'];
126738
127848
  isPublic?: InputMaybe<Scalars['Boolean']['input']>;
@@ -127501,6 +128611,15 @@ export type StartDiscoveryJobInput = {
127501
128611
  name: Scalars['String']['input'];
127502
128612
  source: Scalars['String']['input'];
127503
128613
  };
128614
+ export type StartHrisSyncInput = {
128615
+ /**
128616
+ * APPLY only: proceed even if the sync would deactivate more than a quarter of
128617
+ * the matched people. Scheduled syncs never set it.
128618
+ */
128619
+ allowMassDeactivation?: InputMaybe<Scalars['Boolean']['input']>;
128620
+ connectionId: Scalars['ID']['input'];
128621
+ mode: HrisSyncMode;
128622
+ };
127504
128623
  export type StartMtwProcedureExecutionInput = {
127505
128624
  expectedCycleVersion: Scalars['Int']['input'];
127506
128625
  expectedProposalRevision: Scalars['Int']['input'];
@@ -130023,7 +131142,10 @@ export type Subscription = {
130023
131142
  exportJobProgress: ExportJob;
130024
131143
  /** Subscribe to file deletion events */
130025
131144
  fileDeleted: FileDeletedEvent;
130026
- /** Subscribe to all file events in a workspace Real-time updates for file uploads, updates, deletions, etc. */
131145
+ /**
131146
+ * Subscribe to all file events in a workspace
131147
+ * Real-time updates for file uploads, updates, deletions, etc.
131148
+ */
130027
131149
  fileEvents: FileEventUnion;
130028
131150
  /** Subscribe to lock events for a specific file */
130029
131151
  fileLockChanged: FileLock;
@@ -130157,7 +131279,10 @@ export type Subscription = {
130157
131279
  userActivityUpdates: ActivityLog;
130158
131280
  /** Subscribe to when user is mentioned in comments */
130159
131281
  userMentioned: UserMentionedEvent;
130160
- /** Subscribe to real-time user presence on a file Useful for showing who's currently viewing/editing a file */
131282
+ /**
131283
+ * Subscribe to real-time user presence on a file
131284
+ * Useful for showing who's currently viewing/editing a file
131285
+ */
130161
131286
  userPresence: UserPresenceEvent;
130162
131287
  /** Real-time audit events for the workspace */
130163
131288
  vibeAuditLogCreated: VibeAuditLog;
@@ -133402,8 +134527,18 @@ export type TestSecretsProviderConnectionResponse = MutationResponse & {
133402
134527
  message: Scalars['String']['output'];
133403
134528
  success: Scalars['Boolean']['output'];
133404
134529
  };
134530
+ export type TheAllocationCorrectionEntryInput = {
134531
+ assetId: Scalars['ID']['input'];
134532
+ /** Defaults to the original entry's royalty (0 for an asset not in the original). */
134533
+ royaltyPct?: InputMaybe<Scalars['Float']['input']>;
134534
+ /** Signed change to the asset's allocated volume (negative reduces it). */
134535
+ volumeDelta: Scalars['Float']['input'];
134536
+ /** Defaults to the original entry's working interest (or the asset's, for an asset not in the original). */
134537
+ workingInterestPct?: InputMaybe<Scalars['Float']['input']>;
134538
+ };
133405
134539
  export type TheAllocationEntry = {
133406
134540
  __typename?: 'TheAllocationEntry';
134541
+ /** Sales-point share of the measured volume. Signed on a correction. */
133407
134542
  allocatedVolume: Scalars['Float']['output'];
133408
134543
  allocationId: Scalars['ID']['output'];
133409
134544
  asset?: Maybe<TheAsset>;
@@ -133411,33 +134546,124 @@ export type TheAllocationEntry = {
133411
134546
  /** PRO_RATA input weight (well-test rate, theoretical volume, metered share); null for MANUAL. */
133412
134547
  factor?: Maybe<Scalars['Float']['output']>;
133413
134548
  id: Scalars['ID']['output'];
134549
+ /** The interest deck in force for the allocation period, when it supplied a term. */
134550
+ interestDeckId?: Maybe<Scalars['ID']['output']>;
134551
+ /** Where the ownership terms came from. */
134552
+ interestSource: TheInterestSource;
133414
134553
  /** netWorkingInterestVolume - royaltyVolume (net revenue interest volume). */
133415
134554
  netRevenueVolume: Scalars['Float']['output'];
133416
134555
  /** allocatedVolume x workingInterestPct / 100. */
133417
134556
  netWorkingInterestVolume: Scalars['Float']['output'];
134557
+ /** Overriding royalty burden on the working-interest share, 0-100. */
134558
+ overridingRoyaltyPct: Scalars['Float']['output'];
133418
134559
  royaltyPct: Scalars['Float']['output'];
133419
- /** netWorkingInterestVolume x royaltyPct / 100. */
134560
+ /** netWorkingInterestVolume x (royaltyPct + overridingRoyaltyPct) / 100. */
133420
134561
  royaltyVolume: Scalars['Float']['output'];
133421
- /** allocatedVolume as a percentage of the measured volume (0-100). */
134562
+ /** 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. */
133422
134563
  sharePct: Scalars['Float']['output'];
134564
+ /** The asset's share of the allocation's shrinkage. */
134565
+ shrinkageVolume: Scalars['Float']['output'];
134566
+ /** The asset's theoretical (well-test / metered) volume, when supplied. */
134567
+ theoreticalVolume?: Maybe<Scalars['Float']['output']>;
133423
134568
  unit: TheUnit;
134569
+ /** allocatedVolume + shrinkageVolume. */
134570
+ wellheadVolume: Scalars['Float']['output'];
133424
134571
  workingInterestPct: Scalars['Float']['output'];
133425
134572
  };
133426
134573
  export type TheAllocationEntryInput = {
133427
134574
  assetId: Scalars['ID']['input'];
133428
- /** PRO_RATA: required, the asset's allocation weight (>= 0). */
134575
+ /** PRO_RATA: the asset's allocation weight (>= 0). Defaults to theoreticalVolume when omitted. */
133429
134576
  factor?: InputMaybe<Scalars['Float']['input']>;
133430
- /** Royalty burden on the working-interest share, 0-100. Defaults to 0. */
134577
+ /** Overriding royalty burden on the working-interest share, 0-100. Defaults to the deck's overridingRoyaltyPct, else 0. */
134578
+ overridingRoyaltyPct?: InputMaybe<Scalars['Float']['input']>;
134579
+ /** Royalty burden on the working-interest share, 0-100. Defaults to the deck's royaltyPct, else 0. */
133431
134580
  royaltyPct?: InputMaybe<Scalars['Float']['input']>;
134581
+ /** The asset's theoretical volume for the period (>= 0). Give it for every entry or none; it drives the reconciliation factor. */
134582
+ theoreticalVolume?: InputMaybe<Scalars['Float']['input']>;
133432
134583
  /** MANUAL: required, the asset's allocated volume (>= 0). */
133433
134584
  volume?: InputMaybe<Scalars['Float']['input']>;
133434
- /** Working interest held in this asset, 0-100. Defaults to the asset's workingInterestPct. */
134585
+ /** 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. */
133435
134586
  workingInterestPct?: InputMaybe<Scalars['Float']['input']>;
133436
134587
  };
134588
+ /** A production record inside a closed period that has no APPROVED allocation. */
134589
+ export type TheAllocationException = {
134590
+ __typename?: 'TheAllocationException';
134591
+ id: Scalars['ID']['output'];
134592
+ periodClose: TheAllocationPeriodClose;
134593
+ productionRecord: TheProductionRecord;
134594
+ reason: TheAllocationExceptionReason;
134595
+ };
134596
+ export type TheAllocationExceptionConnection = {
134597
+ __typename?: 'TheAllocationExceptionConnection';
134598
+ items: Array<TheAllocationException>;
134599
+ pageInfo: ThePageInfo;
134600
+ totalCount: Scalars['Int']['output'];
134601
+ };
134602
+ export declare enum TheAllocationExceptionReason {
134603
+ /** The record only has a DRAFT allocation. */
134604
+ DRAFT_PENDING = "DRAFT_PENDING",
134605
+ /** The record has no live allocation. */
134606
+ UNALLOCATED = "UNALLOCATED"
134607
+ }
133437
134608
  export declare enum TheAllocationMethod {
133438
134609
  MANUAL = "MANUAL",
133439
134610
  PRO_RATA = "PRO_RATA"
133440
134611
  }
134612
+ export type TheAllocationPeriodClose = {
134613
+ __typename?: 'TheAllocationPeriodClose';
134614
+ asset?: Maybe<TheAsset>;
134615
+ /** Measurement asset (field / facility) the close applies to; null when it applies to every asset. */
134616
+ assetId?: Maybe<Scalars['ID']['output']>;
134617
+ closeNotes?: Maybe<Scalars['String']['output']>;
134618
+ closedAt: Scalars['DateTime']['output'];
134619
+ closedBy: Scalars['ID']['output'];
134620
+ createdAt: Scalars['DateTime']['output'];
134621
+ id: Scalars['ID']['output'];
134622
+ periodEnd: Scalars['DateTime']['output'];
134623
+ periodStart: Scalars['DateTime']['output'];
134624
+ reopenReason?: Maybe<Scalars['String']['output']>;
134625
+ reopenedAt?: Maybe<Scalars['DateTime']['output']>;
134626
+ reopenedBy?: Maybe<Scalars['ID']['output']>;
134627
+ status: TheAllocationPeriodStatus;
134628
+ updatedAt: Scalars['DateTime']['output'];
134629
+ workspaceId: Scalars['ID']['output'];
134630
+ };
134631
+ export type TheAllocationPeriodCloseConnection = {
134632
+ __typename?: 'TheAllocationPeriodCloseConnection';
134633
+ items: Array<TheAllocationPeriodClose>;
134634
+ pageInfo: ThePageInfo;
134635
+ };
134636
+ export declare enum TheAllocationPeriodStatus {
134637
+ CLOSED = "CLOSED",
134638
+ REOPENED = "REOPENED"
134639
+ }
134640
+ export type TheAllocationShrinkage = {
134641
+ __typename?: 'TheAllocationShrinkage';
134642
+ category: TheShrinkageCategory;
134643
+ volume: Scalars['Float']['output'];
134644
+ };
134645
+ export type TheAllocationShrinkageInput = {
134646
+ category: TheShrinkageCategory;
134647
+ /** Volume in the allocation unit (>= 0). */
134648
+ volume: Scalars['Float']['input'];
134649
+ };
134650
+ export type TheAllocationStatement = {
134651
+ __typename?: 'TheAllocationStatement';
134652
+ /** APPROVED allocations in the window with their per-asset entries (at most 500). */
134653
+ allocations: Array<TheProductionAllocation>;
134654
+ /** The statement as a CSV document (RFC 4180, formula-safe). */
134655
+ csv: Scalars['String']['output'];
134656
+ generatedAt: Scalars['DateTime']['output'];
134657
+ measurementAssetId?: Maybe<Scalars['ID']['output']>;
134658
+ netPosition: TheNetProductionPosition;
134659
+ /** CLOSED periods overlapping the window. */
134660
+ periodCloses: Array<TheAllocationPeriodClose>;
134661
+ periodEnd: Scalars['DateTime']['output'];
134662
+ periodStart: Scalars['DateTime']['output'];
134663
+ truncated: Scalars['Boolean']['output'];
134664
+ /** Production records in the window with no APPROVED allocation. */
134665
+ unapprovedRecordCount: Scalars['Int']['output'];
134666
+ };
133441
134667
  export declare enum TheAllocationStatus {
133442
134668
  APPROVED = "APPROVED",
133443
134669
  DRAFT = "DRAFT",
@@ -133463,6 +134689,10 @@ export type TheAsset = {
133463
134689
  longitude?: Maybe<Scalars['Float']['output']>;
133464
134690
  name: Scalars['String']['output'];
133465
134691
  operatorLeadId?: Maybe<Scalars['ID']['output']>;
134692
+ /** Federated reference to the asset's photo File (key-only, owned by wspace-files-svc). */
134693
+ photo?: Maybe<File>;
134694
+ /** 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). */
134695
+ photoFileId?: Maybe<Scalars['ID']['output']>;
133466
134696
  productionRecords: TheProductionRecordConnection;
133467
134697
  reserveEstimates: TheReserveEstimateConnection;
133468
134698
  /** Reservoir / deposit lithology or type (e.g. Carbonate, Sandstone, Porphyry). */
@@ -133508,6 +134738,66 @@ export declare enum TheAssetStatus {
133508
134738
  RETIRED = "RETIRED",
133509
134739
  SUSPENDED = "SUSPENDED"
133510
134740
  }
134741
+ export type TheBulkAllocateProductionInput = {
134742
+ /** Also approve each allocation it creates. */
134743
+ approve?: InputMaybe<Scalars['Boolean']['input']>;
134744
+ /** Validate every record without writing anything. */
134745
+ dryRun?: InputMaybe<Scalars['Boolean']['input']>;
134746
+ /** PRO_RATA factors (e.g. the latest well-test rates), with optional working-interest / royalty overrides. */
134747
+ entries: Array<TheAllocationEntryInput>;
134748
+ /** Asset the production records were measured at (field / facility / meter). */
134749
+ measurementAssetId: Scalars['ID']['input'];
134750
+ notes?: InputMaybe<Scalars['String']['input']>;
134751
+ periodEnd: Scalars['DateTime']['input'];
134752
+ periodStart: Scalars['DateTime']['input'];
134753
+ };
134754
+ export declare enum TheBulkAllocationOutcome {
134755
+ /** A DRAFT allocation was created. */
134756
+ ALLOCATED = "ALLOCATED",
134757
+ /** An allocation was created and approved. */
134758
+ APPROVED = "APPROVED",
134759
+ /** The record could not be allocated (see errorCode / message). */
134760
+ FAILED = "FAILED",
134761
+ /** The record already had a live allocation and was left alone. */
134762
+ SKIPPED = "SKIPPED",
134763
+ /** Dry run: the record would be allocated. */
134764
+ VALIDATED = "VALIDATED"
134765
+ }
134766
+ export type TheBulkAllocationRecordResult = {
134767
+ __typename?: 'TheBulkAllocationRecordResult';
134768
+ allocation?: Maybe<TheProductionAllocation>;
134769
+ errorCode?: Maybe<Scalars['String']['output']>;
134770
+ measuredVolume: Scalars['Float']['output'];
134771
+ message?: Maybe<Scalars['String']['output']>;
134772
+ outcome: TheBulkAllocationOutcome;
134773
+ periodEnd: Scalars['DateTime']['output'];
134774
+ periodStart: Scalars['DateTime']['output'];
134775
+ productionRecordId: Scalars['ID']['output'];
134776
+ unit: TheUnit;
134777
+ };
134778
+ export type TheBulkAllocationResult = {
134779
+ __typename?: 'TheBulkAllocationResult';
134780
+ /** Allocations created (including those also approved). */
134781
+ allocatedCount: Scalars['Int']['output'];
134782
+ approve: Scalars['Boolean']['output'];
134783
+ approvedCount: Scalars['Int']['output'];
134784
+ dryRun: Scalars['Boolean']['output'];
134785
+ failedCount: Scalars['Int']['output'];
134786
+ /** Production records in the window that were considered (at most 200). */
134787
+ recordCount: Scalars['Int']['output'];
134788
+ results: Array<TheBulkAllocationRecordResult>;
134789
+ skippedCount: Scalars['Int']['output'];
134790
+ /** True when the window held more records than one run processes; run again for the rest. */
134791
+ truncated: Scalars['Boolean']['output'];
134792
+ validatedCount: Scalars['Int']['output'];
134793
+ };
134794
+ export type TheCloseAllocationPeriodInput = {
134795
+ /** Close the period for one measurement asset only; omit to close it for every asset. */
134796
+ assetId?: InputMaybe<Scalars['ID']['input']>;
134797
+ notes?: InputMaybe<Scalars['String']['input']>;
134798
+ periodEnd: Scalars['DateTime']['input'];
134799
+ periodStart: Scalars['DateTime']['input'];
134800
+ };
133511
134801
  export declare enum TheCommodityType {
133512
134802
  BAUXITE = "BAUXITE",
133513
134803
  BIOFUEL = "BIOFUEL",
@@ -133564,6 +134854,43 @@ export declare enum TheComplianceStatus {
133564
134854
  REVOKED = "REVOKED",
133565
134855
  SUBMITTED = "SUBMITTED"
133566
134856
  }
134857
+ export type TheContractEntitlement = {
134858
+ __typename?: 'TheContractEntitlement';
134859
+ allocationEntryId: Scalars['ID']['output'];
134860
+ allocationId: Scalars['ID']['output'];
134861
+ asset?: Maybe<TheAsset>;
134862
+ assetId: Scalars['ID']['output'];
134863
+ contract?: Maybe<TheOfftakeContract>;
134864
+ contractId: Scalars['ID']['output'];
134865
+ createdAt: Scalars['DateTime']['output'];
134866
+ createdBy: Scalars['ID']['output'];
134867
+ id: Scalars['ID']['output'];
134868
+ notes?: Maybe<Scalars['String']['output']>;
134869
+ /** Start of the allocation period the volume was produced in. */
134870
+ periodStart: Scalars['DateTime']['output'];
134871
+ unit: TheUnit;
134872
+ volume: Scalars['Float']['output'];
134873
+ workspaceId: Scalars['ID']['output'];
134874
+ };
134875
+ export type TheContractEntitlementConnection = {
134876
+ __typename?: 'TheContractEntitlementConnection';
134877
+ items: Array<TheContractEntitlement>;
134878
+ pageInfo: ThePageInfo;
134879
+ };
134880
+ /** A contract's entitlement from approved allocations against its lifted (delivered) volume, in the contract's unit. */
134881
+ export type TheContractLiftingPosition = {
134882
+ __typename?: 'TheContractLiftingPosition';
134883
+ /** liftedVolume - entitledVolume: positive is over-lifted, negative under-lifted. */
134884
+ balanceVolume: Scalars['Float']['output'];
134885
+ contract?: Maybe<TheOfftakeContract>;
134886
+ contractId: Scalars['ID']['output'];
134887
+ contractedVolume: Scalars['Float']['output'];
134888
+ entitledVolume: Scalars['Float']['output'];
134889
+ entitlementCount: Scalars['Int']['output'];
134890
+ liftedVolume: Scalars['Float']['output'];
134891
+ position: TheLiftingPositionKind;
134892
+ unit: TheUnit;
134893
+ };
133567
134894
  export declare enum TheContractSide {
133568
134895
  BUY = "BUY",
133569
134896
  SELL = "SELL"
@@ -133602,6 +134929,16 @@ export declare enum TheCorrectiveActionStatus {
133602
134929
  OPEN = "OPEN",
133603
134930
  VERIFIED = "VERIFIED"
133604
134931
  }
134932
+ export type TheCreateAllocationCorrectionInput = {
134933
+ /** The APPROVED original allocation to correct. */
134934
+ allocationId: Scalars['ID']['input'];
134935
+ entries: Array<TheAllocationCorrectionEntryInput>;
134936
+ notes?: InputMaybe<Scalars['String']['input']>;
134937
+ periodEnd?: InputMaybe<Scalars['DateTime']['input']>;
134938
+ /** 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. */
134939
+ periodStart?: InputMaybe<Scalars['DateTime']['input']>;
134940
+ reason: Scalars['String']['input'];
134941
+ };
133605
134942
  export type TheCreateAssetInput = {
133606
134943
  area?: InputMaybe<Scalars['Float']['input']>;
133607
134944
  capacityPerDay?: InputMaybe<Scalars['Float']['input']>;
@@ -133616,6 +134953,8 @@ export type TheCreateAssetInput = {
133616
134953
  longitude?: InputMaybe<Scalars['Float']['input']>;
133617
134954
  name: Scalars['String']['input'];
133618
134955
  operatorLeadId?: InputMaybe<Scalars['ID']['input']>;
134956
+ /** Optional wspace-files-svc File id of the asset's photo (BOFF-10630). */
134957
+ photoFileId?: InputMaybe<Scalars['ID']['input']>;
133619
134958
  reservoirType?: InputMaybe<Scalars['String']['input']>;
133620
134959
  status?: InputMaybe<TheAssetStatus>;
133621
134960
  waterDepth?: InputMaybe<Scalars['Float']['input']>;
@@ -133633,6 +134972,14 @@ export type TheCreateComplianceCertInput = {
133633
134972
  ownerId?: InputMaybe<Scalars['ID']['input']>;
133634
134973
  title: Scalars['String']['input'];
133635
134974
  };
134975
+ export type TheCreateContractEntitlementInput = {
134976
+ /** An entry of an APPROVED allocation, in the contract's unit and commodity. */
134977
+ allocationEntryId: Scalars['ID']['input'];
134978
+ contractId: Scalars['ID']['input'];
134979
+ notes?: InputMaybe<Scalars['String']['input']>;
134980
+ /** Volume to assign (> 0). Defaults to the entry's whole remaining net revenue volume. */
134981
+ volume?: InputMaybe<Scalars['Float']['input']>;
134982
+ };
133636
134983
  export type TheCreateCorrectiveActionInput = {
133637
134984
  description: Scalars['String']['input'];
133638
134985
  dueDate?: InputMaybe<Scalars['DateTime']['input']>;
@@ -133640,6 +134987,29 @@ export type TheCreateCorrectiveActionInput = {
133640
134987
  notes?: InputMaybe<Scalars['String']['input']>;
133641
134988
  ownerId?: InputMaybe<Scalars['ID']['input']>;
133642
134989
  };
134990
+ export type TheCreateEquipmentInput = {
134991
+ assetId: Scalars['ID']['input'];
134992
+ category?: InputMaybe<TheEquipmentCategory>;
134993
+ criticality?: InputMaybe<TheMaintenancePriority>;
134994
+ installedAt?: InputMaybe<Scalars['DateTime']['input']>;
134995
+ manufacturer?: InputMaybe<Scalars['String']['input']>;
134996
+ model?: InputMaybe<Scalars['String']['input']>;
134997
+ name: Scalars['String']['input'];
134998
+ notes?: InputMaybe<Scalars['String']['input']>;
134999
+ serialNumber?: InputMaybe<Scalars['String']['input']>;
135000
+ tag?: InputMaybe<Scalars['String']['input']>;
135001
+ };
135002
+ export type TheCreateInterestDeckInput = {
135003
+ assetId: Scalars['ID']['input'];
135004
+ effectiveFrom: Scalars['DateTime']['input'];
135005
+ /** Exclusive end. Omit for open-ended. A deck starting after the asset's open-ended deck closes that deck at this deck's effectiveFrom. */
135006
+ effectiveTo?: InputMaybe<Scalars['DateTime']['input']>;
135007
+ notes?: InputMaybe<Scalars['String']['input']>;
135008
+ overridingRoyaltyPct?: InputMaybe<Scalars['Float']['input']>;
135009
+ /** 1-50 parties; exactly one with isWorkspaceInterest = true. */
135010
+ parties: Array<TheInterestDeckPartyInput>;
135011
+ royaltyPct?: InputMaybe<Scalars['Float']['input']>;
135012
+ };
133643
135013
  export type TheCreateInventoryLotInput = {
133644
135014
  assetId?: InputMaybe<Scalars['ID']['input']>;
133645
135015
  commodity: TheCommodityType;
@@ -133653,6 +135023,16 @@ export type TheCreateInventoryLotInput = {
133653
135023
  unit?: InputMaybe<TheUnit>;
133654
135024
  unitValue?: InputMaybe<Scalars['Float']['input']>;
133655
135025
  };
135026
+ export type TheCreateMaintenanceScheduleInput = {
135027
+ description?: InputMaybe<Scalars['String']['input']>;
135028
+ equipmentId: Scalars['ID']['input'];
135029
+ estimatedHours?: InputMaybe<Scalars['Float']['input']>;
135030
+ intervalDays: Scalars['Int']['input'];
135031
+ /** First due date; defaults to now + intervalDays. */
135032
+ nextDueAt?: InputMaybe<Scalars['DateTime']['input']>;
135033
+ priority?: InputMaybe<TheMaintenancePriority>;
135034
+ title: Scalars['String']['input'];
135035
+ };
133656
135036
  export type TheCreateOfftakeContractInput = {
133657
135037
  commodity: TheCommodityType;
133658
135038
  contractedVolume?: InputMaybe<Scalars['Float']['input']>;
@@ -133674,6 +135054,8 @@ export type TheCreateProductionAllocationInput = {
133674
135054
  method?: InputMaybe<TheAllocationMethod>;
133675
135055
  notes?: InputMaybe<Scalars['String']['input']>;
133676
135056
  productionRecordId: Scalars['ID']['input'];
135057
+ /** Shrinkage between the contributing assets and the measurement point, at most one line per category. */
135058
+ shrinkage?: InputMaybe<Array<TheAllocationShrinkageInput>>;
133677
135059
  };
133678
135060
  export type TheCreateReserveEstimateInput = {
133679
135061
  asOfDate: Scalars['DateTime']['input'];
@@ -133699,6 +135081,20 @@ export type TheCreateShipmentInput = {
133699
135081
  unit?: InputMaybe<TheUnit>;
133700
135082
  volume: Scalars['Float']['input'];
133701
135083
  };
135084
+ export type TheCreateWorkOrderInput = {
135085
+ /** Required unless equipmentId is given (the asset is then taken from the equipment). */
135086
+ assetId?: InputMaybe<Scalars['ID']['input']>;
135087
+ assigneeId?: InputMaybe<Scalars['ID']['input']>;
135088
+ conditionTrigger?: InputMaybe<Scalars['String']['input']>;
135089
+ description?: InputMaybe<Scalars['String']['input']>;
135090
+ equipmentId?: InputMaybe<Scalars['ID']['input']>;
135091
+ notes?: InputMaybe<Scalars['String']['input']>;
135092
+ priority?: InputMaybe<TheMaintenancePriority>;
135093
+ scheduledEnd?: InputMaybe<Scalars['DateTime']['input']>;
135094
+ scheduledStart?: InputMaybe<Scalars['DateTime']['input']>;
135095
+ title: Scalars['String']['input'];
135096
+ type?: InputMaybe<TheWorkOrderType>;
135097
+ };
133702
135098
  export type TheEmissionRecord = {
133703
135099
  __typename?: 'TheEmissionRecord';
133704
135100
  assetId?: Maybe<Scalars['ID']['output']>;
@@ -133726,6 +135122,49 @@ export declare enum TheEmissionScope {
133726
135122
  SCOPE_2 = "SCOPE_2",
133727
135123
  SCOPE_3 = "SCOPE_3"
133728
135124
  }
135125
+ export type TheEquipment = {
135126
+ __typename?: 'TheEquipment';
135127
+ assetId: Scalars['ID']['output'];
135128
+ category: TheEquipmentCategory;
135129
+ createdAt: Scalars['DateTime']['output'];
135130
+ criticality: TheMaintenancePriority;
135131
+ id: Scalars['ID']['output'];
135132
+ installedAt?: Maybe<Scalars['DateTime']['output']>;
135133
+ manufacturer?: Maybe<Scalars['String']['output']>;
135134
+ model?: Maybe<Scalars['String']['output']>;
135135
+ name: Scalars['String']['output'];
135136
+ notes?: Maybe<Scalars['String']['output']>;
135137
+ retiredAt?: Maybe<Scalars['DateTime']['output']>;
135138
+ serialNumber?: Maybe<Scalars['String']['output']>;
135139
+ status: TheEquipmentStatus;
135140
+ /** Plant / equipment tag number as stencilled in the field (e.g. P-101A). */
135141
+ tag?: Maybe<Scalars['String']['output']>;
135142
+ updatedAt: Scalars['DateTime']['output'];
135143
+ workspaceId: Scalars['ID']['output'];
135144
+ };
135145
+ export declare enum TheEquipmentCategory {
135146
+ COMPRESSOR = "COMPRESSOR",
135147
+ GENERATOR = "GENERATOR",
135148
+ INSTRUMENT = "INSTRUMENT",
135149
+ OTHER = "OTHER",
135150
+ PIPELINE = "PIPELINE",
135151
+ PUMP = "PUMP",
135152
+ TANK = "TANK",
135153
+ TURBINE = "TURBINE",
135154
+ VALVE = "VALVE",
135155
+ VEHICLE = "VEHICLE"
135156
+ }
135157
+ export type TheEquipmentConnection = {
135158
+ __typename?: 'TheEquipmentConnection';
135159
+ items: Array<TheEquipment>;
135160
+ pageInfo: ThePageInfo;
135161
+ };
135162
+ export declare enum TheEquipmentStatus {
135163
+ DEGRADED = "DEGRADED",
135164
+ DOWN = "DOWN",
135165
+ OPERATIONAL = "OPERATIONAL",
135166
+ RETIRED = "RETIRED"
135167
+ }
133729
135168
  /** 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. */
133730
135169
  export type TheEsgDisclosure = {
133731
135170
  __typename?: 'TheEsgDisclosure';
@@ -133765,6 +135204,64 @@ export type TheGenerateEsgDisclosureInput = {
133765
135204
  periodEnd: Scalars['DateTime']['input'];
133766
135205
  periodStart: Scalars['DateTime']['input'];
133767
135206
  };
135207
+ /** Result of raising planned work orders from due preventive-maintenance schedules. */
135208
+ export type TheGenerateWorkOrdersResult = {
135209
+ __typename?: 'TheGenerateWorkOrdersResult';
135210
+ created: Scalars['Int']['output'];
135211
+ workOrders: Array<TheWorkOrder>;
135212
+ };
135213
+ export type TheInterestDeck = {
135214
+ __typename?: 'TheInterestDeck';
135215
+ asset?: Maybe<TheAsset>;
135216
+ assetId: Scalars['ID']['output'];
135217
+ createdAt: Scalars['DateTime']['output'];
135218
+ createdBy: Scalars['ID']['output'];
135219
+ /** Inclusive start of the period the deck is in force. */
135220
+ effectiveFrom: Scalars['DateTime']['output'];
135221
+ /** Exclusive end of the period; null until the deck is superseded. */
135222
+ effectiveTo?: Maybe<Scalars['DateTime']['output']>;
135223
+ id: Scalars['ID']['output'];
135224
+ notes?: Maybe<Scalars['String']['output']>;
135225
+ /** Overriding royalty interest, 0-100, borne by the working interest. */
135226
+ overridingRoyaltyPct: Scalars['Float']['output'];
135227
+ parties: Array<TheInterestDeckParty>;
135228
+ /** Landowner / lessor royalty, 0-100, borne by the working interest. */
135229
+ royaltyPct: Scalars['Float']['output'];
135230
+ updatedAt: Scalars['DateTime']['output'];
135231
+ workspaceId: Scalars['ID']['output'];
135232
+ /** The workspace's own party (always present). */
135233
+ workspaceParty?: Maybe<TheInterestDeckParty>;
135234
+ };
135235
+ export type TheInterestDeckConnection = {
135236
+ __typename?: 'TheInterestDeckConnection';
135237
+ items: Array<TheInterestDeck>;
135238
+ pageInfo: ThePageInfo;
135239
+ };
135240
+ export type TheInterestDeckParty = {
135241
+ __typename?: 'TheInterestDeckParty';
135242
+ id: Scalars['ID']['output'];
135243
+ /** True for the single party that is this workspace's own interest. */
135244
+ isWorkspaceInterest: Scalars['Boolean']['output'];
135245
+ /** workingInterestPct x (1 - (royaltyPct + overridingRoyaltyPct) / 100). */
135246
+ netRevenueInterestPct: Scalars['Float']['output'];
135247
+ partyName: Scalars['String']['output'];
135248
+ workingInterestPct: Scalars['Float']['output'];
135249
+ };
135250
+ export type TheInterestDeckPartyInput = {
135251
+ isWorkspaceInterest?: InputMaybe<Scalars['Boolean']['input']>;
135252
+ partyName: Scalars['String']['input'];
135253
+ /** 0-100. The parties of a deck must sum to exactly 100. */
135254
+ workingInterestPct: Scalars['Float']['input'];
135255
+ };
135256
+ /** Where an allocation entry's ownership terms came from. */
135257
+ export declare enum TheInterestSource {
135258
+ /** No deck was in force: the asset's own working interest and no royalty. */
135259
+ ASSET_DEFAULT = "ASSET_DEFAULT",
135260
+ /** The interest deck in force for the whole allocation period. */
135261
+ INTEREST_DECK = "INTEREST_DECK",
135262
+ /** At least one term was entered on the allocation entry. */
135263
+ OVERRIDE = "OVERRIDE"
135264
+ }
133768
135265
  export type TheInventoryLot = {
133769
135266
  __typename?: 'TheInventoryLot';
133770
135267
  assetId?: Maybe<Scalars['ID']['output']>;
@@ -133825,15 +135322,81 @@ export declare enum TheLegalCheckpointType {
133825
135322
  /** Acceptance of the identity/verification service terms before first use. */
133826
135323
  VERIFICATION_FIRST_USE = "VERIFICATION_FIRST_USE"
133827
135324
  }
135325
+ export declare enum TheLiftingPositionKind {
135326
+ BALANCED = "BALANCED",
135327
+ /** More has been lifted (delivered) than the contract is entitled to. */
135328
+ OVER_LIFTED = "OVER_LIFTED",
135329
+ /** Less has been lifted than the contract is entitled to. */
135330
+ UNDER_LIFTED = "UNDER_LIFTED"
135331
+ }
135332
+ /** Live counts for the maintenance dashboard. */
135333
+ export type TheMaintenanceDashboard = {
135334
+ __typename?: 'TheMaintenanceDashboard';
135335
+ byStatus: Array<TheWorkOrderStatusCount>;
135336
+ byType: Array<TheWorkOrderTypeCount>;
135337
+ /** Downtime recorded on work orders completed in the last 30 days, in hours. */
135338
+ downtimeHoursLast30Days: Scalars['Float']['output'];
135339
+ equipmentDegraded: Scalars['Int']['output'];
135340
+ equipmentDown: Scalars['Int']['output'];
135341
+ openWorkOrders: Scalars['Int']['output'];
135342
+ overdueWorkOrders: Scalars['Int']['output'];
135343
+ schedulesDue: Scalars['Int']['output'];
135344
+ };
135345
+ /** Maintenance history for an asset (optionally narrowed to one piece of equipment): finished work orders newest first, plus downtime totals. */
135346
+ export type TheMaintenanceHistory = {
135347
+ __typename?: 'TheMaintenanceHistory';
135348
+ assetId: Scalars['ID']['output'];
135349
+ /** Downtime hours that are attributed to a production record. */
135350
+ attributedDowntimeHours: Scalars['Float']['output'];
135351
+ completedWorkOrders: Scalars['Int']['output'];
135352
+ equipmentId?: Maybe<Scalars['ID']['output']>;
135353
+ items: Array<TheWorkOrder>;
135354
+ lastCompletedAt?: Maybe<Scalars['DateTime']['output']>;
135355
+ pageInfo: ThePageInfo;
135356
+ totalDowntimeHours: Scalars['Float']['output'];
135357
+ };
135358
+ export declare enum TheMaintenancePriority {
135359
+ HIGH = "HIGH",
135360
+ LOW = "LOW",
135361
+ MEDIUM = "MEDIUM",
135362
+ URGENT = "URGENT"
135363
+ }
135364
+ export type TheMaintenanceSchedule = {
135365
+ __typename?: 'TheMaintenanceSchedule';
135366
+ active: Scalars['Boolean']['output'];
135367
+ createdAt: Scalars['DateTime']['output'];
135368
+ description?: Maybe<Scalars['String']['output']>;
135369
+ equipmentId: Scalars['ID']['output'];
135370
+ estimatedHours?: Maybe<Scalars['Float']['output']>;
135371
+ id: Scalars['ID']['output'];
135372
+ intervalDays: Scalars['Int']['output'];
135373
+ lastCompletedAt?: Maybe<Scalars['DateTime']['output']>;
135374
+ nextDueAt: Scalars['DateTime']['output'];
135375
+ priority: TheMaintenancePriority;
135376
+ title: Scalars['String']['output'];
135377
+ updatedAt: Scalars['DateTime']['output'];
135378
+ workspaceId: Scalars['ID']['output'];
135379
+ };
135380
+ export type TheMaintenanceScheduleConnection = {
135381
+ __typename?: 'TheMaintenanceScheduleConnection';
135382
+ items: Array<TheMaintenanceSchedule>;
135383
+ pageInfo: ThePageInfo;
135384
+ };
133828
135385
  /** Net position for one asset and unit over a period, from APPROVED allocations only. */
133829
135386
  export type TheNetPositionLine = {
133830
135387
  __typename?: 'TheNetPositionLine';
133831
135388
  allocationCount: Scalars['Int']['output'];
133832
135389
  asset?: Maybe<TheAsset>;
133833
135390
  assetId: Scalars['ID']['output'];
135391
+ /** The asset's commodity; set when a reporting unit was requested. */
135392
+ commodity?: Maybe<TheCommodityType>;
135393
+ /** Factor converting this line's unit into the reporting unit; null when none was requested or no conversion exists. */
135394
+ conversionFactor?: Maybe<Scalars['Float']['output']>;
133834
135395
  grossAllocatedVolume: Scalars['Float']['output'];
133835
135396
  netRevenueVolume: Scalars['Float']['output'];
133836
135397
  netWorkingInterestVolume: Scalars['Float']['output'];
135398
+ /** This line's volumes in the reporting unit; null when none was requested or no conversion exists. */
135399
+ reported?: Maybe<TheNetPositionTotal>;
133837
135400
  royaltyVolume: Scalars['Float']['output'];
133838
135401
  unit: TheUnit;
133839
135402
  };
@@ -133853,7 +135416,13 @@ export type TheNetProductionPosition = {
133853
135416
  lines: Array<TheNetPositionLine>;
133854
135417
  periodEnd: Scalars['DateTime']['output'];
133855
135418
  periodStart: Scalars['DateTime']['output'];
135419
+ /** All convertible lines totalled in the reporting unit; null when no reporting unit was requested or no line could be converted. */
135420
+ reportingTotal?: Maybe<TheNetPositionTotal>;
135421
+ /** The requested reporting unit, if any. */
135422
+ reportingUnit?: Maybe<TheUnit>;
133856
135423
  totals: Array<TheNetPositionTotal>;
135424
+ /** Lines left out of reportingTotal because no conversion exists for their commodity and unit. */
135425
+ unconvertibleCount: Scalars['Int']['output'];
133857
135426
  };
133858
135427
  export type TheOfftakeContract = {
133859
135428
  __typename?: 'TheOfftakeContract';
@@ -133905,10 +135474,18 @@ export type TheProductionAllocation = {
133905
135474
  allocatedTotal: Scalars['Float']['output'];
133906
135475
  approvedAt?: Maybe<Scalars['DateTime']['output']>;
133907
135476
  approvedBy?: Maybe<Scalars['ID']['output']>;
135477
+ correctionReason?: Maybe<Scalars['String']['output']>;
135478
+ /** Corrections recorded against this allocation, oldest first. */
135479
+ corrections: Array<TheProductionAllocation>;
135480
+ correctsAllocation?: Maybe<TheProductionAllocation>;
135481
+ /** The APPROVED original allocation this correction adjusts. */
135482
+ correctsAllocationId?: Maybe<Scalars['ID']['output']>;
133908
135483
  createdAt: Scalars['DateTime']['output'];
133909
135484
  createdBy: Scalars['ID']['output'];
133910
135485
  entries: Array<TheAllocationEntry>;
133911
135486
  id: Scalars['ID']['output'];
135487
+ /** True for a prior-period correction of another allocation. */
135488
+ isCorrection: Scalars['Boolean']['output'];
133912
135489
  /** Measured (gross) volume being allocated, snapshotted from the production record. */
133913
135490
  measuredVolume: Scalars['Float']['output'];
133914
135491
  measurementAsset?: Maybe<TheAsset>;
@@ -133922,13 +135499,23 @@ export type TheProductionAllocation = {
133922
135499
  periodStart: Scalars['DateTime']['output'];
133923
135500
  productionRecord?: Maybe<TheProductionRecord>;
133924
135501
  productionRecordId: Scalars['ID']['output'];
135502
+ /** wellheadVolume / theoreticalTotal; null without theoretical volumes. */
135503
+ reconciliationFactor?: Maybe<Scalars['Float']['output']>;
133925
135504
  reversalReason?: Maybe<Scalars['String']['output']>;
133926
135505
  reversedAt?: Maybe<Scalars['DateTime']['output']>;
133927
135506
  reversedBy?: Maybe<Scalars['ID']['output']>;
133928
135507
  royaltyTotal: Scalars['Float']['output'];
135508
+ /** Shrinkage by category (all four categories, zero when not recorded). */
135509
+ shrinkage: Array<TheAllocationShrinkage>;
135510
+ /** Sum of the shrinkage categories. */
135511
+ shrinkageTotal: Scalars['Float']['output'];
133929
135512
  status: TheAllocationStatus;
135513
+ /** Sum of the entries' theoretical volumes; null unless every entry supplied one. */
135514
+ theoreticalTotal?: Maybe<Scalars['Float']['output']>;
133930
135515
  unit: TheUnit;
133931
135516
  updatedAt: Scalars['DateTime']['output'];
135517
+ /** measuredVolume + shrinkageTotal: the volume produced at the contributing assets. */
135518
+ wellheadVolume: Scalars['Float']['output'];
133932
135519
  workspaceId: Scalars['ID']['output'];
133933
135520
  };
133934
135521
  export type TheProductionAllocationConnection = {
@@ -134023,6 +135610,11 @@ export type TheReserveEstimateConnection = {
134023
135610
  items: Array<TheReserveEstimate>;
134024
135611
  pageInfo: ThePageInfo;
134025
135612
  };
135613
+ export type TheResetUnitConversionInput = {
135614
+ commodity: TheCommodityType;
135615
+ fromUnit: TheUnit;
135616
+ toUnit: TheUnit;
135617
+ };
134026
135618
  export type TheSafetyCategoryCount = {
134027
135619
  __typename?: 'TheSafetyCategoryCount';
134028
135620
  category: TheSafetyIncidentCategory;
@@ -134091,6 +135683,14 @@ export type TheSafetySeverityCount = {
134091
135683
  count: Scalars['Int']['output'];
134092
135684
  severity: TheSafetyIncidentSeverity;
134093
135685
  };
135686
+ export type TheSetUnitConversionInput = {
135687
+ commodity: TheCommodityType;
135688
+ /** One fromUnit equals this many toUnit (> 0). */
135689
+ factor: Scalars['Float']['input'];
135690
+ fromUnit: TheUnit;
135691
+ notes?: InputMaybe<Scalars['String']['input']>;
135692
+ toUnit: TheUnit;
135693
+ };
134094
135694
  export type TheShipment = {
134095
135695
  __typename?: 'TheShipment';
134096
135696
  carrier?: Maybe<Scalars['String']['output']>;
@@ -134128,6 +135728,17 @@ export declare enum TheShipmentStatus {
134128
135728
  LOADING = "LOADING",
134129
135729
  SCHEDULED = "SCHEDULED"
134130
135730
  }
135731
+ /** Volumes produced at the contributing assets that never reach the measurement point (BOFF-10789). */
135732
+ export declare enum TheShrinkageCategory {
135733
+ /** Gas flared or vented. */
135734
+ FLARE = "FLARE",
135735
+ /** Fuel and own use on site. */
135736
+ FUEL = "FUEL",
135737
+ /** Volumes re-injected into the reservoir. */
135738
+ INJECTION = "INJECTION",
135739
+ /** Evaporation, metering and handling losses. */
135740
+ LOSS = "LOSS"
135741
+ }
134131
135742
  export declare enum TheTransportMode {
134132
135743
  GRID = "GRID",
134133
135744
  PIPELINE = "PIPELINE",
@@ -134145,6 +135756,21 @@ export declare enum TheUnit {
134145
135756
  MWH = "MWH",
134146
135757
  TONNES = "TONNES"
134147
135758
  }
135759
+ /** An effective unit conversion factor for a commodity: a built-in default or this workspace's override. */
135760
+ export type TheUnitConversion = {
135761
+ __typename?: 'TheUnitConversion';
135762
+ commodity: TheCommodityType;
135763
+ /** The built-in factor for the same pair and direction, if any. */
135764
+ defaultFactor?: Maybe<Scalars['Float']['output']>;
135765
+ /** One fromUnit equals this many toUnit. */
135766
+ factor: Scalars['Float']['output'];
135767
+ fromUnit: TheUnit;
135768
+ /** Override id; null for a built-in default. */
135769
+ id?: Maybe<Scalars['ID']['output']>;
135770
+ isDefault: Scalars['Boolean']['output'];
135771
+ notes?: Maybe<Scalars['String']['output']>;
135772
+ toUnit: TheUnit;
135773
+ };
134148
135774
  export type TheUpdateAssetInput = {
134149
135775
  area?: InputMaybe<Scalars['Float']['input']>;
134150
135776
  capacityPerDay?: InputMaybe<Scalars['Float']['input']>;
@@ -134160,10 +135786,33 @@ export type TheUpdateAssetInput = {
134160
135786
  longitude?: InputMaybe<Scalars['Float']['input']>;
134161
135787
  name?: InputMaybe<Scalars['String']['input']>;
134162
135788
  operatorLeadId?: InputMaybe<Scalars['ID']['input']>;
135789
+ /** Replace the asset's photo with this wspace-files-svc File id. A null value is ignored here; use theSetAssetPhoto to remove a photo. */
135790
+ photoFileId?: InputMaybe<Scalars['ID']['input']>;
134163
135791
  reservoirType?: InputMaybe<Scalars['String']['input']>;
134164
135792
  waterDepth?: InputMaybe<Scalars['Float']['input']>;
134165
135793
  workingInterestPct?: InputMaybe<Scalars['Float']['input']>;
134166
135794
  };
135795
+ export type TheUpdateEquipmentInput = {
135796
+ category?: InputMaybe<TheEquipmentCategory>;
135797
+ criticality?: InputMaybe<TheMaintenancePriority>;
135798
+ installedAt?: InputMaybe<Scalars['DateTime']['input']>;
135799
+ manufacturer?: InputMaybe<Scalars['String']['input']>;
135800
+ model?: InputMaybe<Scalars['String']['input']>;
135801
+ name?: InputMaybe<Scalars['String']['input']>;
135802
+ notes?: InputMaybe<Scalars['String']['input']>;
135803
+ serialNumber?: InputMaybe<Scalars['String']['input']>;
135804
+ status?: InputMaybe<TheEquipmentStatus>;
135805
+ tag?: InputMaybe<Scalars['String']['input']>;
135806
+ };
135807
+ export type TheUpdateMaintenanceScheduleInput = {
135808
+ active?: InputMaybe<Scalars['Boolean']['input']>;
135809
+ description?: InputMaybe<Scalars['String']['input']>;
135810
+ estimatedHours?: InputMaybe<Scalars['Float']['input']>;
135811
+ intervalDays?: InputMaybe<Scalars['Int']['input']>;
135812
+ nextDueAt?: InputMaybe<Scalars['DateTime']['input']>;
135813
+ priority?: InputMaybe<TheMaintenancePriority>;
135814
+ title?: InputMaybe<Scalars['String']['input']>;
135815
+ };
134167
135816
  export type TheUpdateOfftakeContractInput = {
134168
135817
  contractedVolume?: InputMaybe<Scalars['Float']['input']>;
134169
135818
  counterparty?: InputMaybe<Scalars['String']['input']>;
@@ -134188,6 +135837,87 @@ export type TheUpdateShipmentInput = {
134188
135837
  scheduledAt?: InputMaybe<Scalars['DateTime']['input']>;
134189
135838
  trackingId?: InputMaybe<Scalars['String']['input']>;
134190
135839
  };
135840
+ export type TheUpdateWorkOrderInput = {
135841
+ assigneeId?: InputMaybe<Scalars['ID']['input']>;
135842
+ conditionTrigger?: InputMaybe<Scalars['String']['input']>;
135843
+ description?: InputMaybe<Scalars['String']['input']>;
135844
+ notes?: InputMaybe<Scalars['String']['input']>;
135845
+ priority?: InputMaybe<TheMaintenancePriority>;
135846
+ scheduledEnd?: InputMaybe<Scalars['DateTime']['input']>;
135847
+ scheduledStart?: InputMaybe<Scalars['DateTime']['input']>;
135848
+ title?: InputMaybe<Scalars['String']['input']>;
135849
+ };
135850
+ export type TheWorkOrder = {
135851
+ __typename?: 'TheWorkOrder';
135852
+ assetId: Scalars['ID']['output'];
135853
+ assigneeId?: Maybe<Scalars['ID']['output']>;
135854
+ cancelledAt?: Maybe<Scalars['DateTime']['output']>;
135855
+ closedAt?: Maybe<Scalars['DateTime']['output']>;
135856
+ completedAt?: Maybe<Scalars['DateTime']['output']>;
135857
+ completionNotes?: Maybe<Scalars['String']['output']>;
135858
+ /** For condition-based work: the monitored condition that triggered it. */
135859
+ conditionTrigger?: Maybe<Scalars['String']['output']>;
135860
+ createdAt: Scalars['DateTime']['output'];
135861
+ description?: Maybe<Scalars['String']['output']>;
135862
+ /** Equipment / asset downtime caused by this work, in hours. */
135863
+ downtimeHours?: Maybe<Scalars['Float']['output']>;
135864
+ equipment?: Maybe<TheEquipment>;
135865
+ equipmentId?: Maybe<Scalars['ID']['output']>;
135866
+ id: Scalars['ID']['output'];
135867
+ /** The production record whose downtime this work order explains, if attributed. */
135868
+ linkedProductionRecordId?: Maybe<Scalars['ID']['output']>;
135869
+ notes?: Maybe<Scalars['String']['output']>;
135870
+ /** True when the work is not finished and its scheduled end has passed. */
135871
+ overdue: Scalars['Boolean']['output'];
135872
+ priority: TheMaintenancePriority;
135873
+ /** The preventive-maintenance schedule this work order was raised from, if any. */
135874
+ scheduleId?: Maybe<Scalars['ID']['output']>;
135875
+ scheduledEnd?: Maybe<Scalars['DateTime']['output']>;
135876
+ scheduledStart?: Maybe<Scalars['DateTime']['output']>;
135877
+ startedAt?: Maybe<Scalars['DateTime']['output']>;
135878
+ status: TheWorkOrderStatus;
135879
+ title: Scalars['String']['output'];
135880
+ type: TheWorkOrderType;
135881
+ updatedAt: Scalars['DateTime']['output'];
135882
+ workspaceId: Scalars['ID']['output'];
135883
+ };
135884
+ export type TheWorkOrderConnection = {
135885
+ __typename?: 'TheWorkOrderConnection';
135886
+ items: Array<TheWorkOrder>;
135887
+ pageInfo: ThePageInfo;
135888
+ };
135889
+ export declare enum TheWorkOrderStatus {
135890
+ CANCELLED = "CANCELLED",
135891
+ CLOSED = "CLOSED",
135892
+ COMPLETED = "COMPLETED",
135893
+ IN_PROGRESS = "IN_PROGRESS",
135894
+ OPEN = "OPEN",
135895
+ SCHEDULED = "SCHEDULED"
135896
+ }
135897
+ export type TheWorkOrderStatusCount = {
135898
+ __typename?: 'TheWorkOrderStatusCount';
135899
+ count: Scalars['Int']['output'];
135900
+ status: TheWorkOrderStatus;
135901
+ };
135902
+ /** Optional details captured with a lifecycle transition. Scheduling fields apply to SCHEDULED; completion fields apply to COMPLETED. */
135903
+ export type TheWorkOrderTransitionInput = {
135904
+ completionNotes?: InputMaybe<Scalars['String']['input']>;
135905
+ downtimeHours?: InputMaybe<Scalars['Float']['input']>;
135906
+ linkedProductionRecordId?: InputMaybe<Scalars['ID']['input']>;
135907
+ scheduledEnd?: InputMaybe<Scalars['DateTime']['input']>;
135908
+ scheduledStart?: InputMaybe<Scalars['DateTime']['input']>;
135909
+ };
135910
+ /** How a work order originated: a recurring schedule (PLANNED), a monitored condition crossing a threshold (CONDITION_BASED), or a breakdown (REACTIVE). */
135911
+ export declare enum TheWorkOrderType {
135912
+ CONDITION_BASED = "CONDITION_BASED",
135913
+ PLANNED = "PLANNED",
135914
+ REACTIVE = "REACTIVE"
135915
+ }
135916
+ export type TheWorkOrderTypeCount = {
135917
+ __typename?: 'TheWorkOrderTypeCount';
135918
+ count: Scalars['Int']['output'];
135919
+ type: TheWorkOrderType;
135920
+ };
134191
135921
  export type TimeApprovalRequest = {
134192
135922
  __typename?: 'TimeApprovalRequest';
134193
135923
  approverId?: Maybe<Scalars['ID']['output']>;
@@ -136801,7 +138531,10 @@ export type UninstallParserTypeInput = {
136801
138531
  parserVersion: Scalars['String']['input'];
136802
138532
  workspaceId: Scalars['ID']['input'];
136803
138533
  };
136804
- /** UniversalTag type stub - exists in wspace-tags-svc Federation stub for referencing tags from other services */
138534
+ /**
138535
+ * UniversalTag type stub - exists in wspace-tags-svc
138536
+ * Federation stub for referencing tags from other services
138537
+ */
136805
138538
  export type UniversalTag = {
136806
138539
  __typename?: 'UniversalTag';
136807
138540
  ancestors: Array<UniversalTag>;
@@ -138286,7 +140019,10 @@ export type UpdateFileInput = {
138286
140019
  description?: InputMaybe<Scalars['String']['input']>;
138287
140020
  folderId?: InputMaybe<Scalars['ID']['input']>;
138288
140021
  name?: InputMaybe<Scalars['String']['input']>;
138289
- /** Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}` records. Replaces the row's `File.tags` Json column on update. */
140022
+ /**
140023
+ * Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}`
140024
+ * records. Replaces the row's `File.tags` Json column on update.
140025
+ */
138290
140026
  tags?: InputMaybe<Scalars['JSON']['input']>;
138291
140027
  visibility?: InputMaybe<FileVisibility>;
138292
140028
  };
@@ -138305,7 +140041,10 @@ export type UpdateFolderInput = {
138305
140041
  description?: InputMaybe<Scalars['String']['input']>;
138306
140042
  icon?: InputMaybe<Scalars['String']['input']>;
138307
140043
  name?: InputMaybe<Scalars['String']['input']>;
138308
- /** Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}` records. Replaces the row's `Folder.tags` Json column on update. */
140044
+ /**
140045
+ * Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}`
140046
+ * records. Replaces the row's `Folder.tags` Json column on update.
140047
+ */
138309
140048
  tags?: InputMaybe<Scalars['JSON']['input']>;
138310
140049
  visibility?: InputMaybe<FileVisibility>;
138311
140050
  };
@@ -140890,7 +142629,10 @@ export type UploadFileInput = {
140890
142629
  s3Bucket: Scalars['String']['input'];
140891
142630
  s3Key: Scalars['String']['input'];
140892
142631
  size: Scalars['BigInt']['input'];
140893
- /** Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}` records. Backed by the canonical `File.tags` Json column. */
142632
+ /**
142633
+ * Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}`
142634
+ * records. Backed by the canonical `File.tags` Json column.
142635
+ */
140894
142636
  tags?: InputMaybe<Scalars['JSON']['input']>;
140895
142637
  visibility?: InputMaybe<FileVisibility>;
140896
142638
  };
@@ -141367,7 +143109,12 @@ export type UserProfile = {
141367
143109
  language?: Maybe<Scalars['String']['output']>;
141368
143110
  timezone?: Maybe<Scalars['String']['output']>;
141369
143111
  };
141370
- /** 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`. */
143112
+ /**
143113
+ * Per-user storage consumption + the plan-driven cap, used by the UI to render
143114
+ * "X of Y GB used" and to gate upload affordances client-side. Source of truth for
143115
+ * enforcement is the server's `uploadFile` mutation, which throws
143116
+ * `STORAGE_QUOTA_EXCEEDED` with the same fields in `extensions`.
143117
+ */
141371
143118
  export type UserStorageUsage = {
141372
143119
  __typename?: 'UserStorageUsage';
141373
143120
  /** Bytes currently consumed across all workspaces known to this svc. BigInt as String. */