iqs-clients-shifts-node
Version:
Node.js client sdk for shifts microservice
15 lines (14 loc) • 1.04 kB
TypeScript
import { FilterParams } from 'pip-services3-commons-node';
import { PagingParams } from 'pip-services3-commons-node';
import { DataPage } from 'pip-services3-commons-node';
import { CommandableHttpClient } from 'pip-services3-rpc-node';
import { ShiftV1 } from './ShiftV1';
import { IShiftsClientV1 } from './IShiftsClientV1';
export declare class ShiftsHttpClientV1 extends CommandableHttpClient implements IShiftsClientV1 {
constructor(config?: any);
getShifts(correlationId: string, filter: FilterParams, paging: PagingParams, callback: (err: any, page: DataPage<ShiftV1>) => void): void;
getShiftById(correlationId: string, shiftId: string, callback: (err: any, shift: ShiftV1) => void): void;
createShift(correlationId: string, shift: ShiftV1, callback: (err: any, shift: ShiftV1) => void): void;
updateShift(correlationId: string, shift: ShiftV1, callback: (err: any, shift: ShiftV1) => void): void;
deleteShiftById(correlationId: string, shiftId: string, callback: (err: any, shift: ShiftV1) => void): void;
}