@findatruck/shared-schemas 2.20.0 → 2.23.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.
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 {
@@ -33,6 +33,25 @@ type AnonymousDriverErrorResponse = z.infer<typeof AnonymousDriverErrorResponseS
33
33
  type DeleteAnonymousDriverParams = z.infer<typeof DeleteAnonymousDriverParamsSchema>;
34
34
  type DeleteAnonymousDriverResponse = z.infer<typeof DeleteAnonymousDriverResponseSchema>;
35
35
 
36
+ interface ValidateLoginRequestData {
37
+ providerUrl: string;
38
+ username: string;
39
+ encryptedPassword: string;
40
+ }
41
+ interface ValidateLoginResponseData {
42
+ success: boolean;
43
+ }
44
+ declare const ValidateLoginRequestSchema: z$1.ZodObject<{
45
+ providerUrl: z$1.ZodString;
46
+ username: z$1.ZodString;
47
+ encryptedPassword: z$1.ZodString;
48
+ }, z$1.core.$strip>;
49
+ declare const ValidateLoginResponseSchema: z$1.ZodObject<{
50
+ success: z$1.ZodBoolean;
51
+ }, z$1.core.$strip>;
52
+ type ValidateLoginRequest = ValidateLoginRequestData;
53
+ type ValidateLoginResponse = ValidateLoginResponseData;
54
+
36
55
  interface DeleteProviderAccountRequestData {
37
56
  providerAccountId: string;
38
57
  }
@@ -128,24 +147,8 @@ declare const ManualBatchEntrySchema: z$1.ZodObject<{
128
147
  parked: "parked";
129
148
  driving: "driving";
130
149
  }>>;
131
- }, z$1.core.$strip>;
132
- declare const ManualBatchRequestSchema: z$1.ZodObject<{
133
- entries: z$1.ZodArray<z$1.ZodObject<{
134
- driver_id: z$1.ZodString;
135
- timestamp: z$1.ZodString;
136
- location_latitude: z$1.ZodNumber;
137
- location_longitude: z$1.ZodNumber;
138
- location_address: z$1.ZodOptional<z$1.ZodString>;
139
- vehicle_odometer_miles: z$1.ZodOptional<z$1.ZodNumber>;
140
- heading: z$1.ZodOptional<z$1.ZodNumber>;
141
- speed_mph: z$1.ZodOptional<z$1.ZodNumber>;
142
- altitude_feet: z$1.ZodOptional<z$1.ZodNumber>;
143
- raw: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
144
- driving_status: z$1.ZodOptional<z$1.ZodEnum<{
145
- parked: "parked";
146
- driving: "driving";
147
- }>>;
148
- }, z$1.core.$strip>>;
150
+ activity_type: z$1.ZodOptional<z$1.ZodString>;
151
+ activity_confidence: z$1.ZodOptional<z$1.ZodNumber>;
149
152
  }, z$1.core.$strip>;
150
153
  declare const ManualBatchTelemetrySchema: z$1.ZodObject<{
151
154
  id: z$1.ZodNumber;
@@ -174,6 +177,8 @@ declare const ManualBatchTelemetrySchema: z$1.ZodObject<{
174
177
  parked: "parked";
175
178
  driving: "driving";
176
179
  }>>;
180
+ activity_type: z$1.ZodNullable<z$1.ZodString>;
181
+ activity_confidence: z$1.ZodNullable<z$1.ZodNumber>;
177
182
  }, z$1.core.$strip>;
178
183
  declare const ManualBatchResponseSchema: z$1.ZodObject<{
179
184
  message: z$1.ZodString;
@@ -205,13 +210,346 @@ declare const ManualBatchResponseSchema: z$1.ZodObject<{
205
210
  parked: "parked";
206
211
  driving: "driving";
207
212
  }>>;
213
+ activity_type: z$1.ZodNullable<z$1.ZodString>;
214
+ activity_confidence: z$1.ZodNullable<z$1.ZodNumber>;
208
215
  }, z$1.core.$strip>>;
209
216
  }, z$1.core.$strip>;
