@mtnmanager/sdk 0.0.5 → 0.0.8

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 (156) hide show
  1. package/README.md +16 -15
  2. package/dist/apis/ReportApi.d.ts +146 -0
  3. package/dist/apis/{PublicApi.js → ReportApi.js} +35 -52
  4. package/dist/apis/index.d.ts +1 -1
  5. package/dist/apis/index.js +1 -1
  6. package/dist/esm/apis/ReportApi.d.ts +146 -0
  7. package/dist/esm/apis/{PublicApi.js → ReportApi.js} +34 -51
  8. package/dist/esm/apis/index.d.ts +1 -1
  9. package/dist/esm/apis/index.js +1 -1
  10. package/dist/esm/models/CurrentWeather.d.ts +6 -6
  11. package/dist/esm/models/CurrentWeather.js +3 -3
  12. package/dist/esm/models/DailyForecast.d.ts +5 -5
  13. package/dist/esm/models/DailyForecast.js +5 -5
  14. package/dist/esm/models/DailyForecastImperial.d.ts +1 -1
  15. package/dist/esm/models/DailyForecastImperial.js +1 -1
  16. package/dist/esm/models/DailyForecastMetric.d.ts +1 -1
  17. package/dist/esm/models/DailyForecastMetric.js +1 -1
  18. package/dist/esm/models/DayHours.d.ts +1 -1
  19. package/dist/esm/models/DayHours.js +1 -1
  20. package/dist/esm/models/HourlyForecast.d.ts +3 -3
  21. package/dist/esm/models/HourlyForecast.js +3 -3
  22. package/dist/esm/models/HourlyForecastImperial.d.ts +1 -1
  23. package/dist/esm/models/HourlyForecastImperial.js +1 -1
  24. package/dist/esm/models/HourlyForecastMetric.d.ts +1 -1
  25. package/dist/esm/models/HourlyForecastMetric.js +1 -1
  26. package/dist/esm/models/ImperialUnits.d.ts +1 -1
  27. package/dist/esm/models/ImperialUnits.js +1 -1
  28. package/dist/esm/models/LiftStatus.d.ts +1 -1
  29. package/dist/esm/models/LiftStatus.js +1 -1
  30. package/dist/esm/models/LiftType.d.ts +1 -1
  31. package/dist/esm/models/LiftType.js +1 -1
  32. package/dist/esm/models/MetricUnits.d.ts +1 -1
  33. package/dist/esm/models/MetricUnits.js +1 -1
  34. package/dist/esm/models/OperatingHoursResponse.d.ts +1 -1
  35. package/dist/esm/models/OperatingHoursResponse.js +1 -1
  36. package/dist/esm/models/PathSlug.d.ts +32 -0
  37. package/dist/esm/models/PathSlug.js +43 -0
  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 +4 -4
  43. package/dist/esm/models/PublicResortResponse.js +13 -7
  44. package/dist/esm/models/PublicResortStatus.d.ts +3 -3
  45. package/dist/esm/models/PublicResortStatus.js +3 -3
  46. package/dist/esm/models/PublicRun.d.ts +3 -3
  47. package/dist/esm/models/PublicRun.js +3 -3
  48. package/dist/esm/models/PublicSnowReport.d.ts +3 -3
  49. package/dist/esm/models/PublicSnowReport.js +3 -3
  50. package/dist/esm/models/PublicSnowResponse.d.ts +1 -1
  51. package/dist/esm/models/PublicSnowResponse.js +1 -1
  52. package/dist/esm/models/RecurrencePattern.d.ts +1 -1
  53. package/dist/esm/models/RecurrencePattern.js +1 -1
  54. package/dist/esm/models/RecurrencePatternOneOf.d.ts +1 -1
  55. package/dist/esm/models/RecurrencePatternOneOf.js +1 -1
  56. package/dist/esm/models/RecurrencePatternOneOf1.d.ts +1 -1
  57. package/dist/esm/models/RecurrencePatternOneOf1.js +1 -1
  58. package/dist/esm/models/RecurrencePatternOneOf2.d.ts +5 -5
  59. package/dist/esm/models/RecurrencePatternOneOf2.js +5 -5
  60. package/dist/esm/models/ResortStatusType.d.ts +1 -1
  61. package/dist/esm/models/ResortStatusType.js +1 -1
  62. package/dist/esm/models/RunDifficulty.d.ts +1 -1
  63. package/dist/esm/models/RunDifficulty.js +1 -1
  64. package/dist/esm/models/RunStatus.d.ts +1 -1
  65. package/dist/esm/models/RunStatus.js +1 -1
  66. package/dist/esm/models/Schedule.d.ts +1 -1
  67. package/dist/esm/models/Schedule.js +1 -1
  68. package/dist/esm/models/SeasonType.d.ts +1 -1
  69. package/dist/esm/models/SeasonType.js +1 -1
  70. package/dist/esm/models/SnowMetrics.d.ts +1 -1
  71. package/dist/esm/models/SnowMetrics.js +1 -1
  72. package/dist/esm/models/SurfaceCondition.d.ts +1 -1
  73. package/dist/esm/models/SurfaceCondition.js +1 -1
  74. package/dist/esm/models/UnitPreference.d.ts +1 -1
  75. package/dist/esm/models/UnitPreference.js +1 -1
  76. package/dist/esm/models/WeatherData.d.ts +3 -3
  77. package/dist/esm/models/WeatherData.js +3 -3
  78. package/dist/esm/models/index.d.ts +1 -0
  79. package/dist/esm/models/index.js +1 -0
  80. package/dist/esm/runtime.d.ts +1 -1
  81. package/dist/esm/runtime.js +1 -1
  82. package/dist/models/CurrentWeather.d.ts +6 -6
  83. package/dist/models/CurrentWeather.js +3 -3
  84. package/dist/models/DailyForecast.d.ts +5 -5
  85. package/dist/models/DailyForecast.js +5 -5
  86. package/dist/models/DailyForecastImperial.d.ts +1 -1
  87. package/dist/models/DailyForecastImperial.js +1 -1
  88. package/dist/models/DailyForecastMetric.d.ts +1 -1
  89. package/dist/models/DailyForecastMetric.js +1 -1
  90. package/dist/models/DayHours.d.ts +1 -1
  91. package/dist/models/DayHours.js +1 -1
  92. package/dist/models/HourlyForecast.d.ts +3 -3
  93. package/dist/models/HourlyForecast.js +3 -3
  94. package/dist/models/HourlyForecastImperial.d.ts +1 -1
  95. package/dist/models/HourlyForecastImperial.js +1 -1
  96. package/dist/models/HourlyForecastMetric.d.ts +1 -1
  97. package/dist/models/HourlyForecastMetric.js +1 -1
  98. package/dist/models/ImperialUnits.d.ts +1 -1
  99. package/dist/models/ImperialUnits.js +1 -1
  100. package/dist/models/LiftStatus.d.ts +1 -1
  101. package/dist/models/LiftStatus.js +1 -1
  102. package/dist/models/LiftType.d.ts +1 -1
  103. package/dist/models/LiftType.js +1 -1
  104. package/dist/models/MetricUnits.d.ts +1 -1
  105. package/dist/models/MetricUnits.js +1 -1
  106. package/dist/models/OperatingHoursResponse.d.ts +1 -1
  107. package/dist/models/OperatingHoursResponse.js +1 -1
  108. package/dist/models/PathSlug.d.ts +32 -0
  109. package/dist/models/PathSlug.js +50 -0
  110. package/dist/models/PublicLift.d.ts +1 -1
  111. package/dist/models/PublicLift.js +1 -1
  112. package/dist/models/PublicResortInfo.d.ts +1 -1
  113. package/dist/models/PublicResortInfo.js +1 -1
  114. package/dist/models/PublicResortResponse.d.ts +4 -4
  115. package/dist/models/PublicResortResponse.js +13 -7
  116. package/dist/models/PublicResortStatus.d.ts +3 -3
  117. package/dist/models/PublicResortStatus.js +3 -3
  118. package/dist/models/PublicRun.d.ts +3 -3
  119. package/dist/models/PublicRun.js +3 -3
  120. package/dist/models/PublicSnowReport.d.ts +3 -3
  121. package/dist/models/PublicSnowReport.js +3 -3
  122. package/dist/models/PublicSnowResponse.d.ts +1 -1
  123. package/dist/models/PublicSnowResponse.js +1 -1
  124. package/dist/models/RecurrencePattern.d.ts +1 -1
  125. package/dist/models/RecurrencePattern.js +1 -1
  126. package/dist/models/RecurrencePatternOneOf.d.ts +1 -1
  127. package/dist/models/RecurrencePatternOneOf.js +1 -1
  128. package/dist/models/RecurrencePatternOneOf1.d.ts +1 -1
  129. package/dist/models/RecurrencePatternOneOf1.js +1 -1
  130. package/dist/models/RecurrencePatternOneOf2.d.ts +5 -5
  131. package/dist/models/RecurrencePatternOneOf2.js +5 -5
  132. package/dist/models/ResortStatusType.d.ts +1 -1
  133. package/dist/models/ResortStatusType.js +1 -1
  134. package/dist/models/RunDifficulty.d.ts +1 -1
  135. package/dist/models/RunDifficulty.js +1 -1
  136. package/dist/models/RunStatus.d.ts +1 -1
  137. package/dist/models/RunStatus.js +1 -1
  138. package/dist/models/Schedule.d.ts +1 -1
  139. package/dist/models/Schedule.js +1 -1
  140. package/dist/models/SeasonType.d.ts +1 -1
  141. package/dist/models/SeasonType.js +1 -1
  142. package/dist/models/SnowMetrics.d.ts +1 -1
  143. package/dist/models/SnowMetrics.js +1 -1
  144. package/dist/models/SurfaceCondition.d.ts +1 -1
  145. package/dist/models/SurfaceCondition.js +1 -1
  146. package/dist/models/UnitPreference.d.ts +1 -1
  147. package/dist/models/UnitPreference.js +1 -1
  148. package/dist/models/WeatherData.d.ts +3 -3
  149. package/dist/models/WeatherData.js +3 -3
  150. package/dist/models/index.d.ts +1 -0
  151. package/dist/models/index.js +1 -0
  152. package/dist/runtime.d.ts +1 -1
  153. package/dist/runtime.js +1 -1
  154. package/package.json +1 -1
  155. package/dist/apis/PublicApi.d.ts +0 -174
  156. package/dist/esm/apis/PublicApi.d.ts +0 -174
