@dvsa/cvs-type-definitions 3.2.1 → 3.2.3

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 (51) hide show
  1. package/json-schemas/v3/tech-record/enums/approvalType.enum.json +4 -2
  2. package/json-schemas/v3/tech-record/enums/approvalTypeHgvOrPsv.enum.json +4 -2
  3. package/json-schemas/v3/tech-record/enums/vehicleClassDescriptionPSV.enum.json +12 -0
  4. package/json-schemas/v3/tech-record/get/hgv/complete/index.json +6 -18
  5. package/json-schemas/v3/tech-record/get/hgv/skeleton/index.json +6 -21
  6. package/json-schemas/v3/tech-record/get/hgv/testable/index.json +6 -18
  7. package/json-schemas/v3/tech-record/get/psv/complete/index.json +9 -12
  8. package/json-schemas/v3/tech-record/get/psv/skeleton/index.json +9 -12
  9. package/json-schemas/v3/tech-record/get/psv/testable/index.json +9 -12
  10. package/json-schemas/v3/tech-record/get/trl/complete/index.json +6 -18
  11. package/json-schemas/v3/tech-record/get/trl/skeleton/index.json +6 -18
  12. package/json-schemas/v3/tech-record/get/trl/testable/index.json +6 -18
  13. package/json-schemas/v3/tech-record/put/hgv/complete/index.json +5 -17
  14. package/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +5 -17
  15. package/json-schemas/v3/tech-record/put/hgv/testable/index.json +5 -17
  16. package/json-schemas/v3/tech-record/put/psv/complete/index.json +9 -12
  17. package/json-schemas/v3/tech-record/put/psv/skeleton/index.json +9 -12
  18. package/json-schemas/v3/tech-record/put/psv/testable/index.json +9 -12
  19. package/json-schemas/v3/tech-record/put/trl/complete/index.json +5 -17
  20. package/json-schemas/v3/tech-record/put/trl/skeleton/index.json +5 -17
  21. package/json-schemas/v3/tech-record/put/trl/testable/index.json +5 -17
  22. package/package.json +1 -1
  23. package/schemas.d.ts +1 -1
  24. package/schemas.js +1 -0
  25. package/types/v3/tech-record/enums/approvalType.enum.d.ts +2 -1
  26. package/types/v3/tech-record/enums/approvalType.enum.js +2 -1
  27. package/types/v3/tech-record/enums/approvalType.enum.ts +2 -1
  28. package/types/v3/tech-record/enums/approvalTypeHgvOrPsv.enum.d.ts +2 -1
  29. package/types/v3/tech-record/enums/approvalTypeHgvOrPsv.enum.js +2 -1
  30. package/types/v3/tech-record/enums/approvalTypeHgvOrPsv.enum.ts +2 -1
  31. package/types/v3/tech-record/enums/vehicleClassDescriptionPSV.enum.d.ts +9 -0
  32. package/types/v3/tech-record/enums/vehicleClassDescriptionPSV.enum.js +14 -0
  33. package/types/v3/tech-record/enums/vehicleClassDescriptionPSV.enum.ts +11 -0
  34. package/types/v3/tech-record/get/hgv/complete/index.d.ts +4 -15
  35. package/types/v3/tech-record/get/hgv/skeleton/index.d.ts +4 -15
  36. package/types/v3/tech-record/get/hgv/testable/index.d.ts +4 -15
  37. package/types/v3/tech-record/get/psv/complete/index.d.ts +6 -13
  38. package/types/v3/tech-record/get/psv/skeleton/index.d.ts +6 -13
  39. package/types/v3/tech-record/get/psv/testable/index.d.ts +6 -13
  40. package/types/v3/tech-record/get/trl/complete/index.d.ts +4 -15
  41. package/types/v3/tech-record/get/trl/skeleton/index.d.ts +4 -15
  42. package/types/v3/tech-record/get/trl/testable/index.d.ts +4 -15
  43. package/types/v3/tech-record/put/hgv/complete/index.d.ts +3 -14
  44. package/types/v3/tech-record/put/hgv/skeleton/index.d.ts +3 -14
  45. package/types/v3/tech-record/put/hgv/testable/index.d.ts +3 -14
  46. package/types/v3/tech-record/put/psv/complete/index.d.ts +6 -13
  47. package/types/v3/tech-record/put/psv/skeleton/index.d.ts +6 -13
  48. package/types/v3/tech-record/put/psv/testable/index.d.ts +6 -13
  49. package/types/v3/tech-record/put/trl/complete/index.d.ts +3 -14
  50. package/types/v3/tech-record/put/trl/skeleton/index.d.ts +3 -14
  51. package/types/v3/tech-record/put/trl/testable/index.d.ts +3 -14
