@burdenoff/microfe-movethewheels 2026.1010.2 → 2026.1011.2
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/MoveTheWheelsRoot.js +12 -1
- package/dist/MoveTheWheelsRoutes.js +57 -49
- package/dist/generated/shipment-status-authority-operations.d.ts +4473 -0
- package/dist/generated/tracking-quality-operations.d.ts +4302 -0
- package/dist/hooks/useEpod.js +85 -77
- package/dist/hooks/useShipmentStatusAuthority.js +127 -0
- package/dist/hooks/useTracking.js +15 -14
- package/dist/hooks/useTrackingEventQuality.js +60 -0
- package/dist/movethewheels/hooks/useEpod.d.ts +23 -0
- package/dist/movethewheels/hooks/useShipmentStatusAuthority.d.ts +23 -0
- package/dist/movethewheels/hooks/useTrackingEventQuality.d.ts +18 -0
- package/dist/movethewheels/pages/ShipmentStatusAuthorityPage.d.ts +1 -0
- package/dist/movethewheels/pages/TrackingEventQualityPage.d.ts +1 -0
- package/dist/movethewheels/utils/shipmentStatusDraft.d.ts +45 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/radio-tower.js +36 -0
- package/dist/pages/DeliveryCapturePage.js +181 -116
- package/dist/pages/ShipmentStatusAuthorityPage.js +563 -0
- package/dist/pages/TrackingEventQualityPage.js +224 -0
- package/dist/src/generated/shipment-status-authority-operations.js +86 -0
- package/dist/src/generated/tracking-quality-operations.js +44 -0
- package/dist/utils/shipmentStatusDraft.js +41 -0
- package/package.json +16 -7
- package/patches/README.md +25 -0
- package/patches/braces@3.0.3.patch +87 -0
- package/src/generated/shipment-status-authority-operations.ts +5503 -0
- package/src/generated/tracking-quality-operations.ts +5323 -0
- package/src/movethewheels/MoveTheWheelsRoot.tsx +14 -0
- package/src/movethewheels/MoveTheWheelsRoutes.tsx +4 -0
- package/src/movethewheels/hooks/useEpod.ts +47 -12
- package/src/movethewheels/hooks/useShipmentStatusAuthority.ts +179 -0
- package/src/movethewheels/hooks/useTracking.ts +27 -12
- package/src/movethewheels/hooks/useTrackingEventQuality.ts +110 -0
- package/src/movethewheels/pages/DeliveryCapturePage.tsx +113 -6
- package/src/movethewheels/pages/ShipmentStatusAuthorityPage.tsx +639 -0
- package/src/movethewheels/pages/TrackingEventQualityPage.tsx +250 -0
- package/src/movethewheels/utils/shipmentStatusDraft.ts +118 -0
- package/src/operations/shipment-status-authority/status.graphql +80 -0
- package/src/operations/tracking-quality/quality.graphql +15 -0
|
@@ -0,0 +1,4302 @@
|
|
|
1
|
+
export type Maybe<T> = T | null;
|
|
2
|
+
export type InputMaybe<T> = Maybe<T>;
|
|
3
|
+
export type Exact<T extends {
|
|
4
|
+
[key: string]: unknown;
|
|
5
|
+
}> = {
|
|
6
|
+
[K in keyof T]: T[K];
|
|
7
|
+
};
|
|
8
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
9
|
+
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
10
|
+
};
|
|
11
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
12
|
+
[SubKey in K]: Maybe<T[SubKey]>;
|
|
13
|
+
};
|
|
14
|
+
export type MakeEmpty<T extends {
|
|
15
|
+
[key: string]: unknown;
|
|
16
|
+
}, K extends keyof T> = {
|
|
17
|
+
[_ in K]?: never;
|
|
18
|
+
};
|
|
19
|
+
export type Incremental<T> = T | {
|
|
20
|
+
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
21
|
+
};
|
|
22
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
23
|
+
export type Scalars = {
|
|
24
|
+
ID: {
|
|
25
|
+
input: string;
|
|
26
|
+
output: string;
|
|
27
|
+
};
|
|
28
|
+
String: {
|
|
29
|
+
input: string;
|
|
30
|
+
output: string;
|
|
31
|
+
};
|
|
32
|
+
Boolean: {
|
|
33
|
+
input: boolean;
|
|
34
|
+
output: boolean;
|
|
35
|
+
};
|
|
36
|
+
Int: {
|
|
37
|
+
input: number;
|
|
38
|
+
output: number;
|
|
39
|
+
};
|
|
40
|
+
Float: {
|
|
41
|
+
input: number;
|
|
42
|
+
output: number;
|
|
43
|
+
};
|
|
44
|
+
DateTime: {
|
|
45
|
+
input: string;
|
|
46
|
+
output: string;
|
|
47
|
+
};
|
|
48
|
+
JSON: {
|
|
49
|
+
input: unknown;
|
|
50
|
+
output: unknown;
|
|
51
|
+
};
|
|
52
|
+
JSONObject: {
|
|
53
|
+
input: unknown;
|
|
54
|
+
output: unknown;
|
|
55
|
+
};
|
|
56
|
+
Upload: {
|
|
57
|
+
input: unknown;
|
|
58
|
+
output: unknown;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export type AcceptMtwReuseReservationInput = {
|
|
62
|
+
approvalId: Scalars['ID']['input'];
|
|
63
|
+
expectedCycleVersion: Scalars['Int']['input'];
|
|
64
|
+
expectedProposalRevision: Scalars['Int']['input'];
|
|
65
|
+
idempotencyKey: Scalars['String']['input'];
|
|
66
|
+
proposalId: Scalars['ID']['input'];
|
|
67
|
+
};
|
|
68
|
+
export type AddTrackingEventInput = {
|
|
69
|
+
details?: InputMaybe<Scalars['String']['input']>;
|
|
70
|
+
eventType: TrackingEventType;
|
|
71
|
+
location?: InputMaybe<Scalars['JSON']['input']>;
|
|
72
|
+
shipmentId: Scalars['ID']['input'];
|
|
73
|
+
timestamp?: InputMaybe<Scalars['DateTime']['input']>;
|
|
74
|
+
};
|
|
75
|
+
export type AdjustInventoryStockInput = {
|
|
76
|
+
allocated?: InputMaybe<Scalars['Int']['input']>;
|
|
77
|
+
available?: InputMaybe<Scalars['Int']['input']>;
|
|
78
|
+
damaged?: InputMaybe<Scalars['Int']['input']>;
|
|
79
|
+
id: Scalars['ID']['input'];
|
|
80
|
+
onHand?: InputMaybe<Scalars['Int']['input']>;
|
|
81
|
+
};
|
|
82
|
+
export type CaptureEpodInput = {
|
|
83
|
+
context?: InputMaybe<ContextInput>;
|
|
84
|
+
deliveryJobId: Scalars['ID']['input'];
|
|
85
|
+
latitude?: InputMaybe<Scalars['Float']['input']>;
|
|
86
|
+
locationAccuracy?: InputMaybe<Scalars['Float']['input']>;
|
|
87
|
+
longitude?: InputMaybe<Scalars['Float']['input']>;
|
|
88
|
+
notes?: InputMaybe<Scalars['String']['input']>;
|
|
89
|
+
photoFileIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
90
|
+
recipientName: Scalars['String']['input'];
|
|
91
|
+
signatureData: Scalars['String']['input'];
|
|
92
|
+
signatureType: SignatureType;
|
|
93
|
+
};
|
|
94
|
+
export type CargoItemFilterInput = {
|
|
95
|
+
category?: InputMaybe<Scalars['String']['input']>;
|
|
96
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
97
|
+
sku?: InputMaybe<Scalars['String']['input']>;
|
|
98
|
+
};
|
|
99
|
+
export type CloseMtwContainerCycleInput = {
|
|
100
|
+
cycleId: Scalars['ID']['input'];
|
|
101
|
+
expectedVersion: Scalars['Int']['input'];
|
|
102
|
+
idempotencyKey: Scalars['String']['input'];
|
|
103
|
+
};
|
|
104
|
+
export type ContextFilterInput = {
|
|
105
|
+
appId?: InputMaybe<Scalars['ID']['input']>;
|
|
106
|
+
projectId?: InputMaybe<Scalars['ID']['input']>;
|
|
107
|
+
userId?: InputMaybe<Scalars['ID']['input']>;
|
|
108
|
+
workspaceId?: InputMaybe<Scalars['ID']['input']>;
|
|
109
|
+
};
|
|
110
|
+
export type ContextInput = {
|
|
111
|
+
appId?: InputMaybe<Scalars['ID']['input']>;
|
|
112
|
+
custom?: InputMaybe<Scalars['JSON']['input']>;
|
|
113
|
+
projectId?: InputMaybe<Scalars['ID']['input']>;
|
|
114
|
+
userId?: InputMaybe<Scalars['ID']['input']>;
|
|
115
|
+
workspaceId?: InputMaybe<Scalars['ID']['input']>;
|
|
116
|
+
};
|
|
117
|
+
export type CreateCargoItemInput = {
|
|
118
|
+
brand?: InputMaybe<Scalars['String']['input']>;
|
|
119
|
+
category?: InputMaybe<Scalars['String']['input']>;
|
|
120
|
+
context?: InputMaybe<ContextInput>;
|
|
121
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
122
|
+
dimensions?: InputMaybe<Scalars['JSON']['input']>;
|
|
123
|
+
fragile?: InputMaybe<Scalars['Boolean']['input']>;
|
|
124
|
+
hazardous?: InputMaybe<Scalars['Boolean']['input']>;
|
|
125
|
+
name: Scalars['String']['input'];
|
|
126
|
+
sku: Scalars['String']['input'];
|
|
127
|
+
temperatureControlled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
128
|
+
value?: InputMaybe<Scalars['Float']['input']>;
|
|
129
|
+
weight?: InputMaybe<Scalars['Float']['input']>;
|
|
130
|
+
};
|
|
131
|
+
export type CreateCustomerInput = {
|
|
132
|
+
address?: InputMaybe<Scalars['JSON']['input']>;
|
|
133
|
+
businessLicense?: InputMaybe<Scalars['String']['input']>;
|
|
134
|
+
company?: InputMaybe<Scalars['String']['input']>;
|
|
135
|
+
context?: InputMaybe<ContextInput>;
|
|
136
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
137
|
+
name: Scalars['String']['input'];
|
|
138
|
+
phone?: InputMaybe<Scalars['String']['input']>;
|
|
139
|
+
rating?: InputMaybe<Scalars['Float']['input']>;
|
|
140
|
+
taxId?: InputMaybe<Scalars['String']['input']>;
|
|
141
|
+
type?: InputMaybe<Scalars['String']['input']>;
|
|
142
|
+
};
|
|
143
|
+
export type CreateDeliveryJobInput = {
|
|
144
|
+
cargoItems: Scalars['JSON']['input'];
|
|
145
|
+
context?: InputMaybe<ContextInput>;
|
|
146
|
+
customerId: Scalars['ID']['input'];
|
|
147
|
+
deliveryAddress: Scalars['JSON']['input'];
|
|
148
|
+
deliveryJobNumber: Scalars['String']['input'];
|
|
149
|
+
driverId?: InputMaybe<Scalars['ID']['input']>;
|
|
150
|
+
pickupAddress: Scalars['JSON']['input'];
|
|
151
|
+
pricing?: InputMaybe<Scalars['JSON']['input']>;
|
|
152
|
+
priority?: InputMaybe<DeliveryPriority>;
|
|
153
|
+
routeId?: InputMaybe<Scalars['ID']['input']>;
|
|
154
|
+
scheduledDelivery?: InputMaybe<Scalars['DateTime']['input']>;
|
|
155
|
+
specialInstructions?: InputMaybe<Scalars['String']['input']>;
|
|
156
|
+
status?: InputMaybe<DeliveryJobStatus>;
|
|
157
|
+
storeOrderId?: InputMaybe<Scalars['ID']['input']>;
|
|
158
|
+
trackingNumber?: InputMaybe<Scalars['String']['input']>;
|
|
159
|
+
vehicleId?: InputMaybe<Scalars['ID']['input']>;
|
|
160
|
+
};
|
|
161
|
+
export type CreateDriverInput = {
|
|
162
|
+
baseSalary?: InputMaybe<Scalars['Float']['input']>;
|
|
163
|
+
bonusYtd?: InputMaybe<Scalars['Float']['input']>;
|
|
164
|
+
certifications?: InputMaybe<Scalars['JSON']['input']>;
|
|
165
|
+
context?: InputMaybe<ContextInput>;
|
|
166
|
+
currentLocation?: InputMaybe<Scalars['JSON']['input']>;
|
|
167
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
168
|
+
employeeId: Scalars['String']['input'];
|
|
169
|
+
firstName: Scalars['String']['input'];
|
|
170
|
+
hireDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
171
|
+
lastName: Scalars['String']['input'];
|
|
172
|
+
licenseClass?: InputMaybe<Scalars['String']['input']>;
|
|
173
|
+
licenseExpiry?: InputMaybe<Scalars['DateTime']['input']>;
|
|
174
|
+
licenseNumber?: InputMaybe<Scalars['String']['input']>;
|
|
175
|
+
notes?: InputMaybe<Scalars['String']['input']>;
|
|
176
|
+
payCurrency?: InputMaybe<Scalars['String']['input']>;
|
|
177
|
+
performanceMetrics?: InputMaybe<Scalars['JSON']['input']>;
|
|
178
|
+
phone?: InputMaybe<Scalars['String']['input']>;
|
|
179
|
+
rating?: InputMaybe<Scalars['Float']['input']>;
|
|
180
|
+
status?: InputMaybe<DriverStatus>;
|
|
181
|
+
userId?: InputMaybe<Scalars['String']['input']>;
|
|
182
|
+
vehicleId?: InputMaybe<Scalars['String']['input']>;
|
|
183
|
+
vehicleIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
184
|
+
};
|
|
185
|
+
export type CreateIntegrationInput = {
|
|
186
|
+
apiKey?: InputMaybe<Scalars['String']['input']>;
|
|
187
|
+
apiSecret?: InputMaybe<Scalars['String']['input']>;
|
|
188
|
+
config?: InputMaybe<Scalars['JSON']['input']>;
|
|
189
|
+
context?: InputMaybe<ContextInput>;
|
|
190
|
+
name: Scalars['String']['input'];
|
|
191
|
+
provider: MtwIntegrationProvider;
|
|
192
|
+
status?: InputMaybe<IntegrationStatus>;
|
|
193
|
+
};
|
|
194
|
+
export type CreateInventoryItemInput = {
|
|
195
|
+
allocated?: InputMaybe<Scalars['Int']['input']>;
|
|
196
|
+
available?: InputMaybe<Scalars['Int']['input']>;
|
|
197
|
+
cargoItemId: Scalars['ID']['input'];
|
|
198
|
+
context?: InputMaybe<ContextInput>;
|
|
199
|
+
damaged?: InputMaybe<Scalars['Int']['input']>;
|
|
200
|
+
locationId?: InputMaybe<Scalars['ID']['input']>;
|
|
201
|
+
onHand?: InputMaybe<Scalars['Int']['input']>;
|
|
202
|
+
reorderPoint?: InputMaybe<Scalars['Int']['input']>;
|
|
203
|
+
safetyStock?: InputMaybe<Scalars['Int']['input']>;
|
|
204
|
+
unitCost?: InputMaybe<Scalars['Float']['input']>;
|
|
205
|
+
warehouseId: Scalars['ID']['input'];
|
|
206
|
+
};
|
|
207
|
+
export type CreateInventoryTransactionInput = {
|
|
208
|
+
cargoItemId: Scalars['ID']['input'];
|
|
209
|
+
context?: InputMaybe<ContextInput>;
|
|
210
|
+
inventoryItemId?: InputMaybe<Scalars['ID']['input']>;
|
|
211
|
+
notes?: InputMaybe<Scalars['String']['input']>;
|
|
212
|
+
quantity: Scalars['Int']['input'];
|
|
213
|
+
referenceId?: InputMaybe<Scalars['String']['input']>;
|
|
214
|
+
referenceType?: InputMaybe<Scalars['String']['input']>;
|
|
215
|
+
transactionNumber: Scalars['String']['input'];
|
|
216
|
+
type: InventoryTransactionType;
|
|
217
|
+
unitCost?: InputMaybe<Scalars['Float']['input']>;
|
|
218
|
+
warehouseId: Scalars['ID']['input'];
|
|
219
|
+
};
|
|
220
|
+
export type CreateMtwPickTaskIntentInput = {
|
|
221
|
+
destination: MtwPickIntentLinePinInput;
|
|
222
|
+
idempotencyKey: Scalars['String']['input'];
|
|
223
|
+
note: Scalars['String']['input'];
|
|
224
|
+
requestedQuantity: Scalars['Int']['input'];
|
|
225
|
+
source: MtwPickIntentLinePinInput;
|
|
226
|
+
};
|
|
227
|
+
export type CreateRouteInput = {
|
|
228
|
+
actualDistance?: InputMaybe<Scalars['Float']['input']>;
|
|
229
|
+
actualDuration?: InputMaybe<Scalars['Float']['input']>;
|
|
230
|
+
context?: InputMaybe<ContextInput>;
|
|
231
|
+
driverId?: InputMaybe<Scalars['ID']['input']>;
|
|
232
|
+
estimatedDistance?: InputMaybe<Scalars['Float']['input']>;
|
|
233
|
+
estimatedDuration?: InputMaybe<Scalars['Float']['input']>;
|
|
234
|
+
fuelCost?: InputMaybe<Scalars['Float']['input']>;
|
|
235
|
+
name: Scalars['String']['input'];
|
|
236
|
+
shipmentId?: InputMaybe<Scalars['ID']['input']>;
|
|
237
|
+
status?: InputMaybe<RouteStatus>;
|
|
238
|
+
vehicleId?: InputMaybe<Scalars['ID']['input']>;
|
|
239
|
+
waypoints: Scalars['JSON']['input'];
|
|
240
|
+
};
|
|
241
|
+
export type CreateShipmentInput = {
|
|
242
|
+
actualDelivery?: InputMaybe<Scalars['DateTime']['input']>;
|
|
243
|
+
cargoDetails?: InputMaybe<Scalars['JSON']['input']>;
|
|
244
|
+
carrierId?: InputMaybe<Scalars['ID']['input']>;
|
|
245
|
+
context?: InputMaybe<ContextInput>;
|
|
246
|
+
customerId?: InputMaybe<Scalars['ID']['input']>;
|
|
247
|
+
deliveryJobId?: InputMaybe<Scalars['ID']['input']>;
|
|
248
|
+
destination: Scalars['JSON']['input'];
|
|
249
|
+
estimatedDelivery?: InputMaybe<Scalars['DateTime']['input']>;
|
|
250
|
+
origin: Scalars['JSON']['input'];
|
|
251
|
+
shipmentNumber: Scalars['String']['input'];
|
|
252
|
+
status?: InputMaybe<ShipmentStatus>;
|
|
253
|
+
storeOrderId?: InputMaybe<Scalars['ID']['input']>;
|
|
254
|
+
trackingNumber?: InputMaybe<Scalars['String']['input']>;
|
|
255
|
+
};
|
|
256
|
+
export type CreateShipmentLegInput = {
|
|
257
|
+
carrierId?: InputMaybe<Scalars['ID']['input']>;
|
|
258
|
+
carrierName?: InputMaybe<Scalars['String']['input']>;
|
|
259
|
+
containerCount?: InputMaybe<Scalars['Int']['input']>;
|
|
260
|
+
containerType?: InputMaybe<OceanContainerType>;
|
|
261
|
+
currency?: InputMaybe<Scalars['String']['input']>;
|
|
262
|
+
destination: Scalars['JSON']['input'];
|
|
263
|
+
distanceKm?: InputMaybe<Scalars['Float']['input']>;
|
|
264
|
+
heightCm?: InputMaybe<Scalars['Float']['input']>;
|
|
265
|
+
lengthCm?: InputMaybe<Scalars['Float']['input']>;
|
|
266
|
+
mode: TransportMode;
|
|
267
|
+
notes?: InputMaybe<Scalars['String']['input']>;
|
|
268
|
+
origin: Scalars['JSON']['input'];
|
|
269
|
+
rateOverrides?: InputMaybe<FreightRateOverridesInput>;
|
|
270
|
+
scheduledArrival?: InputMaybe<Scalars['DateTime']['input']>;
|
|
271
|
+
scheduledDeparture?: InputMaybe<Scalars['DateTime']['input']>;
|
|
272
|
+
status?: InputMaybe<ShipmentLegStatus>;
|
|
273
|
+
trackingReference?: InputMaybe<Scalars['String']['input']>;
|
|
274
|
+
volumeCbm?: InputMaybe<Scalars['Float']['input']>;
|
|
275
|
+
weightKg?: InputMaybe<Scalars['Float']['input']>;
|
|
276
|
+
widthCm?: InputMaybe<Scalars['Float']['input']>;
|
|
277
|
+
};
|
|
278
|
+
export type CreateVehicleInput = {
|
|
279
|
+
capacity?: InputMaybe<Scalars['JSON']['input']>;
|
|
280
|
+
context?: InputMaybe<ContextInput>;
|
|
281
|
+
currentLocation?: InputMaybe<Scalars['JSON']['input']>;
|
|
282
|
+
fuelEfficiencyLPer100Km?: InputMaybe<Scalars['Float']['input']>;
|
|
283
|
+
fuelLevel?: InputMaybe<Scalars['Float']['input']>;
|
|
284
|
+
fuelType?: InputMaybe<FuelType>;
|
|
285
|
+
lastServiceDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
286
|
+
licensePlate?: InputMaybe<Scalars['String']['input']>;
|
|
287
|
+
make?: InputMaybe<Scalars['String']['input']>;
|
|
288
|
+
mileage?: InputMaybe<Scalars['Float']['input']>;
|
|
289
|
+
model?: InputMaybe<Scalars['String']['input']>;
|
|
290
|
+
nextServiceDueDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
291
|
+
nextServiceDueMileage?: InputMaybe<Scalars['Float']['input']>;
|
|
292
|
+
ownershipType?: InputMaybe<Scalars['String']['input']>;
|
|
293
|
+
status?: InputMaybe<VehicleStatus>;
|
|
294
|
+
type: VehicleType;
|
|
295
|
+
vehicleNumber: Scalars['String']['input'];
|
|
296
|
+
year?: InputMaybe<Scalars['Int']['input']>;
|
|
297
|
+
};
|
|
298
|
+
export type CreateWarehouseInput = {
|
|
299
|
+
address: Scalars['JSON']['input'];
|
|
300
|
+
capabilities?: InputMaybe<Scalars['JSON']['input']>;
|
|
301
|
+
code: Scalars['String']['input'];
|
|
302
|
+
contactInfo?: InputMaybe<Scalars['JSON']['input']>;
|
|
303
|
+
context?: InputMaybe<ContextInput>;
|
|
304
|
+
name: Scalars['String']['input'];
|
|
305
|
+
operatingHours?: InputMaybe<Scalars['JSON']['input']>;
|
|
306
|
+
status?: InputMaybe<Scalars['String']['input']>;
|
|
307
|
+
totalCapacity?: InputMaybe<Scalars['Float']['input']>;
|
|
308
|
+
type: WarehouseType;
|
|
309
|
+
usedCapacity?: InputMaybe<Scalars['Float']['input']>;
|
|
310
|
+
};
|
|
311
|
+
export type CreateWarehouseLocationInput = {
|
|
312
|
+
aisle?: InputMaybe<Scalars['String']['input']>;
|
|
313
|
+
bin?: InputMaybe<Scalars['String']['input']>;
|
|
314
|
+
capacity?: InputMaybe<Scalars['Float']['input']>;
|
|
315
|
+
context?: InputMaybe<ContextInput>;
|
|
316
|
+
locationCode: Scalars['String']['input'];
|
|
317
|
+
locationType?: InputMaybe<Scalars['String']['input']>;
|
|
318
|
+
rack?: InputMaybe<Scalars['String']['input']>;
|
|
319
|
+
shelf?: InputMaybe<Scalars['String']['input']>;
|
|
320
|
+
status?: InputMaybe<Scalars['String']['input']>;
|
|
321
|
+
warehouseId: Scalars['ID']['input'];
|
|
322
|
+
zone?: InputMaybe<Scalars['String']['input']>;
|
|
323
|
+
};
|
|
324
|
+
export type CustomerFilterInput = {
|
|
325
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
326
|
+
type?: InputMaybe<Scalars['String']['input']>;
|
|
327
|
+
};
|
|
328
|
+
export type DeliveryJobFilterInput = {
|
|
329
|
+
customerId?: InputMaybe<Scalars['ID']['input']>;
|
|
330
|
+
driverId?: InputMaybe<Scalars['ID']['input']>;
|
|
331
|
+
priority?: InputMaybe<DeliveryPriority>;
|
|
332
|
+
routeId?: InputMaybe<Scalars['ID']['input']>;
|
|
333
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
334
|
+
status?: InputMaybe<DeliveryJobStatus>;
|
|
335
|
+
storeOrderId?: InputMaybe<Scalars['ID']['input']>;
|
|
336
|
+
unassigned?: InputMaybe<Scalars['Boolean']['input']>;
|
|
337
|
+
vehicleId?: InputMaybe<Scalars['ID']['input']>;
|
|
338
|
+
};
|
|
339
|
+
export type DeliveryJobStatus = 'ASSIGNED' | 'CANCELLED' | 'CONFIRMED' | 'DELIVERED' | 'FAILED' | 'IN_TRANSIT' | 'OUT_FOR_DELIVERY' | 'PENDING' | 'PICKED_UP' | 'RETURNED';
|
|
340
|
+
export type DeliveryPriority = 'CRITICAL' | 'HIGH' | 'LOW' | 'MEDIUM' | 'URGENT';
|
|
341
|
+
export type DemandForecastScope = 'CUSTOMER' | 'LANE';
|
|
342
|
+
export type DriverFilterInput = {
|
|
343
|
+
licenseClass?: InputMaybe<Scalars['String']['input']>;
|
|
344
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
345
|
+
status?: InputMaybe<DriverStatus>;
|
|
346
|
+
vehicleId?: InputMaybe<Scalars['ID']['input']>;
|
|
347
|
+
};
|
|
348
|
+
export type DriverStatus = 'AVAILABLE' | 'INACTIVE' | 'OFF_DUTY' | 'ON_BREAK' | 'ON_DELIVERY';
|
|
349
|
+
export type ExportMtwEntitiesInput = {
|
|
350
|
+
entityTypes: Array<Scalars['String']['input']>;
|
|
351
|
+
format?: MtwExportFormat;
|
|
352
|
+
includeMetadata?: InputMaybe<Scalars['Boolean']['input']>;
|
|
353
|
+
workspaceId: Scalars['ID']['input'];
|
|
354
|
+
};
|
|
355
|
+
export type FreightRateInput = {
|
|
356
|
+
containerCount?: InputMaybe<Scalars['Int']['input']>;
|
|
357
|
+
containerType?: InputMaybe<OceanContainerType>;
|
|
358
|
+
currency?: InputMaybe<Scalars['String']['input']>;
|
|
359
|
+
distanceKm?: InputMaybe<Scalars['Float']['input']>;
|
|
360
|
+
heightCm?: InputMaybe<Scalars['Float']['input']>;
|
|
361
|
+
lengthCm?: InputMaybe<Scalars['Float']['input']>;
|
|
362
|
+
mode: TransportMode;
|
|
363
|
+
pieces?: InputMaybe<Scalars['Int']['input']>;
|
|
364
|
+
rateOverrides?: InputMaybe<FreightRateOverridesInput>;
|
|
365
|
+
volumeCbm?: InputMaybe<Scalars['Float']['input']>;
|
|
366
|
+
weightKg?: InputMaybe<Scalars['Float']['input']>;
|
|
367
|
+
widthCm?: InputMaybe<Scalars['Float']['input']>;
|
|
368
|
+
};
|
|
369
|
+
export type FreightRateOverridesInput = {
|
|
370
|
+
baseFare?: InputMaybe<Scalars['Float']['input']>;
|
|
371
|
+
fuelSurchargePct?: InputMaybe<Scalars['Float']['input']>;
|
|
372
|
+
handlingFee?: InputMaybe<Scalars['Float']['input']>;
|
|
373
|
+
ratePerContainer?: InputMaybe<Scalars['Float']['input']>;
|
|
374
|
+
ratePerKg?: InputMaybe<Scalars['Float']['input']>;
|
|
375
|
+
ratePerKm?: InputMaybe<Scalars['Float']['input']>;
|
|
376
|
+
ratePerRevenueTon?: InputMaybe<Scalars['Float']['input']>;
|
|
377
|
+
ratePerTonneKm?: InputMaybe<Scalars['Float']['input']>;
|
|
378
|
+
terminalHandlingFee?: InputMaybe<Scalars['Float']['input']>;
|
|
379
|
+
};
|
|
380
|
+
export type FuelType = 'CNG' | 'DIESEL' | 'ELECTRIC' | 'HYBRID' | 'PETROL';
|
|
381
|
+
export type HoldMtwContainerInput = {
|
|
382
|
+
containerId: Scalars['ID']['input'];
|
|
383
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
384
|
+
heldAt: Scalars['DateTime']['input'];
|
|
385
|
+
idempotencyKey: Scalars['String']['input'];
|
|
386
|
+
reason: Scalars['String']['input'];
|
|
387
|
+
};
|
|
388
|
+
export type IntegrationEventStatus = 'ACCEPTED' | 'CONFLICT' | 'DUPLICATE' | 'PARTIAL' | 'RECEIVED' | 'REJECTED';
|
|
389
|
+
export type IntegrationFilterInput = {
|
|
390
|
+
provider?: InputMaybe<MtwIntegrationProvider>;
|
|
391
|
+
status?: InputMaybe<IntegrationStatus>;
|
|
392
|
+
};
|
|
393
|
+
export type IntegrationStatus = 'ACTIVE' | 'DISABLED' | 'PAUSED';
|
|
394
|
+
export type InventoryFilterInput = {
|
|
395
|
+
cargoItemId?: InputMaybe<Scalars['ID']['input']>;
|
|
396
|
+
inventoryItemId?: InputMaybe<Scalars['ID']['input']>;
|
|
397
|
+
locationId?: InputMaybe<Scalars['ID']['input']>;
|
|
398
|
+
lowStock?: InputMaybe<Scalars['Boolean']['input']>;
|
|
399
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
400
|
+
warehouseId?: InputMaybe<Scalars['ID']['input']>;
|
|
401
|
+
};
|
|
402
|
+
export type InventoryTransactionType = 'ADJUSTMENT' | 'ISSUE' | 'RECEIPT' | 'RETURN' | 'TRANSFER';
|
|
403
|
+
export type MtwAnalyticsPoint = {
|
|
404
|
+
__typename?: 'MtwAnalyticsPoint';
|
|
405
|
+
label: Scalars['String']['output'];
|
|
406
|
+
value: Scalars['Float']['output'];
|
|
407
|
+
};
|
|
408
|
+
export type MtwAnalyticsSeries = {
|
|
409
|
+
__typename?: 'MtwAnalyticsSeries';
|
|
410
|
+
deliveryTrend: Array<MtwAnalyticsPoint>;
|
|
411
|
+
orderTrend: Array<MtwAnalyticsPoint>;
|
|
412
|
+
revenueTrend: Array<MtwAnalyticsPoint>;
|
|
413
|
+
};
|
|
414
|
+
/** Ranked vehicles and drivers that can take a route right now, best first. */
|
|
415
|
+
export type MtwAssignmentSuggestions = {
|
|
416
|
+
__typename?: 'MtwAssignmentSuggestions';
|
|
417
|
+
drivers: Array<MtwDriverSuggestion>;
|
|
418
|
+
routeId: Scalars['ID']['output'];
|
|
419
|
+
vehicles: Array<MtwVehicleSuggestion>;
|
|
420
|
+
};
|
|
421
|
+
/**
|
|
422
|
+
* MoveTheWheels-owned cargo/item master used for warehouse inventory and shipment payloads.
|
|
423
|
+
* This is not a sellable storefront product; commerce SKUs must live in global-store-svc
|
|
424
|
+
* (StoreProduct) and be referenced by storeProductId when needed.
|
|
425
|
+
*/
|
|
426
|
+
export type MtwCargoItem = {
|
|
427
|
+
__typename?: 'MtwCargoItem';
|
|
428
|
+
brand?: Maybe<Scalars['String']['output']>;
|
|
429
|
+
category?: Maybe<Scalars['String']['output']>;
|
|
430
|
+
context?: Maybe<OperationContext>;
|
|
431
|
+
createdAt: Scalars['DateTime']['output'];
|
|
432
|
+
createdBy: Scalars['String']['output'];
|
|
433
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
434
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
435
|
+
dimensions?: Maybe<Scalars['JSON']['output']>;
|
|
436
|
+
fragile: Scalars['Boolean']['output'];
|
|
437
|
+
hazardous: Scalars['Boolean']['output'];
|
|
438
|
+
id: Scalars['ID']['output'];
|
|
439
|
+
name: Scalars['String']['output'];
|
|
440
|
+
onBehalfOf: Scalars['String']['output'];
|
|
441
|
+
sku: Scalars['String']['output'];
|
|
442
|
+
temperatureControlled: Scalars['Boolean']['output'];
|
|
443
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
444
|
+
updatedBy?: Maybe<Scalars['String']['output']>;
|
|
445
|
+
value?: Maybe<Scalars['Float']['output']>;
|
|
446
|
+
weight?: Maybe<Scalars['Float']['output']>;
|
|
447
|
+
workspaceId: Scalars['ID']['output'];
|
|
448
|
+
};
|
|
449
|
+
export type MtwCargoItemStats = {
|
|
450
|
+
__typename?: 'MtwCargoItemStats';
|
|
451
|
+
specialHandling: Scalars['Int']['output'];
|
|
452
|
+
temperatureControlled: Scalars['Int']['output'];
|
|
453
|
+
total: Scalars['Int']['output'];
|
|
454
|
+
};
|
|
455
|
+
/** How one carrier fared for a quote request. */
|
|
456
|
+
export type MtwCarrierOutcome = {
|
|
457
|
+
__typename?: 'MtwCarrierOutcome';
|
|
458
|
+
errorMessage?: Maybe<Scalars['String']['output']>;
|
|
459
|
+
ok: Scalars['Boolean']['output'];
|
|
460
|
+
provider: MtwCarrierProvider;
|
|
461
|
+
quoteCount: Scalars['Int']['output'];
|
|
462
|
+
};
|
|
463
|
+
export type MtwCarrierProvider = 'SHIPROCKET';
|
|
464
|
+
export type MtwCarrierServiceMode = 'AIR' | 'SURFACE';
|
|
465
|
+
export type MtwConsolidationCapture = {
|
|
466
|
+
__typename?: 'MtwConsolidationCapture';
|
|
467
|
+
bookingReference?: Maybe<Scalars['String']['output']>;
|
|
468
|
+
containerId: Scalars['ID']['output'];
|
|
469
|
+
cycleVersion: Scalars['Int']['output'];
|
|
470
|
+
shipmentNumber: Scalars['String']['output'];
|
|
471
|
+
shipmentUpdatedAt: Scalars['DateTime']['output'];
|
|
472
|
+
};
|
|
473
|
+
export type MtwConsolidationEvidenceDeclaration = {
|
|
474
|
+
__typename?: 'MtwConsolidationEvidenceDeclaration';
|
|
475
|
+
fileId: Scalars['ID']['output'];
|
|
476
|
+
verification: Scalars['String']['output'];
|
|
477
|
+
versionId: Scalars['ID']['output'];
|
|
478
|
+
};
|
|
479
|
+
export type MtwConsolidationFacts = {
|
|
480
|
+
__typename?: 'MtwConsolidationFacts';
|
|
481
|
+
bookingReference?: Maybe<Scalars['String']['output']>;
|
|
482
|
+
carrierReference?: Maybe<Scalars['String']['output']>;
|
|
483
|
+
contextSource: MtwConsolidationSource;
|
|
484
|
+
cutoffAt?: Maybe<Scalars['DateTime']['output']>;
|
|
485
|
+
effectiveAt: Scalars['DateTime']['output'];
|
|
486
|
+
hubName: Scalars['String']['output'];
|
|
487
|
+
hubReference: Scalars['String']['output'];
|
|
488
|
+
hubSource: MtwConsolidationSource;
|
|
489
|
+
jurisdictionReference?: Maybe<Scalars['String']['output']>;
|
|
490
|
+
lots: Array<MtwConsolidationLot>;
|
|
491
|
+
mode?: Maybe<Scalars['String']['output']>;
|
|
492
|
+
timezone?: Maybe<Scalars['String']['output']>;
|
|
493
|
+
};
|
|
494
|
+
export type MtwConsolidationFactsInput = {
|
|
495
|
+
bookingReference?: InputMaybe<Scalars['String']['input']>;
|
|
496
|
+
carrierReference?: InputMaybe<Scalars['String']['input']>;
|
|
497
|
+
contextSource: MtwConsolidationSourceInput;
|
|
498
|
+
cutoffAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
499
|
+
effectiveAt: Scalars['DateTime']['input'];
|
|
500
|
+
hubName: Scalars['String']['input'];
|
|
501
|
+
hubReference: Scalars['String']['input'];
|
|
502
|
+
hubSource: MtwConsolidationSourceInput;
|
|
503
|
+
jurisdictionReference?: InputMaybe<Scalars['String']['input']>;
|
|
504
|
+
lots: Array<MtwConsolidationLotInput>;
|
|
505
|
+
mode?: InputMaybe<Scalars['String']['input']>;
|
|
506
|
+
timezone?: InputMaybe<Scalars['String']['input']>;
|
|
507
|
+
};
|
|
508
|
+
export type MtwConsolidationLot = {
|
|
509
|
+
__typename?: 'MtwConsolidationLot';
|
|
510
|
+
balanceRevision?: Maybe<Scalars['String']['output']>;
|
|
511
|
+
consignmentReference: Scalars['String']['output'];
|
|
512
|
+
cubeM3?: Maybe<Scalars['String']['output']>;
|
|
513
|
+
destinationReference?: Maybe<Scalars['String']['output']>;
|
|
514
|
+
documentReference?: Maybe<Scalars['String']['output']>;
|
|
515
|
+
grossKg?: Maybe<Scalars['String']['output']>;
|
|
516
|
+
id: Scalars['ID']['output'];
|
|
517
|
+
importerReference?: Maybe<Scalars['String']['output']>;
|
|
518
|
+
lotReference: Scalars['String']['output'];
|
|
519
|
+
originReference?: Maybe<Scalars['String']['output']>;
|
|
520
|
+
plannedQuantity?: Maybe<Scalars['String']['output']>;
|
|
521
|
+
quantityBasis: MtwConsolidationQuantityBasis;
|
|
522
|
+
reportedAvailableQuantity?: Maybe<Scalars['String']['output']>;
|
|
523
|
+
source: MtwConsolidationSource;
|
|
524
|
+
sourceRevision: Scalars['String']['output'];
|
|
525
|
+
supplierReference: Scalars['String']['output'];
|
|
526
|
+
transportReference?: Maybe<Scalars['String']['output']>;
|
|
527
|
+
unitReference?: Maybe<Scalars['String']['output']>;
|
|
528
|
+
unitRevision?: Maybe<Scalars['String']['output']>;
|
|
529
|
+
};
|
|
530
|
+
export type MtwConsolidationLotInput = {
|
|
531
|
+
balanceRevision?: InputMaybe<Scalars['String']['input']>;
|
|
532
|
+
consignmentReference: Scalars['String']['input'];
|
|
533
|
+
cubeM3?: InputMaybe<Scalars['String']['input']>;
|
|
534
|
+
destinationReference?: InputMaybe<Scalars['String']['input']>;
|
|
535
|
+
documentReference?: InputMaybe<Scalars['String']['input']>;
|
|
536
|
+
grossKg?: InputMaybe<Scalars['String']['input']>;
|
|
537
|
+
id: Scalars['ID']['input'];
|
|
538
|
+
importerReference?: InputMaybe<Scalars['String']['input']>;
|
|
539
|
+
lotReference: Scalars['String']['input'];
|
|
540
|
+
originReference?: InputMaybe<Scalars['String']['input']>;
|
|
541
|
+
plannedQuantity?: InputMaybe<Scalars['String']['input']>;
|
|
542
|
+
quantityBasis: MtwConsolidationQuantityBasis;
|
|
543
|
+
reportedAvailableQuantity?: InputMaybe<Scalars['String']['input']>;
|
|
544
|
+
source: MtwConsolidationSourceInput;
|
|
545
|
+
sourceRevision: Scalars['String']['input'];
|
|
546
|
+
supplierReference: Scalars['String']['input'];
|
|
547
|
+
transportReference?: InputMaybe<Scalars['String']['input']>;
|
|
548
|
+
unitReference?: InputMaybe<Scalars['String']['input']>;
|
|
549
|
+
unitRevision?: InputMaybe<Scalars['String']['input']>;
|
|
550
|
+
};
|
|
551
|
+
export type MtwConsolidationManifest = {
|
|
552
|
+
__typename?: 'MtwConsolidationManifest';
|
|
553
|
+
actorProvenance: Scalars['String']['output'];
|
|
554
|
+
createdBy: Scalars['ID']['output'];
|
|
555
|
+
id: Scalars['ID']['output'];
|
|
556
|
+
observationSequence: Scalars['Int']['output'];
|
|
557
|
+
onBehalfOf?: Maybe<Scalars['ID']['output']>;
|
|
558
|
+
planId: Scalars['ID']['output'];
|
|
559
|
+
previousVersionId?: Maybe<Scalars['ID']['output']>;
|
|
560
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
561
|
+
snapshot: MtwConsolidationSnapshot;
|
|
562
|
+
version: Scalars['Int']['output'];
|
|
563
|
+
};
|
|
564
|
+
export type MtwConsolidationManifestPage = {
|
|
565
|
+
__typename?: 'MtwConsolidationManifestPage';
|
|
566
|
+
hasMore: Scalars['Boolean']['output'];
|
|
567
|
+
items: Array<MtwConsolidationManifest>;
|
|
568
|
+
limit: Scalars['Int']['output'];
|
|
569
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
570
|
+
offset: Scalars['Int']['output'];
|
|
571
|
+
total: Scalars['Int']['output'];
|
|
572
|
+
};
|
|
573
|
+
export type MtwConsolidationObservation = {
|
|
574
|
+
__typename?: 'MtwConsolidationObservation';
|
|
575
|
+
actorProvenance: Scalars['String']['output'];
|
|
576
|
+
createdBy: Scalars['ID']['output'];
|
|
577
|
+
evidence: Array<MtwContainerEvidence>;
|
|
578
|
+
evidenceDeclarations: Array<MtwConsolidationEvidenceDeclaration>;
|
|
579
|
+
id: Scalars['ID']['output'];
|
|
580
|
+
issueReference?: Maybe<Scalars['String']['output']>;
|
|
581
|
+
kind: MtwConsolidationReportKind;
|
|
582
|
+
lotId: Scalars['ID']['output'];
|
|
583
|
+
onBehalfOf?: Maybe<Scalars['ID']['output']>;
|
|
584
|
+
planId: Scalars['ID']['output'];
|
|
585
|
+
previousVersionId?: Maybe<Scalars['ID']['output']>;
|
|
586
|
+
reason: Scalars['String']['output'];
|
|
587
|
+
receiptSequence: Scalars['Int']['output'];
|
|
588
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
589
|
+
reportedObservedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
590
|
+
reportedQuantity?: Maybe<Scalars['String']['output']>;
|
|
591
|
+
source: MtwConsolidationSource;
|
|
592
|
+
status: Scalars['String']['output'];
|
|
593
|
+
unitReference?: Maybe<Scalars['String']['output']>;
|
|
594
|
+
unitRevision?: Maybe<Scalars['String']['output']>;
|
|
595
|
+
version: Scalars['Int']['output'];
|
|
596
|
+
};
|
|
597
|
+
export type MtwConsolidationObservationPage = {
|
|
598
|
+
__typename?: 'MtwConsolidationObservationPage';
|
|
599
|
+
hasMore: Scalars['Boolean']['output'];
|
|
600
|
+
items: Array<MtwConsolidationObservation>;
|
|
601
|
+
limit: Scalars['Int']['output'];
|
|
602
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
603
|
+
offset: Scalars['Int']['output'];
|
|
604
|
+
total: Scalars['Int']['output'];
|
|
605
|
+
};
|
|
606
|
+
export type MtwConsolidationPlan = {
|
|
607
|
+
__typename?: 'MtwConsolidationPlan';
|
|
608
|
+
actorProvenance: Scalars['String']['output'];
|
|
609
|
+
createdBy: Scalars['ID']['output'];
|
|
610
|
+
cycleId: Scalars['ID']['output'];
|
|
611
|
+
evidence: Array<MtwContainerEvidence>;
|
|
612
|
+
facts: MtwConsolidationFacts;
|
|
613
|
+
id: Scalars['ID']['output'];
|
|
614
|
+
onBehalfOf?: Maybe<Scalars['ID']['output']>;
|
|
615
|
+
planReference: Scalars['String']['output'];
|
|
616
|
+
previousVersionId?: Maybe<Scalars['ID']['output']>;
|
|
617
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
618
|
+
shipmentId: Scalars['ID']['output'];
|
|
619
|
+
sourceCapture: MtwConsolidationCapture;
|
|
620
|
+
status: Scalars['String']['output'];
|
|
621
|
+
version: Scalars['Int']['output'];
|
|
622
|
+
};
|
|
623
|
+
export type MtwConsolidationPlanPage = {
|
|
624
|
+
__typename?: 'MtwConsolidationPlanPage';
|
|
625
|
+
hasMore: Scalars['Boolean']['output'];
|
|
626
|
+
items: Array<MtwConsolidationPlan>;
|
|
627
|
+
limit: Scalars['Int']['output'];
|
|
628
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
629
|
+
offset: Scalars['Int']['output'];
|
|
630
|
+
total: Scalars['Int']['output'];
|
|
631
|
+
};
|
|
632
|
+
export type MtwConsolidationQuantityBasis = 'HUB_REPORT' | 'SOURCE_DECLARATION' | 'UNKNOWN';
|
|
633
|
+
export type MtwConsolidationReconciliationRow = {
|
|
634
|
+
__typename?: 'MtwConsolidationReconciliationRow';
|
|
635
|
+
availabilityDeficit?: Maybe<Scalars['String']['output']>;
|
|
636
|
+
lotId: Scalars['ID']['output'];
|
|
637
|
+
plannedQuantity?: Maybe<Scalars['String']['output']>;
|
|
638
|
+
receiptDeficit?: Maybe<Scalars['String']['output']>;
|
|
639
|
+
receiptExcess?: Maybe<Scalars['String']['output']>;
|
|
640
|
+
receiptObservationId?: Maybe<Scalars['ID']['output']>;
|
|
641
|
+
receivedMinusStuffed?: Maybe<Scalars['String']['output']>;
|
|
642
|
+
receivedQuantity?: Maybe<Scalars['String']['output']>;
|
|
643
|
+
reportedAvailableQuantity?: Maybe<Scalars['String']['output']>;
|
|
644
|
+
stuffedQuantity?: Maybe<Scalars['String']['output']>;
|
|
645
|
+
stuffingExcess?: Maybe<Scalars['String']['output']>;
|
|
646
|
+
stuffingObservationId?: Maybe<Scalars['ID']['output']>;
|
|
647
|
+
unknownReasons: Array<Scalars['String']['output']>;
|
|
648
|
+
};
|
|
649
|
+
export type MtwConsolidationReportKind = 'ISSUE' | 'RECEIPT_REPORT' | 'STUFFING_REPORT';
|
|
650
|
+
export type MtwConsolidationSnapshot = {
|
|
651
|
+
__typename?: 'MtwConsolidationSnapshot';
|
|
652
|
+
observationSequence: Scalars['Int']['output'];
|
|
653
|
+
planId: Scalars['ID']['output'];
|
|
654
|
+
planVersion: Scalars['Int']['output'];
|
|
655
|
+
recentIssueIds: Array<Scalars['ID']['output']>;
|
|
656
|
+
reviewReasons: Array<Scalars['String']['output']>;
|
|
657
|
+
rows: Array<MtwConsolidationReconciliationRow>;
|
|
658
|
+
status: Scalars['String']['output'];
|
|
659
|
+
unresolvedIssueCount: Scalars['Int']['output'];
|
|
660
|
+
};
|
|
661
|
+
export type MtwConsolidationSource = {
|
|
662
|
+
__typename?: 'MtwConsolidationSource';
|
|
663
|
+
reference?: Maybe<Scalars['String']['output']>;
|
|
664
|
+
revision?: Maybe<Scalars['String']['output']>;
|
|
665
|
+
};
|
|
666
|
+
export type MtwConsolidationSourceInput = {
|
|
667
|
+
reference?: InputMaybe<Scalars['String']['input']>;
|
|
668
|
+
revision?: InputMaybe<Scalars['String']['input']>;
|
|
669
|
+
};
|
|
670
|
+
export type MtwContainer = {
|
|
671
|
+
__typename?: 'MtwContainer';
|
|
672
|
+
containerNumber: Scalars['String']['output'];
|
|
673
|
+
createdAt: Scalars['DateTime']['output'];
|
|
674
|
+
equipmentType: MtwEquipmentType;
|
|
675
|
+
id: Scalars['ID']['output'];
|
|
676
|
+
ownerName?: Maybe<Scalars['String']['output']>;
|
|
677
|
+
source: Scalars['String']['output'];
|
|
678
|
+
suppliedContainerNumber: Scalars['String']['output'];
|
|
679
|
+
};
|
|
680
|
+
export type MtwContainerCargoCategory = 'DANGEROUS' | 'DRY' | 'FOOD_GRADE' | 'PEST' | 'REEFER';
|
|
681
|
+
export type MtwContainerCycle = {
|
|
682
|
+
__typename?: 'MtwContainerCycle';
|
|
683
|
+
bookingReference?: Maybe<Scalars['String']['output']>;
|
|
684
|
+
closedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
685
|
+
containerId: Scalars['ID']['output'];
|
|
686
|
+
createdAt: Scalars['DateTime']['output'];
|
|
687
|
+
id: Scalars['ID']['output'];
|
|
688
|
+
openedAt: Scalars['DateTime']['output'];
|
|
689
|
+
shipmentId?: Maybe<Scalars['ID']['output']>;
|
|
690
|
+
status: MtwContainerCycleStatus;
|
|
691
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
692
|
+
version: Scalars['Int']['output'];
|
|
693
|
+
};
|
|
694
|
+
export type MtwContainerCyclePage = {
|
|
695
|
+
__typename?: 'MtwContainerCyclePage';
|
|
696
|
+
hasMore: Scalars['Boolean']['output'];
|
|
697
|
+
items: Array<MtwContainerCycle>;
|
|
698
|
+
limit: Scalars['Int']['output'];
|
|
699
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
700
|
+
offset: Scalars['Int']['output'];
|
|
701
|
+
total: Scalars['Int']['output'];
|
|
702
|
+
};
|
|
703
|
+
export type MtwContainerCycleStatus = 'CLOSED' | 'OPEN';
|
|
704
|
+
export type MtwContainerDefect = {
|
|
705
|
+
__typename?: 'MtwContainerDefect';
|
|
706
|
+
code: Scalars['String']['output'];
|
|
707
|
+
containerId: Scalars['ID']['output'];
|
|
708
|
+
createdAt: Scalars['DateTime']['output'];
|
|
709
|
+
details: Scalars['String']['output'];
|
|
710
|
+
id: Scalars['ID']['output'];
|
|
711
|
+
inspectionId: Scalars['ID']['output'];
|
|
712
|
+
severity: MtwContainerDefectSeverity;
|
|
713
|
+
};
|
|
714
|
+
export type MtwContainerDefectPage = {
|
|
715
|
+
__typename?: 'MtwContainerDefectPage';
|
|
716
|
+
hasMore: Scalars['Boolean']['output'];
|
|
717
|
+
items: Array<MtwContainerDefect>;
|
|
718
|
+
limit: Scalars['Int']['output'];
|
|
719
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
720
|
+
offset: Scalars['Int']['output'];
|
|
721
|
+
total: Scalars['Int']['output'];
|
|
722
|
+
};
|
|
723
|
+
export type MtwContainerDefectSeverity = 'MAJOR' | 'MINOR' | 'SEVERE';
|
|
724
|
+
/** Append-only sourced observation. Planned/estimated observations never establish custody. */
|
|
725
|
+
export type MtwContainerEvent = {
|
|
726
|
+
__typename?: 'MtwContainerEvent';
|
|
727
|
+
actorId: Scalars['ID']['output'];
|
|
728
|
+
cycleId: Scalars['ID']['output'];
|
|
729
|
+
eventType: MtwContainerEventType;
|
|
730
|
+
evidenceNote?: Maybe<Scalars['String']['output']>;
|
|
731
|
+
id: Scalars['ID']['output'];
|
|
732
|
+
idempotencyKey: Scalars['String']['output'];
|
|
733
|
+
kind: MtwContainerEventKind;
|
|
734
|
+
location?: Maybe<Scalars['String']['output']>;
|
|
735
|
+
occurredAt: Scalars['DateTime']['output'];
|
|
736
|
+
receivedAt: Scalars['DateTime']['output'];
|
|
737
|
+
source: Scalars['String']['output'];
|
|
738
|
+
sourceReference?: Maybe<Scalars['String']['output']>;
|
|
739
|
+
};
|
|
740
|
+
export type MtwContainerEventKind = 'ACTUAL' | 'ESTIMATED' | 'PLANNED';
|
|
741
|
+
export type MtwContainerEventPage = {
|
|
742
|
+
__typename?: 'MtwContainerEventPage';
|
|
743
|
+
hasMore: Scalars['Boolean']['output'];
|
|
744
|
+
items: Array<MtwContainerEvent>;
|
|
745
|
+
limit: Scalars['Int']['output'];
|
|
746
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
747
|
+
offset: Scalars['Int']['output'];
|
|
748
|
+
total: Scalars['Int']['output'];
|
|
749
|
+
};
|
|
750
|
+
export type MtwContainerEventType = 'AVAILABLE_FOR_PICKUP' | 'DELIVERED' | 'DISCHARGED' | 'EMPTY_READY' | 'EMPTY_RETURNED' | 'GATE_IN' | 'GATE_OUT' | 'LOADED' | 'POSITION_UPDATE' | 'RETURN_ACCEPTED' | 'RETURN_REQUESTED';
|
|
751
|
+
/** Bounded audit snapshot of at most 10 exact evidence versions. */
|
|
752
|
+
export type MtwContainerEvidence = {
|
|
753
|
+
__typename?: 'MtwContainerEvidence';
|
|
754
|
+
checkedAt: Scalars['DateTime']['output'];
|
|
755
|
+
fileId: Scalars['ID']['output'];
|
|
756
|
+
sha256Hash: Scalars['String']['output'];
|
|
757
|
+
versionId: Scalars['ID']['output'];
|
|
758
|
+
};
|
|
759
|
+
/** Exact shared Files version. The fingerprint establishes integrity, not issuer authenticity. */
|
|
760
|
+
export type MtwContainerEvidenceInput = {
|
|
761
|
+
fileId: Scalars['ID']['input'];
|
|
762
|
+
versionId: Scalars['ID']['input'];
|
|
763
|
+
};
|
|
764
|
+
/** Recorded operational examination scheme; this service does not issue CSC approval. */
|
|
765
|
+
export type MtwContainerExaminationScheme = 'ACEP' | 'PES';
|
|
766
|
+
export type MtwContainerHold = {
|
|
767
|
+
__typename?: 'MtwContainerHold';
|
|
768
|
+
containerId: Scalars['ID']['output'];
|
|
769
|
+
createdAt: Scalars['DateTime']['output'];
|
|
770
|
+
defectIds: Array<Scalars['ID']['output']>;
|
|
771
|
+
evidence: Array<MtwContainerEvidence>;
|
|
772
|
+
heldAt: Scalars['DateTime']['output'];
|
|
773
|
+
id: Scalars['ID']['output'];
|
|
774
|
+
inspectionId?: Maybe<Scalars['ID']['output']>;
|
|
775
|
+
reason: Scalars['String']['output'];
|
|
776
|
+
releasedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
777
|
+
status: MtwContainerHoldStatus;
|
|
778
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
779
|
+
version: Scalars['Int']['output'];
|
|
780
|
+
};
|
|
781
|
+
export type MtwContainerHoldPage = {
|
|
782
|
+
__typename?: 'MtwContainerHoldPage';
|
|
783
|
+
hasMore: Scalars['Boolean']['output'];
|
|
784
|
+
items: Array<MtwContainerHold>;
|
|
785
|
+
limit: Scalars['Int']['output'];
|
|
786
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
787
|
+
offset: Scalars['Int']['output'];
|
|
788
|
+
total: Scalars['Int']['output'];
|
|
789
|
+
};
|
|
790
|
+
export type MtwContainerHoldStatus = 'OPEN' | 'RELEASED';
|
|
791
|
+
export type MtwContainerInspection = {
|
|
792
|
+
__typename?: 'MtwContainerInspection';
|
|
793
|
+
acepReference?: Maybe<Scalars['String']['output']>;
|
|
794
|
+
cargoCategory: MtwContainerCargoCategory;
|
|
795
|
+
containerId: Scalars['ID']['output'];
|
|
796
|
+
cscPlateVersionId?: Maybe<Scalars['ID']['output']>;
|
|
797
|
+
defectCount: Scalars['Int']['output'];
|
|
798
|
+
evidence: Array<MtwContainerEvidence>;
|
|
799
|
+
examinationScheme: MtwContainerExaminationScheme;
|
|
800
|
+
examinationVersionId?: Maybe<Scalars['ID']['output']>;
|
|
801
|
+
id: Scalars['ID']['output'];
|
|
802
|
+
inspectedAt: Scalars['DateTime']['output'];
|
|
803
|
+
inspectorActorId: Scalars['ID']['output'];
|
|
804
|
+
nextExaminationAt?: Maybe<Scalars['DateTime']['output']>;
|
|
805
|
+
receivedAt: Scalars['DateTime']['output'];
|
|
806
|
+
resolvedDefectIds: Array<Scalars['ID']['output']>;
|
|
807
|
+
severeDefectCount: Scalars['Int']['output'];
|
|
808
|
+
suitability: MtwContainerSuitability;
|
|
809
|
+
templateVersion: Scalars['String']['output'];
|
|
810
|
+
};
|
|
811
|
+
export type MtwContainerInspectionPage = {
|
|
812
|
+
__typename?: 'MtwContainerInspectionPage';
|
|
813
|
+
hasMore: Scalars['Boolean']['output'];
|
|
814
|
+
items: Array<MtwContainerInspection>;
|
|
815
|
+
limit: Scalars['Int']['output'];
|
|
816
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
817
|
+
offset: Scalars['Int']['output'];
|
|
818
|
+
total: Scalars['Int']['output'];
|
|
819
|
+
};
|
|
820
|
+
export type MtwContainerPage = {
|
|
821
|
+
__typename?: 'MtwContainerPage';
|
|
822
|
+
hasMore: Scalars['Boolean']['output'];
|
|
823
|
+
items: Array<MtwContainer>;
|
|
824
|
+
limit: Scalars['Int']['output'];
|
|
825
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
826
|
+
offset: Scalars['Int']['output'];
|
|
827
|
+
total: Scalars['Int']['output'];
|
|
828
|
+
};
|
|
829
|
+
export type MtwContainerPagination = {
|
|
830
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
831
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
832
|
+
};
|
|
833
|
+
export type MtwContainerQualificationScope = 'ACEP_EXAMINATION' | 'DANGEROUS_CARGO' | 'DRY_CARGO' | 'FOOD_GRADE_CARGO' | 'PEST_CARGO' | 'PES_EXAMINATION' | 'REEFER_CARGO';
|
|
834
|
+
export type MtwContainerQualificationStatus = 'HUMAN_REVIEWED' | 'REVOKED' | 'SUBMITTED';
|
|
835
|
+
export type MtwContainerReleaseDecision = {
|
|
836
|
+
__typename?: 'MtwContainerReleaseDecision';
|
|
837
|
+
actorId: Scalars['ID']['output'];
|
|
838
|
+
containerId: Scalars['ID']['output'];
|
|
839
|
+
decidedAt: Scalars['DateTime']['output'];
|
|
840
|
+
evidence: Array<MtwContainerEvidence>;
|
|
841
|
+
holdId: Scalars['ID']['output'];
|
|
842
|
+
id: Scalars['ID']['output'];
|
|
843
|
+
inspectionId: Scalars['ID']['output'];
|
|
844
|
+
qualificationId: Scalars['ID']['output'];
|
|
845
|
+
resolutionReview: Scalars['String']['output'];
|
|
846
|
+
};
|
|
847
|
+
export type MtwContainerReleaseDecisionPage = {
|
|
848
|
+
__typename?: 'MtwContainerReleaseDecisionPage';
|
|
849
|
+
hasMore: Scalars['Boolean']['output'];
|
|
850
|
+
items: Array<MtwContainerReleaseDecision>;
|
|
851
|
+
limit: Scalars['Int']['output'];
|
|
852
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
853
|
+
offset: Scalars['Int']['output'];
|
|
854
|
+
total: Scalars['Int']['output'];
|
|
855
|
+
};
|
|
856
|
+
export type MtwContainerRepair = {
|
|
857
|
+
__typename?: 'MtwContainerRepair';
|
|
858
|
+
actorId: Scalars['ID']['output'];
|
|
859
|
+
completedAt: Scalars['DateTime']['output'];
|
|
860
|
+
containerId: Scalars['ID']['output'];
|
|
861
|
+
defectIds: Array<Scalars['ID']['output']>;
|
|
862
|
+
evidence: Array<MtwContainerEvidence>;
|
|
863
|
+
holdId: Scalars['ID']['output'];
|
|
864
|
+
id: Scalars['ID']['output'];
|
|
865
|
+
receivedAt: Scalars['DateTime']['output'];
|
|
866
|
+
workDescription: Scalars['String']['output'];
|
|
867
|
+
};
|
|
868
|
+
export type MtwContainerRepairPage = {
|
|
869
|
+
__typename?: 'MtwContainerRepairPage';
|
|
870
|
+
hasMore: Scalars['Boolean']['output'];
|
|
871
|
+
items: Array<MtwContainerRepair>;
|
|
872
|
+
limit: Scalars['Int']['output'];
|
|
873
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
874
|
+
offset: Scalars['Int']['output'];
|
|
875
|
+
total: Scalars['Int']['output'];
|
|
876
|
+
};
|
|
877
|
+
export type MtwContainerSuitability = 'ACCEPTABLE' | 'REJECTED' | 'REVIEW_REQUIRED';
|
|
878
|
+
export type MtwCustomer = {
|
|
879
|
+
__typename?: 'MtwCustomer';
|
|
880
|
+
address?: Maybe<Scalars['JSON']['output']>;
|
|
881
|
+
businessLicense?: Maybe<Scalars['String']['output']>;
|
|
882
|
+
company?: Maybe<Scalars['String']['output']>;
|
|
883
|
+
context?: Maybe<OperationContext>;
|
|
884
|
+
createdAt: Scalars['DateTime']['output'];
|
|
885
|
+
createdBy: Scalars['String']['output'];
|
|
886
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
887
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
888
|
+
id: Scalars['ID']['output'];
|
|
889
|
+
name: Scalars['String']['output'];
|
|
890
|
+
onBehalfOf: Scalars['String']['output'];
|
|
891
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
892
|
+
rating?: Maybe<Scalars['Float']['output']>;
|
|
893
|
+
taxId?: Maybe<Scalars['String']['output']>;
|
|
894
|
+
type: Scalars['String']['output'];
|
|
895
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
896
|
+
updatedBy?: Maybe<Scalars['String']['output']>;
|
|
897
|
+
workspaceId: Scalars['ID']['output'];
|
|
898
|
+
};
|
|
899
|
+
export type MtwCustomerStats = {
|
|
900
|
+
__typename?: 'MtwCustomerStats';
|
|
901
|
+
/** Unavailable because customers have no lifecycle status field. */
|
|
902
|
+
active?: Maybe<Scalars['Int']['output']>;
|
|
903
|
+
/** Average rating, or null when no customer has a rating. */
|
|
904
|
+
avgRating?: Maybe<Scalars['Float']['output']>;
|
|
905
|
+
b2b: Scalars['Int']['output'];
|
|
906
|
+
b2c: Scalars['Int']['output'];
|
|
907
|
+
/** Unavailable because customers have no lifecycle status field. */
|
|
908
|
+
inactive?: Maybe<Scalars['Int']['output']>;
|
|
909
|
+
total: Scalars['Int']['output'];
|
|
910
|
+
};
|
|
911
|
+
export type MtwDashboardMetrics = {
|
|
912
|
+
__typename?: 'MtwDashboardMetrics';
|
|
913
|
+
activeDeliveries: Scalars['Int']['output'];
|
|
914
|
+
activeVehicles: Scalars['Int']['output'];
|
|
915
|
+
availableDrivers: Scalars['Int']['output'];
|
|
916
|
+
customerSatisfaction: Scalars['Float']['output'];
|
|
917
|
+
lowStockItems: Scalars['Int']['output'];
|
|
918
|
+
onTimeDeliveryRate: Scalars['Float']['output'];
|
|
919
|
+
recentDeliveryJobs: Array<MtwDeliveryJob>;
|
|
920
|
+
totalDeliveryJobs: Scalars['Int']['output'];
|
|
921
|
+
totalRevenue: Scalars['Float']['output'];
|
|
922
|
+
};
|
|
923
|
+
/**
|
|
924
|
+
* MoveTheWheels-owned operational dispatch unit. It is intentionally not a cart/order
|
|
925
|
+
* system; checkout and order of record remain in global-store-svc StoreOrder.
|
|
926
|
+
*/
|
|
927
|
+
export type MtwDeliveryJob = {
|
|
928
|
+
__typename?: 'MtwDeliveryJob';
|
|
929
|
+
cargoItems: Scalars['JSON']['output'];
|
|
930
|
+
context?: Maybe<OperationContext>;
|
|
931
|
+
createdAt: Scalars['DateTime']['output'];
|
|
932
|
+
createdBy: Scalars['String']['output'];
|
|
933
|
+
customer?: Maybe<MtwCustomer>;
|
|
934
|
+
customerId: Scalars['ID']['output'];
|
|
935
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
936
|
+
deliveryAddress: Scalars['JSON']['output'];
|
|
937
|
+
deliveryJobNumber: Scalars['String']['output'];
|
|
938
|
+
driver?: Maybe<MtwDriver>;
|
|
939
|
+
driverId?: Maybe<Scalars['ID']['output']>;
|
|
940
|
+
id: Scalars['ID']['output'];
|
|
941
|
+
onBehalfOf: Scalars['String']['output'];
|
|
942
|
+
pickupAddress: Scalars['JSON']['output'];
|
|
943
|
+
pricing?: Maybe<Scalars['JSON']['output']>;
|
|
944
|
+
priority: DeliveryPriority;
|
|
945
|
+
route?: Maybe<MtwRoute>;
|
|
946
|
+
routeId?: Maybe<Scalars['ID']['output']>;
|
|
947
|
+
scheduledDelivery?: Maybe<Scalars['DateTime']['output']>;
|
|
948
|
+
shipment?: Maybe<MtwShipment>;
|
|
949
|
+
specialInstructions?: Maybe<Scalars['String']['output']>;
|
|
950
|
+
status: DeliveryJobStatus;
|
|
951
|
+
statusHistory: Array<MtwDeliveryJobStatusHistory>;
|
|
952
|
+
storeOrder?: Maybe<StoreOrder>;
|
|
953
|
+
storeOrderId?: Maybe<Scalars['ID']['output']>;
|
|
954
|
+
trackingNumber?: Maybe<Scalars['String']['output']>;
|
|
955
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
956
|
+
updatedBy?: Maybe<Scalars['String']['output']>;
|
|
957
|
+
vehicle?: Maybe<MtwVehicle>;
|
|
958
|
+
vehicleId?: Maybe<Scalars['ID']['output']>;
|
|
959
|
+
workspaceId: Scalars['ID']['output'];
|
|
960
|
+
};
|
|
961
|
+
/**
|
|
962
|
+
* MoveTheWheels-owned operational dispatch unit. It is intentionally not a cart/order
|
|
963
|
+
* system; checkout and order of record remain in global-store-svc StoreOrder.
|
|
964
|
+
*/
|
|
965
|
+
export type MtwDeliveryJobStatusHistoryArgs = {
|
|
966
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
967
|
+
};
|
|
968
|
+
export type MtwDeliveryJobStats = {
|
|
969
|
+
__typename?: 'MtwDeliveryJobStats';
|
|
970
|
+
assigned: Scalars['Int']['output'];
|
|
971
|
+
cancelled: Scalars['Int']['output'];
|
|
972
|
+
confirmed: Scalars['Int']['output'];
|
|
973
|
+
delivered: Scalars['Int']['output'];
|
|
974
|
+
failed: Scalars['Int']['output'];
|
|
975
|
+
inTransit: Scalars['Int']['output'];
|
|
976
|
+
outForDelivery: Scalars['Int']['output'];
|
|
977
|
+
pending: Scalars['Int']['output'];
|
|
978
|
+
pickedUp: Scalars['Int']['output'];
|
|
979
|
+
returned: Scalars['Int']['output'];
|
|
980
|
+
total: Scalars['Int']['output'];
|
|
981
|
+
};
|
|
982
|
+
export type MtwDeliveryJobStatusHistory = {
|
|
983
|
+
__typename?: 'MtwDeliveryJobStatusHistory';
|
|
984
|
+
context?: Maybe<OperationContext>;
|
|
985
|
+
createdAt: Scalars['DateTime']['output'];
|
|
986
|
+
createdBy: Scalars['String']['output'];
|
|
987
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
988
|
+
deliveryJobId: Scalars['ID']['output'];
|
|
989
|
+
id: Scalars['ID']['output'];
|
|
990
|
+
location?: Maybe<Scalars['JSON']['output']>;
|
|
991
|
+
notes?: Maybe<Scalars['String']['output']>;
|
|
992
|
+
onBehalfOf: Scalars['String']['output'];
|
|
993
|
+
previousStatus?: Maybe<DeliveryJobStatus>;
|
|
994
|
+
status: DeliveryJobStatus;
|
|
995
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
996
|
+
updatedBy?: Maybe<Scalars['String']['output']>;
|
|
997
|
+
workspaceId: Scalars['ID']['output'];
|
|
998
|
+
};
|
|
999
|
+
export type MtwDemandForecastPoint = {
|
|
1000
|
+
__typename?: 'MtwDemandForecastPoint';
|
|
1001
|
+
actualRevenue?: Maybe<Scalars['Float']['output']>;
|
|
1002
|
+
actualVolume?: Maybe<Scalars['Int']['output']>;
|
|
1003
|
+
confidence: Scalars['Float']['output'];
|
|
1004
|
+
periodEnd: Scalars['DateTime']['output'];
|
|
1005
|
+
periodStart: Scalars['DateTime']['output'];
|
|
1006
|
+
predictedRevenue: Scalars['Float']['output'];
|
|
1007
|
+
predictedVolume: Scalars['Int']['output'];
|
|
1008
|
+
scopeKey: Scalars['String']['output'];
|
|
1009
|
+
scopeType: DemandForecastScope;
|
|
1010
|
+
};
|
|
1011
|
+
export type MtwDemandForecastVariance = {
|
|
1012
|
+
__typename?: 'MtwDemandForecastVariance';
|
|
1013
|
+
actualRevenue: Scalars['Float']['output'];
|
|
1014
|
+
actualVolume: Scalars['Int']['output'];
|
|
1015
|
+
periodEnd: Scalars['DateTime']['output'];
|
|
1016
|
+
periodStart: Scalars['DateTime']['output'];
|
|
1017
|
+
predictedRevenue: Scalars['Float']['output'];
|
|
1018
|
+
predictedVolume: Scalars['Int']['output'];
|
|
1019
|
+
revenueVariance: Scalars['Float']['output'];
|
|
1020
|
+
scopeKey: Scalars['String']['output'];
|
|
1021
|
+
scopeType: DemandForecastScope;
|
|
1022
|
+
volumeVariance: Scalars['Int']['output'];
|
|
1023
|
+
};
|
|
1024
|
+
export type MtwDriver = {
|
|
1025
|
+
__typename?: 'MtwDriver';
|
|
1026
|
+
baseSalary?: Maybe<Scalars['Float']['output']>;
|
|
1027
|
+
bonusYtd?: Maybe<Scalars['Float']['output']>;
|
|
1028
|
+
certifications?: Maybe<Scalars['JSON']['output']>;
|
|
1029
|
+
context?: Maybe<OperationContext>;
|
|
1030
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1031
|
+
createdBy: Scalars['String']['output'];
|
|
1032
|
+
currentLocation?: Maybe<Scalars['JSON']['output']>;
|
|
1033
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1034
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
1035
|
+
employeeId: Scalars['String']['output'];
|
|
1036
|
+
firstName: Scalars['String']['output'];
|
|
1037
|
+
hireDate?: Maybe<Scalars['DateTime']['output']>;
|
|
1038
|
+
id: Scalars['ID']['output'];
|
|
1039
|
+
lastName: Scalars['String']['output'];
|
|
1040
|
+
licenseClass?: Maybe<Scalars['String']['output']>;
|
|
1041
|
+
licenseExpiry?: Maybe<Scalars['DateTime']['output']>;
|
|
1042
|
+
licenseNumber?: Maybe<Scalars['String']['output']>;
|
|
1043
|
+
/** Free-text HR/performance notes. Encrypted at rest. */
|
|
1044
|
+
notes?: Maybe<Scalars['String']['output']>;
|
|
1045
|
+
onBehalfOf: Scalars['String']['output'];
|
|
1046
|
+
/** Set and in the future means the driver is currently on leave. Independent of the operational DriverStatus. */
|
|
1047
|
+
onLeaveUntil?: Maybe<Scalars['DateTime']['output']>;
|
|
1048
|
+
payCurrency?: Maybe<Scalars['String']['output']>;
|
|
1049
|
+
performanceMetrics?: Maybe<Scalars['JSON']['output']>;
|
|
1050
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
1051
|
+
rating?: Maybe<Scalars['Float']['output']>;
|
|
1052
|
+
status: DriverStatus;
|
|
1053
|
+
terminatedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1054
|
+
/** Reason recorded when the driver was dismissed/terminated. Encrypted at rest. */
|
|
1055
|
+
terminationReason?: Maybe<Scalars['String']['output']>;
|
|
1056
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1057
|
+
updatedBy?: Maybe<Scalars['String']['output']>;
|
|
1058
|
+
userId?: Maybe<Scalars['String']['output']>;
|
|
1059
|
+
/**
|
|
1060
|
+
* Deprecated: use the many-to-many vehicleIds relationship.
|
|
1061
|
+
* @deprecated Use vehicles/vehicleIds for many-to-many fleet assignments.
|
|
1062
|
+
*/
|
|
1063
|
+
vehicleId?: Maybe<Scalars['String']['output']>;
|
|
1064
|
+
/** Vehicles linked to this driver through the workspace fleet relationship. */
|
|
1065
|
+
vehicles: Array<MtwVehicle>;
|
|
1066
|
+
workspaceId: Scalars['ID']['output'];
|
|
1067
|
+
};
|
|
1068
|
+
export type MtwDriverSuggestion = {
|
|
1069
|
+
__typename?: 'MtwDriverSuggestion';
|
|
1070
|
+
driver: MtwDriver;
|
|
1071
|
+
reasons: Array<Scalars['String']['output']>;
|
|
1072
|
+
score: Scalars['Int']['output'];
|
|
1073
|
+
};
|
|
1074
|
+
export type MtwEmissionsBreakdown = {
|
|
1075
|
+
__typename?: 'MtwEmissionsBreakdown';
|
|
1076
|
+
co2eKg: Scalars['Float']['output'];
|
|
1077
|
+
totalDistanceKm: Scalars['Float']['output'];
|
|
1078
|
+
vehicleId?: Maybe<Scalars['ID']['output']>;
|
|
1079
|
+
vehicleNumber?: Maybe<Scalars['String']['output']>;
|
|
1080
|
+
};
|
|
1081
|
+
export type MtwEmissionsSummary = {
|
|
1082
|
+
__typename?: 'MtwEmissionsSummary';
|
|
1083
|
+
averageCo2eKgPerKm: Scalars['Float']['output'];
|
|
1084
|
+
byVehicle: Array<MtwEmissionsBreakdown>;
|
|
1085
|
+
totalCo2eKg: Scalars['Float']['output'];
|
|
1086
|
+
totalDistanceKm: Scalars['Float']['output'];
|
|
1087
|
+
};
|
|
1088
|
+
/** Sourced immutable empty-return instructions. Reuse approval never fabricates a depot return. */
|
|
1089
|
+
export type MtwEmptyReturnInstruction = {
|
|
1090
|
+
__typename?: 'MtwEmptyReturnInstruction';
|
|
1091
|
+
bookingReference: Scalars['String']['output'];
|
|
1092
|
+
changeReason: Scalars['String']['output'];
|
|
1093
|
+
createdBy: Scalars['ID']['output'];
|
|
1094
|
+
cycleId: Scalars['ID']['output'];
|
|
1095
|
+
depotReference: Scalars['String']['output'];
|
|
1096
|
+
effectiveAt: Scalars['DateTime']['output'];
|
|
1097
|
+
evidence: Array<MtwContainerEvidence>;
|
|
1098
|
+
id: Scalars['ID']['output'];
|
|
1099
|
+
locationReference: Scalars['String']['output'];
|
|
1100
|
+
ownerReference: Scalars['String']['output'];
|
|
1101
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
1102
|
+
returnFrom: Scalars['DateTime']['output'];
|
|
1103
|
+
returnUntil: Scalars['DateTime']['output'];
|
|
1104
|
+
sourceReference: Scalars['String']['output'];
|
|
1105
|
+
supersedesInstructionId?: Maybe<Scalars['ID']['output']>;
|
|
1106
|
+
version: Scalars['Int']['output'];
|
|
1107
|
+
};
|
|
1108
|
+
export type MtwEmptyReturnInstructionPage = {
|
|
1109
|
+
__typename?: 'MtwEmptyReturnInstructionPage';
|
|
1110
|
+
hasMore: Scalars['Boolean']['output'];
|
|
1111
|
+
items: Array<MtwEmptyReturnInstruction>;
|
|
1112
|
+
limit: Scalars['Int']['output'];
|
|
1113
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
1114
|
+
offset: Scalars['Int']['output'];
|
|
1115
|
+
total: Scalars['Int']['output'];
|
|
1116
|
+
};
|
|
1117
|
+
/** Operator-recorded external permission history; never a dispatcher reservation or external identity certificate. */
|
|
1118
|
+
export type MtwEquipmentReuseApproval = {
|
|
1119
|
+
__typename?: 'MtwEquipmentReuseApproval';
|
|
1120
|
+
approvalId?: Maybe<Scalars['ID']['output']>;
|
|
1121
|
+
counterpartyReference: Scalars['String']['output'];
|
|
1122
|
+
createdBy: Scalars['ID']['output'];
|
|
1123
|
+
evidence: Array<MtwContainerEvidence>;
|
|
1124
|
+
id: Scalars['ID']['output'];
|
|
1125
|
+
kind: MtwReuseApprovalKind;
|
|
1126
|
+
note: Scalars['String']['output'];
|
|
1127
|
+
proposalId: Scalars['ID']['output'];
|
|
1128
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
1129
|
+
sourceReference: Scalars['String']['output'];
|
|
1130
|
+
validFrom?: Maybe<Scalars['DateTime']['output']>;
|
|
1131
|
+
validUntil?: Maybe<Scalars['DateTime']['output']>;
|
|
1132
|
+
};
|
|
1133
|
+
export type MtwEquipmentReuseApprovalPage = {
|
|
1134
|
+
__typename?: 'MtwEquipmentReuseApprovalPage';
|
|
1135
|
+
hasMore: Scalars['Boolean']['output'];
|
|
1136
|
+
items: Array<MtwEquipmentReuseApproval>;
|
|
1137
|
+
limit: Scalars['Int']['output'];
|
|
1138
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
1139
|
+
offset: Scalars['Int']['output'];
|
|
1140
|
+
total: Scalars['Int']['output'];
|
|
1141
|
+
};
|
|
1142
|
+
/** Physical equipment; LCL is a freight service, not an equipment type. */
|
|
1143
|
+
export type MtwEquipmentType = 'DRY_20' | 'DRY_40' | 'FLAT_RACK' | 'HIGH_CUBE_40' | 'OPEN_TOP' | 'OTHER' | 'REEFER_20' | 'REEFER_40' | 'TANK';
|
|
1144
|
+
export type MtwExportFormat = 'CSV' | 'JSON';
|
|
1145
|
+
export type MtwExportJob = {
|
|
1146
|
+
__typename?: 'MtwExportJob';
|
|
1147
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1148
|
+
downloadUrl?: Maybe<Scalars['String']['output']>;
|
|
1149
|
+
entityTypes: Array<Scalars['String']['output']>;
|
|
1150
|
+
format: MtwExportFormat;
|
|
1151
|
+
id: Scalars['ID']['output'];
|
|
1152
|
+
status: Scalars['String']['output'];
|
|
1153
|
+
workspaceId: Scalars['ID']['output'];
|
|
1154
|
+
};
|
|
1155
|
+
export type MtwFinanceMetrics = {
|
|
1156
|
+
__typename?: 'MtwFinanceMetrics';
|
|
1157
|
+
fuelCost: Scalars['Float']['output'];
|
|
1158
|
+
openInvoices: Scalars['Int']['output'];
|
|
1159
|
+
revenue: MtwRevenueMetrics;
|
|
1160
|
+
};
|
|
1161
|
+
/** A compliance or maintenance item that needs attention, computed live from vehicle service markers and driver licence expiry. */
|
|
1162
|
+
export type MtwFleetAlert = {
|
|
1163
|
+
__typename?: 'MtwFleetAlert';
|
|
1164
|
+
/** Negative when already past due. */
|
|
1165
|
+
daysUntilDue?: Maybe<Scalars['Int']['output']>;
|
|
1166
|
+
dueDate?: Maybe<Scalars['DateTime']['output']>;
|
|
1167
|
+
id: Scalars['ID']['output'];
|
|
1168
|
+
/** Negative when the due mileage has already been passed. Vehicles only. */
|
|
1169
|
+
kmUntilDue?: Maybe<Scalars['Float']['output']>;
|
|
1170
|
+
message: Scalars['String']['output'];
|
|
1171
|
+
severity: MtwFleetAlertSeverity;
|
|
1172
|
+
subjectId: Scalars['ID']['output'];
|
|
1173
|
+
subjectName: Scalars['String']['output'];
|
|
1174
|
+
subjectType: MtwFleetAlertSubjectType;
|
|
1175
|
+
type: MtwFleetAlertType;
|
|
1176
|
+
};
|
|
1177
|
+
export type MtwFleetAlertSeverity = 'CRITICAL' | 'WARNING';
|
|
1178
|
+
export type MtwFleetAlertSubjectType = 'DRIVER' | 'VEHICLE';
|
|
1179
|
+
export type MtwFleetAlertType = 'LICENSE_EXPIRED' | 'LICENSE_EXPIRING' | 'MAINTENANCE_DUE_SOON' | 'MAINTENANCE_OVERDUE';
|
|
1180
|
+
export type MtwFleetStats = {
|
|
1181
|
+
__typename?: 'MtwFleetStats';
|
|
1182
|
+
activeVehicles: Scalars['Int']['output'];
|
|
1183
|
+
availableDrivers: Scalars['Int']['output'];
|
|
1184
|
+
avgDriverRating: Scalars['Float']['output'];
|
|
1185
|
+
inTransitVehicles: Scalars['Int']['output'];
|
|
1186
|
+
maintenanceVehicles: Scalars['Int']['output'];
|
|
1187
|
+
onDeliveryDrivers: Scalars['Int']['output'];
|
|
1188
|
+
totalDrivers: Scalars['Int']['output'];
|
|
1189
|
+
totalVehicles: Scalars['Int']['output'];
|
|
1190
|
+
};
|
|
1191
|
+
export type MtwFreeTimeAgreement = {
|
|
1192
|
+
__typename?: 'MtwFreeTimeAgreement';
|
|
1193
|
+
applicability: MtwFreeTimeApplicability;
|
|
1194
|
+
changeReason: Scalars['String']['output'];
|
|
1195
|
+
clockId: Scalars['ID']['output'];
|
|
1196
|
+
confirmedFreeUntil?: Maybe<Scalars['DateTime']['output']>;
|
|
1197
|
+
createdBy: Scalars['ID']['output'];
|
|
1198
|
+
effectiveAt: Scalars['DateTime']['output'];
|
|
1199
|
+
evidence: Array<MtwContainerEvidence>;
|
|
1200
|
+
id: Scalars['ID']['output'];
|
|
1201
|
+
payee: Scalars['String']['output'];
|
|
1202
|
+
payer: Scalars['String']['output'];
|
|
1203
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
1204
|
+
sourceReference: Scalars['String']['output'];
|
|
1205
|
+
stopEventId?: Maybe<Scalars['ID']['output']>;
|
|
1206
|
+
stopEventType: MtwContainerEventType;
|
|
1207
|
+
terms?: Maybe<MtwFreeTimeTerms>;
|
|
1208
|
+
triggerEventId?: Maybe<Scalars['ID']['output']>;
|
|
1209
|
+
triggerEventType: MtwContainerEventType;
|
|
1210
|
+
version: Scalars['Int']['output'];
|
|
1211
|
+
};
|
|
1212
|
+
/** Full immutable replacement: corrections retain prior evidence and event bindings. */
|
|
1213
|
+
export type MtwFreeTimeAgreementInput = {
|
|
1214
|
+
applicability: MtwFreeTimeApplicability;
|
|
1215
|
+
changeReason: Scalars['String']['input'];
|
|
1216
|
+
confirmedFreeUntil?: InputMaybe<Scalars['DateTime']['input']>;
|
|
1217
|
+
effectiveAt: Scalars['DateTime']['input'];
|
|
1218
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
1219
|
+
payee: Scalars['String']['input'];
|
|
1220
|
+
payer: Scalars['String']['input'];
|
|
1221
|
+
sourceReference: Scalars['String']['input'];
|
|
1222
|
+
stopEventId?: InputMaybe<Scalars['ID']['input']>;
|
|
1223
|
+
stopEventType: MtwContainerEventType;
|
|
1224
|
+
terms?: InputMaybe<MtwFreeTimeTermsInput>;
|
|
1225
|
+
triggerEventId?: InputMaybe<Scalars['ID']['input']>;
|
|
1226
|
+
triggerEventType: MtwContainerEventType;
|
|
1227
|
+
};
|
|
1228
|
+
export type MtwFreeTimeAgreementPage = {
|
|
1229
|
+
__typename?: 'MtwFreeTimeAgreementPage';
|
|
1230
|
+
hasMore: Scalars['Boolean']['output'];
|
|
1231
|
+
items: Array<MtwFreeTimeAgreement>;
|
|
1232
|
+
limit: Scalars['Int']['output'];
|
|
1233
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
1234
|
+
offset: Scalars['Int']['output'];
|
|
1235
|
+
total: Scalars['Int']['output'];
|
|
1236
|
+
};
|
|
1237
|
+
/** Segmented prospective tariffs need a separate accrual engine. */
|
|
1238
|
+
export type MtwFreeTimeApplicability = 'UNSUPPORTED_SEGMENTED' | 'WHOLE_CLOCK';
|
|
1239
|
+
export type MtwFreeTimeCalculationPolicy = 'LOCAL_DATE_END' | 'UNSUPPORTED';
|
|
1240
|
+
export type MtwFreeTimeCalendar = {
|
|
1241
|
+
__typename?: 'MtwFreeTimeCalendar';
|
|
1242
|
+
excludedDates: Array<Scalars['String']['output']>;
|
|
1243
|
+
weekdays: Array<Scalars['Int']['output']>;
|
|
1244
|
+
};
|
|
1245
|
+
export type MtwFreeTimeCalendarInput = {
|
|
1246
|
+
excludedDates: Array<Scalars['String']['input']>;
|
|
1247
|
+
weekdays: Array<Scalars['Int']['input']>;
|
|
1248
|
+
};
|
|
1249
|
+
export type MtwFreeTimeChargeKind = 'DEMURRAGE' | 'DETENTION' | 'TERMINAL_STORAGE';
|
|
1250
|
+
export type MtwFreeTimeClock = {
|
|
1251
|
+
__typename?: 'MtwFreeTimeClock';
|
|
1252
|
+
chargeKind: MtwFreeTimeChargeKind;
|
|
1253
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1254
|
+
currentAgreementVersion: Scalars['Int']['output'];
|
|
1255
|
+
cycleId: Scalars['ID']['output'];
|
|
1256
|
+
id: Scalars['ID']['output'];
|
|
1257
|
+
obligationReference: Scalars['String']['output'];
|
|
1258
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1259
|
+
version: Scalars['Int']['output'];
|
|
1260
|
+
};
|
|
1261
|
+
export type MtwFreeTimeClockPage = {
|
|
1262
|
+
__typename?: 'MtwFreeTimeClockPage';
|
|
1263
|
+
hasMore: Scalars['Boolean']['output'];
|
|
1264
|
+
items: Array<MtwFreeTimeClock>;
|
|
1265
|
+
limit: Scalars['Int']['output'];
|
|
1266
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
1267
|
+
offset: Scalars['Int']['output'];
|
|
1268
|
+
total: Scalars['Int']['output'];
|
|
1269
|
+
};
|
|
1270
|
+
export type MtwFreeTimeDecisionKind = 'ACCEPTED' | 'EXPIRED' | 'REJECTED';
|
|
1271
|
+
/** Recalculated using recorded versions effective at asOf; not a reconstruction of what was known then. */
|
|
1272
|
+
export type MtwFreeTimeExposure = {
|
|
1273
|
+
__typename?: 'MtwFreeTimeExposure';
|
|
1274
|
+
agreementId?: Maybe<Scalars['ID']['output']>;
|
|
1275
|
+
amountMinorUnits?: Maybe<Scalars['Float']['output']>;
|
|
1276
|
+
asOf: Scalars['DateTime']['output'];
|
|
1277
|
+
chargedDays?: Maybe<Scalars['Int']['output']>;
|
|
1278
|
+
clockId: Scalars['ID']['output'];
|
|
1279
|
+
currency?: Maybe<Scalars['String']['output']>;
|
|
1280
|
+
deadlineSource?: Maybe<Scalars['String']['output']>;
|
|
1281
|
+
evaluatedUntil?: Maybe<Scalars['DateTime']['output']>;
|
|
1282
|
+
freeUntil?: Maybe<Scalars['DateTime']['output']>;
|
|
1283
|
+
localLastFreeDate?: Maybe<Scalars['String']['output']>;
|
|
1284
|
+
minorUnitDigits?: Maybe<Scalars['Int']['output']>;
|
|
1285
|
+
reason?: Maybe<Scalars['String']['output']>;
|
|
1286
|
+
status: Scalars['String']['output'];
|
|
1287
|
+
};
|
|
1288
|
+
/** No decision means requested; expiry alone never changes an accepted agreement. */
|
|
1289
|
+
export type MtwFreeTimeExtension = {
|
|
1290
|
+
__typename?: 'MtwFreeTimeExtension';
|
|
1291
|
+
baseAgreementId: Scalars['ID']['output'];
|
|
1292
|
+
clockId: Scalars['ID']['output'];
|
|
1293
|
+
createdBy: Scalars['ID']['output'];
|
|
1294
|
+
decision?: Maybe<MtwFreeTimeExtensionDecision>;
|
|
1295
|
+
evidence: Array<MtwContainerEvidence>;
|
|
1296
|
+
expiresAt: Scalars['DateTime']['output'];
|
|
1297
|
+
id: Scalars['ID']['output'];
|
|
1298
|
+
reason: Scalars['String']['output'];
|
|
1299
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
1300
|
+
requestedAt: Scalars['DateTime']['output'];
|
|
1301
|
+
requestedFreeUntil: Scalars['DateTime']['output'];
|
|
1302
|
+
};
|
|
1303
|
+
export type MtwFreeTimeExtensionDecision = {
|
|
1304
|
+
__typename?: 'MtwFreeTimeExtensionDecision';
|
|
1305
|
+
acceptedFreeUntil?: Maybe<Scalars['DateTime']['output']>;
|
|
1306
|
+
counterparty: Scalars['String']['output'];
|
|
1307
|
+
createdBy: Scalars['ID']['output'];
|
|
1308
|
+
decidedAt: Scalars['DateTime']['output'];
|
|
1309
|
+
decision: MtwFreeTimeDecisionKind;
|
|
1310
|
+
effectiveAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1311
|
+
evidence: Array<MtwContainerEvidence>;
|
|
1312
|
+
extensionId: Scalars['ID']['output'];
|
|
1313
|
+
id: Scalars['ID']['output'];
|
|
1314
|
+
newAgreementId?: Maybe<Scalars['ID']['output']>;
|
|
1315
|
+
note: Scalars['String']['output'];
|
|
1316
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
1317
|
+
sourceReference: Scalars['String']['output'];
|
|
1318
|
+
};
|
|
1319
|
+
export type MtwFreeTimeExtensionPage = {
|
|
1320
|
+
__typename?: 'MtwFreeTimeExtensionPage';
|
|
1321
|
+
hasMore: Scalars['Boolean']['output'];
|
|
1322
|
+
items: Array<MtwFreeTimeExtension>;
|
|
1323
|
+
limit: Scalars['Int']['output'];
|
|
1324
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
1325
|
+
offset: Scalars['Int']['output'];
|
|
1326
|
+
total: Scalars['Int']['output'];
|
|
1327
|
+
};
|
|
1328
|
+
export type MtwFreeTimePartialDayPolicy = 'ANY_STARTED_LOCAL_DATE' | 'UNSUPPORTED';
|
|
1329
|
+
export type MtwFreeTimeRateTier = {
|
|
1330
|
+
__typename?: 'MtwFreeTimeRateTier';
|
|
1331
|
+
dailyMinorUnits: Scalars['Int']['output'];
|
|
1332
|
+
fromDay: Scalars['Int']['output'];
|
|
1333
|
+
throughDay?: Maybe<Scalars['Int']['output']>;
|
|
1334
|
+
};
|
|
1335
|
+
export type MtwFreeTimeRateTierInput = {
|
|
1336
|
+
dailyMinorUnits: Scalars['Int']['input'];
|
|
1337
|
+
fromDay: Scalars['Int']['input'];
|
|
1338
|
+
throughDay?: InputMaybe<Scalars['Int']['input']>;
|
|
1339
|
+
};
|
|
1340
|
+
export type MtwFreeTimeTerms = {
|
|
1341
|
+
__typename?: 'MtwFreeTimeTerms';
|
|
1342
|
+
calculationPolicy: MtwFreeTimeCalculationPolicy;
|
|
1343
|
+
chargeCalendar: MtwFreeTimeCalendar;
|
|
1344
|
+
currency: Scalars['String']['output'];
|
|
1345
|
+
freeCalendar: MtwFreeTimeCalendar;
|
|
1346
|
+
freeDays: Scalars['Int']['output'];
|
|
1347
|
+
includeTriggerDate: Scalars['Boolean']['output'];
|
|
1348
|
+
minorUnitDigits: Scalars['Int']['output'];
|
|
1349
|
+
partialDayPolicy: MtwFreeTimePartialDayPolicy;
|
|
1350
|
+
rateTiers: Array<MtwFreeTimeRateTier>;
|
|
1351
|
+
tierBasis: MtwFreeTimeTierBasis;
|
|
1352
|
+
timeZone: Scalars['String']['output'];
|
|
1353
|
+
};
|
|
1354
|
+
export type MtwFreeTimeTermsInput = {
|
|
1355
|
+
calculationPolicy: MtwFreeTimeCalculationPolicy;
|
|
1356
|
+
chargeCalendar: MtwFreeTimeCalendarInput;
|
|
1357
|
+
currency: Scalars['String']['input'];
|
|
1358
|
+
freeCalendar: MtwFreeTimeCalendarInput;
|
|
1359
|
+
freeDays: Scalars['Int']['input'];
|
|
1360
|
+
includeTriggerDate: Scalars['Boolean']['input'];
|
|
1361
|
+
minorUnitDigits: Scalars['Int']['input'];
|
|
1362
|
+
partialDayPolicy: MtwFreeTimePartialDayPolicy;
|
|
1363
|
+
rateTiers: Array<MtwFreeTimeRateTierInput>;
|
|
1364
|
+
tierBasis: MtwFreeTimeTierBasis;
|
|
1365
|
+
timeZone: Scalars['String']['input'];
|
|
1366
|
+
};
|
|
1367
|
+
export type MtwFreeTimeTierBasis = 'CHARGED_DAYS' | 'UNSUPPORTED';
|
|
1368
|
+
export type MtwFreightAmountBasis = 'CALCULATED' | 'SOURCED_FIXED' | 'UNKNOWN';
|
|
1369
|
+
export type MtwFreightCategory = 'ACCESSORIAL' | 'BASE_FREIGHT' | 'BROKER' | 'DESTINATION_HANDLING' | 'DUTY_ESTIMATE' | 'FREE_TIME_EXPOSURE' | 'FUEL' | 'INSURANCE' | 'ON_CARRIAGE' | 'ORIGIN_HANDLING' | 'OTHER' | 'PRE_CARRIAGE' | 'TAX_ESTIMATE';
|
|
1370
|
+
/** A declared currency/scale convention, not automatic ISO verification. */
|
|
1371
|
+
export type MtwFreightCurrency = {
|
|
1372
|
+
__typename?: 'MtwFreightCurrency';
|
|
1373
|
+
code: Scalars['String']['output'];
|
|
1374
|
+
minorUnitDigits: Scalars['Int']['output'];
|
|
1375
|
+
};
|
|
1376
|
+
export type MtwFreightCurrencyInput = {
|
|
1377
|
+
code: Scalars['String']['input'];
|
|
1378
|
+
minorUnitDigits: Scalars['Int']['input'];
|
|
1379
|
+
};
|
|
1380
|
+
export type MtwFreightDisposition = 'ADDITIONAL' | 'EXCLUDED' | 'INCLUDED_IN_LINE' | 'UNKNOWN';
|
|
1381
|
+
export type MtwFreightEstimatePage = {
|
|
1382
|
+
__typename?: 'MtwFreightEstimatePage';
|
|
1383
|
+
hasMore: Scalars['Boolean']['output'];
|
|
1384
|
+
items: Array<MtwFreightEstimateVersion>;
|
|
1385
|
+
limit: Scalars['Int']['output'];
|
|
1386
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
1387
|
+
offset: Scalars['Int']['output'];
|
|
1388
|
+
total: Scalars['Int']['output'];
|
|
1389
|
+
};
|
|
1390
|
+
export type MtwFreightEstimateVersion = {
|
|
1391
|
+
__typename?: 'MtwFreightEstimateVersion';
|
|
1392
|
+
actorProvenance: Scalars['String']['output'];
|
|
1393
|
+
createdBy: Scalars['ID']['output'];
|
|
1394
|
+
estimateReference: Scalars['String']['output'];
|
|
1395
|
+
evidence: Array<MtwContainerEvidence>;
|
|
1396
|
+
facts: MtwFreightFacts;
|
|
1397
|
+
id: Scalars['ID']['output'];
|
|
1398
|
+
onBehalfOf?: Maybe<Scalars['ID']['output']>;
|
|
1399
|
+
previousVersionId?: Maybe<Scalars['ID']['output']>;
|
|
1400
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
1401
|
+
shipmentCapture: MtwFreightShipmentCapture;
|
|
1402
|
+
shipmentId: Scalars['ID']['output'];
|
|
1403
|
+
totals: MtwFreightPreview;
|
|
1404
|
+
/** Validity is informational; this record does not accept a quote or confirm capacity. */
|
|
1405
|
+
validityAtRead: Scalars['String']['output'];
|
|
1406
|
+
version: Scalars['Int']['output'];
|
|
1407
|
+
};
|
|
1408
|
+
export type MtwFreightFacts = {
|
|
1409
|
+
__typename?: 'MtwFreightFacts';
|
|
1410
|
+
commercialScope: Scalars['String']['output'];
|
|
1411
|
+
fx: Array<MtwFreightFx>;
|
|
1412
|
+
kind: MtwFreightKind;
|
|
1413
|
+
lines: Array<MtwFreightLine>;
|
|
1414
|
+
pricingAt: Scalars['DateTime']['output'];
|
|
1415
|
+
quotedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1416
|
+
reportingCurrency?: Maybe<MtwFreightCurrency>;
|
|
1417
|
+
requirements: Array<MtwFreightRequirement>;
|
|
1418
|
+
rounding: MtwFreightRounding;
|
|
1419
|
+
sourceReference: Scalars['String']['output'];
|
|
1420
|
+
sourceRevision: Scalars['String']['output'];
|
|
1421
|
+
title: Scalars['String']['output'];
|
|
1422
|
+
validFrom?: Maybe<Scalars['DateTime']['output']>;
|
|
1423
|
+
validUntil?: Maybe<Scalars['DateTime']['output']>;
|
|
1424
|
+
};
|
|
1425
|
+
export type MtwFreightFactsInput = {
|
|
1426
|
+
commercialScope: Scalars['String']['input'];
|
|
1427
|
+
fx: Array<MtwFreightFxInput>;
|
|
1428
|
+
kind: MtwFreightKind;
|
|
1429
|
+
lines: Array<MtwFreightLineInput>;
|
|
1430
|
+
pricingAt: Scalars['DateTime']['input'];
|
|
1431
|
+
quotedAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
1432
|
+
reportingCurrency?: InputMaybe<MtwFreightCurrencyInput>;
|
|
1433
|
+
requirements: Array<MtwFreightRequirementInput>;
|
|
1434
|
+
rounding: MtwFreightRounding;
|
|
1435
|
+
sourceReference: Scalars['String']['input'];
|
|
1436
|
+
sourceRevision: Scalars['String']['input'];
|
|
1437
|
+
title: Scalars['String']['input'];
|
|
1438
|
+
validFrom?: InputMaybe<Scalars['DateTime']['input']>;
|
|
1439
|
+
validUntil?: InputMaybe<Scalars['DateTime']['input']>;
|
|
1440
|
+
};
|
|
1441
|
+
export type MtwFreightFx = {
|
|
1442
|
+
__typename?: 'MtwFreightFx';
|
|
1443
|
+
effectiveFrom: Scalars['DateTime']['output'];
|
|
1444
|
+
effectiveUntil: Scalars['DateTime']['output'];
|
|
1445
|
+
fromCurrency: MtwFreightCurrency;
|
|
1446
|
+
observedAt: Scalars['DateTime']['output'];
|
|
1447
|
+
rate: Scalars['String']['output'];
|
|
1448
|
+
sourceReference: Scalars['String']['output'];
|
|
1449
|
+
sourceRevision: Scalars['String']['output'];
|
|
1450
|
+
toCurrency: MtwFreightCurrency;
|
|
1451
|
+
};
|
|
1452
|
+
/** One from-currency major unit equals rate to-currency major units; no implicit inversion. */
|
|
1453
|
+
export type MtwFreightFxInput = {
|
|
1454
|
+
effectiveFrom: Scalars['DateTime']['input'];
|
|
1455
|
+
effectiveUntil: Scalars['DateTime']['input'];
|
|
1456
|
+
fromCurrency: MtwFreightCurrencyInput;
|
|
1457
|
+
observedAt: Scalars['DateTime']['input'];
|
|
1458
|
+
rate: Scalars['String']['input'];
|
|
1459
|
+
sourceReference: Scalars['String']['input'];
|
|
1460
|
+
sourceRevision: Scalars['String']['input'];
|
|
1461
|
+
toCurrency: MtwFreightCurrencyInput;
|
|
1462
|
+
};
|
|
1463
|
+
export type MtwFreightKind = 'ESTIMATE' | 'QUOTE';
|
|
1464
|
+
export type MtwFreightLine = {
|
|
1465
|
+
__typename?: 'MtwFreightLine';
|
|
1466
|
+
amountBasis: MtwFreightAmountBasis;
|
|
1467
|
+
amountMinor?: Maybe<Scalars['String']['output']>;
|
|
1468
|
+
category: MtwFreightCategory;
|
|
1469
|
+
currency: MtwFreightCurrency;
|
|
1470
|
+
description: Scalars['String']['output'];
|
|
1471
|
+
disposition: MtwFreightDisposition;
|
|
1472
|
+
id: Scalars['ID']['output'];
|
|
1473
|
+
inclusionParentLineId?: Maybe<Scalars['ID']['output']>;
|
|
1474
|
+
payerLabel?: Maybe<Scalars['String']['output']>;
|
|
1475
|
+
payerReference?: Maybe<Scalars['String']['output']>;
|
|
1476
|
+
quantity?: Maybe<Scalars['String']['output']>;
|
|
1477
|
+
sourceReference?: Maybe<Scalars['String']['output']>;
|
|
1478
|
+
sourceRevision?: Maybe<Scalars['String']['output']>;
|
|
1479
|
+
unit?: Maybe<Scalars['String']['output']>;
|
|
1480
|
+
unitRateMajor?: Maybe<Scalars['String']['output']>;
|
|
1481
|
+
zeroReason?: Maybe<Scalars['String']['output']>;
|
|
1482
|
+
};
|
|
1483
|
+
export type MtwFreightLineInput = {
|
|
1484
|
+
amountBasis: MtwFreightAmountBasis;
|
|
1485
|
+
amountMinor?: InputMaybe<Scalars['String']['input']>;
|
|
1486
|
+
category: MtwFreightCategory;
|
|
1487
|
+
currency: MtwFreightCurrencyInput;
|
|
1488
|
+
description: Scalars['String']['input'];
|
|
1489
|
+
disposition: MtwFreightDisposition;
|
|
1490
|
+
id: Scalars['ID']['input'];
|
|
1491
|
+
inclusionParentLineId?: InputMaybe<Scalars['ID']['input']>;
|
|
1492
|
+
payerLabel?: InputMaybe<Scalars['String']['input']>;
|
|
1493
|
+
payerReference?: InputMaybe<Scalars['String']['input']>;
|
|
1494
|
+
quantity?: InputMaybe<Scalars['String']['input']>;
|
|
1495
|
+
sourceReference?: InputMaybe<Scalars['String']['input']>;
|
|
1496
|
+
sourceRevision?: InputMaybe<Scalars['String']['input']>;
|
|
1497
|
+
unit?: InputMaybe<Scalars['String']['input']>;
|
|
1498
|
+
unitRateMajor?: InputMaybe<Scalars['String']['input']>;
|
|
1499
|
+
zeroReason?: InputMaybe<Scalars['String']['input']>;
|
|
1500
|
+
};
|
|
1501
|
+
export type MtwFreightLineTotal = {
|
|
1502
|
+
__typename?: 'MtwFreightLineTotal';
|
|
1503
|
+
id: Scalars['ID']['output'];
|
|
1504
|
+
nativeAmountMinor?: Maybe<Scalars['String']['output']>;
|
|
1505
|
+
reportingAmountMinor?: Maybe<Scalars['String']['output']>;
|
|
1506
|
+
roundedToZero: Scalars['Boolean']['output'];
|
|
1507
|
+
};
|
|
1508
|
+
/** Completeness applies only to the recorded required-charge declarations, not all possible charges. */
|
|
1509
|
+
export type MtwFreightPreview = {
|
|
1510
|
+
__typename?: 'MtwFreightPreview';
|
|
1511
|
+
completeRelativeToDeclarations: Scalars['Boolean']['output'];
|
|
1512
|
+
lines: Array<MtwFreightLineTotal>;
|
|
1513
|
+
reasons: Array<MtwFreightReason>;
|
|
1514
|
+
reportingTotalMinor?: Maybe<Scalars['String']['output']>;
|
|
1515
|
+
subtotals: Array<MtwFreightSubtotal>;
|
|
1516
|
+
warnings: Array<MtwFreightReason>;
|
|
1517
|
+
};
|
|
1518
|
+
export type MtwFreightRateBreakdownLine = {
|
|
1519
|
+
__typename?: 'MtwFreightRateBreakdownLine';
|
|
1520
|
+
amount: Scalars['Float']['output'];
|
|
1521
|
+
label: Scalars['String']['output'];
|
|
1522
|
+
};
|
|
1523
|
+
export type MtwFreightRateQuote = {
|
|
1524
|
+
__typename?: 'MtwFreightRateQuote';
|
|
1525
|
+
breakdown: Array<MtwFreightRateBreakdownLine>;
|
|
1526
|
+
calculatedCost: Scalars['Float']['output'];
|
|
1527
|
+
chargeableWeightKg?: Maybe<Scalars['Float']['output']>;
|
|
1528
|
+
currency: Scalars['String']['output'];
|
|
1529
|
+
mode: TransportMode;
|
|
1530
|
+
ratePerUnit: Scalars['Float']['output'];
|
|
1531
|
+
};
|
|
1532
|
+
export type MtwFreightReason = {
|
|
1533
|
+
__typename?: 'MtwFreightReason';
|
|
1534
|
+
code: Scalars['String']['output'];
|
|
1535
|
+
detail: Scalars['String']['output'];
|
|
1536
|
+
lineId?: Maybe<Scalars['ID']['output']>;
|
|
1537
|
+
};
|
|
1538
|
+
export type MtwFreightRequirement = {
|
|
1539
|
+
__typename?: 'MtwFreightRequirement';
|
|
1540
|
+
category: MtwFreightCategory;
|
|
1541
|
+
reason?: Maybe<Scalars['String']['output']>;
|
|
1542
|
+
sourceReference?: Maybe<Scalars['String']['output']>;
|
|
1543
|
+
sourceRevision?: Maybe<Scalars['String']['output']>;
|
|
1544
|
+
status: MtwFreightRequirementStatus;
|
|
1545
|
+
};
|
|
1546
|
+
export type MtwFreightRequirementInput = {
|
|
1547
|
+
category: MtwFreightCategory;
|
|
1548
|
+
reason?: InputMaybe<Scalars['String']['input']>;
|
|
1549
|
+
sourceReference?: InputMaybe<Scalars['String']['input']>;
|
|
1550
|
+
sourceRevision?: InputMaybe<Scalars['String']['input']>;
|
|
1551
|
+
status: MtwFreightRequirementStatus;
|
|
1552
|
+
};
|
|
1553
|
+
export type MtwFreightRequirementStatus = 'NOT_APPLICABLE' | 'REQUIRED' | 'UNKNOWN';
|
|
1554
|
+
export type MtwFreightRounding = 'HALF_UP_LINE';
|
|
1555
|
+
export type MtwFreightShipmentCapture = {
|
|
1556
|
+
__typename?: 'MtwFreightShipmentCapture';
|
|
1557
|
+
capturedUpdatedAt: Scalars['DateTime']['output'];
|
|
1558
|
+
primaryMode: Scalars['String']['output'];
|
|
1559
|
+
shipmentNumber: Scalars['String']['output'];
|
|
1560
|
+
};
|
|
1561
|
+
export type MtwFreightSubtotal = {
|
|
1562
|
+
__typename?: 'MtwFreightSubtotal';
|
|
1563
|
+
currency: MtwFreightCurrency;
|
|
1564
|
+
knownAmountMinor: Scalars['String']['output'];
|
|
1565
|
+
payerLabel?: Maybe<Scalars['String']['output']>;
|
|
1566
|
+
payerReference?: Maybe<Scalars['String']['output']>;
|
|
1567
|
+
totalAmountMinor?: Maybe<Scalars['String']['output']>;
|
|
1568
|
+
};
|
|
1569
|
+
/** A recorded manual issuer review; workspace privileges do not establish professional qualifications. */
|
|
1570
|
+
export type MtwInspectorQualification = {
|
|
1571
|
+
__typename?: 'MtwInspectorQualification';
|
|
1572
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1573
|
+
credentialReference: Scalars['String']['output'];
|
|
1574
|
+
evidence: Array<MtwContainerEvidence>;
|
|
1575
|
+
id: Scalars['ID']['output'];
|
|
1576
|
+
issuerConfirmationReference?: Maybe<Scalars['String']['output']>;
|
|
1577
|
+
issuerName: Scalars['String']['output'];
|
|
1578
|
+
reviewEvidence: Array<MtwContainerEvidence>;
|
|
1579
|
+
reviewNote?: Maybe<Scalars['String']['output']>;
|
|
1580
|
+
reviewedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1581
|
+
revocationReason?: Maybe<Scalars['String']['output']>;
|
|
1582
|
+
revokedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1583
|
+
scopes: Array<MtwContainerQualificationScope>;
|
|
1584
|
+
status: MtwContainerQualificationStatus;
|
|
1585
|
+
subjectActorId: Scalars['ID']['output'];
|
|
1586
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1587
|
+
validFrom: Scalars['DateTime']['output'];
|
|
1588
|
+
validUntil: Scalars['DateTime']['output'];
|
|
1589
|
+
verifierActorId?: Maybe<Scalars['ID']['output']>;
|
|
1590
|
+
version: Scalars['Int']['output'];
|
|
1591
|
+
};
|
|
1592
|
+
export type MtwInspectorQualificationPage = {
|
|
1593
|
+
__typename?: 'MtwInspectorQualificationPage';
|
|
1594
|
+
hasMore: Scalars['Boolean']['output'];
|
|
1595
|
+
items: Array<MtwInspectorQualification>;
|
|
1596
|
+
limit: Scalars['Int']['output'];
|
|
1597
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
1598
|
+
offset: Scalars['Int']['output'];
|
|
1599
|
+
total: Scalars['Int']['output'];
|
|
1600
|
+
};
|
|
1601
|
+
export type MtwIntegration = {
|
|
1602
|
+
__typename?: 'MtwIntegration';
|
|
1603
|
+
apiKey?: Maybe<Scalars['String']['output']>;
|
|
1604
|
+
config?: Maybe<Scalars['JSON']['output']>;
|
|
1605
|
+
context?: Maybe<OperationContext>;
|
|
1606
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1607
|
+
createdBy: Scalars['String']['output'];
|
|
1608
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1609
|
+
events: Array<MtwIntegrationEvent>;
|
|
1610
|
+
id: Scalars['ID']['output'];
|
|
1611
|
+
lastErrorAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1612
|
+
lastErrorMessage?: Maybe<Scalars['String']['output']>;
|
|
1613
|
+
lastSyncAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1614
|
+
name: Scalars['String']['output'];
|
|
1615
|
+
onBehalfOf: Scalars['String']['output'];
|
|
1616
|
+
provider: MtwIntegrationProvider;
|
|
1617
|
+
status: IntegrationStatus;
|
|
1618
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1619
|
+
updatedBy?: Maybe<Scalars['String']['output']>;
|
|
1620
|
+
workspaceId: Scalars['ID']['output'];
|
|
1621
|
+
};
|
|
1622
|
+
export type MtwIntegrationEventsArgs = {
|
|
1623
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
1624
|
+
};
|
|
1625
|
+
export type MtwIntegrationEvent = {
|
|
1626
|
+
__typename?: 'MtwIntegrationEvent';
|
|
1627
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1628
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1629
|
+
errorMessage?: Maybe<Scalars['String']['output']>;
|
|
1630
|
+
eventType?: Maybe<TrackingEventType>;
|
|
1631
|
+
externalEventId?: Maybe<Scalars['String']['output']>;
|
|
1632
|
+
id: Scalars['ID']['output'];
|
|
1633
|
+
integrationId: Scalars['ID']['output'];
|
|
1634
|
+
outcomes?: Maybe<Scalars['JSON']['output']>;
|
|
1635
|
+
processedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1636
|
+
rawPayload?: Maybe<Scalars['JSON']['output']>;
|
|
1637
|
+
receivedAt: Scalars['DateTime']['output'];
|
|
1638
|
+
shipmentId?: Maybe<Scalars['ID']['output']>;
|
|
1639
|
+
status: IntegrationEventStatus;
|
|
1640
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1641
|
+
workspaceId: Scalars['ID']['output'];
|
|
1642
|
+
};
|
|
1643
|
+
export type MtwIntegrationIngestReceipt = {
|
|
1644
|
+
__typename?: 'MtwIntegrationIngestReceipt';
|
|
1645
|
+
externalEventId: Scalars['String']['output'];
|
|
1646
|
+
id: Scalars['ID']['output'];
|
|
1647
|
+
integrationId: Scalars['ID']['output'];
|
|
1648
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
1649
|
+
trackingEventId: Scalars['ID']['output'];
|
|
1650
|
+
workspaceId: Scalars['ID']['output'];
|
|
1651
|
+
};
|
|
1652
|
+
export type MtwIntegrationProvider = 'DESCARTES' | 'FOURKITES' | 'GENERIC_WEBHOOK' | 'PROJECT44';
|
|
1653
|
+
export type MtwInventoryItem = {
|
|
1654
|
+
__typename?: 'MtwInventoryItem';
|
|
1655
|
+
allocated: Scalars['Int']['output'];
|
|
1656
|
+
available: Scalars['Int']['output'];
|
|
1657
|
+
cargoItem?: Maybe<MtwCargoItem>;
|
|
1658
|
+
cargoItemId: Scalars['ID']['output'];
|
|
1659
|
+
/** Monotonic stock/binding change marker, not certified composition or pick eligibility. */
|
|
1660
|
+
compositionEpoch: Scalars['Int']['output'];
|
|
1661
|
+
context?: Maybe<OperationContext>;
|
|
1662
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1663
|
+
createdBy: Scalars['String']['output'];
|
|
1664
|
+
damaged: Scalars['Int']['output'];
|
|
1665
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1666
|
+
id: Scalars['ID']['output'];
|
|
1667
|
+
location?: Maybe<MtwWarehouseLocation>;
|
|
1668
|
+
locationId?: Maybe<Scalars['ID']['output']>;
|
|
1669
|
+
onBehalfOf: Scalars['String']['output'];
|
|
1670
|
+
onHand: Scalars['Int']['output'];
|
|
1671
|
+
reorderPoint?: Maybe<Scalars['Int']['output']>;
|
|
1672
|
+
safetyStock?: Maybe<Scalars['Int']['output']>;
|
|
1673
|
+
unitCost?: Maybe<Scalars['Float']['output']>;
|
|
1674
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1675
|
+
updatedBy?: Maybe<Scalars['String']['output']>;
|
|
1676
|
+
warehouse?: Maybe<MtwWarehouse>;
|
|
1677
|
+
warehouseId: Scalars['ID']['output'];
|
|
1678
|
+
workspaceId: Scalars['ID']['output'];
|
|
1679
|
+
};
|
|
1680
|
+
export type MtwInventoryStats = {
|
|
1681
|
+
__typename?: 'MtwInventoryStats';
|
|
1682
|
+
lowStockCount: Scalars['Int']['output'];
|
|
1683
|
+
totalAllocated: Scalars['Int']['output'];
|
|
1684
|
+
totalAvailable: Scalars['Int']['output'];
|
|
1685
|
+
totalDamaged: Scalars['Int']['output'];
|
|
1686
|
+
totalOnHand: Scalars['Int']['output'];
|
|
1687
|
+
};
|
|
1688
|
+
export type MtwInventoryTransaction = {
|
|
1689
|
+
__typename?: 'MtwInventoryTransaction';
|
|
1690
|
+
cargoItemId: Scalars['ID']['output'];
|
|
1691
|
+
context?: Maybe<OperationContext>;
|
|
1692
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1693
|
+
createdBy: Scalars['String']['output'];
|
|
1694
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1695
|
+
id: Scalars['ID']['output'];
|
|
1696
|
+
inventoryItemId?: Maybe<Scalars['ID']['output']>;
|
|
1697
|
+
notes?: Maybe<Scalars['String']['output']>;
|
|
1698
|
+
onBehalfOf: Scalars['String']['output'];
|
|
1699
|
+
quantity: Scalars['Int']['output'];
|
|
1700
|
+
referenceId?: Maybe<Scalars['String']['output']>;
|
|
1701
|
+
referenceType?: Maybe<Scalars['String']['output']>;
|
|
1702
|
+
transactionNumber: Scalars['String']['output'];
|
|
1703
|
+
type: InventoryTransactionType;
|
|
1704
|
+
unitCost?: Maybe<Scalars['Float']['output']>;
|
|
1705
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1706
|
+
updatedBy?: Maybe<Scalars['String']['output']>;
|
|
1707
|
+
warehouseId: Scalars['ID']['output'];
|
|
1708
|
+
workspaceId: Scalars['ID']['output'];
|
|
1709
|
+
};
|
|
1710
|
+
export type MtwInventoryTransferResult = {
|
|
1711
|
+
__typename?: 'MtwInventoryTransferResult';
|
|
1712
|
+
destination: MtwInventoryItem;
|
|
1713
|
+
source: MtwInventoryItem;
|
|
1714
|
+
};
|
|
1715
|
+
/** An estimate from the caller's own inputs — not a quote from anyone. */
|
|
1716
|
+
export type MtwOwnFleetEstimate = {
|
|
1717
|
+
__typename?: 'MtwOwnFleetEstimate';
|
|
1718
|
+
/** fixedCost + distanceKm * costPerKm. */
|
|
1719
|
+
cost: Scalars['Float']['output'];
|
|
1720
|
+
costPerKm: Scalars['Float']['output'];
|
|
1721
|
+
currency: Scalars['String']['output'];
|
|
1722
|
+
distanceKm: Scalars['Float']['output'];
|
|
1723
|
+
fixedCost: Scalars['Float']['output'];
|
|
1724
|
+
isCheaperThanCouriers: Scalars['Boolean']['output'];
|
|
1725
|
+
/** Cheapest courier price minus this estimate. Positive means running your own vehicle is cheaper. Null when no courier quoted. */
|
|
1726
|
+
savingsVsCheapestCourier?: Maybe<Scalars['Float']['output']>;
|
|
1727
|
+
};
|
|
1728
|
+
export type MtwPickIntentLine = {
|
|
1729
|
+
__typename?: 'MtwPickIntentLine';
|
|
1730
|
+
applicableProfile?: Maybe<MtwPickIntentProfile>;
|
|
1731
|
+
binLabel: Scalars['String']['output'];
|
|
1732
|
+
cargoItemId: Scalars['ID']['output'];
|
|
1733
|
+
cargoLabel: Scalars['String']['output'];
|
|
1734
|
+
cargoUpdatedAt: Scalars['DateTime']['output'];
|
|
1735
|
+
compositionEpoch: Scalars['Int']['output'];
|
|
1736
|
+
criticalFingerprint: Scalars['String']['output'];
|
|
1737
|
+
inventoryItemId: Scalars['ID']['output'];
|
|
1738
|
+
inventoryUpdatedAt: Scalars['DateTime']['output'];
|
|
1739
|
+
locationId: Scalars['ID']['output'];
|
|
1740
|
+
locationUpdatedAt: Scalars['DateTime']['output'];
|
|
1741
|
+
observationSequence: Scalars['Int']['output'];
|
|
1742
|
+
recordedProfile?: Maybe<MtwPickIntentProfile>;
|
|
1743
|
+
reviewGaps: Array<Scalars['String']['output']>;
|
|
1744
|
+
stock: MtwPickIntentStock;
|
|
1745
|
+
unresolvedObservationIds: Array<Scalars['ID']['output']>;
|
|
1746
|
+
warehouseId: Scalars['ID']['output'];
|
|
1747
|
+
warehouseLabel: Scalars['String']['output'];
|
|
1748
|
+
warehouseUpdatedAt: Scalars['DateTime']['output'];
|
|
1749
|
+
};
|
|
1750
|
+
export type MtwPickIntentLinePinInput = {
|
|
1751
|
+
expectedApplicableAssessmentId?: InputMaybe<Scalars['ID']['input']>;
|
|
1752
|
+
expectedCargoItemId: Scalars['ID']['input'];
|
|
1753
|
+
expectedCargoUpdatedAt: Scalars['DateTime']['input'];
|
|
1754
|
+
expectedCompositionEpoch: Scalars['Int']['input'];
|
|
1755
|
+
expectedInventoryUpdatedAt: Scalars['DateTime']['input'];
|
|
1756
|
+
expectedLocationId: Scalars['ID']['input'];
|
|
1757
|
+
expectedLocationUpdatedAt: Scalars['DateTime']['input'];
|
|
1758
|
+
expectedObservationSequence: Scalars['Int']['input'];
|
|
1759
|
+
expectedRecordedAssessmentId?: InputMaybe<Scalars['ID']['input']>;
|
|
1760
|
+
expectedWarehouseId: Scalars['ID']['input'];
|
|
1761
|
+
expectedWarehouseUpdatedAt: Scalars['DateTime']['input'];
|
|
1762
|
+
inventoryItemId: Scalars['ID']['input'];
|
|
1763
|
+
};
|
|
1764
|
+
export type MtwPickIntentProfile = {
|
|
1765
|
+
__typename?: 'MtwPickIntentProfile';
|
|
1766
|
+
capturedCompositionEpoch?: Maybe<Scalars['Int']['output']>;
|
|
1767
|
+
criticalFingerprint: Scalars['String']['output'];
|
|
1768
|
+
effectiveAt: Scalars['DateTime']['output'];
|
|
1769
|
+
facts: MtwStockBindingFacts;
|
|
1770
|
+
id: Scalars['ID']['output'];
|
|
1771
|
+
version: Scalars['Int']['output'];
|
|
1772
|
+
};
|
|
1773
|
+
export type MtwPickIntentStock = {
|
|
1774
|
+
__typename?: 'MtwPickIntentStock';
|
|
1775
|
+
allocated: Scalars['Int']['output'];
|
|
1776
|
+
available: Scalars['Int']['output'];
|
|
1777
|
+
damaged: Scalars['Int']['output'];
|
|
1778
|
+
onHand: Scalars['Int']['output'];
|
|
1779
|
+
};
|
|
1780
|
+
/** Transient server-clock review context; no reservation or move authorization. */
|
|
1781
|
+
export type MtwPickPreparation = {
|
|
1782
|
+
__typename?: 'MtwPickPreparation';
|
|
1783
|
+
destination: MtwPickIntentLine;
|
|
1784
|
+
evaluatedAt: Scalars['DateTime']['output'];
|
|
1785
|
+
source: MtwPickIntentLine;
|
|
1786
|
+
};
|
|
1787
|
+
/** Immutable reported planning intent. It reserves no stock and grants no execution authority. */
|
|
1788
|
+
export type MtwPickTask = {
|
|
1789
|
+
__typename?: 'MtwPickTask';
|
|
1790
|
+
actorProvenance: Scalars['String']['output'];
|
|
1791
|
+
createdBy: Scalars['ID']['output'];
|
|
1792
|
+
destination: MtwPickIntentLine;
|
|
1793
|
+
executorActorId: Scalars['ID']['output'];
|
|
1794
|
+
id: Scalars['ID']['output'];
|
|
1795
|
+
intentHash: Scalars['String']['output'];
|
|
1796
|
+
note: Scalars['String']['output'];
|
|
1797
|
+
onBehalfOf?: Maybe<Scalars['ID']['output']>;
|
|
1798
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
1799
|
+
requestedQuantity: Scalars['Int']['output'];
|
|
1800
|
+
reservedQuantity: Scalars['Int']['output'];
|
|
1801
|
+
source: MtwPickIntentLine;
|
|
1802
|
+
stagedQuantity: Scalars['Int']['output'];
|
|
1803
|
+
status: MtwPickTaskStatus;
|
|
1804
|
+
workflow: MtwPickTaskWorkflow;
|
|
1805
|
+
};
|
|
1806
|
+
export type MtwPickTaskPage = {
|
|
1807
|
+
__typename?: 'MtwPickTaskPage';
|
|
1808
|
+
hasMore: Scalars['Boolean']['output'];
|
|
1809
|
+
items: Array<MtwPickTask>;
|
|
1810
|
+
limit: Scalars['Int']['output'];
|
|
1811
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
1812
|
+
offset: Scalars['Int']['output'];
|
|
1813
|
+
total: Scalars['Int']['output'];
|
|
1814
|
+
};
|
|
1815
|
+
export type MtwPickTaskStatus = 'PENDING_REVIEW';
|
|
1816
|
+
export type MtwPickTaskWorkflow = 'PICK_TO_STAGING';
|
|
1817
|
+
export type MtwProcedureApplicability = {
|
|
1818
|
+
__typename?: 'MtwProcedureApplicability';
|
|
1819
|
+
enforcement: MtwProcedureRecordingBoundary;
|
|
1820
|
+
evaluatedAt: Scalars['DateTime']['output'];
|
|
1821
|
+
policies: Array<MtwProcedureApplicablePolicy>;
|
|
1822
|
+
proposalId: Scalars['ID']['output'];
|
|
1823
|
+
};
|
|
1824
|
+
export type MtwProcedureApplicabilityStatus = 'APPLICABLE_RECORDED_POLICY' | 'EXPIRED' | 'WITHDRAWN';
|
|
1825
|
+
export type MtwProcedureApplicablePolicy = {
|
|
1826
|
+
__typename?: 'MtwProcedureApplicablePolicy';
|
|
1827
|
+
status: MtwProcedureApplicabilityStatus;
|
|
1828
|
+
version: MtwProcedureVersion;
|
|
1829
|
+
};
|
|
1830
|
+
export type MtwProcedureDeviation = {
|
|
1831
|
+
__typename?: 'MtwProcedureDeviation';
|
|
1832
|
+
authorityScope: MtwProcedureDeviationAuthority;
|
|
1833
|
+
createdBy: Scalars['ID']['output'];
|
|
1834
|
+
evidence: Array<MtwContainerEvidence>;
|
|
1835
|
+
executionId: Scalars['ID']['output'];
|
|
1836
|
+
id: Scalars['ID']['output'];
|
|
1837
|
+
kind: MtwProcedureDeviationKind;
|
|
1838
|
+
previousDeviationId?: Maybe<Scalars['ID']['output']>;
|
|
1839
|
+
reason: Scalars['String']['output'];
|
|
1840
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
1841
|
+
stepDecisionId: Scalars['ID']['output'];
|
|
1842
|
+
validFrom?: Maybe<Scalars['DateTime']['output']>;
|
|
1843
|
+
validUntil?: Maybe<Scalars['DateTime']['output']>;
|
|
1844
|
+
version: Scalars['Int']['output'];
|
|
1845
|
+
workspaceId: Scalars['ID']['output'];
|
|
1846
|
+
};
|
|
1847
|
+
export type MtwProcedureDeviationAuthority = 'INTERNAL_REVIEW_NOTE_ONLY';
|
|
1848
|
+
export type MtwProcedureDeviationKind = 'APPROVED' | 'REJECTED' | 'REVOKED';
|
|
1849
|
+
export type MtwProcedureDeviationPage = {
|
|
1850
|
+
__typename?: 'MtwProcedureDeviationPage';
|
|
1851
|
+
hasMore: Scalars['Boolean']['output'];
|
|
1852
|
+
items: Array<MtwProcedureDeviation>;
|
|
1853
|
+
limit: Scalars['Int']['output'];
|
|
1854
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
1855
|
+
offset: Scalars['Int']['output'];
|
|
1856
|
+
total: Scalars['Int']['output'];
|
|
1857
|
+
};
|
|
1858
|
+
export type MtwProcedureDeviationReviewKind = 'APPROVED' | 'REJECTED';
|
|
1859
|
+
export type MtwProcedureExecution = {
|
|
1860
|
+
__typename?: 'MtwProcedureExecution';
|
|
1861
|
+
createdBy: Scalars['ID']['output'];
|
|
1862
|
+
enforcement: MtwProcedureRecordingBoundary;
|
|
1863
|
+
executorActorId: Scalars['ID']['output'];
|
|
1864
|
+
id: Scalars['ID']['output'];
|
|
1865
|
+
procedureVersionId: Scalars['ID']['output'];
|
|
1866
|
+
proposalId: Scalars['ID']['output'];
|
|
1867
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
1868
|
+
subject: MtwProcedureSubject;
|
|
1869
|
+
subjectFingerprint: Scalars['String']['output'];
|
|
1870
|
+
workspaceId: Scalars['ID']['output'];
|
|
1871
|
+
};
|
|
1872
|
+
export type MtwProcedureExecutionPage = {
|
|
1873
|
+
__typename?: 'MtwProcedureExecutionPage';
|
|
1874
|
+
hasMore: Scalars['Boolean']['output'];
|
|
1875
|
+
items: Array<MtwProcedureExecution>;
|
|
1876
|
+
limit: Scalars['Int']['output'];
|
|
1877
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
1878
|
+
offset: Scalars['Int']['output'];
|
|
1879
|
+
total: Scalars['Int']['output'];
|
|
1880
|
+
};
|
|
1881
|
+
/** Internal logistics checklist records. This checkpoint does not enforce reservation or certify physical/regulatory work. */
|
|
1882
|
+
export type MtwProcedureRecordingBoundary = 'RECORDING_ONLY';
|
|
1883
|
+
export type MtwProcedureScope = {
|
|
1884
|
+
__typename?: 'MtwProcedureScope';
|
|
1885
|
+
cargoCategory: MtwContainerCargoCategory;
|
|
1886
|
+
declaredJurisdictions: Array<Scalars['String']['output']>;
|
|
1887
|
+
declaredLaneReference: Scalars['String']['output'];
|
|
1888
|
+
equipmentOwnerReference: Scalars['String']['output'];
|
|
1889
|
+
equipmentType: MtwEquipmentType;
|
|
1890
|
+
handoffLocationReference: Scalars['String']['output'];
|
|
1891
|
+
schemaVersion: Scalars['Int']['output'];
|
|
1892
|
+
sourceReference: Scalars['String']['output'];
|
|
1893
|
+
sourceRevision: Scalars['String']['output'];
|
|
1894
|
+
};
|
|
1895
|
+
export type MtwProcedureScopeInput = {
|
|
1896
|
+
cargoCategory: MtwContainerCargoCategory;
|
|
1897
|
+
declaredJurisdictions: Array<Scalars['String']['input']>;
|
|
1898
|
+
declaredLaneReference: Scalars['String']['input'];
|
|
1899
|
+
equipmentOwnerReference: Scalars['String']['input'];
|
|
1900
|
+
equipmentType: MtwEquipmentType;
|
|
1901
|
+
handoffLocationReference: Scalars['String']['input'];
|
|
1902
|
+
sourceReference: Scalars['String']['input'];
|
|
1903
|
+
sourceRevision: Scalars['String']['input'];
|
|
1904
|
+
};
|
|
1905
|
+
export type MtwProcedureStep = 'BOOKING_ROAD_RETURN_REVIEW' | 'CONDITION_HOLDS_REVIEW' | 'RETURN_INSTRUCTION_REVIEW';
|
|
1906
|
+
export type MtwProcedureStepDecision = {
|
|
1907
|
+
__typename?: 'MtwProcedureStepDecision';
|
|
1908
|
+
createdBy: Scalars['ID']['output'];
|
|
1909
|
+
evidence: Array<MtwContainerEvidence>;
|
|
1910
|
+
executionId: Scalars['ID']['output'];
|
|
1911
|
+
id: Scalars['ID']['output'];
|
|
1912
|
+
kind: MtwProcedureStepKind;
|
|
1913
|
+
note: Scalars['String']['output'];
|
|
1914
|
+
previousDecisionId?: Maybe<Scalars['ID']['output']>;
|
|
1915
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
1916
|
+
step: MtwProcedureStep;
|
|
1917
|
+
version: Scalars['Int']['output'];
|
|
1918
|
+
workspaceId: Scalars['ID']['output'];
|
|
1919
|
+
};
|
|
1920
|
+
export type MtwProcedureStepKind = 'DONE' | 'ISSUE';
|
|
1921
|
+
export type MtwProcedureStepPage = {
|
|
1922
|
+
__typename?: 'MtwProcedureStepPage';
|
|
1923
|
+
hasMore: Scalars['Boolean']['output'];
|
|
1924
|
+
items: Array<MtwProcedureStepDecision>;
|
|
1925
|
+
limit: Scalars['Int']['output'];
|
|
1926
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
1927
|
+
offset: Scalars['Int']['output'];
|
|
1928
|
+
total: Scalars['Int']['output'];
|
|
1929
|
+
};
|
|
1930
|
+
export type MtwProcedureSubject = {
|
|
1931
|
+
__typename?: 'MtwProcedureSubject';
|
|
1932
|
+
cargoCategory: MtwContainerCargoCategory;
|
|
1933
|
+
containerId: Scalars['ID']['output'];
|
|
1934
|
+
cycleId: Scalars['ID']['output'];
|
|
1935
|
+
cycleVersion: Scalars['Int']['output'];
|
|
1936
|
+
emptyEventId: Scalars['ID']['output'];
|
|
1937
|
+
equipmentOwnerReference: Scalars['String']['output'];
|
|
1938
|
+
equipmentType: MtwEquipmentType;
|
|
1939
|
+
handoffFrom: Scalars['DateTime']['output'];
|
|
1940
|
+
handoffLocationReference: Scalars['String']['output'];
|
|
1941
|
+
handoffUntil: Scalars['DateTime']['output'];
|
|
1942
|
+
inspectionId: Scalars['ID']['output'];
|
|
1943
|
+
instructionId: Scalars['ID']['output'];
|
|
1944
|
+
proposalId: Scalars['ID']['output'];
|
|
1945
|
+
proposalRevision: Scalars['Int']['output'];
|
|
1946
|
+
transportRouteId: Scalars['ID']['output'];
|
|
1947
|
+
transportRouteUpdatedAt: Scalars['DateTime']['output'];
|
|
1948
|
+
};
|
|
1949
|
+
export type MtwProcedureVersion = {
|
|
1950
|
+
__typename?: 'MtwProcedureVersion';
|
|
1951
|
+
createdBy: Scalars['ID']['output'];
|
|
1952
|
+
effectiveAt: Scalars['DateTime']['output'];
|
|
1953
|
+
enforcement: MtwProcedureRecordingBoundary;
|
|
1954
|
+
evidence: Array<MtwContainerEvidence>;
|
|
1955
|
+
id: Scalars['ID']['output'];
|
|
1956
|
+
kind: MtwProcedureVersionKind;
|
|
1957
|
+
previousVersionId?: Maybe<Scalars['ID']['output']>;
|
|
1958
|
+
reason: Scalars['String']['output'];
|
|
1959
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
1960
|
+
requiredSteps: Array<MtwProcedureStep>;
|
|
1961
|
+
scope: MtwProcedureScope;
|
|
1962
|
+
templateReference: Scalars['String']['output'];
|
|
1963
|
+
title: Scalars['String']['output'];
|
|
1964
|
+
validUntil?: Maybe<Scalars['DateTime']['output']>;
|
|
1965
|
+
version: Scalars['Int']['output'];
|
|
1966
|
+
workspaceId: Scalars['ID']['output'];
|
|
1967
|
+
};
|
|
1968
|
+
export type MtwProcedureVersionKind = 'PUBLISHED' | 'WITHDRAWN';
|
|
1969
|
+
export type MtwProcedureVersionPage = {
|
|
1970
|
+
__typename?: 'MtwProcedureVersionPage';
|
|
1971
|
+
hasMore: Scalars['Boolean']['output'];
|
|
1972
|
+
items: Array<MtwProcedureVersion>;
|
|
1973
|
+
limit: Scalars['Int']['output'];
|
|
1974
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
1975
|
+
offset: Scalars['Int']['output'];
|
|
1976
|
+
total: Scalars['Int']['output'];
|
|
1977
|
+
};
|
|
1978
|
+
/**
|
|
1979
|
+
* Electronic proof-of-delivery (ePOD) capture (BOFF-4399). Signature +
|
|
1980
|
+
* recipient name + geo-timestamp are always required; photos are optional and
|
|
1981
|
+
* referenced by `wspace-files-svc` File id (never stored as blobs here).
|
|
1982
|
+
*/
|
|
1983
|
+
export type MtwProofOfDelivery = {
|
|
1984
|
+
__typename?: 'MtwProofOfDelivery';
|
|
1985
|
+
capturedByDriver?: Maybe<MtwDriver>;
|
|
1986
|
+
capturedByDriverId: Scalars['ID']['output'];
|
|
1987
|
+
context?: Maybe<OperationContext>;
|
|
1988
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1989
|
+
createdBy: Scalars['String']['output'];
|
|
1990
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1991
|
+
deliveredAt: Scalars['DateTime']['output'];
|
|
1992
|
+
deliveryJob?: Maybe<MtwDeliveryJob>;
|
|
1993
|
+
deliveryJobId: Scalars['ID']['output'];
|
|
1994
|
+
id: Scalars['ID']['output'];
|
|
1995
|
+
latitude?: Maybe<Scalars['Float']['output']>;
|
|
1996
|
+
locationAccuracy?: Maybe<Scalars['Float']['output']>;
|
|
1997
|
+
longitude?: Maybe<Scalars['Float']['output']>;
|
|
1998
|
+
notes?: Maybe<Scalars['String']['output']>;
|
|
1999
|
+
onBehalfOf: Scalars['String']['output'];
|
|
2000
|
+
/** wspace-files-svc File ids for any delivery photos attached to this capture. */
|
|
2001
|
+
photoFileIds?: Maybe<Scalars['JSON']['output']>;
|
|
2002
|
+
recipientName: Scalars['String']['output'];
|
|
2003
|
+
shipmentId?: Maybe<Scalars['ID']['output']>;
|
|
2004
|
+
/** Drawn signature: a data-URI PNG/SVG produced by the capture pad. Typed signature: the typed full name. */
|
|
2005
|
+
signatureData: Scalars['String']['output'];
|
|
2006
|
+
signatureType: SignatureType;
|
|
2007
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
2008
|
+
updatedBy?: Maybe<Scalars['String']['output']>;
|
|
2009
|
+
workspaceId: Scalars['ID']['output'];
|
|
2010
|
+
};
|
|
2011
|
+
export type MtwReuseApprovalKind = 'APPROVED' | 'REJECTED' | 'REVOKED';
|
|
2012
|
+
export type MtwReuseBlocker = {
|
|
2013
|
+
__typename?: 'MtwReuseBlocker';
|
|
2014
|
+
certainty: MtwReuseBlockerCertainty;
|
|
2015
|
+
code: Scalars['String']['output'];
|
|
2016
|
+
reason: Scalars['String']['output'];
|
|
2017
|
+
};
|
|
2018
|
+
export type MtwReuseBlockerCertainty = 'FAILED' | 'UNKNOWN';
|
|
2019
|
+
/** Point-in-time planning review under recorded evidence; creates no allocation or operational event. */
|
|
2020
|
+
export type MtwReuseEligibility = {
|
|
2021
|
+
__typename?: 'MtwReuseEligibility';
|
|
2022
|
+
approvalId?: Maybe<Scalars['ID']['output']>;
|
|
2023
|
+
blockers: Array<MtwReuseBlocker>;
|
|
2024
|
+
evaluatedAt: Scalars['DateTime']['output'];
|
|
2025
|
+
proposalId: Scalars['ID']['output'];
|
|
2026
|
+
status: MtwReuseReadinessStatus;
|
|
2027
|
+
};
|
|
2028
|
+
/** Immutable planning revision. Recording it does not approve, reserve, dispatch or complete a street turn. */
|
|
2029
|
+
export type MtwReuseProposal = {
|
|
2030
|
+
__typename?: 'MtwReuseProposal';
|
|
2031
|
+
assessment: MtwReuseProposalAssessment;
|
|
2032
|
+
cargoCategory: MtwContainerCargoCategory;
|
|
2033
|
+
containerId: Scalars['ID']['output'];
|
|
2034
|
+
createdBy: Scalars['ID']['output'];
|
|
2035
|
+
cycleId: Scalars['ID']['output'];
|
|
2036
|
+
emptyEventId: Scalars['ID']['output'];
|
|
2037
|
+
evidence: Array<MtwContainerEvidence>;
|
|
2038
|
+
exportBookingReference: Scalars['String']['output'];
|
|
2039
|
+
exporterReference: Scalars['String']['output'];
|
|
2040
|
+
handoffFrom: Scalars['DateTime']['output'];
|
|
2041
|
+
handoffLocationReference: Scalars['String']['output'];
|
|
2042
|
+
handoffUntil: Scalars['DateTime']['output'];
|
|
2043
|
+
id: Scalars['ID']['output'];
|
|
2044
|
+
inspectionId: Scalars['ID']['output'];
|
|
2045
|
+
instructionId: Scalars['ID']['output'];
|
|
2046
|
+
proposalReference: Scalars['String']['output'];
|
|
2047
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
2048
|
+
requiredEquipmentType: MtwEquipmentType;
|
|
2049
|
+
revision: Scalars['Int']['output'];
|
|
2050
|
+
transportRouteId: Scalars['ID']['output'];
|
|
2051
|
+
transportRouteUpdatedAt: Scalars['DateTime']['output'];
|
|
2052
|
+
};
|
|
2053
|
+
export type MtwReuseProposalAssessment = {
|
|
2054
|
+
__typename?: 'MtwReuseProposalAssessment';
|
|
2055
|
+
conditionQualificationId?: Maybe<Scalars['ID']['output']>;
|
|
2056
|
+
conditionQualificationVersion?: Maybe<Scalars['Int']['output']>;
|
|
2057
|
+
routeBinding?: Maybe<MtwReuseRouteBinding>;
|
|
2058
|
+
schemaVersion: Scalars['Int']['output'];
|
|
2059
|
+
scopeFingerprint: Scalars['String']['output'];
|
|
2060
|
+
sources: MtwReuseSources;
|
|
2061
|
+
timing?: Maybe<MtwReuseTiming>;
|
|
2062
|
+
};
|
|
2063
|
+
export type MtwReuseProposalPage = {
|
|
2064
|
+
__typename?: 'MtwReuseProposalPage';
|
|
2065
|
+
hasMore: Scalars['Boolean']['output'];
|
|
2066
|
+
items: Array<MtwReuseProposal>;
|
|
2067
|
+
limit: Scalars['Int']['output'];
|
|
2068
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
2069
|
+
offset: Scalars['Int']['output'];
|
|
2070
|
+
total: Scalars['Int']['output'];
|
|
2071
|
+
};
|
|
2072
|
+
export type MtwReuseReadinessStatus = 'BLOCKED' | 'READY_FOR_DISPATCH_REVIEW';
|
|
2073
|
+
/** Planning allocation only. ACTIVE does not mean street turn executed or constraints remain clear. */
|
|
2074
|
+
export type MtwReuseReservation = {
|
|
2075
|
+
__typename?: 'MtwReuseReservation';
|
|
2076
|
+
approvalId: Scalars['ID']['output'];
|
|
2077
|
+
containerId: Scalars['ID']['output'];
|
|
2078
|
+
createdAt: Scalars['DateTime']['output'];
|
|
2079
|
+
createdBy: Scalars['ID']['output'];
|
|
2080
|
+
cycleId: Scalars['ID']['output'];
|
|
2081
|
+
handoffUntil: Scalars['DateTime']['output'];
|
|
2082
|
+
id: Scalars['ID']['output'];
|
|
2083
|
+
proposalId: Scalars['ID']['output'];
|
|
2084
|
+
status: MtwReuseReservationStatus;
|
|
2085
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
2086
|
+
updatedBy?: Maybe<Scalars['ID']['output']>;
|
|
2087
|
+
version: Scalars['Int']['output'];
|
|
2088
|
+
};
|
|
2089
|
+
export type MtwReuseReservationPage = {
|
|
2090
|
+
__typename?: 'MtwReuseReservationPage';
|
|
2091
|
+
hasMore: Scalars['Boolean']['output'];
|
|
2092
|
+
items: Array<MtwReuseReservation>;
|
|
2093
|
+
limit: Scalars['Int']['output'];
|
|
2094
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
2095
|
+
offset: Scalars['Int']['output'];
|
|
2096
|
+
total: Scalars['Int']['output'];
|
|
2097
|
+
};
|
|
2098
|
+
export type MtwReuseReservationStatus = 'ACTIVE' | 'CANCELLED' | 'EXPIRED';
|
|
2099
|
+
export type MtwReuseReservationTerminalStatus = 'CANCELLED' | 'EXPIRED';
|
|
2100
|
+
/** Immutable recorded reasons for explicit planning cancellation or expiry, not physical execution. */
|
|
2101
|
+
export type MtwReuseReservationTransition = {
|
|
2102
|
+
__typename?: 'MtwReuseReservationTransition';
|
|
2103
|
+
createdBy: Scalars['ID']['output'];
|
|
2104
|
+
id: Scalars['ID']['output'];
|
|
2105
|
+
previousStatus: MtwReuseReservationStatus;
|
|
2106
|
+
reason: Scalars['String']['output'];
|
|
2107
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
2108
|
+
reservationId: Scalars['ID']['output'];
|
|
2109
|
+
status: MtwReuseReservationStatus;
|
|
2110
|
+
};
|
|
2111
|
+
export type MtwReuseReservationTransitionPage = {
|
|
2112
|
+
__typename?: 'MtwReuseReservationTransitionPage';
|
|
2113
|
+
hasMore: Scalars['Boolean']['output'];
|
|
2114
|
+
items: Array<MtwReuseReservationTransition>;
|
|
2115
|
+
limit: Scalars['Int']['output'];
|
|
2116
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
2117
|
+
offset: Scalars['Int']['output'];
|
|
2118
|
+
total: Scalars['Int']['output'];
|
|
2119
|
+
};
|
|
2120
|
+
export type MtwReuseRouteBinding = {
|
|
2121
|
+
__typename?: 'MtwReuseRouteBinding';
|
|
2122
|
+
handoffLocationReference: Scalars['String']['output'];
|
|
2123
|
+
handoffWaypointFingerprint: Scalars['String']['output'];
|
|
2124
|
+
handoffWaypointIndex: Scalars['Int']['output'];
|
|
2125
|
+
returnLocationReference: Scalars['String']['output'];
|
|
2126
|
+
returnWaypointFingerprint: Scalars['String']['output'];
|
|
2127
|
+
returnWaypointIndex: Scalars['Int']['output'];
|
|
2128
|
+
routeWaypointsFingerprint: Scalars['String']['output'];
|
|
2129
|
+
};
|
|
2130
|
+
export type MtwReuseRouteBindingInput = {
|
|
2131
|
+
handoffWaypointIndex: Scalars['Int']['input'];
|
|
2132
|
+
returnWaypointIndex: Scalars['Int']['input'];
|
|
2133
|
+
};
|
|
2134
|
+
export type MtwReuseSourceAttestation = {
|
|
2135
|
+
__typename?: 'MtwReuseSourceAttestation';
|
|
2136
|
+
evidence: Array<MtwContainerEvidence>;
|
|
2137
|
+
observedAt: Scalars['DateTime']['output'];
|
|
2138
|
+
purpose: MtwReuseSourcePurpose;
|
|
2139
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
2140
|
+
recordedByActorId: Scalars['ID']['output'];
|
|
2141
|
+
scopeFingerprint: Scalars['String']['output'];
|
|
2142
|
+
sourceReference: Scalars['String']['output'];
|
|
2143
|
+
sourceRevision: Scalars['String']['output'];
|
|
2144
|
+
validFrom: Scalars['DateTime']['output'];
|
|
2145
|
+
validUntil: Scalars['DateTime']['output'];
|
|
2146
|
+
};
|
|
2147
|
+
export type MtwReuseSourceAttestationInput = {
|
|
2148
|
+
evidenceVersionIds: Array<Scalars['ID']['input']>;
|
|
2149
|
+
observedAt: Scalars['DateTime']['input'];
|
|
2150
|
+
sourceReference: Scalars['String']['input'];
|
|
2151
|
+
sourceRevision: Scalars['String']['input'];
|
|
2152
|
+
validFrom: Scalars['DateTime']['input'];
|
|
2153
|
+
validUntil: Scalars['DateTime']['input'];
|
|
2154
|
+
};
|
|
2155
|
+
export type MtwReuseSourcePurpose = 'BOOKING' | 'CONDITION_SUITABILITY' | 'RETAINED_RETURN' | 'ROAD_ACCESS';
|
|
2156
|
+
export type MtwReuseSources = {
|
|
2157
|
+
__typename?: 'MtwReuseSources';
|
|
2158
|
+
booking?: Maybe<MtwReuseSourceAttestation>;
|
|
2159
|
+
conditionSuitability?: Maybe<MtwReuseSourceAttestation>;
|
|
2160
|
+
retainedReturnPlan?: Maybe<MtwReuseSourceAttestation>;
|
|
2161
|
+
roadAccess?: Maybe<MtwReuseSourceAttestation>;
|
|
2162
|
+
};
|
|
2163
|
+
export type MtwReuseSourcesInput = {
|
|
2164
|
+
booking?: InputMaybe<MtwReuseSourceAttestationInput>;
|
|
2165
|
+
conditionSuitability?: InputMaybe<MtwReuseSourceAttestationInput>;
|
|
2166
|
+
retainedReturnPlan?: InputMaybe<MtwReuseSourceAttestationInput>;
|
|
2167
|
+
roadAccess?: InputMaybe<MtwReuseSourceAttestationInput>;
|
|
2168
|
+
};
|
|
2169
|
+
export type MtwReuseTiming = {
|
|
2170
|
+
__typename?: 'MtwReuseTiming';
|
|
2171
|
+
departureAt: Scalars['DateTime']['output'];
|
|
2172
|
+
maxFullReuseAndReturnSeconds: Scalars['Int']['output'];
|
|
2173
|
+
maxTravelSeconds: Scalars['Int']['output'];
|
|
2174
|
+
maxWaitSeconds: Scalars['Int']['output'];
|
|
2175
|
+
plannedReturnFrom: Scalars['DateTime']['output'];
|
|
2176
|
+
plannedReturnUntil: Scalars['DateTime']['output'];
|
|
2177
|
+
returnWaitingLocationReference?: Maybe<Scalars['String']['output']>;
|
|
2178
|
+
siteCloseAt: Scalars['DateTime']['output'];
|
|
2179
|
+
siteOpenAt: Scalars['DateTime']['output'];
|
|
2180
|
+
siteWaitingLocationReference?: Maybe<Scalars['String']['output']>;
|
|
2181
|
+
};
|
|
2182
|
+
export type MtwReuseTimingInput = {
|
|
2183
|
+
departureAt: Scalars['DateTime']['input'];
|
|
2184
|
+
maxFullReuseAndReturnSeconds: Scalars['Int']['input'];
|
|
2185
|
+
maxTravelSeconds: Scalars['Int']['input'];
|
|
2186
|
+
maxWaitSeconds: Scalars['Int']['input'];
|
|
2187
|
+
plannedReturnFrom: Scalars['DateTime']['input'];
|
|
2188
|
+
plannedReturnUntil: Scalars['DateTime']['input'];
|
|
2189
|
+
returnWaitingLocationReference?: InputMaybe<Scalars['String']['input']>;
|
|
2190
|
+
siteCloseAt: Scalars['DateTime']['input'];
|
|
2191
|
+
siteOpenAt: Scalars['DateTime']['input'];
|
|
2192
|
+
siteWaitingLocationReference?: InputMaybe<Scalars['String']['input']>;
|
|
2193
|
+
};
|
|
2194
|
+
export type MtwRevenueMetrics = {
|
|
2195
|
+
__typename?: 'MtwRevenueMetrics';
|
|
2196
|
+
averageOrderValue: Scalars['Float']['output'];
|
|
2197
|
+
deliveredRevenue: Scalars['Float']['output'];
|
|
2198
|
+
totalRevenue: Scalars['Float']['output'];
|
|
2199
|
+
};
|
|
2200
|
+
export type MtwRoute = {
|
|
2201
|
+
__typename?: 'MtwRoute';
|
|
2202
|
+
actualDistance?: Maybe<Scalars['Float']['output']>;
|
|
2203
|
+
actualDuration?: Maybe<Scalars['Float']['output']>;
|
|
2204
|
+
context?: Maybe<OperationContext>;
|
|
2205
|
+
createdAt: Scalars['DateTime']['output'];
|
|
2206
|
+
createdBy: Scalars['String']['output'];
|
|
2207
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
2208
|
+
driver?: Maybe<MtwDriver>;
|
|
2209
|
+
driverId?: Maybe<Scalars['ID']['output']>;
|
|
2210
|
+
estimatedDistance?: Maybe<Scalars['Float']['output']>;
|
|
2211
|
+
estimatedDuration?: Maybe<Scalars['Float']['output']>;
|
|
2212
|
+
fuelCost?: Maybe<Scalars['Float']['output']>;
|
|
2213
|
+
id: Scalars['ID']['output'];
|
|
2214
|
+
name: Scalars['String']['output'];
|
|
2215
|
+
onBehalfOf: Scalars['String']['output'];
|
|
2216
|
+
shipment?: Maybe<MtwShipment>;
|
|
2217
|
+
shipmentId?: Maybe<Scalars['ID']['output']>;
|
|
2218
|
+
status: RouteStatus;
|
|
2219
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
2220
|
+
updatedBy?: Maybe<Scalars['String']['output']>;
|
|
2221
|
+
vehicle?: Maybe<MtwVehicle>;
|
|
2222
|
+
vehicleId?: Maybe<Scalars['ID']['output']>;
|
|
2223
|
+
waypoints: Scalars['JSON']['output'];
|
|
2224
|
+
workspaceId: Scalars['ID']['output'];
|
|
2225
|
+
};
|
|
2226
|
+
export type MtwRouteStats = {
|
|
2227
|
+
__typename?: 'MtwRouteStats';
|
|
2228
|
+
completed: Scalars['Int']['output'];
|
|
2229
|
+
inProgress: Scalars['Int']['output'];
|
|
2230
|
+
optimized: Scalars['Int']['output'];
|
|
2231
|
+
planned: Scalars['Int']['output'];
|
|
2232
|
+
total: Scalars['Int']['output'];
|
|
2233
|
+
totalDistance: Scalars['Float']['output'];
|
|
2234
|
+
totalDuration: Scalars['Float']['output'];
|
|
2235
|
+
};
|
|
2236
|
+
export type MtwShipment = {
|
|
2237
|
+
__typename?: 'MtwShipment';
|
|
2238
|
+
actualDelivery?: Maybe<Scalars['DateTime']['output']>;
|
|
2239
|
+
cargoDetails?: Maybe<Scalars['JSON']['output']>;
|
|
2240
|
+
carrierId?: Maybe<Scalars['ID']['output']>;
|
|
2241
|
+
context?: Maybe<OperationContext>;
|
|
2242
|
+
createdAt: Scalars['DateTime']['output'];
|
|
2243
|
+
createdBy: Scalars['String']['output'];
|
|
2244
|
+
customerId?: Maybe<Scalars['ID']['output']>;
|
|
2245
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
2246
|
+
deliveryJob?: Maybe<MtwDeliveryJob>;
|
|
2247
|
+
deliveryJobId?: Maybe<Scalars['ID']['output']>;
|
|
2248
|
+
destination: Scalars['JSON']['output'];
|
|
2249
|
+
estimatedDelivery?: Maybe<Scalars['DateTime']['output']>;
|
|
2250
|
+
freightCurrency?: Maybe<Scalars['String']['output']>;
|
|
2251
|
+
id: Scalars['ID']['output'];
|
|
2252
|
+
isMultiModal: Scalars['Boolean']['output'];
|
|
2253
|
+
legs: Array<MtwShipmentLeg>;
|
|
2254
|
+
onBehalfOf: Scalars['String']['output'];
|
|
2255
|
+
origin: Scalars['JSON']['output'];
|
|
2256
|
+
primaryMode: TransportMode;
|
|
2257
|
+
shipmentNumber: Scalars['String']['output'];
|
|
2258
|
+
status: ShipmentStatus;
|
|
2259
|
+
storeOrder?: Maybe<StoreOrder>;
|
|
2260
|
+
storeOrderId?: Maybe<Scalars['ID']['output']>;
|
|
2261
|
+
totalFreightCost?: Maybe<Scalars['Float']['output']>;
|
|
2262
|
+
trackingEvents: Array<MtwTrackingEvent>;
|
|
2263
|
+
trackingNumber?: Maybe<Scalars['String']['output']>;
|
|
2264
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
2265
|
+
updatedBy?: Maybe<Scalars['String']['output']>;
|
|
2266
|
+
workspaceId: Scalars['ID']['output'];
|
|
2267
|
+
};
|
|
2268
|
+
export type MtwShipmentLegsArgs = {
|
|
2269
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
2270
|
+
};
|
|
2271
|
+
export type MtwShipmentTrackingEventsArgs = {
|
|
2272
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
2273
|
+
};
|
|
2274
|
+
export type MtwShipmentLeg = {
|
|
2275
|
+
__typename?: 'MtwShipmentLeg';
|
|
2276
|
+
actualArrival?: Maybe<Scalars['DateTime']['output']>;
|
|
2277
|
+
actualDeparture?: Maybe<Scalars['DateTime']['output']>;
|
|
2278
|
+
calculatedCost?: Maybe<Scalars['Float']['output']>;
|
|
2279
|
+
carrierId?: Maybe<Scalars['ID']['output']>;
|
|
2280
|
+
carrierName?: Maybe<Scalars['String']['output']>;
|
|
2281
|
+
chargeableWeightKg?: Maybe<Scalars['Float']['output']>;
|
|
2282
|
+
containerCount?: Maybe<Scalars['Int']['output']>;
|
|
2283
|
+
containerType?: Maybe<OceanContainerType>;
|
|
2284
|
+
context?: Maybe<OperationContext>;
|
|
2285
|
+
createdAt: Scalars['DateTime']['output'];
|
|
2286
|
+
createdBy: Scalars['String']['output'];
|
|
2287
|
+
currency: Scalars['String']['output'];
|
|
2288
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
2289
|
+
destination: Scalars['JSON']['output'];
|
|
2290
|
+
distanceKm?: Maybe<Scalars['Float']['output']>;
|
|
2291
|
+
heightCm?: Maybe<Scalars['Float']['output']>;
|
|
2292
|
+
id: Scalars['ID']['output'];
|
|
2293
|
+
legNumber: Scalars['Int']['output'];
|
|
2294
|
+
lengthCm?: Maybe<Scalars['Float']['output']>;
|
|
2295
|
+
mode: TransportMode;
|
|
2296
|
+
notes?: Maybe<Scalars['String']['output']>;
|
|
2297
|
+
onBehalfOf: Scalars['String']['output'];
|
|
2298
|
+
origin: Scalars['JSON']['output'];
|
|
2299
|
+
rateInputs?: Maybe<Scalars['JSON']['output']>;
|
|
2300
|
+
ratePerUnit?: Maybe<Scalars['Float']['output']>;
|
|
2301
|
+
scheduledArrival?: Maybe<Scalars['DateTime']['output']>;
|
|
2302
|
+
scheduledDeparture?: Maybe<Scalars['DateTime']['output']>;
|
|
2303
|
+
shipment?: Maybe<MtwShipment>;
|
|
2304
|
+
shipmentId: Scalars['ID']['output'];
|
|
2305
|
+
status: ShipmentLegStatus;
|
|
2306
|
+
trackingReference?: Maybe<Scalars['String']['output']>;
|
|
2307
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
2308
|
+
updatedBy?: Maybe<Scalars['String']['output']>;
|
|
2309
|
+
volumeCbm?: Maybe<Scalars['Float']['output']>;
|
|
2310
|
+
weightKg?: Maybe<Scalars['Float']['output']>;
|
|
2311
|
+
widthCm?: Maybe<Scalars['Float']['output']>;
|
|
2312
|
+
workspaceId: Scalars['ID']['output'];
|
|
2313
|
+
};
|
|
2314
|
+
export type MtwShippingQuote = {
|
|
2315
|
+
__typename?: 'MtwShippingQuote';
|
|
2316
|
+
courierId: Scalars['String']['output'];
|
|
2317
|
+
courierName: Scalars['String']['output'];
|
|
2318
|
+
currency: Scalars['String']['output'];
|
|
2319
|
+
estimatedDeliveryDate?: Maybe<Scalars['String']['output']>;
|
|
2320
|
+
estimatedDeliveryDays?: Maybe<Scalars['Int']['output']>;
|
|
2321
|
+
isCheapest: Scalars['Boolean']['output'];
|
|
2322
|
+
isFastest: Scalars['Boolean']['output'];
|
|
2323
|
+
/** Flagged by the carrier itself as its recommendation. */
|
|
2324
|
+
isRecommended: Scalars['Boolean']['output'];
|
|
2325
|
+
mode?: Maybe<MtwCarrierServiceMode>;
|
|
2326
|
+
price: Scalars['Float']['output'];
|
|
2327
|
+
provider: MtwCarrierProvider;
|
|
2328
|
+
/** 0-5, when the carrier publishes one. */
|
|
2329
|
+
rating?: Maybe<Scalars['Float']['output']>;
|
|
2330
|
+
};
|
|
2331
|
+
export type MtwShippingQuoteResult = {
|
|
2332
|
+
__typename?: 'MtwShippingQuoteResult';
|
|
2333
|
+
/** max(dead weight, volumetric weight) actually sent to the carriers. */
|
|
2334
|
+
chargeableWeightKg: Scalars['Float']['output'];
|
|
2335
|
+
/** Present only when the input carried ownFleet. */
|
|
2336
|
+
ownFleet?: Maybe<MtwOwnFleetEstimate>;
|
|
2337
|
+
/** One entry per carrier queried, so a failing carrier is visible rather than silently missing. */
|
|
2338
|
+
providers: Array<MtwCarrierOutcome>;
|
|
2339
|
+
/** Every quote from every connected carrier, cheapest first. */
|
|
2340
|
+
quotes: Array<MtwShippingQuote>;
|
|
2341
|
+
};
|
|
2342
|
+
/** Append-only source assessment. Future effective times and historical expiry do not assert current readiness. */
|
|
2343
|
+
export type MtwStockBindingAssessment = {
|
|
2344
|
+
__typename?: 'MtwStockBindingAssessment';
|
|
2345
|
+
actorProvenance: Scalars['String']['output'];
|
|
2346
|
+
capturedCargoItemId: Scalars['ID']['output'];
|
|
2347
|
+
capturedCargoUpdatedAt: Scalars['DateTime']['output'];
|
|
2348
|
+
/** Null means composition epoch was not reviewed; a value is not current pick eligibility. */
|
|
2349
|
+
capturedCompositionEpoch?: Maybe<Scalars['Int']['output']>;
|
|
2350
|
+
capturedInventoryUpdatedAt: Scalars['DateTime']['output'];
|
|
2351
|
+
capturedLocationId?: Maybe<Scalars['ID']['output']>;
|
|
2352
|
+
capturedLocationUpdatedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
2353
|
+
capturedStockQuantityAudit: MtwStockBindingQuantityAudit;
|
|
2354
|
+
capturedWarehouseId: Scalars['ID']['output'];
|
|
2355
|
+
capturedWarehouseUpdatedAt: Scalars['DateTime']['output'];
|
|
2356
|
+
completeness: MtwStockBindingCompleteness;
|
|
2357
|
+
createdBy: Scalars['String']['output'];
|
|
2358
|
+
criticalFingerprint: Scalars['String']['output'];
|
|
2359
|
+
criticalOwnerSnapshot: MtwStockBindingOwnerSnapshot;
|
|
2360
|
+
effectiveAt: Scalars['DateTime']['output'];
|
|
2361
|
+
evidence: Array<MtwContainerEvidence>;
|
|
2362
|
+
facts: MtwStockBindingFacts;
|
|
2363
|
+
id: Scalars['ID']['output'];
|
|
2364
|
+
inventoryItemId: Scalars['ID']['output'];
|
|
2365
|
+
onBehalfOf?: Maybe<Scalars['String']['output']>;
|
|
2366
|
+
previousAssessmentId?: Maybe<Scalars['ID']['output']>;
|
|
2367
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
2368
|
+
version: Scalars['Int']['output'];
|
|
2369
|
+
};
|
|
2370
|
+
export type MtwStockBindingAssessmentPage = {
|
|
2371
|
+
__typename?: 'MtwStockBindingAssessmentPage';
|
|
2372
|
+
hasMore: Scalars['Boolean']['output'];
|
|
2373
|
+
items: Array<MtwStockBindingAssessment>;
|
|
2374
|
+
limit: Scalars['Int']['output'];
|
|
2375
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
2376
|
+
offset: Scalars['Int']['output'];
|
|
2377
|
+
total: Scalars['Int']['output'];
|
|
2378
|
+
};
|
|
2379
|
+
export type MtwStockBindingCompleteness = {
|
|
2380
|
+
__typename?: 'MtwStockBindingCompleteness';
|
|
2381
|
+
reasons: Array<MtwStockBindingIncompleteReason>;
|
|
2382
|
+
status: MtwStockBindingCompletenessStatus;
|
|
2383
|
+
};
|
|
2384
|
+
export type MtwStockBindingCompletenessStatus = 'INCOMPLETE' | 'SOURCE_FACTS_ONLY' | 'UNSUPPORTED_MIXED_LOT';
|
|
2385
|
+
export type MtwStockBindingCountUnit = {
|
|
2386
|
+
__typename?: 'MtwStockBindingCountUnit';
|
|
2387
|
+
kind: MtwStockBindingCountUnitKind;
|
|
2388
|
+
reference?: Maybe<Scalars['String']['output']>;
|
|
2389
|
+
revision?: Maybe<Scalars['String']['output']>;
|
|
2390
|
+
};
|
|
2391
|
+
export type MtwStockBindingCountUnitInput = {
|
|
2392
|
+
kind: MtwStockBindingCountUnitKind;
|
|
2393
|
+
reference?: InputMaybe<Scalars['String']['input']>;
|
|
2394
|
+
revision?: InputMaybe<Scalars['String']['input']>;
|
|
2395
|
+
};
|
|
2396
|
+
export type MtwStockBindingCountUnitKind = 'COUNT_UNIT';
|
|
2397
|
+
export type MtwStockBindingExpiryPolicy = 'NO_REQUIRED_EXPIRY' | 'TIME_BOUNDED' | 'UNKNOWN';
|
|
2398
|
+
/** Immutable operator declarations. Completeness does not establish current eligibility or physical verification. */
|
|
2399
|
+
export type MtwStockBindingFacts = {
|
|
2400
|
+
__typename?: 'MtwStockBindingFacts';
|
|
2401
|
+
countUnit?: Maybe<MtwStockBindingCountUnit>;
|
|
2402
|
+
declaredLotPolicy: MtwStockBindingLotPolicy;
|
|
2403
|
+
lot?: Maybe<MtwStockBindingLot>;
|
|
2404
|
+
provenance: MtwStockBindingProvenance;
|
|
2405
|
+
scanMapping?: Maybe<MtwStockBindingScanMapping>;
|
|
2406
|
+
schemaVersion: Scalars['Int']['output'];
|
|
2407
|
+
scope: MtwStockBindingScope;
|
|
2408
|
+
source: MtwStockBindingSource;
|
|
2409
|
+
sourceValidity: MtwStockBindingSourceValidity;
|
|
2410
|
+
};
|
|
2411
|
+
export type MtwStockBindingFactsInput = {
|
|
2412
|
+
countUnit?: InputMaybe<MtwStockBindingCountUnitInput>;
|
|
2413
|
+
declaredLotPolicy: MtwStockBindingLotPolicy;
|
|
2414
|
+
lot?: InputMaybe<MtwStockBindingLotInput>;
|
|
2415
|
+
scanMapping?: InputMaybe<MtwStockBindingScanMappingInput>;
|
|
2416
|
+
scope: MtwStockBindingScope;
|
|
2417
|
+
source: MtwStockBindingSourceInput;
|
|
2418
|
+
sourceValidity: MtwStockBindingSourceValidityInput;
|
|
2419
|
+
};
|
|
2420
|
+
export type MtwStockBindingIncompleteReason = 'BIN_LABEL_UNKNOWN' | 'COUNT_UNIT_REFERENCE_UNKNOWN' | 'COUNT_UNIT_REVISION_UNKNOWN' | 'DECLARED_LOT_DISPOSITION_UNKNOWN' | 'DECLARED_LOT_EXPIRED' | 'DECLARED_LOT_HELD' | 'ITEM_LABEL_UNKNOWN' | 'LOT_EXPIRY_CUTOFF_UNKNOWN' | 'LOT_EXPIRY_POLICY_UNKNOWN' | 'LOT_EXPIRY_REVISION_UNKNOWN' | 'LOT_EXPIRY_SOURCE_UNKNOWN' | 'LOT_POLICY_UNKNOWN' | 'LOT_REFERENCE_UNKNOWN' | 'LOT_REVISION_UNKNOWN' | 'MIXED_LOT_UNSUPPORTED' | 'SCAN_MAPPING_REFERENCE_UNKNOWN' | 'SCAN_MAPPING_REVISION_UNKNOWN' | 'SCOPE_UNKNOWN' | 'SOURCE_REFERENCE_UNKNOWN' | 'SOURCE_REVISION_UNKNOWN' | 'SOURCE_VALIDITY_END_UNKNOWN' | 'SOURCE_VALIDITY_POLICY_UNKNOWN' | 'SOURCE_VALIDITY_REFERENCE_UNKNOWN' | 'SOURCE_VALIDITY_REVISION_UNKNOWN' | 'SOURCE_VALIDITY_START_UNKNOWN';
|
|
2421
|
+
export type MtwStockBindingLot = {
|
|
2422
|
+
__typename?: 'MtwStockBindingLot';
|
|
2423
|
+
declaredDisposition: MtwStockBindingLotDisposition;
|
|
2424
|
+
expiry: MtwStockBindingLotExpiry;
|
|
2425
|
+
reference?: Maybe<Scalars['String']['output']>;
|
|
2426
|
+
revision?: Maybe<Scalars['String']['output']>;
|
|
2427
|
+
};
|
|
2428
|
+
export type MtwStockBindingLotDisposition = 'EXPIRED' | 'HELD' | 'RELEASED' | 'UNKNOWN';
|
|
2429
|
+
export type MtwStockBindingLotExpiry = {
|
|
2430
|
+
__typename?: 'MtwStockBindingLotExpiry';
|
|
2431
|
+
expiresAt?: Maybe<Scalars['DateTime']['output']>;
|
|
2432
|
+
policy: MtwStockBindingExpiryPolicy;
|
|
2433
|
+
sourceReference?: Maybe<Scalars['String']['output']>;
|
|
2434
|
+
sourceRevision?: Maybe<Scalars['String']['output']>;
|
|
2435
|
+
};
|
|
2436
|
+
export type MtwStockBindingLotExpiryInput = {
|
|
2437
|
+
expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
2438
|
+
policy: MtwStockBindingExpiryPolicy;
|
|
2439
|
+
sourceReference?: InputMaybe<Scalars['String']['input']>;
|
|
2440
|
+
sourceRevision?: InputMaybe<Scalars['String']['input']>;
|
|
2441
|
+
};
|
|
2442
|
+
export type MtwStockBindingLotInput = {
|
|
2443
|
+
declaredDisposition: MtwStockBindingLotDisposition;
|
|
2444
|
+
expiry: MtwStockBindingLotExpiryInput;
|
|
2445
|
+
reference?: InputMaybe<Scalars['String']['input']>;
|
|
2446
|
+
revision?: InputMaybe<Scalars['String']['input']>;
|
|
2447
|
+
};
|
|
2448
|
+
export type MtwStockBindingLotPolicy = 'NOT_REQUIRED' | 'REQUIRED' | 'UNKNOWN';
|
|
2449
|
+
/** Captured owner identity and handling fields, never a substitution with current owner details. */
|
|
2450
|
+
export type MtwStockBindingOwnerSnapshot = {
|
|
2451
|
+
__typename?: 'MtwStockBindingOwnerSnapshot';
|
|
2452
|
+
cargoFragile: Scalars['Boolean']['output'];
|
|
2453
|
+
cargoHazardous: Scalars['Boolean']['output'];
|
|
2454
|
+
cargoItemId: Scalars['ID']['output'];
|
|
2455
|
+
cargoSku: Scalars['String']['output'];
|
|
2456
|
+
cargoTemperatureControlled: Scalars['Boolean']['output'];
|
|
2457
|
+
inventoryItemId: Scalars['ID']['output'];
|
|
2458
|
+
locationCode?: Maybe<Scalars['String']['output']>;
|
|
2459
|
+
locationId?: Maybe<Scalars['ID']['output']>;
|
|
2460
|
+
locationStatus?: Maybe<Scalars['String']['output']>;
|
|
2461
|
+
locationWarehouseId?: Maybe<Scalars['ID']['output']>;
|
|
2462
|
+
schemaVersion: Scalars['Int']['output'];
|
|
2463
|
+
warehouseCode: Scalars['String']['output'];
|
|
2464
|
+
warehouseId: Scalars['ID']['output'];
|
|
2465
|
+
warehouseStatus: Scalars['String']['output'];
|
|
2466
|
+
workspaceId: Scalars['ID']['output'];
|
|
2467
|
+
};
|
|
2468
|
+
export type MtwStockBindingProvenance = 'OPERATOR_REPORTED';
|
|
2469
|
+
export type MtwStockBindingQuantityAudit = {
|
|
2470
|
+
__typename?: 'MtwStockBindingQuantityAudit';
|
|
2471
|
+
allocated: Scalars['Int']['output'];
|
|
2472
|
+
available: Scalars['Int']['output'];
|
|
2473
|
+
damaged: Scalars['Int']['output'];
|
|
2474
|
+
onHand: Scalars['Int']['output'];
|
|
2475
|
+
};
|
|
2476
|
+
export type MtwStockBindingScanMapping = {
|
|
2477
|
+
__typename?: 'MtwStockBindingScanMapping';
|
|
2478
|
+
mappingReference?: Maybe<Scalars['String']['output']>;
|
|
2479
|
+
mappingRevision?: Maybe<Scalars['String']['output']>;
|
|
2480
|
+
reportedBinLabel?: Maybe<Scalars['String']['output']>;
|
|
2481
|
+
reportedItemLabel?: Maybe<Scalars['String']['output']>;
|
|
2482
|
+
};
|
|
2483
|
+
export type MtwStockBindingScanMappingInput = {
|
|
2484
|
+
mappingReference?: InputMaybe<Scalars['String']['input']>;
|
|
2485
|
+
mappingRevision?: InputMaybe<Scalars['String']['input']>;
|
|
2486
|
+
reportedBinLabel?: InputMaybe<Scalars['String']['input']>;
|
|
2487
|
+
reportedItemLabel?: InputMaybe<Scalars['String']['input']>;
|
|
2488
|
+
};
|
|
2489
|
+
export type MtwStockBindingScope = 'UNKNOWN' | 'UNSUPPORTED_MIXED_LOT' | 'WHOLE_LINE';
|
|
2490
|
+
export type MtwStockBindingSource = {
|
|
2491
|
+
__typename?: 'MtwStockBindingSource';
|
|
2492
|
+
reference?: Maybe<Scalars['String']['output']>;
|
|
2493
|
+
revision?: Maybe<Scalars['String']['output']>;
|
|
2494
|
+
};
|
|
2495
|
+
export type MtwStockBindingSourceInput = {
|
|
2496
|
+
reference?: InputMaybe<Scalars['String']['input']>;
|
|
2497
|
+
revision?: InputMaybe<Scalars['String']['input']>;
|
|
2498
|
+
};
|
|
2499
|
+
export type MtwStockBindingSourceValidity = {
|
|
2500
|
+
__typename?: 'MtwStockBindingSourceValidity';
|
|
2501
|
+
from?: Maybe<Scalars['DateTime']['output']>;
|
|
2502
|
+
policy: MtwStockBindingExpiryPolicy;
|
|
2503
|
+
sourceReference?: Maybe<Scalars['String']['output']>;
|
|
2504
|
+
sourceRevision?: Maybe<Scalars['String']['output']>;
|
|
2505
|
+
until?: Maybe<Scalars['DateTime']['output']>;
|
|
2506
|
+
};
|
|
2507
|
+
export type MtwStockBindingSourceValidityInput = {
|
|
2508
|
+
from?: InputMaybe<Scalars['DateTime']['input']>;
|
|
2509
|
+
policy: MtwStockBindingExpiryPolicy;
|
|
2510
|
+
sourceReference?: InputMaybe<Scalars['String']['input']>;
|
|
2511
|
+
sourceRevision?: InputMaybe<Scalars['String']['input']>;
|
|
2512
|
+
until?: InputMaybe<Scalars['DateTime']['input']>;
|
|
2513
|
+
};
|
|
2514
|
+
/** Unresolved reported issue, not a verified count, stock adjustment or picking clearance. */
|
|
2515
|
+
export type MtwStockObservation = {
|
|
2516
|
+
__typename?: 'MtwStockObservation';
|
|
2517
|
+
actorProvenance: Scalars['String']['output'];
|
|
2518
|
+
attribution: MtwStockObservationAttribution;
|
|
2519
|
+
countScope: MtwStockObservationCountScope;
|
|
2520
|
+
createdBy: Scalars['String']['output'];
|
|
2521
|
+
evidenceDeclarations: Array<MtwStockObservationEvidenceDeclaration>;
|
|
2522
|
+
id: Scalars['ID']['output'];
|
|
2523
|
+
inventoryItemId: Scalars['ID']['output'];
|
|
2524
|
+
kind: MtwStockObservationKind;
|
|
2525
|
+
observedCount?: Maybe<Scalars['Int']['output']>;
|
|
2526
|
+
onBehalfOf?: Maybe<Scalars['ID']['output']>;
|
|
2527
|
+
reason: Scalars['String']['output'];
|
|
2528
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
2529
|
+
reportedCountUnit?: Maybe<MtwStockBindingCountUnit>;
|
|
2530
|
+
reportedObservedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
2531
|
+
sequence: Scalars['Int']['output'];
|
|
2532
|
+
source?: Maybe<MtwStockBindingSource>;
|
|
2533
|
+
status: MtwStockObservationStatus;
|
|
2534
|
+
};
|
|
2535
|
+
/** Gateway-derived attribution. Missing originating identity remains unknown; delegation never grants review authority. */
|
|
2536
|
+
export type MtwStockObservationAttribution = {
|
|
2537
|
+
__typename?: 'MtwStockObservationAttribution';
|
|
2538
|
+
actorId: Scalars['ID']['output'];
|
|
2539
|
+
actorType: Scalars['String']['output'];
|
|
2540
|
+
consentExpiresAt?: Maybe<Scalars['DateTime']['output']>;
|
|
2541
|
+
consentGrantedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
2542
|
+
consentGrantedBy?: Maybe<Scalars['ID']['output']>;
|
|
2543
|
+
consentScopes: Array<Scalars['String']['output']>;
|
|
2544
|
+
delegationId?: Maybe<Scalars['ID']['output']>;
|
|
2545
|
+
onBehalfOf?: Maybe<Scalars['ID']['output']>;
|
|
2546
|
+
originatingAppId?: Maybe<Scalars['ID']['output']>;
|
|
2547
|
+
provenance: Scalars['String']['output'];
|
|
2548
|
+
/** Effective credential deadline at receipt; distinct from actual consent expiry. */
|
|
2549
|
+
tokenExpiresAt?: Maybe<Scalars['DateTime']['output']>;
|
|
2550
|
+
workspaceAppId?: Maybe<Scalars['ID']['output']>;
|
|
2551
|
+
};
|
|
2552
|
+
export type MtwStockObservationCountScope = 'TASK_REMAINDER' | 'UNKNOWN' | 'WHOLE_LINE';
|
|
2553
|
+
export type MtwStockObservationEvidenceDeclaration = {
|
|
2554
|
+
__typename?: 'MtwStockObservationEvidenceDeclaration';
|
|
2555
|
+
fileId: Scalars['ID']['output'];
|
|
2556
|
+
status: MtwStockObservationEvidenceStatus;
|
|
2557
|
+
versionId: Scalars['ID']['output'];
|
|
2558
|
+
};
|
|
2559
|
+
export type MtwStockObservationEvidenceStatus = 'UNVERIFIED_DECLARATION';
|
|
2560
|
+
export type MtwStockObservationKind = 'COUNT_DISCREPANCY' | 'DAMAGE' | 'IDENTITY_UNCERTAIN' | 'OTHER';
|
|
2561
|
+
export type MtwStockObservationPage = {
|
|
2562
|
+
__typename?: 'MtwStockObservationPage';
|
|
2563
|
+
hasMore: Scalars['Boolean']['output'];
|
|
2564
|
+
items: Array<MtwStockObservation>;
|
|
2565
|
+
limit: Scalars['Int']['output'];
|
|
2566
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
2567
|
+
offset: Scalars['Int']['output'];
|
|
2568
|
+
total: Scalars['Int']['output'];
|
|
2569
|
+
};
|
|
2570
|
+
export type MtwStockObservationStatus = 'UNRESOLVED';
|
|
2571
|
+
export type MtwTrackingAlert = {
|
|
2572
|
+
__typename?: 'MtwTrackingAlert';
|
|
2573
|
+
alertType: Scalars['String']['output'];
|
|
2574
|
+
message: Scalars['String']['output'];
|
|
2575
|
+
shipmentId: Scalars['ID']['output'];
|
|
2576
|
+
shipmentNumber: Scalars['String']['output'];
|
|
2577
|
+
};
|
|
2578
|
+
export type MtwTrackingEvent = {
|
|
2579
|
+
__typename?: 'MtwTrackingEvent';
|
|
2580
|
+
context?: Maybe<OperationContext>;
|
|
2581
|
+
createdAt: Scalars['DateTime']['output'];
|
|
2582
|
+
createdBy: Scalars['String']['output'];
|
|
2583
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
2584
|
+
details?: Maybe<Scalars['String']['output']>;
|
|
2585
|
+
eventType: TrackingEventType;
|
|
2586
|
+
id: Scalars['ID']['output'];
|
|
2587
|
+
location?: Maybe<Scalars['JSON']['output']>;
|
|
2588
|
+
onBehalfOf: Scalars['String']['output'];
|
|
2589
|
+
shipmentId: Scalars['ID']['output'];
|
|
2590
|
+
timestamp: Scalars['DateTime']['output'];
|
|
2591
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
2592
|
+
updatedBy?: Maybe<Scalars['String']['output']>;
|
|
2593
|
+
workspaceId: Scalars['ID']['output'];
|
|
2594
|
+
};
|
|
2595
|
+
export type MtwTripUtilizationBasis = 'ESTIMATED' | 'OBSERVED';
|
|
2596
|
+
export type MtwTripUtilizationCoverage = 'COMPLETE' | 'PARTIAL';
|
|
2597
|
+
/** Immutable historical operator report of a captured route/vehicle revision; no assignment or dispatch change. */
|
|
2598
|
+
export type MtwTripUtilizationReport = {
|
|
2599
|
+
__typename?: 'MtwTripUtilizationReport';
|
|
2600
|
+
actorProvenance: Scalars['String']['output'];
|
|
2601
|
+
basis: MtwTripUtilizationBasis;
|
|
2602
|
+
createdBy: Scalars['ID']['output'];
|
|
2603
|
+
declaredCoverage: MtwTripUtilizationCoverage;
|
|
2604
|
+
evidence: Array<MtwContainerEvidence>;
|
|
2605
|
+
id: Scalars['ID']['output'];
|
|
2606
|
+
intervalFrom: Scalars['DateTime']['output'];
|
|
2607
|
+
intervalUntil: Scalars['DateTime']['output'];
|
|
2608
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
2609
|
+
routeId: Scalars['ID']['output'];
|
|
2610
|
+
routeUpdatedAt: Scalars['DateTime']['output'];
|
|
2611
|
+
routeWaypointsFingerprint: Scalars['String']['output'];
|
|
2612
|
+
schemaVersion: Scalars['Int']['output'];
|
|
2613
|
+
summary: MtwTripUtilizationSummary;
|
|
2614
|
+
tripId: Scalars['ID']['output'];
|
|
2615
|
+
vehicleId: Scalars['ID']['output'];
|
|
2616
|
+
vehicleUpdatedAt: Scalars['DateTime']['output'];
|
|
2617
|
+
};
|
|
2618
|
+
export type MtwTripUtilizationReportPage = {
|
|
2619
|
+
__typename?: 'MtwTripUtilizationReportPage';
|
|
2620
|
+
hasMore: Scalars['Boolean']['output'];
|
|
2621
|
+
items: Array<MtwTripUtilizationReport>;
|
|
2622
|
+
limit: Scalars['Int']['output'];
|
|
2623
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
2624
|
+
offset: Scalars['Int']['output'];
|
|
2625
|
+
total: Scalars['Int']['output'];
|
|
2626
|
+
};
|
|
2627
|
+
export type MtwTripUtilizationSegment = {
|
|
2628
|
+
__typename?: 'MtwTripUtilizationSegment';
|
|
2629
|
+
basis: MtwTripUtilizationBasis;
|
|
2630
|
+
cubeCapacityM3?: Maybe<Scalars['Float']['output']>;
|
|
2631
|
+
cubeM3?: Maybe<Scalars['Float']['output']>;
|
|
2632
|
+
cubeUtilizationPercentage?: Maybe<Scalars['Float']['output']>;
|
|
2633
|
+
distanceKm?: Maybe<Scalars['Float']['output']>;
|
|
2634
|
+
loadedState: MtwUtilizationLoadedState;
|
|
2635
|
+
payloadCapacityKg?: Maybe<Scalars['Float']['output']>;
|
|
2636
|
+
payloadKg?: Maybe<Scalars['Float']['output']>;
|
|
2637
|
+
segmentId: Scalars['ID']['output'];
|
|
2638
|
+
sequence: Scalars['Int']['output'];
|
|
2639
|
+
source: MtwUtilizationSource;
|
|
2640
|
+
warnings: Array<MtwUtilizationWarning>;
|
|
2641
|
+
weightUtilizationPercentage?: Maybe<Scalars['Float']['output']>;
|
|
2642
|
+
};
|
|
2643
|
+
export type MtwTripUtilizationSegmentInput = {
|
|
2644
|
+
cubeCapacityM3?: InputMaybe<Scalars['Float']['input']>;
|
|
2645
|
+
cubeM3?: InputMaybe<Scalars['Float']['input']>;
|
|
2646
|
+
distanceKm?: InputMaybe<Scalars['Float']['input']>;
|
|
2647
|
+
loadedState: MtwUtilizationLoadedState;
|
|
2648
|
+
payloadCapacityKg?: InputMaybe<Scalars['Float']['input']>;
|
|
2649
|
+
payloadKg?: InputMaybe<Scalars['Float']['input']>;
|
|
2650
|
+
segmentId: Scalars['ID']['input'];
|
|
2651
|
+
sequence: Scalars['Int']['input'];
|
|
2652
|
+
source: MtwUtilizationSourceInput;
|
|
2653
|
+
};
|
|
2654
|
+
/** COMPLETE is operator-declared coverage; these ratios are not feasibility, road, axle or fuel certificates. */
|
|
2655
|
+
export type MtwTripUtilizationSummary = {
|
|
2656
|
+
__typename?: 'MtwTripUtilizationSummary';
|
|
2657
|
+
basis: MtwTripUtilizationBasis;
|
|
2658
|
+
declaredCoverage: MtwTripUtilizationCoverage;
|
|
2659
|
+
distanceCoverage: MtwUtilizationDistanceCoverage;
|
|
2660
|
+
distanceWeightedCube: MtwUtilizationMetric;
|
|
2661
|
+
distanceWeightedWeight: MtwUtilizationMetric;
|
|
2662
|
+
loadedDistance: MtwUtilizationMetric;
|
|
2663
|
+
segmentCount: Scalars['Int']['output'];
|
|
2664
|
+
segments: Array<MtwTripUtilizationSegment>;
|
|
2665
|
+
tripId: Scalars['ID']['output'];
|
|
2666
|
+
unknownFactsSegmentCount: Scalars['Int']['output'];
|
|
2667
|
+
};
|
|
2668
|
+
export type MtwUtilizationCapacityBasis = 'MEASURED' | 'RATED';
|
|
2669
|
+
export type MtwUtilizationDistanceBasis = 'MEASURED' | 'OPERATOR_ESTIMATE' | 'PROVIDER_ESTIMATE';
|
|
2670
|
+
export type MtwUtilizationDistanceCoverage = {
|
|
2671
|
+
__typename?: 'MtwUtilizationDistanceCoverage';
|
|
2672
|
+
knownDistanceKm: Scalars['Float']['output'];
|
|
2673
|
+
knownSegmentCount: Scalars['Int']['output'];
|
|
2674
|
+
totalDistanceKm?: Maybe<Scalars['Float']['output']>;
|
|
2675
|
+
unknownSegmentCount: Scalars['Int']['output'];
|
|
2676
|
+
};
|
|
2677
|
+
export type MtwUtilizationLoadBasis = 'MEASURED' | 'SOURCE_CONFIRMED_PLAN';
|
|
2678
|
+
export type MtwUtilizationLoadedState = 'EMPTY' | 'LOADED' | 'UNKNOWN';
|
|
2679
|
+
export type MtwUtilizationMetric = {
|
|
2680
|
+
__typename?: 'MtwUtilizationMetric';
|
|
2681
|
+
knownDistanceKm: Scalars['Float']['output'];
|
|
2682
|
+
percentage?: Maybe<Scalars['Float']['output']>;
|
|
2683
|
+
reason?: Maybe<MtwUtilizationMetricReason>;
|
|
2684
|
+
status: MtwUtilizationMetricStatus;
|
|
2685
|
+
unknownSegmentCount: Scalars['Int']['output'];
|
|
2686
|
+
};
|
|
2687
|
+
export type MtwUtilizationMetricReason = 'DISTANCE_UNKNOWN' | 'NO_SEGMENTS' | 'PARTIAL_TRIP' | 'SEGMENT_FACTS_UNKNOWN' | 'ZERO_DISTANCE';
|
|
2688
|
+
export type MtwUtilizationMetricStatus = 'KNOWN' | 'UNKNOWN';
|
|
2689
|
+
/** Human-recorded source labels, not independent measurement or provider authentication. */
|
|
2690
|
+
export type MtwUtilizationSource = {
|
|
2691
|
+
__typename?: 'MtwUtilizationSource';
|
|
2692
|
+
capacityBasis: MtwUtilizationCapacityBasis;
|
|
2693
|
+
distanceBasis: MtwUtilizationDistanceBasis;
|
|
2694
|
+
loadBasis: MtwUtilizationLoadBasis;
|
|
2695
|
+
observedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
2696
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
2697
|
+
reference: Scalars['String']['output'];
|
|
2698
|
+
revision: Scalars['String']['output'];
|
|
2699
|
+
};
|
|
2700
|
+
export type MtwUtilizationSourceInput = {
|
|
2701
|
+
capacityBasis: MtwUtilizationCapacityBasis;
|
|
2702
|
+
distanceBasis: MtwUtilizationDistanceBasis;
|
|
2703
|
+
loadBasis: MtwUtilizationLoadBasis;
|
|
2704
|
+
observedAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
2705
|
+
reference: Scalars['String']['input'];
|
|
2706
|
+
revision: Scalars['String']['input'];
|
|
2707
|
+
};
|
|
2708
|
+
export type MtwUtilizationWarning = 'CUBE_OVERLOAD' | 'EMPTY_WITH_PAYLOAD' | 'WEIGHT_OVERLOAD';
|
|
2709
|
+
export type MtwVehicle = {
|
|
2710
|
+
__typename?: 'MtwVehicle';
|
|
2711
|
+
capacity?: Maybe<Scalars['JSON']['output']>;
|
|
2712
|
+
context?: Maybe<OperationContext>;
|
|
2713
|
+
createdAt: Scalars['DateTime']['output'];
|
|
2714
|
+
createdBy: Scalars['String']['output'];
|
|
2715
|
+
currentLocation?: Maybe<Scalars['JSON']['output']>;
|
|
2716
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
2717
|
+
drivers: Array<MtwDriver>;
|
|
2718
|
+
fuelEfficiencyLPer100Km?: Maybe<Scalars['Float']['output']>;
|
|
2719
|
+
fuelLevel?: Maybe<Scalars['Float']['output']>;
|
|
2720
|
+
fuelType?: Maybe<FuelType>;
|
|
2721
|
+
id: Scalars['ID']['output'];
|
|
2722
|
+
lastServiceDate?: Maybe<Scalars['DateTime']['output']>;
|
|
2723
|
+
licensePlate?: Maybe<Scalars['String']['output']>;
|
|
2724
|
+
make?: Maybe<Scalars['String']['output']>;
|
|
2725
|
+
mileage?: Maybe<Scalars['Float']['output']>;
|
|
2726
|
+
model?: Maybe<Scalars['String']['output']>;
|
|
2727
|
+
nextServiceDueDate?: Maybe<Scalars['DateTime']['output']>;
|
|
2728
|
+
nextServiceDueMileage?: Maybe<Scalars['Float']['output']>;
|
|
2729
|
+
onBehalfOf: Scalars['String']['output'];
|
|
2730
|
+
ownershipType?: Maybe<Scalars['String']['output']>;
|
|
2731
|
+
status: VehicleStatus;
|
|
2732
|
+
type: VehicleType;
|
|
2733
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
2734
|
+
updatedBy?: Maybe<Scalars['String']['output']>;
|
|
2735
|
+
vehicleNumber: Scalars['String']['output'];
|
|
2736
|
+
workspaceId: Scalars['ID']['output'];
|
|
2737
|
+
year?: Maybe<Scalars['Int']['output']>;
|
|
2738
|
+
};
|
|
2739
|
+
export type MtwVehicleSuggestion = {
|
|
2740
|
+
__typename?: 'MtwVehicleSuggestion';
|
|
2741
|
+
reasons: Array<Scalars['String']['output']>;
|
|
2742
|
+
score: Scalars['Int']['output'];
|
|
2743
|
+
vehicle: MtwVehicle;
|
|
2744
|
+
};
|
|
2745
|
+
export type MtwWarehouse = {
|
|
2746
|
+
__typename?: 'MtwWarehouse';
|
|
2747
|
+
address: Scalars['JSON']['output'];
|
|
2748
|
+
capabilities?: Maybe<Scalars['JSON']['output']>;
|
|
2749
|
+
code: Scalars['String']['output'];
|
|
2750
|
+
contactInfo?: Maybe<Scalars['JSON']['output']>;
|
|
2751
|
+
context?: Maybe<OperationContext>;
|
|
2752
|
+
createdAt: Scalars['DateTime']['output'];
|
|
2753
|
+
createdBy: Scalars['String']['output'];
|
|
2754
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
2755
|
+
id: Scalars['ID']['output'];
|
|
2756
|
+
locations: Array<MtwWarehouseLocation>;
|
|
2757
|
+
name: Scalars['String']['output'];
|
|
2758
|
+
onBehalfOf: Scalars['String']['output'];
|
|
2759
|
+
operatingHours?: Maybe<Scalars['JSON']['output']>;
|
|
2760
|
+
status: Scalars['String']['output'];
|
|
2761
|
+
totalCapacity?: Maybe<Scalars['Float']['output']>;
|
|
2762
|
+
type: WarehouseType;
|
|
2763
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
2764
|
+
updatedBy?: Maybe<Scalars['String']['output']>;
|
|
2765
|
+
usedCapacity?: Maybe<Scalars['Float']['output']>;
|
|
2766
|
+
workspaceId: Scalars['ID']['output'];
|
|
2767
|
+
};
|
|
2768
|
+
export type MtwWarehouseLocationsArgs = {
|
|
2769
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
2770
|
+
};
|
|
2771
|
+
export type MtwWarehouseLocation = {
|
|
2772
|
+
__typename?: 'MtwWarehouseLocation';
|
|
2773
|
+
aisle?: Maybe<Scalars['String']['output']>;
|
|
2774
|
+
bin?: Maybe<Scalars['String']['output']>;
|
|
2775
|
+
capacity?: Maybe<Scalars['Float']['output']>;
|
|
2776
|
+
context?: Maybe<OperationContext>;
|
|
2777
|
+
createdAt: Scalars['DateTime']['output'];
|
|
2778
|
+
createdBy: Scalars['String']['output'];
|
|
2779
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
2780
|
+
id: Scalars['ID']['output'];
|
|
2781
|
+
locationCode: Scalars['String']['output'];
|
|
2782
|
+
locationType?: Maybe<Scalars['String']['output']>;
|
|
2783
|
+
onBehalfOf: Scalars['String']['output'];
|
|
2784
|
+
rack?: Maybe<Scalars['String']['output']>;
|
|
2785
|
+
shelf?: Maybe<Scalars['String']['output']>;
|
|
2786
|
+
status: Scalars['String']['output'];
|
|
2787
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
2788
|
+
updatedBy?: Maybe<Scalars['String']['output']>;
|
|
2789
|
+
warehouseId: Scalars['ID']['output'];
|
|
2790
|
+
workspaceId: Scalars['ID']['output'];
|
|
2791
|
+
zone?: Maybe<Scalars['String']['output']>;
|
|
2792
|
+
};
|
|
2793
|
+
export type MtwWarehouseStats = {
|
|
2794
|
+
__typename?: 'MtwWarehouseStats';
|
|
2795
|
+
active: Scalars['Int']['output'];
|
|
2796
|
+
avgUtilization: Scalars['Float']['output'];
|
|
2797
|
+
total: Scalars['Int']['output'];
|
|
2798
|
+
};
|
|
2799
|
+
export type Mutation = {
|
|
2800
|
+
__typename?: 'Mutation';
|
|
2801
|
+
_empty?: Maybe<Scalars['String']['output']>;
|
|
2802
|
+
acceptMtwReuseReservation: MtwReuseReservation;
|
|
2803
|
+
addShipmentLeg: MtwShipmentLeg;
|
|
2804
|
+
addTrackingEvent: MtwTrackingEvent;
|
|
2805
|
+
adjustInventoryStock: MtwInventoryItem;
|
|
2806
|
+
assignDriverVehicle: MtwDriver;
|
|
2807
|
+
/**
|
|
2808
|
+
* Type B self-scoped capture: the calling actor must be the Driver assigned
|
|
2809
|
+
* to `input.deliveryJobId` (resolved via Driver.userId), enforced in the
|
|
2810
|
+
* resolver — never trust `input.deliveryJobId` alone. Marks the delivery job
|
|
2811
|
+
* (and its shipment, if any) DELIVERED.
|
|
2812
|
+
*/
|
|
2813
|
+
captureEpod: MtwProofOfDelivery;
|
|
2814
|
+
closeMtwContainerCycle: MtwContainerCycle;
|
|
2815
|
+
createCargoItem: MtwCargoItem;
|
|
2816
|
+
createCustomer: MtwCustomer;
|
|
2817
|
+
createDeliveryJob: MtwDeliveryJob;
|
|
2818
|
+
createDriver: MtwDriver;
|
|
2819
|
+
createIntegration: MtwIntegration;
|
|
2820
|
+
createInventoryItem: MtwInventoryItem;
|
|
2821
|
+
createInventoryTransaction: MtwInventoryTransaction;
|
|
2822
|
+
createMtwPickTaskIntent: MtwPickTask;
|
|
2823
|
+
createRoute: MtwRoute;
|
|
2824
|
+
createShipment: MtwShipment;
|
|
2825
|
+
createVehicle: MtwVehicle;
|
|
2826
|
+
createWarehouse: MtwWarehouse;
|
|
2827
|
+
createWarehouseLocation: MtwWarehouseLocation;
|
|
2828
|
+
deleteCargoItem: Scalars['Boolean']['output'];
|
|
2829
|
+
deleteCustomer: Scalars['Boolean']['output'];
|
|
2830
|
+
deleteDeliveryJob: Scalars['Boolean']['output'];
|
|
2831
|
+
deleteDriver: Scalars['Boolean']['output'];
|
|
2832
|
+
deleteIntegration: Scalars['Boolean']['output'];
|
|
2833
|
+
deleteInventoryItem: Scalars['Boolean']['output'];
|
|
2834
|
+
deleteRoute: Scalars['Boolean']['output'];
|
|
2835
|
+
deleteShipment: Scalars['Boolean']['output'];
|
|
2836
|
+
deleteVehicle: Scalars['Boolean']['output'];
|
|
2837
|
+
deleteWarehouse: Scalars['Boolean']['output'];
|
|
2838
|
+
exportMtwEntities: MtwExportJob;
|
|
2839
|
+
holdMtwContainer: MtwContainerHold;
|
|
2840
|
+
openMtwContainerCycle: MtwContainerCycle;
|
|
2841
|
+
openMtwFreeTimeClock: MtwFreeTimeClock;
|
|
2842
|
+
optimizeRoute: MtwRoute;
|
|
2843
|
+
planMultiModalShipment: MtwShipment;
|
|
2844
|
+
publishMtwProcedureVersion: MtwProcedureVersion;
|
|
2845
|
+
recalculateDemandForecasts: Scalars['Int']['output'];
|
|
2846
|
+
recordMtwConsolidationObservation: MtwConsolidationObservation;
|
|
2847
|
+
recordMtwContainerEvent: MtwContainerEvent;
|
|
2848
|
+
recordMtwContainerInspection: MtwContainerInspection;
|
|
2849
|
+
recordMtwContainerRepair: MtwContainerRepair;
|
|
2850
|
+
recordMtwEmptyReturnInstruction: MtwEmptyReturnInstruction;
|
|
2851
|
+
recordMtwEquipmentReuseApproval: MtwEquipmentReuseApproval;
|
|
2852
|
+
recordMtwFreeTimeAgreement: MtwFreeTimeAgreement;
|
|
2853
|
+
recordMtwFreeTimeExtensionDecision: MtwFreeTimeExtensionDecision;
|
|
2854
|
+
recordMtwProcedureDeviation: MtwProcedureDeviation;
|
|
2855
|
+
recordMtwProcedureStep: MtwProcedureStepDecision;
|
|
2856
|
+
recordMtwReuseProposal: MtwReuseProposal;
|
|
2857
|
+
recordMtwStockBindingAssessment: MtwStockBindingAssessment;
|
|
2858
|
+
recordMtwStockObservation: MtwStockObservation;
|
|
2859
|
+
recordMtwTripUtilizationReport: MtwTripUtilizationReport;
|
|
2860
|
+
recordVehicleService: MtwVehicle;
|
|
2861
|
+
registerMtwContainer: MtwContainer;
|
|
2862
|
+
releaseMtwContainerHold: MtwContainerReleaseDecision;
|
|
2863
|
+
removeShipmentLeg: Scalars['Boolean']['output'];
|
|
2864
|
+
requestMtwFreeTimeExtension: MtwFreeTimeExtension;
|
|
2865
|
+
revokeMtwInspectorQualification: MtwInspectorQualification;
|
|
2866
|
+
revokeMtwProcedureDeviation: MtwProcedureDeviation;
|
|
2867
|
+
saveMtwConsolidationManifest: MtwConsolidationManifest;
|
|
2868
|
+
saveMtwConsolidationPlan: MtwConsolidationPlan;
|
|
2869
|
+
saveMtwFreightEstimate: MtwFreightEstimateVersion;
|
|
2870
|
+
setDriverVehicles: MtwDriver;
|
|
2871
|
+
startMtwProcedureExecution: MtwProcedureExecution;
|
|
2872
|
+
submitMtwInspectorQualification: MtwInspectorQualification;
|
|
2873
|
+
terminateMtwReuseReservation: MtwReuseReservation;
|
|
2874
|
+
transferInventoryStock: MtwInventoryTransferResult;
|
|
2875
|
+
updateCargoItem: MtwCargoItem;
|
|
2876
|
+
updateCustomer: MtwCustomer;
|
|
2877
|
+
updateDeliveryJob: MtwDeliveryJob;
|
|
2878
|
+
updateDeliveryJobStatus: MtwDeliveryJob;
|
|
2879
|
+
updateDriver: MtwDriver;
|
|
2880
|
+
updateDriverStatus: MtwDriver;
|
|
2881
|
+
updateIntegration: MtwIntegration;
|
|
2882
|
+
updateInventoryItem: MtwInventoryItem;
|
|
2883
|
+
updateRoute: MtwRoute;
|
|
2884
|
+
updateShipment: MtwShipment;
|
|
2885
|
+
updateVehicle: MtwVehicle;
|
|
2886
|
+
updateVehicleLocation: MtwVehicle;
|
|
2887
|
+
updateVehicleStatus: MtwVehicle;
|
|
2888
|
+
updateWarehouse: MtwWarehouse;
|
|
2889
|
+
updateWarehouseLocation: MtwWarehouseLocation;
|
|
2890
|
+
verifyMtwInspectorQualification: MtwInspectorQualification;
|
|
2891
|
+
};
|
|
2892
|
+
export type MutationAcceptMtwReuseReservationArgs = {
|
|
2893
|
+
input: AcceptMtwReuseReservationInput;
|
|
2894
|
+
};
|
|
2895
|
+
export type MutationAddShipmentLegArgs = {
|
|
2896
|
+
input: CreateShipmentLegInput;
|
|
2897
|
+
shipmentId: Scalars['ID']['input'];
|
|
2898
|
+
};
|
|
2899
|
+
export type MutationAddTrackingEventArgs = {
|
|
2900
|
+
input: AddTrackingEventInput;
|
|
2901
|
+
};
|
|
2902
|
+
export type MutationAdjustInventoryStockArgs = {
|
|
2903
|
+
input: AdjustInventoryStockInput;
|
|
2904
|
+
};
|
|
2905
|
+
export type MutationAssignDriverVehicleArgs = {
|
|
2906
|
+
id: Scalars['ID']['input'];
|
|
2907
|
+
vehicleId?: InputMaybe<Scalars['ID']['input']>;
|
|
2908
|
+
};
|
|
2909
|
+
export type MutationCaptureEpodArgs = {
|
|
2910
|
+
input: CaptureEpodInput;
|
|
2911
|
+
};
|
|
2912
|
+
export type MutationCloseMtwContainerCycleArgs = {
|
|
2913
|
+
input: CloseMtwContainerCycleInput;
|
|
2914
|
+
};
|
|
2915
|
+
export type MutationCreateCargoItemArgs = {
|
|
2916
|
+
input: CreateCargoItemInput;
|
|
2917
|
+
};
|
|
2918
|
+
export type MutationCreateCustomerArgs = {
|
|
2919
|
+
input: CreateCustomerInput;
|
|
2920
|
+
};
|
|
2921
|
+
export type MutationCreateDeliveryJobArgs = {
|
|
2922
|
+
input: CreateDeliveryJobInput;
|
|
2923
|
+
};
|
|
2924
|
+
export type MutationCreateDriverArgs = {
|
|
2925
|
+
input: CreateDriverInput;
|
|
2926
|
+
};
|
|
2927
|
+
export type MutationCreateIntegrationArgs = {
|
|
2928
|
+
input: CreateIntegrationInput;
|
|
2929
|
+
};
|
|
2930
|
+
export type MutationCreateInventoryItemArgs = {
|
|
2931
|
+
input: CreateInventoryItemInput;
|
|
2932
|
+
};
|
|
2933
|
+
export type MutationCreateInventoryTransactionArgs = {
|
|
2934
|
+
input: CreateInventoryTransactionInput;
|
|
2935
|
+
};
|
|
2936
|
+
export type MutationCreateMtwPickTaskIntentArgs = {
|
|
2937
|
+
input: CreateMtwPickTaskIntentInput;
|
|
2938
|
+
};
|
|
2939
|
+
export type MutationCreateRouteArgs = {
|
|
2940
|
+
input: CreateRouteInput;
|
|
2941
|
+
};
|
|
2942
|
+
export type MutationCreateShipmentArgs = {
|
|
2943
|
+
input: CreateShipmentInput;
|
|
2944
|
+
};
|
|
2945
|
+
export type MutationCreateVehicleArgs = {
|
|
2946
|
+
input: CreateVehicleInput;
|
|
2947
|
+
};
|
|
2948
|
+
export type MutationCreateWarehouseArgs = {
|
|
2949
|
+
input: CreateWarehouseInput;
|
|
2950
|
+
};
|
|
2951
|
+
export type MutationCreateWarehouseLocationArgs = {
|
|
2952
|
+
input: CreateWarehouseLocationInput;
|
|
2953
|
+
};
|
|
2954
|
+
export type MutationDeleteCargoItemArgs = {
|
|
2955
|
+
id: Scalars['ID']['input'];
|
|
2956
|
+
};
|
|
2957
|
+
export type MutationDeleteCustomerArgs = {
|
|
2958
|
+
id: Scalars['ID']['input'];
|
|
2959
|
+
};
|
|
2960
|
+
export type MutationDeleteDeliveryJobArgs = {
|
|
2961
|
+
id: Scalars['ID']['input'];
|
|
2962
|
+
};
|
|
2963
|
+
export type MutationDeleteDriverArgs = {
|
|
2964
|
+
id: Scalars['ID']['input'];
|
|
2965
|
+
};
|
|
2966
|
+
export type MutationDeleteIntegrationArgs = {
|
|
2967
|
+
id: Scalars['ID']['input'];
|
|
2968
|
+
};
|
|
2969
|
+
export type MutationDeleteInventoryItemArgs = {
|
|
2970
|
+
id: Scalars['ID']['input'];
|
|
2971
|
+
};
|
|
2972
|
+
export type MutationDeleteRouteArgs = {
|
|
2973
|
+
id: Scalars['ID']['input'];
|
|
2974
|
+
};
|
|
2975
|
+
export type MutationDeleteShipmentArgs = {
|
|
2976
|
+
id: Scalars['ID']['input'];
|
|
2977
|
+
};
|
|
2978
|
+
export type MutationDeleteVehicleArgs = {
|
|
2979
|
+
id: Scalars['ID']['input'];
|
|
2980
|
+
};
|
|
2981
|
+
export type MutationDeleteWarehouseArgs = {
|
|
2982
|
+
id: Scalars['ID']['input'];
|
|
2983
|
+
};
|
|
2984
|
+
export type MutationExportMtwEntitiesArgs = {
|
|
2985
|
+
input: ExportMtwEntitiesInput;
|
|
2986
|
+
};
|
|
2987
|
+
export type MutationHoldMtwContainerArgs = {
|
|
2988
|
+
input: HoldMtwContainerInput;
|
|
2989
|
+
};
|
|
2990
|
+
export type MutationOpenMtwContainerCycleArgs = {
|
|
2991
|
+
input: OpenMtwContainerCycleInput;
|
|
2992
|
+
};
|
|
2993
|
+
export type MutationOpenMtwFreeTimeClockArgs = {
|
|
2994
|
+
input: OpenMtwFreeTimeClockInput;
|
|
2995
|
+
};
|
|
2996
|
+
export type MutationOptimizeRouteArgs = {
|
|
2997
|
+
id: Scalars['ID']['input'];
|
|
2998
|
+
};
|
|
2999
|
+
export type MutationPlanMultiModalShipmentArgs = {
|
|
3000
|
+
input: PlanMultiModalShipmentInput;
|
|
3001
|
+
};
|
|
3002
|
+
export type MutationPublishMtwProcedureVersionArgs = {
|
|
3003
|
+
input: PublishMtwProcedureVersionInput;
|
|
3004
|
+
};
|
|
3005
|
+
export type MutationRecalculateDemandForecastsArgs = {
|
|
3006
|
+
weeksOfHistory?: InputMaybe<Scalars['Int']['input']>;
|
|
3007
|
+
};
|
|
3008
|
+
export type MutationRecordMtwConsolidationObservationArgs = {
|
|
3009
|
+
input: RecordMtwConsolidationObservationInput;
|
|
3010
|
+
};
|
|
3011
|
+
export type MutationRecordMtwContainerEventArgs = {
|
|
3012
|
+
input: RecordMtwContainerEventInput;
|
|
3013
|
+
};
|
|
3014
|
+
export type MutationRecordMtwContainerInspectionArgs = {
|
|
3015
|
+
input: RecordMtwContainerInspectionInput;
|
|
3016
|
+
};
|
|
3017
|
+
export type MutationRecordMtwContainerRepairArgs = {
|
|
3018
|
+
input: RecordMtwContainerRepairInput;
|
|
3019
|
+
};
|
|
3020
|
+
export type MutationRecordMtwEmptyReturnInstructionArgs = {
|
|
3021
|
+
input: RecordMtwEmptyReturnInstructionInput;
|
|
3022
|
+
};
|
|
3023
|
+
export type MutationRecordMtwEquipmentReuseApprovalArgs = {
|
|
3024
|
+
input: RecordMtwEquipmentReuseApprovalInput;
|
|
3025
|
+
};
|
|
3026
|
+
export type MutationRecordMtwFreeTimeAgreementArgs = {
|
|
3027
|
+
input: RecordMtwFreeTimeAgreementInput;
|
|
3028
|
+
};
|
|
3029
|
+
export type MutationRecordMtwFreeTimeExtensionDecisionArgs = {
|
|
3030
|
+
input: RecordMtwFreeTimeExtensionDecisionInput;
|
|
3031
|
+
};
|
|
3032
|
+
export type MutationRecordMtwProcedureDeviationArgs = {
|
|
3033
|
+
input: RecordMtwProcedureDeviationInput;
|
|
3034
|
+
};
|
|
3035
|
+
export type MutationRecordMtwProcedureStepArgs = {
|
|
3036
|
+
input: RecordMtwProcedureStepInput;
|
|
3037
|
+
};
|
|
3038
|
+
export type MutationRecordMtwReuseProposalArgs = {
|
|
3039
|
+
input: RecordMtwReuseProposalInput;
|
|
3040
|
+
};
|
|
3041
|
+
export type MutationRecordMtwStockBindingAssessmentArgs = {
|
|
3042
|
+
input: RecordMtwStockBindingAssessmentInput;
|
|
3043
|
+
};
|
|
3044
|
+
export type MutationRecordMtwStockObservationArgs = {
|
|
3045
|
+
input: RecordMtwStockObservationInput;
|
|
3046
|
+
};
|
|
3047
|
+
export type MutationRecordMtwTripUtilizationReportArgs = {
|
|
3048
|
+
input: RecordMtwTripUtilizationReportInput;
|
|
3049
|
+
};
|
|
3050
|
+
export type MutationRecordVehicleServiceArgs = {
|
|
3051
|
+
id: Scalars['ID']['input'];
|
|
3052
|
+
input: RecordVehicleServiceInput;
|
|
3053
|
+
};
|
|
3054
|
+
export type MutationRegisterMtwContainerArgs = {
|
|
3055
|
+
input: RegisterMtwContainerInput;
|
|
3056
|
+
};
|
|
3057
|
+
export type MutationReleaseMtwContainerHoldArgs = {
|
|
3058
|
+
input: ReleaseMtwContainerHoldInput;
|
|
3059
|
+
};
|
|
3060
|
+
export type MutationRemoveShipmentLegArgs = {
|
|
3061
|
+
id: Scalars['ID']['input'];
|
|
3062
|
+
};
|
|
3063
|
+
export type MutationRequestMtwFreeTimeExtensionArgs = {
|
|
3064
|
+
input: RequestMtwFreeTimeExtensionInput;
|
|
3065
|
+
};
|
|
3066
|
+
export type MutationRevokeMtwInspectorQualificationArgs = {
|
|
3067
|
+
input: RevokeMtwInspectorQualificationInput;
|
|
3068
|
+
};
|
|
3069
|
+
export type MutationRevokeMtwProcedureDeviationArgs = {
|
|
3070
|
+
input: RevokeMtwProcedureDeviationInput;
|
|
3071
|
+
};
|
|
3072
|
+
export type MutationSaveMtwConsolidationManifestArgs = {
|
|
3073
|
+
input: SaveMtwConsolidationManifestInput;
|
|
3074
|
+
};
|
|
3075
|
+
export type MutationSaveMtwConsolidationPlanArgs = {
|
|
3076
|
+
input: SaveMtwConsolidationPlanInput;
|
|
3077
|
+
};
|
|
3078
|
+
export type MutationSaveMtwFreightEstimateArgs = {
|
|
3079
|
+
input: SaveMtwFreightEstimateInput;
|
|
3080
|
+
};
|
|
3081
|
+
export type MutationSetDriverVehiclesArgs = {
|
|
3082
|
+
id: Scalars['ID']['input'];
|
|
3083
|
+
vehicleIds: Array<Scalars['ID']['input']>;
|
|
3084
|
+
};
|
|
3085
|
+
export type MutationStartMtwProcedureExecutionArgs = {
|
|
3086
|
+
input: StartMtwProcedureExecutionInput;
|
|
3087
|
+
};
|
|
3088
|
+
export type MutationSubmitMtwInspectorQualificationArgs = {
|
|
3089
|
+
input: SubmitMtwInspectorQualificationInput;
|
|
3090
|
+
};
|
|
3091
|
+
export type MutationTerminateMtwReuseReservationArgs = {
|
|
3092
|
+
input: TerminateMtwReuseReservationInput;
|
|
3093
|
+
};
|
|
3094
|
+
export type MutationTransferInventoryStockArgs = {
|
|
3095
|
+
input: TransferInventoryStockInput;
|
|
3096
|
+
};
|
|
3097
|
+
export type MutationUpdateCargoItemArgs = {
|
|
3098
|
+
id: Scalars['ID']['input'];
|
|
3099
|
+
input: UpdateCargoItemInput;
|
|
3100
|
+
};
|
|
3101
|
+
export type MutationUpdateCustomerArgs = {
|
|
3102
|
+
id: Scalars['ID']['input'];
|
|
3103
|
+
input: UpdateCustomerInput;
|
|
3104
|
+
};
|
|
3105
|
+
export type MutationUpdateDeliveryJobArgs = {
|
|
3106
|
+
id: Scalars['ID']['input'];
|
|
3107
|
+
input: UpdateDeliveryJobInput;
|
|
3108
|
+
};
|
|
3109
|
+
export type MutationUpdateDeliveryJobStatusArgs = {
|
|
3110
|
+
id: Scalars['ID']['input'];
|
|
3111
|
+
input: UpdateDeliveryJobStatusInput;
|
|
3112
|
+
};
|
|
3113
|
+
export type MutationUpdateDriverArgs = {
|
|
3114
|
+
id: Scalars['ID']['input'];
|
|
3115
|
+
input: UpdateDriverInput;
|
|
3116
|
+
};
|
|
3117
|
+
export type MutationUpdateDriverStatusArgs = {
|
|
3118
|
+
id: Scalars['ID']['input'];
|
|
3119
|
+
status: DriverStatus;
|
|
3120
|
+
};
|
|
3121
|
+
export type MutationUpdateIntegrationArgs = {
|
|
3122
|
+
id: Scalars['ID']['input'];
|
|
3123
|
+
input: UpdateIntegrationInput;
|
|
3124
|
+
};
|
|
3125
|
+
export type MutationUpdateInventoryItemArgs = {
|
|
3126
|
+
id: Scalars['ID']['input'];
|
|
3127
|
+
input: UpdateInventoryItemInput;
|
|
3128
|
+
};
|
|
3129
|
+
export type MutationUpdateRouteArgs = {
|
|
3130
|
+
id: Scalars['ID']['input'];
|
|
3131
|
+
input: UpdateRouteInput;
|
|
3132
|
+
};
|
|
3133
|
+
export type MutationUpdateShipmentArgs = {
|
|
3134
|
+
id: Scalars['ID']['input'];
|
|
3135
|
+
input: UpdateShipmentInput;
|
|
3136
|
+
};
|
|
3137
|
+
export type MutationUpdateVehicleArgs = {
|
|
3138
|
+
id: Scalars['ID']['input'];
|
|
3139
|
+
input: UpdateVehicleInput;
|
|
3140
|
+
};
|
|
3141
|
+
export type MutationUpdateVehicleLocationArgs = {
|
|
3142
|
+
id: Scalars['ID']['input'];
|
|
3143
|
+
location: Scalars['JSON']['input'];
|
|
3144
|
+
};
|
|
3145
|
+
export type MutationUpdateVehicleStatusArgs = {
|
|
3146
|
+
id: Scalars['ID']['input'];
|
|
3147
|
+
status: VehicleStatus;
|
|
3148
|
+
};
|
|
3149
|
+
export type MutationUpdateWarehouseArgs = {
|
|
3150
|
+
id: Scalars['ID']['input'];
|
|
3151
|
+
input: UpdateWarehouseInput;
|
|
3152
|
+
};
|
|
3153
|
+
export type MutationUpdateWarehouseLocationArgs = {
|
|
3154
|
+
id: Scalars['ID']['input'];
|
|
3155
|
+
input: UpdateWarehouseLocationInput;
|
|
3156
|
+
};
|
|
3157
|
+
export type MutationVerifyMtwInspectorQualificationArgs = {
|
|
3158
|
+
input: VerifyMtwInspectorQualificationInput;
|
|
3159
|
+
};
|
|
3160
|
+
export type OceanContainerType = 'FCL_20FT' | 'FCL_40FT' | 'FCL_40FT_HC' | 'LCL';
|
|
3161
|
+
export type OpenMtwContainerCycleInput = {
|
|
3162
|
+
bookingReference?: InputMaybe<Scalars['String']['input']>;
|
|
3163
|
+
containerId: Scalars['ID']['input'];
|
|
3164
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3165
|
+
openedAt: Scalars['DateTime']['input'];
|
|
3166
|
+
shipmentId?: InputMaybe<Scalars['ID']['input']>;
|
|
3167
|
+
};
|
|
3168
|
+
export type OpenMtwFreeTimeClockInput = {
|
|
3169
|
+
agreement: MtwFreeTimeAgreementInput;
|
|
3170
|
+
chargeKind: MtwFreeTimeChargeKind;
|
|
3171
|
+
cycleId: Scalars['ID']['input'];
|
|
3172
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3173
|
+
obligationReference: Scalars['String']['input'];
|
|
3174
|
+
};
|
|
3175
|
+
export type OperationContext = {
|
|
3176
|
+
__typename?: 'OperationContext';
|
|
3177
|
+
appId?: Maybe<Scalars['ID']['output']>;
|
|
3178
|
+
custom?: Maybe<Scalars['JSON']['output']>;
|
|
3179
|
+
projectId?: Maybe<Scalars['ID']['output']>;
|
|
3180
|
+
userId?: Maybe<Scalars['ID']['output']>;
|
|
3181
|
+
workspaceId?: Maybe<Scalars['ID']['output']>;
|
|
3182
|
+
};
|
|
3183
|
+
/**
|
|
3184
|
+
* The business's own vehicle cost for the same lane. Nothing is assumed: the
|
|
3185
|
+
* estimate exists only when the caller supplies its own cost per km, because
|
|
3186
|
+
* inventing a fleet's costs would make the comparison meaningless.
|
|
3187
|
+
*/
|
|
3188
|
+
export type OwnFleetInput = {
|
|
3189
|
+
/** The business's own cost to run a vehicle one km (fuel, driver, wear), in INR. */
|
|
3190
|
+
costPerKm: Scalars['Float']['input'];
|
|
3191
|
+
/** Road distance between pickup and delivery, in km. */
|
|
3192
|
+
distanceKm: Scalars['Float']['input'];
|
|
3193
|
+
/** Fixed cost per trip (loading, dispatch), in INR. */
|
|
3194
|
+
fixedCost?: InputMaybe<Scalars['Float']['input']>;
|
|
3195
|
+
};
|
|
3196
|
+
export type PaginationInput = {
|
|
3197
|
+
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
3198
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
3199
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
3200
|
+
};
|
|
3201
|
+
export type PlanMultiModalShipmentInput = {
|
|
3202
|
+
cargoDetails?: InputMaybe<Scalars['JSON']['input']>;
|
|
3203
|
+
context?: InputMaybe<ContextInput>;
|
|
3204
|
+
customerId?: InputMaybe<Scalars['ID']['input']>;
|
|
3205
|
+
deliveryJobId?: InputMaybe<Scalars['ID']['input']>;
|
|
3206
|
+
destination: Scalars['JSON']['input'];
|
|
3207
|
+
estimatedDelivery?: InputMaybe<Scalars['DateTime']['input']>;
|
|
3208
|
+
legs: Array<CreateShipmentLegInput>;
|
|
3209
|
+
origin: Scalars['JSON']['input'];
|
|
3210
|
+
shipmentNumber: Scalars['String']['input'];
|
|
3211
|
+
storeOrderId?: InputMaybe<Scalars['ID']['input']>;
|
|
3212
|
+
};
|
|
3213
|
+
export type PublishMtwProcedureVersionInput = {
|
|
3214
|
+
effectiveAt: Scalars['DateTime']['input'];
|
|
3215
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
3216
|
+
expectedPreviousId?: InputMaybe<Scalars['ID']['input']>;
|
|
3217
|
+
expectedVersion: Scalars['Int']['input'];
|
|
3218
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3219
|
+
kind: MtwProcedureVersionKind;
|
|
3220
|
+
reason: Scalars['String']['input'];
|
|
3221
|
+
scope: MtwProcedureScopeInput;
|
|
3222
|
+
templateReference: Scalars['String']['input'];
|
|
3223
|
+
title: Scalars['String']['input'];
|
|
3224
|
+
validUntil?: InputMaybe<Scalars['DateTime']['input']>;
|
|
3225
|
+
};
|
|
3226
|
+
export type Query = {
|
|
3227
|
+
__typename?: 'Query';
|
|
3228
|
+
_empty?: Maybe<Scalars['String']['output']>;
|
|
3229
|
+
activeDeliveries: Array<MtwShipment>;
|
|
3230
|
+
analytics: MtwAnalyticsSeries;
|
|
3231
|
+
assignmentSuggestions: MtwAssignmentSuggestions;
|
|
3232
|
+
calculateFreightRate: MtwFreightRateQuote;
|
|
3233
|
+
cargoItem?: Maybe<MtwCargoItem>;
|
|
3234
|
+
cargoItemStats: MtwCargoItemStats;
|
|
3235
|
+
cargoItems: Array<MtwCargoItem>;
|
|
3236
|
+
cargoItemsCount: Scalars['Int']['output'];
|
|
3237
|
+
customer?: Maybe<MtwCustomer>;
|
|
3238
|
+
customerStats: MtwCustomerStats;
|
|
3239
|
+
customers: Array<MtwCustomer>;
|
|
3240
|
+
customersCount: Scalars['Int']['output'];
|
|
3241
|
+
dashboardMetrics: MtwDashboardMetrics;
|
|
3242
|
+
deliveryJob?: Maybe<MtwDeliveryJob>;
|
|
3243
|
+
deliveryJobStats: MtwDeliveryJobStats;
|
|
3244
|
+
deliveryJobTracking: Array<MtwTrackingEvent>;
|
|
3245
|
+
deliveryJobs: Array<MtwDeliveryJob>;
|
|
3246
|
+
deliveryJobsCount: Scalars['Int']['output'];
|
|
3247
|
+
demandForecastByCustomer: Array<MtwDemandForecastPoint>;
|
|
3248
|
+
demandForecastByLane: Array<MtwDemandForecastPoint>;
|
|
3249
|
+
demandForecastVariance: Array<MtwDemandForecastVariance>;
|
|
3250
|
+
driver?: Maybe<MtwDriver>;
|
|
3251
|
+
drivers: Array<MtwDriver>;
|
|
3252
|
+
driversCount: Scalars['Int']['output'];
|
|
3253
|
+
emissionsSummary: MtwEmissionsSummary;
|
|
3254
|
+
/**
|
|
3255
|
+
* The completed ePOD record for a delivery job — for the shipper/customer to
|
|
3256
|
+
* view or download once capture is complete. Returns null if no capture
|
|
3257
|
+
* exists yet.
|
|
3258
|
+
*/
|
|
3259
|
+
epod?: Maybe<MtwProofOfDelivery>;
|
|
3260
|
+
financeMetrics: MtwFinanceMetrics;
|
|
3261
|
+
fleetAlerts: Array<MtwFleetAlert>;
|
|
3262
|
+
fleetStats: MtwFleetStats;
|
|
3263
|
+
integration?: Maybe<MtwIntegration>;
|
|
3264
|
+
integrationEvents: Array<MtwIntegrationEvent>;
|
|
3265
|
+
integrationIngestReceipts: Array<MtwIntegrationIngestReceipt>;
|
|
3266
|
+
integrations: Array<MtwIntegration>;
|
|
3267
|
+
integrationsCount: Scalars['Int']['output'];
|
|
3268
|
+
inventoryItem?: Maybe<MtwInventoryItem>;
|
|
3269
|
+
inventoryItems: Array<MtwInventoryItem>;
|
|
3270
|
+
inventoryItemsCount: Scalars['Int']['output'];
|
|
3271
|
+
inventoryStats: MtwInventoryStats;
|
|
3272
|
+
inventoryTransactions: Array<MtwInventoryTransaction>;
|
|
3273
|
+
inventoryTransactionsCount: Scalars['Int']['output'];
|
|
3274
|
+
mtwApplicableProcedures: MtwProcedureApplicability;
|
|
3275
|
+
mtwConsolidationManifest: MtwConsolidationManifest;
|
|
3276
|
+
mtwConsolidationManifestPage: MtwConsolidationManifestPage;
|
|
3277
|
+
mtwConsolidationObservation: MtwConsolidationObservation;
|
|
3278
|
+
mtwConsolidationObservationPage: MtwConsolidationObservationPage;
|
|
3279
|
+
mtwConsolidationPlan: MtwConsolidationPlan;
|
|
3280
|
+
mtwConsolidationPlanPage: MtwConsolidationPlanPage;
|
|
3281
|
+
mtwContainer?: Maybe<MtwContainer>;
|
|
3282
|
+
mtwContainerCyclePage: MtwContainerCyclePage;
|
|
3283
|
+
mtwContainerCycles: Array<MtwContainerCycle>;
|
|
3284
|
+
mtwContainerDefectPage: MtwContainerDefectPage;
|
|
3285
|
+
mtwContainerEventPage: MtwContainerEventPage;
|
|
3286
|
+
mtwContainerEvents: Array<MtwContainerEvent>;
|
|
3287
|
+
mtwContainerHoldPage: MtwContainerHoldPage;
|
|
3288
|
+
mtwContainerInspectionPage: MtwContainerInspectionPage;
|
|
3289
|
+
mtwContainerPage: MtwContainerPage;
|
|
3290
|
+
mtwContainerQualificationPage: MtwInspectorQualificationPage;
|
|
3291
|
+
mtwContainerReleaseDecisionPage: MtwContainerReleaseDecisionPage;
|
|
3292
|
+
mtwContainerRepairPage: MtwContainerRepairPage;
|
|
3293
|
+
mtwContainers: Array<MtwContainer>;
|
|
3294
|
+
/** Exact immutable instruction, including a proposal's historical owner; not a current-eligibility claim. */
|
|
3295
|
+
mtwEmptyReturnInstruction: MtwEmptyReturnInstruction;
|
|
3296
|
+
mtwEmptyReturnInstructionPage: MtwEmptyReturnInstructionPage;
|
|
3297
|
+
mtwEquipmentReuseApprovalPage: MtwEquipmentReuseApprovalPage;
|
|
3298
|
+
mtwFreeTimeAgreementPage: MtwFreeTimeAgreementPage;
|
|
3299
|
+
mtwFreeTimeClockPage: MtwFreeTimeClockPage;
|
|
3300
|
+
mtwFreeTimeExposure: MtwFreeTimeExposure;
|
|
3301
|
+
mtwFreeTimeExtensionPage: MtwFreeTimeExtensionPage;
|
|
3302
|
+
mtwFreightEstimatePage: MtwFreightEstimatePage;
|
|
3303
|
+
mtwFreightEstimateVersion: MtwFreightEstimateVersion;
|
|
3304
|
+
mtwPickPreparation: MtwPickPreparation;
|
|
3305
|
+
mtwPickTask: MtwPickTask;
|
|
3306
|
+
mtwPickTaskPage: MtwPickTaskPage;
|
|
3307
|
+
mtwProcedureDeviationPage: MtwProcedureDeviationPage;
|
|
3308
|
+
mtwProcedureExecution: MtwProcedureExecution;
|
|
3309
|
+
mtwProcedureExecutionPage: MtwProcedureExecutionPage;
|
|
3310
|
+
mtwProcedureStepPage: MtwProcedureStepPage;
|
|
3311
|
+
mtwProcedureVersion: MtwProcedureVersion;
|
|
3312
|
+
mtwProcedureVersionPage: MtwProcedureVersionPage;
|
|
3313
|
+
mtwReuseEligibility: MtwReuseEligibility;
|
|
3314
|
+
mtwReuseProposalPage: MtwReuseProposalPage;
|
|
3315
|
+
mtwReuseReservationPage: MtwReuseReservationPage;
|
|
3316
|
+
mtwReuseReservationTransitionPage: MtwReuseReservationTransitionPage;
|
|
3317
|
+
mtwStockBindingAssessment: MtwStockBindingAssessment;
|
|
3318
|
+
mtwStockBindingAssessmentPage: MtwStockBindingAssessmentPage;
|
|
3319
|
+
mtwStockObservation: MtwStockObservation;
|
|
3320
|
+
mtwStockObservationPage: MtwStockObservationPage;
|
|
3321
|
+
mtwTripUtilizationReportPage: MtwTripUtilizationReportPage;
|
|
3322
|
+
/**
|
|
3323
|
+
* Type C self-list: delivery jobs assigned to the CALLING driver that are out
|
|
3324
|
+
* for delivery/in transit and still awaiting ePOD capture. Feeds the
|
|
3325
|
+
* driver-facing capture flow's job picker.
|
|
3326
|
+
*/
|
|
3327
|
+
myPendingEpodDeliveryJobs: Array<MtwDeliveryJob>;
|
|
3328
|
+
myPendingEpodDeliveryJobsCount: Scalars['Int']['output'];
|
|
3329
|
+
previewMtwConsolidationManifest: MtwConsolidationSnapshot;
|
|
3330
|
+
previewMtwFreightTotal: MtwFreightPreview;
|
|
3331
|
+
route?: Maybe<MtwRoute>;
|
|
3332
|
+
routeStats: MtwRouteStats;
|
|
3333
|
+
routes: Array<MtwRoute>;
|
|
3334
|
+
routesCount: Scalars['Int']['output'];
|
|
3335
|
+
shipment?: Maybe<MtwShipment>;
|
|
3336
|
+
shipmentLegs: Array<MtwShipmentLeg>;
|
|
3337
|
+
shipmentTracking: Array<MtwTrackingEvent>;
|
|
3338
|
+
shipments: Array<MtwShipment>;
|
|
3339
|
+
shipmentsCount: Scalars['Int']['output'];
|
|
3340
|
+
shippingQuotes: MtwShippingQuoteResult;
|
|
3341
|
+
trackingAlerts: Array<MtwTrackingAlert>;
|
|
3342
|
+
vehicle?: Maybe<MtwVehicle>;
|
|
3343
|
+
vehicles: Array<MtwVehicle>;
|
|
3344
|
+
vehiclesCount: Scalars['Int']['output'];
|
|
3345
|
+
warehouse?: Maybe<MtwWarehouse>;
|
|
3346
|
+
warehouseStats: MtwWarehouseStats;
|
|
3347
|
+
warehouses: Array<MtwWarehouse>;
|
|
3348
|
+
warehousesCount: Scalars['Int']['output'];
|
|
3349
|
+
};
|
|
3350
|
+
export type QueryActiveDeliveriesArgs = {
|
|
3351
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
3352
|
+
};
|
|
3353
|
+
export type QueryAssignmentSuggestionsArgs = {
|
|
3354
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
3355
|
+
routeId: Scalars['ID']['input'];
|
|
3356
|
+
};
|
|
3357
|
+
export type QueryCalculateFreightRateArgs = {
|
|
3358
|
+
input: FreightRateInput;
|
|
3359
|
+
};
|
|
3360
|
+
export type QueryCargoItemArgs = {
|
|
3361
|
+
id: Scalars['ID']['input'];
|
|
3362
|
+
};
|
|
3363
|
+
export type QueryCargoItemsArgs = {
|
|
3364
|
+
filter?: InputMaybe<CargoItemFilterInput>;
|
|
3365
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
3366
|
+
};
|
|
3367
|
+
export type QueryCargoItemsCountArgs = {
|
|
3368
|
+
filter?: InputMaybe<CargoItemFilterInput>;
|
|
3369
|
+
};
|
|
3370
|
+
export type QueryCustomerArgs = {
|
|
3371
|
+
id: Scalars['ID']['input'];
|
|
3372
|
+
};
|
|
3373
|
+
export type QueryCustomersArgs = {
|
|
3374
|
+
filter?: InputMaybe<CustomerFilterInput>;
|
|
3375
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
3376
|
+
};
|
|
3377
|
+
export type QueryCustomersCountArgs = {
|
|
3378
|
+
filter?: InputMaybe<CustomerFilterInput>;
|
|
3379
|
+
};
|
|
3380
|
+
export type QueryDeliveryJobArgs = {
|
|
3381
|
+
id: Scalars['ID']['input'];
|
|
3382
|
+
};
|
|
3383
|
+
export type QueryDeliveryJobTrackingArgs = {
|
|
3384
|
+
deliveryJobId: Scalars['ID']['input'];
|
|
3385
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
3386
|
+
};
|
|
3387
|
+
export type QueryDeliveryJobsArgs = {
|
|
3388
|
+
filter?: InputMaybe<DeliveryJobFilterInput>;
|
|
3389
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
3390
|
+
};
|
|
3391
|
+
export type QueryDeliveryJobsCountArgs = {
|
|
3392
|
+
filter?: InputMaybe<DeliveryJobFilterInput>;
|
|
3393
|
+
};
|
|
3394
|
+
export type QueryDemandForecastByCustomerArgs = {
|
|
3395
|
+
weeks?: InputMaybe<Scalars['Int']['input']>;
|
|
3396
|
+
};
|
|
3397
|
+
export type QueryDemandForecastByLaneArgs = {
|
|
3398
|
+
weeks?: InputMaybe<Scalars['Int']['input']>;
|
|
3399
|
+
};
|
|
3400
|
+
export type QueryDemandForecastVarianceArgs = {
|
|
3401
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
3402
|
+
scopeType: DemandForecastScope;
|
|
3403
|
+
};
|
|
3404
|
+
export type QueryDriverArgs = {
|
|
3405
|
+
id: Scalars['ID']['input'];
|
|
3406
|
+
};
|
|
3407
|
+
export type QueryDriversArgs = {
|
|
3408
|
+
filter?: InputMaybe<DriverFilterInput>;
|
|
3409
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
3410
|
+
};
|
|
3411
|
+
export type QueryDriversCountArgs = {
|
|
3412
|
+
filter?: InputMaybe<DriverFilterInput>;
|
|
3413
|
+
};
|
|
3414
|
+
export type QueryEpodArgs = {
|
|
3415
|
+
deliveryJobId: Scalars['ID']['input'];
|
|
3416
|
+
};
|
|
3417
|
+
export type QueryIntegrationArgs = {
|
|
3418
|
+
id: Scalars['ID']['input'];
|
|
3419
|
+
};
|
|
3420
|
+
export type QueryIntegrationEventsArgs = {
|
|
3421
|
+
integrationId?: InputMaybe<Scalars['ID']['input']>;
|
|
3422
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
3423
|
+
};
|
|
3424
|
+
export type QueryIntegrationIngestReceiptsArgs = {
|
|
3425
|
+
integrationId: Scalars['ID']['input'];
|
|
3426
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
3427
|
+
};
|
|
3428
|
+
export type QueryIntegrationsArgs = {
|
|
3429
|
+
filter?: InputMaybe<IntegrationFilterInput>;
|
|
3430
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
3431
|
+
};
|
|
3432
|
+
export type QueryIntegrationsCountArgs = {
|
|
3433
|
+
filter?: InputMaybe<IntegrationFilterInput>;
|
|
3434
|
+
};
|
|
3435
|
+
export type QueryInventoryItemArgs = {
|
|
3436
|
+
id: Scalars['ID']['input'];
|
|
3437
|
+
};
|
|
3438
|
+
export type QueryInventoryItemsArgs = {
|
|
3439
|
+
filter?: InputMaybe<InventoryFilterInput>;
|
|
3440
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
3441
|
+
};
|
|
3442
|
+
export type QueryInventoryItemsCountArgs = {
|
|
3443
|
+
filter?: InputMaybe<InventoryFilterInput>;
|
|
3444
|
+
};
|
|
3445
|
+
export type QueryInventoryStatsArgs = {
|
|
3446
|
+
filter?: InputMaybe<InventoryFilterInput>;
|
|
3447
|
+
};
|
|
3448
|
+
export type QueryInventoryTransactionsArgs = {
|
|
3449
|
+
filter?: InputMaybe<InventoryFilterInput>;
|
|
3450
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
3451
|
+
};
|
|
3452
|
+
export type QueryInventoryTransactionsCountArgs = {
|
|
3453
|
+
filter?: InputMaybe<InventoryFilterInput>;
|
|
3454
|
+
};
|
|
3455
|
+
export type QueryMtwApplicableProceduresArgs = {
|
|
3456
|
+
proposalId: Scalars['ID']['input'];
|
|
3457
|
+
};
|
|
3458
|
+
export type QueryMtwConsolidationManifestArgs = {
|
|
3459
|
+
id: Scalars['ID']['input'];
|
|
3460
|
+
planId: Scalars['ID']['input'];
|
|
3461
|
+
};
|
|
3462
|
+
export type QueryMtwConsolidationManifestPageArgs = {
|
|
3463
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3464
|
+
planId: Scalars['ID']['input'];
|
|
3465
|
+
};
|
|
3466
|
+
export type QueryMtwConsolidationObservationArgs = {
|
|
3467
|
+
id: Scalars['ID']['input'];
|
|
3468
|
+
planId: Scalars['ID']['input'];
|
|
3469
|
+
};
|
|
3470
|
+
export type QueryMtwConsolidationObservationPageArgs = {
|
|
3471
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3472
|
+
planId: Scalars['ID']['input'];
|
|
3473
|
+
};
|
|
3474
|
+
export type QueryMtwConsolidationPlanArgs = {
|
|
3475
|
+
id: Scalars['ID']['input'];
|
|
3476
|
+
shipmentId: Scalars['ID']['input'];
|
|
3477
|
+
};
|
|
3478
|
+
export type QueryMtwConsolidationPlanPageArgs = {
|
|
3479
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3480
|
+
planReference?: InputMaybe<Scalars['String']['input']>;
|
|
3481
|
+
shipmentId: Scalars['ID']['input'];
|
|
3482
|
+
};
|
|
3483
|
+
export type QueryMtwContainerArgs = {
|
|
3484
|
+
id: Scalars['ID']['input'];
|
|
3485
|
+
};
|
|
3486
|
+
export type QueryMtwContainerCyclePageArgs = {
|
|
3487
|
+
containerId: Scalars['ID']['input'];
|
|
3488
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3489
|
+
};
|
|
3490
|
+
export type QueryMtwContainerCyclesArgs = {
|
|
3491
|
+
containerId: Scalars['ID']['input'];
|
|
3492
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3493
|
+
};
|
|
3494
|
+
export type QueryMtwContainerDefectPageArgs = {
|
|
3495
|
+
inspectionId: Scalars['ID']['input'];
|
|
3496
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3497
|
+
};
|
|
3498
|
+
export type QueryMtwContainerEventPageArgs = {
|
|
3499
|
+
cycleId: Scalars['ID']['input'];
|
|
3500
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3501
|
+
};
|
|
3502
|
+
export type QueryMtwContainerEventsArgs = {
|
|
3503
|
+
cycleId: Scalars['ID']['input'];
|
|
3504
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3505
|
+
};
|
|
3506
|
+
export type QueryMtwContainerHoldPageArgs = {
|
|
3507
|
+
containerId: Scalars['ID']['input'];
|
|
3508
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3509
|
+
};
|
|
3510
|
+
export type QueryMtwContainerInspectionPageArgs = {
|
|
3511
|
+
containerId: Scalars['ID']['input'];
|
|
3512
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3513
|
+
};
|
|
3514
|
+
export type QueryMtwContainerPageArgs = {
|
|
3515
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3516
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
3517
|
+
};
|
|
3518
|
+
export type QueryMtwContainerQualificationPageArgs = {
|
|
3519
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3520
|
+
};
|
|
3521
|
+
export type QueryMtwContainerReleaseDecisionPageArgs = {
|
|
3522
|
+
containerId: Scalars['ID']['input'];
|
|
3523
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3524
|
+
};
|
|
3525
|
+
export type QueryMtwContainerRepairPageArgs = {
|
|
3526
|
+
holdId: Scalars['ID']['input'];
|
|
3527
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3528
|
+
};
|
|
3529
|
+
export type QueryMtwContainersArgs = {
|
|
3530
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3531
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
3532
|
+
};
|
|
3533
|
+
export type QueryMtwEmptyReturnInstructionArgs = {
|
|
3534
|
+
id: Scalars['ID']['input'];
|
|
3535
|
+
};
|
|
3536
|
+
export type QueryMtwEmptyReturnInstructionPageArgs = {
|
|
3537
|
+
cycleId: Scalars['ID']['input'];
|
|
3538
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3539
|
+
};
|
|
3540
|
+
export type QueryMtwEquipmentReuseApprovalPageArgs = {
|
|
3541
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3542
|
+
proposalId: Scalars['ID']['input'];
|
|
3543
|
+
};
|
|
3544
|
+
export type QueryMtwFreeTimeAgreementPageArgs = {
|
|
3545
|
+
clockId: Scalars['ID']['input'];
|
|
3546
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3547
|
+
};
|
|
3548
|
+
export type QueryMtwFreeTimeClockPageArgs = {
|
|
3549
|
+
cycleId: Scalars['ID']['input'];
|
|
3550
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3551
|
+
};
|
|
3552
|
+
export type QueryMtwFreeTimeExposureArgs = {
|
|
3553
|
+
asOf: Scalars['DateTime']['input'];
|
|
3554
|
+
clockId: Scalars['ID']['input'];
|
|
3555
|
+
};
|
|
3556
|
+
export type QueryMtwFreeTimeExtensionPageArgs = {
|
|
3557
|
+
clockId: Scalars['ID']['input'];
|
|
3558
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3559
|
+
};
|
|
3560
|
+
export type QueryMtwFreightEstimatePageArgs = {
|
|
3561
|
+
estimateReference?: InputMaybe<Scalars['String']['input']>;
|
|
3562
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3563
|
+
shipmentId: Scalars['ID']['input'];
|
|
3564
|
+
};
|
|
3565
|
+
export type QueryMtwFreightEstimateVersionArgs = {
|
|
3566
|
+
id: Scalars['ID']['input'];
|
|
3567
|
+
shipmentId: Scalars['ID']['input'];
|
|
3568
|
+
};
|
|
3569
|
+
export type QueryMtwPickPreparationArgs = {
|
|
3570
|
+
destinationInventoryItemId: Scalars['ID']['input'];
|
|
3571
|
+
sourceInventoryItemId: Scalars['ID']['input'];
|
|
3572
|
+
};
|
|
3573
|
+
export type QueryMtwPickTaskArgs = {
|
|
3574
|
+
id: Scalars['ID']['input'];
|
|
3575
|
+
};
|
|
3576
|
+
export type QueryMtwPickTaskPageArgs = {
|
|
3577
|
+
destinationInventoryItemId?: InputMaybe<Scalars['ID']['input']>;
|
|
3578
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3579
|
+
sourceInventoryItemId?: InputMaybe<Scalars['ID']['input']>;
|
|
3580
|
+
};
|
|
3581
|
+
export type QueryMtwProcedureDeviationPageArgs = {
|
|
3582
|
+
executionId: Scalars['ID']['input'];
|
|
3583
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3584
|
+
};
|
|
3585
|
+
export type QueryMtwProcedureExecutionArgs = {
|
|
3586
|
+
id: Scalars['ID']['input'];
|
|
3587
|
+
};
|
|
3588
|
+
export type QueryMtwProcedureExecutionPageArgs = {
|
|
3589
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3590
|
+
proposalId: Scalars['ID']['input'];
|
|
3591
|
+
};
|
|
3592
|
+
export type QueryMtwProcedureStepPageArgs = {
|
|
3593
|
+
executionId: Scalars['ID']['input'];
|
|
3594
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3595
|
+
};
|
|
3596
|
+
export type QueryMtwProcedureVersionArgs = {
|
|
3597
|
+
id: Scalars['ID']['input'];
|
|
3598
|
+
};
|
|
3599
|
+
export type QueryMtwProcedureVersionPageArgs = {
|
|
3600
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3601
|
+
templateReference: Scalars['String']['input'];
|
|
3602
|
+
};
|
|
3603
|
+
export type QueryMtwReuseEligibilityArgs = {
|
|
3604
|
+
approvalId?: InputMaybe<Scalars['ID']['input']>;
|
|
3605
|
+
proposalId: Scalars['ID']['input'];
|
|
3606
|
+
};
|
|
3607
|
+
export type QueryMtwReuseProposalPageArgs = {
|
|
3608
|
+
cycleId: Scalars['ID']['input'];
|
|
3609
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3610
|
+
};
|
|
3611
|
+
export type QueryMtwReuseReservationPageArgs = {
|
|
3612
|
+
cycleId: Scalars['ID']['input'];
|
|
3613
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3614
|
+
};
|
|
3615
|
+
export type QueryMtwReuseReservationTransitionPageArgs = {
|
|
3616
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3617
|
+
reservationId: Scalars['ID']['input'];
|
|
3618
|
+
};
|
|
3619
|
+
export type QueryMtwStockBindingAssessmentArgs = {
|
|
3620
|
+
id: Scalars['ID']['input'];
|
|
3621
|
+
inventoryItemId: Scalars['ID']['input'];
|
|
3622
|
+
};
|
|
3623
|
+
export type QueryMtwStockBindingAssessmentPageArgs = {
|
|
3624
|
+
inventoryItemId: Scalars['ID']['input'];
|
|
3625
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3626
|
+
};
|
|
3627
|
+
export type QueryMtwStockObservationArgs = {
|
|
3628
|
+
id: Scalars['ID']['input'];
|
|
3629
|
+
inventoryItemId: Scalars['ID']['input'];
|
|
3630
|
+
};
|
|
3631
|
+
export type QueryMtwStockObservationPageArgs = {
|
|
3632
|
+
inventoryItemId: Scalars['ID']['input'];
|
|
3633
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3634
|
+
};
|
|
3635
|
+
export type QueryMtwTripUtilizationReportPageArgs = {
|
|
3636
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
3637
|
+
routeId: Scalars['ID']['input'];
|
|
3638
|
+
};
|
|
3639
|
+
export type QueryMyPendingEpodDeliveryJobsArgs = {
|
|
3640
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
3641
|
+
};
|
|
3642
|
+
export type QueryPreviewMtwConsolidationManifestArgs = {
|
|
3643
|
+
expectedObservationSequence: Scalars['Int']['input'];
|
|
3644
|
+
planId: Scalars['ID']['input'];
|
|
3645
|
+
};
|
|
3646
|
+
export type QueryPreviewMtwFreightTotalArgs = {
|
|
3647
|
+
input: MtwFreightFactsInput;
|
|
3648
|
+
};
|
|
3649
|
+
export type QueryRouteArgs = {
|
|
3650
|
+
id: Scalars['ID']['input'];
|
|
3651
|
+
};
|
|
3652
|
+
export type QueryRoutesArgs = {
|
|
3653
|
+
filter?: InputMaybe<RouteFilterInput>;
|
|
3654
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
3655
|
+
};
|
|
3656
|
+
export type QueryRoutesCountArgs = {
|
|
3657
|
+
filter?: InputMaybe<RouteFilterInput>;
|
|
3658
|
+
};
|
|
3659
|
+
export type QueryShipmentArgs = {
|
|
3660
|
+
id: Scalars['ID']['input'];
|
|
3661
|
+
};
|
|
3662
|
+
export type QueryShipmentLegsArgs = {
|
|
3663
|
+
shipmentId: Scalars['ID']['input'];
|
|
3664
|
+
};
|
|
3665
|
+
export type QueryShipmentTrackingArgs = {
|
|
3666
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
3667
|
+
shipmentId: Scalars['ID']['input'];
|
|
3668
|
+
};
|
|
3669
|
+
export type QueryShipmentsArgs = {
|
|
3670
|
+
filter?: InputMaybe<ShipmentFilterInput>;
|
|
3671
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
3672
|
+
};
|
|
3673
|
+
export type QueryShipmentsCountArgs = {
|
|
3674
|
+
filter?: InputMaybe<ShipmentFilterInput>;
|
|
3675
|
+
};
|
|
3676
|
+
export type QueryShippingQuotesArgs = {
|
|
3677
|
+
input: ShippingQuoteInput;
|
|
3678
|
+
};
|
|
3679
|
+
export type QueryTrackingAlertsArgs = {
|
|
3680
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
3681
|
+
};
|
|
3682
|
+
export type QueryVehicleArgs = {
|
|
3683
|
+
id: Scalars['ID']['input'];
|
|
3684
|
+
};
|
|
3685
|
+
export type QueryVehiclesArgs = {
|
|
3686
|
+
filter?: InputMaybe<VehicleFilterInput>;
|
|
3687
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
3688
|
+
};
|
|
3689
|
+
export type QueryVehiclesCountArgs = {
|
|
3690
|
+
filter?: InputMaybe<VehicleFilterInput>;
|
|
3691
|
+
};
|
|
3692
|
+
export type QueryWarehouseArgs = {
|
|
3693
|
+
id: Scalars['ID']['input'];
|
|
3694
|
+
};
|
|
3695
|
+
export type QueryWarehousesArgs = {
|
|
3696
|
+
filter?: InputMaybe<WarehouseFilterInput>;
|
|
3697
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
3698
|
+
};
|
|
3699
|
+
export type QueryWarehousesCountArgs = {
|
|
3700
|
+
filter?: InputMaybe<WarehouseFilterInput>;
|
|
3701
|
+
};
|
|
3702
|
+
export type RecordMtwConsolidationObservationInput = {
|
|
3703
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
3704
|
+
expectedPreviousVersionId?: InputMaybe<Scalars['ID']['input']>;
|
|
3705
|
+
expectedVersion: Scalars['Int']['input'];
|
|
3706
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3707
|
+
issueReference?: InputMaybe<Scalars['String']['input']>;
|
|
3708
|
+
kind: MtwConsolidationReportKind;
|
|
3709
|
+
lotId: Scalars['ID']['input'];
|
|
3710
|
+
planId: Scalars['ID']['input'];
|
|
3711
|
+
reason: Scalars['String']['input'];
|
|
3712
|
+
reportedObservedAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
3713
|
+
reportedQuantity?: InputMaybe<Scalars['String']['input']>;
|
|
3714
|
+
source: MtwConsolidationSourceInput;
|
|
3715
|
+
unitReference?: InputMaybe<Scalars['String']['input']>;
|
|
3716
|
+
unitRevision?: InputMaybe<Scalars['String']['input']>;
|
|
3717
|
+
};
|
|
3718
|
+
export type RecordMtwContainerDefectInput = {
|
|
3719
|
+
code: Scalars['String']['input'];
|
|
3720
|
+
details: Scalars['String']['input'];
|
|
3721
|
+
severity: MtwContainerDefectSeverity;
|
|
3722
|
+
};
|
|
3723
|
+
export type RecordMtwContainerEventInput = {
|
|
3724
|
+
cycleId: Scalars['ID']['input'];
|
|
3725
|
+
eventType: MtwContainerEventType;
|
|
3726
|
+
evidenceNote?: InputMaybe<Scalars['String']['input']>;
|
|
3727
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3728
|
+
kind: MtwContainerEventKind;
|
|
3729
|
+
location?: InputMaybe<Scalars['String']['input']>;
|
|
3730
|
+
occurredAt: Scalars['DateTime']['input'];
|
|
3731
|
+
source: Scalars['String']['input'];
|
|
3732
|
+
sourceReference?: InputMaybe<Scalars['String']['input']>;
|
|
3733
|
+
};
|
|
3734
|
+
export type RecordMtwContainerInspectionInput = {
|
|
3735
|
+
acepReference?: InputMaybe<Scalars['String']['input']>;
|
|
3736
|
+
cargoCategory: MtwContainerCargoCategory;
|
|
3737
|
+
containerId: Scalars['ID']['input'];
|
|
3738
|
+
cscPlateVersionId: Scalars['ID']['input'];
|
|
3739
|
+
defects: Array<RecordMtwContainerDefectInput>;
|
|
3740
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
3741
|
+
examinationScheme: MtwContainerExaminationScheme;
|
|
3742
|
+
examinationVersionId: Scalars['ID']['input'];
|
|
3743
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3744
|
+
inspectedAt: Scalars['DateTime']['input'];
|
|
3745
|
+
nextExaminationAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
3746
|
+
resolvedDefectIds: Array<Scalars['ID']['input']>;
|
|
3747
|
+
suitability: MtwContainerSuitability;
|
|
3748
|
+
templateVersion: Scalars['String']['input'];
|
|
3749
|
+
};
|
|
3750
|
+
export type RecordMtwContainerRepairInput = {
|
|
3751
|
+
completedAt: Scalars['DateTime']['input'];
|
|
3752
|
+
defectIds: Array<Scalars['ID']['input']>;
|
|
3753
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
3754
|
+
expectedVersion: Scalars['Int']['input'];
|
|
3755
|
+
holdId: Scalars['ID']['input'];
|
|
3756
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3757
|
+
workDescription: Scalars['String']['input'];
|
|
3758
|
+
};
|
|
3759
|
+
export type RecordMtwEmptyReturnInstructionInput = {
|
|
3760
|
+
bookingReference: Scalars['String']['input'];
|
|
3761
|
+
changeReason: Scalars['String']['input'];
|
|
3762
|
+
currentInstructionId?: InputMaybe<Scalars['ID']['input']>;
|
|
3763
|
+
cycleId: Scalars['ID']['input'];
|
|
3764
|
+
depotReference: Scalars['String']['input'];
|
|
3765
|
+
effectiveAt: Scalars['DateTime']['input'];
|
|
3766
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
3767
|
+
expectedCycleVersion: Scalars['Int']['input'];
|
|
3768
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3769
|
+
locationReference: Scalars['String']['input'];
|
|
3770
|
+
ownerReference: Scalars['String']['input'];
|
|
3771
|
+
returnFrom: Scalars['DateTime']['input'];
|
|
3772
|
+
returnUntil: Scalars['DateTime']['input'];
|
|
3773
|
+
sourceReference: Scalars['String']['input'];
|
|
3774
|
+
};
|
|
3775
|
+
export type RecordMtwEquipmentReuseApprovalInput = {
|
|
3776
|
+
approvalId?: InputMaybe<Scalars['ID']['input']>;
|
|
3777
|
+
counterpartyReference: Scalars['String']['input'];
|
|
3778
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
3779
|
+
expectedCycleVersion: Scalars['Int']['input'];
|
|
3780
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3781
|
+
kind: MtwReuseApprovalKind;
|
|
3782
|
+
note: Scalars['String']['input'];
|
|
3783
|
+
proposalId: Scalars['ID']['input'];
|
|
3784
|
+
sourceReference: Scalars['String']['input'];
|
|
3785
|
+
validFrom?: InputMaybe<Scalars['DateTime']['input']>;
|
|
3786
|
+
validUntil?: InputMaybe<Scalars['DateTime']['input']>;
|
|
3787
|
+
};
|
|
3788
|
+
export type RecordMtwFreeTimeAgreementInput = {
|
|
3789
|
+
agreement: MtwFreeTimeAgreementInput;
|
|
3790
|
+
clockId: Scalars['ID']['input'];
|
|
3791
|
+
expectedVersion: Scalars['Int']['input'];
|
|
3792
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3793
|
+
};
|
|
3794
|
+
export type RecordMtwFreeTimeExtensionDecisionInput = {
|
|
3795
|
+
acceptedFreeUntil?: InputMaybe<Scalars['DateTime']['input']>;
|
|
3796
|
+
counterparty: Scalars['String']['input'];
|
|
3797
|
+
decidedAt: Scalars['DateTime']['input'];
|
|
3798
|
+
decision: MtwFreeTimeDecisionKind;
|
|
3799
|
+
effectiveAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
3800
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
3801
|
+
expectedVersion: Scalars['Int']['input'];
|
|
3802
|
+
extensionId: Scalars['ID']['input'];
|
|
3803
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3804
|
+
note: Scalars['String']['input'];
|
|
3805
|
+
sourceReference: Scalars['String']['input'];
|
|
3806
|
+
};
|
|
3807
|
+
export type RecordMtwProcedureDeviationInput = {
|
|
3808
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
3809
|
+
executionId: Scalars['ID']['input'];
|
|
3810
|
+
expectedPreviousId?: InputMaybe<Scalars['ID']['input']>;
|
|
3811
|
+
expectedVersion: Scalars['Int']['input'];
|
|
3812
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3813
|
+
kind: MtwProcedureDeviationReviewKind;
|
|
3814
|
+
reason: Scalars['String']['input'];
|
|
3815
|
+
stepDecisionId: Scalars['ID']['input'];
|
|
3816
|
+
validFrom?: InputMaybe<Scalars['DateTime']['input']>;
|
|
3817
|
+
validUntil?: InputMaybe<Scalars['DateTime']['input']>;
|
|
3818
|
+
};
|
|
3819
|
+
export type RecordMtwProcedureStepInput = {
|
|
3820
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
3821
|
+
executionId: Scalars['ID']['input'];
|
|
3822
|
+
expectedPreviousId?: InputMaybe<Scalars['ID']['input']>;
|
|
3823
|
+
expectedVersion: Scalars['Int']['input'];
|
|
3824
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3825
|
+
kind: MtwProcedureStepKind;
|
|
3826
|
+
note: Scalars['String']['input'];
|
|
3827
|
+
step: MtwProcedureStep;
|
|
3828
|
+
};
|
|
3829
|
+
export type RecordMtwReuseProposalInput = {
|
|
3830
|
+
cargoCategory: MtwContainerCargoCategory;
|
|
3831
|
+
conditionQualificationId?: InputMaybe<Scalars['ID']['input']>;
|
|
3832
|
+
cycleId: Scalars['ID']['input'];
|
|
3833
|
+
emptyEventId: Scalars['ID']['input'];
|
|
3834
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
3835
|
+
expectedCycleVersion: Scalars['Int']['input'];
|
|
3836
|
+
expectedProposalRevision: Scalars['Int']['input'];
|
|
3837
|
+
exportBookingReference: Scalars['String']['input'];
|
|
3838
|
+
exporterReference: Scalars['String']['input'];
|
|
3839
|
+
handoffFrom: Scalars['DateTime']['input'];
|
|
3840
|
+
handoffLocationReference: Scalars['String']['input'];
|
|
3841
|
+
handoffUntil: Scalars['DateTime']['input'];
|
|
3842
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3843
|
+
inspectionId: Scalars['ID']['input'];
|
|
3844
|
+
instructionId: Scalars['ID']['input'];
|
|
3845
|
+
proposalReference: Scalars['String']['input'];
|
|
3846
|
+
requiredEquipmentType: MtwEquipmentType;
|
|
3847
|
+
routeBinding?: InputMaybe<MtwReuseRouteBindingInput>;
|
|
3848
|
+
sources: MtwReuseSourcesInput;
|
|
3849
|
+
timing?: InputMaybe<MtwReuseTimingInput>;
|
|
3850
|
+
transportRouteId: Scalars['ID']['input'];
|
|
3851
|
+
transportRouteUpdatedAt: Scalars['DateTime']['input'];
|
|
3852
|
+
};
|
|
3853
|
+
export type RecordMtwStockBindingAssessmentInput = {
|
|
3854
|
+
effectiveAt: Scalars['DateTime']['input'];
|
|
3855
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
3856
|
+
expectedCargoItemId: Scalars['ID']['input'];
|
|
3857
|
+
expectedCargoUpdatedAt: Scalars['DateTime']['input'];
|
|
3858
|
+
/** Optional exact reviewed change marker; omission remains unpinned source history. */
|
|
3859
|
+
expectedCompositionEpoch?: InputMaybe<Scalars['Int']['input']>;
|
|
3860
|
+
expectedInventoryUpdatedAt: Scalars['DateTime']['input'];
|
|
3861
|
+
expectedLocationId?: InputMaybe<Scalars['ID']['input']>;
|
|
3862
|
+
expectedLocationUpdatedAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
3863
|
+
expectedPreviousAssessmentId?: InputMaybe<Scalars['ID']['input']>;
|
|
3864
|
+
expectedVersion: Scalars['Int']['input'];
|
|
3865
|
+
expectedWarehouseId: Scalars['ID']['input'];
|
|
3866
|
+
expectedWarehouseUpdatedAt: Scalars['DateTime']['input'];
|
|
3867
|
+
facts: MtwStockBindingFactsInput;
|
|
3868
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3869
|
+
inventoryItemId: Scalars['ID']['input'];
|
|
3870
|
+
};
|
|
3871
|
+
export type RecordMtwStockObservationInput = {
|
|
3872
|
+
countScope: MtwStockObservationCountScope;
|
|
3873
|
+
evidenceDeclarations: Array<MtwContainerEvidenceInput>;
|
|
3874
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3875
|
+
inventoryItemId: Scalars['ID']['input'];
|
|
3876
|
+
kind: MtwStockObservationKind;
|
|
3877
|
+
observedCount?: InputMaybe<Scalars['Int']['input']>;
|
|
3878
|
+
reason: Scalars['String']['input'];
|
|
3879
|
+
reportedCountUnit?: InputMaybe<MtwStockBindingCountUnitInput>;
|
|
3880
|
+
reportedObservedAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
3881
|
+
source?: InputMaybe<MtwStockBindingSourceInput>;
|
|
3882
|
+
};
|
|
3883
|
+
export type RecordMtwTripUtilizationReportInput = {
|
|
3884
|
+
basis: MtwTripUtilizationBasis;
|
|
3885
|
+
declaredCoverage: MtwTripUtilizationCoverage;
|
|
3886
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
3887
|
+
expectedRouteUpdatedAt: Scalars['DateTime']['input'];
|
|
3888
|
+
expectedVehicleUpdatedAt: Scalars['DateTime']['input'];
|
|
3889
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3890
|
+
intervalFrom: Scalars['DateTime']['input'];
|
|
3891
|
+
intervalUntil: Scalars['DateTime']['input'];
|
|
3892
|
+
routeId: Scalars['ID']['input'];
|
|
3893
|
+
segments: Array<MtwTripUtilizationSegmentInput>;
|
|
3894
|
+
tripId: Scalars['ID']['input'];
|
|
3895
|
+
vehicleId: Scalars['ID']['input'];
|
|
3896
|
+
};
|
|
3897
|
+
export type RecordVehicleServiceInput = {
|
|
3898
|
+
/** Days until the next service. Sets nextServiceDueDate. */
|
|
3899
|
+
intervalDays?: InputMaybe<Scalars['Int']['input']>;
|
|
3900
|
+
/** Kilometres until the next service. Sets nextServiceDueMileage (needs mileage). */
|
|
3901
|
+
intervalKm?: InputMaybe<Scalars['Float']['input']>;
|
|
3902
|
+
/** Odometer reading at service. Also updates the vehicle mileage when higher. */
|
|
3903
|
+
mileage?: InputMaybe<Scalars['Float']['input']>;
|
|
3904
|
+
/** When the service was performed. Defaults to now. */
|
|
3905
|
+
serviceDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
3906
|
+
};
|
|
3907
|
+
export type RegisterMtwContainerInput = {
|
|
3908
|
+
containerNumber: Scalars['String']['input'];
|
|
3909
|
+
equipmentType: MtwEquipmentType;
|
|
3910
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3911
|
+
ownerName?: InputMaybe<Scalars['String']['input']>;
|
|
3912
|
+
source: Scalars['String']['input'];
|
|
3913
|
+
};
|
|
3914
|
+
export type ReleaseMtwContainerHoldInput = {
|
|
3915
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
3916
|
+
expectedVersion: Scalars['Int']['input'];
|
|
3917
|
+
holdId: Scalars['ID']['input'];
|
|
3918
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3919
|
+
inspectionId: Scalars['ID']['input'];
|
|
3920
|
+
qualificationId: Scalars['ID']['input'];
|
|
3921
|
+
resolutionReview: Scalars['String']['input'];
|
|
3922
|
+
};
|
|
3923
|
+
export type RequestMtwFreeTimeExtensionInput = {
|
|
3924
|
+
baseAgreementId: Scalars['ID']['input'];
|
|
3925
|
+
clockId: Scalars['ID']['input'];
|
|
3926
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
3927
|
+
expectedVersion: Scalars['Int']['input'];
|
|
3928
|
+
expiresAt: Scalars['DateTime']['input'];
|
|
3929
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3930
|
+
reason: Scalars['String']['input'];
|
|
3931
|
+
requestedAt: Scalars['DateTime']['input'];
|
|
3932
|
+
requestedFreeUntil: Scalars['DateTime']['input'];
|
|
3933
|
+
};
|
|
3934
|
+
export type RevokeMtwInspectorQualificationInput = {
|
|
3935
|
+
expectedVersion: Scalars['Int']['input'];
|
|
3936
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3937
|
+
qualificationId: Scalars['ID']['input'];
|
|
3938
|
+
reason: Scalars['String']['input'];
|
|
3939
|
+
};
|
|
3940
|
+
export type RevokeMtwProcedureDeviationInput = {
|
|
3941
|
+
executionId: Scalars['ID']['input'];
|
|
3942
|
+
expectedPreviousId: Scalars['ID']['input'];
|
|
3943
|
+
expectedVersion: Scalars['Int']['input'];
|
|
3944
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3945
|
+
reason: Scalars['String']['input'];
|
|
3946
|
+
stepDecisionId: Scalars['ID']['input'];
|
|
3947
|
+
};
|
|
3948
|
+
export type RouteFilterInput = {
|
|
3949
|
+
driverId?: InputMaybe<Scalars['ID']['input']>;
|
|
3950
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
3951
|
+
shipmentId?: InputMaybe<Scalars['ID']['input']>;
|
|
3952
|
+
status?: InputMaybe<RouteStatus>;
|
|
3953
|
+
vehicleId?: InputMaybe<Scalars['ID']['input']>;
|
|
3954
|
+
};
|
|
3955
|
+
export type RouteStatus = 'CANCELLED' | 'COMPLETED' | 'IN_PROGRESS' | 'PLANNED';
|
|
3956
|
+
export type SaveMtwConsolidationManifestInput = {
|
|
3957
|
+
expectedObservationSequence: Scalars['Int']['input'];
|
|
3958
|
+
expectedPreviousVersionId?: InputMaybe<Scalars['ID']['input']>;
|
|
3959
|
+
expectedVersion: Scalars['Int']['input'];
|
|
3960
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3961
|
+
planId: Scalars['ID']['input'];
|
|
3962
|
+
};
|
|
3963
|
+
export type SaveMtwConsolidationPlanInput = {
|
|
3964
|
+
cycleId: Scalars['ID']['input'];
|
|
3965
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
3966
|
+
expectedCycleVersion: Scalars['Int']['input'];
|
|
3967
|
+
expectedPreviousVersionId?: InputMaybe<Scalars['ID']['input']>;
|
|
3968
|
+
expectedShipmentUpdatedAt: Scalars['DateTime']['input'];
|
|
3969
|
+
expectedVersion: Scalars['Int']['input'];
|
|
3970
|
+
facts: MtwConsolidationFactsInput;
|
|
3971
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3972
|
+
planReference: Scalars['String']['input'];
|
|
3973
|
+
shipmentId: Scalars['ID']['input'];
|
|
3974
|
+
};
|
|
3975
|
+
export type SaveMtwFreightEstimateInput = {
|
|
3976
|
+
estimateReference: Scalars['String']['input'];
|
|
3977
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
3978
|
+
expectedPreviousVersionId?: InputMaybe<Scalars['ID']['input']>;
|
|
3979
|
+
expectedShipmentUpdatedAt: Scalars['DateTime']['input'];
|
|
3980
|
+
expectedVersion: Scalars['Int']['input'];
|
|
3981
|
+
facts: MtwFreightFactsInput;
|
|
3982
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3983
|
+
shipmentId: Scalars['ID']['input'];
|
|
3984
|
+
};
|
|
3985
|
+
export type ShipmentFilterInput = {
|
|
3986
|
+
carrierId?: InputMaybe<Scalars['ID']['input']>;
|
|
3987
|
+
customerId?: InputMaybe<Scalars['ID']['input']>;
|
|
3988
|
+
deliveryJobId?: InputMaybe<Scalars['ID']['input']>;
|
|
3989
|
+
driverId?: InputMaybe<Scalars['ID']['input']>;
|
|
3990
|
+
isMultiModal?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3991
|
+
primaryMode?: InputMaybe<TransportMode>;
|
|
3992
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
3993
|
+
status?: InputMaybe<ShipmentStatus>;
|
|
3994
|
+
storeOrderId?: InputMaybe<Scalars['ID']['input']>;
|
|
3995
|
+
vehicleId?: InputMaybe<Scalars['ID']['input']>;
|
|
3996
|
+
};
|
|
3997
|
+
export type ShipmentLegStatus = 'ARRIVED' | 'BOOKED' | 'CANCELLED' | 'DELIVERED' | 'IN_TRANSIT' | 'PLANNED';
|
|
3998
|
+
export type ShipmentStatus = 'DELIVERED' | 'FAILED' | 'IN_TRANSIT' | 'PICKED_UP' | 'PLANNED' | 'RETURNED';
|
|
3999
|
+
export type ShippingQuoteInput = {
|
|
4000
|
+
/** Cash on delivery. */
|
|
4001
|
+
cod?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4002
|
+
deliveryPostcode: Scalars['String']['input'];
|
|
4003
|
+
heightCm?: InputMaybe<Scalars['Float']['input']>;
|
|
4004
|
+
/** Optional package size in cm; all three or none. Volumetric weight is applied when larger. */
|
|
4005
|
+
lengthCm?: InputMaybe<Scalars['Float']['input']>;
|
|
4006
|
+
/** When given, the result also carries an own-fleet cost estimate for the same lane. */
|
|
4007
|
+
ownFleet?: InputMaybe<OwnFleetInput>;
|
|
4008
|
+
pickupPostcode: Scalars['String']['input'];
|
|
4009
|
+
/** Dead weight in kg. */
|
|
4010
|
+
weightKg: Scalars['Float']['input'];
|
|
4011
|
+
widthCm?: InputMaybe<Scalars['Float']['input']>;
|
|
4012
|
+
};
|
|
4013
|
+
export type SignatureType = 'DRAWN' | 'TYPED';
|
|
4014
|
+
export type StartMtwProcedureExecutionInput = {
|
|
4015
|
+
expectedCycleVersion: Scalars['Int']['input'];
|
|
4016
|
+
expectedProposalRevision: Scalars['Int']['input'];
|
|
4017
|
+
idempotencyKey: Scalars['String']['input'];
|
|
4018
|
+
procedureVersionId: Scalars['ID']['input'];
|
|
4019
|
+
proposalId: Scalars['ID']['input'];
|
|
4020
|
+
};
|
|
4021
|
+
/**
|
|
4022
|
+
* StoreOrder is owned by global-store-svc. MoveTheWheels only references it by opaque ID
|
|
4023
|
+
* when a delivery job is created from a commerce checkout/order.
|
|
4024
|
+
*/
|
|
4025
|
+
export type StoreOrder = {
|
|
4026
|
+
__typename?: 'StoreOrder';
|
|
4027
|
+
id: Scalars['ID']['output'];
|
|
4028
|
+
};
|
|
4029
|
+
export type SubmitMtwInspectorQualificationInput = {
|
|
4030
|
+
credentialReference: Scalars['String']['input'];
|
|
4031
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
4032
|
+
idempotencyKey: Scalars['String']['input'];
|
|
4033
|
+
issuerName: Scalars['String']['input'];
|
|
4034
|
+
scopes: Array<MtwContainerQualificationScope>;
|
|
4035
|
+
validFrom: Scalars['DateTime']['input'];
|
|
4036
|
+
validUntil: Scalars['DateTime']['input'];
|
|
4037
|
+
};
|
|
4038
|
+
export type Subscription = {
|
|
4039
|
+
__typename?: 'Subscription';
|
|
4040
|
+
_emptyMoveTheWheels?: Maybe<Scalars['String']['output']>;
|
|
4041
|
+
};
|
|
4042
|
+
export type TerminateMtwReuseReservationInput = {
|
|
4043
|
+
expectedVersion: Scalars['Int']['input'];
|
|
4044
|
+
idempotencyKey: Scalars['String']['input'];
|
|
4045
|
+
reason: Scalars['String']['input'];
|
|
4046
|
+
reservationId: Scalars['ID']['input'];
|
|
4047
|
+
status: MtwReuseReservationTerminalStatus;
|
|
4048
|
+
};
|
|
4049
|
+
export type TrackingEventType = 'ARRIVED' | 'CREATED' | 'DELIVERED' | 'DEPARTED' | 'FAILED' | 'IN_TRANSIT' | 'OUT_FOR_DELIVERY' | 'PICKED_UP' | 'RETURNED';
|
|
4050
|
+
export type TransferInventoryStockInput = {
|
|
4051
|
+
destinationInventoryItemId: Scalars['ID']['input'];
|
|
4052
|
+
quantity: Scalars['Int']['input'];
|
|
4053
|
+
sourceInventoryItemId: Scalars['ID']['input'];
|
|
4054
|
+
};
|
|
4055
|
+
export type TransportMode = 'AIR' | 'OCEAN' | 'RAIL' | 'ROAD';
|
|
4056
|
+
export type UpdateCargoItemInput = {
|
|
4057
|
+
brand?: InputMaybe<Scalars['String']['input']>;
|
|
4058
|
+
category?: InputMaybe<Scalars['String']['input']>;
|
|
4059
|
+
context?: InputMaybe<ContextInput>;
|
|
4060
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
4061
|
+
dimensions?: InputMaybe<Scalars['JSON']['input']>;
|
|
4062
|
+
fragile?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4063
|
+
hazardous?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4064
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
4065
|
+
sku?: InputMaybe<Scalars['String']['input']>;
|
|
4066
|
+
temperatureControlled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4067
|
+
value?: InputMaybe<Scalars['Float']['input']>;
|
|
4068
|
+
weight?: InputMaybe<Scalars['Float']['input']>;
|
|
4069
|
+
};
|
|
4070
|
+
export type UpdateCustomerInput = {
|
|
4071
|
+
address?: InputMaybe<Scalars['JSON']['input']>;
|
|
4072
|
+
businessLicense?: InputMaybe<Scalars['String']['input']>;
|
|
4073
|
+
company?: InputMaybe<Scalars['String']['input']>;
|
|
4074
|
+
context?: InputMaybe<ContextInput>;
|
|
4075
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
4076
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
4077
|
+
phone?: InputMaybe<Scalars['String']['input']>;
|
|
4078
|
+
rating?: InputMaybe<Scalars['Float']['input']>;
|
|
4079
|
+
taxId?: InputMaybe<Scalars['String']['input']>;
|
|
4080
|
+
type?: InputMaybe<Scalars['String']['input']>;
|
|
4081
|
+
};
|
|
4082
|
+
export type UpdateDeliveryJobInput = {
|
|
4083
|
+
cargoItems?: InputMaybe<Scalars['JSON']['input']>;
|
|
4084
|
+
context?: InputMaybe<ContextInput>;
|
|
4085
|
+
customerId?: InputMaybe<Scalars['ID']['input']>;
|
|
4086
|
+
deliveryAddress?: InputMaybe<Scalars['JSON']['input']>;
|
|
4087
|
+
driverId?: InputMaybe<Scalars['ID']['input']>;
|
|
4088
|
+
pickupAddress?: InputMaybe<Scalars['JSON']['input']>;
|
|
4089
|
+
pricing?: InputMaybe<Scalars['JSON']['input']>;
|
|
4090
|
+
priority?: InputMaybe<DeliveryPriority>;
|
|
4091
|
+
routeId?: InputMaybe<Scalars['ID']['input']>;
|
|
4092
|
+
scheduledDelivery?: InputMaybe<Scalars['DateTime']['input']>;
|
|
4093
|
+
specialInstructions?: InputMaybe<Scalars['String']['input']>;
|
|
4094
|
+
status?: InputMaybe<DeliveryJobStatus>;
|
|
4095
|
+
storeOrderId?: InputMaybe<Scalars['ID']['input']>;
|
|
4096
|
+
trackingNumber?: InputMaybe<Scalars['String']['input']>;
|
|
4097
|
+
vehicleId?: InputMaybe<Scalars['ID']['input']>;
|
|
4098
|
+
};
|
|
4099
|
+
export type UpdateDeliveryJobStatusInput = {
|
|
4100
|
+
location?: InputMaybe<Scalars['JSON']['input']>;
|
|
4101
|
+
notes?: InputMaybe<Scalars['String']['input']>;
|
|
4102
|
+
status: DeliveryJobStatus;
|
|
4103
|
+
};
|
|
4104
|
+
export type UpdateDriverInput = {
|
|
4105
|
+
baseSalary?: InputMaybe<Scalars['Float']['input']>;
|
|
4106
|
+
bonusYtd?: InputMaybe<Scalars['Float']['input']>;
|
|
4107
|
+
certifications?: InputMaybe<Scalars['JSON']['input']>;
|
|
4108
|
+
context?: InputMaybe<ContextInput>;
|
|
4109
|
+
currentLocation?: InputMaybe<Scalars['JSON']['input']>;
|
|
4110
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
4111
|
+
firstName?: InputMaybe<Scalars['String']['input']>;
|
|
4112
|
+
hireDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
4113
|
+
lastName?: InputMaybe<Scalars['String']['input']>;
|
|
4114
|
+
licenseClass?: InputMaybe<Scalars['String']['input']>;
|
|
4115
|
+
licenseExpiry?: InputMaybe<Scalars['DateTime']['input']>;
|
|
4116
|
+
licenseNumber?: InputMaybe<Scalars['String']['input']>;
|
|
4117
|
+
notes?: InputMaybe<Scalars['String']['input']>;
|
|
4118
|
+
onLeaveUntil?: InputMaybe<Scalars['DateTime']['input']>;
|
|
4119
|
+
payCurrency?: InputMaybe<Scalars['String']['input']>;
|
|
4120
|
+
performanceMetrics?: InputMaybe<Scalars['JSON']['input']>;
|
|
4121
|
+
phone?: InputMaybe<Scalars['String']['input']>;
|
|
4122
|
+
rating?: InputMaybe<Scalars['Float']['input']>;
|
|
4123
|
+
status?: InputMaybe<DriverStatus>;
|
|
4124
|
+
terminatedAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
4125
|
+
terminationReason?: InputMaybe<Scalars['String']['input']>;
|
|
4126
|
+
userId?: InputMaybe<Scalars['String']['input']>;
|
|
4127
|
+
vehicleId?: InputMaybe<Scalars['String']['input']>;
|
|
4128
|
+
vehicleIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
4129
|
+
};
|
|
4130
|
+
export type UpdateIntegrationInput = {
|
|
4131
|
+
apiKey?: InputMaybe<Scalars['String']['input']>;
|
|
4132
|
+
apiSecret?: InputMaybe<Scalars['String']['input']>;
|
|
4133
|
+
config?: InputMaybe<Scalars['JSON']['input']>;
|
|
4134
|
+
context?: InputMaybe<ContextInput>;
|
|
4135
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
4136
|
+
status?: InputMaybe<IntegrationStatus>;
|
|
4137
|
+
};
|
|
4138
|
+
export type UpdateInventoryItemInput = {
|
|
4139
|
+
allocated?: InputMaybe<Scalars['Int']['input']>;
|
|
4140
|
+
available?: InputMaybe<Scalars['Int']['input']>;
|
|
4141
|
+
context?: InputMaybe<ContextInput>;
|
|
4142
|
+
damaged?: InputMaybe<Scalars['Int']['input']>;
|
|
4143
|
+
locationId?: InputMaybe<Scalars['ID']['input']>;
|
|
4144
|
+
onHand?: InputMaybe<Scalars['Int']['input']>;
|
|
4145
|
+
reorderPoint?: InputMaybe<Scalars['Int']['input']>;
|
|
4146
|
+
safetyStock?: InputMaybe<Scalars['Int']['input']>;
|
|
4147
|
+
unitCost?: InputMaybe<Scalars['Float']['input']>;
|
|
4148
|
+
};
|
|
4149
|
+
export type UpdateRouteInput = {
|
|
4150
|
+
actualDistance?: InputMaybe<Scalars['Float']['input']>;
|
|
4151
|
+
actualDuration?: InputMaybe<Scalars['Float']['input']>;
|
|
4152
|
+
context?: InputMaybe<ContextInput>;
|
|
4153
|
+
driverId?: InputMaybe<Scalars['ID']['input']>;
|
|
4154
|
+
estimatedDistance?: InputMaybe<Scalars['Float']['input']>;
|
|
4155
|
+
estimatedDuration?: InputMaybe<Scalars['Float']['input']>;
|
|
4156
|
+
fuelCost?: InputMaybe<Scalars['Float']['input']>;
|
|
4157
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
4158
|
+
shipmentId?: InputMaybe<Scalars['ID']['input']>;
|
|
4159
|
+
status?: InputMaybe<RouteStatus>;
|
|
4160
|
+
vehicleId?: InputMaybe<Scalars['ID']['input']>;
|
|
4161
|
+
waypoints?: InputMaybe<Scalars['JSON']['input']>;
|
|
4162
|
+
};
|
|
4163
|
+
export type UpdateShipmentInput = {
|
|
4164
|
+
actualDelivery?: InputMaybe<Scalars['DateTime']['input']>;
|
|
4165
|
+
cargoDetails?: InputMaybe<Scalars['JSON']['input']>;
|
|
4166
|
+
carrierId?: InputMaybe<Scalars['ID']['input']>;
|
|
4167
|
+
context?: InputMaybe<ContextInput>;
|
|
4168
|
+
customerId?: InputMaybe<Scalars['ID']['input']>;
|
|
4169
|
+
deliveryJobId?: InputMaybe<Scalars['ID']['input']>;
|
|
4170
|
+
destination?: InputMaybe<Scalars['JSON']['input']>;
|
|
4171
|
+
estimatedDelivery?: InputMaybe<Scalars['DateTime']['input']>;
|
|
4172
|
+
origin?: InputMaybe<Scalars['JSON']['input']>;
|
|
4173
|
+
status?: InputMaybe<ShipmentStatus>;
|
|
4174
|
+
storeOrderId?: InputMaybe<Scalars['ID']['input']>;
|
|
4175
|
+
trackingNumber?: InputMaybe<Scalars['String']['input']>;
|
|
4176
|
+
};
|
|
4177
|
+
export type UpdateVehicleInput = {
|
|
4178
|
+
capacity?: InputMaybe<Scalars['JSON']['input']>;
|
|
4179
|
+
context?: InputMaybe<ContextInput>;
|
|
4180
|
+
currentLocation?: InputMaybe<Scalars['JSON']['input']>;
|
|
4181
|
+
fuelEfficiencyLPer100Km?: InputMaybe<Scalars['Float']['input']>;
|
|
4182
|
+
fuelLevel?: InputMaybe<Scalars['Float']['input']>;
|
|
4183
|
+
fuelType?: InputMaybe<FuelType>;
|
|
4184
|
+
lastServiceDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
4185
|
+
licensePlate?: InputMaybe<Scalars['String']['input']>;
|
|
4186
|
+
make?: InputMaybe<Scalars['String']['input']>;
|
|
4187
|
+
mileage?: InputMaybe<Scalars['Float']['input']>;
|
|
4188
|
+
model?: InputMaybe<Scalars['String']['input']>;
|
|
4189
|
+
nextServiceDueDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
4190
|
+
nextServiceDueMileage?: InputMaybe<Scalars['Float']['input']>;
|
|
4191
|
+
ownershipType?: InputMaybe<Scalars['String']['input']>;
|
|
4192
|
+
status?: InputMaybe<VehicleStatus>;
|
|
4193
|
+
type?: InputMaybe<VehicleType>;
|
|
4194
|
+
vehicleNumber?: InputMaybe<Scalars['String']['input']>;
|
|
4195
|
+
year?: InputMaybe<Scalars['Int']['input']>;
|
|
4196
|
+
};
|
|
4197
|
+
export type UpdateWarehouseInput = {
|
|
4198
|
+
address?: InputMaybe<Scalars['JSON']['input']>;
|
|
4199
|
+
capabilities?: InputMaybe<Scalars['JSON']['input']>;
|
|
4200
|
+
code?: InputMaybe<Scalars['String']['input']>;
|
|
4201
|
+
contactInfo?: InputMaybe<Scalars['JSON']['input']>;
|
|
4202
|
+
context?: InputMaybe<ContextInput>;
|
|
4203
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
4204
|
+
operatingHours?: InputMaybe<Scalars['JSON']['input']>;
|
|
4205
|
+
status?: InputMaybe<Scalars['String']['input']>;
|
|
4206
|
+
totalCapacity?: InputMaybe<Scalars['Float']['input']>;
|
|
4207
|
+
type?: InputMaybe<WarehouseType>;
|
|
4208
|
+
usedCapacity?: InputMaybe<Scalars['Float']['input']>;
|
|
4209
|
+
};
|
|
4210
|
+
export type UpdateWarehouseLocationInput = {
|
|
4211
|
+
aisle?: InputMaybe<Scalars['String']['input']>;
|
|
4212
|
+
bin?: InputMaybe<Scalars['String']['input']>;
|
|
4213
|
+
capacity?: InputMaybe<Scalars['Float']['input']>;
|
|
4214
|
+
context?: InputMaybe<ContextInput>;
|
|
4215
|
+
locationCode?: InputMaybe<Scalars['String']['input']>;
|
|
4216
|
+
locationType?: InputMaybe<Scalars['String']['input']>;
|
|
4217
|
+
rack?: InputMaybe<Scalars['String']['input']>;
|
|
4218
|
+
shelf?: InputMaybe<Scalars['String']['input']>;
|
|
4219
|
+
status?: InputMaybe<Scalars['String']['input']>;
|
|
4220
|
+
zone?: InputMaybe<Scalars['String']['input']>;
|
|
4221
|
+
};
|
|
4222
|
+
export type VehicleFilterInput = {
|
|
4223
|
+
driverId?: InputMaybe<Scalars['ID']['input']>;
|
|
4224
|
+
/** Fetch exactly these vehicles by id, regardless of how many. Ignores other filters/pagination when set. */
|
|
4225
|
+
ids?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
4226
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
4227
|
+
status?: InputMaybe<VehicleStatus>;
|
|
4228
|
+
type?: InputMaybe<VehicleType>;
|
|
4229
|
+
};
|
|
4230
|
+
export type VehicleStatus = 'ACTIVE' | 'DECOMMISSIONED' | 'INACTIVE' | 'IN_TRANSIT' | 'MAINTENANCE';
|
|
4231
|
+
export type VehicleType = 'BICYCLE' | 'DRONE' | 'FLATBED' | 'MOTORCYCLE' | 'REFRIGERATED' | 'SEMI_TRAILER' | 'TRUCK' | 'VAN';
|
|
4232
|
+
export type VerifyMtwInspectorQualificationInput = {
|
|
4233
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
4234
|
+
expectedVersion: Scalars['Int']['input'];
|
|
4235
|
+
idempotencyKey: Scalars['String']['input'];
|
|
4236
|
+
issuerConfirmationReference: Scalars['String']['input'];
|
|
4237
|
+
qualificationId: Scalars['ID']['input'];
|
|
4238
|
+
reviewNote: Scalars['String']['input'];
|
|
4239
|
+
};
|
|
4240
|
+
export type WarehouseFilterInput = {
|
|
4241
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
4242
|
+
status?: InputMaybe<Scalars['String']['input']>;
|
|
4243
|
+
type?: InputMaybe<WarehouseType>;
|
|
4244
|
+
};
|
|
4245
|
+
export type WarehouseType = 'COLD_STORAGE' | 'CROSS_DOCK' | 'DISTRIBUTION' | 'FULFILLMENT' | 'RETAIL';
|
|
4246
|
+
export type TrackingQualityIntegrationsQueryVariables = Exact<{
|
|
4247
|
+
pagination: PaginationInput;
|
|
4248
|
+
}>;
|
|
4249
|
+
export type TrackingQualityIntegrationsQuery = {
|
|
4250
|
+
__typename?: 'Query';
|
|
4251
|
+
integrations: Array<{
|
|
4252
|
+
__typename?: 'MtwIntegration';
|
|
4253
|
+
id: string;
|
|
4254
|
+
name: string;
|
|
4255
|
+
provider: MtwIntegrationProvider;
|
|
4256
|
+
status: IntegrationStatus;
|
|
4257
|
+
}>;
|
|
4258
|
+
};
|
|
4259
|
+
export type TrackingQualityDeliveriesQueryVariables = Exact<{
|
|
4260
|
+
id: Scalars['ID']['input'];
|
|
4261
|
+
pagination: PaginationInput;
|
|
4262
|
+
}>;
|
|
4263
|
+
export type TrackingQualityDeliveriesQuery = {
|
|
4264
|
+
__typename?: 'Query';
|
|
4265
|
+
integration?: {
|
|
4266
|
+
__typename?: 'MtwIntegration';
|
|
4267
|
+
id: string;
|
|
4268
|
+
name: string;
|
|
4269
|
+
provider: MtwIntegrationProvider;
|
|
4270
|
+
status: IntegrationStatus;
|
|
4271
|
+
events: Array<{
|
|
4272
|
+
__typename?: 'MtwIntegrationEvent';
|
|
4273
|
+
id: string;
|
|
4274
|
+
status: IntegrationEventStatus;
|
|
4275
|
+
receivedAt: string;
|
|
4276
|
+
processedAt?: string | null;
|
|
4277
|
+
outcomes?: unknown | null;
|
|
4278
|
+
}>;
|
|
4279
|
+
} | null;
|
|
4280
|
+
};
|
|
4281
|
+
export type TrackingQualityShipmentQueryVariables = Exact<{
|
|
4282
|
+
id: Scalars['ID']['input'];
|
|
4283
|
+
}>;
|
|
4284
|
+
export type TrackingQualityShipmentQuery = {
|
|
4285
|
+
__typename?: 'Query';
|
|
4286
|
+
shipment?: {
|
|
4287
|
+
__typename?: 'MtwShipment';
|
|
4288
|
+
id: string;
|
|
4289
|
+
shipmentNumber: string;
|
|
4290
|
+
status: ShipmentStatus;
|
|
4291
|
+
trackingNumber?: string | null;
|
|
4292
|
+
trackingEvents: Array<{
|
|
4293
|
+
__typename?: 'MtwTrackingEvent';
|
|
4294
|
+
id: string;
|
|
4295
|
+
eventType: TrackingEventType;
|
|
4296
|
+
timestamp: string;
|
|
4297
|
+
}>;
|
|
4298
|
+
} | null;
|
|
4299
|
+
};
|
|
4300
|
+
export declare const TrackingQualityIntegrationsDocument: import('graphql').DocumentNode;
|
|
4301
|
+
export declare const TrackingQualityDeliveriesDocument: import('graphql').DocumentNode;
|
|
4302
|
+
export declare const TrackingQualityShipmentDocument: import('graphql').DocumentNode;
|