@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 +6 -5
- package/dist/index.d.ts +6 -5
- package/package.json +1 -1
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
|
|
553
|
-
sisterId?: IDType
|
|
554
|
-
batchId?:
|
|
555
|
-
accountId
|
|
552
|
+
supplierId: IDType;
|
|
553
|
+
sisterId?: IDType;
|
|
554
|
+
batchId?: string;
|
|
555
|
+
accountId: IDType;
|
|
556
556
|
entityId?: IDType;
|
|
557
|
-
companyId:
|
|
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
|
|
553
|
-
sisterId?: IDType
|
|
554
|
-
batchId?:
|
|
555
|
-
accountId
|
|
552
|
+
supplierId: IDType;
|
|
553
|
+
sisterId?: IDType;
|
|
554
|
+
batchId?: string;
|
|
555
|
+
accountId: IDType;
|
|
556
556
|
entityId?: IDType;
|
|
557
|
-
companyId:
|
|
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;
|