@dvsa/cvs-type-definitions 2.0.26 → 2.0.29

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 (27) hide show
  1. package/json-schemas/v3/tech-record/put/car/complete/index.json +9 -0
  2. package/json-schemas/v3/tech-record/put/car/skeleton/index.json +9 -0
  3. package/json-schemas/v3/tech-record/put/hgv/complete/index.json +12 -1
  4. package/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +12 -1
  5. package/json-schemas/v3/tech-record/put/hgv/testable/index.json +12 -1
  6. package/json-schemas/v3/tech-record/put/lgv/complete/index.json +9 -0
  7. package/json-schemas/v3/tech-record/put/lgv/skeleton/index.json +9 -0
  8. package/json-schemas/v3/tech-record/put/psv/complete/index.json +4 -1
  9. package/json-schemas/v3/tech-record/put/psv/skeleton/index.json +4 -1
  10. package/json-schemas/v3/tech-record/put/psv/testable/index.json +4 -1
  11. package/json-schemas/v3/tech-record/put/trl/complete/index.json +12 -1
  12. package/json-schemas/v3/tech-record/put/trl/skeleton/index.json +13 -2
  13. package/json-schemas/v3/tech-record/put/trl/testable/index.json +12 -1
  14. package/package.json +1 -1
  15. package/types/v3/tech-record/put/car/complete/index.d.ts +3 -0
  16. package/types/v3/tech-record/put/car/skeleton/index.d.ts +3 -0
  17. package/types/v3/tech-record/put/hgv/complete/index.d.ts +4 -1
  18. package/types/v3/tech-record/put/hgv/skeleton/index.d.ts +4 -1
  19. package/types/v3/tech-record/put/hgv/testable/index.d.ts +4 -1
  20. package/types/v3/tech-record/put/lgv/complete/index.d.ts +3 -0
  21. package/types/v3/tech-record/put/lgv/skeleton/index.d.ts +3 -0
  22. package/types/v3/tech-record/put/psv/complete/index.d.ts +1 -1
  23. package/types/v3/tech-record/put/psv/skeleton/index.d.ts +1 -1
  24. package/types/v3/tech-record/put/psv/testable/index.d.ts +1 -1
  25. package/types/v3/tech-record/put/trl/complete/index.d.ts +4 -1
  26. package/types/v3/tech-record/put/trl/skeleton/index.d.ts +5 -2
  27. package/types/v3/tech-record/put/trl/testable/index.d.ts +4 -1
@@ -92,6 +92,15 @@
92
92
  },
93
93
  "techRecord_updateType": {
94
94
  "type": "string"
95
+ },
96
+ "techRecord_createdAt": {
97
+ "type": "string"
98
+ },
99
+ "techRecord_createdById": {
100
+ "type": "string"
101
+ },
102
+ "techRecord_createdByName": {
103
+ "type": "string"
95
104
  }
96
105
  }
97
106
  }
@@ -72,6 +72,15 @@
72
72
  },
73
73
  "techRecord_updateType": {
74
74
  "type": "string"
75
+ },
76
+ "techRecord_createdAt": {
77
+ "type": "string"
78
+ },
79
+ "techRecord_createdById": {
80
+ "type": "string"
81
+ },
82
+ "techRecord_createdByName": {
83
+ "type": "string"
75
84
  }
76
85
  }
77
86
  }
@@ -3,7 +3,6 @@
3
3
  "type": "object",
4
4
  "additionalProperties": false,
5
5
  "required": [
6
- "partialVin",
7
6
  "techRecord_reasonForCreation",
8
7
  "techRecord_statusCode",
9
8
  "techRecord_vehicleType",
@@ -48,6 +47,18 @@
48
47
  ],
