@dvsa/cvs-type-definitions 3.0.39 → 3.0.41

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 (35) hide show
  1. package/json-schemas/v3/tech-record/get/motorcycle/complete/index.json +1 -0
  2. package/json-schemas/v3/tech-record/get/motorcycle/skeleton/index.json +1 -0
  3. package/json-schemas/v3/tech-record/get/psv/complete/index.json +9 -10
  4. package/json-schemas/v3/tech-record/get/psv/skeleton/index.json +2 -8
  5. package/json-schemas/v3/tech-record/get/psv/testable/index.json +4 -1
  6. package/json-schemas/v3/tech-record/get/small trl/complete/index.json +3 -0
  7. package/json-schemas/v3/tech-record/get/trl/complete/index.json +0 -118
  8. package/json-schemas/v3/tech-record/get/trl/skeleton/index.json +0 -1
  9. package/json-schemas/v3/tech-record/get/trl/testable/index.json +0 -105
  10. package/json-schemas/v3/tech-record/put/car/skeleton/index.json +2 -1
  11. package/json-schemas/v3/tech-record/put/lgv/complete/index.json +0 -6
  12. package/json-schemas/v3/tech-record/put/psv/complete/index.json +4 -14
  13. package/json-schemas/v3/tech-record/put/psv/skeleton/index.json +4 -26
  14. package/json-schemas/v3/tech-record/put/psv/testable/index.json +0 -13
  15. package/json-schemas/v3/tech-record/put/trl/complete/index.json +34 -195
  16. package/json-schemas/v3/tech-record/put/trl/skeleton/index.json +15 -22
  17. package/json-schemas/v3/tech-record/put/trl/testable/index.json +15 -126
  18. package/package.json +1 -1
  19. package/types/v3/tech-record/get/motorcycle/complete/index.d.ts +1 -1
  20. package/types/v3/tech-record/get/motorcycle/skeleton/index.d.ts +1 -1
  21. package/types/v3/tech-record/get/psv/complete/index.d.ts +3 -3
  22. package/types/v3/tech-record/get/psv/skeleton/index.d.ts +2 -2
  23. package/types/v3/tech-record/get/psv/testable/index.d.ts +3 -3
  24. package/types/v3/tech-record/get/small trl/complete/index.d.ts +1 -0
  25. package/types/v3/tech-record/get/trl/complete/index.d.ts +1 -36
  26. package/types/v3/tech-record/get/trl/skeleton/index.d.ts +1 -1
  27. package/types/v3/tech-record/get/trl/testable/index.d.ts +1 -11
  28. package/types/v3/tech-record/put/car/skeleton/index.d.ts +1 -1
  29. package/types/v3/tech-record/put/lgv/complete/index.d.ts +0 -1
  30. package/types/v3/tech-record/put/psv/complete/index.d.ts +1 -3
  31. package/types/v3/tech-record/put/psv/skeleton/index.d.ts +4 -6
  32. package/types/v3/tech-record/put/psv/testable/index.d.ts +0 -2
  33. package/types/v3/tech-record/put/trl/complete/index.d.ts +18 -50
  34. package/types/v3/tech-record/put/trl/skeleton/index.d.ts +1 -1
  35. package/types/v3/tech-record/put/trl/testable/index.d.ts +1 -11
@@ -41,16 +41,6 @@ export type EUVehicleCategory =
41
41
  | "l5e"
42
42
  | "l6e"
43
43
  | "l7e";
44
- export type EuroStandard =
45
- | "0.10 g/kWh Euro 3 PM"
46
- | "0.03 g/kWh Euro IV PM"
47
- | "Euro 3"
48
- | "Euro 4"
49
- | "Euro 5"
50
- | "Euro 6"
51
- | "Euro V"
52
- | "Euro VI"
53
- | "Full Electric";
54
44
  export type FrameDescription =
55
45
  | "Channel section"
56
46
  | "Space frame"
@@ -61,16 +51,6 @@ export type FrameDescription =
61
51
  | "integral"
