@dvsa/cvs-type-definitions 3.0.28 → 3.0.29
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/v3/tech-record/get/car/complete/index.json +17 -31
- package/json-schemas/v3/tech-record/get/car/skeleton/index.json +12 -28
- package/json-schemas/v3/tech-record/put/car/complete/index.json +93 -28
- package/json-schemas/v3/tech-record/put/car/skeleton/index.json +91 -28
- package/json-schemas/v3/tech-record/put/lgv/complete/index.json +2 -1
- package/json-schemas/v3/tech-record/put/lgv/skeleton/index.json +2 -1
- package/json-schemas/v3/tech-record/put/motorcycle/complete/index.json +8 -14
- package/json-schemas/v3/tech-record/put/motorcycle/skeleton/index.json +8 -14
- package/package.json +1 -1
- package/types/v3/tech-record/get/car/complete/index.d.ts +8 -8
- package/types/v3/tech-record/get/car/skeleton/index.d.ts +6 -6
- package/types/v3/tech-record/put/car/complete/index.d.ts +31 -4
- package/types/v3/tech-record/put/car/skeleton/index.d.ts +31 -4
- package/types/v3/tech-record/put/lgv/complete/index.d.ts +1 -1
- package/types/v3/tech-record/put/lgv/skeleton/index.d.ts +1 -1
- package/types/v3/tech-record/put/motorcycle/complete/index.d.ts +1 -1
- package/types/v3/tech-record/put/motorcycle/skeleton/index.d.ts +1 -1
|
@@ -3,11 +3,18 @@
|
|
|
3
3
|
"type": "object",
|
|
4
4
|
"additionalProperties": false,
|
|
5
5
|
"required": [
|
|
6
|
-
"techRecord_vehicleSubclass",
|
|
7
|
-
"createdTimestamp",
|
|
8
6
|
"systemNumber",
|
|
9
7
|
"vin",
|
|
10
|
-
"
|
|
8
|
+
"createdTimestamp",
|
|
9
|
+
"techRecord_vehicleSubclass",
|
|
10
|
+
"techRecord_vehicleType",
|
|
11
|
+
"techRecord_createdAt",
|
|
12
|
+
"techRecord_createdById",
|
|
13
|
+
"techRecord_createdByName",
|
|
14
|
+
"techRecord_reasonForCreation",
|
|
15
|
+
"techRecord_statusCode",
|
|
16
|
+
"techRecord_noOfAxles",
|
|
17
|
+
"primaryVrm"
|
|
11
18
|
],
|
|
12
19
|
"properties": {
|
|
13
20
|
"techRecord_applicantDetails_name": {
|
|
@@ -78,31 +85,19 @@
|
|
|
78
85
|
]
|
|
79
86
|
},
|
|
80
87
|
"primaryVrm": {
|
|
81
|
-
"type":
|
|
82
|
-
"null",
|
|
83
|
-
"string"
|
|
84
|
-
]
|
|
88
|
+
"type": "string"
|
|
85
89
|
},
|
|
86
90
|
"systemNumber": {
|
|
87
91
|
"type": "string"
|
|
88
92
|
},
|
|
89
93
|
"techRecord_createdAt": {
|
|
90
|
-
"type":
|
|
91
|
-
"null",
|
|
92
|
-
"string"
|
|
93
|
-
]
|
|
94
|
+
"type": "string"
|
|
94
95
|
},
|
|
95
96
|
"techRecord_createdById": {
|
|
96
|
-
"type":
|
|
97
|
-
"null",
|
|
98
|
-
"string"
|
|
99
|
-
]
|
|
97
|
+
"type": "string"
|
|
100
98
|
},
|
|
101
99
|
"techRecord_createdByName": {
|
|
102
|
-
"type":
|
|
103
|
-
"null",
|
|
104
|
-
"string"
|
|
105
|
-
]
|
|
100
|
+
"type": "string"
|
|
106
101
|
},
|
|
107
102
|
"techRecord_euVehicleCategory": {
|
|
108
103
|
"anyOf": [
|
|
@@ -160,16 +155,10 @@
|
|
|
160
155
|
]
|
|
161
156
|
},
|
|
162
157
|
"techRecord_recordCompleteness": {
|
|
163
|
-
"
|
|
164
|
-
"null",
|
|
165
|
-
"string"
|
|
166
|
-
]
|
|
158
|
+
"const": "complete"
|
|
167
159
|
},
|
|
168
160
|
"techRecord_noOfAxles": {
|
|
169
|
-
"type":
|
|
170
|
-
"null",
|
|
171
|
-
"integer"
|
|
172
|
-
]
|
|
161
|
+
"type": "integer"
|
|
173
162
|
},
|
|
174
163
|
"techRecord_notes": {
|
|
175
164
|
"type": [
|
|
@@ -178,10 +167,7 @@
|
|
|
178
167
|
]
|
|
179
168
|
},
|
|
180
169
|
"techRecord_reasonForCreation": {
|
|
181
|
-
"type":
|
|
182
|
-
"null",
|
|
183
|
-
"string"
|
|
184
|
-
]
|
|
170
|
+
"type": "string"
|
|
185
171
|
},
|
|
186
172
|
"techRecord_regnDate": {
|
|
187
173
|
"type": [
|
|
@@ -6,7 +6,11 @@
|
|
|
6
6
|
"createdTimestamp",
|
|
7
7
|
"systemNumber",
|
|
8
8
|
"vin",
|
|
9
|
-
"techRecord_vehicleType"
|
|
9
|
+
"techRecord_vehicleType",
|
|
10
|
+
"techRecord_createdAt",
|
|
11
|
+
"techRecord_createdById",
|
|
12
|
+
"techRecord_createdByName",
|
|
13
|
+
"primaryVrm"
|
|
10
14
|
],
|
|
11
15
|
"properties": {
|
|
12
16
|
"techRecord_applicantDetails_name": {
|
|
@@ -66,9 +70,7 @@
|
|
|
66
70
|
"maxLength": 255
|
|
67
71
|
},
|
|
68
72
|
"createdTimestamp": {
|
|
69
|
-
"type":
|
|
70
|
-
"string"
|
|
71
|
-
]
|
|
73
|
+
"type": "string"
|
|
72
74
|
},
|
|
73
75
|
"partialVin": {
|
|
74
76
|
"type": [
|
|
@@ -77,31 +79,19 @@
|
|
|
77
79
|
]
|
|
78
80
|
},
|
|
79
81
|
"primaryVrm": {
|
|
80
|
-
"type":
|
|
81
|
-
"null",
|
|
82
|
-
"string"
|
|
83
|
-
]
|
|
82
|
+
"type": "string"
|
|
84
83
|
},
|
|
85
84
|
"systemNumber": {
|
|
86
85
|
"type": "string"
|
|
87
86
|
},
|
|
88
87
|
"techRecord_createdAt": {
|
|
89
|
-
"type":
|
|
90
|
-
"null",
|
|
91
|
-
"string"
|
|
92
|
-
]
|
|
88
|
+
"type": "string"
|
|
93
89
|
},
|
|
94
90
|
"techRecord_createdById": {
|
|
95
|
-
"type":
|
|
96
|
-
"null",
|
|
97
|
-
"string"
|
|
98
|
-
]
|
|
91
|
+
"type": "string"
|
|
99
92
|
},
|
|
100
93
|
"techRecord_createdByName": {
|
|
101
|
-
"type":
|
|
102
|
-
"null",
|
|
103
|
-
"string"
|
|
104
|
-
]
|
|
94
|
+
"type": "string"
|
|
105
95
|
},
|
|
106
96
|
"techRecord_euVehicleCategory": {
|
|
107
97
|
"anyOf": [
|
|
@@ -159,10 +149,7 @@
|
|
|
159
149
|
]
|
|
160
150
|
},
|
|
161
151
|
"techRecord_recordCompleteness": {
|
|
162
|
-
"
|
|
163
|
-
"null",
|
|
164
|
-
"string"
|
|
165
|
-
]
|
|
152
|
+
"const": "skeleton"
|
|
166
153
|
},
|
|
167
154
|
"techRecord_noOfAxles": {
|
|
168
155
|
"type": [
|
|
@@ -177,10 +164,7 @@
|
|
|
177
164
|
]
|
|
178
165
|
},
|
|
179
166
|
"techRecord_reasonForCreation": {
|
|
180
|
-
"type":
|
|
181
|
-
"null",
|
|
182
|
-
"string"
|
|
183
|
-
]
|
|
167
|
+
"type": "string"
|
|
184
168
|
},
|
|
185
169
|
"techRecord_regnDate": {
|
|
186
170
|
"type": [
|
|
@@ -3,9 +3,12 @@
|
|
|
3
3
|
"type": "object",
|
|
4
4
|
"additionalProperties": false,
|
|
5
5
|
"required": [
|
|
6
|
+
"vin",
|
|
6
7
|
"techRecord_vehicleSubclass",
|
|
7
8
|
"techRecord_vehicleType",
|
|
8
|
-
"
|
|
9
|
+
"techRecord_statusCode",
|
|
10
|
+
"techRecord_noOfAxles",
|
|
11
|
+
"techRecord_reasonForCreation"
|
|
9
12
|
],
|
|
10
13
|
"properties": {
|
|
11
14
|
"vin": {
|
|
@@ -17,35 +20,19 @@
|
|
|
17
20
|
"string"
|
|
18
21
|
]
|
|
19
22
|
},
|
|
20
|
-
"trailerId": {
|
|
21
|
-
"type": [
|
|
22
|
-
"string",
|
|
23
|
-
"null"
|
|
24
|
-
]
|
|
25
|
-
},
|
|
26
23
|
"techRecord_reasonForCreation": {
|
|
27
|
-
"type":
|
|
28
|
-
"string",
|
|
29
|
-
"null"
|
|
30
|
-
]
|
|
24
|
+
"type": "string"
|
|
31
25
|
},
|
|
32
26
|
"techRecord_vehicleType": {
|
|
33
27
|
"const": "car"
|
|
34
28
|
},
|
|
35
29
|
"techRecord_statusCode": {
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"type": "string",
|
|
43
|
-
"enum": [
|
|
44
|
-
"provisional",
|
|
45
|
-
"current",
|
|
46
|
-
"archived"
|
|
47
|
-
]
|
|
48
|
-
}
|
|
30
|
+
"title": "Status Code",
|
|
31
|
+
"type": "string",
|
|
32
|
+
"enum": [
|
|
33
|
+
"provisional",
|
|
34
|
+
"current",
|
|
35
|
+
"archived"
|
|
49
36
|
]
|
|
50
37
|
},
|
|
51
38
|
"techRecord_regnDate": {
|
|
@@ -61,10 +48,7 @@
|
|
|
61
48
|
]
|
|
62
49
|
},
|
|
63
50
|
"techRecord_noOfAxles": {
|
|
64
|
-
"type":
|
|
65
|
-
"integer",
|
|
66
|
-
"null"
|
|
67
|
-
]
|
|
51
|
+
"type": "integer"
|
|
68
52
|
},
|
|
69
53
|
"techRecord_notes": {
|
|
70
54
|
"type": "string"
|
|
@@ -109,6 +93,87 @@
|
|
|
109
93
|
"items": {
|
|
110
94
|
"type": "string"
|
|
111
95
|
}
|
|
96
|
+
},
|
|
97
|
+
"techRecord_euVehicleCategory": {
|
|
98
|
+
"anyOf": [
|
|
99
|
+
{
|
|
100
|
+
"title": "EU vehicle category",
|
|
101
|
+
"type": "string",
|
|
102
|
+
"enum": [
|
|
103
|
+
"m1",
|
|
104
|
+
"m2",
|
|
105
|
+
"m3",
|
|
106
|
+
"n1",
|
|
107
|
+
"n2",
|
|
108
|
+
"n3",
|
|
109
|
+
"o1",
|
|
110
|
+
"o2",
|
|
111
|
+
"o3",
|
|
112
|
+
"o4",
|
|
113
|
+
"l1e-a",
|
|
114
|
+
"l1e",
|
|
115
|
+
"l2e",
|
|
116
|
+
"l3e",
|
|
117
|
+
"l4e",
|
|
118
|
+
"l5e",
|
|
119
|
+
"l6e",
|
|
120
|
+
"l7e"
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"type": "null"
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
"techRecord_applicantDetails_name": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"maxLength": 150
|
|
131
|
+
},
|
|
132
|
+
"techRecord_applicantDetails_address1": {
|
|
133
|
+
"type": [
|
|
134
|
+
"null",
|
|
135
|
+
"string"
|
|
136
|
+
],
|
|
137
|
+
"maxLength": 60
|
|
138
|
+
},
|
|
139
|
+
"techRecord_applicantDetails_address2": {
|
|
140
|
+
"type": [
|
|
141
|
+
"null",
|
|
142
|
+
"string"
|
|
143
|
+
],
|
|
144
|
+
"maxLength": 60
|
|
145
|
+
},
|
|
146
|
+
"techRecord_applicantDetails_postTown": {
|
|
147
|
+
"type": "string",
|
|
148
|
+
"maxLength": 60
|
|
149
|
+
},
|
|
150
|
+
"techRecord_applicantDetails_address3": {
|
|
151
|
+
"type": [
|
|
152
|
+
"null",
|
|
153
|
+
"string"
|
|
154
|
+
],
|
|
155
|
+
"maxLength": 60
|
|
156
|
+
},
|
|
157
|
+
"techRecord_applicantDetails_postCode": {
|
|
158
|
+
"type": [
|
|
159
|
+
"null",
|
|
160
|
+
"string"
|
|
161
|
+
],
|
|
162
|
+
"maxLength": 12
|
|
163
|
+
},
|
|
164
|
+
"techRecord_applicantDetails_telephoneNumber": {
|
|
165
|
+
"type": [
|
|
166
|
+
"null",
|
|
167
|
+
"string"
|
|
168
|
+
],
|
|
169
|
+
"maxLength": 25
|
|
170
|
+
},
|
|
171
|
+
"techRecord_applicantDetails_emailAddress": {
|
|
172
|
+
"type": [
|
|
173
|
+
"null",
|
|
174
|
+
"string"
|
|
175
|
+
],
|
|
176
|
+
"maxLength": 255
|
|
112
177
|
}
|
|
113
178
|
}
|
|
114
179
|
}
|
|
@@ -4,47 +4,29 @@
|
|
|
4
4
|
"additionalProperties": false,
|
|
5
5
|
"required": [
|
|
6
6
|
"vin",
|
|
7
|
-
"techRecord_vehicleType"
|
|
7
|
+
"techRecord_vehicleType",
|
|
8
|
+
"techRecord_reasonForCreation"
|
|
8
9
|
],
|
|
9
10
|
"properties": {
|
|
10
11
|
"vin": {
|
|
11
12
|
"type": "string"
|
|
12
13
|
},
|
|
13
14
|
"primaryVrm": {
|
|
14
|
-
"type":
|
|
15
|
-
"null",
|
|
16
|
-
"string"
|
|
17
|
-
]
|
|
18
|
-
},
|
|
19
|
-
"trailerId": {
|
|
20
|
-
"type": [
|
|
21
|
-
"string",
|
|
22
|
-
"null"
|
|
23
|
-
]
|
|
15
|
+
"type": "string"
|
|
24
16
|
},
|
|
25
17
|
"techRecord_reasonForCreation": {
|
|
26
|
-
"type":
|
|
27
|
-
"string",
|
|
28
|
-
"null"
|
|
29
|
-
]
|
|
18
|
+
"type": "string"
|
|
30
19
|
},
|
|
31
20
|
"techRecord_vehicleType": {
|
|
32
21
|
"const": "car"
|
|
33
22
|
},
|
|
34
23
|
"techRecord_statusCode": {
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"type": "string",
|
|
42
|
-
"enum": [
|
|
43
|
-
"provisional",
|
|
44
|
-
"current",
|
|
45
|
-
"archived"
|
|
46
|
-
]
|
|
47
|
-
}
|
|
24
|
+
"title": "Status Code",
|
|
25
|
+
"type": "string",
|
|
26
|
+
"enum": [
|
|
27
|
+
"provisional",
|
|
28
|
+
"current",
|
|
29
|
+
"archived"
|
|
48
30
|
]
|
|
49
31
|
},
|
|
50
32
|
"techRecord_regnDate": {
|
|
@@ -111,6 +93,87 @@
|
|
|
111
93
|
"w"
|
|
112
94
|
]
|
|
113
95
|
}
|
|
96
|
+
},
|
|
97
|
+
"techRecord_euVehicleCategory": {
|
|
98
|
+
"anyOf": [
|
|
99
|
+
{
|
|
100
|
+
"title": "EU vehicle category",
|
|
101
|
+
"type": "string",
|
|
102
|
+
"enum": [
|
|
103
|
+
"m1",
|
|
104
|
+
"m2",
|
|
105
|
+
"m3",
|
|
106
|
+
"n1",
|
|
107
|
+
"n2",
|
|
108
|
+
"n3",
|
|
109
|
+
"o1",
|
|
110
|
+
"o2",
|
|
111
|
+
"o3",
|
|
112
|
+
"o4",
|
|
113
|
+
"l1e-a",
|
|
114
|
+
"l1e",
|
|
115
|
+
"l2e",
|
|
116
|
+
"l3e",
|
|
117
|
+
"l4e",
|
|
118
|
+
"l5e",
|
|
119
|
+
"l6e",
|
|
120
|
+
"l7e"
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"type": "null"
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
"techRecord_applicantDetails_name": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"maxLength": 150
|
|
131
|
+
},
|
|
132
|
+
"techRecord_applicantDetails_address1": {
|
|
133
|
+
"type": [
|
|
134
|
+
"null",
|
|
135
|
+
"string"
|
|
136
|
+
],
|
|
137
|
+
"maxLength": 60
|
|
138
|
+
},
|
|
139
|
+
"techRecord_applicantDetails_address2": {
|
|
140
|
+
"type": [
|
|
141
|
+
"null",
|
|
142
|
+
"string"
|
|
143
|
+
],
|
|
144
|
+
"maxLength": 60
|
|
145
|
+
},
|
|
146
|
+
"techRecord_applicantDetails_postTown": {
|
|
147
|
+
"type": "string",
|
|
148
|
+
"maxLength": 60
|
|
149
|
+
},
|
|
150
|
+
"techRecord_applicantDetails_address3": {
|
|
151
|
+
"type": [
|
|
152
|
+
"null",
|
|
153
|
+
"string"
|
|
154
|
+
],
|
|
155
|
+
"maxLength": 60
|
|
156
|
+
},
|
|
157
|
+
"techRecord_applicantDetails_postCode": {
|
|
158
|
+
"type": [
|
|
159
|
+
"null",
|
|
160
|
+
"string"
|
|
161
|
+
],
|
|
162
|
+
"maxLength": 12
|
|
163
|
+
},
|
|
164
|
+
"techRecord_applicantDetails_telephoneNumber": {
|
|
165
|
+
"type": [
|
|
166
|
+
"null",
|
|
167
|
+
"string"
|
|
168
|
+
],
|
|
169
|
+
"maxLength": 25
|
|
170
|
+
},
|
|
171
|
+
"techRecord_applicantDetails_emailAddress": {
|
|
172
|
+
"type": [
|
|
173
|
+
"null",
|
|
174
|
+
"string"
|
|
175
|
+
],
|
|
176
|
+
"maxLength": 255
|
|
114
177
|
}
|
|
115
178
|
}
|
|
116
179
|
}
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
"techRecord_numberOfWheelsDriven",
|
|
7
7
|
"techRecord_vehicleClass_description",
|
|
8
8
|
"techRecord_reasonForCreation",
|
|
9
|
-
"vin"
|
|
9
|
+
"vin",
|
|
10
|
+
"techRecord_statusCode"
|
|
10
11
|
],
|
|
11
12
|
"properties": {
|
|
12
13
|
"secondaryVrms": {
|
|
@@ -157,19 +158,12 @@
|
|
|
157
158
|
]
|
|
158
159
|
},
|
|
159
160
|
"techRecord_statusCode": {
|
|
160
|
-
"
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
"type": "string",
|
|
167
|
-
"enum": [
|
|
168
|
-
"provisional",
|
|
169
|
-
"current",
|
|
170
|
-
"archived"
|
|
171
|
-
]
|
|
172
|
-
}
|
|
161
|
+
"title": "Status Code",
|
|
162
|
+
"type": "string",
|
|
163
|
+
"enum": [
|
|
164
|
+
"provisional",
|
|
165
|
+
"current",
|
|
166
|
+
"archived"
|
|
173
167
|
]
|
|
174
168
|
},
|
|
175
169
|
"techRecord_vehicleClass_description": {
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
"required": [
|
|
6
6
|
"techRecord_vehicleClass_description",
|
|
7
7
|
"techRecord_reasonForCreation",
|
|
8
|
-
"vin"
|
|
8
|
+
"vin",
|
|
9
|
+
"techRecord_statusCode"
|
|
9
10
|
],
|
|
10
11
|
"properties": {
|
|
11
12
|
"techRecord_applicantDetails_name": {
|
|
@@ -147,19 +148,12 @@
|
|
|
147
148
|
]
|
|
148
149
|
},
|
|
149
150
|
"techRecord_statusCode": {
|
|
150
|
-
"
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
"type": "string",
|
|
157
|
-
"enum": [
|
|
158
|
-
"provisional",
|
|
159
|
-
"current",
|
|
160
|
-
"archived"
|
|
161
|
-
]
|
|
162
|
-
}
|
|
151
|
+
"title": "Status Code",
|
|
152
|
+
"type": "string",
|
|
153
|
+
"enum": [
|
|
154
|
+
"provisional",
|
|
155
|
+
"current",
|
|
156
|
+
"archived"
|
|
163
157
|
]
|
|
164
158
|
},
|
|
165
159
|
"techRecord_vehicleClass_description": {
|
package/package.json
CHANGED
|
@@ -51,22 +51,22 @@ export interface TechRecordGETCarComplete {
|
|
|
51
51
|
techRecord_applicantDetails_emailAddress?: null | string;
|
|
52
52
|
createdTimestamp: string;
|
|
53
53
|
partialVin?: null | string;
|
|
54
|
-
primaryVrm
|
|
54
|
+
primaryVrm: string;
|
|
55
55
|
systemNumber: string;
|
|
56
|
-
techRecord_createdAt
|
|
57
|
-
techRecord_createdById
|
|
58
|
-
techRecord_createdByName
|
|
56
|
+
techRecord_createdAt: string;
|
|
57
|
+
techRecord_createdById: string;
|
|
58
|
+
techRecord_createdByName: string;
|
|
59
59
|
techRecord_euVehicleCategory?: null | EUVehicleCategory;
|
|
60
60
|
techRecord_lastUpdatedAt?: string | null;
|
|
61
61
|
techRecord_lastUpdatedById?: string | null;
|
|
62
62
|
techRecord_lastUpdatedByName?: string | null;
|
|
63
63
|
techRecord_manufactureYear?: number | null;
|
|
64
|
-
techRecord_recordCompleteness?:
|
|
65
|
-
techRecord_noOfAxles
|
|
64
|
+
techRecord_recordCompleteness?: "complete";
|
|
65
|
+
techRecord_noOfAxles: number;
|
|
66
66
|
techRecord_notes?: null | string;
|
|
67
|
-
techRecord_reasonForCreation
|
|
67
|
+
techRecord_reasonForCreation: string;
|
|
68
68
|
techRecord_regnDate?: string | null;
|
|
69
|
-
techRecord_statusCode
|
|
69
|
+
techRecord_statusCode: null | StatusCode;
|
|
70
70
|
techRecord_vehicleConfiguration?: null | VehicleConfiguration;
|
|
71
71
|
techRecord_vehicleType: "car";
|
|
72
72
|
vin: string;
|
|
@@ -51,20 +51,20 @@ export interface TechRecordGETCarSkeleton {
|
|
|
51
51
|
techRecord_applicantDetails_emailAddress?: null | string;
|
|
52
52
|
createdTimestamp: string;
|
|
53
53
|
partialVin?: null | string;
|
|
54
|
-
primaryVrm
|
|
54
|
+
primaryVrm: string;
|
|
55
55
|
systemNumber: string;
|
|
56
|
-
techRecord_createdAt
|
|
57
|
-
techRecord_createdById
|
|
58
|
-
techRecord_createdByName
|
|
56
|
+
techRecord_createdAt: string;
|
|
57
|
+
techRecord_createdById: string;
|
|
58
|
+
techRecord_createdByName: string;
|
|
59
59
|
techRecord_euVehicleCategory?: null | EUVehicleCategory;
|
|
60
60
|
techRecord_lastUpdatedAt?: string | null;
|
|
61
61
|
techRecord_lastUpdatedById?: string | null;
|
|
62
62
|
techRecord_lastUpdatedByName?: string | null;
|
|
63
63
|
techRecord_manufactureYear?: number | null;
|
|
64
|
-
techRecord_recordCompleteness?:
|
|
64
|
+
techRecord_recordCompleteness?: "skeleton";
|
|
65
65
|
techRecord_noOfAxles?: null | number;
|
|
66
66
|
techRecord_notes?: null | string;
|
|
67
|
-
techRecord_reasonForCreation?:
|
|
67
|
+
techRecord_reasonForCreation?: string;
|
|
68
68
|
techRecord_regnDate?: string | null;
|
|
69
69
|
techRecord_statusCode?: null | StatusCode;
|
|
70
70
|
techRecord_vehicleConfiguration?: null | VehicleConfiguration;
|
|
@@ -7,20 +7,47 @@
|
|
|
7
7
|
|
|
8
8
|
export type StatusCode = "provisional" | "current" | "archived";
|
|
9
9
|
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
10
|
+
export type EUVehicleCategory =
|
|
11
|
+
| "m1"
|
|
12
|
+
| "m2"
|
|
13
|
+
| "m3"
|
|
14
|
+
| "n1"
|
|
15
|
+
| "n2"
|
|
16
|
+
| "n3"
|
|
17
|
+
| "o1"
|
|
18
|
+
| "o2"
|
|
19
|
+
| "o3"
|
|
20
|
+
| "o4"
|
|
21
|
+
| "l1e-a"
|
|
22
|
+
| "l1e"
|
|
23
|
+
| "l2e"
|
|
24
|
+
| "l3e"
|
|
25
|
+
| "l4e"
|
|
26
|
+
| "l5e"
|
|
27
|
+
| "l6e"
|
|
28
|
+
| "l7e";
|
|
10
29
|
|
|
11
30
|
export interface TechRecordPUTCarComplete {
|
|
12
31
|
vin: string;
|
|
13
32
|
primaryVrm?: null | string;
|
|
14
|
-
|
|
15
|
-
techRecord_reasonForCreation?: string | null;
|
|
33
|
+
techRecord_reasonForCreation: string;
|
|
16
34
|
techRecord_vehicleType: "car";
|
|
17
|
-
techRecord_statusCode
|
|
35
|
+
techRecord_statusCode: StatusCode;
|
|
18
36
|
techRecord_regnDate?: string | null;
|
|
19
37
|
techRecord_manufactureYear?: number | null;
|
|
20
|
-
techRecord_noOfAxles
|
|
38
|
+
techRecord_noOfAxles: number;
|
|
21
39
|
techRecord_notes?: string;
|
|
22
40
|
techRecord_vehicleSubclass: VehicleSubclass;
|
|
23
41
|
techRecord_hiddenInVta?: null | boolean;
|
|
24
42
|
techRecord_updateType?: null | string;
|
|
25
43
|
secondaryVrms?: null | string[];
|
|
44
|
+
techRecord_euVehicleCategory?: EUVehicleCategory | null;
|
|
45
|
+
techRecord_applicantDetails_name?: string;
|
|
46
|
+
techRecord_applicantDetails_address1?: null | string;
|
|
47
|
+
techRecord_applicantDetails_address2?: null | string;
|
|
48
|
+
techRecord_applicantDetails_postTown?: string;
|
|
49
|
+
techRecord_applicantDetails_address3?: null | string;
|
|
50
|
+
techRecord_applicantDetails_postCode?: null | string;
|
|
51
|
+
techRecord_applicantDetails_telephoneNumber?: null | string;
|
|
52
|
+
techRecord_applicantDetails_emailAddress?: null | string;
|
|
26
53
|
}
|
|
@@ -7,14 +7,32 @@
|
|
|
7
7
|
|
|
8
8
|
export type StatusCode = "provisional" | "current" | "archived";
|
|
9
9
|
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
10
|
+
export type EUVehicleCategory =
|
|
11
|
+
| "m1"
|
|
12
|
+
| "m2"
|
|
13
|
+
| "m3"
|
|
14
|
+
| "n1"
|
|
15
|
+
| "n2"
|
|
16
|
+
| "n3"
|
|
17
|
+
| "o1"
|
|
18
|
+
| "o2"
|
|
19
|
+
| "o3"
|
|
20
|
+
| "o4"
|
|
21
|
+
| "l1e-a"
|
|
22
|
+
| "l1e"
|
|
23
|
+
| "l2e"
|
|
24
|
+
| "l3e"
|
|
25
|
+
| "l4e"
|
|
26
|
+
| "l5e"
|
|
27
|
+
| "l6e"
|
|
28
|
+
| "l7e";
|
|
10
29
|
|
|
11
30
|
export interface TechRecordPUTCarSkeleton {
|
|
12
31
|
vin: string;
|
|
13
|
-
primaryVrm?:
|
|
14
|
-
|
|
15
|
-
techRecord_reasonForCreation?: string | null;
|
|
32
|
+
primaryVrm?: string;
|
|
33
|
+
techRecord_reasonForCreation: string;
|
|
16
34
|
techRecord_vehicleType: "car";
|
|
17
|
-
techRecord_statusCode?:
|
|
35
|
+
techRecord_statusCode?: StatusCode;
|
|
18
36
|
techRecord_regnDate?: string | null;
|
|
19
37
|
techRecord_manufactureYear?: number | null;
|
|
20
38
|
techRecord_noOfAxles?: number | null;
|
|
@@ -23,4 +41,13 @@ export interface TechRecordPUTCarSkeleton {
|
|
|
23
41
|
techRecord_updateType?: null | string;
|
|
24
42
|
secondaryVrms?: null | string[];
|
|
25
43
|
techRecord_vehicleSubclass?: VehicleSubclass;
|
|
44
|
+
techRecord_euVehicleCategory?: EUVehicleCategory | null;
|
|
45
|
+
techRecord_applicantDetails_name?: string;
|
|
46
|
+
techRecord_applicantDetails_address1?: null | string;
|
|
47
|
+
techRecord_applicantDetails_address2?: null | string;
|
|
48
|
+
techRecord_applicantDetails_postTown?: string;
|
|
49
|
+
techRecord_applicantDetails_address3?: null | string;
|
|
50
|
+
techRecord_applicantDetails_postCode?: null | string;
|
|
51
|
+
techRecord_applicantDetails_telephoneNumber?: null | string;
|
|
52
|
+
techRecord_applicantDetails_emailAddress?: null | string;
|
|
26
53
|
}
|
|
@@ -42,7 +42,7 @@ export interface TechRecordPUTLGVComplete {
|
|
|
42
42
|
techRecord_euVehicleCategory?: EUVehicleCategory | null;
|
|
43
43
|
techRecord_reasonForCreation?: string | null;
|
|
44
44
|
techRecord_vehicleType: "lgv";
|
|
45
|
-
techRecord_statusCode
|
|
45
|
+
techRecord_statusCode: StatusCode;
|
|
46
46
|
techRecord_regnDate?: string | null;
|
|
47
47
|
techRecord_manufactureYear?: number | null;
|
|
48
48
|
techRecord_noOfAxles?: number | null;
|
|
@@ -42,7 +42,7 @@ export interface TechRecordPUTLGVSkeleton {
|
|
|
42
42
|
techRecord_euVehicleCategory?: EUVehicleCategory | null;
|
|
43
43
|
techRecord_reasonForCreation?: string | null;
|
|
44
44
|
techRecord_vehicleType: "lgv";
|
|
45
|
-
techRecord_statusCode
|
|
45
|
+
techRecord_statusCode: StatusCode;
|
|
46
46
|
techRecord_regnDate?: string | null;
|
|
47
47
|
techRecord_manufactureYear?: number | null;
|
|
48
48
|
techRecord_noOfAxles?: number | null;
|
|
@@ -71,7 +71,7 @@ export interface TechRecordPUTMotorcycleComplete {
|
|
|
71
71
|
techRecord_notes?: null | string;
|
|
72
72
|
techRecord_reasonForCreation: string;
|
|
73
73
|
techRecord_regnDate?: string | null;
|
|
74
|
-
techRecord_statusCode
|
|
74
|
+
techRecord_statusCode: StatusCode;
|
|
75
75
|
techRecord_vehicleClass_description: VehicleClassDescription;
|
|
76
76
|
techRecord_vehicleConfiguration?: null | VehicleConfiguration;
|
|
77
77
|
techRecord_vehicleType?: "motorcycle";
|
|
@@ -70,7 +70,7 @@ export interface TechRecordPUTMotorcycleSkeleton {
|
|
|
70
70
|
techRecord_notes?: null | string;
|
|
71
71
|
techRecord_reasonForCreation: string;
|
|
72
72
|
techRecord_regnDate?: string | null;
|
|
73
|
-
techRecord_statusCode
|
|
73
|
+
techRecord_statusCode: StatusCode;
|
|
74
74
|
techRecord_vehicleClass_description: VehicleClassDescription;
|
|
75
75
|
techRecord_vehicleConfiguration?: null | VehicleConfiguration;
|
|
76
76
|
techRecord_vehicleType?: "motorcycle";
|