diff --git a/schema-definitions/other.json b/schema-definitions/other.json index b28f8b2..427e142 100644 --- a/schema-definitions/other.json +++ b/schema-definitions/other.json @@ -52,6 +52,7 @@ "domesticFlight", "domesticScheduledFlight", "dragLift", + "escooter", "expressBus", "funicular", "helicopterService", diff --git a/schema-definitions/stopSignalButtonConfig.json b/schema-definitions/stopSignalButtonConfig.json index 095abb0..5722bb3 100644 --- a/schema-definitions/stopSignalButtonConfig.json +++ b/schema-definitions/stopSignalButtonConfig.json @@ -18,16 +18,17 @@ "type": "string", "enum": [ "air", - "bus", - "foot", "bicycle", + "bus", "cableway", "coach", + "foot", "funicular", "lift", "metro", "monorail", "rail", + "scooter", "taxi", "tram", "trolleybus", @@ -66,6 +67,7 @@ "domesticFlight", "domesticScheduledFlight", "dragLift", + "escooter", "expressBus", "funicular", "helicopterService", diff --git a/schema-definitions/travelSearchFilters.json b/schema-definitions/travelSearchFilters.json index 25af3fa..2aaa5df 100644 --- a/schema-definitions/travelSearchFilters.json +++ b/schema-definitions/travelSearchFilters.json @@ -40,16 +40,17 @@ "type": "string", "enum": [ "air", - "bus", - "foot", "bicycle", + "bus", "cableway", "coach", + "foot", "funicular", "lift", "metro", "monorail", "rail", + "scooter", "taxi", "tram", "trolleybus", @@ -88,6 +89,7 @@ "domesticFlight", "domesticScheduledFlight", "dragLift", + "escooter", "expressBus", "funicular", "helicopterService", diff --git a/src/common.ts b/src/common.ts index f041531..f38a523 100644 --- a/src/common.ts +++ b/src/common.ts @@ -2,16 +2,17 @@ import {z} from 'zod'; export const TransportModeType = z.union([ z.literal('air'), - z.literal('bus'), - z.literal('foot'), z.literal('bicycle'), + z.literal('bus'), z.literal('cableway'), z.literal('coach'), + z.literal('foot'), z.literal('funicular'), z.literal('lift'), z.literal('metro'), z.literal('monorail'), z.literal('rail'), + z.literal('scooter'), z.literal('taxi'), z.literal('tram'), z.literal('trolleybus'), @@ -46,6 +47,7 @@ export const TransportSubmodeType = z.union([ z.literal('domesticFlight'), z.literal('domesticScheduledFlight'), z.literal('dragLift'), + z.literal('escooter'), z.literal('expressBus'), z.literal('funicular'), z.literal('helicopterService'),