@mtnmanager/sdk 1.7.2 → 1.7.4
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/esm/models/Amenity.js +2 -2
- package/dist/esm/models/AmenityCalendarEntry.js +2 -2
- package/dist/esm/models/AmenityCategory.d.ts +1 -0
- package/dist/esm/models/AmenityCategory.js +2 -1
- package/dist/esm/models/CalendarDay.js +4 -4
- package/dist/esm/models/ClosureReason.d.ts +1 -0
- package/dist/esm/models/ClosureReason.js +2 -1
- package/dist/esm/models/CurrentWeather.js +2 -2
- package/dist/esm/models/CurrentWeatherImperial.js +3 -3
- package/dist/esm/models/CurrentWeatherMetric.js +3 -3
- package/dist/esm/models/DailyForecast.js +1 -1
- package/dist/esm/models/DailyForecastImperial.js +4 -4
- package/dist/esm/models/DailyForecastMetric.js +4 -4
- package/dist/esm/models/DayOfWeek.d.ts +1 -0
- package/dist/esm/models/DayOfWeek.js +2 -1
- package/dist/esm/models/FeatureSize.d.ts +1 -0
- package/dist/esm/models/FeatureSize.js +2 -1
- package/dist/esm/models/FeatureType.d.ts +1 -0
- package/dist/esm/models/FeatureType.js +2 -1
- package/dist/esm/models/HourlyForecast.js +1 -1
- package/dist/esm/models/HourlyForecastImperial.js +4 -4
- package/dist/esm/models/HourlyForecastMetric.js +4 -4
- package/dist/esm/models/Lift.js +12 -12
- package/dist/esm/models/LiftStatus.d.ts +1 -0
- package/dist/esm/models/LiftStatus.js +2 -1
- package/dist/esm/models/LiftType.d.ts +1 -0
- package/dist/esm/models/LiftType.js +2 -1
- package/dist/esm/models/MarkerIcon.d.ts +1 -0
- package/dist/esm/models/MarkerIcon.js +2 -1
- package/dist/esm/models/Overview.js +2 -2
- package/dist/esm/models/OverviewLifts.js +1 -1
- package/dist/esm/models/OverviewRuns.js +4 -4
- package/dist/esm/models/OverviewSummerTrails.js +1 -1
- package/dist/esm/models/OverviewTerrainParks.js +1 -1
- package/dist/esm/models/ParkingLot.js +1 -1
- package/dist/esm/models/ParkingLotStatus.d.ts +1 -0
- package/dist/esm/models/ParkingLotStatus.js +2 -1
- package/dist/esm/models/Region.d.ts +1 -0
- package/dist/esm/models/Region.js +2 -1
- package/dist/esm/models/ResortInfo.js +1 -1
- package/dist/esm/models/ResortStatus.d.ts +1 -0
- package/dist/esm/models/ResortStatus.js +2 -1
- package/dist/esm/models/Run.js +5 -5
- package/dist/esm/models/RunDifficulty.d.ts +1 -0
- package/dist/esm/models/RunDifficulty.js +2 -1
- package/dist/esm/models/RunStatus.d.ts +1 -0
- package/dist/esm/models/RunStatus.js +2 -1
- package/dist/esm/models/SeasonType.d.ts +1 -0
- package/dist/esm/models/SeasonType.js +2 -1
- package/dist/esm/models/SnowReport.js +7 -7
- package/dist/esm/models/SummerTrail.js +5 -5
- package/dist/esm/models/SummerTrailDifficulty.d.ts +1 -0
- package/dist/esm/models/SummerTrailDifficulty.js +2 -1
- package/dist/esm/models/SummerTrailStatus.d.ts +1 -0
- package/dist/esm/models/SummerTrailStatus.js +2 -1
- package/dist/esm/models/SummerTrailType.d.ts +1 -0
- package/dist/esm/models/SummerTrailType.js +2 -1
- package/dist/esm/models/SurfaceCondition.d.ts +1 -0
- package/dist/esm/models/SurfaceCondition.js +2 -1
- package/dist/esm/models/TerrainPark.js +4 -4
- package/dist/esm/models/TerrainParkFeature.js +2 -2
- package/dist/esm/models/TerrainParkFeatureStatus.d.ts +1 -0
- package/dist/esm/models/TerrainParkFeatureStatus.js +2 -1
- package/dist/esm/models/TerrainParkStatus.d.ts +1 -0
- package/dist/esm/models/TerrainParkStatus.js +2 -1
- package/dist/esm/models/TrailMapElementOneOf.d.ts +1 -0
- package/dist/esm/models/TrailMapElementOneOf.js +4 -3
- package/dist/esm/models/TrailMapElementOneOf1.d.ts +1 -0
- package/dist/esm/models/TrailMapElementOneOf1.js +4 -3
- package/dist/esm/models/TrailMapElementOneOf2.d.ts +1 -0
- package/dist/esm/models/TrailMapElementOneOf2.js +5 -4
- package/dist/esm/models/TrailMapElementOneOf3.d.ts +1 -0
- package/dist/esm/models/TrailMapElementOneOf3.js +4 -3
- package/dist/esm/models/TrailMapElementOneOf4.d.ts +1 -0
- package/dist/esm/models/TrailMapElementOneOf4.js +6 -5
- package/dist/esm/models/TrailMapElementOneOf5.d.ts +1 -0
- package/dist/esm/models/TrailMapElementOneOf5.js +6 -5
- package/dist/esm/models/TrailMapElementOneOf6.d.ts +1 -0
- package/dist/esm/models/TrailMapElementOneOf6.js +6 -5
- package/dist/esm/models/TrailMapElementOneOf7.d.ts +1 -0
- package/dist/esm/models/TrailMapElementOneOf7.js +6 -5
- package/dist/esm/models/TrailMapSummary.js +1 -1
- package/dist/esm/models/UnitPreference.d.ts +1 -0
- package/dist/esm/models/UnitPreference.js +2 -1
- package/dist/esm/models/Weather.js +3 -3
- package/dist/esm/models/WeatherConditionCode.d.ts +1 -0
- package/dist/esm/models/WeatherConditionCode.js +2 -1
- package/dist/esm/models/Webcam.js +6 -6
- package/dist/esm/models/WebcamHistoryQuery.js +2 -2
- package/dist/esm/runtime.d.ts +1 -0
- package/dist/esm/runtime.js +6 -1
- package/dist/models/Amenity.js +2 -2
- package/dist/models/AmenityCalendarEntry.js +2 -2
- package/dist/models/AmenityCategory.d.ts +1 -0
- package/dist/models/AmenityCategory.js +2 -1
- package/dist/models/CalendarDay.js +4 -4
- package/dist/models/ClosureReason.d.ts +1 -0
- package/dist/models/ClosureReason.js +2 -1
- package/dist/models/CurrentWeather.js +2 -2
- package/dist/models/CurrentWeatherImperial.js +3 -3
- package/dist/models/CurrentWeatherMetric.js +3 -3
- package/dist/models/DailyForecast.js +1 -1
- package/dist/models/DailyForecastImperial.js +4 -4
- package/dist/models/DailyForecastMetric.js +4 -4
- package/dist/models/DayOfWeek.d.ts +1 -0
- package/dist/models/DayOfWeek.js +2 -1
- package/dist/models/FeatureSize.d.ts +1 -0
- package/dist/models/FeatureSize.js +2 -1
- package/dist/models/FeatureType.d.ts +1 -0
- package/dist/models/FeatureType.js +2 -1
- package/dist/models/HourlyForecast.js +1 -1
- package/dist/models/HourlyForecastImperial.js +4 -4
- package/dist/models/HourlyForecastMetric.js +4 -4
- package/dist/models/Lift.js +12 -12
- package/dist/models/LiftStatus.d.ts +1 -0
- package/dist/models/LiftStatus.js +2 -1
- package/dist/models/LiftType.d.ts +1 -0
- package/dist/models/LiftType.js +2 -1
- package/dist/models/MarkerIcon.d.ts +1 -0
- package/dist/models/MarkerIcon.js +2 -1
- package/dist/models/Overview.js +2 -2
- package/dist/models/OverviewLifts.js +1 -1
- package/dist/models/OverviewRuns.js +4 -4
- package/dist/models/OverviewSummerTrails.js +1 -1
- package/dist/models/OverviewTerrainParks.js +1 -1
- package/dist/models/ParkingLot.js +1 -1
- package/dist/models/ParkingLotStatus.d.ts +1 -0
- package/dist/models/ParkingLotStatus.js +2 -1
- package/dist/models/Region.d.ts +1 -0
- package/dist/models/Region.js +2 -1
- package/dist/models/ResortInfo.js +1 -1
- package/dist/models/ResortStatus.d.ts +1 -0
- package/dist/models/ResortStatus.js +2 -1
- package/dist/models/Run.js +5 -5
- package/dist/models/RunDifficulty.d.ts +1 -0
- package/dist/models/RunDifficulty.js +2 -1
- package/dist/models/RunStatus.d.ts +1 -0
- package/dist/models/RunStatus.js +2 -1
- package/dist/models/SeasonType.d.ts +1 -0
- package/dist/models/SeasonType.js +2 -1
- package/dist/models/SnowReport.js +7 -7
- package/dist/models/SummerTrail.js +5 -5
- package/dist/models/SummerTrailDifficulty.d.ts +1 -0
- package/dist/models/SummerTrailDifficulty.js +2 -1
- package/dist/models/SummerTrailStatus.d.ts +1 -0
- package/dist/models/SummerTrailStatus.js +2 -1
- package/dist/models/SummerTrailType.d.ts +1 -0
- package/dist/models/SummerTrailType.js +2 -1
- package/dist/models/SurfaceCondition.d.ts +1 -0
- package/dist/models/SurfaceCondition.js +2 -1
- package/dist/models/TerrainPark.js +4 -4
- package/dist/models/TerrainParkFeature.js +2 -2
- package/dist/models/TerrainParkFeatureStatus.d.ts +1 -0
- package/dist/models/TerrainParkFeatureStatus.js +2 -1
- package/dist/models/TerrainParkStatus.d.ts +1 -0
- package/dist/models/TerrainParkStatus.js +2 -1
- package/dist/models/TrailMapElementOneOf.d.ts +1 -0
- package/dist/models/TrailMapElementOneOf.js +4 -3
- package/dist/models/TrailMapElementOneOf1.d.ts +1 -0
- package/dist/models/TrailMapElementOneOf1.js +4 -3
- package/dist/models/TrailMapElementOneOf2.d.ts +1 -0
- package/dist/models/TrailMapElementOneOf2.js +5 -4
- package/dist/models/TrailMapElementOneOf3.d.ts +1 -0
- package/dist/models/TrailMapElementOneOf3.js +4 -3
- package/dist/models/TrailMapElementOneOf4.d.ts +1 -0
- package/dist/models/TrailMapElementOneOf4.js +6 -5
- package/dist/models/TrailMapElementOneOf5.d.ts +1 -0
- package/dist/models/TrailMapElementOneOf5.js +6 -5
- package/dist/models/TrailMapElementOneOf6.d.ts +1 -0
- package/dist/models/TrailMapElementOneOf6.js +6 -5
- package/dist/models/TrailMapElementOneOf7.d.ts +1 -0
- package/dist/models/TrailMapElementOneOf7.js +6 -5
- package/dist/models/TrailMapSummary.js +1 -1
- package/dist/models/UnitPreference.d.ts +1 -0
- package/dist/models/UnitPreference.js +2 -1
- package/dist/models/Weather.js +3 -3
- package/dist/models/WeatherConditionCode.d.ts +1 -0
- package/dist/models/WeatherConditionCode.js +2 -1
- package/dist/models/Webcam.js +6 -6
- package/dist/models/WebcamHistoryQuery.js +2 -2
- package/dist/runtime.d.ts +1 -0
- package/dist/runtime.js +7 -1
- package/package.json +1 -1
|
@@ -42,8 +42,8 @@ function AmenityCalendarEntryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'uuid': json['uuid'],
|
|
43
43
|
'name': json['name'],
|
|
44
44
|
'category': (0, AmenityCategory_1.AmenityCategoryFromJSON)(json['category']),
|
|
45
|
-
'opensAt': json['opens_at']
|
|
46
|
-
'closesAt': json['closes_at']
|
|
45
|
+
'opensAt': json['opens_at'] === undefined ? undefined : json['opens_at'] === null ? null : json['opens_at'],
|
|
46
|
+
'closesAt': json['closes_at'] === undefined ? undefined : json['closes_at'] === null ? null : json['closes_at'],
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
function AmenityCalendarEntryToJSON(json) {
|
|
@@ -27,6 +27,7 @@ export declare const AmenityCategory: {
|
|
|
27
27
|
readonly Lockers: "lockers";
|
|
28
28
|
readonly Retail: "retail";
|
|
29
29
|
readonly Other: "other";
|
|
30
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
30
31
|
};
|
|
31
32
|
export type AmenityCategory = typeof AmenityCategory[keyof typeof AmenityCategory];
|
|
32
33
|
export declare function instanceOfAmenityCategory(value: any): boolean;
|
|
@@ -36,7 +36,8 @@ exports.AmenityCategory = {
|
|
|
36
36
|
Hotel: 'hotel',
|
|
37
37
|
Lockers: 'lockers',
|
|
38
38
|
Retail: 'retail',
|
|
39
|
-
Other: 'other'
|
|
39
|
+
Other: 'other',
|
|
40
|
+
UnknownDefaultOpenApi: '11184809'
|
|
40
41
|
};
|
|
41
42
|
function instanceOfAmenityCategory(value) {
|
|
42
43
|
for (const key in exports.AmenityCategory) {
|
|
@@ -44,10 +44,10 @@ function CalendarDayFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
44
|
'date': (new Date(json['date'])),
|
|
45
45
|
'dayOfWeek': (0, DayOfWeek_1.DayOfWeekFromJSON)(json['day_of_week']),
|
|
46
46
|
'isOpen': json['is_open'],
|
|
47
|
-
'opensAt': json['opens_at']
|
|
48
|
-
'closesAt': json['closes_at']
|
|
49
|
-
'closureReason': json['closure_reason']
|
|
50
|
-
'specialEvent': json['special_event']
|
|
47
|
+
'opensAt': json['opens_at'] === undefined ? undefined : json['opens_at'] === null ? null : json['opens_at'],
|
|
48
|
+
'closesAt': json['closes_at'] === undefined ? undefined : json['closes_at'] === null ? null : json['closes_at'],
|
|
49
|
+
'closureReason': json['closure_reason'] === undefined ? undefined : json['closure_reason'] === null ? null : (0, ClosureReason_1.ClosureReasonFromJSON)(json['closure_reason']),
|
|
50
|
+
'specialEvent': json['special_event'] === undefined ? undefined : json['special_event'] === null ? null : json['special_event'],
|
|
51
51
|
'amenities': json['amenities'] == null ? undefined : (json['amenities'].map(AmenityCalendarEntry_1.AmenityCalendarEntryFromJSON)),
|
|
52
52
|
};
|
|
53
53
|
}
|
|
@@ -18,6 +18,7 @@ export declare const ClosureReason: {
|
|
|
18
18
|
readonly HighWinds: "high_winds";
|
|
19
19
|
readonly SnowConditions: "snow_conditions";
|
|
20
20
|
readonly MechanicalIssues: "mechanical_issues";
|
|
21
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
21
22
|
};
|
|
22
23
|
export type ClosureReason = typeof ClosureReason[keyof typeof ClosureReason];
|
|
23
24
|
export declare function instanceOfClosureReason(value: any): boolean;
|
|
@@ -27,7 +27,8 @@ exports.ClosureReason = {
|
|
|
27
27
|
ExtremeCold: 'extreme_cold',
|
|
28
28
|
HighWinds: 'high_winds',
|
|
29
29
|
SnowConditions: 'snow_conditions',
|
|
30
|
-
MechanicalIssues: 'mechanical_issues'
|
|
30
|
+
MechanicalIssues: 'mechanical_issues',
|
|
31
|
+
UnknownDefaultOpenApi: '11184809'
|
|
31
32
|
};
|
|
32
33
|
function instanceOfClosureReason(value) {
|
|
33
34
|
for (const key in exports.ClosureReason) {
|
|
@@ -49,8 +49,8 @@ function CurrentWeatherFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
49
|
'metric': (0, CurrentWeatherMetric_1.CurrentWeatherMetricFromJSON)(json['metric']),
|
|
50
50
|
'condition': json['condition'],
|
|
51
51
|
'conditionCode': (0, WeatherConditionCode_1.WeatherConditionCodeFromJSON)(json['condition_code']),
|
|
52
|
-
'windDirection': json['wind_direction']
|
|
53
|
-
'windDirectionCardinal': json['wind_direction_cardinal']
|
|
52
|
+
'windDirection': json['wind_direction'] === undefined ? undefined : json['wind_direction'] === null ? null : json['wind_direction'],
|
|
53
|
+
'windDirectionCardinal': json['wind_direction_cardinal'] === undefined ? undefined : json['wind_direction_cardinal'] === null ? null : json['wind_direction_cardinal'],
|
|
54
54
|
'timestamp': (new Date(json['timestamp'])),
|
|
55
55
|
};
|
|
56
56
|
}
|
|
@@ -40,10 +40,10 @@ function CurrentWeatherImperialFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
return {
|
|
41
41
|
'temperature': json['temperature'],
|
|
42
42
|
'feelsLike': json['feels_like'],
|
|
43
|
-
'snowfall': json['snowfall']
|
|
44
|
-
'precipitation': json['precipitation']
|
|
43
|
+
'snowfall': json['snowfall'] === undefined ? undefined : json['snowfall'] === null ? null : json['snowfall'],
|
|
44
|
+
'precipitation': json['precipitation'] === undefined ? undefined : json['precipitation'] === null ? null : json['precipitation'],
|
|
45
45
|
'windSpeed': json['wind_speed'],
|
|
46
|
-
'windGust': json['wind_gust']
|
|
46
|
+
'windGust': json['wind_gust'] === undefined ? undefined : json['wind_gust'] === null ? null : json['wind_gust'],
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
function CurrentWeatherImperialToJSON(json) {
|
|
@@ -40,10 +40,10 @@ function CurrentWeatherMetricFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
return {
|
|
41
41
|
'temperature': json['temperature'],
|
|
42
42
|
'feelsLike': json['feels_like'],
|
|
43
|
-
'snowfall': json['snowfall']
|
|
44
|
-
'precipitation': json['precipitation']
|
|
43
|
+
'snowfall': json['snowfall'] === undefined ? undefined : json['snowfall'] === null ? null : json['snowfall'],
|
|
44
|
+
'precipitation': json['precipitation'] === undefined ? undefined : json['precipitation'] === null ? null : json['precipitation'],
|
|
45
45
|
'windSpeed': json['wind_speed'],
|
|
46
|
-
'windGust': json['wind_gust']
|
|
46
|
+
'windGust': json['wind_gust'] === undefined ? undefined : json['wind_gust'] === null ? null : json['wind_gust'],
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
function CurrentWeatherMetricToJSON(json) {
|
|
@@ -54,7 +54,7 @@ function DailyForecastFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
54
|
'metric': (0, DailyForecastMetric_1.DailyForecastMetricFromJSON)(json['metric']),
|
|
55
55
|
'condition': json['condition'],
|
|
56
56
|
'conditionCode': (0, WeatherConditionCode_1.WeatherConditionCodeFromJSON)(json['condition_code']),
|
|
57
|
-
'precipitationProbability': json['precipitation_probability']
|
|
57
|
+
'precipitationProbability': json['precipitation_probability'] === undefined ? undefined : json['precipitation_probability'] === null ? null : json['precipitation_probability'],
|
|
58
58
|
'sunrise': (new Date(json['sunrise'])),
|
|
59
59
|
'sunset': (new Date(json['sunset'])),
|
|
60
60
|
};
|
|
@@ -38,10 +38,10 @@ function DailyForecastImperialFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
return {
|
|
39
39
|
'temperatureHigh': json['temperature_high'],
|
|
40
40
|
'temperatureLow': json['temperature_low'],
|
|
41
|
-
'snowfallTotal': json['snowfall_total']
|
|
42
|
-
'precipitationTotal': json['precipitation_total']
|
|
43
|
-
'windSpeedMax': json['wind_speed_max']
|
|
44
|
-
'windGustMax': json['wind_gust_max']
|
|
41
|
+
'snowfallTotal': json['snowfall_total'] === undefined ? undefined : json['snowfall_total'] === null ? null : json['snowfall_total'],
|
|
42
|
+
'precipitationTotal': json['precipitation_total'] === undefined ? undefined : json['precipitation_total'] === null ? null : json['precipitation_total'],
|
|
43
|
+
'windSpeedMax': json['wind_speed_max'] === undefined ? undefined : json['wind_speed_max'] === null ? null : json['wind_speed_max'],
|
|
44
|
+
'windGustMax': json['wind_gust_max'] === undefined ? undefined : json['wind_gust_max'] === null ? null : json['wind_gust_max'],
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
function DailyForecastImperialToJSON(json) {
|
|
@@ -38,10 +38,10 @@ function DailyForecastMetricFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
return {
|
|
39
39
|
'temperatureHigh': json['temperature_high'],
|
|
40
40
|
'temperatureLow': json['temperature_low'],
|
|
41
|
-
'snowfallTotal': json['snowfall_total']
|
|
42
|
-
'precipitationTotal': json['precipitation_total']
|
|
43
|
-
'windSpeedMax': json['wind_speed_max']
|
|
44
|
-
'windGustMax': json['wind_gust_max']
|
|
41
|
+
'snowfallTotal': json['snowfall_total'] === undefined ? undefined : json['snowfall_total'] === null ? null : json['snowfall_total'],
|
|
42
|
+
'precipitationTotal': json['precipitation_total'] === undefined ? undefined : json['precipitation_total'] === null ? null : json['precipitation_total'],
|
|
43
|
+
'windSpeedMax': json['wind_speed_max'] === undefined ? undefined : json['wind_speed_max'] === null ? null : json['wind_speed_max'],
|
|
44
|
+
'windGustMax': json['wind_gust_max'] === undefined ? undefined : json['wind_gust_max'] === null ? null : json['wind_gust_max'],
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
function DailyForecastMetricToJSON(json) {
|
|
@@ -21,6 +21,7 @@ export declare const DayOfWeek: {
|
|
|
21
21
|
readonly Thursday: "Thursday";
|
|
22
22
|
readonly Friday: "Friday";
|
|
23
23
|
readonly Saturday: "Saturday";
|
|
24
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
24
25
|
};
|
|
25
26
|
export type DayOfWeek = typeof DayOfWeek[keyof typeof DayOfWeek];
|
|
26
27
|
export declare function instanceOfDayOfWeek(value: any): boolean;
|
package/dist/models/DayOfWeek.js
CHANGED
|
@@ -30,7 +30,8 @@ exports.DayOfWeek = {
|
|
|
30
30
|
Wednesday: 'Wednesday',
|
|
31
31
|
Thursday: 'Thursday',
|
|
32
32
|
Friday: 'Friday',
|
|
33
|
-
Saturday: 'Saturday'
|
|
33
|
+
Saturday: 'Saturday',
|
|
34
|
+
UnknownDefaultOpenApi: '11184809'
|
|
34
35
|
};
|
|
35
36
|
function instanceOfDayOfWeek(value) {
|
|
36
37
|
for (const key in exports.DayOfWeek) {
|
|
@@ -18,6 +18,7 @@ export declare const FeatureSize: {
|
|
|
18
18
|
readonly M: "m";
|
|
19
19
|
readonly L: "l";
|
|
20
20
|
readonly Xl: "xl";
|
|
21
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
21
22
|
};
|
|
22
23
|
export type FeatureSize = typeof FeatureSize[keyof typeof FeatureSize];
|
|
23
24
|
export declare function instanceOfFeatureSize(value: any): boolean;
|
|
@@ -18,6 +18,7 @@ export declare const FeatureType: {
|
|
|
18
18
|
readonly Box: "box";
|
|
19
19
|
readonly Rail: "rail";
|
|
20
20
|
readonly Other: "other";
|
|
21
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
21
22
|
};
|
|
22
23
|
export type FeatureType = typeof FeatureType[keyof typeof FeatureType];
|
|
23
24
|
export declare function instanceOfFeatureType(value: any): boolean;
|
|
@@ -50,7 +50,7 @@ function HourlyForecastFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
50
|
'metric': (0, HourlyForecastMetric_1.HourlyForecastMetricFromJSON)(json['metric']),
|
|
51
51
|
'condition': json['condition'],
|
|
52
52
|
'conditionCode': (0, WeatherConditionCode_1.WeatherConditionCodeFromJSON)(json['condition_code']),
|
|
53
|
-
'precipitationProbability': json['precipitation_probability']
|
|
53
|
+
'precipitationProbability': json['precipitation_probability'] === undefined ? undefined : json['precipitation_probability'] === null ? null : json['precipitation_probability'],
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
56
|
function HourlyForecastToJSON(json) {
|
|
@@ -37,11 +37,11 @@ function HourlyForecastImperialFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
}
|
|
38
38
|
return {
|
|
39
39
|
'temperature': json['temperature'],
|
|
40
|
-
'feelsLike': json['feels_like']
|
|
41
|
-
'snowfall': json['snowfall']
|
|
42
|
-
'precipitation': json['precipitation']
|
|
40
|
+
'feelsLike': json['feels_like'] === undefined ? undefined : json['feels_like'] === null ? null : json['feels_like'],
|
|
41
|
+
'snowfall': json['snowfall'] === undefined ? undefined : json['snowfall'] === null ? null : json['snowfall'],
|
|
42
|
+
'precipitation': json['precipitation'] === undefined ? undefined : json['precipitation'] === null ? null : json['precipitation'],
|
|
43
43
|
'windSpeed': json['wind_speed'],
|
|
44
|
-
'windGust': json['wind_gust']
|
|
44
|
+
'windGust': json['wind_gust'] === undefined ? undefined : json['wind_gust'] === null ? null : json['wind_gust'],
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
function HourlyForecastImperialToJSON(json) {
|
|
@@ -37,11 +37,11 @@ function HourlyForecastMetricFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
}
|
|
38
38
|
return {
|
|
39
39
|
'temperature': json['temperature'],
|
|
40
|
-
'feelsLike': json['feels_like']
|
|
41
|
-
'snowfall': json['snowfall']
|
|
42
|
-
'precipitation': json['precipitation']
|
|
40
|
+
'feelsLike': json['feels_like'] === undefined ? undefined : json['feels_like'] === null ? null : json['feels_like'],
|
|
41
|
+
'snowfall': json['snowfall'] === undefined ? undefined : json['snowfall'] === null ? null : json['snowfall'],
|
|
42
|
+
'precipitation': json['precipitation'] === undefined ? undefined : json['precipitation'] === null ? null : json['precipitation'],
|
|
43
43
|
'windSpeed': json['wind_speed'],
|
|
44
|
-
'windGust': json['wind_gust']
|
|
44
|
+
'windGust': json['wind_gust'] === undefined ? undefined : json['wind_gust'] === null ? null : json['wind_gust'],
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
function HourlyForecastMetricToJSON(json) {
|
package/dist/models/Lift.js
CHANGED
|
@@ -56,23 +56,23 @@ function LiftFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
56
|
'uuid': json['uuid'],
|
|
57
57
|
'name': json['name'],
|
|
58
58
|
'slug': json['slug'],
|
|
59
|
-
'number': json['number']
|
|
59
|
+
'number': json['number'] === undefined ? undefined : json['number'] === null ? null : json['number'],
|
|
60
60
|
'liftType': (0, LiftType_1.LiftTypeFromJSON)(json['lift_type']),
|
|
61
61
|
'highSpeed': json['high_speed'],
|
|
62
62
|
'bubble': json['bubble'],
|
|
63
63
|
'heated': json['heated'],
|
|
64
|
-
'travelTime': json['travel_time']
|
|
65
|
-
'lengthFt': json['length_ft']
|
|
66
|
-
'lengthM': json['length_m']
|
|
67
|
-
'verticalRiseFt': json['vertical_rise_ft']
|
|
68
|
-
'verticalRiseM': json['vertical_rise_m']
|
|
64
|
+
'travelTime': json['travel_time'] === undefined ? undefined : json['travel_time'] === null ? null : json['travel_time'],
|
|
65
|
+
'lengthFt': json['length_ft'] === undefined ? undefined : json['length_ft'] === null ? null : json['length_ft'],
|
|
66
|
+
'lengthM': json['length_m'] === undefined ? undefined : json['length_m'] === null ? null : json['length_m'],
|
|
67
|
+
'verticalRiseFt': json['vertical_rise_ft'] === undefined ? undefined : json['vertical_rise_ft'] === null ? null : json['vertical_rise_ft'],
|
|
68
|
+
'verticalRiseM': json['vertical_rise_m'] === undefined ? undefined : json['vertical_rise_m'] === null ? null : json['vertical_rise_m'],
|
|
69
69
|
'status': (0, LiftStatus_1.LiftStatusFromJSON)(json['status']),
|
|
70
|
-
'waitTimeMinutes': json['wait_time_minutes']
|
|
71
|
-
'opensAt': json['opens_at']
|
|
72
|
-
'closesAt': json['closes_at']
|
|
73
|
-
'areaUuid': json['area_uuid']
|
|
74
|
-
'areaName': json['area_name']
|
|
75
|
-
'areaDisplayOrder': json['area_display_order']
|
|
70
|
+
'waitTimeMinutes': json['wait_time_minutes'] === undefined ? undefined : json['wait_time_minutes'] === null ? null : json['wait_time_minutes'],
|
|
71
|
+
'opensAt': json['opens_at'] === undefined ? undefined : json['opens_at'] === null ? null : json['opens_at'],
|
|
72
|
+
'closesAt': json['closes_at'] === undefined ? undefined : json['closes_at'] === null ? null : json['closes_at'],
|
|
73
|
+
'areaUuid': json['area_uuid'] === undefined ? undefined : json['area_uuid'] === null ? null : json['area_uuid'],
|
|
74
|
+
'areaName': json['area_name'] === undefined ? undefined : json['area_name'] === null ? null : json['area_name'],
|
|
75
|
+
'areaDisplayOrder': json['area_display_order'] === undefined ? undefined : json['area_display_order'] === null ? null : json['area_display_order'],
|
|
76
76
|
'updatedAt': (new Date(json['updated_at'])),
|
|
77
77
|
'images': json['images'] == null ? undefined : (json['images'].map(EntityImage_1.EntityImageFromJSON)),
|
|
78
78
|
};
|
|
@@ -18,6 +18,7 @@ export declare const LiftStatus: {
|
|
|
18
18
|
readonly Closed: "closed";
|
|
19
19
|
readonly OnHold: "on_hold";
|
|
20
20
|
readonly Unknown: "unknown";
|
|
21
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
21
22
|
};
|
|
22
23
|
export type LiftStatus = typeof LiftStatus[keyof typeof LiftStatus];
|
|
23
24
|
export declare function instanceOfLiftStatus(value: any): boolean;
|
|
@@ -27,6 +27,7 @@ export declare const LiftType: {
|
|
|
27
27
|
readonly RopeTow: "rope_tow";
|
|
28
28
|
readonly Funicular: "funicular";
|
|
29
29
|
readonly Other: "other";
|
|
30
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
30
31
|
};
|
|
31
32
|
export type LiftType = typeof LiftType[keyof typeof LiftType];
|
|
32
33
|
export declare function instanceOfLiftType(value: any): boolean;
|
package/dist/models/LiftType.js
CHANGED
|
@@ -37,6 +37,7 @@ export declare const MarkerIcon: {
|
|
|
37
37
|
readonly Atm: "atm";
|
|
38
38
|
readonly Star: "star";
|
|
39
39
|
readonly Webcam: "webcam";
|
|
40
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
40
41
|
};
|
|
41
42
|
export type MarkerIcon = typeof MarkerIcon[keyof typeof MarkerIcon];
|
|
42
43
|
export declare function instanceOfMarkerIcon(value: any): boolean;
|
package/dist/models/Overview.js
CHANGED
|
@@ -54,8 +54,8 @@ function OverviewFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
54
|
}
|
|
55
55
|
return {
|
|
56
56
|
'status': (0, ResortStatus_1.ResortStatusFromJSON)(json['status']),
|
|
57
|
-
'opensAt': json['opens_at']
|
|
58
|
-
'closesAt': json['closes_at']
|
|
57
|
+
'opensAt': json['opens_at'] === undefined ? undefined : json['opens_at'] === null ? null : json['opens_at'],
|
|
58
|
+
'closesAt': json['closes_at'] === undefined ? undefined : json['closes_at'] === null ? null : json['closes_at'],
|
|
59
59
|
'season': (0, SeasonType_1.SeasonTypeFromJSON)(json['season']),
|
|
60
60
|
'news': (0, OverviewNews_1.OverviewNewsFromJSON)(json['news']),
|
|
61
61
|
'runs': (0, OverviewRuns_1.OverviewRunsFromJSON)(json['runs']),
|
|
@@ -36,7 +36,7 @@ function OverviewLiftsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
return json;
|
|
37
37
|
}
|
|
38
38
|
return {
|
|
39
|
-
'open': json['open']
|
|
39
|
+
'open': json['open'] === undefined ? undefined : json['open'] === null ? null : json['open'],
|
|
40
40
|
'total': json['total'],
|
|
41
41
|
'updatedAt': (new Date(json['updated_at'])),
|
|
42
42
|
};
|
|
@@ -36,11 +36,11 @@ function OverviewRunsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
return json;
|
|
37
37
|
}
|
|
38
38
|
return {
|
|
39
|
-
'open': json['open']
|
|
40
|
-
'groomed': json['groomed']
|
|
39
|
+
'open': json['open'] === undefined ? undefined : json['open'] === null ? null : json['open'],
|
|
40
|
+
'groomed': json['groomed'] === undefined ? undefined : json['groomed'] === null ? null : json['groomed'],
|
|
41
41
|
'total': json['total'],
|
|
42
|
-
'openAcres': json['open_acres']
|
|
43
|
-
'totalAcres': json['total_acres']
|
|
42
|
+
'openAcres': json['open_acres'] === undefined ? undefined : json['open_acres'] === null ? null : json['open_acres'],
|
|
43
|
+
'totalAcres': json['total_acres'] === undefined ? undefined : json['total_acres'] === null ? null : json['total_acres'],
|
|
44
44
|
'updatedAt': (new Date(json['updated_at'])),
|
|
45
45
|
};
|
|
46
46
|
}
|
|
@@ -36,7 +36,7 @@ function OverviewSummerTrailsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
return json;
|
|
37
37
|
}
|
|
38
38
|
return {
|
|
39
|
-
'open': json['open']
|
|
39
|
+
'open': json['open'] === undefined ? undefined : json['open'] === null ? null : json['open'],
|
|
40
40
|
'total': json['total'],
|
|
41
41
|
'updatedAt': (new Date(json['updated_at'])),
|
|
42
42
|
};
|
|
@@ -36,7 +36,7 @@ function OverviewTerrainParksFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
return json;
|
|
37
37
|
}
|
|
38
38
|
return {
|
|
39
|
-
'open': json['open']
|
|
39
|
+
'open': json['open'] === undefined ? undefined : json['open'] === null ? null : json['open'],
|
|
40
40
|
'total': json['total'],
|
|
41
41
|
'updatedAt': (new Date(json['updated_at'])),
|
|
42
42
|
};
|
|
@@ -54,7 +54,7 @@ function ParkingLotFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
54
|
'name': json['name'],
|
|
55
55
|
'slug': json['slug'],
|
|
56
56
|
'status': (0, ParkingLotStatus_1.ParkingLotStatusFromJSON)(json['status']),
|
|
57
|
-
'capacity': json['capacity']
|
|
57
|
+
'capacity': json['capacity'] === undefined ? undefined : json['capacity'] === null ? null : json['capacity'],
|
|
58
58
|
'shuttle': json['shuttle'],
|
|
59
59
|
'paid': json['paid'],
|
|
60
60
|
'reservationRequired': json['reservation_required'],
|
|
@@ -17,6 +17,7 @@ export declare const ParkingLotStatus: {
|
|
|
17
17
|
readonly Open: "open";
|
|
18
18
|
readonly Closed: "closed";
|
|
19
19
|
readonly Full: "full";
|
|
20
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
20
21
|
};
|
|
21
22
|
export type ParkingLotStatus = typeof ParkingLotStatus[keyof typeof ParkingLotStatus];
|
|
22
23
|
export declare function instanceOfParkingLotStatus(value: any): boolean;
|
|
@@ -26,7 +26,8 @@ exports.ParkingLotStatusToJSONTyped = ParkingLotStatusToJSONTyped;
|
|
|
26
26
|
exports.ParkingLotStatus = {
|
|
27
27
|
Open: 'open',
|
|
28
28
|
Closed: 'closed',
|
|
29
|
-
Full: 'full'
|
|
29
|
+
Full: 'full',
|
|
30
|
+
UnknownDefaultOpenApi: '11184809'
|
|
30
31
|
};
|
|
31
32
|
function instanceOfParkingLotStatus(value) {
|
|
32
33
|
for (const key in exports.ParkingLotStatus) {
|
package/dist/models/Region.d.ts
CHANGED
package/dist/models/Region.js
CHANGED
|
@@ -52,7 +52,7 @@ function ResortInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
52
|
'timezone': json['timezone'],
|
|
53
53
|
'region': (0, Region_1.RegionFromJSON)(json['region']),
|
|
54
54
|
'unitPreference': (0, UnitPreference_1.UnitPreferenceFromJSON)(json['unit_preference']),
|
|
55
|
-
'logoUrl': json['logo_url']
|
|
55
|
+
'logoUrl': json['logo_url'] === undefined ? undefined : json['logo_url'] === null ? null : json['logo_url'],
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
58
|
function ResortInfoToJSON(json) {
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
export declare const ResortStatus: {
|
|
17
17
|
readonly Open: "open";
|
|
18
18
|
readonly Closed: "closed";
|
|
19
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
19
20
|
};
|
|
20
21
|
export type ResortStatus = typeof ResortStatus[keyof typeof ResortStatus];
|
|
21
22
|
export declare function instanceOfResortStatus(value: any): boolean;
|
|
@@ -25,7 +25,8 @@ exports.ResortStatusToJSONTyped = ResortStatusToJSONTyped;
|
|
|
25
25
|
*/
|
|
26
26
|
exports.ResortStatus = {
|
|
27
27
|
Open: 'open',
|
|
28
|
-
Closed: 'closed'
|
|
28
|
+
Closed: 'closed',
|
|
29
|
+
UnknownDefaultOpenApi: '11184809'
|
|
29
30
|
};
|
|
30
31
|
function instanceOfResortStatus(value) {
|
|
31
32
|
for (const key in exports.ResortStatus) {
|
package/dist/models/Run.js
CHANGED
|
@@ -58,17 +58,17 @@ function RunFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
58
|
'uuid': json['uuid'],
|
|
59
59
|
'name': json['name'],
|
|
60
60
|
'slug': json['slug'],
|
|
61
|
-
'number': json['number']
|
|
61
|
+
'number': json['number'] === undefined ? undefined : json['number'] === null ? null : json['number'],
|
|
62
62
|
'difficulty': (0, RunDifficulty_1.RunDifficultyFromJSON)(json['difficulty']),
|
|
63
63
|
'status': (0, RunStatus_1.RunStatusFromJSON)(json['status']),
|
|
64
|
-
'lastGroomed': json['last_groomed']
|
|
64
|
+
'lastGroomed': json['last_groomed'] === undefined ? undefined : json['last_groomed'] === null ? null : (new Date(json['last_groomed'])),
|
|
65
65
|
'groomedToday': json['groomed_today'],
|
|
66
66
|
'snowmaking': json['snowmaking'],
|
|
67
67
|
'nightSkiing': json['night_skiing'],
|
|
68
68
|
'conditionNotes': json['condition_notes'],
|
|
69
|
-
'areaUuid': json['area_uuid']
|
|
70
|
-
'areaName': json['area_name']
|
|
71
|
-
'areaDisplayOrder': json['area_display_order']
|
|
69
|
+
'areaUuid': json['area_uuid'] === undefined ? undefined : json['area_uuid'] === null ? null : json['area_uuid'],
|
|
70
|
+
'areaName': json['area_name'] === undefined ? undefined : json['area_name'] === null ? null : json['area_name'],
|
|
71
|
+
'areaDisplayOrder': json['area_display_order'] === undefined ? undefined : json['area_display_order'] === null ? null : json['area_display_order'],
|
|
72
72
|
'updatedAt': (new Date(json['updated_at'])),
|
|
73
73
|
'images': json['images'] == null ? undefined : (json['images'].map(EntityImage_1.EntityImageFromJSON)),
|
|
74
74
|
};
|
|
@@ -19,6 +19,7 @@ export declare const RunDifficulty: {
|
|
|
19
19
|
readonly Advanced: "advanced";
|
|
20
20
|
readonly Expert: "expert";
|
|
21
21
|
readonly TerrainPark: "terrain_park";
|
|
22
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
22
23
|
};
|
|
23
24
|
export type RunDifficulty = typeof RunDifficulty[keyof typeof RunDifficulty];
|
|
24
25
|
export declare function instanceOfRunDifficulty(value: any): boolean;
|
|
@@ -28,7 +28,8 @@ exports.RunDifficulty = {
|
|
|
28
28
|
Intermediate: 'intermediate',
|
|
29
29
|
Advanced: 'advanced',
|
|
30
30
|
Expert: 'expert',
|
|
31
|
-
TerrainPark: 'terrain_park'
|
|
31
|
+
TerrainPark: 'terrain_park',
|
|
32
|
+
UnknownDefaultOpenApi: '11184809'
|
|
32
33
|
};
|
|
33
34
|
function instanceOfRunDifficulty(value) {
|
|
34
35
|
for (const key in exports.RunDifficulty) {
|
|
@@ -17,6 +17,7 @@ export declare const RunStatus: {
|
|
|
17
17
|
readonly Open: "open";
|
|
18
18
|
readonly Closed: "closed";
|
|
19
19
|
readonly Unknown: "unknown";
|
|
20
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
20
21
|
};
|
|
21
22
|
export type RunStatus = typeof RunStatus[keyof typeof RunStatus];
|
|
22
23
|
export declare function instanceOfRunStatus(value: any): boolean;
|
package/dist/models/RunStatus.js
CHANGED
|
@@ -26,7 +26,8 @@ exports.RunStatusToJSONTyped = RunStatusToJSONTyped;
|
|
|
26
26
|
exports.RunStatus = {
|
|
27
27
|
Open: 'open',
|
|
28
28
|
Closed: 'closed',
|
|
29
|
-
Unknown: 'unknown'
|
|
29
|
+
Unknown: 'unknown',
|
|
30
|
+
UnknownDefaultOpenApi: '11184809'
|
|
30
31
|
};
|
|
31
32
|
function instanceOfRunStatus(value) {
|
|
32
33
|
for (const key in exports.RunStatus) {
|
|
@@ -17,6 +17,7 @@ export declare const SeasonType: {
|
|
|
17
17
|
readonly Winter: "winter";
|
|
18
18
|
readonly Summer: "summer";
|
|
19
19
|
readonly Closed: "closed";
|
|
20
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
20
21
|
};
|
|
21
22
|
export type SeasonType = typeof SeasonType[keyof typeof SeasonType];
|
|
22
23
|
export declare function instanceOfSeasonType(value: any): boolean;
|
|
@@ -26,7 +26,8 @@ exports.SeasonTypeToJSONTyped = SeasonTypeToJSONTyped;
|
|
|
26
26
|
exports.SeasonType = {
|
|
27
27
|
Winter: 'winter',
|
|
28
28
|
Summer: 'summer',
|
|
29
|
-
Closed: 'closed'
|
|
29
|
+
Closed: 'closed',
|
|
30
|
+
UnknownDefaultOpenApi: '11184809'
|
|
30
31
|
};
|
|
31
32
|
function instanceOfSeasonType(value) {
|
|
32
33
|
for (const key in exports.SeasonType) {
|