export class WebApiOfflineMock implements Xrm . WebApiOffline { private notImplementedError = "WebApi methods not implemented. Consider faking API calls using a tool such as Sinon.JS" ; public createRecord ( entityLogicalName , record ) { throw new Error ( this . notImplementedError ) ; } public deleteRecord ( entityLogicalName , id ) { throw new Error ( this . notImplementedError ) ; } public retrieveRecord ( entityLogicalName , id , options ) { throw new Error ( this . notImplementedError ) ; } public retrieveMultipleRecords ( entityLogicalName , options ? , maxPageSize ? ) { throw new Error ( this . notImplementedError ) ; } public updateRecord ( entityLogicalName , id , data ) { throw new Error ( this . notImplementedError ) ; } }