mirror of
https://github.com/donl/plivo-node.git
synced 2026-05-25 22:07:10 -06:00
19 lines
No EOL
883 B
TypeScript
19 lines
No EOL
883 B
TypeScript
export class PlivoGenericResponse {
|
|
constructor(params: object, idString: string);
|
|
id: string;
|
|
}
|
|
export class PlivoResource {
|
|
constructor(action: string, Klass: Symbol, idField: string, request: any);
|
|
// update(params: any, id: any): Promise<any>;
|
|
delete(params: any): Promise<any>;
|
|
executeAction(task: string, method: string, params: {}, action: string): Promise<any>;
|
|
customexecuteAction(url: string, method?: string, params?: {}): Promise<any>;
|
|
customexecuteGetNumberAction(url: string, method?: string, params?: {}): any;
|
|
getMetaResponse(url: string, method?: string, params?: {}): Promise<any>;
|
|
}
|
|
export class PlivoResourceInterface {
|
|
constructor(action: string, Klass: Symbol, idField: string, request: any);
|
|
// get(id: any, params?: {}): Promise<any>;
|
|
// create(params: any): Promise<any>;
|
|
list(params: any): Promise<any>;
|
|
} |