@dvsa/cvs-type-definitions 3.0.1 → 3.0.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 (57) hide show
  1. package/json-schemas/v3/tech-record/get/car/complete/index.json +111 -54
  2. package/json-schemas/v3/tech-record/get/car/skeleton/index.json +111 -54
  3. package/json-schemas/v3/tech-record/get/hgv/complete/index.json +20 -5
  4. package/json-schemas/v3/tech-record/get/hgv/skeleton/index.json +57 -23
  5. package/json-schemas/v3/tech-record/get/hgv/testable/index.json +28 -7
  6. package/json-schemas/v3/tech-record/get/lgv/complete/index.json +152 -81
  7. package/json-schemas/v3/tech-record/get/lgv/skeleton/index.json +127 -63
  8. package/json-schemas/v3/tech-record/get/motorcycle/complete/index.json +140 -78
  9. package/json-schemas/v3/tech-record/get/motorcycle/skeleton/index.json +115 -60
  10. package/json-schemas/v3/tech-record/get/psv/complete/index.json +106 -66
  11. package/json-schemas/v3/tech-record/get/psv/skeleton/index.json +16 -13
  12. package/json-schemas/v3/tech-record/get/psv/testable/index.json +31 -16
  13. package/json-schemas/v3/tech-record/get/trl/complete/index.json +91 -30
  14. package/json-schemas/v3/tech-record/get/trl/skeleton/index.json +80 -6
  15. package/json-schemas/v3/tech-record/get/trl/testable/index.json +48 -24
  16. package/json-schemas/v3/tech-record/put/car/complete/index.json +41 -13
  17. package/json-schemas/v3/tech-record/put/car/skeleton/index.json +45 -14
  18. package/json-schemas/v3/tech-record/put/hgv/complete/index.json +32 -9
  19. package/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +65 -26
  20. package/json-schemas/v3/tech-record/put/hgv/testable/index.json +20 -6
  21. package/json-schemas/v3/tech-record/put/motorcycle/complete/index.json +153 -81
  22. package/json-schemas/v3/tech-record/put/motorcycle/skeleton/index.json +128 -63
  23. package/json-schemas/v3/tech-record/put/psv/complete/index.json +118 -70
  24. package/json-schemas/v3/tech-record/put/psv/skeleton/index.json +37 -19
  25. package/json-schemas/v3/tech-record/put/psv/testable/index.json +42 -20
  26. package/json-schemas/v3/tech-record/put/trl/complete/index.json +103 -40
  27. package/json-schemas/v3/tech-record/put/trl/skeleton/index.json +157 -1
  28. package/json-schemas/v3/tech-record/put/trl/testable/index.json +137 -4
  29. package/package.json +1 -1
  30. package/types/v3/tech-record/get/car/complete/index.d.ts +15 -15
  31. package/types/v3/tech-record/get/car/skeleton/index.d.ts +15 -15
  32. package/types/v3/tech-record/get/hgv/complete/index.d.ts +5 -5
  33. package/types/v3/tech-record/get/hgv/skeleton/index.d.ts +10 -10
  34. package/types/v3/tech-record/get/hgv/testable/index.d.ts +7 -7
  35. package/types/v3/tech-record/get/lgv/complete/index.d.ts +17 -17
  36. package/types/v3/tech-record/get/lgv/skeleton/index.d.ts +16 -16
  37. package/types/v3/tech-record/get/motorcycle/complete/index.d.ts +14 -14
  38. package/types/v3/tech-record/get/motorcycle/skeleton/index.d.ts +13 -13
  39. package/types/v3/tech-record/get/psv/complete/index.d.ts +13 -16
  40. package/types/v3/tech-record/get/psv/skeleton/index.d.ts +4 -7
  41. package/types/v3/tech-record/get/psv/testable/index.d.ts +10 -13
  42. package/types/v3/tech-record/get/trl/complete/index.d.ts +34 -34
  43. package/types/v3/tech-record/get/trl/skeleton/index.d.ts +16 -6
  44. package/types/v3/tech-record/get/trl/testable/index.d.ts +10 -10
  45. package/types/v3/tech-record/put/car/complete/index.d.ts +8 -8
  46. package/types/v3/tech-record/put/car/skeleton/index.d.ts +9 -9
  47. package/types/v3/tech-record/put/hgv/complete/index.d.ts +8 -8
  48. package/types/v3/tech-record/put/hgv/skeleton/index.d.ts +12 -12
  49. package/types/v3/tech-record/put/hgv/testable/index.d.ts +5 -5
  50. package/types/v3/tech-record/put/motorcycle/complete/index.d.ts +18 -18
  51. package/types/v3/tech-record/put/motorcycle/skeleton/index.d.ts +17 -17
  52. package/types/v3/tech-record/put/psv/complete/index.d.ts +16 -19
  53. package/types/v3/tech-record/put/psv/skeleton/index.d.ts +10 -13
  54. package/types/v3/tech-record/put/psv/testable/index.d.ts +12 -15
  55. package/types/v3/tech-record/put/trl/complete/index.d.ts +23 -24
  56. package/types/v3/tech-record/put/trl/skeleton/index.d.ts +38 -1
  57. package/types/v3/tech-record/put/trl/testable/index.d.ts +18 -3
