@chargetrip/types 1.25.0 → 1.26.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.
@@ -143,6 +143,77 @@
143
143
  "enumValues": null,
144
144
  "possibleTypes": null
145
145
  },
146
+ {
147
+ "kind": "ENUM",
148
+ "name": "Amenities",
149
+ "description": "Amenities available near a station",
150
+ "fields": null,
151
+ "inputFields": null,
152
+ "interfaces": null,
153
+ "enumValues": [
154
+ {
155
+ "name": "park",
156
+ "description": null,
157
+ "isDeprecated": false,
158
+ "deprecationReason": null
159
+ },
160
+ {
161
+ "name": "restaurant",
162
+ "description": null,
163
+ "isDeprecated": false,
164
+ "deprecationReason": null
165
+ },
166
+ {
167
+ "name": "museum",
168
+ "description": null,
169
+ "isDeprecated": false,
170
+ "deprecationReason": null
171
+ },
172
+ {
173
+ "name": "coffee",
174
+ "description": null,
175
+ "isDeprecated": false,
176
+ "deprecationReason": null
177
+ },
178
+ {
179
+ "name": "hotel",
180
+ "description": null,
181
+ "isDeprecated": false,
182
+ "deprecationReason": null
183
+ },
184
+ {
185
+ "name": "shopping",
186
+ "description": null,
187
+ "isDeprecated": false,
188
+ "deprecationReason": null
189
+ },
190
+ {
191
+ "name": "bathroom",
192
+ "description": null,
193
+ "isDeprecated": false,
194
+ "deprecationReason": null
195
+ },
196
+ {
197
+ "name": "supermarket",
198
+ "description": null,
199
+ "isDeprecated": false,
200
+ "deprecationReason": null
201
+ },
202
+ {
203
+ "name": "playground",
204
+ "description": null,
205
+ "isDeprecated": false,
206
+ "deprecationReason": null
207
+ },
208
+ {
209
+ "name": "pharmacy",
210
+ "description": null,
211
+ "isDeprecated": false,
212
+ "deprecationReason": null
213
+ }
214
+ ],
215
+ "possibleTypes": null
216
+ },
146
217
  {
147
218
  "kind": "OBJECT",
148
219
  "name": "Amenity",
@@ -8499,7 +8570,7 @@
8499
8570
  "name": null,
8500
8571
  "ofType": {
8501
8572
  "kind": "INPUT_OBJECT",
8502
- "name": "NavigationReacalculateInput",
8573
+ "name": "NavigationRecalculateInput",
8503
8574
  "ofType": null
8504
8575
  }
8505
8576
  },
@@ -8855,7 +8926,7 @@
8855
8926
  },
