spotcharge-types 1.0.333 → 1.0.334
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.
|
@@ -17,7 +17,8 @@ export interface ChargerApiModel {
|
|
|
17
17
|
type: ChargerType;
|
|
18
18
|
location: AddressApiModel;
|
|
19
19
|
connectors: Record<string, ConnectorModel>;
|
|
20
|
-
|
|
20
|
+
/** @deprecated GST is configured on the parent station. */
|
|
21
|
+
gst?: GstModel | null;
|
|
21
22
|
protocol: string;
|
|
22
23
|
/** @deprecated Access is defined on the parent station via accessType. */
|
|
23
24
|
allowedModes?: ChargerAllowedMode[];
|
|
@@ -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,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,aAAa,EAAE,WAAW,EAAY,MAAM,YAAY,CAAC;AACpI,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAC,cAAc,EAAC,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AACvC,OAAO,EAAC,cAAc,EAAC,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAC,WAAW,EAAC,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAEhD,MAAM,WAAW,eAAe;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,IAAI,EAAE,WAAW,CAAC;IA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MAAM,CAAC;IACrB,yBAAyB,EAAE,OAAO,CAAC;IACnC,MAAM,EAAE,WAAW,CAAC;IACpB,MAAM,EAAE,aAAa,CAAC;IACtB,SAAS,EAAE,cAAc,CAAC;IAC1B,SAAS,EAAE,cAAc,CAAC;IAC1B,SAAS,EAAE,cAAc,CAAC;IAC1B,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;IAC5B,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE;QACF,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type TaxType = 'CGST_SGST' | 'IGST';
|
|
2
2
|
/**
|
|
3
3
|
* Tax configuration stored at invoice creation time.
|
|
4
|
-
* Contains tax type and rates determined by comparing
|
|
4
|
+
* Contains tax type and rates determined by comparing station state with GST record state.
|
|
5
5
|
*/
|
|
6
6
|
export interface TaxConfigModel {
|
|
7
7
|
taxType: TaxType;
|
package/package.json
CHANGED
|
@@ -18,7 +18,8 @@ export interface ChargerApiModel {
|
|
|
18
18
|
type: ChargerType;
|
|
19
19
|
location: AddressApiModel;
|
|
20
20
|
connectors: Record<string, ConnectorModel>;
|
|
21
|
-
|
|
21
|
+
/** @deprecated GST is configured on the parent station. */
|
|
22
|
+
gst?: GstModel | null;
|
|
22
23
|
protocol: string;
|
|
23
24
|
/** @deprecated Access is defined on the parent station via accessType. */
|
|
24
25
|
allowedModes?: ChargerAllowedMode[];
|
|
@@ -2,7 +2,7 @@ export type TaxType = 'CGST_SGST' | 'IGST';
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Tax configuration stored at invoice creation time.
|
|
5
|
-
* Contains tax type and rates determined by comparing
|
|
5
|
+
* Contains tax type and rates determined by comparing station state with GST record state.
|
|
6
6
|
*/
|
|
7
7
|
export interface TaxConfigModel {
|
|
8
8
|
taxType: TaxType;
|