@dvsa/cvs-type-definitions 2.0.16 → 2.0.19

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 (173) 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 +217 -216
  15. package/json-schemas/v3/tech-record/get/car/skeleton/index.json +196 -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 +227 -226
  20. package/json-schemas/v3/tech-record/get/lgv/skeleton/index.json +203 -202
  21. package/json-schemas/v3/tech-record/get/motorcycle/complete/index.json +220 -219
  22. package/json-schemas/v3/tech-record/get/motorcycle/skeleton/index.json +203 -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/put/car/complete/index.json +88 -0
  32. package/json-schemas/v3/tech-record/put/car/skeleton/index.json +68 -0
  33. package/json-schemas/v3/tech-record/put/hgv/complete/index.json +1009 -1009
  34. package/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +1082 -1082
  35. package/json-schemas/v3/tech-record/put/hgv/testable/index.json +1077 -1077
  36. package/json-schemas/v3/tech-record/put/lgv/complete/index.json +98 -0
  37. package/json-schemas/v3/tech-record/put/lgv/skeleton/index.json +75 -0
  38. package/json-schemas/v3/tech-record/put/psv/complete/index.json +1024 -0
  39. package/json-schemas/v3/tech-record/put/psv/skeleton/index.json +1112 -0
  40. package/json-schemas/v3/tech-record/put/psv/testable/index.json +1092 -0
  41. package/json-schemas/v3/tech-record/put/trl/complete/index.json +1265 -1265
  42. package/json-schemas/v3/tech-record/put/trl/skeleton/index.json +978 -978
  43. package/json-schemas/v3/tech-record/put/trl/testable/index.json +1115 -1115
  44. package/package.json +31 -36
  45. package/{lib/schemas.d.ts → schemas.d.ts} +1 -1
  46. package/{lib/schemas.js → schemas.js} +7 -11
  47. package/types/v3/tech-record/get/car/complete/index.d.ts +1 -1
  48. package/types/v3/tech-record/get/car/skeleton/index.d.ts +1 -1
  49. package/types/v3/tech-record/get/lgv/complete/index.d.ts +1 -1
  50. package/types/v3/tech-record/get/lgv/skeleton/index.d.ts +1 -1
  51. package/types/v3/tech-record/get/motorcycle/complete/index.d.ts +1 -1
  52. package/types/v3/tech-record/get/motorcycle/skeleton/index.d.ts +1 -1
  53. package/{lib/types/v3/tech-record/put/car/complete/request → types/v3/tech-record/put/car/complete}/index.d.ts +1 -1
  54. package/types/v3/tech-record/put/car/skeleton/{request/index.d.ts → index.d.ts} +1 -1
  55. package/{lib/types/v3/tech-record/put/lgv/complete/request → types/v3/tech-record/put/lgv/complete}/index.d.ts +1 -1
  56. package/types/v3/tech-record/put/lgv/skeleton/{request/index.d.ts → index.d.ts} +1 -1
  57. package/README.md +0 -48
  58. package/json-schemas/v3/tech-record/post/psv/complete/index.json +0 -1024
  59. package/json-schemas/v3/tech-record/post/psv/skeleton/index.json +0 -1112
  60. package/json-schemas/v3/tech-record/post/psv/testable/index.json +0 -1092
  61. package/json-schemas/v3/tech-record/put/car/complete/request/index.json +0 -87
  62. package/json-schemas/v3/tech-record/put/car/complete/response/index.json +0 -237
  63. package/json-schemas/v3/tech-record/put/car/skeleton/request/index.json +0 -64
  64. package/json-schemas/v3/tech-record/put/car/skeleton/response/index.json +0 -216
  65. package/json-schemas/v3/tech-record/put/lgv/complete/request/index.json +0 -97
  66. package/json-schemas/v3/tech-record/put/lgv/complete/response/index.json +0 -247
  67. package/json-schemas/v3/tech-record/put/lgv/skeleton/request/index.json +0 -71
  68. package/json-schemas/v3/tech-record/put/lgv/skeleton/response/index.json +0 -223
  69. package/lib/README.md +0 -48
  70. package/lib/json-schemas/v1/activity/index.json +0 -62
  71. package/lib/json-schemas/v1/defect-category-reference-data/index.json +0 -440
  72. package/lib/json-schemas/v1/defect-details/index.json +0 -265
  73. package/lib/json-schemas/v1/defect-location/index.json +0 -49
  74. package/lib/json-schemas/v1/reason-item/index.json +0 -17
  75. package/lib/json-schemas/v1/tech-record/index.json +0 -639
  76. package/lib/json-schemas/v1/test/index.json +0 -1843
  77. package/lib/json-schemas/v1/test-result/index.json +0 -636
  78. package/lib/json-schemas/v1/test-station/index.json +0 -67
  79. package/lib/json-schemas/v1/test-type/index.json +0 -479
  80. package/lib/json-schemas/v1/vehicle/index.json +0 -1804
  81. package/lib/json-schemas/v1/vehicle-tech-record/index.json +0 -683
  82. package/lib/json-schemas/v1/visit/index.json +0 -1895
  83. package/lib/json-schemas/v3/tech-record/get/car/complete/index.json +0 -216
  84. package/lib/json-schemas/v3/tech-record/get/car/skeleton/index.json +0 -195
  85. package/lib/json-schemas/v3/tech-record/get/hgv/complete/index.json +0 -1051
  86. package/lib/json-schemas/v3/tech-record/get/hgv/skeleton/index.json +0 -1124
  87. package/lib/json-schemas/v3/tech-record/get/hgv/testable/index.json +0 -1119
  88. package/lib/json-schemas/v3/tech-record/get/lgv/complete/index.json +0 -226
  89. package/lib/json-schemas/v3/tech-record/get/lgv/skeleton/index.json +0 -202
  90. package/lib/json-schemas/v3/tech-record/get/motorcycle/complete/index.json +0 -219
  91. package/lib/json-schemas/v3/tech-record/get/motorcycle/skeleton/index.json +0 -202
  92. package/lib/json-schemas/v3/tech-record/get/psv/complete/index.json +0 -1027
  93. package/lib/json-schemas/v3/tech-record/get/psv/skeleton/index.json +0 -1120
  94. package/lib/json-schemas/v3/tech-record/get/psv/testable/index.json +0 -1097
  95. package/lib/json-schemas/v3/tech-record/get/search/complete/index.json +0 -55
  96. package/lib/json-schemas/v3/tech-record/get/search/skeleton/index.json +0 -55
  97. package/lib/json-schemas/v3/tech-record/get/trl/complete/index.json +0 -1307
  98. package/lib/json-schemas/v3/tech-record/get/trl/skeleton/index.json +0 -1002
  99. package/lib/json-schemas/v3/tech-record/get/trl/testable/index.json +0 -1155
  100. package/lib/json-schemas/v3/tech-record/post/psv/complete/index.json +0 -1024
  101. package/lib/json-schemas/v3/tech-record/post/psv/skeleton/index.json +0 -1112
  102. package/lib/json-schemas/v3/tech-record/post/psv/testable/index.json +0 -1092
  103. package/lib/json-schemas/v3/tech-record/put/car/complete/request/index.json +0 -87
  104. package/lib/json-schemas/v3/tech-record/put/car/complete/response/index.json +0 -237
  105. package/lib/json-schemas/v3/tech-record/put/car/skeleton/request/index.json +0 -64
  106. package/lib/json-schemas/v3/tech-record/put/car/skeleton/response/index.json +0 -216
  107. package/lib/json-schemas/v3/tech-record/put/hgv/complete/index.json +0 -1009
  108. package/lib/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +0 -1082
  109. package/lib/json-schemas/v3/tech-record/put/hgv/testable/index.json +0 -1077
  110. package/lib/json-schemas/v3/tech-record/put/lgv/complete/request/index.json +0 -97
  111. package/lib/json-schemas/v3/tech-record/put/lgv/complete/response/index.json +0 -247
  112. package/lib/json-schemas/v3/tech-record/put/lgv/skeleton/request/index.json +0 -71
  113. package/lib/json-schemas/v3/tech-record/put/lgv/skeleton/response/index.json +0 -223
  114. package/lib/json-schemas/v3/tech-record/put/trl/complete/index.json +0 -1265
  115. package/lib/json-schemas/v3/tech-record/put/trl/skeleton/index.json +0 -978
  116. package/lib/json-schemas/v3/tech-record/put/trl/testable/index.json +0 -1115
  117. package/lib/package.json +0 -38
  118. package/lib/types/v1/activity/index.d.ts +0 -23
  119. package/lib/types/v1/defect-category-reference-data/index.d.ts +0 -52
  120. package/lib/types/v1/defect-details/index.d.ts +0 -53
  121. package/lib/types/v1/defect-location/index.d.ts +0 -16
  122. package/lib/types/v1/reason-item/index.d.ts +0 -11
  123. package/lib/types/v1/tech-record/index.d.ts +0 -202
  124. package/lib/types/v1/test/index.d.ts +0 -353
  125. package/lib/types/v1/test-result/index.d.ts +0 -136
  126. package/lib/types/v1/test-station/index.d.ts +0 -23
  127. package/lib/types/v1/test-type/index.d.ts +0 -98
  128. package/lib/types/v1/vehicle/index.d.ts +0 -345
  129. package/lib/types/v1/vehicle-tech-record/index.d.ts +0 -212
  130. package/lib/types/v1/visit/index.d.ts +0 -366
  131. package/lib/types/v3/tech-record/get/car/complete/index.d.ts +0 -74
  132. package/lib/types/v3/tech-record/get/car/skeleton/index.d.ts +0 -72
  133. package/lib/types/v3/tech-record/get/hgv/complete/index.d.ts +0 -285
  134. package/lib/types/v3/tech-record/get/hgv/skeleton/index.d.ts +0 -285
  135. package/lib/types/v3/tech-record/get/hgv/testable/index.d.ts +0 -285
  136. package/lib/types/v3/tech-record/get/lgv/complete/index.d.ts +0 -75
  137. package/lib/types/v3/tech-record/get/lgv/skeleton/index.d.ts +0 -73
  138. package/lib/types/v3/tech-record/get/motorcycle/complete/index.d.ts +0 -75
  139. package/lib/types/v3/tech-record/get/motorcycle/skeleton/index.d.ts +0 -73
  140. package/lib/types/v3/tech-record/get/psv/complete/index.d.ts +0 -315
  141. package/lib/types/v3/tech-record/get/psv/skeleton/index.d.ts +0 -313
  142. package/lib/types/v3/tech-record/get/psv/testable/index.d.ts +0 -313
  143. package/lib/types/v3/tech-record/get/search/complete/index.d.ts +0 -20
  144. package/lib/types/v3/tech-record/get/search/skeleton/index.d.ts +0 -19
  145. package/lib/types/v3/tech-record/get/trl/complete/index.d.ts +0 -350
  146. package/lib/types/v3/tech-record/get/trl/skeleton/index.d.ts +0 -256
  147. package/lib/types/v3/tech-record/get/trl/testable/index.d.ts +0 -294
  148. package/lib/types/v3/tech-record/put/car/complete/response/index.d.ts +0 -75
  149. package/lib/types/v3/tech-record/put/car/skeleton/request/index.d.ts +0 -22
  150. package/lib/types/v3/tech-record/put/car/skeleton/response/index.d.ts +0 -75
  151. package/lib/types/v3/tech-record/put/hgv/complete/index.d.ts +0 -276
  152. package/lib/types/v3/tech-record/put/hgv/skeleton/index.d.ts +0 -276
  153. package/lib/types/v3/tech-record/put/hgv/testable/index.d.ts +0 -276
  154. package/lib/types/v3/tech-record/put/lgv/complete/response/index.d.ts +0 -76
  155. package/lib/types/v3/tech-record/put/lgv/skeleton/request/index.d.ts +0 -23
  156. package/lib/types/v3/tech-record/put/lgv/skeleton/response/index.d.ts +0 -76
  157. package/lib/types/v3/tech-record/put/trl/complete/index.d.ts +0 -341
  158. package/lib/types/v3/tech-record/put/trl/skeleton/index.d.ts +0 -250
  159. package/lib/types/v3/tech-record/put/trl/testable/index.d.ts +0 -285
  160. package/types/v3/tech-record/post/psv/complete/index.d.ts +0 -315
  161. package/types/v3/tech-record/post/psv/skeleton/index.d.ts +0 -313
  162. package/types/v3/tech-record/post/psv/testable/index.d.ts +0 -313
  163. package/types/v3/tech-record/put/car/complete/request/index.d.ts +0 -24
  164. package/types/v3/tech-record/put/car/complete/response/index.d.ts +0 -75
  165. package/types/v3/tech-record/put/car/skeleton/response/index.d.ts +0 -75
  166. package/types/v3/tech-record/put/lgv/complete/request/index.d.ts +0 -25
  167. package/types/v3/tech-record/put/lgv/complete/response/index.d.ts +0 -76
  168. package/types/v3/tech-record/put/lgv/skeleton/response/index.d.ts +0 -76
  169. /package/{lib/schema-validator.d.ts → schema-validator.d.ts} +0 -0
  170. /package/{lib/schema-validator.js → schema-validator.js} +0 -0
  171. /package/{lib/types/v3/tech-record/post → types/v3/tech-record/put}/psv/complete/index.d.ts +0 -0
  172. /package/{lib/types/v3/tech-record/post → types/v3/tech-record/put}/psv/skeleton/index.d.ts +0 -0
  173. /package/{lib/types/v3/tech-record/post → types/v3/tech-record/put}/psv/testable/index.d.ts +0 -0
