@dvsa/cvs-type-definitions 8.0.0 → 9.0.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.
Files changed (61) hide show
  1. package/json-schemas/enums/euVehicleCategory.enum.json +44 -0
  2. package/json-schemas/enums/vehicleConfiguration.enum.json +32 -0
  3. package/json-schemas/enums/vehicleSize.enum.json +12 -0
  4. package/json-schemas/enums/vehicleSubclass.enum.json +26 -0
  5. package/json-schemas/enums/vehicleType.enum.json +20 -0
  6. package/json-schemas/required-standards/defects/get/index.json +1 -72
  7. package/json-schemas/test-type/enums/testTypeClassification.enum.json +14 -0
  8. package/json-schemas/test-type/get/index.json +572 -0
  9. package/json-schemas/test-type/nextTestTypesOrCategory.json +416 -0
  10. package/json-schemas/test-type/testCode.json +266 -0
  11. package/json-schemas/v1/defect-category-reference-data/index.json +2 -192
  12. package/json-schemas/v1/enums/vehicleType.enum.json +20 -0
  13. package/json-schemas/v1/tech-record/index.json +1 -19
  14. package/json-schemas/v1/test/index.json +438 -21
  15. package/json-schemas/v1/test-result/index.json +1128 -1
  16. package/json-schemas/v1/{test-type → test-result-test-type}/index.json +1 -1
  17. package/json-schemas/v1/vehicle/index.json +438 -21
  18. package/json-schemas/v1/vehicle-tech-record/index.json +1 -19
  19. package/json-schemas/v1/visit/index.json +438 -21
  20. package/json-schemas/v3/tech-record/enums/vehicleSize.enum.json +12 -0
  21. package/json-schemas/v3/tech-record/get/psv/complete/index.json +1 -10
  22. package/json-schemas/v3/tech-record/get/psv/skeleton/index.json +1 -10
  23. package/json-schemas/v3/tech-record/get/psv/testable/index.json +1 -10
  24. package/json-schemas/v3/tech-record/put/psv/complete/index.json +1 -10
  25. package/json-schemas/v3/tech-record/put/psv/skeleton/index.json +1 -10
  26. package/json-schemas/v3/tech-record/put/psv/testable/index.json +1 -10
  27. package/package.json +3 -2
  28. package/schemas.d.ts +1 -1
  29. package/schemas.js +12 -1
  30. package/types/enums/euVehicleCategory.enum.d.ts +25 -0
  31. package/types/enums/euVehicleCategory.enum.js +30 -0
  32. package/types/enums/euVehicleCategory.enum.ts +27 -0
  33. package/types/enums/vehicleConfiguration.enum.d.ts +19 -0
  34. package/types/enums/vehicleConfiguration.enum.js +24 -0
  35. package/types/enums/vehicleConfiguration.enum.ts +21 -0
  36. package/types/enums/vehicleSize.enum.d.ts +9 -0
  37. package/types/enums/vehicleSize.enum.js +14 -0
  38. package/types/enums/vehicleSize.enum.ts +11 -0
  39. package/types/enums/vehicleSubclass.enum.d.ts +16 -0
  40. package/types/enums/vehicleSubclass.enum.js +21 -0
  41. package/types/enums/vehicleSubclass.enum.ts +18 -0
  42. package/types/enums/vehicleType.enum.d.ts +13 -0
  43. package/types/enums/vehicleType.enum.js +18 -0
  44. package/types/enums/vehicleType.enum.ts +15 -0
  45. package/types/test-type/enums/testTypeClassification.enum.d.ts +10 -0
  46. package/types/test-type/enums/testTypeClassification.enum.js +15 -0
  47. package/types/test-type/enums/testTypeClassification.enum.ts +12 -0
  48. package/types/test-type/get/index.d.ts +128 -0
  49. package/types/test-type/nextTestTypesOrCategory.d.ts +124 -0
  50. package/types/test-type/testCode.d.ts +79 -0
  51. package/types/v1/enums/vehicleType.enum.d.ts +13 -0
  52. package/types/v1/enums/vehicleType.enum.js +18 -0
  53. package/types/v1/enums/vehicleType.enum.ts +15 -0
  54. package/types/v1/test/index.d.ts +3 -3
  55. package/types/v1/test-result/index.d.ts +2 -2
  56. package/types/v1/{test-type → test-result-test-type}/index.d.ts +1 -1
  57. package/types/v1/vehicle/index.d.ts +3 -3
  58. package/types/v1/visit/index.d.ts +3 -3
  59. package/types/v3/tech-record/enums/vehicleSize.enum.d.ts +9 -0
  60. package/types/v3/tech-record/enums/vehicleSize.enum.js +14 -0
  61. package/types/v3/tech-record/enums/vehicleSize.enum.ts +11 -0
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/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/euVehicleCategoryCar.enum.json", "v3/tech-record/enums/euVehicleCategoryHgv.enum.json", "v3/tech-record/enums/euVehicleCategoryLgv.enum.json", "v3/tech-record/enums/euVehicleCategoryPsv.enum.json", "v3/tech-record/enums/euVehicleCategorySmallTrl.enum.json", "v3/tech-record/enums/euVehicleCategoryTrl.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 ["enums/euVehicleCategory.enum.json", "enums/vehicleConfiguration.enum.json", "enums/vehicleSize.enum.json", "enums/vehicleSubclass.enum.json", "enums/vehicleType.enum.json", "required-standards/defects/enums/euVehicleCategory.enum.json", "required-standards/defects/get/index.json", "required-standards/defects/requiredStandardTaxonomySection.json", "test-type/enums/testTypeClassification.enum.json", "test-type/get/index.json", "test-type/nextTestTypesOrCategory.json", "test-type/testCode.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/vehicleType.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-result-test-type/index.json", "v1/test-station/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/euVehicleCategoryCar.enum.json", "v3/tech-record/enums/euVehicleCategoryHgv.enum.json", "v3/tech-record/enums/euVehicleCategoryLgv.enum.json", "v3/tech-record/enums/euVehicleCategoryPsv.enum.json", "v3/tech-record/enums/euVehicleCategorySmallTrl.enum.json", "v3/tech-record/enums/euVehicleCategoryTrl.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/enums/vehicleSize.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,9 +2,18 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.schemas = void 0;
4
4
  exports.schemas = [
5
+ "enums/euVehicleCategory.enum.json",
6
+ "enums/vehicleConfiguration.enum.json",
7
+ "enums/vehicleSize.enum.json",
8
+ "enums/vehicleSubclass.enum.json",
9
+ "enums/vehicleType.enum.json",
5
10
  "required-standards/defects/enums/euVehicleCategory.enum.json",
6
11
  "required-standards/defects/get/index.json",
7
12
  "required-standards/defects/requiredStandardTaxonomySection.json",
13
+ "test-type/enums/testTypeClassification.enum.json",
14
+ "test-type/get/index.json",
15
+ "test-type/nextTestTypesOrCategory.json",
16
+ "test-type/testCode.json",
8
17
  "v1/activity/index.json",
9
18
  "v1/defect-category-reference-data/index.json",
10
19
  "v1/defect-details/index.json",
@@ -18,14 +27,15 @@ exports.schemas = [
18
27
  "v1/enums/testStationType.enum.json",
19
28
  "v1/enums/testStatus.enum.json",
20
29
  "v1/enums/typeOfTest.enum.json",
30
+ "v1/enums/vehicleType.enum.json",
21
31
  "v1/enums/waitReason.enum.json",
22
32
  "v1/reason-item/index.json",
23
33
  "v1/recalls/index.json",
24
34
  "v1/tech-record/index.json",
25
35
  "v1/test/index.json",
26
36
  "v1/test-result/index.json",
37
+ "v1/test-result-test-type/index.json",
27
38
  "v1/test-station/index.json",
28
- "v1/test-type/index.json",
29
39
  "v1/vehicle/index.json",
30
40
  "v1/vehicle-tech-record/index.json",
31
41
  "v1/visit/index.json",
@@ -55,6 +65,7 @@ exports.schemas = [
55
65
  "v3/tech-record/enums/vehicleConfigurationHgvPsv.enum.json",
56
66
  "v3/tech-record/enums/vehicleConfigurationLightVehicle.enum.json",
57
67
  "v3/tech-record/enums/vehicleConfigurationTrl.enum.json",
68
+ "v3/tech-record/enums/vehicleSize.enum.json",
58
69
  "v3/tech-record/get/car/complete/index.json",
59
70
  "v3/tech-record/get/car/skeleton/index.json",
60
71
  "v3/tech-record/get/hgv/complete/index.json",
@@ -0,0 +1,25 @@
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 EUVehicleCategory {
7
+ M1 = "m1",
8
+ M2 = "m2",
9
+ M3 = "m3",
10
+ N1 = "n1",
11
+ N2 = "n2",
12
+ N3 = "n3",
13
+ O1 = "o1",
14
+ O2 = "o2",
15
+ O3 = "o3",
16
+ O4 = "o4",
17
+ L1E_A = "l1e-a",
18
+ L1E = "l1e",
19
+ L2E = "l2e",
20
+ L3E = "l3e",
21
+ L4E = "l4e",
22
+ L5E = "l5e",
23
+ L6E = "l6e",
24
+ L7E = "l7e"
25
+ }
@@ -0,0 +1,30 @@
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.EUVehicleCategory = void 0;
10
+ var EUVehicleCategory;
11
+ (function (EUVehicleCategory) {
12
+ EUVehicleCategory["M1"] = "m1";
13
+ EUVehicleCategory["M2"] = "m2";
14
+ EUVehicleCategory["M3"] = "m3";
15
+ EUVehicleCategory["N1"] = "n1";
16
+ EUVehicleCategory["N2"] = "n2";
17
+ EUVehicleCategory["N3"] = "n3";
18
+ EUVehicleCategory["O1"] = "o1";
19
+ EUVehicleCategory["O2"] = "o2";
20
+ EUVehicleCategory["O3"] = "o3";
21
+ EUVehicleCategory["O4"] = "o4";
22
+ EUVehicleCategory["L1E_A"] = "l1e-a";
23
+ EUVehicleCategory["L1E"] = "l1e";
24
+ EUVehicleCategory["L2E"] = "l2e";
25
+ EUVehicleCategory["L3E"] = "l3e";
26
+ EUVehicleCategory["L4E"] = "l4e";
27
+ EUVehicleCategory["L5E"] = "l5e";
28
+ EUVehicleCategory["L6E"] = "l6e";
29
+ EUVehicleCategory["L7E"] = "l7e";
30
+ })(EUVehicleCategory = exports.EUVehicleCategory || (exports.EUVehicleCategory = {}));
@@ -0,0 +1,27 @@
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 EUVehicleCategory {
9
+ M1 = "m1",
10
+ M2 = "m2",
11
+ M3 = "m3",
12
+ N1 = "n1",
13
+ N2 = "n2",
14
+ N3 = "n3",
15
+ O1 = "o1",
16
+ O2 = "o2",
17
+ O3 = "o3",
18
+ O4 = "o4",
19
+ L1E_A = "l1e-a",
20
+ L1E = "l1e",
21
+ L2E = "l2e",
22
+ L3E = "l3e",
23
+ L4E = "l4e",
24
+ L5E = "l5e",
25
+ L6E = "l6e",
26
+ L7E = "l7e"
27
+ }
@@ -0,0 +1,19 @@
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 VehicleConfiguration {
7
+ RIGID = "rigid",
8
+ ARTICULATED = "articulated",
9
+ CENTRE_AXLE_DRAWBAR = "centre axle drawbar",
10
+ SEMI_CAR_TRANSPORTER = "semi-car transporter",
11
+ SEMI_TRAILER = "semi-trailer",
12
+ LONG_SEMI_TRAILER = "long semi-trailer",
13
+ LOW_LOADER = "low loader",
14
+ OTHER = "other",
15
+ DRAWBAR = "drawbar",
16
+ FOUR_IN_LINE = "four-in-line",
17
+ DOLLY = "dolly",
18
+ FULL_DRAWBAR = "full drawbar"
19
+ }
@@ -0,0 +1,24 @@
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.VehicleConfiguration = void 0;
10
+ var VehicleConfiguration;
11
+ (function (VehicleConfiguration) {
12
+ VehicleConfiguration["RIGID"] = "rigid";
13
+ VehicleConfiguration["ARTICULATED"] = "articulated";
14
+ VehicleConfiguration["CENTRE_AXLE_DRAWBAR"] = "centre axle drawbar";
15
+ VehicleConfiguration["SEMI_CAR_TRANSPORTER"] = "semi-car transporter";
16
+ VehicleConfiguration["SEMI_TRAILER"] = "semi-trailer";
17
+ VehicleConfiguration["LONG_SEMI_TRAILER"] = "long semi-trailer";
18
+ VehicleConfiguration["LOW_LOADER"] = "low loader";
19
+ VehicleConfiguration["OTHER"] = "other";
20
+ VehicleConfiguration["DRAWBAR"] = "drawbar";
21
+ VehicleConfiguration["FOUR_IN_LINE"] = "four-in-line";
22
+ VehicleConfiguration["DOLLY"] = "dolly";
23
+ VehicleConfiguration["FULL_DRAWBAR"] = "full drawbar";
24
+ })(VehicleConfiguration = exports.VehicleConfiguration || (exports.VehicleConfiguration = {}));
@@ -0,0 +1,21 @@
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 VehicleConfiguration {
9
+ RIGID = "rigid",
10
+ ARTICULATED = "articulated",
11
+ CENTRE_AXLE_DRAWBAR = "centre axle drawbar",
12
+ SEMI_CAR_TRANSPORTER = "semi-car transporter",
13
+ SEMI_TRAILER = "semi-trailer",
14
+ LONG_SEMI_TRAILER = "long semi-trailer",
15
+ LOW_LOADER = "low loader",
16
+ OTHER = "other",
17
+ DRAWBAR = "drawbar",
18
+ FOUR_IN_LINE = "four-in-line",
19
+ DOLLY = "dolly",
20
+ FULL_DRAWBAR = "full drawbar"
21
+ }
@@ -0,0 +1,9 @@
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 VehicleSize {
7
+ LARGE = "large",
8
+ SMALL = "small"
9
+ }
@@ -0,0 +1,14 @@
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.VehicleSize = void 0;
10
+ var VehicleSize;
11
+ (function (VehicleSize) {
12
+ VehicleSize["LARGE"] = "large";
13
+ VehicleSize["SMALL"] = "small";
14
+ })(VehicleSize = exports.VehicleSize || (exports.VehicleSize = {}));
@@ -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 enum VehicleSize {
9
+ LARGE = "large",
10
+ SMALL = "small"
11
+ }
@@ -0,0 +1,16 @@
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 VehicleSubclass {
7
+ A = "a",
8
+ C = "c",
9
+ S = "s",
10
+ L = "l",
11
+ M = "m",
12
+ N = "n",
13
+ P = "p",
14
+ T = "t",
15
+ R = "r"
16
+ }
@@ -0,0 +1,21 @@
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.VehicleSubclass = void 0;
10
+ var VehicleSubclass;
11
+ (function (VehicleSubclass) {
12
+ VehicleSubclass["A"] = "a";
13
+ VehicleSubclass["C"] = "c";
14
+ VehicleSubclass["S"] = "s";
15
+ VehicleSubclass["L"] = "l";
16
+ VehicleSubclass["M"] = "m";
17
+ VehicleSubclass["N"] = "n";
18
+ VehicleSubclass["P"] = "p";
19
+ VehicleSubclass["T"] = "t";
20
+ VehicleSubclass["R"] = "r";
21
+ })(VehicleSubclass = exports.VehicleSubclass || (exports.VehicleSubclass = {}));
@@ -0,0 +1,18 @@
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 VehicleSubclass {
9
+ A = "a",
10
+ C = "c",
11
+ S = "s",
12
+ L = "l",
13
+ M = "m",
14
+ N = "n",
15
+ P = "p",
16
+ T = "t",
17
+ R = "r"
18
+ }
@@ -0,0 +1,13 @@
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
+ HGV = "hgv",
8
+ PSV = "psv",
9
+ TRL = "trl",
10
+ LGV = "lgv",
11
+ CAR = "car",
12
+ MOTORCYCLE = "motorcycle"
13
+ }
@@ -0,0 +1,18 @@
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["HGV"] = "hgv";
13
+ VehicleType["PSV"] = "psv";
14
+ VehicleType["TRL"] = "trl";
15
+ VehicleType["LGV"] = "lgv";
16
+ VehicleType["CAR"] = "car";
17
+ VehicleType["MOTORCYCLE"] = "motorcycle";
18
+ })(VehicleType = exports.VehicleType || (exports.VehicleType = {}));
@@ -0,0 +1,15 @@
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
+ HGV = "hgv",
10
+ PSV = "psv",
11
+ TRL = "trl",
12
+ LGV = "lgv",
13
+ CAR = "car",
14
+ MOTORCYCLE = "motorcycle"
15
+ }
@@ -0,0 +1,10 @@
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 TestTypeClassification {
7
+ ANNUAL_NO_CERTIFICATE = "Annual NO CERTIFICATE",
8
+ ANNUAL_WITH_CERTIFICATE = "Annual With Certificate",
9
+ NON_ANNUAL = "NON ANNUAL"
10
+ }
@@ -0,0 +1,15 @@
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.TestTypeClassification = void 0;
10
+ var TestTypeClassification;
11
+ (function (TestTypeClassification) {
12
+ TestTypeClassification["ANNUAL_NO_CERTIFICATE"] = "Annual NO CERTIFICATE";
13
+ TestTypeClassification["ANNUAL_WITH_CERTIFICATE"] = "Annual With Certificate";
14
+ TestTypeClassification["NON_ANNUAL"] = "NON ANNUAL";
15
+ })(TestTypeClassification = exports.TestTypeClassification || (exports.TestTypeClassification = {}));
@@ -0,0 +1,12 @@
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 TestTypeClassification {
9
+ ANNUAL_NO_CERTIFICATE = "Annual NO CERTIFICATE",
10
+ ANNUAL_WITH_CERTIFICATE = "Annual With Certificate",
11
+ NON_ANNUAL = "NON ANNUAL"
12
+ }
@@ -0,0 +1,128 @@
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 GETTestTypeSchema {
9
+ typeOfTest?: string;
10
+ id: string;
11
+ sortId: string;
12
+ linkedIds: string[] | null;
13
+ suggestedTestTypeIds?: string[];
14
+ name: string;
15
+ testTypeName?: string;
16
+ suggestedTestTypeDisplayName?: string;
17
+ suggestedTestTypeDisplayOrder?: string;
18
+ forVehicleType: VehicleType[];
19
+ forProvisionalStatus?: boolean;
20
+ forProvisionalStatusOnly?: boolean;
21
+ forVehicleSize: VehicleSize[] | null;
22
+ forVehicleConfiguration: VehicleConfiguration[] | null;
23
+ forVehicleAxles: number[] | null;
24
+ forEuVehicleCategory: EUVehicleCategory[] | null;
25
+ forVehicleClass: string[] | null;
26
+ forVehicleSubclass: VehicleSubclass[] | null;
27
+ forVehicleWheels: number[] | null;
28
+ testTypeClassification?: TestTypeClassification;
29
+ testCodes?: TestCodeSchema[];
30
+ nextTestTypesOrCategories?: NextTestTypesOrCategorySchema[];
31
+ }
32
+ export interface TestCodeSchema {
33
+ forVehicleType: VehicleType | VehicleType[];
34
+ forVehicleSize: VehicleSize | null;
35
+ forVehicleConfiguration: VehicleConfiguration | null;
36
+ forVehicleAxles: number | number[] | null;
37
+ forEuVehicleCategory: EUVehicleCategory | EUVehicleCategory[] | null;
38
+ forVehicleClass: string | string[] | null;
39
+ forVehicleSubclass: VehicleSubclass | VehicleSubclass[] | null;
40
+ forVehicleWheels: number | number[] | null;
41
+ defaultTestCode: string;
42
+ linkedTestCode: string | null;
43
+ forProvisionalStatus?: boolean;
44
+ forProvisionalStatusOnly?: boolean;
45
+ }
46
+ export interface NextTestTypesOrCategorySchema {
47
+ typeOfTest?: string;
48
+ id: string;
49
+ linkedIds: string[] | null;
50
+ name: string;
51
+ testTypeName?: string;
52
+ forVehicleType: VehicleType | VehicleType[];
53
+ forProvisionalStatus?: boolean;
54
+ forProvisionalStatusOnly?: boolean;
55
+ forVehicleSize: VehicleSize[] | null;
56
+ forVehicleConfiguration: VehicleConfiguration[] | null;
57
+ forVehicleAxles: number[] | null;
58
+ forEuVehicleCategory: EUVehicleCategory[] | null;
59
+ forVehicleClass: string[] | null;
60
+ forVehicleSubclass: VehicleSubclass[] | null;
61
+ forVehicleWheels: number[] | null;
62
+ testTypeClassification?: TestTypeClassification;
63
+ testCodes?: TestCodeSchema[];
64
+ nextTestTypesOrCategories?: NextTestTypesOrCategorySchema[];
65
+ }
66
+
67
+ export enum VehicleType {
68
+ HGV = "hgv",
69
+ PSV = "psv",
70
+ TRL = "trl",
71
+ LGV = "lgv",
72
+ CAR = "car",
73
+ MOTORCYCLE = "motorcycle"
74
+ }
75
+ export enum VehicleSize {
76
+ LARGE = "large",
77
+ SMALL = "small"
78
+ }
79
+ export enum VehicleConfiguration {
80
+ RIGID = "rigid",
81
+ ARTICULATED = "articulated",
82
+ CENTRE_AXLE_DRAWBAR = "centre axle drawbar",
83
+ SEMI_CAR_TRANSPORTER = "semi-car transporter",
84
+ SEMI_TRAILER = "semi-trailer",
85
+ LONG_SEMI_TRAILER = "long semi-trailer",
86
+ LOW_LOADER = "low loader",
87
+ OTHER = "other",
88
+ DRAWBAR = "drawbar",
89
+ FOUR_IN_LINE = "four-in-line",
90
+ DOLLY = "dolly",
91
+ FULL_DRAWBAR = "full drawbar"
92
+ }
93
+ export enum EUVehicleCategory {
94
+ M1 = "m1",
95
+ M2 = "m2",
96
+ M3 = "m3",
97
+ N1 = "n1",
98
+ N2 = "n2",
99
+ N3 = "n3",
100
+ O1 = "o1",
101
+ O2 = "o2",
102
+ O3 = "o3",
103
+ O4 = "o4",
104
+ L1E_A = "l1e-a",
105
+ L1E = "l1e",
106
+ L2E = "l2e",
107
+ L3E = "l3e",
108
+ L4E = "l4e",
109
+ L5E = "l5e",
110
+ L6E = "l6e",
111
+ L7E = "l7e"
112
+ }
113
+ export enum VehicleSubclass {
114
+ A = "a",
115
+ C = "c",
116
+ S = "s",
117
+ L = "l",
118
+ M = "m",
119
+ N = "n",
120
+ P = "p",
121
+ T = "t",
122
+ R = "r"
123
+ }
124
+ export enum TestTypeClassification {
125
+ ANNUAL_NO_CERTIFICATE = "Annual NO CERTIFICATE",
126
+ ANNUAL_WITH_CERTIFICATE = "Annual With Certificate",
127
+ NON_ANNUAL = "NON ANNUAL"
128
+ }