@samsarahq/samsara 13.5.0 → 13.6.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.
Files changed (33) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/betaApIs/client/requests/PlacesPatchPlaceRequestBody.d.ts +17 -0
  3. package/dist/cjs/api/resources/betaApIs/client/requests/PlacesPatchPlaceRequestBody.js +13 -0
  4. package/dist/cjs/api/resources/betaApIs/client/requests/PlacesPostPlaceRequestBody.d.ts +17 -0
  5. package/dist/cjs/api/resources/betaApIs/client/requests/PlacesPostPlaceRequestBody.js +13 -0
  6. package/dist/cjs/api/resources/betaApIs/client/requests/index.d.ts +2 -2
  7. package/dist/cjs/api/resources/betaApIs/client/requests/index.js +5 -1
  8. package/dist/cjs/api/types/PlaceStreetViewResponseRequestBody.d.ts +17 -0
  9. package/dist/cjs/api/types/PlaceStreetViewResponseRequestBody.js +3 -0
  10. package/dist/cjs/api/types/ServiceTaskInstanceInputObjectRequestBody.d.ts +2 -0
  11. package/dist/cjs/api/types/ServiceTaskInstanceObjectResponseBody.d.ts +2 -0
  12. package/dist/cjs/api/types/ServiceTaskInstanceWithTimeEntriesObjectResponseBody.d.ts +2 -0
  13. package/dist/cjs/api/types/index.d.ts +1 -0
  14. package/dist/cjs/api/types/index.js +1 -0
  15. package/dist/cjs/version.d.ts +1 -1
  16. package/dist/cjs/version.js +1 -1
  17. package/dist/esm/BaseClient.mjs +2 -2
  18. package/dist/esm/api/resources/betaApIs/client/requests/PlacesPatchPlaceRequestBody.d.mts +17 -0
  19. package/dist/esm/api/resources/betaApIs/client/requests/PlacesPatchPlaceRequestBody.mjs +12 -1
  20. package/dist/esm/api/resources/betaApIs/client/requests/PlacesPostPlaceRequestBody.d.mts +17 -0
  21. package/dist/esm/api/resources/betaApIs/client/requests/PlacesPostPlaceRequestBody.mjs +12 -1
  22. package/dist/esm/api/resources/betaApIs/client/requests/index.d.mts +2 -2
  23. package/dist/esm/api/resources/betaApIs/client/requests/index.mjs +2 -0
  24. package/dist/esm/api/types/PlaceStreetViewResponseRequestBody.d.mts +17 -0
  25. package/dist/esm/api/types/PlaceStreetViewResponseRequestBody.mjs +2 -0
  26. package/dist/esm/api/types/ServiceTaskInstanceInputObjectRequestBody.d.mts +2 -0
  27. package/dist/esm/api/types/ServiceTaskInstanceObjectResponseBody.d.mts +2 -0
  28. package/dist/esm/api/types/ServiceTaskInstanceWithTimeEntriesObjectResponseBody.d.mts +2 -0
  29. package/dist/esm/api/types/index.d.mts +1 -0
  30. package/dist/esm/api/types/index.mjs +1 -0
  31. package/dist/esm/version.d.mts +1 -1
  32. package/dist/esm/version.mjs +1 -1
  33. package/package.json +1 -1
