kipon-xrmservice
Version:
Dynamics 365 CE web api wrapper for angular, making life easier when building angular based web resources
39 lines (38 loc) • 1.17 kB
TypeScript
import * as i0 from "@angular/core";
export interface XrmContext {
getClientUrl(): string;
getQueryStringParameters(): any;
getVersion(): string;
getUserName(): string;
getUserId(): string;
$devClientUrl(): string;
}
export declare class XrmFormKey {
id: string;
type: string;
}
export declare class XrmContextInstance implements XrmContext {
private clientUrl;
private queryStringParameters;
private version;
private userName;
private userId;
private apiurl;
constructor(ctx: XrmContext);
getClientUrl(): string;
getQueryStringParameters(): any;
getVersion(): string;
getUserName(): string;
getUserId(): string;
$devClientUrl(): string;
}
export declare class XrmFormService {
constructor();
getContext(): XrmContext;
getFormType(): any;
getFormType(clear: boolean): any;
getFormKey(id: string, type: string): XrmFormKey;
getFormKey(id: string, type: string, clear: boolean): XrmFormKey;
static ɵfac: i0.ɵɵFactoryDeclaration<XrmFormService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<XrmFormService>;
}