@dvsa/cvs-type-definitions 3.2.2 → 3.2.3

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.
Files changed (43) hide show
  1. package/json-schemas/v3/tech-record/enums/vehicleClassDescriptionPSV.enum.json +12 -0
  2. package/json-schemas/v3/tech-record/get/hgv/complete/index.json +2 -16
  3. package/json-schemas/v3/tech-record/get/hgv/skeleton/index.json +2 -19
  4. package/json-schemas/v3/tech-record/get/hgv/testable/index.json +2 -16
  5. package/json-schemas/v3/tech-record/get/psv/complete/index.json +5 -10
  6. package/json-schemas/v3/tech-record/get/psv/skeleton/index.json +5 -10
  7. package/json-schemas/v3/tech-record/get/psv/testable/index.json +5 -10
  8. package/json-schemas/v3/tech-record/get/trl/complete/index.json +2 -16
  9. package/json-schemas/v3/tech-record/get/trl/skeleton/index.json +2 -16
  10. package/json-schemas/v3/tech-record/get/trl/testable/index.json +2 -16
  11. package/json-schemas/v3/tech-record/put/hgv/complete/index.json +1 -15
  12. package/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +1 -15
  13. package/json-schemas/v3/tech-record/put/hgv/testable/index.json +1 -15
  14. package/json-schemas/v3/tech-record/put/psv/complete/index.json +5 -10
  15. package/json-schemas/v3/tech-record/put/psv/skeleton/index.json +5 -10
  16. package/json-schemas/v3/tech-record/put/psv/testable/index.json +5 -10
  17. package/json-schemas/v3/tech-record/put/trl/complete/index.json +1 -15
  18. package/json-schemas/v3/tech-record/put/trl/skeleton/index.json +1 -15
  19. package/json-schemas/v3/tech-record/put/trl/testable/index.json +1 -15
  20. package/package.json +1 -1
  21. package/schemas.d.ts +1 -1
  22. package/schemas.js +1 -0
  23. package/types/v3/tech-record/enums/vehicleClassDescriptionPSV.enum.d.ts +9 -0
  24. package/types/v3/tech-record/enums/vehicleClassDescriptionPSV.enum.js +14 -0
  25. package/types/v3/tech-record/enums/vehicleClassDescriptionPSV.enum.ts +11 -0
  26. package/types/v3/tech-record/get/hgv/complete/index.d.ts +2 -14
  27. package/types/v3/tech-record/get/hgv/skeleton/index.d.ts +2 -14
  28. package/types/v3/tech-record/get/hgv/testable/index.d.ts +2 -14
  29. package/types/v3/tech-record/get/psv/complete/index.d.ts +4 -12
  30. package/types/v3/tech-record/get/psv/skeleton/index.d.ts +4 -12
  31. package/types/v3/tech-record/get/psv/testable/index.d.ts +4 -12
  32. package/types/v3/tech-record/get/trl/complete/index.d.ts +2 -14
  33. package/types/v3/tech-record/get/trl/skeleton/index.d.ts +2 -14
  34. package/types/v3/tech-record/get/trl/testable/index.d.ts +2 -14
  35. package/types/v3/tech-record/put/hgv/complete/index.d.ts +1 -13
  36. package/types/v3/tech-record/put/hgv/skeleton/index.d.ts +1 -13
  37. package/types/v3/tech-record/put/hgv/testable/index.d.ts +1 -13
  38. package/types/v3/tech-record/put/psv/complete/index.d.ts +4 -12
  39. package/types/v3/tech-record/put/psv/skeleton/index.d.ts +4 -12
  40. package/types/v3/tech-record/put/psv/testable/index.d.ts +4 -12
  41. package/types/v3/tech-record/put/trl/complete/index.d.ts +1 -13
  42. package/types/v3/tech-record/put/trl/skeleton/index.d.ts +1 -13
  43. package/types/v3/tech-record/put/trl/testable/index.d.ts +1 -13
@@ -0,0 +1,12 @@
1
+ {
2
+ "title": "Vehicle Class Description",
3
+ "type": "string",
4
+ "tsEnumNames": [
5
+ "SMALL_PSV",
6
+ "LARGE_PSV"
7
+ ],
8
+ "enum": [
9
+ "small psv (ie: less than or equal to 22 seats)",
10
+ "large psv(ie: greater than 23 seats)"
11
+ ]
12
+ }
@@ -943,24 +943,10 @@
943
943
  "maxLength": 2
944
944
  },
945
945
  "techRecord_vehicleClass_code": {
946
- "type": "string"
946
+ "const": "v"
947
947
  },
948
948
  "techRecord_vehicleClass_description": {
949
- "title": "Vehicle Class Description",
950
- "type": "string",
951
- "enum": [
952
- "motorbikes over 200cc or with a sidecar",
953
- "not applicable",
954
- "small psv (ie: less than or equal to 22 seats)",
955
- "motorbikes up to 200cc",
956
- "trailer",
957
- "large psv(ie: greater than 23 seats)",
958
- "3 wheelers",
959
- "heavy goods vehicle",
960
- "MOT class 4",
961
- "MOT class 7",
962
- "MOT class 5"
963
- ]
949
+ "const": "heavy goods vehicle"
964
950
  },
