@dvsa/cvs-type-definitions 2.1.13 → 2.1.15

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.
@@ -53,6 +53,12 @@
53
53
  "techRecord_applicantDetails_postTown"
54
54
  ],
55
55
  "properties": {
56
+ "secondaryVrms": {
57
+ "type": "array",
58
+ "items": {
59
+ "type": "string"
60
+ }
61
+ },
56
62
  "createdTimestamp": {
57
63
  "type": "string"
58
64
  },
@@ -17,6 +17,12 @@
17
17
  "vin"
18
18
  ],
19
19
  "properties": {
20
+ "secondaryVrms": {
21
+ "type": "array",
22
+ "items": {
23
+ "type": "string"
24
+ }
25
+ },
20
26
  "createdTimestamp": {
21
27
  "type": "string"
22
28
  },
@@ -21,6 +21,12 @@
21
21
  "techRecord_numberOfWheelsDriven"
22
22
  ],
23
23
  "properties": {
24
+ "secondaryVrms": {
25
+ "type": "array",
26
+ "items": {
27
+ "type": "string"
28
+ }
29
+ },
24
30
  "createdTimestamp": {
25
31
  "type": "string"
26
32
  },
@@ -9,6 +9,12 @@
9
9
  "vin"
10
10
  ],
11
11
  "properties": {
12
+ "secondaryVrms": {
13
+ "type": "array",
14
+ "items": {
15
+ "type": "string"
16
+ }
17
+ },
12
18
  "techRecord_applicantDetails_name": {
13
19
  "type": [
14
20
  "string",
@@ -1,5 +1,5 @@
1
1
  {
2
- "title": "Tech Record Skeleton Car Schema",
2
+ "title": "Tech Record Skeleton Motorcycle Schema",
3
3
  "type": "object",
4
4
  "additionalProperties": false,
5
5
  "properties": {
@@ -46,6 +46,12 @@
46
46
  "techRecord_applicantDetails_postTown"
47
47
  ],
48
48
  "properties": {
49
+ "secondaryVrms": {
50
+ "type": "array",
51
+ "items": {
52
+ "type": "string"
53
+ }
54
+ },
49
55
  "partialVin": {
50
56
  "type": [
51
57
  "string",
@@ -10,6 +10,12 @@
10
10
  "vin"
11
11
  ],
12
12
  "properties": {
13
+ "secondaryVrms": {
14
+ "type": "array",
15
+ "items": {
16
+ "type": "string"
17
+ }
18
+ },
13
19
  "partialVin": {
14
20
  "type": [
15
21
  "string",
@@ -14,6 +14,12 @@
14
14
  "techRecord_numberOfWheelsDriven"
15
15
  ],
16
16
  "properties": {
17
+ "secondaryVrms": {
18
+ "type": "array",
19
+ "items": {
20
+ "type": "string"
21
+ }
22
+ },
17
23
  "partialVin": {
18
24
  "type": [
19
25
  "string",
@@ -19,6 +19,62 @@
19
19
  "null"
20
20
  ]
21
21
  },
22
+ "techRecord_applicantDetails_name": {
23
+ "type": [
24
+ "string",
25
+ "null"
26
+ ],
27
+ "maxLength": 150
28
+ },
29
+ "techRecord_applicantDetails_address1": {
30
+ "type": [
31
+ "null",
32
+ "string"
33
+ ],
34
+ "maxLength": 60
35
+ },
36
+ "techRecord_applicantDetails_address2": {
37
+ "type": [
38
+ "null",
39
+ "string"
40
+ ],
41
+ "maxLength": 60
42
+ },
43
+ "techRecord_applicantDetails_postTown": {
44
+ "type": [
45
+ "null",
46
+ "string"
47
+ ],
48
+ "maxLength": 60
49
+ },
50
+ "techRecord_applicantDetails_address3": {
51
+ "type": [
52
+ "null",
53
+ "string"
54
+ ],
55
+ "maxLength": 60
56
+ },
57
+ "techRecord_applicantDetails_postCode": {
58
+ "type": [
59
+ "null",
60
+ "string"
61
+ ],
62
+ "maxLength": 12
63
+ },
64
+ "techRecord_applicantDetails_telephoneNumber": {
65
+ "type": [
66
+ "null",
67
+ "string"
68
+ ],
69
+ "maxLength": 25
70
+ },
71
+ "techRecord_applicantDetails_emailAddress": {
72
+ "type": [
73
+ "null",
74
+ "string"
75
+ ],
76
+ "maxLength": 255
77
+ },
22
78
  "techRecord_reasonForCreation": {
23
79
  "type": [
24
80
  "string",
@@ -19,6 +19,62 @@
19
19
  "null"
20
20
  ]
21
21
  },
22
+ "techRecord_applicantDetails_name": {
23
+ "type": [
24
+ "string",
25
+ "null"
26
+ ],
27
+ "maxLength": 150
28
+ },
29
+ "techRecord_applicantDetails_address1": {
30
+ "type": [
31
+ "null",
32
+ "string"
33
+ ],
34
+ "maxLength": 60
35
+ },
36
+ "techRecord_applicantDetails_address2": {
37
+ "type": [
38
+ "null",
39
+ "string"
40
+ ],
41
+ "maxLength": 60
42
+ },
43
+ "techRecord_applicantDetails_postTown": {
44
+ "type": [
45
+ "null",
46
+ "string"
47
+ ],
48
+ "maxLength": 60
49
+ },
50
+ "techRecord_applicantDetails_address3": {
51
+ "type": [
52
+ "null",
53
+ "string"
54
+ ],
55
+ "maxLength": 60
56
+ },
57
+ "techRecord_applicantDetails_postCode": {
58
+ "type": [
59
+ "null",
60
+ "string"
61
+ ],
62
+ "maxLength": 12
63
+ },
64
+ "techRecord_applicantDetails_telephoneNumber": {
65
+ "type": [
66
+ "null",
67
+ "string"
68
+ ],
69
+ "maxLength": 25
70
+ },
71
+ "techRecord_applicantDetails_emailAddress": {
72
+ "type": [
73
+ "null",
74
+ "string"
75
+ ],
76
+ "maxLength": 255
77
+ },
22
78
  "techRecord_reasonForCreation": {
23
79
  "type": [
24
80
  "string",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvsa/cvs-type-definitions",
3
- "version": "2.1.13",
3
+ "version": "2.1.15",
4
4
  "description": "type definitions for cvs vta application",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -143,6 +143,7 @@ export type ApprovalType =
143
143
  | "IVA - DVSA/NI";
144
144
 
145
145
  export interface GETHGVTechnicalRecordV3Complete {
146
+ secondaryVrms?: string[];
146
147
  createdTimestamp: string;
147
148
  partialVin: string;
148
149
  systemNumber: string;
@@ -143,6 +143,7 @@ export type ApprovalType =
143
143
  | "IVA - DVSA/NI";
144
144
 
145
145
  export interface GETHGVTechnicalRecordV3Skeleton {
146
+ secondaryVrms?: string[];
146
147
  createdTimestamp: string;
147
148
  partialVin: string;
148
149
  systemNumber: string;
@@ -143,6 +143,7 @@ export type ApprovalType =
143
143
  | "IVA - DVSA/NI";
144
144
 
145
145
  export interface GETHGVTechnicalRecordV3Testable {
146
+ secondaryVrms?: string[];
146
147
  createdTimestamp: string;
147
148
  partialVin: string;
148
149
  systemNumber: string;
@@ -42,6 +42,7 @@ export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
42
42
  export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
43
43
 
44
44
  export interface TechRecordCompleteMotorcycleSchema {
45
+ secondaryVrms?: string[];
45
46
  techRecord_applicantDetails_name?: string | null;
46
47
  techRecord_applicantDetails_address1?: null | string;
47
48
  techRecord_applicantDetails_address2?: null | string;
@@ -40,7 +40,7 @@ export type VehicleConfiguration =
40
40
  | "full drawbar";
41
41
  export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
42
42
 
43
- export interface TechRecordSkeletonCarSchema {
43
+ export interface TechRecordSkeletonMotorcycleSchema {
44
44
  techRecord_applicantDetails_name?: string | null;
45
45
  techRecord_applicantDetails_address1?: null | string;
46
46
  techRecord_applicantDetails_address2?: null | string;
@@ -143,6 +143,7 @@ export type ApprovalType =
143
143
  | "IVA - DVSA/NI";
144
144
 
145
145
  export interface PUTHGVTechnicalRecordV3Complete {
146
+ secondaryVrms?: string[];
146
147
  partialVin?: string | null;
147
148
  techRecord_createdAt?: string;
148
149
  techRecord_createdById?: string;
@@ -143,6 +143,7 @@ export type ApprovalType =
143
143
  | "IVA - DVSA/NI";
144
144
 
145
145
  export interface PUTHGVTechnicalRecordV3Skeleton {
146
+ secondaryVrms?: string[];
146
147
  partialVin?: string | null;
147
148
  techRecord_createdAt?: string;
148
149
  techRecord_createdById?: string;
@@ -143,6 +143,7 @@ export type ApprovalType =
143
143
  | "IVA - DVSA/NI";
144
144
 
145
145
  export interface PUTHGVTechnicalRecordV3Testable {
146
+ secondaryVrms?: string[];
146
147
  partialVin?: string | null;
147
148
  techRecord_createdAt?: string;
148
149
  techRecord_createdById?: string;
@@ -13,6 +13,14 @@ export interface TechRecordCompleteLGVSchema {
13
13
  vin: string;
14
14
  primaryVrm?: string;
15
15
  trailerId?: string | null;
16
+ techRecord_applicantDetails_name?: string | null;
17
+ techRecord_applicantDetails_address1?: null | string;
18
+ techRecord_applicantDetails_address2?: null | string;
19
+ techRecord_applicantDetails_postTown?: null | string;
20
+ techRecord_applicantDetails_address3?: null | string;
21
+ techRecord_applicantDetails_postCode?: null | string;
22
+ techRecord_applicantDetails_telephoneNumber?: null | string;
23
+ techRecord_applicantDetails_emailAddress?: null | string;
16
24
  techRecord_reasonForCreation?: string | null;
17
25
  techRecord_vehicleType?: VehicleType;
18
26
  techRecord_statusCode?: StatusCode;
@@ -12,6 +12,14 @@ export interface TechRecordCompleteCarSchema {
12
12
  vin: string;
13
13
  primaryVrm?: string;
14
14
  trailerId?: string | null;
15
+ techRecord_applicantDetails_name?: string | null;
16
+ techRecord_applicantDetails_address1?: null | string;
17
+ techRecord_applicantDetails_address2?: null | string;
18
+ techRecord_applicantDetails_postTown?: null | string;
19
+ techRecord_applicantDetails_address3?: null | string;
20
+ techRecord_applicantDetails_postCode?: null | string;
21
+ techRecord_applicantDetails_telephoneNumber?: null | string;
22
+ techRecord_applicantDetails_emailAddress?: null | string;
15
23
  techRecord_reasonForCreation?: string | null;
16
24
  techRecord_vehicleType: VehicleType;
17
25
  techRecord_statusCode?: StatusCode;