@chargetrip/types 1.24.0 → 1.25.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.
@@ -621,7 +621,7 @@
621
621
  },
622
622
  {
623
623
  "name": "fastChargingSupport",
624
- "description": "Cars that support fast charging have a minimum charging speed of 43 Kwh. Cars without support for fast charging used in a newRoute mutation will return an error",
624
+ "description": "Cars that support fast charging have a minimum charging speed of 43 kWh",
625
625
  "args": [],
626
626
  "type": {
627
627
  "kind": "SCALAR",
@@ -1701,7 +1701,7 @@
1701
1701
  },
1702
1702
  {
1703
1703
  "name": "fastChargingSupport",
1704
- "description": "Cars that support fast charging have a minimum charging speed of 43 Kwh. Cars without support for fast charging used in a newRoute mutation will return an error",
1704
+ "description": "Cars that support fast charging have a minimum charging speed of 43 kWh",
1705
1705
  "args": [],
1706
1706
  "type": {
1707
1707
  "kind": "SCALAR",
@@ -2372,7 +2372,7 @@
2372
2372
  "fields": [
2373
2373
  {
2374
2374
  "name": "fast_charging_support",
2375
- "description": "EVs that support fast charging have a minimum charging speed of 43 Kwh.\nEVs without support for fast charging used in a newRoute mutation will return an error.",
2375
+ "description": "Cars that support fast charging have a minimum charging speed of 43 kWh",
2376
2376
  "args": [],
2377
2377
  "type": {
2378
2378
  "kind": "SCALAR",
@@ -5275,7 +5275,7 @@
5275
5275
  "fields": [
5276
5276
  {
5277
5277
  "name": "fast_charging_support",
5278
- "description": "EVs that support fast charging have a minimum charging speed of 43 Kwh.\nEVs without support for fast charging used in a newRoute mutation will return an error.",
5278
+ "description": "Cars that support fast charging have a minimum charging speed of 43 kWh",
5279
5279
  "args": [],
5280
5280
  "type": {
5281
5281
  "kind": "SCALAR",
@@ -5705,7 +5705,7 @@
5705
5705
  "fields": [
5706
5706
  {
5707
5707
  "name": "fast_charging_support",
5708
- "description": "EVs that support fast charging have a minimum charging speed of 43 Kwh.\nEVs without support for fast charging used in a newRoute mutation will return an error.",
5708
+ "description": "Cars that support fast charging have a minimum charging speed of 43 kWh",
5709
5709
  "args": [],
5710
5710
  "type": {
5711
5711
  "kind": "SCALAR",
@@ -8310,6 +8310,29 @@
8310
8310
  ],
8311
8311
  "possibleTypes": null
8312
8312
  },
8313
+ {
8314
+ "kind": "ENUM",
8315
+ "name": "InstructionsFormat",
8316
+ "description": "Navigation service providers available",
8317
+ "fields": null,
8318
+ "inputFields": null,
8319
+ "interfaces": null,
8320
+ "enumValues": [
8321
+ {
8322
+ "name": "Chargetrip",
8323
+ "description": "Chargetrip raw instructions",
8324
+ "isDeprecated": false,
8325
+ "deprecationReason": null
8326
+ },
8327
+ {
8328
+ "name": "MapboxV5",
8329
+ "description": "Mapbox instructions mapping",
8330
+ "isDeprecated": false,
8331
+ "deprecationReason": null
8332
+ }
8333
+ ],
8334
+ "possibleTypes": null
8335
+ },
8313
8336
  {
8314
8337
  "kind": "SCALAR",
8315
8338
  "name": "JSON",
@@ -8353,147 +8376,976 @@
8353
8376
  "deprecationReason": null
8354
8377
  },
8355
8378
  {
8356
- "name": "stationFinal",
8357
- "description": "This leg ends at the destination which is a charging station, and is the last leg of the route",
8379
+ "name": "stationFinal",
8380
+ "description": "This leg ends at the destination which is a charging station, and is the last leg of the route",
8381
+ "isDeprecated": false,
8382
+ "deprecationReason": null
8383
+ }
8384
+ ],
8385
+ "possibleTypes": null
8386
+ },
8387
+ {
8388
+ "kind": "ENUM",
8389
+ "name": "MappingLanguage",
8390
+ "description": "Preferred language for the mapping",
8391
+ "fields": null,
8392
+ "inputFields": null,
8393
+ "interfaces": null,
8394
+ "enumValues": [
8395
+ {
8396
+ "name": "en",
8397
+ "description": "English(US)",
8398
+ "isDeprecated": false,
8399
+ "deprecationReason": null
8400
+ }
8401
+ ],
8402
+ "possibleTypes": null
8403
+ },
8404
+ {
8405
+ "kind": "ENUM",
8406
+ "name": "MappingProvider",
8407
+ "description": "Navigation service providers available",
8408
+ "fields": null,
8409
+ "inputFields": null,
8410
+ "interfaces": null,
8411
+ "enumValues": [
8412
+ {
8413
+ "name": "Chargetrip",
8414
+ "description": "Chargetrip raw instructions",
8415
+ "isDeprecated": false,
8416
+ "deprecationReason": null
8417
+ },
8418
+ {
8419
+ "name": "MapboxV5",
8420
+ "description": "Mapbox instructions mapping",
8421
+ "isDeprecated": false,
8422
+ "deprecationReason": null
8423
+ }
8424
+ ],
8425
+ "possibleTypes": null
8426
+ },
8427
+ {
8428
+ "kind": "OBJECT",
8429
+ "name": "Mutation",
8430
+ "description": null,
8431
+ "fields": [
8432
+ {
8433
+ "name": "startNavigation",
8434
+ "description": "[BETA] Start a new navigation session on top of an existing route",
8435
+ "args": [
8436
+ {
8437
+ "name": "input",
8438
+ "description": "Navigation start input",
8439
+ "type": {
8440
+ "kind": "NON_NULL",
8441
+ "name": null,
8442
+ "ofType": {
8443
+ "kind": "INPUT_OBJECT",
8444
+ "name": "NavigationStartInput",
8445
+ "ofType": null
8446
+ }
8447
+ },
8448
+ "defaultValue": null,
8449
+ "isDeprecated": false,
8450
+ "deprecationReason": null
8451
+ }
8452
+ ],
8453
+ "type": {
8454
+ "kind": "SCALAR",
8455
+ "name": "ID",
8456
+ "ofType": null
8457
+ },
8458
+ "isDeprecated": false,
8459
+ "deprecationReason": null
8460
+ },
8461
+ {
8462
+ "name": "updateNavigation",
8463
+ "description": "[BETA] Update the navigation session",
8464
+ "args": [
8465
+ {
8466
+ "name": "input",
8467
+ "description": "Navigation update input",
8468
+ "type": {
8469
+ "kind": "NON_NULL",
8470
+ "name": null,
8471
+ "ofType": {
8472
+ "kind": "INPUT_OBJECT",
8473
+ "name": "NavigationUpdateInput",
8474
+ "ofType": null
8475
+ }
8476
+ },
8477
+ "defaultValue": null,
8478
+ "isDeprecated": false,
8479
+ "deprecationReason": null
8480
+ }
8481
+ ],
8482
+ "type": {
8483
+ "kind": "SCALAR",
8484
+ "name": "Void",
8485
+ "ofType": null
8486
+ },
8487
+ "isDeprecated": false,
8488
+ "deprecationReason": null
8489
+ },
8490
+ {
8491
+ "name": "recalculateNavigation",
8492
+ "description": "[BETA] Recalculate the current navigation route",
8493
+ "args": [
8494
+ {
8495
+ "name": "input",
8496
+ "description": "Navigation recalculate input",
8497
+ "type": {
8498
+ "kind": "NON_NULL",
8499
+ "name": null,
8500
+ "ofType": {
8501
+ "kind": "INPUT_OBJECT",
8502
+ "name": "NavigationReacalculateInput",
8503
+ "ofType": null
8504
+ }
8505
+ },
8506
+ "defaultValue": null,
8507
+ "isDeprecated": false,
8508
+ "deprecationReason": null
8509
+ }
8510
+ ],
8511
+ "type": {
8512
+ "kind": "SCALAR",
8513
+ "name": "Void",
8514
+ "ofType": null
8515
+ },
8516
+ "isDeprecated": false,
8517
+ "deprecationReason": null
8518
+ },
8519
+ {
8520
+ "name": "finishNavigation",
8521
+ "description": "[BETA] End a navigation session",
8522
+ "args": [
8523
+ {
8524
+ "name": "input",
8525
+ "description": "Navigation finish input",
8526
+ "type": {
8527
+ "kind": "NON_NULL",
8528
+ "name": null,
8529
+ "ofType": {
8530
+ "kind": "INPUT_OBJECT",
8531
+ "name": "NavigationFinishInput",
8532
+ "ofType": null
8533
+ }
8534
+ },
8535
+ "defaultValue": null,
8536
+ "isDeprecated": false,
8537
+ "deprecationReason": null
8538
+ }
8539
+ ],
8540
+ "type": {
8541
+ "kind": "SCALAR",
8542
+ "name": "Void",
8543
+ "ofType": null
8544
+ },
8545
+ "isDeprecated": false,
8546
+ "deprecationReason": null
8547
+ },
8548
+ {
8549
+ "name": "addReview",
8550
+ "description": "Add a new review.\nIf the `x-token` header is send for a valid user, the review will belong to it, otherwise will be added for an anonymouse user",
8551
+ "args": [
8552
+ {
8553
+ "name": "review",
8554
+ "description": null,
8555
+ "type": {
8556
+ "kind": "NON_NULL",
8557
+ "name": null,
8558
+ "ofType": {
8559
+ "kind": "INPUT_OBJECT",
8560
+ "name": "ReviewAdd",
8561
+ "ofType": null
8562
+ }
8563
+ },
8564
+ "defaultValue": null,
8565
+ "isDeprecated": false,
8566
+ "deprecationReason": null
8567
+ }
8568
+ ],
8569
+ "type": {
8570
+ "kind": "NON_NULL",
8571
+ "name": null,
8572
+ "ofType": {
8573
+ "kind": "OBJECT",
8574
+ "name": "Review",
8575
+ "ofType": null
8576
+ }
8577
+ },
8578
+ "isDeprecated": false,
8579
+ "deprecationReason": null
8580
+ },
8581
+ {
8582
+ "name": "deleteUserReview",
8583
+ "description": "Remove a review added by an authenticated user.\nThe `x-token` header is mandatory in order to authorize the user who wants to remove a review.\nIn case it is not sent, an error will occur.\nIn case the review was not found or belongs to another user an error will occur.\nThis is a premium feature, contact Chargetrip for more information.",
8584
+ "args": [
8585
+ {
8586
+ "name": "id",
8587
+ "description": null,
8588
+ "type": {
8589
+ "kind": "NON_NULL",
8590
+ "name": null,
8591
+ "ofType": {
8592
+ "kind": "SCALAR",
8593
+ "name": "ID",
8594
+ "ofType": null
8595
+ }
8596
+ },
8597
+ "defaultValue": null,
8598
+ "isDeprecated": false,
8599
+ "deprecationReason": null
8600
+ }
8601
+ ],
8602
+ "type": {
8603
+ "kind": "NON_NULL",
8604
+ "name": null,
8605
+ "ofType": {
8606
+ "kind": "OBJECT",
8607
+ "name": "Review",
8608
+ "ofType": null
8609
+ }
8610
+ },
8611
+ "isDeprecated": false,
8612
+ "deprecationReason": null
8613
+ },
8614
+ {
8615
+ "name": "newRoute",
8616
+ "description": "Create a new route from the route input and its ID",
8617
+ "args": [
8618
+ {
8619
+ "name": "input",
8620
+ "description": null,
8621
+ "type": {
8622
+ "kind": "INPUT_OBJECT",
8623
+ "name": "RequestInput",
8624
+ "ofType": null
8625
+ },
8626
+ "defaultValue": null,
8627
+ "isDeprecated": false,
8628
+ "deprecationReason": null
8629
+ }
8630
+ ],
8631
+ "type": {
8632
+ "kind": "SCALAR",
8633
+ "name": "ID",
8634
+ "ofType": null
8635
+ },
8636
+ "isDeprecated": false,
8637
+ "deprecationReason": null
8638
+ }
8639
+ ],
8640
+ "inputFields": null,
8641
+ "interfaces": [],
8642
+ "enumValues": null,
8643
+ "possibleTypes": null
8644
+ },
8645
+ {
8646
+ "kind": "OBJECT",
8647
+ "name": "Navigation",
8648
+ "description": "The navigation session data",
8649
+ "fields": [
8650
+ {
8651
+ "name": "id",
8652
+ "description": "ID of the navigation session",
8653
+ "args": [],
8654
+ "type": {
8655
+ "kind": "NON_NULL",
8656
+ "name": null,
8657
+ "ofType": {
8658
+ "kind": "SCALAR",
8659
+ "name": "ID",
8660
+ "ofType": null
8661
+ }
8662
+ },
8663
+ "isDeprecated": false,
8664
+ "deprecationReason": null
8665
+ },
8666
+ {
8667
+ "name": "route_id",
8668
+ "description": "The current route used for navigation",
8669
+ "args": [],
8670
+ "type": {
8671
+ "kind": "SCALAR",
8672
+ "name": "String",
8673
+ "ofType": null
8674
+ },
8675
+ "isDeprecated": false,
8676
+ "deprecationReason": null
8677
+ },
8678
+ {
8679
+ "name": "route_alternative_id",
8680
+ "description": "The current route alternative used for navigation",
8681
+ "args": [],
8682
+ "type": {
8683
+ "kind": "SCALAR",
8684
+ "name": "String",
8685
+ "ofType": null
8686
+ },
8687
+ "isDeprecated": false,
8688
+ "deprecationReason": null
8689
+ },
8690
+ {
8691
+ "name": "state",
8692
+ "description": "The state of a navigation session. The status can be driving, charging, finished, or error",
8693
+ "args": [],
8694
+ "type": {
8695
+ "kind": "ENUM",
8696
+ "name": "NavigationState",
8697
+ "ofType": null
8698
+ },
8699
+ "isDeprecated": false,
8700
+ "deprecationReason": null
8701
+ },
8702
+ {
8703
+ "name": "state_of_charge",
8704
+ "description": "State of charge at the last known location",
8705
+ "args": [],
8706
+ "type": {
8707
+ "kind": "SCALAR",
8708
+ "name": "Float",
8709
+ "ofType": null
8710
+ },
8711
+ "isDeprecated": false,
8712
+ "deprecationReason": null
8713
+ },
8714
+ {
8715
+ "name": "last_known_location",
8716
+ "description": "Last known location",
8717
+ "args": [],
8718
+ "type": {
8719
+ "kind": "OBJECT",
8720
+ "name": "Point",
8721
+ "ofType": null
8722
+ },
8723
+ "isDeprecated": false,
8724
+ "deprecationReason": null
8725
+ },
8726
+ {
8727
+ "name": "next_station",
8728
+ "description": "Next charging station",
8729
+ "args": [],
8730
+ "type": {
8731
+ "kind": "OBJECT",
8732
+ "name": "NavigationStation",
8733
+ "ofType": null
8734
+ },
8735
+ "isDeprecated": false,
8736
+ "deprecationReason": null
8737
+ },
8738
+ {
8739
+ "name": "alternative_stations",
8740
+ "description": "A set of alternative charging stations to next station",
8741
+ "args": [],
8742
+ "type": {
8743
+ "kind": "LIST",
8744
+ "name": null,
8745
+ "ofType": {
8746
+ "kind": "OBJECT",
8747
+ "name": "NavigationStation",
8748
+ "ofType": null
8749
+ }
8750
+ },
8751
+ "isDeprecated": false,
8752
+ "deprecationReason": null
8753
+ },
8754
+ {
8755
+ "name": "instructions",
8756
+ "description": "Navigation instructions",
8757
+ "args": [
8758
+ {
8759
+ "name": "instructions_format",
8760
+ "description": "Turn by turn instructions format for a route",
8761
+ "type": {
8762
+ "kind": "NON_NULL",
8763
+ "name": null,
8764
+ "ofType": {
8765
+ "kind": "ENUM",
8766
+ "name": "InstructionsFormat",
8767
+ "ofType": null
8768
+ }
8769
+ },
8770
+ "defaultValue": null,
8771
+ "isDeprecated": false,
8772
+ "deprecationReason": null
8773
+ },
8774
+ {
8775
+ "name": "language",
8776
+ "description": "Preferred navigation instructions language. Default: en",
8777
+ "type": {
8778
+ "kind": "ENUM",
8779
+ "name": "MappingLanguage",
8780
+ "ofType": null
8781
+ },
8782
+ "defaultValue": null,
8783
+ "isDeprecated": false,
8784
+ "deprecationReason": null
8785
+ },
8786
+ {
8787
+ "name": "precision",
8788
+ "description": "Number of decimals used for the Google Polyline encoding Algorithm. Allowed values are 5 or 6, the default is 5",
8789
+ "type": {
8790
+ "kind": "SCALAR",
8791
+ "name": "Int",
8792
+ "ofType": null
8793
+ },
8794
+ "defaultValue": null,
8795
+ "isDeprecated": false,
8796
+ "deprecationReason": null
8797
+ }
8798
+ ],
8799
+ "type": {
8800
+ "kind": "SCALAR",
8801
+ "name": "JSON",
8802
+ "ofType": null
8803
+ },
8804
+ "isDeprecated": false,
8805
+ "deprecationReason": null
8806
+ }
8807
+ ],
8808
+ "inputFields": null,
8809
+ "interfaces": [],
8810
+ "enumValues": null,
8811
+ "possibleTypes": null
8812
+ },
8813
+ {
8814
+ "kind": "INPUT_OBJECT",
8815
+ "name": "NavigationFinishInput",
8816
+ "description": "Input for the navigation recalculate",
8817
+ "fields": null,
8818
+ "inputFields": [
8819
+ {
8820
+ "name": "id",
8821
+ "description": "ID of the navigation session",
8822
+ "type": {
8823
+ "kind": "NON_NULL",
8824
+ "name": null,
8825
+ "ofType": {
8826
+ "kind": "SCALAR",
8827
+ "name": "ID",
8828
+ "ofType": null
8829
+ }
8830
+ },
8831
+ "defaultValue": null,
8832
+ "isDeprecated": false,
8833
+ "deprecationReason": null
8834
+ },
8835
+ {
8836
+ "name": "current_location",
8837
+ "description": "Current coordinates",
8838
+ "type": {
8839
+ "kind": "NON_NULL",
8840
+ "name": null,
8841
+ "ofType": {
8842
+ "kind": "INPUT_OBJECT",
8843
+ "name": "PointInput",
8844
+ "ofType": null
8845
+ }
8846
+ },
8847
+ "defaultValue": null,
8848
+ "isDeprecated": false,
8849
+ "deprecationReason": null
8850
+ }
8851
+ ],
8852
+ "interfaces": null,
8853
+ "enumValues": null,
8854
+ "possibleTypes": null
8855
+ },
8856
+ {
8857
+ "kind": "INPUT_OBJECT",
8858
+ "name": "NavigationReacalculateInput",
8859
+ "description": "Input for the navigation recalculate",
8860
+ "fields": null,
8861
+ "inputFields": [
8862
+ {
8863
+ "name": "id",
8864
+ "description": "ID of the navigation session",
8865
+ "type": {
8866
+ "kind": "NON_NULL",
8867
+ "name": null,
8868
+ "ofType": {
8869
+ "kind": "SCALAR",
8870
+ "name": "ID",
8871
+ "ofType": null
8872
+ }
8873
+ },
8874
+ "defaultValue": null,
8875
+ "isDeprecated": false,
8876
+ "deprecationReason": null
8877
+ },
8878
+ {
8879
+ "name": "state_of_charge",
8880
+ "description": "State of charge at origin",
8881
+ "type": {
8882
+ "kind": "SCALAR",
8883
+ "name": "Float",
8884
+ "ofType": null
8885
+ },
8886
+ "defaultValue": null,
8887
+ "isDeprecated": false,
8888
+ "deprecationReason": null
8889
+ },
8890
+ {
8891
+ "name": "current_location",
8892
+ "description": "Origin location of a new route",
8893
+ "type": {
8894
+ "kind": "NON_NULL",
8895
+ "name": null,
8896
+ "ofType": {
8897
+ "kind": "INPUT_OBJECT",
8898
+ "name": "PointInput",
8899
+ "ofType": null
8900
+ }
8901
+ },
8902
+ "defaultValue": null,
8903
+ "isDeprecated": false,
8904
+ "deprecationReason": null
8905
+ },
8906
+ {
8907
+ "name": "via",
8908
+ "description": "Via points of a new route. If this field is not sent, the original via points will be used",
8909
+ "type": {
8910
+ "kind": "LIST",
8911
+ "name": null,
8912
+ "ofType": {
8913
+ "kind": "INPUT_OBJECT",
8914
+ "name": "FeaturePointInput",
8915
+ "ofType": null
8916
+ }
8917
+ },
8918
+ "defaultValue": null,
8919
+ "isDeprecated": false,
8920
+ "deprecationReason": null
8921
+ },
8922
+ {
8923
+ "name": "heading",
8924
+ "description": "Heading of a vehicle, in degrees",
8925
+ "type": {
8926
+ "kind": "SCALAR",
8927
+ "name": "Float",
8928
+ "ofType": null
8929
+ },
8930
+ "defaultValue": null,
8931
+ "isDeprecated": false,
8932
+ "deprecationReason": null
8933
+ }
8934
+ ],
8935
+ "interfaces": null,
8936
+ "enumValues": null,
8937
+ "possibleTypes": null
8938
+ },
8939
+ {
8940
+ "kind": "INPUT_OBJECT",
8941
+ "name": "NavigationStartInput",
8942
+ "description": "Input for the navigation start",
8943
+ "fields": null,
8944
+ "inputFields": [
8945
+ {
8946
+ "name": "route_id",
8947
+ "description": "ID of the route of the navigation session",
8948
+ "type": {
8949
+ "kind": "NON_NULL",
8950
+ "name": null,
8951
+ "ofType": {
8952
+ "kind": "SCALAR",
8953
+ "name": "String",
8954
+ "ofType": null
8955
+ }
8956
+ },
8957
+ "defaultValue": null,
8958
+ "isDeprecated": false,
8959
+ "deprecationReason": null
8960
+ },
8961
+ {
8962
+ "name": "route_alternative_id",
8963
+ "description": "ID of the route alternative of the navigation session",
8964
+ "type": {
8965
+ "kind": "SCALAR",
8966
+ "name": "String",
8967
+ "ofType": null
8968
+ },
8969
+ "defaultValue": null,
8970
+ "isDeprecated": false,
8971
+ "deprecationReason": null
8972
+ },
8973
+ {
8974
+ "name": "current_location",
8975
+ "description": "Current coordinates",
8976
+ "type": {
8977
+ "kind": "NON_NULL",
8978
+ "name": null,
8979
+ "ofType": {
8980
+ "kind": "INPUT_OBJECT",
8981
+ "name": "PointInput",
8982
+ "ofType": null
8983
+ }
8984
+ },
8985
+ "defaultValue": null,
8986
+ "isDeprecated": false,
8987
+ "deprecationReason": null
8988
+ }
8989
+ ],
8990
+ "interfaces": null,
8991
+ "enumValues": null,
8992
+ "possibleTypes": null
8993
+ },
8994
+ {
8995
+ "kind": "ENUM",
8996
+ "name": "NavigationState",
8997
+ "description": "State of navigation session",
8998
+ "fields": null,
8999
+ "inputFields": null,
9000
+ "interfaces": null,
9001
+ "enumValues": [
9002
+ {
9003
+ "name": "Driving",
9004
+ "description": "Vehicle is driving",
9005
+ "isDeprecated": false,
9006
+ "deprecationReason": null
9007
+ },
9008
+ {
9009
+ "name": "Charging",
9010
+ "description": "Vehicle is charging",
9011
+ "isDeprecated": false,
9012
+ "deprecationReason": null
9013
+ },
9014
+ {
9015
+ "name": "Finished",
9016
+ "description": "Navigation session is completed (either manually or automatically 48 hours after the last update)",
9017
+ "isDeprecated": false,
9018
+ "deprecationReason": null
9019
+ },
9020
+ {
9021
+ "name": "Error",
9022
+ "description": "Failed to update navigation session due to route error or not found",
9023
+ "isDeprecated": false,
9024
+ "deprecationReason": null
9025
+ }
9026
+ ],
9027
+ "possibleTypes": null
9028
+ },
9029
+ {
9030
+ "kind": "OBJECT",
9031
+ "name": "NavigationStation",
9032
+ "description": "Navigation session station type",
9033
+ "fields": [
9034
+ {
9035
+ "name": "station_id",
9036
+ "description": "The ID as string of the charging station",
9037
+ "args": [],
9038
+ "type": {
9039
+ "kind": "SCALAR",
9040
+ "name": "String",
9041
+ "ofType": null
9042
+ },
9043
+ "isDeprecated": false,
9044
+ "deprecationReason": null
9045
+ },
9046
+ {
9047
+ "name": "station_location",
9048
+ "description": "GPS location of the charging station",
9049
+ "args": [],
9050
+ "type": {
9051
+ "kind": "OBJECT",
9052
+ "name": "Point",
9053
+ "ofType": null
9054
+ },
9055
+ "isDeprecated": false,
9056
+ "deprecationReason": null
9057
+ },
9058
+ {
9059
+ "name": "via",
9060
+ "description": "An array with all GPS locations of via points until the next charging station",
9061
+ "args": [],
9062
+ "type": {
9063
+ "kind": "LIST",
9064
+ "name": null,
9065
+ "ofType": {
9066
+ "kind": "OBJECT",
9067
+ "name": "Point",
9068
+ "ofType": null
9069
+ }
9070
+ },
9071
+ "isDeprecated": false,
9072
+ "deprecationReason": null
9073
+ },
9074
+ {
9075
+ "name": "estimated_state_of_charge",
9076
+ "description": "Estimated state of charge, in kWh, at arrival on the next charging station",
9077
+ "args": [],
9078
+ "type": {
9079
+ "kind": "SCALAR",
9080
+ "name": "Float",
9081
+ "ofType": null
9082
+ },
9083
+ "isDeprecated": false,
9084
+ "deprecationReason": null
9085
+ },
9086
+ {
9087
+ "name": "estimated_consumption",
9088
+ "description": "Estimated consumption, in kWh, from last the known location until the next charging station",
9089
+ "args": [],
9090
+ "type": {
9091
+ "kind": "SCALAR",
9092
+ "name": "Float",
9093
+ "ofType": null
9094
+ },
9095
+ "isDeprecated": false,
9096
+ "deprecationReason": null
9097
+ },
9098
+ {
9099
+ "name": "estimated_duration",
9100
+ "description": "Estimated duration, in seconds, from the last known location until the next charging station",
9101
+ "args": [],
9102
+ "type": {
9103
+ "kind": "SCALAR",
9104
+ "name": "Int",
9105
+ "ofType": null
9106
+ },
9107
+ "isDeprecated": false,
9108
+ "deprecationReason": null
9109
+ }
9110
+ ],
9111
+ "inputFields": null,
9112
+ "interfaces": [],
9113
+ "enumValues": null,
9114
+ "possibleTypes": null
9115
+ },
9116
+ {
9117
+ "kind": "INPUT_OBJECT",
9118
+ "name": "NavigationTelemetryUpdateInput",
9119
+ "description": "Input for the navigation session update telemetry data",
9120
+ "fields": null,
9121
+ "inputFields": [
9122
+ {
9123
+ "name": "state_of_charge",
9124
+ "description": "State of charge at the last known location",
9125
+ "type": {
9126
+ "kind": "SCALAR",
9127
+ "name": "Float",
9128
+ "ofType": null
9129
+ },
9130
+ "defaultValue": null,
9131
+ "isDeprecated": false,
9132
+ "deprecationReason": null
9133
+ },
9134
+ {
9135
+ "name": "is_charging",
9136
+ "description": "Indicates if a vehicle is charging",
9137
+ "type": {
9138
+ "kind": "SCALAR",
9139
+ "name": "Boolean",
9140
+ "ofType": null
9141
+ },
9142
+ "defaultValue": null,
9143
+ "isDeprecated": false,
9144
+ "deprecationReason": null
9145
+ },
9146
+ {
9147
+ "name": "tire_pressure",
9148
+ "description": "Tire pressure. This information should come from telemetry",
9149
+ "type": {
9150
+ "kind": "SCALAR",
9151
+ "name": "Float",
9152
+ "ofType": null
9153
+ },
9154
+ "defaultValue": null,
9155
+ "isDeprecated": false,
9156
+ "deprecationReason": null
9157
+ }
9158
+ ],
9159
+ "interfaces": null,
9160
+ "enumValues": null,
9161
+ "possibleTypes": null
9162
+ },
9163
+ {
9164
+ "kind": "INPUT_OBJECT",
9165
+ "name": "NavigationUpdateInput",
9166
+ "description": "Input for the navigation update",
9167
+ "fields": null,
9168
+ "inputFields": [
9169
+ {
9170
+ "name": "id",
9171
+ "description": "ID of the navigation session",
9172
+ "type": {
9173
+ "kind": "NON_NULL",
9174
+ "name": null,
9175
+ "ofType": {
9176
+ "kind": "SCALAR",
9177
+ "name": "ID",
9178
+ "ofType": null
9179
+ }
9180
+ },
9181
+ "defaultValue": null,
9182
+ "isDeprecated": false,
9183
+ "deprecationReason": null
9184
+ },
9185
+ {
9186
+ "name": "heading",
9187
+ "description": "Heading of a vehicle, in degrees",
9188
+ "type": {
9189
+ "kind": "SCALAR",
9190
+ "name": "Float",
9191
+ "ofType": null
9192
+ },
9193
+ "defaultValue": null,
9194
+ "isDeprecated": false,
9195
+ "deprecationReason": null
9196
+ },
9197
+ {
9198
+ "name": "locations_data",
9199
+ "description": "A list of locations that were collected since the last update",
9200
+ "type": {
9201
+ "kind": "NON_NULL",
9202
+ "name": null,
9203
+ "ofType": {
9204
+ "kind": "LIST",
9205
+ "name": null,
9206
+ "ofType": {
9207
+ "kind": "NON_NULL",
9208
+ "name": null,
9209
+ "ofType": {
9210
+ "kind": "INPUT_OBJECT",
9211
+ "name": "NavigationUpdateLocationsInput",
9212
+ "ofType": null
9213
+ }
9214
+ }
9215
+ }
9216
+ },
9217
+ "defaultValue": null,
9218
+ "isDeprecated": false,
9219
+ "deprecationReason": null
9220
+ },
9221
+ {
9222
+ "name": "telemetry",
9223
+ "description": "Telemetry data input",
9224
+ "type": {
9225
+ "kind": "INPUT_OBJECT",
9226
+ "name": "NavigationTelemetryUpdateInput",
9227
+ "ofType": null
9228
+ },
9229
+ "defaultValue": null,
8358
9230
  "isDeprecated": false,
8359
9231
  "deprecationReason": null
8360
9232
  }
8361
9233
  ],
8362
- "possibleTypes": null
8363
- },
8364
- {
8365
- "kind": "ENUM",
8366
- "name": "MappingLanguage",
8367
- "description": "Preferred language for the mapping",
8368
- "fields": null,
8369
- "inputFields": null,
8370
9234
  "interfaces": null,
8371
- "enumValues": [
8372
- {
8373
- "name": "en",
8374
- "description": null,
8375
- "isDeprecated": false,
8376
- "deprecationReason": null
8377
- }
8378
- ],
9235
+ "enumValues": null,
8379
9236
  "possibleTypes": null
8380
9237
  },
8381
9238
  {
8382
- "kind": "ENUM",
8383
- "name": "MappingProvider",
8384
- "description": "Navigation service providers available",
9239
+ "kind": "INPUT_OBJECT",
9240
+ "name": "NavigationUpdateLocationPropertiesInput",
9241
+ "description": "Properties of the location",
8385
9242
  "fields": null,
8386
- "inputFields": null,
8387
- "interfaces": null,
8388
- "enumValues": [
9243
+ "inputFields": [
8389
9244
  {
8390
- "name": "MapboxV5",
8391
- "description": "Mapbox Navigation",
9245
+ "name": "route_leg",
9246
+ "description": "Current route leg index corresponding to a location",
9247
+ "type": {
9248
+ "kind": "NON_NULL",
9249
+ "name": null,
9250
+ "ofType": {
9251
+ "kind": "SCALAR",
9252
+ "name": "Int",
9253
+ "ofType": null
9254
+ }
9255
+ },
9256
+ "defaultValue": null,
8392
9257
  "isDeprecated": false,
8393
9258
  "deprecationReason": null
8394
- }
8395
- ],
8396
- "possibleTypes": null
8397
- },
8398
- {
8399
- "kind": "OBJECT",
8400
- "name": "Mutation",
8401
- "description": null,
8402
- "fields": [
9259
+ },
8403
9260
  {
8404
- "name": "addReview",
8405
- "description": "Add a new review.\nIf the `x-token` header is send for a valid user, the review will belong to it, otherwise will be added for an anonymouse user",
8406
- "args": [
8407
- {
8408
- "name": "review",
8409
- "description": null,
8410
- "type": {
8411
- "kind": "NON_NULL",
8412
- "name": null,
8413
- "ofType": {
8414
- "kind": "INPUT_OBJECT",
8415
- "name": "ReviewAdd",
8416
- "ofType": null
8417
- }
8418
- },
8419
- "defaultValue": null,
8420
- "isDeprecated": false,
8421
- "deprecationReason": null
8422
- }
8423
- ],
9261
+ "name": "speed",
9262
+ "description": "Speed at a location",
8424
9263
  "type": {
8425
9264
  "kind": "NON_NULL",
8426
9265
  "name": null,
8427
9266
  "ofType": {
8428
- "kind": "OBJECT",
8429
- "name": "Review",
9267
+ "kind": "SCALAR",
9268
+ "name": "Float",
8430
9269
  "ofType": null
8431
9270
  }
8432
9271
  },
9272
+ "defaultValue": null,
8433
9273
  "isDeprecated": false,
8434
9274
  "deprecationReason": null
8435
9275
  },
8436
9276
  {
8437
- "name": "deleteUserReview",
8438
- "description": "Remove a review added by an authenticated user.\nThe `x-token` header is mandatory in order to authorize the user who wants to remove a review.\nIn case it is not sent, an error will occur.\nIn case the review was not found or belongs to another user an error will occur.\nThis is a premium feature, contact Chargetrip for more information.",
8439
- "args": [
8440
- {
8441
- "name": "id",
8442
- "description": null,
8443
- "type": {
8444
- "kind": "NON_NULL",
8445
- "name": null,
8446
- "ofType": {
8447
- "kind": "SCALAR",
8448
- "name": "ID",
8449
- "ofType": null
8450
- }
8451
- },
8452
- "defaultValue": null,
8453
- "isDeprecated": false,
8454
- "deprecationReason": null
8455
- }
8456
- ],
9277
+ "name": "timestamp",
9278
+ "description": "UNIX timestamp at location",
8457
9279
  "type": {
8458
9280
  "kind": "NON_NULL",
8459
9281
  "name": null,
8460
9282
  "ofType": {
8461
- "kind": "OBJECT",
8462
- "name": "Review",
9283
+ "kind": "SCALAR",
9284
+ "name": "Int",
8463
9285
  "ofType": null
8464
9286
  }
8465
9287
  },
9288
+ "defaultValue": null,
8466
9289
  "isDeprecated": false,
8467
9290
  "deprecationReason": null
8468
9291
  },
8469
9292
  {
8470
- "name": "newRoute",
8471
- "description": "Create a new route from the route input and its ID",
8472
- "args": [
8473
- {
8474
- "name": "input",
8475
- "description": null,
8476
- "type": {
8477
- "kind": "INPUT_OBJECT",
8478
- "name": "RequestInput",
8479
- "ofType": null
8480
- },
8481
- "defaultValue": null,
8482
- "isDeprecated": false,
8483
- "deprecationReason": null
8484
- }
8485
- ],
9293
+ "name": "altitude",
9294
+ "description": "Altitude information. This is optional",
8486
9295
  "type": {
8487
9296
  "kind": "SCALAR",
8488
- "name": "ID",
9297
+ "name": "Int",
8489
9298
  "ofType": null
8490
9299
  },
9300
+ "defaultValue": null,
8491
9301
  "isDeprecated": false,
8492
9302
  "deprecationReason": null
8493
9303
  }
8494
9304
  ],
8495
- "inputFields": null,
8496
- "interfaces": [],
9305
+ "interfaces": null,
9306
+ "enumValues": null,
9307
+ "possibleTypes": null
9308
+ },
9309
+ {
9310
+ "kind": "INPUT_OBJECT",
9311
+ "name": "NavigationUpdateLocationsInput",
9312
+ "description": "Input for the navigation update locations",
9313
+ "fields": null,
9314
+ "inputFields": [
9315
+ {
9316
+ "name": "geometry",
9317
+ "description": "GPS location",
9318
+ "type": {
9319
+ "kind": "NON_NULL",
9320
+ "name": null,
9321
+ "ofType": {
9322
+ "kind": "INPUT_OBJECT",
9323
+ "name": "PointInput",
9324
+ "ofType": null
9325
+ }
9326
+ },
9327
+ "defaultValue": null,
9328
+ "isDeprecated": false,
9329
+ "deprecationReason": null
9330
+ },
9331
+ {
9332
+ "name": "properties",
9333
+ "description": "Extra information about the location",
9334
+ "type": {
9335
+ "kind": "NON_NULL",
9336
+ "name": null,
9337
+ "ofType": {
9338
+ "kind": "INPUT_OBJECT",
9339
+ "name": "NavigationUpdateLocationPropertiesInput",
9340
+ "ofType": null
9341
+ }
9342
+ },
9343
+ "defaultValue": null,
9344
+ "isDeprecated": false,
9345
+ "deprecationReason": null
9346
+ }
9347
+ ],
9348
+ "interfaces": null,
8497
9349
  "enumValues": null,
8498
9350
  "possibleTypes": null
8499
9351
  },
@@ -11557,6 +12409,35 @@
11557
12409
  "isDeprecated": false,
11558
12410
  "deprecationReason": null
11559
12411
  },
12412
+ {
12413
+ "name": "navigation",
12414
+ "description": "[BETA] Get a navigation session by ID",
12415
+ "args": [
12416
+ {
12417
+ "name": "id",
12418
+ "description": "ID of the navigation session to retrieve",
12419
+ "type": {
12420
+ "kind": "NON_NULL",
12421
+ "name": null,
12422
+ "ofType": {
12423
+ "kind": "SCALAR",
12424
+ "name": "ID",
12425
+ "ofType": null
12426
+ }
12427
+ },
12428
+ "defaultValue": null,
12429
+ "isDeprecated": false,
12430
+ "deprecationReason": null
12431
+ }
12432
+ ],
12433
+ "type": {
12434
+ "kind": "OBJECT",
12435
+ "name": "Navigation",
12436
+ "ofType": null
12437
+ },
12438
+ "isDeprecated": false,
12439
+ "deprecationReason": null
12440
+ },
11560
12441
  {
11561
12442
  "name": "operatorList",
11562
12443
  "description": "Get a full list of operators",
@@ -12078,11 +12959,11 @@
12078
12959
  },
12079
12960
  {
12080
12961
  "name": "navigationMapping",
12081
- "description": "Convert a route to navigation instructions for a specified mapping provider",
12962
+ "description": "Deprecated: This query will be removed in favor of navigation query and subscription. Mapping can be retrieved via the instructions field.",
12082
12963
  "args": [
12083
12964
  {
12084
12965
  "name": "id",
12085
- "description": "ID of a route",
12966
+ "description": "ID of a route that needs to be mapped to navigation service provider specific format",
12086
12967
  "type": {
12087
12968
  "kind": "NON_NULL",
12088
12969
  "name": null,
@@ -12114,7 +12995,7 @@
12114
12995
  },
12115
12996
  {
12116
12997
  "name": "precision",
12117
- "description": "Number of decimals used for the Google Polyline encoding Algorithm. Allowed values are 5 or 6, the default is 5",
12998
+ "description": "Number of decimals used for Google Polyline encoding Algorithm. Allowed values are 5 or 6, default is 5",
12118
12999
  "type": {
12119
13000
  "kind": "SCALAR",
12120
13001
  "name": "Int",
@@ -12126,7 +13007,7 @@
12126
13007
  },
12127
13008
  {
12128
13009
  "name": "language",
12129
- "description": "Preferred language, the default is English",
13010
+ "description": "Preferred language (defaults to 'en')",
12130
13011
  "type": {
12131
13012
  "kind": "ENUM",
12132
13013
  "name": "MappingLanguage",
@@ -13203,7 +14084,7 @@
13203
14084
  },
13204
14085
  {
13205
14086
  "name": "instructions",
13206
- "description": "Flag indicating wether the turn-by-turn navigation instructions should be prepared. Disclaimer: The functionality is under active development and the final API is a subject to change. Not ready for production",
14087
+ "description": "Deprecated: all routes will have turn-by-turn instructions prepared. Boolean will be ignored",
13207
14088
  "type": {
13208
14089
  "kind": "SCALAR",
13209
14090
  "name": "Boolean",
@@ -13823,6 +14704,18 @@
13823
14704
  "isDeprecated": false,
13824
14705
  "deprecationReason": null
13825
14706
  },
14707
+ {
14708
+ "name": "app",
14709
+ "description": "Application who requested a route",
14710
+ "args": [],
14711
+ "type": {
14712
+ "kind": "OBJECT",
14713
+ "name": "RouteApp",
14714
+ "ofType": null
14715
+ },
14716
+ "isDeprecated": false,
14717
+ "deprecationReason": null
14718
+ },
13826
14719
  {
13827
14720
  "name": "status",
13828
14721
  "description": "Route status",
@@ -14349,6 +15242,29 @@
14349
15242
  ],
14350
15243
  "possibleTypes": null
14351
15244
  },
15245
+ {
15246
+ "kind": "OBJECT",
15247
+ "name": "RouteApp",
15248
+ "description": null,
15249
+ "fields": [
15250
+ {
15251
+ "name": "id",
15252
+ "description": "ID of the app who requested a route",
15253
+ "args": [],
15254
+ "type": {
15255
+ "kind": "SCALAR",
15256
+ "name": "ID",
15257
+ "ofType": null
15258
+ },
15259
+ "isDeprecated": false,
15260
+ "deprecationReason": null
15261
+ }
15262
+ ],
15263
+ "inputFields": null,
15264
+ "interfaces": [],
15265
+ "enumValues": null,
15266
+ "possibleTypes": null
15267
+ },
14352
15268
  {
14353
15269
  "kind": "OBJECT",
14354
15270
  "name": "RouteInstruction",
@@ -16780,6 +17696,35 @@
16780
17696
  "name": "Subscription",
16781
17697
  "description": null,
16782
17698
  "fields": [
17699
+ {
17700
+ "name": "navigationUpdatedById",
17701
+ "description": "[BETA] Subscribe to navigation session system event updates. We strongly recommend using this at all times to not miss any updates",
17702
+ "args": [
17703
+ {
17704
+ "name": "id",
17705
+ "description": null,
17706
+ "type": {
17707
+ "kind": "NON_NULL",
17708
+ "name": null,
17709
+ "ofType": {
17710
+ "kind": "SCALAR",
17711
+ "name": "ID",
17712
+ "ofType": null
17713
+ }
17714
+ },
17715
+ "defaultValue": null,
17716
+ "isDeprecated": false,
17717
+ "deprecationReason": null
17718
+ }
17719
+ ],
17720
+ "type": {
17721
+ "kind": "OBJECT",
17722
+ "name": "Navigation",
17723
+ "ofType": null
17724
+ },
17725
+ "isDeprecated": false,
17726
+ "deprecationReason": null
17727
+ },
16783
17728
  {
16784
17729
  "name": "operatorAdded",
16785
17730
  "description": "Subscription for a new operator was added in the system event",
@@ -17013,6 +17958,16 @@
17013
17958
  "enumValues": null,
17014
17959
  "possibleTypes": null
17015
17960
  },
17961
+ {
17962
+ "kind": "SCALAR",
17963
+ "name": "Void",
17964
+ "description": "Void custom scalar",
17965
+ "fields": null,
17966
+ "inputFields": null,
17967
+ "interfaces": null,
17968
+ "enumValues": null,
17969
+ "possibleTypes": null
17970
+ },
17016
17971
  {
17017
17972
  "kind": "OBJECT",
17018
17973
  "name": "__Schema",