@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
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
package/dist/models/PublicRun.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,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;
|
|
@@ -6,44 +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.ResortStatusType = void 0;
|
|
17
|
+
exports.instanceOfResortStatusType = instanceOfResortStatusType;
|
|
16
18
|
exports.ResortStatusTypeFromJSON = ResortStatusTypeFromJSON;
|
|
17
19
|
exports.ResortStatusTypeFromJSONTyped = ResortStatusTypeFromJSONTyped;
|
|
18
20
|
exports.ResortStatusTypeToJSON = ResortStatusTypeToJSON;
|
|
19
21
|
exports.ResortStatusTypeToJSONTyped = ResortStatusTypeToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Current operational status of the resort.
|
|
24
|
+
*
|
|
25
|
+
* Calculated automatically based on the current time relative to
|
|
26
|
+
* the resort's scheduled operating hours.
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
exports.ResortStatusType = {
|
|
30
|
+
Open: 'open',
|
|
31
|
+
Closed: 'closed'
|
|
32
|
+
};
|
|
33
|
+
function instanceOfResortStatusType(value) {
|
|
34
|
+
for (const key in exports.ResortStatusType) {
|
|
35
|
+
if (Object.prototype.hasOwnProperty.call(exports.ResortStatusType, key)) {
|
|
36
|
+
if (exports.ResortStatusType[key] === value) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
20
43
|
function ResortStatusTypeFromJSON(json) {
|
|
21
44
|
return ResortStatusTypeFromJSONTyped(json, false);
|
|
22
45
|
}
|
|
23
46
|
function ResortStatusTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
if (typeof json === 'string' && (json === 'open')) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
if (typeof json === 'string' && (json === 'closed')) {
|
|
31
|
-
return json;
|
|
32
|
-
}
|
|
33
|
-
return {};
|
|
47
|
+
return json;
|
|
34
48
|
}
|
|
35
|
-
function ResortStatusTypeToJSON(
|
|
36
|
-
return
|
|
49
|
+
function ResortStatusTypeToJSON(value) {
|
|
50
|
+
return value;
|
|
37
51
|
}
|
|
38
|
-
function ResortStatusTypeToJSONTyped(value, ignoreDiscriminator
|
|
39
|
-
|
|
40
|
-
return value;
|
|
41
|
-
}
|
|
42
|
-
if (typeof value === 'string' && (value === 'open')) {
|
|
43
|
-
return value;
|
|
44
|
-
}
|
|
45
|
-
if (typeof value === 'string' && (value === 'closed')) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {};
|
|
52
|
+
function ResortStatusTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
return value;
|
|
49
54
|
}
|
|
@@ -3,21 +3,28 @@
|
|
|
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 RunDifficulty
|
|
14
13
|
* Difficulty rating for a ski run or trail.
|
|
15
14
|
*
|
|
16
15
|
* Based on the standard North American ski trail rating system.
|
|
17
16
|
* @export
|
|
18
17
|
*/
|
|
19
|
-
export
|
|
18
|
+
export declare const RunDifficulty: {
|
|
19
|
+
readonly Beginner: "beginner";
|
|
20
|
+
readonly Intermediate: "intermediate";
|
|
21
|
+
readonly Advanced: "advanced";
|
|
22
|
+
readonly Expert: "expert";
|
|
23
|
+
readonly TerrainPark: "terrain_park";
|
|
24
|
+
};
|
|
25
|
+
export type RunDifficulty = typeof RunDifficulty[keyof typeof RunDifficulty];
|
|
26
|
+
export declare function instanceOfRunDifficulty(value: any): boolean;
|
|
20
27
|
export declare function RunDifficultyFromJSON(json: any): RunDifficulty;
|
|
21
28
|
export declare function RunDifficultyFromJSONTyped(json: any, ignoreDiscriminator: boolean): RunDifficulty;
|
|
22
|
-
export declare function RunDifficultyToJSON(
|
|
23
|
-
export declare function RunDifficultyToJSONTyped(value
|
|
29
|
+
export declare function RunDifficultyToJSON(value?: RunDifficulty | null): any;
|
|
30
|
+
export declare function RunDifficultyToJSONTyped(value: any, ignoreDiscriminator: boolean): RunDifficulty;
|
|
@@ -6,62 +6,51 @@
|
|
|
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.RunDifficulty = void 0;
|
|
17
|
+
exports.instanceOfRunDifficulty = instanceOfRunDifficulty;
|
|
16
18
|
exports.RunDifficultyFromJSON = RunDifficultyFromJSON;
|
|
17
19
|
exports.RunDifficultyFromJSONTyped = RunDifficultyFromJSONTyped;
|
|
18
20
|
exports.RunDifficultyToJSON = RunDifficultyToJSON;
|
|
19
21
|
exports.RunDifficultyToJSONTyped = RunDifficultyToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Difficulty rating for a ski run or trail.
|
|
24
|
+
*
|
|
25
|
+
* Based on the standard North American ski trail rating system.
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.RunDifficulty = {
|
|
29
|
+
Beginner: 'beginner',
|
|
30
|
+
Intermediate: 'intermediate',
|
|
31
|
+
Advanced: 'advanced',
|
|
32
|
+
Expert: 'expert',
|
|
33
|
+
TerrainPark: 'terrain_park'
|
|
34
|
+
};
|
|
35
|
+
function instanceOfRunDifficulty(value) {
|
|
36
|
+
for (const key in exports.RunDifficulty) {
|
|
37
|
+
if (Object.prototype.hasOwnProperty.call(exports.RunDifficulty, key)) {
|
|
38
|
+
if (exports.RunDifficulty[key] === value) {
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return false;
|
|
44
|
+
}
|
|
20
45
|
function RunDifficultyFromJSON(json) {
|
|
21
46
|
return RunDifficultyFromJSONTyped(json, false);
|
|
22
47
|
}
|
|
23
48
|
function RunDifficultyFromJSONTyped(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 {};
|
|
49
|
+
return json;
|
|
43
50
|
}
|
|
44
|
-
function RunDifficultyToJSON(
|
|
45
|
-
return
|
|
51
|
+
function RunDifficultyToJSON(value) {
|
|
52
|
+
return value;
|
|
46
53
|
}
|
|
47
|
-
function RunDifficultyToJSONTyped(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 {};
|
|
54
|
+
function RunDifficultyToJSONTyped(value, ignoreDiscriminator) {
|
|
55
|
+
return value;
|
|
67
56
|
}
|
|
@@ -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 RunStatus
|
|
14
13
|
* Operational status of a ski run.
|
|
15
14
|
* @export
|
|
16
15
|
*/
|
|
17
|
-
export
|
|
16
|
+
export declare const RunStatus: {
|
|
17
|
+
readonly Open: "open";
|
|
18
|
+
readonly Closed: "closed";
|
|
19
|
+
readonly Unknown: "unknown";
|
|
20
|
+
};
|
|
21
|
+
export type RunStatus = typeof RunStatus[keyof typeof RunStatus];
|
|
22
|
+
export declare function instanceOfRunStatus(value: any): boolean;
|
|
18
23
|
export declare function RunStatusFromJSON(json: any): RunStatus;
|
|
19
24
|
export declare function RunStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): RunStatus;
|
|
20
|
-
export declare function RunStatusToJSON(
|
|
21
|
-
export declare function RunStatusToJSONTyped(value
|
|
25
|
+
export declare function RunStatusToJSON(value?: RunStatus | null): any;
|
|
26
|
+
export declare function RunStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): RunStatus;
|
package/dist/models/RunStatus.js
CHANGED
|
@@ -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.RunStatus = void 0;
|
|
17
|
+
exports.instanceOfRunStatus = instanceOfRunStatus;
|
|
16
18
|
exports.RunStatusFromJSON = RunStatusFromJSON;
|
|
17
19
|
exports.RunStatusFromJSONTyped = RunStatusFromJSONTyped;
|
|
18
20
|
exports.RunStatusToJSON = RunStatusToJSON;
|
|
19
21
|
exports.RunStatusToJSONTyped = RunStatusToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Operational status of a ski run.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.RunStatus = {
|
|
27
|
+
Open: 'open',
|
|
28
|
+
Closed: 'closed',
|
|
29
|
+
Unknown: 'unknown'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfRunStatus(value) {
|
|
32
|
+
for (const key in exports.RunStatus) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.RunStatus, key)) {
|
|
34
|
+
if (exports.RunStatus[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
20
41
|
function RunStatusFromJSON(json) {
|
|
21
42
|
return RunStatusFromJSONTyped(json, false);
|
|
22
43
|
}
|
|
23
44
|
function RunStatusFromJSONTyped(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 RunStatusToJSON(
|
|
39
|
-
return
|
|
47
|
+
function RunStatusToJSON(value) {
|
|
48
|
+
return value;
|
|
40
49
|
}
|
|
41
|
-
function RunStatusToJSONTyped(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 RunStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
55
52
|
}
|
|
@@ -3,13 +3,12 @@
|
|
|
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
|
-
import type { RecurrencePattern } from './RecurrencePattern';
|
|
13
12
|
/**
|
|
14
13
|
* Recurring schedule pattern with human-readable and machine-readable formats.
|
|
15
14
|
*
|
|
@@ -27,11 +26,12 @@ export interface Schedule {
|
|
|
27
26
|
*/
|
|
28
27
|
daysString: string;
|
|
29
28
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
29
|
+
* Array of day numbers this weekly schedule applies to (0 = Sunday, 1 = Monday, ..., 6 = Saturday).
|
|
30
|
+
* For programmatic use.
|
|
31
|
+
* @type {Array<number>}
|
|
32
32
|
* @memberof Schedule
|
|
33
33
|
*/
|
|
34
|
-
daysRecurrence:
|
|
34
|
+
daysRecurrence: Array<number>;
|
|
35
35
|
/**
|
|
36
36
|
* Human-readable time range.
|
|
37
37
|
* Example: "9:00 a.m. to 4:00 p.m."
|
package/dist/models/Schedule.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -18,7 +18,6 @@ exports.ScheduleFromJSON = ScheduleFromJSON;
|
|
|
18
18
|
exports.ScheduleFromJSONTyped = ScheduleFromJSONTyped;
|
|
19
19
|
exports.ScheduleToJSON = ScheduleToJSON;
|
|
20
20
|
exports.ScheduleToJSONTyped = ScheduleToJSONTyped;
|
|
21
|
-
const RecurrencePattern_1 = require("./RecurrencePattern");
|
|
22
21
|
/**
|
|
23
22
|
* Check if a given object implements the Schedule interface.
|
|
24
23
|
*/
|
|
@@ -52,7 +51,7 @@ function ScheduleFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
51
|
}
|
|
53
52
|
return {
|
|
54
53
|
'daysString': json['days_string'],
|
|
55
|
-
'daysRecurrence':
|
|
54
|
+
'daysRecurrence': json['days_recurrence'],
|
|
56
55
|
'timeString': json['time_string'],
|
|
57
56
|
'opensAt': json['opens_at'],
|
|
58
57
|
'closesAt': json['closes_at'],
|
|
@@ -71,7 +70,7 @@ function ScheduleToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
71
70
|
}
|
|
72
71
|
return {
|
|
73
72
|
'days_string': value['daysString'],
|
|
74
|
-
'days_recurrence':
|
|
73
|
+
'days_recurrence': value['daysRecurrence'],
|
|
75
74
|
'time_string': value['timeString'],
|
|
76
75
|
'opens_at': value['opensAt'],
|
|
77
76
|
'closes_at': value['closesAt'],
|
|
@@ -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 SeasonType
|
|
14
13
|
* Current operating season of the resort.
|
|
15
14
|
* @export
|
|
16
15
|
*/
|
|
17
|
-
export
|
|
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;
|
|
18
23
|
export declare function SeasonTypeFromJSON(json: any): SeasonType;
|
|
19
24
|
export declare function SeasonTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SeasonType;
|
|
20
|
-
export declare function SeasonTypeToJSON(
|
|
21
|
-
export declare function SeasonTypeToJSONTyped(value
|
|
25
|
+
export declare function SeasonTypeToJSON(value?: SeasonType | null): any;
|
|
26
|
+
export declare function SeasonTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): SeasonType;
|