@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,11 +1,12 @@
1
- import { gql } from '@apollo/client';
1
+ /** Internal type. DO NOT USE DIRECTLY. */
2
+ type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
3
+ /** Internal type. DO NOT USE DIRECTLY. */
4
+ export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
5
+ import type * as Types from './empty-reuse-operations';
6
+
7
+ import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
2
8
  export type Maybe<T> = T | null;
3
9
  export type InputMaybe<T> = Maybe<T>;
4
- export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
5
- export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
6
- export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
7
- export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };
8
- export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
9
10
  /** All built-in and custom scalars, mapped to their actual values */
10
11
  export type Scalars = {
11
12
  ID: { input: string; output: string; }
@@ -733,916 +734,174 @@ export type TerminateMtwReuseReservationInput = {
733
734
  status: MtwReuseReservationTerminalStatus;
734
735
  };
735
736
 
736
- export type ReuseEvidenceFragment = { __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string };
737
+ export type ReuseEvidenceFragment = { fileId: string, versionId: string, sha256Hash: string, checkedAt: string };
737
738
 
738
- export type ReturnInstructionFieldsFragment = { __typename?: 'MtwEmptyReturnInstruction', id: string, cycleId: string, version: number, ownerReference: string, bookingReference: string, depotReference: string, locationReference: string, returnFrom: string, returnUntil: string, effectiveAt: string, sourceReference: string, changeReason: string, supersedesInstructionId?: string | null, recordedAt: string, createdBy: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> };
739
+ export type ReturnInstructionFieldsFragment = { id: string, cycleId: string, version: number, ownerReference: string, bookingReference: string, depotReference: string, locationReference: string, returnFrom: string, returnUntil: string, effectiveAt: string, sourceReference: string, changeReason: string, supersedesInstructionId: string | null, recordedAt: string, createdBy: string, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> };
739
740
 
740
- export type ReuseSourceFieldsFragment = { __typename?: 'MtwReuseSourceAttestation', purpose: MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> };
741
+ export type ReuseSourceFieldsFragment = { purpose: Types.MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> };
741
742
 
742
- export type ReuseProposalFieldsFragment = { __typename?: 'MtwReuseProposal', id: string, cycleId: string, containerId: string, instructionId: string, proposalReference: string, revision: number, emptyEventId: string, inspectionId: string, transportRouteId: string, transportRouteUpdatedAt: string, exportBookingReference: string, exporterReference: string, handoffLocationReference: string, handoffFrom: string, handoffUntil: string, requiredEquipmentType: MtwEquipmentType, cargoCategory: MtwContainerCargoCategory, recordedAt: string, createdBy: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }>, assessment: { __typename?: 'MtwReuseProposalAssessment', schemaVersion: number, scopeFingerprint: string, conditionQualificationId?: string | null, conditionQualificationVersion?: number | null, sources: { __typename?: 'MtwReuseSources', booking?: { __typename?: 'MtwReuseSourceAttestation', purpose: MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } | null, roadAccess?: { __typename?: 'MtwReuseSourceAttestation', purpose: MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } | null, conditionSuitability?: { __typename?: 'MtwReuseSourceAttestation', purpose: MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } | null, retainedReturnPlan?: { __typename?: 'MtwReuseSourceAttestation', purpose: MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } | null }, timing?: { __typename?: 'MtwReuseTiming', departureAt: string, maxTravelSeconds: number, maxWaitSeconds: number, siteOpenAt: string, siteCloseAt: string, maxFullReuseAndReturnSeconds: number, siteWaitingLocationReference?: string | null, returnWaitingLocationReference?: string | null, plannedReturnFrom: string, plannedReturnUntil: string } | null, routeBinding?: { __typename?: 'MtwReuseRouteBinding', handoffWaypointIndex: number, returnWaypointIndex: number, handoffWaypointFingerprint: string, returnWaypointFingerprint: string, routeWaypointsFingerprint: string, handoffLocationReference: string, returnLocationReference: string } | null } };
743
+ export type ReuseProposalFieldsFragment = { id: string, cycleId: string, containerId: string, instructionId: string, proposalReference: string, revision: number, emptyEventId: string, inspectionId: string, transportRouteId: string, transportRouteUpdatedAt: string, exportBookingReference: string, exporterReference: string, handoffLocationReference: string, handoffFrom: string, handoffUntil: string, requiredEquipmentType: Types.MtwEquipmentType, cargoCategory: Types.MtwContainerCargoCategory, recordedAt: string, createdBy: string, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }>, assessment: { schemaVersion: number, scopeFingerprint: string, conditionQualificationId: string | null, conditionQualificationVersion: number | null, sources: { booking: { purpose: Types.MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } | null, roadAccess: { purpose: Types.MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } | null, conditionSuitability: { purpose: Types.MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } | null, retainedReturnPlan: { purpose: Types.MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } | null }, timing: { departureAt: string, maxTravelSeconds: number, maxWaitSeconds: number, siteOpenAt: string, siteCloseAt: string, maxFullReuseAndReturnSeconds: number, siteWaitingLocationReference: string | null, returnWaitingLocationReference: string | null, plannedReturnFrom: string, plannedReturnUntil: string } | null, routeBinding: { handoffWaypointIndex: number, returnWaypointIndex: number, handoffWaypointFingerprint: string, returnWaypointFingerprint: string, routeWaypointsFingerprint: string, handoffLocationReference: string, returnLocationReference: string } | null } };
743
744
 
744
- export type ReuseApprovalFieldsFragment = { __typename?: 'MtwEquipmentReuseApproval', id: string, proposalId: string, kind: MtwReuseApprovalKind, approvalId?: string | null, counterpartyReference: string, sourceReference: string, validFrom?: string | null, validUntil?: string | null, note: string, recordedAt: string, createdBy: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> };
745
+ export type ReuseApprovalFieldsFragment = { id: string, proposalId: string, kind: Types.MtwReuseApprovalKind, approvalId: string | null, counterpartyReference: string, sourceReference: string, validFrom: string | null, validUntil: string | null, note: string, recordedAt: string, createdBy: string, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> };
745
746
 
746
- export type ReuseReservationFieldsFragment = { __typename?: 'MtwReuseReservation', id: string, containerId: string, cycleId: string, proposalId: string, approvalId: string, status: MtwReuseReservationStatus, version: number, handoffUntil: string, createdAt: string, updatedAt: string, createdBy: string, updatedBy?: string | null };
747
+ export type ReuseReservationFieldsFragment = { id: string, containerId: string, cycleId: string, proposalId: string, approvalId: string, status: Types.MtwReuseReservationStatus, version: number, handoffUntil: string, createdAt: string, updatedAt: string, createdBy: string, updatedBy: string | null };
747
748
 
748
749
  export type ReuseContainersQueryVariables = Exact<{
749
- pagination: MtwContainerPagination;
750
+ pagination: Types.MtwContainerPagination;
750
751
  }>;
751
752
 
752
753
 
753
- export type ReuseContainersQuery = { __typename?: 'Query', mtwContainerPage: { __typename?: 'MtwContainerPage', total: number, limit: number, offset: number, hasMore: boolean, nextOffset?: number | null, items: Array<{ __typename?: 'MtwContainer', id: string, containerNumber: string, equipmentType: MtwEquipmentType, ownerName?: string | null }> } };
754
+ export type ReuseContainersQuery = { mtwContainerPage: { total: number, limit: number, offset: number, hasMore: boolean, nextOffset: number | null, items: Array<{ id: string, containerNumber: string, equipmentType: Types.MtwEquipmentType, ownerName: string | null }> } };
754
755
 
755
756
  export type ReuseCyclesQueryVariables = Exact<{
756
- containerId: Scalars['ID']['input'];
757
- pagination: MtwContainerPagination;
757
+ containerId: string;
758
+ pagination: Types.MtwContainerPagination;
758
759
  }>;
759
760
 
760
761
 
761
- export type ReuseCyclesQuery = { __typename?: 'Query', mtwContainerCyclePage: { __typename?: 'MtwContainerCyclePage', total: number, limit: number, offset: number, hasMore: boolean, nextOffset?: number | null, items: Array<{ __typename?: 'MtwContainerCycle', id: string, containerId: string, status: MtwContainerCycleStatus, bookingReference?: string | null, openedAt: string, version: number, updatedAt: string }> } };
762
+ export type ReuseCyclesQuery = { mtwContainerCyclePage: { total: number, limit: number, offset: number, hasMore: boolean, nextOffset: number | null, items: Array<{ id: string, containerId: string, status: Types.MtwContainerCycleStatus, bookingReference: string | null, openedAt: string, version: number, updatedAt: string }> } };
762
763
 
763
764
  export type ReuseEventsQueryVariables = Exact<{
764
- cycleId: Scalars['ID']['input'];
765
- pagination: MtwContainerPagination;
765
+ cycleId: string;
766
+ pagination: Types.MtwContainerPagination;
766
767
  }>;
767
768
 
768
769
 
769
- export type ReuseEventsQuery = { __typename?: 'Query', mtwContainerEventPage: { __typename?: 'MtwContainerEventPage', total: number, limit: number, offset: number, hasMore: boolean, nextOffset?: number | null, items: Array<{ __typename?: 'MtwContainerEvent', id: string, eventType: MtwContainerEventType, kind: MtwContainerEventKind, occurredAt: string, receivedAt: string, source: string, sourceReference?: string | null, location?: string | null }> } };
770
+ export type ReuseEventsQuery = { mtwContainerEventPage: { total: number, limit: number, offset: number, hasMore: boolean, nextOffset: number | null, items: Array<{ id: string, eventType: Types.MtwContainerEventType, kind: Types.MtwContainerEventKind, occurredAt: string, receivedAt: string, source: string, sourceReference: string | null, location: string | null }> } };
770
771
 
771
772
  export type ReuseInspectionsQueryVariables = Exact<{
772
- containerId: Scalars['ID']['input'];
773
- pagination: MtwContainerPagination;
773
+ containerId: string;
774
+ pagination: Types.MtwContainerPagination;
774
775
  }>;
