import { HttpClient, HttpHeaders, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import * as i0 from '@angular/core';
import { InjectionToken, ModuleWithProviders } from '@angular/core';
import * as i1 from '@angular/common';
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountAlertRequest {
/**
* Required Must be between 1899-12-31 and 3000-01-01
*/
beginDate: Date | null;
/**
* Required Must be between 1899-12-31 and 3000-01-01 Must be greater than or equal to BeginDate
*/
endDate: Date | null;
/**
* Required
*/
message: string | null;
/**
* Required
*/
allowBillProcessing: boolean | null;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountAlertResponse {
/**
*
*/
alertId: number | null | undefined;
/**
*
*/
beginDate: Date | null | undefined;
/**
*
*/
endDate: Date | null | undefined;
/**
*
*/
message: string | null | undefined;
/**
*
*/
allowBillProcessing: boolean | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountAuditEnable {
/**
* List of AccountIds to try and update Cannot be Empty Required (defined)
*/
accountIds: Array | null | undefined;
/**
* True to allow the accounts' bills to be audited False to exclude the accounts' bills from being audited Required (defined)
*/
auditEnabled: boolean | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AbnormalBillCostWithOutlierAnalysisSettingRequest {
/**
* Minimum outlier sensitivity for abnormal cost analysis If SettingStatus is set to Skip and no value is provided, EnergyCAP default will be set Required when SettingStatus is set to Check, or Hold One of 'Severe', 'High', 'Moderate'
*/
sensitivity: string | null | undefined;
/**
* The status of the audit setting One of 'Check', 'Hold', 'Skip' Required (defined)
*/
settingStatus: string | null | undefined;
/**
* Minimum Bill/Meter Cost. This audit will run only when the cost meets the specified minimum cost Required (defined)
*/
minimumCost: number | null | undefined;
/**
* List of Assignees. Ids of the users the flag should get assigned to when the audit fails. Required (defined)
*/
assignees: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AbnormalBillDemandWithOutlierAnalysisSettingRequest {
/**
* Minimum outlier sensitivity for abnormal demand analysis If SettingStatus is set to Skip and no value is provided, EnergyCAP default will be set Required when SettingStatus is set to Check, or Hold One of 'Severe', 'High', 'Moderate'
*/
sensitivity: string | null | undefined;
/**
* The status of the audit setting One of 'Check', 'Hold', 'Skip' Required (defined)
*/
settingStatus: string | null | undefined;
/**
* Minimum Bill/Meter Cost. This audit will run only when the cost meets the specified minimum cost Required (defined)
*/
minimumCost: number | null | undefined;
/**
* List of Assignees. Ids of the users the flag should get assigned to when the audit fails. Required (defined)
*/
assignees: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AbnormalBillUseWithOutlierAnalysisSettingRequest {
/**
* Minimum outlier sensitivity for abnormal use analysis If SettingStatus is set to Skip and no value is provided, EnergyCAP default will be set Required when SettingStatus is set to Check, or Hold One of 'Severe', 'High', 'Moderate'
*/
sensitivity: string | null | undefined;
/**
* The status of the audit setting One of 'Check', 'Hold', 'Skip' Required (defined)
*/
settingStatus: string | null | undefined;
/**
* Minimum Bill/Meter Cost. This audit will run only when the cost meets the specified minimum cost Required (defined)
*/
minimumCost: number | null | undefined;
/**
* List of Assignees. Ids of the users the flag should get assigned to when the audit fails. Required (defined)
*/
assignees: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AuditSettingRequest {
/**
* The status of the audit setting One of 'Check', 'Hold', 'Skip' Required (defined)
*/
settingStatus: string | null | undefined;
/**
* Minimum Bill/Meter Cost. This audit will run only when the cost meets the specified minimum cost Required (defined)
*/
minimumCost: number | null | undefined;
/**
* List of Assignees. Ids of the users the flag should get assigned to when the audit fails. Required (defined)
*/
assignees: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class BillContainsLineItemDescriptionsSettingRequest {
/**
* List of line item descriptions. Each description must be shorter than 100 characters. If SettingStatus is set to Skip and no value is provided, EnergyCAP default will be set Required when SettingStatus is set to Check, or Hold List cannot be empty
*/
lineItemDescriptions: Array | null | undefined;
/**
* The status of the audit setting One of 'Check', 'Hold', 'Skip' Required (defined)
*/
settingStatus: string | null | undefined;
/**
* Minimum Bill/Meter Cost. This audit will run only when the cost meets the specified minimum cost Required (defined)
*/
minimumCost: number | null | undefined;
/**
* List of Assignees. Ids of the users the flag should get assigned to when the audit fails. Required (defined)
*/
assignees: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class BillContainsLineItemTypesSettingRequest {
/**
* List of observation type codes If SettingStatus is set to Skip and no value is provided, EnergyCAP default will be set Required when SettingStatus is set to Check, or Hold List cannot be empty
*/
lineItemTypes: Array | null | undefined;
/**
* The status of the audit setting One of 'Check', 'Hold', 'Skip' Required (defined)
*/
settingStatus: string | null | undefined;
/**
* Minimum Bill/Meter Cost. This audit will run only when the cost meets the specified minimum cost Required (defined)
*/
minimumCost: number | null | undefined;
/**
* List of Assignees. Ids of the users the flag should get assigned to when the audit fails. Required (defined)
*/
assignees: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class BillSignificantlyShorterOrLongerThanPreviousSettingRequest {
/**
* Percent variance for bill length If SettingStatus is set to Skip and no value is provided, EnergyCAP default will be set Required when SettingStatus is set to Check, or Hold List cannot be empty
*/
percentLengthVariance: number | null | undefined;
/**
* The status of the audit setting One of 'Check', 'Hold', 'Skip' Required (defined)
*/
settingStatus: string | null | undefined;
/**
* Minimum Bill/Meter Cost. This audit will run only when the cost meets the specified minimum cost Required (defined)
*/
minimumCost: number | null | undefined;
/**
* List of Assignees. Ids of the users the flag should get assigned to when the audit fails. Required (defined)
*/
assignees: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class DueDateTooLongAfterBillEndSettingRequest {
/**
* Threshold for how long the due date can be after the end date If SettingStatus is set to Skip and no value is provided, EnergyCAP default will be set Must be between 0 and 2147483647 Required when SettingStatus is set to Check, or Hold
*/
days: number | null | undefined;
/**
* The status of the audit setting One of 'Check', 'Hold', 'Skip' Required (defined)
*/
settingStatus: string | null | undefined;
/**
* Minimum Bill/Meter Cost. This audit will run only when the cost meets the specified minimum cost Required (defined)
*/
minimumCost: number | null | undefined;
/**
* List of Assignees. Ids of the users the flag should get assigned to when the audit fails. Required (defined)
*/
assignees: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class StatementDateTooLongAfterBillEndSettingRequest {
/**
* Threshold for how long the statement date can be after the end date If SettingStatus is set to Skip and no value is provided, EnergyCAP default will be set Must be between 0 and 2147483647 Required when SettingStatus is set to Check, or Hold
*/
days: number | null | undefined;
/**
* The status of the audit setting One of 'Check', 'Hold', 'Skip' Required (defined)
*/
settingStatus: string | null | undefined;
/**
* Minimum Bill/Meter Cost. This audit will run only when the cost meets the specified minimum cost Required (defined)
*/
minimumCost: number | null | undefined;
/**
* List of Assignees. Ids of the users the flag should get assigned to when the audit fails. Required (defined)
*/
assignees: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class TooManyConsecutiveEstimatedBillsSettingRequest {
/**
* Threshold for how many bills can be estimated in a row If SettingStatus is set to Skip and no value is provided, EnergyCAP default will be set Must be between 1 and 2147483647 Required when SettingStatus is set to Check, or Hold
*/
bills: number | null | undefined;
/**
* The status of the audit setting One of 'Check', 'Hold', 'Skip' Required (defined)
*/
settingStatus: string | null | undefined;
/**
* Minimum Bill/Meter Cost. This audit will run only when the cost meets the specified minimum cost Required (defined)
*/
minimumCost: number | null | undefined;
/**
* List of Assignees. Ids of the users the flag should get assigned to when the audit fails. Required (defined)
*/
assignees: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class TotalBillCostDoesNotMatchLineItemTypesSettingRequest {
/**
* List of observation type codes If SettingStatus is set to Skip and no value is provided, EnergyCAP default will be set Required when SettingStatus is set to Check, or Hold List cannot be empty
*/
lineItemTypes: Array | null | undefined;
/**
* The status of the audit setting One of 'Check', 'Hold', 'Skip' Required (defined)
*/
settingStatus: string | null | undefined;
/**
* Minimum Bill/Meter Cost. This audit will run only when the cost meets the specified minimum cost Required (defined)
*/
minimumCost: number | null | undefined;
/**
* List of Assignees. Ids of the users the flag should get assigned to when the audit fails. Required (defined)
*/
assignees: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountAuditSettingsRequest {
billContainsLineItemDescriptions: BillContainsLineItemDescriptionsSettingRequest | null | undefined;
billContainsLineItemTypes: BillContainsLineItemTypesSettingRequest | null | undefined;
totalBillCostDoesNotMatchLineItemTypes: TotalBillCostDoesNotMatchLineItemTypesSettingRequest | null | undefined;
billingPeriodOutsideStartEndDates: AuditSettingRequest | null | undefined;
billOverlapsWithOtherAccountBill: AuditSettingRequest | null | undefined;
gapBetweenBillAndPreviousBillOnAccount: AuditSettingRequest | null | undefined;
billEndsInFuture: AuditSettingRequest | null | undefined;
accountHasMultipleBillsInBillingPeriod: AuditSettingRequest | null | undefined;
statementDateBeforeEndDate: AuditSettingRequest | null | undefined;
dueDateBeforeEndDate: AuditSettingRequest | null | undefined;
billSignificantlyShorterOrLongerThanPrevious: BillSignificantlyShorterOrLongerThanPreviousSettingRequest | null | undefined;
tooManyConsecutiveEstimatedBills: TooManyConsecutiveEstimatedBillsSettingRequest | null | undefined;
dueDateTooLongAfterBillEnd: DueDateTooLongAfterBillEndSettingRequest | null | undefined;
statementDateTooLongAfterBillEnd: StatementDateTooLongAfterBillEndSettingRequest | null | undefined;
invoiceNumberIsRepeatedOnAccount: AuditSettingRequest | null | undefined;
likelyDuplicateBillOnAccount: AuditSettingRequest | null | undefined;
totalMeterCostIsPercentageHigherThanPastYear: AuditSettingRequest | null | undefined;
totalMeterUseIsPercentageHigherThanPastYear: AuditSettingRequest | null | undefined;
serialNumberDoesNotMatchImportFile: AuditSettingRequest | null | undefined;
rateCodeDoesNotMatchImportFile: AuditSettingRequest | null | undefined;
importFileStartDateAdjustedToPreventGaps: AuditSettingRequest | null | undefined;
accountAlertExistsOnAccountInImportFile: AuditSettingRequest | null | undefined;
abnormalBillCostWithOutlierAnalysis: AbnormalBillCostWithOutlierAnalysisSettingRequest | null | undefined;
abnormalBillUseWithOutlierAnalysis: AbnormalBillUseWithOutlierAnalysisSettingRequest | null | undefined;
abnormalBillDemandWithOutlierAnalysis: AbnormalBillDemandWithOutlierAnalysisSettingRequest | null | undefined;
currencyUnitAnalysis: AuditSettingRequest | null | undefined;
multipleUseUnitAnalysis: AuditSettingRequest | null | undefined;
billUseUnitDifferentFromMeterAnalysis: AuditSettingRequest | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class VendorChild {
/**
* The vendor identifier
*/
vendorId: number | null | undefined;
/**
* The vendor code
*/
vendorCode: string | null | undefined;
/**
* The vendor info
*/
vendorInfo: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountChild {
/**
*
*/
accountId: number | null | undefined;
/**
*
*/
accountCode: string | null | undefined;
/**
*
*/
accountInfo: string | null | undefined;
vendor: VendorChild | null | undefined;
/**
*
*/
active: boolean | null | undefined;
/**
*
*/
hasCalculatedMeter: boolean | null | undefined;
/**
*
*/
hasSplitParentMeter: boolean | null | undefined;
/**
*
*/
hasSplitChildMeter: boolean | null | undefined;
/**
*
*/
isSubAccount: boolean | null | undefined;
/**
*
*/
hasSubAccount: boolean | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class UserChild {
/**
* The user identifier
*/
userId: number | null | undefined;
/**
* The user code
*/
userCode: string | null | undefined;
/**
* The user's full name
*/
fullName: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AbnormalBillCostWithOutlierAnalysisSettingResponse {
/**
* Minimum outlier sensitivity for abnormal cost analysis Possible values - severe, high, moderate If SettingStatus is set to Skip and no value is provided, EnergyCAP default will be set
*/
sensitivity: string | null | undefined;
/**
* The status of the audit setting - Possible values Check, Hold, Skip
*/
settingStatus: string | null | undefined;
/**
* The setting code
*/
settingCode: string | null | undefined;
/**
* A description of the setting
*/
settingDescription: string | null | undefined;
/**
* Minimum Bill/Meter Cost. This audit wwill run only when the cost meets the specified minimum cost
*/
minimumCost: number | null | undefined;
/**
* List of Assignees. UserChildDTO representing the users the flag should get assigned to when the audit fails.
*/
assignees: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AbnormalBillDemandWithOutlierAnalysisSettingResponse {
/**
* Minimum outlier sensitivity for abnormal demand analysis Possible values - severe, high, moderate If SettingStatus is set to Skip and no value is provided, EnergyCAP default will be set
*/
sensitivity: string | null | undefined;
/**
* The status of the audit setting - Possible values Check, Hold, Skip
*/
settingStatus: string | null | undefined;
/**
* The setting code
*/
settingCode: string | null | undefined;
/**
* A description of the setting
*/
settingDescription: string | null | undefined;
/**
* Minimum Bill/Meter Cost. This audit wwill run only when the cost meets the specified minimum cost
*/
minimumCost: number | null | undefined;
/**
* List of Assignees. UserChildDTO representing the users the flag should get assigned to when the audit fails.
*/
assignees: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AbnormalBillUseWithOutlierAnalysisSettingResponse {
/**
* Minimum outlier sensitivity for abnormal use analysis Possible values - severe, high, moderate If SettingStatus is set to Skip and no value is provided, EnergyCAP default will be set
*/
sensitivity: string | null | undefined;
/**
* The status of the audit setting - Possible values Check, Hold, Skip
*/
settingStatus: string | null | undefined;
/**
* The setting code
*/
settingCode: string | null | undefined;
/**
* A description of the setting
*/
settingDescription: string | null | undefined;
/**
* Minimum Bill/Meter Cost. This audit wwill run only when the cost meets the specified minimum cost
*/
minimumCost: number | null | undefined;
/**
* List of Assignees. UserChildDTO representing the users the flag should get assigned to when the audit fails.
*/
assignees: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AuditSettingResponse {
/**
* The status of the audit setting - Possible values Check, Hold, Skip
*/
settingStatus: string | null | undefined;
/**
* The setting code
*/
settingCode: string | null | undefined;
/**
* A description of the setting
*/
settingDescription: string | null | undefined;
/**
* Minimum Bill/Meter Cost. This audit wwill run only when the cost meets the specified minimum cost
*/
minimumCost: number | null | undefined;
/**
* List of Assignees. UserChildDTO representing the users the flag should get assigned to when the audit fails.
*/
assignees: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class BillContainsLineItemDescriptionsSettingResponse {
/**
* List of line item descriptions. Each description must be shorter than 100 characters. If SettingStatus is set to Skip and no value is provided, EnergyCAP default will be set
*/
lineItemDescriptions: Array | null | undefined;
/**
* The status of the audit setting - Possible values Check, Hold, Skip
*/
settingStatus: string | null | undefined;
/**
* The setting code
*/
settingCode: string | null | undefined;
/**
* A description of the setting
*/
settingDescription: string | null | undefined;
/**
* Minimum Bill/Meter Cost. This audit wwill run only when the cost meets the specified minimum cost
*/
minimumCost: number | null | undefined;
/**
* List of Assignees. UserChildDTO representing the users the flag should get assigned to when the audit fails.
*/
assignees: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class BillContainsLineItemTypesSettingResponse {
/**
* List of observation type codes If SettingStatus is set to Skip and no value is provided, EnergyCAP default will be set
*/
lineItemTypes: Array | null | undefined;
/**
* The status of the audit setting - Possible values Check, Hold, Skip
*/
settingStatus: string | null | undefined;
/**
* The setting code
*/
settingCode: string | null | undefined;
/**
* A description of the setting
*/
settingDescription: string | null | undefined;
/**
* Minimum Bill/Meter Cost. This audit wwill run only when the cost meets the specified minimum cost
*/
minimumCost: number | null | undefined;
/**
* List of Assignees. UserChildDTO representing the users the flag should get assigned to when the audit fails.
*/
assignees: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class BillSignificantlyShorterOrLongerThanPreviousSettingResponse {
/**
* Percent variance for bill length If SettingStatus is set to Skip and no value is provided, EnergyCAP default will be set
*/
percentLengthVariance: number | null | undefined;
/**
* The status of the audit setting - Possible values Check, Hold, Skip
*/
settingStatus: string | null | undefined;
/**
* The setting code
*/
settingCode: string | null | undefined;
/**
* A description of the setting
*/
settingDescription: string | null | undefined;
/**
* Minimum Bill/Meter Cost. This audit wwill run only when the cost meets the specified minimum cost
*/
minimumCost: number | null | undefined;
/**
* List of Assignees. UserChildDTO representing the users the flag should get assigned to when the audit fails.
*/
assignees: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class Icon {
/**
* The icon code Must be between 0 and 64 characters Required when Color is set
*/
code: string | null | undefined;
/**
* The icon color Must be between 0 and 32 characters Required when Code is set
*/
color: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class CommodityChild {
/**
* The commodity identifier Required (defined)
*/
commodityId: number | null | undefined;
/**
* The commodity code Required (defined)
*/
commodityCode: string | null | undefined;
/**
* The commodity info Required (defined)
*/
commodityInfo: string | null | undefined;
commodityIcon: Icon | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class CommoditySkipAuditSettingResponse {
/**
*
*/
commoditiesToSkip: Array | null | undefined;
/**
* The status of the audit setting - Possible values Check, Hold, Skip
*/
settingStatus: string | null | undefined;
/**
* The setting code
*/
settingCode: string | null | undefined;
/**
* A description of the setting
*/
settingDescription: string | null | undefined;
/**
* Minimum Bill/Meter Cost. This audit wwill run only when the cost meets the specified minimum cost
*/
minimumCost: number | null | undefined;
/**
* List of Assignees. UserChildDTO representing the users the flag should get assigned to when the audit fails.
*/
assignees: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class DueDateTooLongAfterBillEndSettingResponse {
/**
* Threshold for how long the due date can be after the end date If SettingStatus is set to Skip and no value is provided, EnergyCAP default will be set
*/
days: number | null | undefined;
/**
* The status of the audit setting - Possible values Check, Hold, Skip
*/
settingStatus: string | null | undefined;
/**
* The setting code
*/
settingCode: string | null | undefined;
/**
* A description of the setting
*/
settingDescription: string | null | undefined;
/**
* Minimum Bill/Meter Cost. This audit wwill run only when the cost meets the specified minimum cost
*/
minimumCost: number | null | undefined;
/**
* List of Assignees. UserChildDTO representing the users the flag should get assigned to when the audit fails.
*/
assignees: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class StatementDateTooLongAfterBillEndSettingResponse {
/**
* Threshold for how long the statement date can be after the end date If SettingStatus is set to Skip and no value is provided, EnergyCAP default will be set
*/
days: number | null | undefined;
/**
* The status of the audit setting - Possible values Check, Hold, Skip
*/
settingStatus: string | null | undefined;
/**
* The setting code
*/
settingCode: string | null | undefined;
/**
* A description of the setting
*/
settingDescription: string | null | undefined;
/**
* Minimum Bill/Meter Cost. This audit wwill run only when the cost meets the specified minimum cost
*/
minimumCost: number | null | undefined;
/**
* List of Assignees. UserChildDTO representing the users the flag should get assigned to when the audit fails.
*/
assignees: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class TooManyConsecutiveEstimatedBillsSettingResponse {
/**
* Threshold for how many bills can be estimated in a row If SettingStatus is set to Skip and no value is provided, EnergyCAP default will be set
*/
bills: number | null | undefined;
/**
* The status of the audit setting - Possible values Check, Hold, Skip
*/
settingStatus: string | null | undefined;
/**
* The setting code
*/
settingCode: string | null | undefined;
/**
* A description of the setting
*/
settingDescription: string | null | undefined;
/**
* Minimum Bill/Meter Cost. This audit wwill run only when the cost meets the specified minimum cost
*/
minimumCost: number | null | undefined;
/**
* List of Assignees. UserChildDTO representing the users the flag should get assigned to when the audit fails.
*/
assignees: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class TotalBillCostDoesNotMatchLineItemTypesSettingResponse {
/**
* List of observation type codes If SettingStatus is set to Skip and no value is provided, EnergyCAP default will be set
*/
lineItemTypes: Array | null | undefined;
/**
* The status of the audit setting - Possible values Check, Hold, Skip
*/
settingStatus: string | null | undefined;
/**
* The setting code
*/
settingCode: string | null | undefined;
/**
* A description of the setting
*/
settingDescription: string | null | undefined;
/**
* Minimum Bill/Meter Cost. This audit wwill run only when the cost meets the specified minimum cost
*/
minimumCost: number | null | undefined;
/**
* List of Assignees. UserChildDTO representing the users the flag should get assigned to when the audit fails.
*/
assignees: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AuditSettingsResponse {
billContainsLineItemDescriptions: BillContainsLineItemDescriptionsSettingResponse | null | undefined;
billContainsLineItemTypes: BillContainsLineItemTypesSettingResponse | null | undefined;
totalBillCostDoesNotMatchLineItemTypes: TotalBillCostDoesNotMatchLineItemTypesSettingResponse | null | undefined;
billingPeriodOutsideStartEndDates: AuditSettingResponse | null | undefined;
billOverlapsWithOtherAccountBill: CommoditySkipAuditSettingResponse | null | undefined;
gapBetweenBillAndPreviousBillOnAccount: CommoditySkipAuditSettingResponse | null | undefined;
billEndsInFuture: AuditSettingResponse | null | undefined;
accountHasMultipleBillsInBillingPeriod: CommoditySkipAuditSettingResponse | null | undefined;
statementDateBeforeEndDate: AuditSettingResponse | null | undefined;
dueDateBeforeEndDate: AuditSettingResponse | null | undefined;
billSignificantlyShorterOrLongerThanPrevious: BillSignificantlyShorterOrLongerThanPreviousSettingResponse | null | undefined;
tooManyConsecutiveEstimatedBills: TooManyConsecutiveEstimatedBillsSettingResponse | null | undefined;
dueDateTooLongAfterBillEnd: DueDateTooLongAfterBillEndSettingResponse | null | undefined;
statementDateTooLongAfterBillEnd: StatementDateTooLongAfterBillEndSettingResponse | null | undefined;
invoiceNumberIsRepeatedOnAccount: AuditSettingResponse | null | undefined;
likelyDuplicateBillOnAccount: AuditSettingResponse | null | undefined;
totalMeterCostIsPercentageHigherThanPastYear: AuditSettingResponse | null | undefined;
totalMeterUseIsPercentageHigherThanPastYear: AuditSettingResponse | null | undefined;
serialNumberDoesNotMatchImportFile: AuditSettingResponse | null | undefined;
rateCodeDoesNotMatchImportFile: AuditSettingResponse | null | undefined;
importFileStartDateAdjustedToPreventGaps: AuditSettingResponse | null | undefined;
accountAlertExistsOnAccountInImportFile: AuditSettingResponse | null | undefined;
abnormalBillCostWithOutlierAnalysis: AbnormalBillCostWithOutlierAnalysisSettingResponse | null | undefined;
abnormalBillUseWithOutlierAnalysis: AbnormalBillUseWithOutlierAnalysisSettingResponse | null | undefined;
abnormalBillDemandWithOutlierAnalysis: AbnormalBillDemandWithOutlierAnalysisSettingResponse | null | undefined;
currencyUnitAnalysis: AuditSettingResponse | null | undefined;
multipleUseUnitAnalysis: AuditSettingResponse | null | undefined;
billUseUnitDifferentFromMeterAnalysis: AuditSettingResponse | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountAuditSettingsResponse {
account: AccountChild | null | undefined;
/**
* Indicates if audits are enabled for the account
*/
auditEnabled: boolean | null | undefined;
settings: AuditSettingsResponse | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountCodeHistoryRequest {
/**
* Account code that will replace the existing one Required Must be between 0 and 50 characters
*/
newAccountCode: string | null;
/**
* Account info that can replace the existing info Must be between 0 and 50 characters Required (defined)
*/
newAccountInfo: string | null | undefined;
/**
* Date that the account code was changed Required (defined)
*/
codeChangeDate: Date | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountCodeHistoryChild {
/**
* The previous account code of this account
*/
previousAccountCode: string | null | undefined;
/**
* Date that the account code was changed
*/
endDate: Date | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountCodeHistoryResponse {
/**
* Account identifier Required (defined)
*/
accountId: number | null | undefined;
/**
* Account code of the account Required (defined)
*/
accountCode: string | null | undefined;
/**
* Name of the account Required (defined)
*/
accountInfo: string | null | undefined;
accountCodeHistory: AccountCodeHistoryChild | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AddressChildBase {
/**
* Remit To field is the name of the person or company who should receive the payment. It's required for bill pay customers. Must be between 0 and 100 characters
*/
remitTo: string | null | undefined;
/**
* The line 1 of the address Must be between 0 and 100 characters
*/
line1: string | null | undefined;
/**
* The line 2 of the address Must be between 0 and 100 characters
*/
line2: string | null | undefined;
/**
* The line 3 of the address Must be between 0 and 100 characters
*/
line3: string | null | undefined;
/**
* The city of the place Must be between 0 and 100 characters
*/
city: string | null | undefined;
/**
* The state of the place Must be between 0 and 100 characters
*/
state: string | null | undefined;
/**
* The country of the place Must be between 0 and 64 characters
*/
country: string | null | undefined;
/**
* The postal code of the place Must be between 0 and 32 characters
*/
postalCode: string | null | undefined;
/**
* The latitude of the place Required when the country is not United States or Canada Must be between -90 and 90 Required when Longitude is set
*/
latitude: number | null | undefined;
/**
* The longitude of the place Required when the country is not United States or Canada Must be between -180 and 180 Required when Latitude is set
*/
longitude: number | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountCreate {
/**
* The account code Required Must be between 0 and 50 characters
*/
accountCode: string | null;
/**
* The account info Required Must be between 0 and 50 characters
*/
accountInfo: string | null;
/**
* The identifier for the account type Required
*/
accountTypeId: number | null;
/**
* The identifier for the cost center to which the account belongs Topmost (CostCenter) Required
*/
costCenterId: number | null;
/**
* The identifier for the account's vendor Required
*/
vendorId: number | null;
/**
* The identifier for the customer the account serves. This is normally only set for chargeback accounts
*/
customerId: number | null | undefined;
/**
* The identifier for the account's contact
*/
contactId: number | null | undefined;
/**
* Indicates if the account is active or inactive
*/
active: boolean | null | undefined;
/**
* Indicates if the account is used with accruals
*/
accrualEnabled: boolean | null | undefined;
/**
* The address postal code Required when the country is US or CA Must be between 0 and 32 characters
*/
postalCode: string | null | undefined;
/**
* The address city Must be between 0 and 100 characters
*/
city: string | null | undefined;
/**
* The address state Must be between 0 and 100 characters
*/
state: string | null | undefined;
/**
* The address country Required Must be between 0 and 64 characters
*/
country: string | null;
/**
* The address first line Must be between 0 and 100 characters
*/
line1: string | null | undefined;
/**
* The address second line Must be between 0 and 100 characters
*/
line2: string | null | undefined;
/**
* The address third line Must be between 0 and 100 characters
*/
line3: string | null | undefined;
/**
* The date and time the account deposit was paid
*/
depositPaid: Date | null | undefined;
/**
* The date and time the account deposit was returned
*/
depositReturn: Date | null | undefined;
/**
* A note related to the account deposit
*/
depositNote: string | null | undefined;
/**
* The account deposit amount
*/
depositAmount: number | null | undefined;
/**
* The account memo
*/
memo: string | null | undefined;
/**
* The account's service begin date and time
*/
serviceStart: Date | null | undefined;
/**
* The account's service end date and time Must be greater than ServiceStart
*/
serviceEnd: Date | null | undefined;
/**
* An array of identifiers for meters attached to this account
*/
meters: Array | null | undefined;
/**
* The identifier for the account's generalLedgerId
*/
generalLedgerId: number | null | undefined;
/**
* A description of the account Must be between 0 and 4000 characters
*/
accountDescription: string | null | undefined;
remitAddress: AddressChildBase | null | undefined;
/**
* The remit email Must be between 0 and 128 characters
*/
remitEmail: string | null | undefined;
/**
* The remit phone number Must be between 0 and 50 characters
*/
remitPhoneNumber: string | null | undefined;
/**
* Indicates whether the account is a landlord account
*/
landlordAccount: boolean | null | undefined;
/**
* The BillCapture bill acquisition method for the account EnergyCap.Shared.Common.Utilities.BillCaptureAccountBillAcquisitionMethod One of 'Customer_Upload', 'Mail_Redirect', 'Web_Download', 'Web_Download_And_Extract_1', 'Web_Download_And_Extract_2', 'EDI', 'Custom_Import', 'Email_Delivery'
*/
billAcquisitionMethod: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountEdit {
/**
* An array of account code aliases. Account alias cannot match an existing account code or another alias in the system. All alias entries will replace existing ones. Empty or null array will remove all existing aliases. Maximum of 5 aliases, each with a maximum length of 50 characters. Max length of 5 Required (defined)
*/
accountCodeAliases: Array | null | undefined;
/**
* Indicates whether the account is a landlord account Required (defined)
*/
landlordAccount: boolean | null | undefined;
/**
* The BillCapture bill acquisition method for the account EnergyCap.Shared.Common.Utilities.BillCaptureAccountBillAcquisitionMethod One of 'Customer_Upload', 'Mail_Redirect', 'Web_Download', 'Web_Download_And_Extract_1', 'Web_Download_And_Extract_2', 'EDI', 'Custom_Import', 'Email_Delivery' Required (defined)
*/
billAcquisitionMethod: string | null | undefined;
remitAddress: AddressChildBase | null | undefined;
/**
* The remit email Must be between 0 and 128 characters Required (defined)
*/
remitEmail: string | null | undefined;
/**
* The remit phone number Must be between 0 and 50 characters Required (defined)
*/
remitPhoneNumber: string | null | undefined;
/**
* The account code Required Must be between 0 and 50 characters
*/
accountCode: string | null;
/**
* The account info Required Must be between 0 and 50 characters
*/
accountInfo: string | null;
/**
* The identifier for the cost center to which the account belongs Topmost (CostCenter) Required
*/
costCenterId: number | null;
/**
* The identifier for the customer the account serves. This is normally only set for chargeback accounts Required (defined)
*/
customerId: number | null | undefined;
/**
* The identifier for the account's contact Required (defined)
*/
contactId: number | null | undefined;
/**
* Indicates if the account is active or inactive Required (defined)
*/
active: boolean | null | undefined;
/**
* Indicates if the account is used with accruals Required (defined)
*/
accrualEnabled: boolean | null | undefined;
/**
* The address postal code Required when country is US or CA Must be between 0 and 32 characters
*/
postalCode: string | null | undefined;
/**
* The address city Must be between 0 and 100 characters Required (defined)
*/
city: string | null | undefined;
/**
* The address state Must be between 0 and 100 characters Required (defined)
*/
state: string | null | undefined;
/**
* The address country Required Must be between 0 and 64 characters
*/
country: string | null;
/**
* The address first line Must be between 0 and 100 characters Required (defined)
*/
line1: string | null | undefined;
/**
* The address second line Must be between 0 and 100 characters Required (defined)
*/
line2: string | null | undefined;
/**
* The address third line Must be between 0 and 100 characters Required (defined)
*/
line3: string | null | undefined;
/**
* The date and time the account deposit was paid Required (defined)
*/
depositPaid: Date | null | undefined;
/**
* The date and time the account deposit was returned Required (defined)
*/
depositReturn: Date | null | undefined;
/**
* A note related to the account deposit Required (defined)
*/
depositNote: string | null | undefined;
/**
* The account deposit amount Required (defined)
*/
depositAmount: number | null | undefined;
/**
* The account memo Required (defined)
*/
memo: string | null | undefined;
/**
* The account's service begin date and time Required (defined)
*/
serviceStart: Date | null | undefined;
/**
* The account's service end date and time Must be greater than ServiceStart Required (defined)
*/
serviceEnd: Date | null | undefined;
/**
* The identifier for the account's generalLedgerId Required (defined)
*/
generalLedgerId: number | null | undefined;
/**
* A description of the account Must be between 0 and 4000 characters Required (defined)
*/
accountDescription: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class GeneralLedgerChild {
/**
*
*/
generalLedgerId: number | null | undefined;
/**
*
*/
generalLedgerCode: string | null | undefined;
/**
*
*/
generalLedgerInfo: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class PlaceEntityType {
/**
* The place entity type identifier
*/
placeEntityTypeId: number | null | undefined;
/**
* The place entity type name
*/
placeEntityTypeInfo: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class PlaceTypeResponse {
/**
* The place type identifier
*/
placeTypeId: number | null | undefined;
/**
* The place type code
*/
placeTypeCode: string | null | undefined;
/**
* The place type info
*/
placeTypeInfo: string | null | undefined;
/**
* Indicates if the place is a structure
*/
structure: boolean | null | undefined;
icon: Icon | null | undefined;
placeEntityType: PlaceEntityType | null | undefined;
/**
* Flag to indicate if the place type is a system-level place type
*/
isSystemPlaceType: boolean | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class PlaceChild {
placeType: PlaceTypeResponse | null | undefined;
/**
* Tells whether or not the place's data is rolled up to its parents.
*/
isDataRolledUp: boolean | null | undefined;
/**
* The place identifier
*/
placeId: number | null | undefined;
/**
* The place code
*/
placeCode: string | null | undefined;
/**
* The place info
*/
placeInfo: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class VendorTypeChild {
/**
* The vendor type identifier
*/
vendorTypeId: number | null | undefined;
/**
* The vendor type code
*/
vendorTypeCode: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountMeterChild {
/**
* The AccountMeter identifier
*/
accountMeterId: number | null | undefined;
/**
* The beginning date and time for this AccountMeter relationship
*/
startDate: Date | null | undefined;
/**
* The ending date and time for this AccountMeter relationship
*/
endDate: Date | null | undefined;
/**
* The Meter identifier for this AccountMeter
*/
meterId: number | null | undefined;
/**
* The code of the Meter for this AccountMeter
*/
meterCode: string | null | undefined;
/**
* The info of the Meter for this AccountMeter
*/
meterInfo: string | null | undefined;
place: PlaceChild | null | undefined;
commodity: CommodityChild | null | undefined;
meterGeneralLedger: GeneralLedgerChild | null | undefined;
vendorType: VendorTypeChild | null | undefined;
/**
* Indicates whether the Meter is Active
*/
active: boolean | null | undefined;
/**
* Indicates whether the Meter is a calculated meter
*/
isCalculatedMeter: boolean | null | undefined;
/**
* Indicates whether the Meter is a parent of a split
*/
isSplitParentMeter: boolean | null | undefined;
/**
* Indicates whether the Meter is a child of a split
*/
isSplitChildMeter: boolean | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountRateResponse {
/**
* The meter tariff identifier
*/
rateId: number | null | undefined;
/**
* The rate name
*/
name: string | null | undefined;
/**
* The rate code
*/
rateCode: string | null | undefined;
/**
* The start date for the rate on the account meter
*/
startDate: Date | null | undefined;
/**
* The end date for the rate on the account meter
*/
endDate: Date | null | undefined;
meter: AccountMeterChild | null | undefined;
vendor: VendorChild | null | undefined;
/**
* The rate's note
*/
note: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountMeterChildWithSerialNumber {
/**
* The Serial Number of the Meter
*/
serialNumber: string | null | undefined;
/**
* The AccountMeter identifier
*/
accountMeterId: number | null | undefined;
/**
* The beginning date and time for this AccountMeter relationship
*/
startDate: Date | null | undefined;
/**
* The ending date and time for this AccountMeter relationship
*/
endDate: Date | null | undefined;
/**
* The Meter identifier for this AccountMeter
*/
meterId: number | null | undefined;
/**
* The code of the Meter for this AccountMeter
*/
meterCode: string | null | undefined;
/**
* The info of the Meter for this AccountMeter
*/
meterInfo: string | null | undefined;
place: PlaceChild | null | undefined;
commodity: CommodityChild | null | undefined;
meterGeneralLedger: GeneralLedgerChild | null | undefined;
vendorType: VendorTypeChild | null | undefined;
/**
* Indicates whether the Meter is Active
*/
active: boolean | null | undefined;
/**
* Indicates whether the Meter is a calculated meter
*/
isCalculatedMeter: boolean | null | undefined;
/**
* Indicates whether the Meter is a parent of a split
*/
isSplitParentMeter: boolean | null | undefined;
/**
* Indicates whether the Meter is a child of a split
*/
isSplitChildMeter: boolean | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountTypeChild {
/**
* The account type identifier
*/
accountTypeId: number | null | undefined;
/**
* The account type code
*/
accountTypeCode: string | null | undefined;
/**
* The account type info
*/
accountTypeInfo: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AddressChild {
/**
* The address type identifier
*/
addressTypeId: number | null | undefined;
/**
* Remit To field is the name of the person or company who should receive the payment. It's required for bill pay customers. Must be between 0 and 100 characters
*/
remitTo: string | null | undefined;
/**
* The line 1 of the address Must be between 0 and 100 characters
*/
line1: string | null | undefined;
/**
* The line 2 of the address Must be between 0 and 100 characters
*/
line2: string | null | undefined;
/**
* The line 3 of the address Must be between 0 and 100 characters
*/
line3: string | null | undefined;
/**
* The city of the place Must be between 0 and 100 characters
*/
city: string | null | undefined;
/**
* The state of the place Must be between 0 and 100 characters
*/
state: string | null | undefined;
/**
* The country of the place Must be between 0 and 64 characters
*/
country: string | null | undefined;
/**
* The postal code of the place Must be between 0 and 32 characters
*/
postalCode: string | null | undefined;
/**
* The latitude of the place Required when the country is not United States or Canada Must be between -90 and 90 Required when Longitude is set
*/
latitude: number | null | undefined;
/**
* The longitude of the place Required when the country is not United States or Canada Must be between -180 and 180 Required when Latitude is set
*/
longitude: number | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class ContactChild {
/**
* The contact identifier
*/
contactId: number | null | undefined;
/**
* The contact's first name
*/
first: string | null | undefined;
/**
* The contact's middle name
*/
middle: string | null | undefined;
/**
* The contact's last name
*/
last: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class CostCenterChild {
/**
* The cost center identifier
*/
costCenterId: number | null | undefined;
/**
* The cost center code
*/
costCenterCode: string | null | undefined;
/**
* The cost center info
*/
costCenterInfo: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class CustomerChild {
/**
* The customer identifier
*/
customerId: number | null | undefined;
/**
* The customer code
*/
customerCode: string | null | undefined;
/**
* The customer info
*/
customerInfo: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class UnitChild {
/**
* The unit identifier
*/
unitId: number | null | undefined;
/**
* The unit code
*/
unitCode: string | null | undefined;
/**
* The unit info
*/
unitInfo: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountResponse {
/**
* The account identifier
*/
accountId: number | null | undefined;
/**
* The accountmeter identifier for the account
*/
accountMeterId: number | null | undefined;
/**
* The account code
*/
accountCode: string | null | undefined;
/**
* An array of account code aliases
*/
accountCodeAliases: Array | null | undefined;
/**
* The account info
*/
accountInfo: string | null | undefined;
accountType: AccountTypeChild | null | undefined;
costCenter: CostCenterChild | null | undefined;
vendor: VendorChild | null | undefined;
contact: ContactChild | null | undefined;
customer: CustomerChild | null | undefined;
/**
* Indicates whether the Account is active or inactive
*/
active: boolean | null | undefined;
/**
* Indicates if this account is used with accruals
*/
accrualEnabled: boolean | null | undefined;
address: AddressChild | null | undefined;
/**
* The date and time a deposit was paid
*/
depositPaid: Date | null | undefined;
/**
* The date and time the account deposit was returned
*/
depositReturn: Date | null | undefined;
/**
* A note related to the account deposit
*/
depositNote: string | null | undefined;
/**
* The account deposit amount
*/
depositAmount: number | null | undefined;
/**
* The account memo
*/
memo: string | null | undefined;
/**
* The account's service begin date and time
*/
serviceStart: Date | null | undefined;
/**
* The account's service end date and time
*/
serviceEnd: Date | null | undefined;
accountGeneralLedger: GeneralLedgerChild | null | undefined;
/**
* An array of identifiers for meters attached to this account
*/
meters: Array | null | undefined;
createdBy: UserChild | null | undefined;
/**
* The date and time the account was created
*/
createdDate: Date | null | undefined;
modifiedBy: UserChild | null | undefined;
/**
* The date and time of the most recent modification
*/
modifiedDate: Date | null | undefined;
costUnit: UnitChild | null | undefined;
/**
* Indicates whether the Account has a child calculated meter
*/
hasCalculatedMeter: boolean | null | undefined;
/**
* Indicates whether the Account is a recipient of a split
*/
hasSplitParentMeter: boolean | null | undefined;
/**
* Indicates whether the Account has a child split meter
*/
hasSplitChildMeter: boolean | null | undefined;
/**
* Indicates whether the Account has a sub-account
*/
hasSubAccount: boolean | null | undefined;
accountCodeHistory: AccountCodeHistoryChild | null | undefined;
/**
* A description of the account
*/
accountDescription: string | null | undefined;
/**
* When true, bills for this account will be audited
*/
auditEnabled: boolean | null | undefined;
/**
* The data access release identifier for this Account, null if there is no release.
*/
dataAccessReleaseId: number | null | undefined;
/**
* Indicates if the DataAccessRelease is approved null if there is no release
*/
dataAccessReleaseApproved: boolean | null | undefined;
remitAddress: AddressChild | null | undefined;
/**
* The remit email address
*/
remitEmail: string | null | undefined;
/**
* The remit phone number
*/
remitPhoneNumber: string | null | undefined;
/**
* If there are settings configured to split account charges for this account
*/
splitAccountChargesConfigured: boolean | null | undefined;
summaryAccount: AccountChild | null | undefined;
/**
* Is this a landlord account?
*/
landlordAccount: boolean | null | undefined;
/**
* The BillCapture calculated billing frequency for the account EnergyCap.Shared.Common.Utilities.BillCaptureAccountBillingFrequency
*/
billingFrequency: string | null | undefined;
/**
* The BillCapture bill acquisition method for the account EnergyCap.Shared.Common.Utilities.BillCaptureAccountBillAcquisitionMethod
*/
billAcquisitionMethod: string | null | undefined;
/**
* The BillCapture anticipated date of the next bill issue date for the account
*/
billNextIssueDate: Date | null | undefined;
/**
* The BillCapture anticipated date of the next bill receipt date for the account
*/
billNextReceiptDate: Date | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountTemplateResponse {
/**
* The meter form template identifier
*/
formTemplateId: number | null | undefined;
/**
* The template name
*/
templateInfo: string | null | undefined;
/**
* The template code
*/
templateCode: string | null | undefined;
/**
* The start date for the form template on the account meter
*/
startDate: Date | null | undefined;
/**
* The end date for the form template on the account meter
*/
endDate: Date | null | undefined;
/**
* The form template's display order
*/
displayOrder: number | null | undefined;
meter: AccountMeterChild | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class DataTypeResponse {
/**
* Required (defined)
*/
dataTypeId: number | null | undefined;
/**
* Required (defined)
*/
dataTypeCode: string | null | undefined;
/**
* Required (defined)
*/
dataTypeInfo: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class UDFSelectValueEntityResponse {
/**
* Required (defined)
*/
udfSelectValueId: number | null | undefined;
/**
* Required (defined)
*/
value: string | null | undefined;
/**
* Required (defined)
*/
displayOrder: number | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class UDFFieldChild {
/**
* Required (defined)
*/
udfId: number | null | undefined;
dataType: DataTypeResponse | null | undefined;
/**
* Required (defined)
*/
name: string | null | undefined;
/**
* Required (defined)
*/
description: string | null | undefined;
/**
* Required (defined)
*/
displayOrder: number | null | undefined;
/**
* Required (defined)
*/
value: string | null | undefined;
/**
* Required (defined)
*/
udfSelectValues: Array | null | undefined;
/**
* Required (defined)
*/
important: boolean | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountUDFResponse {
/**
* The account identifier
*/
accountId: number | null | undefined;
/**
* The account code
*/
accountCode: string | null | undefined;
/**
* The account info
*/
accountInfo: string | null | undefined;
/**
* An array of user-defined fields (UDFs)
*/
udfs: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class MeterTypeChild {
/**
*
*/
meterTypeId: number | null | undefined;
/**
*
*/
meterTypeCode: string | null | undefined;
/**
*
*/
meterTypeInfo: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
/**
* Class derived from MeterChildDTO - has Meter Address and Serial Number This class is used by the Bill Entry Account Searcher
*/
declare class MeterChildSearch {
meterAddress: AddressChild | null | undefined;
/**
* The meter's previous serial number
*/
previousSerialNumber: string | null | undefined;
/**
* The meter identifier
*/
meterId: number | null | undefined;
/**
* The meter code
*/
meterCode: string | null | undefined;
/**
* The meter info
*/
meterInfo: string | null | undefined;
meterType: MeterTypeChild | null | undefined;
commodity: CommodityChild | null | undefined;
/**
* Indicates whether the Meter is Active
*/
active: boolean | null | undefined;
/**
* Indicates whether the meter is a calculated meter
*/
isCalculatedMeter: boolean | null | undefined;
/**
* Indicates whether the meter is an ESA calculated meter
*/
isEsaCalculatedMeter: boolean | null | undefined;
/**
* Indicates whether the meter is a parent of a split
*/
isSplitParentMeter: boolean | null | undefined;
/**
* Indicates whether the meter is a child of a split
*/
isSplitChildMeter: boolean | null | undefined;
/**
* The meter's current serial number
*/
serialNumber: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class SearchAccountMeterBillEntry {
/**
* The MatchType values - Account - we found a match on account code, account info or previous account code Meter - we found a match on meter code, meter info or serial number AccountAddress - we found a match on account's address - line1, line2, city or state MeterAddress - we found a match on meter's address - line1, line2, city or state
*/
matchType: string | null | undefined;
/**
* The Account identifier
*/
accountId: number | null | undefined;
/**
* The Account code
*/
accountCode: string | null | undefined;
/**
* The Account info
*/
accountInfo: string | null | undefined;
/**
* The Previous Account code
*/
previousAccountCode: string | null | undefined;
/**
* Indicates whether the Account is active or inactive
*/
active: boolean | null | undefined;
accountType: AccountTypeChild | null | undefined;
/**
* Indicates whether the Account has a child calculated meter
*/
hasCalculatedMeter: boolean | null | undefined;
/**
* Indicates whether the Account is a recipient of a split
*/
hasSplitParentMeter: boolean | null | undefined;
/**
* Indicates whether the Account has a child split meter
*/
hasSplitChildMeter: boolean | null | undefined;
/**
* Indicates whether the Account is a sub-account
*/
isSubAccount: boolean | null | undefined;
/**
* Indicates whether the Account has a sub-account
*/
hasSubAccount: boolean | null | undefined;
vendor: VendorChild | null | undefined;
accountAddress: AddressChild | null | undefined;
/**
* The Account's vendor
*/
meters: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class SingleValue {
/**
*
*/
value: any | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class UDFValue {
/**
* udfId of the UDF being edited Required (defined)
*/
udfId: number | null | undefined;
/**
* Required (defined)
*/
value: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class UpdateResult {
/**
* Required (defined)
*/
selected: number | null | undefined;
/**
* Required (defined)
*/
updated: number | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
/**
* DTO for Custom Actions
*/
declare class WebhookCustomAction {
/**
* The list of ids on which to perform the custom action Cannot be Empty Required (defined)
*/
ids: Array | null | undefined;
/**
* The webhook identifier that represents the custom action Required
*/
webhookId: number | null;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class WebhookLogDetailsResponse {
/**
* The URL that the webhook is configured for Required (defined)
*/
url: string | null | undefined;
/**
* The request that was sent from the webhook (headers and body) Required (defined)
*/
request: string | null | undefined;
/**
* The response that was received from the configured url (headers and body) Required (defined)
*/
response: string | null | undefined;
/**
* The HTTP status code that was received from the configured url 0 indicates no response was received from the configured url Required (defined)
*/
result: string | null | undefined;
user: UserChild | null | undefined;
}
interface ConfigurationParameters {
apiKeys?: {
[key: string]: string;
};
username?: string;
password?: string;
accessToken?: string;
basePath?: string;
withCredentials?: boolean;
}
declare class Configuration {
apiKeys: {
[key: string]: string;
};
username: string;
password: string;
accessToken: string | (() => string);
basePath: string;
withCredentials: boolean;
constructor(configurationParameters?: ConfigurationParameters);
}
declare class AccountService {
protected http: HttpClient;
protected basePath: string;
defaultHeaders: HttpHeaders;
configuration: Configuration;
constructor(http: HttpClient, basePath: string, configuration: Configuration);
/**
*
* Extends object by coping non-existing properties.
* @param objA object to be extended
* @param objB source object
*/
private extendObj;
/**
* @param consumes string[] mime-types
* @return true: consumes contains 'multipart/form-data', false: otherwise
*/
private canConsumeForm;
/**
* Creates an account
*
* @param body Data representing the account being created
*/
createAccount(body?: AccountCreate, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Creates an account alert
*
* @param accountId The identifier for the account to create alert is on
* @param body Data representing the account alert being created
*/
createAccountAlert(accountId: number, body?: AccountAlertRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Deletes an account. Currently NO confirmation is required
*
* @param accountId The identifier for the account being deleted
* @param deleteBills Should this cascade to delete any bills associated with this meter
*/
deleteAccount(accountId: number, deleteBills?: boolean, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Deletes an account alert.
*
* @param accountId The identifier for the account the alert is on
* @param alertId The identifier for the alert to delete
*/
deleteAccountAlert(accountId: number, alertId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Download file for an account custom field
*
* @param accountId
* @param udfId
*/
downloadAccountCustomFieldFile(accountId: number, udfId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Edits an account
*
* @param accountId The identifier for the account being edited
* @param body Data representing the account being edited
*/
editAccount(accountId: number, body?: AccountEdit, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
*
*
* @param accountId
* @param body
*/
editAccountCodeVersion(accountId: number, body?: AccountCodeHistoryRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Edits user defined field / custom field values for a particular account
*
* @param accountId The identifier for the account
* @param body Data representing the account user defined fields / custom fields being edited
*/
editAccountUDFs(accountId: number, body?: Array, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Retrieves one account
*
* @param accountId The account identifier for the account being retrieved
*/
getAccount(accountId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Retrieves an alert for an account
*
* @param accountId The identifier for the account the alert is on
* @param alertId The identifier for the alert to return
*/
getAccountAlert(accountId: number, alertId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Retrieves all alerts for an account
*
* @param accountId The identifier for the account
*/
getAccountAlerts(accountId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Gets all account audit setting overrides
*
* @param accountId
*/
getAccountAuditSettings(accountId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Retrieves all rates for a particular account
*
* @param accountId The account identifier for which rate values are being retrieved
*/
getAccountRates(accountId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Retrieves all templates for a particular account
*
* @param accountId The account identifier for which template values are being retrieved
*/
getAccountTemplates(accountId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Retrieves all user defined fields / custom fields for a particular account
*
* @param accountId The account identifier for which user defined field / custom field values are being retrieved
*/
getAccountUdfs(accountId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Retrieves all accounts
*
* @param filter
* @param pageSize The number of elements to return in a page
* @param pageNumber The current page number
*/
getAccounts(filter?: string, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Retrieves all user defined fields / custom fields for all accounts
*
* @param filter
* @param pageSize The number of elements to return in a page
* @param pageNumber The current page number
*/
getAccountsUdfs(filter?: string, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* For a given accountId, startDate and endDates for a bill get a billing period recommendation The billing period will be in YYYYMM format YYYY represents the 4 digit year and MM is the two digit month 01 for Jan to 12 for Dec
*
* @param accountId The identifier for the account for which bill is being created
* @param startDate The start date of the bill
* @param endDate The end date of the bill
*/
getDefaultBillingPeriod(accountId: number, startDate?: Date, endDate?: Date, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Move list of accounts to be under parentCostCenterId
*
* @param parentCostCenterId The identifier for the new parent costCenter
* @param body List of accountIds to move under the parentCostCenterId
*/
moveAccount(parentCostCenterId: number, body?: Array, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Fires a custom account action. Custom account actions are setup as webhooks
*
* @param body
*/
processAccountCustomAction(body?: WebhookCustomAction, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Search for accounts Search for accounts whose account code, address, old account code, meter serial number, or meter address contains \"query\"
*
* @param query The string to search for
* @param includeInactiveAccounts Flag to determine if inactive accounts should be included in the search results
*/
searchAccounts(query?: string, includeInactiveAccounts?: boolean, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Enable or disable Accounts from audits
*
* @param body
*/
setAccountAuditExclusion(body?: AccountAuditEnable, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Updates an account alert
*
* @param accountId The identifier for the account the alert to update is on
* @param alertId The identifier for the account alert to update
* @param body Data representing the account alert being created
*/
updateAccountAlert(accountId: number, alertId: number, body?: AccountAlertRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Update audit settings for an account. Every audit must be included but supplying null for its settings will remove them.
* __Setting Status Descriptions:__ | Setting Status | Description | | -------------- | ----------- | | Check | If this audit fails affected bills are flagged | | Hold | If this audit fails affected bills are flagged and held from export | | Skip | This audit is skipped |
* @param accountId The account identifier
* @param body The new state of the audit settings
*/
updateAccountAuditSettings(accountId: number, body?: AccountAuditSettingsRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Creates an account
*
* @param body Data representing the account being created
*/
createAccountWithHttpInfo(body?: AccountCreate, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Creates an account alert
*
* @param accountId The identifier for the account to create alert is on
* @param body Data representing the account alert being created
*/
createAccountAlertWithHttpInfo(accountId: number, body?: AccountAlertRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Deletes an account. Currently NO confirmation is required
*
* @param accountId The identifier for the account being deleted
* @param deleteBills Should this cascade to delete any bills associated with this meter
*/
deleteAccountWithHttpInfo(accountId: number, deleteBills?: boolean, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Deletes an account alert.
*
* @param accountId The identifier for the account the alert is on
* @param alertId The identifier for the alert to delete
*/
deleteAccountAlertWithHttpInfo(accountId: number, alertId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Download file for an account custom field
*
* @param accountId
* @param udfId
*/
downloadAccountCustomFieldFileWithHttpInfo(accountId: number, udfId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Edits an account
*
* @param accountId The identifier for the account being edited
* @param body Data representing the account being edited
*/
editAccountWithHttpInfo(accountId: number, body?: AccountEdit, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
*
*
* @param accountId
* @param body
*/
editAccountCodeVersionWithHttpInfo(accountId: number, body?: AccountCodeHistoryRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Edits user defined field / custom field values for a particular account
*
* @param accountId The identifier for the account
* @param body Data representing the account user defined fields / custom fields being edited
*/
editAccountUDFsWithHttpInfo(accountId: number, body?: Array, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>>;
/**
* Retrieves one account
*
* @param accountId The account identifier for the account being retrieved
*/
getAccountWithHttpInfo(accountId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Retrieves an alert for an account
*
* @param accountId The identifier for the account the alert is on
* @param alertId The identifier for the alert to return
*/
getAccountAlertWithHttpInfo(accountId: number, alertId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Retrieves all alerts for an account
*
* @param accountId The identifier for the account
*/
getAccountAlertsWithHttpInfo(accountId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>>;
/**
* Gets all account audit setting overrides
*
* @param accountId
*/
getAccountAuditSettingsWithHttpInfo(accountId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Retrieves all rates for a particular account
*
* @param accountId The account identifier for which rate values are being retrieved
*/
getAccountRatesWithHttpInfo(accountId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>>;
/**
* Retrieves all templates for a particular account
*
* @param accountId The account identifier for which template values are being retrieved
*/
getAccountTemplatesWithHttpInfo(accountId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>>;
/**
* Retrieves all user defined fields / custom fields for a particular account
*
* @param accountId The account identifier for which user defined field / custom field values are being retrieved
*/
getAccountUdfsWithHttpInfo(accountId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>>;
/**
* Retrieves all accounts
*
* @param filter
* @param pageSize The number of elements to return in a page
* @param pageNumber The current page number
*/
getAccountsWithHttpInfo(filter?: string, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>>;
/**
* Retrieves all user defined fields / custom fields for all accounts
*
* @param filter
* @param pageSize The number of elements to return in a page
* @param pageNumber The current page number
*/
getAccountsUdfsWithHttpInfo(filter?: string, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>>;
/**
* For a given accountId, startDate and endDates for a bill get a billing period recommendation The billing period will be in YYYYMM format YYYY represents the 4 digit year and MM is the two digit month 01 for Jan to 12 for Dec
*
* @param accountId The identifier for the account for which bill is being created
* @param startDate The start date of the bill
* @param endDate The end date of the bill
*/
getDefaultBillingPeriodWithHttpInfo(accountId: number, startDate?: Date, endDate?: Date, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Move list of accounts to be under parentCostCenterId
*
* @param parentCostCenterId The identifier for the new parent costCenter
* @param body List of accountIds to move under the parentCostCenterId
*/
moveAccountWithHttpInfo(parentCostCenterId: number, body?: Array, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Fires a custom account action. Custom account actions are setup as webhooks
*
* @param body
*/
processAccountCustomActionWithHttpInfo(body?: WebhookCustomAction, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Search for accounts Search for accounts whose account code, address, old account code, meter serial number, or meter address contains \"query\"
*
* @param query The string to search for
* @param includeInactiveAccounts Flag to determine if inactive accounts should be included in the search results
*/
searchAccountsWithHttpInfo(query?: string, includeInactiveAccounts?: boolean, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>>;
/**
* Enable or disable Accounts from audits
*
* @param body
*/
setAccountAuditExclusionWithHttpInfo(body?: AccountAuditEnable, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Updates an account alert
*
* @param accountId The identifier for the account the alert to update is on
* @param alertId The identifier for the account alert to update
* @param body Data representing the account alert being created
*/
updateAccountAlertWithHttpInfo(accountId: number, alertId: number, body?: AccountAlertRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Update audit settings for an account. Every audit must be included but supplying null for its settings will remove them.
* __Setting Status Descriptions:__ | Setting Status | Description | | -------------- | ----------- | | Check | If this audit fails affected bills are flagged | | Hold | If this audit fails affected bills are flagged and held from export | | Skip | This audit is skipped |
* @param accountId The account identifier
* @param body The new state of the audit settings
*/
updateAccountAuditSettingsWithHttpInfo(accountId: number, body?: AccountAuditSettingsRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵprov: i0.ɵɵInjectableDeclaration;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountDigestActualMonthlyResponseCommodityResults {
/**
* Calendar Period Name
*/
periodName: string | null | undefined;
/**
* Calendar Period
*/
calendarPeriod: number | null | undefined;
/**
* Calendar Year
*/
calendarYear: number | null | undefined;
/**
* Fiscal Period
*/
fiscalPeriod: number | null | undefined;
/**
* Fiscal Year
*/
fiscalYear: number | null | undefined;
/**
* Total Cost
*/
totalCost: number | null | undefined;
/**
* Common Use
*/
commonUse: number | null | undefined;
/**
* Common Use Unit Cost
*/
commonUseUnitCost: number | null | undefined;
/**
* Global Use
*/
globalUse: number | null | undefined;
/**
* Global Use Unit Cost
*/
globalUseUnitCost: number | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountDigestActualMonthlyResponseCommodityData {
/**
* The commodity code
*/
commodityCode: string | null | undefined;
/**
* The commodity info
*/
commodityInfo: string | null | undefined;
/**
* The commodity identifier
*/
commodityId: number | null | undefined;
commonUseUnit: UnitChild | null | undefined;
costUnit: UnitChild | null | undefined;
/**
* An array of commodity monthly data
*/
results: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountDigestActualMonthlyResponseResults {
/**
* Calendar Period Name
*/
periodName: string | null | undefined;
/**
* Calendar Period
*/
calendarPeriod: number | null | undefined;
/**
* Calendar Year
*/
calendarYear: number | null | undefined;
/**
* Fiscal Period
*/
fiscalPeriod: number | null | undefined;
/**
* Fiscal Year
*/
fiscalYear: number | null | undefined;
/**
* Total Cost
*/
totalCost: number | null | undefined;
/**
* Global Use
*/
globalUse: number | null | undefined;
/**
* Global Use Unit Cost
*/
globalUseUnitCost: number | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountDigestActualMonthlyResponse {
/**
* The account code
*/
accountCode: string | null | undefined;
/**
* The account info
*/
accountInfo: string | null | undefined;
/**
* The account identifier
*/
accountId: number | null | undefined;
/**
* The date and time the data was updated
*/
updated: Date | null | undefined;
globalUseUnit: UnitChild | null | undefined;
costUnit: UnitChild | null | undefined;
/**
* An array of monthly data per commodity
*/
commodities: Array | null | undefined;
/**
* An array of monthly data
*/
results: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountDigestActualYearlyResponseCommodityResults {
/**
* year
*/
year: string | null | undefined;
/**
* Total Cost
*/
totalCost: number | null | undefined;
/**
* Common Use
*/
commonUse: number | null | undefined;
/**
* Common Use Unit Cost
*/
commonUseUnitCost: number | null | undefined;
/**
* Global Use
*/
globalUse: number | null | undefined;
/**
* Global Use Unit Cost
*/
globalUseUnitCost: number | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountDigestActualYearlyResponseCommodityData {
/**
* The commodity code
*/
commodityCode: string | null | undefined;
/**
* The commodity info
*/
commodityInfo: string | null | undefined;
/**
* The commodity identifier
*/
commodityId: number | null | undefined;
commonUseUnit: UnitChild | null | undefined;
costUnit: UnitChild | null | undefined;
/**
* An array of yearly data
*/
results: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountDigestActualYearlyResponseResults {
/**
* Year
*/
year: string | null | undefined;
/**
* Total Cost
*/
totalCost: number | null | undefined;
/**
* Global Use
*/
globalUse: number | null | undefined;
/**
* Global Use Unit Cost
*/
globalUseUnitCost: number | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountDigestActualYearlyResponse {
/**
* The account code
*/
accountCode: string | null | undefined;
/**
* The account info
*/
accountInfo: string | null | undefined;
/**
* The account identifier
*/
accountId: number | null | undefined;
globalUseUnit: UnitChild | null | undefined;
costUnit: UnitChild | null | undefined;
/**
* The date and time the data was updated
*/
updated: Date | null | undefined;
/**
* An array of yearly data
*/
results: Array | null | undefined;
/**
* An array of yearly data per commodity
*/
commodities: Array | null | undefined;
}
declare class AccountDigestService {
protected http: HttpClient;
protected basePath: string;
defaultHeaders: HttpHeaders;
configuration: Configuration;
constructor(http: HttpClient, basePath: string, configuration: Configuration);
/**
*
* Extends object by coping non-existing properties.
* @param objA object to be extended
* @param objB source object
*/
private extendObj;
/**
* @param consumes string[] mime-types
* @return true: consumes contains 'multipart/form-data', false: otherwise
*/
private canConsumeForm;
/**
* Retrieves rolled up actual billing data by account for a given number of years- Result includes cost, use, unit cost on a monthly basis. It also includes commodity level break up.
*
* @param accountId The account to retrieve data for
* @param numberOfYears Number of years of data to return includes the current year - Defaults to 24 months
*/
getAccountActualMonthly(accountId: number, numberOfYears?: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Retrieves rolled up actual billing data by account for a given number of years- Result includes cost, use, unit cost on a monthly basis. It also includes commodity level break up.
*
* @param numberOfYears Number of years of data to return includes the current year - Defaults to 24 months
* @param pageSize The number of elements to return in a page
* @param pageNumber The current page number
*/
getAccountActualMonthlyList(numberOfYears?: number, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Retrieves rolled up actual billing data by account for a given number of years- Result includes cost, use, unit cost on an yearly basis. It also includes commodity level break up.
*
* @param accountId The account to retrieve data for
* @param numberOfYears Number of years of data to return includes the current year - Defaults to 4
*/
getAccountActualYearly(accountId: number, numberOfYears?: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Retrieves rolled up actual billing data by account for a given number of years- Result includes cost, use, unit cost on an yearly basis. It also includes commodity level break up.
*
* @param numberOfYears Number of years of data to return includes the current year - Defaults to 4
* @param pageSize The number of elements to return in a page
* @param pageNumber The current page number
*/
getAccountActualYearlyList(numberOfYears?: number, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Retrieves rolled up actual billing data by account for a given number of years- Result includes cost, use, unit cost on a monthly basis. It also includes commodity level break up.
*
* @param accountId The account to retrieve data for
* @param numberOfYears Number of years of data to return includes the current year - Defaults to 24 months
*/
getAccountActualMonthlyWithHttpInfo(accountId: number, numberOfYears?: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Retrieves rolled up actual billing data by account for a given number of years- Result includes cost, use, unit cost on a monthly basis. It also includes commodity level break up.
*
* @param numberOfYears Number of years of data to return includes the current year - Defaults to 24 months
* @param pageSize The number of elements to return in a page
* @param pageNumber The current page number
*/
getAccountActualMonthlyListWithHttpInfo(numberOfYears?: number, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>>;
/**
* Retrieves rolled up actual billing data by account for a given number of years- Result includes cost, use, unit cost on an yearly basis. It also includes commodity level break up.
*
* @param accountId The account to retrieve data for
* @param numberOfYears Number of years of data to return includes the current year - Defaults to 4
*/
getAccountActualYearlyWithHttpInfo(accountId: number, numberOfYears?: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Retrieves rolled up actual billing data by account for a given number of years- Result includes cost, use, unit cost on an yearly basis. It also includes commodity level break up.
*
* @param numberOfYears Number of years of data to return includes the current year - Defaults to 4
* @param pageSize The number of elements to return in a page
* @param pageNumber The current page number
*/
getAccountActualYearlyListWithHttpInfo(numberOfYears?: number, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>>;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵprov: i0.ɵɵInjectableDeclaration;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountMeterEdit {
/**
* The beginning date and time for this account meter relationship Must be between 1899-12-31 and 3000-01-01 Required (defined)
*/
beginDate: Date | null | undefined;
/**
* The ending date and time for this account meter relationship Must be greater than BeginDate Must be between 1899-12-31 and 3000-01-01 Required (defined)
*/
endDate: Date | null | undefined;
/**
* The identifier for the general ledger assigned to this account meter Required (defined)
*/
generalLedgerId: number | null | undefined;
/**
* The identifier for the vendor type. Vendors may assume different types on different account meters Required (defined)
*/
vendorTypeId: number | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountMeterRateResponse {
/**
* The account meter tariff identifier Required (defined)
*/
rateId: number | null | undefined;
/**
* The rate name Required (defined)
*/
name: string | null | undefined;
/**
* The rate code Required (defined)
*/
rateCode: string | null | undefined;
/**
* The rate's note Required (defined)
*/
note: string | null | undefined;
/**
* The start date for the rate on the account meter Required (defined)
*/
startDate: Date | null | undefined;
/**
* The end date for the rate on the account meter Required (defined)
*/
endDate: Date | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountMeterRequest {
/**
* The account identifier for this account meter Required Topmost (Account)
*/
accountId: number | null;
/**
* The meter identifier for this account meter Required Topmost (Meter)
*/
meterId: number | null;
/**
* The beginning date and time for this account meter relationship Defaults to 1899-01-01
*/
beginDate: Date | null | undefined;
/**
* The ending date and time for this account meter relationship Defaults to 3000-01-01
*/
endDate: Date | null | undefined;
/**
* The identifier for the general ledger assigned to this account meter
*/
generalLedgerId: number | null | undefined;
/**
* The identifier for the vendor type. Vendors may assume different types on different account meters
*/
vendorTypeId: number | null | undefined;
/**
* Indicates if the account meter is deregulated
*/
deregulated: boolean | null | undefined;
/**
* The account meter template to be used for bill entry Optional. If passed in, the templateId will be used. If not passed If vendortypeid is 2 (supplier), --then a template on this meter's commodity with code that starts with S_meter's use unit code will be used --if not found we will try to use a template on this meter's commodity with code that starts with S_ --If not found we will use a non-supplier template described below If vendortype is non- supplier -- the template will be defaulted using the meter's assigned use and demand units --First try and match template by commodityId, useUnitId, demandUnitId --If no match try commodityId, useUnitId --If no match select the first use only template that matches on commodity --If no match find the first template on this commodity --If none is found no template will be assigned
*/
templateId: number | null | undefined;
/**
* Indicates if the account meter rate Required
*/
rateId: number | null;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class RateChild {
/**
*
*/
rateId: number | null | undefined;
/**
*
*/
name: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountRateChild {
rate: RateChild | null | undefined;
/**
*
*/
startDate: Date | null | undefined;
/**
*
*/
endDate: Date | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class TemplateChild {
/**
*
*/
templateId: number | null | undefined;
/**
*
*/
templateCode: string | null | undefined;
/**
*
*/
templateInfo: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class FormTemplateChild {
/**
*
*/
formTemplateId: number | null | undefined;
/**
*
*/
displayOrder: number | null | undefined;
template: TemplateChild | null | undefined;
/**
*
*/
beginDate: Date | null | undefined;
/**
*
*/
endDate: Date | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class MeterChild {
/**
* The meter identifier
*/
meterId: number | null | undefined;
/**
* The meter code
*/
meterCode: string | null | undefined;
/**
* The meter info
*/
meterInfo: string | null | undefined;
meterType: MeterTypeChild | null | undefined;
commodity: CommodityChild | null | undefined;
/**
* Indicates whether the Meter is Active
*/
active: boolean | null | undefined;
/**
* Indicates whether the meter is a calculated meter
*/
isCalculatedMeter: boolean | null | undefined;
/**
* Indicates whether the meter is an ESA calculated meter
*/
isEsaCalculatedMeter: boolean | null | undefined;
/**
* Indicates whether the meter is a parent of a split
*/
isSplitParentMeter: boolean | null | undefined;
/**
* Indicates whether the meter is a child of a split
*/
isSplitChildMeter: boolean | null | undefined;
/**
* The meter's current serial number
*/
serialNumber: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountMeterResponse {
/**
* The account meter identifier Required (defined)
*/
accountMeterId: number | null | undefined;
account: AccountChild | null | undefined;
meter: MeterChild | null | undefined;
/**
* The beginning date and time for this account meter relationship Required (defined)
*/
beginDate: Date | null | undefined;
/**
* The ending date and time for this account meter relationship Required (defined)
*/
endDate: Date | null | undefined;
generalLedger: GeneralLedgerChild | null | undefined;
vendorType: VendorTypeChild | null | undefined;
/**
* Indicates if the account meter is deregulated Required (defined)
*/
deregulated: boolean | null | undefined;
/**
* The template assigned to this account meter Required (defined)
*/
formTemplates: Array | null | undefined;
/**
* The rate assigned to this account meter Required (defined)
*/
rates: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountRateRequest {
/**
* The identifier for the rate to assign to the accountMeter Required Required
*/
rateId: number | null;
/**
* The start date for the accountRate Required Required
*/
startDate: Date | null;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class FormTemplateRequest {
/**
* The identifier for the template being assigned Required Required
*/
templateId: number | null;
/**
* The begin date of the template assignment Required Required
*/
beginDate: Date | null;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class FormTemplateResponse {
/**
* The identifier for the template assignment Required (defined)
*/
formTemplateId: number | null | undefined;
template: TemplateChild | null | undefined;
/**
* The display order for the bill entry screen Required (defined)
*/
displayOrder: number | null | undefined;
/**
* The begin date of the template assignment Required (defined)
*/
beginDate: Date | null | undefined;
/**
* The end date of the template assignment Required (defined)
*/
endDate: Date | null | undefined;
}
declare class AccountMeterService {
protected http: HttpClient;
protected basePath: string;
defaultHeaders: HttpHeaders;
configuration: Configuration;
constructor(http: HttpClient, basePath: string, configuration: Configuration);
/**
*
* Extends object by coping non-existing properties.
* @param objA object to be extended
* @param objB source object
*/
private extendObj;
/**
* @param consumes string[] mime-types
* @return true: consumes contains 'multipart/form-data', false: otherwise
*/
private canConsumeForm;
/**
* Links an account and meter together Meters must be linked to an active account to be usable in EnergyCAP Once an account and meter are created individually, they must be linked with this API
*
* @param body Data representing the account and meter being linked
*/
createAccountMeter(body?: Array, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Creates an AccountRate Relationship. Linking AccountMeter and Rate
*
* @param accountMeterId
* @param body
*/
createAccountRate(accountMeterId: number, body?: AccountRateRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Assigns a new template to an account meter. The new template's begin date must be after the begin date of all existing template assignments
*
* @param accountMeterId
* @param body
*/
createFormTemplate(accountMeterId: number, body?: FormTemplateRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Delete an account meter
*
* @param accountMeterId
* @param deleteBills A true value means delete all bills that have at least 1 line for this account and meter WARNING: Bills for this account include other meters. The ENTIRE bill is deleted. This flag can only be true when: There is a single relationship between the specified account and meter
*/
deleteAccountMeter(accountMeterId: number, deleteBills?: boolean, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Delete an template assignment from an account meter If we are deleting a template assignment in the middle of two other template assignments, then we will move back the next template's start date If we are deleting the last template(current template), the extend second last template's end date to match the account meter's end date If we are deleting the first template pull the second template's begin date to match account meter's begin date
*
* @param accountMeterId
* @param formTemplateId
*/
deleteTemplateAssignment(accountMeterId: number, formTemplateId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Edit an account meter relationship
*
* @param accountMeterId The id of the account meter record to edit
* @param deleteBills A true value means delete all bills that have at least 1 line for this account and meter and a bill start date greater than or equal to the new account and meter relationship end date. WARNING: Bills for this account may include other meters. The ENTIRE bill is deleted. This flag can only be true when: Editing the most recent relationship between this account and meter The end date has been changed but not the begin date
* @param body Data used to update the account and meter
*/
editAccountMeter(accountMeterId: number, deleteBills?: boolean, body?: AccountMeterEdit, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Edit all AccountRate relationships
*
* @param accountMeterId
* @param body
*/
editAccountRateList(accountMeterId: number, body?: Array, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Edit all FormTemplate relationships
*
* @param accountMeterId
* @param body
*/
editFormTemplateList(accountMeterId: number, body?: Array, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Links an account and meter together Meters must be linked to an active account to be usable in EnergyCAP Once an account and meter are created individually, they must be linked with this API
*
* @param body Data representing the account and meter being linked
*/
createAccountMeterWithHttpInfo(body?: Array, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>>;
/**
* Creates an AccountRate Relationship. Linking AccountMeter and Rate
*
* @param accountMeterId
* @param body
*/
createAccountRateWithHttpInfo(accountMeterId: number, body?: AccountRateRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Assigns a new template to an account meter. The new template's begin date must be after the begin date of all existing template assignments
*
* @param accountMeterId
* @param body
*/
createFormTemplateWithHttpInfo(accountMeterId: number, body?: FormTemplateRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Delete an account meter
*
* @param accountMeterId
* @param deleteBills A true value means delete all bills that have at least 1 line for this account and meter WARNING: Bills for this account include other meters. The ENTIRE bill is deleted. This flag can only be true when: There is a single relationship between the specified account and meter
*/
deleteAccountMeterWithHttpInfo(accountMeterId: number, deleteBills?: boolean, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Delete an template assignment from an account meter If we are deleting a template assignment in the middle of two other template assignments, then we will move back the next template's start date If we are deleting the last template(current template), the extend second last template's end date to match the account meter's end date If we are deleting the first template pull the second template's begin date to match account meter's begin date
*
* @param accountMeterId
* @param formTemplateId
*/
deleteTemplateAssignmentWithHttpInfo(accountMeterId: number, formTemplateId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Edit an account meter relationship
*
* @param accountMeterId The id of the account meter record to edit
* @param deleteBills A true value means delete all bills that have at least 1 line for this account and meter and a bill start date greater than or equal to the new account and meter relationship end date. WARNING: Bills for this account may include other meters. The ENTIRE bill is deleted. This flag can only be true when: Editing the most recent relationship between this account and meter The end date has been changed but not the begin date
* @param body Data used to update the account and meter
*/
editAccountMeterWithHttpInfo(accountMeterId: number, deleteBills?: boolean, body?: AccountMeterEdit, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Edit all AccountRate relationships
*
* @param accountMeterId
* @param body
*/
editAccountRateListWithHttpInfo(accountMeterId: number, body?: Array, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>>;
/**
* Edit all FormTemplate relationships
*
* @param accountMeterId
* @param body
*/
editFormTemplateListWithHttpInfo(accountMeterId: number, body?: Array, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>>;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵprov: i0.ɵɵInjectableDeclaration;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccrualProcessorRequest {
/**
* The batch to create for accrual bills Required Must be between 0 and 255 characters
*/
batchCode: string | null;
/**
* Use a safety net for accrued cost calculation? - if we have usage and we are using an average unit cost safety net and the most recent unit cost does not vary more than the specified percentage from the historical average unit cost, accrued cost = accrued use * most recent unit cost - if we have usage and we are not using an average unit cost safety net or the most recent unit cost does vary more than the specified percentage from the historical average unit cost, accrued cost = accrued use * average historical unit cost - if we don't have usage, accrued cost = historical average cost per day * number of days in accrual period Required
*/
aucSafetyNet: boolean | null;
/**
* Percent of cost variance allowed when using average unit cost safety net Required when AucSafetyNet is set to True, case sensitive.
*/
aucPercentVarianceAllowed: number | null | undefined;
/**
* End date for accrual bills generated Required
*/
accrualPeriodEndDate: Date | null;
/**
* Earliest bill end date to begin accruing from (end dates become begin dates for accrued bills) Required
*/
accrualPeriodMinimumStartDate: Date | null;
/**
* Billing period calculation method. Valid values are \"bill midpoint\" and \"manual\". One of 'bill midpoint', 'manual' Case sensitive Required
*/
billingPeriodCalculationMethod: string | null;
/**
* Fixed billing period for accrual bills generated when billing period calculation method is manual. Required when BillingPeriodCalculationMethod is set to manual, case sensitive. Must be between 190001 and 209912
*/
manualBillingPeriod: number | null | undefined;
/**
* Account period calculation method. Valid values are \"blank\", \"billing period\" and \"manual\". One of 'blank', 'billing period', 'manual' Case sensitive Required
*/
accountPeriodCalculationMethod: string | null;
/**
* Fixed account period for accrual bills generated when account period calculation method is manual. Required when AccountPeriodCalculationMethod is set to manual, case sensitive. Must be between 190001 and 209913
*/
manualAccountPeriod: number | null | undefined;
/**
* Generate accrual bills in test mode? Test mode bills are created as voided bills. Required
*/
testMode: boolean | null;
/**
* Optional percentage for cost adjustment. It can be positive or negative.
*/
percentCostAdjustment: number | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccrualSettingsResponse {
/**
* Accrual method to employ. Valid values are: simple - cost per day from the most recent bill use history - unit cost based on historical bills (if AUC safety net used, use the most recent bill if the unit cost is within the safety net percentage, otherwise use a historical average of the last three years from the same period), or average cost per day if no usage
*/
accrualMethod: string | null | undefined;
/**
* Use an average unit cost safety net (apply to most recent bill unit cost)
*/
aucSafetyNet: boolean | null | undefined;
/**
* Average unit cost safety net percentage
*/
aucSafetyNetPercentage: number | null | undefined;
/**
* Default filter to use when selecting most recent bills. Valid value are: non-void - select any non-void bill approved - select only approved bills apexported - select AP exported bills non-exporthold - select bills not held from AP export
*/
accrualBillFilter: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class GuidResponse {
/**
* A guid that identifies the current task
*/
taskGUId: string | null | undefined;
}
declare class AccrualService {
protected http: HttpClient;
protected basePath: string;
defaultHeaders: HttpHeaders;
configuration: Configuration;
constructor(http: HttpClient, basePath: string, configuration: Configuration);
/**
*
* Extends object by coping non-existing properties.
* @param objA object to be extended
* @param objB source object
*/
private extendObj;
/**
* @param consumes string[] mime-types
* @return true: consumes contains 'multipart/form-data', false: otherwise
*/
private canConsumeForm;
/**
* Delete all bills created by the Accrual task If any bills have already been exported they will still be deleted
*
* @param taskId Identifier for the accrual task
*/
deleteAccrualTask(taskId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Get Accrual settings
*
*/
getAccrualSettings(extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Run the accrual processor engine using the supplied settings to generate accrual bills
*
* @param filter Accrual data selection filters
* @param body Accrual processor settings
*/
processAccruals(filter?: string, body?: AccrualProcessorRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Void all bills created by the Accrual task If any bills have already been exported they will still be voided
*
* @param taskId Identifier for the accrual task
*/
voidAccrualTask(taskId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Delete all bills created by the Accrual task If any bills have already been exported they will still be deleted
*
* @param taskId Identifier for the accrual task
*/
deleteAccrualTaskWithHttpInfo(taskId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Get Accrual settings
*
*/
getAccrualSettingsWithHttpInfo(extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Run the accrual processor engine using the supplied settings to generate accrual bills
*
* @param filter Accrual data selection filters
* @param body Accrual processor settings
*/
processAccrualsWithHttpInfo(filter?: string, body?: AccrualProcessorRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Void all bills created by the Accrual task If any bills have already been exported they will still be voided
*
* @param taskId Identifier for the accrual task
*/
voidAccrualTaskWithHttpInfo(taskId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵprov: i0.ɵɵInjectableDeclaration;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class Activity {
/**
*
*/
id: number | null | undefined;
/**
*
*/
reason: string | null | undefined;
}
declare class ActivityService {
protected http: HttpClient;
protected basePath: string;
defaultHeaders: HttpHeaders;
configuration: Configuration;
constructor(http: HttpClient, basePath: string, configuration: Configuration);
/**
*
* Extends object by coping non-existing properties.
* @param objA object to be extended
* @param objB source object
*/
private extendObj;
/**
* @param consumes string[] mime-types
* @return true: consumes contains 'multipart/form-data', false: otherwise
*/
private canConsumeForm;
/**
* List of a bill IDs that were created or modified since the given date.
*
* @param date Created or modified datetime; Defaults to yesterday at the current time
*/
getBillActivity(date?: Date, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* List of a bill IDs that were created or modified since the given date.
*
* @param date Created or modified datetime; Defaults to yesterday at the current time
*/
getBillActivityWithHttpInfo(date?: Date, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>>;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵprov: i0.ɵɵInjectableDeclaration;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountPeriodResponse {
/**
* The account period identifier
*/
accountPeriodId: number | null | undefined;
/**
* The period number
*/
periodNumber: number | null | undefined;
/**
* The name of the period
*/
name: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountPeriodRequest {
/**
* The period number When submitted with a list of other account periods, there cannot be more than one account period with the same periodNumber Must be between 1 and 12 Required (defined)
*/
periodNumber: number | null | undefined;
/**
* The name of the period Max length of 32 Required (defined)
*/
name: string | null;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountingSettingsRequest {
/**
* First month of fiscal year Must be between 1 and 12 Required (defined)
*/
fiscalYearStartMonth: number | null | undefined;
/**
* Fiscal year reflects the calendar year in which it Begins or Ends One of 'beginning', 'ending' Case sensitive Required (defined)
*/
fiscalYearDefinedAtYear: string | null | undefined;
/**
* Calendarization method Value will be one of \"monthly\", \"user-defined\" One of 'monthly', 'user-defined' Case sensitive Required (defined)
*/
calendarizationMethod: string | null | undefined;
/**
* List of accounting period names Required (defined)
*/
accountPeriods: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountingSettingsResponse {
/**
* First month of fiscal year Value will be from 1-12
*/
fiscalYearStartMonth: number | null | undefined;
/**
* Fiscal year reflects the calendar year in which it Begins or Ends Value will be one of \"beginning\", \"ending\"
*/
fiscalYearDefinedAtYear: string | null | undefined;
/**
* Calendarization method Value will be one of \"monthly\", \"user-defined\"
*/
calendarizationMethod: string | null | undefined;
/**
* List of accounting period names
*/
accountPeriods: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AdminSettingsRequest {
/**
* The setting field Required Must be between 0 and 32 characters
*/
fieldName: string | null;
/**
* The setting value Must be between 0 and 255 characters Required (defined)
*/
value: string | null | undefined;
/**
* The setting's data type identifier. Possible value include 1 (boolean), 2 (integer), 3 (string), 4 (double), 6 (date) Required One of '1', '2', '3', '4', '6' Case sensitive
*/
dataTypeId: number | null;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AdminSettingsResponse {
/**
* The setting field
*/
fieldName: string | null | undefined;
/**
* The setting value
*/
value: string | null | undefined;
dataType: DataTypeResponse | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class LicenseRequest {
/**
* User's license validation key. Required (defined)
*/
validationKey: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AccountOrMeterUsage {
/**
* Number of chargeback accounts or meters.
*/
chargeback: number | null | undefined;
/**
* Number of non-chargeback accounts or meters.
*/
nonChargeback: number | null | undefined;
/**
* Number of inactive accounts or meters.
*/
inactive: number | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class BillUsage {
/**
* Number of bills that are manually entered.
*/
manuallyEntered: number | null | undefined;
/**
* Number of bills that are imported.
*/
imported: number | null | undefined;
/**
* Number of bills that are chargeback.
*/
chargeback: number | null | undefined;
/**
* Number of bills that have accrued.
*/
accrual: number | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class LicenseFeatures {
/**
* Whether accounting export is available on the user's the license.
*/
accountingExport: boolean | null | undefined;
/**
* Whether bill accruals are available on the user's license.
*/
billAccruals: boolean | null | undefined;
/**
* Whether chargebacks are available on the user's license.
*/
chargebacks: boolean | null | undefined;
/**
* Whether cost avoidance is available on the user's license.
*/
costAvoidance: boolean | null | undefined;
/**
* Whether custom benchmarks are available on the user's license.
*/
customBenchmarks: boolean | null | undefined;
/**
* Whether interval data analysis is available on the user's license.
*/
intervalDataAnalysis: boolean | null | undefined;
/**
* Whether report designer is available on the user's license.
*/
reportDesigner: boolean | null | undefined;
/**
* Whether report distribution is available on the user's license.
*/
reportDistribution: boolean | null | undefined;
/**
* Whether CarbonHub Standard is available on the user's license.
*/
ghg: boolean | null | undefined;
/**
* Whether CarbonHub Premium is available on the user's license.
*/
ghgPremium: boolean | null | undefined;
/**
* Whether Legacy GHG features are available on the user's license.
*/
ghgLegacy: boolean | null | undefined;
/**
* Whether Budgets is available on the user's license
*/
budgets: boolean | null | undefined;
/**
* Whether EnergyCAP Payments is available on the user's license
*/
energyCAPPayments: boolean | null | undefined;
/**
* Whether Bill CAPture Managed Services is available on the user's license
*/
billCAPtureManagedServices: boolean | null | undefined;
/**
* Whether CarbonHub is available on the user's license
*/
carbonHub: boolean | null | undefined;
/**
* Whether Interval Data Managed Services is available on the user's license
*/
intervalData: boolean | null | undefined;
/**
* Whether Bill CAPture PrePay is available on the user's license
*/
billCapturePrePay: boolean | null | undefined;
/**
* Whether Bill CAPture PostPay is available on the user's license
*/
billCapturePostPay: boolean | null | undefined;
/**
* Whether Bill CAPture NonEnglish Bills is available on the user's license
*/
nonEnglishBills: boolean | null | undefined;
/**
* Whether Vendor Management Services is available on the user's license
*/
vendorManagementServices: boolean | null | undefined;
/**
* Whether UIDI is available on the user's license
*/
uIdI: boolean | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class LicenseUsage {
/**
* Purchased allotment of licensed items
*/
purchased: number | null | undefined;
/**
* Number of active licenses
*/
active: number | null | undefined;
/**
* Number of inactive licenses
*/
inactive: number | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class LicenseResponse {
/**
* User's license validation key.
*/
validationKey: string | null | undefined;
/**
* User's license expiration date.
*/
expirationDate: Date | null | undefined;
/**
* Number of licensed meters for this user.
*/
licensedMeters: number | null | undefined;
/**
* The user number.
*/
userNumber: string | null | undefined;
/**
* EnergyCAP version on this license.
*/
version: string | null | undefined;
/**
* Additional notes related to the license.
*/
notes: string | null | undefined;
meterUsage: AccountOrMeterUsage | null | undefined;
accountUsage: AccountOrMeterUsage | null | undefined;
billsCreatedLast30Days: BillUsage | null | undefined;
billsCreatedLast12Months: BillUsage | null | undefined;
licenseFeatures: LicenseFeatures | null | undefined;
/**
* Application SKU as set in the license code for UtilityManagement. Possible values are: SaaS (Express), Professional, Online (Enterprise), ConsultantPlatform, ConsultantPlatformPlus, UtilityCompanyPlatform, and Other.
*/
utilityManagementSKU: string | null | undefined;
emissionSourcesScope1And2Usage: LicenseUsage | null | undefined;
emissionSourcesScope3Usage: LicenseUsage | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class ReportingSettingRequest {
/**
* The energy unit identifier Required (defined)
*/
energyUnitId: number | null | undefined;
/**
* The cost unit identifier Required (defined)
*/
costUnitId: number | null | undefined;
/**
* The floor area unit identifier Required (defined)
*/
floorAreaUnitId: number | null | undefined;
/**
* Months to exclude from charts, including the current month. Ex. If the current month is October, A value of 0 will not exclude any months, A value of 1 will exclude the month of October, A value of 2 will exclude October and September, A value of 3 will exclude October, September, and August, A value of 13 will exclude October and the last full year of data. Must be between 0 and 13 Required (defined)
*/
monthsToExcludeFromCharts: number | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class ReportingSettingResponse {
energyUnit: UnitChild | null | undefined;
costUnit: UnitChild | null | undefined;
floorAreaUnit: UnitChild | null | undefined;
/**
* Months to exclude from charts, including the current month. Ex. If the current month is October, A value of 0 will not exclude any months, A value of 1 will exclude the month of October, A value of 2 will exclude October and September, A value of 3 will exclude October, September, and August, A value of 13 will exclude October and the last full year of data.
*/
monthsToExcludeFromCharts: number | null | undefined;
/**
* For internal use only. The task GUID of cost reporting unit post processing, only set when the cost reporting unit is changed in the Edit Reporting Settings API.
*/
costReportingUnitTaskGUId: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class SystemSettingsRequest {
/**
* Default topmost space ID for new users Required (defined)
*/
defaultTopmostSpaceId: number | null | undefined;
/**
* Cut over date when EnergyCAP officially takes over bill payments. In order to modify this date, the user needs to have Special Permission (ECAP) and LicenseFeatureEnergyCAPPayments. It's not possible to change the field to null since the value is mandatory for (ECAP) and LicenseFeatureEnergyCAPPayments. For non (ECAP) and/or non LicenseFeatureEnergyCAPPayments users, use null or inform same value provided in the GET endpoint. Required (defined)
*/
billPayCutoverEndDate: Date | null | undefined;
/**
* Default topmost collection ID for new users Required (defined)
*/
defaultTopmostCollectionId: number | null | undefined;
/**
* The organization name Required (defined)
*/
organizationName: string | null | undefined;
/**
* Indicates whether or not organization name should be displayed in the application header Required
*/
displayOrganizationNameInHeader: boolean | null;
/**
* The organization logo May be a base64-encoded PNG, JPG, or SVG image or a URI for an image hosted online A null value will clear the saved image Min length of 5 Required (defined)
*/
organizationLogo: string | null | undefined;
/**
* Number of minutes after which users will be automatically logged out Must be between 10 and 780 Required (defined)
*/
automaticLogoutMinutes: number | null | undefined;
/**
* Default country for new users Required (defined)
*/
defaultCountry: string | null | undefined;
/**
* ID of the default time zone for new meters Required
*/
defaultMeterTimeZoneId: number | null;
/**
* Default date format for new users One of 'MM/dd/yyyy', 'dd/MM/yyyy' Case sensitive Required (defined)
*/
defaultDateFormat: string | null | undefined;
/**
* Default topmost cost center ID for new users Required (defined)
*/
defaultTopmostCostCenterId: number | null | undefined;
/**
* Default topmost place ID for new users Required (defined)
*/
defaultTopmostPlaceId: number | null | undefined;
/**
* Default user role ID for new users Required (defined)
*/
defaultUserRoleId: number | null | undefined;
/**
* Months to exclude from charts, including the current month. Set to 2 months by default. Ex. If the current month is October, A value of 0 will not exclude any months, A value of 1 will exclude the month of October, A value of 2 will exclude October and September, A value of 3 will exclude October, September, and August, A value of 13 will exclude October and the last full year of data. A null value will preserve the existing setting. Must be between 0 and 13 Required (defined)
*/
monthsToExcludeFromCharts: number | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class CollectionChild {
/**
* The collection identifier
*/
collectionId: number | null | undefined;
/**
* The collection code
*/
collectionCode: string | null | undefined;
/**
* The collection info
*/
collectionInfo: string | null | undefined;
collectionIcon: Icon | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class SystemUserRoleChild {
/**
* The user role identifier
*/
userRoleId: number | null | undefined;
/**
* The user role name
*/
userRoleInfo: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class TimeZoneResponse {
/**
* The time zone id
*/
timeZoneId: number | null | undefined;
/**
* The time zone code
*/
timeZoneCode: string | null | undefined;
/**
* The time zone info
*/
timeZoneInfo: string | null | undefined;
/**
* The time zone gmt offset
*/
gmtOffset: number | null | undefined;
/**
* Indicates if the time zone observes daylight savings time or not
*/
daylightSavingsObserved: boolean | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class SystemSettingsResponse {
/**
* The organization name
*/
organizationName: string | null | undefined;
/**
* Indicates whether or not organization name should be displayed in the application header
*/
displayOrganizationNameInHeader: boolean | null | undefined;
/**
* The organization logo May be a base64-encoded PNG, JPG, or SVG image or a URI for an image hosted online A null value will clear the saved image
*/
organizationLogo: string | null | undefined;
/**
* Number of minutes after which users will be automatically logged out
*/
automaticLogoutMinutes: number | null | undefined;
/**
* Default country for new users
*/
defaultCountry: string | null | undefined;
defaultMeterTimeZone: TimeZoneResponse | null | undefined;
/**
* Default date format for new users
*/
defaultDateFormat: string | null | undefined;
defaultTopmostPlace: PlaceChild | null | undefined;
defaultCostCenter: CostCenterChild | null | undefined;
defaultCollection: CollectionChild | null | undefined;
defaultTopmostSpace: PlaceChild | null | undefined;
defaultUserRole: SystemUserRoleChild | null | undefined;
/**
* Number of months to exclude from powerview charts
*/
monthsToExcludeFromCharts: number | null | undefined;
/**
* Cut over date when EnergyCAP officially takes over bill payments
*/
billPayCutoverEndDate: Date | null | undefined;
}
declare class AdminService {
protected http: HttpClient;
protected basePath: string;
defaultHeaders: HttpHeaders;
configuration: Configuration;
constructor(http: HttpClient, basePath: string, configuration: Configuration);
/**
*
* Extends object by coping non-existing properties.
* @param objA object to be extended
* @param objB source object
*/
private extendObj;
/**
* @param consumes string[] mime-types
* @return true: consumes contains 'multipart/form-data', false: otherwise
*/
private canConsumeForm;
/**
* Edit accounting settings
*
* @param body
*/
editAccountingSettings(body?: AccountingSettingsRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Edit the license details.
*
* @param body
*/
editLicenseDetails(body?: LicenseRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Edit system settings
*
* @param body
*/
editSystemSettings(body?: SystemSettingsRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Get the list of account periods
*
*/
getAccountPeriods(extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Get accounting settings
*
*/
getAccountingSettings(extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Get license details.
*
*/
getLicenseDetails(extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Retrieve the organization logo, if configured. Only URLs or JPEG, PNG, and SVG images are acceptable organization logos. If the saved base64 image is of a different file type, it will return an error.
*
*/
getOrganizationLogo(extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Get the system reporting settings
*
*/
getReportingSettings(extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
*
*
*/
getSystemSettings(extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Get system settings
*
*/
getSystemSettingsNew(extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Fire a custom application action webhook
*
* @param webhookId The identifier for the webhook being fired
*/
processCustomAppAction(webhookId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Set the system reporting settings
*
* @param body
*/
setReportingSettings(body?: ReportingSettingRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
*
*
* @param body
*/
updateSystemSettings(body?: Array, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Edit accounting settings
*
* @param body
*/
editAccountingSettingsWithHttpInfo(body?: AccountingSettingsRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Edit the license details.
*
* @param body
*/
editLicenseDetailsWithHttpInfo(body?: LicenseRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Edit system settings
*
* @param body
*/
editSystemSettingsWithHttpInfo(body?: SystemSettingsRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Get the list of account periods
*
*/
getAccountPeriodsWithHttpInfo(extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>>;
/**
* Get accounting settings
*
*/
getAccountingSettingsWithHttpInfo(extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Get license details.
*
*/
getLicenseDetailsWithHttpInfo(extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Retrieve the organization logo, if configured. Only URLs or JPEG, PNG, and SVG images are acceptable organization logos. If the saved base64 image is of a different file type, it will return an error.
*
*/
getOrganizationLogoWithHttpInfo(extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Get the system reporting settings
*
*/
getReportingSettingsWithHttpInfo(extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
*
*
*/
getSystemSettingsWithHttpInfo(extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>>;
/**
* Get system settings
*
*/
getSystemSettingsNewWithHttpInfo(extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Fire a custom application action webhook
*
* @param webhookId The identifier for the webhook being fired
*/
processCustomAppActionWithHttpInfo(webhookId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Set the system reporting settings
*
* @param body
*/
setReportingSettingsWithHttpInfo(body?: ReportingSettingRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
*
*
* @param body
*/
updateSystemSettingsWithHttpInfo(body?: Array, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>>;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵprov: i0.ɵɵInjectableDeclaration;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class FilterResponse {
/**
* The list of available operators Required (defined)
*/
availableOperator: Array | null | undefined;
/**
* The caption of the filter Required (defined)
*/
caption: string | null | undefined;
/**
* The Query parameter name Required (defined)
*/
queryParameterName: string | null | undefined;
/**
* The field identifier Required (defined)
*/
fieldId: number | null | undefined;
/**
* The datafield identifier Required (defined)
*/
dataFieldId: number | null | undefined;
dataType: DataTypeResponse | null | undefined;
/**
* The operator Required (defined)
*/
operator: string | null | undefined;
/**
* The value of the filter Required (defined)
*/
value: string | null | undefined;
/**
* Indicates if the filter is required
*/
required: boolean | null | undefined;
/**
* Indicates if the filter is recommended Required (defined)
*/
recommended: boolean | null | undefined;
/**
* Indicates if the filter is hidden Required (defined)
*/
hidden: boolean | null | undefined;
}
declare class ApiService {
protected http: HttpClient;
protected basePath: string;
defaultHeaders: HttpHeaders;
configuration: Configuration;
constructor(http: HttpClient, basePath: string, configuration: Configuration);
/**
*
* Extends object by coping non-existing properties.
* @param objA object to be extended
* @param objB source object
*/
private extendObj;
/**
* @param consumes string[] mime-types
* @return true: consumes contains 'multipart/form-data', false: otherwise
*/
private canConsumeForm;
/**
* Get filters for an API
*
* @param apiId The api Id
*/
getApiFilters(apiId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Get filters for an API
*
* @param apiId The api Id
*/
getApiFiltersWithHttpInfo(apiId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>>;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵprov: i0.ɵɵInjectableDeclaration;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class ApiKeyCreateRequest {
/**
* The name of the API key Required Must be between 0 and 60 characters
*/
apiKeyName: string | null;
/**
* A description for the API key
*/
apiKeyDescription: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class ApiKeyCreateResponse {
/**
* The API key. This value cannot be retrieved again after it is created.
*/
apiKey: string | null | undefined;
/**
* The identifier of the API key
*/
apiKeyId: number | null | undefined;
/**
* The name of the API key
*/
apiKeyName: string | null | undefined;
/**
* A description of the API key
*/
apiKeyDescription: string | null | undefined;
createdBy: UserChild | null | undefined;
/**
* The API key creation date
*/
createdDate: Date | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class ApiKeyEditRequest {
/**
* The name of the API key Required Must be between 0 and 60 characters
*/
apiKeyName: string | null;
/**
* A description for the API key Required (defined)
*/
apiKeyDescription: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class ApiKeyResponse {
/**
* The identifier of the API key
*/
apiKeyId: number | null | undefined;
/**
* The name of the API key
*/
apiKeyName: string | null | undefined;
/**
* A description of the API key
*/
apiKeyDescription: string | null | undefined;
createdBy: UserChild | null | undefined;
/**
* The API key creation date
*/
createdDate: Date | null | undefined;
}
declare class ApiKeyService {
protected http: HttpClient;
protected basePath: string;
defaultHeaders: HttpHeaders;
configuration: Configuration;
constructor(http: HttpClient, basePath: string, configuration: Configuration);
/**
*
* Extends object by coping non-existing properties.
* @param objA object to be extended
* @param objB source object
*/
private extendObj;
/**
* @param consumes string[] mime-types
* @return true: consumes contains 'multipart/form-data', false: otherwise
*/
private canConsumeForm;
/**
* Create a new API key
*
* @param body
*/
createApiKey(body?: ApiKeyCreateRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Delete an API key
*
* @param apiKeyId
*/
deleteApiKey(apiKeyId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Edit the name and description of an api key
*
* @param apiKeyId
* @param body
*/
editApiKey(apiKeyId: number, body?: ApiKeyEditRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Get an API key
*
* @param apiKeyId
*/
getApiKey(apiKeyId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Get a list of all available API keys
*
* @param filter
*/
getApiKeys(filter?: string, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Create a new API key
*
* @param body
*/
createApiKeyWithHttpInfo(body?: ApiKeyCreateRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Delete an API key
*
* @param apiKeyId
*/
deleteApiKeyWithHttpInfo(apiKeyId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Edit the name and description of an api key
*
* @param apiKeyId
* @param body
*/
editApiKeyWithHttpInfo(apiKeyId: number, body?: ApiKeyEditRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Get an API key
*
* @param apiKeyId
*/
getApiKeyWithHttpInfo(apiKeyId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Get a list of all available API keys
*
* @param filter
*/
getApiKeysWithHttpInfo(filter?: string, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>>;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵprov: i0.ɵɵInjectableDeclaration;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class CommoditySkipAuditSettingRequest {
/**
* Required (defined)
*/
commoditiesToSkip: Array | null | undefined;
/**
* The status of the audit setting One of 'Check', 'Hold', 'Skip' Required (defined)
*/
settingStatus: string | null | undefined;
/**
* Minimum Bill/Meter Cost. This audit will run only when the cost meets the specified minimum cost Required (defined)
*/
minimumCost: number | null | undefined;
/**
* List of Assignees. Ids of the users the flag should get assigned to when the audit fails. Required (defined)
*/
assignees: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class AuditSettingsRequest {
currencyUnitAnalysis: AuditSettingRequest | null;
multipleUseUnitAnalysis: AuditSettingRequest | null;
billUseUnitDifferentFromMeterAnalysis: AuditSettingRequest | null;
billContainsLineItemDescriptions: BillContainsLineItemDescriptionsSettingRequest | null;
billContainsLineItemTypes: BillContainsLineItemTypesSettingRequest | null;
totalBillCostDoesNotMatchLineItemTypes: TotalBillCostDoesNotMatchLineItemTypesSettingRequest | null;
billingPeriodOutsideStartEndDates: AuditSettingRequest | null;
billOverlapsWithOtherAccountBill: CommoditySkipAuditSettingRequest | null;
gapBetweenBillAndPreviousBillOnAccount: CommoditySkipAuditSettingRequest | null;
billEndsInFuture: AuditSettingRequest | null;
accountHasMultipleBillsInBillingPeriod: CommoditySkipAuditSettingRequest | null;
statementDateBeforeEndDate: AuditSettingRequest | null;
dueDateBeforeEndDate: AuditSettingRequest | null;
billSignificantlyShorterOrLongerThanPrevious: BillSignificantlyShorterOrLongerThanPreviousSettingRequest | null;
tooManyConsecutiveEstimatedBills: TooManyConsecutiveEstimatedBillsSettingRequest | null;
dueDateTooLongAfterBillEnd: DueDateTooLongAfterBillEndSettingRequest | null;
statementDateTooLongAfterBillEnd: StatementDateTooLongAfterBillEndSettingRequest | null;
invoiceNumberIsRepeatedOnAccount: AuditSettingRequest | null;
likelyDuplicateBillOnAccount: AuditSettingRequest | null;
totalMeterCostIsPercentageHigherThanPastYear: AuditSettingRequest | null;
totalMeterUseIsPercentageHigherThanPastYear: AuditSettingRequest | null;
serialNumberDoesNotMatchImportFile: AuditSettingRequest | null;
rateCodeDoesNotMatchImportFile: AuditSettingRequest | null;
importFileStartDateAdjustedToPreventGaps: AuditSettingRequest | null;
accountAlertExistsOnAccountInImportFile: AuditSettingRequest | null;
abnormalBillCostWithOutlierAnalysis: AbnormalBillCostWithOutlierAnalysisSettingRequest | null;
abnormalBillUseWithOutlierAnalysis: AbnormalBillUseWithOutlierAnalysisSettingRequest | null;
abnormalBillDemandWithOutlierAnalysis: AbnormalBillDemandWithOutlierAnalysisSettingRequest | null;
}
declare class AuditService {
protected http: HttpClient;
protected basePath: string;
defaultHeaders: HttpHeaders;
configuration: Configuration;
constructor(http: HttpClient, basePath: string, configuration: Configuration);
/**
*
* Extends object by coping non-existing properties.
* @param objA object to be extended
* @param objB source object
*/
private extendObj;
/**
* @param consumes string[] mime-types
* @return true: consumes contains 'multipart/form-data', false: otherwise
*/
private canConsumeForm;
/**
* Gets all audit settings
*
*/
getAuditSettings(extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Re-run audits on a set of bills Only a subset of audits are run. The audits that run are the ones that are affected by bill history Also the owner audit setting and any account level audit setting overrides will be applied Resolved flag issues and flags could get re-flagged because of this action If the audit setting is set to Flag and Hold, the bill will get Held from export
*
* @param rerunResolvedIssues When true, resolved issues can be re-flagged. When false, resolved issues are not re-flagged. Defaults to true.
* @param body The list of bills to audit
*/
rerunAudits(rerunResolvedIssues?: boolean, body?: Array, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Re-run audits on a set of bills Only a subset of audits are run. The audits that run are the ones that are affected by bill history Also the owner audit setting and any account level audit setting overrides will be applied Resolved flag issues and flags could get re-flagged because of this action If the audit setting is set to Flag and Hold, the bill will get Held from export
*
* @param body The list of bills to audit
*/
rerunAudits_1(body?: Array, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Update audit settings
* __Setting Status Descriptions:__ | Setting Status | Description | | -------------- | ----------- | | Check | If this audit fails affected bills are flagged | | Hold | If this audit fails affected bills are flagged and held from export | | Skip | This audit is skipped |
* @param body The new state of the audit settings
*/
updateAuditSettings(body?: AuditSettingsRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Gets all audit settings
*
*/
getAuditSettingsWithHttpInfo(extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Re-run audits on a set of bills Only a subset of audits are run. The audits that run are the ones that are affected by bill history Also the owner audit setting and any account level audit setting overrides will be applied Resolved flag issues and flags could get re-flagged because of this action If the audit setting is set to Flag and Hold, the bill will get Held from export
*
* @param rerunResolvedIssues When true, resolved issues can be re-flagged. When false, resolved issues are not re-flagged. Defaults to true.
* @param body The list of bills to audit
*/
rerunAuditsWithHttpInfo(rerunResolvedIssues?: boolean, body?: Array, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Re-run audits on a set of bills Only a subset of audits are run. The audits that run are the ones that are affected by bill history Also the owner audit setting and any account level audit setting overrides will be applied Resolved flag issues and flags could get re-flagged because of this action If the audit setting is set to Flag and Hold, the bill will get Held from export
*
* @param body The list of bills to audit
*/
rerunAudits_1WithHttpInfo(body?: Array, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Update audit settings
* __Setting Status Descriptions:__ | Setting Status | Description | | -------------- | ----------- | | Check | If this audit fails affected bills are flagged | | Hold | If this audit fails affected bills are flagged and held from export | | Skip | This audit is skipped |
* @param body The new state of the audit settings
*/
updateAuditSettingsWithHttpInfo(body?: AuditSettingsRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵprov: i0.ɵɵInjectableDeclaration;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class LoginRequest {
/**
* Datasource Required
*/
dataSource: string | null;
/**
* Password Required
*/
password: string | null;
/**
* Username Required
*/
username: string | null;
/**
* OPTIONAL - Partition Usually this is the environment, Staging, Pro, Web. An empty or NULL partition will result in all partitions being scanned.
*/
partition: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class ApiUser {
/**
*
*/
userName: string | null | undefined;
/**
*
*/
fullName: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class LoginResponse {
/**
*
*/
token: string | null | undefined;
user: ApiUser | null | undefined;
}
declare class AuthenticationService {
protected http: HttpClient;
protected basePath: string;
defaultHeaders: HttpHeaders;
configuration: Configuration;
constructor(http: HttpClient, basePath: string, configuration: Configuration);
/**
*
* Extends object by coping non-existing properties.
* @param objA object to be extended
* @param objB source object
*/
private extendObj;
/**
* @param consumes string[] mime-types
* @return true: consumes contains 'multipart/form-data', false: otherwise
*/
private canConsumeForm;
/**
*
*
*/
beta(extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable<{
[key: string]: boolean;
}>;
/**
* My.EnergyCap.Com needs a way to get a token from a partition name. Pass in a partition, create and return a token for provided partition.
*
* @param partition
*/
createTokenForPartition(partition?: string, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
*
*
* @param body
*/
login(body?: LoginRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Logout user- if they were logged in using a cookie
*
*/
logout(extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
*
*
*/
betaWithHttpInfo(extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* My.EnergyCap.Com needs a way to get a token from a partition name. Pass in a partition, create and return a token for provided partition.
*
* @param partition
*/
createTokenForPartitionWithHttpInfo(partition?: string, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
*
*
* @param body
*/
loginWithHttpInfo(body?: LoginRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Logout user- if they were logged in using a cookie
*
*/
logoutWithHttpInfo(extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵprov: i0.ɵɵInjectableDeclaration;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class BatchCreate {
/**
* The batch code Required Must be between 0 and 255 characters
*/
batchCode: string | null;
/**
* If user has other batches open, should they be closed?
*/
closeExistingBatch: boolean | null | undefined;
/**
* Statement date for batch - will get applied as default to any bill added to this batch
*/
statementDate: Date | null | undefined;
/**
* Due date for batch - will get applied as default to any bill added to this batch
*/
dueDate: Date | null | undefined;
/**
* Next reading date for batch - will get applied as default to any bill added to this batch
*/
nextReading: Date | null | undefined;
/**
* Control code for batch - will get applied as default to any bill added to this batch Must be between 0 and 255 characters
*/
controlCode: string | null | undefined;
/**
* Invoice number for batch - will get applied as default to any bill added to this batch Must be between 0 and 255 characters
*/
invoiceNumber: string | null | undefined;
/**
* Account period number for batch - will get applied as default to any bill added to this batch
*/
accountPeriodNumber: number | null | undefined;
/**
* Accountperiod year for batch - will get applied as default to any bill added to this batch Must be between 1900 and 2099
*/
accountPeriodYear: number | null | undefined;
/**
* Note/comment for batch Must be between 0 and 255 characters
*/
note: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class BatchEdit {
/**
* The batch code Required Must be between 0 and 255 characters
*/
batchCode: string | null;
/**
* Note/comment for batch Must be between 0 and 255 characters Required (defined)
*/
note: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class BatchChild {
/**
* The batch id.
*/
batchId: number | null | undefined;
/**
* The batch code.
*/
batchCode: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class SourceBatchLogResponse {
targetBatch: BatchChild | null | undefined;
/**
* Unique identifier for the operation that moved the bills. There can be multiple bills moved in a single operation, so this ID is the same for all bills moved in that operation.
*/
moveOperationId: string | null | undefined;
/**
* Date/time offset of the operation
*/
createdDate: Date | null | undefined;
/**
* Bill IDs that were moved in this operation.
*/
billIds: Array | null | undefined;
createdBy: UserChild | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class TargetBatchLogResponse {
sourceBatch: BatchChild | null | undefined;
/**
* Unique identifier for the operation that moved the bills. There can be multiple bills moved in a single operation, so this ID is the same for all bills moved in that operation.
*/
moveOperationId: string | null | undefined;
/**
* Date/time offset of the operation
*/
createdDate: Date | null | undefined;
/**
* Bill IDs that were moved in this operation.
*/
billIds: Array | null | undefined;
createdBy: UserChild | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class BatchLogResponse {
/**
* The batch identifier
*/
batchId: number | null | undefined;
/**
* Logs of bills that were added to this batch from another batch.
*/
billsAddedFromLogs: Array | null | undefined;
/**
* Logs of bills that were moved from this batch to another batch.
*/
billsMovedToLogs: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class BatchResponse {
/**
* The batch identifier
*/
batchId: number | null | undefined;
/**
* The batch code
*/
batchCode: string | null | undefined;
/**
* Is the batch open
*/
isOpen: boolean | null | undefined;
/**
* The status of the batch (open, pending, closed)
*/
batchStatus: string | null | undefined;
/**
* The date when the batch was created
*/
startDate: Date | null | undefined;
/**
* The date when the batch was closed
*/
endDate: Date | null | undefined;
/**
* The number of bills in this batch
*/
billCount: number | null | undefined;
/**
* The cost of all bills in this batch
*/
runningTotal: number | null | undefined;
/**
* Statement date batch setting
*/
statementDate: string | null | undefined;
/**
* Due date batch setting
*/
dueDate: string | null | undefined;
/**
* Next reading date batch setting
*/
nextReading: string | null | undefined;
/**
* Control code batch setting
*/
controlCode: string | null | undefined;
/**
* Invoice number batch setting
*/
invoiceNumber: string | null | undefined;
/**
* Account period name batch setting
*/
accountPeriodName: string | null | undefined;
/**
* Account period number batch setting
*/
accountPeriodNumber: number | null | undefined;
/**
* Account period year batch setting
*/
accountPeriodYear: number | null | undefined;
/**
* Note/comment for the batch
*/
note: string | null | undefined;
createdBy: UserChild | null | undefined;
/**
* Number of unresolved flags on bills contained in this batch
*/
flagCount: number | null | undefined;
/**
* Number of bills contained in this batch that are currently being analyzed
*/
analyzingCount: number | null | undefined;
/**
* Denotes if the Batch has any imported bills associated with it
*/
hasImportedBills: boolean | null | undefined;
/**
* Denotes if the Batch has any import task with Status = \"Completed with kickouts\"
*/
hasImportsWithKickout: boolean | null | undefined;
/**
* Denotes if the Batch has any move log events associated with it
*/
hasLogs: boolean | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class DistributeAccountChargesBase {
/**
* Determines if account charges should be assigned proportionally based on the usage values of each meter or based on the bill cost from each meter. If not provided, defaults to \"Usage\". One of 'Usage', 'Cost', '' Case sensitive Required (defined)
*/
splitBasis: DistributeAccountChargesBase.SplitBasisEnum;
}
declare namespace DistributeAccountChargesBase {
enum SplitBasisEnum {
NUMBER_0,
NUMBER_1
}
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
/**
*
*/
declare class UpdateBatchStatusRequest {
/**
* The status to set on the batch Required One of 'Open', 'Pending', 'Closed' Case sensitive
*/
batchStatus: string | null;
/**
* The batch note, referred to as a comment in the application when setting state to pending. If opening another user's batch, the note will only be applied to the requesting user's open batch that is being set to pending (if any). If null, the note will not be updated. Set to an empty string to remove the current note. Must be between 0 and 255 characters Required (defined)
*/
note: string | null | undefined;
/**
* If not provided or false, any open batches for the requesting user will be set to pending, when another pending batch is switched to open If true, any open batches for the requesting user will be left open, when another pending batch is switched to open. Required (defined)
*/
leaveOpenBatchesAsIs: boolean | null | undefined;
}
declare class BatchService {
protected http: HttpClient;
protected basePath: string;
defaultHeaders: HttpHeaders;
configuration: Configuration;
constructor(http: HttpClient, basePath: string, configuration: Configuration);
/**
*
* Extends object by coping non-existing properties.
* @param objA object to be extended
* @param objB source object
*/
private extendObj;
/**
* @param consumes string[] mime-types
* @return true: consumes contains 'multipart/form-data', false: otherwise
*/
private canConsumeForm;
/**
*
*
* @param batchId
*/
closeBatch(batchId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
*
*
* @param batchId
*/
deleteBatch(batchId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* For each bill in the provided batch which has account-level charges, distribute these account charges amongst the meters on the bill. This is done proportionally by meter use or cost, depending on the split basis. Maximum of 10000 bills can be processed at one time.
*
* @param batchId ID for the batch containing bills for which account charges will be distributed to meters
* @param body Distribution information
*/
distributeAccountChargesToMetersForBillsInBatch(batchId: number, body?: DistributeAccountChargesBase, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
*
*
* @param batchId
* @param body
*/
editBatch(batchId: number, body?: BatchEdit, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
*
*
* @param batchId
*/
getBatch(batchId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Retrieves all move operation logs for a specific batch
*
* @param batchId Batch identifier
*/
getBatchLogs(batchId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
*
*
* @param filter
* @param pageSize The number of elements to return in a page
* @param pageNumber The current page number
*/
getBatches(filter?: string, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Opens a new batch. If there are other open batches for this user, and CloseExistingBatch is true, closes those batches before creating the new batch. Returns the batch response DTO.
*
* @param body The batch to create
*/
openBatch(body?: BatchCreate, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
* Update the status of a batch. Requesting user must have BillAndBatches Create to update their own batch or to open another user's pending batch. User must have BillsAndBatches Manage to update another user's batch to closed or pending. If opening another user's batch, the requesting user's open batches (if any) will be set to Pending status if LeaveOpenBatchesAsIs is not set or is false. the requesting user's open batches (if any) will be left open if LeaveOpenBatchesAsIs is true. See 'Batch Statuses' section below for more information.
* __Batch Statuses:__ | Batch Status | Description | | -------------- | ----------- | | Open | Batch must currently be pending. Un-voids all bills in the batch. | | Pending | Batch must currently be open. Voids all bills in the batch. | | Closed | Batch must currently be open or pending. If the batch was pending, un-voids all bills in the batch. |
* @param batchId ID for the batch to set status
* @param body The new status, (optional) note on the batch, (optional) LeaveOpenBatchesAsIs property. See 'Batch Statuses' section below for available statuses.
*/
updateBatchStatus(batchId: number, body?: UpdateBatchStatusRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable;
/**
*
*
* @param batchId
*/
closeBatchWithHttpInfo(batchId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
*
*
* @param batchId
*/
deleteBatchWithHttpInfo(batchId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* For each bill in the provided batch which has account-level charges, distribute these account charges amongst the meters on the bill. This is done proportionally by meter use or cost, depending on the split basis. Maximum of 10000 bills can be processed at one time.
*
* @param batchId ID for the batch containing bills for which account charges will be distributed to meters
* @param body Distribution information
*/
distributeAccountChargesToMetersForBillsInBatchWithHttpInfo(batchId: number, body?: DistributeAccountChargesBase, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
*
*
* @param batchId
* @param body
*/
editBatchWithHttpInfo(batchId: number, body?: BatchEdit, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
*
*
* @param batchId
*/
getBatchWithHttpInfo(batchId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Retrieves all move operation logs for a specific batch
*
* @param batchId Batch identifier
*/
getBatchLogsWithHttpInfo(batchId: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
*
*
* @param filter
* @param pageSize The number of elements to return in a page
* @param pageNumber The current page number
*/
getBatchesWithHttpInfo(filter?: string, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>>;
/**
* Opens a new batch. If there are other open batches for this user, and CloseExistingBatch is true, closes those batches before creating the new batch. Returns the batch response DTO.
*
* @param body The batch to create
*/
openBatchWithHttpInfo(body?: BatchCreate, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
/**
* Update the status of a batch. Requesting user must have BillAndBatches Create to update their own batch or to open another user's pending batch. User must have BillsAndBatches Manage to update another user's batch to closed or pending. If opening another user's batch, the requesting user's open batches (if any) will be set to Pending status if LeaveOpenBatchesAsIs is not set or is false. the requesting user's open batches (if any) will be left open if LeaveOpenBatchesAsIs is true. See 'Batch Statuses' section below for more information.
* __Batch Statuses:__ | Batch Status | Description | | -------------- | ----------- | | Open | Batch must currently be pending. Un-voids all bills in the batch. | | Pending | Batch must currently be open. Voids all bills in the batch. | | Closed | Batch must currently be open or pending. If the batch was pending, un-voids all bills in the batch. |
* @param batchId ID for the batch to set status
* @param body The new status, (optional) note on the batch, (optional) LeaveOpenBatchesAsIs property. See 'Batch Statuses' section below for available statuses.
*/
updateBatchStatusWithHttpInfo(batchId: number, body?: UpdateBatchStatusRequest, extraHttpRequestParams?: {
search: string | {
[param: string]: string | string[];
};
}, extraHttpRequestHeaders?: {
[header: string]: string | string[];
}): Observable>;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵprov: i0.ɵɵInjectableDeclaration;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class BillAccountMeterResponse {
/**
* Global use
*/
globalUse: number | null | undefined;
/**
* Global use per day
*/
globalUsePerDay: number | null | undefined;
globalUseUnit: UnitChild | null | undefined;
/**
* Native use
*/
nativeUse: number | null | undefined;
/**
* Native use per day
*/
nativeUsePerDay: number | null | undefined;
nativeUseUnit: UnitChild | null | undefined;
/**
* Native demand
*/
nativeDemand: number | null | undefined;
nativeDemandUnit: UnitChild | null | undefined;
/**
* Native billed demand
*/
nativeBilledDemand: number | null | undefined;
nativeBilledDemandUnit: UnitChild | null | undefined;
/**
* Native actual demand
*/
nativeActualDemand: number | null | undefined;
nativeActualDemandUnit: UnitChild | null | undefined;
/**
* Common use
*/
commonUse: number | null | undefined;
/**
* Common use per day
*/
commonUsePerDay: number | null | undefined;
commonUseUnit: UnitChild | null | undefined;
/**
* Common demand
*/
commonDemand: number | null | undefined;
commonDemandUnit: UnitChild | null | undefined;
/**
* Common billed demand
*/
commonBilledDemand: number | null | undefined;
commonBilledDemandUnit: UnitChild | null | undefined;
/**
* Common actual demand
*/
commonActualDemand: number | null | undefined;
commonActualDemandUnit: UnitChild | null | undefined;
/**
* Direct cost
*/
directCost: number | null | undefined;
/**
* Direct cost per day
*/
directCostPerDay: number | null | undefined;
/**
* Proportional cost
*/
proportionalCost: number | null | undefined;
/**
* Proportional cost per day
*/
proportionalCostPerDay: number | null | undefined;
costUnit: UnitChild | null | undefined;
/**
* The bill identifier
*/
billId: number | null | undefined;
/**
* The bill's billing period
*/
billingPeriod: number | null | undefined;
/**
* The bill's begin date
*/
beginDate: Date | null | undefined;
/**
* The bill's end date
*/
endDate: Date | null | undefined;
/**
* The number of days the bill covers
*/
days: number | null | undefined;
account: AccountChild | null | undefined;
meter: MeterChild | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class OutlierSeverityChild {
/**
* The integer that represents the severity of the outlier Values: 1, 2, 3, or 4
*/
outlierSeverity: number | null | undefined;
/**
* The information regarding the current outlier severity Values: 1 = Severe, 2 = High, 3 = Moderate, 4 = Cannot be determined Severe - Actual value is 1, standard deviation > 3.0 on the high side or > 5.0 on the low side High - Actual value is 2, standard deviation > 2.0 high and > 4.0 low Moderate - Actual value is 3, standard deviation > 1.5 high and > 3.0 low Not Classified - It is not one of Severe, High, Low or the model could not be determined
*/
outlierSeverityInfo: string | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class StatisticsResponse {
/**
* The model value
*/
model: number | null | undefined;
/**
* The difference between the model and the actual value
*/
difference: number | null | undefined;
/**
* Statistical measure of how spread out numbers are from the average
*/
standardDeviation: number | null | undefined;
/**
* Statistical measure of how far each value in the data set is from the mean
*/
variance: number | null | undefined;
/**
* Statistical measure of how close the data is to the fitted regression line
*/
rSquared: number | null | undefined;
unit: UnitChild | null | undefined;
severity: OutlierSeverityChild | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class BillAccountMeterStatisticsResponse {
usePerDay: StatisticsResponse | null | undefined;
costPerDay: StatisticsResponse | null | undefined;
demandPerDay: StatisticsResponse | null | undefined;
/**
* The bill identifier
*/
billId: number | null | undefined;
/**
* The bill's billing period
*/
billingPeriod: number | null | undefined;
/**
* The bill's begin date
*/
beginDate: Date | null | undefined;
/**
* The bill's end date
*/
endDate: Date | null | undefined;
/**
* The number of days the bill covers
*/
days: number | null | undefined;
account: AccountChild | null | undefined;
meter: MeterChild | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class BillAccrualExclusionRequest {
/**
* List of bill IDs to exclude from accruals or include again Required
*/
billIds: Array | null;
/**
* Whether or not the bill ids should be excluded from accruals, or included again Required
*/
exclude: boolean | null;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class BillActionApprove {
/**
* Cannot be Empty Required (defined)
*/
ids: Array | null | undefined;
/**
* Required (defined)
*/
approve: boolean | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class BillActionCustom {
/**
* The list of bill ids on which to perform the custom action Cannot be Empty Required (defined)
*/
billIds: Array | null | undefined;
/**
* The webhook identifier that represents the custom bill action Required
*/
webhookId: number | null;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class BillActionDelete {
/**
* Cannot be Empty
*/
ids: Array | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class BillActionExportHold {
/**
* Cannot be Empty Required (defined)
*/
ids: Array | null | undefined;
/**
* Required (defined)
*/
exportHold: boolean | null | undefined;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
/**
* Account Period
*/
declare class BillHeaderUpdateAccountPeriodChild {
/**
* Must be between 190001 and 209913 Required (defined)
*/
accountPeriod: number | null | undefined;
/**
* Indicates whether or not the header value is being updated Required
*/
update: boolean | null;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
/**
* Begin Date
*/
declare class BillHeaderUpdateBeginDateChild {
/**
* Required when Update is set to True, case sensitive. Must be between 1899-12-31 and 3000-01-01
*/
beginDate: Date | null | undefined;
/**
* Indicates whether or not the header value is being updated Required
*/
update: boolean | null;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
/**
* Billing Period
*/
declare class BillHeaderUpdateBillingPeriodChild {
/**
* Required when Update is set to True, case sensitive. Valid billing period between 190001 and 209912 NULL Valid
*/
billingPeriod: number | null | undefined;
/**
* Indicates whether or not the header value is being updated Required
*/
update: boolean | null;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
/**
* Control Code
*/
declare class BillHeaderUpdateControlCodeChild {
/**
* Must be between 0 and 255 characters Required (defined)
*/
controlCode: string | null | undefined;
/**
* Indicates whether or not the header value is being updated Required
*/
update: boolean | null;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
/**
* Due Date
*/
declare class BillHeaderUpdateDueDateChild {
/**
* Must be between 1899-12-31 and 3000-01-01 Required (defined)
*/
dueDate: Date | null | undefined;
/**
* Indicates whether or not the header value is being updated Required
*/
update: boolean | null;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
/**
* End Date
*/
declare class BillHeaderUpdateEndDateChild {
/**
* Required when Update is set to True, case sensitive. Must be between 1899-12-31 and 3000-01-01
*/
endDate: Date | null | undefined;
/**
* Indicates whether or not the header value is being updated Required
*/
update: boolean | null;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
/**
* Estimated
*/
declare class BillHeaderUpdateEstimatedChild {
/**
* Required when Update is set to True, case sensitive.
*/
estimated: boolean | null | undefined;
/**
* Indicates whether or not the header value is being updated Required
*/
update: boolean | null;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
/**
* Invoice Number
*/
declare class BillHeaderUpdateInvoiceNumberChild {
/**
* Must be between 0 and 32 characters Required (defined)
*/
invoiceNumber: string | null | undefined;
/**
* Indicates whether or not the header value is being updated Required
*/
update: boolean | null;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
/**
* Statement Date
*/
declare class BillHeaderUpdateStatementDateChild {
/**
* Must be between 1899-12-31 and 3000-01-01 Required (defined)
*/
statementDate: Date | null | undefined;
/**
* Indicates whether or not the header value is being updated Required
*/
update: boolean | null;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
/**
* Bill header values to update
*/
declare class BillHeaderUpdate {
beginDate: BillHeaderUpdateBeginDateChild | null;
endDate: BillHeaderUpdateEndDateChild | null;
dueDate: BillHeaderUpdateDueDateChild | null;
statementDate: BillHeaderUpdateStatementDateChild | null;
controlCode: BillHeaderUpdateControlCodeChild | null;
invoiceNumber: BillHeaderUpdateInvoiceNumberChild | null;
accountPeriod: BillHeaderUpdateAccountPeriodChild | null;
billingPeriod: BillHeaderUpdateBillingPeriodChild | null;
estimated: BillHeaderUpdateEstimatedChild | null;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class BillActionHeaderUpdate {
/**
* Bill IDs whose headers are going to be updated Cannot be Empty Required
*/
billIds: Array | null;
billHeader: BillHeaderUpdate | null;
}
/**
* EnergyCAP SDK
* Document used to generate the EnergyCAP SDK
*
* OpenAPI spec version: 8.2604
* Contact: support@energycap.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
declare class BillActionMove {
/**
* Ids of bills to be moved Cannot be Empty Required (defined)
*/
ids: Array | null | undefined;
/**
* Destination Account Id