@samsarahq/samsara 11.11.0 → 11.11.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.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/readings/client/requests/GetReadingsHistoryRequest.d.ts +1 -0
- package/dist/cjs/api/resources/readings/client/requests/GetReadingsSnapshotRequest.d.ts +1 -0
- package/dist/cjs/api/types/ActionObjectRequestBody.d.ts +1 -0
- package/dist/cjs/api/types/ActionObjectResponseBody.d.ts +1 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/readings/client/requests/GetReadingsHistoryRequest.d.mts +1 -0
- package/dist/esm/api/resources/readings/client/requests/GetReadingsSnapshotRequest.d.mts +1 -0
- package/dist/esm/api/types/ActionObjectRequestBody.d.mts +1 -0
- package/dist/esm/api/types/ActionObjectResponseBody.d.mts +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -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": "11.11.
|
|
48
|
-
"User-Agent": "@samsarahq/samsara/11.11.
|
|
47
|
+
"X-Fern-SDK-Version": "11.11.1",
|
|
48
|
+
"User-Agent": "@samsarahq/samsara/11.11.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",
|
|
@@ -46,6 +46,7 @@ export interface GetReadingsHistoryRequest {
|
|
|
46
46
|
* * `dpfLampStatus` (DPF Lamp Status): Status of the Diesel Particulate Filter warning lamp. (values: off | on | blinking)
|
|
47
47
|
* * `dpfSootLoadPercent` (DPF Soot Load): Diesel Particulate Filter soot load percentage. (percent)
|
|
48
48
|
* * `ecuHistoryTotalRunTime` (ECU Total Run Time): Total engine run time from ECU in seconds. (second)
|
|
49
|
+
* * `ecuNativeDoorStatus` (Door Status (ECU)): Indicates whether the vehicle door is open or closed based on the native ECU diagnostic signal. (values: unknown | closed | open)
|
|
49
50
|
* * `engineExhaustTemperature` (Engine Exhaust Temperature): Temperature of the engine exhaust (celsius)
|
|
50
51
|
* * `engineHours` (Engine Hours (ECU)): Represents the total engine runtime in hours as reported by the ECU. (second)
|
|
51
52
|
* * `engineHoursDigioBased` (Engine Hours (Synthetic - Aux input)): Represents the synthetic total engine runtime in hours based on auxiliary input. (millisecond)
|
|
@@ -46,6 +46,7 @@ export interface GetReadingsSnapshotRequest {
|
|
|
46
46
|
* * `dpfLampStatus` (DPF Lamp Status): Status of the Diesel Particulate Filter warning lamp. (values: off | on | blinking)
|
|
47
47
|
* * `dpfSootLoadPercent` (DPF Soot Load): Diesel Particulate Filter soot load percentage. (percent)
|
|
48
48
|
* * `ecuHistoryTotalRunTime` (ECU Total Run Time): Total engine run time from ECU in seconds. (second)
|
|
49
|
+
* * `ecuNativeDoorStatus` (Door Status (ECU)): Indicates whether the vehicle door is open or closed based on the native ECU diagnostic signal. (values: unknown | closed | open)
|
|
49
50
|
* * `engineExhaustTemperature` (Engine Exhaust Temperature): Temperature of the engine exhaust (celsius)
|
|
50
51
|
* * `engineHours` (Engine Hours (ECU)): Represents the total engine runtime in hours as reported by the ECU. (second)
|
|
51
52
|
* * `engineHoursDigioBased` (Engine Hours (Synthetic - Aux input)): Represents the synthetic total engine runtime in hours based on auxiliary input. (millisecond)
|
|
@@ -8,6 +8,7 @@ export interface ActionObjectRequestBody {
|
|
|
8
8
|
* The id of the of the action type. Reference the following list for the ids:
|
|
9
9
|
* The following action types are in Beta:
|
|
10
10
|
* Driver App Push = 5
|
|
11
|
+
* Functions = 14
|
|
11
12
|
* The following action types are Stable:
|
|
12
13
|
* Notification (Email, Text, Samsara Fleet Push) = 1
|
|
13
14
|
* Dashboard Notification = 3
|
|
@@ -8,6 +8,7 @@ export interface ActionObjectResponseBody {
|
|
|
8
8
|
* The id of the of the action type. Reference the following list for the ids:
|
|
9
9
|
* The following action types are in Beta:
|
|
10
10
|
* Driver App Push = 5
|
|
11
|
+
* Functions = 14
|
|
11
12
|
* The following action types are Stable:
|
|
12
13
|
* Notification (Email, Text, Samsara Fleet Push) = 1
|
|
13
14
|
* Dashboard Notification = 3
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "11.11.
|
|
1
|
+
export declare const SDK_VERSION = "11.11.1";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -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": "11.11.
|
|
11
|
-
"User-Agent": "@samsarahq/samsara/11.11.
|
|
10
|
+
"X-Fern-SDK-Version": "11.11.1",
|
|
11
|
+
"User-Agent": "@samsarahq/samsara/11.11.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",
|
|
@@ -46,6 +46,7 @@ export interface GetReadingsHistoryRequest {
|
|
|
46
46
|
* * `dpfLampStatus` (DPF Lamp Status): Status of the Diesel Particulate Filter warning lamp. (values: off | on | blinking)
|
|
47
47
|
* * `dpfSootLoadPercent` (DPF Soot Load): Diesel Particulate Filter soot load percentage. (percent)
|
|
48
48
|
* * `ecuHistoryTotalRunTime` (ECU Total Run Time): Total engine run time from ECU in seconds. (second)
|
|
49
|
+
* * `ecuNativeDoorStatus` (Door Status (ECU)): Indicates whether the vehicle door is open or closed based on the native ECU diagnostic signal. (values: unknown | closed | open)
|
|
49
50
|
* * `engineExhaustTemperature` (Engine Exhaust Temperature): Temperature of the engine exhaust (celsius)
|
|
50
51
|
* * `engineHours` (Engine Hours (ECU)): Represents the total engine runtime in hours as reported by the ECU. (second)
|
|
51
52
|
* * `engineHoursDigioBased` (Engine Hours (Synthetic - Aux input)): Represents the synthetic total engine runtime in hours based on auxiliary input. (millisecond)
|
|
@@ -46,6 +46,7 @@ export interface GetReadingsSnapshotRequest {
|
|
|
46
46
|
* * `dpfLampStatus` (DPF Lamp Status): Status of the Diesel Particulate Filter warning lamp. (values: off | on | blinking)
|
|
47
47
|
* * `dpfSootLoadPercent` (DPF Soot Load): Diesel Particulate Filter soot load percentage. (percent)
|
|
48
48
|
* * `ecuHistoryTotalRunTime` (ECU Total Run Time): Total engine run time from ECU in seconds. (second)
|
|
49
|
+
* * `ecuNativeDoorStatus` (Door Status (ECU)): Indicates whether the vehicle door is open or closed based on the native ECU diagnostic signal. (values: unknown | closed | open)
|
|
49
50
|
* * `engineExhaustTemperature` (Engine Exhaust Temperature): Temperature of the engine exhaust (celsius)
|
|
50
51
|
* * `engineHours` (Engine Hours (ECU)): Represents the total engine runtime in hours as reported by the ECU. (second)
|
|
51
52
|
* * `engineHoursDigioBased` (Engine Hours (Synthetic - Aux input)): Represents the synthetic total engine runtime in hours based on auxiliary input. (millisecond)
|
|
@@ -8,6 +8,7 @@ export interface ActionObjectRequestBody {
|
|
|
8
8
|
* The id of the of the action type. Reference the following list for the ids:
|
|
9
9
|
* The following action types are in Beta:
|
|
10
10
|
* Driver App Push = 5
|
|
11
|
+
* Functions = 14
|
|
11
12
|
* The following action types are Stable:
|
|
12
13
|
* Notification (Email, Text, Samsara Fleet Push) = 1
|
|
13
14
|
* Dashboard Notification = 3
|
|
@@ -8,6 +8,7 @@ export interface ActionObjectResponseBody {
|
|
|
8
8
|
* The id of the of the action type. Reference the following list for the ids:
|
|
9
9
|
* The following action types are in Beta:
|
|
10
10
|
* Driver App Push = 5
|
|
11
|
+
* Functions = 14
|
|
11
12
|
* The following action types are Stable:
|
|
12
13
|
* Notification (Email, Text, Samsara Fleet Push) = 1
|
|
13
14
|
* Dashboard Notification = 3
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "11.11.
|
|
1
|
+
export declare const SDK_VERSION = "11.11.1";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "11.11.
|
|
1
|
+
export const SDK_VERSION = "11.11.1";
|