@burdenoff/microfe-movethewheels 2026.1016.2 → 2026.1016.4
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/README.md +10 -0
- package/dist/MoveTheWheelsRoot.js +5 -0
- package/dist/MoveTheWheelsRoutes.js +25 -21
- package/dist/components/ContainerEvidencePicker.js +55 -55
- package/dist/components/FleetAlertsPanel.js +2 -2
- package/dist/components/freight-cost/FreightCommercialEditor.js +217 -0
- package/dist/components/freight-cost/FreightCommercialFactEditor.js +217 -0
- package/dist/components/freight-cost/FreightCommercialHistory.js +115 -0
- package/dist/components/freight-cost/FreightDraftForm.js +106 -91
- package/dist/components/freight-cost/FreightHistory.js +42 -40
- package/dist/components/freight-invoice/InvoiceForm.js +366 -0
- package/dist/components/freight-invoice/InvoiceResults.js +240 -0
- package/dist/generated/consolidation-operations.d.ts +195 -265
- package/dist/generated/container-condition-operations.d.ts +124 -187
- package/dist/generated/container-operations.d.ts +59 -85
- package/dist/generated/empty-reuse-operations.d.ts +165 -271
- package/dist/generated/free-time-operations.d.ts +120 -184
- package/dist/generated/freight-cost-operations.d.ts +955 -165
- package/dist/generated/freight-invoice-operations.d.ts +1447 -0
- package/dist/generated/logistics-procedure-operations.d.ts +100 -156
- package/dist/generated/pending-pick-operations.d.ts +769 -1025
- package/dist/generated/shipment-status-authority-operations.d.ts +82 -103
- package/dist/generated/stock-binding-operations.d.ts +188 -260
- package/dist/generated/stock-observation-operations.d.ts +103 -138
- package/dist/generated/tracking-quality-operations.d.ts +27 -41
- package/dist/generated/trip-utilization-operations.d.ts +137 -185
- package/dist/generated/wspace-operations.d.ts +628 -2272
- package/dist/generated/wspace-types.d.ts +4 -23
- package/dist/hooks/useFreightRecoveryAction.js +20 -20
- package/dist/hooks/useInvoiceComparisonRecovery.js +118 -0
- package/dist/movethewheels/components/ContainerEvidencePicker.d.ts +2 -1
- package/dist/movethewheels/components/freight-cost/FreightCommercialEditor.d.ts +8 -0
- package/dist/movethewheels/components/freight-cost/FreightCommercialFactEditor.d.ts +8 -0
- package/dist/movethewheels/components/freight-cost/FreightCommercialHistory.d.ts +4 -0
- package/dist/movethewheels/components/freight-cost/FreightDraftForm.d.ts +4 -2
- package/dist/movethewheels/components/freight-cost/FreightHistory.d.ts +2 -2
- package/dist/movethewheels/components/freight-invoice/InvoiceForm.d.ts +19 -0
- package/dist/movethewheels/components/freight-invoice/InvoiceResults.d.ts +9 -0
- package/dist/movethewheels/hooks/useFleet.d.ts +1 -1
- package/dist/movethewheels/hooks/useFleetIntelligence.d.ts +1 -1
- package/dist/movethewheels/hooks/useInvoiceComparisonRecovery.d.ts +22 -0
- package/dist/movethewheels/hooks/useProcedureSelection.d.ts +1 -3
- package/dist/movethewheels/pages/FreightInvoicePage.d.ts +10 -0
- package/dist/movethewheels/utils/driverLicenseExpiry.d.ts +6 -0
- package/dist/movethewheels/utils/freightCommercial.d.ts +44 -0
- package/dist/movethewheels/utils/invoiceComparison.d.ts +32 -0
- package/dist/pages/DriverDetailsPage.js +306 -282
- package/dist/pages/FreightEstimatePage.js +97 -92
- package/dist/pages/FreightInvoicePage.js +346 -0
- package/dist/src/generated/consolidation-operations.js +3961 -503
- package/dist/src/generated/container-condition-operations.js +2968 -206
- package/dist/src/generated/container-operations.js +997 -99
- package/dist/src/generated/empty-reuse-operations.js +4811 -747
- package/dist/src/generated/free-time-operations.js +2824 -233
- package/dist/src/generated/freight-cost-operations.js +4852 -323
- package/dist/src/generated/freight-invoice-operations.js +4894 -0
- package/dist/src/generated/logistics-procedure-operations.js +2707 -360
- package/dist/src/generated/pending-pick-operations.js +8244 -1196
- package/dist/src/generated/shipment-status-authority-operations.js +1157 -84
- package/dist/src/generated/stock-binding-operations.js +2779 -173
- package/dist/src/generated/stock-observation-operations.js +1274 -91
- package/dist/src/generated/tracking-quality-operations.js +407 -42
- package/dist/src/generated/trip-utilization-operations.js +1765 -138
- package/dist/src/generated/wspace-operations.js +428 -706
- package/dist/utils/driverLicenseExpiry.js +14 -0
- package/dist/utils/freightAcknowledgement.js +6 -5
- package/dist/utils/freightCommercial.js +194 -0
- package/dist/utils/freightRecovery.js +22 -22
- package/dist/utils/invoiceComparison.js +272 -0
- package/package.json +30 -29
- package/src/generated/consolidation-operations.ts +60 -559
- package/src/generated/container-condition-operations.ts +63 -265
- package/src/generated/container-operations.ts +37 -132
- package/src/generated/empty-reuse-operations.ts +83 -824
- package/src/generated/free-time-operations.ts +55 -284
- package/src/generated/freight-cost-operations.ts +373 -349
- package/src/generated/freight-invoice-operations.ts +830 -0
- package/src/generated/logistics-procedure-operations.ts +60 -414
- package/src/generated/pending-pick-operations.ts +48 -1239
- package/src/generated/shipment-status-authority-operations.ts +33 -113
- package/src/generated/stock-binding-operations.ts +29 -198
- package/src/generated/stock-observation-operations.ts +24 -111
- package/src/generated/tracking-quality-operations.ts +19 -57
- package/src/generated/trip-utilization-operations.ts +32 -166
- package/src/generated/wspace-operations.ts +284 -2906
- package/src/generated/wspace-types.ts +2 -8
- package/src/movethewheels/MoveTheWheelsRoot.tsx +6 -0
- package/src/movethewheels/MoveTheWheelsRoutes.tsx +2 -0
- package/src/movethewheels/components/ContainerEvidencePicker.tsx +12 -4
- package/src/movethewheels/components/FleetAlertsPanel.tsx +4 -2
- package/src/movethewheels/components/freight-cost/FreightCommercialEditor.tsx +236 -0
- package/src/movethewheels/components/freight-cost/FreightCommercialFactEditor.tsx +258 -0
- package/src/movethewheels/components/freight-cost/FreightCommercialHistory.tsx +90 -0
- package/src/movethewheels/components/freight-cost/FreightDraftForm.tsx +33 -4
- package/src/movethewheels/components/freight-cost/FreightHistory.tsx +4 -2
- package/src/movethewheels/components/freight-invoice/InvoiceForm.tsx +412 -0
- package/src/movethewheels/components/freight-invoice/InvoiceResults.tsx +162 -0
- package/src/movethewheels/hooks/useFleet.ts +1 -1
- package/src/movethewheels/hooks/useFleetIntelligence.ts +5 -1
- package/src/movethewheels/hooks/useFreightRecoveryAction.ts +2 -1
- package/src/movethewheels/hooks/useInvoiceComparisonRecovery.ts +227 -0
- package/src/movethewheels/pages/DriverDetailsPage.tsx +35 -9
- package/src/movethewheels/pages/FreightEstimatePage.tsx +15 -7
- package/src/movethewheels/pages/FreightInvoicePage.tsx +477 -0
- package/src/movethewheels/utils/driverLicenseExpiry.ts +25 -0
- package/src/movethewheels/utils/freightAcknowledgement.ts +3 -1
- package/src/movethewheels/utils/freightCommercial.ts +388 -0
- package/src/movethewheels/utils/freightRecovery.ts +6 -2
- package/src/movethewheels/utils/invoiceComparison.ts +520 -0
- package/src/operations/freight-cost/commercial.graphql +483 -0
- package/src/operations/freight-invoice/comparison.graphql +40 -0
- package/src/operations/wspace/freight-invoice-evidence.graphql +6 -0
- package/patches/braces@3.0.3.patch +0 -87
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
/** Internal type. DO NOT USE DIRECTLY. */
|
|
2
|
+
type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
|
|
3
|
+
/** Internal type. DO NOT USE DIRECTLY. */
|
|
4
|
+
export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
|
|
5
|
+
import type * as Types from './container-operations';
|
|
6
|
+
|
|
7
|
+
import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
|
|
2
8
|
export type Maybe<T> = T | null;
|
|
3
9
|
export type InputMaybe<T> = Maybe<T>;
|
|
4
|
-
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
|
|
5
|
-
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
|
|
6
|
-
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
|
|
7
|
-
export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };
|
|
8
|
-
export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
|
|
9
10
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
10
11
|
export type Scalars = {
|
|
11
12
|
ID: { input: string; output: string; }
|
|
@@ -211,166 +212,70 @@ export type RegisterMtwContainerInput = {
|
|
|
211
212
|
source: Scalars['String']['input'];
|
|
212
213
|
};
|
|
213
214
|
|
|
214
|
-
export type ContainerEquipmentFieldsFragment = {
|
|
215
|
+
export type ContainerEquipmentFieldsFragment = { id: string, containerNumber: string, equipmentType: Types.MtwEquipmentType, ownerName: string | null, source: string };
|
|
215
216
|
|
|
216
|
-
export type ContainerCycleFieldsFragment = {
|
|
217
|
+
export type ContainerCycleFieldsFragment = { id: string, containerId: string, shipmentId: string | null, bookingReference: string | null, openedAt: string, closedAt: string | null, status: Types.MtwContainerCycleStatus, version: number };
|
|
217
218
|
|
|
218
|
-
export type ContainerEventFieldsFragment = {
|
|
219
|
+
export type ContainerEventFieldsFragment = { id: string, eventType: Types.MtwContainerEventType, kind: Types.MtwContainerEventKind, occurredAt: string, receivedAt: string, source: string, sourceReference: string | null, evidenceNote: string | null, location: string | null };
|
|
219
220
|
|
|
220
221
|
export type ContainerRegistryQueryVariables = Exact<{
|
|
221
|
-
pagination?:
|
|
222
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
222
223
|
}>;
|
|
223
224
|
|
|
224
225
|
|
|
225
|
-
export type ContainerRegistryQuery = {
|
|
226
|
+
export type ContainerRegistryQuery = { mtwContainerPage: { hasMore: boolean, total: number, limit: number, offset: number, nextOffset: number | null, items: Array<{ id: string, containerNumber: string, equipmentType: Types.MtwEquipmentType, ownerName: string | null, source: string }> } };
|
|
226
227
|
|
|
227
228
|
export type ContainerCyclesQueryVariables = Exact<{
|
|
228
|
-
containerId:
|
|
229
|
-
pagination?:
|
|
229
|
+
containerId: string;
|
|
230
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
230
231
|
}>;
|
|
231
232
|
|
|
232
233
|
|
|
233
|
-
export type ContainerCyclesQuery = {
|
|
234
|
+
export type ContainerCyclesQuery = { mtwContainerCyclePage: { hasMore: boolean, total: number, limit: number, offset: number, nextOffset: number | null, items: Array<{ id: string, containerId: string, shipmentId: string | null, bookingReference: string | null, openedAt: string, closedAt: string | null, status: Types.MtwContainerCycleStatus, version: number }> } };
|
|
234
235
|
|
|
235
236
|
export type ContainerEventsQueryVariables = Exact<{
|
|
236
|
-
cycleId:
|
|
237
|
-
pagination?:
|
|
237
|
+
cycleId: string;
|
|
238
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
238
239
|
}>;
|
|
239
240
|
|
|
240
241
|
|
|
241
|
-
export type ContainerEventsQuery = {
|
|
242
|
+
export type ContainerEventsQuery = { mtwContainerEventPage: { hasMore: boolean, total: number, limit: number, offset: number, nextOffset: number | null, items: Array<{ id: string, eventType: Types.MtwContainerEventType, kind: Types.MtwContainerEventKind, occurredAt: string, receivedAt: string, source: string, sourceReference: string | null, evidenceNote: string | null, location: string | null }> } };
|
|
242
243
|
|
|
243
244
|
export type RegisterContainerMutationVariables = Exact<{
|
|
244
|
-
input: RegisterMtwContainerInput;
|
|
245
|
+
input: Types.RegisterMtwContainerInput;
|
|
245
246
|
}>;
|
|
246
247
|
|
|
247
248
|
|
|
248
|
-
export type RegisterContainerMutation = {
|
|
249
|
+
export type RegisterContainerMutation = { registerMtwContainer: { id: string, containerNumber: string, equipmentType: Types.MtwEquipmentType, ownerName: string | null, source: string } };
|
|
249
250
|
|
|
250
251
|
export type OpenContainerCycleMutationVariables = Exact<{
|
|
251
|
-
input: OpenMtwContainerCycleInput;
|
|
252
|
+
input: Types.OpenMtwContainerCycleInput;
|
|
252
253
|
}>;
|
|
253
254
|
|
|
254
255
|
|
|
255
|
-
export type OpenContainerCycleMutation = {
|
|
256
|
+
export type OpenContainerCycleMutation = { openMtwContainerCycle: { id: string, containerId: string, shipmentId: string | null, bookingReference: string | null, openedAt: string, closedAt: string | null, status: Types.MtwContainerCycleStatus, version: number } };
|
|
256
257
|
|
|
257
258
|
export type RecordContainerEventMutationVariables = Exact<{
|
|
258
|
-
input: RecordMtwContainerEventInput;
|
|
259
|
+
input: Types.RecordMtwContainerEventInput;
|
|
259
260
|
}>;
|
|
260
261
|
|
|
261
262
|
|
|
262
|
-
export type RecordContainerEventMutation = {
|
|
263
|
+
export type RecordContainerEventMutation = { recordMtwContainerEvent: { id: string } };
|
|
263
264
|
|
|
264
265
|
export type CloseContainerCycleMutationVariables = Exact<{
|
|
265
|
-
input: CloseMtwContainerCycleInput;
|
|
266
|
+
input: Types.CloseMtwContainerCycleInput;
|
|
266
267
|
}>;
|
|
267
268
|
|
|
268
269
|
|
|
269
|
-
export type CloseContainerCycleMutation = {
|
|
270
|
-
|
|
271
|
-
export const ContainerEquipmentFieldsFragmentDoc =
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
export const
|
|
281
|
-
fragment ContainerCycleFields on MtwContainerCycle {
|
|
282
|
-
id
|
|
283
|
-
containerId
|
|
284
|
-
shipmentId
|
|
285
|
-
bookingReference
|
|
286
|
-
openedAt
|
|
287
|
-
closedAt
|
|
288
|
-
status
|
|
289
|
-
version
|
|
290
|
-
}
|
|
291
|
-
`;
|
|
292
|
-
export const ContainerEventFieldsFragmentDoc = gql`
|
|
293
|
-
fragment ContainerEventFields on MtwContainerEvent {
|
|
294
|
-
id
|
|
295
|
-
eventType
|
|
296
|
-
kind
|
|
297
|
-
occurredAt
|
|
298
|
-
receivedAt
|
|
299
|
-
source
|
|
300
|
-
sourceReference
|
|
301
|
-
evidenceNote
|
|
302
|
-
location
|
|
303
|
-
}
|
|
304
|
-
`;
|
|
305
|
-
export const ContainerRegistryDocument = gql`
|
|
306
|
-
query ContainerRegistry($pagination: MtwContainerPagination) {
|
|
307
|
-
mtwContainerPage(pagination: $pagination) {
|
|
308
|
-
items {
|
|
309
|
-
...ContainerEquipmentFields
|
|
310
|
-
}
|
|
311
|
-
hasMore
|
|
312
|
-
total
|
|
313
|
-
limit
|
|
314
|
-
offset
|
|
315
|
-
nextOffset
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
${ContainerEquipmentFieldsFragmentDoc}`;
|
|
319
|
-
export const ContainerCyclesDocument = gql`
|
|
320
|
-
query ContainerCycles($containerId: ID!, $pagination: MtwContainerPagination) {
|
|
321
|
-
mtwContainerCyclePage(containerId: $containerId, pagination: $pagination) {
|
|
322
|
-
items {
|
|
323
|
-
...ContainerCycleFields
|
|
324
|
-
}
|
|
325
|
-
hasMore
|
|
326
|
-
total
|
|
327
|
-
limit
|
|
328
|
-
offset
|
|
329
|
-
nextOffset
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
${ContainerCycleFieldsFragmentDoc}`;
|
|
333
|
-
export const ContainerEventsDocument = gql`
|
|
334
|
-
query ContainerEvents($cycleId: ID!, $pagination: MtwContainerPagination) {
|
|
335
|
-
mtwContainerEventPage(cycleId: $cycleId, pagination: $pagination) {
|
|
336
|
-
items {
|
|
337
|
-
...ContainerEventFields
|
|
338
|
-
}
|
|
339
|
-
hasMore
|
|
340
|
-
total
|
|
341
|
-
limit
|
|
342
|
-
offset
|
|
343
|
-
nextOffset
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
${ContainerEventFieldsFragmentDoc}`;
|
|
347
|
-
export const RegisterContainerDocument = gql`
|
|
348
|
-
mutation RegisterContainer($input: RegisterMtwContainerInput!) {
|
|
349
|
-
registerMtwContainer(input: $input) {
|
|
350
|
-
...ContainerEquipmentFields
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
${ContainerEquipmentFieldsFragmentDoc}`;
|
|
354
|
-
export const OpenContainerCycleDocument = gql`
|
|
355
|
-
mutation OpenContainerCycle($input: OpenMtwContainerCycleInput!) {
|
|
356
|
-
openMtwContainerCycle(input: $input) {
|
|
357
|
-
...ContainerCycleFields
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
${ContainerCycleFieldsFragmentDoc}`;
|
|
361
|
-
export const RecordContainerEventDocument = gql`
|
|
362
|
-
mutation RecordContainerEvent($input: RecordMtwContainerEventInput!) {
|
|
363
|
-
recordMtwContainerEvent(input: $input) {
|
|
364
|
-
id
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
`;
|
|
368
|
-
export const CloseContainerCycleDocument = gql`
|
|
369
|
-
mutation CloseContainerCycle($input: CloseMtwContainerCycleInput!) {
|
|
370
|
-
closeMtwContainerCycle(input: $input) {
|
|
371
|
-
id
|
|
372
|
-
status
|
|
373
|
-
version
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
`;
|
|
270
|
+
export type CloseContainerCycleMutation = { closeMtwContainerCycle: { id: string, status: Types.MtwContainerCycleStatus, version: number } };
|
|
271
|
+
|
|
272
|
+
export const ContainerEquipmentFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ContainerEquipmentFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"containerNumber"}},{"kind":"Field","name":{"kind":"Name","value":"equipmentType"}},{"kind":"Field","name":{"kind":"Name","value":"ownerName"}},{"kind":"Field","name":{"kind":"Name","value":"source"}}]}}]} as unknown as DocumentNode<ContainerEquipmentFieldsFragment, unknown>;
|
|
273
|
+
export const ContainerCycleFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ContainerCycleFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainerCycle"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"containerId"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentId"}},{"kind":"Field","name":{"kind":"Name","value":"bookingReference"}},{"kind":"Field","name":{"kind":"Name","value":"openedAt"}},{"kind":"Field","name":{"kind":"Name","value":"closedAt"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode<ContainerCycleFieldsFragment, unknown>;
|
|
274
|
+
export const ContainerEventFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ContainerEventFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainerEvent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"eventType"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"occurredAt"}},{"kind":"Field","name":{"kind":"Name","value":"receivedAt"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"evidenceNote"}},{"kind":"Field","name":{"kind":"Name","value":"location"}}]}}]} as unknown as DocumentNode<ContainerEventFieldsFragment, unknown>;
|
|
275
|
+
export const ContainerRegistryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ContainerRegistry"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainerPagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"mtwContainerPage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ContainerEquipmentFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"hasMore"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"limit"}},{"kind":"Field","name":{"kind":"Name","value":"offset"}},{"kind":"Field","name":{"kind":"Name","value":"nextOffset"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ContainerEquipmentFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"containerNumber"}},{"kind":"Field","name":{"kind":"Name","value":"equipmentType"}},{"kind":"Field","name":{"kind":"Name","value":"ownerName"}},{"kind":"Field","name":{"kind":"Name","value":"source"}}]}}]} as unknown as DocumentNode<ContainerRegistryQuery, ContainerRegistryQueryVariables>;
|
|
276
|
+
export const ContainerCyclesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ContainerCycles"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"containerId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainerPagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"mtwContainerCyclePage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"containerId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"containerId"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ContainerCycleFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"hasMore"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"limit"}},{"kind":"Field","name":{"kind":"Name","value":"offset"}},{"kind":"Field","name":{"kind":"Name","value":"nextOffset"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ContainerCycleFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainerCycle"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"containerId"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentId"}},{"kind":"Field","name":{"kind":"Name","value":"bookingReference"}},{"kind":"Field","name":{"kind":"Name","value":"openedAt"}},{"kind":"Field","name":{"kind":"Name","value":"closedAt"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode<ContainerCyclesQuery, ContainerCyclesQueryVariables>;
|
|
277
|
+
export const ContainerEventsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ContainerEvents"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cycleId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainerPagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"mtwContainerEventPage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"cycleId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cycleId"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ContainerEventFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"hasMore"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"limit"}},{"kind":"Field","name":{"kind":"Name","value":"offset"}},{"kind":"Field","name":{"kind":"Name","value":"nextOffset"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ContainerEventFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainerEvent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"eventType"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"occurredAt"}},{"kind":"Field","name":{"kind":"Name","value":"receivedAt"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"evidenceNote"}},{"kind":"Field","name":{"kind":"Name","value":"location"}}]}}]} as unknown as DocumentNode<ContainerEventsQuery, ContainerEventsQueryVariables>;
|
|
278
|
+
export const RegisterContainerDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RegisterContainer"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"RegisterMtwContainerInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"registerMtwContainer"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ContainerEquipmentFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ContainerEquipmentFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"containerNumber"}},{"kind":"Field","name":{"kind":"Name","value":"equipmentType"}},{"kind":"Field","name":{"kind":"Name","value":"ownerName"}},{"kind":"Field","name":{"kind":"Name","value":"source"}}]}}]} as unknown as DocumentNode<RegisterContainerMutation, RegisterContainerMutationVariables>;
|
|
279
|
+
export const OpenContainerCycleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"OpenContainerCycle"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"OpenMtwContainerCycleInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"openMtwContainerCycle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ContainerCycleFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ContainerCycleFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainerCycle"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"containerId"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentId"}},{"kind":"Field","name":{"kind":"Name","value":"bookingReference"}},{"kind":"Field","name":{"kind":"Name","value":"openedAt"}},{"kind":"Field","name":{"kind":"Name","value":"closedAt"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode<OpenContainerCycleMutation, OpenContainerCycleMutationVariables>;
|
|
280
|
+
export const RecordContainerEventDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RecordContainerEvent"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"RecordMtwContainerEventInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"recordMtwContainerEvent"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<RecordContainerEventMutation, RecordContainerEventMutationVariables>;
|
|
281
|
+
export const CloseContainerCycleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CloseContainerCycle"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CloseMtwContainerCycleInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"closeMtwContainerCycle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]}}]} as unknown as DocumentNode<CloseContainerCycleMutation, CloseContainerCycleMutationVariables>;
|