@samsarahq/samsara 7.1.0 → 7.2.1

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 (82) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/betaApIs/client/Client.d.ts +31 -0
  3. package/dist/cjs/api/resources/betaApIs/client/Client.js +88 -0
  4. package/dist/cjs/api/resources/betaApIs/client/requests/GetReadingsHistoryRequest.d.ts +0 -16
  5. package/dist/cjs/api/resources/betaApIs/client/requests/GetReadingsSnapshotRequest.d.ts +0 -16
  6. package/dist/cjs/api/resources/betaApIs/client/requests/ResolveAssignmentByDetailsResolveAssignmentByDetailsRequestBody.d.ts +13 -0
  7. package/dist/cjs/api/resources/betaApIs/client/requests/ResolveAssignmentByDetailsResolveAssignmentByDetailsRequestBody.js +3 -0
  8. package/dist/cjs/api/resources/betaApIs/client/requests/index.d.ts +1 -0
  9. package/dist/cjs/api/types/DvirDefectsObjectV20220913ResponseBody.d.ts +13 -0
  10. package/dist/cjs/api/types/DvirDefectsObjectV20220913ResponseBody.js +10 -0
  11. package/dist/cjs/api/types/MissingStateResponseBody.d.ts +10 -2
  12. package/dist/cjs/api/types/MissingStateResponseBody.js +9 -0
  13. package/dist/cjs/api/types/RecoveryStateResponseBody.d.ts +10 -2
  14. package/dist/cjs/api/types/RecoveryStateResponseBody.js +9 -0
  15. package/dist/cjs/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsBadGatewayErrorResponseBody.d.ts +9 -0
  16. package/dist/cjs/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsBadGatewayErrorResponseBody.js +3 -0
  17. package/dist/cjs/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsGatewayTimeoutErrorResponseBody.d.ts +9 -0
  18. package/dist/cjs/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsGatewayTimeoutErrorResponseBody.js +3 -0
  19. package/dist/cjs/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsInternalServerErrorResponseBody.d.ts +9 -0
  20. package/dist/cjs/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsInternalServerErrorResponseBody.js +3 -0
  21. package/dist/cjs/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsMethodNotAllowedErrorResponseBody.d.ts +9 -0
  22. package/dist/cjs/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsMethodNotAllowedErrorResponseBody.js +3 -0
  23. package/dist/cjs/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsNotFoundErrorResponseBody.d.ts +9 -0
  24. package/dist/cjs/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsNotFoundErrorResponseBody.js +3 -0
  25. package/dist/cjs/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsNotImplementedErrorResponseBody.d.ts +9 -0
  26. package/dist/cjs/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsNotImplementedErrorResponseBody.js +3 -0
  27. package/dist/cjs/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsResponseBody.d.ts +4 -0
  28. package/dist/cjs/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsResponseBody.js +3 -0
  29. package/dist/cjs/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsServiceUnavailableErrorResponseBody.d.ts +9 -0
  30. package/dist/cjs/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsServiceUnavailableErrorResponseBody.js +3 -0
  31. package/dist/cjs/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsTooManyRequestsErrorResponseBody.d.ts +9 -0
  32. package/dist/cjs/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsTooManyRequestsErrorResponseBody.js +3 -0
  33. package/dist/cjs/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsUnauthorizedErrorResponseBody.d.ts +9 -0
  34. package/dist/cjs/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsUnauthorizedErrorResponseBody.js +3 -0
  35. package/dist/cjs/api/types/ResolveAssignmentByDetailsResponseBodyResponseBody.d.ts +9 -0
  36. package/dist/cjs/api/types/ResolveAssignmentByDetailsResponseBodyResponseBody.js +3 -0
  37. package/dist/cjs/api/types/index.d.ts +11 -0
  38. package/dist/cjs/api/types/index.js +11 -0
  39. package/dist/cjs/version.d.ts +1 -1
  40. package/dist/cjs/version.js +1 -1
  41. package/dist/esm/BaseClient.mjs +2 -2
  42. package/dist/esm/api/resources/betaApIs/client/Client.d.mts +31 -0
  43. package/dist/esm/api/resources/betaApIs/client/Client.mjs +88 -0
  44. package/dist/esm/api/resources/betaApIs/client/requests/GetReadingsHistoryRequest.d.mts +0 -16
  45. package/dist/esm/api/resources/betaApIs/client/requests/GetReadingsSnapshotRequest.d.mts +0 -16
  46. package/dist/esm/api/resources/betaApIs/client/requests/ResolveAssignmentByDetailsResolveAssignmentByDetailsRequestBody.d.mts +13 -0
  47. package/dist/esm/api/resources/betaApIs/client/requests/ResolveAssignmentByDetailsResolveAssignmentByDetailsRequestBody.mjs +2 -0
  48. package/dist/esm/api/resources/betaApIs/client/requests/index.d.mts +1 -0
  49. package/dist/esm/api/types/DvirDefectsObjectV20220913ResponseBody.d.mts +13 -0
  50. package/dist/esm/api/types/DvirDefectsObjectV20220913ResponseBody.mjs +9 -1
  51. package/dist/esm/api/types/MissingStateResponseBody.d.mts +10 -2
  52. package/dist/esm/api/types/MissingStateResponseBody.mjs +8 -1
  53. package/dist/esm/api/types/RecoveryStateResponseBody.d.mts +10 -2
  54. package/dist/esm/api/types/RecoveryStateResponseBody.mjs +8 -1
  55. package/dist/esm/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsBadGatewayErrorResponseBody.d.mts +9 -0
  56. package/dist/esm/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsBadGatewayErrorResponseBody.mjs +2 -0
  57. package/dist/esm/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsGatewayTimeoutErrorResponseBody.d.mts +9 -0
  58. package/dist/esm/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsGatewayTimeoutErrorResponseBody.mjs +2 -0
  59. package/dist/esm/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsInternalServerErrorResponseBody.d.mts +9 -0
  60. package/dist/esm/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsInternalServerErrorResponseBody.mjs +2 -0
  61. package/dist/esm/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsMethodNotAllowedErrorResponseBody.d.mts +9 -0
  62. package/dist/esm/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsMethodNotAllowedErrorResponseBody.mjs +2 -0
  63. package/dist/esm/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsNotFoundErrorResponseBody.d.mts +9 -0
  64. package/dist/esm/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsNotFoundErrorResponseBody.mjs +2 -0
  65. package/dist/esm/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsNotImplementedErrorResponseBody.d.mts +9 -0
  66. package/dist/esm/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsNotImplementedErrorResponseBody.mjs +2 -0
  67. package/dist/esm/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsResponseBody.d.mts +4 -0
  68. package/dist/esm/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsResponseBody.mjs +2 -0
  69. package/dist/esm/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsServiceUnavailableErrorResponseBody.d.mts +9 -0
  70. package/dist/esm/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsServiceUnavailableErrorResponseBody.mjs +2 -0
  71. package/dist/esm/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsTooManyRequestsErrorResponseBody.d.mts +9 -0
  72. package/dist/esm/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsTooManyRequestsErrorResponseBody.mjs +2 -0
  73. package/dist/esm/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsUnauthorizedErrorResponseBody.d.mts +9 -0
  74. package/dist/esm/api/types/ResolveAssignmentByDetailsResolveAssignmentByDetailsUnauthorizedErrorResponseBody.mjs +2 -0
  75. package/dist/esm/api/types/ResolveAssignmentByDetailsResponseBodyResponseBody.d.mts +9 -0
  76. package/dist/esm/api/types/ResolveAssignmentByDetailsResponseBodyResponseBody.mjs +2 -0
  77. package/dist/esm/api/types/index.d.mts +11 -0
  78. package/dist/esm/api/types/index.mjs +11 -0
  79. package/dist/esm/version.d.mts +1 -1
  80. package/dist/esm/version.mjs +1 -1
  81. package/package.json +1 -1
  82. package/reference.md +73 -0
