@etainabl/nodejs-sdk 1.3.126 → 1.3.128

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
@@ -794,7 +794,7 @@ interface InvoiceValidationInvoice {
794
794
  endPage: number;
795
795
  supplyAddress: string;
796
796
  utilityType: string;
797
- meterIndex: number;
797
+ meterId: string;
798
798
  accountId?: string;
799
799
  supplierId?: string;
800
800
  }
@@ -816,8 +816,7 @@ interface InvoiceValidationResults<IDType = ObjectId | string> {
816
816
  comment: string;
817
817
  status: 'passed' | 'warning' | 'failed' | 'error';
818
818
  originalStatus: 'passed' | 'warning' | 'failed' | 'error';
819
- invoiceIndex?: number;
820
- meterIndex?: number;
819
+ meterId?: string;
821
820
  checkedAt: Date;
822
821
  }
823
822
  interface InvoiceValidation<IDType = ObjectId | string> {
@@ -1125,6 +1124,15 @@ interface InvoiceCaptureMetadata {
1125
1124
  totalDuration: Number;
1126
1125
  pdfPageCount: number;
1127
1126
  extractPageCount: number;
1127
+ split: boolean;
1128
+ splitQuantity: number;
1129
+ invoices: {
1130
+ startPage: number;
1131
+ endPage: number;
1132
+ index: number;
1133
+ invoiceNumber: string;
1134
+ type: string;
1135
+ }[];
1128
1136
  results: InvoiceCaptureMetadataResult[];
1129
1137
  }
1130
1138
  interface InvoiceCapture<IDType = ObjectId | string> {
package/dist/index.d.ts CHANGED
@@ -794,7 +794,7 @@ interface InvoiceValidationInvoice {
794
794
  endPage: number;
795
795
  supplyAddress: string;
796
796
  utilityType: string;
797
- meterIndex: number;
797
+ meterId: string;
798
798
  accountId?: string;
799
799
  supplierId?: string;
800
800
  }
@@ -816,8 +816,7 @@ interface InvoiceValidationResults<IDType = ObjectId | string> {
816
816
  comment: string;
817
817
  status: 'passed' | 'warning' | 'failed' | 'error';
818
818
  originalStatus: 'passed' | 'warning' | 'failed' | 'error';
819
- invoiceIndex?: number;
820
- meterIndex?: number;
819
+ meterId?: string;
821
820
  checkedAt: Date;
822
821
  }
823
822
  interface InvoiceValidation<IDType = ObjectId | string> {
@@ -1125,6 +1124,15 @@ interface InvoiceCaptureMetadata {
1125
1124
  totalDuration: Number;
1126
1125
  pdfPageCount: number;
1127
1126
  extractPageCount: number;
1127
+ split: boolean;
1128
+ splitQuantity: number;
1129
+ invoices: {
1130
+ startPage: number;
1131
+ endPage: number;
1132
+ index: number;
1133
+ invoiceNumber: string;
1134
+ type: string;
1135
+ }[];
1128
1136
  results: InvoiceCaptureMetadataResult[];
1129
1137
  }
1130
1138
  interface InvoiceCapture<IDType = ObjectId | string> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etainabl/nodejs-sdk",
3
- "version": "1.3.126",
3
+ "version": "1.3.128",
4
4
  "type": "module",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.mjs",