@dvsa/cvs-type-definitions 2.0.16 → 2.0.18

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 (149) hide show
  1. package/json-schemas/v1/activity/index.json +62 -62
  2. package/json-schemas/v1/defect-category-reference-data/index.json +440 -440
  3. package/json-schemas/v1/defect-details/index.json +265 -265
  4. package/json-schemas/v1/defect-location/index.json +49 -49
  5. package/json-schemas/v1/reason-item/index.json +17 -17
  6. package/json-schemas/v1/tech-record/index.json +639 -639
  7. package/json-schemas/v1/test/index.json +1843 -1843
  8. package/json-schemas/v1/test-result/index.json +636 -636
  9. package/json-schemas/v1/test-station/index.json +67 -67
  10. package/json-schemas/v1/test-type/index.json +479 -479
  11. package/json-schemas/v1/vehicle/index.json +1804 -1804
  12. package/json-schemas/v1/vehicle-tech-record/index.json +683 -683
  13. package/json-schemas/v1/visit/index.json +1895 -1895
  14. package/json-schemas/v3/tech-record/get/car/complete/index.json +216 -216
  15. package/json-schemas/v3/tech-record/get/car/skeleton/index.json +195 -195
  16. package/json-schemas/v3/tech-record/get/hgv/complete/index.json +1051 -1051
  17. package/json-schemas/v3/tech-record/get/hgv/skeleton/index.json +1124 -1124
  18. package/json-schemas/v3/tech-record/get/hgv/testable/index.json +1119 -1119
  19. package/json-schemas/v3/tech-record/get/lgv/complete/index.json +226 -226
  20. package/json-schemas/v3/tech-record/get/lgv/skeleton/index.json +202 -202
  21. package/json-schemas/v3/tech-record/get/motorcycle/complete/index.json +219 -219
  22. package/json-schemas/v3/tech-record/get/motorcycle/skeleton/index.json +202 -202
  23. package/json-schemas/v3/tech-record/get/psv/complete/index.json +1027 -1027
  24. package/json-schemas/v3/tech-record/get/psv/skeleton/index.json +1120 -1120
  25. package/json-schemas/v3/tech-record/get/psv/testable/index.json +1097 -1097
  26. package/json-schemas/v3/tech-record/get/search/complete/index.json +55 -55
  27. package/json-schemas/v3/tech-record/get/search/skeleton/index.json +55 -55
  28. package/json-schemas/v3/tech-record/get/trl/complete/index.json +1307 -1307
  29. package/json-schemas/v3/tech-record/get/trl/skeleton/index.json +1002 -1002
  30. package/json-schemas/v3/tech-record/get/trl/testable/index.json +1155 -1155
  31. package/json-schemas/v3/tech-record/post/psv/complete/index.json +1024 -1024
  32. package/json-schemas/v3/tech-record/post/psv/skeleton/index.json +1112 -1112
  33. package/json-schemas/v3/tech-record/post/psv/testable/index.json +1092 -1092
  34. package/json-schemas/v3/tech-record/put/car/complete/request/index.json +87 -87
  35. package/json-schemas/v3/tech-record/put/car/complete/response/index.json +237 -237
  36. package/json-schemas/v3/tech-record/put/car/skeleton/request/index.json +64 -64
  37. package/json-schemas/v3/tech-record/put/car/skeleton/response/index.json +216 -216
  38. package/json-schemas/v3/tech-record/put/hgv/complete/index.json +1009 -1009
  39. package/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +1082 -1082
  40. package/json-schemas/v3/tech-record/put/hgv/testable/index.json +1077 -1077
  41. package/json-schemas/v3/tech-record/put/lgv/complete/request/index.json +97 -97
  42. package/json-schemas/v3/tech-record/put/lgv/complete/response/index.json +247 -247
  43. package/json-schemas/v3/tech-record/put/lgv/skeleton/request/index.json +71 -71
  44. package/json-schemas/v3/tech-record/put/lgv/skeleton/response/index.json +223 -223
  45. package/json-schemas/v3/tech-record/put/trl/complete/index.json +1265 -1265
  46. package/json-schemas/v3/tech-record/put/trl/skeleton/index.json +978 -978
  47. package/json-schemas/v3/tech-record/put/trl/testable/index.json +1115 -1115
  48. package/package.json +31 -36
  49. package/README.md +0 -48
  50. package/lib/README.md +0 -48
  51. package/lib/json-schemas/v1/activity/index.json +0 -62
  52. package/lib/json-schemas/v1/defect-category-reference-data/index.json +0 -440
  53. package/lib/json-schemas/v1/defect-details/index.json +0 -265
  54. package/lib/json-schemas/v1/defect-location/index.json +0 -49
  55. package/lib/json-schemas/v1/reason-item/index.json +0 -17
  56. package/lib/json-schemas/v1/tech-record/index.json +0 -639
  57. package/lib/json-schemas/v1/test/index.json +0 -1843
  58. package/lib/json-schemas/v1/test-result/index.json +0 -636
  59. package/lib/json-schemas/v1/test-station/index.json +0 -67
  60. package/lib/json-schemas/v1/test-type/index.json +0 -479
  61. package/lib/json-schemas/v1/vehicle/index.json +0 -1804
  62. package/lib/json-schemas/v1/vehicle-tech-record/index.json +0 -683
  63. package/lib/json-schemas/v1/visit/index.json +0 -1895
  64. package/lib/json-schemas/v3/tech-record/get/car/complete/index.json +0 -216
  65. package/lib/json-schemas/v3/tech-record/get/car/skeleton/index.json +0 -195
  66. package/lib/json-schemas/v3/tech-record/get/hgv/complete/index.json +0 -1051
  67. package/lib/json-schemas/v3/tech-record/get/hgv/skeleton/index.json +0 -1124
  68. package/lib/json-schemas/v3/tech-record/get/hgv/testable/index.json +0 -1119
  69. package/lib/json-schemas/v3/tech-record/get/lgv/complete/index.json +0 -226
  70. package/lib/json-schemas/v3/tech-record/get/lgv/skeleton/index.json +0 -202
  71. package/lib/json-schemas/v3/tech-record/get/motorcycle/complete/index.json +0 -219
  72. package/lib/json-schemas/v3/tech-record/get/motorcycle/skeleton/index.json +0 -202
  73. package/lib/json-schemas/v3/tech-record/get/psv/complete/index.json +0 -1027
  74. package/lib/json-schemas/v3/tech-record/get/psv/skeleton/index.json +0 -1120
  75. package/lib/json-schemas/v3/tech-record/get/psv/testable/index.json +0 -1097
  76. package/lib/json-schemas/v3/tech-record/get/search/complete/index.json +0 -55
  77. package/lib/json-schemas/v3/tech-record/get/search/skeleton/index.json +0 -55
  78. package/lib/json-schemas/v3/tech-record/get/trl/complete/index.json +0 -1307
  79. package/lib/json-schemas/v3/tech-record/get/trl/skeleton/index.json +0 -1002
  80. package/lib/json-schemas/v3/tech-record/get/trl/testable/index.json +0 -1155
  81. package/lib/json-schemas/v3/tech-record/post/psv/complete/index.json +0 -1024
  82. package/lib/json-schemas/v3/tech-record/post/psv/skeleton/index.json +0 -1112
  83. package/lib/json-schemas/v3/tech-record/post/psv/testable/index.json +0 -1092
  84. package/lib/json-schemas/v3/tech-record/put/car/complete/request/index.json +0 -87
  85. package/lib/json-schemas/v3/tech-record/put/car/complete/response/index.json +0 -237
  86. package/lib/json-schemas/v3/tech-record/put/car/skeleton/request/index.json +0 -64
  87. package/lib/json-schemas/v3/tech-record/put/car/skeleton/response/index.json +0 -216
  88. package/lib/json-schemas/v3/tech-record/put/hgv/complete/index.json +0 -1009
  89. package/lib/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +0 -1082
  90. package/lib/json-schemas/v3/tech-record/put/hgv/testable/index.json +0 -1077
  91. package/lib/json-schemas/v3/tech-record/put/lgv/complete/request/index.json +0 -97
  92. package/lib/json-schemas/v3/tech-record/put/lgv/complete/response/index.json +0 -247
  93. package/lib/json-schemas/v3/tech-record/put/lgv/skeleton/request/index.json +0 -71
  94. package/lib/json-schemas/v3/tech-record/put/lgv/skeleton/response/index.json +0 -223
  95. package/lib/json-schemas/v3/tech-record/put/trl/complete/index.json +0 -1265
  96. package/lib/json-schemas/v3/tech-record/put/trl/skeleton/index.json +0 -978
  97. package/lib/json-schemas/v3/tech-record/put/trl/testable/index.json +0 -1115
  98. package/lib/package.json +0 -38
  99. package/lib/types/v1/activity/index.d.ts +0 -23
  100. package/lib/types/v1/defect-category-reference-data/index.d.ts +0 -52
  101. package/lib/types/v1/defect-details/index.d.ts +0 -53
  102. package/lib/types/v1/defect-location/index.d.ts +0 -16
  103. package/lib/types/v1/reason-item/index.d.ts +0 -11
  104. package/lib/types/v1/tech-record/index.d.ts +0 -202
  105. package/lib/types/v1/test/index.d.ts +0 -353
  106. package/lib/types/v1/test-result/index.d.ts +0 -136
  107. package/lib/types/v1/test-station/index.d.ts +0 -23
  108. package/lib/types/v1/test-type/index.d.ts +0 -98
  109. package/lib/types/v1/vehicle/index.d.ts +0 -345
  110. package/lib/types/v1/vehicle-tech-record/index.d.ts +0 -212
  111. package/lib/types/v1/visit/index.d.ts +0 -366
  112. package/lib/types/v3/tech-record/get/car/complete/index.d.ts +0 -74
  113. package/lib/types/v3/tech-record/get/car/skeleton/index.d.ts +0 -72
  114. package/lib/types/v3/tech-record/get/hgv/complete/index.d.ts +0 -285
  115. package/lib/types/v3/tech-record/get/hgv/skeleton/index.d.ts +0 -285
  116. package/lib/types/v3/tech-record/get/hgv/testable/index.d.ts +0 -285
  117. package/lib/types/v3/tech-record/get/lgv/complete/index.d.ts +0 -75
  118. package/lib/types/v3/tech-record/get/lgv/skeleton/index.d.ts +0 -73
  119. package/lib/types/v3/tech-record/get/motorcycle/complete/index.d.ts +0 -75
  120. package/lib/types/v3/tech-record/get/motorcycle/skeleton/index.d.ts +0 -73
  121. package/lib/types/v3/tech-record/get/psv/complete/index.d.ts +0 -315
  122. package/lib/types/v3/tech-record/get/psv/skeleton/index.d.ts +0 -313
  123. package/lib/types/v3/tech-record/get/psv/testable/index.d.ts +0 -313
  124. package/lib/types/v3/tech-record/get/search/complete/index.d.ts +0 -20
  125. package/lib/types/v3/tech-record/get/search/skeleton/index.d.ts +0 -19
  126. package/lib/types/v3/tech-record/get/trl/complete/index.d.ts +0 -350
  127. package/lib/types/v3/tech-record/get/trl/skeleton/index.d.ts +0 -256
  128. package/lib/types/v3/tech-record/get/trl/testable/index.d.ts +0 -294
  129. package/lib/types/v3/tech-record/post/psv/complete/index.d.ts +0 -315
  130. package/lib/types/v3/tech-record/post/psv/skeleton/index.d.ts +0 -313
  131. package/lib/types/v3/tech-record/post/psv/testable/index.d.ts +0 -313
  132. package/lib/types/v3/tech-record/put/car/complete/request/index.d.ts +0 -24
  133. package/lib/types/v3/tech-record/put/car/complete/response/index.d.ts +0 -75
  134. package/lib/types/v3/tech-record/put/car/skeleton/request/index.d.ts +0 -22
  135. package/lib/types/v3/tech-record/put/car/skeleton/response/index.d.ts +0 -75
  136. package/lib/types/v3/tech-record/put/hgv/complete/index.d.ts +0 -276
  137. package/lib/types/v3/tech-record/put/hgv/skeleton/index.d.ts +0 -276
  138. package/lib/types/v3/tech-record/put/hgv/testable/index.d.ts +0 -276
  139. package/lib/types/v3/tech-record/put/lgv/complete/request/index.d.ts +0 -25
  140. package/lib/types/v3/tech-record/put/lgv/complete/response/index.d.ts +0 -76
  141. package/lib/types/v3/tech-record/put/lgv/skeleton/request/index.d.ts +0 -23
  142. package/lib/types/v3/tech-record/put/lgv/skeleton/response/index.d.ts +0 -76
  143. package/lib/types/v3/tech-record/put/trl/complete/index.d.ts +0 -341
  144. package/lib/types/v3/tech-record/put/trl/skeleton/index.d.ts +0 -250
  145. package/lib/types/v3/tech-record/put/trl/testable/index.d.ts +0 -285
  146. /package/{lib/schema-validator.d.ts → schema-validator.d.ts} +0 -0
  147. /package/{lib/schema-validator.js → schema-validator.js} +0 -0
  148. /package/{lib/schemas.d.ts → schemas.d.ts} +0 -0
  149. /package/{lib/schemas.js → schemas.js} +0 -0
