import { RestRequestConfig } from '../../../../Rest'; import { CustomFieldResource, CustomFieldCreateRequest, CustomFieldsResource, CustomFieldUpdateRequest } from '../../../../definitions'; import Parent from '..'; import RingCentral from '../../../..'; declare class Index { rc: RingCentral; fieldId: string | null; parent: Parent; constructor(parent: Parent, fieldId?: string | null); path(withParameter?: boolean): string; /** * Operation: Create Custom Field * Rate Limit Group: Light * Http post /restapi/v1.0/account/{accountId}/custom-fields */ post(customFieldCreateRequest: CustomFieldCreateRequest, config?: RestRequestConfig): Promise; /** * Operation: Get Custom Field List * Rate Limit Group: Light * Http get /restapi/v1.0/account/{accountId}/custom-fields */ get(config?: RestRequestConfig): Promise; /** * Operation: Update Сustom Field * Rate Limit Group: Light * Http put /restapi/v1.0/account/{accountId}/custom-fields/{fieldId} */ put(customFieldUpdateRequest: CustomFieldUpdateRequest, config?: RestRequestConfig): Promise; /** * Operation: Delete Custom Field * Rate Limit Group: Light * Http delete /restapi/v1.0/account/{accountId}/custom-fields/{fieldId} */ delete(config?: RestRequestConfig): Promise; } export default Index;