@dvsa/cvs-type-definitions 3.0.6 → 3.0.8
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.
- package/json-schemas/v3/tech-record/get/car/complete/index.json +2 -11
- package/json-schemas/v3/tech-record/get/car/skeleton/index.json +2 -11
- package/json-schemas/v3/tech-record/get/lgv/complete/index.json +2 -18
- package/json-schemas/v3/tech-record/get/lgv/skeleton/index.json +2 -18
- package/json-schemas/v3/tech-record/get/motorcycle/complete/index.json +2 -18
- package/json-schemas/v3/tech-record/get/motorcycle/skeleton/index.json +2 -18
- package/json-schemas/v3/tech-record/put/car/complete/index.json +2 -11
- package/json-schemas/v3/tech-record/put/car/skeleton/index.json +2 -11
- package/json-schemas/v3/tech-record/put/lgv/complete/index.json +2 -11
- package/json-schemas/v3/tech-record/put/lgv/skeleton/index.json +2 -11
- package/json-schemas/v3/tech-record/put/motorcycle/complete/index.json +2 -18
- package/json-schemas/v3/tech-record/put/motorcycle/skeleton/index.json +2 -18
- package/package.json +1 -1
- package/types/v3/tech-record/get/car/complete/index.d.ts +2 -3
- package/types/v3/tech-record/get/car/skeleton/index.d.ts +2 -3
- package/types/v3/tech-record/get/lgv/complete/index.d.ts +2 -3
- package/types/v3/tech-record/get/lgv/skeleton/index.d.ts +2 -3
- package/types/v3/tech-record/get/motorcycle/complete/index.d.ts +2 -3
- package/types/v3/tech-record/get/motorcycle/skeleton/index.d.ts +2 -3
- package/types/v3/tech-record/put/car/complete/index.d.ts +2 -3
- package/types/v3/tech-record/put/car/skeleton/index.d.ts +2 -3
- package/types/v3/tech-record/put/lgv/complete/index.d.ts +2 -3
- package/types/v3/tech-record/put/lgv/skeleton/index.d.ts +2 -3
- package/types/v3/tech-record/put/motorcycle/complete/index.d.ts +2 -3
- package/types/v3/tech-record/put/motorcycle/skeleton/index.d.ts +2 -3
- package/types/v3/tech-record/tech-record-vehicle-type.d.ts +2 -1
- package/types/v3/tech-record/tech-record-verb-vehicle-type.d.ts +2 -1
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
},
|
|
156
156
|
"techRecord_manufactureYear": {
|
|
157
157
|
"type": [
|
|
158
|
-
"
|
|
158
|
+
"integer",
|
|
159
159
|
"null"
|
|
160
160
|
]
|
|
161
161
|
},
|
|
@@ -231,16 +231,7 @@
|
|
|
231
231
|
]
|
|
232
232
|
},
|
|
233
233
|
"techRecord_vehicleType": {
|
|
234
|
-
"
|
|
235
|
-
"type": "string",
|
|
236
|
-
"enum": [
|
|
237
|
-
"psv",
|
|
238
|
-
"trl",
|
|
239
|
-
"hgv",
|
|
240
|
-
"car",
|
|
241
|
-
"lgv",
|
|
242
|
-
"motorcycle"
|
|
243
|
-
]
|
|
234
|
+
"const": "car"
|
|
244
235
|
},
|
|
245
236
|
"vin": {
|
|
246
237
|
"type": "string"
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
},
|
|
155
155
|
"techRecord_manufactureYear": {
|
|
156
156
|
"type": [
|
|
157
|
-
"
|
|
157
|
+
"integer",
|
|
158
158
|
"null"
|
|
159
159
|
]
|
|
160
160
|
},
|
|
@@ -230,16 +230,7 @@
|
|
|
230
230
|
]
|
|
231
231
|
},
|
|
232
232
|
"techRecord_vehicleType": {
|
|
233
|
-
"
|
|
234
|
-
"type": "string",
|
|
235
|
-
"enum": [
|
|
236
|
-
"psv",
|
|
237
|
-
"trl",
|
|
238
|
-
"hgv",
|
|
239
|
-
"car",
|
|
240
|
-
"lgv",
|
|
241
|
-
"motorcycle"
|
|
242
|
-
]
|
|
233
|
+
"const": "car"
|
|
243
234
|
},
|
|
244
235
|
"vin": {
|
|
245
236
|
"type": "string"
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
},
|
|
156
156
|
"techRecord_manufactureYear": {
|
|
157
157
|
"type": [
|
|
158
|
-
"
|
|
158
|
+
"integer",
|
|
159
159
|
"null"
|
|
160
160
|
]
|
|
161
161
|
},
|
|
@@ -231,23 +231,7 @@
|
|
|
231
231
|
]
|
|
232
232
|
},
|
|
233
233
|
"techRecord_vehicleType": {
|
|
234
|
-
"
|
|
235
|
-
{
|
|
236
|
-
"type": "null"
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
"title": "Vehicle Type",
|
|
240
|
-
"type": "string",
|
|
241
|
-
"enum": [
|
|
242
|
-
"psv",
|
|
243
|
-
"trl",
|
|
244
|
-
"hgv",
|
|
245
|
-
"car",
|
|
246
|
-
"lgv",
|
|
247
|
-
"motorcycle"
|
|
248
|
-
]
|
|
249
|
-
}
|
|
250
|
-
]
|
|
234
|
+
"const": "lgv"
|
|
251
235
|
},
|
|
252
236
|
"vin": {
|
|
253
237
|
"type": "string"
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
},
|
|
155
155
|
"techRecord_manufactureYear": {
|
|
156
156
|
"type": [
|
|
157
|
-
"
|
|
157
|
+
"integer",
|
|
158
158
|
"null"
|
|
159
159
|
]
|
|
160
160
|
},
|
|
@@ -230,23 +230,7 @@
|
|
|
230
230
|
]
|
|
231
231
|
},
|
|
232
232
|
"techRecord_vehicleType": {
|
|
233
|
-
"
|
|
234
|
-
{
|
|
235
|
-
"type": "null"
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
"title": "Vehicle Type",
|
|
239
|
-
"type": "string",
|
|
240
|
-
"enum": [
|
|
241
|
-
"psv",
|
|
242
|
-
"trl",
|
|
243
|
-
"hgv",
|
|
244
|
-
"car",
|
|
245
|
-
"lgv",
|
|
246
|
-
"motorcycle"
|
|
247
|
-
]
|
|
248
|
-
}
|
|
249
|
-
]
|
|
233
|
+
"const": "lgv"
|
|
250
234
|
},
|
|
251
235
|
"vin": {
|
|
252
236
|
"type": "string"
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
},
|
|
161
161
|
"techRecord_manufactureYear": {
|
|
162
162
|
"type": [
|
|
163
|
-
"
|
|
163
|
+
"integer",
|
|
164
164
|
"null"
|
|
165
165
|
]
|
|
166
166
|
},
|
|
@@ -233,23 +233,7 @@
|
|
|
233
233
|
]
|
|
234
234
|
},
|
|
235
235
|
"techRecord_vehicleType": {
|
|
236
|
-
"
|
|
237
|
-
{
|
|
238
|
-
"type": "null"
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
"title": "Vehicle Type",
|
|
242
|
-
"type": "string",
|
|
243
|
-
"enum": [
|
|
244
|
-
"psv",
|
|
245
|
-
"trl",
|
|
246
|
-
"hgv",
|
|
247
|
-
"car",
|
|
248
|
-
"lgv",
|
|
249
|
-
"motorcycle"
|
|
250
|
-
]
|
|
251
|
-
}
|
|
252
|
-
]
|
|
236
|
+
"const": "motorcycle"
|
|
253
237
|
},
|
|
254
238
|
"vin": {
|
|
255
239
|
"type": "string"
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
},
|
|
154
154
|
"techRecord_manufactureYear": {
|
|
155
155
|
"type": [
|
|
156
|
-
"
|
|
156
|
+
"integer",
|
|
157
157
|
"null"
|
|
158
158
|
]
|
|
159
159
|
},
|
|
@@ -226,23 +226,7 @@
|
|
|
226
226
|
]
|
|
227
227
|
},
|
|
228
228
|
"techRecord_vehicleType": {
|
|
229
|
-
"
|
|
230
|
-
{
|
|
231
|
-
"type": "null"
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
"title": "Vehicle Type",
|
|
235
|
-
"type": "string",
|
|
236
|
-
"enum": [
|
|
237
|
-
"psv",
|
|
238
|
-
"trl",
|
|
239
|
-
"hgv",
|
|
240
|
-
"car",
|
|
241
|
-
"lgv",
|
|
242
|
-
"motorcycle"
|
|
243
|
-
]
|
|
244
|
-
}
|
|
245
|
-
]
|
|
229
|
+
"const": "motorcycle"
|
|
246
230
|
},
|
|
247
231
|
"vin": {
|
|
248
232
|
"type": "string"
|
|
@@ -30,16 +30,7 @@
|
|
|
30
30
|
]
|
|
31
31
|
},
|
|
32
32
|
"techRecord_vehicleType": {
|
|
33
|
-
"
|
|
34
|
-
"type": "string",
|
|
35
|
-
"enum": [
|
|
36
|
-
"psv",
|
|
37
|
-
"trl",
|
|
38
|
-
"hgv",
|
|
39
|
-
"car",
|
|
40
|
-
"lgv",
|
|
41
|
-
"motorcycle"
|
|
42
|
-
]
|
|
33
|
+
"const": "car"
|
|
43
34
|
},
|
|
44
35
|
"techRecord_statusCode": {
|
|
45
36
|
"anyOf": [
|
|
@@ -65,7 +56,7 @@
|
|
|
65
56
|
},
|
|
66
57
|
"techRecord_manufactureYear": {
|
|
67
58
|
"type": [
|
|
68
|
-
"
|
|
59
|
+
"integer",
|
|
69
60
|
"null"
|
|
70
61
|
]
|
|
71
62
|
},
|
|
@@ -29,16 +29,7 @@
|
|
|
29
29
|
]
|
|
30
30
|
},
|
|
31
31
|
"techRecord_vehicleType": {
|
|
32
|
-
"
|
|
33
|
-
"type": "string",
|
|
34
|
-
"enum": [
|
|
35
|
-
"psv",
|
|
36
|
-
"trl",
|
|
37
|
-
"hgv",
|
|
38
|
-
"car",
|
|
39
|
-
"lgv",
|
|
40
|
-
"motorcycle"
|
|
41
|
-
]
|
|
32
|
+
"const": "car"
|
|
42
33
|
},
|
|
43
34
|
"techRecord_statusCode": {
|
|
44
35
|
"anyOf": [
|
|
@@ -64,7 +55,7 @@
|
|
|
64
55
|
},
|
|
65
56
|
"techRecord_manufactureYear": {
|
|
66
57
|
"type": [
|
|
67
|
-
"
|
|
58
|
+
"integer",
|
|
68
59
|
"null"
|
|
69
60
|
]
|
|
70
61
|
},
|
|
@@ -111,16 +111,7 @@
|
|
|
111
111
|
]
|
|
112
112
|
},
|
|
113
113
|
"techRecord_vehicleType": {
|
|
114
|
-
"
|
|
115
|
-
"type": "string",
|
|
116
|
-
"enum": [
|
|
117
|
-
"psv",
|
|
118
|
-
"trl",
|
|
119
|
-
"hgv",
|
|
120
|
-
"car",
|
|
121
|
-
"lgv",
|
|
122
|
-
"motorcycle"
|
|
123
|
-
]
|
|
114
|
+
"const": "lgv"
|
|
124
115
|
},
|
|
125
116
|
"techRecord_statusCode": {
|
|
126
117
|
"title": "Status Code",
|
|
@@ -139,7 +130,7 @@
|
|
|
139
130
|
},
|
|
140
131
|
"techRecord_manufactureYear": {
|
|
141
132
|
"type": [
|
|
142
|
-
"
|
|
133
|
+
"integer",
|
|
143
134
|
"null"
|
|
144
135
|
]
|
|
145
136
|
},
|
|
@@ -110,16 +110,7 @@
|
|
|
110
110
|
]
|
|
111
111
|
},
|
|
112
112
|
"techRecord_vehicleType": {
|
|
113
|
-
"
|
|
114
|
-
"type": "string",
|
|
115
|
-
"enum": [
|
|
116
|
-
"psv",
|
|
117
|
-
"trl",
|
|
118
|
-
"hgv",
|
|
119
|
-
"car",
|
|
120
|
-
"lgv",
|
|
121
|
-
"motorcycle"
|
|
122
|
-
]
|
|
113
|
+
"const": "lgv"
|
|
123
114
|
},
|
|
124
115
|
"techRecord_statusCode": {
|
|
125
116
|
"title": "Status Code",
|
|
@@ -138,7 +129,7 @@
|
|
|
138
129
|
},
|
|
139
130
|
"techRecord_manufactureYear": {
|
|
140
131
|
"type": [
|
|
141
|
-
"
|
|
132
|
+
"integer",
|
|
142
133
|
"null"
|
|
143
134
|
]
|
|
144
135
|
},
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
},
|
|
168
168
|
"techRecord_manufactureYear": {
|
|
169
169
|
"type": [
|
|
170
|
-
"
|
|
170
|
+
"integer",
|
|
171
171
|
"null"
|
|
172
172
|
]
|
|
173
173
|
},
|
|
@@ -240,23 +240,7 @@
|
|
|
240
240
|
]
|
|
241
241
|
},
|
|
242
242
|
"techRecord_vehicleType": {
|
|
243
|
-
"
|
|
244
|
-
{
|
|
245
|
-
"type": "null"
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
"title": "Vehicle Type",
|
|
249
|
-
"type": "string",
|
|
250
|
-
"enum": [
|
|
251
|
-
"psv",
|
|
252
|
-
"trl",
|
|
253
|
-
"hgv",
|
|
254
|
-
"car",
|
|
255
|
-
"lgv",
|
|
256
|
-
"motorcycle"
|
|
257
|
-
]
|
|
258
|
-
}
|
|
259
|
-
]
|
|
243
|
+
"const": "motorcycle"
|
|
260
244
|
},
|
|
261
245
|
"vin": {
|
|
262
246
|
"type": "string"
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
},
|
|
158
158
|
"techRecord_manufactureYear": {
|
|
159
159
|
"type": [
|
|
160
|
-
"
|
|
160
|
+
"integer",
|
|
161
161
|
"null"
|
|
162
162
|
]
|
|
163
163
|
},
|
|
@@ -230,23 +230,7 @@
|
|
|
230
230
|
]
|
|
231
231
|
},
|
|
232
232
|
"techRecord_vehicleType": {
|
|
233
|
-
"
|
|
234
|
-
{
|
|
235
|
-
"type": "null"
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
"title": "Vehicle Type",
|
|
239
|
-
"type": "string",
|
|
240
|
-
"enum": [
|
|
241
|
-
"psv",
|
|
242
|
-
"trl",
|
|
243
|
-
"hgv",
|
|
244
|
-
"car",
|
|
245
|
-
"lgv",
|
|
246
|
-
"motorcycle"
|
|
247
|
-
]
|
|
248
|
-
}
|
|
249
|
-
]
|
|
233
|
+
"const": "motorcycle"
|
|
250
234
|
},
|
|
251
235
|
"vin": {
|
|
252
236
|
"type": "string"
|
package/package.json
CHANGED
|
@@ -38,7 +38,6 @@ export type VehicleConfiguration =
|
|
|
38
38
|
| "four-in-line"
|
|
39
39
|
| "dolly"
|
|
40
40
|
| "full drawbar";
|
|
41
|
-
export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
|
|
42
41
|
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
43
42
|
|
|
44
43
|
export interface TechRecordGETCarComplete {
|
|
@@ -61,7 +60,7 @@ export interface TechRecordGETCarComplete {
|
|
|
61
60
|
techRecord_lastUpdatedAt?: string | null;
|
|
62
61
|
techRecord_lastUpdatedById?: string | null;
|
|
63
62
|
techRecord_lastUpdatedByName?: string | null;
|
|
64
|
-
techRecord_manufactureYear?:
|
|
63
|
+
techRecord_manufactureYear?: number | null;
|
|
65
64
|
techRecord_recordCompleteness?: null | string;
|
|
66
65
|
techRecord_noOfAxles?: null | number;
|
|
67
66
|
techRecord_notes?: null | string;
|
|
@@ -69,7 +68,7 @@ export interface TechRecordGETCarComplete {
|
|
|
69
68
|
techRecord_regnDate?: string | null;
|
|
70
69
|
techRecord_statusCode?: null | StatusCode;
|
|
71
70
|
techRecord_vehicleConfiguration?: null | VehicleConfiguration;
|
|
72
|
-
techRecord_vehicleType:
|
|
71
|
+
techRecord_vehicleType: "car";
|
|
73
72
|
vin: string;
|
|
74
73
|
techRecord_vehicleSubclass: VehicleSubclass;
|
|
75
74
|
techRecord_hiddenInVta?: null | boolean;
|
|
@@ -38,7 +38,6 @@ export type VehicleConfiguration =
|
|
|
38
38
|
| "four-in-line"
|
|
39
39
|
| "dolly"
|
|
40
40
|
| "full drawbar";
|
|
41
|
-
export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
|
|
42
41
|
|
|
43
42
|
export interface TechRecordGETCarSkeleton {
|
|
44
43
|
techRecord_applicantDetails_name?: string | null;
|
|
@@ -60,7 +59,7 @@ export interface TechRecordGETCarSkeleton {
|
|
|
60
59
|
techRecord_lastUpdatedAt?: string | null;
|
|
61
60
|
techRecord_lastUpdatedById?: string | null;
|
|
62
61
|
techRecord_lastUpdatedByName?: string | null;
|
|
63
|
-
techRecord_manufactureYear?:
|
|
62
|
+
techRecord_manufactureYear?: number | null;
|
|
64
63
|
techRecord_recordCompleteness?: null | string;
|
|
65
64
|
techRecord_noOfAxles?: null | number;
|
|
66
65
|
techRecord_notes?: null | string;
|
|
@@ -68,7 +67,7 @@ export interface TechRecordGETCarSkeleton {
|
|
|
68
67
|
techRecord_regnDate?: string | null;
|
|
69
68
|
techRecord_statusCode?: null | StatusCode;
|
|
70
69
|
techRecord_vehicleConfiguration?: null | VehicleConfiguration;
|
|
71
|
-
techRecord_vehicleType:
|
|
70
|
+
techRecord_vehicleType: "car";
|
|
72
71
|
vin: string;
|
|
73
72
|
techRecord_hiddenInVta?: null | boolean;
|
|
74
73
|
techRecord_updateType?: null | string;
|
|
@@ -38,7 +38,6 @@ export type VehicleConfiguration =
|
|
|
38
38
|
| "four-in-line"
|
|
39
39
|
| "dolly"
|
|
40
40
|
| "full drawbar";
|
|
41
|
-
export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
|
|
42
41
|
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
43
42
|
|
|
44
43
|
export interface TechRecordGETLGVComplete {
|
|
@@ -61,7 +60,7 @@ export interface TechRecordGETLGVComplete {
|
|
|
61
60
|
techRecord_lastUpdatedAt?: string | null;
|
|
62
61
|
techRecord_lastUpdatedById?: string | null;
|
|
63
62
|
techRecord_lastUpdatedByName?: string | null;
|
|
64
|
-
techRecord_manufactureYear?:
|
|
63
|
+
techRecord_manufactureYear?: number | null;
|
|
65
64
|
techRecord_recordCompleteness?: null | string;
|
|
66
65
|
techRecord_noOfAxles?: null | number;
|
|
67
66
|
techRecord_notes?: null | string;
|
|
@@ -69,7 +68,7 @@ export interface TechRecordGETLGVComplete {
|
|
|
69
68
|
techRecord_regnDate?: string | null;
|
|
70
69
|
techRecord_statusCode?: null | StatusCode;
|
|
71
70
|
techRecord_vehicleConfiguration?: null | VehicleConfiguration;
|
|
72
|
-
techRecord_vehicleType:
|
|
71
|
+
techRecord_vehicleType: "lgv";
|
|
73
72
|
vin: string;
|
|
74
73
|
techRecord_vehicleSubclass: null | VehicleSubclass;
|
|
75
74
|
techRecord_hiddenInVta?: null | boolean;
|
|
@@ -38,7 +38,6 @@ export type VehicleConfiguration =
|
|
|
38
38
|
| "four-in-line"
|
|
39
39
|
| "dolly"
|
|
40
40
|
| "full drawbar";
|
|
41
|
-
export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
|
|
42
41
|
|
|
43
42
|
export interface TechRecordGETLGVSkeleton {
|
|
44
43
|
techRecord_applicantDetails_name?: string | null;
|
|
@@ -60,7 +59,7 @@ export interface TechRecordGETLGVSkeleton {
|
|
|
60
59
|
techRecord_lastUpdatedAt?: string | null;
|
|
61
60
|
techRecord_lastUpdatedById?: string | null;
|
|
62
61
|
techRecord_lastUpdatedByName?: string | null;
|
|
63
|
-
techRecord_manufactureYear?:
|
|
62
|
+
techRecord_manufactureYear?: number | null;
|
|
64
63
|
techRecord_recordCompleteness?: null | string;
|
|
65
64
|
techRecord_noOfAxles?: null | number;
|
|
66
65
|
techRecord_notes?: null | string;
|
|
@@ -68,7 +67,7 @@ export interface TechRecordGETLGVSkeleton {
|
|
|
68
67
|
techRecord_regnDate?: string | null;
|
|
69
68
|
techRecord_statusCode?: null | StatusCode;
|
|
70
69
|
techRecord_vehicleConfiguration?: null | VehicleConfiguration;
|
|
71
|
-
techRecord_vehicleType:
|
|
70
|
+
techRecord_vehicleType: "lgv";
|
|
72
71
|
vin: string;
|
|
73
72
|
techRecord_hiddenInVta?: null | boolean;
|
|
74
73
|
techRecord_updateType?: null | string;
|
|
@@ -38,7 +38,6 @@ export type VehicleConfiguration =
|
|
|
38
38
|
| "four-in-line"
|
|
39
39
|
| "dolly"
|
|
40
40
|
| "full drawbar";
|
|
41
|
-
export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
|
|
42
41
|
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
43
42
|
|
|
44
43
|
export interface TechRecordGETMotorcycleComplete {
|
|
@@ -62,7 +61,7 @@ export interface TechRecordGETMotorcycleComplete {
|
|
|
62
61
|
techRecord_lastUpdatedAt?: string | null;
|
|
63
62
|
techRecord_lastUpdatedById?: string | null;
|
|
64
63
|
techRecord_lastUpdatedByName?: string | null;
|
|
65
|
-
techRecord_manufactureYear?:
|
|
64
|
+
techRecord_manufactureYear?: number | null;
|
|
66
65
|
techRecord_recordCompleteness?: null | string;
|
|
67
66
|
techRecord_noOfAxles?: null | number;
|
|
68
67
|
techRecord_notes?: null | string;
|
|
@@ -70,7 +69,7 @@ export interface TechRecordGETMotorcycleComplete {
|
|
|
70
69
|
techRecord_regnDate?: string | null;
|
|
71
70
|
techRecord_statusCode?: null | StatusCode;
|
|
72
71
|
techRecord_vehicleConfiguration?: null | VehicleConfiguration;
|
|
73
|
-
techRecord_vehicleType?:
|
|
72
|
+
techRecord_vehicleType?: "motorcycle";
|
|
74
73
|
vin: string;
|
|
75
74
|
techRecord_vehicleSubclass?: null | VehicleSubclass;
|
|
76
75
|
techRecord_numberOfWheelsDriven: null | number;
|
|
@@ -38,7 +38,6 @@ export type VehicleConfiguration =
|
|
|
38
38
|
| "four-in-line"
|
|
39
39
|
| "dolly"
|
|
40
40
|
| "full drawbar";
|
|
41
|
-
export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
|
|
42
41
|
|
|
43
42
|
export interface TechRecordGETMotorcycleSkeleton {
|
|
44
43
|
techRecord_applicantDetails_name?: string | null;
|
|
@@ -60,7 +59,7 @@ export interface TechRecordGETMotorcycleSkeleton {
|
|
|
60
59
|
techRecord_lastUpdatedAt?: string | null;
|
|
61
60
|
techRecord_lastUpdatedById?: string | null;
|
|
62
61
|
techRecord_lastUpdatedByName?: string | null;
|
|
63
|
-
techRecord_manufactureYear?:
|
|
62
|
+
techRecord_manufactureYear?: number | null;
|
|
64
63
|
techRecord_recordCompleteness?: null | string;
|
|
65
64
|
techRecord_noOfAxles?: null | number;
|
|
66
65
|
techRecord_notes?: null | string;
|
|
@@ -68,7 +67,7 @@ export interface TechRecordGETMotorcycleSkeleton {
|
|
|
68
67
|
techRecord_regnDate?: string | null;
|
|
69
68
|
techRecord_statusCode?: null | StatusCode;
|
|
70
69
|
techRecord_vehicleConfiguration?: null | VehicleConfiguration;
|
|
71
|
-
techRecord_vehicleType?:
|
|
70
|
+
techRecord_vehicleType?: "motorcycle";
|
|
72
71
|
vin: string;
|
|
73
72
|
techRecord_hiddenInVta?: null | boolean;
|
|
74
73
|
techRecord_updateType?: null | string;
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* and run json-schema-to-typescript to regenerate this file.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
|
|
9
8
|
export type StatusCode = "provisional" | "current" | "archived";
|
|
10
9
|
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
11
10
|
|
|
@@ -14,10 +13,10 @@ export interface TechRecordPUTCarComplete {
|
|
|
14
13
|
primaryVrm?: null | string;
|
|
15
14
|
trailerId?: string | null;
|
|
16
15
|
techRecord_reasonForCreation?: string | null;
|
|
17
|
-
techRecord_vehicleType:
|
|
16
|
+
techRecord_vehicleType: "car";
|
|
18
17
|
techRecord_statusCode?: null | StatusCode;
|
|
19
18
|
techRecord_regnDate?: string | null;
|
|
20
|
-
techRecord_manufactureYear?:
|
|
19
|
+
techRecord_manufactureYear?: number | null;
|
|
21
20
|
techRecord_noOfAxles?: number | null;
|
|
22
21
|
techRecord_notes?: string;
|
|
23
22
|
techRecord_vehicleSubclass: VehicleSubclass;
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* and run json-schema-to-typescript to regenerate this file.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
|
|
9
8
|
export type StatusCode = "provisional" | "current" | "archived";
|
|
10
9
|
|
|
11
10
|
export interface TechRecordPUTCarSkeleton {
|
|
@@ -13,10 +12,10 @@ export interface TechRecordPUTCarSkeleton {
|
|
|
13
12
|
primaryVrm?: null | string;
|
|
14
13
|
trailerId?: string | null;
|
|
15
14
|
techRecord_reasonForCreation?: string | null;
|
|
16
|
-
techRecord_vehicleType:
|
|
15
|
+
techRecord_vehicleType: "car";
|
|
17
16
|
techRecord_statusCode?: null | StatusCode;
|
|
18
17
|
techRecord_regnDate?: string | null;
|
|
19
|
-
techRecord_manufactureYear?:
|
|
18
|
+
techRecord_manufactureYear?: number | null;
|
|
20
19
|
techRecord_noOfAxles?: number | null;
|
|
21
20
|
techRecord_notes?: null | string;
|
|
22
21
|
techRecord_hiddenInVta?: null | boolean;
|
|
@@ -24,7 +24,6 @@ export type EUVehicleCategory =
|
|
|
24
24
|
| "l5e"
|
|
25
25
|
| "l6e"
|
|
26
26
|
| "l7e";
|
|
27
|
-
export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
|
|
28
27
|
export type StatusCode = "provisional" | "current" | "archived";
|
|
29
28
|
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
30
29
|
|
|
@@ -42,10 +41,10 @@ export interface TechRecordPUTLGVComplete {
|
|
|
42
41
|
techRecord_applicantDetails_emailAddress?: null | string;
|
|
43
42
|
techRecord_euVehicleCategory?: EUVehicleCategory;
|
|
44
43
|
techRecord_reasonForCreation?: string | null;
|
|
45
|
-
techRecord_vehicleType:
|
|
44
|
+
techRecord_vehicleType: "lgv";
|
|
46
45
|
techRecord_statusCode?: StatusCode;
|
|
47
46
|
techRecord_regnDate?: string | null;
|
|
48
|
-
techRecord_manufactureYear?:
|
|
47
|
+
techRecord_manufactureYear?: number | null;
|
|
49
48
|
techRecord_noOfAxles?: number | null;
|
|
50
49
|
techRecord_notes?: string;
|
|
51
50
|
techRecord_vehicleSubclass: VehicleSubclass;
|
|
@@ -24,7 +24,6 @@ export type EUVehicleCategory =
|
|
|
24
24
|
| "l5e"
|
|
25
25
|
| "l6e"
|
|
26
26
|
| "l7e";
|
|
27
|
-
export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
|
|
28
27
|
export type StatusCode = "provisional" | "current" | "archived";
|
|
29
28
|
|
|
30
29
|
export interface TechRecordPUTLGVSkeleton {
|
|
@@ -41,10 +40,10 @@ export interface TechRecordPUTLGVSkeleton {
|
|
|
41
40
|
techRecord_applicantDetails_emailAddress?: null | string;
|
|
42
41
|
techRecord_euVehicleCategory?: EUVehicleCategory;
|
|
43
42
|
techRecord_reasonForCreation?: string | null;
|
|
44
|
-
techRecord_vehicleType:
|
|
43
|
+
techRecord_vehicleType: "lgv";
|
|
45
44
|
techRecord_statusCode?: StatusCode;
|
|
46
45
|
techRecord_regnDate?: string | null;
|
|
47
|
-
techRecord_manufactureYear?:
|
|
46
|
+
techRecord_manufactureYear?: number | null;
|
|
48
47
|
techRecord_noOfAxles?: number | null;
|
|
49
48
|
techRecord_notes?: string;
|
|
50
49
|
techRecord_hiddenInVta?: boolean;
|
|
@@ -38,7 +38,6 @@ export type VehicleConfiguration =
|
|
|
38
38
|
| "four-in-line"
|
|
39
39
|
| "dolly"
|
|
40
40
|
| "full drawbar";
|
|
41
|
-
export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
|
|
42
41
|
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
43
42
|
|
|
44
43
|
export interface TechRecordPUTMotorcycleComplete {
|
|
@@ -62,7 +61,7 @@ export interface TechRecordPUTMotorcycleComplete {
|
|
|
62
61
|
techRecord_lastUpdatedAt?: string | null;
|
|
63
62
|
techRecord_lastUpdatedById?: string | null;
|
|
64
63
|
techRecord_lastUpdatedByName?: string | null;
|
|
65
|
-
techRecord_manufactureYear?:
|
|
64
|
+
techRecord_manufactureYear?: number | null;
|
|
66
65
|
techRecord_recordCompleteness?: null | string;
|
|
67
66
|
techRecord_noOfAxles?: null | number;
|
|
68
67
|
techRecord_notes?: null | string;
|
|
@@ -70,7 +69,7 @@ export interface TechRecordPUTMotorcycleComplete {
|
|
|
70
69
|
techRecord_regnDate?: string | null;
|
|
71
70
|
techRecord_statusCode?: null | StatusCode;
|
|
72
71
|
techRecord_vehicleConfiguration?: null | VehicleConfiguration;
|
|
73
|
-
techRecord_vehicleType?:
|
|
72
|
+
techRecord_vehicleType?: "motorcycle";
|
|
74
73
|
vin: string;
|
|
75
74
|
techRecord_vehicleSubclass?: null | VehicleSubclass;
|
|
76
75
|
techRecord_numberOfWheelsDriven: number;
|
|
@@ -38,7 +38,6 @@ export type VehicleConfiguration =
|
|
|
38
38
|
| "four-in-line"
|
|
39
39
|
| "dolly"
|
|
40
40
|
| "full drawbar";
|
|
41
|
-
export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
|
|
42
41
|
|
|
43
42
|
export interface TechRecordPUTMotorcycleSkeleton {
|
|
44
43
|
techRecord_applicantDetails_name?: string | null;
|
|
@@ -60,7 +59,7 @@ export interface TechRecordPUTMotorcycleSkeleton {
|
|
|
60
59
|
techRecord_lastUpdatedAt?: string | null;
|
|
61
60
|
techRecord_lastUpdatedById?: string | null;
|
|
62
61
|
techRecord_lastUpdatedByName?: string | null;
|
|
63
|
-
techRecord_manufactureYear?:
|
|
62
|
+
techRecord_manufactureYear?: number | null;
|
|
64
63
|
techRecord_recordCompleteness?: null | string;
|
|
65
64
|
techRecord_noOfAxles?: null | number;
|
|
66
65
|
techRecord_notes?: null | string;
|
|
@@ -68,7 +67,7 @@ export interface TechRecordPUTMotorcycleSkeleton {
|
|
|
68
67
|
techRecord_regnDate?: string | null;
|
|
69
68
|
techRecord_statusCode?: null | StatusCode;
|
|
70
69
|
techRecord_vehicleConfiguration?: null | VehicleConfiguration;
|
|
71
|
-
techRecord_vehicleType?:
|
|
70
|
+
techRecord_vehicleType?: "motorcycle";
|
|
72
71
|
vin: string;
|
|
73
72
|
techRecord_hiddenInVta?: null | boolean;
|
|
74
73
|
techRecord_updateType?: null | string;
|
|
@@ -3,13 +3,14 @@ import { TechRecordGETCarSkeleton } from "./get/car/skeleton";
|
|
|
3
3
|
import { TechRecordGETHGVComplete } from "./get/hgv/complete";
|
|
4
4
|
import { TechRecordGETHGVSkeleton } from "./get/hgv/skeleton";
|
|
5
5
|
import { TechRecordGETHGVTestable } from "./get/hgv/testable";
|
|
6
|
-
import { TechRecordGETLGVComplete
|
|
6
|
+
import { TechRecordGETLGVComplete } from "./get/lgv/complete";
|
|
7
7
|
import { TechRecordGETLGVSkeleton } from "./get/lgv/skeleton";
|
|
8
8
|
import { TechRecordGETMotorcycleComplete } from "./get/motorcycle/complete";
|
|
9
9
|
import { TechRecordGETMotorcycleSkeleton } from "./get/motorcycle/skeleton";
|
|
10
10
|
import { TechRecordGETPSVComplete } from "./get/psv/complete";
|
|
11
11
|
import { TechRecordGETPSVSkeleton } from "./get/psv/skeleton";
|
|
12
12
|
import { TechRecordGETPSVTestable } from "./get/psv/testable";
|
|
13
|
+
import { VehicleType } from "./get/search";
|
|
13
14
|
import { TechRecordGETTRLComplete } from "./get/trl/complete";
|
|
14
15
|
import { TechRecordGETTRLSkeleton } from "./get/trl/skeleton";
|
|
15
16
|
import { TechRecordGETTRLTestable } from "./get/trl/testable";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TechRecordGETCarComplete
|
|
1
|
+
import { TechRecordGETCarComplete } from "./get/car/complete";
|
|
2
2
|
import { TechRecordGETCarSkeleton } from "./get/car/skeleton";
|
|
3
3
|
import { TechRecordGETHGVComplete } from "./get/hgv/complete";
|
|
4
4
|
import { TechRecordGETHGVSkeleton } from "./get/hgv/skeleton";
|
|
@@ -10,6 +10,7 @@ import { TechRecordGETMotorcycleSkeleton } from "./get/motorcycle/skeleton";
|
|
|
10
10
|
import { TechRecordGETPSVComplete } from "./get/psv/complete";
|
|
11
11
|
import { TechRecordGETPSVSkeleton } from "./get/psv/skeleton";
|
|
12
12
|
import { TechRecordGETPSVTestable } from "./get/psv/testable";
|
|
13
|
+
import { VehicleType } from "./get/search";
|
|
13
14
|
import { TechRecordGETTRLComplete } from "./get/trl/complete";
|
|
14
15
|
import { TechRecordGETTRLSkeleton } from "./get/trl/skeleton";
|
|
15
16
|
import { TechRecordGETTRLTestable } from "./get/trl/testable";
|