@mtnmanager/sdk 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -15
- package/dist/apis/ReportApi.d.ts +146 -0
- package/dist/apis/{PublicApi.js → ReportApi.js} +35 -52
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/esm/apis/ReportApi.d.ts +146 -0
- package/dist/esm/apis/{PublicApi.js → ReportApi.js} +34 -51
- package/dist/esm/apis/index.d.ts +1 -1
- package/dist/esm/apis/index.js +1 -1
- package/dist/esm/models/CurrentWeather.d.ts +6 -6
- package/dist/esm/models/CurrentWeather.js +3 -3
- package/dist/esm/models/DailyForecast.d.ts +5 -5
- package/dist/esm/models/DailyForecast.js +5 -5
- package/dist/esm/models/DailyForecastImperial.d.ts +1 -1
- package/dist/esm/models/DailyForecastImperial.js +1 -1
- package/dist/esm/models/DailyForecastMetric.d.ts +1 -1
- package/dist/esm/models/DailyForecastMetric.js +1 -1
- package/dist/esm/models/DayHours.d.ts +1 -1
- package/dist/esm/models/DayHours.js +1 -1
- package/dist/esm/models/HourlyForecast.d.ts +3 -3
- package/dist/esm/models/HourlyForecast.js +3 -3
- package/dist/esm/models/HourlyForecastImperial.d.ts +1 -1
- package/dist/esm/models/HourlyForecastImperial.js +1 -1
- package/dist/esm/models/HourlyForecastMetric.d.ts +1 -1
- package/dist/esm/models/HourlyForecastMetric.js +1 -1
- package/dist/esm/models/ImperialUnits.d.ts +1 -1
- package/dist/esm/models/ImperialUnits.js +1 -1
- package/dist/esm/models/LiftStatus.d.ts +1 -1
- package/dist/esm/models/LiftStatus.js +1 -1
- package/dist/esm/models/LiftType.d.ts +1 -1
- package/dist/esm/models/LiftType.js +1 -1
- package/dist/esm/models/MetricUnits.d.ts +1 -1
- package/dist/esm/models/MetricUnits.js +1 -1
- package/dist/esm/models/OperatingHoursResponse.d.ts +1 -1
- package/dist/esm/models/OperatingHoursResponse.js +1 -1
- package/dist/esm/models/PathSlug.d.ts +32 -0
- package/dist/esm/models/PathSlug.js +43 -0
- package/dist/esm/models/PublicLift.d.ts +1 -1
- package/dist/esm/models/PublicLift.js +1 -1
- package/dist/esm/models/PublicResortInfo.d.ts +1 -1
- package/dist/esm/models/PublicResortInfo.js +1 -1
- package/dist/esm/models/PublicResortResponse.d.ts +4 -4
- package/dist/esm/models/PublicResortResponse.js +13 -7
- package/dist/esm/models/PublicResortStatus.d.ts +3 -3
- package/dist/esm/models/PublicResortStatus.js +3 -3
- package/dist/esm/models/PublicRun.d.ts +3 -3
- package/dist/esm/models/PublicRun.js +3 -3
- package/dist/esm/models/PublicSnowReport.d.ts +3 -3
- package/dist/esm/models/PublicSnowReport.js +3 -3
- package/dist/esm/models/PublicSnowResponse.d.ts +1 -1
- package/dist/esm/models/PublicSnowResponse.js +1 -1
- package/dist/esm/models/RecurrencePattern.d.ts +1 -1
- package/dist/esm/models/RecurrencePattern.js +1 -1
- package/dist/esm/models/RecurrencePatternOneOf.d.ts +1 -1
- package/dist/esm/models/RecurrencePatternOneOf.js +1 -1
- package/dist/esm/models/RecurrencePatternOneOf1.d.ts +1 -1
- package/dist/esm/models/RecurrencePatternOneOf1.js +1 -1
- package/dist/esm/models/RecurrencePatternOneOf2.d.ts +5 -5
- package/dist/esm/models/RecurrencePatternOneOf2.js +5 -5
- package/dist/esm/models/ResortStatusType.d.ts +1 -1
- package/dist/esm/models/ResortStatusType.js +1 -1
- package/dist/esm/models/RunDifficulty.d.ts +1 -1
- package/dist/esm/models/RunDifficulty.js +1 -1
- package/dist/esm/models/RunStatus.d.ts +1 -1
- package/dist/esm/models/RunStatus.js +1 -1
- package/dist/esm/models/Schedule.d.ts +1 -1
- package/dist/esm/models/Schedule.js +1 -1
- package/dist/esm/models/SeasonType.d.ts +1 -1
- package/dist/esm/models/SeasonType.js +1 -1
- package/dist/esm/models/SnowMetrics.d.ts +1 -1
- package/dist/esm/models/SnowMetrics.js +1 -1
- package/dist/esm/models/SurfaceCondition.d.ts +1 -1
- package/dist/esm/models/SurfaceCondition.js +1 -1
- package/dist/esm/models/UnitPreference.d.ts +1 -1
- package/dist/esm/models/UnitPreference.js +1 -1
- package/dist/esm/models/WeatherData.d.ts +3 -3
- package/dist/esm/models/WeatherData.js +3 -3
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/CurrentWeather.d.ts +6 -6
- package/dist/models/CurrentWeather.js +3 -3
- package/dist/models/DailyForecast.d.ts +5 -5
- package/dist/models/DailyForecast.js +5 -5
- package/dist/models/DailyForecastImperial.d.ts +1 -1
- package/dist/models/DailyForecastImperial.js +1 -1
- package/dist/models/DailyForecastMetric.d.ts +1 -1
- package/dist/models/DailyForecastMetric.js +1 -1
- package/dist/models/DayHours.d.ts +1 -1
- package/dist/models/DayHours.js +1 -1
- package/dist/models/HourlyForecast.d.ts +3 -3
- package/dist/models/HourlyForecast.js +3 -3
- package/dist/models/HourlyForecastImperial.d.ts +1 -1
- package/dist/models/HourlyForecastImperial.js +1 -1
- package/dist/models/HourlyForecastMetric.d.ts +1 -1
- package/dist/models/HourlyForecastMetric.js +1 -1
- package/dist/models/ImperialUnits.d.ts +1 -1
- package/dist/models/ImperialUnits.js +1 -1
- package/dist/models/LiftStatus.d.ts +1 -1
- package/dist/models/LiftStatus.js +1 -1
- package/dist/models/LiftType.d.ts +1 -1
- package/dist/models/LiftType.js +1 -1
- package/dist/models/MetricUnits.d.ts +1 -1
- package/dist/models/MetricUnits.js +1 -1
- package/dist/models/OperatingHoursResponse.d.ts +1 -1
- package/dist/models/OperatingHoursResponse.js +1 -1
- package/dist/models/PathSlug.d.ts +32 -0
- package/dist/models/PathSlug.js +50 -0
- package/dist/models/PublicLift.d.ts +1 -1
- package/dist/models/PublicLift.js +1 -1
- package/dist/models/PublicResortInfo.d.ts +1 -1
- package/dist/models/PublicResortInfo.js +1 -1
- package/dist/models/PublicResortResponse.d.ts +4 -4
- package/dist/models/PublicResortResponse.js +13 -7
- package/dist/models/PublicResortStatus.d.ts +3 -3
- package/dist/models/PublicResortStatus.js +3 -3
- package/dist/models/PublicRun.d.ts +3 -3
- package/dist/models/PublicRun.js +3 -3
- package/dist/models/PublicSnowReport.d.ts +3 -3
- package/dist/models/PublicSnowReport.js +3 -3
- package/dist/models/PublicSnowResponse.d.ts +1 -1
- package/dist/models/PublicSnowResponse.js +1 -1
- package/dist/models/RecurrencePattern.d.ts +1 -1
- package/dist/models/RecurrencePattern.js +1 -1
- package/dist/models/RecurrencePatternOneOf.d.ts +1 -1
- package/dist/models/RecurrencePatternOneOf.js +1 -1
- package/dist/models/RecurrencePatternOneOf1.d.ts +1 -1
- package/dist/models/RecurrencePatternOneOf1.js +1 -1
- package/dist/models/RecurrencePatternOneOf2.d.ts +5 -5
- package/dist/models/RecurrencePatternOneOf2.js +5 -5
- package/dist/models/ResortStatusType.d.ts +1 -1
- package/dist/models/ResortStatusType.js +1 -1
- package/dist/models/RunDifficulty.d.ts +1 -1
- package/dist/models/RunDifficulty.js +1 -1
- package/dist/models/RunStatus.d.ts +1 -1
- package/dist/models/RunStatus.js +1 -1
- package/dist/models/Schedule.d.ts +1 -1
- package/dist/models/Schedule.js +1 -1
- package/dist/models/SeasonType.d.ts +1 -1
- package/dist/models/SeasonType.js +1 -1
- package/dist/models/SnowMetrics.d.ts +1 -1
- package/dist/models/SnowMetrics.js +1 -1
- package/dist/models/SurfaceCondition.d.ts +1 -1
- package/dist/models/SurfaceCondition.js +1 -1
- package/dist/models/UnitPreference.d.ts +1 -1
- package/dist/models/UnitPreference.js +1 -1
- package/dist/models/WeatherData.d.ts +3 -3
- package/dist/models/WeatherData.js +3 -3
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/dist/apis/PublicApi.d.ts +0 -174
- package/dist/esm/apis/PublicApi.d.ts +0 -174
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -29,8 +29,14 @@ const WeatherData_1 = require("./WeatherData");
|
|
|
29
29
|
* Check if a given object implements the PublicResortResponse interface.
|
|
30
30
|
*/
|
|
31
31
|
function instanceOfPublicResortResponse(value) {
|
|
32
|
+
if (!('lifts' in value) || value['lifts'] === undefined)
|
|
33
|
+
return false;
|
|
32
34
|
if (!('resort' in value) || value['resort'] === undefined)
|
|
33
35
|
return false;
|
|
36
|
+
if (!('runs' in value) || value['runs'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('snow' in value) || value['snow'] === undefined)
|
|
39
|
+
return false;
|
|
34
40
|
return true;
|
|
35
41
|
}
|
|
36
42
|
function PublicResortResponseFromJSON(json) {
|
|
@@ -42,10 +48,10 @@ function PublicResortResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
48
|
}
|
|
43
49
|
return {
|
|
44
50
|
'hours': json['hours'] == null ? undefined : (0, OperatingHoursResponse_1.OperatingHoursResponseFromJSON)(json['hours']),
|
|
45
|
-
'lifts':
|
|
51
|
+
'lifts': (json['lifts'].map(PublicLift_1.PublicLiftFromJSON)),
|
|
46
52
|
'resort': (0, PublicResortInfo_1.PublicResortInfoFromJSON)(json['resort']),
|
|
47
|
-
'runs':
|
|
48
|
-
'snow':
|
|
53
|
+
'runs': (json['runs'].map(PublicRun_1.PublicRunFromJSON)),
|
|
54
|
+
'snow': (json['snow'].map(PublicSnowReport_1.PublicSnowReportFromJSON)),
|
|
49
55
|
'status': json['status'] == null ? undefined : (0, PublicResortStatus_1.PublicResortStatusFromJSON)(json['status']),
|
|
50
56
|
'weather': json['weather'] == null ? undefined : (0, WeatherData_1.WeatherDataFromJSON)(json['weather']),
|
|
51
57
|
};
|
|
@@ -59,10 +65,10 @@ function PublicResortResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
59
65
|
}
|
|
60
66
|
return {
|
|
61
67
|
'hours': (0, OperatingHoursResponse_1.OperatingHoursResponseToJSON)(value['hours']),
|
|
62
|
-
'lifts':
|
|
68
|
+
'lifts': (value['lifts'].map(PublicLift_1.PublicLiftToJSON)),
|
|
63
69
|
'resort': (0, PublicResortInfo_1.PublicResortInfoToJSON)(value['resort']),
|
|
64
|
-
'runs':
|
|
65
|
-
'snow':
|
|
70
|
+
'runs': (value['runs'].map(PublicRun_1.PublicRunToJSON)),
|
|
71
|
+
'snow': (value['snow'].map(PublicSnowReport_1.PublicSnowReportToJSON)),
|
|
66
72
|
'status': (0, PublicResortStatus_1.PublicResortStatusToJSON)(value['status']),
|
|
67
73
|
'weather': (0, WeatherData_1.WeatherDataToJSON)(value['weather']),
|
|
68
74
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -79,10 +79,10 @@ export interface PublicResortStatus {
|
|
|
79
79
|
totalRuns: number;
|
|
80
80
|
/**
|
|
81
81
|
*
|
|
82
|
-
* @type {
|
|
82
|
+
* @type {string}
|
|
83
83
|
* @memberof PublicResortStatus
|
|
84
84
|
*/
|
|
85
|
-
updatedAt?:
|
|
85
|
+
updatedAt?: string | null;
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
88
|
* Check if a given object implements the PublicResortStatus interface.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -60,7 +60,7 @@ function PublicResortStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
60
|
'status': (0, ResortStatusType_1.ResortStatusTypeFromJSON)(json['status']),
|
|
61
61
|
'totalLifts': json['total_lifts'],
|
|
62
62
|
'totalRuns': json['total_runs'],
|
|
63
|
-
'updatedAt': json['updated_at'] == null ? undefined :
|
|
63
|
+
'updatedAt': json['updated_at'] == null ? undefined : json['updated_at'],
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
66
|
function PublicResortStatusToJSON(json) {
|
|
@@ -81,6 +81,6 @@ function PublicResortStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
81
81
|
'status': (0, ResortStatusType_1.ResortStatusTypeToJSON)(value['status']),
|
|
82
82
|
'total_lifts': value['totalLifts'],
|
|
83
83
|
'total_runs': value['totalRuns'],
|
|
84
|
-
'updated_at': value['updatedAt']
|
|
84
|
+
'updated_at': value['updatedAt'],
|
|
85
85
|
};
|
|
86
86
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -49,10 +49,10 @@ export interface PublicRun {
|
|
|
49
49
|
groomedToday: boolean;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
|
-
* @type {
|
|
52
|
+
* @type {string}
|
|
53
53
|
* @memberof PublicRun
|
|
54
54
|
*/
|
|
55
|
-
lastGroomed?:
|
|
55
|
+
lastGroomed?: string | null;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {string}
|
package/dist/models/PublicRun.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -53,7 +53,7 @@ function PublicRunFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
53
|
'conditionNotes': json['condition_notes'],
|
|
54
54
|
'difficulty': (0, RunDifficulty_1.RunDifficultyFromJSON)(json['difficulty']),
|
|
55
55
|
'groomedToday': json['groomed_today'],
|
|
56
|
-
'lastGroomed': json['last_groomed'] == null ? undefined :
|
|
56
|
+
'lastGroomed': json['last_groomed'] == null ? undefined : json['last_groomed'],
|
|
57
57
|
'name': json['name'],
|
|
58
58
|
'number': json['number'] == null ? undefined : json['number'],
|
|
59
59
|
'slug': json['slug'],
|
|
@@ -74,7 +74,7 @@ function PublicRunToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
74
74
|
'condition_notes': value['conditionNotes'],
|
|
75
75
|
'difficulty': (0, RunDifficulty_1.RunDifficultyToJSON)(value['difficulty']),
|
|
76
76
|
'groomed_today': value['groomedToday'],
|
|
77
|
-
'last_groomed': value['lastGroomed']
|
|
77
|
+
'last_groomed': value['lastGroomed'],
|
|
78
78
|
'name': value['name'],
|
|
79
79
|
'number': value['number'],
|
|
80
80
|
'slug': value['slug'],
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -49,10 +49,10 @@ export interface PublicSnowReport {
|
|
|
49
49
|
conditionNotes: string;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
|
-
* @type {
|
|
52
|
+
* @type {string}
|
|
53
53
|
* @memberof PublicSnowReport
|
|
54
54
|
*/
|
|
55
|
-
reportedAt:
|
|
55
|
+
reportedAt: string;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {SurfaceCondition}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -49,7 +49,7 @@ function PublicSnowReportFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
49
|
'baseDepthCm': json['base_depth_cm'] == null ? undefined : json['base_depth_cm'],
|
|
50
50
|
'baseDepthIn': json['base_depth_in'] == null ? undefined : json['base_depth_in'],
|
|
51
51
|
'conditionNotes': json['condition_notes'],
|
|
52
|
-
'reportedAt':
|
|
52
|
+
'reportedAt': json['reported_at'],
|
|
53
53
|
'secondarySurfaceCondition': json['secondary_surface_condition'] == null ? undefined : (0, SurfaceCondition_1.SurfaceConditionFromJSON)(json['secondary_surface_condition']),
|
|
54
54
|
'snowfallCm': (0, SnowMetrics_1.SnowMetricsFromJSON)(json['snowfall_cm']),
|
|
55
55
|
'snowfallIn': (0, SnowMetrics_1.SnowMetricsFromJSON)(json['snowfall_in']),
|
|
@@ -70,7 +70,7 @@ function PublicSnowReportToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
70
70
|
'base_depth_cm': value['baseDepthCm'],
|
|
71
71
|
'base_depth_in': value['baseDepthIn'],
|
|
72
72
|
'condition_notes': value['conditionNotes'],
|
|
73
|
-
'reported_at': value['reportedAt']
|
|
73
|
+
'reported_at': value['reportedAt'],
|
|
74
74
|
'secondary_surface_condition': (0, SurfaceCondition_1.SurfaceConditionToJSON)(value['secondarySurfaceCondition']),
|
|
75
75
|
'snowfall_cm': (0, SnowMetrics_1.SnowMetricsToJSON)(value['snowfallCm']),
|
|
76
76
|
'snowfall_in': (0, SnowMetrics_1.SnowMetricsToJSON)(value['snowfallIn']),
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,16 +17,16 @@
|
|
|
17
17
|
export interface RecurrencePatternOneOf2 {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {
|
|
20
|
+
* @type {string}
|
|
21
21
|
* @memberof RecurrencePatternOneOf2
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
type: RecurrencePatternOneOf2TypeEnum;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {
|
|
26
|
+
* @type {Array<number>}
|
|
27
27
|
* @memberof RecurrencePatternOneOf2
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
days: Array<number>;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* @export
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -29,10 +29,10 @@ exports.RecurrencePatternOneOf2TypeEnum = {
|
|
|
29
29
|
* Check if a given object implements the RecurrencePatternOneOf2 interface.
|
|
30
30
|
*/
|
|
31
31
|
function instanceOfRecurrencePatternOneOf2(value) {
|
|
32
|
-
if (!('days' in value) || value['days'] === undefined)
|
|
33
|
-
return false;
|
|
34
32
|
if (!('type' in value) || value['type'] === undefined)
|
|
35
33
|
return false;
|
|
34
|
+
if (!('days' in value) || value['days'] === undefined)
|
|
35
|
+
return false;
|
|
36
36
|
return true;
|
|
37
37
|
}
|
|
38
38
|
function RecurrencePatternOneOf2FromJSON(json) {
|
|
@@ -43,8 +43,8 @@ function RecurrencePatternOneOf2FromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
43
|
return json;
|
|
44
44
|
}
|
|
45
45
|
return {
|
|
46
|
-
'days': json['days'],
|
|
47
46
|
'type': json['type'],
|
|
47
|
+
'days': json['days'],
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
50
|
function RecurrencePatternOneOf2ToJSON(json) {
|
|
@@ -55,7 +55,7 @@ function RecurrencePatternOneOf2ToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
55
55
|
return value;
|
|
56
56
|
}
|
|
57
57
|
return {
|
|
58
|
-
'days': value['days'],
|
|
59
58
|
'type': value['type'],
|
|
59
|
+
'days': value['days'],
|
|
60
60
|
};
|
|
61
61
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/RunStatus.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/Schedule.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -44,10 +44,10 @@ export interface WeatherData {
|
|
|
44
44
|
hourlyForecast: Array<HourlyForecast>;
|
|
45
45
|
/**
|
|
46
46
|
* When this data was last updated
|
|
47
|
-
* @type {
|
|
47
|
+
* @type {string}
|
|
48
48
|
* @memberof WeatherData
|
|
49
49
|
*/
|
|
50
|
-
lastUpdated:
|
|
50
|
+
lastUpdated: string;
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
53
|
* Check if a given object implements the WeatherData interface.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -49,7 +49,7 @@ function WeatherDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
49
|
'current': (0, CurrentWeather_1.CurrentWeatherFromJSON)(json['current']),
|
|
50
50
|
'dailyForecast': (json['daily_forecast'].map(DailyForecast_1.DailyForecastFromJSON)),
|
|
51
51
|
'hourlyForecast': (json['hourly_forecast'].map(HourlyForecast_1.HourlyForecastFromJSON)),
|
|
52
|
-
'lastUpdated':
|
|
52
|
+
'lastUpdated': json['last_updated'],
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
function WeatherDataToJSON(json) {
|
|
@@ -64,6 +64,6 @@ function WeatherDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
64
64
|
'current': (0, CurrentWeather_1.CurrentWeatherToJSON)(value['current']),
|
|
65
65
|
'daily_forecast': (value['dailyForecast'].map(DailyForecast_1.DailyForecastToJSON)),
|
|
66
66
|
'hourly_forecast': (value['hourlyForecast'].map(HourlyForecast_1.HourlyForecastToJSON)),
|
|
67
|
-
'last_updated': value['lastUpdated']
|
|
67
|
+
'last_updated': value['lastUpdated'],
|
|
68
68
|
};
|
|
69
69
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export * from './LiftStatus';
|
|
|
11
11
|
export * from './LiftType';
|
|
12
12
|
export * from './MetricUnits';
|
|
13
13
|
export * from './OperatingHoursResponse';
|
|
14
|
+
export * from './PathSlug';
|
|
14
15
|
export * from './PublicLift';
|
|
15
16
|
export * from './PublicResortInfo';
|
|
16
17
|
export * from './PublicResortResponse';
|
package/dist/models/index.js
CHANGED
|
@@ -29,6 +29,7 @@ __exportStar(require("./LiftStatus"), exports);
|
|
|
29
29
|
__exportStar(require("./LiftType"), exports);
|
|
30
30
|
__exportStar(require("./MetricUnits"), exports);
|
|
31
31
|
__exportStar(require("./OperatingHoursResponse"), exports);
|
|
32
|
+
__exportStar(require("./PathSlug"), exports);
|
|
32
33
|
__exportStar(require("./PublicLift"), exports);
|
|
33
34
|
__exportStar(require("./PublicResortInfo"), exports);
|
|
34
35
|
__exportStar(require("./PublicResortResponse"), exports);
|
package/dist/runtime.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MtnManager API
|
|
3
3
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/runtime.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* MtnManager API
|
|
6
6
|
* Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|