210
217
  type ManualBatchEntry = z$1.infer<typeof ManualBatchEntrySchema>;
211
- type ManualBatchRequest = z$1.infer<typeof ManualBatchRequestSchema>;
212
218
  type ManualBatchTelemetry = z$1.infer<typeof ManualBatchTelemetrySchema>;
213
219
  type ManualBatchResponse = z$1.infer<typeof ManualBatchResponseSchema>;
214
220
 
221
+ declare const BGGeoCoordsSchema: z$1.ZodObject<{
222
+ latitude: z$1.ZodNumber;
223
+ longitude: z$1.ZodNumber;
224
+ accuracy: z$1.ZodOptional<z$1.ZodNumber>;
225
+ speed: z$1.ZodNumber;
226
+ heading: z$1.ZodNumber;
227
+ altitude: z$1.ZodNumber;
228
+ altitude_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
229
+ speed_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
230
+ heading_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
231
+ ellipsoidal_altitude: z$1.ZodOptional<z$1.ZodNumber>;
232
+ floor: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
233
+ }, z$1.core.$strip>;
234
+ declare const BGGeoActivitySchema: z$1.ZodObject<{
235
+ type: z$1.ZodString;
236
+ confidence: z$1.ZodNumber;
237
+ }, z$1.core.$strip>;
238
+ declare const BGGeoBatterySchema: z$1.ZodObject<{
239
+ is_charging: z$1.ZodBoolean;
240
+ level: z$1.ZodNumber;
241
+ }, z$1.core.$strip>;
242
+ declare const BGGeoLocationSchema: z$1.ZodObject<{
243
+ coords: z$1.ZodObject<{
244
+ latitude: z$1.ZodNumber;
245
+ longitude: z$1.ZodNumber;
246
+ accuracy: z$1.ZodOptional<z$1.ZodNumber>;
247
+ speed: z$1.ZodNumber;
248
+ heading: z$1.ZodNumber;
249
+ altitude: z$1.ZodNumber;
250
+ altitude_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
251
+ speed_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
252
+ heading_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
253
+ ellipsoidal_altitude: z$1.ZodOptional<z$1.ZodNumber>;
254
+ floor: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
255
+ }, z$1.core.$strip>;
256
+ extras: z$1.ZodOptional<z$1.ZodObject<{}, z$1.core.$loose>>;
257
+ activity: z$1.ZodOptional<z$1.ZodObject<{
258
+ type: z$1.ZodString;
259
+ confidence: z$1.ZodNumber;
260
+ }, z$1.core.$strip>>;
261
+ battery: z$1.ZodOptional<z$1.ZodObject<{
262
+ is_charging: z$1.ZodBoolean;
263
+ level: z$1.ZodNumber;
264
+ }, z$1.core.$strip>>;
265
+ timestamp: z$1.ZodString;
266
+ is_moving: z$1.ZodBoolean;
267
+ odometer: z$1.ZodNumber;
268
+ uuid: z$1.ZodOptional<z$1.ZodString>;
269
+ event: z$1.ZodOptional<z$1.ZodString>;
270
+ age: z$1.ZodOptional<z$1.ZodNumber>;
271
+ geofence: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
272
+ mock: z$1.ZodOptional<z$1.ZodBoolean>;
273
+ recorded_at: z$1.ZodOptional<z$1.ZodString>;
274
+ }, z$1.core.$loose>;
275
+ declare const BGGeoBatchRequestSchema: z$1.ZodObject<{
276
+ location: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodPipe<z$1.ZodObject<{
277
+ coords: z$1.ZodObject<{
278
+ latitude: z$1.ZodNumber;
279
+ longitude: z$1.ZodNumber;
280
+ accuracy: z$1.ZodOptional<z$1.ZodNumber>;
281
+ speed: z$1.ZodNumber;
282
+ heading: z$1.ZodNumber;
283
+ altitude: z$1.ZodNumber;
284
+ altitude_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
285
+ speed_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
286
+ heading_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
287
+ ellipsoidal_altitude: z$1.ZodOptional<z$1.ZodNumber>;
288
+ floor: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
289
+ }, z$1.core.$strip>;
290
+ extras: z$1.ZodOptional<z$1.ZodObject<{}, z$1.core.$loose>>;
291
+ activity: z$1.ZodOptional<z$1.ZodObject<{
292
+ type: z$1.ZodString;
293
+ confidence: z$1.ZodNumber;
294
+ }, z$1.core.$strip>>;
295
+ battery: z$1.ZodOptional<z$1.ZodObject<{
296
+ is_charging: z$1.ZodBoolean;
297
+ level: z$1.ZodNumber;
298
+ }, z$1.core.$strip>>;
299
+ timestamp: z$1.ZodString;
300
+ is_moving: z$1.ZodBoolean;
301
+ odometer: z$1.ZodNumber;
302
+ uuid: z$1.ZodOptional<z$1.ZodString>;
303
+ event: z$1.ZodOptional<z$1.ZodString>;
304
+ age: z$1.ZodOptional<z$1.ZodNumber>;
305
+ geofence: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
306
+ mock: z$1.ZodOptional<z$1.ZodBoolean>;
307
+ recorded_at: z$1.ZodOptional<z$1.ZodString>;
308
+ }, z$1.core.$loose>, z$1.ZodTransform<{
309
+ [x: string]: unknown;
310
+ coords: {
311
+ latitude: number;
312
+ longitude: number;
313
+ speed: number;
314
+ heading: number;
315
+ altitude: number;
316
+ accuracy?: number | undefined;
317
+ altitude_accuracy?: number | undefined;
318
+ speed_accuracy?: number | undefined;
319
+ heading_accuracy?: number | undefined;
320
+ ellipsoidal_altitude?: number | undefined;
321
+ floor?: number | null | undefined;
322
+ };
323
+ timestamp: string;
324
+ is_moving: boolean;
325
+ odometer: number;
326
+ extras?: {
327
+ [x: string]: unknown;
328
+ } | undefined;
329
+ activity?: {
330
+ type: string;
331
+ confidence: number;
332
+ } | undefined;
333
+ battery?: {
334
+ is_charging: boolean;
335
+ level: number;
336
+ } | undefined;
337
+ uuid?: string | undefined;
338
+ event?: string | undefined;
339
+ age?: number | undefined;
340
+ geofence?: Record<string, unknown> | undefined;
341
+ mock?: boolean | undefined;
342
+ recorded_at?: string | undefined;
343
+ }[], {
344
+ [x: string]: unknown;
345
+ coords: {
346
+ latitude: number;
347
+ longitude: number;
348
+ speed: number;
349
+ heading: number;
350
+ altitude: number;
351
+ accuracy?: number | undefined;
352
+ altitude_accuracy?: number | undefined;
353
+ speed_accuracy?: number | undefined;
354
+ heading_accuracy?: number | undefined;
355
+ ellipsoidal_altitude?: number | undefined;
356
+ floor?: number | null | undefined;
357
+ };
358
+ timestamp: string;
359
+ is_moving: boolean;
360
+ odometer: number;
361
+ extras?: {
362
+ [x: string]: unknown;
363
+ } | undefined;
364
+ activity?: {
365
+ type: string;
366
+ confidence: number;
367
+ } | undefined;
368
+ battery?: {
369
+ is_charging: boolean;
370
+ level: number;
371
+ } | undefined;
372
+ uuid?: string | undefined;
373
+ event?: string | undefined;
374
+ age?: number | undefined;
375
+ geofence?: Record<string, unknown> | undefined;
376
+ mock?: boolean | undefined;
377
+ recorded_at?: string | undefined;
378
+ }>>, z$1.ZodArray<z$1.ZodObject<{
379
+ coords: z$1.ZodObject<{
380
+ latitude: z$1.ZodNumber;
381
+ longitude: z$1.ZodNumber;
382
+ accuracy: z$1.ZodOptional<z$1.ZodNumber>;
383
+ speed: z$1.ZodNumber;
384
+ heading: z$1.ZodNumber;
385
+ altitude: z$1.ZodNumber;
386
+ altitude_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
387
+ speed_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
388
+ heading_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
389
+ ellipsoidal_altitude: z$1.ZodOptional<z$1.ZodNumber>;
390
+ floor: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
391
+ }, z$1.core.$strip>;
392
+ extras: z$1.ZodOptional<z$1.ZodObject<{}, z$1.core.$loose>>;
393
+ activity: z$1.ZodOptional<z$1.ZodObject<{
394
+ type: z$1.ZodString;
395
+ confidence: z$1.ZodNumber;
396
+ }, z$1.core.$strip>>;
397
+ battery: z$1.ZodOptional<z$1.ZodObject<{
398
+ is_charging: z$1.ZodBoolean;
399
+ level: z$1.ZodNumber;
400
+ }, z$1.core.$strip>>;
401
+ timestamp: z$1.ZodString;
402
+ is_moving: z$1.ZodBoolean;
403
+ odometer: z$1.ZodNumber;
404
+ uuid: z$1.ZodOptional<z$1.ZodString>;
405
+ event: z$1.ZodOptional<z$1.ZodString>;
406
+ age: z$1.ZodOptional<z$1.ZodNumber>;
407
+ geofence: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
408
+ mock: z$1.ZodOptional<z$1.ZodBoolean>;
409
+ recorded_at: z$1.ZodOptional<z$1.ZodString>;
410
+ }, z$1.core.$loose>>]>>;
411
+ locations: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodPipe<z$1.ZodObject<{
412
+ coords: z$1.ZodObject<{
413
+ latitude: z$1.ZodNumber;
414
+ longitude: z$1.ZodNumber;
415
+ accuracy: z$1.ZodOptional<z$1.ZodNumber>;
416
+ speed: z$1.ZodNumber;
417
+ heading: z$1.ZodNumber;
418
+ altitude: z$1.ZodNumber;
419
+ altitude_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
420
+ speed_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
421
+ heading_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
422
+ ellipsoidal_altitude: z$1.ZodOptional<z$1.ZodNumber>;
423
+ floor: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
424
+ }, z$1.core.$strip>;
425
+ extras: z$1.ZodOptional<z$1.ZodObject<{}, z$1.core.$loose>>;
426
+ activity: z$1.ZodOptional<z$1.ZodObject<{
427
+ type: z$1.ZodString;
428
+ confidence: z$1.ZodNumber;
429
+ }, z$1.core.$strip>>;
430
+ battery: z$1.ZodOptional<z$1.ZodObject<{
431
+ is_charging: z$1.ZodBoolean;
432
+ level: z$1.ZodNumber;
433
+ }, z$1.core.$strip>>;
434
+ timestamp: z$1.ZodString;
435
+ is_moving: z$1.ZodBoolean;
436
+ odometer: z$1.ZodNumber;
437
+ uuid: z$1.ZodOptional<z$1.ZodString>;
438
+ event: z$1.ZodOptional<z$1.ZodString>;
439
+ age: z$1.ZodOptional<z$1.ZodNumber>;
440
+ geofence: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
441
+ mock: z$1.ZodOptional<z$1.ZodBoolean>;
442
+ recorded_at: z$1.ZodOptional<z$1.ZodString>;
443
+ }, z$1.core.$loose>, z$1.ZodTransform<{
444
+ [x: string]: unknown;
445
+ coords: {
446
+ latitude: number;
447
+ longitude: number;
448
+ speed: number;
449
+ heading: number;
450
+ altitude: number;
451
+ accuracy?: number | undefined;
452
+ altitude_accuracy?: number | undefined;
453
+ speed_accuracy?: number | undefined;
454
+ heading_accuracy?: number | undefined;
455
+ ellipsoidal_altitude?: number | undefined;
456
+ floor?: number | null | undefined;
457
+ };
458
+ timestamp: string;
459
+ is_moving: boolean;
460
+ odometer: number;
461
+ extras?: {
462
+ [x: string]: unknown;
463
+ } | undefined;
464
+ activity?: {
465
+ type: string;
466
+ confidence: number;
467
+ } | undefined;
468
+ battery?: {
469
+ is_charging: boolean;
470
+ level: number;
471
+ } | undefined;
472
+ uuid?: string | undefined;
473
+ event?: string | undefined;
474
+ age?: number | undefined;
475
+ geofence?: Record<string, unknown> | undefined;
476
+ mock?: boolean | undefined;
477
+ recorded_at?: string | undefined;
478
+ }[], {
479
+ [x: string]: unknown;
480
+ coords: {
481
+ latitude: number;
482
+ longitude: number;
483
+ speed: number;
484
+ heading: number;
485
+ altitude: number;
486
+ accuracy?: number | undefined;
487
+ altitude_accuracy?: number | undefined;
488
+ speed_accuracy?: number | undefined;
489
+ heading_accuracy?: number | undefined;
490
+ ellipsoidal_altitude?: number | undefined;
491
+ floor?: number | null | undefined;
492
+ };
493
+ timestamp: string;
494
+ is_moving: boolean;
495
+ odometer: number;
496
+ extras?: {
497
+ [x: string]: unknown;
498
+ } | undefined;
499
+ activity?: {
500
+ type: string;
501
+ confidence: number;
502
+ } | undefined;
503
+ battery?: {
504
+ is_charging: boolean;
505
+ level: number;
506
+ } | undefined;
507
+ uuid?: string | undefined;
508
+ event?: string | undefined;
509
+ age?: number | undefined;
510
+ geofence?: Record<string, unknown> | undefined;
511
+ mock?: boolean | undefined;
512
+ recorded_at?: string | undefined;
513
+ }>>, z$1.ZodArray<z$1.ZodObject<{
514
+ coords: z$1.ZodObject<{
515
+ latitude: z$1.ZodNumber;
516
+ longitude: z$1.ZodNumber;
517
+ accuracy: z$1.ZodOptional<z$1.ZodNumber>;
518
+ speed: z$1.ZodNumber;
519
+ heading: z$1.ZodNumber;
520
+ altitude: z$1.ZodNumber;
521
+ altitude_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
522
+ speed_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
523
+ heading_accuracy: z$1.ZodOptional<z$1.ZodNumber>;
524
+ ellipsoidal_altitude: z$1.ZodOptional<z$1.ZodNumber>;
525
+ floor: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
526
+ }, z$1.core.$strip>;
527
+ extras: z$1.ZodOptional<z$1.ZodObject<{}, z$1.core.$loose>>;
528
+ activity: z$1.ZodOptional<z$1.ZodObject<{
529
+ type: z$1.ZodString;
530
+ confidence: z$1.ZodNumber;
531
+ }, z$1.core.$strip>>;
532
+ battery: z$1.ZodOptional<z$1.ZodObject<{
533
+ is_charging: z$1.ZodBoolean;
534
+ level: z$1.ZodNumber;
535
+ }, z$1.core.$strip>>;
536
+ timestamp: z$1.ZodString;
537
+ is_moving: z$1.ZodBoolean;
538
+ odometer: z$1.ZodNumber;
539
+ uuid: z$1.ZodOptional<z$1.ZodString>;
540
+ event: z$1.ZodOptional<z$1.ZodString>;
541
+ age: z$1.ZodOptional<z$1.ZodNumber>;
542
+ geofence: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
543
+ mock: z$1.ZodOptional<z$1.ZodBoolean>;
544
+ recorded_at: z$1.ZodOptional<z$1.ZodString>;
545
+ }, z$1.core.$loose>>]>>;
546
+ }, z$1.core.$strip>;
547
+ type BGGeoCoords = z$1.infer<typeof BGGeoCoordsSchema>;
548
+ type BGGeoActivity = z$1.infer<typeof BGGeoActivitySchema>;
549
+ type BGGeoBattery = z$1.infer<typeof BGGeoBatterySchema>;
550
+ type BGGeoLocation = z$1.infer<typeof BGGeoLocationSchema>;
551
+ type BGGeoBatchRequest = z$1.infer<typeof BGGeoBatchRequestSchema>;
552
+
215
553
  declare const DriverTripsRequestSchema: z$1.ZodObject<{
216
554
  driver_id: z$1.ZodString;
217
555
  start_date: z$1.ZodString;
@@ -366,6 +704,105 @@ declare const DriverEnrichedSummariesResponseSchema: z$1.ZodArray<z$1.ZodObject<
366
704
  }, z$1.core.$strip>>;
