bria
Version:
CounterPath Bria Desktop API for Node.js
31 lines • 1.25 kB
TypeScript
import BriaClientLeaf from './Leaf';
import { CallType } from './Call';
export declare type SystemInformationResponse = {
systemCompanyName: string;
systemProductName: string;
systemProductVersion: string;
systemProductBuild: number;
};
export declare type SystemSettingsResponse = {
defaultCallType: CallType;
/**
* If false, user must manually press Call in the UI
* before call is placed after GET /call (client.calls)
* If true, call is placed immediately
*/
callRightAwayOnceNumberSelected: boolean;
};
export declare class BriaClientStatus extends BriaClientLeaf {
/**
* Request Bria client version information
* @see https://docs.counterpath.com/guides/desk/desk_api/clients/deskAPI/deskApiGettingReady.htm#getStatusSystemInformation
*/
getSystemInformation(populateVersion?: boolean): Promise<SystemInformationResponse>;
/**
* Request call settings from Bria client
* @see https://docs.counterpath.com/guides/desk/desk_api/clients/deskAPI/deskApiGettingReady.htm#getStatusSystemSettings
* @returns Certain Bria settings
*/
getSystemSettings(): Promise<SystemSettingsResponse>;
}
//# sourceMappingURL=Status.d.ts.map