@@ -106,18 +106,13 @@
106
106
  "techRecord_vehicleClass_description": {
107
107
  "title": "Vehicle Class Description",
108
108
  "type": "string",
109
+ "tsEnumNames": [
110
+ "SMALL_PSV",
111
+ "LARGE_PSV"
112
+ ],
109
113
  "enum": [
110
- "motorbikes over 200cc or with a sidecar",
111
- "not applicable",
112
114
  "small psv (ie: less than or equal to 22 seats)",
113
- "motorbikes up to 200cc",
114
- "trailer",
115
- "large psv(ie: greater than 23 seats)",
116
- "3 wheelers",
117
- "heavy goods vehicle",
118
- "MOT class 4",
119
- "MOT class 7",
120
- "MOT class 5"
115
+ "large psv(ie: greater than 23 seats)"
121
116
  ]
122
117
  },
123
118
  "techRecord_hiddenInVta": {
@@ -227,7 +222,8 @@
227
222
  "ECSSTA",
228
223
  "GB_WVTA",
229
224
  "PROV_GB_WVTA",
230
- "SMALL_SERIES",
225
+ "SMALL_SERIES_NKSXX",
226
+ "SMALL_SERIES_NKS",
231
227
  "IVA_VCA",
232
228
  "IVA_DVSA_NI"
233
229
  ],
@@ -239,7 +235,8 @@
239
235
  "ECSSTA",
240
236
  "GB WVTA",
241
237
  "Prov.GB WVTA",
242
- "Small series",
238
+ "Small series NKSXX",
239
+ "Small series NKS",
243
240
  "IVA - VCA",
244
241
  "IVA - DVSA/NI"
245
242
  ]
@@ -87,18 +87,13 @@
87
87
  "techRecord_vehicleClass_description": {
88
88
  "title": "Vehicle Class Description",
89
89
  "type": "string",
90
+ "tsEnumNames": [
91
+ "SMALL_PSV",
92
+ "LARGE_PSV"
93
+ ],
90
94
  "enum": [
91
- "motorbikes over 200cc or with a sidecar",
92
- "not applicable",
93
95
  "small psv (ie: less than or equal to 22 seats)",
94
- "motorbikes up to 200cc",
95
- "trailer",
96
- "large psv(ie: greater than 23 seats)",
97
- "3 wheelers",
98
- "heavy goods vehicle",
99
- "MOT class 4",
100
- "MOT class 7",
101
- "MOT class 5"
96
+ "large psv(ie: greater than 23 seats)"
102
97
  ]
103
98
  },
104
99
  "techRecord_hiddenInVta": {
@@ -201,7 +196,8 @@
201
196
  "ECSSTA",
202
197
  "GB_WVTA",
203
198
  "PROV_GB_WVTA",
204
- "SMALL_SERIES",
199
+ "SMALL_SERIES_NKSXX",
200
+ "SMALL_SERIES_NKS",
205
201
  "IVA_VCA",
206
202
  "IVA_DVSA_NI"
207
203
  ],
@@ -213,7 +209,8 @@
213
209
  "ECSSTA",
214
210
  "GB WVTA",
215
211
  "Prov.GB WVTA",
216
- "Small series",
212
+ "Small series NKSXX",
213
+ "Small series NKS",
217
214
  "IVA - VCA",
218
215
  "IVA - DVSA/NI"
219
216
  ]
@@ -424,7 +424,8 @@
424
424
  "EU_WVTA_23_ON",
425
425
  "QNIG",
426
426
  "PROV_GB_WVTA",
427
- "SMALL_SERIES",
427
+ "SMALL_SERIES_NKSXX",
428
+ "SMALL_SERIES_NKS",
428
429
  "IVA_VCA",
429
430
  "IVA_DVSA_NI"
430
431
  ],
@@ -440,7 +441,8 @@
440
441
  "EU WVTA 23 on",
441
442
  "QNIG",
442
443
  "Prov.GB WVTA",
443
- "Small series",
444
+ "Small series NKSXX",
445
+ "Small series NKS",
444
446
  "IVA - VCA",
445
447
  "IVA - DVSA/NI"
446
448
  ]
@@ -1033,21 +1035,7 @@
1033
1035
  ]
1034
1036
  },
1035
1037
  "techRecord_vehicleClass_description": {
1036
- "title": "Vehicle Class Description",
1037
- "type": "string",
1038
- "enum": [
1039
- "motorbikes over 200cc or with a sidecar",
1040
- "not applicable",
1041
- "small psv (ie: less than or equal to 22 seats)",
1042
- "motorbikes up to 200cc",
1043
- "trailer",
1044
- "large psv(ie: greater than 23 seats)",
1045
- "3 wheelers",
1046
- "heavy goods vehicle",
1047
- "MOT class 4",
1048
- "MOT class 7",
1049
- "MOT class 5"
1050
- ]
1038
+ "const": "trailer"
1051
1039
  },
