@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.
@@ -43203,6 +43203,33 @@ export declare enum HeadshotmarketingReportDateRange {
43203
43203
  LAST_30_DAYS = "LAST_30_DAYS",
43204
43204
  LAST_90_DAYS = "LAST_90_DAYS"
43205
43205
  }
43206
+ /** Outcome of one delivery attempt. */
43207
+ export declare enum HeadshotmarketingReportDeliveryStatus {
43208
+ /** No recipient was sent the report. */
43209
+ FAILED = "FAILED",
43210
+ /** Some recipients were sent the report; others failed. */
43211
+ PARTIAL = "PARTIAL",
43212
+ /** The delivery is in progress. */
43213
+ RUNNING = "RUNNING",
43214
+ /** Every recipient was sent the report. */
43215
+ SENT = "SENT",
43216
+ /** Nothing was sent because no recipient is still a workspace member with an email address. */
43217
+ SKIPPED = "SKIPPED"
43218
+ }
43219
+ /** What started a delivery attempt. */
43220
+ export declare enum HeadshotmarketingReportDeliveryTrigger {
43221
+ /** A workspace member chose Send now. */
43222
+ MANUAL = "MANUAL",
43223
+ /** The schedule came due. */
43224
+ SCHEDULED = "SCHEDULED"
43225
+ }
43226
+ /** How often a scheduled report is delivered. */
43227
+ export declare enum HeadshotmarketingReportScheduleCadence {
43228
+ /** Once a month, on dayOfMonth. */
43229
+ MONTHLY = "MONTHLY",
43230
+ /** Once a week, on dayOfWeek. */
43231
+ WEEKLY = "WEEKLY"
43232
+ }
43206
43233
  /** A widget a saved report can show. */
