@burdenoff/microfe-movethewheels 2026.1107.5 → 2026.1107.7

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.
@@ -47107,6 +47107,36 @@ export enum HeadshotmarketingReportDateRange {
47107
47107
  LAST_90_DAYS = 'LAST_90_DAYS'
47108
47108
  }
47109
47109
 
47110
+ /** Outcome of one delivery attempt. */
47111
+ export enum HeadshotmarketingReportDeliveryStatus {
47112
+ /** No recipient was sent the report. */
47113
+ FAILED = 'FAILED',
47114
+ /** Some recipients were sent the report; others failed. */
47115
+ PARTIAL = 'PARTIAL',
47116
+ /** The delivery is in progress. */
47117
+ RUNNING = 'RUNNING',
47118
+ /** Every recipient was sent the report. */
47119
+ SENT = 'SENT',
47120
+ /** Nothing was sent because no recipient is still a workspace member with an email address. */
47121
+ SKIPPED = 'SKIPPED'
47122
+ }
47123
+
47124
+ /** What started a delivery attempt. */
47125
+ export enum HeadshotmarketingReportDeliveryTrigger {
47126
+ /** A workspace member chose Send now. */
47127
+ MANUAL = 'MANUAL',
47128
+ /** The schedule came due. */
47129
+ SCHEDULED = 'SCHEDULED'
47130
+ }
47131
+
47132
+ /** How often a scheduled report is delivered. */
47133
+ export enum HeadshotmarketingReportScheduleCadence {
47134
+ /** Once a month, on dayOfMonth. */
47135
+ MONTHLY = 'MONTHLY',
47136
+ /** Once a week, on dayOfWeek. */
47137
+ WEEKLY = 'WEEKLY'
47138
+ }
47139
+
47110
47140
  /** A widget a saved report can show. */