@@ -1,341 +0,0 @@
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 ApprovalType =
11
- | "NTA"
12
- | "ECTA"
13
- | "IVA"
14
- | "NSSTA"
15
- | "ECSSTA"
16
- | "GB WVTA"
17
- | "UKNI WVTA"
18
- | "EU WVTA Pre 23"
19
- | "EU WVTA 23 on"
20
- | "QNIG"
21
- | "Prov.GB WVTA"
22
- | "Small series"
23
- | "IVA - VCA"
24
- | "IVA - DVSA/NI";
25
- export type EUVehicleCategory =
26
- | "m1"
27
- | "m2"
28
- | "m3"
29
- | "n1"
30
- | "n2"
31
- | "n3"
32
- | "o1"
33
- | "o2"
34
- | "o3"
35
- | "o4"
36
- | "l1e-a"
37
- | "l1e"
38
- | "l2e"
39
- | "l3e"
40
- | "l4e"
41
- | "l5e"
42
- | "l6e"
43
- | "l7e";
44
- export type EuroStandard =
45
- | "0.10 g/kWh Euro 3 PM"
46
- | "0.03 g/kWh Euro IV PM"
47
- | "Euro 3"
48
- | "Euro 4"
49
- | "Euro 5"
50
- | "Euro 6"
51
- | "Euro V"
52
- | "Euro VI"
53
- | "Full Electric";
54
- export type FrameDescription =
55
- | "Channel section"
56
- | "Space frame"
57
- | "I section"
58
- | "Tubular"
59
- | "Frame section"
60
- | "Other"
61
- | "integral"
62
- | "Box section"
63
- | "U section";
64
- export type FuelPropulsionSystem =
65
- | "DieselPetrol"
66
- | "Diesel"
67
- | "Petrol"
68
- | "Hybrid"
69
- | "Electric"
70
- | "CNG"
71
- | "Fuel cell"
72
- | "LNG"
73
- | "Other";
74
- export type MicrofilmDocumentTypes =
75
- | "PSV Miscellaneous"
76
- | "AAT - Trailer Annual Test"
77
- | "AIV - HGV International App"
78
- | "COIF Modification"
79
- | "Trailer COC + Int Plate"
80
- | "RCT - Trailer Test Cert paid"
81
- | "HGV COC + Int Plate"
82
- | "PSV Carry/Auth"
83
- | "OMO Report"
84
- | "AIT - Trailer International App"
85
- | "IPV - HGV EEC Plate/Cert"
86
- | "XCV - HGV Test Cert free"
87
- | "AAV - HGV Annual Test"
88
- | "COIF Master"
89
- | "Tempo 100 Sp Ord"
90
- | "Deleted"
91
- | "PSV N/ALT"
92
- | "XPT - Tr Plating Cert paid"
93
- | "FFV - HGV First Test"
94
- | "Repl Vitesse 100"
95
- | "TCV - HGV Test Cert"
96
- | "ZZZ - Miscellaneous"
97
- | "Test Certificate"
98
- | "XCT - Trailer Test Cert free"
99
- | "C52 - COC and VTG52A"
100
- | "Tempo 100 Report"
101
- | "Main File Amendment"
102
- | "PSV Doc"
103
- | "PSV COC"
104
- | "PSV Repl COC"
105
- | "TAV - COC"
106
- | "NPT - Trailer Alteration"
107
- | "OMO Certificate"
108
- | "PSV Repl COIF"
109
- | "PSV Repl COF"
110
- | "COIF Application"
111
- | "XPV - HGV Plating Cert Free"
112
- | "TCT - Trailer Test Cert"
113
- | "Tempo 100 App"
114
- | "PSV Decision on N/ALT"
115
- | "Special Order PSV"
116
- | "NPV - HGV Alteration"
117
- | "No Description Found"
118
- | "Vitesse 100 Sp Ord"
119
- | "Brake Test Details"
120
- | "COIF Productional"
121
- | "RDT - Test Disc Paid"
122
- | "RCV - HGV Test Cert"
123
- | "FFT - Trailer First Test"
124
- | "IPT - Trailer EEC Plate/Cert"
125
- | "XDT - Test Disc Free"
126
- | "PRV - HGV Plating Cert paid"
127
- | "COF Cert"
128
- | "PRT - Tr Plating Cert paid"
129
- | "Tempo 100 Permit";
130
- export type PlateReasonForIssue =
131
- | "Free replacement"
132
- | "Replacement"
133
- | "Destroyed"
134
- | "Provisional"
135
- | "Original"
136
- | "Manual";
137
- export type StatusCode = "provisional" | "current" | "archived";
138
- export type VehicleClassDescription =
139
- | "motorbikes over 200cc or with a sidecar"
140
- | "not applicable"
141
- | "small psv (ie: less than or equal to 22 seats)"
142
- | "motorbikes up to 200cc"
143
- | "trailer"
144
- | "large psv(ie: greater than 23 seats)"
145
- | "3 wheelers"
146
- | "heavy goods vehicle"
147
- | "MOT class 4"
148
- | "MOT class 7"
149
- | "MOT class 5";
150
- export type VehicleConfiguration =
151
- | "rigid"
152
- | "articulated"
153
- | "centre axle drawbar"
154
- | "semi-car transporter"
155
- | "semi-trailer"
156
- | "long semi-trailer"
157
- | "low loader"
158
- | "other"
159
- | "drawbar"
160
- | "four-in-line"
161
- | "dolly"
162
- | "full drawbar";
163
- export type FitmentCode = "single" | "double";
164
- export type SpeedCategorySymbol =
165
- | "a7"
166
- | "a8"
167
- | "b"
168
- | "c"
169
- | "d"
170
- | "e"
171
- | "f"
172
- | "g"
173
- | "j"
174
- | "k"
175
- | "l"
176
- | "m"
177
- | "n"
178
- | "p"
179
- | "q";
180
-
181
- export interface PUTTRLTechnicalRecordV3Complete {
182
- partialVin: string;
183
- techRecord_adrDetails_vehicleDetails_type?: string | null;
184
- techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
185
- techRecord_adrDetails_permittedDangerousGoods?: string[] | null;
186
- techRecord_adrDetails_compatibilityGroupJ?: boolean | null;
187
- techRecord_adrDetails_additionalExaminerNotes?: string | null;
188
- techRecord_adrDetails_applicantDetails_name?: string | null;
189
- techRecord_adrDetails_applicantDetails_street?: string | null;
190
- techRecord_adrDetails_applicantDetails_town?: string | null;
191
- techRecord_adrDetails_applicantDetails_city?: string | null;
192
- techRecord_adrDetails_applicantDetails_postcode?: string | null;
193
- techRecord_adrDetails_memosApply?: string[] | null;
194
- techRecord_adrDetails_documents?: string[] | null;
195
- techRecord_adrDetails_listStatementApplicable?: boolean | null;
196
- techRecord_adrDetails_batteryListNumber?: string | null;
197
- techRecord_adrDetails_brakeDeclarationsSeen?: boolean | null;
198
- techRecord_adrDetails_brakeDeclarationIssuer?: string | null;
199
- techRecord_adrDetails_brakeEndurance?: boolean | null;
200
- techRecord_adrDetails_weight?: string | null;
201
- techRecord_adrDetails_declarationsSeen?: boolean | null;
202
- techRecord_adrDetails_additionalNotes_guidanceNotes?: string[] | null;
203
- techRecord_adrDetails_additionalNotes_number?: string[] | null;
204
- techRecord_adrDetails_adrTypeApprovalNo?: string | null;
205
- techRecord_adrDetails_adrCertificateNotes?: string | null;
206
- techRecord_adrDetails_tank_tankDetails_tankManufacturer?: string | null;
207
- techRecord_adrDetails_tank_tankDetails_yearOfManufacture?: number | null;
208
- techRecord_adrDetails_tank_tankDetails_tankManufacturerSerialNo?: string | null;
209
- techRecord_adrDetails_tank_tankDetails_tankTypeAppNo?: string | null;
210
- techRecord_adrDetails_tank_tankDetails_tankCode?: string | null;
211
- techRecord_adrDetails_tank_tankDetails_specialProvisions?: string | null;
212
- techRecord_adrDetails_tank_tankDetails_tc2Details_tc2Type?: null | TC2Types;
213
- techRecord_adrDetails_tank_tankDetails_tc2Details_tc2IntermediateApprovalNo?: string | null;
214
- techRecord_adrDetails_tank_tankDetails_tc2Details_tc2IntermediateExpiryDate?: string | null;
215
- techRecord_adrDetails_tank_tankDetails_tc3Details_tc3Type?: null | TC3Types;
216
- techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicNumber?: string | null;
217
- techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicExpiryDate?: string | null;
218
- techRecord_adrDetails_tank_tankDetails_tankStatement_substancesPermitted?: string | null;
219
- techRecord_adrDetails_tank_tankDetails_tankStatement_statement?: string | null;
220
- techRecord_adrDetails_tank_tankDetails_tankStatement_productListRefNo?: string | null;
221
- techRecord_adrDetails_tank_tankDetails_tankStatement_productListUnNo?: string[] | null;
222
- techRecord_adrDetails_tank_tankDetails_tankStatement_productList?: string | null;
223
- techRecord_alterationMarker?: string | null;
224
- techRecord_applicantDetails_name?: string | null;
225
- techRecord_applicantDetails_address1?: null | string;
226
- techRecord_applicantDetails_address2?: null | string;
227
- techRecord_applicantDetails_postTown?: null | string;
228
- techRecord_applicantDetails_address3?: null | string;
229
- techRecord_applicantDetails_postCode?: null | string;
230
- techRecord_applicantDetails_telephoneNumber?: null | string;
231
- techRecord_applicantDetails_emailAddress?: null | string;
232
- techRecord_applicationId?: string | null;
233
- techRecord_approvalType?: ApprovalType | null;
234
- techRecord_approvalTypeNumber?: string | null;
235
- techRecord_authIntoService?: string | null;
236
- techRecord_batchId?: string | null;
237
- techRecord_bodyType_code: string;
238
- techRecord_bodyType_description: string;
239
- techRecord_brakes_antilockBrakingSystem?: boolean | null;
240
- techRecord_brakes_dtpNumber?: string | null;
241
- techRecord_brakes_loadSensingValve?: boolean | null;
242
- techRecord_centreOfRearmostAxleToRearOfTrl?: number | null;
243
- techRecord_conversionRefNo?: string | null;
244
- techRecord_couplingCenterToRearAxleMax: number | null;
245
- techRecord_couplingCenterToRearAxleMin: number | null;
246
- techRecord_couplingCenterToRearTrlMax: number | null;
247
- techRecord_couplingCenterToRearTrlMin: number | null;
248
- techRecord_couplingType: string | null;
249
- techRecord_departmentalVehicleMarker?: boolean | null;
250
- techRecord_dimensions_length: number | null;
251
- techRecord_dimensions_width: number | null;
252
- drawbarCouplingFitted?: string;
253
- techRecord_emissionsLimit?: null | number;
254
- techRecord_euVehicleCategory?: EUVehicleCategory | null;
255
- techRecord_euroStandard?: EuroStandard;
256
- frontAxleTo5thWheelMax?: number | null;
257
- techRecord_frontAxleTo5thWheelMin?: number | null;
258
- techRecord_firstUseDate: string | null;
259
- techRecord_frameDescription?: FrameDescription | null;
260
- techRecord_frontAxleToRearAxle: number | null;
261
- techRecord_frontVehicleTo5thWheelCouplingMax?: string | null;
262
- techRecord_frontVehicleTo5thWheelCouplingMin?: string | null;
263
- techRecord_fuelPropulsionSystem?: FuelPropulsionSystem;
264
- techRecord_functionCode?: string | null;
265
- techRecord_grossDesignWeight?: number | null;
266
- techRecord_grossEecWeight?: number | null;
267
- techRecord_grossGbWeight?: number | null;
268
- techRecord_letterOfAuth?: string | null;
269
- techRecord_make: string | null;
270
- techRecord_manufactureYear?: number | null;
271
- techRecord_maxTrainDesignWeight?: number;
272
- techRecord_maxTrainEecWeight?: number;
273
- techRecord_maxTrainGbWeight?: number;
274
- techRecord_manufacturerDetails?: string | null;
275
- techRecord_maxLoadOnCoupling: number | null;
276
- techRecord_microfilm?: string | null;
277
- techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentTypes;
278
- techRecord_microfilm_microfilmRollNumber?: string | null;
279
- techRecord_microfilm_microfilmSerialNumber?: string | null;
280
- techRecord_model: string | null;
281
- techRecord_noOfAxles: number | null;
282
- techRecord_notes: string;
283
- techRecord_ntaNumber?: string;
284
- techRecord_numberOfWheelsDriven?: number | null;
285
- techRecord_offRoad?: boolean;
286
- plates?: TRLPlates[];
287
- techRecord_purchaserDetails_address1?: string | null;
288
- techRecord_purchaserDetails_address2?: string | null;
289
- techRecord_purchaserDetails_address3?: string | null;
290
- techRecord_purchaserDetails_emailAddress?: string | null;
291
- techRecord_purchaserDetails_faxNumber?: string | null;
292
- techRecord_purchaserDetails_name?: string | null;
293
- techRecord_purchaserDetails_postCode?: string | null;
294
- techRecord_purchaserDetails_postTown?: string | null;
295
- techRecord_purchaserDetails_purchaserNotes?: string | null;
296
- techRecord_purchaserDetails_telephoneNumber?: string | null;
297
- techRecord_rearAxleToRearTrl: number | null;
298
- techRecord_reasonForCreation: string;
299
- techRecord_regnDate?: string | null;
300
- techRecord_roadFriendly: boolean | null;
301
- techRecord_speedLimiterMrk?: boolean;
302
- techRecord_statusCode: StatusCode;
303
- techRecord_tachoExemptMrk?: boolean;
304
- techRecord_suspensionType: string | null;
305
- techRecord_tyreUseCode: string | null;
306
- techRecord_variantNumber?: string;
307
- techRecord_variantVersionNumber?: string;
308
- techRecord_vehicleClass_code: string;
309
- techRecord_vehicleClass_description: VehicleClassDescription;
310
- techRecord_vehicleConfiguration: VehicleConfiguration | null;
311
- techRecord_vehicleType: "trl";
312
- trailerId: string;
313
- vin: string;
314
- axles?: PSVAxles[];
315
- }
316
- export interface TRLPlates {
317
- techRecord_plateSerialNumber?: string | null;
318
- techRecord_plateIssueDate?: string | null;
319
- techRecord_reasonForIssue?: null | PlateReasonForIssue;
320
- techRecord_plateIssuer?: string | null;
321
- }
322
- export interface PSVAxles {
323
- techRecord_parkingBrakeMrk?: boolean | null;
324
- techRecord_axleNumber?: number | null;
325
- techRecord_brakes?: {
326
- brakeActuator?: number;
327
- leverLength?: number;
328
- springBrakeParking?: boolean;
329
- [k: string]: unknown;
330
- }[];
331
- techRecord_weights_gbWeight?: number | null;
332
- techRecord_weights_designWeight?: number | null;
333
- techRecord_weights_ladenWeight?: number | null;
334
- techRecord_weights_kerbWeight?: number | null;
335
- techRecord_tyres_tyreCode?: number | null;
336
- techRecord_tyres_tyreSize?: string | null;
337
- techRecord_tyres_plyRating?: string | null;
338
- techRecord_tyres_fitmentCode?: null | FitmentCode;
339
- techRecord_tyres_dataTrAxles?: null | number;
340
- techRecord_tyres_speedCategorySymbol?: SpeedCategorySymbol | null;
341
- }
@@ -1,250 +0,0 @@
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 EUVehicleCategory =
11
- | "m1"
12
- | "m2"
13
- | "m3"
14
- | "n1"
15
- | "n2"
16
- | "n3"
17
- | "o1"
18
- | "o2"
19
- | "o3"
20
- | "o4"
21
- | "l1e-a"
22
- | "l1e"
23
- | "l2e"
24
- | "l3e"
25
- | "l4e"
26
- | "l5e"
27
- | "l6e"
28
- | "l7e";
29
- export type FrameDescription =
30
- | "Channel section"
31
- | "Space frame"
32
- | "I section"
33
- | "Tubular"
34
- | "Frame section"
35
- | "Other"
36
- | "integral"
37
- | "Box section"
38
- | "U section";
39
- export type MicrofilmDocumentTypes =
40
- | "PSV Miscellaneous"
41
- | "AAT - Trailer Annual Test"
42
- | "AIV - HGV International App"
43
- | "COIF Modification"
44
- | "Trailer COC + Int Plate"
45
- | "RCT - Trailer Test Cert paid"
46
- | "HGV COC + Int Plate"
47
- | "PSV Carry/Auth"
48
- | "OMO Report"
49
- | "AIT - Trailer International App"
50
- | "IPV - HGV EEC Plate/Cert"
51
- | "XCV - HGV Test Cert free"
52
- | "AAV - HGV Annual Test"
53
- | "COIF Master"
54
- | "Tempo 100 Sp Ord"
55
- | "Deleted"
56
- | "PSV N/ALT"
57
- | "XPT - Tr Plating Cert paid"
58
- | "FFV - HGV First Test"
59
- | "Repl Vitesse 100"
60
- | "TCV - HGV Test Cert"
61
- | "ZZZ - Miscellaneous"
62
- | "Test Certificate"
63
- | "XCT - Trailer Test Cert free"
64
- | "C52 - COC and VTG52A"
65
- | "Tempo 100 Report"
66
- | "Main File Amendment"
67
- | "PSV Doc"
68
- | "PSV COC"
69
- | "PSV Repl COC"
70
- | "TAV - COC"
71
- | "NPT - Trailer Alteration"
72
- | "OMO Certificate"
73
- | "PSV Repl COIF"
74
- | "PSV Repl COF"
75
- | "COIF Application"
76
- | "XPV - HGV Plating Cert Free"
77
- | "TCT - Trailer Test Cert"
78
- | "Tempo 100 App"
79
- | "PSV Decision on N/ALT"
80
- | "Special Order PSV"
81
- | "NPV - HGV Alteration"
82
- | "No Description Found"
83
- | "Vitesse 100 Sp Ord"
84
- | "Brake Test Details"
85
- | "COIF Productional"
86
- | "RDT - Test Disc Paid"
87
- | "RCV - HGV Test Cert"
88
- | "FFT - Trailer First Test"
89
- | "IPT - Trailer EEC Plate/Cert"
90
- | "XDT - Test Disc Free"
91
- | "PRV - HGV Plating Cert paid"
92
- | "COF Cert"
93
- | "PRT - Tr Plating Cert paid"
94
- | "Tempo 100 Permit";
95
- export type PlateReasonForIssue =
96
- | "Free replacement"
97
- | "Replacement"
98
- | "Destroyed"
99
- | "Provisional"
100
- | "Original"
101
- | "Manual";
102
- export type StatusCode = "provisional" | "current" | "archived";
103
- export type VehicleClassDescription =
104
- | "motorbikes over 200cc or with a sidecar"
105
- | "not applicable"
106
- | "small psv (ie: less than or equal to 22 seats)"
107
- | "motorbikes up to 200cc"
108
- | "trailer"
109
- | "large psv(ie: greater than 23 seats)"
110
- | "3 wheelers"
111
- | "heavy goods vehicle"
112
- | "MOT class 4"
113
- | "MOT class 7"
114
- | "MOT class 5";
115
- export type VehicleConfiguration =
116
- | "rigid"
117
- | "articulated"
118
- | "centre axle drawbar"
119
- | "semi-car transporter"
120
- | "semi-trailer"
121
- | "long semi-trailer"
122
- | "low loader"
123
- | "other"
124
- | "drawbar"
125
- | "four-in-line"
126
- | "dolly"
127
- | "full drawbar";
128
-
129
- export interface GETTRLTechnicalRecordV3Skeleton {
130
- partialVin: string;
131
- techRecord_adrDetails_vehicleDetails_type?: string | null;
132
- techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
133
- techRecord_adrDetails_permittedDangerousGoods?: string[] | null;
134
- techRecord_adrDetails_compatibilityGroupJ?: boolean | null;
135
- techRecord_adrDetails_additionalExaminerNotes?: string | null;
136
- techRecord_adrDetails_applicantDetails_name?: string | null;
137
- techRecord_adrDetails_applicantDetails_street?: string | null;
138
- techRecord_adrDetails_applicantDetails_town?: string | null;
139
- techRecord_adrDetails_applicantDetails_city?: string | null;
140
- techRecord_adrDetails_applicantDetails_postcode?: string | null;
141
- techRecord_adrDetails_memosApply?: string[] | null;
142
- techRecord_adrDetails_documents?: string[] | null;
143
- techRecord_adrDetails_listStatementApplicable?: boolean | null;
144
- techRecord_adrDetails_batteryListNumber?: string | null;
145
- techRecord_adrDetails_brakeDeclarationsSeen?: boolean | null;
146
- techRecord_adrDetails_brakeDeclarationIssuer?: string | null;
147
- techRecord_adrDetails_brakeEndurance?: boolean | null;
148
- techRecord_adrDetails_weight?: string | null;
149
- techRecord_adrDetails_declarationsSeen?: boolean | null;
150
- techRecord_adrDetails_additionalNotes_guidanceNotes?: string[] | null;
151
- techRecord_adrDetails_additionalNotes_number?: string[] | null;
152
- techRecord_adrDetails_adrTypeApprovalNo?: string | null;
153
- techRecord_adrDetails_adrCertificateNotes?: string | null;
154
- techRecord_adrDetails_tank_tankDetails_tankManufacturer?: string | null;
155
- techRecord_adrDetails_tank_tankDetails_yearOfManufacture?: number | null;
156
- techRecord_adrDetails_tank_tankDetails_tankManufacturerSerialNo?: string | null;
157
- techRecord_adrDetails_tank_tankDetails_tankTypeAppNo?: string | null;
158
- techRecord_adrDetails_tank_tankDetails_tankCode?: string | null;
159
- techRecord_adrDetails_tank_tankDetails_specialProvisions?: string | null;
160
- techRecord_adrDetails_tank_tankDetails_tc2Details_tc2Type?: null | TC2Types;
161
- techRecord_adrDetails_tank_tankDetails_tc2Details_tc2IntermediateApprovalNo?: string | null;
162
- techRecord_adrDetails_tank_tankDetails_tc2Details_tc2IntermediateExpiryDate?: string | null;
163
- techRecord_adrDetails_tank_tankDetails_tc3Details_tc3Type?: null | TC3Types;
164
- techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicNumber?: string | null;
165
- techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicExpiryDate?: string | null;
166
- techRecord_adrDetails_tank_tankDetails_tankStatement_substancesPermitted?: string | null;
167
- techRecord_adrDetails_tank_tankDetails_tankStatement_statement?: string | null;
168
- techRecord_adrDetails_tank_tankDetails_tankStatement_productListRefNo?: string | null;
169
- techRecord_adrDetails_tank_tankDetails_tankStatement_productListUnNo?: string[] | null;
170
- techRecord_adrDetails_tank_tankDetails_tankStatement_productList?: string | null;
171
- techRecord_alterationMarker?: string | null;
172
- techRecord_applicantDetails_name?: string | null;
173
- techRecord_applicantDetails_address1?: null | string;
174
- techRecord_applicantDetails_address2?: null | string;
175
- techRecord_applicantDetails_postTown?: null | string;
176
- techRecord_applicantDetails_address3?: null | string;
177
- techRecord_applicantDetails_postCode?: null | string;
178
- techRecord_applicantDetails_telephoneNumber?: null | string;
179
- techRecord_applicantDetails_emailAddress?: null | string;
180
- techRecord_applicationId?: string;
181
- techRecord_authIntoService?: string | null;
182
- techRecord_batchId?: string | null;
183
- techRecord_bodyType_code?: string;
184
- techRecord_bodyType_description?: string;
185
- techRecord_brakes_antilockBrakingSystem?: string | null;
186
- techRecord_brakes_dtpNumber?: string | null;
187
- techRecord_brakes_loadSensingValve?: boolean | null;
188
- techRecord_centreOfRearmostAxleToRearOfTrl?: number | null;
189
- techRecord_conversionRefNo?: string | null;
190
- techRecord_couplingCenterToRearAxleMax?: number | null;
191
- techRecord_couplingCenterToRearAxleMin?: number | null;
192
- techRecord_couplingCenterToRearTrlMax?: number | null;
193
- techRecord_couplingCenterToRearTrlMin?: number | null;
194
- techRecord_couplingType?: string | null;
195
- techRecord_departmentalVehicleMarker?: boolean | null;
196
- techRecord_dimensions_length?: number | null;
197
- techRecord_dimensions_width?: number | null;
198
- techRecord_euVehicleCategory?: EUVehicleCategory | null;
199
- techRecord_firstUseDate?: string | null;
200
- techRecord_frameDescription?: FrameDescription | null;
201
- techRecord_frontAxleToRearAxle?: number | null;
202
- techRecord_functionCode?: string | null;
203
- techRecord_grossDesignWeight?: number | null;
204
- techRecord_grossEecWeight?: number | null;
205
- techRecord_grossGbWeight?: number | null;
206
- techRecord_letterOfAuth?: string | null;
207
- techRecord_make?: string | null;
208
- techRecord_manufactureYear?: number | null;
209
- techRecord_manufacturerDetails?: string | null;
210
- techRecord_maxLoadOnCoupling?: number | null;
211
- techRecord_microfilm?: string | null;
212
- techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentTypes;
213
- techRecord_microfilm_microfilmRollNumber?: string | null;
214
- techRecord_microfilm_microfilmSerialNumber?: string | null;
215
- techRecord_model?: string | null;
216
- techRecord_noOfAxles?: number | null;
217
- plates?: TRLPlates[];
218
- techRecord_purchaserDetails_address1?: string | null;
219
- techRecord_purchaserDetails_address2?: string | null;
220
- techRecord_purchaserDetails_address3?: string | null;
221
- techRecord_purchaserDetails_emailAddress?: string | null;
222
- techRecord_purchaserDetails_faxNumber?: string | null;
223
- techRecord_purchaserDetails_name?: string | null;
224
- techRecord_purchaserDetails_postCode?: string | null;
225
- techRecord_purchaserDetails_postTown?: string | null;
226
- techRecord_purchaserDetails_purchaserNotes?: string | null;
227
- techRecord_purchaserDetails_telephoneNumber?: string | null;
228
- techRecord_lastUpdatedAt?: string | null;
229
- techRecord_lastUpdatedByName?: string | null;
230
- techRecord_lastUpdatedById?: string | null;
231
- techRecord_rearAxleToRearTrl?: number | null;
232
- techRecord_reasonForCreation: string;
233
- techRecord_regnDate?: string | null;
234
- techRecord_roadFriendly?: string | null;
235
- techRecord_statusCode: StatusCode;
236
- techRecord_suspensionType?: string | null;
237
- techRecord_tyreUseCode?: string | null;
238
- techRecord_vehicleClass_code: string;
239
- techRecord_vehicleClass_description: VehicleClassDescription;
240
- techRecord_vehicleConfiguration: VehicleConfiguration | null;
241
- techRecord_vehicleType: "trl";
242
- trailerId: string;
243
- vin: string;
244
- }
245
- export interface TRLPlates {
246
- techRecord_plateSerialNumber?: string | null;
247
- techRecord_plateIssueDate?: string | null;
248
- techRecord_reasonForIssue?: null | PlateReasonForIssue;
249
- techRecord_plateIssuer?: string | null;
250
- }