@@ -1,256 +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
- createdTimestamp: string;
131
- partialVin: string;
132
- systemNumber: string;
133
- techRecord_adrDetails_vehicleDetails_type?: string | null;
134
- techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
135
- techRecord_adrDetails_permittedDangerousGoods?: string[] | null;
136
- techRecord_adrDetails_compatibilityGroupJ?: boolean | null;
137
- techRecord_adrDetails_additionalExaminerNotes?: string | null;
138
- techRecord_adrDetails_applicantDetails_name?: string | null;
139
- techRecord_adrDetails_applicantDetails_street?: string | null;
140
- techRecord_adrDetails_applicantDetails_town?: string | null;
141
- techRecord_adrDetails_applicantDetails_city?: string | null;
142
- techRecord_adrDetails_applicantDetails_postcode?: string | null;
143
- techRecord_adrDetails_memosApply?: string[] | null;
144
- techRecord_adrDetails_documents?: string[] | null;
145
- techRecord_adrDetails_listStatementApplicable?: boolean | null;
146
- techRecord_adrDetails_batteryListNumber?: string | null;
147
- techRecord_adrDetails_brakeDeclarationsSeen?: boolean | null;
148
- techRecord_adrDetails_brakeDeclarationIssuer?: string | null;
149
- techRecord_adrDetails_brakeEndurance?: boolean | null;
150
- techRecord_adrDetails_weight?: string | null;
151
- techRecord_adrDetails_declarationsSeen?: boolean | null;
152
- techRecord_adrDetails_additionalNotes_guidanceNotes?: string[] | null;
153
- techRecord_adrDetails_additionalNotes_number?: string[] | null;
154
- techRecord_adrDetails_adrTypeApprovalNo?: string | null;
155
- techRecord_adrDetails_adrCertificateNotes?: string | null;
156
- techRecord_adrDetails_tank_tankDetails_tankManufacturer?: string | null;
157
- techRecord_adrDetails_tank_tankDetails_yearOfManufacture?: number | null;
158
- techRecord_adrDetails_tank_tankDetails_tankManufacturerSerialNo?: string | null;
159
- techRecord_adrDetails_tank_tankDetails_tankTypeAppNo?: string | null;
160
- techRecord_adrDetails_tank_tankDetails_tankCode?: string | null;
161
- techRecord_adrDetails_tank_tankDetails_specialProvisions?: string | null;
162
- techRecord_adrDetails_tank_tankDetails_tc2Details_tc2Type?: null | TC2Types;
163
- techRecord_adrDetails_tank_tankDetails_tc2Details_tc2IntermediateApprovalNo?: string | null;
164
- techRecord_adrDetails_tank_tankDetails_tc2Details_tc2IntermediateExpiryDate?: string | null;
165
- techRecord_adrDetails_tank_tankDetails_tc3Details_tc3Type?: null | TC3Types;
166
- techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicNumber?: string | null;
167
- techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicExpiryDate?: string | null;
168
- techRecord_adrDetails_tank_tankDetails_tankStatement_substancesPermitted?: string | null;
169
- techRecord_adrDetails_tank_tankDetails_tankStatement_statement?: string | null;
170
- techRecord_adrDetails_tank_tankDetails_tankStatement_productListRefNo?: string | null;
171
- techRecord_adrDetails_tank_tankDetails_tankStatement_productListUnNo?: string[] | null;
172
- techRecord_adrDetails_tank_tankDetails_tankStatement_productList?: string | null;
173
- techRecord_alterationMarker?: string | null;
174
- techRecord_applicantDetails_name?: string | null;
175
- techRecord_applicantDetails_address1?: null | string;
176
- techRecord_applicantDetails_address2?: null | string;
177
- techRecord_applicantDetails_postTown?: null | string;
178
- techRecord_applicantDetails_address3?: null | string;
179
- techRecord_applicantDetails_postCode?: null | string;
180
- techRecord_applicantDetails_telephoneNumber?: null | string;
181
- techRecord_applicantDetails_emailAddress?: null | string;
182
- techRecord_applicationId?: string;
183
- techRecord_authIntoService?: string | null;
184
- techRecord_batchId?: string | null;
185
- techRecord_bodyType_code?: string;
186
- techRecord_bodyType_description?: string;
187
- techRecord_brakes_antilockBrakingSystem?: string | null;
188
- techRecord_brakes_dtpNumber?: string | null;
189
- techRecord_brakes_loadSensingValve?: boolean | null;
190
- techRecord_centreOfRearmostAxleToRearOfTrl?: number | null;
191
- techRecord_conversionRefNo?: string | null;
192
- techRecord_couplingCenterToRearAxleMax?: number | null;
193
- techRecord_couplingCenterToRearAxleMin?: number | null;
194
- techRecord_couplingCenterToRearTrlMax?: number | null;
195
- techRecord_couplingCenterToRearTrlMin?: number | null;
196
- techRecord_couplingType?: string | null;
197
- techRecord_createdAt: string;
198
- techRecord_createdById: string;
199
- techRecord_createdByName: string;
200
- techRecord_departmentalVehicleMarker?: boolean | null;
201
- techRecord_dimensions_length?: number | null;
202
- techRecord_dimensions_width?: number | null;
203
- techRecord_euVehicleCategory?: EUVehicleCategory | null;
204
- techRecord_firstUseDate?: string | null;
205
- techRecord_frameDescription?: FrameDescription | null;
206
- techRecord_frontAxleToRearAxle?: number | null;
207
- techRecord_functionCode?: string | null;
208
- techRecord_grossDesignWeight?: number | null;
209
- techRecord_grossEecWeight?: number | null;
210
- techRecord_grossGbWeight?: number | null;
211
- techRecord_letterOfAuth?: string | null;
212
- techRecord_make?: string | null;
213
- techRecord_manufactureYear?: number | null;
214
- techRecord_manufacturerDetails?: string | null;
215
- techRecord_maxLoadOnCoupling?: number | null;
216
- techRecord_microfilm?: string | null;
217
- techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentTypes;
218
- techRecord_microfilm_microfilmRollNumber?: string | null;
219
- techRecord_microfilm_microfilmSerialNumber?: string | null;
220
- techRecord_model?: string | null;
221
- techRecord_noOfAxles?: number | null;
222
- plates?: TRLPlates[];
223
- techRecord_purchaserDetails_address1?: string | null;
224
- techRecord_purchaserDetails_address2?: string | null;
225
- techRecord_purchaserDetails_address3?: string | null;
226
- techRecord_purchaserDetails_emailAddress?: string | null;
227
- techRecord_purchaserDetails_faxNumber?: string | null;
228
- techRecord_purchaserDetails_name?: string | null;
229
- techRecord_purchaserDetails_postCode?: string | null;
230
- techRecord_purchaserDetails_postTown?: string | null;
231
- techRecord_purchaserDetails_purchaserNotes?: string | null;
232
- techRecord_purchaserDetails_telephoneNumber?: string | null;
233
- techRecord_lastUpdatedAt?: string | null;
234
- techRecord_lastUpdatedByName?: string | null;
235
- techRecord_lastUpdatedById?: string | null;
236
- techRecord_rearAxleToRearTrl?: number | null;
237
- techRecord_reasonForCreation: string;
238
- techRecord_recordCompleteness: "skeleton";
239
- techRecord_regnDate?: string | null;
240
- techRecord_roadFriendly?: string | null;
241
- techRecord_statusCode: StatusCode;
242
- techRecord_suspensionType?: string | null;
243
- techRecord_tyreUseCode?: string | null;
244
- techRecord_vehicleClass_code: string;
245
- techRecord_vehicleClass_description: VehicleClassDescription;
246
- techRecord_vehicleConfiguration: VehicleConfiguration | null;
247
- techRecord_vehicleType: "trl";
248
- trailerId: string;
249
- vin: string;
250
- }
251
- export interface TRLPlates {
252
- techRecord_plateSerialNumber?: string | null;
253
- techRecord_plateIssueDate?: string | null;
254
- techRecord_reasonForIssue?: null | PlateReasonForIssue;
255
- techRecord_plateIssuer?: string | null;
256
- }
@@ -1,294 +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
- export type FitmentCode = "single" | "double";
129
- export type SpeedCategorySymbol =
130
- | "a7"
131
- | "a8"
132
- | "b"
133
- | "c"
134
- | "d"
135
- | "e"
136
- | "f"
137
- | "g"
138
- | "j"
139
- | "k"
140
- | "l"
141
- | "m"
142
- | "n"
143
- | "p"
144
- | "q";
145
-
146
- export interface GETTRLTechnicalRecordV3Testable {
147
- createdTimestamp: string;
148
- partialVin: string;
149
- systemNumber: string;
150
- techRecord_adrDetails_vehicleDetails_type?: string | null;
151
- techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
152
- techRecord_adrDetails_permittedDangerousGoods?: string[] | null;
153
- techRecord_adrDetails_compatibilityGroupJ?: boolean | null;
154
- techRecord_adrDetails_additionalExaminerNotes?: string | null;
155
- techRecord_adrDetails_applicantDetails_name?: string | null;
156
- techRecord_adrDetails_applicantDetails_street?: string | null;
157
- techRecord_adrDetails_applicantDetails_town?: string | null;
158
- techRecord_adrDetails_applicantDetails_city?: string | null;
159
- techRecord_adrDetails_applicantDetails_postcode?: string | null;
160
- techRecord_adrDetails_memosApply?: string[] | null;
161
- techRecord_adrDetails_documents?: string[] | null;
162
- techRecord_adrDetails_listStatementApplicable?: boolean | null;
163
- techRecord_adrDetails_batteryListNumber?: string | null;
164
- techRecord_adrDetails_brakeDeclarationsSeen?: boolean | null;
165
- techRecord_adrDetails_brakeDeclarationIssuer?: string | null;
166
- techRecord_adrDetails_brakeEndurance?: boolean | null;
167
- techRecord_adrDetails_weight?: string | null;
168
- techRecord_adrDetails_declarationsSeen?: boolean | null;
169
- techRecord_adrDetails_additionalNotes_guidanceNotes?: string[] | null;
170
- techRecord_adrDetails_additionalNotes_number?: string[] | null;
171
- techRecord_adrDetails_adrTypeApprovalNo?: string | null;
172
- techRecord_adrDetails_adrCertificateNotes?: string | null;
173
- techRecord_adrDetails_tank_tankDetails_tankManufacturer?: string | null;
174
- techRecord_adrDetails_tank_tankDetails_yearOfManufacture?: number | null;
175
- techRecord_adrDetails_tank_tankDetails_tankManufacturerSerialNo?: string | null;
176
- techRecord_adrDetails_tank_tankDetails_tankTypeAppNo?: string | null;
177
- techRecord_adrDetails_tank_tankDetails_tankCode?: string | null;
178
- techRecord_adrDetails_tank_tankDetails_specialProvisions?: string | null;
179
- techRecord_adrDetails_tank_tankDetails_tc2Details_tc2Type?: null | TC2Types;
180
- techRecord_adrDetails_tank_tankDetails_tc2Details_tc2IntermediateApprovalNo?: string | null;
181
- techRecord_adrDetails_tank_tankDetails_tc2Details_tc2IntermediateExpiryDate?: string | null;
182
- techRecord_adrDetails_tank_tankDetails_tc3Details_tc3Type?: null | TC3Types;
183
- techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicNumber?: string | null;
184
- techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicExpiryDate?: string | null;
185
- techRecord_adrDetails_tank_tankDetails_tankStatement_substancesPermitted?: string | null;
186
- techRecord_adrDetails_tank_tankDetails_tankStatement_statement?: string | null;
187
- techRecord_adrDetails_tank_tankDetails_tankStatement_productListRefNo?: string | null;
188
- techRecord_adrDetails_tank_tankDetails_tankStatement_productListUnNo?: string[] | null;
189
- techRecord_adrDetails_tank_tankDetails_tankStatement_productList?: string | null;
190
- techRecord_alterationMarker?: string | null;
191
- techRecord_applicantDetails_name?: string | null;
192
- techRecord_applicantDetails_address1?: null | string;
193
- techRecord_applicantDetails_address2?: null | string;
194
- techRecord_applicantDetails_postTown?: null | string;
195
- techRecord_applicantDetails_address3?: null | string;
196
- techRecord_applicantDetails_postCode?: null | string;
197
- techRecord_applicantDetails_telephoneNumber?: null | string;
198
- techRecord_applicantDetails_emailAddress?: null | string;
199
- techRecord_applicationId?: string | null;
200
- techRecord_authIntoService?: string | null;
201
- techRecord_batchId?: string | null;
202
- techRecord_bodyType_code: string;
203
- techRecord_bodyType_description: string;
204
- techRecord_brakes_antilockBrakingSystem?: boolean | null;
205
- techRecord_brakes_dtpNumber?: string | null;
206
- techRecord_brakes_loadSensingValve?: boolean | null;
207
- techRecord_centreOfRearmostAxleToRearOfTrl?: number | null;
208
- techRecord_conversionRefNo?: string | null;
209
- techRecord_couplingCenterToRearAxleMax?: number | null;
210
- techRecord_couplingCenterToRearAxleMin?: number | null;
211
- techRecord_couplingCenterToRearTrlMax?: number | null;
212
- techRecord_couplingCenterToRearTrlMin?: number | null;
213
- techRecord_couplingType?: string | null;
214
- techRecord_createdAt: string;
215
- techRecord_createdById: string;
216
- techRecord_createdByName: string;
217
- techRecord_departmentalVehicleMarker?: boolean | null;
218
- techRecord_dimensions_length?: number | null;
219
- techRecord_dimensions_width?: number | null;
220
- techRecord_euVehicleCategory?: EUVehicleCategory | null;
221
- techRecord_firstUseDate?: string | null;
222
- techRecord_frameDescription?: FrameDescription | null;
223
- techRecord_frontAxleToRearAxle?: number | null;
224
- techRecord_functionCode?: string | null;
225
- techRecord_grossDesignWeight?: number | null;
226
- techRecord_grossEecWeight?: number | null;
227
- techRecord_grossGbWeight?: number | null;
228
- techRecord_letterOfAuth?: string | null;
229
- techRecord_make?: string | null;
230
- techRecord_manufactureYear?: number | null;
231
- techRecord_manufacturerDetails?: string | null;
232
- techRecord_maxLoadOnCoupling?: number | null;
233
- techRecord_microfilm?: string | null;
234
- techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentTypes;
235
- techRecord_microfilm_microfilmRollNumber?: string | null;
236
- techRecord_microfilm_microfilmSerialNumber?: string | null;
237
- techRecord_model?: string | null;
238
- techRecord_noOfAxles: number | null;
239
- plates?: TRLPlates[];
240
- techRecord_purchaserDetails_address1?: string | null;
241
- techRecord_purchaserDetails_address2?: string | null;
242
- techRecord_purchaserDetails_address3?: string | null;
243
- techRecord_purchaserDetails_emailAddress?: string | null;
244
- techRecord_purchaserDetails_faxNumber?: string | null;
245
- techRecord_purchaserDetails_name?: string | null;
246
- techRecord_purchaserDetails_postCode?: string | null;
247
- techRecord_purchaserDetails_postTown?: string | null;
248
- techRecord_purchaserDetails_purchaserNotes?: string | null;
249
- techRecord_purchaserDetails_telephoneNumber?: string | null;
250
- techRecord_lastUpdatedAt?: string | null;
251
- techRecord_lastUpdatedByName?: string | null;
252
- techRecord_lastUpdatedById?: string | null;
253
- techRecord_rearAxleToRearTrl?: number | null;
254
- techRecord_reasonForCreation: string;
255
- techRecord_recordCompleteness: "testable";
256
- techRecord_regnDate?: string | null;
257
- techRecord_roadFriendly?: boolean | null;
258
- techRecord_statusCode: StatusCode;
259
- techRecord_suspensionType?: string | null;
260
- techRecord_tyreUseCode?: string | null;
261
- techRecord_vehicleClass_code: string;
262
- techRecord_vehicleClass_description: VehicleClassDescription;
263
- techRecord_vehicleConfiguration: VehicleConfiguration | null;
264
- techRecord_vehicleType: "trl";
265
- trailerId: string;
266
- vin: string;
267
- axles?: PSVAxles[];
268
- techRecord_brakes?: {
269
- brakeActuator?: number;
270
- leverLength?: number;
271
- springBrakeParking?: boolean;
272
- [k: string]: unknown;
273
- }[];
274
- techRecord_weights_gbWeight?: number | null;
275
- techRecord_weights_designWeight?: number | null;
276
- techRecord_weights_ladenWeight?: number | null;
277
- techRecord_weights_kerbWeight?: number | null;
278
- techRecord_tyres_tyreCode?: number | null;
279
- techRecord_tyres_tyreSize?: string | null;
280
- techRecord_tyres_plyRating?: string | null;
281
- techRecord_tyres_fitmentCode?: null | FitmentCode;
282
- techRecord_tyres_dataTrAxles?: null | number;
283
- techRecord_tyres_speedCategorySymbol?: SpeedCategorySymbol | null;
284
- }
285
- export interface TRLPlates {
286
- techRecord_plateSerialNumber?: string | null;
287
- techRecord_plateIssueDate?: string | null;
288
- techRecord_reasonForIssue?: null | PlateReasonForIssue;
289
- techRecord_plateIssuer?: string | null;
290
- }
291
- export interface PSVAxles {
292
- techRecord_parkingBrakeMrk?: boolean | null;
293
- techRecord_axleNumber?: number | null;
294
- }
@@ -1,75 +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 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 VehicleConfiguration =
28
- | "rigid"
29
- | "articulated"
30
- | "centre axle drawbar"
31
- | "semi-car transporter"
32
- | "semi-trailer"
33
- | "long semi-trailer"
34
- | "low loader"
35
- | "other"
36
- | "drawbar"
37
- | "four-in-line"
38
- | "dolly"
39
- | "full drawbar";
40
- export type StatusCode = "provisional" | "current" | "archived";
41
- export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
42
-
43
- export interface TechRecordPUTResponseCompleteCarSchema {
44
- techRecord_applicantDetails_name?: string | null;
45
- techRecord_applicantDetails_address1?: null | string;
46
- techRecord_applicantDetails_address2?: null | string;
47
- techRecord_applicantDetails_postTown?: null | string;
48
- techRecord_applicantDetails_address3?: null | string;
49
- techRecord_applicantDetails_postCode?: null | string;
50
- techRecord_applicantDetails_telephoneNumber?: null | string;
51
- techRecord_applicantDetails_emailAddress?: null | string;
52
- vin?: string;
53
- systemNumber: string;
54
- createdTimestamp: string;
55
- partialVin?: string;
56
- primaryVrm?: string;
57
- techRecord_createdAt?: string;
58
- techRecord_createdByName?: string | null;
59
- techRecord_createdById?: string | null;
60
- techRecord_euVehicleCategory?: EUVehicleCategory;
61
- techRecord_lastUpdatedAt?: string | null;
62
- techRecord_lastUpdatedByName?: string | null;
63
- techRecord_lastUpdatedById?: string | null;
64
- techRecord_recordCompleteness?: "complete" | "testable" | "skeleton";
65
- techRecord_vehicleConfiguration?: VehicleConfiguration;
66
- techRecord_noOfAxles?: number | null;
67
- techRecord_manufactureYear?: number | null;
68
- techRecord_regnDate?: string | null;
69
- techRecord_statusCode?: StatusCode;
70
- techRecord_vehicleType?: VehicleType;
71
- techRecord_reasonForCreation?: string | null;
72
- techRecord_bodyType_code?: string;
73
- techRecord_bodyType_description?: string;
74
- [k: string]: unknown;
75
- }
@@ -1,22 +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 VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
9
- export type StatusCode = "provisional" | "current" | "archived";
10
-
11
- export interface TechRecordPUTRequestSkeletonCarSchema {
12
- vin?: string;
13
- primaryVrm?: string;
14
- trailerId?: string | null;
15
- techRecord_reasonForCreation?: string | null;
16
- techRecord_vehicleType?: VehicleType;
17
- techRecord_statusCode?: StatusCode;
18
- techRecord_regnDate?: string | null;
19
- techRecord_manufactureYear?: string | null;
20
- techRecord_noOfAxles?: number | null;
21
- [k: string]: unknown;
22
- }