@dvsa/cvs-type-definitions 7.1.0 → 7.3.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.
@@ -1553,6 +1553,59 @@
1553
1553
  "string",
1554
1554
  "null"
1555
1555
  ]
1556
+ },
1557
+ "testCode": {
1558
+ "type": [
1559
+ "string",
1560
+ "null"
1561
+ ]
1562
+ },
1563
+ "lastUpdatedAt": {
1564
+ "type": [
1565
+ "string",
1566
+ "date",
1567
+ "null"
1568
+ ]
1569
+ },
1570
+ "createdAt": {
1571
+ "type": [
1572
+ "string",
1573
+ "date",
1574
+ "null"
1575
+ ]
1576
+ },
1577
+ "testTypeClassification": {
1578
+ "type": [
1579
+ "string",
1580
+ "null"
1581
+ ]
1582
+ },
1583
+ "deletionFlag": {
1584
+ "type": [
1585
+ "string",
1586
+ "null"
1587
+ ]
1588
+ },
1589
+ "centralDocs": {
1590
+ "properties": {
1591
+ "issueRequired": {
1592
+ "type": "boolean"
1593
+ },
1594
+ "notes": {
1595
+ "type": "string"
1596
+ },
1597
+ "reasonsForIssue": {
1598
+ "type": "array",
1599
+ "items": {
1600
+ "type": "string"
1601
+ }
1602
+ }
1603
+ },
1604
+ "additionalProperties": false,
1605
+ "required": [
1606
+ "issueRequired",
1607
+ "reasonsForIssue"
1608
+ ]
1556
1609
  }
1557
1610
  },
1558
1611
  "required": [
@@ -1682,6 +1735,12 @@
1682
1735
  }
1683
1736
  },
1684
1737
  "additionalProperties": false
1738
+ },
1739
+ "vehicleId": {
1740
+ "type": [
1741
+ "string",
1742
+ "null"
1743
+ ]
1685
1744
  }
1686
1745
  },
1687
1746
  "additionalProperties": false,
@@ -2341,6 +2400,59 @@
2341
2400
  "string",
2342
2401
  "null"
2343
2402
  ]
2403
+ },
2404
+ "testCode": {
2405
+ "type": [
2406
+ "string",
2407
+ "null"
2408
+ ]
2409
+ },
2410
+ "lastUpdatedAt": {
2411
+ "type": [
2412
+ "string",
2413
+ "date",
2414
+ "null"
2415
+ ]
2416
+ },
2417
+ "createdAt": {
2418
+ "type": [
2419
+ "string",
2420
+ "date",
2421
+ "null"
2422
+ ]
2423
+ },
2424
+ "testTypeClassification": {
2425
+ "type": [
2426
+ "string",
2427
+ "null"
2428
+ ]
2429
+ },
2430
+ "deletionFlag": {
2431
+ "type": [
2432
+ "string",
2433
+ "null"
2434
+ ]
2435
+ },
2436
+ "centralDocs": {
2437
+ "properties": {
2438
+ "issueRequired": {
2439
+ "type": "boolean"
2440
+ },
2441
+ "notes": {
2442
+ "type": "string"
2443
+ },
2444
+ "reasonsForIssue": {
2445
+ "type": "array",
2446
+ "items": {
2447
+ "type": "string"
2448
+ }
2449
+ }
2450
+ },
2451
+ "additionalProperties": false,
2452
+ "required": [
2453
+ "issueRequired",
2454
+ "reasonsForIssue"
2455
+ ]
2344
2456
  }
2345
2457
  },
2346
2458
  "required": [
@@ -871,6 +871,59 @@
871
871
  "string",
872
872
  "null"
873
873
  ]
874
+ },
875
+ "testCode": {
876
+ "type": [
877
+ "string",
878
+ "null"
879
+ ]
880
+ },
881
+ "lastUpdatedAt": {
882
+ "type": [
883
+ "string",
884
+ "date",
885
+ "null"
886
+ ]
887
+ },
888
+ "createdAt": {
889
+ "type": [
890
+ "string",
891
+ "date",
892
+ "null"
893
+ ]
894
+ },
895
+ "testTypeClassification": {
896
+ "type": [
897
+ "string",
898
+ "null"
899
+ ]
900
+ },
901
+ "deletionFlag": {
902
+ "type": [
903
+ "string",
904
+ "null"
905
+ ]
906
+ },
907
+ "centralDocs": {
908
+ "properties": {
909
+ "issueRequired": {
910
+ "type": "boolean"
911
+ },
912
+ "notes": {
913
+ "type": "string"
914
+ },
915
+ "reasonsForIssue": {
916
+ "type": "array",
917
+ "items": {
918
+ "type": "string"
919
+ }
920
+ }
921
+ },
922
+ "additionalProperties": false,
923
+ "required": [
924
+ "issueRequired",
925
+ "reasonsForIssue"
926
+ ]
874
927
  }
