import {of as observableOf, Observable } from 'rxjs'; // import { Data, testData } from '../models'; import { orderSearchResponse, customerSearchResponse, OrderNotesResponse } from '../shared/spec.constants'; import { IOrderList } from '../shared/modal/common'; import { Customer } from '../shared/modal/customer'; export class LookupServiceStub { public lookupOrder( storeId: number, fullOrderId: string, firstName: string, lastName: string, phoneNumber: string, emailAddress: string, accountNumber: number, createdDateFrom: string, createdDateTo: string, status: string, refType: string, channel: string, logonId: string, dealerCode: string, webOrderId: string, sim: string, imei: string, ssn: string, retailStoreId: string): Observable { return observableOf(orderSearchResponse); } lookupCustomer(storeId: number, accountNumber: number, phoneNumber: number, identifier: string, identifierType: string, lookupType: string): Observable { return observableOf(customerSearchResponse); } public getOrderNotes(storeId: number, orderId: number): any { return observableOf(OrderNotesResponse); } public createOrderNotes(storeId: number, orderId: number, requestParams: any): any { return observableOf(OrderNotesResponse); } cancelOrder (storeId: number, orderId: number): Observable { return observableOf(customerSearchResponse); } }