@@ -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: 0.1.0
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 {Date}
47
+ * @type {string}
48
48
  * @memberof WeatherData
49
49
  */
50
- lastUpdated: Date;
50
+ lastUpdated: string;
51
51
  }
52
52
  /**
53
53
  * Check if a given object implements the WeatherData interface.
@@ -4,7 +4,7 @@
4
4
  * MtnManager API
5
5
  * Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
6
6
  *
7
- * The version of the OpenAPI document: 0.1.0
7
+ * The version of the OpenAPI document: 1.0.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -42,7 +42,7 @@ export function WeatherDataFromJSONTyped(json, ignoreDiscriminator) {
42
42
  'current': CurrentWeatherFromJSON(json['current']),
43
43
  'dailyForecast': (json['daily_forecast'].map(DailyForecastFromJSON)),
44
44
  'hourlyForecast': (json['hourly_forecast'].map(HourlyForecastFromJSON)),
45
- 'lastUpdated': (new Date(json['last_updated'])),
45
+ 'lastUpdated': json['last_updated'],
46
46
  };
47
47
  }
48
48
  export function WeatherDataToJSON(json) {
@@ -57,6 +57,6 @@ export function WeatherDataToJSONTyped(value, ignoreDiscriminator = false) {
57
57
  'current': CurrentWeatherToJSON(value['current']),
58
58
  'daily_forecast': (value['dailyForecast'].map(DailyForecastToJSON)),
59
59
  'hourly_forecast': (value['hourlyForecast'].map(HourlyForecastToJSON)),
60
- 'last_updated': value['lastUpdated'].toISOString(),
60
+ 'last_updated': value['lastUpdated'],
61
61
  };
62
62
  }
@@ -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';
@@ -13,6 +13,7 @@ export * from './LiftStatus';
13
13
  export * from './LiftType';
14
14
  export * from './MetricUnits';
15
15
  export * from './OperatingHoursResponse';
16
+ export * from './PathSlug';
16
17
  export * from './PublicLift';
17
18
  export * from './PublicResortInfo';
18
19
  export * from './PublicResortResponse';
@@ -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: 0.1.0
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).
@@ -4,7 +4,7 @@
4
4
  * MtnManager API
5
5
  * Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
6
6
  *
7
- * The version of the OpenAPI document: 0.1.0
7
+ * The version of the OpenAPI document: 1.0.0
8
8
  *
9
9
  *
10
10
  * 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: 0.1.0
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,15 +49,15 @@ export interface CurrentWeather {
49
49
  metric: MetricUnits;
50
50
  /**
51
51
  * Timestamp of observation
52
- * @type {Date}
52
+ * @type {string}
53
53
  * @memberof CurrentWeather
54
54
  */
