@dvsa/cvs-type-definitions 2.0.25 → 2.0.28
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 +2 -2
- package/json-schemas/v3/tech-record/get/hgv/complete/index.json +1 -1
- package/json-schemas/v3/tech-record/get/hgv/skeleton/index.json +1 -1
- package/json-schemas/v3/tech-record/get/hgv/testable/index.json +1 -1
- package/json-schemas/v3/tech-record/get/lgv/complete/index.json +4 -4
- package/json-schemas/v3/tech-record/get/motorcycle/complete/index.json +2 -2
- package/json-schemas/v3/tech-record/get/trl/complete/index.json +1 -1
- package/json-schemas/v3/tech-record/get/trl/skeleton/index.json +1 -1
- package/json-schemas/v3/tech-record/get/trl/testable/index.json +1 -1
- package/json-schemas/v3/tech-record/put/car/complete/index.json +11 -2
- package/json-schemas/v3/tech-record/put/car/skeleton/index.json +10 -1
- package/json-schemas/v3/tech-record/put/hgv/complete/index.json +10 -1
- package/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +10 -1
- package/json-schemas/v3/tech-record/put/hgv/testable/index.json +10 -1
- package/json-schemas/v3/tech-record/put/lgv/complete/index.json +13 -4
- package/json-schemas/v3/tech-record/put/lgv/skeleton/index.json +10 -1
- package/json-schemas/v3/tech-record/put/trl/complete/index.json +10 -1
- package/json-schemas/v3/tech-record/put/trl/skeleton/index.json +10 -1
- package/json-schemas/v3/tech-record/put/trl/testable/index.json +10 -1
- package/package.json +1 -1
- package/types/v3/tech-record/get/car/complete/index.d.ts +1 -1
- package/types/v3/tech-record/get/hgv/complete/index.d.ts +2 -2
- package/types/v3/tech-record/get/hgv/skeleton/index.d.ts +2 -2
- package/types/v3/tech-record/get/hgv/testable/index.d.ts +2 -2
- package/types/v3/tech-record/get/lgv/complete/index.d.ts +3 -3
- package/types/v3/tech-record/get/motorcycle/complete/index.d.ts +1 -1
- package/types/v3/tech-record/get/trl/complete/index.d.ts +2 -2
- package/types/v3/tech-record/get/trl/skeleton/index.d.ts +2 -2
- package/types/v3/tech-record/get/trl/testable/index.d.ts +2 -2
- package/types/v3/tech-record/put/car/complete/index.d.ts +4 -1
- package/types/v3/tech-record/put/car/skeleton/index.d.ts +4 -1
- package/types/v3/tech-record/put/hgv/complete/index.d.ts +5 -2
- package/types/v3/tech-record/put/hgv/skeleton/index.d.ts +5 -2
- package/types/v3/tech-record/put/hgv/testable/index.d.ts +5 -2
- package/types/v3/tech-record/put/lgv/complete/index.d.ts +5 -2
- package/types/v3/tech-record/put/lgv/skeleton/index.d.ts +4 -1
- package/types/v3/tech-record/put/trl/complete/index.d.ts +5 -2
- package/types/v3/tech-record/put/trl/skeleton/index.d.ts +5 -2
- package/types/v3/tech-record/put/trl/testable/index.d.ts +5 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"type": "object",
|
|
4
4
|
"additionalProperties": false,
|
|
5
5
|
"required": [
|
|
6
|
-
"
|
|
6
|
+
"techRecord_vehicleSubclass",
|
|
7
7
|
"createdTimestamp",
|
|
8
8
|
"systemNumber",
|
|
9
9
|
"vin"
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
"vin": {
|
|
197
197
|
"type": "string"
|
|
198
198
|
},
|
|
199
|
-
"
|
|
199
|
+
"techRecord_vehicleSubclass": {
|
|
200
200
|
"title": "Vehicle Subclass",
|
|
201
201
|
"type": "array",
|
|
202
202
|
"items": {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"title": "Tech Record Complete
|
|
2
|
+
"title": "Tech Record Complete LGV Schema",
|
|
3
3
|
"type": "object",
|
|
4
4
|
"additionalProperties": false,
|
|
5
5
|
"required": [
|
|
6
|
-
"
|
|
6
|
+
"techRecord_vehicleSubclass"
|
|
7
7
|
],
|
|
8
8
|
"allOf": [
|
|
9
9
|
{
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"type": "object",
|
|
12
12
|
"additionalProperties": false,
|
|
13
13
|
"required": [
|
|
14
|
-
"
|
|
14
|
+
"techRecord_vehicleSubclass",
|
|
15
15
|
"createdTimestamp",
|
|
16
16
|
"systemNumber",
|
|
17
17
|
"vin"
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
"vin": {
|
|
205
205
|
"type": "string"
|
|
206
206
|
},
|
|
207
|
-
"
|
|
207
|
+
"techRecord_vehicleSubclass": {
|
|
208
208
|
"title": "Vehicle Subclass",
|
|
209
209
|
"type": "array",
|
|
210
210
|
"items": {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"type": "object",
|
|
4
4
|
"additionalProperties": false,
|
|
5
5
|
"required": [
|
|
6
|
-
"
|
|
6
|
+
"techRecord_vehicleSubclass",
|
|
7
7
|
"createdTimestamp",
|
|
8
8
|
"systemNumber",
|
|
9
9
|
"vin"
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
"vin": {
|
|
197
197
|
"type": "string"
|
|
198
198
|
},
|
|
199
|
-
"
|
|
199
|
+
"techRecord_vehicleSubclass": {
|
|
200
200
|
"title": "Vehicle Subclass",
|
|
201
201
|
"type": "array",
|
|
202
202
|
"items": {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"type": "object",
|
|
4
4
|
"additionalProperties": false,
|
|
5
5
|
"required": [
|
|
6
|
-
"
|
|
6
|
+
"techRecord_vehicleSubclass",
|
|
7
7
|
"vin"
|
|
8
8
|
],
|
|
9
9
|
"properties": {
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"techRecord_notes": {
|
|
68
68
|
"type": "string"
|
|
69
69
|
},
|
|
70
|
-
"
|
|
70
|
+
"techRecord_vehicleSubclass": {
|
|
71
71
|
"title": "Vehicle Subclass",
|
|
72
72
|
"type": "array",
|
|
73
73
|
"items": {
|
|
@@ -92,6 +92,15 @@
|
|
|
92
92
|
},
|
|
93
93
|
"techRecord_updateType": {
|
|
94
94
|
"type": "string"
|
|
95
|
+
},
|
|
96
|
+
"techRecord_createdAt": {
|
|
97
|
+
"type": "string"
|
|
98
|
+
},
|
|
99
|
+
"techRecord_createdById": {
|
|
100
|
+
"type": "string"
|
|
101
|
+
},
|
|
102
|
+
"techRecord_createdByName": {
|
|
103
|
+
"type": "string"
|
|
95
104
|
}
|
|
96
105
|
}
|
|
97
106
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"additionalProperties": false,
|
|
5
5
|
"required": [
|
|
6
6
|
"vin",
|
|
7
|
-
"
|
|
7
|
+
"techRecord_vehicleType"
|
|
8
8
|
],
|
|
9
9
|
"properties": {
|
|
10
10
|
"vin": {
|
|
@@ -72,6 +72,15 @@
|
|
|
72
72
|
},
|
|
73
73
|
"techRecord_updateType": {
|
|
74
74
|
"type": "string"
|
|
75
|
+
},
|
|
76
|
+
"techRecord_createdAt": {
|
|
77
|
+
"type": "string"
|
|
78
|
+
},
|
|
79
|
+
"techRecord_createdById": {
|
|
80
|
+
"type": "string"
|
|
81
|
+
},
|
|
82
|
+
"techRecord_createdByName": {
|
|
83
|
+
"type": "string"
|
|
75
84
|
}
|
|
76
85
|
}
|
|
77
86
|
}
|
|
@@ -50,6 +50,15 @@
|
|
|
50
50
|
"partialVin": {
|
|
51
51
|
"type": "string"
|
|
52
52
|
},
|
|
53
|
+
"techRecord_createdAt": {
|
|
54
|
+
"type": "string"
|
|
55
|
+
},
|
|
56
|
+
"techRecord_createdById": {
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
"techRecord_createdByName": {
|
|
60
|
+
"type": "string"
|
|
61
|
+
},
|
|
53
62
|
"techRecord_adrDetails_vehicleDetails_type": {
|
|
54
63
|
"type": [
|
|
55
64
|
"string",
|
|
@@ -694,7 +703,7 @@
|
|
|
694
703
|
"type": "null"
|
|
695
704
|
},
|
|
696
705
|
{
|
|
697
|
-
"title": "Microfilm Document
|
|
706
|
+
"title": "Microfilm Document Type",
|
|
698
707
|
"type": "string",
|
|
699
708
|
"enum": [
|
|
700
709
|
"PSV Miscellaneous",
|
|
@@ -14,6 +14,15 @@
|
|
|
14
14
|
"partialVin": {
|
|
15
15
|
"type": "string"
|
|
16
16
|
},
|
|
17
|
+
"techRecord_createdAt": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"techRecord_createdById": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"techRecord_createdByName": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
17
26
|
"techRecord_adrDetails_vehicleDetails_type": {
|
|
18
27
|
"type": [
|
|
19
28
|
"string",
|
|
@@ -731,7 +740,7 @@
|
|
|
731
740
|
"type": "null"
|
|
732
741
|
},
|
|
733
742
|
{
|
|
734
|
-
"title": "Microfilm Document
|
|
743
|
+
"title": "Microfilm Document Type",
|
|
735
744
|
"type": "string",
|
|
736
745
|
"enum": [
|
|
737
746
|
"PSV Miscellaneous",
|
|
@@ -18,6 +18,15 @@
|
|
|
18
18
|
"partialVin": {
|
|
19
19
|
"type": "string"
|
|
20
20
|
},
|
|
21
|
+
"techRecord_createdAt": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"techRecord_createdById": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"techRecord_createdByName": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
21
30
|
"techRecord_adrDetails_vehicleDetails_type": {
|
|
22
31
|
"type": [
|
|
23
32
|
"string",
|
|
@@ -732,7 +741,7 @@
|
|
|
732
741
|
"type": "null"
|
|
733
742
|
},
|
|
734
743
|
{
|
|
735
|
-
"title": "Microfilm Document
|
|
744
|
+
"title": "Microfilm Document Type",
|
|
736
745
|
"type": "string",
|
|
737
746
|
"enum": [
|
|
738
747
|
"PSV Miscellaneous",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"title": "Tech Record Complete
|
|
2
|
+
"title": "Tech Record Complete LGV Schema",
|
|
3
3
|
"type": "object",
|
|
4
4
|
"additionalProperties": false,
|
|
5
5
|
"required": [
|
|
6
|
-
"
|
|
6
|
+
"techRecord_vehicleSubclass"
|
|
7
7
|
],
|
|
8
8
|
"allOf": [
|
|
9
9
|
{
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"type": "object",
|
|
12
12
|
"additionalProperties": false,
|
|
13
13
|
"required": [
|
|
14
|
-
"
|
|
14
|
+
"techRecord_vehicleSubclass",
|
|
15
15
|
"vin"
|
|
16
16
|
],
|
|
17
17
|
"properties": {
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"techRecord_notes": {
|
|
76
76
|
"type": "string"
|
|
77
77
|
},
|
|
78
|
-
"
|
|
78
|
+
"techRecord_vehicleSubclass": {
|
|
79
79
|
"title": "Vehicle Subclass",
|
|
80
80
|
"type": "array",
|
|
81
81
|
"items": {
|
|
@@ -100,6 +100,15 @@
|
|
|
100
100
|
},
|
|
101
101
|
"techRecord_updateType": {
|
|
102
102
|
"type": "string"
|
|
103
|
+
},
|
|
104
|
+
"techRecord_createdAt": {
|
|
105
|
+
"type": "string"
|
|
106
|
+
},
|
|
107
|
+
"techRecord_createdById": {
|
|
108
|
+
"type": "string"
|
|
109
|
+
},
|
|
110
|
+
"techRecord_createdByName": {
|
|
111
|
+
"type": "string"
|
|
103
112
|
}
|
|
104
113
|
}
|
|
105
114
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"additionalProperties": false,
|
|
10
10
|
"required": [
|
|
11
11
|
"vin",
|
|
12
|
-
"
|
|
12
|
+
"techRecord_vehicleType"
|
|
13
13
|
],
|
|
14
14
|
"properties": {
|
|
15
15
|
"vin": {
|
|
@@ -77,6 +77,15 @@
|
|
|
77
77
|
},
|
|
78
78
|
"techRecord_updateType": {
|
|
79
79
|
"type": "string"
|
|
80
|
+
},
|
|
81
|
+
"techRecord_createdAt": {
|
|
82
|
+
"type": "string"
|
|
83
|
+
},
|
|
84
|
+
"techRecord_createdById": {
|
|
85
|
+
"type": "string"
|
|
86
|
+
},
|
|
87
|
+
"techRecord_createdByName": {
|
|
88
|
+
"type": "string"
|
|
80
89
|
}
|
|
81
90
|
}
|
|
82
91
|
}
|
|
@@ -37,6 +37,15 @@
|
|
|
37
37
|
"partialVin": {
|
|
38
38
|
"type": "string"
|
|
39
39
|
},
|
|
40
|
+
"techRecord_createdAt": {
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
"techRecord_createdById": {
|
|
44
|
+
"type": "string"
|
|
45
|
+
},
|
|
46
|
+
"techRecord_createdByName": {
|
|
47
|
+
"type": "string"
|
|
48
|
+
},
|
|
40
49
|
"techRecord_adrDetails_vehicleDetails_type": {
|
|
41
50
|
"type": [
|
|
42
51
|
"string",
|
|
@@ -774,7 +783,7 @@
|
|
|
774
783
|
"type": "null"
|
|
775
784
|
},
|
|
776
785
|
{
|
|
777
|
-
"title": "Microfilm Document
|
|
786
|
+
"title": "Microfilm Document Type",
|
|
778
787
|
"type": "string",
|
|
779
788
|
"enum": [
|
|
780
789
|
"PSV Miscellaneous",
|
|
@@ -17,6 +17,15 @@
|
|
|
17
17
|
"partialVin": {
|
|
18
18
|
"type": "string"
|
|
19
19
|
},
|
|
20
|
+
"techRecord_createdAt": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"techRecord_createdById": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"techRecord_createdByName": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
20
29
|
"techRecord_adrDetails_vehicleDetails_type": {
|
|
21
30
|
"type": [
|
|
22
31
|
"string",
|
|
@@ -643,7 +652,7 @@
|
|
|
643
652
|
"type": "null"
|
|
644
653
|
},
|
|
645
654
|
{
|
|
646
|
-
"title": "Microfilm Document
|
|
655
|
+
"title": "Microfilm Document Type",
|
|
647
656
|
"type": "string",
|
|
648
657
|
"enum": [
|
|
649
658
|
"PSV Miscellaneous",
|
|
@@ -22,6 +22,15 @@
|
|
|
22
22
|
"partialVin": {
|
|
23
23
|
"type": "string"
|
|
24
24
|
},
|
|
25
|
+
"techRecord_createdAt": {
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
28
|
+
"techRecord_createdById": {
|
|
29
|
+
"type": "string"
|
|
30
|
+
},
|
|
31
|
+
"techRecord_createdByName": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
25
34
|
"techRecord_adrDetails_vehicleDetails_type": {
|
|
26
35
|
"type": [
|
|
27
36
|
"string",
|
|
@@ -651,7 +660,7 @@
|
|
|
651
660
|
"type": "null"
|
|
652
661
|
},
|
|
653
662
|
{
|
|
654
|
-
"title": "Microfilm Document
|
|
663
|
+
"title": "Microfilm Document Type",
|
|
655
664
|
"type": "string",
|
|
656
665
|
"enum": [
|
|
657
666
|
"PSV Miscellaneous",
|
package/package.json
CHANGED
|
@@ -71,7 +71,7 @@ export interface TechRecordCompleteCarSchema {
|
|
|
71
71
|
techRecord_vehicleConfiguration?: VehicleConfiguration;
|
|
72
72
|
techRecord_vehicleType?: VehicleType;
|
|
73
73
|
vin: string;
|
|
74
|
-
|
|
74
|
+
techRecord_vehicleSubclass: VehicleSubclass;
|
|
75
75
|
techRecord_hiddenInVta?: boolean;
|
|
76
76
|
techRecord_updateType?: string;
|
|
77
77
|
}
|
|
@@ -37,7 +37,7 @@ export type FuelPropulsionSystem =
|
|
|
37
37
|
| "Fuel cell"
|
|
38
38
|
| "LNG"
|
|
39
39
|
| "Other";
|
|
40
|
-
export type
|
|
40
|
+
export type MicrofilmDocumentType =
|
|
41
41
|
| "PSV Miscellaneous"
|
|
42
42
|
| "AAT - Trailer Annual Test"
|
|
43
43
|
| "AIV - HGV International App"
|
|
@@ -230,7 +230,7 @@ export interface GETHGVTechnicalRecordV3Complete {
|
|
|
230
230
|
techRecord_maxTrainEecWeight?: number | null;
|
|
231
231
|
techRecord_maxTrainDesignWeight?: number | null;
|
|
232
232
|
techRecord_manufactureYear: number;
|
|
233
|
-
techRecord_microfilm_microfilmDocumentType?: null |
|
|
233
|
+
techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
|
|
234
234
|
techRecord_microfilm_microfilmRollNumber?: string | null;
|
|
235
235
|
techRecord_microfilm_microfilmSerialNumber?: string | null;
|
|
236
236
|
techRecord_model: string;
|
|
@@ -37,7 +37,7 @@ export type FuelPropulsionSystem =
|
|
|
37
37
|
| "Fuel cell"
|
|
38
38
|
| "LNG"
|
|
39
39
|
| "Other";
|
|
40
|
-
export type
|
|
40
|
+
export type MicrofilmDocumentType =
|
|
41
41
|
| "PSV Miscellaneous"
|
|
42
42
|
| "AAT - Trailer Annual Test"
|
|
43
43
|
| "AIV - HGV International App"
|
|
@@ -230,7 +230,7 @@ export interface GETHGVTechnicalRecordV3Skeleton {
|
|
|
230
230
|
techRecord_maxTrainEecWeight?: number | null;
|
|
231
231
|
techRecord_maxTrainDesignWeight?: number | null;
|
|
232
232
|
techRecord_manufactureYear?: number | null;
|
|
233
|
-
techRecord_microfilm_microfilmDocumentType?: null |
|
|
233
|
+
techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
|
|
234
234
|
techRecord_microfilm_microfilmRollNumber?: string | null;
|
|
235
235
|
techRecord_microfilm_microfilmSerialNumber?: string | null;
|
|
236
236
|
techRecord_model?: string | null;
|
|
@@ -37,7 +37,7 @@ export type FuelPropulsionSystem =
|
|
|
37
37
|
| "Fuel cell"
|
|
38
38
|
| "LNG"
|
|
39
39
|
| "Other";
|
|
40
|
-
export type
|
|
40
|
+
export type MicrofilmDocumentType =
|
|
41
41
|
| "PSV Miscellaneous"
|
|
42
42
|
| "AAT - Trailer Annual Test"
|
|
43
43
|
| "AIV - HGV International App"
|
|
@@ -230,7 +230,7 @@ export interface GETHGVTechnicalRecordV3Testable {
|
|
|
230
230
|
techRecord_maxTrainEecWeight?: number | null;
|
|
231
231
|
techRecord_maxTrainDesignWeight?: number | null;
|
|
232
232
|
techRecord_manufactureYear?: number | null;
|
|
233
|
-
techRecord_microfilm_microfilmDocumentType?: null |
|
|
233
|
+
techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
|
|
234
234
|
techRecord_microfilm_microfilmRollNumber?: string | null;
|
|
235
235
|
techRecord_microfilm_microfilmSerialNumber?: string | null;
|
|
236
236
|
techRecord_model?: string | null;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* and run json-schema-to-typescript to regenerate this file.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
export type
|
|
8
|
+
export type TechRecordCompleteLGVSchema = TechRecordCompleteCarSchema;
|
|
9
9
|
export type EUVehicleCategory =
|
|
10
10
|
| "m1"
|
|
11
11
|
| "m2"
|
|
@@ -42,7 +42,7 @@ export type VehicleConfiguration =
|
|
|
42
42
|
export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
|
|
43
43
|
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
44
44
|
|
|
45
|
-
export interface
|
|
45
|
+
export interface TechRecordCompleteCarSchema {
|
|
46
46
|
techRecord_applicantDetails_name?: string | null;
|
|
47
47
|
techRecord_applicantDetails_address1?: null | string;
|
|
48
48
|
techRecord_applicantDetails_address2?: null | string;
|
|
@@ -72,7 +72,7 @@ export interface TechRecordCompleteCarSchema1 {
|
|
|
72
72
|
techRecord_vehicleConfiguration?: VehicleConfiguration;
|
|
73
73
|
techRecord_vehicleType?: VehicleType;
|
|
74
74
|
vin: string;
|
|
75
|
-
|
|
75
|
+
techRecord_vehicleSubclass: VehicleSubclass;
|
|
76
76
|
techRecord_hiddenInVta?: boolean;
|
|
77
77
|
techRecord_updateType?: string;
|
|
78
78
|
}
|
|
@@ -71,7 +71,7 @@ export interface TechRecordCompleteMotorcycleSchema {
|
|
|
71
71
|
techRecord_vehicleConfiguration?: VehicleConfiguration;
|
|
72
72
|
techRecord_vehicleType?: VehicleType;
|
|
73
73
|
vin: string;
|
|
74
|
-
|
|
74
|
+
techRecord_vehicleSubclass: VehicleSubclass;
|
|
75
75
|
numberOfWheelsDriven?: number;
|
|
76
76
|
techRecord_hiddenInVta?: boolean;
|
|
77
77
|
techRecord_updateType?: string;
|
|
@@ -71,7 +71,7 @@ export type FuelPropulsionSystem =
|
|
|
71
71
|
| "Fuel cell"
|
|
72
72
|
| "LNG"
|
|
73
73
|
| "Other";
|
|
74
|
-
export type
|
|
74
|
+
export type MicrofilmDocumentType =
|
|
75
75
|
| "PSV Miscellaneous"
|
|
76
76
|
| "AAT - Trailer Annual Test"
|
|
77
77
|
| "AIV - HGV International App"
|
|
@@ -279,7 +279,7 @@ export interface GETTRLTechnicalRecordV3Complete {
|
|
|
279
279
|
techRecord_manufacturerDetails?: string | null;
|
|
280
280
|
techRecord_maxLoadOnCoupling: number | null;
|
|
281
281
|
techRecord_microfilm?: string | null;
|
|
282
|
-
techRecord_microfilm_microfilmDocumentType?: null |
|
|
282
|
+
techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
|
|
283
283
|
techRecord_microfilm_microfilmRollNumber?: string | null;
|
|
284
284
|
techRecord_microfilm_microfilmSerialNumber?: string | null;
|
|
285
285
|
techRecord_model: string | null;
|
|
@@ -36,7 +36,7 @@ export type FrameDescription =
|
|
|
36
36
|
| "integral"
|
|
37
37
|
| "Box section"
|
|
38
38
|
| "U section";
|
|
39
|
-
export type
|
|
39
|
+
export type MicrofilmDocumentType =
|
|
40
40
|
| "PSV Miscellaneous"
|
|
41
41
|
| "AAT - Trailer Annual Test"
|
|
42
42
|
| "AIV - HGV International App"
|
|
@@ -214,7 +214,7 @@ export interface GETTRLTechnicalRecordV3Skeleton {
|
|
|
214
214
|
techRecord_manufacturerDetails?: string | null;
|
|
215
215
|
techRecord_maxLoadOnCoupling?: number | null;
|
|
216
216
|
techRecord_microfilm?: string | null;
|
|
217
|
-
techRecord_microfilm_microfilmDocumentType?: null |
|
|
217
|
+
techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
|
|
218
218
|
techRecord_microfilm_microfilmRollNumber?: string | null;
|
|
219
219
|
techRecord_microfilm_microfilmSerialNumber?: string | null;
|
|
220
220
|
techRecord_model?: string | null;
|
|
@@ -36,7 +36,7 @@ export type FrameDescription =
|
|
|
36
36
|
| "integral"
|
|
37
37
|
| "Box section"
|
|
38
38
|
| "U section";
|
|
39
|
-
export type
|
|
39
|
+
export type MicrofilmDocumentType =
|
|
40
40
|
| "PSV Miscellaneous"
|
|
41
41
|
| "AAT - Trailer Annual Test"
|
|
42
42
|
| "AIV - HGV International App"
|
|
@@ -231,7 +231,7 @@ export interface GETTRLTechnicalRecordV3Testable {
|
|
|
231
231
|
techRecord_manufacturerDetails?: string | null;
|
|
232
232
|
techRecord_maxLoadOnCoupling?: number | null;
|
|
233
233
|
techRecord_microfilm?: string | null;
|
|
234
|
-
techRecord_microfilm_microfilmDocumentType?: null |
|
|
234
|
+
techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
|
|
235
235
|
techRecord_microfilm_microfilmRollNumber?: string | null;
|
|
236
236
|
techRecord_microfilm_microfilmSerialNumber?: string | null;
|
|
237
237
|
techRecord_model?: string | null;
|
|
@@ -20,7 +20,10 @@ export interface TechRecordPUTRequestCompleteCarSchema {
|
|
|
20
20
|
techRecord_manufactureYear?: string | null;
|
|
21
21
|
techRecord_noOfAxles?: number | null;
|
|
22
22
|
techRecord_notes?: string;
|
|
23
|
-
|
|
23
|
+
techRecord_vehicleSubclass: VehicleSubclass;
|
|
24
24
|
techRecord_hiddenInVta?: boolean;
|
|
25
25
|
techRecord_updateType?: string;
|
|
26
|
+
techRecord_createdAt?: string;
|
|
27
|
+
techRecord_createdById?: string;
|
|
28
|
+
techRecord_createdByName?: string;
|
|
26
29
|
}
|
|
@@ -13,7 +13,7 @@ export interface TechRecordPUTRequestSkeletonCarSchema {
|
|
|
13
13
|
primaryVrm?: string;
|
|
14
14
|
trailerId?: string | null;
|
|
15
15
|
techRecord_reasonForCreation?: string | null;
|
|
16
|
-
techRecord_vehicleType
|
|
16
|
+
techRecord_vehicleType: VehicleType;
|
|
17
17
|
techRecord_statusCode?: StatusCode;
|
|
18
18
|
techRecord_regnDate?: string | null;
|
|
19
19
|
techRecord_manufactureYear?: string | null;
|
|
@@ -21,4 +21,7 @@ export interface TechRecordPUTRequestSkeletonCarSchema {
|
|
|
21
21
|
techRecord_notes?: string;
|
|
22
22
|
techRecord_hiddenInVta?: boolean;
|
|
23
23
|
techRecord_updateType?: string;
|
|
24
|
+
techRecord_createdAt?: string;
|
|
25
|
+
techRecord_createdById?: string;
|
|
26
|
+
techRecord_createdByName?: string;
|
|
24
27
|
}
|
|
@@ -37,7 +37,7 @@ export type FuelPropulsionSystem =
|
|
|
37
37
|
| "Fuel cell"
|
|
38
38
|
| "LNG"
|
|
39
39
|
| "Other";
|
|
40
|
-
export type
|
|
40
|
+
export type MicrofilmDocumentType =
|
|
41
41
|
| "PSV Miscellaneous"
|
|
42
42
|
| "AAT - Trailer Annual Test"
|
|
43
43
|
| "AIV - HGV International App"
|
|
@@ -144,6 +144,9 @@ export type ApprovalType =
|
|
|
144
144
|
|
|
145
145
|
export interface PUTHGVTechnicalRecordV3Complete {
|
|
146
146
|
partialVin: string;
|
|
147
|
+
techRecord_createdAt?: string;
|
|
148
|
+
techRecord_createdById?: string;
|
|
149
|
+
techRecord_createdByName?: string;
|
|
147
150
|
techRecord_adrDetails_vehicleDetails_type?: string | null;
|
|
148
151
|
techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
|
|
149
152
|
techRecord_adrDetails_permittedDangerousGoods?: string[] | null;
|
|
@@ -225,7 +228,7 @@ export interface PUTHGVTechnicalRecordV3Complete {
|
|
|
225
228
|
techRecord_maxTrainEecWeight?: number | null;
|
|
226
229
|
techRecord_maxTrainDesignWeight?: number | null;
|
|
227
230
|
techRecord_manufactureYear: number;
|
|
228
|
-
techRecord_microfilm_microfilmDocumentType?: null |
|
|
231
|
+
techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
|
|
229
232
|
techRecord_microfilm_microfilmRollNumber?: string | null;
|
|
230
233
|
techRecord_microfilm_microfilmSerialNumber?: string | null;
|
|
231
234
|
techRecord_model: string;
|
|
@@ -37,7 +37,7 @@ export type FuelPropulsionSystem =
|
|
|
37
37
|
| "Fuel cell"
|
|
38
38
|
| "LNG"
|
|
39
39
|
| "Other";
|
|
40
|
-
export type
|
|
40
|
+
export type MicrofilmDocumentType =
|
|
41
41
|
| "PSV Miscellaneous"
|
|
42
42
|
| "AAT - Trailer Annual Test"
|
|
43
43
|
| "AIV - HGV International App"
|
|
@@ -144,6 +144,9 @@ export type ApprovalType =
|
|
|
144
144
|
|
|
145
145
|
export interface PUTHGVTechnicalRecordV3Skeleton {
|
|
146
146
|
partialVin: string;
|
|
147
|
+
techRecord_createdAt?: string;
|
|
148
|
+
techRecord_createdById?: string;
|
|
149
|
+
techRecord_createdByName?: string;
|
|
147
150
|
techRecord_adrDetails_vehicleDetails_type?: string | null;
|
|
148
151
|
techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
|
|
149
152
|
techRecord_adrDetails_permittedDangerousGoods?: string[] | null;
|
|
@@ -225,7 +228,7 @@ export interface PUTHGVTechnicalRecordV3Skeleton {
|
|
|
225
228
|
techRecord_maxTrainEecWeight?: number | null;
|
|
226
229
|
techRecord_maxTrainDesignWeight?: number | null;
|
|
227
230
|
techRecord_manufactureYear?: number | null;
|
|
228
|
-
techRecord_microfilm_microfilmDocumentType?: null |
|
|
231
|
+
techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
|
|
229
232
|
techRecord_microfilm_microfilmRollNumber?: string | null;
|
|
230
233
|
techRecord_microfilm_microfilmSerialNumber?: string | null;
|
|
231
234
|
techRecord_model?: string | null;
|
|
@@ -37,7 +37,7 @@ export type FuelPropulsionSystem =
|
|
|
37
37
|
| "Fuel cell"
|
|
38
38
|
| "LNG"
|
|
39
39
|
| "Other";
|
|
40
|
-
export type
|
|
40
|
+
export type MicrofilmDocumentType =
|
|
41
41
|
| "PSV Miscellaneous"
|
|
42
42
|
| "AAT - Trailer Annual Test"
|
|
43
43
|
| "AIV - HGV International App"
|
|
@@ -144,6 +144,9 @@ export type ApprovalType =
|
|
|
144
144
|
|
|
145
145
|
export interface PUTHGVTechnicalRecordV3Testable {
|
|
146
146
|
partialVin: string;
|
|
147
|
+
techRecord_createdAt?: string;
|
|
148
|
+
techRecord_createdById?: string;
|
|
149
|
+
techRecord_createdByName?: string;
|
|
147
150
|
techRecord_adrDetails_vehicleDetails_type?: string | null;
|
|
148
151
|
techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
|
|
149
152
|
techRecord_adrDetails_permittedDangerousGoods?: string[] | null;
|
|
@@ -225,7 +228,7 @@ export interface PUTHGVTechnicalRecordV3Testable {
|
|
|
225
228
|
techRecord_maxTrainEecWeight?: number | null;
|
|
226
229
|
techRecord_maxTrainDesignWeight?: number | null;
|
|
227
230
|
techRecord_manufactureYear?: number | null;
|
|
228
|
-
techRecord_microfilm_microfilmDocumentType?: null |
|
|
231
|
+
techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
|
|
229
232
|
techRecord_microfilm_microfilmRollNumber?: string | null;
|
|
230
233
|
techRecord_microfilm_microfilmSerialNumber?: string | null;
|
|
231
234
|
techRecord_model?: string | null;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* and run json-schema-to-typescript to regenerate this file.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
export type
|
|
8
|
+
export type TechRecordCompleteLGVSchema = TechRecordPUTRequestCompleteCarSchema;
|
|
9
9
|
export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
|
|
10
10
|
export type StatusCode = "provisional" | "current" | "archived";
|
|
11
11
|
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
@@ -21,7 +21,10 @@ export interface TechRecordPUTRequestCompleteCarSchema {
|
|
|
21
21
|
techRecord_manufactureYear?: string | null;
|
|
22
22
|
techRecord_noOfAxles?: number | null;
|
|
23
23
|
techRecord_notes?: string;
|
|
24
|
-
|
|
24
|
+
techRecord_vehicleSubclass: VehicleSubclass;
|
|
25
25
|
techRecord_hiddenInVta?: boolean;
|
|
26
26
|
techRecord_updateType?: string;
|
|
27
|
+
techRecord_createdAt?: string;
|
|
28
|
+
techRecord_createdById?: string;
|
|
29
|
+
techRecord_createdByName?: string;
|
|
27
30
|
}
|
|
@@ -14,7 +14,7 @@ export interface TechRecordPUTRequestSkeletonCarSchema {
|
|
|
14
14
|
primaryVrm?: string;
|
|
15
15
|
trailerId?: string | null;
|
|
16
16
|
techRecord_reasonForCreation?: string | null;
|
|
17
|
-
techRecord_vehicleType
|
|
17
|
+
techRecord_vehicleType: VehicleType;
|
|
18
18
|
techRecord_statusCode?: StatusCode;
|
|
19
19
|
techRecord_regnDate?: string | null;
|
|
20
20
|
techRecord_manufactureYear?: string | null;
|
|
@@ -22,4 +22,7 @@ export interface TechRecordPUTRequestSkeletonCarSchema {
|
|
|
22
22
|
techRecord_notes?: string;
|
|
23
23
|
techRecord_hiddenInVta?: boolean;
|
|
24
24
|
techRecord_updateType?: string;
|
|
25
|
+
techRecord_createdAt?: string;
|
|
26
|
+
techRecord_createdById?: string;
|
|
27
|
+
techRecord_createdByName?: string;
|
|
25
28
|
}
|
|
@@ -71,7 +71,7 @@ export type FuelPropulsionSystem =
|
|
|
71
71
|
| "Fuel cell"
|
|
72
72
|
| "LNG"
|
|
73
73
|
| "Other";
|
|
74
|
-
export type
|
|
74
|
+
export type MicrofilmDocumentType =
|
|
75
75
|
| "PSV Miscellaneous"
|
|
76
76
|
| "AAT - Trailer Annual Test"
|
|
77
77
|
| "AIV - HGV International App"
|
|
@@ -180,6 +180,9 @@ export type SpeedCategorySymbol =
|
|
|
180
180
|
|
|
181
181
|
export interface PUTTRLTechnicalRecordV3Complete {
|
|
182
182
|
partialVin: string;
|
|
183
|
+
techRecord_createdAt?: string;
|
|
184
|
+
techRecord_createdById?: string;
|
|
185
|
+
techRecord_createdByName?: string;
|
|
183
186
|
techRecord_adrDetails_vehicleDetails_type?: string | null;
|
|
184
187
|
techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
|
|
185
188
|
techRecord_adrDetails_permittedDangerousGoods?: string[] | null;
|
|
@@ -274,7 +277,7 @@ export interface PUTTRLTechnicalRecordV3Complete {
|
|
|
274
277
|
techRecord_manufacturerDetails?: string | null;
|
|
275
278
|
techRecord_maxLoadOnCoupling: number | null;
|
|
276
279
|
techRecord_microfilm?: string | null;
|
|
277
|
-
techRecord_microfilm_microfilmDocumentType?: null |
|
|
280
|
+
techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
|
|
278
281
|
techRecord_microfilm_microfilmRollNumber?: string | null;
|
|
279
282
|
techRecord_microfilm_microfilmSerialNumber?: string | null;
|
|
280
283
|
techRecord_model: string | null;
|
|
@@ -36,7 +36,7 @@ export type FrameDescription =
|
|
|
36
36
|
| "integral"
|
|
37
37
|
| "Box section"
|
|
38
38
|
| "U section";
|
|
39
|
-
export type
|
|
39
|
+
export type MicrofilmDocumentType =
|
|
40
40
|
| "PSV Miscellaneous"
|
|
41
41
|
| "AAT - Trailer Annual Test"
|
|
42
42
|
| "AIV - HGV International App"
|
|
@@ -128,6 +128,9 @@ export type VehicleConfiguration =
|
|
|
128
128
|
|
|
129
129
|
export interface GETTRLTechnicalRecordV3Skeleton {
|
|
130
130
|
partialVin: string;
|
|
131
|
+
techRecord_createdAt?: string;
|
|
132
|
+
techRecord_createdById?: string;
|
|
133
|
+
techRecord_createdByName?: string;
|
|
131
134
|
techRecord_adrDetails_vehicleDetails_type?: string | null;
|
|
132
135
|
techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
|
|
133
136
|
techRecord_adrDetails_permittedDangerousGoods?: string[] | null;
|
|
@@ -209,7 +212,7 @@ export interface GETTRLTechnicalRecordV3Skeleton {
|
|
|
209
212
|
techRecord_manufacturerDetails?: string | null;
|
|
210
213
|
techRecord_maxLoadOnCoupling?: number | null;
|
|
211
214
|
techRecord_microfilm?: string | null;
|
|
212
|
-
techRecord_microfilm_microfilmDocumentType?: null |
|
|
215
|
+
techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
|
|
213
216
|
techRecord_microfilm_microfilmRollNumber?: string | null;
|
|
214
217
|
techRecord_microfilm_microfilmSerialNumber?: string | null;
|
|
215
218
|
techRecord_model?: string | null;
|
|
@@ -36,7 +36,7 @@ export type FrameDescription =
|
|
|
36
36
|
| "integral"
|
|
37
37
|
| "Box section"
|
|
38
38
|
| "U section";
|
|
39
|
-
export type
|
|
39
|
+
export type MicrofilmDocumentType =
|
|
40
40
|
| "PSV Miscellaneous"
|
|
41
41
|
| "AAT - Trailer Annual Test"
|
|
42
42
|
| "AIV - HGV International App"
|
|
@@ -145,6 +145,9 @@ export type SpeedCategorySymbol =
|
|
|
145
145
|
|
|
146
146
|
export interface GETTRLTechnicalRecordV3Testable {
|
|
147
147
|
partialVin: string;
|
|
148
|
+
techRecord_createdAt?: string;
|
|
149
|
+
techRecord_createdById?: string;
|
|
150
|
+
techRecord_createdByName?: string;
|
|
148
151
|
techRecord_adrDetails_vehicleDetails_type?: string | null;
|
|
149
152
|
techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
|
|
150
153
|
techRecord_adrDetails_permittedDangerousGoods?: string[] | null;
|
|
@@ -226,7 +229,7 @@ export interface GETTRLTechnicalRecordV3Testable {
|
|
|
226
229
|
techRecord_manufacturerDetails?: string | null;
|
|
227
230
|
techRecord_maxLoadOnCoupling?: number | null;
|
|
228
231
|
techRecord_microfilm?: string | null;
|
|
229
|
-
techRecord_microfilm_microfilmDocumentType?: null |
|
|
232
|
+
techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
|
|
230
233
|
techRecord_microfilm_microfilmRollNumber?: string | null;
|
|
231
234
|
techRecord_microfilm_microfilmSerialNumber?: string | null;
|
|
232
235
|
techRecord_model?: string | null;
|