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