1052
1040
  "techRecord_vehicleConfiguration": {
1053
1041
  "title": "Vehicle Configuration",
@@ -35,7 +35,8 @@
35
35
  "EU_WVTA_23_ON",
36
36
  "QNIG",
37
37
  "PROV_GB_WVTA",
38
- "SMALL_SERIES",
38
+ "SMALL_SERIES_NKSXX",
39
+ "SMALL_SERIES_NKS",
39
40
  "IVA_VCA",
40
41
  "IVA_DVSA_NI"
41
42
  ],
@@ -51,7 +52,8 @@
51
52
  "EU WVTA 23 on",
52
53
  "QNIG",
53
54
  "Prov.GB WVTA",
54
- "Small series",
55
+ "Small series NKSXX",
56
+ "Small series NKS",
55
57
  "IVA - VCA",
56
58
  "IVA - DVSA/NI"
57
59
  ]
@@ -1008,21 +1010,7 @@
1008
1010
  "maxLength": 2
1009
1011
  },
1010
1012
  "techRecord_vehicleClass_description": {
1011
- "title": "Vehicle Class Description",
1012
- "type": "string",
1013
- "enum": [
1014
- "motorbikes over 200cc or with a sidecar",
1015
- "not applicable",
1016
- "small psv (ie: less than or equal to 22 seats)",
1017
- "motorbikes up to 200cc",
1018
- "trailer",
1019
- "large psv(ie: greater than 23 seats)",
1020
- "3 wheelers",
1021
- "heavy goods vehicle",
1022
- "MOT class 4",
1023
- "MOT class 7",
1024
- "MOT class 5"
1025
- ]
1013
+ "const": "trailer"
1026
1014
  },
1027
1015
  "techRecord_vehicleConfiguration": {
1028
1016
  "anyOf": [
@@ -37,7 +37,8 @@
37
37
  "EU_WVTA_23_ON",
38
38
  "QNIG",
39
39
  "PROV_GB_WVTA",
40
- "SMALL_SERIES",
40
+ "SMALL_SERIES_NKSXX",
41
+ "SMALL_SERIES_NKS",
41
42
  "IVA_VCA",
42
43
  "IVA_DVSA_NI"
43
44
  ],
@@ -53,7 +54,8 @@
53
54
  "EU WVTA 23 on",
54
55
  "QNIG",
55
56
  "Prov.GB WVTA",
56
- "Small series",
57
+ "Small series NKSXX",
58
+ "Small series NKS",
57
59
  "IVA - VCA",
58
60
  "IVA - DVSA/NI"
59
61
  ]
@@ -1091,21 +1093,7 @@
1091
1093
  "maxLength": 2
1092
1094
  },
1093
1095
  "techRecord_vehicleClass_description": {
1094
- "title": "Vehicle Class Description",
1095
- "type": "string",
1096
- "enum": [
1097
- "motorbikes over 200cc or with a sidecar",
1098
- "not applicable",
1099
- "small psv (ie: less than or equal to 22 seats)",
1100
- "motorbikes up to 200cc",
1101
- "trailer",
1102
- "large psv(ie: greater than 23 seats)",
1103
- "3 wheelers",
1104
- "heavy goods vehicle",
1105
- "MOT class 4",
1106
- "MOT class 7",
1107
- "MOT class 5"
1108
- ]
1096
+ "const": "trailer"
1109
1097
  },
