@dvsa/cvs-type-definitions 3.0.37 → 3.0.39

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.
@@ -261,10 +261,7 @@
261
261
  "type": "string"
262
262
  },
263
263
  "techRecord_numberOfWheelsDriven": {
264
- "type": [
265
- "null",
266
- "integer"
267
- ]
264
+ "type": "integer"
268
265
  },
269
266
  "techRecord_hiddenInVta": {
270
267
  "type": [
@@ -273,6 +273,12 @@
273
273
  "items": {
274
274
  "type": "string"
275
275
  }
276
+ },
277
+ "techRecord_numberOfWheelsDriven": {
278
+ "type": [
279
+ "null",
280
+ "integer"
281
+ ]
276
282
  }
277
283
  }
278
284
  }
@@ -108,10 +108,9 @@
108
108
  ]
109
109
  },
110
110
  "techRecord_noOfAxles": {
111
- "type": [
112
- "integer",
113
- "null"
114
- ]
111
+ "type": "integer",
112
+ "minimum": 0,
113
+ "maximum": 99
115
114
  },
116
115
  "techRecord_notes": {
117
116
  "type": [
@@ -204,6 +203,12 @@
204
203
  },
205
204
  "createdTimestamp": {
206
205
  "type": "string"
206
+ },
207
+ "techRecord_hiddenInVta": {
208
+ "type": [
209
+ "null",
210
+ "boolean"
211
+ ]
207
212
  }
208
213
  }
209
214
  }
@@ -109,7 +109,9 @@
109
109
  "type": [
110
110
  "integer",
111
111
  "null"
112
- ]
112
+ ],
113
+ "minimum": 0,
114
+ "maximum": 99
113
115
  },
114
116
  "techRecord_notes": {
115
117
  "type": [
@@ -212,6 +214,12 @@
212
214
  },
213
215
  "techRecord_recordCompleteness": {
214
216
  "const": "skeleton"
217
+ },
218
+ "techRecord_hiddenInVta": {
219
+ "type": [
220
+ "null",
221
+ "boolean"
222
+ ]
215
223
  }
216
224
  }
217
225
  }
@@ -139,6 +139,12 @@
139
139
  "string"
140
140
  ]
141
141
  },
142
+ "techRecord_numberOfWheelsDriven": {
143
+ "type": [
144
+ "null",
145
+ "integer"
146
+ ]
147
+ },
142
148
  "techRecord_reasonForCreation": {
143
149
  "type": "string"
144
150
  },
@@ -75,10 +75,9 @@
75
75
  ]
76
76
  },
77
77
  "techRecord_noOfAxles": {
78
- "type": [
79
- "integer",
80
- "null"
81
- ]
78
+ "type": "integer",
79
+ "minimum": 0,
80
+ "maximum": 99
82
81
  },
83
82
  "techRecord_notes": {
84
83
  "type": [
@@ -162,6 +161,12 @@
162
161
  },
163
162
  "trailerId": {
164
163
  "type": "string"
164
+ },
165
+ "techRecord_hiddenInVta": {
166
+ "type": [
167
+ "null",
168
+ "boolean"
169
+ ]
165
170
  }
166
171
  }
167
172
  }
@@ -73,9 +73,15 @@
73
73
  ]
74
74
  },
75
75
  "techRecord_noOfAxles": {
76
- "type": [
77
- "integer",
78
- "null"
76
+ "anyOf": [
77
+ {
78
+ "type": "integer",
79
+ "minimum": 0,
80
+ "maximum": 99
81
+ },
82
+ {
83
+ "type": "null"
84
+ }
79
85
  ]
80
86
  },
81
87
  "techRecord_notes": {
@@ -167,6 +173,12 @@
167
173
  },
168
174
  "trailerId": {
169
175
  "type": "string"
176
+ },
177
+ "techRecord_hiddenInVta": {
178
+ "type": [
179
+ "null",
180
+ "boolean"
181
+ ]
170
182
  }
171
183
  }
