@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.
Files changed (194) hide show
  1. package/README.md +14 -16
  2. package/dist/apis/ReportApi.d.ts +186 -0
  3. package/dist/apis/ReportApi.js +241 -0
  4. package/dist/apis/index.d.ts +1 -6
  5. package/dist/apis/index.js +1 -6
  6. package/dist/esm/apis/ReportApi.d.ts +186 -0
  7. package/dist/esm/apis/ReportApi.js +237 -0
  8. package/dist/esm/apis/index.d.ts +1 -6
  9. package/dist/esm/apis/index.js +1 -6
  10. package/dist/esm/models/ClosureReason.d.ts +1 -1
  11. package/dist/esm/models/ClosureReason.js +1 -1
  12. package/dist/esm/models/CurrentWeather.d.ts +3 -3
  13. package/dist/esm/models/CurrentWeather.js +3 -3
  14. package/dist/esm/models/DailyForecast.d.ts +7 -7
  15. package/dist/esm/models/DailyForecast.js +7 -7
  16. package/dist/esm/models/DailyForecastImperial.d.ts +1 -1
  17. package/dist/esm/models/DailyForecastImperial.js +1 -1
  18. package/dist/esm/models/DailyForecastMetric.d.ts +1 -1
  19. package/dist/esm/models/DailyForecastMetric.js +1 -1
  20. package/dist/esm/models/DayHours.d.ts +1 -1
  21. package/dist/esm/models/DayHours.js +1 -1
  22. package/dist/esm/models/HourlyForecast.d.ts +3 -3
  23. package/dist/esm/models/HourlyForecast.js +3 -3
  24. package/dist/esm/models/HourlyForecastImperial.d.ts +1 -1
  25. package/dist/esm/models/HourlyForecastImperial.js +1 -1
  26. package/dist/esm/models/HourlyForecastMetric.d.ts +1 -1
  27. package/dist/esm/models/HourlyForecastMetric.js +1 -1
  28. package/dist/esm/models/ImperialUnits.d.ts +1 -1
  29. package/dist/esm/models/ImperialUnits.js +1 -1
  30. package/dist/esm/models/LiftStatus.d.ts +11 -5
  31. package/dist/esm/models/LiftStatus.js +26 -36
  32. package/dist/esm/models/LiftType.d.ts +20 -5
  33. package/dist/esm/models/LiftType.js +35 -90
  34. package/dist/esm/models/MetricUnits.d.ts +1 -1
  35. package/dist/esm/models/MetricUnits.js +1 -1
  36. package/dist/esm/models/OperatingHoursResponse.d.ts +1 -1
  37. package/dist/esm/models/OperatingHoursResponse.js +1 -1
  38. package/dist/esm/models/PublicLift.d.ts +1 -1
  39. package/dist/esm/models/PublicLift.js +1 -1
  40. package/dist/esm/models/PublicResortInfo.d.ts +1 -1
  41. package/dist/esm/models/PublicResortInfo.js +1 -1
  42. package/dist/esm/models/PublicResortResponse.d.ts +1 -1
  43. package/dist/esm/models/PublicResortResponse.js +1 -1
  44. package/dist/esm/models/PublicResortStatus.d.ts +1 -1
  45. package/dist/esm/models/PublicResortStatus.js +1 -1
  46. package/dist/esm/models/PublicRun.d.ts +1 -1
  47. package/dist/esm/models/PublicRun.js +1 -1
  48. package/dist/esm/models/PublicSnowReport.d.ts +1 -1
  49. package/dist/esm/models/PublicSnowReport.js +1 -1
  50. package/dist/esm/models/PublicSnowResponse.d.ts +1 -1
  51. package/dist/esm/models/PublicSnowResponse.js +1 -1
  52. package/dist/esm/models/PublicSummerTrail.d.ts +1 -1
  53. package/dist/esm/models/PublicSummerTrail.js +1 -1
  54. package/dist/esm/models/ResortStatusType.d.ts +9 -5
  55. package/dist/esm/models/ResortStatusType.js +27 -24
  56. package/dist/esm/models/RunDifficulty.d.ts +12 -5
  57. package/dist/esm/models/RunDifficulty.js +29 -42
  58. package/dist/esm/models/RunStatus.d.ts +10 -5
  59. package/dist/esm/models/RunStatus.js +25 -30
  60. package/dist/esm/models/Schedule.d.ts +5 -5
  61. package/dist/esm/models/Schedule.js +3 -4
  62. package/dist/esm/models/SeasonType.d.ts +10 -5
  63. package/dist/esm/models/SeasonType.js +25 -30
  64. package/dist/esm/models/SnowMetrics.d.ts +1 -1
  65. package/dist/esm/models/SnowMetrics.js +1 -1
  66. package/dist/esm/models/SummerTrailDifficulty.d.ts +12 -5
  67. package/dist/esm/models/SummerTrailDifficulty.js +27 -42
  68. package/dist/esm/models/SummerTrailStatus.d.ts +10 -5
  69. package/dist/esm/models/SummerTrailStatus.js +25 -30
  70. package/dist/esm/models/SummerTrailType.d.ts +9 -5
  71. package/dist/esm/models/SummerTrailType.js +24 -24
  72. package/dist/esm/models/SurfaceCondition.d.ts +22 -5
  73. package/dist/esm/models/SurfaceCondition.js +40 -102
  74. package/dist/esm/models/UnitPreference.d.ts +1 -1
  75. package/dist/esm/models/UnitPreference.js +1 -1
  76. package/dist/esm/models/WeatherConditionCode.d.ts +48 -5
  77. package/dist/esm/models/WeatherConditionCode.js +64 -24
  78. package/dist/esm/models/WeatherData.d.ts +3 -3
  79. package/dist/esm/models/WeatherData.js +4 -4
  80. package/dist/esm/models/index.d.ts +0 -3
  81. package/dist/esm/models/index.js +0 -3
  82. package/dist/esm/runtime.d.ts +1 -1
  83. package/dist/esm/runtime.js +1 -1
  84. package/dist/models/ClosureReason.d.ts +1 -1
  85. package/dist/models/ClosureReason.js +1 -1
  86. package/dist/models/CurrentWeather.d.ts +3 -3
  87. package/dist/models/CurrentWeather.js +3 -3
  88. package/dist/models/DailyForecast.d.ts +7 -7
  89. package/dist/models/DailyForecast.js +7 -7
  90. package/dist/models/DailyForecastImperial.d.ts +1 -1
  91. package/dist/models/DailyForecastImperial.js +1 -1
  92. package/dist/models/DailyForecastMetric.d.ts +1 -1
  93. package/dist/models/DailyForecastMetric.js +1 -1
  94. package/dist/models/DayHours.d.ts +1 -1
  95. package/dist/models/DayHours.js +1 -1
  96. package/dist/models/HourlyForecast.d.ts +3 -3
  97. package/dist/models/HourlyForecast.js +3 -3
  98. package/dist/models/HourlyForecastImperial.d.ts +1 -1
  99. package/dist/models/HourlyForecastImperial.js +1 -1
  100. package/dist/models/HourlyForecastMetric.d.ts +1 -1
  101. package/dist/models/HourlyForecastMetric.js +1 -1
  102. package/dist/models/ImperialUnits.d.ts +1 -1
  103. package/dist/models/ImperialUnits.js +1 -1
  104. package/dist/models/LiftStatus.d.ts +11 -5
  105. package/dist/models/LiftStatus.js +28 -36
  106. package/dist/models/LiftType.d.ts +20 -5
  107. package/dist/models/LiftType.js +37 -90
  108. package/dist/models/MetricUnits.d.ts +1 -1
  109. package/dist/models/MetricUnits.js +1 -1
  110. package/dist/models/OperatingHoursResponse.d.ts +1 -1
  111. package/dist/models/OperatingHoursResponse.js +1 -1
  112. package/dist/models/PublicLift.d.ts +1 -1
  113. package/dist/models/PublicLift.js +1 -1
  114. package/dist/models/PublicResortInfo.d.ts +1 -1
  115. package/dist/models/PublicResortInfo.js +1 -1
  116. package/dist/models/PublicResortResponse.d.ts +1 -1
  117. package/dist/models/PublicResortResponse.js +1 -1
  118. package/dist/models/PublicResortStatus.d.ts +1 -1
  119. package/dist/models/PublicResortStatus.js +1 -1
  120. package/dist/models/PublicRun.d.ts +1 -1
  121. package/dist/models/PublicRun.js +1 -1
  122. package/dist/models/PublicSnowReport.d.ts +1 -1
  123. package/dist/models/PublicSnowReport.js +1 -1
  124. package/dist/models/PublicSnowResponse.d.ts +1 -1
  125. package/dist/models/PublicSnowResponse.js +1 -1
  126. package/dist/models/PublicSummerTrail.d.ts +1 -1
  127. package/dist/models/PublicSummerTrail.js +1 -1
  128. package/dist/models/ResortStatusType.d.ts +9 -5
  129. package/dist/models/ResortStatusType.js +29 -24
  130. package/dist/models/RunDifficulty.d.ts +12 -5
  131. package/dist/models/RunDifficulty.js +31 -42
  132. package/dist/models/RunStatus.d.ts +10 -5
  133. package/dist/models/RunStatus.js +27 -30
  134. package/dist/models/Schedule.d.ts +5 -5
  135. package/dist/models/Schedule.js +3 -4
  136. package/dist/models/SeasonType.d.ts +10 -5
  137. package/dist/models/SeasonType.js +27 -30
  138. package/dist/models/SnowMetrics.d.ts +1 -1
  139. package/dist/models/SnowMetrics.js +1 -1
  140. package/dist/models/SummerTrailDifficulty.d.ts +12 -5
  141. package/dist/models/SummerTrailDifficulty.js +29 -42
  142. package/dist/models/SummerTrailStatus.d.ts +10 -5
  143. package/dist/models/SummerTrailStatus.js +27 -30
  144. package/dist/models/SummerTrailType.d.ts +9 -5
  145. package/dist/models/SummerTrailType.js +26 -24
  146. package/dist/models/SurfaceCondition.d.ts +22 -5
  147. package/dist/models/SurfaceCondition.js +42 -102
  148. package/dist/models/UnitPreference.d.ts +1 -1
  149. package/dist/models/UnitPreference.js +1 -1
  150. package/dist/models/WeatherConditionCode.d.ts +48 -5
  151. package/dist/models/WeatherConditionCode.js +66 -24
  152. package/dist/models/WeatherData.d.ts +3 -3
  153. package/dist/models/WeatherData.js +4 -4
  154. package/dist/models/index.d.ts +0 -3
  155. package/dist/models/index.js +0 -3
  156. package/dist/runtime.d.ts +1 -1
  157. package/dist/runtime.js +1 -1
  158. package/package.json +1 -1
  159. package/dist/apis/HoursApi.d.ts +0 -46
  160. package/dist/apis/HoursApi.js +0 -59
  161. package/dist/apis/LiftsApi.d.ts +0 -46
  162. package/dist/apis/LiftsApi.js +0 -59
  163. package/dist/apis/ResortApi.d.ts +0 -66
  164. package/dist/apis/ResortApi.js +0 -85
  165. package/dist/apis/RunsApi.d.ts +0 -46
  166. package/dist/apis/RunsApi.js +0 -59
  167. package/dist/apis/SnowApi.d.ts +0 -46
  168. package/dist/apis/SnowApi.js +0 -59
  169. package/dist/apis/SummerTrailsApi.d.ts +0 -46
  170. package/dist/apis/SummerTrailsApi.js +0 -59
  171. package/dist/esm/apis/HoursApi.d.ts +0 -46
  172. package/dist/esm/apis/HoursApi.js +0 -55
  173. package/dist/esm/apis/LiftsApi.d.ts +0 -46
  174. package/dist/esm/apis/LiftsApi.js +0 -55
  175. package/dist/esm/apis/ResortApi.d.ts +0 -66
  176. package/dist/esm/apis/ResortApi.js +0 -81
  177. package/dist/esm/apis/RunsApi.d.ts +0 -46
  178. package/dist/esm/apis/RunsApi.js +0 -55
  179. package/dist/esm/apis/SnowApi.d.ts +0 -46
  180. package/dist/esm/apis/SnowApi.js +0 -55
  181. package/dist/esm/apis/SummerTrailsApi.d.ts +0 -46
  182. package/dist/esm/apis/SummerTrailsApi.js +0 -55
  183. package/dist/esm/models/RecurrencePattern.d.ts +0 -23
  184. package/dist/esm/models/RecurrencePattern.js +0 -51
  185. package/dist/esm/models/RecurrencePatternOneOf.d.ts +0 -39
  186. package/dist/esm/models/RecurrencePatternOneOf.js +0 -51
  187. package/dist/esm/models/RecurrencePatternOneOf1.d.ts +0 -45
  188. package/dist/esm/models/RecurrencePatternOneOf1.js +0 -55
  189. package/dist/models/RecurrencePattern.d.ts +0 -23
  190. package/dist/models/RecurrencePattern.js +0 -57
  191. package/dist/models/RecurrencePatternOneOf.d.ts +0 -39
  192. package/dist/models/RecurrencePatternOneOf.js +0 -59
  193. package/dist/models/RecurrencePatternOneOf1.d.ts +0 -45
  194. 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: hello@mtnmanager.com
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: hello@mtnmanager.com
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: hello@mtnmanager.com
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
@@ -56,10 +56,10 @@ export interface CurrentWeather {
56
56
  windDirectionCardinal?: string | null;
57
57
  /**
58
58
  * Timestamp of observation
59
- * @type {string}
59
+ * @type {Date}
60
60
  * @memberof CurrentWeather
61
61
  */
62
- timestamp: string;
62
+ timestamp: Date;
63
63
  }
