@deeptrekker/api-domain 1.0.30 → 1.0.31

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.
@@ -1 +1 @@
1
- export declare const API_VERSION = "1.0.30";
1
+ export declare const API_VERSION = "1.0.31";
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.API_VERSION = void 0;
4
4
  /* AUTO GENERATED FILE */
5
- exports.API_VERSION = "1.0.30";
5
+ exports.API_VERSION = "1.0.31";
@@ -407,6 +407,19 @@ export type X4Coordinate = {
407
407
  latitude?: number;
408
408
  longitude?: number;
409
409
  };
410
+ /**
411
+ * The ports on the PDM
412
+ * This type is used to represent the state of the port in the X4 vehicle system.
413
+ * @internal
414
+ * @alpha
415
+ * @group X4
416
+ * @category Diagnostics
417
+ */
418
+ export type X4Port = {
419
+ status?: boolean;
420
+ current?: number;
421
+ temp?: number;
422
+ };
410
423
  /**
411
424
  * The PDM (Power Distribution Module) type.
412
425
  * It includes properties for controlling the ports, busses, and monitoring temperatures of the PDM.
@@ -416,10 +429,15 @@ export type X4Coordinate = {
416
429
  * @group X4
417
430
  * @category Diagnostics
418
431
  */
419
- export type PDM = {
420
- ports?: Record<string, boolean>;
421
- busses?: Record<string, boolean>;
422
- temperatures?: Record<string, number>;
432
+ export type X4PDM = {
433
+ status24V?: boolean;
434
+ voltageMon48V?: number;
435
+ voltageMonChassis?: number;
436
+ voltageMon24V?: number;
437
+ currentMon24V?: number;
438
+ currentMonChassis?: number;
439
+ macAddress?: string;
440
+ ports?: Record<string, X4Port>;
423
441
  };
424
442
  /**
425
443
  * The PCM (Power Control Module) type.
@@ -725,7 +743,7 @@ export type X4 = {
725
743
  *
726
744
  * @readonly
727
745
  */
728
- pdms?: Record<string, PDM>;
746
+ pdm?: X4PDM;
729
747
  /**
730
748
  * A record of PCMs (Power Control Modules) associated with the X4 vehicle.
731
749
  * Each PCM is identified by its unique MAC address and contains properties such as temperatures.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deeptrekker/api-domain",
3
- "version": "1.0.30",
3
+ "version": "1.0.31",
4
4
  "description": "A business domain of types and schemas that the Deep Trekker topside communicates with via an API.",
5
5
  "main": "dist/index.js",
6
6
  "engines": {