@dvsa/cvs-type-definitions 3.0.2 → 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.
@@ -6,7 +6,6 @@
6
6
  "techRecord_reasonForCreation",
7
7
  "techRecord_statusCode",
8
8
  "techRecord_vehicleType",
9
- "primaryVrm",
10
9
  "vin",
11
10
  "techRecord_vehicleConfiguration",
12
11
  "techRecord_vehicleClass_code",
@@ -1032,7 +1031,10 @@
1032
1031
  "const": "hgv"
1033
1032
  },
1034
1033
  "primaryVrm": {
1035
- "type": "string"
1034
+ "type": [
1035
+ "null",
1036
+ "string"
1037
+ ]
1036
1038
  },
1037
1039
  "vin": {
1038
1040
  "type": "string"
@@ -6,7 +6,6 @@
6
6
  "techRecord_reasonForCreation",
7
7
  "techRecord_statusCode",
8
8
  "techRecord_vehicleType",
9
- "primaryVrm",
10
9
  "vin"
11
10
  ],
12
11
  "properties": {
@@ -1121,7 +1120,10 @@
1121
1120
  "const": "hgv"
1122
1121
  },
1123
1122
  "primaryVrm": {
1124
- "type": "string"
1123
+ "type": [
1124
+ "null",
1125
+ "string"
1126
+ ]
1125
1127
  },
1126
1128
  "vin": {
1127
1129
  "type": "string"
@@ -6,7 +6,6 @@
6
6
  "techRecord_reasonForCreation",
7
7
  "techRecord_statusCode",
8
8
  "techRecord_vehicleType",
9
- "primaryVrm",
10
9
  "vin",
11
10
  "techRecord_vehicleConfiguration",
12
11
  "techRecord_vehicleClass_code",
@@ -1091,7 +1090,10 @@
1091
1090
  "const": "hgv"
1092
1091
  },
1093
1092
  "primaryVrm": {
1094
- "type": "string"
1093
+ "type": [
1094
+ "null",
1095
+ "string"
1096
+ ]
1095
1097
  },
1096
1098
  "vin": {
1097
1099
  "type": "string"
@@ -21,7 +21,6 @@
21
21
  "techRecord_couplingCenterToRearTrlMin",
22
22
  "techRecord_notes",
23
23
  "techRecord_roadFriendly",
24
- "trailerId",
25
24
  "techRecord_reasonForCreation",
26
25
  "techRecord_statusCode",
27
26
  "techRecord_vehicleClass_code",
@@ -9,7 +9,6 @@
9
9
  "techRecord_vehicleClass_description",
10
10
  "techRecord_vehicleConfiguration",
11
11
  "techRecord_vehicleType",
12
- "trailerId",
13
12
  "vin"
14
13
  ],
15
14
  "properties": {
@@ -4,7 +4,6 @@
4
4
  "additionalProperties": false,
5
5
  "required": [
6
6
  "techRecord_noOfAxles",
7
- "trailerId",
8
7
  "techRecord_reasonForCreation",
9
8
  "techRecord_recordCompleteness",
10
9
  "techRecord_statusCode",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvsa/cvs-type-definitions",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "type definitions for cvs vta application",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -257,7 +257,7 @@ 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
262
  techRecord_hiddenInVta?: null | boolean;
263
263
  techRecord_updateType?: null | string;
@@ -257,7 +257,7 @@ 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
262
  techRecord_hiddenInVta?: null | boolean;
263
263
  techRecord_updateType?: null | string;
@@ -257,7 +257,7 @@ 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
262
  techRecord_hiddenInVta?: null | boolean;
263
263
  techRecord_updateType?: null | string;
@@ -316,7 +316,7 @@ export interface TechRecordPUTTRLComplete {
316
316
  techRecord_vehicleClass_description: VehicleClassDescription;
317
317
  techRecord_vehicleConfiguration: VehicleConfiguration | null;
318
318
  techRecord_vehicleType: "trl";
319
- trailerId: string;
319
+ trailerId?: string;
320
320
  vin: string;
321
321
  techRecord_axles?: null | PSVAxles[];
322
322
  techRecord_hiddenInVta?: null | boolean;
@@ -264,7 +264,7 @@ export interface TechRecordPUTTRLSkeleton {
264
264
  techRecord_vehicleClass_description: VehicleClassDescription;
265
265
  techRecord_vehicleConfiguration: VehicleConfiguration | null;
266
266
  techRecord_vehicleType: "trl";
267
- trailerId: string;
267
+ trailerId?: string;
268
268
  vin: string;
269
269
  techRecord_hiddenInVta?: boolean;
270
270
  techRecord_updateType?: string;
@@ -261,7 +261,7 @@ export interface TechRecordPUTTRLTestable {
261
261
  techRecord_vehicleClass_description: VehicleClassDescription;
262
262
  techRecord_vehicleConfiguration: VehicleConfiguration | null;
263
263
  techRecord_vehicleType: "trl";
264
- trailerId: string;
264
+ trailerId?: string;
265
265
  vin: string;
266
266
  techRecord_axles?: null | TRLAxles[];
267
267
  brakes?: {