@dvsa/cvs-type-definitions 3.5.0 → 3.6.1
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/iva/defects/get/index.json +0 -12
- package/json-schemas/v3/tech-record/get/hgv/complete/index.json +1 -1
- package/json-schemas/v3/tech-record/get/hgv/skeleton/index.json +1 -1
- package/json-schemas/v3/tech-record/get/hgv/testable/index.json +1 -1
- package/json-schemas/v3/tech-record/get/psv/complete/index.json +1 -1
- package/json-schemas/v3/tech-record/get/psv/skeleton/index.json +1 -1
- package/json-schemas/v3/tech-record/get/psv/testable/index.json +1 -1
- package/json-schemas/v3/tech-record/get/search/index.json +0 -8
- package/json-schemas/v3/tech-record/put/hgv/complete/index.json +1 -1
- package/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +1 -1
- package/json-schemas/v3/tech-record/put/hgv/testable/index.json +1 -1
- package/json-schemas/v3/tech-record/put/psv/complete/index.json +1 -1
- package/json-schemas/v3/tech-record/put/psv/skeleton/index.json +1 -1
- package/json-schemas/v3/tech-record/put/psv/testable/index.json +1 -1
- package/package.json +1 -1
- package/schemas.d.ts +1 -1
- package/schemas.js +0 -2
- package/types/iva/defects/get/index.d.ts +3 -12
- package/types/v3/tech-record/get/search/index.d.ts +1 -9
- package/json-schemas/iva/defects/enums/inspectionType.enum.json +0 -12
- package/json-schemas/v3/tech-record/enums/vehicleType.enum.json +0 -20
- package/types/iva/defects/enums/inspectionType.enum.d.ts +0 -9
- package/types/iva/defects/enums/inspectionType.enum.js +0 -14
- package/types/iva/defects/enums/inspectionType.enum.ts +0 -11
- package/types/v3/tech-record/enums/vehicleType.enum.d.ts +0 -13
- package/types/v3/tech-record/enums/vehicleType.enum.js +0 -18
- package/types/v3/tech-record/enums/vehicleType.enum.ts +0 -15
|
@@ -27,14 +27,6 @@
|
|
|
27
27
|
{
|
|
28
28
|
"title": "Vehicle Type",
|
|
29
29
|
"type": "string",
|
|
30
|
-
"tsEnumNames": [
|
|
31
|
-
"psv",
|
|
32
|
-
"trl",
|
|
33
|
-
"hgv",
|
|
34
|
-
"car",
|
|
35
|
-
"lgv",
|
|
36
|
-
"motorcycle"
|
|
37
|
-
],
|
|
38
30
|
"enum": [
|
|
39
31
|
"psv",
|
|
40
32
|
"trl",
|
|
@@ -138,10 +130,6 @@
|
|
|
138
130
|
{
|
|
139
131
|
"title": "Inspection Type",
|
|
140
132
|
"type": "string",
|
|
141
|
-
"tsEnumNames": [
|
|
142
|
-
"basic",
|
|
143
|
-
"normal"
|
|
144
|
-
],
|
|
145
133
|
"enum": [
|
|
146
134
|
"basic",
|
|
147
135
|
"normal"
|
package/package.json
CHANGED
package/schemas.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const schemas: readonly ["iva/defects/
|
|
1
|
+
export declare const schemas: readonly ["iva/defects/get/index.json", "v1/activity/index.json", "v1/defect-category-reference-data/index.json", "v1/defect-details/index.json", "v1/defect-location/index.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/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/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
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.schemas = void 0;
|
|
4
4
|
exports.schemas = [
|
|
5
|
-
"iva/defects/enums/inspectionType.enum.json",
|
|
6
5
|
"iva/defects/get/index.json",
|
|
7
6
|
"v1/activity/index.json",
|
|
8
7
|
"v1/defect-category-reference-data/index.json",
|
|
@@ -29,7 +28,6 @@ exports.schemas = [
|
|
|
29
28
|
"v3/tech-record/enums/vehicleConfigurationHgvPsv.enum.json",
|
|
30
29
|
"v3/tech-record/enums/vehicleConfigurationLightVehicle.enum.json",
|
|
31
30
|
"v3/tech-record/enums/vehicleConfigurationTrl.enum.json",
|
|
32
|
-
"v3/tech-record/enums/vehicleType.enum.json",
|
|
33
31
|
"v3/tech-record/get/car/complete/index.json",
|
|
34
32
|
"v3/tech-record/get/car/skeleton/index.json",
|
|
35
33
|
"v3/tech-record/get/hgv/complete/index.json",
|
|
@@ -5,6 +5,9 @@
|
|
|
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
|
+
export type InspectionType = "basic" | "normal";
|
|
10
|
+
|
|
8
11
|
export interface DefectGETIVA {
|
|
9
12
|
sectionNumber: string;
|
|
10
13
|
sectionDescription: string;
|
|
@@ -19,14 +22,6 @@ export interface DefectGETIVA {
|
|
|
19
22
|
}[];
|
|
20
23
|
}
|
|
21
24
|
|
|
22
|
-
export enum VehicleType {
|
|
23
|
-
psv = "psv",
|
|
24
|
-
trl = "trl",
|
|
25
|
-
hgv = "hgv",
|
|
26
|
-
car = "car",
|
|
27
|
-
lgv = "lgv",
|
|
28
|
-
motorcycle = "motorcycle"
|
|
29
|
-
}
|
|
30
25
|
export enum EUVehicleCategory {
|
|
31
26
|
M1 = "m1",
|
|
32
27
|
M2 = "m2",
|
|
@@ -47,7 +42,3 @@ export enum EUVehicleCategory {
|
|
|
47
42
|
L6E = "l6e",
|
|
48
43
|
L7E = "l7e"
|
|
49
44
|
}
|
|
50
|
-
export enum InspectionType {
|
|
51
|
-
basic = "basic",
|
|
52
|
-
normal = "normal"
|
|
53
|
-
}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
export type StatusCode = "provisional" | "current" | "archived";
|
|
9
|
+
export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
|
|
9
10
|
|
|
10
11
|
export interface TechRecordSearchSchema {
|
|
11
12
|
primaryVrm?: string;
|
|
@@ -23,12 +24,3 @@ export interface TechRecordSearchSchema {
|
|
|
23
24
|
techRecord_reasonForCreation?: string;
|
|
24
25
|
techRecord_createdByName?: string;
|
|
25
26
|
}
|
|
26
|
-
|
|
27
|
-
export enum VehicleType {
|
|
28
|
-
psv = "psv",
|
|
29
|
-
trl = "trl",
|
|
30
|
-
hgv = "hgv",
|
|
31
|
-
car = "car",
|
|
32
|
-
lgv = "lgv",
|
|
33
|
-
motorcycle = "motorcycle"
|
|
34
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was automatically generated by json-schema-to-typescript.
|
|
3
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
|
-
* and run json-schema-to-typescript to regenerate this file.
|
|
5
|
-
*/
|
|
6
|
-
export declare enum InspectionType {
|
|
7
|
-
basic = "basic",
|
|
8
|
-
normal = "normal"
|
|
9
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/**
|
|
4
|
-
* This file was automatically generated by json-schema-to-typescript.
|
|
5
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
6
|
-
* and run json-schema-to-typescript to regenerate this file.
|
|
7
|
-
*/
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.InspectionType = void 0;
|
|
10
|
-
var InspectionType;
|
|
11
|
-
(function (InspectionType) {
|
|
12
|
-
InspectionType["basic"] = "basic";
|
|
13
|
-
InspectionType["normal"] = "normal";
|
|
14
|
-
})(InspectionType = exports.InspectionType || (exports.InspectionType = {}));
|
|
@@ -1,11 +0,0 @@
|
|
|
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 enum InspectionType {
|
|
9
|
-
basic = "basic",
|
|
10
|
-
normal = "normal"
|
|
11
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was automatically generated by json-schema-to-typescript.
|
|
3
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
|
-
* and run json-schema-to-typescript to regenerate this file.
|
|
5
|
-
*/
|
|
6
|
-
export declare enum VehicleType {
|
|
7
|
-
psv = "psv",
|
|
8
|
-
trl = "trl",
|
|
9
|
-
hgv = "hgv",
|
|
10
|
-
car = "car",
|
|
11
|
-
lgv = "lgv",
|
|
12
|
-
motorcycle = "motorcycle"
|
|
13
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/**
|
|
4
|
-
* This file was automatically generated by json-schema-to-typescript.
|
|
5
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
6
|
-
* and run json-schema-to-typescript to regenerate this file.
|
|
7
|
-
*/
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.VehicleType = void 0;
|
|
10
|
-
var VehicleType;
|
|
11
|
-
(function (VehicleType) {
|
|
12
|
-
VehicleType["psv"] = "psv";
|
|
13
|
-
VehicleType["trl"] = "trl";
|
|
14
|
-
VehicleType["hgv"] = "hgv";
|
|
15
|
-
VehicleType["car"] = "car";
|
|
16
|
-
VehicleType["lgv"] = "lgv";
|
|
17
|
-
VehicleType["motorcycle"] = "motorcycle";
|
|
18
|
-
})(VehicleType = exports.VehicleType || (exports.VehicleType = {}));
|
|
@@ -1,15 +0,0 @@
|
|
|
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 enum VehicleType {
|
|
9
|
-
psv = "psv",
|
|
10
|
-
trl = "trl",
|
|
11
|
-
hgv = "hgv",
|
|
12
|
-
car = "car",
|
|
13
|
-
lgv = "lgv",
|
|
14
|
-
motorcycle = "motorcycle"
|
|
15
|
-
}
|