875
928
  },
876
929
  "required": [
@@ -1000,6 +1053,12 @@
1000
1053
  }
1001
1054
  },
1002
1055
  "additionalProperties": false
1056
+ },
1057
+ "vehicleId": {
1058
+ "type": [
1059
+ "string",
1060
+ "null"
1061
+ ]
1003
1062
  }
1004
1063
  },
1005
1064
  "additionalProperties": false,
@@ -607,6 +607,59 @@
607
607
  "string",
608
608
  "null"
609
609
  ]
610
+ },
611
+ "testCode": {
612
+ "type": [
613
+ "string",
614
+ "null"
615
+ ]
616
+ },
617
+ "lastUpdatedAt": {
618
+ "type": [
619
+ "string",
620
+ "date",
621
+ "null"
622
+ ]
623
+ },
624
+ "createdAt": {
625
+ "type": [
626
+ "string",
627
+ "date",
628
+ "null"
629
+ ]
630
+ },
631
+ "testTypeClassification": {
632
+ "type": [
633
+ "string",
634
+ "null"
635
+ ]
636
+ },
637
+ "deletionFlag": {
638
+ "type": [
639
+ "string",
640
+ "null"
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
+ ]
610
663
  }
611
664
  },
612
665
  "required": [
@@ -1525,6 +1525,59 @@
1525
1525
  "string",
1526
1526
  "null"
1527
1527
  ]
1528
+ },
1529
+ "testCode": {
1530
+ "type": [
1531
+ "string",
1532
+ "null"
1533
+ ]
1534
+ },
1535
+ "lastUpdatedAt": {
1536
+ "type": [
1537
+ "string",
1538
+ "date",
1539
+ "null"
1540
+ ]
1541
+ },
1542
+ "createdAt": {
1543
+ "type": [
1544
+ "string",
1545
+ "date",
1546
+ "null"
1547
+ ]
1548
+ },
1549
+ "testTypeClassification": {
1550
+ "type": [
1551
+ "string",
1552
+ "null"
1553
+ ]
1554
+ },
1555
+ "deletionFlag": {
1556
+ "type": [
1557
+ "string",
1558
+ "null"
1559
+ ]
1560
+ },
1561
+ "centralDocs": {
1562
+ "properties": {
1563
+ "issueRequired": {
1564
+ "type": "boolean"
1565
+ },
1566
+ "notes": {
1567
+ "type": "string"
1568
+ },
1569
+ "reasonsForIssue": {
1570
+ "type": "array",
1571
+ "items": {
1572
+ "type": "string"
1573
+ }
1574
+ }
1575
+ },
1576
+ "additionalProperties": false,
1577
+ "required": [
1578
+ "issueRequired",
1579
+ "reasonsForIssue"
1580
+ ]
1528
1581
  }
1529
1582
  },
1530
1583
  "required": [
@@ -1654,6 +1707,12 @@
1654
1707
  }
1655
1708
  },
1656
1709
  "additionalProperties": false
1710
+ },
1711
+ "vehicleId": {
1712
+ "type": [
1713
+ "string",
1714
+ "null"
1715
+ ]
1657
1716
  }
1658
1717
  },
1659
1718
  "additionalProperties": false,
@@ -2313,6 +2372,59 @@
2313
2372
  "string",
2314
2373
  "null"
2315
2374
  ]
2375
+ },
2376
+ "testCode": {
2377
+ "type": [
2378
+ "string",
2379
+ "null"
2380
+ ]
2381
+ },
2382
+ "lastUpdatedAt": {
2383
+ "type": [
2384
+ "string",
2385
+ "date",
2386
+ "null"
2387
+ ]
2388
+ },
2389
+ "createdAt": {
2390
+ "type": [
2391
+ "string",
2392
+ "date",
2393
+ "null"
2394
+ ]
2395
+ },
2396
+ "testTypeClassification": {
2397
+ "type": [
2398
+ "string",
2399
+ "null"
2400
+ ]
2401
+ },
2402
+ "deletionFlag": {
2403
+ "type": [
2404
+ "string",
2405
+ "null"
2406
+ ]
2407
+ },
2408
+ "centralDocs": {
2409
+ "properties": {
2410
+ "issueRequired": {
2411
+ "type": "boolean"
2412
+ },
2413
+ "notes": {
2414
+ "type": "string"
2415
+ },
2416
+ "reasonsForIssue": {
2417
+ "type": "array",
2418
+ "items": {
2419
+ "type": "string"
2420
+ }
2421
+ }
2422
+ },
2423
+ "additionalProperties": false,
2424
+ "required": [
2425
+ "issueRequired",
2426
+ "reasonsForIssue"
2427
+ ]
2316
2428
  }