@@ -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.5.0",
48
- "User-Agent": "@samsarahq/samsara/13.5.0",
47
+ "X-Fern-SDK-Version": "13.6.0",
48
+ "User-Agent": "@samsarahq/samsara/13.6.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",
@@ -12,11 +12,15 @@ export interface PlacesPatchPlaceRequestBody {
12
12
  externalId?: string;
13
13
  /** Single-line address string. */
14
14
  address?: string;
15
+ /** Camera recording mode: fullRecording, driverPrivacy, completePrivacy, or inherit. Valid values: `fullRecording`, `driverPrivacy`, `completePrivacy`, `inherit`, `unknown`, `unspecified` */
16
+ cameraRecordingModeType?: PlacesPatchPlaceRequestBody.CameraRecordingModeType;
15
17
  /** When present, replaces external ids for the place. */
16
18
  externalIds?: PlacesPatchPlaceRequestBody.ExternalIds;
17
19
  /** Polygon vertices; at least three when switching to polygon mode. */
18
20
  geofence?: Samsara.GeofenceVertexInputRequestBody[];
19
21
  hubLocations?: Samsara.PatchPlaceHubLocationsBodyRequestBody;
22
+ /** When present, replaces IFTA exemption types for the place. */
23
+ iftaExemptionTypes?: string[];
20
24
  /** Center latitude when switching to or editing a circle geofence. */
21
25
  latitude?: number;
22
26
  /** Center longitude when switching to or editing a circle geofence. */
@@ -30,10 +34,23 @@ export interface PlacesPatchPlaceRequestBody {
30
34
  placeTypes?: string[];
31
35
  /** Circle radius in meters; use with latitude and longitude. */
32
36
  radiusMeters?: number;
37
+ /** When present, replaces safety event exclusions for the place. */
38
+ safetyEventExclusions?: string[];
39
+ streetView?: Samsara.PlaceStreetViewResponseRequestBody;
33
40
  /** When present, replaces all tag associations for the place. */
34
41
  tags?: Samsara.PostPlaceTagRefRequestBody[];
35
42
  }
36
43
  export declare namespace PlacesPatchPlaceRequestBody {
44
+ /** Camera recording mode: fullRecording, driverPrivacy, completePrivacy, or inherit. Valid values: `fullRecording`, `driverPrivacy`, `completePrivacy`, `inherit`, `unknown`, `unspecified` */
45
+ const CameraRecordingModeType: {
46
+ readonly FullRecording: "fullRecording";
47
+ readonly DriverPrivacy: "driverPrivacy";
48
+ readonly CompletePrivacy: "completePrivacy";
49
+ readonly Inherit: "inherit";
50
+ readonly Unknown: "unknown";
51
+ readonly Unspecified: "unspecified";
52
+ };
53
+ type CameraRecordingModeType = (typeof CameraRecordingModeType)[keyof typeof CameraRecordingModeType];
37
54
  /**
38
55
  * When present, replaces external ids for the place.
39
56
  */
@@ -1,3 +1,16 @@
1
1
  "use strict";
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.PlacesPatchPlaceRequestBody = void 0;
5
+ var PlacesPatchPlaceRequestBody;
6
+ (function (PlacesPatchPlaceRequestBody) {
7
+ /** Camera recording mode: fullRecording, driverPrivacy, completePrivacy, or inherit. Valid values: `fullRecording`, `driverPrivacy`, `completePrivacy`, `inherit`, `unknown`, `unspecified` */
8
+ PlacesPatchPlaceRequestBody.CameraRecordingModeType = {
9
+ FullRecording: "fullRecording",
10
+ DriverPrivacy: "driverPrivacy",
11
+ CompletePrivacy: "completePrivacy",
12
+ Inherit: "inherit",
13
+ Unknown: "unknown",
14
+ Unspecified: "unspecified",
15
+ };
16
+ })(PlacesPatchPlaceRequestBody || (exports.PlacesPatchPlaceRequestBody = PlacesPatchPlaceRequestBody = {}));
@@ -9,12 +9,16 @@ import type * as Samsara from "../../../../index.js";
9
9
  export interface PlacesPostPlaceRequestBody {
10
10
  /** Single-line address string. */
11
11
  address: string;
12
+ /** Camera recording mode: fullRecording, driverPrivacy, completePrivacy, or inherit. Valid values: `fullRecording`, `driverPrivacy`, `completePrivacy`, `inherit`, `unknown`, `unspecified` */
13
+ cameraRecordingModeType?: PlacesPostPlaceRequestBody.CameraRecordingModeType;
12
14
  /** External identifiers. */
13
15
  externalIds?: PlacesPostPlaceRequestBody.ExternalIds;
14
16
  /** Polygon vertices; at least three when using polygon mode (omit entirely when using latitude, longitude, and radiusMeters for a circle). */
15
17
  geofence?: Samsara.GeofenceVertexInputRequestBody[];
16
18
  /** Initial route-planning hub rows for the new place. Each entry requires hubId. Omit hubLocationId to let the server assign a row UUID, or set hubLocationId to pin the UUID for idempotent creates. */
17
19
  hubLocations?: Samsara.PatchPlaceHubLocationUpsertBodyRequestBody[];
20
+ /** IFTA exemption types for this place. */
21
+ iftaExemptionTypes?: string[];
18
22
  /** Center latitude when using a circle geofence with radiusMeters. */
19
23
  latitude?: number;
20
24
  /** Center longitude when using a circle geofence with radiusMeters. */
@@ -28,10 +32,23 @@ export interface PlacesPostPlaceRequestBody {
28
32
  placeTypes?: string[];
29
33
  /** Circle radius in meters; requires latitude and longitude. Must be at least 1 when set. */
30
34
  radiusMeters?: number;
35
+ /** Safety event types excluded at this place. */
36
+ safetyEventExclusions?: string[];
37
+ streetView?: Samsara.PlaceStreetViewResponseRequestBody;
31
38
  /** Tags to associate. */
32
39
  tags?: Samsara.PostPlaceTagRefRequestBody[];
33
40
  }
34
41
  export declare namespace PlacesPostPlaceRequestBody {
42
+ /** Camera recording mode: fullRecording, driverPrivacy, completePrivacy, or inherit. Valid values: `fullRecording`, `driverPrivacy`, `completePrivacy`, `inherit`, `unknown`, `unspecified` */
43
+ const CameraRecordingModeType: {
44
+ readonly FullRecording: "fullRecording";
45
+ readonly DriverPrivacy: "driverPrivacy";
46
+ readonly CompletePrivacy: "completePrivacy";
47
+ readonly Inherit: "inherit";
48
+ readonly Unknown: "unknown";
49
+ readonly Unspecified: "unspecified";
50
+ };
51
+ type CameraRecordingModeType = (typeof CameraRecordingModeType)[keyof typeof CameraRecordingModeType];
35
52
  /**
36
53
  * External identifiers.
37
54
  */
@@ -1,3 +1,16 @@
1
1
  "use strict";
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.PlacesPostPlaceRequestBody = void 0;
5
+ var PlacesPostPlaceRequestBody;
6
+ (function (PlacesPostPlaceRequestBody) {
7
+ /** Camera recording mode: fullRecording, driverPrivacy, completePrivacy, or inherit. Valid values: `fullRecording`, `driverPrivacy`, `completePrivacy`, `inherit`, `unknown`, `unspecified` */
8
+ PlacesPostPlaceRequestBody.CameraRecordingModeType = {
9
+ FullRecording: "fullRecording",
10
+ DriverPrivacy: "driverPrivacy",
11
+ CompletePrivacy: "completePrivacy",
12
+ Inherit: "inherit",
13
+ Unknown: "unknown",
14
+ Unspecified: "unspecified",
15
+ };
16
+ })(PlacesPostPlaceRequestBody || (exports.PlacesPostPlaceRequestBody = PlacesPostPlaceRequestBody = {}));
@@ -55,8 +55,8 @@ export type { ListRidershipPassengersRequest } from "./ListRidershipPassengersRe
55
55
  export type { ListRidershipRouteSetupsRequest } from "./ListRidershipRouteSetupsRequest.js";
56
56
  export type { ListTachographLiveDataRequest } from "./ListTachographLiveDataRequest.js";
57
57
  export type { ListVendorCategoriesRequest } from "./ListVendorCategoriesRequest.js";
58
- export type { PlacesPatchPlaceRequestBody } from "./PlacesPatchPlaceRequestBody.js";
59
- export type { PlacesPostPlaceRequestBody } from "./PlacesPostPlaceRequestBody.js";
58
+ export { PlacesPatchPlaceRequestBody } from "./PlacesPatchPlaceRequestBody.js";
59
+ export { PlacesPostPlaceRequestBody } from "./PlacesPostPlaceRequestBody.js";
60
60
  export type { PreferredStationsPatchPreferredStationRequestBody } from "./PreferredStationsPatchPreferredStationRequestBody.js";
61
61
  export type { PreferredStationsPostPreferredStationRequestBody } from "./PreferredStationsPostPreferredStationRequestBody.js";
62
62
  export type { QualificationsArchiveQualificationRecordRequestBody } from "./QualificationsArchiveQualificationRecordRequestBody.js";
@@ -1,8 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SafetyEventsV2PatchSafetyEventsV2BatchRequestBody = exports.RidershipPassengersUpdateRidershipPassengerRequestBody = exports.RidershipPassengersCreateRidershipPassengerRequestBody = exports.DeviceRecoveryRecoverAssetRequestBody = void 0;
3
+ exports.SafetyEventsV2PatchSafetyEventsV2BatchRequestBody = exports.RidershipPassengersUpdateRidershipPassengerRequestBody = exports.RidershipPassengersCreateRidershipPassengerRequestBody = exports.PlacesPostPlaceRequestBody = exports.PlacesPatchPlaceRequestBody = exports.DeviceRecoveryRecoverAssetRequestBody = void 0;
4
4
  var DeviceRecoveryRecoverAssetRequestBody_js_1 = require("./DeviceRecoveryRecoverAssetRequestBody.js");
5
5
  Object.defineProperty(exports, "DeviceRecoveryRecoverAssetRequestBody", { enumerable: true, get: function () { return DeviceRecoveryRecoverAssetRequestBody_js_1.DeviceRecoveryRecoverAssetRequestBody; } });
6
+ var PlacesPatchPlaceRequestBody_js_1 = require("./PlacesPatchPlaceRequestBody.js");
7
+ Object.defineProperty(exports, "PlacesPatchPlaceRequestBody", { enumerable: true, get: function () { return PlacesPatchPlaceRequestBody_js_1.PlacesPatchPlaceRequestBody; } });
8
+ var PlacesPostPlaceRequestBody_js_1 = require("./PlacesPostPlaceRequestBody.js");
9
+ Object.defineProperty(exports, "PlacesPostPlaceRequestBody", { enumerable: true, get: function () { return PlacesPostPlaceRequestBody_js_1.PlacesPostPlaceRequestBody; } });
6
10
  var RidershipPassengersCreateRidershipPassengerRequestBody_js_1 = require("./RidershipPassengersCreateRidershipPassengerRequestBody.js");
7
11
  Object.defineProperty(exports, "RidershipPassengersCreateRidershipPassengerRequestBody", { enumerable: true, get: function () { return RidershipPassengersCreateRidershipPassengerRequestBody_js_1.RidershipPassengersCreateRidershipPassengerRequestBody; } });
8
12
  var RidershipPassengersUpdateRidershipPassengerRequestBody_js_1 = require("./RidershipPassengersUpdateRidershipPassengerRequestBody.js");
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Street view settings for a place.
3
+ */
4
+ export interface PlaceStreetViewResponseRequestBody {
5
+ /** Camera heading. */
6
+ heading?: number | undefined;
7
+ /** Whether street view is enabled. */
8
+ isEnabled: boolean;
9
+ /** Latitude. */
10
+ latitude?: number | undefined;
11
+ /** Longitude. */
12
+ longitude?: number | undefined;
13
+ /** Camera pitch. */
14
+ pitch?: number | undefined;
15
+ /** Zoom level. */
16
+ zoom?: number | undefined;
17
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -8,6 +8,8 @@ export interface ServiceTaskInstanceInputObjectRequestBody {
8
8
  laborHourlyCost?: Samsara.WorkOrderMoneyObjectRequestBody | undefined;
9
9
  /** The time of labor needed */
10
10
  laborTimeMinutes?: number | undefined;
11
+ /** Free-form technician notes for the service task. */
12
+ notes?: string | undefined;
11
13
  /** Parts for the service task. */
12
14
  parts?: Samsara.PartInstanceInputObjectRequestBody[] | undefined;
13
15
  partsCost?: Samsara.WorkOrderMoneyObjectRequestBody | undefined;
@@ -8,6 +8,8 @@ export interface ServiceTaskInstanceObjectResponseBody {
8
8
  laborHourlyCost?: Samsara.WorkOrderMoneyObjectResponseBody | undefined;
9
9
  /** The time of labor needed */
10
10
  laborTimeMinutes?: number | undefined;
11
+ /** Free-form technician notes for the service task. */
12
+ notes?: string | undefined;
11
13
  /** Parts for the service task. */
12
14
  parts?: Samsara.PartInstanceObjectResponseBody[] | undefined;
13
15
  partsCost?: Samsara.WorkOrderMoneyObjectResponseBody | undefined;
@@ -8,6 +8,8 @@ export interface ServiceTaskInstanceWithTimeEntriesObjectResponseBody {
8
8
  laborHourlyCost?: Samsara.WorkOrderMoneyObjectResponseBody | undefined;
9
9
  /** The time of labor needed */
10
10
  laborTimeMinutes?: number | undefined;
11
+ /** Free-form technician notes for the service task. */
12
+ notes?: string | undefined;
11
13
  /** Parts for the service task. */
12
14
  parts?: Samsara.PartInstanceObjectResponseBody[] | undefined;
13
15
  partsCost?: Samsara.WorkOrderMoneyObjectResponseBody | undefined;
@@ -1881,6 +1881,7 @@ export * from "./PlaceGeofenceVertexResponseResponseBody.js";
1881
1881
  export * from "./PlaceNavigationLocationResponseResponseBody.js";
1882
1882
  export * from "./PlaceNavigationResponseResponseBody.js";
1883
1883
  export * from "./PlaceResponseObjectResponseBody.js";
1884
+ export * from "./PlaceStreetViewResponseRequestBody.js";
1884
1885
  export * from "./PlaceStreetViewResponseResponseBody.js";
1885
1886
  export * from "./PlacesDeletePlaceBadGatewayErrorResponseBody.js";
1886
1887
  export * from "./PlacesDeletePlaceGatewayTimeoutErrorResponseBody.js";
@@ -1897,6 +1897,7 @@ __exportStar(require("./PlaceGeofenceVertexResponseResponseBody.js"), exports);
1897
1897
  __exportStar(require("./PlaceNavigationLocationResponseResponseBody.js"), exports);
1898
1898
  __exportStar(require("./PlaceNavigationResponseResponseBody.js"), exports);
1899
1899
  __exportStar(require("./PlaceResponseObjectResponseBody.js"), exports);
1900
+ __exportStar(require("./PlaceStreetViewResponseRequestBody.js"), exports);
1900
1901
  __exportStar(require("./PlaceStreetViewResponseResponseBody.js"), exports);
1901
1902
  __exportStar(require("./PlacesDeletePlaceBadGatewayErrorResponseBody.js"), exports);
1902
1903
  __exportStar(require("./PlacesDeletePlaceGatewayTimeoutErrorResponseBody.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "13.5.0";
1
+ export declare const SDK_VERSION = "13.6.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.5.0";
4
+ exports.SDK_VERSION = "13.6.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.5.0",
11
- "User-Agent": "@samsarahq/samsara/13.5.0",
10
+ "X-Fern-SDK-Version": "13.6.0",
11
+ "User-Agent": "@samsarahq/samsara/13.6.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",
@@ -12,11 +12,15 @@ export interface PlacesPatchPlaceRequestBody {
12
12
  externalId?: string;
13
13
  /** Single-line address string. */
14
14
  address?: string;
15
+ /** Camera recording mode: fullRecording, driverPrivacy, completePrivacy, or inherit. Valid values: `fullRecording`, `driverPrivacy`, `completePrivacy`, `inherit`, `unknown`, `unspecified` */
16
+ cameraRecordingModeType?: PlacesPatchPlaceRequestBody.CameraRecordingModeType;
15
17
  /** When present, replaces external ids for the place. */
16
18
  externalIds?: PlacesPatchPlaceRequestBody.ExternalIds;
17
19
  /** Polygon vertices; at least three when switching to polygon mode. */
18
20
  geofence?: Samsara.GeofenceVertexInputRequestBody[];
19
21
  hubLocations?: Samsara.PatchPlaceHubLocationsBodyRequestBody;
22
+ /** When present, replaces IFTA exemption types for the place. */
23
+ iftaExemptionTypes?: string[];
20
24
  /** Center latitude when switching to or editing a circle geofence. */
21
25
  latitude?: number;
22
26
  /** Center longitude when switching to or editing a circle geofence. */
@@ -30,10 +34,23 @@ export interface PlacesPatchPlaceRequestBody {
30
34
  placeTypes?: string[];
31
35
  /** Circle radius in meters; use with latitude and longitude. */
32
36
  radiusMeters?: number;
37
+ /** When present, replaces safety event exclusions for the place. */
38
+ safetyEventExclusions?: string[];
39
+ streetView?: Samsara.PlaceStreetViewResponseRequestBody;
33
40
  /** When present, replaces all tag associations for the place. */
34
41
  tags?: Samsara.PostPlaceTagRefRequestBody[];
35
42
  }
36
43
  export declare namespace PlacesPatchPlaceRequestBody {
44
+ /** Camera recording mode: fullRecording, driverPrivacy, completePrivacy, or inherit. Valid values: `fullRecording`, `driverPrivacy`, `completePrivacy`, `inherit`, `unknown`, `unspecified` */
45
+ const CameraRecordingModeType: {
46
+ readonly FullRecording: "fullRecording";
47
+ readonly DriverPrivacy: "driverPrivacy";
48
+ readonly CompletePrivacy: "completePrivacy";
49
+ readonly Inherit: "inherit";
50
+ readonly Unknown: "unknown";
51
+ readonly Unspecified: "unspecified";
52
+ };
53
+ type CameraRecordingModeType = (typeof CameraRecordingModeType)[keyof typeof CameraRecordingModeType];
37
54
  /**
38
55
  * When present, replaces external ids for the place.
39
56
  */
@@ -1,2 +1,13 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
- export {};
2
+ export var PlacesPatchPlaceRequestBody;
3
+ (function (PlacesPatchPlaceRequestBody) {
4
+ /** Camera recording mode: fullRecording, driverPrivacy, completePrivacy, or inherit. Valid values: `fullRecording`, `driverPrivacy`, `completePrivacy`, `inherit`, `unknown`, `unspecified` */
5
+ PlacesPatchPlaceRequestBody.CameraRecordingModeType = {
6
+ FullRecording: "fullRecording",
7
+ DriverPrivacy: "driverPrivacy",
8
+ CompletePrivacy: "completePrivacy",
9
+ Inherit: "inherit",
10
+ Unknown: "unknown",
11
+ Unspecified: "unspecified",
12
+ };
13
+ })(PlacesPatchPlaceRequestBody || (PlacesPatchPlaceRequestBody = {}));
@@ -9,12 +9,16 @@ import type * as Samsara from "../../../../index.mjs";
9
9
  export interface PlacesPostPlaceRequestBody {
10
10
  /** Single-line address string. */
11
11
  address: string;
12
+ /** Camera recording mode: fullRecording, driverPrivacy, completePrivacy, or inherit. Valid values: `fullRecording`, `driverPrivacy`, `completePrivacy`, `inherit`, `unknown`, `unspecified` */
13
+ cameraRecordingModeType?: PlacesPostPlaceRequestBody.CameraRecordingModeType;
12
14
  /** External identifiers. */
13
15
  externalIds?: PlacesPostPlaceRequestBody.ExternalIds;
14
16
  /** Polygon vertices; at least three when using polygon mode (omit entirely when using latitude, longitude, and radiusMeters for a circle). */
15
17
  geofence?: Samsara.GeofenceVertexInputRequestBody[];
16
18
  /** Initial route-planning hub rows for the new place. Each entry requires hubId. Omit hubLocationId to let the server assign a row UUID, or set hubLocationId to pin the UUID for idempotent creates. */
17
19
  hubLocations?: Samsara.PatchPlaceHubLocationUpsertBodyRequestBody[];
20
+ /** IFTA exemption types for this place. */
21
+ iftaExemptionTypes?: string[];
18
22
  /** Center latitude when using a circle geofence with radiusMeters. */
19
23
  latitude?: number;
20
24
  /** Center longitude when using a circle geofence with radiusMeters. */
@@ -28,10 +32,23 @@ export interface PlacesPostPlaceRequestBody {
28
32
  placeTypes?: string[];
29
33
  /** Circle radius in meters; requires latitude and longitude. Must be at least 1 when set. */
30
34
  radiusMeters?: number;
35
+ /** Safety event types excluded at this place. */
36
+ safetyEventExclusions?: string[];
37
+ streetView?: Samsara.PlaceStreetViewResponseRequestBody;
31
38
  /** Tags to associate. */
32
39
  tags?: Samsara.PostPlaceTagRefRequestBody[];
33
40
  }
34
41
  export declare namespace PlacesPostPlaceRequestBody {
42
+ /** Camera recording mode: fullRecording, driverPrivacy, completePrivacy, or inherit. Valid values: `fullRecording`, `driverPrivacy`, `completePrivacy`, `inherit`, `unknown`, `unspecified` */
43
+ const CameraRecordingModeType: {
44
+ readonly FullRecording: "fullRecording";
45
+ readonly DriverPrivacy: "driverPrivacy";
46
+ readonly CompletePrivacy: "completePrivacy";
47
+ readonly Inherit: "inherit";
48
+ readonly Unknown: "unknown";
49
+ readonly Unspecified: "unspecified";
50
+ };
51
+ type CameraRecordingModeType = (typeof CameraRecordingModeType)[keyof typeof CameraRecordingModeType];
35
52
  /**
36
53
  * External identifiers.
37
54
  */
@@ -1,2 +1,13 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
- export {};
2
+ export var PlacesPostPlaceRequestBody;
3
+ (function (PlacesPostPlaceRequestBody) {
4
+ /** Camera recording mode: fullRecording, driverPrivacy, completePrivacy, or inherit. Valid values: `fullRecording`, `driverPrivacy`, `completePrivacy`, `inherit`, `unknown`, `unspecified` */
5
+ PlacesPostPlaceRequestBody.CameraRecordingModeType = {
6
+ FullRecording: "fullRecording",
7
+ DriverPrivacy: "driverPrivacy",
8
+ CompletePrivacy: "completePrivacy",
9
+ Inherit: "inherit",
10
+ Unknown: "unknown",
11
+ Unspecified: "unspecified",
12
+ };
13
+ })(PlacesPostPlaceRequestBody || (PlacesPostPlaceRequestBody = {}));
@@ -55,8 +55,8 @@ export type { ListRidershipPassengersRequest } from "./ListRidershipPassengersRe
55
55
  export type { ListRidershipRouteSetupsRequest } from "./ListRidershipRouteSetupsRequest.mjs";
56
56
  export type { ListTachographLiveDataRequest } from "./ListTachographLiveDataRequest.mjs";
57
57
  export type { ListVendorCategoriesRequest } from "./ListVendorCategoriesRequest.mjs";
58
- export type { PlacesPatchPlaceRequestBody } from "./PlacesPatchPlaceRequestBody.mjs";
59
- export type { PlacesPostPlaceRequestBody } from "./PlacesPostPlaceRequestBody.mjs";
58
+ export { PlacesPatchPlaceRequestBody } from "./PlacesPatchPlaceRequestBody.mjs";
59
+ export { PlacesPostPlaceRequestBody } from "./PlacesPostPlaceRequestBody.mjs";
60
60
  export type { PreferredStationsPatchPreferredStationRequestBody } from "./PreferredStationsPatchPreferredStationRequestBody.mjs";
61
61
  export type { PreferredStationsPostPreferredStationRequestBody } from "./PreferredStationsPostPreferredStationRequestBody.mjs";
62
62
  export type { QualificationsArchiveQualificationRecordRequestBody } from "./QualificationsArchiveQualificationRecordRequestBody.mjs";
@@ -1,4 +1,6 @@
1
1
  export { DeviceRecoveryRecoverAssetRequestBody } from "./DeviceRecoveryRecoverAssetRequestBody.mjs";
2
+ export { PlacesPatchPlaceRequestBody } from "./PlacesPatchPlaceRequestBody.mjs";
3
+ export { PlacesPostPlaceRequestBody } from "./PlacesPostPlaceRequestBody.mjs";
2
4
  export { RidershipPassengersCreateRidershipPassengerRequestBody } from "./RidershipPassengersCreateRidershipPassengerRequestBody.mjs";
3
5
  export { RidershipPassengersUpdateRidershipPassengerRequestBody } from "./RidershipPassengersUpdateRidershipPassengerRequestBody.mjs";
4
6
  export { SafetyEventsV2PatchSafetyEventsV2BatchRequestBody } from "./SafetyEventsV2PatchSafetyEventsV2BatchRequestBody.mjs";
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Street view settings for a place.
3
+ */
4
+ export interface PlaceStreetViewResponseRequestBody {
5
+ /** Camera heading. */
6
+ heading?: number | undefined;
7
+ /** Whether street view is enabled. */
8
+ isEnabled: boolean;
9
+ /** Latitude. */
10
+ latitude?: number | undefined;
11
+ /** Longitude. */
12
+ longitude?: number | undefined;
13
+ /** Camera pitch. */
14
+ pitch?: number | undefined;
15
+ /** Zoom level. */
16
+ zoom?: number | undefined;
17
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -8,6 +8,8 @@ export interface ServiceTaskInstanceInputObjectRequestBody {
8
8
  laborHourlyCost?: Samsara.WorkOrderMoneyObjectRequestBody | undefined;
9
9
  /** The time of labor needed */
10
10
  laborTimeMinutes?: number | undefined;
11
+ /** Free-form technician notes for the service task. */
12
+ notes?: string | undefined;
11
13
  /** Parts for the service task. */
12
14
  parts?: Samsara.PartInstanceInputObjectRequestBody[] | undefined;
13
15
  partsCost?: Samsara.WorkOrderMoneyObjectRequestBody | undefined;
@@ -8,6 +8,8 @@ export interface ServiceTaskInstanceObjectResponseBody {
8
8
  laborHourlyCost?: Samsara.WorkOrderMoneyObjectResponseBody | undefined;
9
9
  /** The time of labor needed */
10
10
  laborTimeMinutes?: number | undefined;
11
+ /** Free-form technician notes for the service task. */
12
+ notes?: string | undefined;
11
13
  /** Parts for the service task. */
12
14
  parts?: Samsara.PartInstanceObjectResponseBody[] | undefined;
13
15
  partsCost?: Samsara.WorkOrderMoneyObjectResponseBody | undefined;
@@ -8,6 +8,8 @@ export interface ServiceTaskInstanceWithTimeEntriesObjectResponseBody {
8
8
  laborHourlyCost?: Samsara.WorkOrderMoneyObjectResponseBody | undefined;
9
9
  /** The time of labor needed */
10
10
  laborTimeMinutes?: number | undefined;
11
+ /** Free-form technician notes for the service task. */
12
+ notes?: string | undefined;
11
13
  /** Parts for the service task. */
12
14
  parts?: Samsara.PartInstanceObjectResponseBody[] | undefined;
13
15
  partsCost?: Samsara.WorkOrderMoneyObjectResponseBody | undefined;
@@ -1881,6 +1881,7 @@ export * from "./PlaceGeofenceVertexResponseResponseBody.mjs";
1881
1881
  export * from "./PlaceNavigationLocationResponseResponseBody.mjs";
1882
1882
  export * from "./PlaceNavigationResponseResponseBody.mjs";
1883
1883
  export * from "./PlaceResponseObjectResponseBody.mjs";
1884
+ export * from "./PlaceStreetViewResponseRequestBody.mjs";
1884
1885
  export * from "./PlaceStreetViewResponseResponseBody.mjs";
1885
1886
  export * from "./PlacesDeletePlaceBadGatewayErrorResponseBody.mjs";
1886
1887
  export * from "./PlacesDeletePlaceGatewayTimeoutErrorResponseBody.mjs";
@@ -1881,6 +1881,7 @@ export * from "./PlaceGeofenceVertexResponseResponseBody.mjs";
1881
1881
  export * from "./PlaceNavigationLocationResponseResponseBody.mjs";
1882
1882
  export * from "./PlaceNavigationResponseResponseBody.mjs";
1883
1883
  export * from "./PlaceResponseObjectResponseBody.mjs";
1884
+ export * from "./PlaceStreetViewResponseRequestBody.mjs";
1884
1885
  export * from "./PlaceStreetViewResponseResponseBody.mjs";
1885
1886
  export * from "./PlacesDeletePlaceBadGatewayErrorResponseBody.mjs";
1886
1887
  export * from "./PlacesDeletePlaceGatewayTimeoutErrorResponseBody.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "13.5.0";
1
+ export declare const SDK_VERSION = "13.6.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "13.5.0";
1
+ export const SDK_VERSION = "13.6.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@samsarahq/samsara",
3
- "version": "13.5.0",
3
+ "version": "13.6.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",