@dvsa/cvs-type-definitions 2.1.1 → 2.1.12

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 (32) hide show
  1. package/json-schemas/v3/tech-record/get/car/complete/index.json +6 -0
  2. package/json-schemas/v3/tech-record/get/car/skeleton/index.json +6 -0
  3. package/json-schemas/v3/tech-record/get/lgv/complete/index.json +222 -226
  4. package/json-schemas/v3/tech-record/get/lgv/skeleton/index.json +203 -204
  5. package/json-schemas/v3/tech-record/get/motorcycle/skeleton/index.json +198 -204
  6. package/json-schemas/v3/tech-record/get/trl/complete/index.json +40 -1
  7. package/json-schemas/v3/tech-record/get/trl/skeleton/index.json +34 -1
  8. package/json-schemas/v3/tech-record/get/trl/testable/index.json +34 -1
  9. package/json-schemas/v3/tech-record/put/car/complete/index.json +6 -0
  10. package/json-schemas/v3/tech-record/put/car/skeleton/index.json +6 -0
  11. package/json-schemas/v3/tech-record/put/lgv/complete/index.json +103 -107
  12. package/json-schemas/v3/tech-record/put/lgv/skeleton/index.json +85 -86
  13. package/json-schemas/v3/tech-record/put/trl/complete/index.json +34 -1
  14. package/json-schemas/v3/tech-record/put/trl/skeleton/index.json +34 -1
  15. package/json-schemas/v3/tech-record/put/trl/testable/index.json +34 -1
  16. package/package.json +1 -1
  17. package/schema-validator.js +0 -1
  18. package/types/v3/tech-record/get/car/complete/index.d.ts +1 -0
  19. package/types/v3/tech-record/get/car/skeleton/index.d.ts +1 -0
  20. package/types/v3/tech-record/get/lgv/complete/index.d.ts +2 -2
  21. package/types/v3/tech-record/get/lgv/skeleton/index.d.ts +2 -2
  22. package/types/v3/tech-record/get/motorcycle/skeleton/index.d.ts +5 -5
  23. package/types/v3/tech-record/get/trl/complete/index.d.ts +6 -1
  24. package/types/v3/tech-record/get/trl/skeleton/index.d.ts +5 -1
  25. package/types/v3/tech-record/get/trl/testable/index.d.ts +5 -1
  26. package/types/v3/tech-record/put/car/complete/index.d.ts +1 -0
  27. package/types/v3/tech-record/put/car/skeleton/index.d.ts +1 -0
  28. package/types/v3/tech-record/put/lgv/complete/index.d.ts +2 -2
  29. package/types/v3/tech-record/put/lgv/skeleton/index.d.ts +2 -2
  30. package/types/v3/tech-record/put/trl/complete/index.d.ts +5 -1
  31. package/types/v3/tech-record/put/trl/skeleton/index.d.ts +5 -1
  32. package/types/v3/tech-record/put/trl/testable/index.d.ts +5 -1
@@ -71,6 +71,8 @@ export type FuelPropulsionSystem =
71
71
  | "Fuel cell"
72
72
  | "LNG"
73
73
  | "Other";
74
+ export type LetterTypes = "trailer accept" | "trailer rejection";
75
+ export type ParagraphIds = "3" | "4" | "5" | "6" | "7";
74
76
  export type MicrofilmDocumentType =
75
77
  | "PSV Miscellaneous"
76
78
  | "AAT - Trailer Annual Test"
