@etainabl/nodejs-sdk 1.3.131 → 1.3.132
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 +14 -8
- package/dist/index.d.ts +14 -8
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1026,6 +1026,9 @@ interface InvoiceValues<DateType = Date | string> {
|
|
|
1026
1026
|
totalDaily?: number;
|
|
1027
1027
|
totalLevy?: number;
|
|
1028
1028
|
totalKva?: number;
|
|
1029
|
+
totalCCL?: number;
|
|
1030
|
+
totalFeedInTariff?: number;
|
|
1031
|
+
totalLatePayment?: number;
|
|
1029
1032
|
totalUnits?: number;
|
|
1030
1033
|
totalWaterVolume?: number;
|
|
1031
1034
|
totalWasteVolume?: number;
|
|
@@ -1037,6 +1040,8 @@ interface InvoiceValues<DateType = Date | string> {
|
|
|
1037
1040
|
correctionFactor?: string;
|
|
1038
1041
|
calorificValue?: string;
|
|
1039
1042
|
readFactor?: string;
|
|
1043
|
+
capacity?: number;
|
|
1044
|
+
sewerageReturnPercentage?: number;
|
|
1040
1045
|
type?: string;
|
|
1041
1046
|
startRead?: string;
|
|
1042
1047
|
endRead?: string;
|
|
@@ -1061,7 +1066,7 @@ interface InvoiceRate {
|
|
|
1061
1066
|
}
|
|
1062
1067
|
type InvoiceStatus = 'processing' | 'pending' | 'uploading' | 'queued' | 'captured' | 'error' | 'completed';
|
|
1063
1068
|
type FinancialStatus = 'approved' | 'new' | 'not-approved' | 'paid' | 'sent-for-payment';
|
|
1064
|
-
type InvoiceRateType = 'unitRate' | 'daily' | 'levy' | 'tax' | 'kva' | 'waterRate' | 'wasteRate' | 'discount';
|
|
1069
|
+
type InvoiceRateType = 'unitRate' | 'daily' | 'levy' | 'tax' | 'kva' | 'waterRate' | 'wasteRate' | 'discount' | 'misc' | 'feedInTariff' | 'latePaymentCharge';
|
|
1065
1070
|
interface Invoice<IDType = ObjectId | string, DateType = Date> {
|
|
1066
1071
|
_id: IDType;
|
|
1067
1072
|
jobId?: string | null;
|
|
@@ -1170,13 +1175,14 @@ interface InvoiceCapture<IDType = ObjectId | string> {
|
|
|
1170
1175
|
extractExpiry?: Date;
|
|
1171
1176
|
version: number;
|
|
1172
1177
|
status: 'pending' | 'uploading' | 'uploaded' | 'extracting' | 'extracted' | 'capturing' | 'captured' | 'failed';
|
|
1173
|
-
extractType
|
|
1174
|
-
metrics
|
|
1175
|
-
captureStartTime
|
|
1176
|
-
captureEndTime
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1178
|
+
extractType: 'parser-edi' | 'textract' | 'llmwhisperer' | null;
|
|
1179
|
+
metrics: {
|
|
1180
|
+
captureStartTime: Date | null;
|
|
1181
|
+
captureEndTime: Date | null;
|
|
1182
|
+
captureDmg: number;
|
|
1183
|
+
extractStartTime: Date | null;
|
|
1184
|
+
extractEndTime: Date | null;
|
|
1185
|
+
extractDmg: number;
|
|
1180
1186
|
};
|
|
1181
1187
|
results?: any;
|
|
1182
1188
|
metadata?: InvoiceCaptureMetadata;
|
package/dist/index.d.ts
CHANGED
|
@@ -1026,6 +1026,9 @@ interface InvoiceValues<DateType = Date | string> {
|
|
|
1026
1026
|
totalDaily?: number;
|
|
1027
1027
|
totalLevy?: number;
|
|
1028
1028
|
totalKva?: number;
|
|
1029
|
+
totalCCL?: number;
|
|
1030
|
+
totalFeedInTariff?: number;
|
|
1031
|
+
totalLatePayment?: number;
|
|
1029
1032
|
totalUnits?: number;
|
|
1030
1033
|
totalWaterVolume?: number;
|
|
1031
1034
|
totalWasteVolume?: number;
|
|
@@ -1037,6 +1040,8 @@ interface InvoiceValues<DateType = Date | string> {
|
|
|
1037
1040
|
correctionFactor?: string;
|
|
1038
1041
|
calorificValue?: string;
|
|
1039
1042
|
readFactor?: string;
|
|
1043
|
+
capacity?: number;
|
|
1044
|
+
sewerageReturnPercentage?: number;
|
|
1040
1045
|
type?: string;
|
|
1041
1046
|
startRead?: string;
|
|
1042
1047
|
endRead?: string;
|
|
@@ -1061,7 +1066,7 @@ interface InvoiceRate {
|
|
|
1061
1066
|
}
|
|
1062
1067
|
type InvoiceStatus = 'processing' | 'pending' | 'uploading' | 'queued' | 'captured' | 'error' | 'completed';
|
|
1063
1068
|
type FinancialStatus = 'approved' | 'new' | 'not-approved' | 'paid' | 'sent-for-payment';
|
|
1064
|
-
type InvoiceRateType = 'unitRate' | 'daily' | 'levy' | 'tax' | 'kva' | 'waterRate' | 'wasteRate' | 'discount';
|
|
1069
|
+
type InvoiceRateType = 'unitRate' | 'daily' | 'levy' | 'tax' | 'kva' | 'waterRate' | 'wasteRate' | 'discount' | 'misc' | 'feedInTariff' | 'latePaymentCharge';
|
|
1065
1070
|
interface Invoice<IDType = ObjectId | string, DateType = Date> {
|
|
1066
1071
|
_id: IDType;
|
|
1067
1072
|
jobId?: string | null;
|
|
@@ -1170,13 +1175,14 @@ interface InvoiceCapture<IDType = ObjectId | string> {
|
|
|
1170
1175
|
extractExpiry?: Date;
|
|
1171
1176
|
version: number;
|
|
1172
1177
|
status: 'pending' | 'uploading' | 'uploaded' | 'extracting' | 'extracted' | 'capturing' | 'captured' | 'failed';
|
|
1173
|
-
extractType
|
|
1174
|
-
metrics
|
|
1175
|
-
captureStartTime
|
|
1176
|
-
captureEndTime
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1178
|
+
extractType: 'parser-edi' | 'textract' | 'llmwhisperer' | null;
|
|
1179
|
+
metrics: {
|
|
1180
|
+
captureStartTime: Date | null;
|
|
1181
|
+
captureEndTime: Date | null;
|
|
1182
|
+
captureDmg: number;
|
|
1183
|
+
extractStartTime: Date | null;
|
|
1184
|
+
extractEndTime: Date | null;
|
|
1185
|
+
extractDmg: number;
|
|
1180
1186
|
};
|
|
1181
1187
|
results?: any;
|
|
1182
1188
|
metadata?: InvoiceCaptureMetadata;
|