64
64
  /**
65
65
  * Check if a given object implements the CurrentWeather interface.
@@ -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: hello@mtnmanager.com
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
@@ -51,7 +51,7 @@ function CurrentWeatherFromJSONTyped(json, ignoreDiscriminator) {
51
51
  'conditionCode': (0, WeatherConditionCode_1.WeatherConditionCodeFromJSON)(json['condition_code']),
52
52
  'windDirection': json['wind_direction'] == null ? undefined : json['wind_direction'],
53
53
  'windDirectionCardinal': json['wind_direction_cardinal'] == null ? undefined : json['wind_direction_cardinal'],
54
- 'timestamp': json['timestamp'],
54
+ 'timestamp': (new Date(json['timestamp'])),
55
55
  };
56
56
  }
57
57
  function CurrentWeatherToJSON(json) {
@@ -68,6 +68,6 @@ function CurrentWeatherToJSONTyped(value, ignoreDiscriminator = false) {
68
68
  'condition_code': (0, WeatherConditionCode_1.WeatherConditionCodeToJSON)(value['conditionCode']),
69
69
  'wind_direction': value['windDirection'],
70
70
  'wind_direction_cardinal': value['windDirectionCardinal'],
71
- 'timestamp': value['timestamp'],
71
+ 'timestamp': value['timestamp'].toISOString(),
72
72
  };
73
73
  }
@@ -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: hello@mtnmanager.com
6
+ * Contact: support@mtnmanager.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -20,10 +20,10 @@ import type { DailyForecastImperial } from './DailyForecastImperial';
20
20
  export interface DailyForecast {
21
21
  /**
22
22
  * Date of forecast (YYYY-MM-DD format)
23
- * @type {string}
23
+ * @type {Date}
24
24
  * @memberof DailyForecast
25
25
  */
