UNPKG

@ringcentral/sdk

Version:

- [Installation](#installation) - [Getting Started](#getting-started) - [API Calls](#api-calls) - [Advanced SDK Configuration & Polyfills](#advanced-sdk-configuration--polyfills) - [Making telephony calls](#making-telephony-calls) - [Call management using

11 lines (10 loc) 665 B
import { expect, spy } from '@ringcentral/sdk-utils/test'; import { SDK, SDKOptions } from '../SDK'; export declare function apiCall(method: any, path: any, json: any, status?: number, statusText?: string, headers?: any): void; export declare function authentication(): void; export declare function logout(): void; export declare function tokenRefresh(failure?: boolean): void; export declare function createSdk(options?: SDKOptions): SDK; export declare function asyncTest(fn: (sdk: SDK) => any): () => Promise<void>; export declare function expectThrows(fn: any, errorText?: string, additional?: (e?: Error) => void): Promise<void>; export { spy, SDK, expect };