@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.
Files changed (88) hide show
  1. package/README.md +10 -0
  2. package/dist/MoveTheWheelsRoot.js +5 -0
  3. package/dist/MoveTheWheelsRoutes.js +25 -21
  4. package/dist/components/ContainerEvidencePicker.js +55 -55
  5. package/dist/components/FleetAlertsPanel.js +2 -2
  6. package/dist/components/freight-invoice/InvoiceForm.js +366 -0
  7. package/dist/components/freight-invoice/InvoiceResults.js +240 -0
  8. package/dist/generated/consolidation-operations.d.ts +195 -265
  9. package/dist/generated/container-condition-operations.d.ts +124 -187
  10. package/dist/generated/container-operations.d.ts +59 -85
  11. package/dist/generated/empty-reuse-operations.d.ts +165 -271
  12. package/dist/generated/free-time-operations.d.ts +120 -184
  13. package/dist/generated/freight-cost-operations.d.ts +307 -476
  14. package/dist/generated/freight-invoice-operations.d.ts +1447 -0
  15. package/dist/generated/logistics-procedure-operations.d.ts +100 -156
  16. package/dist/generated/pending-pick-operations.d.ts +769 -1025
  17. package/dist/generated/shipment-status-authority-operations.d.ts +82 -103
  18. package/dist/generated/stock-binding-operations.d.ts +188 -260
  19. package/dist/generated/stock-observation-operations.d.ts +103 -138
  20. package/dist/generated/tracking-quality-operations.d.ts +27 -41
  21. package/dist/generated/trip-utilization-operations.d.ts +137 -185
  22. package/dist/generated/wspace-operations.d.ts +628 -2272
  23. package/dist/generated/wspace-types.d.ts +4 -23
  24. package/dist/hooks/useInvoiceComparisonRecovery.js +118 -0
  25. package/dist/movethewheels/components/ContainerEvidencePicker.d.ts +2 -1
  26. package/dist/movethewheels/components/freight-invoice/InvoiceForm.d.ts +19 -0
  27. package/dist/movethewheels/components/freight-invoice/InvoiceResults.d.ts +9 -0
  28. package/dist/movethewheels/hooks/useFleet.d.ts +1 -1
  29. package/dist/movethewheels/hooks/useFleetIntelligence.d.ts +1 -1
  30. package/dist/movethewheels/hooks/useInvoiceComparisonRecovery.d.ts +22 -0
  31. package/dist/movethewheels/hooks/useProcedureSelection.d.ts +1 -3
  32. package/dist/movethewheels/pages/FreightInvoicePage.d.ts +10 -0
  33. package/dist/movethewheels/utils/driverLicenseExpiry.d.ts +6 -0
  34. package/dist/movethewheels/utils/invoiceComparison.d.ts +32 -0
  35. package/dist/pages/DriverDetailsPage.js +306 -282
  36. package/dist/pages/FreightEstimatePage.js +1 -0
  37. package/dist/pages/FreightInvoicePage.js +346 -0
  38. package/dist/src/generated/consolidation-operations.js +3961 -503
  39. package/dist/src/generated/container-condition-operations.js +2968 -206
  40. package/dist/src/generated/container-operations.js +997 -99
  41. package/dist/src/generated/empty-reuse-operations.js +4811 -747
  42. package/dist/src/generated/free-time-operations.js +2824 -233
  43. package/dist/src/generated/freight-cost-operations.js +4852 -812
  44. package/dist/src/generated/freight-invoice-operations.js +4894 -0
  45. package/dist/src/generated/logistics-procedure-operations.js +2707 -360
  46. package/dist/src/generated/pending-pick-operations.js +8244 -1196
  47. package/dist/src/generated/shipment-status-authority-operations.js +1157 -84
  48. package/dist/src/generated/stock-binding-operations.js +2779 -173
  49. package/dist/src/generated/stock-observation-operations.js +1274 -91
  50. package/dist/src/generated/tracking-quality-operations.js +407 -42
  51. package/dist/src/generated/trip-utilization-operations.js +1765 -138
  52. package/dist/src/generated/wspace-operations.js +428 -706
  53. package/dist/utils/driverLicenseExpiry.js +14 -0
  54. package/dist/utils/invoiceComparison.js +272 -0
  55. package/package.json +29 -29
  56. package/src/generated/consolidation-operations.ts +60 -559
  57. package/src/generated/container-condition-operations.ts +63 -265
  58. package/src/generated/container-operations.ts +37 -132
  59. package/src/generated/empty-reuse-operations.ts +83 -824
  60. package/src/generated/free-time-operations.ts +55 -284
  61. package/src/generated/freight-cost-operations.ts +42 -848
  62. package/src/generated/freight-invoice-operations.ts +830 -0
  63. package/src/generated/logistics-procedure-operations.ts +60 -414
  64. package/src/generated/pending-pick-operations.ts +48 -1239
  65. package/src/generated/shipment-status-authority-operations.ts +33 -113
  66. package/src/generated/stock-binding-operations.ts +29 -198
  67. package/src/generated/stock-observation-operations.ts +24 -111
  68. package/src/generated/tracking-quality-operations.ts +19 -57
  69. package/src/generated/trip-utilization-operations.ts +32 -166
  70. package/src/generated/wspace-operations.ts +284 -2906
  71. package/src/generated/wspace-types.ts +2 -8
  72. package/src/movethewheels/MoveTheWheelsRoot.tsx +6 -0
  73. package/src/movethewheels/MoveTheWheelsRoutes.tsx +2 -0
  74. package/src/movethewheels/components/ContainerEvidencePicker.tsx +12 -4
  75. package/src/movethewheels/components/FleetAlertsPanel.tsx +4 -2
  76. package/src/movethewheels/components/freight-invoice/InvoiceForm.tsx +412 -0
  77. package/src/movethewheels/components/freight-invoice/InvoiceResults.tsx +162 -0
  78. package/src/movethewheels/hooks/useFleet.ts +1 -1
  79. package/src/movethewheels/hooks/useFleetIntelligence.ts +5 -1
  80. package/src/movethewheels/hooks/useInvoiceComparisonRecovery.ts +227 -0
  81. package/src/movethewheels/pages/DriverDetailsPage.tsx +35 -9
  82. package/src/movethewheels/pages/FreightEstimatePage.tsx +1 -0
  83. package/src/movethewheels/pages/FreightInvoicePage.tsx +477 -0
  84. package/src/movethewheels/utils/driverLicenseExpiry.ts +25 -0
  85. package/src/movethewheels/utils/invoiceComparison.ts +520 -0
  86. package/src/operations/freight-invoice/comparison.graphql +40 -0
  87. package/src/operations/wspace/freight-invoice-evidence.graphql +6 -0
  88. package/patches/braces@3.0.3.patch +0 -87