26
- date: string;
26
+ date: Date;
27
27
  /**
28
28
  * Measurements in imperial units
29
29
  * @type {DailyForecastImperial}
@@ -56,16 +56,16 @@ export interface DailyForecast {
56
56
  precipitationProbability?: number | null;
57
57
  /**
58
58
  * Sunrise time
59
- * @type {string}
59
+ * @type {Date}
60
60
  * @memberof DailyForecast
61
61
  */
62
- sunrise: string;
62
+ sunrise: Date;
63
63
  /**
64
64
  * Sunset time
65
- * @type {string}
65
+ * @type {Date}
66
66
  * @memberof DailyForecast
67
67
  */
68
- sunset: string;
68
+ sunset: Date;
69
69
  }
70
70
  /**
71
71
  * Check if a given object implements the DailyForecast interface.
@@ -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: hello@mtnmanager.com
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
@@ -49,14 +49,14 @@ function DailyForecastFromJSONTyped(json, ignoreDiscriminator) {
49
49
  return json;
50
50
  }
51
51
  return {
52
- 'date': json['date'],
52
+ 'date': (new Date(json['date'])),
53
53
  'imperial': (0, DailyForecastImperial_1.DailyForecastImperialFromJSON)(json['imperial']),
54
54
  'metric': (0, DailyForecastMetric_1.DailyForecastMetricFromJSON)(json['metric']),
55
55
  'condition': json['condition'],
56
56
  'conditionCode': (0, WeatherConditionCode_1.WeatherConditionCodeFromJSON)(json['condition_code']),
57
57
  'precipitationProbability': json['precipitation_probability'] == null ? undefined : json['precipitation_probability'],
58
- 'sunrise': json['sunrise'],
59
- 'sunset': json['sunset'],
58
+ 'sunrise': (new Date(json['sunrise'])),
59
+ 'sunset': (new Date(json['sunset'])),
60
60
  };
61
61
  }
62
62
  function DailyForecastToJSON(json) {
@@ -67,13 +67,13 @@ function DailyForecastToJSONTyped(value, ignoreDiscriminator = false) {
67
67
  return value;
68
68
  }
69
69
  return {
70
- 'date': value['date'],
70
+ 'date': value['date'].toISOString().substring(0, 10),
71
71
  'imperial': (0, DailyForecastImperial_1.DailyForecastImperialToJSON)(value['imperial']),
72
72
  'metric': (0, DailyForecastMetric_1.DailyForecastMetricToJSON)(value['metric']),
73
73
  'condition': value['condition'],
74
74
  'condition_code': (0, WeatherConditionCode_1.WeatherConditionCodeToJSON)(value['conditionCode']),
75
75
  'precipitation_probability': value['precipitationProbability'],
76
- 'sunrise': value['sunrise'],
77
- 'sunset': value['sunset'],
76
+ 'sunrise': value['sunrise'].toISOString(),
77
+ 'sunset': value['sunset'].toISOString(),
78
78
  };
79
79
  }
@@ -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: hello@mtnmanager.com
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: hello@mtnmanager.com
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: hello@mtnmanager.com
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: hello@mtnmanager.com
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: hello@mtnmanager.com
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: hello@mtnmanager.com
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: hello@mtnmanager.com
6
+ * Contact: support@mtnmanager.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -20,10 +20,10 @@ import type { HourlyForecastImperial } from './HourlyForecastImperial';
20
20
  export interface HourlyForecast {
21
21
  /**
22
22
  * Forecast timestamp
23
- * @type {string}
23
+ * @type {Date}
24
24
  * @memberof HourlyForecast
25
25
  */
