@burdenoff/microfe-movethewheels 2026.1016.3 → 2026.1016.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/README.md +10 -0
  2. package/dist/MoveTheWheelsRoot.js +5 -0
  3. package/dist/MoveTheWheelsRoutes.js +25 -21
  4. package/dist/components/ContainerEvidencePicker.js +55 -55
  5. package/dist/components/FleetAlertsPanel.js +2 -2
  6. package/dist/components/freight-invoice/InvoiceForm.js +366 -0
  7. package/dist/components/freight-invoice/InvoiceResults.js +240 -0
  8. package/dist/generated/consolidation-operations.d.ts +195 -265
  9. package/dist/generated/container-condition-operations.d.ts +124 -187
  10. package/dist/generated/container-operations.d.ts +59 -85
  11. package/dist/generated/empty-reuse-operations.d.ts +165 -271
  12. package/dist/generated/free-time-operations.d.ts +120 -184
  13. package/dist/generated/freight-cost-operations.d.ts +307 -476
  14. package/dist/generated/freight-invoice-operations.d.ts +1447 -0
  15. package/dist/generated/logistics-procedure-operations.d.ts +100 -156
  16. package/dist/generated/pending-pick-operations.d.ts +769 -1025
  17. package/dist/generated/shipment-status-authority-operations.d.ts +82 -103
  18. package/dist/generated/stock-binding-operations.d.ts +188 -260
  19. package/dist/generated/stock-observation-operations.d.ts +103 -138
  20. package/dist/generated/tracking-quality-operations.d.ts +27 -41
  21. package/dist/generated/trip-utilization-operations.d.ts +137 -185
  22. package/dist/generated/wspace-operations.d.ts +628 -2272
  23. package/dist/generated/wspace-types.d.ts +4 -23
  24. package/dist/hooks/useInvoiceComparisonRecovery.js +118 -0
  25. package/dist/movethewheels/components/ContainerEvidencePicker.d.ts +2 -1
  26. package/dist/movethewheels/components/freight-invoice/InvoiceForm.d.ts +19 -0
  27. package/dist/movethewheels/components/freight-invoice/InvoiceResults.d.ts +9 -0
  28. package/dist/movethewheels/hooks/useFleet.d.ts +1 -1
  29. package/dist/movethewheels/hooks/useFleetIntelligence.d.ts +1 -1
  30. package/dist/movethewheels/hooks/useInvoiceComparisonRecovery.d.ts +22 -0
  31. package/dist/movethewheels/hooks/useProcedureSelection.d.ts +1 -3
  32. package/dist/movethewheels/pages/FreightInvoicePage.d.ts +10 -0
  33. package/dist/movethewheels/utils/driverLicenseExpiry.d.ts +6 -0
  34. package/dist/movethewheels/utils/invoiceComparison.d.ts +32 -0
  35. package/dist/pages/DriverDetailsPage.js +306 -282
  36. package/dist/pages/FreightEstimatePage.js +1 -0
  37. package/dist/pages/FreightInvoicePage.js +346 -0
  38. package/dist/src/generated/consolidation-operations.js +3961 -503
  39. package/dist/src/generated/container-condition-operations.js +2968 -206
  40. package/dist/src/generated/container-operations.js +997 -99
  41. package/dist/src/generated/empty-reuse-operations.js +4811 -747
  42. package/dist/src/generated/free-time-operations.js +2824 -233
  43. package/dist/src/generated/freight-cost-operations.js +4852 -812
  44. package/dist/src/generated/freight-invoice-operations.js +4894 -0
  45. package/dist/src/generated/logistics-procedure-operations.js +2707 -360
  46. package/dist/src/generated/pending-pick-operations.js +8244 -1196
  47. package/dist/src/generated/shipment-status-authority-operations.js +1157 -84
  48. package/dist/src/generated/stock-binding-operations.js +2779 -173
  49. package/dist/src/generated/stock-observation-operations.js +1274 -91
  50. package/dist/src/generated/tracking-quality-operations.js +407 -42
  51. package/dist/src/generated/trip-utilization-operations.js +1765 -138
  52. package/dist/src/generated/wspace-operations.js +428 -706
  53. package/dist/utils/driverLicenseExpiry.js +14 -0
  54. package/dist/utils/invoiceComparison.js +272 -0
  55. package/package.json +29 -29
  56. package/src/generated/consolidation-operations.ts +60 -559
  57. package/src/generated/container-condition-operations.ts +63 -265
  58. package/src/generated/container-operations.ts +37 -132
  59. package/src/generated/empty-reuse-operations.ts +83 -824
  60. package/src/generated/free-time-operations.ts +55 -284
  61. package/src/generated/freight-cost-operations.ts +42 -848
  62. package/src/generated/freight-invoice-operations.ts +830 -0
  63. package/src/generated/logistics-procedure-operations.ts +60 -414
  64. package/src/generated/pending-pick-operations.ts +48 -1239
  65. package/src/generated/shipment-status-authority-operations.ts +33 -113
  66. package/src/generated/stock-binding-operations.ts +29 -198
  67. package/src/generated/stock-observation-operations.ts +24 -111
  68. package/src/generated/tracking-quality-operations.ts +19 -57
  69. package/src/generated/trip-utilization-operations.ts +32 -166
  70. package/src/generated/wspace-operations.ts +284 -2906
  71. package/src/generated/wspace-types.ts +2 -8
  72. package/src/movethewheels/MoveTheWheelsRoot.tsx +6 -0
  73. package/src/movethewheels/MoveTheWheelsRoutes.tsx +2 -0
  74. package/src/movethewheels/components/ContainerEvidencePicker.tsx +12 -4
  75. package/src/movethewheels/components/FleetAlertsPanel.tsx +4 -2
  76. package/src/movethewheels/components/freight-invoice/InvoiceForm.tsx +412 -0
  77. package/src/movethewheels/components/freight-invoice/InvoiceResults.tsx +162 -0
  78. package/src/movethewheels/hooks/useFleet.ts +1 -1
  79. package/src/movethewheels/hooks/useFleetIntelligence.ts +5 -1
  80. package/src/movethewheels/hooks/useInvoiceComparisonRecovery.ts +227 -0
  81. package/src/movethewheels/pages/DriverDetailsPage.tsx +35 -9
  82. package/src/movethewheels/pages/FreightEstimatePage.tsx +1 -0
  83. package/src/movethewheels/pages/FreightInvoicePage.tsx +477 -0
  84. package/src/movethewheels/utils/driverLicenseExpiry.ts +25 -0
  85. package/src/movethewheels/utils/invoiceComparison.ts +520 -0
  86. package/src/operations/freight-invoice/comparison.graphql +40 -0
  87. package/src/operations/wspace/freight-invoice-evidence.graphql +6 -0
  88. package/patches/braces@3.0.3.patch +0 -87