@@ -1,24 +1,17 @@
1
- export type Maybe<T> = T | null;
2
- export type InputMaybe<T> = Maybe<T>;
3
- export type Exact<T extends {
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
- 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
- };
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?: InputMaybe<PaginationInput>;
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: Scalars['ID']['input'];
459
+ id: string;
469
460
  }>;
470
461
  export type ConsolidationShipmentQuery = {
471
- __typename?: 'Query';
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?: InputMaybe<MtwContainerPagination>;
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?: number | null;
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: Scalars['ID']['input'];
502
- pagination?: InputMaybe<MtwContainerPagination>;
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?: number | null;
496
+ nextOffset: number | null;
513
497
  items: Array<{
514
- __typename?: 'MtwContainerCycle';
515
498
  id: string;
516
499
  containerId: string;
517
- shipmentId?: string | null;
518
- bookingReference?: string | null;
500
+ shipmentId: string | null;
501
+ bookingReference: string | null;
519
502
  openedAt: string;
520
- closedAt?: string | null;
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: Scalars['ID']['input'];
528
- planReference?: InputMaybe<Scalars['String']['input']>;
529
- pagination?: InputMaybe<MtwContainerPagination>;
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?: number | null;
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?: string | null;
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: Scalars['ID']['input'];
562
- id: Scalars['ID']['input'];
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?: string | null;
550
+ previousVersionId: string | null;
574
551
  status: string;
575
552
  recordedAt: string;
576
553
  createdBy: string;
577
554
  actorProvenance: string;
578
- onBehalfOf?: string | null;
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?: string | null;
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?: string | null;
599
- carrierReference?: string | null;
600
- bookingReference?: string | null;
601
- cutoffAt?: string | null;
602
- timezone?: string | null;
603
- jurisdictionReference?: string | null;
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
- __typename?: 'MtwConsolidationSource';
607
- reference?: string | null;
608
- revision?: string | null;
580
+ reference: string | null;
581
+ revision: string | null;
609
582
  };
610
583
  contextSource: {
611
- __typename?: 'MtwConsolidationSource';
612
- reference?: string | null;
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?: string | null;
624
- unitRevision?: string | null;
625
- balanceRevision?: string | null;
626
- reportedAvailableQuantity?: string | null;
627
- plannedQuantity?: string | null;
628
- grossKg?: string | null;
629
- cubeM3?: string | null;
630
- originReference?: string | null;
631
- destinationReference?: string | null;
632
- importerReference?: string | null;
633
- transportReference?: string | null;
634
- documentReference?: string | null;
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
- __typename?: 'MtwConsolidationSource';
637
- reference?: string | null;
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: Scalars['ID']['input'];
646
- pagination?: InputMaybe<MtwContainerPagination>;
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?: number | null;
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?: string | null;
629
+ kind: Types.MtwConsolidationReportKind;
630
+ issueReference: string | null;
664
631
  version: number;
665
- previousVersionId?: string | null;
632
+ previousVersionId: string | null;
666
633
  receiptSequence: number;
667
- reportedQuantity?: string | null;
668
- reportedObservedAt?: string | null;
634
+ reportedQuantity: string | null;
635
+ reportedObservedAt: string | null;
669
636
  reason: string;
670
- unitReference?: string | null;
671
- unitRevision?: string | null;
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?: string | null;
643
+ onBehalfOf: string | null;
677
644
  source: {
678
- __typename?: 'MtwConsolidationSource';
679
- reference?: string | null;
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: Scalars['ID']['input'];
700
- id: Scalars['ID']['input'];
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?: string | null;
671
+ kind: Types.MtwConsolidationReportKind;
672
+ issueReference: string | null;
711
673
  version: number;
712
- previousVersionId?: string | null;
674
+ previousVersionId: string | null;
713
675
  receiptSequence: number;
714
- reportedQuantity?: string | null;
715
- reportedObservedAt?: string | null;
676
+ reportedQuantity: string | null;
677
+ reportedObservedAt: string | null;
716
678
  reason: string;
717
- unitReference?: string | null;
718
- unitRevision?: string | null;
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?: string | null;
685
+ onBehalfOf: string | null;
724
686
  source: {
725
- __typename?: 'MtwConsolidationSource';
726
- reference?: string | null;
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: Scalars['ID']['input'];
746
- expectedObservationSequence: Scalars['Int']['input'];
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?: string | null;
763
- reportedAvailableQuantity?: string | null;
764
- receivedQuantity?: string | null;
765
- stuffedQuantity?: string | null;
766
- availabilityDeficit?: string | null;
767
- receiptDeficit?: string | null;
768
- receiptExcess?: string | null;
769
- stuffingExcess?: string | null;
770
- receivedMinusStuffed?: string | null;
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?: string | null;
773
- stuffingObservationId?: string | null;
728
+ receiptObservationId: string | null;
729
+ stuffingObservationId: string | null;
774
730
  }>;
775
731
  };
776
732
  };
777
733
  export type ConsolidationManifestsQueryVariables = Exact<{
778
- planId: Scalars['ID']['input'];
779
- pagination?: InputMaybe<MtwContainerPagination>;
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?: number | null;
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?: string | null;
748
+ previousVersionId: string | null;
796
749
  observationSequence: number;
797
750
  recordedAt: string;
798
751
  createdBy: string;
799
752
  actorProvenance: string;
800
- onBehalfOf?: string | null;
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?: string | null;
814
- reportedAvailableQuantity?: string | null;
815
- receivedQuantity?: string | null;
816
- stuffedQuantity?: string | null;
817
- availabilityDeficit?: string | null;
818
- receiptDeficit?: string | null;
819
- receiptExcess?: string | null;
820
- stuffingExcess?: string | null;
821
- receivedMinusStuffed?: string | null;
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?: string | null;
824
- stuffingObservationId?: string | null;
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: Scalars['ID']['input'];
832
- id: Scalars['ID']['input'];
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?: string | null;
790
+ previousVersionId: string | null;
842
791
  observationSequence: number;
843
792
  recordedAt: string;
844
793
  createdBy: string;
845
794
  actorProvenance: string;
846
- onBehalfOf?: string | null;
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?: string | null;
860
- reportedAvailableQuantity?: string | null;
861
- receivedQuantity?: string | null;
862
- stuffedQuantity?: string | null;
863
- availabilityDeficit?: string | null;
864
- receiptDeficit?: string | null;
865
- receiptExcess?: string | null;
866
- stuffingExcess?: string | null;
867
- receivedMinusStuffed?: string | null;
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?: string | null;
870
- stuffingObservationId?: string | null;
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?: string | null;
832
+ previousVersionId: string | null;
888
833
  status: string;
889
834
  recordedAt: string;
890
835
  createdBy: string;
891
836
  actorProvenance: string;
892
- onBehalfOf?: string | null;
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?: string | null;
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?: string | null;
913
- carrierReference?: string | null;
914
- bookingReference?: string | null;
915
- cutoffAt?: string | null;
916
- timezone?: string | null;
917
- jurisdictionReference?: string | null;
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
- __typename?: 'MtwConsolidationSource';
921
- reference?: string | null;
922
- revision?: string | null;
862
+ reference: string | null;
863
+ revision: string | null;
923
864
  };
924
865
  contextSource: {
925
- __typename?: 'MtwConsolidationSource';
926
- reference?: string | null;
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?: string | null;
938
- unitRevision?: string | null;
939
- balanceRevision?: string | null;
940
- reportedAvailableQuantity?: string | null;
941
- plannedQuantity?: string | null;
942
- grossKg?: string | null;
943
- cubeM3?: string | null;
944
- originReference?: string | null;
945
- destinationReference?: string | null;
946
- importerReference?: string | null;
947
- transportReference?: string | null;
948
- documentReference?: string | null;
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
- __typename?: 'MtwConsolidationSource';
951
- reference?: string | null;
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?: string | null;
904
+ kind: Types.MtwConsolidationReportKind;
905
+ issueReference: string | null;
970
906
  version: number;
971
- previousVersionId?: string | null;
907
+ previousVersionId: string | null;
972
908
  receiptSequence: number;
973
- reportedQuantity?: string | null;
974
- reportedObservedAt?: string | null;
909
+ reportedQuantity: string | null;
910
+ reportedObservedAt: string | null;
975
911
  reason: string;
976
- unitReference?: string | null;
977
- unitRevision?: string | null;
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?: string | null;
918
+ onBehalfOf: string | null;
983
919
  source: {
984
- __typename?: 'MtwConsolidationSource';
985
- reference?: string | null;
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?: string | null;
944
+ previousVersionId: string | null;
1014
945
  observationSequence: number;
1015
946
  recordedAt: string;
1016
947
  createdBy: string;
1017
948
  actorProvenance: string;
1018
- onBehalfOf?: string | null;
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?: string | null;
1032
- reportedAvailableQuantity?: string | null;
1033
- receivedQuantity?: string | null;
1034
- stuffedQuantity?: string | null;
1035
- availabilityDeficit?: string | null;
1036
- receiptDeficit?: string | null;
1037
- receiptExcess?: string | null;
1038
- stuffingExcess?: string | null;
1039
- receivedMinusStuffed?: string | null;
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?: string | null;
1042
- stuffingObservationId?: string | null;
970
+ receiptObservationId: string | null;
971
+ stuffingObservationId: string | null;
1043
972
  }>;
1044
973
  };
1045
974
  };
