@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.
Files changed (113) 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-cost/FreightCommercialEditor.js +217 -0
  7. package/dist/components/freight-cost/FreightCommercialFactEditor.js +217 -0
  8. package/dist/components/freight-cost/FreightCommercialHistory.js +115 -0
  9. package/dist/components/freight-cost/FreightDraftForm.js +106 -91
  10. package/dist/components/freight-cost/FreightHistory.js +42 -40
  11. package/dist/components/freight-invoice/InvoiceForm.js +366 -0
  12. package/dist/components/freight-invoice/InvoiceResults.js +240 -0
  13. package/dist/generated/consolidation-operations.d.ts +195 -265
  14. package/dist/generated/container-condition-operations.d.ts +124 -187
  15. package/dist/generated/container-operations.d.ts +59 -85
  16. package/dist/generated/empty-reuse-operations.d.ts +165 -271
  17. package/dist/generated/free-time-operations.d.ts +120 -184
  18. package/dist/generated/freight-cost-operations.d.ts +955 -165
  19. package/dist/generated/freight-invoice-operations.d.ts +1447 -0
  20. package/dist/generated/logistics-procedure-operations.d.ts +100 -156
  21. package/dist/generated/pending-pick-operations.d.ts +769 -1025
  22. package/dist/generated/shipment-status-authority-operations.d.ts +82 -103
  23. package/dist/generated/stock-binding-operations.d.ts +188 -260
  24. package/dist/generated/stock-observation-operations.d.ts +103 -138
  25. package/dist/generated/tracking-quality-operations.d.ts +27 -41
  26. package/dist/generated/trip-utilization-operations.d.ts +137 -185
  27. package/dist/generated/wspace-operations.d.ts +628 -2272
  28. package/dist/generated/wspace-types.d.ts +4 -23
  29. package/dist/hooks/useFreightRecoveryAction.js +20 -20
  30. package/dist/hooks/useInvoiceComparisonRecovery.js +118 -0
  31. package/dist/movethewheels/components/ContainerEvidencePicker.d.ts +2 -1
  32. package/dist/movethewheels/components/freight-cost/FreightCommercialEditor.d.ts +8 -0
  33. package/dist/movethewheels/components/freight-cost/FreightCommercialFactEditor.d.ts +8 -0
  34. package/dist/movethewheels/components/freight-cost/FreightCommercialHistory.d.ts +4 -0
  35. package/dist/movethewheels/components/freight-cost/FreightDraftForm.d.ts +4 -2
  36. package/dist/movethewheels/components/freight-cost/FreightHistory.d.ts +2 -2
  37. package/dist/movethewheels/components/freight-invoice/InvoiceForm.d.ts +19 -0
  38. package/dist/movethewheels/components/freight-invoice/InvoiceResults.d.ts +9 -0
  39. package/dist/movethewheels/hooks/useFleet.d.ts +1 -1
  40. package/dist/movethewheels/hooks/useFleetIntelligence.d.ts +1 -1
  41. package/dist/movethewheels/hooks/useInvoiceComparisonRecovery.d.ts +22 -0
  42. package/dist/movethewheels/hooks/useProcedureSelection.d.ts +1 -3
  43. package/dist/movethewheels/pages/FreightInvoicePage.d.ts +10 -0
  44. package/dist/movethewheels/utils/driverLicenseExpiry.d.ts +6 -0
  45. package/dist/movethewheels/utils/freightCommercial.d.ts +44 -0
  46. package/dist/movethewheels/utils/invoiceComparison.d.ts +32 -0
  47. package/dist/pages/DriverDetailsPage.js +306 -282
  48. package/dist/pages/FreightEstimatePage.js +97 -92
  49. package/dist/pages/FreightInvoicePage.js +346 -0
  50. package/dist/src/generated/consolidation-operations.js +3961 -503
  51. package/dist/src/generated/container-condition-operations.js +2968 -206
  52. package/dist/src/generated/container-operations.js +997 -99
  53. package/dist/src/generated/empty-reuse-operations.js +4811 -747
  54. package/dist/src/generated/free-time-operations.js +2824 -233
  55. package/dist/src/generated/freight-cost-operations.js +4852 -323
  56. package/dist/src/generated/freight-invoice-operations.js +4894 -0
  57. package/dist/src/generated/logistics-procedure-operations.js +2707 -360
  58. package/dist/src/generated/pending-pick-operations.js +8244 -1196
  59. package/dist/src/generated/shipment-status-authority-operations.js +1157 -84
  60. package/dist/src/generated/stock-binding-operations.js +2779 -173
  61. package/dist/src/generated/stock-observation-operations.js +1274 -91
  62. package/dist/src/generated/tracking-quality-operations.js +407 -42
  63. package/dist/src/generated/trip-utilization-operations.js +1765 -138
  64. package/dist/src/generated/wspace-operations.js +428 -706
  65. package/dist/utils/driverLicenseExpiry.js +14 -0
  66. package/dist/utils/freightAcknowledgement.js +6 -5
  67. package/dist/utils/freightCommercial.js +194 -0
  68. package/dist/utils/freightRecovery.js +22 -22
  69. package/dist/utils/invoiceComparison.js +272 -0
  70. package/package.json +30 -29
  71. package/src/generated/consolidation-operations.ts +60 -559
  72. package/src/generated/container-condition-operations.ts +63 -265
  73. package/src/generated/container-operations.ts +37 -132
  74. package/src/generated/empty-reuse-operations.ts +83 -824
  75. package/src/generated/free-time-operations.ts +55 -284
  76. package/src/generated/freight-cost-operations.ts +373 -349
  77. package/src/generated/freight-invoice-operations.ts +830 -0
  78. package/src/generated/logistics-procedure-operations.ts +60 -414
  79. package/src/generated/pending-pick-operations.ts +48 -1239
  80. package/src/generated/shipment-status-authority-operations.ts +33 -113
  81. package/src/generated/stock-binding-operations.ts +29 -198
  82. package/src/generated/stock-observation-operations.ts +24 -111
  83. package/src/generated/tracking-quality-operations.ts +19 -57
  84. package/src/generated/trip-utilization-operations.ts +32 -166
  85. package/src/generated/wspace-operations.ts +284 -2906
  86. package/src/generated/wspace-types.ts +2 -8
  87. package/src/movethewheels/MoveTheWheelsRoot.tsx +6 -0
  88. package/src/movethewheels/MoveTheWheelsRoutes.tsx +2 -0
  89. package/src/movethewheels/components/ContainerEvidencePicker.tsx +12 -4
  90. package/src/movethewheels/components/FleetAlertsPanel.tsx +4 -2
  91. package/src/movethewheels/components/freight-cost/FreightCommercialEditor.tsx +236 -0
  92. package/src/movethewheels/components/freight-cost/FreightCommercialFactEditor.tsx +258 -0
  93. package/src/movethewheels/components/freight-cost/FreightCommercialHistory.tsx +90 -0
  94. package/src/movethewheels/components/freight-cost/FreightDraftForm.tsx +33 -4
  95. package/src/movethewheels/components/freight-cost/FreightHistory.tsx +4 -2
  96. package/src/movethewheels/components/freight-invoice/InvoiceForm.tsx +412 -0
  97. package/src/movethewheels/components/freight-invoice/InvoiceResults.tsx +162 -0
  98. package/src/movethewheels/hooks/useFleet.ts +1 -1
  99. package/src/movethewheels/hooks/useFleetIntelligence.ts +5 -1
  100. package/src/movethewheels/hooks/useFreightRecoveryAction.ts +2 -1
  101. package/src/movethewheels/hooks/useInvoiceComparisonRecovery.ts +227 -0
  102. package/src/movethewheels/pages/DriverDetailsPage.tsx +35 -9
  103. package/src/movethewheels/pages/FreightEstimatePage.tsx +15 -7
  104. package/src/movethewheels/pages/FreightInvoicePage.tsx +477 -0
  105. package/src/movethewheels/utils/driverLicenseExpiry.ts +25 -0
  106. package/src/movethewheels/utils/freightAcknowledgement.ts +3 -1
  107. package/src/movethewheels/utils/freightCommercial.ts +388 -0
  108. package/src/movethewheels/utils/freightRecovery.ts +6 -2
  109. package/src/movethewheels/utils/invoiceComparison.ts +520 -0
  110. package/src/operations/freight-cost/commercial.graphql +483 -0
  111. package/src/operations/freight-invoice/comparison.graphql +40 -0
  112. package/src/operations/wspace/freight-invoice-evidence.graphql +6 -0
  113. 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 './empty-reuse-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: {
