@golemio/pid
Version:
Golemio PID Module
45 lines (44 loc) • 1.72 kB
TypeScript
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
import { GTFSRouteTypeEnum } from "../../../helpers/RouteTypeEnums";
import { IVPTripsModel } from "./interfaces/IVPTripsModel";
import { IVPTripsLastPositionContext } from "./interfaces/VPTripsLastPositionInterfaces";
export declare class VPTripsModel extends Model<VPTripsModel> implements IVPTripsModel {
static TABLE_NAME: string;
static TABLE_NAME_HISTORY: string;
cis_line_id: string;
cis_trip_number: number;
run_number: number;
internal_run_number: number | null;
cis_line_short_name: string;
gtfs_route_id: string;
gtfs_route_short_name: string;
gtfs_trip_id: string;
gtfs_date: string | null;
gtfs_direction_id: number | null;
gtfs_shape_id: string | null;
id: string;
start_cis_stop_id: number;
start_cis_stop_platform_code: string;
start_time: string;
start_timestamp: Date;
vehicle_type_id: number | null;
wheelchair_accessible: boolean;
agency_name_scheduled: string;
origin_route_name: string;
internal_route_name: string | null;
agency_name_real: string;
vehicle_registration_number: number;
gtfs_trip_headsign: string;
start_asw_stop_id: string;
gtfs_route_type: GTFSRouteTypeEnum;
gtfs_block_id: string;
last_position_id: string;
is_canceled: boolean;
end_timestamp: Date;
gtfs_trip_short_name: string;
last_position_context: IVPTripsLastPositionContext;
provider_source_type: string;
static attributeModel: ModelAttributes<VPTripsModel>;
static jsonSchema: JSONSchemaType<IVPTripsModel | IVPTripsModel[]>;
}