@dvsa/cvs-type-definitions 7.2.0 → 7.4.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.
- package/json-schemas/v1/activity/index.json +4 -2
- package/json-schemas/v1/enums/testStationType.enum.json +4 -2
- package/json-schemas/v1/test/index.json +46 -2
- package/json-schemas/v1/test-result/index.json +25 -2
- package/json-schemas/v1/test-type/index.json +21 -0
- package/json-schemas/v1/vehicle/index.json +46 -2
- package/json-schemas/v1/visit/index.json +46 -2
- package/package.json +1 -1
- package/types/v1/activity/index.d.ts +2 -1
- package/types/v1/enums/testStationType.enum.d.ts +2 -1
- package/types/v1/enums/testStationType.enum.js +1 -0
- package/types/v1/enums/testStationType.enum.ts +2 -1
- package/types/v1/test/index.d.ts +7 -1
- package/types/v1/test-result/index.d.ts +7 -1
- package/types/v1/test-type/index.d.ts +5 -0
- package/types/v1/vehicle/index.d.ts +7 -1
- package/types/v1/visit/index.d.ts +7 -1
|
@@ -710,13 +710,15 @@
|
|
|
710
710
|
"ATF",
|
|
711
711
|
"GVTS",
|
|
712
712
|
"HQ",
|
|
713
|
-
"POTF"
|
|
713
|
+
"POTF",
|
|
714
|
+
"VEF"
|
|
714
715
|
],
|
|
715
716
|
"enum": [
|
|
716
717
|
"atf",
|
|
717
718
|
"gvts",
|
|
718
719
|
"hq",
|
|
719
|
-
"potf"
|
|
720
|
+
"potf",
|
|
721
|
+
"vef"
|
|
720
722
|
]
|
|
721
723
|
}
|
|
722
724
|
]
|
|
@@ -1585,6 +1587,27 @@
|
|
|
1585
1587
|
"string",
|
|
1586
1588
|
"null"
|
|
1587
1589
|
]
|
|
1590
|
+
},
|
|
1591
|
+
"centralDocs": {
|
|
1592
|
+
"properties": {
|
|
1593
|
+
"issueRequired": {
|
|
1594
|
+
"type": "boolean"
|
|
1595
|
+
},
|
|
1596
|
+
"notes": {
|
|
1597
|
+
"type": "string"
|
|
1598
|
+
},
|
|
1599
|
+
"reasonsForIssue": {
|
|
1600
|
+
"type": "array",
|
|
1601
|
+
"items": {
|
|
1602
|
+
"type": "string"
|
|
1603
|
+
}
|
|
1604
|
+
}
|
|
1605
|
+
},
|
|
1606
|
+
"additionalProperties": false,
|
|
1607
|
+
"required": [
|
|
1608
|
+
"issueRequired",
|
|
1609
|
+
"reasonsForIssue"
|
|
1610
|
+
]
|
|
1588
1611
|
}
|
|
1589
1612
|
},
|
|
1590
1613
|
"required": [
|
|
@@ -2411,6 +2434,27 @@
|
|
|
2411
2434
|
"string",
|
|
2412
2435
|
"null"
|
|
2413
2436
|
]
|
|
2437
|
+
},
|
|
2438
|
+
"centralDocs": {
|
|
2439
|
+
"properties": {
|
|
2440
|
+
"issueRequired": {
|
|
2441
|
+
"type": "boolean"
|
|
2442
|
+
},
|
|
2443
|
+
"notes": {
|
|
2444
|
+
"type": "string"
|
|
2445
|
+
},
|
|
2446
|
+
"reasonsForIssue": {
|
|
2447
|
+
"type": "array",
|
|
2448
|
+
"items": {
|
|
2449
|
+
"type": "string"
|
|
2450
|
+
}
|
|
2451
|
+
}
|
|
2452
|
+
},
|
|
2453
|
+
"additionalProperties": false,
|
|
2454
|
+
"required": [
|
|
2455
|
+
"issueRequired",
|
|
2456
|
+
"reasonsForIssue"
|
|
2457
|
+
]
|
|
2414
2458
|
}
|
|
2415
2459
|
},
|
|
2416
2460
|
"required": [
|
|
@@ -28,13 +28,15 @@
|
|
|
28
28
|
"ATF",
|
|
29
29
|
"GVTS",
|
|
30
30
|
"HQ",
|
|
31
|
-
"POTF"
|
|
31
|
+
"POTF",
|
|
32
|
+
"VEF"
|
|
32
33
|
],
|
|
33
34
|
"enum": [
|
|
34
35
|
"atf",
|
|
35
36
|
"gvts",
|
|
36
37
|
"hq",
|
|
37
|
-
"potf"
|
|
38
|
+
"potf",
|
|
39
|
+
"vef"
|
|
38
40
|
]
|
|
39
41
|
}
|
|
40
42
|
]
|
|
@@ -903,6 +905,27 @@
|
|
|
903
905
|
"string",
|
|
904
906
|
"null"
|
|
905
907
|
]
|
|
908
|
+
},
|
|
909
|
+
"centralDocs": {
|
|
910
|
+
"properties": {
|
|
911
|
+
"issueRequired": {
|
|
912
|
+
"type": "boolean"
|
|
913
|
+
},
|
|
914
|
+
"notes": {
|
|
915
|
+
"type": "string"
|
|
916
|
+
},
|
|
917
|
+
"reasonsForIssue": {
|
|
918
|
+
"type": "array",
|
|
919
|
+
"items": {
|
|
920
|
+
"type": "string"
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
},
|
|
924
|
+
"additionalProperties": false,
|
|
925
|
+
"required": [
|
|
926
|
+
"issueRequired",
|
|
927
|
+
"reasonsForIssue"
|
|
928
|
+
]
|
|
906
929
|
}
|
|
907
930
|
},
|
|
908
931
|
"required": [
|
|
@@ -639,6 +639,27 @@
|
|
|
639
639
|
"string",
|
|
640
640
|
"null"
|
|
641
641
|
]
|
|
642
|
+
},
|
|
643
|
+
"centralDocs": {
|
|
644
|
+
"properties": {
|
|
645
|
+
"issueRequired": {
|
|
646
|
+
"type": "boolean"
|
|
647
|
+
},
|
|
648
|
+
"notes": {
|
|
649
|
+
"type": "string"
|
|
650
|
+
},
|
|
651
|
+
"reasonsForIssue": {
|
|
652
|
+
"type": "array",
|
|
653
|
+
"items": {
|
|
654
|
+
"type": "string"
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
},
|
|
658
|
+
"additionalProperties": false,
|
|
659
|
+
"required": [
|
|
660
|
+
"issueRequired",
|
|
661
|
+
"reasonsForIssue"
|
|
662
|
+
]
|
|
642
663
|
}
|
|
643
664
|
},
|
|
644
665
|
"required": [
|
|
@@ -682,13 +682,15 @@
|
|
|
682
682
|
"ATF",
|
|
683
683
|
"GVTS",
|
|
684
684
|
"HQ",
|
|
685
|
-
"POTF"
|
|
685
|
+
"POTF",
|
|
686
|
+
"VEF"
|
|
686
687
|
],
|
|
687
688
|
"enum": [
|
|
688
689
|
"atf",
|
|
689
690
|
"gvts",
|
|
690
691
|
"hq",
|
|
691
|
-
"potf"
|
|
692
|
+
"potf",
|
|
693
|
+
"vef"
|
|
692
694
|
]
|
|
693
695
|
}
|
|
694
696
|
]
|
|
@@ -1557,6 +1559,27 @@
|
|
|
1557
1559
|
"string",
|
|
1558
1560
|
"null"
|
|
1559
1561
|
]
|
|
1562
|
+
},
|
|
1563
|
+
"centralDocs": {
|
|
1564
|
+
"properties": {
|
|
1565
|
+
"issueRequired": {
|
|
1566
|
+
"type": "boolean"
|
|
1567
|
+
},
|
|
1568
|
+
"notes": {
|
|
1569
|
+
"type": "string"
|
|
1570
|
+
},
|
|
1571
|
+
"reasonsForIssue": {
|
|
1572
|
+
"type": "array",
|
|
1573
|
+
"items": {
|
|
1574
|
+
"type": "string"
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
},
|
|
1578
|
+
"additionalProperties": false,
|
|
1579
|
+
"required": [
|
|
1580
|
+
"issueRequired",
|
|
1581
|
+
"reasonsForIssue"
|
|
1582
|
+
]
|
|
1560
1583
|
}
|
|
1561
1584
|
},
|
|
1562
1585
|
"required": [
|
|
@@ -2383,6 +2406,27 @@
|
|
|
2383
2406
|
"string",
|
|
2384
2407
|
"null"
|
|
2385
2408
|
]
|
|
2409
|
+
},
|
|
2410
|
+
"centralDocs": {
|
|
2411
|
+
"properties": {
|
|
2412
|
+
"issueRequired": {
|
|
2413
|
+
"type": "boolean"
|
|
2414
|
+
},
|
|
2415
|
+
"notes": {
|
|
2416
|
+
"type": "string"
|
|
2417
|
+
},
|
|
2418
|
+
"reasonsForIssue": {
|
|
2419
|
+
"type": "array",
|
|
2420
|
+
"items": {
|
|
2421
|
+
"type": "string"
|
|
2422
|
+
}
|
|
2423
|
+
}
|
|
2424
|
+
},
|
|
2425
|
+
"additionalProperties": false,
|
|
2426
|
+
"required": [
|
|
2427
|
+
"issueRequired",
|
|
2428
|
+
"reasonsForIssue"
|
|
2429
|
+
]
|
|
2386
2430
|
}
|
|
2387
2431
|
},
|
|
2388
2432
|
"required": [
|
|
@@ -743,13 +743,15 @@
|
|
|
743
743
|
"ATF",
|
|
744
744
|
"GVTS",
|
|
745
745
|
"HQ",
|
|
746
|
-
"POTF"
|
|
746
|
+
"POTF",
|
|
747
|
+
"VEF"
|
|
747
748
|
],
|
|
748
749
|
"enum": [
|
|
749
750
|
"atf",
|
|
750
751
|
"gvts",
|
|
751
752
|
"hq",
|
|
752
|
-
"potf"
|
|
753
|
+
"potf",
|
|
754
|
+
"vef"
|
|
753
755
|
]
|
|
754
756
|
}
|
|
755
757
|
]
|
|
@@ -1618,6 +1620,27 @@
|
|
|
1618
1620
|
"string",
|
|
1619
1621
|
"null"
|
|
1620
1622
|
]
|
|
1623
|
+
},
|
|
1624
|
+
"centralDocs": {
|
|
1625
|
+
"properties": {
|
|
1626
|
+
"issueRequired": {
|
|
1627
|
+
"type": "boolean"
|
|
1628
|
+
},
|
|
1629
|
+
"notes": {
|
|
1630
|
+
"type": "string"
|
|
1631
|
+
},
|
|
1632
|
+
"reasonsForIssue": {
|
|
1633
|
+
"type": "array",
|
|
1634
|
+
"items": {
|
|
1635
|
+
"type": "string"
|
|
1636
|
+
}
|
|
1637
|
+
}
|
|
1638
|
+
},
|
|
1639
|
+
"additionalProperties": false,
|
|
1640
|
+
"required": [
|
|
1641
|
+
"issueRequired",
|
|
1642
|
+
"reasonsForIssue"
|
|
1643
|
+
]
|
|
1621
1644
|
}
|
|
1622
1645
|
},
|
|
1623
1646
|
"required": [
|
|
@@ -2444,6 +2467,27 @@
|
|
|
2444
2467
|
"string",
|
|
2445
2468
|
"null"
|
|
2446
2469
|
]
|
|
2470
|
+
},
|
|
2471
|
+
"centralDocs": {
|
|
2472
|
+
"properties": {
|
|
2473
|
+
"issueRequired": {
|
|
2474
|
+
"type": "boolean"
|
|
2475
|
+
},
|
|
2476
|
+
"notes": {
|
|
2477
|
+
"type": "string"
|
|
2478
|
+
},
|
|
2479
|
+
"reasonsForIssue": {
|
|
2480
|
+
"type": "array",
|
|
2481
|
+
"items": {
|
|
2482
|
+
"type": "string"
|
|
2483
|
+
}
|
|
2484
|
+
}
|
|
2485
|
+
},
|
|
2486
|
+
"additionalProperties": false,
|
|
2487
|
+
"required": [
|
|
2488
|
+
"issueRequired",
|
|
2489
|
+
"reasonsForIssue"
|
|
2490
|
+
]
|
|
2447
2491
|
}
|
|
2448
2492
|
},
|
|
2449
2493
|
"required": [
|
package/package.json
CHANGED
package/types/v1/test/index.d.ts
CHANGED
|
@@ -337,6 +337,11 @@ export interface TestTypeSchema {
|
|
|
337
337
|
| null;
|
|
338
338
|
testTypeClassification?: string | null;
|
|
339
339
|
deletionFlag?: string | null;
|
|
340
|
+
centralDocs?: {
|
|
341
|
+
issueRequired: boolean;
|
|
342
|
+
notes?: string;
|
|
343
|
+
reasonsForIssue: string[];
|
|
344
|
+
};
|
|
340
345
|
}
|
|
341
346
|
export interface ModTypeSchema {
|
|
342
347
|
code: string;
|
|
@@ -417,7 +422,8 @@ export enum TestStationTypes {
|
|
|
417
422
|
ATF = "atf",
|
|
418
423
|
GVTS = "gvts",
|
|
419
424
|
HQ = "hq",
|
|
420
|
-
POTF = "potf"
|
|
425
|
+
POTF = "potf",
|
|
426
|
+
VEF = "vef"
|
|
421
427
|
}
|
|
422
428
|
export enum TestStatus {
|
|
423
429
|
SUBMITTED = "submitted",
|
|
@@ -120,6 +120,11 @@ export interface TestTypeSchema {
|
|
|
120
120
|
| null;
|
|
121
121
|
testTypeClassification?: string | null;
|
|
122
122
|
deletionFlag?: string | null;
|
|
123
|
+
centralDocs?: {
|
|
124
|
+
issueRequired: boolean;
|
|
125
|
+
notes?: string;
|
|
126
|
+
reasonsForIssue: string[];
|
|
127
|
+
};
|
|
123
128
|
}
|
|
124
129
|
export interface ModTypeSchema {
|
|
125
130
|
code: string;
|
|
@@ -200,7 +205,8 @@ export enum TestStationTypes {
|
|
|
200
205
|
ATF = "atf",
|
|
201
206
|
GVTS = "gvts",
|
|
202
207
|
HQ = "hq",
|
|
203
|
-
POTF = "potf"
|
|
208
|
+
POTF = "potf",
|
|
209
|
+
VEF = "vef"
|
|
204
210
|
}
|
|
205
211
|
export enum TestStatus {
|
|
206
212
|
SUBMITTED = "submitted",
|
|
@@ -64,6 +64,11 @@ export interface TestTypeSchema {
|
|
|
64
64
|
| null;
|
|
65
65
|
testTypeClassification?: string | null;
|
|
66
66
|
deletionFlag?: string | null;
|
|
67
|
+
centralDocs?: {
|
|
68
|
+
issueRequired: boolean;
|
|
69
|
+
notes?: string;
|
|
70
|
+
reasonsForIssue: string[];
|
|
71
|
+
};
|
|
67
72
|
}
|
|
68
73
|
export interface ModTypeSchema {
|
|
69
74
|
code: string;
|
|
@@ -329,6 +329,11 @@ export interface TestTypeSchema {
|
|
|
329
329
|
| null;
|
|
330
330
|
testTypeClassification?: string | null;
|
|
331
331
|
deletionFlag?: string | null;
|
|
332
|
+
centralDocs?: {
|
|
333
|
+
issueRequired: boolean;
|
|
334
|
+
notes?: string;
|
|
335
|
+
reasonsForIssue: string[];
|
|
336
|
+
};
|
|
332
337
|
}
|
|
333
338
|
export interface ModTypeSchema {
|
|
334
339
|
code: string;
|
|
@@ -409,7 +414,8 @@ export enum TestStationTypes {
|
|
|
409
414
|
ATF = "atf",
|
|
410
415
|
GVTS = "gvts",
|
|
411
416
|
HQ = "hq",
|
|
412
|
-
POTF = "potf"
|
|
417
|
+
POTF = "potf",
|
|
418
|
+
VEF = "vef"
|
|
413
419
|
}
|
|
414
420
|
export enum TestStatus {
|
|
415
421
|
SUBMITTED = "submitted",
|
|
@@ -350,6 +350,11 @@ export interface TestTypeSchema {
|
|
|
350
350
|
| null;
|
|
351
351
|
testTypeClassification?: string | null;
|
|
352
352
|
deletionFlag?: string | null;
|
|
353
|
+
centralDocs?: {
|
|
354
|
+
issueRequired: boolean;
|
|
355
|
+
notes?: string;
|
|
356
|
+
reasonsForIssue: string[];
|
|
357
|
+
};
|
|
353
358
|
}
|
|
354
359
|
export interface ModTypeSchema {
|
|
355
360
|
code: string;
|
|
@@ -430,7 +435,8 @@ export enum TestStationTypes {
|
|
|
430
435
|
ATF = "atf",
|
|
431
436
|
GVTS = "gvts",
|
|
432
437
|
HQ = "hq",
|
|
433
|
-
POTF = "potf"
|
|
438
|
+
POTF = "potf",
|
|
439
|
+
VEF = "vef"
|
|
434
440
|
}
|
|
435
441
|
export enum TestStatus {
|
|
436
442
|
SUBMITTED = "submitted",
|