1110
1098
  "techRecord_vehicleConfiguration": {
1111
1099
  "title": "Vehicle Configuration",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvsa/cvs-type-definitions",
3
- "version": "3.2.1",
3
+ "version": "3.2.3",
4
4
  "description": "type definitions for cvs vta and vtm applications",
5
5
  "main": "index.js",
6
6
  "repository": {
package/schemas.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const schemas: readonly ["iva/defects/get/index.json", "v1/activity/index.json", "v1/defect-category-reference-data/index.json", "v1/defect-details/index.json", "v1/defect-location/index.json", "v1/reason-item/index.json", "v1/tech-record/index.json", "v1/test/index.json", "v1/test-result/index.json", "v1/test-station/index.json", "v1/test-type/index.json", "v1/vehicle/index.json", "v1/vehicle-tech-record/index.json", "v1/visit/index.json", "v3/tech-record/enums/approvalType.enum.json", "v3/tech-record/enums/approvalTypeHgvOrPsv.enum.json", "v3/tech-record/get/car/complete/index.json", "v3/tech-record/get/car/skeleton/index.json", "v3/tech-record/get/hgv/complete/index.json", "v3/tech-record/get/hgv/skeleton/index.json", "v3/tech-record/get/hgv/testable/index.json", "v3/tech-record/get/lgv/complete/index.json", "v3/tech-record/get/lgv/skeleton/index.json", "v3/tech-record/get/motorcycle/complete/index.json", "v3/tech-record/get/motorcycle/skeleton/index.json", "v3/tech-record/get/psv/complete/index.json", "v3/tech-record/get/psv/skeleton/index.json", "v3/tech-record/get/psv/testable/index.json", "v3/tech-record/get/search/index.json", "v3/tech-record/get/small trl/complete/index.json", "v3/tech-record/get/small trl/skeleton/index.json", "v3/tech-record/get/trl/complete/index.json", "v3/tech-record/get/trl/skeleton/index.json", "v3/tech-record/get/trl/testable/index.json", "v3/tech-record/put/car/complete/index.json", "v3/tech-record/put/car/skeleton/index.json", "v3/tech-record/put/hgv/complete/index.json", "v3/tech-record/put/hgv/skeleton/index.json", "v3/tech-record/put/hgv/testable/index.json", "v3/tech-record/put/lgv/complete/index.json", "v3/tech-record/put/lgv/skeleton/index.json", "v3/tech-record/put/motorcycle/complete/index.json", "v3/tech-record/put/motorcycle/skeleton/index.json", "v3/tech-record/put/psv/complete/index.json", "v3/tech-record/put/psv/skeleton/index.json", "v3/tech-record/put/psv/testable/index.json", "v3/tech-record/put/small trl/complete/index.json", "v3/tech-record/put/small trl/skeleton/index.json", "v3/tech-record/put/trl/complete/index.json", "v3/tech-record/put/trl/skeleton/index.json", "v3/tech-record/put/trl/testable/index.json"];
1
+ export declare const schemas: readonly ["iva/defects/get/index.json", "v1/activity/index.json", "v1/defect-category-reference-data/index.json", "v1/defect-details/index.json", "v1/defect-location/index.json", "v1/reason-item/index.json", "v1/tech-record/index.json", "v1/test/index.json", "v1/test-result/index.json", "v1/test-station/index.json", "v1/test-type/index.json", "v1/vehicle/index.json", "v1/vehicle-tech-record/index.json", "v1/visit/index.json", "v3/tech-record/enums/approvalType.enum.json", "v3/tech-record/enums/approvalTypeHgvOrPsv.enum.json", "v3/tech-record/enums/vehicleClassDescriptionPSV.enum.json", "v3/tech-record/get/car/complete/index.json", "v3/tech-record/get/car/skeleton/index.json", "v3/tech-record/get/hgv/complete/index.json", "v3/tech-record/get/hgv/skeleton/index.json", "v3/tech-record/get/hgv/testable/index.json", "v3/tech-record/get/lgv/complete/index.json", "v3/tech-record/get/lgv/skeleton/index.json", "v3/tech-record/get/motorcycle/complete/index.json", "v3/tech-record/get/motorcycle/skeleton/index.json", "v3/tech-record/get/psv/complete/index.json", "v3/tech-record/get/psv/skeleton/index.json", "v3/tech-record/get/psv/testable/index.json", "v3/tech-record/get/search/index.json", "v3/tech-record/get/small trl/complete/index.json", "v3/tech-record/get/small trl/skeleton/index.json", "v3/tech-record/get/trl/complete/index.json", "v3/tech-record/get/trl/skeleton/index.json", "v3/tech-record/get/trl/testable/index.json", "v3/tech-record/put/car/complete/index.json", "v3/tech-record/put/car/skeleton/index.json", "v3/tech-record/put/hgv/complete/index.json", "v3/tech-record/put/hgv/skeleton/index.json", "v3/tech-record/put/hgv/testable/index.json", "v3/tech-record/put/lgv/complete/index.json", "v3/tech-record/put/lgv/skeleton/index.json", "v3/tech-record/put/motorcycle/complete/index.json", "v3/tech-record/put/motorcycle/skeleton/index.json", "v3/tech-record/put/psv/complete/index.json", "v3/tech-record/put/psv/skeleton/index.json", "v3/tech-record/put/psv/testable/index.json", "v3/tech-record/put/small trl/complete/index.json", "v3/tech-record/put/small trl/skeleton/index.json", "v3/tech-record/put/trl/complete/index.json", "v3/tech-record/put/trl/skeleton/index.json", "v3/tech-record/put/trl/testable/index.json"];
package/schemas.js CHANGED
@@ -18,6 +18,7 @@ exports.schemas = [
18
18
  "v1/visit/index.json",
19
19
  "v3/tech-record/enums/approvalType.enum.json",
20
20
  "v3/tech-record/enums/approvalTypeHgvOrPsv.enum.json",
21
+ "v3/tech-record/enums/vehicleClassDescriptionPSV.enum.json",
21
22
  "v3/tech-record/get/car/complete/index.json",
22
23
  "v3/tech-record/get/car/skeleton/index.json",
23
24
  "v3/tech-record/get/hgv/complete/index.json",
@@ -15,7 +15,8 @@ export declare enum ApprovalType {
15
15
  EU_WVTA_23_ON = "EU WVTA 23 on",
16
16
  QNIG = "QNIG",
17
17
  PROV_GB_WVTA = "Prov.GB WVTA",
18
- SMALL_SERIES = "Small series",
18
+ SMALL_SERIES_NKSXX = "Small series NKSXX",
19
+ SMALL_SERIES_NKS = "Small series NKS",
19
20
  IVA_VCA = "IVA - VCA",
20
21
  IVA_DVSA_NI = "IVA - DVSA/NI"
21
22
  }
@@ -20,7 +20,8 @@ var ApprovalType;
20
20
  ApprovalType["EU_WVTA_23_ON"] = "EU WVTA 23 on";
21
21
  ApprovalType["QNIG"] = "QNIG";
22
22
  ApprovalType["PROV_GB_WVTA"] = "Prov.GB WVTA";
23
- ApprovalType["SMALL_SERIES"] = "Small series";
23
+ ApprovalType["SMALL_SERIES_NKSXX"] = "Small series NKSXX";
24
+ ApprovalType["SMALL_SERIES_NKS"] = "Small series NKS";
24
25
  ApprovalType["IVA_VCA"] = "IVA - VCA";
25
26
  ApprovalType["IVA_DVSA_NI"] = "IVA - DVSA/NI";
26
27
  })(ApprovalType = exports.ApprovalType || (exports.ApprovalType = {}));
@@ -17,7 +17,8 @@ export enum ApprovalType {
17
17
  EU_WVTA_23_ON = "EU WVTA 23 on",
18
18
  QNIG = "QNIG",
19
19
  PROV_GB_WVTA = "Prov.GB WVTA",
20
- SMALL_SERIES = "Small series",
20
+ SMALL_SERIES_NKSXX = "Small series NKSXX",
21
+ SMALL_SERIES_NKS = "Small series NKS",
21
22
  IVA_VCA = "IVA - VCA",
22
23
  IVA_DVSA_NI = "IVA - DVSA/NI"
23
24
  }
@@ -11,7 +11,8 @@ export declare enum ApprovalType {
11
11
  ECSSTA = "ECSSTA",
12
12
  GB_WVTA = "GB WVTA",
13
13
  PROV_GB_WVTA = "Prov.GB WVTA",
14
- SMALL_SERIES = "Small series",
14
+ SMALL_SERIES_NKSXX = "Small series NKSXX",
15
+ SMALL_SERIES_NKS = "Small series NKS",
15
16
  IVA_VCA = "IVA - VCA",
16
17
  IVA_DVSA_NI = "IVA - DVSA/NI"
17
18
  }
@@ -16,7 +16,8 @@ var ApprovalType;
16
16
  ApprovalType["ECSSTA"] = "ECSSTA";
17
17
  ApprovalType["GB_WVTA"] = "GB WVTA";
18
18
  ApprovalType["PROV_GB_WVTA"] = "Prov.GB WVTA";
19
- ApprovalType["SMALL_SERIES"] = "Small series";
19
+ ApprovalType["SMALL_SERIES_NKSXX"] = "Small series NKSXX";
20
+ ApprovalType["SMALL_SERIES_NKS"] = "Small series NKS";
20
21
  ApprovalType["IVA_VCA"] = "IVA - VCA";
21
22
  ApprovalType["IVA_DVSA_NI"] = "IVA - DVSA/NI";
22
23
  })(ApprovalType = exports.ApprovalType || (exports.ApprovalType = {}));
