@etainabl/nodejs-sdk 1.3.65 → 1.3.67

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
@@ -718,9 +718,12 @@ interface InvoiceCapture<IDType = ObjectId | string> {
718
718
  textractExpiry?: Date;
719
719
  status: 'pending' | 'uploading' | 'uploaded' | 'extracting' | 'extracted' | 'capturing' | 'captured' | 'failed';
720
720
  extractType?: 'parser-edi' | 'textract';
721
- metrics: {
722
- startTime: Date;
723
- endTime?: Date;
721
+ metrics?: {
722
+ captureStartTime?: Date;
723
+ captureEndTime?: Date;
724
+ textractStartTime?: Date;
725
+ textractEndTime?: Date;
726
+ pageCount?: number;
724
727
  };
725
728
  results?: any;
726
729
  metadata?: InvoiceCaptureMetadata;
@@ -789,6 +792,7 @@ interface ReportMetadata<IDType = ObjectId | string> {
789
792
  includeSubMeters?: boolean;
790
793
  accountTag?: string;
791
794
  recipients?: string[];
795
+ coverCalculationMethod: 'ignoreInactive' | 'showInactive';
792
796
  }
793
797
  interface Report<IDType = ObjectId | string> {
794
798
  _id: IDType;
package/dist/index.d.ts CHANGED
@@ -718,9 +718,12 @@ interface InvoiceCapture<IDType = ObjectId | string> {
718
718
  textractExpiry?: Date;
719
719
  status: 'pending' | 'uploading' | 'uploaded' | 'extracting' | 'extracted' | 'capturing' | 'captured' | 'failed';
720
720
  extractType?: 'parser-edi' | 'textract';
721
- metrics: {
722
- startTime: Date;
723
- endTime?: Date;
721
+ metrics?: {
722
+ captureStartTime?: Date;
723
+ captureEndTime?: Date;
724
+ textractStartTime?: Date;
725
+ textractEndTime?: Date;
726
+ pageCount?: number;
724
727
  };
725
728
  results?: any;
726
729
  metadata?: InvoiceCaptureMetadata;
@@ -789,6 +792,7 @@ interface ReportMetadata<IDType = ObjectId | string> {
789
792
  includeSubMeters?: boolean;
790
793
  accountTag?: string;
791
794
  recipients?: string[];
795
+ coverCalculationMethod: 'ignoreInactive' | 'showInactive';
792
796
  }
793
797
  interface Report<IDType = ObjectId | string> {
794
798
  _id: IDType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etainabl/nodejs-sdk",
3
- "version": "1.3.65",
3
+ "version": "1.3.67",
4
4
  "type": "module",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.mjs",