@dvsa/cvs-type-definitions 2.0.14 → 2.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/README.md +1 -1
  2. package/lib/README.md +48 -0
  3. package/lib/json-schemas/v1/activity/index.json +62 -0
  4. package/lib/json-schemas/v1/defect-category-reference-data/index.json +440 -0
  5. package/lib/json-schemas/v1/defect-details/index.json +265 -0
  6. package/lib/json-schemas/v1/defect-location/index.json +49 -0
  7. package/lib/json-schemas/v1/reason-item/index.json +17 -0
  8. package/lib/json-schemas/v1/tech-record/index.json +639 -0
  9. package/lib/json-schemas/v1/test/index.json +1843 -0
  10. package/lib/json-schemas/v1/test-result/index.json +636 -0
  11. package/lib/json-schemas/v1/test-station/index.json +67 -0
  12. package/lib/json-schemas/v1/test-type/index.json +479 -0
  13. package/lib/json-schemas/v1/vehicle/index.json +1804 -0
  14. package/lib/json-schemas/v1/vehicle-tech-record/index.json +683 -0
  15. package/lib/json-schemas/v1/visit/index.json +1895 -0
  16. package/lib/json-schemas/v3/tech-record/get/car/complete/index.json +216 -0
  17. package/lib/json-schemas/v3/tech-record/get/car/skeleton/index.json +195 -0
  18. package/lib/json-schemas/v3/tech-record/get/hgv/complete/index.json +1051 -0
  19. package/lib/json-schemas/v3/tech-record/get/hgv/skeleton/index.json +1124 -0
  20. package/lib/json-schemas/v3/tech-record/get/hgv/testable/index.json +1119 -0
  21. package/lib/json-schemas/v3/tech-record/get/lgv/complete/index.json +226 -0
  22. package/lib/json-schemas/v3/tech-record/get/lgv/skeleton/index.json +202 -0
  23. package/lib/json-schemas/v3/tech-record/get/motorcycle/complete/index.json +219 -0
  24. package/lib/json-schemas/v3/tech-record/get/motorcycle/skeleton/index.json +202 -0
  25. package/lib/json-schemas/v3/tech-record/get/psv/complete/index.json +1027 -0
  26. package/lib/json-schemas/v3/tech-record/get/psv/skeleton/index.json +1120 -0
  27. package/lib/json-schemas/v3/tech-record/get/psv/testable/index.json +1097 -0
  28. package/lib/json-schemas/v3/tech-record/get/search/complete/index.json +55 -0
  29. package/lib/json-schemas/v3/tech-record/get/search/skeleton/index.json +55 -0
  30. package/lib/json-schemas/v3/tech-record/get/trl/complete/index.json +1307 -0
  31. package/lib/json-schemas/v3/tech-record/get/trl/skeleton/index.json +1002 -0
  32. package/lib/json-schemas/v3/tech-record/get/trl/testable/index.json +1155 -0
  33. package/lib/json-schemas/v3/tech-record/post/psv/complete/index.json +1024 -0
  34. package/lib/json-schemas/v3/tech-record/post/psv/skeleton/index.json +1112 -0
  35. package/lib/json-schemas/v3/tech-record/post/psv/testable/index.json +1092 -0
  36. package/lib/json-schemas/v3/tech-record/put/car/complete/request/index.json +87 -0
  37. package/lib/json-schemas/v3/tech-record/put/car/complete/response/index.json +237 -0
  38. package/lib/json-schemas/v3/tech-record/put/car/skeleton/request/index.json +64 -0
  39. package/lib/json-schemas/v3/tech-record/put/car/skeleton/response/index.json +216 -0
  40. package/lib/json-schemas/v3/tech-record/put/hgv/complete/index.json +1009 -0
  41. package/lib/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +1082 -0
  42. package/lib/json-schemas/v3/tech-record/put/hgv/testable/index.json +1077 -0
  43. package/lib/json-schemas/v3/tech-record/put/lgv/complete/request/index.json +97 -0
  44. package/lib/json-schemas/v3/tech-record/put/lgv/complete/response/index.json +247 -0
  45. package/lib/json-schemas/v3/tech-record/put/lgv/skeleton/request/index.json +71 -0
  46. package/lib/json-schemas/v3/tech-record/put/lgv/skeleton/response/index.json +223 -0
  47. package/lib/json-schemas/v3/tech-record/put/trl/complete/index.json +1265 -0
  48. package/lib/json-schemas/v3/tech-record/put/trl/skeleton/index.json +978 -0
  49. package/lib/json-schemas/v3/tech-record/put/trl/testable/index.json +1115 -0
  50. package/lib/package.json +38 -0
  51. package/lib/{src/schema-validation/schema-validator.d.ts → schema-validator.d.ts} +1 -1
  52. package/lib/{src/schema-validation/schema-validator.js → schema-validator.js} +2 -2
  53. package/lib/types/v1/activity/index.d.ts +23 -0
  54. package/lib/types/v1/defect-category-reference-data/index.d.ts +52 -0
  55. package/lib/types/v1/defect-details/index.d.ts +53 -0
  56. package/lib/types/v1/defect-location/index.d.ts +16 -0
  57. package/lib/types/v1/reason-item/index.d.ts +11 -0
  58. package/lib/types/v1/tech-record/index.d.ts +202 -0
  59. package/lib/types/v1/test/index.d.ts +353 -0
  60. package/lib/types/v1/test-result/index.d.ts +136 -0
  61. package/lib/types/v1/test-station/index.d.ts +23 -0
  62. package/lib/types/v1/test-type/index.d.ts +98 -0
  63. package/lib/types/v1/vehicle/index.d.ts +345 -0
  64. package/lib/types/v1/vehicle-tech-record/index.d.ts +212 -0
  65. package/lib/types/v1/visit/index.d.ts +366 -0
  66. package/lib/types/v3/tech-record/get/car/complete/index.d.ts +74 -0
  67. package/lib/types/v3/tech-record/get/car/skeleton/index.d.ts +72 -0
  68. package/lib/types/v3/tech-record/get/hgv/complete/index.d.ts +285 -0
  69. package/lib/types/v3/tech-record/get/hgv/skeleton/index.d.ts +285 -0
  70. package/lib/types/v3/tech-record/get/hgv/testable/index.d.ts +285 -0
  71. package/lib/types/v3/tech-record/get/lgv/complete/index.d.ts +75 -0
  72. package/lib/types/v3/tech-record/get/lgv/skeleton/index.d.ts +73 -0
  73. package/lib/types/v3/tech-record/get/motorcycle/complete/index.d.ts +75 -0
  74. package/lib/types/v3/tech-record/get/motorcycle/skeleton/index.d.ts +73 -0
  75. package/lib/types/v3/tech-record/get/psv/complete/index.d.ts +315 -0
  76. package/lib/types/v3/tech-record/get/psv/skeleton/index.d.ts +313 -0
  77. package/lib/types/v3/tech-record/get/psv/testable/index.d.ts +313 -0
  78. package/lib/types/v3/tech-record/get/search/complete/index.d.ts +20 -0
  79. package/lib/types/v3/tech-record/get/search/skeleton/index.d.ts +19 -0
  80. package/lib/types/v3/tech-record/get/trl/complete/index.d.ts +350 -0
  81. package/lib/types/v3/tech-record/get/trl/skeleton/index.d.ts +256 -0
  82. package/lib/types/v3/tech-record/get/trl/testable/index.d.ts +294 -0
  83. package/lib/types/v3/tech-record/post/psv/complete/index.d.ts +315 -0
  84. package/lib/types/v3/tech-record/post/psv/skeleton/index.d.ts +313 -0
  85. package/lib/types/v3/tech-record/post/psv/testable/index.d.ts +313 -0
  86. package/lib/types/v3/tech-record/put/car/complete/request/index.d.ts +24 -0
  87. package/lib/types/v3/tech-record/put/car/complete/response/index.d.ts +75 -0
  88. package/lib/types/v3/tech-record/put/car/skeleton/request/index.d.ts +22 -0
  89. package/lib/types/v3/tech-record/put/car/skeleton/response/index.d.ts +75 -0
  90. package/lib/types/v3/tech-record/put/hgv/complete/index.d.ts +276 -0
  91. package/lib/types/v3/tech-record/put/hgv/skeleton/index.d.ts +276 -0
  92. package/lib/types/v3/tech-record/put/hgv/testable/index.d.ts +276 -0
  93. package/lib/types/v3/tech-record/put/lgv/complete/request/index.d.ts +25 -0
  94. package/lib/types/v3/tech-record/put/lgv/complete/response/index.d.ts +76 -0
  95. package/lib/types/v3/tech-record/put/lgv/skeleton/request/index.d.ts +23 -0
  96. package/lib/types/v3/tech-record/put/lgv/skeleton/response/index.d.ts +76 -0
  97. package/lib/types/v3/tech-record/put/trl/complete/index.d.ts +341 -0
  98. package/lib/types/v3/tech-record/put/trl/skeleton/index.d.ts +250 -0
  99. package/lib/types/v3/tech-record/put/trl/testable/index.d.ts +285 -0
  100. package/package.json +2 -2
