/** Client access to dynamics data */ import { CRMWebAPI, Config } from "./CRMWebAPI"; import { XRM } from "../Dynamics"; /** * The basic client type. Use this instead of CRMWebAPI directly. */ export declare type Client = CRMWebAPI; /** * Create a new client based on an XRM and a postfix. This function does * not use the discovery service and hence is synchronous. postfix should * have a leading and trailing slash. */ export declare function mkClient(xrm: XRM, postfix: string): Client; /** * Create a new client based on a full data API URL that you would find * from the discovery services or from the Developer Resources page in Dynamics. */ export declare function mkClientForURL(url: string, config?: Partial): Client; /** * Create a new client based on a full Config object. */ export declare function fromConfig(config: Config): Client; /** Something that provides a client. */ export interface ClientProvider { client: Client; }