@etainabl/nodejs-sdk 1.3.31 → 1.3.32
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 +101 -99
- package/dist/index.d.ts +101 -99
- 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: AccountType;
|
|
29
29
|
unit: ETNUnit;
|
|
30
30
|
};
|
|
31
31
|
|
|
@@ -557,6 +557,8 @@ interface Invoice<IDType = ObjectId | string> {
|
|
|
557
557
|
companyId: IDType;
|
|
558
558
|
userSub: string;
|
|
559
559
|
validation?: any[];
|
|
560
|
+
automationId?: IDType;
|
|
561
|
+
ingestS3Key?: string;
|
|
560
562
|
}
|
|
561
563
|
|
|
562
564
|
interface InvoiceCaptureMetadataResult {
|
|
@@ -721,103 +723,103 @@ interface AuthOptions {
|
|
|
721
723
|
}
|
|
722
724
|
declare const _default$3: (auth: AuthOptions, instanceOptions?: CreateAxiosDefaults) => {
|
|
723
725
|
instance: AxiosInstance;
|
|
724
|
-
getAccount: (id: string, options?: AxiosRequestConfig
|
|
725
|
-
listAccounts: (options?: AxiosRequestConfig
|
|
726
|
-
updateAccount: (id: string, data: any, options?: AxiosRequestConfig
|
|
727
|
-
createAccount: (data: any, options?: AxiosRequestConfig
|
|
728
|
-
removeAccount: (id: string, options?: AxiosRequestConfig
|
|
729
|
-
getAccountSchema: (options?: AxiosRequestConfig
|
|
730
|
-
invalidateAccountCache: (id: string, data: any, options?: AxiosRequestConfig
|
|
731
|
-
getAsset: (id: string, options?: AxiosRequestConfig
|
|
732
|
-
listAssets: (options?: AxiosRequestConfig
|
|
733
|
-
updateAsset: (id: string, data: any, options?: AxiosRequestConfig
|
|
734
|
-
createAsset: (data: any, options?: AxiosRequestConfig
|
|
735
|
-
removeAsset: (id: string, options?: AxiosRequestConfig
|
|
736
|
-
getAssetSchema: (options?: AxiosRequestConfig
|
|
737
|
-
getAssetGroup: (id: string, options?: AxiosRequestConfig
|
|
738
|
-
listAssetGroups: (options?: AxiosRequestConfig
|
|
739
|
-
updateAssetGroup: (id: string, data: any, options?: AxiosRequestConfig
|
|
740
|
-
createAssetGroup: (data: any, options?: AxiosRequestConfig
|
|
741
|
-
removeAssetGroup: (id: string, options?: AxiosRequestConfig
|
|
742
|
-
getAssetGroupAssets: (id: string, options?: AxiosRequestConfig
|
|
743
|
-
getAssetGroupSchema: (options?: AxiosRequestConfig
|
|
744
|
-
getAutomation: (id: string, options?: AxiosRequestConfig
|
|
745
|
-
listAutomations: (options?: AxiosRequestConfig
|
|
746
|
-
updateAutomation: (id: string, data: any, options?: AxiosRequestConfig
|
|
747
|
-
createAutomation: (data: any, options?: AxiosRequestConfig
|
|
748
|
-
removeAutomation: (id: string, options?: AxiosRequestConfig
|
|
749
|
-
createAutomationLog: (id: string, data: any, options?: AxiosRequestConfig
|
|
750
|
-
updateAutomationLog: (id: string, subId: string, data: any, options?: AxiosRequestConfig
|
|
751
|
-
removeAutomationLog: (id: string, subId: string, options?: AxiosRequestConfig
|
|
752
|
-
getCompany: (id: string, options?: AxiosRequestConfig
|
|
753
|
-
getConsumption: (id: string, options?: AxiosRequestConfig
|
|
754
|
-
listConsumptions: (options?: AxiosRequestConfig
|
|
755
|
-
updateConsumption: (id: string, data: any, options?: AxiosRequestConfig
|
|
756
|
-
createConsumption: (data: any, options?: AxiosRequestConfig
|
|
757
|
-
removeConsumption: (id: string, options?: AxiosRequestConfig
|
|
758
|
-
getConsumptionSchema: (options?: AxiosRequestConfig
|
|
759
|
-
getEmail: (id: string, options?: AxiosRequestConfig
|
|
760
|
-
listEmails: (options?: AxiosRequestConfig
|
|
761
|
-
updateEmail: (id: string, data: any, options?: AxiosRequestConfig
|
|
762
|
-
createEmail: (data: any, options?: AxiosRequestConfig
|
|
763
|
-
removeEmail: (id: string, options?: AxiosRequestConfig
|
|
764
|
-
getEmissionFactor: (id: string, options?: AxiosRequestConfig
|
|
765
|
-
listEmissionFactors: (options?: AxiosRequestConfig
|
|
766
|
-
updateEmissionFactor: (id: string, data: any, options?: AxiosRequestConfig
|
|
767
|
-
createEmissionFactor: (data: any, options?: AxiosRequestConfig
|
|
768
|
-
removeEmissionFactor: (id: string, options?: AxiosRequestConfig
|
|
769
|
-
getEntity: (id: string, options?: AxiosRequestConfig
|
|
770
|
-
listEntities: (options?: AxiosRequestConfig
|
|
771
|
-
updateEntity: (id: string, data: any, options?: AxiosRequestConfig
|
|
772
|
-
createEntity: (data: any, options?: AxiosRequestConfig
|
|
773
|
-
removeEntity: (id: string, options?: AxiosRequestConfig
|
|
774
|
-
getEntitiesSchema: (options?: AxiosRequestConfig
|
|
775
|
-
getLog: (id: string, options?: AxiosRequestConfig
|
|
776
|
-
listLogs: (options?: AxiosRequestConfig
|
|
777
|
-
updateLog: (id: string, data: any, options?: AxiosRequestConfig
|
|
778
|
-
createLog: (data: any, options?: AxiosRequestConfig
|
|
779
|
-
removeLog: (id: string, options?: AxiosRequestConfig
|
|
780
|
-
getReading: (id: string, options?: AxiosRequestConfig
|
|
781
|
-
listReadings: (options?: AxiosRequestConfig
|
|
782
|
-
updateReading: (id: string, data: any, options?: AxiosRequestConfig
|
|
783
|
-
createReading: (data: any, options?: AxiosRequestConfig
|
|
784
|
-
removeReading: (id: string, options?: AxiosRequestConfig
|
|
785
|
-
getReadingSchema: (options?: AxiosRequestConfig
|
|
786
|
-
getReport: (id: string, options?: AxiosRequestConfig
|
|
787
|
-
listReports: (options?: AxiosRequestConfig
|
|
788
|
-
updateReport: (id: string, data: any, options?: AxiosRequestConfig
|
|
789
|
-
createReport: (data: any, options?: AxiosRequestConfig
|
|
790
|
-
removeReport: (id: string, options?: AxiosRequestConfig
|
|
791
|
-
sendReport: (id: string, data: any, options?: AxiosRequestConfig
|
|
792
|
-
getReportTemplate: (id: string, options?: AxiosRequestConfig
|
|
793
|
-
listReportTemplates: (options?: AxiosRequestConfig
|
|
794
|
-
updateReportTemplate: (id: string, data: any, options?: AxiosRequestConfig
|
|
795
|
-
createReportTemplate: (data: any, options?: AxiosRequestConfig
|
|
796
|
-
removeReportTemplate: (id: string, options?: AxiosRequestConfig
|
|
797
|
-
getScheduledReport: (id: string, options?: AxiosRequestConfig
|
|
798
|
-
listScheduledReports: (options?: AxiosRequestConfig
|
|
799
|
-
updateScheduledReport: (id: string, data: any, options?: AxiosRequestConfig
|
|
800
|
-
createScheduledReport: (data: any, options?: AxiosRequestConfig
|
|
801
|
-
removeScheduledReport: (id: string, options?: AxiosRequestConfig
|
|
802
|
-
sendScheduledReport: (id: string, data: any, options?: AxiosRequestConfig
|
|
803
|
-
getInvoice: (id: string, options?: AxiosRequestConfig
|
|
804
|
-
listInvoices: (options?: AxiosRequestConfig
|
|
805
|
-
updateInvoice: (id: string, data: any, options?: AxiosRequestConfig
|
|
806
|
-
createInvoice: (data: any, options?: AxiosRequestConfig
|
|
807
|
-
removeInvoice: (id: string, options?: AxiosRequestConfig
|
|
808
|
-
getInvoiceSchema: (options?: AxiosRequestConfig
|
|
809
|
-
getInvoiceCapture: (id: string, options?: AxiosRequestConfig
|
|
810
|
-
listInvoicesCapture: (options?: AxiosRequestConfig
|
|
811
|
-
updateInvoiceCapture: (id: string, data: any, options?: AxiosRequestConfig
|
|
812
|
-
createInvoiceCapture: (data: any, options?: AxiosRequestConfig
|
|
813
|
-
removeInvoiceCapture: (id: string, options?: AxiosRequestConfig
|
|
814
|
-
getInvoiceCaptureSchema: (options?: AxiosRequestConfig
|
|
815
|
-
listSuppliers: (options?: AxiosRequestConfig
|
|
816
|
-
getSupplierSchema: (options?: AxiosRequestConfig
|
|
817
|
-
getImportTemplate: (id: string, options?: AxiosRequestConfig
|
|
818
|
-
listDataIngest: (options?: AxiosRequestConfig
|
|
819
|
-
updateDataIngest: (id: string, data: any, options?: AxiosRequestConfig
|
|
820
|
-
createDataIngest: (data: any, options?: AxiosRequestConfig
|
|
726
|
+
getAccount: (id: string, options?: AxiosRequestConfig) => Promise<Account<string>>;
|
|
727
|
+
listAccounts: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Account<string>>>;
|
|
728
|
+
updateAccount: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Account<string>>;
|
|
729
|
+
createAccount: (data: any, options?: AxiosRequestConfig) => Promise<Account<string>>;
|
|
730
|
+
removeAccount: (id: string, options?: AxiosRequestConfig) => Promise<Account<string>>;
|
|
731
|
+
getAccountSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
732
|
+
invalidateAccountCache: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
733
|
+
getAsset: (id: string, options?: AxiosRequestConfig) => Promise<Asset<string>>;
|
|
734
|
+
listAssets: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Asset<string>>>;
|
|
735
|
+
updateAsset: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Asset<string>>;
|
|
736
|
+
createAsset: (data: any, options?: AxiosRequestConfig) => Promise<Asset<string>>;
|
|
737
|
+
removeAsset: (id: string, options?: AxiosRequestConfig) => Promise<Asset<string>>;
|
|
738
|
+
getAssetSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
739
|
+
getAssetGroup: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
740
|
+
listAssetGroups: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<any>>;
|
|
741
|
+
updateAssetGroup: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
742
|
+
createAssetGroup: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
743
|
+
removeAssetGroup: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
744
|
+
getAssetGroupAssets: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
745
|
+
getAssetGroupSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
746
|
+
getAutomation: (id: string, options?: AxiosRequestConfig) => Promise<Automation<string>>;
|
|
747
|
+
listAutomations: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Automation<string>>>;
|
|
748
|
+
updateAutomation: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Automation<string>>;
|
|
749
|
+
createAutomation: (data: any, options?: AxiosRequestConfig) => Promise<Automation<string>>;
|
|
750
|
+
removeAutomation: (id: string, options?: AxiosRequestConfig) => Promise<Automation<string>>;
|
|
751
|
+
createAutomationLog: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
752
|
+
updateAutomationLog: (id: string, subId: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
753
|
+
removeAutomationLog: (id: string, subId: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
754
|
+
getCompany: (id: string, options?: AxiosRequestConfig) => Promise<Company<string>>;
|
|
755
|
+
getConsumption: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
756
|
+
listConsumptions: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<any>>;
|
|
757
|
+
updateConsumption: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
758
|
+
createConsumption: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
759
|
+
removeConsumption: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
760
|
+
getConsumptionSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
761
|
+
getEmail: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
762
|
+
listEmails: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<any>>;
|
|
763
|
+
updateEmail: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
764
|
+
createEmail: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
765
|
+
removeEmail: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
766
|
+
getEmissionFactor: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
767
|
+
listEmissionFactors: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<any>>;
|
|
768
|
+
updateEmissionFactor: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
769
|
+
createEmissionFactor: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
770
|
+
removeEmissionFactor: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
771
|
+
getEntity: (id: string, options?: AxiosRequestConfig) => Promise<Entity<string>>;
|
|
772
|
+
listEntities: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Entity<string>>>;
|
|
773
|
+
updateEntity: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Entity<string>>;
|
|
774
|
+
createEntity: (data: any, options?: AxiosRequestConfig) => Promise<Entity<string>>;
|
|
775
|
+
removeEntity: (id: string, options?: AxiosRequestConfig) => Promise<Entity<string>>;
|
|
776
|
+
getEntitiesSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
777
|
+
getLog: (id: string, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
778
|
+
listLogs: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Log<string>>>;
|
|
779
|
+
updateLog: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
780
|
+
createLog: (data: any, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
781
|
+
removeLog: (id: string, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
782
|
+
getReading: (id: string, options?: AxiosRequestConfig) => Promise<Reading<string>>;
|
|
783
|
+
listReadings: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Reading<string>>>;
|
|
784
|
+
updateReading: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Reading<string>>;
|
|
785
|
+
createReading: (data: any, options?: AxiosRequestConfig) => Promise<Reading<string>>;
|
|
786
|
+
removeReading: (id: string, options?: AxiosRequestConfig) => Promise<Reading<string>>;
|
|
787
|
+
getReadingSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
788
|
+
getReport: (id: string, options?: AxiosRequestConfig) => Promise<Report<string>>;
|
|
789
|
+
listReports: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Report<string>>>;
|
|
790
|
+
updateReport: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Report<string>>;
|
|
791
|
+
createReport: (data: any, options?: AxiosRequestConfig) => Promise<Report<string>>;
|
|
792
|
+
removeReport: (id: string, options?: AxiosRequestConfig) => Promise<Report<string>>;
|
|
793
|
+
sendReport: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
794
|
+
getReportTemplate: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
795
|
+
listReportTemplates: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<any>>;
|
|
796
|
+
updateReportTemplate: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
797
|
+
createReportTemplate: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
798
|
+
removeReportTemplate: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
799
|
+
getScheduledReport: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
800
|
+
listScheduledReports: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<any>>;
|
|
801
|
+
updateScheduledReport: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
802
|
+
createScheduledReport: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
803
|
+
removeScheduledReport: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
804
|
+
sendScheduledReport: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
805
|
+
getInvoice: (id: string, options?: AxiosRequestConfig) => Promise<Invoice<string>>;
|
|
806
|
+
listInvoices: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Invoice<string>>>;
|
|
807
|
+
updateInvoice: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Invoice<string>>;
|
|
808
|
+
createInvoice: (data: any, options?: AxiosRequestConfig) => Promise<Invoice<string>>;
|
|
809
|
+
removeInvoice: (id: string, options?: AxiosRequestConfig) => Promise<Invoice<string>>;
|
|
810
|
+
getInvoiceSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
811
|
+
getInvoiceCapture: (id: string, options?: AxiosRequestConfig) => Promise<InvoiceCapture<string>>;
|
|
812
|
+
listInvoicesCapture: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<InvoiceCapture<string>>>;
|
|
813
|
+
updateInvoiceCapture: (id: string, data: any, options?: AxiosRequestConfig) => Promise<InvoiceCapture<string>>;
|
|
814
|
+
createInvoiceCapture: (data: any, options?: AxiosRequestConfig) => Promise<InvoiceCapture<string>>;
|
|
815
|
+
removeInvoiceCapture: (id: string, options?: AxiosRequestConfig) => Promise<InvoiceCapture<string>>;
|
|
816
|
+
getInvoiceCaptureSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
817
|
+
listSuppliers: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Supplier<string>>>;
|
|
818
|
+
getSupplierSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
819
|
+
getImportTemplate: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
820
|
+
listDataIngest: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<DataIngest<string>>>;
|
|
821
|
+
updateDataIngest: (id: string, data: any, options?: AxiosRequestConfig) => Promise<DataIngest<string>>;
|
|
822
|
+
createDataIngest: (data: any, options?: AxiosRequestConfig) => Promise<DataIngest<string>>;
|
|
821
823
|
};
|
|
822
824
|
|
|
823
825
|
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: AccountType;
|
|
29
29
|
unit: ETNUnit;
|
|
30
30
|
};
|
|
31
31
|
|
|
@@ -557,6 +557,8 @@ interface Invoice<IDType = ObjectId | string> {
|
|
|
557
557
|
companyId: IDType;
|
|
558
558
|
userSub: string;
|
|
559
559
|
validation?: any[];
|
|
560
|
+
automationId?: IDType;
|
|
561
|
+
ingestS3Key?: string;
|
|
560
562
|
}
|
|
561
563
|
|
|
562
564
|
interface InvoiceCaptureMetadataResult {
|
|
@@ -721,103 +723,103 @@ interface AuthOptions {
|
|
|
721
723
|
}
|
|
722
724
|
declare const _default$3: (auth: AuthOptions, instanceOptions?: CreateAxiosDefaults) => {
|
|
723
725
|
instance: AxiosInstance;
|
|
724
|
-
getAccount: (id: string, options?: AxiosRequestConfig
|
|
725
|
-
listAccounts: (options?: AxiosRequestConfig
|
|
726
|
-
updateAccount: (id: string, data: any, options?: AxiosRequestConfig
|
|
727
|
-
createAccount: (data: any, options?: AxiosRequestConfig
|
|
728
|
-
removeAccount: (id: string, options?: AxiosRequestConfig
|
|
729
|
-
getAccountSchema: (options?: AxiosRequestConfig
|
|
730
|
-
invalidateAccountCache: (id: string, data: any, options?: AxiosRequestConfig
|
|
731
|
-
getAsset: (id: string, options?: AxiosRequestConfig
|
|
732
|
-
listAssets: (options?: AxiosRequestConfig
|
|
733
|
-
updateAsset: (id: string, data: any, options?: AxiosRequestConfig
|
|
734
|
-
createAsset: (data: any, options?: AxiosRequestConfig
|
|
735
|
-
removeAsset: (id: string, options?: AxiosRequestConfig
|
|
736
|
-
getAssetSchema: (options?: AxiosRequestConfig
|
|
737
|
-
getAssetGroup: (id: string, options?: AxiosRequestConfig
|
|
738
|
-
listAssetGroups: (options?: AxiosRequestConfig
|
|
739
|
-
updateAssetGroup: (id: string, data: any, options?: AxiosRequestConfig
|
|
740
|
-
createAssetGroup: (data: any, options?: AxiosRequestConfig
|
|
741
|
-
removeAssetGroup: (id: string, options?: AxiosRequestConfig
|
|
742
|
-
getAssetGroupAssets: (id: string, options?: AxiosRequestConfig
|
|
743
|
-
getAssetGroupSchema: (options?: AxiosRequestConfig
|
|
744
|
-
getAutomation: (id: string, options?: AxiosRequestConfig
|
|
745
|
-
listAutomations: (options?: AxiosRequestConfig
|
|
746
|
-
updateAutomation: (id: string, data: any, options?: AxiosRequestConfig
|
|
747
|
-
createAutomation: (data: any, options?: AxiosRequestConfig
|
|
748
|
-
removeAutomation: (id: string, options?: AxiosRequestConfig
|
|
749
|
-
createAutomationLog: (id: string, data: any, options?: AxiosRequestConfig
|
|
750
|
-
updateAutomationLog: (id: string, subId: string, data: any, options?: AxiosRequestConfig
|
|
751
|
-
removeAutomationLog: (id: string, subId: string, options?: AxiosRequestConfig
|
|
752
|
-
getCompany: (id: string, options?: AxiosRequestConfig
|
|
753
|
-
getConsumption: (id: string, options?: AxiosRequestConfig
|
|
754
|
-
listConsumptions: (options?: AxiosRequestConfig
|
|
755
|
-
updateConsumption: (id: string, data: any, options?: AxiosRequestConfig
|
|
756
|
-
createConsumption: (data: any, options?: AxiosRequestConfig
|
|
757
|
-
removeConsumption: (id: string, options?: AxiosRequestConfig
|
|
758
|
-
getConsumptionSchema: (options?: AxiosRequestConfig
|
|
759
|
-
getEmail: (id: string, options?: AxiosRequestConfig
|
|
760
|
-
listEmails: (options?: AxiosRequestConfig
|
|
761
|
-
updateEmail: (id: string, data: any, options?: AxiosRequestConfig
|
|
762
|
-
createEmail: (data: any, options?: AxiosRequestConfig
|
|
763
|
-
removeEmail: (id: string, options?: AxiosRequestConfig
|
|
764
|
-
getEmissionFactor: (id: string, options?: AxiosRequestConfig
|
|
765
|
-
listEmissionFactors: (options?: AxiosRequestConfig
|
|
766
|
-
updateEmissionFactor: (id: string, data: any, options?: AxiosRequestConfig
|
|
767
|
-
createEmissionFactor: (data: any, options?: AxiosRequestConfig
|
|
768
|
-
removeEmissionFactor: (id: string, options?: AxiosRequestConfig
|
|
769
|
-
getEntity: (id: string, options?: AxiosRequestConfig
|
|
770
|
-
listEntities: (options?: AxiosRequestConfig
|
|
771
|
-
updateEntity: (id: string, data: any, options?: AxiosRequestConfig
|
|
772
|
-
createEntity: (data: any, options?: AxiosRequestConfig
|
|
773
|
-
removeEntity: (id: string, options?: AxiosRequestConfig
|
|
774
|
-
getEntitiesSchema: (options?: AxiosRequestConfig
|
|
775
|
-
getLog: (id: string, options?: AxiosRequestConfig
|
|
776
|
-
listLogs: (options?: AxiosRequestConfig
|
|
777
|
-
updateLog: (id: string, data: any, options?: AxiosRequestConfig
|
|
778
|
-
createLog: (data: any, options?: AxiosRequestConfig
|
|
779
|
-
removeLog: (id: string, options?: AxiosRequestConfig
|
|
780
|
-
getReading: (id: string, options?: AxiosRequestConfig
|
|
781
|
-
listReadings: (options?: AxiosRequestConfig
|
|
782
|
-
updateReading: (id: string, data: any, options?: AxiosRequestConfig
|
|
783
|
-
createReading: (data: any, options?: AxiosRequestConfig
|
|
784
|
-
removeReading: (id: string, options?: AxiosRequestConfig
|
|
785
|
-
getReadingSchema: (options?: AxiosRequestConfig
|
|
786
|
-
getReport: (id: string, options?: AxiosRequestConfig
|
|
787
|
-
listReports: (options?: AxiosRequestConfig
|
|
788
|
-
updateReport: (id: string, data: any, options?: AxiosRequestConfig
|
|
789
|
-
createReport: (data: any, options?: AxiosRequestConfig
|
|
790
|
-
removeReport: (id: string, options?: AxiosRequestConfig
|
|
791
|
-
sendReport: (id: string, data: any, options?: AxiosRequestConfig
|
|
792
|
-
getReportTemplate: (id: string, options?: AxiosRequestConfig
|
|
793
|
-
listReportTemplates: (options?: AxiosRequestConfig
|
|
794
|
-
updateReportTemplate: (id: string, data: any, options?: AxiosRequestConfig
|
|
795
|
-
createReportTemplate: (data: any, options?: AxiosRequestConfig
|
|
796
|
-
removeReportTemplate: (id: string, options?: AxiosRequestConfig
|
|
797
|
-
getScheduledReport: (id: string, options?: AxiosRequestConfig
|
|
798
|
-
listScheduledReports: (options?: AxiosRequestConfig
|
|
799
|
-
updateScheduledReport: (id: string, data: any, options?: AxiosRequestConfig
|
|
800
|
-
createScheduledReport: (data: any, options?: AxiosRequestConfig
|
|
801
|
-
removeScheduledReport: (id: string, options?: AxiosRequestConfig
|
|
802
|
-
sendScheduledReport: (id: string, data: any, options?: AxiosRequestConfig
|
|
803
|
-
getInvoice: (id: string, options?: AxiosRequestConfig
|
|
804
|
-
listInvoices: (options?: AxiosRequestConfig
|
|
805
|
-
updateInvoice: (id: string, data: any, options?: AxiosRequestConfig
|
|
806
|
-
createInvoice: (data: any, options?: AxiosRequestConfig
|
|
807
|
-
removeInvoice: (id: string, options?: AxiosRequestConfig
|
|
808
|
-
getInvoiceSchema: (options?: AxiosRequestConfig
|
|
809
|
-
getInvoiceCapture: (id: string, options?: AxiosRequestConfig
|
|
810
|
-
listInvoicesCapture: (options?: AxiosRequestConfig
|
|
811
|
-
updateInvoiceCapture: (id: string, data: any, options?: AxiosRequestConfig
|
|
812
|
-
createInvoiceCapture: (data: any, options?: AxiosRequestConfig
|
|
813
|
-
removeInvoiceCapture: (id: string, options?: AxiosRequestConfig
|
|
814
|
-
getInvoiceCaptureSchema: (options?: AxiosRequestConfig
|
|
815
|
-
listSuppliers: (options?: AxiosRequestConfig
|
|
816
|
-
getSupplierSchema: (options?: AxiosRequestConfig
|
|
817
|
-
getImportTemplate: (id: string, options?: AxiosRequestConfig
|
|
818
|
-
listDataIngest: (options?: AxiosRequestConfig
|
|
819
|
-
updateDataIngest: (id: string, data: any, options?: AxiosRequestConfig
|
|
820
|
-
createDataIngest: (data: any, options?: AxiosRequestConfig
|
|
726
|
+
getAccount: (id: string, options?: AxiosRequestConfig) => Promise<Account<string>>;
|
|
727
|
+
listAccounts: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Account<string>>>;
|
|
728
|
+
updateAccount: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Account<string>>;
|
|
729
|
+
createAccount: (data: any, options?: AxiosRequestConfig) => Promise<Account<string>>;
|
|
730
|
+
removeAccount: (id: string, options?: AxiosRequestConfig) => Promise<Account<string>>;
|
|
731
|
+
getAccountSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
732
|
+
invalidateAccountCache: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
733
|
+
getAsset: (id: string, options?: AxiosRequestConfig) => Promise<Asset<string>>;
|
|
734
|
+
listAssets: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Asset<string>>>;
|
|
735
|
+
updateAsset: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Asset<string>>;
|
|
736
|
+
createAsset: (data: any, options?: AxiosRequestConfig) => Promise<Asset<string>>;
|
|
737
|
+
removeAsset: (id: string, options?: AxiosRequestConfig) => Promise<Asset<string>>;
|
|
738
|
+
getAssetSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
739
|
+
getAssetGroup: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
740
|
+
listAssetGroups: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<any>>;
|
|
741
|
+
updateAssetGroup: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
742
|
+
createAssetGroup: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
743
|
+
removeAssetGroup: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
744
|
+
getAssetGroupAssets: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
745
|
+
getAssetGroupSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
746
|
+
getAutomation: (id: string, options?: AxiosRequestConfig) => Promise<Automation<string>>;
|
|
747
|
+
listAutomations: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Automation<string>>>;
|
|
748
|
+
updateAutomation: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Automation<string>>;
|
|
749
|
+
createAutomation: (data: any, options?: AxiosRequestConfig) => Promise<Automation<string>>;
|
|
750
|
+
removeAutomation: (id: string, options?: AxiosRequestConfig) => Promise<Automation<string>>;
|
|
751
|
+
createAutomationLog: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
752
|
+
updateAutomationLog: (id: string, subId: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
753
|
+
removeAutomationLog: (id: string, subId: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
754
|
+
getCompany: (id: string, options?: AxiosRequestConfig) => Promise<Company<string>>;
|
|
755
|
+
getConsumption: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
756
|
+
listConsumptions: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<any>>;
|
|
757
|
+
updateConsumption: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
758
|
+
createConsumption: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
759
|
+
removeConsumption: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
760
|
+
getConsumptionSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
761
|
+
getEmail: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
762
|
+
listEmails: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<any>>;
|
|
763
|
+
updateEmail: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
764
|
+
createEmail: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
765
|
+
removeEmail: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
766
|
+
getEmissionFactor: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
767
|
+
listEmissionFactors: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<any>>;
|
|
768
|
+
updateEmissionFactor: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
769
|
+
createEmissionFactor: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
770
|
+
removeEmissionFactor: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
771
|
+
getEntity: (id: string, options?: AxiosRequestConfig) => Promise<Entity<string>>;
|
|
772
|
+
listEntities: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Entity<string>>>;
|
|
773
|
+
updateEntity: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Entity<string>>;
|
|
774
|
+
createEntity: (data: any, options?: AxiosRequestConfig) => Promise<Entity<string>>;
|
|
775
|
+
removeEntity: (id: string, options?: AxiosRequestConfig) => Promise<Entity<string>>;
|
|
776
|
+
getEntitiesSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
777
|
+
getLog: (id: string, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
778
|
+
listLogs: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Log<string>>>;
|
|
779
|
+
updateLog: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
780
|
+
createLog: (data: any, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
781
|
+
removeLog: (id: string, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
782
|
+
getReading: (id: string, options?: AxiosRequestConfig) => Promise<Reading<string>>;
|
|
783
|
+
listReadings: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Reading<string>>>;
|
|
784
|
+
updateReading: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Reading<string>>;
|
|
785
|
+
createReading: (data: any, options?: AxiosRequestConfig) => Promise<Reading<string>>;
|
|
786
|
+
removeReading: (id: string, options?: AxiosRequestConfig) => Promise<Reading<string>>;
|
|
787
|
+
getReadingSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
788
|
+
getReport: (id: string, options?: AxiosRequestConfig) => Promise<Report<string>>;
|
|
789
|
+
listReports: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Report<string>>>;
|
|
790
|
+
updateReport: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Report<string>>;
|
|
791
|
+
createReport: (data: any, options?: AxiosRequestConfig) => Promise<Report<string>>;
|
|
792
|
+
removeReport: (id: string, options?: AxiosRequestConfig) => Promise<Report<string>>;
|
|
793
|
+
sendReport: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
794
|
+
getReportTemplate: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
795
|
+
listReportTemplates: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<any>>;
|
|
796
|
+
updateReportTemplate: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
797
|
+
createReportTemplate: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
798
|
+
removeReportTemplate: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
799
|
+
getScheduledReport: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
800
|
+
listScheduledReports: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<any>>;
|
|
801
|
+
updateScheduledReport: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
802
|
+
createScheduledReport: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
803
|
+
removeScheduledReport: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
804
|
+
sendScheduledReport: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
805
|
+
getInvoice: (id: string, options?: AxiosRequestConfig) => Promise<Invoice<string>>;
|
|
806
|
+
listInvoices: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Invoice<string>>>;
|
|
807
|
+
updateInvoice: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Invoice<string>>;
|
|
808
|
+
createInvoice: (data: any, options?: AxiosRequestConfig) => Promise<Invoice<string>>;
|
|
809
|
+
removeInvoice: (id: string, options?: AxiosRequestConfig) => Promise<Invoice<string>>;
|
|
810
|
+
getInvoiceSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
811
|
+
getInvoiceCapture: (id: string, options?: AxiosRequestConfig) => Promise<InvoiceCapture<string>>;
|
|
812
|
+
listInvoicesCapture: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<InvoiceCapture<string>>>;
|
|
813
|
+
updateInvoiceCapture: (id: string, data: any, options?: AxiosRequestConfig) => Promise<InvoiceCapture<string>>;
|
|
814
|
+
createInvoiceCapture: (data: any, options?: AxiosRequestConfig) => Promise<InvoiceCapture<string>>;
|
|
815
|
+
removeInvoiceCapture: (id: string, options?: AxiosRequestConfig) => Promise<InvoiceCapture<string>>;
|
|
816
|
+
getInvoiceCaptureSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
817
|
+
listSuppliers: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Supplier<string>>>;
|
|
818
|
+
getSupplierSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
819
|
+
getImportTemplate: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
820
|
+
listDataIngest: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<DataIngest<string>>>;
|
|
821
|
+
updateDataIngest: (id: string, data: any, options?: AxiosRequestConfig) => Promise<DataIngest<string>>;
|
|
822
|
+
createDataIngest: (data: any, options?: AxiosRequestConfig) => Promise<DataIngest<string>>;
|
|
821
823
|
};
|
|
822
824
|
|
|
823
825
|
declare const _default$2: (namespace: string) => winston.Logger;
|