@mtnmanager/sdk 0.0.27 → 0.0.28
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 +14 -16
- package/dist/apis/ReportApi.d.ts +186 -0
- package/dist/apis/ReportApi.js +241 -0
- package/dist/apis/index.d.ts +1 -6
- package/dist/apis/index.js +1 -6
- package/dist/esm/apis/ReportApi.d.ts +186 -0
- package/dist/esm/apis/ReportApi.js +237 -0
- package/dist/esm/apis/index.d.ts +1 -6
- package/dist/esm/apis/index.js +1 -6
- package/dist/esm/models/ClosureReason.d.ts +1 -1
- package/dist/esm/models/ClosureReason.js +1 -1
- package/dist/esm/models/CurrentWeather.d.ts +3 -3
- package/dist/esm/models/CurrentWeather.js +3 -3
- package/dist/esm/models/DailyForecast.d.ts +7 -7
- package/dist/esm/models/DailyForecast.js +7 -7
- 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/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 +1 -1
- package/dist/esm/models/PublicResortResponse.js +1 -1
- package/dist/esm/models/PublicResortStatus.d.ts +1 -1
- package/dist/esm/models/PublicResortStatus.js +1 -1
- package/dist/esm/models/PublicRun.d.ts +1 -1
- package/dist/esm/models/PublicRun.js +1 -1
- package/dist/esm/models/PublicSnowReport.d.ts +1 -1
- package/dist/esm/models/PublicSnowReport.js +1 -1
- package/dist/esm/models/PublicSnowResponse.d.ts +1 -1
- package/dist/esm/models/PublicSnowResponse.js +1 -1
- package/dist/esm/models/PublicSummerTrail.d.ts +1 -1
- package/dist/esm/models/PublicSummerTrail.js +1 -1
- 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 +5 -5
- package/dist/esm/models/Schedule.js +3 -4
- 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/SummerTrailDifficulty.d.ts +1 -1
- package/dist/esm/models/SummerTrailDifficulty.js +1 -1
- package/dist/esm/models/SummerTrailStatus.d.ts +1 -1
- package/dist/esm/models/SummerTrailStatus.js +1 -1
- package/dist/esm/models/SummerTrailType.d.ts +1 -1
- package/dist/esm/models/SummerTrailType.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/WeatherConditionCode.d.ts +1 -1
- package/dist/esm/models/WeatherConditionCode.js +1 -1
- package/dist/esm/models/WeatherData.d.ts +3 -3
- package/dist/esm/models/WeatherData.js +4 -4
- package/dist/esm/models/index.d.ts +0 -3
- package/dist/esm/models/index.js +0 -3
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/ClosureReason.d.ts +1 -1
- package/dist/models/ClosureReason.js +1 -1
- package/dist/models/CurrentWeather.d.ts +3 -3
- package/dist/models/CurrentWeather.js +3 -3
- package/dist/models/DailyForecast.d.ts +7 -7
- package/dist/models/DailyForecast.js +7 -7
- 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/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 +1 -1
- package/dist/models/PublicResortResponse.js +1 -1
- package/dist/models/PublicResortStatus.d.ts +1 -1
- package/dist/models/PublicResortStatus.js +1 -1
- package/dist/models/PublicRun.d.ts +1 -1
- package/dist/models/PublicRun.js +1 -1
- package/dist/models/PublicSnowReport.d.ts +1 -1
- package/dist/models/PublicSnowReport.js +1 -1
- package/dist/models/PublicSnowResponse.d.ts +1 -1
- package/dist/models/PublicSnowResponse.js +1 -1
- package/dist/models/PublicSummerTrail.d.ts +1 -1
- package/dist/models/PublicSummerTrail.js +1 -1
- 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 +5 -5
- package/dist/models/Schedule.js +3 -4
- 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/SummerTrailDifficulty.d.ts +1 -1
- package/dist/models/SummerTrailDifficulty.js +1 -1
- package/dist/models/SummerTrailStatus.d.ts +1 -1
- package/dist/models/SummerTrailStatus.js +1 -1
- package/dist/models/SummerTrailType.d.ts +1 -1
- package/dist/models/SummerTrailType.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/WeatherConditionCode.d.ts +1 -1
- package/dist/models/WeatherConditionCode.js +1 -1
- package/dist/models/WeatherData.d.ts +3 -3
- package/dist/models/WeatherData.js +4 -4
- package/dist/models/index.d.ts +0 -3
- package/dist/models/index.js +0 -3
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/dist/apis/HoursApi.d.ts +0 -46
- package/dist/apis/HoursApi.js +0 -59
- package/dist/apis/LiftsApi.d.ts +0 -46
- package/dist/apis/LiftsApi.js +0 -59
- package/dist/apis/ResortApi.d.ts +0 -66
- package/dist/apis/ResortApi.js +0 -85
- package/dist/apis/RunsApi.d.ts +0 -46
- package/dist/apis/RunsApi.js +0 -59
- package/dist/apis/SnowApi.d.ts +0 -46
- package/dist/apis/SnowApi.js +0 -59
- package/dist/apis/SummerTrailsApi.d.ts +0 -46
- package/dist/apis/SummerTrailsApi.js +0 -59
- package/dist/esm/apis/HoursApi.d.ts +0 -46
- package/dist/esm/apis/HoursApi.js +0 -55
- package/dist/esm/apis/LiftsApi.d.ts +0 -46
- package/dist/esm/apis/LiftsApi.js +0 -55
- package/dist/esm/apis/ResortApi.d.ts +0 -66
- package/dist/esm/apis/ResortApi.js +0 -81
- package/dist/esm/apis/RunsApi.d.ts +0 -46
- package/dist/esm/apis/RunsApi.js +0 -55
- package/dist/esm/apis/SnowApi.d.ts +0 -46
- package/dist/esm/apis/SnowApi.js +0 -55
- package/dist/esm/apis/SummerTrailsApi.d.ts +0 -46
- package/dist/esm/apis/SummerTrailsApi.js +0 -55
- package/dist/esm/models/RecurrencePattern.d.ts +0 -23
- package/dist/esm/models/RecurrencePattern.js +0 -51
- package/dist/esm/models/RecurrencePatternOneOf.d.ts +0 -39
- package/dist/esm/models/RecurrencePatternOneOf.js +0 -51
- package/dist/esm/models/RecurrencePatternOneOf1.d.ts +0 -45
- package/dist/esm/models/RecurrencePatternOneOf1.js +0 -55
- package/dist/models/RecurrencePattern.d.ts +0 -23
- package/dist/models/RecurrencePattern.js +0 -57
- package/dist/models/RecurrencePatternOneOf.d.ts +0 -39
- package/dist/models/RecurrencePatternOneOf.js +0 -59
- package/dist/models/RecurrencePatternOneOf1.d.ts +0 -45
- package/dist/models/RecurrencePatternOneOf1.js +0 -63
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: support@mtnmanager.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -44,10 +44,10 @@ export interface WeatherData {
|
|
|
44
44
|
attribution: string;
|
|
45
45
|
/**
|
|
46
46
|
* When this data was last updated
|
|
47
|
-
* @type {
|
|
47
|
+
* @type {Date}
|
|
48
48
|
* @memberof WeatherData
|
|
49
49
|
*/
|
|
50
|
-
|
|
50
|
+
updatedAt: Date;
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
53
|
* Check if a given object implements the WeatherData interface.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: support@mtnmanager.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -26,7 +26,7 @@ export function instanceOfWeatherData(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('attribution' in value) || value['attribution'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
-
if (!('
|
|
29
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
30
30
|
return false;
|
|
31
31
|
return true;
|
|
32
32
|
}
|
|
@@ -42,7 +42,7 @@ export function WeatherDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'hourlyForecast': (json['hourly_forecast'].map(HourlyForecastFromJSON)),
|
|
43
43
|
'dailyForecast': (json['daily_forecast'].map(DailyForecastFromJSON)),
|
|
44
44
|
'attribution': json['attribution'],
|
|
45
|
-
'
|
|
45
|
+
'updatedAt': (new Date(json['updated_at'])),
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
export function WeatherDataToJSON(json) {
|
|
@@ -57,6 +57,6 @@ export function WeatherDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
57
57
|
'hourly_forecast': (value['hourlyForecast'].map(HourlyForecastToJSON)),
|
|
58
58
|
'daily_forecast': (value['dailyForecast'].map(DailyForecastToJSON)),
|
|
59
59
|
'attribution': value['attribution'],
|
|
60
|
-
'
|
|
60
|
+
'updated_at': value['updatedAt'].toISOString(),
|
|
61
61
|
};
|
|
62
62
|
}
|
|
@@ -20,9 +20,6 @@ export * from './PublicRun';
|
|
|
20
20
|
export * from './PublicSnowReport';
|
|
21
21
|
export * from './PublicSnowResponse';
|
|
22
22
|
export * from './PublicSummerTrail';
|
|
23
|
-
export * from './RecurrencePattern';
|
|
24
|
-
export * from './RecurrencePatternOneOf';
|
|
25
|
-
export * from './RecurrencePatternOneOf1';
|
|
26
23
|
export * from './ResortStatusType';
|
|
27
24
|
export * from './RunDifficulty';
|
|
28
25
|
export * from './RunStatus';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -22,9 +22,6 @@ export * from './PublicRun';
|
|
|
22
22
|
export * from './PublicSnowReport';
|
|
23
23
|
export * from './PublicSnowResponse';
|
|
24
24
|
export * from './PublicSummerTrail';
|
|
25
|
-
export * from './RecurrencePattern';
|
|
26
|
-
export * from './RecurrencePatternOneOf';
|
|
27
|
-
export * from './RecurrencePatternOneOf1';
|
|
28
25
|
export * from './ResortStatusType';
|
|
29
26
|
export * from './RunDifficulty';
|
|
30
27
|
export * from './RunStatus';
|
package/dist/esm/runtime.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
package/dist/esm/runtime.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: support@mtnmanager.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -56,10 +56,10 @@ export interface CurrentWeather {
|
|
|
56
56
|
windDirectionCardinal?: string | null;
|
|
57
57
|
/**
|
|
58
58
|
* Timestamp of observation
|
|
59
|
-
* @type {
|
|
59
|
+
* @type {Date}
|
|
60
60
|
* @memberof CurrentWeather
|
|
61
61
|
*/
|
|
62
|
-
timestamp:
|
|
62
|
+
timestamp: Date;
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
65
|
* Check if a given object implements the CurrentWeather interface.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -51,7 +51,7 @@ function CurrentWeatherFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
51
|
'conditionCode': (0, WeatherConditionCode_1.WeatherConditionCodeFromJSON)(json['condition_code']),
|
|
52
52
|
'windDirection': json['wind_direction'] == null ? undefined : json['wind_direction'],
|
|
53
53
|
'windDirectionCardinal': json['wind_direction_cardinal'] == null ? undefined : json['wind_direction_cardinal'],
|
|
54
|
-
'timestamp': json['timestamp'],
|
|
54
|
+
'timestamp': (new Date(json['timestamp'])),
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
function CurrentWeatherToJSON(json) {
|
|
@@ -68,6 +68,6 @@ function CurrentWeatherToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
68
68
|
'condition_code': (0, WeatherConditionCode_1.WeatherConditionCodeToJSON)(value['conditionCode']),
|
|
69
69
|
'wind_direction': value['windDirection'],
|
|
70
70
|
'wind_direction_cardinal': value['windDirectionCardinal'],
|
|
71
|
-
'timestamp': value['timestamp'],
|
|
71
|
+
'timestamp': value['timestamp'].toISOString(),
|
|
72
72
|
};
|
|
73
73
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -20,10 +20,10 @@ import type { DailyForecastImperial } from './DailyForecastImperial';
|
|
|
20
20
|
export interface DailyForecast {
|
|
21
21
|
/**
|
|
22
22
|
* Date of forecast (YYYY-MM-DD format)
|
|
23
|
-
* @type {
|
|
23
|
+
* @type {Date}
|
|
24
24
|
* @memberof DailyForecast
|
|
25
25
|
*/
|
|
26
|
-
date:
|
|
26
|
+
date: Date;
|
|
27
27
|
/**
|
|
28
28
|
* Measurements in imperial units
|
|
29
29
|
* @type {DailyForecastImperial}
|
|
@@ -56,16 +56,16 @@ export interface DailyForecast {
|
|
|
56
56
|
precipitationProbability?: number | null;
|
|
57
57
|
/**
|
|
58
58
|
* Sunrise time
|
|
59
|
-
* @type {
|
|
59
|
+
* @type {Date}
|
|
60
60
|
* @memberof DailyForecast
|
|
61
61
|
*/
|
|
62
|
-
sunrise:
|
|
62
|
+
sunrise: Date;
|
|
63
63
|
/**
|
|
64
64
|
* Sunset time
|
|
65
|
-
* @type {
|
|
65
|
+
* @type {Date}
|
|
66
66
|
* @memberof DailyForecast
|
|
67
67
|
*/
|
|
68
|
-
sunset:
|
|
68
|
+
sunset: Date;
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
71
|
* Check if a given object implements the DailyForecast interface.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -49,14 +49,14 @@ function DailyForecastFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
49
|
return json;
|
|
50
50
|
}
|
|
51
51
|
return {
|
|
52
|
-
'date': json['date'],
|
|
52
|
+
'date': (new Date(json['date'])),
|
|
53
53
|
'imperial': (0, DailyForecastImperial_1.DailyForecastImperialFromJSON)(json['imperial']),
|
|
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
57
|
'precipitationProbability': json['precipitation_probability'] == null ? undefined : json['precipitation_probability'],
|
|
58
|
-
'sunrise': json['sunrise'],
|
|
59
|
-
'sunset': json['sunset'],
|
|
58
|
+
'sunrise': (new Date(json['sunrise'])),
|
|
59
|
+
'sunset': (new Date(json['sunset'])),
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
function DailyForecastToJSON(json) {
|
|
@@ -67,13 +67,13 @@ function DailyForecastToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
67
67
|
return value;
|
|
68
68
|
}
|
|
69
69
|
return {
|
|
70
|
-
'date': value['date'],
|
|
70
|
+
'date': value['date'].toISOString().substring(0, 10),
|
|
71
71
|
'imperial': (0, DailyForecastImperial_1.DailyForecastImperialToJSON)(value['imperial']),
|
|
72
72
|
'metric': (0, DailyForecastMetric_1.DailyForecastMetricToJSON)(value['metric']),
|
|
73
73
|
'condition': value['condition'],
|
|
74
74
|
'condition_code': (0, WeatherConditionCode_1.WeatherConditionCodeToJSON)(value['conditionCode']),
|
|
75
75
|
'precipitation_probability': value['precipitationProbability'],
|
|
76
|
-
'sunrise': value['sunrise'],
|
|
77
|
-
'sunset': value['sunset'],
|
|
76
|
+
'sunrise': value['sunrise'].toISOString(),
|
|
77
|
+
'sunset': value['sunset'].toISOString(),
|
|
78
78
|
};
|
|
79
79
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
package/dist/models/DayHours.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -20,10 +20,10 @@ import type { HourlyForecastImperial } from './HourlyForecastImperial';
|
|
|
20
20
|
export interface HourlyForecast {
|
|
21
21
|
/**
|
|
22
22
|
* Forecast timestamp
|
|
23
|
-
* @type {
|
|
23
|
+
* @type {Date}
|
|
24
24
|
* @memberof HourlyForecast
|
|
25
25
|
*/
|
|
26
|
-
timestamp:
|
|
26
|
+
timestamp: Date;
|
|
27
27
|
/**
|
|
28
28
|
* Measurements in imperial units
|
|
29
29
|
* @type {HourlyForecastImperial}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -45,7 +45,7 @@ function HourlyForecastFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
return json;
|
|
46
46
|
}
|
|
47
47
|
return {
|
|
48
|
-
'timestamp': json['timestamp'],
|
|
48
|
+
'timestamp': (new Date(json['timestamp'])),
|
|
49
49
|
'imperial': (0, HourlyForecastImperial_1.HourlyForecastImperialFromJSON)(json['imperial']),
|
|
50
50
|
'metric': (0, HourlyForecastMetric_1.HourlyForecastMetricFromJSON)(json['metric']),
|
|
51
51
|
'condition': json['condition'],
|
|
@@ -61,7 +61,7 @@ function HourlyForecastToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
61
61
|
return value;
|
|
62
62
|
}
|
|
63
63
|
return {
|
|
64
|
-
'timestamp': value['timestamp'],
|
|
64
|
+
'timestamp': value['timestamp'].toISOString(),
|
|
65
65
|
'imperial': (0, HourlyForecastImperial_1.HourlyForecastImperialToJSON)(value['imperial']),
|
|
66
66
|
'metric': (0, HourlyForecastMetric_1.HourlyForecastMetricToJSON)(value['metric']),
|
|
67
67
|
'condition': value['condition'],
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
package/dist/models/LiftType.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
package/dist/models/PublicRun.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|