@burdenoff/microfe-movethewheels 2026.1107.7 → 2026.1108.1
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.
- package/dist/components/InventoryCoverPanel.js +401 -0
- package/dist/generated/wspace-types.d.ts +1645 -0
- package/dist/hooks/useInventoryCoverPlan.js +70 -0
- package/dist/movethewheels/components/InventoryCoverPanel.d.ts +24 -0
- package/dist/movethewheels/hooks/useInventoryCoverPlan.d.ts +80 -0
- package/dist/pages/InventoryPage.js +219 -214
- package/package.json +1 -1
- package/src/generated/wspace-types.ts +1861 -0
- package/src/movethewheels/components/InventoryCoverPanel.tsx +449 -0
- package/src/movethewheels/hooks/useInventoryCoverPlan.ts +250 -0
- package/src/movethewheels/pages/InventoryPage.tsx +8 -0
|
@@ -6281,6 +6281,13 @@ export type AthCompleteSessionInput = {
|
|
|
6281
6281
|
rating?: InputMaybe<Scalars['Int']['input']>;
|
|
6282
6282
|
};
|
|
6283
6283
|
|
|
6284
|
+
export type AthConnectPaymentAccountInput = {
|
|
6285
|
+
/** Optional email to pre-fill the processor's onboarding form. */
|
|
6286
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
6287
|
+
/** Where the processor sends the club back to; must be on an AthleteBridge app origin. */
|
|
6288
|
+
returnUrl: Scalars['String']['input'];
|
|
6289
|
+
};
|
|
6290
|
+
|
|
6284
6291
|
export type AthCreateFixtureInput = {
|
|
6285
6292
|
awayTeamId?: InputMaybe<Scalars['ID']['input']>;
|
|
6286
6293
|
competition?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -6557,6 +6564,8 @@ export type AthMyRegistration = {
|
|
|
6557
6564
|
formSlug: Scalars['String']['output'];
|
|
6558
6565
|
formTitle: Scalars['String']['output'];
|
|
6559
6566
|
id: Scalars['ID']['output'];
|
|
6567
|
+
/** True when the club takes online payments for this registration (BOFF-10805). */
|
|
6568
|
+
onlinePaymentAvailable: Scalars['Boolean']['output'];
|
|
6560
6569
|
participantName: Scalars['String']['output'];
|
|
6561
6570
|
paymentStatus: AthRegistrationPaymentStatus;
|
|
6562
6571
|
status: AthRegistrationSubmissionStatus;
|
|
@@ -6569,12 +6578,50 @@ export type AthMyRegistrationConnection = {
|
|
|
6569
6578
|
pageInfo: AthPageInfo;
|
|
6570
6579
|
};
|
|
6571
6580
|
|
|
6581
|
+
export type AthOnlinePaymentsStatus = {
|
|
6582
|
+
__typename?: 'AthOnlinePaymentsStatus';
|
|
6583
|
+
account?: Maybe<AthPaymentAccount>;
|
|
6584
|
+
/** True when families can pay this club online right now. */
|
|
6585
|
+
onlineCheckoutAvailable: Scalars['Boolean']['output'];
|
|
6586
|
+
/** True when this environment has a payment processor configured. */
|
|
6587
|
+
processorConfigured: Scalars['Boolean']['output'];
|
|
6588
|
+
/** True when the configured processor is in test mode (no real money moves). */
|
|
6589
|
+
testMode: Scalars['Boolean']['output'];
|
|
6590
|
+
};
|
|
6591
|
+
|
|
6572
6592
|
export type AthPageInfo = {
|
|
6573
6593
|
__typename?: 'AthPageInfo';
|
|
6574
6594
|
cursor?: Maybe<Scalars['String']['output']>;
|
|
6575
6595
|
hasMore: Scalars['Boolean']['output'];
|
|
6576
6596
|
};
|
|
6577
6597
|
|
|
6598
|
+
/** The club's connected processor account. */
|
|
6599
|
+
export type AthPaymentAccount = {
|
|
6600
|
+
__typename?: 'AthPaymentAccount';
|
|
6601
|
+
/** Processor account id (Stripe acct_...). */
|
|
6602
|
+
accountId: Scalars['String']['output'];
|
|
6603
|
+
/** True once the processor lets the account take card payments. */
|
|
6604
|
+
chargesEnabled: Scalars['Boolean']['output'];
|
|
6605
|
+
createdAt: Scalars['DateTime']['output'];
|
|
6606
|
+
/** True once the club has finished the processor's onboarding form. */
|
|
6607
|
+
detailsSubmitted: Scalars['Boolean']['output'];
|
|
6608
|
+
lastSyncedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
6609
|
+
payoutsEnabled: Scalars['Boolean']['output'];
|
|
6610
|
+
provider: AthPaymentProvider;
|
|
6611
|
+
};
|
|
6612
|
+
|
|
6613
|
+
/** A single-use link to the processor's hosted onboarding for the club. */
|
|
6614
|
+
export type AthPaymentAccountLink = {
|
|
6615
|
+
__typename?: 'AthPaymentAccountLink';
|
|
6616
|
+
account: AthPaymentAccount;
|
|
6617
|
+
expiresAt: Scalars['DateTime']['output'];
|
|
6618
|
+
url: Scalars['String']['output'];
|
|
6619
|
+
};
|
|
6620
|
+
|
|
6621
|
+
export enum AthPaymentProvider {
|
|
6622
|
+
STRIPE = 'STRIPE'
|
|
6623
|
+
}
|
|
6624
|
+
|
|
6578
6625
|
export type AthPerformanceMetric = {
|
|
6579
6626
|
__typename?: 'AthPerformanceMetric';
|
|
6580
6627
|
athleteId: Scalars['ID']['output'];
|
|
@@ -6671,6 +6718,8 @@ export type AthPublicRegistrationForm = {
|
|
|
6671
6718
|
fields: Array<AthRegistrationField>;
|
|
6672
6719
|
id: Scalars['ID']['output'];
|
|
6673
6720
|
isOpen: Scalars['Boolean']['output'];
|
|
6721
|
+
/** True when the club takes online payments, so a family can pay right after submitting (BOFF-10805). */
|
|
6722
|
+
onlinePaymentAvailable: Scalars['Boolean']['output'];
|
|
6674
6723
|
opensAt?: Maybe<Scalars['DateTime']['output']>;
|
|
6675
6724
|
season?: Maybe<Scalars['String']['output']>;
|
|
6676
6725
|
slug: Scalars['String']['output'];
|
|
@@ -6729,6 +6778,17 @@ export type AthRefundRegistrationPaymentInput = {
|
|
|
6729
6778
|
reason: Scalars['String']['input'];
|
|
6730
6779
|
};
|
|
6731
6780
|
|
|
6781
|
+
/** A processor checkout the family is redirected to. */
|
|
6782
|
+
export type AthRegistrationCheckoutSession = {
|
|
6783
|
+
__typename?: 'AthRegistrationCheckoutSession';
|
|
6784
|
+
/** Amount requested, in minor units of currency. */
|
|
6785
|
+
amount: Scalars['Int']['output'];
|
|
6786
|
+
checkoutId: Scalars['ID']['output'];
|
|
6787
|
+
currency: Scalars['String']['output'];
|
|
6788
|
+
expiresAt?: Maybe<Scalars['DateTime']['output']>;
|
|
6789
|
+
url: Scalars['String']['output'];
|
|
6790
|
+
};
|
|
6791
|
+
|
|
6732
6792
|
/** Per-currency totals in minor units. Each registration's own amounts fit a 32-bit Int, but a workspace-wide sum can exceed it, so the aggregates are Float (always whole numbers, exact up to 2^53). */
|
|
6733
6793
|
export type AthRegistrationCurrencyTotal = {
|
|
6734
6794
|
__typename?: 'AthRegistrationCurrencyTotal';
|
|
@@ -6857,6 +6917,8 @@ export type AthRegistrationPayment = {
|
|
|
6857
6917
|
/** amount - refundedAmount, or 0 for a voided payment. */
|
|
6858
6918
|
netAmount: Scalars['Int']['output'];
|
|
6859
6919
|
note?: Maybe<Scalars['String']['output']>;
|
|
6920
|
+
/** Set when the payment was collected through the club's connected processor account (BOFF-10805). */
|
|
6921
|
+
processor?: Maybe<AthPaymentProvider>;
|
|
6860
6922
|
receivedAt: Scalars['DateTime']['output'];
|
|
6861
6923
|
reference?: Maybe<Scalars['String']['output']>;
|
|
6862
6924
|
refundReason?: Maybe<Scalars['String']['output']>;
|
|
@@ -6906,6 +6968,18 @@ export type AthRegistrationPaymentSummary = {
|
|
|
6906
6968
|
unpaidCount: Scalars['Int']['output'];
|
|
6907
6969
|
};
|
|
6908
6970
|
|
|
6971
|
+
/** What accepting a registration for a team-linked form did to the team's roster. */
|
|
6972
|
+
export enum AthRegistrationRosterOutcome {
|
|
6973
|
+
/** A new roster member was created for the athlete. */
|
|
6974
|
+
ADDED = 'ADDED',
|
|
6975
|
+
/** The athlete was already on the team's roster; nothing was created. */
|
|
6976
|
+
ALREADY_ON_ROSTER = 'ALREADY_ON_ROSTER',
|
|
6977
|
+
/** The registration has no platform user for the athlete, so staff must add them by hand. */
|
|
6978
|
+
NO_LINKED_USER = 'NO_LINKED_USER',
|
|
6979
|
+
/** The linked team was archived or deleted before the registration was accepted. */
|
|
6980
|
+
TEAM_UNAVAILABLE = 'TEAM_UNAVAILABLE'
|
|
6981
|
+
}
|
|
6982
|
+
|
|
6909
6983
|
export enum AthRegistrationSource {
|
|
6910
6984
|
/** Submitted by the family through the share link. */
|
|
6911
6985
|
SELF_SERVICE = 'SELF_SERVICE',
|
|
@@ -6928,11 +7002,21 @@ export type AthRegistrationSubmission = {
|
|
|
6928
7002
|
formId: Scalars['ID']['output'];
|
|
6929
7003
|
formTitle: Scalars['String']['output'];
|
|
6930
7004
|
id: Scalars['ID']['output'];
|
|
7005
|
+
/** True when the self-service registrant said they are the athlete (submittedByUserId is the participant). */
|
|
7006
|
+
participantIsRegistrant: Scalars['Boolean']['output'];
|
|
6931
7007
|
participantName: Scalars['String']['output'];
|
|
6932
7008
|
participantUserId?: Maybe<Scalars['ID']['output']>;
|
|
6933
7009
|
paymentStatus: AthRegistrationPaymentStatus;
|
|
6934
7010
|
reviewNotes?: Maybe<Scalars['String']['output']>;
|
|
6935
7011
|
reviewedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
7012
|
+
/** The roster member the acceptance created or found. */
|
|
7013
|
+
rosterMemberId?: Maybe<Scalars['ID']['output']>;
|
|
7014
|
+
/** Roster outcome of the last acceptance of a team-linked form; null otherwise. */
|
|
7015
|
+
rosterOutcome?: Maybe<AthRegistrationRosterOutcome>;
|
|
7016
|
+
/** The team the acceptance targeted. */
|
|
7017
|
+
rosterTeamId?: Maybe<Scalars['ID']['output']>;
|
|
7018
|
+
/** Name of that team, when it still exists. */
|
|
7019
|
+
rosterTeamName?: Maybe<Scalars['String']['output']>;
|
|
6936
7020
|
selectedFeeIds: Array<Scalars['ID']['output']>;
|
|
6937
7021
|
source: AthRegistrationSource;
|
|
6938
7022
|
status: AthRegistrationSubmissionStatus;
|
|
@@ -7047,12 +7131,20 @@ export type AthStandingConnection = {
|
|
|
7047
7131
|
pageInfo: AthPageInfo;
|
|
7048
7132
|
};
|
|
7049
7133
|
|
|
7134
|
+
export type AthStartRegistrationCheckoutInput = {
|
|
7135
|
+
/** Where the processor sends the family back to; must be on an AthleteBridge app origin. */
|
|
7136
|
+
returnUrl: Scalars['String']['input'];
|
|
7137
|
+
submissionId: Scalars['ID']['input'];
|
|
7138
|
+
};
|
|
7139
|
+
|
|
7050
7140
|
export type AthSubmitRegistrationInput = {
|
|
7051
7141
|
/** Answers keyed by AthRegistrationField.key. */
|
|
7052
7142
|
answers?: InputMaybe<Scalars['JSON']['input']>;
|
|
7053
7143
|
contactEmail?: InputMaybe<Scalars['String']['input']>;
|
|
7054
7144
|
contactName?: InputMaybe<Scalars['String']['input']>;
|
|
7055
7145
|
contactPhone?: InputMaybe<Scalars['String']['input']>;
|
|
7146
|
+
/** Set when the signed-in registrant is the athlete, so acceptance can add them to the team roster. */
|
|
7147
|
+
participantIsRegistrant?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7056
7148
|
participantName: Scalars['String']['input'];
|
|
7057
7149
|
/** OPTIONAL fees the registrant opts into; REQUIRED fees are always included. */
|
|
7058
7150
|
selectedFeeIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
@@ -9336,6 +9428,106 @@ export type BigConsoleInstantiateDashboardTemplateInput = {
|
|
|
9336
9428
|
visibility?: InputMaybe<BigConsoleDashboardVisibility>;
|
|
9337
9429
|
};
|
|
9338
9430
|
|
|
9431
|
+
/** A persisted narrative: the console explaining itself, with citations. */
|
|
9432
|
+
export type BigConsoleNarrative = {
|
|
9433
|
+
__typename?: 'BigConsoleNarrative';
|
|
9434
|
+
/** Structured, cited claims (empty on DECLINED/ERROR). */
|
|
9435
|
+
claims: Array<BigConsoleNarrativeClaim>;
|
|
9436
|
+
/** When the narrative was created. */
|
|
9437
|
+
createdAt: Scalars['DateTime']['output'];
|
|
9438
|
+
/** Dashboard the narrative belongs to (null for sink-only anomaly runs). */
|
|
9439
|
+
dashboardId?: Maybe<Scalars['ID']['output']>;
|
|
9440
|
+
/** Primary DataSink the narrative grounded in. */
|
|
9441
|
+
dataSinkId?: Maybe<Scalars['ID']['output']>;
|
|
9442
|
+
/** Why the narrative declined (set only when status is DECLINED). */
|
|
9443
|
+
declineReason?: Maybe<Scalars['String']['output']>;
|
|
9444
|
+
/** Narrative ID. */
|
|
9445
|
+
id: Scalars['ID']['output'];
|
|
9446
|
+
/** What the narrative explains. */
|
|
9447
|
+
kind: BigConsoleNarrativeKind;
|
|
9448
|
+
/** Model that produced the narrative (null on decline paths with no call). */
|
|
9449
|
+
model?: Maybe<Scalars['String']['output']>;
|
|
9450
|
+
/** Outcome of the run. */
|
|
9451
|
+
status: BigConsoleNarrativeStatus;
|
|
9452
|
+
/** Human-readable summary. On DECLINED this is the refusal wording. */
|
|
9453
|
+
summary: Scalars['String']['output'];
|
|
9454
|
+
/** Prompt tokens consumed by the run. */
|
|
9455
|
+
tokensIn?: Maybe<Scalars['Int']['output']>;
|
|
9456
|
+
/** Completion tokens produced by the run. */
|
|
9457
|
+
tokensOut?: Maybe<Scalars['Int']['output']>;
|
|
9458
|
+
/** How the narrative was triggered. */
|
|
9459
|
+
trigger: BigConsoleNarrativeTrigger;
|
|
9460
|
+
/** Widget the narrative explains (widget/dashboard kinds). */
|
|
9461
|
+
widgetId?: Maybe<Scalars['ID']['output']>;
|
|
9462
|
+
};
|
|
9463
|
+
|
|
9464
|
+
/** A resolvable pointer to the data that supports one narrative claim. */
|
|
9465
|
+
export type BigConsoleNarrativeCitation = {
|
|
9466
|
+
__typename?: 'BigConsoleNarrativeCitation';
|
|
9467
|
+
/** The DataSink that carried the data. */
|
|
9468
|
+
dataSinkId?: Maybe<Scalars['ID']['output']>;
|
|
9469
|
+
/** The concrete field within the sink/parser rows the claim is about. */
|
|
9470
|
+
field?: Maybe<Scalars['String']['output']>;
|
|
9471
|
+
/** The Parser that shaped the rows (when the widget binds one). */
|
|
9472
|
+
parserId?: Maybe<Scalars['ID']['output']>;
|
|
9473
|
+
/** Clickable route to the evidence (e.g. /bigconsole/datasinks/:id). */
|
|
9474
|
+
route: Scalars['String']['output'];
|
|
9475
|
+
/** The Widget the narrative explains. */
|
|
9476
|
+
widgetId?: Maybe<Scalars['ID']['output']>;
|
|
9477
|
+
};
|
|
9478
|
+
|
|
9479
|
+
/** One factual statement in a narrative. Every claim MUST carry at least one citation — an uncited claim is dropped before the narrative is persisted. */
|
|
9480
|
+
export type BigConsoleNarrativeClaim = {
|
|
9481
|
+
__typename?: 'BigConsoleNarrativeClaim';
|
|
9482
|
+
/** The evidence behind the claim. */
|
|
9483
|
+
citations: Array<BigConsoleNarrativeCitation>;
|
|
9484
|
+
/** The claim text, written for a human reader. */
|
|
9485
|
+
text: Scalars['String']['output'];
|
|
9486
|
+
};
|
|
9487
|
+
|
|
9488
|
+
/** Runtime state of the narrative feature for the calling workspace. */
|
|
9489
|
+
export type BigConsoleNarrativeFeatureStatus = {
|
|
9490
|
+
__typename?: 'BigConsoleNarrativeFeatureStatus';
|
|
9491
|
+
/** Whether the workspace's bigconsole.ai.credits gate currently allows a call. */
|
|
9492
|
+
creditsAvailable: Scalars['Boolean']['output'];
|
|
9493
|
+
/** Server-side narrative flag (off by default). */
|
|
9494
|
+
enabled: Scalars['Boolean']['output'];
|
|
9495
|
+
/** Model provider configured (PROMPT_LLM_ENABLED + OPENAI_API_KEY). */
|
|
9496
|
+
modelConfigured: Scalars['Boolean']['output'];
|
|
9497
|
+
};
|
|
9498
|
+
|
|
9499
|
+
/** What a narrative explains. */
|
|
9500
|
+
export enum BigConsoleNarrativeKind {
|
|
9501
|
+
/** An explanation of a fired alert (triggered by the alert runtime's events). */
|
|
9502
|
+
ANOMALY = 'ANOMALY',
|
|
9503
|
+
/** An explanation across every widget on a dashboard. */
|
|
9504
|
+
DASHBOARD = 'DASHBOARD',
|
|
9505
|
+
/** A scheduled workspace/console digest (FluidGrids-triggered). */
|
|
9506
|
+
DIGEST = 'DIGEST',
|
|
9507
|
+
/** An explanation of a single widget's bound data. */
|
|
9508
|
+
WIDGET = 'WIDGET'
|
|
9509
|
+
}
|
|
9510
|
+
|
|
9511
|
+
/** Outcome of a narrative run. */
|
|
9512
|
+
export enum BigConsoleNarrativeStatus {
|
|
9513
|
+
/** The narrative completed with a summary and cited claims. */
|
|
9514
|
+
COMPLETED = 'COMPLETED',
|
|
9515
|
+
/** The narrative declined (error/stale sink, model unavailable, or no credits). */
|
|
9516
|
+
DECLINED = 'DECLINED',
|
|
9517
|
+
/** The narrative run failed unexpectedly. */
|
|
9518
|
+
ERROR = 'ERROR'
|
|
9519
|
+
}
|
|
9520
|
+
|
|
9521
|
+
/** How the narrative was triggered. */
|
|
9522
|
+
export enum BigConsoleNarrativeTrigger {
|
|
9523
|
+
/** An alert execution fired (the BOFF-3556 alert runtime's matched outcome). */
|
|
9524
|
+
EVENT = 'EVENT',
|
|
9525
|
+
/** A user clicked the explain affordance (explainWidget / explainDashboard). */
|
|
9526
|
+
MANUAL = 'MANUAL',
|
|
9527
|
+
/** A FluidGrids scheduled workflow invoked the console digest. */
|
|
9528
|
+
SCHEDULED = 'SCHEDULED'
|
|
9529
|
+
}
|
|
9530
|
+
|
|
9339
9531
|
/** Input for rating a template */
|
|
9340
9532
|
export type BigConsoleRateDashboardTemplateInput = {
|
|
9341
9533
|
/** Rating value (1-5) */
|
|
@@ -20072,6 +20264,12 @@ export type ConfigureShipmentStatusSourceInput = {
|
|
|
20072
20264
|
reason: Scalars['String']['input'];
|
|
20073
20265
|
};
|
|
20074
20266
|
|
|
20267
|
+
export type ConfigureSupervisorInput = {
|
|
20268
|
+
cron?: InputMaybe<Scalars['String']['input']>;
|
|
20269
|
+
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
20270
|
+
timezone?: InputMaybe<Scalars['String']['input']>;
|
|
20271
|
+
};
|
|
20272
|
+
|
|
20075
20273
|
export enum ConflictResolution {
|
|
20076
20274
|
LOCAL_WINS = 'LOCAL_WINS',
|
|
20077
20275
|
MANUAL = 'MANUAL',
|
|
@@ -58988,6 +59186,21 @@ export type InvalidateDataSinkCacheResult = {
|
|
|
58988
59186
|
success: Scalars['Boolean']['output'];
|
|
58989
59187
|
};
|
|
58990
59188
|
|
|
59189
|
+
export type InventoryCoverPlanInput = {
|
|
59190
|
+
/** Scenario demand change applied to every forecast, -100 to 500 percent. Default 0. */
|
|
59191
|
+
demandChangePct?: InputMaybe<Scalars['Float']['input']>;
|
|
59192
|
+
/** Weeks between ordering and receiving stock, 0-26. Default 2. */
|
|
59193
|
+
leadTimeWeeks?: InputMaybe<Scalars['Float']['input']>;
|
|
59194
|
+
/** Maximum rows returned, 1-1000. Default 200. */
|
|
59195
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
59196
|
+
/** Only return rows in these statuses. The summary always counts every row. */
|
|
59197
|
+
statuses?: InputMaybe<Array<MtwInventoryCoverStatus>>;
|
|
59198
|
+
/** Weeks of demand a replenishment should cover once it lands, 1-52. Default 6. */
|
|
59199
|
+
targetCoverWeeks?: InputMaybe<Scalars['Float']['input']>;
|
|
59200
|
+
/** Only plan this warehouse. Omit for every warehouse. */
|
|
59201
|
+
warehouseId?: InputMaybe<Scalars['ID']['input']>;
|
|
59202
|
+
};
|
|
59203
|
+
|
|
58991
59204
|
export type InventoryFilterInput = {
|
|
58992
59205
|
cargoItemId?: InputMaybe<Scalars['ID']['input']>;
|
|
58993
59206
|
inventoryItemId?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -67791,6 +68004,108 @@ export enum MtwIntegrationProvider {
|
|
|
67791
68004
|
SHIPROCKET = 'SHIPROCKET'
|
|
67792
68005
|
}
|
|
67793
68006
|
|
|
68007
|
+
export type MtwInventoryCoverPlan = {
|
|
68008
|
+
__typename?: 'MtwInventoryCoverPlan';
|
|
68009
|
+
demandChangePct: Scalars['Float']['output'];
|
|
68010
|
+
generatedAt: Scalars['DateTime']['output'];
|
|
68011
|
+
/** End of the history window: the Monday the current week began. */
|
|
68012
|
+
historyEnd: Scalars['DateTime']['output'];
|
|
68013
|
+
/** First day (Monday) of the closed-week history window. */
|
|
68014
|
+
historyStart: Scalars['DateTime']['output'];
|
|
68015
|
+
historyWeeks: Scalars['Int']['output'];
|
|
68016
|
+
leadTimeWeeks: Scalars['Float']['output'];
|
|
68017
|
+
/** Rows matching the status filter, before the limit. */
|
|
68018
|
+
matchingItems: Scalars['Int']['output'];
|
|
68019
|
+
rows: Array<MtwInventoryCoverRow>;
|
|
68020
|
+
summary: MtwInventoryCoverSummary;
|
|
68021
|
+
targetCoverWeeks: Scalars['Float']['output'];
|
|
68022
|
+
/** More stock lines or delivery jobs existed than were read; the plan covers the newest. */
|
|
68023
|
+
truncated: Scalars['Boolean']['output'];
|
|
68024
|
+
unattributedJobs: Scalars['Int']['output'];
|
|
68025
|
+
/** Outbound units of stocked SKUs whose pickup warehouse could not be resolved (workspace-wide). */
|
|
68026
|
+
unattributedUnits: Scalars['Float']['output'];
|
|
68027
|
+
warehouseId?: Maybe<Scalars['ID']['output']>;
|
|
68028
|
+
};
|
|
68029
|
+
|
|
68030
|
+
/** One warehouse and SKU: stock on hand against forecast outbound demand. */
|
|
68031
|
+
export type MtwInventoryCoverRow = {
|
|
68032
|
+
__typename?: 'MtwInventoryCoverRow';
|
|
68033
|
+
allocated: Scalars['Int']['output'];
|
|
68034
|
+
available: Scalars['Int']['output'];
|
|
68035
|
+
/** Forecast weekly units before the scenario demand change. */
|
|
68036
|
+
baselineWeeklyDemand?: Maybe<Scalars['Float']['output']>;
|
|
68037
|
+
cargoItemId: Scalars['ID']['output'];
|
|
68038
|
+
/** Units shipped so far this (open) week. Not part of the history. */
|
|
68039
|
+
currentWeekUnits: Scalars['Float']['output'];
|
|
68040
|
+
damaged: Scalars['Int']['output'];
|
|
68041
|
+
demandStatus: MtwInventoryDemandStatus;
|
|
68042
|
+
/** Forecast weekly units after the scenario demand change. */
|
|
68043
|
+
forecastWeeklyDemand?: Maybe<Scalars['Float']['output']>;
|
|
68044
|
+
/** The stock lines (locations) aggregated into this position. */
|
|
68045
|
+
inventoryItemIds: Array<Scalars['ID']['output']>;
|
|
68046
|
+
name: Scalars['String']['output'];
|
|
68047
|
+
onHand: Scalars['Int']['output'];
|
|
68048
|
+
/** Monday of the ISO week stock is projected to run out, within two years. */
|
|
68049
|
+
projectedStockOutWeek?: Maybe<Scalars['DateTime']['output']>;
|
|
68050
|
+
reorderPoint?: Maybe<Scalars['Int']['output']>;
|
|
68051
|
+
safetyStock?: Maybe<Scalars['Int']['output']>;
|
|
68052
|
+
sku: Scalars['String']['output'];
|
|
68053
|
+
status: MtwInventoryCoverStatus;
|
|
68054
|
+
/** Stock runs out before a replenishment ordered now would arrive. */
|
|
68055
|
+
stockOutBeforeLeadTime: Scalars['Boolean']['output'];
|
|
68056
|
+
/** Units to order now so the target cover (plus safety stock) is on hand when the order lands. */
|
|
68057
|
+
suggestedReorderQuantity?: Maybe<Scalars['Int']['output']>;
|
|
68058
|
+
/** On hand minus damaged: the stock that can still ship. */
|
|
68059
|
+
usableStock: Scalars['Int']['output'];
|
|
68060
|
+
warehouseCode: Scalars['String']['output'];
|
|
68061
|
+
warehouseId: Scalars['ID']['output'];
|
|
68062
|
+
warehouseName: Scalars['String']['output'];
|
|
68063
|
+
/** Units shipped per closed ISO week of the history window, oldest first. */
|
|
68064
|
+
weeklyUnits: Array<Scalars['Float']['output']>;
|
|
68065
|
+
/** Usable stock divided by forecast weekly demand. */
|
|
68066
|
+
weeksOfCover?: Maybe<Scalars['Float']['output']>;
|
|
68067
|
+
/** Closed weeks the demand rate rests on. */
|
|
68068
|
+
weeksOfHistory: Scalars['Int']['output'];
|
|
68069
|
+
};
|
|
68070
|
+
|
|
68071
|
+
/**
|
|
68072
|
+
* Where a stock position stands against forecast outbound demand (BOFF-10926).
|
|
68073
|
+
* Statuses are listed most urgent first.
|
|
68074
|
+
*/
|
|
68075
|
+
export enum MtwInventoryCoverStatus {
|
|
68076
|
+
/** Stock runs out before a replenishment ordered now would arrive (cover below the lead time). */
|
|
68077
|
+
AT_RISK = 'AT_RISK',
|
|
68078
|
+
/** Stock covers the lead time and the target cover. */
|
|
68079
|
+
HEALTHY = 'HEALTHY',
|
|
68080
|
+
/** Fewer than 4 closed weeks since the first outbound: no demand forecast yet. */
|
|
68081
|
+
NOT_ENOUGH_HISTORY = 'NOT_ENOUGH_HISTORY',
|
|
68082
|
+
/** No outbound in the history window. */
|
|
68083
|
+
NO_DEMAND = 'NO_DEMAND',
|
|
68084
|
+
/** Demand is forecast and there is no usable stock left. */
|
|
68085
|
+
OUT_OF_STOCK = 'OUT_OF_STOCK',
|
|
68086
|
+
/** Order now to hold the target cover, or the stock is at or below its reorder point. */
|
|
68087
|
+
REORDER = 'REORDER'
|
|
68088
|
+
}
|
|
68089
|
+
|
|
68090
|
+
export type MtwInventoryCoverSummary = {
|
|
68091
|
+
__typename?: 'MtwInventoryCoverSummary';
|
|
68092
|
+
atRisk: Scalars['Int']['output'];
|
|
68093
|
+
healthy: Scalars['Int']['output'];
|
|
68094
|
+
noDemand: Scalars['Int']['output'];
|
|
68095
|
+
notEnoughHistory: Scalars['Int']['output'];
|
|
68096
|
+
outOfStock: Scalars['Int']['output'];
|
|
68097
|
+
reorder: Scalars['Int']['output'];
|
|
68098
|
+
totalItems: Scalars['Int']['output'];
|
|
68099
|
+
totalSuggestedReorderQuantity: Scalars['Int']['output'];
|
|
68100
|
+
};
|
|
68101
|
+
|
|
68102
|
+
/** Whether a stock position has a demand forecast. */
|
|
68103
|
+
export enum MtwInventoryDemandStatus {
|
|
68104
|
+
FORECAST = 'FORECAST',
|
|
68105
|
+
NOT_ENOUGH_HISTORY = 'NOT_ENOUGH_HISTORY',
|
|
68106
|
+
NO_DEMAND = 'NO_DEMAND'
|
|
68107
|
+
}
|
|
68108
|
+
|
|
67794
68109
|
export type MtwInventoryItem = {
|
|
67795
68110
|
__typename?: 'MtwInventoryItem';
|
|
67796
68111
|
allocated: Scalars['Int']['output'];
|
|
@@ -69384,6 +69699,132 @@ export type MtwShipmentTrackingEventsArgs = {
|
|
|
69384
69699
|
pagination?: InputMaybe<PaginationInput>;
|
|
69385
69700
|
};
|
|
69386
69701
|
|
|
69702
|
+
export type MtwShipmentDecision = {
|
|
69703
|
+
__typename?: 'MtwShipmentDecision';
|
|
69704
|
+
/** Provider-qualified model that wrote the rationale, when one did. */
|
|
69705
|
+
aiModel?: Maybe<Scalars['String']['output']>;
|
|
69706
|
+
aiStatus: MtwDecisionRationaleStatus;
|
|
69707
|
+
aiSummary?: Maybe<Scalars['String']['output']>;
|
|
69708
|
+
breached?: Maybe<Scalars['Boolean']['output']>;
|
|
69709
|
+
chosenOptionId?: Maybe<Scalars['ID']['output']>;
|
|
69710
|
+
createdAt: Scalars['DateTime']['output'];
|
|
69711
|
+
createdBy: Scalars['String']['output'];
|
|
69712
|
+
/** The shipment's carrier when the proposal was made. */
|
|
69713
|
+
currentCarrierId?: Maybe<Scalars['String']['output']>;
|
|
69714
|
+
decidedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
69715
|
+
decidedBy?: Maybe<Scalars['String']['output']>;
|
|
69716
|
+
decisionReason?: Maybe<Scalars['String']['output']>;
|
|
69717
|
+
expiresAt: Scalars['DateTime']['output'];
|
|
69718
|
+
/** Carrier recommendation: delivered shipments the ranking looked at. */
|
|
69719
|
+
historyCount?: Maybe<Scalars['Int']['output']>;
|
|
69720
|
+
id: Scalars['ID']['output'];
|
|
69721
|
+
kind: MtwShipmentDecisionKind;
|
|
69722
|
+
/** Carrier recommendation: whether the shipment had an origin and destination to match a lane on. */
|
|
69723
|
+
laneKnown?: Maybe<Scalars['Boolean']['output']>;
|
|
69724
|
+
/** The deterministic ranker that produced the options. */
|
|
69725
|
+
method: Scalars['String']['output'];
|
|
69726
|
+
/** Ranked options, best first. Empty when there is nothing to recommend (no carrier history yet). */
|
|
69727
|
+
options: Array<MtwShipmentDecisionOption>;
|
|
69728
|
+
outcome?: Maybe<MtwShipmentDecisionOutcome>;
|
|
69729
|
+
predictedSlipMinutes?: Maybe<Scalars['Int']['output']>;
|
|
69730
|
+
/** The shipment's promised delivery when the proposal was made. */
|
|
69731
|
+
promisedDelivery?: Maybe<Scalars['DateTime']['output']>;
|
|
69732
|
+
riskLevel?: Maybe<Scalars['String']['output']>;
|
|
69733
|
+
/** Exception remediation: the forecast the options were ranked from. */
|
|
69734
|
+
riskScore?: Maybe<Scalars['Int']['output']>;
|
|
69735
|
+
shipmentId: Scalars['ID']['output'];
|
|
69736
|
+
shipmentNumber?: Maybe<Scalars['String']['output']>;
|
|
69737
|
+
signals: Array<Scalars['String']['output']>;
|
|
69738
|
+
status: MtwShipmentDecisionStatus;
|
|
69739
|
+
};
|
|
69740
|
+
|
|
69741
|
+
export enum MtwShipmentDecisionAction {
|
|
69742
|
+
/** Keep the shipment as it is and accept the delay. */
|
|
69743
|
+
ACCEPT_SLIP = 'ACCEPT_SLIP',
|
|
69744
|
+
/** Move the shipment's order to another vehicle (follow-up on the order). */
|
|
69745
|
+
REASSIGN_VEHICLE = 'REASSIGN_VEHICLE',
|
|
69746
|
+
/** Move the promised delivery to the predicted time. */
|
|
69747
|
+
REPROMISE_DELIVERY = 'REPROMISE_DELIVERY',
|
|
69748
|
+
/** Get a fresh tracking update from the driver or carrier (follow-up). */
|
|
69749
|
+
REQUEST_TRACKING_UPDATE = 'REQUEST_TRACKING_UPDATE',
|
|
69750
|
+
/** Hand the not-yet-collected shipment to a carrier with a better record on its lane. */
|
|
69751
|
+
SWITCH_CARRIER = 'SWITCH_CARRIER',
|
|
69752
|
+
/** Use this carrier for the shipment. */
|
|
69753
|
+
USE_CARRIER = 'USE_CARRIER'
|
|
69754
|
+
}
|
|
69755
|
+
|
|
69756
|
+
export enum MtwShipmentDecisionExecution {
|
|
69757
|
+
/** Accepting changes the shipment. */
|
|
69758
|
+
APPLY = 'APPLY',
|
|
69759
|
+
/** Accepting records the decision; followUpMutation names the manual step that carries it out. */
|
|
69760
|
+
FOLLOW_UP = 'FOLLOW_UP',
|
|
69761
|
+
/** Accepting only records the decision. */
|
|
69762
|
+
RECORD = 'RECORD'
|
|
69763
|
+
}
|
|
69764
|
+
|
|
69765
|
+
export enum MtwShipmentDecisionKind {
|
|
69766
|
+
CARRIER_RECOMMENDATION = 'CARRIER_RECOMMENDATION',
|
|
69767
|
+
EXCEPTION_REMEDIATION = 'EXCEPTION_REMEDIATION'
|
|
69768
|
+
}
|
|
69769
|
+
|
|
69770
|
+
/** One ranked option of a shipment decision. */
|
|
69771
|
+
export type MtwShipmentDecisionOption = {
|
|
69772
|
+
__typename?: 'MtwShipmentDecisionOption';
|
|
69773
|
+
action: MtwShipmentDecisionAction;
|
|
69774
|
+
/** Model-written rationale, when AI produced one. */
|
|
69775
|
+
aiRationale?: Maybe<Scalars['String']['output']>;
|
|
69776
|
+
/** The carrier accepting assigns (USE_CARRIER, SWITCH_CARRIER). */
|
|
69777
|
+
carrierId?: Maybe<Scalars['String']['output']>;
|
|
69778
|
+
/** Ranker confidence from 0 to 1, from how much evidence the option stands on. Not a probability of success. */
|
|
69779
|
+
confidence: Scalars['Float']['output'];
|
|
69780
|
+
currency?: Maybe<Scalars['String']['output']>;
|
|
69781
|
+
/** Delivered shipments of this carrier in the history window (carrier options). */
|
|
69782
|
+
deliveredCount?: Maybe<Scalars['Int']['output']>;
|
|
69783
|
+
execution: MtwShipmentDecisionExecution;
|
|
69784
|
+
/** Arguments for followUpMutation, e.g. the delivery job or shipment id. */
|
|
69785
|
+
followUpArgs?: Maybe<Scalars['JSON']['output']>;
|
|
69786
|
+
/** The existing mutation that carries out a FOLLOW_UP option. */
|
|
69787
|
+
followUpMutation?: Maybe<Scalars['String']['output']>;
|
|
69788
|
+
id: Scalars['ID']['output'];
|
|
69789
|
+
/** Delivered shipments of this carrier on this shipment's lane. */
|
|
69790
|
+
laneDeliveredCount?: Maybe<Scalars['Int']['output']>;
|
|
69791
|
+
laneOnTimeCount?: Maybe<Scalars['Int']['output']>;
|
|
69792
|
+
/** Median recorded freight cost of this carrier on the lane, in currency. */
|
|
69793
|
+
medianLaneCost?: Maybe<Scalars['Float']['output']>;
|
|
69794
|
+
/** The promised delivery accepting sets (REPROMISE_DELIVERY). */
|
|
69795
|
+
newEstimatedDelivery?: Maybe<Scalars['DateTime']['output']>;
|
|
69796
|
+
onTimeCount?: Maybe<Scalars['Int']['output']>;
|
|
69797
|
+
rank: Scalars['Int']['output'];
|
|
69798
|
+
/** The ranker's own factual rationale. */
|
|
69799
|
+
rationale: Scalars['String']['output'];
|
|
69800
|
+
/** Reason codes, e.g. LANE_HISTORY, ON_TIME_STRONG, LOWEST_LANE_COST, PREDICTED_SLIP, TRACKING_STALE. */
|
|
69801
|
+
reasons: Array<Scalars['String']['output']>;
|
|
69802
|
+
/** Carrier ranking score from 0 to 1 (carrier options only). */
|
|
69803
|
+
score?: Maybe<Scalars['Float']['output']>;
|
|
69804
|
+
};
|
|
69805
|
+
|
|
69806
|
+
export enum MtwShipmentDecisionOutcome {
|
|
69807
|
+
/** The shipment was changed. */
|
|
69808
|
+
APPLIED = 'APPLIED',
|
|
69809
|
+
/** The decision was recorded; the follow-up step is still to be done. */
|
|
69810
|
+
FOLLOW_UP = 'FOLLOW_UP',
|
|
69811
|
+
/** The decision was recorded; nothing on the shipment changed. */
|
|
69812
|
+
RECORDED = 'RECORDED'
|
|
69813
|
+
}
|
|
69814
|
+
|
|
69815
|
+
export enum MtwShipmentDecisionStatus {
|
|
69816
|
+
/** An option was accepted; outcome says what that did. */
|
|
69817
|
+
ACCEPTED = 'ACCEPTED',
|
|
69818
|
+
/** Superseded by a newer proposal or past its expiry without a decision. */
|
|
69819
|
+
EXPIRED = 'EXPIRED',
|
|
69820
|
+
/** Waiting for a decision. */
|
|
69821
|
+
PROPOSED = 'PROPOSED',
|
|
69822
|
+
/** Rejected; nothing on the shipment changed. */
|
|
69823
|
+
REJECTED = 'REJECTED',
|
|
69824
|
+
/** An option was accepted but the shipment had changed since the proposal; decisionReason says how. Nothing was changed. */
|
|
69825
|
+
STALE = 'STALE'
|
|
69826
|
+
}
|
|
69827
|
+
|
|
69387
69828
|
export type MtwShipmentLeg = {
|
|
69388
69829
|
__typename?: 'MtwShipmentLeg';
|
|
69389
69830
|
actualArrival?: Maybe<Scalars['DateTime']['output']>;
|
|
@@ -70682,7 +71123,11 @@ export type Mutation = {
|
|
|
70682
71123
|
/** PUBLISHED -> CLOSED: the share link stops accepting registrations. */
|
|
70683
71124
|
athCloseRegistrationForm: AthRegistrationForm;
|
|
70684
71125
|
athCompleteSession: AthSession;
|
|
71126
|
+
/** Family-facing: settle your checkout after the processor sends you back (the processor is the source of truth). */
|
|
71127
|
+
athConfirmRegistrationCheckout: AthMyRegistration;
|
|
70685
71128
|
athConfirmSession: AthSession;
|
|
71129
|
+
/** Create (first call) or resume the club's processor onboarding; returns the hosted onboarding link. */
|
|
71130
|
+
athConnectPaymentAccount: AthPaymentAccountLink;
|
|
70686
71131
|
athCreateProgram: AthProgram;
|
|
70687
71132
|
athCreateRegistrationForm: AthRegistrationForm;
|
|
70688
71133
|
athCreateTeam: AthTeam;
|
|
@@ -70702,6 +71147,8 @@ export type Mutation = {
|
|
|
70702
71147
|
athRecordRegistration: AthRegistrationSubmission;
|
|
70703
71148
|
/** Record a fee payment the club received against a submission. */
|
|
70704
71149
|
athRecordRegistrationPayment: AthRegistrationPayment;
|
|
71150
|
+
/** Re-read the connected account's onboarding state from the processor. */
|
|
71151
|
+
athRefreshPaymentAccount: AthPaymentAccount;
|
|
70705
71152
|
/** Record money returned to the payer (full or partial). */
|
|
70706
71153
|
athRefundRegistrationPayment: AthRegistrationPayment;
|
|
70707
71154
|
/** Nudge roster members who have not yet responded (NO_RESPONSE or no row at all) to a fixture or session. Exactly one of fixtureId / sessionId must be supplied. This publishes `atheletebridge.availability.reminder_requested` on the domain event stream; the service's reminder consumer then sends a push notification to each nudged member's registered AthleteBridge mobile devices (members without a registered device are counted but receive no push). Returns the number of members nudged. */
|
|
@@ -70719,6 +71166,8 @@ export type Mutation = {
|
|
|
70719
71166
|
athSetWorkspaceAutoPilot: AthWorkspaceAiConfig;
|
|
70720
71167
|
/** Manually start a SCHEDULED fixture: transition it to LIVE. The automatic kickoff sweep applies the same transition when the fixture's kickoff time arrives; this mutation is the on-demand path (e.g. an early kickoff). Only SCHEDULED fixtures can be started — POSTPONED and CANCELLED fixtures never go LIVE. */
|
|
70721
71168
|
athStartFixture: AthFixture;
|
|
71169
|
+
/** Family-facing: open a processor checkout for the outstanding balance of your own registration. */
|
|
71170
|
+
athStartRegistrationCheckout: AthRegistrationCheckoutSession;
|
|
70722
71171
|
/** Family-facing: submit a registration through a form's share link. */
|
|
70723
71172
|
athSubmitRegistration: AthMyRegistration;
|
|
70724
71173
|
/** Advance a program through its publish lifecycle (validated transitions: DRAFT -> PUBLISHED -> ARCHIVED). */
|
|
@@ -71176,6 +71625,8 @@ export type Mutation = {
|
|
|
71176
71625
|
/** Cancel a scheduled comment */
|
|
71177
71626
|
cancelScheduledComment: Scalars['Boolean']['output'];
|
|
71178
71627
|
cancelSecurityScan: SecurityScanRun;
|
|
71628
|
+
/** Cancel a RUNNING supervisor run. The runner observes the cancellation between detectors and persists no findings, so a cancelled run leaves no partial predictions behind. */
|
|
71629
|
+
cancelSupervisorRun: SupervisorRun;
|
|
71179
71630
|
/** Withdraw one of the caller's own ACCEPTED focus blocks and delete its calendar hold. */
|
|
71180
71631
|
cancelTimeCampusFocusBlock: TimeCampusFocusBlock;
|
|
71181
71632
|
/**
|
|
@@ -71458,6 +71909,8 @@ export type Mutation = {
|
|
|
71458
71909
|
/** Attach managed assistant workflows to an existing scoped agent without editing metadata manually. */
|
|
71459
71910
|
configureAssistantRuntime: AssistantRuntimeConfiguration;
|
|
71460
71911
|
configureShipmentStatusSource: MtwShipment;
|
|
71912
|
+
/** Create or update the calling workspace's supervisor configuration. Enabling provisions (idempotently) a FluidGrids workflow definition plus a cron scheduled job owned by wspace-workflow-svc; disabling deletes the scheduled job. No cron or scheduler lives in this service. */
|
|
71913
|
+
configureSupervisor: SupervisorConfig;
|
|
71461
71914
|
confirmBooking: Booking;
|
|
71462
71915
|
/** Host/operator manual confirmation for a PENDING, paid booking on a listing with instantBook: false. */
|
|
71463
71916
|
confirmGgnomadBooking: GgnomadBooking;
|
|
@@ -72879,6 +73332,8 @@ export type Mutation = {
|
|
|
72879
73332
|
* signature stay dismissed.
|
|
72880
73333
|
*/
|
|
72881
73334
|
dismissRunFailureCluster: RunFailureCluster;
|
|
73335
|
+
/** HMAC-gated tick from the workspace's FluidGrids scheduled job. See SupervisorTickInput for the trust boundary. */
|
|
73336
|
+
dispatchBotmanorSupervisorTick: SupervisorRunResult;
|
|
72882
73337
|
/** FluidGrids callback: sync every connected accounting integration in the workspace whose autoSyncDaily flag is on. Returns the number of integrations synced. Called anonymously by the workspace's daily accounting-sync cron over the internal gateway, so it is authorized by an HMAC dispatch secret (HMAC-SHA256 of workspaceId keyed by INTERNAL_SERVICE_TOKEN) rather than by a user token — the same shape as dispatchHealthyBowlAuctionSweep. */
|
|
72883
73338
|
dispatchHealthyBowlAccountingSync: Scalars['Int']['output'];
|
|
72884
73339
|
/** FluidGrids callback: close every LIVE auction in the workspace whose endTime has passed, creating each winner Order. Returns the number of auctions closed. Called anonymously by the workspace's auction-sweep cron over the internal gateway, so it is authorized by an HMAC dispatch secret (HMAC-SHA256 of workspaceId keyed by INTERNAL_SERVICE_TOKEN) rather than by a user token — the same shape as dispatchHealthyBowlWateringRun. */
|
|
@@ -74300,6 +74755,13 @@ export type Mutation = {
|
|
|
74300
74755
|
moveWorkflowFolder: WorkflowFolder;
|
|
74301
74756
|
/** Move a resource to a different workspace */
|
|
74302
74757
|
moveWorkspaceResource: ResourceOperationResult;
|
|
74758
|
+
/**
|
|
74759
|
+
* Accept one option of an open decision. An APPLY option changes the shipment
|
|
74760
|
+
* (carrier or promised delivery); FOLLOW_UP and RECORD options only record the
|
|
74761
|
+
* decision. When the shipment changed since the proposal the decision is marked
|
|
74762
|
+
* STALE and nothing is changed.
|
|
74763
|
+
*/
|
|
74764
|
+
mtwAcceptShipmentDecision: MtwShipmentDecision;
|
|
74303
74765
|
/**
|
|
74304
74766
|
* Accept the listed assignments of an open plan and reject the rest. One PLANNED
|
|
74305
74767
|
* route is created per accepted assignment, through the normal route checks.
|
|
@@ -74326,8 +74788,22 @@ export type Mutation = {
|
|
|
74326
74788
|
* expires any older open one.
|
|
74327
74789
|
*/
|
|
74328
74790
|
mtwPlanDispatch: MtwDispatchPlan;
|
|
74791
|
+
/**
|
|
74792
|
+
* Rank the workspace's carriers for a PLANNED shipment's lane from its own
|
|
74793
|
+
* delivery history. Proposal only: the shipment's carrier is unchanged until an
|
|
74794
|
+
* option is accepted. A newer proposal expires the shipment's open one.
|
|
74795
|
+
*/
|
|
74796
|
+
mtwRecommendCarrier: MtwShipmentDecision;
|
|
74329
74797
|
/** Reject every assignment of an open plan. Writes no route or delivery job. */
|
|
74330
74798
|
mtwRejectDispatchPlan: MtwDispatchPlan;
|
|
74799
|
+
/** Reject every option of an open decision. Nothing on the shipment changes. */
|
|
74800
|
+
mtwRejectShipmentDecision: MtwShipmentDecision;
|
|
74801
|
+
/**
|
|
74802
|
+
* Rank remediations for a shipment its risk forecast says is late or at risk.
|
|
74803
|
+
* Proposal only: nothing on the shipment changes until an option is accepted.
|
|
74804
|
+
* Refused when the shipment is neither at risk nor past its promise.
|
|
74805
|
+
*/
|
|
74806
|
+
mtwResolveException: MtwShipmentDecision;
|
|
74331
74807
|
/**
|
|
74332
74808
|
* Re-forecast every in-flight shipment of the workspace and notify for any that
|
|
74333
74809
|
* started slipping. Fired by wspace-scheduler-svc as this service's own service
|
|
@@ -75859,6 +76335,8 @@ export type Mutation = {
|
|
|
75859
76335
|
/** Run a script inside the sandbox and capture its output. The sandbox must be running. The run is recorded (even on failure) so it can be reviewed before any real-target execution. */
|
|
75860
76336
|
runSandboxScript: SandboxScriptRun;
|
|
75861
76337
|
runSecurityScan: SecurityScanRun;
|
|
76338
|
+
/** Run the fleet review now for the calling workspace (trigger: manual). */
|
|
76339
|
+
runSupervisorNow: SupervisorRunResult;
|
|
75862
76340
|
/** Run the workspace's time-intelligence sweep. Called by wspace-scheduler-svc as this service's own service actor; a super admin may run it on demand. Any other caller is refused. */
|
|
75863
76341
|
runTimeCampusTimeIntelligenceSweep: TimeCampusTimeIntelligenceSweep;
|
|
75864
76342
|
/** Self-scoped: check one of the caller's triggers now (ignores the check hour, still fires at most once a day). */
|
|
@@ -76647,12 +77125,17 @@ export type Mutation = {
|
|
|
76647
77125
|
testWebhook: Scalars['Boolean']['output'];
|
|
76648
77126
|
/** Test a webhook mapping by sending a test event */
|
|
76649
77127
|
testWebhookMapping: BigConsoleWidgetWebhookTestResult;
|
|
77128
|
+
theAddSupplierContact: TheSupplierContact;
|
|
76650
77129
|
/** Approve (lock) a DRAFT allocation so it counts toward net positions. */
|
|
76651
77130
|
theApproveProductionAllocation: TheProductionAllocation;
|
|
77131
|
+
/** Assign (or clear) the contracted vendor performing a maintenance work order. */
|
|
77132
|
+
theAssignWorkOrderVendor: TheWorkOrder;
|
|
76652
77133
|
/** Attribute (or, with null, detach) a finished work order's downtime to a production record of the same asset, after the fact. */
|
|
76653
77134
|
theAttributeWorkOrderDowntime: TheWorkOrder;
|
|
76654
77135
|
/** Apply one set of PRO_RATA factors to every unallocated record of a measurement asset in a window. */
|
|
76655
77136
|
theBulkAllocateProduction: TheBulkAllocationResult;
|
|
77137
|
+
/** Cancel a holding registered in error. Refused once anything has been retired. */
|
|
77138
|
+
theCancelCarbonCredit: TheCarbonCredit;
|
|
76656
77139
|
/** Close a reporting period so its allocations cannot be created, approved or reversed until it is reopened. */
|
|
76657
77140
|
theCloseAllocationPeriod: TheAllocationPeriodClose;
|
|
76658
77141
|
/** Record a prior-period correction (signed volume deltas) against an APPROVED allocation (creates a DRAFT). */
|
|
@@ -76664,6 +77147,7 @@ export type Mutation = {
|
|
|
76664
77147
|
theCreateContractEntitlement: TheContractEntitlement;
|
|
76665
77148
|
theCreateCorrectiveAction: TheCorrectiveAction;
|
|
76666
77149
|
theCreateEquipment: TheEquipment;
|
|
77150
|
+
theCreateForecastScenario: TheForecastScenario;
|
|
76667
77151
|
/** Record the ownership of an asset for an effective period. */
|
|
76668
77152
|
theCreateInterestDeck: TheInterestDeck;
|
|
76669
77153
|
theCreateInventoryLot: TheInventoryLot;
|
|
@@ -76671,7 +77155,10 @@ export type Mutation = {
|
|
|
76671
77155
|
/** Allocate a measured production record across its contributing assets (creates a DRAFT). */
|
|
76672
77156
|
theCreateProductionAllocation: TheProductionAllocation;
|
|
76673
77157
|
theCreateReserveEstimate: TheReserveEstimate;
|
|
77158
|
+
theCreateServiceContract: TheServiceContract;
|
|
77159
|
+
theCreateSupplier: TheSupplier;
|
|
76674
77160
|
theCreateWorkOrder: TheWorkOrder;
|
|
77161
|
+
theDeleteForecastScenario: Scalars['Boolean']['output'];
|
|
76675
77162
|
/** Delete an interest deck that no live allocation uses. */
|
|
76676
77163
|
theDeleteInterestDeck: TheInterestDeck;
|
|
76677
77164
|
/** Mark a shipment delivered and roll its volume into the contract's delivered total. */
|
|
@@ -76682,24 +77169,38 @@ export type Mutation = {
|
|
|
76682
77169
|
theGenerateEsgDisclosure: TheEsgDisclosure;
|
|
76683
77170
|
/** Raise a PLANNED work order for every active schedule due within the horizon that does not already have an unfinished work order. Idempotent. */
|
|
76684
77171
|
theGenerateScheduledWorkOrders: TheGenerateWorkOrdersResult;
|
|
77172
|
+
/** Link (or, with a null supplierId, unlink) an offtake contract's counterparty to the supplier register. */
|
|
77173
|
+
theLinkOfftakeContractSupplier: TheOfftakeContract;
|
|
77174
|
+
/** Link (or unlink) a shipment's carrier to the supplier register. */
|
|
77175
|
+
theLinkShipmentCarrier: TheShipment;
|
|
77176
|
+
/** Record how much of an inventory lot was loaded onto a shipment. */
|
|
77177
|
+
theLinkShipmentSource: TheShipmentSource;
|
|
76685
77178
|
theRecordEmission: TheEmissionRecord;
|
|
76686
77179
|
/** 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. */
|
|
76687
77180
|
theRecordLegalAcceptance: TheLegalAcceptance;
|
|
76688
77181
|
theRecordProduction: TheProductionRecord;
|
|
77182
|
+
theRecordSupplierScorecard: TheSupplierScorecard;
|
|
77183
|
+
/** Register a carbon-credit holding (registry project, vintage and quantity). */
|
|
77184
|
+
theRegisterCarbonCredit: TheCarbonCredit;
|
|
76689
77185
|
/** Remove an entitlement, returning its volume to the allocation entry. */
|
|
76690
77186
|
theRemoveContractEntitlement: TheContractEntitlement;
|
|
77187
|
+
theRemoveSupplierContact: Scalars['Boolean']['output'];
|
|
76691
77188
|
/** Reopen a closed period (a reason is required). The close row is kept for the audit trail. */
|
|
76692
77189
|
theReopenAllocationPeriod: TheAllocationPeriodClose;
|
|
76693
77190
|
theReportSafetyIncident: TheSafetyIncident;
|
|
76694
77191
|
/** Remove this workspace's override for a unit pair, restoring the built-in default. Returns false if there was none. */
|
|
76695
77192
|
theResetUnitConversion: Scalars['Boolean']['output'];
|
|
76696
77193
|
theRetireAsset: Scalars['Boolean']['output'];
|
|
77194
|
+
/** Permanently retire credits from a holding against a reporting period. */
|
|
77195
|
+
theRetireCarbonCredits: TheCarbonRetirement;
|
|
76697
77196
|
/** Void a DRAFT or APPROVED allocation, freeing its production record for re-allocation. */
|
|
76698
77197
|
theReverseProductionAllocation: TheProductionAllocation;
|
|
76699
77198
|
theScheduleShipment: TheShipment;
|
|
76700
77199
|
/** Attach, replace or remove (photoFileId: null) the asset's photo. The id is a wspace-files-svc File id from the platform upload flow (BOFF-10630). */
|
|
76701
77200
|
theSetAssetPhoto: TheAsset;
|
|
76702
77201
|
theSetInventoryLotStatus: TheInventoryLot;
|
|
77202
|
+
/** Change a supplier's qualification status. ON_HOLD and BLOCKED need a reason. Blocking or deactivating a supplier suspends its ACTIVE service contracts. */
|
|
77203
|
+
theSetSupplierStatus: TheSupplier;
|
|
76703
77204
|
/** Set this workspace's conversion factor for a commodity and unit pair. */
|
|
76704
77205
|
theSetUnitConversion: TheUnitConversion;
|
|
76705
77206
|
/** Advance an asset through its lifecycle (validated transitions). */
|
|
@@ -76712,17 +77213,25 @@ export type Mutation = {
|
|
|
76712
77213
|
theTransitionCorrectiveAction: TheCorrectiveAction;
|
|
76713
77214
|
/** Advance an incident through its investigation lifecycle (validated transitions). */
|
|
76714
77215
|
theTransitionSafetyIncident: TheSafetyIncident;
|
|
77216
|
+
/** Advance a service contract (validated transitions). Activation requires an APPROVED supplier. */
|
|
77217
|
+
theTransitionServiceContract: TheServiceContract;
|
|
76715
77218
|
/** 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). */
|
|
76716
77219
|
theTransitionShipment: TheShipment;
|
|
76717
77220
|
/** Advance a work order through its lifecycle (validated transitions). Completing a work order raised from a schedule rolls the schedule's next due date forward. */
|
|
76718
77221
|
theTransitionWorkOrder: TheWorkOrder;
|
|
77222
|
+
/** Remove a source lot from a shipment whose sources can still change. */
|
|
77223
|
+
theUnlinkShipmentSource: TheShipmentSource;
|
|
76719
77224
|
theUpdateAsset: TheAsset;
|
|
76720
77225
|
theUpdateContract: TheOfftakeContract;
|
|
76721
77226
|
theUpdateEquipment: TheEquipment;
|
|
77227
|
+
theUpdateForecastScenario: TheForecastScenario;
|
|
76722
77228
|
theUpdateIncidentInvestigation: TheSafetyIncident;
|
|
76723
77229
|
theUpdateMaintenanceSchedule: TheMaintenanceSchedule;
|
|
77230
|
+
theUpdateServiceContract: TheServiceContract;
|
|
76724
77231
|
/** 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. */
|
|
76725
77232
|
theUpdateShipment: TheShipment;
|
|
77233
|
+
theUpdateSupplier: TheSupplier;
|
|
77234
|
+
theUpdateSupplierContact: TheSupplierContact;
|
|
76726
77235
|
theUpdateWorkOrder: TheWorkOrder;
|
|
76727
77236
|
/** Mark an emission figure third-party verified. */
|
|
76728
77237
|
theVerifyEmission: TheEmissionRecord;
|
|
@@ -79460,12 +79969,24 @@ export type MutationAthCompleteSessionArgs = {
|
|
|
79460
79969
|
};
|
|
79461
79970
|
|
|
79462
79971
|
|
|
79972
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
79973
|
+
export type MutationAthConfirmRegistrationCheckoutArgs = {
|
|
79974
|
+
checkoutId: Scalars['ID']['input'];
|
|
79975
|
+
};
|
|
79976
|
+
|
|
79977
|
+
|
|
79463
79978
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
79464
79979
|
export type MutationAthConfirmSessionArgs = {
|
|
79465
79980
|
id: Scalars['ID']['input'];
|
|
79466
79981
|
};
|
|
79467
79982
|
|
|
79468
79983
|
|
|
79984
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
79985
|
+
export type MutationAthConnectPaymentAccountArgs = {
|
|
79986
|
+
input: AthConnectPaymentAccountInput;
|
|
79987
|
+
};
|
|
79988
|
+
|
|
79989
|
+
|
|
79469
79990
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
79470
79991
|
export type MutationAthCreateProgramArgs = {
|
|
79471
79992
|
input: AthCreateProgramInput;
|
|
@@ -79607,6 +80128,12 @@ export type MutationAthStartFixtureArgs = {
|
|
|
79607
80128
|
};
|
|
79608
80129
|
|
|
79609
80130
|
|
|
80131
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
80132
|
+
export type MutationAthStartRegistrationCheckoutArgs = {
|
|
80133
|
+
input: AthStartRegistrationCheckoutInput;
|
|
80134
|
+
};
|
|
80135
|
+
|
|
80136
|
+
|
|
79610
80137
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
79611
80138
|
export type MutationAthSubmitRegistrationArgs = {
|
|
79612
80139
|
input: AthSubmitRegistrationInput;
|
|
@@ -81436,6 +81963,12 @@ export type MutationCancelSecurityScanArgs = {
|
|
|
81436
81963
|
};
|
|
81437
81964
|
|
|
81438
81965
|
|
|
81966
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
81967
|
+
export type MutationCancelSupervisorRunArgs = {
|
|
81968
|
+
runId: Scalars['ID']['input'];
|
|
81969
|
+
};
|
|
81970
|
+
|
|
81971
|
+
|
|
81439
81972
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
81440
81973
|
export type MutationCancelTimeCampusFocusBlockArgs = {
|
|
81441
81974
|
id: Scalars['ID']['input'];
|
|
@@ -82539,6 +83072,12 @@ export type MutationConfigureShipmentStatusSourceArgs = {
|
|
|
82539
83072
|
};
|
|
82540
83073
|
|
|
82541
83074
|
|
|
83075
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
83076
|
+
export type MutationConfigureSupervisorArgs = {
|
|
83077
|
+
input: ConfigureSupervisorInput;
|
|
83078
|
+
};
|
|
83079
|
+
|
|
83080
|
+
|
|
82542
83081
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
82543
83082
|
export type MutationConfirmBookingArgs = {
|
|
82544
83083
|
id: Scalars['ID']['input'];
|
|
@@ -88356,6 +88895,12 @@ export type MutationDismissRunFailureClusterArgs = {
|
|
|
88356
88895
|
};
|
|
88357
88896
|
|
|
88358
88897
|
|
|
88898
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
88899
|
+
export type MutationDispatchBotmanorSupervisorTickArgs = {
|
|
88900
|
+
input: SupervisorTickInput;
|
|
88901
|
+
};
|
|
88902
|
+
|
|
88903
|
+
|
|
88359
88904
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
88360
88905
|
export type MutationDispatchHealthyBowlAccountingSyncArgs = {
|
|
88361
88906
|
input: DispatchHealthyBowlAccountingSyncInput;
|
|
@@ -93833,6 +94378,13 @@ export type MutationMoveWorkspaceResourceArgs = {
|
|
|
93833
94378
|
};
|
|
93834
94379
|
|
|
93835
94380
|
|
|
94381
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
94382
|
+
export type MutationMtwAcceptShipmentDecisionArgs = {
|
|
94383
|
+
decisionId: Scalars['ID']['input'];
|
|
94384
|
+
optionId: Scalars['ID']['input'];
|
|
94385
|
+
};
|
|
94386
|
+
|
|
94387
|
+
|
|
93836
94388
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
93837
94389
|
export type MutationMtwApplyDispatchPlanArgs = {
|
|
93838
94390
|
accept: Array<Scalars['ID']['input']>;
|
|
@@ -93852,12 +94404,30 @@ export type MutationMtwPlanDispatchArgs = {
|
|
|
93852
94404
|
};
|
|
93853
94405
|
|
|
93854
94406
|
|
|
94407
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
94408
|
+
export type MutationMtwRecommendCarrierArgs = {
|
|
94409
|
+
shipmentId: Scalars['ID']['input'];
|
|
94410
|
+
};
|
|
94411
|
+
|
|
94412
|
+
|
|
93855
94413
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
93856
94414
|
export type MutationMtwRejectDispatchPlanArgs = {
|
|
93857
94415
|
planId: Scalars['ID']['input'];
|
|
93858
94416
|
};
|
|
93859
94417
|
|
|
93860
94418
|
|
|
94419
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
94420
|
+
export type MutationMtwRejectShipmentDecisionArgs = {
|
|
94421
|
+
decisionId: Scalars['ID']['input'];
|
|
94422
|
+
};
|
|
94423
|
+
|
|
94424
|
+
|
|
94425
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
94426
|
+
export type MutationMtwResolveExceptionArgs = {
|
|
94427
|
+
shipmentId: Scalars['ID']['input'];
|
|
94428
|
+
};
|
|
94429
|
+
|
|
94430
|
+
|
|
93861
94431
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
93862
94432
|
export type MutationMtwRunRiskSweepArgs = {
|
|
93863
94433
|
input?: InputMaybe<MtwRunRiskSweepInput>;
|
|
@@ -102202,12 +102772,25 @@ export type MutationTestWebhookMappingArgs = {
|
|
|
102202
102772
|
};
|
|
102203
102773
|
|
|
102204
102774
|
|
|
102775
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102776
|
+
export type MutationTheAddSupplierContactArgs = {
|
|
102777
|
+
input: TheAddSupplierContactInput;
|
|
102778
|
+
};
|
|
102779
|
+
|
|
102780
|
+
|
|
102205
102781
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102206
102782
|
export type MutationTheApproveProductionAllocationArgs = {
|
|
102207
102783
|
id: Scalars['ID']['input'];
|
|
102208
102784
|
};
|
|
102209
102785
|
|
|
102210
102786
|
|
|
102787
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102788
|
+
export type MutationTheAssignWorkOrderVendorArgs = {
|
|
102789
|
+
supplierId?: InputMaybe<Scalars['ID']['input']>;
|
|
102790
|
+
workOrderId: Scalars['ID']['input'];
|
|
102791
|
+
};
|
|
102792
|
+
|
|
102793
|
+
|
|
102211
102794
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102212
102795
|
export type MutationTheAttributeWorkOrderDowntimeArgs = {
|
|
102213
102796
|
downtimeHours?: InputMaybe<Scalars['Float']['input']>;
|
|
@@ -102222,6 +102805,12 @@ export type MutationTheBulkAllocateProductionArgs = {
|
|
|
102222
102805
|
};
|
|
102223
102806
|
|
|
102224
102807
|
|
|
102808
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102809
|
+
export type MutationTheCancelCarbonCreditArgs = {
|
|
102810
|
+
id: Scalars['ID']['input'];
|
|
102811
|
+
};
|
|
102812
|
+
|
|
102813
|
+
|
|
102225
102814
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102226
102815
|
export type MutationTheCloseAllocationPeriodArgs = {
|
|
102227
102816
|
input: TheCloseAllocationPeriodInput;
|
|
@@ -102270,6 +102859,12 @@ export type MutationTheCreateEquipmentArgs = {
|
|
|
102270
102859
|
};
|
|
102271
102860
|
|
|
102272
102861
|
|
|
102862
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102863
|
+
export type MutationTheCreateForecastScenarioArgs = {
|
|
102864
|
+
input: TheForecastScenarioInput;
|
|
102865
|
+
};
|
|
102866
|
+
|
|
102867
|
+
|
|
102273
102868
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102274
102869
|
export type MutationTheCreateInterestDeckArgs = {
|
|
102275
102870
|
input: TheCreateInterestDeckInput;
|
|
@@ -102300,12 +102895,30 @@ export type MutationTheCreateReserveEstimateArgs = {
|
|
|
102300
102895
|
};
|
|
102301
102896
|
|
|
102302
102897
|
|
|
102898
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102899
|
+
export type MutationTheCreateServiceContractArgs = {
|
|
102900
|
+
input: TheCreateServiceContractInput;
|
|
102901
|
+
};
|
|
102902
|
+
|
|
102903
|
+
|
|
102904
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102905
|
+
export type MutationTheCreateSupplierArgs = {
|
|
102906
|
+
input: TheCreateSupplierInput;
|
|
102907
|
+
};
|
|
102908
|
+
|
|
102909
|
+
|
|
102303
102910
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102304
102911
|
export type MutationTheCreateWorkOrderArgs = {
|
|
102305
102912
|
input: TheCreateWorkOrderInput;
|
|
102306
102913
|
};
|
|
102307
102914
|
|
|
102308
102915
|
|
|
102916
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102917
|
+
export type MutationTheDeleteForecastScenarioArgs = {
|
|
102918
|
+
id: Scalars['ID']['input'];
|
|
102919
|
+
};
|
|
102920
|
+
|
|
102921
|
+
|
|
102309
102922
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102310
102923
|
export type MutationTheDeleteInterestDeckArgs = {
|
|
102311
102924
|
id: Scalars['ID']['input'];
|
|
@@ -102336,6 +102949,26 @@ export type MutationTheGenerateScheduledWorkOrdersArgs = {
|
|
|
102336
102949
|
};
|
|
102337
102950
|
|
|
102338
102951
|
|
|
102952
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102953
|
+
export type MutationTheLinkOfftakeContractSupplierArgs = {
|
|
102954
|
+
contractId: Scalars['ID']['input'];
|
|
102955
|
+
supplierId?: InputMaybe<Scalars['ID']['input']>;
|
|
102956
|
+
};
|
|
102957
|
+
|
|
102958
|
+
|
|
102959
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102960
|
+
export type MutationTheLinkShipmentCarrierArgs = {
|
|
102961
|
+
shipmentId: Scalars['ID']['input'];
|
|
102962
|
+
supplierId?: InputMaybe<Scalars['ID']['input']>;
|
|
102963
|
+
};
|
|
102964
|
+
|
|
102965
|
+
|
|
102966
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102967
|
+
export type MutationTheLinkShipmentSourceArgs = {
|
|
102968
|
+
input: TheLinkShipmentSourceInput;
|
|
102969
|
+
};
|
|
102970
|
+
|
|
102971
|
+
|
|
102339
102972
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102340
102973
|
export type MutationTheRecordEmissionArgs = {
|
|
102341
102974
|
input: TheRecordEmissionInput;
|
|
@@ -102355,12 +102988,30 @@ export type MutationTheRecordProductionArgs = {
|
|
|
102355
102988
|
};
|
|
102356
102989
|
|
|
102357
102990
|
|
|
102991
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102992
|
+
export type MutationTheRecordSupplierScorecardArgs = {
|
|
102993
|
+
input: TheRecordSupplierScorecardInput;
|
|
102994
|
+
};
|
|
102995
|
+
|
|
102996
|
+
|
|
102997
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102998
|
+
export type MutationTheRegisterCarbonCreditArgs = {
|
|
102999
|
+
input: TheRegisterCarbonCreditInput;
|
|
103000
|
+
};
|
|
103001
|
+
|
|
103002
|
+
|
|
102358
103003
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102359
103004
|
export type MutationTheRemoveContractEntitlementArgs = {
|
|
102360
103005
|
id: Scalars['ID']['input'];
|
|
102361
103006
|
};
|
|
102362
103007
|
|
|
102363
103008
|
|
|
103009
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
103010
|
+
export type MutationTheRemoveSupplierContactArgs = {
|
|
103011
|
+
id: Scalars['ID']['input'];
|
|
103012
|
+
};
|
|
103013
|
+
|
|
103014
|
+
|
|
102364
103015
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102365
103016
|
export type MutationTheReopenAllocationPeriodArgs = {
|
|
102366
103017
|
id: Scalars['ID']['input'];
|
|
@@ -102386,6 +103037,12 @@ export type MutationTheRetireAssetArgs = {
|
|
|
102386
103037
|
};
|
|
102387
103038
|
|
|
102388
103039
|
|
|
103040
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
103041
|
+
export type MutationTheRetireCarbonCreditsArgs = {
|
|
103042
|
+
input: TheRetireCarbonCreditsInput;
|
|
103043
|
+
};
|
|
103044
|
+
|
|
103045
|
+
|
|
102389
103046
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102390
103047
|
export type MutationTheReverseProductionAllocationArgs = {
|
|
102391
103048
|
id: Scalars['ID']['input'];
|
|
@@ -102413,6 +103070,14 @@ export type MutationTheSetInventoryLotStatusArgs = {
|
|
|
102413
103070
|
};
|
|
102414
103071
|
|
|
102415
103072
|
|
|
103073
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
103074
|
+
export type MutationTheSetSupplierStatusArgs = {
|
|
103075
|
+
id: Scalars['ID']['input'];
|
|
103076
|
+
reason?: InputMaybe<Scalars['String']['input']>;
|
|
103077
|
+
status: TheSupplierStatus;
|
|
103078
|
+
};
|
|
103079
|
+
|
|
103080
|
+
|
|
102416
103081
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102417
103082
|
export type MutationTheSetUnitConversionArgs = {
|
|
102418
103083
|
input: TheSetUnitConversionInput;
|
|
@@ -102454,6 +103119,14 @@ export type MutationTheTransitionSafetyIncidentArgs = {
|
|
|
102454
103119
|
};
|
|
102455
103120
|
|
|
102456
103121
|
|
|
103122
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
103123
|
+
export type MutationTheTransitionServiceContractArgs = {
|
|
103124
|
+
id: Scalars['ID']['input'];
|
|
103125
|
+
reason?: InputMaybe<Scalars['String']['input']>;
|
|
103126
|
+
status: TheServiceContractStatus;
|
|
103127
|
+
};
|
|
103128
|
+
|
|
103129
|
+
|
|
102457
103130
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102458
103131
|
export type MutationTheTransitionShipmentArgs = {
|
|
102459
103132
|
id: Scalars['ID']['input'];
|
|
@@ -102469,6 +103142,12 @@ export type MutationTheTransitionWorkOrderArgs = {
|
|
|
102469
103142
|
};
|
|
102470
103143
|
|
|
102471
103144
|
|
|
103145
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
103146
|
+
export type MutationTheUnlinkShipmentSourceArgs = {
|
|
103147
|
+
id: Scalars['ID']['input'];
|
|
103148
|
+
};
|
|
103149
|
+
|
|
103150
|
+
|
|
102472
103151
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102473
103152
|
export type MutationTheUpdateAssetArgs = {
|
|
102474
103153
|
id: Scalars['ID']['input'];
|
|
@@ -102490,6 +103169,13 @@ export type MutationTheUpdateEquipmentArgs = {
|
|
|
102490
103169
|
};
|
|
102491
103170
|
|
|
102492
103171
|
|
|
103172
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
103173
|
+
export type MutationTheUpdateForecastScenarioArgs = {
|
|
103174
|
+
id: Scalars['ID']['input'];
|
|
103175
|
+
input: TheUpdateForecastScenarioInput;
|
|
103176
|
+
};
|
|
103177
|
+
|
|
103178
|
+
|
|
102493
103179
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102494
103180
|
export type MutationTheUpdateIncidentInvestigationArgs = {
|
|
102495
103181
|
id: Scalars['ID']['input'];
|
|
@@ -102504,6 +103190,13 @@ export type MutationTheUpdateMaintenanceScheduleArgs = {
|
|
|
102504
103190
|
};
|
|
102505
103191
|
|
|
102506
103192
|
|
|
103193
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
103194
|
+
export type MutationTheUpdateServiceContractArgs = {
|
|
103195
|
+
id: Scalars['ID']['input'];
|
|
103196
|
+
input: TheUpdateServiceContractInput;
|
|
103197
|
+
};
|
|
103198
|
+
|
|
103199
|
+
|
|
102507
103200
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102508
103201
|
export type MutationTheUpdateShipmentArgs = {
|
|
102509
103202
|
id: Scalars['ID']['input'];
|
|
@@ -102511,6 +103204,20 @@ export type MutationTheUpdateShipmentArgs = {
|
|
|
102511
103204
|
};
|
|
102512
103205
|
|
|
102513
103206
|
|
|
103207
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
103208
|
+
export type MutationTheUpdateSupplierArgs = {
|
|
103209
|
+
id: Scalars['ID']['input'];
|
|
103210
|
+
input: TheUpdateSupplierInput;
|
|
103211
|
+
};
|
|
103212
|
+
|
|
103213
|
+
|
|
103214
|
+
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
103215
|
+
export type MutationTheUpdateSupplierContactArgs = {
|
|
103216
|
+
id: Scalars['ID']['input'];
|
|
103217
|
+
input: TheUpdateSupplierContactInput;
|
|
103218
|
+
};
|
|
103219
|
+
|
|
103220
|
+
|
|
102514
103221
|
/** Base Mutation type with placeholder field. Extended by individual mutation files. */
|
|
102515
103222
|
export type MutationTheUpdateWorkOrderArgs = {
|
|
102516
103223
|
id: Scalars['ID']['input'];
|
|
@@ -119045,6 +119752,8 @@ export type Query = {
|
|
|
119045
119752
|
athListWorkoutLogs: AthWorkoutLogConnection;
|
|
119046
119753
|
/** Family-facing: the registrations the calling user has submitted. */
|
|
119047
119754
|
athMyRegistrations: AthMyRegistrationConnection;
|
|
119755
|
+
/** The club's online-payment setup. */
|
|
119756
|
+
athOnlinePaymentsStatus: AthOnlinePaymentsStatus;
|
|
119048
119757
|
athPerformanceMetrics: AthPerformanceMetricConnection;
|
|
119049
119758
|
athProgram?: Maybe<AthProgram>;
|
|
119050
119759
|
athRegistrationForm?: Maybe<AthRegistrationForm>;
|
|
@@ -119934,11 +120643,15 @@ export type Query = {
|
|
|
119934
120643
|
expenseCategories: Array<Scalars['String']['output']>;
|
|
119935
120644
|
expenseStats: ExpenseStats;
|
|
119936
120645
|
expenses: Array<ExpenseEntry>;
|
|
120646
|
+
/** Explain a whole dashboard: one narrative spanning every widget's bound sinks. */
|
|
120647
|
+
explainDashboard: BigConsoleNarrative;
|
|
119937
120648
|
/**
|
|
119938
120649
|
* Explain why a run failed: the failing node, the cause, evidence log lines
|
|
119939
120650
|
* and suggested fixes. Read-only; no model call.
|
|
119940
120651
|
*/
|
|
119941
120652
|
explainRun: WorkflowRunExplanation;
|
|
120653
|
+
/** Explain one widget: assemble its bound DataSink rows + recent history, produce a grounded summary in which every factual claim carries a citation to the sink/parser/widget (and field) that supports it. The narrative is persisted (one AgentRun-equivalent ledger row per run) and metered against bigconsole.ai.credits. */
|
|
120654
|
+
explainWidget: BigConsoleNarrative;
|
|
119942
120655
|
/**
|
|
119943
120656
|
* Pull-based SIEM export: returns formatted (CEF/LEEF/JSON) lines for the
|
|
119944
120657
|
* given date range. For push-based delivery, register a SiemDestination
|
|
@@ -121456,6 +122169,12 @@ export type Query = {
|
|
|
121456
122169
|
integrationsCount: Scalars['Int']['output'];
|
|
121457
122170
|
intelwatchtowerEntityTags: Array<IntEntityTagAssignment>;
|
|
121458
122171
|
introspectNode?: Maybe<NodeIntrospection>;
|
|
122172
|
+
/**
|
|
122173
|
+
* Weeks of stock cover per warehouse and SKU against forecast outbound
|
|
122174
|
+
* demand from delivery-job cargo lines, with the projected stock-out week
|
|
122175
|
+
* and a suggested reorder quantity. Read-only; computed on request.
|
|
122176
|
+
*/
|
|
122177
|
+
inventoryCoverPlan: MtwInventoryCoverPlan;
|
|
121459
122178
|
inventoryItem?: Maybe<MtwInventoryItem>;
|
|
121460
122179
|
inventoryItems: Array<MtwInventoryItem>;
|
|
121461
122180
|
inventoryItemsCount: Scalars['Int']['output'];
|
|
@@ -121565,6 +122284,8 @@ export type Query = {
|
|
|
121565
122284
|
labWorkspaceAiConfig?: Maybe<LabWorkspaceAiConfig>;
|
|
121566
122285
|
/** Lightweight workspace totals for the LabsOfScience overview dashboard. Returns exact counts across all non-archived (deletedAt: null) domain entities in the caller's workspace. */
|
|
121567
122286
|
labWorkspaceTotals: LabWorkspaceTotals;
|
|
122287
|
+
/** The most recent digest narrative for a dashboard (null when none exists). */
|
|
122288
|
+
latestDashboardDigest?: Maybe<BigConsoleNarrative>;
|
|
121568
122289
|
legalHolds: Array<LegalHold>;
|
|
121569
122290
|
licenseEntitlements: Array<LicenseEntitlement>;
|
|
121570
122291
|
/** The whole-life timeline for the calling user: the same self-assembling timeline, summarized by life domain (WORK/SLEEP/HEALTH/...) with honest, interval-union totals and unaccounted time. Self-scoped — always your own data. */
|
|
@@ -121833,6 +122554,8 @@ export type Query = {
|
|
|
121833
122554
|
mtwImportSpec: Array<MtwImportEntitySpec>;
|
|
121834
122555
|
/** The workspace's most recent dispatch plan, whatever its status. */
|
|
121835
122556
|
mtwLatestDispatchPlan?: Maybe<MtwDispatchPlan>;
|
|
122557
|
+
/** The shipment's most recent decision of this kind, whatever its status. */
|
|
122558
|
+
mtwLatestShipmentDecision?: Maybe<MtwShipmentDecision>;
|
|
121836
122559
|
/** The workspace's MoveTheWheels operational defaults; platform defaults when none were saved. */
|
|
121837
122560
|
mtwModuleSettings: MtwModuleSettings;
|
|
121838
122561
|
mtwPalletGeometryPreview: MtwPalletGeometryPreview;
|
|
@@ -121864,6 +122587,7 @@ export type Query = {
|
|
|
121864
122587
|
mtwRiskSweepSchedule?: Maybe<MtwRiskSweepSchedule>;
|
|
121865
122588
|
/** Recent risk sweeps of the workspace, newest first. */
|
|
121866
122589
|
mtwRiskSweeps: Array<MtwRiskSweep>;
|
|
122590
|
+
mtwShipmentDecision?: Maybe<MtwShipmentDecision>;
|
|
121867
122591
|
/** The shipment's current or last risk episode, or null if it has never been at risk. */
|
|
121868
122592
|
mtwShipmentRiskEpisode?: Maybe<MtwShipmentRiskEpisode>;
|
|
121869
122593
|
mtwShipmentRiskForecast: MtwRiskForecast;
|
|
@@ -122043,6 +122767,8 @@ export type Query = {
|
|
|
122043
122767
|
/** Rule-based recovery-aware guidance for today, with an optional richer AI-generated plain-language summary (BOFF-4174). The BYOK AI summary invocation goes through the platform LLM gateway and counts as one BYOK AI program/nutrition assist operation against `mybodyshield.ai_operations.daily` (BOFF-5949); the rule-based cards never depend on the LLM and never consume the quota. Same directive shape as the sibling DAILY AI-ops quota on `crewJobPostingMatches` in `wspace-crewfoundry-svc/src/modules/workforce/schema/matching.gql`. */
|
|
122044
122768
|
mybTodayGuidance: MybTodayGuidance;
|
|
122045
122769
|
mybWorkoutExercises: MybExerciseConnection;
|
|
122770
|
+
/** Runtime state of the narrative feature for this workspace (admin visibility). */
|
|
122771
|
+
narrativeStatus: BigConsoleNarrativeFeatureStatus;
|
|
122046
122772
|
/** Get a specific node endpoint configuration */
|
|
122047
122773
|
nodeEndpointConfig?: Maybe<NodeEndpointConfig>;
|
|
122048
122774
|
/** Get list of node endpoint configurations */
|
|
@@ -122872,6 +123598,10 @@ export type Query = {
|
|
|
122872
123598
|
subscribedProduct?: Maybe<SubscribedProduct>;
|
|
122873
123599
|
/** Get all subscribed products for the current workspace. Workspace ID is read from gateway context (x-workspace-id header). */
|
|
122874
123600
|
subscribedProducts: SubscribedProductList;
|
|
123601
|
+
/** The calling workspace's supervisor configuration (created lazily with defaults when none exists yet). */
|
|
123602
|
+
supervisorConfig: SupervisorConfig;
|
|
123603
|
+
/** Recent supervisor runs for the calling workspace, newest first. */
|
|
123604
|
+
supervisorRuns: SupervisorRunList;
|
|
122875
123605
|
/** Get system configuration */
|
|
122876
123606
|
systemConfig: SystemConfig;
|
|
122877
123607
|
/** Get high-level system metrics and statistics */
|
|
@@ -123088,12 +123818,22 @@ export type Query = {
|
|
|
123088
123818
|
/** Allocation statement for [periodStart, periodEnd]: net position, per-asset allocation detail and CSV. */
|
|
123089
123819
|
theAllocationStatement: TheAllocationStatement;
|
|
123090
123820
|
theAsset?: Maybe<TheAsset>;
|
|
123821
|
+
theCarbonCredit?: Maybe<TheCarbonCredit>;
|
|
123822
|
+
/** Net the period's emissions against the carbon credits retired for it. */
|
|
123823
|
+
theCarbonOffsetPosition: TheCarbonOffsetPosition;
|
|
123824
|
+
/** Run up to four saved scenarios side by side. */
|
|
123825
|
+
theCompareForecastScenarios: Array<TheScenarioResult>;
|
|
123091
123826
|
theComplianceCert?: Maybe<TheComplianceCert>;
|
|
123092
123827
|
theContract?: Maybe<TheOfftakeContract>;
|
|
123093
123828
|
/** Over/under-lift position per contract. With contractId, that contract only; otherwise every contract with active entitlements. */
|
|
123094
123829
|
theContractLiftingPositions: Array<TheContractLiftingPosition>;
|
|
123830
|
+
/** Daily demand and inbound supply implied by signed and active contracts of a commodity. */
|
|
123831
|
+
theDemandForecast: TheDemandForecast;
|
|
123095
123832
|
theEquipment?: Maybe<TheEquipment>;
|
|
123096
123833
|
theEsgDisclosure?: Maybe<TheEsgDisclosure>;
|
|
123834
|
+
/** Audit-ready CSV export of a disclosure with record-level lineage. */
|
|
123835
|
+
theExportEsgDisclosure: TheEsgDisclosureExport;
|
|
123836
|
+
theForecastScenario?: Maybe<TheForecastScenario>;
|
|
123097
123837
|
/** Liveness/identity probe for the Theglobalfuel subgraph. */
|
|
123098
123838
|
theHealth: Scalars['String']['output'];
|
|
123099
123839
|
theInterestDeck?: Maybe<TheInterestDeck>;
|
|
@@ -123102,6 +123842,8 @@ export type Query = {
|
|
|
123102
123842
|
/** Period closes, newest period first. Includes REOPENED rows: this is the close / reopen audit trail. */
|
|
123103
123843
|
theListAllocationPeriodCloses: TheAllocationPeriodCloseConnection;
|
|
123104
123844
|
theListAssets: TheAssetConnection;
|
|
123845
|
+
theListCarbonCredits: TheCarbonCreditConnection;
|
|
123846
|
+
theListCarbonRetirements: TheCarbonRetirementConnection;
|
|
123105
123847
|
theListComplianceCerts: TheComplianceCertConnection;
|
|
123106
123848
|
/** Active entitlements (their allocation is APPROVED), newest period first. */
|
|
123107
123849
|
theListContractEntitlements: TheContractEntitlementConnection;
|
|
@@ -123110,6 +123852,7 @@ export type Query = {
|
|
|
123110
123852
|
theListEmissionRecords: TheEmissionRecordConnection;
|
|
123111
123853
|
theListEquipment: TheEquipmentConnection;
|
|
123112
123854
|
theListEsgDisclosures: TheEsgDisclosureConnection;
|
|
123855
|
+
theListForecastScenarios: TheForecastScenarioConnection;
|
|
123113
123856
|
theListInterestDecks: TheInterestDeckConnection;
|
|
123114
123857
|
theListInventoryLots: TheInventoryLotConnection;
|
|
123115
123858
|
theListMaintenanceSchedules: TheMaintenanceScheduleConnection;
|
|
@@ -123117,7 +123860,10 @@ export type Query = {
|
|
|
123117
123860
|
theListProductionRecords: TheProductionRecordConnection;
|
|
123118
123861
|
theListReserveEstimates: TheReserveEstimateConnection;
|
|
123119
123862
|
theListSafetyIncidents: TheSafetyIncidentConnection;
|
|
123863
|
+
theListServiceContracts: TheServiceContractConnection;
|
|
123120
123864
|
theListShipments: TheShipmentConnection;
|
|
123865
|
+
theListSupplierScorecards: TheSupplierScorecardConnection;
|
|
123866
|
+
theListSuppliers: TheSupplierConnection;
|
|
123121
123867
|
/** Effective unit conversion factors for a commodity (built-in defaults merged with this workspace's overrides). */
|
|
123122
123868
|
theListUnitConversions: Array<TheUnitConversion>;
|
|
123123
123869
|
theListWorkOrders: TheWorkOrderConnection;
|
|
@@ -123127,9 +123873,23 @@ export type Query = {
|
|
|
123127
123873
|
theMyLegalAcceptances: TheLegalAcceptanceConnection;
|
|
123128
123874
|
/** Net production position per asset over [periodStart, periodEnd], from APPROVED allocations only. */
|
|
123129
123875
|
theNetProductionPosition: TheNetProductionPosition;
|
|
123876
|
+
/** Portfolio control room: multi-asset, multi-commodity, multi-region rollup of production, inventory, commitments and ESG for a period (default: the last 30 days, at most about five years). */
|
|
123877
|
+
thePortfolioOverview: ThePortfolioOverview;
|
|
123878
|
+
/** Run unsaved assumptions (what-if) without storing them. */
|
|
123879
|
+
thePreviewForecastScenario: TheScenarioResult;
|
|
123130
123880
|
theProductionAllocation?: Maybe<TheProductionAllocation>;
|
|
123881
|
+
/** Forecast one asset's daily production from its reported history. */
|
|
123882
|
+
theProductionForecast: TheProductionForecast;
|
|
123883
|
+
/** Assemble the chain-of-custody certificate for a shipment. */
|
|
123884
|
+
theProvenanceCertificate: TheProvenanceCertificate;
|
|
123885
|
+
/** Run a saved scenario: forecast, inventory simulation and dispatch plan. */
|
|
123886
|
+
theRunForecastScenario: TheScenarioResult;
|
|
123131
123887
|
theSafetyDashboard: TheSafetyDashboard;
|
|
123132
123888
|
theSafetyIncident?: Maybe<TheSafetyIncident>;
|
|
123889
|
+
theServiceContract?: Maybe<TheServiceContract>;
|
|
123890
|
+
theShipmentSources: Array<TheShipmentSource>;
|
|
123891
|
+
theSupplier?: Maybe<TheSupplier>;
|
|
123892
|
+
theSupplierRegisterSummary: TheSupplierRegisterSummary;
|
|
123133
123893
|
theWorkOrder?: Maybe<TheWorkOrder>;
|
|
123134
123894
|
thread: MessageConnection;
|
|
123135
123895
|
/** Activation milestones for the calling workspace (BOFF-3450). */
|
|
@@ -128555,12 +129315,24 @@ export type QueryExpensesArgs = {
|
|
|
128555
129315
|
};
|
|
128556
129316
|
|
|
128557
129317
|
|
|
129318
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
129319
|
+
export type QueryExplainDashboardArgs = {
|
|
129320
|
+
dashboardId: Scalars['ID']['input'];
|
|
129321
|
+
};
|
|
129322
|
+
|
|
129323
|
+
|
|
128558
129324
|
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
128559
129325
|
export type QueryExplainRunArgs = {
|
|
128560
129326
|
runId: Scalars['ID']['input'];
|
|
128561
129327
|
};
|
|
128562
129328
|
|
|
128563
129329
|
|
|
129330
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
129331
|
+
export type QueryExplainWidgetArgs = {
|
|
129332
|
+
widgetId: Scalars['ID']['input'];
|
|
129333
|
+
};
|
|
129334
|
+
|
|
129335
|
+
|
|
128564
129336
|
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
128565
129337
|
export type QueryExportActivityLogsSiemArgs = {
|
|
128566
129338
|
dateFrom: Scalars['DateTime']['input'];
|
|
@@ -134746,6 +135518,12 @@ export type QueryIntrospectNodeArgs = {
|
|
|
134746
135518
|
};
|
|
134747
135519
|
|
|
134748
135520
|
|
|
135521
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
135522
|
+
export type QueryInventoryCoverPlanArgs = {
|
|
135523
|
+
input?: InputMaybe<InventoryCoverPlanInput>;
|
|
135524
|
+
};
|
|
135525
|
+
|
|
135526
|
+
|
|
134749
135527
|
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
134750
135528
|
export type QueryInventoryItemArgs = {
|
|
134751
135529
|
id: Scalars['ID']['input'];
|
|
@@ -135248,6 +136026,12 @@ export type QueryLabResearchAnalyticsArgs = {
|
|
|
135248
136026
|
};
|
|
135249
136027
|
|
|
135250
136028
|
|
|
136029
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
136030
|
+
export type QueryLatestDashboardDigestArgs = {
|
|
136031
|
+
dashboardId: Scalars['ID']['input'];
|
|
136032
|
+
};
|
|
136033
|
+
|
|
136034
|
+
|
|
135251
136035
|
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
135252
136036
|
export type QueryLegalHoldsArgs = {
|
|
135253
136037
|
status?: InputMaybe<LegalHoldStatus>;
|
|
@@ -136493,6 +137277,13 @@ export type QueryMtwFreightInvoiceReviewPageArgs = {
|
|
|
136493
137277
|
};
|
|
136494
137278
|
|
|
136495
137279
|
|
|
137280
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
137281
|
+
export type QueryMtwLatestShipmentDecisionArgs = {
|
|
137282
|
+
kind: MtwShipmentDecisionKind;
|
|
137283
|
+
shipmentId: Scalars['ID']['input'];
|
|
137284
|
+
};
|
|
137285
|
+
|
|
137286
|
+
|
|
136496
137287
|
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
136497
137288
|
export type QueryMtwPalletGeometryPreviewArgs = {
|
|
136498
137289
|
input: MtwPalletGeometryPreviewInput;
|
|
@@ -136648,6 +137439,12 @@ export type QueryMtwRiskSweepsArgs = {
|
|
|
136648
137439
|
};
|
|
136649
137440
|
|
|
136650
137441
|
|
|
137442
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
137443
|
+
export type QueryMtwShipmentDecisionArgs = {
|
|
137444
|
+
id: Scalars['ID']['input'];
|
|
137445
|
+
};
|
|
137446
|
+
|
|
137447
|
+
|
|
136651
137448
|
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
136652
137449
|
export type QueryMtwShipmentRiskEpisodeArgs = {
|
|
136653
137450
|
shipmentId: Scalars['ID']['input'];
|
|
@@ -140551,6 +141348,12 @@ export type QuerySubscribedProductsArgs = {
|
|
|
140551
141348
|
};
|
|
140552
141349
|
|
|
140553
141350
|
|
|
141351
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
141352
|
+
export type QuerySupervisorRunsArgs = {
|
|
141353
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
141354
|
+
};
|
|
141355
|
+
|
|
141356
|
+
|
|
140554
141357
|
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
140555
141358
|
export type QueryTargetArgs = {
|
|
140556
141359
|
id: Scalars['ID']['input'];
|
|
@@ -141241,6 +142044,26 @@ export type QueryTheAssetArgs = {
|
|
|
141241
142044
|
};
|
|
141242
142045
|
|
|
141243
142046
|
|
|
142047
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
142048
|
+
export type QueryTheCarbonCreditArgs = {
|
|
142049
|
+
id: Scalars['ID']['input'];
|
|
142050
|
+
};
|
|
142051
|
+
|
|
142052
|
+
|
|
142053
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
142054
|
+
export type QueryTheCarbonOffsetPositionArgs = {
|
|
142055
|
+
assetId?: InputMaybe<Scalars['ID']['input']>;
|
|
142056
|
+
periodEnd: Scalars['DateTime']['input'];
|
|
142057
|
+
periodStart: Scalars['DateTime']['input'];
|
|
142058
|
+
};
|
|
142059
|
+
|
|
142060
|
+
|
|
142061
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
142062
|
+
export type QueryTheCompareForecastScenariosArgs = {
|
|
142063
|
+
ids: Array<Scalars['ID']['input']>;
|
|
142064
|
+
};
|
|
142065
|
+
|
|
142066
|
+
|
|
141244
142067
|
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
141245
142068
|
export type QueryTheComplianceCertArgs = {
|
|
141246
142069
|
id: Scalars['ID']['input'];
|
|
@@ -141259,6 +142082,15 @@ export type QueryTheContractLiftingPositionsArgs = {
|
|
|
141259
142082
|
};
|
|
141260
142083
|
|
|
141261
142084
|
|
|
142085
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
142086
|
+
export type QueryTheDemandForecastArgs = {
|
|
142087
|
+
commodity: TheCommodityType;
|
|
142088
|
+
demandFactor?: InputMaybe<Scalars['Float']['input']>;
|
|
142089
|
+
horizonDays?: InputMaybe<Scalars['Int']['input']>;
|
|
142090
|
+
unit?: InputMaybe<TheUnit>;
|
|
142091
|
+
};
|
|
142092
|
+
|
|
142093
|
+
|
|
141262
142094
|
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
141263
142095
|
export type QueryTheEquipmentArgs = {
|
|
141264
142096
|
id: Scalars['ID']['input'];
|
|
@@ -141271,6 +142103,18 @@ export type QueryTheEsgDisclosureArgs = {
|
|
|
141271
142103
|
};
|
|
141272
142104
|
|
|
141273
142105
|
|
|
142106
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
142107
|
+
export type QueryTheExportEsgDisclosureArgs = {
|
|
142108
|
+
id: Scalars['ID']['input'];
|
|
142109
|
+
};
|
|
142110
|
+
|
|
142111
|
+
|
|
142112
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
142113
|
+
export type QueryTheForecastScenarioArgs = {
|
|
142114
|
+
id: Scalars['ID']['input'];
|
|
142115
|
+
};
|
|
142116
|
+
|
|
142117
|
+
|
|
141274
142118
|
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
141275
142119
|
export type QueryTheInterestDeckArgs = {
|
|
141276
142120
|
id: Scalars['ID']['input'];
|
|
@@ -141301,6 +142145,23 @@ export type QueryTheListAssetsArgs = {
|
|
|
141301
142145
|
};
|
|
141302
142146
|
|
|
141303
142147
|
|
|
142148
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
142149
|
+
export type QueryTheListCarbonCreditsArgs = {
|
|
142150
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
142151
|
+
registry?: InputMaybe<TheCarbonRegistry>;
|
|
142152
|
+
status?: InputMaybe<TheCarbonCreditStatus>;
|
|
142153
|
+
vintageYear?: InputMaybe<Scalars['Int']['input']>;
|
|
142154
|
+
};
|
|
142155
|
+
|
|
142156
|
+
|
|
142157
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
142158
|
+
export type QueryTheListCarbonRetirementsArgs = {
|
|
142159
|
+
assetId?: InputMaybe<Scalars['ID']['input']>;
|
|
142160
|
+
creditId?: InputMaybe<Scalars['ID']['input']>;
|
|
142161
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
142162
|
+
};
|
|
142163
|
+
|
|
142164
|
+
|
|
141304
142165
|
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
141305
142166
|
export type QueryTheListComplianceCertsArgs = {
|
|
141306
142167
|
assetId?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -141359,6 +142220,13 @@ export type QueryTheListEsgDisclosuresArgs = {
|
|
|
141359
142220
|
};
|
|
141360
142221
|
|
|
141361
142222
|
|
|
142223
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
142224
|
+
export type QueryTheListForecastScenariosArgs = {
|
|
142225
|
+
commodity?: InputMaybe<TheCommodityType>;
|
|
142226
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
142227
|
+
};
|
|
142228
|
+
|
|
142229
|
+
|
|
141362
142230
|
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
141363
142231
|
export type QueryTheListInterestDecksArgs = {
|
|
141364
142232
|
assetId?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -141418,6 +142286,15 @@ export type QueryTheListSafetyIncidentsArgs = {
|
|
|
141418
142286
|
};
|
|
141419
142287
|
|
|
141420
142288
|
|
|
142289
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
142290
|
+
export type QueryTheListServiceContractsArgs = {
|
|
142291
|
+
expiringWithinDays?: InputMaybe<Scalars['Int']['input']>;
|
|
142292
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
142293
|
+
status?: InputMaybe<TheServiceContractStatus>;
|
|
142294
|
+
supplierId?: InputMaybe<Scalars['ID']['input']>;
|
|
142295
|
+
};
|
|
142296
|
+
|
|
142297
|
+
|
|
141421
142298
|
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
141422
142299
|
export type QueryTheListShipmentsArgs = {
|
|
141423
142300
|
contractId?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -141426,6 +142303,24 @@ export type QueryTheListShipmentsArgs = {
|
|
|
141426
142303
|
};
|
|
141427
142304
|
|
|
141428
142305
|
|
|
142306
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
142307
|
+
export type QueryTheListSupplierScorecardsArgs = {
|
|
142308
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
142309
|
+
serviceContractId?: InputMaybe<Scalars['ID']['input']>;
|
|
142310
|
+
supplierId?: InputMaybe<Scalars['ID']['input']>;
|
|
142311
|
+
};
|
|
142312
|
+
|
|
142313
|
+
|
|
142314
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
142315
|
+
export type QueryTheListSuppliersArgs = {
|
|
142316
|
+
classification?: InputMaybe<TheSupplierClassification>;
|
|
142317
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
142318
|
+
riskLevel?: InputMaybe<TheSupplierRiskLevel>;
|
|
142319
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
142320
|
+
status?: InputMaybe<TheSupplierStatus>;
|
|
142321
|
+
};
|
|
142322
|
+
|
|
142323
|
+
|
|
141429
142324
|
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
141430
142325
|
export type QueryTheListUnitConversionsArgs = {
|
|
141431
142326
|
commodity: TheCommodityType;
|
|
@@ -141469,18 +142364,73 @@ export type QueryTheNetProductionPositionArgs = {
|
|
|
141469
142364
|
};
|
|
141470
142365
|
|
|
141471
142366
|
|
|
142367
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
142368
|
+
export type QueryThePortfolioOverviewArgs = {
|
|
142369
|
+
commodity?: InputMaybe<TheCommodityType>;
|
|
142370
|
+
periodEnd?: InputMaybe<Scalars['DateTime']['input']>;
|
|
142371
|
+
periodStart?: InputMaybe<Scalars['DateTime']['input']>;
|
|
142372
|
+
region?: InputMaybe<Scalars['String']['input']>;
|
|
142373
|
+
};
|
|
142374
|
+
|
|
142375
|
+
|
|
142376
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
142377
|
+
export type QueryThePreviewForecastScenarioArgs = {
|
|
142378
|
+
input: TheForecastScenarioInput;
|
|
142379
|
+
};
|
|
142380
|
+
|
|
142381
|
+
|
|
141472
142382
|
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
141473
142383
|
export type QueryTheProductionAllocationArgs = {
|
|
141474
142384
|
id: Scalars['ID']['input'];
|
|
141475
142385
|
};
|
|
141476
142386
|
|
|
141477
142387
|
|
|
142388
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
142389
|
+
export type QueryTheProductionForecastArgs = {
|
|
142390
|
+
assetId: Scalars['ID']['input'];
|
|
142391
|
+
historyDays?: InputMaybe<Scalars['Int']['input']>;
|
|
142392
|
+
horizonDays?: InputMaybe<Scalars['Int']['input']>;
|
|
142393
|
+
method?: InputMaybe<TheForecastMethod>;
|
|
142394
|
+
unit?: InputMaybe<TheUnit>;
|
|
142395
|
+
};
|
|
142396
|
+
|
|
142397
|
+
|
|
142398
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
142399
|
+
export type QueryTheProvenanceCertificateArgs = {
|
|
142400
|
+
shipmentId: Scalars['ID']['input'];
|
|
142401
|
+
};
|
|
142402
|
+
|
|
142403
|
+
|
|
142404
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
142405
|
+
export type QueryTheRunForecastScenarioArgs = {
|
|
142406
|
+
id: Scalars['ID']['input'];
|
|
142407
|
+
};
|
|
142408
|
+
|
|
142409
|
+
|
|
141478
142410
|
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
141479
142411
|
export type QueryTheSafetyIncidentArgs = {
|
|
141480
142412
|
id: Scalars['ID']['input'];
|
|
141481
142413
|
};
|
|
141482
142414
|
|
|
141483
142415
|
|
|
142416
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
142417
|
+
export type QueryTheServiceContractArgs = {
|
|
142418
|
+
id: Scalars['ID']['input'];
|
|
142419
|
+
};
|
|
142420
|
+
|
|
142421
|
+
|
|
142422
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
142423
|
+
export type QueryTheShipmentSourcesArgs = {
|
|
142424
|
+
shipmentId: Scalars['ID']['input'];
|
|
142425
|
+
};
|
|
142426
|
+
|
|
142427
|
+
|
|
142428
|
+
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
142429
|
+
export type QueryTheSupplierArgs = {
|
|
142430
|
+
id: Scalars['ID']['input'];
|
|
142431
|
+
};
|
|
142432
|
+
|
|
142433
|
+
|
|
141484
142434
|
/** Base Query type with placeholder field. Extended by individual query files. */
|
|
141485
142435
|
export type QueryTheWorkOrderArgs = {
|
|
141486
142436
|
id: Scalars['ID']['input'];
|
|
@@ -154176,6 +155126,49 @@ export enum SuggestedDataSourceType {
|
|
|
154176
155126
|
NEW_REST = 'NEW_REST'
|
|
154177
155127
|
}
|
|
154178
155128
|
|
|
155129
|
+
/** Per-workspace supervisor configuration. One row per workspace; the FluidGrids scheduled job and workflow definition are opaque references owned by wspace-workflow-svc. */
|
|
155130
|
+
export type SupervisorConfig = {
|
|
155131
|
+
__typename?: 'SupervisorConfig';
|
|
155132
|
+
cron: Scalars['String']['output'];
|
|
155133
|
+
enabled: Scalars['Boolean']['output'];
|
|
155134
|
+
lastRunAt?: Maybe<Scalars['DateTime']['output']>;
|
|
155135
|
+
timezone: Scalars['String']['output'];
|
|
155136
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
155137
|
+
};
|
|
155138
|
+
|
|
155139
|
+
/** One supervisor run. The auditable record that a review happened: what triggered it, how many findings it persisted, and how many CRITICAL notifications it delivered. Findings are AiPrediction rows whose `metadata.runId` points back here. */
|
|
155140
|
+
export type SupervisorRun = {
|
|
155141
|
+
__typename?: 'SupervisorRun';
|
|
155142
|
+
completedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
155143
|
+
error?: Maybe<Scalars['String']['output']>;
|
|
155144
|
+
findings: Scalars['Int']['output'];
|
|
155145
|
+
id: Scalars['ID']['output'];
|
|
155146
|
+
notified: Scalars['Int']['output'];
|
|
155147
|
+
startedAt: Scalars['DateTime']['output'];
|
|
155148
|
+
status: Scalars['String']['output'];
|
|
155149
|
+
trigger: Scalars['String']['output'];
|
|
155150
|
+
};
|
|
155151
|
+
|
|
155152
|
+
export type SupervisorRunList = {
|
|
155153
|
+
__typename?: 'SupervisorRunList';
|
|
155154
|
+
hasMore: Scalars['Boolean']['output'];
|
|
155155
|
+
items: Array<SupervisorRun>;
|
|
155156
|
+
total: Scalars['Int']['output'];
|
|
155157
|
+
};
|
|
155158
|
+
|
|
155159
|
+
/** Result of a supervisor run request. `run` is null when the request was accepted but nothing ran (supervisor disabled, feature flag off, or another run already in flight) — those are deliberate no-ops, not errors. */
|
|
155160
|
+
export type SupervisorRunResult = {
|
|
155161
|
+
__typename?: 'SupervisorRunResult';
|
|
155162
|
+
findings: Scalars['Int']['output'];
|
|
155163
|
+
run?: Maybe<SupervisorRun>;
|
|
155164
|
+
};
|
|
155165
|
+
|
|
155166
|
+
/** Public tick endpoint called by the workspace's FluidGrids scheduled job (a single `internal:http` node POSTing from inside wspace-workflow-svc). The unauthenticated call is authorized by an HMAC-SHA256 of the workspaceId keyed by INTERNAL_SERVICE_TOKEN — never a user token — and the supervisor refuses to run when the feature flag or the workspace config is off (fail-closed). */
|
|
155167
|
+
export type SupervisorTickInput = {
|
|
155168
|
+
dispatchSecret: Scalars['String']['input'];
|
|
155169
|
+
workspaceId: Scalars['ID']['input'];
|
|
155170
|
+
};
|
|
155171
|
+
|
|
154179
155172
|
/** A supplier of seeds, seedlings, fertilizer, or equipment. */
|
|
154180
155173
|
export type Supplier = {
|
|
154181
155174
|
__typename?: 'Supplier';
|
|
@@ -157272,6 +158265,17 @@ export type TestSecretsProviderConnectionResponse = MutationResponse & {
|
|
|
157272
158265
|
success: Scalars['Boolean']['output'];
|
|
157273
158266
|
};
|
|
157274
158267
|
|
|
158268
|
+
export type TheAddSupplierContactInput = {
|
|
158269
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
158270
|
+
/** Make this the primary contact (the first contact always is). */
|
|
158271
|
+
isPrimary?: InputMaybe<Scalars['Boolean']['input']>;
|
|
158272
|
+
name: Scalars['String']['input'];
|
|
158273
|
+
notes?: InputMaybe<Scalars['String']['input']>;
|
|
158274
|
+
phone?: InputMaybe<Scalars['String']['input']>;
|
|
158275
|
+
role?: InputMaybe<Scalars['String']['input']>;
|
|
158276
|
+
supplierId: Scalars['ID']['input'];
|
|
158277
|
+
};
|
|
158278
|
+
|
|
157275
158279
|
export type TheAllocationCorrectionEntryInput = {
|
|
157276
158280
|
assetId: Scalars['ID']['input'];
|
|
157277
158281
|
/** Defaults to the original entry's royalty (0 for an asset not in the original). */
|
|
@@ -157480,6 +158484,17 @@ export type TheAssetConnection = {
|
|
|
157480
158484
|
pageInfo: ThePageInfo;
|
|
157481
158485
|
};
|
|
157482
158486
|
|
|
158487
|
+
export type TheAssetForecastSummary = {
|
|
158488
|
+
__typename?: 'TheAssetForecastSummary';
|
|
158489
|
+
assetId: Scalars['ID']['output'];
|
|
158490
|
+
assetName: Scalars['String']['output'];
|
|
158491
|
+
backtestMape?: Maybe<Scalars['Float']['output']>;
|
|
158492
|
+
dailyRate: Scalars['Float']['output'];
|
|
158493
|
+
observations: Scalars['Int']['output'];
|
|
158494
|
+
status: TheAssetStatus;
|
|
158495
|
+
totalForecast: Scalars['Float']['output'];
|
|
158496
|
+
};
|
|
158497
|
+
|
|
157483
158498
|
export enum TheAssetKind {
|
|
157484
158499
|
GAS_FIELD = 'GAS_FIELD',
|
|
157485
158500
|
MINE = 'MINE',
|
|
@@ -157562,6 +158577,107 @@ export type TheBulkAllocationResult = {
|
|
|
157562
158577
|
validatedCount: Scalars['Int']['output'];
|
|
157563
158578
|
};
|
|
157564
158579
|
|
|
158580
|
+
/** A holding of carbon credits from one registry project and vintage. One credit is one tonne of CO2e. */
|
|
158581
|
+
export type TheCarbonCredit = {
|
|
158582
|
+
__typename?: 'TheCarbonCredit';
|
|
158583
|
+
acquiredAt?: Maybe<Scalars['DateTime']['output']>;
|
|
158584
|
+
/** Tonnes of this holding still available to retire. */
|
|
158585
|
+
availableTonnes: Scalars['Float']['output'];
|
|
158586
|
+
createdAt: Scalars['DateTime']['output'];
|
|
158587
|
+
currency: Scalars['String']['output'];
|
|
158588
|
+
/** Reference to a wspace-files-svc File (registry statement or transfer record). */
|
|
158589
|
+
evidence?: Maybe<File>;
|
|
158590
|
+
id: Scalars['ID']['output'];
|
|
158591
|
+
methodology?: Maybe<Scalars['String']['output']>;
|
|
158592
|
+
notes?: Maybe<Scalars['String']['output']>;
|
|
158593
|
+
/** Registry project identifier (e.g. VCS-1234). */
|
|
158594
|
+
projectId: Scalars['String']['output'];
|
|
158595
|
+
projectName: Scalars['String']['output'];
|
|
158596
|
+
quantityTonnes: Scalars['Float']['output'];
|
|
158597
|
+
registry: TheCarbonRegistry;
|
|
158598
|
+
retiredTonnes: Scalars['Float']['output'];
|
|
158599
|
+
serialEnd?: Maybe<Scalars['String']['output']>;
|
|
158600
|
+
serialStart?: Maybe<Scalars['String']['output']>;
|
|
158601
|
+
status: TheCarbonCreditStatus;
|
|
158602
|
+
unitCost?: Maybe<Scalars['Float']['output']>;
|
|
158603
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
158604
|
+
vintageYear: Scalars['Int']['output'];
|
|
158605
|
+
workspaceId: Scalars['ID']['output'];
|
|
158606
|
+
};
|
|
158607
|
+
|
|
158608
|
+
export type TheCarbonCreditConnection = {
|
|
158609
|
+
__typename?: 'TheCarbonCreditConnection';
|
|
158610
|
+
items: Array<TheCarbonCredit>;
|
|
158611
|
+
pageInfo: ThePageInfo;
|
|
158612
|
+
};
|
|
158613
|
+
|
|
158614
|
+
/** Lifecycle of a carbon-credit holding. Retirements move it from ACTIVE to PARTIALLY_RETIRED and then RETIRED; only an ACTIVE holding with nothing retired can be CANCELLED. */
|
|
158615
|
+
export enum TheCarbonCreditStatus {
|
|
158616
|
+
ACTIVE = 'ACTIVE',
|
|
158617
|
+
CANCELLED = 'CANCELLED',
|
|
158618
|
+
PARTIALLY_RETIRED = 'PARTIALLY_RETIRED',
|
|
158619
|
+
RETIRED = 'RETIRED'
|
|
158620
|
+
}
|
|
158621
|
+
|
|
158622
|
+
/** Offset matching for a reporting period: the period's emission records netted against the carbon-credit retirements claimed for it. A record or retirement counts when its period overlaps the requested one (the same rule ESG disclosures use). */
|
|
158623
|
+
export type TheCarbonOffsetPosition = {
|
|
158624
|
+
__typename?: 'TheCarbonOffsetPosition';
|
|
158625
|
+
assetId?: Maybe<Scalars['ID']['output']>;
|
|
158626
|
+
byScope: Array<TheScopeOffsetRow>;
|
|
158627
|
+
byVintage: Array<TheVintageOffsetRow>;
|
|
158628
|
+
/** Offset share of gross emissions, 0-100. Null when the period has no emissions. */
|
|
158629
|
+
coveragePct?: Maybe<Scalars['Float']['output']>;
|
|
158630
|
+
grossCo2eTonnes: Scalars['Float']['output'];
|
|
158631
|
+
netCo2eTonnes: Scalars['Float']['output'];
|
|
158632
|
+
offsetTonnes: Scalars['Float']['output'];
|
|
158633
|
+
oldVintageTonnes: Scalars['Float']['output'];
|
|
158634
|
+
overOffsetTonnes: Scalars['Float']['output'];
|
|
158635
|
+
periodEnd: Scalars['DateTime']['output'];
|
|
158636
|
+
periodStart: Scalars['DateTime']['output'];
|
|
158637
|
+
retirementCount: Scalars['Int']['output'];
|
|
158638
|
+
unretiredBalanceTonnes: Scalars['Float']['output'];
|
|
158639
|
+
unscopedOffsetTonnes: Scalars['Float']['output'];
|
|
158640
|
+
};
|
|
158641
|
+
|
|
158642
|
+
/** Carbon-credit registry a holding was issued on. */
|
|
158643
|
+
export enum TheCarbonRegistry {
|
|
158644
|
+
ACR = 'ACR',
|
|
158645
|
+
ARTICLE_6 = 'ARTICLE_6',
|
|
158646
|
+
CAR = 'CAR',
|
|
158647
|
+
CDM = 'CDM',
|
|
158648
|
+
GOLD_STANDARD = 'GOLD_STANDARD',
|
|
158649
|
+
ISOMETRIC = 'ISOMETRIC',
|
|
158650
|
+
OTHER = 'OTHER',
|
|
158651
|
+
PURO_EARTH = 'PURO_EARTH',
|
|
158652
|
+
VERRA = 'VERRA'
|
|
158653
|
+
}
|
|
158654
|
+
|
|
158655
|
+
/** A permanent retirement of part of a carbon-credit holding, claimed against an emissions reporting period and optionally one asset and GHG scope. */
|
|
158656
|
+
export type TheCarbonRetirement = {
|
|
158657
|
+
__typename?: 'TheCarbonRetirement';
|
|
158658
|
+
asset?: Maybe<TheAsset>;
|
|
158659
|
+
assetId?: Maybe<Scalars['ID']['output']>;
|
|
158660
|
+
beneficiary: Scalars['String']['output'];
|
|
158661
|
+
createdAt: Scalars['DateTime']['output'];
|
|
158662
|
+
credit: TheCarbonCredit;
|
|
158663
|
+
creditId: Scalars['ID']['output'];
|
|
158664
|
+
id: Scalars['ID']['output'];
|
|
158665
|
+
periodEnd: Scalars['DateTime']['output'];
|
|
158666
|
+
periodStart: Scalars['DateTime']['output'];
|
|
158667
|
+
quantityTonnes: Scalars['Float']['output'];
|
|
158668
|
+
reason?: Maybe<Scalars['String']['output']>;
|
|
158669
|
+
registryReference?: Maybe<Scalars['String']['output']>;
|
|
158670
|
+
retiredAt: Scalars['DateTime']['output'];
|
|
158671
|
+
scope?: Maybe<TheEmissionScope>;
|
|
158672
|
+
workspaceId: Scalars['ID']['output'];
|
|
158673
|
+
};
|
|
158674
|
+
|
|
158675
|
+
export type TheCarbonRetirementConnection = {
|
|
158676
|
+
__typename?: 'TheCarbonRetirementConnection';
|
|
158677
|
+
items: Array<TheCarbonRetirement>;
|
|
158678
|
+
pageInfo: ThePageInfo;
|
|
158679
|
+
};
|
|
158680
|
+
|
|
157565
158681
|
export type TheCloseAllocationPeriodInput = {
|
|
157566
158682
|
/** Close the period for one measurement asset only; omit to close it for every asset. */
|
|
157567
158683
|
assetId?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -157631,6 +158747,26 @@ export enum TheComplianceStatus {
|
|
|
157631
158747
|
SUBMITTED = 'SUBMITTED'
|
|
157632
158748
|
}
|
|
157633
158749
|
|
|
158750
|
+
/** How a committed contract turns into a daily demand (SELL) or supply (BUY) signal. */
|
|
158751
|
+
export type TheContractDemand = {
|
|
158752
|
+
__typename?: 'TheContractDemand';
|
|
158753
|
+
contractId: Scalars['ID']['output'];
|
|
158754
|
+
counterparty: Scalars['String']['output'];
|
|
158755
|
+
currency: Scalars['String']['output'];
|
|
158756
|
+
dailyRate: Scalars['Float']['output'];
|
|
158757
|
+
endDate?: Maybe<Scalars['DateTime']['output']>;
|
|
158758
|
+
/** Volume falling inside the forecast horizon. */
|
|
158759
|
+
horizonVolume: Scalars['Float']['output'];
|
|
158760
|
+
/** True when the contract has no end date and was spread over the horizon. */
|
|
158761
|
+
openEnded: Scalars['Boolean']['output'];
|
|
158762
|
+
pricePerUnit: Scalars['Float']['output'];
|
|
158763
|
+
reference: Scalars['String']['output'];
|
|
158764
|
+
/** Contracted volume not yet delivered, in the forecast unit. */
|
|
158765
|
+
remainingVolume: Scalars['Float']['output'];
|
|
158766
|
+
side: TheContractSide;
|
|
158767
|
+
startDate?: Maybe<Scalars['DateTime']['output']>;
|
|
158768
|
+
};
|
|
158769
|
+
|
|
157634
158770
|
export type TheContractEntitlement = {
|
|
157635
158771
|
__typename?: 'TheContractEntitlement';
|
|
157636
158772
|
allocationEntryId: Scalars['ID']['output'];
|
|
@@ -157656,6 +158792,20 @@ export type TheContractEntitlementConnection = {
|
|
|
157656
158792
|
pageInfo: ThePageInfo;
|
|
157657
158793
|
};
|
|
157658
158794
|
|
|
158795
|
+
export type TheContractFulfilment = {
|
|
158796
|
+
__typename?: 'TheContractFulfilment';
|
|
158797
|
+
contractId: Scalars['ID']['output'];
|
|
158798
|
+
contractReference: Scalars['String']['output'];
|
|
158799
|
+
counterparty: Scalars['String']['output'];
|
|
158800
|
+
/** Volume due inside the horizon. */
|
|
158801
|
+
demand: Scalars['Float']['output'];
|
|
158802
|
+
dispatched: Scalars['Float']['output'];
|
|
158803
|
+
endDate?: Maybe<Scalars['DateTime']['output']>;
|
|
158804
|
+
fulfilmentPct: Scalars['Float']['output'];
|
|
158805
|
+
/** Volume still owed at the end of the horizon. */
|
|
158806
|
+
shortfall: Scalars['Float']['output'];
|
|
158807
|
+
};
|
|
158808
|
+
|
|
157659
158809
|
/** A contract's entitlement from approved allocations against its lifted (delivered) volume, in the contract's unit. */
|
|
157660
158810
|
export type TheContractLiftingPosition = {
|
|
157661
158811
|
__typename?: 'TheContractLiftingPosition';
|
|
@@ -157864,6 +159014,20 @@ export type TheCreateReserveEstimateInput = {
|
|
|
157864
159014
|
unit?: InputMaybe<TheUnit>;
|
|
157865
159015
|
};
|
|
157866
159016
|
|
|
159017
|
+
export type TheCreateServiceContractInput = {
|
|
159018
|
+
currency?: InputMaybe<Scalars['String']['input']>;
|
|
159019
|
+
endDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
159020
|
+
notes?: InputMaybe<Scalars['String']['input']>;
|
|
159021
|
+
paymentTerms?: InputMaybe<Scalars['String']['input']>;
|
|
159022
|
+
reference: Scalars['String']['input'];
|
|
159023
|
+
renewalNoticeDays?: InputMaybe<Scalars['Int']['input']>;
|
|
159024
|
+
scope?: InputMaybe<Scalars['String']['input']>;
|
|
159025
|
+
startDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
159026
|
+
supplierId: Scalars['ID']['input'];
|
|
159027
|
+
title: Scalars['String']['input'];
|
|
159028
|
+
value?: InputMaybe<Scalars['Float']['input']>;
|
|
159029
|
+
};
|
|
159030
|
+
|
|
157867
159031
|
export type TheCreateShipmentInput = {
|
|
157868
159032
|
carrier?: InputMaybe<Scalars['String']['input']>;
|
|
157869
159033
|
contractId: Scalars['ID']['input'];
|
|
@@ -157879,6 +159043,24 @@ export type TheCreateShipmentInput = {
|
|
|
157879
159043
|
volume: Scalars['Float']['input'];
|
|
157880
159044
|
};
|
|
157881
159045
|
|
|
159046
|
+
export type TheCreateSupplierInput = {
|
|
159047
|
+
address?: InputMaybe<Scalars['String']['input']>;
|
|
159048
|
+
classification?: InputMaybe<TheSupplierClassification>;
|
|
159049
|
+
code?: InputMaybe<Scalars['String']['input']>;
|
|
159050
|
+
country?: InputMaybe<Scalars['String']['input']>;
|
|
159051
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
159052
|
+
legalName?: InputMaybe<Scalars['String']['input']>;
|
|
159053
|
+
name: Scalars['String']['input'];
|
|
159054
|
+
notes?: InputMaybe<Scalars['String']['input']>;
|
|
159055
|
+
phone?: InputMaybe<Scalars['String']['input']>;
|
|
159056
|
+
riskLevel?: InputMaybe<TheSupplierRiskLevel>;
|
|
159057
|
+
scope?: InputMaybe<Scalars['String']['input']>;
|
|
159058
|
+
/** Initial status: PROSPECTIVE (default) or APPROVED. ON_HOLD, BLOCKED and INACTIVE are set afterwards with theSetSupplierStatus. */
|
|
159059
|
+
status?: InputMaybe<TheSupplierStatus>;
|
|
159060
|
+
taxId?: InputMaybe<Scalars['String']['input']>;
|
|
159061
|
+
website?: InputMaybe<Scalars['String']['input']>;
|
|
159062
|
+
};
|
|
159063
|
+
|
|
157882
159064
|
export type TheCreateWorkOrderInput = {
|
|
157883
159065
|
/** Required unless equipmentId is given (the asset is then taken from the equipment). */
|
|
157884
159066
|
assetId?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -157894,6 +159076,45 @@ export type TheCreateWorkOrderInput = {
|
|
|
157894
159076
|
type?: InputMaybe<TheWorkOrderType>;
|
|
157895
159077
|
};
|
|
157896
159078
|
|
|
159079
|
+
export type TheCurrencyAmount = {
|
|
159080
|
+
__typename?: 'TheCurrencyAmount';
|
|
159081
|
+
amount: Scalars['Float']['output'];
|
|
159082
|
+
currency: Scalars['String']['output'];
|
|
159083
|
+
};
|
|
159084
|
+
|
|
159085
|
+
export type TheDemandForecast = {
|
|
159086
|
+
__typename?: 'TheDemandForecast';
|
|
159087
|
+
commodity: TheCommodityType;
|
|
159088
|
+
contracts: Array<TheContractDemand>;
|
|
159089
|
+
horizonDays: Scalars['Int']['output'];
|
|
159090
|
+
points: Array<TheDemandPoint>;
|
|
159091
|
+
totalDemand: Scalars['Float']['output'];
|
|
159092
|
+
totalInbound: Scalars['Float']['output'];
|
|
159093
|
+
unit: TheUnit;
|
|
159094
|
+
warnings: Array<Scalars['String']['output']>;
|
|
159095
|
+
};
|
|
159096
|
+
|
|
159097
|
+
export type TheDemandPoint = {
|
|
159098
|
+
__typename?: 'TheDemandPoint';
|
|
159099
|
+
date: Scalars['DateTime']['output'];
|
|
159100
|
+
/** Volume due to buyers under sales contracts that day. */
|
|
159101
|
+
demand: Scalars['Float']['output'];
|
|
159102
|
+
/** Volume arriving under purchase contracts that day. */
|
|
159103
|
+
inbound: Scalars['Float']['output'];
|
|
159104
|
+
};
|
|
159105
|
+
|
|
159106
|
+
/** Recommended dispatch volume for one contract in one week (weeks start Monday, UTC). */
|
|
159107
|
+
export type TheDispatchRecommendation = {
|
|
159108
|
+
__typename?: 'TheDispatchRecommendation';
|
|
159109
|
+
contractId: Scalars['ID']['output'];
|
|
159110
|
+
contractReference: Scalars['String']['output'];
|
|
159111
|
+
counterparty: Scalars['String']['output'];
|
|
159112
|
+
currency: Scalars['String']['output'];
|
|
159113
|
+
estimatedRevenue: Scalars['Float']['output'];
|
|
159114
|
+
volume: Scalars['Float']['output'];
|
|
159115
|
+
weekStart: Scalars['DateTime']['output'];
|
|
159116
|
+
};
|
|
159117
|
+
|
|
157897
159118
|
export type TheEmissionRecord = {
|
|
157898
159119
|
__typename?: 'TheEmissionRecord';
|
|
157899
159120
|
assetId?: Maybe<Scalars['ID']['output']>;
|
|
@@ -157994,6 +159215,23 @@ export type TheEsgDisclosureConnection = {
|
|
|
157994
159215
|
pageInfo: ThePageInfo;
|
|
157995
159216
|
};
|
|
157996
159217
|
|
|
159218
|
+
/** Audit-ready export of one ESG disclosure: its snapshot datapoints followed by every emission record and carbon-credit retirement in its period, as CSV, with a SHA-256 digest of the file. */
|
|
159219
|
+
export type TheEsgDisclosureExport = {
|
|
159220
|
+
__typename?: 'TheEsgDisclosureExport';
|
|
159221
|
+
content: Scalars['String']['output'];
|
|
159222
|
+
contentType: Scalars['String']['output'];
|
|
159223
|
+
disclosureId: Scalars['ID']['output'];
|
|
159224
|
+
emissionRecordCount: Scalars['Int']['output'];
|
|
159225
|
+
exportedAt: Scalars['DateTime']['output'];
|
|
159226
|
+
filename: Scalars['String']['output'];
|
|
159227
|
+
lineageCo2eTonnes: Scalars['Float']['output'];
|
|
159228
|
+
/** False when the period's emission records changed after the disclosure was generated. */
|
|
159229
|
+
lineageMatchesSnapshot: Scalars['Boolean']['output'];
|
|
159230
|
+
retirementCount: Scalars['Int']['output'];
|
|
159231
|
+
sha256: Scalars['String']['output'];
|
|
159232
|
+
truncated: Scalars['Boolean']['output'];
|
|
159233
|
+
};
|
|
159234
|
+
|
|
157997
159235
|
export enum TheEsgDisclosureStatus {
|
|
157998
159236
|
DRAFT = 'DRAFT',
|
|
157999
159237
|
FINAL = 'FINAL'
|
|
@@ -158008,6 +159246,80 @@ export enum TheEsgFramework {
|
|
|
158008
159246
|
SEC_CLIMATE = 'SEC_CLIMATE'
|
|
158009
159247
|
}
|
|
158010
159248
|
|
|
159249
|
+
/** Reported daily production used to fit the forecast. */
|
|
159250
|
+
export type TheForecastHistoryPoint = {
|
|
159251
|
+
__typename?: 'TheForecastHistoryPoint';
|
|
159252
|
+
date: Scalars['DateTime']['output'];
|
|
159253
|
+
value: Scalars['Float']['output'];
|
|
159254
|
+
};
|
|
159255
|
+
|
|
159256
|
+
/** Statistical method used to project an asset's production forward. MOVING_AVERAGE: mean daily rate over the most recent 30 observations. LINEAR_TREND: least-squares straight line through the history. EXPONENTIAL_SMOOTHING: Holt's damped-trend exponential smoothing. */
|
|
159257
|
+
export enum TheForecastMethod {
|
|
159258
|
+
EXPONENTIAL_SMOOTHING = 'EXPONENTIAL_SMOOTHING',
|
|
159259
|
+
LINEAR_TREND = 'LINEAR_TREND',
|
|
159260
|
+
MOVING_AVERAGE = 'MOVING_AVERAGE'
|
|
159261
|
+
}
|
|
159262
|
+
|
|
159263
|
+
/** One forecast day: the central daily rate and its P10–P90 band. */
|
|
159264
|
+
export type TheForecastPoint = {
|
|
159265
|
+
__typename?: 'TheForecastPoint';
|
|
159266
|
+
date: Scalars['DateTime']['output'];
|
|
159267
|
+
high: Scalars['Float']['output'];
|
|
159268
|
+
low: Scalars['Float']['output'];
|
|
159269
|
+
value: Scalars['Float']['output'];
|
|
159270
|
+
};
|
|
159271
|
+
|
|
159272
|
+
/** A saved set of planning assumptions for one commodity. Running it projects production, derives demand from committed contracts, simulates inventory and recommends dispatches. Only the assumptions are stored; results are always computed from live data. */
|
|
159273
|
+
export type TheForecastScenario = {
|
|
159274
|
+
__typename?: 'TheForecastScenario';
|
|
159275
|
+
/** Assets included; empty means every PRODUCING asset of the commodity. */
|
|
159276
|
+
assetIds: Array<Scalars['ID']['output']>;
|
|
159277
|
+
commodity: TheCommodityType;
|
|
159278
|
+
createdAt: Scalars['DateTime']['output'];
|
|
159279
|
+
/** Maximum volume that can be dispatched per day; null means unconstrained. */
|
|
159280
|
+
dailyDispatchCapacity?: Maybe<Scalars['Float']['output']>;
|
|
159281
|
+
/** Demand sensitivity multiplier applied to contracted sales (1 = as contracted). */
|
|
159282
|
+
demandFactor: Scalars['Float']['output'];
|
|
159283
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
159284
|
+
historyDays: Scalars['Int']['output'];
|
|
159285
|
+
horizonDays: Scalars['Int']['output'];
|
|
159286
|
+
id: Scalars['ID']['output'];
|
|
159287
|
+
method: TheForecastMethod;
|
|
159288
|
+
name: Scalars['String']['output'];
|
|
159289
|
+
/** Opening stock; null uses the AVAILABLE inventory lots of the commodity. */
|
|
159290
|
+
openingInventory?: Maybe<Scalars['Float']['output']>;
|
|
159291
|
+
/** Production sensitivity multiplier (1 = forecast as fitted). */
|
|
159292
|
+
productionFactor: Scalars['Float']['output'];
|
|
159293
|
+
/** Storage capacity; null means unconstrained. Production that cannot be stored is curtailed. */
|
|
159294
|
+
storageCapacity?: Maybe<Scalars['Float']['output']>;
|
|
159295
|
+
/** Unit every volume in the scenario is reported in. */
|
|
159296
|
+
unit: TheUnit;
|
|
159297
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
159298
|
+
workspaceId: Scalars['ID']['output'];
|
|
159299
|
+
};
|
|
159300
|
+
|
|
159301
|
+
export type TheForecastScenarioConnection = {
|
|
159302
|
+
__typename?: 'TheForecastScenarioConnection';
|
|
159303
|
+
items: Array<TheForecastScenario>;
|
|
159304
|
+
pageInfo: ThePageInfo;
|
|
159305
|
+
};
|
|
159306
|
+
|
|
159307
|
+
export type TheForecastScenarioInput = {
|
|
159308
|
+
assetIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
159309
|
+
commodity: TheCommodityType;
|
|
159310
|
+
dailyDispatchCapacity?: InputMaybe<Scalars['Float']['input']>;
|
|
159311
|
+
demandFactor?: InputMaybe<Scalars['Float']['input']>;
|
|
159312
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
159313
|
+
historyDays?: InputMaybe<Scalars['Int']['input']>;
|
|
159314
|
+
horizonDays?: InputMaybe<Scalars['Int']['input']>;
|
|
159315
|
+
method?: InputMaybe<TheForecastMethod>;
|
|
159316
|
+
name: Scalars['String']['input'];
|
|
159317
|
+
openingInventory?: InputMaybe<Scalars['Float']['input']>;
|
|
159318
|
+
productionFactor?: InputMaybe<Scalars['Float']['input']>;
|
|
159319
|
+
storageCapacity?: InputMaybe<Scalars['Float']['input']>;
|
|
159320
|
+
unit?: InputMaybe<TheUnit>;
|
|
159321
|
+
};
|
|
159322
|
+
|
|
158011
159323
|
export type TheGenerateEsgDisclosureInput = {
|
|
158012
159324
|
framework: TheEsgFramework;
|
|
158013
159325
|
notes?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -158153,6 +159465,13 @@ export enum TheLiftingPositionKind {
|
|
|
158153
159465
|
UNDER_LIFTED = 'UNDER_LIFTED'
|
|
158154
159466
|
}
|
|
158155
159467
|
|
|
159468
|
+
export type TheLinkShipmentSourceInput = {
|
|
159469
|
+
lotId: Scalars['ID']['input'];
|
|
159470
|
+
/** Quantity of the lot loaded, in the shipment's unit. Re-linking the same lot replaces it. */
|
|
159471
|
+
quantity: Scalars['Float']['input'];
|
|
159472
|
+
shipmentId: Scalars['ID']['input'];
|
|
159473
|
+
};
|
|
159474
|
+
|
|
158156
159475
|
/** Live counts for the maintenance dashboard. */
|
|
158157
159476
|
export type TheMaintenanceDashboard = {
|
|
158158
159477
|
__typename?: 'TheMaintenanceDashboard';
|
|
@@ -158277,6 +159596,9 @@ export type TheOfftakeContract = {
|
|
|
158277
159596
|
signedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
158278
159597
|
startDate?: Maybe<Scalars['DateTime']['output']>;
|
|
158279
159598
|
status: TheContractStatus;
|
|
159599
|
+
supplier?: Maybe<TheSupplier>;
|
|
159600
|
+
/** The counterparty in the supplier register, if linked. `counterparty` stays the free-text name of record. */
|
|
159601
|
+
supplierId?: Maybe<Scalars['ID']['output']>;
|
|
158280
159602
|
unit: TheUnit;
|
|
158281
159603
|
updatedAt: Scalars['DateTime']['output'];
|
|
158282
159604
|
workspaceId: Scalars['ID']['output'];
|
|
@@ -158299,6 +159621,84 @@ export type ThePageInfo = {
|
|
|
158299
159621
|
hasMore: Scalars['Boolean']['output'];
|
|
158300
159622
|
};
|
|
158301
159623
|
|
|
159624
|
+
export type ThePortfolioAssetStatusCount = {
|
|
159625
|
+
__typename?: 'ThePortfolioAssetStatusCount';
|
|
159626
|
+
count: Scalars['Int']['output'];
|
|
159627
|
+
status: TheAssetStatus;
|
|
159628
|
+
};
|
|
159629
|
+
|
|
159630
|
+
/** Live offtake commitments (SIGNED or ACTIVE contracts). Contracts carry no region, so commitments follow the commodity filter but not the region filter. */
|
|
159631
|
+
export type ThePortfolioCommitment = {
|
|
159632
|
+
__typename?: 'ThePortfolioCommitment';
|
|
159633
|
+
commodity: TheCommodityType;
|
|
159634
|
+
contractCount: Scalars['Int']['output'];
|
|
159635
|
+
contractedVolume: Scalars['Float']['output'];
|
|
159636
|
+
deliveredVolume: Scalars['Float']['output'];
|
|
159637
|
+
remainingVolume: Scalars['Float']['output'];
|
|
159638
|
+
side: TheContractSide;
|
|
159639
|
+
unit: TheUnit;
|
|
159640
|
+
};
|
|
159641
|
+
|
|
159642
|
+
export type ThePortfolioMoney = {
|
|
159643
|
+
__typename?: 'ThePortfolioMoney';
|
|
159644
|
+
amount: Scalars['Float']['output'];
|
|
159645
|
+
currency: Scalars['String']['output'];
|
|
159646
|
+
};
|
|
159647
|
+
|
|
159648
|
+
export type ThePortfolioOverview = {
|
|
159649
|
+
__typename?: 'ThePortfolioOverview';
|
|
159650
|
+
assetsByStatus: Array<ThePortfolioAssetStatusCount>;
|
|
159651
|
+
commitments: Array<ThePortfolioCommitment>;
|
|
159652
|
+
commodity?: Maybe<TheCommodityType>;
|
|
159653
|
+
generatedAt: Scalars['DateTime']['output'];
|
|
159654
|
+
inventory: Array<ThePortfolioQuantity>;
|
|
159655
|
+
inventoryTruncated: Scalars['Boolean']['output'];
|
|
159656
|
+
inventoryValue: Array<ThePortfolioMoney>;
|
|
159657
|
+
periodEnd: Scalars['DateTime']['output'];
|
|
159658
|
+
periodStart: Scalars['DateTime']['output'];
|
|
159659
|
+
production: Array<ThePortfolioQuantity>;
|
|
159660
|
+
region?: Maybe<Scalars['String']['output']>;
|
|
159661
|
+
/** Every region in the workspace (for the region filter), regardless of filters. */
|
|
159662
|
+
regions: Array<Scalars['String']['output']>;
|
|
159663
|
+
segments: Array<ThePortfolioSegment>;
|
|
159664
|
+
totals: ThePortfolioTotals;
|
|
159665
|
+
};
|
|
159666
|
+
|
|
159667
|
+
export type ThePortfolioQuantity = {
|
|
159668
|
+
__typename?: 'ThePortfolioQuantity';
|
|
159669
|
+
commodity: TheCommodityType;
|
|
159670
|
+
quantity: Scalars['Float']['output'];
|
|
159671
|
+
unit: TheUnit;
|
|
159672
|
+
};
|
|
159673
|
+
|
|
159674
|
+
/** One commodity in one region. The region is the last comma-separated part of the asset location (usually the country); assets without a location fall in "Unassigned". */
|
|
159675
|
+
export type ThePortfolioSegment = {
|
|
159676
|
+
__typename?: 'ThePortfolioSegment';
|
|
159677
|
+
assetCount: Scalars['Int']['output'];
|
|
159678
|
+
commodity: TheCommodityType;
|
|
159679
|
+
emissionsCo2eTonnes: Scalars['Float']['output'];
|
|
159680
|
+
inventory: Array<ThePortfolioQuantity>;
|
|
159681
|
+
producingAssetCount: Scalars['Int']['output'];
|
|
159682
|
+
production: Array<ThePortfolioQuantity>;
|
|
159683
|
+
region: Scalars['String']['output'];
|
|
159684
|
+
};
|
|
159685
|
+
|
|
159686
|
+
export type ThePortfolioTotals = {
|
|
159687
|
+
__typename?: 'ThePortfolioTotals';
|
|
159688
|
+
assetCount: Scalars['Int']['output'];
|
|
159689
|
+
commodityCount: Scalars['Int']['output'];
|
|
159690
|
+
complianceExpiredCount: Scalars['Int']['output'];
|
|
159691
|
+
/** APPROVED certifications expiring within 90 days. */
|
|
159692
|
+
complianceExpiringCount: Scalars['Int']['output'];
|
|
159693
|
+
emissionsCo2eTonnes: Scalars['Float']['output'];
|
|
159694
|
+
netEmissionsCo2eTonnes: Scalars['Float']['output'];
|
|
159695
|
+
offsetsRetiredTonnes: Scalars['Float']['output'];
|
|
159696
|
+
openContractCount: Scalars['Int']['output'];
|
|
159697
|
+
openSafetyIncidentCount: Scalars['Int']['output'];
|
|
159698
|
+
producingAssetCount: Scalars['Int']['output'];
|
|
159699
|
+
regionCount: Scalars['Int']['output'];
|
|
159700
|
+
};
|
|
159701
|
+
|
|
158302
159702
|
export enum ThePricingBasis {
|
|
158303
159703
|
FIXED = 'FIXED',
|
|
158304
159704
|
FORMULA = 'FORMULA',
|
|
@@ -158363,6 +159763,28 @@ export type TheProductionAllocationConnection = {
|
|
|
158363
159763
|
pageInfo: ThePageInfo;
|
|
158364
159764
|
};
|
|
158365
159765
|
|
|
159766
|
+
export type TheProductionForecast = {
|
|
159767
|
+
__typename?: 'TheProductionForecast';
|
|
159768
|
+
assetId: Scalars['ID']['output'];
|
|
159769
|
+
assetName: Scalars['String']['output'];
|
|
159770
|
+
/** Mean absolute percentage error of a hold-out backtest (fit on the first 80% of the history, tested on the last 20%). Null when there is too little history. */
|
|
159771
|
+
backtestMape?: Maybe<Scalars['Float']['output']>;
|
|
159772
|
+
/** Nameplate capacity per day in the forecast unit; null when unknown or not convertible. */
|
|
159773
|
+
capacityPerDay?: Maybe<Scalars['Float']['output']>;
|
|
159774
|
+
/** Fitted daily rate at the most recent observation. */
|
|
159775
|
+
dailyRate: Scalars['Float']['output'];
|
|
159776
|
+
history: Array<TheForecastHistoryPoint>;
|
|
159777
|
+
historyDays: Scalars['Int']['output'];
|
|
159778
|
+
horizonDays: Scalars['Int']['output'];
|
|
159779
|
+
method: TheForecastMethod;
|
|
159780
|
+
/** Days in the history window with reported production. */
|
|
159781
|
+
observations: Scalars['Int']['output'];
|
|
159782
|
+
points: Array<TheForecastPoint>;
|
|
159783
|
+
totalForecast: Scalars['Float']['output'];
|
|
159784
|
+
unit: TheUnit;
|
|
159785
|
+
warnings: Array<Scalars['String']['output']>;
|
|
159786
|
+
};
|
|
159787
|
+
|
|
158366
159788
|
export type TheProductionRecord = {
|
|
158367
159789
|
__typename?: 'TheProductionRecord';
|
|
158368
159790
|
asset?: Maybe<TheAsset>;
|
|
@@ -158390,6 +159812,53 @@ export type TheProductionRecordConnection = {
|
|
|
158390
159812
|
pageInfo: ThePageInfo;
|
|
158391
159813
|
};
|
|
158392
159814
|
|
|
159815
|
+
/** Responsible-sourcing certificate for one shipment, assembled from the real records: asset, production, inventory lot, shipment and delivery. `digest` is a SHA-256 over the canonical chain so a shared certificate can be checked. */
|
|
159816
|
+
export type TheProvenanceCertificate = {
|
|
159817
|
+
__typename?: 'TheProvenanceCertificate';
|
|
159818
|
+
complete: Scalars['Boolean']['output'];
|
|
159819
|
+
contract: TheOfftakeContract;
|
|
159820
|
+
coveragePct: Scalars['Float']['output'];
|
|
159821
|
+
digest: Scalars['String']['output'];
|
|
159822
|
+
gaps: Array<TheProvenanceGap>;
|
|
159823
|
+
issuedAt: Scalars['DateTime']['output'];
|
|
159824
|
+
referenceDate: Scalars['DateTime']['output'];
|
|
159825
|
+
shipment: TheShipment;
|
|
159826
|
+
sourcedVolume: Scalars['Float']['output'];
|
|
159827
|
+
sources: Array<TheProvenanceSourceLink>;
|
|
159828
|
+
};
|
|
159829
|
+
|
|
159830
|
+
export type TheProvenanceCertification = {
|
|
159831
|
+
__typename?: 'TheProvenanceCertification';
|
|
159832
|
+
cert: TheComplianceCert;
|
|
159833
|
+
/** APPROVED and unexpired on the certificate reference date. */
|
|
159834
|
+
validAtReference: Scalars['Boolean']['output'];
|
|
159835
|
+
};
|
|
159836
|
+
|
|
159837
|
+
/** A link in a custody chain that is missing, which keeps the certificate from being complete. */
|
|
159838
|
+
export enum TheProvenanceGap {
|
|
159839
|
+
LOT_WITHOUT_ASSET = 'LOT_WITHOUT_ASSET',
|
|
159840
|
+
NOT_DELIVERED = 'NOT_DELIVERED',
|
|
159841
|
+
NO_PRODUCTION_RECORD = 'NO_PRODUCTION_RECORD',
|
|
159842
|
+
NO_SOURCES = 'NO_SOURCES',
|
|
159843
|
+
NO_TRANSPORT_DOCUMENT = 'NO_TRANSPORT_DOCUMENT',
|
|
159844
|
+
NO_VALID_CERTIFICATION = 'NO_VALID_CERTIFICATION',
|
|
159845
|
+
UNSOURCED_VOLUME = 'UNSOURCED_VOLUME'
|
|
159846
|
+
}
|
|
159847
|
+
|
|
159848
|
+
/** One source lot of a shipment traced back to its producing asset, the production records it came from, the certifications covering that asset, and the asset's emission intensity over the same window. */
|
|
159849
|
+
export type TheProvenanceSourceLink = {
|
|
159850
|
+
__typename?: 'TheProvenanceSourceLink';
|
|
159851
|
+
asset?: Maybe<TheAsset>;
|
|
159852
|
+
certifications: Array<TheProvenanceCertification>;
|
|
159853
|
+
/** tCO2e per unit of production over the matched window. Null without production. */
|
|
159854
|
+
emissionIntensity?: Maybe<Scalars['Float']['output']>;
|
|
159855
|
+
emissionsCo2eTonnes: Scalars['Float']['output'];
|
|
159856
|
+
lot: TheInventoryLot;
|
|
159857
|
+
producedVolume: Scalars['Float']['output'];
|
|
159858
|
+
productionRecords: Array<TheProductionRecord>;
|
|
159859
|
+
source: TheShipmentSource;
|
|
159860
|
+
};
|
|
159861
|
+
|
|
158393
159862
|
export type TheRecordEmissionInput = {
|
|
158394
159863
|
assetId?: InputMaybe<Scalars['ID']['input']>;
|
|
158395
159864
|
co2eTonnes: Scalars['Float']['input'];
|
|
@@ -158413,6 +159882,35 @@ export type TheRecordProductionInput = {
|
|
|
158413
159882
|
volume: Scalars['Float']['input'];
|
|
158414
159883
|
};
|
|
158415
159884
|
|
|
159885
|
+
export type TheRecordSupplierScorecardInput = {
|
|
159886
|
+
comments?: InputMaybe<Scalars['String']['input']>;
|
|
159887
|
+
commercialScore: Scalars['Float']['input'];
|
|
159888
|
+
deliveryScore: Scalars['Float']['input'];
|
|
159889
|
+
periodEnd: Scalars['DateTime']['input'];
|
|
159890
|
+
periodStart: Scalars['DateTime']['input'];
|
|
159891
|
+
qualityScore: Scalars['Float']['input'];
|
|
159892
|
+
safetyScore: Scalars['Float']['input'];
|
|
159893
|
+
/** Optionally scope the review to one service contract of the supplier. */
|
|
159894
|
+
serviceContractId?: InputMaybe<Scalars['ID']['input']>;
|
|
159895
|
+
supplierId: Scalars['ID']['input'];
|
|
159896
|
+
};
|
|
159897
|
+
|
|
159898
|
+
export type TheRegisterCarbonCreditInput = {
|
|
159899
|
+
acquiredAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
159900
|
+
currency?: InputMaybe<Scalars['String']['input']>;
|
|
159901
|
+
evidenceFileId?: InputMaybe<Scalars['ID']['input']>;
|
|
159902
|
+
methodology?: InputMaybe<Scalars['String']['input']>;
|
|
159903
|
+
notes?: InputMaybe<Scalars['String']['input']>;
|
|
159904
|
+
projectId: Scalars['String']['input'];
|
|
159905
|
+
projectName: Scalars['String']['input'];
|
|
159906
|
+
quantityTonnes: Scalars['Float']['input'];
|
|
159907
|
+
registry?: InputMaybe<TheCarbonRegistry>;
|
|
159908
|
+
serialEnd?: InputMaybe<Scalars['String']['input']>;
|
|
159909
|
+
serialStart?: InputMaybe<Scalars['String']['input']>;
|
|
159910
|
+
unitCost?: InputMaybe<Scalars['Float']['input']>;
|
|
159911
|
+
vintageYear: Scalars['Int']['input'];
|
|
159912
|
+
};
|
|
159913
|
+
|
|
158416
159914
|
export type TheReportSafetyIncidentInput = {
|
|
158417
159915
|
assetId?: InputMaybe<Scalars['ID']['input']>;
|
|
158418
159916
|
category?: InputMaybe<TheSafetyIncidentCategory>;
|
|
@@ -158464,6 +159962,19 @@ export type TheResetUnitConversionInput = {
|
|
|
158464
159962
|
toUnit: TheUnit;
|
|
158465
159963
|
};
|
|
158466
159964
|
|
|
159965
|
+
export type TheRetireCarbonCreditsInput = {
|
|
159966
|
+
assetId?: InputMaybe<Scalars['ID']['input']>;
|
|
159967
|
+
beneficiary: Scalars['String']['input'];
|
|
159968
|
+
creditId: Scalars['ID']['input'];
|
|
159969
|
+
periodEnd: Scalars['DateTime']['input'];
|
|
159970
|
+
periodStart: Scalars['DateTime']['input'];
|
|
159971
|
+
quantityTonnes: Scalars['Float']['input'];
|
|
159972
|
+
reason?: InputMaybe<Scalars['String']['input']>;
|
|
159973
|
+
registryReference?: InputMaybe<Scalars['String']['input']>;
|
|
159974
|
+
retiredAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
159975
|
+
scope?: InputMaybe<TheEmissionScope>;
|
|
159976
|
+
};
|
|
159977
|
+
|
|
158467
159978
|
export type TheSafetyCategoryCount = {
|
|
158468
159979
|
__typename?: 'TheSafetyCategoryCount';
|
|
158469
159980
|
category: TheSafetyIncidentCategory;
|
|
@@ -158540,6 +160051,112 @@ export type TheSafetySeverityCount = {
|
|
|
158540
160051
|
severity: TheSafetyIncidentSeverity;
|
|
158541
160052
|
};
|
|
158542
160053
|
|
|
160054
|
+
/** One simulated day of the resource chain. */
|
|
160055
|
+
export type TheScenarioDay = {
|
|
160056
|
+
__typename?: 'TheScenarioDay';
|
|
160057
|
+
/** Contracted volume due but not yet dispatched at the end of the day. */
|
|
160058
|
+
backlog: Scalars['Float']['output'];
|
|
160059
|
+
/** Production that could not be stored because storage was full. */
|
|
160060
|
+
curtailed: Scalars['Float']['output'];
|
|
160061
|
+
date: Scalars['DateTime']['output'];
|
|
160062
|
+
demand: Scalars['Float']['output'];
|
|
160063
|
+
dispatched: Scalars['Float']['output'];
|
|
160064
|
+
inbound: Scalars['Float']['output'];
|
|
160065
|
+
inventory: Scalars['Float']['output'];
|
|
160066
|
+
production: Scalars['Float']['output'];
|
|
160067
|
+
productionHigh: Scalars['Float']['output'];
|
|
160068
|
+
productionLow: Scalars['Float']['output'];
|
|
160069
|
+
};
|
|
160070
|
+
|
|
160071
|
+
export type TheScenarioResult = {
|
|
160072
|
+
__typename?: 'TheScenarioResult';
|
|
160073
|
+
assets: Array<TheAssetForecastSummary>;
|
|
160074
|
+
commodity: TheCommodityType;
|
|
160075
|
+
contracts: Array<TheContractFulfilment>;
|
|
160076
|
+
days: Array<TheScenarioDay>;
|
|
160077
|
+
dispatchPlan: Array<TheDispatchRecommendation>;
|
|
160078
|
+
generatedAt: Scalars['DateTime']['output'];
|
|
160079
|
+
horizonDays: Scalars['Int']['output'];
|
|
160080
|
+
method: TheForecastMethod;
|
|
160081
|
+
name: Scalars['String']['output'];
|
|
160082
|
+
/** The saved scenario; null for a preview of unsaved assumptions. */
|
|
160083
|
+
scenario?: Maybe<TheForecastScenario>;
|
|
160084
|
+
summary: TheScenarioSummary;
|
|
160085
|
+
unit: TheUnit;
|
|
160086
|
+
warnings: Array<Scalars['String']['output']>;
|
|
160087
|
+
};
|
|
160088
|
+
|
|
160089
|
+
export type TheScenarioSummary = {
|
|
160090
|
+
__typename?: 'TheScenarioSummary';
|
|
160091
|
+
/** Days ending with contracted volume still owed. */
|
|
160092
|
+
backlogDays: Scalars['Int']['output'];
|
|
160093
|
+
closingInventory: Scalars['Float']['output'];
|
|
160094
|
+
/** Estimated sales revenue of the recommended dispatches, per currency. */
|
|
160095
|
+
estimatedRevenue: Array<TheCurrencyAmount>;
|
|
160096
|
+
fulfilmentPct: Scalars['Float']['output'];
|
|
160097
|
+
minInventory: Scalars['Float']['output'];
|
|
160098
|
+
openingInventory: Scalars['Float']['output'];
|
|
160099
|
+
peakInventory: Scalars['Float']['output'];
|
|
160100
|
+
totalCurtailed: Scalars['Float']['output'];
|
|
160101
|
+
totalDemand: Scalars['Float']['output'];
|
|
160102
|
+
totalDispatched: Scalars['Float']['output'];
|
|
160103
|
+
totalInbound: Scalars['Float']['output'];
|
|
160104
|
+
totalProduction: Scalars['Float']['output'];
|
|
160105
|
+
totalShortfall: Scalars['Float']['output'];
|
|
160106
|
+
};
|
|
160107
|
+
|
|
160108
|
+
export type TheScopeOffsetRow = {
|
|
160109
|
+
__typename?: 'TheScopeOffsetRow';
|
|
160110
|
+
grossCo2eTonnes: Scalars['Float']['output'];
|
|
160111
|
+
netCo2eTonnes: Scalars['Float']['output'];
|
|
160112
|
+
offsetTonnes: Scalars['Float']['output'];
|
|
160113
|
+
scope: TheEmissionScope;
|
|
160114
|
+
};
|
|
160115
|
+
|
|
160116
|
+
export type TheServiceContract = {
|
|
160117
|
+
__typename?: 'TheServiceContract';
|
|
160118
|
+
activatedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
160119
|
+
createdAt: Scalars['DateTime']['output'];
|
|
160120
|
+
currency: Scalars['String']['output'];
|
|
160121
|
+
/** Whole days until the end date (negative once past), or null without an end date. */
|
|
160122
|
+
daysToExpiry?: Maybe<Scalars['Int']['output']>;
|
|
160123
|
+
endDate?: Maybe<Scalars['DateTime']['output']>;
|
|
160124
|
+
/** True when the contract is ACTIVE and ends within its renewal-notice period (or 30 days, whichever is longer). */
|
|
160125
|
+
expiringSoon: Scalars['Boolean']['output'];
|
|
160126
|
+
id: Scalars['ID']['output'];
|
|
160127
|
+
notes?: Maybe<Scalars['String']['output']>;
|
|
160128
|
+
paymentTerms?: Maybe<Scalars['String']['output']>;
|
|
160129
|
+
reference: Scalars['String']['output'];
|
|
160130
|
+
/** Days of notice needed before the end date to renew or exit. */
|
|
160131
|
+
renewalNoticeDays?: Maybe<Scalars['Int']['output']>;
|
|
160132
|
+
scope?: Maybe<Scalars['String']['output']>;
|
|
160133
|
+
startDate?: Maybe<Scalars['DateTime']['output']>;
|
|
160134
|
+
status: TheServiceContractStatus;
|
|
160135
|
+
statusReason?: Maybe<Scalars['String']['output']>;
|
|
160136
|
+
supplier?: Maybe<TheSupplier>;
|
|
160137
|
+
supplierId: Scalars['ID']['output'];
|
|
160138
|
+
terminatedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
160139
|
+
title: Scalars['String']['output'];
|
|
160140
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
160141
|
+
/** Total contract value (commitment ceiling) in `currency`. */
|
|
160142
|
+
value?: Maybe<Scalars['Float']['output']>;
|
|
160143
|
+
workspaceId: Scalars['ID']['output'];
|
|
160144
|
+
};
|
|
160145
|
+
|
|
160146
|
+
export type TheServiceContractConnection = {
|
|
160147
|
+
__typename?: 'TheServiceContractConnection';
|
|
160148
|
+
items: Array<TheServiceContract>;
|
|
160149
|
+
pageInfo: ThePageInfo;
|
|
160150
|
+
};
|
|
160151
|
+
|
|
160152
|
+
export enum TheServiceContractStatus {
|
|
160153
|
+
ACTIVE = 'ACTIVE',
|
|
160154
|
+
DRAFT = 'DRAFT',
|
|
160155
|
+
EXPIRED = 'EXPIRED',
|
|
160156
|
+
SUSPENDED = 'SUSPENDED',
|
|
160157
|
+
TERMINATED = 'TERMINATED'
|
|
160158
|
+
}
|
|
160159
|
+
|
|
158543
160160
|
export type TheSetUnitConversionInput = {
|
|
158544
160161
|
commodity: TheCommodityType;
|
|
158545
160162
|
/** One fromUnit equals this many toUnit (> 0). */
|
|
@@ -158552,6 +160169,9 @@ export type TheSetUnitConversionInput = {
|
|
|
158552
160169
|
export type TheShipment = {
|
|
158553
160170
|
__typename?: 'TheShipment';
|
|
158554
160171
|
carrier?: Maybe<Scalars['String']['output']>;
|
|
160172
|
+
carrierSupplier?: Maybe<TheSupplier>;
|
|
160173
|
+
/** The carrier in the supplier register, if linked. `carrier` stays the free-text name of record. */
|
|
160174
|
+
carrierSupplierId?: Maybe<Scalars['ID']['output']>;
|
|
158555
160175
|
contract?: Maybe<TheOfftakeContract>;
|
|
158556
160176
|
contractId: Scalars['ID']['output'];
|
|
158557
160177
|
createdAt: Scalars['DateTime']['output'];
|
|
@@ -158566,6 +160186,8 @@ export type TheShipment = {
|
|
|
158566
160186
|
origin?: Maybe<Scalars['String']['output']>;
|
|
158567
160187
|
reference: Scalars['String']['output'];
|
|
158568
160188
|
scheduledAt?: Maybe<Scalars['DateTime']['output']>;
|
|
160189
|
+
/** Inventory lots this shipment was loaded from (BOFF-4239). */
|
|
160190
|
+
sources: Array<TheShipmentSource>;
|
|
158569
160191
|
status: TheShipmentStatus;
|
|
158570
160192
|
/** Carrier-issued tracking / waybill / bill-of-lading number used to follow the movement on the carrier's own network. Surfaced on the chain-of-custody view. */
|
|
158571
160193
|
trackingId?: Maybe<Scalars['String']['output']>;
|
|
@@ -158581,6 +160203,19 @@ export type TheShipmentConnection = {
|
|
|
158581
160203
|
pageInfo: ThePageInfo;
|
|
158582
160204
|
};
|
|
158583
160205
|
|
|
160206
|
+
/** The quantity of one inventory lot loaded onto one shipment. */
|
|
160207
|
+
export type TheShipmentSource = {
|
|
160208
|
+
__typename?: 'TheShipmentSource';
|
|
160209
|
+
createdAt: Scalars['DateTime']['output'];
|
|
160210
|
+
id: Scalars['ID']['output'];
|
|
160211
|
+
lot: TheInventoryLot;
|
|
160212
|
+
lotId: Scalars['ID']['output'];
|
|
160213
|
+
quantity: Scalars['Float']['output'];
|
|
160214
|
+
shipmentId: Scalars['ID']['output'];
|
|
160215
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
160216
|
+
workspaceId: Scalars['ID']['output'];
|
|
160217
|
+
};
|
|
160218
|
+
|
|
158584
160219
|
export enum TheShipmentStatus {
|
|
158585
160220
|
CANCELLED = 'CANCELLED',
|
|
158586
160221
|
DELIVERED = 'DELIVERED',
|
|
@@ -158601,6 +160236,164 @@ export enum TheShrinkageCategory {
|
|
|
158601
160236
|
LOSS = 'LOSS'
|
|
158602
160237
|
}
|
|
158603
160238
|
|
|
160239
|
+
export type TheSupplier = {
|
|
160240
|
+
__typename?: 'TheSupplier';
|
|
160241
|
+
address?: Maybe<Scalars['String']['output']>;
|
|
160242
|
+
approvedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
160243
|
+
classification: TheSupplierClassification;
|
|
160244
|
+
/** Operator-assigned vendor number (e.g. ERP vendor code). */
|
|
160245
|
+
code?: Maybe<Scalars['String']['output']>;
|
|
160246
|
+
/** Contacts at the supplier, primary first. */
|
|
160247
|
+
contacts: Array<TheSupplierContact>;
|
|
160248
|
+
/** ISO 3166-1 alpha-2 country of registration. */
|
|
160249
|
+
country?: Maybe<Scalars['String']['output']>;
|
|
160250
|
+
createdAt: Scalars['DateTime']['output'];
|
|
160251
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
160252
|
+
id: Scalars['ID']['output'];
|
|
160253
|
+
legalName?: Maybe<Scalars['String']['output']>;
|
|
160254
|
+
name: Scalars['String']['output'];
|
|
160255
|
+
notes?: Maybe<Scalars['String']['output']>;
|
|
160256
|
+
/** Offtake contracts whose counterparty is this supplier (up to 50, newest first). */
|
|
160257
|
+
offtakeContracts: Array<TheOfftakeContract>;
|
|
160258
|
+
/** Scorecard roll-up: average, latest score, rating and trend. */
|
|
160259
|
+
performance: TheSupplierPerformance;
|
|
160260
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
160261
|
+
/** The primary contact, if any. */
|
|
160262
|
+
primaryContact?: Maybe<TheSupplierContact>;
|
|
160263
|
+
riskLevel: TheSupplierRiskLevel;
|
|
160264
|
+
/** What the supplier provides (scope of supply / services). */
|
|
160265
|
+
scope?: Maybe<Scalars['String']['output']>;
|
|
160266
|
+
/** Service contracts held with the supplier, newest first (up to 50). */
|
|
160267
|
+
serviceContracts: Array<TheServiceContract>;
|
|
160268
|
+
/** Shipments this supplier carries (up to 50, newest first). */
|
|
160269
|
+
shipments: Array<TheShipment>;
|
|
160270
|
+
status: TheSupplierStatus;
|
|
160271
|
+
/** Why the supplier is on hold, blocked or inactive. */
|
|
160272
|
+
statusReason?: Maybe<Scalars['String']['output']>;
|
|
160273
|
+
taxId?: Maybe<Scalars['String']['output']>;
|
|
160274
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
160275
|
+
website?: Maybe<Scalars['String']['output']>;
|
|
160276
|
+
/** Maintenance work orders contracted to this supplier (up to 50, newest first). */
|
|
160277
|
+
workOrders: Array<TheWorkOrder>;
|
|
160278
|
+
workspaceId: Scalars['ID']['output'];
|
|
160279
|
+
};
|
|
160280
|
+
|
|
160281
|
+
export enum TheSupplierClassification {
|
|
160282
|
+
CARRIER = 'CARRIER',
|
|
160283
|
+
COMMODITY_COUNTERPARTY = 'COMMODITY_COUNTERPARTY',
|
|
160284
|
+
DRILLING_CONTRACTOR = 'DRILLING_CONTRACTOR',
|
|
160285
|
+
EQUIPMENT_VENDOR = 'EQUIPMENT_VENDOR',
|
|
160286
|
+
HAULER = 'HAULER',
|
|
160287
|
+
LABORATORY = 'LABORATORY',
|
|
160288
|
+
MATERIALS_VENDOR = 'MATERIALS_VENDOR',
|
|
160289
|
+
OTHER = 'OTHER',
|
|
160290
|
+
SERVICE_CONTRACTOR = 'SERVICE_CONTRACTOR'
|
|
160291
|
+
}
|
|
160292
|
+
|
|
160293
|
+
export type TheSupplierClassificationCount = {
|
|
160294
|
+
__typename?: 'TheSupplierClassificationCount';
|
|
160295
|
+
classification: TheSupplierClassification;
|
|
160296
|
+
count: Scalars['Int']['output'];
|
|
160297
|
+
};
|
|
160298
|
+
|
|
160299
|
+
export type TheSupplierConnection = {
|
|
160300
|
+
__typename?: 'TheSupplierConnection';
|
|
160301
|
+
items: Array<TheSupplier>;
|
|
160302
|
+
pageInfo: ThePageInfo;
|
|
160303
|
+
};
|
|
160304
|
+
|
|
160305
|
+
export type TheSupplierContact = {
|
|
160306
|
+
__typename?: 'TheSupplierContact';
|
|
160307
|
+
createdAt: Scalars['DateTime']['output'];
|
|
160308
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
160309
|
+
id: Scalars['ID']['output'];
|
|
160310
|
+
isPrimary: Scalars['Boolean']['output'];
|
|
160311
|
+
name: Scalars['String']['output'];
|
|
160312
|
+
notes?: Maybe<Scalars['String']['output']>;
|
|
160313
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
160314
|
+
role?: Maybe<Scalars['String']['output']>;
|
|
160315
|
+
supplierId: Scalars['ID']['output'];
|
|
160316
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
160317
|
+
workspaceId: Scalars['ID']['output'];
|
|
160318
|
+
};
|
|
160319
|
+
|
|
160320
|
+
export type TheSupplierPerformance = {
|
|
160321
|
+
__typename?: 'TheSupplierPerformance';
|
|
160322
|
+
averageOverallScore?: Maybe<Scalars['Float']['output']>;
|
|
160323
|
+
lastReviewedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
160324
|
+
latestOverallScore?: Maybe<Scalars['Float']['output']>;
|
|
160325
|
+
latestRating?: Maybe<Scalars['String']['output']>;
|
|
160326
|
+
previousOverallScore?: Maybe<Scalars['Float']['output']>;
|
|
160327
|
+
scorecardCount: Scalars['Int']['output'];
|
|
160328
|
+
trend?: Maybe<TheSupplierTrend>;
|
|
160329
|
+
};
|
|
160330
|
+
|
|
160331
|
+
/** Live counts for the supplier register. */
|
|
160332
|
+
export type TheSupplierRegisterSummary = {
|
|
160333
|
+
__typename?: 'TheSupplierRegisterSummary';
|
|
160334
|
+
activeServiceContracts: Scalars['Int']['output'];
|
|
160335
|
+
averageOverallScore?: Maybe<Scalars['Float']['output']>;
|
|
160336
|
+
byClassification: Array<TheSupplierClassificationCount>;
|
|
160337
|
+
byStatus: Array<TheSupplierStatusCount>;
|
|
160338
|
+
/** ACTIVE service contracts ending within the next 30 days. */
|
|
160339
|
+
contractsExpiringSoon: Scalars['Int']['output'];
|
|
160340
|
+
highRiskSuppliers: Scalars['Int']['output'];
|
|
160341
|
+
totalSuppliers: Scalars['Int']['output'];
|
|
160342
|
+
};
|
|
160343
|
+
|
|
160344
|
+
export enum TheSupplierRiskLevel {
|
|
160345
|
+
HIGH = 'HIGH',
|
|
160346
|
+
LOW = 'LOW',
|
|
160347
|
+
MEDIUM = 'MEDIUM'
|
|
160348
|
+
}
|
|
160349
|
+
|
|
160350
|
+
/** A performance assessment of a supplier over a review period. Dimension scores are 0-100; the overall score is weighted delivery 35%, quality 30%, safety 25%, commercial 10%, and maps to a rating A (>= 85), B (>= 70), C (>= 55) or D. */
|
|
160351
|
+
export type TheSupplierScorecard = {
|
|
160352
|
+
__typename?: 'TheSupplierScorecard';
|
|
160353
|
+
comments?: Maybe<Scalars['String']['output']>;
|
|
160354
|
+
commercialScore: Scalars['Float']['output'];
|
|
160355
|
+
createdAt: Scalars['DateTime']['output'];
|
|
160356
|
+
deliveryScore: Scalars['Float']['output'];
|
|
160357
|
+
id: Scalars['ID']['output'];
|
|
160358
|
+
overallScore: Scalars['Float']['output'];
|
|
160359
|
+
periodEnd: Scalars['DateTime']['output'];
|
|
160360
|
+
periodStart: Scalars['DateTime']['output'];
|
|
160361
|
+
qualityScore: Scalars['Float']['output'];
|
|
160362
|
+
rating: Scalars['String']['output'];
|
|
160363
|
+
safetyScore: Scalars['Float']['output'];
|
|
160364
|
+
serviceContractId?: Maybe<Scalars['ID']['output']>;
|
|
160365
|
+
supplierId: Scalars['ID']['output'];
|
|
160366
|
+
workspaceId: Scalars['ID']['output'];
|
|
160367
|
+
};
|
|
160368
|
+
|
|
160369
|
+
export type TheSupplierScorecardConnection = {
|
|
160370
|
+
__typename?: 'TheSupplierScorecardConnection';
|
|
160371
|
+
items: Array<TheSupplierScorecard>;
|
|
160372
|
+
pageInfo: ThePageInfo;
|
|
160373
|
+
};
|
|
160374
|
+
|
|
160375
|
+
/** Qualification status of a supplier. Only APPROVED suppliers can hold an active service contract; BLOCKED and INACTIVE suppliers cannot be linked to new work. */
|
|
160376
|
+
export enum TheSupplierStatus {
|
|
160377
|
+
APPROVED = 'APPROVED',
|
|
160378
|
+
BLOCKED = 'BLOCKED',
|
|
160379
|
+
INACTIVE = 'INACTIVE',
|
|
160380
|
+
ON_HOLD = 'ON_HOLD',
|
|
160381
|
+
PROSPECTIVE = 'PROSPECTIVE'
|
|
160382
|
+
}
|
|
160383
|
+
|
|
160384
|
+
export type TheSupplierStatusCount = {
|
|
160385
|
+
__typename?: 'TheSupplierStatusCount';
|
|
160386
|
+
count: Scalars['Int']['output'];
|
|
160387
|
+
status: TheSupplierStatus;
|
|
160388
|
+
};
|
|
160389
|
+
|
|
160390
|
+
/** Direction of a supplier's latest scorecard against the previous one. */
|
|
160391
|
+
export enum TheSupplierTrend {
|
|
160392
|
+
DECLINING = 'DECLINING',
|
|
160393
|
+
IMPROVING = 'IMPROVING',
|
|
160394
|
+
STABLE = 'STABLE'
|
|
160395
|
+
}
|
|
160396
|
+
|
|
158604
160397
|
export enum TheTransportMode {
|
|
158605
160398
|
GRID = 'GRID',
|
|
158606
160399
|
PIPELINE = 'PIPELINE',
|
|
@@ -158671,6 +160464,23 @@ export type TheUpdateEquipmentInput = {
|
|
|
158671
160464
|
tag?: InputMaybe<Scalars['String']['input']>;
|
|
158672
160465
|
};
|
|
158673
160466
|
|
|
160467
|
+
/** Fields left out keep their stored value; pass null to clear an optional constraint. */
|
|
160468
|
+
export type TheUpdateForecastScenarioInput = {
|
|
160469
|
+
assetIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
160470
|
+
commodity?: InputMaybe<TheCommodityType>;
|
|
160471
|
+
dailyDispatchCapacity?: InputMaybe<Scalars['Float']['input']>;
|
|
160472
|
+
demandFactor?: InputMaybe<Scalars['Float']['input']>;
|
|
160473
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
160474
|
+
historyDays?: InputMaybe<Scalars['Int']['input']>;
|
|
160475
|
+
horizonDays?: InputMaybe<Scalars['Int']['input']>;
|
|
160476
|
+
method?: InputMaybe<TheForecastMethod>;
|
|
160477
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
160478
|
+
openingInventory?: InputMaybe<Scalars['Float']['input']>;
|
|
160479
|
+
productionFactor?: InputMaybe<Scalars['Float']['input']>;
|
|
160480
|
+
storageCapacity?: InputMaybe<Scalars['Float']['input']>;
|
|
160481
|
+
unit?: InputMaybe<TheUnit>;
|
|
160482
|
+
};
|
|
160483
|
+
|
|
158674
160484
|
export type TheUpdateMaintenanceScheduleInput = {
|
|
158675
160485
|
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
158676
160486
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -158695,6 +160505,19 @@ export type TheUpdateOfftakeContractInput = {
|
|
|
158695
160505
|
unit?: InputMaybe<TheUnit>;
|
|
158696
160506
|
};
|
|
158697
160507
|
|
|
160508
|
+
export type TheUpdateServiceContractInput = {
|
|
160509
|
+
currency?: InputMaybe<Scalars['String']['input']>;
|
|
160510
|
+
endDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
160511
|
+
notes?: InputMaybe<Scalars['String']['input']>;
|
|
160512
|
+
paymentTerms?: InputMaybe<Scalars['String']['input']>;
|
|
160513
|
+
reference?: InputMaybe<Scalars['String']['input']>;
|
|
160514
|
+
renewalNoticeDays?: InputMaybe<Scalars['Int']['input']>;
|
|
160515
|
+
scope?: InputMaybe<Scalars['String']['input']>;
|
|
160516
|
+
startDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
160517
|
+
title?: InputMaybe<Scalars['String']['input']>;
|
|
160518
|
+
value?: InputMaybe<Scalars['Float']['input']>;
|
|
160519
|
+
};
|
|
160520
|
+
|
|
158698
160521
|
/** Mutable logistics metadata on an in-flight shipment. Lifecycle status is NOT editable here — it moves only through theTransitionShipment/theDeliverShipment so the contract's delivered-volume rollup stays authoritative. Volume and unit are likewise immutable once scheduled, for the same reason. */
|
|
158699
160522
|
export type TheUpdateShipmentInput = {
|
|
158700
160523
|
carrier?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -158707,6 +160530,32 @@ export type TheUpdateShipmentInput = {
|
|
|
158707
160530
|
trackingId?: InputMaybe<Scalars['String']['input']>;
|
|
158708
160531
|
};
|
|
158709
160532
|
|
|
160533
|
+
export type TheUpdateSupplierContactInput = {
|
|
160534
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
160535
|
+
/** Set true to make this the primary contact. */
|
|
160536
|
+
isPrimary?: InputMaybe<Scalars['Boolean']['input']>;
|
|
160537
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
160538
|
+
notes?: InputMaybe<Scalars['String']['input']>;
|
|
160539
|
+
phone?: InputMaybe<Scalars['String']['input']>;
|
|
160540
|
+
role?: InputMaybe<Scalars['String']['input']>;
|
|
160541
|
+
};
|
|
160542
|
+
|
|
160543
|
+
export type TheUpdateSupplierInput = {
|
|
160544
|
+
address?: InputMaybe<Scalars['String']['input']>;
|
|
160545
|
+
classification?: InputMaybe<TheSupplierClassification>;
|
|
160546
|
+
code?: InputMaybe<Scalars['String']['input']>;
|
|
160547
|
+
country?: InputMaybe<Scalars['String']['input']>;
|
|
160548
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
160549
|
+
legalName?: InputMaybe<Scalars['String']['input']>;
|
|
160550
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
160551
|
+
notes?: InputMaybe<Scalars['String']['input']>;
|
|
160552
|
+
phone?: InputMaybe<Scalars['String']['input']>;
|
|
160553
|
+
riskLevel?: InputMaybe<TheSupplierRiskLevel>;
|
|
160554
|
+
scope?: InputMaybe<Scalars['String']['input']>;
|
|
160555
|
+
taxId?: InputMaybe<Scalars['String']['input']>;
|
|
160556
|
+
website?: InputMaybe<Scalars['String']['input']>;
|
|
160557
|
+
};
|
|
160558
|
+
|
|
158710
160559
|
export type TheUpdateWorkOrderInput = {
|
|
158711
160560
|
assigneeId?: InputMaybe<Scalars['ID']['input']>;
|
|
158712
160561
|
conditionTrigger?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -158718,6 +160567,15 @@ export type TheUpdateWorkOrderInput = {
|
|
|
158718
160567
|
title?: InputMaybe<Scalars['String']['input']>;
|
|
158719
160568
|
};
|
|
158720
160569
|
|
|
160570
|
+
export type TheVintageOffsetRow = {
|
|
160571
|
+
__typename?: 'TheVintageOffsetRow';
|
|
160572
|
+
/** True when the vintage is more than five years older than the reporting period. */
|
|
160573
|
+
oldVintage: Scalars['Boolean']['output'];
|
|
160574
|
+
registry: TheCarbonRegistry;
|
|
160575
|
+
tonnes: Scalars['Float']['output'];
|
|
160576
|
+
vintageYear: Scalars['Int']['output'];
|
|
160577
|
+
};
|
|
160578
|
+
|
|
158721
160579
|
export type TheWorkOrder = {
|
|
158722
160580
|
__typename?: 'TheWorkOrder';
|
|
158723
160581
|
assetId: Scalars['ID']['output'];
|
|
@@ -158750,6 +160608,9 @@ export type TheWorkOrder = {
|
|
|
158750
160608
|
title: Scalars['String']['output'];
|
|
158751
160609
|
type: TheWorkOrderType;
|
|
158752
160610
|
updatedAt: Scalars['DateTime']['output'];
|
|
160611
|
+
vendor?: Maybe<TheSupplier>;
|
|
160612
|
+
/** The contracted vendor performing the work, from the supplier register. */
|
|
160613
|
+
vendorSupplierId?: Maybe<Scalars['ID']['output']>;
|
|
158753
160614
|
workspaceId: Scalars['ID']['output'];
|
|
158754
160615
|
};
|
|
158755
160616
|
|