49
48
  "properties": {
50
49
  "partialVin": {
50
+ "type": [
51
+ "string",
52
+ "null"
53
+ ]
54
+ },
55
+ "techRecord_createdAt": {
56
+ "type": "string"
57
+ },
58
+ "techRecord_createdById": {
59
+ "type": "string"
60
+ },
61
+ "techRecord_createdByName": {
51
62
  "type": "string"
52
63
  },
53
64
  "techRecord_adrDetails_vehicleDetails_type": {
@@ -3,7 +3,6 @@
3
3
  "type": "object",
4
4
  "additionalProperties": false,
5
5
  "required": [
6
- "partialVin",
7
6
  "techRecord_reasonForCreation",
8
7
  "techRecord_statusCode",
9
8
  "techRecord_vehicleType",
@@ -12,6 +11,18 @@
12
11
  ],
13
12
  "properties": {
14
13
  "partialVin": {
14
+ "type": [
15
+ "string",
16
+ "null"
17
+ ]
18
+ },
19
+ "techRecord_createdAt": {
20
+ "type": "string"
21
+ },
22
+ "techRecord_createdById": {
23
+ "type": "string"
24
+ },
25
+ "techRecord_createdByName": {
15
26
  "type": "string"
16
27
  },
17
28
  "techRecord_adrDetails_vehicleDetails_type": {
@@ -3,7 +3,6 @@
3
3
  "type": "object",
4
4
  "additionalProperties": false,
5
5
  "required": [
6
- "partialVin",
7
6
  "techRecord_reasonForCreation",
8
7
  "techRecord_statusCode",
9
8
  "techRecord_vehicleType",
@@ -16,6 +15,18 @@
16
15
  ],
17
16
  "properties": {
18
17
  "partialVin": {
18
+ "type": [
19
+ "string",
20
+ "null"
21
+ ]
22
+ },
23
+ "techRecord_createdAt": {
24
+ "type": "string"
25
+ },
26
+ "techRecord_createdById": {
27
+ "type": "string"
28
+ },
29
+ "techRecord_createdByName": {
19
30
  "type": "string"
20
31
  },
21
32
  "techRecord_adrDetails_vehicleDetails_type": {
@@ -100,6 +100,15 @@
100
100
  },
101
101
  "techRecord_updateType": {
102
102
  "type": "string"
103
+ },
104
+ "techRecord_createdAt": {
105
+ "type": "string"
106
+ },
107
+ "techRecord_createdById": {
108
+ "type": "string"
109
+ },
110
+ "techRecord_createdByName": {
111
+ "type": "string"
103
112
  }
104
113
  }
105
114
  }
@@ -77,6 +77,15 @@
77
77
  },
78
78
  "techRecord_updateType": {
79
79
  "type": "string"
80
+ },
81
+ "techRecord_createdAt": {
82
+ "type": "string"
83
+ },
84
+ "techRecord_createdById": {
85
+ "type": "string"
86
+ },
87
+ "techRecord_createdByName": {
88
+ "type": "string"
80
89
  }
81
90
  }
82
91
  }
@@ -41,7 +41,10 @@
41
41
  "type": "string"
42
42
  },
43
43
  "partialVin": {
44
- "type": "string"
44
+ "type": [
45
+ "string",
46
+ "null"
47
+ ]
45
48
  },
46
49
  "systemNumber": {
47
50
  "type": "string"
@@ -20,7 +20,10 @@
20
20
  "type": "string"
21
21
  },
22
22
  "partialVin": {
23
- "type": "string"
23
+ "type": [
24
+ "string",
25
+ "null"
26
+ ]
24
27
  },
25
28
  "systemNumber": {
26
29
  "type": "string"
@@ -21,7 +21,10 @@
21
21
  "type": "string"
22
22
  },
23
23
  "partialVin": {
24
- "type": "string"
24
+ "type": [
25
+ "string",
26
+ "null"
27
+ ]
25
28
  },
