import {RestRequestConfig} from '../../../Rest'; import {ServiceProviderConfig} from '../../../definitions'; import Parent from '..'; import RingCentral from '../../..'; class Index { rc: RingCentral; parent: Parent; constructor(parent: Parent) { this.parent = parent; this.rc = parent.rc; } path(): string { return `${this.parent.path()}/ServiceProviderConfig`; } /** * Operation: Get Service Provider Config * Rate Limit Group: NoThrottling * Http get /scim/v2/ServiceProviderConfig */ async get(config?: RestRequestConfig): Promise { const r = await this.rc.get( this.path(), undefined, config ); return r.data; } } export default Index;