43207
43234
  export declare enum HeadshotmarketingReportWidget {
43208
43235
  /** First-touch against last-touch attributed revenue per channel. */
@@ -43413,18 +43440,72 @@ export type HeadshotmarketingSavedReport = {
43413
43440
  description?: Maybe<Scalars['String']['output']>;
43414
43441
  id: Scalars['ID']['output'];
43415
43442
  name: Scalars['String']['output'];
43443
+ /** The report's delivery schedule, or null when it is not scheduled. */
43444
+ schedule?: Maybe<HeadshotmarketingSavedReportSchedule>;
43416
43445
  updatedAt: Scalars['DateTime']['output'];
43417
43446
  updatedBy?: Maybe<Scalars['String']['output']>;
43418
43447
  /** Widgets in display order. */
43419
43448
  widgets: Array<HeadshotmarketingReportWidget>;
43420
43449
  workspaceId: Scalars['ID']['output'];
43421
43450
  };
43451
+ export type HeadshotmarketingSavedReportDeliveryRun = {
43452
+ __typename?: 'HeadshotmarketingSavedReportDeliveryRun';
43453
+ completedAt?: Maybe<Scalars['DateTime']['output']>;
43454
+ deliveredCount: Scalars['Int']['output'];
43455
+ error?: Maybe<Scalars['String']['output']>;
43456
+ id: Scalars['ID']['output'];
43457
+ recipientCount: Scalars['Int']['output'];
43458
+ reportId: Scalars['ID']['output'];
43459
+ scheduleId?: Maybe<Scalars['ID']['output']>;
43460
+ /** The due time of a scheduled delivery; null for a manual send. */
43461
+ scheduledFor?: Maybe<Scalars['DateTime']['output']>;
43462
+ startedAt: Scalars['DateTime']['output'];
43463
+ status: HeadshotmarketingReportDeliveryStatus;
43464
+ trigger: HeadshotmarketingReportDeliveryTrigger;
43465
+ /** End of the reporting window the delivery covered. */
43466
+ windowEnd: Scalars['DateTime']['output'];
43467
+ /** Start of the reporting window the delivery covered. */
43468
+ windowStart: Scalars['DateTime']['output'];
43469
+ };
43470
+ export type HeadshotmarketingSavedReportDeliveryRunList = {
43471
+ __typename?: 'HeadshotmarketingSavedReportDeliveryRunList';
43472
+ hasMore: Scalars['Boolean']['output'];
43473
+ items: Array<HeadshotmarketingSavedReportDeliveryRun>;
43474
+ total: Scalars['Int']['output'];
43475
+ };
43422
43476
  export type HeadshotmarketingSavedReportList = {
43423
43477
  __typename?: 'HeadshotmarketingSavedReportList';
43424
43478
  hasMore: Scalars['Boolean']['output'];
43425
43479
  items: Array<HeadshotmarketingSavedReport>;
43426
43480
  total: Scalars['Int']['output'];
43427
43481
  };
43482
+ export type HeadshotmarketingSavedReportSchedule = {
43483
+ __typename?: 'HeadshotmarketingSavedReportSchedule';
43484
+ cadence: HeadshotmarketingReportScheduleCadence;
43485
+ createdAt: Scalars['DateTime']['output'];
43486
+ createdBy?: Maybe<Scalars['String']['output']>;
43487
+ /** 1 to 28. Set for MONTHLY schedules. */
43488
+ dayOfMonth?: Maybe<Scalars['Int']['output']>;
43489
+ /** 0 = Sunday .. 6 = Saturday. Set for WEEKLY schedules. */
43490
+ dayOfWeek?: Maybe<Scalars['Int']['output']>;
43491
+ /** False pauses deliveries without deleting the schedule. */
43492
+ enabled: Scalars['Boolean']['output'];
43493
+ /** Local hour of delivery, 0 to 23, in timezone. */
43494
+ hour: Scalars['Int']['output'];
43495
+ id: Scalars['ID']['output'];
43496
+ lastRunAt?: Maybe<Scalars['DateTime']['output']>;
43497
+ lastRunError?: Maybe<Scalars['String']['output']>;
43498
+ lastRunStatus?: Maybe<HeadshotmarketingReportDeliveryStatus>;
43499
+ /** When the next delivery is due (UTC); null while paused. */
43500
+ nextRunAt?: Maybe<Scalars['DateTime']['output']>;
43501
+ /** Workspace member user ids that receive the report. */
43502
+ recipientUserIds: Array<Scalars['ID']['output']>;
43503
+ reportId: Scalars['ID']['output'];
43504
+ /** IANA timezone name, e.g. Asia/Kolkata. */
43505
+ timezone: Scalars['String']['output'];
43506
+ updatedAt: Scalars['DateTime']['output'];
43507
+ updatedBy?: Maybe<Scalars['String']['output']>;
43508
+ };
43428
43509
  export type HeadshotmarketingScoreLeadInput = {
43429
43510
  /** Return the score without writing it to the lead */
43430
43511
  dryRun?: InputMaybe<Scalars['Boolean']['input']>;
@@ -43468,6 +43549,21 @@ export type HeadshotmarketingSetMonthlyGoalInput = {
43468
43549
  /** Visitor target, a whole number 0 or more. */
43469
43550
  trafficTarget?: InputMaybe<Scalars['Int']['input']>;
43470
43551
  };
43552
+ export type HeadshotmarketingSetSavedReportScheduleInput = {
43553
+ cadence: HeadshotmarketingReportScheduleCadence;
43554
+ /** Required for MONTHLY: 1 to 28. */
43555
+ dayOfMonth?: InputMaybe<Scalars['Int']['input']>;
43556
+ /** Required for WEEKLY: 0 = Sunday .. 6 = Saturday. */
43557
+ dayOfWeek?: InputMaybe<Scalars['Int']['input']>;
43558
+ /** Defaults to true. */
43559
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
43560
+ /** Local hour of delivery, 0 to 23. */
43561
+ hour: Scalars['Int']['input'];
43562
+ /** 1 to 50 workspace member user ids; each must have an email address. */
43563
+ recipientUserIds: Array<Scalars['ID']['input']>;
43564
+ /** IANA timezone name. */
43565
+ timezone: Scalars['String']['input'];
43566
+ };
43471
43567
  /** A connected social media account used for publishing posts and tracking engagement. */
43472
43568
  export type HeadshotmarketingSocialAccount = {
43473
43569
  __typename?: 'HeadshotmarketingSocialAccount';
@@ -52303,6 +52399,97 @@ export declare enum HousingVistaViewingType {
52303
52399
  in_person = "in_person",
52304
52400
  virtual = "virtual"
52305
52401
  }
52402
+ export type HrisDirectorySyncSchedule = {
52403
+ __typename?: 'HrisDirectorySyncSchedule';
52404
+ connectionId: Scalars['ID']['output'];
52405
+ intervalHours: Scalars['Int']['output'];
52406
+ nextRunAt?: Maybe<Scalars['DateTime']['output']>;
52407
+ scheduleEnabled: Scalars['Boolean']['output'];
52408
+ };
52409
+ export type HrisDirectorySyncStatus = {
52410
+ __typename?: 'HrisDirectorySyncStatus';
52411
+ /**
52412
+ * True once a preview succeeded with the current credentials; a sync (and the
52413
+ * schedule) can run only then.
52414
+ */
52415
+ canApply: Scalars['Boolean']['output'];
52416
+ connectionId: Scalars['ID']['output'];
52417
+ connectionStatus: ConnectionStatus;
52418
+ credentialsUpdatedAt?: Maybe<Scalars['DateTime']['output']>;
52419
+ intervalHours: Scalars['Int']['output'];
52420
+ lastApply?: Maybe<HrisSyncRun>;
52421
+ lastPreview?: Maybe<HrisSyncRun>;
52422
+ nextRunAt?: Maybe<Scalars['DateTime']['output']>;
52423
+ /** workday or sap-successfactors */
52424
+ providerKey: Scalars['String']['output'];
52425
+ running?: Maybe<HrisSyncRun>;
52426
+ scheduleEnabled: Scalars['Boolean']['output'];
52427
+ };
52428
+ /** What a sync did (or, in a preview, would do) for one worker. */
52429
+ export type HrisSyncItem = {
52430
+ __typename?: 'HrisSyncItem';
52431
+ action: HrisSyncItemAction;
52432
+ detail?: Maybe<Scalars['String']['output']>;
52433
+ email?: Maybe<Scalars['String']['output']>;
52434
+ externalId: Scalars['String']['output'];
52435
+ userId?: Maybe<Scalars['ID']['output']>;
52436
+ };
52437
+ export declare enum HrisSyncItemAction {
52438
+ CONFLICT = "CONFLICT",
52439
+ CREATE = "CREATE",
52440
+ DEACTIVATE = "DEACTIVATE",
52441
+ ERROR = "ERROR",
52442
+ REACTIVATE = "REACTIVATE",
52443
+ SKIP = "SKIP",
52444
+ UNCHANGED = "UNCHANGED",
52445
+ UPDATE = "UPDATE"
52446
+ }
52447
+ /**
52448
+ * HR-system directory sync (BOFF-10564): a Workday or SAP SuccessFactors
52449
+ * connection pulls the workspace's workers and provisions them with the same
52450
+ * outcomes as SCIM provisioning (create, update name and email, deactivate).
52451
+ */
52452
+ export declare enum HrisSyncMode {
52453
+ /** Pull and apply. */
52454
+ APPLY = "APPLY",
52455
+ /** Pull and plan only; nothing in the workspace changes. */
52456
+ PREVIEW = "PREVIEW"
52457
+ }
52458
+ export type HrisSyncRun = {
52459
+ __typename?: 'HrisSyncRun';
52460
+ conflicts: Scalars['Int']['output'];
52461
+ connectionId: Scalars['ID']['output'];
52462
+ created: Scalars['Int']['output'];
52463
+ deactivated: Scalars['Int']['output'];
52464
+ errorCode?: Maybe<Scalars['String']['output']>;
52465
+ errorMessage?: Maybe<Scalars['String']['output']>;
52466
+ errors: Scalars['Int']['output'];
52467
+ finishedAt?: Maybe<Scalars['DateTime']['output']>;
52468
+ id: Scalars['ID']['output'];
52469
+ /** Workers whose outcome is not UNCHANGED (at most 500). */
52470
+ items: Array<HrisSyncItem>;
52471
+ mode: HrisSyncMode;
52472
+ reactivated: Scalars['Int']['output'];
52473
+ skipped: Scalars['Int']['output'];
52474
+ startedAt: Scalars['DateTime']['output'];
52475
+ startedBy: Scalars['String']['output'];
52476
+ status: HrisSyncStatus;
52477
+ trigger: HrisSyncTrigger;
52478
+ unchanged: Scalars['Int']['output'];
52479
+ updated: Scalars['Int']['output'];
52480
+ workersFetched: Scalars['Int']['output'];
52481
+ };
52482
+ export declare enum HrisSyncStatus {
52483
+ FAILED = "FAILED",
52484
+ /** Finished, but some workers ended in CONFLICT or ERROR. */
52485
+ PARTIAL = "PARTIAL",
52486
+ RUNNING = "RUNNING",
52487
+ SUCCEEDED = "SUCCEEDED"
52488
+ }
52489
+ export declare enum HrisSyncTrigger {
52490
+ MANUAL = "MANUAL",
52491
+ SCHEDULED = "SCHEDULED"
52492
+ }
52306
52493
  export declare enum HttpMethod {
52307
52494
  DELETE = "DELETE",
52308
52495
  GET = "GET",
@@ -56842,6 +57029,27 @@ export type MailboxAddress = {
56842
57029
  email: Scalars['String']['output'];
56843
57030
  name?: Maybe<Scalars['String']['output']>;
56844
57031
  };
57032
+ export type MailboxAttachment = {
57033
+ __typename?: 'MailboxAttachment';
57034
+ /** Content-ID for cid: references in bodyHtml, when known. */
57035
+ contentId?: Maybe<Scalars['String']['output']>;
57036
+ filename: Scalars['String']['output'];
57037
+ /** Stable within the message; pass to mailboxAttachment. */
57038
+ id: Scalars['ID']['output'];
57039
+ /** Embedded in the body (for example an inline image) rather than attached as a file. */
57040
+ isInline: Scalars['Boolean']['output'];
57041
+ mimeType: Scalars['String']['output'];
57042
+ /** Bytes, as the provider reports them. */
57043
+ size: Scalars['Int']['output'];
57044
+ };
57045
+ export type MailboxAttachmentContent = {
57046
+ __typename?: 'MailboxAttachmentContent';
57047
+ /** The file's bytes, base64 encoded. Files over 15 MB are refused. */
57048
+ contentBase64: Scalars['String']['output'];
57049
+ filename: Scalars['String']['output'];
57050
+ mimeType: Scalars['String']['output'];
57051
+ size: Scalars['Int']['output'];
57052
+ };
56845
57053
  export declare enum MailboxFolder {
56846
57054
  ALL = "ALL",
56847
57055
  INBOX = "INBOX",
@@ -56851,8 +57059,34 @@ export declare enum MailboxKind {
56851
57059
  GMAIL = "GMAIL",
56852
57060
  OUTLOOK = "OUTLOOK"
56853
57061
  }
57062
+ export type MailboxLabel = {
57063
+ __typename?: 'MailboxLabel';
57064
+ /** Pass as MailboxMessagesInput.folderId to list its messages. */
57065
+ id: Scalars['ID']['output'];
57066
+ kind: MailboxLabelKind;
57067
+ name: Scalars['String']['output'];
57068
+ /** All messages, when the provider reports it (Outlook). */
57069
+ totalCount?: Maybe<Scalars['Int']['output']>;
57070
+ /** Unread messages, when the provider reports it (Outlook). */
57071
+ unreadCount?: Maybe<Scalars['Int']['output']>;
57072
+ };
57073
+ export declare enum MailboxLabelKind {
57074
+ /** An Outlook mail folder. */
57075
+ FOLDER = "FOLDER",
57076
+ /** A Gmail system label such as Inbox, Starred or Trash. */
57077
+ SYSTEM = "SYSTEM",
57078
+ /** A label the person created in Gmail. */
57079
+ USER = "USER"
57080
+ }
56854
57081
  export type MailboxMessage = {
56855
57082
  __typename?: 'MailboxMessage';
57083
+ attachments: Array<MailboxAttachment>;
57084
+ /**
57085
+ * The HTML body exactly as the provider stores it, or null for text-only mail.
57086
+ * It is untrusted: sanitise it and render it in a sandboxed frame with scripts
57087
+ * disabled and remote content blocked, falling back to bodyText.
57088
+ */
57089
+ bodyHtml?: Maybe<Scalars['String']['output']>;
56856
57090
  /** Plain-text body. HTML-only mail is converted to text. */
56857
57091
  bodyText: Scalars['String']['output'];
56858
57092
  cc: Array<MailboxAddress>;
@@ -56887,6 +57121,8 @@ export type MailboxMessageSummary = {
56887
57121
  export type MailboxMessagesInput = {
56888
57122
  connectionId: Scalars['ID']['input'];
56889
57123
  folder?: InputMaybe<MailboxFolder>;
57124
+ /** A label or folder id from mailboxLabels. When set it replaces folder. */
57125
+ folderId?: InputMaybe<Scalars['ID']['input']>;
56890
57126
  /** 1-50, default 25. */
56891
57127
  limit?: InputMaybe<Scalars['Int']['input']>;
56892
57128
  pageToken?: InputMaybe<Scalars['String']['input']>;
@@ -64343,6 +64579,11 @@ export type Mutation = {
64343
64579
  archiveGroup: Group;
64344
64580
  /** Archive a location: it stops being offered without losing the boxes that went there. Refused while ANY membership is still assigned — PAUSED as well as ACTIVE, because pausing does not release the place and the member resumes against whatever the stand has become. They would otherwise silently fall back to a home address that may be years stale, or to none at all. Move them first. A soft delete, so past deliveries keep resolving their location. This is the ONLY way to archive. `updateHealthyBowlCsaPickupLocation` refuses `status: "ARCHIVED"` precisely so that this guard, and this permission, cannot be stepped around. */
64345
64581
  archiveHealthyBowlCsaPickupLocation: HealthyBowlPickupLocation;
64582
+ /**
64583
+ * Take a conversation out of the Inbox without deleting it (Gmail: remove the
64584
+ * Inbox label; Outlook: move it to Archive).
64585
+ */
64586
+ archiveMailboxThread: Scalars['Boolean']['output'];
64346
64587
  /** Archive a project */
64347
64588
  archiveProject: Project;
64348
64589
  archiveSchedule: ScheduledJob;
@@ -67328,6 +67569,8 @@ export type Mutation = {
67328
67569
  headshotmarketingDeleteSEOKeyword: Scalars['Boolean']['output'];
67329
67570
  /** Soft-deletes the report. Returns true when a report was deleted. */
67330
67571
  headshotmarketingDeleteSavedReport: Scalars['Boolean']['output'];
67572
+ /** Remove a saved report's delivery schedule. Returns true when one was removed. */
67573
+ headshotmarketingDeleteSavedReportSchedule: Scalars['Boolean']['output'];
67331
67574
  /** Dismiss a proposed audience segment without applying it */
67332
67575
  headshotmarketingDismissAudienceSuggestion: HeadshotmarketingAudienceSuggestion;
67333
67576
  /** Execute an AI tool and return the execution record */
@@ -67362,10 +67605,14 @@ export type Mutation = {
67362
67605
  headshotmarketingScoreLeadsBatch: HeadshotmarketingLeadScoreBatchResult;
67363
67606
  /** Send a message to the marketing agent. Persists the user message, calls the configured LLM provider, persists the assistant's reply, and records any proposed actions as PROPOSED -- never executes them. */
67364
67607
  headshotmarketingSendAgentMessage: HeadshotmarketingAgentTurn;
67608
+ /** Email the report to its schedule's recipients now, without moving the next scheduled delivery. Limited to one send per report per minute. */
67609
+ headshotmarketingSendSavedReportNow: HeadshotmarketingSavedReportDeliveryRun;
67365
67610
  /** Attach (or update) marketing-specific metadata on a canonical files-svc File. The binary + core file fields stay owned by wspace-files-svc; this only sets the thin marketing layer (alt text, dimensions, thumbnail, asset category). */
67366
67611
  headshotmarketingSetFileMarketingMeta: Scalars['Boolean']['output'];
67367
67612
  /** Create or replace the workspace's goal for a month. */
67368
67613
  headshotmarketingSetMonthlyGoal: HeadshotmarketingMonthlyGoal;
67614
+ /** Create or replace the delivery schedule of a saved report. */
67615
+ headshotmarketingSetSavedReportSchedule: HeadshotmarketingSavedReportSchedule;
67369
67616
  /** Propose an audience segment for a campaign goal. Never creates or changes an Audience. */
67370
67617
  headshotmarketingSuggestAudienceSegment: HeadshotmarketingAudienceSuggestion;
67371
67618
  /** Start tracking a keyword (alias for create with TRACKING status) */
@@ -69902,6 +70149,11 @@ export type Mutation = {
69902
70149
  /** Replace a product's whole quantity ladder in one transaction (BOFF-6091). Refuses duplicate thresholds. */
69903
70150
  setHealthyBowlWholesalePriceTiers: Array<WholesalePriceTier>;
69904
70151
  setHousingvistaInvestmentEligibility: HousingVistaInvestmentComplianceSetting;
70152
+ /**
70153
+ * Turn the scheduled sync on or off. Turning it on needs a successful preview
70154
+ * with the current credentials.
70155
+ */
70156
+ setHrisSyncSchedule: HrisDirectorySyncSchedule;
69905
70157
  /** Mark a message read or unread in a mailbox the caller owns. */
69906
70158
  setMailboxMessageRead: Scalars['Boolean']['output'];
69907
70159
  setMaintenanceChecklistItem: MaintenanceRecord;
@@ -70036,6 +70288,11 @@ export type Mutation = {
70036
70288
  /** Start a DRAFT A/B creative test */
70037
70289
  startHeadshotmarketingAdCreativeTest: HeadshotmarketingAdCreativeTest;
70038
70290
  startHealthyBowlCertificationRenewal: Certification;
70291
+ /**
70292
+ * Start a preview or a sync in the background and return its RUNNING record.
70293
+ * A sync (APPLY) needs a successful preview with the current credentials.
70294
+ */
70295
+ startHrisSync: HrisSyncRun;
70039
70296
  /** Streaming bridge: mesh-forward a session/terminal create to a (possibly multi-hop) destination agent, minting a short-lived capability token on it. Returns the destination agent's tunnel URL + capability token so the browser can stream DIRECTLY to it (control plane via mesh, data plane direct). */
70040
70297
  startMeshAgentSession: MeshSessionDescriptor;
70041
70298
  startMtwProcedureExecution: MtwProcedureExecution;
@@ -70498,30 +70755,59 @@ export type Mutation = {
70498
70755
  testWebhookMapping: BigConsoleWidgetWebhookTestResult;
70499
70756
  /** Approve (lock) a DRAFT allocation so it counts toward net positions. */
70500
70757
  theApproveProductionAllocation: TheProductionAllocation;
70758
+ /** Attribute (or, with null, detach) a finished work order's downtime to a production record of the same asset, after the fact. */
70759
+ theAttributeWorkOrderDowntime: TheWorkOrder;
70760
+ /** Apply one set of PRO_RATA factors to every unallocated record of a measurement asset in a window. */
70761
+ theBulkAllocateProduction: TheBulkAllocationResult;
70762
+ /** Close a reporting period so its allocations cannot be created, approved or reversed until it is reopened. */
70763
+ theCloseAllocationPeriod: TheAllocationPeriodClose;
70764
+ /** Record a prior-period correction (signed volume deltas) against an APPROVED allocation (creates a DRAFT). */
70765
+ theCreateAllocationCorrection: TheProductionAllocation;
70501
70766
  theCreateAsset: TheAsset;
70502
70767
  theCreateComplianceCert: TheComplianceCert;
70503
70768
  theCreateContract: TheOfftakeContract;
70769
+ /** Assign net volume from an approved allocation entry to a sell contract. */
70770
+ theCreateContractEntitlement: TheContractEntitlement;
70504
70771
  theCreateCorrectiveAction: TheCorrectiveAction;
70772
+ theCreateEquipment: TheEquipment;
70773
+ /** Record the ownership of an asset for an effective period. */
70774
+ theCreateInterestDeck: TheInterestDeck;
70505
70775
  theCreateInventoryLot: TheInventoryLot;
70776
+ theCreateMaintenanceSchedule: TheMaintenanceSchedule;
70506
70777
  /** Allocate a measured production record across its contributing assets (creates a DRAFT). */
70507
70778
  theCreateProductionAllocation: TheProductionAllocation;
70508
70779
  theCreateReserveEstimate: TheReserveEstimate;
70780
+ theCreateWorkOrder: TheWorkOrder;
70781
+ /** Delete an interest deck that no live allocation uses. */
70782
+ theDeleteInterestDeck: TheInterestDeck;
70509
70783
  /** Mark a shipment delivered and roll its volume into the contract's delivered total. */
70510
70784
  theDeliverShipment: TheShipment;
70511
70785
  /** Finalize a draft ESG disclosure (locks it as the reported-on-record snapshot). */
70512
70786
  theFinalizeEsgDisclosure: TheEsgDisclosure;
70513
70787
  /** Generate an ESG disclosure snapshot for the given framework and reporting period, computed from this workspace's own emission and compliance records (not manually entered) — see EsgReportingService. No @usage/quota directive: not yet registered in quota-catalog.yaml or the billing seed, so wiring enforcement here would repeat the exact unenforced/undefined-quota anti-pattern this batch just removed for `theglobalfuel.settlements.monthly` (see quota-catalog.yaml BOFF-5106/5108 note). Add a real quota + billing-seed entry first if/when this needs metering. */
70514
70788
  theGenerateEsgDisclosure: TheEsgDisclosure;
70789
+ /** Raise a PLANNED work order for every active schedule due within the horizon that does not already have an unfinished work order. Idempotent. */
70790
+ theGenerateScheduledWorkOrders: TheGenerateWorkOrdersResult;
70515
70791
  theRecordEmission: TheEmissionRecord;
70516
70792
  /** Record that the CALLING actor accepted a legal document/version at an in-product checkpoint. Self-scoped (Type A): no identity arg. Idempotent — re-accepting the same (checkpointType, documentVersion) updates the timestamp/audit fields rather than duplicating the row. */
70517
70793
  theRecordLegalAcceptance: TheLegalAcceptance;
70518
70794
  theRecordProduction: TheProductionRecord;
70795
+ /** Remove an entitlement, returning its volume to the allocation entry. */
70796
+ theRemoveContractEntitlement: TheContractEntitlement;
70797
+ /** Reopen a closed period (a reason is required). The close row is kept for the audit trail. */
70798
+ theReopenAllocationPeriod: TheAllocationPeriodClose;
70519
70799
  theReportSafetyIncident: TheSafetyIncident;
70800
+ /** Remove this workspace's override for a unit pair, restoring the built-in default. Returns false if there was none. */
70801
+ theResetUnitConversion: Scalars['Boolean']['output'];
70520
70802
  theRetireAsset: Scalars['Boolean']['output'];
70521
70803
  /** Void a DRAFT or APPROVED allocation, freeing its production record for re-allocation. */
70522
70804
  theReverseProductionAllocation: TheProductionAllocation;
70523
70805
  theScheduleShipment: TheShipment;
70806
+ /** Attach, replace or remove (photoFileId: null) the asset's photo. The id is a wspace-files-svc File id from the platform upload flow (BOFF-10630). */
70807
+ theSetAssetPhoto: TheAsset;
70524
70808
  theSetInventoryLotStatus: TheInventoryLot;
70809
+ /** Set this workspace's conversion factor for a commodity and unit pair. */
70810
+ theSetUnitConversion: TheUnitConversion;
70525
70811
  /** Advance an asset through its lifecycle (validated transitions). */
70526
70812
  theTransitionAsset: TheAsset;
70527
70813
  /** Advance a compliance certification through its lifecycle (validated transitions). */
@@ -70534,11 +70820,16 @@ export type Mutation = {
70534
70820
  theTransitionSafetyIncident: TheSafetyIncident;
70535
70821
  /** Advance a shipment through its lifecycle (validated transitions): SCHEDULED → LOADING → IN_TRANSIT → DELIVERED, and any non-terminal state → CANCELLED. Transitioning to DELIVERED rolls the shipment volume into the contract's delivered total exactly once (same path as theDeliverShipment). */
70536
70822
  theTransitionShipment: TheShipment;
70823
+ /** Advance a work order through its lifecycle (validated transitions). Completing a work order raised from a schedule rolls the schedule's next due date forward. */
70824
+ theTransitionWorkOrder: TheWorkOrder;
70537
70825
  theUpdateAsset: TheAsset;
70538
70826
  theUpdateContract: TheOfftakeContract;
70827
+ theUpdateEquipment: TheEquipment;
70539
70828
  theUpdateIncidentInvestigation: TheSafetyIncident;
70829
+ theUpdateMaintenanceSchedule: TheMaintenanceSchedule;
70540
70830
  /** Update the logistics metadata of an existing shipment (carrier, tracking number, route, schedule, document reference, notes). Status and volume are deliberately not updatable here — see TheUpdateShipmentInput. */
70541
70831
  theUpdateShipment: TheShipment;
70832
+ theUpdateWorkOrder: TheWorkOrder;
70542
70833
  /** Mark an emission figure third-party verified. */
70543
70834
  theVerifyEmission: TheEmissionRecord;
70544
70835
  toggleClientPortal: ClientPortalConfig;
@@ -70587,6 +70878,11 @@ export type Mutation = {
70587
70878
  transitionHealthyBowlCarbonCredit: HbCarbonCredit;
70588
70879
  /** Mark a nursery batch transplanted and link it to the destination field + crop. */
70589
70880
  transplantHealthyBowlNurseryBatch: NurseryBatch;
70881
+ /**
70882
+ * Move a conversation to Trash (Gmail) or Deleted Items (Outlook). It can be
70883
+ * restored from there; nothing is deleted permanently.
70884
+ */
70885
+ trashMailboxThread: Scalars['Boolean']['output'];
70590
70886
  /** Twin of the deprecated `triggerBoundWorkflow` returning `BotmanorWorkflowRun` (BOFF-9561). Same resolver, same `@rbac`, and the same `botmanor.runs.count` meter: a call through either spelling is one run. */
70591
70887
  triggerBotmanorBoundWorkflow: BotmanorWorkflowRun;
70592
70888
  /**
@@ -72219,6 +72515,11 @@ export type MutationArchiveHealthyBowlCsaPickupLocationArgs = {
72219
72515
  id: Scalars['ID']['input'];
72220
72516
  };
72221
72517
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
72518
+ export type MutationArchiveMailboxThreadArgs = {
72519
+ connectionId: Scalars['ID']['input'];
72520
+ threadId: Scalars['ID']['input'];
72521
+ };
72522
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
72222
72523
  export type MutationArchiveProjectArgs = {
72223
72524
  id: Scalars['ID']['input'];
72224
72525
  };
@@ -80426,6 +80727,10 @@ export type MutationHeadshotmarketingDeleteSavedReportArgs = {
80426
80727
  id: Scalars['ID']['input'];
80427
80728
  };
80428
80729
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
80730
+ export type MutationHeadshotmarketingDeleteSavedReportScheduleArgs = {
80731
+ reportId: Scalars['ID']['input'];
80732
+ };
80733
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
80429
80734
  export type MutationHeadshotmarketingDismissAudienceSuggestionArgs = {
80430
80735
  id: Scalars['ID']['input'];
80431
80736
  };
@@ -80498,6 +80803,10 @@ export type MutationHeadshotmarketingSendAgentMessageArgs = {
80498
80803
  input: HeadshotmarketingSendAgentMessageInput;
80499
80804
  };
80500
80805
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
80806
+ export type MutationHeadshotmarketingSendSavedReportNowArgs = {
80807
+ reportId: Scalars['ID']['input'];
80808
+ };
80809
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
80501
80810
  export type MutationHeadshotmarketingSetFileMarketingMetaArgs = {
80502
80811
  input: HeadshotmarketingSetFileMarketingMetaInput;
80503
80812
  };
@@ -80506,6 +80815,11 @@ export type MutationHeadshotmarketingSetMonthlyGoalArgs = {
80506
80815
  input: HeadshotmarketingSetMonthlyGoalInput;
80507
80816
  };
80508
80817
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
80818
+ export type MutationHeadshotmarketingSetSavedReportScheduleArgs = {
80819
+ input: HeadshotmarketingSetSavedReportScheduleInput;
80820
+ reportId: Scalars['ID']['input'];
80821
+ };
80822
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
80509
80823
  export type MutationHeadshotmarketingSuggestAudienceSegmentArgs = {
80510
80824
  input: HeadshotmarketingSuggestAudienceSegmentInput;
80511
80825
  };
@@ -86924,6 +87238,10 @@ export type MutationSetHousingvistaInvestmentEligibilityArgs = {
86924
87238
  notes?: InputMaybe<Scalars['String']['input']>;
86925
87239
  };
86926
87240
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
87241
+ export type MutationSetHrisSyncScheduleArgs = {
87242
+ input: SetHrisSyncScheduleInput;
87243
+ };
87244
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
86927
87245
  export type MutationSetMailboxMessageReadArgs = {
86928
87246
  connectionId: Scalars['ID']['input'];
86929
87247
  messageId: Scalars['ID']['input'];
@@ -87240,6 +87558,10 @@ export type MutationStartHealthyBowlCertificationRenewalArgs = {
87240
87558
  id: Scalars['ID']['input'];
87241
87559
  };
87242
87560
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
87561
+ export type MutationStartHrisSyncArgs = {
87562
+ input: StartHrisSyncInput;
87563
+ };
87564
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
87243
87565
  export type MutationStartMeshAgentSessionArgs = {
87244
87566
  destinationAgentId: Scalars['ID']['input'];
87245
87567
  input: MeshSessionInput;
@@ -88365,6 +88687,24 @@ export type MutationTheApproveProductionAllocationArgs = {
88365
88687
  id: Scalars['ID']['input'];
88366
88688
  };
88367
88689
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88690
+ export type MutationTheAttributeWorkOrderDowntimeArgs = {
88691
+ downtimeHours?: InputMaybe<Scalars['Float']['input']>;
88692
+ id: Scalars['ID']['input'];
88693
+ productionRecordId?: InputMaybe<Scalars['ID']['input']>;
88694
+ };
88695
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88696
+ export type MutationTheBulkAllocateProductionArgs = {
88697
+ input: TheBulkAllocateProductionInput;
88698
+ };
88699
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88700
+ export type MutationTheCloseAllocationPeriodArgs = {
88701
+ input: TheCloseAllocationPeriodInput;
88702
+ };
88703
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88704
+ export type MutationTheCreateAllocationCorrectionArgs = {
88705
+ input: TheCreateAllocationCorrectionInput;
88706
+ };
88707
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88368
88708
  export type MutationTheCreateAssetArgs = {
88369
88709
  input: TheCreateAssetInput;
88370
88710
  };
@@ -88377,14 +88717,30 @@ export type MutationTheCreateContractArgs = {
88377
88717
  input: TheCreateOfftakeContractInput;
88378
88718
  };
88379
88719
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88720
+ export type MutationTheCreateContractEntitlementArgs = {
88721
+ input: TheCreateContractEntitlementInput;
88722
+ };
88723
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88380
88724
  export type MutationTheCreateCorrectiveActionArgs = {
88381
88725
  input: TheCreateCorrectiveActionInput;
88382
88726
  };
88383
88727
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88728
+ export type MutationTheCreateEquipmentArgs = {
88729
+ input: TheCreateEquipmentInput;
88730
+ };
88731
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88732
+ export type MutationTheCreateInterestDeckArgs = {
88733
+ input: TheCreateInterestDeckInput;
88734
+ };
88735
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88384
88736
  export type MutationTheCreateInventoryLotArgs = {
88385
88737
  input: TheCreateInventoryLotInput;
88386
88738
  };
88387
88739
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88740
+ export type MutationTheCreateMaintenanceScheduleArgs = {
88741
+ input: TheCreateMaintenanceScheduleInput;
88742
+ };
88743
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88388
88744
  export type MutationTheCreateProductionAllocationArgs = {
88389
88745
  input: TheCreateProductionAllocationInput;
88390
88746
  };
@@ -88393,6 +88749,14 @@ export type MutationTheCreateReserveEstimateArgs = {
88393
88749
  input: TheCreateReserveEstimateInput;
88394
88750
  };
88395
88751
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88752
+ export type MutationTheCreateWorkOrderArgs = {
88753
+ input: TheCreateWorkOrderInput;
88754
+ };
88755
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88756
+ export type MutationTheDeleteInterestDeckArgs = {
88757
+ id: Scalars['ID']['input'];
88758
+ };
88759
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88396
88760
  export type MutationTheDeliverShipmentArgs = {
88397
88761
  id: Scalars['ID']['input'];
88398
88762
  };
@@ -88405,6 +88769,10 @@ export type MutationTheGenerateEsgDisclosureArgs = {
88405
88769
  input: TheGenerateEsgDisclosureInput;
88406
88770
  };
88407
88771
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88772
+ export type MutationTheGenerateScheduledWorkOrdersArgs = {
88773
+ horizonDays?: InputMaybe<Scalars['Int']['input']>;
88774
+ };
88775
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88408
88776
  export type MutationTheRecordEmissionArgs = {
88409
88777
  input: TheRecordEmissionInput;
88410
88778
  };
@@ -88418,10 +88786,23 @@ export type MutationTheRecordProductionArgs = {
88418
88786
  input: TheRecordProductionInput;
88419
88787
  };
88420
88788
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88789
+ export type MutationTheRemoveContractEntitlementArgs = {
88790
+ id: Scalars['ID']['input'];
88791
+ };
88792
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88793
+ export type MutationTheReopenAllocationPeriodArgs = {
88794
+ id: Scalars['ID']['input'];
88795
+ reason: Scalars['String']['input'];
88796
+ };
88797
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88421
88798
  export type MutationTheReportSafetyIncidentArgs = {
88422
88799
  input: TheReportSafetyIncidentInput;
88423
88800
  };
88424
88801
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88802
+ export type MutationTheResetUnitConversionArgs = {
88803
+ input: TheResetUnitConversionInput;
88804
+ };
88805
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88425
88806
  export type MutationTheRetireAssetArgs = {
88426
88807
  id: Scalars['ID']['input'];
88427
88808
  };
@@ -88435,11 +88816,20 @@ export type MutationTheScheduleShipmentArgs = {
88435
88816
  input: TheCreateShipmentInput;
88436
88817
  };
88437
88818
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88819
+ export type MutationTheSetAssetPhotoArgs = {
88820
+ id: Scalars['ID']['input'];
88821
+ photoFileId?: InputMaybe<Scalars['ID']['input']>;
88822
+ };
88823
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88438
88824
  export type MutationTheSetInventoryLotStatusArgs = {
88439
88825
  id: Scalars['ID']['input'];
88440
88826
  status: TheInventoryStatus;
88441
88827
  };
88442
88828
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88829
+ export type MutationTheSetUnitConversionArgs = {
88830
+ input: TheSetUnitConversionInput;
88831
+ };
88832
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88443
88833
  export type MutationTheTransitionAssetArgs = {
88444
88834
  id: Scalars['ID']['input'];
88445
88835
  status: TheAssetStatus;
@@ -88470,6 +88860,12 @@ export type MutationTheTransitionShipmentArgs = {
88470
88860
  status: TheShipmentStatus;
88471
88861
  };
88472
88862
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88863
+ export type MutationTheTransitionWorkOrderArgs = {
88864
+ details?: InputMaybe<TheWorkOrderTransitionInput>;
88865
+ id: Scalars['ID']['input'];
88866
+ status: TheWorkOrderStatus;
88867
+ };
88868
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88473
88869
  export type MutationTheUpdateAssetArgs = {
88474
88870
  id: Scalars['ID']['input'];
88475
88871
  input: TheUpdateAssetInput;
@@ -88480,16 +88876,31 @@ export type MutationTheUpdateContractArgs = {
88480
88876
  input: TheUpdateOfftakeContractInput;
88481
88877
  };
88482
88878
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88879
+ export type MutationTheUpdateEquipmentArgs = {
88880
+ id: Scalars['ID']['input'];
88881
+ input: TheUpdateEquipmentInput;
88882
+ };
88883
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88483
88884
  export type MutationTheUpdateIncidentInvestigationArgs = {
88484
88885
  id: Scalars['ID']['input'];
88485
88886
  investigationNotes: Scalars['String']['input'];
88486
88887
  };
88487
88888
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88889
+ export type MutationTheUpdateMaintenanceScheduleArgs = {
88890
+ id: Scalars['ID']['input'];
88891
+ input: TheUpdateMaintenanceScheduleInput;
88892
+ };
88893
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88488
88894
  export type MutationTheUpdateShipmentArgs = {
88489
88895
  id: Scalars['ID']['input'];
88490
88896
  input: TheUpdateShipmentInput;
88491
88897
  };
88492
88898
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88899
+ export type MutationTheUpdateWorkOrderArgs = {
88900
+ id: Scalars['ID']['input'];
88901
+ input: TheUpdateWorkOrderInput;
88902
+ };
88903
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88493
88904
  export type MutationTheVerifyEmissionArgs = {
88494
88905
  id: Scalars['ID']['input'];
88495
88906
  };
@@ -88610,6 +89021,11 @@ export type MutationTransplantHealthyBowlNurseryBatchArgs = {
88610
89021
  id: Scalars['ID']['input'];
88611
89022
  };
88612
89023
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
89024
+ export type MutationTrashMailboxThreadArgs = {
89025
+ connectionId: Scalars['ID']['input'];
89026
+ threadId: Scalars['ID']['input'];
89027
+ };
89028
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
88613
89029
  export type MutationTriggerBotmanorBoundWorkflowArgs = {
88614
89030
  input: TriggerBoundWorkflowInput;
88615
89031
  };
@@ -104832,6 +105248,8 @@ export type Query = {
104832
105248
  headshotmarketingSEOProviderStatus: HeadshotmarketingSeoProviderStatus;
104833
105249
  /** One saved report, or null when it does not exist in this workspace. */
104834
105250
  headshotmarketingSavedReport?: Maybe<HeadshotmarketingSavedReport>;
105251
+ /** Delivery attempts of a saved report, most recent first. */
105252
+ headshotmarketingSavedReportDeliveryRuns: HeadshotmarketingSavedReportDeliveryRunList;
104835
105253
  /** The workspace's saved reports, most recently updated first. */
104836
105254
  headshotmarketingSavedReports: HeadshotmarketingSavedReportList;
104837
105255
  /** Get a specific social account by ID */
@@ -105158,6 +105576,15 @@ export type Query = {
105158
105576
  /** Slots of a property, soonest first. By default only open future slots; includeBooked also lists the taken ones. */
105159
105577
  housingvistaViewingSlots: Array<HousingVistaViewingSlot>;
105160
105578
  housingvistaViewings: Array<HousingVistaViewing>;
105579
+ /**
105580
+ * Directory-sync state of a Workday or SAP SuccessFactors connection.
105581
+ * Workspace administrators only: it exposes employee names and emails.
105582
+ */
105583
+ hrisDirectorySync: HrisDirectorySyncStatus;
105584
+ /** One preview or sync, for polling while it runs. */
105585
+ hrisSyncRun?: Maybe<HrisSyncRun>;
105586
+ /** Recent previews and syncs of a connection, newest first (at most 50). */
105587
+ hrisSyncRuns: Array<HrisSyncRun>;
105161
105588
  incident?: Maybe<Incident>;
105162
105589
  incidents: Array<Incident>;
105163
105590
  installAgentJobStatus: InstallJobStatus;
@@ -105416,6 +105843,13 @@ export type Query = {
105416
105843
  lookupUserActorByEmail?: Maybe<UserActorLookupResult>;
105417
105844
  /** The caller's own Gmail and Outlook connections in this workspace. */
105418
105845
  mailboxAccounts: Array<MailboxAccount>;
105846
+ /**
105847
+ * One attachment of a message in a mailbox the caller owns, fetched by the
105848
+ * service with the owner's token. Never returns a provider URL.
105849
+ */
105850
+ mailboxAttachment: MailboxAttachmentContent;
105851
+ /** Gmail labels or Outlook mail folders of a mailbox the caller owns. */
105852
+ mailboxLabels: Array<MailboxLabel>;
105419
105853
  /** One page of messages from a mailbox the caller owns, newest first. */
105420
105854
  mailboxMessages: MailboxMessagePage;
105421
105855
  /** A conversation with full plain-text bodies, from a mailbox the caller owns. */
@@ -106813,24 +107247,47 @@ export type Query = {
106813
107247
  /** The workspace's scheduled xAPI push (BOFF-10575), or null when no LRS is connected. */
106814
107248
  tecXapiLrsSync?: Maybe<TecXapiLrsSync>;
106815
107249
  testParserExpression: ParserTestResult;
107250
+ /** Production records inside a closed period that have no APPROVED allocation (offset paging). */
107251
+ theAllocationExceptions: TheAllocationExceptionConnection;
107252
+ theAllocationPeriodClose?: Maybe<TheAllocationPeriodClose>;
107253
+ /** Allocation statement for [periodStart, periodEnd]: net position, per-asset allocation detail and CSV. */
107254
+ theAllocationStatement: TheAllocationStatement;
106816
107255
  theAsset?: Maybe<TheAsset>;
106817
107256
  theComplianceCert?: Maybe<TheComplianceCert>;
106818
107257
  theContract?: Maybe<TheOfftakeContract>;
107258
+ /** Over/under-lift position per contract. With contractId, that contract only; otherwise every contract with active entitlements. */
107259
+ theContractLiftingPositions: Array<TheContractLiftingPosition>;
107260
+ theEquipment?: Maybe<TheEquipment>;
106819
107261
  theEsgDisclosure?: Maybe<TheEsgDisclosure>;
106820
107262
  /** Liveness/identity probe for the Theglobalfuel subgraph. */
106821
107263
  theHealth: Scalars['String']['output'];
107264
+ theInterestDeck?: Maybe<TheInterestDeck>;
107265
+ /** The interest deck in force for an asset at an instant, if any. */
107266
+ theInterestDeckInForce?: Maybe<TheInterestDeck>;
107267
+ /** Period closes, newest period first. Includes REOPENED rows: this is the close / reopen audit trail. */
107268
+ theListAllocationPeriodCloses: TheAllocationPeriodCloseConnection;
106822
107269
  theListAssets: TheAssetConnection;
106823
107270
  theListComplianceCerts: TheComplianceCertConnection;
107271
+ /** Active entitlements (their allocation is APPROVED), newest period first. */
107272
+ theListContractEntitlements: TheContractEntitlementConnection;
106824
107273
  theListContracts: TheOfftakeContractConnection;
106825
107274
  theListCorrectiveActions: TheCorrectiveActionConnection;
106826
107275
  theListEmissionRecords: TheEmissionRecordConnection;
107276
+ theListEquipment: TheEquipmentConnection;
106827
107277
  theListEsgDisclosures: TheEsgDisclosureConnection;
107278
+ theListInterestDecks: TheInterestDeckConnection;
106828
107279
  theListInventoryLots: TheInventoryLotConnection;
107280
+ theListMaintenanceSchedules: TheMaintenanceScheduleConnection;
106829
107281
  theListProductionAllocations: TheProductionAllocationConnection;
106830
107282
  theListProductionRecords: TheProductionRecordConnection;
106831
107283
  theListReserveEstimates: TheReserveEstimateConnection;
106832
107284
  theListSafetyIncidents: TheSafetyIncidentConnection;
106833
107285
  theListShipments: TheShipmentConnection;
107286
+ /** Effective unit conversion factors for a commodity (built-in defaults merged with this workspace's overrides). */
107287
+ theListUnitConversions: Array<TheUnitConversion>;
107288
+ theListWorkOrders: TheWorkOrderConnection;
107289
+ theMaintenanceDashboard: TheMaintenanceDashboard;
107290
+ theMaintenanceHistory: TheMaintenanceHistory;
106834
107291
  /** Legal-acceptance checkpoints recorded by the CALLING actor for a specific checkpoint type. Self-scoped (Type C): the ctx.actorId filter IS the access control, no identity arg. Used by the app shell to decide whether to show the acceptance gate before letting the actor into core flows. */
106835
107292
  theMyLegalAcceptances: TheLegalAcceptanceConnection;
106836
107293
  /** Net production position per asset over [periodStart, periodEnd], from APPROVED allocations only. */
@@ -106838,6 +107295,7 @@ export type Query = {
106838
107295
  theProductionAllocation?: Maybe<TheProductionAllocation>;
106839
107296
  theSafetyDashboard: TheSafetyDashboard;
106840
107297
  theSafetyIncident?: Maybe<TheSafetyIncident>;
107298
+ theWorkOrder?: Maybe<TheWorkOrder>;
106841
107299
  thread: MessageConnection;
106842
107300
  /** Activation milestones for the calling workspace (BOFF-3450). */
106843
107301
  timeCampusActivation: TimeCampusActivation;
@@ -114144,6 +114602,11 @@ export type QueryHeadshotmarketingSavedReportArgs = {
114144
114602
  id: Scalars['ID']['input'];
114145
114603
  };
114146
114604
  /** Base Query type with placeholder field. Extended by individual query files. */
114605
+ export type QueryHeadshotmarketingSavedReportDeliveryRunsArgs = {
114606
+ pagination?: InputMaybe<PaginationInput>;
114607
+ reportId: Scalars['ID']['input'];
114608
+ };
114609
+ /** Base Query type with placeholder field. Extended by individual query files. */
114147
114610
  export type QueryHeadshotmarketingSavedReportsArgs = {
114148
114611
  pagination?: InputMaybe<PaginationInput>;
114149
114612
  };
@@ -115095,6 +115558,19 @@ export type QueryHousingvistaViewingsArgs = {
115095
115558
  pagination?: InputMaybe<HousingVistaPaginationInput>;
115096
115559
  };
115097
115560
  /** Base Query type with placeholder field. Extended by individual query files. */
115561
+ export type QueryHrisDirectorySyncArgs = {
115562
+ connectionId: Scalars['ID']['input'];
115563
+ };
115564
+ /** Base Query type with placeholder field. Extended by individual query files. */
115565
+ export type QueryHrisSyncRunArgs = {
115566
+ id: Scalars['ID']['input'];
115567
+ };
115568
+ /** Base Query type with placeholder field. Extended by individual query files. */
115569
+ export type QueryHrisSyncRunsArgs = {
115570
+ connectionId: Scalars['ID']['input'];
115571
+ limit?: InputMaybe<Scalars['Int']['input']>;
115572
+ };
115573
+ /** Base Query type with placeholder field. Extended by individual query files. */
115098
115574
  export type QueryIncidentArgs = {
115099
115575
  id: Scalars['ID']['input'];
115100
115576
  };
@@ -116039,6 +116515,16 @@ export type QueryLookupUserActorByEmailArgs = {
116039
116515
  scopeId: Scalars['String']['input'];
116040
116516
  };
116041
116517
  /** Base Query type with placeholder field. Extended by individual query files. */
116518
+ export type QueryMailboxAttachmentArgs = {
116519
+ attachmentId: Scalars['ID']['input'];
116520
+ connectionId: Scalars['ID']['input'];
116521
+ messageId: Scalars['ID']['input'];
116522
+ };
116523
+ /** Base Query type with placeholder field. Extended by individual query files. */
116524
+ export type QueryMailboxLabelsArgs = {
116525
+ connectionId: Scalars['ID']['input'];
116526
+ };
116527
+ /** Base Query type with placeholder field. Extended by individual query files. */
116042
116528
  export type QueryMailboxMessagesArgs = {
116043
116529
  input: MailboxMessagesInput;
116044
116530
  };
@@ -119888,6 +120374,21 @@ export type QueryTestParserExpressionArgs = {
119888
120374
  input: TestParserInput;
119889
120375
  };
119890
120376
  /** Base Query type with placeholder field. Extended by individual query files. */
120377
+ export type QueryTheAllocationExceptionsArgs = {
120378
+ measurementAssetId?: InputMaybe<Scalars['ID']['input']>;
120379
+ pagination?: InputMaybe<PaginationInput>;
120380
+ };
120381
+ /** Base Query type with placeholder field. Extended by individual query files. */
120382
+ export type QueryTheAllocationPeriodCloseArgs = {
120383
+ id: Scalars['ID']['input'];
120384
+ };
120385
+ /** Base Query type with placeholder field. Extended by individual query files. */
120386
+ export type QueryTheAllocationStatementArgs = {
120387
+ measurementAssetId?: InputMaybe<Scalars['ID']['input']>;
120388
+ periodEnd: Scalars['DateTime']['input'];
120389
+ periodStart: Scalars['DateTime']['input'];
120390
+ };
120391
+ /** Base Query type with placeholder field. Extended by individual query files. */
119891
120392
  export type QueryTheAssetArgs = {
119892
120393
  id: Scalars['ID']['input'];
119893
120394
  };
@@ -119900,10 +120401,33 @@ export type QueryTheContractArgs = {
119900
120401
  id: Scalars['ID']['input'];
119901
120402
  };
119902
120403
  /** Base Query type with placeholder field. Extended by individual query files. */
120404
+ export type QueryTheContractLiftingPositionsArgs = {
120405
+ contractId?: InputMaybe<Scalars['ID']['input']>;
120406
+ };
120407
+ /** Base Query type with placeholder field. Extended by individual query files. */
120408
+ export type QueryTheEquipmentArgs = {
120409
+ id: Scalars['ID']['input'];
120410
+ };
120411
+ /** Base Query type with placeholder field. Extended by individual query files. */
119903
120412
  export type QueryTheEsgDisclosureArgs = {
119904
120413
  id: Scalars['ID']['input'];
119905
120414
  };
119906
120415
  /** Base Query type with placeholder field. Extended by individual query files. */
120416
+ export type QueryTheInterestDeckArgs = {
120417
+ id: Scalars['ID']['input'];
120418
+ };
120419
+ /** Base Query type with placeholder field. Extended by individual query files. */
120420
+ export type QueryTheInterestDeckInForceArgs = {
120421
+ assetId: Scalars['ID']['input'];
120422
+ at: Scalars['DateTime']['input'];
120423
+ };
120424
+ /** Base Query type with placeholder field. Extended by individual query files. */
120425
+ export type QueryTheListAllocationPeriodClosesArgs = {
120426
+ assetId?: InputMaybe<Scalars['ID']['input']>;
120427
+ pagination?: InputMaybe<PaginationInput>;
120428
+ status?: InputMaybe<TheAllocationPeriodStatus>;
120429
+ };
120430
+ /** Base Query type with placeholder field. Extended by individual query files. */
119907
120431
  export type QueryTheListAssetsArgs = {
119908
120432
  commodity?: InputMaybe<TheCommodityType>;
119909
120433
  kind?: InputMaybe<TheAssetKind>;
@@ -119918,6 +120442,12 @@ export type QueryTheListComplianceCertsArgs = {
119918
120442
  status?: InputMaybe<TheComplianceStatus>;
119919
120443
  };
119920
120444
  /** Base Query type with placeholder field. Extended by individual query files. */
120445
+ export type QueryTheListContractEntitlementsArgs = {
120446
+ allocationId?: InputMaybe<Scalars['ID']['input']>;
120447
+ contractId?: InputMaybe<Scalars['ID']['input']>;
120448
+ pagination?: InputMaybe<PaginationInput>;
120449
+ };
120450
+ /** Base Query type with placeholder field. Extended by individual query files. */
119921
120451
  export type QueryTheListContractsArgs = {
119922
120452
  commodity?: InputMaybe<TheCommodityType>;
119923
120453
  pagination?: InputMaybe<PaginationInput>;
@@ -119937,18 +120467,38 @@ export type QueryTheListEmissionRecordsArgs = {
119937
120467
  scope?: InputMaybe<TheEmissionScope>;
119938
120468
  };
119939
120469
  /** Base Query type with placeholder field. Extended by individual query files. */
120470
+ export type QueryTheListEquipmentArgs = {
120471
+ assetId?: InputMaybe<Scalars['ID']['input']>;
120472
+ category?: InputMaybe<TheEquipmentCategory>;
120473
+ pagination?: InputMaybe<PaginationInput>;
120474
+ status?: InputMaybe<TheEquipmentStatus>;
120475
+ };
120476
+ /** Base Query type with placeholder field. Extended by individual query files. */
119940
120477
  export type QueryTheListEsgDisclosuresArgs = {
119941
120478
  framework?: InputMaybe<TheEsgFramework>;
119942
120479
  pagination?: InputMaybe<PaginationInput>;
119943
120480
  };
119944
120481
  /** Base Query type with placeholder field. Extended by individual query files. */
120482
+ export type QueryTheListInterestDecksArgs = {
120483
+ assetId?: InputMaybe<Scalars['ID']['input']>;
120484
+ pagination?: InputMaybe<PaginationInput>;
120485
+ };
120486
+ /** Base Query type with placeholder field. Extended by individual query files. */
119945
120487
  export type QueryTheListInventoryLotsArgs = {
119946
120488
  commodity?: InputMaybe<TheCommodityType>;
119947
120489
  pagination?: InputMaybe<PaginationInput>;
119948
120490
  status?: InputMaybe<TheInventoryStatus>;
119949
120491
  };
119950
120492
  /** Base Query type with placeholder field. Extended by individual query files. */
120493
+ export type QueryTheListMaintenanceSchedulesArgs = {
120494
+ active?: InputMaybe<Scalars['Boolean']['input']>;
120495
+ dueBefore?: InputMaybe<Scalars['DateTime']['input']>;
120496
+ equipmentId?: InputMaybe<Scalars['ID']['input']>;
120497
+ pagination?: InputMaybe<PaginationInput>;
120498
+ };
120499
+ /** Base Query type with placeholder field. Extended by individual query files. */
119951
120500
  export type QueryTheListProductionAllocationsArgs = {
120501
+ correctsAllocationId?: InputMaybe<Scalars['ID']['input']>;
119952
120502
  measurementAssetId?: InputMaybe<Scalars['ID']['input']>;
119953
120503
  pagination?: InputMaybe<PaginationInput>;
119954
120504
  productionRecordId?: InputMaybe<Scalars['ID']['input']>;
@@ -119980,6 +120530,27 @@ export type QueryTheListShipmentsArgs = {
119980
120530
  status?: InputMaybe<TheShipmentStatus>;
119981
120531
  };
119982
120532
  /** Base Query type with placeholder field. Extended by individual query files. */
120533
+ export type QueryTheListUnitConversionsArgs = {
120534
+ commodity: TheCommodityType;
120535
+ };
120536
+ /** Base Query type with placeholder field. Extended by individual query files. */
120537
+ export type QueryTheListWorkOrdersArgs = {
120538
+ assetId?: InputMaybe<Scalars['ID']['input']>;
120539
+ assigneeId?: InputMaybe<Scalars['ID']['input']>;
120540
+ equipmentId?: InputMaybe<Scalars['ID']['input']>;
120541
+ overdueOnly?: InputMaybe<Scalars['Boolean']['input']>;
120542
+ pagination?: InputMaybe<PaginationInput>;
120543
+ priority?: InputMaybe<TheMaintenancePriority>;
120544
+ status?: InputMaybe<TheWorkOrderStatus>;
120545
+ type?: InputMaybe<TheWorkOrderType>;
120546
+ };
120547
+ /** Base Query type with placeholder field. Extended by individual query files. */
120548
+ export type QueryTheMaintenanceHistoryArgs = {
120549
+ assetId: Scalars['ID']['input'];
120550
+ equipmentId?: InputMaybe<Scalars['ID']['input']>;
120551
+ pagination?: InputMaybe<PaginationInput>;
120552
+ };
120553
+ /** Base Query type with placeholder field. Extended by individual query files. */
119983
120554
  export type QueryTheMyLegalAcceptancesArgs = {
119984
120555
  checkpointType: TheLegalCheckpointType;
119985
120556
  pagination?: InputMaybe<PaginationInput>;
@@ -119989,6 +120560,7 @@ export type QueryTheNetProductionPositionArgs = {
119989
120560
  assetId?: InputMaybe<Scalars['ID']['input']>;
119990
120561
  periodEnd: Scalars['DateTime']['input'];
119991
120562
  periodStart: Scalars['DateTime']['input'];
120563
+ reportingUnit?: InputMaybe<TheUnit>;
119992
120564
  };
119993
120565
  /** Base Query type with placeholder field. Extended by individual query files. */
119994
120566
  export type QueryTheProductionAllocationArgs = {
@@ -119999,6 +120571,10 @@ export type QueryTheSafetyIncidentArgs = {
119999
120571
  id: Scalars['ID']['input'];
120000
120572
  };
120001
120573
  /** Base Query type with placeholder field. Extended by individual query files. */
120574
+ export type QueryTheWorkOrderArgs = {
120575
+ id: Scalars['ID']['input'];
120576
+ };
120577
+ /** Base Query type with placeholder field. Extended by individual query files. */
120002
120578
  export type QueryThreadArgs = {
120003
120579
  after?: InputMaybe<Scalars['String']['input']>;
120004
120580
  first?: InputMaybe<Scalars['Int']['input']>;
@@ -126677,6 +127253,11 @@ export type SendHealthyBowlSupplierMessageInput = {
126677
127253
  supplierId: Scalars['ID']['input'];
126678
127254
  };
126679
127255
  export type SendMailboxMessageInput = {
127256
+ /**
127257
+ * wspace-files-svc file ids to attach, uploaded by the caller first. At most 10;
127258
+ * together at most 17 MB for Gmail and 2.5 MB for Outlook.
127259
+ */
127260
+ attachmentFileIds?: InputMaybe<Array<Scalars['ID']['input']>>;
126680
127261
  bcc?: InputMaybe<Array<Scalars['String']['input']>>;
126681
127262
  bodyText: Scalars['String']['input'];
126682
127263
  cc?: InputMaybe<Array<Scalars['String']['input']>>;
@@ -127256,6 +127837,12 @@ export type SetHealthyBowlWholesalePriceTiersInput = {
127256
127837
  productName: Scalars['String']['input'];
127257
127838
  tiers: Array<WholesalePriceTierInput>;
127258
127839
  };
127840
+ export type SetHrisSyncScheduleInput = {
127841
+ connectionId: Scalars['ID']['input'];
127842
+ enabled: Scalars['Boolean']['input'];
127843
+ /** One of 6, 12, 24, 48 or 168. Defaults to 24. */
127844
+ intervalHours?: InputMaybe<Scalars['Int']['input']>;
127845
+ };
127259
127846
  export type SetMetadataInput = {
127260
127847
  fileId: Scalars['ID']['input'];
127261
127848
  isPublic?: InputMaybe<Scalars['Boolean']['input']>;
@@ -128024,6 +128611,15 @@ export type StartDiscoveryJobInput = {
128024
128611
  name: Scalars['String']['input'];
128025
128612
  source: Scalars['String']['input'];
128026
128613
  };
128614
+ export type StartHrisSyncInput = {
128615
+ /**
128616
+ * APPLY only: proceed even if the sync would deactivate more than a quarter of
128617
+ * the matched people. Scheduled syncs never set it.
128618
+ */
128619
+ allowMassDeactivation?: InputMaybe<Scalars['Boolean']['input']>;
128620
+ connectionId: Scalars['ID']['input'];
128621
+ mode: HrisSyncMode;
128622
+ };
128027
128623
  export type StartMtwProcedureExecutionInput = {
128028
128624
  expectedCycleVersion: Scalars['Int']['input'];
128029
128625
  expectedProposalRevision: Scalars['Int']['input'];
@@ -133931,8 +134527,18 @@ export type TestSecretsProviderConnectionResponse = MutationResponse & {
133931
134527
  message: Scalars['String']['output'];
133932
134528
  success: Scalars['Boolean']['output'];
133933
134529
  };
134530
+ export type TheAllocationCorrectionEntryInput = {
134531
+ assetId: Scalars['ID']['input'];
134532
+ /** Defaults to the original entry's royalty (0 for an asset not in the original). */
134533
+ royaltyPct?: InputMaybe<Scalars['Float']['input']>;
134534
+ /** Signed change to the asset's allocated volume (negative reduces it). */
134535
+ volumeDelta: Scalars['Float']['input'];
134536
+ /** Defaults to the original entry's working interest (or the asset's, for an asset not in the original). */
134537
+ workingInterestPct?: InputMaybe<Scalars['Float']['input']>;
134538
+ };
133934
134539
  export type TheAllocationEntry = {
133935
134540
  __typename?: 'TheAllocationEntry';
134541
+ /** Sales-point share of the measured volume. Signed on a correction. */
133936
134542
  allocatedVolume: Scalars['Float']['output'];
133937
134543
  allocationId: Scalars['ID']['output'];
133938
134544
  asset?: Maybe<TheAsset>;
@@ -133940,33 +134546,124 @@ export type TheAllocationEntry = {
133940
134546
  /** PRO_RATA input weight (well-test rate, theoretical volume, metered share); null for MANUAL. */
133941
134547
  factor?: Maybe<Scalars['Float']['output']>;
133942
134548
  id: Scalars['ID']['output'];
134549
+ /** The interest deck in force for the allocation period, when it supplied a term. */
134550
+ interestDeckId?: Maybe<Scalars['ID']['output']>;
134551
+ /** Where the ownership terms came from. */
134552
+ interestSource: TheInterestSource;
133943
134553
  /** netWorkingInterestVolume - royaltyVolume (net revenue interest volume). */
133944
134554
  netRevenueVolume: Scalars['Float']['output'];
133945
134555
  /** allocatedVolume x workingInterestPct / 100. */
133946
134556
  netWorkingInterestVolume: Scalars['Float']['output'];
134557
+ /** Overriding royalty burden on the working-interest share, 0-100. */
134558
+ overridingRoyaltyPct: Scalars['Float']['output'];
133947
134559
  royaltyPct: Scalars['Float']['output'];
133948
- /** netWorkingInterestVolume x royaltyPct / 100. */
134560
+ /** netWorkingInterestVolume x (royaltyPct + overridingRoyaltyPct) / 100. */
133949
134561
  royaltyVolume: Scalars['Float']['output'];
133950
- /** allocatedVolume as a percentage of the measured volume (0-100). */
134562
+ /** allocatedVolume as a percentage of the measured volume (0-100). On a correction, the signed delta as a percentage of the original's measured volume. */
133951
134563
  sharePct: Scalars['Float']['output'];
134564
+ /** The asset's share of the allocation's shrinkage. */
134565
+ shrinkageVolume: Scalars['Float']['output'];
134566
+ /** The asset's theoretical (well-test / metered) volume, when supplied. */
134567
+ theoreticalVolume?: Maybe<Scalars['Float']['output']>;
133952
134568
  unit: TheUnit;
134569
+ /** allocatedVolume + shrinkageVolume. */
134570
+ wellheadVolume: Scalars['Float']['output'];
133953
134571
  workingInterestPct: Scalars['Float']['output'];
133954
134572
  };
133955
134573
  export type TheAllocationEntryInput = {
133956
134574
  assetId: Scalars['ID']['input'];
133957
- /** PRO_RATA: required, the asset's allocation weight (>= 0). */
134575
+ /** PRO_RATA: the asset's allocation weight (>= 0). Defaults to theoreticalVolume when omitted. */
133958
134576
  factor?: InputMaybe<Scalars['Float']['input']>;
133959
- /** Royalty burden on the working-interest share, 0-100. Defaults to 0. */
134577
+ /** Overriding royalty burden on the working-interest share, 0-100. Defaults to the deck's overridingRoyaltyPct, else 0. */
134578
+ overridingRoyaltyPct?: InputMaybe<Scalars['Float']['input']>;
134579
+ /** Royalty burden on the working-interest share, 0-100. Defaults to the deck's royaltyPct, else 0. */
133960
134580
  royaltyPct?: InputMaybe<Scalars['Float']['input']>;
134581
+ /** The asset's theoretical volume for the period (>= 0). Give it for every entry or none; it drives the reconciliation factor. */
134582
+ theoreticalVolume?: InputMaybe<Scalars['Float']['input']>;
133961
134583
  /** MANUAL: required, the asset's allocated volume (>= 0). */
133962
134584
  volume?: InputMaybe<Scalars['Float']['input']>;
133963
- /** Working interest held in this asset, 0-100. Defaults to the asset's workingInterestPct. */
134585
+ /** Working interest held in this asset, 0-100. Defaults to the workspace party of the interest deck in force for the period, else the asset's workingInterestPct. */
133964
134586
  workingInterestPct?: InputMaybe<Scalars['Float']['input']>;
133965
134587
  };
134588
+ /** A production record inside a closed period that has no APPROVED allocation. */
134589
+ export type TheAllocationException = {
134590
+ __typename?: 'TheAllocationException';
134591
+ id: Scalars['ID']['output'];
134592
+ periodClose: TheAllocationPeriodClose;
134593
+ productionRecord: TheProductionRecord;
134594
+ reason: TheAllocationExceptionReason;
134595
+ };
134596
+ export type TheAllocationExceptionConnection = {
134597
+ __typename?: 'TheAllocationExceptionConnection';
134598
+ items: Array<TheAllocationException>;
134599
+ pageInfo: ThePageInfo;
134600
+ totalCount: Scalars['Int']['output'];
134601
+ };
134602
+ export declare enum TheAllocationExceptionReason {
134603
+ /** The record only has a DRAFT allocation. */
134604
+ DRAFT_PENDING = "DRAFT_PENDING",
134605
+ /** The record has no live allocation. */
134606
+ UNALLOCATED = "UNALLOCATED"
134607
+ }
133966
134608
  export declare enum TheAllocationMethod {
133967
134609
  MANUAL = "MANUAL",
133968
134610
  PRO_RATA = "PRO_RATA"
133969
134611
  }
134612
+ export type TheAllocationPeriodClose = {
134613
+ __typename?: 'TheAllocationPeriodClose';
134614
+ asset?: Maybe<TheAsset>;
134615
+ /** Measurement asset (field / facility) the close applies to; null when it applies to every asset. */
134616
+ assetId?: Maybe<Scalars['ID']['output']>;
134617
+ closeNotes?: Maybe<Scalars['String']['output']>;
134618
+ closedAt: Scalars['DateTime']['output'];
134619
+ closedBy: Scalars['ID']['output'];
134620
+ createdAt: Scalars['DateTime']['output'];
134621
+ id: Scalars['ID']['output'];
134622
+ periodEnd: Scalars['DateTime']['output'];
134623
+ periodStart: Scalars['DateTime']['output'];
134624
+ reopenReason?: Maybe<Scalars['String']['output']>;
134625
+ reopenedAt?: Maybe<Scalars['DateTime']['output']>;
134626
+ reopenedBy?: Maybe<Scalars['ID']['output']>;
134627
+ status: TheAllocationPeriodStatus;
134628
+ updatedAt: Scalars['DateTime']['output'];
134629
+ workspaceId: Scalars['ID']['output'];
134630
+ };
134631
+ export type TheAllocationPeriodCloseConnection = {
134632
+ __typename?: 'TheAllocationPeriodCloseConnection';
134633
+ items: Array<TheAllocationPeriodClose>;
134634
+ pageInfo: ThePageInfo;
134635
+ };
134636
+ export declare enum TheAllocationPeriodStatus {
134637
+ CLOSED = "CLOSED",
134638
+ REOPENED = "REOPENED"
134639
+ }
134640
+ export type TheAllocationShrinkage = {
134641
+ __typename?: 'TheAllocationShrinkage';
134642
+ category: TheShrinkageCategory;
134643
+ volume: Scalars['Float']['output'];
134644
+ };
134645
+ export type TheAllocationShrinkageInput = {
134646
+ category: TheShrinkageCategory;
134647
+ /** Volume in the allocation unit (>= 0). */
134648
+ volume: Scalars['Float']['input'];
134649
+ };
134650
+ export type TheAllocationStatement = {
134651
+ __typename?: 'TheAllocationStatement';
134652
+ /** APPROVED allocations in the window with their per-asset entries (at most 500). */
134653
+ allocations: Array<TheProductionAllocation>;
134654
+ /** The statement as a CSV document (RFC 4180, formula-safe). */
134655
+ csv: Scalars['String']['output'];
134656
+ generatedAt: Scalars['DateTime']['output'];
134657
+ measurementAssetId?: Maybe<Scalars['ID']['output']>;
134658
+ netPosition: TheNetProductionPosition;
134659
+ /** CLOSED periods overlapping the window. */
134660
+ periodCloses: Array<TheAllocationPeriodClose>;
134661
+ periodEnd: Scalars['DateTime']['output'];
134662
+ periodStart: Scalars['DateTime']['output'];
134663
+ truncated: Scalars['Boolean']['output'];
134664
+ /** Production records in the window with no APPROVED allocation. */
134665
+ unapprovedRecordCount: Scalars['Int']['output'];
134666
+ };
133970
134667
  export declare enum TheAllocationStatus {
133971
134668
  APPROVED = "APPROVED",
133972
134669
  DRAFT = "DRAFT",
@@ -133992,6 +134689,10 @@ export type TheAsset = {
133992
134689
  longitude?: Maybe<Scalars['Float']['output']>;
133993
134690
  name: Scalars['String']['output'];
133994
134691
  operatorLeadId?: Maybe<Scalars['ID']['output']>;
134692
+ /** Federated reference to the asset's photo File (key-only, owned by wspace-files-svc). */
134693
+ photo?: Maybe<File>;
134694
+ /** wspace-files-svc File id of the asset's photo, if one was uploaded (BOFF-10630). Resolve the image through the Files graph root fields (getFile / getFileDownloadUrl). */
134695
+ photoFileId?: Maybe<Scalars['ID']['output']>;
133995
134696
  productionRecords: TheProductionRecordConnection;
133996
134697
  reserveEstimates: TheReserveEstimateConnection;
133997
134698
  /** Reservoir / deposit lithology or type (e.g. Carbonate, Sandstone, Porphyry). */
@@ -134037,6 +134738,66 @@ export declare enum TheAssetStatus {
134037
134738
  RETIRED = "RETIRED",
134038
134739
  SUSPENDED = "SUSPENDED"
134039
134740
  }
134741
+ export type TheBulkAllocateProductionInput = {
134742
+ /** Also approve each allocation it creates. */
134743
+ approve?: InputMaybe<Scalars['Boolean']['input']>;
134744
+ /** Validate every record without writing anything. */
134745
+ dryRun?: InputMaybe<Scalars['Boolean']['input']>;
134746
+ /** PRO_RATA factors (e.g. the latest well-test rates), with optional working-interest / royalty overrides. */
134747
+ entries: Array<TheAllocationEntryInput>;
134748
+ /** Asset the production records were measured at (field / facility / meter). */
134749
+ measurementAssetId: Scalars['ID']['input'];
134750
+ notes?: InputMaybe<Scalars['String']['input']>;
134751
+ periodEnd: Scalars['DateTime']['input'];
134752
+ periodStart: Scalars['DateTime']['input'];
134753
+ };
134754
+ export declare enum TheBulkAllocationOutcome {
134755
+ /** A DRAFT allocation was created. */
134756
+ ALLOCATED = "ALLOCATED",
134757
+ /** An allocation was created and approved. */
134758
+ APPROVED = "APPROVED",
134759
+ /** The record could not be allocated (see errorCode / message). */
134760
+ FAILED = "FAILED",
134761
+ /** The record already had a live allocation and was left alone. */
134762
+ SKIPPED = "SKIPPED",
134763
+ /** Dry run: the record would be allocated. */
134764
+ VALIDATED = "VALIDATED"
134765
+ }
134766
+ export type TheBulkAllocationRecordResult = {
134767
+ __typename?: 'TheBulkAllocationRecordResult';
134768
+ allocation?: Maybe<TheProductionAllocation>;
134769
+ errorCode?: Maybe<Scalars['String']['output']>;
134770
+ measuredVolume: Scalars['Float']['output'];
134771
+ message?: Maybe<Scalars['String']['output']>;
134772
+ outcome: TheBulkAllocationOutcome;
134773
+ periodEnd: Scalars['DateTime']['output'];
134774
+ periodStart: Scalars['DateTime']['output'];
134775
+ productionRecordId: Scalars['ID']['output'];
134776
+ unit: TheUnit;
134777
+ };
134778
+ export type TheBulkAllocationResult = {
134779
+ __typename?: 'TheBulkAllocationResult';
134780
+ /** Allocations created (including those also approved). */
134781
+ allocatedCount: Scalars['Int']['output'];
134782
+ approve: Scalars['Boolean']['output'];
134783
+ approvedCount: Scalars['Int']['output'];
134784
+ dryRun: Scalars['Boolean']['output'];
134785
+ failedCount: Scalars['Int']['output'];
134786
+ /** Production records in the window that were considered (at most 200). */
134787
+ recordCount: Scalars['Int']['output'];
134788
+ results: Array<TheBulkAllocationRecordResult>;
134789
+ skippedCount: Scalars['Int']['output'];
134790
+ /** True when the window held more records than one run processes; run again for the rest. */
134791
+ truncated: Scalars['Boolean']['output'];
134792
+ validatedCount: Scalars['Int']['output'];
134793
+ };
134794
+ export type TheCloseAllocationPeriodInput = {
134795
+ /** Close the period for one measurement asset only; omit to close it for every asset. */
134796
+ assetId?: InputMaybe<Scalars['ID']['input']>;
134797
+ notes?: InputMaybe<Scalars['String']['input']>;
134798
+ periodEnd: Scalars['DateTime']['input'];
134799
+ periodStart: Scalars['DateTime']['input'];
134800
+ };
134040
134801
  export declare enum TheCommodityType {
134041
134802
  BAUXITE = "BAUXITE",
134042
134803
  BIOFUEL = "BIOFUEL",
@@ -134093,6 +134854,43 @@ export declare enum TheComplianceStatus {
134093
134854
  REVOKED = "REVOKED",
134094
134855
  SUBMITTED = "SUBMITTED"
134095
134856
  }
134857
+ export type TheContractEntitlement = {
134858
+ __typename?: 'TheContractEntitlement';
134859
+ allocationEntryId: Scalars['ID']['output'];
134860
+ allocationId: Scalars['ID']['output'];
134861
+ asset?: Maybe<TheAsset>;
134862
+ assetId: Scalars['ID']['output'];
134863
+ contract?: Maybe<TheOfftakeContract>;
134864
+ contractId: Scalars['ID']['output'];
134865
+ createdAt: Scalars['DateTime']['output'];
134866
+ createdBy: Scalars['ID']['output'];
134867
+ id: Scalars['ID']['output'];
134868
+ notes?: Maybe<Scalars['String']['output']>;
134869
+ /** Start of the allocation period the volume was produced in. */
134870
+ periodStart: Scalars['DateTime']['output'];
134871
+ unit: TheUnit;
134872
+ volume: Scalars['Float']['output'];
134873
+ workspaceId: Scalars['ID']['output'];
134874
+ };
134875
+ export type TheContractEntitlementConnection = {
134876
+ __typename?: 'TheContractEntitlementConnection';
134877
+ items: Array<TheContractEntitlement>;
134878
+ pageInfo: ThePageInfo;
134879
+ };
134880
+ /** A contract's entitlement from approved allocations against its lifted (delivered) volume, in the contract's unit. */
134881
+ export type TheContractLiftingPosition = {
134882
+ __typename?: 'TheContractLiftingPosition';
134883
+ /** liftedVolume - entitledVolume: positive is over-lifted, negative under-lifted. */
134884
+ balanceVolume: Scalars['Float']['output'];
134885
+ contract?: Maybe<TheOfftakeContract>;
134886
+ contractId: Scalars['ID']['output'];
134887
+ contractedVolume: Scalars['Float']['output'];
134888
+ entitledVolume: Scalars['Float']['output'];
134889
+ entitlementCount: Scalars['Int']['output'];
134890
+ liftedVolume: Scalars['Float']['output'];
134891
+ position: TheLiftingPositionKind;
134892
+ unit: TheUnit;
134893
+ };
134096
134894
  export declare enum TheContractSide {
134097
134895
  BUY = "BUY",
134098
134896
  SELL = "SELL"
@@ -134131,6 +134929,16 @@ export declare enum TheCorrectiveActionStatus {
134131
134929
  OPEN = "OPEN",
134132
134930
  VERIFIED = "VERIFIED"
134133
134931
  }
134932
+ export type TheCreateAllocationCorrectionInput = {
134933
+ /** The APPROVED original allocation to correct. */
134934
+ allocationId: Scalars['ID']['input'];
134935
+ entries: Array<TheAllocationCorrectionEntryInput>;
134936
+ notes?: InputMaybe<Scalars['String']['input']>;
134937
+ periodEnd?: InputMaybe<Scalars['DateTime']['input']>;
134938
+ /** Period the correction is booked in (both or neither). Defaults to the original's period; a correction of a closed period is booked in a later, open period. It may not start before the original's period. */
134939
+ periodStart?: InputMaybe<Scalars['DateTime']['input']>;
134940
+ reason: Scalars['String']['input'];
134941
+ };
134134
134942
  export type TheCreateAssetInput = {
134135
134943
  area?: InputMaybe<Scalars['Float']['input']>;
134136
134944
  capacityPerDay?: InputMaybe<Scalars['Float']['input']>;
@@ -134145,6 +134953,8 @@ export type TheCreateAssetInput = {
134145
134953
  longitude?: InputMaybe<Scalars['Float']['input']>;
134146
134954
  name: Scalars['String']['input'];
134147
134955
  operatorLeadId?: InputMaybe<Scalars['ID']['input']>;
134956
+ /** Optional wspace-files-svc File id of the asset's photo (BOFF-10630). */
134957
+ photoFileId?: InputMaybe<Scalars['ID']['input']>;
134148
134958
  reservoirType?: InputMaybe<Scalars['String']['input']>;
134149
134959
  status?: InputMaybe<TheAssetStatus>;
134150
134960
  waterDepth?: InputMaybe<Scalars['Float']['input']>;
@@ -134162,6 +134972,14 @@ export type TheCreateComplianceCertInput = {
134162
134972
  ownerId?: InputMaybe<Scalars['ID']['input']>;
134163
134973
  title: Scalars['String']['input'];
134164
134974
  };
134975
+ export type TheCreateContractEntitlementInput = {
134976
+ /** An entry of an APPROVED allocation, in the contract's unit and commodity. */
134977
+ allocationEntryId: Scalars['ID']['input'];
134978
+ contractId: Scalars['ID']['input'];
134979
+ notes?: InputMaybe<Scalars['String']['input']>;
134980
+ /** Volume to assign (> 0). Defaults to the entry's whole remaining net revenue volume. */
134981
+ volume?: InputMaybe<Scalars['Float']['input']>;
134982
+ };
134165
134983
  export type TheCreateCorrectiveActionInput = {
134166
134984
  description: Scalars['String']['input'];
134167
134985
  dueDate?: InputMaybe<Scalars['DateTime']['input']>;
@@ -134169,6 +134987,29 @@ export type TheCreateCorrectiveActionInput = {
134169
134987
  notes?: InputMaybe<Scalars['String']['input']>;
134170
134988
  ownerId?: InputMaybe<Scalars['ID']['input']>;
134171
134989
  };
134990
+ export type TheCreateEquipmentInput = {
134991
+ assetId: Scalars['ID']['input'];
134992
+ category?: InputMaybe<TheEquipmentCategory>;
134993
+ criticality?: InputMaybe<TheMaintenancePriority>;
134994
+ installedAt?: InputMaybe<Scalars['DateTime']['input']>;
134995
+ manufacturer?: InputMaybe<Scalars['String']['input']>;
134996
+ model?: InputMaybe<Scalars['String']['input']>;
134997
+ name: Scalars['String']['input'];
134998
+ notes?: InputMaybe<Scalars['String']['input']>;
134999
+ serialNumber?: InputMaybe<Scalars['String']['input']>;
135000
+ tag?: InputMaybe<Scalars['String']['input']>;
135001
+ };
135002
+ export type TheCreateInterestDeckInput = {
135003
+ assetId: Scalars['ID']['input'];
135004
+ effectiveFrom: Scalars['DateTime']['input'];
135005
+ /** Exclusive end. Omit for open-ended. A deck starting after the asset's open-ended deck closes that deck at this deck's effectiveFrom. */
135006
+ effectiveTo?: InputMaybe<Scalars['DateTime']['input']>;
135007
+ notes?: InputMaybe<Scalars['String']['input']>;
135008
+ overridingRoyaltyPct?: InputMaybe<Scalars['Float']['input']>;
135009
+ /** 1-50 parties; exactly one with isWorkspaceInterest = true. */
135010
+ parties: Array<TheInterestDeckPartyInput>;
135011
+ royaltyPct?: InputMaybe<Scalars['Float']['input']>;
135012
+ };
134172
135013
  export type TheCreateInventoryLotInput = {
134173
135014
  assetId?: InputMaybe<Scalars['ID']['input']>;
134174
135015
  commodity: TheCommodityType;
@@ -134182,6 +135023,16 @@ export type TheCreateInventoryLotInput = {
134182
135023
  unit?: InputMaybe<TheUnit>;
134183
135024
  unitValue?: InputMaybe<Scalars['Float']['input']>;
134184
135025
  };
135026
+ export type TheCreateMaintenanceScheduleInput = {
135027
+ description?: InputMaybe<Scalars['String']['input']>;
135028
+ equipmentId: Scalars['ID']['input'];
135029
+ estimatedHours?: InputMaybe<Scalars['Float']['input']>;
135030
+ intervalDays: Scalars['Int']['input'];
135031
+ /** First due date; defaults to now + intervalDays. */
135032
+ nextDueAt?: InputMaybe<Scalars['DateTime']['input']>;
135033
+ priority?: InputMaybe<TheMaintenancePriority>;
135034
+ title: Scalars['String']['input'];
135035
+ };
134185
135036
  export type TheCreateOfftakeContractInput = {
134186
135037
  commodity: TheCommodityType;
134187
135038
  contractedVolume?: InputMaybe<Scalars['Float']['input']>;
@@ -134203,6 +135054,8 @@ export type TheCreateProductionAllocationInput = {
134203
135054
  method?: InputMaybe<TheAllocationMethod>;
134204
135055
  notes?: InputMaybe<Scalars['String']['input']>;
134205
135056
  productionRecordId: Scalars['ID']['input'];
135057
+ /** Shrinkage between the contributing assets and the measurement point, at most one line per category. */
135058
+ shrinkage?: InputMaybe<Array<TheAllocationShrinkageInput>>;
134206
135059
  };
134207
135060
  export type TheCreateReserveEstimateInput = {
134208
135061
  asOfDate: Scalars['DateTime']['input'];
@@ -134228,6 +135081,20 @@ export type TheCreateShipmentInput = {
134228
135081
  unit?: InputMaybe<TheUnit>;
134229
135082
  volume: Scalars['Float']['input'];
134230
135083
  };
135084
+ export type TheCreateWorkOrderInput = {
135085
+ /** Required unless equipmentId is given (the asset is then taken from the equipment). */
135086
+ assetId?: InputMaybe<Scalars['ID']['input']>;
135087
+ assigneeId?: InputMaybe<Scalars['ID']['input']>;
135088
+ conditionTrigger?: InputMaybe<Scalars['String']['input']>;
135089
+ description?: InputMaybe<Scalars['String']['input']>;
135090
+ equipmentId?: InputMaybe<Scalars['ID']['input']>;
135091
+ notes?: InputMaybe<Scalars['String']['input']>;
135092
+ priority?: InputMaybe<TheMaintenancePriority>;
135093
+ scheduledEnd?: InputMaybe<Scalars['DateTime']['input']>;
135094
+ scheduledStart?: InputMaybe<Scalars['DateTime']['input']>;
135095
+ title: Scalars['String']['input'];
135096
+ type?: InputMaybe<TheWorkOrderType>;
135097
+ };
134231
135098
  export type TheEmissionRecord = {
134232
135099
  __typename?: 'TheEmissionRecord';
134233
135100
  assetId?: Maybe<Scalars['ID']['output']>;
@@ -134255,6 +135122,49 @@ export declare enum TheEmissionScope {
134255
135122
  SCOPE_2 = "SCOPE_2",
134256
135123
  SCOPE_3 = "SCOPE_3"
134257
135124
  }
135125
+ export type TheEquipment = {
135126
+ __typename?: 'TheEquipment';
135127
+ assetId: Scalars['ID']['output'];
135128
+ category: TheEquipmentCategory;
135129
+ createdAt: Scalars['DateTime']['output'];
135130
+ criticality: TheMaintenancePriority;
135131
+ id: Scalars['ID']['output'];
135132
+ installedAt?: Maybe<Scalars['DateTime']['output']>;
135133
+ manufacturer?: Maybe<Scalars['String']['output']>;
135134
+ model?: Maybe<Scalars['String']['output']>;
135135
+ name: Scalars['String']['output'];
135136
+ notes?: Maybe<Scalars['String']['output']>;
135137
+ retiredAt?: Maybe<Scalars['DateTime']['output']>;
135138
+ serialNumber?: Maybe<Scalars['String']['output']>;
135139
+ status: TheEquipmentStatus;
135140
+ /** Plant / equipment tag number as stencilled in the field (e.g. P-101A). */
135141
+ tag?: Maybe<Scalars['String']['output']>;
135142
+ updatedAt: Scalars['DateTime']['output'];
135143
+ workspaceId: Scalars['ID']['output'];
135144
+ };
135145
+ export declare enum TheEquipmentCategory {
135146
+ COMPRESSOR = "COMPRESSOR",
135147
+ GENERATOR = "GENERATOR",
135148
+ INSTRUMENT = "INSTRUMENT",
135149
+ OTHER = "OTHER",
135150
+ PIPELINE = "PIPELINE",
135151
+ PUMP = "PUMP",
135152
+ TANK = "TANK",
135153
+ TURBINE = "TURBINE",
135154
+ VALVE = "VALVE",
135155
+ VEHICLE = "VEHICLE"
135156
+ }
135157
+ export type TheEquipmentConnection = {
135158
+ __typename?: 'TheEquipmentConnection';
135159
+ items: Array<TheEquipment>;
135160
+ pageInfo: ThePageInfo;
135161
+ };
135162
+ export declare enum TheEquipmentStatus {
135163
+ DEGRADED = "DEGRADED",
135164
+ DOWN = "DOWN",
135165
+ OPERATIONAL = "OPERATIONAL",
135166
+ RETIRED = "RETIRED"
135167
+ }
134258
135168
  /** A generated, reporting-period snapshot of ESG datapoints aligned to a named disclosure framework (GRI/SASB/CSRD/SEC/CDP), computed from this workspace's own emission and compliance records at generation time — see EsgReportingService. `datapoints` is returned as a JSON string. */
134259
135169
  export type TheEsgDisclosure = {
134260
135170
  __typename?: 'TheEsgDisclosure';
@@ -134294,6 +135204,64 @@ export type TheGenerateEsgDisclosureInput = {
134294
135204
  periodEnd: Scalars['DateTime']['input'];
134295
135205
  periodStart: Scalars['DateTime']['input'];
134296
135206
  };
135207
+ /** Result of raising planned work orders from due preventive-maintenance schedules. */
135208
+ export type TheGenerateWorkOrdersResult = {
135209
+ __typename?: 'TheGenerateWorkOrdersResult';
135210
+ created: Scalars['Int']['output'];
135211
+ workOrders: Array<TheWorkOrder>;
135212
+ };
135213
+ export type TheInterestDeck = {
135214
+ __typename?: 'TheInterestDeck';
135215
+ asset?: Maybe<TheAsset>;
135216
+ assetId: Scalars['ID']['output'];
135217
+ createdAt: Scalars['DateTime']['output'];
135218
+ createdBy: Scalars['ID']['output'];
135219
+ /** Inclusive start of the period the deck is in force. */
135220
+ effectiveFrom: Scalars['DateTime']['output'];
135221
+ /** Exclusive end of the period; null until the deck is superseded. */
135222
+ effectiveTo?: Maybe<Scalars['DateTime']['output']>;
135223
+ id: Scalars['ID']['output'];
135224
+ notes?: Maybe<Scalars['String']['output']>;
135225
+ /** Overriding royalty interest, 0-100, borne by the working interest. */
135226
+ overridingRoyaltyPct: Scalars['Float']['output'];
135227
+ parties: Array<TheInterestDeckParty>;
135228
+ /** Landowner / lessor royalty, 0-100, borne by the working interest. */
135229
+ royaltyPct: Scalars['Float']['output'];
135230
+ updatedAt: Scalars['DateTime']['output'];
135231
+ workspaceId: Scalars['ID']['output'];
135232
+ /** The workspace's own party (always present). */
135233
+ workspaceParty?: Maybe<TheInterestDeckParty>;
135234
+ };
135235
+ export type TheInterestDeckConnection = {
135236
+ __typename?: 'TheInterestDeckConnection';
135237
+ items: Array<TheInterestDeck>;
135238
+ pageInfo: ThePageInfo;
135239
+ };
135240
+ export type TheInterestDeckParty = {
135241
+ __typename?: 'TheInterestDeckParty';
135242
+ id: Scalars['ID']['output'];
135243
+ /** True for the single party that is this workspace's own interest. */
135244
+ isWorkspaceInterest: Scalars['Boolean']['output'];
135245
+ /** workingInterestPct x (1 - (royaltyPct + overridingRoyaltyPct) / 100). */
135246
+ netRevenueInterestPct: Scalars['Float']['output'];
135247
+ partyName: Scalars['String']['output'];
135248
+ workingInterestPct: Scalars['Float']['output'];
135249
+ };
135250
+ export type TheInterestDeckPartyInput = {
135251
+ isWorkspaceInterest?: InputMaybe<Scalars['Boolean']['input']>;
135252
+ partyName: Scalars['String']['input'];
135253
+ /** 0-100. The parties of a deck must sum to exactly 100. */
135254
+ workingInterestPct: Scalars['Float']['input'];
135255
+ };
135256
+ /** Where an allocation entry's ownership terms came from. */
135257
+ export declare enum TheInterestSource {
135258
+ /** No deck was in force: the asset's own working interest and no royalty. */
135259
+ ASSET_DEFAULT = "ASSET_DEFAULT",
135260
+ /** The interest deck in force for the whole allocation period. */
135261
+ INTEREST_DECK = "INTEREST_DECK",
135262
+ /** At least one term was entered on the allocation entry. */
135263
+ OVERRIDE = "OVERRIDE"
135264
+ }
134297
135265
  export type TheInventoryLot = {
134298
135266
  __typename?: 'TheInventoryLot';
134299
135267
  assetId?: Maybe<Scalars['ID']['output']>;
@@ -134354,15 +135322,81 @@ export declare enum TheLegalCheckpointType {
134354
135322
  /** Acceptance of the identity/verification service terms before first use. */
134355
135323
  VERIFICATION_FIRST_USE = "VERIFICATION_FIRST_USE"
134356
135324
  }
135325
+ export declare enum TheLiftingPositionKind {
135326
+ BALANCED = "BALANCED",
135327
+ /** More has been lifted (delivered) than the contract is entitled to. */
135328
+ OVER_LIFTED = "OVER_LIFTED",
135329
+ /** Less has been lifted than the contract is entitled to. */
135330
+ UNDER_LIFTED = "UNDER_LIFTED"
135331
+ }
135332
+ /** Live counts for the maintenance dashboard. */
135333
+ export type TheMaintenanceDashboard = {
135334
+ __typename?: 'TheMaintenanceDashboard';
135335
+ byStatus: Array<TheWorkOrderStatusCount>;
135336
+ byType: Array<TheWorkOrderTypeCount>;
135337
+ /** Downtime recorded on work orders completed in the last 30 days, in hours. */
135338
+ downtimeHoursLast30Days: Scalars['Float']['output'];
135339
+ equipmentDegraded: Scalars['Int']['output'];
135340
+ equipmentDown: Scalars['Int']['output'];
135341
+ openWorkOrders: Scalars['Int']['output'];
135342
+ overdueWorkOrders: Scalars['Int']['output'];
135343
+ schedulesDue: Scalars['Int']['output'];
135344
+ };
135345
+ /** Maintenance history for an asset (optionally narrowed to one piece of equipment): finished work orders newest first, plus downtime totals. */
135346
+ export type TheMaintenanceHistory = {
135347
+ __typename?: 'TheMaintenanceHistory';
135348
+ assetId: Scalars['ID']['output'];
135349
+ /** Downtime hours that are attributed to a production record. */
135350
+ attributedDowntimeHours: Scalars['Float']['output'];
135351
+ completedWorkOrders: Scalars['Int']['output'];
135352
+ equipmentId?: Maybe<Scalars['ID']['output']>;
135353
+ items: Array<TheWorkOrder>;
135354
+ lastCompletedAt?: Maybe<Scalars['DateTime']['output']>;
135355
+ pageInfo: ThePageInfo;
135356
+ totalDowntimeHours: Scalars['Float']['output'];
135357
+ };
135358
+ export declare enum TheMaintenancePriority {
135359
+ HIGH = "HIGH",
135360
+ LOW = "LOW",
135361
+ MEDIUM = "MEDIUM",
135362
+ URGENT = "URGENT"
135363
+ }
135364
+ export type TheMaintenanceSchedule = {
135365
+ __typename?: 'TheMaintenanceSchedule';
135366
+ active: Scalars['Boolean']['output'];
135367
+ createdAt: Scalars['DateTime']['output'];
135368
+ description?: Maybe<Scalars['String']['output']>;
135369
+ equipmentId: Scalars['ID']['output'];
135370
+ estimatedHours?: Maybe<Scalars['Float']['output']>;
135371
+ id: Scalars['ID']['output'];
135372
+ intervalDays: Scalars['Int']['output'];
135373
+ lastCompletedAt?: Maybe<Scalars['DateTime']['output']>;
135374
+ nextDueAt: Scalars['DateTime']['output'];
135375
+ priority: TheMaintenancePriority;
135376
+ title: Scalars['String']['output'];
135377
+ updatedAt: Scalars['DateTime']['output'];
135378
+ workspaceId: Scalars['ID']['output'];
135379
+ };
135380
+ export type TheMaintenanceScheduleConnection = {
135381
+ __typename?: 'TheMaintenanceScheduleConnection';
135382
+ items: Array<TheMaintenanceSchedule>;
135383
+ pageInfo: ThePageInfo;
135384
+ };
134357
135385
  /** Net position for one asset and unit over a period, from APPROVED allocations only. */
134358
135386
  export type TheNetPositionLine = {
134359
135387
  __typename?: 'TheNetPositionLine';
134360
135388
  allocationCount: Scalars['Int']['output'];
134361
135389
  asset?: Maybe<TheAsset>;
134362
135390
  assetId: Scalars['ID']['output'];
135391
+ /** The asset's commodity; set when a reporting unit was requested. */
135392
+ commodity?: Maybe<TheCommodityType>;
135393
+ /** Factor converting this line's unit into the reporting unit; null when none was requested or no conversion exists. */
135394
+ conversionFactor?: Maybe<Scalars['Float']['output']>;
134363
135395
  grossAllocatedVolume: Scalars['Float']['output'];
134364
135396
  netRevenueVolume: Scalars['Float']['output'];
134365
135397
  netWorkingInterestVolume: Scalars['Float']['output'];
135398
+ /** This line's volumes in the reporting unit; null when none was requested or no conversion exists. */
135399
+ reported?: Maybe<TheNetPositionTotal>;
134366
135400
  royaltyVolume: Scalars['Float']['output'];
134367
135401
  unit: TheUnit;
134368
135402
  };
@@ -134382,7 +135416,13 @@ export type TheNetProductionPosition = {
134382
135416
  lines: Array<TheNetPositionLine>;
134383
135417
  periodEnd: Scalars['DateTime']['output'];
134384
135418
  periodStart: Scalars['DateTime']['output'];
135419
+ /** All convertible lines totalled in the reporting unit; null when no reporting unit was requested or no line could be converted. */
135420
+ reportingTotal?: Maybe<TheNetPositionTotal>;
135421
+ /** The requested reporting unit, if any. */
135422
+ reportingUnit?: Maybe<TheUnit>;
134385
135423
  totals: Array<TheNetPositionTotal>;
135424
+ /** Lines left out of reportingTotal because no conversion exists for their commodity and unit. */
135425
+ unconvertibleCount: Scalars['Int']['output'];
134386
135426
  };
134387
135427
  export type TheOfftakeContract = {
134388
135428
  __typename?: 'TheOfftakeContract';
@@ -134434,10 +135474,18 @@ export type TheProductionAllocation = {
134434
135474
  allocatedTotal: Scalars['Float']['output'];
134435
135475
  approvedAt?: Maybe<Scalars['DateTime']['output']>;
134436
135476
  approvedBy?: Maybe<Scalars['ID']['output']>;
135477
+ correctionReason?: Maybe<Scalars['String']['output']>;
135478
+ /** Corrections recorded against this allocation, oldest first. */
135479
+ corrections: Array<TheProductionAllocation>;
135480
+ correctsAllocation?: Maybe<TheProductionAllocation>;
135481
+ /** The APPROVED original allocation this correction adjusts. */
135482
+ correctsAllocationId?: Maybe<Scalars['ID']['output']>;
134437
135483
  createdAt: Scalars['DateTime']['output'];
134438
135484
  createdBy: Scalars['ID']['output'];
134439
135485
  entries: Array<TheAllocationEntry>;
134440
135486
  id: Scalars['ID']['output'];
135487
+ /** True for a prior-period correction of another allocation. */
135488
+ isCorrection: Scalars['Boolean']['output'];
134441
135489
  /** Measured (gross) volume being allocated, snapshotted from the production record. */
134442
135490
  measuredVolume: Scalars['Float']['output'];
134443
135491
  measurementAsset?: Maybe<TheAsset>;
@@ -134451,13 +135499,23 @@ export type TheProductionAllocation = {
134451
135499
  periodStart: Scalars['DateTime']['output'];
134452
135500
  productionRecord?: Maybe<TheProductionRecord>;
134453
135501
  productionRecordId: Scalars['ID']['output'];
135502
+ /** wellheadVolume / theoreticalTotal; null without theoretical volumes. */
135503
+ reconciliationFactor?: Maybe<Scalars['Float']['output']>;
134454
135504
  reversalReason?: Maybe<Scalars['String']['output']>;
134455
135505
  reversedAt?: Maybe<Scalars['DateTime']['output']>;
134456
135506
  reversedBy?: Maybe<Scalars['ID']['output']>;
134457
135507
  royaltyTotal: Scalars['Float']['output'];
135508
+ /** Shrinkage by category (all four categories, zero when not recorded). */
135509
+ shrinkage: Array<TheAllocationShrinkage>;
135510
+ /** Sum of the shrinkage categories. */
135511
+ shrinkageTotal: Scalars['Float']['output'];
134458
135512
  status: TheAllocationStatus;
135513
+ /** Sum of the entries' theoretical volumes; null unless every entry supplied one. */
135514
+ theoreticalTotal?: Maybe<Scalars['Float']['output']>;
134459
135515
  unit: TheUnit;
134460
135516
  updatedAt: Scalars['DateTime']['output'];
135517
+ /** measuredVolume + shrinkageTotal: the volume produced at the contributing assets. */
135518
+ wellheadVolume: Scalars['Float']['output'];
134461
135519
  workspaceId: Scalars['ID']['output'];
134462
135520
  };
134463
135521
  export type TheProductionAllocationConnection = {
@@ -134552,6 +135610,11 @@ export type TheReserveEstimateConnection = {
134552
135610
  items: Array<TheReserveEstimate>;
134553
135611
  pageInfo: ThePageInfo;
134554
135612
  };
135613
+ export type TheResetUnitConversionInput = {
135614
+ commodity: TheCommodityType;
135615
+ fromUnit: TheUnit;
135616
+ toUnit: TheUnit;
135617
+ };
134555
135618
  export type TheSafetyCategoryCount = {
134556
135619
  __typename?: 'TheSafetyCategoryCount';
134557
135620
  category: TheSafetyIncidentCategory;
@@ -134620,6 +135683,14 @@ export type TheSafetySeverityCount = {
134620
135683
  count: Scalars['Int']['output'];
134621
135684
  severity: TheSafetyIncidentSeverity;
134622
135685
  };
135686
+ export type TheSetUnitConversionInput = {
135687
+ commodity: TheCommodityType;
135688
+ /** One fromUnit equals this many toUnit (> 0). */
135689
+ factor: Scalars['Float']['input'];
135690
+ fromUnit: TheUnit;
135691
+ notes?: InputMaybe<Scalars['String']['input']>;
135692
+ toUnit: TheUnit;
135693
+ };
134623
135694
  export type TheShipment = {
134624
135695
  __typename?: 'TheShipment';
134625
135696
  carrier?: Maybe<Scalars['String']['output']>;
@@ -134657,6 +135728,17 @@ export declare enum TheShipmentStatus {
134657
135728
  LOADING = "LOADING",
134658
135729
  SCHEDULED = "SCHEDULED"
134659
135730
  }
135731
+ /** Volumes produced at the contributing assets that never reach the measurement point (BOFF-10789). */
135732
+ export declare enum TheShrinkageCategory {
135733
+ /** Gas flared or vented. */
135734
+ FLARE = "FLARE",
135735
+ /** Fuel and own use on site. */
135736
+ FUEL = "FUEL",
135737
+ /** Volumes re-injected into the reservoir. */
135738
+ INJECTION = "INJECTION",
135739
+ /** Evaporation, metering and handling losses. */
135740
+ LOSS = "LOSS"
135741
+ }
134660
135742
  export declare enum TheTransportMode {
134661
135743
  GRID = "GRID",
134662
135744
  PIPELINE = "PIPELINE",
@@ -134674,6 +135756,21 @@ export declare enum TheUnit {
134674
135756
  MWH = "MWH",
134675
135757
  TONNES = "TONNES"
134676
135758
  }
135759
+ /** An effective unit conversion factor for a commodity: a built-in default or this workspace's override. */
135760
+ export type TheUnitConversion = {
135761
+ __typename?: 'TheUnitConversion';
135762
+ commodity: TheCommodityType;
135763
+ /** The built-in factor for the same pair and direction, if any. */
135764
+ defaultFactor?: Maybe<Scalars['Float']['output']>;
135765
+ /** One fromUnit equals this many toUnit. */
135766
+ factor: Scalars['Float']['output'];
135767
+ fromUnit: TheUnit;
135768
+ /** Override id; null for a built-in default. */
135769
+ id?: Maybe<Scalars['ID']['output']>;
135770
+ isDefault: Scalars['Boolean']['output'];
135771
+ notes?: Maybe<Scalars['String']['output']>;
135772
+ toUnit: TheUnit;
135773
+ };
134677
135774
  export type TheUpdateAssetInput = {
134678
135775
  area?: InputMaybe<Scalars['Float']['input']>;
134679
135776
  capacityPerDay?: InputMaybe<Scalars['Float']['input']>;
@@ -134689,10 +135786,33 @@ export type TheUpdateAssetInput = {
134689
135786
  longitude?: InputMaybe<Scalars['Float']['input']>;
134690
135787
  name?: InputMaybe<Scalars['String']['input']>;
134691
135788
  operatorLeadId?: InputMaybe<Scalars['ID']['input']>;
135789
+ /** Replace the asset's photo with this wspace-files-svc File id. A null value is ignored here; use theSetAssetPhoto to remove a photo. */
135790
+ photoFileId?: InputMaybe<Scalars['ID']['input']>;
134692
135791
  reservoirType?: InputMaybe<Scalars['String']['input']>;
134693
135792
  waterDepth?: InputMaybe<Scalars['Float']['input']>;
134694
135793
  workingInterestPct?: InputMaybe<Scalars['Float']['input']>;
134695
135794
  };
135795
+ export type TheUpdateEquipmentInput = {
135796
+ category?: InputMaybe<TheEquipmentCategory>;
135797
+ criticality?: InputMaybe<TheMaintenancePriority>;
135798
+ installedAt?: InputMaybe<Scalars['DateTime']['input']>;
135799
+ manufacturer?: InputMaybe<Scalars['String']['input']>;
135800
+ model?: InputMaybe<Scalars['String']['input']>;
135801
+ name?: InputMaybe<Scalars['String']['input']>;
135802
+ notes?: InputMaybe<Scalars['String']['input']>;
135803
+ serialNumber?: InputMaybe<Scalars['String']['input']>;
135804
+ status?: InputMaybe<TheEquipmentStatus>;
135805
+ tag?: InputMaybe<Scalars['String']['input']>;
135806
+ };
135807
+ export type TheUpdateMaintenanceScheduleInput = {
135808
+ active?: InputMaybe<Scalars['Boolean']['input']>;
135809
+ description?: InputMaybe<Scalars['String']['input']>;
135810
+ estimatedHours?: InputMaybe<Scalars['Float']['input']>;
135811
+ intervalDays?: InputMaybe<Scalars['Int']['input']>;
135812
+ nextDueAt?: InputMaybe<Scalars['DateTime']['input']>;
135813
+ priority?: InputMaybe<TheMaintenancePriority>;
135814
+ title?: InputMaybe<Scalars['String']['input']>;
135815
+ };
134696
135816
  export type TheUpdateOfftakeContractInput = {
134697
135817
  contractedVolume?: InputMaybe<Scalars['Float']['input']>;
134698
135818
  counterparty?: InputMaybe<Scalars['String']['input']>;
@@ -134717,6 +135837,87 @@ export type TheUpdateShipmentInput = {
134717
135837
  scheduledAt?: InputMaybe<Scalars['DateTime']['input']>;
134718
135838
  trackingId?: InputMaybe<Scalars['String']['input']>;
134719
135839
  };
135840
+ export type TheUpdateWorkOrderInput = {
135841
+ assigneeId?: InputMaybe<Scalars['ID']['input']>;
135842
+ conditionTrigger?: InputMaybe<Scalars['String']['input']>;
135843
+ description?: InputMaybe<Scalars['String']['input']>;
135844
+ notes?: InputMaybe<Scalars['String']['input']>;
135845
+ priority?: InputMaybe<TheMaintenancePriority>;
135846
+ scheduledEnd?: InputMaybe<Scalars['DateTime']['input']>;
135847
+ scheduledStart?: InputMaybe<Scalars['DateTime']['input']>;
135848
+ title?: InputMaybe<Scalars['String']['input']>;
135849
+ };
135850
+ export type TheWorkOrder = {
135851
+ __typename?: 'TheWorkOrder';
135852
+ assetId: Scalars['ID']['output'];
135853
+ assigneeId?: Maybe<Scalars['ID']['output']>;
135854
+ cancelledAt?: Maybe<Scalars['DateTime']['output']>;
135855
+ closedAt?: Maybe<Scalars['DateTime']['output']>;
135856
+ completedAt?: Maybe<Scalars['DateTime']['output']>;
135857
+ completionNotes?: Maybe<Scalars['String']['output']>;
135858
+ /** For condition-based work: the monitored condition that triggered it. */
135859
+ conditionTrigger?: Maybe<Scalars['String']['output']>;
135860
+ createdAt: Scalars['DateTime']['output'];
135861
+ description?: Maybe<Scalars['String']['output']>;
135862
+ /** Equipment / asset downtime caused by this work, in hours. */
135863
+ downtimeHours?: Maybe<Scalars['Float']['output']>;
135864
+ equipment?: Maybe<TheEquipment>;
135865
+ equipmentId?: Maybe<Scalars['ID']['output']>;
135866
+ id: Scalars['ID']['output'];
135867
+ /** The production record whose downtime this work order explains, if attributed. */
135868
+ linkedProductionRecordId?: Maybe<Scalars['ID']['output']>;
135869
+ notes?: Maybe<Scalars['String']['output']>;
135870
+ /** True when the work is not finished and its scheduled end has passed. */
135871
+ overdue: Scalars['Boolean']['output'];
135872
+ priority: TheMaintenancePriority;
135873
+ /** The preventive-maintenance schedule this work order was raised from, if any. */
135874
+ scheduleId?: Maybe<Scalars['ID']['output']>;
135875
+ scheduledEnd?: Maybe<Scalars['DateTime']['output']>;
135876
+ scheduledStart?: Maybe<Scalars['DateTime']['output']>;
135877
+ startedAt?: Maybe<Scalars['DateTime']['output']>;
135878
+ status: TheWorkOrderStatus;
135879
+ title: Scalars['String']['output'];
135880
+ type: TheWorkOrderType;
135881
+ updatedAt: Scalars['DateTime']['output'];
135882
+ workspaceId: Scalars['ID']['output'];
135883
+ };
135884
+ export type TheWorkOrderConnection = {
135885
+ __typename?: 'TheWorkOrderConnection';
135886
+ items: Array<TheWorkOrder>;
135887
+ pageInfo: ThePageInfo;
135888
+ };
135889
+ export declare enum TheWorkOrderStatus {
135890
+ CANCELLED = "CANCELLED",
135891
+ CLOSED = "CLOSED",
135892
+ COMPLETED = "COMPLETED",
135893
+ IN_PROGRESS = "IN_PROGRESS",
135894
+ OPEN = "OPEN",
135895
+ SCHEDULED = "SCHEDULED"
135896
+ }
135897
+ export type TheWorkOrderStatusCount = {
135898
+ __typename?: 'TheWorkOrderStatusCount';
135899
+ count: Scalars['Int']['output'];
135900
+ status: TheWorkOrderStatus;
135901
+ };
135902
+ /** Optional details captured with a lifecycle transition. Scheduling fields apply to SCHEDULED; completion fields apply to COMPLETED. */
135903
+ export type TheWorkOrderTransitionInput = {
135904
+ completionNotes?: InputMaybe<Scalars['String']['input']>;
135905
+ downtimeHours?: InputMaybe<Scalars['Float']['input']>;
135906
+ linkedProductionRecordId?: InputMaybe<Scalars['ID']['input']>;
135907
+ scheduledEnd?: InputMaybe<Scalars['DateTime']['input']>;
135908
+ scheduledStart?: InputMaybe<Scalars['DateTime']['input']>;
135909
+ };
135910
+ /** How a work order originated: a recurring schedule (PLANNED), a monitored condition crossing a threshold (CONDITION_BASED), or a breakdown (REACTIVE). */
135911
+ export declare enum TheWorkOrderType {
135912
+ CONDITION_BASED = "CONDITION_BASED",
135913
+ PLANNED = "PLANNED",
135914
+ REACTIVE = "REACTIVE"
135915
+ }
135916
+ export type TheWorkOrderTypeCount = {
135917
+ __typename?: 'TheWorkOrderTypeCount';
135918
+ count: Scalars['Int']['output'];
135919
+ type: TheWorkOrderType;
135920
+ };
134720
135921
  export type TimeApprovalRequest = {
134721
135922
  __typename?: 'TimeApprovalRequest';
134722
135923
  approverId?: Maybe<Scalars['ID']['output']>;