@myrobotaxi/contracts 0.4.0 → 0.6.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/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { AuthOkPayload, AuthPayload, ConnectivityPayload, DriveEndedPayload, DriveStartedPayload, ErrorPayload, HeartbeatPayload, MessageType, PingPayload, PongPayload, SubscribePayload, UnsubscribePayload, VehicleListResponse, VehicleState, VehicleSummary, VehicleUpdatePayload, WebSocketEnvelope, WebSocketMessages } from './types.cjs';
1
+ export { AuthOkPayload, AuthPayload, ConnectivityPayload, Drive, DriveEndedPayload, DriveStartedPayload, DriveSummary, DrivesListResponse, ErrorPayload, HeartbeatPayload, MessageType, PingPayload, PongPayload, SubscribePayload, UnsubscribePayload, VehicleListResponse, VehicleState, VehicleSummary, VehicleUpdatePayload, WebSocketEnvelope, WebSocketMessages } from './types.cjs';
2
2
 
3
3
  declare const schemas: {
4
4
  readonly vehicleState: {
@@ -382,6 +382,334 @@ declare const schemas: {
382
382
  };
383
383
  };
384
384
  };
385
+ readonly drivesList: {
386
+ $schema: string;
387
+ $id: string;
388
+ title: string;
389
+ description: string;
390
+ type: string;
391
+ additionalProperties: boolean;
392
+ required: string[];
393
+ properties: {
394
+ items: {
395
+ type: string;
396
+ description: string;
397
+ "x-classification": string;
398
+ items: {
399
+ $ref: string;
400
+ };
401
+ };
402
+ nextCursor: {
403
+ type: string[];
404
+ description: string;
405
+ "x-classification": string;
406
+ };
407
+ hasMore: {
408
+ type: string;
409
+ description: string;
410
+ "x-classification": string;
411
+ };
412
+ };
413
+ $defs: {
414
+ DriveSummary: {
415
+ title: string;
416
+ description: string;
417
+ type: string;
418
+ additionalProperties: boolean;
419
+ required: string[];
420
+ properties: {
421
+ id: {
422
+ type: string;
423
+ description: string;
424
+ "x-classification": string;
425
+ examples: string[];
426
+ };
427
+ vehicleId: {
428
+ type: string;
429
+ description: string;
430
+ "x-classification": string;
431
+ examples: string[];
432
+ };
433
+ startTime: {
434
+ type: string;
435
+ format: string;
436
+ description: string;
437
+ "x-classification": string;
438
+ examples: string[];
439
+ };
440
+ endTime: {
441
+ type: string;
442
+ format: string;
443
+ description: string;
444
+ "x-classification": string;
445
+ examples: string[];
446
+ };
447
+ date: {
448
+ type: string;
449
+ format: string;
450
+ description: string;
451
+ "x-classification": string;
452
+ examples: string[];
453
+ };
454
+ startLocation: {
455
+ type: string;
456
+ description: string;
457
+ "x-classification": string;
458
+ examples: string[];
459
+ };
460
+ startAddress: {
461
+ type: string;
462
+ description: string;
463
+ "x-classification": string;
464
+ examples: string[];
465
+ };
466
+ endLocation: {
467
+ type: string;
468
+ description: string;
469
+ "x-classification": string;
470
+ examples: string[];
471
+ };
472
+ endAddress: {
473
+ type: string;
474
+ description: string;
475
+ "x-classification": string;
476
+ examples: string[];
477
+ };
478
+ distanceMiles: {
479
+ type: string;
480
+ description: string;
481
+ "x-classification": string;
482
+ "x-unit": string;
483
+ minimum: number;
484
+ examples: number[];
485
+ };
486
+ durationSeconds: {
487
+ type: string;
488
+ description: string;
489
+ "x-classification": string;
490
+ "x-unit": string;
491
+ minimum: number;
492
+ examples: number[];
493
+ };
494
+ avgSpeedMph: {
495
+ type: string;
496
+ description: string;
497
+ "x-classification": string;
498
+ "x-unit": string;
499
+ minimum: number;
500
+ examples: number[];
501
+ };
502
+ maxSpeedMph: {
503
+ type: string;
504
+ description: string;
505
+ "x-classification": string;
506
+ "x-unit": string;
507
+ minimum: number;
508
+ examples: number[];
509
+ };
510
+ startChargeLevel: {
511
+ type: string;
512
+ description: string;
513
+ "x-classification": string;
514
+ "x-unit": string;
515
+ minimum: number;
516
+ maximum: number;
517
+ examples: number[];
518
+ };
519
+ endChargeLevel: {
520
+ type: string;
521
+ description: string;
522
+ "x-classification": string;
523
+ "x-unit": string;
524
+ minimum: number;
525
+ maximum: number;
526
+ examples: number[];
527
+ };
528
+ fsdMiles: {
529
+ type: string;
530
+ description: string;
531
+ "x-classification": string;
532
+ "x-unit": string;
533
+ minimum: number;
534
+ examples: number[];
535
+ };
536
+ fsdPercentage: {
537
+ type: string;
538
+ description: string;
539
+ "x-classification": string;
540
+ "x-unit": string;
541
+ minimum: number;
542
+ maximum: number;
543
+ examples: number[];
544
+ };
545
+ createdAt: {
546
+ type: string;
547
+ format: string;
548
+ description: string;
549
+ "x-classification": string;
550
+ examples: string[];
551
+ };
552
+ };
553
+ };
554
+ };
555
+ };
556
+ readonly driveDetail: {
557
+ $schema: string;
558
+ $id: string;
559
+ title: string;
560
+ description: string;
561
+ type: string;
562
+ additionalProperties: boolean;
563
+ required: string[];
564
+ properties: {
565
+ id: {
566
+ type: string;
567
+ description: string;
568
+ "x-classification": string;
569
+ examples: string[];
570
+ };
571
+ vehicleId: {
572
+ type: string;
573
+ description: string;
574
+ "x-classification": string;
575
+ examples: string[];
576
+ };
577
+ startTime: {
578
+ type: string;
579
+ format: string;
580
+ description: string;
581
+ "x-classification": string;
582
+ examples: string[];
583
+ };
584
+ endTime: {
585
+ type: string;
586
+ format: string;
587
+ description: string;
588
+ "x-classification": string;
589
+ examples: string[];
590
+ };
591
+ date: {
592
+ type: string;
593
+ format: string;
594
+ description: string;
595
+ "x-classification": string;
596
+ examples: string[];
597
+ };
598
+ distanceMiles: {
599
+ type: string;
600
+ description: string;
601
+ "x-classification": string;
602
+ "x-unit": string;
603
+ minimum: number;
604
+ examples: number[];
605
+ };
606
+ durationSeconds: {
607
+ type: string;
608
+ description: string;
609
+ "x-classification": string;
610
+ "x-unit": string;
611
+ minimum: number;
612
+ examples: number[];
613
+ };
614
+ avgSpeedMph: {
615
+ type: string;
616
+ description: string;
617
+ "x-classification": string;
618
+ "x-unit": string;
619
+ minimum: number;
620
+ examples: number[];
621
+ };
622
+ maxSpeedMph: {
623
+ type: string;
624
+ description: string;
625
+ "x-classification": string;
626
+ "x-unit": string;
627
+ minimum: number;
628
+ examples: number[];
629
+ };
630
+ energyUsedKwh: {
631
+ type: string;
632
+ description: string;
633
+ "x-classification": string;
634
+ "x-unit": string;
635
+ minimum: number;
636
+ examples: number[];
637
+ };
638
+ startChargeLevel: {
639
+ type: string;
640
+ description: string;
641
+ "x-classification": string;
642
+ "x-unit": string;
643
+ minimum: number;
644
+ maximum: number;
645
+ examples: number[];
646
+ };
647
+ endChargeLevel: {
648
+ type: string;
649
+ description: string;
650
+ "x-classification": string;
651
+ "x-unit": string;
652
+ minimum: number;
653
+ maximum: number;
654
+ examples: number[];
655
+ };
656
+ fsdMiles: {
657
+ type: string;
658
+ description: string;
659
+ "x-classification": string;
660
+ "x-unit": string;
661
+ minimum: number;
662
+ examples: number[];
663
+ };
664
+ fsdPercentage: {
665
+ type: string;
666
+ description: string;
667
+ "x-classification": string;
668
+ "x-unit": string;
669
+ minimum: number;
670
+ maximum: number;
671
+ examples: number[];
672
+ };
673
+ interventions: {
674
+ type: string;
675
+ description: string;
676
+ "x-classification": string;
677
+ minimum: number;
678
+ examples: number[];
679
+ };
680
+ startLocation: {
681
+ type: string;
682
+ description: string;
683
+ "x-classification": string;
684
+ examples: string[];
685
+ };
686
+ startAddress: {
687
+ type: string;
688
+ description: string;
689
+ "x-classification": string;
690
+ examples: string[];
691
+ };
692
+ endLocation: {
693
+ type: string;
694
+ description: string;
695
+ "x-classification": string;
696
+ examples: string[];
697
+ };
698
+ endAddress: {
699
+ type: string;
700
+ description: string;
701
+ "x-classification": string;
702
+ examples: string[];
703
+ };
704
+ createdAt: {
705
+ type: string;
706
+ format: string;
707
+ description: string;
708
+ "x-classification": string;
709
+ examples: string[];
710
+ };
711
+ };
712
+ };
385
713
  readonly wsMessages: {
386
714
  $schema: string;
387
715
  $id: string;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { AuthOkPayload, AuthPayload, ConnectivityPayload, DriveEndedPayload, DriveStartedPayload, ErrorPayload, HeartbeatPayload, MessageType, PingPayload, PongPayload, SubscribePayload, UnsubscribePayload, VehicleListResponse, VehicleState, VehicleSummary, VehicleUpdatePayload, WebSocketEnvelope, WebSocketMessages } from './types.js';
1
+ export { AuthOkPayload, AuthPayload, ConnectivityPayload, Drive, DriveEndedPayload, DriveStartedPayload, DriveSummary, DrivesListResponse, ErrorPayload, HeartbeatPayload, MessageType, PingPayload, PongPayload, SubscribePayload, UnsubscribePayload, VehicleListResponse, VehicleState, VehicleSummary, VehicleUpdatePayload, WebSocketEnvelope, WebSocketMessages } from './types.js';
2
2
 
3
3
  declare const schemas: {
4
4
  readonly vehicleState: {
@@ -382,6 +382,334 @@ declare const schemas: {
382
382
  };
383
383
  };
384
384
  };
385
+ readonly drivesList: {
386
+ $schema: string;
387
+ $id: string;
388
+ title: string;
389
+ description: string;
390
+ type: string;
391
+ additionalProperties: boolean;
392
+ required: string[];
393
+ properties: {
394
+ items: {
395
+ type: string;
396
+ description: string;
397
+ "x-classification": string;
398
+ items: {
399
+ $ref: string;
400
+ };
401
+ };
402
+ nextCursor: {
403
+ type: string[];
404
+ description: string;
405
+ "x-classification": string;
406
+ };
407
+ hasMore: {
408
+ type: string;
409
+ description: string;
410
+ "x-classification": string;
411
+ };
412
+ };
413
+ $defs: {
414
+ DriveSummary: {
415
+ title: string;
416
+ description: string;
417
+ type: string;
418
+ additionalProperties: boolean;
419
+ required: string[];
420
+ properties: {
421
+ id: {
422
+ type: string;
423
+ description: string;
424
+ "x-classification": string;
425
+ examples: string[];
426
+ };
427
+ vehicleId: {
428
+ type: string;
429
+ description: string;
430
+ "x-classification": string;
431
+ examples: string[];
432
+ };
433
+ startTime: {
434
+ type: string;
435
+ format: string;
436
+ description: string;
437
+ "x-classification": string;
438
+ examples: string[];
439
+ };
440
+ endTime: {
441
+ type: string;
442
+ format: string;
443
+ description: string;
444
+ "x-classification": string;
445
+ examples: string[];
446
+ };
447
+ date: {
448
+ type: string;
449
+ format: string;
450
+ description: string;
451
+ "x-classification": string;
452
+ examples: string[];
453
+ };
454
+ startLocation: {
455
+ type: string;
456
+ description: string;
457
+ "x-classification": string;
458
+ examples: string[];
459
+ };
460
+ startAddress: {
461
+ type: string;
462
+ description: string;
463
+ "x-classification": string;
464
+ examples: string[];
465
+ };
466
+ endLocation: {
467
+ type: string;
468
+ description: string;
469
+ "x-classification": string;
470
+ examples: string[];
471
+ };
472
+ endAddress: {
473
+ type: string;
474
+ description: string;
475
+ "x-classification": string;
476
+ examples: string[];
477
+ };
478
+ distanceMiles: {
479
+ type: string;
480
+ description: string;
481
+ "x-classification": string;
482
+ "x-unit": string;
483
+ minimum: number;
484
+ examples: number[];
485
+ };
486
+ durationSeconds: {
487
+ type: string;
488
+ description: string;
489
+ "x-classification": string;
490
+ "x-unit": string;
491
+ minimum: number;
492
+ examples: number[];
493
+ };
494
+ avgSpeedMph: {
495
+ type: string;
496
+ description: string;
497
+ "x-classification": string;
498
+ "x-unit": string;
499
+ minimum: number;
500
+ examples: number[];
501
+ };
502
+ maxSpeedMph: {
503
+ type: string;
504
+ description: string;
505
+ "x-classification": string;
506
+ "x-unit": string;
507
+ minimum: number;
508
+ examples: number[];
509
+ };
510
+ startChargeLevel: {
511
+ type: string;
512
+ description: string;
513
+ "x-classification": string;
514
+ "x-unit": string;
515
+ minimum: number;
516
+ maximum: number;
517
+ examples: number[];
518
+ };
519
+ endChargeLevel: {
520
+ type: string;
521
+ description: string;
522
+ "x-classification": string;
523
+ "x-unit": string;
524
+ minimum: number;
525
+ maximum: number;
526
+ examples: number[];
527
+ };
528
+ fsdMiles: {
529
+ type: string;
530
+ description: string;
531
+ "x-classification": string;
532
+ "x-unit": string;
533
+ minimum: number;
534
+ examples: number[];
535
+ };
536
+ fsdPercentage: {
537
+ type: string;
538
+ description: string;
539
+ "x-classification": string;
540
+ "x-unit": string;
541
+ minimum: number;
542
+ maximum: number;
543
+ examples: number[];
544
+ };
545
+ createdAt: {
546
+ type: string;
547
+ format: string;
548
+ description: string;
549
+ "x-classification": string;
550
+ examples: string[];
551
+ };
552
+ };
553
+ };
554
+ };
555
+ };
556
+ readonly driveDetail: {
557
+ $schema: string;
558
+ $id: string;
559
+ title: string;
560
+ description: string;
561
+ type: string;
562
+ additionalProperties: boolean;
563
+ required: string[];
564
+ properties: {
565
+ id: {
566
+ type: string;
567
+ description: string;
568
+ "x-classification": string;
569
+ examples: string[];
570
+ };
571
+ vehicleId: {
572
+ type: string;
573
+ description: string;
574
+ "x-classification": string;
575
+ examples: string[];
576
+ };
577
+ startTime: {
578
+ type: string;
579
+ format: string;
580
+ description: string;
581
+ "x-classification": string;
582
+ examples: string[];
583
+ };
584
+ endTime: {
585
+ type: string;
586
+ format: string;
587
+ description: string;
588
+ "x-classification": string;
589
+ examples: string[];
590
+ };
591
+ date: {
592
+ type: string;
593
+ format: string;
594
+ description: string;
595
+ "x-classification": string;
596
+ examples: string[];
597
+ };
598
+ distanceMiles: {
599
+ type: string;
600
+ description: string;
601
+ "x-classification": string;
602
+ "x-unit": string;
603
+ minimum: number;
604
+ examples: number[];
605
+ };
606
+ durationSeconds: {
607
+ type: string;
608
+ description: string;
609
+ "x-classification": string;
610
+ "x-unit": string;
611
+ minimum: number;
612
+ examples: number[];
613
+ };
614
+ avgSpeedMph: {
615
+ type: string;
616
+ description: string;
617
+ "x-classification": string;
618
+ "x-unit": string;
619
+ minimum: number;
620
+ examples: number[];
621
+ };
622
+ maxSpeedMph: {
623
+ type: string;
624
+ description: string;
625
+ "x-classification": string;
626
+ "x-unit": string;
627
+ minimum: number;
628
+ examples: number[];
629
+ };
630
+ energyUsedKwh: {
631
+ type: string;
632
+ description: string;
633
+ "x-classification": string;
634
+ "x-unit": string;
635
+ minimum: number;
636
+ examples: number[];
637
+ };
638
+ startChargeLevel: {
639
+ type: string;
640
+ description: string;
641
+ "x-classification": string;
642
+ "x-unit": string;
643
+ minimum: number;
644
+ maximum: number;
645
+ examples: number[];
646
+ };
647
+ endChargeLevel: {
648
+ type: string;
649
+ description: string;
650
+ "x-classification": string;
651
+ "x-unit": string;
652
+ minimum: number;
653
+ maximum: number;
654
+ examples: number[];
655
+ };
656
+ fsdMiles: {
657
+ type: string;
658
+ description: string;
659
+ "x-classification": string;
660
+ "x-unit": string;
661
+ minimum: number;
662
+ examples: number[];
663
+ };
664
+ fsdPercentage: {
665
+ type: string;
666
+ description: string;
667
+ "x-classification": string;
668
+ "x-unit": string;
669
+ minimum: number;
670
+ maximum: number;
671
+ examples: number[];
672
+ };
673
+ interventions: {
674
+ type: string;
675
+ description: string;
676
+ "x-classification": string;
677
+ minimum: number;
678
+ examples: number[];
679
+ };
680
+ startLocation: {
681
+ type: string;
682
+ description: string;
683
+ "x-classification": string;
684
+ examples: string[];
685
+ };
686
+ startAddress: {
687
+ type: string;
688
+ description: string;
689
+ "x-classification": string;
690
+ examples: string[];
691
+ };
692
+ endLocation: {
693
+ type: string;
694
+ description: string;
695
+ "x-classification": string;
696
+ examples: string[];
697
+ };
698
+ endAddress: {
699
+ type: string;
700
+ description: string;
701
+ "x-classification": string;
702
+ examples: string[];
703
+ };
704
+ createdAt: {
705
+ type: string;
706
+ format: string;
707
+ description: string;
708
+ "x-classification": string;
709
+ examples: string[];
710
+ };
711
+ };
712
+ };
385
713
  readonly wsMessages: {
386
714
  $schema: string;
387
715
  $id: string;