spotcharge-types 1.0.307 → 1.0.308
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChargerAllowedMode,
|
|
1
|
+
import { ChargerAllowedMode, ChargerStatus, ChargerType } from "../../enum";
|
|
2
2
|
import { AddressApiModel } from "./address.api.model";
|
|
3
3
|
import { CreatedByModel } from "../created-by.model";
|
|
4
4
|
import { Timestamp } from "../timestamp";
|
|
@@ -13,21 +13,15 @@ export interface ChargerApiModel {
|
|
|
13
13
|
chargerId: string;
|
|
14
14
|
chargerPhysicalState: string;
|
|
15
15
|
chargerOperationalState: string;
|
|
16
|
-
isCmsV2: boolean;
|
|
17
16
|
type: ChargerType;
|
|
18
|
-
pointType: PointType;
|
|
19
17
|
location: AddressApiModel;
|
|
20
18
|
connectors: Record<string, ConnectorModel>;
|
|
21
19
|
gst: GstModel;
|
|
22
20
|
protocol: string;
|
|
23
|
-
|
|
24
|
-
chargerVisibility: ChargerLocationType[];
|
|
25
|
-
allowedModes?: ChargerAllowedMode[];
|
|
21
|
+
allowedModes: ChargerAllowedMode[];
|
|
26
22
|
accessNote?: string;
|
|
27
23
|
purchaseRate: number;
|
|
28
|
-
active: boolean;
|
|
29
24
|
isServiceChargeApplicable: boolean;
|
|
30
|
-
maintenanceMode: boolean;
|
|
31
25
|
vendor: VendorModel;
|
|
32
26
|
status: ChargerStatus;
|
|
33
27
|
createdBy: CreatedByModel;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"charger.api.model.d.ts","sourceRoot":"","sources":["../../../src/models/api/charger.api.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,
|
|
1
|
+
{"version":3,"file":"charger.api.model.d.ts","sourceRoot":"","sources":["../../../src/models/api/charger.api.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAuB,aAAa,EAAE,WAAW,EAAY,MA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AE,MAAM,CAAC;KACf,CAAC;IACF,YAAY,EAAE,MAAM,CAAC;IAErB,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B"}
|
package/package.json
CHANGED
|
@@ -14,23 +14,15 @@ export interface ChargerApiModel {
|
|
|
14
14
|
chargerId: string;
|
|
15
15
|
chargerPhysicalState: string;
|
|
16
16
|
chargerOperationalState: string;
|
|
17
|
-
isCmsV2: boolean;
|
|
18
17
|
type: ChargerType;
|
|
19
|
-
pointType: PointType;
|
|
20
18
|
location: AddressApiModel;
|
|
21
19
|
connectors: Record<string, ConnectorModel>;
|
|
22
20
|
gst: GstModel;
|
|
23
21
|
protocol: string;
|
|
24
|
-
|
|
25
|
-
chargerLocationType: ChargerLocationType;
|
|
26
|
-
// @deprecated: remove in future
|
|
27
|
-
chargerVisibility: ChargerLocationType[];
|
|
28
|
-
allowedModes?: ChargerAllowedMode[];
|
|
22
|
+
allowedModes: ChargerAllowedMode[];
|
|
29
23
|
accessNote?: string;
|
|
30
24
|
purchaseRate: number;
|
|
31
|
-
active: boolean;
|
|
32
25
|
isServiceChargeApplicable: boolean;
|
|
33
|
-
maintenanceMode: boolean;
|
|
34
26
|
vendor: VendorModel;
|
|
35
27
|
status: ChargerStatus;
|
|
36
28
|
createdBy: CreatedByModel;
|