1046
975
  };
1047
- export declare const ConsolidationShipmentsDocument: import('graphql').DocumentNode;
1048
- export declare const ConsolidationShipmentDocument: import('graphql').DocumentNode;
1049
- export declare const ConsolidationContainersDocument: import('graphql').DocumentNode;
1050
- export declare const ConsolidationCyclesDocument: import('graphql').DocumentNode;
1051
- export declare const ConsolidationPlansDocument: import('graphql').DocumentNode;
1052
- export declare const ConsolidationPlanDocument: import('graphql').DocumentNode;
1053
- export declare const ConsolidationObservationsDocument: import('graphql').DocumentNode;
1054
- export declare const ConsolidationObservationDocument: import('graphql').DocumentNode;
1055
- export declare const ConsolidationPreviewDocument: import('graphql').DocumentNode;
1056
- export declare const ConsolidationManifestsDocument: import('graphql').DocumentNode;
1057
- export declare const ConsolidationManifestDocument: import('graphql').DocumentNode;
1058
- export declare const SaveConsolidationPlanDocument: import('graphql').DocumentNode;
1059
- export declare const RecordConsolidationObservationDocument: import('graphql').DocumentNode;
1060
- export declare const SaveConsolidationManifestDocument: import('graphql').DocumentNode;
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 {};