@findatruck/shared-schemas 2.20.0 → 2.23.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/browser.cjs +36 -18
- package/dist/browser.d.cts +31 -5
- package/dist/browser.d.ts +31 -5
- package/dist/browser.js +5 -1
- package/dist/{chunk-P4S46OZI.js → chunk-EQIUGAWW.js} +34 -18
- package/dist/index.cjs +322 -194
- package/dist/index.d.cts +400 -2
- package/dist/index.d.ts +400 -2
- package/dist/index.js +210 -105
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { BatchConvexUpdate, BatchConvexUpdateData, BatchConvexUpdateSchema, ConvexDriverData, ConvexDriverSchema, ConvexUpdate, ConvexUpdateData, ConvexUpdateSchema, DRIVER_NAME_FORBIDDEN_CHAR_PATTERN, DriverNameSchema, NewLoginRequest, NewLoginRequestData, NewLoginRequestSchema, NewLoginResponse, NewLoginResponseData, NewLoginResponseFailure, NewLoginResponseFailureData, NewLoginResponseFailureSchema, NewLoginResponseSchema, NewLoginResponseSuccess, NewLoginResponseSuccessData, NewLoginResponseSuccessSchema, PATCH_DRIVER_NAME_MAX_LENGTH, PATCH_DRIVER_TRUCK_TYPE_MAX_LENGTH, PatchDriverDriverResponse, PatchDriverDriverResponseSchema, PatchDriverRequest, PatchDriverRequestSchema, PatchDriverResponse, PatchDriverResponseSchema, PublicProviderData, PublicUserData, ScrapeStatus, SharedDriverResponse, SharedDriverResponseSchema, TruckTypeSchema, UpdateScrapeStatusMessage, ValidatePasswordRequest, ValidatePasswordRequestData, ValidatePasswordRequestSchema, ValidatePasswordResponse, ValidatePasswordResponseData, ValidatePasswordResponseSchema } from './browser.cjs';
|
|
1
|
+
export { BatchConvexUpdate, BatchConvexUpdateData, BatchConvexUpdateSchema, ConvexDriverData, ConvexDriverSchema, ConvexUpdate, ConvexUpdateData, ConvexUpdateSchema, DRIVER_NAME_FORBIDDEN_CHAR_PATTERN, DriverNameSchema, ListDriversRequest, ListDriversRequestSchema, ListDriversResponse, ListDriversResponseSchema, NewLoginRequest, NewLoginRequestData, NewLoginRequestSchema, NewLoginResponse, NewLoginResponseData, NewLoginResponseFailure, NewLoginResponseFailureData, NewLoginResponseFailureSchema, NewLoginResponseSchema, NewLoginResponseSuccess, NewLoginResponseSuccessData, NewLoginResponseSuccessSchema, PATCH_DRIVER_NAME_MAX_LENGTH, PATCH_DRIVER_TRUCK_TYPE_MAX_LENGTH, PatchDriverDriverResponse, PatchDriverDriverResponseSchema, PatchDriverRequest, PatchDriverRequestSchema, PatchDriverResponse, PatchDriverResponseSchema, PublicProviderData, PublicUserData, ScrapeStatus, SharedDriverResponse, SharedDriverResponseSchema, TruckTypeSchema, UpdateScrapeStatusMessage, ValidatePasswordRequest, ValidatePasswordRequestData, ValidatePasswordRequestSchema, ValidatePasswordResponse, ValidatePasswordResponseData, ValidatePasswordResponseSchema } from './browser.cjs';
|
|
2
2
|
import z, { z as z$1 } from 'zod';
|
|
3
3
|
|
|
4
4
|
interface CreateAnonymousDriverBodyData {
|
|
@@ -128,6 +128,8 @@ declare const ManualBatchEntrySchema: z$1.ZodObject<{
|
|
|
128
128
|
parked: "parked";
|
|
129
129
|
driving: "driving";
|
|
130
130
|
}>>;
|
|
131
|
+
activity_type: z$1.ZodOptional<z$1.ZodString>;
|
|
132
|
+
activity_confidence: z$1.ZodOptional<z$1.ZodNumber>;
|
|
131
133
|
}, z$1.core.$strip>;
|
|
132
134
|
declare const ManualBatchRequestSchema: z$1.ZodObject<{
|
|
133
135
|
entries: z$1.ZodArray<z$1.ZodObject<{
|
|
@@ -145,6 +147,8 @@ declare const ManualBatchRequestSchema: z$1.ZodObject<{
|
|
|
145
147
|
parked: "parked";
|
|
146
148
|
driving: "driving";
|
|
147
149
|
}>>;
|
|
150
|
+
activity_type: z$1.ZodOptional<z$1.ZodString>;
|
|
151
|
+
activity_confidence: z$1.ZodOptional<z$1.ZodNumber>;
|
|
148
152
|
}, z$1.core.$strip>>;
|
|
149
153
|
}, z$1.core.$strip>;
|
|
150
154
|
declare const ManualBatchTelemetrySchema: z$1.ZodObject<{
|
|
@@ -174,6 +178,8 @@ declare const ManualBatchTelemetrySchema: z$1.ZodObject<{
|
|
|
174
178
|
parked: "parked";
|
|
175
179
|
driving: "driving";
|
|
176
180
|
}>>;
|
|
181
|
+
activity_type: z$1.ZodNullable<z$1.ZodString>;
|
|
182
|
+
activity_confidence: z$1.ZodNullable<z$1.ZodNumber>;
|
|
177
183
|
}, z$1.core.$strip>;
|
|
178
184
|
declare const ManualBatchResponseSchema: z$1.ZodObject<{
|
|
179
185
|
message: z$1.ZodString;
|
|
@@ -205,6 +211,8 @@ declare const ManualBatchResponseSchema: z$1.ZodObject<{
|
|
|
205
211
|
parked: "parked";
|
|
206
212
|
driving: "driving";
|
|
207
213
|
}>>;
|
|
214
|
+
activity_type: z$1.ZodNullable<z$1.ZodString>;
|
|
215
|
+
activity_confidence: z$1.ZodNullable<z$1.ZodNumber>;
|
|
208
216
|
}, z$1.core.$strip>>;
|
|
209
217
|
}, z$1.core.$strip>;
|
|
210
218
|
type ManualBatchEntry = z$1.infer<typeof ManualBatchEntrySchema>;
|
|
@@ -212,6 +220,338 @@ type ManualBatchRequest = z$1.infer<typeof ManualBatchRequestSchema>;
|
|
|
212
220
|
type ManualBatchTelemetry = z$1.infer<typeof ManualBatchTelemetrySchema>;
|
|
213
221
|
type ManualBatchResponse = z$1.infer<typeof ManualBatchResponseSchema>;
|
|
214
222
|
|
|
223
|
+
declare const BGGeoCoordsSchema: z$1.ZodObject<{
|
|
224
|
+
latitude: z$1.ZodNumber;
|
|
225
|
+
longitude: z$1.ZodNumber;
|
|
226
|
+
accuracy: z$1.ZodOptional<z$1.ZodNumber>;
|
|
227
|
+
speed: z$1.ZodNumber;
|
|
228
|
+
heading: z$1.ZodNumber;
|
|
229
|
+
altitude: z$1.ZodNumber;
|
|
230
|
+
altitude_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
|
|
231
|
+
speed_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
|
|
232
|
+
heading_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
|
|
233
|
+
ellipsoidal_altitude: z$1.ZodOptional<z$1.ZodNumber>;
|
|
234
|
+
floor: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
235
|
+
}, z$1.core.$strip>;
|
|
236
|
+
declare const BGGeoActivitySchema: z$1.ZodObject<{
|
|
237
|
+
type: z$1.ZodString;
|
|
238
|
+
confidence: z$1.ZodNumber;
|
|
239
|
+
}, z$1.core.$strip>;
|
|
240
|
+
declare const BGGeoBatterySchema: z$1.ZodObject<{
|
|
241
|
+
is_charging: z$1.ZodBoolean;
|
|
242
|
+
level: z$1.ZodNumber;
|
|
243
|
+
}, z$1.core.$strip>;
|
|
244
|
+
declare const BGGeoLocationSchema: z$1.ZodObject<{
|
|
245
|
+
coords: z$1.ZodObject<{
|
|
246
|
+
latitude: z$1.ZodNumber;
|
|
247
|
+
longitude: z$1.ZodNumber;
|
|
248
|
+
accuracy: z$1.ZodOptional<z$1.ZodNumber>;
|
|
249
|
+
speed: z$1.ZodNumber;
|
|
250
|
+
heading: z$1.ZodNumber;
|
|
251
|
+
altitude: z$1.ZodNumber;
|
|
252
|
+
altitude_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
|
|
253
|
+
speed_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
|
|
254
|
+
heading_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
|
|
255
|
+
ellipsoidal_altitude: z$1.ZodOptional<z$1.ZodNumber>;
|
|
256
|
+
floor: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
257
|
+
}, z$1.core.$strip>;
|
|
258
|
+
extras: z$1.ZodOptional<z$1.ZodObject<{}, z$1.core.$loose>>;
|
|
259
|
+
activity: z$1.ZodOptional<z$1.ZodObject<{
|
|
260
|
+
type: z$1.ZodString;
|
|
261
|
+
confidence: z$1.ZodNumber;
|
|
262
|
+
}, z$1.core.$strip>>;
|
|
263
|
+
battery: z$1.ZodOptional<z$1.ZodObject<{
|
|
264
|
+
is_charging: z$1.ZodBoolean;
|
|
265
|
+
level: z$1.ZodNumber;
|
|
266
|
+
}, z$1.core.$strip>>;
|
|
267
|
+
timestamp: z$1.ZodString;
|
|
268
|
+
is_moving: z$1.ZodBoolean;
|
|
269
|
+
odometer: z$1.ZodNumber;
|
|
270
|
+
uuid: z$1.ZodOptional<z$1.ZodString>;
|
|
271
|
+
event: z$1.ZodOptional<z$1.ZodString>;
|
|
272
|
+
age: z$1.ZodOptional<z$1.ZodNumber>;
|
|
273
|
+
geofence: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
274
|
+
mock: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
275
|
+
recorded_at: z$1.ZodOptional<z$1.ZodString>;
|
|
276
|
+
}, z$1.core.$loose>;
|
|
277
|
+
declare const BGGeoBatchRequestSchema: z$1.ZodObject<{
|
|
278
|
+
location: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodPipe<z$1.ZodObject<{
|
|
279
|
+
coords: z$1.ZodObject<{
|
|
280
|
+
latitude: z$1.ZodNumber;
|
|
281
|
+
longitude: z$1.ZodNumber;
|
|
282
|
+
accuracy: z$1.ZodOptional<z$1.ZodNumber>;
|
|
283
|
+
speed: z$1.ZodNumber;
|
|
284
|
+
heading: z$1.ZodNumber;
|
|
285
|
+
altitude: z$1.ZodNumber;
|
|
286
|
+
altitude_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
|
|
287
|
+
speed_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
|
|
288
|
+
heading_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
|
|
289
|
+
ellipsoidal_altitude: z$1.ZodOptional<z$1.ZodNumber>;
|
|
290
|
+
floor: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
291
|
+
}, z$1.core.$strip>;
|
|
292
|
+
extras: z$1.ZodOptional<z$1.ZodObject<{}, z$1.core.$loose>>;
|
|
293
|
+
activity: z$1.ZodOptional<z$1.ZodObject<{
|
|
294
|
+
type: z$1.ZodString;
|
|
295
|
+
confidence: z$1.ZodNumber;
|
|
296
|
+
}, z$1.core.$strip>>;
|
|
297
|
+
battery: z$1.ZodOptional<z$1.ZodObject<{
|
|
298
|
+
is_charging: z$1.ZodBoolean;
|
|
299
|
+
level: z$1.ZodNumber;
|
|
300
|
+
}, z$1.core.$strip>>;
|
|
301
|
+
timestamp: z$1.ZodString;
|
|
302
|
+
is_moving: z$1.ZodBoolean;
|
|
303
|
+
odometer: z$1.ZodNumber;
|
|
304
|
+
uuid: z$1.ZodOptional<z$1.ZodString>;
|
|
305
|
+
event: z$1.ZodOptional<z$1.ZodString>;
|
|
306
|
+
age: z$1.ZodOptional<z$1.ZodNumber>;
|
|
307
|
+
geofence: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
308
|
+
mock: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
309
|
+
recorded_at: z$1.ZodOptional<z$1.ZodString>;
|
|
310
|
+
}, z$1.core.$loose>, z$1.ZodTransform<{
|
|
311
|
+
[x: string]: unknown;
|
|
312
|
+
coords: {
|
|
313
|
+
latitude: number;
|
|
314
|
+
longitude: number;
|
|
315
|
+
speed: number;
|
|
316
|
+
heading: number;
|
|
317
|
+
altitude: number;
|
|
318
|
+
accuracy?: number | undefined;
|
|
319
|
+
altitude_accuracy?: number | undefined;
|
|
320
|
+
speed_accuracy?: number | undefined;
|
|
321
|
+
heading_accuracy?: number | undefined;
|
|
322
|
+
ellipsoidal_altitude?: number | undefined;
|
|
323
|
+
floor?: number | null | undefined;
|
|
324
|
+
};
|
|
325
|
+
timestamp: string;
|
|
326
|
+
is_moving: boolean;
|
|
327
|
+
odometer: number;
|
|
328
|
+
extras?: {
|
|
329
|
+
[x: string]: unknown;
|
|
330
|
+
} | undefined;
|
|
331
|
+
activity?: {
|
|
332
|
+
type: string;
|
|
333
|
+
confidence: number;
|
|
334
|
+
} | undefined;
|
|
335
|
+
battery?: {
|
|
336
|
+
is_charging: boolean;
|
|
337
|
+
level: number;
|
|
338
|
+
} | undefined;
|
|
339
|
+
uuid?: string | undefined;
|
|
340
|
+
event?: string | undefined;
|
|
341
|
+
age?: number | undefined;
|
|
342
|
+
geofence?: Record<string, unknown> | undefined;
|
|
343
|
+
mock?: boolean | undefined;
|
|
344
|
+
recorded_at?: string | undefined;
|
|
345
|
+
}[], {
|
|
346
|
+
[x: string]: unknown;
|
|
347
|
+
coords: {
|
|
348
|
+
latitude: number;
|
|
349
|
+
longitude: number;
|
|
350
|
+
speed: number;
|
|
351
|
+
heading: number;
|
|
352
|
+
altitude: number;
|
|
353
|
+
accuracy?: number | undefined;
|
|
354
|
+
altitude_accuracy?: number | undefined;
|
|
355
|
+
speed_accuracy?: number | undefined;
|
|
356
|
+
heading_accuracy?: number | undefined;
|
|
357
|
+
ellipsoidal_altitude?: number | undefined;
|
|
358
|
+
floor?: number | null | undefined;
|
|
359
|
+
};
|
|
360
|
+
timestamp: string;
|
|
361
|
+
is_moving: boolean;
|
|
362
|
+
odometer: number;
|
|
363
|
+
extras?: {
|
|
364
|
+
[x: string]: unknown;
|
|
365
|
+
} | undefined;
|
|
366
|
+
activity?: {
|
|
367
|
+
type: string;
|
|
368
|
+
confidence: number;
|
|
369
|
+
} | undefined;
|
|
370
|
+
battery?: {
|
|
371
|
+
is_charging: boolean;
|
|
372
|
+
level: number;
|
|
373
|
+
} | undefined;
|
|
374
|
+
uuid?: string | undefined;
|
|
375
|
+
event?: string | undefined;
|
|
376
|
+
age?: number | undefined;
|
|
377
|
+
geofence?: Record<string, unknown> | undefined;
|
|
378
|
+
mock?: boolean | undefined;
|
|
379
|
+
recorded_at?: string | undefined;
|
|
380
|
+
}>>, z$1.ZodArray<z$1.ZodObject<{
|
|
381
|
+
coords: z$1.ZodObject<{
|
|
382
|
+
latitude: z$1.ZodNumber;
|
|
383
|
+
longitude: z$1.ZodNumber;
|
|
384
|
+
accuracy: z$1.ZodOptional<z$1.ZodNumber>;
|
|
385
|
+
speed: z$1.ZodNumber;
|
|
386
|
+
heading: z$1.ZodNumber;
|
|
387
|
+
altitude: z$1.ZodNumber;
|
|
388
|
+
altitude_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
|
|
389
|
+
speed_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
|
|
390
|
+
heading_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
|
|
391
|
+
ellipsoidal_altitude: z$1.ZodOptional<z$1.ZodNumber>;
|
|
392
|
+
floor: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
393
|
+
}, z$1.core.$strip>;
|
|
394
|
+
extras: z$1.ZodOptional<z$1.ZodObject<{}, z$1.core.$loose>>;
|
|
395
|
+
activity: z$1.ZodOptional<z$1.ZodObject<{
|
|
396
|
+
type: z$1.ZodString;
|
|
397
|
+
confidence: z$1.ZodNumber;
|
|
398
|
+
}, z$1.core.$strip>>;
|
|
399
|
+
battery: z$1.ZodOptional<z$1.ZodObject<{
|
|
400
|
+
is_charging: z$1.ZodBoolean;
|
|
401
|
+
level: z$1.ZodNumber;
|
|
402
|
+
}, z$1.core.$strip>>;
|
|
403
|
+
timestamp: z$1.ZodString;
|
|
404
|
+
is_moving: z$1.ZodBoolean;
|
|
405
|
+
odometer: z$1.ZodNumber;
|
|
406
|
+
uuid: z$1.ZodOptional<z$1.ZodString>;
|
|
407
|
+
event: z$1.ZodOptional<z$1.ZodString>;
|
|
408
|
+
age: z$1.ZodOptional<z$1.ZodNumber>;
|
|
409
|
+
geofence: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
410
|
+
mock: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
411
|
+
recorded_at: z$1.ZodOptional<z$1.ZodString>;
|
|
412
|
+
}, z$1.core.$loose>>]>>;
|
|
413
|
+
locations: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodPipe<z$1.ZodObject<{
|
|
414
|
+
coords: z$1.ZodObject<{
|
|
415
|
+
latitude: z$1.ZodNumber;
|
|
416
|
+
longitude: z$1.ZodNumber;
|
|
417
|
+
accuracy: z$1.ZodOptional<z$1.ZodNumber>;
|
|
418
|
+
speed: z$1.ZodNumber;
|
|
419
|
+
heading: z$1.ZodNumber;
|
|
420
|
+
altitude: z$1.ZodNumber;
|
|
421
|
+
altitude_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
|
|
422
|
+
speed_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
|
|
423
|
+
heading_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
|
|
424
|
+
ellipsoidal_altitude: z$1.ZodOptional<z$1.ZodNumber>;
|
|
425
|
+
floor: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
426
|
+
}, z$1.core.$strip>;
|
|
427
|
+
extras: z$1.ZodOptional<z$1.ZodObject<{}, z$1.core.$loose>>;
|
|
428
|
+
activity: z$1.ZodOptional<z$1.ZodObject<{
|
|
429
|
+
type: z$1.ZodString;
|
|
430
|
+
confidence: z$1.ZodNumber;
|
|
431
|
+
}, z$1.core.$strip>>;
|
|
432
|
+
battery: z$1.ZodOptional<z$1.ZodObject<{
|
|
433
|
+
is_charging: z$1.ZodBoolean;
|
|
434
|
+
level: z$1.ZodNumber;
|
|
435
|
+
}, z$1.core.$strip>>;
|
|
436
|
+
timestamp: z$1.ZodString;
|
|
437
|
+
is_moving: z$1.ZodBoolean;
|
|
438
|
+
odometer: z$1.ZodNumber;
|
|
439
|
+
uuid: z$1.ZodOptional<z$1.ZodString>;
|
|
440
|
+
event: z$1.ZodOptional<z$1.ZodString>;
|
|
441
|
+
age: z$1.ZodOptional<z$1.ZodNumber>;
|
|
442
|
+
geofence: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
443
|
+
mock: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
444
|
+
recorded_at: z$1.ZodOptional<z$1.ZodString>;
|
|
445
|
+
}, z$1.core.$loose>, z$1.ZodTransform<{
|
|
446
|
+
[x: string]: unknown;
|
|
447
|
+
coords: {
|
|
448
|
+
latitude: number;
|
|
449
|
+
longitude: number;
|
|
450
|
+
speed: number;
|
|
451
|
+
heading: number;
|
|
452
|
+
altitude: number;
|
|
453
|
+
accuracy?: number | undefined;
|
|
454
|
+
altitude_accuracy?: number | undefined;
|
|
455
|
+
speed_accuracy?: number | undefined;
|
|
456
|
+
heading_accuracy?: number | undefined;
|
|
457
|
+
ellipsoidal_altitude?: number | undefined;
|
|
458
|
+
floor?: number | null | undefined;
|
|
459
|
+
};
|
|
460
|
+
timestamp: string;
|
|
461
|
+
is_moving: boolean;
|
|
462
|
+
odometer: number;
|
|
463
|
+
extras?: {
|
|
464
|
+
[x: string]: unknown;
|
|
465
|
+
} | undefined;
|
|
466
|
+
activity?: {
|
|
467
|
+
type: string;
|
|
468
|
+
confidence: number;
|
|
469
|
+
} | undefined;
|
|
470
|
+
battery?: {
|
|
471
|
+
is_charging: boolean;
|
|
472
|
+
level: number;
|
|
473
|
+
} | undefined;
|
|
474
|
+
uuid?: string | undefined;
|
|
475
|
+
event?: string | undefined;
|
|
476
|
+
age?: number | undefined;
|
|
477
|
+
geofence?: Record<string, unknown> | undefined;
|
|
478
|
+
mock?: boolean | undefined;
|
|
479
|
+
recorded_at?: string | undefined;
|
|
480
|
+
}[], {
|
|
481
|
+
[x: string]: unknown;
|
|
482
|
+
coords: {
|
|
483
|
+
latitude: number;
|
|
484
|
+
longitude: number;
|
|
485
|
+
speed: number;
|
|
486
|
+
heading: number;
|
|
487
|
+
altitude: number;
|
|
488
|
+
accuracy?: number | undefined;
|
|
489
|
+
altitude_accuracy?: number | undefined;
|
|
490
|
+
speed_accuracy?: number | undefined;
|
|
491
|
+
heading_accuracy?: number | undefined;
|
|
492
|
+
ellipsoidal_altitude?: number | undefined;
|
|
493
|
+
floor?: number | null | undefined;
|
|
494
|
+
};
|
|
495
|
+
timestamp: string;
|
|
496
|
+
is_moving: boolean;
|
|
497
|
+
odometer: number;
|
|
498
|
+
extras?: {
|
|
499
|
+
[x: string]: unknown;
|
|
500
|
+
} | undefined;
|
|
501
|
+
activity?: {
|
|
502
|
+
type: string;
|
|
503
|
+
confidence: number;
|
|
504
|
+
} | undefined;
|
|
505
|
+
battery?: {
|
|
506
|
+
is_charging: boolean;
|
|
507
|
+
level: number;
|
|
508
|
+
} | undefined;
|
|
509
|
+
uuid?: string | undefined;
|
|
510
|
+
event?: string | undefined;
|
|
511
|
+
age?: number | undefined;
|
|
512
|
+
geofence?: Record<string, unknown> | undefined;
|
|
513
|
+
mock?: boolean | undefined;
|
|
514
|
+
recorded_at?: string | undefined;
|
|
515
|
+
}>>, z$1.ZodArray<z$1.ZodObject<{
|
|
516
|
+
coords: z$1.ZodObject<{
|
|
517
|
+
latitude: z$1.ZodNumber;
|
|
518
|
+
longitude: z$1.ZodNumber;
|
|
519
|
+
accuracy: z$1.ZodOptional<z$1.ZodNumber>;
|
|
520
|
+
speed: z$1.ZodNumber;
|
|
521
|
+
heading: z$1.ZodNumber;
|
|
522
|
+
altitude: z$1.ZodNumber;
|
|
523
|
+
altitude_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
|
|
524
|
+
speed_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
|
|
525
|
+
heading_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
|
|
526
|
+
ellipsoidal_altitude: z$1.ZodOptional<z$1.ZodNumber>;
|
|
527
|
+
floor: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
528
|
+
}, z$1.core.$strip>;
|
|
529
|
+
extras: z$1.ZodOptional<z$1.ZodObject<{}, z$1.core.$loose>>;
|
|
530
|
+
activity: z$1.ZodOptional<z$1.ZodObject<{
|
|
531
|
+
type: z$1.ZodString;
|
|
532
|
+
confidence: z$1.ZodNumber;
|
|
533
|
+
}, z$1.core.$strip>>;
|
|
534
|
+
battery: z$1.ZodOptional<z$1.ZodObject<{
|
|
535
|
+
is_charging: z$1.ZodBoolean;
|
|
536
|
+
level: z$1.ZodNumber;
|
|
537
|
+
}, z$1.core.$strip>>;
|
|
538
|
+
timestamp: z$1.ZodString;
|
|
539
|
+
is_moving: z$1.ZodBoolean;
|
|
540
|
+
odometer: z$1.ZodNumber;
|
|
541
|
+
uuid: z$1.ZodOptional<z$1.ZodString>;
|
|
542
|
+
event: z$1.ZodOptional<z$1.ZodString>;
|
|
543
|
+
age: z$1.ZodOptional<z$1.ZodNumber>;
|
|
544
|
+
geofence: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
545
|
+
mock: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
546
|
+
recorded_at: z$1.ZodOptional<z$1.ZodString>;
|
|
547
|
+
}, z$1.core.$loose>>]>>;
|
|
548
|
+
}, z$1.core.$strip>;
|
|
549
|
+
type BGGeoCoords = z$1.infer<typeof BGGeoCoordsSchema>;
|
|
550
|
+
type BGGeoActivity = z$1.infer<typeof BGGeoActivitySchema>;
|
|
551
|
+
type BGGeoBattery = z$1.infer<typeof BGGeoBatterySchema>;
|
|
552
|
+
type BGGeoLocation = z$1.infer<typeof BGGeoLocationSchema>;
|
|
553
|
+
type BGGeoBatchRequest = z$1.infer<typeof BGGeoBatchRequestSchema>;
|
|
554
|
+
|
|
215
555
|
declare const DriverTripsRequestSchema: z$1.ZodObject<{
|
|
216
556
|
driver_id: z$1.ZodString;
|
|
217
557
|
start_date: z$1.ZodString;
|
|
@@ -366,6 +706,64 @@ declare const DriverEnrichedSummariesResponseSchema: z$1.ZodArray<z$1.ZodObject<
|
|
|
366
706
|
}, z$1.core.$strip>>;
|
|
367
707
|
type DriverEnrichedSummariesResponse = z$1.infer<typeof DriverEnrichedSummariesResponseSchema>;
|
|
368
708
|
|
|
709
|
+
declare const ConvexBreadcrumbEventSchema: z$1.ZodObject<{
|
|
710
|
+
ts: z$1.ZodNumber;
|
|
711
|
+
status: z$1.ZodString;
|
|
712
|
+
lat: z$1.ZodNumber;
|
|
713
|
+
lon: z$1.ZodNumber;
|
|
714
|
+
heading: z$1.ZodOptional<z$1.ZodNumber>;
|
|
715
|
+
locationText: z$1.ZodOptional<z$1.ZodString>;
|
|
716
|
+
speedKph: z$1.ZodOptional<z$1.ZodNumber>;
|
|
717
|
+
altitudeFeet: z$1.ZodOptional<z$1.ZodNumber>;
|
|
718
|
+
}, z$1.core.$strip>;
|
|
719
|
+
type ConvexBreadcrumbEvent = z$1.infer<typeof ConvexBreadcrumbEventSchema>;
|
|
720
|
+
declare const ConvexDriverTripRequestSchema: z$1.ZodObject<{
|
|
721
|
+
userId: z$1.ZodString;
|
|
722
|
+
breadcrumbs: z$1.ZodArray<z$1.ZodObject<{
|
|
723
|
+
ts: z$1.ZodNumber;
|
|
724
|
+
status: z$1.ZodString;
|
|
725
|
+
lat: z$1.ZodNumber;
|
|
726
|
+
lon: z$1.ZodNumber;
|
|
727
|
+
heading: z$1.ZodOptional<z$1.ZodNumber>;
|
|
728
|
+
locationText: z$1.ZodOptional<z$1.ZodString>;
|
|
729
|
+
speedKph: z$1.ZodOptional<z$1.ZodNumber>;
|
|
730
|
+
altitudeFeet: z$1.ZodOptional<z$1.ZodNumber>;
|
|
731
|
+
}, z$1.core.$strip>>;
|
|
732
|
+
}, z$1.core.$strip>;
|
|
733
|
+
type ConvexDriverTripRequest = z$1.infer<typeof ConvexDriverTripRequestSchema>;
|
|
734
|
+
|
|
735
|
+
declare const PostDriverTripTelemetryRecordSchema: z$1.ZodObject<{
|
|
736
|
+
location_latitude: z$1.ZodNumber;
|
|
737
|
+
location_longitude: z$1.ZodNumber;
|
|
738
|
+
location_address: z$1.ZodOptional<z$1.ZodString>;
|
|
739
|
+
heading: z$1.ZodNumber;
|
|
740
|
+
drivingState: z$1.ZodString;
|
|
741
|
+
speedKph: z$1.ZodNumber;
|
|
742
|
+
altitudeFeet: z$1.ZodNumber;
|
|
743
|
+
gps_timestamp: z$1.ZodOptional<z$1.ZodString>;
|
|
744
|
+
odometer: z$1.ZodOptional<z$1.ZodNumber>;
|
|
745
|
+
activity_type: z$1.ZodOptional<z$1.ZodString>;
|
|
746
|
+
activity_confidence: z$1.ZodOptional<z$1.ZodNumber>;
|
|
747
|
+
}, z$1.core.$strip>;
|
|
748
|
+
type PostDriverTripTelemetryRecord = z$1.infer<typeof PostDriverTripTelemetryRecordSchema>;
|
|
749
|
+
declare const PostDriverTripTelemetryRequestSchema: z$1.ZodObject<{
|
|
750
|
+
honkUserId: z$1.ZodString;
|
|
751
|
+
telemetry: z$1.ZodArray<z$1.ZodObject<{
|
|
752
|
+
location_latitude: z$1.ZodNumber;
|
|
753
|
+
location_longitude: z$1.ZodNumber;
|
|
754
|
+
location_address: z$1.ZodOptional<z$1.ZodString>;
|
|
755
|
+
heading: z$1.ZodNumber;
|
|
756
|
+
drivingState: z$1.ZodString;
|
|
757
|
+
speedKph: z$1.ZodNumber;
|
|
758
|
+
altitudeFeet: z$1.ZodNumber;
|
|
759
|
+
gps_timestamp: z$1.ZodOptional<z$1.ZodString>;
|
|
760
|
+
odometer: z$1.ZodOptional<z$1.ZodNumber>;
|
|
761
|
+
activity_type: z$1.ZodOptional<z$1.ZodString>;
|
|
762
|
+
activity_confidence: z$1.ZodOptional<z$1.ZodNumber>;
|
|
763
|
+
}, z$1.core.$strip>>;
|
|
764
|
+
}, z$1.core.$strip>;
|
|
765
|
+
type PostDriverTripTelemetryRequest = z$1.infer<typeof PostDriverTripTelemetryRequestSchema>;
|
|
766
|
+
|
|
369
767
|
declare const GomotiveAuthDataSchema: z$1.ZodObject<{
|
|
370
768
|
kind: z$1.ZodLiteral<"gomotive">;
|
|
371
769
|
token: z$1.ZodString;
|
|
@@ -511,4 +909,4 @@ declare const BrowserCrawlResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObje
|
|
|
511
909
|
}, z$1.core.$strip>], "success">;
|
|
512
910
|
type BrowserCrawlResponse = z$1.infer<typeof BrowserCrawlResponseSchema>;
|
|
513
911
|
|
|
514
|
-
export { type AnonymousDriverErrorResponse, type AnonymousDriverErrorResponseData, AnonymousDriverErrorResponseSchema, type AnonymousDriverResponse, type AnonymousDriverResponseData, AnonymousDriverResponseSchema, BrowserAuthFailureSchema, type BrowserAuthRequest, BrowserAuthRequestSchema, type BrowserAuthResponse, BrowserAuthResponseSchema, BrowserAuthSuccessSchema, BrowserCrawlFailureSchema, type BrowserCrawlResponse, BrowserCrawlResponseSchema, BrowserCrawlSuccessSchema, type CapturedTrafficEntry, CapturedTrafficEntrySchema, CrawlPageSchema, type CreateAnonymousDriverBody, type CreateAnonymousDriverBodyData, CreateAnonymousDriverBodySchema, type DeleteAnonymousDriverParams, DeleteAnonymousDriverParamsSchema, type DeleteAnonymousDriverResponse, DeleteAnonymousDriverResponseSchema, type DeleteProviderAccountRequest, type DeleteProviderAccountRequestData, DeleteProviderAccountRequestSchema, type DeleteProviderAccountResponse, type DeleteProviderAccountResponseData, DeleteProviderAccountResponseSchema, type DriverDailySummariesResponse, DriverDailySummariesResponseSchema, type DriverDailySummary, DriverDailySummarySchema, type DriverEnrichedSummariesRequest, DriverEnrichedSummariesRequestSchema, type DriverEnrichedSummariesResponse, DriverEnrichedSummariesResponseSchema, type DriverRanking, type DriverRankingData, DriverRankingSchema, type DriverRankingsRequest, type DriverRankingsRequestData, DriverRankingsRequestSchema, type DriverRankingsResponse, type DriverRankingsResponseData, DriverRankingsResponseSchema, type DriverTrip, DriverTripSchema, type DriverTripsRequest, DriverTripsRequestSchema, type DriverTripsResponse, DriverTripsResponseSchema, type EnrichedPoint, EnrichedPointSchema, type EnrichedStop, EnrichedStopSchema, type EnrichedTripSummary, type EnrichedTripSummaryRequest, EnrichedTripSummaryRequestSchema, type EnrichedTripSummaryResponse, EnrichedTripSummaryResponseSchema, EnrichedTripSummarySchema, type GomotiveAuthData, GomotiveAuthDataSchema, type ManualBatchEntry, ManualBatchEntrySchema, type ManualBatchRequest, ManualBatchRequestSchema, type ManualBatchResponse, ManualBatchResponseSchema, type ManualBatchTelemetry, ManualBatchTelemetrySchema, type MockAuthData, MockAuthDataSchema, type NoneAuthData, NoneAuthDataSchema, type ProviderAuthData, ProviderAuthDataSchema, type StateHeatmapEntry, type StateHeatmapEntryData, StateHeatmapEntrySchema, type StateHeatmapRequest, type StateHeatmapRequestData, StateHeatmapRequestSchema, type StateHeatmapResponse, type StateHeatmapResponseData, StateHeatmapResponseSchema, type VistaAuthData, VistaAuthDataSchema, deserializeAuthData, serializeAuthData };
|
|
912
|
+
export { type AnonymousDriverErrorResponse, type AnonymousDriverErrorResponseData, AnonymousDriverErrorResponseSchema, type AnonymousDriverResponse, type AnonymousDriverResponseData, AnonymousDriverResponseSchema, type BGGeoActivity, BGGeoActivitySchema, type BGGeoBatchRequest, BGGeoBatchRequestSchema, type BGGeoBattery, BGGeoBatterySchema, type BGGeoCoords, BGGeoCoordsSchema, type BGGeoLocation, BGGeoLocationSchema, BrowserAuthFailureSchema, type BrowserAuthRequest, BrowserAuthRequestSchema, type BrowserAuthResponse, BrowserAuthResponseSchema, BrowserAuthSuccessSchema, BrowserCrawlFailureSchema, type BrowserCrawlResponse, BrowserCrawlResponseSchema, BrowserCrawlSuccessSchema, type CapturedTrafficEntry, CapturedTrafficEntrySchema, type ConvexBreadcrumbEvent, ConvexBreadcrumbEventSchema, type ConvexDriverTripRequest, ConvexDriverTripRequestSchema, CrawlPageSchema, type CreateAnonymousDriverBody, type CreateAnonymousDriverBodyData, CreateAnonymousDriverBodySchema, type DeleteAnonymousDriverParams, DeleteAnonymousDriverParamsSchema, type DeleteAnonymousDriverResponse, DeleteAnonymousDriverResponseSchema, type DeleteProviderAccountRequest, type DeleteProviderAccountRequestData, DeleteProviderAccountRequestSchema, type DeleteProviderAccountResponse, type DeleteProviderAccountResponseData, DeleteProviderAccountResponseSchema, type DriverDailySummariesResponse, DriverDailySummariesResponseSchema, type DriverDailySummary, DriverDailySummarySchema, type DriverEnrichedSummariesRequest, DriverEnrichedSummariesRequestSchema, type DriverEnrichedSummariesResponse, DriverEnrichedSummariesResponseSchema, type DriverRanking, type DriverRankingData, DriverRankingSchema, type DriverRankingsRequest, type DriverRankingsRequestData, DriverRankingsRequestSchema, type DriverRankingsResponse, type DriverRankingsResponseData, DriverRankingsResponseSchema, type DriverTrip, DriverTripSchema, type DriverTripsRequest, DriverTripsRequestSchema, type DriverTripsResponse, DriverTripsResponseSchema, type EnrichedPoint, EnrichedPointSchema, type EnrichedStop, EnrichedStopSchema, type EnrichedTripSummary, type EnrichedTripSummaryRequest, EnrichedTripSummaryRequestSchema, type EnrichedTripSummaryResponse, EnrichedTripSummaryResponseSchema, EnrichedTripSummarySchema, type GomotiveAuthData, GomotiveAuthDataSchema, type ManualBatchEntry, ManualBatchEntrySchema, type ManualBatchRequest, ManualBatchRequestSchema, type ManualBatchResponse, ManualBatchResponseSchema, type ManualBatchTelemetry, ManualBatchTelemetrySchema, type MockAuthData, MockAuthDataSchema, type NoneAuthData, NoneAuthDataSchema, type PostDriverTripTelemetryRecord, PostDriverTripTelemetryRecordSchema, type PostDriverTripTelemetryRequest, PostDriverTripTelemetryRequestSchema, type ProviderAuthData, ProviderAuthDataSchema, type StateHeatmapEntry, type StateHeatmapEntryData, StateHeatmapEntrySchema, type StateHeatmapRequest, type StateHeatmapRequestData, StateHeatmapRequestSchema, type StateHeatmapResponse, type StateHeatmapResponseData, StateHeatmapResponseSchema, type VistaAuthData, VistaAuthDataSchema, deserializeAuthData, serializeAuthData };
|