@etainabl/nodejs-sdk 1.3.10 → 1.3.12

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
@@ -78,6 +78,10 @@ interface CreditNoteSchema<IDType = ObjectId | string> {
78
78
  totalWaterCost: number;
79
79
  totalWasteCost: number;
80
80
  }
81
+ interface AccountThirdParty {
82
+ name: string;
83
+ deviceId: string;
84
+ }
81
85
  interface Account<IDType = ObjectId | string> {
82
86
  _id: IDType;
83
87
  name: string;
@@ -109,6 +113,7 @@ interface Account<IDType = ObjectId | string> {
109
113
  creditNotes?: CreditNoteSchema[];
110
114
  meterUser?: string;
111
115
  isTrc?: boolean;
116
+ thirdParties: AccountThirdParty[];
112
117
  floorArea?: string;
113
118
  floorAreaUnit?: 'metric' | 'imperial';
114
119
  reportingType?: string;
@@ -541,7 +546,7 @@ interface InvoiceCapture<IDType = ObjectId | string> {
541
546
  batchId: string;
542
547
  textractJobId?: string;
543
548
  textractJobStatus?: string;
544
- status: 'pending' | 'uploading' | 'uploaded' | 'textracting' | 'textracted' | 'capturing' | 'captured' | 'failed';
549
+ status: 'pending' | 'uploading' | 'uploaded' | 'extracting' | 'extracted' | 'capturing' | 'captured' | 'failed';
545
550
  metrics: {
546
551
  startTime: Date;
547
552
  endTime?: Date;
package/dist/index.d.ts CHANGED
@@ -78,6 +78,10 @@ interface CreditNoteSchema<IDType = ObjectId | string> {
78
78
  totalWaterCost: number;
79
79
  totalWasteCost: number;
80
80
  }
81
+ interface AccountThirdParty {
82
+ name: string;
83
+ deviceId: string;
84
+ }
81
85
  interface Account<IDType = ObjectId | string> {
82
86
  _id: IDType;
83
87
  name: string;
@@ -109,6 +113,7 @@ interface Account<IDType = ObjectId | string> {
109
113
  creditNotes?: CreditNoteSchema[];
110
114
  meterUser?: string;
111
115
  isTrc?: boolean;
116
+ thirdParties: AccountThirdParty[];
112
117
  floorArea?: string;
113
118
  floorAreaUnit?: 'metric' | 'imperial';
114
119
  reportingType?: string;
@@ -541,7 +546,7 @@ interface InvoiceCapture<IDType = ObjectId | string> {
541
546
  batchId: string;
542
547
  textractJobId?: string;
543
548
  textractJobStatus?: string;
544
- status: 'pending' | 'uploading' | 'uploaded' | 'textracting' | 'textracted' | 'capturing' | 'captured' | 'failed';
549
+ status: 'pending' | 'uploading' | 'uploaded' | 'extracting' | 'extracted' | 'capturing' | 'captured' | 'failed';
545
550
  metrics: {
546
551
  startTime: Date;
547
552
  endTime?: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etainabl/nodejs-sdk",
3
- "version": "1.3.10",
3
+ "version": "1.3.12",
4
4
  "type": "module",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.mjs",