8856
8927
  {
8857
8928
  "kind": "INPUT_OBJECT",
8858
- "name": "NavigationReacalculateInput",
8929
+ "name": "NavigationRecalculateInput",
8859
8930
  "description": "Input for the navigation recalculate",
8860
8931
  "fields": null,
8861
8932
  "inputFields": [
@@ -9000,25 +9071,25 @@
9000
9071
  "interfaces": null,
9001
9072
  "enumValues": [
9002
9073
  {
9003
- "name": "Driving",
9074
+ "name": "driving",
9004
9075
  "description": "Vehicle is driving",
9005
9076
  "isDeprecated": false,
9006
9077
  "deprecationReason": null
9007
9078
  },
9008
9079
  {
9009
- "name": "Charging",
9080
+ "name": "charging",
9010
9081
  "description": "Vehicle is charging",
9011
9082
  "isDeprecated": false,
9012
9083
  "deprecationReason": null
9013
9084
  },
9014
9085
  {
9015
- "name": "Finished",
9086
+ "name": "finished",
9016
9087
  "description": "Navigation session is completed (either manually or automatically 48 hours after the last update)",
9017
9088
  "isDeprecated": false,
9018
9089
  "deprecationReason": null
9019
9090
  },
9020
9091
  {
9021
- "name": "Error",
9092
+ "name": "error",
9022
9093
  "description": "Failed to update navigation session due to route error or not found",
9023
9094
  "isDeprecated": false,
9024
9095
  "deprecationReason": null
@@ -9259,7 +9330,7 @@
9259
9330
  },
9260
9331
  {
9261
9332
  "name": "speed",
9262
- "description": "Speed at a location",
9333
+ "description": "Speed at a location, in km/h",
9263
9334
  "type": {
9264
9335
  "kind": "NON_NULL",
9265
9336
  "name": null,
@@ -9275,7 +9346,7 @@
9275
9346
  },
9276
9347
  {
9277
9348
  "name": "timestamp",
9278
- "description": "UNIX timestamp at location",
9349
+ "description": "UNIX timestamp at location, in seconds",
9279
9350
  "type": {
9280
9351
  "kind": "NON_NULL",
9281
9352
  "name": null,
@@ -9291,7 +9362,7 @@
9291
9362
  },
9292
9363
  {
9293
9364
  "name": "altitude",
9294
- "description": "Altitude information. This is optional",
9365
+ "description": "Altitude information, in meters. This is optional",
9295
9366
  "type": {
9296
9367
  "kind": "SCALAR",
9297
9368
  "name": "Int",
@@ -12783,7 +12854,7 @@
12783
12854
  "args": [
12784
12855
  {
12785
12856
  "name": "query",
12786
- "description": "Query parameters",
12857
+ "description": "Deprecated: Replaced by filter & search params",
12787
12858
  "type": {
12788
12859
  "kind": "INPUT_OBJECT",
12789
12860
  "name": "StationListQuery",
@@ -12793,6 +12864,30 @@
12793
12864
  "isDeprecated": false,
12794
12865
  "deprecationReason": null
12795
12866
  },
12867
+ {
12868
+ "name": "filter",
12869
+ "description": "Filter station result",
12870
+ "type": {
12871
+ "kind": "INPUT_OBJECT",
12872
+ "name": "StationListFilter",
12873
+ "ofType": null
12874
+ },
12875
+ "defaultValue": null,
12876
+ "isDeprecated": false,
12877
+ "deprecationReason": null
12878
+ },
12879
+ {
12880
+ "name": "search",
12881
+ "description": "Search for stations by name, id and external id",
12882
+ "type": {
12883
+ "kind": "SCALAR",
12884
+ "name": "String",
12885
+ "ofType": null
12886
+ },
12887
+ "defaultValue": null,
12888
+ "isDeprecated": false,
12889
+ "deprecationReason": null
12890
+ },
12796
12891
  {
12797
12892
  "name": "size",
12798
12893
  "description": "Number of elements (count) to return, default: 10",
@@ -12836,15 +12931,35 @@
12836
12931
  "args": [
12837
12932
  {
12838
12933
  "name": "query",
12839
- "description": "Query parameters",
12934
+ "description": "Deprecated: Replaced by filter and search params",
12840
12935
  "type": {
12841
- "kind": "NON_NULL",
12842
- "name": null,
12843
- "ofType": {
12844
- "kind": "INPUT_OBJECT",
12845
- "name": "StationAroundQuery",
12846
- "ofType": null
12847
- }
12936
+ "kind": "INPUT_OBJECT",
12937
+ "name": "StationAroundQuery",
12938
+ "ofType": null
12939
+ },
12940
+ "defaultValue": null,
12941
+ "isDeprecated": false,
12942
+ "deprecationReason": null
12943
+ },
12944
+ {
12945
+ "name": "filter",
12946
+ "description": "Filter station around result",
12947
+ "type": {
12948
+ "kind": "INPUT_OBJECT",
12949
+ "name": "StationAroundFilter",
12950
+ "ofType": null
12951
+ },
12952
+ "defaultValue": null,
12953
+ "isDeprecated": false,
12954
+ "deprecationReason": null
12955
+ },
12956
+ {
12957
+ "name": "search",
12958
+ "description": "Search for stations around by name, id and external id",
12959
+ "type": {
12960
+ "kind": "SCALAR",
12961
+ "name": "String",
12962
+ "ofType": null
12848
12963
  },
12849
12964
  "defaultValue": null,
12850
12965
  "isDeprecated": false,
@@ -13166,7 +13281,7 @@
13166
13281
  "fields": [
13167
13282
  {
13168
13283
  "name": "capacity",
13169
- "description": "The usable capacity of the battery used to compute the route. If this in not filled in, value as the car batteryUsableKwh.",
13284
+ "description": "Usable capacity of the battery used to compute the route. If this in not filled in, value as the car batteryUsableKwh",
13170
13285
  "args": [],
13171
13286
  "type": {
13172
13287
  "kind": "OBJECT",
@@ -13178,7 +13293,7 @@
13178
13293
  },
13179
13294
  {
13180
13295
  "name": "capacityKwh",
13181
- "description": "Usable capacity of a battery, in kWh. This value is computed from the provided capacity value.",
13296
+ "description": "Usable capacity of a battery, in kWh. This value is computed from the provided capacity value",
13182
13297
  "args": [],
13183
13298
  "type": {
13184
13299
  "kind": "SCALAR",
@@ -13190,7 +13305,7 @@
13190
13305
  },
13191
13306
  {
13192
13307
  "name": "stateOfCharge",
13193
- "description": "Current amount of energy in a battery. If this is not filled in, we assume the battery is full and it will be equal to the batteryUsableKwh.",
13308
+ "description": "Current amount of energy in a battery. If this is not filled in, we assume the battery is full and it will be equal to the batteryUsableKwh",
13194
13309
  "args": [],
13195
13310
  "type": {
13196
13311
  "kind": "OBJECT",
@@ -13202,7 +13317,7 @@
13202
13317
  },
13203
13318
  {
13204
13319
  "name": "stateOfChargeKwh",
13205
- "description": "Current amount of energy in a battery, in kWh. This value is computed from the provided state of charge.",
13320
+ "description": "Current amount of energy in a battery, in kWh. This value is computed from the provided state of charge",
13206
13321
  "args": [],
13207
13322
  "type": {
13208
13323
  "kind": "SCALAR",
@@ -13214,7 +13329,7 @@
13214
13329
  },
13215
13330
  {
13216
13331
  "name": "finalStateOfCharge",
13217
- "description": "Desired final amount of energy in a battery. If this is not filled in, it will be set to 20% of the car batteryUsableKwh.",
13332
+ "description": "Desired final amount of energy in a battery. If this is not filled in, it will be set to 20% of the car batteryUsableKwh",
13218
13333
  "args": [],
13219
13334
  "type": {
13220
13335
  "kind": "OBJECT",
@@ -13226,7 +13341,7 @@
13226
13341
  },
13227
13342
  {
13228
13343
  "name": "finalStateOfChargeKwh",
13229
- "description": "Desired final amount of energy in a battery, in kWh. This value is computed from the provided final state of charge.",
13344
+ "description": "Desired final amount of energy in a battery, in kWh. This value is computed from the provided final state of charge",
13230
13345
  "args": [],
13231
13346
  "type": {
13232
13347
  "kind": "SCALAR",
@@ -13250,7 +13365,7 @@
13250
13365
  "inputFields": [
13251
13366
  {
13252
13367
  "name": "capacity",
13253
- "description": "Usable capacity of a battery used to compute a route. Allowed value is between -50% and 50% of the car usable battery capacity. If this in not filled in, we assume it is the same value as the car batteryUsableKwh.",
13368
+ "description": "Usable capacity of a battery used to compute a route. We recommend you stay between 50% and 150%. If this in not filled in, we assume it is the same value as the car batteryUsableKwh",
13254
13369
  "type": {
13255
13370
  "kind": "INPUT_OBJECT",
13256
13371
  "name": "RequestEvBatteryInputValue",
@@ -13262,7 +13377,7 @@
13262
13377
  },
13263
13378
  {
13264
13379
  "name": "stateOfCharge",
13265
- "description": "Current amount of energy in a battery. If this is not filled in, we assume the battery is full and we fill it in with car batteryUsableKwh.",
13380
+ "description": "Current amount of energy in a battery. If this is not filled in, we assume the battery is full and we fill it in with car batteryUsableKwh",
13266
13381
  "type": {
13267
13382
  "kind": "INPUT_OBJECT",
13268
13383
  "name": "RequestEvBatteryInputValue",
@@ -13274,7 +13389,7 @@
13274
13389
  },
13275
13390
  {
13276
13391
  "name": "finalStateOfCharge",
13277
- "description": "Desired final amount of energy in a battery. If this is not filled in, we assume it is 20% of the car batteryUsableKwh.",
13392
+ "description": "Desired final amount of energy in a battery. If this is not filled in, we assume it is 20% of the car batteryUsableKwh",
13278
13393
  "type": {
13279
13394
  "kind": "INPUT_OBJECT",
13280
13395
  "name": "RequestEvBatteryInputValue",
@@ -14777,7 +14892,7 @@
14777
14892
  },
14778
14893
  {
14779
14894
  "name": "chargesAvailable",
14780
- "description": "Number of available charges along a route.",
14895
+ "description": "Number of available charges along a route",
14781
14896
  "args": [],
14782
14897
  "type": {
14783
14898
  "kind": "SCALAR",
@@ -14789,7 +14904,7 @@
14789
14904
  },
14790
14905
  {
14791
14906
  "name": "chargesOccupied",
14792
- "description": "Number of occupied charges along a route.",
14907
+ "description": "Number of occupied charges along a route",
14793
14908
  "args": [],
14794
14909
  "type": {
14795
14910
  "kind": "SCALAR",
@@ -14801,7 +14916,7 @@
14801
14916
  },
14802
14917
  {
14803
14918
  "name": "chargesUnknown",
14804
- "description": "Number of unknown charges along a route.",
14919
+ "description": "Number of unknown charges along a route",
14805
14920
  "args": [],
14806
14921
  "type": {
14807
14922
  "kind": "SCALAR",
@@ -14813,7 +14928,7 @@
14813
14928
  },
14814
14929
  {
14815
14930
  "name": "chargesOutOfOrder",
14816
- "description": "Number of out of order charges along a route.",
14931
+ "description": "Number of out of order charges along a route",
14817
14932
  "args": [],
14818
14933
  "type": {
14819
14934
  "kind": "SCALAR",
@@ -14825,7 +14940,7 @@
14825
14940
  },
14826
14941
  {
14827
14942
  "name": "distance",
14828
- "description": "Total distance of a route in meters.",
14943
+ "description": "Total distance of a route in meters",
14829
14944
  "args": [],
14830
14945
  "type": {
14831
14946
  "kind": "SCALAR",
@@ -14933,7 +15048,7 @@
14933
15048
  },
14934
15049
  {
14935
15050
  "name": "rangeEndKwh",
14936
- "description": "Remaining range, energy in kWh, at the end of a trip.",
15051
+ "description": "Remaining range, energy in kWh, at the end of a trip",
14937
15052
  "args": [],
14938
15053
  "type": {
14939
15054
  "kind": "SCALAR",
@@ -14945,7 +15060,7 @@
14945
15060
  },
14946
15061
  {
14947
15062
  "name": "rangeEndPercentage",
14948
- "description": "Remaining range, energy in percentage, at the end of a trip.",
15063
+ "description": "Remaining range, energy in percentage, at the end of a trip",
14949
15064
  "args": [],
14950
15065
  "type": {
14951
15066
  "kind": "SCALAR",
@@ -15657,7 +15772,7 @@
15657
15772
  },
15658
15773
  {
15659
15774
  "name": "rangeEndPercentage",
15660
- "description": "Remaining range, energy in percentage, at the end of a trip.",
15775
+ "description": "Remaining range, energy in percentage, at the end of a trip",
15661
15776
  "args": [],
15662
15777
  "type": {
15663
15778
  "kind": "SCALAR",
@@ -16782,6 +16897,12 @@
16782
16897
  "description": null,
16783
16898
  "isDeprecated": false,
16784
16899
  "deprecationReason": null
16900
+ },
16901
+ {
16902
+ "name": "walking",
16903
+ "description": null,
16904
+ "isDeprecated": false,
16905
+ "deprecationReason": null
16785
16906
  }
16786
16907
  ],
16787
16908
  "possibleTypes": null
@@ -17350,7 +17471,7 @@
17350
17471
  },
17351
17472
  {
17352
17473
  "kind": "INPUT_OBJECT",
17353
- "name": "StationAroundQuery",
17474
+ "name": "StationAroundFilter",
17354
17475
  "description": "Filter which can be applied to retrieve the station around list action",
17355
17476
  "fields": null,
17356
17477
  "inputFields": [
@@ -17358,11 +17479,35 @@
17358
17479
  "name": "location",
17359
17480
  "description": "The GeoJSON Point of the center of the around me circle",
17360
17481
  "type": {
17361
- "kind": "NON_NULL",
17482
+ "kind": "INPUT_OBJECT",
17483
+ "name": "PointInput",
17484
+ "ofType": null
17485
+ },
17486
+ "defaultValue": null,
17487
+ "isDeprecated": false,
17488
+ "deprecationReason": null
17489
+ },
17490
+ {
17491
+ "name": "distance",
17492
+ "description": "Distance, in meters, to search around",
17493
+ "type": {
17494
+ "kind": "SCALAR",
17495
+ "name": "Int",
17496
+ "ofType": null
17497
+ },
17498
+ "defaultValue": null,
17499
+ "isDeprecated": false,
17500
+ "deprecationReason": null
17501
+ },
17502
+ {
17503
+ "name": "powers",
17504
+ "description": "Powers in kWh",
17505
+ "type": {
17506
+ "kind": "LIST",
17362
17507
  "name": null,
17363
17508
  "ofType": {
17364
- "kind": "INPUT_OBJECT",
17365
- "name": "PointInput",
17509
+ "kind": "SCALAR",
17510
+ "name": "Float",
17366
17511
  "ofType": null
17367
17512
  }
17368
17513
  },
@@ -17371,14 +17516,30 @@
17371
17516
  "deprecationReason": null
17372
17517
  },
17373
17518
  {
17374
- "name": "distance",
17375
- "description": "Distance, in meters, to search around",
17519
+ "name": "amenities",
17520
+ "description": "Amenities available near a station",
17376
17521
  "type": {
17377
- "kind": "NON_NULL",
17522
+ "kind": "LIST",
17378
17523
  "name": null,
17379
17524
  "ofType": {
17380
- "kind": "SCALAR",
17381
- "name": "Int",
17525
+ "kind": "ENUM",
17526
+ "name": "Amenities",
17527
+ "ofType": null
17528
+ }
17529
+ },
17530
+ "defaultValue": null,
17531
+ "isDeprecated": false,
17532
+ "deprecationReason": null
17533
+ },
17534
+ {
17535
+ "name": "power_groups",
17536
+ "description": "Station speed",
17537
+ "type": {
17538
+ "kind": "LIST",
17539
+ "name": null,
17540
+ "ofType": {
17541
+ "kind": "ENUM",
17542
+ "name": "StationSpeedType",
17382
17543
  "ofType": null
17383
17544
  }
17384
17545
  },
@@ -17386,6 +17547,81 @@
17386
17547
  "isDeprecated": false,
17387
17548
  "deprecationReason": null
17388
17549
  },
17550
+ {
17551
+ "name": "connectors",
17552
+ "description": "Station socket or plug standards",
17553
+ "type": {
17554
+ "kind": "LIST",
17555
+ "name": null,
17556
+ "ofType": {
17557
+ "kind": "ENUM",
17558
+ "name": "ConnectorType",
17559
+ "ofType": null
17560
+ }
17561
+ },
17562
+ "defaultValue": null,
17563
+ "isDeprecated": false,
17564
+ "deprecationReason": null
17565
+ },
17566
+ {
17567
+ "name": "available_only",
17568
+ "description": "Flag that allows you to return only available stations",
17569
+ "type": {
17570
+ "kind": "SCALAR",
17571
+ "name": "Boolean",
17572
+ "ofType": null
17573
+ },
17574
+ "defaultValue": null,
17575
+ "isDeprecated": false,
17576
+ "deprecationReason": null
17577
+ },
17578
+ {
17579
+ "name": "preferred_operator",
17580
+ "description": "Flag indicating if only stations that are owned by an operator from a clients ranking list are returned",
17581
+ "type": {
17582
+ "kind": "SCALAR",
17583
+ "name": "Boolean",
17584
+ "ofType": null
17585
+ },
17586
+ "defaultValue": null,
17587
+ "isDeprecated": false,
17588
+ "deprecationReason": null
17589
+ }
17590
+ ],
17591
+ "interfaces": null,
17592
+ "enumValues": null,
17593
+ "possibleTypes": null
17594
+ },
17595
+ {
17596
+ "kind": "INPUT_OBJECT",
17597
+ "name": "StationAroundQuery",
17598
+ "description": "Deprecated: Replaced by filter & search params",
17599
+ "fields": null,
17600
+ "inputFields": [
17601
+ {
17602
+ "name": "location",
17603
+ "description": "The GeoJSON Point of the center of the around me circle",
17604
+ "type": {
17605
+ "kind": "INPUT_OBJECT",
17606
+ "name": "PointInput",
17607
+ "ofType": null
17608
+ },
17609
+ "defaultValue": null,
17610
+ "isDeprecated": false,
17611
+ "deprecationReason": null
17612
+ },
17613
+ {
17614
+ "name": "distance",
17615
+ "description": "Distance, in meters, to search around",
17616
+ "type": {
17617
+ "kind": "SCALAR",
17618
+ "name": "Int",
17619
+ "ofType": null
17620
+ },
17621
+ "defaultValue": null,
17622
+ "isDeprecated": false,
17623
+ "deprecationReason": null
17624
+ },
17389
17625
  {
17390
17626
  "name": "power",
17391
17627
  "description": "Power in kWh",
@@ -17404,7 +17640,7 @@
17404
17640
  },
17405
17641
  {
17406
17642
  "name": "amenities",
17407
- "description": "Amentities available near a station. Values: restaurant, bathroom, supermarket, playground, coffee, shopping, museum, hotel, park",
17643
+ "description": "Amenities available near a station. Values: restaurant, bathroom, supermarket, playground, coffee, shopping, museum, hotel, park",
17408
17644
  "type": {
17409
17645
  "kind": "LIST",
17410
17646
  "name": null,
@@ -17425,9 +17661,108 @@
17425
17661
  },
17426
17662
  {
17427
17663
  "kind": "INPUT_OBJECT",
17428
- "name": "StationListQuery",
17664
+ "name": "StationListFilter",
17429
17665
  "description": "Filter which can be applied to retrieve the station list action",
17430
17666
  "fields": null,
17667
+ "inputFields": [
17668
+ {
17669
+ "name": "powers",
17670
+ "description": "Powers in kWh",
17671
+ "type": {
17672
+ "kind": "LIST",
17673
+ "name": null,
17674
+ "ofType": {
17675
+ "kind": "SCALAR",
17676
+ "name": "Float",
17677
+ "ofType": null
17678
+ }
17679
+ },
17680
+ "defaultValue": null,
17681
+ "isDeprecated": false,
17682
+ "deprecationReason": null
17683
+ },
17684
+ {
17685
+ "name": "amenities",
17686
+ "description": "Amenities available near a station",
17687
+ "type": {
17688
+ "kind": "LIST",
17689
+ "name": null,
17690
+ "ofType": {
17691
+ "kind": "ENUM",
17692
+ "name": "Amenities",
17693
+ "ofType": null
17694
+ }
17695
+ },
17696
+ "defaultValue": null,
17697
+ "isDeprecated": false,
17698
+ "deprecationReason": null
17699
+ },
17700
+ {
17701
+ "name": "power_groups",
17702
+ "description": "Station speed",
17703
+ "type": {
17704
+ "kind": "LIST",
17705
+ "name": null,
17706
+ "ofType": {
17707
+ "kind": "ENUM",
17708
+ "name": "StationSpeedType",
17709
+ "ofType": null
17710
+ }
17711
+ },
17712
+ "defaultValue": null,
17713
+ "isDeprecated": false,
17714
+ "deprecationReason": null
17715
+ },
17716
+ {
17717
+ "name": "connectors",
17718
+ "description": "Station socket or plug standards",
17719
+ "type": {
17720
+ "kind": "LIST",
17721
+ "name": null,
17722
+ "ofType": {
17723
+ "kind": "ENUM",
17724
+ "name": "ConnectorType",
17725
+ "ofType": null
17726
+ }
17727
+ },
17728
+ "defaultValue": null,
17729
+ "isDeprecated": false,
17730
+ "deprecationReason": null
17731
+ },
17732
+ {
17733
+ "name": "available_only",
17734
+ "description": "Flag that allows you to return only available stations",
17735
+ "type": {
17736
+ "kind": "SCALAR",
17737
+ "name": "Boolean",
17738
+ "ofType": null
17739
+ },
17740
+ "defaultValue": null,
17741
+ "isDeprecated": false,
17742
+ "deprecationReason": null
17743
+ },
17744
+ {
17745
+ "name": "preferred_operator",
17746
+ "description": "Flag indicating if only stations that are owned by an operator from a clients ranking list are returned",
17747
+ "type": {
17748
+ "kind": "SCALAR",
17749
+ "name": "Boolean",
17750
+ "ofType": null
17751
+ },
17752
+ "defaultValue": null,
17753
+ "isDeprecated": false,
17754
+ "deprecationReason": null
17755
+ }
17756
+ ],
17757
+ "interfaces": null,
17758
+ "enumValues": null,
17759
+ "possibleTypes": null
17760
+ },
17761
+ {
17762
+ "kind": "INPUT_OBJECT",
17763
+ "name": "StationListQuery",
17764
+ "description": "Deprecated: Replaced by filter & search params",
17765
+ "fields": null,
17431
17766
  "inputFields": [
17432
17767
  {
17433
17768
  "name": "id",
@@ -17687,6 +18022,12 @@
17687
18022
  "description": "This step is a ferry",
17688
18023
  "isDeprecated": false,
17689
18024
  "deprecationReason": null
18025
+ },
18026
+ {
18027
+ "name": "walking",
18028
+ "description": "This step is reachable by walking",
18029
+ "isDeprecated": false,
18030
+ "deprecationReason": null
17690
18031
  }
17691
18032
  ],
17692
18033
  "possibleTypes": null
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chargetrip/types",
3
- "version": "1.25.0",
3
+ "version": "1.26.0",
4
4
  "description": "Typescript types for the Chargetrip EV-routing GraphQL API",
5
5
  "license": "MIT",
6
6
  "keywords": [
package/src/graphql.ts CHANGED
@@ -45,6 +45,20 @@ export type Address = {
45
45
  formattedAddress?: Maybe<Array<Maybe<Scalars["String"]>>>;
46
46
  };
47
47
 
48
+ /** Amenities available near a station */
49
+ export enum Amenities {
50
+ PARK = "park",
51
+ RESTAURANT = "restaurant",
52
+ MUSEUM = "museum",
53
+ COFFEE = "coffee",
54
+ HOTEL = "hotel",
55
+ SHOPPING = "shopping",
56
+ BATHROOM = "bathroom",
57
+ SUPERMARKET = "supermarket",
58
+ PLAYGROUND = "playground",
59
+ PHARMACY = "pharmacy"
60
+ }
61
+
48
62
  /** The amenity model */
49
63
  export type Amenity = {
50
64
  /** Unique amenity ID */
@@ -1848,7 +1862,7 @@ export type MutationupdateNavigationArgs = {
1848
1862
  };
1849
1863
 
1850
1864
  export type MutationrecalculateNavigationArgs = {
1851
- input: NavigationReacalculateInput;
1865
+ input: NavigationRecalculateInput;
1852
1866
  };
1853
1867
 
1854
1868
  export type MutationfinishNavigationArgs = {
@@ -1905,7 +1919,7 @@ export type NavigationFinishInput = {
1905
1919
  };
1906
1920
 
1907
1921
  /** Input for the navigation recalculate */
1908
- export type NavigationReacalculateInput = {
1922
+ export type NavigationRecalculateInput = {
1909
1923
  /** ID of the navigation session */
1910
1924
  id: Scalars["ID"];
1911
1925
  /** State of charge at origin */
@@ -1931,13 +1945,13 @@ export type NavigationStartInput = {
1931
1945
  /** State of navigation session */
1932
1946
  export enum NavigationState {
1933
1947
  /** Vehicle is driving */
1934
- DRIVING = "Driving",
1948
+ DRIVING = "driving",
1935
1949
  /** Vehicle is charging */
1936
- CHARGING = "Charging",
1950
+ CHARGING = "charging",
1937
1951
  /** Navigation session is completed (either manually or automatically 48 hours after the last update) */
1938
- FINISHED = "Finished",
1952
+ FINISHED = "finished",
1939
1953
  /** Failed to update navigation session due to route error or not found */
1940
- ERROR = "Error"
1954
+ ERROR = "error"
1941
1955
  }
1942
1956
 
1943
1957
  /** Navigation session station type */
@@ -1982,11 +1996,11 @@ export type NavigationUpdateInput = {
1982
1996
  export type NavigationUpdateLocationPropertiesInput = {
1983
1997
  /** Current route leg index corresponding to a location */
1984
1998
  route_leg: Scalars["Int"];
1985
- /** Speed at a location */
1999
+ /** Speed at a location, in km/h */
1986
2000
  speed: Scalars["Float"];
1987
- /** UNIX timestamp at location */
2001
+ /** UNIX timestamp at location, in seconds */
1988
2002
  timestamp: Scalars["Int"];
1989
- /** Altitude information. This is optional */
2003
+ /** Altitude information, in meters. This is optional */
1990
2004
  altitude?: Maybe<Scalars["Int"]>;
1991
2005
  };
1992
2006
 
@@ -2782,12 +2796,16 @@ export type QuerystationArgs = {
2782
2796
 
2783
2797
  export type QuerystationListArgs = {
2784
2798
  query?: Maybe<StationListQuery>;
2799
+ filter?: Maybe<StationListFilter>;
2800
+ search?: Maybe<Scalars["String"]>;
2785
2801
  size?: Maybe<Scalars["Int"]>;
2786
2802
  page?: Maybe<Scalars["Int"]>;
2787
2803
  };
2788
2804
 
2789
2805
  export type QuerystationAroundArgs = {
2790
- query: StationAroundQuery;
2806
+ query?: Maybe<StationAroundQuery>;
2807
+ filter?: Maybe<StationAroundFilter>;
2808
+ search?: Maybe<Scalars["String"]>;
2791
2809
  size?: Maybe<Scalars["Int"]>;
2792
2810
  page?: Maybe<Scalars["Int"]>;
2793
2811
  };
@@ -2834,26 +2852,26 @@ export type RequestEv = {
2834
2852
  };
2835
2853
 
2836
2854
  export type RequestEvBattery = {
2837
- /** The usable capacity of the battery used to compute the route. If this in not filled in, value as the car batteryUsableKwh. */
2855
+ /** Usable capacity of the battery used to compute the route. If this in not filled in, value as the car batteryUsableKwh */
2838
2856
  capacity?: Maybe<RequestEvBatteryValue>;
2839
- /** Usable capacity of a battery, in kWh. This value is computed from the provided capacity value. */
2857
+ /** Usable capacity of a battery, in kWh. This value is computed from the provided capacity value */
2840
2858
  capacityKwh?: Maybe<Scalars["Float"]>;
2841
- /** Current amount of energy in a battery. If this is not filled in, we assume the battery is full and it will be equal to the batteryUsableKwh. */
2859
+ /** Current amount of energy in a battery. If this is not filled in, we assume the battery is full and it will be equal to the batteryUsableKwh */
2842
2860
  stateOfCharge?: Maybe<RequestEvBatteryValue>;
2843
- /** Current amount of energy in a battery, in kWh. This value is computed from the provided state of charge. */
2861
+ /** Current amount of energy in a battery, in kWh. This value is computed from the provided state of charge */
2844
2862
  stateOfChargeKwh?: Maybe<Scalars["Float"]>;
2845
- /** Desired final amount of energy in a battery. If this is not filled in, it will be set to 20% of the car batteryUsableKwh. */
2863
+ /** Desired final amount of energy in a battery. If this is not filled in, it will be set to 20% of the car batteryUsableKwh */
2846
2864
  finalStateOfCharge?: Maybe<RequestEvBatteryValue>;
2847
- /** Desired final amount of energy in a battery, in kWh. This value is computed from the provided final state of charge. */
2865
+ /** Desired final amount of energy in a battery, in kWh. This value is computed from the provided final state of charge */
2848
2866
  finalStateOfChargeKwh?: Maybe<Scalars["Float"]>;
2849
2867
  };
2850
2868
 
2851
2869
  export type RequestEvBatteryInput = {
2852
- /** Usable capacity of a battery used to compute a route. Allowed value is between -50% and 50% of the car usable battery capacity. If this in not filled in, we assume it is the same value as the car batteryUsableKwh. */
2870
+ /** Usable capacity of a battery used to compute a route. We recommend you stay between 50% and 150%. If this in not filled in, we assume it is the same value as the car batteryUsableKwh */
2853
2871
  capacity?: Maybe<RequestEvBatteryInputValue>;
2854
- /** Current amount of energy in a battery. If this is not filled in, we assume the battery is full and we fill it in with car batteryUsableKwh. */
2872
+ /** Current amount of energy in a battery. If this is not filled in, we assume the battery is full and we fill it in with car batteryUsableKwh */
2855
2873
  stateOfCharge?: Maybe<RequestEvBatteryInputValue>;
2856
- /** Desired final amount of energy in a battery. If this is not filled in, we assume it is 20% of the car batteryUsableKwh. */
2874
+ /** Desired final amount of energy in a battery. If this is not filled in, we assume it is 20% of the car batteryUsableKwh */
2857
2875
  finalStateOfCharge?: Maybe<RequestEvBatteryInputValue>;
2858
2876
  };
2859
2877
 
@@ -3136,15 +3154,15 @@ export type RouteAlternative = {
3136
3154
  type?: Maybe<RouteAlternativeType>;
3137
3155
  /** Number of charges along a route */
3138
3156
  charges?: Maybe<Scalars["Int"]>;
3139
- /** Number of available charges along a route. */
3157
+ /** Number of available charges along a route */
3140
3158
  chargesAvailable?: Maybe<Scalars["Int"]>;
3141
- /** Number of occupied charges along a route. */
3159
+ /** Number of occupied charges along a route */
3142
3160
  chargesOccupied?: Maybe<Scalars["Int"]>;
3143
- /** Number of unknown charges along a route. */
3161
+ /** Number of unknown charges along a route */
3144
3162
  chargesUnknown?: Maybe<Scalars["Int"]>;
3145
- /** Number of out of order charges along a route. */
3163
+ /** Number of out of order charges along a route */
3146
3164
  chargesOutOfOrder?: Maybe<Scalars["Int"]>;
3147
- /** Total distance of a route in meters. */
3165
+ /** Total distance of a route in meters */
3148
3166
  distance?: Maybe<Scalars["Int"]>;
3149
3167
  /** Total duration of a route, including charge time, in seconds */
3150
3168
  duration?: Maybe<Scalars["Int"]>;
@@ -3165,9 +3183,9 @@ export type RouteAlternative = {
3165
3183
  rangeStartPercentage?: Maybe<Scalars["Int"]>;
3166
3184
  /** Remaining range, in meters, at the end of a trip */
3167
3185
  rangeEnd?: Maybe<Scalars["Int"]>;
3168
- /** Remaining range, energy in kWh, at the end of a trip. */
3186
+ /** Remaining range, energy in kWh, at the end of a trip */
3169
3187
  rangeEndKwh?: Maybe<Scalars["Float"]>;
3170
- /** Remaining range, energy in percentage, at the end of a trip. */
3188
+ /** Remaining range, energy in percentage, at the end of a trip */
3171
3189
  rangeEndPercentage?: Maybe<Scalars["Int"]>;
3172
3190
  /** Text information about a route direction */
3173
3191
  via?: Maybe<Scalars["String"]>;
@@ -3299,7 +3317,7 @@ export type RouteLeg = {
3299
3317
  rangeEnd?: Maybe<Scalars["Int"]>;
3300
3318
  /** Total energy left in a battery at the end of a leg, in kWh */
3301
3319
  rangeEndKwh?: Maybe<Scalars["Float"]>;
3302
- /** Remaining range, energy in percentage, at the end of a trip. */
3320
+ /** Remaining range, energy in percentage, at the end of a trip */
3303
3321
  rangeEndPercentage?: Maybe<Scalars["Int"]>;
3304
3322
  /** Origin point location */
3305
3323
  origin?: Maybe<FeaturePoint>;
@@ -3505,7 +3523,8 @@ export enum RouteTagType {
3505
3523
  ROAD = "road",
3506
3524
  HIGHWAY = "highway",
3507
3525
  TOLL = "toll",
3508
- FERRY = "ferry"
3526
+ FERRY = "ferry",
3527
+ WALKING = "walking"
3509
3528
  }
3510
3529
 
3511
3530
  /** Standards(plug type) stats model */
@@ -3608,18 +3627,54 @@ export type Station = {
3608
3627
  };
3609
3628
 
3610
3629
  /** Filter which can be applied to retrieve the station around list action */
3630
+ export type StationAroundFilter = {
3631
+ /** The GeoJSON Point of the center of the around me circle */
3632
+ location?: Maybe<PointInput>;
3633
+ /** Distance, in meters, to search around */
3634
+ distance?: Maybe<Scalars["Int"]>;
3635
+ /** Powers in kWh */
3636
+ powers?: Maybe<Array<Maybe<Scalars["Float"]>>>;
3637
+ /** Amenities available near a station */
3638
+ amenities?: Maybe<Array<Maybe<Amenities>>>;
3639
+ /** Station speed */
3640
+ power_groups?: Maybe<Array<Maybe<StationSpeedType>>>;
3641
+ /** Station socket or plug standards */
3642
+ connectors?: Maybe<Array<Maybe<ConnectorType>>>;
3643
+ /** Flag that allows you to return only available stations */
3644
+ available_only?: Maybe<Scalars["Boolean"]>;
3645
+ /** Flag indicating if only stations that are owned by an operator from a clients ranking list are returned */
3646
+ preferred_operator?: Maybe<Scalars["Boolean"]>;
3647
+ };
3648
+
3649
+ /** Deprecated: Replaced by filter & search params */
3611
3650
  export type StationAroundQuery = {
3612
3651
  /** The GeoJSON Point of the center of the around me circle */
3613
- location: PointInput;
3652
+ location?: Maybe<PointInput>;
3614
3653
  /** Distance, in meters, to search around */
3615
- distance: Scalars["Int"];
3654
+ distance?: Maybe<Scalars["Int"]>;
3616
3655
  /** Power in kWh */
3617
3656
  power?: Maybe<Array<Maybe<Scalars["Float"]>>>;
3618
- /** Amentities available near a station. Values: restaurant, bathroom, supermarket, playground, coffee, shopping, museum, hotel, park */
3657
+ /** Amenities available near a station. Values: restaurant, bathroom, supermarket, playground, coffee, shopping, museum, hotel, park */
3619
3658
  amenities?: Maybe<Array<Maybe<Scalars["String"]>>>;
3620
3659
  };
3621
3660
 
3622
3661
  /** Filter which can be applied to retrieve the station list action */
3662
+ export type StationListFilter = {
3663
+ /** Powers in kWh */
3664
+ powers?: Maybe<Array<Maybe<Scalars["Float"]>>>;
3665
+ /** Amenities available near a station */
3666
+ amenities?: Maybe<Array<Maybe<Amenities>>>;
3667
+ /** Station speed */
3668
+ power_groups?: Maybe<Array<Maybe<StationSpeedType>>>;
3669
+ /** Station socket or plug standards */
3670
+ connectors?: Maybe<Array<Maybe<ConnectorType>>>;
3671
+ /** Flag that allows you to return only available stations */
3672
+ available_only?: Maybe<Scalars["Boolean"]>;
3673
+ /** Flag indicating if only stations that are owned by an operator from a clients ranking list are returned */
3674
+ preferred_operator?: Maybe<Scalars["Boolean"]>;
3675
+ };
3676
+
3677
+ /** Deprecated: Replaced by filter & search params */
3623
3678
  export type StationListQuery = {
3624
3679
  /** ID of the station */
3625
3680
  id?: Maybe<Scalars["ID"]>;
@@ -3678,7 +3733,9 @@ export enum StepType {
3678
3733
  /** This step is a toll road */
3679
3734
  TOLL = "toll",
3680
3735
  /** This step is a ferry */
3681
- FERRY = "ferry"
3736
+ FERRY = "ferry",
3737
+ /** This step is reachable by walking */
3738
+ WALKING = "walking"
3682
3739
  }
3683
3740
 
3684
3741
  export type Subscription = {