@dvsa/cvs-type-definitions 2.1.14 → 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.
|
@@ -19,6 +19,90 @@
|
|
|
19
19
|
"null"
|
|
20
20
|
]
|
|
21
21
|
},
|
|
22
|
+
"techRecord_applicantDetails_name": {
|
|
23
|
+
"type": [
|
|
24
|
+
"string",
|
|
25
|
+
"null"
|
|
26
|
+
],
|
|
27
|
+
"maxLength": 150
|
|
28
|
+
},
|
|
29
|
+
"techRecord_applicantDetails_address1": {
|
|
30
|
+
"type": [
|
|
31
|
+
"null",
|
|
32
|
+
"string"
|
|
33
|
+
],
|
|
34
|
+
"maxLength": 60
|
|
35
|
+
},
|
|
36
|
+
"techRecord_applicantDetails_address2": {
|
|
37
|
+
"type": [
|
|
38
|
+
"null",
|
|
39
|
+
"string"
|
|
40
|
+
],
|
|
41
|
+
"maxLength": 60
|
|
42
|
+
},
|
|
43
|
+
"techRecord_applicantDetails_postTown": {
|
|
44
|
+
"type": [
|
|
45
|
+
"null",
|
|
46
|
+
"string"
|
|
47
|
+
],
|
|
48
|
+
"maxLength": 60
|
|
49
|
+
},
|
|
50
|
+
"techRecord_applicantDetails_address3": {
|
|
51
|
+
"type": [
|
|
52
|
+
"null",
|
|
53
|
+
"string"
|
|
54
|
+
],
|
|
55
|
+
"maxLength": 60
|
|
56
|
+
},
|
|
57
|
+
"techRecord_applicantDetails_postCode": {
|
|
58
|
+
"type": [
|
|
59
|
+
"null",
|
|
60
|
+
"string"
|
|
61
|
+
],
|
|
62
|
+
"maxLength": 12
|
|
63
|
+
},
|
|
64
|
+
"techRecord_applicantDetails_telephoneNumber": {
|
|
65
|
+
"type": [
|
|
66
|
+
"null",
|
|
67
|
+
"string"
|
|
68
|
+
],
|
|
69
|
+
"maxLength": 25
|
|
70
|
+
},
|
|
71
|
+
"techRecord_applicantDetails_emailAddress": {
|
|
72
|
+
"type": [
|
|
73
|
+
"null",
|
|
74
|
+
"string"
|
|
75
|
+
],
|
|
76
|
+
"maxLength": 255
|
|
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
|
+
},
|
|
22
106
|
"techRecord_reasonForCreation": {
|
|
23
107
|
"type": [
|
|
24
108
|
"string",
|
|
@@ -19,6 +19,90 @@
|
|
|
19
19
|
"null"
|
|
20
20
|
]
|
|
21
21
|
},
|
|
22
|
+
"techRecord_applicantDetails_name": {
|
|
23
|
+
"type": [
|
|
24
|
+
"string",
|
|
25
|
+
"null"
|
|
26
|
+
],
|
|
27
|
+
"maxLength": 150
|
|
28
|
+
},
|
|
29
|
+
"techRecord_applicantDetails_address1": {
|
|
30
|
+
"type": [
|
|
31
|
+
"null",
|
|
32
|
+
"string"
|
|
33
|
+
],
|
|
34
|
+
"maxLength": 60
|
|
35
|
+
},
|
|
36
|
+
"techRecord_applicantDetails_address2": {
|
|
37
|
+
"type": [
|
|
38
|
+
"null",
|
|
39
|
+
"string"
|
|
40
|
+
],
|
|
41
|
+
"maxLength": 60
|
|
42
|
+
},
|
|
43
|
+
"techRecord_applicantDetails_postTown": {
|
|
44
|
+
"type": [
|
|
45
|
+
"null",
|
|
46
|
+
"string"
|
|
47
|
+
],
|
|
48
|
+
"maxLength": 60
|
|
49
|
+
},
|
|
50
|
+
"techRecord_applicantDetails_address3": {
|
|
51
|
+
"type": [
|
|
52
|
+
"null",
|
|
53
|
+
"string"
|
|
54
|
+
],
|
|
55
|
+
"maxLength": 60
|
|
56
|
+
},
|
|
57
|
+
"techRecord_applicantDetails_postCode": {
|
|
58
|
+
"type": [
|
|
59
|
+
"null",
|
|
60
|
+
"string"
|
|
61
|
+
],
|
|
62
|
+
"maxLength": 12
|
|
63
|
+
},
|
|
64
|
+
"techRecord_applicantDetails_telephoneNumber": {
|
|
65
|
+
"type": [
|
|
66
|
+
"null",
|
|
67
|
+
"string"
|
|
68
|
+
],
|
|
69
|
+
"maxLength": 25
|
|
70
|
+
},
|
|
71
|
+
"techRecord_applicantDetails_emailAddress": {
|
|
72
|
+
"type": [
|
|
73
|
+
"null",
|
|
74
|
+
"string"
|
|
75
|
+
],
|
|
76
|
+
"maxLength": 255
|
|
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
|
+
},
|
|
22
106
|
"techRecord_reasonForCreation": {
|
|
23
107
|
"type": [
|
|
24
108
|
"string",
|
package/package.json
CHANGED
|
@@ -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")[];
|
|
@@ -13,6 +32,15 @@ export interface TechRecordCompleteLGVSchema {
|
|
|
13
32
|
vin: string;
|
|
14
33
|
primaryVrm?: string;
|
|
15
34
|
trailerId?: string | null;
|
|
35
|
+
techRecord_applicantDetails_name?: string | null;
|
|
36
|
+
techRecord_applicantDetails_address1?: null | string;
|
|
37
|
+
techRecord_applicantDetails_address2?: null | string;
|
|
38
|
+
techRecord_applicantDetails_postTown?: null | string;
|
|
39
|
+
techRecord_applicantDetails_address3?: null | string;
|
|
40
|
+
techRecord_applicantDetails_postCode?: null | string;
|
|
41
|
+
techRecord_applicantDetails_telephoneNumber?: null | string;
|
|
42
|
+
techRecord_applicantDetails_emailAddress?: null | string;
|
|
43
|
+
techRecord_euVehicleCategory?: EUVehicleCategory;
|
|
16
44
|
techRecord_reasonForCreation?: string | null;
|
|
17
45
|
techRecord_vehicleType?: VehicleType;
|
|
18
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
|
|
|
@@ -12,6 +31,15 @@ export interface TechRecordCompleteCarSchema {
|
|
|
12
31
|
vin: string;
|
|
13
32
|
primaryVrm?: string;
|
|
14
33
|
trailerId?: string | null;
|
|
34
|
+
techRecord_applicantDetails_name?: string | null;
|
|
35
|
+
techRecord_applicantDetails_address1?: null | string;
|
|
36
|
+
techRecord_applicantDetails_address2?: null | string;
|
|
37
|
+
techRecord_applicantDetails_postTown?: null | string;
|
|
38
|
+
techRecord_applicantDetails_address3?: null | string;
|
|
39
|
+
techRecord_applicantDetails_postCode?: null | string;
|
|
40
|
+
techRecord_applicantDetails_telephoneNumber?: null | string;
|
|
41
|
+
techRecord_applicantDetails_emailAddress?: null | string;
|
|
42
|
+
techRecord_euVehicleCategory?: EUVehicleCategory;
|
|
15
43
|
techRecord_reasonForCreation?: string | null;
|
|
16
44
|
techRecord_vehicleType: VehicleType;
|
|
17
45
|
techRecord_statusCode?: StatusCode;
|