@dvsa/cvs-type-definitions 2.0.25 → 2.0.26

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 (39) hide show
  1. package/json-schemas/v3/tech-record/get/car/complete/index.json +2 -2
  2. package/json-schemas/v3/tech-record/get/hgv/complete/index.json +1 -1
  3. package/json-schemas/v3/tech-record/get/hgv/skeleton/index.json +1 -1
  4. package/json-schemas/v3/tech-record/get/hgv/testable/index.json +1 -1
  5. package/json-schemas/v3/tech-record/get/lgv/complete/index.json +4 -4
  6. package/json-schemas/v3/tech-record/get/motorcycle/complete/index.json +2 -2
  7. package/json-schemas/v3/tech-record/get/trl/complete/index.json +1 -1
  8. package/json-schemas/v3/tech-record/get/trl/skeleton/index.json +1 -1
  9. package/json-schemas/v3/tech-record/get/trl/testable/index.json +1 -1
  10. package/json-schemas/v3/tech-record/put/car/complete/index.json +2 -2
  11. package/json-schemas/v3/tech-record/put/car/skeleton/index.json +1 -1
  12. package/json-schemas/v3/tech-record/put/hgv/complete/index.json +1 -1
  13. package/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +1 -1
  14. package/json-schemas/v3/tech-record/put/hgv/testable/index.json +1 -1
  15. package/json-schemas/v3/tech-record/put/lgv/complete/index.json +4 -4
  16. package/json-schemas/v3/tech-record/put/lgv/skeleton/index.json +1 -1
  17. package/json-schemas/v3/tech-record/put/trl/complete/index.json +1 -1
  18. package/json-schemas/v3/tech-record/put/trl/skeleton/index.json +1 -1
  19. package/json-schemas/v3/tech-record/put/trl/testable/index.json +1 -1
  20. package/package.json +1 -1
  21. package/types/v3/tech-record/get/car/complete/index.d.ts +1 -1
  22. package/types/v3/tech-record/get/hgv/complete/index.d.ts +2 -2
  23. package/types/v3/tech-record/get/hgv/skeleton/index.d.ts +2 -2
  24. package/types/v3/tech-record/get/hgv/testable/index.d.ts +2 -2
  25. package/types/v3/tech-record/get/lgv/complete/index.d.ts +3 -3
  26. package/types/v3/tech-record/get/motorcycle/complete/index.d.ts +1 -1
  27. package/types/v3/tech-record/get/trl/complete/index.d.ts +2 -2
  28. package/types/v3/tech-record/get/trl/skeleton/index.d.ts +2 -2
  29. package/types/v3/tech-record/get/trl/testable/index.d.ts +2 -2
  30. package/types/v3/tech-record/put/car/complete/index.d.ts +1 -1
  31. package/types/v3/tech-record/put/car/skeleton/index.d.ts +1 -1
  32. package/types/v3/tech-record/put/hgv/complete/index.d.ts +2 -2
  33. package/types/v3/tech-record/put/hgv/skeleton/index.d.ts +2 -2
  34. package/types/v3/tech-record/put/hgv/testable/index.d.ts +2 -2
  35. package/types/v3/tech-record/put/lgv/complete/index.d.ts +2 -2
  36. package/types/v3/tech-record/put/lgv/skeleton/index.d.ts +1 -1
  37. package/types/v3/tech-record/put/trl/complete/index.d.ts +2 -2
  38. package/types/v3/tech-record/put/trl/skeleton/index.d.ts +2 -2
  39. package/types/v3/tech-record/put/trl/testable/index.d.ts +2 -2
@@ -3,7 +3,7 @@
3
3
  "type": "object",
4
4
  "additionalProperties": false,