2317
2429
  },
2318
2430
  "required": [
@@ -1586,6 +1586,59 @@
1586
1586
  "string",
1587
1587
  "null"
1588
1588
  ]
1589
+ },
1590
+ "testCode": {
1591
+ "type": [
1592
+ "string",
1593
+ "null"
1594
+ ]
1595
+ },
1596
+ "lastUpdatedAt": {
1597
+ "type": [
1598
+ "string",
1599
+ "date",
1600
+ "null"
1601
+ ]
1602
+ },
1603
+ "createdAt": {
1604
+ "type": [
1605
+ "string",
1606
+ "date",
1607
+ "null"
1608
+ ]
1609
+ },
1610
+ "testTypeClassification": {
1611
+ "type": [
1612
+ "string",
1613
+ "null"
1614
+ ]
1615
+ },
1616
+ "deletionFlag": {
1617
+ "type": [
1618
+ "string",
1619
+ "null"
1620
+ ]
1621
+ },
1622
+ "centralDocs": {
1623
+ "properties": {
1624
+ "issueRequired": {
1625
+ "type": "boolean"
1626
+ },
1627
+ "notes": {
1628
+ "type": "string"
1629
+ },
1630
+ "reasonsForIssue": {
1631
+ "type": "array",
1632
+ "items": {
1633
+ "type": "string"
1634
+ }
1635
+ }
1636
+ },
1637
+ "additionalProperties": false,
1638
+ "required": [
1639
+ "issueRequired",
1640
+ "reasonsForIssue"
1641
+ ]
1589
1642
  }
1590
1643
  },
1591
1644
  "required": [
@@ -1715,6 +1768,12 @@
1715
1768
  }
1716
1769
  },
1717
1770
  "additionalProperties": false
1771
+ },
1772
+ "vehicleId": {
1773
+ "type": [
1774
+ "string",
1775
+ "null"
1776
+ ]
1718
1777
  }
1719
1778
  },
1720
1779
  "additionalProperties": false,
@@ -2374,6 +2433,59 @@
2374
2433
  "string",
2375
2434
  "null"
2376
2435
  ]
2436
+ },
2437
+ "testCode": {
2438
+ "type": [
2439
+ "string",
2440
+ "null"
2441
+ ]
2442
+ },
2443
+ "lastUpdatedAt": {
2444
+ "type": [
2445
+ "string",
2446
+ "date",
2447
+ "null"
2448
+ ]
2449
+ },
2450
+ "createdAt": {
2451
+ "type": [
2452
+ "string",
2453
+ "date",
2454
+ "null"
2455
+ ]
2456
+ },
2457
+ "testTypeClassification": {
2458
+ "type": [
2459
+ "string",
2460
+ "null"
2461
+ ]
2462
+ },
2463
+ "deletionFlag": {
2464
+ "type": [
2465
+ "string",
2466
+ "null"
2467
+ ]
2468
+ },
2469
+ "centralDocs": {
2470
+ "properties": {
2471
+ "issueRequired": {
2472
+ "type": "boolean"
2473
+ },
2474
+ "notes": {
2475
+ "type": "string"
2476
+ },
2477
+ "reasonsForIssue": {
2478
+ "type": "array",
2479
+ "items": {
2480
+ "type": "string"
2481
+ }
2482
+ }
2483
+ },
2484
+ "additionalProperties": false,
2485
+ "required": [
2486
+ "issueRequired",
2487
+ "reasonsForIssue"
2488
+ ]
2377
2489
  }
2378
2490
  },
2379
2491
  "required": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvsa/cvs-type-definitions",
3
- "version": "7.1.0",
3
+ "version": "7.3.0",
4
4
  "description": "type definitions for cvs vta and vtm applications",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -278,6 +278,7 @@ export interface TestResultSchema {
278
278
  make?: string | null;
279
279
  model?: string | null;
280
280
  bodyType?: BodyTypeSchema;
281
+ vehicleId?: string | null;
281
282
  }
