UNPKG

gbfs

Version:

General Bikeshare Feed Specification implementation

54 lines (53 loc) 2.05 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Bit; (function (Bit) { Bit[Bit["True"] = 1] = "True"; Bit[Bit["False"] = 0] = "False"; })(Bit = exports.Bit || (exports.Bit = {})); var FeedType; (function (FeedType) { FeedType["SystemInformation"] = "system_information"; FeedType["StationInformation"] = "station_information"; FeedType["StationStatus"] = "station_status"; FeedType["FreeBikeStatus"] = "free_bike_status"; FeedType["SystemHours"] = "system_hours"; FeedType["SystemCalendar"] = "system_calendar"; FeedType["SystemRegions"] = "system_regions"; FeedType["SystemPricingPlans"] = "system_pricing_plans"; FeedType["SystemAlerts"] = "system_alerts"; })(FeedType = exports.FeedType || (exports.FeedType = {})); var RentalMethod; (function (RentalMethod) { /** (i.e. operator issued bike key / fob / card) */ RentalMethod["Key"] = "KEY"; RentalMethod["CreditCard"] = "CREDITCARD"; RentalMethod["PayPass"] = "PAYPASS"; RentalMethod["ApplePay"] = "APPLEPAY"; RentalMethod["AndroidPay"] = "ANDROIDPAY"; RentalMethod["TransitCard"] = "TRANSITCARD"; RentalMethod["AccountNumber"] = "ACCOUNTNUMBER"; RentalMethod["Phone"] = "PHONE"; })(RentalMethod = exports.RentalMethod || (exports.RentalMethod = {})); var UserType; (function (UserType) { UserType["Member"] = "member"; UserType["Nonmember"] = "nonmember"; })(UserType = exports.UserType || (exports.UserType = {})); var Day; (function (Day) { Day["Monday"] = "mon"; Day["Tuesday"] = "tue"; Day["Wednesday"] = "wed"; Day["Thursday"] = "thu"; Day["Friday"] = "fri"; Day["Saturday"] = "sat"; Day["Sunday"] = "sun"; })(Day = exports.Day || (exports.Day = {})); var AlertType; (function (AlertType) { AlertType["SystemClosure"] = "SYSTEM_CLOSURE"; AlertType["StationClosure"] = "STATION_CLOSURE"; AlertType["StationMove"] = "STATION_MOVE"; AlertType["Other"] = "OTHER"; })(AlertType = exports.AlertType || (exports.AlertType = {}));