@samsarahq/samsara 13.14.0 → 13.16.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.14.0",
48
- "User-Agent": "@samsarahq/samsara/13.14.0",
47
+ "X-Fern-SDK-Version": "13.16.0",
48
+ "User-Agent": "@samsarahq/samsara/13.16.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",
@@ -27,6 +27,7 @@ export interface CreateDriverRequest {
27
27
  eldPcEnabled?: boolean;
28
28
  /** Flag indicating this driver may select the Yard Move duty status in ELD logs. */
29
29
  eldYmEnabled?: boolean;
30
+ email?: Samsara.DriverEmail;
30
31
  /** The [external IDs](https://developers.samsara.com/docs/external-ids) for the given object. */
31
32
  externalIds?: Record<string, string>;
32
33
  hasDrivingFeaturesHidden?: Samsara.DriverHasDrivingFeaturesHidden;
@@ -31,6 +31,7 @@ export interface UpdateDriverRequest {
31
31
  eldPcEnabled?: boolean;
32
32
  /** Flag indicating this driver may select the Yard Move duty status in ELD logs. */
33
33
  eldYmEnabled?: boolean;
34
+ email?: Samsara.DriverEmail;
34
35
  /** The [external IDs](https://developers.samsara.com/docs/external-ids) for the given object. */
35
36
  externalIds?: Record<string, string>;
36
37
  hasDrivingFeaturesHidden?: Samsara.DriverHasDrivingFeaturesHidden;
@@ -18,6 +18,7 @@ export interface Driver {
18
18
  eldPcEnabled?: Samsara.DriverEldPcEnabled | undefined;
19
19
  eldSettings?: Samsara.DriverEldSettings | undefined;
20
20
  eldYmEnabled?: Samsara.DriverEldYmEnabled | undefined;
21
+ email?: Samsara.DriverEmail | undefined;
21
22
  externalIds?: Samsara.DriverExternalIds | undefined;
22
23
  hasDrivingFeaturesHidden?: Samsara.DriverHasDrivingFeaturesHidden | undefined;
23
24
  hasVehicleUnpinningEnabled?: Samsara.DriverHasVehicleUnpinningEnabled | undefined;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Driver's email address.
3
+ */
4
+ export type DriverEmail = string;
@@ -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 });
@@ -3,7 +3,7 @@ import type * as Samsara from "../index.js";
3
3
  * Hub location upsert entry for PATCH /places.
4
4
  */
5
5
  export interface PatchPlaceHubLocationUpsertBodyRequestBody {
6
- /** Optional label; stored as planner-facing notes for this hub row. */
6
+ /** Optional label override for this hub location row. */
7
7
  displayName?: string | undefined;
8
8
  /** External identifier for this hub row. */
9
9
  externalId?: string | undefined;
@@ -20,6 +20,8 @@ export interface PatchPlaceHubLocationUpsertBodyRequestBody {
20
20
  /** Route priority from 1 (lowest) to 5 (highest). */
21
21
  locationPriority?: number | undefined;
22
22
  orderServiceTime?: Samsara.PlaceHubLocationOrderServiceTimeInputRequestBody | undefined;
23
+ /** Planner-facing notes for this hub location row. */
24
+ plannerNotes?: string | undefined;
23
25
  /** Required planner skills for this hub location. */
24
26
  requiredSkills?: Samsara.PlaceHubLocationRequiredSkillInputRequestBody[] | undefined;
25
27
  serviceTime?: Samsara.PlaceHubLocationServiceTimeInputRequestBody | undefined;
@@ -563,6 +563,7 @@ export * from "./DriverEldRulesetShift.js";
563
563
  export * from "./DriverEldRulesets.js";
564
564
  export * from "./DriverEldSettings.js";
565
565
  export * from "./DriverEldYmEnabled.js";
566
+ export * from "./DriverEmail.js";
566
567
  export * from "./DriverExternalIds.js";
567
568
  export * from "./DriverHasDrivingFeaturesHidden.js";
568
569
  export * from "./DriverHasVehicleUnpinningEnabled.js";
@@ -579,6 +579,7 @@ __exportStar(require("./DriverEldRulesetShift.js"), exports);
579
579
  __exportStar(require("./DriverEldRulesets.js"), exports);
580
580
  __exportStar(require("./DriverEldSettings.js"), exports);
581
581
  __exportStar(require("./DriverEldYmEnabled.js"), exports);
582
+ __exportStar(require("./DriverEmail.js"), exports);
582
583
  __exportStar(require("./DriverExternalIds.js"), exports);
583
584
  __exportStar(require("./DriverHasDrivingFeaturesHidden.js"), exports);
584
585
  __exportStar(require("./DriverHasVehicleUnpinningEnabled.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "13.14.0";
1
+ export declare const SDK_VERSION = "13.16.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.14.0";
4
+ exports.SDK_VERSION = "13.16.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.14.0",
11
- "User-Agent": "@samsarahq/samsara/13.14.0",
10
+ "X-Fern-SDK-Version": "13.16.0",
11
+ "User-Agent": "@samsarahq/samsara/13.16.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",
@@ -27,6 +27,7 @@ export interface CreateDriverRequest {
27
27
  eldPcEnabled?: boolean;
28
28
  /** Flag indicating this driver may select the Yard Move duty status in ELD logs. */
29
29
  eldYmEnabled?: boolean;
30
+ email?: Samsara.DriverEmail;
30
31
  /** The [external IDs](https://developers.samsara.com/docs/external-ids) for the given object. */
31
32
  externalIds?: Record<string, string>;
32
33
  hasDrivingFeaturesHidden?: Samsara.DriverHasDrivingFeaturesHidden;
@@ -31,6 +31,7 @@ export interface UpdateDriverRequest {
31
31
  eldPcEnabled?: boolean;
32
32
  /** Flag indicating this driver may select the Yard Move duty status in ELD logs. */
33
33
  eldYmEnabled?: boolean;
34
+ email?: Samsara.DriverEmail;
34
35
  /** The [external IDs](https://developers.samsara.com/docs/external-ids) for the given object. */
35
36
  externalIds?: Record<string, string>;
36
37
  hasDrivingFeaturesHidden?: Samsara.DriverHasDrivingFeaturesHidden;
@@ -18,6 +18,7 @@ export interface Driver {
18
18
  eldPcEnabled?: Samsara.DriverEldPcEnabled | undefined;
19
19
  eldSettings?: Samsara.DriverEldSettings | undefined;
20
20
  eldYmEnabled?: Samsara.DriverEldYmEnabled | undefined;
21
+ email?: Samsara.DriverEmail | undefined;
21
22
  externalIds?: Samsara.DriverExternalIds | undefined;
22
23
  hasDrivingFeaturesHidden?: Samsara.DriverHasDrivingFeaturesHidden | undefined;
23
24
  hasVehicleUnpinningEnabled?: Samsara.DriverHasVehicleUnpinningEnabled | undefined;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Driver's email address.
3
+ */
4
+ export type DriverEmail = string;
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -3,7 +3,7 @@ import type * as Samsara from "../index.mjs";
3
3
  * Hub location upsert entry for PATCH /places.
4
4
  */
5
5
  export interface PatchPlaceHubLocationUpsertBodyRequestBody {
6
- /** Optional label; stored as planner-facing notes for this hub row. */
6
+ /** Optional label override for this hub location row. */
7
7
  displayName?: string | undefined;
8
8
  /** External identifier for this hub row. */
9
9
  externalId?: string | undefined;
@@ -20,6 +20,8 @@ export interface PatchPlaceHubLocationUpsertBodyRequestBody {
20
20
  /** Route priority from 1 (lowest) to 5 (highest). */
21
21
  locationPriority?: number | undefined;
22
22
  orderServiceTime?: Samsara.PlaceHubLocationOrderServiceTimeInputRequestBody | undefined;
23
+ /** Planner-facing notes for this hub location row. */
24
+ plannerNotes?: string | undefined;
23
25
  /** Required planner skills for this hub location. */
24
26
  requiredSkills?: Samsara.PlaceHubLocationRequiredSkillInputRequestBody[] | undefined;
25
27
  serviceTime?: Samsara.PlaceHubLocationServiceTimeInputRequestBody | undefined;
@@ -563,6 +563,7 @@ export * from "./DriverEldRulesetShift.mjs";
563
563
  export * from "./DriverEldRulesets.mjs";
564
564
  export * from "./DriverEldSettings.mjs";
565
565
  export * from "./DriverEldYmEnabled.mjs";
566
+ export * from "./DriverEmail.mjs";
566
567
  export * from "./DriverExternalIds.mjs";
567
568
  export * from "./DriverHasDrivingFeaturesHidden.mjs";
568
569
  export * from "./DriverHasVehicleUnpinningEnabled.mjs";
@@ -563,6 +563,7 @@ export * from "./DriverEldRulesetShift.mjs";
563
563
  export * from "./DriverEldRulesets.mjs";
564
564
  export * from "./DriverEldSettings.mjs";
565
565
  export * from "./DriverEldYmEnabled.mjs";
566
+ export * from "./DriverEmail.mjs";
566
567
  export * from "./DriverExternalIds.mjs";
567
568
  export * from "./DriverHasDrivingFeaturesHidden.mjs";
568
569
  export * from "./DriverHasVehicleUnpinningEnabled.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "13.14.0";
1
+ export declare const SDK_VERSION = "13.16.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "13.14.0";
1
+ export const SDK_VERSION = "13.16.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@samsarahq/samsara",
3
- "version": "13.14.0",
3
+ "version": "13.16.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",