@dvsa/cvs-type-definitions 2.1.11 → 2.1.13

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,7 +613,46 @@
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": {
632
+ "type": [
633
+ "string",
634
+ "null"
635
+ ]
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
+ },
655
+ "techRecord_letterOfAuth_letterIssuer": {
617
656
  "type": [
618
657
  "string",
619
658
  "null"
@@ -619,7 +619,46 @@
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": {
638
+ "type": [
639
+ "string",
640
+ "null"
641
+ ]
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
+ },
661
+ "techRecord_letterOfAuth_letterIssuer": {
623
662
  "type": [
624
663
  "string",
625
664
  "null"
@@ -725,7 +725,46 @@
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": {
744
+ "type": [
745
+ "string",
746
+ "null"
747
+ ]
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
+ },
767
+ "techRecord_letterOfAuth_letterIssuer": {
729
768
  "type": [
730
769
  "string",
731
770
  "null"
@@ -603,7 +603,46 @@
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": {
622
+ "type": [
623
+ "string",
624
+ "null"
625
+ ]
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
+ },
645
+ "techRecord_letterOfAuth_letterIssuer": {
607
646
  "type": [
608
647
  "string",
609
648
  "null"
@@ -611,7 +611,46 @@
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": {
630
+ "type": [
631
+ "string",
632
+ "null"
633
+ ]
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
+ },
653
+ "techRecord_letterOfAuth_letterIssuer": {
615
654
  "type": [
616
655
  "string",
617
656
  "null"
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.13",
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,10 @@ 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;
216
+ techRecord_letterOfAuth_letterIssuer?: string | null;
212
217
  techRecord_make?: string | null;
213
218
  techRecord_manufactureYear?: number | null;
214
219
  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,10 @@ 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;
233
+ techRecord_letterOfAuth_letterIssuer?: string | null;
229
234
  techRecord_make?: string | null;
230
235
  techRecord_manufactureYear?: number | null;
231
236
  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,10 @@ 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;
276
+ techRecord_letterOfAuth_letterIssuer?: string | null;
272
277
  techRecord_make: string | null;
273
278
  techRecord_manufactureYear?: number | null;
274
279
  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,10 @@ 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;
214
+ techRecord_letterOfAuth_letterIssuer?: string | null;
210
215
  techRecord_make?: string | null;
211
216
  techRecord_manufactureYear?: number | null;
212
217
  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,10 @@ 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;
231
+ techRecord_letterOfAuth_letterIssuer?: string | null;
227
232
  techRecord_make?: string | null;
228
233
  techRecord_manufactureYear?: number | null;
229
234
  techRecord_manufacturerDetails?: string | null;