@golemio/pid
Version:
Golemio PID Module
59 lines (58 loc) • 1.89 kB
TypeScript
import { ModelAttributes } from "@golemio/core/dist/shared/sequelize";
import { GTFSRouteTypeEnum } from "../../helpers/RouteTypeEnums";
interface IRopidVYMIEventOutput {
vymi_id: number;
vymi_id_dtb: number;
state: number;
ropid_created_at: string;
ropid_created_by: string;
ropid_updated_at: string;
ropid_updated_by: string;
record_type: number;
event_type: number | null;
channels: number;
title: string;
time_from: string;
time_to_type: number;
time_to: string | null;
expiration_date: string | null;
transportation_type: number;
priority: number | null;
cause: string | null;
link: string | null;
ropid_action: string | null;
dpp_action: string | null;
description: string | null;
[audit: string]: unknown;
}
interface IRopidVYMIEventRouteOutput {
event_id: number;
gtfs_route_id: string | null;
vymi_id: number;
vymi_id_dtb: number;
number: number;
name: string;
route_type: GTFSRouteTypeEnum;
valid_from: string | null;
valid_to: string | null;
text: string | null;
[audit: string]: unknown;
}
interface IRopidVYMIEventStopOutput {
event_id: number;
gtfs_stop_id: string | null;
vymi_id: number;
vymi_id_dtb: number;
node_number: number;
stop_number: number;
stop_type: number;
valid_from: string | null;
valid_to: string | null;
text: string | null;
[audit: string]: unknown;
}
declare const outputEventsSDMA: ModelAttributes<any, IRopidVYMIEventOutput>;
declare const outputEventsRoutesSDMA: ModelAttributes<any, IRopidVYMIEventRouteOutput>;
declare const outputEventsStopsSDMA: ModelAttributes<any, IRopidVYMIEventStopOutput>;
export { outputEventsSDMA, outputEventsRoutesSDMA, outputEventsStopsSDMA };
export type { IRopidVYMIEventOutput, IRopidVYMIEventRouteOutput, IRopidVYMIEventStopOutput };