@@ -1,24 +1,17 @@
1
- export type Maybe<T> = T | null;
2
- export type InputMaybe<T> = Maybe<T>;
3
- export type Exact<T extends {
1
+ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
2
+ /** Internal type. DO NOT USE DIRECTLY. */
3
+ type Exact<T extends {
4
4
  [key: string]: unknown;
5
5
  }> = {
6
6
  [K in keyof T]: T[K];
7
7
  };
8
- export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
9
- [SubKey in K]?: Maybe<T[SubKey]>;
10
- };
11
- export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
12
- [SubKey in K]: Maybe<T[SubKey]>;
13
- };
14
- export type MakeEmpty<T extends {
15
- [key: string]: unknown;
16
- }, K extends keyof T> = {
17
- [_ in K]?: never;
18
- };
8
+ /** Internal type. DO NOT USE DIRECTLY. */
19
9
  export type Incremental<T> = T | {
20
10
  [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
21
11
  };
12
+ import type * as Types from './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?: string | null;
389
- acepReference?: string | null;
390
- cargoCategory: MtwContainerCargoCategory;
391
- suitability: MtwContainerSuitability;
392
- cscPlateVersionId?: string | null;
393
- examinationVersionId?: string | null;
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?: string | null;
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?: string | null;
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?: string | null;
437
- reviewedAt?: string | null;
438
- issuerConfirmationReference?: string | null;
439
- reviewNote?: string | null;
440
- revokedAt?: string | null;
441
- revocationReason?: string | null;
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?: InputMaybe<MtwContainerPagination>;
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?: number | null;
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: Scalars['ID']['input'];
476
- pagination?: InputMaybe<MtwContainerPagination>;
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?: number | null;
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?: string | null;
493
- acepReference?: string | null;
494
- cargoCategory: MtwContainerCargoCategory;
495
- suitability: MtwContainerSuitability;
496
- cscPlateVersionId?: string | null;
497
- examinationVersionId?: string | null;
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: Scalars['ID']['input'];
513
- pagination?: InputMaybe<MtwContainerPagination>;
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?: number | null;
496
+ nextOffset: number | null;
521
497
  items: Array<{
522
- __typename?: 'MtwContainerHold';
523
498
  id: string;
524
499
  containerId: string;
525
- inspectionId?: string | null;
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?: string | null;
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: Scalars['ID']['input'];
545
- pagination?: InputMaybe<MtwContainerPagination>;
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?: number | null;
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: Scalars['ID']['input'];
564
- pagination?: InputMaybe<MtwContainerPagination>;
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?: number | null;
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: Scalars['ID']['input'];
590
- pagination?: InputMaybe<MtwContainerPagination>;
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?: number | null;
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?: InputMaybe<MtwContainerPagination>;
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?: number | null;
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?: string | null;
637
- reviewedAt?: string | null;
638
- issuerConfirmationReference?: string | null;
639
- reviewNote?: string | null;
640
- revokedAt?: string | null;
641
- revocationReason?: string | null;
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?: string | null;
673
- acepReference?: string | null;
674
- cargoCategory: MtwContainerCargoCategory;
675
- suitability: MtwContainerSuitability;
676
- cscPlateVersionId?: string | null;
677
- examinationVersionId?: string | null;
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?: string | null;
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?: string | null;
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?: string | null;
743
- reviewedAt?: string | null;
744
- issuerConfirmationReference?: string | null;
745
- reviewNote?: string | null;
746
- revokedAt?: string | null;
747
- revocationReason?: string | null;
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?: string | null;
781
- reviewedAt?: string | null;
782
- issuerConfirmationReference?: string | null;
783
- reviewNote?: string | null;
784
- revokedAt?: string | null;
785
- revocationReason?: string | null;
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?: string | null;
819
- reviewedAt?: string | null;
820
- issuerConfirmationReference?: string | null;
821
- reviewNote?: string | null;
822
- revokedAt?: string | null;
823
- revocationReason?: string | null;
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: import('graphql').DocumentNode;
852
- export declare const InspectionSummaryFragmentDoc: import('graphql').DocumentNode;
853
- export declare const HoldSummaryFragmentDoc: import('graphql').DocumentNode;
854
- export declare const QualificationSummaryFragmentDoc: import('graphql').DocumentNode;
855
- export declare const ConditionContainersDocument: import('graphql').DocumentNode;
856
- export declare const ConditionInspectionsDocument: import('graphql').DocumentNode;
857
- export declare const ConditionHoldsDocument: import('graphql').DocumentNode;
858
- export declare const ConditionDefectsDocument: import('graphql').DocumentNode;
859
- export declare const ConditionRepairsDocument: import('graphql').DocumentNode;
860
- export declare const ConditionReleasesDocument: import('graphql').DocumentNode;
861
- export declare const ConditionQualificationsDocument: import('graphql').DocumentNode;
862
- export declare const RecordInspectionDocument: import('graphql').DocumentNode;
863
- export declare const CreateConditionHoldDocument: import('graphql').DocumentNode;
864
- export declare const RecordConditionRepairDocument: import('graphql').DocumentNode;
865
- export declare const SubmitInspectorQualificationDocument: import('graphql').DocumentNode;
866
- export declare const ReviewInspectorQualificationDocument: import('graphql').DocumentNode;
867
- export declare const RevokeInspectorQualificationDocument: import('graphql').DocumentNode;
868
- export declare const ReleaseConditionHoldDocument: import('graphql').DocumentNode;
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 {};