@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.
- package/json-schemas/v3/tech-record/get/motorcycle/complete/index.json +1 -4
- package/json-schemas/v3/tech-record/get/motorcycle/skeleton/index.json +6 -0
- package/json-schemas/v3/tech-record/get/small trl/complete/index.json +9 -4
- package/json-schemas/v3/tech-record/get/small trl/skeleton/index.json +9 -1
- package/json-schemas/v3/tech-record/put/motorcycle/skeleton/index.json +6 -0
- package/json-schemas/v3/tech-record/put/small trl/complete/index.json +9 -4
- package/json-schemas/v3/tech-record/put/small trl/skeleton/index.json +15 -3
- package/package.json +1 -1
- package/types/v3/tech-record/get/motorcycle/complete/index.d.ts +1 -1
- package/types/v3/tech-record/get/motorcycle/skeleton/index.d.ts +1 -0
- package/types/v3/tech-record/get/small trl/complete/index.d.ts +2 -1
- package/types/v3/tech-record/get/small trl/skeleton/index.d.ts +1 -0
- package/types/v3/tech-record/put/motorcycle/skeleton/index.d.ts +1 -0
- package/types/v3/tech-record/put/small trl/complete/index.d.ts +2 -1
- package/types/v3/tech-record/put/small trl/skeleton/index.d.ts +1 -0
|
@@ -108,10 +108,9 @@
|
|
|
108
108
|
]
|
|
109
109
|
},
|
|
110
110
|
"techRecord_noOfAxles": {
|
|
111
|
-
"type":
|
|
112
|
-
|
|
113
|
-
|
|
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
|
}
|
|
@@ -75,10 +75,9 @@
|
|
|
75
75
|
]
|
|
76
76
|
},
|
|
77
77
|
"techRecord_noOfAxles": {
|
|
78
|
-
"type":
|
|
79
|
-
|
|
80
|
-
|
|
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
|
-
"
|
|
77
|
-
|
|
78
|
-
|
|
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
|
@@ -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:
|
|
87
|
+
techRecord_numberOfWheelsDriven: number;
|
|
88
88
|
techRecord_hiddenInVta?: null | boolean;
|
|
89
89
|
techRecord_updateType?: null | string;
|
|
90
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
|
|
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
|
}
|
|
@@ -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
|
|
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
|
}
|