@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.
@@ -19,23 +19,15 @@ export declare type Scalars = {
19
19
  Float: number;
20
20
  /** The date and time scalar. */
21
21
  DateTime: string;
22
- /** Email address scalar, email regex with HTML sanitization. */
23
- Email: any;
24
22
  /** Any JSON object or array. */
25
23
  JSON: {
26
24
  [key: string]: number | string | boolean | null | Scalars["JSON"];
27
25
  };
28
- /** The non empty string scalar. */
29
- NonEmptyString: any;
30
- /** 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. */
31
- PlainID: any;
32
26
  /**
33
27
  * The `PlainString` scalar type represents textual data, represented as UTF-8 character sequences.
34
28
  * The PlainString type represents free-form human-readable text with HTML sanitization.
35
29
  */
36
30
  PlainString: any;
37
- /** The File Upload scalar. */
38
- Upload: any;
39
31
  };
40
32
  export declare enum AccelerationUnit {
41
33
  /** Return the acceleration in seconds to 100 kilometers per hour. */
@@ -88,16 +80,6 @@ export declare type Address = {
88
80
  /** Human-readable address of the location. */
89
81
  formatted_address?: Maybe<Array<Maybe<Scalars["String"]>>>;
90
82
  };
91
- export declare enum AdhocAuthorisationMethod {
92
- CREDIT_CARD = "CREDIT_CARD",
93
- DEBIT_CARD = "DEBIT_CARD",
94
- OTHER = "OTHER",
95
- OTHER_APPLE_PAY = "OTHER_Apple_Pay",
96
- OTHER_AUTHENTICATION_BY_CAR = "OTHER_Authentication_by_car",
97
- OTHER_GOOGLE_PAY = "OTHER_Google_Pay",
98
- QR_CODE = "QR_CODE",
99
- SMS = "SMS"
100
- }
101
83
  /** Input fields to continue the navigation session to the next leg. */
102
84
  export declare type AdvanceNavigationLegInput = {
103
85
  /** The unique identifier of the active navigation session. */
@@ -1814,15 +1796,6 @@ export declare type FeatureMultiPolygon = {
1814
1796
  properties?: Maybe<PolygonProperties>;
1815
1797
  };
1816
1798
  /** A GeoJSON Feature<Point>. */
1817
- export declare type FeatureMultiPolygonPoint = {
1818
- /** Feature type. */
1819
- type: FeatureType;
1820
- /** Geometry of the feature. */
1821
- geometry: Point;
1822
- /** Optional object where you can store custom data you need in your application. */
1823
- properties?: Maybe<Scalars["JSON"]>;
1824
- };
1825
- /** A GeoJSON Feature<Point>. */
1826
1799
  export declare type FeaturePoint = {
1827
1800
  /** Feature ID. */
1828
1801
  id?: Maybe<Scalars["String"]>;
@@ -1854,16 +1827,11 @@ export declare type FeaturePointPolygonInput = {
1854
1827
  properties?: Maybe<FeaturePointPolygonPropertiesInput>;
1855
1828
  };
1856
1829
  /** Properties for Feature<Point> input. */
1857
- export declare type FeaturePointPolygonProperties = {
1858
- /** Name of the location. */
1859
- name?: Maybe<Scalars["String"]>;
1860
- };
1861
- /** Properties for Feature<Point> input. */
1862
1830
  export declare type FeaturePointPolygonPropertiesInput = {
1863
1831
  /** Name of the location. */
1864
1832
  name?: Maybe<Scalars["String"]>;
1865
1833
  };
1866
- /** GeoJSON Feature type. */
1834
+ /** GeoJSON Feature type */
1867
1835
  export declare enum FeatureType {
1868
1836
  FEATURE = "Feature"
1869
1837
  }
@@ -2616,12 +2584,6 @@ export declare type MatchedRouteVehicleCharging = {
2616
2584
  /** Supported adapters. If not specified, adapters will not be considered. */
2617
2585
  adapters: Array<RouteVehicleChargingConnector>;
2618
2586
  };
2619
- export declare type MatchedRouteVehicleChargingConnector = {
2620
- /** Type of the plug. */
2621
- standard: ConnectorType;
2622
- /** Maximum charging speed for this plug. */
2623
- maximum_charge_speed: ChargeSpeed;
2624
- };
2625
2587
  export declare type MatchedRouteVehicleChargingConnectorInput = {
2626
2588
  /** Plug type. */
2627
2589
  standard: ConnectorType;
@@ -3245,91 +3207,6 @@ export declare enum OCPIConnectorFormat {
3245
3207
  /** The connector is an attached cable; the EV users car needs to have a fitting inlet. */
3246
3208
  CABLE = "CABLE"
3247
3209
  }
3248
- /** Socket or plug standard of the charging point. */
3249
- export declare enum OCPIConnectorType {
3250
- /** The connector type is CHAdeMO, DC */
3251
- CHADEMO = "CHADEMO",
3252
- /** Standard/domestic household, type "A", NEMA 1-15, 2 pins */
3253
- DOMESTIC_A = "DOMESTIC_A",
3254
- /** Standard/domestic household, type "B", NEMA 5-15, 3 pins */
3255
- DOMESTIC_B = "DOMESTIC_B",
3256
- /** Standard/domestic household, type "C", CEE 7/17, 2 pins */
3257
- DOMESTIC_C = "DOMESTIC_C",
3258
- /** Standard/domestic household, type "D", 3 pins */
3259
- DOMESTIC_D = "DOMESTIC_D",
3260
- /** Standard/domestic household, type "E", CEE 7/5 3 pins */
3261
- DOMESTIC_E = "DOMESTIC_E",
3262
- /** Standard/domestic household, type "F", CEE 7/4, Schuko, 3 pins */
3263
- DOMESTIC_F = "DOMESTIC_F",
3264
- /** Standard/domestic household, type "G", BS 1363, Commonwealth, 3 pins */
3265
- DOMESTIC_G = "DOMESTIC_G",
3266
- /** Standard/domestic household, type "H", SI-32, 3 pins */
3267
- DOMESTIC_H = "DOMESTIC_H",
3268
- /** Standard/domestic household, type "I", AS 3112, 3 pins */
3269
- DOMESTIC_I = "DOMESTIC_I",
3270
- /** Standard/domestic household, type "J", SEV 1011, 3 pins */
3271
- DOMESTIC_J = "DOMESTIC_J",
3272
- /** Standard/domestic household, type "K", DS 60884-2-D1, 3 pins */
3273
- DOMESTIC_K = "DOMESTIC_K",
3274
- /** Standard/domestic household, type "L", CEI 23-16-VII, 3 pins */
3275
- DOMESTIC_L = "DOMESTIC_L",
3276
- /** Standard/Domestic household, type "M", BS 546, 3 pins */
3277
- DOMESTIC_M = "DOMESTIC_M",
3278
- /** Standard/Domestic household, type "N", NBR 14136, 3 pins */
3279
- DOMESTIC_N = "DOMESTIC_N",
3280
- /** Standard/Domestic household, type "O", TIS 166-2549, 3 pins */
3281
- DOMESTIC_O = "DOMESTIC_O",
3282
- /** IEC 60309-2 Industrial connector single phase 16 amperes (usually blue) */
3283
- IEC_60309_2_SINGLE_16 = "IEC_60309_2_single_16",
3284
- /** IEC 60309-2 Industrial connector three phase 16 amperes (usually red) */
3285
- IEC_60309_2_THREE_16 = "IEC_60309_2_three_16",
3286
- /** IEC 60309-2 Industrial connector three phase 32 amperes (usually red) */
3287
- IEC_60309_2_THREE_32 = "IEC_60309_2_three_32",
3288
- /** IEC 60309-2 Industrial connector three phase 64 amperes (usually red) */
3289
- IEC_60309_2_THREE_64 = "IEC_60309_2_three_64",
3290
- /** IEC 62196 Type 1 "SAE J1772" */
3291
- IEC_62196_T1 = "IEC_62196_T1",
3292
- /** Combo Type 1 based, DC */
3293
- IEC_62196_T1_COMBO = "IEC_62196_T1_COMBO",
3294
- /** IEC 62196 Type 2 "Mennekes" */
3295
- IEC_62196_T2 = "IEC_62196_T2",
3296
- /** Combo Type 2 based, DC */
3297
- IEC_62196_T2_COMBO = "IEC_62196_T2_COMBO",
3298
- /** IEC 62196 Type 3A */
3299
- IEC_62196_T3A = "IEC_62196_T3A",
3300
- /** IEC 62196 Type 3C "Scame" */
3301
- IEC_62196_T3C = "IEC_62196_T3C",
3302
- /** On-board bottom-up-pantograph typically for bus charging */
3303
- PANTOGRAPH_BOTTOM_UP = "PANTOGRAPH_BOTTOM_UP",
3304
- /** Off-board top-down-pantograph typically for bus charging */
3305
- PANTOGRAPH_TOP_DOWN = "PANTOGRAPH_TOP_DOWN",
3306
- /** Tesla connector "Roadster"-type (round, 4 pins) */
3307
- TESLA_R = "TESLA_R",
3308
- /** Tesla connector "Model-S"-type (oval, 5 pins) */
3309
- TESLA_S = "TESLA_S",
3310
- /** The connector type is GB_T (Chinese standard), DC */
3311
- GB_T = "GB_T",
3312
- /** The ChaoJi connector. The new generation charging connector, harmonized between CHAdeMO and GB/T. DC. */
3313
- CHAOJI = "CHAOJI",
3314
- /** The connector type is NEMA 5-20, 3 pins */
3315
- NEMA_5_20 = "NEMA_5_20",
3316
- /** The connector type is NEMA 6-30, 3 pins */
3317
- NEMA_6_30 = "NEMA_6_30",
3318
- /** The connector type is NEMA 6-50, 3 pins */
3319
- NEMA_6_50 = "NEMA_6_50",
3320
- /** The connector type is NEMA 10-30, 3 pins */
3321
- NEMA_10_30 = "NEMA_10_30",
3322
- /** The connector type is NEMA 10-50, 3 pins */
3323
- NEMA_10_50 = "NEMA_10_50",
3324
- /** The connector type is NEMA 14-30, 3 pins, rating of 30 A */
3325
- NEMA_14_30 = "NEMA_14_30",
3326
- /** The connector type is NEMA 14-50, 3 pins, rating of 50 A */
3327
- NEMA_14_50 = "NEMA_14_50",
3328
- /** Guobiao GB/T 20234.2 AC socket/connector. */
3329
- GBT_AC = "GBT_AC",
3330
- /** Guobiao GB/T 20234.3 DC connector. */
3331
- GBT_DC = "GBT_DC"
3332
- }
3333
3210
  export declare enum OCPIDayOfWeek {
3334
3211
  MONDAY = "MONDAY",
3335
3212
  TUESDAY = "TUESDAY",
@@ -4043,7 +3920,7 @@ export declare type Query = {
4043
3920
  navigation?: Maybe<Navigation>;
4044
3921
  /** Get a full list of operators. */
4045
3922
  operatorList?: Maybe<Array<Maybe<Operator>>>;
4046
- /** Get information about an operator by its ID. */
3923
+ /** Get information about an operator by its internal or external ID. Always specify exactly one of the IDs. */
4047
3924
  operator?: Maybe<Operator>;
4048
3925
  /** Get all reviews of a station by the station ID. */
4049
3926
  reviewList?: Maybe<Array<Review>>;
@@ -4130,7 +4007,8 @@ export declare type QueryoperatorListArgs = {
4130
4007
  page?: Maybe<Scalars["Int"]>;
4131
4008
  };
4132
4009
  export declare type QueryoperatorArgs = {
4133
- id: Scalars["ID"];
4010
+ id?: Maybe<Scalars["ID"]>;
4011
+ external_id?: Maybe<Scalars["ID"]>;
4134
4012
  };
4135
4013
  export declare type QueryreviewListArgs = {
4136
4014
  stationId: Scalars["ID"];
@@ -4517,19 +4395,6 @@ export declare type ReviewAdd = {
4517
4395
  /** Boolean tags for a station review. */
4518
4396
  tags?: Maybe<ReviewTagsInput>;
4519
4397
  };
4520
- /** Form input for edit an existing review. */
4521
- export declare type ReviewEdit = {
4522
- /** Rating of a review. */
4523
- rating: Scalars["Int"];
4524
- /** Review message. */
4525
- message?: Maybe<Scalars["String"]>;
4526
- /** Locale of a message. */
4527
- locale?: Maybe<Scalars["String"]>;
4528
- /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer. */
4529
- properties?: Maybe<Scalars["JSON"]>;
4530
- /** Boolean tags for a station review. */
4531
- tags?: Maybe<ReviewTagsInput>;
4532
- };
4533
4398
  /** Statistical information for reviews of a station. */
4534
4399
  export declare type ReviewStats = {
4535
4400
  /** Average of all reviews. */
@@ -4774,8 +4639,10 @@ export declare type RouteDetailsAlternativeStation = {
4774
4639
  id: Scalars["ID"];
4775
4640
  /** GeoJSON location of a station. */
4776
4641
  location: Point;
4777
- /** Speed of a station. A station along a route can be either fast or turbo. */
4642
+ /** Charging speed classification of the station. Based on station's highest-powered EVSE and independent of vehicle connector compatibility. */
4778
4643
  speed: StationSpeedType;
4644
+ /** The maximum power, in kilowatts (kW), available for the vehicle at this station based on its compatible connectors. */
4645
+ maximum_power: Scalars["Float"];
4779
4646
  /** Status of a station. */
4780
4647
  status: ChargerStatus;
4781
4648
  /** 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. */
@@ -5486,10 +5353,6 @@ export declare type RouteLeg = {
5486
5353
  export declare type RouteLegpolylineArgs = {
5487
5354
  decimals?: Maybe<Scalars["Int"]>;
5488
5355
  };
5489
- export declare type RouteLegMeta = {
5490
- /** Warnings that certain conditions specified in a route mutation are not respected. */
5491
- warnings: Array<RouteMetaWarning>;
5492
- };
5493
5356
  export declare type RouteLegOperationalElectricityEmissions = {
5494
5357
  /** Total electricity emissions. */
5495
5358
  total: Scalars["Float"];
@@ -5552,18 +5415,6 @@ export declare type RouteLegOperationalElectricityEmissionsIntensitytotalArgs =
5552
5415
  export declare type RouteLegOperationalElectricityEmissionsIntensityinfrastructureArgs = {
5553
5416
  unit?: Maybe<EmissionUnit>;
5554
5417
  };
5555
- export declare type RouteMeta = {
5556
- /** Warnings that certain conditions specified in a route mutation are not respected. */
5557
- warnings: Array<RouteMetaWarning>;
5558
- };
5559
- export declare type RouteMetaWarning = {
5560
- /** Static identifier, can be used for production purposes such as i18n. */
5561
- code: Scalars["String"];
5562
- /** Human readable explanation of the warning, for development purposes. */
5563
- message: Scalars["String"];
5564
- /** Optional JSON object containing data explaining the warning, for development purposes. */
5565
- data?: Maybe<Scalars["JSON"]>;
5566
- };
5567
5418
  export declare type RouteMetadata = {
5568
5419
  /** Refers to the x-app-id specified in the headers. */
5569
5420
  app_id: Scalars["ID"];
@@ -6773,10 +6624,6 @@ export declare type SolarIrradianceInput = {
6773
6624
  export declare enum SolarIrradianceUnit {
6774
6625
  WATTS_PER_SQUARE_METER = "watts_per_square_meter"
6775
6626
  }
6776
- export declare enum SortDirection {
6777
- ASCENDING = "ascending",
6778
- DESCENDING = "descending"
6779
- }
6780
6627
  export declare enum SpeedUnit {
6781
6628
  /** Return the speed in kilometers per hour. */
6782
6629
  KILOMETERS_PER_HOUR = "kilometers_per_hour",
@@ -7062,13 +6909,6 @@ export declare type StationListQuery = {
7062
6909
  /** Exact name. */
7063
6910
  name?: Maybe<Scalars["String"]>;
7064
6911
  };
7065
- /** Station availability for each weekday and hour. */
7066
- export declare type StationPredictedAvailability = {
7067
- /** Number of weekday from 1 (monday) to 7 (sunday). */
7068
- weekday?: Maybe<Scalars["Int"]>;
7069
- /** The prediction for each hour 0-23 from 1 to 5 (1 - very busy ... 5 very quiet (free)). */
7070
- prediction?: Maybe<Array<Maybe<Scalars["Int"]>>>;
7071
- };
7072
6912
  /** Station occupancy for each weekday and hour. */
7073
6913
  export declare type StationPredictedOccupancy = {
7074
6914
  /** Number of weekday from 1 (monday) to 7 (sunday). */
@@ -7798,13 +7638,6 @@ export declare type VehicleConnectorspeedArgs = {
7798
7638
  export declare type VehicleConnectorcharge_speedArgs = {
7799
7639
  unit?: Maybe<ChargeSpeedUnit>;
7800
7640
  };
7801
- /** The consumption of the vehicle. */
7802
- export declare type VehicleConsumptionInput = {
7803
- /** Worst conditions are based on -10°C and use of heating. */
7804
- worst?: Maybe<Scalars["Float"]>;
7805
- /** Best conditions are based on 23°C and no use of A/C. */
7806
- best?: Maybe<Scalars["Float"]>;
7807
- };
7808
7641
  export declare type VehicleData = {
7809
7642
  /** Battery data */
7810
7643
  battery?: Maybe<ConnectBattery>;
@@ -7815,12 +7648,6 @@ export declare type VehicleData = {
7815
7648
  /** Odometer data */
7816
7649
  odometer?: Maybe<ConnectOdometer>;
7817
7650
  };
7818
- export declare enum VehicleDataProvider {
7819
- /** Internal data provider. */
7820
- CHARGETRIP = "chargetrip",
7821
- /** EV database data provider. */
7822
- EVDATABASE = "evdatabase"
7823
- }
7824
7651
  export declare type VehicleDrivetrain = {
7825
7652
  /** Type of drivetrain. */
7826
7653
  type: VehicleDrivetrainType;
@@ -7888,13 +7715,6 @@ export declare enum VehicleImageType {
7888
7715
  /** Placeholder image at 1536x864 px. */
7889
7716
  PLACEHOLDER = "placeholder"
7890
7717
  }
7891
- /** When uploading images to a vehicle, you can select one of this types. The rest of the types are automatically generated by the system. */
7892
- export declare enum VehicleImageTypeUploadable {
7893
- /** Freemium vehicle image. */
7894
- IMAGE = "image",
7895
- /** Premium vehicle image. */
7896
- IMAGE_PREMIUM = "image_premium"
7897
- }
7898
7718
  /** The output element of the vehicleList query. */
7899
7719
  export declare type VehicleList = {
7900
7720
  /** Vehicles unique ID. */
@@ -8044,15 +7864,6 @@ export declare type VehicleMedia = {
8044
7864
  /** All videos of the vehicle. */
8045
7865
  video_list?: Maybe<Array<VehicleVideo>>;
8046
7866
  };
8047
- /** Mode (state) of the current production. */
8048
- export declare enum VehicleMode {
8049
- /** Old vehicle that is no longer manufactured. */
8050
- INDEX_ONLY = "index_only",
8051
- /** Vehicle is in production and has been released. */
8052
- PRODUCTION = "production",
8053
- /** Future releases of a vehicle, a concept of the vehicle, specs may change over time. */
8054
- CONCEPT = "concept"
8055
- }
8056
7867
  /** Vehicle model data. */
8057
7868
  export declare type VehicleModel = {
8058
7869
  /** Vehicle model name. */
@@ -8685,14 +8496,6 @@ export declare type VehiclePremiumPerformanceaccelerationArgs = {
8685
8496
  export declare type VehiclePremiumPerformancetop_speedArgs = {
8686
8497
  unit?: Maybe<SpeedUnit>;
8687
8498
  };
8688
- export declare type VehiclePremiumPrice = {
8689
- /** Starting price for German market. */
8690
- DE?: Maybe<VehiclePremiumPriceValueWithGrant>;
8691
- /** Starting price for Dutch market. */
8692
- NL?: Maybe<VehiclePremiumPriceValueWithGrant>;
8693
- /** Starting price for British market. */
8694
- GB?: Maybe<VehiclePremiumPriceValueWithGrant>;
8695
- };
8696
8499
  export declare type VehiclePremiumPriceValueWithGrant = {
8697
8500
  /** 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. */
8698
8501
  value?: Maybe<Scalars["Float"]>;
@@ -8822,17 +8625,6 @@ export declare enum VehiclePropulsion {
8822
8625
  /** Rear-wheel drive vehicle. */
8823
8626
  REAR = "Rear"
8824
8627
  }
8825
- /** Status of a vehicle provider. */
8826
- export declare enum VehicleProviderStatus {
8827
- /** Is imported from any of the data providers. */
8828
- NEW = "new",
8829
- /** Has been attached to core vehicle. */
8830
- ATTACHED = "attached",
8831
- /** Has been detached from a core vehicle. */
8832
- DETACHED = "detached",
8833
- /** Has been archived by database maintainer. */
8834
- ARCHIVED = "archived"
8835
- }
8836
8628
  export declare enum VehiclePurpose {
8837
8629
  /** Vehicle intended for the transportation of passengers. */
8838
8630
  PASSENGER = "passenger",