@burdenoff/microfe-movethewheels 2026.1016.3 → 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-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 +307 -476
- 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/useInvoiceComparisonRecovery.js +118 -0
- package/dist/movethewheels/components/ContainerEvidencePicker.d.ts +2 -1
- 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/invoiceComparison.d.ts +32 -0
- package/dist/pages/DriverDetailsPage.js +306 -282
- package/dist/pages/FreightEstimatePage.js +1 -0
- 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 -812
- 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/invoiceComparison.js +272 -0
- package/package.json +29 -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 +42 -848
- 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-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/useInvoiceComparisonRecovery.ts +227 -0
- package/src/movethewheels/pages/DriverDetailsPage.tsx +35 -9
- package/src/movethewheels/pages/FreightEstimatePage.tsx +1 -0
- package/src/movethewheels/pages/FreightInvoicePage.tsx +477 -0
- package/src/movethewheels/utils/driverLicenseExpiry.ts +25 -0
- package/src/movethewheels/utils/invoiceComparison.ts +520 -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,24 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
|
|
2
|
+
/** Internal type. DO NOT USE DIRECTLY. */
|
|
3
|
+
type Exact<T extends {
|
|
4
4
|
[key: string]: unknown;
|
|
5
5
|
}> = {
|
|
6
6
|
[K in keyof T]: T[K];
|
|
7
7
|
};
|
|
8
|
-
|
|
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
|
-
};
|
|
8
|
+
/** Internal type. DO NOT USE DIRECTLY. */
|
|
19
9
|
export type Incremental<T> = T | {
|
|
20
10
|
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
21
11
|
};
|
|
12
|
+
import type * as Types from './consolidation-operations';
|
|
13
|
+
export type Maybe<T> = T | null;
|
|
14
|
+
export type InputMaybe<T> = Maybe<T>;
|
|
22
15
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
23
16
|
export type Scalars = {
|
|
24
17
|
ID: {
|
|
@@ -451,106 +444,92 @@ export type ShipmentFilterInput = {
|
|
|
451
444
|
export type ShipmentStatus = 'DELIVERED' | 'FAILED' | 'IN_TRANSIT' | 'PICKED_UP' | 'PLANNED' | 'RETURNED';
|
|
452
445
|
export type TransportMode = 'AIR' | 'OCEAN' | 'RAIL' | 'ROAD';
|
|
453
446
|
export type ConsolidationShipmentsQueryVariables = Exact<{
|
|
454
|
-
pagination?:
|
|
447
|
+
pagination?: Types.PaginationInput | null | undefined;
|
|
455
448
|
}>;
|
|
456
449
|
export type ConsolidationShipmentsQuery = {
|
|
457
|
-
__typename?: 'Query';
|
|
458
450
|
shipmentsCount: number;
|
|
459
451
|
shipments: Array<{
|
|
460
|
-
__typename?: 'MtwShipment';
|
|
461
452
|
id: string;
|
|
462
453
|
shipmentNumber: string;
|
|
463
454
|
updatedAt: string;
|
|
464
|
-
status: ShipmentStatus;
|
|
455
|
+
status: Types.ShipmentStatus;
|
|
465
456
|
}>;
|
|
466
457
|
};
|
|
467
458
|
export type ConsolidationShipmentQueryVariables = Exact<{
|
|
468
|
-
id:
|
|
459
|
+
id: string;
|
|
469
460
|
}>;
|
|
470
461
|
export type ConsolidationShipmentQuery = {
|
|
471
|
-
|
|
472
|
-
shipment?: {
|
|
473
|
-
__typename?: 'MtwShipment';
|
|
462
|
+
shipment: {
|
|
474
463
|
id: string;
|
|
475
464
|
shipmentNumber: string;
|
|
476
465
|
updatedAt: string;
|
|
477
|
-
status: ShipmentStatus;
|
|
466
|
+
status: Types.ShipmentStatus;
|
|
478
467
|
} | null;
|
|
479
468
|
};
|
|
480
469
|
export type ConsolidationContainersQueryVariables = Exact<{
|
|
481
|
-
pagination?:
|
|
470
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
482
471
|
}>;
|
|
483
472
|
export type ConsolidationContainersQuery = {
|
|
484
|
-
__typename?: 'Query';
|
|
485
473
|
mtwContainerPage: {
|
|
486
|
-
__typename?: 'MtwContainerPage';
|
|
487
474
|
total: number;
|
|
488
475
|
limit: number;
|
|
489
476
|
offset: number;
|
|
490
477
|
hasMore: boolean;
|
|
491
|
-
nextOffset
|
|
478
|
+
nextOffset: number | null;
|
|
492
479
|
items: Array<{
|
|
493
|
-
__typename?: 'MtwContainer';
|
|
494
480
|
id: string;
|
|
495
481
|
containerNumber: string;
|
|
496
|
-
equipmentType: MtwEquipmentType;
|
|
482
|
+
equipmentType: Types.MtwEquipmentType;
|
|
497
483
|
}>;
|
|
498
484
|
};
|
|
499
485
|
};
|
|
500
486
|
export type ConsolidationCyclesQueryVariables = Exact<{
|
|
501
|
-
containerId:
|
|
502
|
-
pagination?:
|
|
487
|
+
containerId: string;
|
|
488
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
503
489
|
}>;
|
|
504
490
|
export type ConsolidationCyclesQuery = {
|
|
505
|
-
__typename?: 'Query';
|
|
506
491
|
mtwContainerCyclePage: {
|
|
507
|
-
__typename?: 'MtwContainerCyclePage';
|
|
508
492
|
total: number;
|
|
509
493
|
limit: number;
|
|
510
494
|
offset: number;
|
|
511
495
|
hasMore: boolean;
|
|
512
|
-
nextOffset
|
|
496
|
+
nextOffset: number | null;
|
|
513
497
|
items: Array<{
|
|
514
|
-
__typename?: 'MtwContainerCycle';
|
|
515
498
|
id: string;
|
|
516
499
|
containerId: string;
|
|
517
|
-
shipmentId
|
|
518
|
-
bookingReference
|
|
500
|
+
shipmentId: string | null;
|
|
501
|
+
bookingReference: string | null;
|
|
519
502
|
openedAt: string;
|
|
520
|
-
closedAt
|
|
521
|
-
status: MtwContainerCycleStatus;
|
|
503
|
+
closedAt: string | null;
|
|
504
|
+
status: Types.MtwContainerCycleStatus;
|
|
522
505
|
version: number;
|
|
523
506
|
}>;
|
|
524
507
|
};
|
|
525
508
|
};
|
|
526
509
|
export type ConsolidationPlansQueryVariables = Exact<{
|
|
527
|
-
shipmentId:
|
|
528
|
-
planReference?:
|
|
529
|
-
pagination?:
|
|
510
|
+
shipmentId: string;
|
|
511
|
+
planReference?: string | null | undefined;
|
|
512
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
530
513
|
}>;
|
|
531
514
|
export type ConsolidationPlansQuery = {
|
|
532
|
-
__typename?: 'Query';
|
|
533
515
|
mtwConsolidationPlanPage: {
|
|
534
|
-
__typename?: 'MtwConsolidationPlanPage';
|
|
535
516
|
total: number;
|
|
536
517
|
limit: number;
|
|
537
518
|
offset: number;
|
|
538
519
|
hasMore: boolean;
|
|
539
|
-
nextOffset
|
|
520
|
+
nextOffset: number | null;
|
|
540
521
|
items: Array<{
|
|
541
|
-
__typename?: 'MtwConsolidationPlan';
|
|
542
522
|
id: string;
|
|
543
523
|
shipmentId: string;
|
|
544
524
|
cycleId: string;
|
|
545
525
|
planReference: string;
|
|
546
526
|
version: number;
|
|
547
|
-
previousVersionId
|
|
527
|
+
previousVersionId: string | null;
|
|
548
528
|
status: string;
|
|
549
529
|
recordedAt: string;
|
|
550
530
|
createdBy: string;
|
|
551
531
|
actorProvenance: string;
|
|
552
532
|
facts: {
|
|
553
|
-
__typename?: 'MtwConsolidationFacts';
|
|
554
533
|
hubName: string;
|
|
555
534
|
effectiveAt: string;
|
|
556
535
|
};
|
|
@@ -558,136 +537,121 @@ export type ConsolidationPlansQuery = {
|
|
|
558
537
|
};
|
|
559
538
|
};
|
|
560
539
|
export type ConsolidationPlanQueryVariables = Exact<{
|
|
561
|
-
shipmentId:
|
|
562
|
-
id:
|
|
540
|
+
shipmentId: string;
|
|
541
|
+
id: string;
|
|
563
542
|
}>;
|
|
564
543
|
export type ConsolidationPlanQuery = {
|
|
565
|
-
__typename?: 'Query';
|
|
566
544
|
mtwConsolidationPlan: {
|
|
567
|
-
__typename?: 'MtwConsolidationPlan';
|
|
568
545
|
id: string;
|
|
569
546
|
shipmentId: string;
|
|
570
547
|
cycleId: string;
|
|
571
548
|
planReference: string;
|
|
572
549
|
version: number;
|
|
573
|
-
previousVersionId
|
|
550
|
+
previousVersionId: string | null;
|
|
574
551
|
status: string;
|
|
575
552
|
recordedAt: string;
|
|
576
553
|
createdBy: string;
|
|
577
554
|
actorProvenance: string;
|
|
578
|
-
onBehalfOf
|
|
555
|
+
onBehalfOf: string | null;
|
|
579
556
|
sourceCapture: {
|
|
580
|
-
__typename?: 'MtwConsolidationCapture';
|
|
581
557
|
shipmentNumber: string;
|
|
582
558
|
shipmentUpdatedAt: string;
|
|
583
559
|
containerId: string;
|
|
584
560
|
cycleVersion: number;
|
|
585
|
-
bookingReference
|
|
561
|
+
bookingReference: string | null;
|
|
586
562
|
};
|
|
587
563
|
evidence: Array<{
|
|
588
|
-
__typename?: 'MtwContainerEvidence';
|
|
589
564
|
fileId: string;
|
|
590
565
|
versionId: string;
|
|
591
566
|
sha256Hash: string;
|
|
592
567
|
checkedAt: string;
|
|
593
568
|
}>;
|
|
594
569
|
facts: {
|
|
595
|
-
__typename?: 'MtwConsolidationFacts';
|
|
596
570
|
hubReference: string;
|
|
597
571
|
hubName: string;
|
|
598
|
-
mode
|
|
599
|
-
carrierReference
|
|
600
|
-
bookingReference
|
|
601
|
-
cutoffAt
|
|
602
|
-
timezone
|
|
603
|
-
jurisdictionReference
|
|
572
|
+
mode: string | null;
|
|
573
|
+
carrierReference: string | null;
|
|
574
|
+
bookingReference: string | null;
|
|
575
|
+
cutoffAt: string | null;
|
|
576
|
+
timezone: string | null;
|
|
577
|
+
jurisdictionReference: string | null;
|
|
604
578
|
effectiveAt: string;
|
|
605
579
|
hubSource: {
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
revision?: string | null;
|
|
580
|
+
reference: string | null;
|
|
581
|
+
revision: string | null;
|
|
609
582
|
};
|
|
610
583
|
contextSource: {
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
revision?: string | null;
|
|
584
|
+
reference: string | null;
|
|
585
|
+
revision: string | null;
|
|
614
586
|
};
|
|
615
587
|
lots: Array<{
|
|
616
|
-
__typename?: 'MtwConsolidationLot';
|
|
617
588
|
id: string;
|
|
618
589
|
supplierReference: string;
|
|
619
590
|
lotReference: string;
|
|
620
591
|
consignmentReference: string;
|
|
621
592
|
sourceRevision: string;
|
|
622
|
-
quantityBasis: MtwConsolidationQuantityBasis;
|
|
623
|
-
unitReference
|
|
624
|
-
unitRevision
|
|
625
|
-
balanceRevision
|
|
626
|
-
reportedAvailableQuantity
|
|
627
|
-
plannedQuantity
|
|
628
|
-
grossKg
|
|
629
|
-
cubeM3
|
|
630
|
-
originReference
|
|
631
|
-
destinationReference
|
|
632
|
-
importerReference
|
|
633
|
-
transportReference
|
|
634
|
-
documentReference
|
|
593
|
+
quantityBasis: Types.MtwConsolidationQuantityBasis;
|
|
594
|
+
unitReference: string | null;
|
|
595
|
+
unitRevision: string | null;
|
|
596
|
+
balanceRevision: string | null;
|
|
597
|
+
reportedAvailableQuantity: string | null;
|
|
598
|
+
plannedQuantity: string | null;
|
|
599
|
+
grossKg: string | null;
|
|
600
|
+
cubeM3: string | null;
|
|
601
|
+
originReference: string | null;
|
|
602
|
+
destinationReference: string | null;
|
|
603
|
+
importerReference: string | null;
|
|
604
|
+
transportReference: string | null;
|
|
605
|
+
documentReference: string | null;
|
|
635
606
|
source: {
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
revision?: string | null;
|
|
607
|
+
reference: string | null;
|
|
608
|
+
revision: string | null;
|
|
639
609
|
};
|
|
640
610
|
}>;
|
|
641
611
|
};
|
|
642
612
|
};
|
|
643
613
|
};
|
|
644
614
|
export type ConsolidationObservationsQueryVariables = Exact<{
|
|
645
|
-
planId:
|
|
646
|
-
pagination?:
|
|
615
|
+
planId: string;
|
|
616
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
647
617
|
}>;
|
|
648
618
|
export type ConsolidationObservationsQuery = {
|
|
649
|
-
__typename?: 'Query';
|
|
650
619
|
mtwConsolidationObservationPage: {
|
|
651
|
-
__typename?: 'MtwConsolidationObservationPage';
|
|
652
620
|
total: number;
|
|
653
621
|
limit: number;
|
|
654
622
|
offset: number;
|
|
655
623
|
hasMore: boolean;
|
|
656
|
-
nextOffset
|
|
624
|
+
nextOffset: number | null;
|
|
657
625
|
items: Array<{
|
|
658
|
-
__typename?: 'MtwConsolidationObservation';
|
|
659
626
|
id: string;
|
|
660
627
|
planId: string;
|
|
661
628
|
lotId: string;
|
|
662
|
-
kind: MtwConsolidationReportKind;
|
|
663
|
-
issueReference
|
|
629
|
+
kind: Types.MtwConsolidationReportKind;
|
|
630
|
+
issueReference: string | null;
|
|
664
631
|
version: number;
|
|
665
|
-
previousVersionId
|
|
632
|
+
previousVersionId: string | null;
|
|
666
633
|
receiptSequence: number;
|
|
667
|
-
reportedQuantity
|
|
668
|
-
reportedObservedAt
|
|
634
|
+
reportedQuantity: string | null;
|
|
635
|
+
reportedObservedAt: string | null;
|
|
669
636
|
reason: string;
|
|
670
|
-
unitReference
|
|
671
|
-
unitRevision
|
|
637
|
+
unitReference: string | null;
|
|
638
|
+
unitRevision: string | null;
|
|
672
639
|
status: string;
|
|
673
640
|
recordedAt: string;
|
|
674
641
|
createdBy: string;
|
|
675
642
|
actorProvenance: string;
|
|
676
|
-
onBehalfOf
|
|
643
|
+
onBehalfOf: string | null;
|
|
677
644
|
source: {
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
revision?: string | null;
|
|
645
|
+
reference: string | null;
|
|
646
|
+
revision: string | null;
|
|
681
647
|
};
|
|
682
648
|
evidence: Array<{
|
|
683
|
-
__typename?: 'MtwContainerEvidence';
|
|
684
649
|
fileId: string;
|
|
685
650
|
versionId: string;
|
|
686
651
|
sha256Hash: string;
|
|
687
652
|
checkedAt: string;
|
|
688
653
|
}>;
|
|
689
654
|
evidenceDeclarations: Array<{
|
|
690
|
-
__typename?: 'MtwConsolidationEvidenceDeclaration';
|
|
691
655
|
fileId: string;
|
|
692
656
|
versionId: string;
|
|
693
657
|
verification: string;
|
|
@@ -696,45 +660,40 @@ export type ConsolidationObservationsQuery = {
|
|
|
696
660
|
};
|
|
697
661
|
};
|
|
698
662
|
export type ConsolidationObservationQueryVariables = Exact<{
|
|
699
|
-
planId:
|
|
700
|
-
id:
|
|
663
|
+
planId: string;
|
|
664
|
+
id: string;
|
|
701
665
|
}>;
|
|
702
666
|
export type ConsolidationObservationQuery = {
|
|
703
|
-
__typename?: 'Query';
|
|
704
667
|
mtwConsolidationObservation: {
|
|
705
|
-
__typename?: 'MtwConsolidationObservation';
|
|
706
668
|
id: string;
|
|
707
669
|
planId: string;
|
|
708
670
|
lotId: string;
|
|
709
|
-
kind: MtwConsolidationReportKind;
|
|
710
|
-
issueReference
|
|
671
|
+
kind: Types.MtwConsolidationReportKind;
|
|
672
|
+
issueReference: string | null;
|
|
711
673
|
version: number;
|
|
712
|
-
previousVersionId
|
|
674
|
+
previousVersionId: string | null;
|
|
713
675
|
receiptSequence: number;
|
|
714
|
-
reportedQuantity
|
|
715
|
-
reportedObservedAt
|
|
676
|
+
reportedQuantity: string | null;
|
|
677
|
+
reportedObservedAt: string | null;
|
|
716
678
|
reason: string;
|
|
717
|
-
unitReference
|
|
718
|
-
unitRevision
|
|
679
|
+
unitReference: string | null;
|
|
680
|
+
unitRevision: string | null;
|
|
719
681
|
status: string;
|
|
720
682
|
recordedAt: string;
|
|
721
683
|
createdBy: string;
|
|
722
684
|
actorProvenance: string;
|
|
723
|
-
onBehalfOf
|
|
685
|
+
onBehalfOf: string | null;
|
|
724
686
|
source: {
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
revision?: string | null;
|
|
687
|
+
reference: string | null;
|
|
688
|
+
revision: string | null;
|
|
728
689
|
};
|
|
729
690
|
evidence: Array<{
|
|
730
|
-
__typename?: 'MtwContainerEvidence';
|
|
731
691
|
fileId: string;
|
|
732
692
|
versionId: string;
|
|
733
693
|
sha256Hash: string;
|
|
734
694
|
checkedAt: string;
|
|
735
695
|
}>;
|
|
736
696
|
evidenceDeclarations: Array<{
|
|
737
|
-
__typename?: 'MtwConsolidationEvidenceDeclaration';
|
|
738
697
|
fileId: string;
|
|
739
698
|
versionId: string;
|
|
740
699
|
verification: string;
|
|
@@ -742,13 +701,11 @@ export type ConsolidationObservationQuery = {
|
|
|
742
701
|
};
|
|
743
702
|
};
|
|
744
703
|
export type ConsolidationPreviewQueryVariables = Exact<{
|
|
745
|
-
planId:
|
|
746
|
-
expectedObservationSequence:
|
|
704
|
+
planId: string;
|
|
705
|
+
expectedObservationSequence: number;
|
|
747
706
|
}>;
|
|
748
707
|
export type ConsolidationPreviewQuery = {
|
|
749
|
-
__typename?: 'Query';
|
|
750
708
|
previewMtwConsolidationManifest: {
|
|
751
|
-
__typename?: 'MtwConsolidationSnapshot';
|
|
752
709
|
status: string;
|
|
753
710
|
planId: string;
|
|
754
711
|
planVersion: number;
|
|
@@ -757,49 +714,44 @@ export type ConsolidationPreviewQuery = {
|
|
|
757
714
|
recentIssueIds: Array<string>;
|
|
758
715
|
reviewReasons: Array<string>;
|
|
759
716
|
rows: Array<{
|
|
760
|
-
__typename?: 'MtwConsolidationReconciliationRow';
|
|
761
717
|
lotId: string;
|
|
762
|
-
plannedQuantity
|
|
763
|
-
reportedAvailableQuantity
|
|
764
|
-
receivedQuantity
|
|
765
|
-
stuffedQuantity
|
|
766
|
-
availabilityDeficit
|
|
767
|
-
receiptDeficit
|
|
768
|
-
receiptExcess
|
|
769
|
-
stuffingExcess
|
|
770
|
-
receivedMinusStuffed
|
|
718
|
+
plannedQuantity: string | null;
|
|
719
|
+
reportedAvailableQuantity: string | null;
|
|
720
|
+
receivedQuantity: string | null;
|
|
721
|
+
stuffedQuantity: string | null;
|
|
722
|
+
availabilityDeficit: string | null;
|
|
723
|
+
receiptDeficit: string | null;
|
|
724
|
+
receiptExcess: string | null;
|
|
725
|
+
stuffingExcess: string | null;
|
|
726
|
+
receivedMinusStuffed: string | null;
|
|
771
727
|
unknownReasons: Array<string>;
|
|
772
|
-
receiptObservationId
|
|
773
|
-
stuffingObservationId
|
|
728
|
+
receiptObservationId: string | null;
|
|
729
|
+
stuffingObservationId: string | null;
|
|
774
730
|
}>;
|
|
775
731
|
};
|
|
776
732
|
};
|
|
777
733
|
export type ConsolidationManifestsQueryVariables = Exact<{
|
|
778
|
-
planId:
|
|
779
|
-
pagination?:
|
|
734
|
+
planId: string;
|
|
735
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
780
736
|
}>;
|
|
781
737
|
export type ConsolidationManifestsQuery = {
|
|
782
|
-
__typename?: 'Query';
|
|
783
738
|
mtwConsolidationManifestPage: {
|
|
784
|
-
__typename?: 'MtwConsolidationManifestPage';
|
|
785
739
|
total: number;
|
|
786
740
|
limit: number;
|
|
787
741
|
offset: number;
|
|
788
742
|
hasMore: boolean;
|
|
789
|
-
nextOffset
|
|
743
|
+
nextOffset: number | null;
|
|
790
744
|
items: Array<{
|
|
791
|
-
__typename?: 'MtwConsolidationManifest';
|
|
792
745
|
id: string;
|
|
793
746
|
planId: string;
|
|
794
747
|
version: number;
|
|
795
|
-
previousVersionId
|
|
748
|
+
previousVersionId: string | null;
|
|
796
749
|
observationSequence: number;
|
|
797
750
|
recordedAt: string;
|
|
798
751
|
createdBy: string;
|
|
799
752
|
actorProvenance: string;
|
|
800
|
-
onBehalfOf
|
|
753
|
+
onBehalfOf: string | null;
|
|
801
754
|
snapshot: {
|
|
802
|
-
__typename?: 'MtwConsolidationSnapshot';
|
|
803
755
|
status: string;
|
|
804
756
|
planId: string;
|
|
805
757
|
planVersion: number;
|
|
@@ -808,44 +760,40 @@ export type ConsolidationManifestsQuery = {
|
|
|
808
760
|
recentIssueIds: Array<string>;
|
|
809
761
|
reviewReasons: Array<string>;
|
|
810
762
|
rows: Array<{
|
|
811
|
-
__typename?: 'MtwConsolidationReconciliationRow';
|
|
812
763
|
lotId: string;
|
|
813
|
-
plannedQuantity
|
|
814
|
-
reportedAvailableQuantity
|
|
815
|
-
receivedQuantity
|
|
816
|
-
stuffedQuantity
|
|
817
|
-
availabilityDeficit
|
|
818
|
-
receiptDeficit
|
|
819
|
-
receiptExcess
|
|
820
|
-
stuffingExcess
|
|
821
|
-
receivedMinusStuffed
|
|
764
|
+
plannedQuantity: string | null;
|
|
765
|
+
reportedAvailableQuantity: string | null;
|
|
766
|
+
receivedQuantity: string | null;
|
|
767
|
+
stuffedQuantity: string | null;
|
|
768
|
+
availabilityDeficit: string | null;
|
|
769
|
+
receiptDeficit: string | null;
|
|
770
|
+
receiptExcess: string | null;
|
|
771
|
+
stuffingExcess: string | null;
|
|
772
|
+
receivedMinusStuffed: string | null;
|
|
822
773
|
unknownReasons: Array<string>;
|
|
823
|
-
receiptObservationId
|
|
824
|
-
stuffingObservationId
|
|
774
|
+
receiptObservationId: string | null;
|
|
775
|
+
stuffingObservationId: string | null;
|
|
825
776
|
}>;
|
|
826
777
|
};
|
|
827
778
|
}>;
|
|
828
779
|
};
|
|
829
780
|
};
|
|
830
781
|
export type ConsolidationManifestQueryVariables = Exact<{
|
|
831
|
-
planId:
|
|
832
|
-
id:
|
|
782
|
+
planId: string;
|
|
783
|
+
id: string;
|
|
833
784
|
}>;
|
|
834
785
|
export type ConsolidationManifestQuery = {
|
|
835
|
-
__typename?: 'Query';
|
|
836
786
|
mtwConsolidationManifest: {
|
|
837
|
-
__typename?: 'MtwConsolidationManifest';
|
|
838
787
|
id: string;
|
|
839
788
|
planId: string;
|
|
840
789
|
version: number;
|
|
841
|
-
previousVersionId
|
|
790
|
+
previousVersionId: string | null;
|
|
842
791
|
observationSequence: number;
|
|
843
792
|
recordedAt: string;
|
|
844
793
|
createdBy: string;
|
|
845
794
|
actorProvenance: string;
|
|
846
|
-
onBehalfOf
|
|
795
|
+
onBehalfOf: string | null;
|
|
847
796
|
snapshot: {
|
|
848
|
-
__typename?: 'MtwConsolidationSnapshot';
|
|
849
797
|
status: string;
|
|
850
798
|
planId: string;
|
|
851
799
|
planVersion: number;
|
|
@@ -854,146 +802,131 @@ export type ConsolidationManifestQuery = {
|
|
|
854
802
|
recentIssueIds: Array<string>;
|
|
855
803
|
reviewReasons: Array<string>;
|
|
856
804
|
rows: Array<{
|
|
857
|
-
__typename?: 'MtwConsolidationReconciliationRow';
|
|
858
805
|
lotId: string;
|
|
859
|
-
plannedQuantity
|
|
860
|
-
reportedAvailableQuantity
|
|
861
|
-
receivedQuantity
|
|
862
|
-
stuffedQuantity
|
|
863
|
-
availabilityDeficit
|
|
864
|
-
receiptDeficit
|
|
865
|
-
receiptExcess
|
|
866
|
-
stuffingExcess
|
|
867
|
-
receivedMinusStuffed
|
|
806
|
+
plannedQuantity: string | null;
|
|
807
|
+
reportedAvailableQuantity: string | null;
|
|
808
|
+
receivedQuantity: string | null;
|
|
809
|
+
stuffedQuantity: string | null;
|
|
810
|
+
availabilityDeficit: string | null;
|
|
811
|
+
receiptDeficit: string | null;
|
|
812
|
+
receiptExcess: string | null;
|
|
813
|
+
stuffingExcess: string | null;
|
|
814
|
+
receivedMinusStuffed: string | null;
|
|
868
815
|
unknownReasons: Array<string>;
|
|
869
|
-
receiptObservationId
|
|
870
|
-
stuffingObservationId
|
|
816
|
+
receiptObservationId: string | null;
|
|
817
|
+
stuffingObservationId: string | null;
|
|
871
818
|
}>;
|
|
872
819
|
};
|
|
873
820
|
};
|
|
874
821
|
};
|
|
875
822
|
export type SaveConsolidationPlanMutationVariables = Exact<{
|
|
876
|
-
input: SaveMtwConsolidationPlanInput;
|
|
823
|
+
input: Types.SaveMtwConsolidationPlanInput;
|
|
877
824
|
}>;
|
|
878
825
|
export type SaveConsolidationPlanMutation = {
|
|
879
|
-
__typename?: 'Mutation';
|
|
880
826
|
saveMtwConsolidationPlan: {
|
|
881
|
-
__typename?: 'MtwConsolidationPlan';
|
|
882
827
|
id: string;
|
|
883
828
|
shipmentId: string;
|
|
884
829
|
cycleId: string;
|
|
885
830
|
planReference: string;
|
|
886
831
|
version: number;
|
|
887
|
-
previousVersionId
|
|
832
|
+
previousVersionId: string | null;
|
|
888
833
|
status: string;
|
|
889
834
|
recordedAt: string;
|
|
890
835
|
createdBy: string;
|
|
891
836
|
actorProvenance: string;
|
|
892
|
-
onBehalfOf
|
|
837
|
+
onBehalfOf: string | null;
|
|
893
838
|
sourceCapture: {
|
|
894
|
-
__typename?: 'MtwConsolidationCapture';
|
|
895
839
|
shipmentNumber: string;
|
|
896
840
|
shipmentUpdatedAt: string;
|
|
897
841
|
containerId: string;
|
|
898
842
|
cycleVersion: number;
|
|
899
|
-
bookingReference
|
|
843
|
+
bookingReference: string | null;
|
|
900
844
|
};
|
|
901
845
|
evidence: Array<{
|
|
902
|
-
__typename?: 'MtwContainerEvidence';
|
|
903
846
|
fileId: string;
|
|
904
847
|
versionId: string;
|
|
905
848
|
sha256Hash: string;
|
|
906
849
|
checkedAt: string;
|
|
907
850
|
}>;
|
|
908
851
|
facts: {
|
|
909
|
-
__typename?: 'MtwConsolidationFacts';
|
|
910
852
|
hubReference: string;
|
|
911
853
|
hubName: string;
|
|
912
|
-
mode
|
|
913
|
-
carrierReference
|
|
914
|
-
bookingReference
|
|
915
|
-
cutoffAt
|
|
916
|
-
timezone
|
|
917
|
-
jurisdictionReference
|
|
854
|
+
mode: string | null;
|
|
855
|
+
carrierReference: string | null;
|
|
856
|
+
bookingReference: string | null;
|
|
857
|
+
cutoffAt: string | null;
|
|
858
|
+
timezone: string | null;
|
|
859
|
+
jurisdictionReference: string | null;
|
|
918
860
|
effectiveAt: string;
|
|
919
861
|
hubSource: {
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
revision?: string | null;
|
|
862
|
+
reference: string | null;
|
|
863
|
+
revision: string | null;
|
|
923
864
|
};
|
|
924
865
|
contextSource: {
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
revision?: string | null;
|
|
866
|
+
reference: string | null;
|
|
867
|
+
revision: string | null;
|
|
928
868
|
};
|
|
929
869
|
lots: Array<{
|
|
930
|
-
__typename?: 'MtwConsolidationLot';
|
|
931
870
|
id: string;
|
|
932
871
|
supplierReference: string;
|
|
933
872
|
lotReference: string;
|
|
934
873
|
consignmentReference: string;
|
|
935
874
|
sourceRevision: string;
|
|
936
|
-
quantityBasis: MtwConsolidationQuantityBasis;
|
|
937
|
-
unitReference
|
|
938
|
-
unitRevision
|
|
939
|
-
balanceRevision
|
|
940
|
-
reportedAvailableQuantity
|
|
941
|
-
plannedQuantity
|
|
942
|
-
grossKg
|
|
943
|
-
cubeM3
|
|
944
|
-
originReference
|
|
945
|
-
destinationReference
|
|
946
|
-
importerReference
|
|
947
|
-
transportReference
|
|
948
|
-
documentReference
|
|
875
|
+
quantityBasis: Types.MtwConsolidationQuantityBasis;
|
|
876
|
+
unitReference: string | null;
|
|
877
|
+
unitRevision: string | null;
|
|
878
|
+
balanceRevision: string | null;
|
|
879
|
+
reportedAvailableQuantity: string | null;
|
|
880
|
+
plannedQuantity: string | null;
|
|
881
|
+
grossKg: string | null;
|
|
882
|
+
cubeM3: string | null;
|
|
883
|
+
originReference: string | null;
|
|
884
|
+
destinationReference: string | null;
|
|
885
|
+
importerReference: string | null;
|
|
886
|
+
transportReference: string | null;
|
|
887
|
+
documentReference: string | null;
|
|
949
888
|
source: {
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
revision?: string | null;
|
|
889
|
+
reference: string | null;
|
|
890
|
+
revision: string | null;
|
|
953
891
|
};
|
|
954
892
|
}>;
|
|
955
893
|
};
|
|
956
894
|
};
|
|
957
895
|
};
|
|
958
896
|
export type RecordConsolidationObservationMutationVariables = Exact<{
|
|
959
|
-
input: RecordMtwConsolidationObservationInput;
|
|
897
|
+
input: Types.RecordMtwConsolidationObservationInput;
|
|
960
898
|
}>;
|
|
961
899
|
export type RecordConsolidationObservationMutation = {
|
|
962
|
-
__typename?: 'Mutation';
|
|
963
900
|
recordMtwConsolidationObservation: {
|
|
964
|
-
__typename?: 'MtwConsolidationObservation';
|
|
965
901
|
id: string;
|
|
966
902
|
planId: string;
|
|
967
903
|
lotId: string;
|
|
968
|
-
kind: MtwConsolidationReportKind;
|
|
969
|
-
issueReference
|
|
904
|
+
kind: Types.MtwConsolidationReportKind;
|
|
905
|
+
issueReference: string | null;
|
|
970
906
|
version: number;
|
|
971
|
-
previousVersionId
|
|
907
|
+
previousVersionId: string | null;
|
|
972
908
|
receiptSequence: number;
|
|
973
|
-
reportedQuantity
|
|
974
|
-
reportedObservedAt
|
|
909
|
+
reportedQuantity: string | null;
|
|
910
|
+
reportedObservedAt: string | null;
|
|
975
911
|
reason: string;
|
|
976
|
-
unitReference
|
|
977
|
-
unitRevision
|
|
912
|
+
unitReference: string | null;
|
|
913
|
+
unitRevision: string | null;
|
|
978
914
|
status: string;
|
|
979
915
|
recordedAt: string;
|
|
980
916
|
createdBy: string;
|
|
981
917
|
actorProvenance: string;
|
|
982
|
-
onBehalfOf
|
|
918
|
+
onBehalfOf: string | null;
|
|
983
919
|
source: {
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
revision?: string | null;
|
|
920
|
+
reference: string | null;
|
|
921
|
+
revision: string | null;
|
|
987
922
|
};
|
|
988
923
|
evidence: Array<{
|
|
989
|
-
__typename?: 'MtwContainerEvidence';
|
|
990
924
|
fileId: string;
|
|
991
925
|
versionId: string;
|
|
992
926
|
sha256Hash: string;
|
|
993
927
|
checkedAt: string;
|
|
994
928
|
}>;
|
|
995
929
|
evidenceDeclarations: Array<{
|
|
996
|
-
__typename?: 'MtwConsolidationEvidenceDeclaration';
|
|
997
930
|
fileId: string;
|
|
998
931
|
versionId: string;
|
|
999
932
|
verification: string;
|
|
@@ -1001,23 +934,20 @@ export type RecordConsolidationObservationMutation = {
|
|
|
1001
934
|
};
|
|
1002
935
|
};
|
|
1003
936
|
export type SaveConsolidationManifestMutationVariables = Exact<{
|
|
1004
|
-
input: SaveMtwConsolidationManifestInput;
|
|
937
|
+
input: Types.SaveMtwConsolidationManifestInput;
|
|
1005
938
|
}>;
|
|
1006
939
|
export type SaveConsolidationManifestMutation = {
|
|
1007
|
-
__typename?: 'Mutation';
|
|
1008
940
|
saveMtwConsolidationManifest: {
|
|
1009
|
-
__typename?: 'MtwConsolidationManifest';
|
|
1010
941
|
id: string;
|
|
1011
942
|
planId: string;
|
|
1012
943
|
version: number;
|
|
1013
|
-
previousVersionId
|
|
944
|
+
previousVersionId: string | null;
|
|
1014
945
|
observationSequence: number;
|
|
1015
946
|
recordedAt: string;
|
|
1016
947
|
createdBy: string;
|
|
1017
948
|
actorProvenance: string;
|
|
1018
|
-
onBehalfOf
|
|
949
|
+
onBehalfOf: string | null;
|
|
1019
950
|
snapshot: {
|
|
1020
|
-
__typename?: 'MtwConsolidationSnapshot';
|
|
1021
951
|
status: string;
|
|
1022
952
|
planId: string;
|
|
1023
953
|
planVersion: number;
|
|
@@ -1026,35 +956,35 @@ export type SaveConsolidationManifestMutation = {
|
|
|
1026
956
|
recentIssueIds: Array<string>;
|
|
1027
957
|
reviewReasons: Array<string>;
|
|
1028
958
|
rows: Array<{
|
|
1029
|
-
__typename?: 'MtwConsolidationReconciliationRow';
|
|
1030
959
|
lotId: string;
|
|
1031
|
-
plannedQuantity
|
|
1032
|
-
reportedAvailableQuantity
|
|
1033
|
-
receivedQuantity
|
|
1034
|
-
stuffedQuantity
|
|
1035
|
-
availabilityDeficit
|
|
1036
|
-
receiptDeficit
|
|
1037
|
-
receiptExcess
|
|
1038
|
-
stuffingExcess
|
|
1039
|
-
receivedMinusStuffed
|
|
960
|
+
plannedQuantity: string | null;
|
|
961
|
+
reportedAvailableQuantity: string | null;
|
|
962
|
+
receivedQuantity: string | null;
|
|
963
|
+
stuffedQuantity: string | null;
|
|
964
|
+
availabilityDeficit: string | null;
|
|
965
|
+
receiptDeficit: string | null;
|
|
966
|
+
receiptExcess: string | null;
|
|
967
|
+
stuffingExcess: string | null;
|
|
968
|
+
receivedMinusStuffed: string | null;
|
|
1040
969
|
unknownReasons: Array<string>;
|
|
1041
|
-
receiptObservationId
|
|
1042
|
-
stuffingObservationId
|
|
970
|
+
receiptObservationId: string | null;
|
|
971
|
+
stuffingObservationId: string | null;
|
|
1043
972
|
}>;
|
|
1044
973
|
};
|
|
1045
974
|
};
|
|
1046
975
|
};
|
|
1047
|
-
export declare const ConsolidationShipmentsDocument:
|
|
1048
|
-
export declare const ConsolidationShipmentDocument:
|
|
1049
|
-
export declare const ConsolidationContainersDocument:
|
|
1050
|
-
export declare const ConsolidationCyclesDocument:
|
|
1051
|
-
export declare const ConsolidationPlansDocument:
|
|
1052
|
-
export declare const ConsolidationPlanDocument:
|
|
1053
|
-
export declare const ConsolidationObservationsDocument:
|
|
1054
|
-
export declare const ConsolidationObservationDocument:
|
|
1055
|
-
export declare const ConsolidationPreviewDocument:
|
|
1056
|
-
export declare const ConsolidationManifestsDocument:
|
|
1057
|
-
export declare const ConsolidationManifestDocument:
|
|
1058
|
-
export declare const SaveConsolidationPlanDocument:
|
|
1059
|
-
export declare const RecordConsolidationObservationDocument:
|
|
1060
|
-
export declare const SaveConsolidationManifestDocument:
|
|
976
|
+
export declare const ConsolidationShipmentsDocument: DocumentNode<ConsolidationShipmentsQuery, ConsolidationShipmentsQueryVariables>;
|
|
977
|
+
export declare const ConsolidationShipmentDocument: DocumentNode<ConsolidationShipmentQuery, ConsolidationShipmentQueryVariables>;
|
|
978
|
+
export declare const ConsolidationContainersDocument: DocumentNode<ConsolidationContainersQuery, ConsolidationContainersQueryVariables>;
|
|
979
|
+
export declare const ConsolidationCyclesDocument: DocumentNode<ConsolidationCyclesQuery, ConsolidationCyclesQueryVariables>;
|
|
980
|
+
export declare const ConsolidationPlansDocument: DocumentNode<ConsolidationPlansQuery, ConsolidationPlansQueryVariables>;
|
|
981
|
+
export declare const ConsolidationPlanDocument: DocumentNode<ConsolidationPlanQuery, ConsolidationPlanQueryVariables>;
|
|
982
|
+
export declare const ConsolidationObservationsDocument: DocumentNode<ConsolidationObservationsQuery, ConsolidationObservationsQueryVariables>;
|
|
983
|
+
export declare const ConsolidationObservationDocument: DocumentNode<ConsolidationObservationQuery, ConsolidationObservationQueryVariables>;
|
|
984
|
+
export declare const ConsolidationPreviewDocument: DocumentNode<ConsolidationPreviewQuery, ConsolidationPreviewQueryVariables>;
|
|
985
|
+
export declare const ConsolidationManifestsDocument: DocumentNode<ConsolidationManifestsQuery, ConsolidationManifestsQueryVariables>;
|
|
986
|
+
export declare const ConsolidationManifestDocument: DocumentNode<ConsolidationManifestQuery, ConsolidationManifestQueryVariables>;
|
|
987
|
+
export declare const SaveConsolidationPlanDocument: DocumentNode<SaveConsolidationPlanMutation, SaveConsolidationPlanMutationVariables>;
|
|
988
|
+
export declare const RecordConsolidationObservationDocument: DocumentNode<RecordConsolidationObservationMutation, RecordConsolidationObservationMutationVariables>;
|
|
989
|
+
export declare const SaveConsolidationManifestDocument: DocumentNode<SaveConsolidationManifestMutation, SaveConsolidationManifestMutationVariables>;
|
|
990
|
+
export {};
|