@mtnmanager/sdk 0.0.26 → 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 +11 -5
- package/dist/esm/models/LiftStatus.js +26 -36
- package/dist/esm/models/LiftType.d.ts +20 -5
- package/dist/esm/models/LiftType.js +35 -90
- 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 +9 -5
- package/dist/esm/models/ResortStatusType.js +27 -24
- package/dist/esm/models/RunDifficulty.d.ts +12 -5
- package/dist/esm/models/RunDifficulty.js +29 -42
- package/dist/esm/models/RunStatus.d.ts +10 -5
- package/dist/esm/models/RunStatus.js +25 -30
- package/dist/esm/models/Schedule.d.ts +5 -5
- package/dist/esm/models/Schedule.js +3 -4
- package/dist/esm/models/SeasonType.d.ts +10 -5
- package/dist/esm/models/SeasonType.js +25 -30
- package/dist/esm/models/SnowMetrics.d.ts +1 -1
- package/dist/esm/models/SnowMetrics.js +1 -1
- package/dist/esm/models/SummerTrailDifficulty.d.ts +12 -5
- package/dist/esm/models/SummerTrailDifficulty.js +27 -42
- package/dist/esm/models/SummerTrailStatus.d.ts +10 -5
- package/dist/esm/models/SummerTrailStatus.js +25 -30
- package/dist/esm/models/SummerTrailType.d.ts +9 -5
- package/dist/esm/models/SummerTrailType.js +24 -24
- package/dist/esm/models/SurfaceCondition.d.ts +22 -5
- package/dist/esm/models/SurfaceCondition.js +40 -102
- package/dist/esm/models/UnitPreference.d.ts +1 -1
- package/dist/esm/models/UnitPreference.js +1 -1
- package/dist/esm/models/WeatherConditionCode.d.ts +48 -5
- package/dist/esm/models/WeatherConditionCode.js +64 -24
- 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 +11 -5
- package/dist/models/LiftStatus.js +28 -36
- package/dist/models/LiftType.d.ts +20 -5
- package/dist/models/LiftType.js +37 -90
- 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 +9 -5
- package/dist/models/ResortStatusType.js +29 -24
- package/dist/models/RunDifficulty.d.ts +12 -5
- package/dist/models/RunDifficulty.js +31 -42
- package/dist/models/RunStatus.d.ts +10 -5
- package/dist/models/RunStatus.js +27 -30
- package/dist/models/Schedule.d.ts +5 -5
- package/dist/models/Schedule.js +3 -4
- package/dist/models/SeasonType.d.ts +10 -5
- package/dist/models/SeasonType.js +27 -30
- package/dist/models/SnowMetrics.d.ts +1 -1
- package/dist/models/SnowMetrics.js +1 -1
- package/dist/models/SummerTrailDifficulty.d.ts +12 -5
- package/dist/models/SummerTrailDifficulty.js +29 -42
- package/dist/models/SummerTrailStatus.d.ts +10 -5
- package/dist/models/SummerTrailStatus.js +27 -30
- package/dist/models/SummerTrailType.d.ts +9 -5
- package/dist/models/SummerTrailType.js +26 -24
- package/dist/models/SurfaceCondition.d.ts +22 -5
- package/dist/models/SurfaceCondition.js +42 -102
- package/dist/models/UnitPreference.d.ts +1 -1
- package/dist/models/UnitPreference.js +1 -1
- package/dist/models/WeatherConditionCode.d.ts +48 -5
- package/dist/models/WeatherConditionCode.js +66 -24
- 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
|
|
@@ -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}
|
|
@@ -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
|
|
@@ -38,7 +38,7 @@ export function HourlyForecastFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
return json;
|
|
39
39
|
}
|
|
40
40
|
return {
|
|
41
|
-
'timestamp': json['timestamp'],
|
|
41
|
+
'timestamp': (new Date(json['timestamp'])),
|
|
42
42
|
'imperial': HourlyForecastImperialFromJSON(json['imperial']),
|
|
43
43
|
'metric': HourlyForecastMetricFromJSON(json['metric']),
|
|
44
44
|
'condition': json['condition'],
|
|
@@ -54,7 +54,7 @@ export function HourlyForecastToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
54
54
|
return value;
|
|
55
55
|
}
|
|
56
56
|
return {
|
|
57
|
-
'timestamp': value['timestamp'],
|
|
57
|
+
'timestamp': value['timestamp'].toISOString(),
|
|
58
58
|
'imperial': HourlyForecastImperialToJSON(value['imperial']),
|
|
59
59
|
'metric': HourlyForecastMetricToJSON(value['metric']),
|
|
60
60
|
'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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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,19 +3,25 @@
|
|
|
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
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* @type LiftStatus
|
|
14
13
|
* Operational status of a ski lift.
|
|
15
14
|
* @export
|
|
16
15
|
*/
|
|
17
|
-
export
|
|
16
|
+
export declare const LiftStatus: {
|
|
17
|
+
readonly Open: "open";
|
|
18
|
+
readonly Closed: "closed";
|
|
19
|
+
readonly OnHold: "on_hold";
|
|
20
|
+
readonly Unknown: "unknown";
|
|
21
|
+
};
|
|
22
|
+
export type LiftStatus = typeof LiftStatus[keyof typeof LiftStatus];
|
|
23
|
+
export declare function instanceOfLiftStatus(value: any): boolean;
|
|
18
24
|
export declare function LiftStatusFromJSON(json: any): LiftStatus;
|
|
19
25
|
export declare function LiftStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): LiftStatus;
|
|
20
|
-
export declare function LiftStatusToJSON(
|
|
21
|
-
export declare function LiftStatusToJSONTyped(value
|
|
26
|
+
export declare function LiftStatusToJSON(value?: LiftStatus | null): any;
|
|
27
|
+
export declare function LiftStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): LiftStatus;
|
|
@@ -5,51 +5,41 @@
|
|
|
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
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
/**
|
|
15
|
+
* Operational status of a ski lift.
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const LiftStatus = {
|
|
19
|
+
Open: 'open',
|
|
20
|
+
Closed: 'closed',
|
|
21
|
+
OnHold: 'on_hold',
|
|
22
|
+
Unknown: 'unknown'
|
|
23
|
+
};
|
|
24
|
+
export function instanceOfLiftStatus(value) {
|
|
25
|
+
for (const key in LiftStatus) {
|
|
26
|
+
if (Object.prototype.hasOwnProperty.call(LiftStatus, key)) {
|
|
27
|
+
if (LiftStatus[key] === value) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return false;
|
|
33
|
+
}
|
|
14
34
|
export function LiftStatusFromJSON(json) {
|
|
15
35
|
return LiftStatusFromJSONTyped(json, false);
|
|
16
36
|
}
|
|
17
37
|
export function LiftStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
-
|
|
19
|
-
return json;
|
|
20
|
-
}
|
|
21
|
-
if (typeof json === 'string' && (json === 'unknown')) {
|
|
22
|
-
return json;
|
|
23
|
-
}
|
|
24
|
-
if (typeof json === 'string' && (json === 'open')) {
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
if (typeof json === 'string' && (json === 'closed')) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
if (typeof json === 'string' && (json === 'on_hold')) {
|
|
31
|
-
return json;
|
|
32
|
-
}
|
|
33
|
-
return {};
|
|
38
|
+
return json;
|
|
34
39
|
}
|
|
35
|
-
export function LiftStatusToJSON(
|
|
36
|
-
return
|
|
40
|
+
export function LiftStatusToJSON(value) {
|
|
41
|
+
return value;
|
|
37
42
|
}
|
|
38
|
-
export function LiftStatusToJSONTyped(value, ignoreDiscriminator
|
|
39
|
-
|
|
40
|
-
return value;
|
|
41
|
-
}
|
|
42
|
-
if (typeof value === 'string' && (value === 'unknown')) {
|
|
43
|
-
return value;
|
|
44
|
-
}
|
|
45
|
-
if (typeof value === 'string' && (value === 'open')) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
if (typeof value === 'string' && (value === 'closed')) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
if (typeof value === 'string' && (value === 'on_hold')) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {};
|
|
43
|
+
export function LiftStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
return value;
|
|
55
45
|
}
|
|
@@ -3,19 +3,34 @@
|
|
|
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
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* @type LiftType
|
|
14
13
|
* Type of ski lift
|
|
15
14
|
* @export
|
|
16
15
|
*/
|
|
17
|
-
export
|
|
16
|
+
export declare const LiftType: {
|
|
17
|
+
readonly Gondola: "gondola";
|
|
18
|
+
readonly Tram: "tram";
|
|
19
|
+
readonly EightPack: "eight_pack";
|
|
20
|
+
readonly SixPack: "six_pack";
|
|
21
|
+
readonly Quad: "quad";
|
|
22
|
+
readonly Triple: "triple";
|
|
23
|
+
readonly Double: "double";
|
|
24
|
+
readonly SurfaceLift: "surface_lift";
|
|
25
|
+
readonly MagicCarpet: "magic_carpet";
|
|
26
|
+
readonly TBar: "t_bar";
|
|
27
|
+
readonly Platter: "platter";
|
|
28
|
+
readonly RopeTow: "rope_tow";
|
|
29
|
+
readonly Funicular: "funicular";
|
|
30
|
+
};
|
|
31
|
+
export type LiftType = typeof LiftType[keyof typeof LiftType];
|
|
32
|
+
export declare function instanceOfLiftType(value: any): boolean;
|
|
18
33
|
export declare function LiftTypeFromJSON(json: any): LiftType;
|
|
19
34
|
export declare function LiftTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): LiftType;
|
|
20
|
-
export declare function LiftTypeToJSON(
|
|
21
|
-
export declare function LiftTypeToJSONTyped(value
|
|
35
|
+
export declare function LiftTypeToJSON(value?: LiftType | null): any;
|
|
36
|
+
export declare function LiftTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): LiftType;
|
|
@@ -5,105 +5,50 @@
|
|
|
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
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
/**
|
|
15
|
+
* Type of ski lift
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const LiftType = {
|
|
19
|
+
Gondola: 'gondola',
|
|
20
|
+
Tram: 'tram',
|
|
21
|
+
EightPack: 'eight_pack',
|
|
22
|
+
SixPack: 'six_pack',
|
|
23
|
+
Quad: 'quad',
|
|
24
|
+
Triple: 'triple',
|
|
25
|
+
Double: 'double',
|
|
26
|
+
SurfaceLift: 'surface_lift',
|
|
27
|
+
MagicCarpet: 'magic_carpet',
|
|
28
|
+
TBar: 't_bar',
|
|
29
|
+
Platter: 'platter',
|
|
30
|
+
RopeTow: 'rope_tow',
|
|
31
|
+
Funicular: 'funicular'
|
|
32
|
+
};
|
|
33
|
+
export function instanceOfLiftType(value) {
|
|
34
|
+
for (const key in LiftType) {
|
|
35
|
+
if (Object.prototype.hasOwnProperty.call(LiftType, key)) {
|
|
36
|
+
if (LiftType[key] === value) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
14
43
|
export function LiftTypeFromJSON(json) {
|
|
15
44
|
return LiftTypeFromJSONTyped(json, false);
|
|
16
45
|
}
|
|
17
46
|
export function LiftTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
-
|
|
19
|
-
return json;
|
|
20
|
-
}
|
|
21
|
-
if (typeof json === 'string' && (json === 't_bar')) {
|
|
22
|
-
return json;
|
|
23
|
-
}
|
|
24
|
-
if (typeof json === 'string' && (json === 'double')) {
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
if (typeof json === 'string' && (json === 'rope_tow')) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
if (typeof json === 'string' && (json === 'eight_pack')) {
|
|
31
|
-
return json;
|
|
32
|
-
}
|
|
33
|
-
if (typeof json === 'string' && (json === 'six_pack')) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
if (typeof json === 'string' && (json === 'triple')) {
|
|
37
|
-
return json;
|
|
38
|
-
}
|
|
39
|
-
if (typeof json === 'string' && (json === 'gondola')) {
|
|
40
|
-
return json;
|
|
41
|
-
}
|
|
42
|
-
if (typeof json === 'string' && (json === 'surface_lift')) {
|
|
43
|
-
return json;
|
|
44
|
-
}
|
|
45
|
-
if (typeof json === 'string' && (json === 'platter')) {
|
|
46
|
-
return json;
|
|
47
|
-
}
|
|
48
|
-
if (typeof json === 'string' && (json === 'tram')) {
|
|
49
|
-
return json;
|
|
50
|
-
}
|
|
51
|
-
if (typeof json === 'string' && (json === 'funicular')) {
|
|
52
|
-
return json;
|
|
53
|
-
}
|
|
54
|
-
if (typeof json === 'string' && (json === 'magic_carpet')) {
|
|
55
|
-
return json;
|
|
56
|
-
}
|
|
57
|
-
if (typeof json === 'string' && (json === 'quad')) {
|
|
58
|
-
return json;
|
|
59
|
-
}
|
|
60
|
-
return {};
|
|
47
|
+
return json;
|
|
61
48
|
}
|
|
62
|
-
export function LiftTypeToJSON(
|
|
63
|
-
return
|
|
49
|
+
export function LiftTypeToJSON(value) {
|
|
50
|
+
return value;
|
|
64
51
|
}
|
|
65
|
-
export function LiftTypeToJSONTyped(value, ignoreDiscriminator
|
|
66
|
-
|
|
67
|
-
return value;
|
|
68
|
-
}
|
|
69
|
-
if (typeof value === 'string' && (value === 't_bar')) {
|
|
70
|
-
return value;
|
|
71
|
-
}
|
|
72
|
-
if (typeof value === 'string' && (value === 'double')) {
|
|
73
|
-
return value;
|
|
74
|
-
}
|
|
75
|
-
if (typeof value === 'string' && (value === 'rope_tow')) {
|
|
76
|
-
return value;
|
|
77
|
-
}
|
|
78
|
-
if (typeof value === 'string' && (value === 'eight_pack')) {
|
|
79
|
-
return value;
|
|
80
|
-
}
|
|
81
|
-
if (typeof value === 'string' && (value === 'six_pack')) {
|
|
82
|
-
return value;
|
|
83
|
-
}
|
|
84
|
-
if (typeof value === 'string' && (value === 'triple')) {
|
|
85
|
-
return value;
|
|
86
|
-
}
|
|
87
|
-
if (typeof value === 'string' && (value === 'gondola')) {
|
|
88
|
-
return value;
|
|
89
|
-
}
|
|
90
|
-
if (typeof value === 'string' && (value === 'surface_lift')) {
|
|
91
|
-
return value;
|
|
92
|
-
}
|
|
93
|
-
if (typeof value === 'string' && (value === 'platter')) {
|
|
94
|
-
return value;
|
|
95
|
-
}
|
|
96
|
-
if (typeof value === 'string' && (value === 'tram')) {
|
|
97
|
-
return value;
|
|
98
|
-
}
|
|
99
|
-
if (typeof value === 'string' && (value === 'funicular')) {
|
|
100
|
-
return value;
|
|
101
|
-
}
|
|
102
|
-
if (typeof value === 'string' && (value === 'magic_carpet')) {
|
|
103
|
-
return value;
|
|
104
|
-
}
|
|
105
|
-
if (typeof value === 'string' && (value === 'quad')) {
|
|
106
|
-
return value;
|
|
107
|
-
}
|
|
108
|
-
return {};
|
|
52
|
+
export function LiftTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
return value;
|
|
109
54
|
}
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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,22 +3,26 @@
|
|
|
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
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* @type ResortStatusType
|
|
14
13
|
* Current operational status of the resort.
|
|
15
14
|
*
|
|
16
15
|
* Calculated automatically based on the current time relative to
|
|
17
16
|
* the resort's scheduled operating hours.
|
|
18
17
|
* @export
|
|
19
18
|
*/
|
|
20
|
-
export
|
|
19
|
+
export declare const ResortStatusType: {
|
|
20
|
+
readonly Open: "open";
|
|
21
|
+
readonly Closed: "closed";
|
|
22
|
+
};
|
|
23
|
+
export type ResortStatusType = typeof ResortStatusType[keyof typeof ResortStatusType];
|
|
24
|
+
export declare function instanceOfResortStatusType(value: any): boolean;
|
|
21
25
|
export declare function ResortStatusTypeFromJSON(json: any): ResortStatusType;
|
|
22
26
|
export declare function ResortStatusTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResortStatusType;
|
|
23
|
-
export declare function ResortStatusTypeToJSON(
|
|
24
|
-
export declare function ResortStatusTypeToJSONTyped(value
|
|
27
|
+
export declare function ResortStatusTypeToJSON(value?: ResortStatusType | null): any;
|
|
28
|
+
export declare function ResortStatusTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ResortStatusType;
|