@etainabl/nodejs-sdk 1.3.133 → 1.3.135
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/dist/index.d.cts +17 -16
- package/dist/index.d.ts +17 -16
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1055,7 +1055,7 @@ interface InvoiceValues<DateType = Date | string> {
|
|
|
1055
1055
|
startReadType?: string;
|
|
1056
1056
|
endReadType?: string;
|
|
1057
1057
|
isFinal?: boolean;
|
|
1058
|
-
units?:
|
|
1058
|
+
units?: ETNUnit;
|
|
1059
1059
|
supplyAddress?: string;
|
|
1060
1060
|
contractEndDate?: Date;
|
|
1061
1061
|
contractNoticeDate?: Date;
|
|
@@ -1064,21 +1064,21 @@ interface InvoiceValues<DateType = Date | string> {
|
|
|
1064
1064
|
}
|
|
1065
1065
|
interface InvoiceRate {
|
|
1066
1066
|
id: string;
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1067
|
+
rateName: string | null;
|
|
1068
|
+
contractRateName: string | null;
|
|
1069
|
+
consumption: number | null;
|
|
1070
|
+
unitRate: number | null;
|
|
1071
|
+
cost: number | null;
|
|
1072
|
+
startRead: string | null;
|
|
1073
|
+
startReadType: string | null;
|
|
1074
|
+
endRead: string | null;
|
|
1075
|
+
endReadType: string | null;
|
|
1076
|
+
register: string | null;
|
|
1077
|
+
units: string | null;
|
|
1078
|
+
type: InvoiceRateType | null;
|
|
1079
|
+
startDate: Date | null;
|
|
1080
|
+
endDate: Date | null;
|
|
1081
|
+
comment: string | null;
|
|
1082
1082
|
}
|
|
1083
1083
|
type InvoiceStatus = 'processing' | 'pending' | 'uploading' | 'queued' | 'captured' | 'error' | 'completed';
|
|
1084
1084
|
type FinancialStatus = 'approved' | 'new' | 'not-approved' | 'paid' | 'sent-for-payment';
|
|
@@ -1287,6 +1287,7 @@ interface ReportMetadata<IDType = ObjectId | string> {
|
|
|
1287
1287
|
consumptionSource?: 'reading' | 'invoice' | 'combined' | 'hh' | 'reading-hh';
|
|
1288
1288
|
showSimulated?: boolean;
|
|
1289
1289
|
chartOptions?: any;
|
|
1290
|
+
customOptions?: any;
|
|
1290
1291
|
readingSource?: Reading['source'];
|
|
1291
1292
|
dateField?: 'startDateEndDate' | 'startDate' | 'endDate' | 'confirmedAt';
|
|
1292
1293
|
includeSubMeters?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -1055,7 +1055,7 @@ interface InvoiceValues<DateType = Date | string> {
|
|
|
1055
1055
|
startReadType?: string;
|
|
1056
1056
|
endReadType?: string;
|
|
1057
1057
|
isFinal?: boolean;
|
|
1058
|
-
units?:
|
|
1058
|
+
units?: ETNUnit;
|
|
1059
1059
|
supplyAddress?: string;
|
|
1060
1060
|
contractEndDate?: Date;
|
|
1061
1061
|
contractNoticeDate?: Date;
|
|
@@ -1064,21 +1064,21 @@ interface InvoiceValues<DateType = Date | string> {
|
|
|
1064
1064
|
}
|
|
1065
1065
|
interface InvoiceRate {
|
|
1066
1066
|
id: string;
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1067
|
+
rateName: string | null;
|
|
1068
|
+
contractRateName: string | null;
|
|
1069
|
+
consumption: number | null;
|
|
1070
|
+
unitRate: number | null;
|
|
1071
|
+
cost: number | null;
|
|
1072
|
+
startRead: string | null;
|
|
1073
|
+
startReadType: string | null;
|
|
1074
|
+
endRead: string | null;
|
|
1075
|
+
endReadType: string | null;
|
|
1076
|
+
register: string | null;
|
|
1077
|
+
units: string | null;
|
|
1078
|
+
type: InvoiceRateType | null;
|
|
1079
|
+
startDate: Date | null;
|
|
1080
|
+
endDate: Date | null;
|
|
1081
|
+
comment: string | null;
|
|
1082
1082
|
}
|
|
1083
1083
|
type InvoiceStatus = 'processing' | 'pending' | 'uploading' | 'queued' | 'captured' | 'error' | 'completed';
|
|
1084
1084
|
type FinancialStatus = 'approved' | 'new' | 'not-approved' | 'paid' | 'sent-for-payment';
|
|
@@ -1287,6 +1287,7 @@ interface ReportMetadata<IDType = ObjectId | string> {
|
|
|
1287
1287
|
consumptionSource?: 'reading' | 'invoice' | 'combined' | 'hh' | 'reading-hh';
|
|
1288
1288
|
showSimulated?: boolean;
|
|
1289
1289
|
chartOptions?: any;
|
|
1290
|
+
customOptions?: any;
|
|
1290
1291
|
readingSource?: Reading['source'];
|
|
1291
1292
|
dateField?: 'startDateEndDate' | 'startDate' | 'endDate' | 'confirmedAt';
|
|
1292
1293
|
includeSubMeters?: boolean;
|