@dvsa/cvs-type-definitions 7.6.2 → 7.7.0
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/v1/recalls/index.json +23 -0
- package/json-schemas/v3/tech-record/get/small trl/complete/index.json +25 -0
- package/json-schemas/v3/tech-record/get/small trl/skeleton/index.json +25 -0
- package/json-schemas/v3/tech-record/put/small trl/complete/index.json +25 -0
- package/json-schemas/v3/tech-record/put/small trl/skeleton/index.json +25 -0
- package/package.json +1 -1
- package/schemas.d.ts +1 -1
- package/schemas.js +1 -0
- package/types/v1/recalls/index.d.ts +11 -0
- package/types/v1/test/index.d.ts +5 -0
- package/types/v1/test-result/index.d.ts +5 -0
- package/types/v1/vehicle/index.d.ts +5 -0
- package/types/v1/visit/index.d.ts +5 -0
- package/types/v3/tech-record/get/small trl/complete/index.d.ts +14 -0
- package/types/v3/tech-record/get/small trl/skeleton/index.d.ts +14 -0
- package/types/v3/tech-record/put/small trl/complete/index.d.ts +14 -0
- package/types/v3/tech-record/put/small trl/skeleton/index.d.ts +14 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "Recalls Schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"hasRecall": {
|
|
6
|
+
"type": [
|
|
7
|
+
"boolean",
|
|
8
|
+
"null"
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"manufacturer": {
|
|
12
|
+
"type": [
|
|
13
|
+
"string",
|
|
14
|
+
"null"
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"additionalProperties": false,
|
|
19
|
+
"required": [
|
|
20
|
+
"hasRecall",
|
|
21
|
+
"manufacturer"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -101,6 +101,31 @@
|
|
|
101
101
|
"null"
|
|
102
102
|
]
|
|
103
103
|
},
|
|
104
|
+
"techRecord_manufactureMonth": {
|
|
105
|
+
"anyOf": [
|
|
106
|
+
{
|
|
107
|
+
"title": "Months",
|
|
108
|
+
"type": "string",
|
|
109
|
+
"enum": [
|
|
110
|
+
"January",
|
|
111
|
+
"February",
|
|
112
|
+
"March",
|
|
113
|
+
"April",
|
|
114
|
+
"May",
|
|
115
|
+
"June",
|
|
116
|
+
"July",
|
|
117
|
+
"August",
|
|
118
|
+
"September",
|
|
119
|
+
"October",
|
|
120
|
+
"November",
|
|
121
|
+
"December"
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"type": "null"
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
},
|
|
104
129
|
"techRecord_manufactureYear": {
|
|
105
130
|
"type": [
|
|
106
131
|
"integer",
|
|
@@ -99,6 +99,31 @@
|
|
|
99
99
|
"null"
|
|
100
100
|
]
|
|
101
101
|
},
|
|
102
|
+
"techRecord_manufactureMonth": {
|
|
103
|
+
"anyOf": [
|
|
104
|
+
{
|
|
105
|
+
"title": "Months",
|
|
106
|
+
"type": "string",
|
|
107
|
+
"enum": [
|
|
108
|
+
"January",
|
|
109
|
+
"February",
|
|
110
|
+
"March",
|
|
111
|
+
"April",
|
|
112
|
+
"May",
|
|
113
|
+
"June",
|
|
114
|
+
"July",
|
|
115
|
+
"August",
|
|
116
|
+
"September",
|
|
117
|
+
"October",
|
|
118
|
+
"November",
|
|
119
|
+
"December"
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"type": "null"
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
},
|
|
102
127
|
"techRecord_manufactureYear": {
|
|
103
128
|
"type": [
|
|
104
129
|
"integer",
|
|
@@ -68,6 +68,31 @@
|
|
|
68
68
|
"o2"
|
|
69
69
|
]
|
|
70
70
|
},
|
|
71
|
+
"techRecord_manufactureMonth": {
|
|
72
|
+
"anyOf": [
|
|
73
|
+
{
|
|
74
|
+
"title": "Months",
|
|
75
|
+
"type": "string",
|
|
76
|
+
"enum": [
|
|
77
|
+
"January",
|
|
78
|
+
"February",
|
|
79
|
+
"March",
|
|
80
|
+
"April",
|
|
81
|
+
"May",
|
|
82
|
+
"June",
|
|
83
|
+
"July",
|
|
84
|
+
"August",
|
|
85
|
+
"September",
|
|
86
|
+
"October",
|
|
87
|
+
"November",
|
|
88
|
+
"December"
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"type": "null"
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
},
|
|
71
96
|
"techRecord_manufactureYear": {
|
|
72
97
|
"type": [
|
|
73
98
|
"integer",
|
|
@@ -66,6 +66,31 @@
|
|
|
66
66
|
"o2"
|
|
67
67
|
]
|
|
68
68
|
},
|
|
69
|
+
"techRecord_manufactureMonth": {
|
|
70
|
+
"anyOf": [
|
|
71
|
+
{
|
|
72
|
+
"title": "Months",
|
|
73
|
+
"type": "string",
|
|
74
|
+
"enum": [
|
|
75
|
+
"January",
|
|
76
|
+
"February",
|
|
77
|
+
"March",
|
|
78
|
+
"April",
|
|
79
|
+
"May",
|
|
80
|
+
"June",
|
|
81
|
+
"July",
|
|
82
|
+
"August",
|
|
83
|
+
"September",
|
|
84
|
+
"October",
|
|
85
|
+
"November",
|
|
86
|
+
"December"
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"type": "null"
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
},
|
|
69
94
|
"techRecord_manufactureYear": {
|
|
70
95
|
"type": [
|
|
71
96
|
"integer",
|
package/package.json
CHANGED
package/schemas.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const schemas: readonly ["required-standards/defects/enums/euVehicleCategory.enum.json", "required-standards/defects/get/index.json", "required-standards/defects/requiredStandardTaxonomySection.json", "v1/activity/index.json", "v1/defect-category-reference-data/index.json", "v1/defect-details/index.json", "v1/defect-location/index.json", "v1/enums/activityType.enum.json", "v1/enums/emissionStandard.enum.json", "v1/enums/fuelType.enum.json", "v1/enums/odometerReadingUnits.enum.json", "v1/enums/sources.enum.json", "v1/enums/testResult.enum.json", "v1/enums/testStationType.enum.json", "v1/enums/testStatus.enum.json", "v1/enums/typeOfTest.enum.json", "v1/enums/waitReason.enum.json", "v1/reason-item/index.json", "v1/tech-record/index.json", "v1/test/index.json", "v1/test-result/index.json", "v1/test-station/index.json", "v1/test-type/index.json", "v1/vehicle/index.json", "v1/vehicle-tech-record/index.json", "v1/visit/index.json", "v3/tech-record/enums/adrAdditionalNotesNumber.enum.json", "v3/tech-record/enums/adrBodyDeclarationType.enum.json", "v3/tech-record/enums/adrBodyType.enum.json", "v3/tech-record/enums/adrCertificateTypes.enum.json", "v3/tech-record/enums/adrCompatibilityGroupJ.enum.json", "v3/tech-record/enums/adrDangerousGood.enum.json", "v3/tech-record/enums/adrTankDetailsTankStatementSelect.enum.json", "v3/tech-record/enums/adrTankStatementSubstancePermitted.json", "v3/tech-record/enums/approvalType.enum.json", "v3/tech-record/enums/approvalTypeHgvOrPsv.enum.json", "v3/tech-record/enums/euVehicleCategory.enum.json", "v3/tech-record/enums/euVehicleCategoryHgv.enum.json", "v3/tech-record/enums/euVehicleCategoryPsv.enum.json", "v3/tech-record/enums/radioButtonOptions.enum.json", "v3/tech-record/enums/tc3Types.enum.json", "v3/tech-record/enums/tyreUseCodeHgv.enum.json", "v3/tech-record/enums/tyreUseCodeTrl.enum.json", "v3/tech-record/enums/vehicleClassDescription.enum.json", "v3/tech-record/enums/vehicleClassDescriptionPSV.enum.json", "v3/tech-record/enums/vehicleConfigurationHgvPsv.enum.json", "v3/tech-record/enums/vehicleConfigurationLightVehicle.enum.json", "v3/tech-record/enums/vehicleConfigurationTrl.enum.json", "v3/tech-record/get/car/complete/index.json", "v3/tech-record/get/car/skeleton/index.json", "v3/tech-record/get/hgv/complete/index.json", "v3/tech-record/get/hgv/skeleton/index.json", "v3/tech-record/get/hgv/testable/index.json", "v3/tech-record/get/lgv/complete/index.json", "v3/tech-record/get/lgv/skeleton/index.json", "v3/tech-record/get/motorcycle/complete/index.json", "v3/tech-record/get/motorcycle/skeleton/index.json", "v3/tech-record/get/psv/complete/index.json", "v3/tech-record/get/psv/skeleton/index.json", "v3/tech-record/get/psv/testable/index.json", "v3/tech-record/get/search/index.json", "v3/tech-record/get/small trl/complete/index.json", "v3/tech-record/get/small trl/skeleton/index.json", "v3/tech-record/get/trl/complete/index.json", "v3/tech-record/get/trl/skeleton/index.json", "v3/tech-record/get/trl/testable/index.json", "v3/tech-record/put/car/complete/index.json", "v3/tech-record/put/car/skeleton/index.json", "v3/tech-record/put/hgv/complete/index.json", "v3/tech-record/put/hgv/skeleton/index.json", "v3/tech-record/put/hgv/testable/index.json", "v3/tech-record/put/lgv/complete/index.json", "v3/tech-record/put/lgv/skeleton/index.json", "v3/tech-record/put/motorcycle/complete/index.json", "v3/tech-record/put/motorcycle/skeleton/index.json", "v3/tech-record/put/psv/complete/index.json", "v3/tech-record/put/psv/skeleton/index.json", "v3/tech-record/put/psv/testable/index.json", "v3/tech-record/put/small trl/complete/index.json", "v3/tech-record/put/small trl/skeleton/index.json", "v3/tech-record/put/trl/complete/index.json", "v3/tech-record/put/trl/skeleton/index.json", "v3/tech-record/put/trl/testable/index.json"];
|
|
1
|
+
export declare const schemas: readonly ["required-standards/defects/enums/euVehicleCategory.enum.json", "required-standards/defects/get/index.json", "required-standards/defects/requiredStandardTaxonomySection.json", "v1/activity/index.json", "v1/defect-category-reference-data/index.json", "v1/defect-details/index.json", "v1/defect-location/index.json", "v1/enums/activityType.enum.json", "v1/enums/emissionStandard.enum.json", "v1/enums/fuelType.enum.json", "v1/enums/odometerReadingUnits.enum.json", "v1/enums/sources.enum.json", "v1/enums/testResult.enum.json", "v1/enums/testStationType.enum.json", "v1/enums/testStatus.enum.json", "v1/enums/typeOfTest.enum.json", "v1/enums/waitReason.enum.json", "v1/reason-item/index.json", "v1/recalls/index.json", "v1/tech-record/index.json", "v1/test/index.json", "v1/test-result/index.json", "v1/test-station/index.json", "v1/test-type/index.json", "v1/vehicle/index.json", "v1/vehicle-tech-record/index.json", "v1/visit/index.json", "v3/tech-record/enums/adrAdditionalNotesNumber.enum.json", "v3/tech-record/enums/adrBodyDeclarationType.enum.json", "v3/tech-record/enums/adrBodyType.enum.json", "v3/tech-record/enums/adrCertificateTypes.enum.json", "v3/tech-record/enums/adrCompatibilityGroupJ.enum.json", "v3/tech-record/enums/adrDangerousGood.enum.json", "v3/tech-record/enums/adrTankDetailsTankStatementSelect.enum.json", "v3/tech-record/enums/adrTankStatementSubstancePermitted.json", "v3/tech-record/enums/approvalType.enum.json", "v3/tech-record/enums/approvalTypeHgvOrPsv.enum.json", "v3/tech-record/enums/euVehicleCategory.enum.json", "v3/tech-record/enums/euVehicleCategoryHgv.enum.json", "v3/tech-record/enums/euVehicleCategoryPsv.enum.json", "v3/tech-record/enums/radioButtonOptions.enum.json", "v3/tech-record/enums/tc3Types.enum.json", "v3/tech-record/enums/tyreUseCodeHgv.enum.json", "v3/tech-record/enums/tyreUseCodeTrl.enum.json", "v3/tech-record/enums/vehicleClassDescription.enum.json", "v3/tech-record/enums/vehicleClassDescriptionPSV.enum.json", "v3/tech-record/enums/vehicleConfigurationHgvPsv.enum.json", "v3/tech-record/enums/vehicleConfigurationLightVehicle.enum.json", "v3/tech-record/enums/vehicleConfigurationTrl.enum.json", "v3/tech-record/get/car/complete/index.json", "v3/tech-record/get/car/skeleton/index.json", "v3/tech-record/get/hgv/complete/index.json", "v3/tech-record/get/hgv/skeleton/index.json", "v3/tech-record/get/hgv/testable/index.json", "v3/tech-record/get/lgv/complete/index.json", "v3/tech-record/get/lgv/skeleton/index.json", "v3/tech-record/get/motorcycle/complete/index.json", "v3/tech-record/get/motorcycle/skeleton/index.json", "v3/tech-record/get/psv/complete/index.json", "v3/tech-record/get/psv/skeleton/index.json", "v3/tech-record/get/psv/testable/index.json", "v3/tech-record/get/search/index.json", "v3/tech-record/get/small trl/complete/index.json", "v3/tech-record/get/small trl/skeleton/index.json", "v3/tech-record/get/trl/complete/index.json", "v3/tech-record/get/trl/skeleton/index.json", "v3/tech-record/get/trl/testable/index.json", "v3/tech-record/put/car/complete/index.json", "v3/tech-record/put/car/skeleton/index.json", "v3/tech-record/put/hgv/complete/index.json", "v3/tech-record/put/hgv/skeleton/index.json", "v3/tech-record/put/hgv/testable/index.json", "v3/tech-record/put/lgv/complete/index.json", "v3/tech-record/put/lgv/skeleton/index.json", "v3/tech-record/put/motorcycle/complete/index.json", "v3/tech-record/put/motorcycle/skeleton/index.json", "v3/tech-record/put/psv/complete/index.json", "v3/tech-record/put/psv/skeleton/index.json", "v3/tech-record/put/psv/testable/index.json", "v3/tech-record/put/small trl/complete/index.json", "v3/tech-record/put/small trl/skeleton/index.json", "v3/tech-record/put/trl/complete/index.json", "v3/tech-record/put/trl/skeleton/index.json", "v3/tech-record/put/trl/testable/index.json"];
|
package/schemas.js
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
5
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export interface RecallsSchema {
|
|
9
|
+
hasRecall: boolean | null;
|
|
10
|
+
manufacturer: string | null;
|
|
11
|
+
}
|
package/types/v1/test/index.d.ts
CHANGED
|
@@ -282,6 +282,7 @@ export interface TestResultSchema {
|
|
|
282
282
|
testHistory?: TestResultSchema[];
|
|
283
283
|
testVersion?: string;
|
|
284
284
|
deletionFlag?: boolean;
|
|
285
|
+
recalls?: RecallsSchema | null;
|
|
285
286
|
}
|
|
286
287
|
export interface TestTypeSchema {
|
|
287
288
|
testTypeName: string | null;
|
|
@@ -420,6 +421,10 @@ export interface BodyTypeSchema {
|
|
|
420
421
|
code?: string | null;
|
|
421
422
|
description?: string | null;
|
|
422
423
|
}
|
|
424
|
+
export interface RecallsSchema {
|
|
425
|
+
hasRecall: boolean | null;
|
|
426
|
+
manufacturer: string | null;
|
|
427
|
+
}
|
|
423
428
|
|
|
424
429
|
export enum TestStationTypes {
|
|
425
430
|
ATF = "atf",
|
|
@@ -61,6 +61,7 @@ export interface TestResultSchema {
|
|
|
61
61
|
testHistory?: TestResultSchema[];
|
|
62
62
|
testVersion?: string;
|
|
63
63
|
deletionFlag?: boolean;
|
|
64
|
+
recalls?: RecallsSchema | null;
|
|
64
65
|
}
|
|
65
66
|
export interface VehicleClassSchema {
|
|
66
67
|
code: string;
|
|
@@ -203,6 +204,10 @@ export interface BodyTypeSchema {
|
|
|
203
204
|
code?: string | null;
|
|
204
205
|
description?: string | null;
|
|
205
206
|
}
|
|
207
|
+
export interface RecallsSchema {
|
|
208
|
+
hasRecall: boolean | null;
|
|
209
|
+
manufacturer: string | null;
|
|
210
|
+
}
|
|
206
211
|
|
|
207
212
|
export enum TestStationTypes {
|
|
208
213
|
ATF = "atf",
|
|
@@ -274,6 +274,7 @@ export interface TestResultSchema {
|
|
|
274
274
|
testHistory?: TestResultSchema[];
|
|
275
275
|
testVersion?: string;
|
|
276
276
|
deletionFlag?: boolean;
|
|
277
|
+
recalls?: RecallsSchema | null;
|
|
277
278
|
}
|
|
278
279
|
export interface TestTypeSchema {
|
|
279
280
|
testTypeName: string | null;
|
|
@@ -412,6 +413,10 @@ export interface BodyTypeSchema {
|
|
|
412
413
|
code?: string | null;
|
|
413
414
|
description?: string | null;
|
|
414
415
|
}
|
|
416
|
+
export interface RecallsSchema {
|
|
417
|
+
hasRecall: boolean | null;
|
|
418
|
+
manufacturer: string | null;
|
|
419
|
+
}
|
|
415
420
|
|
|
416
421
|
export enum TestStationTypes {
|
|
417
422
|
ATF = "atf",
|
|
@@ -295,6 +295,7 @@ export interface TestResultSchema {
|
|
|
295
295
|
testHistory?: TestResultSchema[];
|
|
296
296
|
testVersion?: string;
|
|
297
297
|
deletionFlag?: boolean;
|
|
298
|
+
recalls?: RecallsSchema | null;
|
|
298
299
|
}
|
|
299
300
|
export interface TestTypeSchema {
|
|
300
301
|
testTypeName: string | null;
|
|
@@ -433,6 +434,10 @@ export interface BodyTypeSchema {
|
|
|
433
434
|
code?: string | null;
|
|
434
435
|
description?: string | null;
|
|
435
436
|
}
|
|
437
|
+
export interface RecallsSchema {
|
|
438
|
+
hasRecall: boolean | null;
|
|
439
|
+
manufacturer: string | null;
|
|
440
|
+
}
|
|
436
441
|
|
|
437
442
|
export enum TestStationTypes {
|
|
438
443
|
ATF = "atf",
|
|
@@ -5,6 +5,19 @@
|
|
|
5
5
|
* and run json-schema-to-typescript to regenerate this file.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
export type Months =
|
|
9
|
+
| "January"
|
|
10
|
+
| "February"
|
|
11
|
+
| "March"
|
|
12
|
+
| "April"
|
|
13
|
+
| "May"
|
|
14
|
+
| "June"
|
|
15
|
+
| "July"
|
|
16
|
+
| "August"
|
|
17
|
+
| "September"
|
|
18
|
+
| "October"
|
|
19
|
+
| "November"
|
|
20
|
+
| "December";
|
|
8
21
|
export type StatusCode = "provisional" | "current" | "archived";
|
|
9
22
|
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
10
23
|
|
|
@@ -24,6 +37,7 @@ export interface TechRecordGETSmallTRLComplete {
|
|
|
24
37
|
techRecord_lastUpdatedAt?: string | null;
|
|
25
38
|
techRecord_lastUpdatedById?: string | null;
|
|
26
39
|
techRecord_lastUpdatedByName?: string | null;
|
|
40
|
+
techRecord_manufactureMonth?: Months | null;
|
|
27
41
|
techRecord_manufactureYear?: number | null;
|
|
28
42
|
techRecord_noOfAxles: number;
|
|
29
43
|
techRecord_notes?: string | null;
|
|
@@ -5,6 +5,19 @@
|
|
|
5
5
|
* and run json-schema-to-typescript to regenerate this file.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
export type Months =
|
|
9
|
+
| "January"
|
|
10
|
+
| "February"
|
|
11
|
+
| "March"
|
|
12
|
+
| "April"
|
|
13
|
+
| "May"
|
|
14
|
+
| "June"
|
|
15
|
+
| "July"
|
|
16
|
+
| "August"
|
|
17
|
+
| "September"
|
|
18
|
+
| "October"
|
|
19
|
+
| "November"
|
|
20
|
+
| "December";
|
|
8
21
|
export type StatusCode = "provisional" | "current" | "archived";
|
|
9
22
|
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
10
23
|
|
|
@@ -24,6 +37,7 @@ export interface TechRecordGETSmallTRLSkeleton {
|
|
|
24
37
|
techRecord_lastUpdatedAt?: string | null;
|
|
25
38
|
techRecord_lastUpdatedById?: string | null;
|
|
26
39
|
techRecord_lastUpdatedByName?: string | null;
|
|
40
|
+
techRecord_manufactureMonth?: Months | null;
|
|
27
41
|
techRecord_manufactureYear?: number | null;
|
|
28
42
|
techRecord_noOfAxles?: number | null;
|
|
29
43
|
techRecord_notes?: string | null;
|
|
@@ -5,6 +5,19 @@
|
|
|
5
5
|
* and run json-schema-to-typescript to regenerate this file.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
export type Months =
|
|
9
|
+
| "January"
|
|
10
|
+
| "February"
|
|
11
|
+
| "March"
|
|
12
|
+
| "April"
|
|
13
|
+
| "May"
|
|
14
|
+
| "June"
|
|
15
|
+
| "July"
|
|
16
|
+
| "August"
|
|
17
|
+
| "September"
|
|
18
|
+
| "October"
|
|
19
|
+
| "November"
|
|
20
|
+
| "December";
|
|
8
21
|
export type StatusCode = "provisional" | "current" | "archived";
|
|
9
22
|
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
10
23
|
|
|
@@ -18,6 +31,7 @@ export interface TechRecordPUTSmallTRLComplete {
|
|
|
18
31
|
techRecord_applicantDetails_postTown?: string | null;
|
|
19
32
|
techRecord_applicantDetails_telephoneNumber?: string | null;
|
|
20
33
|
techRecord_euVehicleCategory: "o1" | "o2";
|
|
34
|
+
techRecord_manufactureMonth?: Months | null;
|
|
21
35
|
techRecord_manufactureYear?: number | null;
|
|
22
36
|
techRecord_noOfAxles: number;
|
|
23
37
|
techRecord_notes?: string | null;
|
|
@@ -5,6 +5,19 @@
|
|
|
5
5
|
* and run json-schema-to-typescript to regenerate this file.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
export type Months =
|
|
9
|
+
| "January"
|
|
10
|
+
| "February"
|
|
11
|
+
| "March"
|
|
12
|
+
| "April"
|
|
13
|
+
| "May"
|
|
14
|
+
| "June"
|
|
15
|
+
| "July"
|
|
16
|
+
| "August"
|
|
17
|
+
| "September"
|
|
18
|
+
| "October"
|
|
19
|
+
| "November"
|
|
20
|
+
| "December";
|
|
8
21
|
export type StatusCode = "provisional" | "current" | "archived";
|
|
9
22
|
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
10
23
|
|
|
@@ -18,6 +31,7 @@ export interface TechRecordPUTSmallTRLSkeleton {
|
|
|
18
31
|
techRecord_applicantDetails_postTown?: string | null;
|
|
19
32
|
techRecord_applicantDetails_telephoneNumber?: string | null;
|
|
20
33
|
techRecord_euVehicleCategory: "o1" | "o2";
|
|
34
|
+
techRecord_manufactureMonth?: Months | null;
|
|
21
35
|
techRecord_manufactureYear?: number | null;
|
|
22
36
|
techRecord_noOfAxles?: number | null;
|
|
23
37
|
techRecord_notes?: string | null;
|