@@ -13,7 +13,8 @@ export enum ApprovalType {
13
13
  ECSSTA = "ECSSTA",
14
14
  GB_WVTA = "GB WVTA",
15
15
  PROV_GB_WVTA = "Prov.GB WVTA",
16
- SMALL_SERIES = "Small series",
16
+ SMALL_SERIES_NKSXX = "Small series NKSXX",
17
+ SMALL_SERIES_NKS = "Small series NKS",
17
18
  IVA_VCA = "IVA - VCA",
18
19
  IVA_DVSA_NI = "IVA - DVSA/NI"
19
20
  }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was automatically generated by json-schema-to-typescript.
3
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
4
+ * and run json-schema-to-typescript to regenerate this file.
5
+ */
6
+ export declare enum VehicleClassDescription {
7
+ SMALL_PSV = "small psv (ie: less than or equal to 22 seats)",
8
+ LARGE_PSV = "large psv(ie: greater than 23 seats)"
9
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /**
4
+ * This file was automatically generated by json-schema-to-typescript.
5
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
6
+ * and run json-schema-to-typescript to regenerate this file.
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.VehicleClassDescription = void 0;
10
+ var VehicleClassDescription;
11
+ (function (VehicleClassDescription) {
12
+ VehicleClassDescription["SMALL_PSV"] = "small psv (ie: less than or equal to 22 seats)";
13
+ VehicleClassDescription["LARGE_PSV"] = "large psv(ie: greater than 23 seats)";
14
+ })(VehicleClassDescription = exports.VehicleClassDescription || (exports.VehicleClassDescription = {}));
@@ -0,0 +1,11 @@
1
+ /* tslint:disable */
2
+ /**
3
+ * This file was automatically generated by json-schema-to-typescript.
4
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
+ * and run json-schema-to-typescript to regenerate this file.
6
+ */
7
+
8
+ export enum VehicleClassDescription {
9
+ SMALL_PSV = "small psv (ie: less than or equal to 22 seats)",
10
+ LARGE_PSV = "large psv(ie: greater than 23 seats)"
11
+ }
@@ -101,18 +101,6 @@ export type PlateReasonForIssue =
101
101
  | "Original"
102
102
  | "Manual";
103
103
  export type StatusCode = "provisional" | "current" | "archived";
104
- export type VehicleClassDescription =
105
- | "motorbikes over 200cc or with a sidecar"
106
- | "not applicable"
107
- | "small psv (ie: less than or equal to 22 seats)"
108
- | "motorbikes up to 200cc"
109
- | "trailer"
110
- | "large psv(ie: greater than 23 seats)"
111
- | "3 wheelers"
112
- | "heavy goods vehicle"
113
- | "MOT class 4"
114
- | "MOT class 7"
115
- | "MOT class 5";
116
104
  export type VehicleConfiguration =
117
105
  | "rigid"
118
106
  | "articulated"
@@ -238,8 +226,8 @@ export interface TechRecordGETHGVComplete {
238
226
  techRecord_trainEecWeight?: number | null;
239
227
  techRecord_trainGbWeight: number;
240
228
  techRecord_tyreUseCode: string;
241
- techRecord_vehicleClass_code: string;
242
- techRecord_vehicleClass_description: VehicleClassDescription;
229
+ techRecord_vehicleClass_code: "v";
230
+ techRecord_vehicleClass_description: "heavy goods vehicle";
243
231
  techRecord_vehicleConfiguration: VehicleConfiguration;
244
232
  techRecord_approvalType: ApprovalType;
245
233
  techRecord_approvalTypeNumber?: string | null;
@@ -286,7 +274,8 @@ export enum ApprovalType {
286
274
  ECSSTA = "ECSSTA",
287
275
  GB_WVTA = "GB WVTA",
288
276
  PROV_GB_WVTA = "Prov.GB WVTA",
289
- SMALL_SERIES = "Small series",
277
+ SMALL_SERIES_NKSXX = "Small series NKSXX",
278
+ SMALL_SERIES_NKS = "Small series NKS",
290
279
  IVA_VCA = "IVA - VCA",
291
280
  IVA_DVSA_NI = "IVA - DVSA/NI"
292
281
  }
@@ -101,18 +101,6 @@ export type PlateReasonForIssue =
101
101
  | "Original"
102
102
  | "Manual";
103
103
  export type StatusCode = "provisional" | "current" | "archived";
104
- export type VehicleClassDescription =
105
- | "motorbikes over 200cc or with a sidecar"
106
- | "not applicable"
107
- | "small psv (ie: less than or equal to 22 seats)"
108
- | "motorbikes up to 200cc"
109
- | "trailer"
110
- | "large psv(ie: greater than 23 seats)"
111
- | "3 wheelers"
112
- | "heavy goods vehicle"
113
- | "MOT class 4"
114
- | "MOT class 7"
115
- | "MOT class 5";
116
104
  export type VehicleConfiguration =
117
105
  | "rigid"
118
106
  | "articulated"
@@ -235,8 +223,8 @@ export interface TechRecordGETHGVSkeleton {
235
223
  techRecord_trainEecWeight?: number | null;
236
224
  techRecord_trainGbWeight?: number | null;
237
225
  techRecord_tyreUseCode?: string | null;
238
- techRecord_vehicleClass_code?: null | string;
239
- techRecord_vehicleClass_description: VehicleClassDescription;
226
+ techRecord_vehicleClass_code?: "v";
227
+ techRecord_vehicleClass_description: "heavy goods vehicle";
240
228
  techRecord_vehicleConfiguration?: VehicleConfiguration | null;
241
229
  techRecord_approvalType?: ApprovalType | null;
242
230
  techRecord_approvalTypeNumber?: string | null;
@@ -283,7 +271,8 @@ export enum ApprovalType {
283
271
  ECSSTA = "ECSSTA",
284
272
  GB_WVTA = "GB WVTA",
285
273
  PROV_GB_WVTA = "Prov.GB WVTA",
286
- SMALL_SERIES = "Small series",
274
+ SMALL_SERIES_NKSXX = "Small series NKSXX",
275
+ SMALL_SERIES_NKS = "Small series NKS",
287
276
  IVA_VCA = "IVA - VCA",
288
277
  IVA_DVSA_NI = "IVA - DVSA/NI"
289
278
  }
@@ -101,18 +101,6 @@ export type PlateReasonForIssue =
101
101
  | "Original"
102
102
  | "Manual";
103
103
  export type StatusCode = "provisional" | "current" | "archived";
104
- export type VehicleClassDescription =
105
- | "motorbikes over 200cc or with a sidecar"
106
- | "not applicable"
107
- | "small psv (ie: less than or equal to 22 seats)"
108
- | "motorbikes up to 200cc"
109
- | "trailer"
110
- | "large psv(ie: greater than 23 seats)"
111
- | "3 wheelers"
112
- | "heavy goods vehicle"
113
- | "MOT class 4"
114
- | "MOT class 7"
115
- | "MOT class 5";
116
104
  export type VehicleConfiguration =
117
105
  | "rigid"
118
106
  | "articulated"
@@ -235,8 +223,8 @@ export interface TechRecordGETHGVTestable {
235
223
  techRecord_trainEecWeight?: number | null;
236
224
  techRecord_trainGbWeight?: number | null;
237
225
  techRecord_tyreUseCode?: string | null;
238
- techRecord_vehicleClass_code: string;
239
- techRecord_vehicleClass_description: VehicleClassDescription;
226
+ techRecord_vehicleClass_code: "v";
227
+ techRecord_vehicleClass_description: "heavy goods vehicle";
240
228
  techRecord_vehicleConfiguration: VehicleConfiguration;
241
229
  techRecord_approvalType?: ApprovalType | null;
242
230
  techRecord_approvalTypeNumber?: string | null;
@@ -283,7 +271,8 @@ export enum ApprovalType {
283
271
  ECSSTA = "ECSSTA",
284
272
  GB_WVTA = "GB WVTA",
285
273
  PROV_GB_WVTA = "Prov.GB WVTA",
286
- SMALL_SERIES = "Small series",
274
+ SMALL_SERIES_NKSXX = "Small series NKSXX",
275
+ SMALL_SERIES_NKS = "Small series NKS",
287
276
  IVA_VCA = "IVA - VCA",
288
277
  IVA_DVSA_NI = "IVA - DVSA/NI"
289
278
  }
@@ -20,18 +20,6 @@ export type VehicleConfiguration =
20
20
  | "dolly"
21
21
  | "full drawbar";
22
22
  export type VehicleSize = "small" | "large";
23
- export type VehicleClassDescription =
24
- | "motorbikes over 200cc or with a sidecar"
25
- | "not applicable"
26
- | "small psv (ie: less than or equal to 22 seats)"
27
- | "motorbikes up to 200cc"
28
- | "trailer"
29
- | "large psv(ie: greater than 23 seats)"
30
- | "3 wheelers"
31
- | "heavy goods vehicle"
32
- | "MOT class 4"
33
- | "MOT class 7"
34
- | "MOT class 5";
35
23
  export type EUVehicleCategory =
36
24
  | "m1"
37
25
  | "m2"
@@ -301,6 +289,10 @@ export interface PSVAxlesComplete {
301
289
  tyres_speedCategorySymbol: SpeedCategorySymbol;
302
290
  }
303
291
 
292
+ export enum VehicleClassDescription {
293
+ SMALL_PSV = "small psv (ie: less than or equal to 22 seats)",
294
+ LARGE_PSV = "large psv(ie: greater than 23 seats)"
295
+ }
304
296
  export enum ApprovalType {
305
297
  NTA = "NTA",
306
298
  ECTA = "ECTA",
@@ -309,7 +301,8 @@ export enum ApprovalType {
309
301
  ECSSTA = "ECSSTA",
310
302
  GB_WVTA = "GB WVTA",
311
303
  PROV_GB_WVTA = "Prov.GB WVTA",
312
- SMALL_SERIES = "Small series",
304
+ SMALL_SERIES_NKSXX = "Small series NKSXX",
305
+ SMALL_SERIES_NKS = "Small series NKS",
313
306
  IVA_VCA = "IVA - VCA",
314
307
  IVA_DVSA_NI = "IVA - DVSA/NI"
315
308
  }
@@ -20,18 +20,6 @@ export type VehicleConfiguration =
20
20
  | "dolly"
21
21
  | "full drawbar";
22
22
  export type VehicleSize = "small" | "large";
23
- export type VehicleClassDescription =
24
- | "motorbikes over 200cc or with a sidecar"
25
- | "not applicable"
26
- | "small psv (ie: less than or equal to 22 seats)"
27
- | "motorbikes up to 200cc"
28
- | "trailer"
29
- | "large psv(ie: greater than 23 seats)"
30
- | "3 wheelers"
31
- | "heavy goods vehicle"
32
- | "MOT class 4"
33
- | "MOT class 7"
34
- | "MOT class 5";
35
23
  export type EUVehicleCategory =
36
24
  | "m1"
37
25
  | "m2"
@@ -298,6 +286,10 @@ export interface PSVAxles {
298
286
  tyres_speedCategorySymbol?: SpeedCategorySymbol | null;
299
287
  }
300
288
 
289
+ export enum VehicleClassDescription {
290
+ SMALL_PSV = "small psv (ie: less than or equal to 22 seats)",
291
+ LARGE_PSV = "large psv(ie: greater than 23 seats)"
292
+ }
301
293
  export enum ApprovalType {
302
294
  NTA = "NTA",
303
295
  ECTA = "ECTA",
@@ -306,7 +298,8 @@ export enum ApprovalType {
306
298
  ECSSTA = "ECSSTA",
307
299
  GB_WVTA = "GB WVTA",
308
300
  PROV_GB_WVTA = "Prov.GB WVTA",
309
- SMALL_SERIES = "Small series",
301
+ SMALL_SERIES_NKSXX = "Small series NKSXX",
302
+ SMALL_SERIES_NKS = "Small series NKS",
310
303
  IVA_VCA = "IVA - VCA",
311
304
  IVA_DVSA_NI = "IVA - DVSA/NI"
312
305
  }
@@ -20,18 +20,6 @@ export type VehicleConfiguration =
20
20
  | "dolly"
21
21
  | "full drawbar";
22
22
  export type VehicleSize = "small" | "large";
23
- export type VehicleClassDescription =
24
- | "motorbikes over 200cc or with a sidecar"
25
- | "not applicable"
26
- | "small psv (ie: less than or equal to 22 seats)"
27
- | "motorbikes up to 200cc"
28
- | "trailer"
29
- | "large psv(ie: greater than 23 seats)"
30
- | "3 wheelers"
31
- | "heavy goods vehicle"
32
- | "MOT class 4"
33
- | "MOT class 7"
34
- | "MOT class 5";
35
23
  export type EUVehicleCategory =
36
24
  | "m1"
37
25
  | "m2"
@@ -298,6 +286,10 @@ export interface PSVAxles {
298
286
  tyres_speedCategorySymbol?: SpeedCategorySymbol | null;
299
287
  }
300
288
 
289
+ export enum VehicleClassDescription {
290
+ SMALL_PSV = "small psv (ie: less than or equal to 22 seats)",
291
+ LARGE_PSV = "large psv(ie: greater than 23 seats)"
292
+ }
301
293
  export enum ApprovalType {
302
294
  NTA = "NTA",
303
295
  ECTA = "ECTA",
@@ -306,7 +298,8 @@ export enum ApprovalType {
306
298
  ECSSTA = "ECSSTA",
307
299
  GB_WVTA = "GB WVTA",
308
300
  PROV_GB_WVTA = "Prov.GB WVTA",
309
- SMALL_SERIES = "Small series",
301
+ SMALL_SERIES_NKSXX = "Small series NKSXX",
302
+ SMALL_SERIES_NKS = "Small series NKS",
310
303
  IVA_VCA = "IVA - VCA",
311
304
  IVA_DVSA_NI = "IVA - DVSA/NI"
312
305
  }
@@ -102,18 +102,6 @@ export type PlateReasonForIssue =
102
102
  | "Original"
103
103
  | "Manual";
104
104
  export type StatusCode = "provisional" | "current" | "archived";
105
- export type VehicleClassDescription =
106
- | "motorbikes over 200cc or with a sidecar"
107
- | "not applicable"
108
- | "small psv (ie: less than or equal to 22 seats)"
109
- | "motorbikes up to 200cc"
110
- | "trailer"
111
- | "large psv(ie: greater than 23 seats)"
112
- | "3 wheelers"
113
- | "heavy goods vehicle"
114
- | "MOT class 4"
115
- | "MOT class 7"
116
- | "MOT class 5";
117
105
  export type VehicleConfiguration =
118
106
  | "rigid"
119
107
  | "articulated"
@@ -279,8 +267,8 @@ export interface TechRecordGETTRLComplete {
279
267
  techRecord_tyreUseCode: string;
280
268
  techRecord_variantNumber?: null | string;
281
269
  techRecord_variantVersionNumber?: null | string;
282
- techRecord_vehicleClass_code: string;
283
- techRecord_vehicleClass_description: VehicleClassDescription;
270
+ techRecord_vehicleClass_code: "t";
271
+ techRecord_vehicleClass_description: "trailer";
284
272
  techRecord_vehicleConfiguration: VehicleConfiguration;
285
273
  techRecord_vehicleType: "trl";
286
274
  trailerId: string;
@@ -339,7 +327,8 @@ export enum ApprovalType {
339
327
  EU_WVTA_23_ON = "EU WVTA 23 on",
340
328
  QNIG = "QNIG",
341
329
  PROV_GB_WVTA = "Prov.GB WVTA",
342
- SMALL_SERIES = "Small series",
330
+ SMALL_SERIES_NKSXX = "Small series NKSXX",
331
+ SMALL_SERIES_NKS = "Small series NKS",
343
332
  IVA_VCA = "IVA - VCA",
344
333
  IVA_DVSA_NI = "IVA - DVSA/NI"
345
334
  }