@etainabl/nodejs-sdk 1.3.29 → 1.3.31

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
@@ -549,12 +549,12 @@ interface Invoice<IDType = ObjectId | string> {
549
549
  scraperInvoiceId?: string;
550
550
  confirmedAt?: Date | null;
551
551
  confirmedBy?: string | null;
552
- supplierId?: string | null;
553
- sisterId?: IDType | null;
554
- batchId?: IDType | null;
555
- accountId?: IDType | null;
552
+ supplierId: IDType;
553
+ sisterId?: IDType;
554
+ batchId?: string;
555
+ accountId: IDType;
556
556
  entityId?: IDType;
557
- companyId: string;
557
+ companyId: IDType;
558
558
  userSub: string;
559
559
  validation?: any[];
560
560
  }
@@ -580,6 +580,7 @@ interface InvoiceCapture<IDType = ObjectId | string> {
580
580
  batchId: string;
581
581
  textractJobId?: string;
582
582
  textractJobStatus?: string;
583
+ textractExpiry?: Date;
583
584
  status: 'pending' | 'uploading' | 'uploaded' | 'extracting' | 'extracted' | 'capturing' | 'captured' | 'failed';
584
585
  metrics: {
585
586
  startTime: Date;
package/dist/index.d.ts CHANGED
@@ -549,12 +549,12 @@ interface Invoice<IDType = ObjectId | string> {
549
549
  scraperInvoiceId?: string;
550
550
  confirmedAt?: Date | null;
551
551
  confirmedBy?: string | null;
552
- supplierId?: string | null;
553
- sisterId?: IDType | null;
554
- batchId?: IDType | null;
555
- accountId?: IDType | null;
552
+ supplierId: IDType;
553
+ sisterId?: IDType;
554
+ batchId?: string;
555
+ accountId: IDType;
556
556
  entityId?: IDType;
557
- companyId: string;
557
+ companyId: IDType;
558
558
  userSub: string;
559
559
  validation?: any[];
560
560
  }
@@ -580,6 +580,7 @@ interface InvoiceCapture<IDType = ObjectId | string> {
580
580
  batchId: string;
581
581
  textractJobId?: string;
582
582
  textractJobStatus?: string;
583
+ textractExpiry?: Date;
583
584
  status: 'pending' | 'uploading' | 'uploaded' | 'extracting' | 'extracted' | 'capturing' | 'captured' | 'failed';
584
585
  metrics: {
585
586
  startTime: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etainabl/nodejs-sdk",
3
- "version": "1.3.29",
3
+ "version": "1.3.31",
4
4
  "type": "module",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.mjs",