@etainabl/nodejs-sdk 1.3.38 → 1.3.39
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 +110 -107
- package/dist/index.d.ts +110 -107
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -24,8 +24,8 @@ declare const accountTypeUnitMap: {
|
|
|
24
24
|
[key: string]: ETNUnit[];
|
|
25
25
|
};
|
|
26
26
|
declare const convertItems: (items: Item[], type: AccountType, defaultUnits: ETNUnit | undefined, accountFactor: number | undefined) => any;
|
|
27
|
-
declare const checkAccountTypeVsUnits: (type: string, unit: string, additionalLog?: number |
|
|
28
|
-
type:
|
|
27
|
+
declare const checkAccountTypeVsUnits: (type: string, unit: string, additionalLog?: number | '') => {
|
|
28
|
+
type: UtilityType;
|
|
29
29
|
unit: ETNUnit;
|
|
30
30
|
};
|
|
31
31
|
|
|
@@ -568,7 +568,7 @@ interface Invoice<IDType = ObjectId | string> {
|
|
|
568
568
|
stampedS3Key: string | null;
|
|
569
569
|
fileName?: string | null;
|
|
570
570
|
status: InvoiceStatus;
|
|
571
|
-
financialStatus
|
|
571
|
+
financialStatus?: FinancialStatus;
|
|
572
572
|
completed?: boolean;
|
|
573
573
|
type?: string | null;
|
|
574
574
|
tags?: string[];
|
|
@@ -596,6 +596,9 @@ interface Invoice<IDType = ObjectId | string> {
|
|
|
596
596
|
accountId: IDType;
|
|
597
597
|
entityId?: IDType;
|
|
598
598
|
companyId: IDType;
|
|
599
|
+
invoiceCaptureVersion?: '1' | '2';
|
|
600
|
+
invoiceValidationId?: IDType;
|
|
601
|
+
invoiceCaptureId?: IDType;
|
|
599
602
|
userSub: string;
|
|
600
603
|
validation?: any[];
|
|
601
604
|
automationId?: IDType;
|
|
@@ -767,110 +770,110 @@ interface AuthOptions {
|
|
|
767
770
|
}
|
|
768
771
|
declare const _default$3: (auth: AuthOptions, instanceOptions?: CreateAxiosDefaults) => {
|
|
769
772
|
instance: AxiosInstance;
|
|
770
|
-
getAccount: (id: string, options?: AxiosRequestConfig) => Promise<Account<string>>;
|
|
771
|
-
listAccounts: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Account<string>>>;
|
|
772
|
-
updateAccount: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Account<string>>;
|
|
773
|
-
createAccount: (data: any, options?: AxiosRequestConfig) => Promise<Account<string>>;
|
|
774
|
-
removeAccount: (id: string, options?: AxiosRequestConfig) => Promise<Account<string>>;
|
|
775
|
-
getAccountSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
776
|
-
invalidateAccountCache: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
777
|
-
getAsset: (id: string, options?: AxiosRequestConfig) => Promise<Asset<string>>;
|
|
778
|
-
listAssets: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Asset<string>>>;
|
|
779
|
-
updateAsset: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Asset<string>>;
|
|
780
|
-
createAsset: (data: any, options?: AxiosRequestConfig) => Promise<Asset<string>>;
|
|
781
|
-
removeAsset: (id: string, options?: AxiosRequestConfig) => Promise<Asset<string>>;
|
|
782
|
-
getAssetSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
783
|
-
getAssetGroup: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
784
|
-
listAssetGroups: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<any>>;
|
|
785
|
-
updateAssetGroup: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
786
|
-
createAssetGroup: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
787
|
-
removeAssetGroup: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
788
|
-
getAssetGroupAssets: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
789
|
-
getAssetGroupSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
790
|
-
getAutomation: (id: string, options?: AxiosRequestConfig) => Promise<Automation<string>>;
|
|
791
|
-
listAutomations: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Automation<string>>>;
|
|
792
|
-
updateAutomation: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Automation<string>>;
|
|
793
|
-
createAutomation: (data: any, options?: AxiosRequestConfig) => Promise<Automation<string>>;
|
|
794
|
-
removeAutomation: (id: string, options?: AxiosRequestConfig) => Promise<Automation<string>>;
|
|
795
|
-
createAutomationLog: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
796
|
-
updateAutomationLog: (id: string, subId: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
797
|
-
removeAutomationLog: (id: string, subId: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
798
|
-
getCompany: (id: string, options?: AxiosRequestConfig) => Promise<Company<string>>;
|
|
799
|
-
getCompanyInvoiceValidationRules: (id: string, options?: AxiosRequestConfig) => Promise<CompanyInvoiceValidationRule<string>[]>;
|
|
800
|
-
getConsumption: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
801
|
-
listConsumptions: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<any>>;
|
|
802
|
-
updateConsumption: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
803
|
-
createConsumption: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
804
|
-
removeConsumption: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
805
|
-
getConsumptionSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
806
|
-
getEmail: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
807
|
-
listEmails: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<any>>;
|
|
808
|
-
updateEmail: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
809
|
-
createEmail: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
810
|
-
removeEmail: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
811
|
-
getEmissionFactor: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
812
|
-
listEmissionFactors: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<any>>;
|
|
813
|
-
updateEmissionFactor: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
814
|
-
createEmissionFactor: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
815
|
-
removeEmissionFactor: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
816
|
-
getEntity: (id: string, options?: AxiosRequestConfig) => Promise<Entity<string>>;
|
|
817
|
-
listEntities: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Entity<string>>>;
|
|
818
|
-
updateEntity: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Entity<string>>;
|
|
819
|
-
createEntity: (data: any, options?: AxiosRequestConfig) => Promise<Entity<string>>;
|
|
820
|
-
removeEntity: (id: string, options?: AxiosRequestConfig) => Promise<Entity<string>>;
|
|
821
|
-
getEntitiesSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
822
|
-
getLog: (id: string, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
823
|
-
listLogs: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Log<string>>>;
|
|
824
|
-
updateLog: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
825
|
-
createLog: (data: any, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
826
|
-
removeLog: (id: string, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
827
|
-
getReading: (id: string, options?: AxiosRequestConfig) => Promise<Reading<string>>;
|
|
828
|
-
listReadings: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Reading<string>>>;
|
|
829
|
-
updateReading: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Reading<string>>;
|
|
830
|
-
createReading: (data: any, options?: AxiosRequestConfig) => Promise<Reading<string>>;
|
|
831
|
-
removeReading: (id: string, options?: AxiosRequestConfig) => Promise<Reading<string>>;
|
|
832
|
-
getReadingSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
833
|
-
getReport: (id: string, options?: AxiosRequestConfig) => Promise<Report<string>>;
|
|
834
|
-
listReports: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Report<string>>>;
|
|
835
|
-
updateReport: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Report<string>>;
|
|
836
|
-
createReport: (data: any, options?: AxiosRequestConfig) => Promise<Report<string>>;
|
|
837
|
-
removeReport: (id: string, options?: AxiosRequestConfig) => Promise<Report<string>>;
|
|
838
|
-
sendReport: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
839
|
-
getReportTemplate: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
840
|
-
listReportTemplates: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<any>>;
|
|
841
|
-
updateReportTemplate: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
842
|
-
createReportTemplate: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
843
|
-
removeReportTemplate: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
844
|
-
getScheduledReport: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
845
|
-
listScheduledReports: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<any>>;
|
|
846
|
-
updateScheduledReport: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
847
|
-
createScheduledReport: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
848
|
-
removeScheduledReport: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
849
|
-
sendScheduledReport: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
850
|
-
getInvoice: (id: string, options?: AxiosRequestConfig) => Promise<Invoice<string>>;
|
|
851
|
-
listInvoices: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Invoice<string>>>;
|
|
852
|
-
updateInvoice: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Invoice<string>>;
|
|
853
|
-
createInvoice: (data: any, options?: AxiosRequestConfig) => Promise<Invoice<string>>;
|
|
854
|
-
removeInvoice: (id: string, options?: AxiosRequestConfig) => Promise<Invoice<string>>;
|
|
855
|
-
getInvoiceSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
856
|
-
getInvoiceCapture: (id: string, options?: AxiosRequestConfig) => Promise<InvoiceCapture<string>>;
|
|
857
|
-
listInvoicesCapture: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<InvoiceCapture<string>>>;
|
|
858
|
-
updateInvoiceCapture: (id: string, data: any, options?: AxiosRequestConfig) => Promise<InvoiceCapture<string>>;
|
|
859
|
-
createInvoiceCapture: (data: any, options?: AxiosRequestConfig) => Promise<InvoiceCapture<string>>;
|
|
860
|
-
removeInvoiceCapture: (id: string, options?: AxiosRequestConfig) => Promise<InvoiceCapture<string>>;
|
|
861
|
-
getInvoiceCaptureSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
862
|
-
getInvoiceValidation: (id: string, options?: AxiosRequestConfig) => Promise<InvoiceValidation<string>>;
|
|
863
|
-
listInvoicesValidation: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<InvoiceValidation<string>>>;
|
|
864
|
-
updateInvoiceValidation: (id: string, data: any, options?: AxiosRequestConfig) => Promise<InvoiceValidation<string>>;
|
|
865
|
-
createInvoiceValidation: (data: any, options?: AxiosRequestConfig) => Promise<InvoiceValidation<string>>;
|
|
866
|
-
removeInvoiceValidation: (id: string, options?: AxiosRequestConfig) => Promise<InvoiceValidation<string>>;
|
|
867
|
-
getInvoiceValidationSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
868
|
-
listSuppliers: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Supplier<string>>>;
|
|
869
|
-
getSupplierSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
870
|
-
getImportTemplate: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
871
|
-
listDataIngest: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<DataIngest<string>>>;
|
|
872
|
-
updateDataIngest: (id: string, data: any, options?: AxiosRequestConfig) => Promise<DataIngest<string>>;
|
|
873
|
-
createDataIngest: (data: any, options?: AxiosRequestConfig) => Promise<DataIngest<string>>;
|
|
773
|
+
getAccount: (id: string, options?: AxiosRequestConfig<any>) => Promise<Account<string>>;
|
|
774
|
+
listAccounts: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<Account<string>>>;
|
|
775
|
+
updateAccount: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<Account<string>>;
|
|
776
|
+
createAccount: (data: any, options?: AxiosRequestConfig<any>) => Promise<Account<string>>;
|
|
777
|
+
removeAccount: (id: string, options?: AxiosRequestConfig<any>) => Promise<Account<string>>;
|
|
778
|
+
getAccountSchema: (options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
779
|
+
invalidateAccountCache: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
780
|
+
getAsset: (id: string, options?: AxiosRequestConfig<any>) => Promise<Asset<string>>;
|
|
781
|
+
listAssets: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<Asset<string>>>;
|
|
782
|
+
updateAsset: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<Asset<string>>;
|
|
783
|
+
createAsset: (data: any, options?: AxiosRequestConfig<any>) => Promise<Asset<string>>;
|
|
784
|
+
removeAsset: (id: string, options?: AxiosRequestConfig<any>) => Promise<Asset<string>>;
|
|
785
|
+
getAssetSchema: (options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
786
|
+
getAssetGroup: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
787
|
+
listAssetGroups: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<any>>;
|
|
788
|
+
updateAssetGroup: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
789
|
+
createAssetGroup: (data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
790
|
+
removeAssetGroup: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
791
|
+
getAssetGroupAssets: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
792
|
+
getAssetGroupSchema: (options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
793
|
+
getAutomation: (id: string, options?: AxiosRequestConfig<any>) => Promise<Automation<string>>;
|
|
794
|
+
listAutomations: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<Automation<string>>>;
|
|
795
|
+
updateAutomation: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<Automation<string>>;
|
|
796
|
+
createAutomation: (data: any, options?: AxiosRequestConfig<any>) => Promise<Automation<string>>;
|
|
797
|
+
removeAutomation: (id: string, options?: AxiosRequestConfig<any>) => Promise<Automation<string>>;
|
|
798
|
+
createAutomationLog: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
799
|
+
updateAutomationLog: (id: string, subId: string, data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
800
|
+
removeAutomationLog: (id: string, subId: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
801
|
+
getCompany: (id: string, options?: AxiosRequestConfig<any>) => Promise<Company<string>>;
|
|
802
|
+
getCompanyInvoiceValidationRules: (id: string, options?: AxiosRequestConfig<any>) => Promise<CompanyInvoiceValidationRule<string>[]>;
|
|
803
|
+
getConsumption: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
804
|
+
listConsumptions: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<any>>;
|
|
805
|
+
updateConsumption: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
806
|
+
createConsumption: (data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
807
|
+
removeConsumption: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
808
|
+
getConsumptionSchema: (options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
809
|
+
getEmail: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
810
|
+
listEmails: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<any>>;
|
|
811
|
+
updateEmail: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
812
|
+
createEmail: (data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
813
|
+
removeEmail: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
814
|
+
getEmissionFactor: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
815
|
+
listEmissionFactors: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<any>>;
|
|
816
|
+
updateEmissionFactor: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
817
|
+
createEmissionFactor: (data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
818
|
+
removeEmissionFactor: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
819
|
+
getEntity: (id: string, options?: AxiosRequestConfig<any>) => Promise<Entity<string>>;
|
|
820
|
+
listEntities: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<Entity<string>>>;
|
|
821
|
+
updateEntity: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<Entity<string>>;
|
|
822
|
+
createEntity: (data: any, options?: AxiosRequestConfig<any>) => Promise<Entity<string>>;
|
|
823
|
+
removeEntity: (id: string, options?: AxiosRequestConfig<any>) => Promise<Entity<string>>;
|
|
824
|
+
getEntitiesSchema: (options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
825
|
+
getLog: (id: string, options?: AxiosRequestConfig<any>) => Promise<Log<string>>;
|
|
826
|
+
listLogs: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<Log<string>>>;
|
|
827
|
+
updateLog: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<Log<string>>;
|
|
828
|
+
createLog: (data: any, options?: AxiosRequestConfig<any>) => Promise<Log<string>>;
|
|
829
|
+
removeLog: (id: string, options?: AxiosRequestConfig<any>) => Promise<Log<string>>;
|
|
830
|
+
getReading: (id: string, options?: AxiosRequestConfig<any>) => Promise<Reading<string>>;
|
|
831
|
+
listReadings: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<Reading<string>>>;
|
|
832
|
+
updateReading: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<Reading<string>>;
|
|
833
|
+
createReading: (data: any, options?: AxiosRequestConfig<any>) => Promise<Reading<string>>;
|
|
834
|
+
removeReading: (id: string, options?: AxiosRequestConfig<any>) => Promise<Reading<string>>;
|
|
835
|
+
getReadingSchema: (options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
836
|
+
getReport: (id: string, options?: AxiosRequestConfig<any>) => Promise<Report<string>>;
|
|
837
|
+
listReports: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<Report<string>>>;
|
|
838
|
+
updateReport: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<Report<string>>;
|
|
839
|
+
createReport: (data: any, options?: AxiosRequestConfig<any>) => Promise<Report<string>>;
|
|
840
|
+
removeReport: (id: string, options?: AxiosRequestConfig<any>) => Promise<Report<string>>;
|
|
841
|
+
sendReport: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
842
|
+
getReportTemplate: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
843
|
+
listReportTemplates: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<any>>;
|
|
844
|
+
updateReportTemplate: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
845
|
+
createReportTemplate: (data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
846
|
+
removeReportTemplate: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
847
|
+
getScheduledReport: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
848
|
+
listScheduledReports: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<any>>;
|
|
849
|
+
updateScheduledReport: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
850
|
+
createScheduledReport: (data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
851
|
+
removeScheduledReport: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
852
|
+
sendScheduledReport: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
853
|
+
getInvoice: (id: string, options?: AxiosRequestConfig<any>) => Promise<Invoice<string>>;
|
|
854
|
+
listInvoices: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<Invoice<string>>>;
|
|
855
|
+
updateInvoice: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<Invoice<string>>;
|
|
856
|
+
createInvoice: (data: any, options?: AxiosRequestConfig<any>) => Promise<Invoice<string>>;
|
|
857
|
+
removeInvoice: (id: string, options?: AxiosRequestConfig<any>) => Promise<Invoice<string>>;
|
|
858
|
+
getInvoiceSchema: (options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
859
|
+
getInvoiceCapture: (id: string, options?: AxiosRequestConfig<any>) => Promise<InvoiceCapture<string>>;
|
|
860
|
+
listInvoicesCapture: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<InvoiceCapture<string>>>;
|
|
861
|
+
updateInvoiceCapture: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<InvoiceCapture<string>>;
|
|
862
|
+
createInvoiceCapture: (data: any, options?: AxiosRequestConfig<any>) => Promise<InvoiceCapture<string>>;
|
|
863
|
+
removeInvoiceCapture: (id: string, options?: AxiosRequestConfig<any>) => Promise<InvoiceCapture<string>>;
|
|
864
|
+
getInvoiceCaptureSchema: (options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
865
|
+
getInvoiceValidation: (id: string, options?: AxiosRequestConfig<any>) => Promise<InvoiceValidation<string>>;
|
|
866
|
+
listInvoicesValidation: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<InvoiceValidation<string>>>;
|
|
867
|
+
updateInvoiceValidation: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<InvoiceValidation<string>>;
|
|
868
|
+
createInvoiceValidation: (data: any, options?: AxiosRequestConfig<any>) => Promise<InvoiceValidation<string>>;
|
|
869
|
+
removeInvoiceValidation: (id: string, options?: AxiosRequestConfig<any>) => Promise<InvoiceValidation<string>>;
|
|
870
|
+
getInvoiceValidationSchema: (options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
871
|
+
listSuppliers: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<Supplier<string>>>;
|
|
872
|
+
getSupplierSchema: (options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
873
|
+
getImportTemplate: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
874
|
+
listDataIngest: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<DataIngest<string>>>;
|
|
875
|
+
updateDataIngest: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<DataIngest<string>>;
|
|
876
|
+
createDataIngest: (data: any, options?: AxiosRequestConfig<any>) => Promise<DataIngest<string>>;
|
|
874
877
|
};
|
|
875
878
|
|
|
876
879
|
declare const _default$2: (namespace: string) => winston.Logger;
|
package/dist/index.d.ts
CHANGED
|
@@ -24,8 +24,8 @@ declare const accountTypeUnitMap: {
|
|
|
24
24
|
[key: string]: ETNUnit[];
|
|
25
25
|
};
|
|
26
26
|
declare const convertItems: (items: Item[], type: AccountType, defaultUnits: ETNUnit | undefined, accountFactor: number | undefined) => any;
|
|
27
|
-
declare const checkAccountTypeVsUnits: (type: string, unit: string, additionalLog?: number |
|
|
28
|
-
type:
|
|
27
|
+
declare const checkAccountTypeVsUnits: (type: string, unit: string, additionalLog?: number | '') => {
|
|
28
|
+
type: UtilityType;
|
|
29
29
|
unit: ETNUnit;
|
|
30
30
|
};
|
|
31
31
|
|
|
@@ -568,7 +568,7 @@ interface Invoice<IDType = ObjectId | string> {
|
|
|
568
568
|
stampedS3Key: string | null;
|
|
569
569
|
fileName?: string | null;
|
|
570
570
|
status: InvoiceStatus;
|
|
571
|
-
financialStatus
|
|
571
|
+
financialStatus?: FinancialStatus;
|
|
572
572
|
completed?: boolean;
|
|
573
573
|
type?: string | null;
|
|
574
574
|
tags?: string[];
|
|
@@ -596,6 +596,9 @@ interface Invoice<IDType = ObjectId | string> {
|
|
|
596
596
|
accountId: IDType;
|
|
597
597
|
entityId?: IDType;
|
|
598
598
|
companyId: IDType;
|
|
599
|
+
invoiceCaptureVersion?: '1' | '2';
|
|
600
|
+
invoiceValidationId?: IDType;
|
|
601
|
+
invoiceCaptureId?: IDType;
|
|
599
602
|
userSub: string;
|
|
600
603
|
validation?: any[];
|
|
601
604
|
automationId?: IDType;
|
|
@@ -767,110 +770,110 @@ interface AuthOptions {
|
|
|
767
770
|
}
|
|
768
771
|
declare const _default$3: (auth: AuthOptions, instanceOptions?: CreateAxiosDefaults) => {
|
|
769
772
|
instance: AxiosInstance;
|
|
770
|
-
getAccount: (id: string, options?: AxiosRequestConfig) => Promise<Account<string>>;
|
|
771
|
-
listAccounts: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Account<string>>>;
|
|
772
|
-
updateAccount: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Account<string>>;
|
|
773
|
-
createAccount: (data: any, options?: AxiosRequestConfig) => Promise<Account<string>>;
|
|
774
|
-
removeAccount: (id: string, options?: AxiosRequestConfig) => Promise<Account<string>>;
|
|
775
|
-
getAccountSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
776
|
-
invalidateAccountCache: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
777
|
-
getAsset: (id: string, options?: AxiosRequestConfig) => Promise<Asset<string>>;
|
|
778
|
-
listAssets: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Asset<string>>>;
|
|
779
|
-
updateAsset: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Asset<string>>;
|
|
780
|
-
createAsset: (data: any, options?: AxiosRequestConfig) => Promise<Asset<string>>;
|
|
781
|
-
removeAsset: (id: string, options?: AxiosRequestConfig) => Promise<Asset<string>>;
|
|
782
|
-
getAssetSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
783
|
-
getAssetGroup: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
784
|
-
listAssetGroups: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<any>>;
|
|
785
|
-
updateAssetGroup: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
786
|
-
createAssetGroup: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
787
|
-
removeAssetGroup: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
788
|
-
getAssetGroupAssets: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
789
|
-
getAssetGroupSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
790
|
-
getAutomation: (id: string, options?: AxiosRequestConfig) => Promise<Automation<string>>;
|
|
791
|
-
listAutomations: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Automation<string>>>;
|
|
792
|
-
updateAutomation: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Automation<string>>;
|
|
793
|
-
createAutomation: (data: any, options?: AxiosRequestConfig) => Promise<Automation<string>>;
|
|
794
|
-
removeAutomation: (id: string, options?: AxiosRequestConfig) => Promise<Automation<string>>;
|
|
795
|
-
createAutomationLog: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
796
|
-
updateAutomationLog: (id: string, subId: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
797
|
-
removeAutomationLog: (id: string, subId: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
798
|
-
getCompany: (id: string, options?: AxiosRequestConfig) => Promise<Company<string>>;
|
|
799
|
-
getCompanyInvoiceValidationRules: (id: string, options?: AxiosRequestConfig) => Promise<CompanyInvoiceValidationRule<string>[]>;
|
|
800
|
-
getConsumption: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
801
|
-
listConsumptions: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<any>>;
|
|
802
|
-
updateConsumption: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
803
|
-
createConsumption: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
804
|
-
removeConsumption: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
805
|
-
getConsumptionSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
806
|
-
getEmail: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
807
|
-
listEmails: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<any>>;
|
|
808
|
-
updateEmail: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
809
|
-
createEmail: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
810
|
-
removeEmail: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
811
|
-
getEmissionFactor: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
812
|
-
listEmissionFactors: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<any>>;
|
|
813
|
-
updateEmissionFactor: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
814
|
-
createEmissionFactor: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
815
|
-
removeEmissionFactor: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
816
|
-
getEntity: (id: string, options?: AxiosRequestConfig) => Promise<Entity<string>>;
|
|
817
|
-
listEntities: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Entity<string>>>;
|
|
818
|
-
updateEntity: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Entity<string>>;
|
|
819
|
-
createEntity: (data: any, options?: AxiosRequestConfig) => Promise<Entity<string>>;
|
|
820
|
-
removeEntity: (id: string, options?: AxiosRequestConfig) => Promise<Entity<string>>;
|
|
821
|
-
getEntitiesSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
822
|
-
getLog: (id: string, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
823
|
-
listLogs: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Log<string>>>;
|
|
824
|
-
updateLog: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
825
|
-
createLog: (data: any, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
826
|
-
removeLog: (id: string, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
827
|
-
getReading: (id: string, options?: AxiosRequestConfig) => Promise<Reading<string>>;
|
|
828
|
-
listReadings: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Reading<string>>>;
|
|
829
|
-
updateReading: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Reading<string>>;
|
|
830
|
-
createReading: (data: any, options?: AxiosRequestConfig) => Promise<Reading<string>>;
|
|
831
|
-
removeReading: (id: string, options?: AxiosRequestConfig) => Promise<Reading<string>>;
|
|
832
|
-
getReadingSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
833
|
-
getReport: (id: string, options?: AxiosRequestConfig) => Promise<Report<string>>;
|
|
834
|
-
listReports: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Report<string>>>;
|
|
835
|
-
updateReport: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Report<string>>;
|
|
836
|
-
createReport: (data: any, options?: AxiosRequestConfig) => Promise<Report<string>>;
|
|
837
|
-
removeReport: (id: string, options?: AxiosRequestConfig) => Promise<Report<string>>;
|
|
838
|
-
sendReport: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
839
|
-
getReportTemplate: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
840
|
-
listReportTemplates: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<any>>;
|
|
841
|
-
updateReportTemplate: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
842
|
-
createReportTemplate: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
843
|
-
removeReportTemplate: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
844
|
-
getScheduledReport: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
845
|
-
listScheduledReports: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<any>>;
|
|
846
|
-
updateScheduledReport: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
847
|
-
createScheduledReport: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
848
|
-
removeScheduledReport: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
849
|
-
sendScheduledReport: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
850
|
-
getInvoice: (id: string, options?: AxiosRequestConfig) => Promise<Invoice<string>>;
|
|
851
|
-
listInvoices: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Invoice<string>>>;
|
|
852
|
-
updateInvoice: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Invoice<string>>;
|
|
853
|
-
createInvoice: (data: any, options?: AxiosRequestConfig) => Promise<Invoice<string>>;
|
|
854
|
-
removeInvoice: (id: string, options?: AxiosRequestConfig) => Promise<Invoice<string>>;
|
|
855
|
-
getInvoiceSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
856
|
-
getInvoiceCapture: (id: string, options?: AxiosRequestConfig) => Promise<InvoiceCapture<string>>;
|
|
857
|
-
listInvoicesCapture: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<InvoiceCapture<string>>>;
|
|
858
|
-
updateInvoiceCapture: (id: string, data: any, options?: AxiosRequestConfig) => Promise<InvoiceCapture<string>>;
|
|
859
|
-
createInvoiceCapture: (data: any, options?: AxiosRequestConfig) => Promise<InvoiceCapture<string>>;
|
|
860
|
-
removeInvoiceCapture: (id: string, options?: AxiosRequestConfig) => Promise<InvoiceCapture<string>>;
|
|
861
|
-
getInvoiceCaptureSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
862
|
-
getInvoiceValidation: (id: string, options?: AxiosRequestConfig) => Promise<InvoiceValidation<string>>;
|
|
863
|
-
listInvoicesValidation: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<InvoiceValidation<string>>>;
|
|
864
|
-
updateInvoiceValidation: (id: string, data: any, options?: AxiosRequestConfig) => Promise<InvoiceValidation<string>>;
|
|
865
|
-
createInvoiceValidation: (data: any, options?: AxiosRequestConfig) => Promise<InvoiceValidation<string>>;
|
|
866
|
-
removeInvoiceValidation: (id: string, options?: AxiosRequestConfig) => Promise<InvoiceValidation<string>>;
|
|
867
|
-
getInvoiceValidationSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
868
|
-
listSuppliers: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Supplier<string>>>;
|
|
869
|
-
getSupplierSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
870
|
-
getImportTemplate: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
871
|
-
listDataIngest: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<DataIngest<string>>>;
|
|
872
|
-
updateDataIngest: (id: string, data: any, options?: AxiosRequestConfig) => Promise<DataIngest<string>>;
|
|
873
|
-
createDataIngest: (data: any, options?: AxiosRequestConfig) => Promise<DataIngest<string>>;
|
|
773
|
+
getAccount: (id: string, options?: AxiosRequestConfig<any>) => Promise<Account<string>>;
|
|
774
|
+
listAccounts: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<Account<string>>>;
|
|
775
|
+
updateAccount: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<Account<string>>;
|
|
776
|
+
createAccount: (data: any, options?: AxiosRequestConfig<any>) => Promise<Account<string>>;
|
|
777
|
+
removeAccount: (id: string, options?: AxiosRequestConfig<any>) => Promise<Account<string>>;
|
|
778
|
+
getAccountSchema: (options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
779
|
+
invalidateAccountCache: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
780
|
+
getAsset: (id: string, options?: AxiosRequestConfig<any>) => Promise<Asset<string>>;
|
|
781
|
+
listAssets: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<Asset<string>>>;
|
|
782
|
+
updateAsset: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<Asset<string>>;
|
|
783
|
+
createAsset: (data: any, options?: AxiosRequestConfig<any>) => Promise<Asset<string>>;
|
|
784
|
+
removeAsset: (id: string, options?: AxiosRequestConfig<any>) => Promise<Asset<string>>;
|
|
785
|
+
getAssetSchema: (options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
786
|
+
getAssetGroup: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
787
|
+
listAssetGroups: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<any>>;
|
|
788
|
+
updateAssetGroup: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
789
|
+
createAssetGroup: (data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
790
|
+
removeAssetGroup: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
791
|
+
getAssetGroupAssets: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
792
|
+
getAssetGroupSchema: (options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
793
|
+
getAutomation: (id: string, options?: AxiosRequestConfig<any>) => Promise<Automation<string>>;
|
|
794
|
+
listAutomations: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<Automation<string>>>;
|
|
795
|
+
updateAutomation: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<Automation<string>>;
|
|
796
|
+
createAutomation: (data: any, options?: AxiosRequestConfig<any>) => Promise<Automation<string>>;
|
|
797
|
+
removeAutomation: (id: string, options?: AxiosRequestConfig<any>) => Promise<Automation<string>>;
|
|
798
|
+
createAutomationLog: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
799
|
+
updateAutomationLog: (id: string, subId: string, data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
800
|
+
removeAutomationLog: (id: string, subId: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
801
|
+
getCompany: (id: string, options?: AxiosRequestConfig<any>) => Promise<Company<string>>;
|
|
802
|
+
getCompanyInvoiceValidationRules: (id: string, options?: AxiosRequestConfig<any>) => Promise<CompanyInvoiceValidationRule<string>[]>;
|
|
803
|
+
getConsumption: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
804
|
+
listConsumptions: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<any>>;
|
|
805
|
+
updateConsumption: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
806
|
+
createConsumption: (data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
807
|
+
removeConsumption: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
808
|
+
getConsumptionSchema: (options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
809
|
+
getEmail: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
810
|
+
listEmails: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<any>>;
|
|
811
|
+
updateEmail: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
812
|
+
createEmail: (data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
813
|
+
removeEmail: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
814
|
+
getEmissionFactor: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
815
|
+
listEmissionFactors: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<any>>;
|
|
816
|
+
updateEmissionFactor: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
817
|
+
createEmissionFactor: (data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
818
|
+
removeEmissionFactor: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
819
|
+
getEntity: (id: string, options?: AxiosRequestConfig<any>) => Promise<Entity<string>>;
|
|
820
|
+
listEntities: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<Entity<string>>>;
|
|
821
|
+
updateEntity: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<Entity<string>>;
|
|
822
|
+
createEntity: (data: any, options?: AxiosRequestConfig<any>) => Promise<Entity<string>>;
|
|
823
|
+
removeEntity: (id: string, options?: AxiosRequestConfig<any>) => Promise<Entity<string>>;
|
|
824
|
+
getEntitiesSchema: (options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
825
|
+
getLog: (id: string, options?: AxiosRequestConfig<any>) => Promise<Log<string>>;
|
|
826
|
+
listLogs: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<Log<string>>>;
|
|
827
|
+
updateLog: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<Log<string>>;
|
|
828
|
+
createLog: (data: any, options?: AxiosRequestConfig<any>) => Promise<Log<string>>;
|
|
829
|
+
removeLog: (id: string, options?: AxiosRequestConfig<any>) => Promise<Log<string>>;
|
|
830
|
+
getReading: (id: string, options?: AxiosRequestConfig<any>) => Promise<Reading<string>>;
|
|
831
|
+
listReadings: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<Reading<string>>>;
|
|
832
|
+
updateReading: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<Reading<string>>;
|
|
833
|
+
createReading: (data: any, options?: AxiosRequestConfig<any>) => Promise<Reading<string>>;
|
|
834
|
+
removeReading: (id: string, options?: AxiosRequestConfig<any>) => Promise<Reading<string>>;
|
|
835
|
+
getReadingSchema: (options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
836
|
+
getReport: (id: string, options?: AxiosRequestConfig<any>) => Promise<Report<string>>;
|
|
837
|
+
listReports: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<Report<string>>>;
|
|
838
|
+
updateReport: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<Report<string>>;
|
|
839
|
+
createReport: (data: any, options?: AxiosRequestConfig<any>) => Promise<Report<string>>;
|
|
840
|
+
removeReport: (id: string, options?: AxiosRequestConfig<any>) => Promise<Report<string>>;
|
|
841
|
+
sendReport: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
842
|
+
getReportTemplate: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
843
|
+
listReportTemplates: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<any>>;
|
|
844
|
+
updateReportTemplate: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
845
|
+
createReportTemplate: (data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
846
|
+
removeReportTemplate: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
847
|
+
getScheduledReport: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
848
|
+
listScheduledReports: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<any>>;
|
|
849
|
+
updateScheduledReport: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
850
|
+
createScheduledReport: (data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
851
|
+
removeScheduledReport: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
852
|
+
sendScheduledReport: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
853
|
+
getInvoice: (id: string, options?: AxiosRequestConfig<any>) => Promise<Invoice<string>>;
|
|
854
|
+
listInvoices: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<Invoice<string>>>;
|
|
855
|
+
updateInvoice: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<Invoice<string>>;
|
|
856
|
+
createInvoice: (data: any, options?: AxiosRequestConfig<any>) => Promise<Invoice<string>>;
|
|
857
|
+
removeInvoice: (id: string, options?: AxiosRequestConfig<any>) => Promise<Invoice<string>>;
|
|
858
|
+
getInvoiceSchema: (options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
859
|
+
getInvoiceCapture: (id: string, options?: AxiosRequestConfig<any>) => Promise<InvoiceCapture<string>>;
|
|
860
|
+
listInvoicesCapture: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<InvoiceCapture<string>>>;
|
|
861
|
+
updateInvoiceCapture: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<InvoiceCapture<string>>;
|
|
862
|
+
createInvoiceCapture: (data: any, options?: AxiosRequestConfig<any>) => Promise<InvoiceCapture<string>>;
|
|
863
|
+
removeInvoiceCapture: (id: string, options?: AxiosRequestConfig<any>) => Promise<InvoiceCapture<string>>;
|
|
864
|
+
getInvoiceCaptureSchema: (options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
865
|
+
getInvoiceValidation: (id: string, options?: AxiosRequestConfig<any>) => Promise<InvoiceValidation<string>>;
|
|
866
|
+
listInvoicesValidation: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<InvoiceValidation<string>>>;
|
|
867
|
+
updateInvoiceValidation: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<InvoiceValidation<string>>;
|
|
868
|
+
createInvoiceValidation: (data: any, options?: AxiosRequestConfig<any>) => Promise<InvoiceValidation<string>>;
|
|
869
|
+
removeInvoiceValidation: (id: string, options?: AxiosRequestConfig<any>) => Promise<InvoiceValidation<string>>;
|
|
870
|
+
getInvoiceValidationSchema: (options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
871
|
+
listSuppliers: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<Supplier<string>>>;
|
|
872
|
+
getSupplierSchema: (options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
873
|
+
getImportTemplate: (id: string, options?: AxiosRequestConfig<any>) => Promise<any>;
|
|
874
|
+
listDataIngest: (options?: AxiosRequestConfig<any>) => Promise<ETNPagedResponse<DataIngest<string>>>;
|
|
875
|
+
updateDataIngest: (id: string, data: any, options?: AxiosRequestConfig<any>) => Promise<DataIngest<string>>;
|
|
876
|
+
createDataIngest: (data: any, options?: AxiosRequestConfig<any>) => Promise<DataIngest<string>>;
|
|
874
877
|
};
|
|
875
878
|
|
|
876
879
|
declare const _default$2: (namespace: string) => winston.Logger;
|