5
5
  "required": [
6
- "vehicleSubclass",
6
+ "techRecord_vehicleSubclass",
7
7
  "createdTimestamp",
8
8
  "systemNumber",
9
9
  "vin"
@@ -196,7 +196,7 @@
196
196
  "vin": {
197
197
  "type": "string"
198
198
  },
199
- "vehicleSubclass": {
199
+ "techRecord_vehicleSubclass": {
200
200
  "title": "Vehicle Subclass",
201
201
  "type": "array",
202
202
  "items": {
@@ -715,7 +715,7 @@
715
715
  "type": "null"
716
716
  },
717
717
  {
718
- "title": "Microfilm Document Types",
718
+ "title": "Microfilm Document Type",
719
719
  "type": "string",
720
720
  "enum": [
721
721
  "PSV Miscellaneous",
@@ -752,7 +752,7 @@
752
752
  "type": "null"
753
753
  },
754
754
  {
755
- "title": "Microfilm Document Types",
755
+ "title": "Microfilm Document Type",
756
756
  "type": "string",
757
757
  "enum": [
758
758
  "PSV Miscellaneous",
@@ -753,7 +753,7 @@
753
753
  "type": "null"
754
754
  },
755
755
  {
756
- "title": "Microfilm Document Types",
756
+ "title": "Microfilm Document Type",
757
757
  "type": "string",
758
758
  "enum": [
759
759
  "PSV Miscellaneous",
@@ -1,9 +1,9 @@
1
1
  {
2
- "title": "Tech Record Complete Car Schema",
2
+ "title": "Tech Record Complete LGV Schema",
3
3
  "type": "object",
4
4
  "additionalProperties": false,
5
5
  "required": [
6
- "vehicleSubclass"
6
+ "techRecord_vehicleSubclass"
7
7
  ],
8
8
  "allOf": [
9
9
  {
@@ -11,7 +11,7 @@
11
11
  "type": "object",
12
12
  "additionalProperties": false,
13
13
  "required": [
14
- "vehicleSubclass",
14
+ "techRecord_vehicleSubclass",
15
15
  "createdTimestamp",
16
16
  "systemNumber",
17
17
  "vin"
@@ -204,7 +204,7 @@
204
204
  "vin": {
205
205
  "type": "string"
206
206
  },
207
- "vehicleSubclass": {
207
+ "techRecord_vehicleSubclass": {
208
208
  "title": "Vehicle Subclass",
209
209
  "type": "array",
210
210
  "items": {
@@ -3,7 +3,7 @@
3
3
  "type": "object",
4
4
  "additionalProperties": false,
5
5
  "required": [
6
- "vehicleSubclass",
6
+ "techRecord_vehicleSubclass",
7
7
  "createdTimestamp",
8
8
  "systemNumber",
9
9
  "vin"
@@ -196,7 +196,7 @@
196
196
  "vin": {
197
197
  "type": "string"
198
198
  },
199
- "vehicleSubclass": {
199
+ "techRecord_vehicleSubclass": {
200
200
  "title": "Vehicle Subclass",
201
201
  "type": "array",
202
202
  "items": {
@@ -795,7 +795,7 @@
795
795
  "type": "null"
796
796
  },
797
797
  {
798
- "title": "Microfilm Document Types",
798
+ "title": "Microfilm Document Type",
799
799
  "type": "string",
800
800
  "enum": [
801
801
  "PSV Miscellaneous",
@@ -664,7 +664,7 @@
664
664
  "type": "null"
665
665
  },
666
666
  {
667
- "title": "Microfilm Document Types",
667
+ "title": "Microfilm Document Type",
668
668
  "type": "string",
669
669
  "enum": [
670
670
  "PSV Miscellaneous",
@@ -670,7 +670,7 @@
670
670
  "type": "null"
671
671
  },
672
672
  {
673
- "title": "Microfilm Document Types",
673
+ "title": "Microfilm Document Type",
674
674
  "type": "string",
675
675
  "enum": [
676
676
  "PSV Miscellaneous",
@@ -3,7 +3,7 @@
3
3
  "type": "object",
4
4
  "additionalProperties": false,
5
5
  "required": [
6
- "vehicleSubclass",
6
+ "techRecord_vehicleSubclass",
7
7
  "vin"
8
8
  ],
9
9
  "properties": {
@@ -67,7 +67,7 @@
67
67
  "techRecord_notes": {
68
68
  "type": "string"
69
69
  },
70
- "vehicleSubclass": {
70
+ "techRecord_vehicleSubclass": {
71
71
  "title": "Vehicle Subclass",
72
72
  "type": "array",
73
73
  "items": {
@@ -4,7 +4,7 @@
4
4
  "additionalProperties": false,
5
5
  "required": [
6
6
  "vin",
7
- "vehicleType"
7
+ "techRecord_vehicleType"
8
8
  ],
9
9
  "properties": {
10
10
  "vin": {
@@ -694,7 +694,7 @@
694
694
  "type": "null"
695
695
  },
696
696
  {
697
- "title": "Microfilm Document Types",
697
+ "title": "Microfilm Document Type",
698
698
  "type": "string",
699
699
  "enum": [
700
700
  "PSV Miscellaneous",
@@ -731,7 +731,7 @@
731
731
  "type": "null"
732
732
  },
733
733
  {
734
- "title": "Microfilm Document Types",
734
+ "title": "Microfilm Document Type",
735
735
  "type": "string",
736
736
  "enum": [
737
737
  "PSV Miscellaneous",
@@ -732,7 +732,7 @@
732
732
  "type": "null"
733
733
  },
734
734
  {
735
- "title": "Microfilm Document Types",
735
+ "title": "Microfilm Document Type",
736
736
  "type": "string",
737
737
  "enum": [
738
738
  "PSV Miscellaneous",
@@ -1,9 +1,9 @@
1
1
  {
2
- "title": "Tech Record Complete Car Schema",
2
+ "title": "Tech Record Complete LGV Schema",
3
3
  "type": "object",
4
4
  "additionalProperties": false,
5
5
  "required": [
6
- "vehicleSubclass"
6
+ "techRecord_vehicleSubclass"
7
7
  ],
8
8
  "allOf": [
9
9
  {
@@ -11,7 +11,7 @@
11
11
  "type": "object",
12
12
  "additionalProperties": false,
13
13
  "required": [
14
- "vehicleSubclass",
14
+ "techRecord_vehicleSubclass",
15
15
  "vin"
16
16
  ],
17
17
  "properties": {
@@ -75,7 +75,7 @@
75
75
  "techRecord_notes": {
76
76
  "type": "string"
77
77
  },
78
- "vehicleSubclass": {
78
+ "techRecord_vehicleSubclass": {
79
79
  "title": "Vehicle Subclass",
80
80
  "type": "array",
81
81
  "items": {
@@ -9,7 +9,7 @@
9
9
  "additionalProperties": false,
10
10
  "required": [
11
11
  "vin",
12
- "vehicleType"
12
+ "techRecord_vehicleType"
13
13
  ],
14
14
  "properties": {
15
15
  "vin": {
@@ -774,7 +774,7 @@
774
774
  "type": "null"
775
775
  },
776
776
  {
777
- "title": "Microfilm Document Types",
777
+ "title": "Microfilm Document Type",
778
778
  "type": "string",
779
779
  "enum": [
780
780
  "PSV Miscellaneous",
@@ -643,7 +643,7 @@
643
643
  "type": "null"
644
644
  },
645
645
  {
646
- "title": "Microfilm Document Types",
646
+ "title": "Microfilm Document Type",
647
647
  "type": "string",
648
648
  "enum": [
649
649
  "PSV Miscellaneous",
@@ -651,7 +651,7 @@
651
651
  "type": "null"
652
652
  },
653
653
  {
654
- "title": "Microfilm Document Types",
654
+ "title": "Microfilm Document Type",
655
655
  "type": "string",
656
656
  "enum": [
657
657
  "PSV Miscellaneous",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvsa/cvs-type-definitions",
3
- "version": "2.0.25",
3
+ "version": "2.0.26",
4
4
  "description": "type definitions for cvs vta application",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -71,7 +71,7 @@ export interface TechRecordCompleteCarSchema {
71
71
  techRecord_vehicleConfiguration?: VehicleConfiguration;
72
72
  techRecord_vehicleType?: VehicleType;
73
73
  vin: string;
74
- vehicleSubclass: VehicleSubclass;
74
+ techRecord_vehicleSubclass: VehicleSubclass;
75
75
  techRecord_hiddenInVta?: boolean;
76
76
  techRecord_updateType?: string;
77
77
  }
@@ -37,7 +37,7 @@ export type FuelPropulsionSystem =
37
37
  | "Fuel cell"
38
38
  | "LNG"
39
39
  | "Other";
40
- export type MicrofilmDocumentTypes =
40
+ export type MicrofilmDocumentType =
41
41
  | "PSV Miscellaneous"
42
42
  | "AAT - Trailer Annual Test"
43
43
  | "AIV - HGV International App"
@@ -230,7 +230,7 @@ export interface GETHGVTechnicalRecordV3Complete {
230
230
  techRecord_maxTrainEecWeight?: number | null;
231
231
  techRecord_maxTrainDesignWeight?: number | null;
232
232
  techRecord_manufactureYear: number;
233
- techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentTypes;
233
+ techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
234
234
  techRecord_microfilm_microfilmRollNumber?: string | null;
235
235
  techRecord_microfilm_microfilmSerialNumber?: string | null;
236
236
  techRecord_model: string;
@@ -37,7 +37,7 @@ export type FuelPropulsionSystem =
37
37
  | "Fuel cell"
38
38
  | "LNG"
39
39
  | "Other";
40
- export type MicrofilmDocumentTypes =
40
+ export type MicrofilmDocumentType =
41
41
  | "PSV Miscellaneous"
42
42
  | "AAT - Trailer Annual Test"
43
43
  | "AIV - HGV International App"
@@ -230,7 +230,7 @@ export interface GETHGVTechnicalRecordV3Skeleton {
230
230
  techRecord_maxTrainEecWeight?: number | null;
231
231
  techRecord_maxTrainDesignWeight?: number | null;
232
232
  techRecord_manufactureYear?: number | null;
233
- techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentTypes;
233
+ techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
234
234
  techRecord_microfilm_microfilmRollNumber?: string | null;
235
235
  techRecord_microfilm_microfilmSerialNumber?: string | null;
236
236
  techRecord_model?: string | null;
@@ -37,7 +37,7 @@ export type FuelPropulsionSystem =
37
37
  | "Fuel cell"
38
38
  | "LNG"
39
39
  | "Other";
40
- export type MicrofilmDocumentTypes =
40
+ export type MicrofilmDocumentType =
41
41
  | "PSV Miscellaneous"
42
42
  | "AAT - Trailer Annual Test"
43
43
  | "AIV - HGV International App"
@@ -230,7 +230,7 @@ export interface GETHGVTechnicalRecordV3Testable {
230
230
  techRecord_maxTrainEecWeight?: number | null;
231
231
  techRecord_maxTrainDesignWeight?: number | null;
232
232
  techRecord_manufactureYear?: number | null;
233
- techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentTypes;
233
+ techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
234
234
  techRecord_microfilm_microfilmRollNumber?: string | null;
235
235
  techRecord_microfilm_microfilmSerialNumber?: string | null;
236
236
  techRecord_model?: string | null;
@@ -5,7 +5,7 @@
5
5
  * and run json-schema-to-typescript to regenerate this file.
6
6
  */
7
7
 
8
- export type TechRecordCompleteCarSchema = TechRecordCompleteCarSchema1;
8
+ export type TechRecordCompleteLGVSchema = TechRecordCompleteCarSchema;
9
9
  export type EUVehicleCategory =
10
10
  | "m1"
11
11
  | "m2"
@@ -42,7 +42,7 @@ export type VehicleConfiguration =
42
42
  export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
43
43
  export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
44
44
 
45
- export interface TechRecordCompleteCarSchema1 {
45
+ export interface TechRecordCompleteCarSchema {
46
46
  techRecord_applicantDetails_name?: string | null;
47
47
  techRecord_applicantDetails_address1?: null | string;
48
48
  techRecord_applicantDetails_address2?: null | string;
@@ -72,7 +72,7 @@ export interface TechRecordCompleteCarSchema1 {
72
72
  techRecord_vehicleConfiguration?: VehicleConfiguration;
73
73
  techRecord_vehicleType?: VehicleType;
74
74
  vin: string;
75
- vehicleSubclass: VehicleSubclass;
75
+ techRecord_vehicleSubclass: VehicleSubclass;
76
76
  techRecord_hiddenInVta?: boolean;
77
77
  techRecord_updateType?: string;
78
78
  }
@@ -71,7 +71,7 @@ export interface TechRecordCompleteMotorcycleSchema {
71
71
  techRecord_vehicleConfiguration?: VehicleConfiguration;
72
72
  techRecord_vehicleType?: VehicleType;
73
73
  vin: string;
74
- vehicleSubclass: VehicleSubclass;
74
+ techRecord_vehicleSubclass: VehicleSubclass;
75
75
  numberOfWheelsDriven?: number;
76
76
  techRecord_hiddenInVta?: boolean;
77
77
  techRecord_updateType?: string;
@@ -71,7 +71,7 @@ export type FuelPropulsionSystem =
71
71
  | "Fuel cell"
72
72
  | "LNG"
73
73
  | "Other";
74
- export type MicrofilmDocumentTypes =
74
+ export type MicrofilmDocumentType =
75
75
  | "PSV Miscellaneous"
76
76
  | "AAT - Trailer Annual Test"
77
77
  | "AIV - HGV International App"
@@ -279,7 +279,7 @@ export interface GETTRLTechnicalRecordV3Complete {
279
279
  techRecord_manufacturerDetails?: string | null;
280
280
  techRecord_maxLoadOnCoupling: number | null;
281
281
  techRecord_microfilm?: string | null;
282
- techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentTypes;
282
+ techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
283
283
  techRecord_microfilm_microfilmRollNumber?: string | null;
284
284
  techRecord_microfilm_microfilmSerialNumber?: string | null;
285
285
  techRecord_model: string | null;
@@ -36,7 +36,7 @@ export type FrameDescription =
36
36
  | "integral"
37
37
  | "Box section"
38
38
  | "U section";
39
- export type MicrofilmDocumentTypes =
39
+ export type MicrofilmDocumentType =
40
40
  | "PSV Miscellaneous"
41
41
  | "AAT - Trailer Annual Test"
42
42
  | "AIV - HGV International App"
@@ -214,7 +214,7 @@ export interface GETTRLTechnicalRecordV3Skeleton {
214
214
  techRecord_manufacturerDetails?: string | null;
215
215
  techRecord_maxLoadOnCoupling?: number | null;
216
216
  techRecord_microfilm?: string | null;
217
- techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentTypes;
217
+ techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
218
218
  techRecord_microfilm_microfilmRollNumber?: string | null;
219
219
  techRecord_microfilm_microfilmSerialNumber?: string | null;
220
220
  techRecord_model?: string | null;
@@ -36,7 +36,7 @@ export type FrameDescription =
36
36
  | "integral"
37
37
  | "Box section"
38
38
  | "U section";
39
- export type MicrofilmDocumentTypes =
39
+ export type MicrofilmDocumentType =
40
40
  | "PSV Miscellaneous"
41
41
  | "AAT - Trailer Annual Test"
42
42
  | "AIV - HGV International App"
@@ -231,7 +231,7 @@ export interface GETTRLTechnicalRecordV3Testable {
231
231
  techRecord_manufacturerDetails?: string | null;
232
232
  techRecord_maxLoadOnCoupling?: number | null;
233
233
  techRecord_microfilm?: string | null;
234
- techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentTypes;
234
+ techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
235
235
  techRecord_microfilm_microfilmRollNumber?: string | null;
236
236
  techRecord_microfilm_microfilmSerialNumber?: string | null;
237
237
  techRecord_model?: string | null;
@@ -20,7 +20,7 @@ export interface TechRecordPUTRequestCompleteCarSchema {
20
20
  techRecord_manufactureYear?: string | null;
21
21
  techRecord_noOfAxles?: number | null;
22
22
  techRecord_notes?: string;
23
- vehicleSubclass: VehicleSubclass;
23
+ techRecord_vehicleSubclass: VehicleSubclass;
24
24
  techRecord_hiddenInVta?: boolean;
25
25
  techRecord_updateType?: string;
26
26
  }
@@ -13,7 +13,7 @@ export interface TechRecordPUTRequestSkeletonCarSchema {
13
13
  primaryVrm?: string;
14
14
  trailerId?: string | null;
15
15
  techRecord_reasonForCreation?: string | null;
16
- techRecord_vehicleType?: VehicleType;
16
+ techRecord_vehicleType: VehicleType;
17
17
  techRecord_statusCode?: StatusCode;
18
18
  techRecord_regnDate?: string | null;
19
19
  techRecord_manufactureYear?: string | null;
@@ -37,7 +37,7 @@ export type FuelPropulsionSystem =
37
37
  | "Fuel cell"
38
38
  | "LNG"
39
39
  | "Other";
40
- export type MicrofilmDocumentTypes =
40
+ export type MicrofilmDocumentType =
41
41
  | "PSV Miscellaneous"
42
42
  | "AAT - Trailer Annual Test"
43
43
  | "AIV - HGV International App"
@@ -225,7 +225,7 @@ export interface PUTHGVTechnicalRecordV3Complete {
225
225
  techRecord_maxTrainEecWeight?: number | null;
226
226
  techRecord_maxTrainDesignWeight?: number | null;
227
227
  techRecord_manufactureYear: number;
228
- techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentTypes;
228
+ techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
229
229
  techRecord_microfilm_microfilmRollNumber?: string | null;
230
230
  techRecord_microfilm_microfilmSerialNumber?: string | null;
231
231
  techRecord_model: string;
@@ -37,7 +37,7 @@ export type FuelPropulsionSystem =
37
37
  | "Fuel cell"
38
38
  | "LNG"
39
39
  | "Other";
40
- export type MicrofilmDocumentTypes =
40
+ export type MicrofilmDocumentType =
41
41
  | "PSV Miscellaneous"
42
42
  | "AAT - Trailer Annual Test"
43
43
  | "AIV - HGV International App"
@@ -225,7 +225,7 @@ export interface PUTHGVTechnicalRecordV3Skeleton {
225
225
  techRecord_maxTrainEecWeight?: number | null;
226
226
  techRecord_maxTrainDesignWeight?: number | null;
227
227
  techRecord_manufactureYear?: number | null;
228
- techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentTypes;
228
+ techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
229
229
  techRecord_microfilm_microfilmRollNumber?: string | null;
230
230
  techRecord_microfilm_microfilmSerialNumber?: string | null;
231
231
  techRecord_model?: string | null;
@@ -37,7 +37,7 @@ export type FuelPropulsionSystem =
37
37
  | "Fuel cell"
38
38
  | "LNG"
39
39
  | "Other";
40
- export type MicrofilmDocumentTypes =
40
+ export type MicrofilmDocumentType =
41
41
  | "PSV Miscellaneous"
42
42
  | "AAT - Trailer Annual Test"
43
43
  | "AIV - HGV International App"
@@ -225,7 +225,7 @@ export interface PUTHGVTechnicalRecordV3Testable {
225
225
  techRecord_maxTrainEecWeight?: number | null;
226
226
  techRecord_maxTrainDesignWeight?: number | null;
227
227
  techRecord_manufactureYear?: number | null;
228
- techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentTypes;
228
+ techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
229
229
  techRecord_microfilm_microfilmRollNumber?: string | null;
230
230
  techRecord_microfilm_microfilmSerialNumber?: string | null;
231
231
  techRecord_model?: string | null;
@@ -5,7 +5,7 @@
5
5
  * and run json-schema-to-typescript to regenerate this file.
6
6
  */
7
7
 
8
- export type TechRecordCompleteCarSchema = TechRecordPUTRequestCompleteCarSchema;
8
+ export type TechRecordCompleteLGVSchema = TechRecordPUTRequestCompleteCarSchema;
9
9
  export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
10
10
  export type StatusCode = "provisional" | "current" | "archived";
11
11
  export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
@@ -21,7 +21,7 @@ export interface TechRecordPUTRequestCompleteCarSchema {
21
21
  techRecord_manufactureYear?: string | null;
22
22
  techRecord_noOfAxles?: number | null;
23
23
  techRecord_notes?: string;
24
- vehicleSubclass: VehicleSubclass;
24
+ techRecord_vehicleSubclass: VehicleSubclass;
25
25
  techRecord_hiddenInVta?: boolean;
26
26
  techRecord_updateType?: string;
27
27
  }
@@ -14,7 +14,7 @@ export interface TechRecordPUTRequestSkeletonCarSchema {
14
14
  primaryVrm?: string;
15
15
  trailerId?: string | null;
16
16
  techRecord_reasonForCreation?: string | null;
17
- techRecord_vehicleType?: VehicleType;
17
+ techRecord_vehicleType: VehicleType;
18
18
  techRecord_statusCode?: StatusCode;
19
19
  techRecord_regnDate?: string | null;
20
20
  techRecord_manufactureYear?: string | null;
@@ -71,7 +71,7 @@ export type FuelPropulsionSystem =
71
71
  | "Fuel cell"
72
72
  | "LNG"
73
73
  | "Other";
74
- export type MicrofilmDocumentTypes =
74
+ export type MicrofilmDocumentType =
75
75
  | "PSV Miscellaneous"
76
76
  | "AAT - Trailer Annual Test"
77
77
  | "AIV - HGV International App"
@@ -274,7 +274,7 @@ export interface PUTTRLTechnicalRecordV3Complete {
274
274
  techRecord_manufacturerDetails?: string | null;
275
275
  techRecord_maxLoadOnCoupling: number | null;
276
276
  techRecord_microfilm?: string | null;
277
- techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentTypes;
277
+ techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
278
278
  techRecord_microfilm_microfilmRollNumber?: string | null;
279
279
  techRecord_microfilm_microfilmSerialNumber?: string | null;
280
280
  techRecord_model: string | null;
@@ -36,7 +36,7 @@ export type FrameDescription =
36
36
  | "integral"
37
37
  | "Box section"
38
38
  | "U section";
39
- export type MicrofilmDocumentTypes =
39
+ export type MicrofilmDocumentType =
40
40
  | "PSV Miscellaneous"
41
41
  | "AAT - Trailer Annual Test"
42
42
  | "AIV - HGV International App"
@@ -209,7 +209,7 @@ export interface GETTRLTechnicalRecordV3Skeleton {
209
209
  techRecord_manufacturerDetails?: string | null;
210
210
  techRecord_maxLoadOnCoupling?: number | null;
211
211
  techRecord_microfilm?: string | null;
212
- techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentTypes;
212
+ techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
213
213
  techRecord_microfilm_microfilmRollNumber?: string | null;
214
214
  techRecord_microfilm_microfilmSerialNumber?: string | null;
215
215
  techRecord_model?: string | null;
@@ -36,7 +36,7 @@ export type FrameDescription =
36
36
  | "integral"
37
37
  | "Box section"
38
38
  | "U section";
39
- export type MicrofilmDocumentTypes =
39
+ export type MicrofilmDocumentType =
40
40
  | "PSV Miscellaneous"
41
41
  | "AAT - Trailer Annual Test"
42
42
  | "AIV - HGV International App"
@@ -226,7 +226,7 @@ export interface GETTRLTechnicalRecordV3Testable {
226
226
  techRecord_manufacturerDetails?: string | null;
227
227
  techRecord_maxLoadOnCoupling?: number | null;
228
228
  techRecord_microfilm?: string | null;
229
- techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentTypes;
229
+ techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
230
230
  techRecord_microfilm_microfilmRollNumber?: string | null;
231
231
  techRecord_microfilm_microfilmSerialNumber?: string | null;
232
232
  techRecord_model?: string | null;