282
283
  export interface TestTypeSchema {
283
284
  testTypeName: string | null;
@@ -321,6 +322,26 @@ export interface TestTypeSchema {
321
322
  requiredStandards?: SpecialistCustomDefectsSchemaPut[];
322
323
  testNumber?: string | null;
323
324
  reapplicationDate?: string | null;
325
+ testCode?: string | null;
326
+ lastUpdatedAt?:
327
+ | string
328
+ | {
329
+ [k: string]: unknown;
330
+ }
331
+ | null;
332
+ createdAt?:
333
+ | string
334
+ | {
335
+ [k: string]: unknown;
336
+ }
337
+ | null;
338
+ testTypeClassification?: string | null;
339
+ deletionFlag?: string | null;
340
+ centralDocs?: {
341
+ issueRequired: boolean;
342
+ notes?: string;
343
+ reasonsForIssue: string[];
344
+ };
324
345
  }
325
346
  export interface ModTypeSchema {
326
347
  code: string;
@@ -57,6 +57,7 @@ export interface TestResultSchema {
57
57
  make?: string | null;
58
58
  model?: string | null;
59
59
  bodyType?: BodyTypeSchema;
60
+ vehicleId?: string | null;
60
61
  }
61
62
  export interface VehicleClassSchema {
62
63
  code: string;
@@ -104,6 +105,26 @@ export interface TestTypeSchema {
104
105
  requiredStandards?: SpecialistCustomDefectsSchemaPut[];
105
106
  testNumber?: string | null;
106
107
  reapplicationDate?: string | null;
108
+ testCode?: string | null;
109
+ lastUpdatedAt?:
110
+ | string
111
+ | {
112
+ [k: string]: unknown;
113
+ }
114
+ | null;
115
+ createdAt?:
116
+ | string
117
+ | {
118
+ [k: string]: unknown;
119
+ }
120
+ | null;
121
+ testTypeClassification?: string | null;
122
+ deletionFlag?: string | null;
123
+ centralDocs?: {
124
+ issueRequired: boolean;
125
+ notes?: string;
126
+ reasonsForIssue: string[];
127
+ };
107
128
  }
108
129
  export interface ModTypeSchema {
109
130
  code: string;
@@ -49,6 +49,26 @@ export interface TestTypeSchema {
49
49
  requiredStandards?: SpecialistCustomDefectsSchemaPut[];
50
50
  testNumber?: string | null;
51
51
  reapplicationDate?: string | null;
52
+ testCode?: string | null;
53
+ lastUpdatedAt?:
54
+ | string
55
+ | {
56
+ [k: string]: unknown;
57
+ }
58
+ | null;
59
+ createdAt?:
60
+ | string
61
+ | {
62
+ [k: string]: unknown;
63
+ }
64
+ | null;
65
+ testTypeClassification?: string | null;
66
+ deletionFlag?: string | null;
67
+ centralDocs?: {
68
+ issueRequired: boolean;
69
+ notes?: string;
70
+ reasonsForIssue: string[];
71
+ };
52
72
  }
53
73
  export interface ModTypeSchema {
54
74
  code: string;
@@ -270,6 +270,7 @@ export interface TestResultSchema {
270
270
  make?: string | null;
271
271
  model?: string | null;
272
272
  bodyType?: BodyTypeSchema;
273
+ vehicleId?: string | null;
273
274
  }
274
275
  export interface TestTypeSchema {
275
276
  testTypeName: string | null;
@@ -313,6 +314,26 @@ export interface TestTypeSchema {
313
314
  requiredStandards?: SpecialistCustomDefectsSchemaPut[];
314
315
  testNumber?: string | null;
315
316
  reapplicationDate?: string | null;
317
+ testCode?: string | null;
318
+ lastUpdatedAt?:
319
+ | string
320
+ | {
321
+ [k: string]: unknown;
322
+ }
323
+ | null;
324
+ createdAt?:
325
+ | string
326
+ | {
327
+ [k: string]: unknown;
328
+ }
329
+ | null;
330
+ testTypeClassification?: string | null;
331
+ deletionFlag?: string | null;
332
+ centralDocs?: {
333
+ issueRequired: boolean;
334
+ notes?: string;
335
+ reasonsForIssue: string[];
336
+ };
316
337
  }
317
338
  export interface ModTypeSchema {
318
339
  code: string;
@@ -291,6 +291,7 @@ export interface TestResultSchema {
291
291
  make?: string | null;
292
292
  model?: string | null;
293
293
  bodyType?: BodyTypeSchema;
294
+ vehicleId?: string | null;
294
295
  }
295
296
  export interface TestTypeSchema {
296
297
  testTypeName: string | null;
@@ -334,6 +335,26 @@ export interface TestTypeSchema {
334
335
  requiredStandards?: SpecialistCustomDefectsSchemaPut[];
335
336
  testNumber?: string | null;
336
337
  reapplicationDate?: string | null;
338
+ testCode?: string | null;
339
+ lastUpdatedAt?:
340
+ | string
341
+ | {
342
+ [k: string]: unknown;
343
+ }
344
+ | null;
345
+ createdAt?:
346
+ | string
347
+ | {
348
+ [k: string]: unknown;
349
+ }
350
+ | null;
351
+ testTypeClassification?: string | null;
352
+ deletionFlag?: string | null;
353
+ centralDocs?: {
354
+ issueRequired: boolean;
355
+ notes?: string;
356
+ reasonsForIssue: string[];
357
+ };
337
358
  }
338
359
  export interface ModTypeSchema {
339
360
  code: string;