775
776
 
776
777
 
777
- export type ReuseInspectionsQuery = { __typename?: 'Query', mtwContainerInspectionPage: { __typename?: 'MtwContainerInspectionPage', total: number, limit: number, offset: number, hasMore: boolean, nextOffset?: number | null, items: Array<{ __typename?: 'MtwContainerInspection', id: string, containerId: string, inspectedAt: string, cargoCategory: MtwContainerCargoCategory, suitability: MtwContainerSuitability, nextExaminationAt?: string | null, examinationScheme: MtwContainerExaminationScheme, inspectorActorId: string, severeDefectCount: number, cscPlateVersionId?: string | null, examinationVersionId?: string | null }> } };
778
+ export type ReuseInspectionsQuery = { mtwContainerInspectionPage: { total: number, limit: number, offset: number, hasMore: boolean, nextOffset: number | null, items: Array<{ id: string, containerId: string, inspectedAt: string, cargoCategory: Types.MtwContainerCargoCategory, suitability: Types.MtwContainerSuitability, nextExaminationAt: string | null, examinationScheme: Types.MtwContainerExaminationScheme, inspectorActorId: string, severeDefectCount: number, cscPlateVersionId: string | null, examinationVersionId: string | null }> } };
778
779
 
779
780
  export type ReuseQualificationsQueryVariables = Exact<{
780
- pagination: MtwContainerPagination;
781
+ pagination: Types.MtwContainerPagination;
781
782
  }>;
782
783
 
783
784
 
784
- export type ReuseQualificationsQuery = { __typename?: 'Query', mtwContainerQualificationPage: { __typename?: 'MtwInspectorQualificationPage', total: number, limit: number, offset: number, hasMore: boolean, nextOffset?: number | null, items: Array<{ __typename?: 'MtwInspectorQualification', id: string, subjectActorId: string, issuerName: string, credentialReference: string, status: MtwContainerQualificationStatus, version: number, validFrom: string, validUntil: string, scopes: Array<MtwContainerQualificationScope> }> } };
785
+ export type ReuseQualificationsQuery = { mtwContainerQualificationPage: { total: number, limit: number, offset: number, hasMore: boolean, nextOffset: number | null, items: Array<{ id: string, subjectActorId: string, issuerName: string, credentialReference: string, status: Types.MtwContainerQualificationStatus, version: number, validFrom: string, validUntil: string, scopes: Array<Types.MtwContainerQualificationScope> }> } };
785
786
 
786
787
  export type ReuseRouteQueryVariables = Exact<{
787
- id: Scalars['ID']['input'];
788
+ id: string;
788
789
  }>;
789
790
 
790
791
 
791
- export type ReuseRouteQuery = { __typename?: 'Query', route?: { __typename?: 'MtwRoute', id: string, name: string, updatedAt: string, waypoints: unknown, status: RouteStatus } | null };
792
+ export type ReuseRouteQuery = { route: { id: string, name: string, updatedAt: string, waypoints: unknown, status: Types.RouteStatus } | null };
792
793
 
793
794
  export type ReturnInstructionsQueryVariables = Exact<{
794
- cycleId: Scalars['ID']['input'];
795
- pagination: MtwContainerPagination;
795
+ cycleId: string;
796
+ pagination: Types.MtwContainerPagination;
796
797
  }>;
797
798
 
798
799
 
799
- export type ReturnInstructionsQuery = { __typename?: 'Query', mtwEmptyReturnInstructionPage: { __typename?: 'MtwEmptyReturnInstructionPage', total: number, limit: number, offset: number, hasMore: boolean, nextOffset?: number | null, items: Array<{ __typename?: 'MtwEmptyReturnInstruction', id: string, cycleId: string, version: number, ownerReference: string, bookingReference: string, depotReference: string, locationReference: string, returnFrom: string, returnUntil: string, effectiveAt: string, sourceReference: string, changeReason: string, supersedesInstructionId?: string | null, recordedAt: string, createdBy: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> }> } };
800
+ export type ReturnInstructionsQuery = { mtwEmptyReturnInstructionPage: { total: number, limit: number, offset: number, hasMore: boolean, nextOffset: number | null, items: Array<{ id: string, cycleId: string, version: number, ownerReference: string, bookingReference: string, depotReference: string, locationReference: string, returnFrom: string, returnUntil: string, effectiveAt: string, sourceReference: string, changeReason: string, supersedesInstructionId: string | null, recordedAt: string, createdBy: string, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> }> } };
800
801
 
801
802
  export type ReuseProposalsQueryVariables = Exact<{
802
- cycleId: Scalars['ID']['input'];
803
- pagination: MtwContainerPagination;
803
+ cycleId: string;
804
+ pagination: Types.MtwContainerPagination;
804
805
  }>;
805
806
 
806
807
 
807
- export type ReuseProposalsQuery = { __typename?: 'Query', mtwReuseProposalPage: { __typename?: 'MtwReuseProposalPage', total: number, limit: number, offset: number, hasMore: boolean, nextOffset?: number | null, items: Array<{ __typename?: 'MtwReuseProposal', id: string, cycleId: string, containerId: string, instructionId: string, proposalReference: string, revision: number, emptyEventId: string, inspectionId: string, transportRouteId: string, transportRouteUpdatedAt: string, exportBookingReference: string, exporterReference: string, handoffLocationReference: string, handoffFrom: string, handoffUntil: string, requiredEquipmentType: MtwEquipmentType, cargoCategory: MtwContainerCargoCategory, recordedAt: string, createdBy: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }>, assessment: { __typename?: 'MtwReuseProposalAssessment', schemaVersion: number, scopeFingerprint: string, conditionQualificationId?: string | null, conditionQualificationVersion?: number | null, sources: { __typename?: 'MtwReuseSources', booking?: { __typename?: 'MtwReuseSourceAttestation', purpose: MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } | null, roadAccess?: { __typename?: 'MtwReuseSourceAttestation', purpose: MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } | null, conditionSuitability?: { __typename?: 'MtwReuseSourceAttestation', purpose: MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } | null, retainedReturnPlan?: { __typename?: 'MtwReuseSourceAttestation', purpose: MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } | null }, timing?: { __typename?: 'MtwReuseTiming', departureAt: string, maxTravelSeconds: number, maxWaitSeconds: number, siteOpenAt: string, siteCloseAt: string, maxFullReuseAndReturnSeconds: number, siteWaitingLocationReference?: string | null, returnWaitingLocationReference?: string | null, plannedReturnFrom: string, plannedReturnUntil: string } | null, routeBinding?: { __typename?: 'MtwReuseRouteBinding', handoffWaypointIndex: number, returnWaypointIndex: number, handoffWaypointFingerprint: string, returnWaypointFingerprint: string, routeWaypointsFingerprint: string, handoffLocationReference: string, returnLocationReference: string } | null } }> } };
808
+ export type ReuseProposalsQuery = { mtwReuseProposalPage: { total: number, limit: number, offset: number, hasMore: boolean, nextOffset: number | null, items: Array<{ id: string, cycleId: string, containerId: string, instructionId: string, proposalReference: string, revision: number, emptyEventId: string, inspectionId: string, transportRouteId: string, transportRouteUpdatedAt: string, exportBookingReference: string, exporterReference: string, handoffLocationReference: string, handoffFrom: string, handoffUntil: string, requiredEquipmentType: Types.MtwEquipmentType, cargoCategory: Types.MtwContainerCargoCategory, recordedAt: string, createdBy: string, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }>, assessment: { schemaVersion: number, scopeFingerprint: string, conditionQualificationId: string | null, conditionQualificationVersion: number | null, sources: { booking: { purpose: Types.MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } | null, roadAccess: { purpose: Types.MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } | null, conditionSuitability: { purpose: Types.MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } | null, retainedReturnPlan: { purpose: Types.MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } | null }, timing: { departureAt: string, maxTravelSeconds: number, maxWaitSeconds: number, siteOpenAt: string, siteCloseAt: string, maxFullReuseAndReturnSeconds: number, siteWaitingLocationReference: string | null, returnWaitingLocationReference: string | null, plannedReturnFrom: string, plannedReturnUntil: string } | null, routeBinding: { handoffWaypointIndex: number, returnWaypointIndex: number, handoffWaypointFingerprint: string, returnWaypointFingerprint: string, routeWaypointsFingerprint: string, handoffLocationReference: string, returnLocationReference: string } | null } }> } };
808
809
 
809
810
  export type ReuseApprovalsQueryVariables = Exact<{
810
- proposalId: Scalars['ID']['input'];
811
- pagination: MtwContainerPagination;
811
+ proposalId: string;
812
+ pagination: Types.MtwContainerPagination;
812
813
  }>;
813
814
 
814
815
 
815
- export type ReuseApprovalsQuery = { __typename?: 'Query', mtwEquipmentReuseApprovalPage: { __typename?: 'MtwEquipmentReuseApprovalPage', total: number, limit: number, offset: number, hasMore: boolean, nextOffset?: number | null, items: Array<{ __typename?: 'MtwEquipmentReuseApproval', id: string, proposalId: string, kind: MtwReuseApprovalKind, approvalId?: string | null, counterpartyReference: string, sourceReference: string, validFrom?: string | null, validUntil?: string | null, note: string, recordedAt: string, createdBy: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> }> } };
816
+ export type ReuseApprovalsQuery = { mtwEquipmentReuseApprovalPage: { total: number, limit: number, offset: number, hasMore: boolean, nextOffset: number | null, items: Array<{ id: string, proposalId: string, kind: Types.MtwReuseApprovalKind, approvalId: string | null, counterpartyReference: string, sourceReference: string, validFrom: string | null, validUntil: string | null, note: string, recordedAt: string, createdBy: string, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> }> } };
816
817
 
817
818
  export type ReuseEligibilityQueryVariables = Exact<{
818
- proposalId: Scalars['ID']['input'];
819
- approvalId?: InputMaybe<Scalars['ID']['input']>;
819
+ proposalId: string;
820
+ approvalId?: string | null | undefined;
820
821
  }>;
821
822
 
