@dvsa/cvs-type-definitions 3.2.2 → 3.3.0

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 (45) hide show
  1. package/json-schemas/iva/defects/get/index.json +60 -50
  2. package/json-schemas/v3/tech-record/enums/vehicleClassDescriptionPSV.enum.json +12 -0
  3. package/json-schemas/v3/tech-record/get/hgv/complete/index.json +2 -16
  4. package/json-schemas/v3/tech-record/get/hgv/skeleton/index.json +2 -19
  5. package/json-schemas/v3/tech-record/get/hgv/testable/index.json +2 -16
  6. package/json-schemas/v3/tech-record/get/psv/complete/index.json +5 -10
  7. package/json-schemas/v3/tech-record/get/psv/skeleton/index.json +5 -10
  8. package/json-schemas/v3/tech-record/get/psv/testable/index.json +5 -10
  9. package/json-schemas/v3/tech-record/get/trl/complete/index.json +2 -16
  10. package/json-schemas/v3/tech-record/get/trl/skeleton/index.json +2 -16
  11. package/json-schemas/v3/tech-record/get/trl/testable/index.json +2 -16
  12. package/json-schemas/v3/tech-record/put/hgv/complete/index.json +1 -15
  13. package/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +1 -15
  14. package/json-schemas/v3/tech-record/put/hgv/testable/index.json +1 -15
  15. package/json-schemas/v3/tech-record/put/psv/complete/index.json +5 -10
  16. package/json-schemas/v3/tech-record/put/psv/skeleton/index.json +5 -10
  17. package/json-schemas/v3/tech-record/put/psv/testable/index.json +5 -10
  18. package/json-schemas/v3/tech-record/put/trl/complete/index.json +1 -15
  19. package/json-schemas/v3/tech-record/put/trl/skeleton/index.json +1 -15
  20. package/json-schemas/v3/tech-record/put/trl/testable/index.json +1 -15
  21. package/package.json +1 -1
  22. package/schemas.d.ts +1 -1
  23. package/schemas.js +1 -0
  24. package/types/iva/defects/get/index.d.ts +3 -4
  25. package/types/v3/tech-record/enums/vehicleClassDescriptionPSV.enum.d.ts +9 -0
  26. package/types/v3/tech-record/enums/vehicleClassDescriptionPSV.enum.js +14 -0
  27. package/types/v3/tech-record/enums/vehicleClassDescriptionPSV.enum.ts +11 -0
  28. package/types/v3/tech-record/get/hgv/complete/index.d.ts +2 -14
  29. package/types/v3/tech-record/get/hgv/skeleton/index.d.ts +2 -14
  30. package/types/v3/tech-record/get/hgv/testable/index.d.ts +2 -14
  31. package/types/v3/tech-record/get/psv/complete/index.d.ts +4 -12
  32. package/types/v3/tech-record/get/psv/skeleton/index.d.ts +4 -12
  33. package/types/v3/tech-record/get/psv/testable/index.d.ts +4 -12
  34. package/types/v3/tech-record/get/trl/complete/index.d.ts +2 -14
  35. package/types/v3/tech-record/get/trl/skeleton/index.d.ts +2 -14
  36. package/types/v3/tech-record/get/trl/testable/index.d.ts +2 -14
  37. package/types/v3/tech-record/put/hgv/complete/index.d.ts +1 -13
  38. package/types/v3/tech-record/put/hgv/skeleton/index.d.ts +1 -13
  39. package/types/v3/tech-record/put/hgv/testable/index.d.ts +1 -13
  40. package/types/v3/tech-record/put/psv/complete/index.d.ts +4 -12
  41. package/types/v3/tech-record/put/psv/skeleton/index.d.ts +4 -12
  42. package/types/v3/tech-record/put/psv/testable/index.d.ts +4 -12
  43. package/types/v3/tech-record/put/trl/complete/index.d.ts +1 -13
  44. package/types/v3/tech-record/put/trl/skeleton/index.d.ts +1 -13
  45. package/types/v3/tech-record/put/trl/testable/index.d.ts +1 -13