47111
47141
  export enum HeadshotmarketingReportWidget {
47112
47142
  /** First-touch against last-touch attributed revenue per channel. */
@@ -47334,6 +47364,8 @@ export type HeadshotmarketingSavedReport = {
47334
47364
  description?: Maybe<Scalars['String']['output']>;
47335
47365
  id: Scalars['ID']['output'];
47336
47366
  name: Scalars['String']['output'];
47367
+ /** The report's delivery schedule, or null when it is not scheduled. */
47368
+ schedule?: Maybe<HeadshotmarketingSavedReportSchedule>;
47337
47369
  updatedAt: Scalars['DateTime']['output'];
47338
47370
  updatedBy?: Maybe<Scalars['String']['output']>;
47339
47371
  /** Widgets in display order. */
@@ -47341,6 +47373,33 @@ export type HeadshotmarketingSavedReport = {
47341
47373
  workspaceId: Scalars['ID']['output'];
47342
47374
  };
47343
47375
 
47376
+ export type HeadshotmarketingSavedReportDeliveryRun = {
47377
+ __typename?: 'HeadshotmarketingSavedReportDeliveryRun';
47378
+ completedAt?: Maybe<Scalars['DateTime']['output']>;
47379
+ deliveredCount: Scalars['Int']['output'];
47380
+ error?: Maybe<Scalars['String']['output']>;
47381
+ id: Scalars['ID']['output'];
47382
+ recipientCount: Scalars['Int']['output'];
47383
+ reportId: Scalars['ID']['output'];
47384
+ scheduleId?: Maybe<Scalars['ID']['output']>;
47385
+ /** The due time of a scheduled delivery; null for a manual send. */
47386
+ scheduledFor?: Maybe<Scalars['DateTime']['output']>;
47387
+ startedAt: Scalars['DateTime']['output'];
47388
+ status: HeadshotmarketingReportDeliveryStatus;
47389
+ trigger: HeadshotmarketingReportDeliveryTrigger;
47390
+ /** End of the reporting window the delivery covered. */
47391
+ windowEnd: Scalars['DateTime']['output'];
47392
+ /** Start of the reporting window the delivery covered. */
47393
+ windowStart: Scalars['DateTime']['output'];
47394
+ };
47395
+
47396
+ export type HeadshotmarketingSavedReportDeliveryRunList = {
47397
+ __typename?: 'HeadshotmarketingSavedReportDeliveryRunList';
47398
+ hasMore: Scalars['Boolean']['output'];
47399
+ items: Array<HeadshotmarketingSavedReportDeliveryRun>;
47400
+ total: Scalars['Int']['output'];
47401
+ };
47402
+
47344
47403
  export type HeadshotmarketingSavedReportList = {
47345
47404
  __typename?: 'HeadshotmarketingSavedReportList';
47346
47405
  hasMore: Scalars['Boolean']['output'];
@@ -47348,6 +47407,34 @@ export type HeadshotmarketingSavedReportList = {
47348
47407
  total: Scalars['Int']['output'];
47349
47408
  };
47350
47409
 
47410
+ export type HeadshotmarketingSavedReportSchedule = {
47411
+ __typename?: 'HeadshotmarketingSavedReportSchedule';
47412
+ cadence: HeadshotmarketingReportScheduleCadence;
47413
+ createdAt: Scalars['DateTime']['output'];
47414
+ createdBy?: Maybe<Scalars['String']['output']>;
47415
+ /** 1 to 28. Set for MONTHLY schedules. */
47416
+ dayOfMonth?: Maybe<Scalars['Int']['output']>;
47417
+ /** 0 = Sunday .. 6 = Saturday. Set for WEEKLY schedules. */
47418
+ dayOfWeek?: Maybe<Scalars['Int']['output']>;
47419
+ /** False pauses deliveries without deleting the schedule. */
47420
+ enabled: Scalars['Boolean']['output'];
47421
+ /** Local hour of delivery, 0 to 23, in timezone. */
47422
+ hour: Scalars['Int']['output'];
47423
+ id: Scalars['ID']['output'];
47424
+ lastRunAt?: Maybe<Scalars['DateTime']['output']>;
47425
+ lastRunError?: Maybe<Scalars['String']['output']>;
47426
+ lastRunStatus?: Maybe<HeadshotmarketingReportDeliveryStatus>;
47427
+ /** When the next delivery is due (UTC); null while paused. */
47428
+ nextRunAt?: Maybe<Scalars['DateTime']['output']>;
47429
+ /** Workspace member user ids that receive the report. */
47430
+ recipientUserIds: Array<Scalars['ID']['output']>;
47431
+ reportId: Scalars['ID']['output'];
47432
+ /** IANA timezone name, e.g. Asia/Kolkata. */
47433
+ timezone: Scalars['String']['output'];
47434
+ updatedAt: Scalars['DateTime']['output'];
47435
+ updatedBy?: Maybe<Scalars['String']['output']>;
47436
+ };
47437
+
47351
47438
  export type HeadshotmarketingScoreLeadInput = {
47352
47439
  /** Return the score without writing it to the lead */
47353
47440
  dryRun?: InputMaybe<Scalars['Boolean']['input']>;
@@ -47396,6 +47483,22 @@ export type HeadshotmarketingSetMonthlyGoalInput = {
47396
47483
  trafficTarget?: InputMaybe<Scalars['Int']['input']>;
47397
47484
  };
47398
47485
 
47486
+ export type HeadshotmarketingSetSavedReportScheduleInput = {
47487
+ cadence: HeadshotmarketingReportScheduleCadence;
47488
+ /** Required for MONTHLY: 1 to 28. */
47489
+ dayOfMonth?: InputMaybe<Scalars['Int']['input']>;
47490
+ /** Required for WEEKLY: 0 = Sunday .. 6 = Saturday. */
47491
+ dayOfWeek?: InputMaybe<Scalars['Int']['input']>;
47492
+ /** Defaults to true. */
47493
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
47494
+ /** Local hour of delivery, 0 to 23. */
47495
+ hour: Scalars['Int']['input'];
47496
+ /** 1 to 50 workspace member user ids; each must have an email address. */
47497
+ recipientUserIds: Array<Scalars['ID']['input']>;
47498
+ /** IANA timezone name. */
47499
+ timezone: Scalars['String']['input'];
47500
+ };
47501
+
47399
47502
  /** A connected social media account used for publishing posts and tracking engagement. */
47400
47503
  export type HeadshotmarketingSocialAccount = {
47401
47504
  __typename?: 'HeadshotmarketingSocialAccount';
@@ -57004,6 +57107,105 @@ export enum HousingVistaViewingType {
57004
57107
  virtual = 'virtual'
57005
57108
  }
57006
57109
 
57110
+ export type HrisDirectorySyncSchedule = {
57111
+ __typename?: 'HrisDirectorySyncSchedule';
57112
+ connectionId: Scalars['ID']['output'];
57113
+ intervalHours: Scalars['Int']['output'];
57114
+ nextRunAt?: Maybe<Scalars['DateTime']['output']>;
57115
+ scheduleEnabled: Scalars['Boolean']['output'];
57116
+ };
57117
+
57118
+ export type HrisDirectorySyncStatus = {
57119
+ __typename?: 'HrisDirectorySyncStatus';
57120
+ /**
57121
+ * True once a preview succeeded with the current credentials; a sync (and the
57122
+ * schedule) can run only then.
57123
+ */
57124
+ canApply: Scalars['Boolean']['output'];
57125
+ connectionId: Scalars['ID']['output'];
57126
+ connectionStatus: ConnectionStatus;
57127
+ credentialsUpdatedAt?: Maybe<Scalars['DateTime']['output']>;
57128
+ intervalHours: Scalars['Int']['output'];
57129
+ lastApply?: Maybe<HrisSyncRun>;
57130
+ lastPreview?: Maybe<HrisSyncRun>;
57131
+ nextRunAt?: Maybe<Scalars['DateTime']['output']>;
57132
+ /** workday or sap-successfactors */
57133
+ providerKey: Scalars['String']['output'];
57134
+ running?: Maybe<HrisSyncRun>;
57135
+ scheduleEnabled: Scalars['Boolean']['output'];
57136
+ };
57137
+
57138
+ /** What a sync did (or, in a preview, would do) for one worker. */
57139
+ export type HrisSyncItem = {
57140
+ __typename?: 'HrisSyncItem';
57141
+ action: HrisSyncItemAction;
57142
+ detail?: Maybe<Scalars['String']['output']>;
57143
+ email?: Maybe<Scalars['String']['output']>;
57144
+ externalId: Scalars['String']['output'];
57145
+ userId?: Maybe<Scalars['ID']['output']>;
57146
+ };
57147
+
57148
+ export enum HrisSyncItemAction {
57149
+ CONFLICT = 'CONFLICT',
57150
+ CREATE = 'CREATE',
57151
+ DEACTIVATE = 'DEACTIVATE',
57152
+ ERROR = 'ERROR',
57153
+ REACTIVATE = 'REACTIVATE',
57154
+ SKIP = 'SKIP',
57155
+ UNCHANGED = 'UNCHANGED',
57156
+ UPDATE = 'UPDATE'
57157
+ }
57158
+
57159
+ /**
57160
+ * HR-system directory sync (BOFF-10564): a Workday or SAP SuccessFactors
57161
+ * connection pulls the workspace's workers and provisions them with the same
57162
+ * outcomes as SCIM provisioning (create, update name and email, deactivate).
57163
+ */
57164
+ export enum HrisSyncMode {
57165
+ /** Pull and apply. */
57166
+ APPLY = 'APPLY',
57167
+ /** Pull and plan only; nothing in the workspace changes. */
57168
+ PREVIEW = 'PREVIEW'
57169
+ }
57170
+
57171
+ export type HrisSyncRun = {
57172
+ __typename?: 'HrisSyncRun';
57173
+ conflicts: Scalars['Int']['output'];
57174
+ connectionId: Scalars['ID']['output'];
57175
+ created: Scalars['Int']['output'];
57176
+ deactivated: Scalars['Int']['output'];
57177
+ errorCode?: Maybe<Scalars['String']['output']>;
57178
+ errorMessage?: Maybe<Scalars['String']['output']>;
57179
+ errors: Scalars['Int']['output'];
57180
+ finishedAt?: Maybe<Scalars['DateTime']['output']>;
57181
+ id: Scalars['ID']['output'];
57182
+ /** Workers whose outcome is not UNCHANGED (at most 500). */
57183
+ items: Array<HrisSyncItem>;
57184
+ mode: HrisSyncMode;
57185
+ reactivated: Scalars['Int']['output'];
57186
+ skipped: Scalars['Int']['output'];
57187
+ startedAt: Scalars['DateTime']['output'];
57188
+ startedBy: Scalars['String']['output'];
57189
+ status: HrisSyncStatus;
57190
+ trigger: HrisSyncTrigger;
57191
+ unchanged: Scalars['Int']['output'];
57192
+ updated: Scalars['Int']['output'];
57193
+ workersFetched: Scalars['Int']['output'];
57194
+ };
57195
+
57196
+ export enum HrisSyncStatus {
57197
+ FAILED = 'FAILED',
57198
+ /** Finished, but some workers ended in CONFLICT or ERROR. */
57199
+ PARTIAL = 'PARTIAL',
57200
+ RUNNING = 'RUNNING',
57201
+ SUCCEEDED = 'SUCCEEDED'
57202
+ }
57203
+
57204
+ export enum HrisSyncTrigger {
57205
+ MANUAL = 'MANUAL',
57206
+ SCHEDULED = 'SCHEDULED'
57207
+ }
57208
+
57007
57209
  export enum HttpMethod {
57008
57210
  DELETE = 'DELETE',
57009
57211
  GET = 'GET',
@@ -61986,6 +62188,29 @@ export type MailboxAddress = {
61986
62188
  name?: Maybe<Scalars['String']['output']>;
61987
62189
  };
61988
62190
 
62191
+ export type MailboxAttachment = {
62192
+ __typename?: 'MailboxAttachment';
62193
+ /** Content-ID for cid: references in bodyHtml, when known. */
62194
+ contentId?: Maybe<Scalars['String']['output']>;
62195
+ filename: Scalars['String']['output'];
62196
+ /** Stable within the message; pass to mailboxAttachment. */
62197
+ id: Scalars['ID']['output'];
62198
+ /** Embedded in the body (for example an inline image) rather than attached as a file. */
62199
+ isInline: Scalars['Boolean']['output'];
62200
+ mimeType: Scalars['String']['output'];
62201
+ /** Bytes, as the provider reports them. */
62202
+ size: Scalars['Int']['output'];
62203
+ };
62204
+
62205
+ export type MailboxAttachmentContent = {
62206
+ __typename?: 'MailboxAttachmentContent';
62207
+ /** The file's bytes, base64 encoded. Files over 15 MB are refused. */
62208
+ contentBase64: Scalars['String']['output'];
62209
+ filename: Scalars['String']['output'];
62210
+ mimeType: Scalars['String']['output'];
62211
+ size: Scalars['Int']['output'];
62212
+ };
62213
+
61989
62214
  export enum MailboxFolder {
61990
62215
  ALL = 'ALL',
61991
62216
  INBOX = 'INBOX',
@@ -61997,8 +62222,36 @@ export enum MailboxKind {
61997
62222
  OUTLOOK = 'OUTLOOK'
61998
62223
  }
61999
62224
 
62225
+ export type MailboxLabel = {
62226
+ __typename?: 'MailboxLabel';
62227
+ /** Pass as MailboxMessagesInput.folderId to list its messages. */
62228
+ id: Scalars['ID']['output'];
62229
+ kind: MailboxLabelKind;
62230
+ name: Scalars['String']['output'];
62231
+ /** All messages, when the provider reports it (Outlook). */
62232
+ totalCount?: Maybe<Scalars['Int']['output']>;
62233
+ /** Unread messages, when the provider reports it (Outlook). */
62234
+ unreadCount?: Maybe<Scalars['Int']['output']>;
62235
+ };
62236
+
62237
+ export enum MailboxLabelKind {
62238
+ /** An Outlook mail folder. */
62239
+ FOLDER = 'FOLDER',
62240
+ /** A Gmail system label such as Inbox, Starred or Trash. */
62241
+ SYSTEM = 'SYSTEM',
62242
+ /** A label the person created in Gmail. */
62243
+ USER = 'USER'
62244
+ }
62245
+
62000
62246
  export type MailboxMessage = {
62001
62247
  __typename?: 'MailboxMessage';
62248
+ attachments: Array<MailboxAttachment>;
62249
+ /**
62250
+ * The HTML body exactly as the provider stores it, or null for text-only mail.
62251
+ * It is untrusted: sanitise it and render it in a sandboxed frame with scripts
62252
+ * disabled and remote content blocked, falling back to bodyText.
62253
+ */
62254
+ bodyHtml?: Maybe<Scalars['String']['output']>;
62002
62255
  /** Plain-text body. HTML-only mail is converted to text. */
62003
62256
  bodyText: Scalars['String']['output'];
62004
62257
  cc: Array<MailboxAddress>;
@@ -62036,6 +62289,8 @@ export type MailboxMessageSummary = {
62036
62289
  export type MailboxMessagesInput = {
62037
62290
  connectionId: Scalars['ID']['input'];
62038
62291
  folder?: InputMaybe<MailboxFolder>;
62292
+ /** A label or folder id from mailboxLabels. When set it replaces folder. */
62293
+ folderId?: InputMaybe<Scalars['ID']['input']>;
62039
62294
  /** 1-50, default 25. */
62040
62295
  limit?: InputMaybe<Scalars['Int']['input']>;
62041
62296
  pageToken?: InputMaybe<Scalars['String']['input']>;
@@ -70218,6 +70473,11 @@ export type Mutation = {
70218
70473
  archiveGroup: Group;
70219
70474
  /** Archive a location: it stops being offered without losing the boxes that went there. Refused while ANY membership is still assigned — PAUSED as well as ACTIVE, because pausing does not release the place and the member resumes against whatever the stand has become. They would otherwise silently fall back to a home address that may be years stale, or to none at all. Move them first. A soft delete, so past deliveries keep resolving their location. This is the ONLY way to archive. `updateHealthyBowlCsaPickupLocation` refuses `status: "ARCHIVED"` precisely so that this guard, and this permission, cannot be stepped around. */
70220
70475
  archiveHealthyBowlCsaPickupLocation: HealthyBowlPickupLocation;
70476
+ /**
70477
+ * Take a conversation out of the Inbox without deleting it (Gmail: remove the
70478
+ * Inbox label; Outlook: move it to Archive).
70479
+ */
70480
+ archiveMailboxThread: Scalars['Boolean']['output'];
70221
70481
  /** Archive a project */
70222
70482
  archiveProject: Project;
70223
70483
  archiveSchedule: ScheduledJob;
@@ -73203,6 +73463,8 @@ export type Mutation = {
73203
73463
  headshotmarketingDeleteSEOKeyword: Scalars['Boolean']['output'];
73204
73464
  /** Soft-deletes the report. Returns true when a report was deleted. */
73205
73465
  headshotmarketingDeleteSavedReport: Scalars['Boolean']['output'];
73466
+ /** Remove a saved report's delivery schedule. Returns true when one was removed. */
73467
+ headshotmarketingDeleteSavedReportSchedule: Scalars['Boolean']['output'];
73206
73468
  /** Dismiss a proposed audience segment without applying it */
73207
73469
  headshotmarketingDismissAudienceSuggestion: HeadshotmarketingAudienceSuggestion;
73208
73470
  /** Execute an AI tool and return the execution record */
@@ -73237,10 +73499,14 @@ export type Mutation = {
73237
73499
  headshotmarketingScoreLeadsBatch: HeadshotmarketingLeadScoreBatchResult;
73238
73500
  /** Send a message to the marketing agent. Persists the user message, calls the configured LLM provider, persists the assistant's reply, and records any proposed actions as PROPOSED -- never executes them. */
73239
73501
  headshotmarketingSendAgentMessage: HeadshotmarketingAgentTurn;
73502
+ /** Email the report to its schedule's recipients now, without moving the next scheduled delivery. Limited to one send per report per minute. */
73503
+ headshotmarketingSendSavedReportNow: HeadshotmarketingSavedReportDeliveryRun;
73240
73504
  /** Attach (or update) marketing-specific metadata on a canonical files-svc File. The binary + core file fields stay owned by wspace-files-svc; this only sets the thin marketing layer (alt text, dimensions, thumbnail, asset category). */
73241
73505
  headshotmarketingSetFileMarketingMeta: Scalars['Boolean']['output'];
73242
73506
  /** Create or replace the workspace's goal for a month. */
73243
73507
  headshotmarketingSetMonthlyGoal: HeadshotmarketingMonthlyGoal;
73508
+ /** Create or replace the delivery schedule of a saved report. */
73509
+ headshotmarketingSetSavedReportSchedule: HeadshotmarketingSavedReportSchedule;
73244
73510
  /** Propose an audience segment for a campaign goal. Never creates or changes an Audience. */
73245
73511
  headshotmarketingSuggestAudienceSegment: HeadshotmarketingAudienceSuggestion;
73246
73512
  /** Start tracking a keyword (alias for create with TRACKING status) */
@@ -75777,6 +76043,11 @@ export type Mutation = {
75777
76043
  /** Replace a product's whole quantity ladder in one transaction (BOFF-6091). Refuses duplicate thresholds. */
75778
76044
  setHealthyBowlWholesalePriceTiers: Array<WholesalePriceTier>;
75779
76045
  setHousingvistaInvestmentEligibility: HousingVistaInvestmentComplianceSetting;
76046
+ /**
76047
+ * Turn the scheduled sync on or off. Turning it on needs a successful preview
76048
+ * with the current credentials.
76049
+ */
76050
+ setHrisSyncSchedule: HrisDirectorySyncSchedule;
75780
76051
  /** Mark a message read or unread in a mailbox the caller owns. */
75781
76052
  setMailboxMessageRead: Scalars['Boolean']['output'];
75782
76053
  setMaintenanceChecklistItem: MaintenanceRecord;
@@ -75911,6 +76182,11 @@ export type Mutation = {
75911
76182
  /** Start a DRAFT A/B creative test */
75912
76183
  startHeadshotmarketingAdCreativeTest: HeadshotmarketingAdCreativeTest;
75913
76184
  startHealthyBowlCertificationRenewal: Certification;
76185
+ /**
76186
+ * Start a preview or a sync in the background and return its RUNNING record.
76187
+ * A sync (APPLY) needs a successful preview with the current credentials.
76188
+ */
76189
+ startHrisSync: HrisSyncRun;
75914
76190
  /** Streaming bridge: mesh-forward a session/terminal create to a (possibly multi-hop) destination agent, minting a short-lived capability token on it. Returns the destination agent's tunnel URL + capability token so the browser can stream DIRECTLY to it (control plane via mesh, data plane direct). */
75915
76191
  startMeshAgentSession: MeshSessionDescriptor;
75916
76192
  startMtwProcedureExecution: MtwProcedureExecution;
@@ -76373,30 +76649,59 @@ export type Mutation = {
76373
76649
  testWebhookMapping: BigConsoleWidgetWebhookTestResult;
76374
76650
  /** Approve (lock) a DRAFT allocation so it counts toward net positions. */
76375
76651
  theApproveProductionAllocation: TheProductionAllocation;
76652
+ /** Attribute (or, with null, detach) a finished work order's downtime to a production record of the same asset, after the fact. */
76653
+ theAttributeWorkOrderDowntime: TheWorkOrder;
76654
+ /** Apply one set of PRO_RATA factors to every unallocated record of a measurement asset in a window. */
76655
+ theBulkAllocateProduction: TheBulkAllocationResult;
76656
+ /** Close a reporting period so its allocations cannot be created, approved or reversed until it is reopened. */
76657
+ theCloseAllocationPeriod: TheAllocationPeriodClose;
76658
+ /** Record a prior-period correction (signed volume deltas) against an APPROVED allocation (creates a DRAFT). */
76659
+ theCreateAllocationCorrection: TheProductionAllocation;
76376
76660
  theCreateAsset: TheAsset;
76377
76661
  theCreateComplianceCert: TheComplianceCert;
76378
76662
  theCreateContract: TheOfftakeContract;
76663
+ /** Assign net volume from an approved allocation entry to a sell contract. */
76664
+ theCreateContractEntitlement: TheContractEntitlement;
76379
76665
  theCreateCorrectiveAction: TheCorrectiveAction;
76666
+ theCreateEquipment: TheEquipment;
76667
+ /** Record the ownership of an asset for an effective period. */
76668
+ theCreateInterestDeck: TheInterestDeck;
76380
76669
  theCreateInventoryLot: TheInventoryLot;
76670
+ theCreateMaintenanceSchedule: TheMaintenanceSchedule;
76381
76671
  /** Allocate a measured production record across its contributing assets (creates a DRAFT). */
76382
76672
  theCreateProductionAllocation: TheProductionAllocation;
76383
76673
  theCreateReserveEstimate: TheReserveEstimate;
76674
+ theCreateWorkOrder: TheWorkOrder;
76675
+ /** Delete an interest deck that no live allocation uses. */
76676
+ theDeleteInterestDeck: TheInterestDeck;
76384
76677
  /** Mark a shipment delivered and roll its volume into the contract's delivered total. */
76385
76678
  theDeliverShipment: TheShipment;
76386
76679
  /** Finalize a draft ESG disclosure (locks it as the reported-on-record snapshot). */
76387
76680
  theFinalizeEsgDisclosure: TheEsgDisclosure;
76388
76681
  /** Generate an ESG disclosure snapshot for the given framework and reporting period, computed from this workspace's own emission and compliance records (not manually entered) — see EsgReportingService. No @usage/quota directive: not yet registered in quota-catalog.yaml or the billing seed, so wiring enforcement here would repeat the exact unenforced/undefined-quota anti-pattern this batch just removed for `theglobalfuel.settlements.monthly` (see quota-catalog.yaml BOFF-5106/5108 note). Add a real quota + billing-seed entry first if/when this needs metering. */
76389
76682
  theGenerateEsgDisclosure: TheEsgDisclosure;
76683
+ /** Raise a PLANNED work order for every active schedule due within the horizon that does not already have an unfinished work order. Idempotent. */
76684
+ theGenerateScheduledWorkOrders: TheGenerateWorkOrdersResult;
76390
76685
  theRecordEmission: TheEmissionRecord;
76391
76686
  /** Record that the CALLING actor accepted a legal document/version at an in-product checkpoint. Self-scoped (Type A): no identity arg. Idempotent — re-accepting the same (checkpointType, documentVersion) updates the timestamp/audit fields rather than duplicating the row. */
76392
76687
  theRecordLegalAcceptance: TheLegalAcceptance;
76393
76688
  theRecordProduction: TheProductionRecord;
76689
+ /** Remove an entitlement, returning its volume to the allocation entry. */
76690
+ theRemoveContractEntitlement: TheContractEntitlement;
76691
+ /** Reopen a closed period (a reason is required). The close row is kept for the audit trail. */
76692
+ theReopenAllocationPeriod: TheAllocationPeriodClose;
76394
76693
  theReportSafetyIncident: TheSafetyIncident;
76694
+ /** Remove this workspace's override for a unit pair, restoring the built-in default. Returns false if there was none. */
76695
+ theResetUnitConversion: Scalars['Boolean']['output'];
76395
76696
  theRetireAsset: Scalars['Boolean']['output'];
76396
76697
  /** Void a DRAFT or APPROVED allocation, freeing its production record for re-allocation. */
76397
76698
  theReverseProductionAllocation: TheProductionAllocation;
76398
76699
  theScheduleShipment: TheShipment;
76700
+ /** Attach, replace or remove (photoFileId: null) the asset's photo. The id is a wspace-files-svc File id from the platform upload flow (BOFF-10630). */
76701
+ theSetAssetPhoto: TheAsset;
76399
76702
  theSetInventoryLotStatus: TheInventoryLot;
76703
+ /** Set this workspace's conversion factor for a commodity and unit pair. */
76704
+ theSetUnitConversion: TheUnitConversion;
76400
76705
  /** Advance an asset through its lifecycle (validated transitions). */
76401
76706
  theTransitionAsset: TheAsset;
76402
76707
  /** Advance a compliance certification through its lifecycle (validated transitions). */
@@ -76409,11 +76714,16 @@ export type Mutation = {
76409
76714
  theTransitionSafetyIncident: TheSafetyIncident;
76410
76715
  /** Advance a shipment through its lifecycle (validated transitions): SCHEDULED → LOADING → IN_TRANSIT → DELIVERED, and any non-terminal state → CANCELLED. Transitioning to DELIVERED rolls the shipment volume into the contract's delivered total exactly once (same path as theDeliverShipment). */
76411
76716
  theTransitionShipment: TheShipment;
76717
+ /** Advance a work order through its lifecycle (validated transitions). Completing a work order raised from a schedule rolls the schedule's next due date forward. */
76718
+ theTransitionWorkOrder: TheWorkOrder;
76412
76719
  theUpdateAsset: TheAsset;
76413
76720
  theUpdateContract: TheOfftakeContract;
76721
+ theUpdateEquipment: TheEquipment;
76414
76722
  theUpdateIncidentInvestigation: TheSafetyIncident;
76723
+ theUpdateMaintenanceSchedule: TheMaintenanceSchedule;
76415
76724
  /** Update the logistics metadata of an existing shipment (carrier, tracking number, route, schedule, document reference, notes). Status and volume are deliberately not updatable here — see TheUpdateShipmentInput. */
76416
76725
  theUpdateShipment: TheShipment;
76726
+ theUpdateWorkOrder: TheWorkOrder;
76417
76727
  /** Mark an emission figure third-party verified. */
76418
76728
  theVerifyEmission: TheEmissionRecord;
76419
76729
  toggleClientPortal: ClientPortalConfig;
@@ -76462,6 +76772,11 @@ export type Mutation = {
76462
76772
  transitionHealthyBowlCarbonCredit: HbCarbonCredit;
76463
76773
  /** Mark a nursery batch transplanted and link it to the destination field + crop. */
76464
76774
  transplantHealthyBowlNurseryBatch: NurseryBatch;
76775
+ /**
76776
+ * Move a conversation to Trash (Gmail) or Deleted Items (Outlook). It can be
76777
+ * restored from there; nothing is deleted permanently.
76778
+ */
76779
+ trashMailboxThread: Scalars['Boolean']['output'];
76465
76780
  /** Twin of the deprecated `triggerBoundWorkflow` returning `BotmanorWorkflowRun` (BOFF-9561). Same resolver, same `@rbac`, and the same `botmanor.runs.count` meter: a call through either spelling is one run. */
76466
76781
  triggerBotmanorBoundWorkflow: BotmanorWorkflowRun;
76467
76782
  /**
@@ -78367,6 +78682,13 @@ export type MutationArchiveHealthyBowlCsaPickupLocationArgs = {
78367
78682
  };
78368
78683
 
78369
78684
 
78685
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
78686
+ export type MutationArchiveMailboxThreadArgs = {
78687
+ connectionId: Scalars['ID']['input'];
78688
+ threadId: Scalars['ID']['input'];
78689
+ };
78690
+
78691
+
78370
78692
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
78371
78693
  export type MutationArchiveProjectArgs = {
78372
78694
  id: Scalars['ID']['input'];
@@ -90340,6 +90662,12 @@ export type MutationHeadshotmarketingDeleteSavedReportArgs = {
90340
90662
  };
90341
90663
 
90342
90664
 
90665
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
90666
+ export type MutationHeadshotmarketingDeleteSavedReportScheduleArgs = {
90667
+ reportId: Scalars['ID']['input'];
90668
+ };
90669
+
90670
+
90343
90671
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
90344
90672
  export type MutationHeadshotmarketingDismissAudienceSuggestionArgs = {
90345
90673
  id: Scalars['ID']['input'];
@@ -90446,6 +90774,12 @@ export type MutationHeadshotmarketingSendAgentMessageArgs = {
90446
90774
  };
90447
90775
 
90448
90776
 
90777
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
90778
+ export type MutationHeadshotmarketingSendSavedReportNowArgs = {
90779
+ reportId: Scalars['ID']['input'];
90780
+ };
90781
+
90782
+
90449
90783
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
90450
90784
  export type MutationHeadshotmarketingSetFileMarketingMetaArgs = {
90451
90785
  input: HeadshotmarketingSetFileMarketingMetaInput;
@@ -90458,6 +90792,13 @@ export type MutationHeadshotmarketingSetMonthlyGoalArgs = {
90458
90792
  };
90459
90793
 
90460
90794
 
90795
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
90796
+ export type MutationHeadshotmarketingSetSavedReportScheduleArgs = {
90797
+ input: HeadshotmarketingSetSavedReportScheduleInput;
90798
+ reportId: Scalars['ID']['input'];
90799
+ };
90800
+
90801
+
90461
90802
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
90462
90803
  export type MutationHeadshotmarketingSuggestAudienceSegmentArgs = {
90463
90804
  input: HeadshotmarketingSuggestAudienceSegmentInput;
@@ -99766,6 +100107,12 @@ export type MutationSetHousingvistaInvestmentEligibilityArgs = {
99766
100107
  };
99767
100108
 
99768
100109
 
100110
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
100111
+ export type MutationSetHrisSyncScheduleArgs = {
100112
+ input: SetHrisSyncScheduleInput;
100113
+ };
100114
+
100115
+
99769
100116
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
99770
100117
  export type MutationSetMailboxMessageReadArgs = {
99771
100118
  connectionId: Scalars['ID']['input'];
@@ -100218,6 +100565,12 @@ export type MutationStartHealthyBowlCertificationRenewalArgs = {
100218
100565
  };
100219
100566
 
100220
100567
 
100568
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
100569
+ export type MutationStartHrisSyncArgs = {
100570
+ input: StartHrisSyncInput;
100571
+ };
100572
+
100573
+
100221
100574
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
100222
100575
  export type MutationStartMeshAgentSessionArgs = {
100223
100576
  destinationAgentId: Scalars['ID']['input'];
@@ -101855,6 +102208,32 @@ export type MutationTheApproveProductionAllocationArgs = {
101855
102208
  };
101856
102209
 
101857
102210
 
102211
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102212
+ export type MutationTheAttributeWorkOrderDowntimeArgs = {
102213
+ downtimeHours?: InputMaybe<Scalars['Float']['input']>;
102214
+ id: Scalars['ID']['input'];
102215
+ productionRecordId?: InputMaybe<Scalars['ID']['input']>;
102216
+ };
102217
+
102218
+
102219
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102220
+ export type MutationTheBulkAllocateProductionArgs = {
102221
+ input: TheBulkAllocateProductionInput;
102222
+ };
102223
+
102224
+
102225
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102226
+ export type MutationTheCloseAllocationPeriodArgs = {
102227
+ input: TheCloseAllocationPeriodInput;
102228
+ };
102229
+
102230
+
102231
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102232
+ export type MutationTheCreateAllocationCorrectionArgs = {
102233
+ input: TheCreateAllocationCorrectionInput;
102234
+ };
102235
+
102236
+
101858
102237
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101859
102238
  export type MutationTheCreateAssetArgs = {
101860
102239
  input: TheCreateAssetInput;
@@ -101873,18 +102252,42 @@ export type MutationTheCreateContractArgs = {
101873
102252
  };
101874
102253
 
101875
102254
 
102255
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102256
+ export type MutationTheCreateContractEntitlementArgs = {
102257
+ input: TheCreateContractEntitlementInput;
102258
+ };
102259
+
102260
+
101876
102261
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101877
102262
  export type MutationTheCreateCorrectiveActionArgs = {
101878
102263
  input: TheCreateCorrectiveActionInput;
101879
102264
  };
101880
102265
 
101881
102266
 
102267
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102268
+ export type MutationTheCreateEquipmentArgs = {
102269
+ input: TheCreateEquipmentInput;
102270
+ };
102271
+
102272
+
102273
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102274
+ export type MutationTheCreateInterestDeckArgs = {
102275
+ input: TheCreateInterestDeckInput;
102276
+ };
102277
+
102278
+
101882
102279
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101883
102280
  export type MutationTheCreateInventoryLotArgs = {
101884
102281
  input: TheCreateInventoryLotInput;
101885
102282
  };
101886
102283
 
101887
102284
 
102285
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102286
+ export type MutationTheCreateMaintenanceScheduleArgs = {
102287
+ input: TheCreateMaintenanceScheduleInput;
102288
+ };
102289
+
102290
+
101888
102291
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101889
102292
  export type MutationTheCreateProductionAllocationArgs = {
101890
102293
  input: TheCreateProductionAllocationInput;
@@ -101897,6 +102300,18 @@ export type MutationTheCreateReserveEstimateArgs = {
101897
102300
  };
101898
102301
 
101899
102302
 
102303
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102304
+ export type MutationTheCreateWorkOrderArgs = {
102305
+ input: TheCreateWorkOrderInput;
102306
+ };
102307
+
102308
+
102309
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102310
+ export type MutationTheDeleteInterestDeckArgs = {
102311
+ id: Scalars['ID']['input'];
102312
+ };
102313
+
102314
+
101900
102315
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101901
102316
  export type MutationTheDeliverShipmentArgs = {
101902
102317
  id: Scalars['ID']['input'];
@@ -101915,6 +102330,12 @@ export type MutationTheGenerateEsgDisclosureArgs = {
101915
102330
  };
101916
102331
 
101917
102332
 
102333
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102334
+ export type MutationTheGenerateScheduledWorkOrdersArgs = {
102335
+ horizonDays?: InputMaybe<Scalars['Int']['input']>;
102336
+ };
102337
+
102338
+
101918
102339
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101919
102340
  export type MutationTheRecordEmissionArgs = {
101920
102341
  input: TheRecordEmissionInput;
@@ -101934,12 +102355,31 @@ export type MutationTheRecordProductionArgs = {
101934
102355
  };
101935
102356
 
101936
102357
 
102358
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102359
+ export type MutationTheRemoveContractEntitlementArgs = {
102360
+ id: Scalars['ID']['input'];
102361
+ };
102362
+
102363
+
102364
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102365
+ export type MutationTheReopenAllocationPeriodArgs = {
102366
+ id: Scalars['ID']['input'];
102367
+ reason: Scalars['String']['input'];
102368
+ };
102369
+
102370
+
101937
102371
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101938
102372
  export type MutationTheReportSafetyIncidentArgs = {
101939
102373
  input: TheReportSafetyIncidentInput;
101940
102374
  };
101941
102375
 
101942
102376
 
102377
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102378
+ export type MutationTheResetUnitConversionArgs = {
102379
+ input: TheResetUnitConversionInput;
102380
+ };
102381
+
102382
+
101943
102383
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101944
102384
  export type MutationTheRetireAssetArgs = {
101945
102385
  id: Scalars['ID']['input'];
@@ -101959,6 +102399,13 @@ export type MutationTheScheduleShipmentArgs = {
101959
102399
  };
101960
102400
 
101961
102401
 
102402
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102403
+ export type MutationTheSetAssetPhotoArgs = {
102404
+ id: Scalars['ID']['input'];
102405
+ photoFileId?: InputMaybe<Scalars['ID']['input']>;
102406
+ };
102407
+
102408
+
101962
102409
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101963
102410
  export type MutationTheSetInventoryLotStatusArgs = {
101964
102411
  id: Scalars['ID']['input'];
@@ -101966,6 +102413,12 @@ export type MutationTheSetInventoryLotStatusArgs = {
101966
102413
  };
101967
102414
 
101968
102415
 
102416
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102417
+ export type MutationTheSetUnitConversionArgs = {
102418
+ input: TheSetUnitConversionInput;
102419
+ };
102420
+
102421
+
101969
102422
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
101970
102423
  export type MutationTheTransitionAssetArgs = {
101971
102424
  id: Scalars['ID']['input'];
@@ -102008,6 +102461,14 @@ export type MutationTheTransitionShipmentArgs = {
102008
102461
  };
102009
102462
 
102010
102463
 
102464
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102465
+ export type MutationTheTransitionWorkOrderArgs = {
102466
+ details?: InputMaybe<TheWorkOrderTransitionInput>;
102467
+ id: Scalars['ID']['input'];
102468
+ status: TheWorkOrderStatus;
102469
+ };
102470
+
102471
+
102011
102472
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102012
102473
  export type MutationTheUpdateAssetArgs = {
102013
102474
  id: Scalars['ID']['input'];
@@ -102022,6 +102483,13 @@ export type MutationTheUpdateContractArgs = {
102022
102483
  };
102023
102484
 
102024
102485
 
102486
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102487
+ export type MutationTheUpdateEquipmentArgs = {
102488
+ id: Scalars['ID']['input'];
102489
+ input: TheUpdateEquipmentInput;
102490
+ };
102491
+
102492
+
102025
102493
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102026
102494
  export type MutationTheUpdateIncidentInvestigationArgs = {
102027
102495
  id: Scalars['ID']['input'];
@@ -102029,6 +102497,13 @@ export type MutationTheUpdateIncidentInvestigationArgs = {
102029
102497
  };
102030
102498
 
102031
102499
 
102500
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102501
+ export type MutationTheUpdateMaintenanceScheduleArgs = {
102502
+ id: Scalars['ID']['input'];
102503
+ input: TheUpdateMaintenanceScheduleInput;
102504
+ };
102505
+
102506
+
102032
102507
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102033
102508
  export type MutationTheUpdateShipmentArgs = {
102034
102509
  id: Scalars['ID']['input'];
@@ -102036,6 +102511,13 @@ export type MutationTheUpdateShipmentArgs = {
102036
102511
  };
102037
102512
 
102038
102513
 
102514
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102515
+ export type MutationTheUpdateWorkOrderArgs = {
102516
+ id: Scalars['ID']['input'];
102517
+ input: TheUpdateWorkOrderInput;
102518
+ };
102519
+
102520
+
102039
102521
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102040
102522
  export type MutationTheVerifyEmissionArgs = {
102041
102523
  id: Scalars['ID']['input'];
@@ -102208,6 +102690,13 @@ export type MutationTransplantHealthyBowlNurseryBatchArgs = {
102208
102690
  };
102209
102691
 
102210
102692
 
102693
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102694
+ export type MutationTrashMailboxThreadArgs = {
102695
+ connectionId: Scalars['ID']['input'];
102696
+ threadId: Scalars['ID']['input'];
102697
+ };
102698
+
102699
+
102211
102700
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
102212
102701
  export type MutationTriggerBotmanorBoundWorkflowArgs = {
102213
102702
  input: TriggerBoundWorkflowInput;
@@ -120594,6 +121083,8 @@ export type Query = {
120594
121083
  headshotmarketingSEOProviderStatus: HeadshotmarketingSeoProviderStatus;
120595
121084
  /** One saved report, or null when it does not exist in this workspace. */
120596
121085
  headshotmarketingSavedReport?: Maybe<HeadshotmarketingSavedReport>;
121086
+ /** Delivery attempts of a saved report, most recent first. */
121087
+ headshotmarketingSavedReportDeliveryRuns: HeadshotmarketingSavedReportDeliveryRunList;
120597
121088
  /** The workspace's saved reports, most recently updated first. */
120598
121089
  headshotmarketingSavedReports: HeadshotmarketingSavedReportList;
120599
121090
  /** Get a specific social account by ID */
@@ -120920,6 +121411,15 @@ export type Query = {
120920
121411
  /** Slots of a property, soonest first. By default only open future slots; includeBooked also lists the taken ones. */
120921
121412
  housingvistaViewingSlots: Array<HousingVistaViewingSlot>;
120922
121413
  housingvistaViewings: Array<HousingVistaViewing>;
121414
+ /**
121415
+ * Directory-sync state of a Workday or SAP SuccessFactors connection.
121416
+ * Workspace administrators only: it exposes employee names and emails.
121417
+ */
121418
+ hrisDirectorySync: HrisDirectorySyncStatus;
121419
+ /** One preview or sync, for polling while it runs. */
121420
+ hrisSyncRun?: Maybe<HrisSyncRun>;
121421
+ /** Recent previews and syncs of a connection, newest first (at most 50). */
121422
+ hrisSyncRuns: Array<HrisSyncRun>;
120923
121423
  incident?: Maybe<Incident>;
120924
121424
  incidents: Array<Incident>;
120925
121425
  installAgentJobStatus: InstallJobStatus;
@@ -121178,6 +121678,13 @@ export type Query = {
121178
121678
  lookupUserActorByEmail?: Maybe<UserActorLookupResult>;
121179
121679
  /** The caller's own Gmail and Outlook connections in this workspace. */
121180
121680
  mailboxAccounts: Array<MailboxAccount>;
121681
+ /**
121682
+ * One attachment of a message in a mailbox the caller owns, fetched by the
121683
+ * service with the owner's token. Never returns a provider URL.
121684
+ */
121685
+ mailboxAttachment: MailboxAttachmentContent;
121686
+ /** Gmail labels or Outlook mail folders of a mailbox the caller owns. */
121687
+ mailboxLabels: Array<MailboxLabel>;
121181
121688
  /** One page of messages from a mailbox the caller owns, newest first. */
121182
121689
  mailboxMessages: MailboxMessagePage;
121183
121690
  /** A conversation with full plain-text bodies, from a mailbox the caller owns. */
@@ -122575,24 +123082,47 @@ export type Query = {
122575
123082
  /** The workspace's scheduled xAPI push (BOFF-10575), or null when no LRS is connected. */
122576
123083
  tecXapiLrsSync?: Maybe<TecXapiLrsSync>;
122577
123084
  testParserExpression: ParserTestResult;
123085
+ /** Production records inside a closed period that have no APPROVED allocation (offset paging). */
123086
+ theAllocationExceptions: TheAllocationExceptionConnection;
123087
+ theAllocationPeriodClose?: Maybe<TheAllocationPeriodClose>;
123088
+ /** Allocation statement for [periodStart, periodEnd]: net position, per-asset allocation detail and CSV. */
123089
+ theAllocationStatement: TheAllocationStatement;
122578
123090
  theAsset?: Maybe<TheAsset>;
122579
123091
  theComplianceCert?: Maybe<TheComplianceCert>;
122580
123092
  theContract?: Maybe<TheOfftakeContract>;
123093
+ /** Over/under-lift position per contract. With contractId, that contract only; otherwise every contract with active entitlements. */
123094
+ theContractLiftingPositions: Array<TheContractLiftingPosition>;
123095
+ theEquipment?: Maybe<TheEquipment>;
122581
123096
  theEsgDisclosure?: Maybe<TheEsgDisclosure>;
122582
123097
  /** Liveness/identity probe for the Theglobalfuel subgraph. */
122583
123098
  theHealth: Scalars['String']['output'];
123099
+ theInterestDeck?: Maybe<TheInterestDeck>;
123100
+ /** The interest deck in force for an asset at an instant, if any. */
123101
+ theInterestDeckInForce?: Maybe<TheInterestDeck>;
123102
+ /** Period closes, newest period first. Includes REOPENED rows: this is the close / reopen audit trail. */
123103
+ theListAllocationPeriodCloses: TheAllocationPeriodCloseConnection;
122584
123104
  theListAssets: TheAssetConnection;
122585
123105
  theListComplianceCerts: TheComplianceCertConnection;
123106
+ /** Active entitlements (their allocation is APPROVED), newest period first. */
123107
+ theListContractEntitlements: TheContractEntitlementConnection;
122586
123108
  theListContracts: TheOfftakeContractConnection;
122587
123109
  theListCorrectiveActions: TheCorrectiveActionConnection;
122588
123110
  theListEmissionRecords: TheEmissionRecordConnection;
123111
+ theListEquipment: TheEquipmentConnection;
122589
123112
  theListEsgDisclosures: TheEsgDisclosureConnection;
123113
+ theListInterestDecks: TheInterestDeckConnection;
122590
123114
  theListInventoryLots: TheInventoryLotConnection;
123115
+ theListMaintenanceSchedules: TheMaintenanceScheduleConnection;
122591
123116
  theListProductionAllocations: TheProductionAllocationConnection;
122592
123117
  theListProductionRecords: TheProductionRecordConnection;
122593
123118
  theListReserveEstimates: TheReserveEstimateConnection;
122594
123119
  theListSafetyIncidents: TheSafetyIncidentConnection;
122595
123120
  theListShipments: TheShipmentConnection;
123121
+ /** Effective unit conversion factors for a commodity (built-in defaults merged with this workspace's overrides). */
123122
+ theListUnitConversions: Array<TheUnitConversion>;
123123
+ theListWorkOrders: TheWorkOrderConnection;
123124
+ theMaintenanceDashboard: TheMaintenanceDashboard;
123125
+ theMaintenanceHistory: TheMaintenanceHistory;
122596
123126
  /** Legal-acceptance checkpoints recorded by the CALLING actor for a specific checkpoint type. Self-scoped (Type C): the ctx.actorId filter IS the access control, no identity arg. Used by the app shell to decide whether to show the acceptance gate before letting the actor into core flows. */
122597
123127
  theMyLegalAcceptances: TheLegalAcceptanceConnection;
122598
123128
  /** Net production position per asset over [periodStart, periodEnd], from APPROVED allocations only. */
@@ -122600,6 +123130,7 @@ export type Query = {
122600
123130
  theProductionAllocation?: Maybe<TheProductionAllocation>;
122601
123131
  theSafetyDashboard: TheSafetyDashboard;
122602
123132
  theSafetyIncident?: Maybe<TheSafetyIncident>;
123133
+ theWorkOrder?: Maybe<TheWorkOrder>;
122603
123134
  thread: MessageConnection;
122604
123135
  /** Activation milestones for the calling workspace (BOFF-3450). */
122605
123136
  timeCampusActivation: TimeCampusActivation;
@@ -132641,6 +133172,13 @@ export type QueryHeadshotmarketingSavedReportArgs = {
132641
133172
  };
132642
133173
 
132643
133174
 
133175
+ /** Base Query type with placeholder field. Extended by individual query files. */
133176
+ export type QueryHeadshotmarketingSavedReportDeliveryRunsArgs = {
133177
+ pagination?: InputMaybe<PaginationInput>;
133178
+ reportId: Scalars['ID']['input'];
133179
+ };
133180
+
133181
+
132644
133182
  /** Base Query type with placeholder field. Extended by individual query files. */
132645
133183
  export type QueryHeadshotmarketingSavedReportsArgs = {
132646
133184
  pagination?: InputMaybe<PaginationInput>;
@@ -133958,6 +134496,25 @@ export type QueryHousingvistaViewingsArgs = {
133958
134496
  };
133959
134497
 
133960
134498
 
134499
+ /** Base Query type with placeholder field. Extended by individual query files. */
134500
+ export type QueryHrisDirectorySyncArgs = {
134501
+ connectionId: Scalars['ID']['input'];
134502
+ };
134503
+
134504
+
134505
+ /** Base Query type with placeholder field. Extended by individual query files. */
134506
+ export type QueryHrisSyncRunArgs = {
134507
+ id: Scalars['ID']['input'];
134508
+ };
134509
+
134510
+
134511
+ /** Base Query type with placeholder field. Extended by individual query files. */
134512
+ export type QueryHrisSyncRunsArgs = {
134513
+ connectionId: Scalars['ID']['input'];
134514
+ limit?: InputMaybe<Scalars['Int']['input']>;
134515
+ };
134516
+
134517
+
133961
134518
  /** Base Query type with placeholder field. Extended by individual query files. */
133962
134519
  export type QueryIncidentArgs = {
133963
134520
  id: Scalars['ID']['input'];
@@ -135260,6 +135817,20 @@ export type QueryLookupUserActorByEmailArgs = {
135260
135817
  };
135261
135818
 
135262
135819
 
135820
+ /** Base Query type with placeholder field. Extended by individual query files. */
135821
+ export type QueryMailboxAttachmentArgs = {
135822
+ attachmentId: Scalars['ID']['input'];
135823
+ connectionId: Scalars['ID']['input'];
135824
+ messageId: Scalars['ID']['input'];
135825
+ };
135826
+
135827
+
135828
+ /** Base Query type with placeholder field. Extended by individual query files. */
135829
+ export type QueryMailboxLabelsArgs = {
135830
+ connectionId: Scalars['ID']['input'];
135831
+ };
135832
+
135833
+
135263
135834
  /** Base Query type with placeholder field. Extended by individual query files. */
135264
135835
  export type QueryMailboxMessagesArgs = {
135265
135836
  input: MailboxMessagesInput;
@@ -140643,6 +141214,27 @@ export type QueryTestParserExpressionArgs = {
140643
141214
  };
140644
141215
 
140645
141216
 
141217
+ /** Base Query type with placeholder field. Extended by individual query files. */
141218
+ export type QueryTheAllocationExceptionsArgs = {
141219
+ measurementAssetId?: InputMaybe<Scalars['ID']['input']>;
141220
+ pagination?: InputMaybe<PaginationInput>;
141221
+ };
141222
+
141223
+
141224
+ /** Base Query type with placeholder field. Extended by individual query files. */
141225
+ export type QueryTheAllocationPeriodCloseArgs = {
141226
+ id: Scalars['ID']['input'];
141227
+ };
141228
+
141229
+
141230
+ /** Base Query type with placeholder field. Extended by individual query files. */
141231
+ export type QueryTheAllocationStatementArgs = {
141232
+ measurementAssetId?: InputMaybe<Scalars['ID']['input']>;
141233
+ periodEnd: Scalars['DateTime']['input'];
141234
+ periodStart: Scalars['DateTime']['input'];
141235
+ };
141236
+
141237
+
140646
141238
  /** Base Query type with placeholder field. Extended by individual query files. */
140647
141239
  export type QueryTheAssetArgs = {
140648
141240
  id: Scalars['ID']['input'];
@@ -140661,12 +141253,45 @@ export type QueryTheContractArgs = {
140661
141253
  };
140662
141254
 
140663
141255
 
141256
+ /** Base Query type with placeholder field. Extended by individual query files. */
141257
+ export type QueryTheContractLiftingPositionsArgs = {
141258
+ contractId?: InputMaybe<Scalars['ID']['input']>;
141259
+ };
141260
+
141261
+
141262
+ /** Base Query type with placeholder field. Extended by individual query files. */
141263
+ export type QueryTheEquipmentArgs = {
141264
+ id: Scalars['ID']['input'];
141265
+ };
141266
+
141267
+
140664
141268
  /** Base Query type with placeholder field. Extended by individual query files. */
140665
141269
  export type QueryTheEsgDisclosureArgs = {
140666
141270
  id: Scalars['ID']['input'];
140667
141271
  };
140668
141272
 
140669
141273
 
141274
+ /** Base Query type with placeholder field. Extended by individual query files. */
141275
+ export type QueryTheInterestDeckArgs = {
141276
+ id: Scalars['ID']['input'];
141277
+ };
141278
+
141279
+
141280
+ /** Base Query type with placeholder field. Extended by individual query files. */
141281
+ export type QueryTheInterestDeckInForceArgs = {
141282
+ assetId: Scalars['ID']['input'];
141283
+ at: Scalars['DateTime']['input'];
141284
+ };
141285
+
141286
+
141287
+ /** Base Query type with placeholder field. Extended by individual query files. */
141288
+ export type QueryTheListAllocationPeriodClosesArgs = {
141289
+ assetId?: InputMaybe<Scalars['ID']['input']>;
141290
+ pagination?: InputMaybe<PaginationInput>;
141291
+ status?: InputMaybe<TheAllocationPeriodStatus>;
141292
+ };
141293
+
141294
+
140670
141295
  /** Base Query type with placeholder field. Extended by individual query files. */
140671
141296
  export type QueryTheListAssetsArgs = {
140672
141297
  commodity?: InputMaybe<TheCommodityType>;
@@ -140685,6 +141310,14 @@ export type QueryTheListComplianceCertsArgs = {
140685
141310
  };
140686
141311
 
140687
141312
 
141313
+ /** Base Query type with placeholder field. Extended by individual query files. */
141314
+ export type QueryTheListContractEntitlementsArgs = {
141315
+ allocationId?: InputMaybe<Scalars['ID']['input']>;
141316
+ contractId?: InputMaybe<Scalars['ID']['input']>;
141317
+ pagination?: InputMaybe<PaginationInput>;
141318
+ };
141319
+
141320
+
140688
141321
  /** Base Query type with placeholder field. Extended by individual query files. */
140689
141322
  export type QueryTheListContractsArgs = {
140690
141323
  commodity?: InputMaybe<TheCommodityType>;
@@ -140710,6 +141343,15 @@ export type QueryTheListEmissionRecordsArgs = {
140710
141343
  };
140711
141344
 
140712
141345
 
141346
+ /** Base Query type with placeholder field. Extended by individual query files. */
141347
+ export type QueryTheListEquipmentArgs = {
141348
+ assetId?: InputMaybe<Scalars['ID']['input']>;
141349
+ category?: InputMaybe<TheEquipmentCategory>;
141350
+ pagination?: InputMaybe<PaginationInput>;
141351
+ status?: InputMaybe<TheEquipmentStatus>;
141352
+ };
141353
+
141354
+
140713
141355
  /** Base Query type with placeholder field. Extended by individual query files. */
140714
141356
  export type QueryTheListEsgDisclosuresArgs = {
140715
141357
  framework?: InputMaybe<TheEsgFramework>;
@@ -140717,6 +141359,13 @@ export type QueryTheListEsgDisclosuresArgs = {
140717
141359
  };
140718
141360
 
140719
141361
 
141362
+ /** Base Query type with placeholder field. Extended by individual query files. */
141363
+ export type QueryTheListInterestDecksArgs = {
141364
+ assetId?: InputMaybe<Scalars['ID']['input']>;
141365
+ pagination?: InputMaybe<PaginationInput>;
141366
+ };
141367
+
141368
+
140720
141369
  /** Base Query type with placeholder field. Extended by individual query files. */
140721
141370
  export type QueryTheListInventoryLotsArgs = {
140722
141371
  commodity?: InputMaybe<TheCommodityType>;
@@ -140725,8 +141374,18 @@ export type QueryTheListInventoryLotsArgs = {
140725
141374
  };
140726
141375
 
140727
141376
 
141377
+ /** Base Query type with placeholder field. Extended by individual query files. */
141378
+ export type QueryTheListMaintenanceSchedulesArgs = {
141379
+ active?: InputMaybe<Scalars['Boolean']['input']>;
141380
+ dueBefore?: InputMaybe<Scalars['DateTime']['input']>;
141381
+ equipmentId?: InputMaybe<Scalars['ID']['input']>;
141382
+ pagination?: InputMaybe<PaginationInput>;
141383
+ };
141384
+
141385
+
140728
141386
  /** Base Query type with placeholder field. Extended by individual query files. */
140729
141387
  export type QueryTheListProductionAllocationsArgs = {
141388
+ correctsAllocationId?: InputMaybe<Scalars['ID']['input']>;
140730
141389
  measurementAssetId?: InputMaybe<Scalars['ID']['input']>;
140731
141390
  pagination?: InputMaybe<PaginationInput>;
140732
141391
  productionRecordId?: InputMaybe<Scalars['ID']['input']>;
@@ -140767,6 +141426,33 @@ export type QueryTheListShipmentsArgs = {
140767
141426
  };
140768
141427
 
140769
141428
 
141429
+ /** Base Query type with placeholder field. Extended by individual query files. */
141430
+ export type QueryTheListUnitConversionsArgs = {
141431
+ commodity: TheCommodityType;
141432
+ };
141433
+
141434
+
141435
+ /** Base Query type with placeholder field. Extended by individual query files. */
141436
+ export type QueryTheListWorkOrdersArgs = {
141437
+ assetId?: InputMaybe<Scalars['ID']['input']>;
141438
+ assigneeId?: InputMaybe<Scalars['ID']['input']>;
141439
+ equipmentId?: InputMaybe<Scalars['ID']['input']>;
141440
+ overdueOnly?: InputMaybe<Scalars['Boolean']['input']>;
141441
+ pagination?: InputMaybe<PaginationInput>;
141442
+ priority?: InputMaybe<TheMaintenancePriority>;
141443
+ status?: InputMaybe<TheWorkOrderStatus>;
141444
+ type?: InputMaybe<TheWorkOrderType>;
141445
+ };
141446
+
141447
+
141448
+ /** Base Query type with placeholder field. Extended by individual query files. */
141449
+ export type QueryTheMaintenanceHistoryArgs = {
141450
+ assetId: Scalars['ID']['input'];
141451
+ equipmentId?: InputMaybe<Scalars['ID']['input']>;
141452
+ pagination?: InputMaybe<PaginationInput>;
141453
+ };
141454
+
141455
+
140770
141456
  /** Base Query type with placeholder field. Extended by individual query files. */
140771
141457
  export type QueryTheMyLegalAcceptancesArgs = {
140772
141458
  checkpointType: TheLegalCheckpointType;
@@ -140779,6 +141465,7 @@ export type QueryTheNetProductionPositionArgs = {
140779
141465
  assetId?: InputMaybe<Scalars['ID']['input']>;
140780
141466
  periodEnd: Scalars['DateTime']['input'];
140781
141467
  periodStart: Scalars['DateTime']['input'];
141468
+ reportingUnit?: InputMaybe<TheUnit>;
140782
141469
  };
140783
141470
 
140784
141471
 
@@ -140794,6 +141481,12 @@ export type QueryTheSafetyIncidentArgs = {
140794
141481
  };
140795
141482
 
140796
141483
 
141484
+ /** Base Query type with placeholder field. Extended by individual query files. */
141485
+ export type QueryTheWorkOrderArgs = {
141486
+ id: Scalars['ID']['input'];
141487
+ };
141488
+
141489
+
140797
141490
  /** Base Query type with placeholder field. Extended by individual query files. */
140798
141491
  export type QueryThreadArgs = {
140799
141492
  after?: InputMaybe<Scalars['String']['input']>;
@@ -148448,6 +149141,11 @@ export type SendHealthyBowlSupplierMessageInput = {
148448
149141
  };
148449
149142
 
148450
149143
  export type SendMailboxMessageInput = {
149144
+ /**
149145
+ * wspace-files-svc file ids to attach, uploaded by the caller first. At most 10;
149146
+ * together at most 17 MB for Gmail and 2.5 MB for Outlook.
149147
+ */
149148
+ attachmentFileIds?: InputMaybe<Array<Scalars['ID']['input']>>;
148451
149149
  bcc?: InputMaybe<Array<Scalars['String']['input']>>;
148452
149150
  bodyText: Scalars['String']['input'];
148453
149151
  cc?: InputMaybe<Array<Scalars['String']['input']>>;
@@ -149075,6 +149773,13 @@ export type SetHealthyBowlWholesalePriceTiersInput = {
149075
149773
  tiers: Array<WholesalePriceTierInput>;
149076
149774
  };
149077
149775
 
149776
+ export type SetHrisSyncScheduleInput = {
149777
+ connectionId: Scalars['ID']['input'];
149778
+ enabled: Scalars['Boolean']['input'];
149779
+ /** One of 6, 12, 24, 48 or 168. Defaults to 24. */
149780
+ intervalHours?: InputMaybe<Scalars['Int']['input']>;
149781
+ };
149782
+
149078
149783
  export type SetMetadataInput = {
149079
149784
  fileId: Scalars['ID']['input'];
149080
149785
  isPublic?: InputMaybe<Scalars['Boolean']['input']>;
@@ -149919,6 +150624,16 @@ export type StartDiscoveryJobInput = {
149919
150624
  source: Scalars['String']['input'];
149920
150625
  };
149921
150626
 
150627
+ export type StartHrisSyncInput = {
150628
+ /**
150629
+ * APPLY only: proceed even if the sync would deactivate more than a quarter of
150630
+ * the matched people. Scheduled syncs never set it.
150631
+ */
150632
+ allowMassDeactivation?: InputMaybe<Scalars['Boolean']['input']>;
150633
+ connectionId: Scalars['ID']['input'];
150634
+ mode: HrisSyncMode;
150635
+ };
150636
+
149922
150637
  export type StartMtwProcedureExecutionInput = {
149923
150638
  expectedCycleVersion: Scalars['Int']['input'];
149924
150639
  expectedProposalRevision: Scalars['Int']['input'];
@@ -156557,8 +157272,19 @@ export type TestSecretsProviderConnectionResponse = MutationResponse & {
156557
157272
  success: Scalars['Boolean']['output'];
156558
157273
  };
156559
157274
 
157275
+ export type TheAllocationCorrectionEntryInput = {
157276
+ assetId: Scalars['ID']['input'];
157277
+ /** Defaults to the original entry's royalty (0 for an asset not in the original). */
157278
+ royaltyPct?: InputMaybe<Scalars['Float']['input']>;
157279
+ /** Signed change to the asset's allocated volume (negative reduces it). */
157280
+ volumeDelta: Scalars['Float']['input'];
157281
+ /** Defaults to the original entry's working interest (or the asset's, for an asset not in the original). */
157282
+ workingInterestPct?: InputMaybe<Scalars['Float']['input']>;
157283
+ };
157284
+
156560
157285
  export type TheAllocationEntry = {
156561
157286
  __typename?: 'TheAllocationEntry';
157287
+ /** Sales-point share of the measured volume. Signed on a correction. */
156562
157288
  allocatedVolume: Scalars['Float']['output'];
156563
157289
  allocationId: Scalars['ID']['output'];
156564
157290
  asset?: Maybe<TheAsset>;
@@ -156566,36 +157292,136 @@ export type TheAllocationEntry = {
156566
157292
  /** PRO_RATA input weight (well-test rate, theoretical volume, metered share); null for MANUAL. */
156567
157293
  factor?: Maybe<Scalars['Float']['output']>;
156568
157294
  id: Scalars['ID']['output'];
157295
+ /** The interest deck in force for the allocation period, when it supplied a term. */
157296
+ interestDeckId?: Maybe<Scalars['ID']['output']>;
157297
+ /** Where the ownership terms came from. */
157298
+ interestSource: TheInterestSource;
156569
157299
  /** netWorkingInterestVolume - royaltyVolume (net revenue interest volume). */
156570
157300
  netRevenueVolume: Scalars['Float']['output'];
156571
157301
  /** allocatedVolume x workingInterestPct / 100. */
156572
157302
  netWorkingInterestVolume: Scalars['Float']['output'];
157303
+ /** Overriding royalty burden on the working-interest share, 0-100. */
157304
+ overridingRoyaltyPct: Scalars['Float']['output'];
156573
157305
  royaltyPct: Scalars['Float']['output'];
156574
- /** netWorkingInterestVolume x royaltyPct / 100. */
157306
+ /** netWorkingInterestVolume x (royaltyPct + overridingRoyaltyPct) / 100. */
156575
157307
  royaltyVolume: Scalars['Float']['output'];
156576
- /** allocatedVolume as a percentage of the measured volume (0-100). */
157308
+ /** allocatedVolume as a percentage of the measured volume (0-100). On a correction, the signed delta as a percentage of the original's measured volume. */
156577
157309
  sharePct: Scalars['Float']['output'];
157310
+ /** The asset's share of the allocation's shrinkage. */
157311
+ shrinkageVolume: Scalars['Float']['output'];
157312
+ /** The asset's theoretical (well-test / metered) volume, when supplied. */
157313
+ theoreticalVolume?: Maybe<Scalars['Float']['output']>;
156578
157314
  unit: TheUnit;
157315
+ /** allocatedVolume + shrinkageVolume. */
157316
+ wellheadVolume: Scalars['Float']['output'];
156579
157317
  workingInterestPct: Scalars['Float']['output'];
156580
157318
  };
156581
157319
 
156582
157320
  export type TheAllocationEntryInput = {
156583
157321
  assetId: Scalars['ID']['input'];
156584
- /** PRO_RATA: required, the asset's allocation weight (>= 0). */
157322
+ /** PRO_RATA: the asset's allocation weight (>= 0). Defaults to theoreticalVolume when omitted. */
156585
157323
  factor?: InputMaybe<Scalars['Float']['input']>;
156586
- /** Royalty burden on the working-interest share, 0-100. Defaults to 0. */
157324
+ /** Overriding royalty burden on the working-interest share, 0-100. Defaults to the deck's overridingRoyaltyPct, else 0. */
157325
+ overridingRoyaltyPct?: InputMaybe<Scalars['Float']['input']>;
157326
+ /** Royalty burden on the working-interest share, 0-100. Defaults to the deck's royaltyPct, else 0. */
156587
157327
  royaltyPct?: InputMaybe<Scalars['Float']['input']>;
157328
+ /** The asset's theoretical volume for the period (>= 0). Give it for every entry or none; it drives the reconciliation factor. */
157329
+ theoreticalVolume?: InputMaybe<Scalars['Float']['input']>;
156588
157330
  /** MANUAL: required, the asset's allocated volume (>= 0). */
156589
157331
  volume?: InputMaybe<Scalars['Float']['input']>;
156590
- /** Working interest held in this asset, 0-100. Defaults to the asset's workingInterestPct. */
157332
+ /** Working interest held in this asset, 0-100. Defaults to the workspace party of the interest deck in force for the period, else the asset's workingInterestPct. */
156591
157333
  workingInterestPct?: InputMaybe<Scalars['Float']['input']>;
156592
157334
  };
156593
157335
 
157336
+ /** A production record inside a closed period that has no APPROVED allocation. */
157337
+ export type TheAllocationException = {
157338
+ __typename?: 'TheAllocationException';
157339
+ id: Scalars['ID']['output'];
157340
+ periodClose: TheAllocationPeriodClose;
157341
+ productionRecord: TheProductionRecord;
157342
+ reason: TheAllocationExceptionReason;
157343
+ };
157344
+
157345
+ export type TheAllocationExceptionConnection = {
157346
+ __typename?: 'TheAllocationExceptionConnection';
157347
+ items: Array<TheAllocationException>;
157348
+ pageInfo: ThePageInfo;
157349
+ totalCount: Scalars['Int']['output'];
157350
+ };
157351
+
157352
+ export enum TheAllocationExceptionReason {
157353
+ /** The record only has a DRAFT allocation. */
157354
+ DRAFT_PENDING = 'DRAFT_PENDING',
157355
+ /** The record has no live allocation. */
157356
+ UNALLOCATED = 'UNALLOCATED'
157357
+ }
157358
+
156594
157359
  export enum TheAllocationMethod {
156595
157360
  MANUAL = 'MANUAL',
156596
157361
  PRO_RATA = 'PRO_RATA'
156597
157362
  }
156598
157363
 
157364
+ export type TheAllocationPeriodClose = {
157365
+ __typename?: 'TheAllocationPeriodClose';
157366
+ asset?: Maybe<TheAsset>;
157367
+ /** Measurement asset (field / facility) the close applies to; null when it applies to every asset. */
157368
+ assetId?: Maybe<Scalars['ID']['output']>;
157369
+ closeNotes?: Maybe<Scalars['String']['output']>;
157370
+ closedAt: Scalars['DateTime']['output'];
157371
+ closedBy: Scalars['ID']['output'];
157372
+ createdAt: Scalars['DateTime']['output'];
157373
+ id: Scalars['ID']['output'];
157374
+ periodEnd: Scalars['DateTime']['output'];
157375
+ periodStart: Scalars['DateTime']['output'];
157376
+ reopenReason?: Maybe<Scalars['String']['output']>;
157377
+ reopenedAt?: Maybe<Scalars['DateTime']['output']>;
157378
+ reopenedBy?: Maybe<Scalars['ID']['output']>;
157379
+ status: TheAllocationPeriodStatus;
157380
+ updatedAt: Scalars['DateTime']['output'];
157381
+ workspaceId: Scalars['ID']['output'];
157382
+ };
157383
+
157384
+ export type TheAllocationPeriodCloseConnection = {
157385
+ __typename?: 'TheAllocationPeriodCloseConnection';
157386
+ items: Array<TheAllocationPeriodClose>;
157387
+ pageInfo: ThePageInfo;
157388
+ };
157389
+
157390
+ export enum TheAllocationPeriodStatus {
157391
+ CLOSED = 'CLOSED',
157392
+ REOPENED = 'REOPENED'
157393
+ }
157394
+
157395
+ export type TheAllocationShrinkage = {
157396
+ __typename?: 'TheAllocationShrinkage';
157397
+ category: TheShrinkageCategory;
157398
+ volume: Scalars['Float']['output'];
157399
+ };
157400
+
157401
+ export type TheAllocationShrinkageInput = {
157402
+ category: TheShrinkageCategory;
157403
+ /** Volume in the allocation unit (>= 0). */
157404
+ volume: Scalars['Float']['input'];
157405
+ };
157406
+
157407
+ export type TheAllocationStatement = {
157408
+ __typename?: 'TheAllocationStatement';
157409
+ /** APPROVED allocations in the window with their per-asset entries (at most 500). */
157410
+ allocations: Array<TheProductionAllocation>;
157411
+ /** The statement as a CSV document (RFC 4180, formula-safe). */
157412
+ csv: Scalars['String']['output'];
157413
+ generatedAt: Scalars['DateTime']['output'];
157414
+ measurementAssetId?: Maybe<Scalars['ID']['output']>;
157415
+ netPosition: TheNetProductionPosition;
157416
+ /** CLOSED periods overlapping the window. */
157417
+ periodCloses: Array<TheAllocationPeriodClose>;
157418
+ periodEnd: Scalars['DateTime']['output'];
157419
+ periodStart: Scalars['DateTime']['output'];
157420
+ truncated: Scalars['Boolean']['output'];
157421
+ /** Production records in the window with no APPROVED allocation. */
157422
+ unapprovedRecordCount: Scalars['Int']['output'];
157423
+ };
157424
+
156599
157425
  export enum TheAllocationStatus {
156600
157426
  APPROVED = 'APPROVED',
156601
157427
  DRAFT = 'DRAFT',
@@ -156622,6 +157448,10 @@ export type TheAsset = {
156622
157448
  longitude?: Maybe<Scalars['Float']['output']>;
156623
157449
  name: Scalars['String']['output'];
156624
157450
  operatorLeadId?: Maybe<Scalars['ID']['output']>;
157451
+ /** Federated reference to the asset's photo File (key-only, owned by wspace-files-svc). */
157452
+ photo?: Maybe<File>;
157453
+ /** wspace-files-svc File id of the asset's photo, if one was uploaded (BOFF-10630). Resolve the image through the Files graph root fields (getFile / getFileDownloadUrl). */
157454
+ photoFileId?: Maybe<Scalars['ID']['output']>;
156625
157455
  productionRecords: TheProductionRecordConnection;
156626
157456
  reserveEstimates: TheReserveEstimateConnection;
156627
157457
  /** Reservoir / deposit lithology or type (e.g. Carbonate, Sandstone, Porphyry). */
@@ -156675,6 +157505,71 @@ export enum TheAssetStatus {
156675
157505
  SUSPENDED = 'SUSPENDED'
156676
157506
  }
156677
157507
 
157508
+ export type TheBulkAllocateProductionInput = {
157509
+ /** Also approve each allocation it creates. */
157510
+ approve?: InputMaybe<Scalars['Boolean']['input']>;
157511
+ /** Validate every record without writing anything. */
157512
+ dryRun?: InputMaybe<Scalars['Boolean']['input']>;
157513
+ /** PRO_RATA factors (e.g. the latest well-test rates), with optional working-interest / royalty overrides. */
157514
+ entries: Array<TheAllocationEntryInput>;
157515
+ /** Asset the production records were measured at (field / facility / meter). */
157516
+ measurementAssetId: Scalars['ID']['input'];
157517
+ notes?: InputMaybe<Scalars['String']['input']>;
157518
+ periodEnd: Scalars['DateTime']['input'];
157519
+ periodStart: Scalars['DateTime']['input'];
157520
+ };
157521
+
157522
+ export enum TheBulkAllocationOutcome {
157523
+ /** A DRAFT allocation was created. */
157524
+ ALLOCATED = 'ALLOCATED',
157525
+ /** An allocation was created and approved. */
157526
+ APPROVED = 'APPROVED',
157527
+ /** The record could not be allocated (see errorCode / message). */
157528
+ FAILED = 'FAILED',
157529
+ /** The record already had a live allocation and was left alone. */
157530
+ SKIPPED = 'SKIPPED',
157531
+ /** Dry run: the record would be allocated. */
157532
+ VALIDATED = 'VALIDATED'
157533
+ }
157534
+
157535
+ export type TheBulkAllocationRecordResult = {
157536
+ __typename?: 'TheBulkAllocationRecordResult';
157537
+ allocation?: Maybe<TheProductionAllocation>;
157538
+ errorCode?: Maybe<Scalars['String']['output']>;
157539
+ measuredVolume: Scalars['Float']['output'];
157540
+ message?: Maybe<Scalars['String']['output']>;
157541
+ outcome: TheBulkAllocationOutcome;
157542
+ periodEnd: Scalars['DateTime']['output'];
157543
+ periodStart: Scalars['DateTime']['output'];
157544
+ productionRecordId: Scalars['ID']['output'];
157545
+ unit: TheUnit;
157546
+ };
157547
+
157548
+ export type TheBulkAllocationResult = {
157549
+ __typename?: 'TheBulkAllocationResult';
157550
+ /** Allocations created (including those also approved). */
157551
+ allocatedCount: Scalars['Int']['output'];
157552
+ approve: Scalars['Boolean']['output'];
157553
+ approvedCount: Scalars['Int']['output'];
157554
+ dryRun: Scalars['Boolean']['output'];
157555
+ failedCount: Scalars['Int']['output'];
157556
+ /** Production records in the window that were considered (at most 200). */
157557
+ recordCount: Scalars['Int']['output'];
157558
+ results: Array<TheBulkAllocationRecordResult>;
157559
+ skippedCount: Scalars['Int']['output'];
157560
+ /** True when the window held more records than one run processes; run again for the rest. */
157561
+ truncated: Scalars['Boolean']['output'];
157562
+ validatedCount: Scalars['Int']['output'];
157563
+ };
157564
+
157565
+ export type TheCloseAllocationPeriodInput = {
157566
+ /** Close the period for one measurement asset only; omit to close it for every asset. */
157567
+ assetId?: InputMaybe<Scalars['ID']['input']>;
157568
+ notes?: InputMaybe<Scalars['String']['input']>;
157569
+ periodEnd: Scalars['DateTime']['input'];
157570
+ periodStart: Scalars['DateTime']['input'];
157571
+ };
157572
+
156678
157573
  export enum TheCommodityType {
156679
157574
  BAUXITE = 'BAUXITE',
156680
157575
  BIOFUEL = 'BIOFUEL',
@@ -156736,6 +157631,46 @@ export enum TheComplianceStatus {
156736
157631
  SUBMITTED = 'SUBMITTED'
156737
157632
  }
156738
157633
 
157634
+ export type TheContractEntitlement = {
157635
+ __typename?: 'TheContractEntitlement';
157636
+ allocationEntryId: Scalars['ID']['output'];
157637
+ allocationId: Scalars['ID']['output'];
157638
+ asset?: Maybe<TheAsset>;
157639
+ assetId: Scalars['ID']['output'];
157640
+ contract?: Maybe<TheOfftakeContract>;
157641
+ contractId: Scalars['ID']['output'];
157642
+ createdAt: Scalars['DateTime']['output'];
157643
+ createdBy: Scalars['ID']['output'];
157644
+ id: Scalars['ID']['output'];
157645
+ notes?: Maybe<Scalars['String']['output']>;
157646
+ /** Start of the allocation period the volume was produced in. */
157647
+ periodStart: Scalars['DateTime']['output'];
157648
+ unit: TheUnit;
157649
+ volume: Scalars['Float']['output'];
157650
+ workspaceId: Scalars['ID']['output'];
157651
+ };
157652
+
157653
+ export type TheContractEntitlementConnection = {
157654
+ __typename?: 'TheContractEntitlementConnection';
157655
+ items: Array<TheContractEntitlement>;
157656
+ pageInfo: ThePageInfo;
157657
+ };
157658
+
157659
+ /** A contract's entitlement from approved allocations against its lifted (delivered) volume, in the contract's unit. */
157660
+ export type TheContractLiftingPosition = {
157661
+ __typename?: 'TheContractLiftingPosition';
157662
+ /** liftedVolume - entitledVolume: positive is over-lifted, negative under-lifted. */
157663
+ balanceVolume: Scalars['Float']['output'];
157664
+ contract?: Maybe<TheOfftakeContract>;
157665
+ contractId: Scalars['ID']['output'];
157666
+ contractedVolume: Scalars['Float']['output'];
157667
+ entitledVolume: Scalars['Float']['output'];
157668
+ entitlementCount: Scalars['Int']['output'];
157669
+ liftedVolume: Scalars['Float']['output'];
157670
+ position: TheLiftingPositionKind;
157671
+ unit: TheUnit;
157672
+ };
157673
+
156739
157674
  export enum TheContractSide {
156740
157675
  BUY = 'BUY',
156741
157676
  SELL = 'SELL'
@@ -156779,6 +157714,17 @@ export enum TheCorrectiveActionStatus {
156779
157714
  VERIFIED = 'VERIFIED'
156780
157715
  }
156781
157716
 
157717
+ export type TheCreateAllocationCorrectionInput = {
157718
+ /** The APPROVED original allocation to correct. */
157719
+ allocationId: Scalars['ID']['input'];
157720
+ entries: Array<TheAllocationCorrectionEntryInput>;
157721
+ notes?: InputMaybe<Scalars['String']['input']>;
157722
+ periodEnd?: InputMaybe<Scalars['DateTime']['input']>;
157723
+ /** Period the correction is booked in (both or neither). Defaults to the original's period; a correction of a closed period is booked in a later, open period. It may not start before the original's period. */
157724
+ periodStart?: InputMaybe<Scalars['DateTime']['input']>;
157725
+ reason: Scalars['String']['input'];
157726
+ };
157727
+
156782
157728
  export type TheCreateAssetInput = {
156783
157729
  area?: InputMaybe<Scalars['Float']['input']>;
156784
157730
  capacityPerDay?: InputMaybe<Scalars['Float']['input']>;
@@ -156793,6 +157739,8 @@ export type TheCreateAssetInput = {
156793
157739
  longitude?: InputMaybe<Scalars['Float']['input']>;
156794
157740
  name: Scalars['String']['input'];
156795
157741
  operatorLeadId?: InputMaybe<Scalars['ID']['input']>;
157742
+ /** Optional wspace-files-svc File id of the asset's photo (BOFF-10630). */
157743
+ photoFileId?: InputMaybe<Scalars['ID']['input']>;
156796
157744
  reservoirType?: InputMaybe<Scalars['String']['input']>;
156797
157745
  status?: InputMaybe<TheAssetStatus>;
156798
157746
  waterDepth?: InputMaybe<Scalars['Float']['input']>;
@@ -156812,6 +157760,15 @@ export type TheCreateComplianceCertInput = {
156812
157760
  title: Scalars['String']['input'];
156813
157761
  };
156814
157762
 
157763
+ export type TheCreateContractEntitlementInput = {
157764
+ /** An entry of an APPROVED allocation, in the contract's unit and commodity. */
157765
+ allocationEntryId: Scalars['ID']['input'];
157766
+ contractId: Scalars['ID']['input'];
157767
+ notes?: InputMaybe<Scalars['String']['input']>;
157768
+ /** Volume to assign (> 0). Defaults to the entry's whole remaining net revenue volume. */
157769
+ volume?: InputMaybe<Scalars['Float']['input']>;
157770
+ };
157771
+
156815
157772
  export type TheCreateCorrectiveActionInput = {
156816
157773
  description: Scalars['String']['input'];
156817
157774
  dueDate?: InputMaybe<Scalars['DateTime']['input']>;
@@ -156820,6 +157777,31 @@ export type TheCreateCorrectiveActionInput = {
156820
157777
  ownerId?: InputMaybe<Scalars['ID']['input']>;
156821
157778
  };
156822
157779
 
157780
+ export type TheCreateEquipmentInput = {
157781
+ assetId: Scalars['ID']['input'];
157782
+ category?: InputMaybe<TheEquipmentCategory>;
157783
+ criticality?: InputMaybe<TheMaintenancePriority>;
157784
+ installedAt?: InputMaybe<Scalars['DateTime']['input']>;
157785
+ manufacturer?: InputMaybe<Scalars['String']['input']>;
157786
+ model?: InputMaybe<Scalars['String']['input']>;
157787
+ name: Scalars['String']['input'];
157788
+ notes?: InputMaybe<Scalars['String']['input']>;
157789
+ serialNumber?: InputMaybe<Scalars['String']['input']>;
157790
+ tag?: InputMaybe<Scalars['String']['input']>;
157791
+ };
157792
+
157793
+ export type TheCreateInterestDeckInput = {
157794
+ assetId: Scalars['ID']['input'];
157795
+ effectiveFrom: Scalars['DateTime']['input'];
157796
+ /** Exclusive end. Omit for open-ended. A deck starting after the asset's open-ended deck closes that deck at this deck's effectiveFrom. */
157797
+ effectiveTo?: InputMaybe<Scalars['DateTime']['input']>;
157798
+ notes?: InputMaybe<Scalars['String']['input']>;
157799
+ overridingRoyaltyPct?: InputMaybe<Scalars['Float']['input']>;
157800
+ /** 1-50 parties; exactly one with isWorkspaceInterest = true. */
157801
+ parties: Array<TheInterestDeckPartyInput>;
157802
+ royaltyPct?: InputMaybe<Scalars['Float']['input']>;
157803
+ };
157804
+
156823
157805
  export type TheCreateInventoryLotInput = {
156824
157806
  assetId?: InputMaybe<Scalars['ID']['input']>;
156825
157807
  commodity: TheCommodityType;
@@ -156834,6 +157816,17 @@ export type TheCreateInventoryLotInput = {
156834
157816
  unitValue?: InputMaybe<Scalars['Float']['input']>;
156835
157817
  };
156836
157818
 
157819
+ export type TheCreateMaintenanceScheduleInput = {
157820
+ description?: InputMaybe<Scalars['String']['input']>;
157821
+ equipmentId: Scalars['ID']['input'];
157822
+ estimatedHours?: InputMaybe<Scalars['Float']['input']>;
157823
+ intervalDays: Scalars['Int']['input'];
157824
+ /** First due date; defaults to now + intervalDays. */
157825
+ nextDueAt?: InputMaybe<Scalars['DateTime']['input']>;
157826
+ priority?: InputMaybe<TheMaintenancePriority>;
157827
+ title: Scalars['String']['input'];
157828
+ };
157829
+
156837
157830
  export type TheCreateOfftakeContractInput = {
156838
157831
  commodity: TheCommodityType;
156839
157832
  contractedVolume?: InputMaybe<Scalars['Float']['input']>;
@@ -156856,6 +157849,8 @@ export type TheCreateProductionAllocationInput = {
156856
157849
  method?: InputMaybe<TheAllocationMethod>;
156857
157850
  notes?: InputMaybe<Scalars['String']['input']>;
156858
157851
  productionRecordId: Scalars['ID']['input'];
157852
+ /** Shrinkage between the contributing assets and the measurement point, at most one line per category. */
157853
+ shrinkage?: InputMaybe<Array<TheAllocationShrinkageInput>>;
156859
157854
  };
156860
157855
 
156861
157856
  export type TheCreateReserveEstimateInput = {
@@ -156884,6 +157879,21 @@ export type TheCreateShipmentInput = {
156884
157879
  volume: Scalars['Float']['input'];
156885
157880
  };
156886
157881
 
157882
+ export type TheCreateWorkOrderInput = {
157883
+ /** Required unless equipmentId is given (the asset is then taken from the equipment). */
157884
+ assetId?: InputMaybe<Scalars['ID']['input']>;
157885
+ assigneeId?: InputMaybe<Scalars['ID']['input']>;
157886
+ conditionTrigger?: InputMaybe<Scalars['String']['input']>;
157887
+ description?: InputMaybe<Scalars['String']['input']>;
157888
+ equipmentId?: InputMaybe<Scalars['ID']['input']>;
157889
+ notes?: InputMaybe<Scalars['String']['input']>;
157890
+ priority?: InputMaybe<TheMaintenancePriority>;
157891
+ scheduledEnd?: InputMaybe<Scalars['DateTime']['input']>;
157892
+ scheduledStart?: InputMaybe<Scalars['DateTime']['input']>;
157893
+ title: Scalars['String']['input'];
157894
+ type?: InputMaybe<TheWorkOrderType>;
157895
+ };
157896
+
156887
157897
  export type TheEmissionRecord = {
156888
157898
  __typename?: 'TheEmissionRecord';
156889
157899
  assetId?: Maybe<Scalars['ID']['output']>;
@@ -156914,6 +157924,53 @@ export enum TheEmissionScope {
156914
157924
  SCOPE_3 = 'SCOPE_3'
156915
157925
  }
156916
157926
 
157927
+ export type TheEquipment = {
157928
+ __typename?: 'TheEquipment';
157929
+ assetId: Scalars['ID']['output'];
157930
+ category: TheEquipmentCategory;
157931
+ createdAt: Scalars['DateTime']['output'];
157932
+ criticality: TheMaintenancePriority;
157933
+ id: Scalars['ID']['output'];
157934
+ installedAt?: Maybe<Scalars['DateTime']['output']>;
157935
+ manufacturer?: Maybe<Scalars['String']['output']>;
157936
+ model?: Maybe<Scalars['String']['output']>;
157937
+ name: Scalars['String']['output'];
157938
+ notes?: Maybe<Scalars['String']['output']>;
157939
+ retiredAt?: Maybe<Scalars['DateTime']['output']>;
157940
+ serialNumber?: Maybe<Scalars['String']['output']>;
157941
+ status: TheEquipmentStatus;
157942
+ /** Plant / equipment tag number as stencilled in the field (e.g. P-101A). */
157943
+ tag?: Maybe<Scalars['String']['output']>;
157944
+ updatedAt: Scalars['DateTime']['output'];
157945
+ workspaceId: Scalars['ID']['output'];
157946
+ };
157947
+
157948
+ export enum TheEquipmentCategory {
157949
+ COMPRESSOR = 'COMPRESSOR',
157950
+ GENERATOR = 'GENERATOR',
157951
+ INSTRUMENT = 'INSTRUMENT',
157952
+ OTHER = 'OTHER',
157953
+ PIPELINE = 'PIPELINE',
157954
+ PUMP = 'PUMP',
157955
+ TANK = 'TANK',
157956
+ TURBINE = 'TURBINE',
157957
+ VALVE = 'VALVE',
157958
+ VEHICLE = 'VEHICLE'
157959
+ }
157960
+
157961
+ export type TheEquipmentConnection = {
157962
+ __typename?: 'TheEquipmentConnection';
157963
+ items: Array<TheEquipment>;
157964
+ pageInfo: ThePageInfo;
157965
+ };
157966
+
157967
+ export enum TheEquipmentStatus {
157968
+ DEGRADED = 'DEGRADED',
157969
+ DOWN = 'DOWN',
157970
+ OPERATIONAL = 'OPERATIONAL',
157971
+ RETIRED = 'RETIRED'
157972
+ }
157973
+
156917
157974
  /** A generated, reporting-period snapshot of ESG datapoints aligned to a named disclosure framework (GRI/SASB/CSRD/SEC/CDP), computed from this workspace's own emission and compliance records at generation time — see EsgReportingService. `datapoints` is returned as a JSON string. */
156918
157975
  export type TheEsgDisclosure = {
156919
157976
  __typename?: 'TheEsgDisclosure';
@@ -156958,6 +158015,70 @@ export type TheGenerateEsgDisclosureInput = {
156958
158015
  periodStart: Scalars['DateTime']['input'];
156959
158016
  };
156960
158017
 
158018
+ /** Result of raising planned work orders from due preventive-maintenance schedules. */
158019
+ export type TheGenerateWorkOrdersResult = {
158020
+ __typename?: 'TheGenerateWorkOrdersResult';
158021
+ created: Scalars['Int']['output'];
158022
+ workOrders: Array<TheWorkOrder>;
158023
+ };
158024
+
158025
+ export type TheInterestDeck = {
158026
+ __typename?: 'TheInterestDeck';
158027
+ asset?: Maybe<TheAsset>;
158028
+ assetId: Scalars['ID']['output'];
158029
+ createdAt: Scalars['DateTime']['output'];
158030
+ createdBy: Scalars['ID']['output'];
158031
+ /** Inclusive start of the period the deck is in force. */
158032
+ effectiveFrom: Scalars['DateTime']['output'];
158033
+ /** Exclusive end of the period; null until the deck is superseded. */
158034
+ effectiveTo?: Maybe<Scalars['DateTime']['output']>;
158035
+ id: Scalars['ID']['output'];
158036
+ notes?: Maybe<Scalars['String']['output']>;
158037
+ /** Overriding royalty interest, 0-100, borne by the working interest. */
158038
+ overridingRoyaltyPct: Scalars['Float']['output'];
158039
+ parties: Array<TheInterestDeckParty>;
158040
+ /** Landowner / lessor royalty, 0-100, borne by the working interest. */
158041
+ royaltyPct: Scalars['Float']['output'];
158042
+ updatedAt: Scalars['DateTime']['output'];
158043
+ workspaceId: Scalars['ID']['output'];
158044
+ /** The workspace's own party (always present). */
158045
+ workspaceParty?: Maybe<TheInterestDeckParty>;
158046
+ };
158047
+
158048
+ export type TheInterestDeckConnection = {
158049
+ __typename?: 'TheInterestDeckConnection';
158050
+ items: Array<TheInterestDeck>;
158051
+ pageInfo: ThePageInfo;
158052
+ };
158053
+
158054
+ export type TheInterestDeckParty = {
158055
+ __typename?: 'TheInterestDeckParty';
158056
+ id: Scalars['ID']['output'];
158057
+ /** True for the single party that is this workspace's own interest. */
158058
+ isWorkspaceInterest: Scalars['Boolean']['output'];
158059
+ /** workingInterestPct x (1 - (royaltyPct + overridingRoyaltyPct) / 100). */
158060
+ netRevenueInterestPct: Scalars['Float']['output'];
158061
+ partyName: Scalars['String']['output'];
158062
+ workingInterestPct: Scalars['Float']['output'];
158063
+ };
158064
+
158065
+ export type TheInterestDeckPartyInput = {
158066
+ isWorkspaceInterest?: InputMaybe<Scalars['Boolean']['input']>;
158067
+ partyName: Scalars['String']['input'];
158068
+ /** 0-100. The parties of a deck must sum to exactly 100. */
158069
+ workingInterestPct: Scalars['Float']['input'];
158070
+ };
158071
+
158072
+ /** Where an allocation entry's ownership terms came from. */
158073
+ export enum TheInterestSource {
158074
+ /** No deck was in force: the asset's own working interest and no royalty. */
158075
+ ASSET_DEFAULT = 'ASSET_DEFAULT',
158076
+ /** The interest deck in force for the whole allocation period. */
158077
+ INTEREST_DECK = 'INTEREST_DECK',
158078
+ /** At least one term was entered on the allocation entry. */
158079
+ OVERRIDE = 'OVERRIDE'
158080
+ }
158081
+
156961
158082
  export type TheInventoryLot = {
156962
158083
  __typename?: 'TheInventoryLot';
156963
158084
  assetId?: Maybe<Scalars['ID']['output']>;
@@ -157024,15 +158145,87 @@ export enum TheLegalCheckpointType {
157024
158145
  VERIFICATION_FIRST_USE = 'VERIFICATION_FIRST_USE'
157025
158146
  }
157026
158147
 
158148
+ export enum TheLiftingPositionKind {
158149
+ BALANCED = 'BALANCED',
158150
+ /** More has been lifted (delivered) than the contract is entitled to. */
158151
+ OVER_LIFTED = 'OVER_LIFTED',
158152
+ /** Less has been lifted than the contract is entitled to. */
158153
+ UNDER_LIFTED = 'UNDER_LIFTED'
158154
+ }
158155
+
158156
+ /** Live counts for the maintenance dashboard. */
158157
+ export type TheMaintenanceDashboard = {
158158
+ __typename?: 'TheMaintenanceDashboard';
158159
+ byStatus: Array<TheWorkOrderStatusCount>;
158160
+ byType: Array<TheWorkOrderTypeCount>;
158161
+ /** Downtime recorded on work orders completed in the last 30 days, in hours. */
158162
+ downtimeHoursLast30Days: Scalars['Float']['output'];
158163
+ equipmentDegraded: Scalars['Int']['output'];
158164
+ equipmentDown: Scalars['Int']['output'];
158165
+ openWorkOrders: Scalars['Int']['output'];
158166
+ overdueWorkOrders: Scalars['Int']['output'];
158167
+ schedulesDue: Scalars['Int']['output'];
158168
+ };
158169
+
158170
+ /** Maintenance history for an asset (optionally narrowed to one piece of equipment): finished work orders newest first, plus downtime totals. */
158171
+ export type TheMaintenanceHistory = {
158172
+ __typename?: 'TheMaintenanceHistory';
158173
+ assetId: Scalars['ID']['output'];
158174
+ /** Downtime hours that are attributed to a production record. */
158175
+ attributedDowntimeHours: Scalars['Float']['output'];
158176
+ completedWorkOrders: Scalars['Int']['output'];
158177
+ equipmentId?: Maybe<Scalars['ID']['output']>;
158178
+ items: Array<TheWorkOrder>;
158179
+ lastCompletedAt?: Maybe<Scalars['DateTime']['output']>;
158180
+ pageInfo: ThePageInfo;
158181
+ totalDowntimeHours: Scalars['Float']['output'];
158182
+ };
158183
+
158184
+ export enum TheMaintenancePriority {
158185
+ HIGH = 'HIGH',
158186
+ LOW = 'LOW',
158187
+ MEDIUM = 'MEDIUM',
158188
+ URGENT = 'URGENT'
158189
+ }
158190
+
158191
+ export type TheMaintenanceSchedule = {
158192
+ __typename?: 'TheMaintenanceSchedule';
158193
+ active: Scalars['Boolean']['output'];
158194
+ createdAt: Scalars['DateTime']['output'];
158195
+ description?: Maybe<Scalars['String']['output']>;
158196
+ equipmentId: Scalars['ID']['output'];
158197
+ estimatedHours?: Maybe<Scalars['Float']['output']>;
158198
+ id: Scalars['ID']['output'];
158199
+ intervalDays: Scalars['Int']['output'];
158200
+ lastCompletedAt?: Maybe<Scalars['DateTime']['output']>;
158201
+ nextDueAt: Scalars['DateTime']['output'];
158202
+ priority: TheMaintenancePriority;
158203
+ title: Scalars['String']['output'];
158204
+ updatedAt: Scalars['DateTime']['output'];
158205
+ workspaceId: Scalars['ID']['output'];
158206
+ };
158207
+
158208
+ export type TheMaintenanceScheduleConnection = {
158209
+ __typename?: 'TheMaintenanceScheduleConnection';
158210
+ items: Array<TheMaintenanceSchedule>;
158211
+ pageInfo: ThePageInfo;
158212
+ };
158213
+
157027
158214
  /** Net position for one asset and unit over a period, from APPROVED allocations only. */
157028
158215
  export type TheNetPositionLine = {
157029
158216
  __typename?: 'TheNetPositionLine';
157030
158217
  allocationCount: Scalars['Int']['output'];
157031
158218
  asset?: Maybe<TheAsset>;
157032
158219
  assetId: Scalars['ID']['output'];
158220
+ /** The asset's commodity; set when a reporting unit was requested. */
158221
+ commodity?: Maybe<TheCommodityType>;
158222
+ /** Factor converting this line's unit into the reporting unit; null when none was requested or no conversion exists. */
158223
+ conversionFactor?: Maybe<Scalars['Float']['output']>;
157033
158224
  grossAllocatedVolume: Scalars['Float']['output'];
157034
158225
  netRevenueVolume: Scalars['Float']['output'];
157035
158226
  netWorkingInterestVolume: Scalars['Float']['output'];
158227
+ /** This line's volumes in the reporting unit; null when none was requested or no conversion exists. */
158228
+ reported?: Maybe<TheNetPositionTotal>;
157036
158229
  royaltyVolume: Scalars['Float']['output'];
157037
158230
  unit: TheUnit;
157038
158231
  };
@@ -157054,7 +158247,13 @@ export type TheNetProductionPosition = {
157054
158247
  lines: Array<TheNetPositionLine>;
157055
158248
  periodEnd: Scalars['DateTime']['output'];
157056
158249
  periodStart: Scalars['DateTime']['output'];
158250
+ /** All convertible lines totalled in the reporting unit; null when no reporting unit was requested or no line could be converted. */
158251
+ reportingTotal?: Maybe<TheNetPositionTotal>;
158252
+ /** The requested reporting unit, if any. */
158253
+ reportingUnit?: Maybe<TheUnit>;
157057
158254
  totals: Array<TheNetPositionTotal>;
158255
+ /** Lines left out of reportingTotal because no conversion exists for their commodity and unit. */
158256
+ unconvertibleCount: Scalars['Int']['output'];
157058
158257
  };
157059
158258
 
157060
158259
  export type TheOfftakeContract = {
@@ -157113,10 +158312,18 @@ export type TheProductionAllocation = {
157113
158312
  allocatedTotal: Scalars['Float']['output'];
157114
158313
  approvedAt?: Maybe<Scalars['DateTime']['output']>;
157115
158314
  approvedBy?: Maybe<Scalars['ID']['output']>;
158315
+ correctionReason?: Maybe<Scalars['String']['output']>;
158316
+ /** Corrections recorded against this allocation, oldest first. */
158317
+ corrections: Array<TheProductionAllocation>;
158318
+ correctsAllocation?: Maybe<TheProductionAllocation>;
158319
+ /** The APPROVED original allocation this correction adjusts. */
158320
+ correctsAllocationId?: Maybe<Scalars['ID']['output']>;
157116
158321
  createdAt: Scalars['DateTime']['output'];
157117
158322
  createdBy: Scalars['ID']['output'];
157118
158323
  entries: Array<TheAllocationEntry>;
157119
158324
  id: Scalars['ID']['output'];
158325
+ /** True for a prior-period correction of another allocation. */
158326
+ isCorrection: Scalars['Boolean']['output'];
157120
158327
  /** Measured (gross) volume being allocated, snapshotted from the production record. */
157121
158328
  measuredVolume: Scalars['Float']['output'];
157122
158329
  measurementAsset?: Maybe<TheAsset>;
@@ -157130,13 +158337,23 @@ export type TheProductionAllocation = {
157130
158337
  periodStart: Scalars['DateTime']['output'];
157131
158338
  productionRecord?: Maybe<TheProductionRecord>;
157132
158339
  productionRecordId: Scalars['ID']['output'];
158340
+ /** wellheadVolume / theoreticalTotal; null without theoretical volumes. */
158341
+ reconciliationFactor?: Maybe<Scalars['Float']['output']>;
157133
158342
  reversalReason?: Maybe<Scalars['String']['output']>;
157134
158343
  reversedAt?: Maybe<Scalars['DateTime']['output']>;
157135
158344
  reversedBy?: Maybe<Scalars['ID']['output']>;
157136
158345
  royaltyTotal: Scalars['Float']['output'];
158346
+ /** Shrinkage by category (all four categories, zero when not recorded). */
158347
+ shrinkage: Array<TheAllocationShrinkage>;
158348
+ /** Sum of the shrinkage categories. */
158349
+ shrinkageTotal: Scalars['Float']['output'];
157137
158350
  status: TheAllocationStatus;
158351
+ /** Sum of the entries' theoretical volumes; null unless every entry supplied one. */
158352
+ theoreticalTotal?: Maybe<Scalars['Float']['output']>;
157138
158353
  unit: TheUnit;
157139
158354
  updatedAt: Scalars['DateTime']['output'];
158355
+ /** measuredVolume + shrinkageTotal: the volume produced at the contributing assets. */
158356
+ wellheadVolume: Scalars['Float']['output'];
157140
158357
  workspaceId: Scalars['ID']['output'];
157141
158358
  };
157142
158359
 
@@ -157241,6 +158458,12 @@ export type TheReserveEstimateConnection = {
157241
158458
  pageInfo: ThePageInfo;
157242
158459
  };
157243
158460
 
158461
+ export type TheResetUnitConversionInput = {
158462
+ commodity: TheCommodityType;
158463
+ fromUnit: TheUnit;
158464
+ toUnit: TheUnit;
158465
+ };
158466
+
157244
158467
  export type TheSafetyCategoryCount = {
157245
158468
  __typename?: 'TheSafetyCategoryCount';
157246
158469
  category: TheSafetyIncidentCategory;
@@ -157317,6 +158540,15 @@ export type TheSafetySeverityCount = {
157317
158540
  severity: TheSafetyIncidentSeverity;
157318
158541
  };
157319
158542
 
158543
+ export type TheSetUnitConversionInput = {
158544
+ commodity: TheCommodityType;
158545
+ /** One fromUnit equals this many toUnit (> 0). */
158546
+ factor: Scalars['Float']['input'];
158547
+ fromUnit: TheUnit;
158548
+ notes?: InputMaybe<Scalars['String']['input']>;
158549
+ toUnit: TheUnit;
158550
+ };
158551
+
157320
158552
  export type TheShipment = {
157321
158553
  __typename?: 'TheShipment';
157322
158554
  carrier?: Maybe<Scalars['String']['output']>;
@@ -157357,6 +158589,18 @@ export enum TheShipmentStatus {
157357
158589
  SCHEDULED = 'SCHEDULED'
157358
158590
  }
157359
158591
 
158592
+ /** Volumes produced at the contributing assets that never reach the measurement point (BOFF-10789). */
158593
+ export enum TheShrinkageCategory {
158594
+ /** Gas flared or vented. */
158595
+ FLARE = 'FLARE',
158596
+ /** Fuel and own use on site. */
158597
+ FUEL = 'FUEL',
158598
+ /** Volumes re-injected into the reservoir. */
158599
+ INJECTION = 'INJECTION',
158600
+ /** Evaporation, metering and handling losses. */
158601
+ LOSS = 'LOSS'
158602
+ }
158603
+
157360
158604
  export enum TheTransportMode {
157361
158605
  GRID = 'GRID',
157362
158606
  PIPELINE = 'PIPELINE',
@@ -157376,6 +158620,22 @@ export enum TheUnit {
157376
158620
  TONNES = 'TONNES'
157377
158621
  }
157378
158622
 
158623
+ /** An effective unit conversion factor for a commodity: a built-in default or this workspace's override. */
158624
+ export type TheUnitConversion = {
158625
+ __typename?: 'TheUnitConversion';
158626
+ commodity: TheCommodityType;
158627
+ /** The built-in factor for the same pair and direction, if any. */
158628
+ defaultFactor?: Maybe<Scalars['Float']['output']>;
158629
+ /** One fromUnit equals this many toUnit. */
158630
+ factor: Scalars['Float']['output'];
158631
+ fromUnit: TheUnit;
158632
+ /** Override id; null for a built-in default. */
158633
+ id?: Maybe<Scalars['ID']['output']>;
158634
+ isDefault: Scalars['Boolean']['output'];
158635
+ notes?: Maybe<Scalars['String']['output']>;
158636
+ toUnit: TheUnit;
158637
+ };
158638
+
157379
158639
  export type TheUpdateAssetInput = {
157380
158640
  area?: InputMaybe<Scalars['Float']['input']>;
157381
158641
  capacityPerDay?: InputMaybe<Scalars['Float']['input']>;
@@ -157391,11 +158651,36 @@ export type TheUpdateAssetInput = {
157391
158651
  longitude?: InputMaybe<Scalars['Float']['input']>;
157392
158652
  name?: InputMaybe<Scalars['String']['input']>;
157393
158653
  operatorLeadId?: InputMaybe<Scalars['ID']['input']>;
158654
+ /** Replace the asset's photo with this wspace-files-svc File id. A null value is ignored here; use theSetAssetPhoto to remove a photo. */
158655
+ photoFileId?: InputMaybe<Scalars['ID']['input']>;
157394
158656
  reservoirType?: InputMaybe<Scalars['String']['input']>;
157395
158657
  waterDepth?: InputMaybe<Scalars['Float']['input']>;
157396
158658
  workingInterestPct?: InputMaybe<Scalars['Float']['input']>;
157397
158659
  };
157398
158660
 
158661
+ export type TheUpdateEquipmentInput = {
158662
+ category?: InputMaybe<TheEquipmentCategory>;
158663
+ criticality?: InputMaybe<TheMaintenancePriority>;
158664
+ installedAt?: InputMaybe<Scalars['DateTime']['input']>;
158665
+ manufacturer?: InputMaybe<Scalars['String']['input']>;
158666
+ model?: InputMaybe<Scalars['String']['input']>;
158667
+ name?: InputMaybe<Scalars['String']['input']>;
158668
+ notes?: InputMaybe<Scalars['String']['input']>;
158669
+ serialNumber?: InputMaybe<Scalars['String']['input']>;
158670
+ status?: InputMaybe<TheEquipmentStatus>;
158671
+ tag?: InputMaybe<Scalars['String']['input']>;
158672
+ };
158673
+
158674
+ export type TheUpdateMaintenanceScheduleInput = {
158675
+ active?: InputMaybe<Scalars['Boolean']['input']>;
158676
+ description?: InputMaybe<Scalars['String']['input']>;
158677
+ estimatedHours?: InputMaybe<Scalars['Float']['input']>;
158678
+ intervalDays?: InputMaybe<Scalars['Int']['input']>;
158679
+ nextDueAt?: InputMaybe<Scalars['DateTime']['input']>;
158680
+ priority?: InputMaybe<TheMaintenancePriority>;
158681
+ title?: InputMaybe<Scalars['String']['input']>;
158682
+ };
158683
+
157399
158684
  export type TheUpdateOfftakeContractInput = {
157400
158685
  contractedVolume?: InputMaybe<Scalars['Float']['input']>;
157401
158686
  counterparty?: InputMaybe<Scalars['String']['input']>;
@@ -157422,6 +158707,95 @@ export type TheUpdateShipmentInput = {
157422
158707
  trackingId?: InputMaybe<Scalars['String']['input']>;
157423
158708
  };
157424
158709
 
158710
+ export type TheUpdateWorkOrderInput = {
158711
+ assigneeId?: InputMaybe<Scalars['ID']['input']>;
158712
+ conditionTrigger?: InputMaybe<Scalars['String']['input']>;
158713
+ description?: InputMaybe<Scalars['String']['input']>;
158714
+ notes?: InputMaybe<Scalars['String']['input']>;
158715
+ priority?: InputMaybe<TheMaintenancePriority>;
158716
+ scheduledEnd?: InputMaybe<Scalars['DateTime']['input']>;
158717
+ scheduledStart?: InputMaybe<Scalars['DateTime']['input']>;
158718
+ title?: InputMaybe<Scalars['String']['input']>;
158719
+ };
158720
+
158721
+ export type TheWorkOrder = {
158722
+ __typename?: 'TheWorkOrder';
158723
+ assetId: Scalars['ID']['output'];
158724
+ assigneeId?: Maybe<Scalars['ID']['output']>;
158725
+ cancelledAt?: Maybe<Scalars['DateTime']['output']>;
158726
+ closedAt?: Maybe<Scalars['DateTime']['output']>;
158727
+ completedAt?: Maybe<Scalars['DateTime']['output']>;
158728
+ completionNotes?: Maybe<Scalars['String']['output']>;
158729
+ /** For condition-based work: the monitored condition that triggered it. */
158730
+ conditionTrigger?: Maybe<Scalars['String']['output']>;
158731
+ createdAt: Scalars['DateTime']['output'];
158732
+ description?: Maybe<Scalars['String']['output']>;
158733
+ /** Equipment / asset downtime caused by this work, in hours. */
158734
+ downtimeHours?: Maybe<Scalars['Float']['output']>;
158735
+ equipment?: Maybe<TheEquipment>;
158736
+ equipmentId?: Maybe<Scalars['ID']['output']>;
158737
+ id: Scalars['ID']['output'];
158738
+ /** The production record whose downtime this work order explains, if attributed. */
158739
+ linkedProductionRecordId?: Maybe<Scalars['ID']['output']>;
158740
+ notes?: Maybe<Scalars['String']['output']>;
158741
+ /** True when the work is not finished and its scheduled end has passed. */
158742
+ overdue: Scalars['Boolean']['output'];
158743
+ priority: TheMaintenancePriority;
158744
+ /** The preventive-maintenance schedule this work order was raised from, if any. */
158745
+ scheduleId?: Maybe<Scalars['ID']['output']>;
158746
+ scheduledEnd?: Maybe<Scalars['DateTime']['output']>;
158747
+ scheduledStart?: Maybe<Scalars['DateTime']['output']>;
158748
+ startedAt?: Maybe<Scalars['DateTime']['output']>;
158749
+ status: TheWorkOrderStatus;
158750
+ title: Scalars['String']['output'];
158751
+ type: TheWorkOrderType;
158752
+ updatedAt: Scalars['DateTime']['output'];
158753
+ workspaceId: Scalars['ID']['output'];
158754
+ };
158755
+
158756
+ export type TheWorkOrderConnection = {
158757
+ __typename?: 'TheWorkOrderConnection';
158758
+ items: Array<TheWorkOrder>;
158759
+ pageInfo: ThePageInfo;
158760
+ };
158761
+
158762
+ export enum TheWorkOrderStatus {
158763
+ CANCELLED = 'CANCELLED',
158764
+ CLOSED = 'CLOSED',
158765
+ COMPLETED = 'COMPLETED',
158766
+ IN_PROGRESS = 'IN_PROGRESS',
158767
+ OPEN = 'OPEN',
158768
+ SCHEDULED = 'SCHEDULED'
158769
+ }
158770
+
158771
+ export type TheWorkOrderStatusCount = {
158772
+ __typename?: 'TheWorkOrderStatusCount';
158773
+ count: Scalars['Int']['output'];
158774
+ status: TheWorkOrderStatus;
158775
+ };
158776
+
158777
+ /** Optional details captured with a lifecycle transition. Scheduling fields apply to SCHEDULED; completion fields apply to COMPLETED. */
158778
+ export type TheWorkOrderTransitionInput = {
158779
+ completionNotes?: InputMaybe<Scalars['String']['input']>;
158780
+ downtimeHours?: InputMaybe<Scalars['Float']['input']>;
158781
+ linkedProductionRecordId?: InputMaybe<Scalars['ID']['input']>;
158782
+ scheduledEnd?: InputMaybe<Scalars['DateTime']['input']>;
158783
+ scheduledStart?: InputMaybe<Scalars['DateTime']['input']>;
158784
+ };
158785
+
158786
+ /** How a work order originated: a recurring schedule (PLANNED), a monitored condition crossing a threshold (CONDITION_BASED), or a breakdown (REACTIVE). */
158787
+ export enum TheWorkOrderType {
158788
+ CONDITION_BASED = 'CONDITION_BASED',
158789
+ PLANNED = 'PLANNED',
158790
+ REACTIVE = 'REACTIVE'
158791
+ }
158792
+
158793
+ export type TheWorkOrderTypeCount = {
158794
+ __typename?: 'TheWorkOrderTypeCount';
158795
+ count: Scalars['Int']['output'];
158796
+ type: TheWorkOrderType;
158797
+ };
158798
+
157425
158799
  export type TimeApprovalRequest = {
157426
158800
  __typename?: 'TimeApprovalRequest';
157427
158801
  approverId?: Maybe<Scalars['ID']['output']>;