367
705
  type DriverEnrichedSummariesResponse = z$1.infer<typeof DriverEnrichedSummariesResponseSchema>;
368
706
 
707
+ declare const ConvexBreadcrumbEventSchema: z$1.ZodObject<{
708
+ ts: z$1.ZodNumber;
709
+ status: z$1.ZodString;
710
+ lat: z$1.ZodNumber;
711
+ lon: z$1.ZodNumber;
712
+ heading: z$1.ZodOptional<z$1.ZodNumber>;
713
+ locationText: z$1.ZodOptional<z$1.ZodString>;
714
+ speedKph: z$1.ZodOptional<z$1.ZodNumber>;
715
+ altitudeFeet: z$1.ZodOptional<z$1.ZodNumber>;
716
+ }, z$1.core.$strip>;
717
+ type ConvexBreadcrumbEvent = z$1.infer<typeof ConvexBreadcrumbEventSchema>;
718
+ declare const ConvexDriverTripRequestSchema: z$1.ZodObject<{
719
+ userId: z$1.ZodString;
720
+ breadcrumbs: z$1.ZodArray<z$1.ZodObject<{
721
+ ts: z$1.ZodNumber;
722
+ status: z$1.ZodString;
723
+ lat: z$1.ZodNumber;
724
+ lon: z$1.ZodNumber;
725
+ heading: z$1.ZodOptional<z$1.ZodNumber>;
726
+ locationText: z$1.ZodOptional<z$1.ZodString>;
727
+ speedKph: z$1.ZodOptional<z$1.ZodNumber>;
728
+ altitudeFeet: z$1.ZodOptional<z$1.ZodNumber>;
729
+ }, z$1.core.$strip>>;
730
+ }, z$1.core.$strip>;
731
+ type ConvexDriverTripRequest = z$1.infer<typeof ConvexDriverTripRequestSchema>;
732
+
733
+ declare const PostDriverTripTelemetryRecordSchema: z$1.ZodObject<{
734
+ location_latitude: z$1.ZodNumber;
735
+ location_longitude: z$1.ZodNumber;
736
+ location_address: z$1.ZodOptional<z$1.ZodString>;
737
+ heading: z$1.ZodNumber;
738
+ drivingState: z$1.ZodString;
739
+ speedKph: z$1.ZodNumber;
740
+ altitudeFeet: z$1.ZodNumber;
741
+ gps_timestamp: z$1.ZodOptional<z$1.ZodString>;
742
+ odometer: z$1.ZodOptional<z$1.ZodNumber>;
743
+ activity_type: z$1.ZodOptional<z$1.ZodString>;
744
+ activity_confidence: z$1.ZodOptional<z$1.ZodNumber>;
745
+ }, z$1.core.$strip>;
746
+ type PostDriverTripTelemetryRecord = z$1.infer<typeof PostDriverTripTelemetryRecordSchema>;
747
+ declare const PostDriverTripTelemetryRequestSchema: z$1.ZodObject<{
748
+ honkUserId: z$1.ZodString;
749
+ telemetry: z$1.ZodArray<z$1.ZodObject<{
750
+ location_latitude: z$1.ZodNumber;
751
+ location_longitude: z$1.ZodNumber;
752
+ location_address: z$1.ZodOptional<z$1.ZodString>;
753
+ heading: z$1.ZodNumber;
754
+ drivingState: z$1.ZodString;
755
+ speedKph: z$1.ZodNumber;
756
+ altitudeFeet: z$1.ZodNumber;
757
+ gps_timestamp: z$1.ZodOptional<z$1.ZodString>;
758
+ odometer: z$1.ZodOptional<z$1.ZodNumber>;
759
+ activity_type: z$1.ZodOptional<z$1.ZodString>;
760
+ activity_confidence: z$1.ZodOptional<z$1.ZodNumber>;
761
+ }, z$1.core.$strip>>;
762
+ }, z$1.core.$strip>;
763
+ type PostDriverTripTelemetryRequest = z$1.infer<typeof PostDriverTripTelemetryRequestSchema>;
764
+
765
+ declare const PostDailySummaryRecordSchema: z$1.ZodObject<{
766
+ externalDriverId: z$1.ZodString;
767
+ date: z$1.ZodString;
768
+ totalMiles: z$1.ZodNumber;
769
+ tripCount: z$1.ZodNumber;
770
+ pointCount: z$1.ZodNumber;
771
+ polyline: z$1.ZodOptional<z$1.ZodString>;
772
+ highways: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
773
+ avgSpeedMph: z$1.ZodOptional<z$1.ZodNumber>;
774
+ milesByWeather: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodNumber>>;
775
+ milesByLight: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodNumber>>;
776
+ states: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
777
+ origin: z$1.ZodOptional<z$1.ZodString>;
778
+ destination: z$1.ZodOptional<z$1.ZodString>;
779
+ altitudeGainedFeet: z$1.ZodOptional<z$1.ZodNumber>;
780
+ altitudeLostFeet: z$1.ZodOptional<z$1.ZodNumber>;
781
+ userId: z$1.ZodOptional<z$1.ZodString>;
782
+ }, z$1.core.$strip>;
783
+ type PostDailySummaryRecord = z$1.infer<typeof PostDailySummaryRecordSchema>;
784
+ declare const PostDailySummaryRequestSchema: z$1.ZodObject<{
785
+ summaries: z$1.ZodArray<z$1.ZodObject<{
786
+ externalDriverId: z$1.ZodString;
787
+ date: z$1.ZodString;
788
+ totalMiles: z$1.ZodNumber;
789
+ tripCount: z$1.ZodNumber;
790
+ pointCount: z$1.ZodNumber;
791
+ polyline: z$1.ZodOptional<z$1.ZodString>;
792
+ highways: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
793
+ avgSpeedMph: z$1.ZodOptional<z$1.ZodNumber>;
794
+ milesByWeather: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodNumber>>;
795
+ milesByLight: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodNumber>>;
796
+ states: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
797
+ origin: z$1.ZodOptional<z$1.ZodString>;
798
+ destination: z$1.ZodOptional<z$1.ZodString>;
799
+ altitudeGainedFeet: z$1.ZodOptional<z$1.ZodNumber>;
800
+ altitudeLostFeet: z$1.ZodOptional<z$1.ZodNumber>;
801
+ userId: z$1.ZodOptional<z$1.ZodString>;
802
+ }, z$1.core.$strip>>;
803
+ }, z$1.core.$strip>;
804
+ type PostDailySummaryRequest = z$1.infer<typeof PostDailySummaryRequestSchema>;
805
+
369
806
  declare const GomotiveAuthDataSchema: z$1.ZodObject<{
370
807
  kind: z$1.ZodLiteral<"gomotive">;
371
808
  token: z$1.ZodString;
@@ -511,4 +948,4 @@ declare const BrowserCrawlResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObje
511
948
  }, z$1.core.$strip>], "success">;
512
949
  type BrowserCrawlResponse = z$1.infer<typeof BrowserCrawlResponseSchema>;
513
950
 
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 };
951
+ 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 ManualBatchResponse, ManualBatchResponseSchema, type ManualBatchTelemetry, ManualBatchTelemetrySchema, type MockAuthData, MockAuthDataSchema, type NoneAuthData, NoneAuthDataSchema, type PostDailySummaryRecord, PostDailySummaryRecordSchema, type PostDailySummaryRequest, PostDailySummaryRequestSchema, 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 ValidateLoginRequest, type ValidateLoginRequestData, ValidateLoginRequestSchema, type ValidateLoginResponse, type ValidateLoginResponseData, ValidateLoginResponseSchema, type VistaAuthData, VistaAuthDataSchema, deserializeAuthData, serializeAuthData };