@dvsa/cvs-type-definitions 3.0.41 → 3.0.43

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.
@@ -13,7 +13,8 @@
13
13
  "techRecord_statusCode",
14
14
  "techRecord_vehicleClass_code",
15
15
  "techRecord_vehicleClass_description",
16
- "techRecord_vehicleConfiguration",
16
+ "techRecord_bodyType_description",
17
+ "techRecord_bodyType_code",
17
18
  "techRecord_vehicleType",
18
19
  "trailerId",
19
20
  "vin"
@@ -6,7 +6,8 @@
6
6
  "techRecord_reasonForCreation",
7
7
  "techRecord_statusCode",
8
8
  "techRecord_vehicleClass_description",
9
- "techRecord_vehicleConfiguration",
9
+ "techRecord_bodyType_description",
10
+ "techRecord_bodyType_code",
10
11
  "techRecord_vehicleType",
11
12
  "vin"
12
13
  ],
@@ -1005,21 +1006,28 @@
1005
1006
  ]
1006
1007
  },
1007
1008
  "techRecord_vehicleConfiguration": {
1008
- "title": "Vehicle Configuration",
1009
- "type": "string",
1010
- "enum": [
1011
- "rigid",
1012
- "articulated",
1013
- "centre axle drawbar",
1014
- "semi-car transporter",
1015
- "semi-trailer",
1016
- "long semi-trailer",
1017
- "low loader",
1018
- "other",
1019
- "drawbar",
1020
- "four-in-line",
1021
- "dolly",
1022
- "full drawbar"
1009
+ "anyOf": [
1010
+ {
1011
+ "title": "Vehicle Configuration",
1012
+ "type": "string",
1013
+ "enum": [
1014
+ "rigid",
1015
+ "articulated",
1016
+ "centre axle drawbar",
1017
+ "semi-car transporter",
1018
+ "semi-trailer",
1019
+ "long semi-trailer",
1020
+ "low loader",
1021
+ "other",
1022
+ "drawbar",
1023
+ "four-in-line",
1024
+ "dolly",
1025
+ "full drawbar"
1026
+ ]
1027
+ },
1028
+ {
1029
+ "type": "null"
1030
+ }
1023
1031
  ]
1024
1032
  },
1025
1033
  "techRecord_vehicleType": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvsa/cvs-type-definitions",
3
- "version": "3.0.41",
3
+ "version": "3.0.43",
4
4
  "description": "type definitions for cvs vta application",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -221,8 +221,8 @@ export interface TechRecordGETTRLSkeleton {
221
221
  techRecord_variantVersionNumber?: null | string;
222
222
  techRecord_authIntoService?: string | null;
223
223
  techRecord_batchId?: string | null;
224
- techRecord_bodyType_code?: null | string;
225
- techRecord_bodyType_description?: null | string;
224
+ techRecord_bodyType_code: null | string;
225
+ techRecord_bodyType_description: null | string;
226
226
  techRecord_brakes_antilockBrakingSystem?: boolean | null;
227
227
  techRecord_brakes_dtpNumber?: string | null;
228
228
  techRecord_brakes_loadSensingValve?: boolean | null;
@@ -296,7 +296,7 @@ export interface TechRecordGETTRLSkeleton {
296
296
  techRecord_tyreUseCode?: string | null;
297
297
  techRecord_vehicleClass_code: string;
298
298
  techRecord_vehicleClass_description: VehicleClassDescription;
299
- techRecord_vehicleConfiguration: VehicleConfiguration | null;
299
+ techRecord_vehicleConfiguration?: VehicleConfiguration | null;
300
300
  techRecord_vehicleType: "trl";
301
301
  trailerId: string;
302
302
  vin: string;
@@ -219,8 +219,8 @@ export interface TechRecordPUTTRLSkeleton {
219
219
  techRecord_applicationId?: string;
220
220
  techRecord_authIntoService?: string | null;
221
221
  techRecord_batchId?: string | null;
222
- techRecord_bodyType_code?: string;
223
- techRecord_bodyType_description?: string;
222
+ techRecord_bodyType_code: string;
223
+ techRecord_bodyType_description: string;
224
224
  techRecord_brakes_antilockBrakingSystem?: boolean | null;
225
225
  techRecord_brakes_dtpNumber?: string | null;
226
226
  techRecord_brakes_loadSensingValve?: boolean | null;
@@ -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;
277
+ techRecord_vehicleConfiguration?: VehicleConfiguration | null;
278
278
  techRecord_vehicleType: "trl";
279
279
  trailerId?: string;
280
280
  vin: string;