@dvsa/cvs-type-definitions 6.0.1 → 6.2.0

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 (33) hide show
  1. package/json-schemas/v3/tech-record/get/hgv/complete/index.json +6 -8
  2. package/json-schemas/v3/tech-record/get/hgv/skeleton/index.json +6 -8
  3. package/json-schemas/v3/tech-record/get/hgv/testable/index.json +6 -8
  4. package/json-schemas/v3/tech-record/get/lgv/complete/index.json +6 -8
  5. package/json-schemas/v3/tech-record/get/lgv/skeleton/index.json +6 -8
  6. package/json-schemas/v3/tech-record/get/trl/complete/index.json +6 -8
  7. package/json-schemas/v3/tech-record/get/trl/skeleton/index.json +6 -8
  8. package/json-schemas/v3/tech-record/get/trl/testable/index.json +6 -8
  9. package/json-schemas/v3/tech-record/put/hgv/complete/index.json +6 -8
  10. package/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +6 -8
  11. package/json-schemas/v3/tech-record/put/hgv/testable/index.json +6 -8
  12. package/json-schemas/v3/tech-record/put/lgv/complete/index.json +6 -8
  13. package/json-schemas/v3/tech-record/put/lgv/skeleton/index.json +6 -8
  14. package/json-schemas/v3/tech-record/put/trl/complete/index.json +6 -8
  15. package/json-schemas/v3/tech-record/put/trl/skeleton/index.json +6 -8
  16. package/json-schemas/v3/tech-record/put/trl/testable/index.json +6 -8
  17. package/package.json +1 -1
  18. package/types/v3/tech-record/get/hgv/complete/index.d.ts +1 -0
  19. package/types/v3/tech-record/get/hgv/skeleton/index.d.ts +1 -0
  20. package/types/v3/tech-record/get/hgv/testable/index.d.ts +1 -0
  21. package/types/v3/tech-record/get/lgv/complete/index.d.ts +1 -0
  22. package/types/v3/tech-record/get/lgv/skeleton/index.d.ts +1 -0
  23. package/types/v3/tech-record/get/trl/complete/index.d.ts +1 -0
  24. package/types/v3/tech-record/get/trl/skeleton/index.d.ts +1 -0
  25. package/types/v3/tech-record/get/trl/testable/index.d.ts +1 -0
  26. package/types/v3/tech-record/put/hgv/complete/index.d.ts +1 -0
  27. package/types/v3/tech-record/put/hgv/skeleton/index.d.ts +1 -0
  28. package/types/v3/tech-record/put/hgv/testable/index.d.ts +1 -0
  29. package/types/v3/tech-record/put/lgv/complete/index.d.ts +1 -0
  30. package/types/v3/tech-record/put/lgv/skeleton/index.d.ts +1 -0
  31. package/types/v3/tech-record/put/trl/complete/index.d.ts +1 -0
  32. package/types/v3/tech-record/put/trl/skeleton/index.d.ts +1 -0
  33. package/types/v3/tech-record/put/trl/testable/index.d.ts +1 -0
@@ -67,6 +67,9 @@
67
67
  "systemNumber": {
68
68
  "type": "string"
69
69
  },
