@chargetrip/types 1.70.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.70.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",
@@ -4913,20 +4785,6 @@ export type ReviewAdd = {
4913
4785
  tags?: Maybe<ReviewTagsInput>;
4914
4786
  };
4915
4787
 
4916
- /** Form input for edit an existing review. */
4917
- export type ReviewEdit = {
4918
- /** Rating of a review. */
4919
- rating: Scalars["Int"];
4920
- /** Review message. */
4921
- message?: Maybe<Scalars["String"]>;
4922
- /** Locale of a message. */
4923
- locale?: Maybe<Scalars["String"]>;
4924
- /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer. */
4925
- properties?: Maybe<Scalars["JSON"]>;
4926
- /** Boolean tags for a station review. */
4927
- tags?: Maybe<ReviewTagsInput>;
4928
- };
4929
-
4930
4788
  /** Statistical information for reviews of a station. */
4931
4789
  export type ReviewStats = {
4932
4790
  /** Average of all reviews. */
@@ -5999,11 +5857,6 @@ export type RouteLegpolylineArgs = {
5999
5857
  decimals?: Maybe<Scalars["Int"]>;
6000
5858
  };
6001
5859
 
6002
- export type RouteLegMeta = {
6003
- /** Warnings that certain conditions specified in a route mutation are not respected. */
6004
- warnings: Array<RouteMetaWarning>;
6005
- };
6006
-
6007
5860
  export type RouteLegOperationalElectricityEmissions = {
6008
5861
  /** Total electricity emissions. */
6009
5862
  total: Scalars["Float"];
@@ -6075,20 +5928,6 @@ export type RouteLegOperationalElectricityEmissionsIntensityinfrastructureArgs =
6075
5928
  unit?: Maybe<EmissionUnit>;
6076
5929
  };
6077
5930
 
6078
- export type RouteMeta = {
6079
- /** Warnings that certain conditions specified in a route mutation are not respected. */
6080
- warnings: Array<RouteMetaWarning>;
6081
- };
6082
-
6083
- export type RouteMetaWarning = {
6084
- /** Static identifier, can be used for production purposes such as i18n. */
6085
- code: Scalars["String"];
6086
- /** Human readable explanation of the warning, for development purposes. */
6087
- message: Scalars["String"];
6088
- /** Optional JSON object containing data explaining the warning, for development purposes. */
6089
- data?: Maybe<Scalars["JSON"]>;
6090
- };
6091
-
6092
5931
  export type RouteMetadata = {
6093
5932
  /** Refers to the x-app-id specified in the headers. */
6094
5933
  app_id: Scalars["ID"];
@@ -7430,11 +7269,6 @@ export enum SolarIrradianceUnit {
7430
7269
  WATTS_PER_SQUARE_METER = "watts_per_square_meter"
7431
7270
  }
7432
7271
 
7433
- export enum SortDirection {
7434
- ASCENDING = "ascending",
7435
- DESCENDING = "descending"
7436
- }
7437
-
7438
7272
  export enum SpeedUnit {
7439
7273
  /** Return the speed in kilometers per hour. */
7440
7274
  KILOMETERS_PER_HOUR = "kilometers_per_hour",
@@ -7739,14 +7573,6 @@ export type StationListQuery = {
7739
7573
  name?: Maybe<Scalars["String"]>;
7740
7574
  };
7741
7575
 
7742
- /** Station availability for each weekday and hour. */
7743
- export type StationPredictedAvailability = {
7744
- /** Number of weekday from 1 (monday) to 7 (sunday). */
7745
- weekday?: Maybe<Scalars["Int"]>;
7746
- /** The prediction for each hour 0-23 from 1 to 5 (1 - very busy ... 5 very quiet (free)). */
7747
- prediction?: Maybe<Array<Maybe<Scalars["Int"]>>>;
7748
- };
7749
-
7750
7576
  /** Station occupancy for each weekday and hour. */
7751
7577
  export type StationPredictedOccupancy = {
7752
7578
  /** Number of weekday from 1 (monday) to 7 (sunday). */
@@ -8569,14 +8395,6 @@ export type VehicleConnectorcharge_speedArgs = {
8569
8395
  unit?: Maybe<ChargeSpeedUnit>;
8570
8396
  };
8571
8397
 
8572
- /** The consumption of the vehicle. */
8573
- export type VehicleConsumptionInput = {
8574
- /** Worst conditions are based on -10°C and use of heating. */
8575
- worst?: Maybe<Scalars["Float"]>;
8576
- /** Best conditions are based on 23°C and no use of A/C. */
8577
- best?: Maybe<Scalars["Float"]>;
8578
- };
8579
-
8580
8398
  export type VehicleData = {
8581
8399
  /** Battery data */
8582
8400
  battery?: Maybe<ConnectBattery>;
@@ -8588,13 +8406,6 @@ export type VehicleData = {
8588
8406
  odometer?: Maybe<ConnectOdometer>;
8589
8407
  };
8590
8408
 
8591
- export enum VehicleDataProvider {
8592
- /** Internal data provider. */
8593
- CHARGETRIP = "chargetrip",
8594
- /** EV database data provider. */
8595
- EVDATABASE = "evdatabase"
8596
- }
8597
-
8598
8409
  export type VehicleDrivetrain = {
8599
8410
  /** Type of drivetrain. */
8600
8411
  type: VehicleDrivetrainType;
@@ -8668,14 +8479,6 @@ export enum VehicleImageType {
8668
8479
  PLACEHOLDER = "placeholder"
8669
8480
  }
8670
8481
 
8671
- /** When uploading images to a vehicle, you can select one of this types. The rest of the types are automatically generated by the system. */
8672
- export enum VehicleImageTypeUploadable {
8673
- /** Freemium vehicle image. */
8674
- IMAGE = "image",
8675
- /** Premium vehicle image. */
8676
- IMAGE_PREMIUM = "image_premium"
8677
- }
8678
-
8679
8482
  /** The output element of the vehicleList query. */
8680
8483
  export type VehicleList = {
8681
8484
  /** Vehicles unique ID. */
@@ -8838,16 +8641,6 @@ export type VehicleMedia = {
8838
8641
  video_list?: Maybe<Array<VehicleVideo>>;
8839
8642
  };
8840
8643
 
8841
- /** Mode (state) of the current production. */
8842
- export enum VehicleMode {
8843
- /** Old vehicle that is no longer manufactured. */
8844
- INDEX_ONLY = "index_only",
8845
- /** Vehicle is in production and has been released. */
8846
- PRODUCTION = "production",
8847
- /** Future releases of a vehicle, a concept of the vehicle, specs may change over time. */
8848
- CONCEPT = "concept"
8849
- }
8850
-
8851
8644
  /** Vehicle model data. */
8852
8645
  export type VehicleModel = {
8853
8646
  /** Vehicle model name. */
@@ -9565,15 +9358,6 @@ export type VehiclePremiumPerformancetop_speedArgs = {
9565
9358
  unit?: Maybe<SpeedUnit>;
9566
9359
  };
9567
9360
 
9568
- export type VehiclePremiumPrice = {
9569
- /** Starting price for German market. */
9570
- DE?: Maybe<VehiclePremiumPriceValueWithGrant>;
9571
- /** Starting price for Dutch market. */
9572
- NL?: Maybe<VehiclePremiumPriceValueWithGrant>;
9573
- /** Starting price for British market. */
9574
- GB?: Maybe<VehiclePremiumPriceValueWithGrant>;
9575
- };
9576
-
9577
9361
  export type VehiclePremiumPriceValueWithGrant = {
9578
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. */
9579
9363
  value?: Maybe<Scalars["Float"]>;
@@ -9722,18 +9506,6 @@ export enum VehiclePropulsion {
9722
9506
  REAR = "Rear"
9723
9507
  }
9724
9508
 
9725
- /** Status of a vehicle provider. */
9726
- export enum VehicleProviderStatus {
9727
- /** Is imported from any of the data providers. */
9728
- NEW = "new",
9729
- /** Has been attached to core vehicle. */
9730
- ATTACHED = "attached",
9731
- /** Has been detached from a core vehicle. */
9732
- DETACHED = "detached",
9733
- /** Has been archived by database maintainer. */
9734
- ARCHIVED = "archived"
9735
- }
9736
-
9737
9509
  export enum VehiclePurpose {
9738
9510
  /** Vehicle intended for the transportation of passengers. */
9739
9511
  PASSENGER = "passenger",