@dvsa/cvs-type-definitions 7.1.0 → 7.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.
- package/json-schemas/v1/test/index.json +70 -0
- package/json-schemas/v1/test-result/index.json +38 -0
- package/json-schemas/v1/test-type/index.json +32 -0
- package/json-schemas/v1/vehicle/index.json +70 -0
- package/json-schemas/v1/visit/index.json +70 -0
- package/package.json +1 -1
- package/types/v1/test/index.d.ts +16 -0
- package/types/v1/test-result/index.d.ts +16 -0
- package/types/v1/test-type/index.d.ts +15 -0
- package/types/v1/vehicle/index.d.ts +16 -0
- package/types/v1/visit/index.d.ts +16 -0
|
@@ -1553,6 +1553,38 @@
|
|
|
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
|
+
]
|
|
1556
1588
|
}
|
|
1557
1589
|
},
|
|
1558
1590
|
"required": [
|
|
@@ -1682,6 +1714,12 @@
|
|
|
1682
1714
|
}
|
|
1683
1715
|
},
|
|
1684
1716
|
"additionalProperties": false
|
|
1717
|
+
},
|
|
1718
|
+
"vehicleId": {
|
|
1719
|
+
"type": [
|
|
1720
|
+
"string",
|
|
1721
|
+
"null"
|
|
1722
|
+
]
|
|
1685
1723
|
}
|
|
1686
1724
|
},
|
|
1687
1725
|
"additionalProperties": false,
|
|
@@ -2341,6 +2379,38 @@
|
|
|
2341
2379
|
"string",
|
|
2342
2380
|
"null"
|
|
2343
2381
|
]
|
|
2382
|
+
},
|
|
2383
|
+
"testCode": {
|
|
2384
|
+
"type": [
|
|
2385
|
+
"string",
|
|
2386
|
+
"null"
|
|
2387
|
+
]
|
|
2388
|
+
},
|
|
2389
|
+
"lastUpdatedAt": {
|
|
2390
|
+
"type": [
|
|
2391
|
+
"string",
|
|
2392
|
+
"date",
|
|
2393
|
+
"null"
|
|
2394
|
+
]
|
|
2395
|
+
},
|
|
2396
|
+
"createdAt": {
|
|
2397
|
+
"type": [
|
|
2398
|
+
"string",
|
|
2399
|
+
"date",
|
|
2400
|
+
"null"
|
|
2401
|
+
]
|
|
2402
|
+
},
|
|
2403
|
+
"testTypeClassification": {
|
|
2404
|
+
"type": [
|
|
2405
|
+
"string",
|
|
2406
|
+
"null"
|
|
2407
|
+
]
|
|
2408
|
+
},
|
|
2409
|
+
"deletionFlag": {
|
|
2410
|
+
"type": [
|
|
2411
|
+
"string",
|
|
2412
|
+
"null"
|
|
2413
|
+
]
|
|
2344
2414
|
}
|
|
2345
2415
|
},
|
|
2346
2416
|
"required": [
|
|
@@ -871,6 +871,38 @@
|
|
|
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
|
+
]
|
|
874
906
|
}
|
|
875
907
|
},
|
|
876
908
|
"required": [
|
|
@@ -1000,6 +1032,12 @@
|
|
|
1000
1032
|
}
|
|
1001
1033
|
},
|
|
1002
1034
|
"additionalProperties": false
|
|
1035
|
+
},
|
|
1036
|
+
"vehicleId": {
|
|
1037
|
+
"type": [
|
|
1038
|
+
"string",
|
|
1039
|
+
"null"
|
|
1040
|
+
]
|
|
1003
1041
|
}
|
|
1004
1042
|
},
|
|
1005
1043
|
"additionalProperties": false,
|
|
@@ -607,6 +607,38 @@
|
|
|
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
|
+
]
|
|
610
642
|
}
|
|
611
643
|
},
|
|
612
644
|
"required": [
|
|
@@ -1525,6 +1525,38 @@
|
|
|
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
|
+
]
|
|
1528
1560
|
}
|
|
1529
1561
|
},
|
|
1530
1562
|
"required": [
|
|
@@ -1654,6 +1686,12 @@
|
|
|
1654
1686
|
}
|
|
1655
1687
|
},
|
|
1656
1688
|
"additionalProperties": false
|
|
1689
|
+
},
|
|
1690
|
+
"vehicleId": {
|
|
1691
|
+
"type": [
|
|
1692
|
+
"string",
|
|
1693
|
+
"null"
|
|
1694
|
+
]
|
|
1657
1695
|
}
|
|
1658
1696
|
},
|
|
1659
1697
|
"additionalProperties": false,
|
|
@@ -2313,6 +2351,38 @@
|
|
|
2313
2351
|
"string",
|
|
2314
2352
|
"null"
|
|
2315
2353
|
]
|
|
2354
|
+
},
|
|
2355
|
+
"testCode": {
|
|
2356
|
+
"type": [
|
|
2357
|
+
"string",
|
|
2358
|
+
"null"
|
|
2359
|
+
]
|
|
2360
|
+
},
|
|
2361
|
+
"lastUpdatedAt": {
|
|
2362
|
+
"type": [
|
|
2363
|
+
"string",
|
|
2364
|
+
"date",
|
|
2365
|
+
"null"
|
|
2366
|
+
]
|
|
2367
|
+
},
|
|
2368
|
+
"createdAt": {
|
|
2369
|
+
"type": [
|
|
2370
|
+
"string",
|
|
2371
|
+
"date",
|
|
2372
|
+
"null"
|
|
2373
|
+
]
|
|
2374
|
+
},
|
|
2375
|
+
"testTypeClassification": {
|
|
2376
|
+
"type": [
|
|
2377
|
+
"string",
|
|
2378
|
+
"null"
|
|
2379
|
+
]
|
|
2380
|
+
},
|
|
2381
|
+
"deletionFlag": {
|
|
2382
|
+
"type": [
|
|
2383
|
+
"string",
|
|
2384
|
+
"null"
|
|
2385
|
+
]
|
|
2316
2386
|
}
|
|
2317
2387
|
},
|
|
2318
2388
|
"required": [
|
|
@@ -1586,6 +1586,38 @@
|
|
|
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
|
+
]
|
|
1589
1621
|
}
|
|
1590
1622
|
},
|
|
1591
1623
|
"required": [
|
|
@@ -1715,6 +1747,12 @@
|
|
|
1715
1747
|
}
|
|
1716
1748
|
},
|
|
1717
1749
|
"additionalProperties": false
|
|
1750
|
+
},
|
|
1751
|
+
"vehicleId": {
|
|
1752
|
+
"type": [
|
|
1753
|
+
"string",
|
|
1754
|
+
"null"
|
|
1755
|
+
]
|
|
1718
1756
|
}
|
|
1719
1757
|
},
|
|
1720
1758
|
"additionalProperties": false,
|
|
@@ -2374,6 +2412,38 @@
|
|
|
2374
2412
|
"string",
|
|
2375
2413
|
"null"
|
|
2376
2414
|
]
|
|
2415
|
+
},
|
|
2416
|
+
"testCode": {
|
|
2417
|
+
"type": [
|
|
2418
|
+
"string",
|
|
2419
|
+
"null"
|
|
2420
|
+
]
|
|
2421
|
+
},
|
|
2422
|
+
"lastUpdatedAt": {
|
|
2423
|
+
"type": [
|
|
2424
|
+
"string",
|
|
2425
|
+
"date",
|
|
2426
|
+
"null"
|
|
2427
|
+
]
|
|
2428
|
+
},
|
|
2429
|
+
"createdAt": {
|
|
2430
|
+
"type": [
|
|
2431
|
+
"string",
|
|
2432
|
+
"date",
|
|
2433
|
+
"null"
|
|
2434
|
+
]
|
|
2435
|
+
},
|
|
2436
|
+
"testTypeClassification": {
|
|
2437
|
+
"type": [
|
|
2438
|
+
"string",
|
|
2439
|
+
"null"
|
|
2440
|
+
]
|
|
2441
|
+
},
|
|
2442
|
+
"deletionFlag": {
|
|
2443
|
+
"type": [
|
|
2444
|
+
"string",
|
|
2445
|
+
"null"
|
|
2446
|
+
]
|
|
2377
2447
|
}
|
|
2378
2448
|
},
|
|
2379
2449
|
"required": [
|
package/package.json
CHANGED
package/types/v1/test/index.d.ts
CHANGED
|
@@ -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,21 @@ 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;
|
|
324
340
|
}
|
|
325
341
|
export interface ModTypeSchema {
|
|
326
342
|
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,21 @@ 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;
|
|
107
123
|
}
|
|
108
124
|
export interface ModTypeSchema {
|
|
109
125
|
code: string;
|
|
@@ -49,6 +49,21 @@ 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;
|
|
52
67
|
}
|
|
53
68
|
export interface ModTypeSchema {
|
|
54
69
|
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,21 @@ 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;
|
|
316
332
|
}
|
|
317
333
|
export interface ModTypeSchema {
|
|
318
334
|
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,21 @@ 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;
|
|
337
353
|
}
|
|
338
354
|
export interface ModTypeSchema {
|
|
339
355
|
code: string;
|