55
- timestamp: Date;
55
+ timestamp: string;
56
56
  /**
57
57
  * Weather condition code (unit-independent)
58
- * 0=clear, 1=mainly clear, 2=partly cloudy, 3=overcast,
59
- * 45/48=fog, 51-55=drizzle, 61-65=rain, 71-77=snow,
60
- * 80-82=rain showers, 85-86=snow showers, 95-99=thunderstorm
58
+ * 0=clear, 1=mainly clear, 2=partly cloudy, 3=overcast,
59
+ * 45/48=fog, 51-55=drizzle, 61-65=rain, 71-77=snow,
60
+ * 80-82=rain showers, 85-86=snow showers, 95-99=thunderstorm
61
61
  * @type {number}
62
62
  * @memberof CurrentWeather
63
63
  */
@@ -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: 0.1.0
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).
@@ -57,7 +57,7 @@ function CurrentWeatherFromJSONTyped(json, ignoreDiscriminator) {
57
57
  'humidity': json['humidity'],
58
58
  'imperial': (0, ImperialUnits_1.ImperialUnitsFromJSON)(json['imperial']),
59
59
  'metric': (0, MetricUnits_1.MetricUnitsFromJSON)(json['metric']),
60
- 'timestamp': (new Date(json['timestamp'])),
60
+ 'timestamp': json['timestamp'],
61
61
  'weatherCode': json['weather_code'],
62
62
  'windDirection': json['wind_direction'],
63
63
  'windDirectionCardinal': json['wind_direction_cardinal'],
@@ -76,7 +76,7 @@ function CurrentWeatherToJSONTyped(value, ignoreDiscriminator = false) {
76
76
  'humidity': value['humidity'],
77
77
  'imperial': (0, ImperialUnits_1.ImperialUnitsToJSON)(value['imperial']),
78
78
  'metric': (0, MetricUnits_1.MetricUnitsToJSON)(value['metric']),
79
- 'timestamp': value['timestamp'].toISOString(),
79
+ 'timestamp': value['timestamp'],
80
80
  'weather_code': value['weatherCode'],
81
81
  'wind_direction': value['windDirection'],
82
82
  'wind_direction_cardinal': value['windDirectionCardinal'],
@@ -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: 0.1.0
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,16 +49,16 @@ export interface DailyForecast {
49
49
  precipitationProbability: number;
50
50
  /**
51
51
  * Sunrise time
52
- * @type {Date}
52
+ * @type {string}
53
53
  * @memberof DailyForecast
54
54
  */
55
- sunrise: Date;
55
+ sunrise: string;
56
56
  /**
57
57
  * Sunset time
58
- * @type {Date}
58
+ * @type {string}
59
59
  * @memberof DailyForecast
60
60
  */
61
- sunset: Date;
61
+ sunset: string;
62
62
  /**
63
63
  * Weather condition code (most severe/relevant for the day)
64
64
  * @type {number}
@@ -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: 0.1.0
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).
@@ -55,8 +55,8 @@ function DailyForecastFromJSONTyped(json, ignoreDiscriminator) {
55
55
  'imperial': (0, DailyForecastImperial_1.DailyForecastImperialFromJSON)(json['imperial']),
56
56
  'metric': (0, DailyForecastMetric_1.DailyForecastMetricFromJSON)(json['metric']),
57
57
  'precipitationProbability': json['precipitation_probability'],
58
- 'sunrise': (new Date(json['sunrise'])),
59
- 'sunset': (new Date(json['sunset'])),
58
+ 'sunrise': json['sunrise'],
59
+ 'sunset': json['sunset'],
60
60
  'weatherCode': json['weather_code'],
61
61
  };
62
62
  }
@@ -73,8 +73,8 @@ function DailyForecastToJSONTyped(value, ignoreDiscriminator = false) {
73
73
  'imperial': (0, DailyForecastImperial_1.DailyForecastImperialToJSON)(value['imperial']),
74
74
  'metric': (0, DailyForecastMetric_1.DailyForecastMetricToJSON)(value['metric']),
75
75
  'precipitation_probability': value['precipitationProbability'],
76
- 'sunrise': value['sunrise'].toISOString(),
77
- 'sunset': value['sunset'].toISOString(),
76
+ 'sunrise': value['sunrise'],
77
+ 'sunset': value['sunset'],
78
78
  'weather_code': value['weatherCode'],
79
79
  };
80
80
  }
@@ -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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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 HourlyForecast {
49
49
  precipitationProbability: number;
50
50
  /**
51
51
  * Forecast timestamp
52
- * @type {Date}
52
+ * @type {string}
53
53
  * @memberof HourlyForecast
54
54
  */
55
- timestamp: Date;
55
+ timestamp: string;
56
56
  /**
57
57
  * Weather condition code
58
58
  * @type {number}
@@ -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: 0.1.0
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 HourlyForecastFromJSONTyped(json, ignoreDiscriminator) {
53
53
  'imperial': (0, HourlyForecastImperial_1.HourlyForecastImperialFromJSON)(json['imperial']),
54
54
  'metric': (0, HourlyForecastMetric_1.HourlyForecastMetricFromJSON)(json['metric']),
55
55
  'precipitationProbability': json['precipitation_probability'],
56
- 'timestamp': (new Date(json['timestamp'])),
56
+ 'timestamp': json['timestamp'],
57
57
  'weatherCode': json['weather_code'],
58
58
  };
59
59
  }
@@ -70,7 +70,7 @@ function HourlyForecastToJSONTyped(value, ignoreDiscriminator = false) {
70
70
  'imperial': (0, HourlyForecastImperial_1.HourlyForecastImperialToJSON)(value['imperial']),
71
71
  'metric': (0, HourlyForecastMetric_1.HourlyForecastMetricToJSON)(value['metric']),
72
72
  'precipitation_probability': value['precipitationProbability'],
73
- 'timestamp': value['timestamp'].toISOString(),
73
+ 'timestamp': value['timestamp'],
74
74
  'weather_code': value['weatherCode'],
75
75
  };
76
76
  }
@@ -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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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).
@@ -0,0 +1,32 @@
1
+ /**
2
+ * MtnManager API
3
+ * Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PathSlug
16
+ */
17
+ export interface PathSlug {
18
+ /**
19
+ * Account slug
20
+ * @type {string}
21
+ * @memberof PathSlug
22
+ */
23
+ slug: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the PathSlug interface.
27
+ */
28
+ export declare function instanceOfPathSlug(value: object): value is PathSlug;
29
+ export declare function PathSlugFromJSON(json: any): PathSlug;
30
+ export declare function PathSlugFromJSONTyped(json: any, ignoreDiscriminator: boolean): PathSlug;
31
+ export declare function PathSlugToJSON(json: any): PathSlug;
32
+ export declare function PathSlugToJSONTyped(value?: PathSlug | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * MtnManager API
6
+ * Public API for retrieving ski resort snow reports, run status, lift status, and operating hours. No authentication required.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfPathSlug = instanceOfPathSlug;
17
+ exports.PathSlugFromJSON = PathSlugFromJSON;
18
+ exports.PathSlugFromJSONTyped = PathSlugFromJSONTyped;
19
+ exports.PathSlugToJSON = PathSlugToJSON;
20
+ exports.PathSlugToJSONTyped = PathSlugToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PathSlug interface.
23
+ */
24
+ function instanceOfPathSlug(value) {
25
+ if (!('slug' in value) || value['slug'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function PathSlugFromJSON(json) {
30
+ return PathSlugFromJSONTyped(json, false);
31
+ }
32
+ function PathSlugFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'slug': json['slug'],
38
+ };
39
+ }
40
+ function PathSlugToJSON(json) {
41
+ return PathSlugToJSONTyped(json, false);
42
+ }
43
+ function PathSlugToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'slug': value['slug'],
49
+ };
50
+ }
@@ -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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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).
@@ -33,7 +33,7 @@ export interface PublicResortResponse {
33
33
  * @type {Array<PublicLift>}
34
34
  * @memberof PublicResortResponse
35
35
  */
36
- lifts?: Array<PublicLift>;
36
+ lifts: Array<PublicLift>;
37
37
  /**
38
38
  *
39
39
  * @type {PublicResortInfo}
@@ -45,13 +45,13 @@ export interface PublicResortResponse {
45
45
  * @type {Array<PublicRun>}
46
46
  * @memberof PublicResortResponse
47
47
  */
48
- runs?: Array<PublicRun>;
48
+ runs: Array<PublicRun>;
49
49
  /**
50
50
  *
51
51
  * @type {Array<PublicSnowReport>}
52
52
  * @memberof PublicResortResponse
53
53
  */
54
- snow?: Array<PublicSnowReport>;
54
+ snow: Array<PublicSnowReport>;
55
55
  /**
56
56
  *
57
57
  * @type {PublicResortStatus}