@chargetrip/types 1.69.0 → 1.71.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chargetrip/types",
3
- "version": "1.69.0",
3
+ "version": "1.71.0",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "chargetrip",
package/src/graphql.ts CHANGED
@@ -15,21 +15,13 @@ export type Scalars = {
15
15
  Float: number;
16
16
  /** The date and time scalar. */
17
17
  DateTime: string;
18
- /** Email address scalar, email regex with HTML sanitization. */
19
- Email: any;
20
18
  /** Any JSON object or array. */
21
19
  JSON: { [key: string]: number | string | boolean | null | Scalars["JSON"] };
22
- /** The non empty string scalar. */
23
- NonEmptyString: any;
24
- /** The `PlainID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The `PlainID` type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID. */
25
- PlainID: any;
26
20
  /**
27
21
  * The `PlainString` scalar type represents textual data, represented as UTF-8 character sequences.
28
22
  * The PlainString type represents free-form human-readable text with HTML sanitization.
29
23
  */
30
24
  PlainString: any;
31
- /** The File Upload scalar. */
32
- Upload: any;
33
25
  };
34
26
 
35
27
  export enum AccelerationUnit {
@@ -86,17 +78,6 @@ export type Address = {
86
78
  formatted_address?: Maybe<Array<Maybe<Scalars["String"]>>>;
87
79
  };
88
80
 
89
- export enum AdhocAuthorisationMethod {
90
- CREDIT_CARD = "CREDIT_CARD",
91
- DEBIT_CARD = "DEBIT_CARD",
92
- OTHER = "OTHER",
93
- OTHER_APPLE_PAY = "OTHER_Apple_Pay",
94
- OTHER_AUTHENTICATION_BY_CAR = "OTHER_Authentication_by_car",
95
- OTHER_GOOGLE_PAY = "OTHER_Google_Pay",
96
- QR_CODE = "QR_CODE",
97
- SMS = "SMS"
98
- }
99
-
100
81
  /** Input fields to continue the navigation session to the next leg. */
101
82
  export type AdvanceNavigationLegInput = {
102
83
  /** The unique identifier of the active navigation session. */
@@ -1914,16 +1895,6 @@ export type FeatureMultiPolygon = {
1914
1895
  properties?: Maybe<PolygonProperties>;
1915
1896
  };
1916
1897
 
1917
- /** A GeoJSON Feature<Point>. */
1918
- export type FeatureMultiPolygonPoint = {
1919
- /** Feature type. */
1920
- type: FeatureType;
1921
- /** Geometry of the feature. */
1922
- geometry: Point;
1923
- /** Optional object where you can store custom data you need in your application. */
1924
- properties?: Maybe<Scalars["JSON"]>;
1925
- };
1926
-
1927
1898
  /** A GeoJSON Feature<Point>. */
1928
1899
  export type FeaturePoint = {
1929
1900
  /** Feature ID. */
@@ -1958,19 +1929,13 @@ export type FeaturePointPolygonInput = {
1958
1929
  properties?: Maybe<FeaturePointPolygonPropertiesInput>;
1959
1930
  };
1960
1931
 
1961
- /** Properties for Feature<Point> input. */
1962
- export type FeaturePointPolygonProperties = {
1963
- /** Name of the location. */
1964
- name?: Maybe<Scalars["String"]>;
1965
- };
1966
-
1967
1932
  /** Properties for Feature<Point> input. */
1968
1933
  export type FeaturePointPolygonPropertiesInput = {
1969
1934
  /** Name of the location. */
1970
1935
  name?: Maybe<Scalars["String"]>;
1971
1936
  };
1972
1937
 
1973
- /** GeoJSON Feature type. */
1938
+ /** GeoJSON Feature type */
1974
1939
  export enum FeatureType {
1975
1940
  FEATURE = "Feature"
1976
1941
  }
@@ -2819,13 +2784,6 @@ export type MatchedRouteVehicleCharging = {
2819
2784
  adapters: Array<RouteVehicleChargingConnector>;
2820
2785
  };
2821
2786
 
2822
- export type MatchedRouteVehicleChargingConnector = {
2823
- /** Type of the plug. */
2824
- standard: ConnectorType;
2825
- /** Maximum charging speed for this plug. */
2826
- maximum_charge_speed: ChargeSpeed;
2827
- };
2828
-
2829
2787
  export type MatchedRouteVehicleChargingConnectorInput = {
2830
2788
  /** Plug type. */
2831
2789
  standard: ConnectorType;
@@ -3526,92 +3484,6 @@ export enum OCPIConnectorFormat {
3526
3484
  CABLE = "CABLE"
3527
3485
  }
3528
3486
 
3529
- /** Socket or plug standard of the charging point. */
3530
- export enum OCPIConnectorType {
3531
- /** The connector type is CHAdeMO, DC */
3532
- CHADEMO = "CHADEMO",
3533
- /** Standard/domestic household, type "A", NEMA 1-15, 2 pins */
3534
- DOMESTIC_A = "DOMESTIC_A",
3535
- /** Standard/domestic household, type "B", NEMA 5-15, 3 pins */
3536
- DOMESTIC_B = "DOMESTIC_B",
3537
- /** Standard/domestic household, type "C", CEE 7/17, 2 pins */
3538
- DOMESTIC_C = "DOMESTIC_C",
3539
- /** Standard/domestic household, type "D", 3 pins */
3540
- DOMESTIC_D = "DOMESTIC_D",
3541
- /** Standard/domestic household, type "E", CEE 7/5 3 pins */
3542
- DOMESTIC_E = "DOMESTIC_E",
3543
- /** Standard/domestic household, type "F", CEE 7/4, Schuko, 3 pins */
3544
- DOMESTIC_F = "DOMESTIC_F",
3545
- /** Standard/domestic household, type "G", BS 1363, Commonwealth, 3 pins */
3546
- DOMESTIC_G = "DOMESTIC_G",
3547
- /** Standard/domestic household, type "H", SI-32, 3 pins */
3548
- DOMESTIC_H = "DOMESTIC_H",
3549
- /** Standard/domestic household, type "I", AS 3112, 3 pins */
3550
- DOMESTIC_I = "DOMESTIC_I",
3551
- /** Standard/domestic household, type "J", SEV 1011, 3 pins */
3552
- DOMESTIC_J = "DOMESTIC_J",
3553
- /** Standard/domestic household, type "K", DS 60884-2-D1, 3 pins */
3554
- DOMESTIC_K = "DOMESTIC_K",
3555
- /** Standard/domestic household, type "L", CEI 23-16-VII, 3 pins */
3556
- DOMESTIC_L = "DOMESTIC_L",
3557
- /** Standard/Domestic household, type "M", BS 546, 3 pins */
3558
- DOMESTIC_M = "DOMESTIC_M",
3559
- /** Standard/Domestic household, type "N", NBR 14136, 3 pins */
3560
- DOMESTIC_N = "DOMESTIC_N",
3561
- /** Standard/Domestic household, type "O", TIS 166-2549, 3 pins */
3562
- DOMESTIC_O = "DOMESTIC_O",
3563
- /** IEC 60309-2 Industrial connector single phase 16 amperes (usually blue) */
3564
- IEC_60309_2_SINGLE_16 = "IEC_60309_2_single_16",
3565
- /** IEC 60309-2 Industrial connector three phase 16 amperes (usually red) */
3566
- IEC_60309_2_THREE_16 = "IEC_60309_2_three_16",
3567
- /** IEC 60309-2 Industrial connector three phase 32 amperes (usually red) */
3568
- IEC_60309_2_THREE_32 = "IEC_60309_2_three_32",
3569
- /** IEC 60309-2 Industrial connector three phase 64 amperes (usually red) */
3570
- IEC_60309_2_THREE_64 = "IEC_60309_2_three_64",
3571
- /** IEC 62196 Type 1 "SAE J1772" */
3572
- IEC_62196_T1 = "IEC_62196_T1",
3573
- /** Combo Type 1 based, DC */
3574
- IEC_62196_T1_COMBO = "IEC_62196_T1_COMBO",
3575
- /** IEC 62196 Type 2 "Mennekes" */
3576
- IEC_62196_T2 = "IEC_62196_T2",
3577
- /** Combo Type 2 based, DC */
3578
- IEC_62196_T2_COMBO = "IEC_62196_T2_COMBO",
3579
- /** IEC 62196 Type 3A */
3580
- IEC_62196_T3A = "IEC_62196_T3A",
3581
- /** IEC 62196 Type 3C "Scame" */
3582
- IEC_62196_T3C = "IEC_62196_T3C",
3583
- /** On-board bottom-up-pantograph typically for bus charging */
3584
- PANTOGRAPH_BOTTOM_UP = "PANTOGRAPH_BOTTOM_UP",
3585
- /** Off-board top-down-pantograph typically for bus charging */
3586
- PANTOGRAPH_TOP_DOWN = "PANTOGRAPH_TOP_DOWN",
3587
- /** Tesla connector "Roadster"-type (round, 4 pins) */
3588
- TESLA_R = "TESLA_R",
3589
- /** Tesla connector "Model-S"-type (oval, 5 pins) */
3590
- TESLA_S = "TESLA_S",
3591
- /** The connector type is GB_T (Chinese standard), DC */
3592
- GB_T = "GB_T",
3593
- /** The ChaoJi connector. The new generation charging connector, harmonized between CHAdeMO and GB/T. DC. */
3594
- CHAOJI = "CHAOJI",
3595
- /** The connector type is NEMA 5-20, 3 pins */
3596
- NEMA_5_20 = "NEMA_5_20",
3597
- /** The connector type is NEMA 6-30, 3 pins */
3598
- NEMA_6_30 = "NEMA_6_30",
3599
- /** The connector type is NEMA 6-50, 3 pins */
3600
- NEMA_6_50 = "NEMA_6_50",
3601
- /** The connector type is NEMA 10-30, 3 pins */
3602
- NEMA_10_30 = "NEMA_10_30",
3603
- /** The connector type is NEMA 10-50, 3 pins */
3604
- NEMA_10_50 = "NEMA_10_50",
3605
- /** The connector type is NEMA 14-30, 3 pins, rating of 30 A */
3606
- NEMA_14_30 = "NEMA_14_30",
3607
- /** The connector type is NEMA 14-50, 3 pins, rating of 50 A */
3608
- NEMA_14_50 = "NEMA_14_50",
3609
- /** Guobiao GB/T 20234.2 AC socket/connector. */
3610
- GBT_AC = "GBT_AC",
3611
- /** Guobiao GB/T 20234.3 DC connector. */
3612
- GBT_DC = "GBT_DC"
3613
- }
3614
-
3615
3487
  export enum OCPIDayOfWeek {
3616
3488
  MONDAY = "MONDAY",
3617
3489
  TUESDAY = "TUESDAY",
@@ -4389,7 +4261,7 @@ export type Query = {
4389
4261
  navigation?: Maybe<Navigation>;
4390
4262
  /** Get a full list of operators. */
4391
4263
  operatorList?: Maybe<Array<Maybe<Operator>>>;
4392
- /** Get information about an operator by its ID. */
4264
+ /** Get information about an operator by its internal or external ID. Always specify exactly one of the IDs. */
4393
4265
  operator?: Maybe<Operator>;
4394
4266
  /** Get all reviews of a station by the station ID. */
4395
4267
  reviewList?: Maybe<Array<Review>>;
@@ -4484,7 +4356,8 @@ export type QueryoperatorListArgs = {
4484
4356
  };
4485
4357
 
4486
4358
  export type QueryoperatorArgs = {
4487
- id: Scalars["ID"];
4359
+ id?: Maybe<Scalars["ID"]>;
4360
+ external_id?: Maybe<Scalars["ID"]>;
4488
4361
  };
4489
4362
 
4490
4363
  export type QueryreviewListArgs = {
@@ -4912,20 +4785,6 @@ export type ReviewAdd = {
4912
4785
  tags?: Maybe<ReviewTagsInput>;
4913
4786
  };
4914
4787
 
4915
- /** Form input for edit an existing review. */
4916
- export type ReviewEdit = {
4917
- /** Rating of a review. */
4918
- rating: Scalars["Int"];
4919
- /** Review message. */
4920
- message?: Maybe<Scalars["String"]>;
4921
- /** Locale of a message. */
4922
- locale?: Maybe<Scalars["String"]>;
4923
- /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer. */
4924
- properties?: Maybe<Scalars["JSON"]>;
4925
- /** Boolean tags for a station review. */
4926
- tags?: Maybe<ReviewTagsInput>;
4927
- };
4928
-
4929
4788
  /** Statistical information for reviews of a station. */
4930
4789
  export type ReviewStats = {
4931
4790
  /** Average of all reviews. */
@@ -5192,8 +5051,10 @@ export type RouteDetailsAlternativeStation = {
5192
5051
  id: Scalars["ID"];
5193
5052
  /** GeoJSON location of a station. */
5194
5053
  location: Point;
5195
- /** Speed of a station. A station along a route can be either fast or turbo. */
5054
+ /** Charging speed classification of the station. Based on station's highest-powered EVSE and independent of vehicle connector compatibility. */
5196
5055
  speed: StationSpeedType;
5056
+ /** The maximum power, in kilowatts (kW), available for the vehicle at this station based on its compatible connectors. */
5057
+ maximum_power: Scalars["Float"];
5197
5058
  /** Status of a station. */
5198
5059
  status: ChargerStatus;
5199
5060
  /** The value indicates the operator's ranking based on the station's location, in accordance with the list of countries from the configuration or request. */
@@ -5996,11 +5857,6 @@ export type RouteLegpolylineArgs = {
5996
5857
  decimals?: Maybe<Scalars["Int"]>;
5997
5858
  };
5998
5859
 
5999
- export type RouteLegMeta = {
6000
- /** Warnings that certain conditions specified in a route mutation are not respected. */
6001
- warnings: Array<RouteMetaWarning>;
6002
- };
6003
-
6004
5860
  export type RouteLegOperationalElectricityEmissions = {
6005
5861
  /** Total electricity emissions. */
6006
5862
  total: Scalars["Float"];
@@ -6072,20 +5928,6 @@ export type RouteLegOperationalElectricityEmissionsIntensityinfrastructureArgs =
6072
5928
  unit?: Maybe<EmissionUnit>;
6073
5929
  };
6074
5930
 
6075
- export type RouteMeta = {
6076
- /** Warnings that certain conditions specified in a route mutation are not respected. */
6077
- warnings: Array<RouteMetaWarning>;
6078
- };
6079
-
6080
- export type RouteMetaWarning = {
6081
- /** Static identifier, can be used for production purposes such as i18n. */
6082
- code: Scalars["String"];
6083
- /** Human readable explanation of the warning, for development purposes. */
6084
- message: Scalars["String"];
6085
- /** Optional JSON object containing data explaining the warning, for development purposes. */
6086
- data?: Maybe<Scalars["JSON"]>;
6087
- };
6088
-
6089
5931
  export type RouteMetadata = {
6090
5932
  /** Refers to the x-app-id specified in the headers. */
6091
5933
  app_id: Scalars["ID"];
@@ -7427,11 +7269,6 @@ export enum SolarIrradianceUnit {
7427
7269
  WATTS_PER_SQUARE_METER = "watts_per_square_meter"
7428
7270
  }
7429
7271
 
7430
- export enum SortDirection {
7431
- ASCENDING = "ascending",
7432
- DESCENDING = "descending"
7433
- }
7434
-
7435
7272
  export enum SpeedUnit {
7436
7273
  /** Return the speed in kilometers per hour. */
7437
7274
  KILOMETERS_PER_HOUR = "kilometers_per_hour",
@@ -7736,14 +7573,6 @@ export type StationListQuery = {
7736
7573
  name?: Maybe<Scalars["String"]>;
7737
7574
  };
7738
7575
 
7739
- /** Station availability for each weekday and hour. */
7740
- export type StationPredictedAvailability = {
7741
- /** Number of weekday from 1 (monday) to 7 (sunday). */
7742
- weekday?: Maybe<Scalars["Int"]>;
7743
- /** The prediction for each hour 0-23 from 1 to 5 (1 - very busy ... 5 very quiet (free)). */
7744
- prediction?: Maybe<Array<Maybe<Scalars["Int"]>>>;
7745
- };
7746
-
7747
7576
  /** Station occupancy for each weekday and hour. */
7748
7577
  export type StationPredictedOccupancy = {
7749
7578
  /** Number of weekday from 1 (monday) to 7 (sunday). */
@@ -8566,14 +8395,6 @@ export type VehicleConnectorcharge_speedArgs = {
8566
8395
  unit?: Maybe<ChargeSpeedUnit>;
8567
8396
  };
8568
8397
 
8569
- /** The consumption of the vehicle. */
8570
- export type VehicleConsumptionInput = {
8571
- /** Worst conditions are based on -10°C and use of heating. */
8572
- worst?: Maybe<Scalars["Float"]>;
8573
- /** Best conditions are based on 23°C and no use of A/C. */
8574
- best?: Maybe<Scalars["Float"]>;
8575
- };
8576
-
8577
8398
  export type VehicleData = {
8578
8399
  /** Battery data */
8579
8400
  battery?: Maybe<ConnectBattery>;
@@ -8585,13 +8406,6 @@ export type VehicleData = {
8585
8406
  odometer?: Maybe<ConnectOdometer>;
8586
8407
  };
8587
8408
 
8588
- export enum VehicleDataProvider {
8589
- /** Internal data provider. */
8590
- CHARGETRIP = "chargetrip",
8591
- /** EV database data provider. */
8592
- EVDATABASE = "evdatabase"
8593
- }
8594
-
8595
8409
  export type VehicleDrivetrain = {
8596
8410
  /** Type of drivetrain. */
8597
8411
  type: VehicleDrivetrainType;
@@ -8665,14 +8479,6 @@ export enum VehicleImageType {
8665
8479
  PLACEHOLDER = "placeholder"
8666
8480
  }
8667
8481
 
8668
- /** When uploading images to a vehicle, you can select one of this types. The rest of the types are automatically generated by the system. */
8669
- export enum VehicleImageTypeUploadable {
8670
- /** Freemium vehicle image. */
8671
- IMAGE = "image",
8672
- /** Premium vehicle image. */
8673
- IMAGE_PREMIUM = "image_premium"
8674
- }
8675
-
8676
8482
  /** The output element of the vehicleList query. */
8677
8483
  export type VehicleList = {
8678
8484
  /** Vehicles unique ID. */
@@ -8835,16 +8641,6 @@ export type VehicleMedia = {
8835
8641
  video_list?: Maybe<Array<VehicleVideo>>;
8836
8642
  };
8837
8643
 
8838
- /** Mode (state) of the current production. */
8839
- export enum VehicleMode {
8840
- /** Old vehicle that is no longer manufactured. */
8841
- INDEX_ONLY = "index_only",
8842
- /** Vehicle is in production and has been released. */
8843
- PRODUCTION = "production",
8844
- /** Future releases of a vehicle, a concept of the vehicle, specs may change over time. */
8845
- CONCEPT = "concept"
8846
- }
8847
-
8848
8644
  /** Vehicle model data. */
8849
8645
  export type VehicleModel = {
8850
8646
  /** Vehicle model name. */
@@ -9562,15 +9358,6 @@ export type VehiclePremiumPerformancetop_speedArgs = {
9562
9358
  unit?: Maybe<SpeedUnit>;
9563
9359
  };
9564
9360
 
9565
- export type VehiclePremiumPrice = {
9566
- /** Starting price for German market. */
9567
- DE?: Maybe<VehiclePremiumPriceValueWithGrant>;
9568
- /** Starting price for Dutch market. */
9569
- NL?: Maybe<VehiclePremiumPriceValueWithGrant>;
9570
- /** Starting price for British market. */
9571
- GB?: Maybe<VehiclePremiumPriceValueWithGrant>;
9572
- };
9573
-
9574
9361
  export type VehiclePremiumPriceValueWithGrant = {
9575
9362
  /** Starting price for the local market. The value applies to the optional `country` field provided in the query input. If `country` is not specified, it defaults to the Dutch market price. If the unit argument is not provided, the value is returned in the local currency of the selected country. */
9576
9363
  value?: Maybe<Scalars["Float"]>;
@@ -9719,18 +9506,6 @@ export enum VehiclePropulsion {
9719
9506
  REAR = "Rear"
9720
9507
  }
9721
9508
 
9722
- /** Status of a vehicle provider. */
9723
- export enum VehicleProviderStatus {
9724
- /** Is imported from any of the data providers. */
9725
- NEW = "new",
9726
- /** Has been attached to core vehicle. */
9727
- ATTACHED = "attached",
9728
- /** Has been detached from a core vehicle. */
9729
- DETACHED = "detached",
9730
- /** Has been archived by database maintainer. */
9731
- ARCHIVED = "archived"
9732
- }
9733
-
9734
9509
  export enum VehiclePurpose {
9735
9510
  /** Vehicle intended for the transportation of passengers. */
9736
9511
  PASSENGER = "passenger",