@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 './container-condition-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: {
|
|
@@ -371,31 +364,28 @@ export type VerifyMtwInspectorQualificationInput = {
|
|
|
371
364
|
reviewNote: Scalars['String']['input'];
|
|
372
365
|
};
|
|
373
366
|
export type ConditionEvidenceFragment = {
|
|
374
|
-
__typename?: 'MtwContainerEvidence';
|
|
375
367
|
fileId: string;
|
|
376
368
|
versionId: string;
|
|
377
369
|
sha256Hash: string;
|
|
378
370
|
checkedAt: string;
|
|
379
371
|
};
|
|
380
372
|
export type InspectionSummaryFragment = {
|
|
381
|
-
__typename?: 'MtwContainerInspection';
|
|
382
373
|
id: string;
|
|
383
374
|
containerId: string;
|
|
384
375
|
inspectedAt: string;
|
|
385
376
|
inspectorActorId: string;
|
|
386
377
|
templateVersion: string;
|
|
387
|
-
examinationScheme: MtwContainerExaminationScheme;
|
|
388
|
-
nextExaminationAt
|
|
389
|
-
acepReference
|
|
390
|
-
cargoCategory: MtwContainerCargoCategory;
|
|
391
|
-
suitability: MtwContainerSuitability;
|
|
392
|
-
cscPlateVersionId
|
|
393
|
-
examinationVersionId
|
|
378
|
+
examinationScheme: Types.MtwContainerExaminationScheme;
|
|
379
|
+
nextExaminationAt: string | null;
|
|
380
|
+
acepReference: string | null;
|
|
381
|
+
cargoCategory: Types.MtwContainerCargoCategory;
|
|
382
|
+
suitability: Types.MtwContainerSuitability;
|
|
383
|
+
cscPlateVersionId: string | null;
|
|
384
|
+
examinationVersionId: string | null;
|
|
394
385
|
defectCount: number;
|
|
395
386
|
severeDefectCount: number;
|
|
396
387
|
resolvedDefectIds: Array<string>;
|
|
397
388
|
evidence: Array<{
|
|
398
|
-
__typename?: 'MtwContainerEvidence';
|
|
399
389
|
fileId: string;
|
|
400
390
|
versionId: string;
|
|
401
391
|
sha256Hash: string;
|
|
@@ -403,19 +393,17 @@ export type InspectionSummaryFragment = {
|
|
|
403
393
|
}>;
|
|
404
394
|
};
|
|
405
395
|
export type HoldSummaryFragment = {
|
|
406
|
-
__typename?: 'MtwContainerHold';
|
|
407
396
|
id: string;
|
|
408
397
|
containerId: string;
|
|
409
|
-
inspectionId
|
|
398
|
+
inspectionId: string | null;
|
|
410
399
|
reason: string;
|
|
411
400
|
heldAt: string;
|
|
412
|
-
status: MtwContainerHoldStatus;
|
|
401
|
+
status: Types.MtwContainerHoldStatus;
|
|
413
402
|
version: number;
|
|
414
403
|
defectIds: Array<string>;
|
|
415
|
-
releasedAt
|
|
404
|
+
releasedAt: string | null;
|
|
416
405
|
updatedAt: string;
|
|
417
406
|
evidence: Array<{
|
|
418
|
-
__typename?: 'MtwContainerEvidence';
|
|
419
407
|
fileId: string;
|
|
420
408
|
versionId: string;
|
|
421
409
|
sha256Hash: string;
|
|
@@ -423,31 +411,28 @@ export type HoldSummaryFragment = {
|
|
|
423
411
|
}>;
|
|
424
412
|
};
|
|
425
413
|
export type QualificationSummaryFragment = {
|
|
426
|
-
__typename?: 'MtwInspectorQualification';
|
|
427
414
|
id: string;
|
|
428
415
|
subjectActorId: string;
|
|
429
416
|
issuerName: string;
|
|
430
417
|
credentialReference: string;
|
|
431
418
|
validFrom: string;
|
|
432
419
|
validUntil: string;
|
|
433
|
-
scopes: Array<MtwContainerQualificationScope>;
|
|
434
|
-
status: MtwContainerQualificationStatus;
|
|
420
|
+
scopes: Array<Types.MtwContainerQualificationScope>;
|
|
421
|
+
status: Types.MtwContainerQualificationStatus;
|
|
435
422
|
version: number;
|
|
436
|
-
verifierActorId
|
|
437
|
-
reviewedAt
|
|
438
|
-
issuerConfirmationReference
|
|
439
|
-
reviewNote
|
|
440
|
-
revokedAt
|
|
441
|
-
revocationReason
|
|
423
|
+
verifierActorId: string | null;
|
|
424
|
+
reviewedAt: string | null;
|
|
425
|
+
issuerConfirmationReference: string | null;
|
|
426
|
+
reviewNote: string | null;
|
|
427
|
+
revokedAt: string | null;
|
|
428
|
+
revocationReason: string | null;
|
|
442
429
|
evidence: Array<{
|
|
443
|
-
__typename?: 'MtwContainerEvidence';
|
|
444
430
|
fileId: string;
|
|
445
431
|
versionId: string;
|
|
446
432
|
sha256Hash: string;
|
|
447
433
|
checkedAt: string;
|
|
448
434
|
}>;
|
|
449
435
|
reviewEvidence: Array<{
|
|
450
|
-
__typename?: 'MtwContainerEvidence';
|
|
451
436
|
fileId: string;
|
|
452
437
|
versionId: string;
|
|
453
438
|
sha256Hash: string;
|
|
@@ -455,51 +440,44 @@ export type QualificationSummaryFragment = {
|
|
|
455
440
|
}>;
|
|
456
441
|
};
|
|
457
442
|
export type ConditionContainersQueryVariables = Exact<{
|
|
458
|
-
pagination?:
|
|
443
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
459
444
|
}>;
|
|
460
445
|
export type ConditionContainersQuery = {
|
|
461
|
-
__typename?: 'Query';
|
|
462
446
|
mtwContainerPage: {
|
|
463
|
-
__typename?: 'MtwContainerPage';
|
|
464
447
|
hasMore: boolean;
|
|
465
|
-
nextOffset
|
|
448
|
+
nextOffset: number | null;
|
|
466
449
|
items: Array<{
|
|
467
|
-
__typename?: 'MtwContainer';
|
|
468
450
|
id: string;
|
|
469
451
|
containerNumber: string;
|
|
470
|
-
equipmentType: MtwEquipmentType;
|
|
452
|
+
equipmentType: Types.MtwEquipmentType;
|
|
471
453
|
}>;
|
|
472
454
|
};
|
|
473
455
|
};
|
|
474
456
|
export type ConditionInspectionsQueryVariables = Exact<{
|
|
475
|
-
containerId:
|
|
476
|
-
pagination?:
|
|
457
|
+
containerId: string;
|
|
458
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
477
459
|
}>;
|
|
478
460
|
export type ConditionInspectionsQuery = {
|
|
479
|
-
__typename?: 'Query';
|
|
480
461
|
mtwContainerInspectionPage: {
|
|
481
|
-
__typename?: 'MtwContainerInspectionPage';
|
|
482
462
|
hasMore: boolean;
|
|
483
|
-
nextOffset
|
|
463
|
+
nextOffset: number | null;
|
|
484
464
|
items: Array<{
|
|
485
|
-
__typename?: 'MtwContainerInspection';
|
|
486
465
|
id: string;
|
|
487
466
|
containerId: string;
|
|
488
467
|
inspectedAt: string;
|
|
489
468
|
inspectorActorId: string;
|
|
490
469
|
templateVersion: string;
|
|
491
|
-
examinationScheme: MtwContainerExaminationScheme;
|
|
492
|
-
nextExaminationAt
|
|
493
|
-
acepReference
|
|
494
|
-
cargoCategory: MtwContainerCargoCategory;
|
|
495
|
-
suitability: MtwContainerSuitability;
|
|
496
|
-
cscPlateVersionId
|
|
497
|
-
examinationVersionId
|
|
470
|
+
examinationScheme: Types.MtwContainerExaminationScheme;
|
|
471
|
+
nextExaminationAt: string | null;
|
|
472
|
+
acepReference: string | null;
|
|
473
|
+
cargoCategory: Types.MtwContainerCargoCategory;
|
|
474
|
+
suitability: Types.MtwContainerSuitability;
|
|
475
|
+
cscPlateVersionId: string | null;
|
|
476
|
+
examinationVersionId: string | null;
|
|
498
477
|
defectCount: number;
|
|
499
478
|
severeDefectCount: number;
|
|
500
479
|
resolvedDefectIds: Array<string>;
|
|
501
480
|
evidence: Array<{
|
|
502
|
-
__typename?: 'MtwContainerEvidence';
|
|
503
481
|
fileId: string;
|
|
504
482
|
versionId: string;
|
|
505
483
|
sha256Hash: string;
|
|
@@ -509,29 +487,25 @@ export type ConditionInspectionsQuery = {
|
|
|
509
487
|
};
|
|
510
488
|
};
|
|
511
489
|
export type ConditionHoldsQueryVariables = Exact<{
|
|
512
|
-
containerId:
|
|
513
|
-
pagination?:
|
|
490
|
+
containerId: string;
|
|
491
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
514
492
|
}>;
|
|
515
493
|
export type ConditionHoldsQuery = {
|
|
516
|
-
__typename?: 'Query';
|
|
517
494
|
mtwContainerHoldPage: {
|
|
518
|
-
__typename?: 'MtwContainerHoldPage';
|
|
519
495
|
hasMore: boolean;
|
|
520
|
-
nextOffset
|
|
496
|
+
nextOffset: number | null;
|
|
521
497
|
items: Array<{
|
|
522
|
-
__typename?: 'MtwContainerHold';
|
|
523
498
|
id: string;
|
|
524
499
|
containerId: string;
|
|
525
|
-
inspectionId
|
|
500
|
+
inspectionId: string | null;
|
|
526
501
|
reason: string;
|
|
527
502
|
heldAt: string;
|
|
528
|
-
status: MtwContainerHoldStatus;
|
|
503
|
+
status: Types.MtwContainerHoldStatus;
|
|
529
504
|
version: number;
|
|
530
505
|
defectIds: Array<string>;
|
|
531
|
-
releasedAt
|
|
506
|
+
releasedAt: string | null;
|
|
532
507
|
updatedAt: string;
|
|
533
508
|
evidence: Array<{
|
|
534
|
-
__typename?: 'MtwContainerEvidence';
|
|
535
509
|
fileId: string;
|
|
536
510
|
versionId: string;
|
|
537
511
|
sha256Hash: string;
|
|
@@ -541,42 +515,35 @@ export type ConditionHoldsQuery = {
|
|
|
541
515
|
};
|
|
542
516
|
};
|
|
543
517
|
export type ConditionDefectsQueryVariables = Exact<{
|
|
544
|
-
inspectionId:
|
|
545
|
-
pagination?:
|
|
518
|
+
inspectionId: string;
|
|
519
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
546
520
|
}>;
|
|
547
521
|
export type ConditionDefectsQuery = {
|
|
548
|
-
__typename?: 'Query';
|
|
549
522
|
mtwContainerDefectPage: {
|
|
550
|
-
__typename?: 'MtwContainerDefectPage';
|
|
551
523
|
hasMore: boolean;
|
|
552
|
-
nextOffset
|
|
524
|
+
nextOffset: number | null;
|
|
553
525
|
items: Array<{
|
|
554
|
-
__typename?: 'MtwContainerDefect';
|
|
555
526
|
id: string;
|
|
556
527
|
code: string;
|
|
557
|
-
severity: MtwContainerDefectSeverity;
|
|
528
|
+
severity: Types.MtwContainerDefectSeverity;
|
|
558
529
|
details: string;
|
|
559
530
|
}>;
|
|
560
531
|
};
|
|
561
532
|
};
|
|
562
533
|
export type ConditionRepairsQueryVariables = Exact<{
|
|
563
|
-
holdId:
|
|
564
|
-
pagination?:
|
|
534
|
+
holdId: string;
|
|
535
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
565
536
|
}>;
|
|
566
537
|
export type ConditionRepairsQuery = {
|
|
567
|
-
__typename?: 'Query';
|
|
568
538
|
mtwContainerRepairPage: {
|
|
569
|
-
__typename?: 'MtwContainerRepairPage';
|
|
570
539
|
hasMore: boolean;
|
|
571
|
-
nextOffset
|
|
540
|
+
nextOffset: number | null;
|
|
572
541
|
items: Array<{
|
|
573
|
-
__typename?: 'MtwContainerRepair';
|
|
574
542
|
id: string;
|
|
575
543
|
completedAt: string;
|
|
576
544
|
workDescription: string;
|
|
577
545
|
defectIds: Array<string>;
|
|
578
546
|
evidence: Array<{
|
|
579
|
-
__typename?: 'MtwContainerEvidence';
|
|
580
547
|
fileId: string;
|
|
581
548
|
versionId: string;
|
|
582
549
|
sha256Hash: string;
|
|
@@ -586,17 +553,14 @@ export type ConditionRepairsQuery = {
|
|
|
586
553
|
};
|
|
587
554
|
};
|
|
588
555
|
export type ConditionReleasesQueryVariables = Exact<{
|
|
589
|
-
containerId:
|
|
590
|
-
pagination?:
|
|
556
|
+
containerId: string;
|
|
557
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
591
558
|
}>;
|
|
592
559
|
export type ConditionReleasesQuery = {
|
|
593
|
-
__typename?: 'Query';
|
|
594
560
|
mtwContainerReleaseDecisionPage: {
|
|
595
|
-
__typename?: 'MtwContainerReleaseDecisionPage';
|
|
596
561
|
hasMore: boolean;
|
|
597
|
-
nextOffset
|
|
562
|
+
nextOffset: number | null;
|
|
598
563
|
items: Array<{
|
|
599
|
-
__typename?: 'MtwContainerReleaseDecision';
|
|
600
564
|
id: string;
|
|
601
565
|
holdId: string;
|
|
602
566
|
inspectionId: string;
|
|
@@ -604,7 +568,6 @@ export type ConditionReleasesQuery = {
|
|
|
604
568
|
resolutionReview: string;
|
|
605
569
|
decidedAt: string;
|
|
606
570
|
evidence: Array<{
|
|
607
|
-
__typename?: 'MtwContainerEvidence';
|
|
608
571
|
fileId: string;
|
|
609
572
|
versionId: string;
|
|
610
573
|
sha256Hash: string;
|
|
@@ -614,40 +577,35 @@ export type ConditionReleasesQuery = {
|
|
|
614
577
|
};
|
|
615
578
|
};
|
|
616
579
|
export type ConditionQualificationsQueryVariables = Exact<{
|
|
617
|
-
pagination?:
|
|
580
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
618
581
|
}>;
|
|
619
582
|
export type ConditionQualificationsQuery = {
|
|
620
|
-
__typename?: 'Query';
|
|
621
583
|
mtwContainerQualificationPage: {
|
|
622
|
-
__typename?: 'MtwInspectorQualificationPage';
|
|
623
584
|
hasMore: boolean;
|
|
624
|
-
nextOffset
|
|
585
|
+
nextOffset: number | null;
|
|
625
586
|
items: Array<{
|
|
626
|
-
__typename?: 'MtwInspectorQualification';
|
|
627
587
|
id: string;
|
|
628
588
|
subjectActorId: string;
|
|
629
589
|
issuerName: string;
|
|
630
590
|
credentialReference: string;
|
|
631
591
|
validFrom: string;
|
|
632
592
|
validUntil: string;
|
|
633
|
-
scopes: Array<MtwContainerQualificationScope>;
|
|
634
|
-
status: MtwContainerQualificationStatus;
|
|
593
|
+
scopes: Array<Types.MtwContainerQualificationScope>;
|
|
594
|
+
status: Types.MtwContainerQualificationStatus;
|
|
635
595
|
version: number;
|
|
636
|
-
verifierActorId
|
|
637
|
-
reviewedAt
|
|
638
|
-
issuerConfirmationReference
|
|
639
|
-
reviewNote
|
|
640
|
-
revokedAt
|
|
641
|
-
revocationReason
|
|
596
|
+
verifierActorId: string | null;
|
|
597
|
+
reviewedAt: string | null;
|
|
598
|
+
issuerConfirmationReference: string | null;
|
|
599
|
+
reviewNote: string | null;
|
|
600
|
+
revokedAt: string | null;
|
|
601
|
+
revocationReason: string | null;
|
|
642
602
|
evidence: Array<{
|
|
643
|
-
__typename?: 'MtwContainerEvidence';
|
|
644
603
|
fileId: string;
|
|
645
604
|
versionId: string;
|
|
646
605
|
sha256Hash: string;
|
|
647
606
|
checkedAt: string;
|
|
648
607
|
}>;
|
|
649
608
|
reviewEvidence: Array<{
|
|
650
|
-
__typename?: 'MtwContainerEvidence';
|
|
651
609
|
fileId: string;
|
|
652
610
|
versionId: string;
|
|
653
611
|
sha256Hash: string;
|
|
@@ -657,29 +615,26 @@ export type ConditionQualificationsQuery = {
|
|
|
657
615
|
};
|
|
658
616
|
};
|
|
659
617
|
export type RecordInspectionMutationVariables = Exact<{
|
|
660
|
-
input: RecordMtwContainerInspectionInput;
|
|
618
|
+
input: Types.RecordMtwContainerInspectionInput;
|
|
661
619
|
}>;
|
|
662
620
|
export type RecordInspectionMutation = {
|
|
663
|
-
__typename?: 'Mutation';
|
|
664
621
|
recordMtwContainerInspection: {
|
|
665
|
-
__typename?: 'MtwContainerInspection';
|
|
666
622
|
id: string;
|
|
667
623
|
containerId: string;
|
|
668
624
|
inspectedAt: string;
|
|
669
625
|
inspectorActorId: string;
|
|
670
626
|
templateVersion: string;
|
|
671
|
-
examinationScheme: MtwContainerExaminationScheme;
|
|
672
|
-
nextExaminationAt
|
|
673
|
-
acepReference
|
|
674
|
-
cargoCategory: MtwContainerCargoCategory;
|
|
675
|
-
suitability: MtwContainerSuitability;
|
|
676
|
-
cscPlateVersionId
|
|
677
|
-
examinationVersionId
|
|
627
|
+
examinationScheme: Types.MtwContainerExaminationScheme;
|
|
628
|
+
nextExaminationAt: string | null;
|
|
629
|
+
acepReference: string | null;
|
|
630
|
+
cargoCategory: Types.MtwContainerCargoCategory;
|
|
631
|
+
suitability: Types.MtwContainerSuitability;
|
|
632
|
+
cscPlateVersionId: string | null;
|
|
633
|
+
examinationVersionId: string | null;
|
|
678
634
|
defectCount: number;
|
|
679
635
|
severeDefectCount: number;
|
|
680
636
|
resolvedDefectIds: Array<string>;
|
|
681
637
|
evidence: Array<{
|
|
682
|
-
__typename?: 'MtwContainerEvidence';
|
|
683
638
|
fileId: string;
|
|
684
639
|
versionId: string;
|
|
685
640
|
sha256Hash: string;
|
|
@@ -688,24 +643,21 @@ export type RecordInspectionMutation = {
|
|
|
688
643
|
};
|
|
689
644
|
};
|
|
690
645
|
export type CreateConditionHoldMutationVariables = Exact<{
|
|
691
|
-
input: HoldMtwContainerInput;
|
|
646
|
+
input: Types.HoldMtwContainerInput;
|
|
692
647
|
}>;
|
|
693
648
|
export type CreateConditionHoldMutation = {
|
|
694
|
-
__typename?: 'Mutation';
|
|
695
649
|
holdMtwContainer: {
|
|
696
|
-
__typename?: 'MtwContainerHold';
|
|
697
650
|
id: string;
|
|
698
651
|
containerId: string;
|
|
699
|
-
inspectionId
|
|
652
|
+
inspectionId: string | null;
|
|
700
653
|
reason: string;
|
|
701
654
|
heldAt: string;
|
|
702
|
-
status: MtwContainerHoldStatus;
|
|
655
|
+
status: Types.MtwContainerHoldStatus;
|
|
703
656
|
version: number;
|
|
704
657
|
defectIds: Array<string>;
|
|
705
|
-
releasedAt
|
|
658
|
+
releasedAt: string | null;
|
|
706
659
|
updatedAt: string;
|
|
707
660
|
evidence: Array<{
|
|
708
|
-
__typename?: 'MtwContainerEvidence';
|
|
709
661
|
fileId: string;
|
|
710
662
|
versionId: string;
|
|
711
663
|
sha256Hash: string;
|
|
@@ -714,46 +666,40 @@ export type CreateConditionHoldMutation = {
|
|
|
714
666
|
};
|
|
715
667
|
};
|
|
716
668
|
export type RecordConditionRepairMutationVariables = Exact<{
|
|
717
|
-
input: RecordMtwContainerRepairInput;
|
|
669
|
+
input: Types.RecordMtwContainerRepairInput;
|
|
718
670
|
}>;
|
|
719
671
|
export type RecordConditionRepairMutation = {
|
|
720
|
-
__typename?: 'Mutation';
|
|
721
672
|
recordMtwContainerRepair: {
|
|
722
|
-
__typename?: 'MtwContainerRepair';
|
|
723
673
|
id: string;
|
|
724
674
|
};
|
|
725
675
|
};
|
|
726
676
|
export type SubmitInspectorQualificationMutationVariables = Exact<{
|
|
727
|
-
input: SubmitMtwInspectorQualificationInput;
|
|
677
|
+
input: Types.SubmitMtwInspectorQualificationInput;
|
|
728
678
|
}>;
|
|
729
679
|
export type SubmitInspectorQualificationMutation = {
|
|
730
|
-
__typename?: 'Mutation';
|
|
731
680
|
submitMtwInspectorQualification: {
|
|
732
|
-
__typename?: 'MtwInspectorQualification';
|
|
733
681
|
id: string;
|
|
734
682
|
subjectActorId: string;
|
|
735
683
|
issuerName: string;
|
|
736
684
|
credentialReference: string;
|
|
737
685
|
validFrom: string;
|
|
738
686
|
validUntil: string;
|
|
739
|
-
scopes: Array<MtwContainerQualificationScope>;
|
|
740
|
-
status: MtwContainerQualificationStatus;
|
|
687
|
+
scopes: Array<Types.MtwContainerQualificationScope>;
|
|
688
|
+
status: Types.MtwContainerQualificationStatus;
|
|
741
689
|
version: number;
|
|
742
|
-
verifierActorId
|
|
743
|
-
reviewedAt
|
|
744
|
-
issuerConfirmationReference
|
|
745
|
-
reviewNote
|
|
746
|
-
revokedAt
|
|
747
|
-
revocationReason
|
|
690
|
+
verifierActorId: string | null;
|
|
691
|
+
reviewedAt: string | null;
|
|
692
|
+
issuerConfirmationReference: string | null;
|
|
693
|
+
reviewNote: string | null;
|
|
694
|
+
revokedAt: string | null;
|
|
695
|
+
revocationReason: string | null;
|
|
748
696
|
evidence: Array<{
|
|
749
|
-
__typename?: 'MtwContainerEvidence';
|
|
750
697
|
fileId: string;
|
|
751
698
|
versionId: string;
|
|
752
699
|
sha256Hash: string;
|
|
753
700
|
checkedAt: string;
|
|
754
701
|
}>;
|
|
755
702
|
reviewEvidence: Array<{
|
|
756
|
-
__typename?: 'MtwContainerEvidence';
|
|
757
703
|
fileId: string;
|
|
758
704
|
versionId: string;
|
|
759
705
|
sha256Hash: string;
|
|
@@ -762,36 +708,32 @@ export type SubmitInspectorQualificationMutation = {
|
|
|
762
708
|
};
|
|
763
709
|
};
|
|
764
710
|
export type ReviewInspectorQualificationMutationVariables = Exact<{
|
|
765
|
-
input: VerifyMtwInspectorQualificationInput;
|
|
711
|
+
input: Types.VerifyMtwInspectorQualificationInput;
|
|
766
712
|
}>;
|
|
767
713
|
export type ReviewInspectorQualificationMutation = {
|
|
768
|
-
__typename?: 'Mutation';
|
|
769
714
|
verifyMtwInspectorQualification: {
|
|
770
|
-
__typename?: 'MtwInspectorQualification';
|
|
771
715
|
id: string;
|
|
772
716
|
subjectActorId: string;
|
|
773
717
|
issuerName: string;
|
|
774
718
|
credentialReference: string;
|
|
775
719
|
validFrom: string;
|
|
776
720
|
validUntil: string;
|
|
777
|
-
scopes: Array<MtwContainerQualificationScope>;
|
|
778
|
-
status: MtwContainerQualificationStatus;
|
|
721
|
+
scopes: Array<Types.MtwContainerQualificationScope>;
|
|
722
|
+
status: Types.MtwContainerQualificationStatus;
|
|
779
723
|
version: number;
|
|
780
|
-
verifierActorId
|
|
781
|
-
reviewedAt
|
|
782
|
-
issuerConfirmationReference
|
|
783
|
-
reviewNote
|
|
784
|
-
revokedAt
|
|
785
|
-
revocationReason
|
|
724
|
+
verifierActorId: string | null;
|
|
725
|
+
reviewedAt: string | null;
|
|
726
|
+
issuerConfirmationReference: string | null;
|
|
727
|
+
reviewNote: string | null;
|
|
728
|
+
revokedAt: string | null;
|
|
729
|
+
revocationReason: string | null;
|
|
786
730
|
evidence: Array<{
|
|
787
|
-
__typename?: 'MtwContainerEvidence';
|
|
788
731
|
fileId: string;
|
|
789
732
|
versionId: string;
|
|
790
733
|
sha256Hash: string;
|
|
791
734
|
checkedAt: string;
|
|
792
735
|
}>;
|
|
793
736
|
reviewEvidence: Array<{
|
|
794
|
-
__typename?: 'MtwContainerEvidence';
|
|
795
737
|
fileId: string;
|
|
796
738
|
versionId: string;
|
|
797
739
|
sha256Hash: string;
|
|
@@ -800,36 +742,32 @@ export type ReviewInspectorQualificationMutation = {
|
|
|
800
742
|
};
|
|
801
743
|
};
|
|
802
744
|
export type RevokeInspectorQualificationMutationVariables = Exact<{
|
|
803
|
-
input: RevokeMtwInspectorQualificationInput;
|
|
745
|
+
input: Types.RevokeMtwInspectorQualificationInput;
|
|
804
746
|
}>;
|
|
805
747
|
export type RevokeInspectorQualificationMutation = {
|
|
806
|
-
__typename?: 'Mutation';
|
|
807
748
|
revokeMtwInspectorQualification: {
|
|
808
|
-
__typename?: 'MtwInspectorQualification';
|
|
809
749
|
id: string;
|
|
810
750
|
subjectActorId: string;
|
|
811
751
|
issuerName: string;
|
|
812
752
|
credentialReference: string;
|
|
813
753
|
validFrom: string;
|
|
814
754
|
validUntil: string;
|
|
815
|
-
scopes: Array<MtwContainerQualificationScope>;
|
|
816
|
-
status: MtwContainerQualificationStatus;
|
|
755
|
+
scopes: Array<Types.MtwContainerQualificationScope>;
|
|
756
|
+
status: Types.MtwContainerQualificationStatus;
|
|
817
757
|
version: number;
|
|
818
|
-
verifierActorId
|
|
819
|
-
reviewedAt
|
|
820
|
-
issuerConfirmationReference
|
|
821
|
-
reviewNote
|
|
822
|
-
revokedAt
|
|
823
|
-
revocationReason
|
|
758
|
+
verifierActorId: string | null;
|
|
759
|
+
reviewedAt: string | null;
|
|
760
|
+
issuerConfirmationReference: string | null;
|
|
761
|
+
reviewNote: string | null;
|
|
762
|
+
revokedAt: string | null;
|
|
763
|
+
revocationReason: string | null;
|
|
824
764
|
evidence: Array<{
|
|
825
|
-
__typename?: 'MtwContainerEvidence';
|
|
826
765
|
fileId: string;
|
|
827
766
|
versionId: string;
|
|
828
767
|
sha256Hash: string;
|
|
829
768
|
checkedAt: string;
|
|
830
769
|
}>;
|
|
831
770
|
reviewEvidence: Array<{
|
|
832
|
-
__typename?: 'MtwContainerEvidence';
|
|
833
771
|
fileId: string;
|
|
834
772
|
versionId: string;
|
|
835
773
|
sha256Hash: string;
|
|
@@ -838,31 +776,30 @@ export type RevokeInspectorQualificationMutation = {
|
|
|
838
776
|
};
|
|
839
777
|
};
|
|
840
778
|
export type ReleaseConditionHoldMutationVariables = Exact<{
|
|
841
|
-
input: ReleaseMtwContainerHoldInput;
|
|
779
|
+
input: Types.ReleaseMtwContainerHoldInput;
|
|
842
780
|
}>;
|
|
843
781
|
export type ReleaseConditionHoldMutation = {
|
|
844
|
-
__typename?: 'Mutation';
|
|
845
782
|
releaseMtwContainerHold: {
|
|
846
|
-
__typename?: 'MtwContainerReleaseDecision';
|
|
847
783
|
id: string;
|
|
848
784
|
decidedAt: string;
|
|
849
785
|
};
|
|
850
786
|
};
|
|
851
|
-
export declare const ConditionEvidenceFragmentDoc:
|
|
852
|
-
export declare const InspectionSummaryFragmentDoc:
|
|
853
|
-
export declare const HoldSummaryFragmentDoc:
|
|
854
|
-
export declare const QualificationSummaryFragmentDoc:
|
|
855
|
-
export declare const ConditionContainersDocument:
|
|
856
|
-
export declare const ConditionInspectionsDocument:
|
|
857
|
-
export declare const ConditionHoldsDocument:
|
|
858
|
-
export declare const ConditionDefectsDocument:
|
|
859
|
-
export declare const ConditionRepairsDocument:
|
|
860
|
-
export declare const ConditionReleasesDocument:
|
|
861
|
-
export declare const ConditionQualificationsDocument:
|
|
862
|
-
export declare const RecordInspectionDocument:
|
|
863
|
-
export declare const CreateConditionHoldDocument:
|
|
864
|
-
export declare const RecordConditionRepairDocument:
|
|
865
|
-
export declare const SubmitInspectorQualificationDocument:
|
|
866
|
-
export declare const ReviewInspectorQualificationDocument:
|
|
867
|
-
export declare const RevokeInspectorQualificationDocument:
|
|
868
|
-
export declare const ReleaseConditionHoldDocument:
|
|
787
|
+
export declare const ConditionEvidenceFragmentDoc: DocumentNode<ConditionEvidenceFragment, unknown>;
|
|
788
|
+
export declare const InspectionSummaryFragmentDoc: DocumentNode<InspectionSummaryFragment, unknown>;
|
|
789
|
+
export declare const HoldSummaryFragmentDoc: DocumentNode<HoldSummaryFragment, unknown>;
|
|
790
|
+
export declare const QualificationSummaryFragmentDoc: DocumentNode<QualificationSummaryFragment, unknown>;
|
|
791
|
+
export declare const ConditionContainersDocument: DocumentNode<ConditionContainersQuery, ConditionContainersQueryVariables>;
|
|
792
|
+
export declare const ConditionInspectionsDocument: DocumentNode<ConditionInspectionsQuery, ConditionInspectionsQueryVariables>;
|
|
793
|
+
export declare const ConditionHoldsDocument: DocumentNode<ConditionHoldsQuery, ConditionHoldsQueryVariables>;
|
|
794
|
+
export declare const ConditionDefectsDocument: DocumentNode<ConditionDefectsQuery, ConditionDefectsQueryVariables>;
|
|
795
|
+
export declare const ConditionRepairsDocument: DocumentNode<ConditionRepairsQuery, ConditionRepairsQueryVariables>;
|
|
796
|
+
export declare const ConditionReleasesDocument: DocumentNode<ConditionReleasesQuery, ConditionReleasesQueryVariables>;
|
|
797
|
+
export declare const ConditionQualificationsDocument: DocumentNode<ConditionQualificationsQuery, ConditionQualificationsQueryVariables>;
|
|
798
|
+
export declare const RecordInspectionDocument: DocumentNode<RecordInspectionMutation, RecordInspectionMutationVariables>;
|
|
799
|
+
export declare const CreateConditionHoldDocument: DocumentNode<CreateConditionHoldMutation, CreateConditionHoldMutationVariables>;
|
|
800
|
+
export declare const RecordConditionRepairDocument: DocumentNode<RecordConditionRepairMutation, RecordConditionRepairMutationVariables>;
|
|
801
|
+
export declare const SubmitInspectorQualificationDocument: DocumentNode<SubmitInspectorQualificationMutation, SubmitInspectorQualificationMutationVariables>;
|
|
802
|
+
export declare const ReviewInspectorQualificationDocument: DocumentNode<ReviewInspectorQualificationMutation, ReviewInspectorQualificationMutationVariables>;
|
|
803
|
+
export declare const RevokeInspectorQualificationDocument: DocumentNode<RevokeInspectorQualificationMutation, RevokeInspectorQualificationMutationVariables>;
|
|
804
|
+
export declare const ReleaseConditionHoldDocument: DocumentNode<ReleaseConditionHoldMutation, ReleaseConditionHoldMutationVariables>;
|
|
805
|
+
export {};
|