@samsarahq/samsara 13.16.1 → 13.17.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.
@@ -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.0",
48
+ "User-Agent": "@samsarahq/samsara/13.17.0",
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",
@@ -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.0";
@@ -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.0";
@@ -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.0",
11
+ "User-Agent": "@samsarahq/samsara/13.17.0",
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",
@@ -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.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "13.16.1";
1
+ export const SDK_VERSION = "13.17.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@samsarahq/samsara",
3
- "version": "13.16.1",
3
+ "version": "13.17.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",