822
823
 
823
- export type ReuseEligibilityQuery = { __typename?: 'Query', mtwReuseEligibility: { __typename?: 'MtwReuseEligibility', proposalId: string, approvalId?: string | null, evaluatedAt: string, status: MtwReuseReadinessStatus, blockers: Array<{ __typename?: 'MtwReuseBlocker', code: string, certainty: MtwReuseBlockerCertainty, reason: string }> } };
824
+ export type ReuseEligibilityQuery = { mtwReuseEligibility: { proposalId: string, approvalId: string | null, evaluatedAt: string, status: Types.MtwReuseReadinessStatus, blockers: Array<{ code: string, certainty: Types.MtwReuseBlockerCertainty, reason: string }> } };
824
825
 
825
826
  export type ReuseReservationsQueryVariables = Exact<{
826
- cycleId: Scalars['ID']['input'];
827
- pagination: MtwContainerPagination;
827
+ cycleId: string;
828
+ pagination: Types.MtwContainerPagination;
828
829
  }>;
829
830
 
830
831
 
831
- export type ReuseReservationsQuery = { __typename?: 'Query', mtwReuseReservationPage: { __typename?: 'MtwReuseReservationPage', total: number, limit: number, offset: number, hasMore: boolean, nextOffset?: number | null, items: Array<{ __typename?: 'MtwReuseReservation', id: string, containerId: string, cycleId: string, proposalId: string, approvalId: string, status: MtwReuseReservationStatus, version: number, handoffUntil: string, createdAt: string, updatedAt: string, createdBy: string, updatedBy?: string | null }> } };
832
+ export type ReuseReservationsQuery = { mtwReuseReservationPage: { total: number, limit: number, offset: number, hasMore: boolean, nextOffset: number | null, items: Array<{ id: string, containerId: string, cycleId: string, proposalId: string, approvalId: string, status: Types.MtwReuseReservationStatus, version: number, handoffUntil: string, createdAt: string, updatedAt: string, createdBy: string, updatedBy: string | null }> } };
832
833
 
833
834
  export type RecordReturnInstructionMutationVariables = Exact<{
834
- input: RecordMtwEmptyReturnInstructionInput;
835
+ input: Types.RecordMtwEmptyReturnInstructionInput;
835
836
  }>;
836
837
 
837
838
 
838
- export type RecordReturnInstructionMutation = { __typename?: 'Mutation', recordMtwEmptyReturnInstruction: { __typename?: 'MtwEmptyReturnInstruction', id: string, cycleId: string, version: number, ownerReference: string, bookingReference: string, depotReference: string, locationReference: string, returnFrom: string, returnUntil: string, effectiveAt: string, sourceReference: string, changeReason: string, supersedesInstructionId?: string | null, recordedAt: string, createdBy: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } };
839
+ export type RecordReturnInstructionMutation = { recordMtwEmptyReturnInstruction: { id: string, cycleId: string, version: number, ownerReference: string, bookingReference: string, depotReference: string, locationReference: string, returnFrom: string, returnUntil: string, effectiveAt: string, sourceReference: string, changeReason: string, supersedesInstructionId: string | null, recordedAt: string, createdBy: string, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } };
839
840
 
840
841
  export type RecordReuseProposalMutationVariables = Exact<{
841
- input: RecordMtwReuseProposalInput;
842
+ input: Types.RecordMtwReuseProposalInput;
842
843
  }>;
843
844
 
844
845
 
845
- export type RecordReuseProposalMutation = { __typename?: 'Mutation', recordMtwReuseProposal: { __typename?: 'MtwReuseProposal', id: string, cycleId: string, containerId: string, instructionId: string, proposalReference: string, revision: number, emptyEventId: string, inspectionId: string, transportRouteId: string, transportRouteUpdatedAt: string, exportBookingReference: string, exporterReference: string, handoffLocationReference: string, handoffFrom: string, handoffUntil: string, requiredEquipmentType: MtwEquipmentType, cargoCategory: MtwContainerCargoCategory, recordedAt: string, createdBy: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }>, assessment: { __typename?: 'MtwReuseProposalAssessment', schemaVersion: number, scopeFingerprint: string, conditionQualificationId?: string | null, conditionQualificationVersion?: number | null, sources: { __typename?: 'MtwReuseSources', booking?: { __typename?: 'MtwReuseSourceAttestation', purpose: MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } | null, roadAccess?: { __typename?: 'MtwReuseSourceAttestation', purpose: MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } | null, conditionSuitability?: { __typename?: 'MtwReuseSourceAttestation', purpose: MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } | null, retainedReturnPlan?: { __typename?: 'MtwReuseSourceAttestation', purpose: MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } | null }, timing?: { __typename?: 'MtwReuseTiming', departureAt: string, maxTravelSeconds: number, maxWaitSeconds: number, siteOpenAt: string, siteCloseAt: string, maxFullReuseAndReturnSeconds: number, siteWaitingLocationReference?: string | null, returnWaitingLocationReference?: string | null, plannedReturnFrom: string, plannedReturnUntil: string } | null, routeBinding?: { __typename?: 'MtwReuseRouteBinding', handoffWaypointIndex: number, returnWaypointIndex: number, handoffWaypointFingerprint: string, returnWaypointFingerprint: string, routeWaypointsFingerprint: string, handoffLocationReference: string, returnLocationReference: string } | null } } };
846
+ export type RecordReuseProposalMutation = { recordMtwReuseProposal: { id: string, cycleId: string, containerId: string, instructionId: string, proposalReference: string, revision: number, emptyEventId: string, inspectionId: string, transportRouteId: string, transportRouteUpdatedAt: string, exportBookingReference: string, exporterReference: string, handoffLocationReference: string, handoffFrom: string, handoffUntil: string, requiredEquipmentType: Types.MtwEquipmentType, cargoCategory: Types.MtwContainerCargoCategory, recordedAt: string, createdBy: string, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }>, assessment: { schemaVersion: number, scopeFingerprint: string, conditionQualificationId: string | null, conditionQualificationVersion: number | null, sources: { booking: { purpose: Types.MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } | null, roadAccess: { purpose: Types.MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } | null, conditionSuitability: { purpose: Types.MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } | null, retainedReturnPlan: { purpose: Types.MtwReuseSourcePurpose, sourceReference: string, sourceRevision: string, observedAt: string, recordedAt: string, validFrom: string, validUntil: string, recordedByActorId: string, scopeFingerprint: string, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } | null }, timing: { departureAt: string, maxTravelSeconds: number, maxWaitSeconds: number, siteOpenAt: string, siteCloseAt: string, maxFullReuseAndReturnSeconds: number, siteWaitingLocationReference: string | null, returnWaitingLocationReference: string | null, plannedReturnFrom: string, plannedReturnUntil: string } | null, routeBinding: { handoffWaypointIndex: number, returnWaypointIndex: number, handoffWaypointFingerprint: string, returnWaypointFingerprint: string, routeWaypointsFingerprint: string, handoffLocationReference: string, returnLocationReference: string } | null } } };
846
847
 
847
848
  export type RecordReuseApprovalMutationVariables = Exact<{
848
- input: RecordMtwEquipmentReuseApprovalInput;
849
+ input: Types.RecordMtwEquipmentReuseApprovalInput;
849
850
  }>;
850
851
 
851
852
 
852
- export type RecordReuseApprovalMutation = { __typename?: 'Mutation', recordMtwEquipmentReuseApproval: { __typename?: 'MtwEquipmentReuseApproval', id: string, proposalId: string, kind: MtwReuseApprovalKind, approvalId?: string | null, counterpartyReference: string, sourceReference: string, validFrom?: string | null, validUntil?: string | null, note: string, recordedAt: string, createdBy: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } };
853
+ export type RecordReuseApprovalMutation = { recordMtwEquipmentReuseApproval: { id: string, proposalId: string, kind: Types.MtwReuseApprovalKind, approvalId: string | null, counterpartyReference: string, sourceReference: string, validFrom: string | null, validUntil: string | null, note: string, recordedAt: string, createdBy: string, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } };
853
854
 
854
855
  export type AcceptReuseReservationMutationVariables = Exact<{
855
- input: AcceptMtwReuseReservationInput;
856
+ input: Types.AcceptMtwReuseReservationInput;
856
857
  }>;
857
858
 
858
859
 
859
- export type AcceptReuseReservationMutation = { __typename?: 'Mutation', acceptMtwReuseReservation: { __typename?: 'MtwReuseReservation', id: string, containerId: string, cycleId: string, proposalId: string, approvalId: string, status: MtwReuseReservationStatus, version: number, handoffUntil: string, createdAt: string, updatedAt: string, createdBy: string, updatedBy?: string | null } };
860
+ export type AcceptReuseReservationMutation = { acceptMtwReuseReservation: { id: string, containerId: string, cycleId: string, proposalId: string, approvalId: string, status: Types.MtwReuseReservationStatus, version: number, handoffUntil: string, createdAt: string, updatedAt: string, createdBy: string, updatedBy: string | null } };
860
861
 
861
862
  export type TerminateReuseReservationMutationVariables = Exact<{
862
- input: TerminateMtwReuseReservationInput;
863
+ input: Types.TerminateMtwReuseReservationInput;
863
864
  }>;
864
865
 
865
866
 
866
- export type TerminateReuseReservationMutation = { __typename?: 'Mutation', terminateMtwReuseReservation: { __typename?: 'MtwReuseReservation', id: string, containerId: string, cycleId: string, proposalId: string, approvalId: string, status: MtwReuseReservationStatus, version: number, handoffUntil: string, createdAt: string, updatedAt: string, createdBy: string, updatedBy?: string | null } };
867
+ export type TerminateReuseReservationMutation = { terminateMtwReuseReservation: { id: string, containerId: string, cycleId: string, proposalId: string, approvalId: string, status: Types.MtwReuseReservationStatus, version: number, handoffUntil: string, createdAt: string, updatedAt: string, createdBy: string, updatedBy: string | null } };
867
868
 
