@deeptrekker/api-domain 1.0.15 → 1.0.16
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/dist/constants/schema/schema.json +297 -60
- package/dist/constants/versions/index.d.ts +1 -1
- package/dist/constants/versions/index.js +1 -1
- package/dist/types/devices/peripherals/index.d.ts +67 -0
- package/dist/types/devices/vehicles/pivot/index.d.ts +6 -1
- package/dist/types/devices/vehicles/revolution/index.d.ts +6 -1
- package/dist/utils/index.js +1 -0
- package/package.json +1 -1
|
@@ -113,7 +113,9 @@
|
|
|
113
113
|
"$ref": "#/definitions/DeviceVersion"
|
|
114
114
|
}
|
|
115
115
|
},
|
|
116
|
-
"required": [
|
|
116
|
+
"required": [
|
|
117
|
+
"model"
|
|
118
|
+
],
|
|
117
119
|
"type": "object"
|
|
118
120
|
},
|
|
119
121
|
"A150CameraHead": {
|
|
@@ -178,7 +180,9 @@
|
|
|
178
180
|
"$ref": "#/definitions/DeviceVersion"
|
|
179
181
|
}
|
|
180
182
|
},
|
|
181
|
-
"required": [
|
|
183
|
+
"required": [
|
|
184
|
+
"model"
|
|
185
|
+
],
|
|
182
186
|
"type": "object"
|
|
183
187
|
},
|
|
184
188
|
"A200": {
|
|
@@ -293,7 +297,9 @@
|
|
|
293
297
|
"$ref": "#/definitions/DeviceVersion"
|
|
294
298
|
}
|
|
295
299
|
},
|
|
296
|
-
"required": [
|
|
300
|
+
"required": [
|
|
301
|
+
"model"
|
|
302
|
+
],
|
|
297
303
|
"type": "object"
|
|
298
304
|
},
|
|
299
305
|
"A200CameraHead": {
|
|
@@ -366,7 +372,9 @@
|
|
|
366
372
|
"$ref": "#/definitions/DeviceVersion"
|
|
367
373
|
}
|
|
368
374
|
},
|
|
369
|
-
"required": [
|
|
375
|
+
"required": [
|
|
376
|
+
"model"
|
|
377
|
+
],
|
|
370
378
|
"type": "object"
|
|
371
379
|
},
|
|
372
380
|
"AutoSnapshot": {
|
|
@@ -638,12 +646,22 @@
|
|
|
638
646
|
"$ref": "#/definitions/DeviceVersion"
|
|
639
647
|
}
|
|
640
648
|
},
|
|
641
|
-
"required": [
|
|
649
|
+
"required": [
|
|
650
|
+
"model"
|
|
651
|
+
],
|
|
642
652
|
"type": "object"
|
|
643
653
|
},
|
|
644
654
|
"CalibrationStates": {
|
|
645
655
|
"description": "Calibration states for the sensor pod.",
|
|
646
|
-
"enum": [
|
|
656
|
+
"enum": [
|
|
657
|
+
0,
|
|
658
|
+
1,
|
|
659
|
+
2,
|
|
660
|
+
3,
|
|
661
|
+
4,
|
|
662
|
+
5,
|
|
663
|
+
6
|
|
664
|
+
],
|
|
647
665
|
"type": "number"
|
|
648
666
|
},
|
|
649
667
|
"Camera": {
|
|
@@ -658,7 +676,14 @@
|
|
|
658
676
|
"type": "string"
|
|
659
677
|
},
|
|
660
678
|
"model": {
|
|
661
|
-
"enum": [
|
|
679
|
+
"enum": [
|
|
680
|
+
240,
|
|
681
|
+
5,
|
|
682
|
+
206,
|
|
683
|
+
243,
|
|
684
|
+
241,
|
|
685
|
+
207
|
|
686
|
+
],
|
|
662
687
|
"type": "number"
|
|
663
688
|
},
|
|
664
689
|
"osd": {
|
|
@@ -680,22 +705,33 @@
|
|
|
680
705
|
"$ref": "#/definitions/DeviceVersion"
|
|
681
706
|
}
|
|
682
707
|
},
|
|
683
|
-
"required": [
|
|
708
|
+
"required": [
|
|
709
|
+
"model"
|
|
710
|
+
],
|
|
684
711
|
"type": "object"
|
|
685
712
|
},
|
|
686
713
|
"CameraHeadOrientation": {
|
|
687
714
|
"description": "Camera head orientation config\n\nThe orientation in which the camera head is physically assembled",
|
|
688
|
-
"enum": [
|
|
715
|
+
"enum": [
|
|
716
|
+
"HORIZONTAL",
|
|
717
|
+
"VERTICAL"
|
|
718
|
+
],
|
|
689
719
|
"type": "string"
|
|
690
720
|
},
|
|
691
721
|
"CameraHeadSensorType": {
|
|
692
722
|
"description": "Camera head sensor type",
|
|
693
|
-
"enum": [
|
|
723
|
+
"enum": [
|
|
724
|
+
"IMU",
|
|
725
|
+
"HALL_EFFECT"
|
|
726
|
+
],
|
|
694
727
|
"type": "string"
|
|
695
728
|
},
|
|
696
729
|
"CameraType": {
|
|
697
730
|
"description": "Camera type enums",
|
|
698
|
-
"enum": [
|
|
731
|
+
"enum": [
|
|
732
|
+
"MAIN",
|
|
733
|
+
"AUX"
|
|
734
|
+
],
|
|
699
735
|
"type": "string"
|
|
700
736
|
},
|
|
701
737
|
"Cameras": {
|
|
@@ -763,7 +799,11 @@
|
|
|
763
799
|
},
|
|
764
800
|
"CrawlerDriveMode": {
|
|
765
801
|
"description": "Drive Modes",
|
|
766
|
-
"enum": [
|
|
802
|
+
"enum": [
|
|
803
|
+
"NORMAL",
|
|
804
|
+
"RETRIEVAL_ASSIST",
|
|
805
|
+
"RETRIEVAL_CRUISE"
|
|
806
|
+
],
|
|
767
807
|
"type": "string"
|
|
768
808
|
},
|
|
769
809
|
"CygnusType": {
|
|
@@ -850,7 +890,9 @@
|
|
|
850
890
|
"$ref": "#/definitions/DeviceVersion"
|
|
851
891
|
}
|
|
852
892
|
},
|
|
853
|
-
"required": [
|
|
893
|
+
"required": [
|
|
894
|
+
"model"
|
|
895
|
+
],
|
|
854
896
|
"type": "object"
|
|
855
897
|
},
|
|
856
898
|
"DT645Drive": {
|
|
@@ -929,7 +971,9 @@
|
|
|
929
971
|
"description": "White Balance Settings for adjusting the white balance of the camera."
|
|
930
972
|
}
|
|
931
973
|
},
|
|
932
|
-
"required": [
|
|
974
|
+
"required": [
|
|
975
|
+
"model"
|
|
976
|
+
],
|
|
933
977
|
"type": "object"
|
|
934
978
|
},
|
|
935
979
|
"DVL": {
|
|
@@ -952,7 +996,9 @@
|
|
|
952
996
|
"$ref": "#/definitions/DeviceVersion"
|
|
953
997
|
}
|
|
954
998
|
},
|
|
955
|
-
"required": [
|
|
999
|
+
"required": [
|
|
1000
|
+
"model"
|
|
1001
|
+
],
|
|
956
1002
|
"type": "object"
|
|
957
1003
|
},
|
|
958
1004
|
"DateTime": {
|
|
@@ -1004,7 +1050,10 @@
|
|
|
1004
1050
|
202,
|
|
1005
1051
|
245
|
|
1006
1052
|
],
|
|
1007
|
-
"type": [
|
|
1053
|
+
"type": [
|
|
1054
|
+
"number",
|
|
1055
|
+
"string"
|
|
1056
|
+
]
|
|
1008
1057
|
},
|
|
1009
1058
|
"DeviceVersion": {
|
|
1010
1059
|
"additionalProperties": false,
|
|
@@ -1125,7 +1174,15 @@
|
|
|
1125
1174
|
},
|
|
1126
1175
|
"ErrorCode": {
|
|
1127
1176
|
"description": "Error Codes",
|
|
1128
|
-
"enum": [
|
|
1177
|
+
"enum": [
|
|
1178
|
+
400,
|
|
1179
|
+
401,
|
|
1180
|
+
403,
|
|
1181
|
+
405,
|
|
1182
|
+
500,
|
|
1183
|
+
503,
|
|
1184
|
+
519
|
|
1185
|
+
],
|
|
1129
1186
|
"type": "number"
|
|
1130
1187
|
},
|
|
1131
1188
|
"ExposureSettings": {
|
|
@@ -1217,7 +1274,15 @@
|
|
|
1217
1274
|
},
|
|
1218
1275
|
"GpsFixState": {
|
|
1219
1276
|
"description": "Enumerates the possible GPS FIX states.",
|
|
1220
|
-
"enum": [
|
|
1277
|
+
"enum": [
|
|
1278
|
+
0,
|
|
1279
|
+
1,
|
|
1280
|
+
2,
|
|
1281
|
+
3,
|
|
1282
|
+
4,
|
|
1283
|
+
5,
|
|
1284
|
+
6
|
|
1285
|
+
],
|
|
1221
1286
|
"type": "number"
|
|
1222
1287
|
},
|
|
1223
1288
|
"GpsStatus": {
|
|
@@ -1303,7 +1368,9 @@
|
|
|
1303
1368
|
"type": "boolean"
|
|
1304
1369
|
}
|
|
1305
1370
|
},
|
|
1306
|
-
"required": [
|
|
1371
|
+
"required": [
|
|
1372
|
+
"enabled"
|
|
1373
|
+
],
|
|
1307
1374
|
"type": "object"
|
|
1308
1375
|
},
|
|
1309
1376
|
"Light": {
|
|
@@ -1317,7 +1384,9 @@
|
|
|
1317
1384
|
"type": "number"
|
|
1318
1385
|
}
|
|
1319
1386
|
},
|
|
1320
|
-
"required": [
|
|
1387
|
+
"required": [
|
|
1388
|
+
"intensity"
|
|
1389
|
+
],
|
|
1321
1390
|
"type": "object"
|
|
1322
1391
|
},
|
|
1323
1392
|
"LocalPosition": {
|
|
@@ -1342,7 +1411,11 @@
|
|
|
1342
1411
|
},
|
|
1343
1412
|
"LocationConsumerType": {
|
|
1344
1413
|
"description": "Enumerates the possible consumers of a location provider.",
|
|
1345
|
-
"enum": [
|
|
1414
|
+
"enum": [
|
|
1415
|
+
0,
|
|
1416
|
+
1,
|
|
1417
|
+
2
|
|
1418
|
+
],
|
|
1346
1419
|
"type": "number"
|
|
1347
1420
|
},
|
|
1348
1421
|
"LocationForwarderConfig": {
|
|
@@ -1424,7 +1497,9 @@
|
|
|
1424
1497
|
"$ref": "#/definitions/DeviceVersion"
|
|
1425
1498
|
}
|
|
1426
1499
|
},
|
|
1427
|
-
"required": [
|
|
1500
|
+
"required": [
|
|
1501
|
+
"model"
|
|
1502
|
+
],
|
|
1428
1503
|
"type": "object"
|
|
1429
1504
|
},
|
|
1430
1505
|
"MotorDiagnostics": {
|
|
@@ -1517,7 +1592,10 @@
|
|
|
1517
1592
|
},
|
|
1518
1593
|
"NetworkRole": {
|
|
1519
1594
|
"description": "Network Diagnostics Physical Location enum",
|
|
1520
|
-
"enum": [
|
|
1595
|
+
"enum": [
|
|
1596
|
+
"CCO",
|
|
1597
|
+
"STA"
|
|
1598
|
+
],
|
|
1521
1599
|
"type": "string"
|
|
1522
1600
|
},
|
|
1523
1601
|
"OcleaCam": {
|
|
@@ -1590,7 +1668,9 @@
|
|
|
1590
1668
|
"description": "White Balance"
|
|
1591
1669
|
}
|
|
1592
1670
|
},
|
|
1593
|
-
"required": [
|
|
1671
|
+
"required": [
|
|
1672
|
+
"model"
|
|
1673
|
+
],
|
|
1594
1674
|
"type": "object"
|
|
1595
1675
|
},
|
|
1596
1676
|
"OcleaDptz": {
|
|
@@ -1617,7 +1697,9 @@
|
|
|
1617
1697
|
"type": "object"
|
|
1618
1698
|
}
|
|
1619
1699
|
},
|
|
1620
|
-
"required": [
|
|
1700
|
+
"required": [
|
|
1701
|
+
"direction"
|
|
1702
|
+
],
|
|
1621
1703
|
"type": "object"
|
|
1622
1704
|
},
|
|
1623
1705
|
"roi": {
|
|
@@ -1658,12 +1740,23 @@
|
|
|
1658
1740
|
},
|
|
1659
1741
|
"OcleaVersion": {
|
|
1660
1742
|
"description": "Oclea Sensor version",
|
|
1661
|
-
"enum": [
|
|
1743
|
+
"enum": [
|
|
1744
|
+
"4K UHD v274",
|
|
1745
|
+
"4K UHD v415",
|
|
1746
|
+
"4K UHD v678",
|
|
1747
|
+
"Zoom v3010"
|
|
1748
|
+
],
|
|
1662
1749
|
"type": "string"
|
|
1663
1750
|
},
|
|
1664
1751
|
"OfflineUpdateState": {
|
|
1665
1752
|
"description": "Offline Update State",
|
|
1666
|
-
"enum": [
|
|
1753
|
+
"enum": [
|
|
1754
|
+
0,
|
|
1755
|
+
1,
|
|
1756
|
+
2,
|
|
1757
|
+
3,
|
|
1758
|
+
4
|
|
1759
|
+
],
|
|
1667
1760
|
"type": "number"
|
|
1668
1761
|
},
|
|
1669
1762
|
"Onyx": {
|
|
@@ -1844,7 +1937,9 @@
|
|
|
1844
1937
|
"type": "number"
|
|
1845
1938
|
}
|
|
1846
1939
|
},
|
|
1847
|
-
"required": [
|
|
1940
|
+
"required": [
|
|
1941
|
+
"model"
|
|
1942
|
+
],
|
|
1848
1943
|
"type": "object"
|
|
1849
1944
|
},
|
|
1850
1945
|
"Osd": {
|
|
@@ -2037,12 +2132,17 @@
|
|
|
2037
2132
|
"type": "number"
|
|
2038
2133
|
}
|
|
2039
2134
|
},
|
|
2040
|
-
"required": [
|
|
2135
|
+
"required": [
|
|
2136
|
+
"model"
|
|
2137
|
+
],
|
|
2041
2138
|
"type": "object"
|
|
2042
2139
|
},
|
|
2043
2140
|
"PhysicalLocation": {
|
|
2044
2141
|
"description": "Network Diagnostics Physical Location enum",
|
|
2045
|
-
"enum": [
|
|
2142
|
+
"enum": [
|
|
2143
|
+
"LOC",
|
|
2144
|
+
"REM"
|
|
2145
|
+
],
|
|
2046
2146
|
"type": "string"
|
|
2047
2147
|
},
|
|
2048
2148
|
"Pivot": {
|
|
@@ -2164,6 +2264,10 @@
|
|
|
2164
2264
|
"$ref": "#/definitions/Position",
|
|
2165
2265
|
"description": "ROV Position"
|
|
2166
2266
|
},
|
|
2267
|
+
"powerTool": {
|
|
2268
|
+
"$ref": "#/definitions/PowerTool",
|
|
2269
|
+
"description": "Power Tool"
|
|
2270
|
+
},
|
|
2167
2271
|
"rearLeftMotorDiagnostics": {
|
|
2168
2272
|
"$ref": "#/definitions/MotorDiagnostics",
|
|
2169
2273
|
"description": "Motor Diagnostics"
|
|
@@ -2225,7 +2329,9 @@
|
|
|
2225
2329
|
"type": "number"
|
|
2226
2330
|
}
|
|
2227
2331
|
},
|
|
2228
|
-
"required": [
|
|
2332
|
+
"required": [
|
|
2333
|
+
"model"
|
|
2334
|
+
],
|
|
2229
2335
|
"type": "object"
|
|
2230
2336
|
},
|
|
2231
2337
|
"Position": {
|
|
@@ -2274,9 +2380,41 @@
|
|
|
2274
2380
|
},
|
|
2275
2381
|
"PositionSources": {
|
|
2276
2382
|
"description": "Enumerates the possible vehicle location provider sources available to the Web App.",
|
|
2277
|
-
"enum": [
|
|
2383
|
+
"enum": [
|
|
2384
|
+
"NONE",
|
|
2385
|
+
"SEATRAC_USBL",
|
|
2386
|
+
"EXTERNAL_GPS",
|
|
2387
|
+
"STATIC"
|
|
2388
|
+
],
|
|
2278
2389
|
"type": "string"
|
|
2279
2390
|
},
|
|
2391
|
+
"PowerTool": {
|
|
2392
|
+
"additionalProperties": false,
|
|
2393
|
+
"description": "Power Tool Generation 3 power tool that rotates and spins.",
|
|
2394
|
+
"properties": {
|
|
2395
|
+
"authorized": {
|
|
2396
|
+
"description": "Flag to gain authorization to operate the power tool. This is an added layer of security since power tool can cause harm to humans and components.\n\nAuthorization is requested by setting this flag to true. \n\nIf the power tool is not used for over 60 seconds, the user looses Authorization and must request it again.",
|
|
2397
|
+
"type": "boolean"
|
|
2398
|
+
},
|
|
2399
|
+
"enabled": {
|
|
2400
|
+
"description": "Flag to enable to disable the power tool control\n\nPowertool is only controllable when this is TRUE AND when authorization is TRUE (see authorization property below)",
|
|
2401
|
+
"type": "boolean"
|
|
2402
|
+
},
|
|
2403
|
+
"rotate": {
|
|
2404
|
+
"description": "Rotation motor",
|
|
2405
|
+
"maximum": 100,
|
|
2406
|
+
"minimum": -100,
|
|
2407
|
+
"type": "number"
|
|
2408
|
+
},
|
|
2409
|
+
"spin": {
|
|
2410
|
+
"description": "Spin Motor",
|
|
2411
|
+
"maximum": 100,
|
|
2412
|
+
"minimum": -100,
|
|
2413
|
+
"type": "number"
|
|
2414
|
+
}
|
|
2415
|
+
},
|
|
2416
|
+
"type": "object"
|
|
2417
|
+
},
|
|
2280
2418
|
"PoweredReel": {
|
|
2281
2419
|
"additionalProperties": false,
|
|
2282
2420
|
"description": "Powered Reel",
|
|
@@ -2382,11 +2520,17 @@
|
|
|
2382
2520
|
"$ref": "#/definitions/DeviceVersion"
|
|
2383
2521
|
}
|
|
2384
2522
|
},
|
|
2385
|
-
"required": [
|
|
2523
|
+
"required": [
|
|
2524
|
+
"model"
|
|
2525
|
+
],
|
|
2386
2526
|
"type": "object"
|
|
2387
2527
|
},
|
|
2388
2528
|
"Rate": {
|
|
2389
|
-
"enum": [
|
|
2529
|
+
"enum": [
|
|
2530
|
+
-1,
|
|
2531
|
+
0,
|
|
2532
|
+
1
|
|
2533
|
+
],
|
|
2390
2534
|
"type": "number"
|
|
2391
2535
|
},
|
|
2392
2536
|
"Removable<A150CameraHead>": {
|
|
@@ -2616,6 +2760,10 @@
|
|
|
2616
2760
|
"$ref": "#/definitions/Position",
|
|
2617
2761
|
"description": "ROV Position"
|
|
2618
2762
|
},
|
|
2763
|
+
"powerTool": {
|
|
2764
|
+
"$ref": "#/definitions/PowerTool",
|
|
2765
|
+
"description": "Power Tool"
|
|
2766
|
+
},
|
|
2619
2767
|
"rearLeftMotorDiagnostics": {
|
|
2620
2768
|
"$ref": "#/definitions/MotorDiagnostics",
|
|
2621
2769
|
"description": "Rear Left Motor Diagnostics"
|
|
@@ -2676,7 +2824,9 @@
|
|
|
2676
2824
|
"type": "number"
|
|
2677
2825
|
}
|
|
2678
2826
|
},
|
|
2679
|
-
"required": [
|
|
2827
|
+
"required": [
|
|
2828
|
+
"model"
|
|
2829
|
+
],
|
|
2680
2830
|
"type": "object"
|
|
2681
2831
|
},
|
|
2682
2832
|
"RotaryJoint": {
|
|
@@ -2779,7 +2929,9 @@
|
|
|
2779
2929
|
"type": "object"
|
|
2780
2930
|
}
|
|
2781
2931
|
},
|
|
2782
|
-
"required": [
|
|
2932
|
+
"required": [
|
|
2933
|
+
"controls"
|
|
2934
|
+
],
|
|
2783
2935
|
"type": "object"
|
|
2784
2936
|
},
|
|
2785
2937
|
"RovThrust": {
|
|
@@ -2799,7 +2951,10 @@
|
|
|
2799
2951
|
"type": "number"
|
|
2800
2952
|
}
|
|
2801
2953
|
},
|
|
2802
|
-
"required": [
|
|
2954
|
+
"required": [
|
|
2955
|
+
"forward",
|
|
2956
|
+
"yaw"
|
|
2957
|
+
],
|
|
2803
2958
|
"type": "object"
|
|
2804
2959
|
},
|
|
2805
2960
|
"SWUpdate": {
|
|
@@ -2854,17 +3009,34 @@
|
|
|
2854
3009
|
"type": "string"
|
|
2855
3010
|
}
|
|
2856
3011
|
},
|
|
2857
|
-
"required": [
|
|
3012
|
+
"required": [
|
|
3013
|
+
"name"
|
|
3014
|
+
],
|
|
2858
3015
|
"type": "object"
|
|
2859
3016
|
},
|
|
2860
3017
|
"SerialDeviceType": {
|
|
2861
3018
|
"description": "Denotes the origin of the serial device.",
|
|
2862
|
-
"enum": [
|
|
3019
|
+
"enum": [
|
|
3020
|
+
"ROV",
|
|
3021
|
+
"Web",
|
|
3022
|
+
"Internal",
|
|
3023
|
+
"Controller"
|
|
3024
|
+
],
|
|
2863
3025
|
"type": "string"
|
|
2864
3026
|
},
|
|
2865
3027
|
"SnapshotIntervals": {
|
|
2866
3028
|
"description": "Snapshot intervals (in seconds) for auto snapshot feature.",
|
|
2867
|
-
"enum": [
|
|
3029
|
+
"enum": [
|
|
3030
|
+
1,
|
|
3031
|
+
2,
|
|
3032
|
+
3,
|
|
3033
|
+
4,
|
|
3034
|
+
5,
|
|
3035
|
+
10,
|
|
3036
|
+
15,
|
|
3037
|
+
30,
|
|
3038
|
+
60
|
|
3039
|
+
],
|
|
2868
3040
|
"type": "number"
|
|
2869
3041
|
},
|
|
2870
3042
|
"SoftwareUpdate": {
|
|
@@ -2878,7 +3050,10 @@
|
|
|
2878
3050
|
"$ref": "#/definitions/VersionNote"
|
|
2879
3051
|
}
|
|
2880
3052
|
},
|
|
2881
|
-
"required": [
|
|
3053
|
+
"required": [
|
|
3054
|
+
"releaseDate",
|
|
3055
|
+
"versionNotes"
|
|
3056
|
+
],
|
|
2882
3057
|
"type": "object"
|
|
2883
3058
|
},
|
|
2884
3059
|
"Sonar": {
|
|
@@ -2953,17 +3128,25 @@
|
|
|
2953
3128
|
"description": "Deep Trekker internal device model numbers. This can be used for selecting the associated device schema."
|
|
2954
3129
|
}
|
|
2955
3130
|
},
|
|
2956
|
-
"required": [
|
|
3131
|
+
"required": [
|
|
3132
|
+
"model"
|
|
3133
|
+
],
|
|
2957
3134
|
"type": "object"
|
|
2958
3135
|
},
|
|
2959
3136
|
"SonarFrequency": {
|
|
2960
3137
|
"description": "Sonar frequency levels",
|
|
2961
|
-
"enum": [
|
|
3138
|
+
"enum": [
|
|
3139
|
+
"HIGH",
|
|
3140
|
+
"LOW"
|
|
3141
|
+
],
|
|
2962
3142
|
"type": "string"
|
|
2963
3143
|
},
|
|
2964
3144
|
"SonarModel": {
|
|
2965
3145
|
"description": "Sonar models",
|
|
2966
|
-
"enum": [
|
|
3146
|
+
"enum": [
|
|
3147
|
+
"oculus",
|
|
3148
|
+
"tritech"
|
|
3149
|
+
],
|
|
2967
3150
|
"type": "string"
|
|
2968
3151
|
},
|
|
2969
3152
|
"Sonde": {
|
|
@@ -2974,12 +3157,17 @@
|
|
|
2974
3157
|
"type": "boolean"
|
|
2975
3158
|
}
|
|
2976
3159
|
},
|
|
2977
|
-
"required": [
|
|
3160
|
+
"required": [
|
|
3161
|
+
"enabled"
|
|
3162
|
+
],
|
|
2978
3163
|
"type": "object"
|
|
2979
3164
|
},
|
|
2980
3165
|
"SpragBearing": {
|
|
2981
3166
|
"description": "Sprag Bearing Types",
|
|
2982
|
-
"enum": [
|
|
3167
|
+
"enum": [
|
|
3168
|
+
"FKNN6204-2RS",
|
|
3169
|
+
"FKNN6205-2RS"
|
|
3170
|
+
],
|
|
2983
3171
|
"type": "string"
|
|
2984
3172
|
},
|
|
2985
3173
|
"Stream": {
|
|
@@ -3006,7 +3194,9 @@
|
|
|
3006
3194
|
"description": "Stream resolution"
|
|
3007
3195
|
}
|
|
3008
3196
|
},
|
|
3009
|
-
"required": [
|
|
3197
|
+
"required": [
|
|
3198
|
+
"active"
|
|
3199
|
+
],
|
|
3010
3200
|
"type": "object"
|
|
3011
3201
|
},
|
|
3012
3202
|
"StreamMode": {
|
|
@@ -3035,7 +3225,10 @@
|
|
|
3035
3225
|
},
|
|
3036
3226
|
"StreamModes": {
|
|
3037
3227
|
"description": "Streaming Mode for the camera",
|
|
3038
|
-
"enum": [
|
|
3228
|
+
"enum": [
|
|
3229
|
+
"RTSP",
|
|
3230
|
+
"WEBRTC"
|
|
3231
|
+
],
|
|
3039
3232
|
"type": "string"
|
|
3040
3233
|
},
|
|
3041
3234
|
"SystemDiagnostics": {
|
|
@@ -3059,7 +3252,10 @@
|
|
|
3059
3252
|
},
|
|
3060
3253
|
"SystemOfMeasurement": {
|
|
3061
3254
|
"description": "System unit of measurement enum",
|
|
3062
|
-
"enum": [
|
|
3255
|
+
"enum": [
|
|
3256
|
+
"IMPERIAL",
|
|
3257
|
+
"METRIC"
|
|
3258
|
+
],
|
|
3063
3259
|
"type": "string"
|
|
3064
3260
|
},
|
|
3065
3261
|
"SystemSettings": {
|
|
@@ -3100,7 +3296,14 @@
|
|
|
3100
3296
|
},
|
|
3101
3297
|
"nearLimit": {
|
|
3102
3298
|
"description": "Focus near limit",
|
|
3103
|
-
"enum": [
|
|
3299
|
+
"enum": [
|
|
3300
|
+
10,
|
|
3301
|
+
34,
|
|
3302
|
+
90,
|
|
3303
|
+
250,
|
|
3304
|
+
800,
|
|
3305
|
+
2300
|
|
3306
|
+
],
|
|
3104
3307
|
"type": "number"
|
|
3105
3308
|
},
|
|
3106
3309
|
"rate": {
|
|
@@ -3176,7 +3379,9 @@
|
|
|
3176
3379
|
"$ref": "#/definitions/ZoomControl"
|
|
3177
3380
|
}
|
|
3178
3381
|
},
|
|
3179
|
-
"required": [
|
|
3382
|
+
"required": [
|
|
3383
|
+
"model"
|
|
3384
|
+
],
|
|
3180
3385
|
"type": "object"
|
|
3181
3386
|
},
|
|
3182
3387
|
"TamronOcleaZoomCamera": {
|
|
@@ -3236,7 +3441,9 @@
|
|
|
3236
3441
|
"$ref": "#/definitions/DeviceVersion"
|
|
3237
3442
|
}
|
|
3238
3443
|
},
|
|
3239
|
-
"required": [
|
|
3444
|
+
"required": [
|
|
3445
|
+
"model"
|
|
3446
|
+
],
|
|
3240
3447
|
"type": "object"
|
|
3241
3448
|
},
|
|
3242
3449
|
"TiltCameraHead": {
|
|
@@ -3282,12 +3489,17 @@
|
|
|
3282
3489
|
"$ref": "#/definitions/DeviceVersion"
|
|
3283
3490
|
}
|
|
3284
3491
|
},
|
|
3285
|
-
"required": [
|
|
3492
|
+
"required": [
|
|
3493
|
+
"model"
|
|
3494
|
+
],
|
|
3286
3495
|
"type": "object"
|
|
3287
3496
|
},
|
|
3288
3497
|
"TiltCameraHeadModel": {
|
|
3289
3498
|
"description": "Tilt Camera Head Model",
|
|
3290
|
-
"enum": [
|
|
3499
|
+
"enum": [
|
|
3500
|
+
102,
|
|
3501
|
+
103
|
|
3502
|
+
],
|
|
3291
3503
|
"type": "number"
|
|
3292
3504
|
},
|
|
3293
3505
|
"TiltPlatform": {
|
|
@@ -3306,7 +3518,11 @@
|
|
|
3306
3518
|
},
|
|
3307
3519
|
"TopPositionSources": {
|
|
3308
3520
|
"description": "Enumerates the possible topside location provider sources available to the Web App.",
|
|
3309
|
-
"enum": [
|
|
3521
|
+
"enum": [
|
|
3522
|
+
"NONE",
|
|
3523
|
+
"EXTERNAL_GPS",
|
|
3524
|
+
"STATIC"
|
|
3525
|
+
],
|
|
3310
3526
|
"type": "string"
|
|
3311
3527
|
},
|
|
3312
3528
|
"TransferError": {
|
|
@@ -3322,12 +3538,21 @@
|
|
|
3322
3538
|
"type": "string"
|
|
3323
3539
|
}
|
|
3324
3540
|
},
|
|
3325
|
-
"required": [
|
|
3541
|
+
"required": [
|
|
3542
|
+
"code",
|
|
3543
|
+
"message"
|
|
3544
|
+
],
|
|
3326
3545
|
"type": "object"
|
|
3327
3546
|
},
|
|
3328
3547
|
"TransferMethodType": {
|
|
3329
3548
|
"description": "The different kinds of payload requests that can be sent and received.",
|
|
3330
|
-
"enum": [
|
|
3549
|
+
"enum": [
|
|
3550
|
+
"GET",
|
|
3551
|
+
"SET",
|
|
3552
|
+
"UPDATE",
|
|
3553
|
+
"DELETE",
|
|
3554
|
+
"ERROR"
|
|
3555
|
+
],
|
|
3331
3556
|
"type": "string"
|
|
3332
3557
|
},
|
|
3333
3558
|
"TransferPayload<BridgeBox>": {
|
|
@@ -3348,7 +3573,11 @@
|
|
|
3348
3573
|
"$ref": "#/definitions/BridgeBox"
|
|
3349
3574
|
}
|
|
3350
3575
|
},
|
|
3351
|
-
"required": [
|
|
3576
|
+
"required": [
|
|
3577
|
+
"apiVersion",
|
|
3578
|
+
"method",
|
|
3579
|
+
"payload"
|
|
3580
|
+
],
|
|
3352
3581
|
"type": "object"
|
|
3353
3582
|
},
|
|
3354
3583
|
"TurbidityFilter": {
|
|
@@ -3385,7 +3614,12 @@
|
|
|
3385
3614
|
"type": "string"
|
|
3386
3615
|
}
|
|
3387
3616
|
},
|
|
3388
|
-
"required": [
|
|
3617
|
+
"required": [
|
|
3618
|
+
"buildDate",
|
|
3619
|
+
"size",
|
|
3620
|
+
"sha256",
|
|
3621
|
+
"changelog"
|
|
3622
|
+
],
|
|
3389
3623
|
"type": "object"
|
|
3390
3624
|
},
|
|
3391
3625
|
"UsageTime": {
|
|
@@ -3454,7 +3688,10 @@
|
|
|
3454
3688
|
"type": "array"
|
|
3455
3689
|
}
|
|
3456
3690
|
},
|
|
3457
|
-
"required": [
|
|
3691
|
+
"required": [
|
|
3692
|
+
"improvements",
|
|
3693
|
+
"fixes"
|
|
3694
|
+
],
|
|
3458
3695
|
"type": "object"
|
|
3459
3696
|
},
|
|
3460
3697
|
"WhiteBalanceSettings": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const API_VERSION = "1.0.
|
|
1
|
+
export declare const API_VERSION = "1.0.16";
|
|
@@ -216,6 +216,73 @@ export type Grabber = {
|
|
|
216
216
|
*/
|
|
217
217
|
rotateMotorDiagnostics?: MotorDiagnostics;
|
|
218
218
|
};
|
|
219
|
+
/**
|
|
220
|
+
*
|
|
221
|
+
* Power Tool
|
|
222
|
+
* Generation 3 power tool that rotates and spins.
|
|
223
|
+
* @group Devices
|
|
224
|
+
* @category Peripherals
|
|
225
|
+
*/
|
|
226
|
+
export type PowerTool = {
|
|
227
|
+
/**
|
|
228
|
+
* Flag to enable to disable the power tool control
|
|
229
|
+
*
|
|
230
|
+
* Powertool is only controllable when this is TRUE
|
|
231
|
+
* AND when authorization is TRUE (see authorization property below)
|
|
232
|
+
*/
|
|
233
|
+
enabled?: boolean;
|
|
234
|
+
/**
|
|
235
|
+
* Flag to gain authorization to operate the power tool.
|
|
236
|
+
* This is an added layer of security since power tool can cause
|
|
237
|
+
* harm to humans and components.
|
|
238
|
+
*
|
|
239
|
+
* Authorization is requested by setting this flag to true.
|
|
240
|
+
*
|
|
241
|
+
* If the power tool is not used for over 60 seconds, the user looses
|
|
242
|
+
* Authorization and must request it again.
|
|
243
|
+
*/
|
|
244
|
+
authorized?: boolean;
|
|
245
|
+
/**
|
|
246
|
+
* Rotation motor
|
|
247
|
+
*
|
|
248
|
+
* @remarks Power Tool rotation power
|
|
249
|
+
*
|
|
250
|
+
* - `< 0` = rotate left
|
|
251
|
+
* - `== 0` = motor off
|
|
252
|
+
* - `> 0` = rotate right
|
|
253
|
+
* @example
|
|
254
|
+
* ```json
|
|
255
|
+
* {
|
|
256
|
+
* "rotate": 50
|
|
257
|
+
* }
|
|
258
|
+
* ```
|
|
259
|
+
*
|
|
260
|
+
* @minimum -100
|
|
261
|
+
* @maximum 100
|
|
262
|
+
*
|
|
263
|
+
*/
|
|
264
|
+
rotate?: number;
|
|
265
|
+
/**
|
|
266
|
+
* Spin Motor
|
|
267
|
+
*
|
|
268
|
+
* @remarks Power Tool spin motor power (in percentage)
|
|
269
|
+
*
|
|
270
|
+
* - `< 0` = motor off
|
|
271
|
+
* - `== 0` = motor off
|
|
272
|
+
* - `> 0` = spin (Meant to work with joystick down input)
|
|
273
|
+
*
|
|
274
|
+
* @example
|
|
275
|
+
* ```json
|
|
276
|
+
* {
|
|
277
|
+
* "spin": -50
|
|
278
|
+
* }
|
|
279
|
+
* ```
|
|
280
|
+
* @minimum -100
|
|
281
|
+
* @maximum 100
|
|
282
|
+
*
|
|
283
|
+
*/
|
|
284
|
+
spin?: number;
|
|
285
|
+
};
|
|
219
286
|
/**
|
|
220
287
|
* The tilt platform on the pivot.
|
|
221
288
|
* @group PIVOT
|
|
@@ -2,7 +2,7 @@ import { Cameras } from "../../cameras/types";
|
|
|
2
2
|
import { Removable } from "../../../core";
|
|
3
3
|
import { DeviceModel, DeviceVersion, Grabber, Light, TiltPlatform } from "../..";
|
|
4
4
|
import { MotorDiagnostics, Battery, UsageTime } from "../../core";
|
|
5
|
-
import { TiltCameraHead } from "../../cameraHeads/tiltCameraHead";
|
|
5
|
+
import { PowerTool, TiltCameraHead } from "../../cameraHeads/tiltCameraHead";
|
|
6
6
|
import { RovVehicle } from "../rov";
|
|
7
7
|
/**
|
|
8
8
|
* Pivot Class
|
|
@@ -31,6 +31,11 @@ export type Pivot = {
|
|
|
31
31
|
* @see {@link Grabber | Grabber}
|
|
32
32
|
*/
|
|
33
33
|
grabber?: Grabber;
|
|
34
|
+
/**Power Tool
|
|
35
|
+
*
|
|
36
|
+
* @see {@link PowerTool | PowerTool}
|
|
37
|
+
*/
|
|
38
|
+
powerTool?: PowerTool;
|
|
34
39
|
/** Grabber
|
|
35
40
|
*
|
|
36
41
|
* @see {@link TiltPlatform | TiltPlatform}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Removable } from "../../../core";
|
|
2
|
-
import { Battery, DeviceModel, Grabber, Light, MotorDiagnostics, TiltCameraHead } from "../../cameraHeads";
|
|
2
|
+
import { Battery, DeviceModel, Grabber, Light, MotorDiagnostics, PowerTool, TiltCameraHead } from "../../cameraHeads";
|
|
3
3
|
import { RovVehicle } from "../rov";
|
|
4
4
|
/**
|
|
5
5
|
* Revolution Class
|
|
@@ -29,6 +29,11 @@ export type Revolution = {
|
|
|
29
29
|
* @see {@link Grabber | Grabber}
|
|
30
30
|
*/
|
|
31
31
|
grabber?: Grabber;
|
|
32
|
+
/**Power Tool
|
|
33
|
+
*
|
|
34
|
+
* @see {@link PowerTool | PowerTool}
|
|
35
|
+
*/
|
|
36
|
+
powerTool?: PowerTool;
|
|
32
37
|
/** Motor Diagnostics */
|
|
33
38
|
/**
|
|
34
39
|
* @remarks
|
package/dist/utils/index.js
CHANGED
|
@@ -30,6 +30,7 @@ var validate = function (req) {
|
|
|
30
30
|
var valid = Validator(req);
|
|
31
31
|
if (!valid) {
|
|
32
32
|
console.log("Not valid: ", valid, Validator);
|
|
33
|
+
console.log("Not valid: ", req);
|
|
33
34
|
throw new Error((_a = Validator.errors) === null || _a === void 0 ? void 0 : _a[0].message);
|
|
34
35
|
}
|
|
35
36
|
return req;
|
package/package.json
CHANGED