@@ -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": "7.1.0",
48
- "User-Agent": "@samsarahq/samsara/7.1.0",
47
+ "X-Fern-SDK-Version": "7.2.1",
48
+ "User-Agent": "@samsarahq/samsara/7.2.1",
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",
@@ -640,6 +640,37 @@ export declare class BetaApIsClient {
640
640
  */
641
641
  listCarbCtcVehicleHistory(request: Samsara.ListCarbCtcVehicleHistoryRequest, requestOptions?: BetaApIsClient.RequestOptions): core.HttpResponsePromise<Samsara.CarbCtcListCarbCtcVehicleHistoryResponseBody>;
642
642
  private __listCarbCtcVehicleHistory;
643
+ /**
644
+ * Resolves a driver by name within an organization via voice sign-in, then creates a driver-vehicle assignment via the Driver Assignment Service.
645
+ *
646
+ * <b>Rate limit:</b> 100 requests/min (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
647
+ *
648
+ * To use this endpoint, select **Write Assignments** under the Assignments category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
649
+ *
650
+ *
651
+ * **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
652
+ *
653
+ * @param {Samsara.ResolveAssignmentByDetailsResolveAssignmentByDetailsRequestBody} request
654
+ * @param {BetaApIsClient.RequestOptions} requestOptions - Request-specific configuration.
655
+ *
656
+ * @throws {@link Samsara.UnauthorizedError}
657
+ * @throws {@link Samsara.NotFoundError}
658
+ * @throws {@link Samsara.MethodNotAllowedError}
659
+ * @throws {@link Samsara.TooManyRequestsError}
660
+ * @throws {@link Samsara.InternalServerError}
661
+ * @throws {@link Samsara.NotImplementedError}
662
+ * @throws {@link Samsara.BadGatewayError}
663
+ * @throws {@link Samsara.ServiceUnavailableError}
664
+ * @throws {@link Samsara.GatewayTimeoutError}
665
+ *
666
+ * @example
667
+ * await client.betaApIs.resolveAssignmentByDetails({
668
+ * driverName: "Jane Doe",
669
+ * vehicleId: "281474978683353"
670
+ * })
671
+ */
672
+ resolveAssignmentByDetails(request: Samsara.ResolveAssignmentByDetailsResolveAssignmentByDetailsRequestBody, requestOptions?: BetaApIsClient.RequestOptions): core.HttpResponsePromise<Samsara.ResolveAssignmentByDetailsResolveAssignmentByDetailsResponseBody>;
673
+ private __resolveAssignmentByDetails;
643
674
  /**
644
675
  * Returns the list of vendor categories available for maintenance vendors.
645
676
  *
@@ -1949,6 +1949,94 @@ class BetaApIsClient {
1949
1949
  return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/fleet/carb-ctc/vehicles/history");
1950
1950
  });
1951
1951
  }
1952
+ /**
1953
+ * Resolves a driver by name within an organization via voice sign-in, then creates a driver-vehicle assignment via the Driver Assignment Service.
1954
+ *
1955
+ * <b>Rate limit:</b> 100 requests/min (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
1956
+ *
1957
+ * To use this endpoint, select **Write Assignments** under the Assignments category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
1958
+ *
1959
+ *
1960
+ * **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
1961
+ *
1962
+ * @param {Samsara.ResolveAssignmentByDetailsResolveAssignmentByDetailsRequestBody} request
1963
+ * @param {BetaApIsClient.RequestOptions} requestOptions - Request-specific configuration.
1964
+ *
1965
+ * @throws {@link Samsara.UnauthorizedError}
1966
+ * @throws {@link Samsara.NotFoundError}
1967
+ * @throws {@link Samsara.MethodNotAllowedError}
1968
+ * @throws {@link Samsara.TooManyRequestsError}
1969
+ * @throws {@link Samsara.InternalServerError}
1970
+ * @throws {@link Samsara.NotImplementedError}
1971
+ * @throws {@link Samsara.BadGatewayError}
1972
+ * @throws {@link Samsara.ServiceUnavailableError}
1973
+ * @throws {@link Samsara.GatewayTimeoutError}
1974
+ *
1975
+ * @example
1976
+ * await client.betaApIs.resolveAssignmentByDetails({
1977
+ * driverName: "Jane Doe",
1978
+ * vehicleId: "281474978683353"
1979
+ * })
1980
+ */
1981
+ resolveAssignmentByDetails(request, requestOptions) {
1982
+ return core.HttpResponsePromise.fromPromise(this.__resolveAssignmentByDetails(request, requestOptions));
1983
+ }
1984
+ __resolveAssignmentByDetails(request, requestOptions) {
1985
+ return __awaiter(this, void 0, void 0, function* () {
1986
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1987
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
1988
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Samsara-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1989
+ const _response = yield core.fetcher({
1990
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SamsaraEnvironment.ProductionApi, "fleet/drivers/voice-sign-in/resolve-assignment"),
1991
+ method: "POST",
1992
+ headers: _headers,
1993
+ contentType: "application/json",
1994
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
1995
+ requestType: "json",
1996
+ body: request,
1997
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
1998
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
1999
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
2000
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
2001
+ logging: this._options.logging,
2002
+ });
2003
+ if (_response.ok) {
2004
+ return {
2005
+ data: _response.body,
2006
+ rawResponse: _response.rawResponse,
2007
+ };
2008
+ }
2009
+ if (_response.error.reason === "status-code") {
2010
+ switch (_response.error.statusCode) {
2011
+ case 401:
2012
+ throw new Samsara.UnauthorizedError(_response.error.body, _response.rawResponse);
2013
+ case 404:
2014
+ throw new Samsara.NotFoundError(_response.error.body, _response.rawResponse);
2015
+ case 405:
2016
+ throw new Samsara.MethodNotAllowedError(_response.error.body, _response.rawResponse);
2017
+ case 429:
2018
+ throw new Samsara.TooManyRequestsError(_response.error.body, _response.rawResponse);
2019
+ case 500:
2020
+ throw new Samsara.InternalServerError(_response.error.body, _response.rawResponse);
2021
+ case 501:
2022
+ throw new Samsara.NotImplementedError(_response.error.body, _response.rawResponse);
2023
+ case 502:
2024
+ throw new Samsara.BadGatewayError(_response.error.body, _response.rawResponse);
2025
+ case 503:
2026
+ throw new Samsara.ServiceUnavailableError(_response.error.body, _response.rawResponse);
2027
+ case 504:
2028
+ throw new Samsara.GatewayTimeoutError(_response.error.body, _response.rawResponse);
2029
+ default:
2030
+ throw new errors.SamsaraError({
2031
+ statusCode: _response.error.statusCode,
2032
+ body: _response.error.body,
2033
+ rawResponse: _response.rawResponse,
2034
+ });
2035
+ }
2036
+ }
2037
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/fleet/drivers/voice-sign-in/resolve-assignment");
2038
+ });
2039
+ }
1952
2040
  /**
1953
2041
  * Returns the list of vendor categories available for maintenance vendors.
1954
2042
  *
@@ -42,7 +42,6 @@ export interface GetReadingsHistoryRequest {
42
42
  * * `crankcasePressure` (Crankcase Pressure): The pressure inside the engine's crankcase (kilopascal)
43
43
  * * `defLevel` (DEF Level): Represents the DEF (Diesel Exhaust Fluid) level percentage. (percent)
44
44
  * * `derivedFuelConsumed` (Lifetime Fuel Consumed (Samsara)): Samsara-maintained fuel consumption since the device was firstinstalled. (liter)
45
- * * `deviceOrientation` (Device Orientation): Indicates orientation of the device. (values: invalid | unknown | topDown | bottomDown | leftDown | rightDown | backDown | frontDown)
46
45
  * * `digioInput1` (Digital IO #1): Represents the state of digital IO #1. (values: off | on)
47
46
  * * `dpfLampStatus` (DPF Lamp Status): Status of the Diesel Particulate Filter warning lamp. (values: off | on | blinking)
48
47
  * * `dpfSootLoadPercent` (DPF Soot Load): Diesel Particulate Filter soot load percentage. (percent)
@@ -57,21 +56,15 @@ export interface GetReadingsHistoryRequest {
57
56
  * * `engineOilTemperature` (Engine Oil Temperature): Temperature of the engine oil (celsius)
58
57
  * * `engineState` (Engine State): Indicates the current state of the engine, such as running, stopped. (values: off | running | idling)
59
58
  * * `engineTotalIdleTime` (Engine Total Idle Time): Total idle time for the vehicle. (minute)
60
- * * `ev24VoltDcDcInverterCurrent` (EV 24V DC/DC Inverter Current): Current from the 24V DC-DC inverter in amperes. (ampere)
61
59
  * * `evAverageCellTemperature` (EV Average Cell Temperature): Average temperature of EV battery cells in degrees Celsius. (celsius)
62
60
  * * `evChargingCurrent` (EV Charging Current): Charging current for electric and hybrid vehicles. (ampere)
63
61
  * * `evChargingEnergy` (EV Charging Energy): Charging energy for electric and hybrid vehicles. (watthour)
64
- * * `evChargingErrorStatus` (EV Charging Error Status): Indicates if the EV charging system has an error. (values: noError | batteryTooHotOrCold | vehicleNotInPark | connectorLockFault | chargingSystemFault | chargingCurrentDifferential | chargingVoltageOutOfRange | chargingSystemNotCompatible | noDataUndeterminedStatus | notAvailable | unknownError)
65
62
  * * `evChargingStatus` (EV Charging Status): Charging status for electric and hybrid vehicles. (values: unknown | notCharging | charging)
66
63
  * * `evChargingVoltage` (EV Charging Voltage): Charging voltage for electric and hybrid vehicles. (volt)
67
64
  * * `evConsumedEnergy` (EV Consumed Energy): Consumed energy (including regenerated) for electric and hybrid vehicles. (watthour)
68
65
  * * `evDistanceDriven` (EV Distance Driven): Electric distance driven for electric and hybrid vehicles. (meter)
69
66
  * * `evHighCapacityBatteryCurrent` (EV High Capacity Battery Current): Current from the high capacity EV battery in amperes. (ampere)
70
67
  * * `evHighCapacityBatteryVoltage` (High Capacity EV Battery Voltage): Represents the voltage of the high capacity EV battery. (volt)
71
- * * `evMaxAllowedStateOfChargePercent` (EV Max Allowed State of Charge): Maximum allowed state of charge percentage. (percent)
72
- * * `evMaxCellTemperature` (EV Max Cell Temperature): Maximum temperature of EV battery cells in degrees Celsius. (celsius)
73
- * * `evMinAllowedStateOfChargePercent` (EV Min Allowed State of Charge): Minimum allowed state of charge percentage. (percent)
74
- * * `evMinCellTemperature` (EV Min Cell Temperature): Minimum temperature of EV battery cells in degrees Celsius. (celsius)
75
68
  * * `evRegeneratedEnergy` (EV Regenerated Energy): Regenerated energy for electric and hybrid vehicles. (watthour)
76
69
  * * `exhaustGasPressure` (Exhaust Gas Pressure): Represents the exhaust gas pressure. (kilopascal)
77
70
  * * `faultCodes` (Fault Codes): Engine fault codes for the asset
@@ -110,8 +103,6 @@ export interface GetReadingsHistoryRequest {
110
103
  * * `samsaraSpeed` (Samsara Speed): Samsara's best estimate of the asset speed, combining multiple data sources such as ECU and GPS. (meterspersec)
111
104
  * * `samsaraSpeedLimit` (Samsara Speed Limit): Speed limit at the location of the asset. (meterspersec)
112
105
  * * `seatbeltDriver` (Seatbelt (Driver)): Indicates whether the driver's seatbelt is buckled or unbuckled. (values: unbuckled | buckled)
113
- * * `seatbeltPassenger` (Seatbelt (Passenger)): Indicates whether the passenger's seatbelt is buckled or unbuckled. (values: unbuckled | buckled)
114
- * * `supportFindNearby` (Support Find Nearby): Indicates if the asset can support find nearby. (values: noData | notCompatible | pendingUpgrade | Ready)
115
106
  * * `tellTales` (Tell Tale Status): Tell tales status as read from the vehicle.
116
107
  * * `tirePressuresBackLeft` (Tire pressure, back left): Represents the tire pressure for the back-left tire. (kilopascal)
117
108
  * * `tirePressuresBackRight` (Tire pressure, back right): Represents the tire pressure for the back-right tire. (kilopascal)
@@ -144,15 +135,10 @@ export interface GetReadingsHistoryRequest {
144
135
  * * `accDistanceAlertSignal` (ACC Distance Alert): Distance Alert Signal from the Adaptive Cruise Control system. (values: notActive | active)
145
136
  * * `adaptiveCruiseControlMode` (ACC Mode): Current mode of the Adaptive Cruise Control System. (values: off | speedControlActive | distanceControlActive | overtakeMode | holdMode | finishMode | disabledOrError)
146
137
  * * `aebsDriverActivationDemand` (AEBS Activation): Whether Advanced Emergency Braking is enabled or disabled by the driver. (values: deactivated | activated)
147
- * * `cruiseControlFinalSetSpeed` (Cruise Control Final Set Speed): Includes driver set point and overrides from the ACC system. (kmperhr)
148
138
  * * `cruiseControlSetSpeed` (Cruise Control Set Speed): Driver's set speed for the cruise control system. (kmperhr)
149
139
  * * `cruiseControlSwitch` (Cruise Control Switch): The state of the cruise control switch. (values: off | on | error)
150
- * * `driverAlertnessWarning` (Driver Alertness Warning): Driver Alertness Warning. (values: noConditionDetected | level1MildDistraction | level2Degradation | level3Warning)
151
- * * `driverAlertnessWarningSystemState` (Driver Alertness Warning State): State of the Driver Alertness Warning system. (values: installedButDisabled | initializing | temporarilyNotAvailable | available | monitoringDriverBehavior)
152
140
  * * `ecuSpeed` (ECU Speed): Speed read from the asset's OBD port. (kmperhr)
153
- * * `emergencyBrakingActive` (Emergency Braking State): State of the Emergency Braking System. (values: inactive | active)
154
141
  * * `emergencyBrakingAebsState` (AEBS State (Collision)): State of the Emergency Braking System for Forward Collision. (values: notReady | temporarilyNotAvailable | deactivatedByDriver | readyAndActivated | driverOverrides | forwardCollisionWarningActive | forwardCollisionWarningWithBraking | forwardCollisionEmergencyBrakingActive | performanceLimited | error)
155
- * * `externalBrakeRequestReason` (Self-Braking Reason/Mode): Brake reason/mode for the emergency self-braking system. (values: collisionAvoidance | stabilityControl | cruiseControlRoadSpeed | adaptiveCruiseControlDistanceControl | driverWarningHapticIndicator)
156
142
  * * `forwardCollisionWarningLevel` (AEBS FCW Level): Severity level of the AEBS Forward Collision Warning. (values: noWarning | level1 | level2 | level3 | level4 | level5 | level6 | level7)
157
143
  * * `forwardCollisionWarningStatus` (ACC FCW Status): Status of the Adaptive Cruise Control Forward Collision Warning system. (values: noWarning | collisionImminent | error)
158
144
  * * `forwardLaneImagerStatus` (Forward Lane Imager State): State of the Forward Lane Imager. (values: fullyOperational | warmingUp | partiallyBlocked | fullyBlocked | misaligned | viewDegraded | error)
@@ -162,8 +148,6 @@ export interface GetReadingsHistoryRequest {
162
148
  * * `laneDepartureIndicationStatus` (LDW Indication): State of the Lane Departure Indication system. (values: disabled | enabled)
163
149
  * * `laneDepartureWarningSystemState` (LDW System State): State of the Lane Departure Warning system. (values: notReady | temporarilyNotAvailable | deactivatedByDriver | ready | warningSuppressed | warningLaneDeparture | error)
164
150
  * * `laneKeepingAssistSystemState` (LKAS State): State of the Lane Keep Assist System. (values: notReady | temporarilyNotAvailable | deactivatedByDriver | ready | suppressedByOperator | actuating | error)
165
- * * `leftLaneDeparture` (Left Lane Departure): State of the Left Lane Departure detection. (values: notDeparting | departing)
166
- * * `rightLaneDeparture` (Right Lane Departure): State of the Right Lane Departure detection. (values: notDeparting | departing)
167
151
  * * `roadDepartureAebsState` (AEBS State (Lane Departure)): State of the AEBS system for Lane Departure. (values: notReady | temporarilyNotAvailable | deactivatedByDriver | readyAndActivated | driverOverrides | roadDepartureWarningActive | roadDepartureWarningWithBraking | roadDepartureEmergencyBrakingActive | performanceLimited | error)
168
152
  * * `ropBrakeControlActive` (ROP Brake Control Active): Indicates whether Roll Over Prevention (ROP) has activated brake control. (values: passive | active)
169
153
  * * `ropEngineControlActive` (ROP Engine Control Active): Indicates whether Roll Over Prevention (ROP) has commanded engine control to be active. (values: passive | active)
@@ -42,7 +42,6 @@ export interface GetReadingsSnapshotRequest {
42
42
  * * `crankcasePressure` (Crankcase Pressure): The pressure inside the engine's crankcase (kilopascal)
43
43
  * * `defLevel` (DEF Level): Represents the DEF (Diesel Exhaust Fluid) level percentage. (percent)
44
44
  * * `derivedFuelConsumed` (Lifetime Fuel Consumed (Samsara)): Samsara-maintained fuel consumption since the device was firstinstalled. (liter)
45
- * * `deviceOrientation` (Device Orientation): Indicates orientation of the device. (values: invalid | unknown | topDown | bottomDown | leftDown | rightDown | backDown | frontDown)
46
45
  * * `digioInput1` (Digital IO #1): Represents the state of digital IO #1. (values: off | on)
47
46
  * * `dpfLampStatus` (DPF Lamp Status): Status of the Diesel Particulate Filter warning lamp. (values: off | on | blinking)
48
47
  * * `dpfSootLoadPercent` (DPF Soot Load): Diesel Particulate Filter soot load percentage. (percent)
@@ -57,21 +56,15 @@ export interface GetReadingsSnapshotRequest {
57
56
  * * `engineOilTemperature` (Engine Oil Temperature): Temperature of the engine oil (celsius)
58
57
  * * `engineState` (Engine State): Indicates the current state of the engine, such as running, stopped. (values: off | running | idling)
59
58
  * * `engineTotalIdleTime` (Engine Total Idle Time): Total idle time for the vehicle. (minute)
60
- * * `ev24VoltDcDcInverterCurrent` (EV 24V DC/DC Inverter Current): Current from the 24V DC-DC inverter in amperes. (ampere)
61
59
  * * `evAverageCellTemperature` (EV Average Cell Temperature): Average temperature of EV battery cells in degrees Celsius. (celsius)
62
60
  * * `evChargingCurrent` (EV Charging Current): Charging current for electric and hybrid vehicles. (ampere)
63
61
  * * `evChargingEnergy` (EV Charging Energy): Charging energy for electric and hybrid vehicles. (watthour)
64
- * * `evChargingErrorStatus` (EV Charging Error Status): Indicates if the EV charging system has an error. (values: noError | batteryTooHotOrCold | vehicleNotInPark | connectorLockFault | chargingSystemFault | chargingCurrentDifferential | chargingVoltageOutOfRange | chargingSystemNotCompatible | noDataUndeterminedStatus | notAvailable | unknownError)
65
62
  * * `evChargingStatus` (EV Charging Status): Charging status for electric and hybrid vehicles. (values: unknown | notCharging | charging)
66
63
  * * `evChargingVoltage` (EV Charging Voltage): Charging voltage for electric and hybrid vehicles. (volt)
67
64
  * * `evConsumedEnergy` (EV Consumed Energy): Consumed energy (including regenerated) for electric and hybrid vehicles. (watthour)
68
65
  * * `evDistanceDriven` (EV Distance Driven): Electric distance driven for electric and hybrid vehicles. (meter)
69
66
  * * `evHighCapacityBatteryCurrent` (EV High Capacity Battery Current): Current from the high capacity EV battery in amperes. (ampere)
70
67
  * * `evHighCapacityBatteryVoltage` (High Capacity EV Battery Voltage): Represents the voltage of the high capacity EV battery. (volt)
71
- * * `evMaxAllowedStateOfChargePercent` (EV Max Allowed State of Charge): Maximum allowed state of charge percentage. (percent)
72
- * * `evMaxCellTemperature` (EV Max Cell Temperature): Maximum temperature of EV battery cells in degrees Celsius. (celsius)
73
- * * `evMinAllowedStateOfChargePercent` (EV Min Allowed State of Charge): Minimum allowed state of charge percentage. (percent)
74
- * * `evMinCellTemperature` (EV Min Cell Temperature): Minimum temperature of EV battery cells in degrees Celsius. (celsius)
75
68
  * * `evRegeneratedEnergy` (EV Regenerated Energy): Regenerated energy for electric and hybrid vehicles. (watthour)
76
69
  * * `exhaustGasPressure` (Exhaust Gas Pressure): Represents the exhaust gas pressure. (kilopascal)
77
70
  * * `faultCodes` (Fault Codes): Engine fault codes for the asset
@@ -110,8 +103,6 @@ export interface GetReadingsSnapshotRequest {
110
103
  * * `samsaraSpeed` (Samsara Speed): Samsara's best estimate of the asset speed, combining multiple data sources such as ECU and GPS. (meterspersec)
111
104
  * * `samsaraSpeedLimit` (Samsara Speed Limit): Speed limit at the location of the asset. (meterspersec)
112
105
  * * `seatbeltDriver` (Seatbelt (Driver)): Indicates whether the driver's seatbelt is buckled or unbuckled. (values: unbuckled | buckled)
113
- * * `seatbeltPassenger` (Seatbelt (Passenger)): Indicates whether the passenger's seatbelt is buckled or unbuckled. (values: unbuckled | buckled)
114
- * * `supportFindNearby` (Support Find Nearby): Indicates if the asset can support find nearby. (values: noData | notCompatible | pendingUpgrade | Ready)
115
106
  * * `tellTales` (Tell Tale Status): Tell tales status as read from the vehicle.
116
107
  * * `tirePressuresBackLeft` (Tire pressure, back left): Represents the tire pressure for the back-left tire. (kilopascal)
117
108
  * * `tirePressuresBackRight` (Tire pressure, back right): Represents the tire pressure for the back-right tire. (kilopascal)
@@ -144,15 +135,10 @@ export interface GetReadingsSnapshotRequest {
144
135
  * * `accDistanceAlertSignal` (ACC Distance Alert): Distance Alert Signal from the Adaptive Cruise Control system. (values: notActive | active)
145
136
  * * `adaptiveCruiseControlMode` (ACC Mode): Current mode of the Adaptive Cruise Control System. (values: off | speedControlActive | distanceControlActive | overtakeMode | holdMode | finishMode | disabledOrError)
146
137
  * * `aebsDriverActivationDemand` (AEBS Activation): Whether Advanced Emergency Braking is enabled or disabled by the driver. (values: deactivated | activated)
147
- * * `cruiseControlFinalSetSpeed` (Cruise Control Final Set Speed): Includes driver set point and overrides from the ACC system. (kmperhr)
148
138
  * * `cruiseControlSetSpeed` (Cruise Control Set Speed): Driver's set speed for the cruise control system. (kmperhr)
149
139
  * * `cruiseControlSwitch` (Cruise Control Switch): The state of the cruise control switch. (values: off | on | error)
150
- * * `driverAlertnessWarning` (Driver Alertness Warning): Driver Alertness Warning. (values: noConditionDetected | level1MildDistraction | level2Degradation | level3Warning)
151
- * * `driverAlertnessWarningSystemState` (Driver Alertness Warning State): State of the Driver Alertness Warning system. (values: installedButDisabled | initializing | temporarilyNotAvailable | available | monitoringDriverBehavior)
152
140
  * * `ecuSpeed` (ECU Speed): Speed read from the asset's OBD port. (kmperhr)
153
- * * `emergencyBrakingActive` (Emergency Braking State): State of the Emergency Braking System. (values: inactive | active)
154
141
  * * `emergencyBrakingAebsState` (AEBS State (Collision)): State of the Emergency Braking System for Forward Collision. (values: notReady | temporarilyNotAvailable | deactivatedByDriver | readyAndActivated | driverOverrides | forwardCollisionWarningActive | forwardCollisionWarningWithBraking | forwardCollisionEmergencyBrakingActive | performanceLimited | error)
155
- * * `externalBrakeRequestReason` (Self-Braking Reason/Mode): Brake reason/mode for the emergency self-braking system. (values: collisionAvoidance | stabilityControl | cruiseControlRoadSpeed | adaptiveCruiseControlDistanceControl | driverWarningHapticIndicator)
156
142
  * * `forwardCollisionWarningLevel` (AEBS FCW Level): Severity level of the AEBS Forward Collision Warning. (values: noWarning | level1 | level2 | level3 | level4 | level5 | level6 | level7)
157
143
  * * `forwardCollisionWarningStatus` (ACC FCW Status): Status of the Adaptive Cruise Control Forward Collision Warning system. (values: noWarning | collisionImminent | error)
158
144
  * * `forwardLaneImagerStatus` (Forward Lane Imager State): State of the Forward Lane Imager. (values: fullyOperational | warmingUp | partiallyBlocked | fullyBlocked | misaligned | viewDegraded | error)
@@ -162,8 +148,6 @@ export interface GetReadingsSnapshotRequest {
162
148
  * * `laneDepartureIndicationStatus` (LDW Indication): State of the Lane Departure Indication system. (values: disabled | enabled)
163
149
  * * `laneDepartureWarningSystemState` (LDW System State): State of the Lane Departure Warning system. (values: notReady | temporarilyNotAvailable | deactivatedByDriver | ready | warningSuppressed | warningLaneDeparture | error)
164
150
  * * `laneKeepingAssistSystemState` (LKAS State): State of the Lane Keep Assist System. (values: notReady | temporarilyNotAvailable | deactivatedByDriver | ready | suppressedByOperator | actuating | error)
165
- * * `leftLaneDeparture` (Left Lane Departure): State of the Left Lane Departure detection. (values: notDeparting | departing)
166
- * * `rightLaneDeparture` (Right Lane Departure): State of the Right Lane Departure detection. (values: notDeparting | departing)
167
151
  * * `roadDepartureAebsState` (AEBS State (Lane Departure)): State of the AEBS system for Lane Departure. (values: notReady | temporarilyNotAvailable | deactivatedByDriver | readyAndActivated | driverOverrides | roadDepartureWarningActive | roadDepartureWarningWithBraking | roadDepartureEmergencyBrakingActive | performanceLimited | error)
168
152
  * * `ropBrakeControlActive` (ROP Brake Control Active): Indicates whether Roll Over Prevention (ROP) has activated brake control. (values: passive | active)
169
153
  * * `ropEngineControlActive` (ROP Engine Control Active): Indicates whether Roll Over Prevention (ROP) has commanded engine control to be active. (values: passive | active)
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * driverName: "Jane Doe",
5
+ * vehicleId: "281474978683353"
6
+ * }
7
+ */
8
+ export interface ResolveAssignmentByDetailsResolveAssignmentByDetailsRequestBody {
9
+ /** The full name of the driver to resolve. */
10
+ driverName: string;
11
+ /** The vehicle ID. This can be either a unique Samsara ID or an external ID for the vehicle. */
12
+ vehicleId: string;
13
+ }
@@ -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 });
@@ -58,6 +58,7 @@ export type { QualificationsPostQualificationRecordRequestBody } from "./Qualifi
58
58
  export type { QualificationsUnarchiveQualificationRecordRequestBody } from "./QualificationsUnarchiveQualificationRecordRequestBody.js";
