@samsarahq/samsara 5.9.0 → 5.10.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 (35) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/addresses/client/requests/CreateAddressRequest.d.ts +3 -1
  3. package/dist/cjs/api/resources/addresses/client/requests/CreateAddressRequest.js +2 -0
  4. package/dist/cjs/api/resources/addresses/client/requests/UpdateAddressRequest.d.ts +3 -1
  5. package/dist/cjs/api/resources/addresses/client/requests/UpdateAddressRequest.js +2 -0
  6. package/dist/cjs/api/resources/betaApIs/client/requests/GetReadingsHistoryRequest.d.ts +25 -6
  7. package/dist/cjs/api/resources/betaApIs/client/requests/GetReadingsSnapshotRequest.d.ts +25 -6
  8. package/dist/cjs/api/types/Address.d.ts +3 -1
  9. package/dist/cjs/api/types/Address.js +2 -0
  10. package/dist/cjs/api/types/IdlingEventAddressObjectResponseBody.d.ts +3 -1
  11. package/dist/cjs/api/types/IdlingEventAddressObjectResponseBody.js +3 -1
  12. package/dist/cjs/api/types/LocationObjectRequestBody.d.ts +3 -1
  13. package/dist/cjs/api/types/LocationObjectRequestBody.js +3 -1
  14. package/dist/cjs/api/types/LocationObjectResponseBody.d.ts +3 -1
  15. package/dist/cjs/api/types/LocationObjectResponseBody.js +3 -1
  16. package/dist/cjs/version.d.ts +1 -1
  17. package/dist/cjs/version.js +1 -1
  18. package/dist/esm/BaseClient.mjs +2 -2
  19. package/dist/esm/api/resources/addresses/client/requests/CreateAddressRequest.d.mts +3 -1
  20. package/dist/esm/api/resources/addresses/client/requests/CreateAddressRequest.mjs +2 -0
  21. package/dist/esm/api/resources/addresses/client/requests/UpdateAddressRequest.d.mts +3 -1
  22. package/dist/esm/api/resources/addresses/client/requests/UpdateAddressRequest.mjs +2 -0
  23. package/dist/esm/api/resources/betaApIs/client/requests/GetReadingsHistoryRequest.d.mts +25 -6
  24. package/dist/esm/api/resources/betaApIs/client/requests/GetReadingsSnapshotRequest.d.mts +25 -6
  25. package/dist/esm/api/types/Address.d.mts +3 -1
  26. package/dist/esm/api/types/Address.mjs +2 -0
  27. package/dist/esm/api/types/IdlingEventAddressObjectResponseBody.d.mts +3 -1
  28. package/dist/esm/api/types/IdlingEventAddressObjectResponseBody.mjs +3 -1
  29. package/dist/esm/api/types/LocationObjectRequestBody.d.mts +3 -1
  30. package/dist/esm/api/types/LocationObjectRequestBody.mjs +3 -1
  31. package/dist/esm/api/types/LocationObjectResponseBody.d.mts +3 -1
  32. package/dist/esm/api/types/LocationObjectResponseBody.mjs +3 -1
  33. package/dist/esm/version.d.mts +1 -1
  34. package/dist/esm/version.mjs +1 -1
  35. 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": "5.9.0",
48
- "User-Agent": "@samsarahq/samsara/5.9.0",
47
+ "X-Fern-SDK-Version": "5.10.0",
48
+ "User-Agent": "@samsarahq/samsara/5.10.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",
@@ -8,7 +8,7 @@ import type * as Samsara from "../../../../index.js";
8
8
  * }
9
9
  */
10
10
  export interface CreateAddressRequest {
11
- /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`. */
11
+ /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`, `vendor`, `inventory`. */
12
12
  addressTypes?: CreateAddressRequest.AddressTypes.Item[];
13
13
  /** An array of Contact IDs associated with this Address. */
14
14
  contactIds?: string[];
@@ -43,6 +43,8 @@ export declare namespace CreateAddressRequest {
43
43
  readonly KnownGpsJammingZone: "knownGPSJammingZone";
44
44
  readonly AuthorizedZone: "authorizedZone";
45
45
  readonly UnauthorizedZone: "unauthorizedZone";
46
+ readonly Vendor: "vendor";
47
+ readonly Inventory: "inventory";
46
48
  };
47
49
  type Item = (typeof Item)[keyof typeof Item];
48
50
  }
@@ -18,6 +18,8 @@ var CreateAddressRequest;
18
18
  KnownGpsJammingZone: "knownGPSJammingZone",
19
19
  AuthorizedZone: "authorizedZone",
20
20
  UnauthorizedZone: "unauthorizedZone",
21
+ Vendor: "vendor",
22
+ Inventory: "inventory",
21
23
  };
22
24
  })(AddressTypes = CreateAddressRequest.AddressTypes || (CreateAddressRequest.AddressTypes = {}));
23
25
  })(CreateAddressRequest || (exports.CreateAddressRequest = CreateAddressRequest = {}));
@@ -8,7 +8,7 @@ import type * as Samsara from "../../../../index.js";
8
8
  export interface UpdateAddressRequest {
9
9
  /** ID of the Address. This can either be the Samsara-provided ID or an external ID. External IDs are customer-specified key-value pairs created in the POST or PATCH requests of this resource. To specify an external ID as part of a path parameter, use the following format: `key:value`. For example, `crmId:abc123` */
10
10
  id: string;
11
- /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`. */
11
+ /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`, `vendor`, `inventory`. */
12
12
  addressTypes?: UpdateAddressRequest.AddressTypes.Item[];
13
13
  /** An array of Contact IDs associated with this Address. */
14
14
  contactIds?: string[];
@@ -43,6 +43,8 @@ export declare namespace UpdateAddressRequest {
43
43
  readonly KnownGpsJammingZone: "knownGPSJammingZone";
44
44
  readonly AuthorizedZone: "authorizedZone";
45
45
  readonly UnauthorizedZone: "unauthorizedZone";
46
+ readonly Vendor: "vendor";
47
+ readonly Inventory: "inventory";
46
48
  };
47
49
  type Item = (typeof Item)[keyof typeof Item];
48
50
  }
@@ -18,6 +18,8 @@ var UpdateAddressRequest;
18
18
  KnownGpsJammingZone: "knownGPSJammingZone",
19
19
  AuthorizedZone: "authorizedZone",
20
20
  UnauthorizedZone: "unauthorizedZone",
21
+ Vendor: "vendor",
22
+ Inventory: "inventory",
21
23
  };
22
24
  })(AddressTypes = UpdateAddressRequest.AddressTypes || (UpdateAddressRequest.AddressTypes = {}));
23
25
  })(UpdateAddressRequest || (exports.UpdateAddressRequest = UpdateAddressRequest = {}));