26
- timestamp: string;
26
+ timestamp: Date;
27
27
  /**
28
28
  * Measurements in imperial units
29
29
  * @type {HourlyForecastImperial}
@@ -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: hello@mtnmanager.com
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
@@ -45,7 +45,7 @@ function HourlyForecastFromJSONTyped(json, ignoreDiscriminator) {
45
45
  return json;
46
46
  }
47
47
  return {
48
- 'timestamp': json['timestamp'],
48
+ 'timestamp': (new Date(json['timestamp'])),
49
49
  'imperial': (0, HourlyForecastImperial_1.HourlyForecastImperialFromJSON)(json['imperial']),
50
50
  'metric': (0, HourlyForecastMetric_1.HourlyForecastMetricFromJSON)(json['metric']),
51
51
  'condition': json['condition'],
@@ -61,7 +61,7 @@ function HourlyForecastToJSONTyped(value, ignoreDiscriminator = false) {
61
61
  return value;
62
62
  }
63
63
  return {
64
- 'timestamp': value['timestamp'],
64
+ 'timestamp': value['timestamp'].toISOString(),
65
65
  'imperial': (0, HourlyForecastImperial_1.HourlyForecastImperialToJSON)(value['imperial']),
66
66
  'metric': (0, HourlyForecastMetric_1.HourlyForecastMetricToJSON)(value['metric']),
67
67
  'condition': value['condition'],
@@ -3,7 +3,7 @@
3
3
  * Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0.0
6
- * Contact: hello@mtnmanager.com
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: hello@mtnmanager.com
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: hello@mtnmanager.com
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: hello@mtnmanager.com
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: hello@mtnmanager.com
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: hello@mtnmanager.com
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,25 @@
3
3
  * Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0.0
6
- * Contact: hello@mtnmanager.com
6
+ * Contact: support@mtnmanager.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * @type LiftStatus
14
13
  * Operational status of a ski lift.
15
14
  * @export
16
15
  */
