@dvsa/cvs-type-definitions 2.1.11 → 2.1.12

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.
@@ -735,7 +735,46 @@
735
735
  "maximum": 99999,
736
736
  "minimum": 0
737
737
  },
738
- "techRecord_letterOfAuth": {
738
+ "techRecord_letterOfAuth_letterType": {
739
+ "anyOf": [
740
+ {
741
+ "type": "null"
742
+ },
743
+ {
744
+ "title": "letter types",
745
+ "type": "string",
746
+ "enum": [
747
+ "trailer accept",
748
+ "trailer rejection"
749
+ ]
750
+ }
751
+ ]
752
+ },
753
+ "techRecord_letterOfAuth_letterDateRequested": {
754
+ "type": [
755
+ "string",
756
+ "null"
757
+ ]
758
+ },
759
+ "techRecord_letterOfAuth_paragraphId": {
760
+ "anyOf": [
761
+ {
762
+ "type": "null"
763
+ },
764
+ {
765
+ "title": "Paragraph Ids",
766
+ "type": "string",
767
+ "enum": [
768
+ "3",
769
+ "4",
770
+ "5",
771
+ "6",
772
+ "7"
773
+ ]
774
+ }
775
+ ]
776
+ },
777
+ "techRecord_letterOfAuth_letterIssuer": {
739
778
  "type": [
740
779
  "string",
741
780
  "null"
@@ -613,12 +613,45 @@
613
613
  "maximum": 99999,
614
614
  "minimum": 0
615
615
  },
616
- "techRecord_letterOfAuth": {
616
+ "techRecord_letterOfAuth_letterType": {
617
+ "anyOf": [
618
+ {
619
+ "type": "null"
620
+ },
621
+ {
622
+ "title": "letter types",
623
+ "type": "string",
624
+ "enum": [
625
+ "trailer accept",
626
+ "trailer rejection"
627
+ ]
628
+ }
629
+ ]
630
+ },
631
+ "techRecord_letterOfAuth_letterDateRequested": {
617
632
  "type": [
618
633
  "string",
619
634
  "null"
620
635
  ]
621
636
  },
637
+ "techRecord_letterOfAuth_paragraphId": {
638
+ "anyOf": [
639
+ {
640
+ "type": "null"
641
+ },
642
+ {
643
+ "title": "Paragraph Ids",
644
+ "type": "string",
645
+ "enum": [
646
+ "3",
647
+ "4",
648
+ "5",
649
+ "6",
650
+ "7"
651
+ ]
652
+ }
653
+ ]
654
+ },
622
655
  "techRecord_make": {
623
656
  "type": [
624
657
  "string",
@@ -619,12 +619,45 @@
619
619
  "maximum": 99999,
620
620
  "minimum": 0
621
621
  },
622
- "techRecord_letterOfAuth": {
622
+ "techRecord_letterOfAuth_letterType": {
623
+ "anyOf": [
624
+ {
625
+ "type": "null"
626
+ },
627
+ {
628
+ "title": "letter types",
629
+ "type": "string",
630
+ "enum": [
631
+ "trailer accept",
632
+ "trailer rejection"
633
+ ]
634
+ }
635
+ ]
636
+ },
637
+ "techRecord_letterOfAuth_letterDateRequested": {
623
638
  "type": [
624
639
  "string",
625
640
  "null"
626
641
  ]
627
642
  },
643
+ "techRecord_letterOfAuth_paragraphId": {
644
+ "anyOf": [
645
+ {
646
+ "type": "null"
647
+ },
648
+ {
649
+ "title": "Paragraph Ids",
650
+ "type": "string",
651
+ "enum": [
652
+ "3",
653
+ "4",
654
+ "5",
655
+ "6",
656
+ "7"
657
+ ]
658
+ }
659
+ ]
660
+ },
628
661
  "techRecord_make": {
629
662
  "type": [
630
663
  "string",
@@ -725,12 +725,45 @@
725
725
  "maximum": 99999,
726
726
  "minimum": 0
727
727
  },
728
- "techRecord_letterOfAuth": {
728
+ "techRecord_letterOfAuth_letterType": {
729
+ "anyOf": [
730
+ {
731
+ "type": "null"
732
+ },
733
+ {
734
+ "title": "letter types",
735
+ "type": "string",
736
+ "enum": [
737
+ "trailer accept",
738
+ "trailer rejection"
739
+ ]
740
+ }
741
+ ]
742
+ },
743
+ "techRecord_letterOfAuth_letterDateRequested": {
729
744
  "type": [
730
745
  "string",
731
746
  "null"
732
747
  ]
733
748
  },
749
+ "techRecord_letterOfAuth_paragraphId": {
750
+ "anyOf": [
751
+ {
752
+ "type": "null"
753
+ },
754
+ {
755
+ "title": "Paragraph Ids",
756
+ "type": "string",
757
+ "enum": [
758
+ "3",
759
+ "4",
760
+ "5",
761
+ "6",
762
+ "7"
763
+ ]
764
+ }
765
+ ]
766
+ },
734
767
  "techRecord_make": {
735
768
  "type": [
736
769
  "string",
@@ -603,12 +603,45 @@
603
603
  "maximum": 99999,
604
604
  "minimum": 0
605
605
  },
606
- "techRecord_letterOfAuth": {
606
+ "techRecord_letterOfAuth_letterType": {
607
+ "anyOf": [
608
+ {
609
+ "type": "null"
610
+ },
611
+ {
612
+ "title": "letter types",
613
+ "type": "string",
614
+ "enum": [
615
+ "trailer accept",
616
+ "trailer rejection"
617
+ ]
618
+ }
619
+ ]
620
+ },
621
+ "techRecord_letterOfAuth_letterDateRequested": {
607
622
  "type": [
608
623
  "string",
609
624
  "null"
610
625
  ]
611
626
  },
627
+ "techRecord_letterOfAuth_paragraphId": {
628
+ "anyOf": [
629
+ {
630
+ "type": "null"
631
+ },
632
+ {
633
+ "title": "Paragraph Ids",
634
+ "type": "string",
635
+ "enum": [
636
+ "3",
637
+ "4",
638
+ "5",
639
+ "6",
640
+ "7"
641
+ ]
642
+ }
643
+ ]
644
+ },
612
645
  "techRecord_make": {
613
646
  "type": [
614
647
  "string",
@@ -611,12 +611,45 @@
611
611
  "maximum": 99999,
612
612
  "minimum": 0
613
613
  },
614
- "techRecord_letterOfAuth": {
614
+ "techRecord_letterOfAuth_letterType": {
615
+ "anyOf": [
616
+ {
617
+ "type": "null"
618
+ },
619
+ {
620
+ "title": "letter types",
621
+ "type": "string",
622
+ "enum": [
623
+ "trailer accept",
624
+ "trailer rejection"
625
+ ]
626
+ }
627
+ ]
628
+ },
629
+ "techRecord_letterOfAuth_letterDateRequested": {
615
630
  "type": [
616
631
  "string",
617
632
  "null"
618
633
  ]
619
634
  },
635
+ "techRecord_letterOfAuth_paragraphId": {
636
+ "anyOf": [
637
+ {
638
+ "type": "null"
639
+ },
640
+ {
641
+ "title": "Paragraph Ids",
642
+ "type": "string",
643
+ "enum": [
644
+ "3",
645
+ "4",
646
+ "5",
647
+ "6",
648
+ "7"
649
+ ]
650
+ }
651
+ ]
652
+ },
620
653
  "techRecord_make": {
621
654
  "type": [
622
655
  "string",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvsa/cvs-type-definitions",
3
- "version": "2.1.11",
3
+ "version": "2.1.12",
4
4
  "description": "type definitions for cvs vta application",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -71,6 +71,8 @@ export type FuelPropulsionSystem =
71
71
  | "Fuel cell"
72
72
  | "LNG"
73
73
  | "Other";
74
+ export type LetterTypes = "trailer accept" | "trailer rejection";
75
+ export type ParagraphIds = "3" | "4" | "5" | "6" | "7";
74
76
  export type MicrofilmDocumentType =
75
77
  | "PSV Miscellaneous"
76
78
  | "AAT - Trailer Annual Test"
@@ -270,7 +272,10 @@ export interface GETTRLTechnicalRecordV3Complete {
270
272
  techRecord_grossDesignWeight?: number | null;
271
273
  techRecord_grossEecWeight?: number | null;
272
274
  techRecord_grossGbWeight?: number | null;
273
- techRecord_letterOfAuth?: string | null;
275
+ techRecord_letterOfAuth_letterType?: null | LetterTypes;
276
+ techRecord_letterOfAuth_letterDateRequested?: string | null;
277
+ techRecord_letterOfAuth_paragraphId?: null | ParagraphIds;
278
+ techRecord_letterOfAuth_letterIssuer?: string | null;
274
279
  techRecord_make: string | null;
275
280
  techRecord_manufactureYear?: number | null;
276
281
  techRecord_maxTrainDesignWeight?: number;
@@ -36,6 +36,8 @@ export type FrameDescription =
36
36
  | "integral"
37
37
  | "Box section"
38
38
  | "U section";
39
+ export type LetterTypes = "trailer accept" | "trailer rejection";
40
+ export type ParagraphIds = "3" | "4" | "5" | "6" | "7";
39
41
  export type MicrofilmDocumentType =
40
42
  | "PSV Miscellaneous"
41
43
  | "AAT - Trailer Annual Test"
@@ -208,7 +210,9 @@ export interface GETTRLTechnicalRecordV3Skeleton {
208
210
  techRecord_grossDesignWeight?: number | null;
209
211
  techRecord_grossEecWeight?: number | null;
210
212
  techRecord_grossGbWeight?: number | null;
211
- techRecord_letterOfAuth?: string | null;
213
+ techRecord_letterOfAuth_letterType?: null | LetterTypes;
214
+ techRecord_letterOfAuth_letterDateRequested?: string | null;
215
+ techRecord_letterOfAuth_paragraphId?: null | ParagraphIds;
212
216
  techRecord_make?: string | null;
213
217
  techRecord_manufactureYear?: number | null;
214
218
  techRecord_manufacturerDetails?: string | null;
@@ -36,6 +36,8 @@ export type FrameDescription =
36
36
  | "integral"
37
37
  | "Box section"
38
38
  | "U section";
39
+ export type LetterTypes = "trailer accept" | "trailer rejection";
40
+ export type ParagraphIds = "3" | "4" | "5" | "6" | "7";
39
41
  export type MicrofilmDocumentType =
40
42
  | "PSV Miscellaneous"
41
43
  | "AAT - Trailer Annual Test"
@@ -225,7 +227,9 @@ export interface GETTRLTechnicalRecordV3Testable {
225
227
  techRecord_grossDesignWeight?: number | null;
226
228
  techRecord_grossEecWeight?: number | null;
227
229
  techRecord_grossGbWeight?: number | null;
228
- techRecord_letterOfAuth?: string | null;
230
+ techRecord_letterOfAuth_letterType?: null | LetterTypes;
231
+ techRecord_letterOfAuth_letterDateRequested?: string | null;
232
+ techRecord_letterOfAuth_paragraphId?: null | ParagraphIds;
229
233
  techRecord_make?: string | null;
230
234
  techRecord_manufactureYear?: number | null;
231
235
  techRecord_manufacturerDetails?: string | null;
@@ -71,6 +71,8 @@ export type FuelPropulsionSystem =
71
71
  | "Fuel cell"
72
72
  | "LNG"
73
73
  | "Other";
74
+ export type LetterTypes = "trailer accept" | "trailer rejection";
75
+ export type ParagraphIds = "3" | "4" | "5" | "6" | "7";
74
76
  export type MicrofilmDocumentType =
75
77
  | "PSV Miscellaneous"
76
78
  | "AAT - Trailer Annual Test"
@@ -268,7 +270,9 @@ export interface PUTTRLTechnicalRecordV3Complete {
268
270
  techRecord_grossDesignWeight?: number | null;
269
271
  techRecord_grossEecWeight?: number | null;
270
272
  techRecord_grossGbWeight?: number | null;
271
- techRecord_letterOfAuth?: string | null;
273
+ techRecord_letterOfAuth_letterType?: null | LetterTypes;
274
+ techRecord_letterOfAuth_letterDateRequested?: string | null;
275
+ techRecord_letterOfAuth_paragraphId?: null | ParagraphIds;
272
276
  techRecord_make: string | null;
273
277
  techRecord_manufactureYear?: number | null;
274
278
  techRecord_maxTrainDesignWeight?: number;
@@ -36,6 +36,8 @@ export type FrameDescription =
36
36
  | "integral"
37
37
  | "Box section"
38
38
  | "U section";
39
+ export type LetterTypes = "trailer accept" | "trailer rejection";
40
+ export type ParagraphIds = "3" | "4" | "5" | "6" | "7";
39
41
  export type MicrofilmDocumentType =
40
42
  | "PSV Miscellaneous"
41
43
  | "AAT - Trailer Annual Test"
@@ -206,7 +208,9 @@ export interface PUTTRLTechnicalRecordV3Skeleton {
206
208
  techRecord_grossDesignWeight?: number | null;
207
209
  techRecord_grossEecWeight?: number | null;
208
210
  techRecord_grossGbWeight?: number | null;
209
- techRecord_letterOfAuth?: string | null;
211
+ techRecord_letterOfAuth_letterType?: null | LetterTypes;
212
+ techRecord_letterOfAuth_letterDateRequested?: string | null;
213
+ techRecord_letterOfAuth_paragraphId?: null | ParagraphIds;
210
214
  techRecord_make?: string | null;
211
215
  techRecord_manufactureYear?: number | null;
212
216
  techRecord_manufacturerDetails?: string | null;
@@ -36,6 +36,8 @@ export type FrameDescription =
36
36
  | "integral"
37
37
  | "Box section"
38
38
  | "U section";
39
+ export type LetterTypes = "trailer accept" | "trailer rejection";
40
+ export type ParagraphIds = "3" | "4" | "5" | "6" | "7";
39
41
  export type MicrofilmDocumentType =
40
42
  | "PSV Miscellaneous"
41
43
  | "AAT - Trailer Annual Test"
@@ -223,7 +225,9 @@ export interface GETTRLTechnicalRecordV3Testable {
223
225
  techRecord_grossDesignWeight?: number | null;
224
226
  techRecord_grossEecWeight?: number | null;
225
227
  techRecord_grossGbWeight?: number | null;
226
- techRecord_letterOfAuth?: string | null;
228
+ techRecord_letterOfAuth_letterType?: null | LetterTypes;
229
+ techRecord_letterOfAuth_letterDateRequested?: string | null;
230
+ techRecord_letterOfAuth_paragraphId?: null | ParagraphIds;
227
231
  techRecord_make?: string | null;
228
232
  techRecord_manufactureYear?: number | null;
229
233
  techRecord_manufacturerDetails?: string | null;