1 | import vsom = require('./VsoClient');
|
2 | import VsoBaseInterfaces = require('./interfaces/common/VsoBaseInterfaces');
|
3 | import * as rm from 'typed-rest-client/RestClient';
|
4 | import * as hm from 'typed-rest-client/HttpClient';
|
5 | export declare class ClientApiBase {
|
6 | baseUrl: string;
|
7 | userAgent: string;
|
8 | http: hm.HttpClient;
|
9 | rest: rm.RestClient;
|
10 | vsoClient: vsom.VsoClient;
|
11 | constructor(baseUrl: string, handlers: VsoBaseInterfaces.IRequestHandler[], userAgent?: string, options?: VsoBaseInterfaces.IRequestOptions);
|
12 | createAcceptHeader(type: string, apiVersion?: string): string;
|
13 | createRequestOptions(type: string, apiVersion?: string): rm.IRequestOptions;
|
14 | formatResponse(data: any, responseTypeMetadata: any, isCollection: boolean): any;
|
15 | }
|