@etainabl/nodejs-sdk 1.3.160 → 1.3.162
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 +17 -7
- package/dist/index.d.ts +17 -7
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -315,6 +315,7 @@ interface Portal {
|
|
|
315
315
|
url?: string;
|
|
316
316
|
scraperId?: string;
|
|
317
317
|
scraperStartDate?: Date;
|
|
318
|
+
useNewValidation?: boolean;
|
|
318
319
|
}
|
|
319
320
|
|
|
320
321
|
interface StatusHistory {
|
|
@@ -807,8 +808,12 @@ interface InvoiceValidationInvoice {
|
|
|
807
808
|
supplyAddress: string;
|
|
808
809
|
utilityType: string;
|
|
809
810
|
meterId: string;
|
|
811
|
+
supplierMatch: boolean;
|
|
812
|
+
accountMatch: boolean;
|
|
813
|
+
invoiceNumber: string;
|
|
810
814
|
accountId?: string | null;
|
|
811
815
|
supplierId?: string | null;
|
|
816
|
+
entityId?: string | null;
|
|
812
817
|
}
|
|
813
818
|
interface InvoiceValidationRule<IDType = ObjectId | string> {
|
|
814
819
|
_id: IDType;
|
|
@@ -825,24 +830,29 @@ interface InvoiceValidationRule<IDType = ObjectId | string> {
|
|
|
825
830
|
}
|
|
826
831
|
interface InvoiceValidationResults<IDType = ObjectId | string> {
|
|
827
832
|
invoiceValidationRuleId: IDType;
|
|
833
|
+
meterId?: string;
|
|
828
834
|
comment: string;
|
|
829
835
|
status: 'passed' | 'warning' | 'failed' | 'error';
|
|
830
836
|
originalStatus: 'passed' | 'warning' | 'failed' | 'error';
|
|
831
|
-
|
|
837
|
+
forcedStatus?: 'passed' | 'warning' | 'failed';
|
|
838
|
+
forcedBy?: IDType;
|
|
832
839
|
checkedAt: Date;
|
|
833
840
|
}
|
|
834
841
|
interface InvoiceValidation<IDType = ObjectId | string> {
|
|
835
842
|
_id: IDType;
|
|
836
843
|
status: 'pending' | 'passed' | 'warning' | 'failed' | 'error';
|
|
837
844
|
originalStatus: 'pending' | 'passed' | 'warning' | 'failed' | 'error';
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
845
|
+
completed: boolean;
|
|
846
|
+
completedAt?: Date | null;
|
|
847
|
+
completedBy?: IDType;
|
|
841
848
|
assignedUserId?: IDType;
|
|
842
|
-
|
|
843
|
-
|
|
849
|
+
results?: InvoiceValidationResults<IDType>[] | null;
|
|
850
|
+
invoiceCaptureId: IDType;
|
|
851
|
+
invoiceResults?: InvoiceValidationInvoice[];
|
|
852
|
+
summary?: string | null;
|
|
853
|
+
tags?: string[];
|
|
854
|
+
onHold: boolean;
|
|
844
855
|
batchId?: string;
|
|
845
|
-
accountIdMatches?: object;
|
|
846
856
|
companyId: IDType;
|
|
847
857
|
userSub: string;
|
|
848
858
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -315,6 +315,7 @@ interface Portal {
|
|
|
315
315
|
url?: string;
|
|
316
316
|
scraperId?: string;
|
|
317
317
|
scraperStartDate?: Date;
|
|
318
|
+
useNewValidation?: boolean;
|
|
318
319
|
}
|
|
319
320
|
|
|
320
321
|
interface StatusHistory {
|
|
@@ -807,8 +808,12 @@ interface InvoiceValidationInvoice {
|
|
|
807
808
|
supplyAddress: string;
|
|
808
809
|
utilityType: string;
|
|
809
810
|
meterId: string;
|
|
811
|
+
supplierMatch: boolean;
|
|
812
|
+
accountMatch: boolean;
|
|
813
|
+
invoiceNumber: string;
|
|
810
814
|
accountId?: string | null;
|
|
811
815
|
supplierId?: string | null;
|
|
816
|
+
entityId?: string | null;
|
|
812
817
|
}
|
|
813
818
|
interface InvoiceValidationRule<IDType = ObjectId | string> {
|
|
814
819
|
_id: IDType;
|
|
@@ -825,24 +830,29 @@ interface InvoiceValidationRule<IDType = ObjectId | string> {
|
|
|
825
830
|
}
|
|
826
831
|
interface InvoiceValidationResults<IDType = ObjectId | string> {
|
|
827
832
|
invoiceValidationRuleId: IDType;
|
|
833
|
+
meterId?: string;
|
|
828
834
|
comment: string;
|
|
829
835
|
status: 'passed' | 'warning' | 'failed' | 'error';
|
|
830
836
|
originalStatus: 'passed' | 'warning' | 'failed' | 'error';
|
|
831
|
-
|
|
837
|
+
forcedStatus?: 'passed' | 'warning' | 'failed';
|
|
838
|
+
forcedBy?: IDType;
|
|
832
839
|
checkedAt: Date;
|
|
833
840
|
}
|
|
834
841
|
interface InvoiceValidation<IDType = ObjectId | string> {
|
|
835
842
|
_id: IDType;
|
|
836
843
|
status: 'pending' | 'passed' | 'warning' | 'failed' | 'error';
|
|
837
844
|
originalStatus: 'pending' | 'passed' | 'warning' | 'failed' | 'error';
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
845
|
+
completed: boolean;
|
|
846
|
+
completedAt?: Date | null;
|
|
847
|
+
completedBy?: IDType;
|
|
841
848
|
assignedUserId?: IDType;
|
|
842
|
-
|
|
843
|
-
|
|
849
|
+
results?: InvoiceValidationResults<IDType>[] | null;
|
|
850
|
+
invoiceCaptureId: IDType;
|
|
851
|
+
invoiceResults?: InvoiceValidationInvoice[];
|
|
852
|
+
summary?: string | null;
|
|
853
|
+
tags?: string[];
|
|
854
|
+
onHold: boolean;
|
|
844
855
|
batchId?: string;
|
|
845
|
-
accountIdMatches?: object;
|
|
846
856
|
companyId: IDType;
|
|
847
857
|
userSub: string;
|
|
848
858
|
}
|