@etainabl/nodejs-sdk 1.3.72 → 1.3.73
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 +9 -3
- package/dist/index.d.ts +9 -3
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -488,14 +488,20 @@ interface CreateScraperRunParams<IDType = ObjectId | string> {
|
|
|
488
488
|
accountId: IDType;
|
|
489
489
|
companyId: IDType;
|
|
490
490
|
}
|
|
491
|
+
interface CapturScraperLog {
|
|
492
|
+
date?: Date;
|
|
493
|
+
message?: string;
|
|
494
|
+
s3Url?: string;
|
|
495
|
+
status?: string;
|
|
496
|
+
}
|
|
491
497
|
interface ScraperRun<IDType = ObjectId | string> {
|
|
492
498
|
_id: IDType;
|
|
493
|
-
logs
|
|
499
|
+
logs: CapturScraperLog[];
|
|
494
500
|
supplierId: IDType;
|
|
495
501
|
accountId: IDType;
|
|
496
502
|
companyId: IDType;
|
|
497
|
-
invoiceData?: [];
|
|
498
|
-
status:
|
|
503
|
+
invoiceData?: any[];
|
|
504
|
+
status: 'error' | 'completed' | 'running';
|
|
499
505
|
error?: string;
|
|
500
506
|
}
|
|
501
507
|
|
package/dist/index.d.ts
CHANGED
|
@@ -488,14 +488,20 @@ interface CreateScraperRunParams<IDType = ObjectId | string> {
|
|
|
488
488
|
accountId: IDType;
|
|
489
489
|
companyId: IDType;
|
|
490
490
|
}
|
|
491
|
+
interface CapturScraperLog {
|
|
492
|
+
date?: Date;
|
|
493
|
+
message?: string;
|
|
494
|
+
s3Url?: string;
|
|
495
|
+
status?: string;
|
|
496
|
+
}
|
|
491
497
|
interface ScraperRun<IDType = ObjectId | string> {
|
|
492
498
|
_id: IDType;
|
|
493
|
-
logs
|
|
499
|
+
logs: CapturScraperLog[];
|
|
494
500
|
supplierId: IDType;
|
|
495
501
|
accountId: IDType;
|
|
496
502
|
companyId: IDType;
|
|
497
|
-
invoiceData?: [];
|
|
498
|
-
status:
|
|
503
|
+
invoiceData?: any[];
|
|
504
|
+
status: 'error' | 'completed' | 'running';
|
|
499
505
|
error?: string;
|
|
500
506
|
}
|
|
501
507
|
|