@@ -14,7 +14,8 @@ export interface GetReadingsHistoryRequest {
14
14
  * Available reading IDs (by category):
15
15
  *
16
16
  *
17
- * **diagnostic**
17
+ * <details>
18
+ * <summary><strong>diagnostic</strong></summary>
18
19
  *
19
20
  * * `airInletPressure` (Air Inlet Pressure): Air inlet pressure. (kilopascal)
20
21
  * * `airTemp` (Air Inlet (Ambient Air) Temp): Air inlet (ambient air) temperature. (celsius)
@@ -87,6 +88,7 @@ export interface GetReadingsHistoryRequest {
87
88
  * * `phaseCLLVolts` (Phase C Line-to-Line Voltage): Line-to-line voltage for Phase C in volts. (volt)
88
89
  * * `phaseCLNVolts` (Phase C Line-to-Neutral Voltage): Line-to-neutral voltage for Phase C in volts. (volt)
89
90
  * * `powerFactorRatio` (Power Factor Ratio): Represents the power factor ratio. (percent)
91
+ * * `rfidCardIdScan` (RFID Card Scan): The card number from RFID Card scans used for identification. When a user taps their RFID card on the reader, this captures the unique card code.
90
92
  * * `samsaraEngineHours` (Samsara Engine Hours): Samsara's intelligent engine hours calculation that combines ECU data, synthetic calculations, and manual overrides with automatic fallbacks for optimal accuracy across all asset types. (millisecond)
91
93
  * * `samsaraEngineHoursWithSource` (Samsara Engine Hours with Source): Samsara's intelligent engine hours calculation including detailed source metadata to indicate the origin of the data (ECU, synthetic, or manual override). Useful for debugging and understanding data provenance.
92
94
  * * `samsaraOdometer` (Samsara Odometer): Samsara automatically pulls odometer readings from a vehicle's engine control unit (ECU). If the reading isn't available and the vehicle is unregulated, you can manually enter the odometer value for maintenance tracking—this value will then update based on GPS trip data. (kilometer)
@@ -105,7 +107,10 @@ export interface GetReadingsHistoryRequest {
105
107
  * * `totalReactivePower` (Total Reactive Power): Total reactive power in volt-amperes reactive. (voltAmpereReactive)
106
108
  * * `totalRealPower` (Total Real Power): Total real power in watts. (watt)
107
109
  *
108
- * **levelMonitoring**
110
+ * </details>
111
+ *
112
+ * <details>
113
+ * <summary><strong>levelMonitoring</strong></summary>
109
114
  *
110
115
  * * `fillCriticality` (Fill Level Criticality): Indicates if the state of the fill level is critical. (values: normal | criticallyHigh | criticallyLow)
111
116
  * * `fillMass` (Fill Mass): Mass of material in the vessel. (kilogram)
@@ -115,7 +120,10 @@ export interface GetReadingsHistoryRequest {
115
120
  * * `fillVolumeAvailableCapacity` (Fill Volume Available Capacity): Available volume to be filled in the vessel. (liter)
116
121
  * * `fluidLevelStatus` (Battery Water Level): The status of the battery's water level. Will be OK or LOW. (values: noData | ok | low)
117
122
  *
118
- * **obd**
123
+ * </details>
124
+ *
125
+ * <details>
126
+ * <summary><strong>obd</strong></summary>
119
127
  *
120
128
  * * `accDistanceAlertSignal` (ACC Distance Alert): Distance Alert Signal from the Adaptive Cruise Control system. (values: notActive | active)
121
129
  * * `adaptiveCruiseControlMode` (ACC Mode): Current mode of the Adaptive Cruise Control System. (values: off | speedControlActive | distanceControlActive | overtakeMode | holdMode | finishMode | disabledOrError)
@@ -152,13 +160,19 @@ export interface GetReadingsHistoryRequest {
152
160
  * * `ycBrakeControlActive` (YC Brake Control Active): Indicates whether Yaw Control (YC) has activated brake control. (values: passive | active)
153
161
  * * `ycEngineControlActive` (YC Engine Control Active): Indicates whether Yaw Control (YC) has commanded engine control to be active. (values: passive | active)
154
162
  *
155
- * **pressureVesselHealth**
163
+ * </details>
164
+ *
165
+ * <details>
166
+ * <summary><strong>pressureVesselHealth</strong></summary>
156
167
  *
157
168
  * * `pressureVesselBatteryLevelPercentage` (Pressure Vessel Battery Level Percentage): Battery level percentage of the pressure vessel. (percent)
158
169
  * * `pressureVesselPressure` (Pressure Vessel Pressure): Pressure of the pressure vessel. (kilopascal)
159
170
  * * `pressureVesselTemperature` (Pressure Vessel Temperature): Temperature of the pressure vessel. (celsius)
160
171
  *
161
- * **reefer**
172
+ * </details>
173
+ *
174
+ * <details>
175
+ * <summary><strong>reefer</strong></summary>
162
176
  *
163
177
  * * `reeferAlarm` (Reefer Alarms): Array of active alarm codes for the refrigeration unit with metadata
164
178
  * * `reeferAlarmSeverity` (Reefer Alarm Severity): Highest severity level across active reefer alarms (green, yellow, red, orange) (values: none | green | yellow | red | orange)
@@ -191,7 +205,10 @@ export interface GetReadingsHistoryRequest {
191
205
  * * `reeferTemperatureRecorder5` (Reefer Temperature Recorder (Zone 5)): Temperature recorder reading for reefer zone 5 (celsius)
192
206
  * * `reeferTemperatureRecorder6` (Reefer Temperature Recorder (Zone 6)): Temperature recorder reading for reefer zone 6 (celsius)
193
207
  *
194
- * **smartTrailer**
208
+ * </details>
209
+ *
210
+ * <details>
211
+ * <summary><strong>smartTrailer</strong></summary>
195
212
  *
196
213
  * * `addressEntry` (Address Entry): Address data from the address entry event
197
214
  * * `addressExit` (Address Exit): Address data from the address exit event
@@ -210,6 +227,8 @@ export interface GetReadingsHistoryRequest {
210
227
  * * `widgetBatteryVoltageLow` (Widget Battery Voltage Low): Indicates if widget battery voltage is below 1500mV threshold (values: normal | low)
211
228
  * * `widgetDisconnect` (Widget Disconnection Status): Connection status between widget and device (values: connected | disconnected)
212
229
  *
230
+ * </details>
231
+ *
213
232
  * **Note:** This is not an exhaustive list. Your organization may have access to additional readings based on enabled features or custom configurations. Use the `/readings/definitions` endpoint to retrieve all available reading IDs for your organization.
214
233
  */
215
234
  readingId: string;
@@ -14,7 +14,8 @@ export interface GetReadingsSnapshotRequest {
14
14
  * Available reading IDs (by category):
15
15
  *
16
16
  *
17
- * **diagnostic**
17
+ * <details>
18
+ * <summary><strong>diagnostic</strong></summary>
18
19
  *
19
20
  * * `airInletPressure` (Air Inlet Pressure): Air inlet pressure. (kilopascal)
20
21
  * * `airTemp` (Air Inlet (Ambient Air) Temp): Air inlet (ambient air) temperature. (celsius)
@@ -87,6 +88,7 @@ export interface GetReadingsSnapshotRequest {
87
88
  * * `phaseCLLVolts` (Phase C Line-to-Line Voltage): Line-to-line voltage for Phase C in volts. (volt)
88
89
  * * `phaseCLNVolts` (Phase C Line-to-Neutral Voltage): Line-to-neutral voltage for Phase C in volts. (volt)
89
90
  * * `powerFactorRatio` (Power Factor Ratio): Represents the power factor ratio. (percent)
91
+ * * `rfidCardIdScan` (RFID Card Scan): The card number from RFID Card scans used for identification. When a user taps their RFID card on the reader, this captures the unique card code.
90
92
  * * `samsaraEngineHours` (Samsara Engine Hours): Samsara's intelligent engine hours calculation that combines ECU data, synthetic calculations, and manual overrides with automatic fallbacks for optimal accuracy across all asset types. (millisecond)
91
93
  * * `samsaraEngineHoursWithSource` (Samsara Engine Hours with Source): Samsara's intelligent engine hours calculation including detailed source metadata to indicate the origin of the data (ECU, synthetic, or manual override). Useful for debugging and understanding data provenance.
92
94
  * * `samsaraOdometer` (Samsara Odometer): Samsara automatically pulls odometer readings from a vehicle's engine control unit (ECU). If the reading isn't available and the vehicle is unregulated, you can manually enter the odometer value for maintenance tracking—this value will then update based on GPS trip data. (kilometer)
@@ -105,7 +107,10 @@ export interface GetReadingsSnapshotRequest {
105
107
  * * `totalReactivePower` (Total Reactive Power): Total reactive power in volt-amperes reactive. (voltAmpereReactive)
106
108
  * * `totalRealPower` (Total Real Power): Total real power in watts. (watt)
107
109
  *
108
- * **levelMonitoring**
110
+ * </details>
111
+ *
112
+ * <details>
113
+ * <summary><strong>levelMonitoring</strong></summary>
109
114
  *
110
115
  * * `fillCriticality` (Fill Level Criticality): Indicates if the state of the fill level is critical. (values: normal | criticallyHigh | criticallyLow)
111
116
  * * `fillMass` (Fill Mass): Mass of material in the vessel. (kilogram)
@@ -115,7 +120,10 @@ export interface GetReadingsSnapshotRequest {
115
120
  * * `fillVolumeAvailableCapacity` (Fill Volume Available Capacity): Available volume to be filled in the vessel. (liter)
116
121
  * * `fluidLevelStatus` (Battery Water Level): The status of the battery's water level. Will be OK or LOW. (values: noData | ok | low)
117
122
  *
118
- * **obd**
123
+ * </details>
124
+ *
125
+ * <details>
126
+ * <summary><strong>obd</strong></summary>
119
127
  *
120
128
  * * `accDistanceAlertSignal` (ACC Distance Alert): Distance Alert Signal from the Adaptive Cruise Control system. (values: notActive | active)
121
129
  * * `adaptiveCruiseControlMode` (ACC Mode): Current mode of the Adaptive Cruise Control System. (values: off | speedControlActive | distanceControlActive | overtakeMode | holdMode | finishMode | disabledOrError)
@@ -152,13 +160,19 @@ export interface GetReadingsSnapshotRequest {
152
160
  * * `ycBrakeControlActive` (YC Brake Control Active): Indicates whether Yaw Control (YC) has activated brake control. (values: passive | active)
153
161
  * * `ycEngineControlActive` (YC Engine Control Active): Indicates whether Yaw Control (YC) has commanded engine control to be active. (values: passive | active)
154
162
  *
155
- * **pressureVesselHealth**
163
+ * </details>
164
+ *
165
+ * <details>
166
+ * <summary><strong>pressureVesselHealth</strong></summary>
156
167
  *
157
168
  * * `pressureVesselBatteryLevelPercentage` (Pressure Vessel Battery Level Percentage): Battery level percentage of the pressure vessel. (percent)
158
169
  * * `pressureVesselPressure` (Pressure Vessel Pressure): Pressure of the pressure vessel. (kilopascal)
159
170
  * * `pressureVesselTemperature` (Pressure Vessel Temperature): Temperature of the pressure vessel. (celsius)
160
171
  *
161
- * **reefer**
172
+ * </details>
173
+ *
174
+ * <details>
175
+ * <summary><strong>reefer</strong></summary>
162
176
  *
163
177
  * * `reeferAlarm` (Reefer Alarms): Array of active alarm codes for the refrigeration unit with metadata
164
178
  * * `reeferAlarmSeverity` (Reefer Alarm Severity): Highest severity level across active reefer alarms (green, yellow, red, orange) (values: none | green | yellow | red | orange)
@@ -191,7 +205,10 @@ export interface GetReadingsSnapshotRequest {
191
205
  * * `reeferTemperatureRecorder5` (Reefer Temperature Recorder (Zone 5)): Temperature recorder reading for reefer zone 5 (celsius)
192
206
  * * `reeferTemperatureRecorder6` (Reefer Temperature Recorder (Zone 6)): Temperature recorder reading for reefer zone 6 (celsius)
193
207
  *
194
- * **smartTrailer**
208
+ * </details>
209
+ *
210
+ * <details>
211
+ * <summary><strong>smartTrailer</strong></summary>
195
212
  *
196
213
  * * `addressEntry` (Address Entry): Address data from the address entry event
197
214
  * * `addressExit` (Address Exit): Address data from the address exit event
@@ -210,6 +227,8 @@ export interface GetReadingsSnapshotRequest {
210
227
  * * `widgetBatteryVoltageLow` (Widget Battery Voltage Low): Indicates if widget battery voltage is below 1500mV threshold (values: normal | low)
211
228
  * * `widgetDisconnect` (Widget Disconnection Status): Connection status between widget and device (values: connected | disconnected)
212
229
  *
230
+ * </details>
231
+ *
213
232
  * **Note:** This is not an exhaustive list. Your organization may have access to additional readings based on enabled features or custom configurations. Use the `/readings/definitions` endpoint to retrieve all available reading IDs for your organization.
214
233
  */
215
234
  readingIds: string;
@@ -3,7 +3,7 @@ import type * as Samsara from "../index.js";
3
3
  * An Address object.
4
4
  */
5
5
  export interface Address {
6
- /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`. */
6
+ /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`, `vendor`, `inventory`. */
7
7
  addressTypes?: Address.AddressTypes.Item[] | undefined;
8
8
  /** An array Contact mini-objects that are associated the Address. */
9
9
  contacts?: Samsara.ContactTinyResponse[] | undefined;
@@ -42,6 +42,8 @@ export declare namespace Address {
42
42
  readonly KnownGpsJammingZone: "knownGPSJammingZone";
43
43
  readonly AuthorizedZone: "authorizedZone";
44
44
  readonly UnauthorizedZone: "unauthorizedZone";
45
+ readonly Vendor: "vendor";
46
+ readonly Inventory: "inventory";
45
47
  };
46
48
  type Item = (typeof Item)[keyof typeof Item];
47
49
  }
@@ -18,6 +18,8 @@ var Address;
18
18
  KnownGpsJammingZone: "knownGPSJammingZone",
19
19
  AuthorizedZone: "authorizedZone",
20
20
  UnauthorizedZone: "unauthorizedZone",
21
+ Vendor: "vendor",
22
+ Inventory: "inventory",
21
23
  };
22
24
  })(AddressTypes = Address.AddressTypes || (Address.AddressTypes = {}));
23
25
  })(Address || (exports.Address = Address = {}));
@@ -12,18 +12,20 @@ export interface IdlingEventAddressObjectResponseBody {
12
12
  export declare namespace IdlingEventAddressObjectResponseBody {
13
13
  type AddressTypes = AddressTypes.Item[];
14
14
  namespace AddressTypes {
15
- /** Address types Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `workforceSite`, `yard` */
15
+ /** Address types Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */
16
16
  const Item: {
17
17
  readonly AgricultureSource: "agricultureSource";
18
18
  readonly AlertsOnly: "alertsOnly";
19
19
  readonly AuthorizedZone: "authorizedZone";
20
20
  readonly AvoidanceZone: "avoidanceZone";
21
21
  readonly IndustrialSite: "industrialSite";
22
+ readonly Inventory: "inventory";
22
23
  readonly KnownGpsJammingZone: "knownGPSJammingZone";
23
24
  readonly RiskZone: "riskZone";
24
25
  readonly ShortHaul: "shortHaul";
25
26
  readonly UnauthorizedZone: "unauthorizedZone";
26
27
  readonly Undefined: "undefined";
28
+ readonly Vendor: "vendor";
27
29
  readonly WorkforceSite: "workforceSite";
28
30
  readonly Yard: "yard";
29
31
  };
@@ -6,18 +6,20 @@ var IdlingEventAddressObjectResponseBody;
6
6
  (function (IdlingEventAddressObjectResponseBody) {
7
7
  let AddressTypes;
8
8
  (function (AddressTypes) {
9
- /** Address types Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `workforceSite`, `yard` */
9
+ /** Address types Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */
10
10
  AddressTypes.Item = {
11
11
  AgricultureSource: "agricultureSource",
12
12
  AlertsOnly: "alertsOnly",
13
13
  AuthorizedZone: "authorizedZone",
14
14
  AvoidanceZone: "avoidanceZone",
15
15
  IndustrialSite: "industrialSite",
16
+ Inventory: "inventory",
16
17
  KnownGpsJammingZone: "knownGPSJammingZone",
17
18
  RiskZone: "riskZone",
18
19
  ShortHaul: "shortHaul",
19
20
  UnauthorizedZone: "unauthorizedZone",
20
21
  Undefined: "undefined",
22
+ Vendor: "vendor",
21
23
  WorkforceSite: "workforceSite",
22
24
  Yard: "yard",
23
25
  };
@@ -15,18 +15,20 @@ export interface LocationObjectRequestBody {
15
15
  export declare namespace LocationObjectRequestBody {
16
16
  type AddressTypes = AddressTypes.Item[];
17
17
  namespace AddressTypes {
18
- /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `workforceSite`, `yard` */
18
+ /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */
19
19
  const Item: {
20
20
  readonly AgricultureSource: "agricultureSource";
21
21
  readonly AlertsOnly: "alertsOnly";
22
22
  readonly AuthorizedZone: "authorizedZone";
23
23
  readonly AvoidanceZone: "avoidanceZone";
24
24
  readonly IndustrialSite: "industrialSite";
25
+ readonly Inventory: "inventory";
25
26
  readonly KnownGpsJammingZone: "knownGPSJammingZone";
26
27
  readonly RiskZone: "riskZone";
27
28
  readonly ShortHaul: "shortHaul";
28
29
  readonly UnauthorizedZone: "unauthorizedZone";
29
30
  readonly Undefined: "undefined";
31
+ readonly Vendor: "vendor";
30
32
  readonly WorkforceSite: "workforceSite";
31
33
  readonly Yard: "yard";
32
34
  };
@@ -6,18 +6,20 @@ var LocationObjectRequestBody;
6
6
  (function (LocationObjectRequestBody) {
7
7
  let AddressTypes;
8
8
  (function (AddressTypes) {
9
- /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `workforceSite`, `yard` */
9
+ /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */
10
10
  AddressTypes.Item = {
11
11
  AgricultureSource: "agricultureSource",
12
12
  AlertsOnly: "alertsOnly",
13
13
  AuthorizedZone: "authorizedZone",
14
14
  AvoidanceZone: "avoidanceZone",
15
15
  IndustrialSite: "industrialSite",
16
+ Inventory: "inventory",
16
17
  KnownGpsJammingZone: "knownGPSJammingZone",
17
18
  RiskZone: "riskZone",
18
19
  ShortHaul: "shortHaul",
19
20
  UnauthorizedZone: "unauthorizedZone",
20
21
  Undefined: "undefined",
22
+ Vendor: "vendor",
21
23
  WorkforceSite: "workforceSite",
22
24
  Yard: "yard",
23
25
  };
@@ -15,18 +15,20 @@ export interface LocationObjectResponseBody {
15
15
  export declare namespace LocationObjectResponseBody {
16
16
  type AddressTypes = AddressTypes.Item[];
17
17
  namespace AddressTypes {
18
- /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `workforceSite`, `yard` */
18
+ /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */
19
19
  const Item: {
20
20
  readonly AgricultureSource: "agricultureSource";
21
21
  readonly AlertsOnly: "alertsOnly";
22
22
  readonly AuthorizedZone: "authorizedZone";
23
23
  readonly AvoidanceZone: "avoidanceZone";
24
24
  readonly IndustrialSite: "industrialSite";
25
+ readonly Inventory: "inventory";
25
26
  readonly KnownGpsJammingZone: "knownGPSJammingZone";
26
27
  readonly RiskZone: "riskZone";
27
28
  readonly ShortHaul: "shortHaul";
28
29
  readonly UnauthorizedZone: "unauthorizedZone";
29
30
  readonly Undefined: "undefined";
31
+ readonly Vendor: "vendor";
30
32
  readonly WorkforceSite: "workforceSite";
31
33
  readonly Yard: "yard";
32
34
  };
@@ -6,18 +6,20 @@ var LocationObjectResponseBody;
6
6
  (function (LocationObjectResponseBody) {
7
7
  let AddressTypes;
8
8
  (function (AddressTypes) {
9
- /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `workforceSite`, `yard` */
9
+ /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */
10
10
  AddressTypes.Item = {
11
11
  AgricultureSource: "agricultureSource",
12
12
  AlertsOnly: "alertsOnly",
13
13
  AuthorizedZone: "authorizedZone",
14
14
  AvoidanceZone: "avoidanceZone",
15
15
  IndustrialSite: "industrialSite",
16
+ Inventory: "inventory",
16
17
  KnownGpsJammingZone: "knownGPSJammingZone",
17
18
  RiskZone: "riskZone",
18
19
  ShortHaul: "shortHaul",
19
20
  UnauthorizedZone: "unauthorizedZone",
20
21
  Undefined: "undefined",
22
+ Vendor: "vendor",
21
23
  WorkforceSite: "workforceSite",
22
24
  Yard: "yard",
23
25
  };
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "5.9.0";
1
+ export declare const SDK_VERSION = "5.10.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 = "5.9.0";
4
+ exports.SDK_VERSION = "5.10.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": "5.9.0",
11
- "User-Agent": "@samsarahq/samsara/5.9.0",
10
+ "X-Fern-SDK-Version": "5.10.0",
11
+ "User-Agent": "@samsarahq/samsara/5.10.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",
@@ -8,7 +8,7 @@ import type * as Samsara from "../../../../index.mjs";
8
8
  * }
9
9
  */
10
10
  export interface CreateAddressRequest {
11
- /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`. */
11
+ /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`, `vendor`, `inventory`. */
12
12
  addressTypes?: CreateAddressRequest.AddressTypes.Item[];
13
13
  /** An array of Contact IDs associated with this Address. */
14
14
  contactIds?: string[];
@@ -43,6 +43,8 @@ export declare namespace CreateAddressRequest {
43
43
  readonly KnownGpsJammingZone: "knownGPSJammingZone";
44
44
  readonly AuthorizedZone: "authorizedZone";
45
45
  readonly UnauthorizedZone: "unauthorizedZone";
46
+ readonly Vendor: "vendor";
47
+ readonly Inventory: "inventory";
46
48
  };
47
49
  type Item = (typeof Item)[keyof typeof Item];
48
50
  }
@@ -15,6 +15,8 @@ export var CreateAddressRequest;
15
15
  KnownGpsJammingZone: "knownGPSJammingZone",
16
16
  AuthorizedZone: "authorizedZone",
17
17
  UnauthorizedZone: "unauthorizedZone",
18
+ Vendor: "vendor",
19
+ Inventory: "inventory",
18
20
  };
19
21
  })(AddressTypes = CreateAddressRequest.AddressTypes || (CreateAddressRequest.AddressTypes = {}));
20
22
  })(CreateAddressRequest || (CreateAddressRequest = {}));
@@ -8,7 +8,7 @@ import type * as Samsara from "../../../../index.mjs";
8
8
  export interface UpdateAddressRequest {
9
9
  /** ID of the Address. This can either be the Samsara-provided ID or an external ID. External IDs are customer-specified key-value pairs created in the POST or PATCH requests of this resource. To specify an external ID as part of a path parameter, use the following format: `key:value`. For example, `crmId:abc123` */
10
10
  id: string;
11
- /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`. */
11
+ /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`, `vendor`, `inventory`. */
12
12
  addressTypes?: UpdateAddressRequest.AddressTypes.Item[];
13
13
  /** An array of Contact IDs associated with this Address. */
14
14
  contactIds?: string[];
@@ -43,6 +43,8 @@ export declare namespace UpdateAddressRequest {
43
43
  readonly KnownGpsJammingZone: "knownGPSJammingZone";
44
44
  readonly AuthorizedZone: "authorizedZone";
45
45
  readonly UnauthorizedZone: "unauthorizedZone";
46
+ readonly Vendor: "vendor";
47
+ readonly Inventory: "inventory";
46
48
  };
47
49
  type Item = (typeof Item)[keyof typeof Item];
48
50
  }
@@ -15,6 +15,8 @@ export var UpdateAddressRequest;
15
15
  KnownGpsJammingZone: "knownGPSJammingZone",
16
16
  AuthorizedZone: "authorizedZone",
17
17
  UnauthorizedZone: "unauthorizedZone",
18
+ Vendor: "vendor",
19
+ Inventory: "inventory",
18
20
  };
19
21
  })(AddressTypes = UpdateAddressRequest.AddressTypes || (UpdateAddressRequest.AddressTypes = {}));
20
22
  })(UpdateAddressRequest || (UpdateAddressRequest = {}));
@@ -14,7 +14,8 @@ export interface GetReadingsHistoryRequest {
14
14
  * Available reading IDs (by category):
15
15
  *
16
16
  *
17
- * **diagnostic**
17
+ * <details>
18
+ * <summary><strong>diagnostic</strong></summary>
18
19
  *
19
20
  * * `airInletPressure` (Air Inlet Pressure): Air inlet pressure. (kilopascal)
20
21
  * * `airTemp` (Air Inlet (Ambient Air) Temp): Air inlet (ambient air) temperature. (celsius)
@@ -87,6 +88,7 @@ export interface GetReadingsHistoryRequest {
87
88
  * * `phaseCLLVolts` (Phase C Line-to-Line Voltage): Line-to-line voltage for Phase C in volts. (volt)
88
89
  * * `phaseCLNVolts` (Phase C Line-to-Neutral Voltage): Line-to-neutral voltage for Phase C in volts. (volt)
89
90
  * * `powerFactorRatio` (Power Factor Ratio): Represents the power factor ratio. (percent)
91
+ * * `rfidCardIdScan` (RFID Card Scan): The card number from RFID Card scans used for identification. When a user taps their RFID card on the reader, this captures the unique card code.
90
92
  * * `samsaraEngineHours` (Samsara Engine Hours): Samsara's intelligent engine hours calculation that combines ECU data, synthetic calculations, and manual overrides with automatic fallbacks for optimal accuracy across all asset types. (millisecond)
91
93
  * * `samsaraEngineHoursWithSource` (Samsara Engine Hours with Source): Samsara's intelligent engine hours calculation including detailed source metadata to indicate the origin of the data (ECU, synthetic, or manual override). Useful for debugging and understanding data provenance.
92
94
  * * `samsaraOdometer` (Samsara Odometer): Samsara automatically pulls odometer readings from a vehicle's engine control unit (ECU). If the reading isn't available and the vehicle is unregulated, you can manually enter the odometer value for maintenance tracking—this value will then update based on GPS trip data. (kilometer)
@@ -105,7 +107,10 @@ export interface GetReadingsHistoryRequest {
105
107
  * * `totalReactivePower` (Total Reactive Power): Total reactive power in volt-amperes reactive. (voltAmpereReactive)
106
108
  * * `totalRealPower` (Total Real Power): Total real power in watts. (watt)
107
109
  *
108
- * **levelMonitoring**
110
+ * </details>
111
+ *
112
+ * <details>
113
+ * <summary><strong>levelMonitoring</strong></summary>
109
114
  *
110
115
  * * `fillCriticality` (Fill Level Criticality): Indicates if the state of the fill level is critical. (values: normal | criticallyHigh | criticallyLow)
111
116
  * * `fillMass` (Fill Mass): Mass of material in the vessel. (kilogram)
@@ -115,7 +120,10 @@ export interface GetReadingsHistoryRequest {
115
120
  * * `fillVolumeAvailableCapacity` (Fill Volume Available Capacity): Available volume to be filled in the vessel. (liter)
116
121
  * * `fluidLevelStatus` (Battery Water Level): The status of the battery's water level. Will be OK or LOW. (values: noData | ok | low)
117
122
  *
118
- * **obd**
123
+ * </details>
124
+ *
125
+ * <details>
126
+ * <summary><strong>obd</strong></summary>
119
127
  *
120
128
  * * `accDistanceAlertSignal` (ACC Distance Alert): Distance Alert Signal from the Adaptive Cruise Control system. (values: notActive | active)
121
129
  * * `adaptiveCruiseControlMode` (ACC Mode): Current mode of the Adaptive Cruise Control System. (values: off | speedControlActive | distanceControlActive | overtakeMode | holdMode | finishMode | disabledOrError)
@@ -152,13 +160,19 @@ export interface GetReadingsHistoryRequest {
152
160
  * * `ycBrakeControlActive` (YC Brake Control Active): Indicates whether Yaw Control (YC) has activated brake control. (values: passive | active)
153
161
  * * `ycEngineControlActive` (YC Engine Control Active): Indicates whether Yaw Control (YC) has commanded engine control to be active. (values: passive | active)
154
162
  *
155
- * **pressureVesselHealth**
163
+ * </details>
164
+ *
165
+ * <details>
166
+ * <summary><strong>pressureVesselHealth</strong></summary>
156
167
  *
157
168
  * * `pressureVesselBatteryLevelPercentage` (Pressure Vessel Battery Level Percentage): Battery level percentage of the pressure vessel. (percent)
158
169
  * * `pressureVesselPressure` (Pressure Vessel Pressure): Pressure of the pressure vessel. (kilopascal)
159
170
  * * `pressureVesselTemperature` (Pressure Vessel Temperature): Temperature of the pressure vessel. (celsius)
160
171
  *
161
- * **reefer**
172
+ * </details>
173
+ *
174
+ * <details>
175
+ * <summary><strong>reefer</strong></summary>
162
176
  *
163
177
  * * `reeferAlarm` (Reefer Alarms): Array of active alarm codes for the refrigeration unit with metadata
164
178
  * * `reeferAlarmSeverity` (Reefer Alarm Severity): Highest severity level across active reefer alarms (green, yellow, red, orange) (values: none | green | yellow | red | orange)
@@ -191,7 +205,10 @@ export interface GetReadingsHistoryRequest {
191
205
  * * `reeferTemperatureRecorder5` (Reefer Temperature Recorder (Zone 5)): Temperature recorder reading for reefer zone 5 (celsius)
192
206
  * * `reeferTemperatureRecorder6` (Reefer Temperature Recorder (Zone 6)): Temperature recorder reading for reefer zone 6 (celsius)
193
207
  *
194
- * **smartTrailer**
208
+ * </details>
209
+ *
210
+ * <details>
211
+ * <summary><strong>smartTrailer</strong></summary>
195
212
  *
196
213
  * * `addressEntry` (Address Entry): Address data from the address entry event
197
214
  * * `addressExit` (Address Exit): Address data from the address exit event
@@ -210,6 +227,8 @@ export interface GetReadingsHistoryRequest {
210
227
  * * `widgetBatteryVoltageLow` (Widget Battery Voltage Low): Indicates if widget battery voltage is below 1500mV threshold (values: normal | low)
211
228
  * * `widgetDisconnect` (Widget Disconnection Status): Connection status between widget and device (values: connected | disconnected)
212
229
  *
230
+ * </details>
231
+ *
213
232
  * **Note:** This is not an exhaustive list. Your organization may have access to additional readings based on enabled features or custom configurations. Use the `/readings/definitions` endpoint to retrieve all available reading IDs for your organization.
214
233
  */
215
234
  readingId: string;
@@ -14,7 +14,8 @@ export interface GetReadingsSnapshotRequest {
14
14
  * Available reading IDs (by category):
15
15
  *
16
16
  *
17
- * **diagnostic**
17
+ * <details>
18
+ * <summary><strong>diagnostic</strong></summary>
18
19
  *
19
20
  * * `airInletPressure` (Air Inlet Pressure): Air inlet pressure. (kilopascal)
20
21
  * * `airTemp` (Air Inlet (Ambient Air) Temp): Air inlet (ambient air) temperature. (celsius)
@@ -87,6 +88,7 @@ export interface GetReadingsSnapshotRequest {
87
88
  * * `phaseCLLVolts` (Phase C Line-to-Line Voltage): Line-to-line voltage for Phase C in volts. (volt)
88
89
  * * `phaseCLNVolts` (Phase C Line-to-Neutral Voltage): Line-to-neutral voltage for Phase C in volts. (volt)
89
90
  * * `powerFactorRatio` (Power Factor Ratio): Represents the power factor ratio. (percent)
91
+ * * `rfidCardIdScan` (RFID Card Scan): The card number from RFID Card scans used for identification. When a user taps their RFID card on the reader, this captures the unique card code.
90
92
  * * `samsaraEngineHours` (Samsara Engine Hours): Samsara's intelligent engine hours calculation that combines ECU data, synthetic calculations, and manual overrides with automatic fallbacks for optimal accuracy across all asset types. (millisecond)
91
93
  * * `samsaraEngineHoursWithSource` (Samsara Engine Hours with Source): Samsara's intelligent engine hours calculation including detailed source metadata to indicate the origin of the data (ECU, synthetic, or manual override). Useful for debugging and understanding data provenance.
92
94
  * * `samsaraOdometer` (Samsara Odometer): Samsara automatically pulls odometer readings from a vehicle's engine control unit (ECU). If the reading isn't available and the vehicle is unregulated, you can manually enter the odometer value for maintenance tracking—this value will then update based on GPS trip data. (kilometer)
@@ -105,7 +107,10 @@ export interface GetReadingsSnapshotRequest {
105
107
  * * `totalReactivePower` (Total Reactive Power): Total reactive power in volt-amperes reactive. (voltAmpereReactive)
106
108
  * * `totalRealPower` (Total Real Power): Total real power in watts. (watt)
107
109
  *
108
- * **levelMonitoring**
110
+ * </details>
111
+ *
112
+ * <details>
113
+ * <summary><strong>levelMonitoring</strong></summary>
109
114
  *
110
115
  * * `fillCriticality` (Fill Level Criticality): Indicates if the state of the fill level is critical. (values: normal | criticallyHigh | criticallyLow)
111
116
  * * `fillMass` (Fill Mass): Mass of material in the vessel. (kilogram)
@@ -115,7 +120,10 @@ export interface GetReadingsSnapshotRequest {
115
120
  * * `fillVolumeAvailableCapacity` (Fill Volume Available Capacity): Available volume to be filled in the vessel. (liter)
116
121
  * * `fluidLevelStatus` (Battery Water Level): The status of the battery's water level. Will be OK or LOW. (values: noData | ok | low)
117
122
  *
118
- * **obd**
123
+ * </details>
124
+ *
125
+ * <details>
126
+ * <summary><strong>obd</strong></summary>
119
127
  *
120
128
  * * `accDistanceAlertSignal` (ACC Distance Alert): Distance Alert Signal from the Adaptive Cruise Control system. (values: notActive | active)
121
129
  * * `adaptiveCruiseControlMode` (ACC Mode): Current mode of the Adaptive Cruise Control System. (values: off | speedControlActive | distanceControlActive | overtakeMode | holdMode | finishMode | disabledOrError)
@@ -152,13 +160,19 @@ export interface GetReadingsSnapshotRequest {
152
160
  * * `ycBrakeControlActive` (YC Brake Control Active): Indicates whether Yaw Control (YC) has activated brake control. (values: passive | active)
153
161
  * * `ycEngineControlActive` (YC Engine Control Active): Indicates whether Yaw Control (YC) has commanded engine control to be active. (values: passive | active)
154
162
  *
155
- * **pressureVesselHealth**
163
+ * </details>
164
+ *
165
+ * <details>
166
+ * <summary><strong>pressureVesselHealth</strong></summary>
156
167
  *
157
168
  * * `pressureVesselBatteryLevelPercentage` (Pressure Vessel Battery Level Percentage): Battery level percentage of the pressure vessel. (percent)
158
169
  * * `pressureVesselPressure` (Pressure Vessel Pressure): Pressure of the pressure vessel. (kilopascal)
159
170
  * * `pressureVesselTemperature` (Pressure Vessel Temperature): Temperature of the pressure vessel. (celsius)
160
171
  *
161
- * **reefer**
172
+ * </details>
173
+ *
174
+ * <details>
175
+ * <summary><strong>reefer</strong></summary>
162
176
  *
163
177
  * * `reeferAlarm` (Reefer Alarms): Array of active alarm codes for the refrigeration unit with metadata
164
178
  * * `reeferAlarmSeverity` (Reefer Alarm Severity): Highest severity level across active reefer alarms (green, yellow, red, orange) (values: none | green | yellow | red | orange)
@@ -191,7 +205,10 @@ export interface GetReadingsSnapshotRequest {
191
205
  * * `reeferTemperatureRecorder5` (Reefer Temperature Recorder (Zone 5)): Temperature recorder reading for reefer zone 5 (celsius)
192
206
  * * `reeferTemperatureRecorder6` (Reefer Temperature Recorder (Zone 6)): Temperature recorder reading for reefer zone 6 (celsius)
193
207
  *
194
- * **smartTrailer**
208
+ * </details>
209
+ *
210
+ * <details>
211
+ * <summary><strong>smartTrailer</strong></summary>
195
212
  *
196
213
  * * `addressEntry` (Address Entry): Address data from the address entry event
197
214
  * * `addressExit` (Address Exit): Address data from the address exit event
@@ -210,6 +227,8 @@ export interface GetReadingsSnapshotRequest {
210
227
  * * `widgetBatteryVoltageLow` (Widget Battery Voltage Low): Indicates if widget battery voltage is below 1500mV threshold (values: normal | low)
211
228
  * * `widgetDisconnect` (Widget Disconnection Status): Connection status between widget and device (values: connected | disconnected)
212
229
  *
230
+ * </details>
231
+ *
213
232
  * **Note:** This is not an exhaustive list. Your organization may have access to additional readings based on enabled features or custom configurations. Use the `/readings/definitions` endpoint to retrieve all available reading IDs for your organization.
214
233
  */
215
234
  readingIds: string;
@@ -3,7 +3,7 @@ import type * as Samsara from "../index.mjs";
3
3
  * An Address object.
4
4
  */
5
5
  export interface Address {
6
- /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`. */
6
+ /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`, `vendor`, `inventory`. */
7
7
  addressTypes?: Address.AddressTypes.Item[] | undefined;
8
8
  /** An array Contact mini-objects that are associated the Address. */
9
9
  contacts?: Samsara.ContactTinyResponse[] | undefined;
@@ -42,6 +42,8 @@ export declare namespace Address {
42
42
  readonly KnownGpsJammingZone: "knownGPSJammingZone";
43
43
  readonly AuthorizedZone: "authorizedZone";
44
44
  readonly UnauthorizedZone: "unauthorizedZone";
45
+ readonly Vendor: "vendor";
46
+ readonly Inventory: "inventory";
45
47
  };
46
48
  type Item = (typeof Item)[keyof typeof Item];
47
49
  }
@@ -15,6 +15,8 @@ export var Address;
15
15
  KnownGpsJammingZone: "knownGPSJammingZone",
16
16
  AuthorizedZone: "authorizedZone",
17
17
  UnauthorizedZone: "unauthorizedZone",
18
+ Vendor: "vendor",
19
+ Inventory: "inventory",
18
20
  };
19
21
  })(AddressTypes = Address.AddressTypes || (Address.AddressTypes = {}));
20
22
  })(Address || (Address = {}));
@@ -12,18 +12,20 @@ export interface IdlingEventAddressObjectResponseBody {
12
12
  export declare namespace IdlingEventAddressObjectResponseBody {
13
13
  type AddressTypes = AddressTypes.Item[];
14
14
  namespace AddressTypes {
15
- /** Address types Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `workforceSite`, `yard` */
15
+ /** Address types Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */
16
16
  const Item: {
17
17
  readonly AgricultureSource: "agricultureSource";
18
18
  readonly AlertsOnly: "alertsOnly";
19
19
  readonly AuthorizedZone: "authorizedZone";
20
20
  readonly AvoidanceZone: "avoidanceZone";
21
21
  readonly IndustrialSite: "industrialSite";
22
+ readonly Inventory: "inventory";
22
23
  readonly KnownGpsJammingZone: "knownGPSJammingZone";
23
24
  readonly RiskZone: "riskZone";
24
25
  readonly ShortHaul: "shortHaul";
25
26
  readonly UnauthorizedZone: "unauthorizedZone";
26
27
  readonly Undefined: "undefined";
28
+ readonly Vendor: "vendor";
27
29
  readonly WorkforceSite: "workforceSite";
28
30
  readonly Yard: "yard";
29
31
  };
@@ -3,18 +3,20 @@ export var IdlingEventAddressObjectResponseBody;
3
3
  (function (IdlingEventAddressObjectResponseBody) {
4
4
  let AddressTypes;
5
5
  (function (AddressTypes) {
6
- /** Address types Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `workforceSite`, `yard` */
6
+ /** Address types Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */
7
7
  AddressTypes.Item = {
8
8
  AgricultureSource: "agricultureSource",
9
9
  AlertsOnly: "alertsOnly",
10
10
  AuthorizedZone: "authorizedZone",
11
11
  AvoidanceZone: "avoidanceZone",
12
12
  IndustrialSite: "industrialSite",
13
+ Inventory: "inventory",
13
14
  KnownGpsJammingZone: "knownGPSJammingZone",
14
15
  RiskZone: "riskZone",
15
16
  ShortHaul: "shortHaul",
16
17
  UnauthorizedZone: "unauthorizedZone",
17
18
  Undefined: "undefined",
19
+ Vendor: "vendor",
18
20
  WorkforceSite: "workforceSite",
19
21
  Yard: "yard",
20
22
  };
@@ -15,18 +15,20 @@ export interface LocationObjectRequestBody {
15
15
  export declare namespace LocationObjectRequestBody {
16
16
  type AddressTypes = AddressTypes.Item[];
17
17
  namespace AddressTypes {
18
- /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `workforceSite`, `yard` */
18
+ /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */
19
19
  const Item: {
20
20
  readonly AgricultureSource: "agricultureSource";
21
21
  readonly AlertsOnly: "alertsOnly";
22
22
  readonly AuthorizedZone: "authorizedZone";
23
23
  readonly AvoidanceZone: "avoidanceZone";
24
24
  readonly IndustrialSite: "industrialSite";
25
+ readonly Inventory: "inventory";
25
26
  readonly KnownGpsJammingZone: "knownGPSJammingZone";
26
27
  readonly RiskZone: "riskZone";
27
28
  readonly ShortHaul: "shortHaul";
28
29
  readonly UnauthorizedZone: "unauthorizedZone";
29
30
  readonly Undefined: "undefined";
31
+ readonly Vendor: "vendor";
30
32
  readonly WorkforceSite: "workforceSite";
31
33
  readonly Yard: "yard";
32
34
  };
@@ -3,18 +3,20 @@ export var LocationObjectRequestBody;
3
3
  (function (LocationObjectRequestBody) {
4
4
  let AddressTypes;
5
5
  (function (AddressTypes) {
6
- /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `workforceSite`, `yard` */
6
+ /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */
7
7
  AddressTypes.Item = {
8
8
  AgricultureSource: "agricultureSource",
9
9
  AlertsOnly: "alertsOnly",
10
10
  AuthorizedZone: "authorizedZone",
11
11
  AvoidanceZone: "avoidanceZone",
12
12
  IndustrialSite: "industrialSite",
13
+ Inventory: "inventory",
13
14
  KnownGpsJammingZone: "knownGPSJammingZone",
14
15
  RiskZone: "riskZone",
15
16
  ShortHaul: "shortHaul",
16
17
  UnauthorizedZone: "unauthorizedZone",
17
18
  Undefined: "undefined",
19
+ Vendor: "vendor",
18
20
  WorkforceSite: "workforceSite",
19
21
  Yard: "yard",
20
22
  };
@@ -15,18 +15,20 @@ export interface LocationObjectResponseBody {
15
15
  export declare namespace LocationObjectResponseBody {
16
16
  type AddressTypes = AddressTypes.Item[];
17
17
  namespace AddressTypes {
18
- /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `workforceSite`, `yard` */
18
+ /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */
19
19
  const Item: {
20
20
  readonly AgricultureSource: "agricultureSource";
21
21
  readonly AlertsOnly: "alertsOnly";
22
22
  readonly AuthorizedZone: "authorizedZone";
23
23
  readonly AvoidanceZone: "avoidanceZone";
24
24
  readonly IndustrialSite: "industrialSite";
25
+ readonly Inventory: "inventory";
25
26
  readonly KnownGpsJammingZone: "knownGPSJammingZone";
26
27
  readonly RiskZone: "riskZone";
27
28
  readonly ShortHaul: "shortHaul";
28
29
  readonly UnauthorizedZone: "unauthorizedZone";
29
30
  readonly Undefined: "undefined";
31
+ readonly Vendor: "vendor";
30
32
  readonly WorkforceSite: "workforceSite";
31
33
  readonly Yard: "yard";
32
34
  };
@@ -3,18 +3,20 @@ export var LocationObjectResponseBody;
3
3
  (function (LocationObjectResponseBody) {
4
4
  let AddressTypes;
5
5
  (function (AddressTypes) {
6
- /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `workforceSite`, `yard` */
6
+ /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */
7
7
  AddressTypes.Item = {
8
8
  AgricultureSource: "agricultureSource",
9
9
  AlertsOnly: "alertsOnly",
10
10
  AuthorizedZone: "authorizedZone",
11
11
  AvoidanceZone: "avoidanceZone",
12
12
  IndustrialSite: "industrialSite",
13
+ Inventory: "inventory",
13
14
  KnownGpsJammingZone: "knownGPSJammingZone",
14
15
  RiskZone: "riskZone",
15
16
  ShortHaul: "shortHaul",
16
17
  UnauthorizedZone: "unauthorizedZone",
17
18
  Undefined: "undefined",
19
+ Vendor: "vendor",
18
20
  WorkforceSite: "workforceSite",
19
21
  Yard: "yard",
20
22
  };
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "5.9.0";
1
+ export declare const SDK_VERSION = "5.10.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "5.9.0";
1
+ export const SDK_VERSION = "5.10.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@samsarahq/samsara",
3
- "version": "5.9.0",
3
+ "version": "5.10.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",