@etainabl/nodejs-sdk 1.2.38 → 1.2.40
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/package.json +2 -2
- package/src/types/automation.ts +1 -0
- package/src/types/company.ts +1 -1
- package/src/types/dataIngest.ts +1 -0
- package/src/types/email.ts +1 -0
- package/src/types/entity.ts +1 -1
- package/src/types/invoice.ts +2 -1
- package/src/types/log.ts +1 -0
- package/src/types/reading.ts +1 -0
- package/src/types/report.ts +1 -0
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etainabl/nodejs-sdk",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.40",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/mjs/index.js",
|
|
6
6
|
"types": "dist/mjs/index.d.ts",
|
|
7
7
|
"author": "Jonathan Lambert <jonathan@etainabl.com>",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"axios": "^1.4
|
|
10
|
+
"axios": "^1.8.4",
|
|
11
11
|
"moment": "^2.29.4",
|
|
12
12
|
"mongodb": "^6.3.0",
|
|
13
13
|
"winston": "^3.10.0"
|
package/src/types/automation.ts
CHANGED
package/src/types/company.ts
CHANGED
package/src/types/dataIngest.ts
CHANGED
package/src/types/email.ts
CHANGED
package/src/types/entity.ts
CHANGED
package/src/types/invoice.ts
CHANGED
|
@@ -77,12 +77,13 @@ type InvoiceStatus = 'processing' | 'pending' | 'uploading' | 'queued' | 'captur
|
|
|
77
77
|
type FinancialStatus = 'approved' | 'new' | 'not-approved' | 'paid' | 'sent-for-payment';
|
|
78
78
|
type RateType = 'unitRate' | 'daily' | 'levy' | 'tax' | 'kva' | 'waterRate' | 'wasteRate' | 'discount'
|
|
79
79
|
export interface Invoice {
|
|
80
|
+
_id: string;
|
|
80
81
|
jobId?: string | null;
|
|
81
82
|
startTime?: Date;
|
|
82
83
|
endTime?: Date | null;
|
|
83
84
|
s3Key: string;
|
|
84
85
|
s3TextractKey?: string | null;
|
|
85
|
-
stampedS3Key: string;
|
|
86
|
+
stampedS3Key: string | null;
|
|
86
87
|
fileName?: string | null;
|
|
87
88
|
status: InvoiceStatus;
|
|
88
89
|
financialStatus: FinancialStatus;
|
package/src/types/log.ts
CHANGED
package/src/types/reading.ts
CHANGED