172
184
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvsa/cvs-type-definitions",
3
- "version": "3.0.37",
3
+ "version": "3.0.39",
4
4
  "description": "type definitions for cvs vta application",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -84,7 +84,7 @@ export interface TechRecordGETMotorcycleComplete {
84
84
  techRecord_vehicleConfiguration?: null | VehicleConfiguration;
85
85
  techRecord_vehicleType: "motorcycle";
86
86
  vin: string;
87
- techRecord_numberOfWheelsDriven: null | number;
87
+ techRecord_numberOfWheelsDriven: number;
88
88
  techRecord_hiddenInVta?: null | boolean;
89
89
  techRecord_updateType?: null | string;
90
90
  }
@@ -86,4 +86,5 @@ export interface TechRecordGETMotorcycleSkeleton {
86
86
  techRecord_hiddenInVta?: null | boolean;
87
87
  techRecord_updateType?: null | string;
88
88
  secondaryVrms?: null | string[];
89
+ techRecord_numberOfWheelsDriven?: null | number;
89
90
  }
@@ -50,7 +50,7 @@ export interface TechRecordGETSmallTRLComplete {
50
50
  techRecord_lastUpdatedById?: string | null;
51
51
  techRecord_lastUpdatedByName?: string | null;
52
52
  techRecord_manufactureYear?: number | null;
53
- techRecord_noOfAxles: number | null;
53
+ techRecord_noOfAxles: number;
54
54
  techRecord_notes?: string | null;
55
55
  techRecord_reasonForCreation: string;
56
56
  techRecord_statusCode: StatusCode;
@@ -63,4 +63,5 @@ export interface TechRecordGETSmallTRLComplete {
63
63
  trailerId?: string;
64
64
  systemNumber: string;
65
65
  createdTimestamp: string;
66
+ techRecord_hiddenInVta?: null | boolean;
66
67
  }
@@ -64,4 +64,5 @@ export interface TechRecordGETSmallTRLSkeleton {
64
64
  systemNumber: string;
65
65
  createdTimestamp: string;
66
66
  techRecord_recordCompleteness?: "skeleton";
67
+ techRecord_hiddenInVta?: null | boolean;
67
68
  }
@@ -68,6 +68,7 @@ export interface TechRecordPUTMotorcycleSkeleton {
68
68
  techRecord_recordCompleteness?: null | string;
69
69
  techRecord_noOfAxles?: null | number;
70
70
  techRecord_notes?: null | string;
71
+ techRecord_numberOfWheelsDriven?: null | number;
71
72
  techRecord_reasonForCreation: string;
72
73
  techRecord_regnDate?: string | null;
73
74
  techRecord_statusCode: StatusCode;
@@ -44,7 +44,7 @@ export interface TechRecordPUTSmallTRLComplete {
44
44
  techRecord_applicantDetails_telephoneNumber?: string | null;
45
45
  techRecord_euVehicleCategory: "o1" | "o2";
46
46
  techRecord_manufactureYear?: number | null;
47
- techRecord_noOfAxles: number | null;
47
+ techRecord_noOfAxles: number;
48
48
  techRecord_notes?: string | null;
49
49
  techRecord_reasonForCreation: string;
50
50
  techRecord_statusCode: StatusCode;
@@ -54,4 +54,5 @@ export interface TechRecordPUTSmallTRLComplete {
54
54
  techRecord_vehicleType: "trl";
55
55
  vin: string;
56
56
  trailerId?: string;
57
+ techRecord_hiddenInVta?: null | boolean;
57
58
  }
@@ -54,4 +54,5 @@ export interface TechRecordPUTSmallTRLSkeleton {
54
54
  techRecord_vehicleType: "trl";
55
55
  vin: string;
56
56
  trailerId?: string;
57
+ techRecord_hiddenInVta?: null | boolean;
57
58
  }