@@ -30,14 +30,13 @@ export type InspectionType = "basic" | "normal";
30
30
  export interface DefectGETIVA {
31
31
  sectionNumber: string;
32
32
  sectionDescription: string;
33
- vehicleTypes: VehicleType;
34
- euVehicleCategories: EUVehicleCategory;
33
+ vehicleTypes: VehicleType[];
34
+ euVehicleCategories: EUVehicleCategory[];
35
35
  requiredStandards: {
36
36
  rsNumber: number;
37
37
  requiredStandard: string;
38
38
  refCalculation: string;
39
39
  additionalInfo: boolean;
40
- inspectionTypes: InspectionType;
41
- [k: string]: unknown;
40
+ inspectionTypes: InspectionType[];
42
41
  }[];
43
42
  }
@@ -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;
@@ -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;
@@ -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;
@@ -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",
@@ -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",
@@ -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",
@@ -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;
@@ -119,18 +119,6 @@ export type PlateReasonForIssue =
119
119
  | "Original"
120
120
  | "Manual";
121
121
  export type StatusCode = "provisional" | "current" | "archived";
122
- export type VehicleClassDescription =
123
- | "motorbikes over 200cc or with a sidecar"
124
- | "not applicable"
125
- | "small psv (ie: less than or equal to 22 seats)"
126
- | "motorbikes up to 200cc"
127
- | "trailer"
128
- | "large psv(ie: greater than 23 seats)"
129
- | "3 wheelers"
130
- | "heavy goods vehicle"
131
- | "MOT class 4"
132
- | "MOT class 7"
133
- | "MOT class 5";
134
122
  export type VehicleConfiguration =
135
123
  | "rigid"
136
124
  | "articulated"
