@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
|
@@ -6,50 +6,47 @@
|
|
|
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
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SeasonType = void 0;
|
|
17
|
+
exports.instanceOfSeasonType = instanceOfSeasonType;
|
|
16
18
|
exports.SeasonTypeFromJSON = SeasonTypeFromJSON;
|
|
17
19
|
exports.SeasonTypeFromJSONTyped = SeasonTypeFromJSONTyped;
|
|
18
20
|
exports.SeasonTypeToJSON = SeasonTypeToJSON;
|
|
19
21
|
exports.SeasonTypeToJSONTyped = SeasonTypeToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Current operating season of the resort.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.SeasonType = {
|
|
27
|
+
Winter: 'winter',
|
|
28
|
+
Summer: 'summer',
|
|
29
|
+
Closed: 'closed'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfSeasonType(value) {
|
|
32
|
+
for (const key in exports.SeasonType) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.SeasonType, key)) {
|
|
34
|
+
if (exports.SeasonType[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
20
41
|
function SeasonTypeFromJSON(json) {
|
|
21
42
|
return SeasonTypeFromJSONTyped(json, false);
|
|
22
43
|
}
|
|
23
44
|
function SeasonTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
if (typeof json === 'string' && (json === 'winter')) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
if (typeof json === 'string' && (json === 'closed')) {
|
|
31
|
-
return json;
|
|
32
|
-
}
|
|
33
|
-
if (typeof json === 'string' && (json === 'summer')) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {};
|
|
45
|
+
return json;
|
|
37
46
|
}
|
|
38
|
-
function SeasonTypeToJSON(
|
|
39
|
-
return
|
|
47
|
+
function SeasonTypeToJSON(value) {
|
|
48
|
+
return value;
|
|
40
49
|
}
|
|
41
|
-
function SeasonTypeToJSONTyped(value, ignoreDiscriminator
|
|
42
|
-
|
|
43
|
-
return value;
|
|
44
|
-
}
|
|
45
|
-
if (typeof value === 'string' && (value === 'winter')) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
if (typeof value === 'string' && (value === 'closed')) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
if (typeof value === 'string' && (value === 'summer')) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {};
|
|
50
|
+
function SeasonTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
55
52
|
}
|
|
@@ -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,19 +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 SummerTrailDifficulty
|
|
14
13
|
* Difficulty rating for a summer trail.
|
|
15
14
|
* @export
|
|
16
15
|
*/
|
|
17
|
-
export
|
|
16
|
+
export declare const SummerTrailDifficulty: {
|
|
17
|
+
readonly Beginner: "beginner";
|
|
18
|
+
readonly Intermediate: "intermediate";
|
|
19
|
+
readonly Advanced: "advanced";
|
|
20
|
+
readonly Expert: "expert";
|
|
21
|
+
readonly TerrainPark: "terrain_park";
|
|
22
|
+
};
|
|
23
|
+
export type SummerTrailDifficulty = typeof SummerTrailDifficulty[keyof typeof SummerTrailDifficulty];
|
|
24
|
+
export declare function instanceOfSummerTrailDifficulty(value: any): boolean;
|
|
18
25
|
export declare function SummerTrailDifficultyFromJSON(json: any): SummerTrailDifficulty;
|
|
19
26
|
export declare function SummerTrailDifficultyFromJSONTyped(json: any, ignoreDiscriminator: boolean): SummerTrailDifficulty;
|
|
20
|
-
export declare function SummerTrailDifficultyToJSON(
|
|
21
|
-
export declare function SummerTrailDifficultyToJSONTyped(value
|
|
27
|
+
export declare function SummerTrailDifficultyToJSON(value?: SummerTrailDifficulty | null): any;
|
|
28
|
+
export declare function SummerTrailDifficultyToJSONTyped(value: any, ignoreDiscriminator: boolean): SummerTrailDifficulty;
|
|
@@ -6,62 +6,49 @@
|
|
|
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
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SummerTrailDifficulty = void 0;
|
|
17
|
+
exports.instanceOfSummerTrailDifficulty = instanceOfSummerTrailDifficulty;
|
|
16
18
|
exports.SummerTrailDifficultyFromJSON = SummerTrailDifficultyFromJSON;
|
|
17
19
|
exports.SummerTrailDifficultyFromJSONTyped = SummerTrailDifficultyFromJSONTyped;
|
|
18
20
|
exports.SummerTrailDifficultyToJSON = SummerTrailDifficultyToJSON;
|
|
19
21
|
exports.SummerTrailDifficultyToJSONTyped = SummerTrailDifficultyToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Difficulty rating for a summer trail.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.SummerTrailDifficulty = {
|
|
27
|
+
Beginner: 'beginner',
|
|
28
|
+
Intermediate: 'intermediate',
|
|
29
|
+
Advanced: 'advanced',
|
|
30
|
+
Expert: 'expert',
|
|
31
|
+
TerrainPark: 'terrain_park'
|
|
32
|
+
};
|
|
33
|
+
function instanceOfSummerTrailDifficulty(value) {
|
|
34
|
+
for (const key in exports.SummerTrailDifficulty) {
|
|
35
|
+
if (Object.prototype.hasOwnProperty.call(exports.SummerTrailDifficulty, key)) {
|
|
36
|
+
if (exports.SummerTrailDifficulty[key] === value) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
20
43
|
function SummerTrailDifficultyFromJSON(json) {
|
|
21
44
|
return SummerTrailDifficultyFromJSONTyped(json, false);
|
|
22
45
|
}
|
|
23
46
|
function SummerTrailDifficultyFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
if (typeof json === 'string' && (json === 'expert')) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
if (typeof json === 'string' && (json === 'beginner')) {
|
|
31
|
-
return json;
|
|
32
|
-
}
|
|
33
|
-
if (typeof json === 'string' && (json === 'advanced')) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
if (typeof json === 'string' && (json === 'terrain_park')) {
|
|
37
|
-
return json;
|
|
38
|
-
}
|
|
39
|
-
if (typeof json === 'string' && (json === 'intermediate')) {
|
|
40
|
-
return json;
|
|
41
|
-
}
|
|
42
|
-
return {};
|
|
47
|
+
return json;
|
|
43
48
|
}
|
|
44
|
-
function SummerTrailDifficultyToJSON(
|
|
45
|
-
return
|
|
49
|
+
function SummerTrailDifficultyToJSON(value) {
|
|
50
|
+
return value;
|
|
46
51
|
}
|
|
47
|
-
function SummerTrailDifficultyToJSONTyped(value, ignoreDiscriminator
|
|
48
|
-
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
if (typeof value === 'string' && (value === 'expert')) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
if (typeof value === 'string' && (value === 'beginner')) {
|
|
55
|
-
return value;
|
|
56
|
-
}
|
|
57
|
-
if (typeof value === 'string' && (value === 'advanced')) {
|
|
58
|
-
return value;
|
|
59
|
-
}
|
|
60
|
-
if (typeof value === 'string' && (value === 'terrain_park')) {
|
|
61
|
-
return value;
|
|
62
|
-
}
|
|
63
|
-
if (typeof value === 'string' && (value === 'intermediate')) {
|
|
64
|
-
return value;
|
|
65
|
-
}
|
|
66
|
-
return {};
|
|
52
|
+
function SummerTrailDifficultyToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
return value;
|
|
67
54
|
}
|
|
@@ -3,19 +3,24 @@
|
|
|
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 SummerTrailStatus
|
|
14
13
|
* Operational status of a summer trail.
|
|
15
14
|
* @export
|
|
16
15
|
*/
|
|
17
|
-
export
|
|
16
|
+
export declare const SummerTrailStatus: {
|
|
17
|
+
readonly Open: "open";
|
|
18
|
+
readonly Closed: "closed";
|
|
19
|
+
readonly Unknown: "unknown";
|
|
20
|
+
};
|
|
21
|
+
export type SummerTrailStatus = typeof SummerTrailStatus[keyof typeof SummerTrailStatus];
|
|
22
|
+
export declare function instanceOfSummerTrailStatus(value: any): boolean;
|
|
18
23
|
export declare function SummerTrailStatusFromJSON(json: any): SummerTrailStatus;
|
|
19
24
|
export declare function SummerTrailStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): SummerTrailStatus;
|
|
20
|
-
export declare function SummerTrailStatusToJSON(
|
|
21
|
-
export declare function SummerTrailStatusToJSONTyped(value
|
|
25
|
+
export declare function SummerTrailStatusToJSON(value?: SummerTrailStatus | null): any;
|
|
26
|
+
export declare function SummerTrailStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): SummerTrailStatus;
|
|
@@ -6,50 +6,47 @@
|
|
|
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
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SummerTrailStatus = void 0;
|
|
17
|
+
exports.instanceOfSummerTrailStatus = instanceOfSummerTrailStatus;
|
|
16
18
|
exports.SummerTrailStatusFromJSON = SummerTrailStatusFromJSON;
|
|
17
19
|
exports.SummerTrailStatusFromJSONTyped = SummerTrailStatusFromJSONTyped;
|
|
18
20
|
exports.SummerTrailStatusToJSON = SummerTrailStatusToJSON;
|
|
19
21
|
exports.SummerTrailStatusToJSONTyped = SummerTrailStatusToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Operational status of a summer trail.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.SummerTrailStatus = {
|
|
27
|
+
Open: 'open',
|
|
28
|
+
Closed: 'closed',
|
|
29
|
+
Unknown: 'unknown'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfSummerTrailStatus(value) {
|
|
32
|
+
for (const key in exports.SummerTrailStatus) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.SummerTrailStatus, key)) {
|
|
34
|
+
if (exports.SummerTrailStatus[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
20
41
|
function SummerTrailStatusFromJSON(json) {
|
|
21
42
|
return SummerTrailStatusFromJSONTyped(json, false);
|
|
22
43
|
}
|
|
23
44
|
function SummerTrailStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
if (typeof json === 'string' && (json === 'unknown')) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
if (typeof json === 'string' && (json === 'open')) {
|
|
31
|
-
return json;
|
|
32
|
-
}
|
|
33
|
-
if (typeof json === 'string' && (json === 'closed')) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {};
|
|
45
|
+
return json;
|
|
37
46
|
}
|
|
38
|
-
function SummerTrailStatusToJSON(
|
|
39
|
-
return
|
|
47
|
+
function SummerTrailStatusToJSON(value) {
|
|
48
|
+
return value;
|
|
40
49
|
}
|
|
41
|
-
function SummerTrailStatusToJSONTyped(value, ignoreDiscriminator
|
|
42
|
-
|
|
43
|
-
return value;
|
|
44
|
-
}
|
|
45
|
-
if (typeof value === 'string' && (value === 'unknown')) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
if (typeof value === 'string' && (value === 'open')) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
if (typeof value === 'string' && (value === 'closed')) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {};
|
|
50
|
+
function SummerTrailStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
55
52
|
}
|
|
@@ -3,19 +3,23 @@
|
|
|
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 SummerTrailType
|
|
14
13
|
* Type of summer trail activity.
|
|
15
14
|
* @export
|
|
16
15
|
*/
|
|
17
|
-
export
|
|
16
|
+
export declare const SummerTrailType: {
|
|
17
|
+
readonly Hiking: "hiking";
|
|
18
|
+
readonly MountainBiking: "mountain_biking";
|
|
19
|
+
};
|
|
20
|
+
export type SummerTrailType = typeof SummerTrailType[keyof typeof SummerTrailType];
|
|
21
|
+
export declare function instanceOfSummerTrailType(value: any): boolean;
|
|
18
22
|
export declare function SummerTrailTypeFromJSON(json: any): SummerTrailType;
|
|
19
23
|
export declare function SummerTrailTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SummerTrailType;
|
|
20
|
-
export declare function SummerTrailTypeToJSON(
|
|
21
|
-
export declare function SummerTrailTypeToJSONTyped(value
|
|
24
|
+
export declare function SummerTrailTypeToJSON(value?: SummerTrailType | null): any;
|
|
25
|
+
export declare function SummerTrailTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): SummerTrailType;
|
|
@@ -6,44 +6,46 @@
|
|
|
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
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SummerTrailType = void 0;
|
|
17
|
+
exports.instanceOfSummerTrailType = instanceOfSummerTrailType;
|
|
16
18
|
exports.SummerTrailTypeFromJSON = SummerTrailTypeFromJSON;
|
|
17
19
|
exports.SummerTrailTypeFromJSONTyped = SummerTrailTypeFromJSONTyped;
|
|
18
20
|
exports.SummerTrailTypeToJSON = SummerTrailTypeToJSON;
|
|
19
21
|
exports.SummerTrailTypeToJSONTyped = SummerTrailTypeToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Type of summer trail activity.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.SummerTrailType = {
|
|
27
|
+
Hiking: 'hiking',
|
|
28
|
+
MountainBiking: 'mountain_biking'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfSummerTrailType(value) {
|
|
31
|
+
for (const key in exports.SummerTrailType) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.SummerTrailType, key)) {
|
|
33
|
+
if (exports.SummerTrailType[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
20
40
|
function SummerTrailTypeFromJSON(json) {
|
|
21
41
|
return SummerTrailTypeFromJSONTyped(json, false);
|
|
22
42
|
}
|
|
23
43
|
function SummerTrailTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
if (typeof json === 'string' && (json === 'mountain_biking')) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
if (typeof json === 'string' && (json === 'hiking')) {
|
|
31
|
-
return json;
|
|
32
|
-
}
|
|
33
|
-
return {};
|
|
44
|
+
return json;
|
|
34
45
|
}
|
|
35
|
-
function SummerTrailTypeToJSON(
|
|
36
|
-
return
|
|
46
|
+
function SummerTrailTypeToJSON(value) {
|
|
47
|
+
return value;
|
|
37
48
|
}
|
|
38
|
-
function SummerTrailTypeToJSONTyped(value, ignoreDiscriminator
|
|
39
|
-
|
|
40
|
-
return value;
|
|
41
|
-
}
|
|
42
|
-
if (typeof value === 'string' && (value === 'mountain_biking')) {
|
|
43
|
-
return value;
|
|
44
|
-
}
|
|
45
|
-
if (typeof value === 'string' && (value === 'hiking')) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {};
|
|
49
|
+
function SummerTrailTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
49
51
|
}
|
|
@@ -3,22 +3,39 @@
|
|
|
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 SurfaceCondition
|
|
14
13
|
* Snow surface condition codes.
|
|
15
14
|
*
|
|
16
15
|
* Industry-standard two-letter codes describing snow surface conditions.
|
|
17
16
|
* These codes are commonly used across ski resorts and snow reporting systems.
|
|
18
17
|
* @export
|
|
19
18
|
*/
|
|
20
|
-
export
|
|
19
|
+
export declare const SurfaceCondition: {
|
|
20
|
+
readonly Bs: "BS";
|
|
21
|
+
readonly Co: "CO";
|
|
22
|
+
readonly Fg: "FG";
|
|
23
|
+
readonly Hp: "HP";
|
|
24
|
+
readonly Ip: "IP";
|
|
25
|
+
readonly Is: "IS";
|
|
26
|
+
readonly Lg: "LG";
|
|
27
|
+
readonly Mg: "MG";
|
|
28
|
+
readonly P: "P";
|
|
29
|
+
readonly Pp: "PP";
|
|
30
|
+
readonly Sc: "SC";
|
|
31
|
+
readonly Tc: "TC";
|
|
32
|
+
readonly V: "V";
|
|
33
|
+
readonly Wg: "WG";
|
|
34
|
+
readonly Wp: "WP";
|
|
35
|
+
};
|
|
36
|
+
export type SurfaceCondition = typeof SurfaceCondition[keyof typeof SurfaceCondition];
|
|
37
|
+
export declare function instanceOfSurfaceCondition(value: any): boolean;
|
|
21
38
|
export declare function SurfaceConditionFromJSON(json: any): SurfaceCondition;
|
|
22
39
|
export declare function SurfaceConditionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SurfaceCondition;
|
|
23
|
-
export declare function SurfaceConditionToJSON(
|
|
24
|
-
export declare function SurfaceConditionToJSONTyped(value
|
|
40
|
+
export declare function SurfaceConditionToJSON(value?: SurfaceCondition | null): any;
|
|
41
|
+
export declare function SurfaceConditionToJSONTyped(value: any, ignoreDiscriminator: boolean): SurfaceCondition;
|
|
@@ -6,122 +6,62 @@
|
|
|
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
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SurfaceCondition = void 0;
|
|
17
|
+
exports.instanceOfSurfaceCondition = instanceOfSurfaceCondition;
|
|
16
18
|
exports.SurfaceConditionFromJSON = SurfaceConditionFromJSON;
|
|
17
19
|
exports.SurfaceConditionFromJSONTyped = SurfaceConditionFromJSONTyped;
|
|
18
20
|
exports.SurfaceConditionToJSON = SurfaceConditionToJSON;
|
|
19
21
|
exports.SurfaceConditionToJSONTyped = SurfaceConditionToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Snow surface condition codes.
|
|
24
|
+
*
|
|
25
|
+
* Industry-standard two-letter codes describing snow surface conditions.
|
|
26
|
+
* These codes are commonly used across ski resorts and snow reporting systems.
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
exports.SurfaceCondition = {
|
|
30
|
+
Bs: 'BS',
|
|
31
|
+
Co: 'CO',
|
|
32
|
+
Fg: 'FG',
|
|
33
|
+
Hp: 'HP',
|
|
34
|
+
Ip: 'IP',
|
|
35
|
+
Is: 'IS',
|
|
36
|
+
Lg: 'LG',
|
|
37
|
+
Mg: 'MG',
|
|
38
|
+
P: 'P',
|
|
39
|
+
Pp: 'PP',
|
|
40
|
+
Sc: 'SC',
|
|
41
|
+
Tc: 'TC',
|
|
42
|
+
V: 'V',
|
|
43
|
+
Wg: 'WG',
|
|
44
|
+
Wp: 'WP'
|
|
45
|
+
};
|
|
46
|
+
function instanceOfSurfaceCondition(value) {
|
|
47
|
+
for (const key in exports.SurfaceCondition) {
|
|
48
|
+
if (Object.prototype.hasOwnProperty.call(exports.SurfaceCondition, key)) {
|
|
49
|
+
if (exports.SurfaceCondition[key] === value) {
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
20
56
|
function SurfaceConditionFromJSON(json) {
|
|
21
57
|
return SurfaceConditionFromJSONTyped(json, false);
|
|
22
58
|
}
|
|
23
59
|
function SurfaceConditionFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
if (typeof json === 'string' && (json === 'IP')) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
if (typeof json === 'string' && (json === 'P')) {
|
|
31
|
-
return json;
|
|
32
|
-
}
|
|
33
|
-
if (typeof json === 'string' && (json === 'SC')) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
if (typeof json === 'string' && (json === 'WP')) {
|
|
37
|
-
return json;
|
|
38
|
-
}
|
|
39
|
-
if (typeof json === 'string' && (json === 'PP')) {
|
|
40
|
-
return json;
|
|
41
|
-
}
|
|
42
|
-
if (typeof json === 'string' && (json === 'CO')) {
|
|
43
|
-
return json;
|
|
44
|
-
}
|
|
45
|
-
if (typeof json === 'string' && (json === 'FG')) {
|
|
46
|
-
return json;
|
|
47
|
-
}
|
|
48
|
-
if (typeof json === 'string' && (json === 'BS')) {
|
|
49
|
-
return json;
|
|
50
|
-
}
|
|
51
|
-
if (typeof json === 'string' && (json === 'V')) {
|
|
52
|
-
return json;
|
|
53
|
-
}
|
|
54
|
-
if (typeof json === 'string' && (json === 'WG')) {
|
|
55
|
-
return json;
|
|
56
|
-
}
|
|
57
|
-
if (typeof json === 'string' && (json === 'MG')) {
|
|
58
|
-
return json;
|
|
59
|
-
}
|
|
60
|
-
if (typeof json === 'string' && (json === 'HP')) {
|
|
61
|
-
return json;
|
|
62
|
-
}
|
|
63
|
-
if (typeof json === 'string' && (json === 'IS')) {
|
|
64
|
-
return json;
|
|
65
|
-
}
|
|
66
|
-
if (typeof json === 'string' && (json === 'LG')) {
|
|
67
|
-
return json;
|
|
68
|
-
}
|
|
69
|
-
if (typeof json === 'string' && (json === 'TC')) {
|
|
70
|
-
return json;
|
|
71
|
-
}
|
|
72
|
-
return {};
|
|
60
|
+
return json;
|
|
73
61
|
}
|
|
74
|
-
function SurfaceConditionToJSON(
|
|
75
|
-
return
|
|
62
|
+
function SurfaceConditionToJSON(value) {
|
|
63
|
+
return value;
|
|
76
64
|
}
|
|
77
|
-
function SurfaceConditionToJSONTyped(value, ignoreDiscriminator
|
|
78
|
-
|
|
79
|
-
return value;
|
|
80
|
-
}
|
|
81
|
-
if (typeof value === 'string' && (value === 'IP')) {
|
|
82
|
-
return value;
|
|
83
|
-
}
|
|
84
|
-
if (typeof value === 'string' && (value === 'P')) {
|
|
85
|
-
return value;
|
|
86
|
-
}
|
|
87
|
-
if (typeof value === 'string' && (value === 'SC')) {
|
|
88
|
-
return value;
|
|
89
|
-
}
|
|
90
|
-
if (typeof value === 'string' && (value === 'WP')) {
|
|
91
|
-
return value;
|
|
92
|
-
}
|
|
93
|
-
if (typeof value === 'string' && (value === 'PP')) {
|
|
94
|
-
return value;
|
|
95
|
-
}
|
|
96
|
-
if (typeof value === 'string' && (value === 'CO')) {
|
|
97
|
-
return value;
|
|
98
|
-
}
|
|
99
|
-
if (typeof value === 'string' && (value === 'FG')) {
|
|
100
|
-
return value;
|
|
101
|
-
}
|
|
102
|
-
if (typeof value === 'string' && (value === 'BS')) {
|
|
103
|
-
return value;
|
|
104
|
-
}
|
|
105
|
-
if (typeof value === 'string' && (value === 'V')) {
|
|
106
|
-
return value;
|
|
107
|
-
}
|
|
108
|
-
if (typeof value === 'string' && (value === 'WG')) {
|
|
109
|
-
return value;
|
|
110
|
-
}
|
|
111
|
-
if (typeof value === 'string' && (value === 'MG')) {
|
|
112
|
-
return value;
|
|
113
|
-
}
|
|
114
|
-
if (typeof value === 'string' && (value === 'HP')) {
|
|
115
|
-
return value;
|
|
116
|
-
}
|
|
117
|
-
if (typeof value === 'string' && (value === 'IS')) {
|
|
118
|
-
return value;
|
|
119
|
-
}
|
|
120
|
-
if (typeof value === 'string' && (value === 'LG')) {
|
|
121
|
-
return value;
|
|
122
|
-
}
|
|
123
|
-
if (typeof value === 'string' && (value === 'TC')) {
|
|
124
|
-
return value;
|
|
125
|
-
}
|
|
126
|
-
return {};
|
|
65
|
+
function SurfaceConditionToJSONTyped(value, ignoreDiscriminator) {
|
|
66
|
+
return value;
|
|
127
67
|
}
|
|
@@ -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
|