@dvsa/cvs-type-definitions 3.0.38 → 3.0.40

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.
@@ -380,7 +380,10 @@
380
380
  "type": "null"
381
381
  },
382
382
  "techRecord_dda_certificateIssued": {
383
- "type": "boolean"
383
+ "type": [
384
+ "boolean",
385
+ "null"
386
+ ]
384
387
  },
385
388
  "techRecord_dda_wheelchairCapacity": {
386
389
  "type": [
@@ -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
  }
@@ -338,7 +338,10 @@
338
338
  "minimum": 0
339
339
  },
340
340
  "techRecord_dda_certificateIssued": {
341
- "type": "boolean"
341
+ "type": [
342
+ "boolean",
343
+ "null"
344
+ ]
342
345
  },
343
346
  "techRecord_dda_wheelchairCapacity": {
344
347
  "type": [
@@ -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.38",
3
+ "version": "3.0.40",
4
4
  "description": "type definitions for cvs vta application",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -225,7 +225,7 @@ export interface TechRecordGETPSVComplete {
225
225
  techRecord_lastUpdatedByName?: string | null;
226
226
  techRecord_lastUpdatedById?: string | null;
227
227
  techRecord_dda?: null;
228
- techRecord_dda_certificateIssued: boolean;
228
+ techRecord_dda_certificateIssued: boolean | null;
229
229
  techRecord_dda_wheelchairCapacity?: number | null;
230
230
  techRecord_dda_wheelchairFittings?: string | null;
231
231
  techRecord_dda_wheelchairLiftPresent?: boolean | null;
@@ -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
  }
@@ -217,7 +217,7 @@ export interface TechRecordPUTPSVComplete {
217
217
  techRecord_conversionRefNo?: string | null;
218
218
  techRecord_grossGbWeight?: number | null;
219
219
  techRecord_grossDesignWeight?: number | null;
220
- techRecord_dda_certificateIssued: boolean;
220
+ techRecord_dda_certificateIssued: boolean | null;
221
221
  techRecord_dda_wheelchairCapacity?: number | null;
222
222
  techRecord_dda_wheelchairFittings?: string | null;
223
223
  techRecord_dda_wheelchairLiftPresent?: boolean | null;
@@ -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
  }