59
59
  export type { ReadingsPostReadingsRequestBody } from "./ReadingsPostReadingsRequestBody.js";
60
60
  export type { ReportsCreateReportRunRequestBody } from "./ReportsCreateReportRunRequestBody.js";
61
+ export type { ResolveAssignmentByDetailsResolveAssignmentByDetailsRequestBody } from "./ResolveAssignmentByDetailsResolveAssignmentByDetailsRequestBody.js";
61
62
  export type { RidershipAccountsCreateRidershipAccountRequestBody } from "./RidershipAccountsCreateRidershipAccountRequestBody.js";
62
63
  export type { RidershipAccountsUpdateRidershipAccountRequestBody } from "./RidershipAccountsUpdateRidershipAccountRequestBody.js";
63
64
  export { RidershipPassengersCreateRidershipPassengerRequestBody } from "./RidershipPassengersCreateRidershipPassengerRequestBody.js";
@@ -7,8 +7,12 @@ export interface DvirDefectsObjectV20220913ResponseBody {
7
7
  comment?: string | undefined;
8
8
  /** Time when the defect was created. UTC timestamp in RFC 3339 format. */
9
9
  createdAtTime: string;
10
+ /** The severity of the DVIR defect. Valid values: `minor`, `major`, `unspecified` */
11
+ defectSeverity?: DvirDefectsObjectV20220913ResponseBody.DefectSeverity | undefined;
10
12
  /** The type of DVIR defect. */
11
13
  defectType: string;
14
+ /** The ID of the DVIR defect type. */
15
+ defectTypeId?: string | undefined;
12
16
  /** The ID of the defect. */
13
17
  id: string;
14
18
  /** Signifies if this defect is resolved. */
@@ -23,3 +27,12 @@ export interface DvirDefectsObjectV20220913ResponseBody {
23
27
  trailer?: Samsara.GoaTrailerTinyResponseResponseBody | undefined;
24
28
  vehicle?: Samsara.VehicleWithGatewayTinyResponseResponseBody | undefined;
25
29
  }
30
+ export declare namespace DvirDefectsObjectV20220913ResponseBody {
31
+ /** The severity of the DVIR defect. Valid values: `minor`, `major`, `unspecified` */
32
+ const DefectSeverity: {
33
+ readonly Minor: "minor";
34
+ readonly Major: "major";
35
+ readonly Unspecified: "unspecified";
36
+ };
37
+ type DefectSeverity = (typeof DefectSeverity)[keyof typeof DefectSeverity];
38
+ }
@@ -1,3 +1,13 @@
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.DvirDefectsObjectV20220913ResponseBody = void 0;
5
+ var DvirDefectsObjectV20220913ResponseBody;
6
+ (function (DvirDefectsObjectV20220913ResponseBody) {
7
+ /** The severity of the DVIR defect. Valid values: `minor`, `major`, `unspecified` */
8
+ DvirDefectsObjectV20220913ResponseBody.DefectSeverity = {
9
+ Minor: "minor",
10
+ Major: "major",
11
+ Unspecified: "unspecified",
12
+ };
13
+ })(DvirDefectsObjectV20220913ResponseBody || (exports.DvirDefectsObjectV20220913ResponseBody = DvirDefectsObjectV20220913ResponseBody = {}));
@@ -11,10 +11,18 @@ export interface MissingStateResponseBody {
11
11
  note?: string | undefined;
12
12
  /** Users subscribed to location update notifications for this asset. */
13
13
  notification_recipients?: Samsara.NotificationRecipientResponseResponseBody[] | undefined;
14
+ /** The source of the last update to this recovery state. Defaults to `dashboard` if not explicitly set. Valid values: `dashboard`, `api` */
15
+ update_source?: MissingStateResponseBody.UpdateSource | undefined;
14
16
  /** Timestamp when the asset was marked as missing, in milliseconds since epoch. */
15
17
  updated_at_ms: number;
16
18
  /** The ID of the user who marked the asset as missing. */
17
19
  updated_by_user_id?: number | undefined;
18
- /** The unique UUID of this recovery state record. */
19
- uuid: string;
20
+ }
21
+ export declare namespace MissingStateResponseBody {
22
+ /** The source of the last update to this recovery state. Defaults to `dashboard` if not explicitly set. Valid values: `dashboard`, `api` */
23
+ const UpdateSource: {
24
+ readonly Dashboard: "dashboard";
25
+ readonly Api: "api";
26
+ };
27
+ type UpdateSource = (typeof UpdateSource)[keyof typeof UpdateSource];
20
28
  }
@@ -1,3 +1,12 @@
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.MissingStateResponseBody = void 0;
5
+ var MissingStateResponseBody;
6
+ (function (MissingStateResponseBody) {
7
+ /** The source of the last update to this recovery state. Defaults to `dashboard` if not explicitly set. Valid values: `dashboard`, `api` */
8
+ MissingStateResponseBody.UpdateSource = {
9
+ Dashboard: "dashboard",
10
+ Api: "api",
11
+ };
12
+ })(MissingStateResponseBody || (exports.MissingStateResponseBody = MissingStateResponseBody = {}));
@@ -13,10 +13,18 @@ export interface RecoveryStateResponseBody {
13
13
  notification_recipients?: Samsara.NotificationRecipientResponseResponseBody[] | undefined;
14
14
  /** Photos associated with the recovery event. URLs are temporary and expire at url_expires_at_ms. */
15
15
  recovery_photos?: Samsara.RecoveryPhotoResponseBody[] | undefined;
16
+ /** The source of the last update to this recovery state. Defaults to `dashboard` if not explicitly set. Valid values: `dashboard`, `api` */
17
+ update_source?: RecoveryStateResponseBody.UpdateSource | undefined;
16
18
  /** Timestamp when the recovery state was last updated, in milliseconds since epoch. */
17
19
  updated_at_ms: number;
18
20
  /** The ID of the user who last updated the recovery state. */
19
21
  updated_by_user_id?: number | undefined;
20
- /** The unique UUID of this recovery state record. */
21
- uuid: string;
22
+ }
23
+ export declare namespace RecoveryStateResponseBody {
24
+ /** The source of the last update to this recovery state. Defaults to `dashboard` if not explicitly set. Valid values: `dashboard`, `api` */
25
+ const UpdateSource: {
26
+ readonly Dashboard: "dashboard";
27
+ readonly Api: "api";
28
+ };
29
+ type UpdateSource = (typeof UpdateSource)[keyof typeof UpdateSource];
22
30
  }
@@ -1,3 +1,12 @@
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.RecoveryStateResponseBody = void 0;
5
+ var RecoveryStateResponseBody;
6
+ (function (RecoveryStateResponseBody) {
7
+ /** The source of the last update to this recovery state. Defaults to `dashboard` if not explicitly set. Valid values: `dashboard`, `api` */
8
+ RecoveryStateResponseBody.UpdateSource = {
9
+ Dashboard: "dashboard",
10
+ Api: "api",
11
+ };
12
+ })(RecoveryStateResponseBody || (exports.RecoveryStateResponseBody = RecoveryStateResponseBody = {}));
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Bad Gateway
3
+ */
4
+ export interface ResolveAssignmentByDetailsResolveAssignmentByDetailsBadGatewayErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -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 });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Gateway timeout
3
+ */
4
+ export interface ResolveAssignmentByDetailsResolveAssignmentByDetailsGatewayTimeoutErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -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 });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * An internal server error occurred
3
+ */
4
+ export interface ResolveAssignmentByDetailsResolveAssignmentByDetailsInternalServerErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -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 });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Method not allowed
3
+ */
4
+ export interface ResolveAssignmentByDetailsResolveAssignmentByDetailsMethodNotAllowedErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -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 });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Resource not found
3
+ */
4
+ export interface ResolveAssignmentByDetailsResolveAssignmentByDetailsNotFoundErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -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 });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Requested endpoint is not yet implemented
3
+ */
4
+ export interface ResolveAssignmentByDetailsResolveAssignmentByDetailsNotImplementedErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -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 });
@@ -0,0 +1,4 @@
1
+ import type * as Samsara from "../index.js";
2
+ export interface ResolveAssignmentByDetailsResolveAssignmentByDetailsResponseBody {
3
+ data: Samsara.ResolveAssignmentByDetailsResponseBodyResponseBody;
4
+ }
@@ -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 });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Service unavailable
3
+ */
4
+ export interface ResolveAssignmentByDetailsResolveAssignmentByDetailsServiceUnavailableErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -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 });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Too many requests
3
+ */
4
+ export interface ResolveAssignmentByDetailsResolveAssignmentByDetailsTooManyRequestsErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -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 });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Unauthorized
3
+ */
4
+ export interface ResolveAssignmentByDetailsResolveAssignmentByDetailsUnauthorizedErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -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 });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Response body containing the resolved driver information.
3
+ */
4
+ export interface ResolveAssignmentByDetailsResponseBodyResponseBody {
5
+ /** The resolved Samsara driver ID. */
6
+ driverId: string;
7
+ /** The matched driver name. */
8
+ driverName: string;
9
+ }
@@ -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 });