62
52
  | "Box section"
63
53
  | "U section";
64
- export type FuelPropulsionSystem =
65
- | "DieselPetrol"
66
- | "Diesel"
67
- | "Petrol"
68
- | "Hybrid"
69
- | "Electric"
70
- | "CNG"
71
- | "Fuel cell"
72
- | "LNG"
73
- | "Other";
74
54
  export type LetterTypes = "trailer acceptance" | "trailer rejection";
75
55
  export type ParagraphIds = 3 | 4 | 5 | 6 | 7;
76
56
  export type MicrofilmDocumentType =
@@ -256,18 +236,10 @@ export interface TechRecordGETTRLComplete {
256
236
  techRecord_departmentalVehicleMarker?: boolean | null;
257
237
  techRecord_dimensions_length: number;
258
238
  techRecord_dimensions_width: number;
259
- drawbarCouplingFitted?: null | string;
260
- techRecord_emissionsLimit?: null | number;
261
239
  techRecord_euVehicleCategory: EUVehicleCategory;
262
- techRecord_euroStandard?: null | EuroStandard;
263
- frontAxleTo5thWheelMax?: number | null;
264
- techRecord_frontAxleTo5thWheelMin?: number | null;
265
240
  techRecord_firstUseDate: string;
266
241
  techRecord_frameDescription?: FrameDescription | null;
267
242
  techRecord_frontAxleToRearAxle: number;
268
- techRecord_frontVehicleTo5thWheelCouplingMax?: string | null;
269
- techRecord_frontVehicleTo5thWheelCouplingMin?: string | null;
270
- techRecord_fuelPropulsionSystem?: FuelPropulsionSystem;
271
243
  techRecord_functionCode?: string | null;
272
244
  techRecord_grossDesignWeight?: number | null;
273
245
  techRecord_grossEecWeight?: number | null;
@@ -278,9 +250,6 @@ export interface TechRecordGETTRLComplete {
278
250
  techRecord_letterOfAuth_letterIssuer?: string | null;
279
251
  techRecord_make: string;
280
252
  techRecord_manufactureYear?: number | null;
281
- techRecord_maxTrainDesignWeight?: null | number;
282
- techRecord_maxTrainEecWeight?: null | number;
283
- techRecord_maxTrainGbWeight?: null | number;
284
253
  techRecord_manufacturerDetails?: string | null;
285
254
  techRecord_maxLoadOnCoupling: number;
286
255
  techRecord_microfilm?: string | null;
@@ -291,8 +260,6 @@ export interface TechRecordGETTRLComplete {
291
260
  techRecord_noOfAxles: number;
292
261
  techRecord_notes: string;
293
262
  techRecord_ntaNumber?: null | string;
294
- techRecord_numberOfWheelsDriven?: number | null;
295
- techRecord_offRoad?: null | boolean;
296
263
  techRecord_plates?: null | TRLPlates[];
297
264
  techRecord_purchaserDetails_address1?: string | null;
298
265
  techRecord_purchaserDetails_address2?: string | null;
@@ -319,12 +286,10 @@ export interface TechRecordGETTRLComplete {
319
286
  techRecord_lastUpdatedById?: string | null;
320
287
  techRecord_rearAxleToRearTrl: number;
321
288
  techRecord_reasonForCreation: string;
322
- techRecord_recordCompleteness: "complete";
289
+ techRecord_recordCompleteness?: "complete";
323
290
  techRecord_regnDate?: string | null;
324
291
  techRecord_roadFriendly: boolean;
325
- techRecord_speedLimiterMrk?: null | boolean;
326
292
  techRecord_statusCode: StatusCode;
327
- techRecord_tachoExemptMrk?: null | boolean;
328
293
  techRecord_suspensionType: string;
329
294
  techRecord_tyreUseCode: string;
330
295
  techRecord_variantNumber?: null | string;
@@ -288,7 +288,7 @@ export interface TechRecordGETTRLSkeleton {
288
288
  techRecord_lastUpdatedById?: string | null;
289
289
  techRecord_rearAxleToRearTrl?: number | null;
290
290
  techRecord_reasonForCreation: string;
291
- techRecord_recordCompleteness: "skeleton";
291
+ techRecord_recordCompleteness?: "skeleton";
292
292
  techRecord_regnDate?: string | null;
293
293
  techRecord_roadFriendly?: boolean | null;
294
294
  techRecord_statusCode: StatusCode;
@@ -287,7 +287,7 @@ export interface TechRecordGETTRLTestable {
287
287
  techRecord_lastUpdatedById?: string | null;
288
288
  techRecord_rearAxleToRearTrl?: number | null;
289
289
  techRecord_reasonForCreation: string;
290
- techRecord_recordCompleteness: "testable";
290
+ techRecord_recordCompleteness?: "testable";
291
291
  techRecord_regnDate?: string | null;
292
292
  techRecord_roadFriendly?: boolean | null;
293
293
  techRecord_statusCode: StatusCode;
@@ -300,16 +300,6 @@ export interface TechRecordGETTRLTestable {
300
300
  trailerId: string;
301
301
  vin: string;
302
302
  techRecord_axles?: null | TRLAxles[];
303
- weights_gbWeight?: number | null;
304
- weights_designWeight?: number | null;
305
- weights_ladenWeight?: number | null;
306
- weights_kerbWeight?: number | null;
307
- tyres_tyreCode?: number | null;
308
- tyres_tyreSize?: string | null;
309
- tyres_plyRating?: string | null;
310
- tyres_fitmentCode?: null | FitmentCode;
311
- tyres_dataTrAxles?: null | number;
312
- tyres_speedCategorySymbol?: SpeedCategorySymbol | null;
313
303
  techRecord_hiddenInVta?: null | boolean;
314
304
  techRecord_updateType?: null | string;
315
305
  techRecord_authIntoService_cocIssueDate?: string | null;
@@ -32,7 +32,7 @@ export interface TechRecordPUTCarSkeleton {
32
32
  primaryVrm?: string;
33
33
  techRecord_reasonForCreation: string;
34
34
  techRecord_vehicleType: "car";
35
- techRecord_statusCode?: StatusCode;
35
+ techRecord_statusCode: StatusCode;
36
36
  techRecord_regnDate?: string | null;
37
37
  techRecord_manufactureYear?: number | null;
38
38
  techRecord_noOfAxles?: number | null;
@@ -30,7 +30,6 @@ export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "
30
30
  export interface TechRecordPUTLGVComplete {
31
31
  vin: string;
32
32
  primaryVrm?: string;
33
- trailerId?: string | null;
34
33
  techRecord_applicantDetails_name?: string | null;
35
34
  techRecord_applicantDetails_address1?: null | string;
36
35
  techRecord_applicantDetails_address2?: null | string;
@@ -191,12 +191,10 @@ export interface TechRecordPUTPSVComplete {
191
191
  techRecord_vehicleType: "psv";
192
192
  techRecord_statusCode: StatusCode;
193
193
  techRecord_reasonForCreation: string;
194
- techRecord_createdAt?: null | string;
195
194
  techRecord_vehicleConfiguration: VehicleConfiguration;
196
195
  techRecord_vehicleSize: VehicleSize;
197
196
  techRecord_seatsLowerDeck: number;
198
197
  techRecord_seatsUpperDeck: number;
199
- techRecord_numberOfWheelsDriven: number | null;
200
198
  techRecord_vehicleClass_description: VehicleClassDescription;
201
199
  techRecord_hiddenInVta?: null | boolean;
202
200
  techRecord_recordCompleteness?: null | string;
@@ -217,7 +215,7 @@ export interface TechRecordPUTPSVComplete {
217
215
  techRecord_conversionRefNo?: string | null;
218
216
  techRecord_grossGbWeight?: number | null;
219
217
  techRecord_grossDesignWeight?: number | null;
220
- techRecord_dda_certificateIssued: boolean;
218
+ techRecord_dda_certificateIssued: boolean | null;
221
219
  techRecord_dda_wheelchairCapacity?: number | null;
222
220
  techRecord_dda_wheelchairFittings?: string | null;
223
221
  techRecord_dda_wheelchairLiftPresent?: boolean | null;
@@ -191,12 +191,10 @@ export interface TechRecordPUTPSVSkeleton {
191
191
  techRecord_vehicleType: "psv";
192
192
  techRecord_statusCode: StatusCode;
193
193
  techRecord_reasonForCreation: string;
194
- techRecord_createdAt?: null | string;
195
194
  techRecord_vehicleConfiguration?: VehicleConfiguration | null;
196
195
  techRecord_vehicleSize?: VehicleSize | null;
197
196
  techRecord_seatsLowerDeck?: number | null;
198
197
  techRecord_seatsUpperDeck?: number | null;
199
- techRecord_numberOfWheelsDriven?: number | null;
200
198
  techRecord_vehicleClass_description: VehicleClassDescription;
201
199
  techRecord_hiddenInVta?: null | boolean;
202
200
  techRecord_recordCompleteness?: null | string;
@@ -241,10 +239,10 @@ export interface TechRecordPUTPSVSkeleton {
241
239
  techRecord_coifSerialNumber?: string | null;
242
240
  techRecord_coifCertifierName?: string | null;
243
241
  techRecord_coifDate?: string | null;
244
- techRecord_bodyMake: string | null;
242
+ techRecord_bodyMake: string;
245
243
  techRecord_bodyModel?: string | null;
246
- techRecord_chassisMake: string | null;
247
- techRecord_chassisModel: string | null;
244
+ techRecord_chassisMake: string;
245
+ techRecord_chassisModel: string;
248
246
  techRecord_modelLiteral?: string | null;
249
247
  techRecord_speedRestriction?: number | null;
250
248
  techRecord_grossKerbWeight?: number | null;
@@ -266,7 +264,7 @@ export interface TechRecordPUTPSVSkeleton {
266
264
  techRecord_applicantDetails_postCode?: null | string;
267
265
  techRecord_applicantDetails_telephoneNumber?: null | string;
268
266
  techRecord_applicantDetails_emailAddress?: null | string;
269
- techRecord_brakes_dtpNumber: string | null;
267
+ techRecord_brakes_dtpNumber: string;
270
268
  techRecord_brakes_brakeCode?: string | null;
271
269
  techRecord_brakes_brakeCodeOriginal?: string | null;
272
270
  techRecord_brakes_dataTrBrakeOne?: string | null;
@@ -191,12 +191,10 @@ export interface TechRecordPUTPSVTestable {
191
191
  techRecord_vehicleType: "psv";
192
192
  techRecord_statusCode: StatusCode;
193
193
  techRecord_reasonForCreation: string;
194
- techRecord_createdAt?: null | string;
195
194
  techRecord_vehicleConfiguration: VehicleConfiguration;
196
195
  techRecord_vehicleSize: VehicleSize;
197
196
  techRecord_seatsLowerDeck: number;
198
197
  techRecord_seatsUpperDeck: number;
199
- techRecord_numberOfWheelsDriven: number | null;
200
198
  techRecord_vehicleClass_description: VehicleClassDescription;
201
199
  techRecord_hiddenInVta?: null | boolean;
202
200
  techRecord_recordCompleteness?: null | string;
@@ -41,16 +41,6 @@ export type EUVehicleCategory =
41
41
  | "l5e"
42
42
  | "l6e"
43
43
  | "l7e";
44
- export type EuroStandard =
45
- | "0.10 g/kWh Euro 3 PM"
46
- | "0.03 g/kWh Euro IV PM"
47
- | "Euro 3"
48
- | "Euro 4"
49
- | "Euro 5"
50
- | "Euro 6"
51
- | "Euro V"
52
- | "Euro VI"
53
- | "Full Electric";
54
44
  export type FrameDescription =
55
45
  | "Channel section"
56
46
  | "Space frame"
@@ -61,16 +51,6 @@ export type FrameDescription =
61
51
  | "integral"
62
52
  | "Box section"
63
53
  | "U section";
64
- export type FuelPropulsionSystem =
65
- | "DieselPetrol"
66
- | "Diesel"
67
- | "Petrol"
68
- | "Hybrid"
69
- | "Electric"
70
- | "CNG"
71
- | "Fuel cell"
72
- | "LNG"
73
- | "Other";
74
54
  export type LetterTypes = "trailer acceptance" | "trailer rejection";
75
55
  export type ParagraphIds = 3 | 4 | 5 | 6 | 7;
76
56
  export type MicrofilmDocumentType =
@@ -243,23 +223,18 @@ export interface TechRecordPUTTRLComplete {
243
223
  techRecord_brakes_loadSensingValve?: boolean | null;
244
224
  techRecord_centreOfRearmostAxleToRearOfTrl?: number | null;
245
225
  techRecord_conversionRefNo?: string | null;
246
- techRecord_couplingCenterToRearAxleMax: number | null;
247
- techRecord_couplingCenterToRearAxleMin: number | null;
248
- techRecord_couplingCenterToRearTrlMax: number | null;
249
- techRecord_couplingCenterToRearTrlMin: number | null;
250
- techRecord_couplingType: string | null;
226
+ techRecord_couplingCenterToRearAxleMax: number;
227
+ techRecord_couplingCenterToRearAxleMin: number;
228
+ techRecord_couplingCenterToRearTrlMax: number;
229
+ techRecord_couplingCenterToRearTrlMin: number;
230
+ techRecord_couplingType: string;
251
231
  techRecord_departmentalVehicleMarker?: boolean | null;
252
- techRecord_dimensions_length: number | null;
253
- techRecord_dimensions_width: number | null;
254
- techRecord_emissionsLimit?: null | number;
232
+ techRecord_dimensions_length: number;
233
+ techRecord_dimensions_width: number;
255
234
  techRecord_euVehicleCategory: EUVehicleCategory;
256
- techRecord_euroStandard?: null | EuroStandard;
257
- techRecord_frontAxleTo5thWheelMRex?: number | null;
258
- techRecord_frontAxleTo5thWheelMin?: number | null;
259
- techRecord_firstUseDate: string | null;
235
+ techRecord_firstUseDate: string;
260
236
  techRecord_frameDescription?: FrameDescription | null;
261
- techRecord_frontAxleToRearAxle: number | null;
262
- techRecord_fuelPropulsionSystem?: FuelPropulsionSystem;
237
+ techRecord_frontAxleToRearAxle: number;
263
238
  techRecord_functionCode?: string | null;
264
239
  techRecord_grossDesignWeight?: number | null;
265
240
  techRecord_grossEecWeight?: number | null;
@@ -268,22 +243,17 @@ export interface TechRecordPUTTRLComplete {
268
243
  techRecord_letterOfAuth_letterDateRequested?: string | null;
269
244
  techRecord_letterOfAuth_paragraphId?: null | ParagraphIds;
270
245
  techRecord_letterOfAuth_letterIssuer?: string | null;
271
- techRecord_make: string | null;
246
+ techRecord_make: string;
272
247
  techRecord_manufactureYear?: number | null;
273
- techRecord_maxTrainDesignWeight?: null | number;
274
- techRecord_maxTrainEecWeight?: null | number;
275
- techRecord_maxTrainGbWeight?: null | number;
276
248
  techRecord_manufacturerDetails?: string | null;
277
- techRecord_maxLoadOnCoupling: number | null;
249
+ techRecord_maxLoadOnCoupling: number;
278
250
  techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
279
251
  techRecord_microfilm_microfilmRollNumber?: string | null;
280
252
  techRecord_microfilm_microfilmSerialNumber?: string | null;
281
- techRecord_model: string | null;
282
- techRecord_noOfAxles: number | null;
253
+ techRecord_model: string;
254
+ techRecord_noOfAxles: number;
283
255
  techRecord_notes: string;
284
256
  techRecord_ntaNumber?: null | string;
285
- techRecord_numberOfWheelsDriven?: number | null;
286
- techRecord_offRoad?: null | boolean;
287
257
  techRecord_plates?: null | TRLPlates[];
288
258
  techRecord_purchaserDetails_address1?: string | null;
289
259
  techRecord_purchaserDetails_address2?: string | null;
@@ -305,19 +275,17 @@ export interface TechRecordPUTTRLComplete {
305
275
  techRecord_manufacturerDetails_postTown?: string | null;
306
276
  techRecord_manufacturerDetails_manufacturerNotes?: string | null;
307
277
  techRecord_manufacturerDetails_telephoneNumber?: string | null;
308
- techRecord_rearAxleToRearTrl: number | null;
278
+ techRecord_rearAxleToRearTrl: number;
309
279
  techRecord_reasonForCreation: string;
310
280
  techRecord_regnDate?: string | null;
311
- techRecord_roadFriendly: boolean | null;
312
- techRecord_speedLimiterMrk?: null | boolean;
281
+ techRecord_roadFriendly: boolean;
313
282
  techRecord_statusCode: StatusCode;
314
- techRecord_tachoExemptMrk?: null | boolean;
315
- techRecord_suspensionType: string | null;
316
- techRecord_tyreUseCode: string | null;
283
+ techRecord_suspensionType: string;
284
+ techRecord_tyreUseCode: string;
317
285
  techRecord_variantNumber?: null | string;
318
286
  techRecord_variantVersionNumber?: null | string;
319
287
  techRecord_vehicleClass_description: VehicleClassDescription;
320
- techRecord_vehicleConfiguration: VehicleConfiguration | null;
288
+ techRecord_vehicleConfiguration: VehicleConfiguration;
321
289
  techRecord_vehicleType: "trl";
322
290
  trailerId?: string;
323
291
  vin: string;
@@ -274,7 +274,7 @@ export interface TechRecordPUTTRLSkeleton {
274
274
  techRecord_suspensionType?: string | null;
275
275
  techRecord_tyreUseCode?: string | null;
276
276
  techRecord_vehicleClass_description: VehicleClassDescription;
277
- techRecord_vehicleConfiguration: VehicleConfiguration | null;
277
+ techRecord_vehicleConfiguration: VehicleConfiguration;
278
278
  techRecord_vehicleType: "trl";
279
279
  trailerId?: string;
280
280
  vin: string;
@@ -286,21 +286,11 @@ export interface TechRecordPUTTRLTestable {
286
286
  techRecord_dimensions_axleSpacing?: AxleSpacing[];
287
287
  techRecord_tyreUseCode?: string | null;
288
288
  techRecord_vehicleClass_description: VehicleClassDescription;
289
- techRecord_vehicleConfiguration: VehicleConfiguration | null;
289
+ techRecord_vehicleConfiguration: VehicleConfiguration;
290
290
  techRecord_vehicleType: "trl";
291
291
  trailerId?: string;
292
292
  vin: string;
293
293
  techRecord_axles?: null | TRLAxles[];
294
- weights_gbWeight?: number | null;
295
- weights_designWeight?: number | null;
296
- weights_ladenWeight?: number | null;
297
- weights_kerbWeight?: number | null;
298
- tyres_tyreCode?: number | null;
299
- tyres_tyreSize?: string | null;
300
- tyres_plyRating?: string | null;
301
- tyres_fitmentCode?: null | FitmentCode;
302
- tyres_dataTrAxles?: null | number;
303
- tyres_speedCategorySymbol?: SpeedCategorySymbol | null;
304
294
  techRecord_hiddenInVta?: boolean;
305
295
  techRecord_updateType?: string;
306
296
  techRecord_authIntoService_cocIssueDate?: string | null;