@mtnmanager/sdk 0.0.4 → 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 +17 -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 +11 -4
- package/dist/esm/models/PublicResortStatus.js +11 -4
- package/dist/esm/models/PublicRun.d.ts +4 -4
- package/dist/esm/models/PublicRun.js +6 -4
- package/dist/esm/models/PublicSnowReport.d.ts +4 -4
- package/dist/esm/models/PublicSnowReport.js +6 -4
- 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 -2
- package/dist/esm/models/ResortStatusType.js +2 -3
- 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 +26 -0
- package/dist/esm/models/SeasonType.js +44 -0
- 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 +2 -0
- package/dist/esm/models/index.js +2 -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 +11 -4
- package/dist/models/PublicResortStatus.js +11 -4
- package/dist/models/PublicRun.d.ts +4 -4
- package/dist/models/PublicRun.js +6 -4
- package/dist/models/PublicSnowReport.d.ts +4 -4
- package/dist/models/PublicSnowReport.js +6 -4
- 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 -2
- package/dist/models/ResortStatusType.js +2 -3
- 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 +26 -0
- package/dist/models/SeasonType.js +52 -0
- 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 +2 -0
- package/dist/models/index.js +2 -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).
|
|
@@ -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).
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const SeasonType: {
|
|
17
|
+
readonly Winter: "winter";
|
|
18
|
+
readonly Summer: "summer";
|
|
19
|
+
readonly Closed: "closed";
|
|
20
|
+
};
|
|
21
|
+
export type SeasonType = typeof SeasonType[keyof typeof SeasonType];
|
|
22
|
+
export declare function instanceOfSeasonType(value: any): boolean;
|
|
23
|
+
export declare function SeasonTypeFromJSON(json: any): SeasonType;
|
|
24
|
+
export declare function SeasonTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SeasonType;
|
|
25
|
+
export declare function SeasonTypeToJSON(value?: SeasonType | null): any;
|
|
26
|
+
export declare function SeasonTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): SeasonType;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* MtnManager API
|
|
5
|
+
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const SeasonType = {
|
|
19
|
+
Winter: 'winter',
|
|
20
|
+
Summer: 'summer',
|
|
21
|
+
Closed: 'closed'
|
|
22
|
+
};
|
|
23
|
+
export function instanceOfSeasonType(value) {
|
|
24
|
+
for (const key in SeasonType) {
|
|
25
|
+
if (Object.prototype.hasOwnProperty.call(SeasonType, key)) {
|
|
26
|
+
if (SeasonType[key] === value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
export function SeasonTypeFromJSON(json) {
|
|
34
|
+
return SeasonTypeFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function SeasonTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
export function SeasonTypeToJSON(value) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
export function SeasonTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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';
|
|
@@ -26,6 +27,7 @@ export * from './ResortStatusType';
|
|
|
26
27
|
export * from './RunDifficulty';
|
|
27
28
|
export * from './RunStatus';
|
|
28
29
|
export * from './Schedule';
|
|
30
|
+
export * from './SeasonType';
|
|
29
31
|
export * from './SnowMetrics';
|
|
30
32
|
export * from './SurfaceCondition';
|
|
31
33
|
export * from './UnitPreference';
|
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';
|
|
@@ -28,6 +29,7 @@ export * from './ResortStatusType';
|
|
|
28
29
|
export * from './RunDifficulty';
|
|
29
30
|
export * from './RunStatus';
|
|
30
31
|
export * from './Schedule';
|
|
32
|
+
export * from './SeasonType';
|
|
31
33
|
export * from './SnowMetrics';
|
|
32
34
|
export * from './SurfaceCondition';
|
|
33
35
|
export * from './UnitPreference';
|
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).
|