17
- export type LiftStatus = string;
16
+ export declare const LiftStatus: {
17
+ readonly Open: "open";
18
+ readonly Closed: "closed";
19
+ readonly OnHold: "on_hold";
20
+ readonly Unknown: "unknown";
21
+ };
22
+ export type LiftStatus = typeof LiftStatus[keyof typeof LiftStatus];
23
+ export declare function instanceOfLiftStatus(value: any): boolean;
18
24
  export declare function LiftStatusFromJSON(json: any): LiftStatus;
19
25
  export declare function LiftStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): LiftStatus;
20
- export declare function LiftStatusToJSON(json: any): any;
21
- export declare function LiftStatusToJSONTyped(value?: LiftStatus | null, ignoreDiscriminator?: boolean): any;
26
+ export declare function LiftStatusToJSON(value?: LiftStatus | null): any;
27
+ export declare function LiftStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): LiftStatus;
@@ -6,56 +6,48 @@
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: hello@mtnmanager.com
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.LiftStatus = void 0;
17
+ exports.instanceOfLiftStatus = instanceOfLiftStatus;
16
18
  exports.LiftStatusFromJSON = LiftStatusFromJSON;
17
19
  exports.LiftStatusFromJSONTyped = LiftStatusFromJSONTyped;
18
20
  exports.LiftStatusToJSON = LiftStatusToJSON;