@@ -270,7 +272,10 @@ export interface GETTRLTechnicalRecordV3Complete {
270
272
  techRecord_grossDesignWeight?: number | null;
271
273
  techRecord_grossEecWeight?: number | null;
272
274
  techRecord_grossGbWeight?: number | null;
273
- techRecord_letterOfAuth?: string | null;
275
+ techRecord_letterOfAuth_letterType?: null | LetterTypes;
276
+ techRecord_letterOfAuth_letterDateRequested?: string | null;
277
+ techRecord_letterOfAuth_paragraphId?: null | ParagraphIds;
278
+ techRecord_letterOfAuth_letterIssuer?: string | null;
274
279
  techRecord_make: string | null;
275
280
  techRecord_manufactureYear?: number | null;
276
281
  techRecord_maxTrainDesignWeight?: number;
@@ -36,6 +36,8 @@ export type FrameDescription =
36
36
  | "integral"
37
37
  | "Box section"
38
38
  | "U section";
39
+ export type LetterTypes = "trailer accept" | "trailer rejection";
40
+ export type ParagraphIds = "3" | "4" | "5" | "6" | "7";
39
41
  export type MicrofilmDocumentType =
40
42
  | "PSV Miscellaneous"
41
43
  | "AAT - Trailer Annual Test"
@@ -208,7 +210,9 @@ export interface GETTRLTechnicalRecordV3Skeleton {
208
210
  techRecord_grossDesignWeight?: number | null;
209
211
  techRecord_grossEecWeight?: number | null;
210
212
  techRecord_grossGbWeight?: number | null;
211
- techRecord_letterOfAuth?: string | null;
213
+ techRecord_letterOfAuth_letterType?: null | LetterTypes;
214
+ techRecord_letterOfAuth_letterDateRequested?: string | null;
215
+ techRecord_letterOfAuth_paragraphId?: null | ParagraphIds;
212
216
  techRecord_make?: string | null;
213
217
  techRecord_manufactureYear?: number | null;
214
218
  techRecord_manufacturerDetails?: string | null;
@@ -36,6 +36,8 @@ export type FrameDescription =
36
36
  | "integral"
37
37
  | "Box section"
38
38
  | "U section";
39
+ export type LetterTypes = "trailer accept" | "trailer rejection";
40
+ export type ParagraphIds = "3" | "4" | "5" | "6" | "7";
39
41
  export type MicrofilmDocumentType =
40
42
  | "PSV Miscellaneous"
41
43
  | "AAT - Trailer Annual Test"
@@ -225,7 +227,9 @@ export interface GETTRLTechnicalRecordV3Testable {
225
227
  techRecord_grossDesignWeight?: number | null;
226
228
  techRecord_grossEecWeight?: number | null;
227
229
  techRecord_grossGbWeight?: number | null;
228
- techRecord_letterOfAuth?: string | null;
230
+ techRecord_letterOfAuth_letterType?: null | LetterTypes;
231
+ techRecord_letterOfAuth_letterDateRequested?: string | null;
232
+ techRecord_letterOfAuth_paragraphId?: null | ParagraphIds;
229
233
  techRecord_make?: string | null;
230
234
  techRecord_manufactureYear?: number | null;
231
235
  techRecord_manufacturerDetails?: string | null;
@@ -26,4 +26,5 @@ export interface TechRecordPUTRequestCompleteCarSchema {
26
26
  techRecord_createdAt?: string;
27
27
  techRecord_createdById?: string;
28
28
  techRecord_createdByName?: string;
29
+ secondaryVrms?: string[];
29
30
  }
@@ -24,4 +24,5 @@ export interface TechRecordPUTRequestSkeletonCarSchema {
24
24
  techRecord_createdAt?: string;
25
25
  techRecord_createdById?: string;
26
26
  techRecord_createdByName?: string;
27
+ secondaryVrms?: string[];
27
28
  }
@@ -5,12 +5,11 @@
5
5
  * and run json-schema-to-typescript to regenerate this file.
6
6
  */
7
7
 
8
- export type TechRecordCompleteLGVSchema = TechRecordPUTRequestCompleteCarSchema;
9
8
  export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
10
9
  export type StatusCode = "provisional" | "current" | "archived";
11
10
  export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
12
11
 
13
- export interface TechRecordPUTRequestCompleteCarSchema {
12
+ export interface TechRecordCompleteLGVSchema {
14
13
  vin: string;
15
14
  primaryVrm?: string;
16
15
  trailerId?: string | null;
@@ -27,4 +26,5 @@ export interface TechRecordPUTRequestCompleteCarSchema {
27
26
  techRecord_createdAt?: string;
28
27
  techRecord_createdById?: string;
29
28
  techRecord_createdByName?: string;
29
+ secondaryVrms?: string[];
30
30
  }
@@ -5,11 +5,10 @@
5
5
  * and run json-schema-to-typescript to regenerate this file.
6
6
  */
7
7
 
8
- export type TechRecordCompleteCarSchema = TechRecordPUTRequestSkeletonCarSchema;
9
8
  export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
10
9
  export type StatusCode = "provisional" | "current" | "archived";
11
10
 
12
- export interface TechRecordPUTRequestSkeletonCarSchema {
11
+ export interface TechRecordCompleteCarSchema {
13
12
  vin: string;
14
13
  primaryVrm?: string;
15
14
  trailerId?: string | null;
@@ -25,4 +24,5 @@ export interface TechRecordPUTRequestSkeletonCarSchema {
25
24
  techRecord_createdAt?: string;
26
25
  techRecord_createdById?: string;
27
26
  techRecord_createdByName?: string;
27
+ secondaryVrms?: string[];
28
28
  }
@@ -71,6 +71,8 @@ export type FuelPropulsionSystem =
71
71
  | "Fuel cell"
72
72
  | "LNG"
73
73
  | "Other";
74
+ export type LetterTypes = "trailer accept" | "trailer rejection";
75
+ export type ParagraphIds = "3" | "4" | "5" | "6" | "7";
74
76
  export type MicrofilmDocumentType =
75
77
  | "PSV Miscellaneous"
76
78
  | "AAT - Trailer Annual Test"
@@ -268,7 +270,9 @@ export interface PUTTRLTechnicalRecordV3Complete {
268
270
  techRecord_grossDesignWeight?: number | null;
269
271
  techRecord_grossEecWeight?: number | null;
270
272
  techRecord_grossGbWeight?: number | null;
271
- techRecord_letterOfAuth?: string | null;
273
+ techRecord_letterOfAuth_letterType?: null | LetterTypes;
274
+ techRecord_letterOfAuth_letterDateRequested?: string | null;
275
+ techRecord_letterOfAuth_paragraphId?: null | ParagraphIds;
272
276
  techRecord_make: string | null;
273
277
  techRecord_manufactureYear?: number | null;
274
278
  techRecord_maxTrainDesignWeight?: number;
@@ -36,6 +36,8 @@ export type FrameDescription =
36
36
  | "integral"
37
37
  | "Box section"
38
38
  | "U section";
39
+ export type LetterTypes = "trailer accept" | "trailer rejection";
40
+ export type ParagraphIds = "3" | "4" | "5" | "6" | "7";
39
41
  export type MicrofilmDocumentType =
40
42
  | "PSV Miscellaneous"
41
43
  | "AAT - Trailer Annual Test"
@@ -206,7 +208,9 @@ export interface PUTTRLTechnicalRecordV3Skeleton {
206
208
  techRecord_grossDesignWeight?: number | null;
207
209
  techRecord_grossEecWeight?: number | null;
208
210
  techRecord_grossGbWeight?: number | null;
209
- techRecord_letterOfAuth?: string | null;
211
+ techRecord_letterOfAuth_letterType?: null | LetterTypes;
212
+ techRecord_letterOfAuth_letterDateRequested?: string | null;
213
+ techRecord_letterOfAuth_paragraphId?: null | ParagraphIds;
210
214
  techRecord_make?: string | null;
211
215
  techRecord_manufactureYear?: number | null;
212
216
  techRecord_manufacturerDetails?: string | null;
@@ -36,6 +36,8 @@ export type FrameDescription =
36
36
  | "integral"
37
37
  | "Box section"
38
38
  | "U section";
39
+ export type LetterTypes = "trailer accept" | "trailer rejection";
40
+ export type ParagraphIds = "3" | "4" | "5" | "6" | "7";
39
41
  export type MicrofilmDocumentType =
40
42
  | "PSV Miscellaneous"
41
43
  | "AAT - Trailer Annual Test"
@@ -223,7 +225,9 @@ export interface GETTRLTechnicalRecordV3Testable {
223
225
  techRecord_grossDesignWeight?: number | null;
224
226
  techRecord_grossEecWeight?: number | null;
225
227
  techRecord_grossGbWeight?: number | null;
226
- techRecord_letterOfAuth?: string | null;
228
+ techRecord_letterOfAuth_letterType?: null | LetterTypes;
229
+ techRecord_letterOfAuth_letterDateRequested?: string | null;
230
+ techRecord_letterOfAuth_paragraphId?: null | ParagraphIds;
227
231
  techRecord_make?: string | null;
228
232
  techRecord_manufactureYear?: number | null;
229
233
  techRecord_manufacturerDetails?: string | null;