@@ -0,0 +1,285 @@
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 type TC2Types = "initial";
9
+ export type TC3Types = "intermediate" | "periodic" | "exceptional";
10
+ export type FitmentCode = "single" | "double";
11
+ export type EUVehicleCategory =
12
+ | "m1"
13
+ | "m2"
14
+ | "m3"
15
+ | "n1"
16
+ | "n2"
17
+ | "n3"
18
+ | "o1"
19
+ | "o2"
20
+ | "o3"
21
+ | "o4"
22
+ | "l1e-a"
23
+ | "l1e"
24
+ | "l2e"
25
+ | "l3e"
26
+ | "l4e"
27
+ | "l5e"
28
+ | "l6e"
29
+ | "l7e";
30
+ export type FuelPropulsionSystem =
31
+ | "DieselPetrol"
32
+ | "Diesel"
33
+ | "Petrol"
34
+ | "Hybrid"
35
+ | "Electric"
36
+ | "CNG"
37
+ | "Fuel cell"
38
+ | "LNG"
39
+ | "Other";
40
+ export type MicrofilmDocumentTypes =
41
+ | "PSV Miscellaneous"
42
+ | "AAT - Trailer Annual Test"
43
+ | "AIV - HGV International App"
44
+ | "COIF Modification"
45
+ | "Trailer COC + Int Plate"
46
+ | "RCT - Trailer Test Cert paid"
47
+ | "HGV COC + Int Plate"
48
+ | "PSV Carry/Auth"
49
+ | "OMO Report"
50
+ | "AIT - Trailer International App"
51
+ | "IPV - HGV EEC Plate/Cert"
52
+ | "XCV - HGV Test Cert free"
53
+ | "AAV - HGV Annual Test"
54
+ | "COIF Master"
55
+ | "Tempo 100 Sp Ord"
56
+ | "Deleted"
57
+ | "PSV N/ALT"
58
+ | "XPT - Tr Plating Cert paid"
59
+ | "FFV - HGV First Test"
60
+ | "Repl Vitesse 100"
61
+ | "TCV - HGV Test Cert"
62
+ | "ZZZ - Miscellaneous"
63
+ | "Test Certificate"
64
+ | "XCT - Trailer Test Cert free"
65
+ | "C52 - COC and VTG52A"
66
+ | "Tempo 100 Report"
67
+ | "Main File Amendment"
68
+ | "PSV Doc"
69
+ | "PSV COC"
70
+ | "PSV Repl COC"
71
+ | "TAV - COC"
72
+ | "NPT - Trailer Alteration"
73
+ | "OMO Certificate"
74
+ | "PSV Repl COIF"
75
+ | "PSV Repl COF"
76
+ | "COIF Application"
77
+ | "XPV - HGV Plating Cert Free"
78
+ | "TCT - Trailer Test Cert"
79
+ | "Tempo 100 App"
80
+ | "PSV Decision on N/ALT"
81
+ | "Special Order PSV"
82
+ | "NPV - HGV Alteration"
83
+ | "No Description Found"
84
+ | "Vitesse 100 Sp Ord"
85
+ | "Brake Test Details"
86
+ | "COIF Productional"
87
+ | "RDT - Test Disc Paid"
88
+ | "RCV - HGV Test Cert"
89
+ | "FFT - Trailer First Test"
90
+ | "IPT - Trailer EEC Plate/Cert"
91
+ | "XDT - Test Disc Free"
92
+ | "PRV - HGV Plating Cert paid"
93
+ | "COF Cert"
94
+ | "PRT - Tr Plating Cert paid"
95
+ | "Tempo 100 Permit";
96
+ export type PlateReasonForIssue =
97
+ | "Free replacement"
98
+ | "Replacement"
99
+ | "Destroyed"
100
+ | "Provisional"
101
+ | "Original"
102
+ | "Manual";
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
+ export type VehicleConfiguration =
117
+ | "rigid"
118
+ | "articulated"
119
+ | "centre axle drawbar"
120
+ | "semi-car transporter"
121
+ | "semi-trailer"
122
+ | "long semi-trailer"
123
+ | "low loader"
124
+ | "other"
125
+ | "drawbar"
126
+ | "four-in-line"
127
+ | "dolly"
128
+ | "full drawbar";
129
+ export type ApprovalType =
130
+ | "NTA"
131
+ | "ECTA"
132
+ | "IVA"
133
+ | "NSSTA"
134
+ | "ECSSTA"
135
+ | "GB WVTA"
136
+ | "UKNI WVTA"
137
+ | "EU WVTA Pre 23"
138
+ | "EU WVTA 23 on"
139
+ | "QNIG"
140
+ | "Prov.GB WVTA"
141
+ | "Small series"
142
+ | "IVA - VCA"
143
+ | "IVA - DVSA/NI";
144
+
145
+ export interface GETHGVTechnicalRecordV3Testable {
146
+ createdTimestamp: string;
147
+ partialVin: string;
148
+ systemNumber: string;
149
+ techRecord_adrDetails_vehicleDetails_type?: string | null;
150
+ techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
151
+ techRecord_adrDetails_permittedDangerousGoods?: string[] | null;
152
+ techRecord_adrDetails_compatibilityGroupJ?: boolean | null;
153
+ techRecord_adrDetails_additionalExaminerNotes?: string | null;
154
+ techRecord_adrDetails_applicantDetails_name?: string | null;
155
+ techRecord_adrDetails_applicantDetails_street?: string | null;
156
+ techRecord_adrDetails_applicantDetails_town?: string | null;
157
+ techRecord_adrDetails_applicantDetails_city?: string | null;
158
+ techRecord_adrDetails_applicantDetails_postcode?: string | null;
159
+ techRecord_adrDetails_memosApply?: string[] | null;
160
+ techRecord_adrDetails_documents?: string[] | null;
161
+ techRecord_adrDetails_listStatementApplicable?: boolean | null;
162
+ techRecord_adrDetails_batteryListNumber?: string | null;
163
+ techRecord_adrDetails_brakeDeclarationsSeen?: boolean | null;
164
+ techRecord_adrDetails_brakeDeclarationIssuer?: string | null;
165
+ techRecord_adrDetails_brakeEndurance?: boolean | null;
166
+ techRecord_adrDetails_weight?: string | null;
167
+ techRecord_adrDetails_declarationsSeen?: boolean | null;
168
+ techRecord_adrDetails_additionalNotes_guidanceNotes?: string[] | null;
169
+ techRecord_adrDetails_additionalNotes_number?: string[] | null;
170
+ techRecord_adrDetails_adrTypeApprovalNo?: string | null;
171
+ techRecord_adrDetails_adrCertificateNotes?: string | null;
172
+ techRecord_adrDetails_tank_tankDetails_tankManufacturer?: string | null;
173
+ techRecord_adrDetails_tank_tankDetails_yearOfManufacture?: number | null;
174
+ techRecord_adrDetails_tank_tankDetails_tankManufacturerSerialNo?: string | null;
175
+ techRecord_adrDetails_tank_tankDetails_tankTypeAppNo?: string | null;
176
+ techRecord_adrDetails_tank_tankDetails_tankCode?: string | null;
177
+ techRecord_adrDetails_tank_tankDetails_specialProvisions?: string | null;
178
+ techRecord_adrDetails_tank_tankDetails_tc2Details_tc2Type?: null | TC2Types;
179
+ techRecord_adrDetails_tank_tankDetails_tc2Details_tc2IntermediateApprovalNo?: string | null;
180
+ techRecord_adrDetails_tank_tankDetails_tc2Details_tc2IntermediateExpiryDate?: string | null;
181
+ techRecord_adrDetails_tank_tankDetails_tc3Details_tc3Type?: null | TC3Types;
182
+ techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicNumber?: string | null;
183
+ techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicExpiryDate?: string | null;
184
+ techRecord_adrDetails_tank_tankDetails_tankStatement_substancesPermitted?: string | null;
185
+ techRecord_adrDetails_tank_tankDetails_tankStatement_statement?: string | null;
186
+ techRecord_adrDetails_tank_tankDetails_tankStatement_productListRefNo?: string | null;
187
+ techRecord_adrDetails_tank_tankDetails_tankStatement_productListUnNo?: string[] | null;
188
+ techRecord_adrDetails_tank_tankDetails_tankStatement_productList?: string | null;
189
+ techRecord_alterationMarker?: boolean | null;
190
+ techRecord_applicantDetails_name?: string | null;
191
+ techRecord_applicantDetails_address1?: null | string;
192
+ techRecord_applicantDetails_address2?: null | string;
193
+ techRecord_applicantDetails_postTown?: null | string;
194
+ techRecord_applicantDetails_address3?: null | string;
195
+ techRecord_applicantDetails_postCode?: null | string;
196
+ techRecord_applicantDetails_telephoneNumber?: null | string;
197
+ techRecord_applicantDetails_emailAddress?: null | string;
198
+ techRecord_applicationId?: string;
199
+ axles?: HGVAxles[];
200
+ techRecord_bodyType_code?: string;
201
+ techRecord_bodyType_description?: string;
202
+ techRecord_brakes_antilockBrakingSystem?: string | null;
203
+ techRecord_brakes_dtpNumber?: string | null;
204
+ techRecord_brakes_loadSensingValve?: boolean | null;
205
+ techRecord_conversionRefNo?: string | null;
206
+ techRecord_createdAt: string;
207
+ techRecord_createdById: string;
208
+ techRecord_createdByName: string;
209
+ techRecord_departmentalVehicleMarker?: boolean | null;
210
+ techRecord_dimensions_axleSpacing_axles?: string;
211
+ techRecord_dimensions_axleSpacing_value?: number | null;
212
+ techRecord_dimensions_length?: number | null;
213
+ techRecord_dimensions_width?: number | null;
214
+ techRecord_drawbarCouplingFitted?: boolean | null;
215
+ techRecord_emissionsLimit?: null | number;
216
+ techRecord_euroStandard?: string | null;
217
+ techRecord_euVehicleCategory?: EUVehicleCategory | null;
218
+ techRecord_frontAxleToRearAxle?: number | null;
219
+ techRecord_frontAxleTo5thWheelMin?: number | null;
220
+ techRecord_frontAxleTo5thWheelMax?: number | null;
221
+ techRecord_frontVehicleTo5thWheelCouplingMin?: number | null;
222
+ techRecord_frontVehicleTo5thWheelCouplingMax?: number | null;
223
+ techRecord_fuelPropulsionSystem?: FuelPropulsionSystem | null;
224
+ techRecord_functionCode?: string | null;
225
+ techRecord_grossDesignWeight?: number | null;
226
+ techRecord_grossEecWeight?: number | null;
227
+ techRecord_grossGbWeight?: number | null;
228
+ techRecord_make?: string | null;
229
+ techRecord_maxTrainGbWeight?: number | null;
230
+ techRecord_maxTrainEecWeight?: number | null;
231
+ techRecord_maxTrainDesignWeight?: number | null;
232
+ techRecord_manufactureYear?: number | null;
233
+ techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentTypes;
234
+ techRecord_microfilm_microfilmRollNumber?: string | null;
235
+ techRecord_microfilm_microfilmSerialNumber?: string | null;
236
+ techRecord_model?: string | null;
237
+ techRecord_numberOfWheelsDriven: number;
238
+ techRecord_noOfAxles?: number | null;
239
+ techRecord_notes?: string | null;
240
+ techRecord_offRoad?: boolean | null;
241
+ plates?: HGVPlates[];
242
+ techRecord_reasonForCreation: string;
243
+ techRecord_recordCompleteness: "testable";
244
+ techRecord_regnDate?: string | null;
245
+ techRecord_roadFriendly?: boolean | null;
246
+ techRecord_statusCode: StatusCode;
247
+ techRecord_speedLimiterMrk?: boolean | null;
248
+ techRecord_tachoExemptMrk?: boolean | null;
249
+ techRecord_trainDesignWeight?: number | null;
250
+ techRecord_trainEecWeight?: number | null;
251
+ techRecord_trainGbWeight?: number | null;
252
+ techRecord_tyreUseCode?: string | null;
253
+ techRecord_vehicleClass_code: string;
254
+ techRecord_vehicleClass_description: VehicleClassDescription;
255
+ techRecord_vehicleConfiguration: VehicleConfiguration;
256
+ techRecord_approvalType?: ApprovalType | null;
257
+ techRecord_approvalTypeNumber?: string | null;
258
+ techRecord_ntaNumber?: string | null;
259
+ techRecord_variantNumber?: string | null;
260
+ techRecord_variantVersionNumber?: string | null;
261
+ techRecord_lastUpdatedAt?: string | null;
262
+ techRecord_lastUpdatedByName?: string | null;
263
+ techRecord_lastUpdatedById?: string | null;
264
+ techRecord_vehicleType: "hgv";
265
+ primaryVrm: string;
266
+ vin: string;
267
+ }
268
+ export interface HGVAxles {
269
+ techRecord_parkingBrakeMrk?: boolean | null;
270
+ techRecord_axleNumber?: number | null;
271
+ techRecord_weights_gbWeight?: number | null;
272
+ techRecord_weights_designWeight?: number | null;
273
+ techRecord_weights_eecWeight?: number | null;
274
+ techRecord_tyres_tyreCode?: number | null;
275
+ techRecord_tyres_tyreSize?: string | null;
276
+ techRecord_tyres_plyRating?: string | null;
277
+ techRecord_tyres_fitmentCode?: null | FitmentCode;
278
+ techRecord_tyres_dataTrAxles?: null | number;
279
+ }
280
+ export interface HGVPlates {
281
+ techRecord_plateSerialNumber?: string | null;
282
+ techRecord_plateIssueDate?: string | null;
283
+ techRecord_reasonForIssue?: null | PlateReasonForIssue;
284
+ techRecord_plateIssuer?: string | null;
285
+ }
@@ -0,0 +1,75 @@
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 type TechRecordCompleteCarSchema = TechRecordCompleteCarSchema1;
9
+ export type EUVehicleCategory =
10
+ | "m1"
11
+ | "m2"
12
+ | "m3"
13
+ | "n1"
14
+ | "n2"
15
+ | "n3"
16
+ | "o1"
17
+ | "o2"
18
+ | "o3"
19
+ | "o4"
20
+ | "l1e-a"
21
+ | "l1e"
22
+ | "l2e"
23
+ | "l3e"
24
+ | "l4e"
25
+ | "l5e"
26
+ | "l6e"
27
+ | "l7e";
28
+ export type StatusCode = "provisional" | "current" | "archived";
29
+ export type VehicleConfiguration =
30
+ | "rigid"
31
+ | "articulated"
32
+ | "centre axle drawbar"
33
+ | "semi-car transporter"
34
+ | "semi-trailer"
35
+ | "long semi-trailer"
36
+ | "low loader"
37
+ | "other"
38
+ | "drawbar"
39
+ | "four-in-line"
40
+ | "dolly"
41
+ | "full drawbar";
42
+ export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
43
+ export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
44
+
45
+ export interface TechRecordCompleteCarSchema1 {
46
+ techRecord_applicantDetails_name?: string | null;
47
+ techRecord_applicantDetails_address1?: null | string;
48
+ techRecord_applicantDetails_address2?: null | string;
49
+ techRecord_applicantDetails_postTown?: null | string;
50
+ techRecord_applicantDetails_address3?: null | string;
51
+ techRecord_applicantDetails_postCode?: null | string;
52
+ techRecord_applicantDetails_telephoneNumber?: null | string;
53
+ techRecord_applicantDetails_emailAddress?: null | string;
54
+ createdTimestamp: string;
55
+ partialVin?: string;
56
+ primaryVrm?: string;
57
+ systemNumber: string;
58
+ techRecord_createdAt?: string;
59
+ techRecord_createdById?: string;
60
+ techRecord_createdByName?: string;
61
+ techRecord_euVehicleCategory?: EUVehicleCategory;
62
+ techRecord_lastUpdatedAt?: string | null;
63
+ techRecord_lastUpdatedById?: string | null;
64
+ techRecord_lastUpdatedByName?: string | null;
65
+ techRecord_manufactureYear?: string | null;
66
+ techRecord_recordCompleteness?: string;
67
+ techRecord_noOfAxles?: number;
68
+ techRecord_reasonForCreation?: string;
69
+ techRecord_regnDate?: string | null;
70
+ techRecord_statusCode?: StatusCode;
71
+ techRecord_vehicleConfiguration?: VehicleConfiguration;
72
+ techRecord_vehicleType?: VehicleType;
73
+ vin?: string;
74
+ vehicleSubclass: VehicleSubclass;
75
+ }
@@ -0,0 +1,73 @@
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 type TechRecordSkeletonCarSchema = TechRecordSkeletonCarSchema1;
9
+ export type EUVehicleCategory =
10
+ | "m1"
11
+ | "m2"
12
+ | "m3"
13
+ | "n1"
14
+ | "n2"
15
+ | "n3"
16
+ | "o1"
17
+ | "o2"
18
+ | "o3"
19
+ | "o4"
20
+ | "l1e-a"
21
+ | "l1e"
22
+ | "l2e"
23
+ | "l3e"
24
+ | "l4e"
25
+ | "l5e"
26
+ | "l6e"
27
+ | "l7e";
28
+ export type StatusCode = "provisional" | "current" | "archived";
29
+ export type VehicleConfiguration =
30
+ | "rigid"
31
+ | "articulated"
32
+ | "centre axle drawbar"
33
+ | "semi-car transporter"
34
+ | "semi-trailer"
35
+ | "long semi-trailer"
36
+ | "low loader"
37
+ | "other"
38
+ | "drawbar"
39
+ | "four-in-line"
40
+ | "dolly"
41
+ | "full drawbar";
42
+ export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
43
+
44
+ export interface TechRecordSkeletonCarSchema1 {
45
+ techRecord_applicantDetails_name?: string | null;
46
+ techRecord_applicantDetails_address1?: null | string;
47
+ techRecord_applicantDetails_address2?: null | string;
48
+ techRecord_applicantDetails_postTown?: null | 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;
53
+ createdTimestamp: string;
54
+ partialVin?: string;
55
+ primaryVrm?: string;
56
+ systemNumber: string;
57
+ techRecord_createdAt?: string;
58
+ techRecord_createdById?: string;
59
+ techRecord_createdByName?: string;
60
+ techRecord_euVehicleCategory?: EUVehicleCategory;
61
+ techRecord_lastUpdatedAt?: string | null;
62
+ techRecord_lastUpdatedById?: string | null;
63
+ techRecord_lastUpdatedByName?: string | null;
64
+ techRecord_manufactureYear?: string | null;
65
+ techRecord_recordCompleteness?: string;
66
+ techRecord_noOfAxles?: number;
67
+ techRecord_reasonForCreation?: string;
68
+ techRecord_regnDate?: string | null;
69
+ techRecord_statusCode?: StatusCode;
70
+ techRecord_vehicleConfiguration?: VehicleConfiguration;
71
+ techRecord_vehicleType?: VehicleType;
72
+ vin?: string;
73
+ }
@@ -0,0 +1,75 @@
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 type EUVehicleCategory =
9
+ | "m1"
10
+ | "m2"
11
+ | "m3"
12
+ | "n1"
13
+ | "n2"
14
+ | "n3"
15
+ | "o1"
16
+ | "o2"
17
+ | "o3"
18
+ | "o4"
19
+ | "l1e-a"
20
+ | "l1e"
21
+ | "l2e"
22
+ | "l3e"
23
+ | "l4e"
24
+ | "l5e"
25
+ | "l6e"
26
+ | "l7e";
27
+ export type StatusCode = "provisional" | "current" | "archived";
28
+ export type VehicleConfiguration =
29
+ | "rigid"
30
+ | "articulated"
31
+ | "centre axle drawbar"
32
+ | "semi-car transporter"
33
+ | "semi-trailer"
34
+ | "long semi-trailer"
35
+ | "low loader"
36
+ | "other"
37
+ | "drawbar"
38
+ | "four-in-line"
39
+ | "dolly"
40
+ | "full drawbar";
41
+ export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
42
+ export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
43
+
44
+ export interface TechRecordCompleteMotorcycleSchema {
45
+ techRecord_applicantDetails_name?: string | null;
46
+ techRecord_applicantDetails_address1?: null | string;
47
+ techRecord_applicantDetails_address2?: null | string;
48
+ techRecord_applicantDetails_postTown?: null | 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;
53
+ createdTimestamp: string;
54
+ partialVin?: string;
55
+ primaryVrm?: string;
56
+ systemNumber: string;
57
+ techRecord_createdAt?: string;
58
+ techRecord_createdById?: string;
59
+ techRecord_createdByName?: string;
60
+ techRecord_euVehicleCategory?: EUVehicleCategory;
61
+ techRecord_lastUpdatedAt?: string | null;
62
+ techRecord_lastUpdatedById?: string | null;
63
+ techRecord_lastUpdatedByName?: string | null;
64
+ techRecord_manufactureYear?: string | null;
65
+ techRecord_recordCompleteness?: string;
66
+ techRecord_noOfAxles?: number;
67
+ techRecord_reasonForCreation?: string;
68
+ techRecord_regnDate?: string | null;
69
+ techRecord_statusCode?: StatusCode;
70
+ techRecord_vehicleConfiguration?: VehicleConfiguration;
71
+ techRecord_vehicleType?: VehicleType;
72
+ vin?: string;
73
+ vehicleSubclass: VehicleSubclass;
74
+ numberOfWheelsDriven?: number;
75
+ }
@@ -0,0 +1,73 @@
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 type TechRecordSkeletonCarSchema = TechRecordSkeletonCarSchema1;
9
+ export type EUVehicleCategory =
10
+ | "m1"
11
+ | "m2"
12
+ | "m3"
13
+ | "n1"
14
+ | "n2"
15
+ | "n3"
16
+ | "o1"
17
+ | "o2"
18
+ | "o3"
19
+ | "o4"
20
+ | "l1e-a"
21
+ | "l1e"
22
+ | "l2e"
23
+ | "l3e"
24
+ | "l4e"
25
+ | "l5e"
26
+ | "l6e"
27
+ | "l7e";
28
+ export type StatusCode = "provisional" | "current" | "archived";
29
+ export type VehicleConfiguration =
30
+ | "rigid"
31
+ | "articulated"
32
+ | "centre axle drawbar"
33
+ | "semi-car transporter"
34
+ | "semi-trailer"
35
+ | "long semi-trailer"
36
+ | "low loader"
37
+ | "other"
38
+ | "drawbar"
39
+ | "four-in-line"
40
+ | "dolly"
41
+ | "full drawbar";
42
+ export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
43
+
44
+ export interface TechRecordSkeletonCarSchema1 {
45
+ techRecord_applicantDetails_name?: string | null;
46
+ techRecord_applicantDetails_address1?: null | string;
47
+ techRecord_applicantDetails_address2?: null | string;
48
+ techRecord_applicantDetails_postTown?: null | 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;
53
+ createdTimestamp: string;
54
+ partialVin?: string;
55
+ primaryVrm?: string;
56
+ systemNumber: string;
57
+ techRecord_createdAt?: string;
58
+ techRecord_createdById?: string;
59
+ techRecord_createdByName?: string;
60
+ techRecord_euVehicleCategory?: EUVehicleCategory;
61
+ techRecord_lastUpdatedAt?: string | null;
62
+ techRecord_lastUpdatedById?: string | null;
63
+ techRecord_lastUpdatedByName?: string | null;
64
+ techRecord_manufactureYear?: string | null;
65
+ techRecord_recordCompleteness?: string;
66
+ techRecord_noOfAxles?: number;
67
+ techRecord_reasonForCreation?: string;
68
+ techRecord_regnDate?: string | null;
69
+ techRecord_statusCode?: StatusCode;
70
+ techRecord_vehicleConfiguration?: VehicleConfiguration;
71
+ techRecord_vehicleType?: VehicleType;
72
+ vin?: string;
73
+ }