19
21
  exports.LiftStatusToJSONTyped = LiftStatusToJSONTyped;
22
+ /**
23
+ * Operational status of a ski lift.
24
+ * @export
25
+ */
26
+ exports.LiftStatus = {
27
+ Open: 'open',
28
+ Closed: 'closed',
29
+ OnHold: 'on_hold',
30
+ Unknown: 'unknown'
31
+ };
32
+ function instanceOfLiftStatus(value) {
33
+ for (const key in exports.LiftStatus) {
34
+ if (Object.prototype.hasOwnProperty.call(exports.LiftStatus, key)) {
35
+ if (exports.LiftStatus[key] === value) {
36
+ return true;
37
+ }
38
+ }
39
+ }
40
+ return false;
41
+ }
20
42
  function LiftStatusFromJSON(json) {
21
43
  return LiftStatusFromJSONTyped(json, false);
22
44
  }
23
45
  function LiftStatusFromJSONTyped(json, ignoreDiscriminator) {
24
- if (json == null) {
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
- if (typeof json === 'string' && (json === 'on_hold')) {
37
- return json;
38
- }
39
- return {};
46
+ return json;
40
47
  }
41
- function LiftStatusToJSON(json) {
42
- return LiftStatusToJSONTyped(json, false);
48
+ function LiftStatusToJSON(value) {
49
+ return value;
43
50
  }
44
- function LiftStatusToJSONTyped(value, ignoreDiscriminator = false) {
45
- if (value == null) {
46
- return value;
47
- }
48
- if (typeof value === 'string' && (value === 'unknown')) {
49
- return value;
50
- }
51
- if (typeof value === 'string' && (value === 'open')) {
52
- return value;
53
- }
54
- if (typeof value === 'string' && (value === 'closed')) {
55
- return value;
56
- }
57
- if (typeof value === 'string' && (value === 'on_hold')) {
58
- return value;
59
- }
60
- return {};
51
+ function LiftStatusToJSONTyped(value, ignoreDiscriminator) {
52
+ return value;
61
53
  }
@@ -3,19 +3,34 @@
3
3
  * Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0.0
6
- * Contact: hello@mtnmanager.com
6
+ * Contact: support@mtnmanager.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * @type LiftType
14
13
  * Type of ski lift
15
14
  * @export
16
15
  */
17
- export type LiftType = string;
16
+ export declare const LiftType: {
17
+ readonly Gondola: "gondola";
18
+ readonly Tram: "tram";
19
+ readonly EightPack: "eight_pack";
20
+ readonly SixPack: "six_pack";
21
+ readonly Quad: "quad";
22
+ readonly Triple: "triple";
23
+ readonly Double: "double";
24
+ readonly SurfaceLift: "surface_lift";
25
+ readonly MagicCarpet: "magic_carpet";
26
+ readonly TBar: "t_bar";
27
+ readonly Platter: "platter";
28
+ readonly RopeTow: "rope_tow";
29
+ readonly Funicular: "funicular";
30
+ };
31
+ export type LiftType = typeof LiftType[keyof typeof LiftType];
32
+ export declare function instanceOfLiftType(value: any): boolean;
18
33
  export declare function LiftTypeFromJSON(json: any): LiftType;
19
34
  export declare function LiftTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): LiftType;
20
- export declare function LiftTypeToJSON(json: any): any;
21
- export declare function LiftTypeToJSONTyped(value?: LiftType | null, ignoreDiscriminator?: boolean): any;
35
+ export declare function LiftTypeToJSON(value?: LiftType | null): any;
36
+ export declare function LiftTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): LiftType;
@@ -6,110 +6,57 @@
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: hello@mtnmanager.com
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.LiftType = void 0;
17
+ exports.instanceOfLiftType = instanceOfLiftType;
16
18
  exports.LiftTypeFromJSON = LiftTypeFromJSON;
17
19
  exports.LiftTypeFromJSONTyped = LiftTypeFromJSONTyped;
18
20
  exports.LiftTypeToJSON = LiftTypeToJSON;
19
21
  exports.LiftTypeToJSONTyped = LiftTypeToJSONTyped;
22
+ /**
23
+ * Type of ski lift
24
+ * @export
25
+ */
26
+ exports.LiftType = {
27
+ Gondola: 'gondola',
28
+ Tram: 'tram',
29
+ EightPack: 'eight_pack',
30
+ SixPack: 'six_pack',
31
+ Quad: 'quad',
32
+ Triple: 'triple',
33
+ Double: 'double',
34
+ SurfaceLift: 'surface_lift',
35
+ MagicCarpet: 'magic_carpet',
36
+ TBar: 't_bar',
37
+ Platter: 'platter',
38
+ RopeTow: 'rope_tow',
39
+ Funicular: 'funicular'
40
+ };
41
+ function instanceOfLiftType(value) {
42
+ for (const key in exports.LiftType) {
43
+ if (Object.prototype.hasOwnProperty.call(exports.LiftType, key)) {
44
+ if (exports.LiftType[key] === value) {
45
+ return true;
46
+ }
47
+ }
48
+ }
49
+ return false;
50
+ }
20
51
  function LiftTypeFromJSON(json) {
21
52
  return LiftTypeFromJSONTyped(json, false);
22
53
  }
23
54
  function LiftTypeFromJSONTyped(json, ignoreDiscriminator) {
24
- if (json == null) {
25
- return json;
26
- }
27
- if (typeof json === 'string' && (json === 't_bar')) {
28
- return json;
29
- }
30
- if (typeof json === 'string' && (json === 'double')) {
31
- return json;
32
- }
33
- if (typeof json === 'string' && (json === 'rope_tow')) {
34
- return json;
35
- }
36
- if (typeof json === 'string' && (json === 'eight_pack')) {
37
- return json;
38
- }
39
- if (typeof json === 'string' && (json === 'six_pack')) {
40
- return json;
41
- }
42
- if (typeof json === 'string' && (json === 'triple')) {
43
- return json;
44
- }
45
- if (typeof json === 'string' && (json === 'gondola')) {
46
- return json;
47
- }
48
- if (typeof json === 'string' && (json === 'surface_lift')) {
49
- return json;
50
- }
51
- if (typeof json === 'string' && (json === 'platter')) {
52
- return json;
53
- }
54
- if (typeof json === 'string' && (json === 'tram')) {
55
- return json;
56
- }
57
- if (typeof json === 'string' && (json === 'funicular')) {
58
- return json;
59
- }
60
- if (typeof json === 'string' && (json === 'magic_carpet')) {
61
- return json;
62
- }
63
- if (typeof json === 'string' && (json === 'quad')) {
64
- return json;
65
- }
66
- return {};
55
+ return json;
67
56
  }
68
- function LiftTypeToJSON(json) {
69
- return LiftTypeToJSONTyped(json, false);
57
+ function LiftTypeToJSON(value) {
58
+ return value;
70
59
  }
71
- function LiftTypeToJSONTyped(value, ignoreDiscriminator = false) {
72
- if (value == null) {
73
- return value;
74
- }
75
- if (typeof value === 'string' && (value === 't_bar')) {
76
- return value;
77
- }
78
- if (typeof value === 'string' && (value === 'double')) {
79
- return value;
80
- }
81
- if (typeof value === 'string' && (value === 'rope_tow')) {
82
- return value;
83
- }
84
- if (typeof value === 'string' && (value === 'eight_pack')) {
85
- return value;
86
- }
87
- if (typeof value === 'string' && (value === 'six_pack')) {
88
- return value;
89
- }
90
- if (typeof value === 'string' && (value === 'triple')) {
91
- return value;
92
- }
93
- if (typeof value === 'string' && (value === 'gondola')) {
94
- return value;
95
- }
96
- if (typeof value === 'string' && (value === 'surface_lift')) {
97
- return value;
98
- }
99
- if (typeof value === 'string' && (value === 'platter')) {
100
- return value;
101
- }
102
- if (typeof value === 'string' && (value === 'tram')) {
103
- return value;
104
- }
105
- if (typeof value === 'string' && (value === 'funicular')) {
106
- return value;
107
- }
108
- if (typeof value === 'string' && (value === 'magic_carpet')) {
109
- return value;
110
- }
111
- if (typeof value === 'string' && (value === 'quad')) {
112
- return value;
113
- }
114
- return {};
60
+ function LiftTypeToJSONTyped(value, ignoreDiscriminator) {
61
+ return value;
115
62
  }
@@ -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: hello@mtnmanager.com
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: hello@mtnmanager.com
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