@@ -279,8 +267,8 @@ export interface TechRecordGETTRLSkeleton {
279
267
  techRecord_statusCode: StatusCode;
280
268
  techRecord_suspensionType?: string | null;
281
269
  techRecord_tyreUseCode?: string | null;
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 | null;
285
273
  techRecord_vehicleType: "trl";
286
274
  trailerId: string;
@@ -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"
@@ -278,8 +266,8 @@ export interface TechRecordGETTRLTestable {
278
266
  techRecord_statusCode: StatusCode;
279
267
  techRecord_suspensionType?: string | null;
280
268
  techRecord_tyreUseCode?: string | null;
281
- techRecord_vehicleClass_code: string;
282
- techRecord_vehicleClass_description: VehicleClassDescription;
269
+ techRecord_vehicleClass_code: "t";
270
+ techRecord_vehicleClass_description: "trailer";
283
271
  techRecord_vehicleConfiguration: VehicleConfiguration;
284
272
  techRecord_vehicleType: "trl";
285
273
  trailerId: string;
@@ -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"
@@ -230,7 +218,7 @@ export interface TechRecordPUTHGVComplete {
230
218
  techRecord_trainEecWeight?: number | null;
231
219
  techRecord_trainGbWeight: number;
232
220
  techRecord_tyreUseCode: string;
233
- techRecord_vehicleClass_description: VehicleClassDescription;
221
+ techRecord_vehicleClass_description: "heavy goods vehicle";
234
222
  techRecord_vehicleConfiguration: VehicleConfiguration;
235
223
  techRecord_approvalType: ApprovalType;
236
224
  techRecord_approvalTypeNumber?: string | null;
@@ -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"
@@ -227,7 +215,7 @@ export interface TechRecordPUTHGVSkeleton {
227
215
  techRecord_trainEecWeight?: number | null;
228
216
  techRecord_trainGbWeight?: number | null;
229
217
  techRecord_tyreUseCode?: string | null;
230
- techRecord_vehicleClass_description: VehicleClassDescription;
218
+ techRecord_vehicleClass_description: "heavy goods vehicle";
231
219
  techRecord_vehicleConfiguration?: VehicleConfiguration | null;
232
220
  techRecord_approvalType?: ApprovalType | null;
233
221
  techRecord_approvalTypeNumber?: string | null;
@@ -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"
@@ -227,7 +215,7 @@ export interface TechRecordPUTHGVTestable {
227
215
  techRecord_trainEecWeight?: number | null;
228
216
  techRecord_trainGbWeight?: number | null;
229
217
  techRecord_tyreUseCode?: string | null;
230
- techRecord_vehicleClass_description: VehicleClassDescription;
218
+ techRecord_vehicleClass_description: "heavy goods vehicle";
231
219
  techRecord_vehicleConfiguration: VehicleConfiguration;
232
220
  techRecord_approvalType?: ApprovalType | null;
233
221
  techRecord_approvalTypeNumber?: string | null;
@@ -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"
@@ -289,6 +277,10 @@ export interface PSVAxlesComplete {
289
277
  tyres_speedCategorySymbol: SpeedCategorySymbol;
290
278
  }
291
279
 
280
+ export enum VehicleClassDescription {
281
+ SMALL_PSV = "small psv (ie: less than or equal to 22 seats)",
282
+ LARGE_PSV = "large psv(ie: greater than 23 seats)"
283
+ }
292
284
  export enum ApprovalType {
293
285
  NTA = "NTA",
294
286
  ECTA = "ECTA",
@@ -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"
@@ -286,6 +274,10 @@ export interface PSVAxles {
286
274
  tyres_speedCategorySymbol?: SpeedCategorySymbol | null;
287
275
  }
288
276
 
277
+ export enum VehicleClassDescription {
278
+ SMALL_PSV = "small psv (ie: less than or equal to 22 seats)",
279
+ LARGE_PSV = "large psv(ie: greater than 23 seats)"
280
+ }
289
281
  export enum ApprovalType {
290
282
  NTA = "NTA",
291
283
  ECTA = "ECTA",
@@ -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"
@@ -286,6 +274,10 @@ export interface PSVAxles {
286
274
  tyres_speedCategorySymbol?: SpeedCategorySymbol | null;
287
275
  }
288
276
 
277
+ export enum VehicleClassDescription {
278
+ SMALL_PSV = "small psv (ie: less than or equal to 22 seats)",
279
+ LARGE_PSV = "large psv(ie: greater than 23 seats)"
280
+ }
289
281
  export enum ApprovalType {
290
282
  NTA = "NTA",
291
283
  ECTA = "ECTA",
@@ -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"
@@ -269,7 +257,7 @@ export interface TechRecordPUTTRLComplete {
269
257
  techRecord_tyreUseCode: string;
270
258
  techRecord_variantNumber?: null | string;
271
259
  techRecord_variantVersionNumber?: null | string;
272
- techRecord_vehicleClass_description: VehicleClassDescription;
260
+ techRecord_vehicleClass_description: "trailer";
273
261
  techRecord_vehicleConfiguration: VehicleConfiguration;
274
262
  techRecord_vehicleType: "trl";
275
263
  trailerId?: string;
@@ -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"
@@ -258,7 +246,7 @@ export interface TechRecordPUTTRLSkeleton {
258
246
  techRecord_statusCode: StatusCode;
259
247
  techRecord_suspensionType?: string | null;
260
248
  techRecord_tyreUseCode?: string | null;
261
- techRecord_vehicleClass_description: VehicleClassDescription;
249
+ techRecord_vehicleClass_description: "trailer";
262
250
  techRecord_vehicleConfiguration?: VehicleConfiguration | null;
263
251
  techRecord_vehicleType: "trl";
264
252
  trailerId?: string;
@@ -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"
@@ -270,7 +258,7 @@ export interface TechRecordPUTTRLTestable {
270
258
  techRecord_suspensionType?: string | null;
271
259
  techRecord_dimensions_axleSpacing?: AxleSpacing[];
272
260
  techRecord_tyreUseCode?: string | null;
273
- techRecord_vehicleClass_description: VehicleClassDescription;
261
+ techRecord_vehicleClass_description: "trailer";
274
262
  techRecord_vehicleConfiguration: VehicleConfiguration;
275
263
  techRecord_vehicleType: "trl";
276
264
  trailerId?: string;