70
+ "techRecord_adrDetails_documentId": {
71
+ "type": "string"
72
+ },
70
73
  "techRecord_adrDetails_dangerousGoods": {
71
74
  "type": [
72
75
  "boolean",
@@ -136,14 +139,9 @@
136
139
  "maxLength": 1024
137
140
  },
138
141
  "createdAtDate": {
139
- "anyOf": [
140
- {
141
- "type": "string",
142
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
143
- },
144
- {
145
- "type": "null"
146
- }
142
+ "type": [
143
+ "string",
144
+ "null"
147
145
  ]
148
146
  },
149
147
  "lastUpdatedBy": {
@@ -37,6 +37,9 @@
37
37
  "systemNumber": {
38
38
  "type": "string"
39
39
  },
40
+ "techRecord_adrDetails_documentId": {
41
+ "type": "string"
42
+ },
40
43
  "techRecord_adrDetails_dangerousGoods": {
41
44
  "type": [
42
45
  "boolean",
@@ -106,14 +109,9 @@
106
109
  "maxLength": 1024
107
110
  },
108
111
  "createdAtDate": {
109
- "anyOf": [
110
- {
111
- "type": "string",
112
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
113
- },
114
- {
115
- "type": "null"
116
- }
112
+ "type": [
113
+ "string",
114
+ "null"
117
115
  ]
118
116
  },
119
117
  "lastUpdatedBy": {
@@ -41,6 +41,9 @@
41
41
  "systemNumber": {
42
42
  "type": "string"
43
43
  },
44
+ "techRecord_adrDetails_documentId": {
45
+ "type": "string"
46
+ },
44
47
  "techRecord_adrDetails_dangerousGoods": {
45
48
  "type": [
46
49
  "boolean",
@@ -110,14 +113,9 @@
110
113
  "maxLength": 1024
111
114
  },
112
115
  "createdAtDate": {
113
- "anyOf": [
114
- {
115
- "type": "string",
116
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
117
- },
118
- {
119
- "type": "null"
120
- }
116
+ "type": [
117
+ "string",
118
+ "null"
121
119
  ]
122
120
  },
123
121
  "lastUpdatedBy": {
@@ -72,6 +72,9 @@
72
72
  ],
73
73
  "maxLength": 255
74
74
  },
75
+ "techRecord_adrDetails_documentId": {
76
+ "type": "string"
77
+ },
75
78
  "techRecord_adrDetails_dangerousGoods": {
76
79
  "type": [
77
80
  "boolean",
@@ -141,14 +144,9 @@
141
144
  "maxLength": 1024
142
145
  },
143
146
  "createdAtDate": {
144
- "anyOf": [
145
- {
146
- "type": "string",
147
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
148
- },
149
- {
150
- "type": "null"
151
- }
147
+ "type": [
148
+ "string",
149
+ "null"
152
150
  ]
153
151
  },
154
152
  "lastUpdatedBy": {
@@ -69,6 +69,9 @@
69
69
  ],
70
70
  "maxLength": 255
71
71
  },
72
+ "techRecord_adrDetails_documentId": {
73
+ "type": "string"
74
+ },
72
75
  "techRecord_adrDetails_dangerousGoods": {
73
76
  "type": [
74
77
  "boolean",
@@ -138,14 +141,9 @@
138
141
  "maxLength": 1024
139
142
  },
140
143
  "createdAtDate": {
141
- "anyOf": [
142
- {
143
- "type": "string",
144
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
145
- },
146
- {
147
- "type": "null"
148
- }
144
+ "type": [
145
+ "string",
146
+ "null"
149
147
  ]
150
148
  },
151
149
  "lastUpdatedBy": {
@@ -49,6 +49,9 @@
49
49
  "systemNumber": {
50
50
  "type": "string"
51
51
  },
52
+ "techRecord_adrDetails_documentId": {
53
+ "type": "string"
54
+ },
52
55
  "techRecord_adrDetails_dangerousGoods": {
53
56
  "type": [
54
57
  "boolean",
@@ -118,14 +121,9 @@
118
121
  "maxLength": 1024
119
122
  },
120
123
  "createdAtDate": {
121
- "anyOf": [
122
- {
123
- "type": "string",
124
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
125
- },
126
- {
127
- "type": "null"
128
- }
124
+ "type": [
125
+ "string",
126
+ "null"
129
127
  ]
130
128
  },
131
129
  "lastUpdatedBy": {
@@ -29,6 +29,9 @@
29
29
  "systemNumber": {
30
30
  "type": "string"
31
31
  },
32
+ "techRecord_adrDetails_documentId": {
33
+ "type": "string"
34
+ },
32
35
  "techRecord_adrDetails_dangerousGoods": {
33
36
  "type": [
34
37
  "boolean",
@@ -98,14 +101,9 @@
98
101
  "maxLength": 1024
99
102
  },
100
103
  "createdAtDate": {
101
- "anyOf": [
102
- {
103
- "type": "string",
104
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
105
- },
106
- {
107
- "type": "null"
108
- }
104
+ "type": [
105
+ "string",
106
+ "null"
109
107
  ]
110
108
  },
111
109
  "lastUpdatedBy": {
@@ -31,6 +31,9 @@
31
31
  "systemNumber": {
32
32
  "type": "string"
33
33
  },
34
+ "techRecord_adrDetails_documentId": {
35
+ "type": "string"
36
+ },
34
37
  "techRecord_adrDetails_dangerousGoods": {
35
38
  "type": [
36
39
  "boolean",
@@ -100,14 +103,9 @@
100
103
  "maxLength": 1024
101
104
  },
102
105
  "createdAtDate": {
103
- "anyOf": [
104
- {
105
- "type": "string",
106
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
107
- },
108
- {
109
- "type": "null"
110
- }
106
+ "type": [
107
+ "string",
108
+ "null"
111
109
  ]
112
110
  },
113
111
  "lastUpdatedBy": {
@@ -55,6 +55,9 @@
55
55
  "null"
56
56
  ]
57
57
  },
58
+ "techRecord_adrDetails_documentId": {
59
+ "type": "string"
60
+ },
58
61
  "techRecord_adrDetails_dangerousGoods": {
59
62
  "type": [
60
63
  "boolean",
@@ -124,14 +127,9 @@
124
127
  "maxLength": 1024
125
128
  },
126
129
  "createdAtDate": {
127
- "anyOf": [
128
- {
129
- "type": "string",
130
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
131
- },
132
- {
133
- "type": "null"
134
- }
130
+ "type": [
131
+ "string",
132
+ "null"
135
133
  ]
136
134
  },
137
135
  "lastUpdatedBy": {
@@ -23,6 +23,9 @@
23
23
  "null"
24
24
  ]
25
25
  },
26
+ "techRecord_adrDetails_documentId": {
27
+ "type": "string"
28
+ },
26
29
  "techRecord_adrDetails_dangerousGoods": {
27
30
  "type": [
28
31
  "boolean",
@@ -92,14 +95,9 @@
92
95
  "maxLength": 1024
93
96
  },
94
97
  "createdAtDate": {
95
- "anyOf": [
96
- {
97
- "type": "string",
98
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
99
- },
100
- {
101
- "type": "null"
102
- }
98
+ "type": [
99
+ "string",
100
+ "null"
103
101
  ]
104
102
  },
105
103
  "lastUpdatedBy": {
@@ -25,6 +25,9 @@
25
25
  "null"
26
26
  ]
27
27
  },
28
+ "techRecord_adrDetails_documentId": {
29
+ "type": "string"
30
+ },
28
31
  "techRecord_adrDetails_dangerousGoods": {
29
32
  "type": [
30
33
  "boolean",
@@ -94,14 +97,9 @@
94
97
  "maxLength": 1024
95
98
  },
96
99
  "createdAtDate": {
97
- "anyOf": [
98
- {
99
- "type": "string",
100
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
101
- },
102
- {
103
- "type": "null"
104
- }
100
+ "type": [
101
+ "string",
102
+ "null"
105
103
  ]
106
104
  },
107
105
  "lastUpdatedBy": {
@@ -74,6 +74,9 @@
74
74
  ],
75
75
  "maxLength": 255
76
76
  },
77
+ "techRecord_adrDetails_documentId": {
78
+ "type": "string"
79
+ },
77
80
  "techRecord_adrDetails_dangerousGoods": {
78
81
  "type": [
79
82
  "boolean",
@@ -143,14 +146,9 @@
143
146
  "maxLength": 1024
144
147
  },
145
148
  "createdAtDate": {
146
- "anyOf": [
147
- {
148
- "type": "string",
149
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
150
- },
151
- {
152
- "type": "null"
153
- }
149
+ "type": [
150
+ "string",
151
+ "null"
154
152
  ]
155
153
  },
156
154
  "lastUpdatedBy": {
@@ -71,6 +71,9 @@
71
71
  ],
72
72
  "maxLength": 255
73
73
  },
74
+ "techRecord_adrDetails_documentId": {
75
+ "type": "string"
76
+ },
74
77
  "techRecord_adrDetails_dangerousGoods": {
75
78
  "type": [
76
79
  "boolean",
@@ -140,14 +143,9 @@
140
143
  "maxLength": 1024
141
144
  },
142
145
  "createdAtDate": {
143
- "anyOf": [
144
- {
145
- "type": "string",
146
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
147
- },
148
- {
149
- "type": "null"
150
- }
146
+ "type": [
147
+ "string",
148
+ "null"
151
149
  ]
152
150
  },
153
151
  "lastUpdatedBy": {
@@ -38,6 +38,9 @@
38
38
  "null"
39
39
  ]
40
40
  },
41
+ "techRecord_adrDetails_documentId": {
42
+ "type": "string"
43
+ },
41
44
  "techRecord_adrDetails_dangerousGoods": {
42
45
  "type": [
43
46
  "boolean",
@@ -107,14 +110,9 @@
107
110
  "maxLength": 1024
108
111
  },
109
112
  "createdAtDate": {
110
- "anyOf": [
111
- {
112
- "type": "string",
113
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
114
- },
115
- {
116
- "type": "null"
117
- }
113
+ "type": [
114
+ "string",
115
+ "null"
118
116
  ]
119
117
  },
120
118
  "lastUpdatedBy": {
@@ -88,6 +88,9 @@
88
88
  "string"
89
89
  ]
90
90
  },
91
+ "techRecord_adrDetails_documentId": {
92
+ "type": "string"
93
+ },
91
94
  "techRecord_adrDetails_dangerousGoods": {
92
95
  "type": [
93
96
  "boolean",
@@ -157,14 +160,9 @@
157
160
  "maxLength": 1024
158
161
  },
159
162
  "createdAtDate": {
160
- "anyOf": [
161
- {
162
- "type": "string",
163
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
164
- },
165
- {
166
- "type": "null"
167
- }
163
+ "type": [
164
+ "string",
165
+ "null"
168
166
  ]
169
167
  },
170
168
  "lastUpdatedBy": {
@@ -90,6 +90,9 @@
90
90
  "string"
91
91
  ]
92
92
  },
93
+ "techRecord_adrDetails_documentId": {
94
+ "type": "string"
95
+ },
93
96
  "techRecord_adrDetails_dangerousGoods": {
94
97
  "type": [
95
98
  "boolean",
@@ -159,14 +162,9 @@
159
162
  "maxLength": 1024
160
163
  },
161
164
  "createdAtDate": {
162
- "anyOf": [
163
- {
164
- "type": "string",
165
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
166
- },
167
- {
168
- "type": "null"
169
- }
165
+ "type": [
166
+ "string",
167
+ "null"
170
168
  ]
171
169
  },
172
170
  "lastUpdatedBy": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvsa/cvs-type-definitions",
3
- "version": "6.0.1",
3
+ "version": "6.2.0",
4
4
  "description": "type definitions for cvs vta and vtm applications",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -87,6 +87,7 @@ export interface TechRecordGETHGVComplete {
87
87
  createdTimestamp: string;
88
88
  partialVin: string;
89
89
  systemNumber: string;
90
+ techRecord_adrDetails_documentId?: string;
90
91
  techRecord_adrDetails_dangerousGoods?: boolean | null;
91
92
  techRecord_adrDetails_vehicleDetails_type?: string | null;
92
93
  techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
@@ -87,6 +87,7 @@ export interface TechRecordGETHGVSkeleton {
87
87
  createdTimestamp: string;
88
88
  partialVin: string;
89
89
  systemNumber: string;
90
+ techRecord_adrDetails_documentId?: string;
90
91
  techRecord_adrDetails_dangerousGoods?: boolean | null;
91
92
  techRecord_adrDetails_vehicleDetails_type?: string | null;
92
93
  techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
@@ -87,6 +87,7 @@ export interface TechRecordGETHGVTestable {
87
87
  createdTimestamp: string;
88
88
  partialVin: string;
89
89
  systemNumber: string;
90
+ techRecord_adrDetails_documentId?: string;
90
91
  techRecord_adrDetails_dangerousGoods?: boolean | null;
91
92
  techRecord_adrDetails_vehicleDetails_type?: string | null;
92
93
  techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
@@ -18,6 +18,7 @@ export interface TechRecordGETLGVComplete {
18
18
  techRecord_applicantDetails_postCode?: null | string;
19
19
  techRecord_applicantDetails_telephoneNumber?: null | string;
20
20
  techRecord_applicantDetails_emailAddress?: null | string;
21
+ techRecord_adrDetails_documentId?: string;
21
22
  techRecord_adrDetails_dangerousGoods?: boolean | null;
22
23
  techRecord_adrDetails_vehicleDetails_type?: string | null;
23
24
  techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
@@ -18,6 +18,7 @@ export interface TechRecordGETLGVSkeleton {
18
18
  techRecord_applicantDetails_postCode?: null | string;
19
19
  techRecord_applicantDetails_telephoneNumber?: null | string;
20
20
  techRecord_applicantDetails_emailAddress?: null | string;
21
+ techRecord_adrDetails_documentId?: string;
21
22
  techRecord_adrDetails_dangerousGoods?: boolean | null;
22
23
  techRecord_adrDetails_vehicleDetails_type?: string | null;
23
24
  techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
@@ -104,6 +104,7 @@ export interface TechRecordGETTRLComplete {
104
104
  createdTimestamp: string;
105
105
  partialVin: string;
106
106
  systemNumber: string;
107
+ techRecord_adrDetails_documentId?: string;
107
108
  techRecord_adrDetails_dangerousGoods?: boolean | null;
108
109
  techRecord_adrDetails_vehicleDetails_type?: string | null;
109
110
  techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
@@ -104,6 +104,7 @@ export interface TechRecordGETTRLSkeleton {
104
104
  createdTimestamp: string;
105
105
  partialVin: string;
106
106
  systemNumber: string;
107
+ techRecord_adrDetails_documentId?: string;
107
108
  techRecord_adrDetails_dangerousGoods?: boolean | null;
108
109
  techRecord_adrDetails_vehicleDetails_type?: string | null;
109
110
  techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
@@ -104,6 +104,7 @@ export interface TechRecordGETTRLTestable {
104
104
  createdTimestamp: string;
105
105
  partialVin: string;
106
106
  systemNumber: string;
107
+ techRecord_adrDetails_documentId?: string;
107
108
  techRecord_adrDetails_dangerousGoods?: boolean | null;
108
109
  techRecord_adrDetails_vehicleDetails_type?: string | null;
109
110
  techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
@@ -85,6 +85,7 @@ export type StatusCode = "provisional" | "current" | "archived";
85
85
  export interface TechRecordPUTHGVComplete {
86
86
  secondaryVrms?: string[];
87
87
  partialVin?: string | null;
88
+ techRecord_adrDetails_documentId?: string;
88
89
  techRecord_adrDetails_dangerousGoods?: boolean | null;
89
90
  techRecord_adrDetails_vehicleDetails_type?: string | null;
90
91
  techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
@@ -85,6 +85,7 @@ export type StatusCode = "provisional" | "current" | "archived";
85
85
  export interface TechRecordPUTHGVSkeleton {
86
86
  secondaryVrms?: string[];
87
87
  partialVin?: string | null;
88
+ techRecord_adrDetails_documentId?: string;
88
89
  techRecord_adrDetails_dangerousGoods?: boolean | null;
89
90
  techRecord_adrDetails_vehicleDetails_type?: string | null;
90
91
  techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
@@ -85,6 +85,7 @@ export type StatusCode = "provisional" | "current" | "archived";
85
85
  export interface TechRecordPUTHGVTestable {
86
86
  secondaryVrms?: string[];
87
87
  partialVin?: string | null;
88
+ techRecord_adrDetails_documentId?: string;
88
89
  techRecord_adrDetails_dangerousGoods?: boolean | null;
89
90
  techRecord_adrDetails_vehicleDetails_type?: string | null;
90
91
  techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
@@ -20,6 +20,7 @@ export interface TechRecordPUTLGVComplete {
20
20
  techRecord_applicantDetails_postCode?: null | string;
21
21
  techRecord_applicantDetails_telephoneNumber?: null | string;
22
22
  techRecord_applicantDetails_emailAddress?: null | string;
23
+ techRecord_adrDetails_documentId?: string;
23
24
  techRecord_adrDetails_dangerousGoods?: boolean | null;
24
25
  techRecord_adrDetails_vehicleDetails_type?: string | null;
25
26
  techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
@@ -20,6 +20,7 @@ export interface TechRecordPUTLGVSkeleton {
20
20
  techRecord_applicantDetails_postCode?: null | string;
21
21
  techRecord_applicantDetails_telephoneNumber?: null | string;
22
22
  techRecord_applicantDetails_emailAddress?: null | string;
23
+ techRecord_adrDetails_documentId?: string;
23
24
  techRecord_adrDetails_dangerousGoods?: boolean | null;
24
25
  techRecord_adrDetails_vehicleDetails_type?: string | null;
25
26
  techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
@@ -102,6 +102,7 @@ export type SpeedCategorySymbol =
102
102
 
103
103
  export interface TechRecordPUTTRLComplete {
104
104
  partialVin?: string | null;
105
+ techRecord_adrDetails_documentId?: string;
105
106
  techRecord_adrDetails_dangerousGoods?: boolean | null;
106
107
  techRecord_adrDetails_vehicleDetails_type?: string | null;
107
108
  techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
@@ -107,6 +107,7 @@ export interface TechRecordPUTTRLSkeleton {
107
107
  techRecord_ntaNumber?: null | string;
108
108
  techRecord_variantNumber?: null | string;
109
109
  techRecord_variantVersionNumber?: null | string;
110
+ techRecord_adrDetails_documentId?: string;
110
111
  techRecord_adrDetails_dangerousGoods?: boolean | null;
111
112
  techRecord_adrDetails_vehicleDetails_type?: string | null;
112
113
  techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
@@ -107,6 +107,7 @@ export interface TechRecordPUTTRLTestable {
107
107
  techRecord_ntaNumber?: null | string;
108
108
  techRecord_variantNumber?: null | string;
109
109
  techRecord_variantVersionNumber?: null | string;
110
+ techRecord_adrDetails_documentId?: string;
110
111
  techRecord_adrDetails_dangerousGoods?: boolean | null;
111
112
  techRecord_adrDetails_vehicleDetails_type?: string | null;
112
113
  techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;