868
869
  export type ReuseReservationTransitionsQueryVariables = Exact<{
869
- reservationId: Scalars['ID']['input'];
870
- pagination?: InputMaybe<MtwContainerPagination>;
870
+ reservationId: string;
871
+ pagination?: Types.MtwContainerPagination | null | undefined;
871
872
  }>;
872
873
 
873
874
 
874
- export type ReuseReservationTransitionsQuery = { __typename?: 'Query', mtwReuseReservationTransitionPage: { __typename?: 'MtwReuseReservationTransitionPage', total: number, limit: number, offset: number, hasMore: boolean, nextOffset?: number | null, items: Array<{ __typename?: 'MtwReuseReservationTransition', id: string, reservationId: string, previousStatus: MtwReuseReservationStatus, status: MtwReuseReservationStatus, reason: string, recordedAt: string, createdBy: string }> } };
875
+ export type ReuseReservationTransitionsQuery = { mtwReuseReservationTransitionPage: { total: number, limit: number, offset: number, hasMore: boolean, nextOffset: number | null, items: Array<{ id: string, reservationId: string, previousStatus: Types.MtwReuseReservationStatus, status: Types.MtwReuseReservationStatus, reason: string, recordedAt: string, createdBy: string }> } };
875
876
 
876
877
  export type BoundReturnInstructionQueryVariables = Exact<{
877
- id: Scalars['ID']['input'];
878
+ id: string;
878
879
  }>;
879
880
 
880
881
 
