@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 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?: 'parser-edi' | 'textract';
1174
- metrics?: {
1175
- captureStartTime?: Date;
1176
- captureEndTime?: Date;
1177
- extractStartTime?: Date;
1178
- extractEndTime?: Date;
1179
- pageCount?: number;
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?: 'parser-edi' | 'textract';
1174
- metrics?: {
1175
- captureStartTime?: Date;
1176
- captureEndTime?: Date;
1177
- extractStartTime?: Date;
1178
- extractEndTime?: Date;
1179
- pageCount?: number;
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etainabl/nodejs-sdk",
3
- "version": "1.3.131",
3
+ "version": "1.3.132",
4
4
  "type": "module",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.mjs",