965
951
  "techRecord_vehicleConfiguration": {
966
952
  "anyOf": [
@@ -1021,27 +1021,10 @@
1021
1021
  "maxLength": 2
1022
1022
  },
1023
1023
  "techRecord_vehicleClass_code": {
1024
- "type": [
1025
- "null",
1026
- "string"
1027
- ]
1024
+ "const": "v"
1028
1025
  },
1029
1026
  "techRecord_vehicleClass_description": {
1030
- "title": "Vehicle Class Description",
1031
- "type": "string",
1032
- "enum": [
1033
- "motorbikes over 200cc or with a sidecar",
1034
- "not applicable",
1035
- "small psv (ie: less than or equal to 22 seats)",
1036
- "motorbikes up to 200cc",
1037
- "trailer",
1038
- "large psv(ie: greater than 23 seats)",
1039
- "3 wheelers",
1040
- "heavy goods vehicle",
1041
- "MOT class 4",
1042
- "MOT class 7",
1043
- "MOT class 5"
1044
- ]
1027
+ "const": "heavy goods vehicle"
1045
1028
  },
1046
1029
  "techRecord_vehicleConfiguration": {
1047
1030
  "anyOf": [
@@ -1015,24 +1015,10 @@
1015
1015
  "maxLength": 2
1016
1016
  },
1017
1017
  "techRecord_vehicleClass_code": {
1018
- "type": "string"
1018
+ "const": "v"
1019
1019
  },
1020
1020
  "techRecord_vehicleClass_description": {
1021
- "title": "Vehicle Class Description",
1022
- "type": "string",
1023
- "enum": [
1024
- "motorbikes over 200cc or with a sidecar",
1025
- "not applicable",
1026
- "small psv (ie: less than or equal to 22 seats)",
1027
- "motorbikes up to 200cc",
1028
- "trailer",
1029
- "large psv(ie: greater than 23 seats)",
1030
- "3 wheelers",
1031
- "heavy goods vehicle",
1032
- "MOT class 4",
1033
- "MOT class 7",
1034
- "MOT class 5"
1035
- ]
1021
+ "const": "heavy goods vehicle"
1036
1022
  },
1037
1023
  "techRecord_vehicleConfiguration": {
1038
1024
  "anyOf": [
@@ -130,18 +130,13 @@
130
130
  "techRecord_vehicleClass_description": {
131
131
  "title": "Vehicle Class Description",
132
132
  "type": "string",
133
+ "tsEnumNames": [
134
+ "SMALL_PSV",
135
+ "LARGE_PSV"
136
+ ],
133
137
  "enum": [
134
- "motorbikes over 200cc or with a sidecar",
135
- "not applicable",
136
138
  "small psv (ie: less than or equal to 22 seats)",
137
- "motorbikes up to 200cc",
138
- "trailer",
139
- "large psv(ie: greater than 23 seats)",
140
- "3 wheelers",
141
- "heavy goods vehicle",
142
- "MOT class 4",
143
- "MOT class 7",
144
- "MOT class 5"
139
+ "large psv(ie: greater than 23 seats)"
145
140
  ]
146
141
  },
147
142
  "techRecord_hiddenInVta": {
@@ -118,18 +118,13 @@
118
118
  "techRecord_vehicleClass_description": {
119
119
  "title": "Vehicle Class Description",
120
120
  "type": "string",
121
+ "tsEnumNames": [
122
+ "SMALL_PSV",
123
+ "LARGE_PSV"
124
+ ],
121
125
  "enum": [
122
- "motorbikes over 200cc or with a sidecar",
123
- "not applicable",
124
126
  "small psv (ie: less than or equal to 22 seats)",
125
- "motorbikes up to 200cc",
126
- "trailer",
127
- "large psv(ie: greater than 23 seats)",
128
- "3 wheelers",
129
- "heavy goods vehicle",
130
- "MOT class 4",
131
- "MOT class 7",
132
- "MOT class 5"
127
+ "large psv(ie: greater than 23 seats)"
133
128
  ]
134
129
  },
135
130
  "techRecord_hiddenInVta": {
@@ -101,18 +101,13 @@
101
101
  "techRecord_vehicleClass_description": {
102
102
  "title": "Vehicle Class Description",
103
103
  "type": "string",
104
+ "tsEnumNames": [
105
+ "SMALL_PSV",
106
+ "LARGE_PSV"
107
+ ],
104
108
  "enum": [
105
- "motorbikes over 200cc or with a sidecar",
106
- "not applicable",
107
109
  "small psv (ie: less than or equal to 22 seats)",
108
- "motorbikes up to 200cc",
109
- "trailer",
110
- "large psv(ie: greater than 23 seats)",
111
- "3 wheelers",
112
- "heavy goods vehicle",
113
- "MOT class 4",
114
- "MOT class 7",
115
- "MOT class 5"
110
+ "large psv(ie: greater than 23 seats)"
116
111
  ]
117
112
  },
118
113
  "techRecord_hiddenInVta": {
@@ -1081,24 +1081,10 @@
1081
1081
  ]
1082
1082
  },
1083
1083
  "techRecord_vehicleClass_code": {
1084
- "type": "string"
1084
+ "const": "t"
1085
1085
  },
1086
1086
  "techRecord_vehicleClass_description": {
1087
- "title": "Vehicle Class Description",
1088
- "type": "string",
1089
- "enum": [
1090
- "motorbikes over 200cc or with a sidecar",
1091
- "not applicable",
1092
- "small psv (ie: less than or equal to 22 seats)",
1093
- "motorbikes up to 200cc",
1094
- "trailer",
1095
- "large psv(ie: greater than 23 seats)",
1096
- "3 wheelers",
1097
- "heavy goods vehicle",
1098
- "MOT class 4",
1099
- "MOT class 7",
1100
- "MOT class 5"
1101
- ]
1087
+ "const": "trailer"
1102
1088
  },
1103
1089
  "techRecord_vehicleConfiguration": {
1104
1090
  "title": "Vehicle Configuration",
@@ -1285,24 +1285,10 @@
1285
1285
  "maxLength": 2
1286
1286
  },
1287
1287
  "techRecord_vehicleClass_code": {
1288
- "type": "string"
1288
+ "const": "t"
1289
1289
  },
1290
1290
  "techRecord_vehicleClass_description": {
1291
- "title": "Vehicle Class Description",
1292
- "type": "string",
1293
- "enum": [
1294
- "motorbikes over 200cc or with a sidecar",
1295
- "not applicable",
1296
- "small psv (ie: less than or equal to 22 seats)",
1297
- "motorbikes up to 200cc",
1298
- "trailer",
1299
- "large psv(ie: greater than 23 seats)",
1300
- "3 wheelers",
1301
- "heavy goods vehicle",
1302
- "MOT class 4",
1303
- "MOT class 7",
1304
- "MOT class 5"
1305
- ]
1291
+ "const": "trailer"
1306
1292
  },
1307
1293
  "techRecord_vehicleConfiguration": {
1308
1294
  "anyOf": [
@@ -1119,24 +1119,10 @@
1119
1119
  "maxLength": 2
1120
1120
  },
1121
1121
  "techRecord_vehicleClass_code": {
1122
- "type": "string"
1122
+ "const": "t"
1123
1123
  },
1124
1124
  "techRecord_vehicleClass_description": {
1125
- "title": "Vehicle Class Description",
1126
- "type": "string",
1127
- "enum": [
1128
- "motorbikes over 200cc or with a sidecar",
1129
- "not applicable",
1130
- "small psv (ie: less than or equal to 22 seats)",
1131
- "motorbikes up to 200cc",
1132
- "trailer",
1133
- "large psv(ie: greater than 23 seats)",
1134
- "3 wheelers",
1135
- "heavy goods vehicle",
1136
- "MOT class 4",
1137
- "MOT class 7",
1138
- "MOT class 5"
1139
- ]
1125
+ "const": "trailer"
1140
1126
  },
1141
1127
  "techRecord_vehicleConfiguration": {
1142
1128
  "anyOf": [
@@ -913,21 +913,7 @@
913
913
  "maxLength": 2
914
914
  },
915
915
  "techRecord_vehicleClass_description": {
916
- "title": "Vehicle Class Description",
917
- "type": "string",
918
- "enum": [
919
- "motorbikes over 200cc or with a sidecar",
920
- "not applicable",
921
- "small psv (ie: less than or equal to 22 seats)",
922
- "motorbikes up to 200cc",
923
- "trailer",
924
- "large psv(ie: greater than 23 seats)",
925
- "3 wheelers",
926
- "heavy goods vehicle",
927
- "MOT class 4",
928
- "MOT class 7",
929
- "MOT class 5"
930
- ]
916
+ "const": "heavy goods vehicle"
931
917
  },
932
918
  "techRecord_vehicleConfiguration": {
933
919
  "anyOf": [
@@ -986,21 +986,7 @@
986
986
  "maxLength": 2
987
987
  },
988
988
  "techRecord_vehicleClass_description": {
989
- "title": "Vehicle Class Description",
990
- "type": "string",
991
- "enum": [
992
- "motorbikes over 200cc or with a sidecar",
993
- "not applicable",
994
- "small psv (ie: less than or equal to 22 seats)",
995
- "motorbikes up to 200cc",
996
- "trailer",
997
- "large psv(ie: greater than 23 seats)",
998
- "3 wheelers",
999
- "heavy goods vehicle",
1000
- "MOT class 4",
1001
- "MOT class 7",
1002
- "MOT class 5"
1003
- ]
989
+ "const": "heavy goods vehicle"
1004
990
  },
1005
991
  "techRecord_vehicleConfiguration": {
1006
992
  "anyOf": [
@@ -972,21 +972,7 @@
972
972
  "maxLength": 2
973
973
  },
974
974
  "techRecord_vehicleClass_description": {
975
- "title": "Vehicle Class Description",
976
- "type": "string",
977
- "enum": [
978
- "motorbikes over 200cc or with a sidecar",
979
- "not applicable",
980
- "small psv (ie: less than or equal to 22 seats)",
981
- "motorbikes up to 200cc",
982
- "trailer",
983
- "large psv(ie: greater than 23 seats)",
984
- "3 wheelers",
985
- "heavy goods vehicle",
986
- "MOT class 4",
987
- "MOT class 7",
988
- "MOT class 5"
989
- ]
975
+ "const": "heavy goods vehicle"
990
976
  },
991
977
  "techRecord_vehicleConfiguration": {
992
978
  "anyOf": [
@@ -106,18 +106,13 @@
106
106
  "techRecord_vehicleClass_description": {
107
107
  "title": "Vehicle Class Description",
108
108
  "type": "string",
109
+ "tsEnumNames": [
110
+ "SMALL_PSV",
111
+ "LARGE_PSV"
112
+ ],
109
113
  "enum": [
110
- "motorbikes over 200cc or with a sidecar",
111
- "not applicable",
112
114
  "small psv (ie: less than or equal to 22 seats)",
113
- "motorbikes up to 200cc",
114
- "trailer",
115
- "large psv(ie: greater than 23 seats)",
116
- "3 wheelers",
117
- "heavy goods vehicle",
118
- "MOT class 4",
119
- "MOT class 7",
120
- "MOT class 5"
115
+ "large psv(ie: greater than 23 seats)"
121
116
  ]
122
117
  },
123
118
  "techRecord_hiddenInVta": {
@@ -106,18 +106,13 @@
106
106
  "techRecord_vehicleClass_description": {
107
107
  "title": "Vehicle Class Description",
108
108
  "type": "string",
109
+ "tsEnumNames": [
110
+ "SMALL_PSV",
111
+ "LARGE_PSV"
112
+ ],
109
113
  "enum": [
110
- "motorbikes over 200cc or with a sidecar",
111
- "not applicable",
112
114
  "small psv (ie: less than or equal to 22 seats)",
113
- "motorbikes up to 200cc",
114
- "trailer",
115
- "large psv(ie: greater than 23 seats)",
116
- "3 wheelers",
117
- "heavy goods vehicle",
118
- "MOT class 4",
119
- "MOT class 7",
120
- "MOT class 5"
115
+ "large psv(ie: greater than 23 seats)"
121
116
  ]
122
117
  },
123
118
  "techRecord_hiddenInVta": {
@@ -87,18 +87,13 @@
87
87
  "techRecord_vehicleClass_description": {
88
88
  "title": "Vehicle Class Description",
89
89
  "type": "string",
90
+ "tsEnumNames": [
91
+ "SMALL_PSV",
92
+ "LARGE_PSV"
93
+ ],
90
94
  "enum": [
91
- "motorbikes over 200cc or with a sidecar",
92
- "not applicable",
93
95
  "small psv (ie: less than or equal to 22 seats)",
94
- "motorbikes up to 200cc",
95
- "trailer",
96
- "large psv(ie: greater than 23 seats)",
97
- "3 wheelers",
98
- "heavy goods vehicle",
99
- "MOT class 4",
100
- "MOT class 7",
101
- "MOT class 5"
96
+ "large psv(ie: greater than 23 seats)"
102
97
  ]
103
98
  },
104
99
  "techRecord_hiddenInVta": {
@@ -1035,21 +1035,7 @@
1035
1035
  ]
1036
1036
  },
1037
1037
  "techRecord_vehicleClass_description": {
1038
- "title": "Vehicle Class Description",
1039
- "type": "string",
1040
- "enum": [
1041
- "motorbikes over 200cc or with a sidecar",
1042
- "not applicable",
1043
- "small psv (ie: less than or equal to 22 seats)",
1044
- "motorbikes up to 200cc",
1045
- "trailer",
1046
- "large psv(ie: greater than 23 seats)",
1047
- "3 wheelers",
1048
- "heavy goods vehicle",
1049
- "MOT class 4",
1050
- "MOT class 7",
1051
- "MOT class 5"
1052
- ]
1038
+ "const": "trailer"
1053
1039
  },
1054
1040
  "techRecord_vehicleConfiguration": {
1055
1041
  "title": "Vehicle Configuration",
@@ -1010,21 +1010,7 @@
1010
1010
  "maxLength": 2
1011
1011
  },
1012
1012
  "techRecord_vehicleClass_description": {
1013
- "title": "Vehicle Class Description",
1014
- "type": "string",
1015
- "enum": [
1016
- "motorbikes over 200cc or with a sidecar",
1017
- "not applicable",
1018
- "small psv (ie: less than or equal to 22 seats)",
1019
- "motorbikes up to 200cc",
1020
- "trailer",
1021
- "large psv(ie: greater than 23 seats)",
1022
- "3 wheelers",
1023
- "heavy goods vehicle",
1024
- "MOT class 4",
1025
- "MOT class 7",
1026
- "MOT class 5"
1027
- ]
1013
+ "const": "trailer"
1028
1014
  },
1029
1015
  "techRecord_vehicleConfiguration": {
1030
1016
  "anyOf": [
@@ -1093,21 +1093,7 @@
1093
1093
  "maxLength": 2
1094
1094
  },
1095
1095
  "techRecord_vehicleClass_description": {
1096
- "title": "Vehicle Class Description",
1097
- "type": "string",
1098
- "enum": [
1099
- "motorbikes over 200cc or with a sidecar",
1100
- "not applicable",
1101
- "small psv (ie: less than or equal to 22 seats)",
1102
- "motorbikes up to 200cc",
1103
- "trailer",
1104
- "large psv(ie: greater than 23 seats)",
1105
- "3 wheelers",
1106
- "heavy goods vehicle",
1107
- "MOT class 4",
1108
- "MOT class 7",
1109
- "MOT class 5"
1110
- ]
1096
+ "const": "trailer"
1111
1097
  },
1112
1098
  "techRecord_vehicleConfiguration": {
1113
1099
  "title": "Vehicle Configuration",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvsa/cvs-type-definitions",
3
- "version": "3.2.2",
3
+ "version": "3.2.3",
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 ["iva/defects/get/index.json", "v1/activity/index.json", "v1/defect-category-reference-data/index.json", "v1/defect-details/index.json", "v1/defect-location/index.json", "v1/reason-item/index.json", "v1/tech-record/index.json", "v1/test/index.json", "v1/test-result/index.json", "v1/test-station/index.json", "v1/test-type/index.json", "v1/vehicle/index.json", "v1/vehicle-tech-record/index.json", "v1/visit/index.json", "v3/tech-record/enums/approvalType.enum.json", "v3/tech-record/enums/approvalTypeHgvOrPsv.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 ["iva/defects/get/index.json", "v1/activity/index.json", "v1/defect-category-reference-data/index.json", "v1/defect-details/index.json", "v1/defect-location/index.json", "v1/reason-item/index.json", "v1/tech-record/index.json", "v1/test/index.json", "v1/test-result/index.json", "v1/test-station/index.json", "v1/test-type/index.json", "v1/vehicle/index.json", "v1/vehicle-tech-record/index.json", "v1/visit/index.json", "v3/tech-record/enums/approvalType.enum.json", "v3/tech-record/enums/approvalTypeHgvOrPsv.enum.json", "v3/tech-record/enums/vehicleClassDescriptionPSV.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
@@ -18,6 +18,7 @@ exports.schemas = [
18
18
  "v1/visit/index.json",
19
19
  "v3/tech-record/enums/approvalType.enum.json",
20
20
  "v3/tech-record/enums/approvalTypeHgvOrPsv.enum.json",
21
+ "v3/tech-record/enums/vehicleClassDescriptionPSV.enum.json",
21
22
  "v3/tech-record/get/car/complete/index.json",
22
23
  "v3/tech-record/get/car/skeleton/index.json",
23
24
  "v3/tech-record/get/hgv/complete/index.json",
@@ -0,0 +1,9 @@
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 VehicleClassDescription {
7
+ SMALL_PSV = "small psv (ie: less than or equal to 22 seats)",
8
+ LARGE_PSV = "large psv(ie: greater than 23 seats)"
9
+ }
@@ -0,0 +1,14 @@
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.VehicleClassDescription = void 0;
10
+ var VehicleClassDescription;
11
+ (function (VehicleClassDescription) {
12
+ VehicleClassDescription["SMALL_PSV"] = "small psv (ie: less than or equal to 22 seats)";
13
+ VehicleClassDescription["LARGE_PSV"] = "large psv(ie: greater than 23 seats)";
14
+ })(VehicleClassDescription = exports.VehicleClassDescription || (exports.VehicleClassDescription = {}));
@@ -0,0 +1,11 @@
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 VehicleClassDescription {
9
+ SMALL_PSV = "small psv (ie: less than or equal to 22 seats)",
10
+ LARGE_PSV = "large psv(ie: greater than 23 seats)"
11
+ }
@@ -101,18 +101,6 @@ export type PlateReasonForIssue =
101
101
  | "Original"
102
102
  | "Manual";
103
103
  export type StatusCode = "provisional" | "current" | "archived";
104
- export type VehicleClassDescription =
105
- | "motorbikes over 200cc or with a sidecar"
106
- | "not applicable"
107
- | "small psv (ie: less than or equal to 22 seats)"
108
- | "motorbikes up to 200cc"
109
- | "trailer"
110
- | "large psv(ie: greater than 23 seats)"
111
- | "3 wheelers"
112
- | "heavy goods vehicle"
113
- | "MOT class 4"
114
- | "MOT class 7"
115
- | "MOT class 5";
116
104
  export type VehicleConfiguration =
117
105
  | "rigid"
118
106
  | "articulated"
@@ -238,8 +226,8 @@ export interface TechRecordGETHGVComplete {
238
226
  techRecord_trainEecWeight?: number | null;
239
227
  techRecord_trainGbWeight: number;
240
228
  techRecord_tyreUseCode: string;
241
- techRecord_vehicleClass_code: string;
242
- techRecord_vehicleClass_description: VehicleClassDescription;
229
+ techRecord_vehicleClass_code: "v";
230
+ techRecord_vehicleClass_description: "heavy goods vehicle";
243
231
  techRecord_vehicleConfiguration: VehicleConfiguration;
244
232
  techRecord_approvalType: ApprovalType;
245
233
  techRecord_approvalTypeNumber?: string | null;
@@ -101,18 +101,6 @@ export type PlateReasonForIssue =
101
101
  | "Original"
102
102
  | "Manual";
103
103
  export type StatusCode = "provisional" | "current" | "archived";
104
- export type VehicleClassDescription =
105
- | "motorbikes over 200cc or with a sidecar"
106
- | "not applicable"
107
- | "small psv (ie: less than or equal to 22 seats)"
108
- | "motorbikes up to 200cc"
109
- | "trailer"
110
- | "large psv(ie: greater than 23 seats)"
111
- | "3 wheelers"
112
- | "heavy goods vehicle"
113
- | "MOT class 4"
114
- | "MOT class 7"
115
- | "MOT class 5";
116
104
  export type VehicleConfiguration =
117
105
  | "rigid"
118
106
  | "articulated"
@@ -235,8 +223,8 @@ export interface TechRecordGETHGVSkeleton {
235
223
  techRecord_trainEecWeight?: number | null;
236
224
  techRecord_trainGbWeight?: number | null;
237
225
  techRecord_tyreUseCode?: string | null;
238
- techRecord_vehicleClass_code?: null | string;
239
- techRecord_vehicleClass_description: VehicleClassDescription;
226
+ techRecord_vehicleClass_code?: "v";
227
+ techRecord_vehicleClass_description: "heavy goods vehicle";
240
228
  techRecord_vehicleConfiguration?: VehicleConfiguration | null;
241
229
  techRecord_approvalType?: ApprovalType | null;
242
230
  techRecord_approvalTypeNumber?: string | null;
@@ -101,18 +101,6 @@ export type PlateReasonForIssue =
101
101
  | "Original"
102
102
  | "Manual";
103
103
  export type StatusCode = "provisional" | "current" | "archived";
104
- export type VehicleClassDescription =
105
- | "motorbikes over 200cc or with a sidecar"
106
- | "not applicable"
107
- | "small psv (ie: less than or equal to 22 seats)"
108
- | "motorbikes up to 200cc"
109
- | "trailer"
110
- | "large psv(ie: greater than 23 seats)"
111
- | "3 wheelers"
112
- | "heavy goods vehicle"
113
- | "MOT class 4"
114
- | "MOT class 7"
115
- | "MOT class 5";
116
104
  export type VehicleConfiguration =
117
105
  | "rigid"
118
106
  | "articulated"
@@ -235,8 +223,8 @@ export interface TechRecordGETHGVTestable {
235
223
  techRecord_trainEecWeight?: number | null;
236
224
  techRecord_trainGbWeight?: number | null;
237
225
  techRecord_tyreUseCode?: string | null;
238
- techRecord_vehicleClass_code: string;
239
- techRecord_vehicleClass_description: VehicleClassDescription;
226
+ techRecord_vehicleClass_code: "v";
227
+ techRecord_vehicleClass_description: "heavy goods vehicle";
240
228
  techRecord_vehicleConfiguration: VehicleConfiguration;
241
229
  techRecord_approvalType?: ApprovalType | null;
242
230
  techRecord_approvalTypeNumber?: string | null;
@@ -20,18 +20,6 @@ export type VehicleConfiguration =
20
20
  | "dolly"
21
21
  | "full drawbar";
22
22
  export type VehicleSize = "small" | "large";
23
- export type VehicleClassDescription =
24
- | "motorbikes over 200cc or with a sidecar"
25
- | "not applicable"
26
- | "small psv (ie: less than or equal to 22 seats)"
27
- | "motorbikes up to 200cc"
28
- | "trailer"
29
- | "large psv(ie: greater than 23 seats)"
30
- | "3 wheelers"
31
- | "heavy goods vehicle"
32
- | "MOT class 4"
33
- | "MOT class 7"
34
- | "MOT class 5";
35
23
  export type EUVehicleCategory =
36
24
  | "m1"
37
25
  | "m2"
@@ -301,6 +289,10 @@ export interface PSVAxlesComplete {
301
289
  tyres_speedCategorySymbol: SpeedCategorySymbol;
302
290
  }
303
291
 
292
+ export enum VehicleClassDescription {
293
+ SMALL_PSV = "small psv (ie: less than or equal to 22 seats)",
294
+ LARGE_PSV = "large psv(ie: greater than 23 seats)"
295
+ }
304
296
  export enum ApprovalType {
305
297
  NTA = "NTA",
306
298
  ECTA = "ECTA",
@@ -20,18 +20,6 @@ export type VehicleConfiguration =
20
20
  | "dolly"
21
21
  | "full drawbar";
22
22
  export type VehicleSize = "small" | "large";
23
- export type VehicleClassDescription =
24
- | "motorbikes over 200cc or with a sidecar"
25
- | "not applicable"
26
- | "small psv (ie: less than or equal to 22 seats)"
27
- | "motorbikes up to 200cc"
28
- | "trailer"
29
- | "large psv(ie: greater than 23 seats)"
30
- | "3 wheelers"
31
- | "heavy goods vehicle"
32
- | "MOT class 4"
33
- | "MOT class 7"
34
- | "MOT class 5";
35
23
  export type EUVehicleCategory =
36
24
  | "m1"
37
25
  | "m2"
@@ -298,6 +286,10 @@ export interface PSVAxles {
298
286
  tyres_speedCategorySymbol?: SpeedCategorySymbol | null;
299
287
  }
300
288
 
289
+ export enum VehicleClassDescription {
290
+ SMALL_PSV = "small psv (ie: less than or equal to 22 seats)",
291
+ LARGE_PSV = "large psv(ie: greater than 23 seats)"
292
+ }
301
293
  export enum ApprovalType {
302
294
  NTA = "NTA",
303
295
  ECTA = "ECTA",
@@ -20,18 +20,6 @@ export type VehicleConfiguration =
20
20
  | "dolly"
21
21
  | "full drawbar";
22
22
  export type VehicleSize = "small" | "large";
23
- export type VehicleClassDescription =
24
- | "motorbikes over 200cc or with a sidecar"
25
- | "not applicable"
26
- | "small psv (ie: less than or equal to 22 seats)"
27
- | "motorbikes up to 200cc"
28
- | "trailer"
29
- | "large psv(ie: greater than 23 seats)"
30
- | "3 wheelers"
31
- | "heavy goods vehicle"
32
- | "MOT class 4"
33
- | "MOT class 7"
34
- | "MOT class 5";
35
23
  export type EUVehicleCategory =
36
24
  | "m1"
37
25
  | "m2"
@@ -298,6 +286,10 @@ export interface PSVAxles {
298
286
  tyres_speedCategorySymbol?: SpeedCategorySymbol | null;
299
287
  }
300
288
 
289
+ export enum VehicleClassDescription {
290
+ SMALL_PSV = "small psv (ie: less than or equal to 22 seats)",
291
+ LARGE_PSV = "large psv(ie: greater than 23 seats)"
292
+ }
301
293
  export enum ApprovalType {
302
294
  NTA = "NTA",
303
295
  ECTA = "ECTA",
@@ -102,18 +102,6 @@ export type PlateReasonForIssue =
102
102
  | "Original"
103
103
  | "Manual";
104
104
  export type StatusCode = "provisional" | "current" | "archived";
105
- export type VehicleClassDescription =
106
- | "motorbikes over 200cc or with a sidecar"
107
- | "not applicable"
108
- | "small psv (ie: less than or equal to 22 seats)"
109
- | "motorbikes up to 200cc"
110
- | "trailer"
111
- | "large psv(ie: greater than 23 seats)"
112
- | "3 wheelers"
113
- | "heavy goods vehicle"
114
- | "MOT class 4"
115
- | "MOT class 7"
116
- | "MOT class 5";
117
105
  export type VehicleConfiguration =
118
106
  | "rigid"
119
107
  | "articulated"
@@ -279,8 +267,8 @@ export interface TechRecordGETTRLComplete {
279
267
  techRecord_tyreUseCode: string;
280
268
  techRecord_variantNumber?: null | string;
281
269
  techRecord_variantVersionNumber?: null | string;
282
- techRecord_vehicleClass_code: string;
283
- techRecord_vehicleClass_description: VehicleClassDescription;
270
+ techRecord_vehicleClass_code: "t";
271
+ techRecord_vehicleClass_description: "trailer";
284
272
  techRecord_vehicleConfiguration: VehicleConfiguration;
285
273
  techRecord_vehicleType: "trl";
286
274
  trailerId: string;
@@ -119,18 +119,6 @@ export type PlateReasonForIssue =
119
119
  | "Original"
120
120
  | "Manual";
121
121
  export type StatusCode = "provisional" | "current" | "archived";
122
- export type VehicleClassDescription =
123
- | "motorbikes over 200cc or with a sidecar"
124
- | "not applicable"
125
- | "small psv (ie: less than or equal to 22 seats)"
126
- | "motorbikes up to 200cc"
127
- | "trailer"
128
- | "large psv(ie: greater than 23 seats)"
129
- | "3 wheelers"
130
- | "heavy goods vehicle"
131
- | "MOT class 4"
132
- | "MOT class 7"
133
- | "MOT class 5";
134
122
  export type VehicleConfiguration =
135
123
  | "rigid"
136
124
  | "articulated"
@@ -279,8 +267,8 @@ export interface TechRecordGETTRLSkeleton {
279
267
  techRecord_statusCode: StatusCode;
280
268
  techRecord_suspensionType?: string | null;
281
269
  techRecord_tyreUseCode?: string | null;
282
- techRecord_vehicleClass_code: string;
283
- techRecord_vehicleClass_description: VehicleClassDescription;
270
+ techRecord_vehicleClass_code: "t";
271
+ techRecord_vehicleClass_description: "trailer";
284
272
  techRecord_vehicleConfiguration?: VehicleConfiguration | null;
285
273
  techRecord_vehicleType: "trl";
286
274
  trailerId: string;
@@ -102,18 +102,6 @@ export type PlateReasonForIssue =
102
102
  | "Original"
103
103
  | "Manual";
104
104
  export type StatusCode = "provisional" | "current" | "archived";
105
- export type VehicleClassDescription =
106
- | "motorbikes over 200cc or with a sidecar"
107
- | "not applicable"
108
- | "small psv (ie: less than or equal to 22 seats)"
109
- | "motorbikes up to 200cc"
110
- | "trailer"
111
- | "large psv(ie: greater than 23 seats)"
112
- | "3 wheelers"
113
- | "heavy goods vehicle"
114
- | "MOT class 4"
115
- | "MOT class 7"
116
- | "MOT class 5";
117
105
  export type VehicleConfiguration =
118
106
  | "rigid"
119
107
  | "articulated"
@@ -278,8 +266,8 @@ export interface TechRecordGETTRLTestable {
278
266
  techRecord_statusCode: StatusCode;
279
267
  techRecord_suspensionType?: string | null;
280
268
  techRecord_tyreUseCode?: string | null;
281
- techRecord_vehicleClass_code: string;
282
- techRecord_vehicleClass_description: VehicleClassDescription;
269
+ techRecord_vehicleClass_code: "t";
270
+ techRecord_vehicleClass_description: "trailer";
283
271
  techRecord_vehicleConfiguration: VehicleConfiguration;
284
272
  techRecord_vehicleType: "trl";
285
273
  trailerId: string;
@@ -101,18 +101,6 @@ export type PlateReasonForIssue =
101
101
  | "Original"
102
102
  | "Manual";
103
103
  export type StatusCode = "provisional" | "current" | "archived";
104
- export type VehicleClassDescription =
105
- | "motorbikes over 200cc or with a sidecar"
106
- | "not applicable"
107
- | "small psv (ie: less than or equal to 22 seats)"
108
- | "motorbikes up to 200cc"
109
- | "trailer"
110
- | "large psv(ie: greater than 23 seats)"
111
- | "3 wheelers"
112
- | "heavy goods vehicle"
113
- | "MOT class 4"
114
- | "MOT class 7"
115
- | "MOT class 5";
116
104
  export type VehicleConfiguration =
117
105
  | "rigid"
118
106
  | "articulated"
@@ -230,7 +218,7 @@ export interface TechRecordPUTHGVComplete {
230
218
  techRecord_trainEecWeight?: number | null;
231
219
  techRecord_trainGbWeight: number;
232
220
  techRecord_tyreUseCode: string;
233
- techRecord_vehicleClass_description: VehicleClassDescription;
221
+ techRecord_vehicleClass_description: "heavy goods vehicle";
234
222
  techRecord_vehicleConfiguration: VehicleConfiguration;
235
223
  techRecord_approvalType: ApprovalType;
236
224
  techRecord_approvalTypeNumber?: string | null;
@@ -101,18 +101,6 @@ export type PlateReasonForIssue =
101
101
  | "Original"
102
102
  | "Manual";
103
103
  export type StatusCode = "provisional" | "current" | "archived";
104
- export type VehicleClassDescription =
105
- | "motorbikes over 200cc or with a sidecar"
106
- | "not applicable"
107
- | "small psv (ie: less than or equal to 22 seats)"
108
- | "motorbikes up to 200cc"
109
- | "trailer"
110
- | "large psv(ie: greater than 23 seats)"
111
- | "3 wheelers"
112
- | "heavy goods vehicle"
113
- | "MOT class 4"
114
- | "MOT class 7"
115
- | "MOT class 5";
116
104
  export type VehicleConfiguration =
117
105
  | "rigid"
118
106
  | "articulated"
@@ -227,7 +215,7 @@ export interface TechRecordPUTHGVSkeleton {
227
215
  techRecord_trainEecWeight?: number | null;
228
216
  techRecord_trainGbWeight?: number | null;
229
217
  techRecord_tyreUseCode?: string | null;
230
- techRecord_vehicleClass_description: VehicleClassDescription;
218
+ techRecord_vehicleClass_description: "heavy goods vehicle";
231
219
  techRecord_vehicleConfiguration?: VehicleConfiguration | null;
232
220
  techRecord_approvalType?: ApprovalType | null;
233
221
  techRecord_approvalTypeNumber?: string | null;
@@ -101,18 +101,6 @@ export type PlateReasonForIssue =
101
101
  | "Original"
102
102
  | "Manual";
103
103
  export type StatusCode = "provisional" | "current" | "archived";
104
- export type VehicleClassDescription =
105
- | "motorbikes over 200cc or with a sidecar"
106
- | "not applicable"
107
- | "small psv (ie: less than or equal to 22 seats)"
108
- | "motorbikes up to 200cc"
109
- | "trailer"
110
- | "large psv(ie: greater than 23 seats)"
111
- | "3 wheelers"
112
- | "heavy goods vehicle"
113
- | "MOT class 4"
114
- | "MOT class 7"
115
- | "MOT class 5";
116
104
  export type VehicleConfiguration =
117
105
  | "rigid"
118
106
  | "articulated"
@@ -227,7 +215,7 @@ export interface TechRecordPUTHGVTestable {
227
215
  techRecord_trainEecWeight?: number | null;
228
216
  techRecord_trainGbWeight?: number | null;
229
217
  techRecord_tyreUseCode?: string | null;
230
- techRecord_vehicleClass_description: VehicleClassDescription;
218
+ techRecord_vehicleClass_description: "heavy goods vehicle";
231
219
  techRecord_vehicleConfiguration: VehicleConfiguration;
232
220
  techRecord_approvalType?: ApprovalType | null;
233
221
  techRecord_approvalTypeNumber?: string | null;
@@ -20,18 +20,6 @@ export type VehicleConfiguration =
20
20
  | "dolly"
21
21
  | "full drawbar";
22
22
  export type VehicleSize = "small" | "large";
23
- export type VehicleClassDescription =
24
- | "motorbikes over 200cc or with a sidecar"
25
- | "not applicable"
26
- | "small psv (ie: less than or equal to 22 seats)"
27
- | "motorbikes up to 200cc"
28
- | "trailer"
29
- | "large psv(ie: greater than 23 seats)"
30
- | "3 wheelers"
31
- | "heavy goods vehicle"
32
- | "MOT class 4"
33
- | "MOT class 7"
34
- | "MOT class 5";
35
23
  export type EUVehicleCategory =
36
24
  | "m1"
37
25
  | "m2"
@@ -289,6 +277,10 @@ export interface PSVAxlesComplete {
289
277
  tyres_speedCategorySymbol: SpeedCategorySymbol;
290
278
  }
291
279
 
280
+ export enum VehicleClassDescription {
281
+ SMALL_PSV = "small psv (ie: less than or equal to 22 seats)",
282
+ LARGE_PSV = "large psv(ie: greater than 23 seats)"
283
+ }
292
284
  export enum ApprovalType {
293
285
  NTA = "NTA",
294
286
  ECTA = "ECTA",
@@ -20,18 +20,6 @@ export type VehicleConfiguration =
20
20
  | "dolly"
21
21
  | "full drawbar";
22
22
  export type VehicleSize = "small" | "large";
23
- export type VehicleClassDescription =
24
- | "motorbikes over 200cc or with a sidecar"
25
- | "not applicable"
26
- | "small psv (ie: less than or equal to 22 seats)"
27
- | "motorbikes up to 200cc"
28
- | "trailer"
29
- | "large psv(ie: greater than 23 seats)"
30
- | "3 wheelers"
31
- | "heavy goods vehicle"
32
- | "MOT class 4"
33
- | "MOT class 7"
34
- | "MOT class 5";
35
23
  export type EUVehicleCategory =
36
24
  | "m1"
37
25
  | "m2"
@@ -286,6 +274,10 @@ export interface PSVAxles {
286
274
  tyres_speedCategorySymbol?: SpeedCategorySymbol | null;
287
275
  }
288
276
 
277
+ export enum VehicleClassDescription {
278
+ SMALL_PSV = "small psv (ie: less than or equal to 22 seats)",
279
+ LARGE_PSV = "large psv(ie: greater than 23 seats)"
280
+ }
289
281
  export enum ApprovalType {
290
282
  NTA = "NTA",
291
283
  ECTA = "ECTA",
@@ -20,18 +20,6 @@ export type VehicleConfiguration =
20
20
  | "dolly"
21
21
  | "full drawbar";
22
22
  export type VehicleSize = "small" | "large";
23
- export type VehicleClassDescription =
24
- | "motorbikes over 200cc or with a sidecar"
25
- | "not applicable"
26
- | "small psv (ie: less than or equal to 22 seats)"
27
- | "motorbikes up to 200cc"
28
- | "trailer"
29
- | "large psv(ie: greater than 23 seats)"
30
- | "3 wheelers"
31
- | "heavy goods vehicle"
32
- | "MOT class 4"
33
- | "MOT class 7"
34
- | "MOT class 5";
35
23
  export type EUVehicleCategory =
36
24
  | "m1"
37
25
  | "m2"
@@ -286,6 +274,10 @@ export interface PSVAxles {
286
274
  tyres_speedCategorySymbol?: SpeedCategorySymbol | null;
287
275
  }
288
276
 
277
+ export enum VehicleClassDescription {
278
+ SMALL_PSV = "small psv (ie: less than or equal to 22 seats)",
279
+ LARGE_PSV = "large psv(ie: greater than 23 seats)"
280
+ }
289
281
  export enum ApprovalType {
290
282
  NTA = "NTA",
291
283
  ECTA = "ECTA",
@@ -102,18 +102,6 @@ export type PlateReasonForIssue =
102
102
  | "Original"
103
103
  | "Manual";
104
104
  export type StatusCode = "provisional" | "current" | "archived";
105
- export type VehicleClassDescription =
106
- | "motorbikes over 200cc or with a sidecar"
107
- | "not applicable"
108
- | "small psv (ie: less than or equal to 22 seats)"
109
- | "motorbikes up to 200cc"
110
- | "trailer"
111
- | "large psv(ie: greater than 23 seats)"
112
- | "3 wheelers"
113
- | "heavy goods vehicle"
114
- | "MOT class 4"
115
- | "MOT class 7"
116
- | "MOT class 5";
117
105
  export type VehicleConfiguration =
118
106
  | "rigid"
119
107
  | "articulated"
@@ -269,7 +257,7 @@ export interface TechRecordPUTTRLComplete {
269
257
  techRecord_tyreUseCode: string;
270
258
  techRecord_variantNumber?: null | string;
271
259
  techRecord_variantVersionNumber?: null | string;
272
- techRecord_vehicleClass_description: VehicleClassDescription;
260
+ techRecord_vehicleClass_description: "trailer";
273
261
  techRecord_vehicleConfiguration: VehicleConfiguration;
274
262
  techRecord_vehicleType: "trl";
275
263
  trailerId?: string;
@@ -102,18 +102,6 @@ export type PlateReasonForIssue =
102
102
  | "Original"
103
103
  | "Manual";
104
104
  export type StatusCode = "provisional" | "current" | "archived";
105
- export type VehicleClassDescription =
106
- | "motorbikes over 200cc or with a sidecar"
107
- | "not applicable"
108
- | "small psv (ie: less than or equal to 22 seats)"
109
- | "motorbikes up to 200cc"
110
- | "trailer"
111
- | "large psv(ie: greater than 23 seats)"
112
- | "3 wheelers"
113
- | "heavy goods vehicle"
114
- | "MOT class 4"
115
- | "MOT class 7"
116
- | "MOT class 5";
117
105
  export type VehicleConfiguration =
118
106
  | "rigid"
119
107
  | "articulated"
@@ -258,7 +246,7 @@ export interface TechRecordPUTTRLSkeleton {
258
246
  techRecord_statusCode: StatusCode;
259
247
  techRecord_suspensionType?: string | null;
260
248
  techRecord_tyreUseCode?: string | null;
261
- techRecord_vehicleClass_description: VehicleClassDescription;
249
+ techRecord_vehicleClass_description: "trailer";
262
250
  techRecord_vehicleConfiguration?: VehicleConfiguration | null;
263
251
  techRecord_vehicleType: "trl";
264
252
  trailerId?: string;
@@ -102,18 +102,6 @@ export type PlateReasonForIssue =
102
102
  | "Original"
103
103
  | "Manual";
104
104
  export type StatusCode = "provisional" | "current" | "archived";
105
- export type VehicleClassDescription =
106
- | "motorbikes over 200cc or with a sidecar"
107
- | "not applicable"
108
- | "small psv (ie: less than or equal to 22 seats)"
109
- | "motorbikes up to 200cc"
110
- | "trailer"
111
- | "large psv(ie: greater than 23 seats)"
112
- | "3 wheelers"
113
- | "heavy goods vehicle"
114
- | "MOT class 4"
115
- | "MOT class 7"
116
- | "MOT class 5";
117
105
  export type VehicleConfiguration =
118
106
  | "rigid"
119
107
  | "articulated"
@@ -270,7 +258,7 @@ export interface TechRecordPUTTRLTestable {
270
258
  techRecord_suspensionType?: string | null;
271
259
  techRecord_dimensions_axleSpacing?: AxleSpacing[];
272
260
  techRecord_tyreUseCode?: string | null;
273
- techRecord_vehicleClass_description: VehicleClassDescription;
261
+ techRecord_vehicleClass_description: "trailer";
274
262
  techRecord_vehicleConfiguration: VehicleConfiguration;
275
263
  techRecord_vehicleType: "trl";
276
264
  trailerId?: string;