@samsarahq/samsara 13.16.1 → 13.17.1

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.
@@ -44,8 +44,8 @@ function normalizeClientOptions(options) {
44
44
  const headers = (0, headers_js_1.mergeHeaders)({
45
45
  "X-Fern-Language": "JavaScript",
46
46
  "X-Fern-SDK-Name": "@samsarahq/samsara",
47
- "X-Fern-SDK-Version": "13.16.1",
48
- "User-Agent": "@samsarahq/samsara/13.16.1",
47
+ "X-Fern-SDK-Version": "13.17.1",
48
+ "User-Agent": "@samsarahq/samsara/13.17.1",
49
49
  "X-Fern-Runtime": core.RUNTIME.type,
50
50
  "X-Fern-Runtime-Version": core.RUNTIME.version,
51
51
  "X-Samsara-Version": (_a = options === null || options === void 0 ? void 0 : options.version) !== null && _a !== void 0 ? _a : "2025-06-11",
@@ -1873,6 +1873,7 @@ export declare class BetaApIsClient {
1873
1873
  * * `engineHours`
1874
1874
  * * `engineRpm`
1875
1875
  * * `engineState` (values: off | running | idling)
1876
+ * * `faultCodes`
1876
1877
  * * `faultCodesJ1939`
1877
1878
  * * `faultCodesOBDII`
1878
1879
  * * `fuelLevelPerc`
@@ -5483,6 +5483,7 @@ class BetaApIsClient {
5483
5483
  * * `engineHours`
5484
5484
  * * `engineRpm`
5485
5485
  * * `engineState` (values: off | running | idling)
5486
+ * * `faultCodes`
5486
5487
  * * `faultCodesJ1939`
5487
5488
  * * `faultCodesOBDII`
5488
5489
  * * `fuelLevelPerc`
@@ -10,6 +10,6 @@ export interface PreferredStationAddressRequestBody {
10
10
  line1: string;
11
11
  /** Postal or ZIP code. */
12
12
  postalCode: string;
13
- /** State or province code. */
13
+ /** State or province code. Required when country is "US". */
14
14
  state?: string | undefined;
15
15
  }
@@ -2,10 +2,18 @@
2
2
  * Contains information about a sensor.
3
3
  */
4
4
  export interface V1Sensor {
5
+ /** Sensor activation time in Unix milliseconds. Null if the sensor has no monitor. */
6
+ activatedAtMs?: number | undefined;
7
+ /** Current sensor health status. */
8
+ healthStatus?: string | undefined;
5
9
  /** ID of the sensor. */
6
10
  id: number;
11
+ /** Last sensor transmission time in Unix milliseconds. Null when the sensor is connected or has never connected. */
12
+ lastTransmissionAtMs?: number | undefined;
7
13
  /** MAC address of the sensor. */
8
14
  macAddress?: string | undefined;
9
15
  /** Name of the sensor. */
10
16
  name?: string | undefined;
17
+ /** Product type of the sensor. */
18
+ sensorType?: string | undefined;
11
19
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "13.16.1";
1
+ export declare const SDK_VERSION = "13.17.1";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "13.16.1";
4
+ exports.SDK_VERSION = "13.17.1";
@@ -7,8 +7,8 @@ export function normalizeClientOptions(options) {
7
7
  const headers = mergeHeaders({
8
8
  "X-Fern-Language": "JavaScript",
9
9
  "X-Fern-SDK-Name": "@samsarahq/samsara",
10
- "X-Fern-SDK-Version": "13.16.1",
11
- "User-Agent": "@samsarahq/samsara/13.16.1",
10
+ "X-Fern-SDK-Version": "13.17.1",
11
+ "User-Agent": "@samsarahq/samsara/13.17.1",
12
12
  "X-Fern-Runtime": core.RUNTIME.type,
13
13
  "X-Fern-Runtime-Version": core.RUNTIME.version,
14
14
  "X-Samsara-Version": (_a = options === null || options === void 0 ? void 0 : options.version) !== null && _a !== void 0 ? _a : "2025-06-11",
@@ -1873,6 +1873,7 @@ export declare class BetaApIsClient {
1873
1873
  * * `engineHours`
1874
1874
  * * `engineRpm`
1875
1875
  * * `engineState` (values: off | running | idling)
1876
+ * * `faultCodes`
1876
1877
  * * `faultCodesJ1939`
1877
1878
  * * `faultCodesOBDII`
1878
1879
  * * `fuelLevelPerc`
@@ -5447,6 +5447,7 @@ export class BetaApIsClient {
5447
5447
  * * `engineHours`
5448
5448
  * * `engineRpm`
5449
5449
  * * `engineState` (values: off | running | idling)
5450
+ * * `faultCodes`
5450
5451
  * * `faultCodesJ1939`
5451
5452
  * * `faultCodesOBDII`
5452
5453
  * * `fuelLevelPerc`
@@ -10,6 +10,6 @@ export interface PreferredStationAddressRequestBody {
10
10
  line1: string;
11
11
  /** Postal or ZIP code. */
12
12
  postalCode: string;
13
- /** State or province code. */
13
+ /** State or province code. Required when country is "US". */
14
14
  state?: string | undefined;
15
15
  }
@@ -2,10 +2,18 @@
2
2
  * Contains information about a sensor.
3
3
  */
4
4
  export interface V1Sensor {
5
+ /** Sensor activation time in Unix milliseconds. Null if the sensor has no monitor. */
6
+ activatedAtMs?: number | undefined;
7
+ /** Current sensor health status. */
8
+ healthStatus?: string | undefined;
5
9
  /** ID of the sensor. */
6
10
  id: number;
11
+ /** Last sensor transmission time in Unix milliseconds. Null when the sensor is connected or has never connected. */
12
+ lastTransmissionAtMs?: number | undefined;
7
13
  /** MAC address of the sensor. */
8
14
  macAddress?: string | undefined;
9
15
  /** Name of the sensor. */
10
16
  name?: string | undefined;
17
+ /** Product type of the sensor. */
18
+ sensorType?: string | undefined;
11
19
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "13.16.1";
1
+ export declare const SDK_VERSION = "13.17.1";
@@ -1 +1 @@
1
- export const SDK_VERSION = "13.16.1";
1
+ export const SDK_VERSION = "13.17.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@samsarahq/samsara",
3
- "version": "13.16.1",
3
+ "version": "13.17.1",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
package/reference.md CHANGED
@@ -4804,6 +4804,7 @@ Readings that currently support ingestion (by category):
4804
4804
  * `engineHours`
4805
4805
  * `engineRpm`
4806
4806
  * `engineState` (values: off | running | idling)
4807
+ * `faultCodes`
4807
4808
  * `faultCodesJ1939`
4808
4809
  * `faultCodesOBDII`
4809
4810
  * `fuelLevelPerc`