@chargetrip/types 1.34.0 → 1.35.1
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/CHANGELOG.md +16 -0
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +7 -7
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +7 -7
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +5 -5
- package/graphql.schema.json +19 -19
- package/package.json +4 -1
- package/src/graphql.ts +6 -6
package/dist/ts/graphql.d.ts
CHANGED
|
@@ -382,6 +382,9 @@ export declare type CarBody = {
|
|
|
382
382
|
/** Number of seats */
|
|
383
383
|
seats?: Maybe<Scalars["Int"]>;
|
|
384
384
|
};
|
|
385
|
+
export declare enum CarConnectivityProvider {
|
|
386
|
+
ENODE = "Enode"
|
|
387
|
+
}
|
|
385
388
|
/** Deprecated */
|
|
386
389
|
export declare type CarConsumption = {
|
|
387
390
|
/** Worst conditions are based on -10°C and use of heating */
|
|
@@ -1489,7 +1492,7 @@ export declare type ConnectedVehicle = {
|
|
|
1489
1492
|
/** URL to connect the vehicle to the connectivity provider */
|
|
1490
1493
|
authorization_url?: Maybe<Scalars["String"]>;
|
|
1491
1494
|
/** Connectivity provider */
|
|
1492
|
-
provider:
|
|
1495
|
+
provider: CarConnectivityProvider;
|
|
1493
1496
|
/** Scope for accessing the vehicle */
|
|
1494
1497
|
scope?: Maybe<Array<Maybe<ConnectScope>>>;
|
|
1495
1498
|
/** Custom label for a connected vehicle that can be assigned by a user */
|
|
@@ -1935,7 +1938,7 @@ export declare type CreateConnectedVehicleInput = {
|
|
|
1935
1938
|
/** Id from the vehicle */
|
|
1936
1939
|
vehicle_id: Scalars["ID"];
|
|
1937
1940
|
/** Connectivity provider used to retrieve data from the vehicle */
|
|
1938
|
-
provider:
|
|
1941
|
+
provider: CarConnectivityProvider;
|
|
1939
1942
|
/** Label for a connected vehicle */
|
|
1940
1943
|
label?: Maybe<Scalars["PlainString"]>;
|
|
1941
1944
|
/** Provider specific options. See the developer portal for more details */
|
|
@@ -4609,9 +4612,6 @@ export declare type VehicleBodyWeightnominalArgs = {
|
|
|
4609
4612
|
export declare type VehicleBodyWeightmaximalArgs = {
|
|
4610
4613
|
unit?: Maybe<WeightUnit>;
|
|
4611
4614
|
};
|
|
4612
|
-
export declare enum VehicleConnectivityProvider {
|
|
4613
|
-
ENODE = "Enode"
|
|
4614
|
-
}
|
|
4615
4615
|
/** Vehicle plug model */
|
|
4616
4616
|
export declare type VehicleConnector = {
|
|
4617
4617
|
/** Connector type, known as connector standard in OCPI */
|
package/graphql.schema.json
CHANGED
|
@@ -1563,6 +1563,23 @@
|
|
|
1563
1563
|
"enumValues": null,
|
|
1564
1564
|
"possibleTypes": null
|
|
1565
1565
|
},
|
|
1566
|
+
{
|
|
1567
|
+
"kind": "ENUM",
|
|
1568
|
+
"name": "CarConnectivityProvider",
|
|
1569
|
+
"description": null,
|
|
1570
|
+
"fields": null,
|
|
1571
|
+
"inputFields": null,
|
|
1572
|
+
"interfaces": null,
|
|
1573
|
+
"enumValues": [
|
|
1574
|
+
{
|
|
1575
|
+
"name": "Enode",
|
|
1576
|
+
"description": null,
|
|
1577
|
+
"isDeprecated": false,
|
|
1578
|
+
"deprecationReason": null
|
|
1579
|
+
}
|
|
1580
|
+
],
|
|
1581
|
+
"possibleTypes": null
|
|
1582
|
+
},
|
|
1566
1583
|
{
|
|
1567
1584
|
"kind": "OBJECT",
|
|
1568
1585
|
"name": "CarConsumption",
|
|
@@ -7283,7 +7300,7 @@
|
|
|
7283
7300
|
"name": null,
|
|
7284
7301
|
"ofType": {
|
|
7285
7302
|
"kind": "ENUM",
|
|
7286
|
-
"name": "
|
|
7303
|
+
"name": "CarConnectivityProvider",
|
|
7287
7304
|
"ofType": null
|
|
7288
7305
|
}
|
|
7289
7306
|
},
|
|
@@ -9576,7 +9593,7 @@
|
|
|
9576
9593
|
"name": null,
|
|
9577
9594
|
"ofType": {
|
|
9578
9595
|
"kind": "ENUM",
|
|
9579
|
-
"name": "
|
|
9596
|
+
"name": "CarConnectivityProvider",
|
|
9580
9597
|
"ofType": null
|
|
9581
9598
|
}
|
|
9582
9599
|
},
|
|
@@ -24242,23 +24259,6 @@
|
|
|
24242
24259
|
"enumValues": null,
|
|
24243
24260
|
"possibleTypes": null
|
|
24244
24261
|
},
|
|
24245
|
-
{
|
|
24246
|
-
"kind": "ENUM",
|
|
24247
|
-
"name": "VehicleConnectivityProvider",
|
|
24248
|
-
"description": null,
|
|
24249
|
-
"fields": null,
|
|
24250
|
-
"inputFields": null,
|
|
24251
|
-
"interfaces": null,
|
|
24252
|
-
"enumValues": [
|
|
24253
|
-
{
|
|
24254
|
-
"name": "Enode",
|
|
24255
|
-
"description": null,
|
|
24256
|
-
"isDeprecated": false,
|
|
24257
|
-
"deprecationReason": null
|
|
24258
|
-
}
|
|
24259
|
-
],
|
|
24260
|
-
"possibleTypes": null
|
|
24261
|
-
},
|
|
24262
24262
|
{
|
|
24263
24263
|
"kind": "OBJECT",
|
|
24264
24264
|
"name": "VehicleConnector",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chargetrip/types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.35.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"chargetrip",
|
|
@@ -24,6 +24,9 @@
|
|
|
24
24
|
"access": "public"
|
|
25
25
|
},
|
|
26
26
|
"release": {
|
|
27
|
+
"branches": [
|
|
28
|
+
"main"
|
|
29
|
+
],
|
|
27
30
|
"plugins": [
|
|
28
31
|
"@semantic-release/commit-analyzer",
|
|
29
32
|
"@semantic-release/release-notes-generator",
|
package/src/graphql.ts
CHANGED
|
@@ -398,6 +398,10 @@ export type CarBody = {
|
|
|
398
398
|
seats?: Maybe<Scalars["Int"]>;
|
|
399
399
|
};
|
|
400
400
|
|
|
401
|
+
export enum CarConnectivityProvider {
|
|
402
|
+
ENODE = "Enode"
|
|
403
|
+
}
|
|
404
|
+
|
|
401
405
|
/** Deprecated */
|
|
402
406
|
export type CarConsumption = {
|
|
403
407
|
/** Worst conditions are based on -10°C and use of heating */
|
|
@@ -1591,7 +1595,7 @@ export type ConnectedVehicle = {
|
|
|
1591
1595
|
/** URL to connect the vehicle to the connectivity provider */
|
|
1592
1596
|
authorization_url?: Maybe<Scalars["String"]>;
|
|
1593
1597
|
/** Connectivity provider */
|
|
1594
|
-
provider:
|
|
1598
|
+
provider: CarConnectivityProvider;
|
|
1595
1599
|
/** Scope for accessing the vehicle */
|
|
1596
1600
|
scope?: Maybe<Array<Maybe<ConnectScope>>>;
|
|
1597
1601
|
/** Custom label for a connected vehicle that can be assigned by a user */
|
|
@@ -2046,7 +2050,7 @@ export type CreateConnectedVehicleInput = {
|
|
|
2046
2050
|
/** Id from the vehicle */
|
|
2047
2051
|
vehicle_id: Scalars["ID"];
|
|
2048
2052
|
/** Connectivity provider used to retrieve data from the vehicle */
|
|
2049
|
-
provider:
|
|
2053
|
+
provider: CarConnectivityProvider;
|
|
2050
2054
|
/** Label for a connected vehicle */
|
|
2051
2055
|
label?: Maybe<Scalars["PlainString"]>;
|
|
2052
2056
|
/** Provider specific options. See the developer portal for more details */
|
|
@@ -4970,10 +4974,6 @@ export type VehicleBodyWeightmaximalArgs = {
|
|
|
4970
4974
|
unit?: Maybe<WeightUnit>;
|
|
4971
4975
|
};
|
|
4972
4976
|
|
|
4973
|
-
export enum VehicleConnectivityProvider {
|
|
4974
|
-
ENODE = "Enode"
|
|
4975
|
-
}
|
|
4976
|
-
|
|
4977
4977
|
/** Vehicle plug model */
|
|
4978
4978
|
export type VehicleConnector = {
|
|
4979
4979
|
/** Connector type, known as connector standard in OCPI */
|