import { RestRequestConfig } from '../../../../Rest'; import { CompanyAnsweringRuleInfo, CompanyAnsweringRuleRequest, CompanyAnsweringRuleList, ListCompanyAnsweringRulesParameters, CompanyAnsweringRuleUpdate } from '../../../../definitions'; import Parent from '..'; import RingCentral from '../../../..'; declare class Index { rc: RingCentral; ruleId: string | null; parent: Parent; constructor(parent: Parent, ruleId?: string | null); path(withParameter?: boolean): string; /** * Operation: Create Company Call Handling Rule * Rate Limit Group: Medium * Http post /restapi/v1.0/account/{accountId}/answering-rule */ post(companyAnsweringRuleRequest: CompanyAnsweringRuleRequest, config?: RestRequestConfig): Promise; /** * Operation: Get Company Call Handling Rule List * Rate Limit Group: Medium * Http get /restapi/v1.0/account/{accountId}/answering-rule */ list(queryParams?: ListCompanyAnsweringRulesParameters, config?: RestRequestConfig): Promise; /** * Operation: Get Company Call Handling Rule * Rate Limit Group: Light * Http get /restapi/v1.0/account/{accountId}/answering-rule/{ruleId} */ get(config?: RestRequestConfig): Promise; /** * Operation: Update Company Call Handling Rule * Rate Limit Group: Medium * Http put /restapi/v1.0/account/{accountId}/answering-rule/{ruleId} */ put(companyAnsweringRuleUpdate: CompanyAnsweringRuleUpdate, config?: RestRequestConfig): Promise; /** * Operation: Delete Company Call Handling Rule * Rate Limit Group: Medium * Http delete /restapi/v1.0/account/{accountId}/answering-rule/{ruleId} */ delete(config?: RestRequestConfig): Promise; } export default Index;