881
- export type BoundReturnInstructionQuery = { __typename?: 'Query', mtwEmptyReturnInstruction: { __typename?: 'MtwEmptyReturnInstruction', id: string, cycleId: string, version: number, ownerReference: string, bookingReference: string, depotReference: string, locationReference: string, returnFrom: string, returnUntil: string, effectiveAt: string, sourceReference: string, changeReason: string, supersedesInstructionId?: string | null, recordedAt: string, createdBy: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } };
882
-
883
- export const ReuseEvidenceFragmentDoc = gql`
884
- fragment ReuseEvidence on MtwContainerEvidence {
885
- fileId
886
- versionId
887
- sha256Hash
888
- checkedAt
889
- }
890
- `;
891
- export const ReturnInstructionFieldsFragmentDoc = gql`
892
- fragment ReturnInstructionFields on MtwEmptyReturnInstruction {
893
- id
894
- cycleId
895
- version
896
- ownerReference
897
- bookingReference
898
- depotReference
899
- locationReference
900
- returnFrom
901
- returnUntil
902
- effectiveAt
903
- sourceReference
904
- changeReason
905
- supersedesInstructionId
906
- recordedAt
907
- createdBy
908
- evidence {
909
- ...ReuseEvidence
910
- }
911
- }
912
- ${ReuseEvidenceFragmentDoc}`;
913
- export const ReuseSourceFieldsFragmentDoc = gql`
914
- fragment ReuseSourceFields on MtwReuseSourceAttestation {
915
- purpose
916
- sourceReference
917
- sourceRevision
918
- observedAt
919
- recordedAt
920
- validFrom
921
- validUntil
922
- recordedByActorId
923
- scopeFingerprint
924
- evidence {
925
- ...ReuseEvidence
926
- }
927
- }
928
- ${ReuseEvidenceFragmentDoc}`;
929
- export const ReuseProposalFieldsFragmentDoc = gql`
930
- fragment ReuseProposalFields on MtwReuseProposal {
931
- id
932
- cycleId
933
- containerId
934
- instructionId
935
- proposalReference
936
- revision
937
- emptyEventId
938
- inspectionId
939
- transportRouteId
940
- transportRouteUpdatedAt
941
- exportBookingReference
942
- exporterReference
943
- handoffLocationReference
944
- handoffFrom
945
- handoffUntil
946
- requiredEquipmentType
947
- cargoCategory
948
- recordedAt
949
- createdBy
950
- evidence {
951
- ...ReuseEvidence
952
- }
953
- assessment {
954
- schemaVersion
955
- scopeFingerprint
956
- conditionQualificationId
957
- conditionQualificationVersion
958
- sources {
959
- booking {
960
- ...ReuseSourceFields
961
- }
962
- roadAccess {
963
- ...ReuseSourceFields
964
- }
965
- conditionSuitability {
966
- ...ReuseSourceFields
967
- }
968
- retainedReturnPlan {
969
- ...ReuseSourceFields
970
- }
971
- }
972
- timing {
973
- departureAt
974
- maxTravelSeconds
975
- maxWaitSeconds
976
- siteOpenAt
977
- siteCloseAt
978
- maxFullReuseAndReturnSeconds
979
- siteWaitingLocationReference
980
- returnWaitingLocationReference
981
- plannedReturnFrom
982
- plannedReturnUntil
983
- }
984
- routeBinding {
985
- handoffWaypointIndex
986
- returnWaypointIndex
987
- handoffWaypointFingerprint
988
- returnWaypointFingerprint
989
- routeWaypointsFingerprint
990
- handoffLocationReference
991
- returnLocationReference
992
- }
993
- }
994
- }
995
- ${ReuseEvidenceFragmentDoc}
996
- ${ReuseSourceFieldsFragmentDoc}`;
997
- export const ReuseApprovalFieldsFragmentDoc = gql`
998
- fragment ReuseApprovalFields on MtwEquipmentReuseApproval {
999
- id
1000
- proposalId
1001
- kind
1002
- approvalId
1003
- counterpartyReference
1004
- sourceReference
1005
- validFrom
1006
- validUntil
1007
- note
1008
- recordedAt
1009
- createdBy
1010
- evidence {
1011
- ...ReuseEvidence
1012
- }
1013
- }
1014
- ${ReuseEvidenceFragmentDoc}`;
1015
- export const ReuseReservationFieldsFragmentDoc = gql`
1016
- fragment ReuseReservationFields on MtwReuseReservation {
1017
- id
1018
- containerId
1019
- cycleId
1020
- proposalId
1021
- approvalId
1022
- status
1023
- version
1024
- handoffUntil
1025
- createdAt
1026
- updatedAt
1027
- createdBy
1028
- updatedBy
1029
- }
1030
- `;
1031
- export const ReuseContainersDocument = gql`
1032
- query ReuseContainers($pagination: MtwContainerPagination!) {
1033
- mtwContainerPage(pagination: $pagination) {
1034
- items {
1035
- id
1036
- containerNumber
1037
- equipmentType
1038
- ownerName
1039
- }
1040
- total
1041
- limit
1042
- offset
1043
- hasMore
1044
- nextOffset
1045
- }
1046
- }
1047
- `;
1048
- export const ReuseCyclesDocument = gql`
1049
- query ReuseCycles($containerId: ID!, $pagination: MtwContainerPagination!) {
1050
- mtwContainerCyclePage(containerId: $containerId, pagination: $pagination) {
1051
- items {
1052
- id
1053
- containerId
1054
- status
1055
- bookingReference
1056
- openedAt
1057
- version
1058
- updatedAt
1059
- }
1060
- total
1061
- limit
1062
- offset
1063
- hasMore
1064
- nextOffset
1065
- }
1066
- }
1067
- `;
1068
- export const ReuseEventsDocument = gql`
1069
- query ReuseEvents($cycleId: ID!, $pagination: MtwContainerPagination!) {
1070
- mtwContainerEventPage(cycleId: $cycleId, pagination: $pagination) {
1071
- items {
1072
- id
1073
- eventType
1074
- kind
1075
- occurredAt
1076
- receivedAt
1077
- source
1078
- sourceReference
1079
- location
1080
- }
1081
- total
1082
- limit
1083
- offset
1084
- hasMore
1085
- nextOffset
1086
- }
1087
- }
1088
- `;
1089
- export const ReuseInspectionsDocument = gql`
1090
- query ReuseInspections($containerId: ID!, $pagination: MtwContainerPagination!) {
1091
- mtwContainerInspectionPage(containerId: $containerId, pagination: $pagination) {
1092
- items {
1093
- id
1094
- containerId
1095
- inspectedAt
1096
- cargoCategory
1097
- suitability
1098
- nextExaminationAt
1099
- examinationScheme
1100
- inspectorActorId
1101
- severeDefectCount
1102
- cscPlateVersionId
1103
- examinationVersionId
1104
- }
1105
- total
1106
- limit
1107
- offset
1108
- hasMore
1109
- nextOffset
1110
- }
1111
- }
1112
- `;
1113
- export const ReuseQualificationsDocument = gql`
1114
- query ReuseQualifications($pagination: MtwContainerPagination!) {
1115
- mtwContainerQualificationPage(pagination: $pagination) {
1116
- items {
1117
- id
1118
- subjectActorId
1119
- issuerName
1120
- credentialReference
1121
- status
1122
- version
1123
- validFrom
1124
- validUntil
1125
- scopes
1126
- }
1127
- total
1128
- limit
1129
- offset
1130
- hasMore
1131
- nextOffset
1132
- }
1133
- }
1134
- `;
1135
- export const ReuseRouteDocument = gql`
1136
- query ReuseRoute($id: ID!) {
1137
- route(id: $id) {
1138
- id
1139
- name
1140
- updatedAt
1141
- waypoints
1142
- status
1143
- }
1144
- }
1145
- `;
1146
- export const ReturnInstructionsDocument = gql`
1147
- query ReturnInstructions($cycleId: ID!, $pagination: MtwContainerPagination!) {
1148
- mtwEmptyReturnInstructionPage(cycleId: $cycleId, pagination: $pagination) {
1149
- items {
1150
- id
1151
- cycleId
1152
- version
1153
- ownerReference
1154
- bookingReference
1155
- depotReference
1156
- locationReference
1157
- returnFrom
1158
- returnUntil
1159
- effectiveAt
1160
- sourceReference
1161
- changeReason
1162
- supersedesInstructionId
1163
- recordedAt
1164
- createdBy
1165
- evidence {
1166
- fileId
1167
- versionId
1168
- sha256Hash
1169
- checkedAt
1170
- }
1171
- }
1172
- total
1173
- limit
1174
- offset
1175
- hasMore
1176
- nextOffset
1177
- }
1178
- }
1179
- `;
1180
- export const ReuseProposalsDocument = gql`
1181
- query ReuseProposals($cycleId: ID!, $pagination: MtwContainerPagination!) {
1182
- mtwReuseProposalPage(cycleId: $cycleId, pagination: $pagination) {
1183
- items {
1184
- id
1185
- cycleId
1186
- containerId
1187
- instructionId
1188
- proposalReference
1189
- revision
1190
- emptyEventId
1191
- inspectionId
1192
- transportRouteId
1193
- transportRouteUpdatedAt
1194
- exportBookingReference
1195
- exporterReference
1196
- handoffLocationReference
1197
- handoffFrom
1198
- handoffUntil
1199
- requiredEquipmentType
1200
- cargoCategory
1201
- recordedAt
1202
- createdBy
1203
- evidence {
1204
- fileId
1205
- versionId
1206
- sha256Hash
1207
- checkedAt
1208
- }
1209
- assessment {
1210
- schemaVersion
1211
- scopeFingerprint
1212
- conditionQualificationId
1213
- conditionQualificationVersion
1214
- sources {
1215
- booking {
1216
- purpose
1217
- sourceReference
1218
- sourceRevision
1219
- observedAt
1220
- recordedAt
1221
- validFrom
1222
- validUntil
1223
- recordedByActorId
1224
- scopeFingerprint
1225
- evidence {
1226
- fileId
1227
- versionId
1228
- sha256Hash
1229
- checkedAt
1230
- }
1231
- }
1232
- roadAccess {
1233
- purpose
1234
- sourceReference
1235
- sourceRevision
1236
- observedAt
1237
- recordedAt
1238
- validFrom
1239
- validUntil
1240
- recordedByActorId
1241
- scopeFingerprint
1242
- evidence {
1243
- fileId
1244
- versionId
1245
- sha256Hash
1246
- checkedAt
1247
- }
1248
- }
1249
- conditionSuitability {
1250
- purpose
1251
- sourceReference
1252
- sourceRevision
1253
- observedAt
1254
- recordedAt
1255
- validFrom
1256
- validUntil
1257
- recordedByActorId
1258
- scopeFingerprint
1259
- evidence {
1260
- fileId
1261
- versionId
1262
- sha256Hash
1263
- checkedAt
1264
- }
1265
- }
1266
- retainedReturnPlan {
1267
- purpose
1268
- sourceReference
1269
- sourceRevision
1270
- observedAt
1271
- recordedAt
1272
- validFrom
1273
- validUntil
1274
- recordedByActorId
1275
- scopeFingerprint
1276
- evidence {
1277
- fileId
1278
- versionId
1279
- sha256Hash
1280
- checkedAt
1281
- }
1282
- }
1283
- }
1284
- timing {
1285
- departureAt
1286
- maxTravelSeconds
1287
- maxWaitSeconds
1288
- siteOpenAt
1289
- siteCloseAt
1290
- maxFullReuseAndReturnSeconds
1291
- siteWaitingLocationReference
1292
- returnWaitingLocationReference
1293
- plannedReturnFrom
1294
- plannedReturnUntil
1295
- }
1296
- routeBinding {
1297
- handoffWaypointIndex
1298
- returnWaypointIndex
1299
- handoffWaypointFingerprint
1300
- returnWaypointFingerprint
1301
- routeWaypointsFingerprint
1302
- handoffLocationReference
1303
- returnLocationReference
1304
- }
1305
- }
1306
- }
1307
- total
1308
- limit
1309
- offset
1310
- hasMore
1311
- nextOffset
1312
- }
1313
- }
1314
- `;
1315
- export const ReuseApprovalsDocument = gql`
1316
- query ReuseApprovals($proposalId: ID!, $pagination: MtwContainerPagination!) {
1317
- mtwEquipmentReuseApprovalPage(proposalId: $proposalId, pagination: $pagination) {
1318
- items {
1319
- id
1320
- proposalId
1321
- kind
1322
- approvalId
1323
- counterpartyReference
1324
- sourceReference
1325
- validFrom
1326
- validUntil
1327
- note
1328
- recordedAt
1329
- createdBy
1330
- evidence {
1331
- fileId
1332
- versionId
1333
- sha256Hash
1334
- checkedAt
1335
- }
1336
- }
1337
- total
1338
- limit
1339
- offset
1340
- hasMore
1341
- nextOffset
1342
- }
1343
- }
1344
- `;
1345
- export const ReuseEligibilityDocument = gql`
1346
- query ReuseEligibility($proposalId: ID!, $approvalId: ID) {
1347
- mtwReuseEligibility(proposalId: $proposalId, approvalId: $approvalId) {
1348
- proposalId
1349
- approvalId
1350
- evaluatedAt
1351
- status
1352
- blockers {
1353
- code
1354
- certainty
1355
- reason
1356
- }
1357
- }
1358
- }
1359
- `;
1360
- export const ReuseReservationsDocument = gql`
1361
- query ReuseReservations($cycleId: ID!, $pagination: MtwContainerPagination!) {
1362
- mtwReuseReservationPage(cycleId: $cycleId, pagination: $pagination) {
1363
- items {
1364
- id
1365
- containerId
1366
- cycleId
1367
- proposalId
1368
- approvalId
1369
- status
1370
- version
1371
- handoffUntil
1372
- createdAt
1373
- updatedAt
1374
- createdBy
1375
- updatedBy
1376
- }
1377
- total
1378
- limit
1379
- offset
1380
- hasMore
1381
- nextOffset
1382
- }
1383
- }
1384
- `;
1385
- export const RecordReturnInstructionDocument = gql`
1386
- mutation RecordReturnInstruction($input: RecordMtwEmptyReturnInstructionInput!) {
1387
- recordMtwEmptyReturnInstruction(input: $input) {
1388
- id
1389
- cycleId
1390
- version
1391
- ownerReference
1392
- bookingReference
1393
- depotReference
1394
- locationReference
1395
- returnFrom
1396
- returnUntil
1397
- effectiveAt
1398
- sourceReference
1399
- changeReason
1400
- supersedesInstructionId
1401
- recordedAt
1402
- createdBy
1403
- evidence {
1404
- fileId
1405
- versionId
1406
- sha256Hash
1407
- checkedAt
1408
- }
1409
- }
1410
- }
1411
- `;
1412
- export const RecordReuseProposalDocument = gql`
1413
- mutation RecordReuseProposal($input: RecordMtwReuseProposalInput!) {
1414
- recordMtwReuseProposal(input: $input) {
1415
- id
1416
- cycleId
1417
- containerId
1418
- instructionId
1419
- proposalReference
1420
- revision
1421
- emptyEventId
1422
- inspectionId
1423
- transportRouteId
1424
- transportRouteUpdatedAt
1425
- exportBookingReference
1426
- exporterReference
1427
- handoffLocationReference
1428
- handoffFrom
1429
- handoffUntil
1430
- requiredEquipmentType
1431
- cargoCategory
1432
- recordedAt
1433
- createdBy
1434
- evidence {
1435
- fileId
1436
- versionId
1437
- sha256Hash
1438
- checkedAt
1439
- }
1440
- assessment {
1441
- schemaVersion
1442
- scopeFingerprint
1443
- conditionQualificationId
1444
- conditionQualificationVersion
1445
- sources {
1446
- booking {
1447
- purpose
1448
- sourceReference
1449
- sourceRevision
1450
- observedAt
1451
- recordedAt
1452
- validFrom
1453
- validUntil
1454
- recordedByActorId
1455
- scopeFingerprint
1456
- evidence {
1457
- fileId
1458
- versionId
1459
- sha256Hash
1460
- checkedAt
1461
- }
1462
- }
1463
- roadAccess {
1464
- purpose
1465
- sourceReference
1466
- sourceRevision
1467
- observedAt
1468
- recordedAt
1469
- validFrom
1470
- validUntil
1471
- recordedByActorId
1472
- scopeFingerprint
1473
- evidence {
1474
- fileId
1475
- versionId
1476
- sha256Hash
1477
- checkedAt
1478
- }
1479
- }
1480
- conditionSuitability {
1481
- purpose
1482
- sourceReference
1483
- sourceRevision
1484
- observedAt
1485
- recordedAt
1486
- validFrom
1487
- validUntil
1488
- recordedByActorId
1489
- scopeFingerprint
1490
- evidence {
1491
- fileId
1492
- versionId
1493
- sha256Hash
1494
- checkedAt
1495
- }
1496
- }
1497
- retainedReturnPlan {
1498
- purpose
1499
- sourceReference
1500
- sourceRevision
1501
- observedAt
1502
- recordedAt
1503
- validFrom
1504
- validUntil
1505
- recordedByActorId
1506
- scopeFingerprint
1507
- evidence {
1508
- fileId
1509
- versionId
1510
- sha256Hash
1511
- checkedAt
1512
- }
1513
- }
1514
- }
1515
- timing {
1516
- departureAt
1517
- maxTravelSeconds
1518
- maxWaitSeconds
1519
- siteOpenAt
1520
- siteCloseAt
1521
- maxFullReuseAndReturnSeconds
1522
- siteWaitingLocationReference
1523
- returnWaitingLocationReference
1524
- plannedReturnFrom
1525
- plannedReturnUntil
1526
- }
1527
- routeBinding {
1528
- handoffWaypointIndex
1529
- returnWaypointIndex
1530
- handoffWaypointFingerprint
1531
- returnWaypointFingerprint
1532
- routeWaypointsFingerprint
1533
- handoffLocationReference
1534
- returnLocationReference
1535
- }
1536
- }
1537
- }
1538
- }
1539
- `;
1540
- export const RecordReuseApprovalDocument = gql`
1541
- mutation RecordReuseApproval($input: RecordMtwEquipmentReuseApprovalInput!) {
1542
- recordMtwEquipmentReuseApproval(input: $input) {
1543
- id
1544
- proposalId
1545
- kind
1546
- approvalId
1547
- counterpartyReference
1548
- sourceReference
1549
- validFrom
1550
- validUntil
1551
- note
1552
- recordedAt
1553
- createdBy
1554
- evidence {
1555
- fileId
1556
- versionId
1557
- sha256Hash
1558
- checkedAt
1559
- }
1560
- }
1561
- }
1562
- `;
1563
- export const AcceptReuseReservationDocument = gql`
1564
- mutation AcceptReuseReservation($input: AcceptMtwReuseReservationInput!) {
1565
- acceptMtwReuseReservation(input: $input) {
1566
- id
1567
- containerId
1568
- cycleId
1569
- proposalId
1570
- approvalId
1571
- status
1572
- version
1573
- handoffUntil
1574
- createdAt
1575
- updatedAt
1576
- createdBy
1577
- updatedBy
1578
- }
1579
- }
1580
- `;
1581
- export const TerminateReuseReservationDocument = gql`
1582
- mutation TerminateReuseReservation($input: TerminateMtwReuseReservationInput!) {
1583
- terminateMtwReuseReservation(input: $input) {
1584
- id
1585
- containerId
1586
- cycleId
1587
- proposalId
1588
- approvalId
1589
- status
1590
- version
1591
- handoffUntil
1592
- createdAt
1593
- updatedAt
1594
- createdBy
1595
- updatedBy
1596
- }
1597
- }
1598
- `;
1599
- export const ReuseReservationTransitionsDocument = gql`
1600
- query ReuseReservationTransitions($reservationId: ID!, $pagination: MtwContainerPagination) {
1601
- mtwReuseReservationTransitionPage(
1602
- reservationId: $reservationId
1603
- pagination: $pagination
1604
- ) {
1605
- items {
1606
- id
1607
- reservationId
1608
- previousStatus
1609
- status
1610
- reason
1611
- recordedAt
1612
- createdBy
1613
- }
1614
- total
1615
- limit
1616
- offset
1617
- hasMore
1618
- nextOffset
1619
- }
1620
- }
1621
- `;
1622
- export const BoundReturnInstructionDocument = gql`
1623
- query BoundReturnInstruction($id: ID!) {
1624
- mtwEmptyReturnInstruction(id: $id) {
1625
- id
1626
- cycleId
1627
- version
1628
- ownerReference
1629
- bookingReference
1630
- depotReference
1631
- locationReference
1632
- returnFrom
1633
- returnUntil
1634
- effectiveAt
1635
- sourceReference
1636
- changeReason
1637
- supersedesInstructionId
1638
- recordedAt
1639
- createdBy
1640
- evidence {
1641
- fileId
1642
- versionId
1643
- sha256Hash
1644
- checkedAt
1645
- }
1646
- }
1647
- }
1648
- `;
882
+ export type BoundReturnInstructionQuery = { mtwEmptyReturnInstruction: { id: string, cycleId: string, version: number, ownerReference: string, bookingReference: string, depotReference: string, locationReference: string, returnFrom: string, returnUntil: string, effectiveAt: string, sourceReference: string, changeReason: string, supersedesInstructionId: string | null, recordedAt: string, createdBy: string, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } };
883
+
884
+ export const ReuseEvidenceFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReuseEvidence"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainerEvidence"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"checkedAt"}}]}}]} as unknown as DocumentNode<ReuseEvidenceFragment, unknown>;
885
+ export const ReturnInstructionFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReturnInstructionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwEmptyReturnInstruction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cycleId"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"ownerReference"}},{"kind":"Field","name":{"kind":"Name","value":"bookingReference"}},{"kind":"Field","name":{"kind":"Name","value":"depotReference"}},{"kind":"Field","name":{"kind":"Name","value":"locationReference"}},{"kind":"Field","name":{"kind":"Name","value":"returnFrom"}},{"kind":"Field","name":{"kind":"Name","value":"returnUntil"}},{"kind":"Field","name":{"kind":"Name","value":"effectiveAt"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"changeReason"}},{"kind":"Field","name":{"kind":"Name","value":"supersedesInstructionId"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"evidence"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReuseEvidence"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReuseEvidence"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainerEvidence"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"checkedAt"}}]}}]} as unknown as DocumentNode<ReturnInstructionFieldsFragment, unknown>;
886
+ export const ReuseSourceFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReuseSourceFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwReuseSourceAttestation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"purpose"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"sourceRevision"}},{"kind":"Field","name":{"kind":"Name","value":"observedAt"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"validFrom"}},{"kind":"Field","name":{"kind":"Name","value":"validUntil"}},{"kind":"Field","name":{"kind":"Name","value":"recordedByActorId"}},{"kind":"Field","name":{"kind":"Name","value":"scopeFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"evidence"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReuseEvidence"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReuseEvidence"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainerEvidence"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"checkedAt"}}]}}]} as unknown as DocumentNode<ReuseSourceFieldsFragment, unknown>;
887
+ export const ReuseProposalFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReuseProposalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwReuseProposal"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cycleId"}},{"kind":"Field","name":{"kind":"Name","value":"containerId"}},{"kind":"Field","name":{"kind":"Name","value":"instructionId"}},{"kind":"Field","name":{"kind":"Name","value":"proposalReference"}},{"kind":"Field","name":{"kind":"Name","value":"revision"}},{"kind":"Field","name":{"kind":"Name","value":"emptyEventId"}},{"kind":"Field","name":{"kind":"Name","value":"inspectionId"}},{"kind":"Field","name":{"kind":"Name","value":"transportRouteId"}},{"kind":"Field","name":{"kind":"Name","value":"transportRouteUpdatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"exportBookingReference"}},{"kind":"Field","name":{"kind":"Name","value":"exporterReference"}},{"kind":"Field","name":{"kind":"Name","value":"handoffLocationReference"}},{"kind":"Field","name":{"kind":"Name","value":"handoffFrom"}},{"kind":"Field","name":{"kind":"Name","value":"handoffUntil"}},{"kind":"Field","name":{"kind":"Name","value":"requiredEquipmentType"}},{"kind":"Field","name":{"kind":"Name","value":"cargoCategory"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"evidence"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReuseEvidence"}}]}},{"kind":"Field","name":{"kind":"Name","value":"assessment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"schemaVersion"}},{"kind":"Field","name":{"kind":"Name","value":"scopeFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"conditionQualificationId"}},{"kind":"Field","name":{"kind":"Name","value":"conditionQualificationVersion"}},{"kind":"Field","name":{"kind":"Name","value":"sources"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"booking"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReuseSourceFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"roadAccess"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReuseSourceFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"conditionSuitability"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReuseSourceFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"retainedReturnPlan"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReuseSourceFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"timing"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"departureAt"}},{"kind":"Field","name":{"kind":"Name","value":"maxTravelSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"maxWaitSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"siteOpenAt"}},{"kind":"Field","name":{"kind":"Name","value":"siteCloseAt"}},{"kind":"Field","name":{"kind":"Name","value":"maxFullReuseAndReturnSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"siteWaitingLocationReference"}},{"kind":"Field","name":{"kind":"Name","value":"returnWaitingLocationReference"}},{"kind":"Field","name":{"kind":"Name","value":"plannedReturnFrom"}},{"kind":"Field","name":{"kind":"Name","value":"plannedReturnUntil"}}]}},{"kind":"Field","name":{"kind":"Name","value":"routeBinding"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"handoffWaypointIndex"}},{"kind":"Field","name":{"kind":"Name","value":"returnWaypointIndex"}},{"kind":"Field","name":{"kind":"Name","value":"handoffWaypointFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"returnWaypointFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"routeWaypointsFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"handoffLocationReference"}},{"kind":"Field","name":{"kind":"Name","value":"returnLocationReference"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReuseEvidence"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainerEvidence"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"checkedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReuseSourceFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwReuseSourceAttestation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"purpose"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"sourceRevision"}},{"kind":"Field","name":{"kind":"Name","value":"observedAt"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"validFrom"}},{"kind":"Field","name":{"kind":"Name","value":"validUntil"}},{"kind":"Field","name":{"kind":"Name","value":"recordedByActorId"}},{"kind":"Field","name":{"kind":"Name","value":"scopeFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"evidence"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReuseEvidence"}}]}}]}}]} as unknown as DocumentNode<ReuseProposalFieldsFragment, unknown>;
888
+ export const ReuseApprovalFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReuseApprovalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwEquipmentReuseApproval"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"proposalId"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"approvalId"}},{"kind":"Field","name":{"kind":"Name","value":"counterpartyReference"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"validFrom"}},{"kind":"Field","name":{"kind":"Name","value":"validUntil"}},{"kind":"Field","name":{"kind":"Name","value":"note"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"evidence"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReuseEvidence"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReuseEvidence"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainerEvidence"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"checkedAt"}}]}}]} as unknown as DocumentNode<ReuseApprovalFieldsFragment, unknown>;
889
+ export const ReuseReservationFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReuseReservationFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwReuseReservation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"containerId"}},{"kind":"Field","name":{"kind":"Name","value":"cycleId"}},{"kind":"Field","name":{"kind":"Name","value":"proposalId"}},{"kind":"Field","name":{"kind":"Name","value":"approvalId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"handoffUntil"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"updatedBy"}}]}}]} as unknown as DocumentNode<ReuseReservationFieldsFragment, unknown>;
890
+ export const ReuseContainersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ReuseContainers"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainerPagination"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"mtwContainerPage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"containerNumber"}},{"kind":"Field","name":{"kind":"Name","value":"equipmentType"}},{"kind":"Field","name":{"kind":"Name","value":"ownerName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"limit"}},{"kind":"Field","name":{"kind":"Name","value":"offset"}},{"kind":"Field","name":{"kind":"Name","value":"hasMore"}},{"kind":"Field","name":{"kind":"Name","value":"nextOffset"}}]}}]}}]} as unknown as DocumentNode<ReuseContainersQuery, ReuseContainersQueryVariables>;
891
+ export const ReuseCyclesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ReuseCycles"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"containerId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainerPagination"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"mtwContainerCyclePage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"containerId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"containerId"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"containerId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"bookingReference"}},{"kind":"Field","name":{"kind":"Name","value":"openedAt"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"limit"}},{"kind":"Field","name":{"kind":"Name","value":"offset"}},{"kind":"Field","name":{"kind":"Name","value":"hasMore"}},{"kind":"Field","name":{"kind":"Name","value":"nextOffset"}}]}}]}}]} as unknown as DocumentNode<ReuseCyclesQuery, ReuseCyclesQueryVariables>;
892
+ export const ReuseEventsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ReuseEvents"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cycleId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainerPagination"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"mtwContainerEventPage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"cycleId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cycleId"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"eventType"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"occurredAt"}},{"kind":"Field","name":{"kind":"Name","value":"receivedAt"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"location"}}]}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"limit"}},{"kind":"Field","name":{"kind":"Name","value":"offset"}},{"kind":"Field","name":{"kind":"Name","value":"hasMore"}},{"kind":"Field","name":{"kind":"Name","value":"nextOffset"}}]}}]}}]} as unknown as DocumentNode<ReuseEventsQuery, ReuseEventsQueryVariables>;
893
+ export const ReuseInspectionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ReuseInspections"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"containerId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainerPagination"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"mtwContainerInspectionPage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"containerId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"containerId"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"containerId"}},{"kind":"Field","name":{"kind":"Name","value":"inspectedAt"}},{"kind":"Field","name":{"kind":"Name","value":"cargoCategory"}},{"kind":"Field","name":{"kind":"Name","value":"suitability"}},{"kind":"Field","name":{"kind":"Name","value":"nextExaminationAt"}},{"kind":"Field","name":{"kind":"Name","value":"examinationScheme"}},{"kind":"Field","name":{"kind":"Name","value":"inspectorActorId"}},{"kind":"Field","name":{"kind":"Name","value":"severeDefectCount"}},{"kind":"Field","name":{"kind":"Name","value":"cscPlateVersionId"}},{"kind":"Field","name":{"kind":"Name","value":"examinationVersionId"}}]}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"limit"}},{"kind":"Field","name":{"kind":"Name","value":"offset"}},{"kind":"Field","name":{"kind":"Name","value":"hasMore"}},{"kind":"Field","name":{"kind":"Name","value":"nextOffset"}}]}}]}}]} as unknown as DocumentNode<ReuseInspectionsQuery, ReuseInspectionsQueryVariables>;
894
+ export const ReuseQualificationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ReuseQualifications"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainerPagination"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"mtwContainerQualificationPage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"subjectActorId"}},{"kind":"Field","name":{"kind":"Name","value":"issuerName"}},{"kind":"Field","name":{"kind":"Name","value":"credentialReference"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"validFrom"}},{"kind":"Field","name":{"kind":"Name","value":"validUntil"}},{"kind":"Field","name":{"kind":"Name","value":"scopes"}}]}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"limit"}},{"kind":"Field","name":{"kind":"Name","value":"offset"}},{"kind":"Field","name":{"kind":"Name","value":"hasMore"}},{"kind":"Field","name":{"kind":"Name","value":"nextOffset"}}]}}]}}]} as unknown as DocumentNode<ReuseQualificationsQuery, ReuseQualificationsQueryVariables>;
895
+ export const ReuseRouteDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ReuseRoute"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"route"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"waypoints"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}}]} as unknown as DocumentNode<ReuseRouteQuery, ReuseRouteQueryVariables>;
896
+ export const ReturnInstructionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ReturnInstructions"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cycleId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainerPagination"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"mtwEmptyReturnInstructionPage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"cycleId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cycleId"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cycleId"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"ownerReference"}},{"kind":"Field","name":{"kind":"Name","value":"bookingReference"}},{"kind":"Field","name":{"kind":"Name","value":"depotReference"}},{"kind":"Field","name":{"kind":"Name","value":"locationReference"}},{"kind":"Field","name":{"kind":"Name","value":"returnFrom"}},{"kind":"Field","name":{"kind":"Name","value":"returnUntil"}},{"kind":"Field","name":{"kind":"Name","value":"effectiveAt"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"changeReason"}},{"kind":"Field","name":{"kind":"Name","value":"supersedesInstructionId"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"evidence"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"checkedAt"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"limit"}},{"kind":"Field","name":{"kind":"Name","value":"offset"}},{"kind":"Field","name":{"kind":"Name","value":"hasMore"}},{"kind":"Field","name":{"kind":"Name","value":"nextOffset"}}]}}]}}]} as unknown as DocumentNode<ReturnInstructionsQuery, ReturnInstructionsQueryVariables>;
897
+ export const ReuseProposalsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ReuseProposals"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cycleId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainerPagination"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"mtwReuseProposalPage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"cycleId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cycleId"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cycleId"}},{"kind":"Field","name":{"kind":"Name","value":"containerId"}},{"kind":"Field","name":{"kind":"Name","value":"instructionId"}},{"kind":"Field","name":{"kind":"Name","value":"proposalReference"}},{"kind":"Field","name":{"kind":"Name","value":"revision"}},{"kind":"Field","name":{"kind":"Name","value":"emptyEventId"}},{"kind":"Field","name":{"kind":"Name","value":"inspectionId"}},{"kind":"Field","name":{"kind":"Name","value":"transportRouteId"}},{"kind":"Field","name":{"kind":"Name","value":"transportRouteUpdatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"exportBookingReference"}},{"kind":"Field","name":{"kind":"Name","value":"exporterReference"}},{"kind":"Field","name":{"kind":"Name","value":"handoffLocationReference"}},{"kind":"Field","name":{"kind":"Name","value":"handoffFrom"}},{"kind":"Field","name":{"kind":"Name","value":"handoffUntil"}},{"kind":"Field","name":{"kind":"Name","value":"requiredEquipmentType"}},{"kind":"Field","name":{"kind":"Name","value":"cargoCategory"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"evidence"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"checkedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"assessment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"schemaVersion"}},{"kind":"Field","name":{"kind":"Name","value":"scopeFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"conditionQualificationId"}},{"kind":"Field","name":{"kind":"Name","value":"conditionQualificationVersion"}},{"kind":"Field","name":{"kind":"Name","value":"sources"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"booking"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"purpose"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"sourceRevision"}},{"kind":"Field","name":{"kind":"Name","value":"observedAt"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"validFrom"}},{"kind":"Field","name":{"kind":"Name","value":"validUntil"}},{"kind":"Field","name":{"kind":"Name","value":"recordedByActorId"}},{"kind":"Field","name":{"kind":"Name","value":"scopeFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"evidence"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"checkedAt"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"roadAccess"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"purpose"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"sourceRevision"}},{"kind":"Field","name":{"kind":"Name","value":"observedAt"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"validFrom"}},{"kind":"Field","name":{"kind":"Name","value":"validUntil"}},{"kind":"Field","name":{"kind":"Name","value":"recordedByActorId"}},{"kind":"Field","name":{"kind":"Name","value":"scopeFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"evidence"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"checkedAt"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"conditionSuitability"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"purpose"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"sourceRevision"}},{"kind":"Field","name":{"kind":"Name","value":"observedAt"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"validFrom"}},{"kind":"Field","name":{"kind":"Name","value":"validUntil"}},{"kind":"Field","name":{"kind":"Name","value":"recordedByActorId"}},{"kind":"Field","name":{"kind":"Name","value":"scopeFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"evidence"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"checkedAt"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"retainedReturnPlan"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"purpose"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"sourceRevision"}},{"kind":"Field","name":{"kind":"Name","value":"observedAt"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"validFrom"}},{"kind":"Field","name":{"kind":"Name","value":"validUntil"}},{"kind":"Field","name":{"kind":"Name","value":"recordedByActorId"}},{"kind":"Field","name":{"kind":"Name","value":"scopeFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"evidence"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"checkedAt"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"timing"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"departureAt"}},{"kind":"Field","name":{"kind":"Name","value":"maxTravelSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"maxWaitSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"siteOpenAt"}},{"kind":"Field","name":{"kind":"Name","value":"siteCloseAt"}},{"kind":"Field","name":{"kind":"Name","value":"maxFullReuseAndReturnSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"siteWaitingLocationReference"}},{"kind":"Field","name":{"kind":"Name","value":"returnWaitingLocationReference"}},{"kind":"Field","name":{"kind":"Name","value":"plannedReturnFrom"}},{"kind":"Field","name":{"kind":"Name","value":"plannedReturnUntil"}}]}},{"kind":"Field","name":{"kind":"Name","value":"routeBinding"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"handoffWaypointIndex"}},{"kind":"Field","name":{"kind":"Name","value":"returnWaypointIndex"}},{"kind":"Field","name":{"kind":"Name","value":"handoffWaypointFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"returnWaypointFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"routeWaypointsFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"handoffLocationReference"}},{"kind":"Field","name":{"kind":"Name","value":"returnLocationReference"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"limit"}},{"kind":"Field","name":{"kind":"Name","value":"offset"}},{"kind":"Field","name":{"kind":"Name","value":"hasMore"}},{"kind":"Field","name":{"kind":"Name","value":"nextOffset"}}]}}]}}]} as unknown as DocumentNode<ReuseProposalsQuery, ReuseProposalsQueryVariables>;
898
+ export const ReuseApprovalsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ReuseApprovals"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"proposalId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainerPagination"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"mtwEquipmentReuseApprovalPage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"proposalId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"proposalId"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"proposalId"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"approvalId"}},{"kind":"Field","name":{"kind":"Name","value":"counterpartyReference"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"validFrom"}},{"kind":"Field","name":{"kind":"Name","value":"validUntil"}},{"kind":"Field","name":{"kind":"Name","value":"note"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"evidence"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"checkedAt"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"limit"}},{"kind":"Field","name":{"kind":"Name","value":"offset"}},{"kind":"Field","name":{"kind":"Name","value":"hasMore"}},{"kind":"Field","name":{"kind":"Name","value":"nextOffset"}}]}}]}}]} as unknown as DocumentNode<ReuseApprovalsQuery, ReuseApprovalsQueryVariables>;
899
+ export const ReuseEligibilityDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ReuseEligibility"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"proposalId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"approvalId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"mtwReuseEligibility"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"proposalId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"proposalId"}}},{"kind":"Argument","name":{"kind":"Name","value":"approvalId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"approvalId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"proposalId"}},{"kind":"Field","name":{"kind":"Name","value":"approvalId"}},{"kind":"Field","name":{"kind":"Name","value":"evaluatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"blockers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"certainty"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}}]}}]} as unknown as DocumentNode<ReuseEligibilityQuery, ReuseEligibilityQueryVariables>;
900
+ export const ReuseReservationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ReuseReservations"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cycleId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainerPagination"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"mtwReuseReservationPage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"cycleId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cycleId"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"containerId"}},{"kind":"Field","name":{"kind":"Name","value":"cycleId"}},{"kind":"Field","name":{"kind":"Name","value":"proposalId"}},{"kind":"Field","name":{"kind":"Name","value":"approvalId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"handoffUntil"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"updatedBy"}}]}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"limit"}},{"kind":"Field","name":{"kind":"Name","value":"offset"}},{"kind":"Field","name":{"kind":"Name","value":"hasMore"}},{"kind":"Field","name":{"kind":"Name","value":"nextOffset"}}]}}]}}]} as unknown as DocumentNode<ReuseReservationsQuery, ReuseReservationsQueryVariables>;
901
+ export const RecordReturnInstructionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RecordReturnInstruction"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"RecordMtwEmptyReturnInstructionInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"recordMtwEmptyReturnInstruction"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cycleId"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"ownerReference"}},{"kind":"Field","name":{"kind":"Name","value":"bookingReference"}},{"kind":"Field","name":{"kind":"Name","value":"depotReference"}},{"kind":"Field","name":{"kind":"Name","value":"locationReference"}},{"kind":"Field","name":{"kind":"Name","value":"returnFrom"}},{"kind":"Field","name":{"kind":"Name","value":"returnUntil"}},{"kind":"Field","name":{"kind":"Name","value":"effectiveAt"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"changeReason"}},{"kind":"Field","name":{"kind":"Name","value":"supersedesInstructionId"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"evidence"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"checkedAt"}}]}}]}}]}}]} as unknown as DocumentNode<RecordReturnInstructionMutation, RecordReturnInstructionMutationVariables>;
902
+ export const RecordReuseProposalDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RecordReuseProposal"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"RecordMtwReuseProposalInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"recordMtwReuseProposal"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cycleId"}},{"kind":"Field","name":{"kind":"Name","value":"containerId"}},{"kind":"Field","name":{"kind":"Name","value":"instructionId"}},{"kind":"Field","name":{"kind":"Name","value":"proposalReference"}},{"kind":"Field","name":{"kind":"Name","value":"revision"}},{"kind":"Field","name":{"kind":"Name","value":"emptyEventId"}},{"kind":"Field","name":{"kind":"Name","value":"inspectionId"}},{"kind":"Field","name":{"kind":"Name","value":"transportRouteId"}},{"kind":"Field","name":{"kind":"Name","value":"transportRouteUpdatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"exportBookingReference"}},{"kind":"Field","name":{"kind":"Name","value":"exporterReference"}},{"kind":"Field","name":{"kind":"Name","value":"handoffLocationReference"}},{"kind":"Field","name":{"kind":"Name","value":"handoffFrom"}},{"kind":"Field","name":{"kind":"Name","value":"handoffUntil"}},{"kind":"Field","name":{"kind":"Name","value":"requiredEquipmentType"}},{"kind":"Field","name":{"kind":"Name","value":"cargoCategory"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"evidence"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"checkedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"assessment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"schemaVersion"}},{"kind":"Field","name":{"kind":"Name","value":"scopeFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"conditionQualificationId"}},{"kind":"Field","name":{"kind":"Name","value":"conditionQualificationVersion"}},{"kind":"Field","name":{"kind":"Name","value":"sources"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"booking"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"purpose"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"sourceRevision"}},{"kind":"Field","name":{"kind":"Name","value":"observedAt"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"validFrom"}},{"kind":"Field","name":{"kind":"Name","value":"validUntil"}},{"kind":"Field","name":{"kind":"Name","value":"recordedByActorId"}},{"kind":"Field","name":{"kind":"Name","value":"scopeFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"evidence"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"checkedAt"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"roadAccess"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"purpose"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"sourceRevision"}},{"kind":"Field","name":{"kind":"Name","value":"observedAt"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"validFrom"}},{"kind":"Field","name":{"kind":"Name","value":"validUntil"}},{"kind":"Field","name":{"kind":"Name","value":"recordedByActorId"}},{"kind":"Field","name":{"kind":"Name","value":"scopeFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"evidence"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"checkedAt"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"conditionSuitability"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"purpose"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"sourceRevision"}},{"kind":"Field","name":{"kind":"Name","value":"observedAt"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"validFrom"}},{"kind":"Field","name":{"kind":"Name","value":"validUntil"}},{"kind":"Field","name":{"kind":"Name","value":"recordedByActorId"}},{"kind":"Field","name":{"kind":"Name","value":"scopeFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"evidence"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"checkedAt"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"retainedReturnPlan"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"purpose"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"sourceRevision"}},{"kind":"Field","name":{"kind":"Name","value":"observedAt"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"validFrom"}},{"kind":"Field","name":{"kind":"Name","value":"validUntil"}},{"kind":"Field","name":{"kind":"Name","value":"recordedByActorId"}},{"kind":"Field","name":{"kind":"Name","value":"scopeFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"evidence"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"checkedAt"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"timing"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"departureAt"}},{"kind":"Field","name":{"kind":"Name","value":"maxTravelSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"maxWaitSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"siteOpenAt"}},{"kind":"Field","name":{"kind":"Name","value":"siteCloseAt"}},{"kind":"Field","name":{"kind":"Name","value":"maxFullReuseAndReturnSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"siteWaitingLocationReference"}},{"kind":"Field","name":{"kind":"Name","value":"returnWaitingLocationReference"}},{"kind":"Field","name":{"kind":"Name","value":"plannedReturnFrom"}},{"kind":"Field","name":{"kind":"Name","value":"plannedReturnUntil"}}]}},{"kind":"Field","name":{"kind":"Name","value":"routeBinding"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"handoffWaypointIndex"}},{"kind":"Field","name":{"kind":"Name","value":"returnWaypointIndex"}},{"kind":"Field","name":{"kind":"Name","value":"handoffWaypointFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"returnWaypointFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"routeWaypointsFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"handoffLocationReference"}},{"kind":"Field","name":{"kind":"Name","value":"returnLocationReference"}}]}}]}}]}}]}}]} as unknown as DocumentNode<RecordReuseProposalMutation, RecordReuseProposalMutationVariables>;
903
+ export const RecordReuseApprovalDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RecordReuseApproval"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"RecordMtwEquipmentReuseApprovalInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"recordMtwEquipmentReuseApproval"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"proposalId"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"approvalId"}},{"kind":"Field","name":{"kind":"Name","value":"counterpartyReference"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"validFrom"}},{"kind":"Field","name":{"kind":"Name","value":"validUntil"}},{"kind":"Field","name":{"kind":"Name","value":"note"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"evidence"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"checkedAt"}}]}}]}}]}}]} as unknown as DocumentNode<RecordReuseApprovalMutation, RecordReuseApprovalMutationVariables>;
904
+ export const AcceptReuseReservationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AcceptReuseReservation"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AcceptMtwReuseReservationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"acceptMtwReuseReservation"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"containerId"}},{"kind":"Field","name":{"kind":"Name","value":"cycleId"}},{"kind":"Field","name":{"kind":"Name","value":"proposalId"}},{"kind":"Field","name":{"kind":"Name","value":"approvalId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"handoffUntil"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"updatedBy"}}]}}]}}]} as unknown as DocumentNode<AcceptReuseReservationMutation, AcceptReuseReservationMutationVariables>;
905
+ export const TerminateReuseReservationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"TerminateReuseReservation"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"TerminateMtwReuseReservationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"terminateMtwReuseReservation"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"containerId"}},{"kind":"Field","name":{"kind":"Name","value":"cycleId"}},{"kind":"Field","name":{"kind":"Name","value":"proposalId"}},{"kind":"Field","name":{"kind":"Name","value":"approvalId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"handoffUntil"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"updatedBy"}}]}}]}}]} as unknown as DocumentNode<TerminateReuseReservationMutation, TerminateReuseReservationMutationVariables>;
906
+ export const ReuseReservationTransitionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ReuseReservationTransitions"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"reservationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainerPagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"mtwReuseReservationTransitionPage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"reservationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"reservationId"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"reservationId"}},{"kind":"Field","name":{"kind":"Name","value":"previousStatus"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}}]}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"limit"}},{"kind":"Field","name":{"kind":"Name","value":"offset"}},{"kind":"Field","name":{"kind":"Name","value":"hasMore"}},{"kind":"Field","name":{"kind":"Name","value":"nextOffset"}}]}}]}}]} as unknown as DocumentNode<ReuseReservationTransitionsQuery, ReuseReservationTransitionsQueryVariables>;
907
+ export const BoundReturnInstructionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"BoundReturnInstruction"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"mtwEmptyReturnInstruction"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cycleId"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"ownerReference"}},{"kind":"Field","name":{"kind":"Name","value":"bookingReference"}},{"kind":"Field","name":{"kind":"Name","value":"depotReference"}},{"kind":"Field","name":{"kind":"Name","value":"locationReference"}},{"kind":"Field","name":{"kind":"Name","value":"returnFrom"}},{"kind":"Field","name":{"kind":"Name","value":"returnUntil"}},{"kind":"Field","name":{"kind":"Name","value":"effectiveAt"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"changeReason"}},{"kind":"Field","name":{"kind":"Name","value":"supersedesInstructionId"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"evidence"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"checkedAt"}}]}}]}}]}}]} as unknown as DocumentNode<BoundReturnInstructionQuery, BoundReturnInstructionQueryVariables>;