@@ -608,14 +601,12 @@ export type TerminateMtwReuseReservationInput = {
608
601
  status: MtwReuseReservationTerminalStatus;
609
602
  };
610
603
  export type ReuseEvidenceFragment = {
611
- __typename?: 'MtwContainerEvidence';
612
604
  fileId: string;
613
605
  versionId: string;
614
606
  sha256Hash: string;
615
607
  checkedAt: string;
616
608
  };
617
609
  export type ReturnInstructionFieldsFragment = {
618
- __typename?: 'MtwEmptyReturnInstruction';
619
610
  id: string;
620
611
  cycleId: string;
621
612
  version: number;
@@ -628,11 +619,10 @@ export type ReturnInstructionFieldsFragment = {
628
619
  effectiveAt: string;
629
620
  sourceReference: string;
630
621
  changeReason: string;
631
- supersedesInstructionId?: string | null;
622
+ supersedesInstructionId: string | null;
632
623
  recordedAt: string;
633
624
  createdBy: string;
634
625
  evidence: Array<{
635
- __typename?: 'MtwContainerEvidence';
636
626
  fileId: string;
637
627
  versionId: string;
638
628
  sha256Hash: string;
@@ -640,8 +630,7 @@ export type ReturnInstructionFieldsFragment = {
640
630
  }>;
641
631
  };
642
632
  export type ReuseSourceFieldsFragment = {
643
- __typename?: 'MtwReuseSourceAttestation';
644
- purpose: MtwReuseSourcePurpose;
633
+ purpose: Types.MtwReuseSourcePurpose;
645
634
  sourceReference: string;
646
635
  sourceRevision: string;
647
636
  observedAt: string;
@@ -651,7 +640,6 @@ export type ReuseSourceFieldsFragment = {
651
640
  recordedByActorId: string;
652
641
  scopeFingerprint: string;
653
642
  evidence: Array<{
654
- __typename?: 'MtwContainerEvidence';
655
643
  fileId: string;
656
644
  versionId: string;
657
645
  sha256Hash: string;
@@ -659,7 +647,6 @@ export type ReuseSourceFieldsFragment = {
659
647
  }>;
660
648
  };
661
649
  export type ReuseProposalFieldsFragment = {
662
- __typename?: 'MtwReuseProposal';
663
650
  id: string;
664
651
  cycleId: string;
665
652
  containerId: string;
@@ -675,28 +662,24 @@ export type ReuseProposalFieldsFragment = {
675
662
  handoffLocationReference: string;
676
663
  handoffFrom: string;
677
664
  handoffUntil: string;
678
- requiredEquipmentType: MtwEquipmentType;
679
- cargoCategory: MtwContainerCargoCategory;
665
+ requiredEquipmentType: Types.MtwEquipmentType;
666
+ cargoCategory: Types.MtwContainerCargoCategory;
680
667
  recordedAt: string;
681
668
  createdBy: string;
682
669
  evidence: Array<{
683
- __typename?: 'MtwContainerEvidence';
684
670
  fileId: string;
685
671
  versionId: string;
686
672
  sha256Hash: string;
687
673
  checkedAt: string;
688
674
  }>;
689
675
  assessment: {
690
- __typename?: 'MtwReuseProposalAssessment';
691
676
  schemaVersion: number;
692
677
  scopeFingerprint: string;
693
- conditionQualificationId?: string | null;
694
- conditionQualificationVersion?: number | null;
678
+ conditionQualificationId: string | null;
679
+ conditionQualificationVersion: number | null;
695
680
  sources: {
696
- __typename?: 'MtwReuseSources';
697
- booking?: {
698
- __typename?: 'MtwReuseSourceAttestation';
699
- purpose: MtwReuseSourcePurpose;
681
+ booking: {
682
+ purpose: Types.MtwReuseSourcePurpose;
700
683
  sourceReference: string;
701
684
  sourceRevision: string;
702
685
  observedAt: string;
@@ -706,16 +689,14 @@ export type ReuseProposalFieldsFragment = {
706
689
  recordedByActorId: string;
707
690
  scopeFingerprint: string;
708
691
  evidence: Array<{
709
- __typename?: 'MtwContainerEvidence';
710
692
  fileId: string;
711
693
  versionId: string;
712
694
  sha256Hash: string;
713
695
  checkedAt: string;
714
696
  }>;
715
697
  } | null;
716
- roadAccess?: {
717
- __typename?: 'MtwReuseSourceAttestation';
718
- purpose: MtwReuseSourcePurpose;
698
+ roadAccess: {
699
+ purpose: Types.MtwReuseSourcePurpose;
719
700
  sourceReference: string;
720
701
  sourceRevision: string;
721
702
  observedAt: string;
@@ -725,16 +706,14 @@ export type ReuseProposalFieldsFragment = {
725
706
  recordedByActorId: string;
726
707
  scopeFingerprint: string;
727
708
  evidence: Array<{
728
- __typename?: 'MtwContainerEvidence';
729
709
  fileId: string;
730
710
  versionId: string;
731
711
  sha256Hash: string;
732
712
  checkedAt: string;
733
713
  }>;
734
714
  } | null;
735
- conditionSuitability?: {
736
- __typename?: 'MtwReuseSourceAttestation';
737
- purpose: MtwReuseSourcePurpose;
715
+ conditionSuitability: {
716
+ purpose: Types.MtwReuseSourcePurpose;
738
717
  sourceReference: string;
739
718
  sourceRevision: string;
740
719
  observedAt: string;
@@ -744,16 +723,14 @@ export type ReuseProposalFieldsFragment = {
744
723
  recordedByActorId: string;
745
724
  scopeFingerprint: string;
746
725
  evidence: Array<{
747
- __typename?: 'MtwContainerEvidence';
748
726
  fileId: string;
749
727
  versionId: string;
750
728
  sha256Hash: string;
751
729
  checkedAt: string;
752
730
  }>;
753
731
  } | null;
754
- retainedReturnPlan?: {
755
- __typename?: 'MtwReuseSourceAttestation';
756
- purpose: MtwReuseSourcePurpose;
732
+ retainedReturnPlan: {
733
+ purpose: Types.MtwReuseSourcePurpose;
757
734
  sourceReference: string;
758
735
  sourceRevision: string;
759
736
  observedAt: string;
@@ -763,7 +740,6 @@ export type ReuseProposalFieldsFragment = {
763
740
  recordedByActorId: string;
764
741
  scopeFingerprint: string;
765
742
  evidence: Array<{
766
- __typename?: 'MtwContainerEvidence';
767
743
  fileId: string;
768
744
  versionId: string;
769
745
  sha256Hash: string;
@@ -771,21 +747,19 @@ export type ReuseProposalFieldsFragment = {
771
747
  }>;
772
748
  } | null;
773
749
  };
774
- timing?: {
775
- __typename?: 'MtwReuseTiming';
750
+ timing: {
776
751
  departureAt: string;
777
752
  maxTravelSeconds: number;
778
753
  maxWaitSeconds: number;
779
754
  siteOpenAt: string;
780
755
  siteCloseAt: string;
781
756
  maxFullReuseAndReturnSeconds: number;
782
- siteWaitingLocationReference?: string | null;
783
- returnWaitingLocationReference?: string | null;
757
+ siteWaitingLocationReference: string | null;
758
+ returnWaitingLocationReference: string | null;
784
759
  plannedReturnFrom: string;
785
760
  plannedReturnUntil: string;
786
761
  } | null;
787
- routeBinding?: {
788
- __typename?: 'MtwReuseRouteBinding';
762
+ routeBinding: {
789
763
  handoffWaypointIndex: number;
790
764
  returnWaypointIndex: number;
791
765
  handoffWaypointFingerprint: string;
@@ -797,20 +771,18 @@ export type ReuseProposalFieldsFragment = {
797
771
  };
798
772
  };
799
773
  export type ReuseApprovalFieldsFragment = {
800
- __typename?: 'MtwEquipmentReuseApproval';
801
774
  id: string;
802
775
  proposalId: string;
803
- kind: MtwReuseApprovalKind;
804
- approvalId?: string | null;
776
+ kind: Types.MtwReuseApprovalKind;
777
+ approvalId: string | null;
805
778
  counterpartyReference: string;
806
779
  sourceReference: string;
807
- validFrom?: string | null;
808
- validUntil?: string | null;
780
+ validFrom: string | null;
781
+ validUntil: string | null;
809
782
  note: string;
810
783
  recordedAt: string;
811
784
  createdBy: string;
812
785
  evidence: Array<{
813
- __typename?: 'MtwContainerEvidence';
814
786
  fileId: string;
815
787
  versionId: string;
816
788
  sha256Hash: string;
@@ -818,60 +790,53 @@ export type ReuseApprovalFieldsFragment = {
818
790
  }>;
819
791
  };
820
792
  export type ReuseReservationFieldsFragment = {
821
- __typename?: 'MtwReuseReservation';
822
793
  id: string;
823
794
  containerId: string;
824
795
  cycleId: string;
825
796
  proposalId: string;
826
797
  approvalId: string;
827
- status: MtwReuseReservationStatus;
798
+ status: Types.MtwReuseReservationStatus;
828
799
  version: number;
829
800
  handoffUntil: string;
830
801
  createdAt: string;
831
802
  updatedAt: string;
832
803
  createdBy: string;
833
- updatedBy?: string | null;
804
+ updatedBy: string | null;
834
805
  };
835
806
  export type ReuseContainersQueryVariables = Exact<{
836
- pagination: MtwContainerPagination;
807
+ pagination: Types.MtwContainerPagination;
837
808
  }>;
838
809
  export type ReuseContainersQuery = {
839
- __typename?: 'Query';
840
810
  mtwContainerPage: {
841
- __typename?: 'MtwContainerPage';
842
811
  total: number;
843
812
  limit: number;
844
813
  offset: number;
845
814
  hasMore: boolean;
846
- nextOffset?: number | null;
815
+ nextOffset: number | null;
847
816
  items: Array<{
848
- __typename?: 'MtwContainer';
849
817
  id: string;
850
818
  containerNumber: string;
851
- equipmentType: MtwEquipmentType;
852
- ownerName?: string | null;
819
+ equipmentType: Types.MtwEquipmentType;
820
+ ownerName: string | null;
853
821
  }>;
854
822
  };
855
823
  };
856
824
  export type ReuseCyclesQueryVariables = Exact<{
857
- containerId: Scalars['ID']['input'];
858
- pagination: MtwContainerPagination;
825
+ containerId: string;
826
+ pagination: Types.MtwContainerPagination;
859
827
  }>;
860
828
  export type ReuseCyclesQuery = {
861
- __typename?: 'Query';
862
829
  mtwContainerCyclePage: {
863
- __typename?: 'MtwContainerCyclePage';
864
830
  total: number;
865
831
  limit: number;
866
832
  offset: number;
867
833
  hasMore: boolean;
868
- nextOffset?: number | null;
834
+ nextOffset: number | null;
869
835
  items: Array<{
870
- __typename?: 'MtwContainerCycle';
871
836
  id: string;
872
837
  containerId: string;
873
- status: MtwContainerCycleStatus;
874
- bookingReference?: string | null;
838
+ status: Types.MtwContainerCycleStatus;
839
+ bookingReference: string | null;
875
840
  openedAt: string;
876
841
  version: number;
877
842
  updatedAt: string;
@@ -879,115 +844,101 @@ export type ReuseCyclesQuery = {
879
844
  };
880
845
  };
881
846
  export type ReuseEventsQueryVariables = Exact<{
882
- cycleId: Scalars['ID']['input'];
883
- pagination: MtwContainerPagination;
847
+ cycleId: string;
848
+ pagination: Types.MtwContainerPagination;
884
849
  }>;
885
850
  export type ReuseEventsQuery = {
886
- __typename?: 'Query';
887
851
  mtwContainerEventPage: {
888
- __typename?: 'MtwContainerEventPage';
889
852
  total: number;
890
853
  limit: number;
891
854
  offset: number;
892
855
  hasMore: boolean;
893
- nextOffset?: number | null;
856
+ nextOffset: number | null;
894
857
  items: Array<{
895
- __typename?: 'MtwContainerEvent';
896
858
  id: string;
897
- eventType: MtwContainerEventType;
898
- kind: MtwContainerEventKind;
859
+ eventType: Types.MtwContainerEventType;
860
+ kind: Types.MtwContainerEventKind;
899
861
  occurredAt: string;
900
862
  receivedAt: string;
901
863
  source: string;
902
- sourceReference?: string | null;
903
- location?: string | null;
864
+ sourceReference: string | null;
865
+ location: string | null;
904
866
  }>;
905
867
  };
906
868
  };
907
869
  export type ReuseInspectionsQueryVariables = Exact<{
908
- containerId: Scalars['ID']['input'];
909
- pagination: MtwContainerPagination;
870
+ containerId: string;
871
+ pagination: Types.MtwContainerPagination;
910
872
  }>;
911
873
  export type ReuseInspectionsQuery = {
912
- __typename?: 'Query';
913
874
  mtwContainerInspectionPage: {
914
- __typename?: 'MtwContainerInspectionPage';
915
875
  total: number;
916
876
  limit: number;
917
877
  offset: number;
918
878
  hasMore: boolean;
919
- nextOffset?: number | null;
879
+ nextOffset: number | null;
920
880
  items: Array<{
921
- __typename?: 'MtwContainerInspection';
922
881
  id: string;
923
882
  containerId: string;
924
883
  inspectedAt: string;
925
- cargoCategory: MtwContainerCargoCategory;
926
- suitability: MtwContainerSuitability;
927
- nextExaminationAt?: string | null;
928
- examinationScheme: MtwContainerExaminationScheme;
884
+ cargoCategory: Types.MtwContainerCargoCategory;
885
+ suitability: Types.MtwContainerSuitability;
886
+ nextExaminationAt: string | null;
887
+ examinationScheme: Types.MtwContainerExaminationScheme;
929
888
  inspectorActorId: string;
930
889
  severeDefectCount: number;
931
- cscPlateVersionId?: string | null;
932
- examinationVersionId?: string | null;
890
+ cscPlateVersionId: string | null;
891
+ examinationVersionId: string | null;
933
892
  }>;
934
893
  };
935
894
  };
936
895
  export type ReuseQualificationsQueryVariables = Exact<{
937
- pagination: MtwContainerPagination;
896
+ pagination: Types.MtwContainerPagination;
938
897
  }>;
939
898
  export type ReuseQualificationsQuery = {
940
- __typename?: 'Query';
941
899
  mtwContainerQualificationPage: {
942
- __typename?: 'MtwInspectorQualificationPage';
943
900
  total: number;
944
901
  limit: number;
945
902
  offset: number;
946
903
  hasMore: boolean;
947
- nextOffset?: number | null;
904
+ nextOffset: number | null;
948
905
  items: Array<{
949
- __typename?: 'MtwInspectorQualification';
950
906
  id: string;
951
907
  subjectActorId: string;
952
908
  issuerName: string;
953
909
  credentialReference: string;
954
- status: MtwContainerQualificationStatus;
910
+ status: Types.MtwContainerQualificationStatus;
955
911
  version: number;
956
912
  validFrom: string;
957
913
  validUntil: string;
958
- scopes: Array<MtwContainerQualificationScope>;
914
+ scopes: Array<Types.MtwContainerQualificationScope>;
959
915
  }>;
960
916
  };
961
917
  };
962
918
  export type ReuseRouteQueryVariables = Exact<{
963
- id: Scalars['ID']['input'];
919
+ id: string;
964
920
  }>;
965
921
  export type ReuseRouteQuery = {
966
- __typename?: 'Query';
967
- route?: {
968
- __typename?: 'MtwRoute';
922
+ route: {
969
923
  id: string;
970
924
  name: string;
971
925
  updatedAt: string;
972
926
  waypoints: unknown;
973
- status: RouteStatus;
927
+ status: Types.RouteStatus;
974
928
  } | null;
975
929
  };
976
930
  export type ReturnInstructionsQueryVariables = Exact<{
977
- cycleId: Scalars['ID']['input'];
978
- pagination: MtwContainerPagination;
931
+ cycleId: string;
932
+ pagination: Types.MtwContainerPagination;
979
933
  }>;
980
934
  export type ReturnInstructionsQuery = {
981
- __typename?: 'Query';
982
935
  mtwEmptyReturnInstructionPage: {
983
- __typename?: 'MtwEmptyReturnInstructionPage';
984
936
  total: number;
985
937
  limit: number;
986
938
  offset: number;
987
939
  hasMore: boolean;
988
- nextOffset?: number | null;
940
+ nextOffset: number | null;
989
941
  items: Array<{
990
- __typename?: 'MtwEmptyReturnInstruction';
991
942
  id: string;
992
943
  cycleId: string;
993
944
  version: number;
@@ -1000,11 +951,10 @@ export type ReturnInstructionsQuery = {
1000
951
  effectiveAt: string;
1001
952
  sourceReference: string;
1002
953
  changeReason: string;
1003
- supersedesInstructionId?: string | null;
954
+ supersedesInstructionId: string | null;
1004
955
  recordedAt: string;
1005
956
  createdBy: string;
1006
957
  evidence: Array<{
1007
- __typename?: 'MtwContainerEvidence';
1008
958
  fileId: string;
1009
959
  versionId: string;
1010
960
  sha256Hash: string;
@@ -1014,20 +964,17 @@ export type ReturnInstructionsQuery = {
1014
964
  };
1015
965
  };
1016
966
  export type ReuseProposalsQueryVariables = Exact<{
1017
- cycleId: Scalars['ID']['input'];
1018
- pagination: MtwContainerPagination;
967
+ cycleId: string;
968
+ pagination: Types.MtwContainerPagination;
1019
969
  }>;
1020
970
  export type ReuseProposalsQuery = {
1021
- __typename?: 'Query';
1022
971
  mtwReuseProposalPage: {
1023
- __typename?: 'MtwReuseProposalPage';
1024
972
  total: number;
1025
973
  limit: number;
1026
974
  offset: number;
1027
975
  hasMore: boolean;
1028
- nextOffset?: number | null;
976
+ nextOffset: number | null;
1029
977
  items: Array<{
1030
- __typename?: 'MtwReuseProposal';
1031
978
  id: string;
1032
979
  cycleId: string;
1033
980
  containerId: string;
@@ -1043,28 +990,24 @@ export type ReuseProposalsQuery = {
1043
990
  handoffLocationReference: string;
1044
991
  handoffFrom: string;
1045
992
  handoffUntil: string;
1046
- requiredEquipmentType: MtwEquipmentType;
1047
- cargoCategory: MtwContainerCargoCategory;
993
+ requiredEquipmentType: Types.MtwEquipmentType;
994
+ cargoCategory: Types.MtwContainerCargoCategory;
1048
995
  recordedAt: string;
1049
996
  createdBy: string;
1050
997
  evidence: Array<{
1051
- __typename?: 'MtwContainerEvidence';
1052
998
  fileId: string;
1053
999
  versionId: string;
1054
1000
  sha256Hash: string;
1055
1001
  checkedAt: string;
1056
1002
  }>;
1057
1003
  assessment: {
1058
- __typename?: 'MtwReuseProposalAssessment';
1059
1004
  schemaVersion: number;
1060
1005
  scopeFingerprint: string;
1061
- conditionQualificationId?: string | null;
1062
- conditionQualificationVersion?: number | null;
1006
+ conditionQualificationId: string | null;
1007
+ conditionQualificationVersion: number | null;
1063
1008
  sources: {
1064
- __typename?: 'MtwReuseSources';
1065
- booking?: {
1066
- __typename?: 'MtwReuseSourceAttestation';
1067
- purpose: MtwReuseSourcePurpose;
1009
+ booking: {
1010
+ purpose: Types.MtwReuseSourcePurpose;
1068
1011
  sourceReference: string;
1069
1012
  sourceRevision: string;
1070
1013
  observedAt: string;
@@ -1074,16 +1017,14 @@ export type ReuseProposalsQuery = {
1074
1017
  recordedByActorId: string;
1075
1018
  scopeFingerprint: string;
1076
1019
  evidence: Array<{
1077
- __typename?: 'MtwContainerEvidence';
1078
1020
  fileId: string;
1079
1021
  versionId: string;
1080
1022
  sha256Hash: string;
1081
1023
  checkedAt: string;
1082
1024
  }>;
1083
1025
  } | null;
1084
- roadAccess?: {
1085
- __typename?: 'MtwReuseSourceAttestation';
1086
- purpose: MtwReuseSourcePurpose;
1026
+ roadAccess: {
1027
+ purpose: Types.MtwReuseSourcePurpose;
1087
1028
  sourceReference: string;
1088
1029
  sourceRevision: string;
1089
1030
  observedAt: string;
@@ -1093,16 +1034,14 @@ export type ReuseProposalsQuery = {
1093
1034
  recordedByActorId: string;
1094
1035
  scopeFingerprint: string;
1095
1036
  evidence: Array<{
1096
- __typename?: 'MtwContainerEvidence';
1097
1037
  fileId: string;
1098
1038
  versionId: string;
1099
1039
  sha256Hash: string;
1100
1040
  checkedAt: string;
1101
1041
  }>;
1102
1042
  } | null;
1103
- conditionSuitability?: {
1104
- __typename?: 'MtwReuseSourceAttestation';
1105
- purpose: MtwReuseSourcePurpose;
1043
+ conditionSuitability: {
1044
+ purpose: Types.MtwReuseSourcePurpose;
1106
1045
  sourceReference: string;
1107
1046
  sourceRevision: string;
1108
1047
  observedAt: string;
@@ -1112,16 +1051,14 @@ export type ReuseProposalsQuery = {
1112
1051
  recordedByActorId: string;
1113
1052
  scopeFingerprint: string;
1114
1053
  evidence: Array<{
1115
- __typename?: 'MtwContainerEvidence';
1116
1054
  fileId: string;
1117
1055
  versionId: string;
1118
1056
  sha256Hash: string;
1119
1057
  checkedAt: string;
1120
1058
  }>;
1121
1059
  } | null;
1122
- retainedReturnPlan?: {
1123
- __typename?: 'MtwReuseSourceAttestation';
1124
- purpose: MtwReuseSourcePurpose;
1060
+ retainedReturnPlan: {
1061
+ purpose: Types.MtwReuseSourcePurpose;
1125
1062
  sourceReference: string;
1126
1063
  sourceRevision: string;
1127
1064
  observedAt: string;
@@ -1131,7 +1068,6 @@ export type ReuseProposalsQuery = {
1131
1068
  recordedByActorId: string;
1132
1069
  scopeFingerprint: string;
1133
1070
  evidence: Array<{
1134
- __typename?: 'MtwContainerEvidence';
1135
1071
  fileId: string;
1136
1072
  versionId: string;
1137
1073
  sha256Hash: string;
@@ -1139,21 +1075,19 @@ export type ReuseProposalsQuery = {
1139
1075
  }>;
1140
1076
  } | null;
1141
1077
  };
1142
- timing?: {
1143
- __typename?: 'MtwReuseTiming';
1078
+ timing: {
1144
1079
  departureAt: string;
1145
1080
  maxTravelSeconds: number;
1146
1081
  maxWaitSeconds: number;
1147
1082
  siteOpenAt: string;
1148
1083
  siteCloseAt: string;
1149
1084
  maxFullReuseAndReturnSeconds: number;
1150
- siteWaitingLocationReference?: string | null;
1151
- returnWaitingLocationReference?: string | null;
1085
+ siteWaitingLocationReference: string | null;
1086
+ returnWaitingLocationReference: string | null;
1152
1087
  plannedReturnFrom: string;
1153
1088
  plannedReturnUntil: string;
1154
1089
  } | null;
1155
- routeBinding?: {
1156
- __typename?: 'MtwReuseRouteBinding';
1090
+ routeBinding: {
1157
1091
  handoffWaypointIndex: number;
1158
1092
  returnWaypointIndex: number;
1159
1093
  handoffWaypointFingerprint: string;
@@ -1167,33 +1101,29 @@ export type ReuseProposalsQuery = {
1167
1101
  };
1168
1102
  };
1169
1103
  export type ReuseApprovalsQueryVariables = Exact<{
1170
- proposalId: Scalars['ID']['input'];
1171
- pagination: MtwContainerPagination;
1104
+ proposalId: string;
1105
+ pagination: Types.MtwContainerPagination;
1172
1106
  }>;
1173
1107
  export type ReuseApprovalsQuery = {
1174
- __typename?: 'Query';
1175
1108
  mtwEquipmentReuseApprovalPage: {
1176
- __typename?: 'MtwEquipmentReuseApprovalPage';
1177
1109
  total: number;
1178
1110
  limit: number;
1179
1111
  offset: number;
1180
1112
  hasMore: boolean;
1181
- nextOffset?: number | null;
1113
+ nextOffset: number | null;
1182
1114
  items: Array<{
1183
- __typename?: 'MtwEquipmentReuseApproval';
1184
1115
  id: string;
1185
1116
  proposalId: string;
1186
- kind: MtwReuseApprovalKind;
1187
- approvalId?: string | null;
1117
+ kind: Types.MtwReuseApprovalKind;
1118
+ approvalId: string | null;
1188
1119
  counterpartyReference: string;
1189
1120
  sourceReference: string;
1190
- validFrom?: string | null;
1191
- validUntil?: string | null;
1121
+ validFrom: string | null;
1122
+ validUntil: string | null;
1192
1123
  note: string;
1193
1124
  recordedAt: string;
1194
1125
  createdBy: string;
1195
1126
  evidence: Array<{
1196
- __typename?: 'MtwContainerEvidence';
1197
1127
  fileId: string;
1198
1128
  versionId: string;
1199
1129
  sha256Hash: string;
@@ -1203,62 +1133,54 @@ export type ReuseApprovalsQuery = {
1203
1133
  };
1204
1134
  };
1205
1135
  export type ReuseEligibilityQueryVariables = Exact<{
1206
- proposalId: Scalars['ID']['input'];
1207
- approvalId?: InputMaybe<Scalars['ID']['input']>;
1136
+ proposalId: string;
1137
+ approvalId?: string | null | undefined;
1208
1138
  }>;
1209
1139
  export type ReuseEligibilityQuery = {
1210
- __typename?: 'Query';
1211
1140
  mtwReuseEligibility: {
1212
- __typename?: 'MtwReuseEligibility';
1213
1141
  proposalId: string;
1214
- approvalId?: string | null;
1142
+ approvalId: string | null;
1215
1143
  evaluatedAt: string;
1216
- status: MtwReuseReadinessStatus;
1144
+ status: Types.MtwReuseReadinessStatus;
1217
1145
  blockers: Array<{
1218
- __typename?: 'MtwReuseBlocker';
1219
1146
  code: string;
1220
- certainty: MtwReuseBlockerCertainty;
1147
+ certainty: Types.MtwReuseBlockerCertainty;
1221
1148
  reason: string;
1222
1149
  }>;
1223
1150
  };
1224
1151
  };
1225
1152
  export type ReuseReservationsQueryVariables = Exact<{
1226
- cycleId: Scalars['ID']['input'];
1227
- pagination: MtwContainerPagination;
1153
+ cycleId: string;
1154
+ pagination: Types.MtwContainerPagination;
1228
1155
  }>;
1229
1156
  export type ReuseReservationsQuery = {
1230
- __typename?: 'Query';
1231
1157
  mtwReuseReservationPage: {
1232
- __typename?: 'MtwReuseReservationPage';
1233
1158
  total: number;
1234
1159
  limit: number;
1235
1160
  offset: number;
1236
1161
  hasMore: boolean;
1237
- nextOffset?: number | null;
1162
+ nextOffset: number | null;
1238
1163
  items: Array<{
1239
- __typename?: 'MtwReuseReservation';
1240
1164
  id: string;
1241
1165
  containerId: string;
1242
1166
  cycleId: string;
1243
1167
  proposalId: string;
1244
1168
  approvalId: string;
1245
- status: MtwReuseReservationStatus;
1169
+ status: Types.MtwReuseReservationStatus;
1246
1170
  version: number;
1247
1171
  handoffUntil: string;
1248
1172
  createdAt: string;
1249
1173
  updatedAt: string;
1250
1174
  createdBy: string;
1251
- updatedBy?: string | null;
1175
+ updatedBy: string | null;
1252
1176
  }>;
1253
1177
  };
1254
1178
  };
1255
1179
  export type RecordReturnInstructionMutationVariables = Exact<{
1256
- input: RecordMtwEmptyReturnInstructionInput;
1180
+ input: Types.RecordMtwEmptyReturnInstructionInput;
1257
1181
  }>;
1258
1182
  export type RecordReturnInstructionMutation = {
1259
- __typename?: 'Mutation';
1260
1183
  recordMtwEmptyReturnInstruction: {
1261
- __typename?: 'MtwEmptyReturnInstruction';
1262
1184
  id: string;
1263
1185
  cycleId: string;
1264
1186
  version: number;
@@ -1271,11 +1193,10 @@ export type RecordReturnInstructionMutation = {
1271
1193
  effectiveAt: string;
1272
1194
  sourceReference: string;
1273
1195
  changeReason: string;
1274
- supersedesInstructionId?: string | null;
1196
+ supersedesInstructionId: string | null;
1275
1197
  recordedAt: string;
1276
1198
  createdBy: string;
1277
1199
  evidence: Array<{
1278
- __typename?: 'MtwContainerEvidence';
1279
1200
  fileId: string;
1280
1201
  versionId: string;
1281
1202
  sha256Hash: string;
@@ -1284,12 +1205,10 @@ export type RecordReturnInstructionMutation = {
1284
1205
  };
1285
1206
  };
1286
1207
  export type RecordReuseProposalMutationVariables = Exact<{
1287
- input: RecordMtwReuseProposalInput;
1208
+ input: Types.RecordMtwReuseProposalInput;
1288
1209
  }>;
1289
1210
  export type RecordReuseProposalMutation = {
1290
- __typename?: 'Mutation';
1291
1211
  recordMtwReuseProposal: {
1292
- __typename?: 'MtwReuseProposal';
1293
1212
  id: string;
1294
1213
  cycleId: string;
1295
1214
  containerId: string;
@@ -1305,28 +1224,24 @@ export type RecordReuseProposalMutation = {
1305
1224
  handoffLocationReference: string;
1306
1225
  handoffFrom: string;
1307
1226
  handoffUntil: string;
1308
- requiredEquipmentType: MtwEquipmentType;
1309
- cargoCategory: MtwContainerCargoCategory;
1227
+ requiredEquipmentType: Types.MtwEquipmentType;
1228
+ cargoCategory: Types.MtwContainerCargoCategory;
1310
1229
  recordedAt: string;
1311
1230
  createdBy: string;
1312
1231
  evidence: Array<{
1313
- __typename?: 'MtwContainerEvidence';
1314
1232
  fileId: string;
1315
1233
  versionId: string;
1316
1234
  sha256Hash: string;
1317
1235
  checkedAt: string;
1318
1236
  }>;
1319
1237
  assessment: {
1320
- __typename?: 'MtwReuseProposalAssessment';
1321
1238
  schemaVersion: number;
1322
1239
  scopeFingerprint: string;
1323
- conditionQualificationId?: string | null;
1324
- conditionQualificationVersion?: number | null;
1240
+ conditionQualificationId: string | null;
1241
+ conditionQualificationVersion: number | null;
1325
1242
  sources: {
1326
- __typename?: 'MtwReuseSources';
1327
- booking?: {
1328
- __typename?: 'MtwReuseSourceAttestation';
1329
- purpose: MtwReuseSourcePurpose;
1243
+ booking: {
1244
+ purpose: Types.MtwReuseSourcePurpose;
1330
1245
  sourceReference: string;
1331
1246
  sourceRevision: string;
1332
1247
  observedAt: string;
@@ -1336,16 +1251,14 @@ export type RecordReuseProposalMutation = {
1336
1251
  recordedByActorId: string;
1337
1252
  scopeFingerprint: string;
1338
1253
  evidence: Array<{
1339
- __typename?: 'MtwContainerEvidence';
1340
1254
  fileId: string;
1341
1255
  versionId: string;
1342
1256
  sha256Hash: string;
1343
1257
  checkedAt: string;
1344
1258
  }>;
1345
1259
  } | null;
1346
- roadAccess?: {
1347
- __typename?: 'MtwReuseSourceAttestation';
1348
- purpose: MtwReuseSourcePurpose;
1260
+ roadAccess: {
1261
+ purpose: Types.MtwReuseSourcePurpose;
1349
1262
  sourceReference: string;
1350
1263
  sourceRevision: string;
1351
1264
  observedAt: string;
@@ -1355,16 +1268,14 @@ export type RecordReuseProposalMutation = {
1355
1268
  recordedByActorId: string;
1356
1269
  scopeFingerprint: string;
1357
1270
  evidence: Array<{
1358
- __typename?: 'MtwContainerEvidence';
1359
1271
  fileId: string;
1360
1272
  versionId: string;
1361
1273
  sha256Hash: string;
1362
1274
  checkedAt: string;
1363
1275
  }>;
1364
1276
  } | null;
1365
- conditionSuitability?: {
1366
- __typename?: 'MtwReuseSourceAttestation';
1367
- purpose: MtwReuseSourcePurpose;
1277
+ conditionSuitability: {
1278
+ purpose: Types.MtwReuseSourcePurpose;
1368
1279
  sourceReference: string;
1369
1280
  sourceRevision: string;
1370
1281
  observedAt: string;
@@ -1374,16 +1285,14 @@ export type RecordReuseProposalMutation = {
1374
1285
  recordedByActorId: string;
1375
1286
  scopeFingerprint: string;
1376
1287
  evidence: Array<{
1377
- __typename?: 'MtwContainerEvidence';
1378
1288
  fileId: string;
1379
1289
  versionId: string;
1380
1290
  sha256Hash: string;
1381
1291
  checkedAt: string;
1382
1292
  }>;
1383
1293
  } | null;
1384
- retainedReturnPlan?: {
1385
- __typename?: 'MtwReuseSourceAttestation';
1386
- purpose: MtwReuseSourcePurpose;
1294
+ retainedReturnPlan: {
1295
+ purpose: Types.MtwReuseSourcePurpose;
1387
1296
  sourceReference: string;
1388
1297
  sourceRevision: string;
1389
1298
  observedAt: string;
@@ -1393,7 +1302,6 @@ export type RecordReuseProposalMutation = {
1393
1302
  recordedByActorId: string;
1394
1303
  scopeFingerprint: string;
1395
1304
  evidence: Array<{
1396
- __typename?: 'MtwContainerEvidence';
1397
1305
  fileId: string;
1398
1306
  versionId: string;
1399
1307
  sha256Hash: string;
@@ -1401,21 +1309,19 @@ export type RecordReuseProposalMutation = {
1401
1309
  }>;
1402
1310
  } | null;
1403
1311
  };
1404
- timing?: {
1405
- __typename?: 'MtwReuseTiming';
1312
+ timing: {
1406
1313
  departureAt: string;
1407
1314
  maxTravelSeconds: number;
1408
1315
  maxWaitSeconds: number;
1409
1316
  siteOpenAt: string;
1410
1317
  siteCloseAt: string;
1411
1318
  maxFullReuseAndReturnSeconds: number;
1412
- siteWaitingLocationReference?: string | null;
1413
- returnWaitingLocationReference?: string | null;
1319
+ siteWaitingLocationReference: string | null;
1320
+ returnWaitingLocationReference: string | null;
1414
1321
  plannedReturnFrom: string;
1415
1322
  plannedReturnUntil: string;
1416
1323
  } | null;
1417
- routeBinding?: {
1418
- __typename?: 'MtwReuseRouteBinding';
1324
+ routeBinding: {
1419
1325
  handoffWaypointIndex: number;
1420
1326
  returnWaypointIndex: number;
1421
1327
  handoffWaypointFingerprint: string;
@@ -1428,25 +1334,22 @@ export type RecordReuseProposalMutation = {
1428
1334
  };
1429
1335
  };
1430
1336
  export type RecordReuseApprovalMutationVariables = Exact<{
1431
- input: RecordMtwEquipmentReuseApprovalInput;
1337
+ input: Types.RecordMtwEquipmentReuseApprovalInput;
1432
1338
  }>;
1433
1339
  export type RecordReuseApprovalMutation = {
1434
- __typename?: 'Mutation';
1435
1340
  recordMtwEquipmentReuseApproval: {
1436
- __typename?: 'MtwEquipmentReuseApproval';
1437
1341
  id: string;
1438
1342
  proposalId: string;
1439
- kind: MtwReuseApprovalKind;
1440
- approvalId?: string | null;
1343
+ kind: Types.MtwReuseApprovalKind;
1344
+ approvalId: string | null;
1441
1345
  counterpartyReference: string;
1442
1346
  sourceReference: string;
1443
- validFrom?: string | null;
1444
- validUntil?: string | null;
1347
+ validFrom: string | null;
1348
+ validUntil: string | null;
1445
1349
  note: string;
1446
1350
  recordedAt: string;
1447
1351
  createdBy: string;
1448
1352
  evidence: Array<{
1449
- __typename?: 'MtwContainerEvidence';
1450
1353
  fileId: string;
1451
1354
  versionId: string;
1452
1355
  sha256Hash: string;
@@ -1455,66 +1358,59 @@ export type RecordReuseApprovalMutation = {
1455
1358
  };
1456
1359
  };
1457
1360
  export type AcceptReuseReservationMutationVariables = Exact<{
1458
- input: AcceptMtwReuseReservationInput;
1361
+ input: Types.AcceptMtwReuseReservationInput;
1459
1362
  }>;
1460
1363
  export type AcceptReuseReservationMutation = {
1461
- __typename?: 'Mutation';
1462
1364
  acceptMtwReuseReservation: {
1463
- __typename?: 'MtwReuseReservation';
1464
1365
  id: string;
1465
1366
  containerId: string;
1466
1367
  cycleId: string;
1467
1368
  proposalId: string;
1468
1369
  approvalId: string;
1469
- status: MtwReuseReservationStatus;
1370
+ status: Types.MtwReuseReservationStatus;
1470
1371
  version: number;
1471
1372
  handoffUntil: string;
1472
1373
  createdAt: string;
1473
1374
  updatedAt: string;
1474
1375
  createdBy: string;
1475
- updatedBy?: string | null;
1376
+ updatedBy: string | null;
1476
1377
  };
1477
1378
  };
1478
1379
  export type TerminateReuseReservationMutationVariables = Exact<{
1479
- input: TerminateMtwReuseReservationInput;
1380
+ input: Types.TerminateMtwReuseReservationInput;
1480
1381
  }>;
1481
1382
  export type TerminateReuseReservationMutation = {
1482
- __typename?: 'Mutation';
1483
1383
  terminateMtwReuseReservation: {
1484
- __typename?: 'MtwReuseReservation';
1485
1384
  id: string;
1486
1385
  containerId: string;
1487
1386
  cycleId: string;
1488
1387
  proposalId: string;
1489
1388
  approvalId: string;
1490
- status: MtwReuseReservationStatus;
1389
+ status: Types.MtwReuseReservationStatus;
1491
1390
  version: number;
1492
1391
  handoffUntil: string;
1493
1392
  createdAt: string;
1494
1393
  updatedAt: string;
1495
1394
  createdBy: string;
1496
- updatedBy?: string | null;
1395
+ updatedBy: string | null;
1497
1396
  };
1498
1397
  };
1499
1398
  export type ReuseReservationTransitionsQueryVariables = Exact<{
1500
- reservationId: Scalars['ID']['input'];
1501
- pagination?: InputMaybe<MtwContainerPagination>;
1399
+ reservationId: string;
1400
+ pagination?: Types.MtwContainerPagination | null | undefined;
1502
1401
  }>;
1503
1402
  export type ReuseReservationTransitionsQuery = {
1504
- __typename?: 'Query';
1505
1403
  mtwReuseReservationTransitionPage: {
1506
- __typename?: 'MtwReuseReservationTransitionPage';
1507
1404
  total: number;
1508
1405
  limit: number;
1509
1406
  offset: number;
1510
1407
  hasMore: boolean;
1511
- nextOffset?: number | null;
1408
+ nextOffset: number | null;
1512
1409
  items: Array<{
1513
- __typename?: 'MtwReuseReservationTransition';
1514
1410
  id: string;
1515
1411
  reservationId: string;
1516
- previousStatus: MtwReuseReservationStatus;
1517
- status: MtwReuseReservationStatus;
1412
+ previousStatus: Types.MtwReuseReservationStatus;
1413
+ status: Types.MtwReuseReservationStatus;
1518
1414
  reason: string;
1519
1415
  recordedAt: string;
1520
1416
  createdBy: string;
@@ -1522,12 +1418,10 @@ export type ReuseReservationTransitionsQuery = {
1522
1418
  };
1523
1419
  };
1524
1420
  export type BoundReturnInstructionQueryVariables = Exact<{
1525
- id: Scalars['ID']['input'];
1421
+ id: string;
1526
1422
  }>;
1527
1423
  export type BoundReturnInstructionQuery = {
1528
- __typename?: 'Query';
1529
1424
  mtwEmptyReturnInstruction: {
1530
- __typename?: 'MtwEmptyReturnInstruction';
1531
1425
  id: string;
1532
1426
  cycleId: string;
1533
1427
  version: number;
@@ -1540,11 +1434,10 @@ export type BoundReturnInstructionQuery = {
1540
1434
  effectiveAt: string;
1541
1435
  sourceReference: string;
1542
1436
  changeReason: string;
1543
- supersedesInstructionId?: string | null;
1437
+ supersedesInstructionId: string | null;
1544
1438
  recordedAt: string;
1545
1439
  createdBy: string;
1546
1440
  evidence: Array<{
1547
- __typename?: 'MtwContainerEvidence';
1548
1441
  fileId: string;
1549
1442
  versionId: string;
1550
1443
  sha256Hash: string;
@@ -1552,27 +1445,28 @@ export type BoundReturnInstructionQuery = {
1552
1445
  }>;
1553
1446
  };
1554
1447
  };
1555
- export declare const ReuseEvidenceFragmentDoc: import('graphql').DocumentNode;
1556
- export declare const ReturnInstructionFieldsFragmentDoc: import('graphql').DocumentNode;
1557
- export declare const ReuseSourceFieldsFragmentDoc: import('graphql').DocumentNode;
1558
- export declare const ReuseProposalFieldsFragmentDoc: import('graphql').DocumentNode;
1559
- export declare const ReuseApprovalFieldsFragmentDoc: import('graphql').DocumentNode;
1560
- export declare const ReuseReservationFieldsFragmentDoc: import('graphql').DocumentNode;
1561
- export declare const ReuseContainersDocument: import('graphql').DocumentNode;
1562
- export declare const ReuseCyclesDocument: import('graphql').DocumentNode;
1563
- export declare const ReuseEventsDocument: import('graphql').DocumentNode;
1564
- export declare const ReuseInspectionsDocument: import('graphql').DocumentNode;
1565
- export declare const ReuseQualificationsDocument: import('graphql').DocumentNode;
1566
- export declare const ReuseRouteDocument: import('graphql').DocumentNode;
1567
- export declare const ReturnInstructionsDocument: import('graphql').DocumentNode;
1568
- export declare const ReuseProposalsDocument: import('graphql').DocumentNode;
1569
- export declare const ReuseApprovalsDocument: import('graphql').DocumentNode;
1570
- export declare const ReuseEligibilityDocument: import('graphql').DocumentNode;
1571
- export declare const ReuseReservationsDocument: import('graphql').DocumentNode;
1572
- export declare const RecordReturnInstructionDocument: import('graphql').DocumentNode;
1573
- export declare const RecordReuseProposalDocument: import('graphql').DocumentNode;
1574
- export declare const RecordReuseApprovalDocument: import('graphql').DocumentNode;
1575
- export declare const AcceptReuseReservationDocument: import('graphql').DocumentNode;
1576
- export declare const TerminateReuseReservationDocument: import('graphql').DocumentNode;
1577
- export declare const ReuseReservationTransitionsDocument: import('graphql').DocumentNode;
1578
- export declare const BoundReturnInstructionDocument: import('graphql').DocumentNode;
1448
+ export declare const ReuseEvidenceFragmentDoc: DocumentNode<ReuseEvidenceFragment, unknown>;
1449
+ export declare const ReturnInstructionFieldsFragmentDoc: DocumentNode<ReturnInstructionFieldsFragment, unknown>;
1450
+ export declare const ReuseSourceFieldsFragmentDoc: DocumentNode<ReuseSourceFieldsFragment, unknown>;
1451
+ export declare const ReuseProposalFieldsFragmentDoc: DocumentNode<ReuseProposalFieldsFragment, unknown>;
1452
+ export declare const ReuseApprovalFieldsFragmentDoc: DocumentNode<ReuseApprovalFieldsFragment, unknown>;
1453
+ export declare const ReuseReservationFieldsFragmentDoc: DocumentNode<ReuseReservationFieldsFragment, unknown>;
1454
+ export declare const ReuseContainersDocument: DocumentNode<ReuseContainersQuery, ReuseContainersQueryVariables>;
1455
+ export declare const ReuseCyclesDocument: DocumentNode<ReuseCyclesQuery, ReuseCyclesQueryVariables>;
1456
+ export declare const ReuseEventsDocument: DocumentNode<ReuseEventsQuery, ReuseEventsQueryVariables>;
1457
+ export declare const ReuseInspectionsDocument: DocumentNode<ReuseInspectionsQuery, ReuseInspectionsQueryVariables>;
1458
+ export declare const ReuseQualificationsDocument: DocumentNode<ReuseQualificationsQuery, ReuseQualificationsQueryVariables>;
1459
+ export declare const ReuseRouteDocument: DocumentNode<ReuseRouteQuery, ReuseRouteQueryVariables>;
1460
+ export declare const ReturnInstructionsDocument: DocumentNode<ReturnInstructionsQuery, ReturnInstructionsQueryVariables>;
1461
+ export declare const ReuseProposalsDocument: DocumentNode<ReuseProposalsQuery, ReuseProposalsQueryVariables>;
1462
+ export declare const ReuseApprovalsDocument: DocumentNode<ReuseApprovalsQuery, ReuseApprovalsQueryVariables>;
1463
+ export declare const ReuseEligibilityDocument: DocumentNode<ReuseEligibilityQuery, ReuseEligibilityQueryVariables>;
1464
+ export declare const ReuseReservationsDocument: DocumentNode<ReuseReservationsQuery, ReuseReservationsQueryVariables>;
1465
+ export declare const RecordReturnInstructionDocument: DocumentNode<RecordReturnInstructionMutation, RecordReturnInstructionMutationVariables>;
1466
+ export declare const RecordReuseProposalDocument: DocumentNode<RecordReuseProposalMutation, RecordReuseProposalMutationVariables>;
1467
+ export declare const RecordReuseApprovalDocument: DocumentNode<RecordReuseApprovalMutation, RecordReuseApprovalMutationVariables>;
1468
+ export declare const AcceptReuseReservationDocument: DocumentNode<AcceptReuseReservationMutation, AcceptReuseReservationMutationVariables>;
1469
+ export declare const TerminateReuseReservationDocument: DocumentNode<TerminateReuseReservationMutation, TerminateReuseReservationMutationVariables>;
1470
+ export declare const ReuseReservationTransitionsDocument: DocumentNode<ReuseReservationTransitionsQuery, ReuseReservationTransitionsQueryVariables>;
1471
+ export declare const BoundReturnInstructionDocument: DocumentNode<BoundReturnInstructionQuery, BoundReturnInstructionQueryVariables>;
1472
+ export {};