@@ -162,6 +162,25 @@ export type VehicleConfiguration =
162
162
  | "four-in-line"
163
163
  | "dolly"
164
164
  | "full drawbar";
165
+ export type TRLAxles = null | {
166
+ parkingBrakeMrk?: boolean | null;
167
+ axleNumber?: number | null;
168
+ brakes?: {
169
+ brakeActuator?: null | number;
170
+ leverLength?: null | number;
171
+ springBrakeParking?: null | boolean;
172
+ };
173
+ weights_gbWeight?: number | null;
174
+ weights_designWeight?: number | null;
175
+ weights_ladenWeight?: number | null;
176
+ weights_kerbWeight?: number | null;
177
+ tyres_tyreCode?: number | null;
178
+ tyres_tyreSize?: string | null;
179
+ tyres_plyRating?: string | null;
180
+ tyres_fitmentCode?: null | FitmentCode;
181
+ tyres_dataTrAxles?: null | number;
182
+ tyres_speedCategorySymbol?: SpeedCategorySymbol | null;
183
+ };
165
184
  export type FitmentCode = "single" | "double";
166
185
  export type SpeedCategorySymbol =
167
186
  | "a7"
@@ -256,10 +275,10 @@ export interface TechRecordGETTRLComplete {
256
275
  techRecord_departmentalVehicleMarker?: boolean | null;
257
276
  techRecord_dimensions_length: number | null;
258
277
  techRecord_dimensions_width: number | null;
259
- drawbarCouplingFitted?: string;
278
+ drawbarCouplingFitted?: null | string;
260
279
  techRecord_emissionsLimit?: null | number;
261
280
  techRecord_euVehicleCategory?: EUVehicleCategory | null;
262
- techRecord_euroStandard?: EuroStandard;
281
+ techRecord_euroStandard?: null | EuroStandard;
263
282
  frontAxleTo5thWheelMax?: number | null;
264
283
  techRecord_frontAxleTo5thWheelMin?: number | null;
265
284
  techRecord_firstUseDate: string | null;
@@ -278,9 +297,9 @@ export interface TechRecordGETTRLComplete {
278
297
  techRecord_letterOfAuth_letterIssuer?: string | null;
279
298
  techRecord_make: string | null;
280
299
  techRecord_manufactureYear?: number | null;
281
- techRecord_maxTrainDesignWeight?: number;
282
- techRecord_maxTrainEecWeight?: number;
283
- techRecord_maxTrainGbWeight?: number;
300
+ techRecord_maxTrainDesignWeight?: null | number;
301
+ techRecord_maxTrainEecWeight?: null | number;
302
+ techRecord_maxTrainGbWeight?: null | number;
284
303
  techRecord_manufacturerDetails?: string | null;
285
304
  techRecord_maxLoadOnCoupling: number | null;
286
305
  techRecord_microfilm?: string | null;
@@ -290,10 +309,10 @@ export interface TechRecordGETTRLComplete {
290
309
  techRecord_model: string | null;
291
310
  techRecord_noOfAxles: number | null;
292
311
  techRecord_notes: string;
293
- techRecord_ntaNumber?: string;
312
+ techRecord_ntaNumber?: null | string;
294
313
  techRecord_numberOfWheelsDriven?: number | null;
295
- techRecord_offRoad?: boolean;
296
- techRecord_plates?: TRLPlates[];
314
+ techRecord_offRoad?: null | boolean;
315
+ techRecord_plates?: null | TRLPlates[];
297
316
  techRecord_purchaserDetails_address1?: string | null;
298
317
  techRecord_purchaserDetails_address2?: string | null;
299
318
  techRecord_purchaserDetails_address3?: string | null;
@@ -312,22 +331,22 @@ export interface TechRecordGETTRLComplete {
312
331
  techRecord_recordCompleteness: "complete";
313
332
  techRecord_regnDate?: string | null;
314
333
  techRecord_roadFriendly: boolean | null;
315
- techRecord_speedLimiterMrk?: boolean;
334
+ techRecord_speedLimiterMrk?: null | boolean;
316
335
  techRecord_statusCode: StatusCode;
317
- techRecord_tachoExemptMrk?: boolean;
336
+ techRecord_tachoExemptMrk?: null | boolean;
318
337
  techRecord_suspensionType: string | null;
319
338
  techRecord_tyreUseCode: string | null;
320
- techRecord_variantNumber?: string;
321
- techRecord_variantVersionNumber?: string;
339
+ techRecord_variantNumber?: null | string;
340
+ techRecord_variantVersionNumber?: null | string;
322
341
  techRecord_vehicleClass_code: string;
323
342
  techRecord_vehicleClass_description: VehicleClassDescription;
324
343
  techRecord_vehicleConfiguration: VehicleConfiguration | null;
325
344
  techRecord_vehicleType: "trl";
326
345
  trailerId: string;
327
346
  vin: string;
328
- techRecord_axles?: TRLAxles[];
329
- techRecord_hiddenInVta?: boolean;
330
- techRecord_updateType?: string;
347
+ techRecord_axles?: null | TRLAxles[];
348
+ techRecord_hiddenInVta?: null | boolean;
349
+ techRecord_updateType?: null | string;
331
350
  techRecord_authIntoService_cocIssueDate?: string | null;
332
351
  techRecord_authIntoService_dateReceived?: string | null;
333
352
  techRecord_authIntoService_datePending?: string | null;
@@ -340,22 +359,3 @@ export interface TRLPlates {
340
359
  reasonForIssue?: null | PlateReasonForIssue;
341
360
  plateIssuer?: string | null;
342
361
  }
343
- export interface TRLAxles {
344
- parkingBrakeMrk?: boolean | null;
345
- axleNumber?: number | null;
346
- brakes?: {
347
- brakeActuator?: number;
348
- leverLength?: number;
349
- springBrakeParking?: boolean;
350
- };
351
- weights_gbWeight?: number | null;
352
- weights_designWeight?: number | null;
353
- weights_ladenWeight?: number | null;
354
- weights_kerbWeight?: number | null;
355
- tyres_tyreCode?: number | null;
356
- tyres_tyreSize?: string | null;
357
- tyres_plyRating?: string | null;
358
- tyres_fitmentCode?: null | FitmentCode;
359
- tyres_dataTrAxles?: null | number;
360
- tyres_speedCategorySymbol?: SpeedCategorySymbol | null;
361
- }
@@ -181,11 +181,11 @@ export interface TechRecordGETTRLSkeleton {
181
181
  techRecord_applicantDetails_postCode?: null | string;
182
182
  techRecord_applicantDetails_telephoneNumber?: null | string;
183
183
  techRecord_applicantDetails_emailAddress?: null | string;
184
- techRecord_applicationId?: string;
184
+ techRecord_applicationId?: null | string;
185
185
  techRecord_authIntoService?: string | null;
186
186
  techRecord_batchId?: string | null;
187
- techRecord_bodyType_code?: string;
188
- techRecord_bodyType_description?: string;
187
+ techRecord_bodyType_code?: null | string;
188
+ techRecord_bodyType_description?: null | string;
189
189
  techRecord_brakes_antilockBrakingSystem?: string | null;
190
190
  techRecord_brakes_dtpNumber?: string | null;
191
191
  techRecord_brakes_loadSensingValve?: boolean | null;
@@ -223,8 +223,9 @@ export interface TechRecordGETTRLSkeleton {
223
223
  techRecord_microfilm_microfilmRollNumber?: string | null;
224
224
  techRecord_microfilm_microfilmSerialNumber?: string | null;
225
225
  techRecord_model?: string | null;
226
+ techRecord_axles?: null | TRLAxles[];
226
227
  techRecord_noOfAxles?: number | null;
227
- techRecord_plates?: TRLPlates[];
228
+ techRecord_plates?: null | TRLPlates[];
228
229
  techRecord_purchaserDetails_address1?: string | null;
229
230
  techRecord_purchaserDetails_address2?: string | null;
230
231
  techRecord_purchaserDetails_address3?: string | null;
@@ -252,14 +253,23 @@ export interface TechRecordGETTRLSkeleton {
252
253
  techRecord_vehicleType: "trl";
253
254
  trailerId: string;
254
255
  vin: string;
255
- techRecord_hiddenInVta?: boolean;
256
- techRecord_updateType?: string;
256
+ techRecord_hiddenInVta?: null | boolean;
257
+ techRecord_updateType?: null | string;
257
258
  techRecord_authIntoService_cocIssueDate?: string | null;
258
259
  techRecord_authIntoService_dateReceived?: string | null;
259
260
  techRecord_authIntoService_datePending?: string | null;
260
261
  techRecord_authIntoService_dateAuthorised?: string | null;
261
262
  techRecord_authIntoService_dateRejected?: string | null;
262
263
  }
264
+ export interface TRLAxles {
265
+ parkingBrakeMrk?: boolean | null;
266
+ axleNumber?: number | null;
267
+ brakes?: null | {
268
+ brakeActuator?: null | number;
269
+ leverLength?: null | number;
270
+ springBrakeParking?: null | boolean;
271
+ };
272
+ }
263
273
  export interface TRLPlates {
264
274
  plateSerialNumber?: string | null;
265
275
  plateIssueDate?: string | null;
@@ -241,7 +241,7 @@ export interface TechRecordGETTRLTestable {
241
241
  techRecord_microfilm_microfilmSerialNumber?: string | null;
242
242
  techRecord_model?: string | null;
243
243
  techRecord_noOfAxles: number | null;
244
- techRecord_plates?: TRLPlates[];
244
+ techRecord_plates?: null | TRLPlates[];
245
245
  techRecord_purchaserDetails_address1?: string | null;
246
246
  techRecord_purchaserDetails_address2?: string | null;
247
247
  techRecord_purchaserDetails_address3?: string | null;
@@ -269,12 +269,7 @@ export interface TechRecordGETTRLTestable {
269
269
  techRecord_vehicleType: "trl";
270
270
  trailerId: string;
271
271
  vin: string;
272
- techRecord_axles?: PSVAxles[];
273
- brakes?: {
274
- brakeActuator?: number;
275
- leverLength?: number;
276
- springBrakeParking?: boolean;
277
- };
272
+ techRecord_axles?: null | TRLAxles[];
278
273
  weights_gbWeight?: number | null;
279
274
  weights_designWeight?: number | null;
280
275
  weights_ladenWeight?: number | null;
@@ -285,8 +280,8 @@ export interface TechRecordGETTRLTestable {
285
280
  tyres_fitmentCode?: null | FitmentCode;
286
281
  tyres_dataTrAxles?: null | number;
287
282
  tyres_speedCategorySymbol?: SpeedCategorySymbol | null;
288
- techRecord_hiddenInVta?: boolean;
289
- techRecord_updateType?: string;
283
+ techRecord_hiddenInVta?: null | boolean;
284
+ techRecord_updateType?: null | string;
290
285
  techRecord_authIntoService_cocIssueDate?: string | null;
291
286
  techRecord_authIntoService_dateReceived?: string | null;
292
287
  techRecord_authIntoService_datePending?: string | null;
@@ -299,7 +294,12 @@ export interface TRLPlates {
299
294
  reasonForIssue?: null | PlateReasonForIssue;
300
295
  plateIssuer?: string | null;
301
296
  }
302
- export interface PSVAxles {
297
+ export interface TRLAxles {
303
298
  parkingBrakeMrk?: boolean | null;
304
299
  axleNumber?: number | null;
300
+ brakes?: null | {
301
+ brakeActuator?: null | number;
302
+ leverLength?: null | number;
303
+ springBrakeParking?: null | boolean;
304
+ };
305
305
  }
@@ -11,20 +11,20 @@ export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "
11
11
 
12
12
  export interface TechRecordPUTCarComplete {
13
13
  vin: string;
14
- primaryVrm?: string;
14
+ primaryVrm?: null | string;
15
15
  trailerId?: string | null;
16
16
  techRecord_reasonForCreation?: string | null;
17
17
  techRecord_vehicleType: VehicleType;
18
- techRecord_statusCode?: StatusCode;
18
+ techRecord_statusCode?: null | StatusCode;
19
19
  techRecord_regnDate?: string | null;
20
20
  techRecord_manufactureYear?: string | null;
21
21
  techRecord_noOfAxles?: number | null;
22
22
  techRecord_notes?: string;
23
23
  techRecord_vehicleSubclass: VehicleSubclass;
24
- techRecord_hiddenInVta?: boolean;
25
- techRecord_updateType?: string;
26
- techRecord_createdAt?: string;
27
- techRecord_createdById?: string;
28
- techRecord_createdByName?: string;
29
- secondaryVrms?: string[];
24
+ techRecord_hiddenInVta?: null | boolean;
25
+ techRecord_updateType?: null | string;
26
+ techRecord_createdAt?: null | string;
27
+ techRecord_createdById?: null | string;
28
+ techRecord_createdByName?: null | string;
29
+ secondaryVrms?: null | string[];
30
30
  }
@@ -10,19 +10,19 @@ export type StatusCode = "provisional" | "current" | "archived";
10
10
 
11
11
  export interface TechRecordPUTCarSkeleton {
12
12
  vin: string;
13
- primaryVrm?: string;
13
+ primaryVrm?: null | string;
14
14
  trailerId?: string | null;
15
15
  techRecord_reasonForCreation?: string | null;
16
16
  techRecord_vehicleType: VehicleType;
17
- techRecord_statusCode?: StatusCode;
17
+ techRecord_statusCode?: null | StatusCode;
18
18
  techRecord_regnDate?: string | null;
19
19
  techRecord_manufactureYear?: string | null;
20
20
  techRecord_noOfAxles?: number | null;
21
- techRecord_notes?: string;
22
- techRecord_hiddenInVta?: boolean;
23
- techRecord_updateType?: string;
24
- techRecord_createdAt?: string;
25
- techRecord_createdById?: string;
26
- techRecord_createdByName?: string;
27
- secondaryVrms?: string[];
21
+ techRecord_notes?: null | string;
22
+ techRecord_hiddenInVta?: null | boolean;
23
+ techRecord_updateType?: null | string;
24
+ techRecord_createdAt?: null | string;
25
+ techRecord_createdById?: null | string;
26
+ techRecord_createdByName?: null | string;
27
+ secondaryVrms?: null | string[];
28
28
  }
@@ -145,9 +145,9 @@ export type ApprovalType =
145
145
  export interface TechRecordPUTHGVComplete {
146
146
  secondaryVrms?: string[];
147
147
  partialVin?: string | null;
148
- techRecord_createdAt?: string;
149
- techRecord_createdById?: string;
150
- techRecord_createdByName?: string;
148
+ techRecord_createdAt?: null | string;
149
+ techRecord_createdById?: null | string;
150
+ techRecord_createdByName?: null | string;
151
151
  techRecord_adrDetails_vehicleDetails_type?: string | null;
152
152
  techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
153
153
  techRecord_adrDetails_permittedDangerousGoods?: string[] | null;
@@ -197,7 +197,7 @@ export interface TechRecordPUTHGVComplete {
197
197
  techRecord_applicantDetails_postCode?: null | string;
198
198
  techRecord_applicantDetails_telephoneNumber?: null | string;
199
199
  techRecord_applicantDetails_emailAddress?: null | string;
200
- techRecord_applicationId?: string;
200
+ techRecord_applicationId?: null | string;
201
201
  techRecord_axles: HGVAxles[];
202
202
  techRecord_bodyType_code: string;
203
203
  techRecord_bodyType_description: string;
@@ -237,7 +237,7 @@ export interface TechRecordPUTHGVComplete {
237
237
  techRecord_noOfAxles?: number | null;
238
238
  techRecord_notes: string;
239
239
  techRecord_offRoad: boolean;
240
- techRecord_plates?: HGVPlates[];
240
+ techRecord_plates?: null | HGVPlates[];
241
241
  techRecord_reasonForCreation: string;
242
242
  techRecord_regnDate: string;
243
243
  techRecord_roadFriendly: boolean;
@@ -257,10 +257,10 @@ export interface TechRecordPUTHGVComplete {
257
257
  techRecord_variantNumber?: string | null;
258
258
  techRecord_variantVersionNumber?: string | null;
259
259
  techRecord_vehicleType: "hgv";
260
- primaryVrm: string;
260
+ primaryVrm?: null | string;
261
261
  vin: string;
262
- techRecord_hiddenInVta?: boolean;
263
- techRecord_updateType?: string;
262
+ techRecord_hiddenInVta?: null | boolean;
263
+ techRecord_updateType?: null | string;
264
264
  }
265
265
  export interface HGVAxles {
266
266
  parkingBrakeMrk?: boolean;
@@ -145,9 +145,9 @@ export type ApprovalType =
145
145
  export interface TechRecordPUTHGVSkeleton {
146
146
  secondaryVrms?: string[];
147
147
  partialVin?: string | null;
148
- techRecord_createdAt?: string;
149
- techRecord_createdById?: string;
150
- techRecord_createdByName?: string;
148
+ techRecord_createdAt?: null | string;
149
+ techRecord_createdById?: null | string;
150
+ techRecord_createdByName?: null | string;
151
151
  techRecord_adrDetails_vehicleDetails_type?: string | null;
152
152
  techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
153
153
  techRecord_adrDetails_permittedDangerousGoods?: string[] | null;
@@ -198,9 +198,9 @@ export interface TechRecordPUTHGVSkeleton {
198
198
  techRecord_applicantDetails_telephoneNumber?: null | string;
199
199
  techRecord_applicantDetails_emailAddress?: null | string;
200
200
  techRecord_applicationId?: string | null;
201
- techRecord_axles?: HGVAxles[];
202
- techRecord_bodyType_code?: string;
203
- techRecord_bodyType_description?: string;
201
+ techRecord_axles?: null | HGVAxles[];
202
+ techRecord_bodyType_code?: null | string;
203
+ techRecord_bodyType_description?: null | string;
204
204
  techRecord_brakes_antilockBrakingSystem?: string | null;
205
205
  techRecord_brakes_dtpNumber?: string | null;
206
206
  techRecord_brakes_loadSensingValve?: boolean | null;
@@ -237,7 +237,7 @@ export interface TechRecordPUTHGVSkeleton {
237
237
  techRecord_noOfAxles?: number | null;
238
238
  techRecord_notes?: string | null;
239
239
  techRecord_offRoad?: boolean | null;
240
- techRecord_plates?: HGVPlates[];
240
+ techRecord_plates?: null | HGVPlates[];
241
241
  techRecord_reasonForCreation: string;
242
242
  techRecord_regnDate?: string | null;
243
243
  techRecord_roadFriendly?: boolean | null;
@@ -248,8 +248,8 @@ export interface TechRecordPUTHGVSkeleton {
248
248
  techRecord_trainEecWeight?: number | null;
249
249
  techRecord_trainGbWeight?: number | null;
250
250
  techRecord_tyreUseCode?: string | null;
251
- techRecord_vehicleClass_code?: string;
252
- techRecord_vehicleClass_description?: VehicleClassDescription;
251
+ techRecord_vehicleClass_code?: null | string;
252
+ techRecord_vehicleClass_description?: null | VehicleClassDescription;
253
253
  techRecord_vehicleConfiguration?: VehicleConfiguration | null;
254
254
  techRecord_approvalType?: ApprovalType | null;
255
255
  techRecord_approvalTypeNumber?: string | null;
@@ -257,10 +257,10 @@ export interface TechRecordPUTHGVSkeleton {
257
257
  techRecord_variantNumber?: string | null;
258
258
  techRecord_variantVersionNumber?: string | null;
259
259
  techRecord_vehicleType: "hgv";
260
- primaryVrm: string;
260
+ primaryVrm?: null | string;
261
261
  vin: string;
262
- techRecord_hiddenInVta?: boolean;
263
- techRecord_updateType?: string;
262
+ techRecord_hiddenInVta?: null | boolean;
263
+ techRecord_updateType?: null | string;
264
264
  }
265
265
  export interface HGVAxles {
266
266
  parkingBrakeMrk?: boolean | null;
@@ -197,7 +197,7 @@ export interface TechRecordPUTHGVTestable {
197
197
  techRecord_applicantDetails_postCode?: null | string;
198
198
  techRecord_applicantDetails_telephoneNumber?: null | string;
199
199
  techRecord_applicantDetails_emailAddress?: null | string;
200
- techRecord_applicationId?: string;
200
+ techRecord_applicationId?: null | string;
201
201
  techRecord_axles?: HGVAxles[];
202
202
  techRecord_bodyType_code?: string;
203
203
  techRecord_bodyType_description?: string;
@@ -206,7 +206,7 @@ export interface TechRecordPUTHGVTestable {
206
206
  techRecord_brakes_loadSensingValve?: boolean | null;
207
207
  techRecord_conversionRefNo?: string | null;
208
208
  techRecord_departmentalVehicleMarker?: boolean | null;
209
- techRecord_dimensions_axleSpacing_axles?: string;
209
+ techRecord_dimensions_axleSpacing_axles?: null | string;
210
210
  techRecord_dimensions_axleSpacing_value?: number | null;
211
211
  techRecord_dimensions_length?: number | null;
212
212
  techRecord_dimensions_width?: number | null;
@@ -257,10 +257,10 @@ export interface TechRecordPUTHGVTestable {
257
257
  techRecord_variantNumber?: string | null;
258
258
  techRecord_variantVersionNumber?: string | null;
259
259
  techRecord_vehicleType: "hgv";
260
- primaryVrm: string;
260
+ primaryVrm?: null | string;
261
261
  vin: string;
262
- techRecord_hiddenInVta?: boolean;
263
- techRecord_updateType?: string;
262
+ techRecord_hiddenInVta?: null | boolean;
263
+ techRecord_updateType?: null | string;
264
264
  }
265
265
  export interface HGVAxles {
266
266
  parkingBrakeMrk?: boolean | null;
@@ -42,7 +42,7 @@ export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
42
42
  export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
43
43
 
44
44
  export interface TechRecordPUTMotorcycleComplete {
45
- secondaryVrms?: string[];
45
+ secondaryVrms?: null | string[];
46
46
  techRecord_applicantDetails_name?: string | null;
47
47
  techRecord_applicantDetails_address1?: null | string;
48
48
  techRecord_applicantDetails_address2?: null | string;
@@ -51,29 +51,29 @@ export interface TechRecordPUTMotorcycleComplete {
51
51
  techRecord_applicantDetails_postCode?: null | string;
52
52
  techRecord_applicantDetails_telephoneNumber?: null | string;
53
53
  techRecord_applicantDetails_emailAddress?: null | string;
54
- createdTimestamp?: string;
55
- partialVin?: string;
56
- primaryVrm?: string;
57
- systemNumber?: string;
58
- techRecord_createdAt?: string;
59
- techRecord_createdById?: string;
60
- techRecord_createdByName?: string;
61
- techRecord_euVehicleCategory?: EUVehicleCategory;
54
+ createdTimestamp?: null | string;
55
+ partialVin?: null | string;
56
+ primaryVrm?: null | string;
57
+ systemNumber?: null | string;
58
+ techRecord_createdAt?: null | string;
59
+ techRecord_createdById?: null | string;
60
+ techRecord_createdByName?: null | string;
61
+ techRecord_euVehicleCategory?: null | EUVehicleCategory;
62
62
  techRecord_lastUpdatedAt?: string | null;
63
63
  techRecord_lastUpdatedById?: string | null;
64
64
  techRecord_lastUpdatedByName?: string | null;
65
65
  techRecord_manufactureYear?: string | null;
66
- techRecord_recordCompleteness?: string;
67
- techRecord_noOfAxles?: number;
68
- techRecord_notes?: string;
66
+ techRecord_recordCompleteness?: null | string;
67
+ techRecord_noOfAxles?: null | number;
68
+ techRecord_notes?: null | string;
69
69
  techRecord_reasonForCreation: string;
70
70
  techRecord_regnDate?: string | null;
71
- techRecord_statusCode?: StatusCode;
72
- techRecord_vehicleConfiguration?: VehicleConfiguration;
73
- techRecord_vehicleType?: VehicleType;
71
+ techRecord_statusCode?: null | StatusCode;
72
+ techRecord_vehicleConfiguration?: null | VehicleConfiguration;
73
+ techRecord_vehicleType?: null | VehicleType;
74
74
  vin: string;
75
- techRecord_vehicleSubclass?: VehicleSubclass;
75
+ techRecord_vehicleSubclass?: null | VehicleSubclass;
76
76
  techRecord_numberOfWheelsDriven: number;
77
- techRecord_hiddenInVta?: boolean;
78
- techRecord_updateType?: string;
77
+ techRecord_hiddenInVta?: null | boolean;
78
+ techRecord_updateType?: null | string;
79
79
  }
@@ -49,28 +49,28 @@ export interface TechRecordPUTMotorcycleSkeleton {
49
49
  techRecord_applicantDetails_postCode?: null | string;
50
50
  techRecord_applicantDetails_telephoneNumber?: null | string;
51
51
  techRecord_applicantDetails_emailAddress?: null | string;
52
- createdTimestamp?: string;
53
- partialVin?: string;
54
- primaryVrm?: string;
55
- systemNumber?: string;
56
- techRecord_createdAt?: string;
57
- techRecord_createdById?: string;
58
- techRecord_createdByName?: string;
59
- techRecord_euVehicleCategory?: EUVehicleCategory;
52
+ createdTimestamp?: null | string;
53
+ partialVin?: null | string;
54
+ primaryVrm?: null | string;
55
+ systemNumber?: null | string;
56
+ techRecord_createdAt?: null | string;
57
+ techRecord_createdById?: null | string;
58
+ techRecord_createdByName?: null | string;
59
+ techRecord_euVehicleCategory?: null | EUVehicleCategory;
60
60
  techRecord_lastUpdatedAt?: string | null;
61
61
  techRecord_lastUpdatedById?: string | null;
62
62
  techRecord_lastUpdatedByName?: string | null;
63
63
  techRecord_manufactureYear?: string | null;
64
- techRecord_recordCompleteness?: string;
65
- techRecord_noOfAxles?: number;
66
- techRecord_notes?: string;
64
+ techRecord_recordCompleteness?: null | string;
65
+ techRecord_noOfAxles?: null | number;
66
+ techRecord_notes?: null | string;
67
67
  techRecord_reasonForCreation: string;
68
68
  techRecord_regnDate?: string | null;
69
- techRecord_statusCode?: StatusCode;
70
- techRecord_vehicleConfiguration?: VehicleConfiguration;
71
- techRecord_vehicleType?: VehicleType;
69
+ techRecord_statusCode?: null | StatusCode;
70
+ techRecord_vehicleConfiguration?: null | VehicleConfiguration;
71
+ techRecord_vehicleType?: null | VehicleType;
72
72
  vin: string;
73
- techRecord_hiddenInVta?: boolean;
74
- techRecord_updateType?: string;
75
- secondaryVrms?: string[];
73
+ techRecord_hiddenInVta?: null | boolean;
74
+ techRecord_updateType?: null | string;
75
+ secondaryVrms?: null | string[];
76
76
  }
@@ -186,23 +186,23 @@ export type MicrofilmDocumentType =
186
186
  export interface TechRecordPUTPSVComplete {
187
187
  vin: string;
188
188
  partialVin?: string | null;
189
- systemNumber: string;
190
- primaryVrm?: string;
189
+ systemNumber?: null | string;
190
+ primaryVrm?: null | string;
191
191
  techRecord_vehicleType: "psv";
192
192
  techRecord_statusCode: StatusCode;
193
193
  techRecord_reasonForCreation: string;
194
- techRecord_createdAt?: string;
194
+ techRecord_createdAt?: null | string;
195
195
  techRecord_vehicleConfiguration: VehicleConfiguration;
196
196
  techRecord_vehicleSize: VehicleSize | null;
197
197
  techRecord_seatsLowerDeck: number;
198
198
  techRecord_seatsUpperDeck: number;
199
199
  techRecord_numberOfWheelsDriven: number | null;
200
- techRecord_vehicleClass_code?: string;
200
+ techRecord_vehicleClass_code?: null | string;
201
201
  techRecord_vehicleClass_description: VehicleClassDescription;
202
- techRecord_hiddenInVta?: boolean;
203
- techRecord_recordCompleteness?: string;
202
+ techRecord_hiddenInVta?: null | boolean;
203
+ techRecord_recordCompleteness?: null | string;
204
204
  techRecord_euVehicleCategory?: EUVehicleCategory | null;
205
- techRecord_regnDate?: string;
205
+ techRecord_regnDate?: null | string;
206
206
  techRecord_manufactureYear?: number | null;
207
207
  techRecord_noOfAxles: number | null;
208
208
  techRecord_departmentalVehicleMarker?: boolean | null;
@@ -212,8 +212,8 @@ export interface TechRecordPUTPSVComplete {
212
212
  techRecord_ntaNumber?: string | null;
213
213
  techRecord_variantNumber?: string | null;
214
214
  techRecord_variantVersionNumber?: string | null;
215
- techRecord_bodyType_description?: BodyTypeDescription;
216
- techRecord_bodyType_code?: string;
215
+ techRecord_bodyType_description?: null | BodyTypeDescription;
216
+ techRecord_bodyType_code?: null | string;
217
217
  techRecord_functionCode?: string | null;
218
218
  techRecord_conversionRefNo?: string | null;
219
219
  techRecord_grossGbWeight?: number | null;
@@ -235,12 +235,11 @@ export interface TechRecordPUTPSVComplete {
235
235
  techRecord_dda_ddaSchedules?: string | null;
236
236
  techRecord_dda_seatbeltsFitted?: number | null;
237
237
  techRecord_dda_ddaNotes?: string | null;
238
- techRecord_dda?: null;
239
238
  techRecord_standingCapacity: number;
240
- techRecord_speedLimiterMrk?: boolean;
241
- techRecord_tachoExemptMrk?: boolean;
242
- techRecord_euroStandard?: EuroStandard;
243
- techRecord_fuelPropulsionSystem?: FuelPropulsionSystem;
239
+ techRecord_speedLimiterMrk?: null | boolean;
240
+ techRecord_tachoExemptMrk?: null | boolean;
241
+ techRecord_euroStandard?: null | EuroStandard;
242
+ techRecord_fuelPropulsionSystem?: null | FuelPropulsionSystem;
244
243
  techRecord_emissionsLimit?: null | number;
245
244
  techRecord_trainDesignWeight?: number | null;
246
245
  techRecord_numberOfSeatbelts: string;
@@ -258,7 +257,6 @@ export interface TechRecordPUTPSVComplete {
258
257
  techRecord_grossLadenWeight: number;
259
258
  techRecord_unladenWeight?: number | null;
260
259
  techRecord_maxTrainGbWeight?: number | null;
261
- techRecord_dimensions?: null;
262
260
  techRecord_dimensions_length?: number | null;
263
261
  techRecord_dimensions_width?: number | null;
264
262
  techRecord_dimensions_height?: number | null;
@@ -291,14 +289,13 @@ export interface TechRecordPUTPSVComplete {
291
289
  techRecord_brakes_brakeForceWheelsUpToHalfLocked_parkingBrakeForceB: number;
292
290
  techRecord_brakes_brakeForceWheelsUpToHalfLocked_secondaryBrakeForceB: number;
293
291
  techRecord_brakes_brakeForceWheelsUpToHalfLocked_serviceBrakeForceB: number;
294
- techRecord_microfilm?: null;
295
292
  techRecord_microfilmDocumentType?: MicrofilmDocumentType | null;
296
293
  techRecord_microfilmRollNumber?: string | null;
297
294
  techRecord_microfilmSerialNumber?: string | null;
298
295
  techRecord_brakeCode?: string | null;
299
- createdTimestamp?: string;
300
- secondaryVrms?: string[];
301
- techRecord_updateType?: string;
296
+ createdTimestamp?: null | string;
297
+ secondaryVrms?: null | string[];
298
+ techRecord_updateType?: null | string;
302
299
  }
303
300
  export interface PSVAxlesComplete {
304
301
  parkingBrakeMrk: boolean;