UNPKG

@golemio/pid

Version:
21 lines (20 loc) 701 B
import { SequelizeModel } from "@golemio/core/dist/output-gateway"; export declare class GTFSCalendarModel extends SequelizeModel { weekDayMap: { [key: number]: string; }; constructor(); /** Retrieves all gtfs services * @param {object} [options] Options object with params * @param {string} [options.date] Filter by specific date in the 'YYYY-MM-DD' format * @param {number} [options.limit] Limit * @param {number} [options.offset] Offset * @returns Array of the retrieved records */ GetAll: (options?: { date?: string; limit?: number; offset?: number; }) => Promise<any>; GetOne: (id: any) => Promise<any>; }