New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@atb-as/config-specs

Package Overview
Dependencies
Maintainers
11
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atb-as/config-specs - npm Package Compare versions

Comparing version 2.0.0-alpha.2 to 2.0.0-alpha.3

137

lib/common.d.ts
import { z } from 'zod';
export declare enum TransportModeType {
Air = "air",
Bus = "bus",
Cableway = "cableway",
Coach = "coach",
Funicular = "funicular",
Lift = "lift",
Metro = "metro",
Monorail = "monorail",
Rail = "rail",
Tram = "tram",
Trolleybus = "trolleybus",
Unknown = "unknown",
Water = "water"
}
export declare enum TransportSubmodeType {
SchengenAreaFlight = "SchengenAreaFlight",
AirportBoatLink = "airportBoatLink",
AirportLinkBus = "airportLinkBus",
AirportLinkRail = "airportLinkRail",
AirshipService = "airshipService",
AllFunicularServices = "allFunicularServices",
AllHireVehicles = "allHireVehicles",
AllTaxiServices = "allTaxiServices",
BikeTaxi = "bikeTaxi",
BlackCab = "blackCab",
CableCar = "cableCar",
CableFerry = "cableFerry",
CanalBarge = "canalBarge",
CarTransportRailService = "carTransportRailService",
ChairLift = "chairLift",
CharterTaxi = "charterTaxi",
CityTram = "cityTram",
CommunalTaxi = "communalTaxi",
CommuterCoach = "commuterCoach",
CrossCountryRail = "crossCountryRail",
DedicatedLaneBus = "dedicatedLaneBus",
DemandAndResponseBus = "demandAndResponseBus",
DomesticCharterFlight = "domesticCharterFlight",
DomesticFlight = "domesticFlight",
DomesticScheduledFlight = "domesticScheduledFlight",
DragLift = "dragLift",
ExpressBus = "expressBus",
Funicular = "funicular",
HelicopterService = "helicopterService",
HighFrequencyBus = "highFrequencyBus",
HighSpeedPassengerService = "highSpeedPassengerService",
HighSpeedRail = "highSpeedRail",
HighSpeedVehicleService = "highSpeedVehicleService",
HireCar = "hireCar",
HireCycle = "hireCycle",
HireMotorbike = "hireMotorbike",
HireVan = "hireVan",
IntercontinentalCharterFlight = "intercontinentalCharterFlight",
IntercontinentalFlight = "intercontinentalFlight",
International = "international",
InternationalCarFerry = "internationalCarFerry",
InternationalCharterFlight = "internationalCharterFlight",
InternationalCoach = "internationalCoach",
InternationalFlight = "internationalFlight",
InternationalPassengerFerry = "internationalPassengerFerry",
InterregionalRail = "interregionalRail",
Lift = "lift",
Local = "local",
LocalBus = "localBus",
LocalCarFerry = "localCarFerry",
LocalPassengerFerry = "localPassengerFerry",
LocalTram = "localTram",
LongDistance = "longDistance",
Metro = "metro",
MiniCab = "miniCab",
MobilityBus = "mobilityBus",
MobilityBusForRegisteredDisabled = "mobilityBusForRegisteredDisabled",
NationalCarFerry = "nationalCarFerry",
NationalCoach = "nationalCoach",
NationalPassengerFerry = "nationalPassengerFerry",
NightBus = "nightBus",
NightRail = "nightRail",
PostBoat = "postBoat",
PostBus = "postBus",
RackAndPinionRailway = "rackAndPinionRailway",
RailReplacementBus = "railReplacementBus",
RailShuttle = "railShuttle",
RailTaxi = "railTaxi",
RegionalBus = "regionalBus",
RegionalCarFerry = "regionalCarFerry",
RegionalCoach = "regionalCoach",
RegionalPassengerFerry = "regionalPassengerFerry",
RegionalRail = "regionalRail",
RegionalTram = "regionalTram",
ReplacementRailService = "replacementRailService",
RiverBus = "riverBus",
RoadFerryLink = "roadFerryLink",
RoundTripCharterFlight = "roundTripCharterFlight",
ScheduledFerry = "scheduledFerry",
SchoolAndPublicServiceBus = "schoolAndPublicServiceBus",
SchoolBoat = "schoolBoat",
SchoolBus = "schoolBus",
SchoolCoach = "schoolCoach",
ShortHaulInternationalFlight = "shortHaulInternationalFlight",
ShuttleBus = "shuttleBus",
ShuttleCoach = "shuttleCoach",
ShuttleFerryService = "shuttleFerryService",
ShuttleFlight = "shuttleFlight",
ShuttleTram = "shuttleTram",
SightseeingBus = "sightseeingBus",
SightseeingCoach = "sightseeingCoach",
SightseeingFlight = "sightseeingFlight",
SightseeingService = "sightseeingService",
SightseeingTram = "sightseeingTram",
SleeperRailService = "sleeperRailService",
SpecialCoach = "specialCoach",
SpecialNeedsBus = "specialNeedsBus",
SpecialTrain = "specialTrain",
StreetCableCar = "streetCableCar",
SuburbanRailway = "suburbanRailway",
Telecabin = "telecabin",
TelecabinLink = "telecabinLink",
TouristCoach = "touristCoach",
TouristRailway = "touristRailway",
TrainFerry = "trainFerry",
TrainTram = "trainTram",
Tube = "tube",
Undefined = "undefined",
UndefinedFunicular = "undefinedFunicular",
Unknown = "unknown",
UrbanRailway = "urbanRailway",
WaterTaxi = "waterTaxi"
}
export declare const TransportSubmodeTypeEnum: z.ZodNativeEnum<typeof TransportSubmodeType>;
export declare const TransportModeTypeEnum: z.ZodNativeEnum<typeof TransportModeType>;
export type TransportSubmodeTypeEnum = z.infer<typeof TransportSubmodeTypeEnum>;
export type TransportModeTypeEnum = z.infer<typeof TransportModeTypeEnum>;
export declare const TransportModeType: z.ZodUnion<[z.ZodLiteral<"air">, z.ZodLiteral<"bus">, z.ZodLiteral<"cableway">, z.ZodLiteral<"coach">, z.ZodLiteral<"funicular">, z.ZodLiteral<"lift">, z.ZodLiteral<"metro">, z.ZodLiteral<"monorail">, z.ZodLiteral<"rail">, z.ZodLiteral<"tram">, z.ZodLiteral<"trolleybus">, z.ZodLiteral<"unknown">, z.ZodLiteral<"water">]>;
export declare const TransportSubmodeType: z.ZodUnion<[z.ZodLiteral<"SchengenAreaFlight">, z.ZodLiteral<"airportBoatLink">, z.ZodLiteral<"airportLinkBus">, z.ZodLiteral<"airportLinkRail">, z.ZodLiteral<"airshipService">, z.ZodLiteral<"allFunicularServices">, z.ZodLiteral<"allHireVehicles">, z.ZodLiteral<"allTaxiServices">, z.ZodLiteral<"bikeTaxi">, z.ZodLiteral<"blackCab">, z.ZodLiteral<"cableCar">, z.ZodLiteral<"cableFerry">, z.ZodLiteral<"canalBarge">, z.ZodLiteral<"carTransportRailService">, z.ZodLiteral<"chairLift">, z.ZodLiteral<"charterTaxi">, z.ZodLiteral<"cityTram">, z.ZodLiteral<"communalTaxi">, z.ZodLiteral<"commuterCoach">, z.ZodLiteral<"crossCountryRail">, z.ZodLiteral<"dedicatedLaneBus">, z.ZodLiteral<"demandAndResponseBus">, z.ZodLiteral<"domesticCharterFlight">, z.ZodLiteral<"domesticFlight">, z.ZodLiteral<"domesticScheduledFlight">, z.ZodLiteral<"dragLift">, z.ZodLiteral<"expressBus">, z.ZodLiteral<"funicular">, z.ZodLiteral<"helicopterService">, z.ZodLiteral<"highFrequencyBus">, z.ZodLiteral<"highSpeedPassengerService">, z.ZodLiteral<"highSpeedRail">, z.ZodLiteral<"highSpeedVehicleService">, z.ZodLiteral<"hireCar">, z.ZodLiteral<"hireCycle">, z.ZodLiteral<"hireMotorbike">, z.ZodLiteral<"hireVan">, z.ZodLiteral<"intercontinentalCharterFlight">, z.ZodLiteral<"intercontinentalFlight">, z.ZodLiteral<"international">, z.ZodLiteral<"internationalCarFerry">, z.ZodLiteral<"internationalCharterFlight">, z.ZodLiteral<"internationalCoach">, z.ZodLiteral<"internationalFlight">, z.ZodLiteral<"internationalPassengerFerry">, z.ZodLiteral<"interregionalRail">, z.ZodLiteral<"lift">, z.ZodLiteral<"local">, z.ZodLiteral<"localBus">, z.ZodLiteral<"localCarFerry">, z.ZodLiteral<"localPassengerFerry">, z.ZodLiteral<"localTram">, z.ZodLiteral<"longDistance">, z.ZodLiteral<"metro">, z.ZodLiteral<"miniCab">, z.ZodLiteral<"mobilityBus">, z.ZodLiteral<"mobilityBusForRegisteredDisabled">, z.ZodLiteral<"nationalCarFerry">, z.ZodLiteral<"nationalCoach">, z.ZodLiteral<"nationalPassengerFerry">, z.ZodLiteral<"nightBus">, z.ZodLiteral<"nightRail">, z.ZodLiteral<"postBoat">, z.ZodLiteral<"postBus">, z.ZodLiteral<"rackAndPinionRailway">, z.ZodLiteral<"railReplacementBus">, z.ZodLiteral<"railShuttle">, z.ZodLiteral<"railTaxi">, z.ZodLiteral<"regionalBus">, z.ZodLiteral<"regionalCarFerry">, z.ZodLiteral<"regionalCoach">, z.ZodLiteral<"regionalPassengerFerry">, z.ZodLiteral<"regionalRail">, z.ZodLiteral<"regionalTram">, z.ZodLiteral<"replacementRailService">, z.ZodLiteral<"riverBus">, z.ZodLiteral<"roadFerryLink">, z.ZodLiteral<"roundTripCharterFlight">, z.ZodLiteral<"scheduledFerry">, z.ZodLiteral<"schoolAndPublicServiceBus">, z.ZodLiteral<"schoolBoat">, z.ZodLiteral<"schoolBus">, z.ZodLiteral<"schoolCoach">, z.ZodLiteral<"shortHaulInternationalFlight">, z.ZodLiteral<"shuttleBus">, z.ZodLiteral<"shuttleCoach">, z.ZodLiteral<"shuttleFerryService">, z.ZodLiteral<"shuttleFlight">, z.ZodLiteral<"shuttleTram">, z.ZodLiteral<"sightseeingBus">, z.ZodLiteral<"sightseeingCoach">, z.ZodLiteral<"sightseeingFlight">, z.ZodLiteral<"sightseeingService">, z.ZodLiteral<"sightseeingTram">, z.ZodLiteral<"sleeperRailService">, z.ZodLiteral<"specialCoach">, z.ZodLiteral<"specialNeedsBus">, z.ZodLiteral<"specialTrain">, z.ZodLiteral<"streetCableCar">, z.ZodLiteral<"suburbanRailway">, z.ZodLiteral<"telecabin">, z.ZodLiteral<"telecabinLink">, z.ZodLiteral<"touristCoach">, z.ZodLiteral<"touristRailway">, z.ZodLiteral<"trainFerry">, z.ZodLiteral<"trainTram">, z.ZodLiteral<"tube">, z.ZodLiteral<"undefined">, z.ZodLiteral<"undefinedFunicular">, z.ZodLiteral<"unknown">, z.ZodLiteral<"urbanRailway">, z.ZodLiteral<"waterTaxi">]>;
export type TransportModeType = z.infer<typeof TransportModeType>;
export type TransportSubmodeType = z.infer<typeof TransportSubmodeType>;
export declare const LanguageAndTextType: z.ZodUnion<[z.ZodObject<{

@@ -136,0 +7,0 @@ lang: z.ZodString;

265

lib/common.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LanguageAndTextTypeArray = exports.LanguageAndTextType = exports.TransportModeTypeEnum = exports.TransportSubmodeTypeEnum = exports.TransportSubmodeType = exports.TransportModeType = void 0;
exports.LanguageAndTextTypeArray = exports.LanguageAndTextType = exports.TransportSubmodeType = exports.TransportModeType = void 0;
const zod_1 = require("zod");
// @TODO get these generated from journey planner?
var TransportModeType;
(function (TransportModeType) {
TransportModeType["Air"] = "air";
TransportModeType["Bus"] = "bus";
TransportModeType["Cableway"] = "cableway";
TransportModeType["Coach"] = "coach";
TransportModeType["Funicular"] = "funicular";
TransportModeType["Lift"] = "lift";
TransportModeType["Metro"] = "metro";
TransportModeType["Monorail"] = "monorail";
TransportModeType["Rail"] = "rail";
TransportModeType["Tram"] = "tram";
TransportModeType["Trolleybus"] = "trolleybus";
TransportModeType["Unknown"] = "unknown";
TransportModeType["Water"] = "water";
})(TransportModeType = exports.TransportModeType || (exports.TransportModeType = {}));
var TransportSubmodeType;
(function (TransportSubmodeType) {
TransportSubmodeType["SchengenAreaFlight"] = "SchengenAreaFlight";
TransportSubmodeType["AirportBoatLink"] = "airportBoatLink";
TransportSubmodeType["AirportLinkBus"] = "airportLinkBus";
TransportSubmodeType["AirportLinkRail"] = "airportLinkRail";
TransportSubmodeType["AirshipService"] = "airshipService";
TransportSubmodeType["AllFunicularServices"] = "allFunicularServices";
TransportSubmodeType["AllHireVehicles"] = "allHireVehicles";
TransportSubmodeType["AllTaxiServices"] = "allTaxiServices";
TransportSubmodeType["BikeTaxi"] = "bikeTaxi";
TransportSubmodeType["BlackCab"] = "blackCab";
TransportSubmodeType["CableCar"] = "cableCar";
TransportSubmodeType["CableFerry"] = "cableFerry";
TransportSubmodeType["CanalBarge"] = "canalBarge";
TransportSubmodeType["CarTransportRailService"] = "carTransportRailService";
TransportSubmodeType["ChairLift"] = "chairLift";
TransportSubmodeType["CharterTaxi"] = "charterTaxi";
TransportSubmodeType["CityTram"] = "cityTram";
TransportSubmodeType["CommunalTaxi"] = "communalTaxi";
TransportSubmodeType["CommuterCoach"] = "commuterCoach";
TransportSubmodeType["CrossCountryRail"] = "crossCountryRail";
TransportSubmodeType["DedicatedLaneBus"] = "dedicatedLaneBus";
TransportSubmodeType["DemandAndResponseBus"] = "demandAndResponseBus";
TransportSubmodeType["DomesticCharterFlight"] = "domesticCharterFlight";
TransportSubmodeType["DomesticFlight"] = "domesticFlight";
TransportSubmodeType["DomesticScheduledFlight"] = "domesticScheduledFlight";
TransportSubmodeType["DragLift"] = "dragLift";
TransportSubmodeType["ExpressBus"] = "expressBus";
TransportSubmodeType["Funicular"] = "funicular";
TransportSubmodeType["HelicopterService"] = "helicopterService";
TransportSubmodeType["HighFrequencyBus"] = "highFrequencyBus";
TransportSubmodeType["HighSpeedPassengerService"] = "highSpeedPassengerService";
TransportSubmodeType["HighSpeedRail"] = "highSpeedRail";
TransportSubmodeType["HighSpeedVehicleService"] = "highSpeedVehicleService";
TransportSubmodeType["HireCar"] = "hireCar";
TransportSubmodeType["HireCycle"] = "hireCycle";
TransportSubmodeType["HireMotorbike"] = "hireMotorbike";
TransportSubmodeType["HireVan"] = "hireVan";
TransportSubmodeType["IntercontinentalCharterFlight"] = "intercontinentalCharterFlight";
TransportSubmodeType["IntercontinentalFlight"] = "intercontinentalFlight";
TransportSubmodeType["International"] = "international";
TransportSubmodeType["InternationalCarFerry"] = "internationalCarFerry";
TransportSubmodeType["InternationalCharterFlight"] = "internationalCharterFlight";
TransportSubmodeType["InternationalCoach"] = "internationalCoach";
TransportSubmodeType["InternationalFlight"] = "internationalFlight";
TransportSubmodeType["InternationalPassengerFerry"] = "internationalPassengerFerry";
TransportSubmodeType["InterregionalRail"] = "interregionalRail";
TransportSubmodeType["Lift"] = "lift";
TransportSubmodeType["Local"] = "local";
TransportSubmodeType["LocalBus"] = "localBus";
TransportSubmodeType["LocalCarFerry"] = "localCarFerry";
TransportSubmodeType["LocalPassengerFerry"] = "localPassengerFerry";
TransportSubmodeType["LocalTram"] = "localTram";
TransportSubmodeType["LongDistance"] = "longDistance";
TransportSubmodeType["Metro"] = "metro";
TransportSubmodeType["MiniCab"] = "miniCab";
TransportSubmodeType["MobilityBus"] = "mobilityBus";
TransportSubmodeType["MobilityBusForRegisteredDisabled"] = "mobilityBusForRegisteredDisabled";
TransportSubmodeType["NationalCarFerry"] = "nationalCarFerry";
TransportSubmodeType["NationalCoach"] = "nationalCoach";
TransportSubmodeType["NationalPassengerFerry"] = "nationalPassengerFerry";
TransportSubmodeType["NightBus"] = "nightBus";
TransportSubmodeType["NightRail"] = "nightRail";
TransportSubmodeType["PostBoat"] = "postBoat";
TransportSubmodeType["PostBus"] = "postBus";
TransportSubmodeType["RackAndPinionRailway"] = "rackAndPinionRailway";
TransportSubmodeType["RailReplacementBus"] = "railReplacementBus";
TransportSubmodeType["RailShuttle"] = "railShuttle";
TransportSubmodeType["RailTaxi"] = "railTaxi";
TransportSubmodeType["RegionalBus"] = "regionalBus";
TransportSubmodeType["RegionalCarFerry"] = "regionalCarFerry";
TransportSubmodeType["RegionalCoach"] = "regionalCoach";
TransportSubmodeType["RegionalPassengerFerry"] = "regionalPassengerFerry";
TransportSubmodeType["RegionalRail"] = "regionalRail";
TransportSubmodeType["RegionalTram"] = "regionalTram";
TransportSubmodeType["ReplacementRailService"] = "replacementRailService";
TransportSubmodeType["RiverBus"] = "riverBus";
TransportSubmodeType["RoadFerryLink"] = "roadFerryLink";
TransportSubmodeType["RoundTripCharterFlight"] = "roundTripCharterFlight";
TransportSubmodeType["ScheduledFerry"] = "scheduledFerry";
TransportSubmodeType["SchoolAndPublicServiceBus"] = "schoolAndPublicServiceBus";
TransportSubmodeType["SchoolBoat"] = "schoolBoat";
TransportSubmodeType["SchoolBus"] = "schoolBus";
TransportSubmodeType["SchoolCoach"] = "schoolCoach";
TransportSubmodeType["ShortHaulInternationalFlight"] = "shortHaulInternationalFlight";
TransportSubmodeType["ShuttleBus"] = "shuttleBus";
TransportSubmodeType["ShuttleCoach"] = "shuttleCoach";
TransportSubmodeType["ShuttleFerryService"] = "shuttleFerryService";
TransportSubmodeType["ShuttleFlight"] = "shuttleFlight";
TransportSubmodeType["ShuttleTram"] = "shuttleTram";
TransportSubmodeType["SightseeingBus"] = "sightseeingBus";
TransportSubmodeType["SightseeingCoach"] = "sightseeingCoach";
TransportSubmodeType["SightseeingFlight"] = "sightseeingFlight";
TransportSubmodeType["SightseeingService"] = "sightseeingService";
TransportSubmodeType["SightseeingTram"] = "sightseeingTram";
TransportSubmodeType["SleeperRailService"] = "sleeperRailService";
TransportSubmodeType["SpecialCoach"] = "specialCoach";
TransportSubmodeType["SpecialNeedsBus"] = "specialNeedsBus";
TransportSubmodeType["SpecialTrain"] = "specialTrain";
TransportSubmodeType["StreetCableCar"] = "streetCableCar";
TransportSubmodeType["SuburbanRailway"] = "suburbanRailway";
TransportSubmodeType["Telecabin"] = "telecabin";
TransportSubmodeType["TelecabinLink"] = "telecabinLink";
TransportSubmodeType["TouristCoach"] = "touristCoach";
TransportSubmodeType["TouristRailway"] = "touristRailway";
TransportSubmodeType["TrainFerry"] = "trainFerry";
TransportSubmodeType["TrainTram"] = "trainTram";
TransportSubmodeType["Tube"] = "tube";
TransportSubmodeType["Undefined"] = "undefined";
TransportSubmodeType["UndefinedFunicular"] = "undefinedFunicular";
TransportSubmodeType["Unknown"] = "unknown";
TransportSubmodeType["UrbanRailway"] = "urbanRailway";
TransportSubmodeType["WaterTaxi"] = "waterTaxi";
})(TransportSubmodeType = exports.TransportSubmodeType || (exports.TransportSubmodeType = {}));
exports.TransportSubmodeTypeEnum = zod_1.z.nativeEnum(TransportSubmodeType);
exports.TransportModeTypeEnum = zod_1.z.nativeEnum(TransportModeType);
exports.TransportModeType = zod_1.z.union([
zod_1.z.literal('air'),
zod_1.z.literal('bus'),
zod_1.z.literal('cableway'),
zod_1.z.literal('coach'),
zod_1.z.literal('funicular'),
zod_1.z.literal('lift'),
zod_1.z.literal('metro'),
zod_1.z.literal('monorail'),
zod_1.z.literal('rail'),
zod_1.z.literal('tram'),
zod_1.z.literal('trolleybus'),
zod_1.z.literal('unknown'),
zod_1.z.literal('water'),
]);
exports.TransportSubmodeType = zod_1.z.union([
zod_1.z.literal('SchengenAreaFlight'),
zod_1.z.literal('airportBoatLink'),
zod_1.z.literal('airportLinkBus'),
zod_1.z.literal('airportLinkRail'),
zod_1.z.literal('airshipService'),
zod_1.z.literal('allFunicularServices'),
zod_1.z.literal('allHireVehicles'),
zod_1.z.literal('allTaxiServices'),
zod_1.z.literal('bikeTaxi'),
zod_1.z.literal('blackCab'),
zod_1.z.literal('cableCar'),
zod_1.z.literal('cableFerry'),
zod_1.z.literal('canalBarge'),
zod_1.z.literal('carTransportRailService'),
zod_1.z.literal('chairLift'),
zod_1.z.literal('charterTaxi'),
zod_1.z.literal('cityTram'),
zod_1.z.literal('communalTaxi'),
zod_1.z.literal('commuterCoach'),
zod_1.z.literal('crossCountryRail'),
zod_1.z.literal('dedicatedLaneBus'),
zod_1.z.literal('demandAndResponseBus'),
zod_1.z.literal('domesticCharterFlight'),
zod_1.z.literal('domesticFlight'),
zod_1.z.literal('domesticScheduledFlight'),
zod_1.z.literal('dragLift'),
zod_1.z.literal('expressBus'),
zod_1.z.literal('funicular'),
zod_1.z.literal('helicopterService'),
zod_1.z.literal('highFrequencyBus'),
zod_1.z.literal('highSpeedPassengerService'),
zod_1.z.literal('highSpeedRail'),
zod_1.z.literal('highSpeedVehicleService'),
zod_1.z.literal('hireCar'),
zod_1.z.literal('hireCycle'),
zod_1.z.literal('hireMotorbike'),
zod_1.z.literal('hireVan'),
zod_1.z.literal('intercontinentalCharterFlight'),
zod_1.z.literal('intercontinentalFlight'),
zod_1.z.literal('international'),
zod_1.z.literal('internationalCarFerry'),
zod_1.z.literal('internationalCharterFlight'),
zod_1.z.literal('internationalCoach'),
zod_1.z.literal('internationalFlight'),
zod_1.z.literal('internationalPassengerFerry'),
zod_1.z.literal('interregionalRail'),
zod_1.z.literal('lift'),
zod_1.z.literal('local'),
zod_1.z.literal('localBus'),
zod_1.z.literal('localCarFerry'),
zod_1.z.literal('localPassengerFerry'),
zod_1.z.literal('localTram'),
zod_1.z.literal('longDistance'),
zod_1.z.literal('metro'),
zod_1.z.literal('miniCab'),
zod_1.z.literal('mobilityBus'),
zod_1.z.literal('mobilityBusForRegisteredDisabled'),
zod_1.z.literal('nationalCarFerry'),
zod_1.z.literal('nationalCoach'),
zod_1.z.literal('nationalPassengerFerry'),
zod_1.z.literal('nightBus'),
zod_1.z.literal('nightRail'),
zod_1.z.literal('postBoat'),
zod_1.z.literal('postBus'),
zod_1.z.literal('rackAndPinionRailway'),
zod_1.z.literal('railReplacementBus'),
zod_1.z.literal('railShuttle'),
zod_1.z.literal('railTaxi'),
zod_1.z.literal('regionalBus'),
zod_1.z.literal('regionalCarFerry'),
zod_1.z.literal('regionalCoach'),
zod_1.z.literal('regionalPassengerFerry'),
zod_1.z.literal('regionalRail'),
zod_1.z.literal('regionalTram'),
zod_1.z.literal('replacementRailService'),
zod_1.z.literal('riverBus'),
zod_1.z.literal('roadFerryLink'),
zod_1.z.literal('roundTripCharterFlight'),
zod_1.z.literal('scheduledFerry'),
zod_1.z.literal('schoolAndPublicServiceBus'),
zod_1.z.literal('schoolBoat'),
zod_1.z.literal('schoolBus'),
zod_1.z.literal('schoolCoach'),
zod_1.z.literal('shortHaulInternationalFlight'),
zod_1.z.literal('shuttleBus'),
zod_1.z.literal('shuttleCoach'),
zod_1.z.literal('shuttleFerryService'),
zod_1.z.literal('shuttleFlight'),
zod_1.z.literal('shuttleTram'),
zod_1.z.literal('sightseeingBus'),
zod_1.z.literal('sightseeingCoach'),
zod_1.z.literal('sightseeingFlight'),
zod_1.z.literal('sightseeingService'),
zod_1.z.literal('sightseeingTram'),
zod_1.z.literal('sleeperRailService'),
zod_1.z.literal('specialCoach'),
zod_1.z.literal('specialNeedsBus'),
zod_1.z.literal('specialTrain'),
zod_1.z.literal('streetCableCar'),
zod_1.z.literal('suburbanRailway'),
zod_1.z.literal('telecabin'),
zod_1.z.literal('telecabinLink'),
zod_1.z.literal('touristCoach'),
zod_1.z.literal('touristRailway'),
zod_1.z.literal('trainFerry'),
zod_1.z.literal('trainTram'),
zod_1.z.literal('tube'),
zod_1.z.literal('undefined'),
zod_1.z.literal('undefinedFunicular'),
zod_1.z.literal('unknown'),
zod_1.z.literal('urbanRailway'),
zod_1.z.literal('waterTaxi'),
]);
exports.LanguageAndTextType = zod_1.z.union([

@@ -140,0 +135,0 @@ zod_1.z.object({

@@ -7,10 +7,10 @@ import { z } from 'zod';

export declare const ProductTypeTransportModes: z.ZodObject<{
mode: z.ZodNativeEnum<typeof import("./common").TransportModeType>;
subMode: z.ZodOptional<z.ZodNativeEnum<typeof import("./common").TransportSubmodeType>>;
mode: z.ZodUnion<[z.ZodLiteral<"air">, z.ZodLiteral<"bus">, z.ZodLiteral<"cableway">, z.ZodLiteral<"coach">, z.ZodLiteral<"funicular">, z.ZodLiteral<"lift">, z.ZodLiteral<"metro">, z.ZodLiteral<"monorail">, z.ZodLiteral<"rail">, z.ZodLiteral<"tram">, z.ZodLiteral<"trolleybus">, z.ZodLiteral<"unknown">, z.ZodLiteral<"water">]>;
subMode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"SchengenAreaFlight">, z.ZodLiteral<"airportBoatLink">, z.ZodLiteral<"airportLinkBus">, z.ZodLiteral<"airportLinkRail">, z.ZodLiteral<"airshipService">, z.ZodLiteral<"allFunicularServices">, z.ZodLiteral<"allHireVehicles">, z.ZodLiteral<"allTaxiServices">, z.ZodLiteral<"bikeTaxi">, z.ZodLiteral<"blackCab">, z.ZodLiteral<"cableCar">, z.ZodLiteral<"cableFerry">, z.ZodLiteral<"canalBarge">, z.ZodLiteral<"carTransportRailService">, z.ZodLiteral<"chairLift">, z.ZodLiteral<"charterTaxi">, z.ZodLiteral<"cityTram">, z.ZodLiteral<"communalTaxi">, z.ZodLiteral<"commuterCoach">, z.ZodLiteral<"crossCountryRail">, z.ZodLiteral<"dedicatedLaneBus">, z.ZodLiteral<"demandAndResponseBus">, z.ZodLiteral<"domesticCharterFlight">, z.ZodLiteral<"domesticFlight">, z.ZodLiteral<"domesticScheduledFlight">, z.ZodLiteral<"dragLift">, z.ZodLiteral<"expressBus">, z.ZodLiteral<"funicular">, z.ZodLiteral<"helicopterService">, z.ZodLiteral<"highFrequencyBus">, z.ZodLiteral<"highSpeedPassengerService">, z.ZodLiteral<"highSpeedRail">, z.ZodLiteral<"highSpeedVehicleService">, z.ZodLiteral<"hireCar">, z.ZodLiteral<"hireCycle">, z.ZodLiteral<"hireMotorbike">, z.ZodLiteral<"hireVan">, z.ZodLiteral<"intercontinentalCharterFlight">, z.ZodLiteral<"intercontinentalFlight">, z.ZodLiteral<"international">, z.ZodLiteral<"internationalCarFerry">, z.ZodLiteral<"internationalCharterFlight">, z.ZodLiteral<"internationalCoach">, z.ZodLiteral<"internationalFlight">, z.ZodLiteral<"internationalPassengerFerry">, z.ZodLiteral<"interregionalRail">, z.ZodLiteral<"lift">, z.ZodLiteral<"local">, z.ZodLiteral<"localBus">, z.ZodLiteral<"localCarFerry">, z.ZodLiteral<"localPassengerFerry">, z.ZodLiteral<"localTram">, z.ZodLiteral<"longDistance">, z.ZodLiteral<"metro">, z.ZodLiteral<"miniCab">, z.ZodLiteral<"mobilityBus">, z.ZodLiteral<"mobilityBusForRegisteredDisabled">, z.ZodLiteral<"nationalCarFerry">, z.ZodLiteral<"nationalCoach">, z.ZodLiteral<"nationalPassengerFerry">, z.ZodLiteral<"nightBus">, z.ZodLiteral<"nightRail">, z.ZodLiteral<"postBoat">, z.ZodLiteral<"postBus">, z.ZodLiteral<"rackAndPinionRailway">, z.ZodLiteral<"railReplacementBus">, z.ZodLiteral<"railShuttle">, z.ZodLiteral<"railTaxi">, z.ZodLiteral<"regionalBus">, z.ZodLiteral<"regionalCarFerry">, z.ZodLiteral<"regionalCoach">, z.ZodLiteral<"regionalPassengerFerry">, z.ZodLiteral<"regionalRail">, z.ZodLiteral<"regionalTram">, z.ZodLiteral<"replacementRailService">, z.ZodLiteral<"riverBus">, z.ZodLiteral<"roadFerryLink">, z.ZodLiteral<"roundTripCharterFlight">, z.ZodLiteral<"scheduledFerry">, z.ZodLiteral<"schoolAndPublicServiceBus">, z.ZodLiteral<"schoolBoat">, z.ZodLiteral<"schoolBus">, z.ZodLiteral<"schoolCoach">, z.ZodLiteral<"shortHaulInternationalFlight">, z.ZodLiteral<"shuttleBus">, z.ZodLiteral<"shuttleCoach">, z.ZodLiteral<"shuttleFerryService">, z.ZodLiteral<"shuttleFlight">, z.ZodLiteral<"shuttleTram">, z.ZodLiteral<"sightseeingBus">, z.ZodLiteral<"sightseeingCoach">, z.ZodLiteral<"sightseeingFlight">, z.ZodLiteral<"sightseeingService">, z.ZodLiteral<"sightseeingTram">, z.ZodLiteral<"sleeperRailService">, z.ZodLiteral<"specialCoach">, z.ZodLiteral<"specialNeedsBus">, z.ZodLiteral<"specialTrain">, z.ZodLiteral<"streetCableCar">, z.ZodLiteral<"suburbanRailway">, z.ZodLiteral<"telecabin">, z.ZodLiteral<"telecabinLink">, z.ZodLiteral<"touristCoach">, z.ZodLiteral<"touristRailway">, z.ZodLiteral<"trainFerry">, z.ZodLiteral<"trainTram">, z.ZodLiteral<"tube">, z.ZodLiteral<"undefined">, z.ZodLiteral<"undefinedFunicular">, z.ZodLiteral<"unknown">, z.ZodLiteral<"urbanRailway">, z.ZodLiteral<"waterTaxi">]>>;
}, "strip", z.ZodTypeAny, {
mode: import("./common").TransportModeType;
subMode?: import("./common").TransportSubmodeType | undefined;
mode: "unknown" | "air" | "bus" | "cableway" | "coach" | "funicular" | "lift" | "metro" | "monorail" | "rail" | "tram" | "trolleybus" | "water";
subMode?: "undefined" | "unknown" | "funicular" | "lift" | "metro" | "SchengenAreaFlight" | "airportBoatLink" | "airportLinkBus" | "airportLinkRail" | "airshipService" | "allFunicularServices" | "allHireVehicles" | "allTaxiServices" | "bikeTaxi" | "blackCab" | "cableCar" | "cableFerry" | "canalBarge" | "carTransportRailService" | "chairLift" | "charterTaxi" | "cityTram" | "communalTaxi" | "commuterCoach" | "crossCountryRail" | "dedicatedLaneBus" | "demandAndResponseBus" | "domesticCharterFlight" | "domesticFlight" | "domesticScheduledFlight" | "dragLift" | "expressBus" | "helicopterService" | "highFrequencyBus" | "highSpeedPassengerService" | "highSpeedRail" | "highSpeedVehicleService" | "hireCar" | "hireCycle" | "hireMotorbike" | "hireVan" | "intercontinentalCharterFlight" | "intercontinentalFlight" | "international" | "internationalCarFerry" | "internationalCharterFlight" | "internationalCoach" | "internationalFlight" | "internationalPassengerFerry" | "interregionalRail" | "local" | "localBus" | "localCarFerry" | "localPassengerFerry" | "localTram" | "longDistance" | "miniCab" | "mobilityBus" | "mobilityBusForRegisteredDisabled" | "nationalCarFerry" | "nationalCoach" | "nationalPassengerFerry" | "nightBus" | "nightRail" | "postBoat" | "postBus" | "rackAndPinionRailway" | "railReplacementBus" | "railShuttle" | "railTaxi" | "regionalBus" | "regionalCarFerry" | "regionalCoach" | "regionalPassengerFerry" | "regionalRail" | "regionalTram" | "replacementRailService" | "riverBus" | "roadFerryLink" | "roundTripCharterFlight" | "scheduledFerry" | "schoolAndPublicServiceBus" | "schoolBoat" | "schoolBus" | "schoolCoach" | "shortHaulInternationalFlight" | "shuttleBus" | "shuttleCoach" | "shuttleFerryService" | "shuttleFlight" | "shuttleTram" | "sightseeingBus" | "sightseeingCoach" | "sightseeingFlight" | "sightseeingService" | "sightseeingTram" | "sleeperRailService" | "specialCoach" | "specialNeedsBus" | "specialTrain" | "streetCableCar" | "suburbanRailway" | "telecabin" | "telecabinLink" | "touristCoach" | "touristRailway" | "trainFerry" | "trainTram" | "tube" | "undefinedFunicular" | "urbanRailway" | "waterTaxi" | undefined;
}, {
mode: import("./common").TransportModeType;
subMode?: import("./common").TransportSubmodeType | undefined;
mode: "unknown" | "air" | "bus" | "cableway" | "coach" | "funicular" | "lift" | "metro" | "monorail" | "rail" | "tram" | "trolleybus" | "water";
subMode?: "undefined" | "unknown" | "funicular" | "lift" | "metro" | "SchengenAreaFlight" | "airportBoatLink" | "airportLinkBus" | "airportLinkRail" | "airshipService" | "allFunicularServices" | "allHireVehicles" | "allTaxiServices" | "bikeTaxi" | "blackCab" | "cableCar" | "cableFerry" | "canalBarge" | "carTransportRailService" | "chairLift" | "charterTaxi" | "cityTram" | "communalTaxi" | "commuterCoach" | "crossCountryRail" | "dedicatedLaneBus" | "demandAndResponseBus" | "domesticCharterFlight" | "domesticFlight" | "domesticScheduledFlight" | "dragLift" | "expressBus" | "helicopterService" | "highFrequencyBus" | "highSpeedPassengerService" | "highSpeedRail" | "highSpeedVehicleService" | "hireCar" | "hireCycle" | "hireMotorbike" | "hireVan" | "intercontinentalCharterFlight" | "intercontinentalFlight" | "international" | "internationalCarFerry" | "internationalCharterFlight" | "internationalCoach" | "internationalFlight" | "internationalPassengerFerry" | "interregionalRail" | "local" | "localBus" | "localCarFerry" | "localPassengerFerry" | "localTram" | "longDistance" | "miniCab" | "mobilityBus" | "mobilityBusForRegisteredDisabled" | "nationalCarFerry" | "nationalCoach" | "nationalPassengerFerry" | "nightBus" | "nightRail" | "postBoat" | "postBus" | "rackAndPinionRailway" | "railReplacementBus" | "railShuttle" | "railTaxi" | "regionalBus" | "regionalCarFerry" | "regionalCoach" | "regionalPassengerFerry" | "regionalRail" | "regionalTram" | "replacementRailService" | "riverBus" | "roadFerryLink" | "roundTripCharterFlight" | "scheduledFerry" | "schoolAndPublicServiceBus" | "schoolBoat" | "schoolBus" | "schoolCoach" | "shortHaulInternationalFlight" | "shuttleBus" | "shuttleCoach" | "shuttleFerryService" | "shuttleFlight" | "shuttleTram" | "sightseeingBus" | "sightseeingCoach" | "sightseeingFlight" | "sightseeingService" | "sightseeingTram" | "sleeperRailService" | "specialCoach" | "specialNeedsBus" | "specialTrain" | "streetCableCar" | "suburbanRailway" | "telecabin" | "telecabinLink" | "touristCoach" | "touristRailway" | "trainFerry" | "trainTram" | "tube" | "undefinedFunicular" | "urbanRailway" | "waterTaxi" | undefined;
}>;

@@ -92,10 +92,10 @@ export declare const FareProductTypeConfigSettings: z.ZodObject<{

transportModes: z.ZodArray<z.ZodObject<{
mode: z.ZodNativeEnum<typeof import("./common").TransportModeType>;
subMode: z.ZodOptional<z.ZodNativeEnum<typeof import("./common").TransportSubmodeType>>;
mode: z.ZodUnion<[z.ZodLiteral<"air">, z.ZodLiteral<"bus">, z.ZodLiteral<"cableway">, z.ZodLiteral<"coach">, z.ZodLiteral<"funicular">, z.ZodLiteral<"lift">, z.ZodLiteral<"metro">, z.ZodLiteral<"monorail">, z.ZodLiteral<"rail">, z.ZodLiteral<"tram">, z.ZodLiteral<"trolleybus">, z.ZodLiteral<"unknown">, z.ZodLiteral<"water">]>;
subMode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"SchengenAreaFlight">, z.ZodLiteral<"airportBoatLink">, z.ZodLiteral<"airportLinkBus">, z.ZodLiteral<"airportLinkRail">, z.ZodLiteral<"airshipService">, z.ZodLiteral<"allFunicularServices">, z.ZodLiteral<"allHireVehicles">, z.ZodLiteral<"allTaxiServices">, z.ZodLiteral<"bikeTaxi">, z.ZodLiteral<"blackCab">, z.ZodLiteral<"cableCar">, z.ZodLiteral<"cableFerry">, z.ZodLiteral<"canalBarge">, z.ZodLiteral<"carTransportRailService">, z.ZodLiteral<"chairLift">, z.ZodLiteral<"charterTaxi">, z.ZodLiteral<"cityTram">, z.ZodLiteral<"communalTaxi">, z.ZodLiteral<"commuterCoach">, z.ZodLiteral<"crossCountryRail">, z.ZodLiteral<"dedicatedLaneBus">, z.ZodLiteral<"demandAndResponseBus">, z.ZodLiteral<"domesticCharterFlight">, z.ZodLiteral<"domesticFlight">, z.ZodLiteral<"domesticScheduledFlight">, z.ZodLiteral<"dragLift">, z.ZodLiteral<"expressBus">, z.ZodLiteral<"funicular">, z.ZodLiteral<"helicopterService">, z.ZodLiteral<"highFrequencyBus">, z.ZodLiteral<"highSpeedPassengerService">, z.ZodLiteral<"highSpeedRail">, z.ZodLiteral<"highSpeedVehicleService">, z.ZodLiteral<"hireCar">, z.ZodLiteral<"hireCycle">, z.ZodLiteral<"hireMotorbike">, z.ZodLiteral<"hireVan">, z.ZodLiteral<"intercontinentalCharterFlight">, z.ZodLiteral<"intercontinentalFlight">, z.ZodLiteral<"international">, z.ZodLiteral<"internationalCarFerry">, z.ZodLiteral<"internationalCharterFlight">, z.ZodLiteral<"internationalCoach">, z.ZodLiteral<"internationalFlight">, z.ZodLiteral<"internationalPassengerFerry">, z.ZodLiteral<"interregionalRail">, z.ZodLiteral<"lift">, z.ZodLiteral<"local">, z.ZodLiteral<"localBus">, z.ZodLiteral<"localCarFerry">, z.ZodLiteral<"localPassengerFerry">, z.ZodLiteral<"localTram">, z.ZodLiteral<"longDistance">, z.ZodLiteral<"metro">, z.ZodLiteral<"miniCab">, z.ZodLiteral<"mobilityBus">, z.ZodLiteral<"mobilityBusForRegisteredDisabled">, z.ZodLiteral<"nationalCarFerry">, z.ZodLiteral<"nationalCoach">, z.ZodLiteral<"nationalPassengerFerry">, z.ZodLiteral<"nightBus">, z.ZodLiteral<"nightRail">, z.ZodLiteral<"postBoat">, z.ZodLiteral<"postBus">, z.ZodLiteral<"rackAndPinionRailway">, z.ZodLiteral<"railReplacementBus">, z.ZodLiteral<"railShuttle">, z.ZodLiteral<"railTaxi">, z.ZodLiteral<"regionalBus">, z.ZodLiteral<"regionalCarFerry">, z.ZodLiteral<"regionalCoach">, z.ZodLiteral<"regionalPassengerFerry">, z.ZodLiteral<"regionalRail">, z.ZodLiteral<"regionalTram">, z.ZodLiteral<"replacementRailService">, z.ZodLiteral<"riverBus">, z.ZodLiteral<"roadFerryLink">, z.ZodLiteral<"roundTripCharterFlight">, z.ZodLiteral<"scheduledFerry">, z.ZodLiteral<"schoolAndPublicServiceBus">, z.ZodLiteral<"schoolBoat">, z.ZodLiteral<"schoolBus">, z.ZodLiteral<"schoolCoach">, z.ZodLiteral<"shortHaulInternationalFlight">, z.ZodLiteral<"shuttleBus">, z.ZodLiteral<"shuttleCoach">, z.ZodLiteral<"shuttleFerryService">, z.ZodLiteral<"shuttleFlight">, z.ZodLiteral<"shuttleTram">, z.ZodLiteral<"sightseeingBus">, z.ZodLiteral<"sightseeingCoach">, z.ZodLiteral<"sightseeingFlight">, z.ZodLiteral<"sightseeingService">, z.ZodLiteral<"sightseeingTram">, z.ZodLiteral<"sleeperRailService">, z.ZodLiteral<"specialCoach">, z.ZodLiteral<"specialNeedsBus">, z.ZodLiteral<"specialTrain">, z.ZodLiteral<"streetCableCar">, z.ZodLiteral<"suburbanRailway">, z.ZodLiteral<"telecabin">, z.ZodLiteral<"telecabinLink">, z.ZodLiteral<"touristCoach">, z.ZodLiteral<"touristRailway">, z.ZodLiteral<"trainFerry">, z.ZodLiteral<"trainTram">, z.ZodLiteral<"tube">, z.ZodLiteral<"undefined">, z.ZodLiteral<"undefinedFunicular">, z.ZodLiteral<"unknown">, z.ZodLiteral<"urbanRailway">, z.ZodLiteral<"waterTaxi">]>>;
}, "strip", z.ZodTypeAny, {
mode: import("./common").TransportModeType;
subMode?: import("./common").TransportSubmodeType | undefined;
mode: "unknown" | "air" | "bus" | "cableway" | "coach" | "funicular" | "lift" | "metro" | "monorail" | "rail" | "tram" | "trolleybus" | "water";
subMode?: "undefined" | "unknown" | "funicular" | "lift" | "metro" | "SchengenAreaFlight" | "airportBoatLink" | "airportLinkBus" | "airportLinkRail" | "airshipService" | "allFunicularServices" | "allHireVehicles" | "allTaxiServices" | "bikeTaxi" | "blackCab" | "cableCar" | "cableFerry" | "canalBarge" | "carTransportRailService" | "chairLift" | "charterTaxi" | "cityTram" | "communalTaxi" | "commuterCoach" | "crossCountryRail" | "dedicatedLaneBus" | "demandAndResponseBus" | "domesticCharterFlight" | "domesticFlight" | "domesticScheduledFlight" | "dragLift" | "expressBus" | "helicopterService" | "highFrequencyBus" | "highSpeedPassengerService" | "highSpeedRail" | "highSpeedVehicleService" | "hireCar" | "hireCycle" | "hireMotorbike" | "hireVan" | "intercontinentalCharterFlight" | "intercontinentalFlight" | "international" | "internationalCarFerry" | "internationalCharterFlight" | "internationalCoach" | "internationalFlight" | "internationalPassengerFerry" | "interregionalRail" | "local" | "localBus" | "localCarFerry" | "localPassengerFerry" | "localTram" | "longDistance" | "miniCab" | "mobilityBus" | "mobilityBusForRegisteredDisabled" | "nationalCarFerry" | "nationalCoach" | "nationalPassengerFerry" | "nightBus" | "nightRail" | "postBoat" | "postBus" | "rackAndPinionRailway" | "railReplacementBus" | "railShuttle" | "railTaxi" | "regionalBus" | "regionalCarFerry" | "regionalCoach" | "regionalPassengerFerry" | "regionalRail" | "regionalTram" | "replacementRailService" | "riverBus" | "roadFerryLink" | "roundTripCharterFlight" | "scheduledFerry" | "schoolAndPublicServiceBus" | "schoolBoat" | "schoolBus" | "schoolCoach" | "shortHaulInternationalFlight" | "shuttleBus" | "shuttleCoach" | "shuttleFerryService" | "shuttleFlight" | "shuttleTram" | "sightseeingBus" | "sightseeingCoach" | "sightseeingFlight" | "sightseeingService" | "sightseeingTram" | "sleeperRailService" | "specialCoach" | "specialNeedsBus" | "specialTrain" | "streetCableCar" | "suburbanRailway" | "telecabin" | "telecabinLink" | "touristCoach" | "touristRailway" | "trainFerry" | "trainTram" | "tube" | "undefinedFunicular" | "urbanRailway" | "waterTaxi" | undefined;
}, {
mode: import("./common").TransportModeType;
subMode?: import("./common").TransportSubmodeType | undefined;
mode: "unknown" | "air" | "bus" | "cableway" | "coach" | "funicular" | "lift" | "metro" | "monorail" | "rail" | "tram" | "trolleybus" | "water";
subMode?: "undefined" | "unknown" | "funicular" | "lift" | "metro" | "SchengenAreaFlight" | "airportBoatLink" | "airportLinkBus" | "airportLinkRail" | "airshipService" | "allFunicularServices" | "allHireVehicles" | "allTaxiServices" | "bikeTaxi" | "blackCab" | "cableCar" | "cableFerry" | "canalBarge" | "carTransportRailService" | "chairLift" | "charterTaxi" | "cityTram" | "communalTaxi" | "commuterCoach" | "crossCountryRail" | "dedicatedLaneBus" | "demandAndResponseBus" | "domesticCharterFlight" | "domesticFlight" | "domesticScheduledFlight" | "dragLift" | "expressBus" | "helicopterService" | "highFrequencyBus" | "highSpeedPassengerService" | "highSpeedRail" | "highSpeedVehicleService" | "hireCar" | "hireCycle" | "hireMotorbike" | "hireVan" | "intercontinentalCharterFlight" | "intercontinentalFlight" | "international" | "internationalCarFerry" | "internationalCharterFlight" | "internationalCoach" | "internationalFlight" | "internationalPassengerFerry" | "interregionalRail" | "local" | "localBus" | "localCarFerry" | "localPassengerFerry" | "localTram" | "longDistance" | "miniCab" | "mobilityBus" | "mobilityBusForRegisteredDisabled" | "nationalCarFerry" | "nationalCoach" | "nationalPassengerFerry" | "nightBus" | "nightRail" | "postBoat" | "postBus" | "rackAndPinionRailway" | "railReplacementBus" | "railShuttle" | "railTaxi" | "regionalBus" | "regionalCarFerry" | "regionalCoach" | "regionalPassengerFerry" | "regionalRail" | "regionalTram" | "replacementRailService" | "riverBus" | "roadFerryLink" | "roundTripCharterFlight" | "scheduledFerry" | "schoolAndPublicServiceBus" | "schoolBoat" | "schoolBus" | "schoolCoach" | "shortHaulInternationalFlight" | "shuttleBus" | "shuttleCoach" | "shuttleFerryService" | "shuttleFlight" | "shuttleTram" | "sightseeingBus" | "sightseeingCoach" | "sightseeingFlight" | "sightseeingService" | "sightseeingTram" | "sleeperRailService" | "specialCoach" | "specialNeedsBus" | "specialTrain" | "streetCableCar" | "suburbanRailway" | "telecabin" | "telecabinLink" | "touristCoach" | "touristRailway" | "trainFerry" | "trainTram" | "tube" | "undefinedFunicular" | "urbanRailway" | "waterTaxi" | undefined;
}>, "many">;

@@ -184,4 +184,4 @@ excludedTariffZones: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;

transportModes: {
mode: import("./common").TransportModeType;
subMode?: import("./common").TransportSubmodeType | undefined;
mode: "unknown" | "air" | "bus" | "cableway" | "coach" | "funicular" | "lift" | "metro" | "monorail" | "rail" | "tram" | "trolleybus" | "water";
subMode?: "undefined" | "unknown" | "funicular" | "lift" | "metro" | "SchengenAreaFlight" | "airportBoatLink" | "airportLinkBus" | "airportLinkRail" | "airshipService" | "allFunicularServices" | "allHireVehicles" | "allTaxiServices" | "bikeTaxi" | "blackCab" | "cableCar" | "cableFerry" | "canalBarge" | "carTransportRailService" | "chairLift" | "charterTaxi" | "cityTram" | "communalTaxi" | "commuterCoach" | "crossCountryRail" | "dedicatedLaneBus" | "demandAndResponseBus" | "domesticCharterFlight" | "domesticFlight" | "domesticScheduledFlight" | "dragLift" | "expressBus" | "helicopterService" | "highFrequencyBus" | "highSpeedPassengerService" | "highSpeedRail" | "highSpeedVehicleService" | "hireCar" | "hireCycle" | "hireMotorbike" | "hireVan" | "intercontinentalCharterFlight" | "intercontinentalFlight" | "international" | "internationalCarFerry" | "internationalCharterFlight" | "internationalCoach" | "internationalFlight" | "internationalPassengerFerry" | "interregionalRail" | "local" | "localBus" | "localCarFerry" | "localPassengerFerry" | "localTram" | "longDistance" | "miniCab" | "mobilityBus" | "mobilityBusForRegisteredDisabled" | "nationalCarFerry" | "nationalCoach" | "nationalPassengerFerry" | "nightBus" | "nightRail" | "postBoat" | "postBus" | "rackAndPinionRailway" | "railReplacementBus" | "railShuttle" | "railTaxi" | "regionalBus" | "regionalCarFerry" | "regionalCoach" | "regionalPassengerFerry" | "regionalRail" | "regionalTram" | "replacementRailService" | "riverBus" | "roadFerryLink" | "roundTripCharterFlight" | "scheduledFerry" | "schoolAndPublicServiceBus" | "schoolBoat" | "schoolBus" | "schoolCoach" | "shortHaulInternationalFlight" | "shuttleBus" | "shuttleCoach" | "shuttleFerryService" | "shuttleFlight" | "shuttleTram" | "sightseeingBus" | "sightseeingCoach" | "sightseeingFlight" | "sightseeingService" | "sightseeingTram" | "sleeperRailService" | "specialCoach" | "specialNeedsBus" | "specialTrain" | "streetCableCar" | "suburbanRailway" | "telecabin" | "telecabinLink" | "touristCoach" | "touristRailway" | "trainFerry" | "trainTram" | "tube" | "undefinedFunicular" | "urbanRailway" | "waterTaxi" | undefined;
}[];

@@ -221,4 +221,4 @@ description: ({

transportModes: {
mode: import("./common").TransportModeType;
subMode?: import("./common").TransportSubmodeType | undefined;
mode: "unknown" | "air" | "bus" | "cableway" | "coach" | "funicular" | "lift" | "metro" | "monorail" | "rail" | "tram" | "trolleybus" | "water";
subMode?: "undefined" | "unknown" | "funicular" | "lift" | "metro" | "SchengenAreaFlight" | "airportBoatLink" | "airportLinkBus" | "airportLinkRail" | "airshipService" | "allFunicularServices" | "allHireVehicles" | "allTaxiServices" | "bikeTaxi" | "blackCab" | "cableCar" | "cableFerry" | "canalBarge" | "carTransportRailService" | "chairLift" | "charterTaxi" | "cityTram" | "communalTaxi" | "commuterCoach" | "crossCountryRail" | "dedicatedLaneBus" | "demandAndResponseBus" | "domesticCharterFlight" | "domesticFlight" | "domesticScheduledFlight" | "dragLift" | "expressBus" | "helicopterService" | "highFrequencyBus" | "highSpeedPassengerService" | "highSpeedRail" | "highSpeedVehicleService" | "hireCar" | "hireCycle" | "hireMotorbike" | "hireVan" | "intercontinentalCharterFlight" | "intercontinentalFlight" | "international" | "internationalCarFerry" | "internationalCharterFlight" | "internationalCoach" | "internationalFlight" | "internationalPassengerFerry" | "interregionalRail" | "local" | "localBus" | "localCarFerry" | "localPassengerFerry" | "localTram" | "longDistance" | "miniCab" | "mobilityBus" | "mobilityBusForRegisteredDisabled" | "nationalCarFerry" | "nationalCoach" | "nationalPassengerFerry" | "nightBus" | "nightRail" | "postBoat" | "postBus" | "rackAndPinionRailway" | "railReplacementBus" | "railShuttle" | "railTaxi" | "regionalBus" | "regionalCarFerry" | "regionalCoach" | "regionalPassengerFerry" | "regionalRail" | "regionalTram" | "replacementRailService" | "riverBus" | "roadFerryLink" | "roundTripCharterFlight" | "scheduledFerry" | "schoolAndPublicServiceBus" | "schoolBoat" | "schoolBus" | "schoolCoach" | "shortHaulInternationalFlight" | "shuttleBus" | "shuttleCoach" | "shuttleFerryService" | "shuttleFlight" | "shuttleTram" | "sightseeingBus" | "sightseeingCoach" | "sightseeingFlight" | "sightseeingService" | "sightseeingTram" | "sleeperRailService" | "specialCoach" | "specialNeedsBus" | "specialTrain" | "streetCableCar" | "suburbanRailway" | "telecabin" | "telecabinLink" | "touristCoach" | "touristRailway" | "trainFerry" | "trainTram" | "tube" | "undefinedFunicular" | "urbanRailway" | "waterTaxi" | undefined;
}[];

@@ -225,0 +225,0 @@ description: ({

@@ -33,4 +33,4 @@ "use strict";

exports.ProductTypeTransportModes = zod_1.z.object({
mode: common_1.TransportModeTypeEnum,
subMode: common_1.TransportSubmodeTypeEnum.optional(),
mode: common_1.TransportModeType,
subMode: common_1.TransportSubmodeType.optional(),
});

@@ -37,0 +37,0 @@ exports.FareProductTypeConfigSettings = zod_1.z.object({

@@ -45,4 +45,4 @@ "use strict";

FareProductTypeConfig: fare_product_type_1.FareProductTypeConfig,
TransportModeTypeEnum: common_1.TransportModeTypeEnum,
TransportSubmodeTypeEnum: common_1.TransportSubmodeTypeEnum,
TransportModeType: common_1.TransportModeType,
TransportSubmodeType: common_1.TransportSubmodeType,
},

@@ -58,4 +58,4 @@ }),

TravelSearchTransportModeIcon: travel_search_filters_1.TravelSearchTransportModeIcon,
TransportModeTypeEnum: common_1.TransportModeTypeEnum,
TransportSubmodeTypeEnum: common_1.TransportSubmodeTypeEnum,
TransportModeType: common_1.TransportModeType,
TransportSubmodeType: common_1.TransportSubmodeType,
},

@@ -62,0 +62,0 @@ }),

@@ -7,8 +7,8 @@ "use strict";

exports.TravelSearchTransportModeIcon = zod_1.z.object({
transportMode: common_1.TransportModeTypeEnum,
transportSubMode: common_1.TransportSubmodeTypeEnum.optional(),
transportMode: common_1.TransportModeType,
transportSubMode: common_1.TransportSubmodeType.optional(),
});
exports.TravelSearchTransportModes = zod_1.z.object({
transportMode: common_1.TransportModeTypeEnum,
transportSubModes: zod_1.z.array(common_1.TransportSubmodeTypeEnum).optional(),
transportMode: common_1.TransportModeType,
transportSubModes: zod_1.z.array(common_1.TransportSubmodeType).optional(),
});

@@ -15,0 +15,0 @@ exports.TravelSearchTransport = zod_1.z.object({

{
"name": "@atb-as/config-specs",
"version": "2.0.0-alpha.2",
"version": "2.0.0-alpha.3",
"description": "Shared types and validation for fare product type configs",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -280,6 +280,6 @@ {

},
"TransportModeTypeEnum": {
"TransportModeType": {
"$ref": "#/definitions/ProductTypeTransportModes/properties/mode"
},
"TransportSubmodeTypeEnum": {
"TransportSubmodeType": {
"$ref": "#/definitions/ProductTypeTransportModes/properties/subMode"

@@ -286,0 +286,0 @@ },

@@ -201,6 +201,6 @@ {

},
"TransportModeTypeEnum": {
"TransportModeType": {
"$ref": "#/definitions/TravelSearchTransportModes/properties/transportMode"
},
"TransportSubmodeTypeEnum": {
"TransportSubmodeType": {
"$ref": "#/definitions/TravelSearchTransportModes/properties/transportSubModes/items"

@@ -207,0 +207,0 @@ },

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc