@mtnmanager/sdk 0.0.5 → 0.0.7
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/README.md +16 -15
- package/dist/apis/ReportApi.d.ts +146 -0
- package/dist/apis/{PublicApi.js → ReportApi.js} +35 -52
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/esm/apis/ReportApi.d.ts +146 -0
- package/dist/esm/apis/{PublicApi.js → ReportApi.js} +34 -51
- package/dist/esm/apis/index.d.ts +1 -1
- package/dist/esm/apis/index.js +1 -1
- package/dist/esm/models/CurrentWeather.d.ts +6 -6
- package/dist/esm/models/CurrentWeather.js +3 -3
- package/dist/esm/models/DailyForecast.d.ts +5 -5
- package/dist/esm/models/DailyForecast.js +5 -5
- package/dist/esm/models/DailyForecastImperial.d.ts +1 -1
- package/dist/esm/models/DailyForecastImperial.js +1 -1
- package/dist/esm/models/DailyForecastMetric.d.ts +1 -1
- package/dist/esm/models/DailyForecastMetric.js +1 -1
- package/dist/esm/models/DayHours.d.ts +1 -1
- package/dist/esm/models/DayHours.js +1 -1
- package/dist/esm/models/HourlyForecast.d.ts +3 -3
- package/dist/esm/models/HourlyForecast.js +3 -3
- package/dist/esm/models/HourlyForecastImperial.d.ts +1 -1
- package/dist/esm/models/HourlyForecastImperial.js +1 -1
- package/dist/esm/models/HourlyForecastMetric.d.ts +1 -1
- package/dist/esm/models/HourlyForecastMetric.js +1 -1
- package/dist/esm/models/ImperialUnits.d.ts +1 -1
- package/dist/esm/models/ImperialUnits.js +1 -1
- package/dist/esm/models/LiftStatus.d.ts +1 -1
- package/dist/esm/models/LiftStatus.js +1 -1
- package/dist/esm/models/LiftType.d.ts +1 -1
- package/dist/esm/models/LiftType.js +1 -1
- package/dist/esm/models/MetricUnits.d.ts +1 -1
- package/dist/esm/models/MetricUnits.js +1 -1
- package/dist/esm/models/OperatingHoursResponse.d.ts +1 -1
- package/dist/esm/models/OperatingHoursResponse.js +1 -1
- package/dist/esm/models/PathSlug.d.ts +32 -0
- package/dist/esm/models/PathSlug.js +43 -0
- package/dist/esm/models/PublicLift.d.ts +1 -1
- package/dist/esm/models/PublicLift.js +1 -1
- package/dist/esm/models/PublicResortInfo.d.ts +1 -1
- package/dist/esm/models/PublicResortInfo.js +1 -1
- package/dist/esm/models/PublicResortResponse.d.ts +4 -4
- package/dist/esm/models/PublicResortResponse.js +13 -7
- package/dist/esm/models/PublicResortStatus.d.ts +3 -3
- package/dist/esm/models/PublicResortStatus.js +3 -3
- package/dist/esm/models/PublicRun.d.ts +3 -3
- package/dist/esm/models/PublicRun.js +3 -3
- package/dist/esm/models/PublicSnowReport.d.ts +3 -3
- package/dist/esm/models/PublicSnowReport.js +3 -3
- package/dist/esm/models/PublicSnowResponse.d.ts +1 -1
- package/dist/esm/models/PublicSnowResponse.js +1 -1
- package/dist/esm/models/RecurrencePattern.d.ts +1 -1
- package/dist/esm/models/RecurrencePattern.js +1 -1
- package/dist/esm/models/RecurrencePatternOneOf.d.ts +1 -1
- package/dist/esm/models/RecurrencePatternOneOf.js +1 -1
- package/dist/esm/models/RecurrencePatternOneOf1.d.ts +1 -1
- package/dist/esm/models/RecurrencePatternOneOf1.js +1 -1
- package/dist/esm/models/RecurrencePatternOneOf2.d.ts +5 -5
- package/dist/esm/models/RecurrencePatternOneOf2.js +5 -5
- package/dist/esm/models/ResortStatusType.d.ts +1 -1
- package/dist/esm/models/ResortStatusType.js +1 -1
- package/dist/esm/models/RunDifficulty.d.ts +1 -1
- package/dist/esm/models/RunDifficulty.js +1 -1
- package/dist/esm/models/RunStatus.d.ts +1 -1
- package/dist/esm/models/RunStatus.js +1 -1
- package/dist/esm/models/Schedule.d.ts +1 -1
- package/dist/esm/models/Schedule.js +1 -1
- package/dist/esm/models/SeasonType.d.ts +1 -1
- package/dist/esm/models/SeasonType.js +1 -1
- package/dist/esm/models/SnowMetrics.d.ts +1 -1
- package/dist/esm/models/SnowMetrics.js +1 -1
- package/dist/esm/models/SurfaceCondition.d.ts +1 -1
- package/dist/esm/models/SurfaceCondition.js +1 -1
- package/dist/esm/models/UnitPreference.d.ts +1 -1
- package/dist/esm/models/UnitPreference.js +1 -1
- package/dist/esm/models/WeatherData.d.ts +3 -3
- package/dist/esm/models/WeatherData.js +3 -3
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/CurrentWeather.d.ts +6 -6
- package/dist/models/CurrentWeather.js +3 -3
- package/dist/models/DailyForecast.d.ts +5 -5
- package/dist/models/DailyForecast.js +5 -5
- package/dist/models/DailyForecastImperial.d.ts +1 -1
- package/dist/models/DailyForecastImperial.js +1 -1
- package/dist/models/DailyForecastMetric.d.ts +1 -1
- package/dist/models/DailyForecastMetric.js +1 -1
- package/dist/models/DayHours.d.ts +1 -1
- package/dist/models/DayHours.js +1 -1
- package/dist/models/HourlyForecast.d.ts +3 -3
- package/dist/models/HourlyForecast.js +3 -3
- package/dist/models/HourlyForecastImperial.d.ts +1 -1
- package/dist/models/HourlyForecastImperial.js +1 -1
- package/dist/models/HourlyForecastMetric.d.ts +1 -1
- package/dist/models/HourlyForecastMetric.js +1 -1
- package/dist/models/ImperialUnits.d.ts +1 -1
- package/dist/models/ImperialUnits.js +1 -1
- package/dist/models/LiftStatus.d.ts +1 -1
- package/dist/models/LiftStatus.js +1 -1
- package/dist/models/LiftType.d.ts +1 -1
- package/dist/models/LiftType.js +1 -1
- package/dist/models/MetricUnits.d.ts +1 -1
- package/dist/models/MetricUnits.js +1 -1
- package/dist/models/OperatingHoursResponse.d.ts +1 -1
- package/dist/models/OperatingHoursResponse.js +1 -1
- package/dist/models/PathSlug.d.ts +32 -0
- package/dist/models/PathSlug.js +50 -0
- package/dist/models/PublicLift.d.ts +1 -1
- package/dist/models/PublicLift.js +1 -1
- package/dist/models/PublicResortInfo.d.ts +1 -1
- package/dist/models/PublicResortInfo.js +1 -1
- package/dist/models/PublicResortResponse.d.ts +4 -4
- package/dist/models/PublicResortResponse.js +13 -7
- package/dist/models/PublicResortStatus.d.ts +3 -3
- package/dist/models/PublicResortStatus.js +3 -3
- package/dist/models/PublicRun.d.ts +3 -3
- package/dist/models/PublicRun.js +3 -3
- package/dist/models/PublicSnowReport.d.ts +3 -3
- package/dist/models/PublicSnowReport.js +3 -3
- package/dist/models/PublicSnowResponse.d.ts +1 -1
- package/dist/models/PublicSnowResponse.js +1 -1
- package/dist/models/RecurrencePattern.d.ts +1 -1
- package/dist/models/RecurrencePattern.js +1 -1
- package/dist/models/RecurrencePatternOneOf.d.ts +1 -1
- package/dist/models/RecurrencePatternOneOf.js +1 -1
- package/dist/models/RecurrencePatternOneOf1.d.ts +1 -1
- package/dist/models/RecurrencePatternOneOf1.js +1 -1
- package/dist/models/RecurrencePatternOneOf2.d.ts +5 -5
- package/dist/models/RecurrencePatternOneOf2.js +5 -5
- package/dist/models/ResortStatusType.d.ts +1 -1
- package/dist/models/ResortStatusType.js +1 -1
- package/dist/models/RunDifficulty.d.ts +1 -1
- package/dist/models/RunDifficulty.js +1 -1
- package/dist/models/RunStatus.d.ts +1 -1
- package/dist/models/RunStatus.js +1 -1
- package/dist/models/Schedule.d.ts +1 -1
- package/dist/models/Schedule.js +1 -1
- package/dist/models/SeasonType.d.ts +1 -1
- package/dist/models/SeasonType.js +1 -1
- package/dist/models/SnowMetrics.d.ts +1 -1
- package/dist/models/SnowMetrics.js +1 -1
- package/dist/models/SurfaceCondition.d.ts +1 -1
- package/dist/models/SurfaceCondition.js +1 -1
- package/dist/models/UnitPreference.d.ts +1 -1
- package/dist/models/UnitPreference.js +1 -1
- package/dist/models/WeatherData.d.ts +3 -3
- package/dist/models/WeatherData.js +3 -3
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/dist/apis/PublicApi.d.ts +0 -174
- package/dist/esm/apis/PublicApi.d.ts +0 -174
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -44,10 +44,10 @@ export interface WeatherData {
|
|
|
44
44
|
hourlyForecast: Array<HourlyForecast>;
|
|
45
45
|
/**
|
|
46
46
|
* When this data was last updated
|
|
47
|
-
* @type {
|
|
47
|
+
* @type {string}
|
|
48
48
|
* @memberof WeatherData
|
|
49
49
|
*/
|
|
50
|
-
lastUpdated:
|
|
50
|
+
lastUpdated: string;
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
53
|
* Check if a given object implements the WeatherData interface.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* MtnManager API
|
|
5
5
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -42,7 +42,7 @@ export function WeatherDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'current': CurrentWeatherFromJSON(json['current']),
|
|
43
43
|
'dailyForecast': (json['daily_forecast'].map(DailyForecastFromJSON)),
|
|
44
44
|
'hourlyForecast': (json['hourly_forecast'].map(HourlyForecastFromJSON)),
|
|
45
|
-
'lastUpdated':
|
|
45
|
+
'lastUpdated': json['last_updated'],
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
export function WeatherDataToJSON(json) {
|
|
@@ -57,6 +57,6 @@ export function WeatherDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
57
57
|
'current': CurrentWeatherToJSON(value['current']),
|
|
58
58
|
'daily_forecast': (value['dailyForecast'].map(DailyForecastToJSON)),
|
|
59
59
|
'hourly_forecast': (value['hourlyForecast'].map(HourlyForecastToJSON)),
|
|
60
|
-
'last_updated': value['lastUpdated']
|
|
60
|
+
'last_updated': value['lastUpdated'],
|
|
61
61
|
};
|
|
62
62
|
}
|
|
@@ -11,6 +11,7 @@ export * from './LiftStatus';
|
|
|
11
11
|
export * from './LiftType';
|
|
12
12
|
export * from './MetricUnits';
|
|
13
13
|
export * from './OperatingHoursResponse';
|
|
14
|
+
export * from './PathSlug';
|
|
14
15
|
export * from './PublicLift';
|
|
15
16
|
export * from './PublicResortInfo';
|
|
16
17
|
export * from './PublicResortResponse';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -13,6 +13,7 @@ export * from './LiftStatus';
|
|
|
13
13
|
export * from './LiftType';
|
|
14
14
|
export * from './MetricUnits';
|
|
15
15
|
export * from './OperatingHoursResponse';
|
|
16
|
+
export * from './PathSlug';
|
|
16
17
|
export * from './PublicLift';
|
|
17
18
|
export * from './PublicResortInfo';
|
|
18
19
|
export * from './PublicResortResponse';
|
package/dist/esm/runtime.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/runtime.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* MtnManager API
|
|
5
5
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -49,15 +49,15 @@ export interface CurrentWeather {
|
|
|
49
49
|
metric: MetricUnits;
|
|
50
50
|
/**
|
|
51
51
|
* Timestamp of observation
|
|
52
|
-
* @type {
|
|
52
|
+
* @type {string}
|
|
53
53
|
* @memberof CurrentWeather
|
|
54
54
|
*/
|
|
55
|
-
timestamp:
|
|
55
|
+
timestamp: string;
|
|
56
56
|
/**
|
|
57
57
|
* Weather condition code (unit-independent)
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
58
|
+
* 0=clear, 1=mainly clear, 2=partly cloudy, 3=overcast,
|
|
59
|
+
* 45/48=fog, 51-55=drizzle, 61-65=rain, 71-77=snow,
|
|
60
|
+
* 80-82=rain showers, 85-86=snow showers, 95-99=thunderstorm
|
|
61
61
|
* @type {number}
|
|
62
62
|
* @memberof CurrentWeather
|
|
63
63
|
*/
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -57,7 +57,7 @@ function CurrentWeatherFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
57
|
'humidity': json['humidity'],
|
|
58
58
|
'imperial': (0, ImperialUnits_1.ImperialUnitsFromJSON)(json['imperial']),
|
|
59
59
|
'metric': (0, MetricUnits_1.MetricUnitsFromJSON)(json['metric']),
|
|
60
|
-
'timestamp':
|
|
60
|
+
'timestamp': json['timestamp'],
|
|
61
61
|
'weatherCode': json['weather_code'],
|
|
62
62
|
'windDirection': json['wind_direction'],
|
|
63
63
|
'windDirectionCardinal': json['wind_direction_cardinal'],
|
|
@@ -76,7 +76,7 @@ function CurrentWeatherToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
76
76
|
'humidity': value['humidity'],
|
|
77
77
|
'imperial': (0, ImperialUnits_1.ImperialUnitsToJSON)(value['imperial']),
|
|
78
78
|
'metric': (0, MetricUnits_1.MetricUnitsToJSON)(value['metric']),
|
|
79
|
-
'timestamp': value['timestamp']
|
|
79
|
+
'timestamp': value['timestamp'],
|
|
80
80
|
'weather_code': value['weatherCode'],
|
|
81
81
|
'wind_direction': value['windDirection'],
|
|
82
82
|
'wind_direction_cardinal': value['windDirectionCardinal'],
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -49,16 +49,16 @@ export interface DailyForecast {
|
|
|
49
49
|
precipitationProbability: number;
|
|
50
50
|
/**
|
|
51
51
|
* Sunrise time
|
|
52
|
-
* @type {
|
|
52
|
+
* @type {string}
|
|
53
53
|
* @memberof DailyForecast
|
|
54
54
|
*/
|
|
55
|
-
sunrise:
|
|
55
|
+
sunrise: string;
|
|
56
56
|
/**
|
|
57
57
|
* Sunset time
|
|
58
|
-
* @type {
|
|
58
|
+
* @type {string}
|
|
59
59
|
* @memberof DailyForecast
|
|
60
60
|
*/
|
|
61
|
-
sunset:
|
|
61
|
+
sunset: string;
|
|
62
62
|
/**
|
|
63
63
|
* Weather condition code (most severe/relevant for the day)
|
|
64
64
|
* @type {number}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -55,8 +55,8 @@ function DailyForecastFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
55
|
'imperial': (0, DailyForecastImperial_1.DailyForecastImperialFromJSON)(json['imperial']),
|
|
56
56
|
'metric': (0, DailyForecastMetric_1.DailyForecastMetricFromJSON)(json['metric']),
|
|
57
57
|
'precipitationProbability': json['precipitation_probability'],
|
|
58
|
-
'sunrise':
|
|
59
|
-
'sunset':
|
|
58
|
+
'sunrise': json['sunrise'],
|
|
59
|
+
'sunset': json['sunset'],
|
|
60
60
|
'weatherCode': json['weather_code'],
|
|
61
61
|
};
|
|
62
62
|
}
|
|
@@ -73,8 +73,8 @@ function DailyForecastToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
73
73
|
'imperial': (0, DailyForecastImperial_1.DailyForecastImperialToJSON)(value['imperial']),
|
|
74
74
|
'metric': (0, DailyForecastMetric_1.DailyForecastMetricToJSON)(value['metric']),
|
|
75
75
|
'precipitation_probability': value['precipitationProbability'],
|
|
76
|
-
'sunrise': value['sunrise']
|
|
77
|
-
'sunset': value['sunset']
|
|
76
|
+
'sunrise': value['sunrise'],
|
|
77
|
+
'sunset': value['sunset'],
|
|
78
78
|
'weather_code': value['weatherCode'],
|
|
79
79
|
};
|
|
80
80
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/DayHours.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -49,10 +49,10 @@ export interface HourlyForecast {
|
|
|
49
49
|
precipitationProbability: number;
|
|
50
50
|
/**
|
|
51
51
|
* Forecast timestamp
|
|
52
|
-
* @type {
|
|
52
|
+
* @type {string}
|
|
53
53
|
* @memberof HourlyForecast
|
|
54
54
|
*/
|
|
55
|
-
timestamp:
|
|
55
|
+
timestamp: string;
|
|
56
56
|
/**
|
|
57
57
|
* Weather condition code
|
|
58
58
|
* @type {number}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -53,7 +53,7 @@ function HourlyForecastFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
53
|
'imperial': (0, HourlyForecastImperial_1.HourlyForecastImperialFromJSON)(json['imperial']),
|
|
54
54
|
'metric': (0, HourlyForecastMetric_1.HourlyForecastMetricFromJSON)(json['metric']),
|
|
55
55
|
'precipitationProbability': json['precipitation_probability'],
|
|
56
|
-
'timestamp':
|
|
56
|
+
'timestamp': json['timestamp'],
|
|
57
57
|
'weatherCode': json['weather_code'],
|
|
58
58
|
};
|
|
59
59
|
}
|
|
@@ -70,7 +70,7 @@ function HourlyForecastToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
70
70
|
'imperial': (0, HourlyForecastImperial_1.HourlyForecastImperialToJSON)(value['imperial']),
|
|
71
71
|
'metric': (0, HourlyForecastMetric_1.HourlyForecastMetricToJSON)(value['metric']),
|
|
72
72
|
'precipitation_probability': value['precipitationProbability'],
|
|
73
|
-
'timestamp': value['timestamp']
|
|
73
|
+
'timestamp': value['timestamp'],
|
|
74
74
|
'weather_code': value['weatherCode'],
|
|
75
75
|
};
|
|
76
76
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/LiftType.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MtnManager API
|
|
3
|
+
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PathSlug
|
|
16
|
+
*/
|
|
17
|
+
export interface PathSlug {
|
|
18
|
+
/**
|
|
19
|
+
* Account slug
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PathSlug
|
|
22
|
+
*/
|
|
23
|
+
slug: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PathSlug interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfPathSlug(value: object): value is PathSlug;
|
|
29
|
+
export declare function PathSlugFromJSON(json: any): PathSlug;
|
|
30
|
+
export declare function PathSlugFromJSONTyped(json: any, ignoreDiscriminator: boolean): PathSlug;
|
|
31
|
+
export declare function PathSlugToJSON(json: any): PathSlug;
|
|
32
|
+
export declare function PathSlugToJSONTyped(value?: PathSlug | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* MtnManager API
|
|
6
|
+
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfPathSlug = instanceOfPathSlug;
|
|
17
|
+
exports.PathSlugFromJSON = PathSlugFromJSON;
|
|
18
|
+
exports.PathSlugFromJSONTyped = PathSlugFromJSONTyped;
|
|
19
|
+
exports.PathSlugToJSON = PathSlugToJSON;
|
|
20
|
+
exports.PathSlugToJSONTyped = PathSlugToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PathSlug interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPathSlug(value) {
|
|
25
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function PathSlugFromJSON(json) {
|
|
30
|
+
return PathSlugFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function PathSlugFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'slug': json['slug'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function PathSlugToJSON(json) {
|
|
41
|
+
return PathSlugToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function PathSlugToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'slug': value['slug'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -33,7 +33,7 @@ export interface PublicResortResponse {
|
|
|
33
33
|
* @type {Array<PublicLift>}
|
|
34
34
|
* @memberof PublicResortResponse
|
|
35
35
|
*/
|
|
36
|
-
lifts
|
|
36
|
+
lifts: Array<PublicLift>;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {PublicResortInfo}
|
|
@@ -45,13 +45,13 @@ export interface PublicResortResponse {
|
|
|
45
45
|
* @type {Array<PublicRun>}
|
|
46
46
|
* @memberof PublicResortResponse
|
|
47
47
|
*/
|
|
48
|
-
runs
|
|
48
|
+
runs: Array<PublicRun>;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* @type {Array<PublicSnowReport>}
|
|
52
52
|
* @memberof PublicResortResponse
|
|
53
53
|
*/
|
|
54
|
-
snow
|
|
54
|
+
snow: Array<PublicSnowReport>;
|
|
55
55
|
/**
|
|
56
56
|
*
|
|
57
57
|
* @type {PublicResortStatus}
|