@dvsa/cvs-type-definitions 2.1.15 → 2.1.16

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.
@@ -75,6 +75,34 @@
75
75
  ],
76
76
  "maxLength": 255
77
77
  },
78
+ "techRecord_euVehicleCategory": {
79
+ "anyOf": [
80
+ {
81
+ "title": "EU vehicle category",
82
+ "type": "string",
83
+ "enum": [
84
+ "m1",
85
+ "m2",
86
+ "m3",
87
+ "n1",
88
+ "n2",
89
+ "n3",
90
+ "o1",
91
+ "o2",
92
+ "o3",
93
+ "o4",
94
+ "l1e-a",
95
+ "l1e",
96
+ "l2e",
97
+ "l3e",
98
+ "l4e",
99
+ "l5e",
100
+ "l6e",
101
+ "l7e"
102
+ ]
103
+ }
104
+ ]
105
+ },
78
106
  "techRecord_reasonForCreation": {
79
107
  "type": [
80
108
  "string",
@@ -75,6 +75,34 @@
75
75
  ],
76
76
  "maxLength": 255
77
77
  },
78
+ "techRecord_euVehicleCategory": {
79
+ "anyOf": [
80
+ {
81
+ "title": "EU vehicle category",
82
+ "type": "string",
83
+ "enum": [
84
+ "m1",
85
+ "m2",
86
+ "m3",
87
+ "n1",
88
+ "n2",
89
+ "n3",
90
+ "o1",
91
+ "o2",
92
+ "o3",
93
+ "o4",
94
+ "l1e-a",
95
+ "l1e",
96
+ "l2e",
97
+ "l3e",
98
+ "l4e",
99
+ "l5e",
100
+ "l6e",
101
+ "l7e"
102
+ ]
103
+ }
104
+ ]
105
+ },
78
106
  "techRecord_reasonForCreation": {
79
107
  "type": [
80
108
  "string",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvsa/cvs-type-definitions",
3
- "version": "2.1.15",
3
+ "version": "2.1.16",
4
4
  "description": "type definitions for cvs vta application",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -5,6 +5,25 @@
5
5
  * and run json-schema-to-typescript to regenerate this file.
6
6
  */
7
7
 
8
+ export type EUVehicleCategory =
9
+ | "m1"
10
+ | "m2"
11
+ | "m3"
12
+ | "n1"
13
+ | "n2"
14
+ | "n3"
15
+ | "o1"
16
+ | "o2"
17
+ | "o3"
18
+ | "o4"
19
+ | "l1e-a"
20
+ | "l1e"
21
+ | "l2e"
22
+ | "l3e"
23
+ | "l4e"
24
+ | "l5e"
25
+ | "l6e"
26
+ | "l7e";
8
27
  export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
9
28
  export type StatusCode = "provisional" | "current" | "archived";
10
29
  export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
@@ -21,6 +40,7 @@ export interface TechRecordCompleteLGVSchema {
21
40
  techRecord_applicantDetails_postCode?: null | string;
22
41
  techRecord_applicantDetails_telephoneNumber?: null | string;
23
42
  techRecord_applicantDetails_emailAddress?: null | string;
43
+ techRecord_euVehicleCategory?: EUVehicleCategory;
24
44
  techRecord_reasonForCreation?: string | null;
25
45
  techRecord_vehicleType?: VehicleType;
26
46
  techRecord_statusCode?: StatusCode;
@@ -5,6 +5,25 @@
5
5
  * and run json-schema-to-typescript to regenerate this file.
6
6
  */
7
7
 
8
+ export type EUVehicleCategory =
9
+ | "m1"
10
+ | "m2"
11
+ | "m3"
12
+ | "n1"
13
+ | "n2"
14
+ | "n3"
15
+ | "o1"
16
+ | "o2"
17
+ | "o3"
18
+ | "o4"
19
+ | "l1e-a"
20
+ | "l1e"
21
+ | "l2e"
22
+ | "l3e"
23
+ | "l4e"
24
+ | "l5e"
25
+ | "l6e"
26
+ | "l7e";
8
27
  export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
9
28
  export type StatusCode = "provisional" | "current" | "archived";
10
29
 
@@ -20,6 +39,7 @@ export interface TechRecordCompleteCarSchema {
20
39
  techRecord_applicantDetails_postCode?: null | string;
21
40
  techRecord_applicantDetails_telephoneNumber?: null | string;
22
41
  techRecord_applicantDetails_emailAddress?: null | string;
42
+ techRecord_euVehicleCategory?: EUVehicleCategory;
23
43
  techRecord_reasonForCreation?: string | null;
24
44
  techRecord_vehicleType: VehicleType;
25
45
  techRecord_statusCode?: StatusCode;