@dvsa/cvs-type-definitions 12.4.0 → 12.5.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.
@@ -0,0 +1,34 @@
1
+ {
2
+ "title": "Ref Data Type",
3
+ "type": "string",
4
+ "tsEnumNames": [
5
+ "BRAKES",
6
+ "COUNTRY_OF_REGISTRATION",
7
+ "HGV_MAKE",
8
+ "PSV_MAKE",
9
+ "MSVA_REASONS_FOR_ABANDONING",
10
+ "REASONS_FOR_ABANDONING_HGV",
11
+ "REASONS_FOR_ABANDONING_PSV",
12
+ "REASONS_FOR_ABANDONING_TRL",
13
+ "SPECIALIST_REASONS_FOR_ABANDONING",
14
+ "TIR_REASONS_FOR_ABANDONING",
15
+ "TRL_MAKE",
16
+ "TYRE_LOAD_INDEX",
17
+ "TYRES"
18
+ ],
19
+ "enum": [
20
+ "BRAKES",
21
+ "COUNTRY_OF_REGISTRATION",
22
+ "HGV_MAKE",
23
+ "PSV_MAKE",
24
+ "MSVA_REASONS_FOR_ABANDONING",
25
+ "REASONS_FOR_ABANDONING_HGV",
26
+ "REASONS_FOR_ABANDONING_PSV",
27
+ "REASONS_FOR_ABANDONING_TRL",
28
+ "SPECIALIST_REASONS_FOR_ABANDONING",
29
+ "TIR_REASONS_FOR_ABANDONING",
30
+ "TRL_MAKE",
31
+ "TYRE_LOAD_INDEX",
32
+ "TYRES"
33
+ ]
34
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvsa/cvs-type-definitions",
3
- "version": "12.4.0",
3
+ "version": "12.5.0",
4
4
  "description": "Type definitions for CVS VTA and VTM applications",
5
5
  "main": "index.js",
6
6
  "repository": {
package/schemas.d.ts CHANGED
@@ -1 +1 @@
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/dynamics-test-station/index.json", "v1/enums/activityType.enum.json", "v1/enums/closureReason.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/media/failReason.json", "v1/media/image.json", "v1/media/index.json", "v1/media/video.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"];
1
+ export declare const schemas: readonly ["enums/euVehicleCategory.enum.json", "enums/refDataType.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/dynamics-test-station/index.json", "v1/enums/activityType.enum.json", "v1/enums/closureReason.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/media/failReason.json", "v1/media/image.json", "v1/media/index.json", "v1/media/video.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
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.schemas = void 0;
4
4
  exports.schemas = [
5
5
  "enums/euVehicleCategory.enum.json",
6
+ "enums/refDataType.enum.json",
6
7
  "enums/vehicleConfiguration.enum.json",
7
8
  "enums/vehicleSize.enum.json",
8
9
  "enums/vehicleSubclass.enum.json",
@@ -0,0 +1,20 @@
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 RefDataType {
7
+ BRAKES = "BRAKES",
8
+ COUNTRY_OF_REGISTRATION = "COUNTRY_OF_REGISTRATION",
9
+ HGV_MAKE = "HGV_MAKE",
10
+ PSV_MAKE = "PSV_MAKE",
11
+ MSVA_REASONS_FOR_ABANDONING = "MSVA_REASONS_FOR_ABANDONING",
12
+ REASONS_FOR_ABANDONING_HGV = "REASONS_FOR_ABANDONING_HGV",
13
+ REASONS_FOR_ABANDONING_PSV = "REASONS_FOR_ABANDONING_PSV",
14
+ REASONS_FOR_ABANDONING_TRL = "REASONS_FOR_ABANDONING_TRL",
15
+ SPECIALIST_REASONS_FOR_ABANDONING = "SPECIALIST_REASONS_FOR_ABANDONING",
16
+ TIR_REASONS_FOR_ABANDONING = "TIR_REASONS_FOR_ABANDONING",
17
+ TRL_MAKE = "TRL_MAKE",
18
+ TYRE_LOAD_INDEX = "TYRE_LOAD_INDEX",
19
+ TYRES = "TYRES"
20
+ }
@@ -0,0 +1,25 @@
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.RefDataType = void 0;
10
+ var RefDataType;
11
+ (function (RefDataType) {
12
+ RefDataType["BRAKES"] = "BRAKES";
13
+ RefDataType["COUNTRY_OF_REGISTRATION"] = "COUNTRY_OF_REGISTRATION";
14
+ RefDataType["HGV_MAKE"] = "HGV_MAKE";
15
+ RefDataType["PSV_MAKE"] = "PSV_MAKE";
16
+ RefDataType["MSVA_REASONS_FOR_ABANDONING"] = "MSVA_REASONS_FOR_ABANDONING";
17
+ RefDataType["REASONS_FOR_ABANDONING_HGV"] = "REASONS_FOR_ABANDONING_HGV";
18
+ RefDataType["REASONS_FOR_ABANDONING_PSV"] = "REASONS_FOR_ABANDONING_PSV";
19
+ RefDataType["REASONS_FOR_ABANDONING_TRL"] = "REASONS_FOR_ABANDONING_TRL";
20
+ RefDataType["SPECIALIST_REASONS_FOR_ABANDONING"] = "SPECIALIST_REASONS_FOR_ABANDONING";
21
+ RefDataType["TIR_REASONS_FOR_ABANDONING"] = "TIR_REASONS_FOR_ABANDONING";
22
+ RefDataType["TRL_MAKE"] = "TRL_MAKE";
23
+ RefDataType["TYRE_LOAD_INDEX"] = "TYRE_LOAD_INDEX";
24
+ RefDataType["TYRES"] = "TYRES";
25
+ })(RefDataType || (exports.RefDataType = RefDataType = {}));
@@ -0,0 +1,22 @@
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 RefDataType {
9
+ BRAKES = "BRAKES",
10
+ COUNTRY_OF_REGISTRATION = "COUNTRY_OF_REGISTRATION",
11
+ HGV_MAKE = "HGV_MAKE",
12
+ PSV_MAKE = "PSV_MAKE",
13
+ MSVA_REASONS_FOR_ABANDONING = "MSVA_REASONS_FOR_ABANDONING",
14
+ REASONS_FOR_ABANDONING_HGV = "REASONS_FOR_ABANDONING_HGV",
15
+ REASONS_FOR_ABANDONING_PSV = "REASONS_FOR_ABANDONING_PSV",
16
+ REASONS_FOR_ABANDONING_TRL = "REASONS_FOR_ABANDONING_TRL",
17
+ SPECIALIST_REASONS_FOR_ABANDONING = "SPECIALIST_REASONS_FOR_ABANDONING",
18
+ TIR_REASONS_FOR_ABANDONING = "TIR_REASONS_FOR_ABANDONING",
19
+ TRL_MAKE = "TRL_MAKE",
20
+ TYRE_LOAD_INDEX = "TYRE_LOAD_INDEX",
21
+ TYRES = "TYRES"
22
+ }