26
29
  "systemNumber": {
27
30
  "type": "string"
@@ -3,7 +3,6 @@
3
3
  "type": "object",
4
4
  "additionalProperties": false,
5
5
  "required": [
6
- "partialVin",
7
6
  "techRecord_noOfAxles",
8
7
  "techRecord_make",
9
8
  "techRecord_model",
@@ -35,6 +34,18 @@
35
34
  ],
36
35
  "properties": {
37
36
  "partialVin": {
37
+ "type": [
38
+ "string",
39
+ "null"
40
+ ]
41
+ },
42
+ "techRecord_createdAt": {
43
+ "type": "string"
44
+ },
45
+ "techRecord_createdById": {
46
+ "type": "string"
47
+ },
48
+ "techRecord_createdByName": {
38
49
  "type": "string"
39
50
  },
40
51
  "techRecord_adrDetails_vehicleDetails_type": {
@@ -1,9 +1,8 @@
1
1
  {
2
- "title": "GET TRL Technical Record V3 Skeleton",
2
+ "title": "PUT TRL Technical Record V3 Skeleton",
3
3
  "type": "object",
4
4
  "additionalProperties": false,
5
5
  "required": [
6
- "partialVin",
7
6
  "techRecord_reasonForCreation",
8
7
  "techRecord_statusCode",
9
8
  "techRecord_vehicleClass_code",
@@ -15,6 +14,18 @@
15
14
  ],
16
15
  "properties": {
17
16
  "partialVin": {
17
+ "type": [
18
+ "string",
19
+ "null"
20
+ ]
21
+ },
22
+ "techRecord_createdAt": {
23
+ "type": "string"
24
+ },
25
+ "techRecord_createdById": {
26
+ "type": "string"
27
+ },
28
+ "techRecord_createdByName": {
18
29
  "type": "string"
19
30
  },
20
31
  "techRecord_adrDetails_vehicleDetails_type": {
@@ -3,7 +3,6 @@
3
3
  "type": "object",
4
4
  "additionalProperties": false,
5
5
  "required": [
6
- "partialVin",
7
6
  "techRecord_noOfAxles",
8
7
  "systemNumber",
9
8
  "trailerId",
@@ -20,6 +19,18 @@
20
19
  ],
21
20
  "properties": {
22
21
  "partialVin": {
22
+ "type": [
23
+ "string",
24
+ "null"
25
+ ]
26
+ },
27
+ "techRecord_createdAt": {
28
+ "type": "string"
29
+ },
30
+ "techRecord_createdById": {
31
+ "type": "string"
32
+ },
33
+ "techRecord_createdByName": {
23
34
  "type": "string"
24
35
  },
25
36
  "techRecord_adrDetails_vehicleDetails_type": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvsa/cvs-type-definitions",
3
- "version": "2.0.26",
3
+ "version": "2.0.29",
4
4
  "description": "type definitions for cvs vta application",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -23,4 +23,7 @@ export interface TechRecordPUTRequestCompleteCarSchema {
23
23
  techRecord_vehicleSubclass: VehicleSubclass;
24
24
  techRecord_hiddenInVta?: boolean;
25
25
  techRecord_updateType?: string;
26
+ techRecord_createdAt?: string;
27
+ techRecord_createdById?: string;
28
+ techRecord_createdByName?: string;
26
29
  }
@@ -21,4 +21,7 @@ export interface TechRecordPUTRequestSkeletonCarSchema {
21
21
  techRecord_notes?: string;
22
22
  techRecord_hiddenInVta?: boolean;
23
23
  techRecord_updateType?: string;
24
+ techRecord_createdAt?: string;
25
+ techRecord_createdById?: string;
26
+ techRecord_createdByName?: string;
24
27
  }
@@ -143,7 +143,10 @@ export type ApprovalType =
143
143
  | "IVA - DVSA/NI";
144
144
 
145
145
  export interface PUTHGVTechnicalRecordV3Complete {
146
- partialVin: string;
146
+ partialVin?: string | null;
147
+ techRecord_createdAt?: string;
148
+ techRecord_createdById?: string;
149
+ techRecord_createdByName?: string;
147
150
  techRecord_adrDetails_vehicleDetails_type?: string | null;
148
151
  techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
149
152
  techRecord_adrDetails_permittedDangerousGoods?: string[] | null;
@@ -143,7 +143,10 @@ export type ApprovalType =
143
143
  | "IVA - DVSA/NI";
144
144
 
145
145
  export interface PUTHGVTechnicalRecordV3Skeleton {
146
- partialVin: string;
146
+ partialVin?: string | null;
147
+ techRecord_createdAt?: string;
148
+ techRecord_createdById?: string;
149
+ techRecord_createdByName?: string;
147
150
  techRecord_adrDetails_vehicleDetails_type?: string | null;
148
151
  techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
149
152
  techRecord_adrDetails_permittedDangerousGoods?: string[] | null;
@@ -143,7 +143,10 @@ export type ApprovalType =
143
143
  | "IVA - DVSA/NI";
144
144
 
145
145
  export interface PUTHGVTechnicalRecordV3Testable {
146
- partialVin: string;
146
+ partialVin?: string | null;
147
+ techRecord_createdAt?: string;
148
+ techRecord_createdById?: string;
149
+ techRecord_createdByName?: string;
147
150
  techRecord_adrDetails_vehicleDetails_type?: string | null;
148
151
  techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
149
152
  techRecord_adrDetails_permittedDangerousGoods?: string[] | null;
@@ -24,4 +24,7 @@ export interface TechRecordPUTRequestCompleteCarSchema {
24
24
  techRecord_vehicleSubclass: VehicleSubclass;
25
25
  techRecord_hiddenInVta?: boolean;
26
26
  techRecord_updateType?: string;
27
+ techRecord_createdAt?: string;
28
+ techRecord_createdById?: string;
29
+ techRecord_createdByName?: string;
27
30
  }
@@ -22,4 +22,7 @@ export interface TechRecordPUTRequestSkeletonCarSchema {
22
22
  techRecord_notes?: string;
23
23
  techRecord_hiddenInVta?: boolean;
24
24
  techRecord_updateType?: string;
25
+ techRecord_createdAt?: string;
26
+ techRecord_createdById?: string;
27
+ techRecord_createdByName?: string;
25
28
  }
@@ -185,7 +185,7 @@ export type MicrofilmDocumentType =
185
185
 
186
186
  export interface POSTPSVTechnicalRecordV3Complete {
187
187
  vin: string;
188
- partialVin?: string;
188
+ partialVin?: string | null;
189
189
  systemNumber: string;
190
190
  primaryVrm?: string;
191
191
  techRecord_vehicleType: "psv";
@@ -185,7 +185,7 @@ export type MicrofilmDocumentType =
185
185
 
186
186
  export interface POSTPSVTechnicalRecordV3Skeleton {
187
187
  vin: string;
188
- partialVin?: string;
188
+ partialVin?: string | null;
189
189
  systemNumber: string;
190
190
  primaryVrm?: string;
191
191
  techRecord_vehicleType: "psv";
@@ -185,7 +185,7 @@ export type MicrofilmDocumentType =
185
185
 
186
186
  export interface POSTPSVTechnicalRecordV3Testable {
187
187
  vin: string;
188
- partialVin?: string;
188
+ partialVin?: string | null;
189
189
  systemNumber: string;
190
190
  primaryVrm?: string;
191
191
  techRecord_vehicleType: "psv";
@@ -179,7 +179,10 @@ export type SpeedCategorySymbol =
179
179
  | "q";
180
180
 
181
181
  export interface PUTTRLTechnicalRecordV3Complete {
182
- partialVin: string;
182
+ partialVin?: string | null;
183
+ techRecord_createdAt?: string;
184
+ techRecord_createdById?: string;
185
+ techRecord_createdByName?: string;
183
186
  techRecord_adrDetails_vehicleDetails_type?: string | null;
184
187
  techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
185
188
  techRecord_adrDetails_permittedDangerousGoods?: string[] | null;
@@ -126,8 +126,11 @@ export type VehicleConfiguration =
126
126
  | "dolly"
127
127
  | "full drawbar";
128
128
 
129
- export interface GETTRLTechnicalRecordV3Skeleton {
130
- partialVin: string;
129
+ export interface PUTTRLTechnicalRecordV3Skeleton {
130
+ partialVin?: string | null;
131
+ techRecord_createdAt?: string;
132
+ techRecord_createdById?: string;
133
+ techRecord_createdByName?: string;
131
134
  techRecord_adrDetails_vehicleDetails_type?: string | null;
132
135
  techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
133
136
  techRecord_adrDetails_permittedDangerousGoods?: string[] | null;
@@ -144,7 +144,10 @@ export type SpeedCategorySymbol =
144
144
  | "q";
145
145
 
146
146
  export interface GETTRLTechnicalRecordV3Testable {
147
- partialVin: string;
147
+ partialVin?: string | null;
148
+ techRecord_createdAt?: string;
149
+ techRecord_createdById?: string;
150
+ techRecord_createdByName?: string;
148
151
  techRecord_adrDetails_vehicleDetails_type?: string | null;
149
152
  techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
150
153
  techRecord_adrDetails_permittedDangerousGoods?: string[] | null;