@eventconnectors/ndtrc_model 1.2.1 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -77,6 +77,7 @@ __export(index_exports, {
77
77
  SeoDetailSchema: () => SeoDetailSchema,
78
78
  SeoMetadataSchema: () => SeoMetadataSchema,
79
79
  SingleDateSchema: () => SingleDateSchema,
80
+ StandardPriceDescriptionValues: () => StandardPriceDescriptionValues,
80
81
  StatusTranslationSchema: () => StatusTranslationSchema,
81
82
  SubItemGroupSchema: () => SubItemGroupSchema,
82
83
  SubItemTranslationSchema: () => SubItemTranslationSchema,
@@ -401,14 +402,15 @@ var PerformerSchema = import_zod9.z.object({
401
402
 
402
403
  // src/price-element.ts
403
404
  var import_zod10 = require("zod");
404
- var PriceDescriptionValueSchema = import_zod10.z.enum([
405
+ var StandardPriceDescriptionValues = [
405
406
  "Adults",
406
407
  "Children",
407
408
  "Groups",
408
409
  "CJP",
409
410
  "Pasholders",
410
411
  "Lastminute"
411
- ]);
412
+ ];
413
+ var PriceDescriptionValueSchema = import_zod10.z.string();
412
414
  var PriceElementDescriptionTranslationSchema = import_zod10.z.object({
413
415
  lang: LangCodeSchema.optional(),
414
416
  text: import_zod10.z.string().optional()
@@ -601,6 +603,7 @@ var RouteInfoSchema = import_zod13.z.object({
601
603
  pois: import_zod13.z.array(PoiSchema).optional(),
602
604
  routeCoordinates: import_zod13.z.array(LatLngSchema).optional(),
603
605
  calculatedCoordinates: import_zod13.z.array(LatLngSchema).optional(),
606
+ waterPoints: import_zod13.z.array(LatLngSchema).optional(),
604
607
  difficulty: RouteDifficultySchema.optional(),
605
608
  primarySurface: SurfaceTypeSchema.optional()
606
609
  }).passthrough();
@@ -906,6 +909,7 @@ var TRCItemGroupSchema = _trcItemGroupBase;
906
909
  SeoDetailSchema,
907
910
  SeoMetadataSchema,
908
911
  SingleDateSchema,
912
+ StandardPriceDescriptionValues,
909
913
  StatusTranslationSchema,
910
914
  SubItemGroupSchema,
911
915
  SubItemTranslationSchema,
package/dist/index.d.cts CHANGED
@@ -39855,7 +39855,12 @@ declare const PerformerSchema: z.ZodObject<{
39855
39855
  }, z.ZodTypeAny, "passthrough">>;
39856
39856
  type Performer = z.infer<typeof PerformerSchema>;
39857
39857
 
39858
- declare const PriceDescriptionValueSchema: z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>;
39858
+ /**
39859
+ * Standard NDTRC-derived price-type values shipped as defaults/fallback.
39860
+ * Accounts may define their own values, so `value` is a free-form string.
39861
+ */
39862
+ declare const StandardPriceDescriptionValues: readonly ["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"];
39863
+ declare const PriceDescriptionValueSchema: z.ZodString;
39859
39864
  type PriceDescriptionValue = z.infer<typeof PriceDescriptionValueSchema>;
39860
39865
  declare const PriceElementDescriptionTranslationSchema: z.ZodObject<{
39861
39866
  lang: z.ZodOptional<z.ZodString>;
@@ -39899,7 +39904,7 @@ declare const PriceElementCommentSchema: z.ZodObject<{
39899
39904
  }, z.ZodTypeAny, "passthrough">>;
39900
39905
  type PriceElementComment = z.infer<typeof PriceElementCommentSchema>;
39901
39906
  declare const PriceElementDescriptionSchema: z.ZodObject<{
39902
- value: z.ZodOptional<z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>>;
39907
+ value: z.ZodOptional<z.ZodString>;
39903
39908
  descriptionTranslations: z.ZodOptional<z.ZodArray<z.ZodObject<{
39904
39909
  lang: z.ZodOptional<z.ZodString>;
39905
39910
  text: z.ZodOptional<z.ZodString>;
@@ -39911,7 +39916,7 @@ declare const PriceElementDescriptionSchema: z.ZodObject<{
39911
39916
  text: z.ZodOptional<z.ZodString>;
39912
39917
  }, z.ZodTypeAny, "passthrough">>, "many">>;
39913
39918
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
39914
- value: z.ZodOptional<z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>>;
39919
+ value: z.ZodOptional<z.ZodString>;
39915
39920
  descriptionTranslations: z.ZodOptional<z.ZodArray<z.ZodObject<{
39916
39921
  lang: z.ZodOptional<z.ZodString>;
39917
39922
  text: z.ZodOptional<z.ZodString>;
@@ -39923,7 +39928,7 @@ declare const PriceElementDescriptionSchema: z.ZodObject<{
39923
39928
  text: z.ZodOptional<z.ZodString>;
39924
39929
  }, z.ZodTypeAny, "passthrough">>, "many">>;
39925
39930
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
39926
- value: z.ZodOptional<z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>>;
39931
+ value: z.ZodOptional<z.ZodString>;
39927
39932
  descriptionTranslations: z.ZodOptional<z.ZodArray<z.ZodObject<{
39928
39933
  lang: z.ZodOptional<z.ZodString>;
39929
39934
  text: z.ZodOptional<z.ZodString>;
@@ -39949,7 +39954,7 @@ declare const PriceElementSchema: z.ZodObject<{
39949
39954
  until: z.ZodOptional<z.ZodNumber>;
39950
39955
  }, z.ZodTypeAny, "passthrough">>>;
39951
39956
  description: z.ZodOptional<z.ZodObject<{
39952
- value: z.ZodOptional<z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>>;
39957
+ value: z.ZodOptional<z.ZodString>;
39953
39958
  descriptionTranslations: z.ZodOptional<z.ZodArray<z.ZodObject<{
39954
39959
  lang: z.ZodOptional<z.ZodString>;
39955
39960
  text: z.ZodOptional<z.ZodString>;
@@ -39961,7 +39966,7 @@ declare const PriceElementSchema: z.ZodObject<{
39961
39966
  text: z.ZodOptional<z.ZodString>;
39962
39967
  }, z.ZodTypeAny, "passthrough">>, "many">>;
39963
39968
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
39964
- value: z.ZodOptional<z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>>;
39969
+ value: z.ZodOptional<z.ZodString>;
39965
39970
  descriptionTranslations: z.ZodOptional<z.ZodArray<z.ZodObject<{
39966
39971
  lang: z.ZodOptional<z.ZodString>;
39967
39972
  text: z.ZodOptional<z.ZodString>;
@@ -39973,7 +39978,7 @@ declare const PriceElementSchema: z.ZodObject<{
39973
39978
  text: z.ZodOptional<z.ZodString>;
39974
39979
  }, z.ZodTypeAny, "passthrough">>, "many">>;
39975
39980
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
39976
- value: z.ZodOptional<z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>>;
39981
+ value: z.ZodOptional<z.ZodString>;
39977
39982
  descriptionTranslations: z.ZodOptional<z.ZodArray<z.ZodObject<{
39978
39983
  lang: z.ZodOptional<z.ZodString>;
39979
39984
  text: z.ZodOptional<z.ZodString>;
@@ -40015,7 +40020,7 @@ declare const PriceElementSchema: z.ZodObject<{
40015
40020
  until: z.ZodOptional<z.ZodNumber>;
40016
40021
  }, z.ZodTypeAny, "passthrough">>>;
40017
40022
  description: z.ZodOptional<z.ZodObject<{
40018
- value: z.ZodOptional<z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>>;
40023
+ value: z.ZodOptional<z.ZodString>;
40019
40024
  descriptionTranslations: z.ZodOptional<z.ZodArray<z.ZodObject<{
40020
40025
  lang: z.ZodOptional<z.ZodString>;
40021
40026
  text: z.ZodOptional<z.ZodString>;
@@ -40027,7 +40032,7 @@ declare const PriceElementSchema: z.ZodObject<{
40027
40032
  text: z.ZodOptional<z.ZodString>;
40028
40033
  }, z.ZodTypeAny, "passthrough">>, "many">>;
40029
40034
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
40030
- value: z.ZodOptional<z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>>;
40035
+ value: z.ZodOptional<z.ZodString>;
40031
40036
  descriptionTranslations: z.ZodOptional<z.ZodArray<z.ZodObject<{
40032
40037
  lang: z.ZodOptional<z.ZodString>;
40033
40038
  text: z.ZodOptional<z.ZodString>;
@@ -40039,7 +40044,7 @@ declare const PriceElementSchema: z.ZodObject<{
40039
40044
  text: z.ZodOptional<z.ZodString>;
40040
40045
  }, z.ZodTypeAny, "passthrough">>, "many">>;
40041
40046
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
40042
- value: z.ZodOptional<z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>>;
40047
+ value: z.ZodOptional<z.ZodString>;
40043
40048
  descriptionTranslations: z.ZodOptional<z.ZodArray<z.ZodObject<{
40044
40049
  lang: z.ZodOptional<z.ZodString>;
40045
40050
  text: z.ZodOptional<z.ZodString>;
@@ -40081,7 +40086,7 @@ declare const PriceElementSchema: z.ZodObject<{
40081
40086
  until: z.ZodOptional<z.ZodNumber>;
40082
40087
  }, z.ZodTypeAny, "passthrough">>>;
40083
40088
  description: z.ZodOptional<z.ZodObject<{
40084
- value: z.ZodOptional<z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>>;
40089
+ value: z.ZodOptional<z.ZodString>;
40085
40090
  descriptionTranslations: z.ZodOptional<z.ZodArray<z.ZodObject<{
40086
40091
  lang: z.ZodOptional<z.ZodString>;
40087
40092
  text: z.ZodOptional<z.ZodString>;
@@ -40093,7 +40098,7 @@ declare const PriceElementSchema: z.ZodObject<{
40093
40098
  text: z.ZodOptional<z.ZodString>;
40094
40099
  }, z.ZodTypeAny, "passthrough">>, "many">>;
40095
40100
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
40096
- value: z.ZodOptional<z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>>;
40101
+ value: z.ZodOptional<z.ZodString>;
40097
40102
  descriptionTranslations: z.ZodOptional<z.ZodArray<z.ZodObject<{
40098
40103
  lang: z.ZodOptional<z.ZodString>;
40099
40104
  text: z.ZodOptional<z.ZodString>;
@@ -40105,7 +40110,7 @@ declare const PriceElementSchema: z.ZodObject<{
40105
40110
  text: z.ZodOptional<z.ZodString>;
40106
40111
  }, z.ZodTypeAny, "passthrough">>, "many">>;
40107
40112
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
40108
- value: z.ZodOptional<z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>>;
40113
+ value: z.ZodOptional<z.ZodString>;
40109
40114
  descriptionTranslations: z.ZodOptional<z.ZodArray<z.ZodObject<{
40110
40115
  lang: z.ZodOptional<z.ZodString>;
40111
40116
  text: z.ZodOptional<z.ZodString>;
@@ -43836,6 +43841,22 @@ declare const RouteInfoSchema: z.ZodObject<{
43836
43841
  altitude: z.ZodOptional<z.ZodNumber>;
43837
43842
  label: z.ZodOptional<z.ZodString>;
43838
43843
  }, z.ZodTypeAny, "passthrough">>, "many">>;
43844
+ waterPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
43845
+ lat: z.ZodOptional<z.ZodNumber>;
43846
+ lng: z.ZodOptional<z.ZodNumber>;
43847
+ altitude: z.ZodOptional<z.ZodNumber>;
43848
+ label: z.ZodOptional<z.ZodString>;
43849
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
43850
+ lat: z.ZodOptional<z.ZodNumber>;
43851
+ lng: z.ZodOptional<z.ZodNumber>;
43852
+ altitude: z.ZodOptional<z.ZodNumber>;
43853
+ label: z.ZodOptional<z.ZodString>;
43854
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
43855
+ lat: z.ZodOptional<z.ZodNumber>;
43856
+ lng: z.ZodOptional<z.ZodNumber>;
43857
+ altitude: z.ZodOptional<z.ZodNumber>;
43858
+ label: z.ZodOptional<z.ZodString>;
43859
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
43839
43860
  difficulty: z.ZodOptional<z.ZodEnum<["easy", "moderate", "challenging", "difficult", "expert"]>>;
43840
43861
  primarySurface: z.ZodOptional<z.ZodEnum<["paved", "gravel", "dirt", "sand", "grass", "cobblestone", "boardwalk", "rock", "snow", "water", "mixed"]>>;
43841
43862
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -45607,6 +45628,22 @@ declare const RouteInfoSchema: z.ZodObject<{
45607
45628
  altitude: z.ZodOptional<z.ZodNumber>;
45608
45629
  label: z.ZodOptional<z.ZodString>;
45609
45630
  }, z.ZodTypeAny, "passthrough">>, "many">>;
45631
+ waterPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
45632
+ lat: z.ZodOptional<z.ZodNumber>;
45633
+ lng: z.ZodOptional<z.ZodNumber>;
45634
+ altitude: z.ZodOptional<z.ZodNumber>;
45635
+ label: z.ZodOptional<z.ZodString>;
45636
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
45637
+ lat: z.ZodOptional<z.ZodNumber>;
45638
+ lng: z.ZodOptional<z.ZodNumber>;
45639
+ altitude: z.ZodOptional<z.ZodNumber>;
45640
+ label: z.ZodOptional<z.ZodString>;
45641
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
45642
+ lat: z.ZodOptional<z.ZodNumber>;
45643
+ lng: z.ZodOptional<z.ZodNumber>;
45644
+ altitude: z.ZodOptional<z.ZodNumber>;
45645
+ label: z.ZodOptional<z.ZodString>;
45646
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
45610
45647
  difficulty: z.ZodOptional<z.ZodEnum<["easy", "moderate", "challenging", "difficult", "expert"]>>;
45611
45648
  primarySurface: z.ZodOptional<z.ZodEnum<["paved", "gravel", "dirt", "sand", "grass", "cobblestone", "boardwalk", "rock", "snow", "water", "mixed"]>>;
45612
45649
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -47378,6 +47415,22 @@ declare const RouteInfoSchema: z.ZodObject<{
47378
47415
  altitude: z.ZodOptional<z.ZodNumber>;
47379
47416
  label: z.ZodOptional<z.ZodString>;
47380
47417
  }, z.ZodTypeAny, "passthrough">>, "many">>;
47418
+ waterPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
47419
+ lat: z.ZodOptional<z.ZodNumber>;
47420
+ lng: z.ZodOptional<z.ZodNumber>;
47421
+ altitude: z.ZodOptional<z.ZodNumber>;
47422
+ label: z.ZodOptional<z.ZodString>;
47423
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
47424
+ lat: z.ZodOptional<z.ZodNumber>;
47425
+ lng: z.ZodOptional<z.ZodNumber>;
47426
+ altitude: z.ZodOptional<z.ZodNumber>;
47427
+ label: z.ZodOptional<z.ZodString>;
47428
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
47429
+ lat: z.ZodOptional<z.ZodNumber>;
47430
+ lng: z.ZodOptional<z.ZodNumber>;
47431
+ altitude: z.ZodOptional<z.ZodNumber>;
47432
+ label: z.ZodOptional<z.ZodString>;
47433
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
47381
47434
  difficulty: z.ZodOptional<z.ZodEnum<["easy", "moderate", "challenging", "difficult", "expert"]>>;
47382
47435
  primarySurface: z.ZodOptional<z.ZodEnum<["paved", "gravel", "dirt", "sand", "grass", "cobblestone", "boardwalk", "rock", "snow", "water", "mixed"]>>;
47383
47436
  }, z.ZodTypeAny, "passthrough">>;
@@ -58171,4 +58224,4 @@ interface TRCItemGroup {
58171
58224
  }
58172
58225
  declare const TRCItemGroupSchema: z.ZodType<TRCItemGroup>;
58173
58226
 
58174
- export { type Address, AddressSchema, type Calendar, type CalendarComment, CalendarCommentSchema, type CalendarResponse, CalendarResponseSchema, CalendarSchema, type CalendarType, CalendarTypeSchema, type CanonicalConfig, CanonicalConfigSchema, type Category, CategorySchema, type CategoryTranslation, CategoryTranslationSchema, type CategoryValue, CategoryValueSchema, type CommentTranslation, CommentTranslationSchema, type Contactinfo, ContactinfoSchema, type ConvertedEntry, ConvertedEntrySchema, type DataType, DataTypeSchema, type DescriptionTranslation, DescriptionTranslationSchema, type Discount, DiscountSchema, type EntityType, EntityTypeSchema, type Event, type EventGroup, type EventLink, EventLinkSchema, type ExceptionDate, ExceptionDateSchema, type ExternalLocationInfo, ExternalLocationInfoSchema, type ExtraInformation, ExtraInformationSchema, type ExtraPriceInformation, ExtraPriceInformationSchema, type Fax, FaxSchema, type FetchedEntry, FetchedEntrySchema, type File, FileSchema, type FileType, FileTypeSchema, type GISCoordinate, GISCoordinateSchema, type LangCode, LangCodeSchema, type LatLng, LatLngSchema, type Location, type LocationItem, type LocationItemEntity, LocationItemSchema, LocationSchema, type Mail, MailSchema, type MediaType, MediaTypeSchema, type OGType, OGTypeSchema, type Open, OpenSchema, type PatternDate, PatternDateSchema, type Performer, PerformerSchema, type Phone, PhoneSchema, type Poi, type PoiCategory, PoiCategorySchema, PoiSchema, type PriceDescriptionValue, PriceDescriptionValueSchema, type PriceElement, type PriceElementComment, PriceElementCommentSchema, type PriceElementDescription, PriceElementDescriptionSchema, type PriceElementDescriptionTranslation, PriceElementDescriptionTranslationSchema, type PriceElementExtraPriceInformation, PriceElementExtraPriceInformationSchema, PriceElementSchema, type PriceValue, PriceValueSchema, type Promotion, PromotionSchema, type PromotionTranslation, PromotionTranslationSchema, type PromotionType, PromotionTypeSchema, type RecurrencyType, RecurrencyTypeSchema, type Route, type RouteDifficulty, RouteDifficultySchema, type RouteInfo, RouteInfoSchema, type RouteInfoType, RouteInfoTypeSchema, type RouteType, RouteTypeSchema, type SeoDetail, SeoDetailSchema, type SeoMetadata, SeoMetadataSchema, type SingleDate, SingleDateSchema, type StatusTranslation, StatusTranslationSchema, type SubItemGroup, SubItemGroupSchema, type SubItemTranslation, SubItemTranslationSchema, type SurfaceType, SurfaceTypeSchema, type TRCItem, type TRCItemCategories, TRCItemCategoriesSchema, type TRCItemDetail, TRCItemDetailSchema, type TRCItemGroup, TRCItemGroupSchema, type TRCItemResponse, TRCItemResponseSchema, TRCItemSchema, type Title, TitleSchema, type TitleTranslation, TitleTranslationSchema, type Translations, TranslationsSchema, type TrcitemRelation, TrcitemRelationSchema, type TwitterCardType, TwitterCardTypeSchema, type Type, TypeSchema, type URLServiceType, URLServiceTypeSchema, type Url, UrlSchema, type ValidityStrategy, ValidityStrategySchema, type Venue, type WFStatus, WFStatusSchema, type When, WhenSchema, type WhenStatus, WhenStatusSchema };
58227
+ export { type Address, AddressSchema, type Calendar, type CalendarComment, CalendarCommentSchema, type CalendarResponse, CalendarResponseSchema, CalendarSchema, type CalendarType, CalendarTypeSchema, type CanonicalConfig, CanonicalConfigSchema, type Category, CategorySchema, type CategoryTranslation, CategoryTranslationSchema, type CategoryValue, CategoryValueSchema, type CommentTranslation, CommentTranslationSchema, type Contactinfo, ContactinfoSchema, type ConvertedEntry, ConvertedEntrySchema, type DataType, DataTypeSchema, type DescriptionTranslation, DescriptionTranslationSchema, type Discount, DiscountSchema, type EntityType, EntityTypeSchema, type Event, type EventGroup, type EventLink, EventLinkSchema, type ExceptionDate, ExceptionDateSchema, type ExternalLocationInfo, ExternalLocationInfoSchema, type ExtraInformation, ExtraInformationSchema, type ExtraPriceInformation, ExtraPriceInformationSchema, type Fax, FaxSchema, type FetchedEntry, FetchedEntrySchema, type File, FileSchema, type FileType, FileTypeSchema, type GISCoordinate, GISCoordinateSchema, type LangCode, LangCodeSchema, type LatLng, LatLngSchema, type Location, type LocationItem, type LocationItemEntity, LocationItemSchema, LocationSchema, type Mail, MailSchema, type MediaType, MediaTypeSchema, type OGType, OGTypeSchema, type Open, OpenSchema, type PatternDate, PatternDateSchema, type Performer, PerformerSchema, type Phone, PhoneSchema, type Poi, type PoiCategory, PoiCategorySchema, PoiSchema, type PriceDescriptionValue, PriceDescriptionValueSchema, type PriceElement, type PriceElementComment, PriceElementCommentSchema, type PriceElementDescription, PriceElementDescriptionSchema, type PriceElementDescriptionTranslation, PriceElementDescriptionTranslationSchema, type PriceElementExtraPriceInformation, PriceElementExtraPriceInformationSchema, PriceElementSchema, type PriceValue, PriceValueSchema, type Promotion, PromotionSchema, type PromotionTranslation, PromotionTranslationSchema, type PromotionType, PromotionTypeSchema, type RecurrencyType, RecurrencyTypeSchema, type Route, type RouteDifficulty, RouteDifficultySchema, type RouteInfo, RouteInfoSchema, type RouteInfoType, RouteInfoTypeSchema, type RouteType, RouteTypeSchema, type SeoDetail, SeoDetailSchema, type SeoMetadata, SeoMetadataSchema, type SingleDate, SingleDateSchema, StandardPriceDescriptionValues, type StatusTranslation, StatusTranslationSchema, type SubItemGroup, SubItemGroupSchema, type SubItemTranslation, SubItemTranslationSchema, type SurfaceType, SurfaceTypeSchema, type TRCItem, type TRCItemCategories, TRCItemCategoriesSchema, type TRCItemDetail, TRCItemDetailSchema, type TRCItemGroup, TRCItemGroupSchema, type TRCItemResponse, TRCItemResponseSchema, TRCItemSchema, type Title, TitleSchema, type TitleTranslation, TitleTranslationSchema, type Translations, TranslationsSchema, type TrcitemRelation, TrcitemRelationSchema, type TwitterCardType, TwitterCardTypeSchema, type Type, TypeSchema, type URLServiceType, URLServiceTypeSchema, type Url, UrlSchema, type ValidityStrategy, ValidityStrategySchema, type Venue, type WFStatus, WFStatusSchema, type When, WhenSchema, type WhenStatus, WhenStatusSchema };
package/dist/index.d.ts CHANGED
@@ -39855,7 +39855,12 @@ declare const PerformerSchema: z.ZodObject<{
39855
39855
  }, z.ZodTypeAny, "passthrough">>;
39856
39856
  type Performer = z.infer<typeof PerformerSchema>;
39857
39857
 
39858
- declare const PriceDescriptionValueSchema: z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>;
39858
+ /**
39859
+ * Standard NDTRC-derived price-type values shipped as defaults/fallback.
39860
+ * Accounts may define their own values, so `value` is a free-form string.
39861
+ */
39862
+ declare const StandardPriceDescriptionValues: readonly ["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"];
39863
+ declare const PriceDescriptionValueSchema: z.ZodString;
39859
39864
  type PriceDescriptionValue = z.infer<typeof PriceDescriptionValueSchema>;
39860
39865
  declare const PriceElementDescriptionTranslationSchema: z.ZodObject<{
39861
39866
  lang: z.ZodOptional<z.ZodString>;
@@ -39899,7 +39904,7 @@ declare const PriceElementCommentSchema: z.ZodObject<{
39899
39904
  }, z.ZodTypeAny, "passthrough">>;
39900
39905
  type PriceElementComment = z.infer<typeof PriceElementCommentSchema>;
39901
39906
  declare const PriceElementDescriptionSchema: z.ZodObject<{
39902
- value: z.ZodOptional<z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>>;
39907
+ value: z.ZodOptional<z.ZodString>;
39903
39908
  descriptionTranslations: z.ZodOptional<z.ZodArray<z.ZodObject<{
39904
39909
  lang: z.ZodOptional<z.ZodString>;
39905
39910
  text: z.ZodOptional<z.ZodString>;
@@ -39911,7 +39916,7 @@ declare const PriceElementDescriptionSchema: z.ZodObject<{
39911
39916
  text: z.ZodOptional<z.ZodString>;
39912
39917
  }, z.ZodTypeAny, "passthrough">>, "many">>;
39913
39918
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
39914
- value: z.ZodOptional<z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>>;
39919
+ value: z.ZodOptional<z.ZodString>;
39915
39920
  descriptionTranslations: z.ZodOptional<z.ZodArray<z.ZodObject<{
39916
39921
  lang: z.ZodOptional<z.ZodString>;
39917
39922
  text: z.ZodOptional<z.ZodString>;
@@ -39923,7 +39928,7 @@ declare const PriceElementDescriptionSchema: z.ZodObject<{
39923
39928
  text: z.ZodOptional<z.ZodString>;
39924
39929
  }, z.ZodTypeAny, "passthrough">>, "many">>;
39925
39930
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
39926
- value: z.ZodOptional<z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>>;
39931
+ value: z.ZodOptional<z.ZodString>;
39927
39932
  descriptionTranslations: z.ZodOptional<z.ZodArray<z.ZodObject<{
39928
39933
  lang: z.ZodOptional<z.ZodString>;
39929
39934
  text: z.ZodOptional<z.ZodString>;
@@ -39949,7 +39954,7 @@ declare const PriceElementSchema: z.ZodObject<{
39949
39954
  until: z.ZodOptional<z.ZodNumber>;
39950
39955
  }, z.ZodTypeAny, "passthrough">>>;
39951
39956
  description: z.ZodOptional<z.ZodObject<{
39952
- value: z.ZodOptional<z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>>;
39957
+ value: z.ZodOptional<z.ZodString>;
39953
39958
  descriptionTranslations: z.ZodOptional<z.ZodArray<z.ZodObject<{
39954
39959
  lang: z.ZodOptional<z.ZodString>;
39955
39960
  text: z.ZodOptional<z.ZodString>;
@@ -39961,7 +39966,7 @@ declare const PriceElementSchema: z.ZodObject<{
39961
39966
  text: z.ZodOptional<z.ZodString>;
39962
39967
  }, z.ZodTypeAny, "passthrough">>, "many">>;
39963
39968
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
39964
- value: z.ZodOptional<z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>>;
39969
+ value: z.ZodOptional<z.ZodString>;
39965
39970
  descriptionTranslations: z.ZodOptional<z.ZodArray<z.ZodObject<{
39966
39971
  lang: z.ZodOptional<z.ZodString>;
39967
39972
  text: z.ZodOptional<z.ZodString>;
@@ -39973,7 +39978,7 @@ declare const PriceElementSchema: z.ZodObject<{
39973
39978
  text: z.ZodOptional<z.ZodString>;
39974
39979
  }, z.ZodTypeAny, "passthrough">>, "many">>;
39975
39980
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
39976
- value: z.ZodOptional<z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>>;
39981
+ value: z.ZodOptional<z.ZodString>;
39977
39982
  descriptionTranslations: z.ZodOptional<z.ZodArray<z.ZodObject<{
39978
39983
  lang: z.ZodOptional<z.ZodString>;
39979
39984
  text: z.ZodOptional<z.ZodString>;
@@ -40015,7 +40020,7 @@ declare const PriceElementSchema: z.ZodObject<{
40015
40020
  until: z.ZodOptional<z.ZodNumber>;
40016
40021
  }, z.ZodTypeAny, "passthrough">>>;
40017
40022
  description: z.ZodOptional<z.ZodObject<{
40018
- value: z.ZodOptional<z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>>;
40023
+ value: z.ZodOptional<z.ZodString>;
40019
40024
  descriptionTranslations: z.ZodOptional<z.ZodArray<z.ZodObject<{
40020
40025
  lang: z.ZodOptional<z.ZodString>;
40021
40026
  text: z.ZodOptional<z.ZodString>;
@@ -40027,7 +40032,7 @@ declare const PriceElementSchema: z.ZodObject<{
40027
40032
  text: z.ZodOptional<z.ZodString>;
40028
40033
  }, z.ZodTypeAny, "passthrough">>, "many">>;
40029
40034
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
40030
- value: z.ZodOptional<z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>>;
40035
+ value: z.ZodOptional<z.ZodString>;
40031
40036
  descriptionTranslations: z.ZodOptional<z.ZodArray<z.ZodObject<{
40032
40037
  lang: z.ZodOptional<z.ZodString>;
40033
40038
  text: z.ZodOptional<z.ZodString>;
@@ -40039,7 +40044,7 @@ declare const PriceElementSchema: z.ZodObject<{
40039
40044
  text: z.ZodOptional<z.ZodString>;
40040
40045
  }, z.ZodTypeAny, "passthrough">>, "many">>;
40041
40046
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
40042
- value: z.ZodOptional<z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>>;
40047
+ value: z.ZodOptional<z.ZodString>;
40043
40048
  descriptionTranslations: z.ZodOptional<z.ZodArray<z.ZodObject<{
40044
40049
  lang: z.ZodOptional<z.ZodString>;
40045
40050
  text: z.ZodOptional<z.ZodString>;
@@ -40081,7 +40086,7 @@ declare const PriceElementSchema: z.ZodObject<{
40081
40086
  until: z.ZodOptional<z.ZodNumber>;
40082
40087
  }, z.ZodTypeAny, "passthrough">>>;
40083
40088
  description: z.ZodOptional<z.ZodObject<{
40084
- value: z.ZodOptional<z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>>;
40089
+ value: z.ZodOptional<z.ZodString>;
40085
40090
  descriptionTranslations: z.ZodOptional<z.ZodArray<z.ZodObject<{
40086
40091
  lang: z.ZodOptional<z.ZodString>;
40087
40092
  text: z.ZodOptional<z.ZodString>;
@@ -40093,7 +40098,7 @@ declare const PriceElementSchema: z.ZodObject<{
40093
40098
  text: z.ZodOptional<z.ZodString>;
40094
40099
  }, z.ZodTypeAny, "passthrough">>, "many">>;
40095
40100
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
40096
- value: z.ZodOptional<z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>>;
40101
+ value: z.ZodOptional<z.ZodString>;
40097
40102
  descriptionTranslations: z.ZodOptional<z.ZodArray<z.ZodObject<{
40098
40103
  lang: z.ZodOptional<z.ZodString>;
40099
40104
  text: z.ZodOptional<z.ZodString>;
@@ -40105,7 +40110,7 @@ declare const PriceElementSchema: z.ZodObject<{
40105
40110
  text: z.ZodOptional<z.ZodString>;
40106
40111
  }, z.ZodTypeAny, "passthrough">>, "many">>;
40107
40112
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
40108
- value: z.ZodOptional<z.ZodEnum<["Adults", "Children", "Groups", "CJP", "Pasholders", "Lastminute"]>>;
40113
+ value: z.ZodOptional<z.ZodString>;
40109
40114
  descriptionTranslations: z.ZodOptional<z.ZodArray<z.ZodObject<{
40110
40115
  lang: z.ZodOptional<z.ZodString>;
40111
40116
  text: z.ZodOptional<z.ZodString>;
@@ -43836,6 +43841,22 @@ declare const RouteInfoSchema: z.ZodObject<{
43836
43841
  altitude: z.ZodOptional<z.ZodNumber>;
43837
43842
  label: z.ZodOptional<z.ZodString>;
43838
43843
  }, z.ZodTypeAny, "passthrough">>, "many">>;
43844
+ waterPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
43845
+ lat: z.ZodOptional<z.ZodNumber>;
43846
+ lng: z.ZodOptional<z.ZodNumber>;
43847
+ altitude: z.ZodOptional<z.ZodNumber>;
43848
+ label: z.ZodOptional<z.ZodString>;
43849
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
43850
+ lat: z.ZodOptional<z.ZodNumber>;
43851
+ lng: z.ZodOptional<z.ZodNumber>;
43852
+ altitude: z.ZodOptional<z.ZodNumber>;
43853
+ label: z.ZodOptional<z.ZodString>;
43854
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
43855
+ lat: z.ZodOptional<z.ZodNumber>;
43856
+ lng: z.ZodOptional<z.ZodNumber>;
43857
+ altitude: z.ZodOptional<z.ZodNumber>;
43858
+ label: z.ZodOptional<z.ZodString>;
43859
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
43839
43860
  difficulty: z.ZodOptional<z.ZodEnum<["easy", "moderate", "challenging", "difficult", "expert"]>>;
43840
43861
  primarySurface: z.ZodOptional<z.ZodEnum<["paved", "gravel", "dirt", "sand", "grass", "cobblestone", "boardwalk", "rock", "snow", "water", "mixed"]>>;
43841
43862
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -45607,6 +45628,22 @@ declare const RouteInfoSchema: z.ZodObject<{
45607
45628
  altitude: z.ZodOptional<z.ZodNumber>;
45608
45629
  label: z.ZodOptional<z.ZodString>;
45609
45630
  }, z.ZodTypeAny, "passthrough">>, "many">>;
45631
+ waterPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
45632
+ lat: z.ZodOptional<z.ZodNumber>;
45633
+ lng: z.ZodOptional<z.ZodNumber>;
45634
+ altitude: z.ZodOptional<z.ZodNumber>;
45635
+ label: z.ZodOptional<z.ZodString>;
45636
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
45637
+ lat: z.ZodOptional<z.ZodNumber>;
45638
+ lng: z.ZodOptional<z.ZodNumber>;
45639
+ altitude: z.ZodOptional<z.ZodNumber>;
45640
+ label: z.ZodOptional<z.ZodString>;
45641
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
45642
+ lat: z.ZodOptional<z.ZodNumber>;
45643
+ lng: z.ZodOptional<z.ZodNumber>;
45644
+ altitude: z.ZodOptional<z.ZodNumber>;
45645
+ label: z.ZodOptional<z.ZodString>;
45646
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
45610
45647
  difficulty: z.ZodOptional<z.ZodEnum<["easy", "moderate", "challenging", "difficult", "expert"]>>;
45611
45648
  primarySurface: z.ZodOptional<z.ZodEnum<["paved", "gravel", "dirt", "sand", "grass", "cobblestone", "boardwalk", "rock", "snow", "water", "mixed"]>>;
45612
45649
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -47378,6 +47415,22 @@ declare const RouteInfoSchema: z.ZodObject<{
47378
47415
  altitude: z.ZodOptional<z.ZodNumber>;
47379
47416
  label: z.ZodOptional<z.ZodString>;
47380
47417
  }, z.ZodTypeAny, "passthrough">>, "many">>;
47418
+ waterPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
47419
+ lat: z.ZodOptional<z.ZodNumber>;
47420
+ lng: z.ZodOptional<z.ZodNumber>;
47421
+ altitude: z.ZodOptional<z.ZodNumber>;
47422
+ label: z.ZodOptional<z.ZodString>;
47423
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
47424
+ lat: z.ZodOptional<z.ZodNumber>;
47425
+ lng: z.ZodOptional<z.ZodNumber>;
47426
+ altitude: z.ZodOptional<z.ZodNumber>;
47427
+ label: z.ZodOptional<z.ZodString>;
47428
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
47429
+ lat: z.ZodOptional<z.ZodNumber>;
47430
+ lng: z.ZodOptional<z.ZodNumber>;
47431
+ altitude: z.ZodOptional<z.ZodNumber>;
47432
+ label: z.ZodOptional<z.ZodString>;
47433
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
47381
47434
  difficulty: z.ZodOptional<z.ZodEnum<["easy", "moderate", "challenging", "difficult", "expert"]>>;
47382
47435
  primarySurface: z.ZodOptional<z.ZodEnum<["paved", "gravel", "dirt", "sand", "grass", "cobblestone", "boardwalk", "rock", "snow", "water", "mixed"]>>;
47383
47436
  }, z.ZodTypeAny, "passthrough">>;
@@ -58171,4 +58224,4 @@ interface TRCItemGroup {
58171
58224
  }
58172
58225
  declare const TRCItemGroupSchema: z.ZodType<TRCItemGroup>;
58173
58226
 
58174
- export { type Address, AddressSchema, type Calendar, type CalendarComment, CalendarCommentSchema, type CalendarResponse, CalendarResponseSchema, CalendarSchema, type CalendarType, CalendarTypeSchema, type CanonicalConfig, CanonicalConfigSchema, type Category, CategorySchema, type CategoryTranslation, CategoryTranslationSchema, type CategoryValue, CategoryValueSchema, type CommentTranslation, CommentTranslationSchema, type Contactinfo, ContactinfoSchema, type ConvertedEntry, ConvertedEntrySchema, type DataType, DataTypeSchema, type DescriptionTranslation, DescriptionTranslationSchema, type Discount, DiscountSchema, type EntityType, EntityTypeSchema, type Event, type EventGroup, type EventLink, EventLinkSchema, type ExceptionDate, ExceptionDateSchema, type ExternalLocationInfo, ExternalLocationInfoSchema, type ExtraInformation, ExtraInformationSchema, type ExtraPriceInformation, ExtraPriceInformationSchema, type Fax, FaxSchema, type FetchedEntry, FetchedEntrySchema, type File, FileSchema, type FileType, FileTypeSchema, type GISCoordinate, GISCoordinateSchema, type LangCode, LangCodeSchema, type LatLng, LatLngSchema, type Location, type LocationItem, type LocationItemEntity, LocationItemSchema, LocationSchema, type Mail, MailSchema, type MediaType, MediaTypeSchema, type OGType, OGTypeSchema, type Open, OpenSchema, type PatternDate, PatternDateSchema, type Performer, PerformerSchema, type Phone, PhoneSchema, type Poi, type PoiCategory, PoiCategorySchema, PoiSchema, type PriceDescriptionValue, PriceDescriptionValueSchema, type PriceElement, type PriceElementComment, PriceElementCommentSchema, type PriceElementDescription, PriceElementDescriptionSchema, type PriceElementDescriptionTranslation, PriceElementDescriptionTranslationSchema, type PriceElementExtraPriceInformation, PriceElementExtraPriceInformationSchema, PriceElementSchema, type PriceValue, PriceValueSchema, type Promotion, PromotionSchema, type PromotionTranslation, PromotionTranslationSchema, type PromotionType, PromotionTypeSchema, type RecurrencyType, RecurrencyTypeSchema, type Route, type RouteDifficulty, RouteDifficultySchema, type RouteInfo, RouteInfoSchema, type RouteInfoType, RouteInfoTypeSchema, type RouteType, RouteTypeSchema, type SeoDetail, SeoDetailSchema, type SeoMetadata, SeoMetadataSchema, type SingleDate, SingleDateSchema, type StatusTranslation, StatusTranslationSchema, type SubItemGroup, SubItemGroupSchema, type SubItemTranslation, SubItemTranslationSchema, type SurfaceType, SurfaceTypeSchema, type TRCItem, type TRCItemCategories, TRCItemCategoriesSchema, type TRCItemDetail, TRCItemDetailSchema, type TRCItemGroup, TRCItemGroupSchema, type TRCItemResponse, TRCItemResponseSchema, TRCItemSchema, type Title, TitleSchema, type TitleTranslation, TitleTranslationSchema, type Translations, TranslationsSchema, type TrcitemRelation, TrcitemRelationSchema, type TwitterCardType, TwitterCardTypeSchema, type Type, TypeSchema, type URLServiceType, URLServiceTypeSchema, type Url, UrlSchema, type ValidityStrategy, ValidityStrategySchema, type Venue, type WFStatus, WFStatusSchema, type When, WhenSchema, type WhenStatus, WhenStatusSchema };
58227
+ export { type Address, AddressSchema, type Calendar, type CalendarComment, CalendarCommentSchema, type CalendarResponse, CalendarResponseSchema, CalendarSchema, type CalendarType, CalendarTypeSchema, type CanonicalConfig, CanonicalConfigSchema, type Category, CategorySchema, type CategoryTranslation, CategoryTranslationSchema, type CategoryValue, CategoryValueSchema, type CommentTranslation, CommentTranslationSchema, type Contactinfo, ContactinfoSchema, type ConvertedEntry, ConvertedEntrySchema, type DataType, DataTypeSchema, type DescriptionTranslation, DescriptionTranslationSchema, type Discount, DiscountSchema, type EntityType, EntityTypeSchema, type Event, type EventGroup, type EventLink, EventLinkSchema, type ExceptionDate, ExceptionDateSchema, type ExternalLocationInfo, ExternalLocationInfoSchema, type ExtraInformation, ExtraInformationSchema, type ExtraPriceInformation, ExtraPriceInformationSchema, type Fax, FaxSchema, type FetchedEntry, FetchedEntrySchema, type File, FileSchema, type FileType, FileTypeSchema, type GISCoordinate, GISCoordinateSchema, type LangCode, LangCodeSchema, type LatLng, LatLngSchema, type Location, type LocationItem, type LocationItemEntity, LocationItemSchema, LocationSchema, type Mail, MailSchema, type MediaType, MediaTypeSchema, type OGType, OGTypeSchema, type Open, OpenSchema, type PatternDate, PatternDateSchema, type Performer, PerformerSchema, type Phone, PhoneSchema, type Poi, type PoiCategory, PoiCategorySchema, PoiSchema, type PriceDescriptionValue, PriceDescriptionValueSchema, type PriceElement, type PriceElementComment, PriceElementCommentSchema, type PriceElementDescription, PriceElementDescriptionSchema, type PriceElementDescriptionTranslation, PriceElementDescriptionTranslationSchema, type PriceElementExtraPriceInformation, PriceElementExtraPriceInformationSchema, PriceElementSchema, type PriceValue, PriceValueSchema, type Promotion, PromotionSchema, type PromotionTranslation, PromotionTranslationSchema, type PromotionType, PromotionTypeSchema, type RecurrencyType, RecurrencyTypeSchema, type Route, type RouteDifficulty, RouteDifficultySchema, type RouteInfo, RouteInfoSchema, type RouteInfoType, RouteInfoTypeSchema, type RouteType, RouteTypeSchema, type SeoDetail, SeoDetailSchema, type SeoMetadata, SeoMetadataSchema, type SingleDate, SingleDateSchema, StandardPriceDescriptionValues, type StatusTranslation, StatusTranslationSchema, type SubItemGroup, SubItemGroupSchema, type SubItemTranslation, SubItemTranslationSchema, type SurfaceType, SurfaceTypeSchema, type TRCItem, type TRCItemCategories, TRCItemCategoriesSchema, type TRCItemDetail, TRCItemDetailSchema, type TRCItemGroup, TRCItemGroupSchema, type TRCItemResponse, TRCItemResponseSchema, TRCItemSchema, type Title, TitleSchema, type TitleTranslation, TitleTranslationSchema, type Translations, TranslationsSchema, type TrcitemRelation, TrcitemRelationSchema, type TwitterCardType, TwitterCardTypeSchema, type Type, TypeSchema, type URLServiceType, URLServiceTypeSchema, type Url, UrlSchema, type ValidityStrategy, ValidityStrategySchema, type Venue, type WFStatus, WFStatusSchema, type When, WhenSchema, type WhenStatus, WhenStatusSchema };
package/dist/index.js CHANGED
@@ -298,14 +298,15 @@ var PerformerSchema = z9.object({
298
298
 
299
299
  // src/price-element.ts
300
300
  import { z as z10 } from "zod";
301
- var PriceDescriptionValueSchema = z10.enum([
301
+ var StandardPriceDescriptionValues = [
302
302
  "Adults",
303
303
  "Children",
304
304
  "Groups",
305
305
  "CJP",
306
306
  "Pasholders",
307
307
  "Lastminute"
308
- ]);
308
+ ];
309
+ var PriceDescriptionValueSchema = z10.string();
309
310
  var PriceElementDescriptionTranslationSchema = z10.object({
310
311
  lang: LangCodeSchema.optional(),
311
312
  text: z10.string().optional()
@@ -498,6 +499,7 @@ var RouteInfoSchema = z13.object({
498
499
  pois: z13.array(PoiSchema).optional(),
499
500
  routeCoordinates: z13.array(LatLngSchema).optional(),
500
501
  calculatedCoordinates: z13.array(LatLngSchema).optional(),
502
+ waterPoints: z13.array(LatLngSchema).optional(),
501
503
  difficulty: RouteDifficultySchema.optional(),
502
504
  primarySurface: SurfaceTypeSchema.optional()
503
505
  }).passthrough();
@@ -802,6 +804,7 @@ export {
802
804
  SeoDetailSchema,
803
805
  SeoMetadataSchema,
804
806
  SingleDateSchema,
807
+ StandardPriceDescriptionValues,
805
808
  StatusTranslationSchema,
806
809
  SubItemGroupSchema,
807
810
  SubItemTranslationSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eventconnectors/ndtrc_model",
3
- "version": "1.2.1",
3
+ "version": "1.4.0",
4
4
  "description": "Zod schemas for the NDTRC tourism data model — TypeScript port of the Groovy ndtrc_model library",
5
5
  "keywords": [
6
6
  "ndtrc",