@samsarahq/samsara 13.35.0 → 13.36.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.35.0",
48
- "User-Agent": "@samsarahq/samsara/13.35.0",
47
+ "X-Fern-SDK-Version": "13.36.0",
48
+ "User-Agent": "@samsarahq/samsara/13.36.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",
@@ -135,6 +135,8 @@ export interface GetReadingsHistoryRequest {
135
135
  * * `remoteSensingDistance` (Sensor distance measurement): Distance measured by remote sensing device (meter)
136
136
  * * `smoothedFillMass` (Smoothed Fill Mass): Algorithm smoothed mass value in the vessel. (kilogram)
137
137
  * * `smoothedFillVolume` (Smoothed Fill Volume): Algorithm smoothed volume value in the vessel. (liter)
138
+ * * `totalCapacityMass` (Total Capacity Mass): Total mass capacity of the vessel. (kilogram)
139
+ * * `totalCapacityVolume` (Total Capacity Volume): Total volume capacity of the vessel. (liter)
138
140
  *
139
141
  * </details>
140
142
  *
@@ -135,6 +135,8 @@ export interface GetReadingsSnapshotRequest {
135
135
  * * `remoteSensingDistance` (Sensor distance measurement): Distance measured by remote sensing device (meter)
136
136
  * * `smoothedFillMass` (Smoothed Fill Mass): Algorithm smoothed mass value in the vessel. (kilogram)
137
137
  * * `smoothedFillVolume` (Smoothed Fill Volume): Algorithm smoothed volume value in the vessel. (liter)
138
+ * * `totalCapacityMass` (Total Capacity Mass): Total mass capacity of the vessel. (kilogram)
139
+ * * `totalCapacityVolume` (Total Capacity Volume): Total volume capacity of the vessel. (liter)
138
140
  *
139
141
  * </details>
140
142
  *
@@ -3,12 +3,12 @@ import type * as Samsara from "../index.js";
3
3
  * Action when auto-geofencing finds no matching candidate after filtering.
4
4
  */
5
5
  export interface PlaceGeofenceAutoFallbackBehaviorInputRequestBody {
6
- /** Fallback action: fail (default) or circle. Valid values: `fail`, `circle` */
6
+ /** Fallback action: fail (default) or circle. Optional when fallbackBehavior.circle is set; inferred as circle. Valid values: `fail`, `circle` */
7
7
  behaviorType?: PlaceGeofenceAutoFallbackBehaviorInputRequestBody.BehaviorType | undefined;
8
8
  circle?: Samsara.PlaceGeofenceAutoFallbackCircleInputRequestBody | undefined;
9
9
  }
10
10
  export declare namespace PlaceGeofenceAutoFallbackBehaviorInputRequestBody {
11
- /** Fallback action: fail (default) or circle. Valid values: `fail`, `circle` */
11
+ /** Fallback action: fail (default) or circle. Optional when fallbackBehavior.circle is set; inferred as circle. Valid values: `fail`, `circle` */
12
12
  const BehaviorType: {
13
13
  readonly Fail: "fail";
14
14
  readonly Circle: "circle";
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.PlaceGeofenceAutoFallbackBehaviorInputRequestBody = void 0;
5
5
  var PlaceGeofenceAutoFallbackBehaviorInputRequestBody;
6
6
  (function (PlaceGeofenceAutoFallbackBehaviorInputRequestBody) {
7
- /** Fallback action: fail (default) or circle. Valid values: `fail`, `circle` */
7
+ /** Fallback action: fail (default) or circle. Optional when fallbackBehavior.circle is set; inferred as circle. Valid values: `fail`, `circle` */
8
8
  PlaceGeofenceAutoFallbackBehaviorInputRequestBody.BehaviorType = {
9
9
  Fail: "fail",
10
10
  Circle: "circle",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Circle geometry used when fallbackBehavior.behaviorType is circle.
2
+ * Circle geometry for circle fallback. When present, behaviorType defaults to circle if omitted.
3
3
  */
4
4
  export interface PlaceGeofenceAutoFallbackCircleInputRequestBody {
5
5
  /** Fallback circle radius in meters; must be positive. */
@@ -2,10 +2,10 @@
2
2
  * Circle geofence on write.
3
3
  */
4
4
  export interface PlaceGeofenceCircleInputRequestBody {
5
- /** Circle center latitude in decimal degrees. */
6
- latitude: number;
7
- /** Circle center longitude in decimal degrees. */
8
- longitude: number;
5
+ /** Circle center latitude in decimal degrees. Omit on POST to geocode from top-level address. */
6
+ latitude?: number | undefined;
7
+ /** Circle center longitude in decimal degrees. Omit on POST to geocode from top-level address. */
8
+ longitude?: number | undefined;
9
9
  /** Radius in meters; must be positive. */
10
10
  radiusMeters: number;
11
11
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "13.35.0";
1
+ export declare const SDK_VERSION = "13.36.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.35.0";
4
+ exports.SDK_VERSION = "13.36.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.35.0",
11
- "User-Agent": "@samsarahq/samsara/13.35.0",
10
+ "X-Fern-SDK-Version": "13.36.0",
11
+ "User-Agent": "@samsarahq/samsara/13.36.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",
@@ -135,6 +135,8 @@ export interface GetReadingsHistoryRequest {
135
135
  * * `remoteSensingDistance` (Sensor distance measurement): Distance measured by remote sensing device (meter)
136
136
  * * `smoothedFillMass` (Smoothed Fill Mass): Algorithm smoothed mass value in the vessel. (kilogram)
137
137
  * * `smoothedFillVolume` (Smoothed Fill Volume): Algorithm smoothed volume value in the vessel. (liter)
138
+ * * `totalCapacityMass` (Total Capacity Mass): Total mass capacity of the vessel. (kilogram)
139
+ * * `totalCapacityVolume` (Total Capacity Volume): Total volume capacity of the vessel. (liter)
138
140
  *
139
141
  * </details>
140
142
  *
@@ -135,6 +135,8 @@ export interface GetReadingsSnapshotRequest {
135
135
  * * `remoteSensingDistance` (Sensor distance measurement): Distance measured by remote sensing device (meter)
136
136
  * * `smoothedFillMass` (Smoothed Fill Mass): Algorithm smoothed mass value in the vessel. (kilogram)
137
137
  * * `smoothedFillVolume` (Smoothed Fill Volume): Algorithm smoothed volume value in the vessel. (liter)
138
+ * * `totalCapacityMass` (Total Capacity Mass): Total mass capacity of the vessel. (kilogram)
139
+ * * `totalCapacityVolume` (Total Capacity Volume): Total volume capacity of the vessel. (liter)
138
140
  *
139
141
  * </details>
140
142
  *
@@ -3,12 +3,12 @@ import type * as Samsara from "../index.mjs";
3
3
  * Action when auto-geofencing finds no matching candidate after filtering.
4
4
  */
5
5
  export interface PlaceGeofenceAutoFallbackBehaviorInputRequestBody {
6
- /** Fallback action: fail (default) or circle. Valid values: `fail`, `circle` */
6
+ /** Fallback action: fail (default) or circle. Optional when fallbackBehavior.circle is set; inferred as circle. Valid values: `fail`, `circle` */
7
7
  behaviorType?: PlaceGeofenceAutoFallbackBehaviorInputRequestBody.BehaviorType | undefined;
8
8
  circle?: Samsara.PlaceGeofenceAutoFallbackCircleInputRequestBody | undefined;
9
9
  }
10
10
  export declare namespace PlaceGeofenceAutoFallbackBehaviorInputRequestBody {
11
- /** Fallback action: fail (default) or circle. Valid values: `fail`, `circle` */
11
+ /** Fallback action: fail (default) or circle. Optional when fallbackBehavior.circle is set; inferred as circle. Valid values: `fail`, `circle` */
12
12
  const BehaviorType: {
13
13
  readonly Fail: "fail";
14
14
  readonly Circle: "circle";
@@ -1,7 +1,7 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  export var PlaceGeofenceAutoFallbackBehaviorInputRequestBody;
3
3
  (function (PlaceGeofenceAutoFallbackBehaviorInputRequestBody) {
4
- /** Fallback action: fail (default) or circle. Valid values: `fail`, `circle` */
4
+ /** Fallback action: fail (default) or circle. Optional when fallbackBehavior.circle is set; inferred as circle. Valid values: `fail`, `circle` */
5
5
  PlaceGeofenceAutoFallbackBehaviorInputRequestBody.BehaviorType = {
6
6
  Fail: "fail",
7
7
  Circle: "circle",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Circle geometry used when fallbackBehavior.behaviorType is circle.
2
+ * Circle geometry for circle fallback. When present, behaviorType defaults to circle if omitted.
3
3
  */
4
4
  export interface PlaceGeofenceAutoFallbackCircleInputRequestBody {
5
5
  /** Fallback circle radius in meters; must be positive. */
@@ -2,10 +2,10 @@
2
2
  * Circle geofence on write.
3
3
  */
4
4
  export interface PlaceGeofenceCircleInputRequestBody {
5
- /** Circle center latitude in decimal degrees. */
6
- latitude: number;
7
- /** Circle center longitude in decimal degrees. */
8
- longitude: number;
5
+ /** Circle center latitude in decimal degrees. Omit on POST to geocode from top-level address. */
6
+ latitude?: number | undefined;
7
+ /** Circle center longitude in decimal degrees. Omit on POST to geocode from top-level address. */
8
+ longitude?: number | undefined;
9
9
  /** Radius in meters; must be positive. */
10
10
  radiusMeters: number;
11
11
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "13.35.0";
1
+ export declare const SDK_VERSION = "13.36.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "13.35.0";
1
+ export const SDK_VERSION = "13.36.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@samsarahq/samsara",
3
- "version": "13.35.0",
3
+ "version": "13.36.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",