@burdenoff/microfe-movethewheels 2026.1016.2 → 2026.1016.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/dist/MoveTheWheelsRoot.js +5 -0
- package/dist/MoveTheWheelsRoutes.js +25 -21
- package/dist/components/ContainerEvidencePicker.js +55 -55
- package/dist/components/FleetAlertsPanel.js +2 -2
- package/dist/components/freight-cost/FreightCommercialEditor.js +217 -0
- package/dist/components/freight-cost/FreightCommercialFactEditor.js +217 -0
- package/dist/components/freight-cost/FreightCommercialHistory.js +115 -0
- package/dist/components/freight-cost/FreightDraftForm.js +106 -91
- package/dist/components/freight-cost/FreightHistory.js +42 -40
- package/dist/components/freight-invoice/InvoiceForm.js +366 -0
- package/dist/components/freight-invoice/InvoiceResults.js +240 -0
- package/dist/generated/consolidation-operations.d.ts +195 -265
- package/dist/generated/container-condition-operations.d.ts +124 -187
- package/dist/generated/container-operations.d.ts +59 -85
- package/dist/generated/empty-reuse-operations.d.ts +165 -271
- package/dist/generated/free-time-operations.d.ts +120 -184
- package/dist/generated/freight-cost-operations.d.ts +955 -165
- package/dist/generated/freight-invoice-operations.d.ts +1447 -0
- package/dist/generated/logistics-procedure-operations.d.ts +100 -156
- package/dist/generated/pending-pick-operations.d.ts +769 -1025
- package/dist/generated/shipment-status-authority-operations.d.ts +82 -103
- package/dist/generated/stock-binding-operations.d.ts +188 -260
- package/dist/generated/stock-observation-operations.d.ts +103 -138
- package/dist/generated/tracking-quality-operations.d.ts +27 -41
- package/dist/generated/trip-utilization-operations.d.ts +137 -185
- package/dist/generated/wspace-operations.d.ts +628 -2272
- package/dist/generated/wspace-types.d.ts +4 -23
- package/dist/hooks/useFreightRecoveryAction.js +20 -20
- package/dist/hooks/useInvoiceComparisonRecovery.js +118 -0
- package/dist/movethewheels/components/ContainerEvidencePicker.d.ts +2 -1
- package/dist/movethewheels/components/freight-cost/FreightCommercialEditor.d.ts +8 -0
- package/dist/movethewheels/components/freight-cost/FreightCommercialFactEditor.d.ts +8 -0
- package/dist/movethewheels/components/freight-cost/FreightCommercialHistory.d.ts +4 -0
- package/dist/movethewheels/components/freight-cost/FreightDraftForm.d.ts +4 -2
- package/dist/movethewheels/components/freight-cost/FreightHistory.d.ts +2 -2
- package/dist/movethewheels/components/freight-invoice/InvoiceForm.d.ts +19 -0
- package/dist/movethewheels/components/freight-invoice/InvoiceResults.d.ts +9 -0
- package/dist/movethewheels/hooks/useFleet.d.ts +1 -1
- package/dist/movethewheels/hooks/useFleetIntelligence.d.ts +1 -1
- package/dist/movethewheels/hooks/useInvoiceComparisonRecovery.d.ts +22 -0
- package/dist/movethewheels/hooks/useProcedureSelection.d.ts +1 -3
- package/dist/movethewheels/pages/FreightInvoicePage.d.ts +10 -0
- package/dist/movethewheels/utils/driverLicenseExpiry.d.ts +6 -0
- package/dist/movethewheels/utils/freightCommercial.d.ts +44 -0
- package/dist/movethewheels/utils/invoiceComparison.d.ts +32 -0
- package/dist/pages/DriverDetailsPage.js +306 -282
- package/dist/pages/FreightEstimatePage.js +97 -92
- package/dist/pages/FreightInvoicePage.js +346 -0
- package/dist/src/generated/consolidation-operations.js +3961 -503
- package/dist/src/generated/container-condition-operations.js +2968 -206
- package/dist/src/generated/container-operations.js +997 -99
- package/dist/src/generated/empty-reuse-operations.js +4811 -747
- package/dist/src/generated/free-time-operations.js +2824 -233
- package/dist/src/generated/freight-cost-operations.js +4852 -323
- package/dist/src/generated/freight-invoice-operations.js +4894 -0
- package/dist/src/generated/logistics-procedure-operations.js +2707 -360
- package/dist/src/generated/pending-pick-operations.js +8244 -1196
- package/dist/src/generated/shipment-status-authority-operations.js +1157 -84
- package/dist/src/generated/stock-binding-operations.js +2779 -173
- package/dist/src/generated/stock-observation-operations.js +1274 -91
- package/dist/src/generated/tracking-quality-operations.js +407 -42
- package/dist/src/generated/trip-utilization-operations.js +1765 -138
- package/dist/src/generated/wspace-operations.js +428 -706
- package/dist/utils/driverLicenseExpiry.js +14 -0
- package/dist/utils/freightAcknowledgement.js +6 -5
- package/dist/utils/freightCommercial.js +194 -0
- package/dist/utils/freightRecovery.js +22 -22
- package/dist/utils/invoiceComparison.js +272 -0
- package/package.json +30 -29
- package/src/generated/consolidation-operations.ts +60 -559
- package/src/generated/container-condition-operations.ts +63 -265
- package/src/generated/container-operations.ts +37 -132
- package/src/generated/empty-reuse-operations.ts +83 -824
- package/src/generated/free-time-operations.ts +55 -284
- package/src/generated/freight-cost-operations.ts +373 -349
- package/src/generated/freight-invoice-operations.ts +830 -0
- package/src/generated/logistics-procedure-operations.ts +60 -414
- package/src/generated/pending-pick-operations.ts +48 -1239
- package/src/generated/shipment-status-authority-operations.ts +33 -113
- package/src/generated/stock-binding-operations.ts +29 -198
- package/src/generated/stock-observation-operations.ts +24 -111
- package/src/generated/tracking-quality-operations.ts +19 -57
- package/src/generated/trip-utilization-operations.ts +32 -166
- package/src/generated/wspace-operations.ts +284 -2906
- package/src/generated/wspace-types.ts +2 -8
- package/src/movethewheels/MoveTheWheelsRoot.tsx +6 -0
- package/src/movethewheels/MoveTheWheelsRoutes.tsx +2 -0
- package/src/movethewheels/components/ContainerEvidencePicker.tsx +12 -4
- package/src/movethewheels/components/FleetAlertsPanel.tsx +4 -2
- package/src/movethewheels/components/freight-cost/FreightCommercialEditor.tsx +236 -0
- package/src/movethewheels/components/freight-cost/FreightCommercialFactEditor.tsx +258 -0
- package/src/movethewheels/components/freight-cost/FreightCommercialHistory.tsx +90 -0
- package/src/movethewheels/components/freight-cost/FreightDraftForm.tsx +33 -4
- package/src/movethewheels/components/freight-cost/FreightHistory.tsx +4 -2
- package/src/movethewheels/components/freight-invoice/InvoiceForm.tsx +412 -0
- package/src/movethewheels/components/freight-invoice/InvoiceResults.tsx +162 -0
- package/src/movethewheels/hooks/useFleet.ts +1 -1
- package/src/movethewheels/hooks/useFleetIntelligence.ts +5 -1
- package/src/movethewheels/hooks/useFreightRecoveryAction.ts +2 -1
- package/src/movethewheels/hooks/useInvoiceComparisonRecovery.ts +227 -0
- package/src/movethewheels/pages/DriverDetailsPage.tsx +35 -9
- package/src/movethewheels/pages/FreightEstimatePage.tsx +15 -7
- package/src/movethewheels/pages/FreightInvoicePage.tsx +477 -0
- package/src/movethewheels/utils/driverLicenseExpiry.ts +25 -0
- package/src/movethewheels/utils/freightAcknowledgement.ts +3 -1
- package/src/movethewheels/utils/freightCommercial.ts +388 -0
- package/src/movethewheels/utils/freightRecovery.ts +6 -2
- package/src/movethewheels/utils/invoiceComparison.ts +520 -0
- package/src/operations/freight-cost/commercial.graphql +483 -0
- package/src/operations/freight-invoice/comparison.graphql +40 -0
- package/src/operations/wspace/freight-invoice-evidence.graphql +6 -0
- package/patches/braces@3.0.3.patch +0 -87
|
@@ -1,24 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
|
|
2
|
+
/** Internal type. DO NOT USE DIRECTLY. */
|
|
3
|
+
type Exact<T extends {
|
|
4
4
|
[key: string]: unknown;
|
|
5
5
|
}> = {
|
|
6
6
|
[K in keyof T]: T[K];
|
|
7
7
|
};
|
|
8
|
-
|
|
9
|
-
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
10
|
-
};
|
|
11
|
-
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
12
|
-
[SubKey in K]: Maybe<T[SubKey]>;
|
|
13
|
-
};
|
|
14
|
-
export type MakeEmpty<T extends {
|
|
15
|
-
[key: string]: unknown;
|
|
16
|
-
}, K extends keyof T> = {
|
|
17
|
-
[_ in K]?: never;
|
|
18
|
-
};
|
|
8
|
+
/** Internal type. DO NOT USE DIRECTLY. */
|
|
19
9
|
export type Incremental<T> = T | {
|
|
20
10
|
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
21
11
|
};
|
|
12
|
+
import type * as Types from './logistics-procedure-operations';
|
|
13
|
+
export type Maybe<T> = T | null;
|
|
14
|
+
export type InputMaybe<T> = Maybe<T>;
|
|
22
15
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
23
16
|
export type Scalars = {
|
|
24
17
|
ID: {
|
|
@@ -481,63 +474,54 @@ export type StartMtwProcedureExecutionInput = {
|
|
|
481
474
|
proposalId: Scalars['ID']['input'];
|
|
482
475
|
};
|
|
483
476
|
export type ProcedureContainersQueryVariables = Exact<{
|
|
484
|
-
pagination?:
|
|
477
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
485
478
|
}>;
|
|
486
479
|
export type ProcedureContainersQuery = {
|
|
487
|
-
__typename?: 'Query';
|
|
488
480
|
mtwContainerPage: {
|
|
489
|
-
__typename?: 'MtwContainerPage';
|
|
490
481
|
total: number;
|
|
491
482
|
limit: number;
|
|
492
483
|
offset: number;
|
|
493
484
|
hasMore: boolean;
|
|
494
|
-
nextOffset
|
|
485
|
+
nextOffset: number | null;
|
|
495
486
|
items: Array<{
|
|
496
|
-
__typename?: 'MtwContainer';
|
|
497
487
|
id: string;
|
|
498
488
|
containerNumber: string;
|
|
499
|
-
equipmentType: MtwEquipmentType;
|
|
489
|
+
equipmentType: Types.MtwEquipmentType;
|
|
500
490
|
}>;
|
|
501
491
|
};
|
|
502
492
|
};
|
|
503
493
|
export type ProcedureCyclesQueryVariables = Exact<{
|
|
504
|
-
containerId:
|
|
505
|
-
pagination?:
|
|
494
|
+
containerId: string;
|
|
495
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
506
496
|
}>;
|
|
507
497
|
export type ProcedureCyclesQuery = {
|
|
508
|
-
__typename?: 'Query';
|
|
509
498
|
mtwContainerCyclePage: {
|
|
510
|
-
__typename?: 'MtwContainerCyclePage';
|
|
511
499
|
total: number;
|
|
512
500
|
limit: number;
|
|
513
501
|
offset: number;
|
|
514
502
|
hasMore: boolean;
|
|
515
|
-
nextOffset
|
|
503
|
+
nextOffset: number | null;
|
|
516
504
|
items: Array<{
|
|
517
|
-
__typename?: 'MtwContainerCycle';
|
|
518
505
|
id: string;
|
|
519
506
|
version: number;
|
|
520
|
-
status: MtwContainerCycleStatus;
|
|
521
|
-
bookingReference
|
|
507
|
+
status: Types.MtwContainerCycleStatus;
|
|
508
|
+
bookingReference: string | null;
|
|
522
509
|
openedAt: string;
|
|
523
510
|
}>;
|
|
524
511
|
};
|
|
525
512
|
};
|
|
526
513
|
export type ProcedureProposalsQueryVariables = Exact<{
|
|
527
|
-
cycleId:
|
|
528
|
-
pagination?:
|
|
514
|
+
cycleId: string;
|
|
515
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
529
516
|
}>;
|
|
530
517
|
export type ProcedureProposalsQuery = {
|
|
531
|
-
__typename?: 'Query';
|
|
532
518
|
mtwReuseProposalPage: {
|
|
533
|
-
__typename?: 'MtwReuseProposalPage';
|
|
534
519
|
total: number;
|
|
535
520
|
limit: number;
|
|
536
521
|
offset: number;
|
|
537
522
|
hasMore: boolean;
|
|
538
|
-
nextOffset
|
|
523
|
+
nextOffset: number | null;
|
|
539
524
|
items: Array<{
|
|
540
|
-
__typename?: 'MtwReuseProposal';
|
|
541
525
|
id: string;
|
|
542
526
|
proposalReference: string;
|
|
543
527
|
revision: number;
|
|
@@ -551,39 +535,35 @@ export type ProcedureProposalsQuery = {
|
|
|
551
535
|
};
|
|
552
536
|
};
|
|
553
537
|
export type ProcedurePolicyHistoryQueryVariables = Exact<{
|
|
554
|
-
reference:
|
|
555
|
-
pagination?:
|
|
538
|
+
reference: string;
|
|
539
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
556
540
|
}>;
|
|
557
541
|
export type ProcedurePolicyHistoryQuery = {
|
|
558
|
-
__typename?: 'Query';
|
|
559
542
|
mtwProcedureVersionPage: {
|
|
560
|
-
__typename?: 'MtwProcedureVersionPage';
|
|
561
543
|
total: number;
|
|
562
544
|
limit: number;
|
|
563
545
|
offset: number;
|
|
564
546
|
hasMore: boolean;
|
|
565
|
-
nextOffset
|
|
547
|
+
nextOffset: number | null;
|
|
566
548
|
items: Array<{
|
|
567
|
-
__typename?: 'MtwProcedureVersion';
|
|
568
549
|
id: string;
|
|
569
550
|
templateReference: string;
|
|
570
551
|
version: number;
|
|
571
|
-
previousVersionId
|
|
572
|
-
kind: MtwProcedureVersionKind;
|
|
552
|
+
previousVersionId: string | null;
|
|
553
|
+
kind: Types.MtwProcedureVersionKind;
|
|
573
554
|
title: string;
|
|
574
555
|
effectiveAt: string;
|
|
575
|
-
validUntil
|
|
556
|
+
validUntil: string | null;
|
|
576
557
|
reason: string;
|
|
577
558
|
recordedAt: string;
|
|
578
559
|
createdBy: string;
|
|
579
|
-
requiredSteps: Array<MtwProcedureStep>;
|
|
580
|
-
enforcement: MtwProcedureRecordingBoundary;
|
|
560
|
+
requiredSteps: Array<Types.MtwProcedureStep>;
|
|
561
|
+
enforcement: Types.MtwProcedureRecordingBoundary;
|
|
581
562
|
scope: {
|
|
582
|
-
__typename?: 'MtwProcedureScope';
|
|
583
563
|
schemaVersion: number;
|
|
584
564
|
handoffLocationReference: string;
|
|
585
|
-
equipmentType: MtwEquipmentType;
|
|
586
|
-
cargoCategory: MtwContainerCargoCategory;
|
|
565
|
+
equipmentType: Types.MtwEquipmentType;
|
|
566
|
+
cargoCategory: Types.MtwContainerCargoCategory;
|
|
587
567
|
equipmentOwnerReference: string;
|
|
588
568
|
declaredLaneReference: string;
|
|
589
569
|
declaredJurisdictions: Array<string>;
|
|
@@ -591,7 +571,6 @@ export type ProcedurePolicyHistoryQuery = {
|
|
|
591
571
|
sourceRevision: string;
|
|
592
572
|
};
|
|
593
573
|
evidence: Array<{
|
|
594
|
-
__typename?: 'MtwContainerEvidence';
|
|
595
574
|
fileId: string;
|
|
596
575
|
versionId: string;
|
|
597
576
|
sha256Hash: string;
|
|
@@ -601,31 +580,28 @@ export type ProcedurePolicyHistoryQuery = {
|
|
|
601
580
|
};
|
|
602
581
|
};
|
|
603
582
|
export type ProcedurePolicyQueryVariables = Exact<{
|
|
604
|
-
id:
|
|
583
|
+
id: string;
|
|
605
584
|
}>;
|
|
606
585
|
export type ProcedurePolicyQuery = {
|
|
607
|
-
__typename?: 'Query';
|
|
608
586
|
mtwProcedureVersion: {
|
|
609
|
-
__typename?: 'MtwProcedureVersion';
|
|
610
587
|
id: string;
|
|
611
588
|
templateReference: string;
|
|
612
589
|
version: number;
|
|
613
|
-
previousVersionId
|
|
614
|
-
kind: MtwProcedureVersionKind;
|
|
590
|
+
previousVersionId: string | null;
|
|
591
|
+
kind: Types.MtwProcedureVersionKind;
|
|
615
592
|
title: string;
|
|
616
593
|
effectiveAt: string;
|
|
617
|
-
validUntil
|
|
594
|
+
validUntil: string | null;
|
|
618
595
|
reason: string;
|
|
619
596
|
recordedAt: string;
|
|
620
597
|
createdBy: string;
|
|
621
|
-
requiredSteps: Array<MtwProcedureStep>;
|
|
622
|
-
enforcement: MtwProcedureRecordingBoundary;
|
|
598
|
+
requiredSteps: Array<Types.MtwProcedureStep>;
|
|
599
|
+
enforcement: Types.MtwProcedureRecordingBoundary;
|
|
623
600
|
scope: {
|
|
624
|
-
__typename?: 'MtwProcedureScope';
|
|
625
601
|
schemaVersion: number;
|
|
626
602
|
handoffLocationReference: string;
|
|
627
|
-
equipmentType: MtwEquipmentType;
|
|
628
|
-
cargoCategory: MtwContainerCargoCategory;
|
|
603
|
+
equipmentType: Types.MtwEquipmentType;
|
|
604
|
+
cargoCategory: Types.MtwContainerCargoCategory;
|
|
629
605
|
equipmentOwnerReference: string;
|
|
630
606
|
declaredLaneReference: string;
|
|
631
607
|
declaredJurisdictions: Array<string>;
|
|
@@ -633,7 +609,6 @@ export type ProcedurePolicyQuery = {
|
|
|
633
609
|
sourceRevision: string;
|
|
634
610
|
};
|
|
635
611
|
evidence: Array<{
|
|
636
|
-
__typename?: 'MtwContainerEvidence';
|
|
637
612
|
fileId: string;
|
|
638
613
|
versionId: string;
|
|
639
614
|
sha256Hash: string;
|
|
@@ -642,39 +617,34 @@ export type ProcedurePolicyQuery = {
|
|
|
642
617
|
};
|
|
643
618
|
};
|
|
644
619
|
export type ProcedureApplicableQueryVariables = Exact<{
|
|
645
|
-
proposalId:
|
|
620
|
+
proposalId: string;
|
|
646
621
|
}>;
|
|
647
622
|
export type ProcedureApplicableQuery = {
|
|
648
|
-
__typename?: 'Query';
|
|
649
623
|
mtwApplicableProcedures: {
|
|
650
|
-
__typename?: 'MtwProcedureApplicability';
|
|
651
624
|
proposalId: string;
|
|
652
625
|
evaluatedAt: string;
|
|
653
|
-
enforcement: MtwProcedureRecordingBoundary;
|
|
626
|
+
enforcement: Types.MtwProcedureRecordingBoundary;
|
|
654
627
|
policies: Array<{
|
|
655
|
-
|
|
656
|
-
status: MtwProcedureApplicabilityStatus;
|
|
628
|
+
status: Types.MtwProcedureApplicabilityStatus;
|
|
657
629
|
version: {
|
|
658
|
-
__typename?: 'MtwProcedureVersion';
|
|
659
630
|
id: string;
|
|
660
631
|
templateReference: string;
|
|
661
632
|
version: number;
|
|
662
|
-
previousVersionId
|
|
663
|
-
kind: MtwProcedureVersionKind;
|
|
633
|
+
previousVersionId: string | null;
|
|
634
|
+
kind: Types.MtwProcedureVersionKind;
|
|
664
635
|
title: string;
|
|
665
636
|
effectiveAt: string;
|
|
666
|
-
validUntil
|
|
637
|
+
validUntil: string | null;
|
|
667
638
|
reason: string;
|
|
668
639
|
recordedAt: string;
|
|
669
640
|
createdBy: string;
|
|
670
|
-
requiredSteps: Array<MtwProcedureStep>;
|
|
671
|
-
enforcement: MtwProcedureRecordingBoundary;
|
|
641
|
+
requiredSteps: Array<Types.MtwProcedureStep>;
|
|
642
|
+
enforcement: Types.MtwProcedureRecordingBoundary;
|
|
672
643
|
scope: {
|
|
673
|
-
__typename?: 'MtwProcedureScope';
|
|
674
644
|
schemaVersion: number;
|
|
675
645
|
handoffLocationReference: string;
|
|
676
|
-
equipmentType: MtwEquipmentType;
|
|
677
|
-
cargoCategory: MtwContainerCargoCategory;
|
|
646
|
+
equipmentType: Types.MtwEquipmentType;
|
|
647
|
+
cargoCategory: Types.MtwContainerCargoCategory;
|
|
678
648
|
equipmentOwnerReference: string;
|
|
679
649
|
declaredLaneReference: string;
|
|
680
650
|
declaredJurisdictions: Array<string>;
|
|
@@ -682,7 +652,6 @@ export type ProcedureApplicableQuery = {
|
|
|
682
652
|
sourceRevision: string;
|
|
683
653
|
};
|
|
684
654
|
evidence: Array<{
|
|
685
|
-
__typename?: 'MtwContainerEvidence';
|
|
686
655
|
fileId: string;
|
|
687
656
|
versionId: string;
|
|
688
657
|
sha256Hash: string;
|
|
@@ -693,20 +662,17 @@ export type ProcedureApplicableQuery = {
|
|
|
693
662
|
};
|
|
694
663
|
};
|
|
695
664
|
export type ProcedureRunsQueryVariables = Exact<{
|
|
696
|
-
proposalId:
|
|
697
|
-
pagination?:
|
|
665
|
+
proposalId: string;
|
|
666
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
698
667
|
}>;
|
|
699
668
|
export type ProcedureRunsQuery = {
|
|
700
|
-
__typename?: 'Query';
|
|
701
669
|
mtwProcedureExecutionPage: {
|
|
702
|
-
__typename?: 'MtwProcedureExecutionPage';
|
|
703
670
|
total: number;
|
|
704
671
|
limit: number;
|
|
705
672
|
offset: number;
|
|
706
673
|
hasMore: boolean;
|
|
707
|
-
nextOffset
|
|
674
|
+
nextOffset: number | null;
|
|
708
675
|
items: Array<{
|
|
709
|
-
__typename?: 'MtwProcedureExecution';
|
|
710
676
|
id: string;
|
|
711
677
|
proposalId: string;
|
|
712
678
|
procedureVersionId: string;
|
|
@@ -714,9 +680,8 @@ export type ProcedureRunsQuery = {
|
|
|
714
680
|
executorActorId: string;
|
|
715
681
|
recordedAt: string;
|
|
716
682
|
createdBy: string;
|
|
717
|
-
enforcement: MtwProcedureRecordingBoundary;
|
|
683
|
+
enforcement: Types.MtwProcedureRecordingBoundary;
|
|
718
684
|
subject: {
|
|
719
|
-
__typename?: 'MtwProcedureSubject';
|
|
720
685
|
proposalId: string;
|
|
721
686
|
proposalRevision: number;
|
|
722
687
|
cycleVersion: number;
|
|
@@ -730,20 +695,18 @@ export type ProcedureRunsQuery = {
|
|
|
730
695
|
handoffLocationReference: string;
|
|
731
696
|
handoffFrom: string;
|
|
732
697
|
handoffUntil: string;
|
|
733
|
-
equipmentType: MtwEquipmentType;
|
|
734
|
-
cargoCategory: MtwContainerCargoCategory;
|
|
698
|
+
equipmentType: Types.MtwEquipmentType;
|
|
699
|
+
cargoCategory: Types.MtwContainerCargoCategory;
|
|
735
700
|
equipmentOwnerReference: string;
|
|
736
701
|
};
|
|
737
702
|
}>;
|
|
738
703
|
};
|
|
739
704
|
};
|
|
740
705
|
export type ProcedureRunQueryVariables = Exact<{
|
|
741
|
-
id:
|
|
706
|
+
id: string;
|
|
742
707
|
}>;
|
|
743
708
|
export type ProcedureRunQuery = {
|
|
744
|
-
__typename?: 'Query';
|
|
745
709
|
mtwProcedureExecution: {
|
|
746
|
-
__typename?: 'MtwProcedureExecution';
|
|
747
710
|
id: string;
|
|
748
711
|
proposalId: string;
|
|
749
712
|
procedureVersionId: string;
|
|
@@ -751,9 +714,8 @@ export type ProcedureRunQuery = {
|
|
|
751
714
|
executorActorId: string;
|
|
752
715
|
recordedAt: string;
|
|
753
716
|
createdBy: string;
|
|
754
|
-
enforcement: MtwProcedureRecordingBoundary;
|
|
717
|
+
enforcement: Types.MtwProcedureRecordingBoundary;
|
|
755
718
|
subject: {
|
|
756
|
-
__typename?: 'MtwProcedureSubject';
|
|
757
719
|
proposalId: string;
|
|
758
720
|
proposalRevision: number;
|
|
759
721
|
cycleVersion: number;
|
|
@@ -767,38 +729,34 @@ export type ProcedureRunQuery = {
|
|
|
767
729
|
handoffLocationReference: string;
|
|
768
730
|
handoffFrom: string;
|
|
769
731
|
handoffUntil: string;
|
|
770
|
-
equipmentType: MtwEquipmentType;
|
|
771
|
-
cargoCategory: MtwContainerCargoCategory;
|
|
732
|
+
equipmentType: Types.MtwEquipmentType;
|
|
733
|
+
cargoCategory: Types.MtwContainerCargoCategory;
|
|
772
734
|
equipmentOwnerReference: string;
|
|
773
735
|
};
|
|
774
736
|
};
|
|
775
737
|
};
|
|
776
738
|
export type ProcedureStepsQueryVariables = Exact<{
|
|
777
|
-
executionId:
|
|
778
|
-
pagination?:
|
|
739
|
+
executionId: string;
|
|
740
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
779
741
|
}>;
|
|
780
742
|
export type ProcedureStepsQuery = {
|
|
781
|
-
__typename?: 'Query';
|
|
782
743
|
mtwProcedureStepPage: {
|
|
783
|
-
__typename?: 'MtwProcedureStepPage';
|
|
784
744
|
total: number;
|
|
785
745
|
limit: number;
|
|
786
746
|
offset: number;
|
|
787
747
|
hasMore: boolean;
|
|
788
|
-
nextOffset
|
|
748
|
+
nextOffset: number | null;
|
|
789
749
|
items: Array<{
|
|
790
|
-
__typename?: 'MtwProcedureStepDecision';
|
|
791
750
|
id: string;
|
|
792
751
|
executionId: string;
|
|
793
|
-
step: MtwProcedureStep;
|
|
752
|
+
step: Types.MtwProcedureStep;
|
|
794
753
|
version: number;
|
|
795
|
-
previousDecisionId
|
|
796
|
-
kind: MtwProcedureStepKind;
|
|
754
|
+
previousDecisionId: string | null;
|
|
755
|
+
kind: Types.MtwProcedureStepKind;
|
|
797
756
|
note: string;
|
|
798
757
|
recordedAt: string;
|
|
799
758
|
createdBy: string;
|
|
800
759
|
evidence: Array<{
|
|
801
|
-
__typename?: 'MtwContainerEvidence';
|
|
802
760
|
fileId: string;
|
|
803
761
|
versionId: string;
|
|
804
762
|
sha256Hash: string;
|
|
@@ -808,34 +766,30 @@ export type ProcedureStepsQuery = {
|
|
|
808
766
|
};
|
|
809
767
|
};
|
|
810
768
|
export type ProcedureDeviationsQueryVariables = Exact<{
|
|
811
|
-
executionId:
|
|
812
|
-
pagination?:
|
|
769
|
+
executionId: string;
|
|
770
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
813
771
|
}>;
|
|
814
772
|
export type ProcedureDeviationsQuery = {
|
|
815
|
-
__typename?: 'Query';
|
|
816
773
|
mtwProcedureDeviationPage: {
|
|
817
|
-
__typename?: 'MtwProcedureDeviationPage';
|
|
818
774
|
total: number;
|
|
819
775
|
limit: number;
|
|
820
776
|
offset: number;
|
|
821
777
|
hasMore: boolean;
|
|
822
|
-
nextOffset
|
|
778
|
+
nextOffset: number | null;
|
|
823
779
|
items: Array<{
|
|
824
|
-
__typename?: 'MtwProcedureDeviation';
|
|
825
780
|
id: string;
|
|
826
781
|
executionId: string;
|
|
827
782
|
stepDecisionId: string;
|
|
828
783
|
version: number;
|
|
829
|
-
previousDeviationId
|
|
830
|
-
kind: MtwProcedureDeviationKind;
|
|
831
|
-
validFrom
|
|
832
|
-
validUntil
|
|
784
|
+
previousDeviationId: string | null;
|
|
785
|
+
kind: Types.MtwProcedureDeviationKind;
|
|
786
|
+
validFrom: string | null;
|
|
787
|
+
validUntil: string | null;
|
|
833
788
|
reason: string;
|
|
834
789
|
recordedAt: string;
|
|
835
790
|
createdBy: string;
|
|
836
|
-
authorityScope: MtwProcedureDeviationAuthority;
|
|
791
|
+
authorityScope: Types.MtwProcedureDeviationAuthority;
|
|
837
792
|
evidence: Array<{
|
|
838
|
-
__typename?: 'MtwContainerEvidence';
|
|
839
793
|
fileId: string;
|
|
840
794
|
versionId: string;
|
|
841
795
|
sha256Hash: string;
|
|
@@ -845,94 +799,84 @@ export type ProcedureDeviationsQuery = {
|
|
|
845
799
|
};
|
|
846
800
|
};
|
|
847
801
|
export type PublishProcedureMutationVariables = Exact<{
|
|
848
|
-
input: PublishMtwProcedureVersionInput;
|
|
802
|
+
input: Types.PublishMtwProcedureVersionInput;
|
|
849
803
|
}>;
|
|
850
804
|
export type PublishProcedureMutation = {
|
|
851
|
-
__typename?: 'Mutation';
|
|
852
805
|
publishMtwProcedureVersion: {
|
|
853
|
-
__typename?: 'MtwProcedureVersion';
|
|
854
806
|
id: string;
|
|
855
807
|
templateReference: string;
|
|
856
808
|
version: number;
|
|
857
|
-
previousVersionId
|
|
858
|
-
kind: MtwProcedureVersionKind;
|
|
809
|
+
previousVersionId: string | null;
|
|
810
|
+
kind: Types.MtwProcedureVersionKind;
|
|
859
811
|
};
|
|
860
812
|
};
|
|
861
813
|
export type StartProcedureMutationVariables = Exact<{
|
|
862
|
-
input: StartMtwProcedureExecutionInput;
|
|
814
|
+
input: Types.StartMtwProcedureExecutionInput;
|
|
863
815
|
}>;
|
|
864
816
|
export type StartProcedureMutation = {
|
|
865
|
-
__typename?: 'Mutation';
|
|
866
817
|
startMtwProcedureExecution: {
|
|
867
|
-
__typename?: 'MtwProcedureExecution';
|
|
868
818
|
id: string;
|
|
869
819
|
proposalId: string;
|
|
870
820
|
procedureVersionId: string;
|
|
871
821
|
executorActorId: string;
|
|
872
822
|
subject: {
|
|
873
|
-
__typename?: 'MtwProcedureSubject';
|
|
874
823
|
cycleVersion: number;
|
|
875
824
|
proposalRevision: number;
|
|
876
825
|
};
|
|
877
826
|
};
|
|
878
827
|
};
|
|
879
828
|
export type RecordProcedureStepMutationVariables = Exact<{
|
|
880
|
-
input: RecordMtwProcedureStepInput;
|
|
829
|
+
input: Types.RecordMtwProcedureStepInput;
|
|
881
830
|
}>;
|
|
882
831
|
export type RecordProcedureStepMutation = {
|
|
883
|
-
__typename?: 'Mutation';
|
|
884
832
|
recordMtwProcedureStep: {
|
|
885
|
-
__typename?: 'MtwProcedureStepDecision';
|
|
886
833
|
id: string;
|
|
887
834
|
executionId: string;
|
|
888
|
-
step: MtwProcedureStep;
|
|
835
|
+
step: Types.MtwProcedureStep;
|
|
889
836
|
version: number;
|
|
890
|
-
previousDecisionId
|
|
891
|
-
kind: MtwProcedureStepKind;
|
|
837
|
+
previousDecisionId: string | null;
|
|
838
|
+
kind: Types.MtwProcedureStepKind;
|
|
892
839
|
};
|
|
893
840
|
};
|
|
894
841
|
export type RecordProcedureDeviationMutationVariables = Exact<{
|
|
895
|
-
input: RecordMtwProcedureDeviationInput;
|
|
842
|
+
input: Types.RecordMtwProcedureDeviationInput;
|
|
896
843
|
}>;
|
|
897
844
|
export type RecordProcedureDeviationMutation = {
|
|
898
|
-
__typename?: 'Mutation';
|
|
899
845
|
recordMtwProcedureDeviation: {
|
|
900
|
-
__typename?: 'MtwProcedureDeviation';
|
|
901
846
|
id: string;
|
|
902
847
|
executionId: string;
|
|
903
848
|
stepDecisionId: string;
|
|
904
849
|
version: number;
|
|
905
|
-
previousDeviationId
|
|
906
|
-
kind: MtwProcedureDeviationKind;
|
|
850
|
+
previousDeviationId: string | null;
|
|
851
|
+
kind: Types.MtwProcedureDeviationKind;
|
|
907
852
|
};
|
|
908
853
|
};
|
|
909
854
|
export type RevokeProcedureDeviationMutationVariables = Exact<{
|
|
910
|
-
input: RevokeMtwProcedureDeviationInput;
|
|
855
|
+
input: Types.RevokeMtwProcedureDeviationInput;
|
|
911
856
|
}>;
|
|
912
857
|
export type RevokeProcedureDeviationMutation = {
|
|
913
|
-
__typename?: 'Mutation';
|
|
914
858
|
revokeMtwProcedureDeviation: {
|
|
915
|
-
__typename?: 'MtwProcedureDeviation';
|
|
916
859
|
id: string;
|
|
917
860
|
executionId: string;
|
|
918
861
|
stepDecisionId: string;
|
|
919
862
|
version: number;
|
|
920
|
-
previousDeviationId
|
|
921
|
-
kind: MtwProcedureDeviationKind;
|
|
863
|
+
previousDeviationId: string | null;
|
|
864
|
+
kind: Types.MtwProcedureDeviationKind;
|
|
922
865
|
};
|
|
923
866
|
};
|
|
924
|
-
export declare const ProcedureContainersDocument:
|
|
925
|
-
export declare const ProcedureCyclesDocument:
|
|
926
|
-
export declare const ProcedureProposalsDocument:
|
|
927
|
-
export declare const ProcedurePolicyHistoryDocument:
|
|
928
|
-
export declare const ProcedurePolicyDocument:
|
|
929
|
-
export declare const ProcedureApplicableDocument:
|
|
930
|
-
export declare const ProcedureRunsDocument:
|
|
931
|
-
export declare const ProcedureRunDocument:
|
|
932
|
-
export declare const ProcedureStepsDocument:
|
|
933
|
-
export declare const ProcedureDeviationsDocument:
|
|
934
|
-
export declare const PublishProcedureDocument:
|
|
935
|
-
export declare const StartProcedureDocument:
|
|
936
|
-
export declare const RecordProcedureStepDocument:
|
|
937
|
-
export declare const RecordProcedureDeviationDocument:
|
|
938
|
-
export declare const RevokeProcedureDeviationDocument:
|
|
867
|
+
export declare const ProcedureContainersDocument: DocumentNode<ProcedureContainersQuery, ProcedureContainersQueryVariables>;
|
|
868
|
+
export declare const ProcedureCyclesDocument: DocumentNode<ProcedureCyclesQuery, ProcedureCyclesQueryVariables>;
|
|
869
|
+
export declare const ProcedureProposalsDocument: DocumentNode<ProcedureProposalsQuery, ProcedureProposalsQueryVariables>;
|
|
870
|
+
export declare const ProcedurePolicyHistoryDocument: DocumentNode<ProcedurePolicyHistoryQuery, ProcedurePolicyHistoryQueryVariables>;
|
|
871
|
+
export declare const ProcedurePolicyDocument: DocumentNode<ProcedurePolicyQuery, ProcedurePolicyQueryVariables>;
|
|
872
|
+
export declare const ProcedureApplicableDocument: DocumentNode<ProcedureApplicableQuery, ProcedureApplicableQueryVariables>;
|
|
873
|
+
export declare const ProcedureRunsDocument: DocumentNode<ProcedureRunsQuery, ProcedureRunsQueryVariables>;
|
|
874
|
+
export declare const ProcedureRunDocument: DocumentNode<ProcedureRunQuery, ProcedureRunQueryVariables>;
|
|
875
|
+
export declare const ProcedureStepsDocument: DocumentNode<ProcedureStepsQuery, ProcedureStepsQueryVariables>;
|
|
876
|
+
export declare const ProcedureDeviationsDocument: DocumentNode<ProcedureDeviationsQuery, ProcedureDeviationsQueryVariables>;
|
|
877
|
+
export declare const PublishProcedureDocument: DocumentNode<PublishProcedureMutation, PublishProcedureMutationVariables>;
|
|
878
|
+
export declare const StartProcedureDocument: DocumentNode<StartProcedureMutation, StartProcedureMutationVariables>;
|
|
879
|
+
export declare const RecordProcedureStepDocument: DocumentNode<RecordProcedureStepMutation, RecordProcedureStepMutationVariables>;
|
|
880
|
+
export declare const RecordProcedureDeviationDocument: DocumentNode<RecordProcedureDeviationMutation, RecordProcedureDeviationMutationVariables>;
|
|
881
|
+
export declare const RevokeProcedureDeviationDocument: DocumentNode<RevokeProcedureDeviationMutation, RevokeProcedureDeviationMutationVariables>;
|
|
882
|
+
export {};
|