@samsarahq/samsara 13.26.0 → 13.28.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.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/assets/client/Client.d.ts +4 -24
- package/dist/cjs/api/resources/assets/client/Client.js +4 -24
- package/dist/cjs/api/resources/hoursOfService/client/Client.d.ts +2 -12
- package/dist/cjs/api/resources/hoursOfService/client/Client.js +2 -12
- package/dist/cjs/api/resources/industrial/client/Client.d.ts +7 -42
- package/dist/cjs/api/resources/industrial/client/Client.js +7 -42
- package/dist/cjs/api/resources/legacyApIs/client/Client.d.ts +1 -6
- package/dist/cjs/api/resources/legacyApIs/client/Client.js +1 -6
- package/dist/cjs/api/resources/maintenance/client/Client.d.ts +1 -6
- package/dist/cjs/api/resources/maintenance/client/Client.js +1 -6
- package/dist/cjs/api/resources/messages/client/Client.d.ts +2 -12
- package/dist/cjs/api/resources/messages/client/Client.js +2 -12
- package/dist/cjs/api/resources/routes/client/Client.d.ts +1 -6
- package/dist/cjs/api/resources/routes/client/Client.js +1 -6
- package/dist/cjs/api/resources/safety/client/Client.d.ts +2 -12
- package/dist/cjs/api/resources/safety/client/Client.js +2 -12
- package/dist/cjs/api/resources/sensors/client/Client.d.ts +6 -36
- package/dist/cjs/api/resources/sensors/client/Client.js +6 -36
- package/dist/cjs/api/resources/trailerAssignments/client/Client.d.ts +2 -12
- package/dist/cjs/api/resources/trailerAssignments/client/Client.js +2 -12
- package/dist/cjs/api/resources/trailers/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/trailers/client/Client.js +2 -0
- package/dist/cjs/api/resources/trips/client/Client.d.ts +1 -6
- package/dist/cjs/api/resources/trips/client/Client.js +1 -6
- package/dist/cjs/api/types/HarshEventTriggerDetailsObjectRequestBody.d.ts +2 -1
- package/dist/cjs/api/types/HarshEventTriggerDetailsObjectRequestBody.js +2 -1
- package/dist/cjs/api/types/HarshEventTriggerDetailsObjectResponseBody.d.ts +2 -1
- package/dist/cjs/api/types/HarshEventTriggerDetailsObjectResponseBody.js +2 -1
- package/dist/cjs/api/types/PlaceRoutingCapacityServiceTimeInputRequestBody.d.ts +1 -1
- package/dist/cjs/api/types/PlaceRoutingInputRequestBody.d.ts +10 -2
- package/dist/cjs/api/types/PlaceRoutingInputRequestBody.js +9 -0
- package/dist/cjs/api/types/PlaceRoutingOrderServiceTimeInputRequestBody.d.ts +2 -0
- package/dist/cjs/api/types/RoutingCapacityServiceTimeResponseResponseBody.d.ts +1 -1
- package/dist/cjs/api/types/RoutingOrderServiceTimeResponseResponseBody.d.ts +2 -0
- package/dist/cjs/api/types/RoutingResponseResponseBody.d.ts +2 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/assets/client/Client.d.mts +4 -24
- package/dist/esm/api/resources/assets/client/Client.mjs +4 -24
- package/dist/esm/api/resources/hoursOfService/client/Client.d.mts +2 -12
- package/dist/esm/api/resources/hoursOfService/client/Client.mjs +2 -12
- package/dist/esm/api/resources/industrial/client/Client.d.mts +7 -42
- package/dist/esm/api/resources/industrial/client/Client.mjs +7 -42
- package/dist/esm/api/resources/legacyApIs/client/Client.d.mts +1 -6
- package/dist/esm/api/resources/legacyApIs/client/Client.mjs +1 -6
- package/dist/esm/api/resources/maintenance/client/Client.d.mts +1 -6
- package/dist/esm/api/resources/maintenance/client/Client.mjs +1 -6
- package/dist/esm/api/resources/messages/client/Client.d.mts +2 -12
- package/dist/esm/api/resources/messages/client/Client.mjs +2 -12
- package/dist/esm/api/resources/routes/client/Client.d.mts +1 -6
- package/dist/esm/api/resources/routes/client/Client.mjs +1 -6
- package/dist/esm/api/resources/safety/client/Client.d.mts +2 -12
- package/dist/esm/api/resources/safety/client/Client.mjs +2 -12
- package/dist/esm/api/resources/sensors/client/Client.d.mts +6 -36
- package/dist/esm/api/resources/sensors/client/Client.mjs +6 -36
- package/dist/esm/api/resources/trailerAssignments/client/Client.d.mts +2 -12
- package/dist/esm/api/resources/trailerAssignments/client/Client.mjs +2 -12
- package/dist/esm/api/resources/trailers/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/trailers/client/Client.mjs +2 -0
- package/dist/esm/api/resources/trips/client/Client.d.mts +1 -6
- package/dist/esm/api/resources/trips/client/Client.mjs +1 -6
- package/dist/esm/api/types/HarshEventTriggerDetailsObjectRequestBody.d.mts +2 -1
- package/dist/esm/api/types/HarshEventTriggerDetailsObjectRequestBody.mjs +2 -1
- package/dist/esm/api/types/HarshEventTriggerDetailsObjectResponseBody.d.mts +2 -1
- package/dist/esm/api/types/HarshEventTriggerDetailsObjectResponseBody.mjs +2 -1
- package/dist/esm/api/types/PlaceRoutingCapacityServiceTimeInputRequestBody.d.mts +1 -1
- package/dist/esm/api/types/PlaceRoutingInputRequestBody.d.mts +10 -2
- package/dist/esm/api/types/PlaceRoutingInputRequestBody.mjs +8 -1
- package/dist/esm/api/types/PlaceRoutingOrderServiceTimeInputRequestBody.d.mts +2 -0
- package/dist/esm/api/types/RoutingCapacityServiceTimeResponseResponseBody.d.mts +1 -1
- package/dist/esm/api/types/RoutingOrderServiceTimeResponseResponseBody.d.mts +2 -0
- package/dist/esm/api/types/RoutingResponseResponseBody.d.mts +2 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +31 -174
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -44,8 +44,8 @@ function normalizeClientOptions(options) {
|
|
|
44
44
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
45
45
|
"X-Fern-Language": "JavaScript",
|
|
46
46
|
"X-Fern-SDK-Name": "@samsarahq/samsara",
|
|
47
|
-
"X-Fern-SDK-Version": "13.
|
|
48
|
-
"User-Agent": "@samsarahq/samsara/13.
|
|
47
|
+
"X-Fern-SDK-Version": "13.28.0",
|
|
48
|
+
"User-Agent": "@samsarahq/samsara/13.28.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",
|
|
@@ -126,12 +126,7 @@ export declare class AssetsClient {
|
|
|
126
126
|
updateAsset(request: Samsara.AssetsUpdateAssetRequestBody, requestOptions?: AssetsClient.RequestOptions): core.HttpResponsePromise<Samsara.AssetsUpdateAssetResponseBody>;
|
|
127
127
|
private __updateAsset;
|
|
128
128
|
/**
|
|
129
|
-
*
|
|
130
|
-
* <nh>
|
|
131
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
132
|
-
* This endpoint is still on our legacy API.
|
|
133
|
-
* </nh>
|
|
134
|
-
* </n>
|
|
129
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
135
130
|
*
|
|
136
131
|
* Fetch current locations of all assets.
|
|
137
132
|
*
|
|
@@ -148,12 +143,7 @@ export declare class AssetsClient {
|
|
|
148
143
|
v1GetAllAssetCurrentLocations(request?: Samsara.V1GetAllAssetCurrentLocationsRequest, requestOptions?: AssetsClient.RequestOptions): core.HttpResponsePromise<Samsara.InlineResponse2002>;
|
|
149
144
|
private __v1GetAllAssetCurrentLocations;
|
|
150
145
|
/**
|
|
151
|
-
*
|
|
152
|
-
* <nh>
|
|
153
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
154
|
-
* This endpoint is still on our legacy API.
|
|
155
|
-
* </nh>
|
|
156
|
-
* </n>
|
|
146
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
157
147
|
*
|
|
158
148
|
* Fetches all reefers and reefer-specific stats.
|
|
159
149
|
*
|
|
@@ -173,12 +163,7 @@ export declare class AssetsClient {
|
|
|
173
163
|
v1GetAssetsReefers(request: Samsara.V1GetAssetsReefersRequest, requestOptions?: AssetsClient.RequestOptions): core.HttpResponsePromise<Samsara.InlineResponse2003>;
|
|
174
164
|
private __v1GetAssetsReefers;
|
|
175
165
|
/**
|
|
176
|
-
*
|
|
177
|
-
* <nh>
|
|
178
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
179
|
-
* This endpoint is still on our legacy API.
|
|
180
|
-
* </nh>
|
|
181
|
-
* </n>
|
|
166
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
182
167
|
*
|
|
183
168
|
* List historical locations for a given asset.
|
|
184
169
|
*
|
|
@@ -199,12 +184,7 @@ export declare class AssetsClient {
|
|
|
199
184
|
v1GetAssetLocation(request: Samsara.V1GetAssetLocationRequest, requestOptions?: AssetsClient.RequestOptions): core.HttpResponsePromise<Samsara.V1AssetLocationResponse>;
|
|
200
185
|
private __v1GetAssetLocation;
|
|
201
186
|
/**
|
|
202
|
-
*
|
|
203
|
-
* <nh>
|
|
204
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
205
|
-
* This endpoint is still on our legacy API.
|
|
206
|
-
* </nh>
|
|
207
|
-
* </n>
|
|
187
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
208
188
|
*
|
|
209
189
|
* Fetch the reefer-specific stats of an asset.
|
|
210
190
|
*
|
|
@@ -435,12 +435,7 @@ class AssetsClient {
|
|
|
435
435
|
});
|
|
436
436
|
}
|
|
437
437
|
/**
|
|
438
|
-
*
|
|
439
|
-
* <nh>
|
|
440
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
441
|
-
* This endpoint is still on our legacy API.
|
|
442
|
-
* </nh>
|
|
443
|
-
* </n>
|
|
438
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
444
439
|
*
|
|
445
440
|
* Fetch current locations of all assets.
|
|
446
441
|
*
|
|
@@ -493,12 +488,7 @@ class AssetsClient {
|
|
|
493
488
|
});
|
|
494
489
|
}
|
|
495
490
|
/**
|
|
496
|
-
*
|
|
497
|
-
* <nh>
|
|
498
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
499
|
-
* This endpoint is still on our legacy API.
|
|
500
|
-
* </nh>
|
|
501
|
-
* </n>
|
|
491
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
502
492
|
*
|
|
503
493
|
* Fetches all reefers and reefer-specific stats.
|
|
504
494
|
*
|
|
@@ -556,12 +546,7 @@ class AssetsClient {
|
|
|
556
546
|
});
|
|
557
547
|
}
|
|
558
548
|
/**
|
|
559
|
-
*
|
|
560
|
-
* <nh>
|
|
561
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
562
|
-
* This endpoint is still on our legacy API.
|
|
563
|
-
* </nh>
|
|
564
|
-
* </n>
|
|
549
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
565
550
|
*
|
|
566
551
|
* List historical locations for a given asset.
|
|
567
552
|
*
|
|
@@ -617,12 +602,7 @@ class AssetsClient {
|
|
|
617
602
|
});
|
|
618
603
|
}
|
|
619
604
|
/**
|
|
620
|
-
*
|
|
621
|
-
* <nh>
|
|
622
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
623
|
-
* This endpoint is still on our legacy API.
|
|
624
|
-
* </nh>
|
|
625
|
-
* </n>
|
|
605
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
626
606
|
*
|
|
627
607
|
* Fetch the reefer-specific stats of an asset.
|
|
628
608
|
*
|
|
@@ -115,12 +115,7 @@ export declare class HoursOfServiceClient {
|
|
|
115
115
|
getHosViolations(request?: Samsara.GetHosViolationsRequest, requestOptions?: HoursOfServiceClient.RequestOptions): core.HttpResponsePromise<Samsara.HosViolationsGetHosViolationsResponseBody>;
|
|
116
116
|
private __getHosViolations;
|
|
117
117
|
/**
|
|
118
|
-
*
|
|
119
|
-
* <nh>
|
|
120
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
121
|
-
* This endpoint is still on our legacy API.
|
|
122
|
-
* </nh>
|
|
123
|
-
* </n>
|
|
118
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
124
119
|
*
|
|
125
120
|
* Set an individual driver’s current duty status to 'On Duty' or 'Off Duty'.
|
|
126
121
|
*
|
|
@@ -142,12 +137,7 @@ export declare class HoursOfServiceClient {
|
|
|
142
137
|
setCurrentDutyStatus(request: Samsara.InlineObject1, requestOptions?: HoursOfServiceClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
143
138
|
private __setCurrentDutyStatus;
|
|
144
139
|
/**
|
|
145
|
-
*
|
|
146
|
-
* <nh>
|
|
147
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
148
|
-
* This endpoint is still on our legacy API.
|
|
149
|
-
* </nh>
|
|
150
|
-
* </n>
|
|
140
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
151
141
|
*
|
|
152
142
|
* Get the HOS (hours of service) signin and signout logs for the specified driver. The response includes 4 fields that are now deprecated.
|
|
153
143
|
*
|
|
@@ -377,12 +377,7 @@ class HoursOfServiceClient {
|
|
|
377
377
|
});
|
|
378
378
|
}
|
|
379
379
|
/**
|
|
380
|
-
*
|
|
381
|
-
* <nh>
|
|
382
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
383
|
-
* This endpoint is still on our legacy API.
|
|
384
|
-
* </nh>
|
|
385
|
-
* </n>
|
|
380
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
386
381
|
*
|
|
387
382
|
* Set an individual driver’s current duty status to 'On Duty' or 'Off Duty'.
|
|
388
383
|
*
|
|
@@ -438,12 +433,7 @@ class HoursOfServiceClient {
|
|
|
438
433
|
});
|
|
439
434
|
}
|
|
440
435
|
/**
|
|
441
|
-
*
|
|
442
|
-
* <nh>
|
|
443
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
444
|
-
* This endpoint is still on our legacy API.
|
|
445
|
-
* </nh>
|
|
446
|
-
* </n>
|
|
436
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
447
437
|
*
|
|
448
438
|
* Get the HOS (hours of service) signin and signout logs for the specified driver. The response includes 4 fields that are now deprecated.
|
|
449
439
|
*
|
|
@@ -165,12 +165,7 @@ export declare class IndustrialClient {
|
|
|
165
165
|
getDataInputDataHistory(request: Samsara.GetDataInputDataHistoryRequest, requestOptions?: IndustrialClient.RequestOptions): core.HttpResponsePromise<Samsara.DataInputListResponse>;
|
|
166
166
|
private __getDataInputDataHistory;
|
|
167
167
|
/**
|
|
168
|
-
*
|
|
169
|
-
* <nh>
|
|
170
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
171
|
-
* This endpoint is still on our legacy API.
|
|
172
|
-
* </nh>
|
|
173
|
-
* </n>
|
|
168
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
174
169
|
*
|
|
175
170
|
* Fetch all cameras.
|
|
176
171
|
*
|
|
@@ -186,12 +181,7 @@ export declare class IndustrialClient {
|
|
|
186
181
|
v1GetCameras(requestOptions?: IndustrialClient.RequestOptions): core.HttpResponsePromise<Samsara.V1VisionCamerasResponse>;
|
|
187
182
|
private __v1GetCameras;
|
|
188
183
|
/**
|
|
189
|
-
*
|
|
190
|
-
* <nh>
|
|
191
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
192
|
-
* This endpoint is still on our legacy API.
|
|
193
|
-
* </nh>
|
|
194
|
-
* </n>
|
|
184
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
195
185
|
*
|
|
196
186
|
* Fetch configured programs on the camera.
|
|
197
187
|
*
|
|
@@ -227,12 +217,7 @@ export declare class IndustrialClient {
|
|
|
227
217
|
v1GetVisionLatestRunCamera(request: Samsara.V1GetVisionLatestRunCameraRequest, requestOptions?: IndustrialClient.RequestOptions): core.HttpResponsePromise<Samsara.V1VisionRunByCameraResponse>;
|
|
228
218
|
private __v1GetVisionLatestRunCamera;
|
|
229
219
|
/**
|
|
230
|
-
*
|
|
231
|
-
* <nh>
|
|
232
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
233
|
-
* This endpoint is still on our legacy API.
|
|
234
|
-
* </nh>
|
|
235
|
-
* </n>
|
|
220
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
236
221
|
*
|
|
237
222
|
* Fetch runs.
|
|
238
223
|
*
|
|
@@ -251,12 +236,7 @@ export declare class IndustrialClient {
|
|
|
251
236
|
v1GetVisionRuns(request: Samsara.V1GetVisionRunsRequest, requestOptions?: IndustrialClient.RequestOptions): core.HttpResponsePromise<Samsara.V1VisionRunsResponse>;
|
|
252
237
|
private __v1GetVisionRuns;
|
|
253
238
|
/**
|
|
254
|
-
*
|
|
255
|
-
* <nh>
|
|
256
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
257
|
-
* This endpoint is still on our legacy API.
|
|
258
|
-
* </nh>
|
|
259
|
-
* </n>
|
|
239
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
260
240
|
*
|
|
261
241
|
* Fetch runs by camera.
|
|
262
242
|
*
|
|
@@ -276,12 +256,7 @@ export declare class IndustrialClient {
|
|
|
276
256
|
getVisionRunsByCamera(request: Samsara.GetVisionRunsByCameraRequest, requestOptions?: IndustrialClient.RequestOptions): core.HttpResponsePromise<Samsara.V1VisionRunsByCameraResponse>;
|
|
277
257
|
private __getVisionRunsByCamera;
|
|
278
258
|
/**
|
|
279
|
-
*
|
|
280
|
-
* <nh>
|
|
281
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
282
|
-
* This endpoint is still on our legacy API.
|
|
283
|
-
* </nh>
|
|
284
|
-
* </n>
|
|
259
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
285
260
|
*
|
|
286
261
|
* Fetch runs by camera and program.
|
|
287
262
|
*
|
|
@@ -302,12 +277,7 @@ export declare class IndustrialClient {
|
|
|
302
277
|
v1GetVisionRunsByCameraAndProgram(request: Samsara.V1GetVisionRunsByCameraAndProgramRequest, requestOptions?: IndustrialClient.RequestOptions): core.HttpResponsePromise<Samsara.V1VisionRunsByCameraAndProgramResponse>;
|
|
303
278
|
private __v1GetVisionRunsByCameraAndProgram;
|
|
304
279
|
/**
|
|
305
|
-
*
|
|
306
|
-
* <nh>
|
|
307
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
308
|
-
* This endpoint is still on our legacy API.
|
|
309
|
-
* </nh>
|
|
310
|
-
* </n>
|
|
280
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
311
281
|
*
|
|
312
282
|
* Get historical data for machine objects. This method returns a set of historical data for all machines.
|
|
313
283
|
*
|
|
@@ -327,12 +297,7 @@ export declare class IndustrialClient {
|
|
|
327
297
|
v1GetMachinesHistory(request: Samsara.InlineObject3, requestOptions?: IndustrialClient.RequestOptions): core.HttpResponsePromise<Samsara.V1MachineHistoryResponse>;
|
|
328
298
|
private __v1GetMachinesHistory;
|
|
329
299
|
/**
|
|
330
|
-
*
|
|
331
|
-
* <nh>
|
|
332
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
333
|
-
* This endpoint is still on our legacy API.
|
|
334
|
-
* </nh>
|
|
335
|
-
* </n>
|
|
300
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
336
301
|
*
|
|
337
302
|
* Get machine objects. This method returns a list of the machine objects in the Samsara Cloud and information about them.
|
|
338
303
|
*
|
|
@@ -540,12 +540,7 @@ class IndustrialClient {
|
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
542
|
/**
|
|
543
|
-
*
|
|
544
|
-
* <nh>
|
|
545
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
546
|
-
* This endpoint is still on our legacy API.
|
|
547
|
-
* </nh>
|
|
548
|
-
* </n>
|
|
543
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
549
544
|
*
|
|
550
545
|
* Fetch all cameras.
|
|
551
546
|
*
|
|
@@ -591,12 +586,7 @@ class IndustrialClient {
|
|
|
591
586
|
});
|
|
592
587
|
}
|
|
593
588
|
/**
|
|
594
|
-
*
|
|
595
|
-
* <nh>
|
|
596
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
597
|
-
* This endpoint is still on our legacy API.
|
|
598
|
-
* </nh>
|
|
599
|
-
* </n>
|
|
589
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
600
590
|
*
|
|
601
591
|
* Fetch configured programs on the camera.
|
|
602
592
|
*
|
|
@@ -703,12 +693,7 @@ class IndustrialClient {
|
|
|
703
693
|
});
|
|
704
694
|
}
|
|
705
695
|
/**
|
|
706
|
-
*
|
|
707
|
-
* <nh>
|
|
708
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
709
|
-
* This endpoint is still on our legacy API.
|
|
710
|
-
* </nh>
|
|
711
|
-
* </n>
|
|
696
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
712
697
|
*
|
|
713
698
|
* Fetch runs.
|
|
714
699
|
*
|
|
@@ -762,12 +747,7 @@ class IndustrialClient {
|
|
|
762
747
|
});
|
|
763
748
|
}
|
|
764
749
|
/**
|
|
765
|
-
*
|
|
766
|
-
* <nh>
|
|
767
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
768
|
-
* This endpoint is still on our legacy API.
|
|
769
|
-
* </nh>
|
|
770
|
-
* </n>
|
|
750
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
771
751
|
*
|
|
772
752
|
* Fetch runs by camera.
|
|
773
753
|
*
|
|
@@ -822,12 +802,7 @@ class IndustrialClient {
|
|
|
822
802
|
});
|
|
823
803
|
}
|
|
824
804
|
/**
|
|
825
|
-
*
|
|
826
|
-
* <nh>
|
|
827
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
828
|
-
* This endpoint is still on our legacy API.
|
|
829
|
-
* </nh>
|
|
830
|
-
* </n>
|
|
805
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
831
806
|
*
|
|
832
807
|
* Fetch runs by camera and program.
|
|
833
808
|
*
|
|
@@ -885,12 +860,7 @@ class IndustrialClient {
|
|
|
885
860
|
});
|
|
886
861
|
}
|
|
887
862
|
/**
|
|
888
|
-
*
|
|
889
|
-
* <nh>
|
|
890
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
891
|
-
* This endpoint is still on our legacy API.
|
|
892
|
-
* </nh>
|
|
893
|
-
* </n>
|
|
863
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
894
864
|
*
|
|
895
865
|
* Get historical data for machine objects. This method returns a set of historical data for all machines.
|
|
896
866
|
*
|
|
@@ -943,12 +913,7 @@ class IndustrialClient {
|
|
|
943
913
|
});
|
|
944
914
|
}
|
|
945
915
|
/**
|
|
946
|
-
*
|
|
947
|
-
* <nh>
|
|
948
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
949
|
-
* This endpoint is still on our legacy API.
|
|
950
|
-
* </nh>
|
|
951
|
-
* </n>
|
|
916
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
952
917
|
*
|
|
953
918
|
* Get machine objects. This method returns a list of the machine objects in the Samsara Cloud and information about them.
|
|
954
919
|
*
|
|
@@ -194,12 +194,7 @@ export declare class LegacyApIsClient {
|
|
|
194
194
|
getVehiclesDriverAssignments(request?: Samsara.GetVehiclesDriverAssignmentsRequest, requestOptions?: LegacyApIsClient.RequestOptions): core.HttpResponsePromise<Samsara.VehiclesDriverAssignmentsGetVehiclesDriverAssignmentsResponseBody>;
|
|
195
195
|
private __getVehiclesDriverAssignments;
|
|
196
196
|
/**
|
|
197
|
-
* **Note: This is a legacy endpoint, consider using [this endpoint](https://developers.samsara.com/reference/getsafetyeventsv2stream) instead. The endpoint will continue to function as documented.**
|
|
198
|
-
* <nh>
|
|
199
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
200
|
-
* This endpoint is still on our legacy API.
|
|
201
|
-
* </nh>
|
|
202
|
-
* </n>
|
|
197
|
+
* **Note: This is a legacy endpoint, consider using [this endpoint](https://developers.samsara.com/reference/getsafetyeventsv2stream) instead. The endpoint will continue to function as documented.** > 🚧 This endpoint is still on our legacy API.
|
|
203
198
|
*
|
|
204
199
|
* Fetch harsh event details for a vehicle.
|
|
205
200
|
*
|
|
@@ -607,12 +607,7 @@ class LegacyApIsClient {
|
|
|
607
607
|
});
|
|
608
608
|
}
|
|
609
609
|
/**
|
|
610
|
-
* **Note: This is a legacy endpoint, consider using [this endpoint](https://developers.samsara.com/reference/getsafetyeventsv2stream) instead. The endpoint will continue to function as documented.**
|
|
611
|
-
* <nh>
|
|
612
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
613
|
-
* This endpoint is still on our legacy API.
|
|
614
|
-
* </nh>
|
|
615
|
-
* </n>
|
|
610
|
+
* **Note: This is a legacy endpoint, consider using [this endpoint](https://developers.samsara.com/reference/getsafetyeventsv2stream) instead. The endpoint will continue to function as documented.** > 🚧 This endpoint is still on our legacy API.
|
|
616
611
|
*
|
|
617
612
|
* Fetch harsh event details for a vehicle.
|
|
618
613
|
*
|
|
@@ -214,12 +214,7 @@ export declare class MaintenanceClient {
|
|
|
214
214
|
updateDvir(request: Samsara.UpdateDvirRequest, requestOptions?: MaintenanceClient.RequestOptions): core.HttpResponsePromise<Samsara.DvirResponse>;
|
|
215
215
|
private __updateDvir;
|
|
216
216
|
/**
|
|
217
|
-
*
|
|
218
|
-
* <nh>
|
|
219
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
220
|
-
* This endpoint is still on our legacy API.
|
|
221
|
-
* </nh>
|
|
222
|
-
* </n>
|
|
217
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
223
218
|
*
|
|
224
219
|
* Get list of the vehicles with any engine faults or check light data.
|
|
225
220
|
*
|
|
@@ -667,12 +667,7 @@ class MaintenanceClient {
|
|
|
667
667
|
});
|
|
668
668
|
}
|
|
669
669
|
/**
|
|
670
|
-
*
|
|
671
|
-
* <nh>
|
|
672
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
673
|
-
* This endpoint is still on our legacy API.
|
|
674
|
-
* </nh>
|
|
675
|
-
* </n>
|
|
670
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
676
671
|
*
|
|
677
672
|
* Get list of the vehicles with any engine faults or check light data.
|
|
678
673
|
*
|
|
@@ -11,12 +11,7 @@ export declare class MessagesClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<MessagesClient.Options>;
|
|
12
12
|
constructor(options?: MessagesClient.Options);
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
15
|
-
* <nh>
|
|
16
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
17
|
-
* This endpoint is still on our legacy API.
|
|
18
|
-
* </nh>
|
|
19
|
-
* </n>
|
|
14
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
20
15
|
*
|
|
21
16
|
* Get all messages.
|
|
22
17
|
*
|
|
@@ -35,12 +30,7 @@ export declare class MessagesClient {
|
|
|
35
30
|
v1GetMessages(request?: Samsara.V1GetMessagesRequest, requestOptions?: MessagesClient.RequestOptions): core.HttpResponsePromise<Samsara.InlineResponse2005>;
|
|
36
31
|
private __v1GetMessages;
|
|
37
32
|
/**
|
|
38
|
-
*
|
|
39
|
-
* <nh>
|
|
40
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
41
|
-
* This endpoint is still on our legacy API.
|
|
42
|
-
* </nh>
|
|
43
|
-
* </n>
|
|
33
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
44
34
|
*
|
|
45
35
|
* Send a message to a list of driver ids.
|
|
46
36
|
*
|
|
@@ -55,12 +55,7 @@ class MessagesClient {
|
|
|
55
55
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
59
|
-
* <nh>
|
|
60
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
61
|
-
* This endpoint is still on our legacy API.
|
|
62
|
-
* </nh>
|
|
63
|
-
* </n>
|
|
58
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
64
59
|
*
|
|
65
60
|
* Get all messages.
|
|
66
61
|
*
|
|
@@ -114,12 +109,7 @@ class MessagesClient {
|
|
|
114
109
|
});
|
|
115
110
|
}
|
|
116
111
|
/**
|
|
117
|
-
*
|
|
118
|
-
* <nh>
|
|
119
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
120
|
-
* This endpoint is still on our legacy API.
|
|
121
|
-
* </nh>
|
|
122
|
-
* </n>
|
|
112
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
123
113
|
*
|
|
124
114
|
* Send a message to a list of driver ids.
|
|
125
115
|
*
|
|
@@ -227,12 +227,7 @@ export declare class RoutesClient {
|
|
|
227
227
|
listHubPlanRoutes(request: Samsara.ListHubPlanRoutesRequest, requestOptions?: RoutesClient.RequestOptions): core.HttpResponsePromise<Samsara.HubPlanRoutesListHubPlanRoutesResponseBody>;
|
|
228
228
|
private __listHubPlanRoutes;
|
|
229
229
|
/**
|
|
230
|
-
*
|
|
231
|
-
* <nh>
|
|
232
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
233
|
-
* This endpoint is still on our legacy API.
|
|
234
|
-
* </nh>
|
|
235
|
-
* </n>
|
|
230
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
236
231
|
*
|
|
237
232
|
* Delete a dispatch route and its associated jobs.
|
|
238
233
|
*
|
|
@@ -688,12 +688,7 @@ class RoutesClient {
|
|
|
688
688
|
});
|
|
689
689
|
}
|
|
690
690
|
/**
|
|
691
|
-
*
|
|
692
|
-
* <nh>
|
|
693
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
694
|
-
* This endpoint is still on our legacy API.
|
|
695
|
-
* </nh>
|
|
696
|
-
* </n>
|
|
691
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
697
692
|
*
|
|
698
693
|
* Delete a dispatch route and its associated jobs.
|
|
699
694
|
*
|
|
@@ -69,12 +69,7 @@ export declare class SafetyClient {
|
|
|
69
69
|
getSafetyEventsV2Stream(request: Samsara.GetSafetyEventsV2StreamRequest, requestOptions?: SafetyClient.RequestOptions): core.HttpResponsePromise<Samsara.SafetyEventsV2GetSafetyEventsV2StreamResponseBody>;
|
|
70
70
|
private __getSafetyEventsV2Stream;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
73
|
-
* <nh>
|
|
74
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
75
|
-
* This endpoint is still on our legacy API.
|
|
76
|
-
* </nh>
|
|
77
|
-
* </n>
|
|
72
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
78
73
|
*
|
|
79
74
|
* Fetch the safety score for the driver.
|
|
80
75
|
*
|
|
@@ -97,12 +92,7 @@ export declare class SafetyClient {
|
|
|
97
92
|
v1GetDriverSafetyScore(request: Samsara.V1GetDriverSafetyScoreRequest, requestOptions?: SafetyClient.RequestOptions): core.HttpResponsePromise<Samsara.V1DriverSafetyScoreResponse>;
|
|
98
93
|
private __v1GetDriverSafetyScore;
|
|
99
94
|
/**
|
|
100
|
-
*
|
|
101
|
-
* <nh>
|
|
102
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
103
|
-
* This endpoint is still on our legacy API.
|
|
104
|
-
* </nh>
|
|
105
|
-
* </n>
|
|
95
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
106
96
|
*
|
|
107
97
|
* Fetch the safety score for the vehicle.
|
|
108
98
|
*
|
|
@@ -246,12 +246,7 @@ class SafetyClient {
|
|
|
246
246
|
});
|
|
247
247
|
}
|
|
248
248
|
/**
|
|
249
|
-
*
|
|
250
|
-
* <nh>
|
|
251
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
252
|
-
* This endpoint is still on our legacy API.
|
|
253
|
-
* </nh>
|
|
254
|
-
* </n>
|
|
249
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
255
250
|
*
|
|
256
251
|
* Fetch the safety score for the driver.
|
|
257
252
|
*
|
|
@@ -309,12 +304,7 @@ class SafetyClient {
|
|
|
309
304
|
});
|
|
310
305
|
}
|
|
311
306
|
/**
|
|
312
|
-
*
|
|
313
|
-
* <nh>
|
|
314
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
315
|
-
* This endpoint is still on our legacy API.
|
|
316
|
-
* </nh>
|
|
317
|
-
* </n>
|
|
307
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
318
308
|
*
|
|
319
309
|
* Fetch the safety score for the vehicle.
|
|
320
310
|
*
|
|
@@ -11,12 +11,7 @@ export declare class SensorsClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<SensorsClient.Options>;
|
|
12
12
|
constructor(options?: SensorsClient.Options);
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
15
|
-
* <nh>
|
|
16
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
17
|
-
* This endpoint is still on our legacy API.
|
|
18
|
-
* </nh>
|
|
19
|
-
* </n>
|
|
14
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
20
15
|
*
|
|
21
16
|
* Get cargo monitor status (empty / full) for requested sensors.
|
|
22
17
|
*
|
|
@@ -35,12 +30,7 @@ export declare class SensorsClient {
|
|
|
35
30
|
v1GetSensorsCargo(request: Samsara.InlineObject4, requestOptions?: SensorsClient.RequestOptions): core.HttpResponsePromise<Samsara.V1CargoResponse>;
|
|
36
31
|
private __v1GetSensorsCargo;
|
|
37
32
|
/**
|
|
38
|
-
*
|
|
39
|
-
* <nh>
|
|
40
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
41
|
-
* This endpoint is still on our legacy API.
|
|
42
|
-
* </nh>
|
|
43
|
-
* </n>
|
|
33
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
44
34
|
*
|
|
45
35
|
* Get door monitor status (closed / open) for requested sensors.
|
|
46
36
|
*
|
|
@@ -59,12 +49,7 @@ export declare class SensorsClient {
|
|
|
59
49
|
v1GetSensorsDoor(request: Samsara.InlineObject5, requestOptions?: SensorsClient.RequestOptions): core.HttpResponsePromise<Samsara.V1DoorResponse>;
|
|
60
50
|
private __v1GetSensorsDoor;
|
|
61
51
|
/**
|
|
62
|
-
*
|
|
63
|
-
* <nh>
|
|
64
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
65
|
-
* This endpoint is still on our legacy API.
|
|
66
|
-
* </nh>
|
|
67
|
-
* </n>
|
|
52
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
68
53
|
*
|
|
69
54
|
* Get historical data for specified sensors. This method returns a set of historical data for the specified sensors in the specified time range and at the specified time resolution.
|
|
70
55
|
*
|
|
@@ -91,12 +76,7 @@ export declare class SensorsClient {
|
|
|
91
76
|
v1GetSensorsHistory(request: Samsara.InlineObject6, requestOptions?: SensorsClient.RequestOptions): core.HttpResponsePromise<Samsara.V1SensorHistoryResponse>;
|
|
92
77
|
private __v1GetSensorsHistory;
|
|
93
78
|
/**
|
|
94
|
-
*
|
|
95
|
-
* <nh>
|
|
96
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
97
|
-
* This endpoint is still on our legacy API.
|
|
98
|
-
* </nh>
|
|
99
|
-
* </n>
|
|
79
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
100
80
|
*
|
|
101
81
|
* Get humidity for requested sensors. This method returns the current relative humidity for the requested sensors.
|
|
102
82
|
*
|
|
@@ -115,12 +95,7 @@ export declare class SensorsClient {
|
|
|
115
95
|
v1GetSensorsHumidity(request: Samsara.InlineObject7, requestOptions?: SensorsClient.RequestOptions): core.HttpResponsePromise<Samsara.V1HumidityResponse>;
|
|
116
96
|
private __v1GetSensorsHumidity;
|
|
117
97
|
/**
|
|
118
|
-
*
|
|
119
|
-
* <nh>
|
|
120
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
121
|
-
* This endpoint is still on our legacy API.
|
|
122
|
-
* </nh>
|
|
123
|
-
* </n>
|
|
98
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
124
99
|
*
|
|
125
100
|
* Get sensor objects. This method returns a list of the sensor objects in the Samsara Cloud and information about them.
|
|
126
101
|
*
|
|
@@ -136,12 +111,7 @@ export declare class SensorsClient {
|
|
|
136
111
|
v1GetSensors(requestOptions?: SensorsClient.RequestOptions): core.HttpResponsePromise<Samsara.InlineResponse2009>;
|
|
137
112
|
private __v1GetSensors;
|
|
138
113
|
/**
|
|
139
|
-
*
|
|
140
|
-
* <nh>
|
|
141
|
-
* <i class="fa fa-exclamation-circle"></i>
|
|
142
|
-
* This endpoint is still on our legacy API.
|
|
143
|
-
* </nh>
|
|
144
|
-
* </n>
|
|
114
|
+
* > 🚧 This endpoint is still on our legacy API.
|
|
145
115
|
*
|
|
146
116
|
* Get temperature for requested sensors. This method returns the current ambient temperature (and probe temperature if applicable) for the requested sensors.
|
|
147
117
|
*
|