@samsarahq/samsara 13.30.0 → 13.31.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.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/types/TrailerStatsObjectResponseBody.d.ts +2 -0
- package/dist/cjs/api/types/TrailerStatsSnapshotObjectResponseBody.d.ts +2 -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/types/TrailerStatsObjectResponseBody.d.mts +2 -0
- package/dist/esm/api/types/TrailerStatsSnapshotObjectResponseBody.d.mts +2 -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": "13.
|
|
48
|
-
"User-Agent": "@samsarahq/samsara/13.
|
|
47
|
+
"X-Fern-SDK-Version": "13.31.0",
|
|
48
|
+
"User-Agent": "@samsarahq/samsara/13.31.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",
|
|
@@ -5,6 +5,8 @@ import type * as Samsara from "../index.js";
|
|
|
5
5
|
export interface TrailerStatsObjectResponseBody {
|
|
6
6
|
/** A list of engine state points. */
|
|
7
7
|
carrierReeferState?: Samsara.TrailerStatReeferStateWithDecorationsTypeResponseBody[] | undefined;
|
|
8
|
+
/** A map of external ids */
|
|
9
|
+
externalIds?: Record<string, string> | undefined;
|
|
8
10
|
/** A list of GPS points. */
|
|
9
11
|
gps?: Samsara.TrailerStatGpsWithDecorationsTypeResponseBody[] | undefined;
|
|
10
12
|
/** A list of odometer points. */
|
|
@@ -4,6 +4,8 @@ import type * as Samsara from "../index.js";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface TrailerStatsSnapshotObjectResponseBody {
|
|
6
6
|
carrierReeferState?: Samsara.TrailerStatReeferStateTypeResponseBody | undefined;
|
|
7
|
+
/** A map of external ids */
|
|
8
|
+
externalIds?: Record<string, string> | undefined;
|
|
7
9
|
gps?: Samsara.TrailerStatGpsTypeResponseBody | undefined;
|
|
8
10
|
gpsOdometerMeters?: Samsara.TrailerStatGpsOdometerMetersTypeResponseBody | undefined;
|
|
9
11
|
/** ID of the trailer. */
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "13.
|
|
1
|
+
export declare const SDK_VERSION = "13.31.0";
|
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": "13.
|
|
11
|
-
"User-Agent": "@samsarahq/samsara/13.
|
|
10
|
+
"X-Fern-SDK-Version": "13.31.0",
|
|
11
|
+
"User-Agent": "@samsarahq/samsara/13.31.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",
|
|
@@ -5,6 +5,8 @@ import type * as Samsara from "../index.mjs";
|
|
|
5
5
|
export interface TrailerStatsObjectResponseBody {
|
|
6
6
|
/** A list of engine state points. */
|
|
7
7
|
carrierReeferState?: Samsara.TrailerStatReeferStateWithDecorationsTypeResponseBody[] | undefined;
|
|
8
|
+
/** A map of external ids */
|
|
9
|
+
externalIds?: Record<string, string> | undefined;
|
|
8
10
|
/** A list of GPS points. */
|
|
9
11
|
gps?: Samsara.TrailerStatGpsWithDecorationsTypeResponseBody[] | undefined;
|
|
10
12
|
/** A list of odometer points. */
|
|
@@ -4,6 +4,8 @@ import type * as Samsara from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface TrailerStatsSnapshotObjectResponseBody {
|
|
6
6
|
carrierReeferState?: Samsara.TrailerStatReeferStateTypeResponseBody | undefined;
|
|
7
|
+
/** A map of external ids */
|
|
8
|
+
externalIds?: Record<string, string> | undefined;
|
|
7
9
|
gps?: Samsara.TrailerStatGpsTypeResponseBody | undefined;
|
|
8
10
|
gpsOdometerMeters?: Samsara.TrailerStatGpsOdometerMetersTypeResponseBody | undefined;
|
|
9
11
|
/** ID of the trailer. */
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "13.
|
|
1
|
+
export declare const SDK_VERSION = "13.31.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "13.
|
|
1
|
+
export const SDK_VERSION = "13.31.0";
|