@etainabl/nodejs-sdk 1.3.128 → 1.3.129
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 +20 -3
- package/dist/index.d.ts +20 -3
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -795,8 +795,8 @@ interface InvoiceValidationInvoice {
|
|
|
795
795
|
supplyAddress: string;
|
|
796
796
|
utilityType: string;
|
|
797
797
|
meterId: string;
|
|
798
|
-
accountId?: string;
|
|
799
|
-
supplierId?: string;
|
|
798
|
+
accountId?: string | null;
|
|
799
|
+
supplierId?: string | null;
|
|
800
800
|
}
|
|
801
801
|
interface InvoiceValidationRule<IDType = ObjectId | string> {
|
|
802
802
|
_id: IDType;
|
|
@@ -1090,6 +1090,21 @@ interface Invoice<IDType = ObjectId | string, DateType = Date> {
|
|
|
1090
1090
|
assignedTo?: string;
|
|
1091
1091
|
noScrape?: boolean;
|
|
1092
1092
|
scraperInvoiceId?: string;
|
|
1093
|
+
captureComments: {
|
|
1094
|
+
recipient: string;
|
|
1095
|
+
supplier: string;
|
|
1096
|
+
invoiceCosts: string;
|
|
1097
|
+
utilityTypes: string;
|
|
1098
|
+
invoiceDueDate: string;
|
|
1099
|
+
meter: string;
|
|
1100
|
+
meterPointNumber: string;
|
|
1101
|
+
utilityType: string;
|
|
1102
|
+
costs: string;
|
|
1103
|
+
consumption: string;
|
|
1104
|
+
rates: string;
|
|
1105
|
+
readings: string;
|
|
1106
|
+
contractDates: string;
|
|
1107
|
+
};
|
|
1093
1108
|
confirmedAt?: DateType | null;
|
|
1094
1109
|
confirmedBy?: string | null;
|
|
1095
1110
|
supplierId: IDType;
|
|
@@ -1121,12 +1136,13 @@ interface InvoiceCaptureMetadataResult {
|
|
|
1121
1136
|
}
|
|
1122
1137
|
interface InvoiceCaptureMetadata {
|
|
1123
1138
|
totalDmg: Number;
|
|
1124
|
-
totalDuration: Number;
|
|
1125
1139
|
pdfPageCount: number;
|
|
1126
1140
|
extractPageCount: number;
|
|
1141
|
+
extracted: boolean;
|
|
1127
1142
|
split: boolean;
|
|
1128
1143
|
splitQuantity: number;
|
|
1129
1144
|
invoices: {
|
|
1145
|
+
uuid: string;
|
|
1130
1146
|
startPage: number;
|
|
1131
1147
|
endPage: number;
|
|
1132
1148
|
index: number;
|
|
@@ -1318,6 +1334,7 @@ interface InvoiceOptionsSchema {
|
|
|
1318
1334
|
interface Supplier<IDType = ObjectId | string> {
|
|
1319
1335
|
_id: IDType;
|
|
1320
1336
|
name: string;
|
|
1337
|
+
aliases?: string[];
|
|
1321
1338
|
logoUrl?: string;
|
|
1322
1339
|
websiteUrl?: string;
|
|
1323
1340
|
portalUrl?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -795,8 +795,8 @@ interface InvoiceValidationInvoice {
|
|
|
795
795
|
supplyAddress: string;
|
|
796
796
|
utilityType: string;
|
|
797
797
|
meterId: string;
|
|
798
|
-
accountId?: string;
|
|
799
|
-
supplierId?: string;
|
|
798
|
+
accountId?: string | null;
|
|
799
|
+
supplierId?: string | null;
|
|
800
800
|
}
|
|
801
801
|
interface InvoiceValidationRule<IDType = ObjectId | string> {
|
|
802
802
|
_id: IDType;
|
|
@@ -1090,6 +1090,21 @@ interface Invoice<IDType = ObjectId | string, DateType = Date> {
|
|
|
1090
1090
|
assignedTo?: string;
|
|
1091
1091
|
noScrape?: boolean;
|
|
1092
1092
|
scraperInvoiceId?: string;
|
|
1093
|
+
captureComments: {
|
|
1094
|
+
recipient: string;
|
|
1095
|
+
supplier: string;
|
|
1096
|
+
invoiceCosts: string;
|
|
1097
|
+
utilityTypes: string;
|
|
1098
|
+
invoiceDueDate: string;
|
|
1099
|
+
meter: string;
|
|
1100
|
+
meterPointNumber: string;
|
|
1101
|
+
utilityType: string;
|
|
1102
|
+
costs: string;
|
|
1103
|
+
consumption: string;
|
|
1104
|
+
rates: string;
|
|
1105
|
+
readings: string;
|
|
1106
|
+
contractDates: string;
|
|
1107
|
+
};
|
|
1093
1108
|
confirmedAt?: DateType | null;
|
|
1094
1109
|
confirmedBy?: string | null;
|
|
1095
1110
|
supplierId: IDType;
|
|
@@ -1121,12 +1136,13 @@ interface InvoiceCaptureMetadataResult {
|
|
|
1121
1136
|
}
|
|
1122
1137
|
interface InvoiceCaptureMetadata {
|
|
1123
1138
|
totalDmg: Number;
|
|
1124
|
-
totalDuration: Number;
|
|
1125
1139
|
pdfPageCount: number;
|
|
1126
1140
|
extractPageCount: number;
|
|
1141
|
+
extracted: boolean;
|
|
1127
1142
|
split: boolean;
|
|
1128
1143
|
splitQuantity: number;
|
|
1129
1144
|
invoices: {
|
|
1145
|
+
uuid: string;
|
|
1130
1146
|
startPage: number;
|
|
1131
1147
|
endPage: number;
|
|
1132
1148
|
index: number;
|
|
@@ -1318,6 +1334,7 @@ interface InvoiceOptionsSchema {
|
|
|
1318
1334
|
interface Supplier<IDType = ObjectId | string> {
|
|
1319
1335
|
_id: IDType;
|
|
1320
1336
|
name: string;
|
|
1337
|
+
aliases?: string[];
|
|
1321
1338
|
logoUrl?: string;
|
|
1322
1339
|
websiteUrl?: string;
|
|
1323
1340
|
portalUrl?: string;
|